@sproutsocial/racine 24.2.0 → 25.0.1
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/CHANGELOG.md +46 -0
- package/codemods/__tests__/icon-library.test.js +5 -11
- package/commonjs/Avatar/Avatar.js +3 -2
- package/commonjs/Duration/Duration.js +3 -30
- package/commonjs/Duration/utils.js +36 -2
- package/commonjs/themes/light/theme.js +6 -2
- package/dist/types/Avatar/Avatar.d.ts.map +1 -1
- package/dist/types/Duration/Duration.d.ts.map +1 -1
- package/dist/types/Duration/utils.d.ts +8 -0
- package/dist/types/Duration/utils.d.ts.map +1 -1
- package/dist/types/themes/dark/theme.d.ts +4 -0
- package/dist/types/themes/dark/theme.d.ts.map +1 -1
- package/dist/types/themes/light/theme.d.ts +8 -0
- package/dist/types/themes/light/theme.d.ts.map +1 -1
- package/lib/Avatar/Avatar.js +3 -2
- package/lib/Duration/Duration.js +2 -29
- package/lib/Duration/utils.js +36 -2
- package/lib/themes/light/theme.js +6 -2
- package/package.json +19 -26
- package/__flow__/Avatar/Avatar.flow.js +0 -17
- package/__flow__/Avatar/constants.flow.js +0 -11
- package/__flow__/Avatar/index.flow.js +0 -3
- package/__flow__/Badge/Badge.flow.js +0 -21
- package/__flow__/Badge/constants.flow.js +0 -28
- package/__flow__/Badge/index.flow.js +0 -3
- package/__flow__/Banner/Banner.flow.js +0 -22
- package/__flow__/Banner/index.flow.js +0 -2
- package/__flow__/Box/Box.flow.js +0 -22
- package/__flow__/Box/index.flow.js +0 -2
- package/__flow__/Breadcrumb/Breadcrumb.flow.js +0 -22
- package/__flow__/Breadcrumb/index.flow.js +0 -2
- package/__flow__/Button/Button.flow.js +0 -36
- package/__flow__/Button/index.flow.js +0 -2
- package/__flow__/Card/Card.flow.js +0 -9
- package/__flow__/Card/CardTypes.flow.js +0 -73
- package/__flow__/Card/index.flow.js +0 -3
- package/__flow__/CharacterCounter/CharacterCounter.flow.js +0 -12
- package/__flow__/CharacterCounter/index.flow.js +0 -2
- package/__flow__/ChartLegend/ChartLegend.flow.js +0 -18
- package/__flow__/ChartLegend/index.flow.js +0 -2
- package/__flow__/Checkbox/Checkbox.flow.js +0 -24
- package/__flow__/Checkbox/index.flow.js +0 -2
- package/__flow__/Collapsible/Collapsible.flow.js +0 -19
- package/__flow__/Collapsible/index.flow.js +0 -2
- package/__flow__/DatePicker/DateRangePicker/DateRangePicker.flow.js +0 -19
- package/__flow__/DatePicker/DateRangePicker/StatefulDateRangePicker.flow.js +0 -11
- package/__flow__/DatePicker/DateRangePicker/index.flow.js +0 -3
- package/__flow__/DatePicker/SingleDatePicker/SingleDatePicker.flow.js +0 -17
- package/__flow__/DatePicker/SingleDatePicker/StatefulSingleDatePicker.flow.js +0 -9
- package/__flow__/DatePicker/SingleDatePicker/index.flow.js +0 -3
- package/__flow__/DatePicker/common.flow.js +0 -21
- package/__flow__/DatePicker/index.flow.js +0 -6
- package/__flow__/Drawer/Drawer.flow.js +0 -49
- package/__flow__/Drawer/index.flow.js +0 -2
- package/__flow__/EmptyState/EmptyState.flow.js +0 -17
- package/__flow__/EmptyState/index.flow.js +0 -2
- package/__flow__/Fieldset/Fieldset.flow.js +0 -16
- package/__flow__/Fieldset/index.flow.js +0 -2
- package/__flow__/FormField/FormField.flow.js +0 -32
- package/__flow__/FormField/index.flow.js +0 -2
- package/__flow__/Icon/Icon.flow.js +0 -50
- package/__flow__/Icon/index.flow.js +0 -4
- package/__flow__/Image/Image.flow.js +0 -25
- package/__flow__/Image/index.flow.js +0 -2
- package/__flow__/Indicator/Indicator.flow.js +0 -11
- package/__flow__/Indicator/index.flow.js +0 -2
- package/__flow__/Input/Input.flow.js +0 -65
- package/__flow__/Input/index.flow.js +0 -2
- package/__flow__/KeyboardKey/KeyboardKey.flow.js +0 -9
- package/__flow__/KeyboardKey/index.flow.js +0 -2
- package/__flow__/Label/Label.flow.js +0 -16
- package/__flow__/Label/index.flow.js +0 -2
- package/__flow__/Link/Link.flow.js +0 -20
- package/__flow__/Link/index.flow.js +0 -2
- package/__flow__/Listbox/Listbox.flow.js +0 -33
- package/__flow__/Listbox/index.flow.js +0 -2
- package/__flow__/Loader/Loader.flow.js +0 -14
- package/__flow__/Loader/index.flow.js +0 -2
- package/__flow__/LoaderButton/LoaderButton.flow.js +0 -11
- package/__flow__/LoaderButton/index.flow.js +0 -2
- package/__flow__/Menu/Menu.flow.js +0 -142
- package/__flow__/Menu/index.flow.js +0 -3
- package/__flow__/Menu/utils/constants.flow.js +0 -16
- package/__flow__/Message/Message.flow.js +0 -48
- package/__flow__/Message/index.flow.js +0 -2
- package/__flow__/Modal/Modal.flow.js +0 -59
- package/__flow__/Modal/index.flow.js +0 -2
- package/__flow__/Numeral/Numeral.flow.js +0 -23
- package/__flow__/Numeral/index.flow.js +0 -2
- package/__flow__/PartnerLogo/PartnerLogo.flow.js +0 -27
- package/__flow__/PartnerLogo/index.flow.js +0 -2
- package/__flow__/Popout/Popout.flow.js +0 -103
- package/__flow__/Popout/index.flow.js +0 -2
- package/__flow__/Portal/Portal.flow.js +0 -17
- package/__flow__/Portal/index.flow.js +0 -2
- package/__flow__/Radio/Radio.flow.js +0 -21
- package/__flow__/Radio/index.flow.js +0 -2
- package/__flow__/SegmentedControl/SegmentedControl.flow.js +0 -27
- package/__flow__/SegmentedControl/index.flow.js +0 -2
- package/__flow__/Select/Select.flow.js +0 -27
- package/__flow__/Select/index.flow.js +0 -2
- package/__flow__/Skeleton/Skeleton.flow.js +0 -6
- package/__flow__/Skeleton/index.flow.js +0 -2
- package/__flow__/SpotIllustration/SpotIllustration.flow.js +0 -12
- package/__flow__/SpotIllustration/index.flow.js +0 -2
- package/__flow__/Stack/Stack.flow.js +0 -26
- package/__flow__/Stack/index.flow.js +0 -2
- package/__flow__/Switch/Switch.flow.js +0 -5
- package/__flow__/Switch/SwitchTypes.flow.js +0 -16
- package/__flow__/Switch/index.flow.js +0 -3
- package/__flow__/Table/Table.flow.js +0 -48
- package/__flow__/Table/index.flow.js +0 -2
- package/__flow__/TableCell/TableCell.flow.js +0 -28
- package/__flow__/TableCell/index.flow.js +0 -2
- package/__flow__/TableHeaderCell/TableHeaderCell.flow.js +0 -30
- package/__flow__/TableHeaderCell/index.flow.js +0 -2
- package/__flow__/TableRowAccordion/TableRowAccordion.flow.js +0 -15
- package/__flow__/TableRowAccordion/index.flow.js +0 -2
- package/__flow__/Tabs/Tabs.flow.js +0 -26
- package/__flow__/Tabs/index.flow.js +0 -2
- package/__flow__/Text/Text.flow.js +0 -27
- package/__flow__/Text/index.flow.js +0 -2
- package/__flow__/Textarea/Textarea.flow.js +0 -59
- package/__flow__/Textarea/index.flow.js +0 -2
- package/__flow__/ThemeProvider/index.flow.js +0 -12
- package/__flow__/Toast/Toast.flow.js +0 -27
- package/__flow__/Toast/index.flow.js +0 -2
- package/__flow__/ToggleHint/ToggleHint.flow.js +0 -21
- package/__flow__/ToggleHint/index.flow.js +0 -2
- package/__flow__/Token/Token.flow.js +0 -17
- package/__flow__/Token/index.flow.js +0 -2
- package/__flow__/TokenInput/TokenInput.flow.js +0 -79
- package/__flow__/TokenInput/TokenScreenReaderStatus.js +0 -32
- package/__flow__/TokenInput/index.flow.js +0 -2
- package/__flow__/Tooltip/Tooltip.flow.js +0 -24
- package/__flow__/Tooltip/index.flow.js +0 -2
- package/__flow__/VisuallyHidden/VisuallyHidden.flow.js +0 -3
- package/__flow__/VisuallyHidden/index.flow.js +0 -2
- package/__flow__/index.flow.js +0 -136
- package/__flow__/index.js +0 -2
- package/__flow__/systemProps/background.flow.js +0 -17
- package/__flow__/systemProps/border.flow.js +0 -46
- package/__flow__/systemProps/color.flow.js +0 -16
- package/__flow__/systemProps/custom.flow.js +0 -16
- package/__flow__/systemProps/flexbox.flow.js +0 -28
- package/__flow__/systemProps/grid.flow.js +0 -26
- package/__flow__/systemProps/index.flow.js +0 -16
- package/__flow__/systemProps/layout.flow.js +0 -25
- package/__flow__/systemProps/position.flow.js +0 -17
- package/__flow__/systemProps/shadow.flow.js +0 -13
- package/__flow__/systemProps/space.flow.js +0 -71
- package/__flow__/systemProps/systemProps.flow.js +0 -30
- package/__flow__/systemProps/tests/types.flow.js +0 -51
- package/__flow__/systemProps/types.flow.js +0 -12
- package/__flow__/systemProps/typography.flow.js +0 -21
- package/__flow__/systemProps/variant.flow.js +0 -14
- package/__flow__/themes/dark/dataviz-palette.flow.js +0 -3
- package/__flow__/themes/dark/decorative-palettes.flow.js +0 -13
- package/__flow__/themes/dark/theme.flow.js +0 -5
- package/__flow__/themes/extendedThemes/sproutTheme/dark/theme.flow.js +0 -10
- package/__flow__/themes/extendedThemes/sproutTheme/index.flow.js +0 -3
- package/__flow__/themes/extendedThemes/sproutTheme/light/theme.flow.js +0 -10
- package/__flow__/themes/light/dataviz-palette.flow.js +0 -29
- package/__flow__/themes/light/decorative-palettes.flow.js +0 -17
- package/__flow__/themes/light/literal-colors.flow.js +0 -31
- package/__flow__/themes/light/theme.flow.js +0 -16
- package/__flow__/types/index.flow.js +0 -7
- package/__flow__/types/shared.flow.js +0 -9
- package/__flow__/types/styled-components.flow.js +0 -8
- package/__flow__/types/system-props.flow.js +0 -136
- package/__flow__/types/theme.colors.flow.js +0 -364
- package/__flow__/types/theme.flow.js +0 -373
- package/__flow__/utils/a11yTest.flow.js +0 -5
- package/__flow__/utils/chartColors.flow.js +0 -11
- package/__flow__/utils/constants.flow.js +0 -3
- package/__flow__/utils/dataQaLabelQueries.flow.js +0 -20
- package/__flow__/utils/hooks.flow.js +0 -66
- package/__flow__/utils/index.flow.js +0 -11
- package/__flow__/utils/innerText.flow.js +0 -4
- package/__flow__/utils/mixins.flow.js +0 -7
- package/__flow__/utils/react-testing-library.flow.js +0 -14
- package/__flow__/utils/responsiveProps/index.flow.js +0 -3
- package/__flow__/utils/responsiveProps/index.test.flow.js +0 -22
- package/__flow__/utils/system-props.flow.js +0 -9
- package/__flow__/utils/useInteractiveColor.flow.js +0 -3
- package/commonjs/Avatar/Avatar.flow.js +0 -6
- package/commonjs/Avatar/constants.flow.js +0 -16
- package/commonjs/Avatar/index.flow.js +0 -27
- package/commonjs/Badge/Badge.flow.js +0 -7
- package/commonjs/Badge/constants.flow.js +0 -19
- package/commonjs/Badge/index.flow.js +0 -27
- package/commonjs/Banner/Banner.flow.js +0 -6
- package/commonjs/Banner/index.flow.js +0 -16
- package/commonjs/Box/Box.flow.js +0 -6
- package/commonjs/Box/index.flow.js +0 -16
- package/commonjs/Breadcrumb/Breadcrumb.flow.js +0 -6
- package/commonjs/Breadcrumb/index.flow.js +0 -16
- package/commonjs/Button/Button.flow.js +0 -6
- package/commonjs/Button/index.flow.js +0 -16
- package/commonjs/Card/Card.flow.js +0 -6
- package/commonjs/Card/CardTypes.flow.js +0 -6
- package/commonjs/Card/index.flow.js +0 -27
- package/commonjs/CharacterCounter/CharacterCounter.flow.js +0 -6
- package/commonjs/CharacterCounter/index.flow.js +0 -16
- package/commonjs/ChartLegend/ChartLegend.flow.js +0 -6
- package/commonjs/ChartLegend/index.flow.js +0 -16
- package/commonjs/Checkbox/Checkbox.flow.js +0 -6
- package/commonjs/Checkbox/index.flow.js +0 -16
- package/commonjs/Collapsible/Collapsible.flow.js +0 -6
- package/commonjs/Collapsible/index.flow.js +0 -16
- package/commonjs/DatePicker/DateRangePicker/DateRangePicker.flow.js +0 -6
- package/commonjs/DatePicker/DateRangePicker/StatefulDateRangePicker.flow.js +0 -6
- package/commonjs/DatePicker/DateRangePicker/index.flow.js +0 -27
- package/commonjs/DatePicker/SingleDatePicker/SingleDatePicker.flow.js +0 -6
- package/commonjs/DatePicker/SingleDatePicker/StatefulSingleDatePicker.flow.js +0 -6
- package/commonjs/DatePicker/SingleDatePicker/index.flow.js +0 -27
- package/commonjs/DatePicker/common.flow.js +0 -1
- package/commonjs/DatePicker/index.flow.js +0 -60
- package/commonjs/Drawer/Drawer.flow.js +0 -6
- package/commonjs/Drawer/index.flow.js +0 -16
- package/commonjs/EmptyState/EmptyState.flow.js +0 -6
- package/commonjs/EmptyState/index.flow.js +0 -16
- package/commonjs/Fieldset/Fieldset.flow.js +0 -6
- package/commonjs/Fieldset/index.flow.js +0 -16
- package/commonjs/FormField/FormField.flow.js +0 -6
- package/commonjs/FormField/index.flow.js +0 -16
- package/commonjs/Icon/Icon.flow.js +0 -6
- package/commonjs/Icon/index.flow.js +0 -29
- package/commonjs/Image/Image.flow.js +0 -6
- package/commonjs/Image/index.flow.js +0 -16
- package/commonjs/Indicator/Indicator.flow.js +0 -6
- package/commonjs/Indicator/index.flow.js +0 -16
- package/commonjs/Input/Input.flow.js +0 -6
- package/commonjs/Input/index.flow.js +0 -16
- package/commonjs/KeyboardKey/KeyboardKey.flow.js +0 -6
- package/commonjs/KeyboardKey/index.flow.js +0 -16
- package/commonjs/Label/Label.flow.js +0 -8
- package/commonjs/Label/index.flow.js +0 -16
- package/commonjs/Link/Link.flow.js +0 -6
- package/commonjs/Link/index.flow.js +0 -16
- package/commonjs/Listbox/Listbox.flow.js +0 -10
- package/commonjs/Listbox/index.flow.js +0 -16
- package/commonjs/Loader/Loader.flow.js +0 -6
- package/commonjs/Loader/index.flow.js +0 -16
- package/commonjs/LoaderButton/LoaderButton.flow.js +0 -6
- package/commonjs/LoaderButton/index.flow.js +0 -16
- package/commonjs/Menu/Menu.flow.js +0 -11
- package/commonjs/Menu/index.flow.js +0 -27
- package/commonjs/Menu/utils/constants.flow.js +0 -18
- package/commonjs/Message/Message.flow.js +0 -20
- package/commonjs/Message/index.flow.js +0 -16
- package/commonjs/Modal/Modal.flow.js +0 -8
- package/commonjs/Modal/index.flow.js +0 -16
- package/commonjs/Numeral/Numeral.flow.js +0 -6
- package/commonjs/Numeral/index.flow.js +0 -16
- package/commonjs/PartnerLogo/PartnerLogo.flow.js +0 -6
- package/commonjs/PartnerLogo/index.flow.js +0 -16
- package/commonjs/Popout/Popout.flow.js +0 -6
- package/commonjs/Popout/index.flow.js +0 -16
- package/commonjs/Portal/Portal.flow.js +0 -6
- package/commonjs/Portal/index.flow.js +0 -16
- package/commonjs/Radio/Radio.flow.js +0 -6
- package/commonjs/Radio/index.flow.js +0 -16
- package/commonjs/SegmentedControl/SegmentedControl.flow.js +0 -6
- package/commonjs/SegmentedControl/index.flow.js +0 -16
- package/commonjs/Select/Select.flow.js +0 -6
- package/commonjs/Select/index.flow.js +0 -16
- package/commonjs/Skeleton/Skeleton.flow.js +0 -4
- package/commonjs/Skeleton/index.flow.js +0 -16
- package/commonjs/SpotIllustration/SpotIllustration.flow.js +0 -6
- package/commonjs/SpotIllustration/index.flow.js +0 -16
- package/commonjs/Stack/Stack.flow.js +0 -6
- package/commonjs/Stack/index.flow.js +0 -16
- package/commonjs/Switch/Switch.flow.js +0 -6
- package/commonjs/Switch/SwitchTypes.flow.js +0 -1
- package/commonjs/Switch/index.flow.js +0 -27
- package/commonjs/Table/Table.flow.js +0 -9
- package/commonjs/Table/index.flow.js +0 -16
- package/commonjs/TableCell/TableCell.flow.js +0 -6
- package/commonjs/TableCell/index.flow.js +0 -16
- package/commonjs/TableHeaderCell/TableHeaderCell.flow.js +0 -14
- package/commonjs/TableHeaderCell/index.flow.js +0 -16
- package/commonjs/TableRowAccordion/TableRowAccordion.flow.js +0 -6
- package/commonjs/TableRowAccordion/index.flow.js +0 -16
- package/commonjs/Tabs/Tabs.flow.js +0 -6
- package/commonjs/Tabs/index.flow.js +0 -16
- package/commonjs/Text/Text.flow.js +0 -6
- package/commonjs/Text/index.flow.js +0 -16
- package/commonjs/Textarea/Textarea.flow.js +0 -6
- package/commonjs/Textarea/index.flow.js +0 -16
- package/commonjs/ThemeProvider/index.flow.js +0 -6
- package/commonjs/Toast/Toast.flow.js +0 -6
- package/commonjs/Toast/index.flow.js +0 -16
- package/commonjs/ToggleHint/ToggleHint.flow.js +0 -6
- package/commonjs/ToggleHint/index.flow.js +0 -16
- package/commonjs/Token/Token.flow.js +0 -6
- package/commonjs/Token/index.flow.js +0 -16
- package/commonjs/TokenInput/TokenInput.flow.js +0 -6
- package/commonjs/TokenInput/index.flow.js +0 -16
- package/commonjs/Tooltip/Tooltip.flow.js +0 -6
- package/commonjs/Tooltip/index.flow.js +0 -16
- package/commonjs/VisuallyHidden/VisuallyHidden.flow.js +0 -6
- package/commonjs/VisuallyHidden/index.flow.js +0 -16
- package/commonjs/index.flow.js +0 -594
- package/commonjs/index.js.flow +0 -2
- package/commonjs/systemProps/background.flow.js +0 -9
- package/commonjs/systemProps/border.flow.js +0 -9
- package/commonjs/systemProps/color.flow.js +0 -9
- package/commonjs/systemProps/custom.flow.js +0 -12
- package/commonjs/systemProps/flexbox.flow.js +0 -9
- package/commonjs/systemProps/grid.flow.js +0 -9
- package/commonjs/systemProps/index.flow.js +0 -159
- package/commonjs/systemProps/layout.flow.js +0 -9
- package/commonjs/systemProps/position.flow.js +0 -9
- package/commonjs/systemProps/shadow.flow.js +0 -9
- package/commonjs/systemProps/space.flow.js +0 -23
- package/commonjs/systemProps/systemProps.flow.js +0 -20
- package/commonjs/systemProps/tests/types.flow.js +0 -48
- package/commonjs/systemProps/types.flow.js +0 -1
- package/commonjs/systemProps/typography.flow.js +0 -9
- package/commonjs/systemProps/variant.flow.js +0 -12
- package/commonjs/themes/dark/dataviz-palette.flow.js +0 -1
- package/commonjs/themes/dark/decorative-palettes.flow.js +0 -1
- package/commonjs/themes/dark/theme.flow.js +0 -1
- package/commonjs/themes/extendedThemes/sproutTheme/dark/theme.flow.js +0 -7
- package/commonjs/themes/extendedThemes/sproutTheme/index.flow.js +0 -20
- package/commonjs/themes/extendedThemes/sproutTheme/light/theme.flow.js +0 -1
- package/commonjs/themes/light/dataviz-palette.flow.js +0 -1
- package/commonjs/themes/light/decorative-palettes.flow.js +0 -1
- package/commonjs/themes/light/literal-colors.flow.js +0 -1
- package/commonjs/themes/light/theme.flow.js +0 -1
- package/commonjs/types/index.flow.js +0 -60
- package/commonjs/types/shared.flow.js +0 -6
- package/commonjs/types/styled-components.flow.js +0 -6
- package/commonjs/types/system-props.flow.js +0 -2
- package/commonjs/types/theme.colors.flow.js +0 -1
- package/commonjs/types/theme.flow.js +0 -1
- package/commonjs/utils/a11yTest.flow.js +0 -1
- package/commonjs/utils/chartColors.flow.js +0 -1
- package/commonjs/utils/constants.flow.js +0 -1
- package/commonjs/utils/dataQaLabelQueries.flow.js +0 -1
- package/commonjs/utils/hooks.flow.js +0 -28
- package/commonjs/utils/index.flow.js +0 -1
- package/commonjs/utils/innerText.flow.js +0 -6
- package/commonjs/utils/mixins.flow.js +0 -1
- package/commonjs/utils/react-testing-library.flow.js +0 -9
- package/commonjs/utils/responsiveProps/index.flow.js +0 -1
- package/commonjs/utils/responsiveProps/index.test.flow.js +0 -23
- package/commonjs/utils/system-props.flow.js +0 -1
- package/commonjs/utils/useInteractiveColor.flow.js +0 -1
- package/lib/Avatar/Avatar.flow.js +0 -1
- package/lib/Avatar/constants.flow.js +0 -10
- package/lib/Avatar/index.flow.js +0 -2
- package/lib/Badge/Badge.flow.js +0 -2
- package/lib/Badge/constants.flow.js +0 -13
- package/lib/Badge/index.flow.js +0 -2
- package/lib/Banner/Banner.flow.js +0 -1
- package/lib/Banner/index.flow.js +0 -1
- package/lib/Box/Box.flow.js +0 -1
- package/lib/Box/index.flow.js +0 -1
- package/lib/Breadcrumb/Breadcrumb.flow.js +0 -1
- package/lib/Breadcrumb/index.flow.js +0 -1
- package/lib/Button/Button.flow.js +0 -1
- package/lib/Button/index.flow.js +0 -1
- package/lib/Card/Card.flow.js +0 -1
- package/lib/Card/CardTypes.flow.js +0 -1
- package/lib/Card/index.flow.js +0 -2
- package/lib/CharacterCounter/CharacterCounter.flow.js +0 -1
- package/lib/CharacterCounter/index.flow.js +0 -1
- package/lib/ChartLegend/ChartLegend.flow.js +0 -1
- package/lib/ChartLegend/index.flow.js +0 -1
- package/lib/Checkbox/Checkbox.flow.js +0 -1
- package/lib/Checkbox/index.flow.js +0 -1
- package/lib/Collapsible/Collapsible.flow.js +0 -1
- package/lib/Collapsible/index.flow.js +0 -1
- package/lib/DatePicker/DateRangePicker/DateRangePicker.flow.js +0 -1
- package/lib/DatePicker/DateRangePicker/StatefulDateRangePicker.flow.js +0 -1
- package/lib/DatePicker/DateRangePicker/index.flow.js +0 -2
- package/lib/DatePicker/SingleDatePicker/SingleDatePicker.flow.js +0 -1
- package/lib/DatePicker/SingleDatePicker/StatefulSingleDatePicker.flow.js +0 -1
- package/lib/DatePicker/SingleDatePicker/index.flow.js +0 -2
- package/lib/DatePicker/common.flow.js +0 -0
- package/lib/DatePicker/index.flow.js +0 -5
- package/lib/Drawer/Drawer.flow.js +0 -1
- package/lib/Drawer/index.flow.js +0 -1
- package/lib/EmptyState/EmptyState.flow.js +0 -1
- package/lib/EmptyState/index.flow.js +0 -1
- package/lib/Fieldset/Fieldset.flow.js +0 -1
- package/lib/Fieldset/index.flow.js +0 -1
- package/lib/FormField/FormField.flow.js +0 -1
- package/lib/FormField/index.flow.js +0 -1
- package/lib/Icon/Icon.flow.js +0 -3
- package/lib/Icon/index.flow.js +0 -3
- package/lib/Image/Image.flow.js +0 -2
- package/lib/Image/index.flow.js +0 -1
- package/lib/Indicator/Indicator.flow.js +0 -1
- package/lib/Indicator/index.flow.js +0 -1
- package/lib/Input/Input.flow.js +0 -1
- package/lib/Input/index.flow.js +0 -1
- package/lib/KeyboardKey/KeyboardKey.flow.js +0 -1
- package/lib/KeyboardKey/index.flow.js +0 -1
- package/lib/Label/Label.flow.js +0 -2
- package/lib/Label/index.flow.js +0 -1
- package/lib/Link/Link.flow.js +0 -1
- package/lib/Link/index.flow.js +0 -1
- package/lib/Listbox/Listbox.flow.js +0 -4
- package/lib/Listbox/index.flow.js +0 -1
- package/lib/Loader/Loader.flow.js +0 -1
- package/lib/Loader/index.flow.js +0 -1
- package/lib/LoaderButton/LoaderButton.flow.js +0 -1
- package/lib/LoaderButton/index.flow.js +0 -1
- package/lib/Menu/Menu.flow.js +0 -5
- package/lib/Menu/index.flow.js +0 -2
- package/lib/Menu/utils/constants.flow.js +0 -12
- package/lib/Message/Message.flow.js +0 -11
- package/lib/Message/index.flow.js +0 -1
- package/lib/Modal/Modal.flow.js +0 -2
- package/lib/Modal/index.flow.js +0 -1
- package/lib/Numeral/Numeral.flow.js +0 -1
- package/lib/Numeral/index.flow.js +0 -1
- package/lib/PartnerLogo/PartnerLogo.flow.js +0 -5
- package/lib/PartnerLogo/index.flow.js +0 -1
- package/lib/Popout/Popout.flow.js +0 -3
- package/lib/Popout/index.flow.js +0 -1
- package/lib/Portal/Portal.flow.js +0 -1
- package/lib/Portal/index.flow.js +0 -1
- package/lib/Radio/Radio.flow.js +0 -1
- package/lib/Radio/index.flow.js +0 -1
- package/lib/SegmentedControl/SegmentedControl.flow.js +0 -1
- package/lib/SegmentedControl/index.flow.js +0 -1
- package/lib/Select/Select.flow.js +0 -1
- package/lib/Select/index.flow.js +0 -1
- package/lib/Skeleton/Skeleton.flow.js +0 -1
- package/lib/Skeleton/index.flow.js +0 -1
- package/lib/SpotIllustration/SpotIllustration.flow.js +0 -1
- package/lib/SpotIllustration/index.flow.js +0 -1
- package/lib/Stack/Stack.flow.js +0 -1
- package/lib/Stack/index.flow.js +0 -1
- package/lib/Switch/Switch.flow.js +0 -1
- package/lib/Switch/SwitchTypes.flow.js +0 -0
- package/lib/Switch/index.flow.js +0 -2
- package/lib/Table/Table.flow.js +0 -3
- package/lib/Table/index.flow.js +0 -1
- package/lib/TableCell/TableCell.flow.js +0 -5
- package/lib/TableCell/index.flow.js +0 -1
- package/lib/TableHeaderCell/TableHeaderCell.flow.js +0 -5
- package/lib/TableHeaderCell/index.flow.js +0 -1
- package/lib/TableRowAccordion/TableRowAccordion.flow.js +0 -1
- package/lib/TableRowAccordion/index.flow.js +0 -1
- package/lib/Tabs/Tabs.flow.js +0 -1
- package/lib/Tabs/index.flow.js +0 -1
- package/lib/Text/Text.flow.js +0 -1
- package/lib/Text/index.flow.js +0 -1
- package/lib/Textarea/Textarea.flow.js +0 -1
- package/lib/Textarea/index.flow.js +0 -1
- package/lib/ThemeProvider/index.flow.js +0 -3
- package/lib/Toast/Toast.flow.js +0 -1
- package/lib/Toast/index.flow.js +0 -1
- package/lib/ToggleHint/ToggleHint.flow.js +0 -1
- package/lib/ToggleHint/index.flow.js +0 -1
- package/lib/Token/Token.flow.js +0 -1
- package/lib/Token/index.flow.js +0 -1
- package/lib/TokenInput/TokenInput.flow.js +0 -1
- package/lib/TokenInput/index.flow.js +0 -1
- package/lib/Tooltip/Tooltip.flow.js +0 -1
- package/lib/Tooltip/index.flow.js +0 -1
- package/lib/VisuallyHidden/VisuallyHidden.flow.js +0 -1
- package/lib/VisuallyHidden/index.flow.js +0 -1
- package/lib/index.flow.js +0 -79
- package/lib/index.js.flow +0 -2
- package/lib/systemProps/background.flow.js +0 -5
- package/lib/systemProps/border.flow.js +0 -5
- package/lib/systemProps/color.flow.js +0 -5
- package/lib/systemProps/custom.flow.js +0 -8
- package/lib/systemProps/flexbox.flow.js +0 -5
- package/lib/systemProps/grid.flow.js +0 -5
- package/lib/systemProps/index.flow.js +0 -14
- package/lib/systemProps/layout.flow.js +0 -5
- package/lib/systemProps/position.flow.js +0 -5
- package/lib/systemProps/shadow.flow.js +0 -5
- package/lib/systemProps/space.flow.js +0 -32
- package/lib/systemProps/systemProps.flow.js +0 -14
- package/lib/systemProps/tests/types.flow.js +0 -46
- package/lib/systemProps/types.flow.js +0 -0
- package/lib/systemProps/typography.flow.js +0 -5
- package/lib/systemProps/variant.flow.js +0 -8
- package/lib/themes/dark/dataviz-palette.flow.js +0 -0
- package/lib/themes/dark/decorative-palettes.flow.js +0 -0
- package/lib/themes/dark/theme.flow.js +0 -0
- package/lib/themes/extendedThemes/sproutTheme/dark/theme.flow.js +0 -1
- package/lib/themes/extendedThemes/sproutTheme/index.flow.js +0 -2
- package/lib/themes/extendedThemes/sproutTheme/light/theme.flow.js +0 -0
- package/lib/themes/light/dataviz-palette.flow.js +0 -0
- package/lib/themes/light/decorative-palettes.flow.js +0 -0
- package/lib/themes/light/literal-colors.flow.js +0 -0
- package/lib/themes/light/theme.flow.js +0 -0
- package/lib/types/index.flow.js +0 -5
- package/lib/types/shared.flow.js +0 -1
- package/lib/types/styled-components.flow.js +0 -1
- package/lib/types/system-props.flow.js +0 -1
- package/lib/types/theme.colors.flow.js +0 -0
- package/lib/types/theme.flow.js +0 -0
- package/lib/utils/a11yTest.flow.js +0 -0
- package/lib/utils/chartColors.flow.js +0 -0
- package/lib/utils/constants.flow.js +0 -0
- package/lib/utils/dataQaLabelQueries.flow.js +0 -0
- package/lib/utils/hooks.flow.js +0 -27
- package/lib/utils/index.flow.js +0 -0
- package/lib/utils/innerText.flow.js +0 -1
- package/lib/utils/mixins.flow.js +0 -0
- package/lib/utils/react-testing-library.flow.js +0 -3
- package/lib/utils/responsiveProps/index.flow.js +0 -0
- package/lib/utils/responsiveProps/index.test.flow.js +0 -21
- package/lib/utils/system-props.flow.js +0 -0
- package/lib/utils/useInteractiveColor.flow.js +0 -0
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
-
var React = _interopRequireWildcard(require("react"));
|
|
5
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
6
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _TokenInput = require("./TokenInput.flow");
|
|
7
|
-
Object.keys(_TokenInput).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _TokenInput[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function get() {
|
|
13
|
-
return _TokenInput[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
-
var React = _interopRequireWildcard(require("react"));
|
|
5
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
6
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _Tooltip = require("./Tooltip.flow");
|
|
7
|
-
Object.keys(_Tooltip).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _Tooltip[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function get() {
|
|
13
|
-
return _Tooltip[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
-
var React = _interopRequireWildcard(require("react"));
|
|
5
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
6
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
var _VisuallyHidden = require("./VisuallyHidden.flow");
|
|
7
|
-
Object.keys(_VisuallyHidden).forEach(function (key) {
|
|
8
|
-
if (key === "default" || key === "__esModule") return;
|
|
9
|
-
if (key in exports && exports[key] === _VisuallyHidden[key]) return;
|
|
10
|
-
Object.defineProperty(exports, key, {
|
|
11
|
-
enumerable: true,
|
|
12
|
-
get: function get() {
|
|
13
|
-
return _VisuallyHidden[key];
|
|
14
|
-
}
|
|
15
|
-
});
|
|
16
|
-
});
|
package/commonjs/index.flow.js
DELETED
|
@@ -1,594 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
function _typeof(o) { "@babel/helpers - typeof"; return _typeof = "function" == typeof Symbol && "symbol" == typeof Symbol.iterator ? function (o) { return typeof o; } : function (o) { return o && "function" == typeof Symbol && o.constructor === Symbol && o !== Symbol.prototype ? "symbol" : typeof o; }, _typeof(o); }
|
|
4
|
-
Object.defineProperty(exports, "__esModule", {
|
|
5
|
-
value: true
|
|
6
|
-
});
|
|
7
|
-
var _exportNames = {
|
|
8
|
-
theme: true,
|
|
9
|
-
darkTheme: true,
|
|
10
|
-
sproutLightTheme: true,
|
|
11
|
-
sproutDarkTheme: true,
|
|
12
|
-
ThemeProvider: true,
|
|
13
|
-
useSelect: true,
|
|
14
|
-
useMultiselect: true,
|
|
15
|
-
useTextContent: true,
|
|
16
|
-
visuallyHidden: true,
|
|
17
|
-
focusRing: true,
|
|
18
|
-
disabled: true,
|
|
19
|
-
useInteractiveColor: true,
|
|
20
|
-
Avatar: true,
|
|
21
|
-
Badge: true,
|
|
22
|
-
legacyBadgeColors: true,
|
|
23
|
-
Banner: true,
|
|
24
|
-
Alert: true,
|
|
25
|
-
Box: true,
|
|
26
|
-
Breadcrumb: true,
|
|
27
|
-
Button: true,
|
|
28
|
-
Card: true,
|
|
29
|
-
CharacterCounter: true,
|
|
30
|
-
ChartLegend: true,
|
|
31
|
-
Checkbox: true,
|
|
32
|
-
Collapsible: true,
|
|
33
|
-
DateRangePicker: true,
|
|
34
|
-
SingleDatePicker: true,
|
|
35
|
-
Drawer: true,
|
|
36
|
-
EmptyState: true,
|
|
37
|
-
Fieldset: true,
|
|
38
|
-
FormField: true,
|
|
39
|
-
Image: true,
|
|
40
|
-
Indicator: true,
|
|
41
|
-
Input: true,
|
|
42
|
-
KeyboardKey: true,
|
|
43
|
-
Label: true,
|
|
44
|
-
Link: true,
|
|
45
|
-
Listbox: true,
|
|
46
|
-
ListboxButton: true,
|
|
47
|
-
Loader: true,
|
|
48
|
-
LoaderButton: true,
|
|
49
|
-
Menu: true,
|
|
50
|
-
MenuButton: true,
|
|
51
|
-
MenuButtonContext: true,
|
|
52
|
-
MenuItemContainer: true,
|
|
53
|
-
Message: true,
|
|
54
|
-
Modal: true,
|
|
55
|
-
Numeral: true,
|
|
56
|
-
PartnerLogo: true,
|
|
57
|
-
Popout: true,
|
|
58
|
-
Radio: true,
|
|
59
|
-
SegmentedControl: true,
|
|
60
|
-
Select: true,
|
|
61
|
-
Skeleton: true,
|
|
62
|
-
SpotIllustration: true,
|
|
63
|
-
Stack: true,
|
|
64
|
-
Table: true,
|
|
65
|
-
TableCell: true,
|
|
66
|
-
TableHeaderCell: true,
|
|
67
|
-
TableRowAccordion: true,
|
|
68
|
-
Tabs: true,
|
|
69
|
-
Text: true,
|
|
70
|
-
Textarea: true,
|
|
71
|
-
ToastContainer: true,
|
|
72
|
-
toast: true,
|
|
73
|
-
ToggleHint: true,
|
|
74
|
-
Token: true,
|
|
75
|
-
TokenInput: true,
|
|
76
|
-
Tooltip: true,
|
|
77
|
-
VisuallyHidden: true
|
|
78
|
-
};
|
|
79
|
-
Object.defineProperty(exports, "Alert", {
|
|
80
|
-
enumerable: true,
|
|
81
|
-
get: function get() {
|
|
82
|
-
return _index6.default;
|
|
83
|
-
}
|
|
84
|
-
});
|
|
85
|
-
Object.defineProperty(exports, "Avatar", {
|
|
86
|
-
enumerable: true,
|
|
87
|
-
get: function get() {
|
|
88
|
-
return _index4.default;
|
|
89
|
-
}
|
|
90
|
-
});
|
|
91
|
-
Object.defineProperty(exports, "Badge", {
|
|
92
|
-
enumerable: true,
|
|
93
|
-
get: function get() {
|
|
94
|
-
return _index5.default;
|
|
95
|
-
}
|
|
96
|
-
});
|
|
97
|
-
Object.defineProperty(exports, "Banner", {
|
|
98
|
-
enumerable: true,
|
|
99
|
-
get: function get() {
|
|
100
|
-
return _index6.default;
|
|
101
|
-
}
|
|
102
|
-
});
|
|
103
|
-
Object.defineProperty(exports, "Box", {
|
|
104
|
-
enumerable: true,
|
|
105
|
-
get: function get() {
|
|
106
|
-
return _index7.default;
|
|
107
|
-
}
|
|
108
|
-
});
|
|
109
|
-
Object.defineProperty(exports, "Breadcrumb", {
|
|
110
|
-
enumerable: true,
|
|
111
|
-
get: function get() {
|
|
112
|
-
return _index8.default;
|
|
113
|
-
}
|
|
114
|
-
});
|
|
115
|
-
Object.defineProperty(exports, "Button", {
|
|
116
|
-
enumerable: true,
|
|
117
|
-
get: function get() {
|
|
118
|
-
return _index9.default;
|
|
119
|
-
}
|
|
120
|
-
});
|
|
121
|
-
Object.defineProperty(exports, "Card", {
|
|
122
|
-
enumerable: true,
|
|
123
|
-
get: function get() {
|
|
124
|
-
return _index10.default;
|
|
125
|
-
}
|
|
126
|
-
});
|
|
127
|
-
Object.defineProperty(exports, "CharacterCounter", {
|
|
128
|
-
enumerable: true,
|
|
129
|
-
get: function get() {
|
|
130
|
-
return _index11.default;
|
|
131
|
-
}
|
|
132
|
-
});
|
|
133
|
-
Object.defineProperty(exports, "ChartLegend", {
|
|
134
|
-
enumerable: true,
|
|
135
|
-
get: function get() {
|
|
136
|
-
return _index12.default;
|
|
137
|
-
}
|
|
138
|
-
});
|
|
139
|
-
Object.defineProperty(exports, "Checkbox", {
|
|
140
|
-
enumerable: true,
|
|
141
|
-
get: function get() {
|
|
142
|
-
return _index13.default;
|
|
143
|
-
}
|
|
144
|
-
});
|
|
145
|
-
Object.defineProperty(exports, "Collapsible", {
|
|
146
|
-
enumerable: true,
|
|
147
|
-
get: function get() {
|
|
148
|
-
return _index14.default;
|
|
149
|
-
}
|
|
150
|
-
});
|
|
151
|
-
Object.defineProperty(exports, "DateRangePicker", {
|
|
152
|
-
enumerable: true,
|
|
153
|
-
get: function get() {
|
|
154
|
-
return _index15.DateRangePicker;
|
|
155
|
-
}
|
|
156
|
-
});
|
|
157
|
-
Object.defineProperty(exports, "Drawer", {
|
|
158
|
-
enumerable: true,
|
|
159
|
-
get: function get() {
|
|
160
|
-
return _index16.default;
|
|
161
|
-
}
|
|
162
|
-
});
|
|
163
|
-
Object.defineProperty(exports, "EmptyState", {
|
|
164
|
-
enumerable: true,
|
|
165
|
-
get: function get() {
|
|
166
|
-
return _index17.default;
|
|
167
|
-
}
|
|
168
|
-
});
|
|
169
|
-
Object.defineProperty(exports, "Fieldset", {
|
|
170
|
-
enumerable: true,
|
|
171
|
-
get: function get() {
|
|
172
|
-
return _index18.default;
|
|
173
|
-
}
|
|
174
|
-
});
|
|
175
|
-
Object.defineProperty(exports, "FormField", {
|
|
176
|
-
enumerable: true,
|
|
177
|
-
get: function get() {
|
|
178
|
-
return _index19.default;
|
|
179
|
-
}
|
|
180
|
-
});
|
|
181
|
-
Object.defineProperty(exports, "Image", {
|
|
182
|
-
enumerable: true,
|
|
183
|
-
get: function get() {
|
|
184
|
-
return _index21.default;
|
|
185
|
-
}
|
|
186
|
-
});
|
|
187
|
-
Object.defineProperty(exports, "Indicator", {
|
|
188
|
-
enumerable: true,
|
|
189
|
-
get: function get() {
|
|
190
|
-
return _index22.default;
|
|
191
|
-
}
|
|
192
|
-
});
|
|
193
|
-
Object.defineProperty(exports, "Input", {
|
|
194
|
-
enumerable: true,
|
|
195
|
-
get: function get() {
|
|
196
|
-
return _index23.default;
|
|
197
|
-
}
|
|
198
|
-
});
|
|
199
|
-
Object.defineProperty(exports, "KeyboardKey", {
|
|
200
|
-
enumerable: true,
|
|
201
|
-
get: function get() {
|
|
202
|
-
return _index24.default;
|
|
203
|
-
}
|
|
204
|
-
});
|
|
205
|
-
Object.defineProperty(exports, "Label", {
|
|
206
|
-
enumerable: true,
|
|
207
|
-
get: function get() {
|
|
208
|
-
return _index25.default;
|
|
209
|
-
}
|
|
210
|
-
});
|
|
211
|
-
Object.defineProperty(exports, "Link", {
|
|
212
|
-
enumerable: true,
|
|
213
|
-
get: function get() {
|
|
214
|
-
return _index26.default;
|
|
215
|
-
}
|
|
216
|
-
});
|
|
217
|
-
Object.defineProperty(exports, "Listbox", {
|
|
218
|
-
enumerable: true,
|
|
219
|
-
get: function get() {
|
|
220
|
-
return _index27.default;
|
|
221
|
-
}
|
|
222
|
-
});
|
|
223
|
-
Object.defineProperty(exports, "ListboxButton", {
|
|
224
|
-
enumerable: true,
|
|
225
|
-
get: function get() {
|
|
226
|
-
return _index27.ListboxButton;
|
|
227
|
-
}
|
|
228
|
-
});
|
|
229
|
-
Object.defineProperty(exports, "Loader", {
|
|
230
|
-
enumerable: true,
|
|
231
|
-
get: function get() {
|
|
232
|
-
return _index28.default;
|
|
233
|
-
}
|
|
234
|
-
});
|
|
235
|
-
Object.defineProperty(exports, "LoaderButton", {
|
|
236
|
-
enumerable: true,
|
|
237
|
-
get: function get() {
|
|
238
|
-
return _index29.default;
|
|
239
|
-
}
|
|
240
|
-
});
|
|
241
|
-
Object.defineProperty(exports, "Menu", {
|
|
242
|
-
enumerable: true,
|
|
243
|
-
get: function get() {
|
|
244
|
-
return _index30.default;
|
|
245
|
-
}
|
|
246
|
-
});
|
|
247
|
-
Object.defineProperty(exports, "MenuButton", {
|
|
248
|
-
enumerable: true,
|
|
249
|
-
get: function get() {
|
|
250
|
-
return _index30.MenuButton;
|
|
251
|
-
}
|
|
252
|
-
});
|
|
253
|
-
Object.defineProperty(exports, "MenuButtonContext", {
|
|
254
|
-
enumerable: true,
|
|
255
|
-
get: function get() {
|
|
256
|
-
return _index30.MenuButtonContext;
|
|
257
|
-
}
|
|
258
|
-
});
|
|
259
|
-
Object.defineProperty(exports, "MenuItemContainer", {
|
|
260
|
-
enumerable: true,
|
|
261
|
-
get: function get() {
|
|
262
|
-
return _index30.MenuItemContainer;
|
|
263
|
-
}
|
|
264
|
-
});
|
|
265
|
-
Object.defineProperty(exports, "Message", {
|
|
266
|
-
enumerable: true,
|
|
267
|
-
get: function get() {
|
|
268
|
-
return _index31.default;
|
|
269
|
-
}
|
|
270
|
-
});
|
|
271
|
-
Object.defineProperty(exports, "Modal", {
|
|
272
|
-
enumerable: true,
|
|
273
|
-
get: function get() {
|
|
274
|
-
return _index32.default;
|
|
275
|
-
}
|
|
276
|
-
});
|
|
277
|
-
Object.defineProperty(exports, "Numeral", {
|
|
278
|
-
enumerable: true,
|
|
279
|
-
get: function get() {
|
|
280
|
-
return _index33.default;
|
|
281
|
-
}
|
|
282
|
-
});
|
|
283
|
-
Object.defineProperty(exports, "PartnerLogo", {
|
|
284
|
-
enumerable: true,
|
|
285
|
-
get: function get() {
|
|
286
|
-
return _index34.default;
|
|
287
|
-
}
|
|
288
|
-
});
|
|
289
|
-
Object.defineProperty(exports, "Popout", {
|
|
290
|
-
enumerable: true,
|
|
291
|
-
get: function get() {
|
|
292
|
-
return _index35.default;
|
|
293
|
-
}
|
|
294
|
-
});
|
|
295
|
-
Object.defineProperty(exports, "Radio", {
|
|
296
|
-
enumerable: true,
|
|
297
|
-
get: function get() {
|
|
298
|
-
return _index36.default;
|
|
299
|
-
}
|
|
300
|
-
});
|
|
301
|
-
Object.defineProperty(exports, "SegmentedControl", {
|
|
302
|
-
enumerable: true,
|
|
303
|
-
get: function get() {
|
|
304
|
-
return _index37.default;
|
|
305
|
-
}
|
|
306
|
-
});
|
|
307
|
-
Object.defineProperty(exports, "Select", {
|
|
308
|
-
enumerable: true,
|
|
309
|
-
get: function get() {
|
|
310
|
-
return _index38.default;
|
|
311
|
-
}
|
|
312
|
-
});
|
|
313
|
-
Object.defineProperty(exports, "SingleDatePicker", {
|
|
314
|
-
enumerable: true,
|
|
315
|
-
get: function get() {
|
|
316
|
-
return _index15.SingleDatePicker;
|
|
317
|
-
}
|
|
318
|
-
});
|
|
319
|
-
Object.defineProperty(exports, "Skeleton", {
|
|
320
|
-
enumerable: true,
|
|
321
|
-
get: function get() {
|
|
322
|
-
return _index39.default;
|
|
323
|
-
}
|
|
324
|
-
});
|
|
325
|
-
Object.defineProperty(exports, "SpotIllustration", {
|
|
326
|
-
enumerable: true,
|
|
327
|
-
get: function get() {
|
|
328
|
-
return _index40.default;
|
|
329
|
-
}
|
|
330
|
-
});
|
|
331
|
-
Object.defineProperty(exports, "Stack", {
|
|
332
|
-
enumerable: true,
|
|
333
|
-
get: function get() {
|
|
334
|
-
return _index41.default;
|
|
335
|
-
}
|
|
336
|
-
});
|
|
337
|
-
Object.defineProperty(exports, "Table", {
|
|
338
|
-
enumerable: true,
|
|
339
|
-
get: function get() {
|
|
340
|
-
return _index43.default;
|
|
341
|
-
}
|
|
342
|
-
});
|
|
343
|
-
Object.defineProperty(exports, "TableCell", {
|
|
344
|
-
enumerable: true,
|
|
345
|
-
get: function get() {
|
|
346
|
-
return _index44.default;
|
|
347
|
-
}
|
|
348
|
-
});
|
|
349
|
-
Object.defineProperty(exports, "TableHeaderCell", {
|
|
350
|
-
enumerable: true,
|
|
351
|
-
get: function get() {
|
|
352
|
-
return _index45.default;
|
|
353
|
-
}
|
|
354
|
-
});
|
|
355
|
-
Object.defineProperty(exports, "TableRowAccordion", {
|
|
356
|
-
enumerable: true,
|
|
357
|
-
get: function get() {
|
|
358
|
-
return _index46.default;
|
|
359
|
-
}
|
|
360
|
-
});
|
|
361
|
-
Object.defineProperty(exports, "Tabs", {
|
|
362
|
-
enumerable: true,
|
|
363
|
-
get: function get() {
|
|
364
|
-
return _index47.default;
|
|
365
|
-
}
|
|
366
|
-
});
|
|
367
|
-
Object.defineProperty(exports, "Text", {
|
|
368
|
-
enumerable: true,
|
|
369
|
-
get: function get() {
|
|
370
|
-
return _index48.default;
|
|
371
|
-
}
|
|
372
|
-
});
|
|
373
|
-
Object.defineProperty(exports, "Textarea", {
|
|
374
|
-
enumerable: true,
|
|
375
|
-
get: function get() {
|
|
376
|
-
return _index49.default;
|
|
377
|
-
}
|
|
378
|
-
});
|
|
379
|
-
Object.defineProperty(exports, "ThemeProvider", {
|
|
380
|
-
enumerable: true,
|
|
381
|
-
get: function get() {
|
|
382
|
-
return _index3.default;
|
|
383
|
-
}
|
|
384
|
-
});
|
|
385
|
-
Object.defineProperty(exports, "ToastContainer", {
|
|
386
|
-
enumerable: true,
|
|
387
|
-
get: function get() {
|
|
388
|
-
return _index50.default;
|
|
389
|
-
}
|
|
390
|
-
});
|
|
391
|
-
Object.defineProperty(exports, "ToggleHint", {
|
|
392
|
-
enumerable: true,
|
|
393
|
-
get: function get() {
|
|
394
|
-
return _index51.default;
|
|
395
|
-
}
|
|
396
|
-
});
|
|
397
|
-
Object.defineProperty(exports, "Token", {
|
|
398
|
-
enumerable: true,
|
|
399
|
-
get: function get() {
|
|
400
|
-
return _index52.default;
|
|
401
|
-
}
|
|
402
|
-
});
|
|
403
|
-
Object.defineProperty(exports, "TokenInput", {
|
|
404
|
-
enumerable: true,
|
|
405
|
-
get: function get() {
|
|
406
|
-
return _index53.default;
|
|
407
|
-
}
|
|
408
|
-
});
|
|
409
|
-
Object.defineProperty(exports, "Tooltip", {
|
|
410
|
-
enumerable: true,
|
|
411
|
-
get: function get() {
|
|
412
|
-
return _index54.default;
|
|
413
|
-
}
|
|
414
|
-
});
|
|
415
|
-
Object.defineProperty(exports, "VisuallyHidden", {
|
|
416
|
-
enumerable: true,
|
|
417
|
-
get: function get() {
|
|
418
|
-
return _index55.VisuallyHidden;
|
|
419
|
-
}
|
|
420
|
-
});
|
|
421
|
-
Object.defineProperty(exports, "darkTheme", {
|
|
422
|
-
enumerable: true,
|
|
423
|
-
get: function get() {
|
|
424
|
-
return _theme2.default;
|
|
425
|
-
}
|
|
426
|
-
});
|
|
427
|
-
Object.defineProperty(exports, "disabled", {
|
|
428
|
-
enumerable: true,
|
|
429
|
-
get: function get() {
|
|
430
|
-
return _mixins.disabled;
|
|
431
|
-
}
|
|
432
|
-
});
|
|
433
|
-
Object.defineProperty(exports, "focusRing", {
|
|
434
|
-
enumerable: true,
|
|
435
|
-
get: function get() {
|
|
436
|
-
return _mixins.focusRing;
|
|
437
|
-
}
|
|
438
|
-
});
|
|
439
|
-
Object.defineProperty(exports, "legacyBadgeColors", {
|
|
440
|
-
enumerable: true,
|
|
441
|
-
get: function get() {
|
|
442
|
-
return _index5.legacyBadgeColors;
|
|
443
|
-
}
|
|
444
|
-
});
|
|
445
|
-
Object.defineProperty(exports, "sproutDarkTheme", {
|
|
446
|
-
enumerable: true,
|
|
447
|
-
get: function get() {
|
|
448
|
-
return _index2.sproutDarkTheme;
|
|
449
|
-
}
|
|
450
|
-
});
|
|
451
|
-
Object.defineProperty(exports, "sproutLightTheme", {
|
|
452
|
-
enumerable: true,
|
|
453
|
-
get: function get() {
|
|
454
|
-
return _index2.sproutLightTheme;
|
|
455
|
-
}
|
|
456
|
-
});
|
|
457
|
-
Object.defineProperty(exports, "theme", {
|
|
458
|
-
enumerable: true,
|
|
459
|
-
get: function get() {
|
|
460
|
-
return _theme.default;
|
|
461
|
-
}
|
|
462
|
-
});
|
|
463
|
-
Object.defineProperty(exports, "toast", {
|
|
464
|
-
enumerable: true,
|
|
465
|
-
get: function get() {
|
|
466
|
-
return _index50.toast;
|
|
467
|
-
}
|
|
468
|
-
});
|
|
469
|
-
Object.defineProperty(exports, "useInteractiveColor", {
|
|
470
|
-
enumerable: true,
|
|
471
|
-
get: function get() {
|
|
472
|
-
return _useInteractiveColor.useInteractiveColor;
|
|
473
|
-
}
|
|
474
|
-
});
|
|
475
|
-
Object.defineProperty(exports, "useMultiselect", {
|
|
476
|
-
enumerable: true,
|
|
477
|
-
get: function get() {
|
|
478
|
-
return _hooks.useMultiselect;
|
|
479
|
-
}
|
|
480
|
-
});
|
|
481
|
-
Object.defineProperty(exports, "useSelect", {
|
|
482
|
-
enumerable: true,
|
|
483
|
-
get: function get() {
|
|
484
|
-
return _hooks.useSelect;
|
|
485
|
-
}
|
|
486
|
-
});
|
|
487
|
-
Object.defineProperty(exports, "useTextContent", {
|
|
488
|
-
enumerable: true,
|
|
489
|
-
get: function get() {
|
|
490
|
-
return _hooks.useTextContent;
|
|
491
|
-
}
|
|
492
|
-
});
|
|
493
|
-
Object.defineProperty(exports, "visuallyHidden", {
|
|
494
|
-
enumerable: true,
|
|
495
|
-
get: function get() {
|
|
496
|
-
return _mixins.visuallyHidden;
|
|
497
|
-
}
|
|
498
|
-
});
|
|
499
|
-
var _index = require("./systemProps/index.flow");
|
|
500
|
-
Object.keys(_index).forEach(function (key) {
|
|
501
|
-
if (key === "default" || key === "__esModule") return;
|
|
502
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
503
|
-
if (key in exports && exports[key] === _index[key]) return;
|
|
504
|
-
Object.defineProperty(exports, key, {
|
|
505
|
-
enumerable: true,
|
|
506
|
-
get: function get() {
|
|
507
|
-
return _index[key];
|
|
508
|
-
}
|
|
509
|
-
});
|
|
510
|
-
});
|
|
511
|
-
var _theme = _interopRequireDefault(require("./themes/light/theme.flow"));
|
|
512
|
-
var _theme2 = _interopRequireDefault(require("./themes/dark/theme.flow"));
|
|
513
|
-
var _index2 = require("./themes/extendedThemes/sproutTheme/index.flow");
|
|
514
|
-
var _index3 = _interopRequireDefault(require("./ThemeProvider/index.flow"));
|
|
515
|
-
var _hooks = require("./utils/hooks.flow");
|
|
516
|
-
var _mixins = require("./utils/mixins.flow");
|
|
517
|
-
var _useInteractiveColor = require("./utils/useInteractiveColor.flow");
|
|
518
|
-
var _index4 = _interopRequireDefault(require("./Avatar/index.flow"));
|
|
519
|
-
var _index5 = _interopRequireWildcard(require("./Badge/index.flow"));
|
|
520
|
-
var _index6 = _interopRequireDefault(require("./Banner/index.flow"));
|
|
521
|
-
var _index7 = _interopRequireDefault(require("./Box/index.flow"));
|
|
522
|
-
var _index8 = _interopRequireDefault(require("./Breadcrumb/index.flow"));
|
|
523
|
-
var _index9 = _interopRequireDefault(require("./Button/index.flow"));
|
|
524
|
-
var _index10 = _interopRequireDefault(require("./Card/index.flow"));
|
|
525
|
-
var _index11 = _interopRequireDefault(require("./CharacterCounter/index.flow"));
|
|
526
|
-
var _index12 = _interopRequireDefault(require("./ChartLegend/index.flow"));
|
|
527
|
-
var _index13 = _interopRequireDefault(require("./Checkbox/index.flow"));
|
|
528
|
-
var _index14 = _interopRequireDefault(require("./Collapsible/index.flow"));
|
|
529
|
-
var _index15 = require("./DatePicker/index.flow");
|
|
530
|
-
var _index16 = _interopRequireDefault(require("./Drawer/index.flow"));
|
|
531
|
-
var _index17 = _interopRequireDefault(require("./EmptyState/index.flow"));
|
|
532
|
-
var _index18 = _interopRequireDefault(require("./Fieldset/index.flow"));
|
|
533
|
-
var _index19 = _interopRequireDefault(require("./FormField/index.flow"));
|
|
534
|
-
var _index20 = require("./Icon/index.flow");
|
|
535
|
-
Object.keys(_index20).forEach(function (key) {
|
|
536
|
-
if (key === "default" || key === "__esModule") return;
|
|
537
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
538
|
-
if (key in exports && exports[key] === _index20[key]) return;
|
|
539
|
-
Object.defineProperty(exports, key, {
|
|
540
|
-
enumerable: true,
|
|
541
|
-
get: function get() {
|
|
542
|
-
return _index20[key];
|
|
543
|
-
}
|
|
544
|
-
});
|
|
545
|
-
});
|
|
546
|
-
var _index21 = _interopRequireDefault(require("./Image/index.flow"));
|
|
547
|
-
var _index22 = _interopRequireDefault(require("./Indicator/index.flow"));
|
|
548
|
-
var _index23 = _interopRequireDefault(require("./Input/index.flow"));
|
|
549
|
-
var _index24 = _interopRequireDefault(require("./KeyboardKey/index.flow"));
|
|
550
|
-
var _index25 = _interopRequireDefault(require("./Label/index.flow"));
|
|
551
|
-
var _index26 = _interopRequireDefault(require("./Link/index.flow"));
|
|
552
|
-
var _index27 = _interopRequireWildcard(require("./Listbox/index.flow"));
|
|
553
|
-
var _index28 = _interopRequireDefault(require("./Loader/index.flow"));
|
|
554
|
-
var _index29 = _interopRequireDefault(require("./LoaderButton/index.flow"));
|
|
555
|
-
var _index30 = _interopRequireWildcard(require("./Menu/index.flow"));
|
|
556
|
-
var _index31 = _interopRequireDefault(require("./Message/index.flow"));
|
|
557
|
-
var _index32 = _interopRequireDefault(require("./Modal/index.flow"));
|
|
558
|
-
var _index33 = _interopRequireDefault(require("./Numeral/index.flow"));
|
|
559
|
-
var _index34 = _interopRequireDefault(require("./PartnerLogo/index.flow"));
|
|
560
|
-
var _index35 = _interopRequireDefault(require("./Popout/index.flow"));
|
|
561
|
-
var _index36 = _interopRequireDefault(require("./Radio/index.flow"));
|
|
562
|
-
var _index37 = _interopRequireDefault(require("./SegmentedControl/index.flow"));
|
|
563
|
-
var _index38 = _interopRequireDefault(require("./Select/index.flow"));
|
|
564
|
-
var _index39 = _interopRequireDefault(require("./Skeleton/index.flow"));
|
|
565
|
-
var _index40 = _interopRequireDefault(require("./SpotIllustration/index.flow"));
|
|
566
|
-
var _index41 = _interopRequireDefault(require("./Stack/index.flow"));
|
|
567
|
-
var _index42 = require("./Switch/index.flow");
|
|
568
|
-
Object.keys(_index42).forEach(function (key) {
|
|
569
|
-
if (key === "default" || key === "__esModule") return;
|
|
570
|
-
if (Object.prototype.hasOwnProperty.call(_exportNames, key)) return;
|
|
571
|
-
if (key in exports && exports[key] === _index42[key]) return;
|
|
572
|
-
Object.defineProperty(exports, key, {
|
|
573
|
-
enumerable: true,
|
|
574
|
-
get: function get() {
|
|
575
|
-
return _index42[key];
|
|
576
|
-
}
|
|
577
|
-
});
|
|
578
|
-
});
|
|
579
|
-
var _index43 = _interopRequireDefault(require("./Table/index.flow"));
|
|
580
|
-
var _index44 = _interopRequireDefault(require("./TableCell/index.flow"));
|
|
581
|
-
var _index45 = _interopRequireDefault(require("./TableHeaderCell/index.flow"));
|
|
582
|
-
var _index46 = _interopRequireDefault(require("./TableRowAccordion/index.flow"));
|
|
583
|
-
var _index47 = _interopRequireDefault(require("./Tabs/index.flow"));
|
|
584
|
-
var _index48 = _interopRequireDefault(require("./Text/index.flow"));
|
|
585
|
-
var _index49 = _interopRequireDefault(require("./Textarea/index.flow"));
|
|
586
|
-
var _index50 = _interopRequireWildcard(require("./Toast/index.flow"));
|
|
587
|
-
var _index51 = _interopRequireDefault(require("./ToggleHint/index.flow"));
|
|
588
|
-
var _index52 = _interopRequireDefault(require("./Token/index.flow"));
|
|
589
|
-
var _index53 = _interopRequireDefault(require("./TokenInput/index.flow"));
|
|
590
|
-
var _index54 = _interopRequireDefault(require("./Tooltip/index.flow"));
|
|
591
|
-
var _index55 = require("./VisuallyHidden/index.flow");
|
|
592
|
-
function _getRequireWildcardCache(e) { if ("function" != typeof WeakMap) return null; var r = new WeakMap(), t = new WeakMap(); return (_getRequireWildcardCache = function _getRequireWildcardCache(e) { return e ? t : r; })(e); }
|
|
593
|
-
function _interopRequireWildcard(e, r) { if (!r && e && e.__esModule) return e; if (null === e || "object" != _typeof(e) && "function" != typeof e) return { default: e }; var t = _getRequireWildcardCache(r); if (t && t.has(e)) return t.get(e); var n = { __proto__: null }, a = Object.defineProperty && Object.getOwnPropertyDescriptor; for (var u in e) if ("default" !== u && Object.prototype.hasOwnProperty.call(e, u)) { var i = a ? Object.getOwnPropertyDescriptor(e, u) : null; i && (i.get || i.set) ? Object.defineProperty(n, u, i) : n[u] = e[u]; } return n.default = e, t && t.set(e, n), n; }
|
|
594
|
-
function _interopRequireDefault(obj) { return obj && obj.__esModule ? obj : { default: obj }; }
|
package/commonjs/index.js.flow
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.backgroundSystemProps = void 0;
|
|
7
|
-
var _styledSystem = require("styled-system");
|
|
8
|
-
// https://styled-system.com/table#background
|
|
9
|
-
var backgroundSystemProps = exports.backgroundSystemProps = _styledSystem.background;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
Object.defineProperty(exports, "__esModule", {
|
|
4
|
-
value: true
|
|
5
|
-
});
|
|
6
|
-
exports.borderSystemProps = void 0;
|
|
7
|
-
var _styledSystem = require("styled-system");
|
|
8
|
-
// https://styled-system.com/table#border
|
|
9
|
-
var borderSystemProps = exports.borderSystemProps = _styledSystem.border;
|