@epam/ai-dial-ui-kit 0.16.0-dev.44 → 0.16.0-dev.46
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.
- package/README.md +7 -10
- package/dist/CHANGELOG.md +9 -2
- package/dist/DateCellRenderer-Bx79kGGv.cjs +63 -0
- package/dist/MarkdownEditor-BtLY7OVq.cjs +1 -0
- package/dist/components/New/Grid/Grid.js +19 -14
- package/dist/components/New/Popup/constants.js +1 -1
- package/dist/components-manifest.json +520 -3036
- package/dist/constants/public-class-names.js +0 -7
- package/dist/dial-ui-kit.cjs +3 -3
- package/dist/dial-ui-kit.js +373 -456
- package/dist/editors.cjs +1 -1
- package/dist/editors.js +4 -10
- package/dist/grid.cjs +1 -1
- package/dist/grid.js +23 -31
- package/dist/{merge-classes-B0SnCG4i.cjs → icon-D93YIwGJ.cjs} +1 -1
- package/dist/index.css +1 -1
- package/dist/migration-guides/0.16.0/legacy-file-manager-removal.md +5 -3
- package/dist/migration-guides/0.16.0/unused-legacy-components-removal.md +128 -0
- package/dist/migration-guides/README.md +1 -0
- package/dist/node_modules/react-dnd/dist/internals/registration.js +5 -13
- package/dist/src/components/New/MarkdownEditor/lazy.d.ts +8 -2
- package/dist/src/components/New/Popup/constants.d.ts +1 -1
- package/dist/src/components/New/SegmentedControl/SegmentedControl.d.ts +2 -2
- package/dist/src/constants/public-class-names.d.ts +0 -7
- package/dist/src/index.d.ts +2 -53
- package/dist/src/subpaths/editors.d.ts +9 -15
- package/dist/src/subpaths/grid.d.ts +2 -8
- package/dist/src/types/editor.d.ts +0 -6
- package/dist/src/types/grid.d.ts +2 -2
- package/dist/src/utils/grid-registration.d.ts +6 -8
- package/package.json +1 -12
- package/dist/DateCellRenderer-FseALDXV.cjs +0 -63
- package/dist/IconButton-CsePS6PY.cjs +0 -1
- package/dist/JsonEditor-DQhHSm93.cjs +0 -1
- package/dist/MarkdownEditor-CvIPIbPq.cjs +0 -1
- package/dist/MarkdownEditor-TR6X_gdl.cjs +0 -1
- package/dist/MarkdownEditorContainer-JIn_VNUX.cjs +0 -1
- package/dist/Switch-HEL_aq23.cjs +0 -1
- package/dist/assets/icons/file/c.svg.js +0 -5
- package/dist/assets/icons/file/cpp.svg.js +0 -5
- package/dist/assets/icons/file/cs.svg.js +0 -5
- package/dist/assets/icons/file/ini.svg.js +0 -5
- package/dist/assets/icons/file/json.svg.js +0 -5
- package/dist/assets/icons/file/md.svg.js +0 -5
- package/dist/assets/icons/file/py.svg.js +0 -5
- package/dist/assets/icons/open-popup.svg.js +0 -5
- package/dist/components/AutocompleteInput/AutocompleteInputValue.js +0 -21
- package/dist/components/ButtonDropdown/ButtonDropdown.js +0 -33
- package/dist/components/ButtonDropdown/constants.js +0 -8
- package/dist/components/Checkbox/Checkbox.js +0 -64
- package/dist/components/Checkbox/constants.js +0 -4
- package/dist/components/CollapsibleSidebar/CollapsibleSidebar.js +0 -84
- package/dist/components/ConfirmationPopup/ConfirmationPopup.js +0 -75
- package/dist/components/ConfirmationPopup/constants.js +0 -32
- package/dist/components/DraggableItem/DraggableItem.js +0 -61
- package/dist/components/DraggableItem/constants.js +0 -6
- package/dist/components/DropdownIcon/DropdownIcon.js +0 -103
- package/dist/components/FileIcon/FileIcon.js +0 -37
- package/dist/components/FileIcon/constants.js +0 -60
- package/dist/components/FileName/FileName.js +0 -68
- package/dist/components/FolderName/FolderName.js +0 -57
- package/dist/components/FormItem/FormItem.js +0 -90
- package/dist/components/FormItem/constants.js +0 -9
- package/dist/components/FormPopup/FormPopup.js +0 -59
- package/dist/components/FormPopup/constants.js +0 -6
- package/dist/components/Grid/Grid.js +0 -333
- package/dist/components/Grid/constants.js +0 -33
- package/dist/components/Grid/renderers/DateCellRenderer.js +0 -27
- package/dist/components/Grid/renderers/constants.js +0 -25
- package/dist/components/InputPopup/InputPopup.js +0 -174
- package/dist/components/JsonEditor/JsonEditor.js +0 -65
- package/dist/components/JsonEditor/lazy.js +0 -4
- package/dist/components/MarkdownEditor/MarkdownEditor.js +0 -39
- package/dist/components/MarkdownEditor/MarkdownEditorContainer.js +0 -82
- package/dist/components/MarkdownEditor/lazy.js +0 -4
- package/dist/components/Notification/Notification.js +0 -67
- package/dist/components/Notification/constants.js +0 -24
- package/dist/components/NumberInput/NumberInput.js +0 -41
- package/dist/components/Pagination/Pagination.js +0 -80
- package/dist/components/Pagination/utils.js +0 -10
- package/dist/components/PasswordInput/Icons/HideIcon.js +0 -16
- package/dist/components/PasswordInput/Icons/ShowIcon.js +0 -16
- package/dist/components/PasswordInput/PasswordInput.js +0 -21
- package/dist/components/Popup/Popup.js +0 -110
- package/dist/components/Popup/constants.js +0 -12
- package/dist/components/RadioButton/RadioButton.js +0 -103
- package/dist/components/RadioGroup/RadioGroup.js +0 -92
- package/dist/components/RadioGroup/constants.js +0 -10
- package/dist/components/RadioGroupPopupField/RadioGroupPopupField.js +0 -101
- package/dist/components/ResizableContainer/ConditionalResizableContainer.js +0 -6
- package/dist/components/ResizableContainer/ResizableContainer.js +0 -79
- package/dist/components/ResizableContainer/components/ResizeHandle.js +0 -20
- package/dist/components/ResizableContainer/components/ResizeIcon.js +0 -11
- package/dist/components/SchemaRenderer/SchemaRenderer.js +0 -151
- package/dist/components/SchemaRenderer/components/SchemaAdditionalPropertiesEditor.js +0 -56
- package/dist/components/SchemaRenderer/components/SchemaAnyOfEditor.js +0 -74
- package/dist/components/SchemaRenderer/components/SchemaArrayEditor.js +0 -118
- package/dist/components/SchemaRenderer/components/SchemaField.js +0 -78
- package/dist/components/SchemaRenderer/components/SchemaFieldContent.js +0 -114
- package/dist/components/SchemaRenderer/components/SchemaKeyValueEditor.js +0 -272
- package/dist/components/SchemaRenderer/components/SchemaObjectEditor.js +0 -36
- package/dist/components/SchemaRenderer/components/SchemaOneOfEditor.js +0 -192
- package/dist/components/SchemaRenderer/components/SchemaPrimitiveField.js +0 -161
- package/dist/components/SchemaRenderer/components/SchemaSection.js +0 -81
- package/dist/components/SchemaRenderer/context.js +0 -12
- package/dist/components/Search/Search.js +0 -63
- package/dist/components/Search/constants.js +0 -27
- package/dist/components/SegmentedControl/SegmentedControl.js +0 -87
- package/dist/components/SegmentedControl/constants.js +0 -8
- package/dist/components/Select/MultiSelectTags.js +0 -23
- package/dist/components/Select/Select.js +0 -435
- package/dist/components/Select/SelectSubMenuItem.js +0 -90
- package/dist/components/Select/constants.js +0 -15
- package/dist/components/SelectField/SelectField.js +0 -66
- package/dist/components/SharedEntityIndicator/SharedEntityIndicator.js +0 -34
- package/dist/components/Slider/Slider.js +0 -158
- package/dist/components/Switch/Switch.js +0 -70
- package/dist/components/TagInput/TagInput.js +0 -179
- package/dist/components/Textarea/Textarea.js +0 -43
- package/dist/constants/editor.js +0 -52
- package/dist/icon-CrGVkVpG.cjs +0 -1
- package/dist/icon-DhjrDQ8I.cjs +0 -1
- package/dist/lazy-kq-xfXXv.cjs +0 -1
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/DragSourceImpl.js +0 -25
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/connectors.js +0 -21
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDrag.js +0 -20
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSource.js +0 -19
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSourceConnector.js +0 -22
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragSourceMonitor.js +0 -15
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useDragType.js +0 -13
- package/dist/node_modules/react-dnd/dist/hooks/useDrag/useRegisteredDragSource.js +0 -23
- package/dist/node_modules/react-dnd/dist/internals/DragSourceMonitorImpl.js +0 -88
- package/dist/node_modules/react-dnd/dist/internals/SourceConnector.js +0 -87
- package/dist/src/components/AutocompleteInput/AutocompleteInputValue.d.ts +0 -34
- package/dist/src/components/ButtonDropdown/ButtonDropdown.d.ts +0 -24
- package/dist/src/components/ButtonDropdown/constants.d.ts +0 -2
- package/dist/src/components/Checkbox/Checkbox.d.ts +0 -36
- package/dist/src/components/Checkbox/constants.d.ts +0 -1
- package/dist/src/components/CollapsibleSidebar/CollapsibleSidebar.d.ts +0 -46
- package/dist/src/components/ConfirmationPopup/ConfirmationPopup.d.ts +0 -55
- package/dist/src/components/ConfirmationPopup/constants.d.ts +0 -18
- package/dist/src/components/DraggableItem/DraggableItem.d.ts +0 -33
- package/dist/src/components/DraggableItem/constants.d.ts +0 -3
- package/dist/src/components/DropdownIcon/DropdownIcon.d.ts +0 -38
- package/dist/src/components/FileIcon/FileIcon.d.ts +0 -33
- package/dist/src/components/FileIcon/constants.d.ts +0 -9
- package/dist/src/components/FileName/FileName.d.ts +0 -49
- package/dist/src/components/FolderName/FolderName.d.ts +0 -37
- package/dist/src/components/FormItem/FormItem.d.ts +0 -66
- package/dist/src/components/FormItem/constants.d.ts +0 -3
- package/dist/src/components/FormPopup/FormPopup.d.ts +0 -46
- package/dist/src/components/FormPopup/constants.d.ts +0 -3
- package/dist/src/components/Grid/Grid.d.ts +0 -120
- package/dist/src/components/Grid/comparators/base-column-comparator.d.ts +0 -1
- package/dist/src/components/Grid/constants.d.ts +0 -28
- package/dist/src/components/Grid/renderers/DateCellRenderer.d.ts +0 -34
- package/dist/src/components/Grid/renderers/constants.d.ts +0 -7
- package/dist/src/components/Grid/renderers/utils.d.ts +0 -1
- package/dist/src/components/InputPopup/InputPopup.d.ts +0 -61
- package/dist/src/components/JsonEditor/JsonEditor.d.ts +0 -25
- package/dist/src/components/JsonEditor/lazy.d.ts +0 -14
- package/dist/src/components/MarkdownEditor/MarkdownEditor.d.ts +0 -38
- package/dist/src/components/MarkdownEditor/MarkdownEditorContainer.d.ts +0 -51
- package/dist/src/components/MarkdownEditor/lazy.d.ts +0 -7
- package/dist/src/components/Notification/Notification.d.ts +0 -58
- package/dist/src/components/Notification/constants.d.ts +0 -8
- package/dist/src/components/NumberInput/NumberInput.d.ts +0 -34
- package/dist/src/components/Pagination/Pagination.d.ts +0 -11
- package/dist/src/components/Pagination/utils.d.ts +0 -9
- package/dist/src/components/PasswordInput/Icons/HideIcon.d.ts +0 -16
- package/dist/src/components/PasswordInput/Icons/ShowIcon.d.ts +0 -16
- package/dist/src/components/PasswordInput/PasswordInput.d.ts +0 -26
- package/dist/src/components/Popup/Popup.d.ts +0 -64
- package/dist/src/components/Popup/constants.d.ts +0 -5
- package/dist/src/components/RadioButton/RadioButton.d.ts +0 -54
- package/dist/src/components/RadioGroup/RadioGroup.d.ts +0 -66
- package/dist/src/components/RadioGroup/constants.d.ts +0 -5
- package/dist/src/components/RadioGroupPopupField/RadioGroupPopupField.d.ts +0 -74
- package/dist/src/components/ResizableContainer/ConditionalResizableContainer.d.ts +0 -35
- package/dist/src/components/ResizableContainer/ResizableContainer.d.ts +0 -72
- package/dist/src/components/ResizableContainer/components/ResizeHandle.d.ts +0 -10
- package/dist/src/components/ResizableContainer/components/ResizeIcon.d.ts +0 -8
- package/dist/src/components/SchemaRenderer/SchemaRenderer.d.ts +0 -30
- package/dist/src/components/SchemaRenderer/components/SchemaAdditionalPropertiesEditor.d.ts +0 -20
- package/dist/src/components/SchemaRenderer/components/SchemaAnyOfEditor.d.ts +0 -31
- package/dist/src/components/SchemaRenderer/components/SchemaArrayEditor.d.ts +0 -31
- package/dist/src/components/SchemaRenderer/components/SchemaField.d.ts +0 -29
- package/dist/src/components/SchemaRenderer/components/SchemaFieldContent.d.ts +0 -25
- package/dist/src/components/SchemaRenderer/components/SchemaKeyValueEditor.d.ts +0 -33
- package/dist/src/components/SchemaRenderer/components/SchemaObjectEditor.d.ts +0 -31
- package/dist/src/components/SchemaRenderer/components/SchemaOneOfEditor.d.ts +0 -31
- package/dist/src/components/SchemaRenderer/components/SchemaPrimitiveField.d.ts +0 -31
- package/dist/src/components/SchemaRenderer/components/SchemaSection.d.ts +0 -33
- package/dist/src/components/SchemaRenderer/context.d.ts +0 -19
- package/dist/src/components/SchemaRenderer/types.d.ts +0 -62
- package/dist/src/components/SchemaRenderer/utils.d.ts +0 -1
- package/dist/src/components/Search/Search.d.ts +0 -35
- package/dist/src/components/Search/constants.d.ts +0 -8
- package/dist/src/components/SegmentedControl/SegmentedControl.d.ts +0 -40
- package/dist/src/components/SegmentedControl/constants.d.ts +0 -5
- package/dist/src/components/Select/MultiSelectTags.d.ts +0 -8
- package/dist/src/components/Select/Select.d.ts +0 -100
- package/dist/src/components/Select/SelectSubMenuItem.d.ts +0 -8
- package/dist/src/components/Select/constants.d.ts +0 -9
- package/dist/src/components/SelectField/SelectField.d.ts +0 -42
- package/dist/src/components/SharedEntityIndicator/SharedEntityIndicator.d.ts +0 -31
- package/dist/src/components/Slider/Slider.d.ts +0 -57
- package/dist/src/components/Switch/Switch.d.ts +0 -34
- package/dist/src/components/TagInput/TagInput.d.ts +0 -52
- package/dist/src/components/Textarea/Textarea.d.ts +0 -39
- package/dist/src/constants/editor.d.ts +0 -2
- package/dist/src/constants/storybook/form-item.d.ts +0 -3
- package/dist/src/models/segmented-control.d.ts +0 -7
- package/dist/src/types/form-item.d.ts +0 -31
- package/dist/src/types/select.d.ts +0 -8
- package/dist/types/form-item.js +0 -4
- package/dist/types/select.js +0 -5
|
@@ -1,18 +1,10 @@
|
|
|
1
|
-
function
|
|
2
|
-
const
|
|
1
|
+
function n(r, g, a) {
|
|
2
|
+
const t = a.getRegistry(), e = t.addTarget(r, g);
|
|
3
3
|
return [
|
|
4
|
-
|
|
5
|
-
() =>
|
|
6
|
-
];
|
|
7
|
-
}
|
|
8
|
-
function c(t, o, g) {
|
|
9
|
-
const e = g.getRegistry(), r = e.addSource(t, o);
|
|
10
|
-
return [
|
|
11
|
-
r,
|
|
12
|
-
() => e.removeSource(r)
|
|
4
|
+
e,
|
|
5
|
+
() => t.removeTarget(e)
|
|
13
6
|
];
|
|
14
7
|
}
|
|
15
8
|
export {
|
|
16
|
-
|
|
17
|
-
s as registerTarget
|
|
9
|
+
n as registerTarget
|
|
18
10
|
};
|
|
@@ -1,7 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Shared leaf module for the 2.0 Markdown editor's lazy loader. Both
|
|
3
3
|
* `src/index.ts` (root) and `src/subpaths/editors.ts` (`./editors`)
|
|
4
|
-
* re-export this same binding instead of each declaring their own copy
|
|
5
|
-
*
|
|
4
|
+
* re-export this same binding instead of each declaring their own copy of
|
|
5
|
+
* the loader function. The duplication it replaced was an emitted-topology
|
|
6
|
+
* defect, not just source-level duplication: a loader function's body
|
|
7
|
+
* containing its own `import()` call, when duplicated verbatim into more than
|
|
8
|
+
* one entry's own emitted chunk, can pull an unrelated dynamically-imported
|
|
9
|
+
* feature into the initial graph in some Vite/Rolldown versions - see
|
|
10
|
+
* `openspec/changes/isolate-heavy-feature-modules` Section 9's
|
|
11
|
+
* `diagnosis-baseline.txt` for the measured reproduction.
|
|
6
12
|
*/
|
|
7
13
|
export declare const LazyMarkdownEditor: () => Promise<typeof import('./MarkdownEditor')>;
|
|
@@ -2,7 +2,7 @@ import { PopupSize } from '../../../types/popup';
|
|
|
2
2
|
export declare const popupOverlayBaseClassName = "z-popup flex items-center justify-center bg-backdrop md:p-4 gap-5 p-6";
|
|
3
3
|
export declare const popupBaseClassName = "relative flex w-full max-h-full flex-col rounded-xl bg-layer-raised md:h-auto";
|
|
4
4
|
export declare const popupHeaderClassName = "flex flex-row items-center justify-between px-6 py-4";
|
|
5
|
-
export declare const popupTitleClassName = "flex-1 min-w-0 mr-3 truncate dial-
|
|
5
|
+
export declare const popupTitleClassName = "flex-1 min-w-0 mr-3 truncate dial-h2-text text-primary";
|
|
6
6
|
/** Rule under the header. Opt-in: by default sections are separated by spacing. */
|
|
7
7
|
export declare const popupHeaderDividerClassName = "border-b border-tertiary";
|
|
8
8
|
export declare const popupFooterClassName = "flex flex-row items-center gap-2 px-6 py-4";
|
|
@@ -37,8 +37,8 @@ export interface SegmentedControlProps<T extends string> {
|
|
|
37
37
|
* revealing a panel, so it takes `role="radiogroup"` with `role="radio"`
|
|
38
38
|
* segments. The group is a single tab stop — the selected segment holds it, and
|
|
39
39
|
* the arrow keys, `Home` and `End` move the selection, per the ARIA radio-group
|
|
40
|
-
* pattern.
|
|
41
|
-
* the behaviour this
|
|
40
|
+
* pattern. The removed 1.0 `DialSegmentedControl` used `tablist`/`tab`
|
|
41
|
+
* instead; that is the behaviour this replaced.
|
|
42
42
|
*
|
|
43
43
|
* An icon-only segment still needs a name: give it `aria-label`, since the icon
|
|
44
44
|
* carries no text. A segment with a string `label` is named by it.
|
|
@@ -93,13 +93,6 @@ export declare const DIAL_KIT_CLASS: {
|
|
|
93
93
|
* state.
|
|
94
94
|
*/
|
|
95
95
|
readonly menuItemCheck: "dial-kit-menuitem-check";
|
|
96
|
-
/** The primary icon of a `DialDropdownIcon` trigger. */
|
|
97
|
-
readonly dropdownIcon: "dial-kit-dropdown-icon";
|
|
98
|
-
/**
|
|
99
|
-
* The caret badge of a `DialDropdownIcon` trigger — the round plate the
|
|
100
|
-
* chevron sits on. Absent when `showCaret` is `false`.
|
|
101
|
-
*/
|
|
102
|
-
readonly dropdownIconCaret: "dial-kit-dropdown-icon-caret";
|
|
103
96
|
/** The bubble of a `Tooltip`, rendered by `TooltipContent` into a portal. */
|
|
104
97
|
readonly tooltip: "dial-kit-tooltip";
|
|
105
98
|
/** The panel of an `InteractiveTooltip` — the one whose content takes focus. */
|
package/dist/src/index.d.ts
CHANGED
|
@@ -16,43 +16,18 @@ export { DialLabel } from './components/Label/Label';
|
|
|
16
16
|
export { DialAccordion } from './components/Accordion/Accordion';
|
|
17
17
|
export type { DialAccordionProps } from './components/Accordion/Accordion';
|
|
18
18
|
export { DialIcon } from './components/Icon/Icon';
|
|
19
|
-
export { DialNotification } from './components/Notification/Notification.tsx';
|
|
20
|
-
export type { DialNotificationProps } from './components/Notification/Notification.tsx';
|
|
21
19
|
export { DialLoader } from './components/Loader/Loader';
|
|
22
20
|
export { Spinner } from './components/Spinner/Spinner';
|
|
23
21
|
export type { SpinnerProps } from './components/Spinner/Spinner';
|
|
24
22
|
export { ProgressBar } from './components/ProgressBar/ProgressBar';
|
|
25
23
|
export type { ProgressBarProps } from './components/ProgressBar/ProgressBar';
|
|
26
|
-
export { DialPagination } from './components/Pagination/Pagination';
|
|
27
|
-
export type { DialPaginationProps } from './components/Pagination/Pagination';
|
|
28
|
-
export { DialCheckbox } from './components/Checkbox/Checkbox';
|
|
29
24
|
export { DialSteps } from './components/Steps/Steps';
|
|
30
|
-
export { DialRadioButton } from './components/RadioButton/RadioButton';
|
|
31
|
-
export { DialRadioGroup } from './components/RadioGroup/RadioGroup';
|
|
32
|
-
export { DialSlider } from './components/Slider/Slider';
|
|
33
|
-
export type { DialSliderProps } from './components/Slider/Slider';
|
|
34
25
|
export { DialNoDataContent } from './components/NoDataContent/NoDataContent';
|
|
35
26
|
export type { DialNoDataContentProps } from './components/NoDataContent/NoDataContent';
|
|
36
|
-
export { DialCollapsibleSidebar } from './components/CollapsibleSidebar/CollapsibleSidebar';
|
|
37
27
|
export { DialLabelledText } from './components/LabelledText/LabelledText';
|
|
38
28
|
export { DialTag } from './components/Tag/Tag';
|
|
39
29
|
export { DialEllipsisTooltip } from './components/EllipsisTooltip/EllipsisTooltip';
|
|
40
|
-
export { DialDraggableItem } from './components/DraggableItem/DraggableItem';
|
|
41
|
-
export { DialFileIcon } from './components/FileIcon/FileIcon';
|
|
42
|
-
export type { DialFileIconProps } from './components/FileIcon/FileIcon';
|
|
43
|
-
export { DialFormItem } from './components/FormItem/FormItem';
|
|
44
|
-
export { DialSharedEntityIndicator } from './components/SharedEntityIndicator/SharedEntityIndicator';
|
|
45
|
-
export { DialFileName } from './components/FileName/FileName';
|
|
46
|
-
export { DialFolderName } from './components/FolderName/FolderName';
|
|
47
|
-
export { DialResizableContainer } from './components/ResizableContainer/ResizableContainer';
|
|
48
|
-
export { DialConditionalResizableContainer } from './components/ResizableContainer/ConditionalResizableContainer';
|
|
49
30
|
export { Skeleton } from './components/Skeleton/Skeleton';
|
|
50
|
-
export { DialGrid } from './components/Grid/Grid';
|
|
51
|
-
export type { DialGridProps } from './components/Grid/Grid';
|
|
52
|
-
export { DialDateCellRenderer } from './components/Grid/renderers/DateCellRenderer';
|
|
53
|
-
export type { DateValue as DialGridDateValue, DialDateCellRendererProps, } from './components/Grid/renderers/DateCellRenderer';
|
|
54
|
-
export { DEFAULT_DATE_FORMAT_OPTIONS as DEFAULT_GRID_DATE_FORMAT_OPTIONS, DEFAULT_LOCALE as DEFAULT_GRID_DATE_LOCALE, } from './components/Grid/renderers/constants';
|
|
55
|
-
export { convertToDate as convertGridDateToDate } from './components/Grid/renderers/utils';
|
|
56
31
|
export { DialTabs } from './components/Tabs/Tabs';
|
|
57
32
|
export { DialBreadcrumb } from './components/Breadcrumb/Breadcrumb';
|
|
58
33
|
export type { DialBreadcrumbProps } from './components/Breadcrumb/Breadcrumb';
|
|
@@ -64,38 +39,18 @@ export { DialDangerButton, DialNeutralButton, DialPrimaryButton, DialGhostButton
|
|
|
64
39
|
export { DialDangerIconButton, DialGhostIconButton, DialNeutralIconButton, DialPrimaryIconButton, DialSecondaryIconButton, DialSuccessIconButton, DialTertiaryIconButton, } from './components/IconButton/IconButtonWrappers';
|
|
65
40
|
export { DialCloseButton } from './components/CloseButton/CloseButton';
|
|
66
41
|
export { DialRemoveButton } from './components/RemoveButton/RemoveButton';
|
|
67
|
-
export { DialTextarea } from './components/Textarea/Textarea';
|
|
68
42
|
export { DialTooltip } from './components/Tooltip/Tooltip';
|
|
69
43
|
export type { DialTooltipProps } from './components/Tooltip/Tooltip';
|
|
70
44
|
export { DialTooltipContainer } from './components/Tooltip/TooltipContainer';
|
|
71
45
|
export { DialTooltipContent } from './components/Tooltip/TooltipContent';
|
|
72
46
|
export { DialTooltipTrigger } from './components/Tooltip/TooltipTrigger';
|
|
73
47
|
export type { DialTooltipContainerOptions } from './components/Tooltip/TooltipContext';
|
|
74
|
-
export { DialSwitch } from './components/Switch/Switch';
|
|
75
|
-
export { DialSegmentedControl } from './components/SegmentedControl/SegmentedControl';
|
|
76
|
-
export type { DialSegmentedControlProps } from './components/SegmentedControl/SegmentedControl';
|
|
77
|
-
export { DialPopup } from './components/Popup/Popup';
|
|
78
|
-
export { DialConfirmationPopup } from './components/ConfirmationPopup/ConfirmationPopup';
|
|
79
|
-
export { DialRadioGroupPopupField } from './components/RadioGroupPopupField/RadioGroupPopupField';
|
|
80
|
-
export { DialFormPopup } from './components/FormPopup/FormPopup';
|
|
81
48
|
export { DialInput } from './components/Input/Input';
|
|
82
49
|
export type { DialInputButtonProps } from './components/Input/Button/InputButton';
|
|
83
50
|
export type { DialInputProps } from './components/Input/Input';
|
|
84
|
-
export { DialNumberInput } from './components/NumberInput/NumberInput';
|
|
85
|
-
export { DialPasswordInput } from './components/PasswordInput/PasswordInput';
|
|
86
|
-
export { DialSearch } from './components/Search/Search';
|
|
87
|
-
export type { DialSearchProps } from './components/Search/Search';
|
|
88
|
-
export { DialInputPopup } from './components/InputPopup/InputPopup';
|
|
89
|
-
export { DialAutocompleteInputValue } from './components/AutocompleteInput/AutocompleteInputValue';
|
|
90
|
-
export { DialTagInput } from './components/TagInput/TagInput';
|
|
91
|
-
export { DialSelect } from './components/Select/Select';
|
|
92
|
-
export { DialSelectField } from './components/SelectField/SelectField';
|
|
93
51
|
export { DialLoadFileArea } from './components/LoadFileArea/LoadFileArea';
|
|
94
52
|
export { DialLoadFileAreaField } from './components/LoadFileArea/LoadFileAreaField';
|
|
95
53
|
export { DialDropdown } from './components/Dropdown/Dropdown';
|
|
96
|
-
export { DialButtonDropdown } from './components/ButtonDropdown/ButtonDropdown';
|
|
97
|
-
export { DialDropdownIcon } from './components/DropdownIcon/DropdownIcon';
|
|
98
|
-
export type { DialDropdownIconProps } from './components/DropdownIcon/DropdownIcon';
|
|
99
54
|
export { EditorThemes } from './types/editor';
|
|
100
55
|
export { ButtonVariant, ButtonAppearance } from './types/button';
|
|
101
56
|
export { RadioGroupOrientation } from './types/radio-group';
|
|
@@ -106,8 +61,6 @@ export { MenuItemMark } from './types/menu-item';
|
|
|
106
61
|
export { ElementSize } from './types/size';
|
|
107
62
|
export { ScreenResolution, TabOrientation, TabStatus, TabView, } from './types/tab';
|
|
108
63
|
export type { DialBreadcrumbPathItem } from './models/breadcrumb';
|
|
109
|
-
export { FormItemOrientation } from './types/form-item';
|
|
110
|
-
export { SelectSize, SelectVariant } from './types/select';
|
|
111
64
|
export { FlexibleActionsDirection } from './types/flexible-actions';
|
|
112
65
|
export { DialItemType } from './types/item';
|
|
113
66
|
export { ResizableContainerSide } from './types/resizable-container';
|
|
@@ -118,7 +71,6 @@ export { StepStatus } from './models/step';
|
|
|
118
71
|
export type { Step } from './models/step';
|
|
119
72
|
export type { RadioButtonWithContent } from './models/radio';
|
|
120
73
|
export type { SelectOption } from './models/select';
|
|
121
|
-
export type { SegmentedControlOption } from './models/segmented-control';
|
|
122
74
|
export type { TabModel } from './models/tab';
|
|
123
75
|
export type { DropdownItem } from './models/dropdown';
|
|
124
76
|
export type { DialModifiedEntity } from './models/base-entity';
|
|
@@ -133,13 +85,10 @@ export type { TimezoneLabelOptions } from './utils/timezone';
|
|
|
133
85
|
export { DIAL_ICON_SIZE, BASE_ICON_PROPS, BASE_ICON_SIZE, } from './constants/icon.ts';
|
|
134
86
|
export { NOT_ALLOWED_SYMBOLS, NOT_ALLOWED_SPACES, NOT_ALLOWED_SYMBOLS_REGEXP, NOT_ALLOWED_SPACES_REGEXP, } from './constants/validation.ts';
|
|
135
87
|
export { DIAL_KIT_CLASS } from './constants/public-class-names';
|
|
136
|
-
export {
|
|
137
|
-
export {
|
|
138
|
-
export type { DialSchemaRendererProps, JsonSchema, JsonSchemaDef, ValidationError, SchemaRendererTexts, } from './components/SchemaRenderer/types';
|
|
88
|
+
export { SchemaRendererVariant, SchemaDisplayMode, SchemaOrientation, JsonSchemaType, } from './types/json-schema';
|
|
89
|
+
export type { JsonSchema, JsonSchemaDef, ValidationError, SchemaRendererTexts, } from './models/json-schema';
|
|
139
90
|
export { SchemaRenderer } from './components/New/SchemaRenderer/SchemaRenderer';
|
|
140
91
|
export type { SchemaRendererProps, SchemaRenderField, } from './components/New/SchemaRenderer/types';
|
|
141
|
-
export { LazyDialJsonEditor } from './components/JsonEditor/lazy';
|
|
142
|
-
export { LazyDialMarkdownEditor } from './components/MarkdownEditor/lazy';
|
|
143
92
|
export { NotificationVariant, NotificationType } from './types/notification.ts';
|
|
144
93
|
export { Notification } from './components/New/Notification/Notification';
|
|
145
94
|
export { Highlight } from './components/New/Highlight/Highlight';
|
|
@@ -1,22 +1,16 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* `@epam/ai-dial-ui-kit/editors` - curated subpath for the
|
|
3
|
-
*
|
|
2
|
+
* `@epam/ai-dial-ui-kit/editors` - curated subpath for the Markdown editor
|
|
3
|
+
* lazy loader.
|
|
4
4
|
*
|
|
5
|
-
* The
|
|
6
|
-
* `src/index.ts` re-exports (`components/
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
*
|
|
12
|
-
* this re-export back to the leaf module to keep attaching lazy-loading
|
|
13
|
-
* metadata to `DialJsonEditor`/`DialMarkdownEditor`/`MarkdownEditor` (2.0)
|
|
5
|
+
* The loader below is re-exported from the same shared leaf module
|
|
6
|
+
* `src/index.ts` re-exports (`components/New/MarkdownEditor/lazy`), so this
|
|
7
|
+
* entry and the root reference one emitted chunk instead of each carrying
|
|
8
|
+
* its own duplicate copy of the loader's `import()` call - see that module's
|
|
9
|
+
* comment for the emitted-topology defect that duplication caused.
|
|
10
|
+
* `src/mcp/generate-manifest.ts` follows this re-export back to the leaf
|
|
11
|
+
* module to keep attaching lazy-loading metadata to `MarkdownEditor` (2.0)
|
|
14
12
|
* in the published MCP component manifest.
|
|
15
13
|
*/
|
|
16
|
-
export { LazyDialJsonEditor } from '../components/JsonEditor/lazy';
|
|
17
|
-
export { LazyDialMarkdownEditor } from '../components/MarkdownEditor/lazy';
|
|
18
14
|
export { LazyMarkdownEditor } from '../components/New/MarkdownEditor/lazy';
|
|
19
|
-
export declare const LazyDialMarkdownEditorContainer: () => Promise<typeof import('../components/MarkdownEditor/MarkdownEditorContainer')>;
|
|
20
15
|
export { EditorThemes } from '../types/editor';
|
|
21
16
|
export type { MarkdownEditorProps } from '../components/New/MarkdownEditor/MarkdownEditor';
|
|
22
|
-
export type { DialMarkdownEditorContainerProps } from '../components/MarkdownEditor/MarkdownEditorContainer';
|
|
@@ -1,19 +1,13 @@
|
|
|
1
1
|
/**
|
|
2
|
-
* `@epam/ai-dial-ui-kit/grid` - curated subpath for
|
|
2
|
+
* `@epam/ai-dial-ui-kit/grid` - curated subpath for the Grid.
|
|
3
3
|
*
|
|
4
4
|
* Re-exports the Grid-related names from the root `src/index.ts` barrel.
|
|
5
5
|
* This subpath is an ergonomic feature boundary, not a substitute for the
|
|
6
6
|
* root entry's own tree-shaking (which
|
|
7
7
|
* `preserveModules` already provides for a root `import { Button } from
|
|
8
8
|
* '@epam/ai-dial-ui-kit'`). Importing from here pulls in ag-grid-community /
|
|
9
|
-
* ag-grid-react, exactly as importing `Grid
|
|
9
|
+
* ag-grid-react, exactly as importing `Grid` from the root does.
|
|
10
10
|
*/
|
|
11
|
-
export { DialGrid } from '../components/Grid/Grid';
|
|
12
|
-
export type { DialGridProps } from '../components/Grid/Grid';
|
|
13
|
-
export { DialDateCellRenderer } from '../components/Grid/renderers/DateCellRenderer';
|
|
14
|
-
export type { DateValue as DialGridDateValue, DialDateCellRendererProps, } from '../components/Grid/renderers/DateCellRenderer';
|
|
15
|
-
export { DEFAULT_DATE_FORMAT_OPTIONS as DEFAULT_GRID_DATE_FORMAT_OPTIONS, DEFAULT_LOCALE as DEFAULT_GRID_DATE_LOCALE, } from '../components/Grid/renderers/constants';
|
|
16
|
-
export { convertToDate as convertGridDateToDate } from '../components/Grid/renderers/utils';
|
|
17
11
|
export { Grid, GRID_SELECTION_COLUMN_ID } from '../components/New/Grid/Grid';
|
|
18
12
|
export type { GridProps } from '../components/New/Grid/Grid';
|
|
19
13
|
export { GridAppearance, GridColorScheme } from '../types/grid';
|
|
@@ -1,9 +1,3 @@
|
|
|
1
|
-
import { editor } from 'monaco-editor';
|
|
2
|
-
export type JSONEditorError = editor.IMarker;
|
|
3
|
-
export type JSONEditorThemeConfig = editor.IStandaloneThemeData;
|
|
4
|
-
export interface JSONEditorErrorNotification extends JSONEditorError {
|
|
5
|
-
id: string;
|
|
6
|
-
}
|
|
7
1
|
export declare enum EditorThemes {
|
|
8
2
|
dark = "dark",
|
|
9
3
|
light = "light"
|
package/dist/src/types/grid.d.ts
CHANGED
|
@@ -9,8 +9,8 @@ export declare enum GridColorScheme {
|
|
|
9
9
|
/**
|
|
10
10
|
* Visual treatment of `Grid`. `Default` is the framed data grid. `Chat` is the
|
|
11
11
|
* "Chat table" of the design: a borderless card with a 12px corner and the MD
|
|
12
|
-
* shadow,
|
|
13
|
-
* selected rows.
|
|
12
|
+
* shadow, 12px of cell padding on both sides, row dividers inset by that
|
|
13
|
+
* padding, and rounded hover and selected rows.
|
|
14
14
|
*/
|
|
15
15
|
export declare enum GridAppearance {
|
|
16
16
|
Default = "default",
|
|
@@ -1,14 +1,12 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Registers AG Grid's community modules and configures its test-id
|
|
3
|
-
* attribute exactly once, the first time
|
|
4
|
-
*
|
|
5
|
-
* was imported or evaluated.
|
|
3
|
+
* attribute exactly once, the first time the Grid actually renders - never
|
|
4
|
+
* merely because a module that re-exports `Grid` was imported or evaluated.
|
|
6
5
|
*
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
10
|
-
*
|
|
11
|
-
* bundler that ends up retaining either Grid module in its graph for some
|
|
6
|
+
* The Grid (`src/components/New/Grid/Grid.tsx`) calls this at the top of its
|
|
7
|
+
* render path instead of running the registration at module scope. That
|
|
8
|
+
* keeps the side effect provably absent from the module body itself: a
|
|
9
|
+
* consumer's bundler that ends up retaining the Grid module in its graph for some
|
|
12
10
|
* other reason (e.g. an eager root-barrel re-export it cannot prove is
|
|
13
11
|
* unused) no longer thereby executes `ag-grid-community`/`ag-grid-react`
|
|
14
12
|
* registration - only actually rendering a Grid does.
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-ui-kit",
|
|
3
|
-
"version": "0.16.0-dev.
|
|
3
|
+
"version": "0.16.0-dev.46",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "A modern UI kit for building AI DIAL interfaces with React",
|
|
@@ -75,7 +75,6 @@
|
|
|
75
75
|
]
|
|
76
76
|
},
|
|
77
77
|
"overrides": {
|
|
78
|
-
"dompurify": "3.4.17",
|
|
79
78
|
"esbuild": "0.28.1",
|
|
80
79
|
"shell-quote": "1.11.0",
|
|
81
80
|
"postcss-selector-parser": "^7.1.6",
|
|
@@ -97,9 +96,7 @@
|
|
|
97
96
|
},
|
|
98
97
|
"peerDependencies": {
|
|
99
98
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
100
|
-
"@monaco-editor/react": "^4.7.0",
|
|
101
99
|
"@uiw/react-md-editor": "^4.1.0",
|
|
102
|
-
"monaco-editor": "^0.55.1",
|
|
103
100
|
"react": "^19.2.5",
|
|
104
101
|
"react-dom": "^19.2.5"
|
|
105
102
|
},
|
|
@@ -107,21 +104,14 @@
|
|
|
107
104
|
"@modelcontextprotocol/sdk": {
|
|
108
105
|
"optional": true
|
|
109
106
|
},
|
|
110
|
-
"@monaco-editor/react": {
|
|
111
|
-
"optional": true
|
|
112
|
-
},
|
|
113
107
|
"@uiw/react-md-editor": {
|
|
114
108
|
"optional": true
|
|
115
|
-
},
|
|
116
|
-
"monaco-editor": {
|
|
117
|
-
"optional": true
|
|
118
109
|
}
|
|
119
110
|
},
|
|
120
111
|
"devDependencies": {
|
|
121
112
|
"@chromatic-com/storybook": "^5.2.1",
|
|
122
113
|
"@eslint/js": "^9.39.2",
|
|
123
114
|
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
124
|
-
"@monaco-editor/react": "^4.7.0",
|
|
125
115
|
"@storybook/addon-a11y": "^10.4.4",
|
|
126
116
|
"@storybook/addon-docs": "^10.4.4",
|
|
127
117
|
"@storybook/addon-vitest": "^10.4.4",
|
|
@@ -153,7 +143,6 @@
|
|
|
153
143
|
"globals": "^16.3.0",
|
|
154
144
|
"jsdom": "^26.1.0",
|
|
155
145
|
"lint-staged": "^16.1.2",
|
|
156
|
-
"monaco-editor": "^0.55.1",
|
|
157
146
|
"postcss": "^8.5.6",
|
|
158
147
|
"prettier": "^3.8.3",
|
|
159
148
|
"sass": "^1.99.0",
|