@twintag/twintag-form 1.7.4 → 1.7.7
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/AGENTS.md +19 -0
- package/CHANGELOG.md +20 -0
- package/lib/common/calendar.tsx +1 -1
- package/lib/vite-env.d.ts +1 -0
- package/package.json +6 -3
- package/tsconfig.json +0 -1
- package/vite.config.ts +1 -1
- package/.turbo/turbo-build.log +0 -15
- package/dist/common/accordion.d.ts +0 -7
- package/dist/common/button.d.ts +0 -70
- package/dist/common/calendar.d.ts +0 -139
- package/dist/common/checkbox.d.ts +0 -4
- package/dist/common/form.d.ts +0 -86
- package/dist/common/icon.d.ts +0 -7
- package/dist/common/input.d.ts +0 -132
- package/dist/common/label.d.ts +0 -20
- package/dist/common/popover.d.ts +0 -6
- package/dist/common/radiogroup.d.ts +0 -5
- package/dist/common/slider.d.ts +0 -4
- package/dist/common/switch.d.ts +0 -4
- package/dist/common/textarea.d.ts +0 -67
- package/dist/components/config.d.ts +0 -5
- package/dist/components/containers/accordion.d.ts +0 -6
- package/dist/components/containers/category.d.ts +0 -7
- package/dist/components/fields/checkbox.d.ts +0 -4
- package/dist/components/fields/date-picker.d.ts +0 -4
- package/dist/components/fields/file.d.ts +0 -4
- package/dist/components/fields/input.d.ts +0 -4
- package/dist/components/fields/radiogroup.d.ts +0 -6
- package/dist/components/fields/submit.d.ts +0 -3
- package/dist/components/fields/textarea.d.ts +0 -4
- package/dist/components/fields/toggle.d.ts +0 -4
- package/dist/components/fields/tri-toggle.d.ts +0 -4
- package/dist/components/form.d.ts +0 -8
- package/dist/components/input.d.ts +0 -3
- package/dist/components/label.d.ts +0 -3
- package/dist/components/provider.d.ts +0 -13
- package/dist/components/renderer.d.ts +0 -1
- package/dist/dev/main.d.ts +0 -0
- package/dist/index.cjs +0 -1
- package/dist/index.d.ts +0 -16
- package/dist/index.js +0 -4301
- package/dist/tailwind.config.d.ts +0 -54
- package/dist/twind.config.d.ts +0 -6
- package/dist/types/index.d.ts +0 -67
- package/dist/utils/data.d.ts +0 -6
- package/dist/utils/string.d.ts +0 -3
- package/dist/utils/style.d.ts +0 -2
- package/dist/vite.config.d.ts +0 -4
- package/dist/webcomponent.cjs +0 -1
- package/dist/webcomponent.d.ts +0 -1
- package/dist/webcomponent.js +0 -1179
package/AGENTS.md
ADDED
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
# @twintag/twintag-form
|
|
2
|
+
|
|
3
|
+
Read this before changing anything in this package. It is **the only package in this workspace that is published to npm**, and it has zero internal consumers, so every caller is outside this repository and none of them is visible from here.
|
|
4
|
+
|
|
5
|
+
That inverts how a change is judged everywhere else in the monorepo. There is no workspace search that finds a caller, no consumer to update in the same commit, and no build that fails when you break someone. A change that looks safe because nothing in the repository references it is exactly the dangerous case.
|
|
6
|
+
|
|
7
|
+
Treat the entire public surface as frozen unless a maintainer has explicitly approved a versioned change. Full reference, including the consumer list reasoning, is in [the package concept](../../.agents/docs/packages/twintag-form.md); the API itself is documented in [`README.md`](./README.md), which is what callers read.
|
|
8
|
+
|
|
9
|
+
## Frozen without approval
|
|
10
|
+
|
|
11
|
+
- **The `exports` map** — the root entry and `./webcomponent`.
|
|
12
|
+
- **The config object** a caller passes: parameters, options, inputs, subtypes, containers.
|
|
13
|
+
- **Event names.** A caller binds to them without importing anything, so a rename is undetectable until it reaches production.
|
|
14
|
+
- **CSS class names.** Callers style against them from outside the bundle.
|
|
15
|
+
- **Framework independence.** The package works without a framework, which is the reason it exists separately. Adding a React or Vue dependency to its runtime path removes that.
|
|
16
|
+
|
|
17
|
+
## Releasing
|
|
18
|
+
|
|
19
|
+
The root `release` script builds this package and runs `changeset publish`. A change here needs a changeset like any other, but the version bump is a real published version rather than an internal one, so an agent authoring `patch` cannot author the change that warrants `minor`. Escalate instead.
|
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,25 @@
|
|
|
1
1
|
# @twintag/twintag-form
|
|
2
2
|
|
|
3
|
+
## 1.7.7
|
|
4
|
+
|
|
5
|
+
### Patch Changes
|
|
6
|
+
|
|
7
|
+
- [#643](https://github.com/esoptra/twintag-admin/pull/643) [`2b26ed0`](https://github.com/esoptra/twintag-admin/commit/2b26ed0110f1c1f8164b02150b0a003869f6d955) Thanks [@leweyse](https://github.com/leweyse)! - chore(deps): update react to 19.3
|
|
8
|
+
|
|
9
|
+
A dialog or menu no longer stays on screen after the view that opened it goes away ([facebook/react#35091](https://github.com/facebook/react/pull/35091)).
|
|
10
|
+
|
|
11
|
+
## 1.7.6
|
|
12
|
+
|
|
13
|
+
### Patch Changes
|
|
14
|
+
|
|
15
|
+
- [#625](https://github.com/esoptra/twintag-admin/pull/625) [`3d1fba4`](https://github.com/esoptra/twintag-admin/commit/3d1fba4bf23493b9b39f4ad3a290ff0cdba9fc9f) Thanks [@leweyse](https://github.com/leweyse)! - chore: typescript@7.0 + bump deps
|
|
16
|
+
|
|
17
|
+
## 1.7.5
|
|
18
|
+
|
|
19
|
+
### Patch Changes
|
|
20
|
+
|
|
21
|
+
- [#524](https://github.com/esoptra/twintag-admin/pull/524) [`7a14c51`](https://github.com/esoptra/twintag-admin/commit/7a14c51ddd3bec55078809477288405f68085664) Thanks [@leweyse](https://github.com/leweyse)! - chore: move `react` to `peerDependencies`
|
|
22
|
+
|
|
3
23
|
## 1.7.4
|
|
4
24
|
|
|
5
25
|
### Patch Changes
|
package/lib/common/calendar.tsx
CHANGED
|
@@ -49,7 +49,7 @@ const calendarVariants = tv({
|
|
|
49
49
|
caption_label: 'hidden',
|
|
50
50
|
caption_dropdowns: [
|
|
51
51
|
'flex w-4/6 justify-center gap-1',
|
|
52
|
-
'[&>*>span]:hidden [&>*]:flex-1 [&>.rdp-vhidden]:hidden
|
|
52
|
+
'[&>*>span]:hidden [&>*]:flex-1 [&>.rdp-vhidden]:hidden',
|
|
53
53
|
'[&>*>select]:h-7 [&>*>select]:min-w-[3.6rem] [&>*>select]:rounded-tf-md [&>*>select]:border [&>*>select]:border-tf-input [&>*>select]:bg-tf-background [&>*>select]:px-1',
|
|
54
54
|
'[&>*>select]:ring-offset-tf-background [&>*>select]:focus-visible:outline-none [&>*>select]:focus-visible:ring-1 [&>*>select]:focus-visible:ring-tf-ring',
|
|
55
55
|
],
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
/// <reference types="vite/client" />
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@twintag/twintag-form",
|
|
3
|
-
"version": "1.7.
|
|
3
|
+
"version": "1.7.7",
|
|
4
4
|
"author": "Twintag",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"exports": {
|
|
@@ -34,13 +34,16 @@
|
|
|
34
34
|
"clsx": "^2.1.1",
|
|
35
35
|
"date-fns": "^3.6.0",
|
|
36
36
|
"lucide-react": "0.543.0",
|
|
37
|
-
"react": "^19.2.7",
|
|
38
37
|
"react-day-picker": "^8.10.2",
|
|
39
|
-
"react-dom": "^19.2.7",
|
|
40
38
|
"react-hook-form": "^7.80.0",
|
|
41
39
|
"tailwind-merge": "^2.6.1",
|
|
40
|
+
"tailwind-variants": "^3.3.1",
|
|
42
41
|
"uuid": "^11.1.1"
|
|
43
42
|
},
|
|
43
|
+
"peerDependencies": {
|
|
44
|
+
"react": "^19.0.0",
|
|
45
|
+
"react-dom": "^19.0.0"
|
|
46
|
+
},
|
|
44
47
|
"publishConfig": {
|
|
45
48
|
"access": "public"
|
|
46
49
|
},
|
package/tsconfig.json
CHANGED
package/vite.config.ts
CHANGED
package/.turbo/turbo-build.log
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
$ tsc && vite build
|
|
2
|
-
[36mvite v7.3.5 [32mbuilding client environment for production...[36m[39m
|
|
3
|
-
transforming...
|
|
4
|
-
[32m✓[39m 57 modules transformed.
|
|
5
|
-
rendering chunks...
|
|
6
|
-
[32m
|
|
7
|
-
[36m[unplugin:dts][32m Start generate declaration files...[39m
|
|
8
|
-
computing gzip size...
|
|
9
|
-
[2mdist/[22m[36mwebcomponent.js [39m[1m[2m 30.19 kB[22m[1m[22m[2m │ gzip: 5.67 kB[22m
|
|
10
|
-
[2mdist/[22m[36mindex.js [39m[1m[2m126.49 kB[22m[1m[22m[2m │ gzip: 26.38 kB[22m
|
|
11
|
-
[32m[36m[unplugin:dts][32m Declaration files built in 7059ms.
|
|
12
|
-
[39m
|
|
13
|
-
[2mdist/[22m[36mwebcomponent.cjs [39m[1m[2m18.98 kB[22m[1m[22m[2m │ gzip: 5.13 kB[22m
|
|
14
|
-
[2mdist/[22m[36mindex.cjs [39m[1m[2m87.62 kB[22m[1m[22m[2m │ gzip: 22.14 kB[22m
|
|
15
|
-
[32m✓ built in 7.83s[39m
|
|
@@ -1,7 +0,0 @@
|
|
|
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, AccordionContent, AccordionItem, AccordionTrigger };
|
package/dist/common/button.d.ts
DELETED
|
@@ -1,70 +0,0 @@
|
|
|
1
|
-
import { VariantProps, TVReturnType } from 'tailwind-variants';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
declare const buttonVariants: TVReturnType<{
|
|
4
|
-
variant: {
|
|
5
|
-
default: string;
|
|
6
|
-
outline: string;
|
|
7
|
-
ghost: string;
|
|
8
|
-
};
|
|
9
|
-
size: {
|
|
10
|
-
sm: string;
|
|
11
|
-
base: string;
|
|
12
|
-
};
|
|
13
|
-
}, undefined, string[], {
|
|
14
|
-
variant: {
|
|
15
|
-
default: string;
|
|
16
|
-
outline: string;
|
|
17
|
-
ghost: string;
|
|
18
|
-
};
|
|
19
|
-
size: {
|
|
20
|
-
sm: string;
|
|
21
|
-
base: string;
|
|
22
|
-
};
|
|
23
|
-
}, undefined, TVReturnType<{
|
|
24
|
-
variant: {
|
|
25
|
-
default: string;
|
|
26
|
-
outline: string;
|
|
27
|
-
ghost: string;
|
|
28
|
-
};
|
|
29
|
-
size: {
|
|
30
|
-
sm: string;
|
|
31
|
-
base: string;
|
|
32
|
-
};
|
|
33
|
-
}, undefined, string[], unknown, unknown, undefined>>;
|
|
34
|
-
export type ButtonProps = React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps<typeof buttonVariants> & {
|
|
35
|
-
asChild?: boolean;
|
|
36
|
-
};
|
|
37
|
-
declare const Button: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & VariantProps< TVReturnType<{
|
|
38
|
-
variant: {
|
|
39
|
-
default: string;
|
|
40
|
-
outline: string;
|
|
41
|
-
ghost: string;
|
|
42
|
-
};
|
|
43
|
-
size: {
|
|
44
|
-
sm: string;
|
|
45
|
-
base: string;
|
|
46
|
-
};
|
|
47
|
-
}, undefined, string[], {
|
|
48
|
-
variant: {
|
|
49
|
-
default: string;
|
|
50
|
-
outline: string;
|
|
51
|
-
ghost: string;
|
|
52
|
-
};
|
|
53
|
-
size: {
|
|
54
|
-
sm: string;
|
|
55
|
-
base: string;
|
|
56
|
-
};
|
|
57
|
-
}, undefined, TVReturnType<{
|
|
58
|
-
variant: {
|
|
59
|
-
default: string;
|
|
60
|
-
outline: string;
|
|
61
|
-
ghost: string;
|
|
62
|
-
};
|
|
63
|
-
size: {
|
|
64
|
-
sm: string;
|
|
65
|
-
base: string;
|
|
66
|
-
};
|
|
67
|
-
}, undefined, string[], unknown, unknown, undefined>>> & {
|
|
68
|
-
asChild?: boolean;
|
|
69
|
-
} & React.RefAttributes<HTMLButtonElement>>;
|
|
70
|
-
export { Button, buttonVariants };
|
|
@@ -1,139 +0,0 @@
|
|
|
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): React.JSX.Element;
|
|
136
|
-
declare namespace Calendar {
|
|
137
|
-
var displayName: string;
|
|
138
|
-
}
|
|
139
|
-
export { Calendar };
|
|
@@ -1,4 +0,0 @@
|
|
|
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 };
|
package/dist/common/form.d.ts
DELETED
|
@@ -1,86 +0,0 @@
|
|
|
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 * as React from 'react';
|
|
5
|
-
declare const Form: <TFieldValues extends FieldValues, TContext = any, TTransformedValues = TFieldValues>({ children, watch, getValues, getFieldState, setError, clearErrors, setValue, setValues, trigger, formState, resetField, reset, handleSubmit, unregister, control, register, setFocus, subscribe, }: FormProviderProps<TFieldValues, TContext, TTransformedValues>) => React.JSX.Element;
|
|
6
|
-
declare const FormField: <TFieldValues extends FieldValues = FieldValues, TName extends FieldPath<TFieldValues> = FieldPath<TFieldValues>>({ ...props }: ControllerProps<TFieldValues, TName>) => React.JSX.Element;
|
|
7
|
-
declare const useFormField: () => {
|
|
8
|
-
invalid: boolean;
|
|
9
|
-
isDirty: boolean;
|
|
10
|
-
isTouched: boolean;
|
|
11
|
-
isValidating: boolean;
|
|
12
|
-
error?: FieldError;
|
|
13
|
-
id: string;
|
|
14
|
-
name: string;
|
|
15
|
-
formItemId: string;
|
|
16
|
-
formDescriptionId: string;
|
|
17
|
-
formMessageId: string;
|
|
18
|
-
};
|
|
19
|
-
declare const FormItem: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & VariantProps< TVReturnType<{
|
|
20
|
-
variant: {
|
|
21
|
-
default: string;
|
|
22
|
-
outline: string;
|
|
23
|
-
};
|
|
24
|
-
}, undefined, "", {
|
|
25
|
-
variant: {
|
|
26
|
-
default: string;
|
|
27
|
-
outline: string;
|
|
28
|
-
};
|
|
29
|
-
}, undefined, TVReturnType<{
|
|
30
|
-
variant: {
|
|
31
|
-
default: string;
|
|
32
|
-
outline: string;
|
|
33
|
-
};
|
|
34
|
-
}, undefined, "", unknown, unknown, undefined>>> & React.RefAttributes<HTMLDivElement>>;
|
|
35
|
-
declare const FormLabel: React.ForwardRefExoticComponent<Omit<Omit< LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps< TVReturnType<{
|
|
36
|
-
size: {
|
|
37
|
-
sm: string;
|
|
38
|
-
base: string;
|
|
39
|
-
};
|
|
40
|
-
}, undefined, string[], {
|
|
41
|
-
size: {
|
|
42
|
-
sm: string;
|
|
43
|
-
base: string;
|
|
44
|
-
};
|
|
45
|
-
}, undefined, TVReturnType<{
|
|
46
|
-
size: {
|
|
47
|
-
sm: string;
|
|
48
|
-
base: string;
|
|
49
|
-
};
|
|
50
|
-
}, undefined, string[], unknown, unknown, undefined>>> & React.RefAttributes<HTMLLabelElement>, "ref"> & React.RefAttributes<HTMLLabelElement>>;
|
|
51
|
-
declare const FormControl: React.ForwardRefExoticComponent<Omit<React.HTMLAttributes<HTMLElement> & {
|
|
52
|
-
children?: React.ReactNode;
|
|
53
|
-
} & 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 { Form, FormControl, FormDescription, FormField, FormItem, FormLabel, FormMessage, useFormField, };
|
package/dist/common/icon.d.ts
DELETED
package/dist/common/input.d.ts
DELETED
|
@@ -1,132 +0,0 @@
|
|
|
1
|
-
import { VariantProps, TVReturnType } from 'tailwind-variants';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
declare const inputVariants: TVReturnType<{
|
|
4
|
-
variant: {
|
|
5
|
-
default: {
|
|
6
|
-
input: string;
|
|
7
|
-
};
|
|
8
|
-
outline: {
|
|
9
|
-
root: string;
|
|
10
|
-
input: string;
|
|
11
|
-
};
|
|
12
|
-
};
|
|
13
|
-
size: {
|
|
14
|
-
sm: {
|
|
15
|
-
input: string;
|
|
16
|
-
};
|
|
17
|
-
base: {
|
|
18
|
-
input: string;
|
|
19
|
-
};
|
|
20
|
-
};
|
|
21
|
-
}, {
|
|
22
|
-
root: string;
|
|
23
|
-
input: string[];
|
|
24
|
-
}, undefined, {
|
|
25
|
-
variant: {
|
|
26
|
-
default: {
|
|
27
|
-
input: string;
|
|
28
|
-
};
|
|
29
|
-
outline: {
|
|
30
|
-
root: string;
|
|
31
|
-
input: string;
|
|
32
|
-
};
|
|
33
|
-
};
|
|
34
|
-
size: {
|
|
35
|
-
sm: {
|
|
36
|
-
input: string;
|
|
37
|
-
};
|
|
38
|
-
base: {
|
|
39
|
-
input: string;
|
|
40
|
-
};
|
|
41
|
-
};
|
|
42
|
-
}, {
|
|
43
|
-
root: string;
|
|
44
|
-
input: string[];
|
|
45
|
-
}, TVReturnType<{
|
|
46
|
-
variant: {
|
|
47
|
-
default: {
|
|
48
|
-
input: string;
|
|
49
|
-
};
|
|
50
|
-
outline: {
|
|
51
|
-
root: string;
|
|
52
|
-
input: string;
|
|
53
|
-
};
|
|
54
|
-
};
|
|
55
|
-
size: {
|
|
56
|
-
sm: {
|
|
57
|
-
input: string;
|
|
58
|
-
};
|
|
59
|
-
base: {
|
|
60
|
-
input: string;
|
|
61
|
-
};
|
|
62
|
-
};
|
|
63
|
-
}, {
|
|
64
|
-
root: string;
|
|
65
|
-
input: string[];
|
|
66
|
-
}, undefined, unknown, unknown, undefined>>;
|
|
67
|
-
export type InputProps = Omit<React.InputHTMLAttributes<HTMLInputElement>, 'size'> & VariantProps<typeof inputVariants>;
|
|
68
|
-
declare const Input: React.ForwardRefExoticComponent<Omit<React.InputHTMLAttributes<HTMLInputElement>, "size"> & VariantProps< TVReturnType<{
|
|
69
|
-
variant: {
|
|
70
|
-
default: {
|
|
71
|
-
input: string;
|
|
72
|
-
};
|
|
73
|
-
outline: {
|
|
74
|
-
root: string;
|
|
75
|
-
input: string;
|
|
76
|
-
};
|
|
77
|
-
};
|
|
78
|
-
size: {
|
|
79
|
-
sm: {
|
|
80
|
-
input: string;
|
|
81
|
-
};
|
|
82
|
-
base: {
|
|
83
|
-
input: string;
|
|
84
|
-
};
|
|
85
|
-
};
|
|
86
|
-
}, {
|
|
87
|
-
root: string;
|
|
88
|
-
input: string[];
|
|
89
|
-
}, undefined, {
|
|
90
|
-
variant: {
|
|
91
|
-
default: {
|
|
92
|
-
input: string;
|
|
93
|
-
};
|
|
94
|
-
outline: {
|
|
95
|
-
root: string;
|
|
96
|
-
input: string;
|
|
97
|
-
};
|
|
98
|
-
};
|
|
99
|
-
size: {
|
|
100
|
-
sm: {
|
|
101
|
-
input: string;
|
|
102
|
-
};
|
|
103
|
-
base: {
|
|
104
|
-
input: string;
|
|
105
|
-
};
|
|
106
|
-
};
|
|
107
|
-
}, {
|
|
108
|
-
root: string;
|
|
109
|
-
input: string[];
|
|
110
|
-
}, TVReturnType<{
|
|
111
|
-
variant: {
|
|
112
|
-
default: {
|
|
113
|
-
input: string;
|
|
114
|
-
};
|
|
115
|
-
outline: {
|
|
116
|
-
root: string;
|
|
117
|
-
input: string;
|
|
118
|
-
};
|
|
119
|
-
};
|
|
120
|
-
size: {
|
|
121
|
-
sm: {
|
|
122
|
-
input: string;
|
|
123
|
-
};
|
|
124
|
-
base: {
|
|
125
|
-
input: string;
|
|
126
|
-
};
|
|
127
|
-
};
|
|
128
|
-
}, {
|
|
129
|
-
root: string;
|
|
130
|
-
input: string[];
|
|
131
|
-
}, undefined, unknown, unknown, undefined>>> & React.RefAttributes<HTMLInputElement>>;
|
|
132
|
-
export { Input };
|
package/dist/common/label.d.ts
DELETED
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { VariantProps, TVReturnType } from 'tailwind-variants';
|
|
2
|
-
import * as React from 'react';
|
|
3
|
-
import * as LabelPrimitive from '@radix-ui/react-label';
|
|
4
|
-
declare const Label: React.ForwardRefExoticComponent<Omit<LabelPrimitive.LabelProps & React.RefAttributes<HTMLLabelElement>, "ref"> & VariantProps< TVReturnType<{
|
|
5
|
-
size: {
|
|
6
|
-
sm: string;
|
|
7
|
-
base: string;
|
|
8
|
-
};
|
|
9
|
-
}, undefined, string[], {
|
|
10
|
-
size: {
|
|
11
|
-
sm: string;
|
|
12
|
-
base: string;
|
|
13
|
-
};
|
|
14
|
-
}, undefined, TVReturnType<{
|
|
15
|
-
size: {
|
|
16
|
-
sm: string;
|
|
17
|
-
base: string;
|
|
18
|
-
};
|
|
19
|
-
}, undefined, string[], unknown, unknown, undefined>>> & React.RefAttributes<HTMLLabelElement>>;
|
|
20
|
-
export { Label };
|
package/dist/common/popover.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
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, PopoverContent, PopoverTrigger };
|
|
@@ -1,5 +0,0 @@
|
|
|
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 };
|
package/dist/common/slider.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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 };
|
package/dist/common/switch.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
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 };
|