@seed-design/react 2.3.0 → 2.4.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/lib/components/ActionButton/ActionButton.cjs +5 -2
- package/lib/components/ActionButton/ActionButton.d.ts.map +1 -1
- package/lib/components/ActionButton/ActionButton.js +5 -2
- package/lib/components/AttachmentDisplay/AttachmentDisplayItem.cjs +9 -6
- package/lib/components/AttachmentDisplay/AttachmentDisplayItem.d.ts.map +1 -1
- package/lib/components/AttachmentDisplay/AttachmentDisplayItem.js +9 -6
- package/lib/components/AttachmentDisplay/AttachmentDisplayTrigger.cjs +2 -1
- package/lib/components/AttachmentDisplay/AttachmentDisplayTrigger.d.ts.map +1 -1
- package/lib/components/AttachmentDisplay/AttachmentDisplayTrigger.js +2 -1
- package/lib/components/AttachmentInput/AttachmentInputItem.cjs +9 -6
- package/lib/components/AttachmentInput/AttachmentInputItem.d.ts.map +1 -1
- package/lib/components/AttachmentInput/AttachmentInputItem.js +9 -6
- package/lib/components/AttachmentInput/AttachmentInputTrigger.cjs +2 -1
- package/lib/components/AttachmentInput/AttachmentInputTrigger.d.ts.map +1 -1
- package/lib/components/AttachmentInput/AttachmentInputTrigger.js +2 -1
- package/lib/components/BottomSheet/BottomSheet.cjs +5 -3
- package/lib/components/BottomSheet/BottomSheet.d.ts.map +1 -1
- package/lib/components/BottomSheet/BottomSheet.js +5 -3
- package/lib/components/Callout/Callout.cjs +3 -2
- package/lib/components/Callout/Callout.d.ts.map +1 -1
- package/lib/components/Callout/Callout.js +3 -2
- package/lib/components/Checkbox/Checkbox.cjs +2 -1
- package/lib/components/Checkbox/Checkbox.d.ts.map +1 -1
- package/lib/components/Checkbox/Checkbox.js +2 -1
- package/lib/components/Chip/Chip.cjs +2 -1
- package/lib/components/Chip/Chip.d.ts.map +1 -1
- package/lib/components/Chip/Chip.js +2 -1
- package/lib/components/ChipTabs/ChipTabs.cjs +2 -1
- package/lib/components/ChipTabs/ChipTabs.d.ts.map +1 -1
- package/lib/components/ChipTabs/ChipTabs.js +2 -1
- package/lib/components/ContentDialog/ContentDialog.cjs +5 -3
- package/lib/components/ContentDialog/ContentDialog.d.ts.map +1 -1
- package/lib/components/ContentDialog/ContentDialog.js +5 -3
- package/lib/components/ContextualFloatingButton/ContextualFloatingButton.cjs +5 -2
- package/lib/components/ContextualFloatingButton/ContextualFloatingButton.d.ts.map +1 -1
- package/lib/components/ContextualFloatingButton/ContextualFloatingButton.js +5 -2
- package/lib/components/DatePicker/DatePicker.cjs +2 -2
- package/lib/components/DatePicker/DatePicker.d.ts +10 -4
- package/lib/components/DatePicker/DatePicker.d.ts.map +1 -1
- package/lib/components/DatePicker/DatePicker.js +2 -2
- package/lib/components/DatePicker/index.d.ts +1 -1
- package/lib/components/DatePicker/index.d.ts.map +1 -1
- package/lib/components/FieldButton/FieldButton.cjs +2 -1
- package/lib/components/FieldButton/FieldButton.d.ts.map +1 -1
- package/lib/components/FieldButton/FieldButton.js +2 -1
- package/lib/components/FloatingActionButton/FloatingActionButton.cjs +2 -1
- package/lib/components/FloatingActionButton/FloatingActionButton.d.ts.map +1 -1
- package/lib/components/FloatingActionButton/FloatingActionButton.js +2 -1
- package/lib/components/HelpBubble/HelpBubble.cjs +2 -1
- package/lib/components/HelpBubble/HelpBubble.d.ts.map +1 -1
- package/lib/components/HelpBubble/HelpBubble.js +2 -1
- package/lib/components/ImageFrame/ImageFrame.cjs +5 -2
- package/lib/components/ImageFrame/ImageFrame.d.ts.map +1 -1
- package/lib/components/ImageFrame/ImageFrame.js +5 -2
- package/lib/components/LoadingIndicator/usePendingButton.d.ts +57 -57
- package/lib/components/MenuSheet/MenuSheet.cjs +2 -1
- package/lib/components/MenuSheet/MenuSheet.d.ts.map +1 -1
- package/lib/components/MenuSheet/MenuSheet.js +2 -1
- package/lib/components/PageBanner/PageBanner.cjs +3 -2
- package/lib/components/PageBanner/PageBanner.d.ts.map +1 -1
- package/lib/components/PageBanner/PageBanner.js +3 -2
- package/lib/components/QuantityPicker/QuantityPicker.cjs +8 -4
- package/lib/components/QuantityPicker/QuantityPicker.d.ts.map +1 -1
- package/lib/components/QuantityPicker/QuantityPicker.js +8 -4
- package/lib/components/RadioGroup/RadioGroup.cjs +2 -1
- package/lib/components/RadioGroup/RadioGroup.d.ts.map +1 -1
- package/lib/components/RadioGroup/RadioGroup.js +2 -1
- package/lib/components/ReactionButton/ReactionButton.cjs +5 -2
- package/lib/components/ReactionButton/ReactionButton.d.ts.map +1 -1
- package/lib/components/ReactionButton/ReactionButton.js +5 -2
- package/lib/components/ScrollFog/ScrollFog.d.ts +4 -6
- package/lib/components/ScrollFog/ScrollFog.d.ts.map +1 -1
- package/lib/components/ScrollFog/ScrollFog.test.d.ts +2 -0
- package/lib/components/ScrollFog/ScrollFog.test.d.ts.map +1 -0
- package/lib/components/SideNavigation/SideNavigation.cjs +1 -1
- package/lib/components/SideNavigation/SideNavigation.js +1 -1
- package/lib/components/SidePanel/SidePanel.cjs +5 -3
- package/lib/components/SidePanel/SidePanel.d.ts.map +1 -1
- package/lib/components/SidePanel/SidePanel.js +5 -3
- package/lib/components/Slider/Slider.cjs +1 -1
- package/lib/components/Slider/Slider.js +1 -1
- package/lib/components/Snackbar/Snackbar.cjs +2 -1
- package/lib/components/Snackbar/Snackbar.d.ts.map +1 -1
- package/lib/components/Snackbar/Snackbar.js +2 -1
- package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.cjs +2 -1
- package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.d.ts.map +1 -1
- package/lib/components/SwipeableMenuSheet/SwipeableMenuSheet.js +2 -1
- package/lib/components/Switch/Switch.cjs +2 -1
- package/lib/components/Switch/Switch.d.ts.map +1 -1
- package/lib/components/Switch/Switch.js +2 -1
- package/lib/components/Tabs/Tabs.cjs +2 -1
- package/lib/components/Tabs/Tabs.d.ts.map +1 -1
- package/lib/components/Tabs/Tabs.js +2 -1
- package/lib/components/TextField/TextField.cjs +1 -1
- package/lib/components/TextField/TextField.js +1 -1
- package/lib/components/ToggleButton/ToggleButton.cjs +5 -2
- package/lib/components/ToggleButton/ToggleButton.d.ts.map +1 -1
- package/lib/components/ToggleButton/ToggleButton.js +5 -2
- package/lib/components/WheelPicker/WheelPicker.cjs +94 -0
- package/lib/components/WheelPicker/WheelPicker.d.ts +56 -0
- package/lib/components/WheelPicker/WheelPicker.d.ts.map +1 -0
- package/lib/components/WheelPicker/WheelPicker.js +89 -0
- package/lib/components/WheelPicker/WheelPicker.namespace.cjs +15 -0
- package/lib/components/WheelPicker/WheelPicker.namespace.d.ts +2 -0
- package/lib/components/WheelPicker/WheelPicker.namespace.d.ts.map +1 -0
- package/lib/components/WheelPicker/WheelPicker.namespace.js +10 -0
- package/lib/components/WheelPicker/WheelPicker.test.d.ts +2 -0
- package/lib/components/WheelPicker/WheelPicker.test.d.ts.map +1 -0
- package/lib/components/WheelPicker/index.cjs +12 -0
- package/lib/components/WheelPicker/index.d.ts +3 -0
- package/lib/components/WheelPicker/index.d.ts.map +1 -0
- package/lib/components/WheelPicker/index.js +3 -0
- package/lib/components/index.cjs +11 -0
- package/lib/components/index.d.ts +1 -0
- package/lib/components/index.d.ts.map +1 -1
- package/lib/components/index.js +3 -1
- package/lib/components/private/WheelPicker.cjs +2 -3
- package/lib/components/private/WheelPicker.d.ts +3 -3
- package/lib/components/private/WheelPicker.d.ts.map +1 -1
- package/lib/components/private/WheelPicker.js +3 -3
- package/lib/components/private/useDismissible.d.ts +123 -123
- package/lib/index.cjs +14 -0
- package/lib/index.d.ts +2 -0
- package/lib/index.d.ts.map +1 -1
- package/lib/index.js +4 -1
- package/lib/utils/elementSizeVars.cjs +76 -0
- package/lib/utils/elementSizeVars.d.ts +15 -0
- package/lib/utils/elementSizeVars.d.ts.map +1 -0
- package/lib/utils/elementSizeVars.js +74 -0
- package/lib/utils/scaleFeedback.cjs +99 -0
- package/lib/utils/scaleFeedback.d.ts +58 -0
- package/lib/utils/scaleFeedback.d.ts.map +1 -0
- package/lib/utils/scaleFeedback.js +94 -0
- package/package.json +4 -4
- package/src/components/ActionButton/ActionButton.tsx +5 -2
- package/src/components/AttachmentDisplay/AttachmentDisplayItem.tsx +14 -9
- package/src/components/AttachmentDisplay/AttachmentDisplayTrigger.tsx +7 -4
- package/src/components/AttachmentInput/AttachmentInputItem.tsx +14 -9
- package/src/components/AttachmentInput/AttachmentInputTrigger.tsx +3 -3
- package/src/components/BottomSheet/BottomSheet.tsx +5 -3
- package/src/components/Callout/Callout.tsx +9 -4
- package/src/components/Checkbox/Checkbox.tsx +3 -3
- package/src/components/Chip/Chip.tsx +2 -1
- package/src/components/ChipTabs/ChipTabs.tsx +3 -3
- package/src/components/ContentDialog/ContentDialog.tsx +5 -3
- package/src/components/ContextualFloatingButton/ContextualFloatingButton.tsx +5 -2
- package/src/components/DatePicker/DatePicker.test.tsx +20 -0
- package/src/components/DatePicker/DatePicker.tsx +14 -2
- package/src/components/DatePicker/index.ts +2 -0
- package/src/components/FieldButton/FieldButton.tsx +6 -3
- package/src/components/FloatingActionButton/FloatingActionButton.tsx +4 -4
- package/src/components/HelpBubble/HelpBubble.tsx +7 -4
- package/src/components/HelpBubbleTooltip/HelpBubbleTooltip.tsx +1 -1
- package/src/components/ImageFrame/ImageFrame.tsx +8 -1
- package/src/components/MenuSheet/MenuSheet.tsx +6 -3
- package/src/components/PageBanner/PageBanner.tsx +5 -6
- package/src/components/QuantityPicker/QuantityPicker.tsx +8 -4
- package/src/components/RadioGroup/RadioGroup.tsx +7 -4
- package/src/components/ReactionButton/ReactionButton.tsx +5 -2
- package/src/components/ScrollFog/ScrollFog.test.tsx +13 -0
- package/src/components/ScrollFog/ScrollFog.tsx +5 -7
- package/src/components/SidePanel/SidePanel.tsx +5 -3
- package/src/components/Snackbar/Snackbar.tsx +6 -3
- package/src/components/SwipeableMenuSheet/SwipeableMenuSheet.tsx +7 -4
- package/src/components/Switch/Switch.tsx +3 -3
- package/src/components/Tabs/Tabs.tsx +3 -3
- package/src/components/ToggleButton/ToggleButton.tsx +5 -2
- package/src/components/WheelPicker/WheelPicker.namespace.ts +9 -0
- package/src/components/WheelPicker/WheelPicker.test.tsx +270 -0
- package/src/components/WheelPicker/WheelPicker.tsx +210 -0
- package/src/components/WheelPicker/index.ts +11 -0
- package/src/components/index.ts +1 -0
- package/src/components/private/WheelPicker.test.tsx +1 -0
- package/src/components/private/WheelPicker.tsx +6 -6
- package/src/index.ts +2 -0
- package/src/utils/elementSizeVars.tsx +112 -0
- package/src/utils/scaleFeedback.tsx +128 -0
|
@@ -10,6 +10,10 @@ export declare function useDismissible(props: UseDismissibleProps): {
|
|
|
10
10
|
open: boolean;
|
|
11
11
|
dismiss: () => void;
|
|
12
12
|
rootProps: {
|
|
13
|
+
children?: React.ReactNode;
|
|
14
|
+
slot?: string | undefined | undefined;
|
|
15
|
+
style?: React.CSSProperties | undefined;
|
|
16
|
+
title?: string | undefined | undefined;
|
|
13
17
|
defaultChecked?: boolean | undefined | undefined;
|
|
14
18
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
15
19
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -18,20 +22,17 @@ export declare function useDismissible(props: UseDismissibleProps): {
|
|
|
18
22
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
19
23
|
autoFocus?: boolean | undefined | undefined;
|
|
20
24
|
className?: string | undefined | undefined;
|
|
21
|
-
contentEditable?: "inherit" | (boolean | "
|
|
25
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
22
26
|
contextMenu?: string | undefined | undefined;
|
|
23
27
|
dir?: string | undefined | undefined;
|
|
24
|
-
draggable?: (boolean | "
|
|
28
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
25
29
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
26
30
|
hidden?: boolean | undefined | undefined;
|
|
27
31
|
id?: string | undefined | undefined;
|
|
28
32
|
lang?: string | undefined | undefined;
|
|
29
33
|
nonce?: string | undefined | undefined;
|
|
30
|
-
|
|
31
|
-
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
32
|
-
style?: React.CSSProperties | undefined;
|
|
34
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
33
35
|
tabIndex?: number | undefined | undefined;
|
|
34
|
-
title?: string | undefined | undefined;
|
|
35
36
|
translate?: "yes" | "no" | undefined | undefined;
|
|
36
37
|
radioGroup?: string | undefined | undefined;
|
|
37
38
|
role?: React.AriaRole | undefined;
|
|
@@ -66,11 +67,11 @@ export declare function useDismissible(props: UseDismissibleProps): {
|
|
|
66
67
|
exportparts?: string | undefined | undefined;
|
|
67
68
|
part?: string | undefined | undefined;
|
|
68
69
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
69
|
-
"aria-atomic"?: (boolean | "
|
|
70
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
70
71
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
71
72
|
"aria-braillelabel"?: string | undefined | undefined;
|
|
72
73
|
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
73
|
-
"aria-busy"?: (boolean | "
|
|
74
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
74
75
|
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
75
76
|
"aria-colcount"?: number | undefined | undefined;
|
|
76
77
|
"aria-colindex"?: number | undefined | undefined;
|
|
@@ -81,44 +82,43 @@ export declare function useDismissible(props: UseDismissibleProps): {
|
|
|
81
82
|
"aria-describedby"?: string | undefined | undefined;
|
|
82
83
|
"aria-description"?: string | undefined | undefined;
|
|
83
84
|
"aria-details"?: string | undefined | undefined;
|
|
84
|
-
"aria-disabled"?: (boolean | "
|
|
85
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
85
86
|
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
86
87
|
"aria-errormessage"?: string | undefined | undefined;
|
|
87
|
-
"aria-expanded"?: (boolean | "
|
|
88
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
88
89
|
"aria-flowto"?: string | undefined | undefined;
|
|
89
|
-
"aria-grabbed"?: (boolean | "
|
|
90
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
90
91
|
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
91
|
-
"aria-hidden"?: (boolean | "
|
|
92
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
92
93
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
93
94
|
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
94
95
|
"aria-label"?: string | undefined | undefined;
|
|
95
96
|
"aria-labelledby"?: string | undefined | undefined;
|
|
96
97
|
"aria-level"?: number | undefined | undefined;
|
|
97
98
|
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
98
|
-
"aria-modal"?: (boolean | "
|
|
99
|
-
"aria-multiline"?: (boolean | "
|
|
100
|
-
"aria-multiselectable"?: (boolean | "
|
|
99
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
100
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
101
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
101
102
|
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
102
103
|
"aria-owns"?: string | undefined | undefined;
|
|
103
104
|
"aria-placeholder"?: string | undefined | undefined;
|
|
104
105
|
"aria-posinset"?: number | undefined | undefined;
|
|
105
106
|
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
106
|
-
"aria-readonly"?: (boolean | "
|
|
107
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
107
108
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
108
|
-
"aria-required"?: (boolean | "
|
|
109
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
109
110
|
"aria-roledescription"?: string | undefined | undefined;
|
|
110
111
|
"aria-rowcount"?: number | undefined | undefined;
|
|
111
112
|
"aria-rowindex"?: number | undefined | undefined;
|
|
112
113
|
"aria-rowindextext"?: string | undefined | undefined;
|
|
113
114
|
"aria-rowspan"?: number | undefined | undefined;
|
|
114
|
-
"aria-selected"?: (boolean | "
|
|
115
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
115
116
|
"aria-setsize"?: number | undefined | undefined;
|
|
116
117
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
117
118
|
"aria-valuemax"?: number | undefined | undefined;
|
|
118
119
|
"aria-valuemin"?: number | undefined | undefined;
|
|
119
120
|
"aria-valuenow"?: number | undefined | undefined;
|
|
120
121
|
"aria-valuetext"?: string | undefined | undefined;
|
|
121
|
-
children?: React.ReactNode;
|
|
122
122
|
dangerouslySetInnerHTML?: {
|
|
123
123
|
__html: string | TrustedHTML;
|
|
124
124
|
} | undefined | undefined;
|
|
@@ -292,6 +292,13 @@ export declare function useDismissible(props: UseDismissibleProps): {
|
|
|
292
292
|
onTransitionStartCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
293
293
|
};
|
|
294
294
|
dismissButtonProps: {
|
|
295
|
+
children?: React.ReactNode;
|
|
296
|
+
value?: string | number | readonly string[] | undefined;
|
|
297
|
+
form?: string | undefined | undefined;
|
|
298
|
+
slot?: string | undefined | undefined;
|
|
299
|
+
style?: React.CSSProperties | undefined;
|
|
300
|
+
title?: string | undefined | undefined;
|
|
301
|
+
name?: string | undefined | undefined;
|
|
295
302
|
defaultChecked?: boolean | undefined | undefined;
|
|
296
303
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
297
304
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -300,20 +307,17 @@ export declare function useDismissible(props: UseDismissibleProps): {
|
|
|
300
307
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
301
308
|
autoFocus?: boolean | undefined | undefined;
|
|
302
309
|
className?: string | undefined | undefined;
|
|
303
|
-
contentEditable?: "inherit" | (boolean | "
|
|
310
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
304
311
|
contextMenu?: string | undefined | undefined;
|
|
305
312
|
dir?: string | undefined | undefined;
|
|
306
|
-
draggable?: (boolean | "
|
|
313
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
307
314
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
308
315
|
hidden?: boolean | undefined | undefined;
|
|
309
316
|
id?: string | undefined | undefined;
|
|
310
317
|
lang?: string | undefined | undefined;
|
|
311
318
|
nonce?: string | undefined | undefined;
|
|
312
|
-
|
|
313
|
-
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
314
|
-
style?: React.CSSProperties | undefined;
|
|
319
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
315
320
|
tabIndex?: number | undefined | undefined;
|
|
316
|
-
title?: string | undefined | undefined;
|
|
317
321
|
translate?: "yes" | "no" | undefined | undefined;
|
|
318
322
|
radioGroup?: string | undefined | undefined;
|
|
319
323
|
role?: React.AriaRole | undefined;
|
|
@@ -348,11 +352,11 @@ export declare function useDismissible(props: UseDismissibleProps): {
|
|
|
348
352
|
exportparts?: string | undefined | undefined;
|
|
349
353
|
part?: string | undefined | undefined;
|
|
350
354
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
351
|
-
"aria-atomic"?: (boolean | "
|
|
355
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
352
356
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
353
357
|
"aria-braillelabel"?: string | undefined | undefined;
|
|
354
358
|
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
355
|
-
"aria-busy"?: (boolean | "
|
|
359
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
356
360
|
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
357
361
|
"aria-colcount"?: number | undefined | undefined;
|
|
358
362
|
"aria-colindex"?: number | undefined | undefined;
|
|
@@ -363,44 +367,43 @@ export declare function useDismissible(props: UseDismissibleProps): {
|
|
|
363
367
|
"aria-describedby"?: string | undefined | undefined;
|
|
364
368
|
"aria-description"?: string | undefined | undefined;
|
|
365
369
|
"aria-details"?: string | undefined | undefined;
|
|
366
|
-
"aria-disabled"?: (boolean | "
|
|
370
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
367
371
|
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
368
372
|
"aria-errormessage"?: string | undefined | undefined;
|
|
369
|
-
"aria-expanded"?: (boolean | "
|
|
373
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
370
374
|
"aria-flowto"?: string | undefined | undefined;
|
|
371
|
-
"aria-grabbed"?: (boolean | "
|
|
375
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
372
376
|
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
373
|
-
"aria-hidden"?: (boolean | "
|
|
377
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
374
378
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
375
379
|
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
376
380
|
"aria-label"?: string | undefined | undefined;
|
|
377
381
|
"aria-labelledby"?: string | undefined | undefined;
|
|
378
382
|
"aria-level"?: number | undefined | undefined;
|
|
379
383
|
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
380
|
-
"aria-modal"?: (boolean | "
|
|
381
|
-
"aria-multiline"?: (boolean | "
|
|
382
|
-
"aria-multiselectable"?: (boolean | "
|
|
384
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
385
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
386
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
383
387
|
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
384
388
|
"aria-owns"?: string | undefined | undefined;
|
|
385
389
|
"aria-placeholder"?: string | undefined | undefined;
|
|
386
390
|
"aria-posinset"?: number | undefined | undefined;
|
|
387
391
|
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
388
|
-
"aria-readonly"?: (boolean | "
|
|
392
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
389
393
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
390
|
-
"aria-required"?: (boolean | "
|
|
394
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
391
395
|
"aria-roledescription"?: string | undefined | undefined;
|
|
392
396
|
"aria-rowcount"?: number | undefined | undefined;
|
|
393
397
|
"aria-rowindex"?: number | undefined | undefined;
|
|
394
398
|
"aria-rowindextext"?: string | undefined | undefined;
|
|
395
399
|
"aria-rowspan"?: number | undefined | undefined;
|
|
396
|
-
"aria-selected"?: (boolean | "
|
|
400
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
397
401
|
"aria-setsize"?: number | undefined | undefined;
|
|
398
402
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
399
403
|
"aria-valuemax"?: number | undefined | undefined;
|
|
400
404
|
"aria-valuemin"?: number | undefined | undefined;
|
|
401
405
|
"aria-valuenow"?: number | undefined | undefined;
|
|
402
406
|
"aria-valuetext"?: string | undefined | undefined;
|
|
403
|
-
children?: React.ReactNode;
|
|
404
407
|
dangerouslySetInnerHTML?: {
|
|
405
408
|
__html: string | TrustedHTML;
|
|
406
409
|
} | undefined | undefined;
|
|
@@ -572,10 +575,7 @@ export declare function useDismissible(props: UseDismissibleProps): {
|
|
|
572
575
|
onTransitionRunCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
573
576
|
onTransitionStart?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
574
577
|
onTransitionStartCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
575
|
-
form?: string | undefined | undefined;
|
|
576
578
|
disabled?: boolean | undefined | undefined;
|
|
577
|
-
value?: string | number | readonly string[] | undefined;
|
|
578
|
-
name?: string | undefined | undefined;
|
|
579
579
|
formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
|
|
580
580
|
formEncType?: string | undefined | undefined;
|
|
581
581
|
formMethod?: string | undefined | undefined;
|
|
@@ -588,6 +588,10 @@ export declare const DismissibleProvider: React.Provider<{
|
|
|
588
588
|
open: boolean;
|
|
589
589
|
dismiss: () => void;
|
|
590
590
|
rootProps: {
|
|
591
|
+
children?: React.ReactNode;
|
|
592
|
+
slot?: string | undefined | undefined;
|
|
593
|
+
style?: React.CSSProperties | undefined;
|
|
594
|
+
title?: string | undefined | undefined;
|
|
591
595
|
defaultChecked?: boolean | undefined | undefined;
|
|
592
596
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
593
597
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -596,20 +600,17 @@ export declare const DismissibleProvider: React.Provider<{
|
|
|
596
600
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
597
601
|
autoFocus?: boolean | undefined | undefined;
|
|
598
602
|
className?: string | undefined | undefined;
|
|
599
|
-
contentEditable?: "inherit" | (boolean | "
|
|
603
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
600
604
|
contextMenu?: string | undefined | undefined;
|
|
601
605
|
dir?: string | undefined | undefined;
|
|
602
|
-
draggable?: (boolean | "
|
|
606
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
603
607
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
604
608
|
hidden?: boolean | undefined | undefined;
|
|
605
609
|
id?: string | undefined | undefined;
|
|
606
610
|
lang?: string | undefined | undefined;
|
|
607
611
|
nonce?: string | undefined | undefined;
|
|
608
|
-
|
|
609
|
-
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
610
|
-
style?: React.CSSProperties | undefined;
|
|
612
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
611
613
|
tabIndex?: number | undefined | undefined;
|
|
612
|
-
title?: string | undefined | undefined;
|
|
613
614
|
translate?: "yes" | "no" | undefined | undefined;
|
|
614
615
|
radioGroup?: string | undefined | undefined;
|
|
615
616
|
role?: React.AriaRole | undefined;
|
|
@@ -644,11 +645,11 @@ export declare const DismissibleProvider: React.Provider<{
|
|
|
644
645
|
exportparts?: string | undefined | undefined;
|
|
645
646
|
part?: string | undefined | undefined;
|
|
646
647
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
647
|
-
"aria-atomic"?: (boolean | "
|
|
648
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
648
649
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
649
650
|
"aria-braillelabel"?: string | undefined | undefined;
|
|
650
651
|
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
651
|
-
"aria-busy"?: (boolean | "
|
|
652
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
652
653
|
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
653
654
|
"aria-colcount"?: number | undefined | undefined;
|
|
654
655
|
"aria-colindex"?: number | undefined | undefined;
|
|
@@ -659,44 +660,43 @@ export declare const DismissibleProvider: React.Provider<{
|
|
|
659
660
|
"aria-describedby"?: string | undefined | undefined;
|
|
660
661
|
"aria-description"?: string | undefined | undefined;
|
|
661
662
|
"aria-details"?: string | undefined | undefined;
|
|
662
|
-
"aria-disabled"?: (boolean | "
|
|
663
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
663
664
|
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
664
665
|
"aria-errormessage"?: string | undefined | undefined;
|
|
665
|
-
"aria-expanded"?: (boolean | "
|
|
666
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
666
667
|
"aria-flowto"?: string | undefined | undefined;
|
|
667
|
-
"aria-grabbed"?: (boolean | "
|
|
668
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
668
669
|
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
669
|
-
"aria-hidden"?: (boolean | "
|
|
670
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
670
671
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
671
672
|
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
672
673
|
"aria-label"?: string | undefined | undefined;
|
|
673
674
|
"aria-labelledby"?: string | undefined | undefined;
|
|
674
675
|
"aria-level"?: number | undefined | undefined;
|
|
675
676
|
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
676
|
-
"aria-modal"?: (boolean | "
|
|
677
|
-
"aria-multiline"?: (boolean | "
|
|
678
|
-
"aria-multiselectable"?: (boolean | "
|
|
677
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
678
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
679
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
679
680
|
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
680
681
|
"aria-owns"?: string | undefined | undefined;
|
|
681
682
|
"aria-placeholder"?: string | undefined | undefined;
|
|
682
683
|
"aria-posinset"?: number | undefined | undefined;
|
|
683
684
|
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
684
|
-
"aria-readonly"?: (boolean | "
|
|
685
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
685
686
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
686
|
-
"aria-required"?: (boolean | "
|
|
687
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
687
688
|
"aria-roledescription"?: string | undefined | undefined;
|
|
688
689
|
"aria-rowcount"?: number | undefined | undefined;
|
|
689
690
|
"aria-rowindex"?: number | undefined | undefined;
|
|
690
691
|
"aria-rowindextext"?: string | undefined | undefined;
|
|
691
692
|
"aria-rowspan"?: number | undefined | undefined;
|
|
692
|
-
"aria-selected"?: (boolean | "
|
|
693
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
693
694
|
"aria-setsize"?: number | undefined | undefined;
|
|
694
695
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
695
696
|
"aria-valuemax"?: number | undefined | undefined;
|
|
696
697
|
"aria-valuemin"?: number | undefined | undefined;
|
|
697
698
|
"aria-valuenow"?: number | undefined | undefined;
|
|
698
699
|
"aria-valuetext"?: string | undefined | undefined;
|
|
699
|
-
children?: React.ReactNode;
|
|
700
700
|
dangerouslySetInnerHTML?: {
|
|
701
701
|
__html: string | TrustedHTML;
|
|
702
702
|
} | undefined | undefined;
|
|
@@ -870,6 +870,13 @@ export declare const DismissibleProvider: React.Provider<{
|
|
|
870
870
|
onTransitionStartCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
871
871
|
};
|
|
872
872
|
dismissButtonProps: {
|
|
873
|
+
children?: React.ReactNode;
|
|
874
|
+
value?: string | number | readonly string[] | undefined;
|
|
875
|
+
form?: string | undefined | undefined;
|
|
876
|
+
slot?: string | undefined | undefined;
|
|
877
|
+
style?: React.CSSProperties | undefined;
|
|
878
|
+
title?: string | undefined | undefined;
|
|
879
|
+
name?: string | undefined | undefined;
|
|
873
880
|
defaultChecked?: boolean | undefined | undefined;
|
|
874
881
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
875
882
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -878,20 +885,17 @@ export declare const DismissibleProvider: React.Provider<{
|
|
|
878
885
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
879
886
|
autoFocus?: boolean | undefined | undefined;
|
|
880
887
|
className?: string | undefined | undefined;
|
|
881
|
-
contentEditable?: "inherit" | (boolean | "
|
|
888
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
882
889
|
contextMenu?: string | undefined | undefined;
|
|
883
890
|
dir?: string | undefined | undefined;
|
|
884
|
-
draggable?: (boolean | "
|
|
891
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
885
892
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
886
893
|
hidden?: boolean | undefined | undefined;
|
|
887
894
|
id?: string | undefined | undefined;
|
|
888
895
|
lang?: string | undefined | undefined;
|
|
889
896
|
nonce?: string | undefined | undefined;
|
|
890
|
-
|
|
891
|
-
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
892
|
-
style?: React.CSSProperties | undefined;
|
|
897
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
893
898
|
tabIndex?: number | undefined | undefined;
|
|
894
|
-
title?: string | undefined | undefined;
|
|
895
899
|
translate?: "yes" | "no" | undefined | undefined;
|
|
896
900
|
radioGroup?: string | undefined | undefined;
|
|
897
901
|
role?: React.AriaRole | undefined;
|
|
@@ -926,11 +930,11 @@ export declare const DismissibleProvider: React.Provider<{
|
|
|
926
930
|
exportparts?: string | undefined | undefined;
|
|
927
931
|
part?: string | undefined | undefined;
|
|
928
932
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
929
|
-
"aria-atomic"?: (boolean | "
|
|
933
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
930
934
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
931
935
|
"aria-braillelabel"?: string | undefined | undefined;
|
|
932
936
|
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
933
|
-
"aria-busy"?: (boolean | "
|
|
937
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
934
938
|
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
935
939
|
"aria-colcount"?: number | undefined | undefined;
|
|
936
940
|
"aria-colindex"?: number | undefined | undefined;
|
|
@@ -941,44 +945,43 @@ export declare const DismissibleProvider: React.Provider<{
|
|
|
941
945
|
"aria-describedby"?: string | undefined | undefined;
|
|
942
946
|
"aria-description"?: string | undefined | undefined;
|
|
943
947
|
"aria-details"?: string | undefined | undefined;
|
|
944
|
-
"aria-disabled"?: (boolean | "
|
|
948
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
945
949
|
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
946
950
|
"aria-errormessage"?: string | undefined | undefined;
|
|
947
|
-
"aria-expanded"?: (boolean | "
|
|
951
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
948
952
|
"aria-flowto"?: string | undefined | undefined;
|
|
949
|
-
"aria-grabbed"?: (boolean | "
|
|
953
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
950
954
|
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
951
|
-
"aria-hidden"?: (boolean | "
|
|
955
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
952
956
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
953
957
|
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
954
958
|
"aria-label"?: string | undefined | undefined;
|
|
955
959
|
"aria-labelledby"?: string | undefined | undefined;
|
|
956
960
|
"aria-level"?: number | undefined | undefined;
|
|
957
961
|
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
958
|
-
"aria-modal"?: (boolean | "
|
|
959
|
-
"aria-multiline"?: (boolean | "
|
|
960
|
-
"aria-multiselectable"?: (boolean | "
|
|
962
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
963
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
964
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
961
965
|
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
962
966
|
"aria-owns"?: string | undefined | undefined;
|
|
963
967
|
"aria-placeholder"?: string | undefined | undefined;
|
|
964
968
|
"aria-posinset"?: number | undefined | undefined;
|
|
965
969
|
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
966
|
-
"aria-readonly"?: (boolean | "
|
|
970
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
967
971
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
968
|
-
"aria-required"?: (boolean | "
|
|
972
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
969
973
|
"aria-roledescription"?: string | undefined | undefined;
|
|
970
974
|
"aria-rowcount"?: number | undefined | undefined;
|
|
971
975
|
"aria-rowindex"?: number | undefined | undefined;
|
|
972
976
|
"aria-rowindextext"?: string | undefined | undefined;
|
|
973
977
|
"aria-rowspan"?: number | undefined | undefined;
|
|
974
|
-
"aria-selected"?: (boolean | "
|
|
978
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
975
979
|
"aria-setsize"?: number | undefined | undefined;
|
|
976
980
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
977
981
|
"aria-valuemax"?: number | undefined | undefined;
|
|
978
982
|
"aria-valuemin"?: number | undefined | undefined;
|
|
979
983
|
"aria-valuenow"?: number | undefined | undefined;
|
|
980
984
|
"aria-valuetext"?: string | undefined | undefined;
|
|
981
|
-
children?: React.ReactNode;
|
|
982
985
|
dangerouslySetInnerHTML?: {
|
|
983
986
|
__html: string | TrustedHTML;
|
|
984
987
|
} | undefined | undefined;
|
|
@@ -1150,10 +1153,7 @@ export declare const DismissibleProvider: React.Provider<{
|
|
|
1150
1153
|
onTransitionRunCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
1151
1154
|
onTransitionStart?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
1152
1155
|
onTransitionStartCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
1153
|
-
form?: string | undefined | undefined;
|
|
1154
1156
|
disabled?: boolean | undefined | undefined;
|
|
1155
|
-
value?: string | number | readonly string[] | undefined;
|
|
1156
|
-
name?: string | undefined | undefined;
|
|
1157
1157
|
formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
|
|
1158
1158
|
formEncType?: string | undefined | undefined;
|
|
1159
1159
|
formMethod?: string | undefined | undefined;
|
|
@@ -1166,6 +1166,10 @@ export declare const useDismissibleContext: () => {
|
|
|
1166
1166
|
open: boolean;
|
|
1167
1167
|
dismiss: () => void;
|
|
1168
1168
|
rootProps: {
|
|
1169
|
+
children?: React.ReactNode;
|
|
1170
|
+
slot?: string | undefined | undefined;
|
|
1171
|
+
style?: React.CSSProperties | undefined;
|
|
1172
|
+
title?: string | undefined | undefined;
|
|
1169
1173
|
defaultChecked?: boolean | undefined | undefined;
|
|
1170
1174
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
1171
1175
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -1174,20 +1178,17 @@ export declare const useDismissibleContext: () => {
|
|
|
1174
1178
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
1175
1179
|
autoFocus?: boolean | undefined | undefined;
|
|
1176
1180
|
className?: string | undefined | undefined;
|
|
1177
|
-
contentEditable?: "inherit" | (boolean | "
|
|
1181
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
1178
1182
|
contextMenu?: string | undefined | undefined;
|
|
1179
1183
|
dir?: string | undefined | undefined;
|
|
1180
|
-
draggable?: (boolean | "
|
|
1184
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
1181
1185
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
1182
1186
|
hidden?: boolean | undefined | undefined;
|
|
1183
1187
|
id?: string | undefined | undefined;
|
|
1184
1188
|
lang?: string | undefined | undefined;
|
|
1185
1189
|
nonce?: string | undefined | undefined;
|
|
1186
|
-
|
|
1187
|
-
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
1188
|
-
style?: React.CSSProperties | undefined;
|
|
1190
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
1189
1191
|
tabIndex?: number | undefined | undefined;
|
|
1190
|
-
title?: string | undefined | undefined;
|
|
1191
1192
|
translate?: "yes" | "no" | undefined | undefined;
|
|
1192
1193
|
radioGroup?: string | undefined | undefined;
|
|
1193
1194
|
role?: React.AriaRole | undefined;
|
|
@@ -1222,11 +1223,11 @@ export declare const useDismissibleContext: () => {
|
|
|
1222
1223
|
exportparts?: string | undefined | undefined;
|
|
1223
1224
|
part?: string | undefined | undefined;
|
|
1224
1225
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
1225
|
-
"aria-atomic"?: (boolean | "
|
|
1226
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
1226
1227
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
1227
1228
|
"aria-braillelabel"?: string | undefined | undefined;
|
|
1228
1229
|
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
1229
|
-
"aria-busy"?: (boolean | "
|
|
1230
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
1230
1231
|
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
1231
1232
|
"aria-colcount"?: number | undefined | undefined;
|
|
1232
1233
|
"aria-colindex"?: number | undefined | undefined;
|
|
@@ -1237,44 +1238,43 @@ export declare const useDismissibleContext: () => {
|
|
|
1237
1238
|
"aria-describedby"?: string | undefined | undefined;
|
|
1238
1239
|
"aria-description"?: string | undefined | undefined;
|
|
1239
1240
|
"aria-details"?: string | undefined | undefined;
|
|
1240
|
-
"aria-disabled"?: (boolean | "
|
|
1241
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
1241
1242
|
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
1242
1243
|
"aria-errormessage"?: string | undefined | undefined;
|
|
1243
|
-
"aria-expanded"?: (boolean | "
|
|
1244
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
1244
1245
|
"aria-flowto"?: string | undefined | undefined;
|
|
1245
|
-
"aria-grabbed"?: (boolean | "
|
|
1246
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
1246
1247
|
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
1247
|
-
"aria-hidden"?: (boolean | "
|
|
1248
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
1248
1249
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
1249
1250
|
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
1250
1251
|
"aria-label"?: string | undefined | undefined;
|
|
1251
1252
|
"aria-labelledby"?: string | undefined | undefined;
|
|
1252
1253
|
"aria-level"?: number | undefined | undefined;
|
|
1253
1254
|
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
1254
|
-
"aria-modal"?: (boolean | "
|
|
1255
|
-
"aria-multiline"?: (boolean | "
|
|
1256
|
-
"aria-multiselectable"?: (boolean | "
|
|
1255
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
1256
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
1257
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
1257
1258
|
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
1258
1259
|
"aria-owns"?: string | undefined | undefined;
|
|
1259
1260
|
"aria-placeholder"?: string | undefined | undefined;
|
|
1260
1261
|
"aria-posinset"?: number | undefined | undefined;
|
|
1261
1262
|
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
1262
|
-
"aria-readonly"?: (boolean | "
|
|
1263
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
1263
1264
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
1264
|
-
"aria-required"?: (boolean | "
|
|
1265
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
1265
1266
|
"aria-roledescription"?: string | undefined | undefined;
|
|
1266
1267
|
"aria-rowcount"?: number | undefined | undefined;
|
|
1267
1268
|
"aria-rowindex"?: number | undefined | undefined;
|
|
1268
1269
|
"aria-rowindextext"?: string | undefined | undefined;
|
|
1269
1270
|
"aria-rowspan"?: number | undefined | undefined;
|
|
1270
|
-
"aria-selected"?: (boolean | "
|
|
1271
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
1271
1272
|
"aria-setsize"?: number | undefined | undefined;
|
|
1272
1273
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
1273
1274
|
"aria-valuemax"?: number | undefined | undefined;
|
|
1274
1275
|
"aria-valuemin"?: number | undefined | undefined;
|
|
1275
1276
|
"aria-valuenow"?: number | undefined | undefined;
|
|
1276
1277
|
"aria-valuetext"?: string | undefined | undefined;
|
|
1277
|
-
children?: React.ReactNode;
|
|
1278
1278
|
dangerouslySetInnerHTML?: {
|
|
1279
1279
|
__html: string | TrustedHTML;
|
|
1280
1280
|
} | undefined | undefined;
|
|
@@ -1448,6 +1448,13 @@ export declare const useDismissibleContext: () => {
|
|
|
1448
1448
|
onTransitionStartCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
1449
1449
|
};
|
|
1450
1450
|
dismissButtonProps: {
|
|
1451
|
+
children?: React.ReactNode;
|
|
1452
|
+
value?: string | number | readonly string[] | undefined;
|
|
1453
|
+
form?: string | undefined | undefined;
|
|
1454
|
+
slot?: string | undefined | undefined;
|
|
1455
|
+
style?: React.CSSProperties | undefined;
|
|
1456
|
+
title?: string | undefined | undefined;
|
|
1457
|
+
name?: string | undefined | undefined;
|
|
1451
1458
|
defaultChecked?: boolean | undefined | undefined;
|
|
1452
1459
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
1453
1460
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -1456,20 +1463,17 @@ export declare const useDismissibleContext: () => {
|
|
|
1456
1463
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
1457
1464
|
autoFocus?: boolean | undefined | undefined;
|
|
1458
1465
|
className?: string | undefined | undefined;
|
|
1459
|
-
contentEditable?: "inherit" | (boolean | "
|
|
1466
|
+
contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
|
|
1460
1467
|
contextMenu?: string | undefined | undefined;
|
|
1461
1468
|
dir?: string | undefined | undefined;
|
|
1462
|
-
draggable?: (boolean | "
|
|
1469
|
+
draggable?: (boolean | "true" | "false") | undefined;
|
|
1463
1470
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
1464
1471
|
hidden?: boolean | undefined | undefined;
|
|
1465
1472
|
id?: string | undefined | undefined;
|
|
1466
1473
|
lang?: string | undefined | undefined;
|
|
1467
1474
|
nonce?: string | undefined | undefined;
|
|
1468
|
-
|
|
1469
|
-
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
1470
|
-
style?: React.CSSProperties | undefined;
|
|
1475
|
+
spellCheck?: (boolean | "true" | "false") | undefined;
|
|
1471
1476
|
tabIndex?: number | undefined | undefined;
|
|
1472
|
-
title?: string | undefined | undefined;
|
|
1473
1477
|
translate?: "yes" | "no" | undefined | undefined;
|
|
1474
1478
|
radioGroup?: string | undefined | undefined;
|
|
1475
1479
|
role?: React.AriaRole | undefined;
|
|
@@ -1504,11 +1508,11 @@ export declare const useDismissibleContext: () => {
|
|
|
1504
1508
|
exportparts?: string | undefined | undefined;
|
|
1505
1509
|
part?: string | undefined | undefined;
|
|
1506
1510
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
1507
|
-
"aria-atomic"?: (boolean | "
|
|
1511
|
+
"aria-atomic"?: (boolean | "true" | "false") | undefined;
|
|
1508
1512
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
1509
1513
|
"aria-braillelabel"?: string | undefined | undefined;
|
|
1510
1514
|
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
1511
|
-
"aria-busy"?: (boolean | "
|
|
1515
|
+
"aria-busy"?: (boolean | "true" | "false") | undefined;
|
|
1512
1516
|
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
1513
1517
|
"aria-colcount"?: number | undefined | undefined;
|
|
1514
1518
|
"aria-colindex"?: number | undefined | undefined;
|
|
@@ -1519,44 +1523,43 @@ export declare const useDismissibleContext: () => {
|
|
|
1519
1523
|
"aria-describedby"?: string | undefined | undefined;
|
|
1520
1524
|
"aria-description"?: string | undefined | undefined;
|
|
1521
1525
|
"aria-details"?: string | undefined | undefined;
|
|
1522
|
-
"aria-disabled"?: (boolean | "
|
|
1526
|
+
"aria-disabled"?: (boolean | "true" | "false") | undefined;
|
|
1523
1527
|
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
1524
1528
|
"aria-errormessage"?: string | undefined | undefined;
|
|
1525
|
-
"aria-expanded"?: (boolean | "
|
|
1529
|
+
"aria-expanded"?: (boolean | "true" | "false") | undefined;
|
|
1526
1530
|
"aria-flowto"?: string | undefined | undefined;
|
|
1527
|
-
"aria-grabbed"?: (boolean | "
|
|
1531
|
+
"aria-grabbed"?: (boolean | "true" | "false") | undefined;
|
|
1528
1532
|
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
1529
|
-
"aria-hidden"?: (boolean | "
|
|
1533
|
+
"aria-hidden"?: (boolean | "true" | "false") | undefined;
|
|
1530
1534
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
1531
1535
|
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
1532
1536
|
"aria-label"?: string | undefined | undefined;
|
|
1533
1537
|
"aria-labelledby"?: string | undefined | undefined;
|
|
1534
1538
|
"aria-level"?: number | undefined | undefined;
|
|
1535
1539
|
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
1536
|
-
"aria-modal"?: (boolean | "
|
|
1537
|
-
"aria-multiline"?: (boolean | "
|
|
1538
|
-
"aria-multiselectable"?: (boolean | "
|
|
1540
|
+
"aria-modal"?: (boolean | "true" | "false") | undefined;
|
|
1541
|
+
"aria-multiline"?: (boolean | "true" | "false") | undefined;
|
|
1542
|
+
"aria-multiselectable"?: (boolean | "true" | "false") | undefined;
|
|
1539
1543
|
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
1540
1544
|
"aria-owns"?: string | undefined | undefined;
|
|
1541
1545
|
"aria-placeholder"?: string | undefined | undefined;
|
|
1542
1546
|
"aria-posinset"?: number | undefined | undefined;
|
|
1543
1547
|
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
1544
|
-
"aria-readonly"?: (boolean | "
|
|
1548
|
+
"aria-readonly"?: (boolean | "true" | "false") | undefined;
|
|
1545
1549
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
1546
|
-
"aria-required"?: (boolean | "
|
|
1550
|
+
"aria-required"?: (boolean | "true" | "false") | undefined;
|
|
1547
1551
|
"aria-roledescription"?: string | undefined | undefined;
|
|
1548
1552
|
"aria-rowcount"?: number | undefined | undefined;
|
|
1549
1553
|
"aria-rowindex"?: number | undefined | undefined;
|
|
1550
1554
|
"aria-rowindextext"?: string | undefined | undefined;
|
|
1551
1555
|
"aria-rowspan"?: number | undefined | undefined;
|
|
1552
|
-
"aria-selected"?: (boolean | "
|
|
1556
|
+
"aria-selected"?: (boolean | "true" | "false") | undefined;
|
|
1553
1557
|
"aria-setsize"?: number | undefined | undefined;
|
|
1554
1558
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
1555
1559
|
"aria-valuemax"?: number | undefined | undefined;
|
|
1556
1560
|
"aria-valuemin"?: number | undefined | undefined;
|
|
1557
1561
|
"aria-valuenow"?: number | undefined | undefined;
|
|
1558
1562
|
"aria-valuetext"?: string | undefined | undefined;
|
|
1559
|
-
children?: React.ReactNode;
|
|
1560
1563
|
dangerouslySetInnerHTML?: {
|
|
1561
1564
|
__html: string | TrustedHTML;
|
|
1562
1565
|
} | undefined | undefined;
|
|
@@ -1728,10 +1731,7 @@ export declare const useDismissibleContext: () => {
|
|
|
1728
1731
|
onTransitionRunCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
1729
1732
|
onTransitionStart?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
1730
1733
|
onTransitionStartCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
1731
|
-
form?: string | undefined | undefined;
|
|
1732
1734
|
disabled?: boolean | undefined | undefined;
|
|
1733
|
-
value?: string | number | readonly string[] | undefined;
|
|
1734
|
-
name?: string | undefined | undefined;
|
|
1735
1735
|
formAction?: string | ((formData: FormData) => void | Promise<void>) | undefined;
|
|
1736
1736
|
formEncType?: string | undefined | undefined;
|
|
1737
1737
|
formMethod?: string | undefined | undefined;
|