@petnow/ui 2.4.3 → 2.4.5
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 +2 -2
- package/dist/index.es.js +5191 -5122
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +23 -23
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/mobile/checkbox/Checkbox.d.ts +1 -1
- package/dist/src/components/mobile/popup/Popup.d.ts +3 -1
- package/dist/src/components/mobile/popup/Popup.stories.d.ts +1 -0
- package/dist/src/components/mobile/radio/Radio.d.ts +1 -1
- package/package.json +9 -9
|
@@ -2,7 +2,7 @@ import { ReactNode } from 'react';
|
|
|
2
2
|
interface Props {
|
|
3
3
|
isOpen: boolean;
|
|
4
4
|
setIsOpen: (newState: boolean) => void;
|
|
5
|
-
onClose
|
|
5
|
+
onClose?: () => void;
|
|
6
6
|
title?: string | ReactNode;
|
|
7
7
|
image?: Image;
|
|
8
8
|
description?: string | ReactNode;
|
|
@@ -23,9 +23,11 @@ interface Image {
|
|
|
23
23
|
interface Confirm {
|
|
24
24
|
text: string;
|
|
25
25
|
onClick: () => void;
|
|
26
|
+
disabled?: boolean;
|
|
26
27
|
}
|
|
27
28
|
interface Cancel {
|
|
28
29
|
text: string;
|
|
30
|
+
disabled?: boolean;
|
|
29
31
|
}
|
|
30
32
|
declare const Popup: (props: Props) => import("react/jsx-runtime").JSX.Element;
|
|
31
33
|
export default Popup;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@petnow/ui",
|
|
3
|
-
"version": "2.4.
|
|
3
|
+
"version": "2.4.5",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite",
|
|
@@ -15,7 +15,7 @@
|
|
|
15
15
|
"format:fix": "prettier . --write"
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
|
-
"@headlessui/react": "^2.2.
|
|
18
|
+
"@headlessui/react": "^2.2.9",
|
|
19
19
|
"@types/react-swipeable-views": "^0.13.6",
|
|
20
20
|
"clsx": "^2.1.1",
|
|
21
21
|
"date-fns": "^4.1.0",
|
|
@@ -25,7 +25,7 @@
|
|
|
25
25
|
"react-daum-postcode": "^3.2.0",
|
|
26
26
|
"react-dom": "^18.2.0",
|
|
27
27
|
"react-icons": "^5.5.0",
|
|
28
|
-
"react-swipeable-views": "^0.14.
|
|
28
|
+
"react-swipeable-views": "^0.14.1",
|
|
29
29
|
"tailwind-merge": "^3.3.1"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
@@ -38,12 +38,12 @@
|
|
|
38
38
|
"@storybook/react": "^8.4.6",
|
|
39
39
|
"@storybook/react-vite": "^8.4.6",
|
|
40
40
|
"@storybook/test": "^8.4.6",
|
|
41
|
-
"@tailwindcss/postcss": "^4.1.
|
|
42
|
-
"@testing-library/jest-dom": "^6.
|
|
41
|
+
"@tailwindcss/postcss": "^4.1.14",
|
|
42
|
+
"@testing-library/jest-dom": "^6.9.0",
|
|
43
43
|
"@testing-library/react": "^16.1.0",
|
|
44
44
|
"@testing-library/user-event": "^14.6.1",
|
|
45
45
|
"@types/jest": "^30.0.0",
|
|
46
|
-
"@types/node": "^24.
|
|
46
|
+
"@types/node": "^24.6.2",
|
|
47
47
|
"@types/react": "^18.3.12",
|
|
48
48
|
"@types/react-dom": "^18.3.1",
|
|
49
49
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
@@ -52,17 +52,17 @@
|
|
|
52
52
|
"eslint": "^8.57.0",
|
|
53
53
|
"eslint-plugin-import": "^2.32.0",
|
|
54
54
|
"eslint-plugin-react-hooks": "^5.2.0",
|
|
55
|
-
"eslint-plugin-react-refresh": "^0.4.
|
|
55
|
+
"eslint-plugin-react-refresh": "^0.4.22",
|
|
56
56
|
"eslint-plugin-storybook": "^9.0.7",
|
|
57
57
|
"identity-obj-proxy": "^3.0.0",
|
|
58
|
-
"jest": "^30.0
|
|
58
|
+
"jest": "^30.2.0",
|
|
59
59
|
"jest-environment-jsdom": "^30.2.0",
|
|
60
60
|
"jest-transformer-svg": "^2.0.2",
|
|
61
61
|
"postcss": "^8.5.6",
|
|
62
62
|
"prettier": "^3.6.2",
|
|
63
63
|
"prettier-plugin-tailwindcss": "^0.6.14",
|
|
64
64
|
"storybook": "^8.5.3",
|
|
65
|
-
"tailwindcss": "^4.1.
|
|
65
|
+
"tailwindcss": "^4.1.14",
|
|
66
66
|
"ts-jest": "^29.4.4",
|
|
67
67
|
"ts-node": "^10.9.2",
|
|
68
68
|
"typescript": "^5.7.2",
|