@pingux/astro 2.33.0-alpha.11 → 2.33.0-alpha.2
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/cjs/components/AccordionGridGroup/AccordionGridGroup.test.js +9 -8
- package/lib/cjs/components/AccordionGroup/AccordionGroup.test.js +11 -8
- package/lib/cjs/components/ArrayField/ArrayField.js +3 -5
- package/lib/cjs/components/ArrayField/ArrayField.test.js +4 -13
- package/lib/cjs/components/Avatar/Avatar.test.js +4 -7
- package/lib/cjs/components/Badge/Badge.test.js +3 -7
- package/lib/cjs/components/Box/Box.test.js +4 -7
- package/lib/cjs/components/Bracket/Bracket.js +1 -3
- package/lib/cjs/components/Bracket/Bracket.test.js +3 -7
- package/lib/cjs/components/Breadcrumbs/Breadcrumbs.test.js +3 -7
- package/lib/cjs/components/ButtonBar/ButtonBar.js +3 -9
- package/lib/cjs/components/ButtonBar/ButtonBar.stories.js +5 -61
- package/lib/cjs/components/ButtonBar/ButtonBar.test.js +3 -13
- package/lib/cjs/components/Callout/Callout.js +3 -8
- package/lib/cjs/components/Callout/Callout.test.js +0 -8
- package/lib/cjs/components/Card/Card.test.js +4 -7
- package/lib/cjs/components/Checkbox/Checkbox.test.js +4 -7
- package/lib/cjs/components/CodeView/CodeView.js +0 -1
- package/lib/cjs/components/CodeView/CodeView.test.js +3 -7
- package/lib/cjs/components/CollapsiblePanel/CollapsiblePanel.test.js +10 -5
- package/lib/cjs/components/CollapsiblePanelContainer/CollapsiblePanelBadge.js +3 -9
- package/lib/cjs/components/CollapsiblePanelContainer/CollapsiblePanelBadge.test.js +3 -7
- package/lib/cjs/components/CollapsiblePanelContainer/CollapsiblePanelContainer.test.js +3 -7
- package/lib/cjs/components/CollapsiblePanelItem/CollapsiblePanelItem.test.js +3 -7
- package/lib/cjs/components/ColorField/ColorField.test.js +3 -7
- package/lib/cjs/components/ComboBoxField/ComboBoxField.test.js +21 -11
- package/lib/cjs/components/CopyText/CopyText.test.js +5 -15
- package/lib/cjs/components/DataTable/DataTableBadge.test.js +0 -8
- package/lib/cjs/components/DataTable/DataTableMenu.test.js +0 -8
- package/lib/cjs/components/DataTable/DataTableMultiLine.test.js +5 -16
- package/lib/cjs/components/DatePicker/DatePicker.test.js +20 -11
- package/lib/cjs/components/EditButton/EditButton.test.js +2 -8
- package/lib/cjs/components/FieldHelperText/FieldHelperText.test.js +3 -7
- package/lib/cjs/components/FileInputField/FileInputField.test.js +2 -8
- package/lib/cjs/components/HelpHint/HelpHint.test.js +3 -7
- package/lib/cjs/components/IconBadge/IconBadge.js +3 -8
- package/lib/cjs/components/IconBadge/IconBadge.test.js +3 -9
- package/lib/cjs/components/IconButton/IconButton.test.js +3 -7
- package/lib/cjs/components/IconButtonToggle/IconButtonToggle.js +6 -11
- package/lib/cjs/components/IconButtonToggle/IconButtonToggle.test.js +3 -7
- package/lib/cjs/components/ImageUploadField/ImageUploadField.test.js +3 -7
- package/lib/cjs/components/Input/Input.test.js +3 -7
- package/lib/cjs/components/Link/Link.test.js +3 -7
- package/lib/cjs/components/LinkSelectField/LinkSelectField.test.js +31 -12
- package/lib/cjs/components/ListItem/ListItem.test.js +8 -5
- package/lib/cjs/components/ListView/ListView.test.js +0 -19
- package/lib/cjs/components/ListViewItem/ListViewItem.test.js +3 -7
- package/lib/cjs/components/ListViewItem/controls/ListViewItemEditButton.js +4 -11
- package/lib/cjs/components/ListViewItem/controls/ListViewItemEditButton.test.js +3 -7
- package/lib/cjs/components/ListViewItem/controls/ListViewItemMenu.js +4 -10
- package/lib/cjs/components/ListViewItem/controls/ListViewItemMenu.test.js +4 -7
- package/lib/cjs/components/ListViewItem/controls/ListViewItemSwitchField.js +3 -9
- package/lib/cjs/components/ListViewItem/controls/ListViewItemSwitchField.test.js +3 -7
- package/lib/cjs/components/ListViewItem/controls/chart/ListViewItemChart.js +3 -4
- package/lib/cjs/components/ListViewItem/controls/chart/ListViewItemChart.test.js +3 -7
- package/lib/cjs/components/Loader/Loader.test.js +3 -7
- package/lib/cjs/components/Menu/Menu.test.js +3 -11
- package/lib/cjs/components/MenuItem/MenuItem.test.js +3 -15
- package/lib/cjs/components/Messages/Messages.test.js +3 -9
- package/lib/cjs/components/Modal/tests/Modal.unit.test.js +3 -7
- package/lib/cjs/components/MultivaluesField/MultivaluesField.test.js +20 -14
- package/lib/cjs/components/NavBar/NavBar.js +2 -3
- package/lib/cjs/components/NavBar/NavBar.test.js +2 -10
- package/lib/cjs/components/NumberField/NumberField.test.js +8 -5
- package/lib/cjs/components/OverlayPanel/OverlayPanel.test.js +3 -7
- package/lib/cjs/components/PageHeader/PageHeader.test.js +2 -11
- package/lib/cjs/components/PanelHeader/controls/PanelHeaderCloseButton.js +3 -9
- package/lib/cjs/components/PanelHeader/controls/PanelHeaderCloseButton.test.js +3 -7
- package/lib/cjs/components/PanelHeader/controls/PanelHeaderMenu.js +4 -12
- package/lib/cjs/components/PanelHeader/controls/PanelHeaderMenu.test.js +3 -7
- package/lib/cjs/components/PanelHeader/controls/PanelHeaderSwitchField.js +4 -12
- package/lib/cjs/components/PanelHeader/controls/PanelHeaderSwitchField.test.js +3 -7
- package/lib/cjs/components/PasswordField/PasswordField.test.js +3 -7
- package/lib/cjs/components/RadioField/RadioField.test.js +3 -9
- package/lib/cjs/components/RadioGroupField/RadioGroupField.test.js +3 -10
- package/lib/cjs/components/RequirementsList/RequirementsList.test.js +3 -7
- package/lib/cjs/components/RockerButtonGroup/RockerButtonGroup.test.js +3 -11
- package/lib/cjs/components/ScrollBox/ScrollBox.test.js +0 -8
- package/lib/cjs/components/SearchField/SearchField.test.js +3 -7
- package/lib/cjs/components/SelectField/SelectField.test.js +3 -11
- package/lib/cjs/components/SelectFieldBase/SelectFieldBase.test.js +30 -14
- package/lib/cjs/components/Separator/Separator.test.js +3 -7
- package/lib/cjs/components/Stepper/Stepper.test.js +14 -12
- package/lib/cjs/components/SwitchField/SwitchField.test.js +3 -7
- package/lib/cjs/components/Table/Table.js +3 -9
- package/lib/cjs/components/Table/Table.test.js +3 -26
- package/lib/cjs/components/TableBody/TableBody.js +3 -9
- package/lib/cjs/components/TableCaption/TableCaption.js +3 -9
- package/lib/cjs/components/TableCell/TableCell.d.ts +2 -2
- package/lib/cjs/components/TableCell/TableCell.js +3 -9
- package/lib/cjs/components/TableCell/TableCell.test.js +3 -7
- package/lib/cjs/components/TableHead/TableHead.js +3 -9
- package/lib/cjs/components/TableRow/TableRow.js +3 -9
- package/lib/cjs/components/Tabs/Tabs.stories.js +2 -2
- package/lib/cjs/components/Tabs/Tabs.style.js +1 -0
- package/lib/cjs/components/Tabs/Tabs.test.js +3 -10
- package/lib/cjs/components/Text/Text.test.js +3 -7
- package/lib/cjs/components/TextArea/TextArea.test.js +3 -8
- package/lib/cjs/components/TextAreaField/TextAreaField.test.js +3 -7
- package/lib/cjs/components/TextField/TextField.test.js +3 -7
- package/lib/cjs/components/TimeZonePicker/TimeZonePicker.test.js +0 -8
- package/lib/cjs/components/TooltipTrigger/TooltipTrigger.test.js +3 -7
- package/lib/cjs/hooks/useComponentToggle/useComponentToggle.js +3 -1
- package/lib/cjs/hooks/useField/useField.d.ts +35 -33
- package/lib/cjs/hooks/useField/useField.js +1 -1
- package/lib/cjs/hooks/useProgressiveState/useProgressiveState.js +6 -3
- package/lib/cjs/hooks/useProgressiveState/useProgressiveState.test.js +16 -7
- package/lib/cjs/hooks/usePropWarning/usePropWarning.js +8 -0
- package/lib/cjs/hooks/usePropWarning/usePropWarning.test.js +9 -13
- package/lib/cjs/hooks/useSelectField/useSelectField.js +10 -10
- package/lib/cjs/types/item.d.ts +7 -4
- package/lib/cjs/types/popoverContainer.d.ts +0 -1
- package/lib/cjs/types/shared/style.d.ts +0 -6
- package/lib/cjs/utils/designUtils/figmaLinks.js +2 -4
- package/lib/cjs/utils/testUtils/universalComponentTest.d.ts +2 -1
- package/lib/cjs/utils/testUtils/universalComponentTest.js +4 -6
- package/lib/components/AccordionGridGroup/AccordionGridGroup.test.js +9 -8
- package/lib/components/AccordionGroup/AccordionGroup.test.js +11 -8
- package/lib/components/ArrayField/ArrayField.js +4 -6
- package/lib/components/ArrayField/ArrayField.test.js +4 -13
- package/lib/components/Avatar/Avatar.test.js +4 -7
- package/lib/components/Badge/Badge.test.js +3 -7
- package/lib/components/Box/Box.test.js +4 -7
- package/lib/components/Bracket/Bracket.js +1 -3
- package/lib/components/Bracket/Bracket.test.js +3 -7
- package/lib/components/Breadcrumbs/Breadcrumbs.test.js +3 -7
- package/lib/components/ButtonBar/ButtonBar.js +3 -4
- package/lib/components/ButtonBar/ButtonBar.stories.js +3 -57
- package/lib/components/ButtonBar/ButtonBar.test.js +3 -13
- package/lib/components/Callout/Callout.js +3 -4
- package/lib/components/Callout/Callout.test.js +0 -8
- package/lib/components/Card/Card.test.js +4 -7
- package/lib/components/Checkbox/Checkbox.test.js +4 -7
- package/lib/components/CodeView/CodeView.js +0 -1
- package/lib/components/CodeView/CodeView.test.js +3 -7
- package/lib/components/CollapsiblePanel/CollapsiblePanel.test.js +10 -5
- package/lib/components/CollapsiblePanelContainer/CollapsiblePanelBadge.js +3 -4
- package/lib/components/CollapsiblePanelContainer/CollapsiblePanelBadge.test.js +3 -7
- package/lib/components/CollapsiblePanelContainer/CollapsiblePanelContainer.test.js +3 -7
- package/lib/components/CollapsiblePanelItem/CollapsiblePanelItem.test.js +3 -7
- package/lib/components/ColorField/ColorField.test.js +3 -7
- package/lib/components/ComboBoxField/ComboBoxField.test.js +21 -11
- package/lib/components/CopyText/CopyText.test.js +5 -15
- package/lib/components/DataTable/DataTableBadge.test.js +0 -8
- package/lib/components/DataTable/DataTableMenu.test.js +0 -8
- package/lib/components/DataTable/DataTableMultiLine.test.js +5 -16
- package/lib/components/DatePicker/DatePicker.test.js +20 -11
- package/lib/components/EditButton/EditButton.test.js +2 -8
- package/lib/components/FieldHelperText/FieldHelperText.test.js +3 -7
- package/lib/components/FileInputField/FileInputField.test.js +2 -8
- package/lib/components/HelpHint/HelpHint.test.js +3 -7
- package/lib/components/IconBadge/IconBadge.js +3 -4
- package/lib/components/IconBadge/IconBadge.test.js +3 -9
- package/lib/components/IconButton/IconButton.test.js +3 -7
- package/lib/components/IconButtonToggle/IconButtonToggle.js +6 -6
- package/lib/components/IconButtonToggle/IconButtonToggle.test.js +3 -7
- package/lib/components/ImageUploadField/ImageUploadField.test.js +3 -7
- package/lib/components/Input/Input.test.js +3 -7
- package/lib/components/Link/Link.test.js +3 -7
- package/lib/components/LinkSelectField/LinkSelectField.test.js +31 -12
- package/lib/components/ListItem/ListItem.test.js +8 -5
- package/lib/components/ListView/ListView.test.js +0 -19
- package/lib/components/ListViewItem/ListViewItem.test.js +3 -7
- package/lib/components/ListViewItem/controls/ListViewItemEditButton.js +4 -6
- package/lib/components/ListViewItem/controls/ListViewItemEditButton.test.js +3 -7
- package/lib/components/ListViewItem/controls/ListViewItemMenu.js +4 -5
- package/lib/components/ListViewItem/controls/ListViewItemMenu.test.js +4 -7
- package/lib/components/ListViewItem/controls/ListViewItemSwitchField.js +3 -4
- package/lib/components/ListViewItem/controls/ListViewItemSwitchField.test.js +3 -7
- package/lib/components/ListViewItem/controls/chart/ListViewItemChart.js +4 -5
- package/lib/components/ListViewItem/controls/chart/ListViewItemChart.test.js +3 -7
- package/lib/components/Loader/Loader.test.js +3 -7
- package/lib/components/Menu/Menu.test.js +3 -11
- package/lib/components/MenuItem/MenuItem.test.js +3 -15
- package/lib/components/Messages/Messages.test.js +3 -9
- package/lib/components/Modal/tests/Modal.unit.test.js +3 -7
- package/lib/components/MultivaluesField/MultivaluesField.test.js +20 -14
- package/lib/components/NavBar/NavBar.js +3 -4
- package/lib/components/NavBar/NavBar.test.js +2 -10
- package/lib/components/NumberField/NumberField.test.js +8 -5
- package/lib/components/OverlayPanel/OverlayPanel.test.js +3 -7
- package/lib/components/PageHeader/PageHeader.test.js +2 -11
- package/lib/components/PanelHeader/controls/PanelHeaderCloseButton.js +3 -4
- package/lib/components/PanelHeader/controls/PanelHeaderCloseButton.test.js +3 -7
- package/lib/components/PanelHeader/controls/PanelHeaderMenu.js +4 -7
- package/lib/components/PanelHeader/controls/PanelHeaderMenu.test.js +3 -7
- package/lib/components/PanelHeader/controls/PanelHeaderSwitchField.js +4 -7
- package/lib/components/PanelHeader/controls/PanelHeaderSwitchField.test.js +3 -7
- package/lib/components/PasswordField/PasswordField.test.js +3 -7
- package/lib/components/RadioField/RadioField.test.js +3 -9
- package/lib/components/RadioGroupField/RadioGroupField.test.js +3 -10
- package/lib/components/RequirementsList/RequirementsList.test.js +3 -7
- package/lib/components/RockerButtonGroup/RockerButtonGroup.test.js +3 -11
- package/lib/components/ScrollBox/ScrollBox.test.js +0 -8
- package/lib/components/SearchField/SearchField.test.js +3 -7
- package/lib/components/SelectField/SelectField.test.js +3 -11
- package/lib/components/SelectFieldBase/SelectFieldBase.test.js +31 -13
- package/lib/components/Separator/Separator.test.js +3 -7
- package/lib/components/Stepper/Stepper.test.js +14 -12
- package/lib/components/SwitchField/SwitchField.test.js +3 -7
- package/lib/components/Table/Table.js +3 -4
- package/lib/components/Table/Table.test.js +3 -26
- package/lib/components/TableBody/TableBody.js +3 -4
- package/lib/components/TableCaption/TableCaption.js +3 -4
- package/lib/components/TableCell/TableCell.js +3 -4
- package/lib/components/TableCell/TableCell.test.js +3 -7
- package/lib/components/TableHead/TableHead.js +3 -4
- package/lib/components/TableRow/TableRow.js +3 -4
- package/lib/components/Tabs/Tabs.stories.js +3 -3
- package/lib/components/Tabs/Tabs.style.js +1 -0
- package/lib/components/Tabs/Tabs.test.js +3 -10
- package/lib/components/Text/Text.test.js +3 -7
- package/lib/components/TextArea/TextArea.test.js +3 -8
- package/lib/components/TextAreaField/TextAreaField.test.js +3 -7
- package/lib/components/TextField/TextField.test.js +3 -7
- package/lib/components/TimeZonePicker/TimeZonePicker.test.js +0 -8
- package/lib/components/TooltipTrigger/TooltipTrigger.test.js +3 -7
- package/lib/hooks/useComponentToggle/useComponentToggle.js +3 -1
- package/lib/hooks/useField/useField.js +0 -2
- package/lib/hooks/useProgressiveState/useProgressiveState.js +7 -3
- package/lib/hooks/useProgressiveState/useProgressiveState.test.js +16 -7
- package/lib/hooks/usePropWarning/usePropWarning.js +8 -0
- package/lib/hooks/usePropWarning/usePropWarning.test.js +9 -13
- package/lib/hooks/useSelectField/useSelectField.js +9 -11
- package/lib/utils/designUtils/figmaLinks.js +2 -4
- package/lib/utils/testUtils/universalComponentTest.js +4 -6
- package/package.json +1 -1
- package/lib/cjs/components/TableBody/TableBody.test.d.ts +0 -1
- package/lib/cjs/components/TableBody/TableBody.test.js +0 -13
- package/lib/cjs/components/TableCaption/TableCaption.test.js +0 -13
- package/lib/cjs/components/TableHead/TableHead.test.js +0 -13
- package/lib/cjs/components/TableRow/TableRow.test.js +0 -13
- package/lib/cjs/hooks/useProgressiveState/index.d.ts +0 -1
- package/lib/cjs/hooks/useProgressiveState/useProgressiveState.d.ts +0 -11
- package/lib/cjs/hooks/useProgressiveState/useProgressiveState.test.d.ts +0 -1
- package/lib/cjs/hooks/usePropWarning/index.d.ts +0 -1
- package/lib/cjs/hooks/usePropWarning/usePropWarning.d.ts +0 -13
- package/lib/cjs/hooks/usePropWarning/usePropWarning.test.d.ts +0 -1
- package/lib/cjs/hooks/useRockerButton/index.d.ts +0 -1
- package/lib/cjs/hooks/useRockerButton/useRockerButton.d.ts +0 -241
- package/lib/cjs/hooks/useSelectField/index.d.ts +0 -1
- package/lib/cjs/hooks/useSelectField/useSelectField.d.ts +0 -55
- package/lib/components/TableBody/TableBody.test.js +0 -11
- package/lib/components/TableCaption/TableCaption.test.js +0 -11
- package/lib/components/TableHead/TableHead.test.js +0 -11
- package/lib/components/TableRow/TableRow.test.js +0 -11
@@ -1,241 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { MultipleSelectionManager } from 'react-stately';
|
3
|
-
import { FocusableElement } from '../../types';
|
4
|
-
interface RockerButtonProps {
|
5
|
-
item: {
|
6
|
-
key: string;
|
7
|
-
};
|
8
|
-
isDisabled: boolean;
|
9
|
-
isSelected: boolean;
|
10
|
-
}
|
11
|
-
declare const useRockerButton: (props: RockerButtonProps, state: {
|
12
|
-
selectionManager: MultipleSelectionManager;
|
13
|
-
}, ref: React.RefObject<FocusableElement>) => {
|
14
|
-
rockerButtonProps: {
|
15
|
-
id: string;
|
16
|
-
'aria-pressed': boolean;
|
17
|
-
'aria-disabled': true | undefined;
|
18
|
-
role?: React.AriaRole | undefined;
|
19
|
-
tabIndex?: number | undefined;
|
20
|
-
style?: React.CSSProperties | undefined;
|
21
|
-
className?: string | undefined;
|
22
|
-
'aria-activedescendant'?: string | undefined;
|
23
|
-
'aria-atomic'?: (boolean | "false" | "true") | undefined;
|
24
|
-
'aria-autocomplete'?: "list" | "none" | "both" | "inline" | undefined;
|
25
|
-
'aria-braillelabel'?: string | undefined;
|
26
|
-
'aria-brailleroledescription'?: string | undefined;
|
27
|
-
'aria-busy'?: (boolean | "false" | "true") | undefined;
|
28
|
-
'aria-checked'?: boolean | "mixed" | "false" | "true" | undefined;
|
29
|
-
'aria-colcount'?: number | undefined;
|
30
|
-
'aria-colindex'?: number | undefined;
|
31
|
-
'aria-colindextext'?: string | undefined;
|
32
|
-
'aria-colspan'?: number | undefined;
|
33
|
-
'aria-controls'?: string | undefined;
|
34
|
-
'aria-current'?: boolean | "time" | "page" | "false" | "true" | "step" | "location" | "date" | undefined;
|
35
|
-
'aria-describedby'?: string | undefined;
|
36
|
-
'aria-description'?: string | undefined;
|
37
|
-
'aria-details'?: string | undefined;
|
38
|
-
'aria-dropeffect'?: "link" | "copy" | "none" | "move" | "execute" | "popup" | undefined;
|
39
|
-
'aria-errormessage'?: string | undefined;
|
40
|
-
'aria-expanded'?: (boolean | "false" | "true") | undefined;
|
41
|
-
'aria-flowto'?: string | undefined;
|
42
|
-
'aria-grabbed'?: (boolean | "false" | "true") | undefined;
|
43
|
-
'aria-haspopup'?: boolean | "dialog" | "menu" | "grid" | "listbox" | "tree" | "false" | "true" | undefined;
|
44
|
-
'aria-hidden'?: (boolean | "false" | "true") | undefined;
|
45
|
-
'aria-invalid'?: boolean | "false" | "true" | "grammar" | "spelling" | undefined;
|
46
|
-
'aria-keyshortcuts'?: string | undefined;
|
47
|
-
'aria-label'?: string | undefined;
|
48
|
-
'aria-labelledby'?: string | undefined;
|
49
|
-
'aria-level'?: number | undefined;
|
50
|
-
'aria-live'?: "off" | "assertive" | "polite" | undefined;
|
51
|
-
'aria-modal'?: (boolean | "false" | "true") | undefined;
|
52
|
-
'aria-multiline'?: (boolean | "false" | "true") | undefined;
|
53
|
-
'aria-multiselectable'?: (boolean | "false" | "true") | undefined;
|
54
|
-
'aria-orientation'?: "horizontal" | "vertical" | undefined;
|
55
|
-
'aria-owns'?: string | undefined;
|
56
|
-
'aria-placeholder'?: string | undefined;
|
57
|
-
'aria-posinset'?: number | undefined;
|
58
|
-
'aria-readonly'?: (boolean | "false" | "true") | undefined;
|
59
|
-
'aria-relevant'?: "all" | "text" | "additions" | "additions removals" | "additions text" | "removals" | "removals additions" | "removals text" | "text additions" | "text removals" | undefined;
|
60
|
-
'aria-required'?: (boolean | "false" | "true") | undefined;
|
61
|
-
'aria-roledescription'?: string | undefined;
|
62
|
-
'aria-rowcount'?: number | undefined;
|
63
|
-
'aria-rowindex'?: number | undefined;
|
64
|
-
'aria-rowindextext'?: string | undefined;
|
65
|
-
'aria-rowspan'?: number | undefined;
|
66
|
-
'aria-selected'?: (boolean | "false" | "true") | undefined;
|
67
|
-
'aria-setsize'?: number | undefined;
|
68
|
-
'aria-sort'?: "none" | "ascending" | "descending" | "other" | undefined;
|
69
|
-
'aria-valuemax'?: number | undefined;
|
70
|
-
'aria-valuemin'?: number | undefined;
|
71
|
-
'aria-valuenow'?: number | undefined;
|
72
|
-
'aria-valuetext'?: string | undefined;
|
73
|
-
children?: React.ReactNode;
|
74
|
-
dangerouslySetInnerHTML?: {
|
75
|
-
__html: string | TrustedHTML;
|
76
|
-
} | undefined;
|
77
|
-
onCopy?: React.ClipboardEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
78
|
-
onCopyCapture?: React.ClipboardEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
79
|
-
onCut?: React.ClipboardEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
80
|
-
onCutCapture?: React.ClipboardEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
81
|
-
onPaste?: React.ClipboardEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
82
|
-
onPasteCapture?: React.ClipboardEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
83
|
-
onCompositionEnd?: React.CompositionEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
84
|
-
onCompositionEndCapture?: React.CompositionEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
85
|
-
onCompositionStart?: React.CompositionEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
86
|
-
onCompositionStartCapture?: React.CompositionEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
87
|
-
onCompositionUpdate?: React.CompositionEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
88
|
-
onCompositionUpdateCapture?: React.CompositionEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
89
|
-
onFocus?: React.FocusEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
90
|
-
onFocusCapture?: React.FocusEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
91
|
-
onBlur?: React.FocusEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
92
|
-
onBlurCapture?: React.FocusEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
93
|
-
onChange?: React.FormEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
94
|
-
onChangeCapture?: React.FormEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
95
|
-
onBeforeInput?: React.FormEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
96
|
-
onBeforeInputCapture?: React.FormEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
97
|
-
onInput?: React.FormEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
98
|
-
onInputCapture?: React.FormEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
99
|
-
onReset?: React.FormEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
100
|
-
onResetCapture?: React.FormEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
101
|
-
onSubmit?: React.FormEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
102
|
-
onSubmitCapture?: React.FormEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
103
|
-
onInvalid?: React.FormEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
104
|
-
onInvalidCapture?: React.FormEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
105
|
-
onLoad?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
106
|
-
onLoadCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
107
|
-
onError?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
108
|
-
onErrorCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
109
|
-
onKeyDown?: React.KeyboardEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
110
|
-
onKeyDownCapture?: React.KeyboardEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
111
|
-
onKeyPress?: React.KeyboardEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
112
|
-
onKeyPressCapture?: React.KeyboardEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
113
|
-
onKeyUp?: React.KeyboardEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
114
|
-
onKeyUpCapture?: React.KeyboardEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
115
|
-
onAbort?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
116
|
-
onAbortCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
117
|
-
onCanPlay?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
118
|
-
onCanPlayCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
119
|
-
onCanPlayThrough?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
120
|
-
onCanPlayThroughCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
121
|
-
onDurationChange?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
122
|
-
onDurationChangeCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
123
|
-
onEmptied?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
124
|
-
onEmptiedCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
125
|
-
onEncrypted?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
126
|
-
onEncryptedCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
127
|
-
onEnded?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
128
|
-
onEndedCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
129
|
-
onLoadedData?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
130
|
-
onLoadedDataCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
131
|
-
onLoadedMetadata?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
132
|
-
onLoadedMetadataCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
133
|
-
onLoadStart?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
134
|
-
onLoadStartCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
135
|
-
onPause?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
136
|
-
onPauseCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
137
|
-
onPlay?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
138
|
-
onPlayCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
139
|
-
onPlaying?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
140
|
-
onPlayingCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
141
|
-
onProgress?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
142
|
-
onProgressCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
143
|
-
onRateChange?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
144
|
-
onRateChangeCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
145
|
-
onResize?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
146
|
-
onResizeCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
147
|
-
onSeeked?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
148
|
-
onSeekedCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
149
|
-
onSeeking?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
150
|
-
onSeekingCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
151
|
-
onStalled?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
152
|
-
onStalledCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
153
|
-
onSuspend?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
154
|
-
onSuspendCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
155
|
-
onTimeUpdate?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
156
|
-
onTimeUpdateCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
157
|
-
onVolumeChange?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
158
|
-
onVolumeChangeCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
159
|
-
onWaiting?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
160
|
-
onWaitingCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
161
|
-
onAuxClick?: React.MouseEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
162
|
-
onAuxClickCapture?: React.MouseEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
163
|
-
onClick?: React.MouseEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
164
|
-
onClickCapture?: React.MouseEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
165
|
-
onContextMenu?: React.MouseEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
166
|
-
onContextMenuCapture?: React.MouseEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
167
|
-
onDoubleClick?: React.MouseEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
168
|
-
onDoubleClickCapture?: React.MouseEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
169
|
-
onDrag?: React.DragEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
170
|
-
onDragCapture?: React.DragEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
171
|
-
onDragEnd?: React.DragEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
172
|
-
onDragEndCapture?: React.DragEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
173
|
-
onDragEnter?: React.DragEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
174
|
-
onDragEnterCapture?: React.DragEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
175
|
-
onDragExit?: React.DragEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
176
|
-
onDragExitCapture?: React.DragEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
177
|
-
onDragLeave?: React.DragEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
178
|
-
onDragLeaveCapture?: React.DragEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
179
|
-
onDragOver?: React.DragEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
180
|
-
onDragOverCapture?: React.DragEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
181
|
-
onDragStart?: React.DragEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
182
|
-
onDragStartCapture?: React.DragEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
183
|
-
onDrop?: React.DragEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
184
|
-
onDropCapture?: React.DragEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
185
|
-
onMouseDown?: React.MouseEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
186
|
-
onMouseDownCapture?: React.MouseEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
187
|
-
onMouseEnter?: React.MouseEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
188
|
-
onMouseLeave?: React.MouseEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
189
|
-
onMouseMove?: React.MouseEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
190
|
-
onMouseMoveCapture?: React.MouseEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
191
|
-
onMouseOut?: React.MouseEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
192
|
-
onMouseOutCapture?: React.MouseEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
193
|
-
onMouseOver?: React.MouseEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
194
|
-
onMouseOverCapture?: React.MouseEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
195
|
-
onMouseUp?: React.MouseEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
196
|
-
onMouseUpCapture?: React.MouseEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
197
|
-
onSelect?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
198
|
-
onSelectCapture?: React.ReactEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
199
|
-
onTouchCancel?: React.TouchEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
200
|
-
onTouchCancelCapture?: React.TouchEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
201
|
-
onTouchEnd?: React.TouchEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
202
|
-
onTouchEndCapture?: React.TouchEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
203
|
-
onTouchMove?: React.TouchEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
204
|
-
onTouchMoveCapture?: React.TouchEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
205
|
-
onTouchStart?: React.TouchEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
206
|
-
onTouchStartCapture?: React.TouchEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
207
|
-
onPointerDown?: React.PointerEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
208
|
-
onPointerDownCapture?: React.PointerEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
209
|
-
onPointerMove?: React.PointerEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
210
|
-
onPointerMoveCapture?: React.PointerEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
211
|
-
onPointerUp?: React.PointerEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
212
|
-
onPointerUpCapture?: React.PointerEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
213
|
-
onPointerCancel?: React.PointerEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
214
|
-
onPointerCancelCapture?: React.PointerEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
215
|
-
onPointerEnter?: React.PointerEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
216
|
-
onPointerEnterCapture?: React.PointerEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
217
|
-
onPointerLeave?: React.PointerEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
218
|
-
onPointerLeaveCapture?: React.PointerEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
219
|
-
onPointerOver?: React.PointerEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
220
|
-
onPointerOverCapture?: React.PointerEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
221
|
-
onPointerOut?: React.PointerEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
222
|
-
onPointerOutCapture?: React.PointerEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
223
|
-
onGotPointerCapture?: React.PointerEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
224
|
-
onGotPointerCaptureCapture?: React.PointerEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
225
|
-
onLostPointerCapture?: React.PointerEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
226
|
-
onLostPointerCaptureCapture?: React.PointerEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
227
|
-
onScroll?: React.UIEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
228
|
-
onScrollCapture?: React.UIEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
229
|
-
onWheel?: React.WheelEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
230
|
-
onWheelCapture?: React.WheelEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
231
|
-
onAnimationStart?: React.AnimationEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
232
|
-
onAnimationStartCapture?: React.AnimationEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
233
|
-
onAnimationEnd?: React.AnimationEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
234
|
-
onAnimationEndCapture?: React.AnimationEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
235
|
-
onAnimationIteration?: React.AnimationEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
236
|
-
onAnimationIterationCapture?: React.AnimationEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
237
|
-
onTransitionEnd?: React.TransitionEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
238
|
-
onTransitionEndCapture?: React.TransitionEventHandler<import("@react-types/shared").FocusableElement> | undefined;
|
239
|
-
};
|
240
|
-
};
|
241
|
-
export default useRockerButton;
|
@@ -1 +0,0 @@
|
|
1
|
-
export { default } from './useSelectField';
|
@@ -1,55 +0,0 @@
|
|
1
|
-
import React, { DOMAttributes, Key } from 'react';
|
2
|
-
import { AriaButtonProps } from 'react-aria';
|
3
|
-
import { SelectState } from 'react-stately';
|
4
|
-
import { CollectionChildren } from '@react-types/shared';
|
5
|
-
import { LabelProps as ThemeUILabelProps } from 'theme-ui';
|
6
|
-
import { Axis, BoxProps, FocusableElement, PlacementAxis, ReactRef, StyleProps } from '../../types';
|
7
|
-
import { FieldControlInputProps } from '../useField/useField';
|
8
|
-
interface UseSelectFieldProps<T> {
|
9
|
-
children: CollectionChildren<T>;
|
10
|
-
align?: PlacementAxis;
|
11
|
-
defaultSelectedKey?: string;
|
12
|
-
defaultText?: string;
|
13
|
-
direction?: Axis;
|
14
|
-
disabledKeys?: Iterable<Key>;
|
15
|
-
hasNoEmptySelection?: boolean;
|
16
|
-
isDefaultOpen?: boolean;
|
17
|
-
isDisabled?: boolean;
|
18
|
-
isLoading?: boolean;
|
19
|
-
isNotFlippable?: boolean;
|
20
|
-
isOpen?: boolean;
|
21
|
-
isReadOnly?: boolean;
|
22
|
-
isRequired?: boolean;
|
23
|
-
items?: Iterable<T>;
|
24
|
-
label?: string;
|
25
|
-
listboxStyle?: React.CSSProperties;
|
26
|
-
name?: string;
|
27
|
-
placeholder?: string;
|
28
|
-
selectedKey?: string;
|
29
|
-
onLoadMore?: () => unknown;
|
30
|
-
onOpenChange?: (isOpen: boolean) => unknown;
|
31
|
-
onSelectionChange?: (key: Key) => unknown;
|
32
|
-
controlProps?: React.HTMLAttributes<Element>;
|
33
|
-
scrollBoxProps?: BoxProps;
|
34
|
-
listBoxProps?: BoxProps;
|
35
|
-
labelProps?: ThemeUILabelProps;
|
36
|
-
containerProps?: BoxProps;
|
37
|
-
labelMode: 'default' | 'float' | 'left';
|
38
|
-
}
|
39
|
-
interface UseSelectFieldReturnProps {
|
40
|
-
columnStyleProps: StyleProps;
|
41
|
-
fieldContainerProps: BoxProps;
|
42
|
-
fieldControlInputProps: FieldControlInputProps;
|
43
|
-
fieldControlWrapperProps: BoxProps;
|
44
|
-
fieldLabelProps: ThemeUILabelProps;
|
45
|
-
isLoadingInitial?: boolean;
|
46
|
-
listBoxRef: ReactRef;
|
47
|
-
overlay: React.ReactNode;
|
48
|
-
popoverRef: ReactRef;
|
49
|
-
state: SelectState<object>;
|
50
|
-
triggerProps: AriaButtonProps<'button'>;
|
51
|
-
triggerRef: ReactRef;
|
52
|
-
valueProps: DOMAttributes<FocusableElement>;
|
53
|
-
}
|
54
|
-
declare const useSelectField: <T extends object>(props: UseSelectFieldProps<T>, ref: ReactRef) => UseSelectFieldReturnProps;
|
55
|
-
export default useSelectField;
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { Table, TableBody } from '../../index';
|
3
|
-
import { universalComponentTests } from '../../utils/testUtils/universalComponentTest';
|
4
|
-
|
5
|
-
// Needs to be added to each components test file
|
6
|
-
import { jsx as ___EmotionJSX } from "@emotion/react";
|
7
|
-
universalComponentTests({
|
8
|
-
renderComponent: function renderComponent(props) {
|
9
|
-
return ___EmotionJSX(Table, null, ___EmotionJSX(TableBody, props));
|
10
|
-
}
|
11
|
-
});
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { Table, TableCaption } from '../../index';
|
3
|
-
import { universalComponentTests } from '../../utils/testUtils/universalComponentTest';
|
4
|
-
|
5
|
-
// Needs to be added to each components test file
|
6
|
-
import { jsx as ___EmotionJSX } from "@emotion/react";
|
7
|
-
universalComponentTests({
|
8
|
-
renderComponent: function renderComponent(props) {
|
9
|
-
return ___EmotionJSX(Table, null, ___EmotionJSX(TableCaption, props));
|
10
|
-
}
|
11
|
-
});
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { Table, TableHead } from '../../index';
|
3
|
-
import { universalComponentTests } from '../../utils/testUtils/universalComponentTest';
|
4
|
-
|
5
|
-
// Needs to be added to each components test file
|
6
|
-
import { jsx as ___EmotionJSX } from "@emotion/react";
|
7
|
-
universalComponentTests({
|
8
|
-
renderComponent: function renderComponent(props) {
|
9
|
-
return ___EmotionJSX(Table, null, ___EmotionJSX(TableHead, props));
|
10
|
-
}
|
11
|
-
});
|
@@ -1,11 +0,0 @@
|
|
1
|
-
import React from 'react';
|
2
|
-
import { Table, TableBody, TableRow } from '../../index';
|
3
|
-
import { universalComponentTests } from '../../utils/testUtils/universalComponentTest';
|
4
|
-
|
5
|
-
// Needs to be added to each components test file
|
6
|
-
import { jsx as ___EmotionJSX } from "@emotion/react";
|
7
|
-
universalComponentTests({
|
8
|
-
renderComponent: function renderComponent(props) {
|
9
|
-
return ___EmotionJSX(Table, null, ___EmotionJSX(TableBody, null, ___EmotionJSX(TableRow, props)));
|
10
|
-
}
|
11
|
-
});
|