panelui-native 0.16.0 → 0.20.1
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/lib/module/components/bottom-sheet/index.js +38 -10
- package/lib/module/components/bottom-sheet/index.js.map +1 -1
- package/lib/module/components/checkbox/index.js +24 -11
- package/lib/module/components/checkbox/index.js.map +1 -1
- package/lib/module/components/field/index.js +337 -0
- package/lib/module/components/field/index.js.map +1 -0
- package/lib/module/components/flow/flow-paths.js +378 -0
- package/lib/module/components/flow/flow-paths.js.map +1 -0
- package/lib/module/components/flow/index.js +1598 -0
- package/lib/module/components/flow/index.js.map +1 -0
- package/lib/module/components/form/index.js +77 -0
- package/lib/module/components/form/index.js.map +1 -0
- package/lib/module/components/form/use-field.js +50 -0
- package/lib/module/components/form/use-field.js.map +1 -0
- package/lib/module/components/form/use-form.js +217 -0
- package/lib/module/components/form/use-form.js.map +1 -0
- package/lib/module/components/frame/index.js +124 -22
- package/lib/module/components/frame/index.js.map +1 -1
- package/lib/module/components/otp-input/index.js +303 -0
- package/lib/module/components/otp-input/index.js.map +1 -0
- package/lib/module/components/rating/index.js +339 -0
- package/lib/module/components/rating/index.js.map +1 -0
- package/lib/module/components/signature/index.js +500 -0
- package/lib/module/components/signature/index.js.map +1 -0
- package/lib/module/components/slider/index.js +14 -1
- package/lib/module/components/slider/index.js.map +1 -1
- package/lib/module/icons/index.js +247 -0
- package/lib/module/icons/index.js.map +1 -1
- package/lib/module/index.js +7 -1
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/src/components/bottom-sheet/index.d.ts +15 -1
- package/lib/typescript/src/components/bottom-sheet/index.d.ts.map +1 -1
- package/lib/typescript/src/components/checkbox/index.d.ts +8 -0
- package/lib/typescript/src/components/checkbox/index.d.ts.map +1 -1
- package/lib/typescript/src/components/field/index.d.ts +94 -0
- package/lib/typescript/src/components/field/index.d.ts.map +1 -0
- package/lib/typescript/src/components/flow/flow-paths.d.ts +89 -0
- package/lib/typescript/src/components/flow/flow-paths.d.ts.map +1 -0
- package/lib/typescript/src/components/flow/index.d.ts +310 -0
- package/lib/typescript/src/components/flow/index.d.ts.map +1 -0
- package/lib/typescript/src/components/form/index.d.ts +64 -0
- package/lib/typescript/src/components/form/index.d.ts.map +1 -0
- package/lib/typescript/src/components/form/use-field.d.ts +16 -0
- package/lib/typescript/src/components/form/use-field.d.ts.map +1 -0
- package/lib/typescript/src/components/form/use-form.d.ts +37 -0
- package/lib/typescript/src/components/form/use-form.d.ts.map +1 -0
- package/lib/typescript/src/components/frame/index.d.ts +39 -2
- package/lib/typescript/src/components/frame/index.d.ts.map +1 -1
- package/lib/typescript/src/components/otp-input/index.d.ts +141 -0
- package/lib/typescript/src/components/otp-input/index.d.ts.map +1 -0
- package/lib/typescript/src/components/rating/index.d.ts +122 -0
- package/lib/typescript/src/components/rating/index.d.ts.map +1 -0
- package/lib/typescript/src/components/signature/index.d.ts +254 -0
- package/lib/typescript/src/components/signature/index.d.ts.map +1 -0
- package/lib/typescript/src/components/slider/index.d.ts +6 -0
- package/lib/typescript/src/components/slider/index.d.ts.map +1 -1
- package/lib/typescript/src/icons/index.d.ts +25 -0
- package/lib/typescript/src/icons/index.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +8 -2
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +9 -1
- package/src/components/bottom-sheet/index.tsx +50 -12
- package/src/components/checkbox/index.tsx +40 -12
- package/src/components/field/index.tsx +329 -0
- package/src/components/flow/flow-paths.ts +348 -0
- package/src/components/flow/index.tsx +1924 -0
- package/src/components/form/index.tsx +85 -0
- package/src/components/form/use-field.ts +65 -0
- package/src/components/form/use-form.ts +252 -0
- package/src/components/frame/index.tsx +162 -14
- package/src/components/otp-input/index.tsx +396 -0
- package/src/components/rating/index.tsx +416 -0
- package/src/components/signature/index.tsx +681 -0
- package/src/components/slider/index.tsx +20 -1
- package/src/icons/index.tsx +185 -0
- package/src/index.ts +78 -0
|
@@ -0,0 +1,141 @@
|
|
|
1
|
+
import { TextInput, type TextInputProps } from 'react-native';
|
|
2
|
+
import { type VariantProps } from 'tailwind-variants';
|
|
3
|
+
declare const otpVariants: import("tailwind-variants").TVReturnType<{
|
|
4
|
+
size: {
|
|
5
|
+
sm: {
|
|
6
|
+
cell: string;
|
|
7
|
+
char: string;
|
|
8
|
+
caret: string;
|
|
9
|
+
separator: string;
|
|
10
|
+
};
|
|
11
|
+
md: {
|
|
12
|
+
cell: string;
|
|
13
|
+
char: string;
|
|
14
|
+
caret: string;
|
|
15
|
+
separator: string;
|
|
16
|
+
};
|
|
17
|
+
lg: {
|
|
18
|
+
cell: string;
|
|
19
|
+
char: string;
|
|
20
|
+
caret: string;
|
|
21
|
+
separator: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
disabled: {
|
|
25
|
+
true: {
|
|
26
|
+
row: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
}, {
|
|
30
|
+
container: string;
|
|
31
|
+
row: string;
|
|
32
|
+
cell: string;
|
|
33
|
+
char: string;
|
|
34
|
+
caret: string;
|
|
35
|
+
separator: string;
|
|
36
|
+
error: string;
|
|
37
|
+
}, undefined, {
|
|
38
|
+
size: {
|
|
39
|
+
sm: {
|
|
40
|
+
cell: string;
|
|
41
|
+
char: string;
|
|
42
|
+
caret: string;
|
|
43
|
+
separator: string;
|
|
44
|
+
};
|
|
45
|
+
md: {
|
|
46
|
+
cell: string;
|
|
47
|
+
char: string;
|
|
48
|
+
caret: string;
|
|
49
|
+
separator: string;
|
|
50
|
+
};
|
|
51
|
+
lg: {
|
|
52
|
+
cell: string;
|
|
53
|
+
char: string;
|
|
54
|
+
caret: string;
|
|
55
|
+
separator: string;
|
|
56
|
+
};
|
|
57
|
+
};
|
|
58
|
+
disabled: {
|
|
59
|
+
true: {
|
|
60
|
+
row: string;
|
|
61
|
+
};
|
|
62
|
+
};
|
|
63
|
+
}, {
|
|
64
|
+
container: string;
|
|
65
|
+
row: string;
|
|
66
|
+
cell: string;
|
|
67
|
+
char: string;
|
|
68
|
+
caret: string;
|
|
69
|
+
separator: string;
|
|
70
|
+
error: string;
|
|
71
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
72
|
+
size: {
|
|
73
|
+
sm: {
|
|
74
|
+
cell: string;
|
|
75
|
+
char: string;
|
|
76
|
+
caret: string;
|
|
77
|
+
separator: string;
|
|
78
|
+
};
|
|
79
|
+
md: {
|
|
80
|
+
cell: string;
|
|
81
|
+
char: string;
|
|
82
|
+
caret: string;
|
|
83
|
+
separator: string;
|
|
84
|
+
};
|
|
85
|
+
lg: {
|
|
86
|
+
cell: string;
|
|
87
|
+
char: string;
|
|
88
|
+
caret: string;
|
|
89
|
+
separator: string;
|
|
90
|
+
};
|
|
91
|
+
};
|
|
92
|
+
disabled: {
|
|
93
|
+
true: {
|
|
94
|
+
row: string;
|
|
95
|
+
};
|
|
96
|
+
};
|
|
97
|
+
}, {
|
|
98
|
+
container: string;
|
|
99
|
+
row: string;
|
|
100
|
+
cell: string;
|
|
101
|
+
char: string;
|
|
102
|
+
caret: string;
|
|
103
|
+
separator: string;
|
|
104
|
+
error: string;
|
|
105
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
106
|
+
type OtpVariantProps = VariantProps<typeof otpVariants>;
|
|
107
|
+
export interface OtpInputProps extends Omit<TextInputProps, 'value' | 'defaultValue' | 'onChangeText' | 'maxLength' | 'children'>, Omit<OtpVariantProps, 'disabled'> {
|
|
108
|
+
className?: string;
|
|
109
|
+
/** Class applied to every cell — for a taller box or a different radius. */
|
|
110
|
+
cellClassName?: string;
|
|
111
|
+
/** How many cells, i.e. the length of the code. */
|
|
112
|
+
length?: number;
|
|
113
|
+
/** Controlled value. Longer strings and stray characters are trimmed to fit. */
|
|
114
|
+
value?: string;
|
|
115
|
+
/** Starting value when the field manages its own state. */
|
|
116
|
+
defaultValue?: string;
|
|
117
|
+
onChangeText?: (value: string) => void;
|
|
118
|
+
/** Fires once, the moment the last cell is filled. */
|
|
119
|
+
onComplete?: (value: string) => void;
|
|
120
|
+
/**
|
|
121
|
+
* What the keyboard offers and what the field accepts. `numeric` keeps
|
|
122
|
+
* digits only and asks for the number pad; `text` accepts any character.
|
|
123
|
+
*/
|
|
124
|
+
type?: 'numeric' | 'text';
|
|
125
|
+
/** Hide each filled character behind a dot, the way a passcode field does. */
|
|
126
|
+
mask?: boolean;
|
|
127
|
+
/** A single character shown, dimmed, in every cell still waiting for input. */
|
|
128
|
+
placeholder?: string;
|
|
129
|
+
/** Draw a separator between groups of this many cells — 3 gives `xxx — xxx`. */
|
|
130
|
+
groupEvery?: number;
|
|
131
|
+
disabled?: boolean;
|
|
132
|
+
/** Tint the field in its error colour and announce it as invalid. */
|
|
133
|
+
isInvalid?: boolean;
|
|
134
|
+
/** Error line under the field. Setting it also puts the field in its invalid state. */
|
|
135
|
+
errorMessage?: string;
|
|
136
|
+
/** Announced by a screen reader as the field's name. */
|
|
137
|
+
accessibilityLabel?: string;
|
|
138
|
+
}
|
|
139
|
+
export declare const OtpInput: import("react").ForwardRefExoticComponent<OtpInputProps & import("react").RefAttributes<TextInput>>;
|
|
140
|
+
export {};
|
|
141
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/otp-input/index.tsx"],"names":[],"mappings":"AA0BA,OAAO,EAAa,SAAS,EAAQ,KAAK,cAAc,EAAE,MAAM,cAAc,CAAC;AAW/E,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAS1D,QAAA,MAAM,WAAW;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAuBf,CAAC;AAEH,KAAK,eAAe,GAAG,YAAY,CAAC,OAAO,WAAW,CAAC,CAAC;AAExD,MAAM,WAAW,aACf,SAAQ,IAAI,CACR,cAAc,EACd,OAAO,GAAG,cAAc,GAAG,cAAc,GAAG,WAAW,GAAG,UAAU,CACrE,EACD,IAAI,CAAC,eAAe,EAAE,UAAU,CAAC;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4EAA4E;IAC5E,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,mDAAmD;IACnD,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,gFAAgF;IAChF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,2DAA2D;IAC3D,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,sDAAsD;IACtD,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC;;;OAGG;IACH,IAAI,CAAC,EAAE,SAAS,GAAG,MAAM,CAAC;IAC1B,8EAA8E;IAC9E,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,+EAA+E;IAC/E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gFAAgF;IAChF,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,qEAAqE;IACrE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,uFAAuF;IACvF,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wDAAwD;IACxD,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAuHD,eAAO,MAAM,QAAQ,qGAqKpB,CAAC"}
|
|
@@ -0,0 +1,122 @@
|
|
|
1
|
+
import { View } from 'react-native';
|
|
2
|
+
import { type VariantProps } from 'tailwind-variants';
|
|
3
|
+
declare const ratingVariants: import("tailwind-variants").TVReturnType<{
|
|
4
|
+
size: {
|
|
5
|
+
sm: {
|
|
6
|
+
row: string;
|
|
7
|
+
};
|
|
8
|
+
md: {
|
|
9
|
+
row: string;
|
|
10
|
+
};
|
|
11
|
+
lg: {
|
|
12
|
+
row: string;
|
|
13
|
+
};
|
|
14
|
+
};
|
|
15
|
+
disabled: {
|
|
16
|
+
true: {
|
|
17
|
+
root: string;
|
|
18
|
+
};
|
|
19
|
+
};
|
|
20
|
+
}, {
|
|
21
|
+
root: string;
|
|
22
|
+
header: string;
|
|
23
|
+
label: string;
|
|
24
|
+
value: string;
|
|
25
|
+
row: string;
|
|
26
|
+
}, undefined, {
|
|
27
|
+
size: {
|
|
28
|
+
sm: {
|
|
29
|
+
row: string;
|
|
30
|
+
};
|
|
31
|
+
md: {
|
|
32
|
+
row: string;
|
|
33
|
+
};
|
|
34
|
+
lg: {
|
|
35
|
+
row: string;
|
|
36
|
+
};
|
|
37
|
+
};
|
|
38
|
+
disabled: {
|
|
39
|
+
true: {
|
|
40
|
+
root: string;
|
|
41
|
+
};
|
|
42
|
+
};
|
|
43
|
+
}, {
|
|
44
|
+
root: string;
|
|
45
|
+
header: string;
|
|
46
|
+
label: string;
|
|
47
|
+
value: string;
|
|
48
|
+
row: string;
|
|
49
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
50
|
+
size: {
|
|
51
|
+
sm: {
|
|
52
|
+
row: string;
|
|
53
|
+
};
|
|
54
|
+
md: {
|
|
55
|
+
row: string;
|
|
56
|
+
};
|
|
57
|
+
lg: {
|
|
58
|
+
row: string;
|
|
59
|
+
};
|
|
60
|
+
};
|
|
61
|
+
disabled: {
|
|
62
|
+
true: {
|
|
63
|
+
root: string;
|
|
64
|
+
};
|
|
65
|
+
};
|
|
66
|
+
}, {
|
|
67
|
+
root: string;
|
|
68
|
+
header: string;
|
|
69
|
+
label: string;
|
|
70
|
+
value: string;
|
|
71
|
+
row: string;
|
|
72
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
73
|
+
type RatingVariantProps = VariantProps<typeof ratingVariants>;
|
|
74
|
+
export type RatingSize = NonNullable<RatingVariantProps['size']>;
|
|
75
|
+
export type RatingColor = 'warning' | 'primary' | 'success' | 'destructive' | 'info' | 'foreground';
|
|
76
|
+
export interface RatingProps extends Omit<RatingVariantProps, 'disabled'> {
|
|
77
|
+
className?: string;
|
|
78
|
+
/** Controlled value. Leave unset and pass `defaultValue` to run uncontrolled. */
|
|
79
|
+
value?: number;
|
|
80
|
+
/** Starting value when uncontrolled. */
|
|
81
|
+
defaultValue?: number;
|
|
82
|
+
/** How many stars. */
|
|
83
|
+
max?: number;
|
|
84
|
+
/**
|
|
85
|
+
* Smallest step a tap can pick, as a fraction of a star. `1` is whole stars,
|
|
86
|
+
* `0.5` lets the left half of a star mean a half. Reading a value renders any
|
|
87
|
+
* precision — this only constrains what a finger can set.
|
|
88
|
+
*/
|
|
89
|
+
precision?: number;
|
|
90
|
+
/** Fires as the value changes, including live while dragging. */
|
|
91
|
+
onValueChange?: (value: number) => void;
|
|
92
|
+
/** Fires once when a tap or drag ends — the place for expensive side effects. */
|
|
93
|
+
onValueCommit?: (value: number) => void;
|
|
94
|
+
/** Show the stars but ignore touches — the display half of the component. */
|
|
95
|
+
readOnly?: boolean;
|
|
96
|
+
disabled?: boolean;
|
|
97
|
+
/**
|
|
98
|
+
* Let a second tap on the current value clear it back to zero, so a rating
|
|
99
|
+
* given by mistake can be taken back without a separate control.
|
|
100
|
+
*/
|
|
101
|
+
allowClear?: boolean;
|
|
102
|
+
/** Which token the filled stars are painted with. */
|
|
103
|
+
color?: RatingColor;
|
|
104
|
+
/** Caption above the stars. Also becomes the accessibility label. */
|
|
105
|
+
label?: string;
|
|
106
|
+
/** Show the numeric value on the caption row, opposite the label. */
|
|
107
|
+
showValue?: boolean;
|
|
108
|
+
/** Format the shown value. Defaults to the number as written. */
|
|
109
|
+
formatValue?: (value: number) => string;
|
|
110
|
+
/**
|
|
111
|
+
* A tick under the finger each time a drag crosses onto a new star. Off by
|
|
112
|
+
* default — needs the optional `expo-haptics`, and is silent without it.
|
|
113
|
+
*/
|
|
114
|
+
haptics?: boolean;
|
|
115
|
+
/** Extra classes for the caption row. */
|
|
116
|
+
headerClassName?: string;
|
|
117
|
+
/** Extra classes for the row of stars. */
|
|
118
|
+
rowClassName?: string;
|
|
119
|
+
}
|
|
120
|
+
export declare const Rating: import("react").ForwardRefExoticComponent<RatingProps & import("react").RefAttributes<View>>;
|
|
121
|
+
export {};
|
|
122
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/rating/index.tsx"],"names":[],"mappings":"AA0BA,OAAO,EACL,IAAI,EAGL,MAAM,cAAc,CAAC;AAStB,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAU1D,QAAA,MAAM,cAAc;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;2CAqBlB,CAAC;AAEH,KAAK,kBAAkB,GAAG,YAAY,CAAC,OAAO,cAAc,CAAC,CAAC;AAC9D,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC,kBAAkB,CAAC,MAAM,CAAC,CAAC,CAAC;AACjE,MAAM,MAAM,WAAW,GACnB,SAAS,GACT,SAAS,GACT,SAAS,GACT,aAAa,GACb,MAAM,GACN,YAAY,CAAC;AA0BjB,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,kBAAkB,EAAE,UAAU,CAAC;IACvE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iFAAiF;IACjF,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wCAAwC;IACxC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,sBAAsB;IACtB,GAAG,CAAC,EAAE,MAAM,CAAC;IACb;;;;OAIG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,iEAAiE;IACjE,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,iFAAiF;IACjF,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,6EAA6E;IAC7E,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;OAGG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,qDAAqD;IACrD,KAAK,CAAC,EAAE,WAAW,CAAC;IACpB,qEAAqE;IACrE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,qEAAqE;IACrE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,iEAAiE;IACjE,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACxC;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yCAAyC;IACzC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,0CAA0C;IAC1C,YAAY,CAAC,EAAE,MAAM,CAAC;CACvB;AA0CD,eAAO,MAAM,MAAM,8FA8NlB,CAAC"}
|
|
@@ -0,0 +1,254 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Signature — a surface you sign with a finger, and a handle for getting the
|
|
3
|
+
* result back out.
|
|
4
|
+
*
|
|
5
|
+
* ```tsx
|
|
6
|
+
* const pad = useRef<SignatureHandle>(null);
|
|
7
|
+
*
|
|
8
|
+
* <Signature ref={pad} guideline />
|
|
9
|
+
* <Button onPress={() => pad.current?.save({ filename: 'agreement' })}>
|
|
10
|
+
* Finish signing
|
|
11
|
+
* </Button>
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* ## Why the stroke never reaches React
|
|
15
|
+
*
|
|
16
|
+
* A finger produces touch events far faster than a component tree can usefully
|
|
17
|
+
* re-render, and a signature is exactly the case where the lag shows: the line
|
|
18
|
+
* trails the fingertip and the whole thing feels like drawing through syrup.
|
|
19
|
+
*
|
|
20
|
+
* So the stroke being drawn lives in a shared value and is turned into an SVG
|
|
21
|
+
* `d` string by a worklet on the UI thread — React is not involved in a single
|
|
22
|
+
* frame of it. When the finger lifts, that one finished string crosses to
|
|
23
|
+
* JavaScript once and becomes a static path. Committed strokes are ordinary
|
|
24
|
+
* elements that never animate again, so the hundredth stroke costs what the
|
|
25
|
+
* first one did.
|
|
26
|
+
*
|
|
27
|
+
* Points closer together than `minDistance` are dropped as they arrive. A slow
|
|
28
|
+
* finger otherwise emits a point per frame in the same spot, which is a longer
|
|
29
|
+
* path describing the same shape.
|
|
30
|
+
*
|
|
31
|
+
* ## Smoothing
|
|
32
|
+
*
|
|
33
|
+
* Raw touch points joined with straight lines look like a seismograph. Each
|
|
34
|
+
* segment is drawn as a quadratic curve through the midpoint between two
|
|
35
|
+
* points instead — the point itself becomes the control handle, the midpoints
|
|
36
|
+
* become the anchors, and consecutive curves meet with a shared tangent. It
|
|
37
|
+
* needs no lookahead, so a point can be appended to a stroke already on screen
|
|
38
|
+
* without redrawing what came before it differently.
|
|
39
|
+
*
|
|
40
|
+
* ## Getting it out
|
|
41
|
+
*
|
|
42
|
+
* `toSVG()` is pure string building and always works. Writing a file needs
|
|
43
|
+
* `expo-file-system`, and rasterising to PNG needs `react-native-view-shot` as
|
|
44
|
+
* well; both are optional and both are resolved lazily, so a project that only
|
|
45
|
+
* ever reads the SVG installs neither. Asking for something the missing
|
|
46
|
+
* package provides throws with its name in the message rather than failing
|
|
47
|
+
* somewhere further down.
|
|
48
|
+
*/
|
|
49
|
+
import { type ReactNode } from 'react';
|
|
50
|
+
import { type ViewProps } from 'react-native';
|
|
51
|
+
import { type VariantProps } from 'tailwind-variants';
|
|
52
|
+
import { type AnimatedPressableProps } from '../../primitives/animated-pressable.js';
|
|
53
|
+
/** True when a signature can be written to a file. */
|
|
54
|
+
export declare const hasSignatureFileSystem: boolean;
|
|
55
|
+
/** True when a signature can be rasterised to PNG. */
|
|
56
|
+
export declare const hasSignatureRaster: boolean;
|
|
57
|
+
declare const signatureVariants: import("tailwind-variants").TVReturnType<{
|
|
58
|
+
size: {
|
|
59
|
+
sm: {
|
|
60
|
+
root: string;
|
|
61
|
+
};
|
|
62
|
+
md: {
|
|
63
|
+
root: string;
|
|
64
|
+
};
|
|
65
|
+
lg: {
|
|
66
|
+
root: string;
|
|
67
|
+
};
|
|
68
|
+
/** Fills whatever it is given — for a full-screen signing surface. */
|
|
69
|
+
full: {
|
|
70
|
+
root: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
disabled: {
|
|
74
|
+
true: {
|
|
75
|
+
root: string;
|
|
76
|
+
};
|
|
77
|
+
};
|
|
78
|
+
}, {
|
|
79
|
+
root: string;
|
|
80
|
+
pad: string;
|
|
81
|
+
placeholder: string;
|
|
82
|
+
guide: string;
|
|
83
|
+
toolbar: string;
|
|
84
|
+
}, undefined, {
|
|
85
|
+
size: {
|
|
86
|
+
sm: {
|
|
87
|
+
root: string;
|
|
88
|
+
};
|
|
89
|
+
md: {
|
|
90
|
+
root: string;
|
|
91
|
+
};
|
|
92
|
+
lg: {
|
|
93
|
+
root: string;
|
|
94
|
+
};
|
|
95
|
+
/** Fills whatever it is given — for a full-screen signing surface. */
|
|
96
|
+
full: {
|
|
97
|
+
root: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
disabled: {
|
|
101
|
+
true: {
|
|
102
|
+
root: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
}, {
|
|
106
|
+
root: string;
|
|
107
|
+
pad: string;
|
|
108
|
+
placeholder: string;
|
|
109
|
+
guide: string;
|
|
110
|
+
toolbar: string;
|
|
111
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
112
|
+
size: {
|
|
113
|
+
sm: {
|
|
114
|
+
root: string;
|
|
115
|
+
};
|
|
116
|
+
md: {
|
|
117
|
+
root: string;
|
|
118
|
+
};
|
|
119
|
+
lg: {
|
|
120
|
+
root: string;
|
|
121
|
+
};
|
|
122
|
+
/** Fills whatever it is given — for a full-screen signing surface. */
|
|
123
|
+
full: {
|
|
124
|
+
root: string;
|
|
125
|
+
};
|
|
126
|
+
};
|
|
127
|
+
disabled: {
|
|
128
|
+
true: {
|
|
129
|
+
root: string;
|
|
130
|
+
};
|
|
131
|
+
};
|
|
132
|
+
}, {
|
|
133
|
+
root: string;
|
|
134
|
+
pad: string;
|
|
135
|
+
placeholder: string;
|
|
136
|
+
guide: string;
|
|
137
|
+
toolbar: string;
|
|
138
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
139
|
+
type SignatureVariantProps = VariantProps<typeof signatureVariants>;
|
|
140
|
+
export interface SignatureProps extends Omit<ViewProps, 'children'>, Omit<SignatureVariantProps, 'disabled'> {
|
|
141
|
+
className?: string;
|
|
142
|
+
/** How tall the pad is. `full` fills its parent instead. */
|
|
143
|
+
size?: 'sm' | 'md' | 'lg' | 'full';
|
|
144
|
+
/** Ink colour. Defaults to the theme's foreground. */
|
|
145
|
+
strokeColor?: string;
|
|
146
|
+
/** Ink width in points. */
|
|
147
|
+
strokeWidth?: number;
|
|
148
|
+
/**
|
|
149
|
+
* Points closer together than this are dropped as they arrive, so a finger
|
|
150
|
+
* resting still does not add hundreds of points describing one spot.
|
|
151
|
+
*/
|
|
152
|
+
minDistance?: number;
|
|
153
|
+
/** Draw the baseline and its ✕ mark, the way a paper form does. */
|
|
154
|
+
guideline?: boolean;
|
|
155
|
+
/** Caption beside the baseline. Only shown with `guideline`. */
|
|
156
|
+
guidelineLabel?: string;
|
|
157
|
+
/** Prompt shown over an empty pad. Pass `null` for none. */
|
|
158
|
+
placeholder?: ReactNode;
|
|
159
|
+
/** Take no input. The strokes already there stay visible. */
|
|
160
|
+
disabled?: boolean;
|
|
161
|
+
/** A stroke has started. */
|
|
162
|
+
onBegin?: () => void;
|
|
163
|
+
/** A stroke has finished. */
|
|
164
|
+
onEnd?: () => void;
|
|
165
|
+
/**
|
|
166
|
+
* The number of committed strokes changed — by drawing, undoing, redoing or
|
|
167
|
+
* clearing. The cheap way to enable a Save button only once something is
|
|
168
|
+
* there to save.
|
|
169
|
+
*/
|
|
170
|
+
onChange?: (strokeCount: number) => void;
|
|
171
|
+
/** Class on the drawing surface inside the border. */
|
|
172
|
+
padClassName?: string;
|
|
173
|
+
/** Class on the empty-pad prompt. */
|
|
174
|
+
placeholderClassName?: string;
|
|
175
|
+
/** Class on the baseline. */
|
|
176
|
+
guideClassName?: string;
|
|
177
|
+
}
|
|
178
|
+
export interface SignatureSaveOptions {
|
|
179
|
+
/**
|
|
180
|
+
* Directory to write into, as a `file://` URI. Defaults to the app's own
|
|
181
|
+
* document directory, which survives restarts and is not visible to the user.
|
|
182
|
+
*/
|
|
183
|
+
directory?: string;
|
|
184
|
+
/** Filename without an extension. Defaults to `signature-<timestamp>`. */
|
|
185
|
+
filename?: string;
|
|
186
|
+
/** `svg` needs no extra packages; `png` rasterises the pad. */
|
|
187
|
+
format?: 'svg' | 'png';
|
|
188
|
+
/** PNG only — pixels per point. Higher is sharper and larger. */
|
|
189
|
+
scale?: number;
|
|
190
|
+
}
|
|
191
|
+
export interface SignatureFile {
|
|
192
|
+
/** Where it was written, as a `file://` URI. */
|
|
193
|
+
uri: string;
|
|
194
|
+
format: 'svg' | 'png';
|
|
195
|
+
/** The pad's size in points, which is the SVG's coordinate space. */
|
|
196
|
+
width: number;
|
|
197
|
+
height: number;
|
|
198
|
+
}
|
|
199
|
+
export interface SignatureHandle {
|
|
200
|
+
/** Drop every stroke. */
|
|
201
|
+
clear(): void;
|
|
202
|
+
/** Remove the last stroke. Repeatable down to empty. */
|
|
203
|
+
undo(): void;
|
|
204
|
+
/** Put back the last undone stroke. Drawing again discards the redo stack. */
|
|
205
|
+
redo(): void;
|
|
206
|
+
/** True until the first stroke lands. */
|
|
207
|
+
isEmpty(): boolean;
|
|
208
|
+
/** How many strokes are on the pad. */
|
|
209
|
+
strokeCount(): number;
|
|
210
|
+
/**
|
|
211
|
+
* The signature as a standalone SVG document, sized to the pad. Pure string
|
|
212
|
+
* building — no optional package, no async, safe to call every render.
|
|
213
|
+
*/
|
|
214
|
+
toSVG(): string;
|
|
215
|
+
/**
|
|
216
|
+
* A `data:` URI. `svg` is always available; `png` needs
|
|
217
|
+
* `react-native-view-shot` and throws by name without it.
|
|
218
|
+
*/
|
|
219
|
+
toDataURL(format?: 'svg' | 'png'): Promise<string>;
|
|
220
|
+
/**
|
|
221
|
+
* Write the signature to a file and resolve where it went. Needs
|
|
222
|
+
* `expo-file-system`, plus `react-native-view-shot` for `png`.
|
|
223
|
+
*/
|
|
224
|
+
save(options?: SignatureSaveOptions): Promise<SignatureFile>;
|
|
225
|
+
}
|
|
226
|
+
export interface SignatureToolbarProps extends ViewProps {
|
|
227
|
+
className?: string;
|
|
228
|
+
children?: ReactNode;
|
|
229
|
+
}
|
|
230
|
+
/** A row of controls under or over the pad. Purely layout. */
|
|
231
|
+
declare function SignatureToolbar({ className, ...props }: SignatureToolbarProps): import("react").JSX.Element;
|
|
232
|
+
declare namespace SignatureToolbar {
|
|
233
|
+
var displayName: string;
|
|
234
|
+
}
|
|
235
|
+
export interface SignatureButtonProps extends Omit<AnimatedPressableProps, 'children'> {
|
|
236
|
+
className?: string;
|
|
237
|
+
/** Take no input, and dim to say so. */
|
|
238
|
+
disabled?: boolean;
|
|
239
|
+
/** Replaces the default icon. */
|
|
240
|
+
children?: ReactNode;
|
|
241
|
+
}
|
|
242
|
+
export declare const Signature: import("react").ForwardRefExoticComponent<SignatureProps & import("react").RefAttributes<SignatureHandle>> & {
|
|
243
|
+
Toolbar: typeof SignatureToolbar;
|
|
244
|
+
Undo: {
|
|
245
|
+
({ className, disabled, children, accessibilityLabel, ...props }: SignatureButtonProps): import("react").JSX.Element;
|
|
246
|
+
displayName: string;
|
|
247
|
+
};
|
|
248
|
+
Clear: {
|
|
249
|
+
({ className, disabled, children, accessibilityLabel, ...props }: SignatureButtonProps): import("react").JSX.Element;
|
|
250
|
+
displayName: string;
|
|
251
|
+
};
|
|
252
|
+
};
|
|
253
|
+
export {};
|
|
254
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRo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,CAAC,CAAC;IACnD;;;OAGG;IACH,IAAI,CAAC,OAAO,CAAC,EAAE,oBAAoB,GAAG,OAAO,CAAC,aAAa,CAAC,CAAC;CAC9D;AAiXD,MAAM,WAAW,qBAAsB,SAAQ,SAAS;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,8DAA8D;AAC9D,iBAAS,gBAAgB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,+BAOvE;kBAPQ,gBAAgB;;;AAUzB,MAAM,WAAW,oBACf,SAAQ,IAAI,CAAC,sBAAsB,EAAE,UAAU,CAAC;IAChD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wCAAwC;IACxC,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iCAAiC;IACjC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AA8CD,eAAO,MAAM,SAAS;;;0EA7BjB,oBAAoB;;;;0EAApB,oBAAoB;;;CAiCvB,CAAC"}
|
|
@@ -187,6 +187,12 @@ export interface SliderProps extends Omit<SliderVariantProps, 'disabled'> {
|
|
|
187
187
|
showValue?: boolean;
|
|
188
188
|
/** Format the shown value. Defaults to the rounded number. */
|
|
189
189
|
formatValue?: (value: number) => string;
|
|
190
|
+
/**
|
|
191
|
+
* A tick under the finger each time a drag crosses onto a new step, and once
|
|
192
|
+
* more when the drag ends. Off by default — needs the optional `expo-haptics`,
|
|
193
|
+
* and is silent without it.
|
|
194
|
+
*/
|
|
195
|
+
haptics?: boolean;
|
|
190
196
|
/** Extra classes for the caption row. */
|
|
191
197
|
headerClassName?: string;
|
|
192
198
|
/** Extra classes for the unfilled track. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/slider/index.tsx"],"names":[],"mappings":"AAuBA,OAAO,EACL,IAAI,EAGL,MAAM,cAAc,CAAC;AAQtB,OAA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C;IACpB,8DAA8D;IAC9D,WAAW,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,MAAM,CAAC;IACxC;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,yCAAyC;IACzC,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,4CAA4C;IAC5C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,4CAA4C;IAC5C,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,6CAA6C;IAC7C,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,mDAAmD;IACnD,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAYD,eAAO,MAAM,MAAM,8FAkOlB,CAAC"}
|
|
@@ -29,6 +29,7 @@ export declare function IconColorProvider({ color, children, }: {
|
|
|
29
29
|
/** The inherited icon colour, if a surface is providing one. */
|
|
30
30
|
export declare function useIconColor(): string | undefined;
|
|
31
31
|
export declare function CheckIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
32
|
+
export declare function MinusIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
32
33
|
export declare function ChevronDownIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
33
34
|
export declare function ChevronLeftIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
34
35
|
export declare function ChevronRightIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
@@ -78,4 +79,28 @@ export declare function MicIcon({ size, color, ...props }: IconProps): import("r
|
|
|
78
79
|
export declare function PlayIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
79
80
|
/** Two filled bars — hold playback where it is. */
|
|
80
81
|
export declare function PauseIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
82
|
+
/**
|
|
83
|
+
* A five-pointed star — the mark of a Rating. `filled` paints the interior;
|
|
84
|
+
* left hollow it is the outline of an unearned star. Both share the same
|
|
85
|
+
* geometry, so a filled star clipped over an empty one lines up to the pixel.
|
|
86
|
+
*/
|
|
87
|
+
export declare function StarIcon({ size, color, filled, ...props }: IconProps & {
|
|
88
|
+
filled?: boolean;
|
|
89
|
+
}): import("react").JSX.Element;
|
|
90
|
+
/** A pencil at an angle — draw, sign, edit by hand. */
|
|
91
|
+
export declare function PencilIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
92
|
+
/** An arrow curling anticlockwise — undo, reset, start over. */
|
|
93
|
+
export declare function RotateCcwIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
94
|
+
/** A bin — discard what is there. */
|
|
95
|
+
export declare function TrashIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
96
|
+
/** An arrow into a tray — save the thing to a file. */
|
|
97
|
+
export declare function DownloadIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
98
|
+
/** A cross of two strokes — zoom in, add. Pairs with MinusIcon. */
|
|
99
|
+
export declare function PlusIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
100
|
+
/** Four corners pushing outward — fit everything into view. */
|
|
101
|
+
export declare function MaximizeIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
102
|
+
/** A closed padlock — the thing behind it cannot be moved. */
|
|
103
|
+
export declare function LockIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
104
|
+
/** The same padlock with its shackle swung open — freely movable. */
|
|
105
|
+
export declare function UnlockIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
81
106
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/icons/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAClE,OAAY,EAAmB,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAEvE,MAAM,WAAW,SAAU,SAAQ,QAAQ;IACzC,IAAI,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;AAED,gEAAgE;AAChE,wBAAgB,aAAa,CAAC,EAAE,IAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,+BAoBtE;AAED,qCAAqC;AACrC,wBAAgB,SAAS,CAAC,EAAE,IAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,+BAalE;AAED,uDAAuD;AACvD,wBAAgB,YAAY,CAAC,EAAE,IAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,+BAarE;AAED,mEAAmE;AACnE,wBAAgB,QAAQ,CAAC,EAAE,IAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,+BAYjE;AAED,+DAA+D;AAC/D,wBAAgB,YAAY,CAAC,EAAE,IAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,+BAarE;AAED,8DAA8D;AAC9D,wBAAgB,QAAQ,CAAC,EAAE,IAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,+BAkBjE;AAED,qEAAqE;AACrE,wBAAgB,UAAU,CAAC,EAAE,IAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,+BAkBnE"}
|
|
@@ -18,7 +18,8 @@ export { ToggleButton, ToggleButtonGroup, useToggleButton, type ToggleButtonProp
|
|
|
18
18
|
export { Dialog, type DialogProps, type DialogContentProps, } from './components/dialog/index.js';
|
|
19
19
|
export { Soundwave, type SoundwaveProps, type SoundwaveState, type SoundwaveVariant, } from './components/soundwave/index.js';
|
|
20
20
|
export { Direction, useDirection, type DirectionProps, type DirectionValue, } from './components/direction/index.js';
|
|
21
|
-
export {
|
|
21
|
+
export { Flow, type FlowProps, type FlowNodeProps, type FlowHandleProps, type FlowEdgeProps, type FlowGroupProps, type FlowBackgroundProps, type FlowControlsProps, type FlowMiniMapProps, type FlowConnection, type FlowViewport, type FlowNodePosition, type FlowEdgeVariant, type FlowSide, type FlowRect, type FlowPoint, } from './components/flow/index.js';
|
|
22
|
+
export { Frame, type FrameProps, type FrameRootProps, type FramePanelProps, type FrameRowProps, type FrameSectionProps, type FrameHeaderProps, type FrameActionProps, type FrameMediaProps, type FrameContentProps, type FrameActionsProps, type FrameVariant, } from './components/frame/index.js';
|
|
22
23
|
export { HeatmapChart, useHeatmapChart, buildHeatmapCalendar, type HeatmapChartProps, type HeatmapCellsProps, type HeatmapSeparatorProps, type HeatmapXAxisProps, type HeatmapYAxisProps, type HeatmapTooltipProps, type HeatmapLegendProps, type HeatmapColumn, type HeatmapBin, type HeatmapCell, type HeatmapLayout, } from './components/heatmap-chart/index.js';
|
|
23
24
|
export { Select, type SelectProps, type SelectItemProps, type SelectPresentation, } from './components/select/index.js';
|
|
24
25
|
export { SectionRail, type SectionRailProps, type SectionRailTriggerProps, type SectionRailBarProps, type SectionRailContentProps, type SectionRailItemProps, type SectionRailPlacement, type SectionRailAlign, } from './components/section-rail/index.js';
|
|
@@ -27,8 +28,11 @@ export { Card, type CardProps } from './components/card/index.js';
|
|
|
27
28
|
export { Checkbox, type CheckboxProps } from './components/checkbox/index.js';
|
|
28
29
|
export { Chip, useChip, type ChipProps, type ChipLabelProps, type ChipVariant, type ChipSize, } from './components/chip/index.js';
|
|
29
30
|
export { EmptyState, type EmptyStateProps, type EmptyStateMediaProps, } from './components/empty-state/index.js';
|
|
31
|
+
export { Field, type FieldProps, type FieldContentProps, type FieldLabelProps, type FieldDescriptionProps, type FieldErrorProps, type FieldSetProps, type FieldLegendProps, type FieldGroupProps, type FieldSeparatorProps, type FieldTitleProps, } from './components/field/index.js';
|
|
32
|
+
export { Form, useForm, useField, type FormProps, type FormFieldProps, type FormApi, type FieldErrors, type FieldTouched, type FieldState, type UseFormOptions, type Validator, type FormFieldRenderProps, type UseFieldOptions, } from './components/form/index.js';
|
|
30
33
|
export { Input, type InputProps } from './components/input/index.js';
|
|
31
34
|
export { InputGroup, type InputGroupProps, type InputGroupInputProps, type InputGroupDecoratorProps, } from './components/input-group/index.js';
|
|
35
|
+
export { OtpInput, type OtpInputProps } from './components/otp-input/index.js';
|
|
32
36
|
export { Item, type ItemProps, type ItemGroupProps, type ItemSeparatorProps, type ItemMediaProps, type ItemContentProps, type ItemTitleProps, type ItemDescriptionProps, type ItemActionsProps, type ItemHeaderProps, type ItemFooterProps, } from './components/item/index.js';
|
|
33
37
|
export { Label, type LabelProps, type LabelTextProps } from './components/label/index.js';
|
|
34
38
|
export { LineChart, useLineChart, type LineChartProps, type LineChartHandle, type LineChartGridProps, type LineChartLineProps, type LineChartAreaProps, type LineChartSkeletonProps, type LineChartXAxisProps, type LineChartTooltipProps, type LineChartLegendProps, type LineChartDatum, type LineChartStatus, type LineChartCurve, } from './components/line-chart/index.js';
|
|
@@ -38,8 +42,10 @@ export { Message, type MessageProps, type MessageGroupProps, type MessageAvatarP
|
|
|
38
42
|
export { Popover, type PopoverProps, type PopoverTriggerProps, type PopoverContentProps, type PopoverArrowProps, type PopoverCloseProps, type PopoverPlacement, type PopoverAlign, type PopoverPresentation, } from './components/popover/index.js';
|
|
39
43
|
export { Progress, type ProgressProps } from './components/progress/index.js';
|
|
40
44
|
export { RadioGroup, type RadioGroupProps, type RadioGroupItemProps, } from './components/radio-group/index.js';
|
|
45
|
+
export { Rating, type RatingProps, type RatingColor, type RatingSize, } from './components/rating/index.js';
|
|
41
46
|
export { ScrollFade, type ScrollFadeProps, } from './components/scroll-fade/index.js';
|
|
42
47
|
export { Separator, type SeparatorProps } from './components/separator/index.js';
|
|
48
|
+
export { Signature, hasSignatureFileSystem, hasSignatureRaster, type SignatureProps, type SignatureHandle, type SignatureFile, type SignatureSaveOptions, type SignatureToolbarProps, type SignatureButtonProps, } from './components/signature/index.js';
|
|
43
49
|
export { Shimmer, type ShimmerProps } from './components/shimmer/index.js';
|
|
44
50
|
export { ScrollText, type ScrollTextProps, type ScrollTextEffect, type ScrollTextSplit, } from './components/scroll-text/index.js';
|
|
45
51
|
export { ScrollCanvas, type ScrollCanvasProps, type ScrollCanvasEffect, } from './components/scroll-canvas/index.js';
|
|
@@ -53,7 +59,7 @@ export { Switch, type SwitchProps } from './components/switch/index.js';
|
|
|
53
59
|
export { Timeline, type TimelineProps, type TimelineItemProps, type TimelineIndicatorProps, type TimelineStatProps, type TimelineVariant, type TimelineTone, } from './components/timeline/index.js';
|
|
54
60
|
export { Toast, ToastViewport, toast, useToast, type ToastProps, type ToastOptions, type ToastItem, type ToastVariant, type ToastPlacement, type ToastHandle, type ToastIndicatorProps, type ToastCloseProps, } from './components/toast/index.js';
|
|
55
61
|
export { Typography, type TypographyProps, type TypographyType, type TypographyHeadingProps, type TypographyParagraphProps, type TypographyCodeProps, } from './components/typography/index.js';
|
|
56
|
-
export { AlertTriangleIcon, AppleIcon, ArrowUpRightIcon, BellIcon, CardIcon, CheckCircleIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, FacebookIcon, FileIcon, GoogleIcon, IconColorProvider, InfoIcon, ImageIcon, MicIcon, MoonIcon, PackageIcon, PaperclipIcon, PauseIcon, PlayIcon, PlusSquareIcon, ReceiptIcon, SearchIcon, SendIcon, ShareNodesIcon, ShieldAlertIcon, ShieldCheckIcon, SunIcon, XIcon, useIconColor, type IconProps, } from './icons/index.js';
|
|
62
|
+
export { AlertTriangleIcon, AppleIcon, ArrowUpRightIcon, BellIcon, CardIcon, CheckCircleIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, DownloadIcon, FacebookIcon, FileIcon, GoogleIcon, IconColorProvider, InfoIcon, ImageIcon, LockIcon, MaximizeIcon, MicIcon, MinusIcon, MoonIcon, PackageIcon, PaperclipIcon, PauseIcon, PencilIcon, PlayIcon, PlusIcon, PlusSquareIcon, ReceiptIcon, RotateCcwIcon, SearchIcon, SendIcon, ShareNodesIcon, ShieldAlertIcon, ShieldCheckIcon, SunIcon, TrashIcon, UnlockIcon, XIcon, useIconColor, type IconProps, } from './icons/index.js';
|
|
57
63
|
export * from './hooks/index.js';
|
|
58
64
|
export { cn } from './utils/cn.js';
|
|
59
65
|
//# sourceMappingURL=index.d.ts.map
|