@petnow/ui 1.6.11 → 1.6.12
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 +2915 -2895
- package/dist/index.es.js.map +1 -1
- package/dist/index.umd.js +13 -13
- package/dist/index.umd.js.map +1 -1
- package/dist/src/components/button/CtaButton.stories.d.ts +1 -1
- package/dist/src/components/card/AccordionCard.d.ts +2 -2
- package/dist/src/components/checkbox/Checkbox.stories.d.ts +1 -1
- package/dist/src/components/modal/Modal.stories.d.ts +1 -1
- package/package.json +13 -11
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as CtaButton } from './CtaButton.tsx';
|
|
2
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { default as CtaButton } from './CtaButton.tsx';
|
|
3
3
|
declare const meta: Meta<typeof CtaButton>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof CtaButton>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
import { JSXElementConstructor, ReactElement,
|
|
1
|
+
import { JSXElementConstructor, ReactElement, ReactNode } from 'react';
|
|
2
2
|
interface Props {
|
|
3
3
|
title: string;
|
|
4
|
-
description: string | ReactElement<string | JSXElementConstructor<unknown>> |
|
|
4
|
+
description: string | ReactElement<string | JSXElementConstructor<unknown>> | ReactNode;
|
|
5
5
|
titleTextClassName?: string;
|
|
6
6
|
descriptionTextClassName?: string;
|
|
7
7
|
}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { default as Checkbox } from './Checkbox.tsx';
|
|
2
1
|
import { Meta, StoryObj } from '@storybook/react';
|
|
2
|
+
import { default as Checkbox } from './Checkbox.tsx';
|
|
3
3
|
declare const meta: Meta<typeof Checkbox>;
|
|
4
4
|
export default meta;
|
|
5
5
|
type Story = StoryObj<typeof Checkbox>;
|
package/package.json
CHANGED
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@petnow/ui",
|
|
3
|
-
"version": "1.6.
|
|
3
|
+
"version": "1.6.12",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"scripts": {
|
|
6
6
|
"dev": "vite",
|
|
7
7
|
"build": "tsc && vite build && npm run tailwind",
|
|
8
8
|
"tailwind": "npx tailwindcss -i ./src/index.css -o ./dist/index.css --minify",
|
|
9
9
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
10
|
+
"lint:fix": "eslint . --ext ts,tsx --fix",
|
|
10
11
|
"preview": "vite preview",
|
|
11
12
|
"storybook": "storybook dev -p 6006",
|
|
12
13
|
"build-storybook": "storybook build",
|
|
@@ -18,17 +19,17 @@
|
|
|
18
19
|
"clsx": "^2.1.1",
|
|
19
20
|
"date-fns": "^4.1.0",
|
|
20
21
|
"react": "^18.2.0",
|
|
21
|
-
"react-datepicker": "^7.
|
|
22
|
+
"react-datepicker": "^7.5.0",
|
|
22
23
|
"react-daum-postcode": "^3.1.3",
|
|
23
24
|
"react-dom": "^18.2.0",
|
|
24
25
|
"react-icons": "^5.3.0",
|
|
25
|
-
"tailwind-merge": "^2.5.
|
|
26
|
+
"tailwind-merge": "^2.5.5"
|
|
26
27
|
},
|
|
27
28
|
"devDependencies": {
|
|
28
|
-
"@chromatic-com/storybook": "^
|
|
29
|
+
"@chromatic-com/storybook": "^3.2.2",
|
|
29
30
|
"@storybook/addon-essentials": "^8.2.9",
|
|
30
31
|
"@storybook/addon-interactions": "^8.2.9",
|
|
31
|
-
"@storybook/addon-links": "^8.
|
|
32
|
+
"@storybook/addon-links": "^8.2.9",
|
|
32
33
|
"@storybook/addon-onboarding": "^8.2.9",
|
|
33
34
|
"@storybook/blocks": "^8.2.9",
|
|
34
35
|
"@storybook/react": "^8.2.9",
|
|
@@ -37,14 +38,15 @@
|
|
|
37
38
|
"@testing-library/jest-dom": "^6.6.3",
|
|
38
39
|
"@testing-library/react": "^16.0.1",
|
|
39
40
|
"@testing-library/user-event": "^14.5.2",
|
|
40
|
-
"@types/jest": "^29.5.
|
|
41
|
-
"@types/react": "^18.3.
|
|
41
|
+
"@types/jest": "^29.5.14",
|
|
42
|
+
"@types/react": "^18.3.12",
|
|
42
43
|
"@types/react-dom": "^18.3.1",
|
|
43
44
|
"@typescript-eslint/eslint-plugin": "^7.18.0",
|
|
44
45
|
"@typescript-eslint/parser": "^7.18.0",
|
|
45
|
-
"@vitejs/plugin-react": "^4.3.
|
|
46
|
+
"@vitejs/plugin-react": "^4.3.4",
|
|
46
47
|
"autoprefixer": "^10.4.20",
|
|
47
48
|
"eslint": "^8.57.0",
|
|
49
|
+
"eslint-plugin-import": "^2.31.0",
|
|
48
50
|
"eslint-plugin-react-hooks": "^5.0.0",
|
|
49
51
|
"eslint-plugin-react-refresh": "^0.4.14",
|
|
50
52
|
"eslint-plugin-storybook": "^0.11.1",
|
|
@@ -53,10 +55,10 @@
|
|
|
53
55
|
"jest-environment-jsdom": "^29.7.0",
|
|
54
56
|
"jest-transformer-svg": "^2.0.2",
|
|
55
57
|
"postcss": "^8.4.49",
|
|
56
|
-
"prettier": "^3.
|
|
58
|
+
"prettier": "^3.4.1",
|
|
57
59
|
"prettier-plugin-tailwindcss": "^0.6.9",
|
|
58
|
-
"storybook": "^8.
|
|
59
|
-
"tailwindcss": "^3.4.
|
|
60
|
+
"storybook": "^8.4.5",
|
|
61
|
+
"tailwindcss": "^3.4.15",
|
|
60
62
|
"ts-jest": "^29.2.5",
|
|
61
63
|
"ts-node": "^10.9.2",
|
|
62
64
|
"typescript": "^5.7.2",
|