panelui-native 0.22.6 → 0.28.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/README.md +1 -0
- package/lib/module/components/accordion/index.js +8 -8
- package/lib/module/components/accordion/index.js.map +1 -1
- package/lib/module/components/alert/index.js +2 -2
- package/lib/module/components/alert/index.js.map +1 -1
- package/lib/module/components/area-chart/index.js +958 -0
- package/lib/module/components/area-chart/index.js.map +1 -0
- package/lib/module/components/attachment/index.js +2 -1
- package/lib/module/components/attachment/index.js.map +1 -1
- package/lib/module/components/avatar/index.js +4 -4
- package/lib/module/components/avatar/index.js.map +1 -1
- package/lib/module/components/badge/index.js +4 -4
- package/lib/module/components/badge/index.js.map +1 -1
- package/lib/module/components/bar-chart/index.js +994 -0
- package/lib/module/components/bar-chart/index.js.map +1 -0
- package/lib/module/components/bottom-sheet/index.js +213 -24
- package/lib/module/components/bottom-sheet/index.js.map +1 -1
- package/lib/module/components/breadcrumb/index.js +275 -0
- package/lib/module/components/breadcrumb/index.js.map +1 -0
- package/lib/module/components/button/index.js +11 -6
- package/lib/module/components/button/index.js.map +1 -1
- package/lib/module/components/calendar/index.js +557 -0
- package/lib/module/components/calendar/index.js.map +1 -0
- package/lib/module/components/carousel/index.js +680 -0
- package/lib/module/components/carousel/index.js.map +1 -0
- package/lib/module/components/chip/index.js +6 -6
- package/lib/module/components/chip/index.js.map +1 -1
- package/lib/module/components/date-picker/index.js +158 -0
- package/lib/module/components/date-picker/index.js.map +1 -0
- package/lib/module/components/dialog/index.js +7 -2
- package/lib/module/components/dialog/index.js.map +1 -1
- package/lib/module/components/direction/index.js +15 -20
- package/lib/module/components/direction/index.js.map +1 -1
- package/lib/module/components/empty-state/index.js +2 -2
- package/lib/module/components/empty-state/index.js.map +1 -1
- package/lib/module/components/field/index.js +5 -5
- package/lib/module/components/field/index.js.map +1 -1
- package/lib/module/components/flow/index.js +3 -3
- package/lib/module/components/flow/index.js.map +1 -1
- package/lib/module/components/frame/index.js +22 -5
- package/lib/module/components/frame/index.js.map +1 -1
- package/lib/module/components/heatmap-chart/index.js +28 -8
- package/lib/module/components/heatmap-chart/index.js.map +1 -1
- package/lib/module/components/input-group/index.js +5 -4
- package/lib/module/components/input-group/index.js.map +1 -1
- package/lib/module/components/item/index.js +9 -9
- package/lib/module/components/item/index.js.map +1 -1
- package/lib/module/components/label/index.js +4 -4
- package/lib/module/components/label/index.js.map +1 -1
- package/lib/module/components/line-chart/index.js +165 -184
- package/lib/module/components/line-chart/index.js.map +1 -1
- package/lib/module/components/loader/index.js +758 -0
- package/lib/module/components/loader/index.js.map +1 -0
- package/lib/module/components/map/basemap.js +265 -0
- package/lib/module/components/map/basemap.js.map +1 -0
- package/lib/module/components/map/index.js +850 -0
- package/lib/module/components/map/index.js.map +1 -0
- package/lib/module/components/map/maplibre.js +87 -0
- package/lib/module/components/map/maplibre.js.map +1 -0
- package/lib/module/components/marker/index.js +3 -3
- package/lib/module/components/marker/index.js.map +1 -1
- package/lib/module/components/message/index.js +15 -14
- package/lib/module/components/message/index.js.map +1 -1
- package/lib/module/components/message-scroller/index.js +5 -4
- package/lib/module/components/message-scroller/index.js.map +1 -1
- package/lib/module/components/otp-input/index.js +2 -2
- package/lib/module/components/popover/index.js +39 -7
- package/lib/module/components/popover/index.js.map +1 -1
- package/lib/module/components/progress/index.js +8 -2
- package/lib/module/components/progress/index.js.map +1 -1
- package/lib/module/components/radio-group/index.js +2 -2
- package/lib/module/components/radio-group/index.js.map +1 -1
- package/lib/module/components/ring-chart/index.js +423 -0
- package/lib/module/components/ring-chart/index.js.map +1 -0
- package/lib/module/components/section-rail/index.js +6 -6
- package/lib/module/components/section-rail/index.js.map +1 -1
- package/lib/module/components/select/index.js +10 -4
- package/lib/module/components/select/index.js.map +1 -1
- package/lib/module/components/separator/index.js +76 -22
- package/lib/module/components/separator/index.js.map +1 -1
- package/lib/module/components/shimmer/index.js +10 -1
- package/lib/module/components/shimmer/index.js.map +1 -1
- package/lib/module/components/slider/index.js +19 -5
- package/lib/module/components/slider/index.js.map +1 -1
- package/lib/module/components/steps/index.js +5 -5
- package/lib/module/components/steps/index.js.map +1 -1
- package/lib/module/components/switch/index.js +6 -1
- package/lib/module/components/switch/index.js.map +1 -1
- package/lib/module/components/tabs/index.js +7 -7
- package/lib/module/components/tabs/index.js.map +1 -1
- package/lib/module/components/timeline/index.js +4 -4
- package/lib/module/components/timeline/index.js.map +1 -1
- package/lib/module/components/toast/index.js +2 -2
- package/lib/module/components/toast/index.js.map +1 -1
- package/lib/module/components/toggle-button/index.js +5 -5
- package/lib/module/components/toggle-button/index.js.map +1 -1
- package/lib/module/components/tooltip/index.js +492 -0
- package/lib/module/components/tooltip/index.js.map +1 -0
- package/lib/module/components/typography/index.js +7 -2
- package/lib/module/components/typography/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-back-handler.js +37 -0
- package/lib/module/hooks/use-back-handler.js.map +1 -0
- package/lib/module/hooks/use-direction.js +43 -0
- package/lib/module/hooks/use-direction.js.map +1 -0
- package/lib/module/icons/index.js +180 -2
- package/lib/module/icons/index.js.map +1 -1
- package/lib/module/index.js +12 -2
- package/lib/module/index.js.map +1 -1
- package/lib/module/primitives/keyboard-avoider.js +2 -1
- package/lib/module/primitives/keyboard-avoider.js.map +1 -1
- package/lib/module/primitives/text.js +55 -11
- package/lib/module/primitives/text.js.map +1 -1
- package/lib/module/utils/chart.js +279 -0
- package/lib/module/utils/chart.js.map +1 -0
- package/lib/module/utils/date.js +386 -0
- package/lib/module/utils/date.js.map +1 -0
- package/lib/typescript/src/components/accordion/index.d.ts.map +1 -1
- package/lib/typescript/src/components/alert/index.d.ts.map +1 -1
- package/lib/typescript/src/components/area-chart/index.d.ts +237 -0
- package/lib/typescript/src/components/area-chart/index.d.ts.map +1 -0
- package/lib/typescript/src/components/attachment/index.d.ts.map +1 -1
- package/lib/typescript/src/components/bar-chart/index.d.ts +270 -0
- package/lib/typescript/src/components/bar-chart/index.d.ts.map +1 -0
- package/lib/typescript/src/components/bottom-sheet/index.d.ts +75 -4
- package/lib/typescript/src/components/bottom-sheet/index.d.ts.map +1 -1
- package/lib/typescript/src/components/breadcrumb/index.d.ts +100 -0
- package/lib/typescript/src/components/breadcrumb/index.d.ts.map +1 -0
- package/lib/typescript/src/components/button/index.d.ts.map +1 -1
- package/lib/typescript/src/components/calendar/index.d.ts +108 -0
- package/lib/typescript/src/components/calendar/index.d.ts.map +1 -0
- package/lib/typescript/src/components/carousel/index.d.ts +179 -0
- package/lib/typescript/src/components/carousel/index.d.ts.map +1 -0
- package/lib/typescript/src/components/chip/index.d.ts.map +1 -1
- package/lib/typescript/src/components/date-picker/index.d.ts +91 -0
- package/lib/typescript/src/components/date-picker/index.d.ts.map +1 -0
- package/lib/typescript/src/components/dialog/index.d.ts.map +1 -1
- package/lib/typescript/src/components/direction/index.d.ts +11 -10
- package/lib/typescript/src/components/direction/index.d.ts.map +1 -1
- package/lib/typescript/src/components/empty-state/index.d.ts.map +1 -1
- package/lib/typescript/src/components/field/index.d.ts.map +1 -1
- package/lib/typescript/src/components/frame/index.d.ts +17 -0
- package/lib/typescript/src/components/frame/index.d.ts.map +1 -1
- package/lib/typescript/src/components/heatmap-chart/index.d.ts +22 -3
- package/lib/typescript/src/components/heatmap-chart/index.d.ts.map +1 -1
- package/lib/typescript/src/components/input-group/index.d.ts.map +1 -1
- package/lib/typescript/src/components/item/index.d.ts.map +1 -1
- package/lib/typescript/src/components/label/index.d.ts.map +1 -1
- package/lib/typescript/src/components/line-chart/index.d.ts +42 -2
- package/lib/typescript/src/components/line-chart/index.d.ts.map +1 -1
- package/lib/typescript/src/components/loader/index.d.ts +38 -0
- package/lib/typescript/src/components/loader/index.d.ts.map +1 -0
- package/lib/typescript/src/components/map/basemap.d.ts +76 -0
- package/lib/typescript/src/components/map/basemap.d.ts.map +1 -0
- package/lib/typescript/src/components/map/index.d.ts +367 -0
- package/lib/typescript/src/components/map/index.d.ts.map +1 -0
- package/lib/typescript/src/components/map/maplibre.d.ts +193 -0
- package/lib/typescript/src/components/map/maplibre.d.ts.map +1 -0
- package/lib/typescript/src/components/marker/index.d.ts.map +1 -1
- package/lib/typescript/src/components/message/index.d.ts.map +1 -1
- package/lib/typescript/src/components/message-scroller/index.d.ts.map +1 -1
- package/lib/typescript/src/components/popover/index.d.ts.map +1 -1
- package/lib/typescript/src/components/progress/index.d.ts.map +1 -1
- package/lib/typescript/src/components/ring-chart/index.d.ts +156 -0
- package/lib/typescript/src/components/ring-chart/index.d.ts.map +1 -0
- package/lib/typescript/src/components/select/index.d.ts.map +1 -1
- package/lib/typescript/src/components/separator/index.d.ts +36 -1
- package/lib/typescript/src/components/separator/index.d.ts.map +1 -1
- package/lib/typescript/src/components/shimmer/index.d.ts.map +1 -1
- package/lib/typescript/src/components/slider/index.d.ts.map +1 -1
- package/lib/typescript/src/components/steps/index.d.ts.map +1 -1
- package/lib/typescript/src/components/switch/index.d.ts.map +1 -1
- package/lib/typescript/src/components/tabs/index.d.ts.map +1 -1
- 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/toggle-button/index.d.ts.map +1 -1
- package/lib/typescript/src/components/tooltip/index.d.ts +125 -0
- package/lib/typescript/src/components/tooltip/index.d.ts.map +1 -0
- package/lib/typescript/src/components/typography/index.d.ts +6 -0
- package/lib/typescript/src/components/typography/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-back-handler.d.ts +19 -0
- package/lib/typescript/src/hooks/use-back-handler.d.ts.map +1 -0
- package/lib/typescript/src/hooks/use-direction.d.ts +20 -0
- package/lib/typescript/src/hooks/use-direction.d.ts.map +1 -0
- package/lib/typescript/src/icons/index.d.ts +8 -0
- package/lib/typescript/src/icons/index.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +14 -4
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/primitives/keyboard-avoider.d.ts.map +1 -1
- package/lib/typescript/src/primitives/text.d.ts +20 -0
- package/lib/typescript/src/primitives/text.d.ts.map +1 -1
- package/lib/typescript/src/utils/chart.d.ts +96 -0
- package/lib/typescript/src/utils/chart.d.ts.map +1 -0
- package/lib/typescript/src/utils/date.d.ts +116 -0
- package/lib/typescript/src/utils/date.d.ts.map +1 -0
- package/package.json +9 -1
- package/src/components/accordion/index.tsx +8 -12
- package/src/components/alert/index.tsx +2 -2
- package/src/components/area-chart/index.tsx +1147 -0
- package/src/components/attachment/index.tsx +2 -2
- package/src/components/avatar/index.tsx +4 -4
- package/src/components/badge/index.tsx +6 -6
- package/src/components/bar-chart/index.tsx +1208 -0
- package/src/components/bottom-sheet/index.tsx +282 -21
- package/src/components/breadcrumb/index.tsx +363 -0
- package/src/components/button/index.tsx +12 -8
- package/src/components/calendar/index.tsx +703 -0
- package/src/components/carousel/index.tsx +788 -0
- package/src/components/chip/index.tsx +6 -8
- package/src/components/date-picker/index.tsx +237 -0
- package/src/components/dialog/index.tsx +7 -2
- package/src/components/direction/index.tsx +22 -22
- package/src/components/empty-state/index.tsx +2 -2
- package/src/components/field/index.tsx +3 -5
- package/src/components/flow/index.tsx +3 -3
- package/src/components/frame/index.tsx +22 -7
- package/src/components/heatmap-chart/index.tsx +58 -11
- package/src/components/input-group/index.tsx +5 -4
- package/src/components/item/index.tsx +9 -9
- package/src/components/label/index.tsx +2 -2
- package/src/components/line-chart/index.tsx +194 -223
- package/src/components/loader/index.tsx +812 -0
- package/src/components/map/basemap.ts +304 -0
- package/src/components/map/index.tsx +1116 -0
- package/src/components/map/maplibre.ts +201 -0
- package/src/components/marker/index.tsx +3 -3
- package/src/components/message/index.tsx +15 -14
- package/src/components/message-scroller/index.tsx +5 -4
- package/src/components/otp-input/index.tsx +2 -2
- package/src/components/popover/index.tsx +43 -7
- package/src/components/progress/index.tsx +10 -2
- package/src/components/radio-group/index.tsx +2 -2
- package/src/components/ring-chart/index.tsx +543 -0
- package/src/components/section-rail/index.tsx +6 -6
- package/src/components/select/index.tsx +10 -4
- package/src/components/separator/index.tsx +77 -19
- package/src/components/shimmer/index.tsx +10 -1
- package/src/components/slider/index.tsx +20 -5
- package/src/components/steps/index.tsx +5 -5
- package/src/components/switch/index.tsx +6 -1
- package/src/components/tabs/index.tsx +7 -9
- package/src/components/timeline/index.tsx +4 -4
- package/src/components/toast/index.tsx +2 -2
- package/src/components/toggle-button/index.tsx +5 -7
- package/src/components/tooltip/index.tsx +610 -0
- package/src/components/typography/index.tsx +7 -2
- package/src/hooks/index.ts +1 -0
- package/src/hooks/use-back-handler.ts +37 -0
- package/src/hooks/use-direction.ts +45 -0
- package/src/icons/index.tsx +111 -0
- package/src/index.ts +129 -0
- package/src/primitives/keyboard-avoider.tsx +2 -1
- package/src/primitives/text.tsx +53 -8
- package/src/utils/chart.ts +355 -0
- package/src/utils/date.ts +446 -0
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* RingChart — progress towards several targets, as concentric arcs.
|
|
3
|
+
*
|
|
4
|
+
* ```tsx
|
|
5
|
+
* <RingChart data={goals}>
|
|
6
|
+
* <RingChart.Ring index={0} />
|
|
7
|
+
* <RingChart.Ring index={1} />
|
|
8
|
+
* <RingChart.Center />
|
|
9
|
+
* <RingChart.Legend />
|
|
10
|
+
* </RingChart>
|
|
11
|
+
* ```
|
|
12
|
+
*
|
|
13
|
+
* ## What it is not
|
|
14
|
+
*
|
|
15
|
+
* It is not a pie or a donut, and the difference matters. A pie divides one
|
|
16
|
+
* whole between its slices, so its parts are only meaningful against each
|
|
17
|
+
* other and the angles must add to a full turn. A ring here is a value against
|
|
18
|
+
* *its own* target — three rings can all be at ninety percent of three
|
|
19
|
+
* unrelated numbers, and that is the reading. Nothing is normalised across
|
|
20
|
+
* rings, and nothing has to add up.
|
|
21
|
+
*
|
|
22
|
+
* That is also why each ring gets a track. An arc drawn on nothing shows how
|
|
23
|
+
* far something went; an arc drawn on a full circle shows how far it went *of
|
|
24
|
+
* what it was aiming at*, which is the entire question.
|
|
25
|
+
*
|
|
26
|
+
* ## Drawing
|
|
27
|
+
*
|
|
28
|
+
* Each ring is two arcs — a full-circle track and the progress over it — with
|
|
29
|
+
* only the progress animated, through `strokeDasharray`. Sweeping the arc by
|
|
30
|
+
* rebuilding its path would work, but a dash offset is two numbers moving on
|
|
31
|
+
* an unchanged path, and it keeps the rounded cap pinned to the moving end for
|
|
32
|
+
* free.
|
|
33
|
+
*
|
|
34
|
+
* Touch, not hover: a ring is selected by pressing it, and pressing the same
|
|
35
|
+
* one again clears the selection. There is no equivalent of a pointer resting
|
|
36
|
+
* somewhere without committing, so a chart that only revealed its numbers on
|
|
37
|
+
* hover would never reveal them at all.
|
|
38
|
+
*/
|
|
39
|
+
import { type ReactNode } from 'react';
|
|
40
|
+
import { type ViewProps } from 'react-native';
|
|
41
|
+
import { type SeriesColorIndex } from '../../utils/chart.js';
|
|
42
|
+
/** One ring per datum, and the datum is the whole of its contract. */
|
|
43
|
+
export interface RingDatum {
|
|
44
|
+
/** Name for the legend and the centre readout. */
|
|
45
|
+
label: string;
|
|
46
|
+
/** Where this ring has got to. */
|
|
47
|
+
value: number;
|
|
48
|
+
/** What it is aiming at. The ring is full when `value` reaches it. */
|
|
49
|
+
maxValue: number;
|
|
50
|
+
/** Explicit colour, overriding the `--color-chart-*` token. */
|
|
51
|
+
color?: string;
|
|
52
|
+
}
|
|
53
|
+
/** The selected ring, for something rendered inside the chart. */
|
|
54
|
+
export declare function useRingChart(): {
|
|
55
|
+
activeIndex: number;
|
|
56
|
+
activeRing: RingDatum | null;
|
|
57
|
+
};
|
|
58
|
+
export interface RingChartProps extends ViewProps {
|
|
59
|
+
className?: string;
|
|
60
|
+
/** One entry per ring, outermost first. */
|
|
61
|
+
data: RingDatum[];
|
|
62
|
+
/** Fixed diameter in points. Measured from the container when omitted. */
|
|
63
|
+
size?: number;
|
|
64
|
+
/** Thickness of each ring. */
|
|
65
|
+
strokeWidth?: number;
|
|
66
|
+
/** Gap between one ring and the next. */
|
|
67
|
+
ringGap?: number;
|
|
68
|
+
/** Milliseconds for the arcs to sweep in. */
|
|
69
|
+
animationDuration?: number;
|
|
70
|
+
/** Selected ring. Leave unset to let the chart track it. */
|
|
71
|
+
activeIndex?: number;
|
|
72
|
+
/** Fires with the selected ring, or `-1` when the selection is cleared. */
|
|
73
|
+
onActiveIndexChange?: (index: number) => void;
|
|
74
|
+
children?: ReactNode;
|
|
75
|
+
}
|
|
76
|
+
/** Imperative handle: re-run the sweep, for a "replay" control. */
|
|
77
|
+
export interface RingChartHandle {
|
|
78
|
+
replay: () => void;
|
|
79
|
+
}
|
|
80
|
+
export interface RingChartRingProps {
|
|
81
|
+
/** Which entry in `data` this ring draws. */
|
|
82
|
+
index: number;
|
|
83
|
+
/** Explicit colour, overriding the datum's and the token. */
|
|
84
|
+
color?: string;
|
|
85
|
+
/** Which of the five chart tokens to take, when the datum names no colour. */
|
|
86
|
+
colorIndex?: SeriesColorIndex;
|
|
87
|
+
/** Rounded ends, or square ones. */
|
|
88
|
+
lineCap?: 'round' | 'butt';
|
|
89
|
+
/** Opacity of the track behind the arc. */
|
|
90
|
+
trackOpacity?: number;
|
|
91
|
+
}
|
|
92
|
+
/**
|
|
93
|
+
* One ring: a full-circle track, and the arc showing how far along it the
|
|
94
|
+
* value has got.
|
|
95
|
+
*
|
|
96
|
+
* The arc is swept with `strokeDasharray` rather than by rebuilding its path.
|
|
97
|
+
* Both work, but a dash offset moves two numbers on a path that never changes
|
|
98
|
+
* — and it keeps the rounded cap pinned to the moving end without any extra
|
|
99
|
+
* geometry.
|
|
100
|
+
*/
|
|
101
|
+
declare function RingChartRing({ index, color, colorIndex, lineCap, trackOpacity, }: RingChartRingProps): import("react").JSX.Element | null;
|
|
102
|
+
declare namespace RingChartRing {
|
|
103
|
+
var displayName: string;
|
|
104
|
+
var slot: "ring";
|
|
105
|
+
}
|
|
106
|
+
export interface RingChartCenterProps {
|
|
107
|
+
/**
|
|
108
|
+
* Heading shown when no ring is selected. Defaults to the outermost ring's
|
|
109
|
+
* own name, which is what the centre shows when nothing has been picked.
|
|
110
|
+
*/
|
|
111
|
+
defaultLabel?: string;
|
|
112
|
+
/** Format the number under the label. Defaults to a compact number. */
|
|
113
|
+
formatValue?: (value: number, ring: RingDatum | null) => string;
|
|
114
|
+
/**
|
|
115
|
+
* Draw the middle yourself. Given the selected ring, or `null` when nothing
|
|
116
|
+
* is selected.
|
|
117
|
+
*/
|
|
118
|
+
children?: (ring: RingDatum | null) => ReactNode;
|
|
119
|
+
className?: string;
|
|
120
|
+
}
|
|
121
|
+
/**
|
|
122
|
+
* The readout in the hole.
|
|
123
|
+
*
|
|
124
|
+
* With nothing selected it shows the outermost ring — the one the eye lands on
|
|
125
|
+
* first. Not a total: the rings measure different things against different
|
|
126
|
+
* targets, so their values do not add up and their percentages do not average,
|
|
127
|
+
* and a total here would be a confident number about nothing. Selecting a ring
|
|
128
|
+
* swaps it for that ring's own figures.
|
|
129
|
+
*/
|
|
130
|
+
declare function RingChartCenter({ defaultLabel, formatValue, children, className, }: RingChartCenterProps): import("react").JSX.Element;
|
|
131
|
+
declare namespace RingChartCenter {
|
|
132
|
+
var displayName: string;
|
|
133
|
+
var slot: "overlay";
|
|
134
|
+
}
|
|
135
|
+
export interface RingChartLegendProps extends ViewProps {
|
|
136
|
+
className?: string;
|
|
137
|
+
/** Show each ring's percentage of its own target beside its name. */
|
|
138
|
+
showValue?: boolean;
|
|
139
|
+
}
|
|
140
|
+
/**
|
|
141
|
+
* A swatch and a name per ring, pressable in the same way the rings are — the
|
|
142
|
+
* legend is usually the easier target of the two, and on a small chart it is
|
|
143
|
+
* the only comfortable one.
|
|
144
|
+
*/
|
|
145
|
+
declare function RingChartLegend({ className, showValue, ...props }: RingChartLegendProps): import("react").JSX.Element | null;
|
|
146
|
+
declare namespace RingChartLegend {
|
|
147
|
+
var displayName: string;
|
|
148
|
+
var slot: "overlay";
|
|
149
|
+
}
|
|
150
|
+
export declare const RingChart: import("react").ForwardRefExoticComponent<RingChartProps & import("react").RefAttributes<RingChartHandle>> & {
|
|
151
|
+
Ring: typeof RingChartRing;
|
|
152
|
+
Center: typeof RingChartCenter;
|
|
153
|
+
Legend: typeof RingChartLegend;
|
|
154
|
+
};
|
|
155
|
+
export {};
|
|
156
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/ring-chart/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,OAAO,EAWL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAA2C,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAWvF,OAAO,EAAiC,KAAK,gBAAgB,EAAE,MAAM,sBAAmB,CAAC;AAKzF,sEAAsE;AACtE,MAAM,WAAW,SAAS;IACxB,kDAAkD;IAClD,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,KAAK,EAAE,MAAM,CAAC;IACd,sEAAsE;IACtE,QAAQ,EAAE,MAAM,CAAC;IACjB,+DAA+D;IAC/D,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAyBD,kEAAkE;AAClE,wBAAgB,YAAY;;;EAM3B;AAED,MAAM,WAAW,cAAe,SAAQ,SAAS;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,2CAA2C;IAC3C,IAAI,EAAE,SAAS,EAAE,CAAC;IAClB,0EAA0E;IAC1E,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,8BAA8B;IAC9B,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,yCAAyC;IACzC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,6CAA6C;IAC7C,iBAAiB,CAAC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AQ,SAAS;IACrD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qEAAqE;IACrE,SAAS,CAAC,EAAE,OAAO,CAAC;CACrB;AAED;;;;GAIG;AACH,iBAAS,eAAe,CAAC,EAAE,SAAS,EAAE,SAAgB,EAAE,GAAG,KAAK,EAAE,EAAE,oBAAoB,sCA6CvF;kBA7CQ,eAAe;;;;AAiDxB,eAAO,MAAM,SAAS;;;;CAIpB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/select/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,EASL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/select/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;GAsBG;AACH,OAAO,EASL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAuDf,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,QAAQ,GAAG,SAAS,CAAC;AAShE,MAAM,WAAW,eAAe;IAC9B,KAAK,EAAE,MAAM,CAAC;IACd,KAAK,EAAE,MAAM,CAAC;CACf;AAED,2EAA2E;AAC3E,iBAAS,UAAU,CAAC,EAAE,KAAK,EAAE,KAAK,EAAE,EAAE,eAAe,+BA4BpD;AAUD,MAAM,WAAW,WAAW;IAC1B,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACvC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB;;;;OAIG;IACH,YAAY,CAAC,EAAE,kBAAkB,CAAC;IAClC,sEAAsE;IACtE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,YAAY,CAAC,EAAE,SAAS,GAAG,SAAS,GAAG,MAAM,CAAC;IAC9C,qEAAqE;IACrE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,6CAA6C;IAC7C,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC;;;;;;;;OAQG;IACH,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB;;;OAGG;IACH,gBAAgB,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IACpC,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED,iBAAS,UAAU,CAAC,EAClB,SAAS,EACT,KAAK,EACL,aAAa,EACb,WAAgC,EAChC,QAAQ,EACR,YAAsB,EACtB,KAAK,EACL,YAAwB,EACxB,MAAU,EACV,YAAY,EACZ,MAAM,EACN,gBAAyB,EACzB,QAAQ,GACT,EAAE,WAAW,+BAsOb;AAED,eAAO,MAAM,MAAM;;CAEjB,CAAC"}
|
|
@@ -1,3 +1,28 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Separator — a rule between content.
|
|
3
|
+
*
|
|
4
|
+
* React Native has no `<hr>` and no border shorthand that survives a flex row,
|
|
5
|
+
* so a separator here is a view with a size on one axis and a stretch on the
|
|
6
|
+
* other. That is why orientation is a prop rather than something the layout
|
|
7
|
+
* infers: the component has to know which axis carries the thickness.
|
|
8
|
+
*
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <Separator />
|
|
11
|
+
* <Separator orientation="vertical" />
|
|
12
|
+
* <Separator>or</Separator>
|
|
13
|
+
* ```
|
|
14
|
+
*
|
|
15
|
+
* A vertical separator takes its length from the parent, so the parent needs a
|
|
16
|
+
* height — inside a `flex-row` with `items-stretch`, or with an explicit `h-*`
|
|
17
|
+
* on either the row or the separator itself. Without one it measures zero and
|
|
18
|
+
* nothing draws.
|
|
19
|
+
*
|
|
20
|
+
* Passing children turns it into a *labelled* separator: the rule breaks around
|
|
21
|
+
* centred content — the "or continue with" divider in a sign-in form. Only the
|
|
22
|
+
* horizontal axis carries a label, because a stacked word is not a divider; a
|
|
23
|
+
* vertical separator ignores its children and stays a plain hairline.
|
|
24
|
+
*/
|
|
25
|
+
import { type ReactNode } from 'react';
|
|
1
26
|
import { View, type ViewProps } from 'react-native';
|
|
2
27
|
import { type VariantProps } from 'tailwind-variants';
|
|
3
28
|
declare const separatorVariants: import("tailwind-variants").TVReturnType<{
|
|
@@ -38,9 +63,19 @@ export interface SeparatorProps extends ViewProps, VariantProps<typeof separator
|
|
|
38
63
|
/**
|
|
39
64
|
* Whether the separator is only visual. A decorative separator is skipped by
|
|
40
65
|
* screen readers; set false when the split itself carries meaning — between
|
|
41
|
-
* two groups of menu items, say — and it is announced instead.
|
|
66
|
+
* two groups of menu items, say — and it is announced instead. A labelled
|
|
67
|
+
* separator is never decorative: its label is content, so it is always read.
|
|
42
68
|
*/
|
|
43
69
|
decorative?: boolean;
|
|
70
|
+
/**
|
|
71
|
+
* Optional label sitting in the break of a horizontal rule — the "or"
|
|
72
|
+
* between two sign-in paths. A bare string is wrapped in the muted label
|
|
73
|
+
* style; an element is rendered as-is. Ignored on the vertical axis, where a
|
|
74
|
+
* label is not a divider.
|
|
75
|
+
*/
|
|
76
|
+
children?: ReactNode;
|
|
77
|
+
/** Styles the label text of a labelled separator. */
|
|
78
|
+
labelClassName?: string;
|
|
44
79
|
}
|
|
45
80
|
export declare const Separator: import("react").ForwardRefExoticComponent<SeparatorProps & import("react").RefAttributes<View>>;
|
|
46
81
|
export {};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/separator/index.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/separator/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;GAuBG;AACH,OAAO,EAA8B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACnE,OAAO,EAAE,IAAI,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AACpD,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAI1D,QAAA,MAAM,iBAAiB;;;;;;;;;;;;;;;;;;;;;;;;;;;wDAwBrB,CAAC;AAEH,MAAM,WAAW,cACf,SAAQ,SAAS,EACf,YAAY,CAAC,OAAO,iBAAiB,CAAC;IACxC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;;;OAKG;IACH,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB;;;;;OAKG;IACH,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,qDAAqD;IACrD,cAAc,CAAC,EAAE,MAAM,CAAC;CACzB;AAED,eAAO,MAAM,SAAS,iGAmErB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/shimmer/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAuB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAIL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/shimmer/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAAuB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAC5D,OAAO,EAIL,KAAK,SAAS,EACd,KAAK,SAAS,EACd,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAiBtB,MAAM,WAAW,YAAa,SAAQ,SAAS;IAC7C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,EAAE,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IACrB,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,uEAAuE;IACvE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,+EAA+E;IAC/E,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6EAA6E;IAC7E,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,wEAAwE;IACxE,IAAI,CAAC,EAAE,MAAM,GAAG,WAAW,CAAC;IAC5B,uCAAuC;IACvC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,2BAA2B;IAC3B,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,oEAAoE;IACpE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,mDAAmD;IACnD,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,kDAAkD;IAClD,SAAS,CAAC,EAAE,SAAS,CAAC,SAAS,CAAC,CAAC;IACjC;;OAEG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf;;;OAGG;IACH,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,wBAAgB,OAAO,CAAC,EACtB,SAAS,EACT,EAAW,EACX,QAAe,EACf,MAAU,EACV,SAAS,EACT,YAAY,EACZ,IAAa,EACb,IAAY,EACZ,OAAe,EACf,OAAc,EACd,aAAa,EACb,SAAS,EACT,KAAK,EACL,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,YAAY,+BA6Gd;yBA9He,OAAO"}
|
|
@@ -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,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/slider/index.tsx"],"names":[],"mappings":"AAuBA,OA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CAAyC;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,8FAgPlB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/steps/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAa,IAAI,EAAE,KAAK,IAAI,IAAI,MAAM,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAIpF,OAAO,EAAQ,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/steps/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;GAcG;AACH,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAa,IAAI,EAAE,KAAK,IAAI,IAAI,MAAM,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAIpF,OAAO,EAAQ,KAAK,SAAS,EAAgB,MAAM,0BAAuB,CAAC;AAG3E,MAAM,MAAM,SAAS,GAAG,QAAQ,GAAG,WAAW,GAAG,UAAU,GAAG,SAAS,CAAC;AACxE,MAAM,MAAM,gBAAgB,GAAG,YAAY,GAAG,UAAU,CAAC;AAuFzD,MAAM,WAAW,UAAW,SAAQ,SAAS;IAC3C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,qCAAqC;IACrC,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+BAA+B;IAC/B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,aAAa,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACxC,WAAW,CAAC,EAAE,gBAAgB,CAAC;IAC/B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AA6CD,MAAM,WAAW,cAAe,SAAQ,SAAS;IAC/C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kEAAkE;IAClE,IAAI,EAAE,MAAM,CAAC;IACb,gEAAgE;IAChE,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,wEAAwE;IACxE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAqCD,MAAM,WAAW,iBAAkB,SAAQ,SAAS;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AA0BD,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAoDD,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AA4BD,eAAO,MAAM,KAAK;;;;;;;CAOhB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/switch/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,IAAI,EAAE,MAAM,cAAc,CAAC;AAO/C,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/switch/index.tsx"],"names":[],"mappings":"AACA,OAAO,EAAa,IAAI,EAAE,MAAM,cAAc,CAAC;AAO/C,OAAO,EAAM,KAAK,YAAY,EAAE,MA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E,KAAK,EAAE,QAAQ,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,sCA4BrF;AAED,eAAO,MAAM,IAAI;;;;CAIf,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/timeline/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,OAAO,EAKL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,IAAI,EAAE,KAAK,IAAI,IAAI,MAAM,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAIzE,OAAO,EAAQ,KAAK,SAAS,
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/timeline/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAiCG;AACH,OAAO,EAKL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAE,IAAI,EAAE,KAAK,IAAI,IAAI,MAAM,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAIzE,OAAO,EAAQ,KAAK,SAAS,EAAgB,MAAM,0BAAuB,CAAC;AAE3E,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;AAkJjF,MAAM,WAAW,aAAc,SAAQ,SAAS;IAC9C,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,wDAAwD;IACxD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,eAAe,CAAC;IAC1B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAkBD,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,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAwCD,MAAM,WAAW,sBAAuB,SAAQ,SAAS;IACvD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AA4KD,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;;;oBA7M4C,MAAM;;;;oBA0FJ,MAAM;;;oBAgBP,MAAM;;;oBAUL,MAAM;;;;;;;;;oBA4DR,MAAM;;;CA4CrE,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,EAAQ,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAkBpD,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAG1D,OAAO,EAAQ,KAAK,SAAS,
|
|
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,EAAQ,KAAK,SAAS,EAAE,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AIG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,8DAA8D;IAC9D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,iDAAiD;IACjD,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,mDAAmD;IACnD,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AA0GD,MAAM,WAAW,sBAAsB;IACrC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,EAAE,SAAS,CAAC;CACrB;AAED;;;;GAIG;AACH,iBAAS,iBAAiB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE,sBAAsB,+BAczE;kBAdQ,iBAAiB;;;AAiB1B,eAAO,MAAM,YAAY;;CAEvB,CAAC;AAEH,OAAO,EAAE,iBAAiB,EAAE,CAAC"}
|
|
@@ -0,0 +1,125 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Tooltip — a small label that names the thing under your finger.
|
|
3
|
+
*
|
|
4
|
+
* A popover is a panel you open and deal with; a tooltip is a whisper. It
|
|
5
|
+
* carries a word or two about what a control does, appears without taking the
|
|
6
|
+
* screen, and goes away on its own. That is why it is inverted rather than
|
|
7
|
+
* surface-coloured, why it is not dismissible with a scrim, and why it closes
|
|
8
|
+
* after a beat instead of waiting to be told.
|
|
9
|
+
*
|
|
10
|
+
* On touch there is no hover to open it, so the gesture is a long press by
|
|
11
|
+
* default — the platform's own "tell me more" gesture — with `openOn="press"`
|
|
12
|
+
* for the cases where a tap should reveal it instead.
|
|
13
|
+
*
|
|
14
|
+
* ```tsx
|
|
15
|
+
* <Tooltip label="Copy link">
|
|
16
|
+
* <Tooltip.Trigger>
|
|
17
|
+
* <IconButton icon={<LinkIcon />} />
|
|
18
|
+
* </Tooltip.Trigger>
|
|
19
|
+
* <Tooltip.Content>
|
|
20
|
+
* <Tooltip.Arrow />
|
|
21
|
+
* Copy link
|
|
22
|
+
* </Tooltip.Content>
|
|
23
|
+
* </Tooltip>
|
|
24
|
+
* ```
|
|
25
|
+
*
|
|
26
|
+
* Placement is a preference, not a promise: the trigger is measured when it is
|
|
27
|
+
* pressed, the label measures itself on its first layout, and the two are
|
|
28
|
+
* reconciled against the safe area — so `placement="top"` means *above, if
|
|
29
|
+
* above fits*, and a trigger near the top edge shows its tooltip below instead.
|
|
30
|
+
*/
|
|
31
|
+
import { type ReactElement, type ReactNode } from 'react';
|
|
32
|
+
import { type ViewProps } from 'react-native';
|
|
33
|
+
import { type TextProps } from '../../primitives/text.js';
|
|
34
|
+
export type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right';
|
|
35
|
+
export type TooltipAlign = 'start' | 'center' | 'end';
|
|
36
|
+
export type TooltipOpenOn = 'longPress' | 'press';
|
|
37
|
+
export interface TooltipProps {
|
|
38
|
+
children: ReactNode;
|
|
39
|
+
/** Controlled open state. */
|
|
40
|
+
open?: boolean;
|
|
41
|
+
onOpenChange?: (open: boolean) => void;
|
|
42
|
+
/** Initial state when uncontrolled. */
|
|
43
|
+
defaultOpen?: boolean;
|
|
44
|
+
/**
|
|
45
|
+
* Whether a long press or a plain press reveals the label. Long press is the
|
|
46
|
+
* default because it does not steal a tappable control's own press.
|
|
47
|
+
*/
|
|
48
|
+
openOn?: TooltipOpenOn;
|
|
49
|
+
/**
|
|
50
|
+
* How long the label stays up before hiding itself, in milliseconds. `0`
|
|
51
|
+
* keeps it up until it is dismissed by a tap outside or the trigger again.
|
|
52
|
+
*/
|
|
53
|
+
duration?: number;
|
|
54
|
+
/**
|
|
55
|
+
* The label's text, mirrored onto the trigger as its accessibility label so
|
|
56
|
+
* a screen reader announces what the tooltip says without opening it. Set it
|
|
57
|
+
* whenever the trigger has no text of its own — an icon-only button.
|
|
58
|
+
*/
|
|
59
|
+
label?: string;
|
|
60
|
+
}
|
|
61
|
+
declare function TooltipRoot({ children, open, onOpenChange, defaultOpen, openOn, duration, label, }: TooltipProps): import("react").JSX.Element;
|
|
62
|
+
export interface TooltipTriggerProps {
|
|
63
|
+
/**
|
|
64
|
+
* Classes on the wrapper the child is measured through. It shrinks to the
|
|
65
|
+
* child by default; widen it only if the label should be anchored to
|
|
66
|
+
* something bigger than the control.
|
|
67
|
+
*/
|
|
68
|
+
className?: string;
|
|
69
|
+
children: ReactElement<{
|
|
70
|
+
onPress?: (...args: unknown[]) => void;
|
|
71
|
+
onLongPress?: (...args: unknown[]) => void;
|
|
72
|
+
accessibilityLabel?: string;
|
|
73
|
+
accessibilityHint?: string;
|
|
74
|
+
}>;
|
|
75
|
+
}
|
|
76
|
+
/**
|
|
77
|
+
* Wraps its child and reveals the label on it — a long press by default, a
|
|
78
|
+
* press when the root asks for one. It is also what gets measured, so the
|
|
79
|
+
* label knows where to sit.
|
|
80
|
+
*
|
|
81
|
+
* The child is wrapped in a view rather than handed a ref: the ref has to
|
|
82
|
+
* survive whatever the child is — a button, a plain Pressable, an icon — and
|
|
83
|
+
* only a wrapper we own is guaranteed to be measurable.
|
|
84
|
+
*
|
|
85
|
+
* That wrapper shrinks to its child on purpose. A view stretches to its parent
|
|
86
|
+
* by default, and a wrapper that filled the row would be measured as the whole
|
|
87
|
+
* row — putting a centred label over the middle of the screen rather than over
|
|
88
|
+
* the control it names.
|
|
89
|
+
*/
|
|
90
|
+
declare function TooltipTrigger({ className, children }: TooltipTriggerProps): import("react").JSX.Element;
|
|
91
|
+
export interface TooltipContentProps extends ViewProps {
|
|
92
|
+
className?: string;
|
|
93
|
+
/** Preferred side of the trigger. Flipped when that side does not fit. */
|
|
94
|
+
placement?: TooltipPlacement;
|
|
95
|
+
/** Where the label sits along the trigger's other axis. */
|
|
96
|
+
align?: TooltipAlign;
|
|
97
|
+
/** Gap between the trigger and the label, in pixels. */
|
|
98
|
+
offset?: number;
|
|
99
|
+
/** Nudge along the alignment axis, in pixels. */
|
|
100
|
+
alignOffset?: number;
|
|
101
|
+
children?: ReactNode;
|
|
102
|
+
}
|
|
103
|
+
declare function TooltipContent({ className, placement, align, offset, alignOffset, children, onLayout: onLayoutProp, style, ...props }: TooltipContentProps): import("react").JSX.Element | null;
|
|
104
|
+
export interface TooltipArrowProps extends ViewProps {
|
|
105
|
+
className?: string;
|
|
106
|
+
}
|
|
107
|
+
/**
|
|
108
|
+
* A small square rotated into a diamond, half-buried under the label so only
|
|
109
|
+
* the point shows. It shares the label's fill and points at the trigger's
|
|
110
|
+
* centre, which Content resolves and publishes — so when `align` shifts the
|
|
111
|
+
* label off-centre, or a clamp slides it back on screen, the arrow stays over
|
|
112
|
+
* the trigger rather than over the label's middle.
|
|
113
|
+
*/
|
|
114
|
+
declare function TooltipArrow({ className, style, ...props }: TooltipArrowProps): import("react").JSX.Element | null;
|
|
115
|
+
export declare const Tooltip: typeof TooltipRoot & {
|
|
116
|
+
Trigger: typeof TooltipTrigger;
|
|
117
|
+
Content: typeof TooltipContent;
|
|
118
|
+
Arrow: typeof TooltipArrow;
|
|
119
|
+
Text: {
|
|
120
|
+
({ className, ...props }: TextProps): import("react").JSX.Element;
|
|
121
|
+
displayName: string;
|
|
122
|
+
};
|
|
123
|
+
};
|
|
124
|
+
export {};
|
|
125
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/tooltip/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6BG;AACH,OAAO,EAWL,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAKL,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAWtB,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,0BAAuB,CAAC;AAY7D,MAAM,MAAM,gBAAgB,GAAG,KAAK,GAAG,QAAQ,GAAG,MAAM,GAAG,OAAO,CAAC;AACnE,MAAM,MAAM,YAAY,GAAG,OAAO,GAAG,QAAQ,GAAG,KAAK,CAAC;AA2BtD,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG,OAAO,CAAC;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iDAAiD;IACjD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,SAAiB,EACjB,KAAgB,EAChB,MAAuB,EACvB,WAAe,EACf,QAAQ,EACR,QAAQ,EAAE,YAAY,EACtB,KAAK,EACL,GAAG,KAAK,EACT,EAAE,mBAAmB,sCA4JrB;AAQD,MAAM,WAAW,iBAAkB,SAAQ,SAAS;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED;;;;;;GAMG;AACH,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,sCAiCtE;AAmGD,eAAO,MAAM,OAAO;;;;;kCApJ0B,SAAS;;;CAyJrD,CAAC"}
|
|
@@ -53,6 +53,8 @@ declare const typographyVariants: import("tailwind-variants").TVReturnType<{
|
|
|
53
53
|
bold: string;
|
|
54
54
|
};
|
|
55
55
|
align: {
|
|
56
|
+
start: string;
|
|
57
|
+
end: string;
|
|
56
58
|
left: string;
|
|
57
59
|
center: string;
|
|
58
60
|
right: string;
|
|
@@ -101,6 +103,8 @@ declare const typographyVariants: import("tailwind-variants").TVReturnType<{
|
|
|
101
103
|
bold: string;
|
|
102
104
|
};
|
|
103
105
|
align: {
|
|
106
|
+
start: string;
|
|
107
|
+
end: string;
|
|
104
108
|
left: string;
|
|
105
109
|
center: string;
|
|
106
110
|
right: string;
|
|
@@ -149,6 +153,8 @@ declare const typographyVariants: import("tailwind-variants").TVReturnType<{
|
|
|
149
153
|
bold: string;
|
|
150
154
|
};
|
|
151
155
|
align: {
|
|
156
|
+
start: string;
|
|
157
|
+
end: string;
|
|
152
158
|
left: string;
|
|
153
159
|
center: string;
|
|
154
160
|
right: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/typography/index.tsx"],"names":[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MAAM,CAAC;IAC9E,iDAAiD;IACjD,kBAAkB,CAAC,EAAE,MAAM,CAAC;CAC7B;AAgCD,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gFAAgF;IAChF,OAAO,CAAC,EAAE,OAAO,CAAC;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"}
|
|
@@ -5,6 +5,7 @@ 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
7
|
export { useScrollSections, type UseScrollSectionsOptions, type UseScrollSectionsResult, } from './use-scroll-sections.js';
|
|
8
|
+
export { useBackHandler } from './use-back-handler.js';
|
|
8
9
|
export { useDebouncedValue } from './use-debounced-value.js';
|
|
9
10
|
export { usePrevious } from './use-previous.js';
|
|
10
11
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -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,WAAW,EACX,KAAK,UAAU,EACf,KAAK,mBAAmB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,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"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Runs a handler when the Android hardware back button is pressed.
|
|
3
|
+
*
|
|
4
|
+
* An open overlay owns the back button while it is up: pressing back should
|
|
5
|
+
* dismiss the overlay, not pop the screen behind it. Without this, the back
|
|
6
|
+
* gesture navigates away and the overlay is orphaned — the same mistake as a
|
|
7
|
+
* modal that stays put when you tap outside it.
|
|
8
|
+
*
|
|
9
|
+
* The listener is Android-only and gated on `enabled`, so an overlay wires it
|
|
10
|
+
* to `open && dismissible` and nothing runs while the overlay is closed or
|
|
11
|
+
* pinned. Returning `true` from the handler tells the platform the press was
|
|
12
|
+
* consumed, which is what stops the navigation.
|
|
13
|
+
*
|
|
14
|
+
* ```tsx
|
|
15
|
+
* useBackHandler(open && dismissible, () => setOpen(false));
|
|
16
|
+
* ```
|
|
17
|
+
*/
|
|
18
|
+
export declare function useBackHandler(enabled: boolean, onBack: () => void): void;
|
|
19
|
+
//# sourceMappingURL=use-back-handler.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-back-handler.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-back-handler.ts"],"names":[],"mappings":"AAGA;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,cAAc,CAAC,OAAO,EAAE,OAAO,EAAE,MAAM,EAAE,MAAM,IAAI,GAAG,IAAI,CAgBzE"}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
export type DirectionValue = 'ltr' | 'rtl';
|
|
2
|
+
/** What the device is set to, for anything outside a provider. */
|
|
3
|
+
export declare const deviceDirection: () => DirectionValue;
|
|
4
|
+
export declare const DirectionContext: import("react").Context<DirectionValue | null>;
|
|
5
|
+
/**
|
|
6
|
+
* The reading direction in force, for a component that has to flip maths Yoga
|
|
7
|
+
* cannot flip for it. Safe with no provider mounted: it falls back to the
|
|
8
|
+
* device's own setting.
|
|
9
|
+
*/
|
|
10
|
+
export declare function useDirection(): DirectionValue;
|
|
11
|
+
/**
|
|
12
|
+
* `-1` in a right-to-left subtree, `1` otherwise.
|
|
13
|
+
*
|
|
14
|
+
* The form most of the pixel maths actually wants. A drag translation, an
|
|
15
|
+
* indicator offset and a sweep are all a number that has to change sign, and
|
|
16
|
+
* writing `dir === 'rtl' ? -x : x` at every one of them is where the sign
|
|
17
|
+
* errors live.
|
|
18
|
+
*/
|
|
19
|
+
export declare function useDirectionSign(): 1 | -1;
|
|
20
|
+
//# sourceMappingURL=use-direction.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"use-direction.d.ts","sourceRoot":"","sources":["../../../../src/hooks/use-direction.ts"],"names":[],"mappings":"AAiBA,MAAM,MAAM,cAAc,GAAG,KAAK,GAAG,KAAK,CAAC;AAE3C,kEAAkE;AAClE,eAAO,MAAM,eAAe,QAAO,cACA,CAAC;AAEpC,eAAO,MAAM,gBAAgB,gDAA6C,CAAC;AAE3E;;;;GAIG;AACH,wBAAgB,YAAY,IAAI,cAAc,CAE7C;AAED;;;;;;;GAOG;AACH,wBAAgB,gBAAgB,IAAI,CAAC,GAAG,CAAC,CAAC,CAEzC"}
|
|
@@ -37,9 +37,13 @@ export declare function CheckIcon({ size, color, ...props }: IconProps): import(
|
|
|
37
37
|
* bar that is heavier than the + it pairs with reads as a different glyph.
|
|
38
38
|
*/
|
|
39
39
|
export declare function MinusIcon({ size, color, strokeWidth, ...props }: IconProps): import("react").JSX.Element;
|
|
40
|
+
export declare function ChevronUpIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
41
|
+
export declare function CalendarIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
42
|
+
export declare function BookmarkIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
40
43
|
export declare function ChevronDownIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
41
44
|
export declare function ChevronLeftIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
42
45
|
export declare function ChevronRightIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
46
|
+
export declare function EllipsisIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
43
47
|
export declare function XIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
44
48
|
export declare function SearchIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
45
49
|
export declare function ArrowUpRightIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
@@ -108,6 +112,10 @@ export declare function DownloadIcon({ size, color, ...props }: IconProps): impo
|
|
|
108
112
|
export declare function PlusIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
109
113
|
/** Four corners pushing outward — fit everything into view. */
|
|
110
114
|
export declare function MaximizeIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
115
|
+
/** Crosshairs on a centre dot — put me where I actually am. */
|
|
116
|
+
export declare function CrosshairIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
117
|
+
/** A compass needle — which way is north. */
|
|
118
|
+
export declare function CompassIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
111
119
|
/** A closed padlock — the thing behind it cannot be moved. */
|
|
112
120
|
export declare function LockIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
113
121
|
/** The same padlock with its shackle swung open — freely movable. */
|
|
@@ -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,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