datocms-react-ui 3.1.0-next.6 → 3.1.0-next.9

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 (252) hide show
  1. package/README.md +3 -2
  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/FieldTypeAvatar.d.ts +2 -0
  9. package/dist/FieldTypeAvatar.js +2 -0
  10. package/dist/FieldTypeName.d.ts +2 -0
  11. package/dist/FieldTypeName.js +2 -0
  12. package/dist/FilterBuilder.d.ts +2 -0
  13. package/dist/FilterBuilder.js +2 -0
  14. package/dist/RecordRow.d.ts +2 -0
  15. package/dist/RecordRow.js +2 -0
  16. package/dist/UploadCard.js +2 -2
  17. package/dist/UploadPreview.d.ts +2 -2
  18. package/dist/UploadPreview.js +1 -1
  19. package/dist/UserRow.d.ts +2 -0
  20. package/dist/UserRow.js +2 -0
  21. package/dist/react-ui/src/Canvas.d.ts +7 -1
  22. package/dist/react-ui/src/Canvas.js +26 -4
  23. package/dist/react-ui/src/ctxAnswer.js +21 -0
  24. package/dist/react-ui/src/ctxDateSettings.js +7 -5
  25. package/dist/react-ui/src/ctxRecordPresentation.js +34 -0
  26. package/dist/react-ui/src/ctxUploads.js +23 -0
  27. package/dist/styles.css +634 -45
  28. package/dist/ui-public/icons/index.js +285 -280
  29. package/dist/ui-public/icons/lucide/braces.js +22 -0
  30. package/dist/ui-public/icons/lucide/hash.js +47 -0
  31. package/dist/ui-public/icons/lucide/letter-text.js +28 -0
  32. package/dist/ui-public/icons/lucide/rows-3.js +32 -0
  33. package/dist/ui-public/icons/lucide/toggle-right.js +32 -0
  34. package/dist/ui-public/locales/en.js +74 -5
  35. package/dist/ui-public/src/Message.d.ts +3 -4
  36. package/dist/ui-public/src/UiTextKey.d.ts +1 -1
  37. package/dist/ui-public/src/actions/Actions/ActionTooltip.js +1 -1
  38. package/dist/ui-public/src/actions/Actions/registry.d.ts +2 -2
  39. package/dist/ui-public/src/actions/Actions/registry.js +2 -2
  40. package/dist/ui-public/src/actions/Button.d.ts +10 -10
  41. package/dist/ui-public/src/actions/Button.js +1 -1
  42. package/dist/ui-public/src/actions/Dropdown/Menu.d.ts +2 -2
  43. package/dist/ui-public/src/actions/Dropdown/Option.d.ts +7 -7
  44. package/dist/ui-public/src/actions/Dropdown/index.d.ts +1 -1
  45. package/dist/ui-public/src/actions/Dropdown/triggers/ButtonTrigger.d.ts +5 -5
  46. package/dist/ui-public/src/actions/Dropdown/triggers/DropdownTriggerButton.d.ts +2 -2
  47. package/dist/ui-public/src/actions/Dropdown/triggers/IconTrigger.d.ts +6 -6
  48. package/dist/ui-public/src/actions/Dropdown/triggers/IconTrigger.js +1 -1
  49. package/dist/ui-public/src/actions/EditorToolbar/Button.d.ts +1 -1
  50. package/dist/ui-public/src/actions/MultipleSelectionActionBar.d.ts +1 -1
  51. package/dist/ui-public/src/actions/SplitButton/Caret.js +2 -2
  52. package/dist/ui-public/src/actions/SplitButton/Halves.js +1 -1
  53. package/dist/ui-public/src/actions/SplitButton/index.d.ts +3 -3
  54. package/dist/ui-public/src/actions/disabledReason.d.ts +4 -4
  55. package/dist/ui-public/src/content/Avatar.d.ts +3 -3
  56. package/dist/ui-public/src/content/Avatar.js +2 -2
  57. package/dist/ui-public/src/content/CodeSnippet.d.ts +1 -1
  58. package/dist/ui-public/src/content/CopyableValue.d.ts +1 -1
  59. package/dist/ui-public/src/content/EnvironmentPill.d.ts +1 -1
  60. package/dist/ui-public/src/content/EnvironmentPill.js +1 -1
  61. package/dist/ui-public/src/content/FieldTypeAvatar.d.ts +22 -0
  62. package/dist/ui-public/src/content/FieldTypeAvatar.js +35 -0
  63. package/dist/ui-public/src/content/FieldTypeName.d.ts +19 -0
  64. package/dist/ui-public/src/content/FieldTypeName.js +25 -0
  65. package/dist/ui-public/src/content/IconAvatar.d.ts +3 -2
  66. package/dist/ui-public/src/content/ItemStatus.d.ts +1 -1
  67. package/dist/ui-public/src/content/Pill.d.ts +1 -1
  68. package/dist/ui-public/src/content/SmartDate.d.ts +1 -1
  69. package/dist/ui-public/src/content/UploadPreview/asset.js +200 -0
  70. package/dist/ui-public/src/content/UploadPreview/audio.js +120 -0
  71. package/dist/ui-public/src/content/{UploadPreview.d.ts → UploadPreview/box.d.ts} +10 -10
  72. package/dist/ui-public/src/content/{UploadPreview.js → UploadPreview/box.js} +7 -7
  73. package/dist/ui-public/src/content/{uploadPreviewFit.d.ts → UploadPreview/fit.d.ts} +2 -2
  74. package/dist/ui-public/src/content/{uploadPreviewFit.js → UploadPreview/fit.js} +3 -3
  75. package/dist/ui-public/src/content/UploadPreview/index.d.ts +61 -0
  76. package/dist/ui-public/src/content/UploadPreview/index.js +36 -0
  77. package/dist/ui-public/src/content/UploadPreview/presentation.js +63 -0
  78. package/dist/ui-public/src/content/UploadPreview/thumbhash.js +91 -0
  79. package/dist/ui-public/src/content/UploadPreview/upload.d.ts +104 -0
  80. package/dist/ui-public/src/content/UploadPreview/upload.js +112 -0
  81. package/dist/ui-public/src/content/UsageMeter.d.ts +1 -1
  82. package/dist/ui-public/src/content/ValidityTriangles.d.ts +1 -1
  83. package/dist/ui-public/src/feedback/BlankSlate.d.ts +5 -5
  84. package/dist/ui-public/src/feedback/Callout.d.ts +5 -5
  85. package/dist/ui-public/src/feedback/Callout.js +1 -1
  86. package/dist/ui-public/src/feedback/ProgressBar.d.ts +4 -4
  87. package/dist/ui-public/src/feedback/Spinner.d.ts +6 -6
  88. package/dist/ui-public/src/feedback/Spinner.js +1 -1
  89. package/dist/ui-public/src/form/DateInput.d.ts +13 -0
  90. package/dist/ui-public/src/form/DateInput.js +16 -0
  91. package/dist/ui-public/src/form/DateTimeInput/Base.d.ts +89 -0
  92. package/dist/ui-public/src/form/DateTimeInput/Base.js +330 -0
  93. package/dist/ui-public/src/form/DateTimeInput/CalendarGrid.d.ts +29 -0
  94. package/dist/ui-public/src/form/DateTimeInput/CalendarGrid.js +195 -0
  95. package/dist/ui-public/src/form/DateTimeInput/dateText.js +38 -0
  96. package/dist/ui-public/src/form/DateTimeInput/index.d.ts +10 -0
  97. package/dist/ui-public/src/form/DateTimeInput/index.js +18 -0
  98. package/dist/ui-public/src/form/DateTimeInput/value.js +31 -0
  99. package/dist/ui-public/src/form/DateTimeRangeInput/Panel.js +167 -0
  100. package/dist/ui-public/src/form/DateTimeRangeInput/index.d.ts +123 -0
  101. package/dist/ui-public/src/form/DateTimeRangeInput/index.js +186 -0
  102. package/dist/ui-public/src/form/DateTimeRangeInput/rangeLabel.js +46 -0
  103. package/dist/ui-public/src/form/FieldHint.d.ts +2 -2
  104. package/dist/ui-public/src/form/FieldWrapper.d.ts +9 -9
  105. package/dist/ui-public/src/form/FieldWrapper.js +3 -3
  106. package/dist/ui-public/src/form/FilterBuilder/Editor.js +123 -0
  107. package/dist/ui-public/src/form/FilterBuilder/index.d.ts +9 -0
  108. package/dist/ui-public/src/form/FilterBuilder/index.js +294 -0
  109. package/dist/ui-public/src/form/FilterBuilder/types.d.ts +188 -0
  110. package/dist/ui-public/src/form/FilterBuilder/values.js +86 -0
  111. package/dist/ui-public/src/form/InputGroup.d.ts +2 -2
  112. package/dist/ui-public/src/form/InputGroup.js +1 -1
  113. package/dist/ui-public/src/form/KeyValueList.d.ts +1 -1
  114. package/dist/ui-public/src/form/Label.d.ts +2 -2
  115. package/dist/ui-public/src/form/RadioGroupInput.d.ts +2 -2
  116. package/dist/ui-public/src/form/RadioGroupInput.js +1 -1
  117. package/dist/ui-public/src/form/SelectInput/SelectMenu.d.ts +2 -2
  118. package/dist/ui-public/src/form/SelectInput/index.d.ts +3 -3
  119. package/dist/ui-public/src/form/SwitchInput.d.ts +2 -2
  120. package/dist/ui-public/src/form/SwitchList.d.ts +1 -1
  121. package/dist/ui-public/src/form/SwitchList.js +1 -1
  122. package/dist/ui-public/src/form/TableList.d.ts +2 -2
  123. package/dist/ui-public/src/form/TextareaInput.js +1 -1
  124. package/dist/ui-public/src/form/inputProps.d.ts +6 -6
  125. package/dist/ui-public/src/hooks/useAsyncSelectOptions.d.ts +1 -1
  126. package/dist/ui-public/src/hooks/useSmartRowClick.d.ts +1 -1
  127. package/dist/ui-public/src/hooks/useSmartRowClick.js +1 -1
  128. package/dist/ui-public/src/layout/Page/PageGroup.d.ts +2 -2
  129. package/dist/ui-public/src/layout/Page/PageGroup.js +1 -1
  130. package/dist/ui-public/src/layout/Pane/FormHeader.d.ts +1 -1
  131. package/dist/ui-public/src/layout/Pane/FormHeader.js +1 -1
  132. package/dist/ui-public/src/layout/Pane/ListFilter.d.ts +1 -1
  133. package/dist/ui-public/src/layout/Pane/ListPresets.d.ts +1 -1
  134. package/dist/ui-public/src/layout/Pane/PaneHeader.d.ts +1 -1
  135. package/dist/ui-public/src/layout/Pane/index.d.ts +8 -8
  136. package/dist/ui-public/src/layout/Pane/index.js +17 -8
  137. package/dist/ui-public/src/layout/SidebarPanel.d.ts +1 -1
  138. package/dist/ui-public/src/layout/SplitPane/Rail.js +1 -1
  139. package/dist/ui-public/src/layout/SplitPane/index.d.ts +6 -6
  140. package/dist/ui-public/src/layout/SplitPane/index.js +16 -2
  141. package/dist/ui-public/src/layout/Toolbar/AddNewButton.d.ts +2 -2
  142. package/dist/ui-public/src/layout/Toolbar/Help.d.ts +3 -3
  143. package/dist/ui-public/src/layout/Toolbar/Help.js +2 -2
  144. package/dist/ui-public/src/layout/Toolbar/Note.d.ts +1 -1
  145. package/dist/ui-public/src/layout/Toolbar/Note.js +1 -1
  146. package/dist/ui-public/src/layout/Toolbar/Pagination.d.ts +1 -1
  147. package/dist/ui-public/src/layout/Toolbar/Pagination.js +1 -1
  148. package/dist/ui-public/src/layout/Toolbar/PresetsTitle.d.ts +3 -3
  149. package/dist/ui-public/src/layout/Toolbar/PresetsTitle.js +2 -2
  150. package/dist/ui-public/src/layout/Toolbar/PrimaryButton.d.ts +3 -3
  151. package/dist/ui-public/src/layout/Toolbar/Root.d.ts +1 -1
  152. package/dist/ui-public/src/layout/Toolbar/Root.js +4 -1
  153. package/dist/ui-public/src/layout/Toolbar/ToolbarTitleTrigger.js +1 -1
  154. package/dist/ui-public/src/lists/CardList.d.ts +3 -3
  155. package/dist/ui-public/src/lists/EmptySlot.d.ts +1 -1
  156. package/dist/ui-public/src/lists/InfoList/User.d.ts +1 -1
  157. package/dist/ui-public/src/lists/InfoList/Value.d.ts +1 -1
  158. package/dist/ui-public/src/lists/InfoList/Value.js +1 -1
  159. package/dist/ui-public/src/lists/InfoList/index.d.ts +3 -3
  160. package/dist/ui-public/src/lists/InfoList/index.js +1 -1
  161. package/dist/ui-public/src/lists/MediaCard.d.ts +7 -7
  162. package/dist/ui-public/src/lists/RecordRow/Image.d.ts +24 -0
  163. package/dist/ui-public/src/lists/RecordRow/Image.js +22 -0
  164. package/dist/ui-public/src/lists/RecordRow/List.d.ts +26 -0
  165. package/dist/ui-public/src/lists/RecordRow/List.js +30 -0
  166. package/dist/ui-public/src/lists/RecordRow/context.js +31 -0
  167. package/dist/ui-public/src/lists/RecordRow/index.d.ts +94 -0
  168. package/dist/ui-public/src/lists/RecordRow/index.js +122 -0
  169. package/dist/ui-public/src/lists/RecordRow/presentation.js +73 -0
  170. package/dist/ui-public/src/lists/RecordRow/types.d.ts +58 -0
  171. package/dist/ui-public/src/lists/RowList.d.ts +5 -5
  172. package/dist/ui-public/src/lists/SettingsList.d.ts +3 -3
  173. package/dist/ui-public/src/lists/SettingsList.js +2 -2
  174. package/dist/ui-public/src/lists/Table/Row.d.ts +5 -5
  175. package/dist/ui-public/src/lists/Table/Table.d.ts +3 -3
  176. package/dist/ui-public/src/lists/Table/TreeToggle.d.ts +2 -2
  177. package/dist/ui-public/src/lists/Table/TreeToggle.js +5 -4
  178. package/dist/ui-public/src/lists/Table/cells/LinkCell.d.ts +1 -1
  179. package/dist/ui-public/src/lists/TreeRow/Action.d.ts +1 -1
  180. package/dist/ui-public/src/lists/TreeRow/Action.js +1 -1
  181. package/dist/ui-public/src/lists/TreeRow/Link.d.ts +1 -1
  182. package/dist/ui-public/src/lists/TreeRow/Link.js +1 -1
  183. package/dist/ui-public/src/lists/UploadCard.d.ts +66 -3
  184. package/dist/ui-public/src/lists/UploadCard.js +116 -7
  185. package/dist/ui-public/src/lists/UserRow.d.ts +122 -0
  186. package/dist/ui-public/src/lists/UserRow.js +104 -0
  187. package/dist/ui-public/src/lists/dnd/DragHandle.d.ts +2 -2
  188. package/dist/ui-public/src/lists/dnd/SortableList.d.ts +1 -1
  189. package/dist/ui-public/src/lists/dnd/dropTargetClassName.d.ts +1 -1
  190. package/dist/ui-public/src/lists/dnd/tree/SortableTree.d.ts +2 -2
  191. package/dist/ui-public/src/navigation/Chevron.d.ts +4 -4
  192. package/dist/ui-public/src/navigation/Chevron.js +1 -1
  193. package/dist/ui-public/src/navigation/Link.d.ts +5 -5
  194. package/dist/ui-public/src/navigation/Link.js +1 -1
  195. package/dist/ui-public/src/navigation/NavList.d.ts +1 -1
  196. package/dist/ui-public/src/navigation/NavList.js +1 -1
  197. package/dist/ui-public/src/navigation/NavigationProvider.d.ts +1 -1
  198. package/dist/ui-public/src/navigation/SegmentedControl.d.ts +2 -2
  199. package/dist/ui-public/src/navigation/SettingsMenu.d.ts +8 -8
  200. package/dist/ui-public/src/navigation/SettingsMenu.js +1 -1
  201. package/dist/ui-public/src/navigation/SidebarTree/SidebarTreeNode.d.ts +4 -4
  202. package/dist/ui-public/src/overlays/FullscreenModal/TitleContext.d.ts +1 -1
  203. package/dist/ui-public/src/overlays/FullscreenModal/TitleContext.js +1 -1
  204. package/dist/ui-public/src/overlays/NewZIndex.d.ts +1 -1
  205. package/dist/ui-public/src/overlays/NewZIndex.js +1 -1
  206. package/dist/ui-public/src/overlays/Popover.d.ts +1 -1
  207. package/dist/ui-public/src/overlays/PortalWrapper.js +1 -1
  208. package/dist/ui-public/src/overlays/useModalClose.js +3 -3
  209. package/dist/ui-public/src/patterns/ListDetail/FloatingDetail.js +2 -2
  210. package/dist/ui-public/src/patterns/ListDetail/Page.d.ts +8 -9
  211. package/dist/ui-public/src/patterns/ListDetail/Page.js +4 -5
  212. package/dist/ui-public/src/patterns/ListDetail/Panel.d.ts +2 -2
  213. package/dist/ui-public/src/patterns/ListDetail/Panel.js +1 -1
  214. package/dist/ui-public/src/patterns/ListDetail/Split.d.ts +9 -10
  215. package/dist/ui-public/src/patterns/ListDetail/Split.js +5 -5
  216. package/dist/ui-public/src/patterns/ListFormPage.d.ts +3 -3
  217. package/dist/ui-public/src/patterns/ListFormPage.js +1 -1
  218. package/dist/ui-public/src/semantic/Heading.d.ts +1 -1
  219. package/dist/ui-public/src/semantic/Heading.js +1 -1
  220. package/dist/ui-public/src/semantic/Image.js +1 -1
  221. package/dist/ui-public/src/semantic/Nav.d.ts +3 -3
  222. package/dist/ui-public/src/semantic/Nav.js +3 -3
  223. package/dist/ui-public/src/semantic/RawButton.d.ts +3 -3
  224. package/dist/ui-public/src/semantic/RawButton.js +1 -1
  225. package/dist/ui-public/src/semantic/Search.d.ts +1 -1
  226. package/dist/ui-public/src/semantic/Search.js +1 -1
  227. package/dist/ui-public/src/utils/fieldTypes.d.ts +29 -0
  228. package/dist/ui-public/src/utils/fieldTypes.js +94 -0
  229. package/dist/ui-public/src/utils/format.d.ts +21 -0
  230. package/dist/ui-public/src/utils/format.js +20 -0
  231. package/dist/ui-public/src/utils/formatDate.d.ts +10 -2
  232. package/dist/ui-public/src/utils/formatDate.js +4 -4
  233. package/dist/ui-public/src/utils/tickBatcher.js +44 -0
  234. package/dist/ui-public/src/utils/timezones.js +277 -0
  235. package/dist/ui-public/src/utils/weekStartForLocale.js +25 -0
  236. package/dist/utils/fieldTypes.d.ts +1 -0
  237. package/dist/utils/fieldTypes.js +2 -0
  238. package/dist/utils/format.d.ts +1 -0
  239. package/dist/utils/format.js +2 -0
  240. package/package.json +2 -2
  241. package/dist/ui-public/icons/custom/fieldgroup-boolean.js +0 -18
  242. package/dist/ui-public/icons/custom/fieldgroup-color.js +0 -18
  243. package/dist/ui-public/icons/custom/fieldgroup-datetime.js +0 -49
  244. package/dist/ui-public/icons/custom/fieldgroup-json.js +0 -18
  245. package/dist/ui-public/icons/custom/fieldgroup-location.js +0 -19
  246. package/dist/ui-public/icons/custom/fieldgroup-media.js +0 -18
  247. package/dist/ui-public/icons/custom/fieldgroup-number.js +0 -18
  248. package/dist/ui-public/icons/custom/fieldgroup-reference.js +0 -18
  249. package/dist/ui-public/icons/custom/fieldgroup-rich_text.js +0 -18
  250. package/dist/ui-public/icons/custom/fieldgroup-seo.js +0 -22
  251. package/dist/ui-public/icons/custom/fieldgroup-structured_text.js +0 -61
  252. package/dist/ui-public/icons/lucide/receipt.js +0 -26
@@ -0,0 +1,104 @@
1
+ import { useTranslation } from "../i18n.js";
2
+ import EntityRow_default from "./EntityRow.js";
3
+ import Avatar from "../content/Avatar.js";
4
+ import "react";
5
+ import { jsx } from "react/jsx-runtime";
6
+ //#region ../ui-public/src/lists/UserRow.tsx
7
+ function fullName(...parts) {
8
+ return parts.filter(Boolean).join(" ");
9
+ }
10
+ /**
11
+ * The name and the email of a person, as DatoCMS shows them. The name falls
12
+ * back to the email. It is null only for an API token without a name: show
13
+ * the kind (`userKindLabel`) in its place.
14
+ */
15
+ function userPresentation(user) {
16
+ let name = null;
17
+ let email = null;
18
+ switch (user.type) {
19
+ case "account":
20
+ email = user.attributes.email;
21
+ name = fullName(user.attributes.first_name, user.attributes.last_name);
22
+ break;
23
+ case "organization":
24
+ name = user.attributes.name;
25
+ break;
26
+ case "user":
27
+ email = user.attributes.email;
28
+ name = user.attributes.full_name;
29
+ break;
30
+ case "site_invitation":
31
+ email = user.attributes.email;
32
+ break;
33
+ case "access_token":
34
+ name = user.attributes.name;
35
+ break;
36
+ case "sso_user":
37
+ email = user.attributes.username;
38
+ name = fullName(user.attributes.first_name, user.attributes.last_name);
39
+ }
40
+ return {
41
+ name: name || email || null,
42
+ email
43
+ };
44
+ }
45
+ var kindLabels = {
46
+ account: "userType.account",
47
+ organization: "userType.organization",
48
+ user: "userType.user",
49
+ access_token: "userType.apiToken",
50
+ sso_user: "userType.ssoUser",
51
+ site_invitation: "userType.siteInvitation"
52
+ };
53
+ /** The name of the kind of a person, for example "SSO user" */
54
+ function userKindLabel(type) {
55
+ return { id: kindLabels[type] };
56
+ }
57
+ var avatarSizes = {
58
+ inline: "small",
59
+ row: "xlarge"
60
+ };
61
+ /**
62
+ * A person in a row: the avatar, the name, the email and the kind. It
63
+ * shows only the content: the container gives the surface, the hover and
64
+ * the click.
65
+ */
66
+ function UserRow(props) {
67
+ const { tm } = useTranslation();
68
+ const { layout } = props;
69
+ let name;
70
+ let email;
71
+ let imageUrl;
72
+ let kind;
73
+ if (props.user) {
74
+ ({name, email} = userPresentation(props.user));
75
+ const kindLabel = userKindLabel(props.user.type);
76
+ name = name || tm(kindLabel);
77
+ kind = props.showKind ? kindLabel : void 0;
78
+ } else {
79
+ ({name, email, imageUrl} = props.presentation);
80
+ kind = props.kind;
81
+ }
82
+ const title = name || email || "";
83
+ const image = /* @__PURE__ */ jsx(Avatar, {
84
+ name,
85
+ email,
86
+ size: avatarSizes[layout],
87
+ ...imageUrl ? { imageUrl } : { gravatar: true }
88
+ });
89
+ if (layout === "inline") return /* @__PURE__ */ jsx(EntityRow_default, {
90
+ layout: "inline",
91
+ image,
92
+ title,
93
+ aside: kind
94
+ });
95
+ return /* @__PURE__ */ jsx(EntityRow_default, {
96
+ layout: "row",
97
+ image,
98
+ title,
99
+ aside: kind,
100
+ children: props.children ?? (email && email !== title ? email : void 0)
101
+ });
102
+ }
103
+ //#endregion
104
+ export { UserRow as default, userKindLabel, userPresentation };
@@ -1,13 +1,13 @@
1
1
  import React from 'react';
2
2
  export type DragHandleProps = {
3
3
  /**
4
- * Puts the handle in the gutter at the left of the item, out of its
4
+ * Puts the handle in the gutter on the left of the item, out of its
5
5
  * content. "wide" is a wider gutter, for a table row. The item must have a
6
6
  * CSS `position`. Without it, the handle stays in the flow, and its place
7
7
  * comes from `className`.
8
8
  */
9
9
  gutter?: 'normal' | 'wide';
10
- /** A class for the place of the handle in its block */
10
+ /** A class for the position of the handle in its block */
11
11
  className?: string;
12
12
  };
13
13
  /**
@@ -40,7 +40,7 @@ export type SortableListProps = {
40
40
  */
41
41
  onDrop: (result: SortableDropResult) => void;
42
42
  /**
43
- * Tells if an item can go in a container. By default, all the items can
43
+ * Says if an item can go in a container. By default, all the items can
44
44
  * go in all the containers. For example, a fieldset cannot go in another
45
45
  * fieldset.
46
46
  */
@@ -9,7 +9,7 @@ export type DropTargetClassNameArgs = {
9
9
  ringOnly?: boolean;
10
10
  /**
11
11
  * A drag is in progress, and the target does not take the dragged
12
- * element. The target fades, thus the user sees where the element cannot
12
+ * element. The target fades, so the user sees where the element cannot
13
13
  * go before the pointer gets there. Read the drag with `useActiveDrag`.
14
14
  * @default false
15
15
  */
@@ -52,12 +52,12 @@ export type SortableTreeProps<D = any> = {
52
52
  */
53
53
  isNestingEnabled?: boolean;
54
54
  /**
55
- * Tells if the dragged item can go in this item, for example only in a
55
+ * Says if the dragged item can go in this item, for example only in a
56
56
  * folder. It has an effect only with `isNestingEnabled`. By default, all
57
57
  * the items take children.
58
58
  */
59
59
  canNest?: (item: TreeItem<D>) => boolean;
60
- /** Tells if the user can drag this item. By default, all the items move. */
60
+ /** Says if the user can drag this item. By default, all the items move. */
61
61
  canDrag?: (item: TreeItem<D>) => boolean;
62
62
  /**
63
63
  * How the rows show their indent
@@ -2,7 +2,7 @@ import React from 'react';
2
2
  export type DisclosureChevronProps = {
3
3
  /** True when the content is open. The chevron turns down. */
4
4
  open: boolean;
5
- /** A class for the place of the chevron (margin, alignment) */
5
+ /** A class for the position of the chevron (margin, alignment) */
6
6
  className?: string;
7
7
  };
8
8
  /**
@@ -16,7 +16,7 @@ export declare const DisclosureChevron: React.NamedExoticComponent<DisclosureChe
16
16
  */
17
17
  export declare const DisclosureChevronPlaceholder: React.NamedExoticComponent<object>;
18
18
  export type MenuChevronProps = {
19
- /** A class for the place of the chevron (margin, alignment) */
19
+ /** A class for the position of the chevron (margin, alignment) */
20
20
  className?: string;
21
21
  };
22
22
  /**
@@ -27,7 +27,7 @@ export type MenuChevronProps = {
27
27
  export declare const MenuChevron: React.NamedExoticComponent<MenuChevronProps>;
28
28
  export type LoadMoreChevronProps = {
29
29
  /**
30
- * True while the items load. A spinner shows in place of the chevron, with
30
+ * True while the items load. A spinner shows instead of the chevron, with
31
31
  * the same size.
32
32
  * @default false
33
33
  */
@@ -35,6 +35,6 @@ export type LoadMoreChevronProps = {
35
35
  };
36
36
  /**
37
37
  * For a control that loads more items of a list. Put it before the label,
38
- * in the place that the DisclosureChevron has in the other rows.
38
+ * where the DisclosureChevron is in the other rows.
39
39
  */
40
40
  export declare const LoadMoreChevron: React.NamedExoticComponent<LoadMoreChevronProps>;
@@ -37,7 +37,7 @@ var MenuChevron = React.memo(function MenuChevron({ className }) {
37
37
  });
38
38
  /**
39
39
  * For a control that loads more items of a list. Put it before the label,
40
- * in the place that the DisclosureChevron has in the other rows.
40
+ * where the DisclosureChevron is in the other rows.
41
41
  */
42
42
  var LoadMoreChevron = React.memo(function LoadMoreChevron({ loading }) {
43
43
  if (loading) return /* @__PURE__ */ jsx("span", {
@@ -1,7 +1,7 @@
1
1
  import React from 'react';
2
2
  export type LinkProps = Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'href'> & {
3
3
  /**
4
- * The page of the app that the link opens: the path with its query, for
4
+ * The page of DatoCMS that the link opens: the path with its query, for
5
5
  * example "/editor?tab=fields"
6
6
  */
7
7
  to: string;
@@ -18,21 +18,21 @@ export type LinkProps = Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, 'hre
18
18
  */
19
19
  active?: boolean;
20
20
  /**
21
- * The link replaces the current entry of the history, thus the Back
21
+ * The link replaces the current entry of the history, so the Back
22
22
  * button of the browser does not come back to the current page
23
23
  * @default false
24
24
  */
25
25
  replace?: boolean;
26
26
  };
27
27
  /**
28
- * A link to a page of the app, through the router of the host (see
28
+ * A link to a page of DatoCMS, through the router of the host (see
29
29
  * NavigationProvider). When its page is open, it gets `aria-current="page"`:
30
30
  * give the active look with that attribute. For a link to another site, use
31
31
  * a normal `a`.
32
32
  */
33
33
  declare const Link: React.ForwardRefExoticComponent<Omit<React.AnchorHTMLAttributes<HTMLAnchorElement>, "href"> & {
34
34
  /**
35
- * The page of the app that the link opens: the path with its query, for
35
+ * The page of DatoCMS that the link opens: the path with its query, for
36
36
  * example "/editor?tab=fields"
37
37
  */
38
38
  to: string;
@@ -49,7 +49,7 @@ declare const Link: React.ForwardRefExoticComponent<Omit<React.AnchorHTMLAttribu
49
49
  */
50
50
  active?: boolean;
51
51
  /**
52
- * The link replaces the current entry of the history, thus the Back
52
+ * The link replaces the current entry of the history, so the Back
53
53
  * button of the browser does not come back to the current page
54
54
  * @default false
55
55
  */
@@ -6,7 +6,7 @@ function isModifiedEvent(event) {
6
6
  return event.metaKey || event.altKey || event.ctrlKey || event.shiftKey;
7
7
  }
8
8
  /**
9
- * A link to a page of the app, through the router of the host (see
9
+ * A link to a page of DatoCMS, through the router of the host (see
10
10
  * NavigationProvider). When its page is open, it gets `aria-current="page"`:
11
11
  * give the active look with that attribute. For a link to another site, use
12
12
  * a normal `a`.
@@ -14,7 +14,7 @@ export type NavListProps = {
14
14
  children: ReactNode;
15
15
  };
16
16
  /**
17
- * A list of rows in a sidebar. Each row opens a page of the app, and the row
17
+ * A list of rows in a sidebar. Each row opens a page of DatoCMS, and the row
18
18
  * of the open page is selected. It is a RowList in a navigation landmark.
19
19
  */
20
20
  declare function BaseNavList({ ariaLabel, children }: NavListProps): React.JSX.Element;
@@ -5,7 +5,7 @@ import { useEffect, useRef } from "react";
5
5
  import { jsx } from "react/jsx-runtime";
6
6
  //#region ../ui-public/src/navigation/NavList.tsx
7
7
  /**
8
- * A list of rows in a sidebar. Each row opens a page of the app, and the row
8
+ * A list of rows in a sidebar. Each row opens a page of DatoCMS, and the row
9
9
  * of the open page is selected. It is a RowList in a navigation landmark.
10
10
  */
11
11
  function BaseNavList({ ariaLabel, children }) {
@@ -33,7 +33,7 @@ export type NavigationAdapter = {
33
33
  /**
34
34
  * Gives the `href` attribute of a link to `to`. Without it, the `href` is
35
35
  * `to`. A host that is not on the origin of the page (a plugin in a frame)
36
- * gives the absolute URL, thus a new tab opens the correct page.
36
+ * gives the absolute URL, so a new tab opens the correct page.
37
37
  */
38
38
  href?: (to: string) => string;
39
39
  };
@@ -49,7 +49,7 @@ export type SegmentedControlProps<T extends string> = SegmentedControlName & Seg
49
49
  onChange: (value: T) => void;
50
50
  /**
51
51
  * The height of the options, with the padding of the Button sizes. The
52
- * size of the place by default: "milli" in a toolbar, "field" in a
52
+ * size of its container by default: "milli" in a toolbar, "field" in a
53
53
  * toolbar of fields, "small" out of a toolbar (see useButtonSize).
54
54
  */
55
55
  size?: ButtonSize;
@@ -57,7 +57,7 @@ export type SegmentedControlProps<T extends string> = SegmentedControlName & Seg
57
57
  fill?: boolean;
58
58
  /** Turns off all the options */
59
59
  disabled?: boolean;
60
- /** Only for the place of the control (margin), not for its look */
60
+ /** Only for the position of the control (margin), not for its look */
61
61
  className?: string;
62
62
  };
63
63
  /**
@@ -24,9 +24,9 @@ export type SettingsMenuGroupProps = {
24
24
  };
25
25
  /** A group of items, with an optional title */
26
26
  declare function Group({ name, children }: SettingsMenuGroupProps): React.JSX.Element;
27
- /** The item goes to a page of the app */
27
+ /** The item goes to a page of DatoCMS */
28
28
  export type SettingsMenuPageItem = {
29
- /** The page of the app, for example "/project-settings/site" */
29
+ /** The page of DatoCMS, for example "/project-settings/site" */
30
30
  to: string;
31
31
  /** The item is active only when the URL is exactly `to` */
32
32
  exact?: boolean;
@@ -39,7 +39,7 @@ export type SettingsMenuPageItem = {
39
39
  onClick?: never;
40
40
  newTab?: never;
41
41
  };
42
- /** The item goes to a page out of the app */
42
+ /** The item goes to another site */
43
43
  export type SettingsMenuLinkItem = {
44
44
  /** The address of the page, for example "https://www.datocms.com" */
45
45
  href: string;
@@ -61,7 +61,7 @@ export type SettingsMenuActionItem = {
61
61
  active?: never;
62
62
  href?: never;
63
63
  };
64
- /** Where the item goes: a page of the app, a page out of the app, or an action */
64
+ /** Where the item goes: a page of DatoCMS, another site, or an action */
65
65
  export type SettingsMenuItemDestination = SettingsMenuPageItem | SettingsMenuLinkItem | SettingsMenuActionItem;
66
66
  export type SettingsMenuItemProps = SettingsMenuItemDestination & {
67
67
  /** An icon before the label */
@@ -73,14 +73,14 @@ export type SettingsMenuItemProps = SettingsMenuItemDestination & {
73
73
  };
74
74
  /** A section of the settings area */
75
75
  declare function Item(props: SettingsMenuItemProps): React.JSX.Element;
76
- /** The notice opens a page of the app */
76
+ /** The notice opens a page of DatoCMS */
77
77
  export type SettingsMenuNoticePageLink = {
78
- /** The page of the app, for example "/project-settings" */
78
+ /** The page of DatoCMS, for example "/project-settings" */
79
79
  to: string;
80
80
  href?: never;
81
81
  newTab?: never;
82
82
  };
83
- /** The notice opens a page out of the app */
83
+ /** The notice opens another site */
84
84
  export type SettingsMenuNoticeExternalLink = {
85
85
  /** The address of the page, for example "https://www.datocms.com" */
86
86
  href: string;
@@ -95,7 +95,7 @@ export type SettingsMenuNoticeProps = (SettingsMenuNoticePageLink | SettingsMenu
95
95
  children: ReactNode;
96
96
  };
97
97
  /**
98
- * A link for the footer of the menu. All the box is the link, thus do not
98
+ * A link for the footer of the menu. All the box is the link, so do not
99
99
  * put other links in the text.
100
100
  */
101
101
  declare function Notice(props: SettingsMenuNoticeProps): React.JSX.Element;
@@ -63,7 +63,7 @@ function Item(props) {
63
63
  });
64
64
  }
65
65
  /**
66
- * A link for the footer of the menu. All the box is the link, thus do not
66
+ * A link for the footer of the menu. All the box is the link, so do not
67
67
  * put other links in the text.
68
68
  */
69
69
  function Notice(props) {
@@ -26,7 +26,7 @@ type ClickAction = {
26
26
  href?: never;
27
27
  newTab?: never;
28
28
  };
29
- /** A link to a page of the app */
29
+ /** A link to a page of DatoCMS */
30
30
  type LinkAction = {
31
31
  /** The page of the node: the path with its query */
32
32
  to: string;
@@ -41,7 +41,7 @@ type LinkAction = {
41
41
  onClick?: () => void;
42
42
  href?: never;
43
43
  };
44
- /** A link to a page out of the app */
44
+ /** A link to another site */
45
45
  type ExternalLinkAction = {
46
46
  href: string;
47
47
  /** Opens the page in a new tab */
@@ -70,7 +70,7 @@ type InTree = {
70
70
  type OutOfTree = {
71
71
  /**
72
72
  * The node is next to a tree, but not in it. It keeps the space of the
73
- * toggle, thus its icon aligns with the icons of the tree.
73
+ * toggle, so its icon aligns with the icons of the tree.
74
74
  * @default false
75
75
  */
76
76
  alignWithTree?: boolean;
@@ -106,7 +106,7 @@ export type SidebarTreeNodeProps = SidebarTreeNodeAction & SidebarTreeNodePlacem
106
106
  * scrolls the node into view
107
107
  */
108
108
  highlighted?: boolean;
109
- /** Only for the place of the node, not for its look */
109
+ /** Only for the position of the node, not for its look */
110
110
  className?: string;
111
111
  };
112
112
  declare function SidebarTreeNode({ label, afterTitle, details, trailing, icon, to, exact, href, newTab, onClick, onDoubleClick, active: isActiveProp, actions, tree, highlighted, alignWithTree, className, }: SidebarTreeNodeProps): React.JSX.Element;
@@ -4,7 +4,7 @@ export declare const FullscreenModalTitleContext: React.Context<Message | null>;
4
4
  /**
5
5
  * Gives the title of the FullscreenModal around the component, already
6
6
  * rendered, or null out of a FullscreenModal. A content that is also a page
7
- * (a record form, a list) shows it in its toolbar in place of the title of
7
+ * (a record form, a list) shows it in its toolbar instead of the title of
8
8
  * the page.
9
9
  */
10
10
  export declare function useFullscreenModalTitle(): React.ReactElement | null;
@@ -6,7 +6,7 @@ var FullscreenModalTitleContext = React.createContext(null);
6
6
  /**
7
7
  * Gives the title of the FullscreenModal around the component, already
8
8
  * rendered, or null out of a FullscreenModal. A content that is also a page
9
- * (a record form, a list) shows it in its toolbar in place of the title of
9
+ * (a record form, a list) shows it in its toolbar instead of the title of
10
10
  * the page.
11
11
  */
12
12
  function useFullscreenModalTitle() {
@@ -8,7 +8,7 @@ export type NewZIndexProps = {
8
8
  };
9
9
  /**
10
10
  * Gives its content a z-index 10 higher than the one of the parent layer.
11
- * Every floating layer (dialog, menu, tooltip) wraps its box in it, thus a
11
+ * Every floating layer (dialog, menu, tooltip) wraps its box in it, so a
12
12
  * layer always shows over its parent.
13
13
  */
14
14
  export default function NewZIndex({ children, forcedValue }: NewZIndexProps): React.JSX.Element;
@@ -4,7 +4,7 @@ import { jsx } from "react/jsx-runtime";
4
4
  var ZIndexContext = React.createContext(10050);
5
5
  /**
6
6
  * Gives its content a z-index 10 higher than the one of the parent layer.
7
- * Every floating layer (dialog, menu, tooltip) wraps its box in it, thus a
7
+ * Every floating layer (dialog, menu, tooltip) wraps its box in it, so a
8
8
  * layer always shows over its parent.
9
9
  */
10
10
  function NewZIndex({ children, forcedValue }) {
@@ -20,7 +20,7 @@ export type PopoverProps = {
20
20
  /**
21
21
  * Runs when the user presses Escape or clicks out of the popover. A click
22
22
  * on the anchor does not run it, because the anchor opens and closes the
23
- * popover. Without it, the popover stays open until the caller removes it.
23
+ * popover. Without it, the popover stays open until you remove it.
24
24
  */
25
25
  onClose?: () => void;
26
26
  /**
@@ -5,7 +5,7 @@ var PortalWrapperContext = createContext(null);
5
5
  /**
6
6
  * Gives a wrapper to the content of each Portal below it. A portal renders
7
7
  * at the end of the body, out of the elements of the host. The `Canvas` of
8
- * react-ui writes the color tokens on its element, thus its wrapper writes
8
+ * react-ui writes the color tokens on its element, so its wrapper writes
9
9
  * them again around the content of a portal. The apps give no wrapper.
10
10
  */
11
11
  function PortalWrapperProvider({ value, children }) {
@@ -11,9 +11,9 @@ var ModalCloseContext = React.createContext({
11
11
  var openDialogLayers = [];
12
12
  /**
13
13
  * Gives a dialog its z-index. A dialog shows over its parent layer and over
14
- * all the dialogs that are open, also when it is not inside them in the
14
+ * all the dialogs that are open, even when it is not inside them in the
15
15
  * React tree (for example a dialog that opens from the root of the app).
16
- * Thus the last dialog that opens is on top. Its `ActionLayer` gets the
16
+ * So the last dialog that opens is on top. Its `ActionLayer` gets the
17
17
  * keys in the same order.
18
18
  */
19
19
  function useDialogLayer() {
@@ -42,7 +42,7 @@ function closeAction(close) {
42
42
  * element that matches `initialFocus`, or to the dialog. When the dialog
43
43
  * closes, the focus goes back to the element that opened it, or to its
44
44
  * nearest ancestor when the element left the page. It also gives
45
- * the language of that element: the dialog is in a Portal, thus it does not
45
+ * the language of that element: the dialog is in a Portal, so it does not
46
46
  * get the `lang` of the page around the trigger.
47
47
  */
48
48
  function useDialogFocus(initialFocus) {
@@ -17,7 +17,7 @@ var INTERACTIVE_SELECTOR = "a, button, input, select, textarea, label, [tabindex
17
17
  /**
18
18
  * Closes the detail on a click in the list area that is not on an
19
19
  * interactive element. A click in a portal (a menu, a dialog) is out of the
20
- * area, thus it does not close the detail.
20
+ * area, so it does not close the detail.
21
21
  */
22
22
  function useCloseOnEmptyClick(area, detail, onClose) {
23
23
  useEffect(() => {
@@ -40,7 +40,7 @@ function useCloseOnEmptyClick(area, detail, onClose) {
40
40
  }
41
41
  /**
42
42
  * The detail over the list, at its right. The list keeps all the width and
43
- * stays usable: a click on another row changes the detail. Thus there is
43
+ * stays usable: a click on another row changes the detail. So there is
44
44
  * no backdrop and no focus trap. A click on an empty part of the list closes
45
45
  * the detail.
46
46
  */
@@ -13,15 +13,14 @@ import { type ListDetailSplitDetail } from './Split.js';
13
13
  export type ListDetailPageState = 'loading' | 'empty' | 'no-results' | 'ready';
14
14
  /**
15
15
  * The state of a list that the server filters and paginates. `isEmpty` is
16
- * undefined until the first load ends (for example, see useSettledEmpty of
17
- * the cms).
16
+ * undefined until the first load ends.
18
17
  */
19
18
  export declare function getPaginatedListState(isEmpty: boolean | undefined, isFiltering: boolean): ListDetailPageState;
20
19
  export type ListDetailPageProps = {
21
- /** The rows open a detail at the right (see ListDetail.Split) */
20
+ /** The rows open a detail on the right (see ListDetail.Split) */
22
21
  detail?: ListDetailSplitDetail;
23
22
  /**
24
- * The Pane uses the title as the label of the filter form, thus it is a
23
+ * The Pane uses the title as the label of the filter form, so it is a
25
24
  * TextMessage
26
25
  */
27
26
  title: TextMessage;
@@ -41,8 +40,8 @@ export type ListDetailPageProps = {
41
40
  /** The list loads in the background. The title bar shows a small spinner. */
42
41
  busy?: boolean;
43
42
  /**
44
- * The filter of the list: the result of useFilterToolbar (ui-public/Toolbar) and
45
- * the filter form. The form shows in a toolbar under the title bar while
43
+ * The filter of the list: the result of useFilterToolbar (see Toolbar) and the
44
+ * filter form. The form shows in a toolbar under the title bar while
46
45
  * the filter toolbar is open. A list without a filter does not set it.
47
46
  */
48
47
  filter?: {
@@ -88,9 +87,9 @@ type ListDetailPageContent =
88
87
  };
89
88
  /**
90
89
  * The page of a list with a panel for the open row: a title bar with the
91
- * filter toggle, the filter form, the list and the panel at the right. The
90
+ * filter toggle, the filter form, the list and the panel on the right. The
92
91
  * page gives the data, the filter form, the table and the panel. Put it in
93
- * the Main of the app.
92
+ * your Main.
94
93
  */
95
94
  declare function ListDetailPage({ detail, title, help, subtitle, menu, display, busy, filter, controls, button, footer, state, overview, children, }: ListDetailPageProps): React.JSX.Element;
96
95
  declare const _default: React.MemoExoticComponent<typeof ListDetailPage>;
@@ -98,7 +97,7 @@ export default _default;
98
97
  /**
99
98
  * The open row of a ListDetail.Page is in the URL: "<baseUrl>/<id>". The id
100
99
  * can have more segments (for example, "invitations/12"). The open and the
101
- * close keep the query of the URL, thus the list keeps its filter and its
100
+ * close keep the query of the URL, so the list keeps its filter and its
102
101
  * page. When a row is open, the open of another row (for example with the
103
102
  * arrows) replaces the step in the history: the history does not keep each
104
103
  * row. Give `idPattern` (the source of a regular expression for the segment
@@ -14,8 +14,7 @@ import { Fragment as Fragment$1, jsx, jsxs } from "react/jsx-runtime";
14
14
  //#region ../ui-public/src/patterns/ListDetail/Page.tsx
15
15
  /**
16
16
  * The state of a list that the server filters and paginates. `isEmpty` is
17
- * undefined until the first load ends (for example, see useSettledEmpty of
18
- * the cms).
17
+ * undefined until the first load ends.
19
18
  */
20
19
  function getPaginatedListState(isEmpty, isFiltering) {
21
20
  if (isEmpty === void 0) return "loading";
@@ -24,9 +23,9 @@ function getPaginatedListState(isEmpty, isFiltering) {
24
23
  }
25
24
  /**
26
25
  * The page of a list with a panel for the open row: a title bar with the
27
- * filter toggle, the filter form, the list and the panel at the right. The
26
+ * filter toggle, the filter form, the list and the panel on the right. The
28
27
  * page gives the data, the filter form, the table and the panel. Put it in
29
- * the Main of the app.
28
+ * your Main.
30
29
  */
31
30
  function ListDetailPage({ detail, title, help, subtitle, menu, display, busy, filter, controls, button, footer, state, overview, children }) {
32
31
  const { t, tm, tc } = useTranslation();
@@ -88,7 +87,7 @@ function matchOpenRowId(pathname, baseUrl, idPattern) {
88
87
  /**
89
88
  * The open row of a ListDetail.Page is in the URL: "<baseUrl>/<id>". The id
90
89
  * can have more segments (for example, "invitations/12"). The open and the
91
- * close keep the query of the URL, thus the list keeps its filter and its
90
+ * close keep the query of the URL, so the list keeps its filter and its
92
91
  * page. When a row is open, the open of another row (for example with the
93
92
  * arrows) replaces the step in the history: the history does not keep each
94
93
  * row. Give `idPattern` (the source of a regular expression for the segment
@@ -37,7 +37,7 @@ type ListDetailPanelState =
37
37
  toolbarAction?: React.ReactNode;
38
38
  /**
39
39
  * The element that the panel shows: its name and a line under it (for
40
- * example the email of a member), with an optional image at the left
40
+ * example the email of a member), with an optional image on the left
41
41
  * (for example an avatar). Without it, the page writes its own
42
42
  * `ListDetailPanel__entity` block in the children.
43
43
  */
@@ -56,7 +56,7 @@ export type ListDetailPanelProps = {
56
56
  */
57
57
  title: TextMessage;
58
58
  } & ListDetailPanelState;
59
- /** The panel at the right of a ListDetail.Page that shows the open row */
59
+ /** The panel on the right of a ListDetail.Page that shows the open row */
60
60
  declare function ListDetailPanel({ title, state, fetching, actions, toolbarAction, entity, children, }: ListDetailPanelProps): React.JSX.Element;
61
61
  declare const _default: React.MemoExoticComponent<typeof ListDetailPanel>;
62
62
  export default _default;
@@ -9,7 +9,7 @@ import Aside from "../../semantic/Aside.js";
9
9
  import React from "react";
10
10
  import { jsx, jsxs } from "react/jsx-runtime";
11
11
  //#region ../ui-public/src/patterns/ListDetail/Panel.tsx
12
- /** The panel at the right of a ListDetail.Page that shows the open row */
12
+ /** The panel on the right of a ListDetail.Page that shows the open row */
13
13
  function ListDetailPanel({ title, state = "ready", fetching, actions, toolbarAction, entity, children }) {
14
14
  const { t, tm, tc } = useTranslation();
15
15
  const closeOverlay = useListDetailOverlayClose();