@epam/ai-dial-ui-kit 0.13.0-dev.40 → 0.13.0-dev.43
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 +3 -0
- package/dist/CHANGELOG.md +8 -0
- package/dist/{JsonEditor-BEJaiIby.js → JsonEditor-4-qZCNDm.js} +1 -1
- package/dist/{JsonEditor-Buuy0b39.cjs → JsonEditor-xygieb6H.cjs} +1 -1
- package/dist/{MarkdownEditor-CyL_NTT9.cjs → MarkdownEditor-C-hCTUCX.cjs} +1 -1
- package/dist/MarkdownEditor-CLQJUjhx.js +75 -0
- package/dist/MarkdownEditor-Ckw8Z46X.cjs +1 -0
- package/dist/{MarkdownEditor-DID4gX3X.js → MarkdownEditor-DQj20dnS.js} +1 -1
- package/dist/components-manifest.json +2602 -407
- package/dist/dial-ui-kit.cjs.js +1 -1
- package/dist/dial-ui-kit.es.js +187 -178
- package/dist/{index-B9VwNsnG.cjs → index-Bo9jrbul.cjs} +31 -31
- package/dist/{index-orz_ei2U.js → index-Cs-3n-3R.js} +20588 -19454
- package/dist/index.css +2 -2
- package/dist/mcp-server.cjs +29 -9
- package/dist/src/components/New/CloseButton/CloseButton.d.ts +32 -0
- package/dist/src/components/New/ConfirmationPopup/ConfirmationPopup.d.ts +54 -0
- package/dist/src/components/New/ConfirmationPopup/constants.d.ts +14 -0
- package/dist/src/components/New/Dropdown/Dropdown.d.ts +86 -0
- package/dist/src/components/New/Dropdown/DropdownSubMenuItem.d.ts +8 -0
- package/dist/src/components/New/Dropdown/constants.d.ts +9 -0
- package/dist/src/components/New/InfoButton/InfoButton.stories.d.ts +0 -5
- package/dist/src/components/New/Input/Input.d.ts +9 -0
- package/dist/src/components/New/MarkdownEditor/MarkdownEditor.d.ts +32 -0
- package/dist/src/components/New/MarkdownEditor/constants.d.ts +15 -0
- package/dist/src/components/New/NumberInput/NumberInput.d.ts +35 -0
- package/dist/src/components/New/PasswordInput/PasswordInput.d.ts +32 -0
- package/dist/src/components/New/Popup/Popup.d.ts +68 -0
- package/dist/src/components/New/Popup/constants.d.ts +10 -0
- package/dist/src/components/New/Select/MultiSelectTags.d.ts +16 -0
- package/dist/src/components/New/Select/Select.d.ts +109 -0
- package/dist/src/components/New/Select/SelectSubMenuItem.d.ts +8 -0
- package/dist/src/components/New/Select/constants.d.ts +32 -0
- package/dist/src/components/New/constants/overlay.d.ts +24 -0
- package/dist/src/components/Skeleton/Skeleton.d.ts +18 -18
- package/dist/src/components/Skeleton/utils.d.ts +2 -2
- package/dist/src/index.d.ts +20 -2
- package/dist/src/mcp/types.d.ts +12 -0
- package/dist/src/types/skeleton.d.ts +3 -3
- package/dist/src/utils/sub-menu-floating.d.ts +7 -1
- package/package.json +1 -1
package/dist/src/index.d.ts
CHANGED
|
@@ -46,7 +46,7 @@ export { DialFileName } from './components/FileName/FileName';
|
|
|
46
46
|
export { DialFolderName } from './components/FolderName/FolderName';
|
|
47
47
|
export { DialResizableContainer } from './components/ResizableContainer/ResizableContainer';
|
|
48
48
|
export { DialConditionalResizableContainer } from './components/ResizableContainer/ConditionalResizableContainer';
|
|
49
|
-
export {
|
|
49
|
+
export { Skeleton } from './components/Skeleton/Skeleton';
|
|
50
50
|
export { DialGrid } from './components/Grid/Grid';
|
|
51
51
|
export type { DialGridProps } from './components/Grid/Grid';
|
|
52
52
|
export { DialDateCellRenderer } from './components/Grid/renderers/DateCellRenderer';
|
|
@@ -116,7 +116,7 @@ export { DialFileManagerTabs, DialFileManagerActions, FileManagerColumnKey, } fr
|
|
|
116
116
|
export { FlexibleActionsDirection } from './types/flexible-actions';
|
|
117
117
|
export { DialItemType } from './types/item';
|
|
118
118
|
export { ResizableContainerSide } from './types/resizable-container';
|
|
119
|
-
export {
|
|
119
|
+
export { SkeletonVariant, SkeletonAvatarSize, SkeletonAvatarShape, } from './types/skeleton';
|
|
120
120
|
export { useDialFileManagerTabs } from './components/FileManager/hooks/use-file-manager-tabs';
|
|
121
121
|
export { EDITABLE_CONTAINER_ATTRIBUTE, editableContainerProps, useEditableItem, } from './hooks/use-editable-item';
|
|
122
122
|
export type { UseEditableItemOptions } from './hooks/use-editable-item';
|
|
@@ -166,8 +166,14 @@ export { FabButton } from './components/FabButton/FabButton';
|
|
|
166
166
|
export type { FabButtonProps } from './components/FabButton/FabButton';
|
|
167
167
|
export { ButtonDropdown } from './components/New/ButtonDropdown/ButtonDropdown';
|
|
168
168
|
export type { ButtonDropdownProps } from './components/New/ButtonDropdown/ButtonDropdown';
|
|
169
|
+
export type { MarkdownEditorProps } from './components/New/MarkdownEditor/MarkdownEditor';
|
|
170
|
+
export declare const LazyMarkdownEditor: () => Promise<typeof import("./components/New/MarkdownEditor/MarkdownEditor")>;
|
|
169
171
|
export { InlineSelect, InlineSelectTrigger, } from './components/New/InlineSelect/InlineSelect';
|
|
170
172
|
export type { InlineSelectProps, InlineSelectTriggerProps, } from './components/New/InlineSelect/InlineSelect';
|
|
173
|
+
export { Select } from './components/New/Select/Select';
|
|
174
|
+
export type { SelectProps } from './components/New/Select/Select';
|
|
175
|
+
export { MultiSelectTags } from './components/New/Select/MultiSelectTags';
|
|
176
|
+
export type { MultiSelectTagsProps } from './components/New/Select/MultiSelectTags';
|
|
171
177
|
export { InfoButton } from './components/New/InfoButton/InfoButton';
|
|
172
178
|
export type { InfoButtonProps } from './components/New/InfoButton/InfoButton';
|
|
173
179
|
export type { LabelProps } from './components/New/Label/Label';
|
|
@@ -175,6 +181,18 @@ export { Label } from './components/New/Label/Label';
|
|
|
175
181
|
export { Textarea } from './components/New/Textarea/Textarea';
|
|
176
182
|
export { Input } from './components/New/Input/Input';
|
|
177
183
|
export type { InputProps } from './components/New/Input/Input';
|
|
184
|
+
export { PasswordInput } from './components/New/PasswordInput/PasswordInput';
|
|
185
|
+
export type { PasswordInputProps } from './components/New/PasswordInput/PasswordInput';
|
|
186
|
+
export { NumberInput } from './components/New/NumberInput/NumberInput';
|
|
187
|
+
export type { NumberInputProps } from './components/New/NumberInput/NumberInput';
|
|
188
|
+
export { Popup } from './components/New/Popup/Popup';
|
|
189
|
+
export type { PopupProps } from './components/New/Popup/Popup';
|
|
190
|
+
export { CloseButton } from './components/New/CloseButton/CloseButton';
|
|
191
|
+
export type { CloseButtonProps } from './components/New/CloseButton/CloseButton';
|
|
192
|
+
export { ConfirmationPopup } from './components/New/ConfirmationPopup/ConfirmationPopup';
|
|
193
|
+
export type { ConfirmationPopupProps } from './components/New/ConfirmationPopup/ConfirmationPopup';
|
|
194
|
+
export { Dropdown } from './components/New/Dropdown/Dropdown';
|
|
195
|
+
export type { DropdownProps } from './components/New/Dropdown/Dropdown';
|
|
178
196
|
export type { TextareaProps } from './components/New/Textarea/Textarea';
|
|
179
197
|
export type { CaptionTextProps } from './components/New/CaptionText/CaptionText';
|
|
180
198
|
export { CaptionText, ErrorText, } from './components/New/CaptionText/CaptionText';
|
package/dist/src/mcp/types.d.ts
CHANGED
|
@@ -11,9 +11,21 @@ export interface LazyComponentEntry {
|
|
|
11
11
|
ssr: false;
|
|
12
12
|
nextDynamicExample: string;
|
|
13
13
|
}
|
|
14
|
+
/**
|
|
15
|
+
* Component generation. `2.0` components live under `src/components/New/` and
|
|
16
|
+
* are exported without the `Dial` prefix; everything else is `1.0`.
|
|
17
|
+
*/
|
|
18
|
+
export type ComponentGeneration = '1.0' | '2.0';
|
|
14
19
|
export interface ComponentEntry {
|
|
15
20
|
name: string;
|
|
16
21
|
category: string;
|
|
22
|
+
/** `2.0` components are the current design system and should be preferred. */
|
|
23
|
+
generation: ComponentGeneration;
|
|
24
|
+
/**
|
|
25
|
+
* Present on `1.0` components that have a `2.0` replacement — the name of
|
|
26
|
+
* that replacement (e.g. `DialButton` → `Button`).
|
|
27
|
+
*/
|
|
28
|
+
supersededBy?: string;
|
|
17
29
|
description: string;
|
|
18
30
|
props: PropEntry[];
|
|
19
31
|
examples: string[];
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
export declare enum
|
|
1
|
+
export declare enum SkeletonVariant {
|
|
2
2
|
Default = "default",
|
|
3
3
|
Text = "text",
|
|
4
4
|
Circular = "circular",
|
|
5
5
|
Rectangular = "rectangular"
|
|
6
6
|
}
|
|
7
|
-
export declare enum
|
|
7
|
+
export declare enum SkeletonAvatarSize {
|
|
8
8
|
Small = "small",
|
|
9
9
|
Default = "default",
|
|
10
10
|
Large = "large"
|
|
11
11
|
}
|
|
12
|
-
export declare enum
|
|
12
|
+
export declare enum SkeletonAvatarShape {
|
|
13
13
|
Circle = "circle",
|
|
14
14
|
Square = "square"
|
|
15
15
|
}
|
|
@@ -39,6 +39,12 @@ interface SubMenuPanelProps {
|
|
|
39
39
|
context: ReturnType<typeof useSubMenuFloating>['context'];
|
|
40
40
|
getFloatingProps: ReturnType<typeof useSubMenuFloating>['getFloatingProps'];
|
|
41
41
|
role: 'menu' | 'listbox';
|
|
42
|
+
/**
|
|
43
|
+
* Replaces the surface tokens — radius, background, shadow, inset. The 2.0
|
|
44
|
+
* menus pass their own overlay surface so a submenu is the same object as the
|
|
45
|
+
* panel that opened it; the 1.0 menus keep the default.
|
|
46
|
+
*/
|
|
47
|
+
surfaceClassName?: string;
|
|
42
48
|
/** Extra classes appended to the default floating container classes. */
|
|
43
49
|
className?: string;
|
|
44
50
|
children: ReactNode;
|
|
@@ -47,5 +53,5 @@ interface SubMenuPanelProps {
|
|
|
47
53
|
* Shared floating panel wrapper (FloatingPortal → FloatingFocusManager → container div).
|
|
48
54
|
* Used by DropdownSubMenuItem and SelectSubMenuItem.
|
|
49
55
|
*/
|
|
50
|
-
export declare const SubMenuPanel: ({ refs, floatingStyles, context, getFloatingProps, role, className, children, }: SubMenuPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
56
|
+
export declare const SubMenuPanel: ({ refs, floatingStyles, context, getFloatingProps, role, surfaceClassName, className, children, }: SubMenuPanelProps) => import("react/jsx-runtime").JSX.Element;
|
|
51
57
|
export {};
|