@twintag/twintag-form 1.6.2-beta.0 → 1.6.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.
Files changed (46) hide show
  1. package/.turbo/turbo-build.log +22 -0
  2. package/CHANGELOG.md +14 -0
  3. package/dev/index.css +32 -32
  4. package/dist/common/accordion.d.ts +7 -0
  5. package/dist/common/button.d.ts +71 -0
  6. package/dist/common/calendar.d.ts +139 -0
  7. package/dist/common/checkbox.d.ts +4 -0
  8. package/dist/common/form.d.ts +86 -0
  9. package/dist/common/icon.d.ts +8 -0
  10. package/dist/common/input.d.ts +133 -0
  11. package/dist/common/label.d.ts +21 -0
  12. package/dist/common/popover.d.ts +6 -0
  13. package/dist/common/radiogroup.d.ts +5 -0
  14. package/dist/common/slider.d.ts +4 -0
  15. package/dist/common/switch.d.ts +4 -0
  16. package/dist/common/textarea.d.ts +68 -0
  17. package/dist/components/config.d.ts +6 -0
  18. package/dist/components/containers/accordion.d.ts +7 -0
  19. package/dist/components/containers/category.d.ts +8 -0
  20. package/dist/components/fields/checkbox.d.ts +5 -0
  21. package/dist/components/fields/date-picker.d.ts +4 -0
  22. package/dist/components/fields/file.d.ts +5 -0
  23. package/dist/components/fields/input.d.ts +5 -0
  24. package/dist/components/fields/radiogroup.d.ts +7 -0
  25. package/dist/components/fields/submit.d.ts +4 -0
  26. package/dist/components/fields/textarea.d.ts +5 -0
  27. package/dist/components/fields/toggle.d.ts +5 -0
  28. package/dist/components/fields/tri-toggle.d.ts +5 -0
  29. package/dist/components/form.d.ts +9 -0
  30. package/dist/components/input.d.ts +4 -0
  31. package/dist/components/label.d.ts +4 -0
  32. package/dist/components/provider.d.ts +14 -0
  33. package/dist/components/renderer.d.ts +1 -0
  34. package/dist/index.cjs +1 -0
  35. package/dist/index.d.ts +17 -0
  36. package/dist/index.js +4465 -0
  37. package/dist/types/index.d.ts +68 -0
  38. package/dist/utils/data.d.ts +7 -0
  39. package/dist/utils/string.d.ts +3 -0
  40. package/dist/utils/style.d.ts +3 -0
  41. package/dist/webcomponent.cjs +1 -0
  42. package/dist/webcomponent.d.ts +1 -0
  43. package/dist/webcomponent.js +1165 -0
  44. package/lib/webcomponent.ts +2 -3
  45. package/package.json +1 -1
  46. package/vite.config.ts +3 -1
@@ -0,0 +1,22 @@
1
+
2
+ > @twintag/twintag-form@1.6.2 build /home/runner/work/twintag-admin/twintag-admin/packages/twintag-form
3
+ > tsc && vite build
4
+
5
+ vite v5.4.8 building for production...
6
+ transforming...
7
+ ✓ 49 modules transformed.
8
+ rendering chunks...
9
+
10
+ [vite:dts] Start generate declaration files...
11
+ computing gzip size...
12
+ [vite:dts] Outside emitted: /home/runner/work/twintag-admin/twintag-admin/packages/twintag-form/twind.config.d.ts
13
+ dist/webcomponent.js  27.78 kB │ gzip: 5.51 kB
14
+ dist/index.js 136.06 kB │ gzip: 28.76 kB
15
+ [vite:dts] Outside emitted: /home/runner/work/twintag-admin/twintag-admin/packages/twintag-form/tailwind.config.d.ts
16
+ [vite:dts] Outside emitted: /home/runner/work/twintag-admin/twintag-admin/packages/twintag-form/dev/main.d.ts
17
+ [vite:dts] Outside emitted: /home/runner/work/twintag-admin/twintag-admin/packages/twintag-form/vite.config.d.ts
18
+ [vite:dts] Declaration files built in 9670ms.
19
+
20
+ dist/webcomponent.cjs 18.82 kB │ gzip: 5.05 kB
21
+ dist/index.cjs 95.08 kB │ gzip: 24.31 kB
22
+ ✓ built in 10.52s
package/CHANGELOG.md CHANGED
@@ -1,5 +1,19 @@
1
1
  # @twintag/twintag-form
2
2
 
3
+ ## 1.6.2
4
+
5
+ ### Patch Changes
6
+
7
+ - [#229](https://github.com/esoptra/twintag-admin/pull/229) [`a5492c8`](https://github.com/esoptra/twintag-admin/commit/a5492c87d2103bb01447f71bae57bbb77b82b83e) Thanks [@leweyse](https://github.com/leweyse)! - fix(twintag-form): attempt to fix module resolution
8
+
9
+ - [#229](https://github.com/esoptra/twintag-admin/pull/229) [`a5492c8`](https://github.com/esoptra/twintag-admin/commit/a5492c87d2103bb01447f71bae57bbb77b82b83e) Thanks [@leweyse](https://github.com/leweyse)! - fix(twintag-form): filter file types using the `accept` attribute
10
+
11
+ ## 1.6.2-beta.1
12
+
13
+ ### Patch Changes
14
+
15
+ - fix(twintag-form): attempt to fix module resolution
16
+
3
17
  ## 1.6.2-beta.0
4
18
 
5
19
  ### Patch Changes
package/dev/index.css CHANGED
@@ -1,32 +1,32 @@
1
- @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
2
-
3
- @tailwind base;
4
- @tailwind components;
5
- @tailwind utilities;
6
-
7
- :root {
8
- --tf-label: 222.2 47.4% 11.2%;
9
- --tf-category: 222.2 47.4% 11.2%;
10
-
11
- --tf-background: 0 0% 100%;
12
- --tf-foreground: 0 0% 0%;
13
-
14
- --tf-muted: 210 40% 96.1%;
15
- --tf-muted-foreground: 215.4 16.3% 46.9%;
16
-
17
- --tf-primary: 210 40% 98%;
18
- --tf-primary-foreground: 222.2 47.4% 11.2%;
19
-
20
- --tf-accent: 222.2 47.4% 11.2%;
21
- --tf-accent-foreground: 210 40% 96.1%;
22
-
23
- --tf-destructive: 0 100% 50%;
24
- --tf-destructive-foreground: 210 40% 98%;
25
-
26
- --tf-input: 214.3 31.8% 91.4%;
27
- --tf-ring: 215 20.2% 65.1%;
28
-
29
- --tf-radius: 0.5rem;
30
-
31
- --tf-font: 'Roboto', sans-serif;
32
- }
1
+ @import url('https://fonts.googleapis.com/css2?family=Roboto:ital,wght@0,100;0,300;0,400;0,500;0,700;0,900;1,100;1,300;1,400;1,500;1,700;1,900&display=swap');
2
+
3
+ @tailwind base;
4
+ @tailwind components;
5
+ @tailwind utilities;
6
+
7
+ :root {
8
+ --tf-label: 222.2 47.4% 11.2%;
9
+ --tf-category: 222.2 47.4% 11.2%;
10
+
11
+ --tf-background: 0 0% 100%;
12
+ --tf-foreground: 0 0% 0%;
13
+
14
+ --tf-muted: 210 40% 96.1%;
15
+ --tf-muted-foreground: 215.4 16.3% 46.9%;
16
+
17
+ --tf-primary: 210 40% 98%;
18
+ --tf-primary-foreground: 222.2 47.4% 11.2%;
19
+
20
+ --tf-accent: 222.2 47.4% 11.2%;
21
+ --tf-accent-foreground: 210 40% 96.1%;
22
+
23
+ --tf-destructive: 0 100% 50%;
24
+ --tf-destructive-foreground: 210 40% 98%;
25
+
26
+ --tf-input: 214.3 31.8% 91.4%;
27
+ --tf-ring: 215 20.2% 65.1%;
28
+
29
+ --tf-radius: 0.5rem;
30
+
31
+ --tf-font: 'Roboto', sans-serif;
32
+ }
@@ -0,0 +1,7 @@
1
+ import * as React from 'react';
2
+ import * as AccordionPrimitive from '@radix-ui/react-accordion';
3
+ declare const Accordion: React.ForwardRefExoticComponent<(AccordionPrimitive.AccordionSingleProps | AccordionPrimitive.AccordionMultipleProps) & React.RefAttributes<HTMLDivElement>>;
4
+ declare const AccordionItem: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionItemProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
+ declare const AccordionTrigger: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
6
+ declare const AccordionContent: React.ForwardRefExoticComponent<Omit<AccordionPrimitive.AccordionContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
7
+ export { Accordion, AccordionItem, AccordionTrigger, AccordionContent };
@@ -0,0 +1,71 @@
1
+ import { VariantProps, TVReturnType } from 'tailwind-variants';
2
+
3
+ import * as React from 'react';
4
+ declare const buttonVariants: TVReturnType<{
5
+ variant: {
6
+ default: string;
7
+ outline: string;
8
+ ghost: string;
9
+ };
10
+ size: {
11
+ sm: string;
12
+ base: string;
13
+ };
14
+ }, undefined, string[], {
15
+ variant: {
16
+ default: string;
17
+ outline: string;
18
+ ghost: string;
19
+ };
20
+ size: {
21
+ sm: string;
22
+ base: string;
23
+ };
24
+ }, undefined, TVReturnType<{
25
+ variant: {
26
+ default: string;
27
+ outline: string;
28
+ ghost: string;
29
+ };
30
+ size: {
31
+ sm: string;
32
+ base: string;
33
+ };
34
+ }, undefined, string[], unknown, unknown, undefined>>;
35
+ export type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof buttonVariants> & {
36
+ asChild?: boolean;
37
+ };
38
+ declare const Button: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps< TVReturnType<{
39
+ variant: {
40
+ default: string;
41
+ outline: string;
42
+ ghost: string;
43
+ };
44
+ size: {
45
+ sm: string;
46
+ base: string;
47
+ };
48
+ }, undefined, string[], {
49
+ variant: {
50
+ default: string;
51
+ outline: string;
52
+ ghost: string;
53
+ };
54
+ size: {
55
+ sm: string;
56
+ base: string;
57
+ };
58
+ }, undefined, TVReturnType<{
59
+ variant: {
60
+ default: string;
61
+ outline: string;
62
+ ghost: string;
63
+ };
64
+ size: {
65
+ sm: string;
66
+ base: string;
67
+ };
68
+ }, undefined, string[], unknown, unknown, undefined>>> & {
69
+ asChild?: boolean;
70
+ } & React.RefAttributes<HTMLButtonElement>>;
71
+ export { Button, buttonVariants };
@@ -0,0 +1,139 @@
1
+ import { VariantProps, TVReturnType } from 'tailwind-variants';
2
+ import { DayPicker } from 'react-day-picker';
3
+ import type * as React from 'react';
4
+ declare const calendarVariants: TVReturnType<{
5
+ variant: {
6
+ dropdown: {
7
+ caption_label: string;
8
+ caption_dropdowns: string[];
9
+ };
10
+ };
11
+ size: {
12
+ sm: {
13
+ caption_label: string;
14
+ caption_dropdowns: string;
15
+ cell: string;
16
+ };
17
+ base: {
18
+ caption_label: string;
19
+ caption_dropdowns: string;
20
+ cell: string;
21
+ };
22
+ };
23
+ }, {
24
+ picker: string;
25
+ months: string;
26
+ month: string;
27
+ caption: string;
28
+ caption_dropdowns: string;
29
+ caption_label: string;
30
+ nav: string;
31
+ nav_button: string;
32
+ nav_button_previous: string;
33
+ nav_button_next: string;
34
+ table: string;
35
+ head_row: string;
36
+ head_cell: string;
37
+ row: string;
38
+ cell: string;
39
+ day: string;
40
+ day_range_end: string;
41
+ day_selected: string;
42
+ day_today: string;
43
+ day_outside: string;
44
+ day_disabled: string;
45
+ day_range_middle: string;
46
+ day_hidden: string;
47
+ }, undefined, {
48
+ variant: {
49
+ dropdown: {
50
+ caption_label: string;
51
+ caption_dropdowns: string[];
52
+ };
53
+ };
54
+ size: {
55
+ sm: {
56
+ caption_label: string;
57
+ caption_dropdowns: string;
58
+ cell: string;
59
+ };
60
+ base: {
61
+ caption_label: string;
62
+ caption_dropdowns: string;
63
+ cell: string;
64
+ };
65
+ };
66
+ }, {
67
+ picker: string;
68
+ months: string;
69
+ month: string;
70
+ caption: string;
71
+ caption_dropdowns: string;
72
+ caption_label: string;
73
+ nav: string;
74
+ nav_button: string;
75
+ nav_button_previous: string;
76
+ nav_button_next: string;
77
+ table: string;
78
+ head_row: string;
79
+ head_cell: string;
80
+ row: string;
81
+ cell: string;
82
+ day: string;
83
+ day_range_end: string;
84
+ day_selected: string;
85
+ day_today: string;
86
+ day_outside: string;
87
+ day_disabled: string;
88
+ day_range_middle: string;
89
+ day_hidden: string;
90
+ }, TVReturnType<{
91
+ variant: {
92
+ dropdown: {
93
+ caption_label: string;
94
+ caption_dropdowns: string[];
95
+ };
96
+ };
97
+ size: {
98
+ sm: {
99
+ caption_label: string;
100
+ caption_dropdowns: string;
101
+ cell: string;
102
+ };
103
+ base: {
104
+ caption_label: string;
105
+ caption_dropdowns: string;
106
+ cell: string;
107
+ };
108
+ };
109
+ }, {
110
+ picker: string;
111
+ months: string;
112
+ month: string;
113
+ caption: string;
114
+ caption_dropdowns: string;
115
+ caption_label: string;
116
+ nav: string;
117
+ nav_button: string;
118
+ nav_button_previous: string;
119
+ nav_button_next: string;
120
+ table: string;
121
+ head_row: string;
122
+ head_cell: string;
123
+ row: string;
124
+ cell: string;
125
+ day: string;
126
+ day_range_end: string;
127
+ day_selected: string;
128
+ day_today: string;
129
+ day_outside: string;
130
+ day_disabled: string;
131
+ day_range_middle: string;
132
+ day_hidden: string;
133
+ }, undefined, unknown, unknown, undefined>>;
134
+ export type CalendarProps = React.ComponentProps<typeof DayPicker> & VariantProps<typeof calendarVariants>;
135
+ declare function Calendar({ size, className, classNames, showOutsideDays, ...props }: CalendarProps): import("react/jsx-runtime").JSX.Element;
136
+ declare namespace Calendar {
137
+ var displayName: string;
138
+ }
139
+ export { Calendar };
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import * as CheckboxPrimitive from '@radix-ui/react-checkbox';
3
+ declare const Checkbox: React.ForwardRefExoticComponent<Omit<CheckboxPrimitive.CheckboxProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
4
+ export { Checkbox };
@@ -0,0 +1,86 @@
1
+ import { ControllerProps, FieldPath, FieldValues, FormProviderProps, FieldError } from 'react-hook-form';
2
+ import { VariantProps, TVReturnType } from 'tailwind-variants';
3
+ import { LabelProps } from '@radix-ui/react-label';
4
+ import { SlotProps } from '@radix-ui/react-slot';
5
+
6
+ import * as React from 'react';
7
+ declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>(props: FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
8
+ declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => import("react/jsx-runtime").JSX.Element;
9
+ declare const useFormField: () => {
10
+ invalid: boolean;
11
+ isDirty: boolean;
12
+ isTouched: boolean;
13
+ isValidating: boolean;
14
+ error?: FieldError;
15
+ id: string;
16
+ name: string;
17
+ formItemId: string;
18
+ formDescriptionId: string;
19
+ formMessageId: string;
20
+ };
21
+ declare const FormItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps< TVReturnType<{
22
+ variant: {
23
+ default: string;
24
+ outline: string;
25
+ };
26
+ }, undefined, "", {
27
+ variant: {
28
+ default: string;
29
+ outline: string;
30
+ };
31
+ }, undefined, TVReturnType<{
32
+ variant: {
33
+ default: string;
34
+ outline: string;
35
+ };
36
+ }, undefined, "", unknown, unknown, undefined>>> & React.RefAttributes<HTMLDivElement>>;
37
+ declare const FormLabel: React.ForwardRefExoticComponent<Omit<Omit< LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps< TVReturnType<{
38
+ size: {
39
+ sm: string;
40
+ base: string;
41
+ };
42
+ }, undefined, string[], {
43
+ size: {
44
+ sm: string;
45
+ base: string;
46
+ };
47
+ }, undefined, TVReturnType<{
48
+ size: {
49
+ sm: string;
50
+ base: string;
51
+ };
52
+ }, undefined, string[], unknown, unknown, undefined>>> & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
53
+ declare const FormControl: React.ForwardRefExoticComponent<Omit< SlotProps & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
54
+ declare const FormDescription: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & VariantProps< TVReturnType<{
55
+ size: {
56
+ sm: string;
57
+ base: string;
58
+ };
59
+ }, undefined, "text-tf-muted-foreground", {
60
+ size: {
61
+ sm: string;
62
+ base: string;
63
+ };
64
+ }, undefined, TVReturnType<{
65
+ size: {
66
+ sm: string;
67
+ base: string;
68
+ };
69
+ }, undefined, "text-tf-muted-foreground", unknown, unknown, undefined>>> & React.RefAttributes<HTMLParagraphElement>>;
70
+ declare const FormMessage: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLParagraphElement> & VariantProps< TVReturnType<{
71
+ size: {
72
+ sm: string;
73
+ base: string;
74
+ };
75
+ }, undefined, "font-medium text-tf-destructive", {
76
+ size: {
77
+ sm: string;
78
+ base: string;
79
+ };
80
+ }, undefined, TVReturnType<{
81
+ size: {
82
+ sm: string;
83
+ base: string;
84
+ };
85
+ }, undefined, "font-medium text-tf-destructive", unknown, unknown, undefined>>> & React.RefAttributes<HTMLParagraphElement>>;
86
+ export { useFormField, Form, FormItem, FormLabel, FormControl, FormDescription, FormMessage, FormField, };
@@ -0,0 +1,8 @@
1
+ import { FC } from 'react';
2
+
3
+ type Props = {
4
+ name: string;
5
+ className?: string;
6
+ };
7
+ export declare const Icon: FC<Props>;
8
+ export {};
@@ -0,0 +1,133 @@
1
+ import { VariantProps, TVReturnType } from 'tailwind-variants';
2
+
3
+ import * as React from 'react';
4
+ declare const inputVariants: TVReturnType<{
5
+ variant: {
6
+ default: {
7
+ input: string;
8
+ };
9
+ outline: {
10
+ root: string;
11
+ input: string;
12
+ };
13
+ };
14
+ size: {
15
+ sm: {
16
+ input: string;
17
+ };
18
+ base: {
19
+ input: string;
20
+ };
21
+ };
22
+ }, {
23
+ root: string;
24
+ input: string[];
25
+ }, undefined, {
26
+ variant: {
27
+ default: {
28
+ input: string;
29
+ };
30
+ outline: {
31
+ root: string;
32
+ input: string;
33
+ };
34
+ };
35
+ size: {
36
+ sm: {
37
+ input: string;
38
+ };
39
+ base: {
40
+ input: string;
41
+ };
42
+ };
43
+ }, {
44
+ root: string;
45
+ input: string[];
46
+ }, TVReturnType<{
47
+ variant: {
48
+ default: {
49
+ input: string;
50
+ };
51
+ outline: {
52
+ root: string;
53
+ input: string;
54
+ };
55
+ };
56
+ size: {
57
+ sm: {
58
+ input: string;
59
+ };
60
+ base: {
61
+ input: string;
62
+ };
63
+ };
64
+ }, {
65
+ root: string;
66
+ input: string[];
67
+ }, undefined, unknown, unknown, undefined>>;
68
+ export type InputProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> & VariantProps<typeof inputVariants>;
69
+ declare const Input: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & VariantProps< TVReturnType<{
70
+ variant: {
71
+ default: {
72
+ input: string;
73
+ };
74
+ outline: {
75
+ root: string;
76
+ input: string;
77
+ };
78
+ };
79
+ size: {
80
+ sm: {
81
+ input: string;
82
+ };
83
+ base: {
84
+ input: string;
85
+ };
86
+ };
87
+ }, {
88
+ root: string;
89
+ input: string[];
90
+ }, undefined, {
91
+ variant: {
92
+ default: {
93
+ input: string;
94
+ };
95
+ outline: {
96
+ root: string;
97
+ input: string;
98
+ };
99
+ };
100
+ size: {
101
+ sm: {
102
+ input: string;
103
+ };
104
+ base: {
105
+ input: string;
106
+ };
107
+ };
108
+ }, {
109
+ root: string;
110
+ input: string[];
111
+ }, TVReturnType<{
112
+ variant: {
113
+ default: {
114
+ input: string;
115
+ };
116
+ outline: {
117
+ root: string;
118
+ input: string;
119
+ };
120
+ };
121
+ size: {
122
+ sm: {
123
+ input: string;
124
+ };
125
+ base: {
126
+ input: string;
127
+ };
128
+ };
129
+ }, {
130
+ root: string;
131
+ input: string[];
132
+ }, undefined, unknown, unknown, undefined>>> & React.RefAttributes<HTMLInputElement>>;
133
+ export { Input };
@@ -0,0 +1,21 @@
1
+ import { VariantProps, TVReturnType } from 'tailwind-variants';
2
+
3
+ import * as React from 'react';
4
+ import * as LabelPrimitive from '@radix-ui/react-label';
5
+ declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps< TVReturnType<{
6
+ size: {
7
+ sm: string;
8
+ base: string;
9
+ };
10
+ }, undefined, string[], {
11
+ size: {
12
+ sm: string;
13
+ base: string;
14
+ };
15
+ }, undefined, TVReturnType<{
16
+ size: {
17
+ sm: string;
18
+ base: string;
19
+ };
20
+ }, undefined, string[], unknown, unknown, undefined>>> & React.RefAttributes<HTMLLabelElement>>;
21
+ export { Label };
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ import * as PopoverPrimitive from '@radix-ui/react-popover';
3
+ declare const Popover: React.FC<PopoverPrimitive.PopoverProps>;
4
+ declare const PopoverTrigger: React.ForwardRefExoticComponent<PopoverPrimitive.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>>;
5
+ declare const PopoverContent: React.ForwardRefExoticComponent<Omit<PopoverPrimitive.PopoverContentProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
6
+ export { Popover, PopoverTrigger, PopoverContent };
@@ -0,0 +1,5 @@
1
+ import * as React from 'react';
2
+ import * as RadioGroupPrimitive from '@radix-ui/react-radio-group';
3
+ declare const RadioGroup: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
4
+ declare const RadioGroupItem: React.ForwardRefExoticComponent<Omit<RadioGroupPrimitive.RadioGroupItemProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
5
+ export { RadioGroup, RadioGroupItem };
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import * as SliderPrimitive from '@radix-ui/react-slider';
3
+ declare const Slider: React.ForwardRefExoticComponent<Omit<SliderPrimitive.SliderProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
4
+ export { Slider };
@@ -0,0 +1,4 @@
1
+ import * as React from 'react';
2
+ import * as SwitchPrimitives from '@radix-ui/react-switch';
3
+ declare const Switch: React.ForwardRefExoticComponent<Omit<SwitchPrimitives.SwitchProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
4
+ export { Switch };
@@ -0,0 +1,68 @@
1
+ import { VariantProps, TVReturnType } from 'tailwind-variants';
2
+
3
+ import * as React from 'react';
4
+ declare const Textarea: React.ForwardRefExoticComponent<React.TextareaHTMLAttributes<HTMLTextAreaElement> & VariantProps< TVReturnType<{
5
+ variant: {
6
+ default: {
7
+ textarea: string;
8
+ };
9
+ outline: {
10
+ root: string;
11
+ textarea: string;
12
+ };
13
+ };
14
+ size: {
15
+ sm: {
16
+ textarea: string;
17
+ };
18
+ base: {
19
+ textarea: string;
20
+ };
21
+ };
22
+ }, {
23
+ root: string;
24
+ textarea: string[];
25
+ }, undefined, {
26
+ variant: {
27
+ default: {
28
+ textarea: string;
29
+ };
30
+ outline: {
31
+ root: string;
32
+ textarea: string;
33
+ };
34
+ };
35
+ size: {
36
+ sm: {
37
+ textarea: string;
38
+ };
39
+ base: {
40
+ textarea: string;
41
+ };
42
+ };
43
+ }, {
44
+ root: string;
45
+ textarea: string[];
46
+ }, TVReturnType<{
47
+ variant: {
48
+ default: {
49
+ textarea: string;
50
+ };
51
+ outline: {
52
+ root: string;
53
+ textarea: string;
54
+ };
55
+ };
56
+ size: {
57
+ sm: {
58
+ textarea: string;
59
+ };
60
+ base: {
61
+ textarea: string;
62
+ };
63
+ };
64
+ }, {
65
+ root: string;
66
+ textarea: string[];
67
+ }, undefined, unknown, unknown, undefined>>> & React.RefAttributes<HTMLTextAreaElement>>;
68
+ export { Textarea };
@@ -0,0 +1,6 @@
1
+ import { ElementType } from 'react';
2
+ import { InputCompConfig } from '../types';
3
+
4
+ export declare const Containers: Map<string, ElementType>;
5
+ export declare const Inputs: Map<string, InputCompConfig>;
6
+ export declare const components: Map<string, ElementType>;