@epam/ai-dial-ui-kit 0.16.0-dev.5 → 0.16.0-dev.50

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 (505) hide show
  1. package/README.md +21 -11
  2. package/dist/CHANGELOG.md +83 -1
  3. package/dist/{DateCellRenderer-ElULb0hY.cjs → DateCellRenderer-CPl27YD9.cjs} +32 -32
  4. package/dist/MarkdownEditor-BtLY7OVq.cjs +1 -0
  5. package/dist/_virtual/_commonjsHelpers.js +3 -28
  6. package/dist/_virtual/index.js +5 -3
  7. package/dist/components/Dropdown/constants.js +2 -2
  8. package/dist/components/IconButton/IconButton.js +7 -7
  9. package/dist/components/LoadFileArea/EmptyFileArea.js +28 -28
  10. package/dist/components/Loader/Loader.js +8 -8
  11. package/dist/components/New/Analytics/Bar/Bar.js +104 -0
  12. package/dist/components/New/Analytics/BarGroup/BarGroup.js +143 -0
  13. package/dist/components/{Analytics → New/Analytics}/Card/Card.js +32 -20
  14. package/dist/components/New/Analytics/Histogram/Histogram.js +212 -0
  15. package/dist/components/New/Avatar/Avatar.js +20 -18
  16. package/dist/components/New/BottomSheet/BottomSheet.js +53 -52
  17. package/dist/components/New/Breadcrumbs/constants.js +1 -1
  18. package/dist/components/New/Calendar/Calendar.js +314 -227
  19. package/dist/components/New/Calendar/TimePickerPanel.js +87 -0
  20. package/dist/components/New/Calendar/constants.js +27 -25
  21. package/dist/components/New/CaptionText/CaptionText.js +3 -4
  22. package/dist/components/New/Checkbox/Checkbox.js +23 -21
  23. package/dist/components/New/Checkbox/CheckboxBox.js +25 -18
  24. package/dist/components/New/ConfirmationPopup/ConfirmationPopup.js +49 -44
  25. package/dist/components/New/Dropdown/Dropdown.js +334 -254
  26. package/dist/components/New/Dropdown/constants.js +21 -18
  27. package/dist/components/New/Dropdown/search.js +37 -0
  28. package/dist/components/New/EntityIdentity/EntityIdentity.js +62 -60
  29. package/dist/components/New/FolderPath/FolderPath.js +151 -46
  30. package/dist/components/New/FormSection/FormSection.js +87 -0
  31. package/dist/components/New/Grid/Grid.js +187 -174
  32. package/dist/components/New/Grid/constants.js +9 -8
  33. package/dist/components/New/Input/Input.js +121 -107
  34. package/dist/components/New/LabelledText/LabelledText.js +43 -0
  35. package/dist/components/New/MenuItem/MenuItem.js +17 -17
  36. package/dist/components/New/NoDataContent/NoDataContent.js +22 -27
  37. package/dist/components/New/NoDataContent/NoDataIllustration.js +53 -0
  38. package/dist/components/New/PasswordInput/PasswordInput.js +33 -32
  39. package/dist/components/New/Popup/constants.js +1 -1
  40. package/dist/components/New/Radio/Radio.js +19 -17
  41. package/dist/components/New/ResizeHandle/ResizeHandle.js +147 -0
  42. package/dist/components/New/SchemaRenderer/components/SchemaField.js +45 -44
  43. package/dist/components/New/SchemaRenderer/components/SchemaFieldContent.js +41 -38
  44. package/dist/components/New/SchemaRenderer/components/SchemaPrimitiveField.js +45 -39
  45. package/dist/components/New/Select/Select.js +205 -202
  46. package/dist/components/New/Select/constants.js +29 -38
  47. package/dist/components/New/SelectedEntityCard/SelectedEntityCard.js +86 -0
  48. package/dist/components/New/SharedEntityIndicator/SharedEntityIndicator.js +1 -1
  49. package/dist/components/New/SideDrawer/SideDrawer.js +1 -1
  50. package/dist/components/New/StateScreen/StateScreen.js +61 -0
  51. package/dist/components/New/Steps/Steps.js +84 -0
  52. package/dist/components/New/Switch/Switch.js +19 -17
  53. package/dist/components/New/Tabs/Tabs.js +91 -58
  54. package/dist/components/New/Tag/Tag.js +34 -34
  55. package/dist/components/New/Tag/constants.js +13 -4
  56. package/dist/components/New/Textarea/Textarea.js +37 -33
  57. package/dist/components/New/TransferQueue/TransferQueue.js +66 -71
  58. package/dist/components/New/TransferQueue/TransferQueueHeader.js +30 -38
  59. package/dist/components/New/TransferQueue/TransferQueueRow.js +106 -49
  60. package/dist/components-manifest.json +3478 -6451
  61. package/dist/constants/public-class-names.js +27 -7
  62. package/dist/dial-ui-kit.cjs +4 -2
  63. package/dist/dial-ui-kit.js +379 -468
  64. package/dist/editors.cjs +1 -1
  65. package/dist/editors.js +4 -10
  66. package/dist/grid.cjs +1 -1
  67. package/dist/grid.js +22 -29
  68. package/dist/{merge-classes-BEJXjzkx.cjs → icon-D93YIwGJ.cjs} +1 -1
  69. package/dist/index.css +2 -6
  70. package/dist/migration-guides/0.16.0/caption-text-no-alert-role.md +90 -0
  71. package/dist/migration-guides/0.16.0/legacy-analytics-and-steps-removal.md +54 -0
  72. package/dist/migration-guides/0.16.0/legacy-file-manager-removal.md +91 -0
  73. package/dist/migration-guides/0.16.0/tailwind-v4-stylesheet.md +98 -0
  74. package/dist/migration-guides/0.16.0/unused-legacy-components-removal.md +128 -0
  75. package/dist/migration-guides/README.md +5 -0
  76. package/dist/node_modules/react-dnd/dist/hooks/useCollector.js +1 -1
  77. package/dist/node_modules/react-dnd/dist/internals/registration.js +5 -13
  78. package/dist/src/components/Dropdown/constants.d.ts +1 -1
  79. package/dist/src/components/{Analytics → New/Analytics}/Bar/Bar.d.ts +6 -6
  80. package/dist/src/components/{Analytics → New/Analytics}/Bar/utils.d.ts +1 -1
  81. package/dist/src/components/{Analytics → New/Analytics}/BarGroup/BarGroup.d.ts +7 -7
  82. package/dist/src/components/{Analytics → New/Analytics}/Card/Card.d.ts +7 -7
  83. package/dist/src/components/{Analytics → New/Analytics}/Histogram/Histogram.d.ts +5 -5
  84. package/dist/src/components/{Analytics → New/Analytics}/Histogram/utils.d.ts +1 -1
  85. package/dist/src/components/New/Analytics/index.d.ts +11 -0
  86. package/dist/src/components/New/Avatar/Avatar.d.ts +12 -3
  87. package/dist/src/components/New/Breadcrumbs/constants.d.ts +2 -2
  88. package/dist/src/components/New/ButtonDropdown/constants.d.ts +1 -1
  89. package/dist/src/components/New/Calendar/Calendar.d.ts +10 -2
  90. package/dist/src/components/New/Calendar/TimePickerPanel.d.ts +15 -0
  91. package/dist/src/components/New/Calendar/constants.d.ts +7 -5
  92. package/dist/src/components/New/CaptionText/CaptionText.d.ts +8 -1
  93. package/dist/src/components/New/Dropdown/Dropdown.d.ts +42 -0
  94. package/dist/src/components/New/Dropdown/constants.d.ts +7 -1
  95. package/dist/src/components/New/Dropdown/search.d.ts +9 -0
  96. package/dist/src/components/New/EntityIdentity/EntityIdentity.d.ts +6 -2
  97. package/dist/src/components/New/FilterChips/FilterChips.d.ts +1 -1
  98. package/dist/src/components/New/FolderPath/FolderPath.d.ts +16 -8
  99. package/dist/src/components/New/FormSection/FormSection.d.ts +63 -0
  100. package/dist/src/components/New/Grid/Grid.d.ts +8 -2
  101. package/dist/src/components/New/Grid/components/SelectionCell.d.ts +1 -1
  102. package/dist/src/components/New/Grid/components/SelectionHeader.d.ts +1 -1
  103. package/dist/src/components/New/Grid/constants.d.ts +2 -0
  104. package/dist/src/components/New/InteractiveTooltip/constants.d.ts +1 -1
  105. package/dist/src/components/New/LabelledText/LabelledText.d.ts +48 -0
  106. package/dist/src/components/New/MarkdownEditor/lazy.d.ts +9 -3
  107. package/dist/src/components/New/MenuItem/constants.d.ts +1 -1
  108. package/dist/src/components/New/NoDataContent/NoDataContent.d.ts +16 -8
  109. package/dist/src/components/New/NoDataContent/NoDataIllustration.d.ts +7 -0
  110. package/dist/src/components/New/PasswordInput/PasswordInput.d.ts +6 -0
  111. package/dist/src/components/New/Popup/constants.d.ts +1 -1
  112. package/dist/src/components/New/ResizeHandle/ResizeHandle.d.ts +68 -0
  113. package/dist/src/components/New/SchemaRenderer/components/SchemaFieldContent.d.ts +1 -0
  114. package/dist/src/components/New/SchemaRenderer/components/SchemaPrimitiveField.d.ts +2 -0
  115. package/dist/src/components/New/SchemaRenderer/types.d.ts +3 -1
  116. package/dist/src/components/New/SegmentedControl/SegmentedControl.d.ts +3 -3
  117. package/dist/src/components/New/Select/Select.d.ts +2 -0
  118. package/dist/src/components/New/Select/constants.d.ts +3 -4
  119. package/dist/src/components/New/SelectedEntityCard/SelectedEntityCard.d.ts +67 -0
  120. package/dist/src/components/New/StateScreen/StateScreen.d.ts +47 -0
  121. package/dist/src/components/New/Steps/Steps.d.ts +55 -0
  122. package/dist/src/components/New/Tabs/Tabs.d.ts +17 -1
  123. package/dist/src/components/New/Tag/Tag.d.ts +9 -5
  124. package/dist/src/components/New/Tag/constants.d.ts +12 -4
  125. package/dist/src/components/New/Tooltip/constants.d.ts +2 -2
  126. package/dist/src/components/New/TransferQueue/TransferQueue.d.ts +9 -5
  127. package/dist/src/components/New/TransferQueue/TransferQueueHeader.d.ts +1 -3
  128. package/dist/src/constants/public-class-names.d.ts +27 -7
  129. package/dist/src/index.d.ts +31 -82
  130. package/dist/src/subpaths/editors.d.ts +9 -15
  131. package/dist/src/subpaths/grid.d.ts +3 -9
  132. package/dist/src/types/avatar.d.ts +9 -0
  133. package/dist/src/types/editor.d.ts +0 -6
  134. package/dist/src/types/form-section.d.ts +9 -0
  135. package/dist/src/types/grid.d.ts +10 -0
  136. package/dist/src/types/tab.d.ts +5 -0
  137. package/dist/src/types/tag.d.ts +3 -1
  138. package/dist/src/utils/avatar.d.ts +2 -1
  139. package/dist/src/utils/grid-registration.d.ts +6 -8
  140. package/dist/src/utils/sub-menu-floating.d.ts +1 -1
  141. package/dist/types/avatar.js +3 -2
  142. package/dist/types/form-section.js +4 -0
  143. package/dist/types/grid.js +3 -2
  144. package/dist/types/tab.js +5 -4
  145. package/dist/types/tag.js +2 -2
  146. package/dist/utils/avatar.js +41 -18
  147. package/dist/utils/merge-classes.js +36 -7
  148. package/dist/utils/sub-menu-floating.js +8 -8
  149. package/package.json +12 -26
  150. package/dist/DateCellRenderer-C7yExfh5.cjs +0 -1
  151. package/dist/IconButton-DHOFapLo.cjs +0 -1
  152. package/dist/JsonEditor-Bxui5wJH.cjs +0 -1
  153. package/dist/MarkdownEditor-BKtFs714.cjs +0 -1
  154. package/dist/MarkdownEditor-Bapd1ycU.cjs +0 -1
  155. package/dist/MarkdownEditorContainer-B5aHwoYF.cjs +0 -1
  156. package/dist/Switch-DE6MrcqJ.cjs +0 -1
  157. package/dist/_virtual/___vite-browser-external.js +0 -6
  158. package/dist/_virtual/__vite-browser-external.js +0 -4
  159. package/dist/_virtual/index2.js +0 -7
  160. package/dist/_virtual/index3.js +0 -4
  161. package/dist/assets/icons/add-child.svg.js +0 -5
  162. package/dist/assets/icons/add-sibling.svg.js +0 -5
  163. package/dist/assets/icons/copy-to.svg.js +0 -5
  164. package/dist/assets/icons/file/c.svg.js +0 -5
  165. package/dist/assets/icons/file/cpp.svg.js +0 -5
  166. package/dist/assets/icons/file/cs.svg.js +0 -5
  167. package/dist/assets/icons/file/ini.svg.js +0 -5
  168. package/dist/assets/icons/file/json.svg.js +0 -5
  169. package/dist/assets/icons/file/md.svg.js +0 -5
  170. package/dist/assets/icons/file/py.svg.js +0 -5
  171. package/dist/assets/icons/move-to.svg.js +0 -5
  172. package/dist/assets/icons/no-data.svg.js +0 -5
  173. package/dist/assets/icons/open-popup.svg.js +0 -5
  174. package/dist/assets/icons/unshare.svg.js +0 -5
  175. package/dist/components/Analytics/Bar/Bar.js +0 -80
  176. package/dist/components/Analytics/BarGroup/BarGroup.js +0 -142
  177. package/dist/components/Analytics/ErrorTag/ErrorTag.js +0 -19
  178. package/dist/components/Analytics/Histogram/Histogram.js +0 -200
  179. package/dist/components/AutocompleteInput/AutocompleteInputValue.js +0 -21
  180. package/dist/components/ButtonDropdown/ButtonDropdown.js +0 -33
  181. package/dist/components/ButtonDropdown/constants.js +0 -8
  182. package/dist/components/Checkbox/Checkbox.js +0 -64
  183. package/dist/components/Checkbox/constants.js +0 -4
  184. package/dist/components/CollapsibleSidebar/CollapsibleSidebar.js +0 -84
  185. package/dist/components/ConfirmationPopup/ConfirmationPopup.js +0 -75
  186. package/dist/components/ConfirmationPopup/constants.js +0 -32
  187. package/dist/components/DraggableItem/DraggableItem.js +0 -61
  188. package/dist/components/DraggableItem/constants.js +0 -6
  189. package/dist/components/DropdownIcon/DropdownIcon.js +0 -103
  190. package/dist/components/FileIcon/FileIcon.js +0 -37
  191. package/dist/components/FileIcon/constants.js +0 -60
  192. package/dist/components/FileManager/FileManager.js +0 -888
  193. package/dist/components/FileManager/FileManagerContext.js +0 -5
  194. package/dist/components/FileManager/FileManagerProvider.js +0 -772
  195. package/dist/components/FileManager/FileManagerTooltip.js +0 -92
  196. package/dist/components/FileManager/components/ConflictResolutionPopup/ConflictResolutionPopup.js +0 -293
  197. package/dist/components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.js +0 -201
  198. package/dist/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.js +0 -52
  199. package/dist/components/FileManager/components/FileManagerBulkActionsToolbar/FileManagerBulkActionsToolbar.js +0 -103
  200. package/dist/components/FileManager/components/FileManagerBulkActionsToolbar/constants.js +0 -5
  201. package/dist/components/FileManager/components/FileManagerDeleteConfirmationPopup/FileManagerDeleteConfirmationPopup.js +0 -56
  202. package/dist/components/FileManager/components/FileManagerItemIcon/FileManagerItemIcon.js +0 -69
  203. package/dist/components/FileManager/components/FileManagerItemName/FileManagerItemName.js +0 -100
  204. package/dist/components/FileManager/components/FileManagerItemNameInput/FileManagerItemNameInput.js +0 -93
  205. package/dist/components/FileManager/components/FileManagerNavigationPanel/FileManagerNavigationPanel.js +0 -165
  206. package/dist/components/FileManager/components/FileManagerNavigationPanel/constants.js +0 -6
  207. package/dist/components/FileManager/components/FileManagerToolbar/DialFileManagerToolbar.js +0 -120
  208. package/dist/components/FileManager/components/FileMetadataPopup/FileMetadataPopup.js +0 -119
  209. package/dist/components/FileManager/components/FileMetadataPopup/constants.js +0 -9
  210. package/dist/components/FileManager/components/FoldersTree/FoldersTree.js +0 -180
  211. package/dist/components/FileManager/components/FoldersTree/constants.js +0 -9
  212. package/dist/components/FileManager/components/FoldersTree/hooks/use-expanded-paths.js +0 -51
  213. package/dist/components/FileManager/constants.js +0 -28
  214. package/dist/components/FileManager/errors.js +0 -10
  215. package/dist/components/FileManager/hooks/use-bulk-actions.js +0 -143
  216. package/dist/components/FileManager/hooks/use-collapse-tree.js +0 -22
  217. package/dist/components/FileManager/hooks/use-conflict-resolution.js +0 -158
  218. package/dist/components/FileManager/hooks/use-current-path.js +0 -29
  219. package/dist/components/FileManager/hooks/use-file-clipboard.js +0 -154
  220. package/dist/components/FileManager/hooks/use-file-delete.js +0 -39
  221. package/dist/components/FileManager/hooks/use-file-download.js +0 -16
  222. package/dist/components/FileManager/hooks/use-file-manager-columns.js +0 -106
  223. package/dist/components/FileManager/hooks/use-file-manager-context.js +0 -13
  224. package/dist/components/FileManager/hooks/use-file-manager-tabs.js +0 -23
  225. package/dist/components/FileManager/hooks/use-file-metadata.js +0 -20
  226. package/dist/components/FileManager/hooks/use-file-search.js +0 -90
  227. package/dist/components/FileManager/hooks/use-file-upload.js +0 -338
  228. package/dist/components/FileManager/hooks/use-folder-creation.js +0 -151
  229. package/dist/components/FileManager/hooks/use-grid-actions-column.js +0 -65
  230. package/dist/components/FileManager/hooks/use-grid-context-menu.js +0 -188
  231. package/dist/components/FileManager/hooks/use-item-renaming.js +0 -124
  232. package/dist/components/FileManager/hooks/use-new-actions.js +0 -67
  233. package/dist/components/FileManager/hooks/use-paths-selection.js +0 -28
  234. package/dist/components/FileManager/hooks/use-show-hidden-files.js +0 -20
  235. package/dist/components/FileManager/hooks/use-tree-additional-buttons.js +0 -39
  236. package/dist/components/FileManager/hooks/use-trigger-view-create-folder.js +0 -42
  237. package/dist/components/FileManager/hooks/use-trigger-view-rename.js +0 -25
  238. package/dist/components/FileManager/utils.js +0 -129
  239. package/dist/components/FileName/FileName.js +0 -68
  240. package/dist/components/FolderName/FolderName.js +0 -57
  241. package/dist/components/FormItem/FormItem.js +0 -90
  242. package/dist/components/FormItem/constants.js +0 -9
  243. package/dist/components/FormPopup/FormPopup.js +0 -59
  244. package/dist/components/FormPopup/constants.js +0 -6
  245. package/dist/components/Grid/Grid.js +0 -333
  246. package/dist/components/Grid/constants.js +0 -33
  247. package/dist/components/Grid/renderers/DateCellRenderer.js +0 -27
  248. package/dist/components/Grid/renderers/constants.js +0 -25
  249. package/dist/components/InputPopup/InputPopup.js +0 -174
  250. package/dist/components/JsonEditor/JsonEditor.js +0 -65
  251. package/dist/components/JsonEditor/lazy.js +0 -4
  252. package/dist/components/MarkdownEditor/MarkdownEditor.js +0 -39
  253. package/dist/components/MarkdownEditor/MarkdownEditorContainer.js +0 -82
  254. package/dist/components/MarkdownEditor/lazy.js +0 -4
  255. package/dist/components/Notification/Notification.js +0 -67
  256. package/dist/components/Notification/constants.js +0 -24
  257. package/dist/components/NumberInput/NumberInput.js +0 -41
  258. package/dist/components/Pagination/Pagination.js +0 -80
  259. package/dist/components/Pagination/utils.js +0 -10
  260. package/dist/components/PasswordInput/Icons/HideIcon.js +0 -16
  261. package/dist/components/PasswordInput/Icons/ShowIcon.js +0 -16
  262. package/dist/components/PasswordInput/PasswordInput.js +0 -21
  263. package/dist/components/Popup/Popup.js +0 -110
  264. package/dist/components/Popup/constants.js +0 -12
  265. package/dist/components/RadioButton/RadioButton.js +0 -103
  266. package/dist/components/RadioGroup/RadioGroup.js +0 -92
  267. package/dist/components/RadioGroup/constants.js +0 -10
  268. package/dist/components/RadioGroupPopupField/RadioGroupPopupField.js +0 -101
  269. package/dist/components/ResizableContainer/ConditionalResizableContainer.js +0 -6
  270. package/dist/components/ResizableContainer/ResizableContainer.js +0 -79
  271. package/dist/components/ResizableContainer/components/ResizeHandle.js +0 -20
  272. package/dist/components/ResizableContainer/components/ResizeIcon.js +0 -11
  273. package/dist/components/SchemaRenderer/SchemaRenderer.js +0 -151
  274. package/dist/components/SchemaRenderer/components/SchemaAdditionalPropertiesEditor.js +0 -56
  275. package/dist/components/SchemaRenderer/components/SchemaAnyOfEditor.js +0 -74
  276. package/dist/components/SchemaRenderer/components/SchemaArrayEditor.js +0 -118
  277. package/dist/components/SchemaRenderer/components/SchemaField.js +0 -78
  278. package/dist/components/SchemaRenderer/components/SchemaFieldContent.js +0 -114
  279. package/dist/components/SchemaRenderer/components/SchemaKeyValueEditor.js +0 -272
  280. package/dist/components/SchemaRenderer/components/SchemaObjectEditor.js +0 -36
  281. package/dist/components/SchemaRenderer/components/SchemaOneOfEditor.js +0 -192
  282. package/dist/components/SchemaRenderer/components/SchemaPrimitiveField.js +0 -161
  283. package/dist/components/SchemaRenderer/components/SchemaSection.js +0 -81
  284. package/dist/components/SchemaRenderer/context.js +0 -12
  285. package/dist/components/Search/Search.js +0 -63
  286. package/dist/components/Search/constants.js +0 -27
  287. package/dist/components/SegmentedControl/SegmentedControl.js +0 -87
  288. package/dist/components/SegmentedControl/constants.js +0 -8
  289. package/dist/components/Select/MultiSelectTags.js +0 -23
  290. package/dist/components/Select/Select.js +0 -435
  291. package/dist/components/Select/SelectSubMenuItem.js +0 -90
  292. package/dist/components/Select/constants.js +0 -15
  293. package/dist/components/SelectField/SelectField.js +0 -66
  294. package/dist/components/SharedEntityIndicator/SharedEntityIndicator.js +0 -34
  295. package/dist/components/Slider/Slider.js +0 -158
  296. package/dist/components/Steps/Step.js +0 -34
  297. package/dist/components/Steps/Steps.js +0 -27
  298. package/dist/components/Steps/utils.js +0 -42
  299. package/dist/components/Switch/Switch.js +0 -70
  300. package/dist/components/TagInput/TagInput.js +0 -179
  301. package/dist/components/Textarea/Textarea.js +0 -43
  302. package/dist/constants/editor.js +0 -52
  303. package/dist/constants/file-grid-columns.js +0 -176
  304. package/dist/file-manager.cjs +0 -1
  305. package/dist/file-manager.js +0 -22
  306. package/dist/hooks/use-flexible-actions.js +0 -72
  307. package/dist/hooks/use-width-breakpoint.js +0 -15
  308. package/dist/icon-CrGVkVpG.cjs +0 -1
  309. package/dist/icon-DhjrDQ8I.cjs +0 -1
  310. package/dist/lazy-_W6FYhKg.cjs +0 -1
  311. package/dist/node_modules/mime-db/db.json.js +0 -2527
  312. package/dist/node_modules/mime-db/index.js +0 -8
  313. package/dist/node_modules/mime-types/index.js +0 -70
  314. package/dist/node_modules/mime-types/mimeScore.js +0 -38
  315. package/dist/node_modules/react-dnd/dist/hooks/useDrag/DragSourceImpl.js +0 -25
  316. package/dist/node_modules/react-dnd/dist/hooks/useDrag/connectors.js +0 -21
  317. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDrag.js +0 -20
  318. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSource.js +0 -19
  319. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSourceConnector.js +0 -22
  320. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSourceMonitor.js +0 -15
  321. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragType.js +0 -13
  322. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useRegisteredDragSource.js +0 -23
  323. package/dist/node_modules/react-dnd/dist/internals/DragSourceMonitorImpl.js +0 -88
  324. package/dist/node_modules/react-dnd/dist/internals/SourceConnector.js +0 -87
  325. package/dist/src/__mocks__/monaco-editor.d.ts +0 -13
  326. package/dist/src/components/Analytics/Bar/utils.spec.d.ts +0 -1
  327. package/dist/src/components/Analytics/ErrorTag/ErrorTag.d.ts +0 -22
  328. package/dist/src/components/Analytics/Histogram/utils.spec.d.ts +0 -1
  329. package/dist/src/components/Analytics/index.d.ts +0 -13
  330. package/dist/src/components/AutocompleteInput/AutocompleteInputValue.d.ts +0 -34
  331. package/dist/src/components/Button/ButtonWrappers.test.d.ts +0 -1
  332. package/dist/src/components/Button/__tests__/utils.spec.d.ts +0 -1
  333. package/dist/src/components/ButtonDropdown/ButtonDropdown.d.ts +0 -24
  334. package/dist/src/components/ButtonDropdown/constants.d.ts +0 -2
  335. package/dist/src/components/Checkbox/Checkbox.d.ts +0 -36
  336. package/dist/src/components/Checkbox/constants.d.ts +0 -1
  337. package/dist/src/components/CollapsibleSidebar/CollapsibleSidebar.d.ts +0 -46
  338. package/dist/src/components/ConfirmationPopup/ConfirmationPopup.d.ts +0 -55
  339. package/dist/src/components/ConfirmationPopup/constants.d.ts +0 -18
  340. package/dist/src/components/DraggableItem/DraggableItem.d.ts +0 -33
  341. package/dist/src/components/DraggableItem/constants.d.ts +0 -3
  342. package/dist/src/components/DropdownIcon/DropdownIcon.d.ts +0 -38
  343. package/dist/src/components/FileIcon/FileIcon.d.ts +0 -33
  344. package/dist/src/components/FileIcon/constants.d.ts +0 -9
  345. package/dist/src/components/FileManager/FileManager.d.ts +0 -326
  346. package/dist/src/components/FileManager/FileManagerContext.d.ts +0 -181
  347. package/dist/src/components/FileManager/FileManagerProvider.d.ts +0 -21
  348. package/dist/src/components/FileManager/FileManagerTooltip.d.ts +0 -12
  349. package/dist/src/components/FileManager/__mocks__/files.d.ts +0 -3
  350. package/dist/src/components/FileManager/components/ConflictResolutionPopup/ConflictResolutionPopup.d.ts +0 -90
  351. package/dist/src/components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.d.ts +0 -73
  352. package/dist/src/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.d.ts +0 -63
  353. package/dist/src/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.test.d.ts +0 -1
  354. package/dist/src/components/FileManager/components/FileManagerBulkActionsToolbar/FileManagerBulkActionsToolbar.d.ts +0 -56
  355. package/dist/src/components/FileManager/components/FileManagerBulkActionsToolbar/constants.d.ts +0 -3
  356. package/dist/src/components/FileManager/components/FileManagerDeleteConfirmationPopup/FileManagerDeleteConfirmationPopup.d.ts +0 -26
  357. package/dist/src/components/FileManager/components/FileManagerItemIcon/FileManagerItemIcon.d.ts +0 -51
  358. package/dist/src/components/FileManager/components/FileManagerItemName/FileManagerItemName.d.ts +0 -57
  359. package/dist/src/components/FileManager/components/FileManagerItemNameInput/FileManagerItemNameInput.d.ts +0 -71
  360. package/dist/src/components/FileManager/components/FileManagerNavigationPanel/FileManagerNavigationPanel.d.ts +0 -64
  361. package/dist/src/components/FileManager/components/FileManagerNavigationPanel/constants.d.ts +0 -3
  362. package/dist/src/components/FileManager/components/FileManagerToolbar/DialFileManagerToolbar.d.ts +0 -76
  363. package/dist/src/components/FileManager/components/FileMetadataPopup/FileMetadataPopup.d.ts +0 -50
  364. package/dist/src/components/FileManager/components/FileMetadataPopup/constants.d.ts +0 -6
  365. package/dist/src/components/FileManager/components/FoldersTree/FoldersTree.d.ts +0 -135
  366. package/dist/src/components/FileManager/components/FoldersTree/constants.d.ts +0 -6
  367. package/dist/src/components/FileManager/components/FoldersTree/hooks/use-expanded-paths.d.ts +0 -13
  368. package/dist/src/components/FileManager/constants.d.ts +0 -21
  369. package/dist/src/components/FileManager/errors.d.ts +0 -6
  370. package/dist/src/components/FileManager/hooks/__tests__/use-conflict-resolution.spec.d.ts +0 -1
  371. package/dist/src/components/FileManager/hooks/__tests__/use-current-path.spec.d.ts +0 -1
  372. package/dist/src/components/FileManager/hooks/__tests__/use-file-clipboard.spec.d.ts +0 -1
  373. package/dist/src/components/FileManager/hooks/__tests__/use-file-delete.spec.d.ts +0 -1
  374. package/dist/src/components/FileManager/hooks/__tests__/use-file-download.spec.d.ts +0 -1
  375. package/dist/src/components/FileManager/hooks/__tests__/use-file-upload.spec.d.ts +0 -1
  376. package/dist/src/components/FileManager/hooks/__tests__/use-show-hidden-files.spec.d.ts +0 -1
  377. package/dist/src/components/FileManager/hooks/__tests__/use-trigger-view-rename.spec.d.ts +0 -1
  378. package/dist/src/components/FileManager/hooks/use-bulk-actions.d.ts +0 -30
  379. package/dist/src/components/FileManager/hooks/use-collapse-tree.d.ts +0 -9
  380. package/dist/src/components/FileManager/hooks/use-conflict-resolution.d.ts +0 -27
  381. package/dist/src/components/FileManager/hooks/use-current-path.d.ts +0 -13
  382. package/dist/src/components/FileManager/hooks/use-file-clipboard.d.ts +0 -37
  383. package/dist/src/components/FileManager/hooks/use-file-delete.d.ts +0 -13
  384. package/dist/src/components/FileManager/hooks/use-file-download.d.ts +0 -9
  385. package/dist/src/components/FileManager/hooks/use-file-manager-columns.d.ts +0 -43
  386. package/dist/src/components/FileManager/hooks/use-file-manager-context.d.ts +0 -7
  387. package/dist/src/components/FileManager/hooks/use-file-manager-tabs.d.ts +0 -10
  388. package/dist/src/components/FileManager/hooks/use-file-metadata.d.ts +0 -10
  389. package/dist/src/components/FileManager/hooks/use-file-search.d.ts +0 -23
  390. package/dist/src/components/FileManager/hooks/use-file-upload.d.ts +0 -64
  391. package/dist/src/components/FileManager/hooks/use-folder-creation.d.ts +0 -30
  392. package/dist/src/components/FileManager/hooks/use-grid-actions-column.d.ts +0 -15
  393. package/dist/src/components/FileManager/hooks/use-grid-context-menu.d.ts +0 -44
  394. package/dist/src/components/FileManager/hooks/use-item-renaming.d.ts +0 -22
  395. package/dist/src/components/FileManager/hooks/use-new-actions.d.ts +0 -23
  396. package/dist/src/components/FileManager/hooks/use-paths-selection.d.ts +0 -13
  397. package/dist/src/components/FileManager/hooks/use-show-hidden-files.d.ts +0 -9
  398. package/dist/src/components/FileManager/hooks/use-tree-additional-buttons.d.ts +0 -22
  399. package/dist/src/components/FileManager/hooks/use-trigger-view-create-folder.d.ts +0 -26
  400. package/dist/src/components/FileManager/hooks/use-trigger-view-rename.d.ts +0 -20
  401. package/dist/src/components/FileManager/utils.d.ts +0 -69
  402. package/dist/src/components/FileManager/utils.spec.d.ts +0 -1
  403. package/dist/src/components/FileName/FileName.d.ts +0 -49
  404. package/dist/src/components/FolderName/FolderName.d.ts +0 -37
  405. package/dist/src/components/FormItem/FormItem.d.ts +0 -66
  406. package/dist/src/components/FormItem/constants.d.ts +0 -3
  407. package/dist/src/components/FormPopup/FormPopup.d.ts +0 -46
  408. package/dist/src/components/FormPopup/constants.d.ts +0 -3
  409. package/dist/src/components/Grid/Grid.d.ts +0 -120
  410. package/dist/src/components/Grid/comparators/base-column-comparator.d.ts +0 -1
  411. package/dist/src/components/Grid/comparators/base-column-comparator.spec.d.ts +0 -1
  412. package/dist/src/components/Grid/constants.d.ts +0 -28
  413. package/dist/src/components/Grid/renderers/DateCellRenderer.d.ts +0 -34
  414. package/dist/src/components/Grid/renderers/constants.d.ts +0 -7
  415. package/dist/src/components/Grid/renderers/utils.d.ts +0 -1
  416. package/dist/src/components/Grid/renderers/utils.spec.d.ts +0 -1
  417. package/dist/src/components/InputPopup/InputPopup.d.ts +0 -61
  418. package/dist/src/components/JsonEditor/JsonEditor.d.ts +0 -25
  419. package/dist/src/components/JsonEditor/lazy.d.ts +0 -14
  420. package/dist/src/components/MarkdownEditor/MarkdownEditor.d.ts +0 -38
  421. package/dist/src/components/MarkdownEditor/MarkdownEditorContainer.d.ts +0 -51
  422. package/dist/src/components/MarkdownEditor/lazy.d.ts +0 -7
  423. package/dist/src/components/New/AutocompleteTagInput/utils.spec.d.ts +0 -1
  424. package/dist/src/components/New/Button/__tests__/utils.spec.d.ts +0 -1
  425. package/dist/src/components/New/Calendar/utils.spec.d.ts +0 -1
  426. package/dist/src/components/New/Slider/utils.spec.d.ts +0 -1
  427. package/dist/src/components/New/TagInput/utils.spec.d.ts +0 -1
  428. package/dist/src/components/Notification/Notification.d.ts +0 -58
  429. package/dist/src/components/Notification/constants.d.ts +0 -8
  430. package/dist/src/components/NumberInput/NumberInput.d.ts +0 -34
  431. package/dist/src/components/Pagination/Pagination.d.ts +0 -11
  432. package/dist/src/components/Pagination/tests/utils.spec.d.ts +0 -1
  433. package/dist/src/components/Pagination/utils.d.ts +0 -9
  434. package/dist/src/components/PasswordInput/Icons/HideIcon.d.ts +0 -16
  435. package/dist/src/components/PasswordInput/Icons/ShowIcon.d.ts +0 -16
  436. package/dist/src/components/PasswordInput/PasswordInput.d.ts +0 -26
  437. package/dist/src/components/Popup/Popup.d.ts +0 -64
  438. package/dist/src/components/Popup/constants.d.ts +0 -5
  439. package/dist/src/components/RadioButton/RadioButton.d.ts +0 -54
  440. package/dist/src/components/RadioGroup/RadioGroup.d.ts +0 -66
  441. package/dist/src/components/RadioGroup/constants.d.ts +0 -5
  442. package/dist/src/components/RadioGroupPopupField/RadioGroupPopupField.d.ts +0 -74
  443. package/dist/src/components/ResizableContainer/ConditionalResizableContainer.d.ts +0 -35
  444. package/dist/src/components/ResizableContainer/ResizableContainer.d.ts +0 -72
  445. package/dist/src/components/ResizableContainer/components/ResizeHandle.d.ts +0 -10
  446. package/dist/src/components/ResizableContainer/components/ResizeIcon.d.ts +0 -8
  447. package/dist/src/components/SchemaRenderer/SchemaRenderer.d.ts +0 -30
  448. package/dist/src/components/SchemaRenderer/components/SchemaAdditionalPropertiesEditor.d.ts +0 -20
  449. package/dist/src/components/SchemaRenderer/components/SchemaAnyOfEditor.d.ts +0 -31
  450. package/dist/src/components/SchemaRenderer/components/SchemaArrayEditor.d.ts +0 -31
  451. package/dist/src/components/SchemaRenderer/components/SchemaField.d.ts +0 -29
  452. package/dist/src/components/SchemaRenderer/components/SchemaFieldContent.d.ts +0 -25
  453. package/dist/src/components/SchemaRenderer/components/SchemaKeyValueEditor.d.ts +0 -33
  454. package/dist/src/components/SchemaRenderer/components/SchemaObjectEditor.d.ts +0 -31
  455. package/dist/src/components/SchemaRenderer/components/SchemaOneOfEditor.d.ts +0 -31
  456. package/dist/src/components/SchemaRenderer/components/SchemaPrimitiveField.d.ts +0 -31
  457. package/dist/src/components/SchemaRenderer/components/SchemaSection.d.ts +0 -33
  458. package/dist/src/components/SchemaRenderer/context.d.ts +0 -19
  459. package/dist/src/components/SchemaRenderer/tests/utils.spec.d.ts +0 -1
  460. package/dist/src/components/SchemaRenderer/types.d.ts +0 -62
  461. package/dist/src/components/SchemaRenderer/utils.d.ts +0 -1
  462. package/dist/src/components/Search/Search.d.ts +0 -35
  463. package/dist/src/components/Search/constants.d.ts +0 -8
  464. package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +0 -40
  465. package/dist/src/components/SegmentedControl/constants.d.ts +0 -5
  466. package/dist/src/components/Select/MultiSelectTags.d.ts +0 -8
  467. package/dist/src/components/Select/Select.d.ts +0 -100
  468. package/dist/src/components/Select/SelectSubMenuItem.d.ts +0 -8
  469. package/dist/src/components/Select/constants.d.ts +0 -9
  470. package/dist/src/components/SelectField/SelectField.d.ts +0 -42
  471. package/dist/src/components/SharedEntityIndicator/SharedEntityIndicator.d.ts +0 -31
  472. package/dist/src/components/Slider/Slider.d.ts +0 -57
  473. package/dist/src/components/Steps/Step.d.ts +0 -9
  474. package/dist/src/components/Steps/Steps.d.ts +0 -26
  475. package/dist/src/components/Steps/tests/Steps.test.d.ts +0 -1
  476. package/dist/src/components/Steps/tests/utils.spec.d.ts +0 -1
  477. package/dist/src/components/Steps/utils.d.ts +0 -3
  478. package/dist/src/components/Switch/Switch.d.ts +0 -34
  479. package/dist/src/components/TagInput/TagInput.d.ts +0 -52
  480. package/dist/src/components/Textarea/Textarea.d.ts +0 -39
  481. package/dist/src/constants/editor.d.ts +0 -2
  482. package/dist/src/constants/file-grid-columns.d.ts +0 -4
  483. package/dist/src/constants/storybook/form-item.d.ts +0 -3
  484. package/dist/src/models/file-manager.d.ts +0 -19
  485. package/dist/src/models/segmented-control.d.ts +0 -7
  486. package/dist/src/subpaths/file-manager.d.ts +0 -21
  487. package/dist/src/types/file-manager.d.ts +0 -59
  488. package/dist/src/types/form-item.d.ts +0 -31
  489. package/dist/src/types/select.d.ts +0 -8
  490. package/dist/src/utils/__tests__/accessible-name.spec.d.ts +0 -1
  491. package/dist/src/utils/__tests__/avatar.spec.d.ts +0 -1
  492. package/dist/src/utils/__tests__/element-size-observer.spec.d.ts +0 -1
  493. package/dist/src/utils/__tests__/file-accept.spec.d.ts +0 -1
  494. package/dist/src/utils/__tests__/merge-classes.spec.d.ts +0 -1
  495. package/dist/src/utils/__tests__/path.spec.d.ts +0 -1
  496. package/dist/src/utils/__tests__/pointer.spec.d.ts +0 -1
  497. package/dist/src/utils/__tests__/timezone.spec.d.ts +0 -1
  498. package/dist/src/utils/grid-registration.spec.d.ts +0 -1
  499. package/dist/types/file-manager.js +0 -12
  500. package/dist/types/form-item.js +0 -4
  501. package/dist/types/select.js +0 -5
  502. package/dist/use-file-manager-tabs-Bgh8mfOJ.cjs +0 -3
  503. package/dist/utils/path.js +0 -4
  504. /package/dist/components/{Analytics → New/Analytics}/Bar/utils.js +0 -0
  505. /package/dist/components/{Analytics → New/Analytics}/Histogram/utils.js +0 -0
@@ -24,10 +24,17 @@ export interface CalendarProps {
24
24
  fieldClassName?: string;
25
25
  /**
26
26
  * Shows the viewer's timezone (e.g. `(GMT+01:00) Europe/Berlin`, computed
27
- * by `getTimezoneLabel`) at the trailing edge of the `time` field, naming
27
+ * by `getTimezoneLabel`) at the trailing edge of the time fields — the
28
+ * `time` mode field and the `datetime` popover footer's field — naming
28
29
  * the zone the entered time-of-day refers to.
29
30
  */
30
31
  showTimezone?: boolean;
32
+ /**
33
+ * `time` mode only: shows a clock button at the field's trailing edge that
34
+ * opens an hour/minute list popover. The field stays typeable either way.
35
+ * @default true
36
+ */
37
+ showTimePicker?: boolean;
31
38
  }
32
39
  /**
33
40
  * A date/time picker supporting four selection modes.
@@ -63,6 +70,7 @@ export interface CalendarProps {
63
70
  * @param [maxDate] - Latest selectable date (date/datetime modes)
64
71
  * @param [locale="en-GB"] - BCP 47 locale tag used to localize month/weekday names and date formatting
65
72
  * @param [fieldClassName] - Additional classes merged onto the trigger field, overriding conflicting defaults
66
- * @param [showTimezone=false] - Shows the viewer's timezone (e.g. `(GMT+01:00) Europe/Berlin`) at the trailing edge of the `time` field
73
+ * @param [showTimezone=false] - Shows the viewer's timezone (e.g. `(GMT+01:00) Europe/Berlin`) at the trailing edge of the time fields (`time` mode and the `datetime` popover footer)
74
+ * @param [showTimePicker=true] - `time` mode only: shows a clock button that opens an hour/minute list popover next to the typeable field
67
75
  */
68
76
  export declare const Calendar: FC<CalendarProps>;
@@ -0,0 +1,15 @@
1
+ import { FC } from 'react';
2
+ export interface TimePickerPanelProps {
3
+ /** Current `"HH:mm"` value, or an empty/partial string when nothing is picked yet. */
4
+ value: string;
5
+ /** Fired with a complete `"HH:mm"` value; `done` is true once the minutes were chosen. */
6
+ onSelect: (next: string, done: boolean) => void;
7
+ }
8
+ /**
9
+ * Two-column hour/minute list shown in the `time` mode popover. Picking an
10
+ * hour keeps the current minutes (or `00`); picking minutes keeps the current
11
+ * hour (or `00`) and signals completion so the popover can close.
12
+ * @param value - current `"HH:mm"` value
13
+ * @param onSelect - fired with the next complete value and whether to close
14
+ */
15
+ export declare const TimePickerPanel: FC<TimePickerPanelProps>;
@@ -1,17 +1,19 @@
1
1
  import { CalendarMode } from '../../../types/calendar';
2
2
  export declare const DEFAULT_CALENDAR_LOCALE = "en-GB";
3
3
  export declare const calendarModeDefaultPlaceholder: Record<CalendarMode, string>;
4
- export declare const calendarFieldBaseClassName = "flex w-full items-center justify-between gap-2 rounded-xl border border-secondary bg-layer-raised px-4 py-3 dial-small-text text-primary outline-none transition-colors hover:border-accent-alpha focus-within:border-accent-focus";
4
+ export declare const calendarFieldBaseClassName = "flex w-full items-center justify-between gap-2 rounded-xl border border-secondary bg-layer-raised px-4 py-3 dial-small-text text-primary outline-hidden transition-colors hover:border-accent-alpha focus-within:border-accent-focus";
5
5
  export declare const calendarFieldDisabledClassName = "!cursor-not-allowed !border-transparent bg-layer-sunken text-control-disable-primary hover:!border-transparent";
6
6
  export declare const calendarFieldInvalidClassName = "!border-error";
7
7
  export declare const calendarPopoverClassName = "z-floating flex w-[248px] flex-col gap-4 rounded-lg bg-layer-raised px-2 py-4 shadow-md";
8
- export declare const calendarDayButtonBaseClassName = "flex size-10 items-center justify-center rounded-full dial-small-text text-primary hover:bg-control-accent-alpha-hover hover:text-primary focus:outline-none focus-visible:outline focus-visible:outline-focus";
8
+ export declare const timePickerPopoverClassName = "z-floating rounded-lg bg-layer-raised p-2 shadow-md";
9
+ export declare const timePickerButtonClassName = "absolute end-2 top-1/2 flex size-8 -translate-y-1/2 items-center justify-center rounded-lg text-secondary hover:bg-control-accent-alpha-hover hover:text-primary focus:outline-hidden focus-visible:outline focus-visible:outline-focus disabled:cursor-not-allowed disabled:text-control-disable-primary disabled:hover:bg-transparent";
10
+ export declare const calendarDayButtonBaseClassName = "flex size-10 items-center justify-center rounded-full dial-small-text text-primary hover:bg-control-accent-alpha-hover hover:text-primary focus:outline-hidden focus-visible:outline focus-visible:outline-focus";
9
11
  export declare const calendarDaySelectedClassName = "bg-control-accent text-control-permanent";
10
12
  export declare const calendarDayTodayClassName = "text-accent dial-small-semi-text";
11
13
  export declare const calendarDayOutsideClassName = "text-control-disable-primary";
12
14
  export declare const calendarFieldIconClassName = "text-secondary";
13
- export declare const calendarIcon: import("react/jsx-runtime").JSX.Element;
15
+ export declare const calendarIcon: import('react/jsx-runtime').JSX.Element;
14
16
  export declare const calendarNavIcons: {
15
- prev: import("react/jsx-runtime").JSX.Element;
16
- next: import("react/jsx-runtime").JSX.Element;
17
+ prev: import('react/jsx-runtime').JSX.Element;
18
+ next: import('react/jsx-runtime').JSX.Element;
17
19
  };
@@ -9,9 +9,16 @@ export interface CaptionTextProps extends HTMLAttributes<HTMLSpanElement> {
9
9
  * aliases: HelperText|ValidationText
10
10
  * Design system 2.0
11
11
  *
12
+ * It carries no live-region role: a field caption or error is described, not
13
+ * announced. Give it an `id` and point the control's `aria-describedby` at it
14
+ * (the 2.0 form controls do this for their own `caption` / `error`). Wrap it in
15
+ * a `role="alert"` region only for a message that must interrupt, such as a
16
+ * failed submit.
17
+ *
12
18
  * @example
13
19
  * ```tsx
14
- * <CaptionText text="This field is required" variant={CaptionType.Error} />
20
+ * <input aria-describedby="name-error" aria-invalid />
21
+ * <CaptionText id="name-error" text="This field is required" variant={CaptionType.Error} />
15
22
  * ```
16
23
  *
17
24
  * @param [text] - The text to display. If undefined or empty, nothing is rendered
@@ -2,6 +2,7 @@ import { Placement } from '@floating-ui/react';
2
2
  import { CSSProperties, FC, MouseEvent, ReactNode, RefObject } from 'react';
3
3
  import { DropdownTrigger } from '../../../types/dropdown';
4
4
  import { DropdownItem } from '../../../models/dropdown';
5
+ import { DropdownItemFilter } from './search';
5
6
  export interface DropdownProps {
6
7
  children: ReactNode;
7
8
  items?: DropdownItem[];
@@ -46,6 +47,34 @@ export interface DropdownProps {
46
47
  * opens, matching the pre-existing behavior.
47
48
  */
48
49
  initialFocus?: 0 | -1 | RefObject<HTMLElement | null>;
50
+ /**
51
+ * Puts a search field above `items` that narrows them as the user types and
52
+ * highlights the match in each remaining label. The query is cleared when
53
+ * the menu closes.
54
+ */
55
+ searchable?: boolean;
56
+ /** Controlled query of the search field; when omitted, the dropdown keeps its own. */
57
+ searchValue?: string;
58
+ /** Fired with every edit of the search field, and with `''` when the menu closes. */
59
+ onSearchChange?: (value: string) => void;
60
+ /** Placeholder and accessible name of the search field. */
61
+ searchPlaceholder?: string;
62
+ /** Accessible name of the search field's clear button. */
63
+ searchClearLabel?: string;
64
+ /** Text shown, and announced, when the query leaves no items. */
65
+ noResultsLabel?: string;
66
+ /**
67
+ * Decides whether an item matches the query, which arrives trimmed and
68
+ * lower-cased. Defaults to a substring match on a string `label`. A submenu
69
+ * whose own row matches keeps all its children; otherwise it keeps only the
70
+ * matching ones, and disappears when none do.
71
+ */
72
+ filterItem?: DropdownItemFilter;
73
+ /**
74
+ * Number of rows the item list shows before it scrolls. The cap applies to
75
+ * the list alone, so a search field or header stays in view above it.
76
+ */
77
+ maxVisibleItems?: number;
49
78
  }
50
79
  /**
51
80
  *
@@ -83,6 +112,11 @@ export interface DropdownProps {
83
112
  * <Dropdown closable renderOverlay={() => <div className="p-3">Custom content</div>}>
84
113
  * <button type="button" className="px-3 py-2 rounded border">Custom</button>
85
114
  * </Dropdown>
115
+ *
116
+ * // Searchable menu, seven rows tall before it scrolls
117
+ * <Dropdown searchable maxVisibleItems={7} items={items}>
118
+ * <button type="button" className="px-3 py-2 rounded border">Create</button>
119
+ * </Dropdown>
86
120
  * ```
87
121
  *
88
122
  * @param children - Trigger element(s) to anchor and open the menu
@@ -111,5 +145,13 @@ export interface DropdownProps {
111
145
  * @param [matchReferenceWidth=true] - Whether to match the reference element's width
112
146
  * @param [maxDropdownHeight] - Maximum height of the dropdown menu; when omitted, no limit is applied
113
147
  * @param [initialFocus] - Initial focus target inside the overlay on open, forwarded to `FloatingFocusManager`; when omitted, matches pre-existing behavior
148
+ * @param [searchable=false] - Show a search field above `items` that filters them and highlights the match
149
+ * @param [searchValue] - Controlled query of the search field
150
+ * @param [onSearchChange] - Fired with every edit of the search field, and with `''` when the menu closes
151
+ * @param [searchPlaceholder="Search"] - Placeholder and accessible name of the search field
152
+ * @param [searchClearLabel="Clear search"] - Accessible name of the search field's clear button
153
+ * @param [noResultsLabel="No results found"] - Text shown and announced when the query leaves no items
154
+ * @param [filterItem] - Item matcher; defaults to a case-insensitive substring match on a string `label`
155
+ * @param [maxVisibleItems] - Rows the item list shows before it scrolls
114
156
  */
115
157
  export declare const Dropdown: FC<DropdownProps>;
@@ -11,5 +11,11 @@ export declare const dropdownItemListClassName: string;
11
11
  */
12
12
  export declare const dropdownItemBaseClassName: string;
13
13
  export declare const dropdownDividerClassName = "my-1 border-t border-tertiary";
14
+ /** The search row of a `searchable` dropdown: pinned above the item list, which scrolls on its own. */
15
+ export declare const dropdownSearchClassName = "shrink-0 px-1 pt-1";
16
+ /** The no-results line of a `searchable` dropdown, styled as a `PlainText` row. */
17
+ export declare const dropdownNoResultsClassName = "px-3 py-2 text-secondary dial-caption-text";
18
+ /** Height of the item list that shows exactly `rows` rows before it scrolls. */
19
+ export declare const getDropdownListHeight: (rows: number) => number;
14
20
  export declare const dropdownGap = 4;
15
- export declare const submenuCaretIcon: import("react/jsx-runtime").JSX.Element;
21
+ export declare const submenuCaretIcon: import('react/jsx-runtime').JSX.Element;
@@ -0,0 +1,9 @@
1
+ import { DropdownItem } from '../../../models/dropdown';
2
+ /** Decides whether an item matches a non-empty, trimmed, lower-cased query. */
3
+ export type DropdownItemFilter = (item: DropdownItem, query: string) => boolean;
4
+ /** Case-insensitive substring match on a string `label`; an item with a non-string label never matches. */
5
+ export declare const matchDropdownItemLabel: DropdownItemFilter;
6
+ /** Returns `items` narrowed to the rows matching `query`; an empty query returns `items` unchanged. */
7
+ export declare const filterDropdownItems: (items: DropdownItem[], query: string, isMatch?: DropdownItemFilter) => DropdownItem[];
8
+ /** Returns `items` with every string row label, submenus included, rendered through a single-line `Highlight` of `query`. */
9
+ export declare const highlightDropdownItems: (items: DropdownItem[], query: string) => DropdownItem[];
@@ -26,6 +26,8 @@ export interface EntityIdentityProps {
26
26
  item: EntityIdentityItem;
27
27
  /** User-visible strings; pass translated ones in a localised app. */
28
28
  labels?: EntityIdentityLabels;
29
+ /** Whether to show the type label above the name. */
30
+ showType?: boolean;
29
31
  /** Whether to show `item.version` next to the name. */
30
32
  showVersion?: boolean;
31
33
  /** Whether to show the featured chip when `item.isFeatured` is true. */
@@ -61,8 +63,9 @@ export interface EntityIdentityProps {
61
63
  *
62
64
  * The type label is plain uppercase text coloured by `item.type`. The icon is
63
65
  * a square `Avatar`, so a missing or broken image falls back to the initials of
64
- * the name. The icon is decorative: the name next to it already names the
65
- * entity.
66
+ * the name. The image sits on the `bg-entity-icon` plate, so a dark theme can
67
+ * keep a dark, transparent logo legible. The icon is decorative: the name next
68
+ * to it already names the entity.
66
69
  *
67
70
  * @example
68
71
  * ```tsx
@@ -74,6 +77,7 @@ export interface EntityIdentityProps {
74
77
  *
75
78
  * @param item - The entity to display
76
79
  * @param [labels] - User-visible strings
80
+ * @param [showType=true] - Whether to show the type label
77
81
  * @param [showVersion=true] - Whether to show the version
78
82
  * @param [hasFeaturedTag=true] - Whether to show the featured chip for a featured entity
79
83
  * @param [iconSize=48] - Icon size in px
@@ -66,4 +66,4 @@ export interface FilterChipsProps<T extends string = string> {
66
66
  * @param [aria-label] - Names the row as a whole
67
67
  * @param [aria-labelledby] - Names the row from an existing element, e.g. a visible heading
68
68
  */
69
- export declare const FilterChips: <T extends string = string>({ items, value, onChange, stretch, className, chipClassName, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, }: FilterChipsProps<T>) => import("react/jsx-runtime").JSX.Element;
69
+ export declare const FilterChips: <T extends string = string>({ items, value, onChange, stretch, className, chipClassName, "aria-label": ariaLabel, "aria-labelledby": ariaLabelledBy, }: FilterChipsProps<T>) => import('react/jsx-runtime').JSX.Element;
@@ -7,12 +7,20 @@ export interface FolderPathProps {
7
7
  ariaLabel?: string;
8
8
  }
9
9
  /**
10
- * A read-only, non-clickable folder/location path built on top of `DialBreadcrumb`.
10
+ * A read-only, non-clickable folder/location path styled like `DialBreadcrumb`.
11
11
  * aliases: FolderBreadcrumb|LocationPath
12
12
  * Design system 2.0
13
13
  *
14
14
  * Every segment is disabled (no navigation); the first segment gets a leading
15
- * folder icon and the last segment is styled as the current/leaf item.
15
+ * folder icon and the last segment is styled as the current/leaf item. A path
16
+ * of more than three segments collapses its middle into a non-interactive `…`
17
+ * that shows the full path (`Shared > Team > Sub > Reports`) in a tooltip on
18
+ * hover; the hidden segments stay in the accessible text.
19
+ *
20
+ * When the path is too wide, the leaf keeps its width longest: the folder
21
+ * before it truncates first, down to about one character, and if the leaf
22
+ * still does not fit, that folder joins the `…` as well. Only then does the
23
+ * leaf truncate.
16
24
  *
17
25
  * @example
18
26
  * ```tsx
@@ -22,11 +30,11 @@ export interface FolderPathProps {
22
30
  * @param segments - Path segments to display, outermost first
23
31
  * @param [labelClassName='dial-small-text'] - Additional CSS classes applied to non-leaf segments
24
32
  * @param [leafClassName='dial-small-semi-text'] - Additional CSS classes applied to the last (leaf) segment
25
- * @param [className] - Additional CSS classes applied to the breadcrumb's `<nav>` element.
26
- * `DialBreadcrumb` scrolls horizontally on overflow, so this must not shrink
27
- * the nav to content width (e.g. never `w-auto`).
28
- * @param [ariaLabel='Folder path'] - Accessible name for the underlying `<nav>`.
29
- * `DialBreadcrumb` would otherwise name it "Breadcrumb", which misdescribes a
30
- * path with no navigable items; override it when a page shows more than one.
33
+ * @param [className] - Additional CSS classes applied to the `<nav>` element.
34
+ * The nav clips on overflow, so this must not shrink it to content width
35
+ * (e.g. never `w-auto`).
36
+ * @param [ariaLabel='Folder path'] - Accessible name for the `<nav>`. A path
37
+ * has no navigable items, so it is not named "Breadcrumb"; override it when a
38
+ * page shows more than one.
31
39
  */
32
40
  export declare const FolderPath: FC<FolderPathProps>;
@@ -0,0 +1,63 @@
1
+ import { FC, ReactNode } from 'react';
2
+ import { FormSectionVariant } from '../../../types/form-section';
3
+ export type FormSectionHeadingLevel = 2 | 3 | 4 | 5 | 6;
4
+ export interface FormSectionProps {
5
+ /** Heading of the section; also names the `section` landmark. */
6
+ title: ReactNode;
7
+ /** Control at the end of the heading row — typically a small "Add" or "Change" button. */
8
+ action?: ReactNode;
9
+ /** Optional line under the heading saying what the section holds. */
10
+ description?: ReactNode;
11
+ /** Type scale of the heading and description. Defaults to `FormSectionVariant.Row`. */
12
+ variant?: FormSectionVariant;
13
+ /** Level of the heading element, to fit the page's outline. Defaults to `3`. */
14
+ headingLevel?: FormSectionHeadingLevel;
15
+ /** The section's fields or values. */
16
+ children?: ReactNode;
17
+ /** Additional CSS classes for the container. */
18
+ className?: string;
19
+ /** Additional CSS classes for the heading. */
20
+ titleClassName?: string;
21
+ /** Additional CSS classes for the description. */
22
+ descriptionClassName?: string;
23
+ /** Additional CSS classes for the content wrapper. */
24
+ contentClassName?: string;
25
+ }
26
+ /**
27
+ * A titled section of a form or a builder column: a heading with an optional
28
+ * action at its end, an optional description and the section's content.
29
+ * aliases: SectionRow|FieldSection|SettingsSection|FormGroup|SectionHeader
30
+ * Design system 2.0
31
+ *
32
+ * The root is a `section` named by its heading, so each section is a region a
33
+ * screen reader can jump to. `headingLevel` picks the heading element so the
34
+ * section fits the outline of the page it is mounted in; the variant only sets
35
+ * the type scale. The action sits at the inline end of the heading row and
36
+ * never shrinks; the content is rendered as given, with no field styling of its
37
+ * own. For a collapsible group, use `Accordion`; for a single labelled control,
38
+ * the control's own `label`.
39
+ *
40
+ * @example
41
+ * ```tsx
42
+ * <FormSection
43
+ * title="Model"
44
+ * variant={FormSectionVariant.Caption}
45
+ * action={<GhostButton label="Change" onClick={openPicker} />}
46
+ * description="The model that answers in this application."
47
+ * >
48
+ * <SelectedEntityCard entityId={modelId} />
49
+ * </FormSection>
50
+ * ```
51
+ *
52
+ * @param title - Heading of the section; also names the `section` landmark.
53
+ * @param [action] - Control at the end of the heading row.
54
+ * @param [description] - Optional line under the heading.
55
+ * @param [variant] - Type scale of the heading and description. Defaults to `FormSectionVariant.Row`.
56
+ * @param [headingLevel] - Level of the heading element. Defaults to `3`.
57
+ * @param [children] - The section's fields or values.
58
+ * @param [className] - Additional CSS classes for the container.
59
+ * @param [titleClassName] - Additional CSS classes for the heading.
60
+ * @param [descriptionClassName] - Additional CSS classes for the description.
61
+ * @param [contentClassName] - Additional CSS classes for the content wrapper.
62
+ */
63
+ export declare const FormSection: FC<FormSectionProps>;
@@ -2,7 +2,7 @@ import { ColDef, GridApi, GridOptions } from 'ag-grid-community';
2
2
  import { ReactNode } from 'react';
3
3
  import { DropdownItem } from '../../../models/dropdown';
4
4
  import { GridSelectionMode } from '../../../models/selection-mode';
5
- import { GridColorScheme } from '../../../types/grid';
5
+ import { GridAppearance, GridColorScheme } from '../../../types/grid';
6
6
  /** Column id of the selection column this component prepends itself. */
7
7
  export declare const GRID_SELECTION_COLUMN_ID = "dial-kit-grid-selection";
8
8
  export interface GridProps<T extends object = Record<string, unknown>> {
@@ -60,6 +60,11 @@ export interface GridProps<T extends object = Record<string, unknown>> {
60
60
  * dark. Defaults to `light`, which leaves the current appearance unchanged.
61
61
  */
62
62
  colorScheme?: GridColorScheme;
63
+ /**
64
+ * Visual treatment. `Chat` draws the borderless "Chat table" card and
65
+ * ignores `wrapperBorder`. Defaults to `GridAppearance.Default`.
66
+ */
67
+ appearance?: GridAppearance;
63
68
  }
64
69
  /**
65
70
  * A data grid built on ag-Grid, wired to the 2.0 tokens and controls.
@@ -131,5 +136,6 @@ export interface GridProps<T extends object = Record<string, unknown>> {
131
136
  * @param [selectRowLabel] - Accessible name of a row's selection control.
132
137
  * @param [selectAllLabel='Select all rows'] - Accessible name of the select-all control.
133
138
  * @param [colorScheme='light'] - AG Grid color scheme. `dark` paints native controls dark.
139
+ * @param [appearance='default'] - Visual treatment; `chat` draws the borderless "Chat table".
134
140
  */
135
- export declare const Grid: <T extends object>({ columnDefs, rowData, additionalGridOptions, getContextMenuItems, className, ariaLabel, wrapCustomCellRenderers, disabledRowIds, selectedRowIds, onSelectionChange, onGridApiChange, getRowId, alternateOddRowColors, filterPlaceholder, emptyStateIcon, emptyStateTitle, emptyStateDescription, loading, wrapperBorder, withoutHeaderBorders, allowDisabledContextMenu, selectionMode, selectRowLabel, selectAllLabel, colorScheme, }: GridProps<T>) => import("react/jsx-runtime").JSX.Element;
141
+ export declare const Grid: <T extends object>({ columnDefs, rowData, additionalGridOptions, getContextMenuItems, className, ariaLabel, wrapCustomCellRenderers, disabledRowIds, selectedRowIds, onSelectionChange, onGridApiChange, getRowId, alternateOddRowColors, filterPlaceholder, emptyStateIcon, emptyStateTitle, emptyStateDescription, loading, wrapperBorder, withoutHeaderBorders, allowDisabledContextMenu, selectionMode, selectRowLabel, selectAllLabel, colorScheme, appearance, }: GridProps<T>) => import('react/jsx-runtime').JSX.Element;
@@ -18,4 +18,4 @@ export interface SelectionCellProps<T> {
18
18
  * `rowSelected` event, so a selection made anywhere — another cell, the header,
19
19
  * or the `selectedRowIds` prop — is reflected here without refreshing the cell.
20
20
  */
21
- export declare const SelectionCell: <T>({ params, mode, label, radioName, rowId, disabled, }: SelectionCellProps<T>) => import("react/jsx-runtime").JSX.Element;
21
+ export declare const SelectionCell: <T>({ params, mode, label, radioName, rowId, disabled, }: SelectionCellProps<T>) => import('react/jsx-runtime').JSX.Element;
@@ -11,4 +11,4 @@ export interface SelectionHeaderProps<T> extends IHeaderParams<T> {
11
11
  * rows put it in the `mixed` state, and disabled rows are excluded from the
12
12
  * count so a grid whose selectable rows are all selected still reads as full.
13
13
  */
14
- export declare const SelectionHeader: <T>({ api, label, }: SelectionHeaderProps<T>) => import("react/jsx-runtime").JSX.Element;
14
+ export declare const SelectionHeader: <T>({ api, label, }: SelectionHeaderProps<T>) => import('react/jsx-runtime').JSX.Element;
@@ -2,6 +2,8 @@
2
2
  export declare const GRID_ROOT_CLASS = "dial-kit-grid";
3
3
  /** Present only while a selection column is rendered. Drives its reveal. */
4
4
  export declare const GRID_WITH_SELECTION_CLASS = "dial-kit-grid-with-selection";
5
+ /** Present on `GridAppearance.Chat`: the "Chat table" card, dividers and rows. */
6
+ export declare const GRID_CHAT_CLASS = "dial-kit-grid-chat";
5
7
  export declare const GRID_WITHOUT_HEADER_BORDERS_CLASS = "dial-kit-grid-without-header-borders";
6
8
  /** Cell of the selection column: faded out until the row is hovered. */
7
9
  export declare const GRID_ROW_SELECT_CLASS = "dial-kit-grid-row-select";
@@ -11,7 +11,7 @@ export declare const INTERACTIVE_TOOLTIP_GAP = 8;
11
11
  export declare const INTERACTIVE_TOOLTIP_HOVER_OPEN_DELAY = 400;
12
12
  /**
13
13
  * The panel sits one step of the overlay ladder (`z-interactive-tooltip`, see
14
- * `zIndex` in `tailwind.config.js`) above the surface it is anchored to — a
14
+ * `--z-index-*` in `src/styles/theme.scss`) above the surface it is anchored to — a
15
15
  * dropdown or select overlay, both `z-floating` — since it can be opened from
16
16
  * a row inside one of them.
17
17
  *
@@ -0,0 +1,48 @@
1
+ import { FC, ReactNode } from 'react';
2
+ export interface LabelledTextProps {
3
+ /** Small caption above the value, naming it. */
4
+ label: ReactNode;
5
+ /** The value. Truncates with an ellipsis, revealing the full text in a tooltip only when clipped. */
6
+ text?: ReactNode;
7
+ /** Tooltip content shown instead of `text` while it is clipped. */
8
+ tooltip?: ReactNode;
9
+ /** Custom value content, rendered instead of `text`. */
10
+ children?: ReactNode;
11
+ /** Element after the value, e.g. a copy button. */
12
+ postfix?: ReactNode;
13
+ /** Additional CSS classes for the root element. */
14
+ className?: string;
15
+ }
16
+ /**
17
+ * A read-only label/value pair: a small caption above a value.
18
+ * aliases: LabelValue|DisplayText|ReadOnlyField|KeyValue
19
+ * Design system 2.0
20
+ *
21
+ * The caption is the kit's `Label`, so it matches the other 2.0 fields. There is
22
+ * no control to point its `htmlFor` at: it sits beside the value and reads in
23
+ * DOM order. It is not a form field: use `Label` with an input for editable
24
+ * values.
25
+ *
26
+ * Without `children` the value is a single line capped at 200px that truncates;
27
+ * the tooltip appears only while the text is actually clipped. With `children`
28
+ * the value takes the content's own width.
29
+ *
30
+ * @example
31
+ * ```tsx
32
+ * <LabelledText label="Endpoint" text="https://example.com/v1/chat" />
33
+ *
34
+ * <LabelledText
35
+ * label="Key"
36
+ * text="sk-0000"
37
+ * postfix={<IconButton icon={<IconCopy />} ariaLabel="Copy key" />}
38
+ * />
39
+ * ```
40
+ *
41
+ * @param label - Caption above the value.
42
+ * @param [text] - The value, truncated with an ellipsis when it does not fit.
43
+ * @param [tooltip] - Tooltip content used instead of `text` while it is clipped.
44
+ * @param [children] - Custom value content, rendered instead of `text`.
45
+ * @param [postfix] - Element after the value.
46
+ * @param [className] - Additional CSS classes for the root element.
47
+ */
48
+ export declare const LabelledText: FC<LabelledTextProps>;
@@ -1,7 +1,13 @@
1
1
  /**
2
2
  * Shared leaf module for the 2.0 Markdown editor's lazy loader. Both
3
3
  * `src/index.ts` (root) and `src/subpaths/editors.ts` (`./editors`)
4
- * re-export this same binding instead of each declaring their own copy -
5
- * see `src/components/JsonEditor/lazy.ts`'s comment for why.
4
+ * re-export this same binding instead of each declaring their own copy of
5
+ * the loader function. The duplication it replaced was an emitted-topology
6
+ * defect, not just source-level duplication: a loader function's body
7
+ * containing its own `import()` call, when duplicated verbatim into more than
8
+ * one entry's own emitted chunk, can pull an unrelated dynamically-imported
9
+ * feature into the initial graph in some Vite/Rolldown versions - see
10
+ * `openspec/changes/isolate-heavy-feature-modules` Section 9's
11
+ * `diagnosis-baseline.txt` for the measured reproduction.
6
12
  */
7
- export declare const LazyMarkdownEditor: () => Promise<typeof import("./MarkdownEditor")>;
13
+ export declare const LazyMarkdownEditor: () => Promise<typeof import('./MarkdownEditor')>;
@@ -2,4 +2,4 @@
2
2
  * Marks the chosen row in a `MenuItemMark.Check` list. Decorative: the row's
3
3
  * `aria-checked`/`aria-selected` already carries the state.
4
4
  */
5
- export declare const menuItemCheckIcon: import("react/jsx-runtime").JSX.Element;
5
+ export declare const menuItemCheckIcon: import('react/jsx-runtime').JSX.Element;
@@ -4,8 +4,10 @@ export interface NoDataContentProps {
4
4
  title: ReactNode;
5
5
  /** Optional secondary line under the title. */
6
6
  description?: ReactNode;
7
- /** Illustration above the title. Defaults to the empty-state document mark. */
7
+ /** Illustration above the title. Defaults to the placeholder-list card. */
8
8
  icon?: ReactNode;
9
+ /** Optional way forward, such as a button, rendered under the text. */
10
+ action?: ReactNode;
9
11
  /**
10
12
  * Announces the empty state to assistive tech as it appears. Turn it on where
11
13
  * the content replaces a list the user has just filtered or searched.
@@ -23,23 +25,29 @@ export interface NoDataContentProps {
23
25
  * aliases: EmptyState|NoResults|ZeroState
24
26
  * Design system 2.0
25
27
  *
26
- * Fills its container and centres an illustration, a headline and an optional
27
- * secondary line. The icon is decorative, so it is hidden from assistive tech
28
- * and the text carries the message on its own.
28
+ * Fills its container and centres an illustration, a headline, an optional
29
+ * secondary line and an optional action. The icon is decorative, so it is
30
+ * hidden from assistive tech and the text carries the message on its own.
29
31
  *
30
32
  * @example
31
33
  * ```tsx
32
34
  * <NoDataContent
33
- * title="No results found"
34
- * description="Try a different search term."
35
+ * title="No chats found"
36
+ * description="Try a different search term or check your filters."
37
+ * live
35
38
  * />
36
39
  *
37
- * <NoDataContent title="Nothing here yet" icon={<IconInbox size={60} />} live />
40
+ * <NoDataContent
41
+ * title="No chats yet"
42
+ * description="Chats will appear here once you start one."
43
+ * action={<Button label="New chat" onClick={createChat} />}
44
+ * />
38
45
  * ```
39
46
  *
40
47
  * @param title - Headline of the empty state.
41
48
  * @param [description] - Optional secondary line under the title.
42
- * @param [icon] - Illustration above the title. Defaults to the empty-state document mark.
49
+ * @param [icon] - Illustration above the title. Defaults to the placeholder-list card.
50
+ * @param [action] - Optional way forward, rendered under the text.
43
51
  * @param [live=false] - Announce the empty state to assistive tech as it appears.
44
52
  * @param [className] - Additional CSS classes for the container.
45
53
  * @param [titleClassName] - Additional CSS classes for the title.
@@ -0,0 +1,7 @@
1
+ import { FC } from 'react';
2
+ /**
3
+ * The empty-state illustration: a card holding three placeholder list rows.
4
+ * Every colour comes from a layer or stroke token, so it follows the theme
5
+ * instead of staying a light card on a dark surface.
6
+ */
7
+ export declare const NoDataIllustration: FC;
@@ -5,6 +5,8 @@ export interface PasswordInputProps extends Omit<InputProps, 'type' | 'iconAfter
5
5
  showPasswordLabel?: string;
6
6
  /** Accessible name of the reveal toggle while the value is visible. */
7
7
  hidePasswordLabel?: string;
8
+ /** Hides the reveal toggle while the field stays editable, and keeps the value masked. */
9
+ isToggleHidden?: boolean;
8
10
  }
9
11
  /**
10
12
  * A password field with a reveal toggle, built on {@link Input}.
@@ -18,6 +20,9 @@ export interface PasswordInputProps extends Omit<InputProps, 'type' | 'iconAfter
18
20
  * A disabled field is masked with no toggle at all, and comes back masked if it
19
21
  * is enabled again.
20
22
  *
23
+ * `isToggleHidden` does the same without disabling the field: use it when there
24
+ * is nothing to reveal, such as a stored secret the server never returns.
25
+ *
21
26
  * @example
22
27
  * ```tsx
23
28
  * <PasswordInput
@@ -32,5 +37,6 @@ export interface PasswordInputProps extends Omit<InputProps, 'type' | 'iconAfter
32
37
  * @param [hidePasswordLabel="Hide password"] - Accessible name of the toggle while the value is visible
33
38
  * @param [size=ElementSize.Standard] - Field height: standard is 40px, small is 24px
34
39
  * @param [disabled=false] - Disables the field, masks it, and hides the reveal toggle
40
+ * @param [isToggleHidden=false] - Hides the reveal toggle and keeps the value masked, leaving the field editable
35
41
  */
36
42
  export declare const PasswordInput: FC<PasswordInputProps>;
@@ -2,7 +2,7 @@ import { PopupSize } from '../../../types/popup';
2
2
  export declare const popupOverlayBaseClassName = "z-popup flex items-center justify-center bg-backdrop md:p-4 gap-5 p-6";
3
3
  export declare const popupBaseClassName = "relative flex w-full max-h-full flex-col rounded-xl bg-layer-raised md:h-auto";
4
4
  export declare const popupHeaderClassName = "flex flex-row items-center justify-between px-6 py-4";
5
- export declare const popupTitleClassName = "flex-1 min-w-0 mr-3 truncate dial-h1-text text-primary";
5
+ export declare const popupTitleClassName = "flex-1 min-w-0 mr-3 truncate dial-h2-text text-primary";
6
6
  /** Rule under the header. Opt-in: by default sections are separated by spacing. */
7
7
  export declare const popupHeaderDividerClassName = "border-b border-tertiary";
8
8
  export declare const popupFooterClassName = "flex flex-row items-center gap-2 px-6 py-4";
@@ -0,0 +1,68 @@
1
+ import { FC, ReactNode } from 'react';
2
+ /** Props for `ResizeHandle`. */
3
+ export interface ResizeHandleProps {
4
+ /** Current width of the panel the handle resizes, in px. */
5
+ width: number;
6
+ /** Smallest width the handle can set, in px. */
7
+ minWidth: number;
8
+ /** Largest width the handle can set, in px. */
9
+ maxWidth: number;
10
+ /** Width a double click resets the panel to, in px. Without it a double click does nothing. */
11
+ defaultWidth?: number;
12
+ /** Called with the next width, already limited to `minWidth`–`maxWidth`. */
13
+ onWidthChange: (width: number) => void;
14
+ /** Accessible name of the separator. */
15
+ label: string;
16
+ /** Hint shown beside the pointer once it rests on the handle. */
17
+ tooltip?: ReactNode;
18
+ /** Width change of one arrow key press, in px. Defaults to `16`. */
19
+ keyboardStep?: number;
20
+ /** Additional CSS classes for the handle, e.g. to change its position. */
21
+ className?: string;
22
+ }
23
+ /**
24
+ * A vertical separator on the inline-end edge of a panel that resizes the panel
25
+ * by pointer or keyboard.
26
+ * aliases: Splitter|ColumnResizer|DragHandle|Divider
27
+ * Design system 2.0
28
+ *
29
+ * The component is controlled: it reports every width through `onWidthChange`
30
+ * and the host applies it to the panel. It is a focusable `separator` — the
31
+ * window-splitter pattern — so the arrow keys move it by `keyboardStep`, `Home`
32
+ * and `End` jump to the bounds, and a double click resets it to `defaultWidth`.
33
+ * Drag and keys follow the writing direction, so a panel at the inline start
34
+ * grows as the pointer moves towards the inline end, in RTL as well.
35
+ *
36
+ * It is positioned absolutely against its nearest positioned ancestor, over the
37
+ * panel's inline-end edge, and draws a thin line. The accent line and the hint
38
+ * appear once the pointer has rested on the handle, and a themed arrow follows
39
+ * the pointer instead of the native cursor. Hide it on screens too narrow to
40
+ * drag on by wrapping it, e.g. in `hidden desktop:block`.
41
+ *
42
+ * @example
43
+ * ```tsx
44
+ * <div className="relative" style={{ width }}>
45
+ * <Sidebar />
46
+ * <ResizeHandle
47
+ * width={width}
48
+ * minWidth={280}
49
+ * maxWidth={640}
50
+ * defaultWidth={400}
51
+ * onWidthChange={setWidth}
52
+ * label="Resize sidebar"
53
+ * tooltip="Drag to resize"
54
+ * />
55
+ * </div>
56
+ * ```
57
+ *
58
+ * @param width - Current width of the panel in px.
59
+ * @param minWidth - Smallest width in px.
60
+ * @param maxWidth - Largest width in px.
61
+ * @param [defaultWidth] - Width a double click resets to.
62
+ * @param onWidthChange - Called with the next, limited width.
63
+ * @param label - Accessible name of the separator.
64
+ * @param [tooltip] - Hint shown beside the pointer once it rests on the handle.
65
+ * @param [keyboardStep=16] - Width change of one arrow key press in px.
66
+ * @param [className] - Additional CSS classes for the handle.
67
+ */
68
+ export declare const ResizeHandle: FC<ResizeHandleProps>;