@epam/ai-dial-ui-kit 0.16.0-dev.45 → 0.16.0-dev.47

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 (221) hide show
  1. package/README.md +11 -10
  2. package/dist/CHANGELOG.md +4 -1
  3. package/dist/DateCellRenderer-uqWWm9rI.cjs +63 -0
  4. package/dist/MarkdownEditor-BtLY7OVq.cjs +1 -0
  5. package/dist/components/New/Analytics/Bar/Bar.js +104 -0
  6. package/dist/components/New/Analytics/BarGroup/BarGroup.js +143 -0
  7. package/dist/components/New/Analytics/Card/Card.js +99 -0
  8. package/dist/components/New/Analytics/Histogram/Histogram.js +212 -0
  9. package/dist/components-manifest.json +3153 -5303
  10. package/dist/constants/public-class-names.js +8 -7
  11. package/dist/dial-ui-kit.cjs +3 -3
  12. package/dist/dial-ui-kit.js +381 -456
  13. package/dist/editors.cjs +1 -1
  14. package/dist/editors.js +4 -10
  15. package/dist/grid.cjs +1 -1
  16. package/dist/grid.js +23 -31
  17. package/dist/{merge-classes-B0SnCG4i.cjs → icon-D93YIwGJ.cjs} +1 -1
  18. package/dist/index.css +1 -1
  19. package/dist/migration-guides/0.16.0/legacy-file-manager-removal.md +5 -3
  20. package/dist/migration-guides/0.16.0/unused-legacy-components-removal.md +128 -0
  21. package/dist/migration-guides/README.md +1 -0
  22. package/dist/node_modules/react-dnd/dist/internals/registration.js +5 -13
  23. package/dist/src/components/New/Analytics/Bar/Bar.d.ts +86 -0
  24. package/dist/src/components/New/Analytics/BarGroup/BarGroup.d.ts +103 -0
  25. package/dist/src/components/New/Analytics/Card/Card.d.ts +91 -0
  26. package/dist/src/components/New/Analytics/Histogram/Histogram.d.ts +59 -0
  27. package/dist/src/components/New/MarkdownEditor/lazy.d.ts +8 -2
  28. package/dist/src/components/New/SegmentedControl/SegmentedControl.d.ts +2 -2
  29. package/dist/src/constants/public-class-names.d.ts +8 -7
  30. package/dist/src/index.d.ts +10 -53
  31. package/dist/src/subpaths/editors.d.ts +9 -15
  32. package/dist/src/subpaths/grid.d.ts +2 -8
  33. package/dist/src/types/editor.d.ts +0 -6
  34. package/dist/src/utils/grid-registration.d.ts +6 -8
  35. package/package.json +1 -12
  36. package/dist/DateCellRenderer-DrDOIpWg.cjs +0 -63
  37. package/dist/IconButton-CsePS6PY.cjs +0 -1
  38. package/dist/JsonEditor-DQhHSm93.cjs +0 -1
  39. package/dist/MarkdownEditor-CvIPIbPq.cjs +0 -1
  40. package/dist/MarkdownEditor-TR6X_gdl.cjs +0 -1
  41. package/dist/MarkdownEditorContainer-JIn_VNUX.cjs +0 -1
  42. package/dist/Switch-HEL_aq23.cjs +0 -1
  43. package/dist/assets/icons/file/c.svg.js +0 -5
  44. package/dist/assets/icons/file/cpp.svg.js +0 -5
  45. package/dist/assets/icons/file/cs.svg.js +0 -5
  46. package/dist/assets/icons/file/ini.svg.js +0 -5
  47. package/dist/assets/icons/file/json.svg.js +0 -5
  48. package/dist/assets/icons/file/md.svg.js +0 -5
  49. package/dist/assets/icons/file/py.svg.js +0 -5
  50. package/dist/assets/icons/open-popup.svg.js +0 -5
  51. package/dist/components/AutocompleteInput/AutocompleteInputValue.js +0 -21
  52. package/dist/components/ButtonDropdown/ButtonDropdown.js +0 -33
  53. package/dist/components/ButtonDropdown/constants.js +0 -8
  54. package/dist/components/Checkbox/Checkbox.js +0 -64
  55. package/dist/components/Checkbox/constants.js +0 -4
  56. package/dist/components/CollapsibleSidebar/CollapsibleSidebar.js +0 -84
  57. package/dist/components/ConfirmationPopup/ConfirmationPopup.js +0 -75
  58. package/dist/components/ConfirmationPopup/constants.js +0 -32
  59. package/dist/components/DraggableItem/DraggableItem.js +0 -61
  60. package/dist/components/DraggableItem/constants.js +0 -6
  61. package/dist/components/DropdownIcon/DropdownIcon.js +0 -103
  62. package/dist/components/FileIcon/FileIcon.js +0 -37
  63. package/dist/components/FileIcon/constants.js +0 -60
  64. package/dist/components/FileName/FileName.js +0 -68
  65. package/dist/components/FolderName/FolderName.js +0 -57
  66. package/dist/components/FormItem/FormItem.js +0 -90
  67. package/dist/components/FormItem/constants.js +0 -9
  68. package/dist/components/FormPopup/FormPopup.js +0 -59
  69. package/dist/components/FormPopup/constants.js +0 -6
  70. package/dist/components/Grid/Grid.js +0 -333
  71. package/dist/components/Grid/constants.js +0 -33
  72. package/dist/components/Grid/renderers/DateCellRenderer.js +0 -27
  73. package/dist/components/Grid/renderers/constants.js +0 -25
  74. package/dist/components/InputPopup/InputPopup.js +0 -174
  75. package/dist/components/JsonEditor/JsonEditor.js +0 -65
  76. package/dist/components/JsonEditor/lazy.js +0 -4
  77. package/dist/components/MarkdownEditor/MarkdownEditor.js +0 -39
  78. package/dist/components/MarkdownEditor/MarkdownEditorContainer.js +0 -82
  79. package/dist/components/MarkdownEditor/lazy.js +0 -4
  80. package/dist/components/Notification/Notification.js +0 -67
  81. package/dist/components/Notification/constants.js +0 -24
  82. package/dist/components/NumberInput/NumberInput.js +0 -41
  83. package/dist/components/Pagination/Pagination.js +0 -80
  84. package/dist/components/Pagination/utils.js +0 -10
  85. package/dist/components/PasswordInput/Icons/HideIcon.js +0 -16
  86. package/dist/components/PasswordInput/Icons/ShowIcon.js +0 -16
  87. package/dist/components/PasswordInput/PasswordInput.js +0 -21
  88. package/dist/components/Popup/Popup.js +0 -110
  89. package/dist/components/Popup/constants.js +0 -12
  90. package/dist/components/RadioButton/RadioButton.js +0 -103
  91. package/dist/components/RadioGroup/RadioGroup.js +0 -92
  92. package/dist/components/RadioGroup/constants.js +0 -10
  93. package/dist/components/RadioGroupPopupField/RadioGroupPopupField.js +0 -101
  94. package/dist/components/ResizableContainer/ConditionalResizableContainer.js +0 -6
  95. package/dist/components/ResizableContainer/ResizableContainer.js +0 -79
  96. package/dist/components/ResizableContainer/components/ResizeHandle.js +0 -20
  97. package/dist/components/ResizableContainer/components/ResizeIcon.js +0 -11
  98. package/dist/components/SchemaRenderer/SchemaRenderer.js +0 -151
  99. package/dist/components/SchemaRenderer/components/SchemaAdditionalPropertiesEditor.js +0 -56
  100. package/dist/components/SchemaRenderer/components/SchemaAnyOfEditor.js +0 -74
  101. package/dist/components/SchemaRenderer/components/SchemaArrayEditor.js +0 -118
  102. package/dist/components/SchemaRenderer/components/SchemaField.js +0 -78
  103. package/dist/components/SchemaRenderer/components/SchemaFieldContent.js +0 -114
  104. package/dist/components/SchemaRenderer/components/SchemaKeyValueEditor.js +0 -272
  105. package/dist/components/SchemaRenderer/components/SchemaObjectEditor.js +0 -36
  106. package/dist/components/SchemaRenderer/components/SchemaOneOfEditor.js +0 -192
  107. package/dist/components/SchemaRenderer/components/SchemaPrimitiveField.js +0 -161
  108. package/dist/components/SchemaRenderer/components/SchemaSection.js +0 -81
  109. package/dist/components/SchemaRenderer/context.js +0 -12
  110. package/dist/components/Search/Search.js +0 -63
  111. package/dist/components/Search/constants.js +0 -27
  112. package/dist/components/SegmentedControl/SegmentedControl.js +0 -87
  113. package/dist/components/SegmentedControl/constants.js +0 -8
  114. package/dist/components/Select/MultiSelectTags.js +0 -23
  115. package/dist/components/Select/Select.js +0 -435
  116. package/dist/components/Select/SelectSubMenuItem.js +0 -90
  117. package/dist/components/Select/constants.js +0 -15
  118. package/dist/components/SelectField/SelectField.js +0 -66
  119. package/dist/components/SharedEntityIndicator/SharedEntityIndicator.js +0 -34
  120. package/dist/components/Slider/Slider.js +0 -158
  121. package/dist/components/Switch/Switch.js +0 -70
  122. package/dist/components/TagInput/TagInput.js +0 -179
  123. package/dist/components/Textarea/Textarea.js +0 -43
  124. package/dist/constants/editor.js +0 -52
  125. package/dist/icon-CrGVkVpG.cjs +0 -1
  126. package/dist/icon-DhjrDQ8I.cjs +0 -1
  127. package/dist/lazy-kq-xfXXv.cjs +0 -1
  128. package/dist/node_modules/react-dnd/dist/hooks/useDrag/DragSourceImpl.js +0 -25
  129. package/dist/node_modules/react-dnd/dist/hooks/useDrag/connectors.js +0 -21
  130. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDrag.js +0 -20
  131. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSource.js +0 -19
  132. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSourceConnector.js +0 -22
  133. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSourceMonitor.js +0 -15
  134. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragType.js +0 -13
  135. package/dist/node_modules/react-dnd/dist/hooks/useDrag/useRegisteredDragSource.js +0 -23
  136. package/dist/node_modules/react-dnd/dist/internals/DragSourceMonitorImpl.js +0 -88
  137. package/dist/node_modules/react-dnd/dist/internals/SourceConnector.js +0 -87
  138. package/dist/src/components/AutocompleteInput/AutocompleteInputValue.d.ts +0 -34
  139. package/dist/src/components/ButtonDropdown/ButtonDropdown.d.ts +0 -24
  140. package/dist/src/components/ButtonDropdown/constants.d.ts +0 -2
  141. package/dist/src/components/Checkbox/Checkbox.d.ts +0 -36
  142. package/dist/src/components/Checkbox/constants.d.ts +0 -1
  143. package/dist/src/components/CollapsibleSidebar/CollapsibleSidebar.d.ts +0 -46
  144. package/dist/src/components/ConfirmationPopup/ConfirmationPopup.d.ts +0 -55
  145. package/dist/src/components/ConfirmationPopup/constants.d.ts +0 -18
  146. package/dist/src/components/DraggableItem/DraggableItem.d.ts +0 -33
  147. package/dist/src/components/DraggableItem/constants.d.ts +0 -3
  148. package/dist/src/components/DropdownIcon/DropdownIcon.d.ts +0 -38
  149. package/dist/src/components/FileIcon/FileIcon.d.ts +0 -33
  150. package/dist/src/components/FileIcon/constants.d.ts +0 -9
  151. package/dist/src/components/FileName/FileName.d.ts +0 -49
  152. package/dist/src/components/FolderName/FolderName.d.ts +0 -37
  153. package/dist/src/components/FormItem/FormItem.d.ts +0 -66
  154. package/dist/src/components/FormItem/constants.d.ts +0 -3
  155. package/dist/src/components/FormPopup/FormPopup.d.ts +0 -46
  156. package/dist/src/components/FormPopup/constants.d.ts +0 -3
  157. package/dist/src/components/Grid/Grid.d.ts +0 -120
  158. package/dist/src/components/Grid/comparators/base-column-comparator.d.ts +0 -1
  159. package/dist/src/components/Grid/constants.d.ts +0 -28
  160. package/dist/src/components/Grid/renderers/DateCellRenderer.d.ts +0 -34
  161. package/dist/src/components/Grid/renderers/constants.d.ts +0 -7
  162. package/dist/src/components/Grid/renderers/utils.d.ts +0 -1
  163. package/dist/src/components/InputPopup/InputPopup.d.ts +0 -61
  164. package/dist/src/components/JsonEditor/JsonEditor.d.ts +0 -25
  165. package/dist/src/components/JsonEditor/lazy.d.ts +0 -14
  166. package/dist/src/components/MarkdownEditor/MarkdownEditor.d.ts +0 -38
  167. package/dist/src/components/MarkdownEditor/MarkdownEditorContainer.d.ts +0 -51
  168. package/dist/src/components/MarkdownEditor/lazy.d.ts +0 -7
  169. package/dist/src/components/Notification/Notification.d.ts +0 -58
  170. package/dist/src/components/Notification/constants.d.ts +0 -8
  171. package/dist/src/components/NumberInput/NumberInput.d.ts +0 -34
  172. package/dist/src/components/Pagination/Pagination.d.ts +0 -11
  173. package/dist/src/components/Pagination/utils.d.ts +0 -9
  174. package/dist/src/components/PasswordInput/Icons/HideIcon.d.ts +0 -16
  175. package/dist/src/components/PasswordInput/Icons/ShowIcon.d.ts +0 -16
  176. package/dist/src/components/PasswordInput/PasswordInput.d.ts +0 -26
  177. package/dist/src/components/Popup/Popup.d.ts +0 -64
  178. package/dist/src/components/Popup/constants.d.ts +0 -5
  179. package/dist/src/components/RadioButton/RadioButton.d.ts +0 -54
  180. package/dist/src/components/RadioGroup/RadioGroup.d.ts +0 -66
  181. package/dist/src/components/RadioGroup/constants.d.ts +0 -5
  182. package/dist/src/components/RadioGroupPopupField/RadioGroupPopupField.d.ts +0 -74
  183. package/dist/src/components/ResizableContainer/ConditionalResizableContainer.d.ts +0 -35
  184. package/dist/src/components/ResizableContainer/ResizableContainer.d.ts +0 -72
  185. package/dist/src/components/ResizableContainer/components/ResizeHandle.d.ts +0 -10
  186. package/dist/src/components/ResizableContainer/components/ResizeIcon.d.ts +0 -8
  187. package/dist/src/components/SchemaRenderer/SchemaRenderer.d.ts +0 -30
  188. package/dist/src/components/SchemaRenderer/components/SchemaAdditionalPropertiesEditor.d.ts +0 -20
  189. package/dist/src/components/SchemaRenderer/components/SchemaAnyOfEditor.d.ts +0 -31
  190. package/dist/src/components/SchemaRenderer/components/SchemaArrayEditor.d.ts +0 -31
  191. package/dist/src/components/SchemaRenderer/components/SchemaField.d.ts +0 -29
  192. package/dist/src/components/SchemaRenderer/components/SchemaFieldContent.d.ts +0 -25
  193. package/dist/src/components/SchemaRenderer/components/SchemaKeyValueEditor.d.ts +0 -33
  194. package/dist/src/components/SchemaRenderer/components/SchemaObjectEditor.d.ts +0 -31
  195. package/dist/src/components/SchemaRenderer/components/SchemaOneOfEditor.d.ts +0 -31
  196. package/dist/src/components/SchemaRenderer/components/SchemaPrimitiveField.d.ts +0 -31
  197. package/dist/src/components/SchemaRenderer/components/SchemaSection.d.ts +0 -33
  198. package/dist/src/components/SchemaRenderer/context.d.ts +0 -19
  199. package/dist/src/components/SchemaRenderer/types.d.ts +0 -62
  200. package/dist/src/components/SchemaRenderer/utils.d.ts +0 -1
  201. package/dist/src/components/Search/Search.d.ts +0 -35
  202. package/dist/src/components/Search/constants.d.ts +0 -8
  203. package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +0 -40
  204. package/dist/src/components/SegmentedControl/constants.d.ts +0 -5
  205. package/dist/src/components/Select/MultiSelectTags.d.ts +0 -8
  206. package/dist/src/components/Select/Select.d.ts +0 -100
  207. package/dist/src/components/Select/SelectSubMenuItem.d.ts +0 -8
  208. package/dist/src/components/Select/constants.d.ts +0 -9
  209. package/dist/src/components/SelectField/SelectField.d.ts +0 -42
  210. package/dist/src/components/SharedEntityIndicator/SharedEntityIndicator.d.ts +0 -31
  211. package/dist/src/components/Slider/Slider.d.ts +0 -57
  212. package/dist/src/components/Switch/Switch.d.ts +0 -34
  213. package/dist/src/components/TagInput/TagInput.d.ts +0 -52
  214. package/dist/src/components/Textarea/Textarea.d.ts +0 -39
  215. package/dist/src/constants/editor.d.ts +0 -2
  216. package/dist/src/constants/storybook/form-item.d.ts +0 -3
  217. package/dist/src/models/segmented-control.d.ts +0 -7
  218. package/dist/src/types/form-item.d.ts +0 -31
  219. package/dist/src/types/select.d.ts +0 -8
  220. package/dist/types/form-item.js +0 -4
  221. package/dist/types/select.js +0 -5
package/README.md CHANGED
@@ -86,7 +86,7 @@ function App() {
86
86
 
87
87
  ### Optional: Markdown Components CSS
88
88
 
89
- If you're using markdown-related components (`DialMarkdownEditor` or `DialMarkdownEditorContainer`), you need to import the required CSS files globally in your application (e.g., in your root layout or main entry point):
89
+ If you're using the `MarkdownEditor` (loaded through `LazyMarkdownEditor`), you need to import the required CSS files globally in your application (e.g., in your root layout or main entry point):
90
90
 
91
91
  ```tsx
92
92
  import '@uiw/react-markdown-preview/markdown.css';
@@ -287,6 +287,10 @@ breaking change and goes through the migration-guide process.
287
287
  | Key | Class | Element |
288
288
  | -------------------- | --------------------------------- | -------------------------------------------------------------------- |
289
289
  | `cardShell` | `dial-kit-card-shell` | The `article` element of a `CardShell` |
290
+ | `analyticsCard` | `dial-kit-analytics-card` | The root of an `AnalyticsCard` |
291
+ | `analyticsBar` | `dial-kit-analytics-bar` | The root of an `AnalyticsBar`, stacked or inline |
292
+ | `analyticsBarGroup` | `dial-kit-analytics-bar-group` | The root of an `AnalyticsBarGroup`, which is its accordion |
293
+ | `analyticsHistogram` | `dial-kit-analytics-histogram` | The root of an `AnalyticsHistogram` |
290
294
  | `collapsibleSidebar` | `dial-kit-collapsible-sidebar` | The `aside` element of a `CollapsibleSidebar` |
291
295
  | `resizableContainer` | `dial-kit-resizable-container` | The content box inside a `ResizableContainer`'s resize frame |
292
296
  | `resizeHandle` | `dial-kit-resize-handle` | The `role="separator"` element of a `ResizeHandle` |
@@ -309,8 +313,6 @@ breaking change and goes through the migration-guide process.
309
313
  | `dropdownSearch` | `dial-kit-dropdown-search` | The search row above the item list of a `searchable` `Dropdown` |
310
314
  | `menuItem` | `dial-kit-menuitem` | One overlay row: a dropdown item, a `Select` option, a submenu trigger or child |
311
315
  | `menuItemCheck` | `dial-kit-menuitem-check` | The trailing check of a chosen `MenuItemMark.Check` row |
312
- | `dropdownIcon` | `dial-kit-dropdown-icon` | The primary icon of a `DialDropdownIcon` trigger |
313
- | `dropdownIconCaret` | `dial-kit-dropdown-icon-caret` | Its caret badge. Absent when `showCaret` is `false` |
314
316
  | `tooltip` | `dial-kit-tooltip` | The bubble of a `Tooltip` |
315
317
  | `interactiveTooltip` | `dial-kit-interactive-tooltip` | The panel of an `InteractiveTooltip` |
316
318
  | `ellipsisTooltip` | `dial-kit-ellipsis-tooltip` | The text element of an `EllipsisTooltip`, which is also its trigger |
@@ -385,9 +387,8 @@ they render: `ThemeScope` (a `display: contents` wrapper), `MultiSelectTags`
385
387
  (`Tag`s), and `TooltipContainer` / `TooltipTrigger`.
386
388
 
387
389
  Two neighbouring elements are reached through props instead, and keep being: a
388
- `Dropdown`'s floating panel takes `listClassName`, a `Popup`'s backdrop takes
389
- `overlayClassName`, and the `DialDropdownIcon` trigger button takes
390
- `buttonClassName`.
390
+ `Dropdown`'s floating panel takes `listClassName`, and a `Popup`'s backdrop
391
+ takes `overlayClassName`.
391
392
 
392
393
  ## ♿ Accessibility
393
394
 
@@ -500,12 +501,12 @@ npm install @epam/ai-dial-ui-kit
500
501
  npm install react react-dom
501
502
  ```
502
503
 
503
- Add the editor packages only if you use the `@epam/ai-dial-ui-kit/editors`
504
- subpath. They are optional peers, so `npm install` stays quiet without them, and
505
- the kit only reaches for them when a `Lazy*` editor actually mounts:
504
+ Add the editor package only if you use the Markdown editor
505
+ (`LazyMarkdownEditor`). It is an optional peer, so `npm install` stays quiet
506
+ without it, and the kit only reaches for it when the editor actually mounts:
506
507
 
507
508
  ``` bash
508
- npm install monaco-editor @monaco-editor/react @uiw/react-md-editor
509
+ npm install @uiw/react-md-editor
509
510
  ```
510
511
 
511
512
  2. Import style in the root layout of the project:
package/dist/CHANGELOG.md CHANGED
@@ -17,9 +17,12 @@ Versions match the git tags on the `development` branch.
17
17
  - **`styles.css` — Tailwind v4 preflight and browser baseline** — the stylesheet's preflight reaches every element on the host page, and v4's differs: `input`, `select` and `textarea` get a transparent background and no corner radius, `margin` and `padding` reset on every element, and the `hidden` attribute wins over a display utility. The v3 placeholder colour, the pointer cursor on buttons and the centred `<dialog>` are kept. The stylesheet now targets Safari 16.4+, Chrome 111+ and Firefox 128+. Tailwind v3's output already used native CSS nesting, so for most hosts this changes nothing.
18
18
  See [migration guide](migration-guides/0.16.0/tailwind-v4-stylesheet.md).
19
19
 
20
- - **`DialFileManager` — removed from the kit, use `@epam/ai-dial-react-file-manager`** — the legacy file manager, its `DialFoldersTree`, `DialDestinationFolderPopup`, `FileManagerProvider`, `useFileManagerContext`, `useDialFileManagerTabs`, the `DialFileManagerTabs` / `DialFileManagerActions` / `FileManagerColumnKey` enums, the `NAME_COLUMN` / `SIZE_COLUMN` / `UPDATED_AT_COLUMN` constants, its types, and the `./file-manager` subpath are gone. The file manager is developed in its own package, which exports every one of these names. Keeping a second, older copy in the kit meant two `DialFileManager`s that drifted apart. `DialFileName`, `DialFolderName`, `DialFileIcon`, `DialSharedEntityIndicator` and the file models stay.
20
+ - **`DialFileManager` — removed from the kit, use `@epam/ai-dial-react-file-manager`** — the legacy file manager, its `DialFoldersTree`, `DialDestinationFolderPopup`, `FileManagerProvider`, `useFileManagerContext`, `useDialFileManagerTabs`, the `DialFileManagerTabs` / `DialFileManagerActions` / `FileManagerColumnKey` enums, the `NAME_COLUMN` / `SIZE_COLUMN` / `UPDATED_AT_COLUMN` constants, its types, and the `./file-manager` subpath are gone. The file manager is developed in its own package, which exports every one of these names. Keeping a second, older copy in the kit meant two `DialFileManager`s that drifted apart. The file models stay.
21
21
  See [migration guide](migration-guides/0.16.0/legacy-file-manager-removal.md).
22
22
 
23
+ - **34 unused 1.0 components and `DialSchemaRenderer` — removed, use their 2.0 counterparts** — `DialAutocompleteInputValue`, `DialButtonDropdown`, `DialCheckbox`, `DialCollapsibleSidebar`, `DialConfirmationPopup`, `DialDraggableItem`, `DialDropdownIcon`, `DialFileIcon`, `DialFileName`, `DialFolderName`, `DialFormItem`, `DialFormPopup`, `DialGrid` (and its date renderer and helpers, also from `./grid`), `DialInputPopup`, `LazyDialJsonEditor`, `LazyDialMarkdownEditor` and `LazyDialMarkdownEditorContainer` (also from `./editors`), `DialNotification`, `DialNumberInput`, `DialPagination`, `DialPasswordInput`, `DialPopup`, `DialRadioButton`, `DialRadioGroup`, `DialRadioGroupPopupField`, `DialResizableContainer`, `DialSearch`, `DialSegmentedControl`, `DialSelect`, `DialSelectField`, `DialSharedEntityIndicator`, `DialSlider`, `DialSwitch`, `DialTagInput`, `DialTextarea` and `DialSchemaRenderer` are gone, with the types and enums only they used (`FormItemOrientation`, `SelectSize`, `SelectVariant`, `SegmentedControlOption`), the `DIAL_KIT_CLASS.dropdownIcon` / `dropdownIconCaret` entries and their `styles.css` rules. Neither DIAL Chat nor the DIAL Admin frontend uses them, and keeping them meant two components for one control. The schema types (`JsonSchema`, `SchemaRendererVariant` …) keep their names. `monaco-editor` and `@monaco-editor/react` are no longer optional peers: only the JSON editor used them.
24
+ See [migration guide](migration-guides/0.16.0/unused-legacy-components-removal.md).
25
+
23
26
  - **`CaptionText`, `ErrorText` (2.0) — no `role="alert"`** — every caption, including a plain field description, was an assertive live region, so a screen reader interrupted the user with helper text and every validation error, and a host that wrapped `ErrorText` in its own alert region announced the message twice. They are now plain text that a control points at: `Input`, `Textarea`, `Select` and the `SchemaRenderer` fields link their own `error` / `caption` through `aria-describedby` and set `aria-invalid` on an error, as `Slider`, `RadioGroup`, `RadioGroupPopupField` and `FileDropzone` already did. A host that renders `ErrorText` next to its own control links it the same way; a message that must interrupt, such as a failed submit, goes in a `role="alert"` region of the host's. Tests that found these messages with `getByRole('alert')` need another query. The legacy `DialCaptionText` / `DialErrorText` are unchanged. Reported from `ai-dial-chat`.
24
27
  See [migration guide](migration-guides/0.16.0/caption-text-no-alert-role.md).
25
28