alinea 2.0.0-preview.11 → 2.0.0-preview.13

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 (268) hide show
  1. package/dist/.init/content/pages/welcome.json +1 -1
  2. package/dist/.mcp/later/dev.json +1 -1
  3. package/dist/.mcp/online/dev.json +1 -1
  4. package/dist/adapter/next/cms.js +16 -8
  5. package/dist/adapter/next/dashboardUrl.d.ts +6 -0
  6. package/dist/adapter/next/dashboardUrl.js +13 -0
  7. package/dist/adapter/next/syncCheck.d.ts +15 -2
  8. package/dist/adapter/next/syncCheck.js +26 -9
  9. package/dist/backend/Handler.js +5 -1
  10. package/dist/backend/api/BlobStore.d.ts +21 -0
  11. package/dist/backend/api/BlobStore.js +63 -0
  12. package/dist/backend/api/CreateBackend.js +10 -8
  13. package/dist/backend/api/DatabaseApi.d.ts +4 -1
  14. package/dist/backend/api/DatabaseApi.js +88 -4
  15. package/dist/backend/api/GithubApi.js +47 -24
  16. package/dist/backend/api/database.js +6 -6
  17. package/dist/bundled.d.ts +687 -248
  18. package/dist/chunks/{bun-sqlite-5SHXN3AT.js → bun-sqlite-RI6BYU5S.js} +3 -3
  19. package/dist/chunks/{chunk-YCQR5GRT.js → chunk-3QFSGTGF.js} +2 -3
  20. package/dist/chunks/{chunk-QJGGYF6E.js → chunk-4ZA6KZHS.js} +5 -5
  21. package/dist/chunks/{chunk-ASYKC6IE.js → chunk-5H4D5JQL.js} +1 -1
  22. package/dist/chunks/{chunk-ETWOY4AL.js → chunk-A2I6MCCS.js} +1 -1
  23. package/dist/chunks/{chunk-W5AXN7GH.js → chunk-CYVOGRSD.js} +1 -2
  24. package/dist/chunks/{chunk-TIJTT5ZI.js → chunk-G43W7AME.js} +1 -0
  25. package/dist/chunks/{chunk-RE523BQ7.js → chunk-HOETF6HN.js} +5829 -5830
  26. package/dist/chunks/{chunk-AIU6CMVT.js → chunk-PTYZMV5G.js} +1 -1
  27. package/dist/chunks/{chunk-JOF663EG.js → chunk-QHHMKJUO.js} +1 -1
  28. package/dist/chunks/{chunk-66YZ47TY.js → chunk-RAR44T5O.js} +1 -1
  29. package/dist/chunks/{chunk-QSN6RH6X.js → chunk-VA6NC3MI.js} +1 -1
  30. package/dist/chunks/{node-sqlite-XVNTNMCY.js → node-sqlite-C7VJ2NSN.js} +3 -3
  31. package/dist/cli/Mcp.js +1 -1
  32. package/dist/cli/Serve.js +1 -1
  33. package/dist/cli/bin.js +2 -3
  34. package/dist/cli/generate/GenerateDashboard.js +17 -5
  35. package/dist/cli/serve/mcp/DevMcp.js +1 -1
  36. package/dist/cli/serve/mcp/McpTools.js +29 -1
  37. package/dist/cli/static/dashboard/entry.js +2 -1
  38. package/dist/cloud/CloudRemote.js +1 -1
  39. package/dist/components/Alert.js +3 -3
  40. package/dist/components/AppShell.js +2 -2
  41. package/dist/components/Badge.d.ts +3 -1
  42. package/dist/components/Badge.js +5 -3
  43. package/dist/components/Breadcrumbs.js +6 -6
  44. package/dist/components/Button.d.ts +6 -1
  45. package/dist/components/Button.js +14 -5
  46. package/dist/components/Calendar.js +20 -20
  47. package/dist/components/Checkbox.js +9 -9
  48. package/dist/components/CheckboxGroup.js +4 -4
  49. package/dist/components/Collapsible.js +3 -3
  50. package/dist/components/ColorSwatch.js +2 -2
  51. package/dist/components/ColorSwatchPicker.js +2 -2
  52. package/dist/components/ComboBox.js +7 -7
  53. package/dist/components/Command.js +10 -9
  54. package/dist/components/ContentCard.d.ts +3 -1
  55. package/dist/components/ContentCard.js +39 -17
  56. package/dist/components/ContentGrid.js +15 -15
  57. package/dist/components/DataList.js +2 -2
  58. package/dist/components/DateField.js +2 -2
  59. package/dist/components/DatePicker.js +2 -2
  60. package/dist/components/DateRangePicker.js +2 -2
  61. package/dist/components/Dialog.js +6 -6
  62. package/dist/components/DropZone.js +4 -4
  63. package/dist/components/DropdownMenu.js +10 -10
  64. package/dist/components/Empty.js +4 -4
  65. package/dist/components/Field.js +8 -8
  66. package/dist/components/List.js +23 -23
  67. package/dist/components/MediaPreview.js +5 -5
  68. package/dist/components/MultipleSelect.js +20 -20
  69. package/dist/components/NavRail.js +4 -4
  70. package/dist/components/NumberField.js +5 -5
  71. package/dist/components/Page.js +5 -5
  72. package/dist/components/Popover.js +2 -2
  73. package/dist/components/PreviewFrame.js +5 -5
  74. package/dist/components/RadioGroup.js +6 -6
  75. package/dist/components/Resizable.js +5 -5
  76. package/dist/components/SearchField.d.ts +6 -1
  77. package/dist/components/SearchField.js +7 -5
  78. package/dist/components/Select.js +14 -14
  79. package/dist/components/Sheet.d.ts +50 -0
  80. package/dist/components/Sheet.js +202 -0
  81. package/dist/components/Sidebar.js +4 -4
  82. package/dist/components/SortableList.d.ts +34 -30
  83. package/dist/components/SortableList.js +162 -265
  84. package/dist/components/Spinner.js +1 -1
  85. package/dist/components/Surface.js +2 -2
  86. package/dist/components/Switch.js +7 -7
  87. package/dist/components/Table.d.ts +3 -1
  88. package/dist/components/Table.js +53 -42
  89. package/dist/components/Tabs.js +5 -5
  90. package/dist/components/TagGroup.js +9 -9
  91. package/dist/components/TextField.js +10 -10
  92. package/dist/components/TimeField.js +8 -8
  93. package/dist/components/Timestamp.js +1 -1
  94. package/dist/components/ToggleGroup.js +2 -2
  95. package/dist/components/Toolbar.js +4 -4
  96. package/dist/components/Tooltip.js +5 -5
  97. package/dist/components/Tree.js +29 -29
  98. package/dist/components/internal/DateControl.js +10 -10
  99. package/dist/components/internal/ListBoxOption.js +13 -13
  100. package/dist/components/internal/Locale.js +2 -2
  101. package/dist/components/internal/PopoverSurface.js +2 -2
  102. package/dist/components/internal/SelectionCheckbox.js +6 -6
  103. package/dist/components/internal/Slot.js +1 -1
  104. package/dist/components/internal/ToggleButton.js +3 -3
  105. package/dist/components/internal/Trigger.js +2 -2
  106. package/dist/components/internal/sortableDrag.d.ts +19 -0
  107. package/dist/components/internal/sortableDrag.js +175 -0
  108. package/dist/components/internal/useDragDrop.js +2 -2
  109. package/dist/components.d.ts +1 -0
  110. package/dist/components.js +1 -0
  111. package/dist/core/Config.d.ts +6 -1
  112. package/dist/core/Document.d.ts +9 -1
  113. package/dist/core/Document.js +31 -6
  114. package/dist/core/Overview.d.ts +2 -4
  115. package/dist/core/TextDoc.d.ts +4 -0
  116. package/dist/core/Validation.d.ts +0 -1
  117. package/dist/core/Validation.js +0 -6
  118. package/dist/core/field/RichTextField.js +23 -4
  119. package/dist/core/media/MediaTypes.js +1 -1
  120. package/dist/core/source/GithubSource.d.ts +4 -0
  121. package/dist/core/source/GithubSource.js +127 -25
  122. package/dist/core/source/GithubUsage.d.ts +21 -0
  123. package/dist/core/source/GithubUsage.js +47 -0
  124. package/dist/dashboard/App.d.ts +2 -2
  125. package/dist/dashboard/App.js +5 -3
  126. package/dist/dashboard/ViewKeys.d.ts +1 -0
  127. package/dist/dashboard/ViewKeys.js +1 -0
  128. package/dist/dashboard/app/ActivityStatus.js +11 -11
  129. package/dist/dashboard/app/AuthView.js +5 -5
  130. package/dist/dashboard/app/BlockSheet.d.ts +50 -0
  131. package/dist/dashboard/app/BlockSheet.js +207 -0
  132. package/dist/dashboard/app/BlockSheetStoryFrame.d.ts +6 -0
  133. package/dist/dashboard/app/BlockSheetStoryFrame.js +29 -0
  134. package/dist/dashboard/app/CompactField.js +15 -15
  135. package/dist/dashboard/app/CroppedImage.js +2 -2
  136. package/dist/dashboard/app/DashboardErrorBoundary.js +3 -3
  137. package/dist/dashboard/app/DashboardLayout.js +3 -1
  138. package/dist/dashboard/app/EntryHeader.js +32 -33
  139. package/dist/dashboard/app/EntryReferences.js +5 -5
  140. package/dist/dashboard/app/EntrySidebar.js +8 -8
  141. package/dist/dashboard/app/EntrySidebarPreview.js +4 -4
  142. package/dist/dashboard/app/EntryStatusIcon.d.ts +23 -0
  143. package/dist/dashboard/app/EntryStatusIcon.js +58 -0
  144. package/dist/dashboard/app/EntryValidationModal.d.ts +6 -5
  145. package/dist/dashboard/app/EntryValidationModal.js +18 -18
  146. package/dist/dashboard/app/Explorer.d.ts +3 -1
  147. package/dist/dashboard/app/Explorer.js +51 -47
  148. package/dist/dashboard/app/ExplorerBatchActions.d.ts +3 -1
  149. package/dist/dashboard/app/ExplorerBatchActions.js +68 -43
  150. package/dist/dashboard/app/ExplorerCards.js +7 -1
  151. package/dist/dashboard/app/ExplorerControls.js +6 -6
  152. package/dist/dashboard/app/ExplorerList.js +5 -5
  153. package/dist/dashboard/app/ExplorerModal.js +1 -1
  154. package/dist/dashboard/app/ExplorerTable.js +14 -11
  155. package/dist/dashboard/app/ImageEditor.js +25 -25
  156. package/dist/dashboard/app/ImagePicker.js +3 -13
  157. package/dist/dashboard/app/LinkPicker.js +29 -27
  158. package/dist/dashboard/app/LocaleMenu.js +7 -7
  159. package/dist/dashboard/app/MediaPreviewCell.js +2 -2
  160. package/dist/dashboard/app/MoveConfirmDialog.d.ts +5 -0
  161. package/dist/dashboard/app/MoveConfirmDialog.js +79 -0
  162. package/dist/dashboard/app/OverviewCell.js +8 -13
  163. package/dist/dashboard/app/ReadOnlyBadge.d.ts +1 -1
  164. package/dist/dashboard/app/RemoveDialog.d.ts +17 -0
  165. package/dist/dashboard/app/{DeleteDialog.js → RemoveDialog.js} +67 -27
  166. package/dist/dashboard/app/RemoveRedirect.d.ts +7 -0
  167. package/dist/dashboard/app/RemoveRedirect.js +123 -0
  168. package/dist/dashboard/app/SearchBar.d.ts +9 -0
  169. package/dist/dashboard/app/SearchBar.js +31 -0
  170. package/dist/dashboard/app/SidebarTree.js +29 -74
  171. package/dist/dashboard/app/WorkspaceMenu.js +8 -8
  172. package/dist/dashboard/app/WorkspaceRoots.js +11 -11
  173. package/dist/dashboard/app/editor/FileEditor.js +16 -16
  174. package/dist/dashboard/app/modals/CreateEntry.js +5 -5
  175. package/dist/dashboard/app/pages/EntryPage.d.ts +2 -1
  176. package/dist/dashboard/app/pages/EntryPage.js +35 -16
  177. package/dist/dashboard/app/pages/SplashPage.js +35 -35
  178. package/dist/dashboard/app/pages/UsersPage.js +14 -14
  179. package/dist/dashboard/app/ui/DashboardModal.js +17 -16
  180. package/dist/dashboard/atoms/dashboard.js +1 -1
  181. package/dist/dashboard/atoms/entry.js +1 -14
  182. package/dist/dashboard/atoms/entryTable.js +1 -0
  183. package/dist/dashboard/atoms/explorer.d.ts +4 -0
  184. package/dist/dashboard/atoms/explorer.js +19 -7
  185. package/dist/dashboard/atoms/graph.js +1 -1
  186. package/dist/dashboard/atoms/link.js +5 -2
  187. package/dist/dashboard/atoms/move.d.ts +5 -0
  188. package/dist/dashboard/atoms/move.js +29 -3
  189. package/dist/dashboard/atoms/moveConfirmation.d.ts +34 -0
  190. package/dist/dashboard/atoms/moveConfirmation.js +95 -0
  191. package/dist/dashboard/atoms/nav.d.ts +9 -5
  192. package/dist/dashboard/atoms/nav.js +120 -45
  193. package/dist/dashboard/atoms/overview.d.ts +6 -5
  194. package/dist/dashboard/atoms/overview.js +2 -16
  195. package/dist/dashboard/atoms/remove.d.ts +112 -0
  196. package/dist/dashboard/atoms/remove.js +268 -0
  197. package/dist/dashboard/atoms/root.d.ts +2 -2
  198. package/dist/dashboard/atoms/root.js +41 -26
  199. package/dist/dashboard/atoms/user.js +1 -1
  200. package/dist/dashboard/atoms/utils.js +1 -1
  201. package/dist/dashboard/boot/Boot.js +25 -17
  202. package/dist/dashboard/boot/BootProd.d.ts +6 -1
  203. package/dist/dashboard/boot/BootProd.js +2 -2
  204. package/dist/dashboard/boot/DashboardWorker.d.ts +1 -0
  205. package/dist/dashboard/boot/DashboardWorker.js +18 -18
  206. package/dist/dashboard/boot/LoadWorker.js +17 -10
  207. package/dist/dashboard/cms/EntryTable.js +6 -3
  208. package/dist/database/BrowserEntryStore.d.ts +17 -29
  209. package/dist/database/BrowserEntryStore.js +116 -144
  210. package/dist/database/DatabaseTables.js +2 -2
  211. package/dist/database/EntryDatabase.js +21 -1
  212. package/dist/database/EntryTransaction.js +0 -35
  213. package/dist/database/EntryUrlAliases.d.ts +4 -0
  214. package/dist/database/EntryUrlAliases.js +16 -10
  215. package/dist/database/driver/RuntimeDatabase.js +3 -3
  216. package/dist/database/driver/WasmDatabase.d.ts +5 -18
  217. package/dist/database/driver/WasmDatabase.js +15 -16
  218. package/dist/database/entry/EntryTable.js +2 -2
  219. package/dist/database/query/EntryQuery.js +1 -1
  220. package/dist/database/query/Relation.js +1 -1
  221. package/dist/database/query/Search.js +2 -2
  222. package/dist/field/check/CheckField.view.js +2 -2
  223. package/dist/field/code/CodeField.view.js +14 -14
  224. package/dist/field/link/EntryLink.d.ts +4 -4
  225. package/dist/field/link/FileLink.d.ts +4 -4
  226. package/dist/field/link/ImageLink.d.ts +4 -4
  227. package/dist/field/link/Link.d.ts +1 -1
  228. package/dist/field/link/LinkField.d.ts +5 -0
  229. package/dist/field/link/LinkField.view.js +246 -372
  230. package/dist/field/link/UrlLink.d.ts +4 -4
  231. package/dist/field/list/ListField.d.ts +2 -0
  232. package/dist/field/list/ListField.view.d.ts +15 -0
  233. package/dist/field/list/ListField.view.js +343 -301
  234. package/dist/field/metadata/MetadataField.d.ts +17 -7
  235. package/dist/field/metadata/MetadataField.js +14 -3
  236. package/dist/field/metadata/MetadataField.view.d.ts +1 -0
  237. package/dist/field/metadata/MetadataField.view.js +27 -23
  238. package/dist/field/richtext/RichTextBlock.d.ts +3 -1
  239. package/dist/field/richtext/RichTextBlock.js +178 -75
  240. package/dist/field/richtext/RichTextBlockHost.js +1 -1
  241. package/dist/field/richtext/RichTextExtensions.js +35 -35
  242. package/dist/field/richtext/RichTextField.view.js +14 -8
  243. package/dist/field/richtext/RichTextInsertMenu.js +43 -27
  244. package/dist/field/views.js +2 -0
  245. package/dist/index.css +490 -309
  246. package/dist/picker/url/UrlPicker.js +1 -0
  247. package/docs/components/badge.md +1 -0
  248. package/docs/components/button.md +1 -0
  249. package/docs/components/content-card.md +1 -0
  250. package/docs/components/search-field.md +1 -0
  251. package/docs/components/sortable-list.md +5 -20
  252. package/docs/components/table.md +1 -0
  253. package/docs/configuration.md +1 -1
  254. package/docs/deploy/self-host.md +1 -1
  255. package/docs/deploy.md +5 -4
  256. package/docs/fields.md +1 -1
  257. package/docs/index.md +1 -1
  258. package/docs/instant-publishing.md +7 -22
  259. package/docs/overviews.md +3 -4
  260. package/docs/upgrading.md +3 -2
  261. package/llms-full.txt +31 -55
  262. package/package.json +2 -3
  263. package/dist/core/db/EntryValidationError.d.ts +0 -13
  264. package/dist/core/db/EntryValidationError.js +0 -23
  265. package/dist/dashboard/app/DeleteDialog.d.ts +0 -11
  266. package/dist/dashboard/atoms/delete.d.ts +0 -68
  267. package/dist/dashboard/atoms/delete.js +0 -143
  268. package/dist/chunks/{chunk-MOWR65LM.js → chunk-PYDOMKJZ.js} +71 -71
@@ -10,15 +10,15 @@ import { Heading } from "./Heading.js";
10
10
 
11
11
  // src/components/Page.module.css
12
12
  var Page_default = {
13
- "Page": "alinea-Page",
14
13
  "PageContent-container": "alinea-PageContent-container",
15
14
  "PageContentContainer": "alinea-PageContent-container",
16
- "PageHeader": "alinea-PageHeader",
17
- "PageActions": "alinea-PageActions",
18
15
  "PageBack": "alinea-PageBack",
16
+ "Page": "alinea-Page",
19
17
  "PageTitle": "alinea-PageTitle",
20
- "PageFooter": "alinea-PageFooter",
21
- "PageContent": "alinea-PageContent"
18
+ "PageActions": "alinea-PageActions",
19
+ "PageHeader": "alinea-PageHeader",
20
+ "PageContent": "alinea-PageContent",
21
+ "PageFooter": "alinea-PageFooter"
22
22
  };
23
23
 
24
24
  // src/components/Page.tsx
@@ -5,11 +5,11 @@ import {
5
5
  $f2ff30fde7b014be$export$2e1e1122cf0cba88,
6
6
  $f2ff30fde7b014be$export$3ddf2d174ce01153,
7
7
  $f2ff30fde7b014be$export$d2f961adcb0afbe
8
- } from "../chunks/chunk-JOF663EG.js";
8
+ } from "../chunks/chunk-QHHMKJUO.js";
9
9
  import "../chunks/chunk-NUFRM6SI.js";
10
10
  import {
11
11
  $e260d131964da0f9$export$872b660ac5a1ff98
12
- } from "../chunks/chunk-RE523BQ7.js";
12
+ } from "../chunks/chunk-HOETF6HN.js";
13
13
  import "../chunks/chunk-RKDPDEF7.js";
14
14
  import "../chunks/chunk-PSSMQKAH.js";
15
15
  import {
@@ -1,8 +1,8 @@
1
1
  import {
2
2
  $db7105decd081705$export$4c260019440d418f
3
- } from "../chunks/chunk-JOF663EG.js";
3
+ } from "../chunks/chunk-QHHMKJUO.js";
4
4
  import "../chunks/chunk-NUFRM6SI.js";
5
- import "../chunks/chunk-RE523BQ7.js";
5
+ import "../chunks/chunk-HOETF6HN.js";
6
6
  import "../chunks/chunk-RKDPDEF7.js";
7
7
  import "../chunks/chunk-PSSMQKAH.js";
8
8
  import {
@@ -23,15 +23,15 @@ import { Button } from "./Button.js";
23
23
  var PreviewFrame_default = {
24
24
  "PreviewToolbar-open": "alinea-PreviewToolbar-open",
25
25
  "PreviewToolbarOpen": "alinea-PreviewToolbar-open",
26
- "PreviewToolbar-navigation": "alinea-PreviewToolbar-navigation",
27
- "PreviewToolbarNavigation": "alinea-PreviewToolbar-navigation",
28
- "PreviewToolbar": "alinea-PreviewToolbar",
29
26
  "PreviewFrame-iframe": "alinea-PreviewFrame-iframe",
30
27
  "PreviewFrameIframe": "alinea-PreviewFrame-iframe",
31
28
  "PreviewFrame-loading": "alinea-PreviewFrame-loading",
32
29
  "PreviewFrameLoading": "alinea-PreviewFrame-loading",
33
30
  "PreviewFrame-unavailable": "alinea-PreviewFrame-unavailable",
34
31
  "PreviewFrameUnavailable": "alinea-PreviewFrame-unavailable",
32
+ "PreviewToolbar": "alinea-PreviewToolbar",
33
+ "PreviewToolbar-navigation": "alinea-PreviewToolbar-navigation",
34
+ "PreviewToolbarNavigation": "alinea-PreviewToolbar-navigation",
35
35
  "PreviewFrame": "alinea-PreviewFrame"
36
36
  };
37
37
 
@@ -2,9 +2,9 @@ import {
2
2
  $efe09c6d1c304b50$export$9afb8bc826b033ea,
3
3
  $fe21c36db05242bb$export$a98f0dcb43a68a25,
4
4
  $fe21c36db05242bb$export$d7b12c4107be0d61
5
- } from "../chunks/chunk-JOF663EG.js";
5
+ } from "../chunks/chunk-QHHMKJUO.js";
6
6
  import "../chunks/chunk-NUFRM6SI.js";
7
- import "../chunks/chunk-RE523BQ7.js";
7
+ import "../chunks/chunk-HOETF6HN.js";
8
8
  import "../chunks/chunk-RKDPDEF7.js";
9
9
  import "../chunks/chunk-PSSMQKAH.js";
10
10
  import {
@@ -18,18 +18,18 @@ import { Field, FieldDescription } from "./Field.js";
18
18
 
19
19
  // src/components/RadioGroup.module.css
20
20
  var RadioGroup_default = {
21
- "RadioGroupItem-indicator": "alinea-RadioGroupItem-indicator",
22
- "RadioGroupItemIndicator": "alinea-RadioGroupItem-indicator",
23
21
  "RadioGroup-items": "alinea-RadioGroup-items",
24
22
  "RadioGroupItems": "alinea-RadioGroup-items",
23
+ "RadioGroupItem-content": "alinea-RadioGroupItem-content",
24
+ "RadioGroupItemContent": "alinea-RadioGroupItem-content",
25
25
  "is-focusVisible": "alinea-is-focusVisible",
26
26
  "isFocusVisible": "alinea-is-focusVisible",
27
27
  "RadioGroupItem-label": "alinea-RadioGroupItem-label",
28
28
  "RadioGroupItemLabel": "alinea-RadioGroupItem-label",
29
29
  "RadioGroup": "alinea-RadioGroup",
30
30
  "RadioGroupItem": "alinea-RadioGroupItem",
31
- "RadioGroupItem-content": "alinea-RadioGroupItem-content",
32
- "RadioGroupItemContent": "alinea-RadioGroupItem-content"
31
+ "RadioGroupItem-indicator": "alinea-RadioGroupItem-indicator",
32
+ "RadioGroupItemIndicator": "alinea-RadioGroupItem-indicator"
33
33
  };
34
34
 
35
35
  // src/components/RadioGroup.tsx
@@ -1082,12 +1082,12 @@ import {
1082
1082
 
1083
1083
  // src/components/Resizable.module.css
1084
1084
  var Resizable_default = {
1085
- "ResizablePanelGroup-handle": "alinea-ResizablePanelGroup-handle",
1086
- "ResizablePanelGroupHandle": "alinea-ResizablePanelGroup-handle",
1087
- "ResizablePanelGroup": "alinea-ResizablePanelGroup",
1088
- "ResizablePanel": "alinea-ResizablePanel",
1089
1085
  "ResizablePanelGroup-view": "alinea-ResizablePanelGroup-view",
1090
- "ResizablePanelGroupView": "alinea-ResizablePanelGroup-view"
1086
+ "ResizablePanelGroupView": "alinea-ResizablePanelGroup-view",
1087
+ "ResizablePanel": "alinea-ResizablePanel",
1088
+ "ResizablePanelGroup": "alinea-ResizablePanelGroup",
1089
+ "ResizablePanelGroup-handle": "alinea-ResizablePanelGroup-handle",
1090
+ "ResizablePanelGroupHandle": "alinea-ResizablePanelGroup-handle"
1091
1091
  };
1092
1092
 
1093
1093
  // src/components/Resizable.tsx
@@ -11,6 +11,11 @@ export interface SearchFieldProps extends FieldSharedProps, StyleProps, AriaProp
11
11
  placeholder?: string;
12
12
  /** Shows a spinner while results are being loaded */
13
13
  loading?: boolean;
14
+ /**
15
+ * `inline` drops the box so the field reads as the top row of the results
16
+ * it searches, like a command palette. The row draws its own border.
17
+ */
18
+ variant?: 'default' | 'inline';
14
19
  name?: string;
15
20
  autoFocus?: boolean;
16
21
  onBlur?: (event: FocusEvent<HTMLInputElement>) => void;
@@ -36,4 +41,4 @@ export interface SearchFieldProps extends FieldSharedProps, StyleProps, AriaProp
36
41
  * A text input for search queries with a clear button. The `icon` is shown
37
42
  * inside the input, in front of the query.
38
43
  */
39
- export declare function SearchField({ label, description, error, required, disabled, readOnly, icon, shared, onValueChange, placeholder, loading, onBlur, onFocus, onKeyDown, role, 'aria-controls': ariaControls, 'aria-activedescendant': ariaActiveDescendant, 'aria-expanded': ariaExpanded, 'aria-haspopup': ariaHasPopup, 'aria-autocomplete': ariaAutocomplete, className, ...props }: SearchFieldProps): import("react").JSX.Element;
44
+ export declare function SearchField({ label, description, error, required, disabled, readOnly, icon, shared, onValueChange, placeholder, loading, variant, onBlur, onFocus, onKeyDown, role, 'aria-controls': ariaControls, 'aria-activedescendant': ariaActiveDescendant, 'aria-expanded': ariaExpanded, 'aria-haspopup': ariaHasPopup, 'aria-autocomplete': ariaAutocomplete, className, ...props }: SearchFieldProps): import("react").JSX.Element;
@@ -2,9 +2,9 @@ import {
2
2
  $29a5029ff43c9612$export$b94867ecbd698f21,
3
3
  $41fb335299a4a39e$export$f5b8910cec6cf069,
4
4
  $7705c033048f6da7$export$353f5b6fc5456de1
5
- } from "../chunks/chunk-JOF663EG.js";
5
+ } from "../chunks/chunk-QHHMKJUO.js";
6
6
  import "../chunks/chunk-NUFRM6SI.js";
7
- import "../chunks/chunk-RE523BQ7.js";
7
+ import "../chunks/chunk-HOETF6HN.js";
8
8
  import "../chunks/chunk-RKDPDEF7.js";
9
9
  import "../chunks/chunk-PSSMQKAH.js";
10
10
  import {
@@ -21,12 +21,12 @@ import { Icon } from "./Icon.js";
21
21
  var SearchField_default = {
22
22
  "SearchFieldClear-icon": "alinea-SearchFieldClear-icon",
23
23
  "SearchFieldClearIcon": "alinea-SearchFieldClear-icon",
24
- "SearchField": "alinea-SearchField",
25
- "SearchFieldInput": "alinea-SearchFieldInput",
26
24
  "SearchFieldGroup": "alinea-SearchFieldGroup",
25
+ "SearchFieldClear": "alinea-SearchFieldClear",
27
26
  "SearchFieldIcon": "alinea-SearchFieldIcon",
28
27
  "SearchFieldSpinner": "alinea-SearchFieldSpinner",
29
- "SearchFieldClear": "alinea-SearchFieldClear"
28
+ "SearchFieldInput": "alinea-SearchFieldInput",
29
+ "SearchField": "alinea-SearchField"
30
30
  };
31
31
 
32
32
  // src/components/SearchField.tsx
@@ -45,6 +45,7 @@ function SearchField({
45
45
  onValueChange,
46
46
  placeholder,
47
47
  loading,
48
+ variant = "default",
48
49
  onBlur,
49
50
  onFocus,
50
51
  onKeyDown,
@@ -62,6 +63,7 @@ function SearchField({
62
63
  {
63
64
  "data-slot": "search-field",
64
65
  ...props,
66
+ "data-variant": variant,
65
67
  onChange: onValueChange,
66
68
  isRequired: required,
67
69
  isDisabled: disabled,
@@ -7,9 +7,9 @@ import {
7
7
  $c8bb816105474884$export$ef445b55be0601bd,
8
8
  $c8bb816105474884$export$ef9b1a59e592288f,
9
9
  $e28ab3efe3e87743$export$1ff3c3f08ae963c0
10
- } from "../chunks/chunk-JOF663EG.js";
10
+ } from "../chunks/chunk-QHHMKJUO.js";
11
11
  import "../chunks/chunk-NUFRM6SI.js";
12
- import "../chunks/chunk-RE523BQ7.js";
12
+ import "../chunks/chunk-HOETF6HN.js";
13
13
  import "../chunks/chunk-RKDPDEF7.js";
14
14
  import "../chunks/chunk-PSSMQKAH.js";
15
15
  import {
@@ -31,24 +31,24 @@ import { PopoverSurface } from "./internal/PopoverSurface.js";
31
31
 
32
32
  // src/components/Select.module.css
33
33
  var Select_default = {
34
- "SelectTrigger-button": "alinea-SelectTrigger-button",
35
- "SelectTriggerButton": "alinea-SelectTrigger-button",
36
- "SelectContent-list": "alinea-SelectContent-list",
37
- "SelectContentList": "alinea-SelectContent-list",
38
- "SelectTrigger-placeholder": "alinea-SelectTrigger-placeholder",
39
- "SelectTriggerPlaceholder": "alinea-SelectTrigger-placeholder",
40
34
  "SelectSeparator": "alinea-SelectSeparator",
41
- "SelectGroup-label": "alinea-SelectGroup-label",
42
- "SelectGroupLabel": "alinea-SelectGroup-label",
43
- "SelectTrigger": "alinea-SelectTrigger",
44
35
  "SelectGroup": "alinea-SelectGroup",
45
- "SelectTrigger-value": "alinea-SelectTrigger-value",
46
- "SelectTriggerValue": "alinea-SelectTrigger-value",
47
36
  "SelectTrigger-clear": "alinea-SelectTrigger-clear",
48
37
  "SelectTriggerClear": "alinea-SelectTrigger-clear",
38
+ "SelectTrigger": "alinea-SelectTrigger",
39
+ "SelectTrigger-value": "alinea-SelectTrigger-value",
40
+ "SelectTriggerValue": "alinea-SelectTrigger-value",
41
+ "SelectContent-list": "alinea-SelectContent-list",
42
+ "SelectContentList": "alinea-SelectContent-list",
43
+ "SelectTrigger-button": "alinea-SelectTrigger-button",
44
+ "SelectTriggerButton": "alinea-SelectTrigger-button",
49
45
  "Select": "alinea-Select",
50
46
  "SelectTrigger-arrow": "alinea-SelectTrigger-arrow",
51
- "SelectTriggerArrow": "alinea-SelectTrigger-arrow"
47
+ "SelectTriggerArrow": "alinea-SelectTrigger-arrow",
48
+ "SelectGroup-label": "alinea-SelectGroup-label",
49
+ "SelectGroupLabel": "alinea-SelectGroup-label",
50
+ "SelectTrigger-placeholder": "alinea-SelectTrigger-placeholder",
51
+ "SelectTriggerPlaceholder": "alinea-SelectTrigger-placeholder"
52
52
  };
53
53
 
54
54
  // src/components/Select.tsx
@@ -0,0 +1,50 @@
1
+ import { type MouseEvent, type ReactNode } from 'react';
2
+ import type { AriaProps, DataProps, StyleProps } from './types.js';
3
+ export interface SheetContentProps extends StyleProps, AriaProps, DataProps {
4
+ /** Called on Escape while focus is inside the sheet, and by `SheetClose` */
5
+ onClose?: () => void;
6
+ /** Accessible label of the back button in the header, defaults to "Back" */
7
+ backLabel?: string;
8
+ children: ReactNode;
9
+ }
10
+ /**
11
+ * A non-modal panel that fills its positioned container. Mount it to open
12
+ * the sheet: focus moves to its first field, and returns to the previously
13
+ * focused element when it unmounts. Labelled by its `SheetTitle` unless
14
+ * given an `aria-label`.
15
+ */
16
+ export declare function SheetContent({ onClose, backLabel, className, children, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledby, ...props }: SheetContentProps): import("react").JSX.Element;
17
+ export interface SheetPartProps extends StyleProps, AriaProps, DataProps {
18
+ children?: ReactNode;
19
+ }
20
+ export interface SheetHeaderProps extends SheetPartProps {
21
+ }
22
+ /**
23
+ * Top bar of the sheet, eg. a badge, the title, a key hint and SheetClose.
24
+ * Starts with a back button when the sheet has an `onClose`.
25
+ */
26
+ export declare function SheetHeader({ className, children, ...props }: SheetHeaderProps): import("react").JSX.Element;
27
+ export interface SheetTitleProps extends SheetPartProps {
28
+ }
29
+ export declare function SheetTitle({ className, ...props }: SheetTitleProps): import("react").JSX.Element;
30
+ export interface SheetBodyProps extends SheetPartProps {
31
+ }
32
+ /** Scrolling content of the sheet, holds SheetSection elements */
33
+ export declare function SheetBody({ className, ...props }: SheetBodyProps): import("react").JSX.Element;
34
+ export interface SheetSectionProps extends SheetPartProps {
35
+ title?: ReactNode;
36
+ }
37
+ export declare function SheetSection({ title, className, children, ...props }: SheetSectionProps): import("react").JSX.Element;
38
+ export interface SheetFooterProps extends SheetPartProps {
39
+ }
40
+ /**
41
+ * Bottom bar of the sheet, holds small ghost buttons. Destructive buttons
42
+ * are pushed to the end.
43
+ */
44
+ export declare function SheetFooter({ className, ...props }: SheetFooterProps): import("react").JSX.Element;
45
+ export interface SheetCloseProps extends StyleProps, DataProps {
46
+ 'aria-label': string;
47
+ /** Defaults to the `onClose` of the surrounding SheetContent */
48
+ onClick?: (event: MouseEvent<HTMLButtonElement>) => void;
49
+ }
50
+ export declare function SheetClose({ onClick, ...props }: SheetCloseProps): import("react").JSX.Element;
@@ -0,0 +1,202 @@
1
+ import {
2
+ dist_default
3
+ } from "../chunks/chunk-I4OYYAX5.js";
4
+ import "../chunks/chunk-CQ52GEHY.js";
5
+
6
+ // src/components/Sheet.tsx
7
+ import {
8
+ createContext,
9
+ useContext,
10
+ useId,
11
+ useLayoutEffect,
12
+ useMemo,
13
+ useRef
14
+ } from "react";
15
+ import { IcRoundArrowBack, IcRoundClose } from "alinea/dashboard/icons";
16
+ import { Button } from "./Button.js";
17
+
18
+ // src/components/Sheet.module.css
19
+ var Sheet_default = {
20
+ "SheetBody": "alinea-SheetBody",
21
+ "SheetTitle": "alinea-SheetTitle",
22
+ "SheetSection-title": "alinea-SheetSection-title",
23
+ "SheetSectionTitle": "alinea-SheetSection-title",
24
+ "SheetFooter": "alinea-SheetFooter",
25
+ "SheetContent": "alinea-SheetContent",
26
+ "SheetHeader": "alinea-SheetHeader",
27
+ "SheetSection": "alinea-SheetSection",
28
+ "SheetHeader-back": "alinea-SheetHeader-back",
29
+ "SheetHeaderBack": "alinea-SheetHeader-back"
30
+ };
31
+
32
+ // src/components/Sheet.tsx
33
+ import { jsx, jsxs } from "react/jsx-runtime";
34
+ var styles = dist_default(Sheet_default);
35
+ var fields = 'input:not([type="hidden"]), textarea, select, [contenteditable="true"]';
36
+ var focusables = 'button, [href], input, textarea, select, [contenteditable="true"], [tabindex]';
37
+ var SheetContext = createContext(null);
38
+ function focusable(element) {
39
+ return element.tabIndex >= 0 && !element.matches(":disabled") && !element.closest('[aria-hidden="true"], [inert]');
40
+ }
41
+ function first(root, selector) {
42
+ return Array.from(root.querySelectorAll(selector)).find(
43
+ focusable
44
+ );
45
+ }
46
+ function SheetContent({
47
+ onClose,
48
+ backLabel = "Back",
49
+ className,
50
+ children,
51
+ "aria-label": ariaLabel,
52
+ "aria-labelledby": ariaLabelledby,
53
+ ...props
54
+ }) {
55
+ const ref = useRef(null);
56
+ const titleId = useId();
57
+ const context = useMemo(
58
+ () => ({ titleId, backLabel, onClose }),
59
+ [titleId, backLabel, onClose]
60
+ );
61
+ useLayoutEffect(() => {
62
+ const root = ref.current;
63
+ if (!root) return;
64
+ const previous = document.activeElement;
65
+ const body = root.querySelector('[data-slot="sheet-body"]') ?? root;
66
+ const target = first(body, fields) ?? first(body, focusables) ?? root;
67
+ target.focus();
68
+ return () => {
69
+ const active = document.activeElement;
70
+ const lost = !active || active === document.body || root.contains(active);
71
+ if (lost && previous instanceof HTMLElement && previous.isConnected)
72
+ previous.focus();
73
+ };
74
+ }, []);
75
+ function onKeyDown(event) {
76
+ if (event.key !== "Escape" || event.defaultPrevented || !onClose) return;
77
+ event.preventDefault();
78
+ onClose();
79
+ }
80
+ return /* @__PURE__ */ jsx(SheetContext.Provider, { value: context, children: /* @__PURE__ */ jsx(
81
+ "div",
82
+ {
83
+ "data-slot": "sheet-content",
84
+ role: "dialog",
85
+ tabIndex: -1,
86
+ "aria-label": ariaLabel,
87
+ "aria-labelledby": ariaLabelledby ?? (ariaLabel ? void 0 : titleId),
88
+ ...props,
89
+ ref,
90
+ className: styles.SheetContent(dist_default.merge({ className })),
91
+ onKeyDown,
92
+ children
93
+ }
94
+ ) });
95
+ }
96
+ function SheetHeader({ className, children, ...props }) {
97
+ const context = useContext(SheetContext);
98
+ return /* @__PURE__ */ jsxs(
99
+ "div",
100
+ {
101
+ "data-slot": "sheet-header",
102
+ ...props,
103
+ className: styles.SheetHeader(dist_default.merge({ className })),
104
+ children: [
105
+ context?.onClose && /* @__PURE__ */ jsx(
106
+ Button,
107
+ {
108
+ "data-slot": "sheet-back",
109
+ variant: "ghost",
110
+ size: "icon-sm",
111
+ icon: IcRoundArrowBack,
112
+ "aria-label": context.backLabel,
113
+ className: styles.SheetHeader.back(),
114
+ onClick: context.onClose
115
+ }
116
+ ),
117
+ children
118
+ ]
119
+ }
120
+ );
121
+ }
122
+ function SheetTitle({ className, ...props }) {
123
+ const context = useContext(SheetContext);
124
+ return /* @__PURE__ */ jsx(
125
+ "h2",
126
+ {
127
+ "data-slot": "sheet-title",
128
+ id: context?.titleId,
129
+ ...props,
130
+ className: styles.SheetTitle(dist_default.merge({ className }))
131
+ }
132
+ );
133
+ }
134
+ function SheetBody({ className, ...props }) {
135
+ return /* @__PURE__ */ jsx(
136
+ "div",
137
+ {
138
+ "data-slot": "sheet-body",
139
+ ...props,
140
+ className: styles.SheetBody(dist_default.merge({ className }))
141
+ }
142
+ );
143
+ }
144
+ function SheetSection({
145
+ title,
146
+ className,
147
+ children,
148
+ ...props
149
+ }) {
150
+ return /* @__PURE__ */ jsxs(
151
+ "section",
152
+ {
153
+ "data-slot": "sheet-section",
154
+ ...props,
155
+ className: styles.SheetSection(dist_default.merge({ className })),
156
+ children: [
157
+ title && /* @__PURE__ */ jsx(
158
+ "h3",
159
+ {
160
+ "data-slot": "sheet-section-title",
161
+ className: styles.SheetSection.title(),
162
+ children: title
163
+ }
164
+ ),
165
+ children
166
+ ]
167
+ }
168
+ );
169
+ }
170
+ function SheetFooter({ className, ...props }) {
171
+ return /* @__PURE__ */ jsx(
172
+ "div",
173
+ {
174
+ "data-slot": "sheet-footer",
175
+ ...props,
176
+ className: styles.SheetFooter(dist_default.merge({ className }))
177
+ }
178
+ );
179
+ }
180
+ function SheetClose({ onClick, ...props }) {
181
+ const context = useContext(SheetContext);
182
+ return /* @__PURE__ */ jsx(
183
+ Button,
184
+ {
185
+ "data-slot": "sheet-close",
186
+ ...props,
187
+ variant: "ghost",
188
+ size: "icon-sm",
189
+ icon: IcRoundClose,
190
+ onClick: onClick ?? (() => context?.onClose?.())
191
+ }
192
+ );
193
+ }
194
+ export {
195
+ SheetBody,
196
+ SheetClose,
197
+ SheetContent,
198
+ SheetFooter,
199
+ SheetHeader,
200
+ SheetSection,
201
+ SheetTitle
202
+ };
@@ -9,13 +9,13 @@ import { createContext, useContext, useId } from "react";
9
9
  // src/components/Sidebar.module.css
10
10
  var Sidebar_default = {
11
11
  "SidebarContent": "alinea-SidebarContent",
12
- "Sidebar": "alinea-Sidebar",
12
+ "SidebarFooter": "alinea-SidebarFooter",
13
+ "SidebarInset": "alinea-SidebarInset",
14
+ "SidebarHeader": "alinea-SidebarHeader",
13
15
  "SidebarGroupAction": "alinea-SidebarGroupAction",
14
16
  "SidebarGroup": "alinea-SidebarGroup",
15
- "SidebarInset": "alinea-SidebarInset",
16
- "SidebarFooter": "alinea-SidebarFooter",
17
17
  "SidebarGroupLabel": "alinea-SidebarGroupLabel",
18
- "SidebarHeader": "alinea-SidebarHeader"
18
+ "Sidebar": "alinea-Sidebar"
19
19
  };
20
20
 
21
21
  // src/components/Sidebar.tsx
@@ -1,46 +1,56 @@
1
- import { type ComponentPropsWithoutRef, type ReactNode } from 'react';
1
+ import { type ComponentPropsWithRef, type ComponentPropsWithoutRef } from 'react';
2
2
  import { type ButtonProps } from './Button.js';
3
- import { type SurfaceProps } from './Surface.js';
4
- import type { DragMoveEvent, IconType, Key } from './types.js';
5
- export interface SortableListProps extends SurfaceProps {
3
+ import type { DragMoveEvent, Key } from './types.js';
4
+ export interface SortableListProps extends ComponentPropsWithoutRef<'div'> {
6
5
  /**
7
- * Enables reordering: items with an `id` can be dragged by their
8
- * `SortableListHandle`, with a pointer or with the keyboard (Enter on the
9
- * handle, Tab to an item, Enter to drop). Called with the key of the dragged
10
- * item and the item it was dropped before or after.
11
- * Items only drop within the list they were dragged from.
6
+ * Enables reordering: items with an `id` follow the pointer when their
7
+ * `SortableListItemHeader` is dragged, the other items move aside as it
8
+ * passes them. With focus in the header, Alt+ArrowUp and Alt+ArrowDown
9
+ * move an item. Called with the key of the moved item and the item it was
10
+ * dropped before or after. Update the order synchronously: the dropped item
11
+ * glides into the place it renders in right after this returns.
12
12
  */
13
13
  onReorder?: (event: DragMoveEvent) => void;
14
- /** Mime type the dragged items carry, defaults to `alinea/sortable-list-item` */
15
- dragType?: string;
16
14
  }
17
- export declare function SortableList({ className, role, onReorder, dragType, ...props }: SortableListProps): import("react").JSX.Element;
15
+ export declare function SortableList({ className, role, onReorder, ...props }: SortableListProps): import("react").JSX.Element;
18
16
  export interface SortableListItemProps extends Omit<ComponentPropsWithoutRef<'div'>, 'id'> {
19
17
  /**
20
18
  * Identifies the item within its list. Items with an id can be dragged when
21
19
  * the list has `onReorder`. The id is not rendered as a DOM id.
22
20
  */
23
21
  id?: Key;
24
- /** Rendered under the pointer while dragging, eg. a `SortableListDragPreview` */
25
- dragPreview?: ReactNode;
22
+ /** Highlights the item, eg. while its settings are open next to the list */
23
+ current?: boolean;
26
24
  }
27
- export declare function SortableListItem({ id, dragPreview, ...props }: SortableListItemProps): import("react").JSX.Element;
25
+ export declare function SortableListItem({ id, className, current, ...props }: SortableListItemProps): import("react").JSX.Element;
28
26
  export interface SortableListItemHeaderProps extends ComponentPropsWithoutRef<'div'> {
29
27
  }
30
- /** Top bar of an item, holds its handle, title and actions */
31
- export declare function SortableListItemHeader({ className, ...props }: SortableListItemHeaderProps): import("react").JSX.Element;
32
- export interface SortableListHandleProps extends ComponentPropsWithoutRef<'span'> {
33
- }
34
28
  /**
35
- * Drags its `SortableListItem` when the list has `onReorder`. Focusable in
36
- * that case: press Enter to start a keyboard drag. Place it in the
37
- * `SortableListItemHeader`, it shows while the header is hovered or focused.
29
+ * Top bar of an item, holds its title and actions. Drags the item when the
30
+ * list has `onReorder`, a press that does not move still clicks.
38
31
  */
39
- export declare function SortableListHandle({ className, ...props }: SortableListHandleProps): import("react").JSX.Element;
32
+ export declare function SortableListItemHeader({ className, onPointerDownCapture, onKeyDown, onDragStart, ...props }: SortableListItemHeaderProps): import("react").JSX.Element;
40
33
  export interface SortableListItemTitleProps extends ComponentPropsWithoutRef<'div'> {
41
34
  }
42
35
  /** Row of the toggle, badges and description of an item, fills the header */
43
36
  export declare function SortableListItemTitle({ className, ...props }: SortableListItemTitleProps): import("react").JSX.Element;
37
+ export interface SortableListItemTriggerProps extends Omit<ButtonProps, 'variant' | 'size' | 'icon' | 'asChild'> {
38
+ /** Ends the button with a "…", defaults to true */
39
+ more?: boolean;
40
+ }
41
+ /**
42
+ * The badges and description of an item as one button that ends in a "…",
43
+ * eg. to open the settings of the item. Fills the title up to the actions.
44
+ */
45
+ export declare function SortableListItemTrigger({ className, more, children, ...props }: SortableListItemTriggerProps): import("react").JSX.Element;
46
+ export interface SortableListItemInsertProps extends Omit<ComponentPropsWithRef<'button'>, 'children'> {
47
+ }
48
+ /**
49
+ * Inserts an item before the one it is placed in: a line with an add button
50
+ * that shows when the pointer is on the border above the item. Place it first
51
+ * in the `SortableListItem`.
52
+ */
53
+ export declare function SortableListItemInsert({ className, ...props }: SortableListItemInsertProps): import("react").JSX.Element;
44
54
  export interface SortableListItemDescriptionProps extends ComponentPropsWithoutRef<'span'> {
45
55
  }
46
56
  /** Muted, truncated text next to the badges of an item, eg. its label */
@@ -49,7 +59,7 @@ export interface SortableListItemActionsProps extends ComponentPropsWithoutRef<'
49
59
  }
50
60
  export declare function SortableListItemActions({ className, ...props }: SortableListItemActionsProps): import("react").JSX.Element;
51
61
  export interface SortableListItemToggleProps extends Omit<ButtonProps, 'variant' | 'children' | 'size'> {
52
- /** Whether the item content is shown, rotates the fold icon */
62
+ /** Whether the item content is shown, picks the unfold icon */
53
63
  expanded: boolean;
54
64
  }
55
65
  /** Folds the content of an item */
@@ -68,12 +78,6 @@ export interface SortableListItemSettingsProps extends ComponentPropsWithoutRef<
68
78
  }
69
79
  /** A group of settings or actions in the popover of an item */
70
80
  export declare function SortableListItemSettings({ variant, className, ...props }: SortableListItemSettingsProps): import("react").JSX.Element;
71
- export interface SortableListDragPreviewProps extends ComponentPropsWithoutRef<'div'> {
72
- icon?: IconType;
73
- label: ReactNode;
74
- }
75
- /** Card shown under the pointer while dragging an item */
76
- export declare function SortableListDragPreview({ className, icon, label, ...props }: SortableListDragPreviewProps): import("react").JSX.Element;
77
81
  export interface SortableListAddProps extends ComponentPropsWithoutRef<'div'> {
78
82
  }
79
83
  /** Last row of the list holding the buttons that add items */