@petnow/ui 4.0.0 → 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.css +1 -1
- 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 -27
- package/tailwind.css +4 -3
|
@@ -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",
|
|
@@ -15,7 +15,6 @@
|
|
|
15
15
|
"format:fix": "prettier . --write"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@fontsource-variable/geist": "^5.2.8",
|
|
19
18
|
"@headlessui/react": "^2.2.9",
|
|
20
19
|
"@types/react-swipeable-views": "^0.13.6",
|
|
21
20
|
"class-variance-authority": "^0.7.1",
|
|
@@ -28,21 +27,17 @@
|
|
|
28
27
|
"react-daum-postcode": "^3.2.0",
|
|
29
28
|
"react-icons": "^5.5.0",
|
|
30
29
|
"react-swipeable-views": "^0.14.1",
|
|
31
|
-
"shadcn": "^4.0.8",
|
|
32
30
|
"tailwind-merge": "^3.3.1",
|
|
33
31
|
"tw-animate-css": "^1.4.0"
|
|
34
32
|
},
|
|
35
33
|
"devDependencies": {
|
|
36
|
-
"@chromatic-com/storybook": "^
|
|
37
|
-
"@storybook/addon-
|
|
38
|
-
"@storybook/addon-
|
|
39
|
-
"@storybook/addon-
|
|
40
|
-
"@storybook/
|
|
41
|
-
"@storybook/
|
|
42
|
-
"@
|
|
43
|
-
"@storybook/react-vite": "^8.4.6",
|
|
44
|
-
"@storybook/test": "^8.4.6",
|
|
45
|
-
"@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",
|
|
46
41
|
"@testing-library/jest-dom": "^6.9.0",
|
|
47
42
|
"@testing-library/react": "^16.1.0",
|
|
48
43
|
"@testing-library/user-event": "^14.6.1",
|
|
@@ -50,30 +45,30 @@
|
|
|
50
45
|
"@types/node": "^24.6.2",
|
|
51
46
|
"@types/react": "^19.0.0",
|
|
52
47
|
"@types/react-dom": "^19.0.0",
|
|
53
|
-
"@typescript-eslint/eslint-plugin": "^
|
|
54
|
-
"@typescript-eslint/parser": "^
|
|
55
|
-
"@vitejs/plugin-react": "^
|
|
56
|
-
"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",
|
|
57
52
|
"eslint-plugin-import": "^2.32.0",
|
|
58
|
-
"eslint-plugin-react-hooks": "^
|
|
59
|
-
"eslint-plugin-react-refresh": "^0.
|
|
60
|
-
"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",
|
|
61
56
|
"identity-obj-proxy": "^3.0.0",
|
|
62
|
-
"jest": "^30.
|
|
57
|
+
"jest": "^30.3.0",
|
|
63
58
|
"jest-environment-jsdom": "^30.2.0",
|
|
64
|
-
"jest-transformer-svg": "^2.0
|
|
59
|
+
"jest-transformer-svg": "^2.1.0",
|
|
65
60
|
"postcss": "^8.5.6",
|
|
66
61
|
"prettier": "^3.6.2",
|
|
67
62
|
"prettier-plugin-tailwindcss": "^0.6.14",
|
|
68
63
|
"react": "^19.0.0",
|
|
69
64
|
"react-dom": "^19.0.0",
|
|
70
|
-
"
|
|
65
|
+
"shadcn": "^4.0.8",
|
|
66
|
+
"storybook": "10.3.1",
|
|
71
67
|
"tailwindcss": "^4.1.14",
|
|
72
|
-
"ts-jest": "^29.4.
|
|
73
|
-
"ts-node": "^10.9.2",
|
|
68
|
+
"ts-jest": "^29.4.6",
|
|
74
69
|
"typescript": "^5.7.2",
|
|
75
|
-
"vite": "^
|
|
76
|
-
"vite-plugin-dts": "^4.5.
|
|
70
|
+
"vite": "^8.0.1",
|
|
71
|
+
"vite-plugin-dts": "^4.5.4"
|
|
77
72
|
},
|
|
78
73
|
"peerDependencies": {
|
|
79
74
|
"react": "^19.0.0",
|
|
@@ -97,6 +92,23 @@
|
|
|
97
92
|
"tailwind.css",
|
|
98
93
|
"petnow-design-system-v1.css"
|
|
99
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
|
+
},
|
|
100
112
|
"publishConfig": {
|
|
101
113
|
"access": "public"
|
|
102
114
|
}
|
package/tailwind.css
CHANGED
|
@@ -6,8 +6,6 @@
|
|
|
6
6
|
|
|
7
7
|
@import "shadcn/tailwind.css";
|
|
8
8
|
|
|
9
|
-
@import "@fontsource-variable/geist";
|
|
10
|
-
|
|
11
9
|
@custom-variant dark (&:is(.dark *));
|
|
12
10
|
|
|
13
11
|
@theme {
|
|
@@ -233,7 +231,10 @@
|
|
|
233
231
|
}
|
|
234
232
|
|
|
235
233
|
@theme inline {
|
|
236
|
-
--font-sans:
|
|
234
|
+
--font-sans:
|
|
235
|
+
"Pretendard Variable", Pretendard, -apple-system, BlinkMacSystemFont, system-ui, Roboto, "Helvetica Neue",
|
|
236
|
+
"Segoe UI", "Apple SD Gothic Neo", "Noto Sans KR", "Malgun Gothic", "Apple Color Emoji", "Segoe UI Emoji",
|
|
237
|
+
"Segoe UI Symbol", sans-serif;
|
|
237
238
|
--color-sidebar-ring: var(--sidebar-ring);
|
|
238
239
|
--color-sidebar-border: var(--sidebar-border);
|
|
239
240
|
--color-sidebar-accent-foreground: var(--sidebar-accent-foreground);
|