@sproutsocial/racine 20.0.0 → 20.2.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 +35 -0
- package/README.md +5 -5
- package/__flow__/Avatar/Avatar.flow.js +1 -0
- package/__flow__/Avatar/constants.flow.js +11 -0
- package/__flow__/Avatar/index.flow.js +2 -1
- package/__flow__/Menu/Menu.flow.js +3 -0
- package/__flow__/Popout/Popout.flow.js +5 -0
- package/__flow__/types/theme.colors.flow.js +14 -0
- package/commonjs/Avatar/Avatar.flow.js +1 -1
- package/commonjs/Avatar/Avatar.js +54 -30
- package/commonjs/Avatar/constants.flow.js +17 -0
- package/commonjs/Avatar/constants.js +17 -0
- package/commonjs/Avatar/index.flow.js +12 -1
- package/commonjs/Avatar/index.js +9 -1
- package/commonjs/Badge/Badge.flow.js +1 -1
- package/commonjs/Badge/Badge.js +1 -1
- package/commonjs/Banner/Banner.flow.js +1 -1
- package/commonjs/Banner/Banner.js +1 -1
- package/commonjs/Banner/styles.js +1 -1
- package/commonjs/Box/Box.flow.js +1 -1
- package/commonjs/Box/Box.js +1 -1
- package/commonjs/Breadcrumb/Breadcrumb.flow.js +1 -1
- package/commonjs/Breadcrumb/Breadcrumb.js +3 -3
- package/commonjs/Button/Button.flow.js +1 -1
- package/commonjs/Button/styles.js +1 -1
- package/commonjs/Card/Card.flow.js +1 -1
- package/commonjs/Card/Card.js +3 -3
- package/commonjs/Card/CardTypes.flow.js +1 -1
- package/commonjs/Card/subComponents.js +1 -1
- package/commonjs/Card/utils.js +1 -1
- package/commonjs/CharacterCounter/CharacterCounter.flow.js +1 -1
- package/commonjs/CharacterCounter/CharacterCounter.js +1 -1
- package/commonjs/CharacterCounter/styles.js +1 -1
- package/commonjs/ChartLegend/ChartLegend.flow.js +1 -1
- package/commonjs/ChartLegend/ChartLegend.js +1 -1
- package/commonjs/ChartLegend/styles.js +1 -1
- package/commonjs/Checkbox/Checkbox.flow.js +1 -1
- package/commonjs/Checkbox/Checkbox.js +1 -1
- package/commonjs/Checkbox/styles.js +1 -1
- package/commonjs/Collapsible/Collapsible.flow.js +1 -1
- package/commonjs/Collapsible/Collapsible.js +5 -5
- package/commonjs/DatePicker/DateRangePicker/DateRangePicker.flow.js +1 -1
- package/commonjs/DatePicker/DateRangePicker/DateRangePicker.js +27 -10
- package/commonjs/DatePicker/DateRangePicker/StatefulDateRangePicker.flow.js +1 -1
- package/commonjs/DatePicker/DateRangePicker/StatefulDateRangePicker.js +3 -3
- package/commonjs/DatePicker/SingleDatePicker/SingleDatePicker.flow.js +1 -1
- package/commonjs/DatePicker/SingleDatePicker/SingleDatePicker.js +21 -10
- package/commonjs/DatePicker/SingleDatePicker/StatefulSingleDatePicker.flow.js +1 -1
- package/commonjs/DatePicker/SingleDatePicker/StatefulSingleDatePicker.js +3 -3
- package/commonjs/DatePicker/index.flow.js +1 -1
- package/commonjs/DatePicker/styles.js +1 -1
- package/commonjs/Drawer/Drawer.flow.js +1 -1
- package/commonjs/Drawer/Drawer.js +4 -4
- package/commonjs/Drawer/SlideTransition.js +1 -1
- package/commonjs/Drawer/styles.js +1 -1
- package/commonjs/EmptyState/EmptyState.flow.js +1 -1
- package/commonjs/EmptyState/EmptyState.js +2 -2
- package/commonjs/Fieldset/Fieldset.flow.js +1 -1
- package/commonjs/Fieldset/Fieldset.js +2 -2
- package/commonjs/Fieldset/styles.js +1 -1
- package/commonjs/FormField/FormField.flow.js +1 -1
- package/commonjs/FormField/FormField.js +3 -3
- package/commonjs/Icon/Icon.flow.js +1 -1
- package/commonjs/Icon/Icon.js +3 -3
- package/commonjs/Icon/index.flow.js +1 -1
- package/commonjs/Icon/styles.js +1 -1
- package/commonjs/Image/Image.flow.js +1 -1
- package/commonjs/Image/Image.js +1 -1
- package/commonjs/Image/styles.js +1 -1
- package/commonjs/Indicator/Indicator.flow.js +1 -1
- package/commonjs/Indicator/Indicator.js +1 -1
- package/commonjs/Input/Input.flow.js +1 -1
- package/commonjs/Input/Input.js +8 -4
- package/commonjs/Input/styles.js +1 -1
- package/commonjs/KeyboardKey/KeyboardKey.flow.js +1 -1
- package/commonjs/KeyboardKey/KeyboardKey.js +1 -1
- package/commonjs/Label/Label.flow.js +1 -1
- package/commonjs/Label/Label.js +1 -1
- package/commonjs/Link/Link.flow.js +1 -1
- package/commonjs/Link/Link.js +1 -1
- package/commonjs/Link/styles.js +1 -1
- package/commonjs/Listbox/Listbox.flow.js +1 -1
- package/commonjs/Listbox/Listbox.js +3 -3
- package/commonjs/Listbox/index.js +1 -1
- package/commonjs/Loader/Loader.flow.js +1 -1
- package/commonjs/Loader/Loader.js +1 -1
- package/commonjs/Loader/styles.js +1 -1
- package/commonjs/LoaderButton/LoaderButton.flow.js +1 -1
- package/commonjs/LoaderButton/LoaderButton.js +4 -5
- package/commonjs/Menu/Menu.flow.js +1 -1
- package/commonjs/Menu/Menu.js +51 -30
- package/commonjs/Menu/index.js +1 -1
- package/commonjs/Menu/styles.js +1 -1
- package/commonjs/Menu/utils/descendants.js +12 -6
- package/commonjs/Menu/utils/hooks.js +8 -2
- package/commonjs/Menu/utils/index.js +0 -11
- package/commonjs/Message/Message.flow.js +1 -1
- package/commonjs/Message/Message.js +1 -1
- package/commonjs/Modal/Modal.flow.js +1 -1
- package/commonjs/Modal/Modal.js +1 -1
- package/commonjs/Modal/styles.js +1 -1
- package/commonjs/Numeral/Numeral.flow.js +1 -1
- package/commonjs/Numeral/Numeral.js +3 -3
- package/commonjs/PartnerLogo/PartnerLogo.flow.js +1 -1
- package/commonjs/PartnerLogo/styles.js +1 -1
- package/commonjs/Popout/Popout.flow.js +1 -1
- package/commonjs/Popout/Popout.js +15 -10
- package/commonjs/Portal/Portal.flow.js +1 -1
- package/commonjs/Portal/Portal.js +1 -1
- package/commonjs/Radio/Radio.flow.js +1 -1
- package/commonjs/Radio/Radio.js +1 -1
- package/commonjs/Radio/styles.js +1 -1
- package/commonjs/SegmentedControl/SegmentedControl.flow.js +1 -1
- package/commonjs/SegmentedControl/SegmentedControl.js +3 -3
- package/commonjs/SegmentedControl/styles.js +1 -1
- package/commonjs/Select/Select.flow.js +1 -1
- package/commonjs/Select/Select.js +1 -1
- package/commonjs/Select/styles.js +1 -1
- package/commonjs/Skeleton/Skeleton.js +29 -5
- package/commonjs/SpotIllustration/SpotIllustration.flow.js +1 -1
- package/commonjs/SpotIllustration/SpotIllustration.js +2 -2
- package/commonjs/Stack/Stack.flow.js +1 -1
- package/commonjs/Stack/Stack.js +1 -1
- package/commonjs/StatefulStory.js +8 -2
- package/commonjs/Switch/Switch.flow.js +1 -1
- package/commonjs/Switch/Switch.js +1 -1
- package/commonjs/Switch/styles.js +1 -1
- package/commonjs/Table/Table.flow.js +1 -1
- package/commonjs/Table/Table.js +1 -1
- package/commonjs/TableCell/TableCell.flow.js +1 -1
- package/commonjs/TableCell/TableCell.js +1 -1
- package/commonjs/TableHeaderCell/TableHeaderCell.flow.js +1 -1
- package/commonjs/TableHeaderCell/TableHeaderCell.js +2 -1
- package/commonjs/TableHeaderCell/styles.js +1 -1
- package/commonjs/TableRowAccordion/TableRowAccordion.flow.js +1 -1
- package/commonjs/TableRowAccordion/TableRowAccordion.js +1 -1
- package/commonjs/TableRowAccordion/styles.js +1 -1
- package/commonjs/Tabs/Tabs.flow.js +1 -1
- package/commonjs/Tabs/Tabs.js +4 -4
- package/commonjs/Tabs/styles.js +1 -1
- package/commonjs/Text/Text.flow.js +1 -1
- package/commonjs/Text/Text.js +1 -1
- package/commonjs/Text/styles.js +1 -1
- package/commonjs/Textarea/Textarea.flow.js +1 -1
- package/commonjs/Textarea/Textarea.js +5 -2
- package/commonjs/Textarea/styles.js +1 -1
- package/commonjs/ThemeProvider/index.flow.js +1 -1
- package/commonjs/ThemeProvider/index.js +3 -1
- package/commonjs/Toast/Toast.flow.js +1 -1
- package/commonjs/Toast/Toast.js +1 -1
- package/commonjs/Toast/index.js +1 -1
- package/commonjs/Toast/styles.js +1 -2
- package/commonjs/ToggleHint/ToggleHint.flow.js +1 -1
- package/commonjs/ToggleHint/ToggleHint.js +1 -1
- package/commonjs/ToggleHint/styles.js +1 -1
- package/commonjs/Token/Token.flow.js +1 -1
- package/commonjs/Token/Token.js +1 -1
- package/commonjs/Token/index.js +1 -1
- package/commonjs/Token/styles.js +1 -1
- package/commonjs/TokenInput/TokenInput.flow.js +1 -1
- package/commonjs/TokenInput/TokenInput.js +4 -4
- package/commonjs/TokenInput/TokenScreenReaderStatus.js +4 -4
- package/commonjs/TokenInput/styles.js +1 -1
- package/commonjs/Tooltip/Tooltip.flow.js +1 -1
- package/commonjs/Tooltip/Tooltip.js +112 -46
- package/commonjs/VisuallyHidden/VisuallyHidden.flow.js +1 -1
- package/commonjs/index.flow.js +1 -1
- package/commonjs/systemProps/background.flow.js +1 -0
- package/commonjs/systemProps/border.flow.js +1 -0
- package/commonjs/systemProps/color.flow.js +1 -0
- package/commonjs/systemProps/custom.flow.js +1 -0
- package/commonjs/systemProps/flexbox.flow.js +1 -0
- package/commonjs/systemProps/grid.flow.js +1 -0
- package/commonjs/systemProps/index.js +2 -0
- package/commonjs/systemProps/layout.flow.js +1 -0
- package/commonjs/systemProps/position.flow.js +1 -0
- package/commonjs/systemProps/shadow.flow.js +1 -0
- package/commonjs/systemProps/space.flow.js +16 -1
- package/commonjs/systemProps/typography.flow.js +1 -0
- package/commonjs/systemProps/variant.flow.js +1 -0
- package/commonjs/themes/dark/decorative-palettes.js +1 -1
- package/commonjs/themes/dark/theme.js +19 -4
- package/commonjs/themes/extendedThemes/sproutTheme/dark/theme.js +5 -4
- package/commonjs/themes/extendedThemes/sproutTheme/light/theme.js +5 -4
- package/commonjs/themes/light/decorative-palettes.js +1 -1
- package/commonjs/themes/light/theme.js +19 -4
- package/commonjs/types/shared.flow.js +1 -1
- package/commonjs/types/styled-components.flow.js +1 -1
- package/commonjs/utils/a11yTest.js +14 -16
- package/commonjs/utils/dataQaLabelQueries.js +2 -2
- package/commonjs/utils/hooks.flow.js +4 -2
- package/commonjs/utils/hooks.js +5 -5
- package/commonjs/utils/index.js +1 -1
- package/commonjs/utils/innerText.flow.js +1 -1
- package/commonjs/utils/react-testing-library.flow.js +1 -1
- package/commonjs/utils/react-testing-library.js +15 -13
- package/commonjs/utils/responsiveProps/index.js +2 -2
- package/commonjs/utils/system-props/system-props.js +1 -1
- package/commonjs/utils/use-measure.js +2 -2
- package/dist/themes/dark/theme.scss +14 -1
- package/dist/themes/extendedThemes/sproutTheme/dark/theme.scss +14 -1
- package/dist/themes/extendedThemes/sproutTheme/light/theme.scss +14 -1
- package/dist/themes/light/theme.scss +14 -1
- package/dist/types/Avatar/Avatar.d.ts +4 -3
- package/dist/types/Avatar/Avatar.d.ts.map +1 -1
- package/dist/types/Avatar/AvatarTypes.d.ts +5 -2
- package/dist/types/Avatar/AvatarTypes.d.ts.map +1 -1
- package/dist/types/Avatar/constants.d.ts +11 -0
- package/dist/types/Avatar/constants.d.ts.map +1 -0
- package/dist/types/Avatar/index.d.ts +1 -0
- package/dist/types/Avatar/index.d.ts.map +1 -1
- package/dist/types/Badge/Badge.d.ts +2 -2
- package/dist/types/Badge/Badge.d.ts.map +1 -1
- package/dist/types/Badge/BadgeTypes.d.ts +1 -1
- package/dist/types/Badge/BadgeTypes.d.ts.map +1 -1
- package/dist/types/Banner/Banner.d.ts +2 -2
- package/dist/types/Banner/Banner.d.ts.map +1 -1
- package/dist/types/Banner/BannerTypes.d.ts +1 -1
- package/dist/types/Banner/BannerTypes.d.ts.map +1 -1
- package/dist/types/Banner/styles.d.ts +3 -3
- package/dist/types/Banner/styles.d.ts.map +1 -1
- package/dist/types/Breadcrumb/Breadcrumb.d.ts +3 -3
- package/dist/types/Breadcrumb/Breadcrumb.d.ts.map +1 -1
- package/dist/types/Button/Button.d.ts +2 -2
- package/dist/types/Button/Button.d.ts.map +1 -1
- package/dist/types/Button/ButtonTypes.d.ts +1 -1
- package/dist/types/Button/ButtonTypes.d.ts.map +1 -1
- package/dist/types/Card/Card.d.ts +2 -2
- package/dist/types/Card/Card.d.ts.map +1 -1
- package/dist/types/Card/CardTypes.d.ts +5 -5
- package/dist/types/Card/CardTypes.d.ts.map +1 -1
- package/dist/types/Card/styles.d.ts +4 -4
- package/dist/types/Card/subComponents.d.ts +6 -6
- package/dist/types/Card/subComponents.d.ts.map +1 -1
- package/dist/types/CharacterCounter/CharacterCounter.d.ts +1 -1
- package/dist/types/ChartLegend/ChartLegend.d.ts +2 -2
- package/dist/types/ChartLegend/ChartLegend.d.ts.map +1 -1
- package/dist/types/ChartLegend/ChartLegendTypes.d.ts +1 -1
- package/dist/types/ChartLegend/ChartLegendTypes.d.ts.map +1 -1
- package/dist/types/ChartLegend/useChartLabels.d.ts +2 -2
- package/dist/types/ChartLegend/useChartLabels.d.ts.map +1 -1
- package/dist/types/Checkbox/Checkbox.d.ts +1 -1
- package/dist/types/Checkbox/styles.d.ts +3 -3
- package/dist/types/Collapsible/Collapsible.d.ts +4 -4
- package/dist/types/Collapsible/Collapsible.d.ts.map +1 -1
- package/dist/types/DatePicker/DateRangePicker/DateRangePicker.d.ts +2 -2
- package/dist/types/DatePicker/DateRangePicker/DateRangePicker.d.ts.map +1 -1
- package/dist/types/DatePicker/DateRangePicker/DateRangePickerTypes.d.ts +4 -2
- package/dist/types/DatePicker/DateRangePicker/DateRangePickerTypes.d.ts.map +1 -1
- package/dist/types/DatePicker/DateRangePicker/StatefulDateRangePicker.d.ts +2 -2
- package/dist/types/DatePicker/DateRangePicker/StatefulDateRangePicker.d.ts.map +1 -1
- package/dist/types/DatePicker/SingleDatePicker/SingleDatePicker.d.ts.map +1 -1
- package/dist/types/DatePicker/SingleDatePicker/SingleDatePickerTypes.d.ts +2 -0
- package/dist/types/DatePicker/SingleDatePicker/SingleDatePickerTypes.d.ts.map +1 -1
- package/dist/types/DatePicker/SingleDatePicker/StatefulSingleDatePicker.d.ts +2 -2
- package/dist/types/DatePicker/SingleDatePicker/StatefulSingleDatePicker.d.ts.map +1 -1
- package/dist/types/DatePicker/common.d.ts +3 -3
- package/dist/types/DatePicker/common.d.ts.map +1 -1
- package/dist/types/Drawer/Drawer.d.ts +2 -2
- package/dist/types/Drawer/SlideTransition.d.ts +2 -2
- package/dist/types/Drawer/SlideTransition.d.ts.map +1 -1
- package/dist/types/EmptyState/EmptyState.d.ts +2 -2
- package/dist/types/EmptyState/EmptyState.d.ts.map +1 -1
- package/dist/types/EnumIllustrationNames.d.ts +1 -1
- package/dist/types/EnumIllustrationNames.d.ts.map +1 -1
- package/dist/types/EnumLogoNames.d.ts +1 -1
- package/dist/types/EnumLogoNames.d.ts.map +1 -1
- package/dist/types/Fieldset/Fieldset.d.ts +4 -4
- package/dist/types/Fieldset/Fieldset.d.ts.map +1 -1
- package/dist/types/FormField/FormField.d.ts +2 -2
- package/dist/types/FormField/FormField.d.ts.map +1 -1
- package/dist/types/Icon/Icon.d.ts +3 -3
- package/dist/types/Icon/Icon.d.ts.map +1 -1
- package/dist/types/Icon/IconTypes.d.ts +2 -2
- package/dist/types/Icon/IconTypes.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/Indicator/Indicator.d.ts +1 -1
- package/dist/types/Input/Input.d.ts +2 -2
- package/dist/types/KeyboardKey/KeyboardKey.d.ts +1 -1
- package/dist/types/Label/Label.d.ts +1 -1
- package/dist/types/Link/Link.d.ts +2 -2
- package/dist/types/Link/Link.d.ts.map +1 -1
- package/dist/types/Link/styles.d.ts +1 -1
- package/dist/types/Listbox/Listbox.d.ts +11 -11
- package/dist/types/Listbox/Listbox.d.ts.map +1 -1
- package/dist/types/Loader/Loader.d.ts +1 -1
- package/dist/types/LoaderButton/LoaderButton.d.ts +2 -2
- package/dist/types/LoaderButton/LoaderButton.d.ts.map +1 -1
- package/dist/types/Menu/Menu.d.ts +14 -14
- package/dist/types/Menu/Menu.d.ts.map +1 -1
- package/dist/types/Menu/MenuTypes.d.ts +4 -2
- package/dist/types/Menu/MenuTypes.d.ts.map +1 -1
- package/dist/types/Menu/utils/descendants.d.ts +3 -3
- 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 +0 -1
- package/dist/types/Menu/utils/index.d.ts.map +1 -1
- package/dist/types/Message/Message.d.ts +8 -8
- package/dist/types/Message/MessageTypes.d.ts +2 -2
- package/dist/types/Message/MessageTypes.d.ts.map +1 -1
- package/dist/types/Modal/Modal.d.ts +4 -4
- package/dist/types/Modal/styles.d.ts +1 -1
- package/dist/types/Modal/styles.d.ts.map +1 -1
- package/dist/types/Numeral/Numeral.d.ts +2 -2
- package/dist/types/Numeral/Numeral.d.ts.map +1 -1
- package/dist/types/Numeral/NumeralTypes.d.ts +1 -1
- package/dist/types/Numeral/NumeralTypes.d.ts.map +1 -1
- package/dist/types/Numeral/styles.d.ts +2 -2
- package/dist/types/PartnerLogo/PartnerLogo.d.ts +2 -2
- package/dist/types/PartnerLogo/PartnerLogo.d.ts.map +1 -1
- package/dist/types/PartnerLogo/PartnerLogoTypes.d.ts +3 -3
- package/dist/types/PartnerLogo/PartnerLogoTypes.d.ts.map +1 -1
- 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 +5 -1
- package/dist/types/Popout/PopoutTypes.d.ts.map +1 -1
- package/dist/types/Radio/Radio.d.ts +1 -1
- package/dist/types/Radio/styles.d.ts +1 -1
- package/dist/types/SegmentedControl/SegmentedControl.d.ts +3 -3
- package/dist/types/SegmentedControl/SegmentedControl.d.ts.map +1 -1
- package/dist/types/SegmentedControl/styles.d.ts +1 -1
- package/dist/types/Select/Select.d.ts +1 -1
- package/dist/types/Skeleton/Skeleton.d.ts +3 -1
- package/dist/types/Skeleton/Skeleton.d.ts.map +1 -1
- package/dist/types/SpotIllustration/SpotIllustration.d.ts +2 -2
- package/dist/types/SpotIllustration/SpotIllustration.d.ts.map +1 -1
- package/dist/types/Stack/Stack.d.ts +2 -2
- package/dist/types/Stack/Stack.d.ts.map +1 -1
- package/dist/types/Stack/StackTypes.d.ts +3 -3
- package/dist/types/Stack/StackTypes.d.ts.map +1 -1
- package/dist/types/Switch/Switch.d.ts +2 -2
- package/dist/types/Switch/Switch.d.ts.map +1 -1
- package/dist/types/Table/Table.d.ts +8 -8
- package/dist/types/Table/Table.d.ts.map +1 -1
- package/dist/types/TableCell/TableCell.d.ts +1 -1
- package/dist/types/TableHeaderCell/TableHeaderCell.d.ts +2 -2
- package/dist/types/TableHeaderCell/TableHeaderCell.d.ts.map +1 -1
- package/dist/types/TableHeaderCell/TableHeaderCellTypes.d.ts +1 -1
- package/dist/types/TableHeaderCell/TableHeaderCellTypes.d.ts.map +1 -1
- package/dist/types/TableRowAccordion/TableRowAccordion.d.ts +1 -1
- package/dist/types/Tabs/Tabs.d.ts +2 -2
- package/dist/types/Tabs/Tabs.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 +2 -2
- package/dist/types/Text/Text.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 +1 -1
- package/dist/types/Textarea/TextareaTypes.d.ts.map +1 -1
- package/dist/types/ThemeProvider/index.d.ts +3 -3
- package/dist/types/ThemeProvider/index.d.ts.map +1 -1
- package/dist/types/Toast/Toast.d.ts +2 -2
- package/dist/types/Toast/Toast.d.ts.map +1 -1
- package/dist/types/Toast/ToastTypes.d.ts +1 -1
- package/dist/types/Toast/ToastTypes.d.ts.map +1 -1
- package/dist/types/Toast/styles.d.ts +2 -2
- package/dist/types/ToggleHint/ToggleHint.d.ts +2 -2
- package/dist/types/ToggleHint/ToggleHint.d.ts.map +1 -1
- package/dist/types/Token/Token.d.ts +2 -2
- package/dist/types/Token/Token.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/Tooltip/Tooltip.d.ts +2 -2
- package/dist/types/Tooltip/Tooltip.d.ts.map +1 -1
- package/dist/types/Tooltip/TooltipTypes.d.ts +2 -0
- package/dist/types/Tooltip/TooltipTypes.d.ts.map +1 -1
- package/dist/types/themes/dark/theme.d.ts +13 -0
- package/dist/types/themes/dark/theme.d.ts.map +1 -1
- package/dist/types/themes/light/theme.d.ts +14 -1
- package/dist/types/themes/light/theme.d.ts.map +1 -1
- package/dist/types/types/shared.d.ts +3 -3
- package/dist/types/types/shared.d.ts.map +1 -1
- package/dist/types/types/system-props.d.ts +3 -3
- package/dist/types/types/system-props.d.ts.map +1 -1
- package/dist/types/types/theme.colors.d.ts +28 -15
- package/dist/types/types/theme.colors.d.ts.map +1 -1
- package/dist/types/types/theme.d.ts +13 -13
- package/dist/types/types/theme.d.ts.map +1 -1
- package/dist/types/utils/dataQaLabelQueries.d.ts +2 -2
- package/dist/types/utils/dataQaLabelQueries.d.ts.map +1 -1
- package/dist/types/utils/hooks.d.ts +6 -6
- 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/react-testing-library.d.ts +3 -123
- package/dist/types/utils/react-testing-library.d.ts.map +1 -1
- package/lib/Avatar/Avatar.js +51 -28
- package/lib/Avatar/constants.flow.js +10 -0
- package/lib/Avatar/constants.js +10 -0
- package/lib/Avatar/index.flow.js +2 -1
- package/lib/Avatar/index.js +2 -1
- package/lib/Breadcrumb/Breadcrumb.js +3 -3
- package/lib/Card/Card.js +2 -2
- package/lib/Card/utils.js +1 -1
- package/lib/CharacterCounter/CharacterCounter.js +1 -1
- package/lib/Checkbox/Checkbox.js +1 -1
- package/lib/Collapsible/Collapsible.js +5 -5
- package/lib/DatePicker/DateRangePicker/DateRangePicker.js +27 -10
- package/lib/DatePicker/DateRangePicker/StatefulDateRangePicker.js +2 -2
- package/lib/DatePicker/SingleDatePicker/SingleDatePicker.js +21 -10
- package/lib/DatePicker/SingleDatePicker/StatefulSingleDatePicker.js +2 -2
- package/lib/Drawer/Drawer.js +3 -3
- package/lib/FormField/FormField.js +2 -2
- package/lib/Icon/Icon.flow.js +3 -1
- package/lib/Icon/Icon.js +3 -3
- package/lib/Image/Image.js +1 -1
- package/lib/Indicator/Indicator.js +1 -1
- package/lib/Input/Input.js +9 -4
- package/lib/KeyboardKey/KeyboardKey.js +1 -1
- package/lib/Label/Label.js +1 -1
- package/lib/Listbox/Listbox.js +3 -3
- package/lib/Loader/Loader.js +1 -1
- package/lib/LoaderButton/LoaderButton.js +3 -4
- package/lib/Menu/Menu.js +51 -30
- package/lib/Menu/utils/descendants.js +5 -5
- package/lib/Menu/utils/hooks.js +8 -2
- package/lib/Menu/utils/index.js +1 -2
- package/lib/Numeral/Numeral.js +2 -2
- package/lib/PartnerLogo/PartnerLogo.flow.js +5 -1
- package/lib/Popout/Popout.flow.js +3 -1
- package/lib/Popout/Popout.js +15 -10
- package/lib/Portal/Portal.js +1 -1
- package/lib/Radio/Radio.js +1 -1
- package/lib/SegmentedControl/SegmentedControl.js +2 -2
- package/lib/Select/Select.js +1 -1
- package/lib/Skeleton/Skeleton.js +30 -5
- package/lib/StatefulStory.js +2 -2
- package/lib/TableCell/TableCell.flow.js +5 -1
- package/lib/TableCell/TableCell.js +1 -1
- package/lib/TableHeaderCell/TableHeaderCell.js +2 -1
- package/lib/TableRowAccordion/TableRowAccordion.js +1 -1
- package/lib/Tabs/Tabs.js +4 -4
- package/lib/Textarea/Textarea.js +5 -1
- package/lib/ThemeProvider/index.flow.js +3 -1
- package/lib/ThemeProvider/index.js +3 -0
- package/lib/ToggleHint/ToggleHint.js +1 -1
- package/lib/TokenInput/TokenInput.js +4 -4
- package/lib/TokenInput/TokenScreenReaderStatus.js +2 -2
- package/lib/Tooltip/Tooltip.js +112 -46
- package/lib/systemProps/background.flow.js +3 -0
- package/lib/systemProps/border.flow.js +3 -0
- package/lib/systemProps/color.flow.js +3 -0
- package/lib/systemProps/custom.flow.js +3 -0
- package/lib/systemProps/flexbox.flow.js +3 -0
- package/lib/systemProps/grid.flow.js +3 -0
- package/lib/systemProps/index.js +7 -1
- package/lib/systemProps/layout.flow.js +3 -0
- package/lib/systemProps/position.flow.js +3 -0
- package/lib/systemProps/shadow.flow.js +3 -0
- package/lib/systemProps/space.flow.js +16 -0
- package/lib/systemProps/typography.flow.js +3 -0
- package/lib/systemProps/variant.flow.js +3 -0
- package/lib/themes/dark/decorative-palettes.js +1 -1
- package/lib/themes/dark/theme.js +16 -3
- package/lib/themes/extendedThemes/sproutTheme/dark/theme.js +3 -3
- package/lib/themes/extendedThemes/sproutTheme/light/theme.js +3 -3
- package/lib/themes/light/decorative-palettes.js +1 -1
- package/lib/themes/light/theme.js +16 -4
- package/lib/utils/a11yTest.js +13 -15
- package/lib/utils/dataQaLabelQueries.js +2 -2
- package/lib/utils/hooks.flow.js +2 -3
- package/lib/utils/hooks.js +5 -5
- package/lib/utils/index.js +1 -1
- package/lib/utils/react-testing-library.js +15 -13
- package/lib/utils/responsiveProps/index.js +2 -2
- package/lib/utils/use-measure.js +2 -2
- package/package.json +47 -42
- package/commonjs/Menu/utils/names.js +0 -8
- package/dist/types/Menu/utils/names.d.ts +0 -2
- package/dist/types/Menu/utils/names.d.ts.map +0 -1
- package/lib/Menu/utils/names.js +0 -1
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MenuTypes.d.ts","sourceRoot":"","sources":["../../../src/Menu/MenuTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAC,+BAA+B,EAAC,MAAM,8BAA8B,CAAC;AAClF,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,UAAU,CA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GAAG,IAAI,GAAG,SAAS,CAAC;CACpC"}
|
|
@@ -4,11 +4,11 @@ import * as React from 'react';
|
|
|
4
4
|
* pre-release and unstable, so instead of importing it, we copied it here and changed the types from TypeScript to
|
|
5
5
|
* Flow. If the package ever stabilizes, we can import these functions from there and remove this file.
|
|
6
6
|
*/
|
|
7
|
-
export
|
|
7
|
+
export type TypeDescendant<ElementType, DescendantProps> = DescendantProps & {
|
|
8
8
|
element: ElementType | null;
|
|
9
9
|
index: number;
|
|
10
10
|
};
|
|
11
|
-
|
|
11
|
+
type TypeDescendantContext<ElementType, DescendantProps> = {
|
|
12
12
|
descendants: TypeDescendant<ElementType, DescendantProps>[];
|
|
13
13
|
registerDescendant(descendant: Omit<TypeDescendant<ElementType, DescendantProps>, 'index'>): void;
|
|
14
14
|
unregisterDescendant(element: ElementType | null): void;
|
|
@@ -73,7 +73,7 @@ export declare function DescendantProvider<ElementType extends HTMLElement, Desc
|
|
|
73
73
|
children: React.ReactNode;
|
|
74
74
|
items: TypeDescendant<ElementType, DescendantProps>[];
|
|
75
75
|
set: (arg0: (arg0: TypeDescendant<ElementType, DescendantProps>[]) => any) => any;
|
|
76
|
-
}):
|
|
76
|
+
}): JSX.Element;
|
|
77
77
|
export declare function useDescendantKeyDown<ElementType, DescendantProps, K extends keyof TypeDescendant<ElementType, DescendantProps>>(context: React.Context<TypeDescendantContext<ElementType, DescendantProps>>, options: {
|
|
78
78
|
currentIndex?: number;
|
|
79
79
|
key?: K | 'option';
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"descendants.d.ts","sourceRoot":"","sources":["../../../../src/Menu/utils/descendants.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY/B;;;;GAIG;AACH,
|
|
1
|
+
{"version":3,"file":"descendants.d.ts","sourceRoot":"","sources":["../../../../src/Menu/utils/descendants.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAY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|
|
3
3
|
import type { TypeMenuButtonContext, TypeMenuContext } from '../../Menu/MenuTypes';
|
|
4
4
|
export declare const MenuContext: import("react").Context<TypeMenuContext>;
|
|
5
5
|
export declare const MenuButtonContext: import("react").Context<TypeMenuButtonContext>;
|
|
6
|
-
export
|
|
6
|
+
export type TypeMenuDescendantProps = {
|
|
7
7
|
id: string;
|
|
8
8
|
label: string | null | undefined;
|
|
9
9
|
value?: string;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../src/Menu/utils/hooks.ts"],"names":[],"mappings":";;AAGA,OAAO,KAAK,EAAC,qBAAqB,EAAE,eAAe,EAAC,MAAM,qBAAqB,CAAC;AAShF,eAAO,MAAM,WAAW,
|
|
1
|
+
{"version":3,"file":"hooks.d.ts","sourceRoot":"","sources":["../../../../src/Menu/utils/hooks.ts"],"names":[],"mappings":";;AAGA,OAAO,KAAK,EAAC,qBAAqB,EAAE,eAAe,EAAC,MAAM,qBAAqB,CAAC;AAShF,eAAO,MAAM,WAAW,0CAoBtB,CAAC;AACH,eAAO,MAAM,iBAAiB,gDAG5B,CAAC;AACH,MAAM,MAAM,uBAAuB,GAAG;IACpC,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IACjC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,QAAQ,CAAC,EAAE,OAAO,CAAC;CACpB,CAAC;AACF,eAAO,MAAM,qBAAqB;;;;EAEjC,CAAC;AAwBF,wBAAgB,cAAc;;;EAsI7B"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Menu/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../../src/Menu/utils/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAC;AAC5B,cAAc,eAAe,CAAC;AAC9B,cAAc,SAAS,CAAC"}
|
|
@@ -4,33 +4,33 @@ import { TypeButtonProps } from '../Button';
|
|
|
4
4
|
import { TypeCheckboxProps } from '../Checkbox';
|
|
5
5
|
import { EnumDensities, TypeMessageProps } from './MessageTypes';
|
|
6
6
|
declare const Message: {
|
|
7
|
-
({ children, density, borderColor, bg, indentContent, innerRef, qa, ...rest }: TypeMessageProps):
|
|
7
|
+
({ children, density, borderColor, bg, indentContent, innerRef, qa, ...rest }: TypeMessageProps): JSX.Element;
|
|
8
8
|
Body: {
|
|
9
|
-
(props: TypeMessageProps):
|
|
9
|
+
(props: TypeMessageProps): JSX.Element;
|
|
10
10
|
displayName: string;
|
|
11
11
|
};
|
|
12
12
|
Header: {
|
|
13
|
-
(props: TypeMessageProps):
|
|
13
|
+
(props: TypeMessageProps): JSX.Element;
|
|
14
14
|
displayName: string;
|
|
15
15
|
};
|
|
16
16
|
Footer: {
|
|
17
|
-
(props: TypeMessageProps):
|
|
17
|
+
(props: TypeMessageProps): JSX.Element;
|
|
18
18
|
displayName: string;
|
|
19
19
|
};
|
|
20
20
|
Meta: {
|
|
21
|
-
(props: TypeMessageProps):
|
|
21
|
+
(props: TypeMessageProps): JSX.Element;
|
|
22
22
|
displayName: string;
|
|
23
23
|
};
|
|
24
24
|
Button: {
|
|
25
|
-
(props: TypeButtonProps):
|
|
25
|
+
(props: TypeButtonProps): JSX.Element;
|
|
26
26
|
displayName: string;
|
|
27
27
|
};
|
|
28
28
|
Avatar: {
|
|
29
|
-
(props: TypeAvatarProps):
|
|
29
|
+
(props: TypeAvatarProps): JSX.Element;
|
|
30
30
|
displayName: string;
|
|
31
31
|
};
|
|
32
32
|
Checkbox: {
|
|
33
|
-
(props: TypeCheckboxProps):
|
|
33
|
+
(props: TypeCheckboxProps): JSX.Element;
|
|
34
34
|
displayName: string;
|
|
35
35
|
};
|
|
36
36
|
Context: React.Context<{
|
|
@@ -2,8 +2,8 @@ import * as React from 'react';
|
|
|
2
2
|
import { TypeBoxProps } from '../Box';
|
|
3
3
|
import { TypeQaProps } from '../types/shared';
|
|
4
4
|
import { MESSAGE_DENSITIES } from './constants';
|
|
5
|
-
|
|
6
|
-
export
|
|
5
|
+
type TypeDensityKeys = keyof typeof MESSAGE_DENSITIES;
|
|
6
|
+
export type EnumDensities = (typeof MESSAGE_DENSITIES)[TypeDensityKeys];
|
|
7
7
|
export interface TypeMessageProps extends TypeBoxProps {
|
|
8
8
|
/** Condensed, small, or large. */
|
|
9
9
|
density?: EnumDensities;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"MessageTypes.d.ts","sourceRoot":"","sources":["../../../src/Message/MessageTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AACtC,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAC,iBAAiB,EAAC,MAAM,aAAa,CAAC;AAI9C,
|
|
1
|
+
{"version":3,"file":"MessageTypes.d.ts","sourceRoot":"","sources":["../../../src/Message/MessageTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AACtC,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAC9C,OAAO,EAAC,iBAAiB,EAAC,MAAM,aAAa,CAAC;AAI9C,KAAK,eAAe,GAAG,MAAM,OAAO,iBAAiB,CAAC;AACtD,MAAM,MAAM,aAAa,GAAG,CAAC,OAAO,iBAAiB,CAAC,CAAC,eAAe,CAAC,CAAC;AAExE,MAAM,WAAW,gBAAiB,SAAQ,YAAY;IACpD,kCAAkC;IAClC,OAAO,CAAC,EAAE,aAAa,CAAC;IACxB,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;IAC1B,QAAQ,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,KAAK,CAAC,CAAC;IAC5B,WAAW,CAAC,EAAE,MAAM,CAAC;IAErB,EAAE,CAAC,EAAE,MAAM,CAAC;IAEZ,aAAa,CAAC,EAAE,OAAO,CAAC;IACxB,EAAE,CAAC,EAAE,WAAW,CAAC;CAClB"}
|
|
@@ -4,17 +4,17 @@ import type { TypeModalProps, TypeModalCloseButtonProps, TypeModalContentProps,
|
|
|
4
4
|
* The modal you want
|
|
5
5
|
*/
|
|
6
6
|
declare const Modal: {
|
|
7
|
-
(props: TypeModalProps):
|
|
7
|
+
(props: TypeModalProps): JSX.Element;
|
|
8
8
|
defaultProps: {
|
|
9
9
|
width: string;
|
|
10
10
|
zIndex: number;
|
|
11
11
|
};
|
|
12
12
|
Header: {
|
|
13
|
-
(props: TypeModalHeaderProps):
|
|
13
|
+
(props: TypeModalHeaderProps): JSX.Element;
|
|
14
14
|
displayName: string;
|
|
15
15
|
};
|
|
16
16
|
Footer: {
|
|
17
|
-
(props: TypeModalFooterProps):
|
|
17
|
+
(props: TypeModalFooterProps): JSX.Element;
|
|
18
18
|
defaultProps: {
|
|
19
19
|
bg: string;
|
|
20
20
|
};
|
|
@@ -22,7 +22,7 @@ declare const Modal: {
|
|
|
22
22
|
};
|
|
23
23
|
Content: React.ForwardRefExoticComponent<Omit<TypeModalContentProps, "ref"> & React.RefAttributes<unknown>>;
|
|
24
24
|
CloseButton: {
|
|
25
|
-
(props: TypeModalCloseButtonProps):
|
|
25
|
+
(props: TypeModalCloseButtonProps): JSX.Element | null;
|
|
26
26
|
displayName: string;
|
|
27
27
|
};
|
|
28
28
|
};
|
|
@@ -4,7 +4,7 @@ import { TypeContainerProps } from '../Box';
|
|
|
4
4
|
export declare const Body: import("styled-components").GlobalStyleComponent<{}, import("styled-components").DefaultTheme>;
|
|
5
5
|
export declare const Container: import("styled-components").StyledComponent<({ className, ...props }: {
|
|
6
6
|
className?: string | undefined;
|
|
7
|
-
} & Omit<ReactModal.Props, "className" | "portalClassName" | "overlayClassName">) =>
|
|
7
|
+
} & Omit<ReactModal.Props, "className" | "portalClassName" | "overlayClassName">) => JSX.Element, import("styled-components").DefaultTheme, TypeContainerProps, never>;
|
|
8
8
|
export declare const Content: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & React.RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
9
9
|
export declare const HeaderContainer: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & React.RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {}, never>;
|
|
10
10
|
export declare const Header: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & React.RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Modal/styles.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,UAAU,MAAM,aAAa,CAAC;AAErC,OAAY,EAAC,kBAAkB,EAAC,MAAM,UAAU,CAAC;AAmCjD,eAAO,MAAM,IAAI,gGAIhB,CAAC;AAEF,eAAO,MAAM,SAAS;;
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/Modal/styles.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,MAAM,OAAO,CAAC;AAG1B,OAAO,UAAU,MAAM,aAAa,CAAC;AAErC,OAAY,EAAC,kBAAkB,EAAC,MAAM,UAAU,CAAC;AAmCjD,eAAO,MAAM,IAAI,gGAIhB,CAAC;AAEF,eAAO,MAAM,SAAS;;sKAkDrB,CAAC;AAEF,eAAO,MAAM,OAAO,uNAWnB,CAAC;AAEF,eAAO,MAAM,eAAe,uNAI3B,CAAC;AAEF,eAAO,MAAM,MAAM;;SASlB,CAAC;AAEF,eAAO,MAAM,MAAM,uNAOlB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import type { TypeNumeralProps } from './NumeralTypes';
|
|
3
|
-
declare const Numeral: (props: TypeNumeralProps) =>
|
|
3
|
+
declare const Numeral: (props: TypeNumeralProps) => JSX.Element;
|
|
4
4
|
export default Numeral;
|
|
5
5
|
//# sourceMappingURL=Numeral.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Numeral.d.ts","sourceRoot":"","sources":["../../../src/Numeral/Numeral.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Numeral.d.ts","sourceRoot":"","sources":["../../../src/Numeral/Numeral.tsx"],"names":[],"mappings":";AAgBA,OAAO,KAAK,EAAoB,gBAAgB,EAAC,MAAM,gBAAgB,CAAC;AAyHxE,QAAA,MAAM,OAAO,UAAW,gBAAgB,gBA0CvC,CAAC;AAEF,eAAe,OAAO,CAAC"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TypeTextProps } from '../Text/TextTypes';
|
|
2
2
|
import { TypeQaProps } from '../types/shared';
|
|
3
|
-
export
|
|
3
|
+
export type EnumNumeralFormat = 'decimal' | 'currency' | 'percent';
|
|
4
4
|
export interface TypeNumeralProps extends Omit<TypeTextProps, 'children'> {
|
|
5
5
|
/** The number to be formatted */
|
|
6
6
|
number?: number | null | undefined;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"NumeralTypes.d.ts","sourceRoot":"","sources":["../../../src/Numeral/NumeralTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAE9C,
|
|
1
|
+
{"version":3,"file":"NumeralTypes.d.ts","sourceRoot":"","sources":["../../../src/Numeral/NumeralTypes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAC,aAAa,EAAC,MAAM,qBAAqB,CAAC;AAClD,OAAO,EAAC,WAAW,EAAC,MAAM,mBAAmB,CAAC;AAE9C,MAAM,MAAM,iBAAiB,GAAG,SAAS,GAAG,UAAU,GAAG,SAAS,CAAC;AAEnE,MAAM,WAAW,gBAAiB,SAAQ,IAAI,CAAC,aAAa,EAAE,UAAU,CAAC;IACvE,iCAAiC;IACjC,MAAM,CAAC,EAAE,MAAM,GAAG,IAAI,GAAG,SAAS,CAAC;IAEnC,mIAAmI;IACnI,MAAM,CAAC,EAAE,MAAM,CAAC;IAGhB,MAAM,CAAC,EAAE,iBAAiB,CAAC;IAE3B,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,MAAM,CAAC;IAElB,kIAAkI;IAClI,UAAU,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAE9B,2GAA2G;IAC3G,kBAAkB,CAAC,EAAE,MAAM,CAAC;IAE5B,sIAAsI;IACtI,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,EAAE,CAAC,EAAE,WAAW,CAAC;CAClB"}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
export declare const Container: import("styled-components").StyledComponent<{
|
|
3
|
-
({ fontSize, children, qa, color, ...rest }: import("../Text").TypeTextProps):
|
|
3
|
+
({ fontSize, children, qa, color, ...rest }: import("../Text").TypeTextProps): JSX.Element;
|
|
4
4
|
Headline: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, import("../Text").TypeTextProps, never>;
|
|
5
5
|
SubHeadline: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, import("../Text").TypeTextProps, never>;
|
|
6
6
|
SmallSubHeadline: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, import("../Text").TypeTextProps, never>;
|
|
@@ -10,7 +10,7 @@ export declare const Container: import("styled-components").StyledComponent<{
|
|
|
10
10
|
SmallBodyCopy: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, import("../Text").TypeTextProps, never>;
|
|
11
11
|
}, import("styled-components").DefaultTheme, {}, never>;
|
|
12
12
|
export declare const AbbrContainer: import("styled-components").StyledComponent<{
|
|
13
|
-
({ fontSize, children, qa, color, ...rest }: import("../Text").TypeTextProps):
|
|
13
|
+
({ fontSize, children, qa, color, ...rest }: import("../Text").TypeTextProps): JSX.Element;
|
|
14
14
|
Headline: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, import("../Text").TypeTextProps, never>;
|
|
15
15
|
SubHeadline: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, import("../Text").TypeTextProps, never>;
|
|
16
16
|
SmallSubHeadline: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, import("../Text").TypeTextProps, never>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { TypePartnerLogoProps } from './PartnerLogoTypes';
|
|
3
|
-
declare const PartnerLogo: ({ partnerName, backgroundType, logoType, height, width, size, "aria-label": ariaLabel, svgProps, ...rest }: TypePartnerLogoProps) =>
|
|
3
|
+
declare const PartnerLogo: ({ partnerName, backgroundType, logoType, height, width, size, "aria-label": ariaLabel, svgProps, ...rest }: TypePartnerLogoProps) => JSX.Element;
|
|
4
4
|
export default PartnerLogo;
|
|
5
5
|
//# sourceMappingURL=PartnerLogo.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PartnerLogo.d.ts","sourceRoot":"","sources":["../../../src/PartnerLogo/PartnerLogo.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"PartnerLogo.d.ts","sourceRoot":"","sources":["../../../src/PartnerLogo/PartnerLogo.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAC,oBAAoB,EAAC,MAAM,oBAAoB,CAAC;AAyBxD,QAAA,MAAM,WAAW,+GAUd,oBAAoB,gBAiCtB,CAAC;AAEF,eAAe,WAAW,CAAC"}
|
|
@@ -9,7 +9,7 @@ export declare const PartnerNames: readonly ["adobe-experience-manager", "androi
|
|
|
9
9
|
/**
|
|
10
10
|
* @deprecated Use EnumLogoNames instead
|
|
11
11
|
*/
|
|
12
|
-
export
|
|
12
|
+
export type TypePartnerNames = EnumLogoNames;
|
|
13
13
|
export declare const PartnerLogoSizes: {
|
|
14
14
|
readonly mini: "12px";
|
|
15
15
|
readonly small: "16px";
|
|
@@ -17,9 +17,9 @@ export declare const PartnerLogoSizes: {
|
|
|
17
17
|
readonly large: "32px";
|
|
18
18
|
readonly jumbo: "64px";
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type TypePartnerLogoSize = keyof typeof PartnerLogoSizes;
|
|
21
21
|
export declare const PartnerLogoTypes: readonly ["symbol", "wordmark", "lockup"];
|
|
22
|
-
export
|
|
22
|
+
export type TypePartnerLogoTypes = (typeof PartnerLogoTypes)[number];
|
|
23
23
|
export interface TypePartnerLogoProps extends TypeStyledComponentsCommonProps, TypeSystemCommonProps, TypeSystemFlexboxProps, Omit<React.ComponentPropsWithoutRef<'span'>, 'color'> {
|
|
24
24
|
/** The name of the partner whose logo you want to render. */
|
|
25
25
|
partnerName: EnumLogoNames;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PartnerLogoTypes.d.ts","sourceRoot":"","sources":["../../../src/PartnerLogo/PartnerLogoTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EAAC,+BAA+B,EAAC,MAAM,8BAA8B,CAAC;AAClF,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,yBAAyB,CAAC;AAGjC;;GAEG;AACH,eAAO,MAAM,YAAY,wrBAAmB,CAAC;AAE7C;;GAEG;AACH,
|
|
1
|
+
{"version":3,"file":"PartnerLogoTypes.d.ts","sourceRoot":"","sources":["../../../src/PartnerLogo/PartnerLogoTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAC,aAAa,EAAC,MAAM,oBAAoB,CAAC;AACtD,OAAO,KAAK,EAAC,+BAA+B,EAAC,MAAM,8BAA8B,CAAC;AAClF,OAAO,KAAK,EACV,qBAAqB,EACrB,sBAAsB,EACvB,MAAM,yBAAyB,CAAC;AAGjC;;GAEG;AACH,eAAO,MAAM,YAAY,wrBAAmB,CAAC;AAE7C;;GAEG;AACH,MAAM,MAAM,gBAAgB,GAAG,aAAa,CAAC;AAE7C,eAAO,MAAM,gBAAgB;;;;;;CAMnB,CAAC;AAEX,MAAM,MAAM,mBAAmB,GAAG,MAAM,OAAO,gBAAgB,CAAC;AAEhE,eAAO,MAAM,gBAAgB,2CAA4C,CAAC;AAE1E,MAAM,MAAM,oBAAoB,GAAG,CAAC,OAAO,gBAAgB,CAAC,CAAC,MAAM,CAAC,CAAC;AAErE,MAAM,WAAW,oBACf,SAAQ,+BAA+B,EACrC,qBAAqB,EACrB,sBAAsB,EACtB,IAAI,CAAC,KAAK,CAAC,wBAAwB,CAAC,MAAM,CAAC,EAAE,OAAO,CAAC;IACvD,6DAA6D;IAC7D,WAAW,EAAE,aAAa,CAAC;IAE3B,iHAAiH;IACjH,cAAc,CAAC,EAAE,MAAM,GAAG,OAAO,CAAC;IAClC,QAAQ,CAAC,EAAE,oBAAoB,CAAC;IAChC,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,IAAI,CAAC,EAAE,mBAAmB,CAAC;IAC3B,QAAQ,CAAC,EAAE,KAAK,CAAC,wBAAwB,CAAC,KAAK,CAAC,CAAC;CAClD"}
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { TypeBoxProps } from '../Box';
|
|
3
3
|
import type { TypePopoutProps, EnumPlacements } from './PopoutTypes';
|
|
4
4
|
export declare const placements: {
|
|
5
5
|
[key: string]: EnumPlacements;
|
|
6
6
|
};
|
|
7
|
-
export declare function Popout({ isOpen, setIsOpen, content, children, placement, fullWidth, zIndex, focusOnContent, onOpen, onClose, qa, popperProps, scheduleUpdateRef, appendToBody, focusLockProps, color, 'aria-haspopup': ariaHasPopup, ...rest }: TypePopoutProps):
|
|
7
|
+
export declare function Popout({ isOpen, setIsOpen, content, children, placement, fullWidth, zIndex, focusOnContent, onOpen, onClose, qa, popperProps, scheduleUpdateRef, appendToBody, focusLockProps, color, 'aria-haspopup': ariaHasPopup, disableWrapperAria, id, ...rest }: TypePopoutProps): JSX.Element;
|
|
8
8
|
export declare namespace Popout {
|
|
9
9
|
var Content: {
|
|
10
|
-
({ children, ...rest }: TypeBoxProps):
|
|
10
|
+
({ children, ...rest }: TypeBoxProps): JSX.Element;
|
|
11
11
|
displayName: string;
|
|
12
12
|
};
|
|
13
13
|
}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Popout.d.ts","sourceRoot":"","sources":["../../../src/Popout/Popout.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Popout.d.ts","sourceRoot":"","sources":["../../../src/Popout/Popout.tsx"],"names":[],"mappings":";AAQA,OAAY,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AAE3C,OAAO,KAAK,EAAC,eAAe,EAAE,cAAc,EAAC,MAAM,eAAe,CAAC;AAEnE,eAAO,MAAM,UAAU,EAAE;IAAC,CAAC,GAAG,EAAE,MAAM,GAAG,cAAc,CAAA;CAiBtD,CAAC;AA0BF,wBAAgB,MAAM,CAAC,EACrB,MAAM,EACN,SAAS,EACT,OAAO,EACP,QAAQ,EACR,SAAkB,EAClB,SAAiB,EACjB,MAAU,EACV,cAAqB,EACrB,MAAM,EACN,OAAO,EACP,EAAO,EACP,WAAW,EAEX,iBAA4B,EAC5B,YAAmB,EACnB,cAAmB,EACnB,KAAK,EACL,eAAe,EAAE,YAAY,EAC7B,kBAA0B,EAC1B,EAAE,EACF,GAAG,IAAI,EACR,EAAE,eAAe,eA+OjB;yBArQe,MAAM;;;;;;AA0RtB,eAAe,MAAM,CAAC"}
|
|
@@ -2,7 +2,7 @@ import * as React from 'react';
|
|
|
2
2
|
import type { PopperProps } from 'react-popper';
|
|
3
3
|
import type { TypeStyledComponentsCommonProps } from '../types/styled-components';
|
|
4
4
|
import type { TypeSystemCommonProps, TypeSystemLayoutProps } from '../types/system-props';
|
|
5
|
-
export
|
|
5
|
+
export type EnumPlacements = 'auto' | 'top' | 'right' | 'bottom' | 'left' | 'top-start' | 'right-start' | 'bottom-start' | 'left-start' | 'top-end' | 'right-end' | 'bottom-end' | 'left-end';
|
|
6
6
|
export interface TypeFocusLockProps {
|
|
7
7
|
disabled?: boolean;
|
|
8
8
|
returnFocus?: boolean | {
|
|
@@ -23,6 +23,10 @@ export interface TypeFocusLockProps {
|
|
|
23
23
|
children?: React.ReactNode;
|
|
24
24
|
}
|
|
25
25
|
export interface TypePopoutProps extends TypeStyledComponentsCommonProps, TypeSystemCommonProps, TypeSystemLayoutProps, Omit<React.ComponentPropsWithoutRef<'div'>, 'color' | 'children' | 'content'> {
|
|
26
|
+
/**
|
|
27
|
+
* Whether Popout should automatically add aria-attributes to its wrapped elements
|
|
28
|
+
*/
|
|
29
|
+
disableWrapperAria?: boolean;
|
|
26
30
|
/**
|
|
27
31
|
* Is the popout open? This prop is optional. By using it, you will lose some automatic handling of the logic for opening and closing the popout.
|
|
28
32
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"PopoutTypes.d.ts","sourceRoot":"","sources":["../../../src/Popout/PopoutTypes.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,KAAK,EAAC,WAAW,EAAC,MAAM,cAAc,CAAC;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AC,CAAC;IAE3B,mFAAmF;IACnF,SAAS,CAAC,EAAE,cAAc,CAAC;IAE3B;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAC;IAEpB;;;;;OAKG;IACH,cAAc,CAAC,EAAE,OAAO,CAAC;IACzB,EAAE,CAAC,EAAE,MAAM,CAAC,MAAM,EAAE,MAAM,CAAC,CAAC;IAC5B,MAAM,CAAC,EAAE,MAAM,CAAC;IAEhB;;OAEG;IACH,WAAW,CAAC,EAAE,OAAO,CAAC,WAAW,CAAC,CAAC;IACnC,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,MAAM,CAAC,EAAE,MAAM,IAAI,CAAC;IAEpB;;;OAGG;IACH,iBAAiB,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,IAAI,KAAK,IAAI,CAAC;IAE/C;;OAEG;IACH,YAAY,CAAC,EAAE,OAAO,CAAC;IAEvB;;OAEG;IACH,cAAc,CAAC,EAAE,kBAAkB,CAAC;CACrC"}
|
|
@@ -10,6 +10,6 @@ export default class Radio extends React.Component<TypeRadioProps> {
|
|
|
10
10
|
handleChange: (e: React.SyntheticEvent<HTMLInputElement>) => void;
|
|
11
11
|
handleFocus: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
12
12
|
handleBlur: (e: React.FocusEvent<HTMLInputElement>) => void;
|
|
13
|
-
render():
|
|
13
|
+
render(): JSX.Element;
|
|
14
14
|
}
|
|
15
15
|
//# sourceMappingURL=Radio.d.ts.map
|
|
@@ -6,7 +6,7 @@ export declare const InputWrapper: import("styled-components").StyledComponent<"
|
|
|
6
6
|
disabled?: boolean | undefined;
|
|
7
7
|
}, never>;
|
|
8
8
|
export declare const LabelText: import("styled-components").StyledComponent<{
|
|
9
|
-
({ fontSize, children, qa, color, ...rest }: import("../Text").TypeTextProps):
|
|
9
|
+
({ fontSize, children, qa, color, ...rest }: import("../Text").TypeTextProps): JSX.Element;
|
|
10
10
|
Headline: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, import("../Text").TypeTextProps, never>;
|
|
11
11
|
SubHeadline: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, import("../Text").TypeTextProps, never>;
|
|
12
12
|
SmallSubHeadline: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, import("../Text").TypeTextProps, never>;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import type { TypeSegmentedControlProps, TypeSegmentedControlItemProps } from './SegmentedControlTypes';
|
|
3
3
|
declare const SegmentedControl: {
|
|
4
|
-
({ selectedValue, label, onChange, children, ...rest }: TypeSegmentedControlProps):
|
|
4
|
+
({ selectedValue, label, onChange, children, ...rest }: TypeSegmentedControlProps): JSX.Element;
|
|
5
5
|
Item: {
|
|
6
|
-
({ value, children, ...rest }: TypeSegmentedControlItemProps):
|
|
6
|
+
({ value, children, ...rest }: TypeSegmentedControlItemProps): JSX.Element | null;
|
|
7
7
|
displayName: string;
|
|
8
8
|
};
|
|
9
9
|
};
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../../src/SegmentedControl/SegmentedControl.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SegmentedControl.d.ts","sourceRoot":"","sources":["../../../src/SegmentedControl/SegmentedControl.tsx"],"names":[],"mappings":";AAQA,OAAO,KAAK,EACV,yBAAyB,EACzB,6BAA6B,EAC9B,MAAM,yBAAyB,CAAC;AAsDjC,QAAA,MAAM,gBAAgB;4DAMnB,yBAAyB;;uCAzCzB,6BAA6B;;;CA+D/B,CAAC;AAKF,eAAe,gBAAgB,CAAC"}
|
|
@@ -6,7 +6,7 @@ interface TypeSegmentedControlState {
|
|
|
6
6
|
isActive: boolean;
|
|
7
7
|
}
|
|
8
8
|
export declare const SegmentedControlLabel: import("styled-components").StyledComponent<{
|
|
9
|
-
({ fontSize, children, qa, color, ...rest }: import("../Text").TypeTextProps):
|
|
9
|
+
({ fontSize, children, qa, color, ...rest }: import("../Text").TypeTextProps): JSX.Element;
|
|
10
10
|
Headline: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, import("../Text").TypeTextProps, never>;
|
|
11
11
|
SubHeadline: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, import("../Text").TypeTextProps, never>;
|
|
12
12
|
SmallSubHeadline: import("styled-components").StyledComponent<"span", import("styled-components").DefaultTheme, import("../Text").TypeTextProps, never>;
|
|
@@ -1,4 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
declare const Skeleton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {
|
|
2
|
+
declare const Skeleton: import("styled-components").StyledComponent<import("react").ForwardRefExoticComponent<Omit<import("../Box").TypeBoxProps, "ref"> & import("react").RefAttributes<HTMLDivElement>>, import("styled-components").DefaultTheme, {
|
|
3
|
+
className: string;
|
|
4
|
+
}, "className">;
|
|
3
5
|
export default Skeleton;
|
|
4
6
|
//# sourceMappingURL=Skeleton.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/Skeleton/Skeleton.ts"],"names":[],"mappings":";
|
|
1
|
+
{"version":3,"file":"Skeleton.d.ts","sourceRoot":"","sources":["../../../src/Skeleton/Skeleton.ts"],"names":[],"mappings":";AAaA,QAAA,MAAM,QAAQ;;eA4Gb,CAAC;AAEF,eAAe,QAAQ,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { TypeSpotIllustrationProps } from './SpotIllustrationTypes';
|
|
3
|
-
declare const SpotIllustration: ({ name, customFill, height, width, ...svgProps }: TypeSpotIllustrationProps) =>
|
|
3
|
+
declare const SpotIllustration: ({ name, customFill, height, width, ...svgProps }: TypeSpotIllustrationProps) => JSX.Element;
|
|
4
4
|
export default SpotIllustration;
|
|
5
5
|
//# sourceMappingURL=SpotIllustration.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"SpotIllustration.d.ts","sourceRoot":"","sources":["../../../src/SpotIllustration/SpotIllustration.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"SpotIllustration.d.ts","sourceRoot":"","sources":["../../../src/SpotIllustration/SpotIllustration.tsx"],"names":[],"mappings":";AAIA,OAAO,EAAC,yBAAyB,EAAC,MAAM,yBAAyB,CAAC;AAYlE,QAAA,MAAM,gBAAgB,qDAMnB,yBAAyB,gBAqB3B,CAAC;AAEF,eAAe,gBAAgB,CAAC"}
|
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import type { TypeStackProps } from './StackTypes';
|
|
3
|
-
declare const Stack: ({ children, space, align, direction, ...rest }: TypeStackProps) =>
|
|
3
|
+
declare const Stack: ({ children, space, align, direction, ...rest }: TypeStackProps) => JSX.Element;
|
|
4
4
|
export default Stack;
|
|
5
5
|
//# sourceMappingURL=Stack.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../src/Stack/Stack.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Stack.d.ts","sourceRoot":"","sources":["../../../src/Stack/Stack.tsx"],"names":[],"mappings":";AAIA,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,cAAc,CAAC;AAuCjD,QAAA,MAAM,KAAK,mDAMR,cAAc,gBA6DhB,CAAC;AAEF,eAAe,KAAK,CAAC"}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import type { TypeResponsive } from '../types/system-props';
|
|
3
3
|
import type { TypeBoxProps } from '../Box';
|
|
4
|
-
export
|
|
5
|
-
|
|
6
|
-
|
|
4
|
+
export type TypeSpaceLiterals = 0 | 100 | 200 | 300 | 350 | 400 | 450 | 500 | 600 | string;
|
|
5
|
+
type TypeDirection = 'vertical' | 'horizontal';
|
|
6
|
+
type TypeAlignment = 'left' | 'center' | 'right' | 'stretch';
|
|
7
7
|
export interface TypeStackProps extends TypeBoxProps {
|
|
8
8
|
/** Amount of space between items in the stack */
|
|
9
9
|
space?: TypeResponsive<TypeSpaceLiterals>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"StackTypes.d.ts","sourceRoot":"","sources":["../../../src/Stack/StackTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AAE3C,
|
|
1
|
+
{"version":3,"file":"StackTypes.d.ts","sourceRoot":"","sources":["../../../src/Stack/StackTypes.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,KAAK,EAAC,cAAc,EAAC,MAAM,yBAAyB,CAAC;AAC5D,OAAO,KAAK,EAAC,YAAY,EAAC,MAAM,UAAU,CAAC;AAE3C,MAAM,MAAM,iBAAiB,GACzB,CAAC,GACD,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,GAAG,GACH,MAAM,CAAC;AAEX,KAAK,aAAa,GAAG,UAAU,GAAG,YAAY,CAAC;AAE/C,KAAK,aAAa,GAAG,MAAM,GAAG,QAAQ,GAAG,OAAO,GAAG,SAAS,CAAC;AAE7D,MAAM,WAAW,cAAe,SAAQ,YAAY;IAClD,iDAAiD;IACjD,KAAK,CAAC,EAAE,cAAc,CAAC,iBAAiB,CAAC,CAAC;IAE1C,mEAAmE;IACnE,KAAK,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;IAEtC,8EAA8E;IAC9E,SAAS,CAAC,EAAE,cAAc,CAAC,aAAa,CAAC,CAAC;IAC1C,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAC;CAC3B"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import { TypeSwitchProps } from '../Switch/SwitchTypes';
|
|
3
3
|
/**
|
|
4
4
|
* @link https://seeds.sproutsocial.com/components/switch/
|
|
@@ -12,6 +12,6 @@ import { TypeSwitchProps } from '../Switch/SwitchTypes';
|
|
|
12
12
|
* @example
|
|
13
13
|
* <Switch checked={true} onClick={_onClick} aria-label="Switch Example" />
|
|
14
14
|
*/
|
|
15
|
-
declare const Switch: ({ onClick, loading, checked, disabled, ...rest }: TypeSwitchProps) =>
|
|
15
|
+
declare const Switch: ({ onClick, loading, checked, disabled, ...rest }: TypeSwitchProps) => JSX.Element;
|
|
16
16
|
export default Switch;
|
|
17
17
|
//# sourceMappingURL=Switch.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/Switch/Switch.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Switch.d.ts","sourceRoot":"","sources":["../../../src/Switch/Switch.tsx"],"names":[],"mappings":";AAGA,OAAO,EAAC,eAAe,EAAC,MAAM,yBAAyB,CAAC;AAExD;;;;;;;;;;;GAWG;AAEH,QAAA,MAAM,MAAM,qDAMT,eAAe,gBAmBjB,CAAC;AAEF,eAAe,MAAM,CAAC"}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
2
|
import TableCell from '../TableCell';
|
|
3
3
|
import TableHeaderCell from '../TableHeaderCell';
|
|
4
4
|
import type { TypePassthroughProps, TypeTableProps } from './TableTypes';
|
|
@@ -6,32 +6,32 @@ import type { TypePassthroughProps, TypeTableProps } from './TableTypes';
|
|
|
6
6
|
* The table component assist in rendering tablular data.
|
|
7
7
|
*/
|
|
8
8
|
export declare const Table: {
|
|
9
|
-
({ head, rows, onSort, sortId, sortDirection, rowRender, children, color, ...rest }: TypeTableProps):
|
|
9
|
+
({ head, rows, onSort, sortId, sortDirection, rowRender, children, color, ...rest }: TypeTableProps): JSX.Element;
|
|
10
10
|
TableHead: {
|
|
11
|
-
({ children, ...props }: TypePassthroughProps):
|
|
11
|
+
({ children, ...props }: TypePassthroughProps): JSX.Element;
|
|
12
12
|
displayName: string;
|
|
13
13
|
};
|
|
14
14
|
TableBody: {
|
|
15
|
-
({ children, ...props }: TypePassthroughProps):
|
|
15
|
+
({ children, ...props }: TypePassthroughProps): JSX.Element;
|
|
16
16
|
displayName: string;
|
|
17
17
|
};
|
|
18
18
|
TableRow: {
|
|
19
|
-
({ children, ...props }: TypePassthroughProps):
|
|
19
|
+
({ children, ...props }: TypePassthroughProps): JSX.Element;
|
|
20
20
|
displayName: string;
|
|
21
21
|
};
|
|
22
22
|
HeaderCell: typeof TableHeaderCell;
|
|
23
23
|
Cell: typeof TableCell;
|
|
24
24
|
};
|
|
25
25
|
export declare const TableHead: {
|
|
26
|
-
({ children, ...props }: TypePassthroughProps):
|
|
26
|
+
({ children, ...props }: TypePassthroughProps): JSX.Element;
|
|
27
27
|
displayName: string;
|
|
28
28
|
};
|
|
29
29
|
export declare const TableBody: {
|
|
30
|
-
({ children, ...props }: TypePassthroughProps):
|
|
30
|
+
({ children, ...props }: TypePassthroughProps): JSX.Element;
|
|
31
31
|
displayName: string;
|
|
32
32
|
};
|
|
33
33
|
export declare const TableRow: {
|
|
34
|
-
({ children, ...props }: TypePassthroughProps):
|
|
34
|
+
({ children, ...props }: TypePassthroughProps): JSX.Element;
|
|
35
35
|
displayName: string;
|
|
36
36
|
};
|
|
37
37
|
export default Table;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/Table/Table.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"Table.d.ts","sourceRoot":"","sources":["../../../src/Table/Table.tsx"],"names":[],"mappings":";AACA,OAAO,SAAS,MAAM,gBAAgB,CAAC;AACvC,OAAO,eAAe,MAAM,sBAAsB,CAAC;AAEnD,OAAO,KAAK,EACV,oBAAoB,EACpB,cAAc,EAEf,MAAM,cAAc,CAAC;AActB;;GAEG;AACH,eAAO,MAAM,KAAK;yFAUf,cAAc;;iCAmD+B,oBAAoB;;;;iCAIpB,oBAAoB;;;;iCAIrB,oBAAoB;;;;;CAVlE,CAAC;AAEF,eAAO,MAAM,SAAS;6BAA0B,oBAAoB;;CAEnE,CAAC;AAEF,eAAO,MAAM,SAAS;6BAA0B,oBAAoB;;CAEnE,CAAC;AAEF,eAAO,MAAM,QAAQ;6BAA0B,oBAAoB;;CAElE,CAAC;AAcF,eAAe,KAAK,CAAC"}
|
|
@@ -5,7 +5,7 @@ import { TypeTableCellProps } from './TableCellTypes';
|
|
|
5
5
|
*/
|
|
6
6
|
export declare class TableCell extends React.Component<TypeTableCellProps> {
|
|
7
7
|
static displayName: string;
|
|
8
|
-
render():
|
|
8
|
+
render(): JSX.Element;
|
|
9
9
|
}
|
|
10
10
|
export default TableCell;
|
|
11
11
|
//# sourceMappingURL=TableCell.d.ts.map
|
|
@@ -2,9 +2,9 @@ import * as React from 'react';
|
|
|
2
2
|
import { TypeTableHeaderCellProps } from './TableHeaderCellTypes';
|
|
3
3
|
export declare class TableHeaderCell extends React.Component<TypeTableHeaderCellProps> {
|
|
4
4
|
static displayName: string;
|
|
5
|
-
getSortIcon: (isSorted: boolean, ariaSortDirection: 'ascending' | 'descending' | undefined) =>
|
|
5
|
+
getSortIcon: (isSorted: boolean, ariaSortDirection: 'ascending' | 'descending' | undefined) => JSX.Element;
|
|
6
6
|
handleClick: (e: React.MouseEvent<HTMLTableCellElement | HTMLButtonElement>) => void;
|
|
7
|
-
render():
|
|
7
|
+
render(): JSX.Element;
|
|
8
8
|
}
|
|
9
9
|
export default TableHeaderCell;
|
|
10
10
|
//# sourceMappingURL=TableHeaderCell.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"TableHeaderCell.d.ts","sourceRoot":"","sources":["../../../src/TableHeaderCell/TableHeaderCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAC,wBAAwB,EAAC,MAAM,wBAAwB,CAAC;AAEhE,qBAAa,eAAgB,SAAQ,KAAK,CAAC,SAAS,CAAC,wBAAwB,CAAC;IAC5E,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC;IAE3B,WAAW,aACC,OAAO,qBACE,WAAW,GAAG,YAAY,GAAG,SAAS,
|
|
1
|
+
{"version":3,"file":"TableHeaderCell.d.ts","sourceRoot":"","sources":["../../../src/TableHeaderCell/TableHeaderCell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAC,wBAAwB,EAAC,MAAM,wBAAwB,CAAC;AAEhE,qBAAa,eAAgB,SAAQ,KAAK,CAAC,SAAS,CAAC,wBAAwB,CAAC;IAC5E,MAAM,CAAC,WAAW,EAAE,MAAM,CAAC;IAE3B,WAAW,aACC,OAAO,qBACE,WAAW,GAAG,YAAY,GAAG,SAAS,iBAgBzD;IAGF,WAAW,MACN,gBAAgB,CAAC,oBAAoB,GAAG,iBAAiB,CAAC,UAgB7D;IAEF,MAAM;CAoEP;AAED,eAAe,eAAe,CAAC"}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import * as React from 'react';
|
|
2
2
|
import { TypeTableCellProps } from '../TableCell';
|
|
3
3
|
import { SORT_DIRECTIONS } from './constants';
|
|
4
|
-
export
|
|
4
|
+
export type TypeEnumSortDirections = keyof typeof SORT_DIRECTIONS;
|
|
5
5
|
export interface TypeTableHeaderCellProps extends Omit<TypeTableCellProps, 'onClick'> {
|
|
6
6
|
/** Legacy Deteremines if a table column is sortable (optional) */
|
|
7
7
|
isSortable?: boolean;
|