@jarllyng/nostromo 3.10.0 → 3.12.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 +1 -1
- package/dist/animations.css +29 -1
- package/dist/chunk-27UORO2F.cjs +3 -0
- package/dist/chunk-27UORO2F.cjs.map +1 -0
- package/dist/chunk-5N5KJBMP.js +3 -0
- package/dist/chunk-5N5KJBMP.js.map +1 -0
- package/dist/chunk-75OZKMEA.cjs +3 -0
- package/dist/chunk-75OZKMEA.cjs.map +1 -0
- package/dist/chunk-BDRP7ALG.cjs +3 -0
- package/dist/chunk-BDRP7ALG.cjs.map +1 -0
- package/dist/chunk-BJPJB6IA.cjs +3 -0
- package/dist/chunk-BJPJB6IA.cjs.map +1 -0
- package/dist/chunk-DB6MHAU3.cjs +3 -0
- package/dist/chunk-DB6MHAU3.cjs.map +1 -0
- package/dist/chunk-ERGAJKFH.cjs +3 -0
- package/dist/chunk-ERGAJKFH.cjs.map +1 -0
- package/dist/chunk-K45ZUJ42.js +3 -0
- package/dist/chunk-K45ZUJ42.js.map +1 -0
- package/dist/chunk-MINSU2YF.js +3 -0
- package/dist/chunk-MINSU2YF.js.map +1 -0
- package/dist/chunk-NM5NVIAK.js +3 -0
- package/dist/chunk-NM5NVIAK.js.map +1 -0
- package/dist/chunk-PLEQSJHY.js +3 -0
- package/dist/chunk-PLEQSJHY.js.map +1 -0
- package/dist/chunk-QESG3HCL.js +3 -0
- package/dist/chunk-QESG3HCL.js.map +1 -0
- package/dist/chunk-QQTI6OI3.js +3 -0
- package/dist/chunk-QQTI6OI3.js.map +1 -0
- package/dist/chunk-RKSTEJKG.cjs +3 -0
- package/dist/chunk-RKSTEJKG.cjs.map +1 -0
- package/dist/components/core/carousel.cjs +3 -0
- package/dist/components/core/carousel.cjs.map +1 -0
- package/dist/components/core/carousel.d.cts +71 -0
- package/dist/components/core/carousel.d.ts +71 -0
- package/dist/components/core/carousel.js +3 -0
- package/dist/components/core/carousel.js.map +1 -0
- package/dist/components/core/command.cjs +3 -0
- package/dist/components/core/command.cjs.map +1 -0
- package/dist/components/core/command.d.cts +169 -0
- package/dist/components/core/command.d.ts +169 -0
- package/dist/components/core/command.js +3 -0
- package/dist/components/core/command.js.map +1 -0
- package/dist/components/core/dialog.cjs +1 -1
- package/dist/components/core/dialog.d.cts +9 -0
- package/dist/components/core/dialog.d.ts +9 -0
- package/dist/components/core/dialog.js +1 -1
- package/dist/components/core/drawer.cjs +3 -0
- package/dist/components/core/drawer.cjs.map +1 -0
- package/dist/components/core/drawer.d.cts +70 -0
- package/dist/components/core/drawer.d.ts +70 -0
- package/dist/components/core/drawer.js +3 -0
- package/dist/components/core/drawer.js.map +1 -0
- package/dist/components/core/form.cjs +1 -1
- package/dist/components/core/form.js +1 -1
- package/dist/components/core/input-otp.cjs +3 -0
- package/dist/components/core/input-otp.cjs.map +1 -0
- package/dist/components/core/input-otp.d.cts +50 -0
- package/dist/components/core/input-otp.d.ts +50 -0
- package/dist/components/core/input-otp.js +3 -0
- package/dist/components/core/input-otp.js.map +1 -0
- package/dist/components/core/resizable.cjs +3 -0
- package/dist/components/core/resizable.cjs.map +1 -0
- package/dist/components/core/resizable.d.cts +362 -0
- package/dist/components/core/resizable.d.ts +362 -0
- package/dist/components/core/resizable.js +3 -0
- package/dist/components/core/resizable.js.map +1 -0
- package/dist/components/core/sidebar.cjs +3 -0
- package/dist/components/core/sidebar.cjs.map +1 -0
- package/dist/components/core/sidebar.d.cts +131 -0
- package/dist/components/core/sidebar.d.ts +131 -0
- package/dist/components/core/sidebar.js +3 -0
- package/dist/components/core/sidebar.js.map +1 -0
- package/dist/index.cjs +1 -1
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.css.map +1 -1
- package/dist/index.d.cts +34 -1
- package/dist/index.d.ts +34 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/themes/lv-426.css +22 -0
- package/dist/themes/mother.css +22 -0
- package/dist/themes/nostromo.css +22 -0
- package/dist/themes/sulaco.css +22 -0
- package/dist/tokens.css +12 -0
- package/package.json +93 -4
- package/dist/chunk-MY2KMTUS.js +0 -3
- package/dist/chunk-MY2KMTUS.js.map +0 -1
- package/dist/chunk-NBX6FKCA.cjs +0 -3
- package/dist/chunk-NBX6FKCA.cjs.map +0 -1
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { OTPInputProps } from 'input-otp';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* A one-time code, one character per box.
|
|
6
|
+
*
|
|
7
|
+
* There is exactly one `<input>`, stretched across the whole row and made
|
|
8
|
+
* invisible. The boxes are divs that read their character out of context. That
|
|
9
|
+
* is what makes paste, autofill, `autocomplete="one-time-code"`, backspace and
|
|
10
|
+
* mobile keyboards work: the browser sees a single ordinary text field. A row of
|
|
11
|
+
* six real inputs looks the same and gets all of that wrong.
|
|
12
|
+
*
|
|
13
|
+
* The consequence, and the one thing worth knowing: the caret you see is drawn
|
|
14
|
+
* by CSS, because the real caret is not where the boxes are.
|
|
15
|
+
*
|
|
16
|
+
* ## Slots are positional
|
|
17
|
+
*
|
|
18
|
+
* `InputOTPSlot` takes an `index`, and the indices must run 0..maxLength-1 in
|
|
19
|
+
* document order. Nothing enforces it, because the boxes are yours to arrange -
|
|
20
|
+
* `InputOTPSeparator` sits between groups, and the grouping is a visual choice
|
|
21
|
+
* that this component should not make for you.
|
|
22
|
+
*/
|
|
23
|
+
/**
|
|
24
|
+
* `containerClassName` styles the row of boxes; `className` styles the hidden
|
|
25
|
+
* input.
|
|
26
|
+
*
|
|
27
|
+
* A re-export rather than an interface of our own. The upstream type is a union
|
|
28
|
+
* - `render` or `children`, never both - and `interface extends` flattens a
|
|
29
|
+
* union into one object with every member optional, which would let both through
|
|
30
|
+
* at once. Same reason the props below are spread whole instead of destructured:
|
|
31
|
+
* `Omit` over a union collapses it too.
|
|
32
|
+
*/
|
|
33
|
+
type InputOTPProps = OTPInputProps;
|
|
34
|
+
declare const InputOTP: React.ForwardRefExoticComponent<OTPInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
35
|
+
/**
|
|
36
|
+
* One group of boxes.
|
|
37
|
+
*
|
|
38
|
+
* The boxes inside a group share borders, so the group reads as one field split
|
|
39
|
+
* into cells rather than as separate inputs.
|
|
40
|
+
*/
|
|
41
|
+
declare const InputOTPGroup: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
42
|
+
interface InputOTPSlotProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
43
|
+
/** Position in the code, from 0. Must match the order on screen. */
|
|
44
|
+
index: number;
|
|
45
|
+
}
|
|
46
|
+
declare const InputOTPSlot: React.ForwardRefExoticComponent<InputOTPSlotProps & React.RefAttributes<HTMLDivElement>>;
|
|
47
|
+
/** A gap between groups. Decorative, so it is hidden rather than announced. */
|
|
48
|
+
declare const InputOTPSeparator: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
49
|
+
|
|
50
|
+
export { InputOTP, InputOTPGroup, type InputOTPProps, InputOTPSeparator, InputOTPSlot, type InputOTPSlotProps };
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { OTPInputProps } from 'input-otp';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* A one-time code, one character per box.
|
|
6
|
+
*
|
|
7
|
+
* There is exactly one `<input>`, stretched across the whole row and made
|
|
8
|
+
* invisible. The boxes are divs that read their character out of context. That
|
|
9
|
+
* is what makes paste, autofill, `autocomplete="one-time-code"`, backspace and
|
|
10
|
+
* mobile keyboards work: the browser sees a single ordinary text field. A row of
|
|
11
|
+
* six real inputs looks the same and gets all of that wrong.
|
|
12
|
+
*
|
|
13
|
+
* The consequence, and the one thing worth knowing: the caret you see is drawn
|
|
14
|
+
* by CSS, because the real caret is not where the boxes are.
|
|
15
|
+
*
|
|
16
|
+
* ## Slots are positional
|
|
17
|
+
*
|
|
18
|
+
* `InputOTPSlot` takes an `index`, and the indices must run 0..maxLength-1 in
|
|
19
|
+
* document order. Nothing enforces it, because the boxes are yours to arrange -
|
|
20
|
+
* `InputOTPSeparator` sits between groups, and the grouping is a visual choice
|
|
21
|
+
* that this component should not make for you.
|
|
22
|
+
*/
|
|
23
|
+
/**
|
|
24
|
+
* `containerClassName` styles the row of boxes; `className` styles the hidden
|
|
25
|
+
* input.
|
|
26
|
+
*
|
|
27
|
+
* A re-export rather than an interface of our own. The upstream type is a union
|
|
28
|
+
* - `render` or `children`, never both - and `interface extends` flattens a
|
|
29
|
+
* union into one object with every member optional, which would let both through
|
|
30
|
+
* at once. Same reason the props below are spread whole instead of destructured:
|
|
31
|
+
* `Omit` over a union collapses it too.
|
|
32
|
+
*/
|
|
33
|
+
type InputOTPProps = OTPInputProps;
|
|
34
|
+
declare const InputOTP: React.ForwardRefExoticComponent<OTPInputProps & React.RefAttributes<HTMLInputElement>>;
|
|
35
|
+
/**
|
|
36
|
+
* One group of boxes.
|
|
37
|
+
*
|
|
38
|
+
* The boxes inside a group share borders, so the group reads as one field split
|
|
39
|
+
* into cells rather than as separate inputs.
|
|
40
|
+
*/
|
|
41
|
+
declare const InputOTPGroup: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
42
|
+
interface InputOTPSlotProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
43
|
+
/** Position in the code, from 0. Must match the order on screen. */
|
|
44
|
+
index: number;
|
|
45
|
+
}
|
|
46
|
+
declare const InputOTPSlot: React.ForwardRefExoticComponent<InputOTPSlotProps & React.RefAttributes<HTMLDivElement>>;
|
|
47
|
+
/** A gap between groups. Decorative, so it is hidden rather than announced. */
|
|
48
|
+
declare const InputOTPSeparator: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
49
|
+
|
|
50
|
+
export { InputOTP, InputOTPGroup, type InputOTPProps, InputOTPSeparator, InputOTPSlot, type InputOTPSlotProps };
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"input-otp.js"}
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
"use client";
|
|
2
|
+
'use strict';var chunk27UORO2F_cjs=require('../../chunk-27UORO2F.cjs');require('../../chunk-ITRGJNWL.cjs');Object.defineProperty(exports,"ResizableHandle",{enumerable:true,get:function(){return chunk27UORO2F_cjs.c}});Object.defineProperty(exports,"ResizablePanel",{enumerable:true,get:function(){return chunk27UORO2F_cjs.b}});Object.defineProperty(exports,"ResizablePanelGroup",{enumerable:true,get:function(){return chunk27UORO2F_cjs.a}});//# sourceMappingURL=resizable.cjs.map
|
|
3
|
+
//# sourceMappingURL=resizable.cjs.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":[],"names":[],"mappings":"","file":"resizable.cjs"}
|
|
@@ -0,0 +1,362 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import * as ResizablePrimitive from 'react-resizable-panels';
|
|
3
|
+
|
|
4
|
+
/**
|
|
5
|
+
* Panels the user can resize by dragging the divider between them: a file tree
|
|
6
|
+
* next to an editor, a list next to a preview.
|
|
7
|
+
*
|
|
8
|
+
* Thin wrappers over react-resizable-panels, which owns the sizing, the pointer
|
|
9
|
+
* and keyboard handling, and the ARIA on the divider. Only the look is ours.
|
|
10
|
+
*
|
|
11
|
+
* ## The group sizes itself, so size its parent
|
|
12
|
+
*
|
|
13
|
+
* The group sets `display`, `flex-direction`, `width: 100%` and `height: 100%`
|
|
14
|
+
* as *inline* styles. Inline styles beat classes, so `className="h-96"` on the
|
|
15
|
+
* group does nothing at all - a silent no-op, which is why it is written down
|
|
16
|
+
* here. Put the height on the element around the group, or pass
|
|
17
|
+
* `style={{ height: "24rem" }}`, which merges with the library's own.
|
|
18
|
+
*
|
|
19
|
+
* For the same reason there are no layout classes on `ResizablePanelGroup`
|
|
20
|
+
* below. `flex`, `w-full` and a flex-direction switch would all be overridden
|
|
21
|
+
* by the inline styles, and dead classes are worse than none.
|
|
22
|
+
*
|
|
23
|
+
* ## `aria-orientation` on the divider is the divider's own axis
|
|
24
|
+
*
|
|
25
|
+
* A horizontal group - panels side by side - has a *vertical* divider, so it
|
|
26
|
+
* reports `aria-orientation="vertical"`. The styling below reads it that way
|
|
27
|
+
* round: the default is a vertical hairline, and the `aria-[orientation=
|
|
28
|
+
* horizontal]` variants flip it to a horizontal one.
|
|
29
|
+
*
|
|
30
|
+
* ## A class on a panel lands on an inner element
|
|
31
|
+
*
|
|
32
|
+
* `ResizablePanel` renders a wrapper that the library controls with flex, and
|
|
33
|
+
* puts `className` on a child inside it. That is deliberate on their side: it
|
|
34
|
+
* keeps padding and borders from fighting the flex sizing. It does mean a
|
|
35
|
+
* background on a panel paints the inner box, which is what you want anyway.
|
|
36
|
+
*/
|
|
37
|
+
declare const ResizablePanelGroup: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & {
|
|
38
|
+
children?: React.ReactNode | undefined;
|
|
39
|
+
className?: string | undefined;
|
|
40
|
+
defaultLayout?: ResizablePrimitive.Layout | undefined;
|
|
41
|
+
disableCursor?: boolean | undefined;
|
|
42
|
+
disabled?: boolean | undefined;
|
|
43
|
+
elementRef?: React.Ref<HTMLDivElement | null> | undefined;
|
|
44
|
+
groupRef?: React.Ref<ResizablePrimitive.GroupImperativeHandle | null> | undefined;
|
|
45
|
+
id?: string | number | undefined;
|
|
46
|
+
onLayoutChange?: (layout: ResizablePrimitive.Layout) => void | undefined;
|
|
47
|
+
onLayoutChanged?: (layout: ResizablePrimitive.Layout, meta: ResizablePrimitive.LayoutChangedMeta) => void;
|
|
48
|
+
resizeTargetMinimumSize?: {
|
|
49
|
+
coarse: number;
|
|
50
|
+
fine: number;
|
|
51
|
+
};
|
|
52
|
+
orientation?: "horizontal" | "vertical" | undefined;
|
|
53
|
+
style?: React.CSSProperties | undefined;
|
|
54
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
55
|
+
declare const ResizablePanel: React.ForwardRefExoticComponent<{
|
|
56
|
+
className?: string | undefined | undefined;
|
|
57
|
+
defaultChecked?: boolean | undefined | undefined;
|
|
58
|
+
defaultValue?: string | number | readonly string[] | undefined;
|
|
59
|
+
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
60
|
+
suppressHydrationWarning?: boolean | undefined | undefined;
|
|
61
|
+
accessKey?: string | undefined | undefined;
|
|
62
|
+
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
63
|
+
autoFocus?: boolean | undefined | undefined;
|
|
64
|
+
contentEditable?: (boolean | "true" | "false") | "inherit" | "plaintext-only" | undefined;
|
|
65
|
+
contextMenu?: string | undefined | undefined;
|
|
66
|
+
dir?: string | undefined | undefined;
|
|
67
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
68
|
+
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
69
|
+
hidden?: boolean | undefined | undefined;
|
|
70
|
+
id?: string | undefined | undefined;
|
|
71
|
+
lang?: string | undefined | undefined;
|
|
72
|
+
nonce?: string | undefined | undefined;
|
|
73
|
+
slot?: string | undefined | undefined;
|
|
74
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
75
|
+
style?: React.CSSProperties | undefined;
|
|
76
|
+
tabIndex?: number | undefined | undefined;
|
|
77
|
+
title?: string | undefined | undefined;
|
|
78
|
+
translate?: "yes" | "no" | undefined | undefined;
|
|
79
|
+
radioGroup?: string | undefined | undefined;
|
|
80
|
+
role?: React.AriaRole | undefined;
|
|
81
|
+
about?: string | undefined | undefined;
|
|
82
|
+
content?: string | undefined | undefined;
|
|
83
|
+
datatype?: string | undefined | undefined;
|
|
84
|
+
inlist?: any;
|
|
85
|
+
prefix?: string | undefined | undefined;
|
|
86
|
+
property?: string | undefined | undefined;
|
|
87
|
+
rel?: string | undefined | undefined;
|
|
88
|
+
resource?: string | undefined | undefined;
|
|
89
|
+
rev?: string | undefined | undefined;
|
|
90
|
+
typeof?: string | undefined | undefined;
|
|
91
|
+
vocab?: string | undefined | undefined;
|
|
92
|
+
autoCorrect?: string | undefined | undefined;
|
|
93
|
+
autoSave?: string | undefined | undefined;
|
|
94
|
+
color?: string | undefined | undefined;
|
|
95
|
+
itemProp?: string | undefined | undefined;
|
|
96
|
+
itemScope?: boolean | undefined | undefined;
|
|
97
|
+
itemType?: string | undefined | undefined;
|
|
98
|
+
itemID?: string | undefined | undefined;
|
|
99
|
+
itemRef?: string | undefined | undefined;
|
|
100
|
+
results?: number | undefined | undefined;
|
|
101
|
+
security?: string | undefined | undefined;
|
|
102
|
+
unselectable?: "on" | "off" | undefined | undefined;
|
|
103
|
+
popover?: "" | "auto" | "manual" | "hint" | undefined | undefined;
|
|
104
|
+
popoverTargetAction?: "toggle" | "show" | "hide" | undefined | undefined;
|
|
105
|
+
popoverTarget?: string | undefined | undefined;
|
|
106
|
+
inert?: boolean | undefined | undefined;
|
|
107
|
+
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
108
|
+
is?: string | undefined | undefined;
|
|
109
|
+
exportparts?: string | undefined | undefined;
|
|
110
|
+
part?: string | undefined | undefined;
|
|
111
|
+
"aria-activedescendant"?: string | undefined | undefined;
|
|
112
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
113
|
+
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
114
|
+
"aria-braillelabel"?: string | undefined | undefined;
|
|
115
|
+
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
116
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
117
|
+
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
118
|
+
"aria-colcount"?: number | undefined | undefined;
|
|
119
|
+
"aria-colindex"?: number | undefined | undefined;
|
|
120
|
+
"aria-colindextext"?: string | undefined | undefined;
|
|
121
|
+
"aria-colspan"?: number | undefined | undefined;
|
|
122
|
+
"aria-controls"?: string | undefined | undefined;
|
|
123
|
+
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined | undefined;
|
|
124
|
+
"aria-describedby"?: string | undefined | undefined;
|
|
125
|
+
"aria-description"?: string | undefined | undefined;
|
|
126
|
+
"aria-details"?: string | undefined | undefined;
|
|
127
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
128
|
+
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
129
|
+
"aria-errormessage"?: string | undefined | undefined;
|
|
130
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
131
|
+
"aria-flowto"?: string | undefined | undefined;
|
|
132
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
133
|
+
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
134
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
135
|
+
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
136
|
+
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
137
|
+
"aria-label"?: string | undefined | undefined;
|
|
138
|
+
"aria-labelledby"?: string | undefined | undefined;
|
|
139
|
+
"aria-level"?: number | undefined | undefined;
|
|
140
|
+
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
141
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
142
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
143
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
144
|
+
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
145
|
+
"aria-owns"?: string | undefined | undefined;
|
|
146
|
+
"aria-placeholder"?: string | undefined | undefined;
|
|
147
|
+
"aria-posinset"?: number | undefined | undefined;
|
|
148
|
+
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
149
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
150
|
+
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
151
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
152
|
+
"aria-roledescription"?: string | undefined | undefined;
|
|
153
|
+
"aria-rowcount"?: number | undefined | undefined;
|
|
154
|
+
"aria-rowindex"?: number | undefined | undefined;
|
|
155
|
+
"aria-rowindextext"?: string | undefined | undefined;
|
|
156
|
+
"aria-rowspan"?: number | undefined | undefined;
|
|
157
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
158
|
+
"aria-setsize"?: number | undefined | undefined;
|
|
159
|
+
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
160
|
+
"aria-valuemax"?: number | undefined | undefined;
|
|
161
|
+
"aria-valuemin"?: number | undefined | undefined;
|
|
162
|
+
"aria-valuenow"?: number | undefined | undefined;
|
|
163
|
+
"aria-valuetext"?: string | undefined | undefined;
|
|
164
|
+
children?: React.ReactNode;
|
|
165
|
+
dangerouslySetInnerHTML?: {
|
|
166
|
+
__html: string | TrustedHTML;
|
|
167
|
+
} | undefined | undefined;
|
|
168
|
+
onCopy?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
169
|
+
onCopyCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
170
|
+
onCut?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
171
|
+
onCutCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
172
|
+
onPaste?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
173
|
+
onPasteCapture?: React.ClipboardEventHandler<HTMLDivElement> | undefined;
|
|
174
|
+
onCompositionEnd?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
175
|
+
onCompositionEndCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
176
|
+
onCompositionStart?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
177
|
+
onCompositionStartCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
178
|
+
onCompositionUpdate?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
179
|
+
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLDivElement> | undefined;
|
|
180
|
+
onFocus?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
181
|
+
onFocusCapture?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
182
|
+
onBlur?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
183
|
+
onBlurCapture?: React.FocusEventHandler<HTMLDivElement> | undefined;
|
|
184
|
+
onChange?: React.ChangeEventHandler<HTMLDivElement, Element> | undefined;
|
|
185
|
+
onChangeCapture?: React.ChangeEventHandler<HTMLDivElement, Element> | undefined;
|
|
186
|
+
onBeforeInput?: React.InputEventHandler<HTMLDivElement> | undefined;
|
|
187
|
+
onBeforeInputCapture?: React.InputEventHandler<HTMLDivElement> | undefined;
|
|
188
|
+
onInput?: React.InputEventHandler<HTMLDivElement> | undefined;
|
|
189
|
+
onInputCapture?: React.InputEventHandler<HTMLDivElement> | undefined;
|
|
190
|
+
onReset?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
191
|
+
onResetCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
192
|
+
onSubmit?: React.SubmitEventHandler<HTMLDivElement> | undefined;
|
|
193
|
+
onSubmitCapture?: React.SubmitEventHandler<HTMLDivElement> | undefined;
|
|
194
|
+
onInvalid?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
195
|
+
onInvalidCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
196
|
+
onLoad?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
197
|
+
onLoadCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
198
|
+
onError?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
199
|
+
onErrorCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
200
|
+
onKeyDown?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
201
|
+
onKeyDownCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
202
|
+
onKeyPress?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
203
|
+
onKeyPressCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
204
|
+
onKeyUp?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
205
|
+
onKeyUpCapture?: React.KeyboardEventHandler<HTMLDivElement> | undefined;
|
|
206
|
+
onAbort?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
207
|
+
onAbortCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
208
|
+
onCanPlay?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
209
|
+
onCanPlayCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
210
|
+
onCanPlayThrough?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
211
|
+
onCanPlayThroughCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
212
|
+
onDurationChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
213
|
+
onDurationChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
214
|
+
onEmptied?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
215
|
+
onEmptiedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
216
|
+
onEncrypted?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
217
|
+
onEncryptedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
218
|
+
onEnded?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
219
|
+
onEndedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
220
|
+
onLoadedData?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
221
|
+
onLoadedDataCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
222
|
+
onLoadedMetadata?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
223
|
+
onLoadedMetadataCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
224
|
+
onLoadStart?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
225
|
+
onLoadStartCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
226
|
+
onPause?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
227
|
+
onPauseCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
228
|
+
onPlay?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
229
|
+
onPlayCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
230
|
+
onPlaying?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
231
|
+
onPlayingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
232
|
+
onProgress?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
233
|
+
onProgressCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
234
|
+
onRateChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
235
|
+
onRateChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
236
|
+
onSeeked?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
237
|
+
onSeekedCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
238
|
+
onSeeking?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
239
|
+
onSeekingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
240
|
+
onStalled?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
241
|
+
onStalledCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
242
|
+
onSuspend?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
243
|
+
onSuspendCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
244
|
+
onTimeUpdate?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
245
|
+
onTimeUpdateCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
246
|
+
onVolumeChange?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
247
|
+
onVolumeChangeCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
248
|
+
onWaiting?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
249
|
+
onWaitingCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
250
|
+
onAuxClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
251
|
+
onAuxClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
252
|
+
onClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
253
|
+
onClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
254
|
+
onContextMenu?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
255
|
+
onContextMenuCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
256
|
+
onDoubleClick?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
257
|
+
onDoubleClickCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
258
|
+
onDrag?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
259
|
+
onDragCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
260
|
+
onDragEnd?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
261
|
+
onDragEndCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
262
|
+
onDragEnter?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
263
|
+
onDragEnterCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
264
|
+
onDragExit?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
265
|
+
onDragExitCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
266
|
+
onDragLeave?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
267
|
+
onDragLeaveCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
268
|
+
onDragOver?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
269
|
+
onDragOverCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
270
|
+
onDragStart?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
271
|
+
onDragStartCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
272
|
+
onDrop?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
273
|
+
onDropCapture?: React.DragEventHandler<HTMLDivElement> | undefined;
|
|
274
|
+
onMouseDown?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
275
|
+
onMouseDownCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
276
|
+
onMouseEnter?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
277
|
+
onMouseLeave?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
278
|
+
onMouseMove?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
279
|
+
onMouseMoveCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
280
|
+
onMouseOut?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
281
|
+
onMouseOutCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
282
|
+
onMouseOver?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
283
|
+
onMouseOverCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
284
|
+
onMouseUp?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
285
|
+
onMouseUpCapture?: React.MouseEventHandler<HTMLDivElement> | undefined;
|
|
286
|
+
onSelect?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
287
|
+
onSelectCapture?: React.ReactEventHandler<HTMLDivElement> | undefined;
|
|
288
|
+
onTouchCancel?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
289
|
+
onTouchCancelCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
290
|
+
onTouchEnd?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
291
|
+
onTouchEndCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
292
|
+
onTouchMove?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
293
|
+
onTouchMoveCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
294
|
+
onTouchStart?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
295
|
+
onTouchStartCapture?: React.TouchEventHandler<HTMLDivElement> | undefined;
|
|
296
|
+
onPointerDown?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
297
|
+
onPointerDownCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
298
|
+
onPointerMove?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
299
|
+
onPointerMoveCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
300
|
+
onPointerUp?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
301
|
+
onPointerUpCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
302
|
+
onPointerCancel?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
303
|
+
onPointerCancelCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
304
|
+
onPointerEnter?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
305
|
+
onPointerLeave?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
306
|
+
onPointerOver?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
307
|
+
onPointerOverCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
308
|
+
onPointerOut?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
309
|
+
onPointerOutCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
310
|
+
onGotPointerCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
311
|
+
onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
312
|
+
onLostPointerCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
313
|
+
onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLDivElement> | undefined;
|
|
314
|
+
onScroll?: React.UIEventHandler<HTMLDivElement> | undefined;
|
|
315
|
+
onScrollCapture?: React.UIEventHandler<HTMLDivElement> | undefined;
|
|
316
|
+
onScrollEnd?: React.UIEventHandler<HTMLDivElement> | undefined;
|
|
317
|
+
onScrollEndCapture?: React.UIEventHandler<HTMLDivElement> | undefined;
|
|
318
|
+
onWheel?: React.WheelEventHandler<HTMLDivElement> | undefined;
|
|
319
|
+
onWheelCapture?: React.WheelEventHandler<HTMLDivElement> | undefined;
|
|
320
|
+
onAnimationStart?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
321
|
+
onAnimationStartCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
322
|
+
onAnimationEnd?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
323
|
+
onAnimationEndCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
324
|
+
onAnimationIteration?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
325
|
+
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLDivElement> | undefined;
|
|
326
|
+
onToggle?: React.ToggleEventHandler<HTMLDivElement> | undefined;
|
|
327
|
+
onBeforeToggle?: React.ToggleEventHandler<HTMLDivElement> | undefined;
|
|
328
|
+
onTransitionCancel?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
329
|
+
onTransitionCancelCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
330
|
+
onTransitionEnd?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
331
|
+
onTransitionEndCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
332
|
+
onTransitionRun?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
333
|
+
onTransitionRunCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
334
|
+
onTransitionStart?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
335
|
+
onTransitionStartCapture?: React.TransitionEventHandler<HTMLDivElement> | undefined;
|
|
336
|
+
} & {
|
|
337
|
+
className?: string | undefined;
|
|
338
|
+
collapsedSize?: number | string | undefined;
|
|
339
|
+
collapsible?: boolean | undefined;
|
|
340
|
+
defaultSize?: number | string | undefined;
|
|
341
|
+
disabled?: boolean | undefined;
|
|
342
|
+
elementRef?: React.Ref<HTMLDivElement | null> | undefined;
|
|
343
|
+
groupResizeBehavior?: "preserve-relative-size" | "preserve-pixel-size" | undefined;
|
|
344
|
+
id?: string | number | undefined;
|
|
345
|
+
maxSize?: number | string | undefined;
|
|
346
|
+
minSize?: number | string | undefined;
|
|
347
|
+
onResize?: ((panelSize: ResizablePrimitive.PanelSize, id: string | number | undefined, prevPanelSize: ResizablePrimitive.PanelSize | undefined) => void) | undefined;
|
|
348
|
+
panelRef?: React.Ref<ResizablePrimitive.PanelImperativeHandle | null> | undefined;
|
|
349
|
+
style?: React.CSSProperties | undefined;
|
|
350
|
+
} & React.RefAttributes<HTMLDivElement>>;
|
|
351
|
+
interface ResizableHandleProps extends ResizablePrimitive.SeparatorProps {
|
|
352
|
+
/**
|
|
353
|
+
* Draw a grip on the divider.
|
|
354
|
+
*
|
|
355
|
+
* A one-pixel line is a small target and gives no hint that it can be
|
|
356
|
+
* dragged. The grip is worth it anywhere the divider is not obvious.
|
|
357
|
+
*/
|
|
358
|
+
withHandle?: boolean;
|
|
359
|
+
}
|
|
360
|
+
declare const ResizableHandle: React.ForwardRefExoticComponent<ResizableHandleProps & React.RefAttributes<HTMLDivElement>>;
|
|
361
|
+
|
|
362
|
+
export { ResizableHandle, type ResizableHandleProps, ResizablePanel, ResizablePanelGroup };
|