datocms-react-ui 3.0.1-alpha.0 → 3.1.0-next.1

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 (1432) hide show
  1. package/README.md +125 -9
  2. package/dist/Actions.d.ts +1 -0
  3. package/dist/Actions.js +4 -0
  4. package/dist/ApiKey.d.ts +2 -0
  5. package/dist/ApiKey.js +2 -0
  6. package/dist/Aside.d.ts +2 -0
  7. package/dist/Aside.js +2 -0
  8. package/dist/AutosizeInput.d.ts +2 -0
  9. package/dist/AutosizeInput.js +2 -0
  10. package/dist/Avatar.d.ts +2 -0
  11. package/dist/Avatar.js +2 -0
  12. package/dist/BlankSlate.d.ts +2 -0
  13. package/dist/BlankSlate.js +2 -0
  14. package/dist/Button.d.ts +2 -0
  15. package/dist/Button.js +2 -0
  16. package/dist/Callout.d.ts +2 -0
  17. package/dist/Callout.js +2 -0
  18. package/dist/Canvas.d.ts +2 -0
  19. package/dist/Canvas.js +3 -0
  20. package/dist/CardList.d.ts +2 -0
  21. package/dist/CardList.js +2 -0
  22. package/dist/Chevron.d.ts +1 -0
  23. package/dist/Chevron.js +2 -0
  24. package/dist/CodeSnippet.d.ts +2 -0
  25. package/dist/CodeSnippet.js +2 -0
  26. package/dist/ContextInspector.d.ts +2 -0
  27. package/dist/ContextInspector.js +2 -0
  28. package/dist/CopyButton.d.ts +2 -0
  29. package/dist/CopyButton.js +2 -0
  30. package/dist/CopyableId.d.ts +2 -0
  31. package/dist/CopyableId.js +2 -0
  32. package/dist/CopyableValue.d.ts +2 -0
  33. package/dist/CopyableValue.js +2 -0
  34. package/dist/DateSettings.d.ts +1 -0
  35. package/dist/DateSettings.js +2 -0
  36. package/dist/DebouncedTextInput.d.ts +2 -0
  37. package/dist/DebouncedTextInput.js +2 -0
  38. package/dist/Dropdown/triggers/ButtonTrigger.d.ts +2 -0
  39. package/dist/Dropdown/triggers/ButtonTrigger.js +2 -0
  40. package/dist/Dropdown/triggers/DropdownTriggerButton.d.ts +2 -0
  41. package/dist/Dropdown/triggers/DropdownTriggerButton.js +2 -0
  42. package/dist/Dropdown/triggers/IconTrigger.d.ts +2 -0
  43. package/dist/Dropdown/triggers/IconTrigger.js +2 -0
  44. package/dist/Dropdown/triggers/PillTrigger.d.ts +2 -0
  45. package/dist/Dropdown/triggers/PillTrigger.js +2 -0
  46. package/dist/Dropdown/triggers/TextualTrigger.d.ts +2 -0
  47. package/dist/Dropdown/triggers/TextualTrigger.js +2 -0
  48. package/dist/Dropdown/triggers/types.d.ts +1 -0
  49. package/dist/Dropdown.d.ts +1 -0
  50. package/dist/Dropdown.js +4 -0
  51. package/dist/EditorToolbar.d.ts +1 -0
  52. package/dist/EditorToolbar.js +3 -0
  53. package/dist/EmptySlot.d.ts +2 -0
  54. package/dist/EmptySlot.js +2 -0
  55. package/dist/EntityRow.d.ts +2 -0
  56. package/dist/EntityRow.js +2 -0
  57. package/dist/EntitySummary.d.ts +2 -0
  58. package/dist/EntitySummary.js +2 -0
  59. package/dist/FeedbackDot.d.ts +2 -0
  60. package/dist/FeedbackDot.js +2 -0
  61. package/dist/FieldHint.d.ts +2 -0
  62. package/dist/FieldHint.js +2 -0
  63. package/dist/FieldWrapper.d.ts +2 -0
  64. package/dist/FieldWrapper.js +2 -0
  65. package/dist/FramedImage.d.ts +2 -0
  66. package/dist/FramedImage.js +2 -0
  67. package/dist/FullscreenModal.d.ts +2 -0
  68. package/dist/FullscreenModal.js +2 -0
  69. package/dist/Heading.d.ts +2 -0
  70. package/dist/Heading.js +2 -0
  71. package/dist/HoverCard.d.ts +2 -0
  72. package/dist/HoverCard.js +2 -0
  73. package/dist/IconAvatar.d.ts +2 -0
  74. package/dist/IconAvatar.js +2 -0
  75. package/dist/IdText.d.ts +2 -0
  76. package/dist/IdText.js +2 -0
  77. package/dist/InfoList.d.ts +2 -0
  78. package/dist/InfoList.js +2 -0
  79. package/dist/InitialsAvatar.d.ts +2 -0
  80. package/dist/InitialsAvatar.js +2 -0
  81. package/dist/InputGroup.d.ts +2 -0
  82. package/dist/InputGroup.js +2 -0
  83. package/dist/InsertGap.d.ts +2 -0
  84. package/dist/InsertGap.js +2 -0
  85. package/dist/KeyValueList.d.ts +2 -0
  86. package/dist/KeyValueList.js +2 -0
  87. package/dist/Label.d.ts +2 -0
  88. package/dist/Label.js +2 -0
  89. package/dist/Link.d.ts +2 -0
  90. package/dist/Link.js +2 -0
  91. package/dist/ListArea.d.ts +2 -0
  92. package/dist/ListArea.js +2 -0
  93. package/dist/ListDetail.d.ts +1 -0
  94. package/dist/ListDetail.js +5 -0
  95. package/dist/ListFormPage.d.ts +2 -0
  96. package/dist/ListFormPage.js +2 -0
  97. package/dist/ListOrOverview.d.ts +2 -0
  98. package/dist/ListOrOverview.js +2 -0
  99. package/dist/Main.d.ts +2 -0
  100. package/dist/Main.js +2 -0
  101. package/dist/MediaCard.d.ts +2 -0
  102. package/dist/MediaCard.js +2 -0
  103. package/dist/Message.d.ts +1 -0
  104. package/dist/Message.js +2 -0
  105. package/dist/Modal.d.ts +2 -0
  106. package/dist/Modal.js +2 -0
  107. package/dist/MultipleSelectionActionBar.d.ts +2 -0
  108. package/dist/MultipleSelectionActionBar.js +2 -0
  109. package/dist/Nav.d.ts +2 -0
  110. package/dist/Nav.js +2 -0
  111. package/dist/NavList.d.ts +2 -0
  112. package/dist/NavList.js +2 -0
  113. package/dist/NewZIndex.d.ts +2 -0
  114. package/dist/NewZIndex.js +2 -0
  115. package/dist/NumberInput.d.ts +2 -0
  116. package/dist/NumberInput.js +2 -0
  117. package/dist/Page.d.ts +1 -0
  118. package/dist/Page.js +2 -0
  119. package/dist/Pane.d.ts +2 -0
  120. package/dist/Pane.js +5 -0
  121. package/dist/PasswordInput.d.ts +2 -0
  122. package/dist/PasswordInput.js +2 -0
  123. package/dist/Pill.d.ts +2 -0
  124. package/dist/Pill.js +2 -0
  125. package/dist/Popover.d.ts +2 -0
  126. package/dist/Popover.js +2 -0
  127. package/dist/Portal.d.ts +2 -0
  128. package/dist/Portal.js +2 -0
  129. package/dist/ProgressBar.d.ts +2 -0
  130. package/dist/ProgressBar.js +2 -0
  131. package/dist/RadioGroupInput.d.ts +2 -0
  132. package/dist/RadioGroupInput.js +2 -0
  133. package/dist/RawButton.d.ts +2 -0
  134. package/dist/RawButton.js +2 -0
  135. package/dist/RowList.d.ts +2 -0
  136. package/dist/RowList.js +2 -0
  137. package/dist/Search.d.ts +2 -0
  138. package/dist/Search.js +2 -0
  139. package/dist/SegmentedControl.d.ts +2 -0
  140. package/dist/SegmentedControl.js +2 -0
  141. package/dist/SelectInput.d.ts +2 -0
  142. package/dist/SelectInput.js +3 -0
  143. package/dist/SettingsList.d.ts +2 -0
  144. package/dist/SettingsList.js +2 -0
  145. package/dist/SettingsMenu.d.ts +2 -0
  146. package/dist/SettingsMenu.js +2 -0
  147. package/dist/SidebarPanel.d.ts +2 -0
  148. package/dist/SidebarPanel.js +3 -0
  149. package/dist/SidebarTree.d.ts +1 -0
  150. package/dist/SidebarTree.js +3 -0
  151. package/dist/SmartDate.d.ts +2 -0
  152. package/dist/SmartDate.js +2 -0
  153. package/dist/Spinner.d.ts +2 -0
  154. package/dist/Spinner.js +2 -0
  155. package/dist/SplitButton.d.ts +2 -0
  156. package/dist/SplitButton.js +2 -0
  157. package/dist/SplitPane.d.ts +2 -0
  158. package/dist/SplitPane.js +2 -0
  159. package/dist/StringInput.d.ts +2 -0
  160. package/dist/StringInput.js +2 -0
  161. package/dist/SwitchInput.d.ts +2 -0
  162. package/dist/SwitchInput.js +2 -0
  163. package/dist/SwitchList.d.ts +2 -0
  164. package/dist/SwitchList.js +2 -0
  165. package/dist/Table/cells/IconCell.d.ts +2 -0
  166. package/dist/Table/cells/IconCell.js +2 -0
  167. package/dist/Table/cells/LinkCell.d.ts +2 -0
  168. package/dist/Table/cells/LinkCell.js +2 -0
  169. package/dist/Table/cells/StatusCell.d.ts +2 -0
  170. package/dist/Table/cells/StatusCell.js +2 -0
  171. package/dist/Table/cells/TimeCell.d.ts +2 -0
  172. package/dist/Table/cells/TimeCell.js +2 -0
  173. package/dist/Table.d.ts +1 -0
  174. package/dist/Table.js +5 -0
  175. package/dist/TableList.d.ts +2 -0
  176. package/dist/TableList.js +2 -0
  177. package/dist/Tabs.d.ts +1 -0
  178. package/dist/Tabs.js +2 -0
  179. package/dist/TextareaInput.d.ts +2 -0
  180. package/dist/TextareaInput.js +2 -0
  181. package/dist/Toolbar.d.ts +2 -0
  182. package/dist/Toolbar.js +3 -0
  183. package/dist/Tooltip.d.ts +2 -0
  184. package/dist/Tooltip.js +2 -0
  185. package/dist/UploadThreatTriangle.d.ts +2 -0
  186. package/dist/UploadThreatTriangle.js +2 -0
  187. package/dist/UsageMeter.d.ts +1 -0
  188. package/dist/UsageMeter.js +2 -0
  189. package/dist/ValidityTriangles.d.ts +1 -0
  190. package/dist/ValidityTriangles.js +2 -0
  191. package/dist/dnd.d.ts +1 -0
  192. package/dist/dnd.js +17 -0
  193. package/dist/hooks/useAsyncSelectOptions.d.ts +1 -0
  194. package/dist/hooks/useAsyncSelectOptions.js +2 -0
  195. package/dist/hooks/useClickOutside.d.ts +1 -0
  196. package/dist/hooks/useClickOutside.js +2 -0
  197. package/dist/hooks/useCopyToClipboard.d.ts +1 -0
  198. package/dist/hooks/useCopyToClipboard.js +2 -0
  199. package/dist/hooks/useDebounceOnBoolean.d.ts +1 -0
  200. package/dist/hooks/useDebounceOnBoolean.js +2 -0
  201. package/dist/hooks/useDebouncedCallback.d.ts +1 -0
  202. package/dist/hooks/useDebouncedCallback.js +2 -0
  203. package/dist/hooks/useDebouncedValue.d.ts +1 -0
  204. package/dist/hooks/useDebouncedValue.js +2 -0
  205. package/dist/hooks/useDeepCompareEffect.d.ts +1 -0
  206. package/dist/hooks/useDeepCompareEffect.js +2 -0
  207. package/dist/hooks/useDidUpdateEffect.d.ts +1 -0
  208. package/dist/hooks/useDidUpdateEffect.js +2 -0
  209. package/dist/hooks/useElementLayout.d.ts +1 -0
  210. package/dist/hooks/useElementLayout.js +2 -0
  211. package/dist/hooks/useMediaQuery.d.ts +1 -0
  212. package/dist/hooks/useMediaQuery.js +2 -0
  213. package/dist/hooks/useRovingKeyDown.d.ts +1 -0
  214. package/dist/hooks/useRovingKeyDown.js +2 -0
  215. package/dist/hooks/useShallowEqual.d.ts +1 -0
  216. package/dist/hooks/useShallowEqual.js +2 -0
  217. package/dist/hooks/useSmartRowClick.d.ts +1 -0
  218. package/dist/hooks/useSmartRowClick.js +2 -0
  219. package/dist/internal/BundledTexts.d.ts +2 -0
  220. package/dist/internal/BundledTexts.js +2 -0
  221. package/dist/internal/DateSettings.d.ts +1 -0
  222. package/dist/internal/DateSettings.js +2 -0
  223. package/dist/internal/NavigationProvider.d.ts +2 -0
  224. package/dist/internal/NavigationProvider.js +2 -0
  225. package/dist/internal/TextsProvider.d.ts +2 -0
  226. package/dist/internal/TextsProvider.js +2 -0
  227. package/dist/react-ui/locales/en.js +12 -0
  228. package/dist/react-ui/src/Canvas.d.ts +51 -0
  229. package/dist/react-ui/src/Canvas.js +148 -0
  230. package/dist/react-ui/src/ContextInspector.d.ts +16 -0
  231. package/dist/react-ui/src/ContextInspector.js +147 -0
  232. package/dist/react-ui/src/ctx.d.ts +18 -0
  233. package/dist/react-ui/src/ctx.js +25 -0
  234. package/dist/react-ui/src/ctxDateSettings.js +24 -0
  235. package/dist/react-ui/src/ctxHostServices.js +60 -0
  236. package/dist/react-ui/src/ctxNavigation.js +37 -0
  237. package/dist/react-ui/src/messageText.js +36 -0
  238. package/dist/styles.css +8620 -0
  239. package/dist/ui/icons/brands/gitlab.js +15 -0
  240. package/dist/ui/icons/brands/markdown.js +15 -0
  241. package/dist/ui/icons/custom/color_d_icon.js +20 -0
  242. package/dist/ui/icons/custom/fieldgroup-boolean.js +18 -0
  243. package/dist/ui/icons/custom/fieldgroup-color.js +18 -0
  244. package/dist/ui/icons/custom/fieldgroup-datetime.js +49 -0
  245. package/dist/ui/icons/custom/fieldgroup-json.js +18 -0
  246. package/dist/ui/icons/custom/fieldgroup-location.js +19 -0
  247. package/dist/ui/icons/custom/fieldgroup-media.js +18 -0
  248. package/dist/ui/icons/custom/fieldgroup-number.js +18 -0
  249. package/dist/ui/icons/custom/fieldgroup-reference.js +18 -0
  250. package/dist/ui/icons/custom/fieldgroup-rich_text.js +18 -0
  251. package/dist/ui/icons/custom/fieldgroup-seo.js +22 -0
  252. package/dist/ui/icons/custom/fieldgroup-structured_text.js +61 -0
  253. package/dist/ui/icons/custom/language.js +16 -0
  254. package/dist/ui/icons/custom/masonry.js +21 -0
  255. package/dist/ui/icons/custom/netlify.js +33 -0
  256. package/dist/ui/icons/custom/twitter-verified.js +18 -0
  257. package/dist/ui/icons/custom/vercel.js +15 -0
  258. package/dist/ui/icons/index.js +402 -0
  259. package/dist/ui/icons/light/eye-slash.js +16 -0
  260. package/dist/ui/icons/light/eye.js +16 -0
  261. package/dist/ui/icons/regular/align-left.js +15 -0
  262. package/dist/ui/icons/regular/arrow-down-a-z.js +16 -0
  263. package/dist/ui/icons/regular/arrow-down-to-line.js +15 -0
  264. package/dist/ui/icons/regular/arrow-down.js +16 -0
  265. package/dist/ui/icons/regular/arrow-left.js +16 -0
  266. package/dist/ui/icons/regular/arrow-right-arrow-left.js +16 -0
  267. package/dist/ui/icons/regular/arrow-right-from-bracket.js +16 -0
  268. package/dist/ui/icons/regular/arrow-right.js +16 -0
  269. package/dist/ui/icons/regular/arrow-rotate-left.js +15 -0
  270. package/dist/ui/icons/regular/arrow-rotate-right.js +16 -0
  271. package/dist/ui/icons/regular/arrow-turn-up.js +16 -0
  272. package/dist/ui/icons/regular/arrow-up-arrow-down.js +16 -0
  273. package/dist/ui/icons/regular/arrow-up-right-from-square.js +16 -0
  274. package/dist/ui/icons/regular/arrow-up-to-line.js +15 -0
  275. package/dist/ui/icons/regular/arrow-up.js +16 -0
  276. package/dist/ui/icons/regular/arrows-from-line.js +16 -0
  277. package/dist/ui/icons/regular/arrows-rotate.js +16 -0
  278. package/dist/ui/icons/regular/arrows-to-line.js +16 -0
  279. package/dist/ui/icons/regular/arrows-turn-to-dots.js +15 -0
  280. package/dist/ui/icons/regular/badge-check.js +15 -0
  281. package/dist/ui/icons/regular/ballot-check.js +15 -0
  282. package/dist/ui/icons/regular/ban.js +16 -0
  283. package/dist/ui/icons/regular/bars.js +16 -0
  284. package/dist/ui/icons/regular/bold.js +15 -0
  285. package/dist/ui/icons/regular/bolt.js +15 -0
  286. package/dist/ui/icons/regular/book.js +16 -0
  287. package/dist/ui/icons/regular/bookmark.js +16 -0
  288. package/dist/ui/icons/regular/brackets-curly.js +15 -0
  289. package/dist/ui/icons/regular/browser.js +16 -0
  290. package/dist/ui/icons/regular/calendar-clock.js +15 -0
  291. package/dist/ui/icons/regular/calendar.js +16 -0
  292. package/dist/ui/icons/regular/chart-area.js +15 -0
  293. package/dist/ui/icons/regular/check.js +16 -0
  294. package/dist/ui/icons/regular/chevron-down.js +16 -0
  295. package/dist/ui/icons/regular/chevron-left.js +16 -0
  296. package/dist/ui/icons/regular/chevron-right.js +16 -0
  297. package/dist/ui/icons/regular/chevrons-down.js +16 -0
  298. package/dist/ui/icons/regular/chevrons-left.js +16 -0
  299. package/dist/ui/icons/regular/chevrons-right.js +16 -0
  300. package/dist/ui/icons/regular/circle-arrow-up.js +16 -0
  301. package/dist/ui/icons/regular/circle-check.js +16 -0
  302. package/dist/ui/icons/regular/circle-dot.js +16 -0
  303. package/dist/ui/icons/regular/circle-exclamation.js +16 -0
  304. package/dist/ui/icons/regular/circle-info.js +16 -0
  305. package/dist/ui/icons/regular/circle-question.js +16 -0
  306. package/dist/ui/icons/regular/clapperboard-play.js +15 -0
  307. package/dist/ui/icons/regular/clipboard.js +15 -0
  308. package/dist/ui/icons/regular/clock-rotate-left.js +16 -0
  309. package/dist/ui/icons/regular/clock.js +16 -0
  310. package/dist/ui/icons/regular/clone.js +16 -0
  311. package/dist/ui/icons/regular/cloud-arrow-down.js +15 -0
  312. package/dist/ui/icons/regular/code-branch.js +16 -0
  313. package/dist/ui/icons/regular/code-fork.js +16 -0
  314. package/dist/ui/icons/regular/command.js +16 -0
  315. package/dist/ui/icons/regular/comments.js +16 -0
  316. package/dist/ui/icons/regular/copy.js +16 -0
  317. package/dist/ui/icons/regular/cube.js +15 -0
  318. package/dist/ui/icons/regular/cubes.js +15 -0
  319. package/dist/ui/icons/regular/dash.js +16 -0
  320. package/dist/ui/icons/regular/database.js +15 -0
  321. package/dist/ui/icons/regular/diamond.js +15 -0
  322. package/dist/ui/icons/regular/down.js +16 -0
  323. package/dist/ui/icons/regular/download.js +16 -0
  324. package/dist/ui/icons/regular/earth-europe.js +16 -0
  325. package/dist/ui/icons/regular/ellipsis-vertical.js +16 -0
  326. package/dist/ui/icons/regular/ellipsis.js +16 -0
  327. package/dist/ui/icons/regular/envelope.js +16 -0
  328. package/dist/ui/icons/regular/expand.js +16 -0
  329. package/dist/ui/icons/regular/eye-dropper.js +16 -0
  330. package/dist/ui/icons/regular/file-export.js +16 -0
  331. package/dist/ui/icons/regular/file-lines.js +15 -0
  332. package/dist/ui/icons/regular/file-shield.js +15 -0
  333. package/dist/ui/icons/regular/file.js +15 -0
  334. package/dist/ui/icons/regular/filter.js +16 -0
  335. package/dist/ui/icons/regular/fire-flame-curved.js +15 -0
  336. package/dist/ui/icons/regular/flask-gear.js +15 -0
  337. package/dist/ui/icons/regular/flask.js +15 -0
  338. package/dist/ui/icons/regular/folder-gear.js +15 -0
  339. package/dist/ui/icons/regular/folder-magnifying-glass.js +15 -0
  340. package/dist/ui/icons/regular/folder-open.js +16 -0
  341. package/dist/ui/icons/regular/folder-plus.js +16 -0
  342. package/dist/ui/icons/regular/folder.js +16 -0
  343. package/dist/ui/icons/regular/folders.js +16 -0
  344. package/dist/ui/icons/regular/gear.js +16 -0
  345. package/dist/ui/icons/regular/gift.js +16 -0
  346. package/dist/ui/icons/regular/globe.js +16 -0
  347. package/dist/ui/icons/regular/grid-2.js +16 -0
  348. package/dist/ui/icons/regular/grip-dots-vertical.js +16 -0
  349. package/dist/ui/icons/regular/hand.js +16 -0
  350. package/dist/ui/icons/regular/hourglass-clock.js +16 -0
  351. package/dist/ui/icons/regular/house.js +16 -0
  352. package/dist/ui/icons/regular/images.js +15 -0
  353. package/dist/ui/icons/regular/input-numeric.js +15 -0
  354. package/dist/ui/icons/regular/input-text.js +15 -0
  355. package/dist/ui/icons/regular/keyboard.js +16 -0
  356. package/dist/ui/icons/regular/layer-group.js +15 -0
  357. package/dist/ui/icons/regular/life-ring.js +16 -0
  358. package/dist/ui/icons/regular/link-simple.js +15 -0
  359. package/dist/ui/icons/regular/link.js +16 -0
  360. package/dist/ui/icons/regular/list-tree.js +16 -0
  361. package/dist/ui/icons/regular/list.js +16 -0
  362. package/dist/ui/icons/regular/magnifying-glass-chart.js +15 -0
  363. package/dist/ui/icons/regular/magnifying-glass.js +16 -0
  364. package/dist/ui/icons/regular/map-location-dot.js +16 -0
  365. package/dist/ui/icons/regular/memo.js +16 -0
  366. package/dist/ui/icons/regular/octagon-exclamation.js +16 -0
  367. package/dist/ui/icons/regular/palette.js +16 -0
  368. package/dist/ui/icons/regular/paper-plane.js +16 -0
  369. package/dist/ui/icons/regular/paragraph.js +15 -0
  370. package/dist/ui/icons/regular/paste.js +15 -0
  371. package/dist/ui/icons/regular/pause.js +16 -0
  372. package/dist/ui/icons/regular/pen-paintbrush.js +15 -0
  373. package/dist/ui/icons/regular/pen-to-square.js +15 -0
  374. package/dist/ui/icons/regular/pen.js +16 -0
  375. package/dist/ui/icons/regular/people-arrows.js +16 -0
  376. package/dist/ui/icons/regular/photo-film.js +15 -0
  377. package/dist/ui/icons/regular/play.js +16 -0
  378. package/dist/ui/icons/regular/puzzle-piece.js +15 -0
  379. package/dist/ui/icons/regular/receipt.js +16 -0
  380. package/dist/ui/icons/regular/rectangle-barcode.js +15 -0
  381. package/dist/ui/icons/regular/rectangle-list.js +15 -0
  382. package/dist/ui/icons/regular/right-left.js +15 -0
  383. package/dist/ui/icons/regular/rotate-left.js +16 -0
  384. package/dist/ui/icons/regular/shield.js +15 -0
  385. package/dist/ui/icons/regular/sidebar-flip.js +16 -0
  386. package/dist/ui/icons/regular/sidebar.js +16 -0
  387. package/dist/ui/icons/regular/sliders.js +16 -0
  388. package/dist/ui/icons/regular/sparkles.js +15 -0
  389. package/dist/ui/icons/regular/square-caret-down.js +15 -0
  390. package/dist/ui/icons/regular/square-check.js +15 -0
  391. package/dist/ui/icons/regular/square-dashed.js +15 -0
  392. package/dist/ui/icons/regular/square-left.js +16 -0
  393. package/dist/ui/icons/regular/square-terminal.js +16 -0
  394. package/dist/ui/icons/regular/square-up-right.js +16 -0
  395. package/dist/ui/icons/regular/store.js +16 -0
  396. package/dist/ui/icons/regular/swap-arrows.js +15 -0
  397. package/dist/ui/icons/regular/table.js +16 -0
  398. package/dist/ui/icons/regular/tag.js +16 -0
  399. package/dist/ui/icons/regular/toggle-on.js +15 -0
  400. package/dist/ui/icons/regular/toolbox.js +16 -0
  401. package/dist/ui/icons/regular/trash-undo.js +15 -0
  402. package/dist/ui/icons/regular/trash.js +16 -0
  403. package/dist/ui/icons/regular/triangle-exclamation.js +16 -0
  404. package/dist/ui/icons/regular/turn-up.js +16 -0
  405. package/dist/ui/icons/regular/user-group.js +15 -0
  406. package/dist/ui/icons/regular/user-helmet-safety.js +16 -0
  407. package/dist/ui/icons/regular/user-lock.js +16 -0
  408. package/dist/ui/icons/regular/user-minus.js +16 -0
  409. package/dist/ui/icons/regular/user-tie.js +15 -0
  410. package/dist/ui/icons/regular/user.js +16 -0
  411. package/dist/ui/icons/regular/users.js +15 -0
  412. package/dist/ui/icons/regular/video.js +15 -0
  413. package/dist/ui/icons/regular/webhook.js +15 -0
  414. package/dist/ui/icons/regular/wrench.js +15 -0
  415. package/dist/ui/icons/regular/xmark.js +16 -0
  416. package/dist/ui/icons/solid/align-center.js +16 -0
  417. package/dist/ui/icons/solid/align-justify.js +16 -0
  418. package/dist/ui/icons/solid/align-left.js +16 -0
  419. package/dist/ui/icons/solid/align-right.js +16 -0
  420. package/dist/ui/icons/solid/arrow-rotate-left.js +16 -0
  421. package/dist/ui/icons/solid/arrow-rotate-right.js +16 -0
  422. package/dist/ui/icons/solid/bold.js +16 -0
  423. package/dist/ui/icons/solid/circle-exclamation.js +16 -0
  424. package/dist/ui/icons/solid/closed-captioning.js +15 -0
  425. package/dist/ui/icons/solid/code.js +16 -0
  426. package/dist/ui/icons/solid/compress.js +16 -0
  427. package/dist/ui/icons/solid/download.js +15 -0
  428. package/dist/ui/icons/solid/expand.js +16 -0
  429. package/dist/ui/icons/solid/file-arrow-down.js +15 -0
  430. package/dist/ui/icons/solid/file-code.js +16 -0
  431. package/dist/ui/icons/solid/grid-2.js +16 -0
  432. package/dist/ui/icons/solid/h1.js +16 -0
  433. package/dist/ui/icons/solid/h2.js +16 -0
  434. package/dist/ui/icons/solid/h3.js +16 -0
  435. package/dist/ui/icons/solid/h4.js +16 -0
  436. package/dist/ui/icons/solid/h5.js +16 -0
  437. package/dist/ui/icons/solid/h6.js +16 -0
  438. package/dist/ui/icons/solid/highlighter.js +16 -0
  439. package/dist/ui/icons/solid/horizontal-rule.js +16 -0
  440. package/dist/ui/icons/solid/image.js +16 -0
  441. package/dist/ui/icons/solid/indent.js +16 -0
  442. package/dist/ui/icons/solid/italic.js +16 -0
  443. package/dist/ui/icons/solid/link.js +16 -0
  444. package/dist/ui/icons/solid/list-ol.js +16 -0
  445. package/dist/ui/icons/solid/list-ul.js +16 -0
  446. package/dist/ui/icons/solid/location-dot.js +16 -0
  447. package/dist/ui/icons/solid/music.js +15 -0
  448. package/dist/ui/icons/solid/outdent.js +16 -0
  449. package/dist/ui/icons/solid/paragraph.js +16 -0
  450. package/dist/ui/icons/solid/plus.js +16 -0
  451. package/dist/ui/icons/solid/quote-right.js +16 -0
  452. package/dist/ui/icons/solid/rectangle-code.js +16 -0
  453. package/dist/ui/icons/solid/square-plus.js +16 -0
  454. package/dist/ui/icons/solid/strikethrough.js +16 -0
  455. package/dist/ui/icons/solid/subtitles.js +15 -0
  456. package/dist/ui/icons/solid/table.js +16 -0
  457. package/dist/ui/icons/solid/triangle-exclamation.js +16 -0
  458. package/dist/ui/icons/solid/underline.js +16 -0
  459. package/dist/ui/locales/en.js +106 -0
  460. package/dist/ui/src/BundledTexts.d.ts +26 -0
  461. package/dist/ui/src/BundledTexts.js +57 -0
  462. package/dist/ui/src/HostServicesProvider.js +26 -0
  463. package/dist/ui/src/Message.d.ts +29 -0
  464. package/dist/ui/src/Message.js +9 -0
  465. package/dist/ui/src/TextsProvider.d.ts +32 -0
  466. package/dist/ui/src/TextsProvider.js +22 -0
  467. package/dist/ui/src/UiTextKey.d.ts +2 -0
  468. package/dist/ui/src/actions/Actions/ActionTooltip.js +24 -0
  469. package/dist/ui/src/actions/Actions/Shortcut.d.ts +23 -0
  470. package/dist/ui/src/actions/Actions/Shortcut.js +45 -0
  471. package/dist/ui/src/actions/Actions/index.d.ts +3 -0
  472. package/dist/ui/src/actions/Actions/index.js +3 -0
  473. package/dist/ui/src/actions/Actions/registry.d.ts +211 -0
  474. package/dist/ui/src/actions/Actions/registry.js +580 -0
  475. package/dist/ui/src/actions/Actions/shortcuts.d.ts +85 -0
  476. package/dist/ui/src/actions/Actions/shortcuts.js +284 -0
  477. package/dist/ui/src/actions/Button.d.ts +191 -0
  478. package/dist/ui/src/actions/Button.js +164 -0
  479. package/dist/ui/src/actions/Dropdown/DropdownContext.js +12 -0
  480. package/dist/ui/src/actions/Dropdown/Footer.d.ts +15 -0
  481. package/dist/ui/src/actions/Dropdown/Footer.js +14 -0
  482. package/dist/ui/src/actions/Dropdown/Group.d.ts +26 -0
  483. package/dist/ui/src/actions/Dropdown/Group.js +19 -0
  484. package/dist/ui/src/actions/Dropdown/Menu.d.ts +47 -0
  485. package/dist/ui/src/actions/Dropdown/Menu.js +105 -0
  486. package/dist/ui/src/actions/Dropdown/MenuContent.d.ts +21 -0
  487. package/dist/ui/src/actions/Dropdown/MenuContent.js +150 -0
  488. package/dist/ui/src/actions/Dropdown/MenuContext.d.ts +9 -0
  489. package/dist/ui/src/actions/Dropdown/MenuContext.js +12 -0
  490. package/dist/ui/src/actions/Dropdown/MenuParts.d.ts +36 -0
  491. package/dist/ui/src/actions/Dropdown/MenuParts.js +77 -0
  492. package/dist/ui/src/actions/Dropdown/MenuSheet.js +26 -0
  493. package/dist/ui/src/actions/Dropdown/Option.d.ts +157 -0
  494. package/dist/ui/src/actions/Dropdown/Option.js +216 -0
  495. package/dist/ui/src/actions/Dropdown/OptionAction.d.ts +24 -0
  496. package/dist/ui/src/actions/Dropdown/OptionAction.js +31 -0
  497. package/dist/ui/src/actions/Dropdown/Separator.js +15 -0
  498. package/dist/ui/src/actions/Dropdown/Submenu.d.ts +16 -0
  499. package/dist/ui/src/actions/Dropdown/Submenu.js +92 -0
  500. package/dist/ui/src/actions/Dropdown/Text.js +12 -0
  501. package/dist/ui/src/actions/Dropdown/index.d.ts +71 -0
  502. package/dist/ui/src/actions/Dropdown/index.js +117 -0
  503. package/dist/ui/src/actions/Dropdown/placementStyle.js +18 -0
  504. package/dist/ui/src/actions/Dropdown/triggers/ButtonTrigger.d.ts +57 -0
  505. package/dist/ui/src/actions/Dropdown/triggers/ButtonTrigger.js +53 -0
  506. package/dist/ui/src/actions/Dropdown/triggers/DropdownTriggerButton.d.ts +18 -0
  507. package/dist/ui/src/actions/Dropdown/triggers/DropdownTriggerButton.js +40 -0
  508. package/dist/ui/src/actions/Dropdown/triggers/IconTrigger.d.ts +35 -0
  509. package/dist/ui/src/actions/Dropdown/triggers/IconTrigger.js +27 -0
  510. package/dist/ui/src/actions/Dropdown/triggers/PillTrigger.d.ts +20 -0
  511. package/dist/ui/src/actions/Dropdown/triggers/PillTrigger.js +28 -0
  512. package/dist/ui/src/actions/Dropdown/triggers/TextualTrigger.d.ts +16 -0
  513. package/dist/ui/src/actions/Dropdown/triggers/TextualTrigger.js +26 -0
  514. package/dist/ui/src/actions/Dropdown/triggers/handleDropdownTriggerKeyDown.js +12 -0
  515. package/dist/ui/src/actions/Dropdown/triggers/types.d.ts +7 -0
  516. package/dist/ui/src/actions/Dropdown/useCloseMenu.d.ts +7 -0
  517. package/dist/ui/src/actions/Dropdown/useCloseMenu.js +14 -0
  518. package/dist/ui/src/actions/Dropdown/useDropdownRegistry.js +15 -0
  519. package/dist/ui/src/actions/Dropdown/useTriggerLang.js +14 -0
  520. package/dist/ui/src/actions/EditorToolbar/Button.d.ts +36 -0
  521. package/dist/ui/src/actions/EditorToolbar/Button.js +42 -0
  522. package/dist/ui/src/actions/EditorToolbar/Buttons.d.ts +23 -0
  523. package/dist/ui/src/actions/EditorToolbar/Buttons.js +138 -0
  524. package/dist/ui/src/actions/EditorToolbar/Group.js +11 -0
  525. package/dist/ui/src/actions/EditorToolbar/hooks.d.ts +15 -0
  526. package/dist/ui/src/actions/EditorToolbar/hooks.js +48 -0
  527. package/dist/ui/src/actions/EditorToolbar/index.d.ts +67 -0
  528. package/dist/ui/src/actions/EditorToolbar/index.js +147 -0
  529. package/dist/ui/src/actions/MultipleSelectionActionBar.d.ts +92 -0
  530. package/dist/ui/src/actions/MultipleSelectionActionBar.js +123 -0
  531. package/dist/ui/src/actions/SplitButton/Caret.js +29 -0
  532. package/dist/ui/src/actions/SplitButton/index.d.ts +52 -0
  533. package/dist/ui/src/actions/SplitButton/index.js +38 -0
  534. package/dist/ui/src/actions/disabledReason.d.ts +28 -0
  535. package/dist/ui/src/actions/disabledReason.js +30 -0
  536. package/dist/ui/src/color/generateColorMapper.js +6 -0
  537. package/dist/ui/src/color/oklch.js +9 -0
  538. package/dist/ui/src/color/utils.js +15 -0
  539. package/dist/ui/src/content/ApiKey.d.ts +8 -0
  540. package/dist/ui/src/content/ApiKey.js +12 -0
  541. package/dist/ui/src/content/Avatar.d.ts +57 -0
  542. package/dist/ui/src/content/Avatar.js +55 -0
  543. package/dist/ui/src/content/CodeSnippet.d.ts +26 -0
  544. package/dist/ui/src/content/CodeSnippet.js +27 -0
  545. package/dist/ui/src/content/CopyButton.d.ts +8 -0
  546. package/dist/ui/src/content/CopyButton.js +22 -0
  547. package/dist/ui/src/content/CopyableId.d.ts +13 -0
  548. package/dist/ui/src/content/CopyableId.js +33 -0
  549. package/dist/ui/src/content/CopyableValue.d.ts +36 -0
  550. package/dist/ui/src/content/CopyableValue.js +58 -0
  551. package/dist/ui/src/content/DateSettings.d.ts +20 -0
  552. package/dist/ui/src/content/DateSettings.js +26 -0
  553. package/dist/ui/src/content/FeedbackDot.d.ts +19 -0
  554. package/dist/ui/src/content/FeedbackDot.js +25 -0
  555. package/dist/ui/src/content/FramedImage.d.ts +22 -0
  556. package/dist/ui/src/content/FramedImage.js +44 -0
  557. package/dist/ui/src/content/IconAvatar.d.ts +42 -0
  558. package/dist/ui/src/content/IconAvatar.js +36 -0
  559. package/dist/ui/src/content/IdText.d.ts +14 -0
  560. package/dist/ui/src/content/IdText.js +30 -0
  561. package/dist/ui/src/content/InitialsAvatar.d.ts +42 -0
  562. package/dist/ui/src/content/InitialsAvatar.js +69 -0
  563. package/dist/ui/src/content/Pill.d.ts +47 -0
  564. package/dist/ui/src/content/Pill.js +40 -0
  565. package/dist/ui/src/content/SmartDate.d.ts +34 -0
  566. package/dist/ui/src/content/SmartDate.js +24 -0
  567. package/dist/ui/src/content/UploadThreatTriangle.d.ts +8 -0
  568. package/dist/ui/src/content/UploadThreatTriangle.js +25 -0
  569. package/dist/ui/src/content/UsageMeter.d.ts +36 -0
  570. package/dist/ui/src/content/UsageMeter.js +67 -0
  571. package/dist/ui/src/content/ValidityTriangles.d.ts +38 -0
  572. package/dist/ui/src/content/ValidityTriangles.js +56 -0
  573. package/dist/ui/src/content/pillClassName.js +15 -0
  574. package/dist/ui/src/feedback/BlankSlate.d.ts +93 -0
  575. package/dist/ui/src/feedback/BlankSlate.js +93 -0
  576. package/dist/ui/src/feedback/Callout.d.ts +35 -0
  577. package/dist/ui/src/feedback/Callout.js +33 -0
  578. package/dist/ui/src/feedback/ProgressBar.d.ts +35 -0
  579. package/dist/ui/src/feedback/ProgressBar.js +28 -0
  580. package/dist/ui/src/feedback/Spinner.d.ts +66 -0
  581. package/dist/ui/src/feedback/Spinner.js +77 -0
  582. package/dist/ui/src/form/AutosizeInput.d.ts +22 -0
  583. package/dist/ui/src/form/AutosizeInput.js +14 -0
  584. package/dist/ui/src/form/DebouncedTextInput.d.ts +13 -0
  585. package/dist/ui/src/form/DebouncedTextInput.js +52 -0
  586. package/dist/ui/src/form/FieldHint.d.ts +28 -0
  587. package/dist/ui/src/form/FieldHint.js +56 -0
  588. package/dist/ui/src/form/FieldWrapper.d.ts +332 -0
  589. package/dist/ui/src/form/FieldWrapper.js +115 -0
  590. package/dist/ui/src/form/FormAppContext.js +9 -0
  591. package/dist/ui/src/form/InputGroup.d.ts +78 -0
  592. package/dist/ui/src/form/InputGroup.js +98 -0
  593. package/dist/ui/src/form/KeyValueList.d.ts +60 -0
  594. package/dist/ui/src/form/KeyValueList.js +80 -0
  595. package/dist/ui/src/form/Label.d.ts +45 -0
  596. package/dist/ui/src/form/Label.js +46 -0
  597. package/dist/ui/src/form/NumberInput.d.ts +23 -0
  598. package/dist/ui/src/form/NumberInput.js +54 -0
  599. package/dist/ui/src/form/PasswordInput.d.ts +16 -0
  600. package/dist/ui/src/form/PasswordInput.js +54 -0
  601. package/dist/ui/src/form/RadioGroupInput.d.ts +42 -0
  602. package/dist/ui/src/form/RadioGroupInput.js +85 -0
  603. package/dist/ui/src/form/SelectInput/Context.js +8 -0
  604. package/dist/ui/src/form/SelectInput/SelectClearIndicator.js +17 -0
  605. package/dist/ui/src/form/SelectInput/SelectDropdownIndicator.js +14 -0
  606. package/dist/ui/src/form/SelectInput/SelectEmpty.js +10 -0
  607. package/dist/ui/src/form/SelectInput/SelectGroup.js +13 -0
  608. package/dist/ui/src/form/SelectInput/SelectInputElement.js +15 -0
  609. package/dist/ui/src/form/SelectInput/SelectMenu.d.ts +46 -0
  610. package/dist/ui/src/form/SelectInput/SelectMenu.js +89 -0
  611. package/dist/ui/src/form/SelectInput/SelectMultiValueRemove.js +27 -0
  612. package/dist/ui/src/form/SelectInput/SelectOption.js +22 -0
  613. package/dist/ui/src/form/SelectInput/SortableMultiValue.js +30 -0
  614. package/dist/ui/src/form/SelectInput/SortableValueContainer.js +19 -0
  615. package/dist/ui/src/form/SelectInput/index.d.ts +112 -0
  616. package/dist/ui/src/form/SelectInput/index.js +181 -0
  617. package/dist/ui/src/form/SelectInput/useSelectClassNames.js +63 -0
  618. package/dist/ui/src/form/SelectInput/useSelectValueAdapter.js +48 -0
  619. package/dist/ui/src/form/StringInput.d.ts +23 -0
  620. package/dist/ui/src/form/StringInput.js +29 -0
  621. package/dist/ui/src/form/SwitchInput.d.ts +35 -0
  622. package/dist/ui/src/form/SwitchInput.js +84 -0
  623. package/dist/ui/src/form/SwitchList.d.ts +16 -0
  624. package/dist/ui/src/form/SwitchList.js +25 -0
  625. package/dist/ui/src/form/TableList.d.ts +206 -0
  626. package/dist/ui/src/form/TableList.js +273 -0
  627. package/dist/ui/src/form/TextareaInput.d.ts +35 -0
  628. package/dist/ui/src/form/TextareaInput.js +73 -0
  629. package/dist/ui/src/form/getEditState.js +12 -0
  630. package/dist/ui/src/form/inputProps.d.ts +119 -0
  631. package/dist/ui/src/form/useTextInputHandlers.js +37 -0
  632. package/dist/ui/src/hooks/useAsyncSelectOptions.d.ts +52 -0
  633. package/dist/ui/src/hooks/useAsyncSelectOptions.js +85 -0
  634. package/dist/ui/src/hooks/useAutoincrementIntegerId.js +11 -0
  635. package/dist/ui/src/hooks/useClickOutside.d.ts +1 -0
  636. package/dist/ui/src/hooks/useClickOutside.js +21 -0
  637. package/dist/ui/src/hooks/useCopyToClipboard.d.ts +4 -0
  638. package/dist/ui/src/hooks/useCopyToClipboard.js +22 -0
  639. package/dist/ui/src/hooks/useDebounceOnBoolean.d.ts +1 -0
  640. package/dist/ui/src/hooks/useDebounceOnBoolean.js +26 -0
  641. package/dist/ui/src/hooks/useDebouncedCallback.d.ts +1 -0
  642. package/dist/ui/src/hooks/useDebouncedCallback.js +12 -0
  643. package/dist/ui/src/hooks/useDebouncedValue.d.ts +6 -0
  644. package/dist/ui/src/hooks/useDebouncedValue.js +17 -0
  645. package/dist/ui/src/hooks/useDeepCompareEffect.d.ts +2 -0
  646. package/dist/ui/src/hooks/useDeepCompareEffect.js +14 -0
  647. package/dist/ui/src/hooks/useDidUpdateEffect.d.ts +2 -0
  648. package/dist/ui/src/hooks/useDidUpdateEffect.js +13 -0
  649. package/dist/ui/src/hooks/useElementLayout.d.ts +8 -0
  650. package/dist/ui/src/hooks/useElementLayout.js +56 -0
  651. package/dist/ui/src/hooks/useMediaQuery.d.ts +13 -0
  652. package/dist/ui/src/hooks/useMediaQuery.js +52 -0
  653. package/dist/ui/src/hooks/useRovingKeyDown.d.ts +9 -0
  654. package/dist/ui/src/hooks/useRovingKeyDown.js +55 -0
  655. package/dist/ui/src/hooks/useShallowEqual.d.ts +2 -0
  656. package/dist/ui/src/hooks/useShallowEqual.js +15 -0
  657. package/dist/ui/src/hooks/useSmartRowClick.d.ts +16 -0
  658. package/dist/ui/src/hooks/useSmartRowClick.js +31 -0
  659. package/dist/ui/src/i18n.js +84 -0
  660. package/dist/ui/src/layout/ListOrOverview.d.ts +49 -0
  661. package/dist/ui/src/layout/ListOrOverview.js +26 -0
  662. package/dist/ui/src/layout/Page/Page.d.ts +21 -0
  663. package/dist/ui/src/layout/Page/Page.js +20 -0
  664. package/dist/ui/src/layout/Page/PageContent.d.ts +7 -0
  665. package/dist/ui/src/layout/Page/PageContent.js +13 -0
  666. package/dist/ui/src/layout/Page/PageGroup.d.ts +74 -0
  667. package/dist/ui/src/layout/Page/PageGroup.js +62 -0
  668. package/dist/ui/src/layout/Page/PageSection.d.ts +47 -0
  669. package/dist/ui/src/layout/Page/PageSection.js +48 -0
  670. package/dist/ui/src/layout/Page/index.d.ts +16 -0
  671. package/dist/ui/src/layout/Page/index.js +15 -0
  672. package/dist/ui/src/layout/Pagination.d.ts +27 -0
  673. package/dist/ui/src/layout/Pagination.js +64 -0
  674. package/dist/ui/src/layout/Pane/FormHeader.d.ts +72 -0
  675. package/dist/ui/src/layout/Pane/FormHeader.js +69 -0
  676. package/dist/ui/src/layout/Pane/ListFilter.d.ts +48 -0
  677. package/dist/ui/src/layout/Pane/ListFilter.js +106 -0
  678. package/dist/ui/src/layout/Pane/ListPresets.d.ts +45 -0
  679. package/dist/ui/src/layout/Pane/ListPresets.js +35 -0
  680. package/dist/ui/src/layout/Pane/PaneAriaLabel.d.ts +2 -0
  681. package/dist/ui/src/layout/Pane/PaneAriaLabel.js +9 -0
  682. package/dist/ui/src/layout/Pane/PaneHeader.d.ts +64 -0
  683. package/dist/ui/src/layout/Pane/PaneHeader.js +111 -0
  684. package/dist/ui/src/layout/Pane/PaneRegion.d.ts +14 -0
  685. package/dist/ui/src/layout/Pane/PaneRegion.js +23 -0
  686. package/dist/ui/src/layout/Pane/PaneTitleId.js +9 -0
  687. package/dist/ui/src/layout/Pane/index.d.ts +167 -0
  688. package/dist/ui/src/layout/Pane/index.js +104 -0
  689. package/dist/ui/src/layout/SidebarPanel.d.ts +96 -0
  690. package/dist/ui/src/layout/SidebarPanel.js +81 -0
  691. package/dist/ui/src/layout/SplitPane.d.ts +76 -0
  692. package/dist/ui/src/layout/SplitPane.js +319 -0
  693. package/dist/ui/src/layout/SplitView/SashActionButton.js +58 -0
  694. package/dist/ui/src/layout/SplitView/SplitView.js +197 -0
  695. package/dist/ui/src/layout/SplitView/SplitViewPane.js +12 -0
  696. package/dist/ui/src/layout/SplitView/SplitViewSash.js +56 -0
  697. package/dist/ui/src/layout/Toolbar/AddNewButton.d.ts +41 -0
  698. package/dist/ui/src/layout/Toolbar/AddNewButton.js +43 -0
  699. package/dist/ui/src/layout/Toolbar/Button.js +17 -0
  700. package/dist/ui/src/layout/Toolbar/Divider.d.ts +8 -0
  701. package/dist/ui/src/layout/Toolbar/Divider.js +16 -0
  702. package/dist/ui/src/layout/Toolbar/DotsDropdown.d.ts +20 -0
  703. package/dist/ui/src/layout/Toolbar/DotsDropdown.js +25 -0
  704. package/dist/ui/src/layout/Toolbar/Fill.d.ts +13 -0
  705. package/dist/ui/src/layout/Toolbar/Fill.js +16 -0
  706. package/dist/ui/src/layout/Toolbar/FilterInput.d.ts +38 -0
  707. package/dist/ui/src/layout/Toolbar/FilterInput.js +80 -0
  708. package/dist/ui/src/layout/Toolbar/FilterToggle.d.ts +33 -0
  709. package/dist/ui/src/layout/Toolbar/FilterToggle.js +97 -0
  710. package/dist/ui/src/layout/Toolbar/GoBack.d.ts +32 -0
  711. package/dist/ui/src/layout/Toolbar/GoBack.js +33 -0
  712. package/dist/ui/src/layout/Toolbar/Group.d.ts +18 -0
  713. package/dist/ui/src/layout/Toolbar/Group.js +17 -0
  714. package/dist/ui/src/layout/Toolbar/Help.d.ts +29 -0
  715. package/dist/ui/src/layout/Toolbar/Help.js +55 -0
  716. package/dist/ui/src/layout/Toolbar/Note.d.ts +10 -0
  717. package/dist/ui/src/layout/Toolbar/Note.js +16 -0
  718. package/dist/ui/src/layout/Toolbar/Pagination.d.ts +31 -0
  719. package/dist/ui/src/layout/Toolbar/Pagination.js +53 -0
  720. package/dist/ui/src/layout/Toolbar/PresetsTitle.d.ts +38 -0
  721. package/dist/ui/src/layout/Toolbar/PresetsTitle.js +48 -0
  722. package/dist/ui/src/layout/Toolbar/PrimaryButton.d.ts +53 -0
  723. package/dist/ui/src/layout/Toolbar/PrimaryButton.js +57 -0
  724. package/dist/ui/src/layout/Toolbar/Root.d.ts +30 -0
  725. package/dist/ui/src/layout/Toolbar/Root.js +35 -0
  726. package/dist/ui/src/layout/Toolbar/Search.d.ts +20 -0
  727. package/dist/ui/src/layout/Toolbar/Search.js +27 -0
  728. package/dist/ui/src/layout/Toolbar/Space.d.ts +4 -0
  729. package/dist/ui/src/layout/Toolbar/Space.js +9 -0
  730. package/dist/ui/src/layout/Toolbar/Spinner.d.ts +8 -0
  731. package/dist/ui/src/layout/Toolbar/Spinner.js +13 -0
  732. package/dist/ui/src/layout/Toolbar/Subtitle.d.ts +10 -0
  733. package/dist/ui/src/layout/Toolbar/Subtitle.js +12 -0
  734. package/dist/ui/src/layout/Toolbar/TextualDropdown.d.ts +13 -0
  735. package/dist/ui/src/layout/Toolbar/TextualDropdown.js +20 -0
  736. package/dist/ui/src/layout/Toolbar/Title.d.ts +23 -0
  737. package/dist/ui/src/layout/Toolbar/Title.js +43 -0
  738. package/dist/ui/src/layout/Toolbar/ToolbarTitleTrigger.js +23 -0
  739. package/dist/ui/src/layout/Toolbar/context.js +10 -0
  740. package/dist/ui/src/layout/Toolbar/index.d.ts +48 -0
  741. package/dist/ui/src/layout/Toolbar/index.js +51 -0
  742. package/dist/ui/src/layout/sidebarPanelStorage.d.ts +6 -0
  743. package/dist/ui/src/layout/sidebarPanelStorage.js +33 -0
  744. package/dist/ui/src/lists/ActionOrMenu.d.ts +34 -0
  745. package/dist/ui/src/lists/CardList.d.ts +120 -0
  746. package/dist/ui/src/lists/CardList.js +138 -0
  747. package/dist/ui/src/lists/EmptySlot.d.ts +35 -0
  748. package/dist/ui/src/lists/EmptySlot.js +54 -0
  749. package/dist/ui/src/lists/EntityRow.d.ts +57 -0
  750. package/dist/ui/src/lists/EntityRow.js +48 -0
  751. package/dist/ui/src/lists/EntitySummary.d.ts +16 -0
  752. package/dist/ui/src/lists/EntitySummary.js +27 -0
  753. package/dist/ui/src/lists/InfoList.d.ts +45 -0
  754. package/dist/ui/src/lists/InfoList.js +58 -0
  755. package/dist/ui/src/lists/InsertGap.d.ts +41 -0
  756. package/dist/ui/src/lists/InsertGap.js +74 -0
  757. package/dist/ui/src/lists/ListArea.d.ts +17 -0
  758. package/dist/ui/src/lists/ListArea.js +18 -0
  759. package/dist/ui/src/lists/MediaCard.d.ts +139 -0
  760. package/dist/ui/src/lists/MediaCard.js +144 -0
  761. package/dist/ui/src/lists/RowList.d.ts +63 -0
  762. package/dist/ui/src/lists/RowList.js +72 -0
  763. package/dist/ui/src/lists/SettingsList.d.ts +40 -0
  764. package/dist/ui/src/lists/SettingsList.js +47 -0
  765. package/dist/ui/src/lists/Table/Body.d.ts +21 -0
  766. package/dist/ui/src/lists/Table/Body.js +47 -0
  767. package/dist/ui/src/lists/Table/Cell.d.ts +47 -0
  768. package/dist/ui/src/lists/Table/Cell.js +42 -0
  769. package/dist/ui/src/lists/Table/ColumnsMenu.js +48 -0
  770. package/dist/ui/src/lists/Table/Header.d.ts +22 -0
  771. package/dist/ui/src/lists/Table/Header.js +132 -0
  772. package/dist/ui/src/lists/Table/HeaderCell.js +67 -0
  773. package/dist/ui/src/lists/Table/Row.d.ts +139 -0
  774. package/dist/ui/src/lists/Table/Row.js +211 -0
  775. package/dist/ui/src/lists/Table/Table.d.ts +61 -0
  776. package/dist/ui/src/lists/Table/Table.js +100 -0
  777. package/dist/ui/src/lists/Table/TableContext.js +17 -0
  778. package/dist/ui/src/lists/Table/TreeToggle.d.ts +34 -0
  779. package/dist/ui/src/lists/Table/TreeToggle.js +49 -0
  780. package/dist/ui/src/lists/Table/cells/IconCell.d.ts +11 -0
  781. package/dist/ui/src/lists/Table/cells/IconCell.js +17 -0
  782. package/dist/ui/src/lists/Table/cells/LinkCell.d.ts +11 -0
  783. package/dist/ui/src/lists/Table/cells/LinkCell.js +15 -0
  784. package/dist/ui/src/lists/Table/cells/StatusCell.d.ts +12 -0
  785. package/dist/ui/src/lists/Table/cells/StatusCell.js +14 -0
  786. package/dist/ui/src/lists/Table/cells/TimeCell.d.ts +9 -0
  787. package/dist/ui/src/lists/Table/cells/TimeCell.js +18 -0
  788. package/dist/ui/src/lists/Table/index.d.ts +17 -0
  789. package/dist/ui/src/lists/Table/index.js +18 -0
  790. package/dist/ui/src/lists/Table/layout.d.ts +19 -0
  791. package/dist/ui/src/lists/Table/layout.js +115 -0
  792. package/dist/ui/src/lists/Table/storage.d.ts +7 -0
  793. package/dist/ui/src/lists/Table/storage.js +26 -0
  794. package/dist/ui/src/lists/Table/types.d.ts +55 -0
  795. package/dist/ui/src/lists/Table/useClientSort.d.ts +14 -0
  796. package/dist/ui/src/lists/Table/useClientSort.js +31 -0
  797. package/dist/ui/src/lists/dnd/DragHandle.d.ts +19 -0
  798. package/dist/ui/src/lists/dnd/DragHandle.js +19 -0
  799. package/dist/ui/src/lists/dnd/DropIndicator.d.ts +21 -0
  800. package/dist/ui/src/lists/dnd/DropIndicator.js +18 -0
  801. package/dist/ui/src/lists/dnd/SortableList.d.ts +101 -0
  802. package/dist/ui/src/lists/dnd/SortableList.js +238 -0
  803. package/dist/ui/src/lists/dnd/autoScroll.js +53 -0
  804. package/dist/ui/src/lists/dnd/dropTargetClassName.d.ts +25 -0
  805. package/dist/ui/src/lists/dnd/dropTargetClassName.js +18 -0
  806. package/dist/ui/src/lists/dnd/getGapTo.js +14 -0
  807. package/dist/ui/src/lists/dnd/index.d.ts +16 -0
  808. package/dist/ui/src/lists/dnd/index.js +16 -0
  809. package/dist/ui/src/lists/dnd/reorder.d.ts +7 -0
  810. package/dist/ui/src/lists/dnd/reorder.js +16 -0
  811. package/dist/ui/src/lists/dnd/tree/SortableTree.d.ts +69 -0
  812. package/dist/ui/src/lists/dnd/tree/SortableTree.js +331 -0
  813. package/dist/ui/src/lists/dnd/tree/TreeRowContext.d.ts +8 -0
  814. package/dist/ui/src/lists/dnd/tree/TreeRowContext.js +10 -0
  815. package/dist/ui/src/lists/dnd/tree/types.d.ts +53 -0
  816. package/dist/ui/src/lists/dnd/tree/useTreeKeyboardNavigation.js +59 -0
  817. package/dist/ui/src/lists/dnd/tree/utils.d.ts +8 -0
  818. package/dist/ui/src/lists/dnd/tree/utils.js +96 -0
  819. package/dist/ui/src/lists/dnd/types.d.ts +7 -0
  820. package/dist/ui/src/lists/dnd/types.js +6 -0
  821. package/dist/ui/src/lists/dnd/useDragMonitor.d.ts +11 -0
  822. package/dist/ui/src/lists/dnd/useDragMonitor.js +40 -0
  823. package/dist/ui/src/lists/dnd/useDraggable.d.ts +17 -0
  824. package/dist/ui/src/lists/dnd/useDraggable.js +66 -0
  825. package/dist/ui/src/lists/dnd/useDropTarget.d.ts +19 -0
  826. package/dist/ui/src/lists/dnd/useDropTarget.js +53 -0
  827. package/dist/ui/src/lists/dnd/useFileDropTarget.d.ts +20 -0
  828. package/dist/ui/src/lists/dnd/useFileDropTarget.js +53 -0
  829. package/dist/ui/src/lists/dnd/useFilePicker.d.ts +15 -0
  830. package/dist/ui/src/lists/dnd/useFilePicker.js +28 -0
  831. package/dist/ui/src/lists/dnd/useIsFileDragActive.d.ts +1 -0
  832. package/dist/ui/src/lists/dnd/useIsFileDragActive.js +28 -0
  833. package/dist/ui/src/navigation/Chevron.d.ts +40 -0
  834. package/dist/ui/src/navigation/Chevron.js +56 -0
  835. package/dist/ui/src/navigation/Link.d.ts +58 -0
  836. package/dist/ui/src/navigation/Link.js +40 -0
  837. package/dist/ui/src/navigation/NavList.d.ts +29 -0
  838. package/dist/ui/src/navigation/NavList.js +31 -0
  839. package/dist/ui/src/navigation/NavigationProvider.d.ts +61 -0
  840. package/dist/ui/src/navigation/NavigationProvider.js +55 -0
  841. package/dist/ui/src/navigation/SegmentedControl.d.ts +70 -0
  842. package/dist/ui/src/navigation/SegmentedControl.js +58 -0
  843. package/dist/ui/src/navigation/SettingsMenu.d.ts +107 -0
  844. package/dist/ui/src/navigation/SettingsMenu.js +91 -0
  845. package/dist/ui/src/navigation/SidebarTree/SidebarTreeNode.d.ts +114 -0
  846. package/dist/ui/src/navigation/SidebarTree/SidebarTreeNode.js +173 -0
  847. package/dist/ui/src/navigation/SidebarTree/SidebarTreeNodeActions.d.ts +30 -0
  848. package/dist/ui/src/navigation/SidebarTree/SidebarTreeNodeActions.js +62 -0
  849. package/dist/ui/src/navigation/SidebarTree/index.d.ts +6 -0
  850. package/dist/ui/src/navigation/SidebarTree/index.js +9 -0
  851. package/dist/ui/src/navigation/Tabs.d.ts +125 -0
  852. package/dist/ui/src/navigation/Tabs.js +151 -0
  853. package/dist/ui/src/overlays/FullscreenModal.d.ts +41 -0
  854. package/dist/ui/src/overlays/FullscreenModal.js +81 -0
  855. package/dist/ui/src/overlays/HoverCard.d.ts +55 -0
  856. package/dist/ui/src/overlays/HoverCard.js +70 -0
  857. package/dist/ui/src/overlays/Modal.d.ts +56 -0
  858. package/dist/ui/src/overlays/Modal.js +134 -0
  859. package/dist/ui/src/overlays/NewZIndex.d.ts +14 -0
  860. package/dist/ui/src/overlays/NewZIndex.js +19 -0
  861. package/dist/ui/src/overlays/Popover.d.ts +50 -0
  862. package/dist/ui/src/overlays/Popover.js +77 -0
  863. package/dist/ui/src/overlays/Portal.d.ts +12 -0
  864. package/dist/ui/src/overlays/Portal.js +33 -0
  865. package/dist/ui/src/overlays/PortalWrapper.js +22 -0
  866. package/dist/ui/src/overlays/Tooltip.d.ts +58 -0
  867. package/dist/ui/src/overlays/Tooltip.js +93 -0
  868. package/dist/ui/src/overlays/confirmQuestion.js +61 -0
  869. package/dist/ui/src/overlays/floatingTrigger.d.ts +3 -0
  870. package/dist/ui/src/overlays/floatingTrigger.js +13 -0
  871. package/dist/ui/src/overlays/useModalClose.js +134 -0
  872. package/dist/ui/src/patterns/ListDetail/Overview.js +16 -0
  873. package/dist/ui/src/patterns/ListDetail/Page.d.ts +118 -0
  874. package/dist/ui/src/patterns/ListDetail/Page.js +132 -0
  875. package/dist/ui/src/patterns/ListDetail/Panel.d.ts +62 -0
  876. package/dist/ui/src/patterns/ListDetail/Panel.js +72 -0
  877. package/dist/ui/src/patterns/ListDetail/Split.d.ts +37 -0
  878. package/dist/ui/src/patterns/ListDetail/Split.js +175 -0
  879. package/dist/ui/src/patterns/ListDetail/Widths.d.ts +13 -0
  880. package/dist/ui/src/patterns/ListDetail/Widths.js +21 -0
  881. package/dist/ui/src/patterns/ListDetail/index.d.ts +12 -0
  882. package/dist/ui/src/patterns/ListDetail/index.js +14 -0
  883. package/dist/ui/src/patterns/ListFormPage.d.ts +38 -0
  884. package/dist/ui/src/patterns/ListFormPage.js +29 -0
  885. package/dist/ui/src/semantic/Aside.d.ts +28 -0
  886. package/dist/ui/src/semantic/Aside.js +19 -0
  887. package/dist/ui/src/semantic/Heading.d.ts +22 -0
  888. package/dist/ui/src/semantic/Heading.js +26 -0
  889. package/dist/ui/src/semantic/Main.d.ts +12 -0
  890. package/dist/ui/src/semantic/Main.js +67 -0
  891. package/dist/ui/src/semantic/Nav.d.ts +24 -0
  892. package/dist/ui/src/semantic/Nav.js +20 -0
  893. package/dist/ui/src/semantic/NavigationFocusProvider.js +9 -0
  894. package/dist/ui/src/semantic/RawButton.d.ts +91 -0
  895. package/dist/ui/src/semantic/RawButton.js +57 -0
  896. package/dist/ui/src/semantic/Search.d.ts +26 -0
  897. package/dist/ui/src/semantic/Search.js +20 -0
  898. package/dist/ui/src/utils/escapeHtml.js +6 -0
  899. package/dist/ui/src/utils/events.js +6 -0
  900. package/dist/ui/src/utils/formatDate.d.ts +62 -0
  901. package/dist/ui/src/utils/formatDate.js +95 -0
  902. package/dist/ui/src/utils/isDefined.js +6 -0
  903. package/dist/ui/src/utils/localeDirection.js +11 -0
  904. package/dist/ui/src/utils/mouseHoverProps.js +13 -0
  905. package/dist/ui/src/utils/pointerNearGap.d.ts +5 -0
  906. package/dist/ui/src/utils/pointerNearGap.js +56 -0
  907. package/dist/ui/src/utils/randomKey.js +10 -0
  908. package/dist/ui/src/utils/times.js +6 -0
  909. package/dist/ui/src/utils/types.d.ts +11 -0
  910. package/dist/utils/formatDate.d.ts +1 -0
  911. package/dist/utils/formatDate.js +2 -0
  912. package/package.json +71 -43
  913. package/LICENSE.md +0 -21
  914. package/dist/cjs/Button/index.js +0 -94
  915. package/dist/cjs/Button/index.js.map +0 -1
  916. package/dist/cjs/Button/styles.module.css.json +0 -1
  917. package/dist/cjs/ButtonGroup/Button/index.js +0 -19
  918. package/dist/cjs/ButtonGroup/Button/index.js.map +0 -1
  919. package/dist/cjs/ButtonGroup/Button/styles.module.css.json +0 -1
  920. package/dist/cjs/ButtonGroup/Group/index.js +0 -29
  921. package/dist/cjs/ButtonGroup/Group/index.js.map +0 -1
  922. package/dist/cjs/ButtonGroup/Group/styles.module.css.json +0 -1
  923. package/dist/cjs/ButtonGroup/index.js +0 -8
  924. package/dist/cjs/ButtonGroup/index.js.map +0 -1
  925. package/dist/cjs/Canvas/index.js +0 -458
  926. package/dist/cjs/Canvas/index.js.map +0 -1
  927. package/dist/cjs/Canvas/styles.module.css.json +0 -1
  928. package/dist/cjs/ContextInspector/index.js +0 -142
  929. package/dist/cjs/ContextInspector/index.js.map +0 -1
  930. package/dist/cjs/ContextInspector/styles.module.css.json +0 -1
  931. package/dist/cjs/Dropdown/Dropdown.js +0 -135
  932. package/dist/cjs/Dropdown/Dropdown.js.map +0 -1
  933. package/dist/cjs/Dropdown/DropdownContext.js +0 -9
  934. package/dist/cjs/Dropdown/DropdownContext.js.map +0 -1
  935. package/dist/cjs/Dropdown/Group.js +0 -16
  936. package/dist/cjs/Dropdown/Group.js.map +0 -1
  937. package/dist/cjs/Dropdown/Menu.js +0 -248
  938. package/dist/cjs/Dropdown/Menu.js.map +0 -1
  939. package/dist/cjs/Dropdown/MenuContext.js +0 -12
  940. package/dist/cjs/Dropdown/MenuContext.js.map +0 -1
  941. package/dist/cjs/Dropdown/Option.js +0 -104
  942. package/dist/cjs/Dropdown/Option.js.map +0 -1
  943. package/dist/cjs/Dropdown/OptionAction.js +0 -29
  944. package/dist/cjs/Dropdown/OptionAction.js.map +0 -1
  945. package/dist/cjs/Dropdown/Portal.js +0 -35
  946. package/dist/cjs/Dropdown/Portal.js.map +0 -1
  947. package/dist/cjs/Dropdown/Separator.js +0 -41
  948. package/dist/cjs/Dropdown/Separator.js.map +0 -1
  949. package/dist/cjs/Dropdown/Text.js +0 -14
  950. package/dist/cjs/Dropdown/Text.js.map +0 -1
  951. package/dist/cjs/Dropdown/index.js +0 -18
  952. package/dist/cjs/Dropdown/index.js.map +0 -1
  953. package/dist/cjs/Dropdown/styles.module.css.json +0 -1
  954. package/dist/cjs/FieldError/index.js +0 -14
  955. package/dist/cjs/FieldError/index.js.map +0 -1
  956. package/dist/cjs/FieldError/styles.module.css.json +0 -1
  957. package/dist/cjs/FieldGroup/index.js +0 -40
  958. package/dist/cjs/FieldGroup/index.js.map +0 -1
  959. package/dist/cjs/FieldGroup/styles.module.css.json +0 -1
  960. package/dist/cjs/FieldHint/index.js +0 -14
  961. package/dist/cjs/FieldHint/index.js.map +0 -1
  962. package/dist/cjs/FieldHint/styles.module.css.json +0 -1
  963. package/dist/cjs/FieldWrapper/index.js +0 -29
  964. package/dist/cjs/FieldWrapper/index.js.map +0 -1
  965. package/dist/cjs/Form/index.js +0 -173
  966. package/dist/cjs/Form/index.js.map +0 -1
  967. package/dist/cjs/Form/styles.module.css.json +0 -1
  968. package/dist/cjs/FormLabel/index.js +0 -45
  969. package/dist/cjs/FormLabel/index.js.map +0 -1
  970. package/dist/cjs/FormLabel/styles.module.css.json +0 -1
  971. package/dist/cjs/HotKey/index.js +0 -105
  972. package/dist/cjs/HotKey/index.js.map +0 -1
  973. package/dist/cjs/HotKey/styles.module.css.json +0 -1
  974. package/dist/cjs/Section/index.js +0 -70
  975. package/dist/cjs/Section/index.js.map +0 -1
  976. package/dist/cjs/Section/styles.module.css.json +0 -1
  977. package/dist/cjs/SelectField/index.js +0 -44
  978. package/dist/cjs/SelectField/index.js.map +0 -1
  979. package/dist/cjs/SelectInput/index.js +0 -158
  980. package/dist/cjs/SelectInput/index.js.map +0 -1
  981. package/dist/cjs/SidebarPanel/index.js +0 -85
  982. package/dist/cjs/SidebarPanel/index.js.map +0 -1
  983. package/dist/cjs/SidebarPanel/styles.module.css.json +0 -1
  984. package/dist/cjs/Spinner/index.js +0 -64
  985. package/dist/cjs/Spinner/index.js.map +0 -1
  986. package/dist/cjs/Spinner/styles.module.css.json +0 -1
  987. package/dist/cjs/SplitView/SplitViewPane/index.js +0 -14
  988. package/dist/cjs/SplitView/SplitViewPane/index.js.map +0 -1
  989. package/dist/cjs/SplitView/SplitViewPane/styles.module.css.json +0 -1
  990. package/dist/cjs/SplitView/SplitViewSash/index.js +0 -76
  991. package/dist/cjs/SplitView/SplitViewSash/index.js.map +0 -1
  992. package/dist/cjs/SplitView/SplitViewSash/styles.module.css.json +0 -1
  993. package/dist/cjs/SplitView/index.js +0 -206
  994. package/dist/cjs/SplitView/index.js.map +0 -1
  995. package/dist/cjs/SplitView/styles.module.css.json +0 -1
  996. package/dist/cjs/SplitView/types.js +0 -3
  997. package/dist/cjs/SplitView/types.js.map +0 -1
  998. package/dist/cjs/SwitchField/index.js +0 -34
  999. package/dist/cjs/SwitchField/index.js.map +0 -1
  1000. package/dist/cjs/SwitchField/styles.module.css.json +0 -1
  1001. package/dist/cjs/SwitchInput/index.js +0 -61
  1002. package/dist/cjs/SwitchInput/index.js.map +0 -1
  1003. package/dist/cjs/SwitchInput/styles.module.css.json +0 -1
  1004. package/dist/cjs/TextField/index.js +0 -26
  1005. package/dist/cjs/TextField/index.js.map +0 -1
  1006. package/dist/cjs/TextInput/index.js +0 -49
  1007. package/dist/cjs/TextInput/index.js.map +0 -1
  1008. package/dist/cjs/TextInput/styles.module.css.json +0 -1
  1009. package/dist/cjs/TextareaField/index.js +0 -26
  1010. package/dist/cjs/TextareaField/index.js.map +0 -1
  1011. package/dist/cjs/TextareaInput/index.js +0 -49
  1012. package/dist/cjs/TextareaInput/index.js.map +0 -1
  1013. package/dist/cjs/TextareaInput/styles.module.css.json +0 -1
  1014. package/dist/cjs/Toolbar/Button/index.js +0 -15
  1015. package/dist/cjs/Toolbar/Button/index.js.map +0 -1
  1016. package/dist/cjs/Toolbar/Button/styles.module.css.json +0 -1
  1017. package/dist/cjs/Toolbar/Stack/index.js +0 -19
  1018. package/dist/cjs/Toolbar/Stack/index.js.map +0 -1
  1019. package/dist/cjs/Toolbar/Stack/styles.module.css.json +0 -1
  1020. package/dist/cjs/Toolbar/Title/index.js +0 -15
  1021. package/dist/cjs/Toolbar/Title/index.js.map +0 -1
  1022. package/dist/cjs/Toolbar/Title/styles.module.css.json +0 -1
  1023. package/dist/cjs/Toolbar/Toolbar/index.js +0 -99
  1024. package/dist/cjs/Toolbar/Toolbar/index.js.map +0 -1
  1025. package/dist/cjs/Toolbar/Toolbar/styles.module.css.json +0 -1
  1026. package/dist/cjs/Toolbar/index.js +0 -12
  1027. package/dist/cjs/Toolbar/index.js.map +0 -1
  1028. package/dist/cjs/Tooltip/Tooltip/index.js +0 -116
  1029. package/dist/cjs/Tooltip/Tooltip/index.js.map +0 -1
  1030. package/dist/cjs/Tooltip/TooltipContent/index.js +0 -147
  1031. package/dist/cjs/Tooltip/TooltipContent/index.js.map +0 -1
  1032. package/dist/cjs/Tooltip/TooltipContent/styles.module.css.json +0 -1
  1033. package/dist/cjs/Tooltip/TooltipDelayGroup/index.js +0 -140
  1034. package/dist/cjs/Tooltip/TooltipDelayGroup/index.js.map +0 -1
  1035. package/dist/cjs/Tooltip/TooltipTrigger/index.js +0 -102
  1036. package/dist/cjs/Tooltip/TooltipTrigger/index.js.map +0 -1
  1037. package/dist/cjs/Tooltip/index.js +0 -12
  1038. package/dist/cjs/Tooltip/index.js.map +0 -1
  1039. package/dist/cjs/Tooltip/utils.js +0 -165
  1040. package/dist/cjs/Tooltip/utils.js.map +0 -1
  1041. package/dist/cjs/VerticalSplit/index.js +0 -337
  1042. package/dist/cjs/VerticalSplit/index.js.map +0 -1
  1043. package/dist/cjs/VerticalSplit/styles.module.css.json +0 -1
  1044. package/dist/cjs/generateStyleFromCtx/index.js +0 -169
  1045. package/dist/cjs/generateStyleFromCtx/index.js.map +0 -1
  1046. package/dist/cjs/icons.js +0 -56
  1047. package/dist/cjs/icons.js.map +0 -1
  1048. package/dist/cjs/index.js +0 -47
  1049. package/dist/cjs/index.js.map +0 -1
  1050. package/dist/cjs/mergeRefs/index.js +0 -20
  1051. package/dist/cjs/mergeRefs/index.js.map +0 -1
  1052. package/dist/cjs/useClickOutside/index.js +0 -25
  1053. package/dist/cjs/useClickOutside/index.js.map +0 -1
  1054. package/dist/cjs/useMediaQuery/index.js +0 -158
  1055. package/dist/cjs/useMediaQuery/index.js.map +0 -1
  1056. package/dist/esm/Button/index.d.ts +0 -91
  1057. package/dist/esm/Button/index.js +0 -86
  1058. package/dist/esm/Button/index.js.map +0 -1
  1059. package/dist/esm/Button/styles.module.css.json +0 -1
  1060. package/dist/esm/ButtonGroup/Button/index.d.ts +0 -10
  1061. package/dist/esm/ButtonGroup/Button/index.js +0 -12
  1062. package/dist/esm/ButtonGroup/Button/index.js.map +0 -1
  1063. package/dist/esm/ButtonGroup/Button/styles.module.css.json +0 -1
  1064. package/dist/esm/ButtonGroup/Group/index.d.ts +0 -21
  1065. package/dist/esm/ButtonGroup/Group/index.js +0 -22
  1066. package/dist/esm/ButtonGroup/Group/index.js.map +0 -1
  1067. package/dist/esm/ButtonGroup/Group/styles.module.css.json +0 -1
  1068. package/dist/esm/ButtonGroup/index.d.ts +0 -4
  1069. package/dist/esm/ButtonGroup/index.js +0 -3
  1070. package/dist/esm/ButtonGroup/index.js.map +0 -1
  1071. package/dist/esm/Canvas/index.d.ts +0 -408
  1072. package/dist/esm/Canvas/index.js +0 -427
  1073. package/dist/esm/Canvas/index.js.map +0 -1
  1074. package/dist/esm/Canvas/styles.module.css.json +0 -1
  1075. package/dist/esm/ContextInspector/index.d.ts +0 -6
  1076. package/dist/esm/ContextInspector/index.js +0 -111
  1077. package/dist/esm/ContextInspector/index.js.map +0 -1
  1078. package/dist/esm/ContextInspector/styles.module.css.json +0 -1
  1079. package/dist/esm/Dropdown/Dropdown.d.ts +0 -113
  1080. package/dist/esm/Dropdown/Dropdown.js +0 -128
  1081. package/dist/esm/Dropdown/Dropdown.js.map +0 -1
  1082. package/dist/esm/Dropdown/DropdownContext.d.ts +0 -6
  1083. package/dist/esm/Dropdown/DropdownContext.js +0 -6
  1084. package/dist/esm/Dropdown/DropdownContext.js.map +0 -1
  1085. package/dist/esm/Dropdown/Group.d.ts +0 -7
  1086. package/dist/esm/Dropdown/Group.js +0 -9
  1087. package/dist/esm/Dropdown/Group.js.map +0 -1
  1088. package/dist/esm/Dropdown/Menu.d.ts +0 -6
  1089. package/dist/esm/Dropdown/Menu.js +0 -218
  1090. package/dist/esm/Dropdown/Menu.js.map +0 -1
  1091. package/dist/esm/Dropdown/MenuContext.d.ts +0 -8
  1092. package/dist/esm/Dropdown/MenuContext.js +0 -9
  1093. package/dist/esm/Dropdown/MenuContext.js.map +0 -1
  1094. package/dist/esm/Dropdown/Option.d.ts +0 -13
  1095. package/dist/esm/Dropdown/Option.js +0 -74
  1096. package/dist/esm/Dropdown/Option.js.map +0 -1
  1097. package/dist/esm/Dropdown/OptionAction.d.ts +0 -12
  1098. package/dist/esm/Dropdown/OptionAction.js +0 -22
  1099. package/dist/esm/Dropdown/OptionAction.js.map +0 -1
  1100. package/dist/esm/Dropdown/Portal.d.ts +0 -5
  1101. package/dist/esm/Dropdown/Portal.js +0 -28
  1102. package/dist/esm/Dropdown/Portal.js.map +0 -1
  1103. package/dist/esm/Dropdown/Separator.d.ts +0 -2
  1104. package/dist/esm/Dropdown/Separator.js +0 -11
  1105. package/dist/esm/Dropdown/Separator.js.map +0 -1
  1106. package/dist/esm/Dropdown/Text.d.ts +0 -5
  1107. package/dist/esm/Dropdown/Text.js +0 -7
  1108. package/dist/esm/Dropdown/Text.js.map +0 -1
  1109. package/dist/esm/Dropdown/index.d.ts +0 -9
  1110. package/dist/esm/Dropdown/index.js +0 -9
  1111. package/dist/esm/Dropdown/index.js.map +0 -1
  1112. package/dist/esm/Dropdown/styles.module.css.json +0 -1
  1113. package/dist/esm/FieldError/index.d.ts +0 -6
  1114. package/dist/esm/FieldError/index.js +0 -7
  1115. package/dist/esm/FieldError/index.js.map +0 -1
  1116. package/dist/esm/FieldError/styles.module.css.json +0 -1
  1117. package/dist/esm/FieldGroup/index.d.ts +0 -7
  1118. package/dist/esm/FieldGroup/index.js +0 -33
  1119. package/dist/esm/FieldGroup/index.js.map +0 -1
  1120. package/dist/esm/FieldGroup/styles.module.css.json +0 -1
  1121. package/dist/esm/FieldHint/index.d.ts +0 -6
  1122. package/dist/esm/FieldHint/index.js +0 -7
  1123. package/dist/esm/FieldHint/index.js.map +0 -1
  1124. package/dist/esm/FieldHint/styles.module.css.json +0 -1
  1125. package/dist/esm/FieldWrapper/index.d.ts +0 -13
  1126. package/dist/esm/FieldWrapper/index.js +0 -22
  1127. package/dist/esm/FieldWrapper/index.js.map +0 -1
  1128. package/dist/esm/Form/index.d.ts +0 -109
  1129. package/dist/esm/Form/index.js +0 -143
  1130. package/dist/esm/Form/index.js.map +0 -1
  1131. package/dist/esm/Form/styles.module.css.json +0 -1
  1132. package/dist/esm/FormLabel/index.d.ts +0 -10
  1133. package/dist/esm/FormLabel/index.js +0 -38
  1134. package/dist/esm/FormLabel/index.js.map +0 -1
  1135. package/dist/esm/FormLabel/styles.module.css.json +0 -1
  1136. package/dist/esm/HotKey/index.d.ts +0 -70
  1137. package/dist/esm/HotKey/index.js +0 -75
  1138. package/dist/esm/HotKey/index.js.map +0 -1
  1139. package/dist/esm/HotKey/styles.module.css.json +0 -1
  1140. package/dist/esm/Section/index.d.ts +0 -63
  1141. package/dist/esm/Section/index.js +0 -63
  1142. package/dist/esm/Section/index.js.map +0 -1
  1143. package/dist/esm/Section/styles.module.css.json +0 -1
  1144. package/dist/esm/SelectField/index.d.ts +0 -60
  1145. package/dist/esm/SelectField/index.js +0 -34
  1146. package/dist/esm/SelectField/index.js.map +0 -1
  1147. package/dist/esm/SelectInput/index.d.ts +0 -17
  1148. package/dist/esm/SelectInput/index.js +0 -125
  1149. package/dist/esm/SelectInput/index.js.map +0 -1
  1150. package/dist/esm/SidebarPanel/index.d.ts +0 -43
  1151. package/dist/esm/SidebarPanel/index.js +0 -55
  1152. package/dist/esm/SidebarPanel/index.js.map +0 -1
  1153. package/dist/esm/SidebarPanel/styles.module.css.json +0 -1
  1154. package/dist/esm/Spinner/index.d.ts +0 -27
  1155. package/dist/esm/Spinner/index.js +0 -57
  1156. package/dist/esm/Spinner/index.js.map +0 -1
  1157. package/dist/esm/Spinner/styles.module.css.json +0 -1
  1158. package/dist/esm/SplitView/SplitViewPane/index.d.ts +0 -7
  1159. package/dist/esm/SplitView/SplitViewPane/index.js +0 -7
  1160. package/dist/esm/SplitView/SplitViewPane/index.js.map +0 -1
  1161. package/dist/esm/SplitView/SplitViewPane/styles.module.css.json +0 -1
  1162. package/dist/esm/SplitView/SplitViewSash/index.d.ts +0 -17
  1163. package/dist/esm/SplitView/SplitViewSash/index.js +0 -46
  1164. package/dist/esm/SplitView/SplitViewSash/index.js.map +0 -1
  1165. package/dist/esm/SplitView/SplitViewSash/styles.module.css.json +0 -1
  1166. package/dist/esm/SplitView/index.d.ts +0 -16
  1167. package/dist/esm/SplitView/index.js +0 -176
  1168. package/dist/esm/SplitView/index.js.map +0 -1
  1169. package/dist/esm/SplitView/styles.module.css.json +0 -1
  1170. package/dist/esm/SplitView/types.d.ts +0 -8
  1171. package/dist/esm/SplitView/types.js +0 -2
  1172. package/dist/esm/SplitView/types.js.map +0 -1
  1173. package/dist/esm/SwitchField/index.d.ts +0 -16
  1174. package/dist/esm/SwitchField/index.js +0 -27
  1175. package/dist/esm/SwitchField/index.js.map +0 -1
  1176. package/dist/esm/SwitchField/styles.module.css.json +0 -1
  1177. package/dist/esm/SwitchInput/index.d.ts +0 -10
  1178. package/dist/esm/SwitchInput/index.js +0 -54
  1179. package/dist/esm/SwitchInput/index.js.map +0 -1
  1180. package/dist/esm/SwitchInput/styles.module.css.json +0 -1
  1181. package/dist/esm/TextField/index.d.ts +0 -17
  1182. package/dist/esm/TextField/index.js +0 -19
  1183. package/dist/esm/TextField/index.js.map +0 -1
  1184. package/dist/esm/TextInput/index.d.ts +0 -15
  1185. package/dist/esm/TextInput/index.js +0 -42
  1186. package/dist/esm/TextInput/index.js.map +0 -1
  1187. package/dist/esm/TextInput/styles.module.css.json +0 -1
  1188. package/dist/esm/TextareaField/index.d.ts +0 -17
  1189. package/dist/esm/TextareaField/index.js +0 -19
  1190. package/dist/esm/TextareaField/index.js.map +0 -1
  1191. package/dist/esm/TextareaInput/index.d.ts +0 -14
  1192. package/dist/esm/TextareaInput/index.js +0 -42
  1193. package/dist/esm/TextareaInput/index.js.map +0 -1
  1194. package/dist/esm/TextareaInput/styles.module.css.json +0 -1
  1195. package/dist/esm/Toolbar/Button/index.d.ts +0 -8
  1196. package/dist/esm/Toolbar/Button/index.js +0 -8
  1197. package/dist/esm/Toolbar/Button/index.js.map +0 -1
  1198. package/dist/esm/Toolbar/Button/styles.module.css.json +0 -1
  1199. package/dist/esm/Toolbar/Stack/index.d.ts +0 -8
  1200. package/dist/esm/Toolbar/Stack/index.js +0 -12
  1201. package/dist/esm/Toolbar/Stack/index.js.map +0 -1
  1202. package/dist/esm/Toolbar/Stack/styles.module.css.json +0 -1
  1203. package/dist/esm/Toolbar/Title/index.d.ts +0 -7
  1204. package/dist/esm/Toolbar/Title/index.js +0 -8
  1205. package/dist/esm/Toolbar/Title/index.js.map +0 -1
  1206. package/dist/esm/Toolbar/Title/styles.module.css.json +0 -1
  1207. package/dist/esm/Toolbar/Toolbar/index.d.ts +0 -91
  1208. package/dist/esm/Toolbar/Toolbar/index.js +0 -92
  1209. package/dist/esm/Toolbar/Toolbar/index.js.map +0 -1
  1210. package/dist/esm/Toolbar/Toolbar/styles.module.css.json +0 -1
  1211. package/dist/esm/Toolbar/index.d.ts +0 -8
  1212. package/dist/esm/Toolbar/index.js +0 -5
  1213. package/dist/esm/Toolbar/index.js.map +0 -1
  1214. package/dist/esm/Tooltip/Tooltip/index.d.ts +0 -74
  1215. package/dist/esm/Tooltip/Tooltip/index.js +0 -89
  1216. package/dist/esm/Tooltip/Tooltip/index.js.map +0 -1
  1217. package/dist/esm/Tooltip/TooltipContent/index.d.ts +0 -68
  1218. package/dist/esm/Tooltip/TooltipContent/index.js +0 -118
  1219. package/dist/esm/Tooltip/TooltipContent/index.js.map +0 -1
  1220. package/dist/esm/Tooltip/TooltipContent/styles.module.css.json +0 -1
  1221. package/dist/esm/Tooltip/TooltipDelayGroup/index.d.ts +0 -118
  1222. package/dist/esm/Tooltip/TooltipDelayGroup/index.js +0 -113
  1223. package/dist/esm/Tooltip/TooltipDelayGroup/index.js.map +0 -1
  1224. package/dist/esm/Tooltip/TooltipTrigger/index.d.ts +0 -45
  1225. package/dist/esm/Tooltip/TooltipTrigger/index.js +0 -76
  1226. package/dist/esm/Tooltip/TooltipTrigger/index.js.map +0 -1
  1227. package/dist/esm/Tooltip/index.d.ts +0 -8
  1228. package/dist/esm/Tooltip/index.js +0 -5
  1229. package/dist/esm/Tooltip/index.js.map +0 -1
  1230. package/dist/esm/Tooltip/utils.d.ts +0 -166
  1231. package/dist/esm/Tooltip/utils.js +0 -135
  1232. package/dist/esm/Tooltip/utils.js.map +0 -1
  1233. package/dist/esm/VerticalSplit/index.d.ts +0 -238
  1234. package/dist/esm/VerticalSplit/index.js +0 -307
  1235. package/dist/esm/VerticalSplit/index.js.map +0 -1
  1236. package/dist/esm/VerticalSplit/styles.module.css.json +0 -1
  1237. package/dist/esm/generateStyleFromCtx/index.d.ts +0 -3
  1238. package/dist/esm/generateStyleFromCtx/index.js +0 -165
  1239. package/dist/esm/generateStyleFromCtx/index.js.map +0 -1
  1240. package/dist/esm/icons.d.ts +0 -15
  1241. package/dist/esm/icons.js +0 -42
  1242. package/dist/esm/icons.js.map +0 -1
  1243. package/dist/esm/index.d.ts +0 -30
  1244. package/dist/esm/index.js +0 -31
  1245. package/dist/esm/index.js.map +0 -1
  1246. package/dist/esm/mergeRefs/index.d.ts +0 -2
  1247. package/dist/esm/mergeRefs/index.js +0 -16
  1248. package/dist/esm/mergeRefs/index.js.map +0 -1
  1249. package/dist/esm/useClickOutside/index.d.ts +0 -2
  1250. package/dist/esm/useClickOutside/index.js +0 -21
  1251. package/dist/esm/useClickOutside/index.js.map +0 -1
  1252. package/dist/esm/useMediaQuery/index.d.ts +0 -8
  1253. package/dist/esm/useMediaQuery/index.js +0 -149
  1254. package/dist/esm/useMediaQuery/index.js.map +0 -1
  1255. package/dist/types/Button/index.d.ts +0 -91
  1256. package/dist/types/ButtonGroup/Button/index.d.ts +0 -10
  1257. package/dist/types/ButtonGroup/Group/index.d.ts +0 -21
  1258. package/dist/types/ButtonGroup/index.d.ts +0 -4
  1259. package/dist/types/Canvas/index.d.ts +0 -408
  1260. package/dist/types/ContextInspector/index.d.ts +0 -6
  1261. package/dist/types/Dropdown/Dropdown.d.ts +0 -113
  1262. package/dist/types/Dropdown/DropdownContext.d.ts +0 -6
  1263. package/dist/types/Dropdown/Group.d.ts +0 -7
  1264. package/dist/types/Dropdown/Menu.d.ts +0 -6
  1265. package/dist/types/Dropdown/MenuContext.d.ts +0 -8
  1266. package/dist/types/Dropdown/Option.d.ts +0 -13
  1267. package/dist/types/Dropdown/OptionAction.d.ts +0 -12
  1268. package/dist/types/Dropdown/Portal.d.ts +0 -5
  1269. package/dist/types/Dropdown/Separator.d.ts +0 -2
  1270. package/dist/types/Dropdown/Text.d.ts +0 -5
  1271. package/dist/types/Dropdown/index.d.ts +0 -9
  1272. package/dist/types/FieldError/index.d.ts +0 -6
  1273. package/dist/types/FieldGroup/index.d.ts +0 -7
  1274. package/dist/types/FieldHint/index.d.ts +0 -6
  1275. package/dist/types/FieldWrapper/index.d.ts +0 -13
  1276. package/dist/types/Form/index.d.ts +0 -109
  1277. package/dist/types/FormLabel/index.d.ts +0 -10
  1278. package/dist/types/HotKey/index.d.ts +0 -70
  1279. package/dist/types/Section/index.d.ts +0 -63
  1280. package/dist/types/SelectField/index.d.ts +0 -60
  1281. package/dist/types/SelectInput/index.d.ts +0 -17
  1282. package/dist/types/SidebarPanel/index.d.ts +0 -43
  1283. package/dist/types/Spinner/index.d.ts +0 -27
  1284. package/dist/types/SplitView/SplitViewPane/index.d.ts +0 -7
  1285. package/dist/types/SplitView/SplitViewSash/index.d.ts +0 -17
  1286. package/dist/types/SplitView/index.d.ts +0 -16
  1287. package/dist/types/SplitView/types.d.ts +0 -8
  1288. package/dist/types/SwitchField/index.d.ts +0 -16
  1289. package/dist/types/SwitchInput/index.d.ts +0 -10
  1290. package/dist/types/TextField/index.d.ts +0 -17
  1291. package/dist/types/TextInput/index.d.ts +0 -15
  1292. package/dist/types/TextareaField/index.d.ts +0 -17
  1293. package/dist/types/TextareaInput/index.d.ts +0 -14
  1294. package/dist/types/Toolbar/Button/index.d.ts +0 -8
  1295. package/dist/types/Toolbar/Stack/index.d.ts +0 -8
  1296. package/dist/types/Toolbar/Title/index.d.ts +0 -7
  1297. package/dist/types/Toolbar/Toolbar/index.d.ts +0 -91
  1298. package/dist/types/Toolbar/index.d.ts +0 -8
  1299. package/dist/types/Tooltip/Tooltip/index.d.ts +0 -74
  1300. package/dist/types/Tooltip/TooltipContent/index.d.ts +0 -68
  1301. package/dist/types/Tooltip/TooltipDelayGroup/index.d.ts +0 -118
  1302. package/dist/types/Tooltip/TooltipTrigger/index.d.ts +0 -45
  1303. package/dist/types/Tooltip/index.d.ts +0 -8
  1304. package/dist/types/Tooltip/utils.d.ts +0 -166
  1305. package/dist/types/VerticalSplit/index.d.ts +0 -238
  1306. package/dist/types/generateStyleFromCtx/index.d.ts +0 -3
  1307. package/dist/types/icons.d.ts +0 -15
  1308. package/dist/types/index.d.ts +0 -30
  1309. package/dist/types/mergeRefs/index.d.ts +0 -2
  1310. package/dist/types/useClickOutside/index.d.ts +0 -2
  1311. package/dist/types/useMediaQuery/index.d.ts +0 -8
  1312. package/src/Button/index.tsx +0 -170
  1313. package/src/Button/styles.module.css +0 -149
  1314. package/src/Button/styles.module.css.json +0 -1
  1315. package/src/ButtonGroup/Button/index.tsx +0 -44
  1316. package/src/ButtonGroup/Button/styles.module.css +0 -70
  1317. package/src/ButtonGroup/Button/styles.module.css.json +0 -1
  1318. package/src/ButtonGroup/Group/index.tsx +0 -31
  1319. package/src/ButtonGroup/Group/styles.module.css +0 -6
  1320. package/src/ButtonGroup/Group/styles.module.css.json +0 -1
  1321. package/src/ButtonGroup/index.ts +0 -4
  1322. package/src/Canvas/index.tsx +0 -464
  1323. package/src/Canvas/styles.module.css +0 -136
  1324. package/src/Canvas/styles.module.css.json +0 -1
  1325. package/src/ContextInspector/index.tsx +0 -211
  1326. package/src/ContextInspector/styles.module.css +0 -90
  1327. package/src/ContextInspector/styles.module.css.json +0 -1
  1328. package/src/Dropdown/Dropdown.tsx +0 -152
  1329. package/src/Dropdown/DropdownContext.tsx +0 -10
  1330. package/src/Dropdown/Group.tsx +0 -17
  1331. package/src/Dropdown/Menu.tsx +0 -341
  1332. package/src/Dropdown/MenuContext.tsx +0 -18
  1333. package/src/Dropdown/Option.tsx +0 -147
  1334. package/src/Dropdown/OptionAction.tsx +0 -43
  1335. package/src/Dropdown/Portal.tsx +0 -47
  1336. package/src/Dropdown/Separator.tsx +0 -13
  1337. package/src/Dropdown/Text.tsx +0 -8
  1338. package/src/Dropdown/index.tsx +0 -26
  1339. package/src/Dropdown/styles.module.css +0 -258
  1340. package/src/Dropdown/styles.module.css.json +0 -1
  1341. package/src/FieldError/index.tsx +0 -10
  1342. package/src/FieldError/styles.module.css +0 -6
  1343. package/src/FieldError/styles.module.css.json +0 -1
  1344. package/src/FieldGroup/index.tsx +0 -27
  1345. package/src/FieldGroup/styles.module.css +0 -12
  1346. package/src/FieldGroup/styles.module.css.json +0 -1
  1347. package/src/FieldHint/index.tsx +0 -10
  1348. package/src/FieldHint/styles.module.css +0 -14
  1349. package/src/FieldHint/styles.module.css.json +0 -1
  1350. package/src/FieldWrapper/index.tsx +0 -38
  1351. package/src/Form/index.tsx +0 -154
  1352. package/src/Form/styles.module.css +0 -19
  1353. package/src/Form/styles.module.css.json +0 -1
  1354. package/src/FormLabel/index.tsx +0 -36
  1355. package/src/FormLabel/styles.module.css +0 -31
  1356. package/src/FormLabel/styles.module.css.json +0 -1
  1357. package/src/HotKey/index.tsx +0 -95
  1358. package/src/HotKey/styles.module.css +0 -22
  1359. package/src/HotKey/styles.module.css.json +0 -1
  1360. package/src/Section/index.tsx +0 -104
  1361. package/src/Section/styles.module.css +0 -100
  1362. package/src/Section/styles.module.css.json +0 -1
  1363. package/src/SelectField/index.tsx +0 -242
  1364. package/src/SelectInput/index.tsx +0 -263
  1365. package/src/SidebarPanel/index.tsx +0 -85
  1366. package/src/SidebarPanel/styles.module.css +0 -49
  1367. package/src/SidebarPanel/styles.module.css.json +0 -1
  1368. package/src/Spinner/index.tsx +0 -68
  1369. package/src/Spinner/styles.module.css +0 -31
  1370. package/src/Spinner/styles.module.css.json +0 -1
  1371. package/src/SplitView/SplitViewPane/index.tsx +0 -19
  1372. package/src/SplitView/SplitViewPane/styles.module.css +0 -6
  1373. package/src/SplitView/SplitViewPane/styles.module.css.json +0 -1
  1374. package/src/SplitView/SplitViewSash/index.tsx +0 -99
  1375. package/src/SplitView/SplitViewSash/styles.module.css +0 -68
  1376. package/src/SplitView/SplitViewSash/styles.module.css.json +0 -1
  1377. package/src/SplitView/index.tsx +0 -256
  1378. package/src/SplitView/styles.module.css +0 -22
  1379. package/src/SplitView/styles.module.css.json +0 -1
  1380. package/src/SplitView/types.ts +0 -9
  1381. package/src/SwitchField/index.tsx +0 -67
  1382. package/src/SwitchField/styles.module.css +0 -25
  1383. package/src/SwitchField/styles.module.css.json +0 -1
  1384. package/src/SwitchInput/index.tsx +0 -74
  1385. package/src/SwitchInput/styles.module.css +0 -103
  1386. package/src/SwitchInput/styles.module.css.json +0 -1
  1387. package/src/TextField/index.tsx +0 -56
  1388. package/src/TextField/styles.module.css.json +0 -1
  1389. package/src/TextInput/index.tsx +0 -82
  1390. package/src/TextInput/styles.module.css +0 -54
  1391. package/src/TextInput/styles.module.css.json +0 -1
  1392. package/src/TextareaField/index.tsx +0 -56
  1393. package/src/TextareaField/styles.module.css +0 -0
  1394. package/src/TextareaField/styles.module.css.json +0 -1
  1395. package/src/TextareaInput/index.tsx +0 -71
  1396. package/src/TextareaInput/styles.module.css +0 -54
  1397. package/src/TextareaInput/styles.module.css.json +0 -1
  1398. package/src/Toolbar/Button/index.tsx +0 -36
  1399. package/src/Toolbar/Button/styles.module.css +0 -43
  1400. package/src/Toolbar/Button/styles.module.css.json +0 -1
  1401. package/src/Toolbar/Stack/index.tsx +0 -33
  1402. package/src/Toolbar/Stack/styles.module.css +0 -18
  1403. package/src/Toolbar/Stack/styles.module.css.json +0 -1
  1404. package/src/Toolbar/Title/index.tsx +0 -17
  1405. package/src/Toolbar/Title/styles.module.css +0 -12
  1406. package/src/Toolbar/Title/styles.module.css.json +0 -1
  1407. package/src/Toolbar/Toolbar/index.tsx +0 -112
  1408. package/src/Toolbar/Toolbar/styles.module.css +0 -15
  1409. package/src/Toolbar/Toolbar/styles.module.css.json +0 -1
  1410. package/src/Toolbar/index.ts +0 -8
  1411. package/src/Tooltip/Tooltip/index.tsx +0 -85
  1412. package/src/Tooltip/TooltipContent/index.tsx +0 -145
  1413. package/src/Tooltip/TooltipContent/styles.module.css +0 -10
  1414. package/src/Tooltip/TooltipContent/styles.module.css.json +0 -1
  1415. package/src/Tooltip/TooltipDelayGroup/index.tsx +0 -128
  1416. package/src/Tooltip/TooltipTrigger/index.tsx +0 -71
  1417. package/src/Tooltip/index.ts +0 -8
  1418. package/src/Tooltip/utils.ts +0 -176
  1419. package/src/VerticalSplit/index.tsx +0 -401
  1420. package/src/VerticalSplit/styles.module.css +0 -99
  1421. package/src/VerticalSplit/styles.module.css.json +0 -1
  1422. package/src/base.css +0 -89
  1423. package/src/generateStyleFromCtx/index.ts +0 -182
  1424. package/src/global.css +0 -31
  1425. package/src/icons.tsx +0 -176
  1426. package/src/index.ts +0 -30
  1427. package/src/mergeRefs/index.ts +0 -9
  1428. package/src/useClickOutside/index.ts +0 -30
  1429. package/src/useMediaQuery/index.ts +0 -187
  1430. package/styles.css +0 -29
  1431. package/types.json +0 -25988
  1432. /package/{src/TextField/styles.module.css → dist/Dropdown/triggers/types.js} +0 -0
@@ -0,0 +1,56 @@
1
+ import { UI } from "../../icons/index.js";
2
+ import { isHtmlMessage } from "../Message.js";
3
+ import { useTranslation } from "../i18n.js";
4
+ import { useNavigation } from "../navigation/NavigationProvider.js";
5
+ import React, { useEffect, useRef } from "react";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ //#region ../ui/src/form/FieldHint.tsx
8
+ function ConcreteHint({ hint }) {
9
+ const { tc } = useTranslation();
10
+ const { navigate } = useNavigation();
11
+ const hintRef = useRef(null);
12
+ useEffect(() => {
13
+ if (!hintRef.current) return;
14
+ const handleClick = (e) => {
15
+ const target = e.target;
16
+ if (target.tagName === "A" && target.hasAttribute("data-router-link")) {
17
+ const href = target.getAttribute("href");
18
+ if (href?.startsWith("/")) {
19
+ e.preventDefault();
20
+ navigate(href);
21
+ }
22
+ }
23
+ };
24
+ const element = hintRef.current;
25
+ element.addEventListener("click", handleClick);
26
+ return () => {
27
+ element.removeEventListener("click", handleClick);
28
+ };
29
+ }, [hint, navigate]);
30
+ if (isHtmlMessage(hint)) return /* @__PURE__ */ jsx("p", {
31
+ ref: hintRef,
32
+ dangerouslySetInnerHTML: { __html: hint.html }
33
+ });
34
+ return /* @__PURE__ */ jsx("p", {
35
+ ref: hintRef,
36
+ children: tc(hint)
37
+ });
38
+ }
39
+ function FieldHint({ id, hint, docs }) {
40
+ const { tc } = useTranslation();
41
+ if (!(hint || docs)) return null;
42
+ return /* @__PURE__ */ jsxs("div", {
43
+ id,
44
+ className: "form__hint",
45
+ children: [hint && /* @__PURE__ */ jsx(ConcreteHint, { hint }), docs && /* @__PURE__ */ jsxs("a", {
46
+ className: "form__hint__docs",
47
+ href: docs.to,
48
+ target: "_blank",
49
+ rel: "noopener noreferrer",
50
+ children: [/* @__PURE__ */ jsx(UI.BookIcon, {}), tc(docs.label)]
51
+ })]
52
+ });
53
+ }
54
+ var FieldHint_default = React.memo(FieldHint);
55
+ //#endregion
56
+ export { FieldHint_default as default };
@@ -0,0 +1,332 @@
1
+ import React, { type ReactNode } from 'react';
2
+ import { type Message } from '../Message.js';
3
+ /** The parts of the label of a field that are not its text */
4
+ export type FieldWrapperLabelExtras = {
5
+ /**
6
+ * Hides the label from the eye. A screen reader still reads it as the name
7
+ * of the input. Use it when a text near the input shows what it is.
8
+ */
9
+ hidden?: boolean;
10
+ /** Adds the icon that tells that the value is different for each locale. */
11
+ localized?: boolean;
12
+ /**
13
+ * The validators of the field, for the `FieldValidations` component of
14
+ * `FormAppProvider`. They do not validate the value.
15
+ */
16
+ validators?: Record<string, any>;
17
+ /** Renders a menu at the end of the label. See `Label`. */
18
+ renderDropdown?: () => ReactNode;
19
+ /** Renders extra content in the label. See `Label`. */
20
+ renderInfo?: () => ReactNode;
21
+ };
22
+ /** The label of a field */
23
+ export type FieldWrapperLabelProps =
24
+ /** A field with a label above the input */
25
+ {
26
+ /**
27
+ * The text of the label: a `Message` (a string, `{ id, values }`,
28
+ * `{ html }` or an element). It is the name of the input. Do not give
29
+ * it around a `SwitchInput`: the switch names itself.
30
+ */
31
+ label: Message;
32
+ /** The parts of the label that are not its text */
33
+ labelExtras?: FieldWrapperLabelExtras;
34
+ }
35
+ /** A field with no label: the input names itself (a switch) */
36
+ | {
37
+ label?: never;
38
+ labelExtras?: never;
39
+ };
40
+ /**
41
+ * A required field shows an asterisk, thus it cannot also show "(optional)".
42
+ */
43
+ export type FieldWrapperRequirementProps =
44
+ /** A field that is not required, with "(optional)" after the label */
45
+ {
46
+ required?: false;
47
+ labelExtras: FieldWrapperLabelExtras & {
48
+ /**
49
+ * Shows "(optional)" after the label. Use it when most of the fields
50
+ * of the form are required.
51
+ */
52
+ optional: true;
53
+ };
54
+ }
55
+ /** Any other field */
56
+ | {
57
+ /** Adds an asterisk to the label and `aria-required` to the input */
58
+ required?: boolean;
59
+ labelExtras?: FieldWrapperLabelExtras & {
60
+ optional?: false;
61
+ };
62
+ };
63
+ /** The props of `FieldWrapper` */
64
+ export type FieldWrapperProps = FieldWrapperLabelProps & FieldWrapperRequirementProps & {
65
+ /**
66
+ * The `id` of the input. The label points to it, and the input gets it
67
+ * through `useFieldInput`. Without it, the field makes an id.
68
+ */
69
+ id?: string;
70
+ /**
71
+ * A short help under the input. A string is plain text. For markup, give
72
+ * `{ html }`: this HTML is not sanitized, thus give only HTML that you
73
+ * trust. A screen reader reads it as the description of the input.
74
+ */
75
+ hint?: Message;
76
+ /**
77
+ * A link to the docs, under the hint. `label` is the text of the link and
78
+ * `to` is the URL.
79
+ */
80
+ docs?: {
81
+ label: Message;
82
+ to: string;
83
+ };
84
+ /**
85
+ * The error of the value. The field shows it under the input, and the
86
+ * input gets `aria-invalid` and the error as its description. Without
87
+ * it, the value is valid.
88
+ */
89
+ error?: Message;
90
+ /**
91
+ * The attributes of the container of the field, for the layout of the
92
+ * page: an `id` to scroll to, a class, and content after the hint.
93
+ */
94
+ container?: {
95
+ /** The `id` of the container */
96
+ id?: string;
97
+ /** A CSS class for the container, next to `form__field` */
98
+ className?: string;
99
+ /** Content after the hint, inside the container */
100
+ trailing?: ReactNode;
101
+ };
102
+ /**
103
+ * The input. It must call `useFieldInput`: all the inputs of the package
104
+ * do.
105
+ */
106
+ children: ReactNode;
107
+ };
108
+ /** What a `FieldWrapper` gives to the input in it */
109
+ export type FieldContextValue = {
110
+ /** The `id` of the input */
111
+ id: string;
112
+ /** The `id` of the text of the label, when the field has a label */
113
+ labelledBy?: string;
114
+ /** The `id` of the error and of the hint, when they show */
115
+ describedBy?: string;
116
+ /** The value has an error */
117
+ invalid: boolean;
118
+ /** The field is required */
119
+ required: boolean;
120
+ };
121
+ export type { BaseInputComponentPropsField, BaseInputComponentPropsFieldWithReadOnly, } from './inputProps.js';
122
+ /** The props of an input that its field gives */
123
+ export type FieldInputProps = {
124
+ /** The `id` of the input. The label of the field points to it. */
125
+ id?: string;
126
+ /** The `id` of the text of the label of the field */
127
+ 'aria-labelledby'?: string;
128
+ /** The `id` of the error and of the hint of the field */
129
+ 'aria-describedby'?: string;
130
+ /** Set when the value has an error */
131
+ 'aria-invalid'?: React.AriaAttributes['aria-invalid'];
132
+ /** Set when the field is required */
133
+ 'aria-required'?: React.AriaAttributes['aria-required'];
134
+ };
135
+ /**
136
+ * Gives the `id` and the ARIA props of an input in a `FieldWrapper`. It
137
+ * takes the props of the input and reads the five props of
138
+ * `FieldInputProps`: a prop that the caller gives wins over the field. Out
139
+ * of a `FieldWrapper`, it gives the props of the caller as they are.
140
+ *
141
+ * All the inputs of the package call it. A custom input of a plugin calls it
142
+ * too, and puts the result on the element that gets the focus: thus the
143
+ * input works in a `FieldWrapper`.
144
+ * @example const fieldProps = useFieldInput(props); return <input {...fieldProps} />;
145
+ */
146
+ export declare function useFieldInput(props: FieldInputProps): FieldInputProps;
147
+ /** The props of `FieldWrapper.Boundary` */
148
+ export type FieldWrapperBoundaryProps = {
149
+ /** The inner inputs of a composite input */
150
+ children: ReactNode;
151
+ };
152
+ /**
153
+ * Stops the field at the group element of a composite input (a list, a
154
+ * group of inputs). The inputs in it do not get the `id` and the ARIA props
155
+ * of the field: each one has its own name.
156
+ */
157
+ declare function Boundary({ children }: FieldWrapperBoundaryProps): React.JSX.Element;
158
+ declare const _default: React.ForwardRefExoticComponent<(({
159
+ /**
160
+ * The text of the label: a `Message` (a string, `{ id, values }`,
161
+ * `{ html }` or an element). It is the name of the input. Do not give
162
+ * it around a `SwitchInput`: the switch names itself.
163
+ */
164
+ label: Message;
165
+ /** The parts of the label that are not its text */
166
+ labelExtras?: FieldWrapperLabelExtras;
167
+ } & {
168
+ required?: false;
169
+ labelExtras: FieldWrapperLabelExtras & {
170
+ /**
171
+ * Shows "(optional)" after the label. Use it when most of the fields
172
+ * of the form are required.
173
+ */
174
+ optional: true;
175
+ };
176
+ } & {
177
+ /**
178
+ * The `id` of the input. The label points to it, and the input gets it
179
+ * through `useFieldInput`. Without it, the field makes an id.
180
+ */
181
+ id?: string;
182
+ /**
183
+ * A short help under the input. A string is plain text. For markup, give
184
+ * `{ html }`: this HTML is not sanitized, thus give only HTML that you
185
+ * trust. A screen reader reads it as the description of the input.
186
+ */
187
+ hint?: Message;
188
+ /**
189
+ * A link to the docs, under the hint. `label` is the text of the link and
190
+ * `to` is the URL.
191
+ */
192
+ docs?: {
193
+ label: Message;
194
+ to: string;
195
+ };
196
+ /**
197
+ * The error of the value. The field shows it under the input, and the
198
+ * input gets `aria-invalid` and the error as its description. Without
199
+ * it, the value is valid.
200
+ */
201
+ error?: Message;
202
+ /**
203
+ * The attributes of the container of the field, for the layout of the
204
+ * page: an `id` to scroll to, a class, and content after the hint.
205
+ */
206
+ container?: {
207
+ /** The `id` of the container */
208
+ id?: string;
209
+ /** A CSS class for the container, next to `form__field` */
210
+ className?: string;
211
+ /** Content after the hint, inside the container */
212
+ trailing?: ReactNode;
213
+ };
214
+ /**
215
+ * The input. It must call `useFieldInput`: all the inputs of the package
216
+ * do.
217
+ */
218
+ children: ReactNode;
219
+ }) | ({
220
+ /**
221
+ * The text of the label: a `Message` (a string, `{ id, values }`,
222
+ * `{ html }` or an element). It is the name of the input. Do not give
223
+ * it around a `SwitchInput`: the switch names itself.
224
+ */
225
+ label: Message;
226
+ /** The parts of the label that are not its text */
227
+ labelExtras?: FieldWrapperLabelExtras;
228
+ } & {
229
+ /** Adds an asterisk to the label and `aria-required` to the input */
230
+ required?: boolean;
231
+ labelExtras?: FieldWrapperLabelExtras & {
232
+ optional?: false;
233
+ };
234
+ } & {
235
+ /**
236
+ * The `id` of the input. The label points to it, and the input gets it
237
+ * through `useFieldInput`. Without it, the field makes an id.
238
+ */
239
+ id?: string;
240
+ /**
241
+ * A short help under the input. A string is plain text. For markup, give
242
+ * `{ html }`: this HTML is not sanitized, thus give only HTML that you
243
+ * trust. A screen reader reads it as the description of the input.
244
+ */
245
+ hint?: Message;
246
+ /**
247
+ * A link to the docs, under the hint. `label` is the text of the link and
248
+ * `to` is the URL.
249
+ */
250
+ docs?: {
251
+ label: Message;
252
+ to: string;
253
+ };
254
+ /**
255
+ * The error of the value. The field shows it under the input, and the
256
+ * input gets `aria-invalid` and the error as its description. Without
257
+ * it, the value is valid.
258
+ */
259
+ error?: Message;
260
+ /**
261
+ * The attributes of the container of the field, for the layout of the
262
+ * page: an `id` to scroll to, a class, and content after the hint.
263
+ */
264
+ container?: {
265
+ /** The `id` of the container */
266
+ id?: string;
267
+ /** A CSS class for the container, next to `form__field` */
268
+ className?: string;
269
+ /** Content after the hint, inside the container */
270
+ trailing?: ReactNode;
271
+ };
272
+ /**
273
+ * The input. It must call `useFieldInput`: all the inputs of the package
274
+ * do.
275
+ */
276
+ children: ReactNode;
277
+ }) | ({
278
+ label?: never;
279
+ labelExtras?: never;
280
+ } & {
281
+ /** Adds an asterisk to the label and `aria-required` to the input */
282
+ required?: boolean;
283
+ labelExtras?: FieldWrapperLabelExtras & {
284
+ optional?: false;
285
+ };
286
+ } & {
287
+ /**
288
+ * The `id` of the input. The label points to it, and the input gets it
289
+ * through `useFieldInput`. Without it, the field makes an id.
290
+ */
291
+ id?: string;
292
+ /**
293
+ * A short help under the input. A string is plain text. For markup, give
294
+ * `{ html }`: this HTML is not sanitized, thus give only HTML that you
295
+ * trust. A screen reader reads it as the description of the input.
296
+ */
297
+ hint?: Message;
298
+ /**
299
+ * A link to the docs, under the hint. `label` is the text of the link and
300
+ * `to` is the URL.
301
+ */
302
+ docs?: {
303
+ label: Message;
304
+ to: string;
305
+ };
306
+ /**
307
+ * The error of the value. The field shows it under the input, and the
308
+ * input gets `aria-invalid` and the error as its description. Without
309
+ * it, the value is valid.
310
+ */
311
+ error?: Message;
312
+ /**
313
+ * The attributes of the container of the field, for the layout of the
314
+ * page: an `id` to scroll to, a class, and content after the hint.
315
+ */
316
+ container?: {
317
+ /** The `id` of the container */
318
+ id?: string;
319
+ /** A CSS class for the container, next to `form__field` */
320
+ className?: string;
321
+ /** Content after the hint, inside the container */
322
+ trailing?: ReactNode;
323
+ };
324
+ /**
325
+ * The input. It must call `useFieldInput`: all the inputs of the package
326
+ * do.
327
+ */
328
+ children: ReactNode;
329
+ })) & React.RefAttributes<HTMLDivElement>> & {
330
+ Boundary: typeof Boundary;
331
+ };
332
+ export default _default;
@@ -0,0 +1,115 @@
1
+ import { useTranslation } from "../i18n.js";
2
+ import { useAutoincrementIntegerId } from "../hooks/useAutoincrementIntegerId.js";
3
+ import FieldHint_default from "./FieldHint.js";
4
+ import Label_default from "./Label.js";
5
+ import { Children, createContext, forwardRef, isValidElement, useContext, useMemo } from "react";
6
+ import classNames from "classnames";
7
+ import { jsx, jsxs } from "react/jsx-runtime";
8
+ //#region ../ui/src/form/FieldWrapper.tsx
9
+ var FieldContext = createContext(void 0);
10
+ /**
11
+ * Gives the `id` and the ARIA props of an input in a `FieldWrapper`. It
12
+ * takes the props of the input and reads the five props of
13
+ * `FieldInputProps`: a prop that the caller gives wins over the field. Out
14
+ * of a `FieldWrapper`, it gives the props of the caller as they are.
15
+ *
16
+ * All the inputs of the package call it. A custom input of a plugin calls it
17
+ * too, and puts the result on the element that gets the focus: thus the
18
+ * input works in a `FieldWrapper`.
19
+ * @example const fieldProps = useFieldInput(props); return <input {...fieldProps} />;
20
+ */
21
+ function useFieldInput(props) {
22
+ const field = useContext(FieldContext);
23
+ return {
24
+ id: props.id ?? field?.id,
25
+ "aria-labelledby": props["aria-labelledby"] ?? field?.labelledBy,
26
+ "aria-describedby": props["aria-describedby"] ?? field?.describedBy,
27
+ "aria-invalid": props["aria-invalid"] ?? (field?.invalid || void 0),
28
+ "aria-required": props["aria-required"] ?? (field?.required || void 0)
29
+ };
30
+ }
31
+ /**
32
+ * Stops the field at the group element of a composite input (a list, a
33
+ * group of inputs). The inputs in it do not get the `id` and the ARIA props
34
+ * of the field: each one has its own name.
35
+ */
36
+ function Boundary({ children }) {
37
+ return /* @__PURE__ */ jsx(FieldContext.Provider, {
38
+ value: void 0,
39
+ children
40
+ });
41
+ }
42
+ function warnOnSwitchLabel(label, children) {
43
+ if (!(process.env.NODE_ENV !== "production") || label === void 0) return;
44
+ const items = Children.toArray(children);
45
+ const child = items.length === 1 ? items[0] : void 0;
46
+ if (isValidElement(child) && typeof child.type !== "string" && child.type.fieldLabel === "inside") console.warn("FieldWrapper has a label around an input that names itself (SwitchInput): give the label to the input, and only the hint and the error to FieldWrapper");
47
+ }
48
+ /**
49
+ * The layout of a field: the label, the input, the error and the hint. The
50
+ * field owns the accessibility (the ids, the name, the description), and
51
+ * the input owns the value.
52
+ */
53
+ var FieldWrapper = forwardRef(function FieldWrapper({ id, label, labelExtras, required, hint, docs, error, container, children }, ref) {
54
+ const { tc } = useTranslation();
55
+ const uid = useAutoincrementIntegerId();
56
+ const inputId = id ?? `FieldWrapper-${uid}`;
57
+ const labelTextId = `${inputId}-label`;
58
+ const errorId = `${inputId}-error`;
59
+ const hintId = `${inputId}-hint`;
60
+ const invalid = Boolean(error);
61
+ const hasHint = Boolean(hint || docs);
62
+ warnOnSwitchLabel(label, children);
63
+ const describedBy = [invalid && errorId, hasHint && hintId].filter(Boolean).join(" ") || void 0;
64
+ const labelledBy = label ? labelTextId : void 0;
65
+ const context = useMemo(() => ({
66
+ id: inputId,
67
+ labelledBy,
68
+ describedBy,
69
+ invalid,
70
+ required: Boolean(required)
71
+ }), [
72
+ inputId,
73
+ labelledBy,
74
+ describedBy,
75
+ invalid,
76
+ required
77
+ ]);
78
+ return /* @__PURE__ */ jsxs("div", {
79
+ id: container?.id,
80
+ className: classNames("form__field", container?.className, { "form__field--invalid": invalid }),
81
+ ref,
82
+ children: [
83
+ label && /* @__PURE__ */ jsx(Label_default, {
84
+ htmlFor: inputId,
85
+ textId: labelTextId,
86
+ label,
87
+ hidden: labelExtras?.hidden,
88
+ ...labelExtras?.optional ? { optional: true } : { required },
89
+ localized: labelExtras?.localized,
90
+ renderInfo: labelExtras?.renderInfo,
91
+ renderDropdown: labelExtras?.renderDropdown,
92
+ validators: labelExtras?.validators
93
+ }),
94
+ /* @__PURE__ */ jsx(FieldContext.Provider, {
95
+ value: context,
96
+ children
97
+ }),
98
+ error && /* @__PURE__ */ jsx("div", {
99
+ id: errorId,
100
+ role: "alert",
101
+ className: "form__error",
102
+ children: tc(error)
103
+ }),
104
+ /* @__PURE__ */ jsx(FieldHint_default, {
105
+ id: hintId,
106
+ hint,
107
+ docs
108
+ }),
109
+ container?.trailing
110
+ ]
111
+ });
112
+ });
113
+ var FieldWrapper_default = Object.assign(FieldWrapper, { Boundary });
114
+ //#endregion
115
+ export { FieldWrapper_default as default, useFieldInput };
@@ -0,0 +1,9 @@
1
+ import { createContext, useContext } from "react";
2
+ import "react/jsx-runtime";
3
+ //#region ../ui/src/form/FormAppContext.tsx
4
+ var FormAppContext = createContext({});
5
+ function useFormApp() {
6
+ return useContext(FormAppContext);
7
+ }
8
+ //#endregion
9
+ export { useFormApp };
@@ -0,0 +1,78 @@
1
+ import React, { ReactNode } from 'react';
2
+ import { type Message, type TextMessage } from '../Message.js';
3
+ import { StringInputProps } from './StringInput.js';
4
+ type DistributiveOmit<U, K extends PropertyKey> = U extends unknown ? Omit<U, K> : never;
5
+ /**
6
+ * The props of `InputGroup`: the props of `StringInput` and the addons. The
7
+ * package draws the box, thus `InputGroup` takes no class. Put a class for
8
+ * the layout on the field (`container.className` of `FieldWrapper`).
9
+ */
10
+ export type InputGroupProps = DistributiveOmit<StringInputProps, 'className'> & {
11
+ /** A text or an icon before the input, for example "https://" */
12
+ pre?: Message;
13
+ /** A text or an icon after the input, for example ".admin.datocms.com" */
14
+ post?: Message;
15
+ };
16
+ /** The props of `InputGroup.Root`: the box of a group of more inputs. */
17
+ export type InputGroupRootProps = {
18
+ /**
19
+ * The inputs (`InputGroup.Input`) and the addons. In a `FieldWrapper`,
20
+ * the box takes the `id` and the description of the field, and each input
21
+ * keeps its own name.
22
+ */
23
+ children: ReactNode;
24
+ /**
25
+ * The name of the group for a screen reader. The box has
26
+ * `role="group"`. Put the unit in it, because a screen reader does not
27
+ * read the addons.
28
+ * @example "Minimum size in pixels"
29
+ */
30
+ ariaLabel: TextMessage;
31
+ /**
32
+ * The box is as wide as its content, not as wide as its container. Use it
33
+ * for short values on one line, for example a width and a height.
34
+ * @default false
35
+ */
36
+ inline?: boolean;
37
+ /**
38
+ * Shows the inputs and the addons in the monospaced font. An
39
+ * `InputGroup.Input` can set its own `code`.
40
+ * @default false
41
+ */
42
+ code?: boolean;
43
+ };
44
+ /** The props of `InputGroup.Input`: the props of `StringInput`. */
45
+ export type InputGroupInputProps = DistributiveOmit<StringInputProps, 'className'> & {
46
+ /**
47
+ * The name of the input for a screen reader, when its field has no
48
+ * label. The name of the group comes before it.
49
+ * @example "Width"
50
+ */
51
+ ariaLabel?: TextMessage;
52
+ };
53
+ /** The props of `InputGroup.Addon`. */
54
+ export type InputGroupAddonProps = {
55
+ /** The fixed text, for example "px" or "x" */
56
+ children: ReactNode;
57
+ };
58
+ declare function Root({ children, ariaLabel, inline, code }: InputGroupRootProps): React.JSX.Element;
59
+ /**
60
+ * The bare input of an `InputGroup.Root`. It has the props of `StringInput`.
61
+ * Give it as the `component` of a `Field`.
62
+ */
63
+ declare function Input({ ariaLabel, code, ...other }: InputGroupInputProps): React.JSX.Element;
64
+ /**
65
+ * A fixed text in an `InputGroup.Root`. A click on it does nothing, because
66
+ * the box can have more inputs. A screen reader does not read it: the names
67
+ * of the group and of the inputs tell the unit.
68
+ */
69
+ declare function Addon({ children }: InputGroupAddonProps): React.JSX.Element;
70
+ declare function InputGroup({ pre, post, code, ...other }: InputGroupProps): React.JSX.Element;
71
+ declare const _default: React.NamedExoticComponent<InputGroupProps> & {
72
+ readonly type: typeof InputGroup;
73
+ } & {
74
+ Root: typeof Root;
75
+ Input: React.MemoExoticComponent<typeof Input>;
76
+ Addon: typeof Addon;
77
+ };
78
+ export default _default;
@@ -0,0 +1,98 @@
1
+ import { useTranslation } from "../i18n.js";
2
+ import FieldWrapper_default, { useFieldInput } from "./FieldWrapper.js";
3
+ import StringInput_default from "./StringInput.js";
4
+ import React, { createContext, useCallback, useContext, useRef, useState } from "react";
5
+ import classNames from "classnames";
6
+ import { jsx, jsxs } from "react/jsx-runtime";
7
+ //#region ../ui/src/form/InputGroup.tsx
8
+ var nextAddonsId = 0;
9
+ var InputGroupContext = createContext({ code: false });
10
+ function Root({ children, ariaLabel, inline, code }) {
11
+ const { tm } = useTranslation();
12
+ const field = useFieldInput({});
13
+ return /* @__PURE__ */ jsx("div", {
14
+ id: field.id,
15
+ role: "group",
16
+ "aria-label": tm(ariaLabel),
17
+ "aria-describedby": field["aria-describedby"],
18
+ className: classNames("InputFrame input-group", inline && "input-group--inline", code && "input-group--code"),
19
+ children: /* @__PURE__ */ jsx(InputGroupContext.Provider, {
20
+ value: { code: Boolean(code) },
21
+ children: /* @__PURE__ */ jsx(FieldWrapper_default.Boundary, { children })
22
+ })
23
+ });
24
+ }
25
+ /**
26
+ * The bare input of an `InputGroup.Root`. It has the props of `StringInput`.
27
+ * Give it as the `component` of a `Field`.
28
+ */
29
+ function Input({ ariaLabel, code, ...other }) {
30
+ const { tm } = useTranslation();
31
+ const group = useContext(InputGroupContext);
32
+ return /* @__PURE__ */ jsx(StringInput_default, {
33
+ ...other,
34
+ "aria-label": ariaLabel ? tm(ariaLabel) : void 0,
35
+ code: code ?? group.code,
36
+ className: "InputFrame__input"
37
+ });
38
+ }
39
+ /**
40
+ * A fixed text in an `InputGroup.Root`. A click on it does nothing, because
41
+ * the box can have more inputs. A screen reader does not read it: the names
42
+ * of the group and of the inputs tell the unit.
43
+ */
44
+ function Addon({ children }) {
45
+ return /* @__PURE__ */ jsx("span", {
46
+ className: "input-group__addon",
47
+ "aria-hidden": true,
48
+ children
49
+ });
50
+ }
51
+ function InputGroup({ pre, post, code, ...other }) {
52
+ const { tc } = useTranslation();
53
+ const field = useFieldInput(other);
54
+ const describedBy = field["aria-describedby"];
55
+ const groupRef = useRef(null);
56
+ const [addonsId] = useState(() => `InputGroup__addon-${++nextAddonsId}`);
57
+ const preId = `${addonsId}-pre`;
58
+ const postId = `${addonsId}-post`;
59
+ const handleAddonClick = useCallback(() => {
60
+ groupRef.current?.querySelector("input")?.focus();
61
+ }, []);
62
+ return /* @__PURE__ */ jsxs("div", {
63
+ ref: groupRef,
64
+ className: classNames("InputFrame input-group", code && "input-group--code"),
65
+ children: [
66
+ pre && /* @__PURE__ */ jsx("span", {
67
+ id: preId,
68
+ className: "input-group__addon",
69
+ onClick: handleAddonClick,
70
+ children: tc(pre)
71
+ }),
72
+ /* @__PURE__ */ jsx(StringInput_default, {
73
+ ...other,
74
+ ...field,
75
+ "aria-describedby": [
76
+ describedBy,
77
+ pre && preId,
78
+ post && postId
79
+ ].filter(Boolean).join(" ") || void 0,
80
+ code,
81
+ className: "InputFrame__input"
82
+ }),
83
+ post && /* @__PURE__ */ jsx("span", {
84
+ id: postId,
85
+ className: "input-group__addon",
86
+ onClick: handleAddonClick,
87
+ children: tc(post)
88
+ })
89
+ ]
90
+ });
91
+ }
92
+ var InputGroup_default = Object.assign(React.memo(InputGroup), {
93
+ Root,
94
+ Input: React.memo(Input),
95
+ Addon
96
+ });
97
+ //#endregion
98
+ export { InputGroup_default as default };