@epam/ai-dial-ui-kit 0.15.0-dev.3 → 0.15.0-dev.30

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 (168) hide show
  1. package/README.md +185 -0
  2. package/dist/CHANGELOG.md +48 -0
  3. package/dist/{DateCellRenderer-BVM-Q8yx.cjs → DateCellRenderer-BFEh4rXZ.cjs} +26 -26
  4. package/dist/DateCellRenderer-J1V3xwF7.cjs +1 -0
  5. package/dist/IconButton-DHOFapLo.cjs +1 -0
  6. package/dist/{JsonEditor-qv1Z0dLX.cjs → JsonEditor-BDe6elKO.cjs} +1 -1
  7. package/dist/{MarkdownEditor-DHn2pYOJ.cjs → MarkdownEditor-C7BONfsl.cjs} +1 -1
  8. package/dist/{MarkdownEditor-jQ8nDJfx.cjs → MarkdownEditor-FVzYMdkC.cjs} +1 -1
  9. package/dist/{MarkdownEditorContainer-Bzcnoemw.cjs → MarkdownEditorContainer-GvlxX6kx.cjs} +1 -1
  10. package/dist/{Switch-CUKClcEz.cjs → Switch-DE6MrcqJ.cjs} +1 -1
  11. package/dist/components/Button/constants.js +9 -8
  12. package/dist/components/Dropdown/Dropdown.js +70 -65
  13. package/dist/components/Dropdown/DropdownSubMenuItem.js +63 -55
  14. package/dist/components/Dropdown/constants.js +16 -14
  15. package/dist/components/DropdownIcon/DropdownIcon.js +43 -32
  16. package/dist/components/FileManager/FileManager.js +373 -372
  17. package/dist/components/FileManager/FileManagerProvider.js +266 -264
  18. package/dist/components/FileManager/hooks/use-grid-context-menu.js +59 -59
  19. package/dist/components/New/Accordion/Accordion.js +87 -71
  20. package/dist/components/New/Breadcrumbs/Breadcrumbs.js +159 -0
  21. package/dist/components/New/Breadcrumbs/constants.js +41 -0
  22. package/dist/components/New/Button/Button.js +32 -32
  23. package/dist/components/New/Button/ButtonWrappers.js +93 -37
  24. package/dist/components/New/Button/constants.js +3 -0
  25. package/dist/components/New/Button/utils.js +18 -8
  26. package/dist/components/New/ButtonDropdown/ButtonDropdown.js +26 -16
  27. package/dist/components/New/Calendar/Calendar.js +337 -289
  28. package/dist/components/New/Calendar/constants.js +5 -5
  29. package/dist/components/New/CaptionText/CaptionText.js +18 -15
  30. package/dist/components/New/CardShell/CardShell.js +5 -3
  31. package/dist/components/New/Checkbox/Checkbox.js +67 -56
  32. package/dist/components/New/Checkbox/CheckboxBox.js +5 -3
  33. package/dist/components/New/CloseButton/CloseButton.js +18 -16
  34. package/dist/components/New/CollapsibleSidebar/CollapsibleSidebar.js +39 -34
  35. package/dist/components/New/ConfirmationPopup/ConfirmationPopup.js +44 -39
  36. package/dist/components/New/Dropdown/Dropdown.js +112 -105
  37. package/dist/components/New/Dropdown/DropdownSubMenuItem.js +17 -17
  38. package/dist/components/New/Dropdown/constants.js +22 -17
  39. package/dist/components/New/EllipsisTooltip/EllipsisTooltip.js +20 -18
  40. package/dist/components/New/FileDropzone/FileDropzone.js +27 -25
  41. package/dist/components/New/FileIcon/FileIcon.js +55 -0
  42. package/dist/components/New/FileIcon/constants.js +134 -0
  43. package/dist/components/New/FileIcon/icons/FileGlyph.js +150 -0
  44. package/dist/components/New/FileIcon/icons/FolderGlyph.js +50 -0
  45. package/dist/components/New/FileName/FileName.js +78 -0
  46. package/dist/components/New/FilterChips/FilterChips.js +43 -0
  47. package/dist/components/New/FilterChips/constants.js +5 -0
  48. package/dist/components/New/FolderName/FolderName.js +16 -0
  49. package/dist/components/New/FolderPath/FolderPath.js +29 -28
  50. package/dist/components/New/Highlight/Highlight.js +23 -30
  51. package/dist/components/New/IconButton/IconButton.js +30 -28
  52. package/dist/components/New/InfoButton/InfoButton.js +13 -11
  53. package/dist/components/New/InlineSelect/InlineSelect.js +74 -56
  54. package/dist/components/New/InteractiveTooltip/InteractiveTooltip.js +41 -39
  55. package/dist/components/New/InteractiveTooltip/constants.js +2 -2
  56. package/dist/components/New/Label/Label.js +13 -8
  57. package/dist/components/New/MenuItem/MenuItem.js +29 -27
  58. package/dist/components/New/MenuItem/constants.js +9 -8
  59. package/dist/components/New/NoDataContent/NoDataContent.js +21 -19
  60. package/dist/components/New/Notification/Notification.js +33 -29
  61. package/dist/components/New/NumberInput/NumberInput.js +42 -33
  62. package/dist/components/New/PasswordInput/PasswordInput.js +41 -35
  63. package/dist/components/New/Popup/Popup.js +46 -44
  64. package/dist/components/New/Popup/constants.js +3 -3
  65. package/dist/components/New/Radio/Radio.js +75 -64
  66. package/dist/components/New/RadioGroup/RadioGroup.js +76 -65
  67. package/dist/components/New/RadioGroupPopupField/RadioGroupPopupField.js +117 -106
  68. package/dist/components/New/ResizableContainer/ResizableContainer.js +42 -40
  69. package/dist/components/New/Search/Search.js +29 -27
  70. package/dist/components/New/SegmentedControl/SegmentedControl.js +29 -23
  71. package/dist/components/New/Select/Select.js +120 -109
  72. package/dist/components/New/Select/constants.js +23 -20
  73. package/dist/components/New/SharedEntityIndicator/SharedEntityIndicator.js +34 -0
  74. package/dist/components/New/Switch/Switch.js +69 -58
  75. package/dist/components/New/Tabs/Tabs.js +125 -61
  76. package/dist/components/New/Tag/Tag.js +42 -40
  77. package/dist/components/New/TagInput/TagInput.js +45 -43
  78. package/dist/components/New/ToggleIconButton/ToggleIconButton.js +26 -24
  79. package/dist/components/New/Tooltip/TooltipContent.js +11 -9
  80. package/dist/components/New/Tooltip/constants.js +1 -1
  81. package/dist/components/New/TransferQueue/TransferQueue.js +124 -0
  82. package/dist/components/New/TransferQueue/TransferQueueHeader.js +71 -0
  83. package/dist/components/New/TransferQueue/TransferQueueRow.js +119 -0
  84. package/dist/components/New/TransferQueue/constants.js +24 -0
  85. package/dist/components/New/constants/overlay.js +15 -9
  86. package/dist/components/Popup/constants.js +8 -8
  87. package/dist/components/ProgressBar/ProgressBar.js +45 -33
  88. package/dist/components/SchemaRenderer/components/SchemaAdditionalPropertiesEditor.js +46 -31
  89. package/dist/components/SchemaRenderer/components/SchemaField.js +19 -19
  90. package/dist/components/SchemaRenderer/components/SchemaFieldContent.js +18 -18
  91. package/dist/components/SchemaRenderer/components/SchemaKeyValueEditor.js +223 -135
  92. package/dist/components/SchemaRenderer/types.js +19 -8
  93. package/dist/components/SchemaRenderer/utils.js +122 -95
  94. package/dist/components/Skeleton/Skeleton.js +25 -19
  95. package/dist/components/Spinner/Spinner.js +7 -5
  96. package/dist/components/Tooltip/TooltipContent.js +11 -11
  97. package/dist/components-manifest.json +830 -31
  98. package/dist/constants/public-class-names.js +198 -0
  99. package/dist/dial-ui-kit.cjs +2 -2
  100. package/dist/dial-ui-kit.js +330 -302
  101. package/dist/editors.cjs +1 -1
  102. package/dist/file-manager.cjs +1 -1
  103. package/dist/grid.cjs +1 -1
  104. package/dist/index.css +2 -2
  105. package/dist/lazy-BEsZqouS.cjs +1 -0
  106. package/dist/merge-classes-BEJXjzkx.cjs +1 -0
  107. package/dist/node_modules/tailwind-merge/dist/bundle-mjs.js +419 -399
  108. package/dist/src/components/FileManager/FileManager.d.ts +2 -0
  109. package/dist/src/components/FileManager/FileManagerContext.d.ts +1 -0
  110. package/dist/src/components/FileManager/hooks/use-grid-context-menu.d.ts +2 -1
  111. package/dist/src/components/New/Accordion/Accordion.d.ts +6 -1
  112. package/dist/src/components/New/Breadcrumbs/Breadcrumbs.d.ts +94 -0
  113. package/dist/src/components/New/Breadcrumbs/constants.d.ts +60 -0
  114. package/dist/src/components/New/Button/Button.d.ts +4 -1
  115. package/dist/src/components/New/Button/ButtonWrappers.d.ts +20 -0
  116. package/dist/src/components/New/Button/utils.d.ts +15 -0
  117. package/dist/src/components/New/ButtonDropdown/ButtonDropdown.d.ts +4 -0
  118. package/dist/src/components/New/Calendar/Calendar.d.ts +14 -1
  119. package/dist/src/components/New/Calendar/constants.d.ts +1 -1
  120. package/dist/src/components/New/Dropdown/Dropdown.d.ts +9 -1
  121. package/dist/src/components/New/Dropdown/constants.d.ts +3 -0
  122. package/dist/src/components/New/FileIcon/FileIcon.d.ts +61 -0
  123. package/dist/src/components/New/FileIcon/constants.d.ts +16 -0
  124. package/dist/src/components/New/FileIcon/icons/FileGlyph.d.ts +18 -0
  125. package/dist/src/components/New/FileIcon/icons/FolderGlyph.d.ts +17 -0
  126. package/dist/src/components/New/FileName/FileName.d.ts +79 -0
  127. package/dist/src/components/New/FilterChips/FilterChips.d.ts +69 -0
  128. package/dist/src/components/New/FilterChips/constants.d.ts +13 -0
  129. package/dist/src/components/New/FolderName/FolderName.d.ts +37 -0
  130. package/dist/src/components/New/InlineSelect/InlineSelect.d.ts +16 -1
  131. package/dist/src/components/New/InteractiveTooltip/constants.d.ts +5 -4
  132. package/dist/src/components/New/Notification/Notification.d.ts +18 -0
  133. package/dist/src/components/New/Popup/constants.d.ts +1 -1
  134. package/dist/src/components/New/Select/constants.d.ts +3 -2
  135. package/dist/src/components/New/SharedEntityIndicator/SharedEntityIndicator.d.ts +35 -0
  136. package/dist/src/components/New/Tabs/Tabs.d.ts +54 -6
  137. package/dist/src/components/New/Tooltip/constants.d.ts +5 -3
  138. package/dist/src/components/New/TransferQueue/TransferQueue.d.ts +139 -0
  139. package/dist/src/components/New/TransferQueue/TransferQueueHeader.d.ts +16 -0
  140. package/dist/src/components/New/TransferQueue/TransferQueueRow.d.ts +10 -0
  141. package/dist/src/components/New/TransferQueue/constants.d.ts +6 -0
  142. package/dist/src/components/New/constants/overlay.d.ts +13 -0
  143. package/dist/src/components/Popup/constants.d.ts +1 -1
  144. package/dist/src/components/SchemaRenderer/types.d.ts +11 -0
  145. package/dist/src/components/SchemaRenderer/utils.d.ts +10 -1
  146. package/dist/src/constants/public-class-names.d.ts +189 -0
  147. package/dist/src/index.d.ts +22 -1
  148. package/dist/src/types/accordion.d.ts +7 -0
  149. package/dist/src/types/breadcrumbs.d.ts +9 -0
  150. package/dist/src/types/button.d.ts +1 -0
  151. package/dist/src/types/transfer-queue.d.ts +10 -0
  152. package/dist/src/utils/__tests__/timezone.spec.d.ts +1 -0
  153. package/dist/src/utils/sub-menu-floating.d.ts +7 -4
  154. package/dist/src/utils/timezone.d.ts +24 -0
  155. package/dist/types/accordion.js +4 -0
  156. package/dist/types/breadcrumbs.js +4 -0
  157. package/dist/types/button.js +3 -3
  158. package/dist/types/transfer-queue.js +4 -0
  159. package/dist/use-file-manager-tabs-C0h1Sq5T.cjs +3 -0
  160. package/dist/utils/merge-classes.js +12 -5
  161. package/dist/utils/sub-menu-floating.js +98 -54
  162. package/dist/utils/timezone.js +19 -0
  163. package/package.json +3 -3
  164. package/dist/DateCellRenderer-ssp7eaZY.cjs +0 -1
  165. package/dist/IconButton-DWqoaBWf.cjs +0 -1
  166. package/dist/lazy-tfN4sKhq.cjs +0 -1
  167. package/dist/merge-classes-Dipy1Ih1.cjs +0 -1
  168. package/dist/use-file-manager-tabs-DjdR_mYM.cjs +0 -3
@@ -0,0 +1,198 @@
1
+ const i = {
2
+ /* ── Feedback and status ───────────────────────────────────────────────── */
3
+ /** The `role="status"` root of a `Spinner`. */
4
+ spinner: "dial-kit-spinner",
5
+ /**
6
+ * The outermost element of a `ProgressBar`: the box wrapping its label,
7
+ * track and readout — or the track itself, which is the root when the bar
8
+ * has neither.
9
+ */
10
+ progressBar: "dial-kit-progress-bar",
11
+ /** The root of a `Skeleton`, wrapping its avatar and text rows. */
12
+ skeleton: "dial-kit-skeleton",
13
+ /**
14
+ * The `Notification` surface. Present on every wrapper too — the toast and
15
+ * section-message variants of error, info, success, warning, loading and
16
+ * general all render this component.
17
+ */
18
+ notification: "dial-kit-notification",
19
+ /** The empty-state root of `NoDataContent`. */
20
+ noDataContent: "dial-kit-no-data-content",
21
+ /** The `role="status"` panel of a `TransferQueue`: header, rows and aggregate bar. */
22
+ transferQueue: "dial-kit-transfer-queue",
23
+ /* ── Text ──────────────────────────────────────────────────────────────── */
24
+ /** The text element of a `Highlight`, which renders the matched query. */
25
+ highlight: "dial-kit-highlight",
26
+ /** The caption line under a field, rendered by `CaptionText`. */
27
+ captionText: "dial-kit-caption-text",
28
+ /**
29
+ * A caption in its error variant — what `ErrorText` renders. Additive to
30
+ * `captionText`, since one component draws both.
31
+ */
32
+ errorText: "dial-kit-error-text",
33
+ /** The `Label` root, which wraps the `label` element and its info button. */
34
+ label: "dial-kit-label",
35
+ /* ── Containers ────────────────────────────────────────────────────────── */
36
+ /** The `article` element of a `CardShell`. */
37
+ cardShell: "dial-kit-card-shell",
38
+ /** The `aside` element of a `CollapsibleSidebar`. */
39
+ collapsibleSidebar: "dial-kit-collapsible-sidebar",
40
+ /** The content box inside a `ResizableContainer`'s resize frame. */
41
+ resizableContainer: "dial-kit-resizable-container",
42
+ /**
43
+ * The `role="dialog"` panel of a `Popup`. Its backdrop is reached through
44
+ * `overlayClassName`.
45
+ */
46
+ popup: "dial-kit-popup",
47
+ /** The `Popup` panel of a `ConfirmationPopup`, additive to `popup`. */
48
+ confirmationPopup: "dial-kit-confirmation-popup",
49
+ /** The root of an `Accordion`. */
50
+ accordion: "dial-kit-accordion",
51
+ /** The breadcrumb root of a `FolderPath`. */
52
+ folderPath: "dial-kit-folder-path",
53
+ /** The `nav` element of a `Breadcrumbs` trail. */
54
+ breadcrumbs: "dial-kit-breadcrumbs",
55
+ /**
56
+ * One segment of a `Breadcrumbs` trail: the link, button or plain span that
57
+ * draws the label — not the `li`, which also holds the separator after it.
58
+ */
59
+ breadcrumbsItem: "dial-kit-breadcrumbs-item",
60
+ /* ── Menus and overlays ────────────────────────────────────────────────── */
61
+ /**
62
+ * The trigger wrapper of a `Dropdown`. Its floating panel is reached through
63
+ * `listClassName`.
64
+ */
65
+ dropdown: "dial-kit-dropdown",
66
+ /**
67
+ * The `role="none"` item list inside a dropdown overlay — the box that holds
68
+ * the rows and owns their vertical padding. Present in both generations, and
69
+ * on a submenu's own list. It is *not* the floating panel.
70
+ */
71
+ dropdownList: "dial-kit-dropdown-list",
72
+ /**
73
+ * One row of a floating overlay: a dropdown item, a `Select` option, a
74
+ * submenu trigger, or a submenu child. It sits on the element that draws the
75
+ * row box — so on the wrapper, not the inner button, for a row that has a
76
+ * `rightControl` beside it.
77
+ */
78
+ menuItem: "dial-kit-menuitem",
79
+ /**
80
+ * The trailing check of a chosen `MenuItemMark.Check` row. Decorative, like
81
+ * the glyph itself — the row's `aria-checked` / `aria-selected` carries the
82
+ * state.
83
+ */
84
+ menuItemCheck: "dial-kit-menuitem-check",
85
+ /** The primary icon of a `DialDropdownIcon` trigger. */
86
+ dropdownIcon: "dial-kit-dropdown-icon",
87
+ /**
88
+ * The caret badge of a `DialDropdownIcon` trigger — the round plate the
89
+ * chevron sits on. Absent when `showCaret` is `false`.
90
+ */
91
+ dropdownIconCaret: "dial-kit-dropdown-icon-caret",
92
+ /** The bubble of a `Tooltip`, rendered by `TooltipContent` into a portal. */
93
+ tooltip: "dial-kit-tooltip",
94
+ /** The panel of an `InteractiveTooltip` — the one whose content takes focus. */
95
+ interactiveTooltip: "dial-kit-interactive-tooltip",
96
+ /** The text element of an `EllipsisTooltip`, which is also its trigger. */
97
+ ellipsisTooltip: "dial-kit-ellipsis-tooltip",
98
+ /* ── Fields ────────────────────────────────────────────────────────────── */
99
+ /** The `Search` field, additive to the `dial-kit-input` its `Input` carries. */
100
+ search: "dial-kit-search",
101
+ /** The `PasswordInput` field, additive to `dial-kit-input`. */
102
+ passwordInput: "dial-kit-password-input",
103
+ /** The `NumberInput` field, additive to `dial-kit-input`. */
104
+ numberInput: "dial-kit-number-input",
105
+ /** The `TagInput` field, additive to `dial-kit-input`. */
106
+ tagInput: "dial-kit-tag-input",
107
+ /** The root of a `Select`, wrapping its label, field and caption. */
108
+ select: "dial-kit-select",
109
+ /** The trigger button of an `InlineSelect`. */
110
+ inlineSelect: "dial-kit-inline-select",
111
+ /** The root of a `Calendar`, wrapping its label and date field. */
112
+ calendar: "dial-kit-calendar",
113
+ /** The drop area of a `FileDropzone`. */
114
+ fileDropzone: "dial-kit-file-dropzone",
115
+ /**
116
+ * The root of a `FileIcon`, wrapping the file or folder glyph (or
117
+ * its spinner while loading) and the shared badge.
118
+ */
119
+ fileIcon: "dial-kit-file-icon",
120
+ /** The row of a `FileName`: its type icon, the name and any details. */
121
+ fileName: "dial-kit-file-name",
122
+ /** The `FileName` row of a `FolderName`, additive to `fileName`. */
123
+ folderName: "dial-kit-folder-name",
124
+ /**
125
+ * The `role="img"` badge of a `SharedEntityIndicator` — standalone, or the
126
+ * shared badge a `FileIcon` draws over its glyph.
127
+ */
128
+ sharedEntityIndicator: "dial-kit-shared-entity-indicator",
129
+ /* ── Controls ──────────────────────────────────────────────────────────── */
130
+ /** The row of a `Switch`: the control and its label. */
131
+ switch: "dial-kit-switch",
132
+ /** The row of a `Checkbox`: the box and its label. */
133
+ checkbox: "dial-kit-checkbox",
134
+ /** The decorative box a `CheckboxBox` draws, in a checkbox or a menu row. */
135
+ checkboxBox: "dial-kit-checkbox-box",
136
+ /** The row of a `Radio`: the circle and its label. */
137
+ radio: "dial-kit-radio",
138
+ /** The root of a `RadioGroup`, wrapping its label and its radios. */
139
+ radioGroup: "dial-kit-radio-group",
140
+ /**
141
+ * The root of a `RadioGroupPopupField`, wrapping its label and the collapsed
142
+ * field that opens the group.
143
+ */
144
+ radioGroupPopupField: "dial-kit-radio-group-popup-field",
145
+ /** The `role="radiogroup"` track of a `SegmentedControl`. */
146
+ segmentedControl: "dial-kit-segmented-control",
147
+ /** One segment of a `SegmentedControl`. */
148
+ segmentedControlItem: "dial-kit-segmented-control-item",
149
+ /**
150
+ * The outermost element of a `Tabs`: the box wrapping its heading and tab
151
+ * list — or the `role="tablist"` itself, which is the root when the tabs
152
+ * carry no `sectionLabel`.
153
+ */
154
+ tabs: "dial-kit-tabs",
155
+ /**
156
+ * The `role="tablist"` holding the tabs, in either orientation. Additive to
157
+ * `tabs` when there is no heading above it, since one element is then both.
158
+ */
159
+ tabList: "dial-kit-tab-list",
160
+ /**
161
+ * One tab inside `Tabs`, in either orientation. The selected tab of a
162
+ * horizontal row keeps its own `dial-kit-tab-selected-underline`.
163
+ */
164
+ tab: "dial-kit-tab",
165
+ /**
166
+ * The selected tab, additive to `tab`. A horizontal row draws its selection
167
+ * with `dial-kit-tab-selected-underline`, which carries the gradient rule;
168
+ * this one carries no declarations and marks the selected tab in either
169
+ * orientation.
170
+ */
171
+ tabSelected: "dial-kit-tab-selected",
172
+ /** The `sectionLabel` heading above a `Tabs`. Absent when there is none. */
173
+ tabsSectionLabel: "dial-kit-tabs-section-label",
174
+ /**
175
+ * The `role="group"` row of a `FilterChips`. Its chips are `Tag` pills, so
176
+ * they carry `dial-kit-tag` and have no entry of their own.
177
+ */
178
+ filterChips: "dial-kit-filter-chips",
179
+ /** A `Tag` pill, wherever it is rendered — including a `TagInput`'s rows. */
180
+ tag: "dial-kit-tag",
181
+ /**
182
+ * A `ToggleIconButton`, additive to the `dial-kit-base-icon-button` it
183
+ * already carries.
184
+ */
185
+ toggleIconButton: "dial-kit-toggle-icon-button",
186
+ /** A `CloseButton`, additive to `dial-kit-base-icon-button`. */
187
+ closeButton: "dial-kit-close-button",
188
+ /** An `InfoButton`, additive to `dial-kit-base-icon-button`. */
189
+ infoButton: "dial-kit-info-button",
190
+ /**
191
+ * The wrapper of a `ButtonDropdown` — its trigger carries
192
+ * `dial-kit-base-button`.
193
+ */
194
+ buttonDropdown: "dial-kit-button-dropdown"
195
+ };
196
+ export {
197
+ i as DIAL_KIT_CLASS
198
+ };