panelui-native 0.77.0 → 0.78.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/lib/module/components/area-chart/index.js +32 -25
- package/lib/module/components/area-chart/index.js.map +1 -1
- package/lib/module/components/bottom-sheet/index.js +97 -15
- package/lib/module/components/bottom-sheet/index.js.map +1 -1
- package/lib/module/components/funnel-chart/index.js +15 -2
- package/lib/module/components/funnel-chart/index.js.map +1 -1
- package/lib/module/components/heatmap-chart/index.js +19 -27
- package/lib/module/components/heatmap-chart/index.js.map +1 -1
- package/lib/module/components/hex-chart/index.js +2 -0
- package/lib/module/components/hex-chart/index.js.map +1 -1
- package/lib/module/components/line-chart/index.js +38 -31
- package/lib/module/components/line-chart/index.js.map +1 -1
- package/lib/module/components/marquee/index.js +91 -5
- package/lib/module/components/marquee/index.js.map +1 -1
- package/lib/module/components/pie-chart/index.js +15 -2
- package/lib/module/components/pie-chart/index.js.map +1 -1
- package/lib/module/components/plot/index.js +42 -44
- package/lib/module/components/plot/index.js.map +1 -1
- package/lib/module/components/progress-button/index.js +390 -0
- package/lib/module/components/progress-button/index.js.map +1 -0
- package/lib/module/components/progress-button/progress-button-hold.js +57 -0
- package/lib/module/components/progress-button/progress-button-hold.js.map +1 -0
- package/lib/module/components/scatter-chart/index.js +6 -25
- package/lib/module/components/scatter-chart/index.js.map +1 -1
- package/lib/module/components/section-rail/index.js +40 -17
- package/lib/module/components/section-rail/index.js.map +1 -1
- package/lib/module/components/split-view/index.js +54 -10
- package/lib/module/components/split-view/index.js.map +1 -1
- package/lib/module/components/timeline/index.js +145 -14
- package/lib/module/components/timeline/index.js.map +1 -1
- package/lib/module/components/toast/index.js +45 -11
- package/lib/module/components/toast/index.js.map +1 -1
- package/lib/module/components/treemap-chart/index.js +63 -6
- package/lib/module/components/treemap-chart/index.js.map +1 -1
- package/lib/module/components/waterfall-chart/index.js +20 -4
- package/lib/module/components/waterfall-chart/index.js.map +1 -1
- package/lib/module/hooks/index.js +1 -0
- package/lib/module/hooks/index.js.map +1 -1
- package/lib/module/hooks/use-scroll-sections.js +44 -2
- package/lib/module/hooks/use-scroll-sections.js.map +1 -1
- package/lib/module/hooks/use-skeleton-handoff.js +58 -0
- package/lib/module/hooks/use-skeleton-handoff.js.map +1 -0
- package/lib/module/index.js +1 -0
- package/lib/module/index.js.map +1 -1
- package/lib/typescript/src/components/area-chart/index.d.ts +1 -1
- package/lib/typescript/src/components/area-chart/index.d.ts.map +1 -1
- package/lib/typescript/src/components/bottom-sheet/index.d.ts.map +1 -1
- package/lib/typescript/src/components/funnel-chart/index.d.ts.map +1 -1
- package/lib/typescript/src/components/heatmap-chart/index.d.ts.map +1 -1
- package/lib/typescript/src/components/hex-chart/index.d.ts.map +1 -1
- package/lib/typescript/src/components/line-chart/index.d.ts +1 -1
- package/lib/typescript/src/components/line-chart/index.d.ts.map +1 -1
- package/lib/typescript/src/components/marquee/index.d.ts +55 -2
- package/lib/typescript/src/components/marquee/index.d.ts.map +1 -1
- package/lib/typescript/src/components/pie-chart/index.d.ts.map +1 -1
- package/lib/typescript/src/components/plot/index.d.ts +1 -3
- package/lib/typescript/src/components/plot/index.d.ts.map +1 -1
- package/lib/typescript/src/components/progress-button/index.d.ts +295 -0
- package/lib/typescript/src/components/progress-button/index.d.ts.map +1 -0
- package/lib/typescript/src/components/progress-button/progress-button-hold.d.ts +40 -0
- package/lib/typescript/src/components/progress-button/progress-button-hold.d.ts.map +1 -0
- package/lib/typescript/src/components/scatter-chart/index.d.ts +1 -1
- package/lib/typescript/src/components/scatter-chart/index.d.ts.map +1 -1
- package/lib/typescript/src/components/section-rail/index.d.ts.map +1 -1
- package/lib/typescript/src/components/split-view/index.d.ts +10 -1
- package/lib/typescript/src/components/split-view/index.d.ts.map +1 -1
- package/lib/typescript/src/components/timeline/index.d.ts +7 -0
- package/lib/typescript/src/components/timeline/index.d.ts.map +1 -1
- package/lib/typescript/src/components/toast/index.d.ts.map +1 -1
- package/lib/typescript/src/components/treemap-chart/index.d.ts.map +1 -1
- package/lib/typescript/src/components/waterfall-chart/index.d.ts.map +1 -1
- package/lib/typescript/src/hooks/index.d.ts +1 -0
- package/lib/typescript/src/hooks/index.d.ts.map +1 -1
- package/lib/typescript/src/hooks/use-scroll-sections.d.ts +1 -0
- package/lib/typescript/src/hooks/use-scroll-sections.d.ts.map +1 -1
- package/lib/typescript/src/hooks/use-skeleton-handoff.d.ts +11 -0
- package/lib/typescript/src/hooks/use-skeleton-handoff.d.ts.map +1 -0
- package/lib/typescript/src/index.d.ts +3 -2
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/area-chart/index.tsx +49 -37
- package/src/components/bottom-sheet/index.tsx +109 -11
- package/src/components/funnel-chart/index.tsx +10 -2
- package/src/components/heatmap-chart/index.tsx +27 -22
- package/src/components/hex-chart/index.tsx +22 -6
- package/src/components/line-chart/index.tsx +57 -43
- package/src/components/marquee/index.tsx +129 -6
- package/src/components/pie-chart/index.tsx +10 -2
- package/src/components/plot/index.tsx +66 -50
- package/src/components/progress-button/index.tsx +465 -0
- package/src/components/progress-button/progress-button-hold.ts +57 -0
- package/src/components/scatter-chart/index.tsx +4 -25
- package/src/components/section-rail/index.tsx +39 -19
- package/src/components/split-view/index.tsx +53 -8
- package/src/components/timeline/index.tsx +143 -17
- package/src/components/toast/index.tsx +60 -11
- package/src/components/treemap-chart/index.tsx +65 -8
- package/src/components/waterfall-chart/index.tsx +14 -4
- package/src/hooks/index.ts +5 -0
- package/src/hooks/use-scroll-sections.ts +52 -3
- package/src/hooks/use-skeleton-handoff.ts +69 -0
- package/src/index.ts +10 -0
|
@@ -0,0 +1,295 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* ProgressButton — press and hold to confirm, with the wait drawn on the button.
|
|
3
|
+
*
|
|
4
|
+
* ```tsx
|
|
5
|
+
* <ProgressButton onComplete={wipe}>
|
|
6
|
+
* <ProgressButton.Label>Hold to erase</ProgressButton.Label>
|
|
7
|
+
* </ProgressButton>
|
|
8
|
+
* ```
|
|
9
|
+
*
|
|
10
|
+
* For the action a confirmation dialog exists to slow down. A dialog asks the
|
|
11
|
+
* question somewhere else and takes the answer as a tap — which is two taps,
|
|
12
|
+
* and two taps in a row is a rhythm a hand falls into. A hold cannot be
|
|
13
|
+
* completed by accident and cannot be completed by habit: it has to be
|
|
14
|
+
* sustained, and the fill says for how much longer.
|
|
15
|
+
*
|
|
16
|
+
* ## The fill is the promise
|
|
17
|
+
*
|
|
18
|
+
* Nothing fires until the fill reaches the end. There is no tolerance near the
|
|
19
|
+
* top, because a tolerance means the button sometimes commits after the reader
|
|
20
|
+
* has deliberately let go — which is the one failure a confirmation control
|
|
21
|
+
* cannot have. Released early, the fill drains back, in proportion to how far
|
|
22
|
+
* it got.
|
|
23
|
+
*
|
|
24
|
+
* ## How it is drawn
|
|
25
|
+
*
|
|
26
|
+
* The fill is a clipped copy of the button in inverted colours, growing from
|
|
27
|
+
* the leading edge. That is what keeps the label legible across the boundary:
|
|
28
|
+
* a single label under a translucent wash goes muddy in the middle of the
|
|
29
|
+
* wipe, exactly where the eye is. Two labels, each at full contrast on its own
|
|
30
|
+
* ground, never do.
|
|
31
|
+
*
|
|
32
|
+
* The clip is a view under `overflow: 'hidden'`, and its width is animated.
|
|
33
|
+
* Animating a width is normally a layout pass per frame; this view is
|
|
34
|
+
* absolutely positioned over the button and its copy of the label is pinned to
|
|
35
|
+
* the button's own width, so nothing it contains reflows as it grows.
|
|
36
|
+
*
|
|
37
|
+
* ## Reduced motion
|
|
38
|
+
*
|
|
39
|
+
* The wipe is replaced by a stepped fill that advances in fifths. The hold
|
|
40
|
+
* still has to be legible — a control that asks you to wait and shows nothing
|
|
41
|
+
* is a broken button — so this is a coarser indicator, not the absence of one.
|
|
42
|
+
*/
|
|
43
|
+
import { type ReactNode } from 'react';
|
|
44
|
+
import { View, type PressableProps, type ViewProps } from 'react-native';
|
|
45
|
+
import { type SharedValue } from 'react-native-reanimated';
|
|
46
|
+
import { type VariantProps } from 'tailwind-variants';
|
|
47
|
+
declare const progressButtonVariants: import("tailwind-variants").TVReturnType<{
|
|
48
|
+
variant: {
|
|
49
|
+
primary: {
|
|
50
|
+
root: string;
|
|
51
|
+
label: string;
|
|
52
|
+
fill: string;
|
|
53
|
+
fillLabel: string;
|
|
54
|
+
};
|
|
55
|
+
secondary: {
|
|
56
|
+
root: string;
|
|
57
|
+
label: string;
|
|
58
|
+
fill: string;
|
|
59
|
+
fillLabel: string;
|
|
60
|
+
};
|
|
61
|
+
destructive: {
|
|
62
|
+
root: string;
|
|
63
|
+
label: string;
|
|
64
|
+
fill: string;
|
|
65
|
+
fillLabel: string;
|
|
66
|
+
};
|
|
67
|
+
success: {
|
|
68
|
+
root: string;
|
|
69
|
+
label: string;
|
|
70
|
+
fill: string;
|
|
71
|
+
fillLabel: string;
|
|
72
|
+
};
|
|
73
|
+
};
|
|
74
|
+
size: {
|
|
75
|
+
sm: {
|
|
76
|
+
root: string;
|
|
77
|
+
content: string;
|
|
78
|
+
label: string;
|
|
79
|
+
fillLabel: string;
|
|
80
|
+
};
|
|
81
|
+
md: {
|
|
82
|
+
root: string;
|
|
83
|
+
content: string;
|
|
84
|
+
label: string;
|
|
85
|
+
fillLabel: string;
|
|
86
|
+
};
|
|
87
|
+
lg: {
|
|
88
|
+
root: string;
|
|
89
|
+
content: string;
|
|
90
|
+
label: string;
|
|
91
|
+
fillLabel: string;
|
|
92
|
+
};
|
|
93
|
+
};
|
|
94
|
+
fullWidth: {
|
|
95
|
+
true: {
|
|
96
|
+
root: string;
|
|
97
|
+
};
|
|
98
|
+
};
|
|
99
|
+
disabled: {
|
|
100
|
+
true: {
|
|
101
|
+
root: string;
|
|
102
|
+
};
|
|
103
|
+
};
|
|
104
|
+
}, {
|
|
105
|
+
root: string;
|
|
106
|
+
content: string;
|
|
107
|
+
label: string;
|
|
108
|
+
/** The inverted copy, drawn on the filled ground. */
|
|
109
|
+
fill: string;
|
|
110
|
+
fillLabel: string;
|
|
111
|
+
}, undefined, {
|
|
112
|
+
variant: {
|
|
113
|
+
primary: {
|
|
114
|
+
root: string;
|
|
115
|
+
label: string;
|
|
116
|
+
fill: string;
|
|
117
|
+
fillLabel: string;
|
|
118
|
+
};
|
|
119
|
+
secondary: {
|
|
120
|
+
root: string;
|
|
121
|
+
label: string;
|
|
122
|
+
fill: string;
|
|
123
|
+
fillLabel: string;
|
|
124
|
+
};
|
|
125
|
+
destructive: {
|
|
126
|
+
root: string;
|
|
127
|
+
label: string;
|
|
128
|
+
fill: string;
|
|
129
|
+
fillLabel: string;
|
|
130
|
+
};
|
|
131
|
+
success: {
|
|
132
|
+
root: string;
|
|
133
|
+
label: string;
|
|
134
|
+
fill: string;
|
|
135
|
+
fillLabel: string;
|
|
136
|
+
};
|
|
137
|
+
};
|
|
138
|
+
size: {
|
|
139
|
+
sm: {
|
|
140
|
+
root: string;
|
|
141
|
+
content: string;
|
|
142
|
+
label: string;
|
|
143
|
+
fillLabel: string;
|
|
144
|
+
};
|
|
145
|
+
md: {
|
|
146
|
+
root: string;
|
|
147
|
+
content: string;
|
|
148
|
+
label: string;
|
|
149
|
+
fillLabel: string;
|
|
150
|
+
};
|
|
151
|
+
lg: {
|
|
152
|
+
root: string;
|
|
153
|
+
content: string;
|
|
154
|
+
label: string;
|
|
155
|
+
fillLabel: string;
|
|
156
|
+
};
|
|
157
|
+
};
|
|
158
|
+
fullWidth: {
|
|
159
|
+
true: {
|
|
160
|
+
root: string;
|
|
161
|
+
};
|
|
162
|
+
};
|
|
163
|
+
disabled: {
|
|
164
|
+
true: {
|
|
165
|
+
root: string;
|
|
166
|
+
};
|
|
167
|
+
};
|
|
168
|
+
}, {
|
|
169
|
+
root: string;
|
|
170
|
+
content: string;
|
|
171
|
+
label: string;
|
|
172
|
+
/** The inverted copy, drawn on the filled ground. */
|
|
173
|
+
fill: string;
|
|
174
|
+
fillLabel: string;
|
|
175
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
176
|
+
variant: {
|
|
177
|
+
primary: {
|
|
178
|
+
root: string;
|
|
179
|
+
label: string;
|
|
180
|
+
fill: string;
|
|
181
|
+
fillLabel: string;
|
|
182
|
+
};
|
|
183
|
+
secondary: {
|
|
184
|
+
root: string;
|
|
185
|
+
label: string;
|
|
186
|
+
fill: string;
|
|
187
|
+
fillLabel: string;
|
|
188
|
+
};
|
|
189
|
+
destructive: {
|
|
190
|
+
root: string;
|
|
191
|
+
label: string;
|
|
192
|
+
fill: string;
|
|
193
|
+
fillLabel: string;
|
|
194
|
+
};
|
|
195
|
+
success: {
|
|
196
|
+
root: string;
|
|
197
|
+
label: string;
|
|
198
|
+
fill: string;
|
|
199
|
+
fillLabel: string;
|
|
200
|
+
};
|
|
201
|
+
};
|
|
202
|
+
size: {
|
|
203
|
+
sm: {
|
|
204
|
+
root: string;
|
|
205
|
+
content: string;
|
|
206
|
+
label: string;
|
|
207
|
+
fillLabel: string;
|
|
208
|
+
};
|
|
209
|
+
md: {
|
|
210
|
+
root: string;
|
|
211
|
+
content: string;
|
|
212
|
+
label: string;
|
|
213
|
+
fillLabel: string;
|
|
214
|
+
};
|
|
215
|
+
lg: {
|
|
216
|
+
root: string;
|
|
217
|
+
content: string;
|
|
218
|
+
label: string;
|
|
219
|
+
fillLabel: string;
|
|
220
|
+
};
|
|
221
|
+
};
|
|
222
|
+
fullWidth: {
|
|
223
|
+
true: {
|
|
224
|
+
root: string;
|
|
225
|
+
};
|
|
226
|
+
};
|
|
227
|
+
disabled: {
|
|
228
|
+
true: {
|
|
229
|
+
root: string;
|
|
230
|
+
};
|
|
231
|
+
};
|
|
232
|
+
}, {
|
|
233
|
+
root: string;
|
|
234
|
+
content: string;
|
|
235
|
+
label: string;
|
|
236
|
+
/** The inverted copy, drawn on the filled ground. */
|
|
237
|
+
fill: string;
|
|
238
|
+
fillLabel: string;
|
|
239
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
240
|
+
type ProgressButtonVariantProps = VariantProps<typeof progressButtonVariants>;
|
|
241
|
+
/** How a progress button looks. */
|
|
242
|
+
export type ProgressButtonVariant = NonNullable<ProgressButtonVariantProps['variant']>;
|
|
243
|
+
/** How big a progress button is. */
|
|
244
|
+
export type ProgressButtonSize = NonNullable<ProgressButtonVariantProps['size']>;
|
|
245
|
+
/** How far through the hold this button is, for something rendered inside it. */
|
|
246
|
+
export declare function useProgressButton(): {
|
|
247
|
+
progress: SharedValue<number>;
|
|
248
|
+
completed: boolean;
|
|
249
|
+
};
|
|
250
|
+
export interface ProgressButtonProps extends Omit<PressableProps, 'children' | 'disabled'>, Omit<ProgressButtonVariantProps, 'disabled'> {
|
|
251
|
+
className?: string;
|
|
252
|
+
/**
|
|
253
|
+
* Milliseconds the button has to be held. Defaults to `2000`, and is floored
|
|
254
|
+
* at `200` — a hold that completes on touch-down is a button with extra steps.
|
|
255
|
+
*/
|
|
256
|
+
holdDuration?: number;
|
|
257
|
+
/** Fires once the hold has been sustained to the end. */
|
|
258
|
+
onComplete?: () => void;
|
|
259
|
+
/** Fires whenever the completed state changes, including on a reset. */
|
|
260
|
+
onCompletedChange?: (completed: boolean) => void;
|
|
261
|
+
/** Controlled completion. Leave unset to let the button own it. */
|
|
262
|
+
completed?: boolean;
|
|
263
|
+
/** Return to the unfilled state after `autoResetDelay`. */
|
|
264
|
+
autoReset?: boolean;
|
|
265
|
+
/** Milliseconds to stay completed before resetting. Defaults to `1000`. */
|
|
266
|
+
autoResetDelay?: number;
|
|
267
|
+
disabled?: boolean;
|
|
268
|
+
/**
|
|
269
|
+
* A tick as the hold takes, and a knock when it completes. Off by default:
|
|
270
|
+
* whether an action is worth feeling is the caller's call, not the control's.
|
|
271
|
+
*/
|
|
272
|
+
haptics?: boolean;
|
|
273
|
+
children?: ReactNode;
|
|
274
|
+
}
|
|
275
|
+
export interface ProgressButtonLabelProps extends ViewProps {
|
|
276
|
+
className?: string;
|
|
277
|
+
children?: ReactNode;
|
|
278
|
+
}
|
|
279
|
+
/**
|
|
280
|
+
* What the button says, drawn twice.
|
|
281
|
+
*
|
|
282
|
+
* The second copy is the one inside the fill, in the inverted colour, pinned to
|
|
283
|
+
* the button's own width and clipped to however far the hold has got. Both are
|
|
284
|
+
* the same text at the same position, so the boundary between them falls in the
|
|
285
|
+
* middle of a glyph rather than between two differently laid-out lines.
|
|
286
|
+
*/
|
|
287
|
+
declare function ProgressButtonLabel({ className, children, ...props }: ProgressButtonLabelProps): import("react").JSX.Element;
|
|
288
|
+
declare namespace ProgressButtonLabel {
|
|
289
|
+
var displayName: string;
|
|
290
|
+
}
|
|
291
|
+
export declare const ProgressButton: import("react").ForwardRefExoticComponent<ProgressButtonProps & import("react").RefAttributes<View>> & {
|
|
292
|
+
Label: typeof ProgressButtonLabel;
|
|
293
|
+
};
|
|
294
|
+
export { DEFAULT_AUTO_RESET_DELAY, DEFAULT_HOLD_DURATION, DEFAULT_RELEASE_DURATION, isComplete, releaseDuration, resolveHoldDuration, } from './progress-button-hold.js';
|
|
295
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/progress-button/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,OAAO,EASL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAEL,IAAI,EAEJ,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AACtB,OAAiB,EASf,KAAK,WAAW,EACjB,MAAM,yBAAyB,CAAC;AACjC,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAc1D,QAAA,MAAM,sBAAsB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAoBxB,qDAAqD;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,wBAAwB,+BA+BvF;kBA/BQ,mBAAmB;;;AAoC5B,eAAO,MAAM,cAAc;;CAEzB,CAAC;AAEH,OAAO,EACL,wBAAwB,EACxB,qBAAqB,EACrB,wBAAwB,EACxB,UAAU,EACV,eAAe,EACf,mBAAmB,GACpB,MAAM,2BAAwB,CAAC"}
|
|
@@ -0,0 +1,40 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The arithmetic behind a hold, kept out of the component so it can be tested
|
|
3
|
+
* without a renderer — the same split `splitter-math` and `ai-input-growth` use.
|
|
4
|
+
*
|
|
5
|
+
* None of it is worklet-only, so the component can call it from either runtime.
|
|
6
|
+
*/
|
|
7
|
+
/** Milliseconds a hold has to be sustained before it counts. */
|
|
8
|
+
export declare const DEFAULT_HOLD_DURATION = 2000;
|
|
9
|
+
/** Milliseconds the fill takes to drain when a hold is abandoned. */
|
|
10
|
+
export declare const DEFAULT_RELEASE_DURATION = 240;
|
|
11
|
+
/** Milliseconds before an `autoReset` button offers itself again. */
|
|
12
|
+
export declare const DEFAULT_AUTO_RESET_DELAY = 1000;
|
|
13
|
+
/**
|
|
14
|
+
* A hold duration that cannot produce a broken animation.
|
|
15
|
+
*
|
|
16
|
+
* Zero would complete on touch-down, which defeats the point of the control:
|
|
17
|
+
* a hold-to-confirm that confirms on a tap is a button with extra steps. A
|
|
18
|
+
* floor rather than a rejection, because the caller asking for `0` wants it
|
|
19
|
+
* fast, not broken.
|
|
20
|
+
*/
|
|
21
|
+
export declare function resolveHoldDuration(duration: number | undefined): number;
|
|
22
|
+
/**
|
|
23
|
+
* How long the fill should take to drain from where it is.
|
|
24
|
+
*
|
|
25
|
+
* Proportional to how far it got, so abandoning a hold at a tenth of the way
|
|
26
|
+
* does not take the same quarter-second as abandoning it at nine tenths. A
|
|
27
|
+
* fixed release makes a barely-started hold feel sticky, which reads as the
|
|
28
|
+
* control resisting being let go.
|
|
29
|
+
*/
|
|
30
|
+
export declare function releaseDuration(progress: number, full?: number): number;
|
|
31
|
+
/**
|
|
32
|
+
* Whether a hold that has been released should still be honoured.
|
|
33
|
+
*
|
|
34
|
+
* The fill is the promise, so anything short of the end is not a confirmation —
|
|
35
|
+
* there is no "close enough" here. It exists as a named function because the
|
|
36
|
+
* tempting version of this rule is a tolerance, and a tolerance means the
|
|
37
|
+
* button sometimes fires when the reader let go early on purpose.
|
|
38
|
+
*/
|
|
39
|
+
export declare function isComplete(progress: number): boolean;
|
|
40
|
+
//# sourceMappingURL=progress-button-hold.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"progress-button-hold.d.ts","sourceRoot":"","sources":["../../../../../src/components/progress-button/progress-button-hold.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AAEH,gEAAgE;AAChE,eAAO,MAAM,qBAAqB,OAAO,CAAC;AAE1C,qEAAqE;AACrE,eAAO,MAAM,wBAAwB,MAAM,CAAC;AAE5C,qEAAqE;AACrE,eAAO,MAAM,wBAAwB,OAAO,CAAC;AAE7C;;;;;;;GAOG;AACH,wBAAgB,mBAAmB,CAAC,QAAQ,EAAE,MAAM,GAAG,SAAS,GAAG,MAAM,CAIxE;AAED;;;;;;;GAOG;AACH,wBAAgB,eAAe,CAC7B,QAAQ,EAAE,MAAM,EAChB,IAAI,GAAE,MAAiC,GACtC,MAAM,CAGR;AAED;;;;;;;GAOG;AACH,wBAAgB,UAAU,CAAC,QAAQ,EAAE,MAAM,GAAG,OAAO,CAEpD"}
|
|
@@ -79,7 +79,7 @@ export interface ScatterChartProps extends ViewProps, ChartAccessibilityProps<Sc
|
|
|
79
79
|
status?: ScatterChartStatus;
|
|
80
80
|
/** Width ÷ height. `1` suits a scatter plot: neither axis is the important one. */
|
|
81
81
|
aspectRatio?: number;
|
|
82
|
-
/** Milliseconds for the reveal on mount. */
|
|
82
|
+
/** Milliseconds for the reveal on mount. Defaults to `650`. */
|
|
83
83
|
animationDuration?: number;
|
|
84
84
|
/** Milliseconds for the axes to settle after the data changes. */
|
|
85
85
|
domainDuration?: number;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/scatter-chart/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,OAAO,EAWL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAA4C,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAgBxF,OAAO,EAA0B,KAAK,uBAAuB,EAAE,MAAM,yCAAsC,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/scatter-chart/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAuCG;AACH,OAAO,EAWL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAA4C,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAgBxF,OAAO,EAA0B,KAAK,uBAAuB,EAAE,MAAM,yCAAsC,CAAC;AA6D5G,KAAK,KAAK,GAAG,KAAK,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE1C,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,OAAO,CAAC;AACrD,MAAM,MAAM,iBAAiB,GAAG,MAAM,CAAC,MAAM,EAAE,MAAM,GAAG,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC,CAAC;AAEnF,gEAAgE;AAChE,MAAM,WAAW,iBAAiB;IAChC,yBAAyB;IACzB,KAAK,EAAE,MAAM,CAAC;IACd,4CAA4C;IAC5C,OAAO,EAAE,MAAM,CAAC;IAChB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,iBAAiB,CAAC;CAC1B;AAoCD;;;;;;GAMG;AACH,wBAAgB,eAAe;;;EAG9B;AAED,M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AAwB,SAAQ,SAAS;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4EAA4E;IAC5E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wEAAwE;IACxE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,+DAA+D;IAC/D,MAAM,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAChC;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;;;;;;GAQG;AACH,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,KAAK,EACL,KAAK,EACL,OAAO,EACP,MAAM,EACN,MAAc,EACd,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,uBAAuB,+BAqCzB;kBA9CQ,kBAAkB;;;;AAkD3B,eAAO,MAAM,YAAY;;;;;;;;;CASvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/section-rail/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,EAUL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/section-rail/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,EAUL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAA+B,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAgE3E,MAAM,MAAM,oBAAoB,GAAG,MAAM,GAAG,OAAO,CAAC;AACpD,MAAM,MAAM,gBAAgB,GAAG,Q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AM,WAAW,mBAAmB;IAClC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+DAA+D;IAC/D,KAAK,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED;;;;;;;GAOG;AACH,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAS,EAAE,EAAE,mBAAmB,+BAqD3E;AAED,MAAM,WAAW,uBAAwB,SAAQ,SAAS;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,MAAM,GAAG,GAAG,MAAM,GAAG,CAAC;IACjC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;GAGG;AACH,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,QAA0B,EAC1B,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,uBAAuB,sCAuCzB;AAiDD,MAAM,WAAW,oBAAoB;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6DAA6D;IAC7D,KAAK,EAAE,MAAM,CAAC;IACd,uDAAuD;IACvD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,4CAA4C;AAC5C,iBAAS,eAAe,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,KAAS,EAAE,QAAQ,EAAE,EAAE,oBAAoB,+BA+BvF;AAED,eAAO,MAAM,WAAW;;;;;CAKtB,CAAC"}
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
import { type ReactNode } from 'react';
|
|
34
34
|
import { type ViewProps } from 'react-native';
|
|
35
35
|
import { type SharedValue } from 'react-native-reanimated';
|
|
36
|
+
export type SplitViewVariant = 'panes' | 'seam';
|
|
36
37
|
interface SplitViewContextValue {
|
|
37
38
|
/** The top pane's height in points. Written by drags, read by both panes. */
|
|
38
39
|
topHeight: SharedValue<number>;
|
|
@@ -50,6 +51,7 @@ interface SplitViewContextValue {
|
|
|
50
51
|
snapTo: (index: number) => void;
|
|
51
52
|
measureDragArea: (height: number) => void;
|
|
52
53
|
dragAreaHeight: number;
|
|
54
|
+
variant: SplitViewVariant;
|
|
53
55
|
}
|
|
54
56
|
/**
|
|
55
57
|
* Reads the live layout from inside a split view, and moves the seam.
|
|
@@ -60,6 +62,13 @@ interface SplitViewContextValue {
|
|
|
60
62
|
export declare function useSplitView(): SplitViewContextValue;
|
|
61
63
|
export interface SplitViewProps extends ViewProps {
|
|
62
64
|
className?: string;
|
|
65
|
+
/**
|
|
66
|
+
* How the split is drawn. `panes` gives each half its own rounded surface on
|
|
67
|
+
* a recessed ground, with the grip in the gap between them; `seam` is a
|
|
68
|
+
* hairline grip on a shared background, for a split inside something that
|
|
69
|
+
* already has a surface of its own.
|
|
70
|
+
*/
|
|
71
|
+
variant?: SplitViewVariant;
|
|
63
72
|
/**
|
|
64
73
|
* Heights the seam settles on. A number at or below `1` is a fraction of the
|
|
65
74
|
* room the panes share; anything larger is points. Defaults to
|
|
@@ -88,7 +97,7 @@ export interface SplitViewProps extends ViewProps {
|
|
|
88
97
|
animateOnMount?: boolean;
|
|
89
98
|
children?: ReactNode;
|
|
90
99
|
}
|
|
91
|
-
declare function SplitViewRoot({ className, snapPoints, minHeight, maxHeight, defaultSnapIndex, snapIndex: snapIndexProp, onSnapIndexChange, onSnap, disabled, animateOnMount, children, onLayout, ...props }: SplitViewProps): import("react").JSX.Element;
|
|
100
|
+
declare function SplitViewRoot({ className, variant, snapPoints, minHeight, maxHeight, defaultSnapIndex, snapIndex: snapIndexProp, onSnapIndexChange, onSnap, disabled, animateOnMount, children, onLayout, ...props }: SplitViewProps): import("react").JSX.Element;
|
|
92
101
|
declare namespace SplitViewRoot {
|
|
93
102
|
var displayName: string;
|
|
94
103
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/split-view/index.tsx"],"names":[],"mappings":"AAAA;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BAzBQ,YAAY;;;AA2BrB;;;;GAIG;AACH,iBAAS,eAAe,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,kBAAkB,+BAS7E;kBATQ,eAAe;;;AAWxB,MAAM,WAAW,sBAAuB,SAAQ,SAAS;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uEAAuE;IACvE,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;;;;;;GAQG;AACH,iBAAS,iBAAiB,CAAC,EACzB,SAAS,EACT,kBAAmC,EACnC,QAAQ,EACR,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,sBAAsB,+BAsGxB;kBA5GQ,iBAAiB;;;AA8G1B,MAAM,WAAW,oBAAqB,SAAQ,SAAS;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;;GAIG;AACH,iBAAS,eAAe,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,+BA6BtF;kBA7BQ,eAAe;;;AAqCxB,eAAO,MAAM,SAAS;;;;;CAKpB,CAAC;AAEH,OAAO,EACL,kBAAkB,EAClB,mBAAmB,EACnB,gBAAgB,EAChB,kBAAkB,EAClB,aAAa,EACb,iBAAiB,GAClB,MAAM,sBAAmB,CAAC"}
|
|
@@ -68,6 +68,13 @@ export interface TimelineProps extends ViewProps {
|
|
|
68
68
|
* halfway shows two half-columns and no whole one.
|
|
69
69
|
*/
|
|
70
70
|
snap?: boolean;
|
|
71
|
+
/**
|
|
72
|
+
* Horizontal only: a tick as the reading edge passes from one column to the
|
|
73
|
+
* next. Needs `snap`, since a scroll that lands anywhere has no detents to
|
|
74
|
+
* feel. Off by default — a haptic per column is a lot for a long history, and
|
|
75
|
+
* whether this one is worth feeling is the caller's call.
|
|
76
|
+
*/
|
|
77
|
+
haptics?: boolean;
|
|
71
78
|
children?: ReactNode;
|
|
72
79
|
}
|
|
73
80
|
export interface TimelineListProps<T> extends Omit<FlatListProps<T>, 'data' | 'renderItem' | 'horizontal' | 'getItemLayout' | 'onScroll' | 'snapToOffsets' | 'CellRendererComponent'> {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/timeline/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,OAAO,EAQL,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAEL,IAAI,EACJ,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,IAAI,IAAI,MAAM,EACnB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/timeline/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4CG;AACH,OAAO,EAQL,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAEL,IAAI,EACJ,KAAK,aAAa,EAClB,KAAK,kBAAkB,EACvB,KAAK,IAAI,IAAI,MAAM,EACnB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAgBtB,OAAO,EAAQ,KAAK,SAAS,EAAgB,MAAM,0BAAuB,CAAC;AA6F3E,MAAM,MAAM,eAAe,GAAG,KAAK,GAAG,MAAM,GAAG,UAAU,GAAG,MAAM,GAAG,SAAS,CAAC;AAC/E,mEAAmE;AACnE,MAAM,MAAM,YAAY,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ,CAAC;AACjF,mCAAmC;AACnC,MAAM,MAAM,mBAAmB,GAAG,UAAU,GA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A5FQ,YAAY;;;AA+FrB,MAAM,WAAW,iBAAkB,SAAQ,SAAS;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,4CAA4C;IAC5C,IAAI,EAAE,MAAM,CAAC;IACb,oEAAoE;IACpE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,wEAAwE;IACxE,IAAI,CAAC,EAAE,YAAY,CAAC;IACpB,gEAAgE;IAChE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf;;;;;;;;OAQG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAuJD,MAAM,WAAW,sBAAuB,SAAQ,SAAS;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAsPD,MAAM,WAAW,iBAAkB,SAAQ,SAAS;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAgBD,eAAO,MAAM,QAAQ;;;;oBAzS4C,MAAM;;;;oBAwIJ,MAAM;;;oBAuCP,MAAM;;;oBAUL,MAAM;;;;;;;;;oBAmFR,MAAM;;;CA6CrE,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/toast/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAIL,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/toast/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;GAUG;AACH,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAIL,KAAK,SAAS,EACf,MAA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uCAkC5B;AAED;;;;;;;GAOG;AACH,wBAAgB,QAAQ;;;;;;EAEvB;AAED,OAAO,EAAE,KAAK,EAAE,KAAK,SAAS,EAAE,KAAK,cAAc,EAAE,KAAK,YAAY,EAAE,KAAK,WAAW,EAAE,CAAC;AAC3F,YAAY,EAAE,YAAY,EAAE,MAAM,kBAAe,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/treemap-chart/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/treemap-chart/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4DG;AACH,OAAO,EAYL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAKL,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AA2DtB,2DAA2D;AAC3D,MAAM,MAAM,kBAAkB,GAAG,SAAS,GAAG,OAAO,CAAC;AAErD,6BAA6B;AAC7B,MAAM,WAAW,YAAY;IAC3B,mEAAmE;IACnE,KAAK,EAAE,MAAM,CAAC;IACd,kFAAkF;IAClF,KAAK,EAAE,MAAM,CAAC;IACd,mEAAmE;IACnE,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,gDAAgD;AAChD,MAAM,WAAW,WAAW;IAC1B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB;AAED,+EAA+E;AAC/E,MAAM,WAAW,WAAY,SAAQ,WAAW;IAC9C,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,C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C,EAAE,WAAW,EAAE,SAAS,EAAE,EAAE,wBAAwB,sCAsChF;kBAtCQ,mBAAmB;;;;AA8C5B,MAAM,WAAW,uBAAwB,SAAQ,SAAS;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,8EAA8E;IAC9E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8CAA8C;IAC9C,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;;;;;;GAOG;AACH,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,KAAK,EACL,SAAgB,EAChB,GAAG,KAAK,EACT,EAAE,uBAAuB,sCAkDzB;kBAvDQ,kBAAkB;;;;AA+D3B,MAAM,WAAW,uBAAwB,SAAQ,SAAS;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4EAA4E;IAC5E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yEAAyE;IACzE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;;;;GAMG;AACH,iBAAS,kBAAkB,CAAC,EAC1B,SAAS,EACT,KAAK,EACL,KAAK,EACL,OAAO,EACP,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,uBAAuB,+BA0BzB;kBAjCQ,kBAAkB;;;;AAqC3B,eAAO,MAAM,YAAY;;;;;;;CAOvB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/waterfall-chart/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,OAAO,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/waterfall-chart/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;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AC,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC;CACjD;AAED;;;;;GAKG;AACH,iBAAS,oBAAoB,CAAC,EAAE,SAAS,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,yBAAyB,sCA4BvF;kBA5BQ,oBAAoB;;;;AAoC7B,MAAM,WAAW,yBAA0B,SAAQ,SAAS;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,uDAAuD;IACvD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4EAA4E;IAC5E,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,wEAAwE;IACxE,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,sDAAsD;IACtD,MAAM,CAAC,EAAE,OAAO,CAAC,MAAM,CAAC,aAAa,EAAE,MAAM,CAAC,CAAC,CAAC;IAChD;;;;OAIG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,8EAA8E;IAC9E,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED;;;;;;;;GAQG;AACH,iBAAS,oBAAoB,CAAC,EAC5B,SAAS,EACT,KAAK,EACL,KAAK,EACL,OAAO,EACP,MAAM,EACN,MAAc,EACd,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,yBAAyB,+BAkD3B;kBA3DQ,oBAAoB;;;;AA+D7B,eAAO,MAAM,cAAc;;;;;;;;;;;CAWzB,CAAC"}
|
|
@@ -4,6 +4,7 @@ export { useBreakpoint, createBreakpoints, BREAKPOINTS, type Breakpoint, type Br
|
|
|
4
4
|
export { useKeyboard, type UseKeyboardResult } from './use-keyboard.js';
|
|
5
5
|
export { useKeyboardAvoidance, type KeyboardAvoidanceMode, type UseKeyboardAvoidanceOptions, type UseKeyboardAvoidanceResult, } from './use-keyboard-avoidance.js';
|
|
6
6
|
export { useRevealProgress, type UseRevealProgressOptions, type UseRevealProgressResult, } from './use-reveal-progress.js';
|
|
7
|
+
export { useSkeletonHandoff, SKELETON_FADE, type UseSkeletonHandoffResult, } from './use-skeleton-handoff.js';
|
|
7
8
|
export { useScrollSections, type UseScrollSectionsOptions, type UseScrollSectionsResult, } from './use-scroll-sections.js';
|
|
8
9
|
export { useBackHandler } from './use-back-handler.js';
|
|
9
10
|
export { useDebouncedValue } from './use-debounced-value.js';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,GAC9B,MAAM,4BAAyB,CAAC;AACjC,OAAO,EACL,aAAa,EACb,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,GACzB,MAAM,qBAAkB,CAAC;AAC1B,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,GACzB,MAAM,qBAAkB,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,KAAK,iBAAiB,EAAE,MAAM,mBAAgB,CAAC;AACrE,OAAO,EACL,oBAAoB,EACpB,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,GAChC,MAAM,6BAA0B,CAAC;AAClC,OAAO,EACL,iBAAiB,EACjB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,GAC7B,MAAM,0BAAuB,CAAC;AAC/B,OAAO,EACL,iBAAiB,EACjB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,GAC7B,MAAM,0BAAuB,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAoB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAAuB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAgB,CAAC"}
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/hooks/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,kBAAkB,EAClB,KAAK,yBAAyB,EAC9B,KAAK,wBAAwB,GAC9B,MAAM,4BAAyB,CAAC;AACjC,OAAO,EACL,aAAa,EACb,KAAK,oBAAoB,EACzB,KAAK,mBAAmB,GACzB,MAAM,qBAAkB,CAAC;AAC1B,OAAO,EACL,aAAa,EACb,iBAAiB,EACjB,WAAW,EACX,KAAK,UAAU,EACf,KAAK,kBAAkB,EACvB,KAAK,uBAAuB,EAC5B,KAAK,gBAAgB,EACrB,KAAK,mBAAmB,GACzB,MAAM,qBAAkB,CAAC;AAC1B,OAAO,EAAE,WAAW,EAAE,KAAK,iBAAiB,EAAE,MAAM,mBAAgB,CAAC;AACrE,OAAO,EACL,oBAAoB,EACpB,KAAK,qBAAqB,EAC1B,KAAK,2BAA2B,EAChC,KAAK,0BAA0B,GAChC,MAAM,6BAA0B,CAAC;AAClC,OAAO,EACL,iBAAiB,EACjB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,GAC7B,MAAM,0BAAuB,CAAC;AAC/B,OAAO,EACL,kBAAkB,EAClB,aAAa,EACb,KAAK,wBAAwB,GAC9B,MAAM,2BAAwB,CAAC;AAChC,OAAO,EACL,iBAAiB,EACjB,KAAK,wBAAwB,EAC7B,KAAK,uBAAuB,GAC7B,MAAM,0BAAuB,CAAC;AAC/B,OAAO,EAAE,cAAc,EAAE,MAAM,uBAAoB,CAAC;AACpD,OAAO,EAAE,iBAAiB,EAAE,MAAM,0BAAuB,CAAC;AAC1D,OAAO,EAAE,WAAW,EAAE,MAAM,mBAAgB,CAAC"}
|
|
@@ -20,6 +20,7 @@ export interface UseScrollSectionsResult {
|
|
|
20
20
|
/** Spread onto the ScrollView. */
|
|
21
21
|
scrollProps: {
|
|
22
22
|
onScroll: (event: NativeSyntheticEvent<NativeScrollEvent>) => void;
|
|
23
|
+
onMomentumScrollEnd: () => void;
|
|
23
24
|
scrollEventThrottle: number;
|
|
24
25
|
};
|
|
25
26
|
/** `onLayout` for a section's wrapper: `onLayout={measure(id)}`. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"use-scroll-sections.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-scroll-sections.ts"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EACV,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACpB,UAAU,EACX,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,wBAAwB;IACvC,2DAA2D;IAC3D,GAAG,EAAE,MAAM,EAAE,CAAC;IACd;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oEAAoE;IACpE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2DAA2D;IAC3D,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,uBAAuB;IACtC,sEAAsE;IACtE,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IACxC,8BAA8B;IAC9B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,kCAAkC;IAClC,WAAW,EAAE;QACX,QAAQ,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;QACnE,mBAAmB,EAAE,MAAM,CAAC;KAC7B,CAAC;IACF,oEAAoE;IACpE,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC5D,8EAA8E;IAC9E,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAChC;
|
|
1
|
+
{"version":3,"file":"use-scroll-sections.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-scroll-sections.ts"],"names":[],"mappings":"AA2BA,OAAO,KAAK,EACV,iBAAiB,EACjB,iBAAiB,EACjB,oBAAoB,EACpB,UAAU,EACX,MAAM,cAAc,CAAC;AAEtB,MAAM,WAAW,wBAAwB;IACvC,2DAA2D;IAC3D,GAAG,EAAE,MAAM,EAAE,CAAC;IACd;;;OAGG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,oEAAoE;IACpE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,2DAA2D;IAC3D,aAAa,CAAC,EAAE,MAAM,CAAC;CACxB;AAED,MAAM,WAAW,uBAAuB;IACtC,sEAAsE;IACtE,GAAG,EAAE,KAAK,CAAC,SAAS,CAAC,UAAU,GAAG,IAAI,CAAC,CAAC;IACxC,8BAA8B;IAC9B,MAAM,EAAE,MAAM,GAAG,SAAS,CAAC;IAC3B,kCAAkC;IAClC,WAAW,EAAE;QACX,QAAQ,EAAE,CAAC,KAAK,EAAE,oBAAoB,CAAC,iBAAiB,CAAC,KAAK,IAAI,CAAC;QACnE,mBAAmB,EAAE,MAAM,IAAI,CAAC;QAChC,mBAAmB,EAAE,MAAM,CAAC;KAC7B,CAAC;IACF,oEAAoE;IACpE,OAAO,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,CAAC,KAAK,EAAE,iBAAiB,KAAK,IAAI,CAAC;IAC5D,8EAA8E;IAC9E,QAAQ,EAAE,CAAC,EAAE,EAAE,MAAM,KAAK,IAAI,CAAC;CAChC;AASD,wBAAgB,iBAAiB,CAAC,EAChC,GAAG,EACH,MAAY,EACZ,YAAiB,EACjB,aAAiB,GAClB,EAAE,wBAAwB,GAAG,uBAAuB,CAkGpD"}
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { type SharedValue } from 'react-native-reanimated';
|
|
2
|
+
/** Milliseconds for a placeholder to dissolve once the data arrives. */
|
|
3
|
+
export declare const SKELETON_FADE = 220;
|
|
4
|
+
export interface UseSkeletonHandoffResult {
|
|
5
|
+
/** True while the placeholder should render — through the fade, not just the wait. */
|
|
6
|
+
mounted: boolean;
|
|
7
|
+
/** The placeholder's opacity, `1` while loading and tweened to `0` after. */
|
|
8
|
+
opacity: SharedValue<number>;
|
|
9
|
+
}
|
|
10
|
+
export declare function useSkeletonHandoff(loading: boolean, duration?: number): UseSkeletonHandoffResult;
|
|
11
|
+
//# sourceMappingURL=use-skeleton-handoff.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-skeleton-handoff.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-skeleton-handoff.ts"],"names":[],"mappings":"AAsBA,OAAO,EAKL,KAAK,WAAW,EACjB,MAAM,yBAAyB,CAAC;AAEjC,wEAAwE;AACxE,eAAO,MAAM,aAAa,MAAM,CAAC;AAEjC,MAAM,WAAW,wBAAwB;IACvC,sFAAsF;IACtF,OAAO,EAAE,OAAO,CAAC;IACjB,6EAA6E;IAC7E,OAAO,EAAE,WAAW,CAAC,MAAM,CAAC,CAAC;CAC9B;AAED,wBAAgB,kBAAkB,CAChC,OAAO,EAAE,OAAO,EAChB,QAAQ,GAAE,MAAsB,GAC/B,wBAAwB,CAyB1B"}
|
|
@@ -76,7 +76,7 @@ export { LineChart, useLineChart, type LineChartProps, type LineChartHandle, typ
|
|
|
76
76
|
export { Loader, type LoaderProps, type LoaderVariant, type LoaderSize, } from './components/loader/index.js';
|
|
77
77
|
export { MarkdownEditor, type MarkdownEditorProps, type MarkdownEditorToolbarProps, type MarkdownEditorInputProps, type MarkdownEditorPreviewProps, type MarkdownEditorMode, type MarkdownEditorAction, type EditorSelection, type EditResult, } from './components/markdown-editor/index.js';
|
|
78
78
|
export { Marker, type MarkerProps, type MarkerIconProps, type MarkerContentProps, } from './components/marker/index.js';
|
|
79
|
-
export { Marquee, type MarqueeProps, type MarqueeDirection, } from './components/marquee/index.js';
|
|
79
|
+
export { Marquee, type MarqueeProps, type MarqueeGroupProps, type MarqueeDirection, } from './components/marquee/index.js';
|
|
80
80
|
export { Menu, type MenuProps, type MenuTriggerProps, type MenuContentProps, type MenuBackgroundProps, type MenuLabelProps, type MenuItemProps, type MenuCheckboxItemProps, type MenuRadioGroupProps, type MenuRadioItemProps, type MenuSeparatorProps, type MenuSubProps, type MenuSubTriggerProps, type MenuSubContentProps, type MenuItemVariant, type MenuRadioIndicator, } from './components/menu/index.js';
|
|
81
81
|
export { Meter, type MeterProps, type MeterColor, type MeterThreshold, } from './components/meter/index.js';
|
|
82
82
|
export { MessageScroller, useMessageScroller, useMessageScrollerVisibility, type MessageScrollerProps, type MessageScrollerViewportProps, type MessageScrollerContentProps, type MessageScrollerItemProps, type MessageScrollerButtonProps, type MessageScrollerPosition, } from './components/message-scroller/index.js';
|
|
@@ -85,6 +85,7 @@ export { Popover, usePopoverAnchor, type PopoverProps, type PopoverTriggerProps,
|
|
|
85
85
|
export { Planner, type PlannerProps, type PlannerEntry, type PlannerCategory, type PlannerHeaderProps, type PlannerTitleProps, type PlannerTodayProps, type PlannerNavProps, type PlannerActionProps, type PlannerGridProps, type PlannerDayProps, type PlannerDayState, type PlannerDayRenderer, type PlannerLegendProps, type PlannerSummaryProps, type PlannerFooterProps, type PlannerDetailsProps, type PlannerCountedCategory, } from './components/planner/index.js';
|
|
86
86
|
export { Post, type PostProps, type PostHeaderProps, type PostAuthorProps, type PostActionProps, type PostCommunityProps, type PostTitleProps, type PostBodyProps, type PostMediaProps, type PostFooterProps, type PostStatProps, type PostVotesProps, type PostVote, } from './components/post/index.js';
|
|
87
87
|
export { Progress, type ProgressProps } from './components/progress/index.js';
|
|
88
|
+
export { ProgressButton, useProgressButton, type ProgressButtonProps, type ProgressButtonLabelProps, type ProgressButtonVariant, type ProgressButtonSize, } from './components/progress-button/index.js';
|
|
88
89
|
export { QRCode, type QRCodeProps, type QRCodeCanvasProps, type QRCodeFrameProps, type QRCodeHeaderProps, type QRCodeTitleProps, type QRCodeActionProps, type QRCodePanelProps, type QRCodeDescriptionProps, type QRCodeCaptionProps, type QRCodeValueProps, type QRCodeLogoProps, type QRCodeTriggerProps, type QRCodeContentProps, type QRCodeSize, type QRCodePresentation, type ErrorCorrectionLevel, } from './components/qr-code/index.js';
|
|
89
90
|
export { Questionnaire, type QuestionnaireProps, type QuestionnaireTitleProps, type QuestionnaireProgressProps, type QuestionnaireProgressState, type QuestionnaireProgressVariant, type QuestionnaireItemProps, type QuestionnaireQuestionProps, type QuestionnaireDescriptionProps, type QuestionnaireChoicesProps, type QuestionnaireChoiceProps, type QuestionnaireInputProps, type QuestionnaireErrorProps, type QuestionnaireFooterProps, type QuestionnaireActionProps, type QuestionnaireActionState, type QuestionnaireAnswers, type QuestionnaireItemDefinition, type QuestionnaireItemStatus, type QuestionnaireShortcutMode, } from './components/questionnaire/index.js';
|
|
90
91
|
export { RadioGroup, type RadioGroupProps, type RadioGroupItemProps, } from './components/radio-group/index.js';
|
|
@@ -111,7 +112,7 @@ export { Slider, type SliderProps } from './components/slider/index.js';
|
|
|
111
112
|
export { Sortable, reorderItems, useSortableItem, type SortableProps, type SortableItemProps, type SortableHandleProps, type SortableActivation, type SortableReorderDetails, } from './components/sortable/index.js';
|
|
112
113
|
export { Spinner, type SpinnerProps } from './components/spinner/index.js';
|
|
113
114
|
export { Splitter, type SplitterProps, type SplitterPanelProps, type SplitterHandleProps, type SplitterOrientation, type SplitterConstraint, } from './components/splitter/index.js';
|
|
114
|
-
export { SplitView, useSplitView, type SplitViewProps, type SplitViewPaneProps, type SplitViewDragAreaProps, type SplitViewHandleProps, } from './components/split-view/index.js';
|
|
115
|
+
export { SplitView, useSplitView, type SplitViewProps, type SplitViewPaneProps, type SplitViewDragAreaProps, type SplitViewHandleProps, type SplitViewVariant, } from './components/split-view/index.js';
|
|
115
116
|
export { Steps, type StepsProps, type StepsItemProps, type StepsTriggerProps, type StepsIndicatorProps, type StepsSeparatorProps, type StepState, type StepsOrientation, } from './components/steps/index.js';
|
|
116
117
|
export { Surface, type SurfaceProps } from './components/surface/index.js';
|
|
117
118
|
export { Swipe, useSwipeGroup, type SwipeProps, type SwipeGroupProps, type SwipePanelProps, type SwipeActionProps, type SwipeActionColor, type SwipeOpenSide, type SwipeHandle, } from './components/swipe/index.js';
|