@epam/ai-dial-ui-kit 0.15.0-dev.6 → 0.15.0-dev.9

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 (73) hide show
  1. package/README.md +140 -0
  2. package/dist/CHANGELOG.md +12 -0
  3. package/dist/{DateCellRenderer-BVM-Q8yx.cjs → DateCellRenderer-Bu40QyHE.cjs} +26 -26
  4. package/dist/DateCellRenderer-C3e61i75.cjs +1 -0
  5. package/dist/components/Dropdown/Dropdown.js +70 -65
  6. package/dist/components/Dropdown/DropdownSubMenuItem.js +63 -55
  7. package/dist/components/Dropdown/constants.js +14 -12
  8. package/dist/components/DropdownIcon/DropdownIcon.js +43 -32
  9. package/dist/components/New/Accordion/Accordion.js +39 -37
  10. package/dist/components/New/ButtonDropdown/ButtonDropdown.js +7 -6
  11. package/dist/components/New/Calendar/Calendar.js +253 -222
  12. package/dist/components/New/CaptionText/CaptionText.js +18 -15
  13. package/dist/components/New/CardShell/CardShell.js +4 -2
  14. package/dist/components/New/Checkbox/Checkbox.js +67 -56
  15. package/dist/components/New/Checkbox/CheckboxBox.js +4 -2
  16. package/dist/components/New/CloseButton/CloseButton.js +18 -16
  17. package/dist/components/New/CollapsibleSidebar/CollapsibleSidebar.js +39 -34
  18. package/dist/components/New/ConfirmationPopup/ConfirmationPopup.js +44 -39
  19. package/dist/components/New/Dropdown/Dropdown.js +101 -95
  20. package/dist/components/New/EllipsisTooltip/EllipsisTooltip.js +19 -17
  21. package/dist/components/New/FileDropzone/FileDropzone.js +27 -25
  22. package/dist/components/New/FilterChips/FilterChips.js +43 -0
  23. package/dist/components/New/FilterChips/constants.js +5 -0
  24. package/dist/components/New/FolderPath/FolderPath.js +29 -28
  25. package/dist/components/New/Highlight/Highlight.js +23 -30
  26. package/dist/components/New/InfoButton/InfoButton.js +12 -10
  27. package/dist/components/New/InlineSelect/InlineSelect.js +43 -41
  28. package/dist/components/New/InteractiveTooltip/InteractiveTooltip.js +40 -38
  29. package/dist/components/New/Label/Label.js +13 -8
  30. package/dist/components/New/MenuItem/MenuItem.js +29 -27
  31. package/dist/components/New/MenuItem/constants.js +9 -8
  32. package/dist/components/New/NoDataContent/NoDataContent.js +20 -18
  33. package/dist/components/New/Notification/Notification.js +18 -16
  34. package/dist/components/New/NumberInput/NumberInput.js +42 -33
  35. package/dist/components/New/PasswordInput/PasswordInput.js +41 -35
  36. package/dist/components/New/Popup/Popup.js +45 -43
  37. package/dist/components/New/Radio/Radio.js +75 -64
  38. package/dist/components/New/RadioGroup/RadioGroup.js +76 -65
  39. package/dist/components/New/RadioGroupPopupField/RadioGroupPopupField.js +117 -106
  40. package/dist/components/New/ResizableContainer/ResizableContainer.js +42 -40
  41. package/dist/components/New/Search/Search.js +28 -26
  42. package/dist/components/New/SegmentedControl/SegmentedControl.js +29 -23
  43. package/dist/components/New/Select/Select.js +120 -109
  44. package/dist/components/New/Switch/Switch.js +69 -58
  45. package/dist/components/New/Tabs/Tabs.js +28 -22
  46. package/dist/components/New/Tag/Tag.js +42 -40
  47. package/dist/components/New/TagInput/TagInput.js +44 -42
  48. package/dist/components/New/ToggleIconButton/ToggleIconButton.js +25 -23
  49. package/dist/components/New/Tooltip/TooltipContent.js +10 -8
  50. package/dist/components/ProgressBar/ProgressBar.js +45 -31
  51. package/dist/components/SchemaRenderer/components/SchemaAdditionalPropertiesEditor.js +46 -31
  52. package/dist/components/SchemaRenderer/components/SchemaKeyValueEditor.js +223 -135
  53. package/dist/components/SchemaRenderer/types.js +19 -8
  54. package/dist/components/SchemaRenderer/utils.js +121 -96
  55. package/dist/components/Skeleton/Skeleton.js +25 -19
  56. package/dist/components/Spinner/Spinner.js +6 -4
  57. package/dist/components-manifest.json +85 -2
  58. package/dist/constants/public-class-names.js +157 -0
  59. package/dist/dial-ui-kit.cjs +2 -2
  60. package/dist/dial-ui-kit.js +214 -210
  61. package/dist/file-manager.cjs +1 -1
  62. package/dist/grid.cjs +1 -1
  63. package/dist/index.css +1 -1
  64. package/dist/src/components/New/FilterChips/FilterChips.d.ts +69 -0
  65. package/dist/src/components/New/FilterChips/constants.d.ts +13 -0
  66. package/dist/src/components/SchemaRenderer/types.d.ts +11 -0
  67. package/dist/src/components/SchemaRenderer/utils.d.ts +5 -1
  68. package/dist/src/constants/public-class-names.d.ts +148 -0
  69. package/dist/src/index.d.ts +3 -0
  70. package/dist/use-file-manager-tabs-9DWkp9IJ.cjs +3 -0
  71. package/package.json +1 -1
  72. package/dist/DateCellRenderer-ssp7eaZY.cjs +0 -1
  73. package/dist/use-file-manager-tabs-DjdR_mYM.cjs +0 -3
@@ -0,0 +1,157 @@
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
+ /* ── Text ──────────────────────────────────────────────────────────────── */
22
+ /** The text element of a `Highlight`, which renders the matched query. */
23
+ highlight: "dial-kit-highlight",
24
+ /** The caption line under a field, rendered by `CaptionText`. */
25
+ captionText: "dial-kit-caption-text",
26
+ /**
27
+ * A caption in its error variant — what `ErrorText` renders. Additive to
28
+ * `captionText`, since one component draws both.
29
+ */
30
+ errorText: "dial-kit-error-text",
31
+ /** The `Label` root, which wraps the `label` element and its info button. */
32
+ label: "dial-kit-label",
33
+ /* ── Containers ────────────────────────────────────────────────────────── */
34
+ /** The `article` element of a `CardShell`. */
35
+ cardShell: "dial-kit-card-shell",
36
+ /** The `aside` element of a `CollapsibleSidebar`. */
37
+ collapsibleSidebar: "dial-kit-collapsible-sidebar",
38
+ /** The content box inside a `ResizableContainer`'s resize frame. */
39
+ resizableContainer: "dial-kit-resizable-container",
40
+ /**
41
+ * The `role="dialog"` panel of a `Popup`. Its backdrop is reached through
42
+ * `overlayClassName`.
43
+ */
44
+ popup: "dial-kit-popup",
45
+ /** The `Popup` panel of a `ConfirmationPopup`, additive to `popup`. */
46
+ confirmationPopup: "dial-kit-confirmation-popup",
47
+ /** The root of an `Accordion`. */
48
+ accordion: "dial-kit-accordion",
49
+ /** The breadcrumb root of a `FolderPath`. */
50
+ folderPath: "dial-kit-folder-path",
51
+ /* ── Menus and overlays ────────────────────────────────────────────────── */
52
+ /**
53
+ * The trigger wrapper of a `Dropdown`. Its floating panel is reached through
54
+ * `listClassName`.
55
+ */
56
+ dropdown: "dial-kit-dropdown",
57
+ /**
58
+ * The `role="none"` item list inside a dropdown overlay — the box that holds
59
+ * the rows and owns their vertical padding. Present in both generations, and
60
+ * on a submenu's own list. It is *not* the floating panel.
61
+ */
62
+ dropdownList: "dial-kit-dropdown-list",
63
+ /**
64
+ * One row of a floating overlay: a dropdown item, a `Select` option, a
65
+ * submenu trigger, or a submenu child. It sits on the element that draws the
66
+ * row box — so on the wrapper, not the inner button, for a row that has a
67
+ * `rightControl` beside it.
68
+ */
69
+ menuItem: "dial-kit-menuitem",
70
+ /**
71
+ * The trailing check of a chosen `MenuItemMark.Check` row. Decorative, like
72
+ * the glyph itself — the row's `aria-checked` / `aria-selected` carries the
73
+ * state.
74
+ */
75
+ menuItemCheck: "dial-kit-menuitem-check",
76
+ /** The primary icon of a `DialDropdownIcon` trigger. */
77
+ dropdownIcon: "dial-kit-dropdown-icon",
78
+ /**
79
+ * The caret badge of a `DialDropdownIcon` trigger — the round plate the
80
+ * chevron sits on. Absent when `showCaret` is `false`.
81
+ */
82
+ dropdownIconCaret: "dial-kit-dropdown-icon-caret",
83
+ /** The bubble of a `Tooltip`, rendered by `TooltipContent` into a portal. */
84
+ tooltip: "dial-kit-tooltip",
85
+ /** The panel of an `InteractiveTooltip` — the one whose content takes focus. */
86
+ interactiveTooltip: "dial-kit-interactive-tooltip",
87
+ /** The text element of an `EllipsisTooltip`, which is also its trigger. */
88
+ ellipsisTooltip: "dial-kit-ellipsis-tooltip",
89
+ /* ── Fields ────────────────────────────────────────────────────────────── */
90
+ /** The `Search` field, additive to the `dial-kit-input` its `Input` carries. */
91
+ search: "dial-kit-search",
92
+ /** The `PasswordInput` field, additive to `dial-kit-input`. */
93
+ passwordInput: "dial-kit-password-input",
94
+ /** The `NumberInput` field, additive to `dial-kit-input`. */
95
+ numberInput: "dial-kit-number-input",
96
+ /** The `TagInput` field, additive to `dial-kit-input`. */
97
+ tagInput: "dial-kit-tag-input",
98
+ /** The root of a `Select`, wrapping its label, field and caption. */
99
+ select: "dial-kit-select",
100
+ /** The trigger button of an `InlineSelect`. */
101
+ inlineSelect: "dial-kit-inline-select",
102
+ /** The root of a `Calendar`, wrapping its label and date field. */
103
+ calendar: "dial-kit-calendar",
104
+ /** The drop area of a `FileDropzone`. */
105
+ fileDropzone: "dial-kit-file-dropzone",
106
+ /* ── Controls ──────────────────────────────────────────────────────────── */
107
+ /** The row of a `Switch`: the control and its label. */
108
+ switch: "dial-kit-switch",
109
+ /** The row of a `Checkbox`: the box and its label. */
110
+ checkbox: "dial-kit-checkbox",
111
+ /** The decorative box a `CheckboxBox` draws, in a checkbox or a menu row. */
112
+ checkboxBox: "dial-kit-checkbox-box",
113
+ /** The row of a `Radio`: the circle and its label. */
114
+ radio: "dial-kit-radio",
115
+ /** The root of a `RadioGroup`, wrapping its label and its radios. */
116
+ radioGroup: "dial-kit-radio-group",
117
+ /**
118
+ * The root of a `RadioGroupPopupField`, wrapping its label and the collapsed
119
+ * field that opens the group.
120
+ */
121
+ radioGroupPopupField: "dial-kit-radio-group-popup-field",
122
+ /** The `role="radiogroup"` track of a `SegmentedControl`. */
123
+ segmentedControl: "dial-kit-segmented-control",
124
+ /** One segment of a `SegmentedControl`. */
125
+ segmentedControlItem: "dial-kit-segmented-control-item",
126
+ /** The `role="tablist"` root of `Tabs`. */
127
+ tabs: "dial-kit-tabs",
128
+ /**
129
+ * One tab inside `Tabs`. The selected tab's underline keeps its own
130
+ * `dial-kit-tab-selected-underline`.
131
+ */
132
+ tab: "dial-kit-tab",
133
+ /**
134
+ * The `role="group"` row of a `FilterChips`. Its chips are `Tag` pills, so
135
+ * they carry `dial-kit-tag` and have no entry of their own.
136
+ */
137
+ filterChips: "dial-kit-filter-chips",
138
+ /** A `Tag` pill, wherever it is rendered — including a `TagInput`'s rows. */
139
+ tag: "dial-kit-tag",
140
+ /**
141
+ * A `ToggleIconButton`, additive to the `dial-kit-base-icon-button` it
142
+ * already carries.
143
+ */
144
+ toggleIconButton: "dial-kit-toggle-icon-button",
145
+ /** A `CloseButton`, additive to `dial-kit-base-icon-button`. */
146
+ closeButton: "dial-kit-close-button",
147
+ /** An `InfoButton`, additive to `dial-kit-base-icon-button`. */
148
+ infoButton: "dial-kit-info-button",
149
+ /**
150
+ * The wrapper of a `ButtonDropdown` — its trigger carries
151
+ * `dial-kit-base-button`.
152
+ */
153
+ buttonDropdown: "dial-kit-button-dropdown"
154
+ };
155
+ export {
156
+ i as DIAL_KIT_CLASS
157
+ };