@petnow/ui 3.0.3 → 4.0.0

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.
Files changed (74) hide show
  1. package/dist/index.css +2 -2
  2. package/dist/index.d.ts +23 -12
  3. package/dist/index.es.js +4068 -15074
  4. package/dist/index.es.js.map +1 -1
  5. package/dist/index.umd.js +57 -48
  6. package/dist/index.umd.js.map +1 -1
  7. package/dist/jest.setup.d.ts +0 -0
  8. package/dist/src/components/ui/button.d.ts +9 -0
  9. package/dist/src/components/ui/dialog.d.ts +13 -0
  10. package/dist/src/components/{mobile → v0}/tabs/Tabs.d.ts +1 -1
  11. package/dist/src/components/v1/badge/Badge.d.ts +15 -0
  12. package/dist/src/components/v1/badge/Badge.stories.d.ts +10 -0
  13. package/dist/src/components/v1/chip/Chip.d.ts +11 -0
  14. package/dist/src/components/v1/chip/Chip.stories.d.ts +10 -0
  15. package/dist/src/components/v1/cta-button/CTAButton.d.ts +15 -0
  16. package/dist/src/components/v1/cta-button/CTAButton.stories.d.ts +11 -0
  17. package/dist/src/components/v1/icons/action/CancelFilledIcon.d.ts +3 -0
  18. package/dist/src/components/v1/icons/action/CancelIcon.d.ts +3 -0
  19. package/dist/src/components/v1/icons/action/ChevronDownIcon.d.ts +3 -0
  20. package/dist/src/components/v1/icons/action/ChevronLeftIcon.d.ts +3 -0
  21. package/dist/src/components/v1/icons/action/ChevronRightIcon.d.ts +3 -0
  22. package/dist/src/components/v1/icons/action/ChevronUpIcon.d.ts +3 -0
  23. package/dist/src/components/v1/icons/action/FilterIcon.d.ts +3 -0
  24. package/dist/src/components/v1/icons/action/RetryIcon.d.ts +3 -0
  25. package/dist/src/components/v1/icons/action/SortingIcon.d.ts +3 -0
  26. package/dist/src/components/v1/icons/static/CloseIcon.d.ts +3 -0
  27. package/dist/src/components/v1/icons/static/DeleteIcon.d.ts +3 -0
  28. package/dist/src/components/v1/icons/static/RecentIcon.d.ts +3 -0
  29. package/dist/src/components/v1/icons/static/ReportIcon.d.ts +3 -0
  30. package/dist/src/components/v1/icons/static/ShieldDoneIcon.d.ts +3 -0
  31. package/dist/src/components/v1/popup/Popup.d.ts +21 -0
  32. package/dist/src/components/{mobile → v1}/popup/Popup.stories.d.ts +4 -5
  33. package/dist/src/components/v1/text-field/TextField.d.ts +50 -0
  34. package/dist/src/components/v1/text-field/TextField.stories.d.ts +11 -0
  35. package/package.json +18 -8
  36. package/petnow-design-system-v1.css +244 -301
  37. package/tailwind.css +131 -0
  38. package/dist/src/components/mobile/chip/Chip.d.ts +0 -9
  39. package/dist/src/components/mobile/chip/Chip.stories.d.ts +0 -6
  40. package/dist/src/components/mobile/popup/Popup.d.ts +0 -33
  41. package/dist/src/components/pc/autocomplete/LabeledAutocomplete.d.ts +0 -17
  42. package/dist/src/components/pc/autocomplete/LabeledAutocomplete.stories.d.ts +0 -8
  43. package/dist/src/components/pc/card/AccordionCard.d.ts +0 -9
  44. package/dist/src/components/pc/card/AccordionCard.stories.d.ts +0 -7
  45. package/dist/src/components/pc/checkbox/LabeledCheckbox.d.ts +0 -8
  46. package/dist/src/components/pc/checkbox/LabeledCheckbox.stories.d.ts +0 -6
  47. package/dist/src/components/pc/datepicker/LabeledDatepicker.d.ts +0 -9
  48. package/dist/src/components/pc/datepicker/LabeledDatepicker.stories.d.ts +0 -6
  49. package/dist/src/components/pc/input/LabeledAddressInput.d.ts +0 -13
  50. package/dist/src/components/pc/input/LabeledAddressInput.stories.d.ts +0 -6
  51. package/dist/src/components/pc/input/LabeledInput.d.ts +0 -15
  52. package/dist/src/components/pc/input/LabeledInput.stories.d.ts +0 -6
  53. package/dist/src/components/pc/select/LabeledSelect.d.ts +0 -19
  54. package/dist/src/components/pc/select/LabeledSelect.stories.d.ts +0 -7
  55. package/dist/test/LabeledCheckbox.test.d.ts +0 -1
  56. package/dist/test/LabeledDatepicker.test.d.ts +0 -1
  57. package/dist/test/LabeledInput.test.d.ts +0 -1
  58. package/dist/test/LabeledSelect.test.d.ts +0 -1
  59. /package/dist/src/components/{mobile → v0}/checkbox/Checkbox.d.ts +0 -0
  60. /package/dist/src/components/{mobile → v0}/checkbox/Checkbox.stories.d.ts +0 -0
  61. /package/dist/src/components/{mobile → v0}/radio/Radio.d.ts +0 -0
  62. /package/dist/src/components/{mobile → v0}/radio/Radio.stories.d.ts +0 -0
  63. /package/dist/src/components/{mobile → v0}/tabs/Tabs.stories.d.ts +0 -0
  64. /package/dist/src/components/{mobile → v0}/toggle/Toggle.d.ts +0 -0
  65. /package/dist/src/components/{mobile → v0}/toggle/Toggle.stories.d.ts +0 -0
  66. /package/dist/test/{Checkbox.test.d.ts → v0/Checkbox.test.d.ts} +0 -0
  67. /package/dist/test/{Radio.test.d.ts → v0/Radio.test.d.ts} +0 -0
  68. /package/dist/test/{Tabs.test.d.ts → v0/Tabs.test.d.ts} +0 -0
  69. /package/dist/test/{Toggle.test.d.ts → v0/Toggle.test.d.ts} +0 -0
  70. /package/dist/test/{AccordionCard.test.d.ts → v1/Badge.test.d.ts} +0 -0
  71. /package/dist/test/{Chip.test.d.ts → v1/CTAButton.test.d.ts} +0 -0
  72. /package/dist/test/{LabeledAddressInput.test.d.ts → v1/Chip.test.d.ts} +0 -0
  73. /package/dist/test/{Popup.test.d.ts → v1/Popup.test.d.ts} +0 -0
  74. /package/dist/test/{LabeledAutocomplete.test.d.ts → v1/TextField.test.d.ts} +0 -0
File without changes
@@ -0,0 +1,9 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ declare const buttonVariants: (props?: ({
3
+ variant?: "link" | "default" | "secondary" | "outline" | "ghost" | "destructive" | null | undefined;
4
+ size?: "default" | "icon" | "xs" | "sm" | "lg" | "icon-xs" | "icon-sm" | "icon-lg" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ declare function Button({ className, variant, size, asChild, ...props }: React.ComponentProps<"button"> & VariantProps<typeof buttonVariants> & {
7
+ asChild?: boolean;
8
+ }): import("react/jsx-runtime").JSX.Element;
9
+ export { Button, buttonVariants };
@@ -0,0 +1,13 @@
1
+ import { Dialog as DialogPrimitive } from 'radix-ui';
2
+ import * as React from "react";
3
+ declare const Dialog: React.FC<DialogPrimitive.DialogProps>;
4
+ declare const DialogTrigger: React.ForwardRefExoticComponent<DialogPrimitive.DialogTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
+ declare const DialogPortal: React.FC<DialogPrimitive.DialogPortalProps>;
6
+ declare const DialogClose: React.ForwardRefExoticComponent<DialogPrimitive.DialogCloseProps & React.RefAttributes<HTMLButtonElement>>;
7
+ declare const DialogOverlay: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogOverlayProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
+ declare const DialogContent: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
9
+ declare function DialogHeader({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
10
+ declare function DialogFooter({ className, ...props }: React.HTMLAttributes<HTMLDivElement>): import("react/jsx-runtime").JSX.Element;
11
+ declare const DialogTitle: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogTitleProps & React.RefAttributes<HTMLHeadingElement>, "ref"> & React.RefAttributes<HTMLHeadingElement>>;
12
+ declare const DialogDescription: React.ForwardRefExoticComponent<Omit<DialogPrimitive.DialogDescriptionProps & React.RefAttributes<HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
13
+ export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };
@@ -7,7 +7,7 @@ interface TabItem {
7
7
  interface Props<T extends TabItem> {
8
8
  tabList: Readonly<T[]>;
9
9
  isCuratedcontent?: true;
10
- unswipeableContent?: JSX.Element;
10
+ unswipeableContent?: ReactNode;
11
11
  defaultIndex?: number;
12
12
  onTabChange?: (index: number) => void;
13
13
  disabled?: boolean;
@@ -0,0 +1,15 @@
1
+ import * as React from "react";
2
+ type BadgeType = "filled" | "outlined" | "tinted";
3
+ type BadgeColor = "orange" | "blue" | "red" | "green" | "neutral";
4
+ type BadgeSize = "small" | "large";
5
+ export interface BadgeProps extends Omit<React.HTMLAttributes<HTMLDivElement>, "children"> {
6
+ label: string;
7
+ icon?: React.ComponentType<{
8
+ className?: string;
9
+ }>;
10
+ type?: BadgeType;
11
+ color?: BadgeColor;
12
+ size?: BadgeSize;
13
+ }
14
+ declare const Badge: React.ForwardRefExoticComponent<BadgeProps & React.RefAttributes<HTMLDivElement>>;
15
+ export { Badge };
@@ -0,0 +1,10 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Badge } from './Badge';
3
+ declare const meta: Meta<typeof Badge>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Badge>;
6
+ export declare const Default: Story;
7
+ export declare const TintedWithIcon: Story;
8
+ export declare const OutlinedSmall: Story;
9
+ export declare const TypeColorShowcase: Story;
10
+ export declare const SizeShowcase: Story;
@@ -0,0 +1,11 @@
1
+ import * as React from "react";
2
+ export interface ChipProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "children"> {
3
+ label: string;
4
+ icon?: React.ComponentType<{
5
+ className?: string;
6
+ }>;
7
+ selected?: boolean;
8
+ onPress?: () => void;
9
+ }
10
+ declare const Chip: ({ className, label, icon: Icon, selected, disabled, onPress, onClick, type, ...props }: ChipProps) => import("react/jsx-runtime").JSX.Element;
11
+ export { Chip };
@@ -0,0 +1,10 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { Chip } from './Chip';
3
+ declare const meta: Meta<typeof Chip>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Chip>;
6
+ export declare const Default: Story;
7
+ export declare const Selected: Story;
8
+ export declare const WithIcon: Story;
9
+ export declare const Disabled: Story;
10
+ export declare const SelectableGroup: Story;
@@ -0,0 +1,15 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from "react";
3
+ declare const ctaButtonVariants: (props?: ({
4
+ hierarchy?: "primary" | "secondary" | "tertiary" | null | undefined;
5
+ size?: "small" | "large" | "medium" | null | undefined;
6
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
7
+ export interface CTAButtonProps extends Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "children">, VariantProps<typeof ctaButtonVariants> {
8
+ label: string | React.ReactNode;
9
+ icon?: React.ComponentType<{
10
+ className?: string;
11
+ }>;
12
+ className?: string;
13
+ }
14
+ declare const CTAButton: React.ForwardRefExoticComponent<CTAButtonProps & React.RefAttributes<HTMLButtonElement>>;
15
+ export { CTAButton };
@@ -0,0 +1,11 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { CTAButton } from './CTAButton';
3
+ declare const meta: Meta<typeof CTAButton>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof CTAButton>;
6
+ export declare const Default: Story;
7
+ export declare const SecondaryMedium: Story;
8
+ export declare const TertiarySmallWithIcon: Story;
9
+ export declare const Disabled: Story;
10
+ export declare const HierarchyShowcase: Story;
11
+ export declare const SizeShowcase: Story;
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const CancelFilledIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
+ export { CancelFilledIcon };
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const CancelIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
+ export { CancelIcon };
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const ChevronDownIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
+ export { ChevronDownIcon };
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const ChevronLeftIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
+ export { ChevronLeftIcon };
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const ChevronRightIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
+ export { ChevronRightIcon };
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const ChevronUpIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
+ export { ChevronUpIcon };
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const FilterIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
+ export { FilterIcon };
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const RetryIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
+ export { RetryIcon };
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const SortingIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
+ export { SortingIcon };
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const CloseIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
+ export { CloseIcon };
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const DeleteIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
+ export { DeleteIcon };
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const RecentIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
+ export { RecentIcon };
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const ReportIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
+ export { ReportIcon };
@@ -0,0 +1,3 @@
1
+ import { SVGProps } from 'react';
2
+ declare const ShieldDoneIcon: (props: SVGProps<SVGSVGElement>) => import("react/jsx-runtime").JSX.Element;
3
+ export { ShieldDoneIcon };
@@ -0,0 +1,21 @@
1
+ import * as React from "react";
2
+ type PopupAction = {
3
+ label: string | React.ReactNode;
4
+ icon?: React.ComponentType<{
5
+ className?: string;
6
+ }>;
7
+ onClick?: () => void;
8
+ };
9
+ export interface PopupProps {
10
+ isOpen: boolean;
11
+ setIsOpen: (isOpen: boolean) => void;
12
+ title?: string | React.ReactNode;
13
+ description?: string | React.ReactNode;
14
+ content?: React.ReactNode;
15
+ confirm?: PopupAction;
16
+ cancel?: PopupAction;
17
+ preventEasyClose?: boolean;
18
+ className?: string;
19
+ }
20
+ declare const Popup: ({ isOpen, setIsOpen, title, description, content, confirm, cancel, preventEasyClose, className, }: PopupProps) => import("react/jsx-runtime").JSX.Element;
21
+ export { Popup };
@@ -1,12 +1,11 @@
1
1
  import { Meta, StoryObj } from '@storybook/react';
2
- import { default as Popup } from './Popup';
2
+ import { Popup } from './Popup';
3
3
  declare const meta: Meta<typeof Popup>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof Popup>;
6
6
  export declare const Default: Story;
7
7
  export declare const OnlyTitle: Story;
8
8
  export declare const OnlyConfirm: Story;
9
- export declare const OnlyTitleAndConfirm: Story;
10
- export declare const OnlyImage: Story;
11
- export declare const DisableOutsideClick: Story;
12
- export declare const DisableConfirmAndCancelBtn: Story;
9
+ export declare const WithCustomContent: Story;
10
+ export declare const PreventEasyClose: Story;
11
+ export declare const DescriptionOnly: Story;
@@ -0,0 +1,50 @@
1
+ import { VariantProps } from 'class-variance-authority';
2
+ import * as React from "react";
3
+ interface TextFieldNormalProps extends Omit<React.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, "size"> {
4
+ subtitle?: string;
5
+ isRequired?: boolean;
6
+ assistiveText?: string | React.ReactNode;
7
+ errorText?: string;
8
+ disabled?: boolean;
9
+ multiLine?: boolean;
10
+ className?: string;
11
+ rightElement?: React.ReactNode;
12
+ showCounter?: boolean;
13
+ size?: "large" | "small";
14
+ }
15
+ declare const TextFieldNormal: React.ForwardRefExoticComponent<TextFieldNormalProps & React.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
16
+ declare const textFieldSelectVariants: (props?: ({
17
+ size?: "small" | "large" | null | undefined;
18
+ hasError?: boolean | null | undefined;
19
+ disabled?: boolean | null | undefined;
20
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
21
+ interface TextFieldSelectProps extends VariantProps<typeof textFieldSelectVariants> {
22
+ label?: string;
23
+ placeholder: string;
24
+ value?: string;
25
+ isRequired?: boolean;
26
+ disabled?: boolean;
27
+ assistiveText?: string | React.ReactNode;
28
+ errorText?: string;
29
+ onPress?: () => void;
30
+ className?: string;
31
+ size?: "large" | "small";
32
+ }
33
+ declare const TextFieldSelect: ({ label, placeholder, value, isRequired, disabled, assistiveText, errorText, onPress, className, size, }: TextFieldSelectProps) => import("react/jsx-runtime").JSX.Element;
34
+ interface TextFieldWithButtonProps extends Omit<React.InputHTMLAttributes<HTMLInputElement | HTMLTextAreaElement>, "size"> {
35
+ subtitle?: string;
36
+ isRequired?: boolean;
37
+ assistiveText?: string | React.ReactNode;
38
+ errorText?: string;
39
+ disabled?: boolean;
40
+ multiLine?: boolean;
41
+ className?: string;
42
+ showCounter?: boolean;
43
+ size?: "large" | "small";
44
+ fieldRightElement?: React.ReactNode;
45
+ buttonText: string;
46
+ onButtonClick: () => void;
47
+ buttonDisabled?: boolean;
48
+ }
49
+ declare const TextFieldWithButton: React.ForwardRefExoticComponent<TextFieldWithButtonProps & React.RefAttributes<HTMLInputElement | HTMLTextAreaElement>>;
50
+ export { TextFieldNormal, TextFieldSelect, TextFieldWithButton };
@@ -0,0 +1,11 @@
1
+ import { Meta, StoryObj } from '@storybook/react';
2
+ import { TextFieldNormal } from './TextField';
3
+ declare const meta: Meta<typeof TextFieldNormal>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof TextFieldNormal>;
6
+ export declare const Normal: Story;
7
+ export declare const NormalWithErrorAndCounter: Story;
8
+ export declare const Multiline: Story;
9
+ export declare const SelectField: Story;
10
+ export declare const SelectFieldSmallError: Story;
11
+ export declare const WithButton: Story;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@petnow/ui",
3
- "version": "3.0.3",
3
+ "version": "4.0.0",
4
4
  "type": "module",
5
5
  "scripts": {
6
6
  "dev": "vite",
@@ -15,18 +15,22 @@
15
15
  "format:fix": "prettier . --write"
16
16
  },
17
17
  "dependencies": {
18
+ "@fontsource-variable/geist": "^5.2.8",
18
19
  "@headlessui/react": "^2.2.9",
19
20
  "@types/react-swipeable-views": "^0.13.6",
21
+ "class-variance-authority": "^0.7.1",
20
22
  "clsx": "^2.1.1",
21
23
  "date-fns": "^4.1.0",
22
24
  "keen-slider": "^6.8.6",
23
- "react": "^18.2.0",
25
+ "lucide-react": "^0.577.0",
26
+ "radix-ui": "^1.4.3",
24
27
  "react-datepicker": "^8.3.0",
25
28
  "react-daum-postcode": "^3.2.0",
26
- "react-dom": "^18.2.0",
27
29
  "react-icons": "^5.5.0",
28
30
  "react-swipeable-views": "^0.14.1",
29
- "tailwind-merge": "^3.3.1"
31
+ "shadcn": "^4.0.8",
32
+ "tailwind-merge": "^3.3.1",
33
+ "tw-animate-css": "^1.4.0"
30
34
  },
31
35
  "devDependencies": {
32
36
  "@chromatic-com/storybook": "^3.2.7",
@@ -44,8 +48,8 @@
44
48
  "@testing-library/user-event": "^14.6.1",
45
49
  "@types/jest": "^30.0.0",
46
50
  "@types/node": "^24.6.2",
47
- "@types/react": "^18.3.12",
48
- "@types/react-dom": "^18.3.1",
51
+ "@types/react": "^19.0.0",
52
+ "@types/react-dom": "^19.0.0",
49
53
  "@typescript-eslint/eslint-plugin": "^7.18.0",
50
54
  "@typescript-eslint/parser": "^7.18.0",
51
55
  "@vitejs/plugin-react": "^5.0.4",
@@ -61,6 +65,8 @@
61
65
  "postcss": "^8.5.6",
62
66
  "prettier": "^3.6.2",
63
67
  "prettier-plugin-tailwindcss": "^0.6.14",
68
+ "react": "^19.0.0",
69
+ "react-dom": "^19.0.0",
64
70
  "storybook": "^8.5.3",
65
71
  "tailwindcss": "^4.1.14",
66
72
  "ts-jest": "^29.4.4",
@@ -69,13 +75,17 @@
69
75
  "vite": "^6.2.4",
70
76
  "vite-plugin-dts": "^4.5.3"
71
77
  },
78
+ "peerDependencies": {
79
+ "react": "^19.0.0",
80
+ "react-dom": "^19.0.0"
81
+ },
72
82
  "main": "dist/index.es.js",
73
83
  "types": "dist/index.d.ts",
74
84
  "exports": {
75
85
  ".": {
86
+ "types": "./dist/index.d.ts",
76
87
  "import": "./dist/index.es.js",
77
- "require": "./dist/index.umd.js",
78
- "types": "./dist/index.d.ts"
88
+ "require": "./dist/index.umd.js"
79
89
  },
80
90
  "./package.json": "./package.json",
81
91
  "./dist/*": "./dist/*",