datocms-react-ui 3.1.0-next.6 → 4.0.0-next.7

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 (222) hide show
  1. package/README.md +2 -1
  2. package/dist/DateInput.d.ts +2 -0
  3. package/dist/DateInput.js +2 -0
  4. package/dist/DateTimeInput.d.ts +2 -0
  5. package/dist/DateTimeInput.js +2 -0
  6. package/dist/DateTimeRangeInput.d.ts +2 -0
  7. package/dist/DateTimeRangeInput.js +2 -0
  8. package/dist/FilterBuilder.d.ts +2 -0
  9. package/dist/FilterBuilder.js +2 -0
  10. package/dist/RecordRow.d.ts +2 -0
  11. package/dist/RecordRow.js +2 -0
  12. package/dist/UploadCard.js +2 -2
  13. package/dist/UploadPreview.d.ts +2 -2
  14. package/dist/UploadPreview.js +1 -1
  15. package/dist/UserRow.d.ts +2 -0
  16. package/dist/UserRow.js +2 -0
  17. package/dist/react-ui/src/Canvas.d.ts +7 -1
  18. package/dist/react-ui/src/Canvas.js +26 -4
  19. package/dist/react-ui/src/ctxAnswer.js +21 -0
  20. package/dist/react-ui/src/ctxDateSettings.js +7 -5
  21. package/dist/react-ui/src/ctxRecordPresentation.js +34 -0
  22. package/dist/react-ui/src/ctxUploads.js +23 -0
  23. package/dist/styles.css +592 -11
  24. package/dist/ui-public/icons/index.js +79 -81
  25. package/dist/ui-public/locales/en.js +43 -5
  26. package/dist/ui-public/src/Message.d.ts +3 -4
  27. package/dist/ui-public/src/UiTextKey.d.ts +1 -1
  28. package/dist/ui-public/src/actions/Actions/ActionTooltip.js +1 -1
  29. package/dist/ui-public/src/actions/Actions/registry.d.ts +2 -2
  30. package/dist/ui-public/src/actions/Actions/registry.js +2 -2
  31. package/dist/ui-public/src/actions/Button.d.ts +10 -10
  32. package/dist/ui-public/src/actions/Button.js +1 -1
  33. package/dist/ui-public/src/actions/Dropdown/Menu.d.ts +2 -2
  34. package/dist/ui-public/src/actions/Dropdown/Option.d.ts +7 -7
  35. package/dist/ui-public/src/actions/Dropdown/index.d.ts +1 -1
  36. package/dist/ui-public/src/actions/Dropdown/triggers/ButtonTrigger.d.ts +5 -5
  37. package/dist/ui-public/src/actions/Dropdown/triggers/DropdownTriggerButton.d.ts +2 -2
  38. package/dist/ui-public/src/actions/Dropdown/triggers/IconTrigger.d.ts +6 -6
  39. package/dist/ui-public/src/actions/Dropdown/triggers/IconTrigger.js +1 -1
  40. package/dist/ui-public/src/actions/EditorToolbar/Button.d.ts +1 -1
  41. package/dist/ui-public/src/actions/MultipleSelectionActionBar.d.ts +1 -1
  42. package/dist/ui-public/src/actions/SplitButton/Caret.js +2 -2
  43. package/dist/ui-public/src/actions/SplitButton/Halves.js +1 -1
  44. package/dist/ui-public/src/actions/SplitButton/index.d.ts +3 -3
  45. package/dist/ui-public/src/actions/disabledReason.d.ts +4 -4
  46. package/dist/ui-public/src/content/Avatar.d.ts +3 -3
  47. package/dist/ui-public/src/content/Avatar.js +2 -2
  48. package/dist/ui-public/src/content/CodeSnippet.d.ts +1 -1
  49. package/dist/ui-public/src/content/CopyableValue.d.ts +1 -1
  50. package/dist/ui-public/src/content/EnvironmentPill.d.ts +1 -1
  51. package/dist/ui-public/src/content/EnvironmentPill.js +1 -1
  52. package/dist/ui-public/src/content/IconAvatar.d.ts +1 -1
  53. package/dist/ui-public/src/content/ItemStatus.d.ts +1 -1
  54. package/dist/ui-public/src/content/Pill.d.ts +1 -1
  55. package/dist/ui-public/src/content/SmartDate.d.ts +1 -1
  56. package/dist/ui-public/src/content/UploadPreview/asset.js +200 -0
  57. package/dist/ui-public/src/content/UploadPreview/audio.js +120 -0
  58. package/dist/ui-public/src/content/{UploadPreview.d.ts → UploadPreview/box.d.ts} +10 -10
  59. package/dist/ui-public/src/content/{UploadPreview.js → UploadPreview/box.js} +7 -7
  60. package/dist/ui-public/src/content/{uploadPreviewFit.d.ts → UploadPreview/fit.d.ts} +2 -2
  61. package/dist/ui-public/src/content/{uploadPreviewFit.js → UploadPreview/fit.js} +3 -3
  62. package/dist/ui-public/src/content/UploadPreview/index.d.ts +61 -0
  63. package/dist/ui-public/src/content/UploadPreview/index.js +36 -0
  64. package/dist/ui-public/src/content/UploadPreview/presentation.js +63 -0
  65. package/dist/ui-public/src/content/UploadPreview/thumbhash.js +91 -0
  66. package/dist/ui-public/src/content/UploadPreview/upload.d.ts +104 -0
  67. package/dist/ui-public/src/content/UploadPreview/upload.js +112 -0
  68. package/dist/ui-public/src/content/UsageMeter.d.ts +1 -1
  69. package/dist/ui-public/src/content/ValidityTriangles.d.ts +1 -1
  70. package/dist/ui-public/src/feedback/BlankSlate.d.ts +5 -5
  71. package/dist/ui-public/src/feedback/Callout.d.ts +5 -5
  72. package/dist/ui-public/src/feedback/Callout.js +1 -1
  73. package/dist/ui-public/src/feedback/ProgressBar.d.ts +4 -4
  74. package/dist/ui-public/src/feedback/Spinner.d.ts +6 -6
  75. package/dist/ui-public/src/feedback/Spinner.js +1 -1
  76. package/dist/ui-public/src/form/DateInput.d.ts +13 -0
  77. package/dist/ui-public/src/form/DateInput.js +16 -0
  78. package/dist/ui-public/src/form/DateTimeInput/Base.d.ts +89 -0
  79. package/dist/ui-public/src/form/DateTimeInput/Base.js +330 -0
  80. package/dist/ui-public/src/form/DateTimeInput/CalendarGrid.d.ts +29 -0
  81. package/dist/ui-public/src/form/DateTimeInput/CalendarGrid.js +195 -0
  82. package/dist/ui-public/src/form/DateTimeInput/dateText.js +38 -0
  83. package/dist/ui-public/src/form/DateTimeInput/index.d.ts +10 -0
  84. package/dist/ui-public/src/form/DateTimeInput/index.js +18 -0
  85. package/dist/ui-public/src/form/DateTimeInput/value.js +31 -0
  86. package/dist/ui-public/src/form/DateTimeRangeInput/Panel.js +167 -0
  87. package/dist/ui-public/src/form/DateTimeRangeInput/index.d.ts +123 -0
  88. package/dist/ui-public/src/form/DateTimeRangeInput/index.js +186 -0
  89. package/dist/ui-public/src/form/DateTimeRangeInput/rangeLabel.js +46 -0
  90. package/dist/ui-public/src/form/FieldHint.d.ts +2 -2
  91. package/dist/ui-public/src/form/FieldWrapper.d.ts +9 -9
  92. package/dist/ui-public/src/form/FieldWrapper.js +3 -3
  93. package/dist/ui-public/src/form/FilterBuilder/Editor.js +123 -0
  94. package/dist/ui-public/src/form/FilterBuilder/index.d.ts +9 -0
  95. package/dist/ui-public/src/form/FilterBuilder/index.js +294 -0
  96. package/dist/ui-public/src/form/FilterBuilder/types.d.ts +188 -0
  97. package/dist/ui-public/src/form/FilterBuilder/values.js +86 -0
  98. package/dist/ui-public/src/form/InputGroup.d.ts +2 -2
  99. package/dist/ui-public/src/form/InputGroup.js +1 -1
  100. package/dist/ui-public/src/form/KeyValueList.d.ts +1 -1
  101. package/dist/ui-public/src/form/Label.d.ts +2 -2
  102. package/dist/ui-public/src/form/RadioGroupInput.d.ts +2 -2
  103. package/dist/ui-public/src/form/RadioGroupInput.js +1 -1
  104. package/dist/ui-public/src/form/SelectInput/SelectMenu.d.ts +2 -2
  105. package/dist/ui-public/src/form/SelectInput/index.d.ts +3 -3
  106. package/dist/ui-public/src/form/SwitchInput.d.ts +2 -2
  107. package/dist/ui-public/src/form/SwitchList.d.ts +1 -1
  108. package/dist/ui-public/src/form/SwitchList.js +1 -1
  109. package/dist/ui-public/src/form/TableList.d.ts +2 -2
  110. package/dist/ui-public/src/form/TextareaInput.js +1 -1
  111. package/dist/ui-public/src/form/inputProps.d.ts +6 -6
  112. package/dist/ui-public/src/hooks/useAsyncSelectOptions.d.ts +1 -1
  113. package/dist/ui-public/src/hooks/useSmartRowClick.d.ts +1 -1
  114. package/dist/ui-public/src/hooks/useSmartRowClick.js +1 -1
  115. package/dist/ui-public/src/layout/Page/PageGroup.d.ts +2 -2
  116. package/dist/ui-public/src/layout/Page/PageGroup.js +1 -1
  117. package/dist/ui-public/src/layout/Pane/FormHeader.d.ts +1 -1
  118. package/dist/ui-public/src/layout/Pane/FormHeader.js +1 -1
  119. package/dist/ui-public/src/layout/Pane/ListFilter.d.ts +1 -1
  120. package/dist/ui-public/src/layout/Pane/ListPresets.d.ts +1 -1
  121. package/dist/ui-public/src/layout/Pane/PaneHeader.d.ts +1 -1
  122. package/dist/ui-public/src/layout/Pane/index.d.ts +2 -2
  123. package/dist/ui-public/src/layout/SidebarPanel.d.ts +1 -1
  124. package/dist/ui-public/src/layout/SplitPane/Rail.js +1 -1
  125. package/dist/ui-public/src/layout/SplitPane/index.d.ts +6 -6
  126. package/dist/ui-public/src/layout/Toolbar/AddNewButton.d.ts +2 -2
  127. package/dist/ui-public/src/layout/Toolbar/Help.d.ts +3 -3
  128. package/dist/ui-public/src/layout/Toolbar/Help.js +2 -2
  129. package/dist/ui-public/src/layout/Toolbar/Note.d.ts +1 -1
  130. package/dist/ui-public/src/layout/Toolbar/Note.js +1 -1
  131. package/dist/ui-public/src/layout/Toolbar/Pagination.d.ts +1 -1
  132. package/dist/ui-public/src/layout/Toolbar/Pagination.js +1 -1
  133. package/dist/ui-public/src/layout/Toolbar/PresetsTitle.d.ts +3 -3
  134. package/dist/ui-public/src/layout/Toolbar/PresetsTitle.js +2 -2
  135. package/dist/ui-public/src/layout/Toolbar/PrimaryButton.d.ts +3 -3
  136. package/dist/ui-public/src/layout/Toolbar/Root.d.ts +1 -1
  137. package/dist/ui-public/src/layout/Toolbar/Root.js +4 -1
  138. package/dist/ui-public/src/layout/Toolbar/ToolbarTitleTrigger.js +1 -1
  139. package/dist/ui-public/src/lists/CardList.d.ts +3 -3
  140. package/dist/ui-public/src/lists/EmptySlot.d.ts +1 -1
  141. package/dist/ui-public/src/lists/InfoList/User.d.ts +1 -1
  142. package/dist/ui-public/src/lists/InfoList/Value.d.ts +1 -1
  143. package/dist/ui-public/src/lists/InfoList/Value.js +1 -1
  144. package/dist/ui-public/src/lists/InfoList/index.d.ts +3 -3
  145. package/dist/ui-public/src/lists/InfoList/index.js +1 -1
  146. package/dist/ui-public/src/lists/MediaCard.d.ts +7 -7
  147. package/dist/ui-public/src/lists/RecordRow/Image.d.ts +24 -0
  148. package/dist/ui-public/src/lists/RecordRow/Image.js +22 -0
  149. package/dist/ui-public/src/lists/RecordRow/List.d.ts +26 -0
  150. package/dist/ui-public/src/lists/RecordRow/List.js +30 -0
  151. package/dist/ui-public/src/lists/RecordRow/context.js +31 -0
  152. package/dist/ui-public/src/lists/RecordRow/index.d.ts +94 -0
  153. package/dist/ui-public/src/lists/RecordRow/index.js +122 -0
  154. package/dist/ui-public/src/lists/RecordRow/presentation.js +73 -0
  155. package/dist/ui-public/src/lists/RecordRow/types.d.ts +58 -0
  156. package/dist/ui-public/src/lists/RowList.d.ts +5 -5
  157. package/dist/ui-public/src/lists/SettingsList.d.ts +3 -3
  158. package/dist/ui-public/src/lists/SettingsList.js +2 -2
  159. package/dist/ui-public/src/lists/Table/Row.d.ts +5 -5
  160. package/dist/ui-public/src/lists/Table/Table.d.ts +3 -3
  161. package/dist/ui-public/src/lists/Table/TreeToggle.d.ts +2 -2
  162. package/dist/ui-public/src/lists/Table/TreeToggle.js +1 -1
  163. package/dist/ui-public/src/lists/Table/cells/LinkCell.d.ts +1 -1
  164. package/dist/ui-public/src/lists/TreeRow/Action.d.ts +1 -1
  165. package/dist/ui-public/src/lists/TreeRow/Action.js +1 -1
  166. package/dist/ui-public/src/lists/TreeRow/Link.d.ts +1 -1
  167. package/dist/ui-public/src/lists/TreeRow/Link.js +1 -1
  168. package/dist/ui-public/src/lists/UploadCard.d.ts +66 -3
  169. package/dist/ui-public/src/lists/UploadCard.js +116 -7
  170. package/dist/ui-public/src/lists/UserRow.d.ts +122 -0
  171. package/dist/ui-public/src/lists/UserRow.js +104 -0
  172. package/dist/ui-public/src/lists/dnd/DragHandle.d.ts +2 -2
  173. package/dist/ui-public/src/lists/dnd/SortableList.d.ts +1 -1
  174. package/dist/ui-public/src/lists/dnd/dropTargetClassName.d.ts +1 -1
  175. package/dist/ui-public/src/lists/dnd/tree/SortableTree.d.ts +2 -2
  176. package/dist/ui-public/src/navigation/Chevron.d.ts +4 -4
  177. package/dist/ui-public/src/navigation/Chevron.js +1 -1
  178. package/dist/ui-public/src/navigation/Link.d.ts +5 -5
  179. package/dist/ui-public/src/navigation/Link.js +1 -1
  180. package/dist/ui-public/src/navigation/NavList.d.ts +1 -1
  181. package/dist/ui-public/src/navigation/NavList.js +1 -1
  182. package/dist/ui-public/src/navigation/NavigationProvider.d.ts +1 -1
  183. package/dist/ui-public/src/navigation/SegmentedControl.d.ts +2 -2
  184. package/dist/ui-public/src/navigation/SettingsMenu.d.ts +8 -8
  185. package/dist/ui-public/src/navigation/SettingsMenu.js +1 -1
  186. package/dist/ui-public/src/navigation/SidebarTree/SidebarTreeNode.d.ts +4 -4
  187. package/dist/ui-public/src/overlays/FullscreenModal/TitleContext.d.ts +1 -1
  188. package/dist/ui-public/src/overlays/FullscreenModal/TitleContext.js +1 -1
  189. package/dist/ui-public/src/overlays/NewZIndex.d.ts +1 -1
  190. package/dist/ui-public/src/overlays/NewZIndex.js +1 -1
  191. package/dist/ui-public/src/overlays/Popover.d.ts +1 -1
  192. package/dist/ui-public/src/overlays/PortalWrapper.js +1 -1
  193. package/dist/ui-public/src/overlays/useModalClose.js +3 -3
  194. package/dist/ui-public/src/patterns/ListDetail/FloatingDetail.js +2 -2
  195. package/dist/ui-public/src/patterns/ListDetail/Page.d.ts +8 -9
  196. package/dist/ui-public/src/patterns/ListDetail/Page.js +4 -5
  197. package/dist/ui-public/src/patterns/ListDetail/Panel.d.ts +2 -2
  198. package/dist/ui-public/src/patterns/ListDetail/Panel.js +1 -1
  199. package/dist/ui-public/src/patterns/ListDetail/Split.d.ts +9 -10
  200. package/dist/ui-public/src/patterns/ListDetail/Split.js +5 -5
  201. package/dist/ui-public/src/patterns/ListFormPage.d.ts +3 -3
  202. package/dist/ui-public/src/patterns/ListFormPage.js +1 -1
  203. package/dist/ui-public/src/semantic/Heading.d.ts +1 -1
  204. package/dist/ui-public/src/semantic/Heading.js +1 -1
  205. package/dist/ui-public/src/semantic/Image.js +1 -1
  206. package/dist/ui-public/src/semantic/Nav.d.ts +3 -3
  207. package/dist/ui-public/src/semantic/Nav.js +3 -3
  208. package/dist/ui-public/src/semantic/RawButton.d.ts +3 -3
  209. package/dist/ui-public/src/semantic/RawButton.js +1 -1
  210. package/dist/ui-public/src/semantic/Search.d.ts +1 -1
  211. package/dist/ui-public/src/semantic/Search.js +1 -1
  212. package/dist/ui-public/src/utils/format.d.ts +21 -0
  213. package/dist/ui-public/src/utils/format.js +20 -0
  214. package/dist/ui-public/src/utils/formatDate.d.ts +10 -2
  215. package/dist/ui-public/src/utils/formatDate.js +4 -4
  216. package/dist/ui-public/src/utils/tickBatcher.js +44 -0
  217. package/dist/ui-public/src/utils/timezones.js +277 -0
  218. package/dist/ui-public/src/utils/weekStartForLocale.js +25 -0
  219. package/dist/utils/format.d.ts +1 -0
  220. package/dist/utils/format.js +2 -0
  221. package/package.json +2 -2
  222. package/dist/ui-public/icons/lucide/receipt.js +0 -26
@@ -101,44 +101,43 @@ import ForwardRef$99 from "./lucide/pipette.js";
101
101
  import ForwardRef$100 from "./lucide/play.js";
102
102
  import ForwardRef$101 from "./lucide/plus.js";
103
103
  import ForwardRef$102 from "./lucide/quote.js";
104
- import ForwardRef$103 from "./lucide/receipt.js";
105
- import ForwardRef$104 from "./lucide/redo-2.js";
106
- import ForwardRef$105 from "./lucide/refresh-cw.js";
107
- import ForwardRef$106 from "./lucide/rotate-ccw.js";
108
- import ForwardRef$107 from "./lucide/rotate-ccw-clock.js";
109
- import ForwardRef$108 from "./lucide/search.js";
110
- import ForwardRef$109 from "./lucide/send.js";
111
- import ForwardRef$110 from "./lucide/settings.js";
112
- import ForwardRef$111 from "./lucide/settings-2.js";
113
- import ForwardRef$112 from "./lucide/sliders-horizontal.js";
114
- import ForwardRef$113 from "./lucide/smartphone.js";
115
- import ForwardRef$114 from "./lucide/square-arrow-left.js";
116
- import ForwardRef$115 from "./lucide/square-arrow-up-right.js";
117
- import ForwardRef$116 from "./lucide/square-code.js";
118
- import ForwardRef$117 from "./lucide/square-dashed.js";
119
- import ForwardRef$118 from "./lucide/square-pen.js";
120
- import ForwardRef$119 from "./lucide/square-plus.js";
121
- import ForwardRef$120 from "./lucide/square-terminal.js";
122
- import ForwardRef$121 from "./lucide/store.js";
123
- import ForwardRef$122 from "./lucide/strikethrough.js";
124
- import ForwardRef$123 from "./lucide/table.js";
125
- import ForwardRef$124 from "./lucide/tag.js";
126
- import ForwardRef$125 from "./lucide/text-align-center.js";
127
- import ForwardRef$126 from "./lucide/text-align-end.js";
128
- import ForwardRef$127 from "./lucide/text-align-justify.js";
129
- import ForwardRef$128 from "./lucide/text-align-start.js";
130
- import ForwardRef$129 from "./lucide/toolbox.js";
131
- import ForwardRef$130 from "./lucide/trash.js";
132
- import ForwardRef$131 from "./lucide/triangle-exclamation-point.js";
133
- import ForwardRef$132 from "./lucide/underline.js";
134
- import ForwardRef$133 from "./lucide/undo-2.js";
135
- import ForwardRef$134 from "./lucide/unfold-vertical.js";
136
- import ForwardRef$135 from "./lucide/user.js";
137
- import ForwardRef$136 from "./lucide/user-lock.js";
138
- import ForwardRef$137 from "./lucide/user-minus.js";
139
- import ForwardRef$138 from "./lucide/user-round-arrow-left.js";
140
- import ForwardRef$139 from "./lucide/x.js";
141
- import ForwardRef$140 from "./custom/dato_symbol.js";
104
+ import ForwardRef$103 from "./lucide/redo-2.js";
105
+ import ForwardRef$104 from "./lucide/refresh-cw.js";
106
+ import ForwardRef$105 from "./lucide/rotate-ccw.js";
107
+ import ForwardRef$106 from "./lucide/rotate-ccw-clock.js";
108
+ import ForwardRef$107 from "./lucide/search.js";
109
+ import ForwardRef$108 from "./lucide/send.js";
110
+ import ForwardRef$109 from "./lucide/settings.js";
111
+ import ForwardRef$110 from "./lucide/settings-2.js";
112
+ import ForwardRef$111 from "./lucide/sliders-horizontal.js";
113
+ import ForwardRef$112 from "./lucide/smartphone.js";
114
+ import ForwardRef$113 from "./lucide/square-arrow-left.js";
115
+ import ForwardRef$114 from "./lucide/square-arrow-up-right.js";
116
+ import ForwardRef$115 from "./lucide/square-code.js";
117
+ import ForwardRef$116 from "./lucide/square-dashed.js";
118
+ import ForwardRef$117 from "./lucide/square-pen.js";
119
+ import ForwardRef$118 from "./lucide/square-plus.js";
120
+ import ForwardRef$119 from "./lucide/square-terminal.js";
121
+ import ForwardRef$120 from "./lucide/store.js";
122
+ import ForwardRef$121 from "./lucide/strikethrough.js";
123
+ import ForwardRef$122 from "./lucide/table.js";
124
+ import ForwardRef$123 from "./lucide/tag.js";
125
+ import ForwardRef$124 from "./lucide/text-align-center.js";
126
+ import ForwardRef$125 from "./lucide/text-align-end.js";
127
+ import ForwardRef$126 from "./lucide/text-align-justify.js";
128
+ import ForwardRef$127 from "./lucide/text-align-start.js";
129
+ import ForwardRef$128 from "./lucide/toolbox.js";
130
+ import ForwardRef$129 from "./lucide/trash.js";
131
+ import ForwardRef$130 from "./lucide/triangle-exclamation-point.js";
132
+ import ForwardRef$131 from "./lucide/underline.js";
133
+ import ForwardRef$132 from "./lucide/undo-2.js";
134
+ import ForwardRef$133 from "./lucide/unfold-vertical.js";
135
+ import ForwardRef$134 from "./lucide/user.js";
136
+ import ForwardRef$135 from "./lucide/user-lock.js";
137
+ import ForwardRef$136 from "./lucide/user-minus.js";
138
+ import ForwardRef$137 from "./lucide/user-round-arrow-left.js";
139
+ import ForwardRef$138 from "./lucide/x.js";
140
+ import ForwardRef$139 from "./custom/dato_symbol.js";
142
141
  import "./custom/fieldgroup-boolean.js";
143
142
  import "./custom/fieldgroup-color.js";
144
143
  import "./custom/fieldgroup-datetime.js";
@@ -164,65 +163,65 @@ var DragGripIcon = (props) => {
164
163
  });
165
164
  };
166
165
  var AnimatedArrowsRotateIcon = () => {
167
- return /* @__PURE__ */ jsx(ForwardRef$105, { style: { animation: "simple-spin 2s linear infinite" } });
166
+ return /* @__PURE__ */ jsx(ForwardRef$104, { style: { animation: "simple-spin 2s linear infinite" } });
168
167
  };
169
168
  var Generic = {
170
- SearchIcon: ForwardRef$108,
169
+ SearchIcon: ForwardRef$107,
171
170
  CommandPaletteIcon: ForwardRef$29,
172
171
  EnableSorting: ForwardRef$3,
173
- CDAPlaygroundIcon: ForwardRef$120,
174
- ProjectSettingsIcon: ForwardRef$110,
172
+ CDAPlaygroundIcon: ForwardRef$119,
173
+ ProjectSettingsIcon: ForwardRef$109,
175
174
  GridIcon: ForwardRef$73,
176
175
  LocalesAndTimezoneIcon: ForwardRef$53,
177
176
  AppearenceIcon: ForwardRef$93,
178
177
  CircleQuestionIcon: ForwardRef$26,
179
178
  AddNewFolderIcon: ForwardRef$47,
180
179
  GroupIcon: ForwardRef$45,
181
- CloseIcon: ForwardRef$139,
180
+ CloseIcon: ForwardRef$138,
182
181
  OpenInNewTabIcon: ForwardRef$38,
183
182
  ActionToggleIcon: ForwardRef$37,
184
- DeleteIcon: ForwardRef$130,
183
+ DeleteIcon: ForwardRef$129,
185
184
  DuplicateIcon: ForwardRef$31,
186
185
  HideIcon: ForwardRef$40,
187
- ConvertUsersIcon: ForwardRef$138,
186
+ ConvertUsersIcon: ForwardRef$137,
188
187
  ExportIcon: ForwardRef$42,
189
188
  VersionIcon: ForwardRef$51,
190
189
  DashboardIcon: ForwardRef$65,
191
190
  EditIcon: ForwardRef$97,
192
191
  ForkIcon: ForwardRef$52,
193
- SendIcon: ForwardRef$109,
194
- RemoveUserIcon: ForwardRef$137,
192
+ SendIcon: ForwardRef$108,
193
+ RemoveUserIcon: ForwardRef$136,
195
194
  ReorderIcon: ForwardRef$9,
196
- ClockRotateLeftIcon: ForwardRef$107,
195
+ ClockRotateLeftIcon: ForwardRef$106,
197
196
  SidebarIcon: ForwardRef$94,
198
- CloseRightSidebarIcon: ForwardRef$114,
197
+ CloseRightSidebarIcon: ForwardRef$113,
199
198
  InfoIcon: ForwardRef$68,
200
- SquarePlusIcon: ForwardRef$119,
201
- SyncIcon: ForwardRef$105,
199
+ SquarePlusIcon: ForwardRef$118,
200
+ SyncIcon: ForwardRef$104,
202
201
  AddIcon: ForwardRef$101,
203
202
  BarsIcon: ForwardRef$87,
204
203
  LoadMoreIcon: ForwardRef$19,
205
204
  DashIcon: ForwardRef$90,
206
205
  DragGripIcon,
207
- ExpandAllIcon: ForwardRef$134,
206
+ ExpandAllIcon: ForwardRef$133,
208
207
  ExpandDownIcon: ForwardRef$4,
209
208
  ExpandUpIcon: ForwardRef$10,
210
209
  CollapseAllIcon: ForwardRef$44,
211
- RefreshIcon: ForwardRef$105,
210
+ RefreshIcon: ForwardRef$104,
212
211
  DownloadIcon: ForwardRef$34,
213
212
  AnimatedRefreshIcon: AnimatedArrowsRotateIcon
214
213
  };
215
214
  var Environments = {
216
215
  PrimaryEnvironmentIcon: ForwardRef$33,
217
216
  SandboxEnvironmentIcon: ForwardRef$43,
218
- ContentIcon: ForwardRef$118,
217
+ ContentIcon: ForwardRef$117,
219
218
  MediaIcon: ForwardRef$67,
220
219
  SchemaIcon: ForwardRef$72,
221
- ConfigurationIcon: ForwardRef$111
220
+ ConfigurationIcon: ForwardRef$110
222
221
  };
223
222
  var Content = {
224
223
  ManageLocalesIcon: ForwardRef$71,
225
- SEOPrefencesIcon: ForwardRef$129
224
+ SEOPrefencesIcon: ForwardRef$128
226
225
  };
227
226
  var Editor = {
228
227
  RecordListIcon: ForwardRef$77,
@@ -248,28 +247,28 @@ var TextFormat = {
248
247
  BulletedListIcon: ForwardRef$77,
249
248
  ParagraphIcon: ForwardRef$98,
250
249
  BlockquoteIcon: ForwardRef$102,
251
- StrikethroughIcon: ForwardRef$122,
250
+ StrikethroughIcon: ForwardRef$121,
252
251
  ThematicBreakIcon: ForwardRef$90,
253
- UnderlineIcon: ForwardRef$132,
252
+ UnderlineIcon: ForwardRef$131,
254
253
  EllipsisIcon: ForwardRef$36,
255
254
  ImageIcon: ForwardRef$66,
256
- TableIcon: ForwardRef$123,
257
- AlignLeftIcon: ForwardRef$128,
258
- AlignCenterIcon: ForwardRef$125,
259
- AlignRightIcon: ForwardRef$126,
260
- AlignJustifyIcon: ForwardRef$127,
255
+ TableIcon: ForwardRef$122,
256
+ AlignLeftIcon: ForwardRef$127,
257
+ AlignCenterIcon: ForwardRef$124,
258
+ AlignRightIcon: ForwardRef$125,
259
+ AlignJustifyIcon: ForwardRef$126,
261
260
  IndentIcon: ForwardRef$79,
262
261
  OutdentIcon: ForwardRef$78,
263
- UndoIcon: ForwardRef$133,
264
- RedoIcon: ForwardRef$104,
265
- SourceIcon: ForwardRef$116,
262
+ UndoIcon: ForwardRef$132,
263
+ RedoIcon: ForwardRef$103,
264
+ SourceIcon: ForwardRef$115,
266
265
  OpenFullscreenIcon: ForwardRef$86,
267
266
  CloseFullscreenIcon: ForwardRef$89
268
267
  };
269
268
  var Authentication = {
270
269
  HidePasswordIcon: ForwardRef$40,
271
270
  ShowPasswordIcon: ForwardRef$39,
272
- UserLockIcon: ForwardRef$136
271
+ UserLockIcon: ForwardRef$135
273
272
  };
274
273
  var Navigation = {
275
274
  ArrowLeftIcon: ForwardRef$5,
@@ -284,7 +283,7 @@ var Navigation = {
284
283
  ChevronsDownIcon: ForwardRef$19,
285
284
  ArrowRightArrowLeftIcon: ForwardRef$7,
286
285
  ArrowRightFromBracketIcon: ForwardRef$82,
287
- ArrowRotateRightIcon: ForwardRef$104,
286
+ ArrowRotateRightIcon: ForwardRef$103,
288
287
  ArrowTurnUpIcon: ForwardRef$32,
289
288
  DownIcon: ForwardRef$1
290
289
  };
@@ -312,13 +311,12 @@ var UI = {
312
311
  LinkIcon: ForwardRef$76,
313
312
  LocationDotIcon: ForwardRef$84,
314
313
  MapLocationDotIcon: ForwardRef$85,
315
- MobileIcon: ForwardRef$113,
316
- ReceiptIcon: ForwardRef$103,
317
- SlidersIcon: ForwardRef$112,
318
- SquareUpRightIcon: ForwardRef$115,
319
- StoreIcon: ForwardRef$121,
320
- TableIcon: ForwardRef$123,
321
- TagIcon: ForwardRef$124,
314
+ MobileIcon: ForwardRef$112,
315
+ SlidersIcon: ForwardRef$111,
316
+ SquareUpRightIcon: ForwardRef$114,
317
+ StoreIcon: ForwardRef$120,
318
+ TableIcon: ForwardRef$122,
319
+ TagIcon: ForwardRef$123,
322
320
  BookIcon: ForwardRef$12
323
321
  };
324
322
  var Status = {
@@ -327,21 +325,21 @@ var Status = {
327
325
  UpdateAvailableIcon: ForwardRef$22,
328
326
  ClockIcon: ForwardRef$27,
329
327
  HourglassClockIcon: ForwardRef$64,
330
- InfoIcon: ForwardRef$131,
328
+ InfoIcon: ForwardRef$130,
331
329
  OctagonExclamationIcon: ForwardRef$92,
332
330
  PauseIcon: ForwardRef$96,
333
331
  PlayIcon: ForwardRef$100,
334
- RotateLeftIcon: ForwardRef$106,
335
- TriangleExclamationIcon: ForwardRef$131
332
+ RotateLeftIcon: ForwardRef$105,
333
+ TriangleExclamationIcon: ForwardRef$130
336
334
  };
337
335
  var Users = {
338
- UserIcon: ForwardRef$135,
336
+ UserIcon: ForwardRef$134,
339
337
  UserHelmetSafetyIcon: ForwardRef$56
340
338
  };
341
339
  var Misc = {
342
- DatoCMSIcon: ForwardRef$140,
340
+ DatoCMSIcon: ForwardRef$139,
343
341
  SidebarFlipIcon: ForwardRef$95,
344
- SquareDashedIcon: ForwardRef$117
342
+ SquareDashedIcon: ForwardRef$116
345
343
  };
346
344
  //#endregion
347
345
  export { Authentication, Content, Editor, Environments, Generic, Misc, Navigation, Status, TextFormat, UI, Users };
@@ -6,7 +6,7 @@ var en_default = {
6
6
  "a11y.pagination.goToPage": "Go to page {page}",
7
7
  "a11y.pagination.label": "{name} pagination",
8
8
  "a11y.pagination.next": "Next page",
9
- "a11y.pagination.perPage": "Items per page",
9
+ "a11y.pagination.perPage": "Results per page",
10
10
  "a11y.pagination.previous": "Previous page",
11
11
  "a11y.selectInput.remove": "Remove",
12
12
  "a11y.table.selectAll": "Select all rows",
@@ -21,14 +21,31 @@ var en_default = {
21
21
  "admin.listDetail.panel.failed.title": "The event could not be loaded",
22
22
  "admin.listDetail.panel.loading": "Loading the event…",
23
23
  "admin.listPresets.all": "All",
24
+ "audioPlayer.pause": "Pause",
25
+ "audioPlayer.play": "Play",
24
26
  "blankSlate.documentation": "Documentation",
25
- "clipboard.copied": "Copied!",
27
+ "clipboard.copied": "Copied",
26
28
  "clipboard.copy": "Copy",
27
29
  "clipboard.copyId": "Copy ID",
28
30
  "clipboard.open": "Open in a new tab",
29
31
  "date.today": "Today",
30
- "dropdown.search": "Search...",
31
- "dropdown.selectOption": "Please, select an option below:",
32
+ "dateTimeInput.calendar": "Calendar",
33
+ "dateTimeInput.currentMonth": "Current month",
34
+ "dateTimeInput.nextMonth": "Next month",
35
+ "dateTimeInput.openCalendar": "Open the calendar",
36
+ "dateTimeInput.previousMonth": "Previous month",
37
+ "dateTimeInput.time": "Time",
38
+ "dateTimeInput.timezone": "Time zone",
39
+ "dateTimeRangeInput.apply": "Apply",
40
+ "dateTimeRangeInput.custom": "Custom range",
41
+ "dateTimeRangeInput.end": "End date",
42
+ "dateTimeRangeInput.endTime": "End time",
43
+ "dateTimeRangeInput.from": "From {date}",
44
+ "dateTimeRangeInput.start": "Start date",
45
+ "dateTimeRangeInput.startTime": "Start time",
46
+ "dateTimeRangeInput.until": "Until {date}",
47
+ "dropdown.search": "Search…",
48
+ "dropdown.selectOption": "Select an option below:",
32
49
  "editorToolbar.addImage": "Add image",
33
50
  "editorToolbar.addTable": "Add table",
34
51
  "editorToolbar.alignCenter": "Align center",
@@ -46,6 +63,16 @@ var en_default = {
46
63
  "environment.primary": "Primary",
47
64
  "environment.sandbox": "Sandbox",
48
65
  "field.clearValue": "Clear",
66
+ "filterBuilder.add": "Add filter",
67
+ "filterBuilder.addMenu": "Choose what to filter by",
68
+ "filterBuilder.argument": "{argument} of {field}",
69
+ "filterBuilder.clear": "Clear filters",
70
+ "filterBuilder.condition": "{field} {operator}",
71
+ "filterBuilder.empty": "No filters set",
72
+ "filterBuilder.field": "Field",
73
+ "filterBuilder.operator": "Operator of {field}",
74
+ "filterBuilder.remove": "Remove the {field} filter",
75
+ "filterBuilder.value": "Value of {field}",
49
76
  "form.localizedField": "The values for this field vary depending on the locale",
50
77
  "form.optional": "(optional)",
51
78
  "form.password.hide": "Hide password",
@@ -57,7 +84,7 @@ var en_default = {
57
84
  "hotkeys.closePopover": "Close popover",
58
85
  "hotkeys.filterList": "Filter the list",
59
86
  "idText.label": "ID",
60
- "imageMetadata.analyzingUpload": "Upload complete, analysing…",
87
+ "imageMetadata.analyzingUpload": "Upload complete, analyzing…",
61
88
  "imageMetadata.cancelUpload": "Cancel",
62
89
  "imageMetadata.noMetadata": "No metadata set",
63
90
  "imageMetadata.uploadInProgress": "{percent, plural, =0 {In queue…} one {Uploading ({percent}%)…} other {Uploading ({percent}%)…}}",
@@ -76,6 +103,8 @@ var en_default = {
76
103
  "pagination.next": "Next",
77
104
  "pagination.previous": "Previous",
78
105
  "pagination.show": "Show: {perPage}",
106
+ "recordRow.fallbackTitle": "Record #{id}",
107
+ "recordRow.loading": "Loading the record…",
79
108
  "selectInput.create": "Create “{value}”",
80
109
  "selectInput.loading": "Loading…",
81
110
  "selectInput.noOptions": "No options",
@@ -109,7 +138,16 @@ var en_default = {
109
138
  "toolbar.help": "About this page",
110
139
  "toolbar.learnMore": "Learn more",
111
140
  "upload.threatDetected": "Threat detected",
141
+ "uploadCard.fallbackTitle": "Asset #{id}",
142
+ "uploadCard.loading": "Loading the asset…",
143
+ "uploadPreview.encodingVideo": "Encoding video…",
112
144
  "usage.meterLabel": "{percent}% of the limit",
145
+ "userType.account": "Project owner",
146
+ "userType.apiToken": "API token",
147
+ "userType.organization": "Project owner",
148
+ "userType.siteInvitation": "Invitation",
149
+ "userType.ssoUser": "SSO user",
150
+ "userType.user": "Collaborator",
113
151
  "validityTriangle.current": "Current version not valid",
114
152
  "validityTriangle.invalidVersion": "This version is not valid",
115
153
  "validityTriangle.published": "Published version not valid"
@@ -1,9 +1,8 @@
1
1
  import type { ReactElement } from 'react';
2
2
  /**
3
3
  * A translation key with its values, for example `{ id: 'button.save' }`.
4
- * The texts adapter of the host gives the text of the key: the resources of
5
- * i18next in the apps, the texts of ui-public and the `texts` map in
6
- * `BundledTexts`. See the "Texts provider" docs page.
4
+ * The texts adapter of the host gives the text of the key. See "Texts" on
5
+ * the `Canvas` docs page.
7
6
  */
8
7
  export type IntlMessage = {
9
8
  id: string;
@@ -21,7 +20,7 @@ export type HtmlMessage = {
21
20
  */
22
21
  export type Message = string | ReactElement | IntlMessage | HtmlMessage;
23
22
  /**
24
- * A text that goes in an attribute (for example `aria-label`), thus it cannot
23
+ * A text that goes in an attribute (for example `aria-label`), so it cannot
25
24
  * be a React element or HTML.
26
25
  */
27
26
  export type TextMessage = string | IntlMessage;
@@ -1,2 +1,2 @@
1
1
  /** A key of a text of ui-public, as in `locales/en.json` */
2
- export type UiTextKey = 'MultipleSelectionActionBar.changeSelection' | 'MultipleSelectionActionBar.deselectAll' | 'a11y.filterToggle' | 'a11y.pagination.goToPage' | 'a11y.pagination.label' | 'a11y.pagination.next' | 'a11y.pagination.perPage' | 'a11y.pagination.previous' | 'a11y.selectInput.remove' | 'a11y.table.selectAll' | 'actionGroups.general' | 'actionGroups.list' | 'activityLog.noResults.description' | 'activityLog.noResults.title' | 'admin.listDetail.panel.close' | 'admin.listDetail.panel.empty.description' | 'admin.listDetail.panel.empty.title' | 'admin.listDetail.panel.failed.text' | 'admin.listDetail.panel.failed.title' | 'admin.listDetail.panel.loading' | 'admin.listPresets.all' | 'blankSlate.documentation' | 'clipboard.copied' | 'clipboard.copy' | 'clipboard.copyId' | 'clipboard.open' | 'date.today' | 'dropdown.search' | 'dropdown.selectOption' | 'editorToolbar.addImage' | 'editorToolbar.addTable' | 'editorToolbar.alignCenter' | 'editorToolbar.alignJustify' | 'editorToolbar.alignLeft' | 'editorToolbar.alignRight' | 'editorToolbar.closeFullscreen' | 'editorToolbar.indent' | 'editorToolbar.label' | 'editorToolbar.openFullscreen' | 'editorToolbar.outdent' | 'editorToolbar.redo' | 'editorToolbar.source' | 'editorToolbar.undo' | 'environment.primary' | 'environment.sandbox' | 'field.clearValue' | 'form.localizedField' | 'form.optional' | 'form.password.hide' | 'form.password.show' | 'framedImage.enlarged' | 'fullTextQuery.close' | 'fullTextQuery.placeholder' | 'hotkeys.closeModal' | 'hotkeys.closePopover' | 'hotkeys.filterList' | 'idText.label' | 'imageMetadata.analyzingUpload' | 'imageMetadata.cancelUpload' | 'imageMetadata.noMetadata' | 'imageMetadata.uploadInProgress' | 'item.shortStatus.draft' | 'item.shortStatus.new' | 'item.shortStatus.published' | 'item.shortStatus.updated' | 'itemTable.columns.available' | 'itemTable.columns.displayed' | 'itemTable.columns.hide' | 'keyValueList.value' | 'listFilter.noResults.description' | 'listFilter.noResults.title' | 'messages.confirm.defaultCancel' | 'modal.close' | 'pagination.next' | 'pagination.previous' | 'pagination.show' | 'selectInput.create' | 'selectInput.loading' | 'selectInput.noOptions' | 'settingsMenu.needsAttention' | 'settingsMenu.opensNewTab' | 'shortcut.or' | 'shortcut.then' | 'shortcutsPanel.close' | 'shortcutsPanel.noResults' | 'shortcutsPanel.title' | 'sidebar.actions' | 'sidebar.hide' | 'sidebar.keepOpen' | 'sidebar.show' | 'sidebar.toggleLeft' | 'sidebar.toggleRight' | 'sidebarEditMode.reorder' | 'slate.slash.blockquote.title' | 'slate.toolbarButton.bulletedList' | 'slate.toolbarButton.code' | 'slate.toolbarButton.emphasis' | 'slate.toolbarButton.link' | 'slate.toolbarButton.numberedList' | 'slate.toolbarButton.strikethrough' | 'slate.toolbarButton.strong' | 'spinner.label' | 'splitButton.moreActions' | 'table.row.loading' | 'tableList.removeRow' | 'toolbar.goBack' | 'toolbar.help' | 'toolbar.learnMore' | 'upload.threatDetected' | 'usage.meterLabel' | 'validityTriangle.current' | 'validityTriangle.invalidVersion' | 'validityTriangle.published';
2
+ export type UiTextKey = 'MultipleSelectionActionBar.changeSelection' | 'MultipleSelectionActionBar.deselectAll' | 'a11y.filterToggle' | 'a11y.pagination.goToPage' | 'a11y.pagination.label' | 'a11y.pagination.next' | 'a11y.pagination.perPage' | 'a11y.pagination.previous' | 'a11y.selectInput.remove' | 'a11y.table.selectAll' | 'actionGroups.general' | 'actionGroups.list' | 'activityLog.noResults.description' | 'activityLog.noResults.title' | 'admin.listDetail.panel.close' | 'admin.listDetail.panel.empty.description' | 'admin.listDetail.panel.empty.title' | 'admin.listDetail.panel.failed.text' | 'admin.listDetail.panel.failed.title' | 'admin.listDetail.panel.loading' | 'admin.listPresets.all' | 'audioPlayer.pause' | 'audioPlayer.play' | 'blankSlate.documentation' | 'clipboard.copied' | 'clipboard.copy' | 'clipboard.copyId' | 'clipboard.open' | 'date.today' | 'dateTimeInput.calendar' | 'dateTimeInput.currentMonth' | 'dateTimeInput.nextMonth' | 'dateTimeInput.openCalendar' | 'dateTimeInput.previousMonth' | 'dateTimeInput.time' | 'dateTimeInput.timezone' | 'dateTimeRangeInput.apply' | 'dateTimeRangeInput.custom' | 'dateTimeRangeInput.end' | 'dateTimeRangeInput.endTime' | 'dateTimeRangeInput.from' | 'dateTimeRangeInput.start' | 'dateTimeRangeInput.startTime' | 'dateTimeRangeInput.until' | 'dropdown.search' | 'dropdown.selectOption' | 'editorToolbar.addImage' | 'editorToolbar.addTable' | 'editorToolbar.alignCenter' | 'editorToolbar.alignJustify' | 'editorToolbar.alignLeft' | 'editorToolbar.alignRight' | 'editorToolbar.closeFullscreen' | 'editorToolbar.indent' | 'editorToolbar.label' | 'editorToolbar.openFullscreen' | 'editorToolbar.outdent' | 'editorToolbar.redo' | 'editorToolbar.source' | 'editorToolbar.undo' | 'environment.primary' | 'environment.sandbox' | 'field.clearValue' | 'filterBuilder.add' | 'filterBuilder.addMenu' | 'filterBuilder.argument' | 'filterBuilder.clear' | 'filterBuilder.condition' | 'filterBuilder.empty' | 'filterBuilder.field' | 'filterBuilder.operator' | 'filterBuilder.remove' | 'filterBuilder.value' | 'form.localizedField' | 'form.optional' | 'form.password.hide' | 'form.password.show' | 'framedImage.enlarged' | 'fullTextQuery.close' | 'fullTextQuery.placeholder' | 'hotkeys.closeModal' | 'hotkeys.closePopover' | 'hotkeys.filterList' | 'idText.label' | 'imageMetadata.analyzingUpload' | 'imageMetadata.cancelUpload' | 'imageMetadata.noMetadata' | 'imageMetadata.uploadInProgress' | 'item.shortStatus.draft' | 'item.shortStatus.new' | 'item.shortStatus.published' | 'item.shortStatus.updated' | 'itemTable.columns.available' | 'itemTable.columns.displayed' | 'itemTable.columns.hide' | 'keyValueList.value' | 'listFilter.noResults.description' | 'listFilter.noResults.title' | 'messages.confirm.defaultCancel' | 'modal.close' | 'pagination.next' | 'pagination.previous' | 'pagination.show' | 'recordRow.fallbackTitle' | 'recordRow.loading' | 'selectInput.create' | 'selectInput.loading' | 'selectInput.noOptions' | 'settingsMenu.needsAttention' | 'settingsMenu.opensNewTab' | 'shortcut.or' | 'shortcut.then' | 'shortcutsPanel.close' | 'shortcutsPanel.noResults' | 'shortcutsPanel.title' | 'sidebar.actions' | 'sidebar.hide' | 'sidebar.keepOpen' | 'sidebar.show' | 'sidebar.toggleLeft' | 'sidebar.toggleRight' | 'sidebarEditMode.reorder' | 'slate.slash.blockquote.title' | 'slate.toolbarButton.bulletedList' | 'slate.toolbarButton.code' | 'slate.toolbarButton.emphasis' | 'slate.toolbarButton.link' | 'slate.toolbarButton.numberedList' | 'slate.toolbarButton.strikethrough' | 'slate.toolbarButton.strong' | 'spinner.label' | 'splitButton.moreActions' | 'table.row.loading' | 'tableList.removeRow' | 'toolbar.goBack' | 'toolbar.help' | 'toolbar.learnMore' | 'upload.threatDetected' | 'uploadCard.fallbackTitle' | 'uploadCard.loading' | 'uploadPreview.encodingVideo' | 'usage.meterLabel' | 'userType.account' | 'userType.apiToken' | 'userType.organization' | 'userType.siteInvitation' | 'userType.ssoUser' | 'userType.user' | 'validityTriangle.current' | 'validityTriangle.invalidVersion' | 'validityTriangle.published';
@@ -5,7 +5,7 @@ import { jsx } from "react/jsx-runtime";
5
5
  //#region ../ui-public/src/actions/Actions/ActionTooltip.tsx
6
6
  /**
7
7
  * A tooltip with the name and the keys of an action of the registry.
8
- * `label` takes the place of the name (the label of an icon-only button).
8
+ * `label` replaces the name (the label of an icon-only button).
9
9
  * Without `label`, an action with no keys has no tooltip: the button already
10
10
  * shows its name.
11
11
  */
@@ -65,7 +65,7 @@ export type Action = {
65
65
  */
66
66
  layerSafe?: boolean;
67
67
  /**
68
- * The area of the app that holds the page or the action, for example
68
+ * The area of DatoCMS that holds the page or the action, for example
69
69
  * "Usage" for "By project". The command palette and the list of the
70
70
  * shortcuts show it before the name, because a short name is not clear
71
71
  * without its menu group.
@@ -128,7 +128,7 @@ export declare function ActionsProvider({ children }: {
128
128
  * A layer of actions, for example a dialog. While it is open, the actions
129
129
  * under it are off: all of them under a dialog, the page and the regions
130
130
  * under a popover. An action with `layerSafe` stays on. A dialog that opens
131
- * later is on top, also when it is not inside the other dialogs in the tree.
131
+ * later is on top, even when it is not inside the other dialogs in the tree.
132
132
  */
133
133
  export declare function ActionLayer({ kind, actions, active, children, }: {
134
134
  /**
@@ -213,7 +213,7 @@ var ActionsRegistry = class {
213
213
  }
214
214
  /**
215
215
  * The action with this id: the active one, else the one that would win.
216
- * A menu runs an action of a region also when the pointer is in the menu.
216
+ * A menu runs an action of a region even when the pointer is in the menu.
217
217
  * With an `origin` (the dropdown of the menu), only the regions that hold
218
218
  * the origin count: each row of a list registers the same ids, and the
219
219
  * menu of a row must not run the action of another row, nor a menu out of
@@ -345,7 +345,7 @@ function RootActionsProvider({ children }) {
345
345
  * A layer of actions, for example a dialog. While it is open, the actions
346
346
  * under it are off: all of them under a dialog, the page and the regions
347
347
  * under a popover. An action with `layerSafe` stays on. A dialog that opens
348
- * later is on top, also when it is not inside the other dialogs in the tree.
348
+ * later is on top, even when it is not inside the other dialogs in the tree.
349
349
  */
350
350
  function ActionLayer({ kind, actions, active = true, children }) {
351
351
  const registry = useContext(RegistryContext);
@@ -15,7 +15,7 @@ export type ButtonTone = 'soft' | 'ghost' | 'primary' | 'alert' | 'ghost-alert'
15
15
  */
16
16
  export type ButtonSize = 'micro' | 'milli' | 'small' | 'field' | 'regular' | 'large';
17
17
  /**
18
- * The size of the buttons of the place, when a button does not give one:
18
+ * The size of the buttons in their container, when a button does not give one:
19
19
  * "small" by default, "milli" in a toolbar (the toolbar is short: two
20
20
  * insets plus one line of the title, and a "small" button almost touches
21
21
  * its top and bottom edges), "field" in a toolbar of fields (a filter bar:
@@ -35,8 +35,8 @@ type WithLabel = {
35
35
  tooltip?: ActionTooltipOptions;
36
36
  };
37
37
  /**
38
- * The name and the keys of an action of the registry (`ui-public/Actions`), in
39
- * the tooltip. An icon-only button shows its label in place of the name.
38
+ * The name and the keys of an action of the registry (`Actions`), in
39
+ * the tooltip. An icon-only button shows its label instead of the name.
40
40
  * When the action has no keys or does not exist, the tooltip has no keys:
41
41
  * an icon-only button shows its label, and a button with a label shows no
42
42
  * tooltip.
@@ -91,7 +91,7 @@ type ClickHandler = (event: React.MouseEvent<HTMLButtonElement>) => unknown;
91
91
  /** The state of a button element. A link cannot show it. */
92
92
  type ButtonElementState = {
93
93
  /**
94
- * The action runs: the button shows a spinner in the place of the icon
94
+ * The action runs: the button shows a spinner instead of the icon
95
95
  * (before the label when there is no icon), and it is disabled. An
96
96
  * "onClick" that returns a promise sets it automatically.
97
97
  */
@@ -115,9 +115,9 @@ type ClickAction = ButtonElementState & {
115
115
  submit?: never;
116
116
  newTab?: never;
117
117
  };
118
- /** A link to a page of the app */
118
+ /** A link to a page of DatoCMS */
119
119
  type LinkAction = LinkElementState & {
120
- /** The page of the app: the path with its query, for example "/editor?tab=x" */
120
+ /** The page of DatoCMS: the path with its query, for example "/editor?tab=x" */
121
121
  to: string;
122
122
  /** Opens the page in a new tab (for example from a modal, to keep it open) */
123
123
  newTab?: boolean;
@@ -125,7 +125,7 @@ type LinkAction = LinkElementState & {
125
125
  href?: never;
126
126
  submit?: never;
127
127
  };
128
- /** A link to a page out of the app */
128
+ /** A link to another site */
129
129
  type ExternalLinkAction = LinkElementState & {
130
130
  href: string;
131
131
  /** Opens the page in a new tab (for example the docs) */
@@ -166,15 +166,15 @@ export type ButtonProps = {
166
166
  */
167
167
  tone?: ButtonTone;
168
168
  /**
169
- * The size of the place by default: "milli" in a toolbar, "small" out of
170
- * a toolbar (see useButtonSize)
169
+ * The default size: "milli" in a toolbar, "small" out of a toolbar (see
170
+ * useButtonSize)
171
171
  */
172
172
  size?: ButtonSize;
173
173
  /** The button fills the width of its container */
174
174
  expand?: boolean;
175
175
  /** Give a reason when the user must know why the button is disabled */
176
176
  disabled?: Disabled;
177
- /** Only for the place of the button (margin, alignment), not for its look */
177
+ /** Only for the position of the button (margin, alignment), not for its look */
178
178
  className?: string;
179
179
  } & HtmlProps & ButtonContent & ButtonAction;
180
180
  /** The classes of the look of a button. Button and ButtonTrigger use them. */
@@ -12,7 +12,7 @@ import classNames from "classnames";
12
12
  import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
13
13
  //#region ../ui-public/src/actions/Button.tsx
14
14
  /**
15
- * The size of the buttons of the place, when a button does not give one:
15
+ * The size of the buttons in their container, when a button does not give one:
16
16
  * "small" by default, "milli" in a toolbar (the toolbar is short: two
17
17
  * insets plus one line of the title, and a "small" button almost touches
18
18
  * its top and bottom edges), "field" in a toolbar of fields (a filter bar:
@@ -8,7 +8,7 @@ export type MenuProps = {
8
8
  /**
9
9
  * The side of the trigger where the menu opens. When there is no space
10
10
  * there, the menu goes to the other side. Use "bottom-end" for a trigger
11
- * at the right of its place (the "⋮" of a row).
11
+ * on the right of its container (the "⋮" of a row).
12
12
  * @default "bottom-start"
13
13
  */
14
14
  placement?: Placement;
@@ -20,7 +20,7 @@ export type MenuProps = {
20
20
  /**
21
21
  * A search field at the top of the menu. With "auto", it shows when the
22
22
  * menu has more than 5 options. With "{ placeholder }", it always shows,
23
- * with that text in place of "Search...".
23
+ * with that text instead of "Search...".
24
24
  * @default "auto"
25
25
  */
26
26
  contextualSearch?: ContextualSearch;
@@ -19,7 +19,7 @@ type PickAction = {
19
19
  action?: never;
20
20
  };
21
21
  /**
22
- * Runs an action of the registry (`ui-public/Actions`). The keys of the action
22
+ * Runs an action of the registry (`Actions`). The keys of the action
23
23
  * show at the end of the option. The option is disabled while the action
24
24
  * gives a reason, or when the action does not exist now.
25
25
  */
@@ -32,11 +32,11 @@ type RegistryAction = {
32
32
  newTab?: never;
33
33
  };
34
34
  /**
35
- * A link to a page of the app. When the page is open, the option gets
35
+ * A link to a page of DatoCMS. When the page is open, the option gets
36
36
  * aria-current="page".
37
37
  */
38
38
  type LinkAction = {
39
- /** The page of the app that the option opens */
39
+ /** The page of DatoCMS that the option opens */
40
40
  to: string;
41
41
  /** Opens the page in a new tab */
42
42
  newTab?: boolean;
@@ -44,7 +44,7 @@ type LinkAction = {
44
44
  href?: never;
45
45
  action?: never;
46
46
  };
47
- /** A link to a page out of the app */
47
+ /** A link to another site */
48
48
  type ExternalLinkAction = {
49
49
  /** The URL that the option opens */
50
50
  href: string;
@@ -67,7 +67,7 @@ type NoAction = {
67
67
  };
68
68
  /**
69
69
  * The action of an option: a pick handler, an action of the registry, a
70
- * page of the app, or a page out of the app. One option has one action.
70
+ * page of DatoCMS, or another site. One option has one action.
71
71
  */
72
72
  export type OptionAction = PickAction | RegistryAction | LinkAction | ExternalLinkAction | NoAction;
73
73
  /** The place of an option in a sortable Dropdown.Group */
@@ -116,7 +116,7 @@ export type OptionProps = OptionAction & {
116
116
  */
117
117
  sortable?: OptionSortable;
118
118
  /**
119
- * With a reason, the option is disabled and its tooltip tells why. With
119
+ * With a reason, the option is disabled and its tooltip says why. With
120
120
  * "interactive", the reason has links: it shows in a HoverCard.
121
121
  */
122
122
  disabled?: Disabled;
@@ -143,7 +143,7 @@ export type OptionProps = OptionAction & {
143
143
  */
144
144
  keywords?: string[];
145
145
  /**
146
- * Shows a chevron after the label, and a screen reader tells if the
146
+ * Shows a chevron after the label, and a screen reader says if the
147
147
  * submenu is open. Dropdown.Submenu gives it.
148
148
  */
149
149
  submenu?: OptionSubmenu;
@@ -25,7 +25,7 @@ type PropTypes<P extends AbstractTriggerComponentProps> = {
25
25
  * it runs only when the menu opens.
26
26
  */
27
27
  children: ReactElement | (() => ReactElement);
28
- /** Only for the place of the dropdown, not for its look */
28
+ /** Only for the position of the dropdown, not for its look */
29
29
  className?: string;
30
30
  /** Lets the parent open the menu from code (see DropdownHandle) */
31
31
  controlRef?: React.Ref<DropdownHandle>;
@@ -32,15 +32,15 @@ export type ButtonTriggerProps = DropdownTriggerBaseProps & {
32
32
  */
33
33
  tone?: Extract<ButtonTone, 'soft' | 'ghost' | 'primary'>;
34
34
  /**
35
- * The size of the place by default: "milli" in a toolbar, "small" out of
36
- * a toolbar (see useButtonSize)
35
+ * The default size: "milli" in a toolbar, "small" out of a toolbar (see
36
+ * useButtonSize)
37
37
  */
38
38
  size?: ButtonSize;
39
39
  /** The button fills the width of its container */
40
40
  expand?: boolean;
41
41
  /**
42
- * The menu cannot open. Give a reason when the user must know why: it
43
- * takes the place of the tooltip.
42
+ * The menu cannot open. Give a reason when the user must know why. It
43
+ * replaces the tooltip.
44
44
  */
45
45
  disabled?: Disabled;
46
46
  /**
@@ -49,7 +49,7 @@ export type ButtonTriggerProps = DropdownTriggerBaseProps & {
49
49
  * menu is open: the menu is in its place.
50
50
  */
51
51
  tooltip?: Message | false | null | ActionTooltipOptions;
52
- /** Only for the place of the button, not for its look */
52
+ /** Only for the position of the button, not for its look */
53
53
  className?: string;
54
54
  } & ButtonTriggerContent;
55
55
  /** The trigger of a Dropdown with the look of a Button */