panelui-native 0.32.0 → 0.34.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/button/index.js +106 -11
- package/lib/module/components/button/index.js.map +1 -1
- package/lib/module/components/drawer/index.js +477 -0
- package/lib/module/components/drawer/index.js.map +1 -0
- package/lib/module/components/panelside/index.js +1024 -0
- package/lib/module/components/panelside/index.js.map +1 -0
- package/lib/module/components/select/index.js +14 -3
- package/lib/module/components/select/index.js.map +1 -1
- package/lib/module/icons/index.js +20 -0
- package/lib/module/icons/index.js.map +1 -1
- package/lib/module/index.js +3 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/native/index.js +30 -0
- package/lib/module/native/index.js.map +1 -1
- package/lib/typescript/src/components/button/index.d.ts +22 -1
- package/lib/typescript/src/components/button/index.d.ts.map +1 -1
- package/lib/typescript/src/components/drawer/index.d.ts +146 -0
- package/lib/typescript/src/components/drawer/index.d.ts.map +1 -0
- package/lib/typescript/src/components/panelside/index.d.ts +354 -0
- package/lib/typescript/src/components/panelside/index.d.ts.map +1 -0
- package/lib/typescript/src/components/select/index.d.ts.map +1 -1
- package/lib/typescript/src/icons/index.d.ts +1 -0
- package/lib/typescript/src/icons/index.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +3 -1
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/native/index.d.ts +20 -0
- package/lib/typescript/src/native/index.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/button/index.tsx +140 -8
- package/src/components/drawer/index.tsx +662 -0
- package/src/components/panelside/index.tsx +1358 -0
- package/src/components/select/index.tsx +23 -3
- package/src/icons/index.tsx +14 -0
- package/src/index.ts +33 -0
- package/src/native/index.ts +51 -0
|
@@ -0,0 +1,146 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Drawer — a panel that comes in from an edge of the screen and covers the app
|
|
3
|
+
* until it is dismissed.
|
|
4
|
+
*
|
|
5
|
+
* ```tsx
|
|
6
|
+
* <Drawer>
|
|
7
|
+
* <Drawer.Trigger>
|
|
8
|
+
* <Button variant="outline">Menu</Button>
|
|
9
|
+
* </Drawer.Trigger>
|
|
10
|
+
* <Drawer.Content>
|
|
11
|
+
* <Drawer.Header title="Workspace" description="Switch or manage" />
|
|
12
|
+
* <Drawer.Body>
|
|
13
|
+
* <Item title="Projects" />
|
|
14
|
+
* <Item title="Members" />
|
|
15
|
+
* </Drawer.Body>
|
|
16
|
+
* <Drawer.Footer>
|
|
17
|
+
* <Button className="flex-1">Settings</Button>
|
|
18
|
+
* </Drawer.Footer>
|
|
19
|
+
* </Drawer.Content>
|
|
20
|
+
* </Drawer>
|
|
21
|
+
* ```
|
|
22
|
+
*
|
|
23
|
+
* ## Why the sides are `start` and `end`
|
|
24
|
+
*
|
|
25
|
+
* A drawer is the one overlay whose whole identity is the edge it belongs to,
|
|
26
|
+
* and in a right-to-left app "the navigation edge" is the right one. Naming the
|
|
27
|
+
* sides `left` and `right` would bake a reading direction into the API and
|
|
28
|
+
* force every caller in an RTL app to invert it themselves, so the sides are
|
|
29
|
+
* logical: `start` is the edge text begins at, `end` the edge it runs toward.
|
|
30
|
+
* Both follow the enclosing `<Direction>`, and `top` and `bottom` mean what
|
|
31
|
+
* they say because the vertical axis does not mirror.
|
|
32
|
+
*
|
|
33
|
+
* Yoga mirrors the panel's own position, because that is laid out from `start-0`
|
|
34
|
+
* / `end-0`. It does not mirror the drag, which is measured in raw pixels — so
|
|
35
|
+
* the gesture consults the direction and negates itself, which is what keeps a
|
|
36
|
+
* swipe *outward* dismissing in both directions rather than only one.
|
|
37
|
+
*
|
|
38
|
+
* ## Why it is not a BottomSheet with a different edge
|
|
39
|
+
*
|
|
40
|
+
* A sheet is sized by its content and dragged along the axis its scroller runs
|
|
41
|
+
* on, which is why so much of it is about sharing one drag between the two. A
|
|
42
|
+
* side drawer is sized by the screen and dragged across its scroller's axis, so
|
|
43
|
+
* the two gestures never compete: the cross-axis drag simply fails and the list
|
|
44
|
+
* keeps it. That difference is the reason this is a separate component and not
|
|
45
|
+
* a prop on the sheet.
|
|
46
|
+
*/
|
|
47
|
+
import { type ReactElement, type ReactNode } from 'react';
|
|
48
|
+
import { type ScrollViewProps, type ViewProps } from 'react-native';
|
|
49
|
+
export type DrawerSide = 'start' | 'end' | 'top' | 'bottom';
|
|
50
|
+
export type DrawerSize = 'sm' | 'md' | 'lg' | 'full';
|
|
51
|
+
export interface DrawerProps {
|
|
52
|
+
children: ReactNode;
|
|
53
|
+
/** Open state, when you want to own it. Pair with `onOpenChange`. */
|
|
54
|
+
open?: boolean;
|
|
55
|
+
/** Called with the next open state, whether the drawer or you caused it. */
|
|
56
|
+
onOpenChange?: (open: boolean) => void;
|
|
57
|
+
/** Open state to start at when you are not controlling it. */
|
|
58
|
+
defaultOpen?: boolean;
|
|
59
|
+
}
|
|
60
|
+
declare function DrawerRoot({ children, open: controlledOpen, onOpenChange, defaultOpen, }: DrawerProps): import("react").JSX.Element;
|
|
61
|
+
export interface DrawerTriggerProps {
|
|
62
|
+
/** A single pressable element. Its own `onPress` still runs. */
|
|
63
|
+
children: ReactElement<{
|
|
64
|
+
onPress?: (...args: unknown[]) => void;
|
|
65
|
+
}>;
|
|
66
|
+
}
|
|
67
|
+
declare function DrawerTrigger({ children }: DrawerTriggerProps): ReactElement<{
|
|
68
|
+
onPress?: (...args: unknown[]) => void;
|
|
69
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
70
|
+
export interface DrawerCloseProps {
|
|
71
|
+
/** A single pressable element. Its own `onPress` still runs. */
|
|
72
|
+
children: ReactElement<{
|
|
73
|
+
onPress?: (...args: unknown[]) => void;
|
|
74
|
+
}>;
|
|
75
|
+
}
|
|
76
|
+
declare function DrawerClose({ children }: DrawerCloseProps): ReactElement<{
|
|
77
|
+
onPress?: (...args: unknown[]) => void;
|
|
78
|
+
}, string | import("react").JSXElementConstructor<any>>;
|
|
79
|
+
export interface DrawerContentProps extends ViewProps {
|
|
80
|
+
className?: string;
|
|
81
|
+
/**
|
|
82
|
+
* Which edge the drawer is docked to. `start` and `end` are the edges text
|
|
83
|
+
* begins and ends at, so both follow the enclosing `<Direction>` rather than
|
|
84
|
+
* pinning the drawer to a physical side.
|
|
85
|
+
*/
|
|
86
|
+
side?: DrawerSide;
|
|
87
|
+
/**
|
|
88
|
+
* How much of the screen the drawer takes — its width on `start` / `end`, its
|
|
89
|
+
* height on `top` / `bottom`. A horizontal drawer is also capped in points,
|
|
90
|
+
* so `md` is a 320-point navigation panel on a tablet rather than 78% of it.
|
|
91
|
+
*/
|
|
92
|
+
size?: DrawerSize;
|
|
93
|
+
/** Tap on the backdrop closes the drawer. Default true. */
|
|
94
|
+
dismissible?: boolean;
|
|
95
|
+
/**
|
|
96
|
+
* Drag the drawer back toward its edge to dismiss it. Default true. Turn it
|
|
97
|
+
* off for a drawer whose content wants the same axis — a horizontal
|
|
98
|
+
* scroller in a side drawer.
|
|
99
|
+
*/
|
|
100
|
+
swipeToDismiss?: boolean;
|
|
101
|
+
/** Show a close button in the drawer's inner top corner. Default true. */
|
|
102
|
+
showClose?: boolean;
|
|
103
|
+
/**
|
|
104
|
+
* Frost the screen behind the drawer instead of dimming it. Needs the
|
|
105
|
+
* optional `expo-blur`; without it this dims, rather than failing.
|
|
106
|
+
*/
|
|
107
|
+
blur?: boolean;
|
|
108
|
+
children?: ReactNode;
|
|
109
|
+
}
|
|
110
|
+
declare function DrawerContent({ className, side, size, dismissible, swipeToDismiss, showClose, blur, children, ...props }: DrawerContentProps): import("react").JSX.Element | null;
|
|
111
|
+
export interface DrawerHeaderProps extends ViewProps {
|
|
112
|
+
className?: string;
|
|
113
|
+
/** Heading for the drawer. Strings are wrapped; anything else is drawn as given. */
|
|
114
|
+
title?: ReactNode;
|
|
115
|
+
/** A line under the title, for what the drawer is for. */
|
|
116
|
+
description?: ReactNode;
|
|
117
|
+
children?: ReactNode;
|
|
118
|
+
}
|
|
119
|
+
declare function DrawerHeader({ className, title, description, children, ...props }: DrawerHeaderProps): import("react").JSX.Element;
|
|
120
|
+
export interface DrawerBodyProps extends ScrollViewProps {
|
|
121
|
+
className?: string;
|
|
122
|
+
/**
|
|
123
|
+
* Scroll the body when it overflows. Pass `false` to lay the content out
|
|
124
|
+
* plainly instead — for a drawer whose content is known to fit, and for one
|
|
125
|
+
* that brings its own list, since a scroller nested inside this one leaves
|
|
126
|
+
* neither of them scrolling properly.
|
|
127
|
+
*/
|
|
128
|
+
scrollable?: boolean;
|
|
129
|
+
children?: ReactNode;
|
|
130
|
+
}
|
|
131
|
+
declare function DrawerBody({ className, scrollable, children, contentContainerStyle, ...props }: DrawerBodyProps): import("react").JSX.Element;
|
|
132
|
+
export interface DrawerFooterProps extends ViewProps {
|
|
133
|
+
className?: string;
|
|
134
|
+
children?: ReactNode;
|
|
135
|
+
}
|
|
136
|
+
declare function DrawerFooter({ className, children, ...props }: DrawerFooterProps): import("react").JSX.Element;
|
|
137
|
+
export declare const Drawer: typeof DrawerRoot & {
|
|
138
|
+
Trigger: typeof DrawerTrigger;
|
|
139
|
+
Content: typeof DrawerContent;
|
|
140
|
+
Header: typeof DrawerHeader;
|
|
141
|
+
Body: typeof DrawerBody;
|
|
142
|
+
Footer: typeof DrawerFooter;
|
|
143
|
+
Close: typeof DrawerClose;
|
|
144
|
+
};
|
|
145
|
+
export {};
|
|
146
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/drawer/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6CG;AACH,OAAO,EASL,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAKL,KAAK,eAAe,EACpB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAsCtB,MAAM,MAAM,UAAU,GAAG,OAAO,GAAG,KAAK,G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iBAAiB,+BAYzE;AAED,eAAO,MAAM,MAAM;;;;;;;CAOjB,CAAC"}
|
|
@@ -0,0 +1,354 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Panelside — a navigation panel that moves the app aside instead of covering
|
|
3
|
+
* it.
|
|
4
|
+
*
|
|
5
|
+
* ```tsx
|
|
6
|
+
* <Panelside>
|
|
7
|
+
* <Panelside.Panel>
|
|
8
|
+
* <Panelside.Header title="Assistant">
|
|
9
|
+
* <Panelside.Search value={query} onChangeText={setQuery} />
|
|
10
|
+
* </Panelside.Header>
|
|
11
|
+
* <Panelside.Content>
|
|
12
|
+
* <Panelside.Group>
|
|
13
|
+
* <Panelside.GroupLabel>Recents</Panelside.GroupLabel>
|
|
14
|
+
* <Panelside.Item label="Launch thread" />
|
|
15
|
+
* </Panelside.Group>
|
|
16
|
+
* </Panelside.Content>
|
|
17
|
+
* <Panelside.Footer>
|
|
18
|
+
* <Panelside.Cta label="New chat" onPress={compose} />
|
|
19
|
+
* </Panelside.Footer>
|
|
20
|
+
* </Panelside.Panel>
|
|
21
|
+
*
|
|
22
|
+
* <Panelside.Scene>
|
|
23
|
+
* <Panelside.Trigger />
|
|
24
|
+
* <Conversation />
|
|
25
|
+
* </Panelside.Scene>
|
|
26
|
+
* </Panelside>
|
|
27
|
+
* ```
|
|
28
|
+
*
|
|
29
|
+
* ## Why it is not a Drawer
|
|
30
|
+
*
|
|
31
|
+
* A drawer is an overlay: it mounts through a portal, lands above everything
|
|
32
|
+
* and dims what it hid. That is the wrong shape here, because the whole point
|
|
33
|
+
* of this pattern is that the app *stays legible* — it slides across, shrinks,
|
|
34
|
+
* rounds its corners and waits, so the panel reads as a layer behind the app
|
|
35
|
+
* rather than a sheet on top of it. A portal cannot do that: its content is
|
|
36
|
+
* above the app content by construction, and the app content is somewhere else
|
|
37
|
+
* in the tree entirely, unreachable.
|
|
38
|
+
*
|
|
39
|
+
* So Panelside owns both halves. It renders inline, keeps the panel and the
|
|
40
|
+
* app screen as siblings under one clipping container, and gives them a single
|
|
41
|
+
* `progress` value to move against. `Panelside.Scene` is the wrapper you put
|
|
42
|
+
* around your own screen; without it there is nothing to push, which is why it
|
|
43
|
+
* is explicit rather than inferred.
|
|
44
|
+
*
|
|
45
|
+
* ## The scene maths
|
|
46
|
+
*
|
|
47
|
+
* React Native scales a view about its centre, so a scene scaled to `s` has
|
|
48
|
+
* already pulled its left edge `W * (1 - s) / 2` inward before any translation
|
|
49
|
+
* is applied. Translating by the panel width alone would therefore leave a gap
|
|
50
|
+
* that grows with the scale, and the panel would look mis-measured. Subtracting
|
|
51
|
+
* that inset is what puts the scene's *visible* edge exactly where the panel
|
|
52
|
+
* ends:
|
|
53
|
+
*
|
|
54
|
+
* scale = 1 - (1 - s) * p
|
|
55
|
+
* translateX = p * (width + gap) - W * (1 - scale) / 2
|
|
56
|
+
*
|
|
57
|
+
* Both are driven from one shared value, so a half-finished drag is a real
|
|
58
|
+
* halfway state rather than an interpolation between two snapshots.
|
|
59
|
+
*
|
|
60
|
+
* ## One gesture, both directions
|
|
61
|
+
*
|
|
62
|
+
* A single pan opens and closes. By default it listens across the whole
|
|
63
|
+
* surface, because that is the behaviour this pattern is known for: a sideways
|
|
64
|
+
* drag anywhere on the app brings the panel in, from wherever your thumb
|
|
65
|
+
* already was. What keeps a list usable underneath it is the pair of
|
|
66
|
+
* thresholds — the drag gives itself up on twelve points of vertical travel
|
|
67
|
+
* and only claims the touch at fourteen horizontal, so anything even slightly
|
|
68
|
+
* vertical resolves as a scroll.
|
|
69
|
+
*
|
|
70
|
+
* `swipeFrom="edge"` narrows the closed-state hit area to a strip at the
|
|
71
|
+
* leading screen edge instead. That is for a scene with its own use for a
|
|
72
|
+
* horizontal drag — a carousel, a wide table, a pannable chart — which would
|
|
73
|
+
* otherwise fight the panel and lose.
|
|
74
|
+
*
|
|
75
|
+
* Reanimated's default `ReduceMotion.System` applies throughout: with the
|
|
76
|
+
* accessibility setting on, every spring here resolves instantly to its target
|
|
77
|
+
* rather than travelling.
|
|
78
|
+
*/
|
|
79
|
+
import { type ReactElement, type ReactNode } from 'react';
|
|
80
|
+
import { type PressableProps, type ScrollViewProps, type TextInputProps, type ViewProps } from 'react-native';
|
|
81
|
+
import { type SharedValue } from 'react-native-reanimated';
|
|
82
|
+
export type PanelsideMode = 'push' | 'overlay';
|
|
83
|
+
export type PanelsideSwipeFrom = 'anywhere' | 'edge';
|
|
84
|
+
export interface UsePanelsideResult {
|
|
85
|
+
open: boolean;
|
|
86
|
+
setOpen: (open: boolean) => void;
|
|
87
|
+
toggle: () => void;
|
|
88
|
+
/**
|
|
89
|
+
* How far the panel has travelled, 0 to 1, on the UI thread. Read it to move
|
|
90
|
+
* something of your own with the panel — a header that fades, a title that
|
|
91
|
+
* slides — without a re-render per frame.
|
|
92
|
+
*/
|
|
93
|
+
progress: SharedValue<number>;
|
|
94
|
+
/** True while the panel is docked open beside the scene. */
|
|
95
|
+
docked: boolean;
|
|
96
|
+
}
|
|
97
|
+
/**
|
|
98
|
+
* The panel's state, from anywhere inside a `<Panelside>` — including your own
|
|
99
|
+
* screen inside `Panelside.Scene`, which is where a custom open button usually
|
|
100
|
+
* lives.
|
|
101
|
+
*/
|
|
102
|
+
export declare function usePanelside(): UsePanelsideResult;
|
|
103
|
+
export interface PanelsideProps {
|
|
104
|
+
children: ReactNode;
|
|
105
|
+
/** Open state, when you want to own it. Pair with `onOpenChange`. */
|
|
106
|
+
open?: boolean;
|
|
107
|
+
/** Called with the next open state, whether a gesture or you caused it. */
|
|
108
|
+
onOpenChange?: (open: boolean) => void;
|
|
109
|
+
/** Open state to start at when you are not controlling it. */
|
|
110
|
+
defaultOpen?: boolean;
|
|
111
|
+
/**
|
|
112
|
+
* How the two layers relate. `push` moves the scene aside and curves it,
|
|
113
|
+
* which is the point of this component. `overlay` slides the panel over a
|
|
114
|
+
* scene that stays put — the same navigation, for a screen whose content
|
|
115
|
+
* cannot afford to move.
|
|
116
|
+
*/
|
|
117
|
+
mode?: PanelsideMode;
|
|
118
|
+
/**
|
|
119
|
+
* Panel width in points. Defaults to 80% of the container capped at 360,
|
|
120
|
+
* and to a third of it capped at 320 once docked — an overlay panel gives
|
|
121
|
+
* the width back when it closes and a docked one keeps it, so they are not
|
|
122
|
+
* the same measurement. The caps are what stop a tablet getting a navigation
|
|
123
|
+
* list with a field of whitespace beside it.
|
|
124
|
+
*/
|
|
125
|
+
width?: number;
|
|
126
|
+
/**
|
|
127
|
+
* Container width at or above which the panel stops being an overlay and
|
|
128
|
+
* becomes a permanent sidebar: laid out beside the scene, always open, with
|
|
129
|
+
* the gesture and the trigger switched off. A docked panel also narrows to a
|
|
130
|
+
* third of the container, capped at 320 — docked, every point it takes is a
|
|
131
|
+
* point the app does not get back.
|
|
132
|
+
*
|
|
133
|
+
* Off by default, and deliberately not a guess — a large phone in landscape
|
|
134
|
+
* is wider than a small tablet in portrait, so no single number is right for
|
|
135
|
+
* every app. Set it high enough that what is left over is still a screen:
|
|
136
|
+
* around 700 is the first width where both halves have room.
|
|
137
|
+
*/
|
|
138
|
+
dock?: number | false;
|
|
139
|
+
/** Swipe to open, and drag the scene to close. Default true. */
|
|
140
|
+
swipeEnabled?: boolean;
|
|
141
|
+
/**
|
|
142
|
+
* Where a swipe may begin. `anywhere` is the default and the behaviour this
|
|
143
|
+
* pattern is known for — a sideways drag across the app opens the panel from
|
|
144
|
+
* wherever your thumb already was.
|
|
145
|
+
*
|
|
146
|
+
* `edge` narrows it to a strip at the leading screen edge, for a scene that
|
|
147
|
+
* has its own use for a horizontal drag: a carousel, a wide table, a chart
|
|
148
|
+
* you can pan. Anything like that under an `anywhere` panel will fight it,
|
|
149
|
+
* and the panel usually wins.
|
|
150
|
+
*/
|
|
151
|
+
swipeFrom?: PanelsideSwipeFrom;
|
|
152
|
+
/**
|
|
153
|
+
* How wide the leading-edge strip that starts a swipe is, when `swipeFrom`
|
|
154
|
+
* is `edge`. Default 48 — wider than the system's own edge gestures, because
|
|
155
|
+
* there is no bezel to feel for. Ignored otherwise.
|
|
156
|
+
*/
|
|
157
|
+
edgeWidth?: number;
|
|
158
|
+
/**
|
|
159
|
+
* Tapping the pushed scene, or the Android back button, closes the panel.
|
|
160
|
+
* Default true.
|
|
161
|
+
*/
|
|
162
|
+
dismissible?: boolean;
|
|
163
|
+
className?: string;
|
|
164
|
+
}
|
|
165
|
+
declare function PanelsideRoot({ children, open: controlledOpen, onOpenChange, defaultOpen, mode, width: widthProp, dock, swipeEnabled, swipeFrom, edgeWidth, dismissible, className, }: PanelsideProps): import("react").JSX.Element;
|
|
166
|
+
export interface PanelsidePanelProps extends ViewProps {
|
|
167
|
+
className?: string;
|
|
168
|
+
children?: ReactNode;
|
|
169
|
+
}
|
|
170
|
+
declare function PanelsidePanel({ className, children, style, ...props }: PanelsidePanelProps): import("react").JSX.Element;
|
|
171
|
+
declare namespace PanelsidePanel {
|
|
172
|
+
var displayName: string;
|
|
173
|
+
}
|
|
174
|
+
export interface PanelsideHeaderProps extends ViewProps {
|
|
175
|
+
className?: string;
|
|
176
|
+
/** Rendered as the heading. Omit it and supply your own in `children`. */
|
|
177
|
+
title?: string;
|
|
178
|
+
/** A single element pinned to the trailing end of the title row. */
|
|
179
|
+
action?: ReactNode;
|
|
180
|
+
/** Anything below the title row — a search field, a workspace switcher. */
|
|
181
|
+
children?: ReactNode;
|
|
182
|
+
}
|
|
183
|
+
declare function PanelsideHeader({ className, title, action, children, style, ...props }: PanelsideHeaderProps): import("react").JSX.Element;
|
|
184
|
+
declare namespace PanelsideHeader {
|
|
185
|
+
var displayName: string;
|
|
186
|
+
}
|
|
187
|
+
export interface PanelsideSearchProps extends TextInputProps {
|
|
188
|
+
className?: string;
|
|
189
|
+
containerClassName?: string;
|
|
190
|
+
}
|
|
191
|
+
/**
|
|
192
|
+
* A compact filter field for the panel.
|
|
193
|
+
*
|
|
194
|
+
* Deliberately not the library's `Input`: that field carries a label, a
|
|
195
|
+
* description, an error slot and keyboard avoidance, none of which a panel
|
|
196
|
+
* search row wants, and all of which would have to be switched off at every
|
|
197
|
+
* call site.
|
|
198
|
+
*/
|
|
199
|
+
declare function PanelsideSearch({ className, containerClassName, placeholder, ...props }: PanelsideSearchProps): import("react").JSX.Element;
|
|
200
|
+
declare namespace PanelsideSearch {
|
|
201
|
+
var displayName: string;
|
|
202
|
+
}
|
|
203
|
+
export interface PanelsideContentProps extends ScrollViewProps {
|
|
204
|
+
className?: string;
|
|
205
|
+
contentContainerClassName?: string;
|
|
206
|
+
children?: ReactNode;
|
|
207
|
+
}
|
|
208
|
+
declare function PanelsideContent({ className, contentContainerClassName, contentContainerStyle, children, ...props }: PanelsideContentProps): import("react").JSX.Element;
|
|
209
|
+
declare namespace PanelsideContent {
|
|
210
|
+
var displayName: string;
|
|
211
|
+
}
|
|
212
|
+
export interface PanelsideGroupProps extends ViewProps {
|
|
213
|
+
className?: string;
|
|
214
|
+
children?: ReactNode;
|
|
215
|
+
}
|
|
216
|
+
declare function PanelsideGroup({ className, children, ...props }: PanelsideGroupProps): import("react").JSX.Element;
|
|
217
|
+
declare namespace PanelsideGroup {
|
|
218
|
+
var displayName: string;
|
|
219
|
+
}
|
|
220
|
+
export interface PanelsideGroupLabelProps extends ViewProps {
|
|
221
|
+
className?: string;
|
|
222
|
+
children?: ReactNode;
|
|
223
|
+
}
|
|
224
|
+
declare function PanelsideGroupLabel({ className, children, ...props }: PanelsideGroupLabelProps): import("react").JSX.Element;
|
|
225
|
+
declare namespace PanelsideGroupLabel {
|
|
226
|
+
var displayName: string;
|
|
227
|
+
}
|
|
228
|
+
export interface PanelsideItemProps extends Omit<PressableProps, 'children'> {
|
|
229
|
+
className?: string;
|
|
230
|
+
/** Leading element — an icon, an avatar, a coloured dot. */
|
|
231
|
+
icon?: ReactNode;
|
|
232
|
+
/** The row's text. Truncated to one line, since chat titles run long. */
|
|
233
|
+
label?: string;
|
|
234
|
+
/** Marks the row as the current destination. */
|
|
235
|
+
active?: boolean;
|
|
236
|
+
/**
|
|
237
|
+
* Trailing count or status. A number or string renders as a pill; anything
|
|
238
|
+
* else renders as given.
|
|
239
|
+
*/
|
|
240
|
+
badge?: ReactNode;
|
|
241
|
+
disabled?: boolean;
|
|
242
|
+
/** Trailing content — usually a `Panelside.Action`. */
|
|
243
|
+
children?: ReactNode;
|
|
244
|
+
}
|
|
245
|
+
declare function PanelsideItem({ className, icon, label, active, badge, disabled, children, ...props }: PanelsideItemProps): import("react").JSX.Element;
|
|
246
|
+
declare namespace PanelsideItem {
|
|
247
|
+
var displayName: string;
|
|
248
|
+
}
|
|
249
|
+
export interface PanelsideActionProps extends Omit<PressableProps, 'children'> {
|
|
250
|
+
className?: string;
|
|
251
|
+
/**
|
|
252
|
+
* What a screen reader announces. The default control is an unlabelled glyph,
|
|
253
|
+
* so this is the only description it has.
|
|
254
|
+
*/
|
|
255
|
+
label?: string;
|
|
256
|
+
/** Replaces the default overflow glyph. */
|
|
257
|
+
children?: ReactNode;
|
|
258
|
+
}
|
|
259
|
+
declare function PanelsideAction({ className, label, children, ...props }: PanelsideActionProps): import("react").JSX.Element;
|
|
260
|
+
declare namespace PanelsideAction {
|
|
261
|
+
var displayName: string;
|
|
262
|
+
}
|
|
263
|
+
export interface PanelsideFooterProps extends ViewProps {
|
|
264
|
+
className?: string;
|
|
265
|
+
/**
|
|
266
|
+
* Overlay the scrolling list instead of taking a row below it. Default true —
|
|
267
|
+
* the list runs the full height of the panel behind it, and `Panelside.Content`
|
|
268
|
+
* leaves exactly this footer's height of room at the end.
|
|
269
|
+
*/
|
|
270
|
+
floating?: boolean;
|
|
271
|
+
children?: ReactNode;
|
|
272
|
+
}
|
|
273
|
+
declare function PanelsideFooter({ className, floating, children, style, ...props }: PanelsideFooterProps): import("react").JSX.Element;
|
|
274
|
+
declare namespace PanelsideFooter {
|
|
275
|
+
var displayName: string;
|
|
276
|
+
}
|
|
277
|
+
export interface PanelsideCtaProps extends Omit<PressableProps, 'children'> {
|
|
278
|
+
className?: string;
|
|
279
|
+
/** The button's text. */
|
|
280
|
+
label?: string;
|
|
281
|
+
/** Leading element, usually an icon. */
|
|
282
|
+
icon?: ReactNode;
|
|
283
|
+
/** `primary` is the filled accent pill; `secondary` is the quiet one. */
|
|
284
|
+
variant?: 'primary' | 'secondary';
|
|
285
|
+
/**
|
|
286
|
+
* Render the platform's own button instead of the pill. Requires the
|
|
287
|
+
* optional `@expo/ui` package; without it this prop does nothing.
|
|
288
|
+
*
|
|
289
|
+
* **Theme tokens do not apply** — the platform draws the button, so
|
|
290
|
+
* `className` and `icon` are ignored and it sizes itself to `label`.
|
|
291
|
+
*/
|
|
292
|
+
native?: boolean;
|
|
293
|
+
/**
|
|
294
|
+
* Draw the native button in the platform's Liquid Glass material. Requires
|
|
295
|
+
* `native`, and iOS 26 or later; ignored anywhere else.
|
|
296
|
+
*/
|
|
297
|
+
glass?: boolean;
|
|
298
|
+
children?: ReactNode;
|
|
299
|
+
}
|
|
300
|
+
declare function PanelsideCta({ className, label, icon, variant, native, glass, disabled, children, ...props }: PanelsideCtaProps): import("react").JSX.Element;
|
|
301
|
+
declare namespace PanelsideCta {
|
|
302
|
+
var displayName: string;
|
|
303
|
+
}
|
|
304
|
+
export interface PanelsideSceneProps extends ViewProps {
|
|
305
|
+
className?: string;
|
|
306
|
+
/**
|
|
307
|
+
* How small the scene gets at full travel. Default 1 — the screen keeps its
|
|
308
|
+
* full height and stays behind the status bar, and the radius and dim do the
|
|
309
|
+
* work. Below one it shrinks about its centre, which insets it top and bottom
|
|
310
|
+
* as well as at the side.
|
|
311
|
+
*/
|
|
312
|
+
scale?: number;
|
|
313
|
+
/** The corner radius the scene reaches at full travel. Default 44. */
|
|
314
|
+
radius?: number;
|
|
315
|
+
/** How far the scene dims at full travel, 0 to 1. Default 0.45. */
|
|
316
|
+
dim?: number;
|
|
317
|
+
children?: ReactNode;
|
|
318
|
+
}
|
|
319
|
+
declare function PanelsideScene({ className, scale, radius, dim, children, style, ...props }: PanelsideSceneProps): import("react").JSX.Element;
|
|
320
|
+
declare namespace PanelsideScene {
|
|
321
|
+
var displayName: string;
|
|
322
|
+
}
|
|
323
|
+
export interface PanelsideTriggerProps extends Omit<PressableProps, 'children'> {
|
|
324
|
+
className?: string;
|
|
325
|
+
/** What a screen reader announces. */
|
|
326
|
+
label?: string;
|
|
327
|
+
/**
|
|
328
|
+
* A single pressable element to use instead of the default button. Its own
|
|
329
|
+
* `onPress` still runs.
|
|
330
|
+
*/
|
|
331
|
+
children?: ReactElement<{
|
|
332
|
+
onPress?: (...args: unknown[]) => void;
|
|
333
|
+
}>;
|
|
334
|
+
}
|
|
335
|
+
declare function PanelsideTrigger({ className, label, children, ...props }: PanelsideTriggerProps): import("react").JSX.Element | null;
|
|
336
|
+
declare namespace PanelsideTrigger {
|
|
337
|
+
var displayName: string;
|
|
338
|
+
}
|
|
339
|
+
export declare const Panelside: typeof PanelsideRoot & {
|
|
340
|
+
Panel: typeof PanelsidePanel;
|
|
341
|
+
Header: typeof PanelsideHeader;
|
|
342
|
+
Search: typeof PanelsideSearch;
|
|
343
|
+
Content: typeof PanelsideContent;
|
|
344
|
+
Group: typeof PanelsideGroup;
|
|
345
|
+
GroupLabel: typeof PanelsideGroupLabel;
|
|
346
|
+
Item: typeof PanelsideItem;
|
|
347
|
+
Action: typeof PanelsideAction;
|
|
348
|
+
Footer: typeof PanelsideFooter;
|
|
349
|
+
Cta: typeof PanelsideCta;
|
|
350
|
+
Scene: typeof PanelsideScene;
|
|
351
|
+
Trigger: typeof PanelsideTrigger;
|
|
352
|
+
};
|
|
353
|
+
export {};
|
|
354
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/panelside/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA6EG;AACH,OAAO,EASL,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAA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E,OAAO,CAAC;IACrB,2DAA2D;IAC3D,iBAAiB,CAAC,EAAE,MAAM,CAAC;IAC3B,kEAAkE;IAClE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB;;;;;;;;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,UAAkB,EAClB,iBAA4B,EAC5B,YAA2B,EAC3B,MAAM,EACN,gBAAyB,EACzB,QAAQ,GACT,EAAE,WAAW,+BA8Ub;AAED,eAAO,MAAM,MAAM;;CAEjB,CAAC"}
|
|
@@ -46,6 +46,7 @@ export declare function ChevronDownIcon({ size, color, ...props }: IconProps): i
|
|
|
46
46
|
export declare function ChevronLeftIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
47
47
|
export declare function ChevronRightIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
48
48
|
export declare function EllipsisIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
49
|
+
export declare function MenuIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
49
50
|
export declare function XIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
50
51
|
export declare function SearchIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
51
52
|
export declare function ArrowUpRightIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
@@ -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,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Ac;AACd,wBAAgB,SAAS,CAAC,EAAE,IAAS,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,+BAchF;AAED,qCAAqC;AACrC,wBAAgB,iBAAiB,CAAC,EAAE,IAAS,EAAE,KAAK,EAAE,MAAM,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,+BAcxF;AAED,yEAAyE;AACzE,wBAAgB,OAAO,CAAC,EAAE,IAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,+BAchE;AAED,kDAAkD;AAClD,wBAAgB,UAAU,CAAC,EAAE,IAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,+BAanE;AAED,MAAM,WAAW,mBAAoB,SAAQ,SAAS;IACpD,sEAAsE;IACtE,UAAU,CAAC,EAAE,MAAM,CAAC;CACrB;AAED;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,EAC7B,IAAS,EACT,KAAK,EACL,UAAsB,EACtB,GAAG,KAAK,EACT,EAAE,mBAAmB,+BAiBrB"}
|
|
@@ -37,6 +37,7 @@ export { Calendar, type CalendarProps, type CalendarHeaderProps, type CalendarNa
|
|
|
37
37
|
export { Card, type CardProps } from './components/card/index.js';
|
|
38
38
|
export { Checkbox, type CheckboxProps } from './components/checkbox/index.js';
|
|
39
39
|
export { Chip, useChip, type ChipProps, type ChipLabelProps, type ChipVariant, type ChipSize, } from './components/chip/index.js';
|
|
40
|
+
export { Drawer, type DrawerProps, type DrawerTriggerProps, type DrawerContentProps, type DrawerHeaderProps, type DrawerBodyProps, type DrawerFooterProps, type DrawerCloseProps, type DrawerSide, type DrawerSize, } from './components/drawer/index.js';
|
|
40
41
|
export { EmptyState, type EmptyStateProps, type EmptyStateMediaProps, } from './components/empty-state/index.js';
|
|
41
42
|
export { Field, type FieldProps, type FieldContentProps, type FieldLabelProps, type FieldDescriptionProps, type FieldErrorProps, type FieldSetProps, type FieldLegendProps, type FieldGroupProps, type FieldSeparatorProps, type FieldTitleProps, } from './components/field/index.js';
|
|
42
43
|
export { Form, useForm, useField, type FormProps, type FormFieldProps, type FormApi, type FieldErrors, type FieldTouched, type FieldState, type UseFormOptions, type Validator, type FormFieldRenderProps, type UseFieldOptions, } from './components/form/index.js';
|
|
@@ -44,6 +45,7 @@ export { Input, type InputProps } from './components/input/index.js';
|
|
|
44
45
|
export { InputGroup, type InputGroupProps, type InputGroupInputProps, type InputGroupDecoratorProps, } from './components/input-group/index.js';
|
|
45
46
|
export { NumberInput, type NumberInputProps, } from './components/number-input/index.js';
|
|
46
47
|
export { OtpInput, type OtpInputProps } from './components/otp-input/index.js';
|
|
48
|
+
export { Panelside, usePanelside, type PanelsideProps, type PanelsidePanelProps, type PanelsideHeaderProps, type PanelsideSearchProps, type PanelsideContentProps, type PanelsideGroupProps, type PanelsideGroupLabelProps, type PanelsideItemProps, type PanelsideActionProps, type PanelsideFooterProps, type PanelsideCtaProps, type PanelsideSceneProps, type PanelsideTriggerProps, type PanelsideMode, type PanelsideSwipeFrom, type UsePanelsideResult, } from './components/panelside/index.js';
|
|
47
49
|
export { Textarea, type TextareaProps } from './components/textarea/index.js';
|
|
48
50
|
export { Item, type ItemProps, type ItemGroupProps, type ItemSeparatorProps, type ItemMediaProps, type ItemContentProps, type ItemTitleProps, type ItemDescriptionProps, type ItemActionsProps, type ItemHeaderProps, type ItemFooterProps, } from './components/item/index.js';
|
|
49
51
|
export { Label, type LabelProps, type LabelTextProps } from './components/label/index.js';
|
|
@@ -82,7 +84,7 @@ export { Timeline, type TimelineProps, type TimelineItemProps, type TimelineIndi
|
|
|
82
84
|
export { Toast, ToastViewport, toast, useToast, type ToastProps, type ToastOptions, type ToastItem, type ToastVariant, type ToastPlacement, type ToastHandle, type ToastIndicatorProps, type ToastCloseProps, } from './components/toast/index.js';
|
|
83
85
|
export { Tooltip, type TooltipProps, type TooltipTriggerProps, type TooltipContentProps, type TooltipArrowProps, type TooltipTitleProps, type TooltipDescriptionProps, type TooltipPlacement, type TooltipAlign, type TooltipOpenOn, type TooltipVariant, } from './components/tooltip/index.js';
|
|
84
86
|
export { Typography, type TypographyProps, type TypographyType, type TypographyHeadingProps, type TypographyParagraphProps, type TypographyCodeProps, } from './components/typography/index.js';
|
|
85
|
-
export { AlertTriangleIcon, AppleIcon, ArrowDownIcon, ArrowUpIcon, ArrowUpRightIcon, BadgeCheckIcon, BellIcon, BookmarkIcon, CalendarIcon, CardIcon, CheckCircleIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleIcon, CompassIcon, CopyIcon, CrosshairIcon, DownloadIcon, EllipsisIcon, EyeIcon, FacebookIcon, FileIcon, GoogleIcon, HeartIcon, IconColorProvider, InfoIcon, ImageIcon, LinkIcon, ListChecksIcon, LockIcon, MaximizeIcon, MessageCircleIcon, MicIcon, MinusIcon, MoonIcon, PackageIcon, PaperclipIcon, PauseIcon, PencilIcon, PlayIcon, PlusIcon, PlusSquareIcon, ReceiptIcon, RepeatIcon, RotateCcwIcon, RotateCwIcon, SearchIcon, SendIcon, ShareNodesIcon, ShieldAlertIcon, ShieldCheckIcon, SparklesIcon, StarIcon, SunIcon, TrashIcon, UnlockIcon, XIcon, useIconColor, type IconProps, type ToggleIconProps, type BadgeCheckIconProps, } from './icons/index.js';
|
|
87
|
+
export { AlertTriangleIcon, AppleIcon, ArrowDownIcon, ArrowUpIcon, ArrowUpRightIcon, BadgeCheckIcon, BellIcon, BookmarkIcon, CalendarIcon, CardIcon, CheckCircleIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, CircleIcon, CompassIcon, CopyIcon, CrosshairIcon, DownloadIcon, EllipsisIcon, EyeIcon, FacebookIcon, FileIcon, GoogleIcon, HeartIcon, IconColorProvider, InfoIcon, ImageIcon, LinkIcon, ListChecksIcon, LockIcon, MaximizeIcon, MenuIcon, MessageCircleIcon, MicIcon, MinusIcon, MoonIcon, PackageIcon, PaperclipIcon, PauseIcon, PencilIcon, PlayIcon, PlusIcon, PlusSquareIcon, ReceiptIcon, RepeatIcon, RotateCcwIcon, RotateCwIcon, SearchIcon, SendIcon, ShareNodesIcon, ShieldAlertIcon, ShieldCheckIcon, SparklesIcon, StarIcon, SunIcon, TrashIcon, UnlockIcon, XIcon, useIconColor, type IconProps, type ToggleIconProps, type BadgeCheckIconProps, } from './icons/index.js';
|
|
86
88
|
export * from './hooks/index.js';
|
|
87
89
|
export { cn } from './utils/cn.js';
|
|
88
90
|
//# sourceMappingURL=index.d.ts.map
|