react-magma-dom 4.7.0-next.11 → 4.7.0-next.12
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts +22 -22
- package/dist/components/CharacterCounter/CharacterCounter.stories.d.ts +44 -44
- package/dist/components/Datagrid/Datagrid.stories.d.ts +8 -8
- package/dist/components/IconButton/IconButton.stories.d.ts +4 -4
- package/dist/components/Input/Input.stories.d.ts +69 -69
- package/dist/components/Table/Table.stories.d.ts +132 -132
- package/dist/components/Tag/Tag.stories.d.ts +58 -58
- package/dist/components/Textarea/Textarea.stories.d.ts +22 -22
- package/dist/components/ToggleButton/ToggleButton.stories.d.ts +88 -88
- package/dist/components/ToggleButtonGroup/ToggleButtonGroup.stories.d.ts +44 -44
- package/dist/esm/index.js +5 -1
- package/dist/esm/index.js.map +1 -1
- package/dist/react-magma-dom.cjs.development.js +5 -1
- package/dist/react-magma-dom.cjs.development.js.map +1 -1
- package/dist/react-magma-dom.cjs.production.min.js +1 -1
- package/dist/react-magma-dom.cjs.production.min.js.map +1 -1
- package/package.json +1 -1
|
@@ -32,16 +32,16 @@ export declare const Text: {
|
|
|
32
32
|
suppressHydrationWarning?: boolean;
|
|
33
33
|
accessKey?: string;
|
|
34
34
|
className?: string;
|
|
35
|
-
contentEditable?: boolean | "
|
|
35
|
+
contentEditable?: boolean | "inherit" | "false" | "true";
|
|
36
36
|
contextMenu?: string;
|
|
37
37
|
dir?: string;
|
|
38
|
-
draggable?: boolean | "
|
|
38
|
+
draggable?: boolean | "false" | "true";
|
|
39
39
|
hidden?: boolean;
|
|
40
40
|
id?: string;
|
|
41
41
|
lang?: string;
|
|
42
42
|
placeholder?: string;
|
|
43
43
|
slot?: string;
|
|
44
|
-
spellCheck?: boolean | "
|
|
44
|
+
spellCheck?: boolean | "false" | "true";
|
|
45
45
|
style?: React.CSSProperties;
|
|
46
46
|
tabIndex?: number;
|
|
47
47
|
title?: string;
|
|
@@ -71,46 +71,46 @@ export declare const Text: {
|
|
|
71
71
|
inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
72
72
|
is?: string;
|
|
73
73
|
'aria-activedescendant'?: string;
|
|
74
|
-
'aria-atomic'?: boolean | "
|
|
75
|
-
'aria-autocomplete'?: "
|
|
76
|
-
'aria-busy'?: boolean | "
|
|
77
|
-
'aria-checked'?: boolean | "
|
|
74
|
+
'aria-atomic'?: boolean | "false" | "true";
|
|
75
|
+
'aria-autocomplete'?: "both" | "none" | "inline" | "list";
|
|
76
|
+
'aria-busy'?: boolean | "false" | "true";
|
|
77
|
+
'aria-checked'?: boolean | "mixed" | "false" | "true";
|
|
78
78
|
'aria-colcount'?: number;
|
|
79
79
|
'aria-colindex'?: number;
|
|
80
80
|
'aria-colspan'?: number;
|
|
81
81
|
'aria-controls'?: string;
|
|
82
|
-
'aria-current'?: boolean | "time" | "
|
|
82
|
+
'aria-current'?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date";
|
|
83
83
|
'aria-describedby'?: string;
|
|
84
84
|
'aria-details'?: string;
|
|
85
|
-
'aria-disabled'?: boolean | "
|
|
85
|
+
'aria-disabled'?: boolean | "false" | "true";
|
|
86
86
|
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup";
|
|
87
87
|
'aria-errormessage'?: string;
|
|
88
|
-
'aria-expanded'?: boolean | "
|
|
88
|
+
'aria-expanded'?: boolean | "false" | "true";
|
|
89
89
|
'aria-flowto'?: string;
|
|
90
|
-
'aria-grabbed'?: boolean | "
|
|
91
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "
|
|
92
|
-
'aria-hidden'?: boolean | "
|
|
93
|
-
'aria-invalid'?: boolean | "
|
|
90
|
+
'aria-grabbed'?: boolean | "false" | "true";
|
|
91
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "false" | "true" | "tree";
|
|
92
|
+
'aria-hidden'?: boolean | "false" | "true";
|
|
93
|
+
'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling";
|
|
94
94
|
'aria-keyshortcuts'?: string;
|
|
95
95
|
'aria-labelledby'?: string;
|
|
96
96
|
'aria-level'?: number;
|
|
97
97
|
'aria-live'?: "off" | "assertive" | "polite";
|
|
98
|
-
'aria-modal'?: boolean | "
|
|
99
|
-
'aria-multiline'?: boolean | "
|
|
100
|
-
'aria-multiselectable'?: boolean | "
|
|
98
|
+
'aria-modal'?: boolean | "false" | "true";
|
|
99
|
+
'aria-multiline'?: boolean | "false" | "true";
|
|
100
|
+
'aria-multiselectable'?: boolean | "false" | "true";
|
|
101
101
|
'aria-orientation'?: "horizontal" | "vertical";
|
|
102
102
|
'aria-owns'?: string;
|
|
103
103
|
'aria-placeholder'?: string;
|
|
104
104
|
'aria-posinset'?: number;
|
|
105
|
-
'aria-pressed'?: boolean | "
|
|
106
|
-
'aria-readonly'?: boolean | "
|
|
107
|
-
'aria-relevant'?: "text" | "
|
|
108
|
-
'aria-required'?: boolean | "
|
|
105
|
+
'aria-pressed'?: boolean | "mixed" | "false" | "true";
|
|
106
|
+
'aria-readonly'?: boolean | "false" | "true";
|
|
107
|
+
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
108
|
+
'aria-required'?: boolean | "false" | "true";
|
|
109
109
|
'aria-roledescription'?: string;
|
|
110
110
|
'aria-rowcount'?: number;
|
|
111
111
|
'aria-rowindex'?: number;
|
|
112
112
|
'aria-rowspan'?: number;
|
|
113
|
-
'aria-selected'?: boolean | "
|
|
113
|
+
'aria-selected'?: boolean | "false" | "true";
|
|
114
114
|
'aria-setsize'?: number;
|
|
115
115
|
'aria-sort'?: "none" | "ascending" | "descending" | "other";
|
|
116
116
|
'aria-valuemax'?: number;
|
|
@@ -310,16 +310,16 @@ export declare const Text: {
|
|
|
310
310
|
suppressHydrationWarning?: boolean;
|
|
311
311
|
accessKey?: string;
|
|
312
312
|
className?: string;
|
|
313
|
-
contentEditable?: boolean | "
|
|
313
|
+
contentEditable?: boolean | "inherit" | "false" | "true";
|
|
314
314
|
contextMenu?: string;
|
|
315
315
|
dir?: string;
|
|
316
|
-
draggable?: boolean | "
|
|
316
|
+
draggable?: boolean | "false" | "true";
|
|
317
317
|
hidden?: boolean;
|
|
318
318
|
id?: string;
|
|
319
319
|
lang?: string;
|
|
320
320
|
placeholder?: string;
|
|
321
321
|
slot?: string;
|
|
322
|
-
spellCheck?: boolean | "
|
|
322
|
+
spellCheck?: boolean | "false" | "true";
|
|
323
323
|
style?: React.CSSProperties;
|
|
324
324
|
tabIndex?: number;
|
|
325
325
|
title?: string;
|
|
@@ -349,47 +349,47 @@ export declare const Text: {
|
|
|
349
349
|
inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
350
350
|
is?: string;
|
|
351
351
|
'aria-activedescendant'?: string;
|
|
352
|
-
'aria-atomic'?: boolean | "
|
|
353
|
-
'aria-autocomplete'?: "
|
|
354
|
-
'aria-busy'?: boolean | "
|
|
355
|
-
'aria-checked'?: boolean | "
|
|
352
|
+
'aria-atomic'?: boolean | "false" | "true";
|
|
353
|
+
'aria-autocomplete'?: "both" | "none" | "inline" | "list";
|
|
354
|
+
'aria-busy'?: boolean | "false" | "true";
|
|
355
|
+
'aria-checked'?: boolean | "mixed" | "false" | "true";
|
|
356
356
|
'aria-colcount'?: number;
|
|
357
357
|
'aria-colindex'?: number;
|
|
358
358
|
'aria-colspan'?: number;
|
|
359
359
|
'aria-controls'?: string;
|
|
360
|
-
'aria-current'?: boolean | "time" | "
|
|
360
|
+
'aria-current'?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date";
|
|
361
361
|
'aria-describedby'?: string;
|
|
362
362
|
'aria-details'?: string;
|
|
363
|
-
'aria-disabled'?: boolean | "
|
|
363
|
+
'aria-disabled'?: boolean | "false" | "true";
|
|
364
364
|
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup";
|
|
365
365
|
'aria-errormessage'?: string;
|
|
366
|
-
'aria-expanded'?: boolean | "
|
|
366
|
+
'aria-expanded'?: boolean | "false" | "true";
|
|
367
367
|
'aria-flowto'?: string;
|
|
368
|
-
'aria-grabbed'?: boolean | "
|
|
369
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "
|
|
370
|
-
'aria-hidden'?: boolean | "
|
|
371
|
-
'aria-invalid'?: boolean | "
|
|
368
|
+
'aria-grabbed'?: boolean | "false" | "true";
|
|
369
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "false" | "true" | "tree";
|
|
370
|
+
'aria-hidden'?: boolean | "false" | "true";
|
|
371
|
+
'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling";
|
|
372
372
|
'aria-keyshortcuts'?: string;
|
|
373
373
|
'aria-label'?: string;
|
|
374
374
|
'aria-labelledby'?: string;
|
|
375
375
|
'aria-level'?: number;
|
|
376
376
|
'aria-live'?: "off" | "assertive" | "polite";
|
|
377
|
-
'aria-modal'?: boolean | "
|
|
378
|
-
'aria-multiline'?: boolean | "
|
|
379
|
-
'aria-multiselectable'?: boolean | "
|
|
377
|
+
'aria-modal'?: boolean | "false" | "true";
|
|
378
|
+
'aria-multiline'?: boolean | "false" | "true";
|
|
379
|
+
'aria-multiselectable'?: boolean | "false" | "true";
|
|
380
380
|
'aria-orientation'?: "horizontal" | "vertical";
|
|
381
381
|
'aria-owns'?: string;
|
|
382
382
|
'aria-placeholder'?: string;
|
|
383
383
|
'aria-posinset'?: number;
|
|
384
|
-
'aria-pressed'?: boolean | "
|
|
385
|
-
'aria-readonly'?: boolean | "
|
|
386
|
-
'aria-relevant'?: "text" | "
|
|
387
|
-
'aria-required'?: boolean | "
|
|
384
|
+
'aria-pressed'?: boolean | "mixed" | "false" | "true";
|
|
385
|
+
'aria-readonly'?: boolean | "false" | "true";
|
|
386
|
+
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
387
|
+
'aria-required'?: boolean | "false" | "true";
|
|
388
388
|
'aria-roledescription'?: string;
|
|
389
389
|
'aria-rowcount'?: number;
|
|
390
390
|
'aria-rowindex'?: number;
|
|
391
391
|
'aria-rowspan'?: number;
|
|
392
|
-
'aria-selected'?: boolean | "
|
|
392
|
+
'aria-selected'?: boolean | "false" | "true";
|
|
393
393
|
'aria-setsize'?: number;
|
|
394
394
|
'aria-sort'?: "none" | "ascending" | "descending" | "other";
|
|
395
395
|
'aria-valuemax'?: number;
|
|
@@ -594,16 +594,16 @@ export declare const TextAndIcon: {
|
|
|
594
594
|
suppressHydrationWarning?: boolean;
|
|
595
595
|
accessKey?: string;
|
|
596
596
|
className?: string;
|
|
597
|
-
contentEditable?: boolean | "
|
|
597
|
+
contentEditable?: boolean | "inherit" | "false" | "true";
|
|
598
598
|
contextMenu?: string;
|
|
599
599
|
dir?: string;
|
|
600
|
-
draggable?: boolean | "
|
|
600
|
+
draggable?: boolean | "false" | "true";
|
|
601
601
|
hidden?: boolean;
|
|
602
602
|
id?: string;
|
|
603
603
|
lang?: string;
|
|
604
604
|
placeholder?: string;
|
|
605
605
|
slot?: string;
|
|
606
|
-
spellCheck?: boolean | "
|
|
606
|
+
spellCheck?: boolean | "false" | "true";
|
|
607
607
|
style?: React.CSSProperties;
|
|
608
608
|
tabIndex?: number;
|
|
609
609
|
title?: string;
|
|
@@ -633,46 +633,46 @@ export declare const TextAndIcon: {
|
|
|
633
633
|
inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
634
634
|
is?: string;
|
|
635
635
|
'aria-activedescendant'?: string;
|
|
636
|
-
'aria-atomic'?: boolean | "
|
|
637
|
-
'aria-autocomplete'?: "
|
|
638
|
-
'aria-busy'?: boolean | "
|
|
639
|
-
'aria-checked'?: boolean | "
|
|
636
|
+
'aria-atomic'?: boolean | "false" | "true";
|
|
637
|
+
'aria-autocomplete'?: "both" | "none" | "inline" | "list";
|
|
638
|
+
'aria-busy'?: boolean | "false" | "true";
|
|
639
|
+
'aria-checked'?: boolean | "mixed" | "false" | "true";
|
|
640
640
|
'aria-colcount'?: number;
|
|
641
641
|
'aria-colindex'?: number;
|
|
642
642
|
'aria-colspan'?: number;
|
|
643
643
|
'aria-controls'?: string;
|
|
644
|
-
'aria-current'?: boolean | "time" | "
|
|
644
|
+
'aria-current'?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date";
|
|
645
645
|
'aria-describedby'?: string;
|
|
646
646
|
'aria-details'?: string;
|
|
647
|
-
'aria-disabled'?: boolean | "
|
|
647
|
+
'aria-disabled'?: boolean | "false" | "true";
|
|
648
648
|
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup";
|
|
649
649
|
'aria-errormessage'?: string;
|
|
650
|
-
'aria-expanded'?: boolean | "
|
|
650
|
+
'aria-expanded'?: boolean | "false" | "true";
|
|
651
651
|
'aria-flowto'?: string;
|
|
652
|
-
'aria-grabbed'?: boolean | "
|
|
653
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "
|
|
654
|
-
'aria-hidden'?: boolean | "
|
|
655
|
-
'aria-invalid'?: boolean | "
|
|
652
|
+
'aria-grabbed'?: boolean | "false" | "true";
|
|
653
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "false" | "true" | "tree";
|
|
654
|
+
'aria-hidden'?: boolean | "false" | "true";
|
|
655
|
+
'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling";
|
|
656
656
|
'aria-keyshortcuts'?: string;
|
|
657
657
|
'aria-labelledby'?: string;
|
|
658
658
|
'aria-level'?: number;
|
|
659
659
|
'aria-live'?: "off" | "assertive" | "polite";
|
|
660
|
-
'aria-modal'?: boolean | "
|
|
661
|
-
'aria-multiline'?: boolean | "
|
|
662
|
-
'aria-multiselectable'?: boolean | "
|
|
660
|
+
'aria-modal'?: boolean | "false" | "true";
|
|
661
|
+
'aria-multiline'?: boolean | "false" | "true";
|
|
662
|
+
'aria-multiselectable'?: boolean | "false" | "true";
|
|
663
663
|
'aria-orientation'?: "horizontal" | "vertical";
|
|
664
664
|
'aria-owns'?: string;
|
|
665
665
|
'aria-placeholder'?: string;
|
|
666
666
|
'aria-posinset'?: number;
|
|
667
|
-
'aria-pressed'?: boolean | "
|
|
668
|
-
'aria-readonly'?: boolean | "
|
|
669
|
-
'aria-relevant'?: "text" | "
|
|
670
|
-
'aria-required'?: boolean | "
|
|
667
|
+
'aria-pressed'?: boolean | "mixed" | "false" | "true";
|
|
668
|
+
'aria-readonly'?: boolean | "false" | "true";
|
|
669
|
+
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
670
|
+
'aria-required'?: boolean | "false" | "true";
|
|
671
671
|
'aria-roledescription'?: string;
|
|
672
672
|
'aria-rowcount'?: number;
|
|
673
673
|
'aria-rowindex'?: number;
|
|
674
674
|
'aria-rowspan'?: number;
|
|
675
|
-
'aria-selected'?: boolean | "
|
|
675
|
+
'aria-selected'?: boolean | "false" | "true";
|
|
676
676
|
'aria-setsize'?: number;
|
|
677
677
|
'aria-sort'?: "none" | "ascending" | "descending" | "other";
|
|
678
678
|
'aria-valuemax'?: number;
|
|
@@ -872,16 +872,16 @@ export declare const TextAndIcon: {
|
|
|
872
872
|
suppressHydrationWarning?: boolean;
|
|
873
873
|
accessKey?: string;
|
|
874
874
|
className?: string;
|
|
875
|
-
contentEditable?: boolean | "
|
|
875
|
+
contentEditable?: boolean | "inherit" | "false" | "true";
|
|
876
876
|
contextMenu?: string;
|
|
877
877
|
dir?: string;
|
|
878
|
-
draggable?: boolean | "
|
|
878
|
+
draggable?: boolean | "false" | "true";
|
|
879
879
|
hidden?: boolean;
|
|
880
880
|
id?: string;
|
|
881
881
|
lang?: string;
|
|
882
882
|
placeholder?: string;
|
|
883
883
|
slot?: string;
|
|
884
|
-
spellCheck?: boolean | "
|
|
884
|
+
spellCheck?: boolean | "false" | "true";
|
|
885
885
|
style?: React.CSSProperties;
|
|
886
886
|
tabIndex?: number;
|
|
887
887
|
title?: string;
|
|
@@ -911,47 +911,47 @@ export declare const TextAndIcon: {
|
|
|
911
911
|
inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
912
912
|
is?: string;
|
|
913
913
|
'aria-activedescendant'?: string;
|
|
914
|
-
'aria-atomic'?: boolean | "
|
|
915
|
-
'aria-autocomplete'?: "
|
|
916
|
-
'aria-busy'?: boolean | "
|
|
917
|
-
'aria-checked'?: boolean | "
|
|
914
|
+
'aria-atomic'?: boolean | "false" | "true";
|
|
915
|
+
'aria-autocomplete'?: "both" | "none" | "inline" | "list";
|
|
916
|
+
'aria-busy'?: boolean | "false" | "true";
|
|
917
|
+
'aria-checked'?: boolean | "mixed" | "false" | "true";
|
|
918
918
|
'aria-colcount'?: number;
|
|
919
919
|
'aria-colindex'?: number;
|
|
920
920
|
'aria-colspan'?: number;
|
|
921
921
|
'aria-controls'?: string;
|
|
922
|
-
'aria-current'?: boolean | "time" | "
|
|
922
|
+
'aria-current'?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date";
|
|
923
923
|
'aria-describedby'?: string;
|
|
924
924
|
'aria-details'?: string;
|
|
925
|
-
'aria-disabled'?: boolean | "
|
|
925
|
+
'aria-disabled'?: boolean | "false" | "true";
|
|
926
926
|
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup";
|
|
927
927
|
'aria-errormessage'?: string;
|
|
928
|
-
'aria-expanded'?: boolean | "
|
|
928
|
+
'aria-expanded'?: boolean | "false" | "true";
|
|
929
929
|
'aria-flowto'?: string;
|
|
930
|
-
'aria-grabbed'?: boolean | "
|
|
931
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "
|
|
932
|
-
'aria-hidden'?: boolean | "
|
|
933
|
-
'aria-invalid'?: boolean | "
|
|
930
|
+
'aria-grabbed'?: boolean | "false" | "true";
|
|
931
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "false" | "true" | "tree";
|
|
932
|
+
'aria-hidden'?: boolean | "false" | "true";
|
|
933
|
+
'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling";
|
|
934
934
|
'aria-keyshortcuts'?: string;
|
|
935
935
|
'aria-label'?: string;
|
|
936
936
|
'aria-labelledby'?: string;
|
|
937
937
|
'aria-level'?: number;
|
|
938
938
|
'aria-live'?: "off" | "assertive" | "polite";
|
|
939
|
-
'aria-modal'?: boolean | "
|
|
940
|
-
'aria-multiline'?: boolean | "
|
|
941
|
-
'aria-multiselectable'?: boolean | "
|
|
939
|
+
'aria-modal'?: boolean | "false" | "true";
|
|
940
|
+
'aria-multiline'?: boolean | "false" | "true";
|
|
941
|
+
'aria-multiselectable'?: boolean | "false" | "true";
|
|
942
942
|
'aria-orientation'?: "horizontal" | "vertical";
|
|
943
943
|
'aria-owns'?: string;
|
|
944
944
|
'aria-placeholder'?: string;
|
|
945
945
|
'aria-posinset'?: number;
|
|
946
|
-
'aria-pressed'?: boolean | "
|
|
947
|
-
'aria-readonly'?: boolean | "
|
|
948
|
-
'aria-relevant'?: "text" | "
|
|
949
|
-
'aria-required'?: boolean | "
|
|
946
|
+
'aria-pressed'?: boolean | "mixed" | "false" | "true";
|
|
947
|
+
'aria-readonly'?: boolean | "false" | "true";
|
|
948
|
+
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
949
|
+
'aria-required'?: boolean | "false" | "true";
|
|
950
950
|
'aria-roledescription'?: string;
|
|
951
951
|
'aria-rowcount'?: number;
|
|
952
952
|
'aria-rowindex'?: number;
|
|
953
953
|
'aria-rowspan'?: number;
|
|
954
|
-
'aria-selected'?: boolean | "
|
|
954
|
+
'aria-selected'?: boolean | "false" | "true";
|
|
955
955
|
'aria-setsize'?: number;
|
|
956
956
|
'aria-sort'?: "none" | "ascending" | "descending" | "other";
|
|
957
957
|
'aria-valuemax'?: number;
|
|
@@ -28,16 +28,16 @@ export declare const AlignmentExample: {
|
|
|
28
28
|
suppressHydrationWarning?: boolean;
|
|
29
29
|
accessKey?: string;
|
|
30
30
|
className?: string;
|
|
31
|
-
contentEditable?: boolean | "
|
|
31
|
+
contentEditable?: boolean | "inherit" | "false" | "true";
|
|
32
32
|
contextMenu?: string;
|
|
33
33
|
dir?: string;
|
|
34
|
-
draggable?: boolean | "
|
|
34
|
+
draggable?: boolean | "false" | "true";
|
|
35
35
|
hidden?: boolean;
|
|
36
36
|
id?: string;
|
|
37
37
|
lang?: string;
|
|
38
38
|
placeholder?: string;
|
|
39
39
|
slot?: string;
|
|
40
|
-
spellCheck?: boolean | "
|
|
40
|
+
spellCheck?: boolean | "false" | "true";
|
|
41
41
|
style?: React.CSSProperties;
|
|
42
42
|
tabIndex?: number;
|
|
43
43
|
title?: string;
|
|
@@ -66,47 +66,47 @@ export declare const AlignmentExample: {
|
|
|
66
66
|
inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
67
67
|
is?: string;
|
|
68
68
|
'aria-activedescendant'?: string;
|
|
69
|
-
'aria-atomic'?: boolean | "
|
|
70
|
-
'aria-autocomplete'?: "
|
|
71
|
-
'aria-busy'?: boolean | "
|
|
72
|
-
'aria-checked'?: boolean | "
|
|
69
|
+
'aria-atomic'?: boolean | "false" | "true";
|
|
70
|
+
'aria-autocomplete'?: "both" | "none" | "inline" | "list";
|
|
71
|
+
'aria-busy'?: boolean | "false" | "true";
|
|
72
|
+
'aria-checked'?: boolean | "mixed" | "false" | "true";
|
|
73
73
|
'aria-colcount'?: number;
|
|
74
74
|
'aria-colindex'?: number;
|
|
75
75
|
'aria-colspan'?: number;
|
|
76
76
|
'aria-controls'?: string;
|
|
77
|
-
'aria-current'?: boolean | "time" | "
|
|
77
|
+
'aria-current'?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date";
|
|
78
78
|
'aria-describedby'?: string;
|
|
79
79
|
'aria-details'?: string;
|
|
80
|
-
'aria-disabled'?: boolean | "
|
|
80
|
+
'aria-disabled'?: boolean | "false" | "true";
|
|
81
81
|
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup";
|
|
82
82
|
'aria-errormessage'?: string;
|
|
83
|
-
'aria-expanded'?: boolean | "
|
|
83
|
+
'aria-expanded'?: boolean | "false" | "true";
|
|
84
84
|
'aria-flowto'?: string;
|
|
85
|
-
'aria-grabbed'?: boolean | "
|
|
86
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "
|
|
87
|
-
'aria-hidden'?: boolean | "
|
|
88
|
-
'aria-invalid'?: boolean | "
|
|
85
|
+
'aria-grabbed'?: boolean | "false" | "true";
|
|
86
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "false" | "true" | "tree";
|
|
87
|
+
'aria-hidden'?: boolean | "false" | "true";
|
|
88
|
+
'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling";
|
|
89
89
|
'aria-keyshortcuts'?: string;
|
|
90
90
|
'aria-label'?: string;
|
|
91
91
|
'aria-labelledby'?: string;
|
|
92
92
|
'aria-level'?: number;
|
|
93
93
|
'aria-live'?: "off" | "assertive" | "polite";
|
|
94
|
-
'aria-modal'?: boolean | "
|
|
95
|
-
'aria-multiline'?: boolean | "
|
|
96
|
-
'aria-multiselectable'?: boolean | "
|
|
94
|
+
'aria-modal'?: boolean | "false" | "true";
|
|
95
|
+
'aria-multiline'?: boolean | "false" | "true";
|
|
96
|
+
'aria-multiselectable'?: boolean | "false" | "true";
|
|
97
97
|
'aria-orientation'?: "horizontal" | "vertical";
|
|
98
98
|
'aria-owns'?: string;
|
|
99
99
|
'aria-placeholder'?: string;
|
|
100
100
|
'aria-posinset'?: number;
|
|
101
|
-
'aria-pressed'?: boolean | "
|
|
102
|
-
'aria-readonly'?: boolean | "
|
|
103
|
-
'aria-relevant'?: "text" | "
|
|
104
|
-
'aria-required'?: boolean | "
|
|
101
|
+
'aria-pressed'?: boolean | "mixed" | "false" | "true";
|
|
102
|
+
'aria-readonly'?: boolean | "false" | "true";
|
|
103
|
+
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
104
|
+
'aria-required'?: boolean | "false" | "true";
|
|
105
105
|
'aria-roledescription'?: string;
|
|
106
106
|
'aria-rowcount'?: number;
|
|
107
107
|
'aria-rowindex'?: number;
|
|
108
108
|
'aria-rowspan'?: number;
|
|
109
|
-
'aria-selected'?: boolean | "
|
|
109
|
+
'aria-selected'?: boolean | "false" | "true";
|
|
110
110
|
'aria-setsize'?: number;
|
|
111
111
|
'aria-sort'?: "none" | "ascending" | "descending" | "other";
|
|
112
112
|
'aria-valuemax'?: number;
|
|
@@ -302,16 +302,16 @@ export declare const DifferentToggleButtons: {
|
|
|
302
302
|
suppressHydrationWarning?: boolean;
|
|
303
303
|
accessKey?: string;
|
|
304
304
|
className?: string;
|
|
305
|
-
contentEditable?: boolean | "
|
|
305
|
+
contentEditable?: boolean | "inherit" | "false" | "true";
|
|
306
306
|
contextMenu?: string;
|
|
307
307
|
dir?: string;
|
|
308
|
-
draggable?: boolean | "
|
|
308
|
+
draggable?: boolean | "false" | "true";
|
|
309
309
|
hidden?: boolean;
|
|
310
310
|
id?: string;
|
|
311
311
|
lang?: string;
|
|
312
312
|
placeholder?: string;
|
|
313
313
|
slot?: string;
|
|
314
|
-
spellCheck?: boolean | "
|
|
314
|
+
spellCheck?: boolean | "false" | "true";
|
|
315
315
|
style?: React.CSSProperties;
|
|
316
316
|
tabIndex?: number;
|
|
317
317
|
title?: string;
|
|
@@ -340,47 +340,47 @@ export declare const DifferentToggleButtons: {
|
|
|
340
340
|
inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
341
341
|
is?: string;
|
|
342
342
|
'aria-activedescendant'?: string;
|
|
343
|
-
'aria-atomic'?: boolean | "
|
|
344
|
-
'aria-autocomplete'?: "
|
|
345
|
-
'aria-busy'?: boolean | "
|
|
346
|
-
'aria-checked'?: boolean | "
|
|
343
|
+
'aria-atomic'?: boolean | "false" | "true";
|
|
344
|
+
'aria-autocomplete'?: "both" | "none" | "inline" | "list";
|
|
345
|
+
'aria-busy'?: boolean | "false" | "true";
|
|
346
|
+
'aria-checked'?: boolean | "mixed" | "false" | "true";
|
|
347
347
|
'aria-colcount'?: number;
|
|
348
348
|
'aria-colindex'?: number;
|
|
349
349
|
'aria-colspan'?: number;
|
|
350
350
|
'aria-controls'?: string;
|
|
351
|
-
'aria-current'?: boolean | "time" | "
|
|
351
|
+
'aria-current'?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date";
|
|
352
352
|
'aria-describedby'?: string;
|
|
353
353
|
'aria-details'?: string;
|
|
354
|
-
'aria-disabled'?: boolean | "
|
|
354
|
+
'aria-disabled'?: boolean | "false" | "true";
|
|
355
355
|
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup";
|
|
356
356
|
'aria-errormessage'?: string;
|
|
357
|
-
'aria-expanded'?: boolean | "
|
|
357
|
+
'aria-expanded'?: boolean | "false" | "true";
|
|
358
358
|
'aria-flowto'?: string;
|
|
359
|
-
'aria-grabbed'?: boolean | "
|
|
360
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "
|
|
361
|
-
'aria-hidden'?: boolean | "
|
|
362
|
-
'aria-invalid'?: boolean | "
|
|
359
|
+
'aria-grabbed'?: boolean | "false" | "true";
|
|
360
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "false" | "true" | "tree";
|
|
361
|
+
'aria-hidden'?: boolean | "false" | "true";
|
|
362
|
+
'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling";
|
|
363
363
|
'aria-keyshortcuts'?: string;
|
|
364
364
|
'aria-label'?: string;
|
|
365
365
|
'aria-labelledby'?: string;
|
|
366
366
|
'aria-level'?: number;
|
|
367
367
|
'aria-live'?: "off" | "assertive" | "polite";
|
|
368
|
-
'aria-modal'?: boolean | "
|
|
369
|
-
'aria-multiline'?: boolean | "
|
|
370
|
-
'aria-multiselectable'?: boolean | "
|
|
368
|
+
'aria-modal'?: boolean | "false" | "true";
|
|
369
|
+
'aria-multiline'?: boolean | "false" | "true";
|
|
370
|
+
'aria-multiselectable'?: boolean | "false" | "true";
|
|
371
371
|
'aria-orientation'?: "horizontal" | "vertical";
|
|
372
372
|
'aria-owns'?: string;
|
|
373
373
|
'aria-placeholder'?: string;
|
|
374
374
|
'aria-posinset'?: number;
|
|
375
|
-
'aria-pressed'?: boolean | "
|
|
376
|
-
'aria-readonly'?: boolean | "
|
|
377
|
-
'aria-relevant'?: "text" | "
|
|
378
|
-
'aria-required'?: boolean | "
|
|
375
|
+
'aria-pressed'?: boolean | "mixed" | "false" | "true";
|
|
376
|
+
'aria-readonly'?: boolean | "false" | "true";
|
|
377
|
+
'aria-relevant'?: "text" | "all" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
378
|
+
'aria-required'?: boolean | "false" | "true";
|
|
379
379
|
'aria-roledescription'?: string;
|
|
380
380
|
'aria-rowcount'?: number;
|
|
381
381
|
'aria-rowindex'?: number;
|
|
382
382
|
'aria-rowspan'?: number;
|
|
383
|
-
'aria-selected'?: boolean | "
|
|
383
|
+
'aria-selected'?: boolean | "false" | "true";
|
|
384
384
|
'aria-setsize'?: number;
|
|
385
385
|
'aria-sort'?: "none" | "ascending" | "descending" | "other";
|
|
386
386
|
'aria-valuemax'?: number;
|
package/dist/esm/index.js
CHANGED
|
@@ -9529,9 +9529,13 @@ var HelperInformation = function HelperInformation(props) {
|
|
|
9529
9529
|
function useFocusLock(active, header, body) {
|
|
9530
9530
|
var rootNode = useRef(null);
|
|
9531
9531
|
var focusableItems = useRef([]);
|
|
9532
|
+
// The filter is necessary for the proper functioning of focus in drawer-navigation or similar cases
|
|
9532
9533
|
var updateFocusableItems = function updateFocusableItems() {
|
|
9533
9534
|
var _rootNode$current;
|
|
9534
|
-
focusableItems.current = Array.from(((_rootNode$current = rootNode.current) == null ? void 0 : _rootNode$current.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), video')) || [])
|
|
9535
|
+
focusableItems.current = Array.from(((_rootNode$current = rootNode.current) == null ? void 0 : _rootNode$current.querySelectorAll('button, [href], input, select, textarea, [tabindex]:not([tabindex="-1"]), video')) || []).filter(function (element) {
|
|
9536
|
+
var style = window.getComputedStyle(element);
|
|
9537
|
+
return element instanceof HTMLElement && style.display !== 'none' && style.visibility !== 'hidden';
|
|
9538
|
+
});
|
|
9535
9539
|
};
|
|
9536
9540
|
useEffect(function () {
|
|
9537
9541
|
if (active) {
|