@epam/ai-dial-ui-kit 0.1.0-rc
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/LICENSE +201 -0
- package/README.md +292 -0
- package/dist/dial-ui-kit.cjs.js +22 -0
- package/dist/dial-ui-kit.es.js +778 -0
- package/dist/index.css +2 -0
- package/dist/src/__mocks__/monaco-editor.d.ts +13 -0
- package/dist/src/components/Button/Button.d.ts +36 -0
- package/dist/src/components/ErrorText/ErrorText.d.ts +15 -0
- package/dist/src/components/Field/Field.d.ts +24 -0
- package/dist/src/components/Icon/Icon.d.ts +18 -0
- package/dist/src/components/Input/Input.d.ts +44 -0
- package/dist/src/components/InputField/InputField.d.ts +92 -0
- package/dist/src/components/JsonEditor/JsonEditor.d.ts +24 -0
- package/dist/src/components/TextAreaField/TextAreaField.d.ts +39 -0
- package/dist/src/components/Textarea/Textarea.d.ts +34 -0
- package/dist/src/components/Tooltip/Tooltip.d.ts +31 -0
- package/dist/src/components/Tooltip/TooltipContainer.d.ts +18 -0
- package/dist/src/components/Tooltip/TooltipContent.d.ts +8 -0
- package/dist/src/components/Tooltip/TooltipContext.d.ts +105 -0
- package/dist/src/components/Tooltip/TooltipTrigger.d.ts +10 -0
- package/dist/src/constants/editor.d.ts +2 -0
- package/dist/src/index.d.ts +11 -0
- package/dist/src/models/field-control-props.d.ts +21 -0
- package/dist/src/types/editor.d.ts +10 -0
- package/package.json +113 -0
package/package.json
ADDED
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "@epam/ai-dial-ui-kit",
|
|
3
|
+
"version": "0.1.0-rc",
|
|
4
|
+
"type": "module",
|
|
5
|
+
"types": "dist/src/index.d.ts",
|
|
6
|
+
"engines": {
|
|
7
|
+
"node": ">=22.2.0",
|
|
8
|
+
"npm": ">=10.7.0"
|
|
9
|
+
},
|
|
10
|
+
"exports": {
|
|
11
|
+
".": {
|
|
12
|
+
"types": "./dist/src/index.d.ts",
|
|
13
|
+
"import": "./dist/dial-ui-kit.es.js",
|
|
14
|
+
"require": "./dist/dial-ui-kit.cjs.js"
|
|
15
|
+
},
|
|
16
|
+
"./styles.css": {
|
|
17
|
+
"require": "./dist/index.css",
|
|
18
|
+
"default": "./dist/index.css"
|
|
19
|
+
}
|
|
20
|
+
},
|
|
21
|
+
"files": [
|
|
22
|
+
"dist"
|
|
23
|
+
],
|
|
24
|
+
"sideEffects": [
|
|
25
|
+
"*.css",
|
|
26
|
+
"*.scss",
|
|
27
|
+
"./src/styles/*",
|
|
28
|
+
"./src/components/JsonEditor/*"
|
|
29
|
+
],
|
|
30
|
+
"scripts": {
|
|
31
|
+
"dev": "vite",
|
|
32
|
+
"build": "tsc -b && vite build && npm run build:css",
|
|
33
|
+
"build:css": "tailwindcss -m -i ./src/styles/tailwind-entry.scss -o ./dist/index.css",
|
|
34
|
+
"lint": "eslint . --ext ts,tsx --fix --report-unused-disable-directives --max-warnings 0",
|
|
35
|
+
"format": "prettier --check .",
|
|
36
|
+
"format-fix": "prettier --write .",
|
|
37
|
+
"preview": "vite preview",
|
|
38
|
+
"storybook": "concurrently 'npm run storybook:css' 'storybook dev -p 6006'",
|
|
39
|
+
"storybook:css": "tailwindcss -w -i ./src/styles/tailwind-entry.scss -o ./src/index.css",
|
|
40
|
+
"build-storybook": "concurrently 'npm run build-storybook:css' 'storybook build'",
|
|
41
|
+
"build-storybook:css": "tailwindcss -m -i ./src/styles/tailwind-entry.scss -o ./src/index.css",
|
|
42
|
+
"prepublishOnly": "npm run build",
|
|
43
|
+
"prepare": "husky",
|
|
44
|
+
"publish": "npm publish --access public",
|
|
45
|
+
"test": "vitest --coverage",
|
|
46
|
+
"storybook-docs": "storybook dev --docs",
|
|
47
|
+
"build-storybook-docs": "storybook build --docs"
|
|
48
|
+
},
|
|
49
|
+
"lint-staged": {
|
|
50
|
+
"*.{ts,tsx}": [
|
|
51
|
+
"npm run lint"
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
"overrides": {
|
|
55
|
+
"esbuild": "0.25.9"
|
|
56
|
+
},
|
|
57
|
+
"peerDependencies": {
|
|
58
|
+
"@monaco-editor/react": "^4.7.0",
|
|
59
|
+
"@tabler/icons-react": "^3.34.1",
|
|
60
|
+
"classnames": "^2.5.1",
|
|
61
|
+
"@floating-ui/react": "^0.27.15",
|
|
62
|
+
"monaco-editor": "^0.52.2",
|
|
63
|
+
"react": "^19.1.0",
|
|
64
|
+
"react-dom": "^19.1.0"
|
|
65
|
+
},
|
|
66
|
+
"devDependencies": {
|
|
67
|
+
"@chromatic-com/storybook": "^4.1.0",
|
|
68
|
+
"@eslint/compat": "^1.3.1",
|
|
69
|
+
"@eslint/eslintrc": "^3.3.1",
|
|
70
|
+
"@eslint/js": "^9.31.0",
|
|
71
|
+
"@storybook/addon-a11y": "^9.1.1",
|
|
72
|
+
"@storybook/addon-docs": "^9.1.1",
|
|
73
|
+
"@storybook/addon-vitest": "^9.1.1",
|
|
74
|
+
"@storybook/react-vite": "^9.1.1",
|
|
75
|
+
"@testing-library/dom": "^10.4.0",
|
|
76
|
+
"@testing-library/react": "^16.3.0",
|
|
77
|
+
"@types/jsdom": "^21.1.7",
|
|
78
|
+
"@types/react": "^19.1.8",
|
|
79
|
+
"@types/react-dom": "^19.1.6",
|
|
80
|
+
"@vitejs/plugin-react": "^4.6.0",
|
|
81
|
+
"@vitest/browser": "^3.2.4",
|
|
82
|
+
"@vitest/coverage-v8": "^3.2.4",
|
|
83
|
+
"autoprefixer": "^10.4.21",
|
|
84
|
+
"concurrently": "^9.2.0",
|
|
85
|
+
"eslint": "^9.30.1",
|
|
86
|
+
"eslint-config-prettier": "^10.1.8",
|
|
87
|
+
"eslint-plugin-import": "2.32.0",
|
|
88
|
+
"eslint-plugin-jsx-a11y": "6.10.2",
|
|
89
|
+
"eslint-plugin-prettier": "^5.5.3",
|
|
90
|
+
"eslint-plugin-react": "7.37.5",
|
|
91
|
+
"eslint-plugin-react-hooks": "^5.2.0",
|
|
92
|
+
"eslint-plugin-react-refresh": "^0.4.20",
|
|
93
|
+
"eslint-plugin-storybook": "^9.1.1",
|
|
94
|
+
"eslint-plugin-tailwindcss": "^3.18.2",
|
|
95
|
+
"globals": "^16.3.0",
|
|
96
|
+
"husky": "^9.1.7",
|
|
97
|
+
"jsdom": "^26.1.0",
|
|
98
|
+
"lint-staged": "^16.1.2",
|
|
99
|
+
"postcss": "^8.5.6",
|
|
100
|
+
"postcss-import": "^16.1.1",
|
|
101
|
+
"prettier": "3.6.2",
|
|
102
|
+
"sass": "^1.89.2",
|
|
103
|
+
"sass-embedded": "^1.89.2",
|
|
104
|
+
"storybook": "^9.1.1",
|
|
105
|
+
"storybook-addon-pseudo-states": "^9.1.1",
|
|
106
|
+
"tailwindcss": "^3.4.17",
|
|
107
|
+
"typescript": "~5.8.3",
|
|
108
|
+
"typescript-eslint": "^8.35.1",
|
|
109
|
+
"vite": "^7.1.5",
|
|
110
|
+
"vite-plugin-dts": "^4.5.4",
|
|
111
|
+
"vitest": "^3.2.4"
|
|
112
|
+
}
|
|
113
|
+
}
|