@sproutsocial/racine 20.16.0 → 21.0.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +22 -0
- package/__flow__/Avatar/Avatar.flow.js +4 -4
- package/__flow__/Avatar/constants.flow.js +8 -8
- package/__flow__/Badge/Badge.flow.js +2 -2
- package/__flow__/Badge/constants.flow.js +11 -11
- package/__flow__/Banner/Banner.flow.js +2 -2
- package/__flow__/Box/Box.flow.js +2 -2
- package/__flow__/Breadcrumb/Breadcrumb.flow.js +1 -1
- package/__flow__/Button/Button.flow.js +5 -5
- package/__flow__/Card/Card.flow.js +1 -1
- package/__flow__/Card/CardTypes.flow.js +6 -6
- package/__flow__/CharacterCounter/CharacterCounter.flow.js +2 -2
- package/__flow__/ChartLegend/ChartLegend.flow.js +2 -2
- package/__flow__/Checkbox/Checkbox.flow.js +2 -2
- package/__flow__/Collapsible/Collapsible.flow.js +1 -1
- package/__flow__/DatePicker/DateRangePicker/DateRangePicker.flow.js +2 -2
- package/__flow__/DatePicker/DateRangePicker/StatefulDateRangePicker.flow.js +4 -4
- package/__flow__/DatePicker/SingleDatePicker/SingleDatePicker.flow.js +1 -1
- package/__flow__/DatePicker/SingleDatePicker/StatefulSingleDatePicker.flow.js +1 -1
- package/__flow__/DatePicker/common.flow.js +1 -1
- package/__flow__/Drawer/Drawer.flow.js +2 -2
- package/__flow__/EmptyState/EmptyState.flow.js +1 -1
- package/__flow__/Fieldset/Fieldset.flow.js +2 -2
- package/__flow__/FormField/FormField.flow.js +1 -1
- package/__flow__/Icon/Icon.flow.js +12 -12
- package/__flow__/Image/Image.flow.js +5 -5
- package/__flow__/Indicator/Indicator.flow.js +1 -1
- package/__flow__/Input/Input.flow.js +4 -4
- package/__flow__/KeyboardKey/KeyboardKey.flow.js +1 -1
- package/__flow__/Label/Label.flow.js +1 -1
- package/__flow__/Link/Link.flow.js +2 -2
- package/__flow__/Listbox/Listbox.flow.js +5 -5
- package/__flow__/Loader/Loader.flow.js +3 -3
- package/__flow__/LoaderButton/LoaderButton.flow.js +1 -1
- package/__flow__/Menu/Menu.flow.js +9 -9
- package/__flow__/Menu/utils/constants.flow.js +8 -8
- package/__flow__/Message/Message.flow.js +6 -6
- package/__flow__/Modal/Modal.flow.js +1 -1
- package/__flow__/Numeral/Numeral.flow.js +3 -3
- package/__flow__/PartnerLogo/PartnerLogo.flow.js +11 -11
- package/__flow__/Popout/Popout.flow.js +4 -4
- package/__flow__/Portal/Portal.flow.js +1 -1
- package/__flow__/Radio/Radio.flow.js +1 -1
- package/__flow__/SegmentedControl/SegmentedControl.flow.js +1 -1
- package/__flow__/Select/Select.flow.js +2 -2
- package/__flow__/Skeleton/Skeleton.flow.js +1 -1
- package/__flow__/SpotIllustration/SpotIllustration.flow.js +3 -3
- package/__flow__/Stack/Stack.flow.js +3 -3
- package/__flow__/Switch/Switch.flow.js +1 -1
- package/__flow__/Table/Table.flow.js +1 -1
- package/__flow__/TableCell/TableCell.flow.js +2 -2
- package/__flow__/TableHeaderCell/TableHeaderCell.flow.js +3 -3
- package/__flow__/TableRowAccordion/TableRowAccordion.flow.js +1 -1
- package/__flow__/Tabs/Tabs.flow.js +1 -1
- package/__flow__/Text/Text.flow.js +1 -1
- package/__flow__/Textarea/Textarea.flow.js +3 -3
- package/__flow__/ThemeProvider/index.flow.js +1 -1
- package/__flow__/Toast/Toast.flow.js +2 -2
- package/__flow__/ToggleHint/ToggleHint.flow.js +4 -4
- package/__flow__/Token/Token.flow.js +2 -2
- package/__flow__/TokenInput/TokenInput.flow.js +2 -2
- package/__flow__/TokenInput/TokenScreenReaderStatus.js +3 -3
- package/__flow__/Tooltip/Tooltip.flow.js +2 -2
- package/__flow__/VisuallyHidden/VisuallyHidden.flow.js +1 -1
- package/__flow__/index.flow.js +3 -3
- package/__flow__/systemProps/background.flow.js +2 -2
- package/__flow__/systemProps/border.flow.js +2 -2
- package/__flow__/systemProps/color.flow.js +2 -2
- package/__flow__/systemProps/custom.flow.js +2 -2
- package/__flow__/systemProps/flexbox.flow.js +2 -2
- package/__flow__/systemProps/grid.flow.js +2 -2
- package/__flow__/systemProps/layout.flow.js +2 -2
- package/__flow__/systemProps/position.flow.js +2 -2
- package/__flow__/systemProps/shadow.flow.js +2 -2
- package/__flow__/systemProps/space.flow.js +2 -2
- package/__flow__/systemProps/systemProps.flow.js +1 -1
- package/__flow__/systemProps/tests/types.flow.js +17 -17
- package/__flow__/systemProps/typography.flow.js +2 -2
- package/__flow__/systemProps/variant.flow.js +3 -3
- package/__flow__/themes/light/dataviz-palette.flow.js +20 -20
- package/__flow__/themes/light/literal-colors.flow.js +12 -12
- package/__flow__/types/shared.flow.js +1 -1
- package/__flow__/types/styled-components.flow.js +1 -1
- package/__flow__/types/system-props.flow.js +2 -2
- package/__flow__/types/theme.flow.js +28 -28
- package/__flow__/utils/hooks.flow.js +3 -3
- package/__flow__/utils/index.flow.js +1 -1
- package/__flow__/utils/innerText.flow.js +1 -1
- package/__flow__/utils/mixins.flow.js +1 -1
- package/__flow__/utils/react-testing-library.flow.js +3 -3
- package/__flow__/utils/responsiveProps/index.test.flow.js +7 -7
- package/bin/racine-codemod.js +18 -18
- package/codemods/__tests__/icon-library.test.js +31 -31
- package/codemods/__tests__/icon-name-substitution.test.js +8 -8
- package/codemods/__tests__/migrate-2.x-to-3.x.test.js +2 -2
- package/codemods/codemod-docs.js +17 -17
- package/codemods/icon-library.js +35 -35
- package/codemods/icon-name-substitution.js +5 -5
- package/codemods/migrate-2.x-to-3.x.js +30 -29
- package/commonjs/Avatar/Avatar.js +16 -16
- package/commonjs/Avatar/constants.flow.js +8 -8
- package/commonjs/Avatar/constants.js +8 -8
- package/commonjs/Badge/Badge.js +6 -6
- package/commonjs/Badge/constants.flow.js +11 -11
- package/commonjs/Badge/constants.js +25 -25
- package/commonjs/Badge/styles.js +2 -2
- package/commonjs/Banner/Banner.js +22 -22
- package/commonjs/Box/Box.js +1 -1
- package/commonjs/Breadcrumb/Breadcrumb.js +3 -3
- package/commonjs/Breadcrumb/styles.js +1 -1
- package/commonjs/Button/Button.js +10 -10
- package/commonjs/Button/styles.js +9 -9
- package/commonjs/Card/Card.js +3 -3
- package/commonjs/Card/styles.js +2 -2
- package/commonjs/Card/subComponents.js +2 -2
- package/commonjs/Card/utils.js +6 -6
- package/commonjs/CharacterCounter/CharacterCounter.js +2 -2
- package/commonjs/ChartLegend/ChartLegend.js +1 -1
- package/commonjs/ChartLegend/styles.js +2 -2
- package/commonjs/ChartLegend/useChartLabels.js +3 -3
- package/commonjs/Checkbox/Checkbox.js +8 -8
- package/commonjs/Checkbox/styles.js +13 -13
- package/commonjs/Collapsible/Collapsible.js +4 -4
- package/commonjs/Collapsible/styles.js +1 -1
- package/commonjs/DatePicker/common.js +8 -8
- package/commonjs/DatePicker/styles.js +5 -5
- package/commonjs/Drawer/Drawer.js +12 -12
- package/commonjs/Drawer/SlideTransition.js +2 -2
- package/commonjs/EmptyState/EmptyState.js +2 -2
- package/commonjs/Fieldset/Fieldset.js +5 -5
- package/commonjs/Fieldset/styles.js +2 -2
- package/commonjs/FormField/FormField.js +4 -4
- package/commonjs/Icon/Icon.js +9 -9
- package/commonjs/Icon/styles.js +7 -7
- package/commonjs/Image/Image.js +3 -3
- package/commonjs/Image/styles.js +1 -1
- package/commonjs/Indicator/Indicator.js +1 -1
- package/commonjs/Indicator/styles.js +1 -1
- package/commonjs/Input/Input.js +20 -20
- package/commonjs/Input/styles.js +13 -13
- package/commonjs/Label/Label.js +1 -1
- package/commonjs/Link/Link.js +5 -5
- package/commonjs/Link/constants.js +3 -3
- package/commonjs/Link/styles.js +1 -1
- package/commonjs/Listbox/Listbox.js +8 -8
- package/commonjs/Loader/Loader.js +6 -6
- package/commonjs/Loader/styles.js +3 -3
- package/commonjs/LoaderButton/LoaderButton.js +4 -4
- package/commonjs/Menu/Menu.js +31 -31
- package/commonjs/Menu/styles.js +1 -1
- package/commonjs/Menu/utils/constants.flow.js +8 -8
- package/commonjs/Menu/utils/constants.js +8 -8
- package/commonjs/Menu/utils/descendants.js +24 -24
- package/commonjs/Menu/utils/hooks.js +9 -9
- package/commonjs/Message/Message.flow.js +4 -4
- package/commonjs/Message/Message.js +16 -16
- package/commonjs/Message/constants.js +4 -4
- package/commonjs/Message/styles.js +7 -7
- package/commonjs/Modal/Modal.js +8 -8
- package/commonjs/Modal/styles.js +11 -11
- package/commonjs/Numeral/Numeral.js +10 -10
- package/commonjs/PartnerLogo/PartnerLogo.js +12 -12
- package/commonjs/PartnerLogo/PartnerLogoTypes.js +8 -9
- package/commonjs/PartnerLogo/styles.js +7 -7
- package/commonjs/Popout/Popout.js +29 -29
- package/commonjs/Portal/Portal.js +3 -3
- package/commonjs/Radio/Radio.js +2 -2
- package/commonjs/Radio/styles.js +9 -9
- package/commonjs/SegmentedControl/SegmentedControl.js +1 -1
- package/commonjs/Select/Select.js +4 -4
- package/commonjs/Select/styles.js +16 -16
- package/commonjs/Skeleton/Skeleton.js +1 -1
- package/commonjs/SpotIllustration/SpotIllustration.js +4 -7
- package/commonjs/SpotIllustration/illustrationNames.js +1 -1
- package/commonjs/Stack/Stack.js +21 -21
- package/commonjs/Switch/Switch.js +1 -1
- package/commonjs/Switch/styles.js +1 -1
- package/commonjs/Table/Table.js +5 -5
- package/commonjs/TableCell/TableCell.js +1 -1
- package/commonjs/TableHeaderCell/TableHeaderCell.flow.js +2 -2
- package/commonjs/TableHeaderCell/TableHeaderCell.js +7 -7
- package/commonjs/TableHeaderCell/constants.js +2 -2
- package/commonjs/TableRowAccordion/TableRowAccordion.js +1 -1
- package/commonjs/Tabs/styles.js +1 -1
- package/commonjs/Text/Text.js +8 -8
- package/commonjs/Text/styles.js +1 -1
- package/commonjs/Textarea/styles.js +2 -2
- package/commonjs/Toast/Toast.js +12 -12
- package/commonjs/ToggleHint/ToggleHint.js +3 -3
- package/commonjs/ToggleHint/styles.js +1 -1
- package/commonjs/Token/Token.js +4 -4
- package/commonjs/Token/styles.js +1 -1
- package/commonjs/TokenInput/TokenInput.js +10 -10
- package/commonjs/TokenInput/TokenScreenReaderStatus.js +1 -1
- package/commonjs/TokenInput/styles.js +1 -1
- package/commonjs/TokenInput/util.js +2 -2
- package/commonjs/Tooltip/Tooltip.js +16 -16
- package/commonjs/Tooltip/styles.js +1 -1
- package/commonjs/index.js +4 -4
- package/commonjs/systemProps/index.js +2 -2
- package/commonjs/systemProps/tests/types.flow.js +14 -14
- package/commonjs/systemProps/variant.flow.js +2 -2
- package/commonjs/themes/dark/dataviz-palette.js +20 -20
- package/commonjs/themes/dark/theme.js +10 -10
- package/commonjs/themes/extendedThemes/sproutTheme/dark/theme.js +1 -1
- package/commonjs/themes/extendedThemes/sproutTheme/light/theme.js +1 -1
- package/commonjs/themes/light/dataviz-palette.js +20 -20
- package/commonjs/themes/light/literal-colors.js +134 -134
- package/commonjs/themes/light/theme.js +12 -12
- package/commonjs/types/system-props.flow.js +1 -1
- package/commonjs/utils/constants.js +1 -1
- package/commonjs/utils/hooks.js +8 -8
- package/commonjs/utils/index.js +3 -3
- package/commonjs/utils/innerText.js +8 -8
- package/commonjs/utils/mixins.js +2 -2
- package/commonjs/utils/responsiveProps/index.js +1 -1
- package/commonjs/utils/responsiveProps/index.test.flow.js +7 -7
- package/commonjs/utils/system-props/gap.js +6 -6
- package/commonjs/utils/system-props/system-props.js +2 -2
- package/commonjs/utils/use-measure.js +1 -1
- package/commonjs/utils/useInteractiveColor.js +2 -2
- package/dist/types/Avatar/Avatar.d.ts +2 -2
- package/dist/types/Avatar/AvatarTypes.d.ts +5 -5
- package/dist/types/Avatar/AvatarTypes.d.ts.map +1 -1
- package/dist/types/Avatar/index.d.ts +3 -3
- package/dist/types/Avatar/index.d.ts.map +1 -1
- package/dist/types/Badge/Badge.d.ts +1 -1
- package/dist/types/Badge/Badge.d.ts.map +1 -1
- package/dist/types/Badge/BadgeTypes.d.ts +6 -6
- package/dist/types/Badge/BadgeTypes.d.ts.map +1 -1
- package/dist/types/Badge/index.d.ts +3 -3
- package/dist/types/Badge/index.d.ts.map +1 -1
- package/dist/types/Banner/Banner.d.ts +1 -1
- package/dist/types/Banner/Banner.d.ts.map +1 -1
- package/dist/types/Banner/BannerTypes.d.ts +7 -7
- package/dist/types/Banner/BannerTypes.d.ts.map +1 -1
- package/dist/types/Banner/index.d.ts +2 -2
- package/dist/types/Banner/index.d.ts.map +1 -1
- package/dist/types/Banner/styles.d.ts +1 -1
- package/dist/types/Banner/styles.d.ts.map +1 -1
- package/dist/types/Box/Box.d.ts +2 -2
- package/dist/types/Box/Box.d.ts.map +1 -1
- package/dist/types/Box/BoxTypes.d.ts +3 -3
- package/dist/types/Box/BoxTypes.d.ts.map +1 -1
- package/dist/types/Box/index.d.ts +2 -2
- package/dist/types/Box/index.d.ts.map +1 -1
- package/dist/types/Box/styles.d.ts +1 -1
- package/dist/types/Box/styles.d.ts.map +1 -1
- package/dist/types/Breadcrumb/Breadcrumb.d.ts +1 -1
- package/dist/types/Breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/dist/types/Breadcrumb/BreadcrumbTypes.d.ts +5 -5
- package/dist/types/Breadcrumb/BreadcrumbTypes.d.ts.map +1 -1
- package/dist/types/Breadcrumb/index.d.ts +2 -2
- package/dist/types/Breadcrumb/index.d.ts.map +1 -1
- package/dist/types/Button/Button.d.ts +1 -1
- package/dist/types/Button/Button.d.ts.map +1 -1
- package/dist/types/Button/ButtonTypes.d.ts +7 -7
- package/dist/types/Button/ButtonTypes.d.ts.map +1 -1
- package/dist/types/Button/index.d.ts +2 -2
- package/dist/types/Button/index.d.ts.map +1 -1
- package/dist/types/Button/styles.d.ts +2 -2
- package/dist/types/Button/styles.d.ts.map +1 -1
- package/dist/types/Card/Card.d.ts +1 -1
- package/dist/types/Card/Card.d.ts.map +1 -1
- package/dist/types/Card/CardTypes.d.ts +14 -14
- package/dist/types/Card/CardTypes.d.ts.map +1 -1
- package/dist/types/Card/index.d.ts +3 -3
- package/dist/types/Card/index.d.ts.map +1 -1
- package/dist/types/Card/styles.d.ts +1 -1
- package/dist/types/Card/subComponents.d.ts +2 -2
- package/dist/types/Card/subComponents.d.ts.map +1 -1
- package/dist/types/Card/utils.d.ts +4 -4
- package/dist/types/Card/utils.d.ts.map +1 -1
- package/dist/types/CharacterCounter/CharacterCounter.d.ts +2 -2
- package/dist/types/CharacterCounter/CharacterCounter.d.ts.map +1 -1
- package/dist/types/CharacterCounter/CharacterCounterTypes.d.ts +5 -5
- package/dist/types/CharacterCounter/CharacterCounterTypes.d.ts.map +1 -1
- package/dist/types/CharacterCounter/index.d.ts +2 -2
- package/dist/types/CharacterCounter/index.d.ts.map +1 -1
- package/dist/types/ChartLegend/ChartLegend.d.ts +1 -1
- package/dist/types/ChartLegend/ChartLegend.d.ts.map +1 -1
- package/dist/types/ChartLegend/ChartLegendTypes.d.ts +5 -5
- package/dist/types/ChartLegend/ChartLegendTypes.d.ts.map +1 -1
- package/dist/types/ChartLegend/index.d.ts +2 -2
- package/dist/types/ChartLegend/index.d.ts.map +1 -1
- package/dist/types/ChartLegend/styles.d.ts +3 -3
- package/dist/types/ChartLegend/styles.d.ts.map +1 -1
- package/dist/types/ChartLegend/useChartLabels.d.ts +1 -1
- package/dist/types/ChartLegend/useChartLabels.d.ts.map +1 -1
- package/dist/types/Checkbox/Checkbox.d.ts +2 -2
- package/dist/types/Checkbox/Checkbox.d.ts.map +1 -1
- package/dist/types/Checkbox/CheckboxTypes.d.ts +8 -8
- package/dist/types/Checkbox/CheckboxTypes.d.ts.map +1 -1
- package/dist/types/Checkbox/index.d.ts +2 -2
- package/dist/types/Checkbox/index.d.ts.map +1 -1
- package/dist/types/Checkbox/styles.d.ts +3 -3
- package/dist/types/Checkbox/styles.d.ts.map +1 -1
- package/dist/types/Collapsible/Collapsible.d.ts +1 -1
- package/dist/types/Collapsible/Collapsible.d.ts.map +1 -1
- package/dist/types/Collapsible/CollapsibleTypes.d.ts +1 -1
- package/dist/types/Collapsible/index.d.ts +2 -2
- package/dist/types/Collapsible/index.d.ts.map +1 -1
- package/dist/types/DatePicker/DateRangePicker/DateRangePicker.d.ts +1 -1
- package/dist/types/DatePicker/DateRangePicker/DateRangePicker.d.ts.map +1 -1
- package/dist/types/DatePicker/DateRangePicker/DateRangePickerTypes.d.ts +4 -4
- package/dist/types/DatePicker/DateRangePicker/DateRangePickerTypes.d.ts.map +1 -1
- package/dist/types/DatePicker/DateRangePicker/StatefulDateRangePicker.d.ts +1 -1
- package/dist/types/DatePicker/DateRangePicker/StatefulDateRangePicker.d.ts.map +1 -1
- package/dist/types/DatePicker/DateRangePicker/index.d.ts +3 -3
- package/dist/types/DatePicker/DateRangePicker/index.d.ts.map +1 -1
- package/dist/types/DatePicker/SingleDatePicker/SingleDatePicker.d.ts +2 -2
- package/dist/types/DatePicker/SingleDatePicker/SingleDatePicker.d.ts.map +1 -1
- package/dist/types/DatePicker/SingleDatePicker/SingleDatePickerTypes.d.ts +3 -3
- package/dist/types/DatePicker/SingleDatePicker/SingleDatePickerTypes.d.ts.map +1 -1
- package/dist/types/DatePicker/SingleDatePicker/StatefulSingleDatePicker.d.ts +1 -1
- package/dist/types/DatePicker/SingleDatePicker/StatefulSingleDatePicker.d.ts.map +1 -1
- package/dist/types/DatePicker/SingleDatePicker/index.d.ts +3 -3
- package/dist/types/DatePicker/SingleDatePicker/index.d.ts.map +1 -1
- package/dist/types/DatePicker/common.d.ts +5 -5
- package/dist/types/DatePicker/common.d.ts.map +1 -1
- package/dist/types/DatePicker/index.d.ts +2 -2
- package/dist/types/DatePicker/styles.d.ts +2 -2
- package/dist/types/DatePicker/styles.d.ts.map +1 -1
- package/dist/types/DatePicker/types.d.ts +3 -3
- package/dist/types/DatePicker/types.d.ts.map +1 -1
- package/dist/types/Drawer/Drawer.d.ts +2 -2
- package/dist/types/Drawer/Drawer.d.ts.map +1 -1
- package/dist/types/Drawer/DrawerTypes.d.ts +9 -9
- package/dist/types/Drawer/DrawerTypes.d.ts.map +1 -1
- package/dist/types/Drawer/SlideTransition.d.ts +3 -3
- package/dist/types/Drawer/SlideTransition.d.ts.map +1 -1
- package/dist/types/Drawer/index.d.ts +2 -2
- package/dist/types/Drawer/index.d.ts.map +1 -1
- package/dist/types/Drawer/styles.d.ts +3 -3
- package/dist/types/Drawer/styles.d.ts.map +1 -1
- package/dist/types/EmptyState/EmptyState.d.ts +1 -1
- package/dist/types/EmptyState/EmptyState.d.ts.map +1 -1
- package/dist/types/EmptyState/EmptyStateTypes.d.ts +2 -2
- package/dist/types/EmptyState/EmptyStateTypes.d.ts.map +1 -1
- package/dist/types/EmptyState/index.d.ts +2 -2
- package/dist/types/EmptyState/index.d.ts.map +1 -1
- package/dist/types/Fieldset/Fieldset.d.ts +1 -1
- package/dist/types/Fieldset/Fieldset.d.ts.map +1 -1
- package/dist/types/Fieldset/FieldsetTypes.d.ts +4 -4
- package/dist/types/Fieldset/FieldsetTypes.d.ts.map +1 -1
- package/dist/types/Fieldset/index.d.ts +2 -2
- package/dist/types/Fieldset/index.d.ts.map +1 -1
- package/dist/types/Fieldset/styles.d.ts +1 -1
- package/dist/types/Fieldset/styles.d.ts.map +1 -1
- package/dist/types/FormField/FormField.d.ts +1 -1
- package/dist/types/FormField/FormField.d.ts.map +1 -1
- package/dist/types/FormField/FormFieldTypes.d.ts +3 -3
- package/dist/types/FormField/FormFieldTypes.d.ts.map +1 -1
- package/dist/types/FormField/index.d.ts +2 -2
- package/dist/types/FormField/index.d.ts.map +1 -1
- package/dist/types/Icon/Icon.d.ts +1 -1
- package/dist/types/Icon/Icon.d.ts.map +1 -1
- package/dist/types/Icon/IconTypes.d.ts +10 -10
- package/dist/types/Icon/IconTypes.d.ts.map +1 -1
- package/dist/types/Icon/index.d.ts +2 -2
- package/dist/types/Icon/index.d.ts.map +1 -1
- package/dist/types/Icon/styles.d.ts +1 -1
- package/dist/types/Icon/styles.d.ts.map +1 -1
- package/dist/types/Image/Image.d.ts +2 -2
- package/dist/types/Image/Image.d.ts.map +1 -1
- package/dist/types/Image/ImageTypes.d.ts +5 -5
- package/dist/types/Image/ImageTypes.d.ts.map +1 -1
- package/dist/types/Image/index.d.ts +2 -2
- package/dist/types/Image/index.d.ts.map +1 -1
- package/dist/types/Indicator/Indicator.d.ts +2 -2
- package/dist/types/Indicator/Indicator.d.ts.map +1 -1
- package/dist/types/Indicator/IndicatorTypes.d.ts +4 -4
- package/dist/types/Indicator/IndicatorTypes.d.ts.map +1 -1
- package/dist/types/Indicator/index.d.ts +2 -2
- package/dist/types/Indicator/index.d.ts.map +1 -1
- package/dist/types/Input/Input.d.ts +2 -2
- package/dist/types/Input/Input.d.ts.map +1 -1
- package/dist/types/Input/InputTypes.d.ts +11 -11
- package/dist/types/Input/InputTypes.d.ts.map +1 -1
- package/dist/types/Input/index.d.ts +2 -2
- package/dist/types/Input/index.d.ts.map +1 -1
- package/dist/types/Input/styles.d.ts +1 -1
- package/dist/types/Input/styles.d.ts.map +1 -1
- package/dist/types/KeyboardKey/KeyboardKey.d.ts +2 -2
- package/dist/types/KeyboardKey/KeyboardKey.d.ts.map +1 -1
- package/dist/types/KeyboardKey/KeyboardKeyTypes.d.ts +4 -4
- package/dist/types/KeyboardKey/KeyboardKeyTypes.d.ts.map +1 -1
- package/dist/types/KeyboardKey/index.d.ts +2 -2
- package/dist/types/KeyboardKey/index.d.ts.map +1 -1
- package/dist/types/Label/Label.d.ts +2 -2
- package/dist/types/Label/Label.d.ts.map +1 -1
- package/dist/types/Label/LabelTypes.d.ts +2 -2
- package/dist/types/Label/LabelTypes.d.ts.map +1 -1
- package/dist/types/Label/index.d.ts +2 -2
- package/dist/types/Label/index.d.ts.map +1 -1
- package/dist/types/Link/Link.d.ts +1 -1
- package/dist/types/Link/Link.d.ts.map +1 -1
- package/dist/types/Link/LinkTypes.d.ts +6 -6
- package/dist/types/Link/LinkTypes.d.ts.map +1 -1
- package/dist/types/Link/index.d.ts +3 -3
- package/dist/types/Link/index.d.ts.map +1 -1
- package/dist/types/Link/styles.d.ts +1 -1
- package/dist/types/Link/styles.d.ts.map +1 -1
- package/dist/types/Listbox/Listbox.d.ts +1 -1
- package/dist/types/Listbox/Listbox.d.ts.map +1 -1
- package/dist/types/Listbox/ListboxTypes.d.ts +9 -9
- package/dist/types/Listbox/ListboxTypes.d.ts.map +1 -1
- package/dist/types/Listbox/index.d.ts +2 -2
- package/dist/types/Listbox/index.d.ts.map +1 -1
- package/dist/types/Loader/Loader.d.ts +2 -2
- package/dist/types/Loader/Loader.d.ts.map +1 -1
- package/dist/types/Loader/LoaderTypes.d.ts +6 -6
- package/dist/types/Loader/LoaderTypes.d.ts.map +1 -1
- package/dist/types/Loader/index.d.ts +2 -2
- package/dist/types/Loader/index.d.ts.map +1 -1
- package/dist/types/Loader/styles.d.ts +2 -2
- package/dist/types/Loader/styles.d.ts.map +1 -1
- package/dist/types/LoaderButton/LoaderButton.d.ts +1 -1
- package/dist/types/LoaderButton/LoaderButton.d.ts.map +1 -1
- package/dist/types/LoaderButton/LoaderButtonTypes.d.ts +1 -1
- package/dist/types/LoaderButton/LoaderButtonTypes.d.ts.map +1 -1
- package/dist/types/LoaderButton/index.d.ts +2 -2
- package/dist/types/LoaderButton/index.d.ts.map +1 -1
- package/dist/types/Menu/Menu.d.ts +3 -3
- package/dist/types/Menu/Menu.d.ts.map +1 -1
- package/dist/types/Menu/MenuTypes.d.ts +22 -22
- package/dist/types/Menu/MenuTypes.d.ts.map +1 -1
- package/dist/types/Menu/index.d.ts +4 -4
- package/dist/types/Menu/index.d.ts.map +1 -1
- package/dist/types/Menu/styles.d.ts +1 -1
- package/dist/types/Menu/styles.d.ts.map +1 -1
- package/dist/types/Menu/utils/descendants.d.ts +4 -4
- package/dist/types/Menu/utils/descendants.d.ts.map +1 -1
- package/dist/types/Menu/utils/hooks.d.ts +1 -1
- package/dist/types/Menu/utils/hooks.d.ts.map +1 -1
- package/dist/types/Menu/utils/index.d.ts +3 -3
- package/dist/types/Message/Message.d.ts +7 -7
- package/dist/types/Message/Message.d.ts.map +1 -1
- package/dist/types/Message/MessageTypes.d.ts +6 -6
- package/dist/types/Message/MessageTypes.d.ts.map +1 -1
- package/dist/types/Message/index.d.ts +3 -3
- package/dist/types/Message/index.d.ts.map +1 -1
- package/dist/types/Message/styles.d.ts +1 -1
- package/dist/types/Message/styles.d.ts.map +1 -1
- package/dist/types/Modal/Modal.d.ts +2 -2
- package/dist/types/Modal/ModalTypes.d.ts +6 -6
- package/dist/types/Modal/ModalTypes.d.ts.map +1 -1
- package/dist/types/Modal/index.d.ts +2 -2
- package/dist/types/Modal/index.d.ts.map +1 -1
- package/dist/types/Modal/styles.d.ts +3 -3
- package/dist/types/Modal/styles.d.ts.map +1 -1
- package/dist/types/Numeral/Numeral.d.ts +1 -1
- package/dist/types/Numeral/Numeral.d.ts.map +1 -1
- package/dist/types/Numeral/NumeralTypes.d.ts +5 -5
- package/dist/types/Numeral/NumeralTypes.d.ts.map +1 -1
- package/dist/types/Numeral/constants.d.ts +1 -1
- package/dist/types/Numeral/constants.d.ts.map +1 -1
- package/dist/types/Numeral/index.d.ts +2 -2
- package/dist/types/Numeral/index.d.ts.map +1 -1
- package/dist/types/PartnerLogo/PartnerLogo.d.ts +1 -1
- package/dist/types/PartnerLogo/PartnerLogo.d.ts.map +1 -1
- package/dist/types/PartnerLogo/PartnerLogoTypes.d.ts +10 -10
- package/dist/types/PartnerLogo/PartnerLogoTypes.d.ts.map +1 -1
- package/dist/types/PartnerLogo/index.d.ts +2 -2
- package/dist/types/PartnerLogo/index.d.ts.map +1 -1
- package/dist/types/PartnerLogo/styles.d.ts +2 -2
- package/dist/types/Popout/Popout.d.ts +3 -3
- package/dist/types/Popout/Popout.d.ts.map +1 -1
- package/dist/types/Popout/PopoutTypes.d.ts +8 -8
- package/dist/types/Popout/PopoutTypes.d.ts.map +1 -1
- package/dist/types/Popout/index.d.ts +2 -2
- package/dist/types/Popout/index.d.ts.map +1 -1
- package/dist/types/Portal/Portal.d.ts +2 -2
- package/dist/types/Portal/Portal.d.ts.map +1 -1
- package/dist/types/Portal/PortalTypes.d.ts +1 -1
- package/dist/types/Portal/index.d.ts +2 -2
- package/dist/types/Radio/Radio.d.ts +2 -2
- package/dist/types/Radio/Radio.d.ts.map +1 -1
- package/dist/types/Radio/RadioTypes.d.ts +5 -5
- package/dist/types/Radio/RadioTypes.d.ts.map +1 -1
- package/dist/types/Radio/index.d.ts +2 -2
- package/dist/types/Radio/index.d.ts.map +1 -1
- package/dist/types/SegmentedControl/SegmentedControl.d.ts +1 -1
- package/dist/types/SegmentedControl/SegmentedControlTypes.d.ts +2 -2
- package/dist/types/SegmentedControl/SegmentedControlTypes.d.ts.map +1 -1
- package/dist/types/SegmentedControl/index.d.ts +2 -2
- package/dist/types/SegmentedControl/index.d.ts.map +1 -1
- package/dist/types/SegmentedControl/styles.d.ts +1 -1
- package/dist/types/SegmentedControl/styles.d.ts.map +1 -1
- package/dist/types/Select/Select.d.ts +2 -2
- package/dist/types/Select/Select.d.ts.map +1 -1
- package/dist/types/Select/SelectTypes.d.ts +9 -9
- package/dist/types/Select/SelectTypes.d.ts.map +1 -1
- package/dist/types/Select/index.d.ts +2 -2
- package/dist/types/Select/index.d.ts.map +1 -1
- package/dist/types/Select/styles.d.ts +2 -2
- package/dist/types/Select/styles.d.ts.map +1 -1
- package/dist/types/Skeleton/index.d.ts +1 -1
- package/dist/types/Skeleton/index.d.ts.map +1 -1
- package/dist/types/SpotIllustration/SpotIllustration.d.ts +1 -1
- package/dist/types/SpotIllustration/SpotIllustration.d.ts.map +1 -1
- package/dist/types/SpotIllustration/SpotIllustrationTypes.d.ts +4 -4
- package/dist/types/SpotIllustration/SpotIllustrationTypes.d.ts.map +1 -1
- package/dist/types/SpotIllustration/illustrationNames.d.ts.map +1 -1
- package/dist/types/SpotIllustration/index.d.ts +2 -2
- package/dist/types/SpotIllustration/index.d.ts.map +1 -1
- package/dist/types/Stack/Stack.d.ts +1 -1
- package/dist/types/Stack/Stack.d.ts.map +1 -1
- package/dist/types/Stack/StackTypes.d.ts +5 -5
- package/dist/types/Stack/StackTypes.d.ts.map +1 -1
- package/dist/types/Stack/index.d.ts +2 -2
- package/dist/types/Stack/index.d.ts.map +1 -1
- package/dist/types/StatefulStory.d.ts +1 -1
- package/dist/types/StatefulStory.d.ts.map +1 -1
- package/dist/types/Switch/Switch.d.ts +1 -1
- package/dist/types/Switch/Switch.d.ts.map +1 -1
- package/dist/types/Switch/SwitchTypes.d.ts +4 -4
- package/dist/types/Switch/SwitchTypes.d.ts.map +1 -1
- package/dist/types/Switch/index.d.ts +2 -2
- package/dist/types/Switch/index.d.ts.map +1 -1
- package/dist/types/Table/Table.d.ts +3 -3
- package/dist/types/Table/Table.d.ts.map +1 -1
- package/dist/types/Table/TableTypes.d.ts +6 -6
- package/dist/types/Table/TableTypes.d.ts.map +1 -1
- package/dist/types/Table/index.d.ts +2 -2
- package/dist/types/Table/index.d.ts.map +1 -1
- package/dist/types/TableCell/TableCell.d.ts +2 -2
- package/dist/types/TableCell/TableCell.d.ts.map +1 -1
- package/dist/types/TableCell/TableCellTypes.d.ts +4 -4
- package/dist/types/TableCell/TableCellTypes.d.ts.map +1 -1
- package/dist/types/TableCell/index.d.ts +2 -2
- package/dist/types/TableCell/index.d.ts.map +1 -1
- package/dist/types/TableCell/styles.d.ts +2 -2
- package/dist/types/TableCell/styles.d.ts.map +1 -1
- package/dist/types/TableHeaderCell/TableHeaderCell.d.ts +3 -3
- package/dist/types/TableHeaderCell/TableHeaderCell.d.ts.map +1 -1
- package/dist/types/TableHeaderCell/TableHeaderCellTypes.d.ts +4 -4
- package/dist/types/TableHeaderCell/TableHeaderCellTypes.d.ts.map +1 -1
- package/dist/types/TableHeaderCell/index.d.ts +3 -3
- package/dist/types/TableHeaderCell/index.d.ts.map +1 -1
- package/dist/types/TableHeaderCell/styles.d.ts +3 -3
- package/dist/types/TableHeaderCell/styles.d.ts.map +1 -1
- package/dist/types/TableRowAccordion/TableRowAccordion.d.ts +2 -2
- package/dist/types/TableRowAccordion/TableRowAccordion.d.ts.map +1 -1
- package/dist/types/TableRowAccordion/TableRowAccordionTypes.d.ts +4 -4
- package/dist/types/TableRowAccordion/TableRowAccordionTypes.d.ts.map +1 -1
- package/dist/types/TableRowAccordion/index.d.ts +2 -2
- package/dist/types/TableRowAccordion/index.d.ts.map +1 -1
- package/dist/types/TableRowAccordion/styles.d.ts.map +1 -1
- package/dist/types/Tabs/Tabs.d.ts +3 -3
- package/dist/types/Tabs/Tabs.d.ts.map +1 -1
- package/dist/types/Tabs/TabsTypes.d.ts +5 -5
- package/dist/types/Tabs/TabsTypes.d.ts.map +1 -1
- package/dist/types/Tabs/index.d.ts +2 -2
- package/dist/types/Tabs/index.d.ts.map +1 -1
- package/dist/types/Tabs/styles.d.ts +2 -2
- package/dist/types/Tabs/styles.d.ts.map +1 -1
- package/dist/types/Text/Text.d.ts +1 -1
- package/dist/types/Text/Text.d.ts.map +1 -1
- package/dist/types/Text/TextTypes.d.ts +7 -7
- package/dist/types/Text/TextTypes.d.ts.map +1 -1
- package/dist/types/Text/index.d.ts +2 -2
- package/dist/types/Text/index.d.ts.map +1 -1
- package/dist/types/Text/styles.d.ts +1 -1
- package/dist/types/Text/styles.d.ts.map +1 -1
- package/dist/types/Textarea/Textarea.d.ts +2 -2
- package/dist/types/Textarea/Textarea.d.ts.map +1 -1
- package/dist/types/Textarea/TextareaTypes.d.ts +10 -10
- package/dist/types/Textarea/TextareaTypes.d.ts.map +1 -1
- package/dist/types/Textarea/index.d.ts +2 -2
- package/dist/types/Textarea/index.d.ts.map +1 -1
- package/dist/types/Textarea/styles.d.ts +1 -1
- package/dist/types/ThemeProvider/index.d.ts +2 -2
- package/dist/types/ThemeProvider/index.d.ts.map +1 -1
- package/dist/types/Toast/Toast.d.ts +1 -1
- package/dist/types/Toast/ToastTypes.d.ts +4 -4
- package/dist/types/Toast/ToastTypes.d.ts.map +1 -1
- package/dist/types/Toast/index.d.ts +3 -3
- package/dist/types/Toast/index.d.ts.map +1 -1
- package/dist/types/Toast/styles.d.ts +3 -3
- package/dist/types/Toast/styles.d.ts.map +1 -1
- package/dist/types/ToggleHint/ToggleHint.d.ts +2 -2
- package/dist/types/ToggleHint/ToggleHint.d.ts.map +1 -1
- package/dist/types/ToggleHint/ToggleHintTypes.d.ts +5 -5
- package/dist/types/ToggleHint/ToggleHintTypes.d.ts.map +1 -1
- package/dist/types/ToggleHint/index.d.ts +2 -2
- package/dist/types/ToggleHint/index.d.ts.map +1 -1
- package/dist/types/ToggleHint/styles.d.ts +1 -1
- package/dist/types/ToggleHint/styles.d.ts.map +1 -1
- package/dist/types/Token/Token.d.ts +1 -1
- package/dist/types/Token/Token.d.ts.map +1 -1
- package/dist/types/Token/TokenTypes.d.ts +7 -7
- package/dist/types/Token/TokenTypes.d.ts.map +1 -1
- package/dist/types/Token/index.d.ts +2 -2
- package/dist/types/Token/index.d.ts.map +1 -1
- package/dist/types/Token/styles.d.ts +1 -1
- package/dist/types/Token/styles.d.ts.map +1 -1
- package/dist/types/TokenInput/TokenInput.d.ts +2 -2
- package/dist/types/TokenInput/TokenInput.d.ts.map +1 -1
- package/dist/types/TokenInput/TokenInputTypes.d.ts +8 -8
- package/dist/types/TokenInput/TokenInputTypes.d.ts.map +1 -1
- package/dist/types/TokenInput/index.d.ts +2 -2
- package/dist/types/TokenInput/index.d.ts.map +1 -1
- package/dist/types/TokenInput/styles.d.ts +2 -2
- package/dist/types/TokenInput/styles.d.ts.map +1 -1
- package/dist/types/TokenInput/util.d.ts +1 -1
- package/dist/types/TokenInput/util.d.ts.map +1 -1
- package/dist/types/Tooltip/Tooltip.d.ts +1 -1
- package/dist/types/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/types/Tooltip/TooltipTypes.d.ts +7 -7
- package/dist/types/Tooltip/TooltipTypes.d.ts.map +1 -1
- package/dist/types/Tooltip/index.d.ts +2 -2
- package/dist/types/Tooltip/index.d.ts.map +1 -1
- package/dist/types/Tooltip/styles.d.ts +1 -1
- package/dist/types/Tooltip/styles.d.ts.map +1 -1
- package/dist/types/VisuallyHidden/index.d.ts +1 -1
- package/dist/types/index.d.ts +68 -68
- package/dist/types/index.d.ts.map +1 -1
- package/dist/types/systemProps/index.d.ts +3 -3
- package/dist/types/systemProps/index.d.ts.map +1 -1
- package/dist/types/themes/dark/dataviz-palette.d.ts +20 -20
- package/dist/types/themes/dark/theme.d.ts +175 -175
- package/dist/types/themes/dark/theme.d.ts.map +1 -1
- package/dist/types/themes/extendedThemes/sproutTheme/dark/theme.d.ts +1 -1
- package/dist/types/themes/extendedThemes/sproutTheme/dark/theme.d.ts.map +1 -1
- package/dist/types/themes/extendedThemes/sproutTheme/index.d.ts +2 -2
- package/dist/types/themes/extendedThemes/sproutTheme/index.d.ts.map +1 -1
- package/dist/types/themes/extendedThemes/sproutTheme/light/theme.d.ts +1 -1
- package/dist/types/themes/extendedThemes/sproutTheme/light/theme.d.ts.map +1 -1
- package/dist/types/themes/light/dataviz-palette.d.ts +20 -20
- package/dist/types/themes/light/literal-colors.d.ts +134 -134
- package/dist/types/themes/light/theme.d.ts +175 -175
- package/dist/types/types/index.d.ts +5 -5
- package/dist/types/types/styled-components.d.ts +3 -3
- package/dist/types/types/styled-components.d.ts.map +1 -1
- package/dist/types/types/system-props.d.ts +7 -7
- package/dist/types/types/system-props.d.ts.map +1 -1
- package/dist/types/types/theme.colors.d.ts +2 -2
- package/dist/types/types/theme.colors.d.ts.map +1 -1
- package/dist/types/types/theme.d.ts +5 -5
- package/dist/types/types/theme.d.ts.map +1 -1
- package/dist/types/utils/dataQaLabelQueries.d.ts +1 -1
- package/dist/types/utils/hooks.d.ts +1 -1
- package/dist/types/utils/hooks.d.ts.map +1 -1
- package/dist/types/utils/index.d.ts +1 -1
- package/dist/types/utils/index.d.ts.map +1 -1
- package/dist/types/utils/innerText.d.ts +1 -1
- package/dist/types/utils/innerText.d.ts.map +1 -1
- package/dist/types/utils/react-testing-library.d.ts +2 -2
- package/dist/types/utils/responsiveProps/index.d.ts +1 -1
- package/dist/types/utils/responsiveProps/index.d.ts.map +1 -1
- package/dist/types/utils/system-props/index.d.ts +1 -1
- package/dist/types/utils/system-props/system-props.d.ts +1 -1
- package/dist/types/utils/use-measure.d.ts +1 -1
- package/dist/types/utils/use-measure.d.ts.map +1 -1
- package/dist/types/utils/useInteractiveColor.d.ts.map +1 -1
- package/lib/Avatar/Avatar.flow.js +1 -1
- package/lib/Avatar/Avatar.js +20 -20
- package/lib/Avatar/constants.flow.js +8 -8
- package/lib/Avatar/constants.js +8 -8
- package/lib/Badge/Badge.flow.js +1 -1
- package/lib/Badge/Badge.js +7 -7
- package/lib/Badge/constants.flow.js +11 -11
- package/lib/Badge/constants.js +25 -25
- package/lib/Badge/styles.js +4 -4
- package/lib/Banner/Banner.flow.js +1 -1
- package/lib/Banner/Banner.js +23 -23
- package/lib/Banner/styles.js +1 -1
- package/lib/Box/Box.flow.js +1 -1
- package/lib/Box/Box.js +2 -2
- package/lib/Box/styles.js +1 -1
- package/lib/Breadcrumb/Breadcrumb.flow.js +1 -1
- package/lib/Breadcrumb/Breadcrumb.js +4 -4
- package/lib/Breadcrumb/styles.js +2 -2
- package/lib/Button/Button.flow.js +1 -1
- package/lib/Button/Button.js +11 -11
- package/lib/Button/styles.js +10 -10
- package/lib/Card/Card.flow.js +1 -1
- package/lib/Card/Card.js +4 -4
- package/lib/Card/CardTypes.flow.js +1 -1
- package/lib/Card/styles.js +4 -4
- package/lib/Card/subComponents.js +3 -3
- package/lib/Card/utils.js +7 -7
- package/lib/CharacterCounter/CharacterCounter.flow.js +1 -1
- package/lib/CharacterCounter/CharacterCounter.js +3 -3
- package/lib/CharacterCounter/styles.js +1 -1
- package/lib/ChartLegend/ChartLegend.flow.js +1 -1
- package/lib/ChartLegend/ChartLegend.js +2 -2
- package/lib/ChartLegend/styles.js +3 -3
- package/lib/ChartLegend/useChartLabels.js +5 -5
- package/lib/Checkbox/Checkbox.flow.js +1 -1
- package/lib/Checkbox/Checkbox.js +9 -9
- package/lib/Checkbox/styles.js +16 -16
- package/lib/Collapsible/Collapsible.flow.js +1 -1
- package/lib/Collapsible/Collapsible.js +6 -6
- package/lib/Collapsible/styles.js +2 -2
- package/lib/DatePicker/DateRangePicker/DateRangePicker.flow.js +1 -1
- package/lib/DatePicker/DateRangePicker/DateRangePicker.js +3 -3
- package/lib/DatePicker/DateRangePicker/StatefulDateRangePicker.flow.js +1 -1
- package/lib/DatePicker/DateRangePicker/StatefulDateRangePicker.js +2 -2
- package/lib/DatePicker/SingleDatePicker/SingleDatePicker.flow.js +1 -1
- package/lib/DatePicker/SingleDatePicker/SingleDatePicker.js +3 -3
- package/lib/DatePicker/SingleDatePicker/StatefulSingleDatePicker.flow.js +1 -1
- package/lib/DatePicker/SingleDatePicker/StatefulSingleDatePicker.js +1 -1
- package/lib/DatePicker/common.js +11 -11
- package/lib/DatePicker/styles.js +7 -7
- package/lib/Drawer/Drawer.flow.js +1 -1
- package/lib/Drawer/Drawer.js +16 -16
- package/lib/Drawer/SlideTransition.js +5 -5
- package/lib/Drawer/styles.js +1 -1
- package/lib/EmptyState/EmptyState.flow.js +1 -1
- package/lib/EmptyState/EmptyState.js +3 -3
- package/lib/Fieldset/Fieldset.flow.js +1 -1
- package/lib/Fieldset/Fieldset.js +6 -6
- package/lib/Fieldset/styles.js +3 -3
- package/lib/FormField/FormField.flow.js +1 -1
- package/lib/FormField/FormField.js +5 -5
- package/lib/Icon/Icon.flow.js +1 -1
- package/lib/Icon/Icon.js +11 -11
- package/lib/Icon/styles.js +9 -9
- package/lib/Image/Image.flow.js +1 -1
- package/lib/Image/Image.js +4 -4
- package/lib/Image/styles.js +2 -2
- package/lib/Indicator/Indicator.flow.js +1 -1
- package/lib/Indicator/Indicator.js +2 -2
- package/lib/Indicator/styles.js +2 -2
- package/lib/Input/Input.flow.js +1 -1
- package/lib/Input/Input.js +22 -22
- package/lib/Input/styles.js +14 -14
- package/lib/KeyboardKey/KeyboardKey.flow.js +1 -1
- package/lib/KeyboardKey/KeyboardKey.js +1 -1
- package/lib/KeyboardKey/styles.js +1 -1
- package/lib/Label/Label.flow.js +1 -1
- package/lib/Label/Label.js +3 -3
- package/lib/Link/Link.flow.js +1 -1
- package/lib/Link/Link.js +6 -6
- package/lib/Link/constants.js +4 -4
- package/lib/Link/styles.js +2 -2
- package/lib/Listbox/Listbox.flow.js +1 -1
- package/lib/Listbox/Listbox.js +10 -10
- package/lib/Loader/Loader.flow.js +1 -1
- package/lib/Loader/Loader.js +7 -7
- package/lib/Loader/styles.js +4 -4
- package/lib/LoaderButton/LoaderButton.flow.js +1 -1
- package/lib/LoaderButton/LoaderButton.js +6 -6
- package/lib/Menu/Menu.flow.js +1 -1
- package/lib/Menu/Menu.js +35 -35
- package/lib/Menu/styles.js +2 -2
- package/lib/Menu/utils/constants.flow.js +8 -8
- package/lib/Menu/utils/constants.js +8 -8
- package/lib/Menu/utils/descendants.js +26 -26
- package/lib/Menu/utils/hooks.js +11 -11
- package/lib/Message/Message.flow.js +5 -5
- package/lib/Message/Message.js +17 -17
- package/lib/Message/constants.js +4 -4
- package/lib/Message/styles.js +9 -9
- package/lib/Modal/Modal.flow.js +1 -1
- package/lib/Modal/Modal.js +10 -10
- package/lib/Modal/styles.js +15 -15
- package/lib/Numeral/Numeral.flow.js +1 -1
- package/lib/Numeral/Numeral.js +12 -12
- package/lib/Numeral/styles.js +1 -1
- package/lib/PartnerLogo/PartnerLogo.flow.js +1 -1
- package/lib/PartnerLogo/PartnerLogo.js +14 -14
- package/lib/PartnerLogo/PartnerLogoTypes.js +8 -9
- package/lib/PartnerLogo/styles.js +9 -9
- package/lib/Popout/Popout.flow.js +1 -1
- package/lib/Popout/Popout.js +35 -35
- package/lib/Popout/styles.js +1 -1
- package/lib/Portal/Portal.flow.js +1 -1
- package/lib/Portal/Portal.js +5 -5
- package/lib/Radio/Radio.flow.js +1 -1
- package/lib/Radio/Radio.js +3 -3
- package/lib/Radio/styles.js +10 -10
- package/lib/SegmentedControl/SegmentedControl.flow.js +1 -1
- package/lib/SegmentedControl/SegmentedControl.js +3 -3
- package/lib/SegmentedControl/styles.js +1 -1
- package/lib/Select/Select.flow.js +1 -1
- package/lib/Select/Select.js +5 -5
- package/lib/Select/styles.js +17 -17
- package/lib/Skeleton/Skeleton.js +2 -2
- package/lib/SpotIllustration/SpotIllustration.flow.js +1 -1
- package/lib/SpotIllustration/SpotIllustration.js +7 -6
- package/lib/SpotIllustration/illustrationNames.js +1 -1
- package/lib/Stack/Stack.flow.js +1 -1
- package/lib/Stack/Stack.js +23 -23
- package/lib/StatefulStory.js +1 -1
- package/lib/Switch/Switch.flow.js +1 -1
- package/lib/Switch/Switch.js +2 -2
- package/lib/Switch/styles.js +3 -3
- package/lib/Table/Table.flow.js +1 -1
- package/lib/Table/Table.js +6 -6
- package/lib/Table/styles.js +1 -1
- package/lib/TableCell/TableCell.flow.js +1 -1
- package/lib/TableCell/TableCell.js +2 -2
- package/lib/TableCell/styles.js +1 -1
- package/lib/TableHeaderCell/TableHeaderCell.flow.js +3 -3
- package/lib/TableHeaderCell/TableHeaderCell.js +8 -8
- package/lib/TableHeaderCell/constants.js +2 -2
- package/lib/TableHeaderCell/styles.js +1 -1
- package/lib/TableRowAccordion/TableRowAccordion.flow.js +1 -1
- package/lib/TableRowAccordion/TableRowAccordion.js +2 -2
- package/lib/TableRowAccordion/styles.js +1 -1
- package/lib/Tabs/Tabs.flow.js +1 -1
- package/lib/Tabs/Tabs.js +1 -1
- package/lib/Tabs/styles.js +2 -2
- package/lib/Text/Text.flow.js +1 -1
- package/lib/Text/Text.js +10 -10
- package/lib/Text/styles.js +2 -2
- package/lib/Textarea/Textarea.flow.js +1 -1
- package/lib/Textarea/Textarea.js +1 -1
- package/lib/Textarea/styles.js +3 -3
- package/lib/ThemeProvider/index.flow.js +1 -1
- package/lib/ThemeProvider/index.js +2 -2
- package/lib/Toast/Toast.flow.js +1 -1
- package/lib/Toast/Toast.js +15 -15
- package/lib/Toast/styles.js +2 -2
- package/lib/ToggleHint/ToggleHint.flow.js +1 -1
- package/lib/ToggleHint/ToggleHint.js +4 -4
- package/lib/ToggleHint/styles.js +2 -2
- package/lib/Token/Token.flow.js +1 -1
- package/lib/Token/Token.js +5 -5
- package/lib/Token/styles.js +2 -2
- package/lib/TokenInput/TokenInput.flow.js +1 -1
- package/lib/TokenInput/TokenInput.js +11 -11
- package/lib/TokenInput/TokenScreenReaderStatus.js +3 -3
- package/lib/TokenInput/styles.js +2 -2
- package/lib/TokenInput/util.js +3 -3
- package/lib/Tooltip/Tooltip.flow.js +1 -1
- package/lib/Tooltip/Tooltip.js +19 -19
- package/lib/Tooltip/styles.js +2 -2
- package/lib/VisuallyHidden/VisuallyHidden.flow.js +1 -1
- package/lib/VisuallyHidden/VisuallyHidden.js +1 -1
- package/lib/index.js +2 -2
- package/lib/styled.d.js +1 -1
- package/lib/systemProps/background.flow.js +1 -1
- package/lib/systemProps/border.flow.js +1 -1
- package/lib/systemProps/color.flow.js +1 -1
- package/lib/systemProps/custom.flow.js +1 -1
- package/lib/systemProps/flexbox.flow.js +1 -1
- package/lib/systemProps/grid.flow.js +1 -1
- package/lib/systemProps/index.js +3 -3
- package/lib/systemProps/layout.flow.js +1 -1
- package/lib/systemProps/position.flow.js +1 -1
- package/lib/systemProps/shadow.flow.js +1 -1
- package/lib/systemProps/space.flow.js +1 -1
- package/lib/systemProps/systemProps.flow.js +1 -1
- package/lib/systemProps/tests/types.flow.js +14 -14
- package/lib/systemProps/typography.flow.js +1 -1
- package/lib/systemProps/variant.flow.js +3 -3
- package/lib/themes/dark/dataviz-palette.js +21 -21
- package/lib/themes/dark/decorative-palettes.js +1 -1
- package/lib/themes/dark/theme.js +13 -13
- package/lib/themes/extendedThemes/sproutTheme/dark/theme.js +2 -2
- package/lib/themes/extendedThemes/sproutTheme/light/theme.js +2 -2
- package/lib/themes/light/dataviz-palette.js +21 -21
- package/lib/themes/light/decorative-palettes.js +1 -1
- package/lib/themes/light/literal-colors.js +135 -135
- package/lib/themes/light/theme.js +20 -20
- package/lib/types/shared.flow.js +1 -1
- package/lib/types/styled-components.flow.js +1 -1
- package/lib/types/system-props.flow.js +1 -1
- package/lib/utils/a11yTest.js +1 -1
- package/lib/utils/chartColors.js +1 -1
- package/lib/utils/constants.js +1 -1
- package/lib/utils/dataQaLabelQueries.js +1 -1
- package/lib/utils/hooks.flow.js +1 -1
- package/lib/utils/hooks.js +9 -9
- package/lib/utils/index.js +3 -3
- package/lib/utils/innerText.flow.js +1 -1
- package/lib/utils/innerText.js +8 -8
- package/lib/utils/mixins.js +4 -4
- package/lib/utils/react-testing-library.flow.js +3 -3
- package/lib/utils/react-testing-library.js +2 -2
- package/lib/utils/responsiveProps/index.js +1 -1
- package/lib/utils/responsiveProps/index.test.flow.js +7 -7
- package/lib/utils/system-props/gap.js +7 -7
- package/lib/utils/system-props/system-props.js +3 -3
- package/lib/utils/use-measure.js +2 -2
- package/lib/utils/useInteractiveColor.js +4 -4
- package/package.json +11 -9
- package/__flow__/EnumIllustrationNames.flow.js +0 -2
- package/__flow__/EnumLogoNames.flow.js +0 -2
- package/__flow__/IllustrationViewBoxes.js +0 -127
- package/__flow__/LogoViewBoxes.js +0 -120
- package/commonjs/EnumIllustrationNames.flow.js +0 -1
- package/commonjs/EnumIllustrationNames.js +0 -5
- package/commonjs/EnumLogoNames.flow.js +0 -1
- package/commonjs/EnumLogoNames.js +0 -5
- package/commonjs/IllustrationViewBoxes.js +0 -129
- package/commonjs/LogoViewBoxes.js +0 -122
- package/commonjs/illustrationNames.js +0 -7
- package/commonjs/logoNames.js +0 -7
- package/dist/illustration.svg +0 -1
- package/dist/illustrationList.js +0 -1
- package/dist/logo.svg +0 -1
- package/dist/logoList.js +0 -1
- package/dist/types/EnumIllustrationNames.d.ts +0 -2
- package/dist/types/EnumIllustrationNames.d.ts.map +0 -1
- package/dist/types/EnumLogoNames.d.ts +0 -2
- package/dist/types/EnumLogoNames.d.ts.map +0 -1
- package/dist/types/illustrationNames.d.ts +0 -3
- package/dist/types/illustrationNames.d.ts.map +0 -1
- package/dist/types/logoNames.d.ts +0 -3
- package/dist/types/logoNames.d.ts.map +0 -1
- package/lib/EnumIllustrationNames.flow.js +0 -0
- package/lib/EnumIllustrationNames.js +0 -1
- package/lib/EnumLogoNames.flow.js +0 -0
- package/lib/EnumLogoNames.js +0 -1
- package/lib/IllustrationViewBoxes.js +0 -127
- package/lib/LogoViewBoxes.js +0 -120
- package/lib/illustrationNames.js +0 -1
- package/lib/logoNames.js +0 -1
|
@@ -5,23 +5,23 @@ function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key i
|
|
|
5
5
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
6
6
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
7
7
|
/* eslint-disable no-restricted-imports */
|
|
8
|
-
import { transparentize } from
|
|
9
|
-
import COLORS from
|
|
10
|
-
import NETWORKCOLORS from
|
|
8
|
+
import { transparentize } from "polished";
|
|
9
|
+
import COLORS from "@sproutsocial/seeds-color";
|
|
10
|
+
import NETWORKCOLORS from "@sproutsocial/seeds-networkcolor";
|
|
11
11
|
// eslint-disable-next-line no-restricted-syntax
|
|
12
|
-
import * as TYPOGRAPHY from
|
|
13
|
-
import SPACE from
|
|
14
|
-
import DEPTH from
|
|
15
|
-
import MOTION from
|
|
16
|
-
import BORDER from
|
|
12
|
+
import * as TYPOGRAPHY from "@sproutsocial/seeds-typography";
|
|
13
|
+
import SPACE from "@sproutsocial/seeds-space";
|
|
14
|
+
import DEPTH from "@sproutsocial/seeds-depth";
|
|
15
|
+
import MOTION from "@sproutsocial/seeds-motion";
|
|
16
|
+
import BORDER from "@sproutsocial/seeds-border";
|
|
17
17
|
// json-to-scss is not working with the alias right now
|
|
18
18
|
//import {TypeThemeMode} from '@src/types/theme';
|
|
19
19
|
|
|
20
20
|
import literalColors from "./literal-colors";
|
|
21
21
|
import { datavizPalette } from "./dataviz-palette";
|
|
22
22
|
import { green, blue, purple, yellow, orange, red, neutral, magenta, pink, aqua, teal } from "./decorative-palettes";
|
|
23
|
-
export var breakpoints = [
|
|
24
|
-
var MODE =
|
|
23
|
+
export var breakpoints = ["900px", "1200px", "1500px", "1800px"];
|
|
24
|
+
var MODE = "light";
|
|
25
25
|
|
|
26
26
|
// If you are making changes to the colors in the theme file tag the Design Systems team on your PR! Thank you!!
|
|
27
27
|
|
|
@@ -92,7 +92,7 @@ var colors = _objectSpread(_objectSpread({
|
|
|
92
92
|
active: COLORS.COLOR_BLUE_900
|
|
93
93
|
},
|
|
94
94
|
border: {
|
|
95
|
-
base:
|
|
95
|
+
base: "transparent"
|
|
96
96
|
},
|
|
97
97
|
text: {
|
|
98
98
|
base: COLORS.COLOR_NEUTRAL_0,
|
|
@@ -101,7 +101,7 @@ var colors = _objectSpread(_objectSpread({
|
|
|
101
101
|
},
|
|
102
102
|
secondary: {
|
|
103
103
|
background: {
|
|
104
|
-
base:
|
|
104
|
+
base: "transparent",
|
|
105
105
|
hover: COLORS.COLOR_NEUTRAL_800,
|
|
106
106
|
active: COLORS.COLOR_NEUTRAL_900
|
|
107
107
|
},
|
|
@@ -115,12 +115,12 @@ var colors = _objectSpread(_objectSpread({
|
|
|
115
115
|
},
|
|
116
116
|
pill: {
|
|
117
117
|
background: {
|
|
118
|
-
base:
|
|
118
|
+
base: "transparent",
|
|
119
119
|
hover: COLORS.COLOR_NEUTRAL_100,
|
|
120
120
|
active: COLORS.COLOR_NEUTRAL_200
|
|
121
121
|
},
|
|
122
122
|
border: {
|
|
123
|
-
base:
|
|
123
|
+
base: "transparent",
|
|
124
124
|
hover: COLORS.COLOR_NEUTRAL_800
|
|
125
125
|
},
|
|
126
126
|
text: {
|
|
@@ -135,7 +135,7 @@ var colors = _objectSpread(_objectSpread({
|
|
|
135
135
|
active: COLORS.COLOR_RED_1000
|
|
136
136
|
},
|
|
137
137
|
border: {
|
|
138
|
-
base:
|
|
138
|
+
base: "transparent"
|
|
139
139
|
},
|
|
140
140
|
text: {
|
|
141
141
|
base: COLORS.COLOR_NEUTRAL_0,
|
|
@@ -144,7 +144,7 @@ var colors = _objectSpread(_objectSpread({
|
|
|
144
144
|
},
|
|
145
145
|
placeholder: {
|
|
146
146
|
background: {
|
|
147
|
-
base:
|
|
147
|
+
base: "transparent",
|
|
148
148
|
hover: COLORS.COLOR_NEUTRAL_0,
|
|
149
149
|
active: COLORS.COLOR_NEUTRAL_0
|
|
150
150
|
},
|
|
@@ -158,10 +158,10 @@ var colors = _objectSpread(_objectSpread({
|
|
|
158
158
|
},
|
|
159
159
|
unstyled: {
|
|
160
160
|
background: {
|
|
161
|
-
base:
|
|
161
|
+
base: "transparent"
|
|
162
162
|
},
|
|
163
163
|
border: {
|
|
164
|
-
base:
|
|
164
|
+
base: "transparent"
|
|
165
165
|
},
|
|
166
166
|
text: {
|
|
167
167
|
base: COLORS.COLOR_NEUTRAL_700,
|
|
@@ -229,7 +229,7 @@ var colors = _objectSpread(_objectSpread({
|
|
|
229
229
|
},
|
|
230
230
|
listItem: {
|
|
231
231
|
background: {
|
|
232
|
-
base:
|
|
232
|
+
base: "transparent",
|
|
233
233
|
hover: COLORS.COLOR_NEUTRAL_100,
|
|
234
234
|
selected: COLORS.COLOR_NEUTRAL_800
|
|
235
235
|
}
|
|
@@ -390,7 +390,7 @@ var theme = {
|
|
|
390
390
|
fontWeights: fontWeights,
|
|
391
391
|
space: _objectSpread(_objectSpread({}, space), {}, {
|
|
392
392
|
space: space,
|
|
393
|
-
|
|
393
|
+
"-space": Object.keys(space).reduce(function (negativeSpace, key) {
|
|
394
394
|
// The values are strings (eg 24px) so we concatenate a negative sign
|
|
395
395
|
negativeSpace[key] = "-".concat(space[key]);
|
|
396
396
|
return negativeSpace;
|
package/lib/types/shared.flow.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
import * as React from
|
|
1
|
+
import * as React from "react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import * as React from
|
|
1
|
+
import * as React from "react";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
|
|
1
|
+
"no babel-plugin-flow-react-proptypes";
|
package/lib/utils/a11yTest.js
CHANGED
|
@@ -3,7 +3,7 @@ function _regeneratorRuntime() { "use strict"; /*! regenerator-runtime -- Copyri
|
|
|
3
3
|
function asyncGeneratorStep(gen, resolve, reject, _next, _throw, key, arg) { try { var info = gen[key](arg); var value = info.value; } catch (error) { reject(error); return; } if (info.done) { resolve(value); } else { Promise.resolve(value).then(_next, _throw); } }
|
|
4
4
|
function _asyncToGenerator(fn) { return function () { var self = this, args = arguments; return new Promise(function (resolve, reject) { var gen = fn.apply(self, args); function _next(value) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "next", value); } function _throw(err) { asyncGeneratorStep(gen, resolve, reject, _next, _throw, "throw", err); } _next(undefined); }); }; }
|
|
5
5
|
/* eslint-env jest, node */
|
|
6
|
-
import { axe } from
|
|
6
|
+
import { axe } from "jest-axe";
|
|
7
7
|
|
|
8
8
|
// use runA11yCheck from react-test-library utils file if using react-testing-library
|
|
9
9
|
export var a11yCheck = /*#__PURE__*/function () {
|
package/lib/utils/chartColors.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { COLOR_BLUE_500, COLOR_BLUE_800, COLOR_GREEN_500, COLOR_GREEN_800, COLOR_MAGENTA_500, COLOR_MAGENTA_800, COLOR_NEUTRAL_500, COLOR_NEUTRAL_700, COLOR_ORANGE_500, COLOR_ORANGE_800, COLOR_PINK_500, COLOR_PINK_800, COLOR_PINK_700, COLOR_PURPLE_500, COLOR_PURPLE_700, COLOR_PURPLE_800, COLOR_RED_500, COLOR_RED_700, COLOR_RED_800, COLOR_TEAL_500, COLOR_TEAL_800, COLOR_YELLOW_500, COLOR_YELLOW_800 } from
|
|
1
|
+
import { COLOR_BLUE_500, COLOR_BLUE_800, COLOR_GREEN_500, COLOR_GREEN_800, COLOR_MAGENTA_500, COLOR_MAGENTA_800, COLOR_NEUTRAL_500, COLOR_NEUTRAL_700, COLOR_ORANGE_500, COLOR_ORANGE_800, COLOR_PINK_500, COLOR_PINK_800, COLOR_PINK_700, COLOR_PURPLE_500, COLOR_PURPLE_700, COLOR_PURPLE_800, COLOR_RED_500, COLOR_RED_700, COLOR_RED_800, COLOR_TEAL_500, COLOR_TEAL_800, COLOR_YELLOW_500, COLOR_YELLOW_800 } from "@sproutsocial/seeds-color";
|
|
2
2
|
export var COMPARE_THEME = [COLOR_TEAL_500, COLOR_TEAL_800, COLOR_PURPLE_500, COLOR_PURPLE_800];
|
|
3
3
|
export var CONTRAST_THEME = [COLOR_TEAL_500, COLOR_PURPLE_700, COLOR_PINK_700, COLOR_YELLOW_500, COLOR_BLUE_500, COLOR_MAGENTA_500, COLOR_NEUTRAL_500, COLOR_GREEN_500, COLOR_ORANGE_500, COLOR_RED_700];
|
|
4
4
|
export var EXTENDED_THEME = [COLOR_GREEN_500, COLOR_TEAL_500, COLOR_BLUE_500, COLOR_PURPLE_500, COLOR_MAGENTA_500, COLOR_PINK_500, COLOR_RED_500, COLOR_ORANGE_500, COLOR_YELLOW_500, COLOR_NEUTRAL_500, COLOR_GREEN_800, COLOR_TEAL_800, COLOR_BLUE_800, COLOR_PURPLE_800, COLOR_MAGENTA_800, COLOR_PINK_800, COLOR_RED_800, COLOR_ORANGE_800, COLOR_YELLOW_800, COLOR_NEUTRAL_700];
|
package/lib/utils/constants.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export var EM_DASH =
|
|
1
|
+
export var EM_DASH = "—"; // shift + option + hyphen on a mac keyboard
|
|
@@ -4,7 +4,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
4
4
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
5
5
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
|
-
import { buildQueries, queryAllByAttribute } from
|
|
7
|
+
import { buildQueries, queryAllByAttribute } from "@testing-library/react";
|
|
8
8
|
var getKeyValuePair = function getKeyValuePair(object) {
|
|
9
9
|
var key = Object.keys(object)[0];
|
|
10
10
|
var value = object[key];
|
package/lib/utils/hooks.flow.js
CHANGED
|
@@ -4,7 +4,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
4
4
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
5
5
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
|
-
import { useState, useCallback } from
|
|
7
|
+
import { useState, useCallback } from "react";
|
|
8
8
|
|
|
9
9
|
// https://stackoverflow.com/questions/44700904/how-to-get-a-functions-return-type-in-flow
|
|
10
10
|
// eslint-disable-next-line flowtype/type-id-match
|
package/lib/utils/hooks.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
"no babel-plugin-flow-react-proptypes";
|
|
2
2
|
|
|
3
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
4
|
function ownKeys(e, r) { var t = Object.keys(e); if (Object.getOwnPropertySymbols) { var o = Object.getOwnPropertySymbols(e); r && (o = o.filter(function (r) { return Object.getOwnPropertyDescriptor(e, r).enumerable; })), t.push.apply(t, o); } return t; }
|
|
@@ -12,7 +12,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
12
12
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
13
13
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
14
14
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
15
|
-
import { useState, useCallback, useEffect, useMemo, useReducer, useRef } from
|
|
15
|
+
import { useState, useCallback, useEffect, useMemo, useReducer, useRef } from "react";
|
|
16
16
|
import { canUseDOM } from "./";
|
|
17
17
|
export function useTextContent(initial) {
|
|
18
18
|
var _useState = useState(initial),
|
|
@@ -72,12 +72,12 @@ export function useMutationObserverOnce(targetNode, config, callback) {
|
|
|
72
72
|
}
|
|
73
73
|
export var useSelect = function useSelect() {
|
|
74
74
|
var _ref = arguments.length > 0 && arguments[0] !== undefined ? arguments[0] : {
|
|
75
|
-
initialValue:
|
|
75
|
+
initialValue: "",
|
|
76
76
|
// eslint-disable-next-line @typescript-eslint/no-empty-function
|
|
77
77
|
onChange: function onChange() {}
|
|
78
78
|
},
|
|
79
79
|
_ref$initialValue = _ref.initialValue,
|
|
80
|
-
initialValue = _ref$initialValue === void 0 ?
|
|
80
|
+
initialValue = _ref$initialValue === void 0 ? "" : _ref$initialValue,
|
|
81
81
|
_ref$onChange = _ref.onChange,
|
|
82
82
|
userOnChange = _ref$onChange === void 0 ? function () {} : _ref$onChange;
|
|
83
83
|
var _useState7 = useState(initialValue),
|
|
@@ -98,11 +98,11 @@ export var useSelect = function useSelect() {
|
|
|
98
98
|
var valueReducer = function valueReducer(state, action) {
|
|
99
99
|
var newState = new Set(state);
|
|
100
100
|
switch (action.type) {
|
|
101
|
-
case
|
|
101
|
+
case "reset":
|
|
102
102
|
{
|
|
103
103
|
return new Set();
|
|
104
104
|
}
|
|
105
|
-
case
|
|
105
|
+
case "toggle_item":
|
|
106
106
|
default:
|
|
107
107
|
{
|
|
108
108
|
if (action.value) {
|
|
@@ -135,7 +135,7 @@ export var useMultiselect = function useMultiselect() {
|
|
|
135
135
|
};
|
|
136
136
|
var onChange = useCallback(function (newValue) {
|
|
137
137
|
dispatch({
|
|
138
|
-
type:
|
|
138
|
+
type: "toggle_item",
|
|
139
139
|
value: newValue
|
|
140
140
|
});
|
|
141
141
|
}, [dispatch]);
|
|
@@ -150,7 +150,7 @@ export var useMultiselect = function useMultiselect() {
|
|
|
150
150
|
}, [userOnChange, value]);
|
|
151
151
|
var onClear = useCallback(function () {
|
|
152
152
|
dispatch({
|
|
153
|
-
type:
|
|
153
|
+
type: "reset"
|
|
154
154
|
});
|
|
155
155
|
}, [dispatch]);
|
|
156
156
|
return {
|
|
@@ -184,7 +184,7 @@ export function useWhyDidYouUpdate(name, props) {
|
|
|
184
184
|
// If changesObj not empty then output to console
|
|
185
185
|
if (Object.keys(changesObj).length) {
|
|
186
186
|
// eslint-disable-next-line no-console
|
|
187
|
-
console.log(
|
|
187
|
+
console.log("[why-did-you-update]", name, changesObj);
|
|
188
188
|
}
|
|
189
189
|
}
|
|
190
190
|
|
package/lib/utils/index.js
CHANGED
|
@@ -2,7 +2,7 @@ function _createForOfIteratorHelper(o, allowArrayLike) { var it = typeof Symbol
|
|
|
2
2
|
function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o === "string") return _arrayLikeToArray(o, minLen); var n = Object.prototype.toString.call(o).slice(8, -1); if (n === "Object" && o.constructor) n = o.constructor.name; if (n === "Map" || n === "Set") return Array.from(o); if (n === "Arguments" || /^(?:Ui|I)nt(?:8|16|32)(?:Clamped)?Array$/.test(n)) return _arrayLikeToArray(o, minLen); }
|
|
3
3
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
4
4
|
export var canUseDOM = function canUseDOM() {
|
|
5
|
-
return Boolean(typeof window !==
|
|
5
|
+
return Boolean(typeof window !== "undefined" && window.document && window.document.createElement);
|
|
6
6
|
};
|
|
7
7
|
// Allows a component to pass its own ref *and* a ref prop to the same element.
|
|
8
8
|
// Via https://www.davedrinks.coffee/how-do-i-use-two-react-refs/
|
|
@@ -17,7 +17,7 @@ export var mergeRefs = function mergeRefs(refs) {
|
|
|
17
17
|
try {
|
|
18
18
|
for (_iterator.s(); !(_step = _iterator.n()).done;) {
|
|
19
19
|
var ref = _step.value;
|
|
20
|
-
if (typeof ref ===
|
|
20
|
+
if (typeof ref === "function") {
|
|
21
21
|
ref(inst);
|
|
22
22
|
} else if (ref) {
|
|
23
23
|
ref.current = inst;
|
|
@@ -41,7 +41,7 @@ export function includes(coll, el) {
|
|
|
41
41
|
|
|
42
42
|
// https://stackoverflow.com/questions/71193818/react-onclick-argument-of-type-eventtarget-is-not-assignable-to-parameter-of-t
|
|
43
43
|
export function assertIsNode(e) {
|
|
44
|
-
if (!e || !(
|
|
44
|
+
if (!e || !("nodeType" in e)) {
|
|
45
45
|
throw new Error("Node expected");
|
|
46
46
|
}
|
|
47
47
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
import * as React from
|
|
1
|
+
import * as React from "react";
|
package/lib/utils/innerText.js
CHANGED
|
@@ -2,23 +2,23 @@ var hasOwnProperty = function hasOwnProperty(obj, property) {
|
|
|
2
2
|
return Object.prototype.hasOwnProperty.call(obj, property);
|
|
3
3
|
};
|
|
4
4
|
var hasChildren = function hasChildren(node) {
|
|
5
|
-
return hasOwnProperty(node,
|
|
5
|
+
return hasOwnProperty(node, "children");
|
|
6
6
|
};
|
|
7
7
|
var hasProps = function hasProps(node) {
|
|
8
|
-
return hasOwnProperty(node,
|
|
8
|
+
return hasOwnProperty(node, "props");
|
|
9
9
|
};
|
|
10
10
|
var reduceNodeToString = function reduceNodeToString(previous, current) {
|
|
11
11
|
return previous.length ? "".concat(previous, " ").concat(innerText(current)) : innerText(current);
|
|
12
12
|
};
|
|
13
13
|
var innerText = function innerText(node) {
|
|
14
|
-
if (node === null || typeof node ===
|
|
15
|
-
return
|
|
16
|
-
} else if (typeof node ===
|
|
14
|
+
if (node === null || typeof node === "undefined" || typeof node === "boolean") {
|
|
15
|
+
return "";
|
|
16
|
+
} else if (typeof node === "string") {
|
|
17
17
|
return node;
|
|
18
|
-
} else if (typeof node ===
|
|
18
|
+
} else if (typeof node === "number") {
|
|
19
19
|
return node.toString();
|
|
20
20
|
} else if (Array.isArray(node)) {
|
|
21
|
-
return node.reduce(reduceNodeToString,
|
|
21
|
+
return node.reduce(reduceNodeToString, "");
|
|
22
22
|
// eslint-disable-next-line @typescript-eslint/ban-ts-comment
|
|
23
23
|
// @ts-ignore - hasProps checks for props, but may be able to fix this
|
|
24
24
|
} else if (hasProps(node) && hasChildren(node.props)) {
|
|
@@ -26,6 +26,6 @@ var innerText = function innerText(node) {
|
|
|
26
26
|
// @ts-ignore - how can we make sure ts knows this is ok?
|
|
27
27
|
return innerText(node.props.children);
|
|
28
28
|
}
|
|
29
|
-
return
|
|
29
|
+
return "";
|
|
30
30
|
};
|
|
31
31
|
export default innerText;
|
package/lib/utils/mixins.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { transparentize } from
|
|
2
|
-
import { css } from
|
|
1
|
+
import { transparentize } from "polished";
|
|
2
|
+
import { css } from "styled-components";
|
|
3
3
|
import theme from "../themes/light/theme";
|
|
4
4
|
export var svgToDataURL = function svgToDataURL(svgStr) {
|
|
5
|
-
var encoded = encodeURIComponent(svgStr).replace(/'/g,
|
|
6
|
-
var header =
|
|
5
|
+
var encoded = encodeURIComponent(svgStr).replace(/'/g, "%27").replace(/"/g, "%22");
|
|
6
|
+
var header = "data:image/svg+xml,";
|
|
7
7
|
var dataUrl = header + encoded;
|
|
8
8
|
return dataUrl;
|
|
9
9
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import * as React from
|
|
2
|
-
import { act as defaultAct, cleanup as defaultCleanup, createEvent as defaultCreateEvent, fireEvent as defaultFireEvent, waitFor as defaultWaitFor, waitForElementToBeRemoved as defaultWaitForElementToBeRemoved } from
|
|
3
|
-
import defaultUserEvent from
|
|
1
|
+
import * as React from "react";
|
|
2
|
+
import { act as defaultAct, cleanup as defaultCleanup, createEvent as defaultCreateEvent, fireEvent as defaultFireEvent, waitFor as defaultWaitFor, waitForElementToBeRemoved as defaultWaitForElementToBeRemoved } from "@testing-library/react";
|
|
3
|
+
import defaultUserEvent from "@testing-library/user-event";
|
|
@@ -7,8 +7,8 @@ function _objectSpread(e) { for (var r = 1; r < arguments.length; r++) { var t =
|
|
|
7
7
|
function _defineProperty(obj, key, value) { key = _toPropertyKey(key); if (key in obj) { Object.defineProperty(obj, key, { value: value, enumerable: true, configurable: true, writable: true }); } else { obj[key] = value; } return obj; }
|
|
8
8
|
function _toPropertyKey(t) { var i = _toPrimitive(t, "string"); return "symbol" == _typeof(i) ? i : String(i); }
|
|
9
9
|
function _toPrimitive(t, r) { if ("object" != _typeof(t) || !t) return t; var e = t[Symbol.toPrimitive]; if (void 0 !== e) { var i = e.call(t, r || "default"); if ("object" != _typeof(i)) return i; throw new TypeError("@@toPrimitive must return a primitive value."); } return ("string" === r ? String : Number)(t); }
|
|
10
|
-
import { act, cleanup, createEvent, fireEvent, queries, render, screen as defaultScreen, waitFor, waitForElementToBeRemoved, within } from
|
|
11
|
-
import userEvent from
|
|
10
|
+
import { act, cleanup, createEvent, fireEvent, queries, render, screen as defaultScreen, waitFor, waitForElementToBeRemoved, within } from "@testing-library/react";
|
|
11
|
+
import userEvent from "@testing-library/user-event";
|
|
12
12
|
import ThemeProvider from "../ThemeProvider";
|
|
13
13
|
import { a11yCheck } from "./a11yTest";
|
|
14
14
|
import { dataQaLabelQueries } from "./dataQaLabelQueries";
|
|
@@ -9,7 +9,7 @@ import theme from "../../themes/light/theme";
|
|
|
9
9
|
var breakpoints = theme.breakpoints;
|
|
10
10
|
var LENGTH = breakpoints.length + 1;
|
|
11
11
|
export var normalizeResponsiveProp = function normalizeResponsiveProp(value) {
|
|
12
|
-
if ([
|
|
12
|
+
if (["string", "number"].includes(_typeof(value))) {
|
|
13
13
|
return Array(LENGTH).fill(value);
|
|
14
14
|
}
|
|
15
15
|
if (value.length) {
|
|
@@ -1,21 +1,21 @@
|
|
|
1
1
|
import { normalizeResponsiveProp } from "./index.flow";
|
|
2
|
-
describe(
|
|
3
|
-
it(
|
|
2
|
+
describe("normalizeResponsiveProp", function () {
|
|
3
|
+
it("should handle single, literal values", function () {
|
|
4
4
|
expect(normalizeResponsiveProp(0)).toMatchObject([0, 0, 0, 0, 0]);
|
|
5
5
|
});
|
|
6
|
-
it(
|
|
6
|
+
it("should handle arrays with 1 value", function () {
|
|
7
7
|
expect(normalizeResponsiveProp([0])).toMatchObject([0, 0, 0, 0, 0]);
|
|
8
8
|
});
|
|
9
|
-
it(
|
|
9
|
+
it("should handle arrays with 2 values", function () {
|
|
10
10
|
expect(normalizeResponsiveProp([0, 1])).toMatchObject([0, 1, 1, 1, 1]);
|
|
11
11
|
});
|
|
12
|
-
it(
|
|
12
|
+
it("should handle arrays with 3 values", function () {
|
|
13
13
|
expect(normalizeResponsiveProp([0, 1, 2])).toMatchObject([0, 1, 2, 2, 2]);
|
|
14
14
|
});
|
|
15
|
-
it(
|
|
15
|
+
it("should handle arrays with 4 values", function () {
|
|
16
16
|
expect(normalizeResponsiveProp([0, 1, 2, 3])).toMatchObject([0, 1, 2, 3, 3]);
|
|
17
17
|
});
|
|
18
|
-
it(
|
|
18
|
+
it("should handle arrays with 5 values", function () {
|
|
19
19
|
expect(normalizeResponsiveProp([0, 1, 2, 3, 4])).toMatchObject([0, 1, 2, 3, 4]);
|
|
20
20
|
});
|
|
21
21
|
});
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
import { system } from
|
|
1
|
+
import { system } from "styled-system";
|
|
2
2
|
export var gap = system({
|
|
3
3
|
gap: {
|
|
4
|
-
property:
|
|
5
|
-
scale:
|
|
4
|
+
property: "gap",
|
|
5
|
+
scale: "space"
|
|
6
6
|
},
|
|
7
7
|
rowGap: {
|
|
8
|
-
property:
|
|
9
|
-
scale:
|
|
8
|
+
property: "rowGap",
|
|
9
|
+
scale: "space"
|
|
10
10
|
},
|
|
11
11
|
columnGap: {
|
|
12
|
-
property:
|
|
13
|
-
scale:
|
|
12
|
+
property: "columnGap",
|
|
13
|
+
scale: "space"
|
|
14
14
|
}
|
|
15
15
|
});
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
// eslint-disable-next-line no-restricted-syntax
|
|
2
|
-
import * as styles from
|
|
2
|
+
import * as styles from "styled-system";
|
|
3
3
|
import { gap } from "./gap";
|
|
4
4
|
var typeScale = styles.variant({
|
|
5
|
-
key:
|
|
6
|
-
prop:
|
|
5
|
+
key: "typography",
|
|
6
|
+
prop: "typeScale"
|
|
7
7
|
});
|
|
8
8
|
export var COMMON = styles.compose(styles.color, styles.space, styles.system({
|
|
9
9
|
cursor: true,
|
package/lib/utils/use-measure.js
CHANGED
|
@@ -4,7 +4,7 @@ function _unsupportedIterableToArray(o, minLen) { if (!o) return; if (typeof o =
|
|
|
4
4
|
function _arrayLikeToArray(arr, len) { if (len == null || len > arr.length) len = arr.length; for (var i = 0, arr2 = new Array(len); i < len; i++) arr2[i] = arr[i]; return arr2; }
|
|
5
5
|
function _iterableToArrayLimit(r, l) { var t = null == r ? null : "undefined" != typeof Symbol && r[Symbol.iterator] || r["@@iterator"]; if (null != t) { var e, n, i, u, a = [], f = !0, o = !1; try { if (i = (t = t.call(r)).next, 0 === l) { if (Object(t) !== t) return; f = !1; } else for (; !(f = (e = i.call(t)).done) && (a.push(e.value), a.length !== l); f = !0); } catch (r) { o = !0, n = r; } finally { try { if (!f && null != t.return && (u = t.return(), Object(u) !== u)) return; } finally { if (o) throw n; } } return a; } }
|
|
6
6
|
function _arrayWithHoles(arr) { if (Array.isArray(arr)) return arr; }
|
|
7
|
-
import { useState, useLayoutEffect } from
|
|
7
|
+
import { useState, useLayoutEffect } from "react";
|
|
8
8
|
var initialBounds = Object.freeze({
|
|
9
9
|
x: 0,
|
|
10
10
|
y: 0,
|
|
@@ -24,7 +24,7 @@ export function useMeasure(ref) {
|
|
|
24
24
|
var element = ref.current;
|
|
25
25
|
if (!element ||
|
|
26
26
|
// in non-browser environments (e.g. Jest tests) ResizeObserver is not defined
|
|
27
|
-
!(
|
|
27
|
+
!("ResizeObserver" in window)) {
|
|
28
28
|
return;
|
|
29
29
|
}
|
|
30
30
|
var resizeObserver = new ResizeObserver(function (_ref) {
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { darken, lighten } from
|
|
2
|
-
import { useTheme } from
|
|
1
|
+
import { darken, lighten } from "polished";
|
|
2
|
+
import { useTheme } from "styled-components";
|
|
3
3
|
|
|
4
4
|
/**
|
|
5
5
|
* The useInteractiveColor hook has context of theme mode (light or dark)
|
|
@@ -10,14 +10,14 @@ import { useTheme } from 'styled-components';
|
|
|
10
10
|
var useInteractiveColor = function useInteractiveColor(themeColor) {
|
|
11
11
|
// Throw error if used outside of a ThemeProvider (styled-components)
|
|
12
12
|
if (!useTheme()) {
|
|
13
|
-
throw new Error(
|
|
13
|
+
throw new Error("useInteractiveColor() must be used within a Styled Components ThemeProvider");
|
|
14
14
|
}
|
|
15
15
|
|
|
16
16
|
// Get the current theme mode ie. 'light' or 'dark'
|
|
17
17
|
var themeMode = useTheme().mode;
|
|
18
18
|
|
|
19
19
|
// If the theme mode is dark, return a lightened version of the themeValue
|
|
20
|
-
if (themeMode ===
|
|
20
|
+
if (themeMode === "dark") {
|
|
21
21
|
return lighten(0.2, themeColor);
|
|
22
22
|
} else {
|
|
23
23
|
// If the theme mode is light, return a darkened version of the themeValue
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@sproutsocial/racine",
|
|
3
|
-
"version": "
|
|
3
|
+
"version": "21.0.0",
|
|
4
4
|
"license": "MIT",
|
|
5
5
|
"engines": {
|
|
6
6
|
"node": ">=18"
|
|
@@ -29,13 +29,12 @@
|
|
|
29
29
|
"clean:modules": "rm -rf node_modules",
|
|
30
30
|
"build-package": "node ./bin/buildPackage.js",
|
|
31
31
|
"watch-package": "node ./bin/buildPackage.js --watch",
|
|
32
|
-
"build-svgs": "node ./bin/buildSVG.js",
|
|
33
32
|
"build-app": "BABEL_ENV=es node ./bin/buildApp.js",
|
|
34
33
|
"build:ts-declarations": "tsc --project tsconfig.build.json && tsc-alias -p tsconfig.build.json",
|
|
35
34
|
"watch-app": "BABEL_ENV=es node ./bin/buildApp.js --watch",
|
|
36
|
-
"start-package-only": "npm-run-all install-deps clean -p
|
|
37
|
-
"dev:storybook": "npm-run-all clean -p
|
|
38
|
-
"build": "npm-run-all -s clean build
|
|
35
|
+
"start-package-only": "npm-run-all install-deps clean -p watch-package",
|
|
36
|
+
"dev:storybook": "npm-run-all clean -p watch-package watch-app",
|
|
37
|
+
"build": "npm-run-all -s clean build:ts-declarations build-package build-app",
|
|
39
38
|
"format": "prettier --write .",
|
|
40
39
|
"format:check": "prettier -c .",
|
|
41
40
|
"lint": "eslint --max-warnings=0 --fix .",
|
|
@@ -54,7 +53,7 @@
|
|
|
54
53
|
"release": "yarn build && yarn test && yarn changeset publish",
|
|
55
54
|
"storybook": "rm -rf node_modules/.cache/storybook && storybook dev -c .storybook -p 9999",
|
|
56
55
|
"build-storybook": "storybook build --quiet -c .storybook -o .storybook-dist",
|
|
57
|
-
"build-chromatic": "
|
|
56
|
+
"build-chromatic": "storybook build --quiet -c .storybook -o .storybook-dist",
|
|
58
57
|
"ts-to-flow": "flowgen $FILE -o $OUTPUT --add-flow-header --no-module-exports"
|
|
59
58
|
},
|
|
60
59
|
"dependencies": {
|
|
@@ -94,8 +93,10 @@
|
|
|
94
93
|
"@sproutsocial/seeds-color": "*",
|
|
95
94
|
"@sproutsocial/seeds-depth": "*",
|
|
96
95
|
"@sproutsocial/seeds-icons": "*",
|
|
96
|
+
"@sproutsocial/seeds-illustrations": "*",
|
|
97
97
|
"@sproutsocial/seeds-motion": "*",
|
|
98
98
|
"@sproutsocial/seeds-networkcolor": "*",
|
|
99
|
+
"@sproutsocial/seeds-partner-logos": "*",
|
|
99
100
|
"@sproutsocial/seeds-space": "*",
|
|
100
101
|
"@sproutsocial/seeds-tsconfig": "*",
|
|
101
102
|
"@sproutsocial/seeds-typography": "*",
|
|
@@ -132,7 +133,7 @@
|
|
|
132
133
|
"babel-plugin-polished": "^1.1.0",
|
|
133
134
|
"babel-plugin-styled-components": "^2.0.7",
|
|
134
135
|
"babel-polyfill": "^6.26.0",
|
|
135
|
-
"backstopjs": "6.
|
|
136
|
+
"backstopjs": "6.3.3",
|
|
136
137
|
"chalk": "^2.3.2",
|
|
137
138
|
"chokidar": "^3.0.2",
|
|
138
139
|
"csstype": "^3.1.1",
|
|
@@ -166,8 +167,7 @@
|
|
|
166
167
|
"rimraf": "^2.6.3",
|
|
167
168
|
"storybook": "^7.2.1",
|
|
168
169
|
"storybook-dark-mode": "^3.0.1",
|
|
169
|
-
"
|
|
170
|
-
"svgstore": "^3.0.1",
|
|
170
|
+
"styled-components": "^5.2.3",
|
|
171
171
|
"tsc-alias": "^1.8.2",
|
|
172
172
|
"typescript": "^5.1.6",
|
|
173
173
|
"webpack": "^5.88.2",
|
|
@@ -184,6 +184,8 @@
|
|
|
184
184
|
"@sproutsocial/seeds-networkcolor": ">=2.14.0",
|
|
185
185
|
"@sproutsocial/seeds-space": ">=0.4.0",
|
|
186
186
|
"@sproutsocial/seeds-typography": ">=2.0.0",
|
|
187
|
+
"@sproutsocial/seeds-partner-logos": ">=1.5.0",
|
|
188
|
+
"@sproutsocial/seeds-illustrations": ">=1.3.0",
|
|
187
189
|
"moment": "^2.29.4",
|
|
188
190
|
"prop-types": "^15.0.0",
|
|
189
191
|
"react": "^16.8.0 || ^17.0.0",
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @flow
|
|
2
|
-
export type EnumIllustrationNames = "abacus" | "analytics-offering" | "asset-cards" | "astronaut" | "binoculars" | "brand-keyword" | "browser-doc" | "business" | "calendar-event" | "calendar-reporting" | "cat-error" | "cat-no-access" | "cat" | "checkbox-alert" | "coffee-cup" | "competitors" | "compose-window" | "compose" | "computer-error" | "connect" | "contact" | "conversation" | "custom-branding" | "custom-post-variables" | "customer-service" | "dashboard" | "exclamation-mark" | "face-happy" | "find-bookmark" | "flask" | "general-topic" | "global-features" | "global-trend" | "grow-large" | "grow" | "hands-raised" | "headset" | "heartbeat-connection" | "instagram-links" | "invoice" | "jewel" | "keyword-tracking" | "lightbulb-alt" | "lightbulb" | "like-conversation" | "link-broken" | "link-messages" | "link-sections" | "link-upload" | "listening-pendo" | "listening-sentiment" | "listening-topic-templates" | "listening-tour" | "listening" | "loading" | "mailbox-empty" | "mailbox-full" | "megaphone" | "message" | "molecule" | "network-data" | "no-messages-found" | "no-notifications" | "note" | "notification" | "notifications-onboarding" | "notifications" | "organize-message" | "outbox-queue" | "outbox-reviews" | "pdf" | "planning" | "podium" | "pointer" | "publish-assets" | "publish-links" | "publishing-notifications" | "publishing" | "puzzle-piece" | "question-mark" | "reporting-folder" | "reporting" | "review-location" | "review" | "robot-assembly" | "robot-error" | "robot-happy" | "rocket" | "schedule-date" | "schedule-messages" | "search-keywords" | "search-success" | "search-trends" | "search" | "security" | "sentiment" | "shopping-bag" | "spark-line" | "sprout-mobile-app" | "stamp" | "storefront" | "success" | "tag-message" | "tag" | "team-roles" | "team" | "telescope" | "tha-mel" | "thumbs-up" | "toggle-switch" | "toolset-strength" | "tracking-time" | "twitter-messages" | "twitter-profiles" | "under-construction" | "unsubscribe" | "upward-trend" | "user-task" | "user-team" | "variable-table" | "view-connections" | "vip-list" | "warning" | "wifi" | "workflow-steps";
|
|
@@ -1,2 +0,0 @@
|
|
|
1
|
-
// @flow
|
|
2
|
-
export type EnumLogoNames = "adobe-experience-manager" | "android" | "apple-app-store" | "apple" | "bigcommerce" | "bitly" | "bynder" | "canva" | "dropbox" | "facebook-audience-network" | "facebook" | "facebook-groups" | "facebook-shops" | "feedly" | "github" | "glassdoor" | "google-analytics" | "google-business-messages" | "google-drive" | "google-my-business" | "google-play-store" | "hubspot" | "instagram" | "linkedin-audience-network" | "linkedin" | "marketo" | "messenger" | "microsoft-dynamics" | "pinterest" | "reddit" | "salesforce-cloud" | "salesforce" | "shopify" | "slack" | "sproutsocial" | "tableau" | "threads" | "tiktok" | "tripadvisor" | "trustpilot" | "tumblr" | "twitter-audience-network" | "twitter" | "whatsapp" | "woocommerce" | "x-twitter" | "yelp" | "youtube" | "zendesk";
|