@editora/ui-react 0.1.5 → 0.1.6
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/dist/components/Accordion.d.ts +6 -1
- package/dist/components/Accordion.d.ts.map +1 -1
- package/dist/components/Alert.d.ts +14 -2
- package/dist/components/Alert.d.ts.map +1 -1
- package/dist/components/AlertDialog.d.ts +19 -2
- package/dist/components/AlertDialog.d.ts.map +1 -1
- package/dist/components/AlertDialogProvider.d.ts +3 -2
- package/dist/components/AlertDialogProvider.d.ts.map +1 -1
- package/dist/components/Anchor.d.ts +9 -0
- package/dist/components/Anchor.d.ts.map +1 -0
- package/dist/components/AppHeader.d.ts +31 -1
- package/dist/components/AppHeader.d.ts.map +1 -1
- package/dist/components/AspectRatio.d.ts +6 -0
- package/dist/components/AspectRatio.d.ts.map +1 -1
- package/dist/components/Avatar.d.ts +4 -3
- package/dist/components/Avatar.d.ts.map +1 -1
- package/dist/components/Badge.d.ts +3 -2
- package/dist/components/Badge.d.ts.map +1 -1
- package/dist/components/BlockControls.d.ts +4 -2
- package/dist/components/BlockControls.d.ts.map +1 -1
- package/dist/components/Box.d.ts +1 -1
- package/dist/components/Box.d.ts.map +1 -1
- package/dist/components/Breadcrumb.d.ts +4 -2
- package/dist/components/Breadcrumb.d.ts.map +1 -1
- package/dist/components/Button.d.ts +3 -0
- package/dist/components/Button.d.ts.map +1 -1
- package/dist/components/Card.d.ts +33 -0
- package/dist/components/Card.d.ts.map +1 -0
- package/dist/components/Chart.d.ts +39 -17
- package/dist/components/Chart.d.ts.map +1 -1
- package/dist/components/Collection.d.ts +20 -0
- package/dist/components/Collection.d.ts.map +1 -0
- package/dist/components/Command.d.ts +15 -0
- package/dist/components/Command.d.ts.map +1 -0
- package/dist/components/CommandPalette.d.ts +43 -270
- package/dist/components/CommandPalette.d.ts.map +1 -1
- package/dist/components/ContextMenu.d.ts +7 -3
- package/dist/components/ContextMenu.d.ts.map +1 -1
- package/dist/components/DateField.d.ts +44 -0
- package/dist/components/DateField.d.ts.map +1 -0
- package/dist/components/DismissableLayer.d.ts +41 -0
- package/dist/components/DismissableLayer.d.ts.map +1 -0
- package/dist/components/Dropdown.d.ts +37 -3
- package/dist/components/Dropdown.d.ts.map +1 -1
- package/dist/components/FieldSemantics.d.ts +77 -0
- package/dist/components/FieldSemantics.d.ts.map +1 -0
- package/dist/components/FileUpload.d.ts +76 -0
- package/dist/components/FileUpload.d.ts.map +1 -0
- package/dist/components/FocusScope.d.ts +29 -0
- package/dist/components/FocusScope.d.ts.map +1 -0
- package/dist/components/InlineEdit.d.ts +43 -0
- package/dist/components/InlineEdit.d.ts.map +1 -0
- package/dist/components/Listbox.d.ts +21 -0
- package/dist/components/Listbox.d.ts.map +1 -0
- package/dist/components/Menu.d.ts +19 -2
- package/dist/components/Menu.d.ts.map +1 -1
- package/dist/components/Menubar.d.ts +4 -2
- package/dist/components/Menubar.d.ts.map +1 -1
- package/dist/components/Meter.d.ts +30 -0
- package/dist/components/Meter.d.ts.map +1 -0
- package/dist/components/MultiSelect.d.ts +47 -0
- package/dist/components/MultiSelect.d.ts.map +1 -0
- package/dist/components/NavigationMenu.d.ts +33 -1
- package/dist/components/NavigationMenu.d.ts.map +1 -1
- package/dist/components/NumberField.d.ts +37 -0
- package/dist/components/NumberField.d.ts.map +1 -0
- package/dist/components/Pagination.d.ts +45 -1
- package/dist/components/Pagination.d.ts.map +1 -1
- package/dist/components/PanelGroup.d.ts +31 -0
- package/dist/components/PanelGroup.d.ts.map +1 -0
- package/dist/components/PasswordField.d.ts +97 -0
- package/dist/components/PasswordField.d.ts.map +1 -0
- package/dist/components/PinInput.d.ts +66 -0
- package/dist/components/PinInput.d.ts.map +1 -0
- package/dist/components/PluginPanel.d.ts +31 -271
- package/dist/components/PluginPanel.d.ts.map +1 -1
- package/dist/components/Popover.d.ts +32 -4
- package/dist/components/Popover.d.ts.map +1 -1
- package/dist/components/Positioner.d.ts +42 -0
- package/dist/components/Positioner.d.ts.map +1 -0
- package/dist/components/RovingFocusGroup.d.ts +22 -0
- package/dist/components/RovingFocusGroup.d.ts.map +1 -0
- package/dist/components/Select.d.ts +6 -0
- package/dist/components/Select.d.ts.map +1 -1
- package/dist/components/Sidebar.d.ts +92 -9
- package/dist/components/Sidebar.d.ts.map +1 -1
- package/dist/components/SplitButton.d.ts +49 -0
- package/dist/components/SplitButton.d.ts.map +1 -0
- package/dist/components/TagsInput.d.ts +51 -0
- package/dist/components/TagsInput.d.ts.map +1 -0
- package/dist/components/ThemeProvider.d.ts.map +1 -1
- package/dist/components/ToastAPI.d.ts +8 -0
- package/dist/components/ToastAPI.d.ts.map +1 -1
- package/dist/components/TransferList.d.ts +41 -0
- package/dist/components/TransferList.d.ts.map +1 -0
- package/dist/components/Tree.d.ts +27 -0
- package/dist/components/Tree.d.ts.map +1 -0
- package/dist/components/index.d.ts +30 -7
- package/dist/components/index.d.ts.map +1 -1
- package/dist/index.cjs.js +170 -1
- package/dist/index.d.ts +30 -7
- package/dist/index.d.ts.map +1 -1
- package/dist/index.esm.js +15754 -4091
- package/package.json +2 -2
|
@@ -0,0 +1,97 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type PasswordFieldProps = React.HTMLAttributes<HTMLElement> & {
|
|
3
|
+
value?: string;
|
|
4
|
+
onChange?: (value: string) => void;
|
|
5
|
+
onInput?: (value: string) => void;
|
|
6
|
+
onDebouncedInput?: (value: string) => void;
|
|
7
|
+
onClear?: () => void;
|
|
8
|
+
onVisibilityChange?: (revealed: boolean) => void;
|
|
9
|
+
onStrengthChange?: (detail: {
|
|
10
|
+
value: string;
|
|
11
|
+
score: 1 | 2 | 3 | 4;
|
|
12
|
+
label: string;
|
|
13
|
+
caption: string;
|
|
14
|
+
}) => void;
|
|
15
|
+
clearable?: boolean;
|
|
16
|
+
debounce?: number;
|
|
17
|
+
validation?: 'error' | 'success' | 'none';
|
|
18
|
+
size?: 'sm' | 'md' | 'lg' | '1' | '2' | '3';
|
|
19
|
+
minlength?: number;
|
|
20
|
+
maxlength?: number;
|
|
21
|
+
readOnly?: boolean;
|
|
22
|
+
autofocus?: boolean;
|
|
23
|
+
disabled?: boolean;
|
|
24
|
+
counter?: boolean;
|
|
25
|
+
floatingLabel?: boolean;
|
|
26
|
+
name?: string;
|
|
27
|
+
required?: boolean;
|
|
28
|
+
pattern?: string;
|
|
29
|
+
autoComplete?: string;
|
|
30
|
+
spellCheck?: boolean;
|
|
31
|
+
placeholder?: string;
|
|
32
|
+
variant?: 'classic' | 'surface' | 'soft' | 'outlined' | 'filled' | 'flushed' | 'minimal' | 'contrast' | 'elevated';
|
|
33
|
+
tone?: 'default' | 'brand' | 'success' | 'warning' | 'danger';
|
|
34
|
+
density?: 'default' | 'compact' | 'comfortable';
|
|
35
|
+
shape?: 'default' | 'square' | 'soft';
|
|
36
|
+
color?: string;
|
|
37
|
+
radius?: 'none' | 'large' | 'full' | string;
|
|
38
|
+
label?: string;
|
|
39
|
+
description?: string;
|
|
40
|
+
error?: string;
|
|
41
|
+
showStrength?: boolean;
|
|
42
|
+
revealable?: boolean;
|
|
43
|
+
strengthEvaluator?: (value: string) => {
|
|
44
|
+
score: 1 | 2 | 3 | 4;
|
|
45
|
+
label: string;
|
|
46
|
+
caption: string;
|
|
47
|
+
};
|
|
48
|
+
};
|
|
49
|
+
export declare const PasswordField: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
50
|
+
value?: string;
|
|
51
|
+
onChange?: (value: string) => void;
|
|
52
|
+
onInput?: (value: string) => void;
|
|
53
|
+
onDebouncedInput?: (value: string) => void;
|
|
54
|
+
onClear?: () => void;
|
|
55
|
+
onVisibilityChange?: (revealed: boolean) => void;
|
|
56
|
+
onStrengthChange?: (detail: {
|
|
57
|
+
value: string;
|
|
58
|
+
score: 1 | 2 | 3 | 4;
|
|
59
|
+
label: string;
|
|
60
|
+
caption: string;
|
|
61
|
+
}) => void;
|
|
62
|
+
clearable?: boolean;
|
|
63
|
+
debounce?: number;
|
|
64
|
+
validation?: "error" | "success" | "none";
|
|
65
|
+
size?: "sm" | "md" | "lg" | "1" | "2" | "3";
|
|
66
|
+
minlength?: number;
|
|
67
|
+
maxlength?: number;
|
|
68
|
+
readOnly?: boolean;
|
|
69
|
+
autofocus?: boolean;
|
|
70
|
+
disabled?: boolean;
|
|
71
|
+
counter?: boolean;
|
|
72
|
+
floatingLabel?: boolean;
|
|
73
|
+
name?: string;
|
|
74
|
+
required?: boolean;
|
|
75
|
+
pattern?: string;
|
|
76
|
+
autoComplete?: string;
|
|
77
|
+
spellCheck?: boolean;
|
|
78
|
+
placeholder?: string;
|
|
79
|
+
variant?: "classic" | "surface" | "soft" | "outlined" | "filled" | "flushed" | "minimal" | "contrast" | "elevated";
|
|
80
|
+
tone?: "default" | "brand" | "success" | "warning" | "danger";
|
|
81
|
+
density?: "default" | "compact" | "comfortable";
|
|
82
|
+
shape?: "default" | "square" | "soft";
|
|
83
|
+
color?: string;
|
|
84
|
+
radius?: "none" | "large" | "full" | string;
|
|
85
|
+
label?: string;
|
|
86
|
+
description?: string;
|
|
87
|
+
error?: string;
|
|
88
|
+
showStrength?: boolean;
|
|
89
|
+
revealable?: boolean;
|
|
90
|
+
strengthEvaluator?: (value: string) => {
|
|
91
|
+
score: 1 | 2 | 3 | 4;
|
|
92
|
+
label: string;
|
|
93
|
+
caption: string;
|
|
94
|
+
};
|
|
95
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
96
|
+
export default PasswordField;
|
|
97
|
+
//# sourceMappingURL=PasswordField.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PasswordField.d.ts","sourceRoot":"","sources":["../../src/components/PasswordField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkE,MAAM,OAAO,CAAC;AAIvF,MAAM,MAAM,kBAAkB,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG;IACnE,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,C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M,CAAA;KAAE,KAAK,IAAI;gBAChG,OAAO;eACR,MAAM;iBACJ,OAAO,GAAG,SAAS,GAAG,MAAM;WAClC,IAAI,GAAG,IAAI,GAAG,IAAI,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG;gBAC/B,MAAM;gBACN,MAAM;eACP,OAAO;gBACN,OAAO;eACR,OAAO;cACR,OAAO;oBACD,OAAO;WAChB,MAAM;eACF,OAAO;cACR,MAAM;mBACD,MAAM;iBACR,OAAO;kBACN,MAAM;cACV,SAAS,GAAG,SAAS,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,GAAG,SAAS,GAAG,SAAS,GAAG,UAAU,GAAG,UAAU;WAC3G,SAAS,GAAG,OAAO,GAAG,SAAS,GAAG,SAAS,GAAG,QAAQ;cACnD,SAAS,GAAG,SAAS,GAAG,aAAa;YACvC,SAAS,GAAG,QAAQ,GAAG,MAAM;YAC7B,MAAM;aACL,MAAM,GAAG,OAAO,GAAG,MAAM,GAAG,MAAM;YACnC,MAAM;kBACA,MAAM;YACZ,MAAM;mBACC,OAAO;iBACT,OAAO;wBACA,CAAC,KAAK,EAAE,MAAM,KAAK;QAAE,KAAK,EAAE,CAAC,GAAG,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;QAAC,KAAK,EAAE,MAAM,CAAC;QAAC,OAAO,EAAE,MAAM,CAAA;KAAE;qCA0L/F,CAAC;AAIH,eAAe,aAAa,CAAC"}
|
|
@@ -0,0 +1,66 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type PinInputProps = React.HTMLAttributes<HTMLElement> & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
value?: string;
|
|
5
|
+
onChange?: (value: string) => void;
|
|
6
|
+
onComplete?: (value: string) => void;
|
|
7
|
+
length?: number;
|
|
8
|
+
name?: string;
|
|
9
|
+
label?: string;
|
|
10
|
+
description?: string;
|
|
11
|
+
error?: string;
|
|
12
|
+
mode?: 'numeric' | 'alpha' | 'alphanumeric';
|
|
13
|
+
mask?: boolean;
|
|
14
|
+
required?: boolean;
|
|
15
|
+
disabled?: boolean;
|
|
16
|
+
readOnly?: boolean;
|
|
17
|
+
placeholderChar?: string;
|
|
18
|
+
size?: 'sm' | 'md' | 'lg' | '1' | '2' | '3';
|
|
19
|
+
density?: 'default' | 'compact' | 'comfortable';
|
|
20
|
+
shape?: 'default' | 'square' | 'soft';
|
|
21
|
+
invalid?: boolean;
|
|
22
|
+
};
|
|
23
|
+
export declare const PinInput: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
24
|
+
children?: React.ReactNode;
|
|
25
|
+
value?: string;
|
|
26
|
+
onChange?: (value: string) => void;
|
|
27
|
+
onComplete?: (value: string) => void;
|
|
28
|
+
length?: number;
|
|
29
|
+
name?: string;
|
|
30
|
+
label?: string;
|
|
31
|
+
description?: string;
|
|
32
|
+
error?: string;
|
|
33
|
+
mode?: "numeric" | "alpha" | "alphanumeric";
|
|
34
|
+
mask?: boolean;
|
|
35
|
+
required?: boolean;
|
|
36
|
+
disabled?: boolean;
|
|
37
|
+
readOnly?: boolean;
|
|
38
|
+
placeholderChar?: string;
|
|
39
|
+
size?: "sm" | "md" | "lg" | "1" | "2" | "3";
|
|
40
|
+
density?: "default" | "compact" | "comfortable";
|
|
41
|
+
shape?: "default" | "square" | "soft";
|
|
42
|
+
invalid?: boolean;
|
|
43
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
44
|
+
export declare const OTPInput: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
45
|
+
children?: React.ReactNode;
|
|
46
|
+
value?: string;
|
|
47
|
+
onChange?: (value: string) => void;
|
|
48
|
+
onComplete?: (value: string) => void;
|
|
49
|
+
length?: number;
|
|
50
|
+
name?: string;
|
|
51
|
+
label?: string;
|
|
52
|
+
description?: string;
|
|
53
|
+
error?: string;
|
|
54
|
+
mode?: "numeric" | "alpha" | "alphanumeric";
|
|
55
|
+
mask?: boolean;
|
|
56
|
+
required?: boolean;
|
|
57
|
+
disabled?: boolean;
|
|
58
|
+
readOnly?: boolean;
|
|
59
|
+
placeholderChar?: string;
|
|
60
|
+
size?: "sm" | "md" | "lg" | "1" | "2" | "3";
|
|
61
|
+
density?: "default" | "compact" | "comfortable";
|
|
62
|
+
shape?: "default" | "square" | "soft";
|
|
63
|
+
invalid?: boolean;
|
|
64
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
65
|
+
export default PinInput;
|
|
66
|
+
//# sourceMappingURL=PinInput.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"PinInput.d.ts","sourceRoot":"","sources":["../../src/components/PinInput.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkE,MAAM,OAAO,CAAC;AAIvF,MAAM,MAAM,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG;IAC9D,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IAC3B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACnC,UAAU,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IACrC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,SAAS,GAAG,OAAO,GAAG,cAAc,CAAC;IAC5C,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,MAAM,CAAC;IACzB,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAA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';
|
|
2
|
-
type
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export type PluginPanelOpenChangeDetail = {
|
|
3
|
+
open: boolean;
|
|
4
|
+
};
|
|
5
|
+
export type PluginPanelElement = HTMLElement & {
|
|
6
|
+
openPanel: () => void;
|
|
7
|
+
closePanel: () => void;
|
|
8
|
+
togglePanel: () => void;
|
|
9
|
+
};
|
|
10
|
+
export type PluginPanelProps = React.HTMLAttributes<HTMLElement> & {
|
|
3
11
|
open?: boolean;
|
|
4
|
-
position?:
|
|
12
|
+
position?: 'right' | 'left' | 'bottom';
|
|
13
|
+
size?: 'sm' | 'md' | 'lg';
|
|
14
|
+
title?: string;
|
|
15
|
+
description?: string;
|
|
16
|
+
headless?: boolean;
|
|
17
|
+
dismissible?: boolean;
|
|
18
|
+
onOpen?: () => void;
|
|
19
|
+
onClose?: () => void;
|
|
20
|
+
onOpenChange?: (detail: PluginPanelOpenChangeDetail) => void;
|
|
5
21
|
};
|
|
6
|
-
export declare
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
draggable?: (boolean | "true" | "false") | undefined;
|
|
19
|
-
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined;
|
|
20
|
-
hidden?: boolean | undefined;
|
|
21
|
-
id?: string | undefined;
|
|
22
|
-
lang?: string | undefined;
|
|
23
|
-
nonce?: string | undefined;
|
|
24
|
-
slot?: string | undefined;
|
|
25
|
-
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
26
|
-
style?: React.CSSProperties | undefined;
|
|
27
|
-
tabIndex?: number | undefined;
|
|
28
|
-
title?: string | undefined;
|
|
29
|
-
translate?: "yes" | "no" | undefined;
|
|
30
|
-
radioGroup?: string | undefined;
|
|
31
|
-
role?: React.AriaRole | undefined;
|
|
32
|
-
about?: string | undefined;
|
|
33
|
-
content?: string | undefined;
|
|
34
|
-
datatype?: string | undefined;
|
|
35
|
-
inlist?: any;
|
|
36
|
-
prefix?: string | undefined;
|
|
37
|
-
property?: string | undefined;
|
|
38
|
-
rel?: string | undefined;
|
|
39
|
-
resource?: string | undefined;
|
|
40
|
-
rev?: string | undefined;
|
|
41
|
-
typeof?: string | undefined;
|
|
42
|
-
vocab?: string | undefined;
|
|
43
|
-
autoCorrect?: string | undefined;
|
|
44
|
-
autoSave?: string | undefined;
|
|
45
|
-
color?: string | undefined;
|
|
46
|
-
itemProp?: string | undefined;
|
|
47
|
-
itemScope?: boolean | undefined;
|
|
48
|
-
itemType?: string | undefined;
|
|
49
|
-
itemID?: string | undefined;
|
|
50
|
-
itemRef?: string | undefined;
|
|
51
|
-
results?: number | undefined;
|
|
52
|
-
security?: string | undefined;
|
|
53
|
-
unselectable?: "on" | "off" | undefined;
|
|
54
|
-
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined;
|
|
55
|
-
is?: string | undefined;
|
|
56
|
-
exportparts?: string | undefined;
|
|
57
|
-
part?: string | undefined;
|
|
58
|
-
"aria-activedescendant"?: string | undefined;
|
|
59
|
-
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
60
|
-
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined;
|
|
61
|
-
"aria-braillelabel"?: string | undefined;
|
|
62
|
-
"aria-brailleroledescription"?: string | undefined;
|
|
63
|
-
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
64
|
-
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
65
|
-
"aria-colcount"?: number | undefined;
|
|
66
|
-
"aria-colindex"?: number | undefined;
|
|
67
|
-
"aria-colindextext"?: string | undefined;
|
|
68
|
-
"aria-colspan"?: number | undefined;
|
|
69
|
-
"aria-controls"?: string | undefined;
|
|
70
|
-
"aria-current"?: boolean | "false" | "true" | "page" | "step" | "location" | "date" | "time" | undefined;
|
|
71
|
-
"aria-describedby"?: string | undefined;
|
|
72
|
-
"aria-description"?: string | undefined;
|
|
73
|
-
"aria-details"?: string | undefined;
|
|
74
|
-
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
75
|
-
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined;
|
|
76
|
-
"aria-errormessage"?: string | undefined;
|
|
77
|
-
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
78
|
-
"aria-flowto"?: string | undefined;
|
|
79
|
-
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
80
|
-
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined;
|
|
81
|
-
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
82
|
-
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
|
83
|
-
"aria-keyshortcuts"?: string | undefined;
|
|
84
|
-
"aria-label"?: string | undefined;
|
|
85
|
-
"aria-labelledby"?: string | undefined;
|
|
86
|
-
"aria-level"?: number | undefined;
|
|
87
|
-
"aria-live"?: "off" | "assertive" | "polite" | undefined;
|
|
88
|
-
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
89
|
-
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
90
|
-
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
91
|
-
"aria-orientation"?: "horizontal" | "vertical" | undefined;
|
|
92
|
-
"aria-owns"?: string | undefined;
|
|
93
|
-
"aria-placeholder"?: string | undefined;
|
|
94
|
-
"aria-posinset"?: number | undefined;
|
|
95
|
-
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined;
|
|
96
|
-
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
97
|
-
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined;
|
|
98
|
-
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
99
|
-
"aria-roledescription"?: string | undefined;
|
|
100
|
-
"aria-rowcount"?: number | undefined;
|
|
101
|
-
"aria-rowindex"?: number | undefined;
|
|
102
|
-
"aria-rowindextext"?: string | undefined;
|
|
103
|
-
"aria-rowspan"?: number | undefined;
|
|
104
|
-
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
105
|
-
"aria-setsize"?: number | undefined;
|
|
106
|
-
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined;
|
|
107
|
-
"aria-valuemax"?: number | undefined;
|
|
108
|
-
"aria-valuemin"?: number | undefined;
|
|
109
|
-
"aria-valuenow"?: number | undefined;
|
|
110
|
-
"aria-valuetext"?: string | undefined;
|
|
111
|
-
dangerouslySetInnerHTML?: {
|
|
112
|
-
__html: string | TrustedHTML;
|
|
113
|
-
} | undefined;
|
|
114
|
-
onCopy?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
115
|
-
onCopyCapture?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
116
|
-
onCut?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
117
|
-
onCutCapture?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
118
|
-
onPaste?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
119
|
-
onPasteCapture?: React.ClipboardEventHandler<HTMLElement> | undefined;
|
|
120
|
-
onCompositionEnd?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
121
|
-
onCompositionEndCapture?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
122
|
-
onCompositionStart?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
123
|
-
onCompositionStartCapture?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
124
|
-
onCompositionUpdate?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
125
|
-
onCompositionUpdateCapture?: React.CompositionEventHandler<HTMLElement> | undefined;
|
|
126
|
-
onFocus?: React.FocusEventHandler<HTMLElement> | undefined;
|
|
127
|
-
onFocusCapture?: React.FocusEventHandler<HTMLElement> | undefined;
|
|
128
|
-
onBlur?: React.FocusEventHandler<HTMLElement> | undefined;
|
|
129
|
-
onBlurCapture?: React.FocusEventHandler<HTMLElement> | undefined;
|
|
130
|
-
onChange?: React.FormEventHandler<HTMLElement> | undefined;
|
|
131
|
-
onChangeCapture?: React.FormEventHandler<HTMLElement> | undefined;
|
|
132
|
-
onBeforeInput?: React.InputEventHandler<HTMLElement> | undefined;
|
|
133
|
-
onBeforeInputCapture?: React.FormEventHandler<HTMLElement> | undefined;
|
|
134
|
-
onInput?: React.FormEventHandler<HTMLElement> | undefined;
|
|
135
|
-
onInputCapture?: React.FormEventHandler<HTMLElement> | undefined;
|
|
136
|
-
onReset?: React.FormEventHandler<HTMLElement> | undefined;
|
|
137
|
-
onResetCapture?: React.FormEventHandler<HTMLElement> | undefined;
|
|
138
|
-
onSubmit?: React.FormEventHandler<HTMLElement> | undefined;
|
|
139
|
-
onSubmitCapture?: React.FormEventHandler<HTMLElement> | undefined;
|
|
140
|
-
onInvalid?: React.FormEventHandler<HTMLElement> | undefined;
|
|
141
|
-
onInvalidCapture?: React.FormEventHandler<HTMLElement> | undefined;
|
|
142
|
-
onLoad?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
143
|
-
onLoadCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
144
|
-
onError?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
145
|
-
onErrorCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
146
|
-
onKeyDown?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
147
|
-
onKeyDownCapture?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
148
|
-
onKeyPress?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
149
|
-
onKeyPressCapture?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
150
|
-
onKeyUp?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
151
|
-
onKeyUpCapture?: React.KeyboardEventHandler<HTMLElement> | undefined;
|
|
152
|
-
onAbort?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
153
|
-
onAbortCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
154
|
-
onCanPlay?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
155
|
-
onCanPlayCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
156
|
-
onCanPlayThrough?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
157
|
-
onCanPlayThroughCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
158
|
-
onDurationChange?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
159
|
-
onDurationChangeCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
160
|
-
onEmptied?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
161
|
-
onEmptiedCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
162
|
-
onEncrypted?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
163
|
-
onEncryptedCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
164
|
-
onEnded?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
165
|
-
onEndedCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
166
|
-
onLoadedData?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
167
|
-
onLoadedDataCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
168
|
-
onLoadedMetadata?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
169
|
-
onLoadedMetadataCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
170
|
-
onLoadStart?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
171
|
-
onLoadStartCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
172
|
-
onPause?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
173
|
-
onPauseCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
174
|
-
onPlay?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
175
|
-
onPlayCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
176
|
-
onPlaying?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
177
|
-
onPlayingCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
178
|
-
onProgress?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
179
|
-
onProgressCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
180
|
-
onRateChange?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
181
|
-
onRateChangeCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
182
|
-
onSeeked?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
183
|
-
onSeekedCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
184
|
-
onSeeking?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
185
|
-
onSeekingCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
186
|
-
onStalled?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
187
|
-
onStalledCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
188
|
-
onSuspend?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
189
|
-
onSuspendCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
190
|
-
onTimeUpdate?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
191
|
-
onTimeUpdateCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
192
|
-
onVolumeChange?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
193
|
-
onVolumeChangeCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
194
|
-
onWaiting?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
195
|
-
onWaitingCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
196
|
-
onAuxClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
197
|
-
onAuxClickCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
198
|
-
onClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
199
|
-
onClickCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
200
|
-
onContextMenu?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
201
|
-
onContextMenuCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
202
|
-
onDoubleClick?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
203
|
-
onDoubleClickCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
204
|
-
onDrag?: React.DragEventHandler<HTMLElement> | undefined;
|
|
205
|
-
onDragCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
206
|
-
onDragEnd?: React.DragEventHandler<HTMLElement> | undefined;
|
|
207
|
-
onDragEndCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
208
|
-
onDragEnter?: React.DragEventHandler<HTMLElement> | undefined;
|
|
209
|
-
onDragEnterCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
210
|
-
onDragExit?: React.DragEventHandler<HTMLElement> | undefined;
|
|
211
|
-
onDragExitCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
212
|
-
onDragLeave?: React.DragEventHandler<HTMLElement> | undefined;
|
|
213
|
-
onDragLeaveCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
214
|
-
onDragOver?: React.DragEventHandler<HTMLElement> | undefined;
|
|
215
|
-
onDragOverCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
216
|
-
onDragStart?: React.DragEventHandler<HTMLElement> | undefined;
|
|
217
|
-
onDragStartCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
218
|
-
onDrop?: React.DragEventHandler<HTMLElement> | undefined;
|
|
219
|
-
onDropCapture?: React.DragEventHandler<HTMLElement> | undefined;
|
|
220
|
-
onMouseDown?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
221
|
-
onMouseDownCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
222
|
-
onMouseEnter?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
223
|
-
onMouseLeave?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
224
|
-
onMouseMove?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
225
|
-
onMouseMoveCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
226
|
-
onMouseOut?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
227
|
-
onMouseOutCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
228
|
-
onMouseOver?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
229
|
-
onMouseOverCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
230
|
-
onMouseUp?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
231
|
-
onMouseUpCapture?: React.MouseEventHandler<HTMLElement> | undefined;
|
|
232
|
-
onSelect?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
233
|
-
onSelectCapture?: React.ReactEventHandler<HTMLElement> | undefined;
|
|
234
|
-
onTouchCancel?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
235
|
-
onTouchCancelCapture?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
236
|
-
onTouchEnd?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
237
|
-
onTouchEndCapture?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
238
|
-
onTouchMove?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
239
|
-
onTouchMoveCapture?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
240
|
-
onTouchStart?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
241
|
-
onTouchStartCapture?: React.TouchEventHandler<HTMLElement> | undefined;
|
|
242
|
-
onPointerDown?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
243
|
-
onPointerDownCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
244
|
-
onPointerMove?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
245
|
-
onPointerMoveCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
246
|
-
onPointerUp?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
247
|
-
onPointerUpCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
248
|
-
onPointerCancel?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
249
|
-
onPointerCancelCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
250
|
-
onPointerEnter?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
251
|
-
onPointerLeave?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
252
|
-
onPointerOver?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
253
|
-
onPointerOverCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
254
|
-
onPointerOut?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
255
|
-
onPointerOutCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
256
|
-
onGotPointerCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
257
|
-
onGotPointerCaptureCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
258
|
-
onLostPointerCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
259
|
-
onLostPointerCaptureCapture?: React.PointerEventHandler<HTMLElement> | undefined;
|
|
260
|
-
onScroll?: React.UIEventHandler<HTMLElement> | undefined;
|
|
261
|
-
onScrollCapture?: React.UIEventHandler<HTMLElement> | undefined;
|
|
262
|
-
onWheel?: React.WheelEventHandler<HTMLElement> | undefined;
|
|
263
|
-
onWheelCapture?: React.WheelEventHandler<HTMLElement> | undefined;
|
|
264
|
-
onAnimationStart?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
265
|
-
onAnimationStartCapture?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
266
|
-
onAnimationEnd?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
267
|
-
onAnimationEndCapture?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
268
|
-
onAnimationIteration?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
269
|
-
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLElement> | undefined;
|
|
270
|
-
onTransitionEnd?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
271
|
-
onTransitionEndCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
272
|
-
ref: React.MutableRefObject<HTMLElement | null>;
|
|
273
|
-
}, HTMLElement>;
|
|
22
|
+
export declare const PluginPanel: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
23
|
+
open?: boolean;
|
|
24
|
+
position?: "right" | "left" | "bottom";
|
|
25
|
+
size?: "sm" | "md" | "lg";
|
|
26
|
+
title?: string;
|
|
27
|
+
description?: string;
|
|
28
|
+
headless?: boolean;
|
|
29
|
+
dismissible?: boolean;
|
|
30
|
+
onOpen?: () => void;
|
|
31
|
+
onClose?: () => void;
|
|
32
|
+
onOpenChange?: (detail: PluginPanelOpenChangeDetail) => void;
|
|
33
|
+
} & React.RefAttributes<PluginPanelElement>>;
|
|
274
34
|
export default PluginPanel;
|
|
275
35
|
//# sourceMappingURL=PluginPanel.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PluginPanel.d.ts","sourceRoot":"","sources":["../../src/components/PluginPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"PluginPanel.d.ts","sourceRoot":"","sources":["../../src/components/PluginPanel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,OAAO,CAAC;CACf,CAAC;AAEF,MAAM,MAAM,kBAAkB,GAAG,WAAW,GAAG;IAC7C,SAAS,EAAE,MAAM,IAAI,CAAC;IACtB,UAAU,EAAE,MAAM,IAAI,CAAC;IACvB,WAAW,EAAE,MAAM,IAAI,CAAC;CACzB,CAAC;AAEF,MAAM,MAAM,gBAAgB,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG;IACjE,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,GAAG,MAAM,GAAG,QAAQ,CAAC;IACvC,IAAI,CAAC,EAAE,IAAI,GAAG,IAAI,GAAG,IAAI,CAAC;IAC1B,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,2BAA2B,KAAK,IAAI,CAAC;CAC9D,CAAC;AAEF,eAAO,MAAM,WAAW;WAZf,OAAO;eACH,OAAO,GAAG,MAAM,GAAG,QAAQ;WAC/B,IAAI,GAAG,IAAI,GAAG,IAAI;YACjB,MAAM;kBACA,MAAM;eACT,OAAO;kBACJ,OAAO;aACZ,MAAM,IAAI;cACT,MAAM,IAAI;mBACL,CAAC,MAAM,EAAE,2BAA2B,KAAK,IAAI;4CA4D5D,CAAC;AAIH,eAAe,WAAW,CAAC"}
|
|
@@ -1,9 +1,37 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
export type PopoverPlacement = 'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end';
|
|
3
|
+
export type PopoverOpenChangeDetail = {
|
|
4
|
+
open: boolean;
|
|
5
|
+
};
|
|
6
|
+
export type PopoverElement = HTMLElement & {
|
|
7
|
+
open: () => void;
|
|
8
|
+
close: () => void;
|
|
9
|
+
toggle: () => void;
|
|
10
|
+
updatePosition: () => void;
|
|
11
|
+
};
|
|
12
|
+
export type PopoverProps = React.HTMLAttributes<HTMLElement> & {
|
|
13
|
+
open?: boolean;
|
|
14
|
+
placement?: PopoverPlacement;
|
|
15
|
+
offset?: number;
|
|
16
|
+
shift?: boolean;
|
|
17
|
+
flip?: boolean;
|
|
18
|
+
closeOnEscape?: boolean;
|
|
19
|
+
closeOnOutside?: boolean;
|
|
20
|
+
onOpen?: () => void;
|
|
21
|
+
onClose?: () => void;
|
|
22
|
+
onOpenChange?: (detail: PopoverOpenChangeDetail) => void;
|
|
23
|
+
};
|
|
2
24
|
export declare const Popover: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
3
|
-
|
|
4
|
-
|
|
25
|
+
open?: boolean;
|
|
26
|
+
placement?: PopoverPlacement;
|
|
27
|
+
offset?: number;
|
|
28
|
+
shift?: boolean;
|
|
29
|
+
flip?: boolean;
|
|
30
|
+
closeOnEscape?: boolean;
|
|
31
|
+
closeOnOutside?: boolean;
|
|
5
32
|
onOpen?: () => void;
|
|
6
33
|
onClose?: () => void;
|
|
7
|
-
|
|
34
|
+
onOpenChange?: (detail: PopoverOpenChangeDetail) => void;
|
|
35
|
+
} & React.RefAttributes<PopoverElement>>;
|
|
8
36
|
export default Popover;
|
|
9
37
|
//# sourceMappingURL=Popover.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../src/components/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"Popover.d.ts","sourceRoot":"","sources":["../../src/components/Popover.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,MAAM,MAAM,gBAAgB,GACxB,KAAK,GACL,WAAW,GACX,SAAS,GACT,OAAO,GACP,aAAa,GACb,WAAW,GACX,QAAQ,GACR,cAAc,GACd,YAAY,GACZ,MAAM,GACN,YAAY,GACZ,UAAU,CAAC;AAEf,MAAM,MAAM,uBAAuB,GAAG;IAAE,IAAI,EAAE,OAAO,CAAA;CAAE,CAAC;AAExD,MAAM,MAAM,cAAc,GAAG,WAAW,GAAG;IACzC,IAAI,EAAE,MAAM,IAAI,CAAC;IACjB,KAAK,EAAE,MAAM,IAAI,CAAC;IAClB,MAAM,EAAE,MAAM,IAAI,CAAC;IACnB,cAAc,EAAE,MAAM,IAAI,CAAC;CAC5B,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG;IAC7D,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,gBAAgB,CAAC;IAC7B,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IACpB,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,YAAY,CAAC,EAAE,CAAC,MAAM,EAAE,uBAAuB,KAAK,IAAI,CAAC;CAC1D,CAAC;AAEF,eAAO,MAAM,OAAO;WAZX,OAAO;gBACF,gBAAgB;aACnB,MAAM;YACP,OAAO;WACR,OAAO;oBACE,OAAO;qBACN,OAAO;aACf,MAAM,IAAI;cACT,MAAM,IAAI;mBACL,CAAC,MAAM,EAAE,uBAAuB,KAAK,IAAI;wCA0ExD,CAAC;AAIH,eAAe,OAAO,CAAC"}
|
|
@@ -0,0 +1,42 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type PositionerStateDetail = {
|
|
3
|
+
placement: string;
|
|
4
|
+
strategy: string;
|
|
5
|
+
x: number;
|
|
6
|
+
y: number;
|
|
7
|
+
width?: number;
|
|
8
|
+
maxWidth?: number;
|
|
9
|
+
maxHeight?: number;
|
|
10
|
+
availableWidth?: number;
|
|
11
|
+
availableHeight?: number;
|
|
12
|
+
};
|
|
13
|
+
export type PositionerProps = React.HTMLAttributes<HTMLElement> & {
|
|
14
|
+
open?: boolean;
|
|
15
|
+
placement?: 'top' | 'top-start' | 'top-end' | 'right' | 'right-start' | 'right-end' | 'bottom' | 'bottom-start' | 'bottom-end' | 'left' | 'left-start' | 'left-end';
|
|
16
|
+
strategy?: 'fixed' | 'absolute';
|
|
17
|
+
offset?: number;
|
|
18
|
+
crossOffset?: number;
|
|
19
|
+
flip?: boolean;
|
|
20
|
+
shift?: boolean;
|
|
21
|
+
matchWidth?: boolean;
|
|
22
|
+
fitViewport?: boolean;
|
|
23
|
+
anchor?: string;
|
|
24
|
+
headless?: boolean;
|
|
25
|
+
onPositionChange?: (detail: PositionerStateDetail) => void;
|
|
26
|
+
};
|
|
27
|
+
export declare const Positioner: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
28
|
+
open?: boolean;
|
|
29
|
+
placement?: "top" | "top-start" | "top-end" | "right" | "right-start" | "right-end" | "bottom" | "bottom-start" | "bottom-end" | "left" | "left-start" | "left-end";
|
|
30
|
+
strategy?: "fixed" | "absolute";
|
|
31
|
+
offset?: number;
|
|
32
|
+
crossOffset?: number;
|
|
33
|
+
flip?: boolean;
|
|
34
|
+
shift?: boolean;
|
|
35
|
+
matchWidth?: boolean;
|
|
36
|
+
fitViewport?: boolean;
|
|
37
|
+
anchor?: string;
|
|
38
|
+
headless?: boolean;
|
|
39
|
+
onPositionChange?: (detail: PositionerStateDetail) => void;
|
|
40
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
41
|
+
export default Positioner;
|
|
42
|
+
//# sourceMappingURL=Positioner.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"Positioner.d.ts","sourceRoot":"","sources":["../../src/components/Positioner.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkE,MAAM,OAAO,CAAC;AAIvF,MAAM,MAAM,qBAAqB,GAAG;IAClC,SAAS,EAAE,MAAM,CAAC;IAClB,QAAQ,EAAE,MAAM,CAAC;IACjB,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,CA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U,CAAC"}
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export type RovingFocusActiveItemDetail = {
|
|
3
|
+
item: HTMLElement | null;
|
|
4
|
+
};
|
|
5
|
+
export type RovingFocusGroupProps = React.HTMLAttributes<HTMLElement> & {
|
|
6
|
+
itemSelector?: string;
|
|
7
|
+
directItemSelector?: string;
|
|
8
|
+
activeAttribute?: string | null;
|
|
9
|
+
loop?: boolean;
|
|
10
|
+
container?: ParentNode | null;
|
|
11
|
+
onActiveItemChange?: (detail: RovingFocusActiveItemDetail) => void;
|
|
12
|
+
};
|
|
13
|
+
export declare const RovingFocusGroup: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLElement> & {
|
|
14
|
+
itemSelector?: string;
|
|
15
|
+
directItemSelector?: string;
|
|
16
|
+
activeAttribute?: string | null;
|
|
17
|
+
loop?: boolean;
|
|
18
|
+
container?: ParentNode | null;
|
|
19
|
+
onActiveItemChange?: (detail: RovingFocusActiveItemDetail) => void;
|
|
20
|
+
} & React.RefAttributes<HTMLElement>>;
|
|
21
|
+
export default RovingFocusGroup;
|
|
22
|
+
//# sourceMappingURL=RovingFocusGroup.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"RovingFocusGroup.d.ts","sourceRoot":"","sources":["../../src/components/RovingFocusGroup.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAkE,MAAM,OAAO,CAAC;AAIvF,MAAM,MAAM,2BAA2B,GAAG;IACxC,IAAI,EAAE,WAAW,GAAG,IAAI,CAAC;CAC1B,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,GAAG;IACtE,YAAY,CAAC,EAAE,MAAM,CAAC;IACtB,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAC5B,eAAe,CAAC,EAAE,MAAM,GAAG,IAAI,CAAC;IAChC,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,SAAS,CAAC,EAAE,UAAU,GAAG,IAAI,CAAC;IAC9B,kBAAkB,CAAC,EAAE,CAAC,MAAM,EAAE,2BAA2B,KAAK,IAAI,CAAC;CACpE,CAAC;AAEF,eAAO,MAAM,gBAAgB;mBARZ,MAAM;yBACA,MAAM;sBACT,MAAM,GAAG,IAAI;WACxB,OAAO;gBACF,UAAU,GAAG,IAAI;yBACR,CAAC,MAAM,EAAE,2BAA2B,KAAK,IAAI;qCAuClE,CAAC;AAIH,eAAe,gBAAgB,CAAC"}
|
|
@@ -21,6 +21,9 @@ export type SelectProps = BaseProps & {
|
|
|
21
21
|
shape?: 'rounded' | 'square' | 'pill';
|
|
22
22
|
elevation?: 'low' | 'none' | 'high';
|
|
23
23
|
radius?: 'none' | 'large' | 'full' | string;
|
|
24
|
+
optionBorder?: boolean;
|
|
25
|
+
showCheck?: boolean;
|
|
26
|
+
checkPlacement?: 'start' | 'end';
|
|
24
27
|
validation?: 'none' | 'success' | 'warning' | 'error';
|
|
25
28
|
onChange?: (value: string) => void;
|
|
26
29
|
onInput?: (value: string) => void;
|
|
@@ -47,6 +50,9 @@ export declare const Select: React.ForwardRefExoticComponent<Omit<React.HTMLAttr
|
|
|
47
50
|
shape?: "rounded" | "square" | "pill";
|
|
48
51
|
elevation?: "low" | "none" | "high";
|
|
49
52
|
radius?: "none" | "large" | "full" | string;
|
|
53
|
+
optionBorder?: boolean;
|
|
54
|
+
showCheck?: boolean;
|
|
55
|
+
checkPlacement?: "start" | "end";
|
|
50
56
|
validation?: "none" | "success" | "warning" | "error";
|
|
51
57
|
onChange?: (value: string) => void;
|
|
52
58
|
onInput?: (value: string) => void;
|