panelui-native 0.14.0 → 0.19.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +2 -0
- 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/direction/index.js +86 -0
- package/lib/module/components/direction/index.js.map +1 -0
- 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/message/index.js +16 -1
- package/lib/module/components/message/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/signature/index.js +500 -0
- package/lib/module/components/signature/index.js.map +1 -0
- package/lib/module/components/soundwave/index.js +813 -0
- package/lib/module/components/soundwave/index.js.map +1 -0
- package/lib/module/components/typography/index.js +196 -5
- package/lib/module/components/typography/index.js.map +1 -1
- package/lib/module/icons/index.js +287 -0
- package/lib/module/icons/index.js.map +1 -1
- package/lib/module/index.js +8 -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/direction/index.d.ts +64 -0
- package/lib/typescript/src/components/direction/index.d.ts.map +1 -0
- 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/message/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/signature/index.d.ts +254 -0
- package/lib/typescript/src/components/signature/index.d.ts.map +1 -0
- package/lib/typescript/src/components/soundwave/index.d.ts +91 -0
- package/lib/typescript/src/components/soundwave/index.d.ts.map +1 -0
- package/lib/typescript/src/components/typography/index.d.ts +154 -1
- package/lib/typescript/src/components/typography/index.d.ts.map +1 -1
- package/lib/typescript/src/icons/index.d.ts +23 -0
- package/lib/typescript/src/icons/index.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +9 -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/direction/index.tsx +90 -0
- 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/message/index.tsx +17 -1
- package/src/components/otp-input/index.tsx +396 -0
- package/src/components/signature/index.tsx +681 -0
- package/src/components/soundwave/index.tsx +1029 -0
- package/src/components/typography/index.tsx +231 -10
- package/src/icons/index.tsx +195 -0
- package/src/index.ts +87 -0
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Typography — semantic text presets, and the marks that go on them.
|
|
3
|
+
*
|
|
4
|
+
* The type scale in one place, so headings stay consistent instead of being
|
|
5
|
+
* rebuilt out of size and weight classes at each call site. Built on the Text
|
|
6
|
+
* primitive, so every preset keeps `className` passthrough and theme colours.
|
|
7
|
+
*
|
|
8
|
+
* ```tsx
|
|
9
|
+
* <Typography type="h2">Billing</Typography>
|
|
10
|
+
* <Typography>Your plan renews on the 1st.</Typography>
|
|
11
|
+
* <Typography underline>Terms of service</Typography>
|
|
12
|
+
* ```
|
|
13
|
+
*
|
|
14
|
+
* A preset sets size, weight and tracking together; the marks — `underline`,
|
|
15
|
+
* `italic`, `strike` — and `weight`, `align` and `transform` layer on top of
|
|
16
|
+
* whichever preset is in force. They are props rather than class names because
|
|
17
|
+
* the point of this component is that a screen never has to know which
|
|
18
|
+
* utilities add up to "a bolded lead paragraph".
|
|
19
|
+
*
|
|
20
|
+
* React Native draws no list markers and has no blockquote, so
|
|
21
|
+
* `Typography.List` and `Typography.Blockquote` build both out of a row and a
|
|
22
|
+
* rule — which is exactly the kind of thing this component exists to stop
|
|
23
|
+
* people rebuilding per screen.
|
|
24
|
+
*/
|
|
25
|
+
import { type ReactNode } from 'react';
|
|
1
26
|
import { View, type Text as RNText, type ViewProps } from 'react-native';
|
|
2
27
|
import { type VariantProps } from 'tailwind-variants';
|
|
3
28
|
import { type TextProps } from '../../primitives/text.js';
|
|
@@ -9,11 +34,43 @@ declare const typographyVariants: import("tailwind-variants").TVReturnType<{
|
|
|
9
34
|
h4: string;
|
|
10
35
|
h5: string;
|
|
11
36
|
h6: string;
|
|
37
|
+
/** The sentence under a heading, set larger and quieter than body. */
|
|
38
|
+
lead: string;
|
|
12
39
|
body: string;
|
|
13
40
|
'body-sm': string;
|
|
14
41
|
'body-xs': string;
|
|
42
|
+
/** Body, one step up — for a number or a name that carries the row. */
|
|
43
|
+
large: string;
|
|
44
|
+
/** Body, one step down and tighter — captions, footnotes, meta. */
|
|
45
|
+
small: string;
|
|
46
|
+
blockquote: string;
|
|
15
47
|
code: string;
|
|
16
48
|
};
|
|
49
|
+
weight: {
|
|
50
|
+
normal: string;
|
|
51
|
+
medium: string;
|
|
52
|
+
semibold: string;
|
|
53
|
+
bold: string;
|
|
54
|
+
};
|
|
55
|
+
align: {
|
|
56
|
+
left: string;
|
|
57
|
+
center: string;
|
|
58
|
+
right: string;
|
|
59
|
+
};
|
|
60
|
+
transform: {
|
|
61
|
+
uppercase: string;
|
|
62
|
+
lowercase: string;
|
|
63
|
+
capitalize: string;
|
|
64
|
+
};
|
|
65
|
+
underline: {
|
|
66
|
+
true: string;
|
|
67
|
+
};
|
|
68
|
+
italic: {
|
|
69
|
+
true: string;
|
|
70
|
+
};
|
|
71
|
+
strike: {
|
|
72
|
+
true: string;
|
|
73
|
+
};
|
|
17
74
|
muted: {
|
|
18
75
|
true: string;
|
|
19
76
|
};
|
|
@@ -25,11 +82,43 @@ declare const typographyVariants: import("tailwind-variants").TVReturnType<{
|
|
|
25
82
|
h4: string;
|
|
26
83
|
h5: string;
|
|
27
84
|
h6: string;
|
|
85
|
+
/** The sentence under a heading, set larger and quieter than body. */
|
|
86
|
+
lead: string;
|
|
28
87
|
body: string;
|
|
29
88
|
'body-sm': string;
|
|
30
89
|
'body-xs': string;
|
|
90
|
+
/** Body, one step up — for a number or a name that carries the row. */
|
|
91
|
+
large: string;
|
|
92
|
+
/** Body, one step down and tighter — captions, footnotes, meta. */
|
|
93
|
+
small: string;
|
|
94
|
+
blockquote: string;
|
|
31
95
|
code: string;
|
|
32
96
|
};
|
|
97
|
+
weight: {
|
|
98
|
+
normal: string;
|
|
99
|
+
medium: string;
|
|
100
|
+
semibold: string;
|
|
101
|
+
bold: string;
|
|
102
|
+
};
|
|
103
|
+
align: {
|
|
104
|
+
left: string;
|
|
105
|
+
center: string;
|
|
106
|
+
right: string;
|
|
107
|
+
};
|
|
108
|
+
transform: {
|
|
109
|
+
uppercase: string;
|
|
110
|
+
lowercase: string;
|
|
111
|
+
capitalize: string;
|
|
112
|
+
};
|
|
113
|
+
underline: {
|
|
114
|
+
true: string;
|
|
115
|
+
};
|
|
116
|
+
italic: {
|
|
117
|
+
true: string;
|
|
118
|
+
};
|
|
119
|
+
strike: {
|
|
120
|
+
true: string;
|
|
121
|
+
};
|
|
33
122
|
muted: {
|
|
34
123
|
true: string;
|
|
35
124
|
};
|
|
@@ -41,23 +130,71 @@ declare const typographyVariants: import("tailwind-variants").TVReturnType<{
|
|
|
41
130
|
h4: string;
|
|
42
131
|
h5: string;
|
|
43
132
|
h6: string;
|
|
133
|
+
/** The sentence under a heading, set larger and quieter than body. */
|
|
134
|
+
lead: string;
|
|
44
135
|
body: string;
|
|
45
136
|
'body-sm': string;
|
|
46
137
|
'body-xs': string;
|
|
138
|
+
/** Body, one step up — for a number or a name that carries the row. */
|
|
139
|
+
large: string;
|
|
140
|
+
/** Body, one step down and tighter — captions, footnotes, meta. */
|
|
141
|
+
small: string;
|
|
142
|
+
blockquote: string;
|
|
47
143
|
code: string;
|
|
48
144
|
};
|
|
145
|
+
weight: {
|
|
146
|
+
normal: string;
|
|
147
|
+
medium: string;
|
|
148
|
+
semibold: string;
|
|
149
|
+
bold: string;
|
|
150
|
+
};
|
|
151
|
+
align: {
|
|
152
|
+
left: string;
|
|
153
|
+
center: string;
|
|
154
|
+
right: string;
|
|
155
|
+
};
|
|
156
|
+
transform: {
|
|
157
|
+
uppercase: string;
|
|
158
|
+
lowercase: string;
|
|
159
|
+
capitalize: string;
|
|
160
|
+
};
|
|
161
|
+
underline: {
|
|
162
|
+
true: string;
|
|
163
|
+
};
|
|
164
|
+
italic: {
|
|
165
|
+
true: string;
|
|
166
|
+
};
|
|
167
|
+
strike: {
|
|
168
|
+
true: string;
|
|
169
|
+
};
|
|
49
170
|
muted: {
|
|
50
171
|
true: string;
|
|
51
172
|
};
|
|
52
173
|
}, undefined, "text-foreground", unknown, unknown, undefined>>;
|
|
53
174
|
export type TypographyType = NonNullable<VariantProps<typeof typographyVariants>['type']>;
|
|
175
|
+
export type TypographyWeight = NonNullable<VariantProps<typeof typographyVariants>['weight']>;
|
|
54
176
|
export interface TypographyProps extends Omit<TextProps, 'size' | 'weight'>, VariantProps<typeof typographyVariants> {
|
|
55
177
|
className?: string;
|
|
178
|
+
/**
|
|
179
|
+
* Overrides the weight the preset sets. This is the one to reach for when a
|
|
180
|
+
* paragraph needs a bolded run and a heading would be wrong.
|
|
181
|
+
*/
|
|
182
|
+
weight?: TypographyWeight;
|
|
183
|
+
/** Underlines the text — a link, a defined term, a signature line. */
|
|
184
|
+
underline?: boolean;
|
|
185
|
+
/** Slants the text. */
|
|
186
|
+
italic?: boolean;
|
|
187
|
+
/** Strikes the text through: an old price, a completed task. */
|
|
188
|
+
strike?: boolean;
|
|
189
|
+
/** Horizontal alignment within whatever the text is laid out in. */
|
|
190
|
+
align?: 'left' | 'center' | 'right';
|
|
191
|
+
/** Case, applied for display without changing the string underneath. */
|
|
192
|
+
transform?: 'uppercase' | 'lowercase' | 'capitalize';
|
|
56
193
|
}
|
|
57
194
|
/** Heading levels, for `Typography.Heading`. */
|
|
58
195
|
type HeadingType = Extract<TypographyType, 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6'>;
|
|
59
196
|
/** Body sizes, for `Typography.Paragraph`. */
|
|
60
|
-
type ParagraphType = Extract<TypographyType, 'body' | 'body-sm' | 'body-xs'>;
|
|
197
|
+
type ParagraphType = Extract<TypographyType, 'body' | 'body-sm' | 'body-xs' | 'lead' | 'large' | 'small'>;
|
|
61
198
|
export interface TypographyHeadingProps extends Omit<TypographyProps, 'type'> {
|
|
62
199
|
type?: HeadingType;
|
|
63
200
|
}
|
|
@@ -68,10 +205,26 @@ export interface TypographyCodeProps extends Omit<TypographyProps, 'type'> {
|
|
|
68
205
|
/** Classes for the surface behind the code text. */
|
|
69
206
|
containerClassName?: string;
|
|
70
207
|
}
|
|
208
|
+
export interface TypographyBlockquoteProps extends Omit<TypographyProps, 'type'> {
|
|
209
|
+
/** Classes for the row that carries the rule. */
|
|
210
|
+
containerClassName?: string;
|
|
211
|
+
}
|
|
212
|
+
export interface TypographyListProps extends ViewProps {
|
|
213
|
+
className?: string;
|
|
214
|
+
/** Numbered rather than bulleted. The numbers are drawn, not counted by CSS. */
|
|
215
|
+
ordered?: boolean;
|
|
216
|
+
children?: ReactNode;
|
|
217
|
+
}
|
|
218
|
+
export interface TypographyListItemProps extends Omit<TypographyProps, 'type'> {
|
|
219
|
+
type?: ParagraphType;
|
|
220
|
+
}
|
|
71
221
|
export declare const Typography: import("react").ForwardRefExoticComponent<TypographyProps & import("react").RefAttributes<RNText>> & {
|
|
72
222
|
Heading: import("react").ForwardRefExoticComponent<TypographyHeadingProps & import("react").RefAttributes<RNText>>;
|
|
73
223
|
Paragraph: import("react").ForwardRefExoticComponent<TypographyParagraphProps & import("react").RefAttributes<RNText>>;
|
|
74
224
|
Code: import("react").ForwardRefExoticComponent<TypographyCodeProps & Pick<ViewProps, "testID"> & import("react").RefAttributes<View>>;
|
|
225
|
+
Blockquote: import("react").ForwardRefExoticComponent<TypographyBlockquoteProps & import("react").RefAttributes<View>>;
|
|
226
|
+
List: import("react").ForwardRefExoticComponent<TypographyListProps & import("react").RefAttributes<View>>;
|
|
227
|
+
ListItem: import("react").ForwardRefExoticComponent<TypographyListItemProps & import("react").RefAttributes<RNText>>;
|
|
75
228
|
};
|
|
76
229
|
export {};
|
|
77
230
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/typography/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/typography/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,EAAwB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC7D,OAAO,EAAE,IAAI,EAAE,KAAK,IAAI,IAAI,MAAM,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACzE,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAC1D,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,0BAAuB,CAAC;AAG7D,QAAA,MAAM,kBAAkB;;;;;;;;QAUlB,sEAAsE;;;;;QAKtE,uEAAuE;;QAEvE,mEAAmE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAPnE,sEAAsE;;;;;QAKtE,uEAAuE;;QAEvE,mEAAmE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;QAPnE,sEAAsE;;;;;QAKtE,uEAAuE;;QAEvE,mEAAmE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8DAqCvE,CAAC;AAEH,MAAM,MAAM,cAAc,GAAG,WAAW,CACtC,YAAY,CAAC,OAAO,kBAAkB,CAAC,CAAC,MAAM,CAAC,CAChD,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,WAAW,CACxC,YAAY,CAAC,OAAO,kBAAkB,CAAC,CAAC,QAAQ,CAAC,CAClD,CAAC;AAEF,MAAM,WAAW,eACf,SAAQ,IAAI,CAAC,SAAS,EAAE,MAAM,GAAG,QAAQ,CAAC,EACxC,YAAY,CAAC,OAAO,kBAAkB,CAAC;IACzC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,MAAM,C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AAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AA8BD,MAAM,WAAW,uBAAwB,SAAQ,IAAI,CAAC,eAAe,EAAE,MAAM,CAAC;IAC5E,IAAI,CAAC,EAAE,aAAa,CAAC;CACtB;AA2BD,eAAO,MAAM,UAAU;;;;;;;CAOrB,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;
|
|
@@ -72,4 +73,26 @@ export declare function FileIcon({ size, color, ...props }: IconProps): import("
|
|
|
72
73
|
export declare function ImageIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
73
74
|
/** A paperclip — attaching a file to a composer. */
|
|
74
75
|
export declare function PaperclipIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
76
|
+
/** A capsule on a stand — a microphone, for anything voice. */
|
|
77
|
+
export declare function MicIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
78
|
+
/** A filled triangle — start playback. */
|
|
79
|
+
export declare function PlayIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
80
|
+
/** Two filled bars — hold playback where it is. */
|
|
81
|
+
export declare function PauseIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
82
|
+
/** A pencil at an angle — draw, sign, edit by hand. */
|
|
83
|
+
export declare function PencilIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
84
|
+
/** An arrow curling anticlockwise — undo, reset, start over. */
|
|
85
|
+
export declare function RotateCcwIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
86
|
+
/** A bin — discard what is there. */
|
|
87
|
+
export declare function TrashIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
88
|
+
/** An arrow into a tray — save the thing to a file. */
|
|
89
|
+
export declare function DownloadIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
90
|
+
/** A cross of two strokes — zoom in, add. Pairs with MinusIcon. */
|
|
91
|
+
export declare function PlusIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
92
|
+
/** Four corners pushing outward — fit everything into view. */
|
|
93
|
+
export declare function MaximizeIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
94
|
+
/** A closed padlock — the thing behind it cannot be moved. */
|
|
95
|
+
export declare function LockIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
96
|
+
/** The same padlock with its shackle swung open — freely movable. */
|
|
97
|
+
export declare function UnlockIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
75
98
|
//# 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,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAYD,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,QAAQ,GACT,EAAE;IACD,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,SAAS,CAAC;CACrB,+BA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AS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,+BAkBnE"}
|
|
@@ -16,7 +16,10 @@ export { BottomSheet, type BottomSheetProps, type BottomSheetContentProps, } fro
|
|
|
16
16
|
export { Button, type ButtonProps } from './components/button/index.js';
|
|
17
17
|
export { ToggleButton, ToggleButtonGroup, useToggleButton, type ToggleButtonProps, type ToggleButtonGroupProps, type ToggleButtonLabelProps, type ToggleButtonSize, type ToggleButtonVariant, type ToggleSelectionMode, } from './components/toggle-button/index.js';
|
|
18
18
|
export { Dialog, type DialogProps, type DialogContentProps, } from './components/dialog/index.js';
|
|
19
|
-
export {
|
|
19
|
+
export { Soundwave, type SoundwaveProps, type SoundwaveState, type SoundwaveVariant, } from './components/soundwave/index.js';
|
|
20
|
+
export { Direction, useDirection, type DirectionProps, type DirectionValue, } from './components/direction/index.js';
|
|
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';
|
|
20
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';
|
|
21
24
|
export { Select, type SelectProps, type SelectItemProps, type SelectPresentation, } from './components/select/index.js';
|
|
22
25
|
export { SectionRail, type SectionRailProps, type SectionRailTriggerProps, type SectionRailBarProps, type SectionRailContentProps, type SectionRailItemProps, type SectionRailPlacement, type SectionRailAlign, } from './components/section-rail/index.js';
|
|
@@ -25,8 +28,11 @@ export { Card, type CardProps } from './components/card/index.js';
|
|
|
25
28
|
export { Checkbox, type CheckboxProps } from './components/checkbox/index.js';
|
|
26
29
|
export { Chip, useChip, type ChipProps, type ChipLabelProps, type ChipVariant, type ChipSize, } from './components/chip/index.js';
|
|
27
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';
|
|
28
33
|
export { Input, type InputProps } from './components/input/index.js';
|
|
29
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';
|
|
30
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';
|
|
31
37
|
export { Label, type LabelProps, type LabelTextProps } from './components/label/index.js';
|
|
32
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,6 +44,7 @@ export { Progress, type ProgressProps } from './components/progress/index.js';
|
|
|
38
44
|
export { RadioGroup, type RadioGroupProps, type RadioGroupItemProps, } from './components/radio-group/index.js';
|
|
39
45
|
export { ScrollFade, type ScrollFadeProps, } from './components/scroll-fade/index.js';
|
|
40
46
|
export { Separator, type SeparatorProps } from './components/separator/index.js';
|
|
47
|
+
export { Signature, hasSignatureFileSystem, hasSignatureRaster, type SignatureProps, type SignatureHandle, type SignatureFile, type SignatureSaveOptions, type SignatureToolbarProps, type SignatureButtonProps, } from './components/signature/index.js';
|
|
41
48
|
export { Shimmer, type ShimmerProps } from './components/shimmer/index.js';
|
|
42
49
|
export { ScrollText, type ScrollTextProps, type ScrollTextEffect, type ScrollTextSplit, } from './components/scroll-text/index.js';
|
|
43
50
|
export { ScrollCanvas, type ScrollCanvasProps, type ScrollCanvasEffect, } from './components/scroll-canvas/index.js';
|
|
@@ -51,7 +58,7 @@ export { Switch, type SwitchProps } from './components/switch/index.js';
|
|
|
51
58
|
export { Timeline, type TimelineProps, type TimelineItemProps, type TimelineIndicatorProps, type TimelineStatProps, type TimelineVariant, type TimelineTone, } from './components/timeline/index.js';
|
|
52
59
|
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';
|
|
53
60
|
export { Typography, type TypographyProps, type TypographyType, type TypographyHeadingProps, type TypographyParagraphProps, type TypographyCodeProps, } from './components/typography/index.js';
|
|
54
|
-
export { AlertTriangleIcon, AppleIcon, ArrowUpRightIcon, BellIcon, CardIcon, CheckCircleIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, FacebookIcon, FileIcon, GoogleIcon, IconColorProvider, InfoIcon, ImageIcon, MoonIcon, PackageIcon, PaperclipIcon, PlusSquareIcon, ReceiptIcon, SearchIcon, SendIcon, ShareNodesIcon, ShieldAlertIcon, ShieldCheckIcon, SunIcon, XIcon, useIconColor, type IconProps, } from './icons/index.js';
|
|
61
|
+
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';
|
|
55
62
|
export * from './hooks/index.js';
|
|
56
63
|
export { cn } from './utils/cn.js';
|
|
57
64
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,eAAe,EAAE,KAAK,oBAAoB,EAAE,MAAM,kCAA+B,CAAC;AAG3F,OAAO,EACL,QAAQ,EACR,YAAY,EACZ,YAAY,EACZ,iBAAiB,EACjB,kBAAkB,EAClB,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,UAAU,EACf,KAAK,gBAAgB,GACtB,MAAM,sBAAmB,CAAC;AAG3B,OAAO,EAAE,MAAM,EAAE,UAAU,EAAE,cAAc,EAAE,MAAM,wBAAqB,CAAC;AACzE,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,sBAAmB,CAAC;AACzD,OAAO,EACL,eAAe,EACf,KAAK,oBAAoB,GAC1B,MAAM,kCAA+B,CAAC;AACvC,OAAO,EACL,iBAAiB,EACjB,KAAK,sBAAsB,GAC5B,MAAM,oCAAiC,CAAC;AACzC,OAAO,EACL,cAAc,EACd,iBAAiB,EACjB,KAAK,mBAAmB,EACxB,KAAK,mBAAmB,GACzB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|
|
4
4
|
"description": "High-performance React Native UI components for Expo. Semantic design tokens, powered by Uniwind (Tailwind v4) and Reanimated.",
|
|
5
5
|
"main": "./lib/module/index.js",
|
|
6
6
|
"module": "./lib/module/index.js",
|
|
@@ -67,6 +67,7 @@
|
|
|
67
67
|
"@react-native-masked-view/masked-view": ">=0.3.0",
|
|
68
68
|
"expo-blur": ">=13.0.0",
|
|
69
69
|
"expo-clipboard": ">=7.0.0",
|
|
70
|
+
"expo-file-system": ">=17.0.0",
|
|
70
71
|
"expo-haptics": ">=13.0.0",
|
|
71
72
|
"expo-linear-gradient": ">=13.0.0",
|
|
72
73
|
"react": "*",
|
|
@@ -76,6 +77,7 @@
|
|
|
76
77
|
"react-native-reanimated": ">=3.0.0",
|
|
77
78
|
"react-native-safe-area-context": ">=4.0.0",
|
|
78
79
|
"react-native-svg": ">=15.0.0",
|
|
80
|
+
"react-native-view-shot": ">=3.8.0",
|
|
79
81
|
"tailwindcss": ">=4.0.0",
|
|
80
82
|
"uniwind": ">=1.0.0"
|
|
81
83
|
},
|
|
@@ -110,11 +112,17 @@
|
|
|
110
112
|
"expo-clipboard": {
|
|
111
113
|
"optional": true
|
|
112
114
|
},
|
|
115
|
+
"expo-file-system": {
|
|
116
|
+
"optional": true
|
|
117
|
+
},
|
|
113
118
|
"expo-haptics": {
|
|
114
119
|
"optional": true
|
|
115
120
|
},
|
|
116
121
|
"react-native-keyboard-controller": {
|
|
117
122
|
"optional": true
|
|
123
|
+
},
|
|
124
|
+
"react-native-view-shot": {
|
|
125
|
+
"optional": true
|
|
118
126
|
}
|
|
119
127
|
}
|
|
120
128
|
}
|
|
@@ -24,15 +24,35 @@ import Animated, {
|
|
|
24
24
|
withTiming,
|
|
25
25
|
} from 'react-native-reanimated';
|
|
26
26
|
import { useSafeAreaInsets } from 'react-native-safe-area-context';
|
|
27
|
+
import { tv } from 'tailwind-variants';
|
|
27
28
|
import { getNativeUI } from '../../native';
|
|
28
29
|
import { XIcon } from '../../icons';
|
|
29
30
|
import { Portal } from '../../primitives/portal';
|
|
31
|
+
import { Scrim } from '../../primitives/scrim';
|
|
30
32
|
import { cn } from '../../utils/cn';
|
|
31
33
|
|
|
32
34
|
const SPRING = { damping: 22, stiffness: 280, mass: 0.7 } as const;
|
|
33
35
|
const DISMISS_DISTANCE = 120;
|
|
34
36
|
const DISMISS_VELOCITY = 800;
|
|
35
37
|
|
|
38
|
+
const sheetVariants = tv({
|
|
39
|
+
base: 'border border-border bg-popover px-5 pt-2 shadow-lg',
|
|
40
|
+
variants: {
|
|
41
|
+
detached: {
|
|
42
|
+
// Docked: the sheet is continuous with the bottom of the screen, so the
|
|
43
|
+
// bottom edge is not a real edge and drawing a line along it would be a
|
|
44
|
+
// rule through the middle of nothing.
|
|
45
|
+
false: 'rounded-t-3xl border-b-0',
|
|
46
|
+
// Floating: all four edges are real, so all four are drawn and all four
|
|
47
|
+
// corners are rounded.
|
|
48
|
+
true: 'mx-4 mb-6 rounded-3xl',
|
|
49
|
+
},
|
|
50
|
+
},
|
|
51
|
+
defaultVariants: {
|
|
52
|
+
detached: false,
|
|
53
|
+
},
|
|
54
|
+
});
|
|
55
|
+
|
|
36
56
|
interface BottomSheetContextValue {
|
|
37
57
|
open: boolean;
|
|
38
58
|
setOpen: (open: boolean) => void;
|
|
@@ -178,6 +198,20 @@ export interface BottomSheetContentProps extends ViewProps {
|
|
|
178
198
|
* sheet; ignored by the native sheet, which has its own dismiss affordances.
|
|
179
199
|
*/
|
|
180
200
|
showClose?: boolean;
|
|
201
|
+
/**
|
|
202
|
+
* Float the sheet clear of the screen edges instead of docking it to the
|
|
203
|
+
* bottom, so it reads as a card laid over the app rather than a drawer
|
|
204
|
+
* pulled out of it. All four corners round and the bottom border comes back,
|
|
205
|
+
* since a floating sheet has four real edges where a docked one has three.
|
|
206
|
+
* Ignored by the native sheet, which the platform positions itself.
|
|
207
|
+
*/
|
|
208
|
+
detached?: boolean;
|
|
209
|
+
/**
|
|
210
|
+
* Frost the screen behind the sheet instead of dimming it, so what is behind
|
|
211
|
+
* stays legible as shape and colour while losing its detail. Needs the
|
|
212
|
+
* optional `expo-blur`; without it this dims, rather than failing.
|
|
213
|
+
*/
|
|
214
|
+
blur?: boolean;
|
|
181
215
|
children?: ReactNode;
|
|
182
216
|
}
|
|
183
217
|
|
|
@@ -185,6 +219,8 @@ function BottomSheetContent({
|
|
|
185
219
|
className,
|
|
186
220
|
dismissible = true,
|
|
187
221
|
showClose = true,
|
|
222
|
+
detached = false,
|
|
223
|
+
blur = false,
|
|
188
224
|
children,
|
|
189
225
|
...props
|
|
190
226
|
}: BottomSheetContentProps) {
|
|
@@ -275,27 +311,29 @@ function BottomSheetContent({
|
|
|
275
311
|
subtree — re-provide the context so nested consumers keep working. */}
|
|
276
312
|
<BottomSheetContext.Provider value={context}>
|
|
277
313
|
<View className="absolute inset-0 justify-end">
|
|
278
|
-
<
|
|
279
|
-
|
|
280
|
-
|
|
281
|
-
|
|
282
|
-
>
|
|
314
|
+
<View className="absolute inset-0">
|
|
315
|
+
{/* Scrim draws the backdrop and its own fade; the Pressable over it
|
|
316
|
+
is what closes the sheet, since the scrim takes no touches. */}
|
|
317
|
+
<Scrim blur={blur} />
|
|
283
318
|
<Pressable
|
|
284
319
|
accessibilityLabel="Close sheet"
|
|
285
|
-
className="flex-1
|
|
320
|
+
className="flex-1"
|
|
286
321
|
onPress={dismissible ? close : undefined}
|
|
287
322
|
/>
|
|
288
|
-
</
|
|
323
|
+
</View>
|
|
289
324
|
<GestureDetector gesture={pan}>
|
|
290
325
|
<Animated.View
|
|
291
326
|
entering={SlideInDown.springify().damping(22).stiffness(240).mass(0.8)}
|
|
292
327
|
exiting={SlideOutDown.duration(200)}
|
|
293
|
-
style={[
|
|
328
|
+
style={[
|
|
329
|
+
sheetStyle,
|
|
330
|
+
// A detached sheet's own bottom margin already clears the home
|
|
331
|
+
// indicator, so it takes plain padding rather than stacking the
|
|
332
|
+
// inset on top of the gap.
|
|
333
|
+
{ paddingBottom: detached ? 16 : Math.max(insets.bottom, 16) },
|
|
334
|
+
]}
|
|
294
335
|
accessibilityViewIsModal
|
|
295
|
-
className={
|
|
296
|
-
'rounded-t-3xl border border-b-0 border-border bg-popover px-5 pt-2 shadow-lg',
|
|
297
|
-
className
|
|
298
|
-
)}
|
|
336
|
+
className={sheetVariants({ detached, className })}
|
|
299
337
|
{...props}
|
|
300
338
|
>
|
|
301
339
|
<View className="mb-3 self-center">
|
|
@@ -8,7 +8,7 @@ import Animated, {
|
|
|
8
8
|
} from 'react-native-reanimated';
|
|
9
9
|
import { tv, type VariantProps } from 'tailwind-variants';
|
|
10
10
|
import { useCSSVariable } from 'uniwind';
|
|
11
|
-
import { CheckIcon } from '../../icons';
|
|
11
|
+
import { CheckIcon, MinusIcon } from '../../icons';
|
|
12
12
|
import { Text } from '../../primitives/text';
|
|
13
13
|
|
|
14
14
|
const checkboxVariants = tv({
|
|
@@ -55,6 +55,14 @@ export interface CheckboxProps extends VariantProps<typeof checkboxVariants> {
|
|
|
55
55
|
className?: string;
|
|
56
56
|
checked: boolean;
|
|
57
57
|
onCheckedChange?: (checked: boolean) => void;
|
|
58
|
+
/**
|
|
59
|
+
* A third, in-between state for a box that governs a group of others — some
|
|
60
|
+
* on, some off. It fills like a checked box but shows a dash rather than a
|
|
61
|
+
* tick, and announces itself as `mixed` to a screen reader. Pressing it
|
|
62
|
+
* resolves the ambiguity by turning the whole group on, so the press reports
|
|
63
|
+
* `true`. `indeterminate` overrides `checked` for what is drawn.
|
|
64
|
+
*/
|
|
65
|
+
indeterminate?: boolean;
|
|
58
66
|
disabled?: boolean;
|
|
59
67
|
/** Optional label rendered next to the box; pressing it also toggles. */
|
|
60
68
|
label?: string;
|
|
@@ -64,31 +72,45 @@ export interface CheckboxProps extends VariantProps<typeof checkboxVariants> {
|
|
|
64
72
|
|
|
65
73
|
export const Checkbox = forwardRef<View, CheckboxProps>(
|
|
66
74
|
(
|
|
67
|
-
{
|
|
75
|
+
{
|
|
76
|
+
className,
|
|
77
|
+
checked,
|
|
78
|
+
onCheckedChange,
|
|
79
|
+
indeterminate,
|
|
80
|
+
disabled,
|
|
81
|
+
label,
|
|
82
|
+
description,
|
|
83
|
+
variant,
|
|
84
|
+
},
|
|
68
85
|
ref
|
|
69
86
|
) => {
|
|
70
|
-
|
|
71
|
-
|
|
87
|
+
// The dash and the tick share one fill, so the box is "on" for either —
|
|
88
|
+
// what changes is the glyph, not whether the fill is shown.
|
|
89
|
+
const on = checked || !!indeterminate;
|
|
90
|
+
const progress = useSharedValue(on ? 1 : 0);
|
|
91
|
+
const slots = checkboxVariants({ variant, checked: on, disabled: !!disabled });
|
|
72
92
|
const checkColor = useCSSVariable('--color-primary-foreground');
|
|
73
93
|
|
|
74
94
|
useEffect(() => {
|
|
75
|
-
progress.value =
|
|
95
|
+
progress.value = on
|
|
76
96
|
? withSpring(1, { damping: 15, stiffness: 300, mass: 0.5 })
|
|
77
97
|
: withTiming(0, { duration: 120 });
|
|
78
|
-
}, [
|
|
98
|
+
}, [on, progress]);
|
|
79
99
|
|
|
80
100
|
const fillStyle = useAnimatedStyle(() => ({
|
|
81
101
|
opacity: progress.value,
|
|
82
102
|
transform: [{ scale: 0.6 + progress.value * 0.4 }],
|
|
83
103
|
}));
|
|
84
104
|
|
|
105
|
+
const glyphColor = typeof checkColor === 'string' ? checkColor : '#fff';
|
|
85
106
|
const box = (
|
|
86
107
|
<View className={slots.box()}>
|
|
87
108
|
<Animated.View style={fillStyle} className={slots.fill()}>
|
|
88
|
-
|
|
89
|
-
size={12}
|
|
90
|
-
|
|
91
|
-
|
|
109
|
+
{indeterminate ? (
|
|
110
|
+
<MinusIcon size={12} color={glyphColor} />
|
|
111
|
+
) : (
|
|
112
|
+
<CheckIcon size={12} color={glyphColor} />
|
|
113
|
+
)}
|
|
92
114
|
</Animated.View>
|
|
93
115
|
</View>
|
|
94
116
|
);
|
|
@@ -97,11 +119,17 @@ export const Checkbox = forwardRef<View, CheckboxProps>(
|
|
|
97
119
|
<Pressable
|
|
98
120
|
ref={ref}
|
|
99
121
|
accessibilityRole="checkbox"
|
|
100
|
-
|
|
122
|
+
// `mixed` is the a11y state for a box that governs a partly-on group;
|
|
123
|
+
// a plain boolean would tell a screen reader the group is fully one way.
|
|
124
|
+
accessibilityState={{
|
|
125
|
+
checked: indeterminate ? 'mixed' : checked,
|
|
126
|
+
disabled: !!disabled,
|
|
127
|
+
}}
|
|
101
128
|
accessibilityLabel={label}
|
|
102
129
|
accessibilityHint={description}
|
|
103
130
|
disabled={disabled}
|
|
104
|
-
|
|
131
|
+
// An indeterminate box resolves upward: the press turns the group on.
|
|
132
|
+
onPress={() => onCheckedChange?.(indeterminate ? true : !checked)}
|
|
105
133
|
hitSlop={8}
|
|
106
134
|
// A description makes the row two lines tall — align the box to the
|
|
107
135
|
// label rather than centring it against the whole block.
|