panelui-native 0.28.1 → 0.32.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +22 -3
- package/lib/module/components/calendar/index.js +450 -132
- package/lib/module/components/calendar/index.js.map +1 -1
- package/lib/module/components/code-block/highlight.js +363 -0
- package/lib/module/components/code-block/highlight.js.map +1 -0
- package/lib/module/components/code-block/index.js +313 -0
- package/lib/module/components/code-block/index.js.map +1 -0
- package/lib/module/components/date-picker/index.js +8 -1
- package/lib/module/components/date-picker/index.js.map +1 -1
- package/lib/module/components/heatmap-chart/index.js +9 -8
- package/lib/module/components/heatmap-chart/index.js.map +1 -1
- package/lib/module/components/map/index.js +50 -4
- package/lib/module/components/map/index.js.map +1 -1
- package/lib/module/components/menu/index.js +714 -0
- package/lib/module/components/menu/index.js.map +1 -0
- package/lib/module/components/plan/index.js +582 -0
- package/lib/module/components/plan/index.js.map +1 -0
- package/lib/module/components/popover/index.js +35 -4
- package/lib/module/components/popover/index.js.map +1 -1
- package/lib/module/components/post/index.js +992 -0
- package/lib/module/components/post/index.js.map +1 -0
- package/lib/module/components/radio-group/index.js +13 -8
- package/lib/module/components/radio-group/index.js.map +1 -1
- package/lib/module/components/reasoning/index.js +244 -0
- package/lib/module/components/reasoning/index.js.map +1 -0
- package/lib/module/components/response/index.js +296 -0
- package/lib/module/components/response/index.js.map +1 -0
- package/lib/module/components/response/markdown.js +463 -0
- package/lib/module/components/response/markdown.js.map +1 -0
- package/lib/module/components/select/index.js +97 -15
- package/lib/module/components/select/index.js.map +1 -1
- package/lib/module/components/sources/index.js +221 -0
- package/lib/module/components/sources/index.js.map +1 -0
- package/lib/module/components/table/index.js +632 -0
- package/lib/module/components/table/index.js.map +1 -0
- package/lib/module/components/task/index.js +300 -0
- package/lib/module/components/task/index.js.map +1 -0
- package/lib/module/components/textarea/index.js +295 -0
- package/lib/module/components/textarea/index.js.map +1 -0
- package/lib/module/components/tooltip/index.js +179 -23
- package/lib/module/components/tooltip/index.js.map +1 -1
- package/lib/module/icons/index.js +339 -0
- package/lib/module/icons/index.js.map +1 -1
- package/lib/module/index.js +12 -1
- package/lib/module/index.js.map +1 -1
- package/lib/module/primitives/collapse.js +112 -0
- package/lib/module/primitives/collapse.js.map +1 -0
- package/lib/module/utils/date.js +129 -22
- package/lib/module/utils/date.js.map +1 -1
- package/lib/typescript/src/components/calendar/index.d.ts +79 -5
- package/lib/typescript/src/components/calendar/index.d.ts.map +1 -1
- package/lib/typescript/src/components/code-block/highlight.d.ts +39 -0
- package/lib/typescript/src/components/code-block/highlight.d.ts.map +1 -0
- package/lib/typescript/src/components/code-block/index.d.ts +113 -0
- package/lib/typescript/src/components/code-block/index.d.ts.map +1 -0
- package/lib/typescript/src/components/date-picker/index.d.ts +7 -1
- package/lib/typescript/src/components/date-picker/index.d.ts.map +1 -1
- package/lib/typescript/src/components/heatmap-chart/index.d.ts.map +1 -1
- package/lib/typescript/src/components/map/index.d.ts +8 -1
- package/lib/typescript/src/components/map/index.d.ts.map +1 -1
- package/lib/typescript/src/components/menu/index.d.ts +261 -0
- package/lib/typescript/src/components/menu/index.d.ts.map +1 -0
- package/lib/typescript/src/components/plan/index.d.ts +238 -0
- package/lib/typescript/src/components/plan/index.d.ts.map +1 -0
- package/lib/typescript/src/components/popover/index.d.ts +35 -1
- package/lib/typescript/src/components/popover/index.d.ts.map +1 -1
- package/lib/typescript/src/components/post/index.d.ts +358 -0
- package/lib/typescript/src/components/post/index.d.ts.map +1 -0
- package/lib/typescript/src/components/radio-group/index.d.ts.map +1 -1
- package/lib/typescript/src/components/reasoning/index.d.ts +97 -0
- package/lib/typescript/src/components/reasoning/index.d.ts.map +1 -0
- package/lib/typescript/src/components/response/index.d.ts +91 -0
- package/lib/typescript/src/components/response/index.d.ts.map +1 -0
- package/lib/typescript/src/components/response/markdown.d.ts +88 -0
- package/lib/typescript/src/components/response/markdown.d.ts.map +1 -0
- package/lib/typescript/src/components/select/index.d.ts +27 -2
- package/lib/typescript/src/components/select/index.d.ts.map +1 -1
- package/lib/typescript/src/components/sources/index.d.ts +85 -0
- package/lib/typescript/src/components/sources/index.d.ts.map +1 -0
- package/lib/typescript/src/components/table/index.d.ts +274 -0
- package/lib/typescript/src/components/table/index.d.ts.map +1 -0
- package/lib/typescript/src/components/task/index.d.ts +103 -0
- package/lib/typescript/src/components/task/index.d.ts.map +1 -0
- package/lib/typescript/src/components/textarea/index.d.ts +175 -0
- package/lib/typescript/src/components/textarea/index.d.ts.map +1 -0
- package/lib/typescript/src/components/tooltip/index.d.ts +63 -8
- package/lib/typescript/src/components/tooltip/index.d.ts.map +1 -1
- package/lib/typescript/src/icons/index.d.ts +54 -1
- package/lib/typescript/src/icons/index.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +14 -3
- package/lib/typescript/src/index.d.ts.map +1 -1
- package/lib/typescript/src/primitives/collapse.d.ts +42 -0
- package/lib/typescript/src/primitives/collapse.d.ts.map +1 -0
- package/lib/typescript/src/utils/date.d.ts +49 -5
- package/lib/typescript/src/utils/date.d.ts.map +1 -1
- package/package.json +1 -1
- package/src/components/calendar/index.tsx +519 -139
- package/src/components/code-block/highlight.ts +278 -0
- package/src/components/code-block/index.tsx +341 -0
- package/src/components/date-picker/index.tsx +19 -1
- package/src/components/heatmap-chart/index.tsx +9 -9
- package/src/components/map/index.tsx +53 -4
- package/src/components/menu/index.tsx +812 -0
- package/src/components/plan/index.tsx +648 -0
- package/src/components/popover/index.tsx +69 -2
- package/src/components/post/index.tsx +1116 -0
- package/src/components/radio-group/index.tsx +11 -2
- package/src/components/reasoning/index.tsx +297 -0
- package/src/components/response/index.tsx +390 -0
- package/src/components/response/markdown.ts +489 -0
- package/src/components/select/index.tsx +132 -12
- package/src/components/sources/index.tsx +278 -0
- package/src/components/table/index.tsx +747 -0
- package/src/components/task/index.tsx +329 -0
- package/src/components/textarea/index.tsx +381 -0
- package/src/components/tooltip/index.tsx +203 -20
- package/src/icons/index.tsx +264 -1
- package/src/index.ts +131 -0
- package/src/primitives/collapse.tsx +128 -0
- package/src/utils/date.ts +146 -22
- package/theme.css +112 -0
|
@@ -0,0 +1,113 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* CodeBlock — a fenced snippet, syntax-coloured and scrolled sideways.
|
|
3
|
+
*
|
|
4
|
+
* Code does not wrap. Wrapping a line of code puts the continuation under the
|
|
5
|
+
* indentation and the two stop meaning different things, so the body scrolls
|
|
6
|
+
* horizontally instead — which on a phone is the only honest way to show a
|
|
7
|
+
* ninety-column line.
|
|
8
|
+
*
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <CodeBlock code={code} language="tsx">
|
|
11
|
+
* <CodeBlock.Header>
|
|
12
|
+
* <CodeBlock.Filename>calendar.tsx</CodeBlock.Filename>
|
|
13
|
+
* <CodeBlock.CopyButton />
|
|
14
|
+
* </CodeBlock.Header>
|
|
15
|
+
* </CodeBlock>
|
|
16
|
+
* ```
|
|
17
|
+
*
|
|
18
|
+
* ## Colouring
|
|
19
|
+
*
|
|
20
|
+
* The highlighter is a single pass of regex, shipped in the component, over the
|
|
21
|
+
* languages a chat actually streams. There is no grammar and no worker, because
|
|
22
|
+
* the alternative costs megabytes and has to run again on every frame of a
|
|
23
|
+
* stream. It gets keywords, strings, comments and numbers right in a twelve-line
|
|
24
|
+
* snippet and does not pretend to more; an unrecognised language renders as
|
|
25
|
+
* clean monospace rather than as a guess. Colours come from the theme's
|
|
26
|
+
* `--color-code-*` tokens, so a snippet follows light and dark like everything
|
|
27
|
+
* else.
|
|
28
|
+
*
|
|
29
|
+
* ## Where the props come from
|
|
30
|
+
*
|
|
31
|
+
* With the AI SDK, `code` and `language` are what you pull out of a fenced
|
|
32
|
+
* block in a text part, or the fields of a tool call that wrote a file.
|
|
33
|
+
*/
|
|
34
|
+
import { type ReactNode } from 'react';
|
|
35
|
+
import { type ViewProps } from 'react-native';
|
|
36
|
+
export interface CodeBlockProps extends Omit<ViewProps, 'children'> {
|
|
37
|
+
className?: string;
|
|
38
|
+
/** The snippet. */
|
|
39
|
+
code: string;
|
|
40
|
+
/**
|
|
41
|
+
* What it is written in. `ts`, `tsx`, `js`, `jsx`, `json`, `bash`, `python`,
|
|
42
|
+
* `css`, `html`, `sql`, `markdown` and `diff` are coloured, along with the
|
|
43
|
+
* usual spellings of each; anything else renders as plain monospace.
|
|
44
|
+
*/
|
|
45
|
+
language?: string;
|
|
46
|
+
/** Number the lines in a gutter down the leading edge. */
|
|
47
|
+
showLineNumbers?: boolean;
|
|
48
|
+
/** A header, and anything else that goes above the code. */
|
|
49
|
+
children?: ReactNode;
|
|
50
|
+
}
|
|
51
|
+
declare function CodeBlockRoot({ className, code, language, showLineNumbers, children, ...props }: CodeBlockProps): import("react").JSX.Element;
|
|
52
|
+
declare namespace CodeBlockRoot {
|
|
53
|
+
var displayName: string;
|
|
54
|
+
}
|
|
55
|
+
export interface CodeBlockHeaderProps extends ViewProps {
|
|
56
|
+
className?: string;
|
|
57
|
+
children?: ReactNode;
|
|
58
|
+
}
|
|
59
|
+
/** The bar above the code: what the file is, and what can be done with it. */
|
|
60
|
+
declare function CodeBlockHeader({ className, children, ...props }: CodeBlockHeaderProps): import("react").JSX.Element;
|
|
61
|
+
declare namespace CodeBlockHeader {
|
|
62
|
+
var displayName: string;
|
|
63
|
+
}
|
|
64
|
+
export interface CodeBlockFilenameProps extends ViewProps {
|
|
65
|
+
className?: string;
|
|
66
|
+
children?: ReactNode;
|
|
67
|
+
}
|
|
68
|
+
declare function CodeBlockFilename({ className, children, ...props }: CodeBlockFilenameProps): import("react").JSX.Element;
|
|
69
|
+
declare namespace CodeBlockFilename {
|
|
70
|
+
var displayName: string;
|
|
71
|
+
}
|
|
72
|
+
export interface CodeBlockLanguageProps extends ViewProps {
|
|
73
|
+
className?: string;
|
|
74
|
+
children?: ReactNode;
|
|
75
|
+
}
|
|
76
|
+
/** The language, for a block with no filename to name it by. */
|
|
77
|
+
declare function CodeBlockLanguage({ className, children, ...props }: CodeBlockLanguageProps): import("react").JSX.Element;
|
|
78
|
+
declare namespace CodeBlockLanguage {
|
|
79
|
+
var displayName: string;
|
|
80
|
+
}
|
|
81
|
+
export interface CodeBlockActionsProps extends ViewProps {
|
|
82
|
+
className?: string;
|
|
83
|
+
children?: ReactNode;
|
|
84
|
+
}
|
|
85
|
+
declare function CodeBlockActions({ className, children, ...props }: CodeBlockActionsProps): import("react").JSX.Element;
|
|
86
|
+
declare namespace CodeBlockActions {
|
|
87
|
+
var displayName: string;
|
|
88
|
+
}
|
|
89
|
+
export interface CodeBlockCopyButtonProps {
|
|
90
|
+
className?: string;
|
|
91
|
+
/** How long the tick stays up before turning back into the copy glyph. */
|
|
92
|
+
timeout?: number;
|
|
93
|
+
onCopy?: () => void;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* Copies the block's code.
|
|
97
|
+
*
|
|
98
|
+
* The tick is the whole feedback: there is no toast, because a snippet in a
|
|
99
|
+
* transcript is copied often and a notification for each one is noise.
|
|
100
|
+
*/
|
|
101
|
+
declare function CodeBlockCopyButton({ className, timeout, onCopy }: CodeBlockCopyButtonProps): import("react").JSX.Element;
|
|
102
|
+
declare namespace CodeBlockCopyButton {
|
|
103
|
+
var displayName: string;
|
|
104
|
+
}
|
|
105
|
+
export { resolveLanguage, type CodeLanguage, type Token, type TokenKind } from './highlight.js';
|
|
106
|
+
export declare const CodeBlock: typeof CodeBlockRoot & {
|
|
107
|
+
Header: typeof CodeBlockHeader;
|
|
108
|
+
Filename: typeof CodeBlockFilename;
|
|
109
|
+
Language: typeof CodeBlockLanguage;
|
|
110
|
+
Actions: typeof CodeBlockActions;
|
|
111
|
+
CopyButton: typeof CodeBlockCopyButton;
|
|
112
|
+
};
|
|
113
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/code-block/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;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C,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,sBAAsB,+BAOnF;kBAPQ,iBAAiB;;;AAS1B,MAAM,WAAW,qBAAsB,SAAQ,SAAS;IACtD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,iBAAS,gBAAgB,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,qBAAqB,+BAOjF;kBAPQ,gBAAgB;;;AASzB,MAAM,WAAW,wBAAwB;IACvC,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,0EAA0E;IAC1E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;CACrB;AAED;;;;;GAKG;AACH,iBAAS,mBAAmB,CAAC,EAAE,SAAS,EAAE,OAAc,EAAE,MAAM,EAAE,EAAE,wBAAwB,+BA0B3F;kBA1BQ,mBAAmB;;;AAkC5B,OAAO,EAAE,eAAe,EAAE,KAAK,YAAY,EAAE,KAAK,KAAK,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAa,CAAC;AAE7F,eAAO,MAAM,SAAS;;;;;;CAMpB,CAAC"}
|
|
@@ -57,12 +57,18 @@ export interface DatePickerProps<Mode extends DatePickerMode = 'single'> {
|
|
|
57
57
|
minDate?: Date;
|
|
58
58
|
/** Latest selectable day. */
|
|
59
59
|
maxDate?: Date;
|
|
60
|
+
/** Earliest month the `dropdown` caption offers. Defaults to `minDate`. */
|
|
61
|
+
startMonth?: Date;
|
|
62
|
+
/** Latest month the `dropdown` caption offers. Defaults to `maxDate`. */
|
|
63
|
+
endMonth?: Date;
|
|
60
64
|
/** Months side by side inside the panel. */
|
|
61
65
|
numberOfMonths?: number;
|
|
62
66
|
/** `dropdown` swaps the month caption for month and year pickers. */
|
|
63
67
|
captionLayout?: CalendarCaptionLayout;
|
|
64
68
|
/** `0` is Sunday. */
|
|
65
69
|
weekStartsOn?: number;
|
|
70
|
+
/** Let a tap on a neighbouring month's day select it. Off by default. */
|
|
71
|
+
selectOutsideDays?: boolean;
|
|
66
72
|
/** BCP 47 tag for the month and weekday names, and for the trigger's text. */
|
|
67
73
|
locale?: string;
|
|
68
74
|
/**
|
|
@@ -80,7 +86,7 @@ export interface DatePickerProps<Mode extends DatePickerMode = 'single'> {
|
|
|
80
86
|
onPress?: () => void;
|
|
81
87
|
}> | ReactNode;
|
|
82
88
|
}
|
|
83
|
-
declare function DatePickerRoot<Mode extends DatePickerMode = 'single'>({ mode, selected, defaultSelected, onSelect, open: openProp, onOpenChange, placeholder, format, presentation, disabled, disabledDates, minDate, maxDate, numberOfMonths, captionLayout, weekStartsOn, locale, calendar, className, children, }: DatePickerProps<Mode>): import("react").JSX.Element;
|
|
89
|
+
declare function DatePickerRoot<Mode extends DatePickerMode = 'single'>({ mode, selected, defaultSelected, onSelect, open: openProp, onOpenChange, placeholder, format, presentation, disabled, disabledDates, minDate, maxDate, startMonth, endMonth, numberOfMonths, captionLayout, weekStartsOn, selectOutsideDays, locale, calendar, className, children, }: DatePickerProps<Mode>): import("react").JSX.Element;
|
|
84
90
|
declare namespace DatePickerRoot {
|
|
85
91
|
var displayName: string;
|
|
86
92
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/date-picker/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA4BG;AACH,OAAO,EAAkC,KAAK,YAAY,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAK1F,OAAO,EAAsC,KAAK,cAAc,EAAE,MAAM,qBAAkB,CAAC;AAE3F,OAAO,EAEL,KAAK,qBAAqB,EAC1B,KAAK,gBAAgB,EACrB,KAAK,YAAY,EACjB,KAAK,iBAAiB,EAEvB,MAAM,sBAAa,CAAC;AACrB,OAAO,EAAW,KAAK,mBAAmB,EAAE,MA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AAI,SAAS,cAAc,GAAG,QAAQ,EAAE,EAC9D,IAAuB,EACvB,QAAQ,EACR,eAAe,EACf,QAAQ,EACR,IAAI,EAAE,QAAQ,EACd,YAAY,EACZ,WAAiC,EACjC,MAAM,EACN,YAAwB,EACxB,QAAgB,EAChB,aAAa,EACb,OAAO,EACP,OAAO,EACP,UAAU,EACV,QAAQ,EACR,cAAkB,EAClB,aAAuB,EACvB,YAAgB,EAChB,iBAAyB,EACzB,MAAM,EACN,QAAoB,EACpB,SAAS,EACT,QAAQ,GACT,EAAE,eAAe,CAAC,IAAI,CAAC,+BAyFvB;kBAjHQ,cAAc;;;AAoHvB,eAAO,MAAM,UAAU;;CAErB,CAAC"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/heatmap-chart/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,OAAO,EAUL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAc,IAAI,EAA0B,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/heatmap-chart/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,OAAO,EAUL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAc,IAAI,EAA0B,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAiFxF;;;;GAIG;AACH,KAAK,IAAI,GAAG,OAAO,GAAG,QAAQ,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,GAAG,QAAQ,CAAC;AAE3E,MAAM,MAAM,aAAa,GAAG,OAAO,GAAG,MAAM,CAAC;AAE7C,sDAAsD;AACtD,MAAM,WAAW,UAAU;IACzB,+CAA+C;IAC/C,GAAG,EAAE,MAAM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C"}
|
|
@@ -132,6 +132,13 @@ export interface MapLabelProps {
|
|
|
132
132
|
className?: string;
|
|
133
133
|
/** Which side of the marker the label sits on. */
|
|
134
134
|
side?: 'top' | 'bottom';
|
|
135
|
+
/** `sm` for a map carrying a lot of them, where the pills start to collide. */
|
|
136
|
+
size?: 'sm' | 'md';
|
|
137
|
+
/**
|
|
138
|
+
* How loud the label is. `muted` for codes and counts that support the map
|
|
139
|
+
* without being its subject; `primary` for the one place being pointed at.
|
|
140
|
+
*/
|
|
141
|
+
tone?: 'default' | 'muted' | 'primary';
|
|
135
142
|
}
|
|
136
143
|
/**
|
|
137
144
|
* A caption pinned to a marker. Always visible, unlike a popup — for the
|
|
@@ -146,7 +153,7 @@ export interface MapLabelProps {
|
|
|
146
153
|
* without widening the marker — a name is usually far wider than the dot it
|
|
147
154
|
* belongs to, and a box sized to the name would be anchored by the name.
|
|
148
155
|
*/
|
|
149
|
-
declare function MapLabel({ children, className, side }: MapLabelProps): import("react").JSX.Element;
|
|
156
|
+
declare function MapLabel({ children, className, side, size, tone, }: MapLabelProps): import("react").JSX.Element;
|
|
150
157
|
declare namespace MapLabel {
|
|
151
158
|
var displayName: string;
|
|
152
159
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/map/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GA8BG;AACH,OAAO,EAWL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAmB,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAM/D,OAAO,EAEL,YAAY,EACZ,KAAK,aAAa,EAClB,KAAK,aAAa,EACnB,MAAM,cAAW,CAAC;AACnB,OAAO,EACL,WAAW,EAEX,KAAK,SAAS,EACd,KAAK,MAAM,EACX,KAAK,YAAY,EACjB,KAAK,MAAM,EACX,KAAK,kBAAkB,EACvB,KAAK,SAAS,EACf,MAAM,eAA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X,OAAY,EACZ,OAAO,EACP,EAAc,GACf,EAAE,eAAe,sCA4DjB;kBApEQ,UAAU;;;AAuEnB,MAAM,WAAW,eAAe;IAC9B,gCAAgC;IAChC,IAAI,EAAE,OAAO,CAAC;IACd,yEAAyE;IACzE,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,0DAA0D;IAC1D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kCAAkC;IAClC,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,2EAA2E;IAC3E,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB,EAAE,CAAC,EAAE,MAAM,CAAC;CACb;AAED;;;;;;;;;;;;;;;;;GAiBG;AACH,iBAAS,UAAU,CAAC,EAClB,IAAI,EACJ,MAAM,EACN,MAAW,EACX,SAAa,EACb,OAAc,EACd,OAAY,EACZ,EAAc,GACf,EAAE,eAAe,sCAgEjB;kBAxEQ,UAAU;;;AA2EnB,MAAM,WAAW,oBAAoB;IACnC,iEAAiE;IACjE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,sDAAsD;IACtD,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB;AAED,wDAAwD;AACxD,iBAAS,eAAe,CAAC,EACvB,OAAe,EACf,QAAgB,GACjB,EAAE,oBAAoB,sCAItB;kBAPQ,eAAe;;;AAUxB,eAAO,MAAM,GAAG;;;;;;;;;;;CAWd,CAAC"}
|
|
@@ -0,0 +1,261 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Menu — the list of things you can do to something.
|
|
3
|
+
*
|
|
4
|
+
* It is not a Select, and the difference is what the rows *are*. A select's
|
|
5
|
+
* rows are values: picking one answers a question the form asked, and the
|
|
6
|
+
* trigger then shows the answer. A menu's rows are verbs — rename, duplicate,
|
|
7
|
+
* delete — and the trigger goes on saying the same thing afterwards, because
|
|
8
|
+
* nothing about it was chosen. Anything built out of a popover and a column of
|
|
9
|
+
* pressables ends up re-deriving that distinction by hand, and re-deriving the
|
|
10
|
+
* roles, the dismiss-on-select rule and the destructive colour with it.
|
|
11
|
+
*
|
|
12
|
+
* ```tsx
|
|
13
|
+
* <Menu>
|
|
14
|
+
* <Menu.Trigger>
|
|
15
|
+
* <Button variant="outline">Options</Button>
|
|
16
|
+
* </Menu.Trigger>
|
|
17
|
+
* <Menu.Content align="start">
|
|
18
|
+
* <Menu.Item icon={<PencilIcon size={16} />}>Rename</Menu.Item>
|
|
19
|
+
* <Menu.Separator />
|
|
20
|
+
* <Menu.Item variant="destructive" icon={<TrashIcon size={16} />}>
|
|
21
|
+
* Delete
|
|
22
|
+
* </Menu.Item>
|
|
23
|
+
* </Menu.Content>
|
|
24
|
+
* </Menu>
|
|
25
|
+
* ```
|
|
26
|
+
*
|
|
27
|
+
* The panel is a `Popover` underneath, so the menu inherits its measuring,
|
|
28
|
+
* flipping and edge-clamping rather than owning a second copy of them — a menu
|
|
29
|
+
* near the bottom of the screen opens upwards for the same reason a popover
|
|
30
|
+
* does, and `presentation="bottom-sheet"` moves the same rows into a sheet.
|
|
31
|
+
*
|
|
32
|
+
* Submenus expand in place rather than flying out sideways. A flyout needs a
|
|
33
|
+
* pointer to travel from the parent row to the child panel without crossing
|
|
34
|
+
* anything that would close it; a finger has no such path, and a second panel
|
|
35
|
+
* hanging off the first is usually the thing that pushes a menu off the edge
|
|
36
|
+
* of a phone. Opening downwards into the panel keeps every row under the
|
|
37
|
+
* thumb that opened it.
|
|
38
|
+
*/
|
|
39
|
+
import { type ReactElement, type ReactNode } from 'react';
|
|
40
|
+
import { type PressableProps, type ViewProps } from 'react-native';
|
|
41
|
+
import { type PopoverContentProps, type PopoverProps } from '../popover/index.js';
|
|
42
|
+
export type MenuItemVariant = 'default' | 'destructive';
|
|
43
|
+
export interface MenuProps extends PopoverProps {
|
|
44
|
+
/**
|
|
45
|
+
* Tick the haptic engine as a row is chosen. Needs the optional
|
|
46
|
+
* `expo-haptics`, and is silent without it.
|
|
47
|
+
*/
|
|
48
|
+
haptics?: boolean;
|
|
49
|
+
}
|
|
50
|
+
declare function MenuRoot({ children, open, onOpenChange, defaultOpen, haptics, ...props }: MenuProps): import("react").JSX.Element;
|
|
51
|
+
export interface MenuTriggerProps {
|
|
52
|
+
children: ReactElement<{
|
|
53
|
+
onPress?: (...args: unknown[]) => void;
|
|
54
|
+
}>;
|
|
55
|
+
}
|
|
56
|
+
/** Wraps a single child and opens the menu on press. Also what gets measured. */
|
|
57
|
+
declare function MenuTrigger({ children }: MenuTriggerProps): import("react").JSX.Element;
|
|
58
|
+
declare namespace MenuTrigger {
|
|
59
|
+
var displayName: string;
|
|
60
|
+
}
|
|
61
|
+
export interface MenuContentProps extends Omit<PopoverContentProps, 'children' | 'scrollable'> {
|
|
62
|
+
children?: ReactNode;
|
|
63
|
+
/**
|
|
64
|
+
* Scroll the rows when there are more of them than fit on screen. On by
|
|
65
|
+
* default, unlike the popover it is built on: a menu is a list, its length
|
|
66
|
+
* is usually a `map` over data rather than something written out by hand,
|
|
67
|
+
* and a row that cannot be reached is a row that may as well not exist.
|
|
68
|
+
*/
|
|
69
|
+
scrollable?: boolean;
|
|
70
|
+
}
|
|
71
|
+
/**
|
|
72
|
+
* The panel, and the thing screen readers announce as a menu.
|
|
73
|
+
*
|
|
74
|
+
* Its padding is the row gutter rather than the popover's content padding —
|
|
75
|
+
* rows run to the panel's inner edge so that a pressed row's highlight reads
|
|
76
|
+
* as part of the panel instead of a floating chip inside it.
|
|
77
|
+
*
|
|
78
|
+
* The surface is a layer rather than a background on the panel itself, so that
|
|
79
|
+
* a caller can put something *behind* the rows. Pass a `Menu.Background` of
|
|
80
|
+
* your own with a gradient, an image or a blur inside it and it replaces the
|
|
81
|
+
* default one; pass nothing and the default is drawn for you.
|
|
82
|
+
*/
|
|
83
|
+
declare function MenuContent({ className, children, scrollable, ...props }: MenuContentProps): import("react").JSX.Element;
|
|
84
|
+
declare namespace MenuContent {
|
|
85
|
+
var displayName: string;
|
|
86
|
+
}
|
|
87
|
+
export interface MenuBackgroundProps extends ViewProps {
|
|
88
|
+
className?: string;
|
|
89
|
+
/**
|
|
90
|
+
* What the panel is made of. A gradient, an image, a blur view — anything
|
|
91
|
+
* that fills. Left empty it is the plain overlay surface.
|
|
92
|
+
*/
|
|
93
|
+
children?: ReactNode;
|
|
94
|
+
}
|
|
95
|
+
/**
|
|
96
|
+
* The panel's surface, drawn behind every row.
|
|
97
|
+
*
|
|
98
|
+
* It exists as a part rather than as a background on the panel because a
|
|
99
|
+
* background cannot be got behind. A menu that wants to be frosted, tinted or
|
|
100
|
+
* gradient-filled needs something under the rows and over nothing, and
|
|
101
|
+
* `overflow-hidden` on the panel is what keeps whatever that is inside the
|
|
102
|
+
* corner radius.
|
|
103
|
+
*/
|
|
104
|
+
declare function MenuBackground({ className, children, ...props }: MenuBackgroundProps): import("react").JSX.Element;
|
|
105
|
+
declare namespace MenuBackground {
|
|
106
|
+
var displayName: string;
|
|
107
|
+
}
|
|
108
|
+
export interface MenuLabelProps extends ViewProps {
|
|
109
|
+
className?: string;
|
|
110
|
+
/** Line the text up with rows that carry an icon or an indicator. */
|
|
111
|
+
inset?: boolean;
|
|
112
|
+
children?: ReactNode;
|
|
113
|
+
}
|
|
114
|
+
/** Non-interactive heading over a run of rows. */
|
|
115
|
+
declare function MenuLabel({ className, inset, children, ...props }: MenuLabelProps): import("react").JSX.Element;
|
|
116
|
+
declare namespace MenuLabel {
|
|
117
|
+
var displayName: string;
|
|
118
|
+
}
|
|
119
|
+
export interface MenuSeparatorProps extends ViewProps {
|
|
120
|
+
className?: string;
|
|
121
|
+
}
|
|
122
|
+
/** Hairline between two runs of rows. */
|
|
123
|
+
declare function MenuSeparator({ className, ...props }: MenuSeparatorProps): import("react").JSX.Element;
|
|
124
|
+
declare namespace MenuSeparator {
|
|
125
|
+
var displayName: string;
|
|
126
|
+
}
|
|
127
|
+
export interface MenuItemProps extends Omit<PressableProps, 'children' | 'style'> {
|
|
128
|
+
className?: string;
|
|
129
|
+
/** The row's label. */
|
|
130
|
+
children?: ReactNode;
|
|
131
|
+
/** Leading glyph, drawn in the indicator column. */
|
|
132
|
+
icon?: ReactNode;
|
|
133
|
+
/** Second line under the label, for a row whose effect needs a sentence. */
|
|
134
|
+
description?: string;
|
|
135
|
+
/** Right-aligned hint, for a row that also has a keyboard or gesture shortcut. */
|
|
136
|
+
shortcut?: string;
|
|
137
|
+
/**
|
|
138
|
+
* Element pinned to the row's trailing edge, after the shortcut. For the
|
|
139
|
+
* things a shortcut string cannot be — a chevron, a badge, a small avatar.
|
|
140
|
+
*/
|
|
141
|
+
trailing?: ReactNode;
|
|
142
|
+
/** `destructive` colours the row for an action that removes something. */
|
|
143
|
+
variant?: MenuItemVariant;
|
|
144
|
+
/** Line the label up with rows that carry an icon, without drawing one. */
|
|
145
|
+
inset?: boolean;
|
|
146
|
+
disabled?: boolean;
|
|
147
|
+
/**
|
|
148
|
+
* Dismiss the menu once the row has run. Default true — a menu of verbs has
|
|
149
|
+
* done its job the moment one is chosen. Turn it off for a row that toggles
|
|
150
|
+
* something the user is likely to toggle twice.
|
|
151
|
+
*/
|
|
152
|
+
closeOnSelect?: boolean;
|
|
153
|
+
onSelect?: () => void;
|
|
154
|
+
}
|
|
155
|
+
/**
|
|
156
|
+
* One row of the menu.
|
|
157
|
+
*
|
|
158
|
+
* `onSelect` rather than `onPress` is the handler that closes the panel:
|
|
159
|
+
* `onPress` is still forwarded and still fires, so a row can keep whatever
|
|
160
|
+
* press behaviour it had, but the dismissal is tied to the semantic event so
|
|
161
|
+
* that a row which is disabled or which opts out via `closeOnSelect` behaves
|
|
162
|
+
* the same either way.
|
|
163
|
+
*/
|
|
164
|
+
declare function MenuItem({ className, children, icon, description, shortcut, trailing, variant, inset, disabled, closeOnSelect, onSelect, onPress, ...props }: MenuItemProps): import("react").JSX.Element;
|
|
165
|
+
declare namespace MenuItem {
|
|
166
|
+
var displayName: string;
|
|
167
|
+
}
|
|
168
|
+
export interface MenuCheckboxItemProps extends Omit<MenuItemProps, 'icon' | 'inset'> {
|
|
169
|
+
checked?: boolean;
|
|
170
|
+
onCheckedChange?: (checked: boolean) => void;
|
|
171
|
+
}
|
|
172
|
+
/**
|
|
173
|
+
* A row that carries a state instead of running an action.
|
|
174
|
+
*
|
|
175
|
+
* It keeps the menu open by default, which is the opposite of `Menu.Item` and
|
|
176
|
+
* deliberately so: a set of toggles is nearly always set more than one at a
|
|
177
|
+
* time, and closing after each one turns three taps into six.
|
|
178
|
+
*/
|
|
179
|
+
declare function MenuCheckboxItem({ checked, onCheckedChange, onSelect, closeOnSelect, ...props }: MenuCheckboxItemProps): import("react").JSX.Element;
|
|
180
|
+
declare namespace MenuCheckboxItem {
|
|
181
|
+
var displayName: string;
|
|
182
|
+
}
|
|
183
|
+
export interface MenuRadioGroupProps extends ViewProps {
|
|
184
|
+
className?: string;
|
|
185
|
+
value?: string;
|
|
186
|
+
onValueChange?: (value: string) => void;
|
|
187
|
+
children?: ReactNode;
|
|
188
|
+
}
|
|
189
|
+
/** A run of rows of which exactly one is chosen. */
|
|
190
|
+
declare function MenuRadioGroup({ value, onValueChange, className, children, ...props }: MenuRadioGroupProps): import("react").JSX.Element;
|
|
191
|
+
declare namespace MenuRadioGroup {
|
|
192
|
+
var displayName: string;
|
|
193
|
+
}
|
|
194
|
+
export type MenuRadioIndicator = 'check' | 'dot';
|
|
195
|
+
export interface MenuRadioItemProps extends Omit<MenuItemProps, 'icon' | 'inset'> {
|
|
196
|
+
value: string;
|
|
197
|
+
/** `check` marks the chosen row, `dot` is quieter beside a list of nouns. */
|
|
198
|
+
indicator?: MenuRadioIndicator;
|
|
199
|
+
}
|
|
200
|
+
/** One option inside a `Menu.RadioGroup`. */
|
|
201
|
+
declare function MenuRadioItem({ value, indicator, onSelect, closeOnSelect, ...props }: MenuRadioItemProps): import("react").JSX.Element;
|
|
202
|
+
declare namespace MenuRadioItem {
|
|
203
|
+
var displayName: string;
|
|
204
|
+
}
|
|
205
|
+
export interface MenuSubProps {
|
|
206
|
+
children?: ReactNode;
|
|
207
|
+
defaultOpen?: boolean;
|
|
208
|
+
open?: boolean;
|
|
209
|
+
onOpenChange?: (open: boolean) => void;
|
|
210
|
+
}
|
|
211
|
+
/** Groups a `Menu.SubTrigger` with the rows it reveals. */
|
|
212
|
+
declare function MenuSub({ children, defaultOpen, open, onOpenChange }: MenuSubProps): import("react").JSX.Element;
|
|
213
|
+
declare namespace MenuSub {
|
|
214
|
+
var displayName: string;
|
|
215
|
+
}
|
|
216
|
+
export interface MenuSubTriggerProps extends Omit<MenuItemProps, 'closeOnSelect' | 'shortcut' | 'trailing'> {
|
|
217
|
+
}
|
|
218
|
+
/**
|
|
219
|
+
* The row that opens a submenu.
|
|
220
|
+
*
|
|
221
|
+
* Its chevron points along the reading direction while closed and turns to
|
|
222
|
+
* point down once open, so the row states which way its rows will appear
|
|
223
|
+
* rather than only that it has some.
|
|
224
|
+
*/
|
|
225
|
+
declare function MenuSubTrigger({ className, children, icon, onSelect, ...props }: MenuSubTriggerProps): import("react").JSX.Element;
|
|
226
|
+
declare namespace MenuSubTrigger {
|
|
227
|
+
var displayName: string;
|
|
228
|
+
}
|
|
229
|
+
export interface MenuSubContentProps extends ViewProps {
|
|
230
|
+
className?: string;
|
|
231
|
+
children?: ReactNode;
|
|
232
|
+
}
|
|
233
|
+
/**
|
|
234
|
+
* The rows a submenu reveals, opening in place.
|
|
235
|
+
*
|
|
236
|
+
* The height is animated from a measurement rather than left to a layout
|
|
237
|
+
* animation, and the measured copy is absolutely positioned so it always lays
|
|
238
|
+
* out at its natural size — a child of a view whose height is mid-animation
|
|
239
|
+
* would otherwise report the animated height back, and the panel would settle
|
|
240
|
+
* at whatever it happened to measure on the first frame.
|
|
241
|
+
*/
|
|
242
|
+
declare function MenuSubContent({ className, children, ...props }: MenuSubContentProps): import("react").JSX.Element;
|
|
243
|
+
declare namespace MenuSubContent {
|
|
244
|
+
var displayName: string;
|
|
245
|
+
}
|
|
246
|
+
export declare const Menu: typeof MenuRoot & {
|
|
247
|
+
Trigger: typeof MenuTrigger;
|
|
248
|
+
Content: typeof MenuContent;
|
|
249
|
+
Background: typeof MenuBackground;
|
|
250
|
+
Label: typeof MenuLabel;
|
|
251
|
+
Item: typeof MenuItem;
|
|
252
|
+
CheckboxItem: typeof MenuCheckboxItem;
|
|
253
|
+
RadioGroup: typeof MenuRadioGroup;
|
|
254
|
+
RadioItem: typeof MenuRadioItem;
|
|
255
|
+
Separator: typeof MenuSeparator;
|
|
256
|
+
Sub: typeof MenuSub;
|
|
257
|
+
SubTrigger: typeof MenuSubTrigger;
|
|
258
|
+
SubContent: typeof MenuSubContent;
|
|
259
|
+
};
|
|
260
|
+
export {};
|
|
261
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/menu/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAqCG;AACH,OAAO,EASL,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAmB,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAcpF,OAAO,EAAW,KAAK,mBAAmB,EAAE,KAAK,YAAY,EAAE,MAAM,qBAAY,CAAC;AAsElF,MAAM,MAAM,eAAe,GAAG,SAAS,GAAG,aAAa,CAAC;AA8DxD,MAAM,WAAW,SAAU,SAAQ,YAAY;IAC7C;;;OAGG;IACH,OAAO,CAAC,EAAE,OAAO,CAAC;CACnB;AAED,iBAAS,QAAQ,CAAC,EAAE,QAAQ,EAAE,IAAI,EAAE,YAAY,EAAE,WAAW,EAAE,OAAe,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,+BAkCpG;AAED,MAAM,WAAW,gBAAgB;IAC/B,QAAQ,EAAE,YAAY,CAAC;QAAE,OAAO,CAAC,EAAE,CAAC,GAAG,IAAI,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