hans-ui-design-lib 0.0.45 → 0.0.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/dist/index.d.ts +3 -4
- package/package.json +3 -20
package/dist/index.d.ts
CHANGED
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { default as default_2 } from '
|
|
2
|
-
import { default as default_3 } from '../../../node_modules/react';
|
|
1
|
+
import { default as default_2 } from 'react';
|
|
3
2
|
import { JSX } from 'react/jsx-runtime';
|
|
4
3
|
|
|
5
4
|
export declare const Button: default_2.MemoExoticComponent<(props: ButtonProps) => JSX.Element>;
|
|
@@ -19,9 +18,9 @@ declare type Color = 'primary' | 'secondary' | 'success' | 'danger' | 'warning'
|
|
|
19
18
|
|
|
20
19
|
export declare const DynamicIconImports: Record<string, () => Promise<IconLibrary>>;
|
|
21
20
|
|
|
22
|
-
export declare const Icon:
|
|
21
|
+
export declare const Icon: default_2.FC<IconProps>;
|
|
23
22
|
|
|
24
|
-
export declare type IconLibrary = Record<string,
|
|
23
|
+
export declare type IconLibrary = Record<string, default_2.ComponentType<default_2.SVGProps<SVGSVGElement>>>;
|
|
25
24
|
|
|
26
25
|
export declare interface IconProps {
|
|
27
26
|
name?: string;
|
package/package.json
CHANGED
|
@@ -2,7 +2,7 @@
|
|
|
2
2
|
"name": "hans-ui-design-lib",
|
|
3
3
|
"description": "UI Design System Base Lib",
|
|
4
4
|
"author": "Victor Hanszman",
|
|
5
|
-
"version": "0.0.
|
|
5
|
+
"version": "0.0.46",
|
|
6
6
|
"type": "module",
|
|
7
7
|
"license": "MIT",
|
|
8
8
|
"main": "dist/index.cjs.js",
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
"copy:assets": "cpx \"src/assets/**/*\" dist/assets",
|
|
35
35
|
"build": "vite build && npm run copy:assets",
|
|
36
36
|
"build-storybook": "storybook build",
|
|
37
|
-
"build-cdn": "
|
|
37
|
+
"build-cdn": "",
|
|
38
38
|
"publish:patch": "npm version patch --no-git-tag-version && npm publish",
|
|
39
39
|
"publish:minor": "npm version minor --no-git-tag-version && npm publish",
|
|
40
40
|
"publish:major": "npm version major --no-git-tag-version && npm publish",
|
|
@@ -58,10 +58,6 @@
|
|
|
58
58
|
}
|
|
59
59
|
},
|
|
60
60
|
"devDependencies": {
|
|
61
|
-
"@babel/core": "^7.28.5",
|
|
62
|
-
"@babel/preset-env": "^7.28.5",
|
|
63
|
-
"@babel/preset-react": "^7.28.5",
|
|
64
|
-
"@babel/preset-typescript": "^7.28.5",
|
|
65
61
|
"@chromatic-com/storybook": "^4.1.1",
|
|
66
62
|
"@eslint/js": "^9.36.0",
|
|
67
63
|
"@storybook/addon-a11y": "^9.1.8",
|
|
@@ -79,10 +75,7 @@
|
|
|
79
75
|
"@vitest/browser": "^3.2.4",
|
|
80
76
|
"@vitest/coverage-v8": "^3.2.4",
|
|
81
77
|
"@vitest/ui": "^3.2.4",
|
|
82
|
-
"babel-loader": "^10.0.0",
|
|
83
|
-
"copy-webpack-plugin": "^13.0.1",
|
|
84
78
|
"cpx": "^1.5.0",
|
|
85
|
-
"css-loader": "^7.1.2",
|
|
86
79
|
"eslint": "^9.36.0",
|
|
87
80
|
"eslint-config-prettier": "^10.1.8",
|
|
88
81
|
"eslint-plugin-react": "^7.37.5",
|
|
@@ -90,10 +83,8 @@
|
|
|
90
83
|
"eslint-plugin-react-refresh": "^0.4.20",
|
|
91
84
|
"eslint-plugin-storybook": "^9.1.8",
|
|
92
85
|
"globals": "^16.4.0",
|
|
93
|
-
"html-webpack-plugin": "^5.6.4",
|
|
94
86
|
"jsdom": "^27.0.0",
|
|
95
87
|
"markdown-to-jsx": "^7.7.15",
|
|
96
|
-
"mini-css-extract-plugin": "^2.9.4",
|
|
97
88
|
"playwright": "^1.55.1",
|
|
98
89
|
"prettier": "^3.6.2",
|
|
99
90
|
"react": "^19.2.0",
|
|
@@ -101,20 +92,12 @@
|
|
|
101
92
|
"react-icons": "^5.5.0",
|
|
102
93
|
"react-to-webcomponent": "^2.0.1",
|
|
103
94
|
"sass": "^1.93.2",
|
|
104
|
-
"source-map-loader": "^5.0.0",
|
|
105
95
|
"storybook": "^9.1.8",
|
|
106
|
-
"style-loader": "^4.0.0",
|
|
107
96
|
"tailwindcss": "^4.1.14",
|
|
108
|
-
"ts-loader": "^9.5.4",
|
|
109
|
-
"tslib": "^2.8.1",
|
|
110
97
|
"typescript": "~5.8.3",
|
|
111
98
|
"typescript-eslint": "^8.44.0",
|
|
112
99
|
"vite": "^7.1.7",
|
|
113
100
|
"vite-plugin-dts": "^4.5.4",
|
|
114
|
-
"vitest": "^3.2.4"
|
|
115
|
-
"webpack": "^5.102.1",
|
|
116
|
-
"webpack-cli": "^6.0.1",
|
|
117
|
-
"webpack-dev-server": "^5.2.2",
|
|
118
|
-
"webpack-merge": "^6.0.1"
|
|
101
|
+
"vitest": "^3.2.4"
|
|
119
102
|
}
|
|
120
103
|
}
|