react-magma-dom 5.3.0 → 6.0.0-next.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/AIButton/StyledAIButtonTemplate.d.ts +2 -2
- package/dist/components/AIButton/index.d.ts +10 -10
- package/dist/components/Accordion/Accordion.d.ts +3 -4
- package/dist/components/Accordion/AccordionButton.d.ts +3 -4
- package/dist/components/Accordion/AccordionItem.d.ts +3 -4
- package/dist/components/Accordion/AccordionPanel.d.ts +3 -4
- package/dist/components/Alert/index.d.ts +3 -4
- package/dist/components/AlertBase/index.d.ts +1 -1
- package/dist/components/Announce/index.d.ts +4 -5
- package/dist/components/AppBar/AppBar.d.ts +3 -4
- package/dist/components/Badge/index.d.ts +3 -4
- package/dist/components/Banner/index.d.ts +3 -4
- package/dist/components/BlockQuote/BlockQuote.d.ts +3 -4
- package/dist/components/BlockQuote/BlockQuoteItem.d.ts +3 -4
- package/dist/components/Breadcrumb/Breadcrumb.d.ts +3 -4
- package/dist/components/Breadcrumb/BreadcrumbItem.d.ts +3 -4
- package/dist/components/BreakpointsContainer/index.d.ts +3 -4
- package/dist/components/Button/index.d.ts +3 -4
- package/dist/components/Card/Card.d.ts +3 -4
- package/dist/components/Card/CardBody.d.ts +3 -4
- package/dist/components/Card/CardHeading.d.ts +3 -4
- package/dist/components/Checkbox/index.d.ts +1 -1
- package/dist/components/Container/Container.d.ts +3 -4
- package/dist/components/Datagrid/Datagrid.d.ts +3 -4
- package/dist/components/DatePicker/DateField/StyledDateFieldInput.d.ts +4 -4
- package/dist/components/DatePicker/StyledSelect.d.ts +1 -1
- package/dist/components/Dropdown/DropdownContent.d.ts +3 -4
- package/dist/components/Dropdown/DropdownExpandableMenuPanel.d.ts +2 -3
- package/dist/components/Dropdown/DropdownHeader.d.ts +3 -4
- package/dist/components/Dropdown/DropdownMenuGroup.d.ts +3 -4
- package/dist/components/Dropdown/DropdownMenuItem.d.ts +1 -1
- package/dist/components/EmptyState/styles.d.ts +4 -4
- package/dist/components/Flex/Flex.d.ts +3 -4
- package/dist/components/Form/index.d.ts +3 -4
- package/dist/components/FormGroup/index.d.ts +3 -4
- package/dist/components/Grid/Grid.d.ts +12 -14
- package/dist/components/Heading/index.d.ts +4 -5
- package/dist/components/HideAtBreakpoint/index.d.ts +3 -4
- package/dist/components/InputBase/index.d.ts +3 -3
- package/dist/components/List/List.d.ts +3 -4
- package/dist/components/List/ListItem.d.ts +3 -4
- package/dist/components/Modal/Modal.d.ts +3 -4
- package/dist/components/NativeSelect/NativeSelect.d.ts +3 -4
- package/dist/components/Paragraph/index.d.ts +3 -4
- package/dist/components/RadioGroup/index.d.ts +3 -4
- package/dist/components/Select/SelectContainer.d.ts +1 -1
- package/dist/components/Select/shared.d.ts +8 -8
- package/dist/components/SkipLinkContent/index.d.ts +3 -4
- package/dist/components/Stepper/Step.d.ts +1 -1
- package/dist/components/StyledButton/index.d.ts +2 -2
- package/dist/components/Table/Table.d.ts +7 -20
- package/dist/components/Table/TableBody.d.ts +3 -4
- package/dist/components/Table/TableHead.d.ts +3 -4
- package/dist/components/Table/TableRow.d.ts +3 -4
- package/dist/components/Tabs/Tab.d.ts +2 -2
- package/dist/components/Tabs/TabPanelsContainer.d.ts +2 -1
- package/dist/components/Tabs/Tabs.d.ts +3 -3
- package/dist/components/Tabs/TabsContainer.d.ts +1 -1
- package/dist/components/Tag/Tag.d.ts +3 -4
- package/dist/components/TimePicker/TimePicker.d.ts +2 -2
- package/dist/components/Toast/index.d.ts +3 -4
- package/dist/components/Tooltip/index.d.ts +3 -3
- package/dist/components/Transition/Transition.d.ts +4 -5
- package/dist/components/TreeView/TreeItem.d.ts +0 -1
- package/dist/components/TreeView/useTreeItem.d.ts +1 -1
- package/dist/components/TreeView/useTreeView.d.ts +1 -1
- package/dist/components/TreeView/utils.d.ts +1 -1
- package/dist/components/Typography/index.d.ts +1 -1
- package/dist/components/VisuallyHidden/index.d.ts +3 -4
- package/dist/esm/index.js +5185 -6622
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.ts +73 -147
- package/dist/properties.json +13603 -11295
- package/dist/react-magma-dom.cjs.development.js +2782 -2710
- 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 +21 -24
- package/dist/components/AIButton/AIButton.stories.d.ts +0 -35
- package/dist/components/Accordion/Accordion.stories.d.ts +0 -54
- package/dist/components/Alert/Alert.stories.d.ts +0 -5
- package/dist/components/Announce/Announce.stories.d.ts +0 -4
- package/dist/components/AppBar/AppBar.stories.d.ts +0 -20
- package/dist/components/Badge/Badge.stories.d.ts +0 -7
- package/dist/components/Banner/Banner.stories.d.ts +0 -14
- package/dist/components/BlockQuote/BlockQuote.stories.d.ts +0 -16
- package/dist/components/Breadcrumb/Breadcrumb.stories.d.ts +0 -16
- package/dist/components/BreakpointsContainer/BreakpointsContainer.stories.d.ts +0 -4
- package/dist/components/Button/Button.stories.d.ts +0 -41
- package/dist/components/ButtonGroup/ButtonGroup.stories.d.ts +0 -24
- package/dist/components/Card/Card.stories.d.ts +0 -13
- package/dist/components/CharacterCounter/CharacterCounter.stories.d.ts +0 -38
- package/dist/components/Checkbox/Checkbox.stories.d.ts +0 -39
- package/dist/components/Combobox/Combobox.stories.d.ts +0 -178
- package/dist/components/Container/Container.stories.d.ts +0 -33
- package/dist/components/Datagrid/Datagrid.stories.d.ts +0 -332
- package/dist/components/DatePicker/DatePicker.stories.d.ts +0 -55
- package/dist/components/DateTimePicker/DateTimePicker.stories.d.ts +0 -25
- package/dist/components/DefinitionList/DefinitionList.stories.d.ts +0 -32
- package/dist/components/Drawer/Drawer.stories.d.ts +0 -44
- package/dist/components/Dropdown/Dropdown.stories.d.ts +0 -85
- package/dist/components/EmptyState/EmptyState.stories.d.ts +0 -137
- package/dist/components/Fieldset/Fieldset.stories.d.ts +0 -46
- package/dist/components/Flex/Flex.stories.d.ts +0 -46
- package/dist/components/Form/Form.stories.d.ts +0 -28
- package/dist/components/FormGroup/FormGroup.stories.d.ts +0 -4
- package/dist/components/Grid/Grid.stories.d.ts +0 -5
- package/dist/components/Heading/Heading.stories.d.ts +0 -14
- package/dist/components/HideAtBreakpoint/HideAtBreakpoint.stories.d.ts +0 -4
- package/dist/components/Hyperlink/Hyperlink.stories.d.ts +0 -34
- package/dist/components/IconButton/IconButton.stories.d.ts +0 -55
- package/dist/components/IndeterminateCheckbox/IndeterminateCheckbox.stories.d.ts +0 -38
- package/dist/components/Input/Input.stories.d.ts +0 -168
- package/dist/components/InputBase/InputBase.stories.d.ts +0 -10
- package/dist/components/List/List.stories.d.ts +0 -65
- package/dist/components/LoadingIndicator/LoadingIndicator.stories.d.ts +0 -11
- package/dist/components/Modal/Modal.stories.d.ts +0 -30
- package/dist/components/NativeSelect/NativeSelect.stories.d.ts +0 -93
- package/dist/components/NavTabs/NavTabs.stories.d.ts +0 -25
- package/dist/components/Pagination/Pagination.stories.d.ts +0 -88
- package/dist/components/Paragraph/Paragraph.stories.d.ts +0 -6
- package/dist/components/PasswordInput/PasswordInput.stories.d.ts +0 -27
- package/dist/components/Popover/Popover.stories.d.ts +0 -146
- package/dist/components/ProgressBar/ProgressBar.stories.d.ts +0 -30
- package/dist/components/Radio/Radio.stories.d.ts +0 -5
- package/dist/components/Search/Search.stories.d.ts +0 -8
- package/dist/components/Select/Select.stories.d.ts +0 -247
- package/dist/components/Skeleton/Skeleton.stories.d.ts +0 -48
- package/dist/components/SkipLink/SkipLink.stories.d.ts +0 -4
- package/dist/components/Spacer/Spacer.stories.d.ts +0 -14
- package/dist/components/Spinner/Spinner.stories.d.ts +0 -6
- package/dist/components/Stepper/Stepper.stories.d.ts +0 -29
- package/dist/components/Table/Table.stories.d.ts +0 -194
- package/dist/components/Tabs/Tabs.stories.d.ts +0 -80
- package/dist/components/Tag/Tag.stories.d.ts +0 -21
- package/dist/components/Textarea/Textarea.stories.d.ts +0 -15
- package/dist/components/TimePicker/TimePicker.stories.d.ts +0 -21
- package/dist/components/Toast/Toast.stories.d.ts +0 -31
- package/dist/components/Toggle/Toggle.stories.d.ts +0 -5
- package/dist/components/ToggleButton/ToggleButton.stories.d.ts +0 -24
- package/dist/components/ToggleButtonGroup/ToggleButtonGroup.stories.d.ts +0 -33
- package/dist/components/Tooltip/Tooltip.stories.d.ts +0 -53
- package/dist/components/Transition/Transition.stories.d.ts +0 -81
- package/dist/components/TreeView/TreeView.stories.d.ts +0 -280
- package/dist/components/VisuallyHidden/VisuallyHidden.stories.d.ts +0 -4
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "react-magma-dom",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "6.0.0-next.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"keywords": [],
|
|
6
6
|
"homepage": "https://react-magma.cengage.com",
|
|
@@ -25,41 +25,38 @@
|
|
|
25
25
|
"postbuild": "npm run generate-properties",
|
|
26
26
|
"build-watch": "tsdx watch",
|
|
27
27
|
"copy-changelog": "node scripts/copy-changelog.js",
|
|
28
|
-
"generate-properties": "node scripts/generateJSON.
|
|
28
|
+
"generate-properties": "node scripts/generateJSON.js",
|
|
29
29
|
"lint": "eslint ./src",
|
|
30
|
-
"lint:fix": "eslint ./src --fix",
|
|
31
|
-
"lint:check": "eslint ./src --max-warnings=0",
|
|
32
30
|
"prepublishOnly": "npm run copy-changelog",
|
|
33
|
-
"test": "
|
|
34
|
-
"test-watch": "
|
|
35
|
-
"compiler-checks": "tsc --noEmit --project ./tsconfig.json"
|
|
31
|
+
"test": "tsdx test",
|
|
32
|
+
"test-watch": "tsdx test --watch"
|
|
36
33
|
},
|
|
37
34
|
"dependencies": {
|
|
38
35
|
"@emotion/is-prop-valid": "1.4.0",
|
|
39
|
-
"@emotion/react": "11.
|
|
40
|
-
"@emotion/styled": "11.
|
|
36
|
+
"@emotion/react": "^11.13.0",
|
|
37
|
+
"@emotion/styled": "^11.13.0",
|
|
41
38
|
"@emotion/utils": "1.4.2",
|
|
42
|
-
"@floating-ui/react": "0.26.28",
|
|
43
|
-
"@floating-ui/react-dom": "2.1.2",
|
|
44
|
-
"
|
|
45
|
-
"csstype": "3.
|
|
46
|
-
"date-fns": "2.
|
|
47
|
-
"downshift": "5.4.
|
|
48
|
-
"framer-motion": "
|
|
49
|
-
"polished": "3.7.2",
|
|
39
|
+
"@floating-ui/react": "^0.26.28",
|
|
40
|
+
"@floating-ui/react-dom": "^2.1.2",
|
|
41
|
+
"react-virtual": "^2.10.4",
|
|
42
|
+
"csstype": "^3.0.8",
|
|
43
|
+
"date-fns": "^2.16.1",
|
|
44
|
+
"downshift": "^5.4.5",
|
|
45
|
+
"framer-motion": "^4.1.11",
|
|
46
|
+
"polished": "^3.7.2",
|
|
50
47
|
"uuid": "^11.1.1"
|
|
51
48
|
},
|
|
52
49
|
"devDependencies": {
|
|
53
|
-
"mkdirp": "
|
|
54
|
-
"react": "
|
|
55
|
-
"react-dom": "
|
|
50
|
+
"mkdirp": "^1.0.4",
|
|
51
|
+
"react": "^17.0.2",
|
|
52
|
+
"react-dom": "^17.0.2",
|
|
56
53
|
"react-magma-icons": "^3.2.5"
|
|
57
54
|
},
|
|
58
55
|
"peerDependencies": {
|
|
59
|
-
"@emotion/react": "^11.
|
|
60
|
-
"@emotion/styled": "^11.
|
|
61
|
-
"react": "^
|
|
62
|
-
"react-dom": "^
|
|
56
|
+
"@emotion/react": "^11.13.0",
|
|
57
|
+
"@emotion/styled": "^11.13.0",
|
|
58
|
+
"react": "^17.0.2",
|
|
59
|
+
"react-dom": "^17.0.2",
|
|
63
60
|
"react-magma-icons": "^3.2.5"
|
|
64
61
|
}
|
|
65
62
|
}
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: any;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Default: {
|
|
5
|
-
render: any;
|
|
6
|
-
args: {
|
|
7
|
-
isInverse: boolean;
|
|
8
|
-
isFullWidth: boolean;
|
|
9
|
-
disabled: boolean;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export declare const LoadingButton: {
|
|
13
|
-
render: (args: any) => React.JSX.Element;
|
|
14
|
-
args: {
|
|
15
|
-
isInverse: boolean;
|
|
16
|
-
isFullWidth: boolean;
|
|
17
|
-
disabled: boolean;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export declare const AnimatedButtons: {
|
|
21
|
-
render: (args: any) => React.JSX.Element;
|
|
22
|
-
args: {
|
|
23
|
-
isInverse: boolean;
|
|
24
|
-
isFullWidth: boolean;
|
|
25
|
-
disabled: boolean;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
export declare const AllCases: {
|
|
29
|
-
render: (args: any) => React.JSX.Element;
|
|
30
|
-
args: {
|
|
31
|
-
isInverse: boolean;
|
|
32
|
-
isFullWidth: boolean;
|
|
33
|
-
disabled: boolean;
|
|
34
|
-
};
|
|
35
|
-
};
|
|
@@ -1,54 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: any;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Default: {
|
|
5
|
-
render: any;
|
|
6
|
-
args: {
|
|
7
|
-
defaultIndex: number[];
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export declare const NoMulti: {
|
|
11
|
-
render: any;
|
|
12
|
-
args: {
|
|
13
|
-
defaultIndex: number;
|
|
14
|
-
isMulti: boolean;
|
|
15
|
-
};
|
|
16
|
-
};
|
|
17
|
-
export declare const Controlled: {
|
|
18
|
-
render: (args: any) => React.JSX.Element;
|
|
19
|
-
args: {
|
|
20
|
-
isMulti: boolean;
|
|
21
|
-
index: number[];
|
|
22
|
-
};
|
|
23
|
-
};
|
|
24
|
-
export declare const ControlledNoMulti: {
|
|
25
|
-
render: (args: any) => React.JSX.Element;
|
|
26
|
-
args: {
|
|
27
|
-
isMulti: boolean;
|
|
28
|
-
index: number;
|
|
29
|
-
};
|
|
30
|
-
};
|
|
31
|
-
export declare const ExpandCollapseAll: {
|
|
32
|
-
render: (args: any) => React.JSX.Element;
|
|
33
|
-
};
|
|
34
|
-
export declare const Inverse: {
|
|
35
|
-
render: any;
|
|
36
|
-
args: {
|
|
37
|
-
defaultIndex: number[];
|
|
38
|
-
isInverse: boolean;
|
|
39
|
-
};
|
|
40
|
-
decorators: ((Story: any) => React.JSX.Element)[];
|
|
41
|
-
};
|
|
42
|
-
export declare const WithDropdown: {
|
|
43
|
-
render: (args: any) => React.JSX.Element;
|
|
44
|
-
args: {
|
|
45
|
-
isInverse: boolean;
|
|
46
|
-
isMulti: boolean;
|
|
47
|
-
};
|
|
48
|
-
};
|
|
49
|
-
export declare const WithHeadings: {
|
|
50
|
-
render: (args: any) => React.JSX.Element;
|
|
51
|
-
args: {
|
|
52
|
-
defaultIndex: number[];
|
|
53
|
-
};
|
|
54
|
-
};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: any;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Default: {
|
|
5
|
-
render: any;
|
|
6
|
-
args: {
|
|
7
|
-
children: string;
|
|
8
|
-
isCompact: boolean;
|
|
9
|
-
isInverse: boolean;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export declare const Tabs: {
|
|
13
|
-
render: any;
|
|
14
|
-
args: {
|
|
15
|
-
children: any;
|
|
16
|
-
isCompact: boolean;
|
|
17
|
-
isInverse: boolean;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export declare const WithSkipLink: () => React.JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: any;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Default: () => React.JSX.Element;
|
|
5
|
-
export declare const WithIcon: () => React.JSX.Element;
|
|
6
|
-
export declare const LightWeight: () => React.JSX.Element;
|
|
7
|
-
export declare const Inverse: () => React.JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: any;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Default: {
|
|
5
|
-
render: any;
|
|
6
|
-
args: {};
|
|
7
|
-
};
|
|
8
|
-
export declare const Inverse: {
|
|
9
|
-
render: any;
|
|
10
|
-
args: {
|
|
11
|
-
isInverse: boolean;
|
|
12
|
-
};
|
|
13
|
-
decorators: ((Story: any) => React.JSX.Element)[];
|
|
14
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: any;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Default: {
|
|
5
|
-
render: any;
|
|
6
|
-
args: {
|
|
7
|
-
isInverse: boolean;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export declare const Inverse: {
|
|
11
|
-
render: any;
|
|
12
|
-
args: {
|
|
13
|
-
isInverse: boolean;
|
|
14
|
-
};
|
|
15
|
-
decorators: ((Story: any) => React.JSX.Element)[];
|
|
16
|
-
};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: any;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Default: {
|
|
5
|
-
render: any;
|
|
6
|
-
args: {
|
|
7
|
-
isInverse: boolean;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export declare const Inverse: {
|
|
11
|
-
render: any;
|
|
12
|
-
args: {
|
|
13
|
-
isInverse: boolean;
|
|
14
|
-
};
|
|
15
|
-
decorators: ((Story: any) => React.JSX.Element)[];
|
|
16
|
-
};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: any;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Default: {
|
|
5
|
-
render: any;
|
|
6
|
-
args: {
|
|
7
|
-
isInverse: boolean;
|
|
8
|
-
isFullWidth: boolean;
|
|
9
|
-
disabled: boolean;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export declare const Disabled: {
|
|
13
|
-
render: any;
|
|
14
|
-
args: {
|
|
15
|
-
isInverse: boolean;
|
|
16
|
-
isFullWidth: boolean;
|
|
17
|
-
disabled: boolean;
|
|
18
|
-
};
|
|
19
|
-
};
|
|
20
|
-
export declare const Inverse: {
|
|
21
|
-
render: any;
|
|
22
|
-
args: {
|
|
23
|
-
isInverse: boolean;
|
|
24
|
-
isFullWidth: boolean;
|
|
25
|
-
disabled: boolean;
|
|
26
|
-
};
|
|
27
|
-
decorators: ((Story: any) => React.JSX.Element)[];
|
|
28
|
-
};
|
|
29
|
-
export declare const InverseDisabled: {
|
|
30
|
-
render: any;
|
|
31
|
-
args: {
|
|
32
|
-
disabled: boolean;
|
|
33
|
-
isInverse: boolean;
|
|
34
|
-
isFullWidth: boolean;
|
|
35
|
-
};
|
|
36
|
-
decorators: ((Story: any) => React.JSX.Element)[];
|
|
37
|
-
};
|
|
38
|
-
export declare const All: () => React.JSX.Element;
|
|
39
|
-
export declare const LoadingButton: {
|
|
40
|
-
render: (args: any) => React.JSX.Element;
|
|
41
|
-
};
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ButtonGroupOrientation, ButtonGroupAlignment } from '.';
|
|
3
|
-
declare const _default: any;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: {
|
|
6
|
-
render: any;
|
|
7
|
-
args: {
|
|
8
|
-
orientation: ButtonGroupOrientation;
|
|
9
|
-
noSpace: boolean;
|
|
10
|
-
};
|
|
11
|
-
};
|
|
12
|
-
export declare const SmallBreakpoint: {
|
|
13
|
-
render: (args: any) => React.JSX.Element;
|
|
14
|
-
args: {
|
|
15
|
-
orientation: ButtonGroupOrientation;
|
|
16
|
-
alignment: ButtonGroupAlignment;
|
|
17
|
-
};
|
|
18
|
-
};
|
|
19
|
-
export declare const WithDropdowns: {
|
|
20
|
-
render: (args: any) => React.JSX.Element;
|
|
21
|
-
};
|
|
22
|
-
export declare const WithSplitButton: {
|
|
23
|
-
render: (args: any) => React.JSX.Element;
|
|
24
|
-
};
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: any;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Default: {
|
|
5
|
-
render: (args: any) => React.JSX.Element;
|
|
6
|
-
args: {
|
|
7
|
-
isInverse: boolean;
|
|
8
|
-
align: string;
|
|
9
|
-
background: string;
|
|
10
|
-
calloutType: string;
|
|
11
|
-
width: any;
|
|
12
|
-
};
|
|
13
|
-
};
|
|
@@ -1,38 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: any;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Default: {
|
|
5
|
-
render: any;
|
|
6
|
-
args: {
|
|
7
|
-
isInverse: boolean;
|
|
8
|
-
};
|
|
9
|
-
};
|
|
10
|
-
export declare const WithChildren: {
|
|
11
|
-
render: (args: any) => React.JSX.Element;
|
|
12
|
-
args: {
|
|
13
|
-
isInverse: boolean;
|
|
14
|
-
};
|
|
15
|
-
};
|
|
16
|
-
export declare const TextArea: {
|
|
17
|
-
render: (args: any) => React.JSX.Element;
|
|
18
|
-
args: {
|
|
19
|
-
isInverse: boolean;
|
|
20
|
-
};
|
|
21
|
-
parameters: {
|
|
22
|
-
controls: {
|
|
23
|
-
exclude: string[];
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
export declare const MaxCountAndMaxLength: {
|
|
28
|
-
render: (args: any) => React.JSX.Element;
|
|
29
|
-
args: {
|
|
30
|
-
maxCount: number;
|
|
31
|
-
maxLength: number;
|
|
32
|
-
};
|
|
33
|
-
parameters: {
|
|
34
|
-
controls: {
|
|
35
|
-
exclude: string[];
|
|
36
|
-
};
|
|
37
|
-
};
|
|
38
|
-
};
|
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: any;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Default: () => React.JSX.Element;
|
|
5
|
-
export declare const Inverse: () => React.JSX.Element;
|
|
6
|
-
/**
|
|
7
|
-
* Performance reproduction story.
|
|
8
|
-
*
|
|
9
|
-
* Renders N controlled Checkbox components and lets you flip their `checked`
|
|
10
|
-
* prop in bulk via the buttons. Measures time from setState to the next paint
|
|
11
|
-
* (via two requestAnimationFrame ticks) so we can see how heavy a mass update
|
|
12
|
-
* is for a large list.
|
|
13
|
-
*/
|
|
14
|
-
export declare const PerformanceLargeList: {
|
|
15
|
-
(args: {
|
|
16
|
-
count: number;
|
|
17
|
-
}): React.JSX.Element;
|
|
18
|
-
argTypes: {
|
|
19
|
-
count: {
|
|
20
|
-
control: {
|
|
21
|
-
type: string;
|
|
22
|
-
min: number;
|
|
23
|
-
max: number;
|
|
24
|
-
step: number;
|
|
25
|
-
};
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
args: {
|
|
29
|
-
count: number;
|
|
30
|
-
};
|
|
31
|
-
};
|
|
32
|
-
export declare const Lots: {
|
|
33
|
-
(args: {
|
|
34
|
-
numberRows: number;
|
|
35
|
-
}): React.JSX.Element;
|
|
36
|
-
args: {
|
|
37
|
-
numberRows: number;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { LabelPosition } from '../Label';
|
|
3
|
-
import { SelectOptions } from '../Select';
|
|
4
|
-
import { MultiComboboxProps } from '.';
|
|
5
|
-
declare const _default: any;
|
|
6
|
-
export default _default;
|
|
7
|
-
export declare const Default: {
|
|
8
|
-
args: {
|
|
9
|
-
labelText: string;
|
|
10
|
-
defaultItems: ({
|
|
11
|
-
label: string;
|
|
12
|
-
value: string;
|
|
13
|
-
disabled?: undefined;
|
|
14
|
-
} | {
|
|
15
|
-
label: string;
|
|
16
|
-
value: string;
|
|
17
|
-
disabled: string;
|
|
18
|
-
})[];
|
|
19
|
-
disableCreateItem: boolean;
|
|
20
|
-
errorMessage: string;
|
|
21
|
-
helperMessage: string;
|
|
22
|
-
placeholder: string;
|
|
23
|
-
isClearable: boolean;
|
|
24
|
-
isMulti: boolean;
|
|
25
|
-
isLoading: boolean;
|
|
26
|
-
disabled: boolean;
|
|
27
|
-
};
|
|
28
|
-
};
|
|
29
|
-
export declare const Multi: {
|
|
30
|
-
render: (props: MultiComboboxProps<SelectOptions>) => React.JSX.Element;
|
|
31
|
-
args: {
|
|
32
|
-
labelText: string;
|
|
33
|
-
isMulti: boolean;
|
|
34
|
-
isClearable: boolean;
|
|
35
|
-
errorMessage: string;
|
|
36
|
-
hasPersistentMenu: boolean;
|
|
37
|
-
placeholder: string;
|
|
38
|
-
};
|
|
39
|
-
};
|
|
40
|
-
export declare const ErrorMessage: {
|
|
41
|
-
args: {
|
|
42
|
-
errorMessage: string;
|
|
43
|
-
labelText: string;
|
|
44
|
-
defaultItems: ({
|
|
45
|
-
label: string;
|
|
46
|
-
value: string;
|
|
47
|
-
disabled?: undefined;
|
|
48
|
-
} | {
|
|
49
|
-
label: string;
|
|
50
|
-
value: string;
|
|
51
|
-
disabled: string;
|
|
52
|
-
})[];
|
|
53
|
-
disableCreateItem: boolean;
|
|
54
|
-
helperMessage: string;
|
|
55
|
-
placeholder: string;
|
|
56
|
-
isClearable: boolean;
|
|
57
|
-
isMulti: boolean;
|
|
58
|
-
isLoading: boolean;
|
|
59
|
-
disabled: boolean;
|
|
60
|
-
};
|
|
61
|
-
};
|
|
62
|
-
export declare const HelperMessage: {
|
|
63
|
-
args: {
|
|
64
|
-
helperMessage: string;
|
|
65
|
-
labelText: string;
|
|
66
|
-
defaultItems: ({
|
|
67
|
-
label: string;
|
|
68
|
-
value: string;
|
|
69
|
-
disabled?: undefined;
|
|
70
|
-
} | {
|
|
71
|
-
label: string;
|
|
72
|
-
value: string;
|
|
73
|
-
disabled: string;
|
|
74
|
-
})[];
|
|
75
|
-
disableCreateItem: boolean;
|
|
76
|
-
errorMessage: string;
|
|
77
|
-
placeholder: string;
|
|
78
|
-
isClearable: boolean;
|
|
79
|
-
isMulti: boolean;
|
|
80
|
-
isLoading: boolean;
|
|
81
|
-
disabled: boolean;
|
|
82
|
-
};
|
|
83
|
-
};
|
|
84
|
-
export declare const Inverse: {
|
|
85
|
-
args: {
|
|
86
|
-
isInverse: boolean;
|
|
87
|
-
disabled: boolean;
|
|
88
|
-
labelText: string;
|
|
89
|
-
defaultItems: ({
|
|
90
|
-
label: string;
|
|
91
|
-
value: string;
|
|
92
|
-
disabled?: undefined;
|
|
93
|
-
} | {
|
|
94
|
-
label: string;
|
|
95
|
-
value: string;
|
|
96
|
-
disabled: string;
|
|
97
|
-
})[];
|
|
98
|
-
disableCreateItem: boolean;
|
|
99
|
-
errorMessage: string;
|
|
100
|
-
helperMessage: string;
|
|
101
|
-
placeholder: string;
|
|
102
|
-
isClearable: boolean;
|
|
103
|
-
isMulti: boolean;
|
|
104
|
-
isLoading: boolean;
|
|
105
|
-
};
|
|
106
|
-
decorators: ((Story: any) => React.JSX.Element)[];
|
|
107
|
-
};
|
|
108
|
-
export declare const LeftAlignedLabel: {
|
|
109
|
-
args: {
|
|
110
|
-
labelPosition: LabelPosition;
|
|
111
|
-
errorMessage: string;
|
|
112
|
-
labelText: string;
|
|
113
|
-
defaultItems: ({
|
|
114
|
-
label: string;
|
|
115
|
-
value: string;
|
|
116
|
-
disabled?: undefined;
|
|
117
|
-
} | {
|
|
118
|
-
label: string;
|
|
119
|
-
value: string;
|
|
120
|
-
disabled: string;
|
|
121
|
-
})[];
|
|
122
|
-
disableCreateItem: boolean;
|
|
123
|
-
helperMessage: string;
|
|
124
|
-
placeholder: string;
|
|
125
|
-
isClearable: boolean;
|
|
126
|
-
isMulti: boolean;
|
|
127
|
-
isLoading: boolean;
|
|
128
|
-
disabled: boolean;
|
|
129
|
-
};
|
|
130
|
-
};
|
|
131
|
-
export declare const LeftAlignedLabelWithContainer: {
|
|
132
|
-
args: {
|
|
133
|
-
labelPosition: LabelPosition;
|
|
134
|
-
errorMessage: string;
|
|
135
|
-
labelText: string;
|
|
136
|
-
defaultItems: ({
|
|
137
|
-
label: string;
|
|
138
|
-
value: string;
|
|
139
|
-
disabled?: undefined;
|
|
140
|
-
} | {
|
|
141
|
-
label: string;
|
|
142
|
-
value: string;
|
|
143
|
-
disabled: string;
|
|
144
|
-
})[];
|
|
145
|
-
disableCreateItem: boolean;
|
|
146
|
-
helperMessage: string;
|
|
147
|
-
placeholder: string;
|
|
148
|
-
isClearable: boolean;
|
|
149
|
-
isMulti: boolean;
|
|
150
|
-
isLoading: boolean;
|
|
151
|
-
disabled: boolean;
|
|
152
|
-
};
|
|
153
|
-
decorators: ((Story: any) => React.JSX.Element)[];
|
|
154
|
-
};
|
|
155
|
-
export declare const Typeahead: {
|
|
156
|
-
render: (args: any) => React.JSX.Element;
|
|
157
|
-
args: {
|
|
158
|
-
isTypeahead: boolean;
|
|
159
|
-
isClearable: boolean;
|
|
160
|
-
isMulti: boolean;
|
|
161
|
-
disableCreateItem: boolean;
|
|
162
|
-
largeDataSet: boolean;
|
|
163
|
-
};
|
|
164
|
-
};
|
|
165
|
-
export declare const FullPageExample: {
|
|
166
|
-
render: (args: any) => React.JSX.Element;
|
|
167
|
-
parameters: {
|
|
168
|
-
controls: {
|
|
169
|
-
exclude: string[];
|
|
170
|
-
};
|
|
171
|
-
};
|
|
172
|
-
};
|
|
173
|
-
export declare const ControlledSelectedItem: {
|
|
174
|
-
render: () => React.JSX.Element;
|
|
175
|
-
};
|
|
176
|
-
export declare const ControlledItems: {
|
|
177
|
-
render: () => React.JSX.Element;
|
|
178
|
-
};
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
declare const _default: any;
|
|
3
|
-
export default _default;
|
|
4
|
-
export declare const Default: {
|
|
5
|
-
render: any;
|
|
6
|
-
args: {
|
|
7
|
-
children: React.JSX.Element;
|
|
8
|
-
isInverse: boolean;
|
|
9
|
-
};
|
|
10
|
-
};
|
|
11
|
-
export declare const Inverse: {
|
|
12
|
-
render: any;
|
|
13
|
-
args: {
|
|
14
|
-
isInverse: boolean;
|
|
15
|
-
children: React.JSX.Element;
|
|
16
|
-
};
|
|
17
|
-
};
|
|
18
|
-
export declare const MaxWidth: {
|
|
19
|
-
render: any;
|
|
20
|
-
args: {
|
|
21
|
-
maxWidth: string;
|
|
22
|
-
children: React.JSX.Element;
|
|
23
|
-
isInverse: boolean;
|
|
24
|
-
};
|
|
25
|
-
};
|
|
26
|
-
export declare const Gutters: {
|
|
27
|
-
render: any;
|
|
28
|
-
args: {
|
|
29
|
-
gutterWidth: number;
|
|
30
|
-
children: React.JSX.Element;
|
|
31
|
-
isInverse: boolean;
|
|
32
|
-
};
|
|
33
|
-
};
|