@epam/ai-dial-ui-kit 0.9.0-rc.2 → 0.9.0-rc.21
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 +9 -2
- package/dist/.cursor/hooks/post-write-verify.d.ts +1 -0
- package/dist/components-manifest.json +4652 -0
- package/dist/dial-ui-kit.cjs.js +28 -28
- package/dist/dial-ui-kit.es.js +13526 -13314
- package/dist/index.css +2 -2
- package/dist/mcp-server.cjs +357 -0
- package/dist/src/components/Alert/Alert.d.ts +1 -0
- package/dist/src/components/Alert/constants.d.ts +1 -1
- package/dist/src/components/AutocompleteInput/AutocompleteInputValue.d.ts +2 -0
- package/dist/src/components/Breadcrumb/Breadcrumb.d.ts +1 -0
- package/dist/src/components/Breadcrumb/BreadcrumbItem.d.ts +1 -1
- package/dist/src/components/Breadcrumb/constants.d.ts +1 -1
- package/dist/src/components/Button/Button.d.ts +1 -0
- package/dist/src/components/ButtonDropdown/ButtonDropdown.d.ts +1 -0
- package/dist/src/components/CaptionText/CaptionText.d.ts +1 -0
- package/dist/src/components/Checkbox/Checkbox.d.ts +1 -0
- package/dist/src/components/CloseButton/CloseButton.d.ts +1 -0
- package/dist/src/components/CollapsibleSidebar/CollapsibleSidebar.d.ts +2 -0
- package/dist/src/components/ConfirmationPopup/ConfirmationPopup.d.ts +1 -0
- package/dist/src/components/DraggableItem/DraggableItem.d.ts +1 -0
- package/dist/src/components/Dropdown/Dropdown.d.ts +2 -0
- package/dist/src/components/EllipsisTooltip/EllipsisTooltip.d.ts +2 -0
- package/dist/src/components/FileIcon/FileIcon.d.ts +1 -0
- package/dist/src/components/FileManager/FileManager.d.ts +17 -13
- package/dist/src/components/FileManager/FileManagerContext.d.ts +4 -0
- package/dist/src/components/FileManager/FileManagerTooltip.d.ts +11 -0
- package/dist/src/components/FileManager/components/DestinationFolderPopup/DestinationFolderPopup.d.ts +1 -0
- package/dist/src/components/FileManager/hooks/use-file-download.d.ts +2 -1
- package/dist/src/components/FileManager/hooks/use-file-manager-columns.d.ts +1 -0
- package/dist/src/components/FileManager/hooks/use-grid-context-menu.d.ts +3 -1
- package/dist/src/components/FileManager/utils.d.ts +3 -0
- package/dist/src/components/FileManager/utils.spec.d.ts +1 -0
- package/dist/src/components/FileName/FileName.d.ts +2 -0
- package/dist/src/components/FolderName/FolderName.d.ts +2 -0
- package/dist/src/components/FormItem/FormItem.d.ts +1 -0
- package/dist/src/components/FormPopup/FormPopup.d.ts +1 -0
- package/dist/src/components/Grid/Grid.d.ts +1 -0
- package/dist/src/components/Icon/Icon.d.ts +1 -0
- package/dist/src/components/IconButton/IconButton.d.ts +1 -0
- package/dist/src/components/Input/Input.d.ts +1 -0
- package/dist/src/components/InputPopup/InputPopup.d.ts +6 -0
- package/dist/src/components/Label/Label.d.ts +1 -0
- package/dist/src/components/LabelledText/LabelledText.d.ts +1 -0
- package/dist/src/components/LoadFileArea/EmptyFileArea.d.ts +3 -0
- package/dist/src/components/LoadFileArea/LoadFileArea.d.ts +2 -0
- package/dist/src/components/LoadFileArea/LoadFileAreaField.d.ts +2 -0
- package/dist/src/components/Loader/Loader.d.ts +1 -0
- package/dist/src/components/NoDataContent/NoDataContent.d.ts +1 -0
- package/dist/src/components/NumberInput/NumberInput.d.ts +1 -0
- package/dist/src/components/PasswordInput/PasswordInput.d.ts +1 -0
- package/dist/src/components/Popup/Popup.d.ts +1 -0
- package/dist/src/components/RadioButton/RadioButton.d.ts +1 -0
- package/dist/src/components/RadioGroup/RadioGroup.d.ts +1 -0
- package/dist/src/components/RadioGroupPopupField/RadioGroupPopupField.d.ts +1 -0
- package/dist/src/components/RemoveButton/RemoveButton.d.ts +1 -0
- package/dist/src/components/ResizableContainer/ConditionalResizableContainer.d.ts +1 -0
- package/dist/src/components/ResizableContainer/ResizableContainer.d.ts +2 -0
- package/dist/src/components/Search/Search.d.ts +2 -0
- package/dist/src/components/Select/Select.d.ts +1 -0
- package/dist/src/components/Select/constants.d.ts +2 -2
- package/dist/src/components/SelectField/SelectField.d.ts +1 -0
- package/dist/src/components/SharedEntityIndicator/SharedEntityIndicator.d.ts +1 -0
- package/dist/src/components/Skeleton/Skeleton.d.ts +1 -0
- package/dist/src/components/Steps/Steps.d.ts +1 -0
- package/dist/src/components/Switch/Switch.d.ts +1 -0
- package/dist/src/components/Tabs/Tabs.d.ts +2 -0
- package/dist/src/components/Tag/Tag.d.ts +2 -0
- package/dist/src/components/TagInput/TagInput.d.ts +2 -0
- package/dist/src/components/Textarea/Textarea.d.ts +1 -0
- package/dist/src/components/Tooltip/Tooltip.d.ts +1 -0
- package/dist/src/index.d.ts +1 -1
- package/dist/src/mcp/generate-manifest.d.ts +1 -0
- package/dist/src/mcp/server.d.ts +1 -0
- package/dist/src/mcp/types.d.ts +54 -0
- package/dist/src/types/file-manager.d.ts +4 -2
- package/package.json +23 -4
package/dist/src/index.d.ts
CHANGED
|
@@ -93,5 +93,5 @@ export { GridSelectionMode } from './models/selection-mode';
|
|
|
93
93
|
export { mergeClasses } from './utils/merge-classes';
|
|
94
94
|
export { wrapInRootFolder } from './utils/flat-to-hierarchy-convertor.ts';
|
|
95
95
|
export { NAME_COLUMN, SIZE_COLUMN, UPDATED_AT_COLUMN, } from './constants/file-grid-columns';
|
|
96
|
-
export
|
|
96
|
+
export { DIAL_ICON_SIZE, BASE_ICON_PROPS, BASE_ICON_SIZE, } from './constants/icon.ts';
|
|
97
97
|
export { NOT_ALLOWED_SYMBOLS, NOT_ALLOWED_SPACES, NOT_ALLOWED_SYMBOLS_REGEXP, NOT_ALLOWED_SPACES_REGEXP, } from './constants/validation.ts';
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,54 @@
|
|
|
1
|
+
export interface PropEntry {
|
|
2
|
+
name: string;
|
|
3
|
+
type: string;
|
|
4
|
+
required: boolean;
|
|
5
|
+
defaultValue?: string;
|
|
6
|
+
description?: string;
|
|
7
|
+
}
|
|
8
|
+
export interface ComponentEntry {
|
|
9
|
+
name: string;
|
|
10
|
+
category: string;
|
|
11
|
+
description: string;
|
|
12
|
+
props: PropEntry[];
|
|
13
|
+
examples: string[];
|
|
14
|
+
sourceFile: string;
|
|
15
|
+
}
|
|
16
|
+
export interface TypeMember {
|
|
17
|
+
name: string;
|
|
18
|
+
value: string;
|
|
19
|
+
comment?: string;
|
|
20
|
+
}
|
|
21
|
+
export interface TypeEntry {
|
|
22
|
+
name: string;
|
|
23
|
+
kind: 'enum' | 'interface' | 'type';
|
|
24
|
+
description?: string;
|
|
25
|
+
members?: TypeMember[];
|
|
26
|
+
typeBody?: string;
|
|
27
|
+
sourceFile: string;
|
|
28
|
+
}
|
|
29
|
+
export interface ExportEntry {
|
|
30
|
+
name: string;
|
|
31
|
+
description?: string;
|
|
32
|
+
signature?: string;
|
|
33
|
+
sourceFile: string;
|
|
34
|
+
}
|
|
35
|
+
export interface KitInfo {
|
|
36
|
+
name: string;
|
|
37
|
+
description: string;
|
|
38
|
+
installation: string;
|
|
39
|
+
cssImport: string;
|
|
40
|
+
peerDependencies: Record<string, string>;
|
|
41
|
+
setupNotes: string;
|
|
42
|
+
}
|
|
43
|
+
export interface Manifest {
|
|
44
|
+
version: string;
|
|
45
|
+
generatedAt: string;
|
|
46
|
+
kit: KitInfo;
|
|
47
|
+
styles: string;
|
|
48
|
+
theming: string;
|
|
49
|
+
components: ComponentEntry[];
|
|
50
|
+
types: TypeEntry[];
|
|
51
|
+
hooks: ExportEntry[];
|
|
52
|
+
utils: ExportEntry[];
|
|
53
|
+
constants: ExportEntry[];
|
|
54
|
+
}
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
export declare enum DialFileManagerTabs {
|
|
2
2
|
MyFiles = "my_files",
|
|
3
3
|
Shared = "shared",
|
|
4
|
-
Organization = "organization"
|
|
4
|
+
Organization = "organization",
|
|
5
|
+
Review = "review"
|
|
5
6
|
}
|
|
6
7
|
export declare enum DialFileManagerActions {
|
|
7
8
|
AddSibling = "addSibling",
|
|
@@ -16,7 +17,8 @@ export declare enum DialFileManagerActions {
|
|
|
16
17
|
Unshare = "unshare",
|
|
17
18
|
RemoveAccess = "removeAccess",
|
|
18
19
|
ManagePermissions = "managePermissions",
|
|
19
|
-
Preview = "preview"
|
|
20
|
+
Preview = "preview",
|
|
21
|
+
OpenInNewTab = "openInNewTab"
|
|
20
22
|
}
|
|
21
23
|
export declare enum DialFileManagerConflictActions {
|
|
22
24
|
Replace = "replace",
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@epam/ai-dial-ui-kit",
|
|
3
|
-
"version": "0.9.0-rc.
|
|
3
|
+
"version": "0.9.0-rc.21",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"description": "A modern UI kit for building AI DIAL interfaces with React",
|
|
@@ -20,6 +20,9 @@
|
|
|
20
20
|
"default": "./dist/index.css"
|
|
21
21
|
}
|
|
22
22
|
},
|
|
23
|
+
"bin": {
|
|
24
|
+
"ai-dial-ui-kit-mcp": "./dist/mcp-server.cjs"
|
|
25
|
+
},
|
|
23
26
|
"files": [
|
|
24
27
|
"dist"
|
|
25
28
|
],
|
|
@@ -32,12 +35,17 @@
|
|
|
32
35
|
],
|
|
33
36
|
"scripts": {
|
|
34
37
|
"dev": "vite",
|
|
35
|
-
"build": "vite build && npm run build:css",
|
|
38
|
+
"build": "vite build && npm run build:css && npm run build:manifest && npm run build:mcp",
|
|
36
39
|
"build:css": "tailwindcss -m -i ./src/styles/tailwind-entry.scss -o ./dist/index.css",
|
|
40
|
+
"build:manifest": "tsx src/mcp/generate-manifest.ts",
|
|
41
|
+
"build:mcp": "node tools/build-mcp.mjs",
|
|
37
42
|
"lint": "eslint . --ext ts,tsx --fix --report-unused-disable-directives --max-warnings 0",
|
|
43
|
+
"lint:check": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
44
|
+
"typecheck": "tsc --noEmit",
|
|
45
|
+
"test:run": "vitest run",
|
|
46
|
+
"verify:agent-hook": "npm run typecheck && npm run lint:check && npm run test:run",
|
|
38
47
|
"format": "prettier --check .",
|
|
39
48
|
"format-fix": "prettier --write .",
|
|
40
|
-
"typecheck": "tsc --noEmit",
|
|
41
49
|
"preview": "vite preview",
|
|
42
50
|
"storybook": "concurrently \"npm run storybook:css\" \"storybook dev -p 6006\"",
|
|
43
51
|
"storybook:css": "tailwindcss -w -i ./src/styles/tailwind-entry.scss -o ./src/index.css",
|
|
@@ -56,7 +64,8 @@
|
|
|
56
64
|
]
|
|
57
65
|
},
|
|
58
66
|
"overrides": {
|
|
59
|
-
"esbuild": "0.25.9"
|
|
67
|
+
"esbuild": "^0.25.9",
|
|
68
|
+
"lodash": "4.18.1"
|
|
60
69
|
},
|
|
61
70
|
"dependencies": {
|
|
62
71
|
"ag-grid-community": "^34.3.0",
|
|
@@ -68,6 +77,7 @@
|
|
|
68
77
|
},
|
|
69
78
|
"peerDependencies": {
|
|
70
79
|
"@floating-ui/react": "^0.27.16",
|
|
80
|
+
"@modelcontextprotocol/sdk": "^1.12.0",
|
|
71
81
|
"@monaco-editor/react": "^4.7.0",
|
|
72
82
|
"@tabler/icons-react": "^3.36.1",
|
|
73
83
|
"@uiw/react-markdown-preview": "^5.1.5",
|
|
@@ -77,11 +87,17 @@
|
|
|
77
87
|
"react": "^19.1.0",
|
|
78
88
|
"react-dom": "^19.1.0"
|
|
79
89
|
},
|
|
90
|
+
"peerDependenciesMeta": {
|
|
91
|
+
"@modelcontextprotocol/sdk": {
|
|
92
|
+
"optional": true
|
|
93
|
+
}
|
|
94
|
+
},
|
|
80
95
|
"devDependencies": {
|
|
81
96
|
"@chromatic-com/storybook": "^4.1.3",
|
|
82
97
|
"@eslint/compat": "^1.3.1",
|
|
83
98
|
"@eslint/eslintrc": "^3.3.1",
|
|
84
99
|
"@eslint/js": "^9.31.0",
|
|
100
|
+
"@modelcontextprotocol/sdk": "^1.29.0",
|
|
85
101
|
"@storybook/addon-a11y": "^10.2.17",
|
|
86
102
|
"@storybook/addon-docs": "^10.2.17",
|
|
87
103
|
"@storybook/addon-vitest": "^10.2.17",
|
|
@@ -89,6 +105,7 @@
|
|
|
89
105
|
"@testing-library/dom": "^10.4.0",
|
|
90
106
|
"@testing-library/react": "^16.3.0",
|
|
91
107
|
"@types/jsdom": "^21.1.7",
|
|
108
|
+
"@types/node": "^22.15.30",
|
|
92
109
|
"@types/react": "^19.1.8",
|
|
93
110
|
"@types/react-dom": "^19.1.6",
|
|
94
111
|
"@vitejs/plugin-react": "^4.6.0",
|
|
@@ -96,6 +113,7 @@
|
|
|
96
113
|
"@vitest/coverage-v8": "^3.2.4",
|
|
97
114
|
"autoprefixer": "^10.4.21",
|
|
98
115
|
"concurrently": "^9.2.0",
|
|
116
|
+
"esbuild": "^0.25.9",
|
|
99
117
|
"eslint": "^9.30.1",
|
|
100
118
|
"eslint-config-prettier": "^10.1.8",
|
|
101
119
|
"eslint-plugin-import": "2.32.0",
|
|
@@ -118,6 +136,7 @@
|
|
|
118
136
|
"storybook": "^10.2.17",
|
|
119
137
|
"storybook-addon-pseudo-states": "^10.2.17",
|
|
120
138
|
"tailwindcss": "^3.4.17",
|
|
139
|
+
"tsx": "^4.20.5",
|
|
121
140
|
"typescript": "~5.9.3",
|
|
122
141
|
"typescript-eslint": "^8.48.0",
|
|
123
142
|
"vite": "^7.1.5",
|