payload 1.1.23 → 1.1.25

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (45) hide show
  1. package/dist/admin/components/Routes.js +4 -3
  2. package/dist/admin/components/elements/Logout/index.d.ts +3 -0
  3. package/dist/admin/components/elements/Logout/index.js +19 -0
  4. package/dist/admin/components/elements/Nav/index.js +3 -4
  5. package/dist/admin/components/elements/UploadGallery/index.js +1 -1
  6. package/dist/admin/components/forms/RenderFields/index.js +6 -5
  7. package/dist/admin/components/forms/RenderFields/types.d.ts +1 -0
  8. package/dist/admin/components/forms/field-types/Array/index.js +2 -2
  9. package/dist/admin/components/forms/field-types/Array/types.d.ts +1 -0
  10. package/dist/admin/components/forms/field-types/Blocks/index.js +2 -2
  11. package/dist/admin/components/forms/field-types/Blocks/types.d.ts +1 -0
  12. package/dist/admin/components/forms/field-types/Collapsible/index.js +2 -2
  13. package/dist/admin/components/forms/field-types/Collapsible/types.d.ts +1 -0
  14. package/dist/admin/components/forms/field-types/Group/index.js +2 -2
  15. package/dist/admin/components/forms/field-types/Group/types.d.ts +1 -0
  16. package/dist/admin/components/forms/field-types/Row/index.js +2 -2
  17. package/dist/admin/components/forms/field-types/Row/types.d.ts +1 -0
  18. package/dist/admin/components/forms/field-types/Tabs/index.js +55 -14
  19. package/dist/admin/components/forms/field-types/Tabs/types.d.ts +1 -0
  20. package/dist/admin/components/forms/field-types/Textarea/Input.js +4 -1
  21. package/dist/admin/components/forms/field-types/Textarea/index.scss +72 -3
  22. package/dist/admin/components/forms/useField/index.js +8 -19
  23. package/dist/admin/components/modals/StayLoggedIn/index.js +3 -2
  24. package/dist/admin/components/utilities/Auth/index.js +3 -3
  25. package/dist/admin/components/utilities/DocumentInfo/types.d.ts +2 -0
  26. package/dist/admin/components/views/Login/index.js +3 -2
  27. package/dist/admin/components/views/ResetPassword/index.js +3 -2
  28. package/dist/admin/components/views/Unauthorized/index.js +3 -2
  29. package/dist/config/defaults.js +3 -1
  30. package/dist/config/schema.js +6 -1
  31. package/dist/config/types.d.ts +5 -0
  32. package/dist/globals/operations/update.js +2 -3
  33. package/dist/preferences/types.d.ts +4 -0
  34. package/docs/admin/components.mdx +90 -81
  35. package/docs/admin/overview.mdx +15 -13
  36. package/docs/authentication/overview.mdx +1 -1
  37. package/docs/fields/array.mdx +1 -1
  38. package/docs/fields/blocks.mdx +1 -1
  39. package/docs/fields/rich-text.mdx +3 -3
  40. package/docs/fields/tabs.mdx +1 -1
  41. package/docs/fields/ui.mdx +2 -2
  42. package/docs/getting-started/what-is-payload.mdx +1 -1
  43. package/docs/graphql/overview.mdx +1 -1
  44. package/docs/upload/overview.mdx +1 -1
  45. package/package.json +1 -1
@@ -10,7 +10,7 @@ keywords: tabs, fields, config, configuration, documentation, Content Management
10
10
  The Tabs field is presentational-only and only affects the Admin panel (unless a tab is named). By using it, you can place fields within a nice layout component that separates certain sub-fields by a tabbed interface.
11
11
  </Banner>
12
12
 
13
- ![Tabs field type used to separate Hero fields from Page Layout](https://payloadcms.com/images/fields/tabs/tabs.jpg)
13
+ ![Tabs field type used to separate Hero fields from Page Layout](https://payloadcms.com/images/docs/fields/tabs/tabs.jpg)
14
14
  *Tabs field type used to separate Hero fields from Page Layout*
15
15
 
16
16
  ### Config
@@ -27,8 +27,8 @@ With this field, you can also inject custom `Cell` components that appear as add
27
27
  | ---------------------------- |-------------------------------------------------------------------------------------------------------------------|
28
28
  | **`name`** * | A unique identifier for this field. |
29
29
  | **`label`** | Human-readable label for this UI field. |
30
- | **`admin.components.Field`** | React component to be rendered for this field within the Edit view. [More](/admin/components/#field-component) |
31
- | **`admin.components.Cell`** | React component to be rendered as a Cell within collection List views. [More](/admin/components/#field-component) |
30
+ | **`admin.components.Field`** | React component to be rendered for this field within the Edit view. [More](/docs/admin/components/#field-component) |
31
+ | **`admin.components.Cell`** | React component to be rendered as a Cell within collection List views. [More](/docs/admin/components/#field-component) |
32
32
 
33
33
  *\* An asterisk denotes that a property is required.*
34
34
 
@@ -48,7 +48,7 @@ The team behind Payload has been building websites and apps with existing conten
48
48
  - Secure
49
49
  - Fully flexible and extensible
50
50
 
51
- Payload is our silver bullet solution. It represents over two years of passionate development and brings everything we need when we build new apps and websites:
51
+ Payload is our silver bullet solution. We've blended the best parts of our experience with other CMS and app frameworks into Payload, and we finally have everything we need when we build new apps and websites:
52
52
 
53
53
  - A beautiful, dynamic, customizable admin UI
54
54
  - Extensible and reusable authentication
@@ -14,7 +14,7 @@ The labels you provide for your Collections and Globals are used to name the Gra
14
14
 
15
15
  ## GraphQL Options
16
16
 
17
- At the top of your Payload config you can define all the options to manage GraphQL. The
17
+ At the top of your Payload config you can define all the options to manage GraphQL.
18
18
 
19
19
  | Option | Description |
20
20
  | -------------------- | -------------|
@@ -12,7 +12,7 @@ keywords: uploads, images, media, overview, documentation, Content Management Sy
12
12
  control.
13
13
  </Banner>
14
14
 
15
- ![Upload admin panel functionality](https://payloadcms.com/images/upload-admin.jpg)
15
+ ![Upload admin panel functionality](https://payloadcms.com/images/docs/upload-admin.jpg)
16
16
  _Admin panel screenshot depicting a Media Collection with Upload enabled_
17
17
 
18
18
  **Here are some common use cases of Uploads:**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "payload",
3
- "version": "1.1.23",
3
+ "version": "1.1.25",
4
4
  "description": "Node, React and MongoDB Headless CMS and Application Framework",
5
5
  "license": "MIT",
6
6
  "engines": {