@petnow/ui 4.0.1 → 4.0.2
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.es.js +5431 -7173
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +34 -67
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/ui/button.d.ts +2 -2
- package/package.json +39 -26
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { VariantProps } from 'class-variance-authority';
|
|
2
2
|
declare const buttonVariants: (props?: ({
|
|
3
|
-
variant?: "link" | "
|
|
4
|
-
size?: "
|
|
3
|
+
variant?: "link" | "secondary" | "default" | "outline" | "ghost" | "destructive" | null | undefined;
|
|
4
|
+
size?: "icon" | "default" | "xs" | "sm" | "lg" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
|
|
5
5
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
6
|
declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
|
|
7
7
|
asChild?: boolean;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@petnow/ui",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.2",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite",
|
|
@@ -27,21 +27,17 @@
|
|
|
27
27
|
"react-daum-postcode": "^3.2.0",
|
|
28
28
|
"react-icons": "^5.5.0",
|
|
29
29
|
"react-swipeable-views": "^0.14.1",
|
|
30
|
-
"shadcn": "^4.0.8",
|
|
31
30
|
"tailwind-merge": "^3.3.1",
|
|
32
31
|
"tw-animate-css": "^1.4.0"
|
|
33
32
|
},
|
|
34
33
|
"devDependencies": {
|
|
35
|
-
"@chromatic-com/storybook": "^
|
|
36
|
-
"@storybook/addon-
|
|
37
|
-
"@storybook/addon-
|
|
38
|
-
"@storybook/addon-
|
|
39
|
-
"@storybook/
|
|
40
|
-
"@storybook/
|
|
41
|
-
"@
|
|
42
|
-
"@storybook/react-vite": "^8.4.6",
|
|
43
|
-
"@storybook/test": "^8.4.6",
|
|
44
|
-
"@tailwindcss/postcss": "^4.1.14",
|
|
34
|
+
"@chromatic-com/storybook": "^5.0.2",
|
|
35
|
+
"@storybook/addon-docs": "10.3.1",
|
|
36
|
+
"@storybook/addon-links": "10.3.1",
|
|
37
|
+
"@storybook/addon-onboarding": "10.3.1",
|
|
38
|
+
"@storybook/react": "10.3.1",
|
|
39
|
+
"@storybook/react-vite": "10.3.1",
|
|
40
|
+
"@tailwindcss/postcss": "^4.2.2",
|
|
45
41
|
"@testing-library/jest-dom": "^6.9.0",
|
|
46
42
|
"@testing-library/react": "^16.1.0",
|
|
47
43
|
"@testing-library/user-event": "^14.6.1",
|
|
@@ -49,30 +45,30 @@
|
|
|
49
45
|
"@types/node": "^24.6.2",
|
|
50
46
|
"@types/react": "^19.0.0",
|
|
51
47
|
"@types/react-dom": "^19.0.0",
|
|
52
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
53
|
-
"@typescript-eslint/parser": "^
|
|
54
|
-
"@vitejs/plugin-react": "^
|
|
55
|
-
"eslint": "^
|
|
48
|
+
"@typescript-eslint/eslint-plugin": "^8.57.1",
|
|
49
|
+
"@typescript-eslint/parser": "^8.57.1",
|
|
50
|
+
"@vitejs/plugin-react": "^6.0.1",
|
|
51
|
+
"eslint": "^9.39.4",
|
|
56
52
|
"eslint-plugin-import": "^2.32.0",
|
|
57
|
-
"eslint-plugin-react-hooks": "^
|
|
58
|
-
"eslint-plugin-react-refresh": "^0.
|
|
59
|
-
"eslint-plugin-storybook": "
|
|
53
|
+
"eslint-plugin-react-hooks": "^7.0.1",
|
|
54
|
+
"eslint-plugin-react-refresh": "^0.5.2",
|
|
55
|
+
"eslint-plugin-storybook": "10.3.1",
|
|
60
56
|
"identity-obj-proxy": "^3.0.0",
|
|
61
|
-
"jest": "^30.
|
|
57
|
+
"jest": "^30.3.0",
|
|
62
58
|
"jest-environment-jsdom": "^30.2.0",
|
|
63
|
-
"jest-transformer-svg": "^2.0
|
|
59
|
+
"jest-transformer-svg": "^2.1.0",
|
|
64
60
|
"postcss": "^8.5.6",
|
|
65
61
|
"prettier": "^3.6.2",
|
|
66
62
|
"prettier-plugin-tailwindcss": "^0.6.14",
|
|
67
63
|
"react": "^19.0.0",
|
|
68
64
|
"react-dom": "^19.0.0",
|
|
69
|
-
"
|
|
65
|
+
"shadcn": "^4.0.8",
|
|
66
|
+
"storybook": "10.3.1",
|
|
70
67
|
"tailwindcss": "^4.1.14",
|
|
71
|
-
"ts-jest": "^29.4.
|
|
72
|
-
"ts-node": "^10.9.2",
|
|
68
|
+
"ts-jest": "^29.4.6",
|
|
73
69
|
"typescript": "^5.7.2",
|
|
74
|
-
"vite": "^
|
|
75
|
-
"vite-plugin-dts": "^4.5.
|
|
70
|
+
"vite": "^8.0.1",
|
|
71
|
+
"vite-plugin-dts": "^4.5.4"
|
|
76
72
|
},
|
|
77
73
|
"peerDependencies": {
|
|
78
74
|
"react": "^19.0.0",
|
|
@@ -96,6 +92,23 @@
|
|
|
96
92
|
"tailwind.css",
|
|
97
93
|
"petnow-design-system-v1.css"
|
|
98
94
|
],
|
|
95
|
+
"pnpm": {
|
|
96
|
+
"overrides": {
|
|
97
|
+
"flatted": "^3.4.2",
|
|
98
|
+
"@babel/runtime": "^7.26.10",
|
|
99
|
+
"@microsoft/api-extractor>minimatch": "^3.1.4",
|
|
100
|
+
"eslint-plugin-import>minimatch": "^3.1.4",
|
|
101
|
+
"rollup": "^4.59.0",
|
|
102
|
+
"glob>minimatch": "^9.0.6",
|
|
103
|
+
"@vue/language-core>minimatch": "^9.0.6",
|
|
104
|
+
"@microsoft/api-extractor>lodash": "^4.17.23",
|
|
105
|
+
"@rushstack/node-core-library>ajv": "^8.18.0",
|
|
106
|
+
"@microsoft/tsdoc-config>ajv": "^8.18.0",
|
|
107
|
+
"@istanbuljs/load-nyc-config>js-yaml": "^4.1.1",
|
|
108
|
+
"cosmiconfig>js-yaml": "^4.1.1",
|
|
109
|
+
"ts-node>diff": "^8.0.3"
|
|
110
|
+
}
|
|
111
|
+
},
|
|
99
112
|
"publishConfig": {
|
|
100
113
|
"access": "public"
|
|
101
114
|
}
|