react-magma-dom 3.7.0 → 3.9.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/dist/components/AlertBase/index.d.ts +2 -1
- package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts +8 -8
- package/dist/components/CharacterCounter/CharacterCounter.stories.d.ts +16 -16
- package/dist/components/Checkbox/index.d.ts +5 -0
- package/dist/components/Combobox/ComboboxInput.d.ts +3 -3
- package/dist/components/Datagrid/Datagrid.stories.d.ts +8 -8
- package/dist/components/DatePicker/DatePicker.stories.d.ts +11 -0
- package/dist/components/DatePicker/utils.d.ts +1 -0
- package/dist/components/Dropdown/DropdownMenuItem.d.ts +2 -1
- package/dist/components/Grid/Grid.d.ts +2 -2
- package/dist/components/Hyperlink/Hyperlink.stories.d.ts +30 -2
- package/dist/components/Hyperlink/index.d.ts +19 -3
- package/dist/components/IconButton/IconButton.stories.d.ts +4 -4
- package/dist/components/IndeterminateCheckbox/index.d.ts +4 -0
- package/dist/components/Input/Input.stories.d.ts +46 -27
- package/dist/components/InputBase/index.d.ts +10 -2
- package/dist/components/Modal/Modal.d.ts +9 -0
- package/dist/components/Modal/Modal.stories.d.ts +1 -0
- package/dist/components/Pagination/Pagination.d.ts +1 -1
- package/dist/components/ProgressBar/ProgressBar.stories.d.ts +15 -0
- package/dist/components/ProgressBar/index.d.ts +1 -1
- package/dist/components/Select/shared.d.ts +10 -9
- package/dist/components/Stepper/Step.d.ts +53 -0
- package/dist/components/Stepper/Stepper.d.ts +53 -0
- package/dist/components/Stepper/Stepper.stories.d.ts +6 -0
- package/dist/components/Stepper/index.d.ts +2 -0
- package/dist/components/Table/Table.d.ts +3 -2
- package/dist/components/Table/Table.stories.d.ts +48 -48
- package/dist/components/Tabs/TabScrollSpyPanel.d.ts +10 -0
- package/dist/components/Tabs/Tabs.stories.d.ts +2 -0
- package/dist/components/Tabs/TabsScrollSpyContainer.d.ts +9 -0
- package/dist/components/Tabs/index.d.ts +2 -0
- package/dist/components/Tabs/utils.d.ts +3 -0
- package/dist/components/Tag/Tag.stories.d.ts +16 -16
- package/dist/components/Textarea/Textarea.stories.d.ts +8 -8
- package/dist/components/TimePicker/TimePicker.stories.d.ts +2 -0
- package/dist/components/TimePicker/useTimePicker.d.ts +2 -2
- package/dist/components/ToggleButton/ToggleButton.stories.d.ts +32 -32
- package/dist/components/ToggleButtonGroup/ToggleButtonGroup.stories.d.ts +16 -16
- package/dist/components/Tooltip/index.d.ts +4 -3
- package/dist/components/TreeView/TreeItem.d.ts +5 -0
- package/dist/components/TreeView/TreeItemContext.d.ts +15 -0
- package/dist/components/TreeView/TreeView.d.ts +5 -0
- package/dist/components/TreeView/TreeView.stories.d.ts +88 -0
- package/dist/components/TreeView/TreeViewContext.d.ts +28 -0
- package/dist/components/TreeView/index.d.ts +5 -0
- package/dist/components/TreeView/useTreeItem.d.ts +84 -0
- package/dist/components/TreeView/useTreeView.d.ts +75 -0
- package/dist/components/TreeView/utils.d.ts +44 -0
- package/dist/components/Typography/index.d.ts +1 -1
- package/dist/esm/index.js +3245 -737
- package/dist/esm/index.js.map +1 -1
- package/dist/i18n/interface.d.ts +5 -0
- package/dist/index.d.ts +7 -1
- package/dist/properties.json +1104 -128
- package/dist/react-magma-dom.cjs.development.js +2971 -540
- 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/dist/theme/styled.d.ts +1 -1
- package/dist/utils/index.d.ts +1 -0
- package/package.json +3 -3
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
import { ThemeInterface } from '../../theme/magma';
|
|
3
|
+
export interface StepperProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
testId?: string;
|
|
8
|
+
/**
|
|
9
|
+
* Customizable aria-label for accessibility.
|
|
10
|
+
*/
|
|
11
|
+
ariaLabel: string;
|
|
12
|
+
/**
|
|
13
|
+
* Custom number for responsive styling, uses a minimum 'breakpoint' width from the set number.
|
|
14
|
+
*/
|
|
15
|
+
breakpoint?: number;
|
|
16
|
+
/**
|
|
17
|
+
* Changes the Stepper view for responsive layouts, needs a minimum 'breakpoint' number.
|
|
18
|
+
*/
|
|
19
|
+
breakpointLayout?: StepperLayout;
|
|
20
|
+
/**
|
|
21
|
+
* Sets the Stepper view
|
|
22
|
+
* @default StepperLayout.showLabels
|
|
23
|
+
*/
|
|
24
|
+
layout?: StepperLayout;
|
|
25
|
+
/**
|
|
26
|
+
* Sets a custom label for the Step count # of #.
|
|
27
|
+
* @default 'Step'
|
|
28
|
+
*/
|
|
29
|
+
stepLabel?: string;
|
|
30
|
+
/**
|
|
31
|
+
* Sets a custom label for the completed Step.
|
|
32
|
+
* @default 'All steps completed'
|
|
33
|
+
*/
|
|
34
|
+
completionLabel?: string;
|
|
35
|
+
/**
|
|
36
|
+
* Current step value.
|
|
37
|
+
*/
|
|
38
|
+
currentStep: number;
|
|
39
|
+
/**
|
|
40
|
+
* Inverse styling.
|
|
41
|
+
*/
|
|
42
|
+
isInverse?: boolean;
|
|
43
|
+
/**
|
|
44
|
+
* @internal
|
|
45
|
+
*/
|
|
46
|
+
theme?: ThemeInterface;
|
|
47
|
+
}
|
|
48
|
+
export declare enum StepperLayout {
|
|
49
|
+
showLabels = "showLabels",
|
|
50
|
+
hideLabels = "hideLabels",
|
|
51
|
+
summaryView = "summaryView"
|
|
52
|
+
}
|
|
53
|
+
export declare const Stepper: React.ForwardRefExoticComponent<StepperProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { StepperProps } from './';
|
|
2
|
+
declare const _default: import("@storybook/csf").ComponentAnnotations<import("@storybook/react/types-6-0").ReactFramework, import("@storybook/react/types-6-0").Args>;
|
|
3
|
+
export default _default;
|
|
4
|
+
export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, StepperProps>;
|
|
5
|
+
export declare const RealWorldExample: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, StepperProps>;
|
|
6
|
+
export declare const WithError: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, StepperProps>;
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
|
+
import { ThemeInterface } from '../../theme/magma';
|
|
2
3
|
/**
|
|
3
4
|
* @children required
|
|
4
5
|
*/
|
|
@@ -86,10 +87,10 @@ export declare const TableContainer: import("@emotion/styled-base").StyledCompon
|
|
|
86
87
|
minWidth: number;
|
|
87
88
|
hasSquareCorners?: boolean;
|
|
88
89
|
isInverse?: boolean;
|
|
89
|
-
},
|
|
90
|
+
}, ThemeInterface>;
|
|
90
91
|
export declare const StyledTable: import("@emotion/styled-base").StyledComponent<React.DetailedHTMLProps<React.TableHTMLAttributes<HTMLTableElement>, HTMLTableElement>, {
|
|
91
92
|
isInverse?: boolean;
|
|
92
93
|
minWidth: number;
|
|
93
|
-
},
|
|
94
|
+
}, ThemeInterface>;
|
|
94
95
|
export declare const Table: React.ForwardRefExoticComponent<TableProps & React.RefAttributes<HTMLTableElement>>;
|
|
95
96
|
export {};
|
|
@@ -33,7 +33,7 @@ export declare const ControlledPagination: {
|
|
|
33
33
|
suppressHydrationWarning?: boolean;
|
|
34
34
|
accessKey?: string;
|
|
35
35
|
className?: string;
|
|
36
|
-
contentEditable?: boolean | "
|
|
36
|
+
contentEditable?: boolean | "true" | "false" | "inherit";
|
|
37
37
|
contextMenu?: string;
|
|
38
38
|
dir?: string;
|
|
39
39
|
draggable?: boolean | "true" | "false";
|
|
@@ -69,27 +69,27 @@ export declare const ControlledPagination: {
|
|
|
69
69
|
results?: number;
|
|
70
70
|
security?: string;
|
|
71
71
|
unselectable?: "on" | "off";
|
|
72
|
-
inputMode?: "
|
|
72
|
+
inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
73
73
|
is?: string;
|
|
74
74
|
'aria-activedescendant'?: string;
|
|
75
75
|
'aria-atomic'?: boolean | "true" | "false";
|
|
76
|
-
'aria-autocomplete'?: "
|
|
76
|
+
'aria-autocomplete'?: "list" | "none" | "inline" | "both";
|
|
77
77
|
'aria-busy'?: boolean | "true" | "false";
|
|
78
78
|
'aria-checked'?: boolean | "true" | "false" | "mixed";
|
|
79
79
|
'aria-colcount'?: number;
|
|
80
80
|
'aria-colindex'?: number;
|
|
81
81
|
'aria-colspan'?: number;
|
|
82
82
|
'aria-controls'?: string;
|
|
83
|
-
'aria-current'?: boolean | "time" | "true" | "false" | "
|
|
83
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "step" | "page" | "location" | "date";
|
|
84
84
|
'aria-describedby'?: string;
|
|
85
85
|
'aria-details'?: string;
|
|
86
86
|
'aria-disabled'?: boolean | "true" | "false";
|
|
87
|
-
'aria-dropeffect'?: "
|
|
87
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup";
|
|
88
88
|
'aria-errormessage'?: string;
|
|
89
89
|
'aria-expanded'?: boolean | "true" | "false";
|
|
90
90
|
'aria-flowto'?: string;
|
|
91
91
|
'aria-grabbed'?: boolean | "true" | "false";
|
|
92
|
-
'aria-haspopup'?: boolean | "
|
|
92
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree";
|
|
93
93
|
'aria-hidden'?: boolean | "true" | "false";
|
|
94
94
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
95
95
|
'aria-keyshortcuts'?: string;
|
|
@@ -106,7 +106,7 @@ export declare const ControlledPagination: {
|
|
|
106
106
|
'aria-posinset'?: number;
|
|
107
107
|
'aria-pressed'?: boolean | "true" | "false" | "mixed";
|
|
108
108
|
'aria-readonly'?: boolean | "true" | "false";
|
|
109
|
-
'aria-relevant'?: "
|
|
109
|
+
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
110
110
|
'aria-required'?: boolean | "true" | "false";
|
|
111
111
|
'aria-roledescription'?: string;
|
|
112
112
|
'aria-rowcount'?: number;
|
|
@@ -114,7 +114,7 @@ export declare const ControlledPagination: {
|
|
|
114
114
|
'aria-rowspan'?: number;
|
|
115
115
|
'aria-selected'?: boolean | "true" | "false";
|
|
116
116
|
'aria-setsize'?: number;
|
|
117
|
-
'aria-sort'?: "none" | "
|
|
117
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other";
|
|
118
118
|
'aria-valuemax'?: number;
|
|
119
119
|
'aria-valuemin'?: number;
|
|
120
120
|
'aria-valuenow'?: number;
|
|
@@ -317,7 +317,7 @@ export declare const PaginationInverse: {
|
|
|
317
317
|
suppressHydrationWarning?: boolean;
|
|
318
318
|
accessKey?: string;
|
|
319
319
|
className?: string;
|
|
320
|
-
contentEditable?: boolean | "
|
|
320
|
+
contentEditable?: boolean | "true" | "false" | "inherit";
|
|
321
321
|
contextMenu?: string;
|
|
322
322
|
dir?: string;
|
|
323
323
|
draggable?: boolean | "true" | "false";
|
|
@@ -353,27 +353,27 @@ export declare const PaginationInverse: {
|
|
|
353
353
|
results?: number;
|
|
354
354
|
security?: string;
|
|
355
355
|
unselectable?: "on" | "off";
|
|
356
|
-
inputMode?: "
|
|
356
|
+
inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
357
357
|
is?: string;
|
|
358
358
|
'aria-activedescendant'?: string;
|
|
359
359
|
'aria-atomic'?: boolean | "true" | "false";
|
|
360
|
-
'aria-autocomplete'?: "
|
|
360
|
+
'aria-autocomplete'?: "list" | "none" | "inline" | "both";
|
|
361
361
|
'aria-busy'?: boolean | "true" | "false";
|
|
362
362
|
'aria-checked'?: boolean | "true" | "false" | "mixed";
|
|
363
363
|
'aria-colcount'?: number;
|
|
364
364
|
'aria-colindex'?: number;
|
|
365
365
|
'aria-colspan'?: number;
|
|
366
366
|
'aria-controls'?: string;
|
|
367
|
-
'aria-current'?: boolean | "time" | "true" | "false" | "
|
|
367
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "step" | "page" | "location" | "date";
|
|
368
368
|
'aria-describedby'?: string;
|
|
369
369
|
'aria-details'?: string;
|
|
370
370
|
'aria-disabled'?: boolean | "true" | "false";
|
|
371
|
-
'aria-dropeffect'?: "
|
|
371
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup";
|
|
372
372
|
'aria-errormessage'?: string;
|
|
373
373
|
'aria-expanded'?: boolean | "true" | "false";
|
|
374
374
|
'aria-flowto'?: string;
|
|
375
375
|
'aria-grabbed'?: boolean | "true" | "false";
|
|
376
|
-
'aria-haspopup'?: boolean | "
|
|
376
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree";
|
|
377
377
|
'aria-hidden'?: boolean | "true" | "false";
|
|
378
378
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
379
379
|
'aria-keyshortcuts'?: string;
|
|
@@ -390,7 +390,7 @@ export declare const PaginationInverse: {
|
|
|
390
390
|
'aria-posinset'?: number;
|
|
391
391
|
'aria-pressed'?: boolean | "true" | "false" | "mixed";
|
|
392
392
|
'aria-readonly'?: boolean | "true" | "false";
|
|
393
|
-
'aria-relevant'?: "
|
|
393
|
+
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
394
394
|
'aria-required'?: boolean | "true" | "false";
|
|
395
395
|
'aria-roledescription'?: string;
|
|
396
396
|
'aria-rowcount'?: number;
|
|
@@ -398,7 +398,7 @@ export declare const PaginationInverse: {
|
|
|
398
398
|
'aria-rowspan'?: number;
|
|
399
399
|
'aria-selected'?: boolean | "true" | "false";
|
|
400
400
|
'aria-setsize'?: number;
|
|
401
|
-
'aria-sort'?: "none" | "
|
|
401
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other";
|
|
402
402
|
'aria-valuemax'?: number;
|
|
403
403
|
'aria-valuemin'?: number;
|
|
404
404
|
'aria-valuenow'?: number;
|
|
@@ -592,7 +592,7 @@ export declare const RowColors: {
|
|
|
592
592
|
suppressHydrationWarning?: boolean;
|
|
593
593
|
accessKey?: string;
|
|
594
594
|
className?: string;
|
|
595
|
-
contentEditable?: boolean | "
|
|
595
|
+
contentEditable?: boolean | "true" | "false" | "inherit";
|
|
596
596
|
contextMenu?: string;
|
|
597
597
|
dir?: string;
|
|
598
598
|
draggable?: boolean | "true" | "false";
|
|
@@ -628,27 +628,27 @@ export declare const RowColors: {
|
|
|
628
628
|
results?: number;
|
|
629
629
|
security?: string;
|
|
630
630
|
unselectable?: "on" | "off";
|
|
631
|
-
inputMode?: "
|
|
631
|
+
inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
632
632
|
is?: string;
|
|
633
633
|
'aria-activedescendant'?: string;
|
|
634
634
|
'aria-atomic'?: boolean | "true" | "false";
|
|
635
|
-
'aria-autocomplete'?: "
|
|
635
|
+
'aria-autocomplete'?: "list" | "none" | "inline" | "both";
|
|
636
636
|
'aria-busy'?: boolean | "true" | "false";
|
|
637
637
|
'aria-checked'?: boolean | "true" | "false" | "mixed";
|
|
638
638
|
'aria-colcount'?: number;
|
|
639
639
|
'aria-colindex'?: number;
|
|
640
640
|
'aria-colspan'?: number;
|
|
641
641
|
'aria-controls'?: string;
|
|
642
|
-
'aria-current'?: boolean | "time" | "true" | "false" | "
|
|
642
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "step" | "page" | "location" | "date";
|
|
643
643
|
'aria-describedby'?: string;
|
|
644
644
|
'aria-details'?: string;
|
|
645
645
|
'aria-disabled'?: boolean | "true" | "false";
|
|
646
|
-
'aria-dropeffect'?: "
|
|
646
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup";
|
|
647
647
|
'aria-errormessage'?: string;
|
|
648
648
|
'aria-expanded'?: boolean | "true" | "false";
|
|
649
649
|
'aria-flowto'?: string;
|
|
650
650
|
'aria-grabbed'?: boolean | "true" | "false";
|
|
651
|
-
'aria-haspopup'?: boolean | "
|
|
651
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree";
|
|
652
652
|
'aria-hidden'?: boolean | "true" | "false";
|
|
653
653
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
654
654
|
'aria-keyshortcuts'?: string;
|
|
@@ -665,7 +665,7 @@ export declare const RowColors: {
|
|
|
665
665
|
'aria-posinset'?: number;
|
|
666
666
|
'aria-pressed'?: boolean | "true" | "false" | "mixed";
|
|
667
667
|
'aria-readonly'?: boolean | "true" | "false";
|
|
668
|
-
'aria-relevant'?: "
|
|
668
|
+
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
669
669
|
'aria-required'?: boolean | "true" | "false";
|
|
670
670
|
'aria-roledescription'?: string;
|
|
671
671
|
'aria-rowcount'?: number;
|
|
@@ -673,7 +673,7 @@ export declare const RowColors: {
|
|
|
673
673
|
'aria-rowspan'?: number;
|
|
674
674
|
'aria-selected'?: boolean | "true" | "false";
|
|
675
675
|
'aria-setsize'?: number;
|
|
676
|
-
'aria-sort'?: "none" | "
|
|
676
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other";
|
|
677
677
|
'aria-valuemax'?: number;
|
|
678
678
|
'aria-valuemin'?: number;
|
|
679
679
|
'aria-valuenow'?: number;
|
|
@@ -866,7 +866,7 @@ export declare const RowColorsInverse: {
|
|
|
866
866
|
suppressHydrationWarning?: boolean;
|
|
867
867
|
accessKey?: string;
|
|
868
868
|
className?: string;
|
|
869
|
-
contentEditable?: boolean | "
|
|
869
|
+
contentEditable?: boolean | "true" | "false" | "inherit";
|
|
870
870
|
contextMenu?: string;
|
|
871
871
|
dir?: string;
|
|
872
872
|
draggable?: boolean | "true" | "false";
|
|
@@ -902,27 +902,27 @@ export declare const RowColorsInverse: {
|
|
|
902
902
|
results?: number;
|
|
903
903
|
security?: string;
|
|
904
904
|
unselectable?: "on" | "off";
|
|
905
|
-
inputMode?: "
|
|
905
|
+
inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
906
906
|
is?: string;
|
|
907
907
|
'aria-activedescendant'?: string;
|
|
908
908
|
'aria-atomic'?: boolean | "true" | "false";
|
|
909
|
-
'aria-autocomplete'?: "
|
|
909
|
+
'aria-autocomplete'?: "list" | "none" | "inline" | "both";
|
|
910
910
|
'aria-busy'?: boolean | "true" | "false";
|
|
911
911
|
'aria-checked'?: boolean | "true" | "false" | "mixed";
|
|
912
912
|
'aria-colcount'?: number;
|
|
913
913
|
'aria-colindex'?: number;
|
|
914
914
|
'aria-colspan'?: number;
|
|
915
915
|
'aria-controls'?: string;
|
|
916
|
-
'aria-current'?: boolean | "time" | "true" | "false" | "
|
|
916
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "step" | "page" | "location" | "date";
|
|
917
917
|
'aria-describedby'?: string;
|
|
918
918
|
'aria-details'?: string;
|
|
919
919
|
'aria-disabled'?: boolean | "true" | "false";
|
|
920
|
-
'aria-dropeffect'?: "
|
|
920
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup";
|
|
921
921
|
'aria-errormessage'?: string;
|
|
922
922
|
'aria-expanded'?: boolean | "true" | "false";
|
|
923
923
|
'aria-flowto'?: string;
|
|
924
924
|
'aria-grabbed'?: boolean | "true" | "false";
|
|
925
|
-
'aria-haspopup'?: boolean | "
|
|
925
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree";
|
|
926
926
|
'aria-hidden'?: boolean | "true" | "false";
|
|
927
927
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
928
928
|
'aria-keyshortcuts'?: string;
|
|
@@ -939,7 +939,7 @@ export declare const RowColorsInverse: {
|
|
|
939
939
|
'aria-posinset'?: number;
|
|
940
940
|
'aria-pressed'?: boolean | "true" | "false" | "mixed";
|
|
941
941
|
'aria-readonly'?: boolean | "true" | "false";
|
|
942
|
-
'aria-relevant'?: "
|
|
942
|
+
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
943
943
|
'aria-required'?: boolean | "true" | "false";
|
|
944
944
|
'aria-roledescription'?: string;
|
|
945
945
|
'aria-rowcount'?: number;
|
|
@@ -947,7 +947,7 @@ export declare const RowColorsInverse: {
|
|
|
947
947
|
'aria-rowspan'?: number;
|
|
948
948
|
'aria-selected'?: boolean | "true" | "false";
|
|
949
949
|
'aria-setsize'?: number;
|
|
950
|
-
'aria-sort'?: "none" | "
|
|
950
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other";
|
|
951
951
|
'aria-valuemax'?: number;
|
|
952
952
|
'aria-valuemin'?: number;
|
|
953
953
|
'aria-valuenow'?: number;
|
|
@@ -1140,7 +1140,7 @@ export declare const Sortable: {
|
|
|
1140
1140
|
suppressHydrationWarning?: boolean;
|
|
1141
1141
|
accessKey?: string;
|
|
1142
1142
|
className?: string;
|
|
1143
|
-
contentEditable?: boolean | "
|
|
1143
|
+
contentEditable?: boolean | "true" | "false" | "inherit";
|
|
1144
1144
|
contextMenu?: string;
|
|
1145
1145
|
dir?: string;
|
|
1146
1146
|
draggable?: boolean | "true" | "false";
|
|
@@ -1176,27 +1176,27 @@ export declare const Sortable: {
|
|
|
1176
1176
|
results?: number;
|
|
1177
1177
|
security?: string;
|
|
1178
1178
|
unselectable?: "on" | "off";
|
|
1179
|
-
inputMode?: "
|
|
1179
|
+
inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
1180
1180
|
is?: string;
|
|
1181
1181
|
'aria-activedescendant'?: string;
|
|
1182
1182
|
'aria-atomic'?: boolean | "true" | "false";
|
|
1183
|
-
'aria-autocomplete'?: "
|
|
1183
|
+
'aria-autocomplete'?: "list" | "none" | "inline" | "both";
|
|
1184
1184
|
'aria-busy'?: boolean | "true" | "false";
|
|
1185
1185
|
'aria-checked'?: boolean | "true" | "false" | "mixed";
|
|
1186
1186
|
'aria-colcount'?: number;
|
|
1187
1187
|
'aria-colindex'?: number;
|
|
1188
1188
|
'aria-colspan'?: number;
|
|
1189
1189
|
'aria-controls'?: string;
|
|
1190
|
-
'aria-current'?: boolean | "time" | "true" | "false" | "
|
|
1190
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "step" | "page" | "location" | "date";
|
|
1191
1191
|
'aria-describedby'?: string;
|
|
1192
1192
|
'aria-details'?: string;
|
|
1193
1193
|
'aria-disabled'?: boolean | "true" | "false";
|
|
1194
|
-
'aria-dropeffect'?: "
|
|
1194
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup";
|
|
1195
1195
|
'aria-errormessage'?: string;
|
|
1196
1196
|
'aria-expanded'?: boolean | "true" | "false";
|
|
1197
1197
|
'aria-flowto'?: string;
|
|
1198
1198
|
'aria-grabbed'?: boolean | "true" | "false";
|
|
1199
|
-
'aria-haspopup'?: boolean | "
|
|
1199
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree";
|
|
1200
1200
|
'aria-hidden'?: boolean | "true" | "false";
|
|
1201
1201
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
1202
1202
|
'aria-keyshortcuts'?: string;
|
|
@@ -1213,7 +1213,7 @@ export declare const Sortable: {
|
|
|
1213
1213
|
'aria-posinset'?: number;
|
|
1214
1214
|
'aria-pressed'?: boolean | "true" | "false" | "mixed";
|
|
1215
1215
|
'aria-readonly'?: boolean | "true" | "false";
|
|
1216
|
-
'aria-relevant'?: "
|
|
1216
|
+
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
1217
1217
|
'aria-required'?: boolean | "true" | "false";
|
|
1218
1218
|
'aria-roledescription'?: string;
|
|
1219
1219
|
'aria-rowcount'?: number;
|
|
@@ -1221,7 +1221,7 @@ export declare const Sortable: {
|
|
|
1221
1221
|
'aria-rowspan'?: number;
|
|
1222
1222
|
'aria-selected'?: boolean | "true" | "false";
|
|
1223
1223
|
'aria-setsize'?: number;
|
|
1224
|
-
'aria-sort'?: "none" | "
|
|
1224
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other";
|
|
1225
1225
|
'aria-valuemax'?: number;
|
|
1226
1226
|
'aria-valuemin'?: number;
|
|
1227
1227
|
'aria-valuenow'?: number;
|
|
@@ -1414,7 +1414,7 @@ export declare const WithDropdown: {
|
|
|
1414
1414
|
suppressHydrationWarning?: boolean;
|
|
1415
1415
|
accessKey?: string;
|
|
1416
1416
|
className?: string;
|
|
1417
|
-
contentEditable?: boolean | "
|
|
1417
|
+
contentEditable?: boolean | "true" | "false" | "inherit";
|
|
1418
1418
|
contextMenu?: string;
|
|
1419
1419
|
dir?: string;
|
|
1420
1420
|
draggable?: boolean | "true" | "false";
|
|
@@ -1450,27 +1450,27 @@ export declare const WithDropdown: {
|
|
|
1450
1450
|
results?: number;
|
|
1451
1451
|
security?: string;
|
|
1452
1452
|
unselectable?: "on" | "off";
|
|
1453
|
-
inputMode?: "
|
|
1453
|
+
inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
1454
1454
|
is?: string;
|
|
1455
1455
|
'aria-activedescendant'?: string;
|
|
1456
1456
|
'aria-atomic'?: boolean | "true" | "false";
|
|
1457
|
-
'aria-autocomplete'?: "
|
|
1457
|
+
'aria-autocomplete'?: "list" | "none" | "inline" | "both";
|
|
1458
1458
|
'aria-busy'?: boolean | "true" | "false";
|
|
1459
1459
|
'aria-checked'?: boolean | "true" | "false" | "mixed";
|
|
1460
1460
|
'aria-colcount'?: number;
|
|
1461
1461
|
'aria-colindex'?: number;
|
|
1462
1462
|
'aria-colspan'?: number;
|
|
1463
1463
|
'aria-controls'?: string;
|
|
1464
|
-
'aria-current'?: boolean | "time" | "true" | "false" | "
|
|
1464
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "step" | "page" | "location" | "date";
|
|
1465
1465
|
'aria-describedby'?: string;
|
|
1466
1466
|
'aria-details'?: string;
|
|
1467
1467
|
'aria-disabled'?: boolean | "true" | "false";
|
|
1468
|
-
'aria-dropeffect'?: "
|
|
1468
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup";
|
|
1469
1469
|
'aria-errormessage'?: string;
|
|
1470
1470
|
'aria-expanded'?: boolean | "true" | "false";
|
|
1471
1471
|
'aria-flowto'?: string;
|
|
1472
1472
|
'aria-grabbed'?: boolean | "true" | "false";
|
|
1473
|
-
'aria-haspopup'?: boolean | "
|
|
1473
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree";
|
|
1474
1474
|
'aria-hidden'?: boolean | "true" | "false";
|
|
1475
1475
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
1476
1476
|
'aria-keyshortcuts'?: string;
|
|
@@ -1487,7 +1487,7 @@ export declare const WithDropdown: {
|
|
|
1487
1487
|
'aria-posinset'?: number;
|
|
1488
1488
|
'aria-pressed'?: boolean | "true" | "false" | "mixed";
|
|
1489
1489
|
'aria-readonly'?: boolean | "true" | "false";
|
|
1490
|
-
'aria-relevant'?: "
|
|
1490
|
+
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
1491
1491
|
'aria-required'?: boolean | "true" | "false";
|
|
1492
1492
|
'aria-roledescription'?: string;
|
|
1493
1493
|
'aria-rowcount'?: number;
|
|
@@ -1495,7 +1495,7 @@ export declare const WithDropdown: {
|
|
|
1495
1495
|
'aria-rowspan'?: number;
|
|
1496
1496
|
'aria-selected'?: boolean | "true" | "false";
|
|
1497
1497
|
'aria-setsize'?: number;
|
|
1498
|
-
'aria-sort'?: "none" | "
|
|
1498
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other";
|
|
1499
1499
|
'aria-valuemax'?: number;
|
|
1500
1500
|
'aria-valuemin'?: number;
|
|
1501
1501
|
'aria-valuenow'?: number;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface TabScrollSpyPanelProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
icon?: React.ReactElement<any> | React.ReactElement<any>[];
|
|
4
|
+
tabLabel: string;
|
|
5
|
+
/**
|
|
6
|
+
* @internal
|
|
7
|
+
*/
|
|
8
|
+
testId?: string;
|
|
9
|
+
}
|
|
10
|
+
export declare const TabScrollSpyPanel: React.ForwardRefExoticComponent<TabScrollSpyPanelProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -5,5 +5,7 @@ export declare const Default: import("@storybook/csf").AnnotatedStoryFn<import("
|
|
|
5
5
|
export declare const Icon: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, TabsProps>;
|
|
6
6
|
export declare const IconOnly: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, TabsProps>;
|
|
7
7
|
export declare const Scrolling: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, TabsProps>;
|
|
8
|
+
export declare const ScrollSpy: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, TabsProps>;
|
|
9
|
+
export declare const ScrollSpyIcons: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, TabsProps>;
|
|
8
10
|
export declare const Inverse: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, TabsProps>;
|
|
9
11
|
export declare const WithDropdown: import("@storybook/csf").AnnotatedStoryFn<import("@storybook/react/types-6-0").ReactFramework, TabsProps>;
|
|
@@ -0,0 +1,9 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
export interface TabsScrollSpyContainerProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
3
|
+
isInverse?: boolean;
|
|
4
|
+
/**
|
|
5
|
+
* @internal
|
|
6
|
+
*/
|
|
7
|
+
testId?: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const TabsScrollSpyContainer: React.ForwardRefExoticComponent<TabsScrollSpyContainerProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -46,7 +46,7 @@ export declare const WithDelete: {
|
|
|
46
46
|
suppressHydrationWarning?: boolean;
|
|
47
47
|
accessKey?: string;
|
|
48
48
|
className?: string;
|
|
49
|
-
contentEditable?: boolean | "
|
|
49
|
+
contentEditable?: boolean | "true" | "false" | "inherit";
|
|
50
50
|
contextMenu?: string;
|
|
51
51
|
dir?: string;
|
|
52
52
|
draggable?: boolean | "true" | "false";
|
|
@@ -81,27 +81,27 @@ export declare const WithDelete: {
|
|
|
81
81
|
results?: number;
|
|
82
82
|
security?: string;
|
|
83
83
|
unselectable?: "on" | "off";
|
|
84
|
-
inputMode?: "
|
|
84
|
+
inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
85
85
|
is?: string;
|
|
86
86
|
'aria-activedescendant'?: string;
|
|
87
87
|
'aria-atomic'?: boolean | "true" | "false";
|
|
88
|
-
'aria-autocomplete'?: "
|
|
88
|
+
'aria-autocomplete'?: "list" | "none" | "inline" | "both";
|
|
89
89
|
'aria-busy'?: boolean | "true" | "false";
|
|
90
90
|
'aria-checked'?: boolean | "true" | "false" | "mixed";
|
|
91
91
|
'aria-colcount'?: number;
|
|
92
92
|
'aria-colindex'?: number;
|
|
93
93
|
'aria-colspan'?: number;
|
|
94
94
|
'aria-controls'?: string;
|
|
95
|
-
'aria-current'?: boolean | "time" | "true" | "false" | "
|
|
95
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "step" | "page" | "location" | "date";
|
|
96
96
|
'aria-describedby'?: string;
|
|
97
97
|
'aria-details'?: string;
|
|
98
98
|
'aria-disabled'?: boolean | "true" | "false";
|
|
99
|
-
'aria-dropeffect'?: "
|
|
99
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup";
|
|
100
100
|
'aria-errormessage'?: string;
|
|
101
101
|
'aria-expanded'?: boolean | "true" | "false";
|
|
102
102
|
'aria-flowto'?: string;
|
|
103
103
|
'aria-grabbed'?: boolean | "true" | "false";
|
|
104
|
-
'aria-haspopup'?: boolean | "
|
|
104
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree";
|
|
105
105
|
'aria-hidden'?: boolean | "true" | "false";
|
|
106
106
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
107
107
|
'aria-keyshortcuts'?: string;
|
|
@@ -118,7 +118,7 @@ export declare const WithDelete: {
|
|
|
118
118
|
'aria-posinset'?: number;
|
|
119
119
|
'aria-pressed'?: boolean | "true" | "false" | "mixed";
|
|
120
120
|
'aria-readonly'?: boolean | "true" | "false";
|
|
121
|
-
'aria-relevant'?: "
|
|
121
|
+
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
122
122
|
'aria-required'?: boolean | "true" | "false";
|
|
123
123
|
'aria-roledescription'?: string;
|
|
124
124
|
'aria-rowcount'?: number;
|
|
@@ -126,7 +126,7 @@ export declare const WithDelete: {
|
|
|
126
126
|
'aria-rowspan'?: number;
|
|
127
127
|
'aria-selected'?: boolean | "true" | "false";
|
|
128
128
|
'aria-setsize'?: number;
|
|
129
|
-
'aria-sort'?: "none" | "
|
|
129
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other";
|
|
130
130
|
'aria-valuemax'?: number;
|
|
131
131
|
'aria-valuemin'?: number;
|
|
132
132
|
'aria-valuenow'?: number;
|
|
@@ -313,7 +313,7 @@ export declare const WithDelete: {
|
|
|
313
313
|
suppressHydrationWarning?: boolean;
|
|
314
314
|
accessKey?: string;
|
|
315
315
|
className?: string;
|
|
316
|
-
contentEditable?: boolean | "
|
|
316
|
+
contentEditable?: boolean | "true" | "false" | "inherit";
|
|
317
317
|
contextMenu?: string;
|
|
318
318
|
dir?: string;
|
|
319
319
|
draggable?: boolean | "true" | "false";
|
|
@@ -348,27 +348,27 @@ export declare const WithDelete: {
|
|
|
348
348
|
results?: number;
|
|
349
349
|
security?: string;
|
|
350
350
|
unselectable?: "on" | "off";
|
|
351
|
-
inputMode?: "
|
|
351
|
+
inputMode?: "text" | "none" | "search" | "tel" | "url" | "email" | "numeric" | "decimal";
|
|
352
352
|
is?: string;
|
|
353
353
|
'aria-activedescendant'?: string;
|
|
354
354
|
'aria-atomic'?: boolean | "true" | "false";
|
|
355
|
-
'aria-autocomplete'?: "
|
|
355
|
+
'aria-autocomplete'?: "list" | "none" | "inline" | "both";
|
|
356
356
|
'aria-busy'?: boolean | "true" | "false";
|
|
357
357
|
'aria-checked'?: boolean | "true" | "false" | "mixed";
|
|
358
358
|
'aria-colcount'?: number;
|
|
359
359
|
'aria-colindex'?: number;
|
|
360
360
|
'aria-colspan'?: number;
|
|
361
361
|
'aria-controls'?: string;
|
|
362
|
-
'aria-current'?: boolean | "time" | "true" | "false" | "
|
|
362
|
+
'aria-current'?: boolean | "time" | "true" | "false" | "step" | "page" | "location" | "date";
|
|
363
363
|
'aria-describedby'?: string;
|
|
364
364
|
'aria-details'?: string;
|
|
365
365
|
'aria-disabled'?: boolean | "true" | "false";
|
|
366
|
-
'aria-dropeffect'?: "
|
|
366
|
+
'aria-dropeffect'?: "link" | "none" | "copy" | "execute" | "move" | "popup";
|
|
367
367
|
'aria-errormessage'?: string;
|
|
368
368
|
'aria-expanded'?: boolean | "true" | "false";
|
|
369
369
|
'aria-flowto'?: string;
|
|
370
370
|
'aria-grabbed'?: boolean | "true" | "false";
|
|
371
|
-
'aria-haspopup'?: boolean | "
|
|
371
|
+
'aria-haspopup'?: boolean | "dialog" | "menu" | "true" | "false" | "grid" | "listbox" | "tree";
|
|
372
372
|
'aria-hidden'?: boolean | "true" | "false";
|
|
373
373
|
'aria-invalid'?: boolean | "true" | "false" | "grammar" | "spelling";
|
|
374
374
|
'aria-keyshortcuts'?: string;
|
|
@@ -385,7 +385,7 @@ export declare const WithDelete: {
|
|
|
385
385
|
'aria-posinset'?: number;
|
|
386
386
|
'aria-pressed'?: boolean | "true" | "false" | "mixed";
|
|
387
387
|
'aria-readonly'?: boolean | "true" | "false";
|
|
388
|
-
'aria-relevant'?: "
|
|
388
|
+
'aria-relevant'?: "text" | "additions" | "additions removals" | "additions text" | "all" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals";
|
|
389
389
|
'aria-required'?: boolean | "true" | "false";
|
|
390
390
|
'aria-roledescription'?: string;
|
|
391
391
|
'aria-rowcount'?: number;
|
|
@@ -393,7 +393,7 @@ export declare const WithDelete: {
|
|
|
393
393
|
'aria-rowspan'?: number;
|
|
394
394
|
'aria-selected'?: boolean | "true" | "false";
|
|
395
395
|
'aria-setsize'?: number;
|
|
396
|
-
'aria-sort'?: "none" | "
|
|
396
|
+
'aria-sort'?: "none" | "ascending" | "descending" | "other";
|
|
397
397
|
'aria-valuemax'?: number;
|
|
398
398
|
'aria-valuemin'?: number;
|
|
399
399
|
'aria-valuenow'?: number;
|