@epam/ai-dial-ui-kit 0.16.0-dev.4 → 0.16.0-dev.43

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 (309) hide show
  1. package/README.md +8 -1
  2. package/dist/CHANGELOG.md +73 -1
  3. package/dist/DateCellRenderer-f1EmpTB0.cjs +63 -0
  4. package/dist/{IconButton-DHOFapLo.cjs → IconButton-CsePS6PY.cjs} +1 -1
  5. package/dist/JsonEditor-DQhHSm93.cjs +1 -0
  6. package/dist/{MarkdownEditor-Cp-KX6-T.cjs → MarkdownEditor-CvIPIbPq.cjs} +1 -1
  7. package/dist/{MarkdownEditor-Dav_pp0T.cjs → MarkdownEditor-TR6X_gdl.cjs} +1 -1
  8. package/dist/MarkdownEditorContainer-JIn_VNUX.cjs +1 -0
  9. package/dist/{Switch-DE6MrcqJ.cjs → Switch-HEL_aq23.cjs} +1 -1
  10. package/dist/_virtual/_commonjsHelpers.js +3 -28
  11. package/dist/_virtual/index.js +5 -3
  12. package/dist/components/Analytics/Bar/Bar.js +7 -7
  13. package/dist/components/Analytics/BarGroup/BarGroup.js +18 -18
  14. package/dist/components/Analytics/Histogram/Histogram.js +10 -10
  15. package/dist/components/Checkbox/Checkbox.js +9 -9
  16. package/dist/components/Dropdown/constants.js +2 -2
  17. package/dist/components/DropdownIcon/DropdownIcon.js +5 -5
  18. package/dist/components/Grid/Grid.js +11 -11
  19. package/dist/components/IconButton/IconButton.js +7 -7
  20. package/dist/components/InputPopup/InputPopup.js +8 -8
  21. package/dist/components/LoadFileArea/EmptyFileArea.js +28 -28
  22. package/dist/components/Loader/Loader.js +8 -8
  23. package/dist/components/MarkdownEditor/MarkdownEditorContainer.js +16 -18
  24. package/dist/components/New/Avatar/Avatar.js +20 -18
  25. package/dist/components/New/BottomSheet/BottomSheet.js +53 -52
  26. package/dist/components/New/Breadcrumbs/constants.js +1 -1
  27. package/dist/components/New/Calendar/Calendar.js +314 -227
  28. package/dist/components/New/Calendar/TimePickerPanel.js +87 -0
  29. package/dist/components/New/Calendar/constants.js +27 -25
  30. package/dist/components/New/CaptionText/CaptionText.js +3 -4
  31. package/dist/components/New/Checkbox/Checkbox.js +23 -21
  32. package/dist/components/New/Checkbox/CheckboxBox.js +25 -18
  33. package/dist/components/New/ConfirmationPopup/ConfirmationPopup.js +49 -44
  34. package/dist/components/New/Dropdown/Dropdown.js +334 -254
  35. package/dist/components/New/Dropdown/constants.js +21 -18
  36. package/dist/components/New/Dropdown/search.js +37 -0
  37. package/dist/components/New/EntityIdentity/EntityIdentity.js +62 -60
  38. package/dist/components/New/FolderPath/FolderPath.js +151 -46
  39. package/dist/components/New/FormSection/FormSection.js +87 -0
  40. package/dist/components/New/Input/Input.js +121 -107
  41. package/dist/components/New/MenuItem/MenuItem.js +17 -17
  42. package/dist/components/New/NoDataContent/NoDataContent.js +22 -27
  43. package/dist/components/New/NoDataContent/NoDataIllustration.js +53 -0
  44. package/dist/components/New/PasswordInput/PasswordInput.js +33 -32
  45. package/dist/components/New/Popup/constants.js +1 -1
  46. package/dist/components/New/Radio/Radio.js +19 -17
  47. package/dist/components/New/ResizeHandle/ResizeHandle.js +147 -0
  48. package/dist/components/New/SchemaRenderer/components/SchemaField.js +45 -44
  49. package/dist/components/New/SchemaRenderer/components/SchemaFieldContent.js +41 -38
  50. package/dist/components/New/SchemaRenderer/components/SchemaPrimitiveField.js +45 -39
  51. package/dist/components/New/Select/Select.js +205 -202
  52. package/dist/components/New/Select/constants.js +29 -38
  53. package/dist/components/New/SelectedEntityCard/SelectedEntityCard.js +86 -0
  54. package/dist/components/New/SharedEntityIndicator/SharedEntityIndicator.js +1 -1
  55. package/dist/components/New/SideDrawer/SideDrawer.js +1 -1
  56. package/dist/components/New/StateScreen/StateScreen.js +61 -0
  57. package/dist/components/New/Switch/Switch.js +19 -17
  58. package/dist/components/New/Tabs/Tabs.js +91 -58
  59. package/dist/components/New/Tag/Tag.js +34 -34
  60. package/dist/components/New/Tag/constants.js +13 -4
  61. package/dist/components/New/Textarea/Textarea.js +37 -33
  62. package/dist/components/New/TransferQueue/TransferQueue.js +66 -71
  63. package/dist/components/New/TransferQueue/TransferQueueHeader.js +30 -38
  64. package/dist/components/New/TransferQueue/TransferQueueRow.js +106 -49
  65. package/dist/components/Search/Search.js +1 -1
  66. package/dist/components/Select/Select.js +1 -1
  67. package/dist/components/Select/constants.js +6 -6
  68. package/dist/components/Slider/Slider.js +1 -1
  69. package/dist/components/Steps/Step.js +9 -9
  70. package/dist/components/TagInput/TagInput.js +1 -1
  71. package/dist/components-manifest.json +688 -1210
  72. package/dist/constants/public-class-names.js +15 -0
  73. package/dist/dial-ui-kit.cjs +4 -2
  74. package/dist/dial-ui-kit.js +376 -383
  75. package/dist/editors.cjs +1 -1
  76. package/dist/grid.cjs +1 -1
  77. package/dist/index.css +2 -6
  78. package/dist/lazy-kq-xfXXv.cjs +1 -0
  79. package/dist/{merge-classes-BEJXjzkx.cjs → merge-classes-B0SnCG4i.cjs} +1 -1
  80. package/dist/migration-guides/0.16.0/caption-text-no-alert-role.md +90 -0
  81. package/dist/migration-guides/0.16.0/legacy-file-manager-removal.md +89 -0
  82. package/dist/migration-guides/0.16.0/tailwind-v4-stylesheet.md +98 -0
  83. package/dist/migration-guides/README.md +3 -0
  84. package/dist/node_modules/react-dnd/dist/hooks/useCollector.js +1 -1
  85. package/dist/src/components/ButtonDropdown/constants.d.ts +2 -2
  86. package/dist/src/components/Dropdown/constants.d.ts +1 -1
  87. package/dist/src/components/Grid/Grid.d.ts +1 -1
  88. package/dist/src/components/JsonEditor/lazy.d.ts +1 -1
  89. package/dist/src/components/MarkdownEditor/lazy.d.ts +1 -1
  90. package/dist/src/components/New/Avatar/Avatar.d.ts +12 -3
  91. package/dist/src/components/New/Breadcrumbs/constants.d.ts +2 -2
  92. package/dist/src/components/New/ButtonDropdown/constants.d.ts +1 -1
  93. package/dist/src/components/New/Calendar/Calendar.d.ts +10 -2
  94. package/dist/src/components/New/Calendar/TimePickerPanel.d.ts +15 -0
  95. package/dist/src/components/New/Calendar/constants.d.ts +7 -5
  96. package/dist/src/components/New/CaptionText/CaptionText.d.ts +8 -1
  97. package/dist/src/components/New/Dropdown/Dropdown.d.ts +42 -0
  98. package/dist/src/components/New/Dropdown/constants.d.ts +7 -1
  99. package/dist/src/components/New/Dropdown/search.d.ts +9 -0
  100. package/dist/src/components/New/EntityIdentity/EntityIdentity.d.ts +6 -2
  101. package/dist/src/components/New/FilterChips/FilterChips.d.ts +1 -1
  102. package/dist/src/components/New/FolderPath/FolderPath.d.ts +16 -8
  103. package/dist/src/components/New/FormSection/FormSection.d.ts +63 -0
  104. package/dist/src/components/New/Grid/Grid.d.ts +1 -1
  105. package/dist/src/components/New/Grid/components/SelectionCell.d.ts +1 -1
  106. package/dist/src/components/New/Grid/components/SelectionHeader.d.ts +1 -1
  107. package/dist/src/components/New/InteractiveTooltip/constants.d.ts +1 -1
  108. package/dist/src/components/New/MarkdownEditor/lazy.d.ts +1 -1
  109. package/dist/src/components/New/MenuItem/constants.d.ts +1 -1
  110. package/dist/src/components/New/NoDataContent/NoDataContent.d.ts +16 -8
  111. package/dist/src/components/New/NoDataContent/NoDataIllustration.d.ts +7 -0
  112. package/dist/src/components/New/PasswordInput/PasswordInput.d.ts +6 -0
  113. package/dist/src/components/New/Popup/constants.d.ts +1 -1
  114. package/dist/src/components/New/ResizeHandle/ResizeHandle.d.ts +68 -0
  115. package/dist/src/components/New/SchemaRenderer/components/SchemaFieldContent.d.ts +1 -0
  116. package/dist/src/components/New/SchemaRenderer/components/SchemaPrimitiveField.d.ts +2 -0
  117. package/dist/src/components/New/SchemaRenderer/types.d.ts +3 -1
  118. package/dist/src/components/New/SegmentedControl/SegmentedControl.d.ts +1 -1
  119. package/dist/src/components/New/Select/Select.d.ts +2 -0
  120. package/dist/src/components/New/Select/constants.d.ts +3 -4
  121. package/dist/src/components/New/SelectedEntityCard/SelectedEntityCard.d.ts +67 -0
  122. package/dist/src/components/New/StateScreen/StateScreen.d.ts +47 -0
  123. package/dist/src/components/New/Tabs/Tabs.d.ts +17 -1
  124. package/dist/src/components/New/Tag/Tag.d.ts +9 -5
  125. package/dist/src/components/New/Tag/constants.d.ts +12 -4
  126. package/dist/src/components/New/Tooltip/constants.d.ts +2 -2
  127. package/dist/src/components/New/TransferQueue/TransferQueue.d.ts +9 -5
  128. package/dist/src/components/New/TransferQueue/TransferQueueHeader.d.ts +1 -3
  129. package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +1 -1
  130. package/dist/src/components/Select/constants.d.ts +3 -3
  131. package/dist/src/constants/public-class-names.d.ts +15 -0
  132. package/dist/src/index.d.ts +13 -14
  133. package/dist/src/subpaths/editors.d.ts +1 -1
  134. package/dist/src/types/avatar.d.ts +9 -0
  135. package/dist/src/types/form-section.d.ts +9 -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/sub-menu-floating.d.ts +1 -1
  140. package/dist/types/avatar.js +3 -2
  141. package/dist/types/form-section.js +4 -0
  142. package/dist/types/tab.js +5 -4
  143. package/dist/types/tag.js +2 -2
  144. package/dist/utils/avatar.js +41 -18
  145. package/dist/utils/merge-classes.js +36 -7
  146. package/dist/utils/sub-menu-floating.js +8 -8
  147. package/package.json +13 -16
  148. package/dist/DateCellRenderer-C7yExfh5.cjs +0 -1
  149. package/dist/DateCellRenderer-ElULb0hY.cjs +0 -63
  150. package/dist/JsonEditor-eAV7SaKu.cjs +0 -1
  151. package/dist/MarkdownEditorContainer-96cKYmYd.cjs +0 -1
  152. package/dist/_virtual/___vite-browser-external.js +0 -6
  153. package/dist/_virtual/__vite-browser-external.js +0 -4
  154. package/dist/_virtual/index2.js +0 -4
  155. package/dist/_virtual/index3.js +0 -7
  156. package/dist/assets/icons/add-child.svg.js +0 -5
  157. package/dist/assets/icons/add-sibling.svg.js +0 -5
  158. package/dist/assets/icons/copy-to.svg.js +0 -5
  159. package/dist/assets/icons/move-to.svg.js +0 -5
  160. package/dist/assets/icons/no-data.svg.js +0 -5
  161. package/dist/assets/icons/unshare.svg.js +0 -5
  162. package/dist/components/FileManager/FileManager.js +0 -888
  163. package/dist/components/FileManager/FileManagerContext.js +0 -5
  164. package/dist/components/FileManager/FileManagerProvider.js +0 -772
  165. package/dist/components/FileManager/FileManagerTooltip.js +0 -92
  166. package/dist/components/FileManager/components/ConflictResolutionPopup/ConflictResolutionPopup.js +0 -293
  167. package/dist/components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.js +0 -201
  168. package/dist/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.js +0 -52
  169. package/dist/components/FileManager/components/FileManagerBulkActionsToolbar/FileManagerBulkActionsToolbar.js +0 -103
  170. package/dist/components/FileManager/components/FileManagerBulkActionsToolbar/constants.js +0 -5
  171. package/dist/components/FileManager/components/FileManagerDeleteConfirmationPopup/FileManagerDeleteConfirmationPopup.js +0 -56
  172. package/dist/components/FileManager/components/FileManagerItemIcon/FileManagerItemIcon.js +0 -69
  173. package/dist/components/FileManager/components/FileManagerItemName/FileManagerItemName.js +0 -100
  174. package/dist/components/FileManager/components/FileManagerItemNameInput/FileManagerItemNameInput.js +0 -93
  175. package/dist/components/FileManager/components/FileManagerNavigationPanel/FileManagerNavigationPanel.js +0 -165
  176. package/dist/components/FileManager/components/FileManagerNavigationPanel/constants.js +0 -6
  177. package/dist/components/FileManager/components/FileManagerToolbar/DialFileManagerToolbar.js +0 -120
  178. package/dist/components/FileManager/components/FileMetadataPopup/FileMetadataPopup.js +0 -119
  179. package/dist/components/FileManager/components/FileMetadataPopup/constants.js +0 -9
  180. package/dist/components/FileManager/components/FoldersTree/FoldersTree.js +0 -180
  181. package/dist/components/FileManager/components/FoldersTree/constants.js +0 -9
  182. package/dist/components/FileManager/components/FoldersTree/hooks/use-expanded-paths.js +0 -51
  183. package/dist/components/FileManager/constants.js +0 -28
  184. package/dist/components/FileManager/errors.js +0 -10
  185. package/dist/components/FileManager/hooks/use-bulk-actions.js +0 -143
  186. package/dist/components/FileManager/hooks/use-collapse-tree.js +0 -22
  187. package/dist/components/FileManager/hooks/use-conflict-resolution.js +0 -158
  188. package/dist/components/FileManager/hooks/use-current-path.js +0 -29
  189. package/dist/components/FileManager/hooks/use-file-clipboard.js +0 -154
  190. package/dist/components/FileManager/hooks/use-file-delete.js +0 -39
  191. package/dist/components/FileManager/hooks/use-file-download.js +0 -16
  192. package/dist/components/FileManager/hooks/use-file-manager-columns.js +0 -106
  193. package/dist/components/FileManager/hooks/use-file-manager-context.js +0 -13
  194. package/dist/components/FileManager/hooks/use-file-manager-tabs.js +0 -23
  195. package/dist/components/FileManager/hooks/use-file-metadata.js +0 -20
  196. package/dist/components/FileManager/hooks/use-file-search.js +0 -90
  197. package/dist/components/FileManager/hooks/use-file-upload.js +0 -338
  198. package/dist/components/FileManager/hooks/use-folder-creation.js +0 -151
  199. package/dist/components/FileManager/hooks/use-grid-actions-column.js +0 -65
  200. package/dist/components/FileManager/hooks/use-grid-context-menu.js +0 -188
  201. package/dist/components/FileManager/hooks/use-item-renaming.js +0 -124
  202. package/dist/components/FileManager/hooks/use-new-actions.js +0 -67
  203. package/dist/components/FileManager/hooks/use-paths-selection.js +0 -28
  204. package/dist/components/FileManager/hooks/use-show-hidden-files.js +0 -20
  205. package/dist/components/FileManager/hooks/use-tree-additional-buttons.js +0 -39
  206. package/dist/components/FileManager/hooks/use-trigger-view-create-folder.js +0 -42
  207. package/dist/components/FileManager/hooks/use-trigger-view-rename.js +0 -25
  208. package/dist/components/FileManager/utils.js +0 -129
  209. package/dist/constants/file-grid-columns.js +0 -176
  210. package/dist/editor-BH6_A1k2.cjs +0 -1
  211. package/dist/file-manager.cjs +0 -1
  212. package/dist/file-manager.js +0 -22
  213. package/dist/hooks/use-flexible-actions.js +0 -72
  214. package/dist/hooks/use-width-breakpoint.js +0 -15
  215. package/dist/lazy-DMVYJhUR.cjs +0 -1
  216. package/dist/node_modules/mime-db/db.json.js +0 -2527
  217. package/dist/node_modules/mime-db/index.js +0 -8
  218. package/dist/node_modules/mime-types/index.js +0 -70
  219. package/dist/node_modules/mime-types/mimeScore.js +0 -38
  220. package/dist/src/__mocks__/monaco-editor.d.ts +0 -13
  221. package/dist/src/components/Analytics/Bar/utils.spec.d.ts +0 -1
  222. package/dist/src/components/Analytics/Histogram/utils.spec.d.ts +0 -1
  223. package/dist/src/components/Button/ButtonWrappers.test.d.ts +0 -1
  224. package/dist/src/components/Button/__tests__/utils.spec.d.ts +0 -1
  225. package/dist/src/components/FileManager/FileManager.d.ts +0 -326
  226. package/dist/src/components/FileManager/FileManagerContext.d.ts +0 -181
  227. package/dist/src/components/FileManager/FileManagerProvider.d.ts +0 -21
  228. package/dist/src/components/FileManager/FileManagerTooltip.d.ts +0 -12
  229. package/dist/src/components/FileManager/__mocks__/files.d.ts +0 -3
  230. package/dist/src/components/FileManager/components/ConflictResolutionPopup/ConflictResolutionPopup.d.ts +0 -90
  231. package/dist/src/components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.d.ts +0 -73
  232. package/dist/src/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.d.ts +0 -63
  233. package/dist/src/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.test.d.ts +0 -1
  234. package/dist/src/components/FileManager/components/FileManagerBulkActionsToolbar/FileManagerBulkActionsToolbar.d.ts +0 -56
  235. package/dist/src/components/FileManager/components/FileManagerBulkActionsToolbar/constants.d.ts +0 -3
  236. package/dist/src/components/FileManager/components/FileManagerDeleteConfirmationPopup/FileManagerDeleteConfirmationPopup.d.ts +0 -26
  237. package/dist/src/components/FileManager/components/FileManagerItemIcon/FileManagerItemIcon.d.ts +0 -51
  238. package/dist/src/components/FileManager/components/FileManagerItemName/FileManagerItemName.d.ts +0 -57
  239. package/dist/src/components/FileManager/components/FileManagerItemNameInput/FileManagerItemNameInput.d.ts +0 -71
  240. package/dist/src/components/FileManager/components/FileManagerNavigationPanel/FileManagerNavigationPanel.d.ts +0 -64
  241. package/dist/src/components/FileManager/components/FileManagerNavigationPanel/constants.d.ts +0 -3
  242. package/dist/src/components/FileManager/components/FileManagerToolbar/DialFileManagerToolbar.d.ts +0 -76
  243. package/dist/src/components/FileManager/components/FileMetadataPopup/FileMetadataPopup.d.ts +0 -50
  244. package/dist/src/components/FileManager/components/FileMetadataPopup/constants.d.ts +0 -6
  245. package/dist/src/components/FileManager/components/FoldersTree/FoldersTree.d.ts +0 -135
  246. package/dist/src/components/FileManager/components/FoldersTree/constants.d.ts +0 -6
  247. package/dist/src/components/FileManager/components/FoldersTree/hooks/use-expanded-paths.d.ts +0 -13
  248. package/dist/src/components/FileManager/constants.d.ts +0 -21
  249. package/dist/src/components/FileManager/errors.d.ts +0 -6
  250. package/dist/src/components/FileManager/hooks/__tests__/use-conflict-resolution.spec.d.ts +0 -1
  251. package/dist/src/components/FileManager/hooks/__tests__/use-current-path.spec.d.ts +0 -1
  252. package/dist/src/components/FileManager/hooks/__tests__/use-file-clipboard.spec.d.ts +0 -1
  253. package/dist/src/components/FileManager/hooks/__tests__/use-file-delete.spec.d.ts +0 -1
  254. package/dist/src/components/FileManager/hooks/__tests__/use-file-download.spec.d.ts +0 -1
  255. package/dist/src/components/FileManager/hooks/__tests__/use-file-upload.spec.d.ts +0 -1
  256. package/dist/src/components/FileManager/hooks/__tests__/use-show-hidden-files.spec.d.ts +0 -1
  257. package/dist/src/components/FileManager/hooks/__tests__/use-trigger-view-rename.spec.d.ts +0 -1
  258. package/dist/src/components/FileManager/hooks/use-bulk-actions.d.ts +0 -30
  259. package/dist/src/components/FileManager/hooks/use-collapse-tree.d.ts +0 -9
  260. package/dist/src/components/FileManager/hooks/use-conflict-resolution.d.ts +0 -27
  261. package/dist/src/components/FileManager/hooks/use-current-path.d.ts +0 -13
  262. package/dist/src/components/FileManager/hooks/use-file-clipboard.d.ts +0 -37
  263. package/dist/src/components/FileManager/hooks/use-file-delete.d.ts +0 -13
  264. package/dist/src/components/FileManager/hooks/use-file-download.d.ts +0 -9
  265. package/dist/src/components/FileManager/hooks/use-file-manager-columns.d.ts +0 -43
  266. package/dist/src/components/FileManager/hooks/use-file-manager-context.d.ts +0 -7
  267. package/dist/src/components/FileManager/hooks/use-file-manager-tabs.d.ts +0 -10
  268. package/dist/src/components/FileManager/hooks/use-file-metadata.d.ts +0 -10
  269. package/dist/src/components/FileManager/hooks/use-file-search.d.ts +0 -23
  270. package/dist/src/components/FileManager/hooks/use-file-upload.d.ts +0 -64
  271. package/dist/src/components/FileManager/hooks/use-folder-creation.d.ts +0 -30
  272. package/dist/src/components/FileManager/hooks/use-grid-actions-column.d.ts +0 -15
  273. package/dist/src/components/FileManager/hooks/use-grid-context-menu.d.ts +0 -44
  274. package/dist/src/components/FileManager/hooks/use-item-renaming.d.ts +0 -22
  275. package/dist/src/components/FileManager/hooks/use-new-actions.d.ts +0 -23
  276. package/dist/src/components/FileManager/hooks/use-paths-selection.d.ts +0 -13
  277. package/dist/src/components/FileManager/hooks/use-show-hidden-files.d.ts +0 -9
  278. package/dist/src/components/FileManager/hooks/use-tree-additional-buttons.d.ts +0 -22
  279. package/dist/src/components/FileManager/hooks/use-trigger-view-create-folder.d.ts +0 -26
  280. package/dist/src/components/FileManager/hooks/use-trigger-view-rename.d.ts +0 -20
  281. package/dist/src/components/FileManager/utils.d.ts +0 -69
  282. package/dist/src/components/FileManager/utils.spec.d.ts +0 -1
  283. package/dist/src/components/Grid/comparators/base-column-comparator.spec.d.ts +0 -1
  284. package/dist/src/components/Grid/renderers/utils.spec.d.ts +0 -1
  285. package/dist/src/components/New/AutocompleteTagInput/utils.spec.d.ts +0 -1
  286. package/dist/src/components/New/Button/__tests__/utils.spec.d.ts +0 -1
  287. package/dist/src/components/New/Calendar/utils.spec.d.ts +0 -1
  288. package/dist/src/components/New/Slider/utils.spec.d.ts +0 -1
  289. package/dist/src/components/New/TagInput/utils.spec.d.ts +0 -1
  290. package/dist/src/components/Pagination/tests/utils.spec.d.ts +0 -1
  291. package/dist/src/components/SchemaRenderer/tests/utils.spec.d.ts +0 -1
  292. package/dist/src/components/Steps/tests/Steps.test.d.ts +0 -1
  293. package/dist/src/components/Steps/tests/utils.spec.d.ts +0 -1
  294. package/dist/src/constants/file-grid-columns.d.ts +0 -4
  295. package/dist/src/models/file-manager.d.ts +0 -19
  296. package/dist/src/subpaths/file-manager.d.ts +0 -21
  297. package/dist/src/types/file-manager.d.ts +0 -59
  298. package/dist/src/utils/__tests__/accessible-name.spec.d.ts +0 -1
  299. package/dist/src/utils/__tests__/avatar.spec.d.ts +0 -1
  300. package/dist/src/utils/__tests__/element-size-observer.spec.d.ts +0 -1
  301. package/dist/src/utils/__tests__/file-accept.spec.d.ts +0 -1
  302. package/dist/src/utils/__tests__/merge-classes.spec.d.ts +0 -1
  303. package/dist/src/utils/__tests__/path.spec.d.ts +0 -1
  304. package/dist/src/utils/__tests__/pointer.spec.d.ts +0 -1
  305. package/dist/src/utils/__tests__/timezone.spec.d.ts +0 -1
  306. package/dist/src/utils/grid-registration.spec.d.ts +0 -1
  307. package/dist/types/file-manager.js +0 -12
  308. package/dist/use-file-manager-tabs-Bgh8mfOJ.cjs +0 -3
  309. package/dist/utils/path.js +0 -4
@@ -0,0 +1,67 @@
1
+ import { FC, ReactNode } from 'react';
2
+ import { EntityIdentityItem } from '../EntityIdentity/EntityIdentity';
3
+ /** User-visible strings of `SelectedEntityCard`. */
4
+ export interface SelectedEntityCardLabels {
5
+ /** Type label text, passed to `EntityIdentity`. Defaults to the English name of `item.type`. */
6
+ type?: string;
7
+ /** Text shown when nothing is selected. Defaults to `'Not selected'`. */
8
+ placeholder?: string;
9
+ }
10
+ /** Props for `SelectedEntityCard`. */
11
+ export interface SelectedEntityCardProps {
12
+ /** Id of the selected entity, `''` when there is none. Shown as-is when `item` is missing. */
13
+ entityId: string;
14
+ /** The selected entity as the catalog lists it; missing when the catalog does not. */
15
+ item?: EntityIdentityItem;
16
+ /** Whether the catalog is still loading; a skeleton stands in for a selected entity meanwhile. */
17
+ isLoading?: boolean;
18
+ /** Dims the card. */
19
+ isDisabled?: boolean;
20
+ /** Error text under the card; it also turns the card's border red. */
21
+ error?: string;
22
+ /** What rides on the selection (an effort, a context window), as a line under the name. */
23
+ details?: ReactNode;
24
+ /** User-visible strings; pass translated ones in a localised app. */
25
+ labels?: SelectedEntityCardLabels;
26
+ /** Whether to show the type label above the name — off when a heading next to the card already names it. */
27
+ showType?: boolean;
28
+ /** Width and height of the icon in px. */
29
+ iconSize?: number;
30
+ /** Heading level of the name, 1–6. */
31
+ headingLevel?: number;
32
+ /** Additional CSS classes for the card. */
33
+ className?: string;
34
+ }
35
+ /**
36
+ * The card of a form field that holds one selected entity — a model, an agent,
37
+ * a toolset: its identity, a skeleton while the catalog loads, its raw id when
38
+ * the catalog does not list it, or a placeholder when nothing is selected.
39
+ * aliases: SelectedModelCard|ModelCard|EntityCard
40
+ * Design system 2.0
41
+ *
42
+ * The control that changes the selection lives next to the card, not in it:
43
+ * the card is not interactive.
44
+ *
45
+ * @example
46
+ * ```tsx
47
+ * <SelectedEntityCard
48
+ * entityId="gpt-4o"
49
+ * item={{ type: EntityType.Model, name: 'GPT-4o', version: '2024-11-20' }}
50
+ * isLoading={isLoading}
51
+ * labels={{ type: t('Model'), placeholder: t('Select model') }}
52
+ * />
53
+ * ```
54
+ *
55
+ * @param entityId - Id of the selected entity, `''` when there is none
56
+ * @param [item] - The selected entity as the catalog lists it
57
+ * @param [isLoading=false] - Whether the catalog is still loading
58
+ * @param [isDisabled=false] - Dims the card
59
+ * @param [error] - Error text under the card; also turns its border red
60
+ * @param [details] - A line under the name
61
+ * @param [labels] - User-visible strings
62
+ * @param [showType=true] - Whether to show the type label
63
+ * @param [iconSize=44] - Icon size in px
64
+ * @param [headingLevel=4] - Heading level of the name
65
+ * @param [className] - Additional CSS classes for the card
66
+ */
67
+ export declare const SelectedEntityCard: FC<SelectedEntityCardProps>;
@@ -0,0 +1,47 @@
1
+ import { FC, ReactNode } from 'react';
2
+ export interface StateScreenProps {
3
+ /** Headline of the state, rendered as the page's `h1`. */
4
+ title: ReactNode;
5
+ /** Optional line under the title saying what the state means or what to do. */
6
+ description?: ReactNode;
7
+ /** Glyph drawn in the round badge above the title. Decorative: hidden from assistive tech. */
8
+ icon?: ReactNode;
9
+ /** The way out of the state — typically one button (Log in, Log out, Retry). */
10
+ action?: ReactNode;
11
+ /** Additional CSS classes for the container. */
12
+ className?: string;
13
+ /** Additional CSS classes for the title. */
14
+ titleClassName?: string;
15
+ /** Additional CSS classes for the description. */
16
+ descriptionClassName?: string;
17
+ }
18
+ /**
19
+ * A whole screen given over to one state the app cannot work past: signed out,
20
+ * access denied, a misconfigured provider.
21
+ * aliases: AuthScreen|LoginScreen|ForbiddenPage|AccessDenied|ErrorPage|FullPageState
22
+ * Design system 2.0
23
+ *
24
+ * Fills its container and centres a round icon badge, an `h1`, an optional
25
+ * description and an optional action. The root is a `section` named by its
26
+ * title, so the state is a landmark of its own. For an empty list or grid
27
+ * inside a page, use `NoDataContent` instead.
28
+ *
29
+ * @example
30
+ * ```tsx
31
+ * <StateScreen
32
+ * icon={<IconLock size={DIAL_ICON_SIZE.LG} stroke={DIAL_KIT_ICON_STROKE} />}
33
+ * title="Log in to configure your QuickApp"
34
+ * description="Set up instructions, add-ons and settings."
35
+ * action={<NeutralButton label="Log in" onClick={openLogin} />}
36
+ * />
37
+ * ```
38
+ *
39
+ * @param title - Headline of the state, rendered as the page's `h1`.
40
+ * @param [description] - Optional line under the title.
41
+ * @param [icon] - Glyph drawn in the round badge; the badge is omitted without one.
42
+ * @param [action] - The way out of the state, rendered under the text.
43
+ * @param [className] - Additional CSS classes for the container.
44
+ * @param [titleClassName] - Additional CSS classes for the title.
45
+ * @param [descriptionClassName] - Additional CSS classes for the description.
46
+ */
47
+ export declare const StateScreen: FC<StateScreenProps>;
@@ -1,5 +1,5 @@
1
1
  import { FC, ReactNode } from 'react';
2
- import { TabOrientation } from '../../../types/tab';
2
+ import { TabOrientation, TabStatus } from '../../../types/tab';
3
3
  /** A single tab entry rendered by {@link Tabs}. */
4
4
  export interface TabItem {
5
5
  /** Unique identifier used to match against `activeTabId`. */
@@ -12,6 +12,18 @@ export interface TabItem {
12
12
  icon?: ReactNode;
13
13
  /** Renders the tab greyed out and unselectable, and skips it during keyboard navigation. */
14
14
  disabled?: boolean;
15
+ /**
16
+ * Flags the tab as holding an error or a warning � typically a form section
17
+ * that failed validation. Draws a coloured icon after the label and adds the
18
+ * state to the tab's accessible name. Uses the {@link TabStatus} enum.
19
+ */
20
+ status?: TabStatus;
21
+ /**
22
+ * Already-translated text announced for `status`, appended to the tab's
23
+ * accessible name. Defaults to `'Error'` / `'Warning'`; pass it when the
24
+ * interface is localised.
25
+ */
26
+ statusLabel?: string;
15
27
  }
16
28
  export interface TabsProps {
17
29
  /** Ordered list of tabs to render. */
@@ -64,6 +76,10 @@ export interface TabsProps {
64
76
  * `ArrowUp` / `ArrowDown`. The rail is the shape to reach for when the tabs
65
77
  * label whole pages of a settings surface; the row, when they filter one.
66
78
  *
79
+ * A tab with a `status` (`TabStatus.Error` or `TabStatus.Warning`) draws a
80
+ * coloured icon after its label, and the status text joins the tab's accessible
81
+ * name so the state reaches assistive tech as well as sighted users.
82
+ *
67
83
  * `className` lands on whichever element is outermost: the heading wrapper when
68
84
  * `sectionLabel` is set, the `role="tablist"` itself when it is not.
69
85
  *
@@ -16,9 +16,10 @@ export interface TagProps extends NativeTagProps {
16
16
  * aliases: Chip|Pill
17
17
  * Design system 2.0
18
18
  *
19
- * The tag has one height — the 32px pill of the 2.0 design. There is no `size`
20
- * prop: a tag sizes itself, and a caller that needs a different height is
21
- * usually reaching for a button.
19
+ * The tag is the 32px pill of the 2.0 design; `TagAppearance.Bordered` is the
20
+ * compact 24px value chip of a form field. There is no `size` prop: a tag sizes
21
+ * itself, and a caller that needs a different height is usually reaching for a
22
+ * button.
22
23
  *
23
24
  * The label truncates rather than wrapping, and carries a native `title` so the
24
25
  * full text stays reachable when it does.
@@ -28,7 +29,9 @@ export interface TagProps extends NativeTagProps {
28
29
  * the caller: a clickable tag that is also closable gives a screen reader two
29
30
  * actions with no way to tell which one it landed on.
30
31
  *
31
- * No tag draws a rim; the two appearances are told apart by their fill.
32
+ * `outlined` and `selectable` draw no rim and are told apart by their fill;
33
+ * `bordered` draws one: the outlined `Badge`'s look, for a value the user can
34
+ * remove, on a surface the rimless fill would vanish on.
32
35
  * `TagAppearance.Selectable` is the filter chip of the 2.0 design: no fill
33
36
  * at all until it is selected, one hover tint shared by both states, a semibold
34
37
  * label once selected, and the state carried on `aria-pressed` rather than by
@@ -55,7 +58,8 @@ export interface TagProps extends NativeTagProps {
55
58
  * @param label - Text content displayed inside the tag.
56
59
  * @param [icon] - Icon rendered before the label.
57
60
  * @param [appearance=TagAppearance.Outlined] - `outlined` is the filled chip on the raised
58
- * layer; `selectable` is the unfilled filter chip that tints and turns semibold when selected.
61
+ * layer; `selectable` is the unfilled filter chip that tints and turns semibold when selected;
62
+ * `bordered` is the compact rimmed value chip of a form field.
59
63
  * @param [selected=false] - Applies the accent-tinted selected styling.
60
64
  * @param [disabled=false] - Stops the tag responding: no click handling, no remove control. The design defines no disabled tag, so the colours stay put.
61
65
  * @param [closable=false] - Renders the remove button. Needs `onRemove` to appear.
@@ -6,10 +6,18 @@ import { TagAppearance } from '../../../types/tag';
6
6
  */
7
7
  export declare const tagBaseClassName = "inline-flex h-[32px] max-w-full items-center gap-1 rounded-full px-3";
8
8
  /**
9
- * Fill and text colour per appearance and selection. No tag draws a rim: the
10
- * two appearances are told apart by their fill — `outlined` sits on the raised
11
- * layer, `selectable` on nothing until it is selected, where it also steps its
12
- * label up from secondary to primary.
9
+ * Shape and type scale per appearance, over `tagBaseClassName`. The bordered
10
+ * chip is the compact value chip of a form field — the removable twin of
11
+ * `Badge`'s outlined label: its 24px, 6px corner and rim on the sunken layer,
12
+ * with the value in primary text on the small type scale.
13
+ */
14
+ export declare const tagShapeClassNames: Record<TagAppearance, string>;
15
+ /**
16
+ * Fill and text colour per appearance and selection. `outlined` and
17
+ * `selectable` draw no rim and are told apart by their fill — `outlined` sits
18
+ * on the raised layer, `selectable` on nothing until it is selected, where it
19
+ * also steps its label up from secondary to primary. `bordered` is the one with
20
+ * a rim, on the sunken layer.
13
21
  */
14
22
  export declare const tagStateClassNames: Record<TagAppearance, Record<'default' | 'selected', string>>;
15
23
  /** Cursor and focus ring of a tag that can be activated. */
@@ -19,8 +19,8 @@ export declare const HOVER_OPEN_DELAY = 500;
19
19
  */
20
20
  export declare const arrowClassName = "fill-control-inverted";
21
21
  /**
22
- * Tooltips sit at the top of the overlay ladder (`z-tooltip`, see `zIndex` in
23
- * `tailwind.config.js`) — above popups (`z-popup`), dropdowns and the calendar
22
+ * Tooltips sit at the top of the overlay ladder (`z-tooltip`, see `--z-index-*` in
23
+ * `src/styles/theme.scss`) — above popups (`z-popup`), dropdowns and the calendar
24
24
  * (`z-floating`) and interactive tooltips — since they can be triggered by a
25
25
  * control inside any of them.
26
26
  *
@@ -52,7 +52,11 @@ export interface TransferQueueLabels {
52
52
  closeConfirmHeader: string;
53
53
  /** Confirmation description when an item is in progress and none failed. */
54
54
  closeConfirmDescriptionInProgress: string;
55
- /** Confirmation description when an item failed and none is in progress. */
55
+ /**
56
+ * Confirmation description when an item failed and none is in progress.
57
+ * @deprecated Never shown: closing asks for confirmation only while an item
58
+ * is in progress, since a failed one has nothing left to lose.
59
+ */
56
60
  closeConfirmDescriptionFailed: string;
57
61
  /** Confirmation description when items are both in progress and failed. */
58
62
  closeConfirmDescriptionMixed: string;
@@ -103,12 +107,12 @@ export interface TransferQueueProps {
103
107
  * Each row shows the file's `FileIcon` and name, and a trailing status: a
104
108
  * spinner (with a cancel control on hover or focus) while in progress, a check
105
109
  * on success, a warning or error icon whose reason is both its tooltip and its
106
- * accessible name, or "Canceled". The header carries the host's title, a count
107
- * of failed items, and collapse and close controls. Collapsed while work runs,
110
+ * accessible name, or "Canceled". The header carries the host's title and the
111
+ * collapse and close controls. Collapsed while work runs,
108
112
  * the rows are replaced by one aggregate `ProgressBar`.
109
113
  *
110
- * Closing while an item is in progress or has failed asks for confirmation
111
- * first. Once every item has succeeded the queue closes itself after
114
+ * Closing while an item is in progress asks for confirmation first; a queue
115
+ * whose items have all settled, failed ones included, closes straight away. Once every item has succeeded the queue closes itself after
112
116
  * `autoCloseDelay`; a warned or canceled row keeps it open so it can be read.
113
117
  *
114
118
  * The root is a polite `role="status"` live region. Positioning is left to
@@ -2,8 +2,6 @@ import { FC } from 'react';
2
2
  import { TransferQueueLabels } from './TransferQueue';
3
3
  interface TransferQueueHeaderProps {
4
4
  title: string;
5
- /** The badge renders only when this is positive. */
6
- failedCount: number;
7
5
  isCollapsed: boolean;
8
6
  /** Id of the rows container the collapse toggle controls. */
9
7
  itemsId: string;
@@ -11,6 +9,6 @@ interface TransferQueueHeaderProps {
11
9
  onToggleCollapse: () => void;
12
10
  onClose: () => void;
13
11
  }
14
- /** Queue heading with its failed-item badge and the collapse and close controls. */
12
+ /** Queue heading with the collapse and close controls. */
15
13
  export declare const TransferQueueHeader: FC<TransferQueueHeaderProps>;
16
14
  export {};
@@ -37,4 +37,4 @@ export interface DialSegmentedControlProps<T extends string> {
37
37
  * @param [className] - Additional classes applied to the container.
38
38
  * @param [ariaLabel] - Accessible label for the control (applied to the `tablist`).
39
39
  */
40
- export declare const DialSegmentedControl: <T extends string>({ options, value, onChange, disabled, className, ariaLabel, }: DialSegmentedControlProps<T>) => import("react/jsx-runtime").JSX.Element;
40
+ export declare const DialSegmentedControl: <T extends string>({ options, value, onChange, disabled, className, ariaLabel, }: DialSegmentedControlProps<T>) => import('react/jsx-runtime').JSX.Element;
@@ -1,9 +1,9 @@
1
1
  export declare const selectTriggerBaseClassName = "dial-input flex w-full items-center justify-between gap-2 dial-small-text cursor-pointer";
2
2
  export declare const selectOverlayBaseClassName = "w-full rounded flex flex-col";
3
- export declare const selectOptionBaseClassName = "flex w-full items-center justify-between gap-2 px-3 h-[34px] dial-small-text text-primary truncate hover:bg-accent-primary-alpha focus:bg-accent-primary-alpha focus:outline-none";
3
+ export declare const selectOptionBaseClassName = "flex w-full items-center justify-between gap-2 px-3 h-[34px] dial-small-text text-primary truncate hover:bg-accent-primary-alpha focus:bg-accent-primary-alpha focus:outline-hidden";
4
4
  export declare const selectOptionSelectedClassName = "bg-accent-primary-alpha";
5
- export declare const selectOptionSingleSelectedClassName = "bg-accent-primary-alpha border-l border-accent-primary border-1";
5
+ export declare const selectOptionSingleSelectedClassName = "bg-accent-primary-alpha border-l border-accent-primary";
6
6
  export declare const selectOptionDisabledClassName = "opacity-75";
7
7
  export declare const dropdownMenuMaxHeight = 352;
8
8
  export declare const selectSubMenuGap = 4;
9
- export declare const selectChevronIcon: import("react/jsx-runtime").JSX.Element;
9
+ export declare const selectChevronIcon: import('react/jsx-runtime').JSX.Element;
@@ -17,6 +17,8 @@ export declare const DIAL_KIT_CLASS: {
17
17
  readonly notification: "dial-kit-notification";
18
18
  /** The empty-state root of `NoDataContent`. */
19
19
  readonly noDataContent: "dial-kit-no-data-content";
20
+ /** The `section` root of a `StateScreen`. */
21
+ readonly stateScreen: "dial-kit-state-screen";
20
22
  /** The `role="status"` panel of a `TransferQueue`: header, rows and aggregate bar. */
21
23
  readonly transferQueue: "dial-kit-transfer-queue";
22
24
  /** The text element of a `Highlight`, which renders the matched query. */
@@ -36,6 +38,8 @@ export declare const DIAL_KIT_CLASS: {
36
38
  readonly collapsibleSidebar: "dial-kit-collapsible-sidebar";
37
39
  /** The content box inside a `ResizableContainer`'s resize frame. */
38
40
  readonly resizableContainer: "dial-kit-resizable-container";
41
+ /** The `role="separator"` element of a `ResizeHandle`. */
42
+ readonly resizeHandle: "dial-kit-resize-handle";
39
43
  /**
40
44
  * The `role="dialog"` panel of a `Popup`. Its backdrop is reached through
41
45
  * `overlayClassName`.
@@ -43,6 +47,11 @@ export declare const DIAL_KIT_CLASS: {
43
47
  readonly popup: "dial-kit-popup";
44
48
  /** The `role="dialog"` panel of a `BottomSheet`. */
45
49
  readonly bottomSheet: "dial-kit-bottom-sheet";
50
+ /**
51
+ * The backdrop of a `BottomSheet`: the portalled, scroll-locking layer on
52
+ * `z-popup` that holds the panel.
53
+ */
54
+ readonly bottomSheetOverlay: "dial-kit-bottom-sheet-overlay";
46
55
  /** The `role="dialog"` panel of a `SideDrawer`, open or closed. */
47
56
  readonly sideDrawer: "dial-kit-side-drawer";
48
57
  /** The `Popup` panel of a `ConfirmationPopup`, additive to `popup`. */
@@ -69,6 +78,8 @@ export declare const DIAL_KIT_CLASS: {
69
78
  * on a submenu's own list. It is *not* the floating panel.
70
79
  */
71
80
  readonly dropdownList: "dial-kit-dropdown-list";
81
+ /** The search row above the item list of a `searchable` `Dropdown`. */
82
+ readonly dropdownSearch: "dial-kit-dropdown-search";
72
83
  /**
73
84
  * One row of a floating overlay: a dropdown item, a `Select` option, a
74
85
  * submenu trigger, or a submenu child. It sits on the element that draws the
@@ -141,6 +152,10 @@ export declare const DIAL_KIT_CLASS: {
141
152
  readonly avatar: "dial-kit-avatar";
142
153
  /** The root row of an `EntityIdentity`: its icon, type label, name and version. */
143
154
  readonly entityIdentity: "dial-kit-entity-identity";
155
+ /** The bordered card of a `SelectedEntityCard`, not the wrapper that also holds its error. */
156
+ readonly selectedEntityCard: "dial-kit-selected-entity-card";
157
+ /** The `section` root of a `FormSection`: its heading row, description and content. */
158
+ readonly formSection: "dial-kit-form-section";
144
159
  /** The row of a `Switch`: the control and its label. */
145
160
  readonly switch: "dial-kit-switch";
146
161
  /** The row of a `Checkbox`: the box and its label. */
@@ -96,11 +96,6 @@ export { DialDropdown } from './components/Dropdown/Dropdown';
96
96
  export { DialButtonDropdown } from './components/ButtonDropdown/ButtonDropdown';
97
97
  export { DialDropdownIcon } from './components/DropdownIcon/DropdownIcon';
98
98
  export type { DialDropdownIconProps } from './components/DropdownIcon/DropdownIcon';
99
- export { DialFileManager } from './components/FileManager/FileManager';
100
- export type { FileManagerGridRow } from './components/FileManager/FileManagerContext';
101
- export type { GridOptions, ToolbarOptions, BulkActionsToolbarOptions, } from './components/FileManager/FileManager';
102
- export { DialDestinationFolderPopup } from './components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup';
103
- export { DialFoldersTree } from './components/FileManager/components/FoldersTree/FoldersTree';
104
99
  export { EditorThemes } from './types/editor';
105
100
  export { ButtonVariant, ButtonAppearance } from './types/button';
106
101
  export { RadioGroupOrientation } from './types/radio-group';
@@ -109,20 +104,16 @@ export { ConfirmationPopupVariant } from './types/confirmation-popup';
109
104
  export { DropdownType, DropdownTrigger, DropdownItemType, } from './types/dropdown';
110
105
  export { MenuItemMark } from './types/menu-item';
111
106
  export { ElementSize } from './types/size';
112
- export { ScreenResolution, TabOrientation, TabView } from './types/tab';
107
+ export { ScreenResolution, TabOrientation, TabStatus, TabView, } from './types/tab';
113
108
  export type { DialBreadcrumbPathItem } from './models/breadcrumb';
114
109
  export { FormItemOrientation } from './types/form-item';
115
110
  export { SelectSize, SelectVariant } from './types/select';
116
- export { DialFileManagerTabs, DialFileManagerActions, FileManagerColumnKey, } from './types/file-manager';
117
111
  export { FlexibleActionsDirection } from './types/flexible-actions';
118
112
  export { DialItemType } from './types/item';
119
113
  export { ResizableContainerSide } from './types/resizable-container';
120
114
  export { SkeletonVariant, SkeletonAvatarSize, SkeletonAvatarShape, } from './types/skeleton';
121
- export { useDialFileManagerTabs } from './components/FileManager/hooks/use-file-manager-tabs';
122
115
  export { EDITABLE_CONTAINER_ATTRIBUTE, editableContainerProps, useEditableItem, } from './hooks/use-editable-item';
123
116
  export type { UseEditableItemOptions } from './hooks/use-editable-item';
124
- export { FileManagerProvider } from './components/FileManager/FileManagerProvider';
125
- export { useFileManagerContext } from './components/FileManager/hooks/use-file-manager-context';
126
117
  export { StepStatus } from './models/step';
127
118
  export type { Step } from './models/step';
128
119
  export type { RadioButtonWithContent } from './models/radio';
@@ -134,13 +125,11 @@ export type { DialModifiedEntity } from './models/base-entity';
134
125
  export type { DialFile } from './models/file';
135
126
  export { DialFileNodeType, DialFilePermission, DialFileResourceType, } from './models/file';
136
127
  export type { DialRootFolder } from './models/file';
137
- export { type DialCopiedItem, type DialDeletedItem, type DialUploadFileItem, type DialFileManagerActionsRef, type DialFileAcceptType, } from './models/file-manager';
138
128
  export { GridSelectionMode } from './models/selection-mode';
139
129
  export { mergeClasses } from './utils/merge-classes';
140
130
  export { wrapInRootFolder } from './utils/flat-to-hierarchy-convertor.ts';
141
131
  export { getTimezoneLabel } from './utils/timezone';
142
132
  export type { TimezoneLabelOptions } from './utils/timezone';
143
- export { NAME_COLUMN, SIZE_COLUMN, UPDATED_AT_COLUMN, } from './constants/file-grid-columns';
144
133
  export { DIAL_ICON_SIZE, BASE_ICON_PROPS, BASE_ICON_SIZE, } from './constants/icon.ts';
145
134
  export { NOT_ALLOWED_SYMBOLS, NOT_ALLOWED_SPACES, NOT_ALLOWED_SYMBOLS_REGEXP, NOT_ALLOWED_SPACES_REGEXP, } from './constants/validation.ts';
146
135
  export { DIAL_KIT_CLASS } from './constants/public-class-names';
@@ -249,11 +238,14 @@ export type { BadgeProps } from './components/New/Badge/Badge';
249
238
  export { BadgeColor, BadgeVariant } from './types/badge';
250
239
  export { Avatar } from './components/New/Avatar/Avatar';
251
240
  export type { AvatarProps } from './components/New/Avatar/Avatar';
252
- export { AvatarShape } from './types/avatar';
253
- export { extractInitials } from './utils/avatar';
241
+ export { AvatarColor, AvatarShape } from './types/avatar';
242
+ export { AVATAR_PALETTE, extractInitials } from './utils/avatar';
243
+ export type { AvatarColorClasses } from './utils/avatar';
254
244
  export { EntityIdentity } from './components/New/EntityIdentity/EntityIdentity';
255
245
  export type { EntityIdentityProps, EntityIdentityItem, EntityIdentityLabels, } from './components/New/EntityIdentity/EntityIdentity';
256
246
  export { EntityType } from './types/entity-type';
247
+ export { SelectedEntityCard } from './components/New/SelectedEntityCard/SelectedEntityCard';
248
+ export type { SelectedEntityCardProps, SelectedEntityCardLabels, } from './components/New/SelectedEntityCard/SelectedEntityCard';
257
249
  export { SideDrawer } from './components/New/SideDrawer/SideDrawer';
258
250
  export type { SideDrawerProps } from './components/New/SideDrawer/SideDrawer';
259
251
  export { Tag } from './components/New/Tag/Tag';
@@ -284,10 +276,17 @@ export { CollapsibleSidebar } from './components/New/CollapsibleSidebar/Collapsi
284
276
  export type { CollapsibleSidebarProps } from './components/New/CollapsibleSidebar/CollapsibleSidebar';
285
277
  export { ResizableContainer } from './components/New/ResizableContainer/ResizableContainer';
286
278
  export type { ResizableContainerProps } from './components/New/ResizableContainer/ResizableContainer';
279
+ export { ResizeHandle } from './components/New/ResizeHandle/ResizeHandle';
280
+ export type { ResizeHandleProps } from './components/New/ResizeHandle/ResizeHandle';
287
281
  export { ConditionalResizableContainer } from './components/New/ResizableContainer/ConditionalResizableContainer';
288
282
  export type { ConditionalResizableContainerProps } from './components/New/ResizableContainer/ConditionalResizableContainer';
289
283
  export { NoDataContent } from './components/New/NoDataContent/NoDataContent';
290
284
  export type { NoDataContentProps } from './components/New/NoDataContent/NoDataContent';
285
+ export { StateScreen } from './components/New/StateScreen/StateScreen';
286
+ export type { StateScreenProps } from './components/New/StateScreen/StateScreen';
287
+ export { FormSection } from './components/New/FormSection/FormSection';
288
+ export type { FormSectionProps, FormSectionHeadingLevel, } from './components/New/FormSection/FormSection';
289
+ export { FormSectionVariant } from './types/form-section';
291
290
  export { TransferQueue } from './components/New/TransferQueue/TransferQueue';
292
291
  export type { TransferQueueItem, TransferQueueLabels, TransferQueueProps, } from './components/New/TransferQueue/TransferQueue';
293
292
  export { DEFAULT_TRANSFER_QUEUE_LABELS, TRANSFER_QUEUE_AUTO_CLOSE_DELAY_MS, } from './components/New/TransferQueue/constants';
@@ -16,7 +16,7 @@
16
16
  export { LazyDialJsonEditor } from '../components/JsonEditor/lazy';
17
17
  export { LazyDialMarkdownEditor } from '../components/MarkdownEditor/lazy';
18
18
  export { LazyMarkdownEditor } from '../components/New/MarkdownEditor/lazy';
19
- export declare const LazyDialMarkdownEditorContainer: () => Promise<typeof import("../components/MarkdownEditor/MarkdownEditorContainer")>;
19
+ export declare const LazyDialMarkdownEditorContainer: () => Promise<typeof import('../components/MarkdownEditor/MarkdownEditorContainer')>;
20
20
  export { EditorThemes } from '../types/editor';
21
21
  export type { MarkdownEditorProps } from '../components/New/MarkdownEditor/MarkdownEditor';
22
22
  export type { DialMarkdownEditorContainerProps } from '../components/MarkdownEditor/MarkdownEditorContainer';
@@ -5,3 +5,12 @@ export declare enum AvatarShape {
5
5
  /** A rounded square — the avatar of an application, model or other entity. */
6
6
  Square = "square"
7
7
  }
8
+ export declare enum AvatarColor {
9
+ Green1 = "green-1",
10
+ Violet2 = "violet-2",
11
+ Brown = "brown",
12
+ Red = "red",
13
+ Green2 = "green-2",
14
+ Blue = "blue",
15
+ Violet1 = "violet-1"
16
+ }
@@ -0,0 +1,9 @@
1
+ /** How a `FormSection` sets its heading, description and content. */
2
+ export declare enum FormSectionVariant {
3
+ /** A field of a form: small semibold heading, small description, an 8px header gap. */
4
+ Row = "row",
5
+ /** A titled group of a builder column: caption-lead heading, tiny description. */
6
+ Caption = "caption",
7
+ /** One setting inside a group: tiny semibold heading, tiny description. */
8
+ Setting = "setting"
9
+ }
@@ -2,6 +2,11 @@ export declare enum TabOrientation {
2
2
  Horizontal = "horizontal",
3
3
  Vertical = "vertical"
4
4
  }
5
+ /** Validation state a tab can flag on itself, e.g. a form section with problems. */
6
+ export declare enum TabStatus {
7
+ Error = "error",
8
+ Warning = "warning"
9
+ }
5
10
  export declare enum TabView {
6
11
  Default = "default",
7
12
  Inline = "inline"
@@ -1,4 +1,6 @@
1
1
  export declare enum TagAppearance {
2
2
  Outlined = "outlined",
3
- Selectable = "selectable"
3
+ Selectable = "selectable",
4
+ /** The compact, rimmed chip of a value in a form field (a host, a variable). */
5
+ Bordered = "bordered"
4
6
  }
@@ -1,3 +1,4 @@
1
+ import { AvatarColor } from '../types/avatar';
1
2
  /** A background and text colour pair for an initials avatar, as Tailwind classes. */
2
3
  export interface AvatarColorClasses {
3
4
  /** Background class, bound to a `--bg-visual-*` token. */
@@ -5,7 +6,7 @@ export interface AvatarColorClasses {
5
6
  /** Text class, bound to the matching `--text-visual-*` token. */
6
7
  foreground: string;
7
8
  }
8
- export declare const AVATAR_PALETTE: readonly AvatarColorClasses[];
9
+ export declare const AVATAR_PALETTE: Record<AvatarColor, AvatarColorClasses>;
9
10
  /** Returns the palette entry for a name; the same name always gets the same colours. */
10
11
  export declare const pickAvatarColor: (name: string) => AvatarColorClasses;
11
12
  /** Returns 1–2 uppercase initials derived from a display name, or `'?'` when it has no letters. */
@@ -64,5 +64,5 @@ interface SubMenuPanelProps {
64
64
  * Shared floating panel wrapper (FloatingPortal → FloatingFocusManager → container div).
65
65
  * Used by DropdownSubMenuItem and SelectSubMenuItem.
66
66
  */
67
- export declare const SubMenuPanel: ({ refs, floatingStyles, context, getFloatingProps, role, surfaceClassName, className, children, }: SubMenuPanelProps) => import("react/jsx-runtime").JSX.Element;
67
+ export declare const SubMenuPanel: ({ refs, floatingStyles, context, getFloatingProps, role, surfaceClassName, className, children, }: SubMenuPanelProps) => import('react/jsx-runtime').JSX.Element;
68
68
  export {};
@@ -1,4 +1,5 @@
1
- var e = /* @__PURE__ */ ((r) => (r.Circle = "circle", r.Square = "square", r))(e || {});
1
+ var n = /* @__PURE__ */ ((e) => (e.Circle = "circle", e.Square = "square", e))(n || {}), i = /* @__PURE__ */ ((e) => (e.Green1 = "green-1", e.Violet2 = "violet-2", e.Brown = "brown", e.Red = "red", e.Green2 = "green-2", e.Blue = "blue", e.Violet1 = "violet-1", e))(i || {});
2
2
  export {
3
- e as AvatarShape
3
+ i as AvatarColor,
4
+ n as AvatarShape
4
5
  };
@@ -0,0 +1,4 @@
1
+ var p = /* @__PURE__ */ ((t) => (t.Row = "row", t.Caption = "caption", t.Setting = "setting", t))(p || {});
2
+ export {
3
+ p as FormSectionVariant
4
+ };
package/dist/types/tab.js CHANGED
@@ -1,6 +1,7 @@
1
- var l = /* @__PURE__ */ ((r) => (r.Horizontal = "horizontal", r.Vertical = "vertical", r))(l || {}), t = /* @__PURE__ */ ((r) => (r.Default = "default", r.Inline = "inline", r))(t || {}), e = /* @__PURE__ */ ((r) => (r.Mobile = "mobile", r.Tablet = "tablet", r))(e || {});
1
+ var e = /* @__PURE__ */ ((r) => (r.Horizontal = "horizontal", r.Vertical = "vertical", r))(e || {}), l = /* @__PURE__ */ ((r) => (r.Error = "error", r.Warning = "warning", r))(l || {}), n = /* @__PURE__ */ ((r) => (r.Default = "default", r.Inline = "inline", r))(n || {}), a = /* @__PURE__ */ ((r) => (r.Mobile = "mobile", r.Tablet = "tablet", r))(a || {});
2
2
  export {
3
- e as ScreenResolution,
4
- l as TabOrientation,
5
- t as TabView
3
+ a as ScreenResolution,
4
+ e as TabOrientation,
5
+ l as TabStatus,
6
+ n as TabView
6
7
  };
package/dist/types/tag.js CHANGED
@@ -1,4 +1,4 @@
1
- var l = /* @__PURE__ */ ((e) => (e.Outlined = "outlined", e.Selectable = "selectable", e))(l || {});
1
+ var d = /* @__PURE__ */ ((e) => (e.Outlined = "outlined", e.Selectable = "selectable", e.Bordered = "bordered", e))(d || {});
2
2
  export {
3
- l as TagAppearance
3
+ d as TagAppearance
4
4
  };
@@ -1,22 +1,45 @@
1
- const o = [
2
- { background: "bg-green-1", foreground: "text-green-2" },
3
- { background: "bg-violet-2", foreground: "text-violet-1" },
4
- { background: "bg-brown", foreground: "text-brown-2" },
5
- { background: "bg-red", foreground: "text-red" },
6
- { background: "bg-green-2", foreground: "text-green-3" },
7
- { background: "bg-blue", foreground: "text-accent" },
8
- { background: "bg-violet-1", foreground: "text-violet-2" }
9
- ], c = (t) => {
10
- let e = 0;
11
- for (let r = 0; r < t.length; r++)
12
- e += t.charCodeAt(r);
13
- return o[e % o.length];
14
- }, n = (t) => t.match(new RegExp("\\p{L}", "u"))?.[0] ?? "", l = (t) => {
15
- const e = t.trim().split(/\s+/).filter(Boolean);
16
- return e.length === 0 ? "?" : e.length >= 2 ? (n(e[0]) + n(e[1])).toUpperCase() || "?" : e[0].replace(/[^\p{L}]/gu, "").slice(0, 2).toUpperCase() || "?";
1
+ import { AvatarColor as t } from "../types/avatar.js";
2
+ const l = {
3
+ [t.Green1]: {
4
+ background: "bg-green-1",
5
+ foreground: "text-green-2"
6
+ },
7
+ [t.Violet2]: {
8
+ background: "bg-violet-2",
9
+ foreground: "text-violet-1"
10
+ },
11
+ [t.Brown]: {
12
+ background: "bg-brown",
13
+ foreground: "text-brown-2"
14
+ },
15
+ [t.Red]: {
16
+ background: "bg-red",
17
+ foreground: "text-red"
18
+ },
19
+ [t.Green2]: {
20
+ background: "bg-green-2",
21
+ foreground: "text-green-3"
22
+ },
23
+ [t.Blue]: {
24
+ background: "bg-blue",
25
+ foreground: "text-accent"
26
+ },
27
+ [t.Violet1]: {
28
+ background: "bg-violet-1",
29
+ foreground: "text-violet-2"
30
+ }
31
+ }, c = (r) => {
32
+ const e = Object.values(l);
33
+ let n = 0;
34
+ for (let o = 0; o < r.length; o++)
35
+ n += r.charCodeAt(o);
36
+ return e[n % e.length];
37
+ }, g = (r) => r.match(new RegExp("\\p{L}", "u"))?.[0] ?? "", u = (r) => {
38
+ const e = r.trim().split(/\s+/).filter(Boolean);
39
+ return e.length === 0 ? "?" : e.length >= 2 ? (g(e[0]) + g(e[1])).toUpperCase() || "?" : e[0].replace(/[^\p{L}]/gu, "").slice(0, 2).toUpperCase() || "?";
17
40
  };
18
41
  export {
19
- o as AVATAR_PALETTE,
20
- l as extractInitials,
42
+ l as AVATAR_PALETTE,
43
+ u as extractInitials,
21
44
  c as pickAvatarColor
22
45
  };