panelui-native 0.28.1 → 0.30.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 +18 -1
- package/lib/module/components/calendar/index.js +350 -115
- 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/menu/index.js +714 -0
- package/lib/module/components/menu/index.js.map +1 -0
- package/lib/module/components/plan/index.js +296 -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/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/sources/index.js +221 -0
- package/lib/module/components/sources/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 +139 -0
- package/lib/module/icons/index.js.map +1 -1
- package/lib/module/index.js +8 -0
- 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/typescript/src/components/calendar/index.d.ts +68 -3
- 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/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 +127 -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/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/sources/index.d.ts +85 -0
- package/lib/typescript/src/components/sources/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 +14 -0
- package/lib/typescript/src/icons/index.d.ts.map +1 -1
- package/lib/typescript/src/index.d.ts +10 -2
- 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/package.json +1 -1
- package/src/components/calendar/index.tsx +389 -122
- 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/menu/index.tsx +812 -0
- package/src/components/plan/index.tsx +325 -0
- package/src/components/popover/index.tsx +69 -2
- package/src/components/radio-group/index.tsx +11 -2
- package/src/components/reasoning/index.tsx +297 -0
- package/src/components/sources/index.tsx +278 -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 +102 -0
- package/src/index.ts +71 -0
- package/src/primitives/collapse.tsx +128 -0
- package/theme.css +112 -0
|
@@ -0,0 +1,85 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Sources — where an answer came from, folded under a count.
|
|
3
|
+
*
|
|
4
|
+
* A cited answer usually cites more places than anyone wants listed above it,
|
|
5
|
+
* so the list opens from a single line: "Used 6 sources". Folded is the resting
|
|
6
|
+
* state, unlike `Reasoning`, because a citation list is a thing you go and
|
|
7
|
+
* check rather than a thing you watch arrive.
|
|
8
|
+
*
|
|
9
|
+
* ```tsx
|
|
10
|
+
* <Sources>
|
|
11
|
+
* <Sources.Trigger count={sources.length} />
|
|
12
|
+
* <Sources.Content>
|
|
13
|
+
* {sources.map((source) => (
|
|
14
|
+
* <Sources.Source key={source.url} href={source.url} title={source.title} />
|
|
15
|
+
* ))}
|
|
16
|
+
* </Sources.Content>
|
|
17
|
+
* </Sources>
|
|
18
|
+
* ```
|
|
19
|
+
*
|
|
20
|
+
* ## Where the props come from
|
|
21
|
+
*
|
|
22
|
+
* With the AI SDK these are the `source-url` parts of an assistant message:
|
|
23
|
+
* `part.url` is the `href` and `part.title` the `title`. A part carries no
|
|
24
|
+
* title of its own when the model did not supply one, in which case the host
|
|
25
|
+
* of the URL is a better label than the whole of it.
|
|
26
|
+
*/
|
|
27
|
+
import { type ReactNode } from 'react';
|
|
28
|
+
import { type PressableProps, type ViewProps } from 'react-native';
|
|
29
|
+
export interface SourcesProps extends Omit<ViewProps, 'children'> {
|
|
30
|
+
className?: string;
|
|
31
|
+
/** Controlled open state. */
|
|
32
|
+
open?: boolean;
|
|
33
|
+
/** Initial state when uncontrolled. Folded, which is where a citation list belongs. */
|
|
34
|
+
defaultOpen?: boolean;
|
|
35
|
+
onOpenChange?: (open: boolean) => void;
|
|
36
|
+
children?: ReactNode;
|
|
37
|
+
}
|
|
38
|
+
declare function SourcesRoot({ className, open: openProp, defaultOpen, onOpenChange, children, ...props }: SourcesProps): import("react").JSX.Element;
|
|
39
|
+
declare namespace SourcesRoot {
|
|
40
|
+
var displayName: string;
|
|
41
|
+
}
|
|
42
|
+
export interface SourcesTriggerProps extends Omit<PressableProps, 'children' | 'style'> {
|
|
43
|
+
className?: string;
|
|
44
|
+
/** How many sources the list holds. Reads "Used 6 sources". */
|
|
45
|
+
count?: number;
|
|
46
|
+
/** Replaces the whole row. */
|
|
47
|
+
children?: ReactNode;
|
|
48
|
+
}
|
|
49
|
+
declare function SourcesTrigger({ className, count, children, onPress, ...props }: SourcesTriggerProps): import("react").JSX.Element;
|
|
50
|
+
declare namespace SourcesTrigger {
|
|
51
|
+
var displayName: string;
|
|
52
|
+
}
|
|
53
|
+
export interface SourcesContentProps extends Omit<ViewProps, 'children'> {
|
|
54
|
+
className?: string;
|
|
55
|
+
children?: ReactNode;
|
|
56
|
+
}
|
|
57
|
+
declare function SourcesContent({ className, children, ...props }: SourcesContentProps): import("react").JSX.Element;
|
|
58
|
+
declare namespace SourcesContent {
|
|
59
|
+
var displayName: string;
|
|
60
|
+
}
|
|
61
|
+
export interface SourcesSourceProps extends Omit<PressableProps, 'children' | 'style'> {
|
|
62
|
+
className?: string;
|
|
63
|
+
/** Where the row goes. Opened with the platform's own handler. */
|
|
64
|
+
href?: string;
|
|
65
|
+
/**
|
|
66
|
+
* What the row says. Falls back to the URL's host, which is a better label
|
|
67
|
+
* than a hundred characters of path — and models often send no title at all.
|
|
68
|
+
*/
|
|
69
|
+
title?: string;
|
|
70
|
+
/** Leading glyph. A link by default; a favicon suits a real citation list. */
|
|
71
|
+
icon?: ReactNode;
|
|
72
|
+
children?: ReactNode;
|
|
73
|
+
}
|
|
74
|
+
/** One citation. */
|
|
75
|
+
declare function SourcesSource({ className, href, title, icon, children, onPress, ...props }: SourcesSourceProps): import("react").JSX.Element;
|
|
76
|
+
declare namespace SourcesSource {
|
|
77
|
+
var displayName: string;
|
|
78
|
+
}
|
|
79
|
+
export declare const Sources: typeof SourcesRoot & {
|
|
80
|
+
Trigger: typeof SourcesTrigger;
|
|
81
|
+
Content: typeof SourcesContent;
|
|
82
|
+
Source: typeof SourcesSource;
|
|
83
|
+
};
|
|
84
|
+
export {};
|
|
85
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/sources/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;GAyBG;AACH,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAIL,KAAK,cAAc,EACnB,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAwCtB,MAAM,WAAW,YAAa,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAC/D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,6BAA6B;IAC7B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,uFAAuF;IACvF,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,IAAI,EAAE,QAAQ,EACd,WAAmB,EACnB,YAAY,EACZ,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,YAAY,+BAuBd;kBA9BQ,WAAW;;;AAiCpB,MAAM,WAAW,mBACf,SAAQ,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,OAAO,CAAC;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,+DAA+D;IAC/D,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,iBAAS,cAAc,CAAC,EACtB,SAAS,EACT,KAAS,EACT,QAAQ,EACR,OAAO,EACP,GAAG,KAAK,EACT,EAAE,mBAAmB,+BAyCrB;kBA/CQ,cAAc;;;AAiDvB,MAAM,WAAW,mBAAoB,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IACtE,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,iBAAS,cAAc,CAAC,EAAE,SAAS,EAAE,QAAQ,EAAE,GAAG,KAAK,EAAE,EAAE,mBAAmB,+BAS7E;kBATQ,cAAc;;;AAWvB,MAAM,WAAW,kBACf,SAAQ,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,OAAO,CAAC;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kEAAkE;IAClE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,8EAA8E;IAC9E,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,oBAAoB;AACpB,iBAAS,aAAa,CAAC,EACrB,SAAS,EACT,IAAI,EACJ,KAAK,EACL,IAAI,EACJ,QAAQ,EACR,OAAO,EACP,GAAG,KAAK,EACT,EAAE,kBAAkB,+BAgCpB;kBAxCQ,aAAa;;;AA2DtB,eAAO,MAAM,OAAO;;;;CAIlB,CAAC"}
|
|
@@ -0,0 +1,103 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Task — one step an agent took, and what it did while it was there.
|
|
3
|
+
*
|
|
4
|
+
* The header is the step; the body is the detail nobody reads unless something
|
|
5
|
+
* went wrong. Open by default, because a task that is running is the thing the
|
|
6
|
+
* reader is watching — and it stays open afterwards rather than folding itself
|
|
7
|
+
* away, because unlike a reasoning trace the steps are the record of what
|
|
8
|
+
* happened and are worth scrolling back through.
|
|
9
|
+
*
|
|
10
|
+
* ```tsx
|
|
11
|
+
* <Task status="running">
|
|
12
|
+
* <Task.Trigger title="Searching the codebase" />
|
|
13
|
+
* <Task.Content>
|
|
14
|
+
* <Task.Item>
|
|
15
|
+
* Read <Task.File>calendar/index.tsx</Task.File>
|
|
16
|
+
* </Task.Item>
|
|
17
|
+
* </Task.Content>
|
|
18
|
+
* </Task>
|
|
19
|
+
* ```
|
|
20
|
+
*
|
|
21
|
+
* ## Where the props come from
|
|
22
|
+
*
|
|
23
|
+
* With the AI SDK a task is a tool-call part: `part.type` is `tool-<name>` and
|
|
24
|
+
* `part.state` runs `input-streaming` → `input-available` → `output-available`
|
|
25
|
+
* or `output-error`. Those map onto `status` as pending, running, complete and
|
|
26
|
+
* error; `part.input` is usually what the body should say.
|
|
27
|
+
*/
|
|
28
|
+
import { type ReactNode } from 'react';
|
|
29
|
+
import { type PressableProps, type ViewProps } from 'react-native';
|
|
30
|
+
export type TaskStatus = 'pending' | 'running' | 'complete' | 'error';
|
|
31
|
+
export interface TaskProps extends Omit<ViewProps, 'children'> {
|
|
32
|
+
className?: string;
|
|
33
|
+
/**
|
|
34
|
+
* Where the step has got to. Drives the leading glyph, and puts a shimmer on
|
|
35
|
+
* the title while it is `running`.
|
|
36
|
+
*/
|
|
37
|
+
status?: TaskStatus;
|
|
38
|
+
/** Controlled open state. */
|
|
39
|
+
open?: boolean;
|
|
40
|
+
/** Initial state when uncontrolled. Open — the steps are the record. */
|
|
41
|
+
defaultOpen?: boolean;
|
|
42
|
+
onOpenChange?: (open: boolean) => void;
|
|
43
|
+
children?: ReactNode;
|
|
44
|
+
}
|
|
45
|
+
declare function TaskRoot({ className, status, open: openProp, defaultOpen, onOpenChange, children, ...props }: TaskProps): import("react").JSX.Element;
|
|
46
|
+
declare namespace TaskRoot {
|
|
47
|
+
var displayName: string;
|
|
48
|
+
}
|
|
49
|
+
export interface TaskTriggerProps extends Omit<PressableProps, 'children' | 'style'> {
|
|
50
|
+
className?: string;
|
|
51
|
+
/** What the step is. Shimmers while the status is `running`. */
|
|
52
|
+
title?: string;
|
|
53
|
+
/** Leading glyph. Derived from `status` when not given. */
|
|
54
|
+
icon?: ReactNode;
|
|
55
|
+
/** Replaces the whole row. */
|
|
56
|
+
children?: ReactNode;
|
|
57
|
+
}
|
|
58
|
+
declare function TaskTrigger({ className, title, icon, children, onPress, ...props }: TaskTriggerProps): import("react").JSX.Element;
|
|
59
|
+
declare namespace TaskTrigger {
|
|
60
|
+
var displayName: string;
|
|
61
|
+
}
|
|
62
|
+
export interface TaskContentProps extends Omit<ViewProps, 'children'> {
|
|
63
|
+
className?: string;
|
|
64
|
+
children?: ReactNode;
|
|
65
|
+
}
|
|
66
|
+
declare function TaskContent({ className, children, ...props }: TaskContentProps): import("react").JSX.Element;
|
|
67
|
+
declare namespace TaskContent {
|
|
68
|
+
var displayName: string;
|
|
69
|
+
}
|
|
70
|
+
export interface TaskItemProps extends Omit<ViewProps, 'children'> {
|
|
71
|
+
className?: string;
|
|
72
|
+
children?: ReactNode;
|
|
73
|
+
}
|
|
74
|
+
/** One line of what the step did. */
|
|
75
|
+
declare function TaskItem({ className, children, ...props }: TaskItemProps): import("react").JSX.Element;
|
|
76
|
+
declare namespace TaskItem {
|
|
77
|
+
var displayName: string;
|
|
78
|
+
}
|
|
79
|
+
export interface TaskFileProps extends Omit<ViewProps, 'children'> {
|
|
80
|
+
className?: string;
|
|
81
|
+
/** A glyph for the file's kind, drawn before the name. */
|
|
82
|
+
icon?: ReactNode;
|
|
83
|
+
children?: ReactNode;
|
|
84
|
+
}
|
|
85
|
+
/**
|
|
86
|
+
* A filename inside a line, drawn as a chip.
|
|
87
|
+
*
|
|
88
|
+
* Bordered rather than merely monospaced, because a path in the middle of a
|
|
89
|
+
* sentence is otherwise indistinguishable from the sentence — and the paths
|
|
90
|
+
* are the part of a task line anyone actually scans for.
|
|
91
|
+
*/
|
|
92
|
+
declare function TaskFile({ className, icon, children, ...props }: TaskFileProps): import("react").JSX.Element;
|
|
93
|
+
declare namespace TaskFile {
|
|
94
|
+
var displayName: string;
|
|
95
|
+
}
|
|
96
|
+
export declare const Task: typeof TaskRoot & {
|
|
97
|
+
Trigger: typeof TaskTrigger;
|
|
98
|
+
Content: typeof TaskContent;
|
|
99
|
+
Item: typeof TaskItem;
|
|
100
|
+
File: typeof TaskFile;
|
|
101
|
+
};
|
|
102
|
+
export {};
|
|
103
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/task/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;GA0BG;AACH,OAAO,EAOL,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAAmB,KAAK,cAAc,EAAE,KAAK,SAAS,EAAE,MAAM,cAAc,CAAC;AAqBpF,MAAM,MAAM,UAAU,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,OAAO,CAAC;AA8CtE,MAAM,WAAW,SAAU,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAC5D,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB;;;OAGG;IACH,MAAM,CAAC,EAAE,UAAU,CAAC;IACpB,6BAA6B;IAC7B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,wEAAwE;IACxE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,QAAQ,CAAC,EAAE,SAAS,CAAC;CACtB;AAED,iBAAS,QAAQ,CAAC,EAChB,SAAS,EACT,MAAmB,EACnB,IAAI,EAAE,QAAQ,EACd,WAAkB,EAClB,YAAY,EACZ,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,SAAS,+BAuBX;kBA/BQ,QAAQ;;;AAkCjB,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,cAAc,EAAE,UAAU,GAAG,OAAO,CAAC;IAClF,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,gEAAgE;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1,175 @@
|
|
|
1
|
+
import { TextInput, type TextInputProps } from 'react-native';
|
|
2
|
+
import { type VariantProps } from 'tailwind-variants';
|
|
3
|
+
import type { KeyboardAvoidanceMode } from '../../hooks/use-keyboard-avoidance.js';
|
|
4
|
+
declare const textareaVariants: import("tailwind-variants").TVReturnType<{
|
|
5
|
+
variant: {
|
|
6
|
+
outline: {
|
|
7
|
+
field: string;
|
|
8
|
+
};
|
|
9
|
+
filled: {
|
|
10
|
+
field: string;
|
|
11
|
+
};
|
|
12
|
+
};
|
|
13
|
+
size: {
|
|
14
|
+
sm: {
|
|
15
|
+
field: string;
|
|
16
|
+
};
|
|
17
|
+
md: {
|
|
18
|
+
field: string;
|
|
19
|
+
};
|
|
20
|
+
lg: {
|
|
21
|
+
field: string;
|
|
22
|
+
};
|
|
23
|
+
};
|
|
24
|
+
disabled: {
|
|
25
|
+
true: {
|
|
26
|
+
field: string;
|
|
27
|
+
};
|
|
28
|
+
};
|
|
29
|
+
/** Past the limit the counter is the error, so it is tinted like one. */
|
|
30
|
+
over: {
|
|
31
|
+
true: {
|
|
32
|
+
count: string;
|
|
33
|
+
};
|
|
34
|
+
};
|
|
35
|
+
}, {
|
|
36
|
+
container: string;
|
|
37
|
+
field: string;
|
|
38
|
+
footer: string;
|
|
39
|
+
description: string;
|
|
40
|
+
error: string;
|
|
41
|
+
count: string;
|
|
42
|
+
}, undefined, {
|
|
43
|
+
variant: {
|
|
44
|
+
outline: {
|
|
45
|
+
field: string;
|
|
46
|
+
};
|
|
47
|
+
filled: {
|
|
48
|
+
field: string;
|
|
49
|
+
};
|
|
50
|
+
};
|
|
51
|
+
size: {
|
|
52
|
+
sm: {
|
|
53
|
+
field: string;
|
|
54
|
+
};
|
|
55
|
+
md: {
|
|
56
|
+
field: string;
|
|
57
|
+
};
|
|
58
|
+
lg: {
|
|
59
|
+
field: string;
|
|
60
|
+
};
|
|
61
|
+
};
|
|
62
|
+
disabled: {
|
|
63
|
+
true: {
|
|
64
|
+
field: string;
|
|
65
|
+
};
|
|
66
|
+
};
|
|
67
|
+
/** Past the limit the counter is the error, so it is tinted like one. */
|
|
68
|
+
over: {
|
|
69
|
+
true: {
|
|
70
|
+
count: string;
|
|
71
|
+
};
|
|
72
|
+
};
|
|
73
|
+
}, {
|
|
74
|
+
container: string;
|
|
75
|
+
field: string;
|
|
76
|
+
footer: string;
|
|
77
|
+
description: string;
|
|
78
|
+
error: string;
|
|
79
|
+
count: string;
|
|
80
|
+
}, import("tailwind-variants").TVReturnType<{
|
|
81
|
+
variant: {
|
|
82
|
+
outline: {
|
|
83
|
+
field: string;
|
|
84
|
+
};
|
|
85
|
+
filled: {
|
|
86
|
+
field: string;
|
|
87
|
+
};
|
|
88
|
+
};
|
|
89
|
+
size: {
|
|
90
|
+
sm: {
|
|
91
|
+
field: string;
|
|
92
|
+
};
|
|
93
|
+
md: {
|
|
94
|
+
field: string;
|
|
95
|
+
};
|
|
96
|
+
lg: {
|
|
97
|
+
field: string;
|
|
98
|
+
};
|
|
99
|
+
};
|
|
100
|
+
disabled: {
|
|
101
|
+
true: {
|
|
102
|
+
field: string;
|
|
103
|
+
};
|
|
104
|
+
};
|
|
105
|
+
/** Past the limit the counter is the error, so it is tinted like one. */
|
|
106
|
+
over: {
|
|
107
|
+
true: {
|
|
108
|
+
count: string;
|
|
109
|
+
};
|
|
110
|
+
};
|
|
111
|
+
}, {
|
|
112
|
+
container: string;
|
|
113
|
+
field: string;
|
|
114
|
+
footer: string;
|
|
115
|
+
description: string;
|
|
116
|
+
error: string;
|
|
117
|
+
count: string;
|
|
118
|
+
}, undefined, unknown, unknown, undefined>>;
|
|
119
|
+
type TextareaVariantProps = VariantProps<typeof textareaVariants>;
|
|
120
|
+
export interface TextareaProps extends Omit<TextInputProps, 'multiline' | 'numberOfLines'>, Omit<TextareaVariantProps, 'disabled' | 'over'> {
|
|
121
|
+
className?: string;
|
|
122
|
+
containerClassName?: string;
|
|
123
|
+
label?: string;
|
|
124
|
+
description?: string;
|
|
125
|
+
/** Error message. When set, the field renders in its invalid state. */
|
|
126
|
+
errorMessage?: string;
|
|
127
|
+
/** Marks the field required — an asterisk on the label, and the a11y state. */
|
|
128
|
+
isRequired?: boolean;
|
|
129
|
+
disabled?: boolean;
|
|
130
|
+
/** How many lines of text the field is tall before it scrolls or grows. */
|
|
131
|
+
rows?: number;
|
|
132
|
+
/**
|
|
133
|
+
* Grow with the text, one line at a time, up to `maxRows` — after which the
|
|
134
|
+
* field holds its height and scrolls instead. Without it the field stays at
|
|
135
|
+
* `rows` and scrolls from the first line past it.
|
|
136
|
+
*/
|
|
137
|
+
autoGrow?: boolean;
|
|
138
|
+
/** The tallest `autoGrow` will go. Ignored without it. */
|
|
139
|
+
maxRows?: number;
|
|
140
|
+
/**
|
|
141
|
+
* Show how much of `maxLength` is used, under the field. Needs `maxLength`;
|
|
142
|
+
* a counter with no limit to count towards says nothing.
|
|
143
|
+
*/
|
|
144
|
+
showCount?: boolean;
|
|
145
|
+
/**
|
|
146
|
+
* Keep the field clear of the software keyboard. Moves by exactly the
|
|
147
|
+
* overlap, and not at all when the field is already clear — or when the
|
|
148
|
+
* keyboard belongs to a different field. The overlap is re-read every frame
|
|
149
|
+
* while the field is focused, so the field keeps its place in the page as it
|
|
150
|
+
* scrolls under and back out of the keyboard.
|
|
151
|
+
*
|
|
152
|
+
* Install `react-native-keyboard-controller` for this to behave on Android.
|
|
153
|
+
*
|
|
154
|
+
* Do not toggle this at runtime — it changes which component renders the
|
|
155
|
+
* container, which would remount the field and drop focus.
|
|
156
|
+
*/
|
|
157
|
+
avoidKeyboard?: boolean;
|
|
158
|
+
/**
|
|
159
|
+
* How the field gets clear. `lift` moves it up by its overlap and follows
|
|
160
|
+
* the scroll — right for a field in the flow of a page. `dock` makes it
|
|
161
|
+
* travel with the keyboard, for a composer already pinned near the bottom
|
|
162
|
+
* edge; pair it with `keyboardBottomInset`.
|
|
163
|
+
*/
|
|
164
|
+
keyboardMode?: KeyboardAvoidanceMode;
|
|
165
|
+
/** Gap kept between the field and the keyboard. `keyboardMode="lift"` only. */
|
|
166
|
+
keyboardOffset?: number;
|
|
167
|
+
/**
|
|
168
|
+
* How far above the bottom edge the field already sits — usually the safe
|
|
169
|
+
* area inset. `keyboardMode="dock"` only.
|
|
170
|
+
*/
|
|
171
|
+
keyboardBottomInset?: number;
|
|
172
|
+
}
|
|
173
|
+
export declare const Textarea: import("react").ForwardRefExoticComponent<TextareaProps & import("react").RefAttributes<TextInput>>;
|
|
174
|
+
export {};
|
|
175
|
+
//# sourceMappingURL=index.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/textarea/index.tsx"],"names":[],"mappings":"AAsBA,OAAO,EACL,SAAS,EAIT,KAAK,cAAc,EACpB,MAAM,cAAc,CAAC;AAOtB,OAAO,EAAM,KAAK,YAAY,EAAE,MAAM,mBAAmB,CAAC;AAE1D,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,uCAAoC,CAAC;AAsBhF,QAAA,MAAM,gBAAgB;;;;;;;;;;;;;;;;;;;;;;;;;IA8BlB,yEAAyE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAzE,yEAAyE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;IAAzE,yEAAyE;;;;;;;;;;;;;2CAS3E,CAAC;AAEH,KAAK,oBAAoB,GAAG,YAAY,CAAC,OAAO,gBAAgB,CAAC,CAAC;AAElE,MAAM,WAAW,aACf,SAAQ,IAAI,CAAC,cAAc,EAAE,WAAW,GAAG,eAAe,CAAC,EACzD,IAAI,CAAC,oBAAoB,EAAE,UAAU,GAAG,MAAM,CAAC;IACjD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,uEAAuE;IACvE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,+EAA+E;IAC/E,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,2EAA2E;IAC3E,IAAI,CAAC,EAAE,MAAM,CAAC;IACd;;;;OAIG;IACH,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,0DAA0D;IAC1D,OAAO,CAAC,EAAE,MAAM,CAAC;IACjB;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB;;;;;;;;;;;OAWG;IACH,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB;;;;;OAKG;IACH,YAAY,CAAC,EAAE,qBAAqB,CAAC;IACrC,+EAA+E;IAC/E,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB;;;OAGG;IACH,mBAAmB,CAAC,EAAE,MAAM,CAAC;CAC9B;AAID,eAAO,MAAM,QAAQ,qGA0NpB,CAAC"}
|
|
@@ -3,9 +3,15 @@
|
|
|
3
3
|
*
|
|
4
4
|
* A popover is a panel you open and deal with; a tooltip is a whisper. It
|
|
5
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
|
|
7
|
-
*
|
|
8
|
-
*
|
|
6
|
+
* screen, and goes away on its own. That is why it is inverted by default, why
|
|
7
|
+
* it is not dismissible with a scrim, and why it closes after a beat instead of
|
|
8
|
+
* waiting to be told.
|
|
9
|
+
*
|
|
10
|
+
* The inversion is a default rather than a rule, because the whisper has a
|
|
11
|
+
* larger sibling: a tooltip that carries a heading and a sentence stops reading
|
|
12
|
+
* as a different layer and starts reading as a panel with the wrong colours.
|
|
13
|
+
* `variant="surface"` makes it one, and the sizing props — `width`,
|
|
14
|
+
* `minWidth`, `maxHeight`, `scrollable` — are what let it hold that much.
|
|
9
15
|
*
|
|
10
16
|
* On touch there is no hover to open it, so the gesture is a long press by
|
|
11
17
|
* default — the platform's own "tell me more" gesture — with `openOn="press"`
|
|
@@ -33,6 +39,7 @@ import { type ViewProps } from 'react-native';
|
|
|
33
39
|
import { type TextProps } from '../../primitives/text.js';
|
|
34
40
|
export type TooltipPlacement = 'top' | 'bottom' | 'left' | 'right';
|
|
35
41
|
export type TooltipAlign = 'start' | 'center' | 'end';
|
|
42
|
+
export type TooltipVariant = 'inverted' | 'surface';
|
|
36
43
|
export type TooltipOpenOn = 'longPress' | 'press';
|
|
37
44
|
export interface TooltipProps {
|
|
38
45
|
children: ReactNode;
|
|
@@ -98,9 +105,58 @@ export interface TooltipContentProps extends ViewProps {
|
|
|
98
105
|
offset?: number;
|
|
99
106
|
/** Nudge along the alignment axis, in pixels. */
|
|
100
107
|
alignOffset?: number;
|
|
108
|
+
/**
|
|
109
|
+
* Which set of colours the panel, its arrow and its text draw from.
|
|
110
|
+
*
|
|
111
|
+
* `inverted` is the default and right for a label: a whisper over the page
|
|
112
|
+
* should read as a different layer rather than as another panel of it.
|
|
113
|
+
* `surface` matches the popover — reach for it once the tooltip carries a
|
|
114
|
+
* heading and a sentence, where the inversion stops reading as a whisper.
|
|
115
|
+
*/
|
|
116
|
+
variant?: TooltipVariant;
|
|
117
|
+
/**
|
|
118
|
+
* `content-fit` sizes to the content, `trigger` matches the trigger's width,
|
|
119
|
+
* `full` spans the safe area, and a number is that many pixels. Worth setting
|
|
120
|
+
* for anything longer than a label, which would otherwise run to whatever
|
|
121
|
+
* width the sentence happens to want.
|
|
122
|
+
*/
|
|
123
|
+
width?: number | 'trigger' | 'full' | 'content-fit';
|
|
124
|
+
/** Floor for the panel's width, in pixels. */
|
|
125
|
+
minWidth?: number;
|
|
126
|
+
/**
|
|
127
|
+
* Ceiling for the panel's height, in pixels. Always clamped to the room
|
|
128
|
+
* inside the safe area, which is also the default.
|
|
129
|
+
*/
|
|
130
|
+
maxHeight?: number;
|
|
131
|
+
/**
|
|
132
|
+
* Scroll the body when it is taller than `maxHeight`. Off by default — a
|
|
133
|
+
* label has nothing to scroll, and a scroller around one only adds a bounce.
|
|
134
|
+
*/
|
|
135
|
+
scrollable?: boolean;
|
|
101
136
|
children?: ReactNode;
|
|
102
137
|
}
|
|
103
|
-
declare function TooltipContent({ className, placement, align, offset, alignOffset, children, onLayout: onLayoutProp, style, ...props }: TooltipContentProps): import("react").JSX.Element | null;
|
|
138
|
+
declare function TooltipContent({ className, placement, align, offset, alignOffset, variant, width, minWidth, maxHeight, scrollable, children, onLayout: onLayoutProp, style, ...props }: TooltipContentProps): import("react").JSX.Element | null;
|
|
139
|
+
/** The label's default text, coloured to whatever the panel is made of. */
|
|
140
|
+
declare function TooltipText({ className, ...props }: TextProps): import("react").JSX.Element;
|
|
141
|
+
declare namespace TooltipText {
|
|
142
|
+
var displayName: string;
|
|
143
|
+
}
|
|
144
|
+
export interface TooltipTitleProps extends TextProps {
|
|
145
|
+
className?: string;
|
|
146
|
+
}
|
|
147
|
+
/** A heading, for a tooltip carrying more than a label. */
|
|
148
|
+
declare function TooltipTitle({ className, ...props }: TooltipTitleProps): import("react").JSX.Element;
|
|
149
|
+
declare namespace TooltipTitle {
|
|
150
|
+
var displayName: string;
|
|
151
|
+
}
|
|
152
|
+
export interface TooltipDescriptionProps extends TextProps {
|
|
153
|
+
className?: string;
|
|
154
|
+
}
|
|
155
|
+
/** The sentence under a `Tooltip.Title`, in the panel's secondary colour. */
|
|
156
|
+
declare function TooltipDescription({ className, ...props }: TooltipDescriptionProps): import("react").JSX.Element;
|
|
157
|
+
declare namespace TooltipDescription {
|
|
158
|
+
var displayName: string;
|
|
159
|
+
}
|
|
104
160
|
export interface TooltipArrowProps extends ViewProps {
|
|
105
161
|
className?: string;
|
|
106
162
|
}
|
|
@@ -116,10 +172,9 @@ export declare const Tooltip: typeof TooltipRoot & {
|
|
|
116
172
|
Trigger: typeof TooltipTrigger;
|
|
117
173
|
Content: typeof TooltipContent;
|
|
118
174
|
Arrow: typeof TooltipArrow;
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
};
|
|
175
|
+
Title: typeof TooltipTitle;
|
|
176
|
+
Description: typeof TooltipDescription;
|
|
177
|
+
Text: typeof TooltipText;
|
|
123
178
|
};
|
|
124
179
|
export {};
|
|
125
180
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/tooltip/index.tsx"],"names":[],"mappings":"AAAA
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../../src/components/tooltip/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAmCG;AACH,OAAO,EAWL,KAAK,YAAY,EACjB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AACf,OAAO,EAML,KAAK,SAAS,EACf,MAAM,cAAc,CAAC;AAYtB,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;AACtD,MAAM,MAAM,cAAc,GAAG,UAAU,GAAG,SAAS,CAAC;AAgFpD,MAAM,MAAM,aAAa,GAAG,WAAW,GAAG,OAAO,CAAC;AAYlD,MAAM,WAAW,YAAY;IAC3B,QAAQ,EAAE,SAAS,CAAC;IACpB,6BAA6B;IAC7B,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,YAAY,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACvC,uCAAuC;IACvC,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB;;;OAGG;IACH,MAAM,CAAC,EAAE,aAAa,CAAC;IACvB;;;OAGG;IACH,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB;;;;OAIG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,iBAAS,WAAW,CAAC,EACn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,SAAS,EACT,SAAiB,EACjB,KAAgB,EAChB,MAAuB,EACvB,WAAe,EACf,OAAoB,EACpB,KAAqB,EACrB,QAAQ,EACR,SAAS,EACT,UAAkB,EAClB,QAAQ,EACR,QAAQ,EAAE,YAAY,EACtB,KAAK,EACL,GAAG,KAAK,EACT,EAAE,mBAAmB,sCA+LrB;AAaD,2EAA2E;AAC3E,iBAAS,WAAW,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,SAAS,+BAKtD;kBALQ,WAAW;;;AAUpB,MAAM,WAAW,iBAAkB,SAAQ,SAAS;IAClD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,2DAA2D;AAC3D,iBAAS,YAAY,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,iBAAiB,+BAO/D;kBAPQ,YAAY;;;AASrB,MAAM,WAAW,uBAAwB,SAAQ,SAAS;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAED,6EAA6E;AAC7E,iBAAS,kBAAkB,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,uBAAuB,+BAK3E;kBALQ,kBAAkB;;;AAO3B,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,sCAkCtE;AAmGD,eAAO,MAAM,OAAO;;;;;;;CAOlB,CAAC"}
|
|
@@ -120,4 +120,18 @@ export declare function CompassIcon({ size, color, ...props }: IconProps): impor
|
|
|
120
120
|
export declare function LockIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
121
121
|
/** The same padlock with its shackle swung open — freely movable. */
|
|
122
122
|
export declare function UnlockIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
123
|
+
/**
|
|
124
|
+
* Four-pointed sparkles. The mark for a model doing something on your behalf —
|
|
125
|
+
* a reasoning step, a generated plan — where a gear or a brain reads as
|
|
126
|
+
* machinery rather than as assistance.
|
|
127
|
+
*/
|
|
128
|
+
export declare function SparklesIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
129
|
+
/** Two stacked sheets — the copy action, paired with CheckIcon once it has run. */
|
|
130
|
+
export declare function CopyIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
131
|
+
/** Two links of a chain, for a row that opens somewhere outside the app. */
|
|
132
|
+
export declare function LinkIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
133
|
+
/** A list with its items ticked off — a plan, or a run of steps. */
|
|
134
|
+
export declare function ListChecksIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
135
|
+
/** A hollow ring, for a step that has not started. */
|
|
136
|
+
export declare function CircleIcon({ size, color, ...props }: IconProps): import("react").JSX.Element;
|
|
123
137
|
//# sourceMappingURL=index.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/icons/index.tsx"],"names":[],"mappings":"AAAA;;;;;;;;;;;;;;;;;GAiBG;AACH,OAAO,EAA6B,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAClE,OAAY,EAAmB,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AAGvE,MAAM,WAAW,SAAU,SAAQ,QAAQ;IACzC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAYD,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,QAAQ,GACT,EAAE;IACD,KAAK,EAAE,MAAM,GAAG,SAAS,CAAC;IAC1B,QAAQ,EAAE,SAAS,CAAC;CACrB,+BAEA;AAED,gEAAgE;AAChE,wBAAgB,YAAY,IAAI,MAAM,GAAG,SAAS,CAEjD;AAkBD,wBAAgB,SAAS,CAAC,EAAE,IAAS,EAAE,KA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portal.js';
|
|
4
4
|
export { Scrim, hasBlur, type ScrimProps } from './primitives/scrim.js';
|
|
5
5
|
export { Text, type TextProps } from './primitives/text.js';
|
|
6
|
+
export { Collapse, type CollapseProps } from './primitives/collapse.js';
|
|
6
7
|
export { KeyboardAvoider, type KeyboardAvoiderProps, } from './primitives/keyboard-avoider.js';
|
|
7
8
|
export { AnimatedPressable, type AnimatedPressableProps, } from './primitives/animated-pressable.js';
|
|
8
9
|
export { ScrollProgress, useScrollProgress, type ScrollProgressProps, type ScrollProgressValue, } from './primitives/scroll-progress.js';
|
|
@@ -31,7 +32,7 @@ export { Select, type SelectProps, type SelectItemProps, type SelectPresentation
|
|
|
31
32
|
export { SectionRail, type SectionRailProps, type SectionRailTriggerProps, type SectionRailBarProps, type SectionRailContentProps, type SectionRailItemProps, type SectionRailPlacement, type SectionRailAlign, } from './components/section-rail/index.js';
|
|
32
33
|
export { Tabs, type TabsProps, type TabsListProps, type TabsTriggerProps, type TabsContentProps, } from './components/tabs/index.js';
|
|
33
34
|
export { Carousel, useCarouselState, type CarouselProps, type CarouselHandle, type CarouselContentProps, type CarouselItemProps, type CarouselCaptionProps, type CarouselDotsProps, type CarouselArrowProps, type CarouselControlsProps, type CarouselVariant, type CarouselOrientation, type CarouselAlign, } from './components/carousel/index.js';
|
|
34
|
-
export { Calendar, type CalendarProps, type CalendarMode, type CalendarCaptionLayout, type CalendarDisabled, type CalendarSelection, type DateRange, } from './components/calendar/index.js';
|
|
35
|
+
export { Calendar, type CalendarProps, type CalendarHeaderProps, type CalendarNavProps, type CalendarMode, type CalendarCaptionLayout, type CalendarDisabled, type CalendarSelection, type DateRange, } from './components/calendar/index.js';
|
|
35
36
|
export { Card, type CardProps } from './components/card/index.js';
|
|
36
37
|
export { Checkbox, type CheckboxProps } from './components/checkbox/index.js';
|
|
37
38
|
export { Chip, useChip, type ChipProps, type ChipLabelProps, type ChipVariant, type ChipSize, } from './components/chip/index.js';
|
|
@@ -42,11 +43,13 @@ export { Input, type InputProps } from './components/input/index.js';
|
|
|
42
43
|
export { InputGroup, type InputGroupProps, type InputGroupInputProps, type InputGroupDecoratorProps, } from './components/input-group/index.js';
|
|
43
44
|
export { NumberInput, type NumberInputProps, } from './components/number-input/index.js';
|
|
44
45
|
export { OtpInput, type OtpInputProps } from './components/otp-input/index.js';
|
|
46
|
+
export { Textarea, type TextareaProps } from './components/textarea/index.js';
|
|
45
47
|
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';
|
|
46
48
|
export { Label, type LabelProps, type LabelTextProps } from './components/label/index.js';
|
|
47
49
|
export { LineChart, useLineChart, type LineChartProps, type LineChartHandle, type LineChartHeaderProps, type LineChartGridProps, type LineChartLineProps, type LineChartAreaProps, type LineChartSkeletonProps, type LineChartXAxisProps, type LineChartTooltipProps, type LineChartLegendProps, type LineChartDatum, type LineChartStatus, type LineChartCurve, } from './components/line-chart/index.js';
|
|
48
50
|
export { Loader, type LoaderProps, type LoaderVariant, type LoaderSize, } from './components/loader/index.js';
|
|
49
51
|
export { Marker, type MarkerProps, type MarkerIconProps, type MarkerContentProps, } from './components/marker/index.js';
|
|
52
|
+
export { Menu, type MenuProps, type MenuTriggerProps, type MenuContentProps, type MenuBackgroundProps, type MenuLabelProps, type MenuItemProps, type MenuCheckboxItemProps, type MenuRadioGroupProps, type MenuRadioItemProps, type MenuSeparatorProps, type MenuSubProps, type MenuSubTriggerProps, type MenuSubContentProps, type MenuItemVariant, type MenuRadioIndicator, } from './components/menu/index.js';
|
|
50
53
|
export { MessageScroller, useMessageScroller, useMessageScrollerVisibility, type MessageScrollerProps, type MessageScrollerViewportProps, type MessageScrollerContentProps, type MessageScrollerItemProps, type MessageScrollerButtonProps, type MessageScrollerPosition, } from './components/message-scroller/index.js';
|
|
51
54
|
export { Message, type MessageProps, type MessageGroupProps, type MessageAvatarProps, type MessageContentProps, type MessageHeaderProps, type MessageBubbleProps, type MessageBubbleContentProps, type MessageFooterProps, type MessageActionsProps, } from './components/message/index.js';
|
|
52
55
|
export { Popover, type PopoverProps, type PopoverTriggerProps, type PopoverContentProps, type PopoverArrowProps, type PopoverCloseProps, type PopoverPlacement, type PopoverAlign, type PopoverPresentation, } from './components/popover/index.js';
|
|
@@ -58,6 +61,11 @@ export { ScrollFade, type ScrollFadeProps, } from './components/scroll-fade/inde
|
|
|
58
61
|
export { Separator, type SeparatorProps } from './components/separator/index.js';
|
|
59
62
|
export { Signature, hasSignatureFileSystem, hasSignatureRaster, type SignatureProps, type SignatureHandle, type SignatureFile, type SignatureSaveOptions, type SignatureToolbarProps, type SignatureButtonProps, } from './components/signature/index.js';
|
|
60
63
|
export { Shimmer, type ShimmerProps } from './components/shimmer/index.js';
|
|
64
|
+
export { Reasoning, type ReasoningProps, type ReasoningTriggerProps, type ReasoningContentProps, } from './components/reasoning/index.js';
|
|
65
|
+
export { Sources, type SourcesProps, type SourcesTriggerProps, type SourcesContentProps, type SourcesSourceProps, } from './components/sources/index.js';
|
|
66
|
+
export { Task, type TaskProps, type TaskTriggerProps, type TaskContentProps, type TaskItemProps, type TaskFileProps, type TaskStatus, } from './components/task/index.js';
|
|
67
|
+
export { CodeBlock, resolveLanguage, type CodeBlockProps, type CodeBlockHeaderProps, type CodeBlockFilenameProps, type CodeBlockLanguageProps, type CodeBlockActionsProps, type CodeBlockCopyButtonProps, type CodeLanguage, type Token, type TokenKind, } from './components/code-block/index.js';
|
|
68
|
+
export { Plan, type PlanProps, type PlanHeaderProps, type PlanTitleProps, type PlanDescriptionProps, type PlanActionProps, type PlanTriggerProps, type PlanContentProps, type PlanFooterProps, } from './components/plan/index.js';
|
|
61
69
|
export { ScrollText, type ScrollTextProps, type ScrollTextEffect, type ScrollTextSplit, } from './components/scroll-text/index.js';
|
|
62
70
|
export { ScrollCanvas, type ScrollCanvasProps, type ScrollCanvasEffect, } from './components/scroll-canvas/index.js';
|
|
63
71
|
export { ThinkingOrb, type ThinkingOrbProps, type ThinkingOrbState, } from './components/thinking-orb/index.js';
|
|
@@ -69,7 +77,7 @@ export { Surface, type SurfaceProps } from './components/surface/index.js';
|
|
|
69
77
|
export { Switch, type SwitchProps } from './components/switch/index.js';
|
|
70
78
|
export { Timeline, type TimelineProps, type TimelineItemProps, type TimelineIndicatorProps, type TimelineStatProps, type TimelineVariant, type TimelineTone, } from './components/timeline/index.js';
|
|
71
79
|
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';
|
|
72
|
-
export { Tooltip, type TooltipProps, type TooltipTriggerProps, type TooltipContentProps, type TooltipArrowProps, type TooltipPlacement, type TooltipAlign, type TooltipOpenOn, } from './components/tooltip/index.js';
|
|
80
|
+
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';
|
|
73
81
|
export { Typography, type TypographyProps, type TypographyType, type TypographyHeadingProps, type TypographyParagraphProps, type TypographyCodeProps, } from './components/typography/index.js';
|
|
74
82
|
export { AlertTriangleIcon, AppleIcon, ArrowUpRightIcon, BellIcon, BookmarkIcon, CalendarIcon, CardIcon, CheckCircleIcon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, DownloadIcon, EllipsisIcon, FacebookIcon, FileIcon, GoogleIcon, IconColorProvider, InfoIcon, ImageIcon, LockIcon, MaximizeIcon, MicIcon, MinusIcon, MoonIcon, PackageIcon, PaperclipIcon, PauseIcon, PencilIcon, PlayIcon, PlusIcon, PlusSquareIcon, ReceiptIcon, RotateCcwIcon, SearchIcon, SendIcon, ShareNodesIcon, ShieldAlertIcon, ShieldCheckIcon, SunIcon, TrashIcon, UnlockIcon, XIcon, useIconColor, type IconProps, } from './icons/index.js';
|
|
75
83
|
export * from './hooks/index.js';
|