@seed-design/react 0.0.4 → 0.0.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/lib/components/ActionButton/ActionButton.cjs +6 -6
- package/lib/components/ActionButton/ActionButton.d.ts.map +1 -1
- package/lib/components/ActionButton/ActionButton.js +6 -6
- package/lib/components/ActionChip/ActionChip.cjs +4 -4
- package/lib/components/ActionChip/ActionChip.d.ts +1 -1
- package/lib/components/ActionChip/ActionChip.d.ts.map +1 -1
- package/lib/components/ActionChip/ActionChip.js +4 -4
- package/lib/components/ActionSheet/ActionSheet.cjs +7 -7
- package/lib/components/ActionSheet/ActionSheet.d.ts +2 -2
- package/lib/components/ActionSheet/ActionSheet.d.ts.map +1 -1
- package/lib/components/ActionSheet/ActionSheet.js +7 -7
- package/lib/components/Avatar/Avatar.cjs +2 -2
- package/lib/components/Avatar/Avatar.js +2 -2
- package/lib/components/Badge/Badge.cjs +3 -3
- package/lib/components/Badge/Badge.d.ts.map +1 -1
- package/lib/components/Badge/Badge.js +3 -3
- package/lib/components/BottomSheet/BottomSheet.cjs +2 -2
- package/lib/components/BottomSheet/BottomSheet.js +2 -2
- package/lib/components/Callout/Callout.cjs +2 -2
- package/lib/components/Callout/Callout.js +2 -2
- package/lib/components/Checkbox/Checkbox.cjs +2 -2
- package/lib/components/Checkbox/Checkbox.js +2 -2
- package/lib/components/ChipTabs/ChipTabs.cjs +2 -2
- package/lib/components/ChipTabs/ChipTabs.js +2 -2
- package/lib/components/ControlChip/ControlChip.cjs +3 -3
- package/lib/components/ControlChip/ControlChip.js +3 -3
- package/lib/components/Dialog/Dialog.cjs +2 -2
- package/lib/components/Dialog/Dialog.js +2 -2
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.cjs +5 -4
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.d.ts.map +1 -1
- package/lib/components/ExtendedActionSheet/ExtendedActionSheet.js +5 -4
- package/lib/components/ExtendedFab/ExtendedFab.cjs +7 -11
- package/lib/components/ExtendedFab/ExtendedFab.d.ts.map +1 -1
- package/lib/components/ExtendedFab/ExtendedFab.js +7 -11
- package/lib/components/Fab/Fab.cjs +3 -3
- package/lib/components/Fab/Fab.d.ts.map +1 -1
- package/lib/components/Fab/Fab.js +3 -3
- package/lib/components/HelpBubble/HelpBubble.cjs +8 -3
- package/lib/components/HelpBubble/HelpBubble.d.ts.map +1 -1
- package/lib/components/HelpBubble/HelpBubble.js +8 -3
- package/lib/components/IdentityPlaceholder/IdentityPlaceholder.cjs +2 -2
- package/lib/components/IdentityPlaceholder/IdentityPlaceholder.js +2 -2
- package/lib/components/InlineBanner/InlineBanner.cjs +2 -2
- package/lib/components/InlineBanner/InlineBanner.js +2 -2
- package/lib/components/LinkContent/LinkContent.cjs +3 -4
- package/lib/components/LinkContent/LinkContent.d.ts.map +1 -1
- package/lib/components/LinkContent/LinkContent.js +3 -4
- package/lib/components/LoadingIndicator/usePendingButton.d.ts +57 -57
- package/lib/components/MannerTempBadge/MannerTempBadge.cjs +4 -7
- package/lib/components/MannerTempBadge/MannerTempBadge.d.ts +1 -1
- package/lib/components/MannerTempBadge/MannerTempBadge.d.ts.map +1 -1
- package/lib/components/MannerTempBadge/MannerTempBadge.js +4 -7
- package/lib/components/ProgressCircle/ProgressCircle.cjs +2 -2
- package/lib/components/ProgressCircle/ProgressCircle.js +2 -2
- package/lib/components/PullToRefresh/PullToRefresh.cjs +2 -2
- package/lib/components/PullToRefresh/PullToRefresh.js +2 -2
- package/lib/components/ReactionButton/ReactionButton.cjs +5 -5
- package/lib/components/ReactionButton/ReactionButton.js +5 -5
- package/lib/components/SegmentedControl/SegmentedControl.cjs +2 -2
- package/lib/components/SegmentedControl/SegmentedControl.js +2 -2
- package/lib/components/SelectBox/CheckSelectBox.cjs +8 -8
- package/lib/components/SelectBox/CheckSelectBox.d.ts.map +1 -1
- package/lib/components/SelectBox/CheckSelectBox.js +8 -8
- package/lib/components/SelectBox/RadioSelectBox.cjs +7 -7
- package/lib/components/SelectBox/RadioSelectBox.d.ts.map +1 -1
- package/lib/components/SelectBox/RadioSelectBox.js +7 -7
- package/lib/components/Skeleton/Skeleton.cjs +3 -6
- package/lib/components/Skeleton/Skeleton.d.ts.map +1 -1
- package/lib/components/Skeleton/Skeleton.js +3 -6
- package/lib/components/Snackbar/Snackbar.cjs +20 -24
- package/lib/components/Snackbar/Snackbar.d.ts +3 -3
- package/lib/components/Snackbar/Snackbar.d.ts.map +1 -1
- package/lib/components/Snackbar/Snackbar.js +21 -25
- package/lib/components/Snackbar/Snackbar.namespace.cjs +1 -1
- package/lib/components/Snackbar/Snackbar.namespace.d.ts +1 -1
- package/lib/components/Snackbar/Snackbar.namespace.d.ts.map +1 -1
- package/lib/components/Snackbar/Snackbar.namespace.js +1 -1
- package/lib/components/Snackbar/index.cjs +1 -1
- package/lib/components/Snackbar/index.d.ts +1 -1
- package/lib/components/Snackbar/index.d.ts.map +1 -1
- package/lib/components/Snackbar/index.js +1 -1
- package/lib/components/Switch/Switch.cjs +2 -2
- package/lib/components/Switch/Switch.js +2 -2
- package/lib/components/Tabs/Tabs.cjs +2 -2
- package/lib/components/Tabs/Tabs.js +2 -2
- package/lib/components/Text/Text.cjs +2 -2
- package/lib/components/Text/Text.js +2 -2
- package/lib/components/TextField/TextField.cjs +2 -2
- package/lib/components/TextField/TextField.js +2 -2
- package/lib/components/ToggleButton/ToggleButton.cjs +5 -5
- package/lib/components/ToggleButton/ToggleButton.js +5 -5
- package/lib/components/VisuallyHidden/VisuallyHidden.cjs +8 -8
- package/lib/components/VisuallyHidden/VisuallyHidden.d.ts.map +1 -1
- package/lib/components/VisuallyHidden/VisuallyHidden.js +7 -7
- package/lib/components/index.cjs +1 -1
- package/lib/components/index.js +1 -1
- package/lib/components/private/useDismissible.d.ts +123 -123
- package/lib/index.cjs +1 -1
- package/lib/index.js +1 -1
- package/lib/utils/createRecipeContext.cjs +74 -0
- package/lib/utils/createRecipeContext.d.ts +24 -0
- package/lib/utils/createRecipeContext.d.ts.map +1 -0
- package/lib/utils/createRecipeContext.js +70 -0
- package/lib/utils/{createStyleContext.cjs → createSlotRecipeContext.cjs} +2 -2
- package/lib/utils/{createStyleContext.d.ts → createSlotRecipeContext.d.ts} +3 -3
- package/lib/utils/createSlotRecipeContext.d.ts.map +1 -0
- package/lib/utils/{createStyleContext.js → createSlotRecipeContext.js} +2 -2
- package/package.json +3 -3
- package/src/components/ActionButton/ActionButton.tsx +7 -7
- package/src/components/ActionChip/ActionChip.tsx +4 -4
- package/src/components/ActionSheet/ActionSheet.tsx +6 -6
- package/src/components/Avatar/Avatar.tsx +2 -2
- package/src/components/Badge/Badge.tsx +3 -3
- package/src/components/BottomSheet/BottomSheet.tsx +2 -2
- package/src/components/Callout/Callout.tsx +2 -2
- package/src/components/Checkbox/Checkbox.tsx +2 -2
- package/src/components/ChipTabs/ChipTabs.tsx +2 -2
- package/src/components/ControlChip/ControlChip.tsx +3 -3
- package/src/components/Dialog/Dialog.tsx +2 -2
- package/src/components/ExtendedActionSheet/ExtendedActionSheet.tsx +5 -4
- package/src/components/ExtendedFab/ExtendedFab.tsx +7 -11
- package/src/components/Fab/Fab.tsx +3 -3
- package/src/components/HelpBubble/HelpBubble.tsx +7 -4
- package/src/components/IdentityPlaceholder/IdentityPlaceholder.tsx +2 -2
- package/src/components/InlineBanner/InlineBanner.tsx +2 -2
- package/src/components/LinkContent/LinkContent.tsx +2 -4
- package/src/components/MannerTempBadge/MannerTempBadge.tsx +4 -7
- package/src/components/ProgressCircle/ProgressCircle.tsx +2 -2
- package/src/components/PullToRefresh/PullToRefresh.tsx +2 -2
- package/src/components/ReactionButton/ReactionButton.tsx +6 -6
- package/src/components/SegmentedControl/SegmentedControl.tsx +2 -2
- package/src/components/SelectBox/CheckSelectBox.tsx +7 -7
- package/src/components/SelectBox/RadioSelectBox.tsx +6 -6
- package/src/components/Skeleton/Skeleton.tsx +3 -6
- package/src/components/Snackbar/Snackbar.namespace.ts +2 -2
- package/src/components/Snackbar/Snackbar.tsx +22 -23
- package/src/components/Snackbar/index.ts +2 -2
- package/src/components/Switch/Switch.tsx +2 -2
- package/src/components/Tabs/Tabs.tsx +2 -2
- package/src/components/Text/Text.tsx +2 -2
- package/src/components/TextField/TextField.tsx +2 -2
- package/src/components/ToggleButton/ToggleButton.tsx +6 -6
- package/src/components/VisuallyHidden/VisuallyHidden.tsx +6 -8
- package/src/utils/createRecipeContext.tsx +114 -0
- package/src/utils/{createStyleContext.tsx → createSlotRecipeContext.tsx} +3 -3
- package/lib/utils/createStyleContext.d.ts.map +0 -1
|
@@ -10,10 +10,6 @@ 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;
|
|
17
13
|
defaultChecked?: boolean | undefined | undefined;
|
|
18
14
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
19
15
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -22,17 +18,20 @@ export declare function useDismissible(props: UseDismissibleProps): {
|
|
|
22
18
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
23
19
|
autoFocus?: boolean | undefined | undefined;
|
|
24
20
|
className?: string | undefined | undefined;
|
|
25
|
-
contentEditable?: "inherit" | (boolean | "
|
|
21
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
26
22
|
contextMenu?: string | undefined | undefined;
|
|
27
23
|
dir?: string | undefined | undefined;
|
|
28
|
-
draggable?: (boolean | "
|
|
24
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
|
29
25
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
30
26
|
hidden?: boolean | undefined | undefined;
|
|
31
27
|
id?: string | undefined | undefined;
|
|
32
28
|
lang?: string | undefined | undefined;
|
|
33
29
|
nonce?: string | undefined | undefined;
|
|
34
|
-
|
|
30
|
+
slot?: string | undefined | undefined;
|
|
31
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
32
|
+
style?: React.CSSProperties | undefined;
|
|
35
33
|
tabIndex?: number | undefined | undefined;
|
|
34
|
+
title?: string | undefined | undefined;
|
|
36
35
|
translate?: "yes" | "no" | undefined | undefined;
|
|
37
36
|
radioGroup?: string | undefined | undefined;
|
|
38
37
|
role?: React.AriaRole | undefined;
|
|
@@ -61,11 +60,11 @@ export declare function useDismissible(props: UseDismissibleProps): {
|
|
|
61
60
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
62
61
|
is?: string | undefined | undefined;
|
|
63
62
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
64
|
-
"aria-atomic"?: (boolean | "
|
|
63
|
+
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
65
64
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
66
65
|
"aria-braillelabel"?: string | undefined | undefined;
|
|
67
66
|
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
68
|
-
"aria-busy"?: (boolean | "
|
|
67
|
+
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
69
68
|
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
70
69
|
"aria-colcount"?: number | undefined | undefined;
|
|
71
70
|
"aria-colindex"?: number | undefined | undefined;
|
|
@@ -76,43 +75,44 @@ export declare function useDismissible(props: UseDismissibleProps): {
|
|
|
76
75
|
"aria-describedby"?: string | undefined | undefined;
|
|
77
76
|
"aria-description"?: string | undefined | undefined;
|
|
78
77
|
"aria-details"?: string | undefined | undefined;
|
|
79
|
-
"aria-disabled"?: (boolean | "
|
|
78
|
+
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
80
79
|
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
81
80
|
"aria-errormessage"?: string | undefined | undefined;
|
|
82
|
-
"aria-expanded"?: (boolean | "
|
|
81
|
+
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
83
82
|
"aria-flowto"?: string | undefined | undefined;
|
|
84
|
-
"aria-grabbed"?: (boolean | "
|
|
83
|
+
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
85
84
|
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
86
|
-
"aria-hidden"?: (boolean | "
|
|
85
|
+
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
87
86
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
88
87
|
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
89
88
|
"aria-label"?: string | undefined | undefined;
|
|
90
89
|
"aria-labelledby"?: string | undefined | undefined;
|
|
91
90
|
"aria-level"?: number | undefined | undefined;
|
|
92
91
|
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
93
|
-
"aria-modal"?: (boolean | "
|
|
94
|
-
"aria-multiline"?: (boolean | "
|
|
95
|
-
"aria-multiselectable"?: (boolean | "
|
|
92
|
+
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
93
|
+
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
94
|
+
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
96
95
|
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
97
96
|
"aria-owns"?: string | undefined | undefined;
|
|
98
97
|
"aria-placeholder"?: string | undefined | undefined;
|
|
99
98
|
"aria-posinset"?: number | undefined | undefined;
|
|
100
99
|
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
101
|
-
"aria-readonly"?: (boolean | "
|
|
100
|
+
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
102
101
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
103
|
-
"aria-required"?: (boolean | "
|
|
102
|
+
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
104
103
|
"aria-roledescription"?: string | undefined | undefined;
|
|
105
104
|
"aria-rowcount"?: number | undefined | undefined;
|
|
106
105
|
"aria-rowindex"?: number | undefined | undefined;
|
|
107
106
|
"aria-rowindextext"?: string | undefined | undefined;
|
|
108
107
|
"aria-rowspan"?: number | undefined | undefined;
|
|
109
|
-
"aria-selected"?: (boolean | "
|
|
108
|
+
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
110
109
|
"aria-setsize"?: number | undefined | undefined;
|
|
111
110
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
112
111
|
"aria-valuemax"?: number | undefined | undefined;
|
|
113
112
|
"aria-valuemin"?: number | undefined | undefined;
|
|
114
113
|
"aria-valuenow"?: number | undefined | undefined;
|
|
115
114
|
"aria-valuetext"?: string | undefined | undefined;
|
|
115
|
+
children?: React.ReactNode;
|
|
116
116
|
dangerouslySetInnerHTML?: {
|
|
117
117
|
__html: string | TrustedHTML;
|
|
118
118
|
} | undefined | undefined;
|
|
@@ -278,13 +278,6 @@ export declare function useDismissible(props: UseDismissibleProps): {
|
|
|
278
278
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
279
279
|
};
|
|
280
280
|
dismissButtonProps: {
|
|
281
|
-
children?: React.ReactNode;
|
|
282
|
-
value?: string | number | readonly string[] | undefined;
|
|
283
|
-
form?: string | undefined | undefined;
|
|
284
|
-
slot?: string | undefined | undefined;
|
|
285
|
-
style?: React.CSSProperties | undefined;
|
|
286
|
-
title?: string | undefined | undefined;
|
|
287
|
-
name?: string | undefined | undefined;
|
|
288
281
|
defaultChecked?: boolean | undefined | undefined;
|
|
289
282
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
290
283
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -293,17 +286,20 @@ export declare function useDismissible(props: UseDismissibleProps): {
|
|
|
293
286
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
294
287
|
autoFocus?: boolean | undefined | undefined;
|
|
295
288
|
className?: string | undefined | undefined;
|
|
296
|
-
contentEditable?: "inherit" | (boolean | "
|
|
289
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
297
290
|
contextMenu?: string | undefined | undefined;
|
|
298
291
|
dir?: string | undefined | undefined;
|
|
299
|
-
draggable?: (boolean | "
|
|
292
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
|
300
293
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
301
294
|
hidden?: boolean | undefined | undefined;
|
|
302
295
|
id?: string | undefined | undefined;
|
|
303
296
|
lang?: string | undefined | undefined;
|
|
304
297
|
nonce?: string | undefined | undefined;
|
|
305
|
-
|
|
298
|
+
slot?: string | undefined | undefined;
|
|
299
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
300
|
+
style?: React.CSSProperties | undefined;
|
|
306
301
|
tabIndex?: number | undefined | undefined;
|
|
302
|
+
title?: string | undefined | undefined;
|
|
307
303
|
translate?: "yes" | "no" | undefined | undefined;
|
|
308
304
|
radioGroup?: string | undefined | undefined;
|
|
309
305
|
role?: React.AriaRole | undefined;
|
|
@@ -332,11 +328,11 @@ export declare function useDismissible(props: UseDismissibleProps): {
|
|
|
332
328
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
333
329
|
is?: string | undefined | undefined;
|
|
334
330
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
335
|
-
"aria-atomic"?: (boolean | "
|
|
331
|
+
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
336
332
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
337
333
|
"aria-braillelabel"?: string | undefined | undefined;
|
|
338
334
|
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
339
|
-
"aria-busy"?: (boolean | "
|
|
335
|
+
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
340
336
|
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
341
337
|
"aria-colcount"?: number | undefined | undefined;
|
|
342
338
|
"aria-colindex"?: number | undefined | undefined;
|
|
@@ -347,43 +343,44 @@ export declare function useDismissible(props: UseDismissibleProps): {
|
|
|
347
343
|
"aria-describedby"?: string | undefined | undefined;
|
|
348
344
|
"aria-description"?: string | undefined | undefined;
|
|
349
345
|
"aria-details"?: string | undefined | undefined;
|
|
350
|
-
"aria-disabled"?: (boolean | "
|
|
346
|
+
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
351
347
|
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
352
348
|
"aria-errormessage"?: string | undefined | undefined;
|
|
353
|
-
"aria-expanded"?: (boolean | "
|
|
349
|
+
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
354
350
|
"aria-flowto"?: string | undefined | undefined;
|
|
355
|
-
"aria-grabbed"?: (boolean | "
|
|
351
|
+
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
356
352
|
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
357
|
-
"aria-hidden"?: (boolean | "
|
|
353
|
+
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
358
354
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
359
355
|
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
360
356
|
"aria-label"?: string | undefined | undefined;
|
|
361
357
|
"aria-labelledby"?: string | undefined | undefined;
|
|
362
358
|
"aria-level"?: number | undefined | undefined;
|
|
363
359
|
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
364
|
-
"aria-modal"?: (boolean | "
|
|
365
|
-
"aria-multiline"?: (boolean | "
|
|
366
|
-
"aria-multiselectable"?: (boolean | "
|
|
360
|
+
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
361
|
+
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
362
|
+
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
367
363
|
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
368
364
|
"aria-owns"?: string | undefined | undefined;
|
|
369
365
|
"aria-placeholder"?: string | undefined | undefined;
|
|
370
366
|
"aria-posinset"?: number | undefined | undefined;
|
|
371
367
|
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
372
|
-
"aria-readonly"?: (boolean | "
|
|
368
|
+
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
373
369
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
374
|
-
"aria-required"?: (boolean | "
|
|
370
|
+
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
375
371
|
"aria-roledescription"?: string | undefined | undefined;
|
|
376
372
|
"aria-rowcount"?: number | undefined | undefined;
|
|
377
373
|
"aria-rowindex"?: number | undefined | undefined;
|
|
378
374
|
"aria-rowindextext"?: string | undefined | undefined;
|
|
379
375
|
"aria-rowspan"?: number | undefined | undefined;
|
|
380
|
-
"aria-selected"?: (boolean | "
|
|
376
|
+
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
381
377
|
"aria-setsize"?: number | undefined | undefined;
|
|
382
378
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
383
379
|
"aria-valuemax"?: number | undefined | undefined;
|
|
384
380
|
"aria-valuemin"?: number | undefined | undefined;
|
|
385
381
|
"aria-valuenow"?: number | undefined | undefined;
|
|
386
382
|
"aria-valuetext"?: string | undefined | undefined;
|
|
383
|
+
children?: React.ReactNode;
|
|
387
384
|
dangerouslySetInnerHTML?: {
|
|
388
385
|
__html: string | TrustedHTML;
|
|
389
386
|
} | undefined | undefined;
|
|
@@ -547,12 +544,15 @@ export declare function useDismissible(props: UseDismissibleProps): {
|
|
|
547
544
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
548
545
|
onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
549
546
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
547
|
+
form?: string | undefined | undefined;
|
|
550
548
|
disabled?: boolean | undefined | undefined;
|
|
549
|
+
value?: string | number | readonly string[] | undefined;
|
|
551
550
|
formAction?: string | undefined;
|
|
552
551
|
formEncType?: string | undefined | undefined;
|
|
553
552
|
formMethod?: string | undefined | undefined;
|
|
554
553
|
formNoValidate?: boolean | undefined | undefined;
|
|
555
554
|
formTarget?: string | undefined | undefined;
|
|
555
|
+
name?: string | undefined | undefined;
|
|
556
556
|
type?: "submit" | "reset" | "button" | undefined | undefined;
|
|
557
557
|
};
|
|
558
558
|
};
|
|
@@ -560,10 +560,6 @@ export declare const DismissibleProvider: React.Provider<{
|
|
|
560
560
|
open: boolean;
|
|
561
561
|
dismiss: () => void;
|
|
562
562
|
rootProps: {
|
|
563
|
-
children?: React.ReactNode;
|
|
564
|
-
slot?: string | undefined | undefined;
|
|
565
|
-
style?: React.CSSProperties | undefined;
|
|
566
|
-
title?: string | undefined | undefined;
|
|
567
563
|
defaultChecked?: boolean | undefined | undefined;
|
|
568
564
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
569
565
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -572,17 +568,20 @@ export declare const DismissibleProvider: React.Provider<{
|
|
|
572
568
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
573
569
|
autoFocus?: boolean | undefined | undefined;
|
|
574
570
|
className?: string | undefined | undefined;
|
|
575
|
-
contentEditable?: "inherit" | (boolean | "
|
|
571
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
576
572
|
contextMenu?: string | undefined | undefined;
|
|
577
573
|
dir?: string | undefined | undefined;
|
|
578
|
-
draggable?: (boolean | "
|
|
574
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
|
579
575
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
580
576
|
hidden?: boolean | undefined | undefined;
|
|
581
577
|
id?: string | undefined | undefined;
|
|
582
578
|
lang?: string | undefined | undefined;
|
|
583
579
|
nonce?: string | undefined | undefined;
|
|
584
|
-
|
|
580
|
+
slot?: string | undefined | undefined;
|
|
581
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
582
|
+
style?: React.CSSProperties | undefined;
|
|
585
583
|
tabIndex?: number | undefined | undefined;
|
|
584
|
+
title?: string | undefined | undefined;
|
|
586
585
|
translate?: "yes" | "no" | undefined | undefined;
|
|
587
586
|
radioGroup?: string | undefined | undefined;
|
|
588
587
|
role?: React.AriaRole | undefined;
|
|
@@ -611,11 +610,11 @@ export declare const DismissibleProvider: React.Provider<{
|
|
|
611
610
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
612
611
|
is?: string | undefined | undefined;
|
|
613
612
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
614
|
-
"aria-atomic"?: (boolean | "
|
|
613
|
+
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
615
614
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
616
615
|
"aria-braillelabel"?: string | undefined | undefined;
|
|
617
616
|
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
618
|
-
"aria-busy"?: (boolean | "
|
|
617
|
+
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
619
618
|
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
620
619
|
"aria-colcount"?: number | undefined | undefined;
|
|
621
620
|
"aria-colindex"?: number | undefined | undefined;
|
|
@@ -626,43 +625,44 @@ export declare const DismissibleProvider: React.Provider<{
|
|
|
626
625
|
"aria-describedby"?: string | undefined | undefined;
|
|
627
626
|
"aria-description"?: string | undefined | undefined;
|
|
628
627
|
"aria-details"?: string | undefined | undefined;
|
|
629
|
-
"aria-disabled"?: (boolean | "
|
|
628
|
+
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
630
629
|
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
631
630
|
"aria-errormessage"?: string | undefined | undefined;
|
|
632
|
-
"aria-expanded"?: (boolean | "
|
|
631
|
+
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
633
632
|
"aria-flowto"?: string | undefined | undefined;
|
|
634
|
-
"aria-grabbed"?: (boolean | "
|
|
633
|
+
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
635
634
|
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
636
|
-
"aria-hidden"?: (boolean | "
|
|
635
|
+
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
637
636
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
638
637
|
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
639
638
|
"aria-label"?: string | undefined | undefined;
|
|
640
639
|
"aria-labelledby"?: string | undefined | undefined;
|
|
641
640
|
"aria-level"?: number | undefined | undefined;
|
|
642
641
|
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
643
|
-
"aria-modal"?: (boolean | "
|
|
644
|
-
"aria-multiline"?: (boolean | "
|
|
645
|
-
"aria-multiselectable"?: (boolean | "
|
|
642
|
+
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
643
|
+
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
644
|
+
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
646
645
|
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
647
646
|
"aria-owns"?: string | undefined | undefined;
|
|
648
647
|
"aria-placeholder"?: string | undefined | undefined;
|
|
649
648
|
"aria-posinset"?: number | undefined | undefined;
|
|
650
649
|
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
651
|
-
"aria-readonly"?: (boolean | "
|
|
650
|
+
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
652
651
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
653
|
-
"aria-required"?: (boolean | "
|
|
652
|
+
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
654
653
|
"aria-roledescription"?: string | undefined | undefined;
|
|
655
654
|
"aria-rowcount"?: number | undefined | undefined;
|
|
656
655
|
"aria-rowindex"?: number | undefined | undefined;
|
|
657
656
|
"aria-rowindextext"?: string | undefined | undefined;
|
|
658
657
|
"aria-rowspan"?: number | undefined | undefined;
|
|
659
|
-
"aria-selected"?: (boolean | "
|
|
658
|
+
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
660
659
|
"aria-setsize"?: number | undefined | undefined;
|
|
661
660
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
662
661
|
"aria-valuemax"?: number | undefined | undefined;
|
|
663
662
|
"aria-valuemin"?: number | undefined | undefined;
|
|
664
663
|
"aria-valuenow"?: number | undefined | undefined;
|
|
665
664
|
"aria-valuetext"?: string | undefined | undefined;
|
|
665
|
+
children?: React.ReactNode;
|
|
666
666
|
dangerouslySetInnerHTML?: {
|
|
667
667
|
__html: string | TrustedHTML;
|
|
668
668
|
} | undefined | undefined;
|
|
@@ -828,13 +828,6 @@ export declare const DismissibleProvider: React.Provider<{
|
|
|
828
828
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
829
829
|
};
|
|
830
830
|
dismissButtonProps: {
|
|
831
|
-
children?: React.ReactNode;
|
|
832
|
-
value?: string | number | readonly string[] | undefined;
|
|
833
|
-
form?: string | undefined | undefined;
|
|
834
|
-
slot?: string | undefined | undefined;
|
|
835
|
-
style?: React.CSSProperties | undefined;
|
|
836
|
-
title?: string | undefined | undefined;
|
|
837
|
-
name?: string | undefined | undefined;
|
|
838
831
|
defaultChecked?: boolean | undefined | undefined;
|
|
839
832
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
840
833
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -843,17 +836,20 @@ export declare const DismissibleProvider: React.Provider<{
|
|
|
843
836
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
844
837
|
autoFocus?: boolean | undefined | undefined;
|
|
845
838
|
className?: string | undefined | undefined;
|
|
846
|
-
contentEditable?: "inherit" | (boolean | "
|
|
839
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
847
840
|
contextMenu?: string | undefined | undefined;
|
|
848
841
|
dir?: string | undefined | undefined;
|
|
849
|
-
draggable?: (boolean | "
|
|
842
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
|
850
843
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
851
844
|
hidden?: boolean | undefined | undefined;
|
|
852
845
|
id?: string | undefined | undefined;
|
|
853
846
|
lang?: string | undefined | undefined;
|
|
854
847
|
nonce?: string | undefined | undefined;
|
|
855
|
-
|
|
848
|
+
slot?: string | undefined | undefined;
|
|
849
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
850
|
+
style?: React.CSSProperties | undefined;
|
|
856
851
|
tabIndex?: number | undefined | undefined;
|
|
852
|
+
title?: string | undefined | undefined;
|
|
857
853
|
translate?: "yes" | "no" | undefined | undefined;
|
|
858
854
|
radioGroup?: string | undefined | undefined;
|
|
859
855
|
role?: React.AriaRole | undefined;
|
|
@@ -882,11 +878,11 @@ export declare const DismissibleProvider: React.Provider<{
|
|
|
882
878
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
883
879
|
is?: string | undefined | undefined;
|
|
884
880
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
885
|
-
"aria-atomic"?: (boolean | "
|
|
881
|
+
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
886
882
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
887
883
|
"aria-braillelabel"?: string | undefined | undefined;
|
|
888
884
|
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
889
|
-
"aria-busy"?: (boolean | "
|
|
885
|
+
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
890
886
|
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
891
887
|
"aria-colcount"?: number | undefined | undefined;
|
|
892
888
|
"aria-colindex"?: number | undefined | undefined;
|
|
@@ -897,43 +893,44 @@ export declare const DismissibleProvider: React.Provider<{
|
|
|
897
893
|
"aria-describedby"?: string | undefined | undefined;
|
|
898
894
|
"aria-description"?: string | undefined | undefined;
|
|
899
895
|
"aria-details"?: string | undefined | undefined;
|
|
900
|
-
"aria-disabled"?: (boolean | "
|
|
896
|
+
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
901
897
|
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
902
898
|
"aria-errormessage"?: string | undefined | undefined;
|
|
903
|
-
"aria-expanded"?: (boolean | "
|
|
899
|
+
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
904
900
|
"aria-flowto"?: string | undefined | undefined;
|
|
905
|
-
"aria-grabbed"?: (boolean | "
|
|
901
|
+
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
906
902
|
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
907
|
-
"aria-hidden"?: (boolean | "
|
|
903
|
+
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
908
904
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
909
905
|
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
910
906
|
"aria-label"?: string | undefined | undefined;
|
|
911
907
|
"aria-labelledby"?: string | undefined | undefined;
|
|
912
908
|
"aria-level"?: number | undefined | undefined;
|
|
913
909
|
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
914
|
-
"aria-modal"?: (boolean | "
|
|
915
|
-
"aria-multiline"?: (boolean | "
|
|
916
|
-
"aria-multiselectable"?: (boolean | "
|
|
910
|
+
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
911
|
+
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
912
|
+
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
917
913
|
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
918
914
|
"aria-owns"?: string | undefined | undefined;
|
|
919
915
|
"aria-placeholder"?: string | undefined | undefined;
|
|
920
916
|
"aria-posinset"?: number | undefined | undefined;
|
|
921
917
|
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
922
|
-
"aria-readonly"?: (boolean | "
|
|
918
|
+
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
923
919
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
924
|
-
"aria-required"?: (boolean | "
|
|
920
|
+
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
925
921
|
"aria-roledescription"?: string | undefined | undefined;
|
|
926
922
|
"aria-rowcount"?: number | undefined | undefined;
|
|
927
923
|
"aria-rowindex"?: number | undefined | undefined;
|
|
928
924
|
"aria-rowindextext"?: string | undefined | undefined;
|
|
929
925
|
"aria-rowspan"?: number | undefined | undefined;
|
|
930
|
-
"aria-selected"?: (boolean | "
|
|
926
|
+
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
931
927
|
"aria-setsize"?: number | undefined | undefined;
|
|
932
928
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
933
929
|
"aria-valuemax"?: number | undefined | undefined;
|
|
934
930
|
"aria-valuemin"?: number | undefined | undefined;
|
|
935
931
|
"aria-valuenow"?: number | undefined | undefined;
|
|
936
932
|
"aria-valuetext"?: string | undefined | undefined;
|
|
933
|
+
children?: React.ReactNode;
|
|
937
934
|
dangerouslySetInnerHTML?: {
|
|
938
935
|
__html: string | TrustedHTML;
|
|
939
936
|
} | undefined | undefined;
|
|
@@ -1097,12 +1094,15 @@ export declare const DismissibleProvider: React.Provider<{
|
|
|
1097
1094
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
1098
1095
|
onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
1099
1096
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
1097
|
+
form?: string | undefined | undefined;
|
|
1100
1098
|
disabled?: boolean | undefined | undefined;
|
|
1099
|
+
value?: string | number | readonly string[] | undefined;
|
|
1101
1100
|
formAction?: string | undefined;
|
|
1102
1101
|
formEncType?: string | undefined | undefined;
|
|
1103
1102
|
formMethod?: string | undefined | undefined;
|
|
1104
1103
|
formNoValidate?: boolean | undefined | undefined;
|
|
1105
1104
|
formTarget?: string | undefined | undefined;
|
|
1105
|
+
name?: string | undefined | undefined;
|
|
1106
1106
|
type?: "submit" | "reset" | "button" | undefined | undefined;
|
|
1107
1107
|
};
|
|
1108
1108
|
} | null>;
|
|
@@ -1110,10 +1110,6 @@ export declare const useDismissibleContext: () => {
|
|
|
1110
1110
|
open: boolean;
|
|
1111
1111
|
dismiss: () => void;
|
|
1112
1112
|
rootProps: {
|
|
1113
|
-
children?: React.ReactNode;
|
|
1114
|
-
slot?: string | undefined | undefined;
|
|
1115
|
-
style?: React.CSSProperties | undefined;
|
|
1116
|
-
title?: string | undefined | undefined;
|
|
1117
1113
|
defaultChecked?: boolean | undefined | undefined;
|
|
1118
1114
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
1119
1115
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -1122,17 +1118,20 @@ export declare const useDismissibleContext: () => {
|
|
|
1122
1118
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
1123
1119
|
autoFocus?: boolean | undefined | undefined;
|
|
1124
1120
|
className?: string | undefined | undefined;
|
|
1125
|
-
contentEditable?: "inherit" | (boolean | "
|
|
1121
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
1126
1122
|
contextMenu?: string | undefined | undefined;
|
|
1127
1123
|
dir?: string | undefined | undefined;
|
|
1128
|
-
draggable?: (boolean | "
|
|
1124
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
|
1129
1125
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
1130
1126
|
hidden?: boolean | undefined | undefined;
|
|
1131
1127
|
id?: string | undefined | undefined;
|
|
1132
1128
|
lang?: string | undefined | undefined;
|
|
1133
1129
|
nonce?: string | undefined | undefined;
|
|
1134
|
-
|
|
1130
|
+
slot?: string | undefined | undefined;
|
|
1131
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
1132
|
+
style?: React.CSSProperties | undefined;
|
|
1135
1133
|
tabIndex?: number | undefined | undefined;
|
|
1134
|
+
title?: string | undefined | undefined;
|
|
1136
1135
|
translate?: "yes" | "no" | undefined | undefined;
|
|
1137
1136
|
radioGroup?: string | undefined | undefined;
|
|
1138
1137
|
role?: React.AriaRole | undefined;
|
|
@@ -1161,11 +1160,11 @@ export declare const useDismissibleContext: () => {
|
|
|
1161
1160
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
1162
1161
|
is?: string | undefined | undefined;
|
|
1163
1162
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
1164
|
-
"aria-atomic"?: (boolean | "
|
|
1163
|
+
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
1165
1164
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
1166
1165
|
"aria-braillelabel"?: string | undefined | undefined;
|
|
1167
1166
|
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
1168
|
-
"aria-busy"?: (boolean | "
|
|
1167
|
+
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
1169
1168
|
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
1170
1169
|
"aria-colcount"?: number | undefined | undefined;
|
|
1171
1170
|
"aria-colindex"?: number | undefined | undefined;
|
|
@@ -1176,43 +1175,44 @@ export declare const useDismissibleContext: () => {
|
|
|
1176
1175
|
"aria-describedby"?: string | undefined | undefined;
|
|
1177
1176
|
"aria-description"?: string | undefined | undefined;
|
|
1178
1177
|
"aria-details"?: string | undefined | undefined;
|
|
1179
|
-
"aria-disabled"?: (boolean | "
|
|
1178
|
+
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
1180
1179
|
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
1181
1180
|
"aria-errormessage"?: string | undefined | undefined;
|
|
1182
|
-
"aria-expanded"?: (boolean | "
|
|
1181
|
+
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
1183
1182
|
"aria-flowto"?: string | undefined | undefined;
|
|
1184
|
-
"aria-grabbed"?: (boolean | "
|
|
1183
|
+
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
1185
1184
|
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
1186
|
-
"aria-hidden"?: (boolean | "
|
|
1185
|
+
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
1187
1186
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
1188
1187
|
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
1189
1188
|
"aria-label"?: string | undefined | undefined;
|
|
1190
1189
|
"aria-labelledby"?: string | undefined | undefined;
|
|
1191
1190
|
"aria-level"?: number | undefined | undefined;
|
|
1192
1191
|
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
1193
|
-
"aria-modal"?: (boolean | "
|
|
1194
|
-
"aria-multiline"?: (boolean | "
|
|
1195
|
-
"aria-multiselectable"?: (boolean | "
|
|
1192
|
+
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
1193
|
+
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
1194
|
+
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
1196
1195
|
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
1197
1196
|
"aria-owns"?: string | undefined | undefined;
|
|
1198
1197
|
"aria-placeholder"?: string | undefined | undefined;
|
|
1199
1198
|
"aria-posinset"?: number | undefined | undefined;
|
|
1200
1199
|
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
1201
|
-
"aria-readonly"?: (boolean | "
|
|
1200
|
+
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
1202
1201
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
1203
|
-
"aria-required"?: (boolean | "
|
|
1202
|
+
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
1204
1203
|
"aria-roledescription"?: string | undefined | undefined;
|
|
1205
1204
|
"aria-rowcount"?: number | undefined | undefined;
|
|
1206
1205
|
"aria-rowindex"?: number | undefined | undefined;
|
|
1207
1206
|
"aria-rowindextext"?: string | undefined | undefined;
|
|
1208
1207
|
"aria-rowspan"?: number | undefined | undefined;
|
|
1209
|
-
"aria-selected"?: (boolean | "
|
|
1208
|
+
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
1210
1209
|
"aria-setsize"?: number | undefined | undefined;
|
|
1211
1210
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
1212
1211
|
"aria-valuemax"?: number | undefined | undefined;
|
|
1213
1212
|
"aria-valuemin"?: number | undefined | undefined;
|
|
1214
1213
|
"aria-valuenow"?: number | undefined | undefined;
|
|
1215
1214
|
"aria-valuetext"?: string | undefined | undefined;
|
|
1215
|
+
children?: React.ReactNode;
|
|
1216
1216
|
dangerouslySetInnerHTML?: {
|
|
1217
1217
|
__html: string | TrustedHTML;
|
|
1218
1218
|
} | undefined | undefined;
|
|
@@ -1378,13 +1378,6 @@ export declare const useDismissibleContext: () => {
|
|
|
1378
1378
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLElement> | undefined;
|
|
1379
1379
|
};
|
|
1380
1380
|
dismissButtonProps: {
|
|
1381
|
-
children?: React.ReactNode;
|
|
1382
|
-
value?: string | number | readonly string[] | undefined;
|
|
1383
|
-
form?: string | undefined | undefined;
|
|
1384
|
-
slot?: string | undefined | undefined;
|
|
1385
|
-
style?: React.CSSProperties | undefined;
|
|
1386
|
-
title?: string | undefined | undefined;
|
|
1387
|
-
name?: string | undefined | undefined;
|
|
1388
1381
|
defaultChecked?: boolean | undefined | undefined;
|
|
1389
1382
|
defaultValue?: string | number | readonly string[] | undefined;
|
|
1390
1383
|
suppressContentEditableWarning?: boolean | undefined | undefined;
|
|
@@ -1393,17 +1386,20 @@ export declare const useDismissibleContext: () => {
|
|
|
1393
1386
|
autoCapitalize?: "off" | "none" | "on" | "sentences" | "words" | "characters" | undefined | (string & {}) | undefined;
|
|
1394
1387
|
autoFocus?: boolean | undefined | undefined;
|
|
1395
1388
|
className?: string | undefined | undefined;
|
|
1396
|
-
contentEditable?: "inherit" | (boolean | "
|
|
1389
|
+
contentEditable?: "inherit" | (boolean | "false" | "true") | "plaintext-only" | undefined;
|
|
1397
1390
|
contextMenu?: string | undefined | undefined;
|
|
1398
1391
|
dir?: string | undefined | undefined;
|
|
1399
|
-
draggable?: (boolean | "
|
|
1392
|
+
draggable?: (boolean | "false" | "true") | undefined;
|
|
1400
1393
|
enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
|
|
1401
1394
|
hidden?: boolean | undefined | undefined;
|
|
1402
1395
|
id?: string | undefined | undefined;
|
|
1403
1396
|
lang?: string | undefined | undefined;
|
|
1404
1397
|
nonce?: string | undefined | undefined;
|
|
1405
|
-
|
|
1398
|
+
slot?: string | undefined | undefined;
|
|
1399
|
+
spellCheck?: (boolean | "false" | "true") | undefined;
|
|
1400
|
+
style?: React.CSSProperties | undefined;
|
|
1406
1401
|
tabIndex?: number | undefined | undefined;
|
|
1402
|
+
title?: string | undefined | undefined;
|
|
1407
1403
|
translate?: "yes" | "no" | undefined | undefined;
|
|
1408
1404
|
radioGroup?: string | undefined | undefined;
|
|
1409
1405
|
role?: React.AriaRole | undefined;
|
|
@@ -1432,11 +1428,11 @@ export declare const useDismissibleContext: () => {
|
|
|
1432
1428
|
inputMode?: "none" | "text" | "tel" | "url" | "email" | "numeric" | "decimal" | "search" | undefined | undefined;
|
|
1433
1429
|
is?: string | undefined | undefined;
|
|
1434
1430
|
"aria-activedescendant"?: string | undefined | undefined;
|
|
1435
|
-
"aria-atomic"?: (boolean | "
|
|
1431
|
+
"aria-atomic"?: (boolean | "false" | "true") | undefined;
|
|
1436
1432
|
"aria-autocomplete"?: "none" | "inline" | "list" | "both" | undefined | undefined;
|
|
1437
1433
|
"aria-braillelabel"?: string | undefined | undefined;
|
|
1438
1434
|
"aria-brailleroledescription"?: string | undefined | undefined;
|
|
1439
|
-
"aria-busy"?: (boolean | "
|
|
1435
|
+
"aria-busy"?: (boolean | "false" | "true") | undefined;
|
|
1440
1436
|
"aria-checked"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
1441
1437
|
"aria-colcount"?: number | undefined | undefined;
|
|
1442
1438
|
"aria-colindex"?: number | undefined | undefined;
|
|
@@ -1447,43 +1443,44 @@ export declare const useDismissibleContext: () => {
|
|
|
1447
1443
|
"aria-describedby"?: string | undefined | undefined;
|
|
1448
1444
|
"aria-description"?: string | undefined | undefined;
|
|
1449
1445
|
"aria-details"?: string | undefined | undefined;
|
|
1450
|
-
"aria-disabled"?: (boolean | "
|
|
1446
|
+
"aria-disabled"?: (boolean | "false" | "true") | undefined;
|
|
1451
1447
|
"aria-dropeffect"?: "none" | "copy" | "execute" | "link" | "move" | "popup" | undefined | undefined;
|
|
1452
1448
|
"aria-errormessage"?: string | undefined | undefined;
|
|
1453
|
-
"aria-expanded"?: (boolean | "
|
|
1449
|
+
"aria-expanded"?: (boolean | "false" | "true") | undefined;
|
|
1454
1450
|
"aria-flowto"?: string | undefined | undefined;
|
|
1455
|
-
"aria-grabbed"?: (boolean | "
|
|
1451
|
+
"aria-grabbed"?: (boolean | "false" | "true") | undefined;
|
|
1456
1452
|
"aria-haspopup"?: boolean | "false" | "true" | "menu" | "listbox" | "tree" | "grid" | "dialog" | undefined | undefined;
|
|
1457
|
-
"aria-hidden"?: (boolean | "
|
|
1453
|
+
"aria-hidden"?: (boolean | "false" | "true") | undefined;
|
|
1458
1454
|
"aria-invalid"?: boolean | "false" | "true" | "grammar" | "spelling" | undefined | undefined;
|
|
1459
1455
|
"aria-keyshortcuts"?: string | undefined | undefined;
|
|
1460
1456
|
"aria-label"?: string | undefined | undefined;
|
|
1461
1457
|
"aria-labelledby"?: string | undefined | undefined;
|
|
1462
1458
|
"aria-level"?: number | undefined | undefined;
|
|
1463
1459
|
"aria-live"?: "off" | "assertive" | "polite" | undefined | undefined;
|
|
1464
|
-
"aria-modal"?: (boolean | "
|
|
1465
|
-
"aria-multiline"?: (boolean | "
|
|
1466
|
-
"aria-multiselectable"?: (boolean | "
|
|
1460
|
+
"aria-modal"?: (boolean | "false" | "true") | undefined;
|
|
1461
|
+
"aria-multiline"?: (boolean | "false" | "true") | undefined;
|
|
1462
|
+
"aria-multiselectable"?: (boolean | "false" | "true") | undefined;
|
|
1467
1463
|
"aria-orientation"?: "horizontal" | "vertical" | undefined | undefined;
|
|
1468
1464
|
"aria-owns"?: string | undefined | undefined;
|
|
1469
1465
|
"aria-placeholder"?: string | undefined | undefined;
|
|
1470
1466
|
"aria-posinset"?: number | undefined | undefined;
|
|
1471
1467
|
"aria-pressed"?: boolean | "false" | "mixed" | "true" | undefined | undefined;
|
|
1472
|
-
"aria-readonly"?: (boolean | "
|
|
1468
|
+
"aria-readonly"?: (boolean | "false" | "true") | undefined;
|
|
1473
1469
|
"aria-relevant"?: "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text" | "text additions" | "text removals" | undefined | undefined;
|
|
1474
|
-
"aria-required"?: (boolean | "
|
|
1470
|
+
"aria-required"?: (boolean | "false" | "true") | undefined;
|
|
1475
1471
|
"aria-roledescription"?: string | undefined | undefined;
|
|
1476
1472
|
"aria-rowcount"?: number | undefined | undefined;
|
|
1477
1473
|
"aria-rowindex"?: number | undefined | undefined;
|
|
1478
1474
|
"aria-rowindextext"?: string | undefined | undefined;
|
|
1479
1475
|
"aria-rowspan"?: number | undefined | undefined;
|
|
1480
|
-
"aria-selected"?: (boolean | "
|
|
1476
|
+
"aria-selected"?: (boolean | "false" | "true") | undefined;
|
|
1481
1477
|
"aria-setsize"?: number | undefined | undefined;
|
|
1482
1478
|
"aria-sort"?: "none" | "ascending" | "descending" | "other" | undefined | undefined;
|
|
1483
1479
|
"aria-valuemax"?: number | undefined | undefined;
|
|
1484
1480
|
"aria-valuemin"?: number | undefined | undefined;
|
|
1485
1481
|
"aria-valuenow"?: number | undefined | undefined;
|
|
1486
1482
|
"aria-valuetext"?: string | undefined | undefined;
|
|
1483
|
+
children?: React.ReactNode;
|
|
1487
1484
|
dangerouslySetInnerHTML?: {
|
|
1488
1485
|
__html: string | TrustedHTML;
|
|
1489
1486
|
} | undefined | undefined;
|
|
@@ -1647,12 +1644,15 @@ export declare const useDismissibleContext: () => {
|
|
|
1647
1644
|
onAnimationIterationCapture?: React.AnimationEventHandler<HTMLButtonElement> | undefined;
|
|
1648
1645
|
onTransitionEnd?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
1649
1646
|
onTransitionEndCapture?: React.TransitionEventHandler<HTMLButtonElement> | undefined;
|
|
1647
|
+
form?: string | undefined | undefined;
|
|
1650
1648
|
disabled?: boolean | undefined | undefined;
|
|
1649
|
+
value?: string | number | readonly string[] | undefined;
|
|
1651
1650
|
formAction?: string | undefined;
|
|
1652
1651
|
formEncType?: string | undefined | undefined;
|
|
1653
1652
|
formMethod?: string | undefined | undefined;
|
|
1654
1653
|
formNoValidate?: boolean | undefined | undefined;
|
|
1655
1654
|
formTarget?: string | undefined | undefined;
|
|
1655
|
+
name?: string | undefined | undefined;
|
|
1656
1656
|
type?: "submit" | "reset" | "button" | undefined | undefined;
|
|
1657
1657
|
};
|
|
1658
1658
|
};
|