@epam/ai-dial-ui-kit 0.16.0-dev.2 → 0.16.0-dev.20

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 (261) hide show
  1. package/README.md +3 -1
  2. package/dist/CHANGELOG.md +53 -0
  3. package/dist/DateCellRenderer-DDEzIi2B.cjs +63 -0
  4. package/dist/{IconButton-DHOFapLo.cjs → IconButton-B1Hx0Y3y.cjs} +1 -1
  5. package/dist/{MarkdownEditorContainer-B5aHwoYF.cjs → MarkdownEditorContainer-DLPODjar.cjs} +1 -1
  6. package/dist/{Switch-DE6MrcqJ.cjs → Switch-DAaAOaIu.cjs} +1 -1
  7. package/dist/_virtual/_commonjsHelpers.js +3 -28
  8. package/dist/_virtual/index.js +5 -3
  9. package/dist/components/Analytics/Bar/Bar.js +7 -7
  10. package/dist/components/Analytics/BarGroup/BarGroup.js +18 -18
  11. package/dist/components/Analytics/Histogram/Histogram.js +10 -10
  12. package/dist/components/Checkbox/Checkbox.js +9 -9
  13. package/dist/components/Dropdown/constants.js +2 -2
  14. package/dist/components/DropdownIcon/DropdownIcon.js +5 -5
  15. package/dist/components/Grid/Grid.js +11 -11
  16. package/dist/components/IconButton/IconButton.js +7 -7
  17. package/dist/components/InputPopup/InputPopup.js +8 -8
  18. package/dist/components/LoadFileArea/EmptyFileArea.js +28 -28
  19. package/dist/components/Loader/Loader.js +8 -8
  20. package/dist/components/New/Avatar/Avatar.js +18 -17
  21. package/dist/components/New/BottomSheet/BottomSheet.js +53 -52
  22. package/dist/components/New/Breadcrumbs/constants.js +1 -1
  23. package/dist/components/New/Calendar/Calendar.js +163 -148
  24. package/dist/components/New/Calendar/constants.js +4 -4
  25. package/dist/components/New/Checkbox/Checkbox.js +23 -21
  26. package/dist/components/New/Checkbox/CheckboxBox.js +25 -18
  27. package/dist/components/New/ConfirmationPopup/ConfirmationPopup.js +49 -44
  28. package/dist/components/New/Dropdown/Dropdown.js +320 -251
  29. package/dist/components/New/Dropdown/constants.js +21 -18
  30. package/dist/components/New/Dropdown/search.js +37 -0
  31. package/dist/components/New/FolderPath/FolderPath.js +151 -46
  32. package/dist/components/New/Grid/Grid.js +139 -132
  33. package/dist/components/New/Grid/constants.js +5 -2
  34. package/dist/components/New/MenuItem/MenuItem.js +17 -17
  35. package/dist/components/New/Popup/Popup.js +124 -101
  36. package/dist/components/New/Popup/constants.js +11 -9
  37. package/dist/components/New/Radio/Radio.js +19 -17
  38. package/dist/components/New/SharedEntityIndicator/SharedEntityIndicator.js +1 -1
  39. package/dist/components/New/SideDrawer/SideDrawer.js +1 -1
  40. package/dist/components/New/Switch/Switch.js +19 -17
  41. package/dist/components/New/TransferQueue/TransferQueue.js +66 -71
  42. package/dist/components/New/TransferQueue/TransferQueueHeader.js +30 -38
  43. package/dist/components/New/TransferQueue/TransferQueueRow.js +106 -49
  44. package/dist/components/Search/Search.js +1 -1
  45. package/dist/components/Select/Select.js +1 -1
  46. package/dist/components/Select/constants.js +6 -6
  47. package/dist/components/Slider/Slider.js +1 -1
  48. package/dist/components/Steps/Step.js +9 -9
  49. package/dist/components/TagInput/TagInput.js +1 -1
  50. package/dist/components-manifest.json +320 -1209
  51. package/dist/constants/public-class-names.js +7 -0
  52. package/dist/dial-ui-kit.cjs +4 -2
  53. package/dist/dial-ui-kit.js +357 -373
  54. package/dist/editors.cjs +1 -1
  55. package/dist/grid.cjs +1 -1
  56. package/dist/grid.js +19 -17
  57. package/dist/index.css +2 -6
  58. package/dist/migration-guides/0.16.0/legacy-file-manager-removal.md +89 -0
  59. package/dist/migration-guides/0.16.0/tailwind-v4-stylesheet.md +98 -0
  60. package/dist/migration-guides/README.md +2 -0
  61. package/dist/node_modules/ag-grid-community/dist/package/main.esm.js +1767 -1763
  62. package/dist/node_modules/react-dnd/dist/hooks/useCollector.js +1 -1
  63. package/dist/src/components/ButtonDropdown/constants.d.ts +2 -2
  64. package/dist/src/components/Dropdown/constants.d.ts +1 -1
  65. package/dist/src/components/Grid/Grid.d.ts +1 -1
  66. package/dist/src/components/JsonEditor/lazy.d.ts +1 -1
  67. package/dist/src/components/MarkdownEditor/lazy.d.ts +1 -1
  68. package/dist/src/components/New/Avatar/Avatar.d.ts +9 -3
  69. package/dist/src/components/New/Breadcrumbs/constants.d.ts +2 -2
  70. package/dist/src/components/New/ButtonDropdown/constants.d.ts +1 -1
  71. package/dist/src/components/New/Calendar/Calendar.d.ts +3 -2
  72. package/dist/src/components/New/Calendar/constants.d.ts +5 -5
  73. package/dist/src/components/New/Dropdown/Dropdown.d.ts +42 -0
  74. package/dist/src/components/New/Dropdown/constants.d.ts +7 -1
  75. package/dist/src/components/New/Dropdown/search.d.ts +9 -0
  76. package/dist/src/components/New/FilterChips/FilterChips.d.ts +1 -1
  77. package/dist/src/components/New/FolderPath/FolderPath.d.ts +16 -8
  78. package/dist/src/components/New/Grid/Grid.d.ts +12 -1
  79. package/dist/src/components/New/Grid/components/SelectionCell.d.ts +1 -1
  80. package/dist/src/components/New/Grid/components/SelectionHeader.d.ts +1 -1
  81. package/dist/src/components/New/InteractiveTooltip/constants.d.ts +1 -1
  82. package/dist/src/components/New/MarkdownEditor/lazy.d.ts +1 -1
  83. package/dist/src/components/New/MenuItem/constants.d.ts +1 -1
  84. package/dist/src/components/New/Popup/constants.d.ts +8 -1
  85. package/dist/src/components/New/SegmentedControl/SegmentedControl.d.ts +1 -1
  86. package/dist/src/components/New/Select/constants.d.ts +4 -4
  87. package/dist/src/components/New/Tooltip/constants.d.ts +2 -2
  88. package/dist/src/components/New/TransferQueue/TransferQueue.d.ts +9 -5
  89. package/dist/src/components/New/TransferQueue/TransferQueueHeader.d.ts +1 -3
  90. package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +1 -1
  91. package/dist/src/components/Select/constants.d.ts +3 -3
  92. package/dist/src/constants/public-class-names.d.ts +7 -0
  93. package/dist/src/index.d.ts +4 -13
  94. package/dist/src/subpaths/editors.d.ts +1 -1
  95. package/dist/src/subpaths/grid.d.ts +1 -0
  96. package/dist/src/types/avatar.d.ts +9 -0
  97. package/dist/src/types/grid.d.ts +8 -0
  98. package/dist/src/utils/avatar.d.ts +2 -1
  99. package/dist/src/utils/sub-menu-floating.d.ts +1 -1
  100. package/dist/types/avatar.js +3 -2
  101. package/dist/types/grid.js +4 -0
  102. package/dist/utils/avatar.js +41 -18
  103. package/dist/utils/sub-menu-floating.js +8 -8
  104. package/package.json +9 -12
  105. package/dist/DateCellRenderer-BdUMSg-E.cjs +0 -1
  106. package/dist/DateCellRenderer-CZNa4jVJ.cjs +0 -63
  107. package/dist/_virtual/___vite-browser-external.js +0 -6
  108. package/dist/_virtual/__vite-browser-external.js +0 -4
  109. package/dist/_virtual/index2.js +0 -4
  110. package/dist/_virtual/index3.js +0 -7
  111. package/dist/assets/icons/add-child.svg.js +0 -5
  112. package/dist/assets/icons/add-sibling.svg.js +0 -5
  113. package/dist/assets/icons/copy-to.svg.js +0 -5
  114. package/dist/assets/icons/move-to.svg.js +0 -5
  115. package/dist/assets/icons/unshare.svg.js +0 -5
  116. package/dist/components/FileManager/FileManager.js +0 -888
  117. package/dist/components/FileManager/FileManagerContext.js +0 -5
  118. package/dist/components/FileManager/FileManagerProvider.js +0 -772
  119. package/dist/components/FileManager/FileManagerTooltip.js +0 -92
  120. package/dist/components/FileManager/components/ConflictResolutionPopup/ConflictResolutionPopup.js +0 -293
  121. package/dist/components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.js +0 -201
  122. package/dist/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.js +0 -52
  123. package/dist/components/FileManager/components/FileManagerBulkActionsToolbar/FileManagerBulkActionsToolbar.js +0 -103
  124. package/dist/components/FileManager/components/FileManagerBulkActionsToolbar/constants.js +0 -5
  125. package/dist/components/FileManager/components/FileManagerDeleteConfirmationPopup/FileManagerDeleteConfirmationPopup.js +0 -56
  126. package/dist/components/FileManager/components/FileManagerItemIcon/FileManagerItemIcon.js +0 -69
  127. package/dist/components/FileManager/components/FileManagerItemName/FileManagerItemName.js +0 -100
  128. package/dist/components/FileManager/components/FileManagerItemNameInput/FileManagerItemNameInput.js +0 -93
  129. package/dist/components/FileManager/components/FileManagerNavigationPanel/FileManagerNavigationPanel.js +0 -165
  130. package/dist/components/FileManager/components/FileManagerNavigationPanel/constants.js +0 -6
  131. package/dist/components/FileManager/components/FileManagerToolbar/DialFileManagerToolbar.js +0 -120
  132. package/dist/components/FileManager/components/FileMetadataPopup/FileMetadataPopup.js +0 -119
  133. package/dist/components/FileManager/components/FileMetadataPopup/constants.js +0 -9
  134. package/dist/components/FileManager/components/FoldersTree/FoldersTree.js +0 -180
  135. package/dist/components/FileManager/components/FoldersTree/constants.js +0 -9
  136. package/dist/components/FileManager/components/FoldersTree/hooks/use-expanded-paths.js +0 -51
  137. package/dist/components/FileManager/constants.js +0 -28
  138. package/dist/components/FileManager/errors.js +0 -10
  139. package/dist/components/FileManager/hooks/use-bulk-actions.js +0 -143
  140. package/dist/components/FileManager/hooks/use-collapse-tree.js +0 -22
  141. package/dist/components/FileManager/hooks/use-conflict-resolution.js +0 -158
  142. package/dist/components/FileManager/hooks/use-current-path.js +0 -29
  143. package/dist/components/FileManager/hooks/use-file-clipboard.js +0 -154
  144. package/dist/components/FileManager/hooks/use-file-delete.js +0 -39
  145. package/dist/components/FileManager/hooks/use-file-download.js +0 -16
  146. package/dist/components/FileManager/hooks/use-file-manager-columns.js +0 -106
  147. package/dist/components/FileManager/hooks/use-file-manager-context.js +0 -13
  148. package/dist/components/FileManager/hooks/use-file-manager-tabs.js +0 -23
  149. package/dist/components/FileManager/hooks/use-file-metadata.js +0 -20
  150. package/dist/components/FileManager/hooks/use-file-search.js +0 -90
  151. package/dist/components/FileManager/hooks/use-file-upload.js +0 -338
  152. package/dist/components/FileManager/hooks/use-folder-creation.js +0 -151
  153. package/dist/components/FileManager/hooks/use-grid-actions-column.js +0 -65
  154. package/dist/components/FileManager/hooks/use-grid-context-menu.js +0 -188
  155. package/dist/components/FileManager/hooks/use-item-renaming.js +0 -124
  156. package/dist/components/FileManager/hooks/use-new-actions.js +0 -67
  157. package/dist/components/FileManager/hooks/use-paths-selection.js +0 -28
  158. package/dist/components/FileManager/hooks/use-show-hidden-files.js +0 -20
  159. package/dist/components/FileManager/hooks/use-tree-additional-buttons.js +0 -39
  160. package/dist/components/FileManager/hooks/use-trigger-view-create-folder.js +0 -42
  161. package/dist/components/FileManager/hooks/use-trigger-view-rename.js +0 -25
  162. package/dist/components/FileManager/utils.js +0 -129
  163. package/dist/constants/file-grid-columns.js +0 -176
  164. package/dist/file-manager.cjs +0 -1
  165. package/dist/file-manager.js +0 -22
  166. package/dist/hooks/use-flexible-actions.js +0 -72
  167. package/dist/hooks/use-width-breakpoint.js +0 -15
  168. package/dist/node_modules/mime-db/db.json.js +0 -2527
  169. package/dist/node_modules/mime-db/index.js +0 -8
  170. package/dist/node_modules/mime-types/index.js +0 -70
  171. package/dist/node_modules/mime-types/mimeScore.js +0 -38
  172. package/dist/src/__mocks__/monaco-editor.d.ts +0 -13
  173. package/dist/src/components/Analytics/Bar/utils.spec.d.ts +0 -1
  174. package/dist/src/components/Analytics/Histogram/utils.spec.d.ts +0 -1
  175. package/dist/src/components/Button/ButtonWrappers.test.d.ts +0 -1
  176. package/dist/src/components/Button/__tests__/utils.spec.d.ts +0 -1
  177. package/dist/src/components/FileManager/FileManager.d.ts +0 -326
  178. package/dist/src/components/FileManager/FileManagerContext.d.ts +0 -181
  179. package/dist/src/components/FileManager/FileManagerProvider.d.ts +0 -21
  180. package/dist/src/components/FileManager/FileManagerTooltip.d.ts +0 -12
  181. package/dist/src/components/FileManager/__mocks__/files.d.ts +0 -3
  182. package/dist/src/components/FileManager/components/ConflictResolutionPopup/ConflictResolutionPopup.d.ts +0 -90
  183. package/dist/src/components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.d.ts +0 -73
  184. package/dist/src/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.d.ts +0 -63
  185. package/dist/src/components/FileManager/components/DialFileManagerItemSummaryCell/DialFileManagerItemSummaryCell.test.d.ts +0 -1
  186. package/dist/src/components/FileManager/components/FileManagerBulkActionsToolbar/FileManagerBulkActionsToolbar.d.ts +0 -56
  187. package/dist/src/components/FileManager/components/FileManagerBulkActionsToolbar/constants.d.ts +0 -3
  188. package/dist/src/components/FileManager/components/FileManagerDeleteConfirmationPopup/FileManagerDeleteConfirmationPopup.d.ts +0 -26
  189. package/dist/src/components/FileManager/components/FileManagerItemIcon/FileManagerItemIcon.d.ts +0 -51
  190. package/dist/src/components/FileManager/components/FileManagerItemName/FileManagerItemName.d.ts +0 -57
  191. package/dist/src/components/FileManager/components/FileManagerItemNameInput/FileManagerItemNameInput.d.ts +0 -71
  192. package/dist/src/components/FileManager/components/FileManagerNavigationPanel/FileManagerNavigationPanel.d.ts +0 -64
  193. package/dist/src/components/FileManager/components/FileManagerNavigationPanel/constants.d.ts +0 -3
  194. package/dist/src/components/FileManager/components/FileManagerToolbar/DialFileManagerToolbar.d.ts +0 -76
  195. package/dist/src/components/FileManager/components/FileMetadataPopup/FileMetadataPopup.d.ts +0 -50
  196. package/dist/src/components/FileManager/components/FileMetadataPopup/constants.d.ts +0 -6
  197. package/dist/src/components/FileManager/components/FoldersTree/FoldersTree.d.ts +0 -135
  198. package/dist/src/components/FileManager/components/FoldersTree/constants.d.ts +0 -6
  199. package/dist/src/components/FileManager/components/FoldersTree/hooks/use-expanded-paths.d.ts +0 -13
  200. package/dist/src/components/FileManager/constants.d.ts +0 -21
  201. package/dist/src/components/FileManager/errors.d.ts +0 -6
  202. package/dist/src/components/FileManager/hooks/__tests__/use-conflict-resolution.spec.d.ts +0 -1
  203. package/dist/src/components/FileManager/hooks/__tests__/use-current-path.spec.d.ts +0 -1
  204. package/dist/src/components/FileManager/hooks/__tests__/use-file-clipboard.spec.d.ts +0 -1
  205. package/dist/src/components/FileManager/hooks/__tests__/use-file-delete.spec.d.ts +0 -1
  206. package/dist/src/components/FileManager/hooks/__tests__/use-file-download.spec.d.ts +0 -1
  207. package/dist/src/components/FileManager/hooks/__tests__/use-file-upload.spec.d.ts +0 -1
  208. package/dist/src/components/FileManager/hooks/__tests__/use-show-hidden-files.spec.d.ts +0 -1
  209. package/dist/src/components/FileManager/hooks/__tests__/use-trigger-view-rename.spec.d.ts +0 -1
  210. package/dist/src/components/FileManager/hooks/use-bulk-actions.d.ts +0 -30
  211. package/dist/src/components/FileManager/hooks/use-collapse-tree.d.ts +0 -9
  212. package/dist/src/components/FileManager/hooks/use-conflict-resolution.d.ts +0 -27
  213. package/dist/src/components/FileManager/hooks/use-current-path.d.ts +0 -13
  214. package/dist/src/components/FileManager/hooks/use-file-clipboard.d.ts +0 -37
  215. package/dist/src/components/FileManager/hooks/use-file-delete.d.ts +0 -13
  216. package/dist/src/components/FileManager/hooks/use-file-download.d.ts +0 -9
  217. package/dist/src/components/FileManager/hooks/use-file-manager-columns.d.ts +0 -43
  218. package/dist/src/components/FileManager/hooks/use-file-manager-context.d.ts +0 -7
  219. package/dist/src/components/FileManager/hooks/use-file-manager-tabs.d.ts +0 -10
  220. package/dist/src/components/FileManager/hooks/use-file-metadata.d.ts +0 -10
  221. package/dist/src/components/FileManager/hooks/use-file-search.d.ts +0 -23
  222. package/dist/src/components/FileManager/hooks/use-file-upload.d.ts +0 -64
  223. package/dist/src/components/FileManager/hooks/use-folder-creation.d.ts +0 -30
  224. package/dist/src/components/FileManager/hooks/use-grid-actions-column.d.ts +0 -15
  225. package/dist/src/components/FileManager/hooks/use-grid-context-menu.d.ts +0 -44
  226. package/dist/src/components/FileManager/hooks/use-item-renaming.d.ts +0 -22
  227. package/dist/src/components/FileManager/hooks/use-new-actions.d.ts +0 -23
  228. package/dist/src/components/FileManager/hooks/use-paths-selection.d.ts +0 -13
  229. package/dist/src/components/FileManager/hooks/use-show-hidden-files.d.ts +0 -9
  230. package/dist/src/components/FileManager/hooks/use-tree-additional-buttons.d.ts +0 -22
  231. package/dist/src/components/FileManager/hooks/use-trigger-view-create-folder.d.ts +0 -26
  232. package/dist/src/components/FileManager/hooks/use-trigger-view-rename.d.ts +0 -20
  233. package/dist/src/components/FileManager/utils.d.ts +0 -69
  234. package/dist/src/components/FileManager/utils.spec.d.ts +0 -1
  235. package/dist/src/components/Grid/comparators/base-column-comparator.spec.d.ts +0 -1
  236. package/dist/src/components/Grid/renderers/utils.spec.d.ts +0 -1
  237. package/dist/src/components/New/AutocompleteTagInput/utils.spec.d.ts +0 -1
  238. package/dist/src/components/New/Button/__tests__/utils.spec.d.ts +0 -1
  239. package/dist/src/components/New/Calendar/utils.spec.d.ts +0 -1
  240. package/dist/src/components/New/Slider/utils.spec.d.ts +0 -1
  241. package/dist/src/components/New/TagInput/utils.spec.d.ts +0 -1
  242. package/dist/src/components/Pagination/tests/utils.spec.d.ts +0 -1
  243. package/dist/src/components/SchemaRenderer/tests/utils.spec.d.ts +0 -1
  244. package/dist/src/components/Steps/tests/Steps.test.d.ts +0 -1
  245. package/dist/src/components/Steps/tests/utils.spec.d.ts +0 -1
  246. package/dist/src/constants/file-grid-columns.d.ts +0 -4
  247. package/dist/src/models/file-manager.d.ts +0 -19
  248. package/dist/src/subpaths/file-manager.d.ts +0 -21
  249. package/dist/src/types/file-manager.d.ts +0 -59
  250. package/dist/src/utils/__tests__/accessible-name.spec.d.ts +0 -1
  251. package/dist/src/utils/__tests__/avatar.spec.d.ts +0 -1
  252. package/dist/src/utils/__tests__/element-size-observer.spec.d.ts +0 -1
  253. package/dist/src/utils/__tests__/file-accept.spec.d.ts +0 -1
  254. package/dist/src/utils/__tests__/merge-classes.spec.d.ts +0 -1
  255. package/dist/src/utils/__tests__/path.spec.d.ts +0 -1
  256. package/dist/src/utils/__tests__/pointer.spec.d.ts +0 -1
  257. package/dist/src/utils/__tests__/timezone.spec.d.ts +0 -1
  258. package/dist/src/utils/grid-registration.spec.d.ts +0 -1
  259. package/dist/types/file-manager.js +0 -12
  260. package/dist/use-file-manager-tabs-Bzzwwcgk.cjs +0 -3
  261. package/dist/utils/path.js +0 -4
@@ -1,6 +1,6 @@
1
1
  {
2
- "version": "0.16.0-dev.2",
3
- "generatedAt": "2026-10-08T18:41:48.396Z",
2
+ "version": "0.16.0-dev.20",
3
+ "generatedAt": "2026-10-20T10:24:28.217Z",
4
4
  "kit": {
5
5
  "name": "@epam/ai-dial-ui-kit",
6
6
  "description": "A modern UI kit for building AI DIAL interfaces with React",
@@ -17,7 +17,7 @@
17
17
  "setupNotes": "## Next.js Integration\n1. Install the package. React is the only peer you have to supply — everything\n the kit renders with, it installs itself.\n\n``` bash\nnpm install @epam/ai-dial-ui-kit\nnpm install react react-dom\n```\n\nAdd the editor packages only if you use the `@epam/ai-dial-ui-kit/editors`\nsubpath. They are optional peers, so `npm install` stays quiet without them, and\nthe kit only reaches for them when a `Lazy*` editor actually mounts:\n\n``` bash\nnpm install monaco-editor @monaco-editor/react @uiw/react-md-editor\n```\n\n2. Import style in the root layout of the project:\n\n```tsx\n// app/layout.tsx\nimport \"@epam/ai-dial-ui-kit/styles.css\";\n```\n\n3. Usage example\n\n```tsx\n// app/page.tsx\n\"use client\";\nimport { DialPrimaryButton } from \"@epam/ai-dial-ui-kit\";\n\nexport default function Home() {\n return (\n <div className=\"w-full h-full flex flex-col gap-3 items-center justify-center\">\n <h1>Test library</h1>\n <DialPrimaryButton onClick={() => alert('Hello AI DIAL!')} />\n </div>\n );\n}\n```\nSee \"🎨 Theming & Customization\" section in README."
18
18
  },
19
19
  "styles": "# Typography CSS Utility Classes\n\n## Design-system-compliant classes (`dial-*-text`)\n\nUse these by default. They follow the design system type scale.\n\n| Class | Design name | Weight | Size / Line-height |\n| --------------------------------- | --------------------------- | -------- | ----------------------------------- |\n| `.dial-display1-text` | Display 1 | semibold | 32px / 48px |\n| `.dial-display2-text` | Display 2 | semibold | 28px / 40px |\n| `.dial-display3-text` | Display 3 | semibold | 22px / 32px |\n| `.dial-h1-text` | Heading 1 | semibold | 20px / 28px |\n| `.dial-h2-text` | Heading 2 | semibold | 18px / 26px |\n| `.dial-h3-text` | Heading 3 | semibold | 16px / 24px |\n| `.dial-body-text` | Body Text | normal | 16px / 24px |\n| `.dial-body-semi-text` | Body Text (Semi Bold) | semibold | 16px / 24px |\n| `.dial-body-paragraph-text` | Body Paragraph | normal | 16px / 26px |\n| `.dial-body-paragraph-semi-text` | Body Paragraph (Semi Bold) | semibold | 16px / 26px |\n| `.dial-small-text` | Small Text | normal | 14px / 20px |\n| `.dial-small-semi-text` | Small Text (Semi Bold) | semibold | 14px / 20px |\n| `.dial-small-paragraph-text` | Small Paragraph | normal | 14px / 24px |\n| `.dial-small-paragraph-semi-text` | Small Paragraph (Semi Bold) | semibold | 14px / 24px |\n| `.dial-tiny-text` | Tiny Text | normal | 12px / 16px |\n| `.dial-tiny-lead-text` | Tiny Text Lead | normal | 12px / 16px (+0.03em, uppercase) |\n| `.dial-tiny-semi-text` | Tiny Text (Semi Bold) | semibold | 12px / 16px |\n| `.dial-tiny-lead-semi-text` | Tiny Text Lead (Semi Bold) | semibold | 12px / 16px (+0.03em, uppercase) |\n| `.dial-caption-text` | Caption | normal | 10px / 12px |\n| `.dial-caption-lead-semi-text` | Caption Lead (Semi Bold) | semibold | 10px / 12px (+0.06em, uppercase) |\n| `.dial-code-text` | Code | normal | 14px / 20px (Fira Code / monospace) |\n| `.dial-italic-text` | Italic | normal | 18px / 22px (serif, italic) |\n| `.dial-small-italic-text` | Small Italic | normal | 14px / 20px (serif, italic) |\n| `.dial-tiny-italic-text` | Tiny Italic | normal | 12px / 16px (serif, italic) |\n| `.dial-caption-italic-text` | Caption Italic | normal | 10px / 12px (serif, italic) |\n\nThe three `*-lead-*` classes apply `text-transform: uppercase` themselves — pass them the sentence-case string, not a pre-uppercased one, so the accessible name stays readable.\n\n`.dial-code-text` resolves its family through `var(--theme-font-mono, var(--font-fira-code, 'Fira Code'))` before falling back to the system monospace stack. The kit ships no font file; the host provides the face.\n\nThe `*-italic-text` classes use a serif italic face and are intended for mathematical and formula symbols. Their line-heights follow the corresponding typography size; the default 18px variant uses a fixed 22px line-height to keep standalone symbols vertically aligned without changing their container's height.\n\n## Legacy classes (avoid in new code)\n\nClasses like `dial-h1`, `dial-h2`, `dial-body`, `dial-small*`, `dial-tiny*`, `dial-caption` are legacy. They can be used in legacy projects if user explicidly specify they need legacy typography.\n\n## Raw SCSS source\n",
20
- "theming": "# Theming & CSS Variable Tokens\n\nAI DIAL UI Kit uses CSS custom properties (variables) for theming.\nDark and light themes are switched by setting different values for these variables on `:root` or a theme wrapper element.\n\n## Usage in Tailwind\n\nThe Tailwind config maps CSS variables to utility classes.\nUse these classes in your components:\n\n```tsx\n// Backgrounds\n<div className=\"bg-layer-0\" /> // darkest background\n<div className=\"bg-layer-1\" /> // main content area\n<div className=\"bg-layer-2\" /> // elevated panels\n\n// Text\n<span className=\"text-primary\" /> // main text color\n<span className=\"text-secondary\" /> // muted text\n<span className=\"text-error\" /> // error state\n\n// Borders\n<div className=\"border border-primary\" /> // standard border\n<div className=\"border border-error\" /> // error border\n```\n\n## Override CSS Variables\n\n```css\n:root {\n --bg-layer-0: #000000;\n --bg-layer-1: #0c101d;\n --bg-layer-2: #161b2d;\n --bg-layer-3: #1d2439;\n --text-primary: #eef1f7;\n --text-secondary: #9fa6bd;\n --text-error: #f76464;\n --stroke-primary: #696e7c;\n --controls-bg-accent-primary: #3664e2;\n /* ... see tailwind.config.js for full list */\n}\n```\n\n## Overlay stacking\n\nPortalled overlays stack on a ladder driven by one variable, `--z-overlay`\n(default `52`): `z-popup` (base — `Popup` backdrop), `z-floating` (+1 —\n`Dropdown`/`Select` overlays, submenus, `Calendar`), `z-interactive-tooltip`\n(+2 — `InteractiveTooltip`), `z-tooltip` (+3 — `Tooltip`). To lift every\noverlay above a host's own sticky header or modal, set the base once on `:root`\n(or in a `ThemeScope` class) — the steps move together, so their order is kept:\n\n```css\n:root {\n --z-overlay: 1000;\n}\n```\n\nDo not override `[role='menu']` or hardcode `z-[53]` in a host. To move one\noverlay only, pass a `z-*` utility through its class prop (`listClassName`,\n`overlayClassName`, `contentClassName`, `panelClassName`) — `mergeClasses`\nreplaces the layer's step with it.\n\n## Token Reference\n\n\n### backgroundsColors\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `layer-sunken` | `var(--bg-layer-sunken)` | `#EEF1F7` |\n| `layer-base` | `var(--bg-layer-base)` | `#F5F7FA` |\n| `layer-raised` | `var(--bg-layer-raised)` | `#FCFCFC` |\n| `gradient-1` | `var(--bg-gradient-1)` | `#1D4ED8` |\n| `gradient-1-hover` | `var(--bg-gradient-1-hover)` | `#6785FB` |\n| `gradient-1-active` | `var(--bg-gradient-1-active)` | `#1D4ED8` |\n| `gradient-2` | `var(--bg-gradient-2)` | `#885DF2` |\n| `gradient-2-hover` | `var(--bg-gradient-2-hover)` | `#885DF2` |\n| `gradient-2-active` | `var(--bg-gradient-2-active)` | `#7C3AED` |\n| `control-accent-alpha` | `var(--bg-control-accent-alpha)` | `#2764D90F` |\n| `control-accent-alpha-hover` | `var(--bg-control-accent-alpha-hover)` | `#2764D924` |\n| `control-accent-alpha-hover-subtle` | `var(--bg-control-accent-alpha-hover-subtle)` | `#2764D90A` |\n| `control-accent-alpha-active` | `var(--bg-control-accent-alpha-active)` | `#2764D933` |\n| `control-accent-alpha-active-subtle` | `var(--bg-control-accent-alpha-active-subtle)` | `#2764D914` |\n| `control-accent` | `var(--bg-control-accent)` | `#1D4ED8` |\n| `control-accent-muted` | `var(--bg-control-accent-muted)` | `#E1EAF9` |\n| `control-accent-hover` | `var(--bg-control-accent-hover)` | `#5976E9` |\n| `control-neutral` | `var(--bg-control-neutral)` | `#FCFCFC` |\n| `control-neutral-hover-strong` | `var(--bg-control-neutral-hover-strong)` | `#848E9C` |\n| `control-neutral-hover-muted` | `var(--bg-control-neutral-hover-muted)` | `#E0E6F0` |\n| `control-neutral-active` | `var(--bg-control-neutral-active)` | `#D1DBEA` |\n| `control-neutral-default` | `var(--bg-control-neutral-default)` | `#ACB3C3` |\n| `control-inverted` | `var(--bg-control-inverted)` | `#57647A` |\n| `control-error` | `var(--bg-control-error)` | `#AE2F2F` |\n| `control-error-hover` | `var(--bg-control-error-hover)` | `#BF3939` |\n| `control-error-active` | `var(--bg-control-error-active)` | `#CC4545` |\n| `control-error-alpha` | `var(--bg-control-error-alpha)` | `#F764641A` |\n| `control-error-alpha-hover` | `var(--bg-control-error-alpha-hover)` | `#F7646426` |\n| `control-error-alpha-active` | `var(--bg-control-error-alpha-active)` | `#F7646433` |\n| `control-disable-primary` | `var(--bg-control-disable-primary)` | `#DCE0E8` |\n| `control-disable-secondary` | `var(--bg-control-disable-secondary)` | `#ACB3C3` |\n| `green-1` | `var(--bg-visual-green-1)` | `#CDE8E5` |\n| `green-2` | `var(--bg-visual-green-2)` | `#D1F0DC` |\n| `violet-1` | `var(--bg-visual-violet-1)` | `#DDE3F9` |\n| `violet-2` | `var(--bg-visual-violet-2)` | `#F1E9FF` |\n\n### shadowColors\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `xs-1` | `var(--shadow-xs-1)` | `#2764D933` |\n| `xs-2` | `var(--shadow-xs-2)` | `#161B2D08` |\n\n### borderColors\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `accent-alpha` | `var(--stroke-accent-alpha)` | `#2764D933` |\n| `gradient-1` | `var(--stroke-gradient-1)` | `#5976E9` |\n| `gradient-2` | `var(--stroke-gradient-2)` | `#885DF2` |\n| `accent-focus` | `var(--stroke-accent-focus)` | `#6785FB` |\n| `error-alpha` | `var(--stroke-error-alpha)` | `#AE2F2F73` |\n| `control-disable-primary` | `var(--stroke-control-disable-primary)` | `#848E9C` |\n\n### textColors\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `warning-icon` | `var(--text-warning-icon)` | `#EEC840` |\n| `green-1` | `var(--text-visual-green-1)` | `#059669` |\n| `green-2` | `var(--text-visual-green-2)` | `#0D6E72` |\n| `green-3` | `var(--text-visual-green-3)` | `#065F46` |\n| `brown-1` | `var(--text-visual-brown-1)` | `#D36817` |\n| `brown-2` | `var(--text-visual-brown-2)` | `#B45309` |\n| `violet-1` | `var(--text-visual-violet-1)` | `#7C3AED` |\n| `violet-2` | `var(--text-visual-violet-2)` | `#3730B7` |\n| `control-permanent` | `var(--text-control-permanent)` | `#FCFCFC` |\n| `control-inverted` | `var(--text-control-inverted)` | `#FCFCFC` |\n| `control-disable-primary` | `var(--text-control-disable-primary)` | `#848E9C` |\n| `control-disable-secondary` | `var(--text-control-disable-secondary)` | `#DCE0E8` |\n| `control-accent-hover` | `var(--text-control-accent-hover)` | `#5976E9` |\n| `control-accent-active` | `var(--text-control-accent-active)` | `#6785FB` |\n\n### backgroundsColorsToRemove\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `layer-0` | `var(--bg-layer-0)` | `#FCFCFC` |\n| `layer-1` | `var(--bg-layer-1)` | `#E0E6F0` |\n| `layer-2` | `var(--bg-layer-2)` | `#EEF1F7` |\n| `layer-3` | `var(--bg-layer-3)` | `#FCFCFC` |\n| `layer-4` | `var(--bg-layer-4)` | `#D1DBEA` |\n| `accent-primary-alpha` | `var(--bg-accent-primary-alpha)` | `#7DA4FF26` |\n| `accent-secondary-alpha` | `var(--bg-accent-secondary-alpha)` | `#37BABC2E` |\n| `accent-tertiary-alpha` | `var(--bg-accent-tertiary-alpha)` | `#A972FF2E` |\n| `accent-primary` | `var(--bg-accent-primary)` | `#5C8DEA` |\n| `accent-secondary` | `var(--bg-accent-secondary)` | `#37BABC` |\n| `red-400` | `var(--bg-red-400)` | `#F76464` |\n| `controls-accent-primary` | `var(--controls-bg-accent-primary)` | `#124ACE` |\n| `controls-accent-primary-hover` | `var(--controls-bg-accent-primary-hover)` | `#2656D9` |\n| `controls-accent-primary-active` | `var(--controls-bg-accent-primary-active)` | `#3664E2` |\n| `controls-accent-primary-alpha-active` | `var(--controls-bg-accent-primary-alpha-active)` | `#7DA4FF5C` |\n| `controls-accent-secondary-alpha-active` | `var(--controls-bg-accent-secondary-alpha-active)` | `#37BABC5C` |\n| `controls-accent-tertiary-alpha-active` | `var(--controls-bg-accent-tertiary-alpha-active)` | `#A972FF5C` |\n| `controls-error` | `var(--controls-bg-error)` | `#AE2F2F` |\n| `controls-error-hover` | `var(--controls-bg-error-hover)` | `#BF3939` |\n| `controls-error-active` | `var(--controls-bg-error-active)` | `#CC4545` |\n| `controls-error-alpha-active` | `var(--controls-bg-error-alpha-active)` | `#F764645C` |\n| `controls-disable-accent` | `var(--controls-bg-disable-accent)` | `#7C8293` |\n| `controls-disable` | `var(--controls-bg-disable)` | `#D1DBEA` |\n| `controls-neutral-hover` | `var(--controls-bg-neutral-hover)` | `#D1DBEA` |\n| `controls-neutral-active` | `var(--controls-bg-neutral-active)` | `#9FA6BD` |\n| `controls-accent-success-alpha-hover` | `var(--controls-bg-accent-success-alpha-hover)` | `#37BABC2E` |\n| `controls-accent-success-alpha-active` | `var(--controls-bg-accent-success-alpha-active)` | `#37BABC5C` |\n| `controls-enable-primary` | `var(--controls-enable-primary)` | `#FCFCFC` |\n\n### borderColorsToRemove\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `accent-primary` | `var(--stroke-accent-primary)` | `#124ACE` |\n| `accent-secondary` | `var(--stroke-accent-secondary)` | `#007274` |\n| `controls-accent` | `var(--controls-bg-accent)` | `#5C8DEA` |\n| `red-900` | `var(--red-900)` | `#402027` |\n\n### textColorsToRemove\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `accent-primary` | `var(--text-accent-primary)` | `#7DA4FF` |\n| `accent-secondary` | `var(--text-accent-secondary)` | `#37BABC` |\n| `accent-tertiary` | `var(--text-accent-tertiary)` | `#A972FF` |\n| `controls-permanent` | `var(--controls-text-permanent)` | `#FCFCFC` |\n| `controls-accent-disable` | `var(--controls-text-accent-disable)` | `#D1DBEA` |\n| `controls-primary-disable` | `var(--controls-text-primary-disable)` | `#696E7C` |\n| `controls-secondary-disable` | `var(--controls-text-secondary-disable)` | `#9FA6BD` |\n| `controls-neutral` | `var(--controls-text-neutral)` | `#161B2D` |\n| `controls-accent-primary-hover` | `var(--controls-text-accent-primary-hover)` | `#3664E2` |\n| `controls-accent-primary-active` | `var(--controls-text-accent-primary-active)` | `#7DA4FF` |",
20
+ "theming": "# Theming & CSS Variable Tokens\n\nAI DIAL UI Kit uses CSS custom properties (variables) for theming.\nDark and light themes are switched by setting different values for these variables on `:root` or a theme wrapper element.\n\n## Usage in Tailwind\n\nThe Tailwind config maps CSS variables to utility classes.\nUse these classes in your components:\n\n```tsx\n// Backgrounds\n<div className=\"bg-layer-0\" /> // darkest background\n<div className=\"bg-layer-1\" /> // main content area\n<div className=\"bg-layer-2\" /> // elevated panels\n\n// Text\n<span className=\"text-primary\" /> // main text color\n<span className=\"text-secondary\" /> // muted text\n<span className=\"text-error\" /> // error state\n\n// Borders\n<div className=\"border border-primary\" /> // standard border\n<div className=\"border border-error\" /> // error border\n```\n\n## Override CSS Variables\n\n```css\n:root {\n --bg-layer-0: #000000;\n --bg-layer-1: #0c101d;\n --bg-layer-2: #161b2d;\n --bg-layer-3: #1d2439;\n --text-primary: #eef1f7;\n --text-secondary: #9fa6bd;\n --text-error: #f76464;\n --stroke-primary: #696e7c;\n --controls-bg-accent-primary: #3664e2;\n /* ... see src/styles/theme.scss for full list */\n}\n```\n\n## Overlay stacking\n\nPortalled overlays stack on a ladder driven by one variable, `--z-overlay`\n(default `52`): `z-popup` (base — `Popup` backdrop), `z-floating` (+1 —\n`Dropdown`/`Select` overlays, submenus, `Calendar`), `z-interactive-tooltip`\n(+2 — `InteractiveTooltip`), `z-tooltip` (+3 — `Tooltip`). To lift every\noverlay above a host's own sticky header or modal, set the base once on `:root`\n(or in a `ThemeScope` class) — the steps move together, so their order is kept:\n\n```css\n:root {\n --z-overlay: 1000;\n}\n```\n\nDo not override `[role='menu']` or hardcode `z-[53]` in a host. To move one\noverlay only, pass a `z-*` utility through its class prop (`listClassName`,\n`overlayClassName`, `contentClassName`, `panelClassName`) — `mergeClasses`\nreplaces the layer's step with it.\n\n## Token Reference\n\n\n### backgroundsColors\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `layer-base` | `var(--bg-layer-base)` | `#f5f7fa` |\n| `error` | `var(--bg-error)` | `#f3d6d8` |\n| `warning` | `var(--bg-warning)` | `#faf0cf` |\n| `info` | `var(--bg-info)` | `#e1eaf9` |\n| `success` | `var(--bg-success)` | `#dbf1eb` |\n| `gradient-1` | `var(--bg-gradient-1)` | `#1d4ed8` |\n| `gradient-2` | `var(--bg-gradient-2)` | `#885df2` |\n| `blue` | `var(--bg-visual-blue)` | `#d6edf9` |\n| `green-1` | `var(--bg-visual-green-1)` | `#cde8e5` |\n| `green-2` | `var(--bg-visual-green-2)` | `#d1f0dc` |\n| `brown` | `var(--bg-visual-brown)` | `#fde8d8` |\n| `red` | `var(--bg-visual-red)` | `#fce7f3` |\n\n### borderColors\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `primary` | `var(--stroke-primary)` | `#57647a` |\n| `secondary` | `var(--stroke-secondary)` | `#d1dbea` |\n| `tertiary` | `var(--stroke-tertiary)` | `#e0e6f0` |\n| `error` | `var(--stroke-error)` | `#ae2f2f` |\n| `warning` | `var(--stroke-warning)` | `#eec840` |\n| `info` | `var(--stroke-info)` | `#1d4ed8` |\n| `accent` | `var(--stroke-accent)` | `#1d4ed8` |\n| `success` | `var(--stroke-success)` | `#007274` |\n| `default` | `var(--stroke-default)` | `#b2c2dd` |\n| `gradient-1` | `var(--stroke-gradient-1)` | `#5976e9` |\n| `gradient-2` | `var(--stroke-gradient-2)` | `#885df2` |\n| `focus` | `var(--stroke-focus)` | `#161b2d` |\n\n### textColors\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `primary` | `var(--text-primary)` | `#161b2d` |\n| `secondary` | `var(--text-secondary)` | `#57647a` |\n| `tertiary` | `var(--text-tertiary)` | `#848e9c` |\n| `accent` | `var(--text-accent)` | `#1d4ed8` |\n| `error` | `var(--text-error)` | `#ae2f2f` |\n| `warning` | `var(--text-warning)` | `#7f6300` |\n| `warning-icon` | `var(--text-warning-icon)` | `#eec840` |\n| `info` | `var(--text-info)` | `#1d4ed8` |\n| `success` | `var(--text-success)` | `#007274` |\n| `blue` | `var(--text-visual-blue)` | `#1189c8` |\n| `green-1` | `var(--text-visual-green-1)` | `#059669` |\n| `green-2` | `var(--text-visual-green-2)` | `#0d6e72` |\n| `green-3` | `var(--text-visual-green-3)` | `#065f46` |\n| `brown-1` | `var(--text-visual-brown-1)` | `#d36817` |\n| `brown-2` | `var(--text-visual-brown-2)` | `#b45309` |\n| `red` | `var(--text-visual-red)` | `#9d174d` |\n| `violet-1` | `var(--text-visual-violet-1)` | `#7c3aed` |\n| `violet-2` | `var(--text-visual-violet-2)` | `#3730b7` |\n\n### placeholderColor\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `primary` | `var(--text-primary)` | `#161b2d` |\n\n### backgroundsColorsToRemove\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `layer-0` | `var(--bg-layer-0)` | `#fcfcfc` |\n| `layer-1` | `var(--bg-layer-1)` | `#e0e6f0` |\n| `layer-2` | `var(--bg-layer-2)` | `#eef1f7` |\n| `layer-3` | `var(--bg-layer-3)` | `#fcfcfc` |\n| `layer-4` | `var(--bg-layer-4)` | `#d1dbea` |\n| `blackout` | `var(--bg-blackout)` | `#0c101d4d` |\n| `neutral` | `var(--bg-neutral)` | `#fcfcfc` |\n| `accent-primary` | `var(--bg-accent-primary)` | `#5c8dea` |\n| `accent-secondary` | `var(--bg-accent-secondary)` | `#37babc` |\n| `red-400` | `var(--bg-red-400)` | `#f76464` |\n| `controls-error` | `var(--controls-bg-error)` | `#ae2f2f` |\n| `controls-disable` | `var(--controls-bg-disable)` | `#d1dbea` |\n\n### borderColorsToRemove\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `accent-primary` | `var(--stroke-accent-primary)` | `#124ace` |\n| `accent-secondary` | `var(--stroke-accent-secondary)` | `#007274` |\n| `controls-accent` | `var(--controls-bg-accent)` | `#5c8dea` |\n| `hover` | `var(--stroke-hover)` | `#eef1f7` |\n| `red-900` | `var(--red-900)` | `#402027` |\n\n### textColorsToRemove\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `accent-primary` | `var(--text-accent-primary)` | `#7da4ff` |\n| `accent-secondary` | `var(--text-accent-secondary)` | `#37babc` |\n| `accent-tertiary` | `var(--text-accent-tertiary)` | `#a972ff` |\n| `controls-permanent` | `var(--controls-text-permanent)` | `#fcfcfc` |\n| `controls-neutral` | `var(--controls-text-neutral)` | `#161b2d` |\n\n### shadowColors\n| Tailwind class suffix | CSS variable | Default value |\n|---|---|---|\n| `lg` | `var(--shadow-lg)` | `#2764d914` |",
21
21
  "components": [
22
22
  {
23
23
  "name": "Spinner",
@@ -520,7 +520,7 @@
520
520
  "type": "boolean",
521
521
  "required": false,
522
522
  "defaultValue": "false",
523
- "description": "Shows the viewer's timezone (e.g. `(GMT+01:00) Europe/Berlin`) at the trailing edge of the `time` field"
523
+ "description": "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)"
524
524
  }
525
525
  ],
526
526
  "examples": [
@@ -532,7 +532,7 @@
532
532
  "name": "FolderPath",
533
533
  "category": "Components_2_0",
534
534
  "generation": "2.0",
535
- "description": "A read-only, non-clickable folder/location path built on top of `DialBreadcrumb`.\naliases: FolderBreadcrumb|LocationPath\nDesign system 2.0\n\nEvery segment is disabled (no navigation); the first segment gets a leading\nfolder icon and the last segment is styled as the current/leaf item.",
535
+ "description": "A read-only, non-clickable folder/location path styled like `DialBreadcrumb`.\naliases: FolderBreadcrumb|LocationPath\nDesign system 2.0\n\nEvery segment is disabled (no navigation); the first segment gets a leading\nfolder icon and the last segment is styled as the current/leaf item. A path\nof more than three segments collapses its middle into a non-interactive `…`\nthat shows the full path (`Shared > Team > Sub > Reports`) in a tooltip on\nhover; the hidden segments stay in the accessible text.\n\nWhen the path is too wide, the leaf keeps its width longest: the folder\nbefore it truncates first, down to about one character, and if the leaf\nstill does not fit, that folder joins the `…` as well. Only then does the\nleaf truncate.",
536
536
  "props": [
537
537
  {
538
538
  "name": "segments",
@@ -558,14 +558,14 @@
558
558
  "name": "className",
559
559
  "type": "string",
560
560
  "required": false,
561
- "description": "Additional CSS classes applied to the breadcrumb's `<nav>` element.\n`DialBreadcrumb` scrolls horizontally on overflow, so this must not shrink\nthe nav to content width (e.g. never `w-auto`)."
561
+ "description": "Additional CSS classes applied to the `<nav>` element.\nThe nav clips on overflow, so this must not shrink it to content width\n(e.g. never `w-auto`)."
562
562
  },
563
563
  {
564
564
  "name": "ariaLabel",
565
565
  "type": "string",
566
566
  "required": false,
567
567
  "defaultValue": "'Folder path'",
568
- "description": "Accessible name for the underlying `<nav>`.\n`DialBreadcrumb` would otherwise name it \"Breadcrumb\", which misdescribes a\npath with no navigable items; override it when a page shows more than one."
568
+ "description": "Accessible name for the `<nav>`. A path\nhas no navigable items, so it is not named \"Breadcrumb\"; override it when a\npage shows more than one."
569
569
  }
570
570
  ],
571
571
  "examples": [
@@ -2204,10 +2204,62 @@
2204
2204
  "type": "0 | -1 | RefObject<HTMLElement | null>",
2205
2205
  "required": false,
2206
2206
  "description": "Initial focus target inside the overlay on open, forwarded to `FloatingFocusManager`; when omitted, matches pre-existing behavior"
2207
+ },
2208
+ {
2209
+ "name": "searchable",
2210
+ "type": "boolean",
2211
+ "required": false,
2212
+ "defaultValue": "false",
2213
+ "description": "Show a search field above `items` that filters them and highlights the match"
2214
+ },
2215
+ {
2216
+ "name": "searchValue",
2217
+ "type": "string",
2218
+ "required": false,
2219
+ "description": "Controlled query of the search field"
2220
+ },
2221
+ {
2222
+ "name": "onSearchChange",
2223
+ "type": "(value: string) => void",
2224
+ "required": false,
2225
+ "description": "Fired with every edit of the search field, and with `''` when the menu closes"
2226
+ },
2227
+ {
2228
+ "name": "searchPlaceholder",
2229
+ "type": "string",
2230
+ "required": false,
2231
+ "defaultValue": "'Search'",
2232
+ "description": "Placeholder and accessible name of the search field"
2233
+ },
2234
+ {
2235
+ "name": "searchClearLabel",
2236
+ "type": "string",
2237
+ "required": false,
2238
+ "defaultValue": "'Clear search'",
2239
+ "description": "Accessible name of the search field's clear button"
2240
+ },
2241
+ {
2242
+ "name": "noResultsLabel",
2243
+ "type": "string",
2244
+ "required": false,
2245
+ "defaultValue": "'No results found'",
2246
+ "description": "Text shown and announced when the query leaves no items"
2247
+ },
2248
+ {
2249
+ "name": "filterItem",
2250
+ "type": "DropdownItemFilter",
2251
+ "required": false,
2252
+ "description": "Item matcher; defaults to a case-insensitive substring match on a string `label`"
2253
+ },
2254
+ {
2255
+ "name": "maxVisibleItems",
2256
+ "type": "number",
2257
+ "required": false,
2258
+ "description": "Rows the item list shows before it scrolls"
2207
2259
  }
2208
2260
  ],
2209
2261
  "examples": [
2210
- "// Simple items menu\n<Dropdown items={[{ key: 'profile', label: 'Profile' }, { key: 'logout', label: 'Logout' }]}>\n <button type=\"button\" className=\"px-3 py-2 rounded border\">Open</button>\n</Dropdown>\n\n// Hover trigger\n<Dropdown trigger={[DropdownTrigger.Hover]} placement=\"bottom-end\" items={items}>\n <button type=\"button\" className=\"px-3 py-2 rounded border\">Hover me</button>\n</Dropdown>\n\n// Custom overlay content\n<Dropdown closable renderOverlay={() => <div className=\"p-3\">Custom content</div>}>\n <button type=\"button\" className=\"px-3 py-2 rounded border\">Custom</button>\n</Dropdown>"
2262
+ "// Simple items menu\n<Dropdown items={[{ key: 'profile', label: 'Profile' }, { key: 'logout', label: 'Logout' }]}>\n <button type=\"button\" className=\"px-3 py-2 rounded border\">Open</button>\n</Dropdown>\n\n// Hover trigger\n<Dropdown trigger={[DropdownTrigger.Hover]} placement=\"bottom-end\" items={items}>\n <button type=\"button\" className=\"px-3 py-2 rounded border\">Hover me</button>\n</Dropdown>\n\n// Custom overlay content\n<Dropdown closable renderOverlay={() => <div className=\"p-3\">Custom content</div>}>\n <button type=\"button\" className=\"px-3 py-2 rounded border\">Custom</button>\n</Dropdown>\n\n// Searchable menu, seven rows tall before it scrolls\n<Dropdown searchable maxVisibleItems={7} items={items}>\n <button type=\"button\" className=\"px-3 py-2 rounded border\">Create</button>\n</Dropdown>"
2211
2263
  ],
2212
2264
  "sourceFile": "components/New/Dropdown/Dropdown.tsx"
2213
2265
  },
@@ -3660,7 +3712,7 @@
3660
3712
  "name": "Avatar",
3661
3713
  "category": "Components_2_0",
3662
3714
  "generation": "2.0",
3663
- "description": "A person's or an entity's picture, or its initials on a colour picked from\nits name.\naliases: UserAvatar|InitialsAvatar|ProfilePicture\nDesign system 2.0\n\nThe same name always gets the same colour, drawn from the theme's visual\ntokens, so a list of avatars stays stable between renders and sessions. An\nimage that is missing or fails to load falls back to the initials; a new\n`src` tries the image again.\n\nAn avatar with an `alt` is a `role=\"img\"` named by it, whether it shows the\nimage or the initials. Without one it is decorative and hidden from\nassistive technology, which is right when a visible name sits beside it.",
3715
+ "description": "A person's or an entity's picture, or its initials on a colour picked from\nits name.\naliases: UserAvatar|InitialsAvatar|ProfilePicture\nDesign system 2.0\n\nThe same name always gets the same colour, drawn from the theme's visual\ntokens, so a list of avatars stays stable between renders and sessions; pass\n`color` to pin one entry of `AVATAR_PALETTE` instead, so every avatar of a\nkind shares one colour regardless of name or locale. An image that is\nmissing or fails to load falls back to the initials; a new `src` tries the\nimage again.\n\nAn avatar with an `alt` is a `role=\"img\"` named by it, whether it shows the\nimage or the initials. Without one it is decorative and hidden from\nassistive technology, which is right when a visible name sits beside it.",
3664
3716
  "props": [
3665
3717
  {
3666
3718
  "name": "name",
@@ -3701,6 +3753,12 @@
3701
3753
  "defaultValue": "AvatarShape.Circle",
3702
3754
  "description": "Outline of the avatar"
3703
3755
  },
3756
+ {
3757
+ "name": "color",
3758
+ "type": "AvatarColorClasses",
3759
+ "required": false,
3760
+ "description": "Explicit colour pair overriding the deterministic pick from `name`"
3761
+ },
3704
3762
  {
3705
3763
  "name": "className",
3706
3764
  "type": "string",
@@ -4987,7 +5045,7 @@
4987
5045
  "name": "TransferQueue",
4988
5046
  "category": "Components_2_0",
4989
5047
  "generation": "2.0",
4990
- "description": "A floating panel listing the files of an upload, download, import or export\nwith a live status per row.\naliases: UploadQueue|ImportQueue|ExportQueue|UploadProgress|ProgressToast\nDesign system 2.0\n\nEach row shows the file's `FileIcon` and name, and a trailing status: a\nspinner (with a cancel control on hover or focus) while in progress, a check\non success, a warning or error icon whose reason is both its tooltip and its\naccessible name, or \"Canceled\". The header carries the host's title, a count\nof failed items, and collapse and close controls. Collapsed while work runs,\nthe rows are replaced by one aggregate `ProgressBar`.\n\nClosing while an item is in progress or has failed asks for confirmation\nfirst. Once every item has succeeded the queue closes itself after\n`autoCloseDelay`; a warned or canceled row keeps it open so it can be read.\n\nThe root is a polite `role=\"status\"` live region. Positioning is left to\nthe host — wrap it in a fixed container at the screen corner.",
5048
+ "description": "A floating panel listing the files of an upload, download, import or export\nwith a live status per row.\naliases: UploadQueue|ImportQueue|ExportQueue|UploadProgress|ProgressToast\nDesign system 2.0\n\nEach row shows the file's `FileIcon` and name, and a trailing status: a\nspinner (with a cancel control on hover or focus) while in progress, a check\non success, a warning or error icon whose reason is both its tooltip and its\naccessible name, or \"Canceled\". The header carries the host's title and the\ncollapse and close controls. Collapsed while work runs,\nthe rows are replaced by one aggregate `ProgressBar`.\n\nClosing while an item is in progress asks for confirmation first; a queue\nwhose items have all settled, failed ones included, closes straight away. Once every item has succeeded the queue closes itself after\n`autoCloseDelay`; a warned or canceled row keeps it open so it can be read.\n\nThe root is a polite `role=\"status\"` live region. Positioning is left to\nthe host — wrap it in a fixed container at the screen corner.",
4991
5049
  "props": [
4992
5050
  {
4993
5051
  "name": "title",
@@ -5204,10 +5262,17 @@
5204
5262
  "required": false,
5205
5263
  "defaultValue": "'Select all rows'",
5206
5264
  "description": "Accessible name of the select-all control."
5265
+ },
5266
+ {
5267
+ "name": "colorScheme",
5268
+ "type": "GridColorScheme",
5269
+ "required": false,
5270
+ "defaultValue": "GridColorScheme.Light",
5271
+ "description": "AG Grid color scheme. `dark` paints native controls dark."
5207
5272
  }
5208
5273
  ],
5209
5274
  "examples": [
5210
- "interface Product { id: string; name: string; price: number }\n\nconst columns: ColDef<Product>[] = [\n { field: 'name', headerName: 'Product', flex: 1 },\n { field: 'price', headerName: 'Price', width: 120 },\n];\n\n<Grid<Product> columnDefs={columns} rowData={products} />\n\n// With selection and a context menu\n<Grid<Product>\n columnDefs={columns}\n rowData={products}\n selectionMode={GridSelectionMode.MULTIPLE}\n selectedRowIds={selectedIds}\n onSelectionChange={(ids) => setSelectedIds(ids)}\n selectRowLabel={(row) => `Select ${row.name}`}\n getContextMenuItems={(row) => [{ key: 'edit', label: 'Edit' }]}\n/>"
5275
+ "interface Product { id: string; name: string; price: number }\n\nconst columns: ColDef<Product>[] = [\n { field: 'name', headerName: 'Product', flex: 1 },\n { field: 'price', headerName: 'Price', width: 120 },\n];\n\n<Grid<Product> columnDefs={columns} rowData={products} />\n\n// With selection and a context menu\n<Grid<Product>\n columnDefs={columns}\n rowData={products}\n selectionMode={GridSelectionMode.MULTIPLE}\n selectedRowIds={selectedIds}\n onSelectionChange={(ids) => setSelectedIds(ids)}\n selectRowLabel={(row) => `Select ${row.name}`}\n getContextMenuItems={(row) => [{ key: 'edit', label: 'Edit' }]}\n/>\n\n// Dark native controls, including the date-filter calendar\n<Grid<Product> columnDefs={columns} rowData={products} colorScheme={GridColorScheme.Dark} />"
5211
5276
  ],
5212
5277
  "sourceFile": "components/New/Grid/Grid.tsx"
5213
5278
  },
@@ -9293,1040 +9358,241 @@
9293
9358
  "sourceFile": "components/DropdownIcon/DropdownIcon.tsx"
9294
9359
  },
9295
9360
  {
9296
- "name": "DialFileManager",
9297
- "category": "FileManager",
9361
+ "name": "DialSchemaRenderer",
9362
+ "category": "Name",
9363
+ "generation": "1.0",
9364
+ "description": "Renders a JSON Schema as a form UI with collapsible sections, validation, and default values.\naliases: SchemaRenderer|JsonSchemaForm\nDesign system 1.0",
9365
+ "props": [],
9366
+ "examples": [
9367
+ "<DialSchemaRenderer\n schema={mySchema}\n onChange={(v) => console.log(v)}\n onDefaultValues={(defaults) => console.log(defaults)}\n/>"
9368
+ ],
9369
+ "sourceFile": "components/SchemaRenderer/SchemaRenderer.tsx",
9370
+ "supersededBy": "SchemaRenderer"
9371
+ },
9372
+ {
9373
+ "name": "DialJsonEditor",
9374
+ "category": "Data Display",
9298
9375
  "generation": "1.0",
9299
- "description": "File Manager layout with a collapsible folders tree, breadcrumb/search header, and a data grid.\naliases: FileExplorer|FileBrowser\nDesign system 1.0",
9376
+ "description": "A JSON editor component built on top of Monaco Editor.\nDesign system 1.0\nProvides syntax highlighting, validation, and theme support for JSON editing.\n\nLazy-loaded component. This component is not exported directly from the UI kit to avoid errors when using with SSR. Use `LazyDialJsonEditor` and the manifest `lazy` field for dynamic import guidance.",
9300
9377
  "props": [
9301
9378
  {
9302
- "name": "path",
9303
- "type": "string",
9379
+ "name": "value",
9380
+ "type": "string | undefined",
9304
9381
  "required": false,
9305
- "description": "Absolute path of the current location (e.g. \"/All files/Design/Icons\")"
9382
+ "description": "The JSON string value to edit"
9306
9383
  },
9307
9384
  {
9308
- "name": "defaultPath",
9385
+ "name": "currentTheme",
9309
9386
  "type": "string",
9310
- "required": false,
9311
- "description": "Initial path used in uncontrolled mode (applied only on first render)"
9387
+ "required": true,
9388
+ "description": "The theme to apply to the editor"
9312
9389
  },
9313
9390
  {
9314
- "name": "className",
9315
- "type": "string",
9391
+ "name": "themesConfig",
9392
+ "type": "Record<EditorThemes, editor.IStandaloneThemeData>",
9316
9393
  "required": false,
9317
- "description": "Additional classes for the root container"
9394
+ "defaultValue": "EDITOR_THEMES_CONFIG",
9395
+ "description": "Custom theme configurations"
9318
9396
  },
9319
9397
  {
9320
- "name": "managerLabel",
9321
- "type": "ReactNode",
9322
- "required": false
9398
+ "name": "onChange",
9399
+ "type": "(value: string | undefined) => void",
9400
+ "required": true,
9401
+ "description": "Callback fired when the editor content changes"
9323
9402
  },
9324
9403
  {
9325
- "name": "gridClassName",
9326
- "type": "string",
9404
+ "name": "onValidateJSON",
9405
+ "type": "OnValidate",
9327
9406
  "required": false,
9328
- "description": "Additional classes for the grid container"
9407
+ "description": "Callback fired when JSON validation occurs"
9329
9408
  },
9330
9409
  {
9331
- "name": "allowedFileTypes",
9332
- "type": "DialFileAcceptType[]",
9410
+ "name": "options",
9411
+ "type": "editor.IStandaloneEditorConstructionOptions",
9333
9412
  "required": false,
9334
- "description": "Allowed file types (same format as the HTML `<input accept>` attribute). Controls upload filtering and which items are disabled in the File Manager UI. Supports MIME types, wildcards (e.g. `image/*`), and extensions (e.g. `.svg`)."
9335
- },
9413
+ "description": "Additional Monaco editor options"
9414
+ }
9415
+ ],
9416
+ "examples": [],
9417
+ "sourceFile": "components/JsonEditor/JsonEditor.tsx",
9418
+ "lazy": {
9419
+ "loaderExportName": "LazyDialJsonEditor",
9420
+ "packageImport": "@epam/ai-dial-ui-kit",
9421
+ "ssr": false,
9422
+ "nextDynamicExample": "import dynamic from 'next/dynamic';\nimport { LazyDialJsonEditor } from '@epam/ai-dial-ui-kit';\n\nconst DialJsonEditor = dynamic(\n async () => (await LazyDialJsonEditor()).DialJsonEditor,\n { ssr: false },\n);"
9423
+ }
9424
+ },
9425
+ {
9426
+ "name": "DialMarkdownEditor",
9427
+ "category": "Data Display",
9428
+ "generation": "1.0",
9429
+ "description": "A Markdown editor component built on top of\n\nLazy-loaded component. This component is not exported directly from the UI kit to avoid errors when using with SSR. Use `LazyDialMarkdownEditor` and the manifest `lazy` field for dynamic import guidance.",
9430
+ "props": [
9336
9431
  {
9337
- "name": "items",
9338
- "type": "DialFile[]",
9432
+ "name": "value",
9433
+ "type": "string",
9339
9434
  "required": false,
9340
- "description": "Full hierarchical list of files and folders used by both tree and grid"
9435
+ "description": "The current markdown content"
9341
9436
  },
9342
9437
  {
9343
- "name": "rootItem",
9344
- "type": "DialRootFolder",
9438
+ "name": "onChange",
9439
+ "type": "(value: string) => void",
9345
9440
  "required": false,
9346
- "description": "Optional root folder item to represent the top-level container in the tree"
9441
+ "description": "Callback fired when the editor content changes"
9347
9442
  },
9348
9443
  {
9349
- "name": "filesLoading",
9350
- "type": "boolean",
9444
+ "name": "height",
9445
+ "type": "number",
9351
9446
  "required": false,
9352
- "description": "When true, shows skeleton loading state in the grid"
9447
+ "defaultValue": "300",
9448
+ "description": "Height of the editor in pixels"
9353
9449
  },
9354
9450
  {
9355
- "name": "sharedByMePaths",
9356
- "type": "Set<string>",
9451
+ "name": "preview",
9452
+ "type": "PreviewType",
9357
9453
  "required": false,
9358
- "description": "Set of items paths that the user has shared with others. Enables UI indicators (icons/badges) in the tree and grid."
9454
+ "defaultValue": "'edit'",
9455
+ "description": "Preview mode ('edit', 'live', 'preview')"
9359
9456
  },
9360
9457
  {
9361
- "name": "maxSelectableFileSize",
9362
- "type": "number",
9458
+ "name": "theme",
9459
+ "type": "EditorThemes",
9363
9460
  "required": false,
9364
- "description": "Maximum allowed file size for selection in bytes"
9461
+ "defaultValue": "EditorThemes.dark",
9462
+ "description": "Theme for the editor ('light' or 'dark')"
9365
9463
  },
9366
9464
  {
9367
- "name": "selectedPaths",
9368
- "type": "Set<string>",
9465
+ "name": "className",
9466
+ "type": "string",
9369
9467
  "required": false,
9370
- "description": "Controlled set of selected item paths"
9468
+ "description": "Additional CSS classes for the container"
9371
9469
  },
9372
9470
  {
9373
- "name": "defaultSelectedPaths",
9374
- "type": "Set<string>",
9471
+ "name": "placeholder",
9472
+ "type": "ReactNode",
9375
9473
  "required": false,
9376
- "description": "Initial selected paths used in uncontrolled mode"
9474
+ "description": "Content to display when the editor is empty"
9377
9475
  },
9378
9476
  {
9379
- "name": "onSelectedPathsChange",
9380
- "type": "(paths: Set<string>) => void",
9477
+ "name": "showDragbar",
9478
+ "type": "boolean",
9381
9479
  "required": false,
9382
- "description": "Callback fired when the selected paths change"
9383
- },
9480
+ "defaultValue": "true",
9481
+ "description": "Whether to show the bottom drag bar that resizes the editor height"
9482
+ }
9483
+ ],
9484
+ "examples": [
9485
+ "<DialMarkdownEditor\nvalue=\"# Hello World\"\nonChange={(value) => console.log(value)}\nheight={400}\ntheme=\"dark\"\n/>"
9486
+ ],
9487
+ "sourceFile": "components/MarkdownEditor/MarkdownEditor.tsx",
9488
+ "lazy": {
9489
+ "loaderExportName": "LazyDialMarkdownEditor",
9490
+ "packageImport": "@epam/ai-dial-ui-kit",
9491
+ "ssr": false,
9492
+ "nextDynamicExample": "import dynamic from 'next/dynamic';\nimport { LazyDialMarkdownEditor } from '@epam/ai-dial-ui-kit';\n\nconst DialMarkdownEditor = dynamic(\n async () => (await LazyDialMarkdownEditor()).DialMarkdownEditor,\n { ssr: false },\n);"
9493
+ },
9494
+ "supersededBy": "MarkdownEditor"
9495
+ }
9496
+ ],
9497
+ "types": [
9498
+ {
9499
+ "name": "AnalyticsCardVariant",
9500
+ "kind": "enum",
9501
+ "members": [
9384
9502
  {
9385
- "name": "showHiddenFiles",
9386
- "type": "boolean",
9387
- "required": false
9503
+ "name": "Default",
9504
+ "value": "'default'"
9388
9505
  },
9389
9506
  {
9390
- "name": "onShowHiddenFilesChange",
9391
- "type": "(value: boolean) => void",
9392
- "required": false
9393
- },
9507
+ "name": "Compact",
9508
+ "value": "'compact'"
9509
+ }
9510
+ ],
9511
+ "sourceFile": "types/analytics.ts"
9512
+ },
9513
+ {
9514
+ "name": "AnalyticsBarColorStop",
9515
+ "kind": "interface",
9516
+ "members": [
9394
9517
  {
9395
- "name": "treeOptions",
9396
- "type": "FileTreeOptions",
9397
- "required": false,
9398
- "description": "Options that configure the collapsible sidebar and folders tree"
9518
+ "name": "from",
9519
+ "value": "number"
9399
9520
  },
9400
9521
  {
9401
- "name": "toolbarOptions",
9402
- "type": "ToolbarOptions",
9403
- "required": false,
9404
- "description": "Options for the file manager toolbar"
9522
+ "name": "to",
9523
+ "value": "number"
9405
9524
  },
9406
9525
  {
9407
- "name": "showNavigationPanel",
9408
- "type": "boolean",
9409
- "required": false,
9410
- "description": "Determines whether to display the navigation panel."
9411
- },
9526
+ "name": "color",
9527
+ "value": "string"
9528
+ }
9529
+ ],
9530
+ "sourceFile": "models/analytics.ts"
9531
+ },
9532
+ {
9533
+ "name": "AnalyticsCardCompareItem",
9534
+ "kind": "interface",
9535
+ "members": [
9412
9536
  {
9413
- "name": "navigationPanelOptions",
9414
- "type": "NavigationPanelOptions",
9415
- "required": false,
9416
- "description": "Options for the breadcrumb and search panel (value/onSearchChange for controlled search)"
9537
+ "name": "title",
9538
+ "value": "ReactNode"
9417
9539
  },
9418
9540
  {
9419
- "name": "gridOptions",
9420
- "type": "GridOptions",
9421
- "required": false,
9422
- "description": "Options forwarded to `DialGrid`; supports `columnDefs` override and `filterable` flag and date locale/options"
9423
- },
9541
+ "name": "value",
9542
+ "value": "ReactNode"
9543
+ }
9544
+ ],
9545
+ "sourceFile": "models/analytics.ts"
9546
+ },
9547
+ {
9548
+ "name": "DialTooltipContainerOptions",
9549
+ "kind": "interface",
9550
+ "members": [
9424
9551
  {
9425
- "name": "bulkActionsToolbarOptions",
9426
- "type": "BulkActionsToolbarOptions",
9427
- "required": false,
9428
- "description": "Options for the bulk actions toolbar shown when items are selected"
9552
+ "name": "initialOpen?",
9553
+ "value": "boolean"
9429
9554
  },
9430
9555
  {
9431
- "name": "deleteConfirmationOptions",
9432
- "type": "DeleteConfirmationOptions",
9433
- "required": false,
9434
- "description": "Options for the delete confirmation popup"
9556
+ "name": "placement?",
9557
+ "value": "Placement"
9435
9558
  },
9436
9559
  {
9437
- "name": "destinationFolderPopupOptions",
9438
- "type": "DialFileManagerDestinationFolderPopupOptions",
9439
- "required": false
9560
+ "name": "isTriggerClickable?",
9561
+ "value": "boolean"
9440
9562
  },
9441
9563
  {
9442
- "name": "conflictResolutionPopupOptions",
9443
- "type": "DialFileManagerConflictResolutionPopupOptions",
9444
- "required": false
9564
+ "name": "open?",
9565
+ "value": "boolean"
9445
9566
  },
9446
9567
  {
9447
- "name": "compactViewWidthBreakpoint",
9448
- "type": "number",
9449
- "required": false,
9450
- "description": "Width (px) below which the component switches to compact view."
9451
- },
9568
+ "name": "onOpenChange?",
9569
+ "value": "(open: boolean) => void"
9570
+ }
9571
+ ],
9572
+ "sourceFile": "components/Tooltip/TooltipContext.tsx"
9573
+ },
9574
+ {
9575
+ "name": "EditorThemes",
9576
+ "kind": "enum",
9577
+ "members": [
9452
9578
  {
9453
- "name": "customBreakpointRef",
9454
- "type": "RefObject<HTMLElement | null>",
9455
- "required": false
9579
+ "name": "dark",
9580
+ "value": "'dark'"
9456
9581
  },
9457
9582
  {
9458
- "name": "onPathChange",
9459
- "type": "(nextPath?: string) => void",
9460
- "required": false,
9461
- "description": "Callback fired when user navigates via tree or breadcrumb"
9462
- },
9583
+ "name": "light",
9584
+ "value": "'light'"
9585
+ }
9586
+ ],
9587
+ "sourceFile": "types/editor.ts"
9588
+ },
9589
+ {
9590
+ "name": "ButtonVariant",
9591
+ "kind": "enum",
9592
+ "members": [
9463
9593
  {
9464
- "name": "onTableFileClick",
9465
- "type": "(file: GridRow) => void",
9466
- "required": false,
9467
- "description": "Callback fired when a file row is clicked in the grid"
9468
- },
9469
- {
9470
- "name": "handleSelectionClick",
9471
- "type": "(file: GridRow[]) => void",
9472
- "required": false
9473
- },
9474
- {
9475
- "name": "onGridApiChange",
9476
- "type": "(api: GridApi) => void",
9477
- "required": false
9478
- },
9479
- {
9480
- "name": "onCopyFiles",
9481
- "type": "(items: DialCopiedItem[], destinationFolder: string) => void",
9482
- "required": false,
9483
- "description": "Callback fired when files copy-paste"
9484
- },
9485
- {
9486
- "name": "onMoveToFiles",
9487
- "type": "(\n items: DialCopiedItem[],\n sourceFolder: string,\n destinationFolder: string,\n ) => void",
9488
- "required": false,
9489
- "description": "Callback fired when files cut-paste or rename"
9490
- },
9491
- {
9492
- "name": "onDeleteFiles",
9493
- "type": "(items: DialDeletedItem[], sourceFolder: string) => void",
9494
- "required": false,
9495
- "description": "Callback fired when files are deleted"
9496
- },
9497
- {
9498
- "name": "onDownloadFiles",
9499
- "type": "(items: DialFile[]) => void",
9500
- "required": false,
9501
- "description": "Callback fired when files are downloaded"
9502
- },
9503
- {
9504
- "name": "onRenameValidate",
9505
- "type": "(value: string, item: DialFile) => string | null",
9506
- "required": false,
9507
- "description": "Optional callback to validate a file or folder name during renaming. Should return an error message string if the name is invalid, or null if it's valid."
9508
- },
9509
- {
9510
- "name": "renameValidationMessages",
9511
- "type": "RenameValidationMessages",
9512
- "required": false,
9513
- "description": "Optional custom validation messages for renaming files and folders. Note that you need to add `${NotificationVariant.Warning}__` prefix to the `hiddenItemWarning` message to display it as a warning with the warning icon."
9514
- },
9515
- {
9516
- "name": "forbiddenSymbolsRegExp",
9517
- "type": "RegExp",
9518
- "required": false,
9519
- "description": "Optional RegExp will be used in the validation for the files and folders names. The \"g\" and \"y\" flags are not allowed in this RegExp and will be ignored."
9520
- },
9521
- {
9522
- "name": "forbiddenSymbolsTooltip",
9523
- "type": "ReactNode",
9524
- "required": false,
9525
- "description": "Optional tooltip displayed when a file or folder name contains forbidden characters"
9526
- },
9527
- {
9528
- "name": "skipForbiddenSymbolsCheckForActions",
9529
- "type": "boolean",
9530
- "required": false,
9531
- "description": "When provided, skips the forbidden-symbols check when building row action menus, so all actions are shown even for items whose names contain forbidden characters."
9532
- },
9533
- {
9534
- "name": "onCreateFolder",
9535
- "type": "(\n file: DialUploadFileItem,\n folderPath: string,\n fileId: string,\n ) => void | Promise<void>",
9536
- "required": false
9537
- },
9538
- {
9539
- "name": "onCreateFolderValidate",
9540
- "type": "(\n name: string,\n parentFolder: DialFile,\n ) => string | null",
9541
- "required": false
9542
- },
9543
- {
9544
- "name": "folderCreationValidationMessages",
9545
- "type": "CreateFolderValidationMessages",
9546
- "required": false
9547
- },
9548
- {
9549
- "name": "getDisabledTooltip",
9550
- "type": "(row: FileManagerGridRow) => string | undefined",
9551
- "required": false
9552
- },
9553
- {
9554
- "name": "fileTooLargeTooltip",
9555
- "type": "string",
9556
- "required": false,
9557
- "description": "Optional tooltip text displayed when a file is too large."
9558
- },
9559
- {
9560
- "name": "unsupportedFileTypeTooltip",
9561
- "type": "string",
9562
- "required": false,
9563
- "description": "Optional tooltip text displayed when an unsupported file type is selected."
9564
- },
9565
- {
9566
- "name": "onUploadFiles",
9567
- "type": "(\n files: DialUploadFileItem[],\n destinationFolder: string,\n ) => void",
9568
- "required": false,
9569
- "description": "Callback fired when files are uploaded"
9570
- },
9571
- {
9572
- "name": "prepareUploadFileName",
9573
- "type": "(name: string) => string",
9574
- "required": false,
9575
- "description": "Optional mapper applied to each uploaded item's name before conflict resolution runs and before `onUploadFiles`/`onUploadArchive` are called. Use it to sanitize or normalize names (e.g. stripping forbidden symbols). Conflict detection is performed against the mapped names, so renames take place before the conflict check."
9576
- },
9577
- {
9578
- "name": "onValidateUpload",
9579
- "type": "(\n files: DialUploadFileItem[],\n existingFiles: DialFile[],\n destinationFolder: string,\n ) => FileUploadValidationResult | Promise<FileUploadValidationResult>",
9580
- "required": false,
9581
- "description": "Callback to validate files before upload"
9582
- },
9583
- {
9584
- "name": "maxFileSize",
9585
- "type": "number",
9586
- "required": false,
9587
- "description": "Maximum allowed file size for uploads in bytes"
9588
- },
9589
- {
9590
- "name": "uploadValidationMessages",
9591
- "type": "FileUploadValidationMessages",
9592
- "required": false,
9593
- "description": "Custom validation messages for file uploads. Consumers can customize these strings for a11y and copy consistency."
9594
- },
9595
- {
9596
- "name": "onUploadArchive",
9597
- "type": "(\n file: File,\n name: string,\n destinationFolder: string,\n ) => void",
9598
- "required": false,
9599
- "description": "Callback fired when archive files are uploaded"
9600
- },
9601
- {
9602
- "name": "uploadEnabled",
9603
- "type": "boolean",
9604
- "required": false,
9605
- "description": "Whether files uploads are enabled"
9606
- },
9607
- {
9608
- "name": "fileMetadataPopupOptions",
9609
- "type": "FileMetadataPopupOptions",
9610
- "required": false
9611
- },
9612
- {
9613
- "name": "onGetInfo",
9614
- "type": "(file: DialFile) => void | Promise<void>",
9615
- "required": false
9616
- },
9617
- {
9618
- "name": "onUnshareFiles",
9619
- "type": "(files: DialFile[]) => void | Promise<void>",
9620
- "required": false
9621
- },
9622
- {
9623
- "name": "onRemoveFilesAccess",
9624
- "type": "(files: DialFile[]) => void | Promise<void>",
9625
- "required": false
9626
- },
9627
- {
9628
- "name": "actionsRef",
9629
- "type": "Ref<DialFileManagerActionsRef>",
9630
- "required": false,
9631
- "description": "Ref exposing a limited set of imperative File Manager actions (e.g., creating a folder). Allows parent components to trigger internal behaviors programmatically. This ref is not a DOM ref and should be used only for invoking the component’s public actions API."
9632
- },
9633
- {
9634
- "name": "onSearchFiles",
9635
- "type": "(folder: string, query: string) => void",
9636
- "required": false
9637
- },
9638
- {
9639
- "name": "searchInProgress",
9640
- "type": "boolean",
9641
- "required": false
9642
- },
9643
- {
9644
- "name": "searchResults",
9645
- "type": "DialFile[]",
9646
- "required": false
9647
- },
9648
- {
9649
- "name": "clearSearchResults",
9650
- "type": "() => void",
9651
- "required": false
9652
- },
9653
- {
9654
- "name": "emptyStateIcon",
9655
- "type": "ReactNode",
9656
- "required": false,
9657
- "description": "Optional icon for empty state"
9658
- },
9659
- {
9660
- "name": "emptyStateTitle",
9661
- "type": "string",
9662
- "required": false,
9663
- "description": "Optional title text displayed when there are no files."
9664
- },
9665
- {
9666
- "name": "emptyStateDescription",
9667
- "type": "string",
9668
- "required": false,
9669
- "description": "Optional description text displayed below the empty state title."
9670
- },
9671
- {
9672
- "name": "sharedWithMeIds",
9673
- "type": "string[]",
9674
- "required": false,
9675
- "description": "Optional list of file IDs that are shared with the current user."
9676
- },
9677
- {
9678
- "name": "onFolderPopupPathChange",
9679
- "type": "(newPath?: string) => void",
9680
- "required": false
9681
- },
9682
- {
9683
- "name": "onManagePermissions",
9684
- "type": "(path?: string) => void",
9685
- "required": false
9686
- },
9687
- {
9688
- "name": "onPreview",
9689
- "type": "(path?: string) => void",
9690
- "required": false
9691
- },
9692
- {
9693
- "name": "onOpenInNewTab",
9694
- "type": "(file: DialFile) => void",
9695
- "required": false
9696
- },
9697
- {
9698
- "name": "previewExtensions",
9699
- "type": "string[]",
9700
- "required": false
9701
- },
9702
- {
9703
- "name": "isRenameFileAvailable",
9704
- "type": "boolean",
9705
- "required": false
9706
- },
9707
- {
9708
- "name": "isDuplicateFolderAvailable",
9709
- "type": "boolean",
9710
- "required": false
9711
- },
9712
- {
9713
- "name": "customUploadFileAction",
9714
- "type": "(\n currentPath?: string,\n currentFolder?: DialFile,\n ) => void",
9715
- "required": false
9716
- },
9717
- {
9718
- "name": "customCreateNewItemAction",
9719
- "type": "(\n currentPath?: string,\n currentFolder?: DialFile,\n ) => void",
9720
- "required": false
9721
- },
9722
- {
9723
- "name": "customDuplicateAction",
9724
- "type": "(items?: DialFile[]) => void",
9725
- "required": false
9726
- },
9727
- {
9728
- "name": "customDeleteItemsAction",
9729
- "type": "(\n items: DialFile[],\n parentFolderPath: string,\n ) => void",
9730
- "required": false
9731
- },
9732
- {
9733
- "name": "customDownloadItemsAction",
9734
- "type": "(items?: DialFile[]) => void",
9735
- "required": false
9736
- },
9737
- {
9738
- "name": "nonClickableTableColumns",
9739
- "type": "FileManagerColumnKey[]",
9740
- "required": false
9741
- },
9742
- {
9743
- "name": "hideSearchPathItemName",
9744
- "type": "boolean",
9745
- "required": false
9746
- },
9747
- {
9748
- "name": "showHiddenFileSwitcherInDestinationPopup",
9749
- "type": "boolean",
9750
- "required": false
9751
- },
9752
- {
9753
- "name": "showCreateFolderButtonInDestinationPopup",
9754
- "type": "boolean",
9755
- "required": false
9756
- },
9757
- {
9758
- "name": "autoSelectUploadedItems",
9759
- "type": "boolean",
9760
- "required": false,
9761
- "description": "When true, automatically selects newly uploaded or created items (files, archives, folders) after they appear in the current directory. Useful in attach flows where the user expects immediate selection feedback."
9762
- },
9763
- {
9764
- "name": "maxNewFolderDepth",
9765
- "type": "number",
9766
- "required": false
9767
- },
9768
- {
9769
- "name": "onNewFolderDepthExceeded",
9770
- "type": "() => void",
9771
- "required": false
9772
- },
9773
- {
9774
- "name": "initialUploadFilesOpen",
9775
- "type": "boolean",
9776
- "required": false
9777
- }
9778
- ],
9779
- "examples": [
9780
- "// Minimal usage\n<DialFileManager items={files} path=\"/All files\" />\n\n// With loading state\n<DialFileManager items={files} path=\"/All files\" filesLoading={true} />\n\n// With controlled search and disabled grid filters\nconst [query, setQuery] = useState('');\n<DialFileManager\n items={files}\n path=\"/All files/Design\"\n navigationPanelOptions={{\n searchable: true,\n value: query,\n onSearchChange: setQuery,\n }}\n gridOptions={{ filterable: false }}\n/>\n\n// With custom tree width and title\n<DialFileManager\n items={files}\n treeOptions={{ width: 300, title: 'Explorer', showFiles: true }}\n/>\n\n// With explicit provider (advanced apps)\n<FileManagerProvider items={files} path=\"/All files\">\n <MyCustomHeader />\n <DialFileManagerView /> // internal view\n <MyCustomFooter />\n</FileManagerProvider>"
9781
- ],
9782
- "sourceFile": "components/FileManager/FileManager.tsx"
9783
- },
9784
- {
9785
- "name": "DialDestinationFolderPopup",
9786
- "category": "FileManager/components",
9787
- "generation": "1.0",
9788
- "description": "DestinationFolderPopup\naliases: FolderSelector|PathChooser\nDesign system 1.0",
9789
- "props": [],
9790
- "examples": [
9791
- "<DestinationFolderPopup\n open={isOpen}\n onClose={handleClose}\n onConfirm={handleConfirm}\n mode=\"copy\"\n title=\"Copy 3 files\"\n items={files}\n rootItem={rootFolder}\n path={currentPath}\n onPathChange={setCurrentPath}\n/>"
9792
- ],
9793
- "sourceFile": "components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.tsx"
9794
- },
9795
- {
9796
- "name": "DialFoldersTree",
9797
- "category": "Data Display",
9798
- "generation": "1.0",
9799
- "description": "DialFoldersTree — A hierarchical folder tree component with nested expand/collapse support, selection highlighting,\nDesign system 1.0\nand optional file display.",
9800
- "props": [
9801
- {
9802
- "name": "items",
9803
- "type": "DialFile[]",
9804
- "required": true,
9805
- "description": "Array of folder and file nodes to display in the tree."
9806
- },
9807
- {
9808
- "name": "expandedPaths",
9809
- "type": "Set<string>",
9810
- "required": false,
9811
- "description": "Set of folder paths that should be expanded."
9812
- },
9813
- {
9814
- "name": "loadingPaths",
9815
- "type": "Set<string>",
9816
- "required": false,
9817
- "defaultValue": "new Set()",
9818
- "description": "Set of folder paths currently loading (shows spinner or placeholder)."
9819
- },
9820
- {
9821
- "name": "loadedPaths",
9822
- "type": "Set<string>",
9823
- "required": false,
9824
- "defaultValue": "new Set()",
9825
- "description": "Set of folder paths that have loaded."
9826
- },
9827
- {
9828
- "name": "sharedByMePaths",
9829
- "type": "Set<string>",
9830
- "required": false,
9831
- "defaultValue": "new Set()",
9832
- "description": "Set of items paths that the user has shared with others. Enables UI indicators (icons/badges)."
9833
- },
9834
- {
9835
- "name": "selectedPath",
9836
- "type": "string",
9837
- "required": false,
9838
- "description": "Path representing the currently selected folder or file."
9839
- },
9840
- {
9841
- "name": "renamedPath",
9842
- "type": "string",
9843
- "required": false,
9844
- "description": "Path of the folder or file currently being edited."
9845
- },
9846
- {
9847
- "name": "createdFolderPath",
9848
- "type": "string | null",
9849
- "required": false,
9850
- "description": "Optional Path of the new created folder."
9851
- },
9852
- {
9853
- "name": "showFiles",
9854
- "type": "boolean",
9855
- "required": false,
9856
- "defaultValue": "false",
9857
- "description": "Whether to show files in addition to folders."
9858
- },
9859
- {
9860
- "name": "rootItemPath",
9861
- "type": "string",
9862
- "required": false,
9863
- "description": "Path of the folder to treat as the custom root node (no context menu, special label)."
9864
- },
9865
- {
9866
- "name": "rootItemLabel",
9867
- "type": "string",
9868
- "required": false,
9869
- "description": "Label to display for the root node instead of its actual name."
9870
- },
9871
- {
9872
- "name": "emptyStateTitle",
9873
- "type": "string",
9874
- "required": false,
9875
- "defaultValue": "'No Folders'",
9876
- "description": "Title text displayed when there are no items."
9877
- },
9878
- {
9879
- "name": "emptyStateDescription",
9880
- "type": "string",
9881
- "required": false,
9882
- "description": "Optional description text for the empty state."
9883
- },
9884
- {
9885
- "name": "emptyStateIcon",
9886
- "type": "ReactNode",
9887
- "required": false,
9888
- "description": "Optional icon to display in the empty state."
9889
- },
9890
- {
9891
- "name": "onItemClick",
9892
- "type": "(item: DialFile) => void",
9893
- "required": false,
9894
- "description": "Callback fired when a folder or file is clicked (receives the corresponding `DialFile` node)."
9895
- },
9896
- {
9897
- "name": "onRenameSave",
9898
- "type": "(value: string) => void",
9899
- "required": false,
9900
- "description": "Callback fired when editing is confirmed with a valid name (receives the new name)."
9901
- },
9902
- {
9903
- "name": "onRenameCancel",
9904
- "type": "() => void",
9905
- "required": false,
9906
- "description": "Callback fired when editing is cancelled."
9907
- },
9908
- {
9909
- "name": "onRenameValidate",
9910
- "type": "(value: string, item: DialFile) => string | null",
9911
- "required": false,
9912
- "description": "Function to validate the new name during editing. Should return an error string or `null` if valid."
9913
- },
9914
- {
9915
- "name": "onCreateFolderSave",
9916
- "type": "(value: string) => void",
9917
- "required": false,
9918
- "description": "Optional Callback fired when create new folder is confirmed"
9919
- },
9920
- {
9921
- "name": "onCreateFolderCancel",
9922
- "type": "() => void",
9923
- "required": false,
9924
- "description": "Optional Callback fired when create new folder is cancelled"
9925
- },
9926
- {
9927
- "name": "getContextMenuItems",
9928
- "type": "(item: DialFile) => DropdownItem[]",
9929
- "required": false,
9930
- "description": "Function returning context menu items for a given node."
9931
- },
9932
- {
9933
- "name": "areHiddenFilesVisible",
9934
- "type": "boolean",
9935
- "required": false,
9936
- "defaultValue": "false",
9937
- "description": "Whether hidden files (dotfiles) should be visible in the tree."
9938
- },
9939
- {
9940
- "name": "onExpandedPathsChange",
9941
- "type": "(expandedPaths: Set<string>) => void",
9942
- "required": false
9943
- },
9944
- {
9945
- "name": "forbiddenSymbolsRegExp",
9946
- "type": "RegExp",
9947
- "required": false,
9948
- "description": "Optional RegExp used to validate folder and file names for forbidden characters."
9949
- },
9950
- {
9951
- "name": "forbiddenSymbolsTooltip",
9952
- "type": "ReactNode",
9953
- "required": false,
9954
- "description": "Optional tooltip content displayed when a name contains forbidden characters."
9955
- },
9956
- {
9957
- "name": "newFolderDefaultName",
9958
- "type": "string",
9959
- "required": false,
9960
- "description": "Optional new folder default name."
9961
- }
9962
- ],
9963
- "examples": [
9964
- "// Basic usage with folders and files\nconst items: DialFile[] = [\n {\n path: '/documents',\n name: 'Documents',\n nodeType: DialFileNodeType.FOLDER,\n items: [\n {\n path: '/documents/file.txt',\n name: 'file.txt',\n nodeType: DialFileNodeType.FILE,\n },\n ],\n },\n];\n\n<DialFoldersTree items={items} showFiles />\n\n// With expanded and selected items\nconst expandedPaths = new Set(['/documents']);\n\n<DialFoldersTree\n items={items}\n expandedPaths={expandedPaths}\n selectedPath=\"/documents/file.txt\"\n onItemClick={(item) => console.log('Clicked:', item.path)}\n/>\n\n// With inline renaming and validation\n<DialFoldersTree\n items={items}\n renamedPath=\"/documents\"\n onRenameValidate={(value) => (value.trim() ? null : 'Name cannot be empty')}\n onRenameSave={(newValue) => console.log('Saved new name:', newValue)}\n onRenameCancel={() => console.log('Edit cancelled')}\n/>\n\n// With custom empty state and context menu\nconst getContextMenuItems = (item: DialFile): DropdownItem[] => [\n { key: 'rename', label: 'Rename' },\n { key: 'delete', label: 'Delete', danger: true },\n];\n\n<DialFoldersTree\n items={[]}\n emptyStateTitle=\"No Content\"\n emptyStateDescription=\"Upload files or create a new folder to get started.\"\n emptyStateIcon={<IconFolderPlus />}\n getContextMenuItems={getContextMenuItems}\n/>"
9965
- ],
9966
- "sourceFile": "components/FileManager/components/FoldersTree/FoldersTree.tsx"
9967
- },
9968
- {
9969
- "name": "DialSchemaRenderer",
9970
- "category": "Name",
9971
- "generation": "1.0",
9972
- "description": "Renders a JSON Schema as a form UI with collapsible sections, validation, and default values.\naliases: SchemaRenderer|JsonSchemaForm\nDesign system 1.0",
9973
- "props": [],
9974
- "examples": [
9975
- "<DialSchemaRenderer\n schema={mySchema}\n onChange={(v) => console.log(v)}\n onDefaultValues={(defaults) => console.log(defaults)}\n/>"
9976
- ],
9977
- "sourceFile": "components/SchemaRenderer/SchemaRenderer.tsx",
9978
- "supersededBy": "SchemaRenderer"
9979
- },
9980
- {
9981
- "name": "DialJsonEditor",
9982
- "category": "Data Display",
9983
- "generation": "1.0",
9984
- "description": "A JSON editor component built on top of Monaco Editor.\nDesign system 1.0\nProvides syntax highlighting, validation, and theme support for JSON editing.\n\nLazy-loaded component. This component is not exported directly from the UI kit to avoid errors when using with SSR. Use `LazyDialJsonEditor` and the manifest `lazy` field for dynamic import guidance.",
9985
- "props": [
9986
- {
9987
- "name": "value",
9988
- "type": "string | undefined",
9989
- "required": false,
9990
- "description": "The JSON string value to edit"
9991
- },
9992
- {
9993
- "name": "currentTheme",
9994
- "type": "string",
9995
- "required": true,
9996
- "description": "The theme to apply to the editor"
9997
- },
9998
- {
9999
- "name": "themesConfig",
10000
- "type": "Record<EditorThemes, editor.IStandaloneThemeData>",
10001
- "required": false,
10002
- "defaultValue": "EDITOR_THEMES_CONFIG",
10003
- "description": "Custom theme configurations"
10004
- },
10005
- {
10006
- "name": "onChange",
10007
- "type": "(value: string | undefined) => void",
10008
- "required": true,
10009
- "description": "Callback fired when the editor content changes"
10010
- },
10011
- {
10012
- "name": "onValidateJSON",
10013
- "type": "OnValidate",
10014
- "required": false,
10015
- "description": "Callback fired when JSON validation occurs"
10016
- },
10017
- {
10018
- "name": "options",
10019
- "type": "editor.IStandaloneEditorConstructionOptions",
10020
- "required": false,
10021
- "description": "Additional Monaco editor options"
10022
- }
10023
- ],
10024
- "examples": [],
10025
- "sourceFile": "components/JsonEditor/JsonEditor.tsx",
10026
- "lazy": {
10027
- "loaderExportName": "LazyDialJsonEditor",
10028
- "packageImport": "@epam/ai-dial-ui-kit",
10029
- "ssr": false,
10030
- "nextDynamicExample": "import dynamic from 'next/dynamic';\nimport { LazyDialJsonEditor } from '@epam/ai-dial-ui-kit';\n\nconst DialJsonEditor = dynamic(\n async () => (await LazyDialJsonEditor()).DialJsonEditor,\n { ssr: false },\n);"
10031
- }
10032
- },
10033
- {
10034
- "name": "DialMarkdownEditor",
10035
- "category": "Data Display",
10036
- "generation": "1.0",
10037
- "description": "A Markdown editor component built on top of\n\nLazy-loaded component. This component is not exported directly from the UI kit to avoid errors when using with SSR. Use `LazyDialMarkdownEditor` and the manifest `lazy` field for dynamic import guidance.",
10038
- "props": [
10039
- {
10040
- "name": "value",
10041
- "type": "string",
10042
- "required": false,
10043
- "description": "The current markdown content"
10044
- },
10045
- {
10046
- "name": "onChange",
10047
- "type": "(value: string) => void",
10048
- "required": false,
10049
- "description": "Callback fired when the editor content changes"
10050
- },
10051
- {
10052
- "name": "height",
10053
- "type": "number",
10054
- "required": false,
10055
- "defaultValue": "300",
10056
- "description": "Height of the editor in pixels"
10057
- },
10058
- {
10059
- "name": "preview",
10060
- "type": "PreviewType",
10061
- "required": false,
10062
- "defaultValue": "'edit'",
10063
- "description": "Preview mode ('edit', 'live', 'preview')"
10064
- },
10065
- {
10066
- "name": "theme",
10067
- "type": "EditorThemes",
10068
- "required": false,
10069
- "defaultValue": "EditorThemes.dark",
10070
- "description": "Theme for the editor ('light' or 'dark')"
10071
- },
10072
- {
10073
- "name": "className",
10074
- "type": "string",
10075
- "required": false,
10076
- "description": "Additional CSS classes for the container"
10077
- },
10078
- {
10079
- "name": "placeholder",
10080
- "type": "ReactNode",
10081
- "required": false,
10082
- "description": "Content to display when the editor is empty"
10083
- },
10084
- {
10085
- "name": "showDragbar",
10086
- "type": "boolean",
10087
- "required": false,
10088
- "defaultValue": "true",
10089
- "description": "Whether to show the bottom drag bar that resizes the editor height"
10090
- }
10091
- ],
10092
- "examples": [
10093
- "<DialMarkdownEditor\nvalue=\"# Hello World\"\nonChange={(value) => console.log(value)}\nheight={400}\ntheme=\"dark\"\n/>"
10094
- ],
10095
- "sourceFile": "components/MarkdownEditor/MarkdownEditor.tsx",
10096
- "lazy": {
10097
- "loaderExportName": "LazyDialMarkdownEditor",
10098
- "packageImport": "@epam/ai-dial-ui-kit",
10099
- "ssr": false,
10100
- "nextDynamicExample": "import dynamic from 'next/dynamic';\nimport { LazyDialMarkdownEditor } from '@epam/ai-dial-ui-kit';\n\nconst DialMarkdownEditor = dynamic(\n async () => (await LazyDialMarkdownEditor()).DialMarkdownEditor,\n { ssr: false },\n);"
10101
- },
10102
- "supersededBy": "MarkdownEditor"
10103
- }
10104
- ],
10105
- "types": [
10106
- {
10107
- "name": "AnalyticsCardVariant",
10108
- "kind": "enum",
10109
- "members": [
10110
- {
10111
- "name": "Default",
10112
- "value": "'default'"
10113
- },
10114
- {
10115
- "name": "Compact",
10116
- "value": "'compact'"
10117
- }
10118
- ],
10119
- "sourceFile": "types/analytics.ts"
10120
- },
10121
- {
10122
- "name": "AnalyticsBarColorStop",
10123
- "kind": "interface",
10124
- "members": [
10125
- {
10126
- "name": "from",
10127
- "value": "number"
10128
- },
10129
- {
10130
- "name": "to",
10131
- "value": "number"
10132
- },
10133
- {
10134
- "name": "color",
10135
- "value": "string"
10136
- }
10137
- ],
10138
- "sourceFile": "models/analytics.ts"
10139
- },
10140
- {
10141
- "name": "AnalyticsCardCompareItem",
10142
- "kind": "interface",
10143
- "members": [
10144
- {
10145
- "name": "title",
10146
- "value": "ReactNode"
10147
- },
10148
- {
10149
- "name": "value",
10150
- "value": "ReactNode"
10151
- }
10152
- ],
10153
- "sourceFile": "models/analytics.ts"
10154
- },
10155
- {
10156
- "name": "DialTooltipContainerOptions",
10157
- "kind": "interface",
10158
- "members": [
10159
- {
10160
- "name": "initialOpen?",
10161
- "value": "boolean"
10162
- },
10163
- {
10164
- "name": "placement?",
10165
- "value": "Placement"
10166
- },
10167
- {
10168
- "name": "isTriggerClickable?",
10169
- "value": "boolean"
10170
- },
10171
- {
10172
- "name": "open?",
10173
- "value": "boolean"
10174
- },
10175
- {
10176
- "name": "onOpenChange?",
10177
- "value": "(open: boolean) => void"
10178
- }
10179
- ],
10180
- "sourceFile": "components/Tooltip/TooltipContext.tsx"
10181
- },
10182
- {
10183
- "name": "FileManagerGridRow",
10184
- "kind": "interface",
10185
- "members": [
10186
- {
10187
- "name": "id",
10188
- "value": "string"
10189
- },
10190
- {
10191
- "name": "name",
10192
- "value": "string"
10193
- },
10194
- {
10195
- "name": "updatedAt?",
10196
- "value": "string"
10197
- },
10198
- {
10199
- "name": "size?",
10200
- "value": "number"
10201
- },
10202
- {
10203
- "name": "author?",
10204
- "value": "string"
10205
- },
10206
- {
10207
- "name": "path",
10208
- "value": "string"
10209
- },
10210
- {
10211
- "name": "parentPath?",
10212
- "value": "string | null"
10213
- },
10214
- {
10215
- "name": "nodeType",
10216
- "value": "DialFileNodeType"
10217
- },
10218
- {
10219
- "name": "extension?",
10220
- "value": "string"
10221
- },
10222
- {
10223
- "name": "isTemporary?",
10224
- "value": "boolean"
10225
- },
10226
- {
10227
- "name": "owner?",
10228
- "value": "string"
10229
- },
10230
- {
10231
- "name": "contentType?",
10232
- "value": "string"
10233
- },
10234
- {
10235
- "name": "contentLength?",
10236
- "value": "number"
10237
- },
10238
- {
10239
- "name": "folderId?",
10240
- "value": "string"
10241
- }
10242
- ],
10243
- "sourceFile": "components/FileManager/FileManagerContext.tsx"
10244
- },
10245
- {
10246
- "name": "GridOptions",
10247
- "kind": "interface",
10248
- "members": [
10249
- {
10250
- "name": "columnDefs?",
10251
- "value": "(\n | ColDef<GridRow>\n | ((\n dateLocale: Intl.LocalesArgument,\n dateOptions: Intl.DateTimeFormatOptions | undefined,\n isCompactView: boolean,\n ) => ColDef<GridRow, unknown>)\n )[]"
10252
- },
10253
- {
10254
- "name": "filterable?",
10255
- "value": "boolean"
10256
- },
10257
- {
10258
- "name": "dateLocale?",
10259
- "value": "Intl.LocalesArgument"
10260
- },
10261
- {
10262
- "name": "dateOptions?",
10263
- "value": "Intl.DateTimeFormatOptions"
10264
- },
10265
- {
10266
- "name": "showFiles?",
10267
- "value": "boolean"
10268
- },
10269
- {
10270
- "name": "showFolders?",
10271
- "value": "boolean"
10272
- },
10273
- {
10274
- "name": "visibleColumns?",
10275
- "value": "FileManagerColumnKey[]"
10276
- },
10277
- {
10278
- "name": "selectionMode?",
10279
- "value": "GridSelectionMode"
10280
- },
10281
- {
10282
- "name": "wrapCustomCellRenderers?",
10283
- "value": "boolean"
10284
- },
10285
- {
10286
- "name": "allowDisabledContextMenu?",
10287
- "value": "boolean"
10288
- },
10289
- {
10290
- "name": "actionLabels?",
10291
- "value": "{\n [DialFileManagerActions.AddSibling]?: string;\n [DialFileManagerActions.AddChild]?: string;\n [DialFileManagerActions.Duplicate]?: string;\n [DialFileManagerActions.Copy]?: string;\n [DialFileManagerActions.Rename]?: string;\n [DialFileManagerActions.Download]?: string;\n [DialFileManagerActions.Delete]?: string;\n [DialFileManagerActions.Move]?: string;\n [DialFileManagerActions.Info]?: string;\n [DialFileManagerActions.Unshare]?: string;\n [DialFileManagerActions.ManagePermissions]?: string;\n [DialFileManagerActions.Preview]?: string;\n [DialFileManagerActions.RemoveAccess]?: string;\n }"
10292
- }
10293
- ],
10294
- "sourceFile": "components/FileManager/FileManager.tsx"
10295
- },
10296
- {
10297
- "name": "ToolbarOptions",
10298
- "kind": "type",
10299
- "sourceFile": "components/FileManager/FileManager.tsx",
10300
- "typeBody": "Omit<\n DialFileManagerToolbarProps,\n 'areHiddenFilesVisible' | 'onToggleHiddenFiles'\n> & {\n newActions?: {\n uploadFiles?: NewAction;\n newFolder?: NewAction;\n uploadArchive?: NewAction;\n newItem?: NewAction;\n };\n showHiddenFilesToggle?: boolean;\n}"
10301
- },
10302
- {
10303
- "name": "BulkActionsToolbarOptions",
10304
- "kind": "type",
10305
- "sourceFile": "components/FileManager/FileManager.tsx",
10306
- "typeBody": "Omit<\n DialFileManagerBulkActionsToolbarProps,\n 'onClearSelection' | 'actions' | 'selectedCount'\n> & {\n actionLabels?: {\n [DialFileManagerActions.Duplicate]?: string;\n [DialFileManagerActions.Copy]?: string;\n [DialFileManagerActions.Download]?: string;\n [DialFileManagerActions.Delete]?: string;\n [DialFileManagerActions.Move]?: string;\n [DialFileManagerActions.Unshare]?: string;\n [DialFileManagerActions.RemoveAccess]?: string;\n };\n}"
10307
- },
10308
- {
10309
- "name": "EditorThemes",
10310
- "kind": "enum",
10311
- "members": [
10312
- {
10313
- "name": "dark",
10314
- "value": "'dark'"
10315
- },
10316
- {
10317
- "name": "light",
10318
- "value": "'light'"
10319
- }
10320
- ],
10321
- "sourceFile": "types/editor.ts"
10322
- },
10323
- {
10324
- "name": "ButtonVariant",
10325
- "kind": "enum",
10326
- "members": [
10327
- {
10328
- "name": "Primary",
10329
- "value": "'primary'"
9594
+ "name": "Primary",
9595
+ "value": "'primary'"
10330
9596
  },
10331
9597
  {
10332
9598
  "name": "Neutral",
@@ -10658,131 +9924,6 @@
10658
9924
  ],
10659
9925
  "sourceFile": "types/select.ts"
10660
9926
  },
10661
- {
10662
- "name": "DialFileManagerTabs",
10663
- "kind": "enum",
10664
- "members": [
10665
- {
10666
- "name": "MyFiles",
10667
- "value": "'my_files'"
10668
- },
10669
- {
10670
- "name": "Shared",
10671
- "value": "'shared'"
10672
- },
10673
- {
10674
- "name": "Organization",
10675
- "value": "'organization'"
10676
- },
10677
- {
10678
- "name": "Review",
10679
- "value": "'review'"
10680
- }
10681
- ],
10682
- "sourceFile": "types/file-manager.ts"
10683
- },
10684
- {
10685
- "name": "DialFileManagerActions",
10686
- "kind": "enum",
10687
- "members": [
10688
- {
10689
- "name": "AddSibling",
10690
- "value": "'addSibling'"
10691
- },
10692
- {
10693
- "name": "AddChild",
10694
- "value": "'addChild'"
10695
- },
10696
- {
10697
- "name": "Duplicate",
10698
- "value": "'duplicate'"
10699
- },
10700
- {
10701
- "name": "Copy",
10702
- "value": "'copy'"
10703
- },
10704
- {
10705
- "name": "Move",
10706
- "value": "'move'"
10707
- },
10708
- {
10709
- "name": "Download",
10710
- "value": "'download'"
10711
- },
10712
- {
10713
- "name": "Delete",
10714
- "value": "'delete'"
10715
- },
10716
- {
10717
- "name": "Rename",
10718
- "value": "'rename'"
10719
- },
10720
- {
10721
- "name": "Info",
10722
- "value": "'info'"
10723
- },
10724
- {
10725
- "name": "Unshare",
10726
- "value": "'unshare'"
10727
- },
10728
- {
10729
- "name": "RemoveAccess",
10730
- "value": "'removeAccess'"
10731
- },
10732
- {
10733
- "name": "ManagePermissions",
10734
- "value": "'managePermissions'"
10735
- },
10736
- {
10737
- "name": "Preview",
10738
- "value": "'preview'"
10739
- },
10740
- {
10741
- "name": "OpenInNewTab",
10742
- "value": "'openInNewTab'"
10743
- }
10744
- ],
10745
- "sourceFile": "types/file-manager.ts"
10746
- },
10747
- {
10748
- "name": "FileManagerColumnKey",
10749
- "kind": "enum",
10750
- "members": [
10751
- {
10752
- "name": "Name",
10753
- "value": "'name'"
10754
- },
10755
- {
10756
- "name": "UpdatedAt",
10757
- "value": "'updatedAt'"
10758
- },
10759
- {
10760
- "name": "Size",
10761
- "value": "'size'"
10762
- },
10763
- {
10764
- "name": "Author",
10765
- "value": "'author'"
10766
- },
10767
- {
10768
- "name": "Owner",
10769
- "value": "'owner'"
10770
- },
10771
- {
10772
- "name": "Path",
10773
- "value": "'path'"
10774
- },
10775
- {
10776
- "name": "Actions",
10777
- "value": "'__actions'"
10778
- },
10779
- {
10780
- "name": "Version",
10781
- "value": "'version'"
10782
- }
10783
- ],
10784
- "sourceFile": "types/file-manager.ts"
10785
- },
10786
9927
  {
10787
9928
  "name": "FlexibleActionsDirection",
10788
9929
  "kind": "enum",
@@ -11280,76 +10421,6 @@
11280
10421
  ],
11281
10422
  "sourceFile": "models/file.ts"
11282
10423
  },
11283
- {
11284
- "name": "DialCopiedItem",
11285
- "kind": "interface",
11286
- "members": [
11287
- {
11288
- "name": "sourceUrl",
11289
- "value": "string"
11290
- },
11291
- {
11292
- "name": "destinationUrl",
11293
- "value": "string"
11294
- },
11295
- {
11296
- "name": "overwrite?",
11297
- "value": "boolean"
11298
- },
11299
- {
11300
- "name": "nodeType",
11301
- "value": "DialFileNodeType"
11302
- }
11303
- ],
11304
- "sourceFile": "models/file-manager.ts"
11305
- },
11306
- {
11307
- "name": "DialDeletedItem",
11308
- "kind": "interface",
11309
- "members": [
11310
- {
11311
- "name": "sourceUrl",
11312
- "value": "string"
11313
- },
11314
- {
11315
- "name": "nodeType",
11316
- "value": "DialFileNodeType"
11317
- }
11318
- ],
11319
- "sourceFile": "models/file-manager.ts"
11320
- },
11321
- {
11322
- "name": "DialUploadFileItem",
11323
- "kind": "interface",
11324
- "members": [
11325
- {
11326
- "name": "fileContent",
11327
- "value": "File"
11328
- },
11329
- {
11330
- "name": "name",
11331
- "value": "string"
11332
- }
11333
- ],
11334
- "sourceFile": "models/file-manager.ts"
11335
- },
11336
- {
11337
- "name": "DialFileManagerActionsRef",
11338
- "kind": "interface",
11339
- "members": [
11340
- {
11341
- "name": "createFolder",
11342
- "value": "() => void"
11343
- }
11344
- ],
11345
- "sourceFile": "models/file-manager.ts"
11346
- },
11347
- {
11348
- "name": "DialFileAcceptType",
11349
- "kind": "type",
11350
- "sourceFile": "models/file-manager.ts",
11351
- "typeBody": "| `${string}/${string}` // MIME (wildcard)\n | `.${string}`"
11352
- },
11353
10424
  {
11354
10425
  "name": "GridSelectionMode",
11355
10426
  "kind": "enum",
@@ -12011,6 +11082,41 @@
12011
11082
  "sourceFile": "types/badge.ts",
12012
11083
  "description": "How a `Badge` is drawn."
12013
11084
  },
11085
+ {
11086
+ "name": "AvatarColor",
11087
+ "kind": "enum",
11088
+ "members": [
11089
+ {
11090
+ "name": "Green1",
11091
+ "value": "'green-1'"
11092
+ },
11093
+ {
11094
+ "name": "Violet2",
11095
+ "value": "'violet-2'"
11096
+ },
11097
+ {
11098
+ "name": "Brown",
11099
+ "value": "'brown'"
11100
+ },
11101
+ {
11102
+ "name": "Red",
11103
+ "value": "'red'"
11104
+ },
11105
+ {
11106
+ "name": "Green2",
11107
+ "value": "'green-2'"
11108
+ },
11109
+ {
11110
+ "name": "Blue",
11111
+ "value": "'blue'"
11112
+ },
11113
+ {
11114
+ "name": "Violet1",
11115
+ "value": "'violet-1'"
11116
+ }
11117
+ ],
11118
+ "sourceFile": "types/avatar.ts"
11119
+ },
12014
11120
  {
12015
11121
  "name": "AvatarShape",
12016
11122
  "kind": "enum",
@@ -12029,6 +11135,22 @@
12029
11135
  "sourceFile": "types/avatar.ts",
12030
11136
  "description": "The outline an `Avatar` is clipped to."
12031
11137
  },
11138
+ {
11139
+ "name": "AvatarColorClasses",
11140
+ "kind": "interface",
11141
+ "members": [
11142
+ {
11143
+ "name": "background",
11144
+ "value": "string"
11145
+ },
11146
+ {
11147
+ "name": "foreground",
11148
+ "value": "string"
11149
+ }
11150
+ ],
11151
+ "sourceFile": "utils/avatar.ts",
11152
+ "description": "A background and text colour pair for an initials avatar, as Tailwind classes."
11153
+ },
12032
11154
  {
12033
11155
  "name": "EntityIdentityItem",
12034
11156
  "kind": "interface",
@@ -12334,6 +11456,22 @@
12334
11456
  ],
12335
11457
  "sourceFile": "types/transfer-queue.ts",
12336
11458
  "description": "Lifecycle status of one item in a `TransferQueue`."
11459
+ },
11460
+ {
11461
+ "name": "GridColorScheme",
11462
+ "kind": "enum",
11463
+ "members": [
11464
+ {
11465
+ "name": "Light",
11466
+ "value": "'light'"
11467
+ },
11468
+ {
11469
+ "name": "Dark",
11470
+ "value": "'dark'"
11471
+ }
11472
+ ],
11473
+ "sourceFile": "types/grid.ts",
11474
+ "description": "Color scheme `Grid` passes to AG Grid. It selects the light or dark theme\npart and the browser `color-scheme` native controls inside the grid follow."
12337
11475
  }
12338
11476
  ],
12339
11477
  "hooks": [
@@ -12355,11 +11493,6 @@
12355
11493
  "name": "convertGridDateToDate",
12356
11494
  "sourceFile": "utils/grid-date.ts"
12357
11495
  },
12358
- {
12359
- "name": "useDialFileManagerTabs",
12360
- "sourceFile": "components/FileManager/hooks/use-file-manager-tabs.tsx",
12361
- "signature": "(tabLabels?: Record<DialFileManagerTabs, string>, initialTab: DialFileManagerTabs = DialFileManagerTabs.MyFiles) => unknown"
12362
- },
12363
11496
  {
12364
11497
  "name": "EDITABLE_CONTAINER_ATTRIBUTE",
12365
11498
  "sourceFile": "hooks/use-editable-item.tsx",
@@ -12380,24 +11513,17 @@
12380
11513
  "name": "UseEditableItemOptions",
12381
11514
  "sourceFile": "hooks/use-editable-item.tsx"
12382
11515
  },
12383
- {
12384
- "name": "FileManagerProvider",
12385
- "sourceFile": "components/FileManager/FileManagerProvider.tsx",
12386
- "description": "Provider that encapsulates all File Manager business logic:\n- path & navigation\n- search (controlled + uncontrolled)\n- hidden files toggle\n- tree collapsed state\n- selection\n- clipboard (copy / cut / paste)\n- delete confirmation state\n- computed grid rows\n- new actions",
12387
- "signature": "FileManagerProvider: FC<FileManagerProviderProps>"
12388
- },
12389
- {
12390
- "name": "useFileManagerContext",
12391
- "sourceFile": "components/FileManager/hooks/use-file-manager-context.ts",
12392
- "description": "Hook to read the File Manager context.\nThrows if used outside of the provider.",
12393
- "signature": "() => unknown"
12394
- },
12395
11516
  {
12396
11517
  "name": "useThemeScope",
12397
11518
  "sourceFile": "components/New/ThemeScope/ThemeScope.tsx",
12398
11519
  "description": "Class names of the enclosing `ThemeScope`s, outermost first, or `''` when the\ncaller sits outside any scope. Components rendering into a `FloatingPortal`\nmerge this onto their floating root so the tokens follow them out of the\nsubtree.",
12399
11520
  "signature": "() => string"
12400
11521
  },
11522
+ {
11523
+ "name": "AVATAR_PALETTE",
11524
+ "sourceFile": "utils/avatar.ts",
11525
+ "signature": "AVATAR_PALETTE: Record<AvatarColor, AvatarColorClasses>"
11526
+ },
12401
11527
  {
12402
11528
  "name": "extractInitials",
12403
11529
  "sourceFile": "utils/avatar.ts",
@@ -12453,7 +11579,7 @@
12453
11579
  "name": "GRID_THEME_PARAMS",
12454
11580
  "sourceFile": "components/New/Grid/constants.ts",
12455
11581
  "description": "ag-Grid theme parameters, resolved from the 2.0 colour tokens with the same\nliteral fallbacks the Tailwind config carries, so a consumer that defines no\nCSS variables still gets the intended palette.\n\nHover uses the subtle accent tint and selection the slightly stronger\nselected tint, as in the grid cell design.",
12456
- "signature": "GRID_THEME_PARAMS = {\n accentColor: 'var(--bg-control-accent, #1D4ED8)',\n backgroundColor: 'var(--bg-layer-raised, #FCFCFC)',\n oddRowBackgroundColor: 'var(--bg-layer-sunken, #EEF1F7)',\n selectedRowBackgroundColor:\n 'var(--bg-control-accent-alpha-active-subtle, #2764D914)',\n rowHoverColor: 'var(--bg-control-accent-alpha-hover-subtle, #2764D90A)',\n borderColor: 'var(--stroke-tertiary, #E0E6F0)',\n // Dividers inside the table sit on the thin stroke (0.5px) rather than the\n // 1px main stroke that controls and standalone dividers use, so a dense grid\n // reads as rows of data instead of a set of boxes. Sub-pixel widths are\n // antialiased rather than snapped, which is what makes the line look lighter.\n // `wrapperBorder` and the pinned-column boundary are left on the main stroke\n // by the theme: those frame the table and separate its regions rather than\n // dividing rows and columns.\n rowBorder: THIN_TABLE_DIVIDER,\n // Off: ag-Grid draws this one both under the header and between the title\n // row and the filter row, and the design has no line between those two. The\n // line under the header is drawn at 1px in `styles/grid.scss`.\n headerRowBorder: false,\n headerColumnBorder: THIN_TABLE_DIVIDER,\n // The design's header divider is a short 12px mark centred in the cell, not\n // the 20px (half the row) ag-Grid draws by default.\n headerColumnBorderHeight: 12,\n chromeBackgroundColor: 'var(--bg-layer-base, #F5F7FA)',\n headerBackgroundColor: 'var(--bg-layer-raised, #FCFCFC)',\n foregroundColor: 'var(--text-primary, #161B2D)',\n headerTextColor: 'var(--text-secondary, #57647A)',\n // 1.0 asked the browser for dark native widgets while painting a light\n // theme; the scheme now matches the palette it is used with.\n browserColorScheme: 'light',\n headerFontSize: 14,\n headerFontWeight: 600,\n fontSize: 14,\n fontFamily: 'var(--theme-font, var(--font-inter))',\n spacing: 4,\n borderRadius: 4,\n // Search fields in the header and filter popups: `rounded-lg`.\n inputBorderRadius: 8,\n wrapperBorderRadius: 8,\n}"
11582
+ "signature": "GRID_THEME_PARAMS = {\n accentColor: 'var(--bg-control-accent, #1D4ED8)',\n backgroundColor: 'var(--bg-layer-raised, #FCFCFC)',\n oddRowBackgroundColor: 'var(--bg-layer-sunken, #EEF1F7)',\n selectedRowBackgroundColor:\n 'var(--bg-control-accent-alpha-active-subtle, #2764D914)',\n rowHoverColor: 'var(--bg-control-accent-alpha-hover-subtle, #2764D90A)',\n borderColor: 'var(--stroke-tertiary, #E0E6F0)',\n // Dividers inside the table sit on the thin stroke (0.5px) rather than the\n // 1px main stroke that controls and standalone dividers use, so a dense grid\n // reads as rows of data instead of a set of boxes. Sub-pixel widths are\n // antialiased rather than snapped, which is what makes the line look lighter.\n // `wrapperBorder` and the pinned-column boundary are left on the main stroke\n // by the theme: those frame the table and separate its regions rather than\n // dividing rows and columns.\n rowBorder: THIN_TABLE_DIVIDER,\n // Off: ag-Grid draws this one both under the header and between the title\n // row and the filter row, and the design has no line between those two. The\n // line under the header is drawn at 1px in `styles/grid.scss`.\n headerRowBorder: false,\n headerColumnBorder: THIN_TABLE_DIVIDER,\n // The design's header divider is a short 12px mark centred in the cell, not\n // the 20px (half the row) ag-Grid draws by default.\n headerColumnBorderHeight: 12,\n chromeBackgroundColor: 'var(--bg-layer-base, #F5F7FA)',\n headerBackgroundColor: 'var(--bg-layer-raised, #FCFCFC)',\n foregroundColor: 'var(--text-primary, #161B2D)',\n headerTextColor: 'var(--text-secondary, #57647A)',\n // Native form controls inside the grid, including the date filter's\n // calendar, follow this value. The light default matches the token\n // fallbacks. `Grid` sets it again after this object is spread, because a\n // dark `colorScheme` has to replace this light value or the browser keeps\n // painting those controls light.\n browserColorScheme: 'light',\n headerFontSize: 14,\n headerFontWeight: 600,\n fontSize: 14,\n fontFamily: 'var(--theme-font, var(--font-inter))',\n spacing: 4,\n borderRadius: 4,\n // Search fields in the header and filter popups: `rounded-lg`.\n inputBorderRadius: 8,\n wrapperBorderRadius: 8,\n}"
12457
11583
  },
12458
11584
  {
12459
11585
  "name": "GRID_ROW_HEIGHT",
@@ -12507,21 +11633,6 @@
12507
11633
  }
12508
11634
  ],
12509
11635
  "constants": [
12510
- {
12511
- "name": "NAME_COLUMN",
12512
- "sourceFile": "constants/file-grid-columns.tsx",
12513
- "signature": "(headerName: string) => unknown"
12514
- },
12515
- {
12516
- "name": "SIZE_COLUMN",
12517
- "sourceFile": "constants/file-grid-columns.tsx",
12518
- "signature": "(headerName: string) => ColDef"
12519
- },
12520
- {
12521
- "name": "UPDATED_AT_COLUMN",
12522
- "sourceFile": "constants/file-grid-columns.tsx",
12523
- "signature": "(headerName: string) => unknown"
12524
- },
12525
11636
  {
12526
11637
  "name": "DIAL_ICON_SIZE",
12527
11638
  "sourceFile": "constants/icon.ts",
@@ -12560,7 +11671,7 @@
12560
11671
  {
12561
11672
  "name": "DIAL_KIT_CLASS",
12562
11673
  "sourceFile": "constants/public-class-names.ts",
12563
- "signature": "DIAL_KIT_CLASS = {\n /* ── Feedback and status ───────────────────────────────────────────────── */\n /** The `role=\"status\"` root of a `Spinner`. */\n spinner: 'dial-kit-spinner',\n /**\n * The outermost element of a `ProgressBar`: the box wrapping its label,\n * track and readout — or the track itself, which is the root when the bar\n * has neither.\n */\n progressBar: 'dial-kit-progress-bar',\n /** The root of a `Skeleton`, wrapping its avatar and text rows. */\n skeleton: 'dial-kit-skeleton',\n /**\n * The `Notification` surface. Present on every wrapper too — the toast and\n * section-message variants of error, info, success, warning, loading and\n * general all render this component.\n */\n notification: 'dial-kit-notification',\n /** The empty-state root of `NoDataContent`. */\n noDataContent: 'dial-kit-no-data-content',\n /** The `role=\"status\"` panel of a `TransferQueue`: header, rows and aggregate bar. */\n transferQueue: 'dial-kit-transfer-queue',\n\n /* ── Text ──────────────────────────────────────────────────────────────── */\n /** The text element of a `Highlight`, which renders the matched query. */\n highlight: 'dial-kit-highlight',\n /** The caption line under a field, rendered by `CaptionText`. */\n captionText: 'dial-kit-caption-text',\n /**\n * A caption in its error variant — what `ErrorText` renders. Additive to\n * `captionText`, since one component draws both.\n */\n errorText: 'dial-kit-error-text',\n /** The `Label` root, which wraps the `label` element and its info button. */\n label: 'dial-kit-label',\n\n /* ── Containers ────────────────────────────────────────────────────────── */\n /** The `article` element of a `CardShell`. */\n cardShell: 'dial-kit-card-shell',\n /** The `aside` element of a `CollapsibleSidebar`. */\n collapsibleSidebar: 'dial-kit-collapsible-sidebar',\n /** The content box inside a `ResizableContainer`'s resize frame. */\n resizableContainer: 'dial-kit-resizable-container',\n /**\n * The `role=\"dialog\"` panel of a `Popup`. Its backdrop is reached through\n * `overlayClassName`.\n */\n popup: 'dial-kit-popup',\n /** The `role=\"dialog\"` panel of a `BottomSheet`. */\n bottomSheet: 'dial-kit-bottom-sheet',\n /** The `role=\"dialog\"` panel of a `SideDrawer`, open or closed. */\n sideDrawer: 'dial-kit-side-drawer',\n /** The `Popup` panel of a `ConfirmationPopup`, additive to `popup`. */\n confirmationPopup: 'dial-kit-confirmation-popup',\n /** The root of an `Accordion`. */\n accordion: 'dial-kit-accordion',\n /** The breadcrumb root of a `FolderPath`. */\n folderPath: 'dial-kit-folder-path',\n /** The `nav` element of a `Breadcrumbs` trail. */\n breadcrumbs: 'dial-kit-breadcrumbs',\n /**\n * One segment of a `Breadcrumbs` trail: the link, button or plain span that\n * draws the label — not the `li`, which also holds the separator after it.\n */\n breadcrumbsItem: 'dial-kit-breadcrumbs-item',\n\n /* ── Menus and overlays ────────────────────────────────────────────────── */\n /**\n * The trigger wrapper of a `Dropdown`. Its floating panel is reached through\n * `listClassName`.\n */\n dropdown: 'dial-kit-dropdown',\n /**\n * The `role=\"none\"` item list inside a dropdown overlay — the box that holds\n * the rows and owns their vertical padding. Present in both generations, and\n * on a submenu's own list. It is *not* the floating panel.\n */\n dropdownList: 'dial-kit-dropdown-list',\n /**\n * One row of a floating overlay: a dropdown item, a `Select` option, a\n * submenu trigger, or a submenu child. It sits on the element that draws the\n * row box — so on the wrapper, not the inner button, for a row that has a\n * `rightControl` beside it.\n */\n menuItem: 'dial-kit-menuitem',\n /**\n * The trailing check of a chosen `MenuItemMark.Check` row. Decorative, like\n * the glyph itself — the row's `aria-checked` / `aria-selected` carries the\n * state.\n */\n menuItemCheck: 'dial-kit-menuitem-check',\n /** The primary icon of a `DialDropdownIcon` trigger. */\n dropdownIcon: 'dial-kit-dropdown-icon',\n /**\n * The caret badge of a `DialDropdownIcon` trigger — the round plate the\n * chevron sits on. Absent when `showCaret` is `false`.\n */\n dropdownIconCaret: 'dial-kit-dropdown-icon-caret',\n /** The bubble of a `Tooltip`, rendered by `TooltipContent` into a portal. */\n tooltip: 'dial-kit-tooltip',\n /** The panel of an `InteractiveTooltip` — the one whose content takes focus. */\n interactiveTooltip: 'dial-kit-interactive-tooltip',\n /** The text element of an `EllipsisTooltip`, which is also its trigger. */\n ellipsisTooltip: 'dial-kit-ellipsis-tooltip',\n\n /* ── Fields ────────────────────────────────────────────────────────────── */\n /** The `Search` field, additive to the `dial-kit-input` its `Input` carries. */\n search: 'dial-kit-search',\n /** The `PasswordInput` field, additive to `dial-kit-input`. */\n passwordInput: 'dial-kit-password-input',\n /** The `NumberInput` field, additive to `dial-kit-input`. */\n numberInput: 'dial-kit-number-input',\n /** The `TagInput` field, additive to `dial-kit-input`. */\n tagInput: 'dial-kit-tag-input',\n /** The `AutocompleteTagInput` field, additive to `dial-kit-input`. */\n autocompleteTagInput: 'dial-kit-autocomplete-tag-input',\n /** The root of a `Select`, wrapping its label, field and caption. */\n select: 'dial-kit-select',\n /** The trigger button of an `InlineSelect`. */\n inlineSelect: 'dial-kit-inline-select',\n /** The root of a `Calendar`, wrapping its label and date field. */\n calendar: 'dial-kit-calendar',\n /** The root of a `SchemaRenderer`, wrapping its top-level sections or fields. */\n schemaRenderer: 'dial-kit-schema-renderer',\n /**\n * The card of one collapsible `SchemaRenderer` section, at any depth: a\n * top-level property, a nested object or array, an array item, or a\n * key-value entry holding an object.\n */\n schemaRendererSection: 'dial-kit-schema-renderer-section',\n /** The drop area of a `FileDropzone`. */\n fileDropzone: 'dial-kit-file-dropzone',\n /**\n * The root of a `FileIcon`, wrapping the file or folder glyph (or\n * its spinner while loading) and the shared badge.\n */\n fileIcon: 'dial-kit-file-icon',\n /** The row of a `FileName`: its type icon, the name and any details. */\n fileName: 'dial-kit-file-name',\n /** The `FileName` row of a `FolderName`, additive to `fileName`. */\n folderName: 'dial-kit-folder-name',\n /**\n * The `role=\"img\"` badge of a `SharedEntityIndicator` — standalone, or the\n * shared badge a `FileIcon` draws over its glyph.\n */\n sharedEntityIndicator: 'dial-kit-shared-entity-indicator',\n /** The root of a `Badge`: the label box, with its icon when it has one. */\n badge: 'dial-kit-badge',\n /** The root of an `Avatar`: the image, or the initials box that replaces it. */\n avatar: 'dial-kit-avatar',\n /** The root row of an `EntityIdentity`: its icon, type label, name and version. */\n entityIdentity: 'dial-kit-entity-identity',\n\n /* ── Controls ──────────────────────────────────────────────────────────── */\n /** The row of a `Switch`: the control and its label. */\n switch: 'dial-kit-switch',\n /** The row of a `Checkbox`: the box and its label. */\n checkbox: 'dial-kit-checkbox',\n /** The decorative box a `CheckboxBox` draws, in a checkbox or a menu row. */\n checkboxBox: 'dial-kit-checkbox-box',\n /** The row of a `Radio`: the circle and its label. */\n radio: 'dial-kit-radio',\n /** The root of a `RadioGroup`, wrapping its label and its radios. */\n radioGroup: 'dial-kit-radio-group',\n /**\n * The root of a `RadioGroupPopupField`, wrapping its label and the collapsed\n * field that opens the group.\n */\n radioGroupPopupField: 'dial-kit-radio-group-popup-field',\n /** The `role=\"radiogroup\"` track of a `SegmentedControl`. */\n segmentedControl: 'dial-kit-segmented-control',\n /** One segment of a `SegmentedControl`. */\n segmentedControlItem: 'dial-kit-segmented-control-item',\n /**\n * The outermost element of a `Tabs`: the box wrapping its heading and tab\n * list — or the `role=\"tablist\"` itself, which is the root when the tabs\n * carry no `sectionLabel`.\n */\n tabs: 'dial-kit-tabs',\n /**\n * The `role=\"tablist\"` holding the tabs, in either orientation. Additive to\n * `tabs` when there is no heading above it, since one element is then both.\n */\n tabList: 'dial-kit-tab-list',\n /**\n * One tab inside `Tabs`, in either orientation. The selected tab of a\n * horizontal row keeps its own `dial-kit-tab-selected-underline`.\n */\n tab: 'dial-kit-tab',\n /**\n * The selected tab, additive to `tab`. A horizontal row draws its selection\n * with `dial-kit-tab-selected-underline`, which carries the gradient rule;\n * this one carries no declarations and marks the selected tab in either\n * orientation.\n */\n tabSelected: 'dial-kit-tab-selected',\n /** The `sectionLabel` heading above a `Tabs`. Absent when there is none. */\n tabsSectionLabel: 'dial-kit-tabs-section-label',\n /**\n * The `role=\"group\"` row of a `FilterChips`. Its chips are `Tag` pills, so\n * they carry `dial-kit-tag` and have no entry of their own.\n */\n filterChips: 'dial-kit-filter-chips',\n /** A `Tag` pill, wherever it is rendered — including a `TagInput`'s rows. */\n tag: 'dial-kit-tag',\n /**\n * A `ToggleIconButton`, additive to the `dial-kit-base-icon-button` it\n * already carries.\n */\n toggleIconButton: 'dial-kit-toggle-icon-button',\n /** A `CloseButton`, additive to `dial-kit-base-icon-button`. */\n closeButton: 'dial-kit-close-button',\n /** An `InfoButton`, additive to `dial-kit-base-icon-button`. */\n infoButton: 'dial-kit-info-button',\n /**\n * The wrapper of a `ButtonDropdown` — its trigger carries\n * `dial-kit-base-button`.\n */\n buttonDropdown: 'dial-kit-button-dropdown',\n} as const"
11674
+ "signature": "DIAL_KIT_CLASS = {\n /* ── Feedback and status ───────────────────────────────────────────────── */\n /** The `role=\"status\"` root of a `Spinner`. */\n spinner: 'dial-kit-spinner',\n /**\n * The outermost element of a `ProgressBar`: the box wrapping its label,\n * track and readout — or the track itself, which is the root when the bar\n * has neither.\n */\n progressBar: 'dial-kit-progress-bar',\n /** The root of a `Skeleton`, wrapping its avatar and text rows. */\n skeleton: 'dial-kit-skeleton',\n /**\n * The `Notification` surface. Present on every wrapper too — the toast and\n * section-message variants of error, info, success, warning, loading and\n * general all render this component.\n */\n notification: 'dial-kit-notification',\n /** The empty-state root of `NoDataContent`. */\n noDataContent: 'dial-kit-no-data-content',\n /** The `role=\"status\"` panel of a `TransferQueue`: header, rows and aggregate bar. */\n transferQueue: 'dial-kit-transfer-queue',\n\n /* ── Text ──────────────────────────────────────────────────────────────── */\n /** The text element of a `Highlight`, which renders the matched query. */\n highlight: 'dial-kit-highlight',\n /** The caption line under a field, rendered by `CaptionText`. */\n captionText: 'dial-kit-caption-text',\n /**\n * A caption in its error variant — what `ErrorText` renders. Additive to\n * `captionText`, since one component draws both.\n */\n errorText: 'dial-kit-error-text',\n /** The `Label` root, which wraps the `label` element and its info button. */\n label: 'dial-kit-label',\n\n /* ── Containers ────────────────────────────────────────────────────────── */\n /** The `article` element of a `CardShell`. */\n cardShell: 'dial-kit-card-shell',\n /** The `aside` element of a `CollapsibleSidebar`. */\n collapsibleSidebar: 'dial-kit-collapsible-sidebar',\n /** The content box inside a `ResizableContainer`'s resize frame. */\n resizableContainer: 'dial-kit-resizable-container',\n /**\n * The `role=\"dialog\"` panel of a `Popup`. Its backdrop is reached through\n * `overlayClassName`.\n */\n popup: 'dial-kit-popup',\n /** The `role=\"dialog\"` panel of a `BottomSheet`. */\n bottomSheet: 'dial-kit-bottom-sheet',\n /**\n * The backdrop of a `BottomSheet`: the portalled, scroll-locking layer on\n * `z-popup` that holds the panel.\n */\n bottomSheetOverlay: 'dial-kit-bottom-sheet-overlay',\n /** The `role=\"dialog\"` panel of a `SideDrawer`, open or closed. */\n sideDrawer: 'dial-kit-side-drawer',\n /** The `Popup` panel of a `ConfirmationPopup`, additive to `popup`. */\n confirmationPopup: 'dial-kit-confirmation-popup',\n /** The root of an `Accordion`. */\n accordion: 'dial-kit-accordion',\n /** The breadcrumb root of a `FolderPath`. */\n folderPath: 'dial-kit-folder-path',\n /** The `nav` element of a `Breadcrumbs` trail. */\n breadcrumbs: 'dial-kit-breadcrumbs',\n /**\n * One segment of a `Breadcrumbs` trail: the link, button or plain span that\n * draws the label — not the `li`, which also holds the separator after it.\n */\n breadcrumbsItem: 'dial-kit-breadcrumbs-item',\n\n /* ── Menus and overlays ────────────────────────────────────────────────── */\n /**\n * The trigger wrapper of a `Dropdown`. Its floating panel is reached through\n * `listClassName`.\n */\n dropdown: 'dial-kit-dropdown',\n /**\n * The `role=\"none\"` item list inside a dropdown overlay — the box that holds\n * the rows and owns their vertical padding. Present in both generations, and\n * on a submenu's own list. It is *not* the floating panel.\n */\n dropdownList: 'dial-kit-dropdown-list',\n /** The search row above the item list of a `searchable` `Dropdown`. */\n dropdownSearch: 'dial-kit-dropdown-search',\n /**\n * One row of a floating overlay: a dropdown item, a `Select` option, a\n * submenu trigger, or a submenu child. It sits on the element that draws the\n * row box — so on the wrapper, not the inner button, for a row that has a\n * `rightControl` beside it.\n */\n menuItem: 'dial-kit-menuitem',\n /**\n * The trailing check of a chosen `MenuItemMark.Check` row. Decorative, like\n * the glyph itself — the row's `aria-checked` / `aria-selected` carries the\n * state.\n */\n menuItemCheck: 'dial-kit-menuitem-check',\n /** The primary icon of a `DialDropdownIcon` trigger. */\n dropdownIcon: 'dial-kit-dropdown-icon',\n /**\n * The caret badge of a `DialDropdownIcon` trigger — the round plate the\n * chevron sits on. Absent when `showCaret` is `false`.\n */\n dropdownIconCaret: 'dial-kit-dropdown-icon-caret',\n /** The bubble of a `Tooltip`, rendered by `TooltipContent` into a portal. */\n tooltip: 'dial-kit-tooltip',\n /** The panel of an `InteractiveTooltip` — the one whose content takes focus. */\n interactiveTooltip: 'dial-kit-interactive-tooltip',\n /** The text element of an `EllipsisTooltip`, which is also its trigger. */\n ellipsisTooltip: 'dial-kit-ellipsis-tooltip',\n\n /* ── Fields ────────────────────────────────────────────────────────────── */\n /** The `Search` field, additive to the `dial-kit-input` its `Input` carries. */\n search: 'dial-kit-search',\n /** The `PasswordInput` field, additive to `dial-kit-input`. */\n passwordInput: 'dial-kit-password-input',\n /** The `NumberInput` field, additive to `dial-kit-input`. */\n numberInput: 'dial-kit-number-input',\n /** The `TagInput` field, additive to `dial-kit-input`. */\n tagInput: 'dial-kit-tag-input',\n /** The `AutocompleteTagInput` field, additive to `dial-kit-input`. */\n autocompleteTagInput: 'dial-kit-autocomplete-tag-input',\n /** The root of a `Select`, wrapping its label, field and caption. */\n select: 'dial-kit-select',\n /** The trigger button of an `InlineSelect`. */\n inlineSelect: 'dial-kit-inline-select',\n /** The root of a `Calendar`, wrapping its label and date field. */\n calendar: 'dial-kit-calendar',\n /** The root of a `SchemaRenderer`, wrapping its top-level sections or fields. */\n schemaRenderer: 'dial-kit-schema-renderer',\n /**\n * The card of one collapsible `SchemaRenderer` section, at any depth: a\n * top-level property, a nested object or array, an array item, or a\n * key-value entry holding an object.\n */\n schemaRendererSection: 'dial-kit-schema-renderer-section',\n /** The drop area of a `FileDropzone`. */\n fileDropzone: 'dial-kit-file-dropzone',\n /**\n * The root of a `FileIcon`, wrapping the file or folder glyph (or\n * its spinner while loading) and the shared badge.\n */\n fileIcon: 'dial-kit-file-icon',\n /** The row of a `FileName`: its type icon, the name and any details. */\n fileName: 'dial-kit-file-name',\n /** The `FileName` row of a `FolderName`, additive to `fileName`. */\n folderName: 'dial-kit-folder-name',\n /**\n * The `role=\"img\"` badge of a `SharedEntityIndicator` — standalone, or the\n * shared badge a `FileIcon` draws over its glyph.\n */\n sharedEntityIndicator: 'dial-kit-shared-entity-indicator',\n /** The root of a `Badge`: the label box, with its icon when it has one. */\n badge: 'dial-kit-badge',\n /** The root of an `Avatar`: the image, or the initials box that replaces it. */\n avatar: 'dial-kit-avatar',\n /** The root row of an `EntityIdentity`: its icon, type label, name and version. */\n entityIdentity: 'dial-kit-entity-identity',\n\n /* ── Controls ──────────────────────────────────────────────────────────── */\n /** The row of a `Switch`: the control and its label. */\n switch: 'dial-kit-switch',\n /** The row of a `Checkbox`: the box and its label. */\n checkbox: 'dial-kit-checkbox',\n /** The decorative box a `CheckboxBox` draws, in a checkbox or a menu row. */\n checkboxBox: 'dial-kit-checkbox-box',\n /** The row of a `Radio`: the circle and its label. */\n radio: 'dial-kit-radio',\n /** The root of a `RadioGroup`, wrapping its label and its radios. */\n radioGroup: 'dial-kit-radio-group',\n /**\n * The root of a `RadioGroupPopupField`, wrapping its label and the collapsed\n * field that opens the group.\n */\n radioGroupPopupField: 'dial-kit-radio-group-popup-field',\n /** The `role=\"radiogroup\"` track of a `SegmentedControl`. */\n segmentedControl: 'dial-kit-segmented-control',\n /** One segment of a `SegmentedControl`. */\n segmentedControlItem: 'dial-kit-segmented-control-item',\n /**\n * The outermost element of a `Tabs`: the box wrapping its heading and tab\n * list — or the `role=\"tablist\"` itself, which is the root when the tabs\n * carry no `sectionLabel`.\n */\n tabs: 'dial-kit-tabs',\n /**\n * The `role=\"tablist\"` holding the tabs, in either orientation. Additive to\n * `tabs` when there is no heading above it, since one element is then both.\n */\n tabList: 'dial-kit-tab-list',\n /**\n * One tab inside `Tabs`, in either orientation. The selected tab of a\n * horizontal row keeps its own `dial-kit-tab-selected-underline`.\n */\n tab: 'dial-kit-tab',\n /**\n * The selected tab, additive to `tab`. A horizontal row draws its selection\n * with `dial-kit-tab-selected-underline`, which carries the gradient rule;\n * this one carries no declarations and marks the selected tab in either\n * orientation.\n */\n tabSelected: 'dial-kit-tab-selected',\n /** The `sectionLabel` heading above a `Tabs`. Absent when there is none. */\n tabsSectionLabel: 'dial-kit-tabs-section-label',\n /**\n * The `role=\"group\"` row of a `FilterChips`. Its chips are `Tag` pills, so\n * they carry `dial-kit-tag` and have no entry of their own.\n */\n filterChips: 'dial-kit-filter-chips',\n /** A `Tag` pill, wherever it is rendered — including a `TagInput`'s rows. */\n tag: 'dial-kit-tag',\n /**\n * A `ToggleIconButton`, additive to the `dial-kit-base-icon-button` it\n * already carries.\n */\n toggleIconButton: 'dial-kit-toggle-icon-button',\n /** A `CloseButton`, additive to `dial-kit-base-icon-button`. */\n closeButton: 'dial-kit-close-button',\n /** An `InfoButton`, additive to `dial-kit-base-icon-button`. */\n infoButton: 'dial-kit-info-button',\n /**\n * The wrapper of a `ButtonDropdown` — its trigger carries\n * `dial-kit-base-button`.\n */\n buttonDropdown: 'dial-kit-button-dropdown',\n} as const"
12564
11675
  }
12565
11676
  ]
12566
11677
  }