@forsyteco/product-ui 0.0.3

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 (115) hide show
  1. package/README.md +93 -0
  2. package/dist/avatar/avatar.d.ts +26 -0
  3. package/dist/avatar/avatar.d.ts.map +1 -0
  4. package/dist/avatar/index.d.ts +4 -0
  5. package/dist/avatar/index.d.ts.map +1 -0
  6. package/dist/breadcrumb/breadcrumb.d.ts +12 -0
  7. package/dist/breadcrumb/breadcrumb.d.ts.map +1 -0
  8. package/dist/breadcrumb/index.d.ts +2 -0
  9. package/dist/breadcrumb/index.d.ts.map +1 -0
  10. package/dist/button/button.d.ts +17 -0
  11. package/dist/button/button.d.ts.map +1 -0
  12. package/dist/button/index.d.ts +4 -0
  13. package/dist/button/index.d.ts.map +1 -0
  14. package/dist/calendar/calendar.d.ts +14 -0
  15. package/dist/calendar/calendar.d.ts.map +1 -0
  16. package/dist/calendar/index.d.ts +2 -0
  17. package/dist/calendar/index.d.ts.map +1 -0
  18. package/dist/card/card.d.ts +10 -0
  19. package/dist/card/card.d.ts.map +1 -0
  20. package/dist/card/index.d.ts +2 -0
  21. package/dist/card/index.d.ts.map +1 -0
  22. package/dist/checkbox/checkbox.d.ts +11 -0
  23. package/dist/checkbox/checkbox.d.ts.map +1 -0
  24. package/dist/checkbox/index.d.ts +3 -0
  25. package/dist/checkbox/index.d.ts.map +1 -0
  26. package/dist/combobox/combobox.d.ts +28 -0
  27. package/dist/combobox/combobox.d.ts.map +1 -0
  28. package/dist/combobox/index.d.ts +3 -0
  29. package/dist/combobox/index.d.ts.map +1 -0
  30. package/dist/counter-label/counter-label.d.ts +11 -0
  31. package/dist/counter-label/counter-label.d.ts.map +1 -0
  32. package/dist/counter-label/index.d.ts +3 -0
  33. package/dist/counter-label/index.d.ts.map +1 -0
  34. package/dist/dialog/dialog.d.ts +25 -0
  35. package/dist/dialog/dialog.d.ts.map +1 -0
  36. package/dist/dialog/index.d.ts +4 -0
  37. package/dist/dialog/index.d.ts.map +1 -0
  38. package/dist/disclosure/disclosure.d.ts +19 -0
  39. package/dist/disclosure/disclosure.d.ts.map +1 -0
  40. package/dist/disclosure/index.d.ts +4 -0
  41. package/dist/disclosure/index.d.ts.map +1 -0
  42. package/dist/dropdown-menu/dropdown-menu.d.ts +23 -0
  43. package/dist/dropdown-menu/dropdown-menu.d.ts.map +1 -0
  44. package/dist/dropdown-menu/index.d.ts +4 -0
  45. package/dist/dropdown-menu/index.d.ts.map +1 -0
  46. package/dist/fieldset/fieldset.d.ts +12 -0
  47. package/dist/fieldset/fieldset.d.ts.map +1 -0
  48. package/dist/fieldset/index.d.ts +3 -0
  49. package/dist/fieldset/index.d.ts.map +1 -0
  50. package/dist/index.cjs +8 -0
  51. package/dist/index.d.ts +50 -0
  52. package/dist/index.d.ts.map +1 -0
  53. package/dist/index.mjs +14641 -0
  54. package/dist/input/index.d.ts +3 -0
  55. package/dist/input/index.d.ts.map +1 -0
  56. package/dist/input/input.d.ts +14 -0
  57. package/dist/input/input.d.ts.map +1 -0
  58. package/dist/listbox/index.d.ts +3 -0
  59. package/dist/listbox/index.d.ts.map +1 -0
  60. package/dist/listbox/listbox.d.ts +30 -0
  61. package/dist/listbox/listbox.d.ts.map +1 -0
  62. package/dist/popover/index.d.ts +4 -0
  63. package/dist/popover/index.d.ts.map +1 -0
  64. package/dist/popover/popover.d.ts +16 -0
  65. package/dist/popover/popover.d.ts.map +1 -0
  66. package/dist/radio-group/index.d.ts +3 -0
  67. package/dist/radio-group/index.d.ts.map +1 -0
  68. package/dist/radio-group/radio-group.d.ts +20 -0
  69. package/dist/radio-group/radio-group.d.ts.map +1 -0
  70. package/dist/select/index.d.ts +3 -0
  71. package/dist/select/index.d.ts.map +1 -0
  72. package/dist/select/select.d.ts +17 -0
  73. package/dist/select/select.d.ts.map +1 -0
  74. package/dist/skeleton/index.d.ts +3 -0
  75. package/dist/skeleton/index.d.ts.map +1 -0
  76. package/dist/skeleton/skeleton.d.ts +4 -0
  77. package/dist/skeleton/skeleton.d.ts.map +1 -0
  78. package/dist/sonner/index.d.ts +4 -0
  79. package/dist/sonner/index.d.ts.map +1 -0
  80. package/dist/sonner/sonner.d.ts +5 -0
  81. package/dist/sonner/sonner.d.ts.map +1 -0
  82. package/dist/spinner/index.d.ts +3 -0
  83. package/dist/spinner/index.d.ts.map +1 -0
  84. package/dist/spinner/spinner.d.ts +9 -0
  85. package/dist/spinner/spinner.d.ts.map +1 -0
  86. package/dist/switch/index.d.ts +3 -0
  87. package/dist/switch/index.d.ts.map +1 -0
  88. package/dist/switch/switch.d.ts +16 -0
  89. package/dist/switch/switch.d.ts.map +1 -0
  90. package/dist/tabs/index.d.ts +4 -0
  91. package/dist/tabs/index.d.ts.map +1 -0
  92. package/dist/tabs/tabs.d.ts +31 -0
  93. package/dist/tabs/tabs.d.ts.map +1 -0
  94. package/dist/textarea/index.d.ts +3 -0
  95. package/dist/textarea/index.d.ts.map +1 -0
  96. package/dist/textarea/textarea.d.ts +9 -0
  97. package/dist/textarea/textarea.d.ts.map +1 -0
  98. package/dist/theme/index.d.ts +4 -0
  99. package/dist/theme/index.d.ts.map +1 -0
  100. package/dist/theme/theme-provider.d.ts +21 -0
  101. package/dist/theme/theme-provider.d.ts.map +1 -0
  102. package/dist/theme/use-theme.d.ts +3 -0
  103. package/dist/theme/use-theme.d.ts.map +1 -0
  104. package/dist/transition/index.d.ts +3 -0
  105. package/dist/transition/index.d.ts.map +1 -0
  106. package/dist/transition/transition.d.ts +15 -0
  107. package/dist/transition/transition.d.ts.map +1 -0
  108. package/dist/utils/tailwind.d.ts +3 -0
  109. package/dist/utils/tailwind.d.ts.map +1 -0
  110. package/dist/visually-hidden/index.d.ts +3 -0
  111. package/dist/visually-hidden/index.d.ts.map +1 -0
  112. package/dist/visually-hidden/visually-hidden.d.ts +16 -0
  113. package/dist/visually-hidden/visually-hidden.d.ts.map +1 -0
  114. package/package.json +85 -0
  115. package/tailwind.config.js +10 -0
package/README.md ADDED
@@ -0,0 +1,93 @@
1
+ # @forsyteco/product-ui
2
+
3
+ React component library for Forsyte app, built with React 19, TypeScript, and Tailwind CSS 4.
4
+
5
+ ## Installation
6
+
7
+ ```bash
8
+ npm install @forsyteco/product-ui
9
+ # or
10
+ pnpm add @forsyteco/product-ui
11
+ # or
12
+ yarn add @forsyteco/product-ui
13
+ ```
14
+
15
+ ## Peer Dependencies
16
+
17
+ This package requires React 19.x and Tailwind CSS 4.x:
18
+
19
+ ```bash
20
+ npm install react@^19.2.1 react-dom@^19.2.1 tailwindcss@^4.1.17
21
+ ```
22
+
23
+ ## Setup
24
+
25
+ ### 1. Import Tailwind Base Styles
26
+
27
+ Make sure Tailwind CSS is imported in your application:
28
+
29
+ ```css
30
+ /* src/index.css or your main CSS file */
31
+ @import 'tailwindcss';
32
+ ```
33
+
34
+ ### 2. Import Components
35
+
36
+ ```typescript
37
+ import { Spinner } from '@forsyteco/product-ui'
38
+ import type { SpinnerProps } from '@forsyteco/product-ui'
39
+ ```
40
+
41
+ ### Example
42
+
43
+ ```tsx
44
+ import { Spinner } from '@forsyteco/product-ui'
45
+
46
+ function App() {
47
+ return (
48
+ <div>
49
+ <Spinner />
50
+ </div>
51
+ )
52
+ }
53
+ ```
54
+
55
+ ## Components
56
+
57
+ All components use Tailwind CSS classes directly. Make sure Tailwind CSS is configured in your project.
58
+
59
+ ### Spinner
60
+
61
+ A loading spinner component.
62
+
63
+ ```tsx
64
+ import { Spinner } from '@forsyteco/product-ui'
65
+
66
+ // Basic usage
67
+ <Spinner />
68
+
69
+ // Full-width centered spinner
70
+ <Spinner full />
71
+
72
+ // Custom styling with Tailwind classes
73
+ <Spinner className="text-blue-500 w-8 h-8" />
74
+ ```
75
+
76
+ ## Development
77
+
78
+ This package is part of a Turborepo monorepo. For local development:
79
+
80
+ ```bash
81
+ # Install dependencies
82
+ pnpm install
83
+
84
+ # Build the package
85
+ pnpm turbo run build --filter=@forsyteco/product-ui
86
+
87
+ # Run Storybook
88
+ pnpm --filter @forsyteco/product-ui storybook
89
+ ```
90
+
91
+ ## License
92
+
93
+ MIT
@@ -0,0 +1,26 @@
1
+ import { Avatar as AvatarPrimitive } from 'radix-ui';
2
+ import * as React from 'react';
3
+ export type AvatarProps = React.ComponentProps<typeof AvatarPrimitive.Root>;
4
+ declare function Avatar({ className, ...props }: AvatarProps): React.JSX.Element;
5
+ export type AvatarImageProps = React.ComponentPropsWithoutRef<'img'>;
6
+ declare function AvatarImage({ className, ...props }: AvatarImageProps): React.JSX.Element;
7
+ type AvatarFallbackBaseProps = Omit<React.ComponentProps<typeof AvatarPrimitive.Fallback>, 'children'> & {
8
+ className?: string;
9
+ };
10
+ type AvatarFallbackDefaultProps = AvatarFallbackBaseProps & {
11
+ variant?: 'default';
12
+ children?: React.ReactNode;
13
+ };
14
+ type AvatarFallbackInitialsProps = AvatarFallbackBaseProps & {
15
+ variant: 'initials';
16
+ name: string;
17
+ };
18
+ type AvatarFallbackBoringProps = AvatarFallbackBaseProps & {
19
+ variant: 'boring';
20
+ name: string;
21
+ };
22
+ export type AvatarFallbackProps = AvatarFallbackDefaultProps | AvatarFallbackInitialsProps | AvatarFallbackBoringProps;
23
+ declare function AvatarFallback(props: AvatarFallbackProps): React.JSX.Element;
24
+ export { Avatar, AvatarFallback, AvatarImage };
25
+ export default Avatar;
26
+ //# sourceMappingURL=avatar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../src/avatar/avatar.tsx"],"names":[],"mappings":"AAGA,OAAO,EAAE,MAAM,IAAI,eAAe,EAAE,MAAM,UAAU,CAAC;AACrD,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,MAAM,MAAM,WAAW,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,IAAI,CAAC,CAAC;AAE5E,iBAAS,MAAM,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,WAAW,qBAQnD;AAED,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;AAErE,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,qBAY7D;AAED,KAAK,uBAAuB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,GAAG;IACvG,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,KAAK,0BAA0B,GAAG,uBAAuB,GAAG;IAC1D,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,CAAC;AAEF,KAAK,2BAA2B,GAAG,uBAAuB,GAAG;IAC3D,OAAO,EAAE,UAAU,CAAC;IACpB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,KAAK,yBAAyB,GAAG,uBAAuB,GAAG;IACzD,OAAO,EAAE,QAAQ,CAAC;IAClB,IAAI,EAAE,MAAM,CAAC;CACd,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAC3B,0BAA0B,GAC1B,2BAA2B,GAC3B,yBAAyB,CAAC;AAY9B,iBAAS,cAAc,CAAC,KAAK,EAAE,mBAAmB,qBA8DjD;AAED,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,CAAC;AAC/C,eAAe,MAAM,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { default } from './avatar';
2
+ export { Avatar, AvatarFallback, AvatarImage } from './avatar';
3
+ export type { AvatarProps, AvatarFallbackProps, AvatarImageProps } from './avatar';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/avatar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,OAAO,EAAE,MAAM,EAAE,cAAc,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC;AAC/D,YAAY,EAAE,WAAW,EAAE,mBAAmB,EAAE,gBAAgB,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,12 @@
1
+ import * as React from 'react';
2
+ declare function Breadcrumb({ ...props }: React.ComponentProps<'nav'>): React.JSX.Element;
3
+ declare function BreadcrumbList({ className, ...props }: React.ComponentProps<'ol'>): React.JSX.Element;
4
+ declare function BreadcrumbItem({ className, ...props }: React.ComponentProps<'li'>): React.JSX.Element;
5
+ declare function BreadcrumbLink({ asChild, className, ...props }: React.ComponentProps<'a'> & {
6
+ asChild?: boolean;
7
+ }): React.JSX.Element;
8
+ declare function BreadcrumbPage({ className, ...props }: React.ComponentProps<'span'>): React.JSX.Element;
9
+ declare function BreadcrumbSeparator({ children, className, ...props }: React.ComponentProps<'li'>): React.JSX.Element;
10
+ declare function BreadcrumbEllipsis({ className, ...props }: React.ComponentProps<'span'>): React.JSX.Element;
11
+ export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, };
12
+ //# sourceMappingURL=breadcrumb.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../../src/breadcrumb/breadcrumb.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,iBAAS,UAAU,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAE5D;AAED,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,qBAW1E;AAED,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,qBAQ1E;AAED,iBAAS,cAAc,CAAC,EACtB,OAAO,EACP,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,GAAG,CAAC,GAAG;IAC7B,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB,qBAUA;AAED,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,qBAW5E;AAED,iBAAS,mBAAmB,CAAC,EAC3B,QAAQ,EACR,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,qBAY5B;AAED,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,qBAa9B;AAED,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,mBAAmB,GACpB,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, } from './breadcrumb';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/breadcrumb/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,UAAU,EACV,kBAAkB,EAClB,cAAc,EACd,cAAc,EACd,cAAc,EACd,cAAc,EACd,mBAAmB,GACpB,MAAM,cAAc,CAAC"}
@@ -0,0 +1,17 @@
1
+ import { ComponentPropsWithoutRef, ReactNode } from 'react';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ export type ButtonProps = ComponentPropsWithoutRef<'button'> & VariantProps<typeof buttonVariants> & {
4
+ children?: ReactNode;
5
+ };
6
+ export declare const buttonVariants: (props?: ({
7
+ variant?: "primary" | "secondary" | "accent" | "outline" | "ghost" | "destructive" | null | undefined;
8
+ size?: "sm" | "md" | "lg" | "icon" | null | undefined;
9
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
10
+ declare const Button: import('react').ForwardRefExoticComponent<Omit<import('react').DetailedHTMLProps<import('react').ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & VariantProps<(props?: ({
11
+ variant?: "primary" | "secondary" | "accent" | "outline" | "ghost" | "destructive" | null | undefined;
12
+ size?: "sm" | "md" | "lg" | "icon" | null | undefined;
13
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string> & {
14
+ children?: ReactNode;
15
+ } & import('react').RefAttributes<HTMLButtonElement>>;
16
+ export default Button;
17
+ //# sourceMappingURL=button.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"button.d.ts","sourceRoot":"","sources":["../../src/button/button.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,wBAAwB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAClF,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,MAAM,MAAM,WAAW,GAAG,wBAAwB,CAAC,QAAQ,CAAC,GAC1D,YAAY,CAAC,OAAO,cAAc,CAAC,GAAG;IACpC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEJ,eAAO,MAAM,cAAc;;;8EAwB1B,CAAC;AAEF,QAAA,MAAM,MAAM;;;;eA7BG,SAAS;qDA0CtB,CAAC;AAEH,eAAe,MAAM,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { default } from './button';
2
+ export { buttonVariants } from './button';
3
+ export type { ButtonProps } from './button';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/button/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,OAAO,EAAE,cAAc,EAAE,MAAM,UAAU,CAAC;AAC1C,YAAY,EAAE,WAAW,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,14 @@
1
+ import { ChevronLeftIcon } from 'lucide-react';
2
+ import { DayPicker, DayButton } from 'react-day-picker';
3
+ import { default as Button } from '../button';
4
+ import * as React from 'react';
5
+ type CalendarChevronProps = React.ComponentProps<typeof ChevronLeftIcon> & {
6
+ orientation?: 'left' | 'right' | string;
7
+ };
8
+ declare function CalendarChevron({ className, orientation, ...props }: CalendarChevronProps): React.JSX.Element;
9
+ declare function Calendar({ className, classNames, showOutsideDays, captionLayout, buttonVariant, formatters, components, ...props }: React.ComponentProps<typeof DayPicker> & {
10
+ buttonVariant?: React.ComponentProps<typeof Button>['variant'];
11
+ }): React.JSX.Element;
12
+ declare function CalendarDayButton({ className, day, modifiers, ...props }: React.ComponentProps<typeof DayButton>): React.JSX.Element;
13
+ export { Calendar, CalendarDayButton, CalendarChevron };
14
+ //# sourceMappingURL=calendar.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"calendar.d.ts","sourceRoot":"","sources":["../../src/calendar/calendar.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAmB,eAAe,EAAoB,MAAM,cAAc,CAAC;AAClF,OAAO,EACL,SAAS,EAIT,KAAK,SAAS,EAGf,MAAM,kBAAkB,CAAC;AAG1B,OAAO,MAA0B,MAAM,WAAW,CAAC;AAEnD,KAAK,oBAAoB,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,eAAe,CAAC,GAAG;IACzE,WAAW,CAAC,EAAE,MAAM,GAAG,OAAO,GAAG,MAAM,CAAC;CACzC,CAAC;AAEF,iBAAS,eAAe,CAAC,EAAE,SAAS,EAAE,WAAW,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,qBAUlF;AAED,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,UAAU,EACV,eAAsB,EACtB,aAAuB,EACvB,aAAuB,EACvB,UAAU,EACV,UAAU,EACV,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,GAAG;IAC1C,aAAa,CAAC,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,MAAM,CAAC,CAAC,SAAS,CAAC,CAAC;CAChE,qBAmLA;AAED,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,GAAG,EACH,SAAS,EACT,GAAG,KAAK,EACT,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,SAAS,CAAC,qBAiBxC;AAED,OAAO,EAAE,QAAQ,EAAE,iBAAiB,EAAE,eAAe,EAAE,CAAA"}
@@ -0,0 +1,2 @@
1
+ export { Calendar as default, CalendarDayButton, Calendar } from './calendar';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/calendar/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,IAAI,OAAO,EAAE,iBAAiB,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,10 @@
1
+ import * as React from 'react';
2
+ declare function Card({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
3
+ declare function CardHeader({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
4
+ declare function CardTitle({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
5
+ declare function CardDescription({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
6
+ declare function CardAction({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
7
+ declare function CardContent({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
8
+ declare function CardFooter({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
9
+ export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardContent, };
10
+ //# sourceMappingURL=card.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"card.d.ts","sourceRoot":"","sources":["../../src/card/card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,iBAAS,IAAI,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAWjE;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAWvE;AAED,iBAAS,SAAS,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAQtE;AAED,iBAAS,eAAe,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAQ5E;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAWvE;AAED,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAQxE;AAED,iBAAS,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAQvE;AAED,OAAO,EACL,IAAI,EACJ,UAAU,EACV,UAAU,EACV,SAAS,EACT,UAAU,EACV,eAAe,EACf,WAAW,GACZ,CAAC"}
@@ -0,0 +1,2 @@
1
+ export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardTitle, } from './card';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/card/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,IAAI,EACJ,UAAU,EACV,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,GACV,MAAM,QAAQ,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { InputHTMLAttributes } from 'react';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ declare const checkboxVariants: (props?: ({
4
+ size?: "sm" | "md" | "lg" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ export type CheckboxProps = Omit<InputHTMLAttributes<HTMLInputElement>, 'type'> & VariantProps<typeof checkboxVariants> & {
7
+ label?: string;
8
+ };
9
+ declare function Checkbox({ label, size, className, id, ...props }: CheckboxProps): import("react").JSX.Element;
10
+ export default Checkbox;
11
+ //# sourceMappingURL=checkbox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"checkbox.d.ts","sourceRoot":"","sources":["../../src/checkbox/checkbox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,mBAAmB,EAAE,MAAM,OAAO,CAAC;AACjD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,QAAA,MAAM,gBAAgB;;8EAyBrB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,IAAI,CAAC,mBAAmB,CAAC,gBAAgB,CAAC,EAAE,MAAM,CAAC,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,GAAG;IACxH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,iBAAS,QAAQ,CAAC,EAAE,KAAK,EAAE,IAAI,EAAE,SAAS,EAAE,EAAE,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,+BAkBxE;AAED,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default } from './checkbox';
2
+ export type { CheckboxProps } from './checkbox';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/checkbox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,28 @@
1
+ import { ReactNode } from 'react';
2
+ export type ComboboxOption = {
3
+ id: string | number;
4
+ label: string;
5
+ value: string;
6
+ };
7
+ export type ComboboxProps = {
8
+ options: ComboboxOption[];
9
+ value?: ComboboxOption | null;
10
+ onChange?: (value: ComboboxOption) => void;
11
+ placeholder?: string;
12
+ className?: string;
13
+ disabled?: boolean;
14
+ };
15
+ export type ComboboxInputProps = {
16
+ className?: string;
17
+ };
18
+ export type ComboboxOptionsProps = {
19
+ children: ReactNode;
20
+ className?: string;
21
+ };
22
+ export type ComboboxOptionProps = {
23
+ option: ComboboxOption;
24
+ className?: string;
25
+ };
26
+ declare function Combobox({ options, value, onChange, placeholder, className, disabled, }: ComboboxProps): import("react").JSX.Element;
27
+ export default Combobox;
28
+ //# sourceMappingURL=combobox.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"combobox.d.ts","sourceRoot":"","sources":["../../src/combobox/combobox.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIjD,MAAM,MAAM,cAAc,GAAG;IAC3B,EAAE,EAAE,MAAM,GAAG,MAAM,CAAC;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG;IAC1B,OAAO,EAAE,cAAc,EAAE,CAAC;IAC1B,KAAK,CAAC,EAAE,cAAc,GAAG,IAAI,CAAC;IAC9B,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,cAAc,KAAK,IAAI,CAAC;IAC3C,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG;IAC/B,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,mBAAmB,GAAG;IAChC,MAAM,EAAE,cAAc,CAAC;IACvB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,iBAAS,QAAQ,CAAC,EAChB,OAAO,EACP,KAAK,EACL,QAAQ,EACR,WAAmC,EACnC,SAAS,EACT,QAAgB,GACjB,EAAE,aAAa,+BAoEf;AAED,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default } from './combobox';
2
+ export type { ComboboxProps, ComboboxOption } from './combobox';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/combobox/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,YAAY,EAAE,aAAa,EAAE,cAAc,EAAE,MAAM,YAAY,CAAC"}
@@ -0,0 +1,11 @@
1
+ import { ReactNode } from 'react';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ declare const counterLabelVariants: (props?: ({
4
+ variant?: "primary" | "secondary" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ export type CounterLabelProps = Omit<React.ComponentProps<'span'>, 'children'> & VariantProps<typeof counterLabelVariants> & {
7
+ children?: ReactNode;
8
+ };
9
+ declare const CounterLabel: import('react').ForwardRefExoticComponent<Omit<CounterLabelProps, "ref"> & import('react').RefAttributes<HTMLSpanElement>>;
10
+ export default CounterLabel;
11
+ //# sourceMappingURL=counter-label.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"counter-label.d.ts","sourceRoot":"","sources":["../../src/counter-label/counter-label.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAc,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnD,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKlE,QAAA,MAAM,oBAAoB;;8EAmBzB,CAAC;AAEF,MAAM,MAAM,iBAAiB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,GAC5E,YAAY,CAAC,OAAO,oBAAoB,CAAC,GAAG;IAC1C,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB,CAAC;AAEJ,QAAA,MAAM,YAAY,4HAwBhB,CAAC;AAIH,eAAe,YAAY,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default } from './counter-label';
2
+ export type { CounterLabelProps } from './counter-label';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/counter-label/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,YAAY,EAAE,iBAAiB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,25 @@
1
+ import { ReactNode } from 'react';
2
+ export type DialogProps = {
3
+ open: boolean;
4
+ onClose: () => void;
5
+ children: ReactNode;
6
+ className?: string;
7
+ };
8
+ export type DialogTitleProps = {
9
+ children: ReactNode;
10
+ className?: string;
11
+ };
12
+ export type DialogDescriptionProps = {
13
+ children: ReactNode;
14
+ className?: string;
15
+ };
16
+ export type DialogPanelProps = {
17
+ children: ReactNode;
18
+ className?: string;
19
+ };
20
+ declare function Dialog({ open, onClose, children, className }: DialogProps): import("react").JSX.Element;
21
+ export declare function DialogPanel({ children, className }: DialogPanelProps): import("react").JSX.Element;
22
+ export declare function DialogTitle({ children, className }: DialogTitleProps): import("react").JSX.Element;
23
+ export declare function DialogDescription({ children, className }: DialogDescriptionProps): import("react").JSX.Element;
24
+ export default Dialog;
25
+ //# sourceMappingURL=dialog.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dialog.d.ts","sourceRoot":"","sources":["../../src/dialog/dialog.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,MAAM,WAAW,GAAG;IACxB,IAAI,EAAE,OAAO,CAAC;IACd,OAAO,EAAE,MAAM,IAAI,CAAC;IACpB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,sBAAsB,GAAG;IACnC,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG;IAC7B,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,iBAAS,MAAM,CAAC,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,WAAW,+BAWlE;AAED,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,gBAAgB,+BAWpE;AAED,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,gBAAgB,+BAMpE;AAED,wBAAgB,iBAAiB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,sBAAsB,+BAMhF;AAED,eAAe,MAAM,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { default } from './dialog';
2
+ export { DialogPanel, DialogTitle, DialogDescription } from './dialog';
3
+ export type { DialogProps, DialogPanelProps, DialogTitleProps, DialogDescriptionProps } from './dialog';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dialog/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,UAAU,CAAC;AACnC,OAAO,EAAE,WAAW,EAAE,WAAW,EAAE,iBAAiB,EAAE,MAAM,UAAU,CAAC;AACvE,YAAY,EAAE,WAAW,EAAE,gBAAgB,EAAE,gBAAgB,EAAE,sBAAsB,EAAE,MAAM,UAAU,CAAC"}
@@ -0,0 +1,19 @@
1
+ import { ReactNode } from 'react';
2
+ export type DisclosureProps = {
3
+ children: ReactNode;
4
+ defaultOpen?: boolean;
5
+ className?: string;
6
+ };
7
+ export type DisclosureButtonProps = {
8
+ children: ReactNode;
9
+ className?: string;
10
+ };
11
+ export type DisclosurePanelProps = {
12
+ children: ReactNode;
13
+ className?: string;
14
+ };
15
+ declare function Disclosure({ children, defaultOpen, className }: DisclosureProps): import("react").JSX.Element;
16
+ export declare function DisclosureButton({ children, className }: DisclosureButtonProps): import("react").JSX.Element;
17
+ export declare function DisclosurePanel({ children, className }: DisclosurePanelProps): import("react").JSX.Element;
18
+ export default Disclosure;
19
+ //# sourceMappingURL=disclosure.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"disclosure.d.ts","sourceRoot":"","sources":["../../src/disclosure/disclosure.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,MAAM,eAAe,GAAG;IAC5B,QAAQ,EAAE,SAAS,CAAC;IACpB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,oBAAoB,GAAG;IACjC,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,iBAAS,UAAU,CAAC,EAAE,QAAQ,EAAE,WAAmB,EAAE,SAAS,EAAE,EAAE,eAAe,+BAQhF;AAED,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,qBAAqB,+BAW9E;AAED,wBAAgB,eAAe,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,oBAAoB,+BAQ5E;AAED,eAAe,UAAU,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { default } from './disclosure';
2
+ export { DisclosureButton, DisclosurePanel } from './disclosure';
3
+ export type { DisclosureProps, DisclosureButtonProps, DisclosurePanelProps } from './disclosure';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/disclosure/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,cAAc,CAAC;AACvC,OAAO,EAAE,gBAAgB,EAAE,eAAe,EAAE,MAAM,cAAc,CAAC;AACjE,YAAY,EAAE,eAAe,EAAE,qBAAqB,EAAE,oBAAoB,EAAE,MAAM,cAAc,CAAC"}
@@ -0,0 +1,23 @@
1
+ import { ReactNode } from 'react';
2
+ import { ButtonProps } from '../button';
3
+ export type DropdownMenuProps = {
4
+ trigger: ReactNode;
5
+ children: ReactNode;
6
+ className?: string;
7
+ align?: 'left' | 'right';
8
+ };
9
+ export type DropdownMenuItemProps = {
10
+ children: ReactNode;
11
+ onClick?: () => void;
12
+ disabled?: boolean;
13
+ className?: string;
14
+ };
15
+ export type DropdownMenuButtonProps = {
16
+ children: ReactNode;
17
+ className?: string;
18
+ };
19
+ declare function DropdownMenu({ trigger, children, className, align }: DropdownMenuProps): import("react").JSX.Element;
20
+ export declare function DropdownMenuItem({ children, onClick, disabled, className }: DropdownMenuItemProps): import("react").JSX.Element;
21
+ export declare function DropdownMenuButton({ children, className, ...props }: DropdownMenuButtonProps & ButtonProps): import("react").JSX.Element;
22
+ export default DropdownMenu;
23
+ //# sourceMappingURL=dropdown-menu.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"dropdown-menu.d.ts","sourceRoot":"","sources":["../../src/dropdown-menu/dropdown-menu.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAY,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAEjD,OAAe,EAAE,KAAK,WAAW,EAAE,MAAM,WAAW,CAAC;AAGrD,MAAM,MAAM,iBAAiB,GAAG;IAC9B,OAAO,EAAE,SAAS,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,QAAQ,EAAE,SAAS,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,MAAM,MAAM,uBAAuB,GAAG;IACpC,QAAQ,EAAE,SAAS,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,iBAAS,YAAY,CAAC,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAe,EAAE,EAAE,iBAAiB,+BAuBzF;AAED,wBAAgB,gBAAgB,CAAC,EAAE,QAAQ,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,EAAE,qBAAqB,+BAqBjG;AAED,wBAAgB,kBAAkB,CAAC,EAAE,QAAQ,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,uBAAuB,GAAG,WAAW,+BAW1G;AAED,eAAe,YAAY,CAAC"}
@@ -0,0 +1,4 @@
1
+ export { default } from './dropdown-menu';
2
+ export { DropdownMenuItem, DropdownMenuButton } from './dropdown-menu';
3
+ export type { DropdownMenuProps, DropdownMenuItemProps, DropdownMenuButtonProps } from './dropdown-menu';
4
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/dropdown-menu/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1C,OAAO,EAAE,gBAAgB,EAAE,kBAAkB,EAAE,MAAM,iBAAiB,CAAC;AACvE,YAAY,EAAE,iBAAiB,EAAE,qBAAqB,EAAE,uBAAuB,EAAE,MAAM,iBAAiB,CAAC"}
@@ -0,0 +1,12 @@
1
+ import { FieldsetHTMLAttributes, ReactNode } from 'react';
2
+ import { VariantProps } from 'class-variance-authority';
3
+ declare const fieldsetVariants: (props?: ({
4
+ variant?: "default" | "error" | null | undefined;
5
+ } & import('class-variance-authority/types').ClassProp) | undefined) => string;
6
+ export type FieldsetProps = FieldsetHTMLAttributes<HTMLFieldSetElement> & VariantProps<typeof fieldsetVariants> & {
7
+ legend?: string;
8
+ children: ReactNode;
9
+ };
10
+ declare function Fieldset({ legend, children, variant, className, ...props }: FieldsetProps): import("react").JSX.Element;
11
+ export default Fieldset;
12
+ //# sourceMappingURL=fieldset.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"fieldset.d.ts","sourceRoot":"","sources":["../../src/fieldset/fieldset.tsx"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,sBAAsB,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACpE,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAGlE,QAAA,MAAM,gBAAgB;;8EAarB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,sBAAsB,CAAC,mBAAmB,CAAC,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,GAAG;IAChH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF,iBAAS,QAAQ,CAAC,EAAE,MAAM,EAAE,QAAQ,EAAE,OAAO,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,aAAa,+BAclF;AAED,eAAe,QAAQ,CAAC"}
@@ -0,0 +1,3 @@
1
+ export { default } from './fieldset';
2
+ export type { FieldsetProps } from './fieldset';
3
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/fieldset/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,OAAO,EAAE,MAAM,YAAY,CAAC;AACrC,YAAY,EAAE,aAAa,EAAE,MAAM,YAAY,CAAC"}