propro-common-components 0.1.90 → 0.1.92
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/main.css +1 -1
- package/dist/propro-common-components.js +3152 -3150
- package/dist/utils/iconUtils.d.ts +1 -1
- package/package.json +15 -2
@@ -6,5 +6,5 @@ declare global {
|
|
6
6
|
}
|
7
7
|
export type StyleType = 'line' | 'solid' | 'duotone';
|
8
8
|
export declare const searchIcon: (name: string, importMethod?: string) => Promise<(() => unknown)[]>;
|
9
|
-
export declare function loadIcon(name: string, style: StyleType, path?: string): Promise<(() => string | number | true | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal) | null>;
|
9
|
+
export declare function loadIcon(name: string, style: StyleType, path?: string): Promise<(() => string | number | true | React.ReactElement<any, string | React.JSXElementConstructor<any>> | Iterable<React.ReactNode> | React.ReactPortal) | (() => null)>;
|
10
10
|
export declare const getAvailableStyles: (iconName: string, path?: string) => Promise<('line' | 'solid' | 'duotone')[]>;
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "propro-common-components",
|
3
|
-
"version": "0.1.
|
3
|
+
"version": "0.1.92",
|
4
4
|
"type": "module",
|
5
5
|
"main": "dist/propro-common-components.js",
|
6
6
|
"types": "dist/main.d.ts",
|
@@ -12,7 +12,9 @@
|
|
12
12
|
"build": "tsc --p ./tsconfig-build.json && vite build",
|
13
13
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
14
14
|
"preview": "vite preview",
|
15
|
-
"prepublishOnly": "npm run build"
|
15
|
+
"prepublishOnly": "npm run build",
|
16
|
+
"storybook": "storybook dev -p 6006",
|
17
|
+
"build-storybook": "storybook build"
|
16
18
|
},
|
17
19
|
"dependencies": {
|
18
20
|
"@ant-design/icons": "^5.2.6",
|
@@ -54,6 +56,15 @@
|
|
54
56
|
"tailwindcss-animate": "^1.0.7"
|
55
57
|
},
|
56
58
|
"devDependencies": {
|
59
|
+
"@chromatic-com/storybook": "^1.5.0",
|
60
|
+
"@storybook/addon-essentials": "^8.1.5",
|
61
|
+
"@storybook/addon-interactions": "^8.1.5",
|
62
|
+
"@storybook/addon-links": "^8.1.5",
|
63
|
+
"@storybook/addon-onboarding": "^8.1.5",
|
64
|
+
"@storybook/blocks": "^8.1.5",
|
65
|
+
"@storybook/react": "^8.1.5",
|
66
|
+
"@storybook/react-vite": "^8.1.5",
|
67
|
+
"@storybook/test": "^8.1.5",
|
57
68
|
"@tailwindcss/forms": "^0.5.7",
|
58
69
|
"@tailwindcss/typography": "^0.5.10",
|
59
70
|
"@types/node": "^20.11.5",
|
@@ -67,10 +78,12 @@
|
|
67
78
|
"eslint": "^8.55.0",
|
68
79
|
"eslint-plugin-react-hooks": "^4.6.0",
|
69
80
|
"eslint-plugin-react-refresh": "^0.4.5",
|
81
|
+
"eslint-plugin-storybook": "^0.8.0",
|
70
82
|
"glob": "^10.3.10",
|
71
83
|
"postcss": "^8.4.33",
|
72
84
|
"react": "^18.2.0",
|
73
85
|
"react-dom": "^18.2.0",
|
86
|
+
"storybook": "^8.1.5",
|
74
87
|
"tailwindcss": "^3.4.1",
|
75
88
|
"typescript": "^5.2.2",
|
76
89
|
"vite": "^5.0.8",
|