Feature/single package ()

This commit is contained in:
Daniel Lautzenheiser
2022-09-28 20:04:00 -06:00
committed by GitHub
parent 5963227066
commit 0b64464611
1110 changed files with 7842 additions and 257596 deletions
.all-contributorsrc.eslintignore.eslintrc.js
.github
.gitignore.prettierignore
.storybook
.stylelintrcCHANGELOG.mdCONTRIBUTING.mdbabel.config.jscommitlint.config.js
cypress
Readme.md
fixtures
BitBucket Backend Editorial Workflow__can change status on and publish multiple entries.jsonBitBucket Backend Editorial Workflow__can change workflow status.jsonBitBucket Backend Editorial Workflow__can create an entry.jsonBitBucket Backend Editorial Workflow__can delete an entry.jsonBitBucket Backend Editorial Workflow__can publish an editorial workflow entry.jsonBitBucket Backend Editorial Workflow__can update an entry.jsonBitBucket Backend Editorial Workflow__can update workflow status from within the editor.jsonBitBucket Backend Editorial Workflow__successfully loads.jsonBitBucket Backend Media Library - Large Media__can delete image from global media library.jsonBitBucket Backend Media Library - Large Media__can publish entry with image.jsonBitBucket Backend Media Library - Large Media__can save entry with image.jsonBitBucket Backend Media Library - Large Media__can upload image from entry media library.jsonBitBucket Backend Media Library - Large Media__can upload image from global media library.jsonBitBucket Backend Media Library - Large Media__should not show draft entry image in global media library.jsonBitBucket Backend Media Library - Large Media__should show published entry image in global media library.jsonBitBucket Backend Media Library - Large Media__should show published entry image in grid view.jsonBitBucket Backend Media Library - REST API__can delete image from global media library.jsonBitBucket Backend Media Library - REST API__can publish entry with image.jsonBitBucket Backend Media Library - REST API__can save entry with image.jsonBitBucket Backend Media Library - REST API__can upload image from entry media library.jsonBitBucket Backend Media Library - REST API__can upload image from global media library.jsonBitBucket Backend Media Library - REST API__should not show draft entry image in global media library.jsonBitBucket Backend Media Library - REST API__should show published entry image in global media library.jsonBitBucket Backend Media Library - REST API__should show published entry image in grid view.jsonBitBucket Backend Simple Workflow__can create an entry.jsonBitBucket Backend Simple Workflow__successfully loads.jsonGit Gateway (GitHub) Backend Editorial Workflow__can change status on and publish multiple entries.jsonGit Gateway (GitHub) Backend Editorial Workflow__can change workflow status.jsonGit Gateway (GitHub) Backend Editorial Workflow__can create an entry.jsonGit Gateway (GitHub) Backend Editorial Workflow__can delete an entry.jsonGit Gateway (GitHub) Backend Editorial Workflow__can publish an editorial workflow entry.jsonGit Gateway (GitHub) Backend Editorial Workflow__can update an entry.jsonGit Gateway (GitHub) Backend Editorial Workflow__can update workflow status from within the editor.jsonGit Gateway (GitHub) Backend Editorial Workflow__successfully loads.jsonGit Gateway (GitHub) Backend Media Library - Large Media__can delete image from global media library.jsonGit Gateway (GitHub) Backend Media Library - Large Media__can publish entry with image.jsonGit Gateway (GitHub) Backend Media Library - Large Media__can save entry with image.jsonGit Gateway (GitHub) Backend Media Library - Large Media__can upload image from entry media library.jsonGit Gateway (GitHub) Backend Media Library - Large Media__can upload image from global media library.jsonGit Gateway (GitHub) Backend Media Library - Large Media__should not show draft entry image in global media library.jsonGit Gateway (GitHub) Backend Media Library - Large Media__should show published entry image in global media library.jsonGit Gateway (GitHub) Backend Media Library - Large Media__should show published entry image in grid view.jsonGit Gateway (GitHub) Backend Simple Workflow__can create an entry.jsonGit Gateway (GitHub) Backend Simple Workflow__successfully loads.jsonGit Gateway (GitLab) Backend Editorial Workflow__can change status on and publish multiple entries.jsonGit Gateway (GitLab) Backend Editorial Workflow__can change workflow status.jsonGit Gateway (GitLab) Backend Editorial Workflow__can create an entry.jsonGit Gateway (GitLab) Backend Editorial Workflow__can delete an entry.jsonGit Gateway (GitLab) Backend Editorial Workflow__can publish an editorial workflow entry.jsonGit Gateway (GitLab) Backend Editorial Workflow__can update an entry.jsonGit Gateway (GitLab) Backend Editorial Workflow__can update workflow status from within the editor.jsonGit Gateway (GitLab) Backend Editorial Workflow__successfully loads.jsonGit Gateway (GitLab) Backend Media Library - Large Media__can delete image from global media library.jsonGit Gateway (GitLab) Backend Media Library - Large Media__can publish entry with image.jsonGit Gateway (GitLab) Backend Media Library - Large Media__can save entry with image.jsonGit Gateway (GitLab) Backend Media Library - Large Media__can upload image from entry media library.jsonGit Gateway (GitLab) Backend Media Library - Large Media__can upload image from global media library.jsonGit Gateway (GitLab) Backend Media Library - Large Media__should not show draft entry image in global media library.jsonGit Gateway (GitLab) Backend Media Library - Large Media__should show published entry image in global media library.jsonGit Gateway (GitLab) Backend Media Library - Large Media__should show published entry image in grid view.jsonGit Gateway (GitLab) Backend Simple Workflow__can create an entry.jsonGit Gateway (GitLab) Backend Simple Workflow__successfully loads.jsonGitHub Backend Media Library - GraphQL API__can delete image from global media library.jsonGitHub Backend Media Library - GraphQL API__can publish entry with image.jsonGitHub Backend Media Library - GraphQL API__can save entry with image.jsonGitHub Backend Media Library - GraphQL API__can upload image from entry media library.jsonGitHub Backend Media Library - GraphQL API__can upload image from global media library.jsonGitHub Backend Media Library - GraphQL API__should not show draft entry image in global media library.jsonGitHub Backend Media Library - GraphQL API__should show published entry image in global media library.jsonGitHub Backend Media Library - GraphQL API__should show published entry image in grid view.jsonGitHub Backend Media Library - REST API__can delete image from global media library.jsonGitHub Backend Media Library - REST API__can publish entry with image.jsonGitHub Backend Media Library - REST API__can save entry with image.jsonGitHub Backend Media Library - REST API__can upload image from entry media library.jsonGitHub Backend Media Library - REST API__can upload image from global media library.jsonGitHub Backend Media Library - REST API__should not show draft entry image in global media library.jsonGitHub Backend Media Library - REST API__should show published entry image in global media library.jsonGitHub Backend Media Library - REST API__should show published entry image in grid view.jsonGitHub Backend Simple Workflow - GraphQL API__can create an entry.jsonGitHub Backend Simple Workflow - GraphQL API__successfully loads.jsonGitHub Backend Simple Workflow - REST API__can create an entry.jsonGitHub Backend Simple Workflow - REST API__successfully loads.jsonGitHub Backend Simple Workflow__successfully loads.jsonGitLab Backend Editorial Workflow__can change status on and publish multiple entries.jsonGitLab Backend Editorial Workflow__can change workflow status.jsonGitLab Backend Editorial Workflow__can create an entry.jsonGitLab Backend Editorial Workflow__can delete an entry.jsonGitLab Backend Editorial Workflow__can publish an editorial workflow entry.jsonGitLab Backend Editorial Workflow__can update an entry.jsonGitLab Backend Editorial Workflow__can update workflow status from within the editor.jsonGitLab Backend Editorial Workflow__successfully loads.jsonGitLab Backend Media Library - REST API__can delete image from global media library.jsonGitLab Backend Media Library - REST API__can publish entry with image.jsonGitLab Backend Media Library - REST API__can save entry with image.jsonGitLab Backend Media Library - REST API__can upload image from entry media library.jsonGitLab Backend Media Library - REST API__can upload image from global media library.jsonGitLab Backend Media Library - REST API__should not show draft entry image in global media library.jsonGitLab Backend Media Library - REST API__should show published entry image in global media library.jsonGitLab Backend Media Library - REST API__should show published entry image in grid view.jsonGitLab Backend Simple Workflow__can create an entry.jsonGitLab Backend Simple Workflow__successfully loads.jsonGithub Backend Editorial Workflow - GraphQL API - Open Authoring__can change entry status from fork.jsonGithub Backend Editorial Workflow - GraphQL API - Open Authoring__can create an entry on fork.jsonGithub Backend Editorial Workflow - GraphQL API - Open Authoring__can create an entry.jsonGithub Backend Editorial Workflow - GraphQL API - Open Authoring__can delete review entry from fork.jsonGithub Backend Editorial Workflow - GraphQL API - Open Authoring__can publish an editorial workflow entry.jsonGithub Backend Editorial Workflow - GraphQL API - Open Authoring__can return entry to draft and delete it.jsonGithub Backend Editorial Workflow - GraphQL API - Open Authoring__can update a draft entry on fork.jsonGithub Backend Editorial Workflow - GraphQL API - Open Authoring__can update an entry.jsonGithub Backend Editorial Workflow - GraphQL API - Open Authoring__successfully forks repository and loads.jsonGithub Backend Editorial Workflow - GraphQL API - Open Authoring__successfully loads.jsonGithub Backend Editorial Workflow - GraphQL API__can change status on and publish multiple entries.jsonGithub Backend Editorial Workflow - GraphQL API__can change workflow status.jsonGithub Backend Editorial Workflow - GraphQL API__can create an entry.jsonGithub Backend Editorial Workflow - GraphQL API__can delete an entry.jsonGithub Backend Editorial Workflow - GraphQL API__can publish an editorial workflow entry.jsonGithub Backend Editorial Workflow - GraphQL API__can update an entry.jsonGithub Backend Editorial Workflow - GraphQL API__can update workflow status from within the editor.jsonGithub Backend Editorial Workflow - GraphQL API__successfully loads.jsonGithub Backend Editorial Workflow - REST API - Open Authoring__can change entry status from fork.jsonGithub Backend Editorial Workflow - REST API - Open Authoring__can create an entry on fork.jsonGithub Backend Editorial Workflow - REST API - Open Authoring__can create an entry.jsonGithub Backend Editorial Workflow - REST API - Open Authoring__can delete review entry from fork.jsonGithub Backend Editorial Workflow - REST API - Open Authoring__can publish an editorial workflow entry.jsonGithub Backend Editorial Workflow - REST API - Open Authoring__can return entry to draft and delete it.jsonGithub Backend Editorial Workflow - REST API - Open Authoring__can update a draft entry on fork.jsonGithub Backend Editorial Workflow - REST API - Open Authoring__can update an entry.jsonGithub Backend Editorial Workflow - REST API - Open Authoring__successfully forks repository and loads.jsonGithub Backend Editorial Workflow - REST API - Open Authoring__successfully loads.jsonGithub Backend Editorial Workflow - REST API__can change status on and publish multiple entries.jsonGithub Backend Editorial Workflow - REST API__can change workflow status.jsonGithub Backend Editorial Workflow - REST API__can create an entry.jsonGithub Backend Editorial Workflow - REST API__can delete an entry.jsonGithub Backend Editorial Workflow - REST API__can publish an editorial workflow entry.jsonGithub Backend Editorial Workflow - REST API__can update an entry.jsonGithub Backend Editorial Workflow - REST API__can update workflow status from within the editor.jsonGithub Backend Editorial Workflow - REST API__successfully loads.jsonGithub Backend Editorial Workflow Migration - REST API__migrate from 2.10.24 to latest.jsonGithub Backend Editorial Workflow Migration - REST API__migrate from 2.9.7 to latest.jsonexample.json
media
integration
common
editorial_workflow_migration_spec_github_backend_rest.jseditorial_workflow_spec_bitbucket_backend.jseditorial_workflow_spec_git-gateway_github_backend.jseditorial_workflow_spec_git-gateway_gitlab_backend.jseditorial_workflow_spec_github_backend_graphql.jseditorial_workflow_spec_github_backend_graphql_open_authoring.jseditorial_workflow_spec_github_backend_rest.jseditorial_workflow_spec_github_backend_rest_open_authoring.jseditorial_workflow_spec_gitlab_backend.jseditorial_workflow_spec_proxy_git_backend.jseditorial_workflow_spec_test_backend.jsfield_validations_spec.jsi18n_editorial_workflow_spec_test_backend.jsi18n_simple_workflow_spec_proxy_fs_backend.jsmarkdown_widget_backspace_spec.jsmarkdown_widget_code_block_spec.jsmarkdown_widget_enter_spec.jsmarkdown_widget_hotkeys_spec.jsmarkdown_widget_link_spec.jsmarkdown_widget_list_spec.jsmarkdown_widget_marks_spec.jsmarkdown_widget_quote_spec.jsmedia_library_spec_bitbucket_backend.jsmedia_library_spec_bitbucket_backend_large_media.jsmedia_library_spec_git-gateway_github_backend_large_media.jsmedia_library_spec_git-gateway_gitlab_backend_large_media.jsmedia_library_spec_github_backend_graphql.jsmedia_library_spec_github_backend_rest.jsmedia_library_spec_gitlab_backend.jsmedia_library_spec_proxy_git_backend.jsmedia_library_spec_test_backend.jssearch_suggestion_spec.jssimple_workflow_spec_bitbucket_backend.jssimple_workflow_spec_git-gateway_github_backend.jssimple_workflow_spec_git-gateway_gitlab_backend.jssimple_workflow_spec_github_backend_graphql.jssimple_workflow_spec_github_backend_rest.jssimple_workflow_spec_gitlab_backend.jssimple_workflow_spec_proxy_fs_backend.jssimple_workflow_spec_proxy_git_backend.jssimple_workflow_spec_test_backend.jsview_filters_spec.jsview_groups_spec.js
plugins
run.mjs
snapshots
media_library_spec_git-gateway_backend_large_media.js
media_library_spec_github_backend_graphql.js
media_library_spec_github_backend_rest.js
media_library_spec_test_backend.js
support
utils
dev-test
functions
jest.config.jslerna.jsonpackage.json
packages
netlify-cms-app
netlify-cms-backend-azure
netlify-cms-backend-bitbucket
netlify-cms-backend-git-gateway
netlify-cms-backend-github
netlify-cms-backend-gitlab
netlify-cms-backend-proxy
netlify-cms-backend-test
netlify-cms-core
CHANGELOG.mdREADME.mdindex.d.tspackage.json
src
__tests__
actions
backend.ts
backends
bootstrap.js
components
constants
editor-components
index.jsindex.jsx
integrations/providers
interface.ts
lib
locales
media-libraries
cloudinary
index.tsx
uploadcare
mediaLibrary.ts
reducers
redux
store
types
ui
widgets
boolean
code
colorstring
datetime
file
image
index.tsx
list
map
markdown
number
object
relation
select
string
text
webpack.config.js
netlify-cms-default-exports
netlify-cms-editor-component-image
netlify-cms-lib-auth
netlify-cms-lib-util
netlify-cms-lib-widgets
netlify-cms-locales
netlify-cms-media-library-cloudinary
netlify-cms-media-library-uploadcare
netlify-cms-proxy-server
netlify-cms-ui-default
netlify-cms-widget-boolean
netlify-cms-widget-code
netlify-cms-widget-colorstring
netlify-cms-widget-date
netlify-cms-widget-datetime
netlify-cms-widget-file
netlify-cms-widget-image
netlify-cms-widget-list
netlify-cms-widget-map
netlify-cms-widget-markdown
netlify-cms-widget-number
netlify-cms-widget-object
netlify-cms-widget-relation
netlify-cms-widget-select
netlify-cms-widget-string
netlify-cms-widget-text
netlify-cms
scripts
tsconfig.json
website
.babelrc.gitignore.markdownlint.json.nvmrcREADME.md
content
data
gatsby-browser.jsgatsby-config.jsgatsby-node.jsnetlify.tomlpackage.jsonsite.yml
src
static
yarn.lock
yarn.lock

@ -1,30 +0,0 @@
---
title: image
label: Image
---
The image widget allows editors to upload an image or select an existing one from the media library. The path to the image file will be saved to the field as a string.
* **Name:** `image`
* **UI:** file picker button opens media gallery allowing image files (jpg, jpeg, webp, gif, png, bmp, tiff, svg) only; displays selected image thumbnail
* **Data type:** file path string
* **Options:**
* `default`: accepts a file path string; defaults to null
* `media_library`: settings to apply when a media library is opened by the
current widget
* `allow_multiple`: *(default: `true`)* when set to `false`, multiple selection will be disabled even if the media library extension supports it
* `config`: a configuration object passed directly to the media library; check the documentation of your media library extension for available `config` options
* `media_folder` (Beta): file path where uploaded images will be saved specific to this control. Paths can be relative to a collection folder (e.g. `images` will add the image to a sub-folder in the collection folder) or absolute with reference to the base of the repo which needs to begin with `/` (e.g `/static/images` will save uploaded images to the `static` folder in a sub folder named `images`)
* `choose_url`: *(default: `true`)* when set to `false`, the "Insert from URL" button will be hidden
* **Example:**
```yaml
- label: "Featured Image"
name: "thumbnail"
widget: "image"
choose_url: true
default: "/uploads/chocolate-dogecoin.jpg"
media_library:
config:
multiple: true
```