@utilitywarehouse/hearth-react-native 0.1.0 → 0.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/.storybook/preview.tsx +5 -0
- package/.storybook/prism-setup.ts +104 -0
- package/.turbo/turbo-build.log +1 -1
- package/.turbo/turbo-lint.log +1 -1
- package/CHANGELOG.md +20 -0
- package/build/components/Accordion/Accordion.d.ts +1 -1
- package/build/components/Accordion/Accordion.js +7 -7
- package/build/components/Accordion/Accordion.props.d.ts +2 -2
- package/build/components/Accordion/AccordionIcon.js +2 -2
- package/build/components/Accordion/AccordionItemRoot.js +2 -2
- package/build/components/Accordion/AccordionTrigger.js +4 -4
- package/build/components/Accordion/index.d.ts +1 -2
- package/build/components/Accordion/index.js +1 -2
- package/build/components/Alert/Alert.js +21 -21
- package/build/components/Alert/Alert.props.d.ts +3 -3
- package/build/components/Alert/AlertCloseButton.js +2 -2
- package/build/components/Alert/AlertIcon.js +5 -5
- package/build/components/Badge/Badge.context.d.ts +4 -0
- package/build/components/Badge/Badge.js +86 -27
- package/build/components/Badge/Badge.props.d.ts +2 -1
- package/build/components/Badge/BadgeIcon.js +102 -18
- package/build/components/Badge/BadgeText.js +102 -17
- package/build/components/BodyText/BodyText.js +2 -2
- package/build/components/BottomSheet/BottomSheet.d.ts +1 -1
- package/build/components/BottomSheet/BottomSheet.js +3 -3
- package/build/components/BottomSheet/BottomSheetHandle.js +1 -1
- package/build/components/BottomSheet/BottomSheetModal.js +1 -1
- package/build/components/BottomSheet/BottomSheetScrollView.js +3 -1
- package/build/components/BottomSheet/BottomSheetView.js +1 -1
- package/build/components/Button/Button.props.d.ts +7 -7
- package/build/components/Button/ButtonIcon.js +29 -29
- package/build/components/Button/ButtonRoot.js +79 -88
- package/build/components/Button/ButtonSpinner.js +28 -31
- package/build/components/Button/ButtonText.js +40 -26
- package/build/components/Card/Card.props.d.ts +1 -1
- package/build/components/Card/CardRoot.js +56 -56
- package/build/components/Checkbox/CheckboxIcon.js +3 -3
- package/build/components/Checkbox/CheckboxIndicator.js +3 -3
- package/build/components/Checkbox/CheckboxTileRoot.js +3 -3
- package/build/components/DetailText/DetailText.js +2 -2
- package/build/components/Divider/Divider.js +1 -1
- package/build/components/Heading/Heading.js +2 -2
- package/build/components/Heading/Heading.props.d.ts +3 -1
- package/build/components/Helper/HelperIcon.js +3 -3
- package/build/components/Helper/HelperText.js +4 -4
- package/build/components/IconButton/IconButtonIcon.js +29 -29
- package/build/components/IconButton/IconButtonRoot.js +94 -88
- package/build/components/IconButton/IconButtonSpinner.js +27 -30
- package/build/components/InlineLink/InlineLinkRoot.js +2 -2
- package/build/components/Input/Input.d.ts +9 -3
- package/build/components/Input/Input.js +13 -13
- package/build/components/Input/Input.props.d.ts +1 -0
- package/build/components/Input/InputField.d.ts +3 -1
- package/build/components/Input/InputField.js +9 -39
- package/build/components/Input/InputIcon.js +1 -1
- package/build/components/Input/InputRoot.js +9 -9
- package/build/components/Label/Label.js +1 -1
- package/build/components/Link/LinkRoot.js +2 -2
- package/build/components/List/List.d.ts +1 -1
- package/build/components/List/List.js +6 -4
- package/build/components/List/List.props.d.ts +9 -10
- package/build/components/List/ListItem/ListItemHelperText.js +1 -1
- package/build/components/List/ListItem/ListItemIcon.js +1 -1
- package/build/components/List/ListItem/ListItemRoot.js +15 -6
- package/build/components/List/ListItem/ListItemTrailingIcon.js +1 -1
- package/build/components/List/index.d.ts +0 -1
- package/build/components/List/index.js +0 -1
- package/build/components/Modal/Modal.d.ts +7 -0
- package/build/components/Modal/Modal.js +164 -0
- package/build/components/Modal/Modal.props.d.ts +24 -0
- package/build/components/Modal/Modal.web.d.ts +7 -0
- package/build/components/Modal/Modal.web.js +164 -0
- package/build/components/Modal/index.d.ts +2 -0
- package/build/components/Modal/index.js +1 -0
- package/build/components/Radio/RadioIndicator.js +2 -2
- package/build/components/Radio/RadioTileRoot.js +3 -3
- package/build/components/RadioCard/RadioCardIndicator.js +2 -2
- package/build/components/RadioCard/RadioCardRoot.js +3 -3
- package/build/components/SectionHeader/SectionHeader.d.ts +6 -0
- package/build/components/SectionHeader/SectionHeader.js +19 -0
- package/build/components/{List/ListHeading/ListHeading.props.d.ts → SectionHeader/SectionHeader.props.d.ts} +7 -9
- package/build/components/SectionHeader/SectionHeaderHeading.d.ts +6 -0
- package/build/components/SectionHeader/SectionHeaderHeading.js +7 -0
- package/build/components/SectionHeader/SectionHeaderHelperText.d.ts +6 -0
- package/build/components/{List/ListHeading/ListHeadingHelperText.js → SectionHeader/SectionHeaderHelperText.js} +5 -5
- package/build/components/{List/ListHeading/ListHeadingTextContent.d.ts → SectionHeader/SectionHeaderTextContent.d.ts} +2 -2
- package/build/components/{List/ListHeading/ListHeadingTextContent.js → SectionHeader/SectionHeaderTextContent.js} +4 -4
- package/build/components/SectionHeader/index.d.ts +4 -0
- package/build/components/SectionHeader/index.js +4 -0
- package/build/components/Select/Select.js +10 -10
- package/build/components/Select/SelectOption.js +6 -6
- package/build/components/Spinner/Spinner.web.js +3 -3
- package/build/components/Switch/Switch.js +10 -7
- package/build/components/Switch/Switch.web.js +10 -8
- package/build/components/Textarea/TextareaField.js +5 -5
- package/build/components/Textarea/TextareaRoot.js +9 -9
- package/build/components/ToggleButton/ToggleButtonIcon.js +3 -3
- package/build/components/ToggleButton/ToggleButtonRoot.js +9 -9
- package/build/components/ToggleButton/ToggleButtonText.js +2 -2
- package/build/components/ToggleButtonCard/ToggleButtonCardRoot.js +3 -3
- package/build/components/index.d.ts +5 -3
- package/build/components/index.js +5 -3
- package/build/core/themes.d.ts +1094 -178
- package/build/core/themes.js +2 -2
- package/build/tokens/color.d.ts +1002 -86
- package/build/tokens/color.js +501 -43
- package/build/tokens/components/dark/accordion.d.ts +0 -2
- package/build/tokens/components/dark/accordion.js +0 -2
- package/build/tokens/components/dark/alert.d.ts +0 -16
- package/build/tokens/components/dark/alert.js +0 -16
- package/build/tokens/components/dark/avatar.d.ts +19 -0
- package/build/tokens/components/dark/avatar.js +18 -0
- package/build/tokens/components/dark/badge.d.ts +7 -34
- package/build/tokens/components/dark/badge.js +7 -34
- package/build/tokens/components/dark/banner.d.ts +1 -10
- package/build/tokens/components/dark/banner.js +1 -10
- package/build/tokens/components/dark/bottom-navigation.d.ts +2 -7
- package/build/tokens/components/dark/bottom-navigation.js +2 -7
- package/build/tokens/components/dark/bottom-sheet.d.ts +1 -2
- package/build/tokens/components/dark/bottom-sheet.js +1 -2
- package/build/tokens/components/dark/breadcrumb.d.ts +0 -1
- package/build/tokens/components/dark/breadcrumb.js +0 -1
- package/build/tokens/components/dark/button.d.ts +0 -86
- package/build/tokens/components/dark/button.js +0 -86
- package/build/tokens/components/dark/card.d.ts +0 -28
- package/build/tokens/components/dark/card.js +0 -28
- package/build/tokens/components/dark/carousel-control.d.ts +0 -8
- package/build/tokens/components/dark/carousel-control.js +0 -8
- package/build/tokens/components/dark/checkbox.d.ts +1 -10
- package/build/tokens/components/dark/checkbox.js +1 -10
- package/build/tokens/components/dark/date-picker.d.ts +0 -12
- package/build/tokens/components/dark/date-picker.js +0 -12
- package/build/tokens/components/dark/description-list.d.ts +20 -0
- package/build/tokens/components/dark/description-list.js +19 -0
- package/build/tokens/components/dark/dialog.d.ts +0 -1
- package/build/tokens/components/dark/dialog.js +0 -1
- package/build/tokens/components/dark/divider.d.ts +4 -1
- package/build/tokens/components/dark/divider.js +4 -1
- package/build/tokens/components/dark/expandable-card.d.ts +11 -0
- package/build/tokens/components/dark/expandable-card.js +10 -0
- package/build/tokens/components/dark/icon-button.d.ts +5 -5
- package/build/tokens/components/dark/icon-button.js +5 -5
- package/build/tokens/components/dark/icon-container.d.ts +0 -17
- package/build/tokens/components/dark/icon-container.js +0 -17
- package/build/tokens/components/dark/index.d.ts +10 -4
- package/build/tokens/components/dark/index.js +10 -4
- package/build/tokens/components/dark/indicator-icon-button.d.ts +11 -0
- package/build/tokens/components/dark/indicator-icon-button.js +10 -0
- package/build/tokens/components/dark/inline-link.d.ts +1 -1
- package/build/tokens/components/dark/inline-link.js +1 -1
- package/build/tokens/components/dark/input.d.ts +1 -9
- package/build/tokens/components/dark/input.js +1 -9
- package/build/tokens/components/dark/link.d.ts +2 -2
- package/build/tokens/components/dark/link.js +2 -2
- package/build/tokens/components/dark/list.d.ts +20 -20
- package/build/tokens/components/dark/list.js +20 -20
- package/build/tokens/components/dark/menu.d.ts +0 -12
- package/build/tokens/components/dark/menu.js +0 -12
- package/build/tokens/components/dark/modal.d.ts +0 -1
- package/build/tokens/components/dark/modal.js +0 -1
- package/build/tokens/components/dark/navigation.d.ts +1 -6
- package/build/tokens/components/dark/navigation.js +1 -6
- package/build/tokens/components/dark/pagination.d.ts +12 -0
- package/build/tokens/components/dark/pagination.js +11 -0
- package/build/tokens/components/dark/parts.d.ts +14 -4
- package/build/tokens/components/dark/parts.js +14 -4
- package/build/tokens/components/dark/pill.d.ts +0 -10
- package/build/tokens/components/dark/pill.js +0 -10
- package/build/tokens/components/dark/progress-stepper.d.ts +0 -8
- package/build/tokens/components/dark/progress-stepper.js +0 -8
- package/build/tokens/components/dark/radio.d.ts +1 -8
- package/build/tokens/components/dark/radio.js +1 -8
- package/build/tokens/components/dark/{focus.d.ts → section-header.d.ts} +4 -2
- package/build/tokens/components/dark/{focus.js → section-header.js} +4 -2
- package/build/tokens/components/dark/segmented-control.d.ts +0 -8
- package/build/tokens/components/dark/segmented-control.js +0 -8
- package/build/tokens/components/dark/select.d.ts +0 -10
- package/build/tokens/components/dark/select.js +0 -10
- package/build/tokens/components/dark/spinner.d.ts +1 -1
- package/build/tokens/components/dark/spinner.js +1 -1
- package/build/tokens/components/dark/switch.d.ts +1 -11
- package/build/tokens/components/dark/switch.js +1 -11
- package/build/tokens/components/dark/table.d.ts +23 -0
- package/build/tokens/components/dark/table.js +22 -0
- package/build/tokens/components/dark/tabs.d.ts +24 -0
- package/build/tokens/components/dark/tabs.js +23 -0
- package/build/tokens/components/dark/toast.d.ts +10 -0
- package/build/tokens/components/dark/toast.js +9 -0
- package/build/tokens/components/dark/toggle-button.d.ts +0 -11
- package/build/tokens/components/dark/toggle-button.js +0 -11
- package/build/tokens/components/dark/tooltip.d.ts +12 -0
- package/build/tokens/components/dark/tooltip.js +11 -0
- package/build/tokens/components/dark/top-navigation.d.ts +0 -8
- package/build/tokens/components/dark/top-navigation.js +0 -8
- package/build/tokens/components/light/accordion.d.ts +0 -2
- package/build/tokens/components/light/accordion.js +0 -2
- package/build/tokens/components/light/alert.d.ts +0 -16
- package/build/tokens/components/light/alert.js +0 -16
- package/build/tokens/components/light/avatar.d.ts +19 -0
- package/build/tokens/components/light/avatar.js +18 -0
- package/build/tokens/components/light/badge.d.ts +7 -34
- package/build/tokens/components/light/badge.js +7 -34
- package/build/tokens/components/light/banner.d.ts +2 -11
- package/build/tokens/components/light/banner.js +2 -11
- package/build/tokens/components/light/bottom-navigation.d.ts +0 -5
- package/build/tokens/components/light/bottom-navigation.js +0 -5
- package/build/tokens/components/light/bottom-sheet.d.ts +1 -2
- package/build/tokens/components/light/bottom-sheet.js +1 -2
- package/build/tokens/components/light/breadcrumb.d.ts +0 -1
- package/build/tokens/components/light/breadcrumb.js +0 -1
- package/build/tokens/components/light/button.d.ts +0 -86
- package/build/tokens/components/light/button.js +0 -86
- package/build/tokens/components/light/card.d.ts +0 -28
- package/build/tokens/components/light/card.js +0 -28
- package/build/tokens/components/light/carousel-control.d.ts +0 -8
- package/build/tokens/components/light/carousel-control.js +0 -8
- package/build/tokens/components/light/checkbox.d.ts +0 -9
- package/build/tokens/components/light/checkbox.js +0 -9
- package/build/tokens/components/light/date-picker.d.ts +0 -12
- package/build/tokens/components/light/date-picker.js +0 -12
- package/build/tokens/components/light/description-list.d.ts +20 -0
- package/build/tokens/components/light/description-list.js +19 -0
- package/build/tokens/components/light/dialog.d.ts +0 -1
- package/build/tokens/components/light/dialog.js +0 -1
- package/build/tokens/components/light/divider.d.ts +4 -1
- package/build/tokens/components/light/divider.js +4 -1
- package/build/tokens/components/light/expandable-card.d.ts +11 -0
- package/build/tokens/components/light/expandable-card.js +10 -0
- package/build/tokens/components/light/icon-button.d.ts +5 -5
- package/build/tokens/components/light/icon-button.js +5 -5
- package/build/tokens/components/light/icon-container.d.ts +0 -17
- package/build/tokens/components/light/icon-container.js +0 -17
- package/build/tokens/components/light/index.d.ts +10 -4
- package/build/tokens/components/light/index.js +10 -4
- package/build/tokens/components/light/indicator-icon-button.d.ts +11 -0
- package/build/tokens/components/light/indicator-icon-button.js +10 -0
- package/build/tokens/components/light/input.d.ts +1 -9
- package/build/tokens/components/light/input.js +1 -9
- package/build/tokens/components/light/link.d.ts +2 -2
- package/build/tokens/components/light/link.js +2 -2
- package/build/tokens/components/light/list.d.ts +20 -20
- package/build/tokens/components/light/list.js +20 -20
- package/build/tokens/components/light/menu.d.ts +0 -12
- package/build/tokens/components/light/menu.js +0 -12
- package/build/tokens/components/light/modal.d.ts +0 -1
- package/build/tokens/components/light/modal.js +0 -1
- package/build/tokens/components/light/navigation.d.ts +1 -6
- package/build/tokens/components/light/navigation.js +1 -6
- package/build/tokens/components/light/pagination.d.ts +12 -0
- package/build/tokens/components/light/pagination.js +11 -0
- package/build/tokens/components/light/parts.d.ts +11 -1
- package/build/tokens/components/light/parts.js +11 -1
- package/build/tokens/components/light/pill.d.ts +0 -10
- package/build/tokens/components/light/pill.js +0 -10
- package/build/tokens/components/light/progress-stepper.d.ts +0 -8
- package/build/tokens/components/light/progress-stepper.js +0 -8
- package/build/tokens/components/light/radio.d.ts +0 -7
- package/build/tokens/components/light/radio.js +0 -7
- package/build/tokens/components/light/section-header.d.ts +10 -0
- package/build/tokens/components/light/section-header.js +9 -0
- package/build/tokens/components/light/segmented-control.d.ts +0 -8
- package/build/tokens/components/light/segmented-control.js +0 -8
- package/build/tokens/components/light/select.d.ts +0 -10
- package/build/tokens/components/light/select.js +0 -10
- package/build/tokens/components/light/switch.d.ts +1 -11
- package/build/tokens/components/light/switch.js +1 -11
- package/build/tokens/components/light/table.d.ts +23 -0
- package/build/tokens/components/light/table.js +22 -0
- package/build/tokens/components/light/tabs.d.ts +24 -0
- package/build/tokens/components/light/tabs.js +23 -0
- package/build/tokens/components/light/toast.d.ts +10 -0
- package/build/tokens/components/light/toast.js +9 -0
- package/build/tokens/components/light/toggle-button.d.ts +0 -11
- package/build/tokens/components/light/toggle-button.js +0 -11
- package/build/tokens/components/light/tooltip.d.ts +12 -0
- package/build/tokens/components/light/tooltip.js +11 -0
- package/build/tokens/components/light/top-navigation.d.ts +0 -8
- package/build/tokens/components/light/top-navigation.js +0 -8
- package/build/tokens/index.d.ts +1 -0
- package/build/tokens/index.js +1 -0
- package/build/tokens/semantic-dark.d.ts +240 -13
- package/build/tokens/semantic-dark.js +240 -13
- package/build/tokens/semantic-light.d.ts +240 -13
- package/build/tokens/semantic-light.js +240 -13
- package/build/tokens/{components/light/focus.d.ts → semantic.d.ts} +3 -2
- package/build/tokens/{components/light/focus.js → semantic.js} +3 -2
- package/build/types/values.d.ts +10 -6
- package/build/utils/coloursAsArray.d.ts +8 -0
- package/build/utils/coloursAsArray.js +37 -2
- package/build/utils/getFlattenedColorValue.d.ts +3 -1
- package/build/utils/hexWithOpacity.d.ts +2 -0
- package/build/utils/hexWithOpacity.js +15 -0
- package/build/utils/index.d.ts +2 -1
- package/build/utils/index.js +2 -1
- package/build/utils/styleUtils.js +33 -1
- package/docs/assets/modal-android.mp4 +0 -0
- package/docs/assets/modal-ios.mp4 +0 -0
- package/docs/assets/pigs.png +0 -0
- package/docs/components/AllComponents.web.tsx +39 -2
- package/docs/components/BadgeList.tsx +8 -8
- package/docs/components/ViewFigmaButton.tsx +3 -3
- package/docs/introduction.mdx +2 -2
- package/docs/llm-docs/unistyles-llms-full.txt +1 -1
- package/docs/theme-tokens.mdx +49 -26
- package/package.json +20 -17
- package/src/components/Accordion/Accordion.docs.mdx +25 -39
- package/src/components/Accordion/Accordion.props.ts +2 -2
- package/src/components/Accordion/Accordion.stories.tsx +10 -10
- package/src/components/Accordion/Accordion.tsx +14 -14
- package/src/components/Accordion/AccordionIcon.tsx +2 -2
- package/src/components/Accordion/AccordionItemRoot.tsx +3 -3
- package/src/components/Accordion/AccordionTrigger.tsx +4 -4
- package/src/components/Accordion/index.ts +3 -4
- package/src/components/Alert/Alert.docs.mdx +25 -25
- package/src/components/Alert/Alert.props.ts +3 -3
- package/src/components/Alert/Alert.stories.tsx +11 -11
- package/src/components/Alert/Alert.tsx +22 -22
- package/src/components/Alert/AlertCloseButton.tsx +3 -3
- package/src/components/Alert/AlertIcon.tsx +7 -7
- package/src/components/Badge/Badge.context.ts +2 -0
- package/src/components/Badge/Badge.docs.mdx +16 -15
- package/src/components/Badge/Badge.props.ts +13 -1
- package/src/components/Badge/Badge.stories.tsx +106 -48
- package/src/components/Badge/Badge.tsx +96 -29
- package/src/components/Badge/BadgeIcon.tsx +102 -18
- package/src/components/Badge/BadgeText.tsx +102 -17
- package/src/components/BodyText/BodyText.tsx +4 -4
- package/src/components/BottomSheet/BottomSheet.docs.mdx +23 -5
- package/src/components/BottomSheet/BottomSheet.stories.tsx +9 -9
- package/src/components/BottomSheet/BottomSheet.tsx +5 -5
- package/src/components/BottomSheet/BottomSheetHandle.tsx +1 -1
- package/src/components/BottomSheet/BottomSheetModal.tsx +1 -1
- package/src/components/BottomSheet/BottomSheetScrollView.tsx +4 -2
- package/src/components/BottomSheet/BottomSheetView.tsx +1 -1
- package/src/components/Box/Box.stories.tsx +3 -3
- package/src/components/Button/Button.docs.mdx +35 -35
- package/src/components/Button/Button.props.tsx +7 -7
- package/src/components/Button/Button.stories.tsx +16 -16
- package/src/components/Button/ButtonIcon.tsx +29 -29
- package/src/components/Button/ButtonRoot.tsx +79 -89
- package/src/components/Button/ButtonSpinner.tsx +30 -33
- package/src/components/Button/ButtonText.tsx +40 -26
- package/src/components/Card/Card.docs.mdx +22 -22
- package/src/components/Card/Card.props.ts +9 -9
- package/src/components/Card/Card.stories.tsx +34 -34
- package/src/components/Card/CardRoot.tsx +56 -56
- package/src/components/Checkbox/CheckboxIcon.tsx +4 -4
- package/src/components/Checkbox/CheckboxIndicator.tsx +3 -3
- package/src/components/Checkbox/CheckboxTileRoot.tsx +3 -3
- package/src/components/DetailText/DetailText.tsx +3 -3
- package/src/components/Divider/Divider.tsx +1 -1
- package/src/components/Heading/Heading.props.ts +3 -1
- package/src/components/Heading/Heading.tsx +2 -2
- package/src/components/Helper/HelperIcon.tsx +3 -3
- package/src/components/Helper/HelperText.tsx +4 -4
- package/src/components/Icon/Icon.stories.tsx +2 -2
- package/src/components/IconButton/IconButton.docs.mdx +21 -16
- package/src/components/IconButton/IconButton.figma.tsx +1 -1
- package/src/components/IconButton/IconButton.stories.tsx +14 -14
- package/src/components/IconButton/IconButtonIcon.tsx +29 -29
- package/src/components/IconButton/IconButtonRoot.tsx +94 -88
- package/src/components/IconButton/IconButtonSpinner.tsx +27 -30
- package/src/components/InlineLink/InlineLinkRoot.tsx +2 -2
- package/src/components/Input/Input.docs.mdx +16 -14
- package/src/components/Input/Input.props.ts +1 -0
- package/src/components/Input/Input.stories.tsx +5 -4
- package/src/components/Input/Input.tsx +15 -13
- package/src/components/Input/InputField.tsx +25 -52
- package/src/components/Input/InputIcon.tsx +1 -1
- package/src/components/Input/InputRoot.tsx +10 -10
- package/src/components/Label/Label.tsx +2 -2
- package/src/components/Link/LinkRoot.tsx +2 -2
- package/src/components/List/List.docs.mdx +35 -56
- package/src/components/List/List.props.ts +9 -10
- package/src/components/List/List.stories.tsx +8 -8
- package/src/components/List/List.tsx +25 -25
- package/src/components/List/ListItem/ListItemHelperText.tsx +1 -1
- package/src/components/List/ListItem/ListItemIcon.tsx +1 -1
- package/src/components/List/ListItem/ListItemRoot.tsx +15 -6
- package/src/components/List/ListItem/ListItemTrailingIcon.tsx +1 -1
- package/src/components/List/index.ts +0 -1
- package/src/components/Modal/Modal.docs.mdx +547 -0
- package/src/components/Modal/Modal.props.ts +26 -0
- package/src/components/Modal/Modal.stories.tsx +222 -0
- package/src/components/Modal/Modal.tsx +333 -0
- package/src/components/Modal/Modal.web.tsx +333 -0
- package/src/components/Modal/index.ts +2 -0
- package/src/components/Radio/RadioIndicator.tsx +2 -2
- package/src/components/Radio/RadioTileRoot.tsx +3 -3
- package/src/components/RadioCard/RadioCardIndicator.tsx +2 -2
- package/src/components/RadioCard/RadioCardRoot.tsx +3 -3
- package/src/components/{List/ListHeading/ListHeading.figma.tsx → SectionHeader/SectionHeader.figma.tsx} +3 -3
- package/src/components/{List/ListHeading/ListHeading.props.ts → SectionHeader/SectionHeader.props.ts} +7 -9
- package/src/components/SectionHeader/SectionHeader.stories.tsx +76 -0
- package/src/components/{List/ListHeading/ListHeading.tsx → SectionHeader/SectionHeader.tsx} +16 -19
- package/src/components/SectionHeader/SectionHeaderHeading.tsx +14 -0
- package/src/components/SectionHeader/SectionHeaderHelperText.tsx +21 -0
- package/src/components/{List/ListHeading/ListHeadingTextContent.tsx → SectionHeader/SectionHeaderTextContent.tsx} +4 -4
- package/src/components/SectionHeader/Sectionheader.docs.mdx +83 -0
- package/src/components/SectionHeader/index.ts +4 -0
- package/src/components/Select/Select.tsx +10 -10
- package/src/components/Select/SelectOption.tsx +7 -7
- package/src/components/Spinner/Spinner.tsx +3 -3
- package/src/components/Spinner/Spinner.web.tsx +12 -12
- package/src/components/Switch/Switch.tsx +10 -7
- package/src/components/Switch/Switch.web.tsx +10 -12
- package/src/components/Textarea/TextareaField.tsx +5 -5
- package/src/components/Textarea/TextareaRoot.tsx +10 -10
- package/src/components/ToggleButton/ToggleButtonIcon.tsx +3 -3
- package/src/components/ToggleButton/ToggleButtonRoot.tsx +11 -11
- package/src/components/ToggleButton/ToggleButtonText.tsx +2 -2
- package/src/components/ToggleButtonCard/ToggleButtonCardRoot.tsx +3 -3
- package/src/components/index.ts +7 -5
- package/src/core/themes.ts +2 -2
- package/src/tokens/color.ts +501 -43
- package/src/tokens/components/dark/accordion.ts +0 -2
- package/src/tokens/components/dark/alert.ts +0 -16
- package/src/tokens/components/dark/avatar.ts +19 -0
- package/src/tokens/components/dark/badge.ts +7 -34
- package/src/tokens/components/dark/banner.ts +1 -10
- package/src/tokens/components/dark/bottom-navigation.ts +2 -7
- package/src/tokens/components/dark/bottom-sheet.ts +1 -2
- package/src/tokens/components/dark/breadcrumb.ts +0 -1
- package/src/tokens/components/dark/button.ts +0 -86
- package/src/tokens/components/dark/card.ts +0 -28
- package/src/tokens/components/dark/carousel-control.ts +0 -8
- package/src/tokens/components/dark/checkbox.ts +1 -10
- package/src/tokens/components/dark/date-picker.ts +0 -12
- package/src/tokens/components/dark/description-list.ts +20 -0
- package/src/tokens/components/dark/dialog.ts +0 -1
- package/src/tokens/components/dark/divider.ts +4 -1
- package/src/tokens/components/{light/footer.ts → dark/expandable-card.ts} +4 -5
- package/src/tokens/components/dark/icon-button.ts +5 -5
- package/src/tokens/components/dark/icon-container.ts +0 -17
- package/src/tokens/components/dark/index.ts +10 -4
- package/src/tokens/components/dark/{footer.ts → indicator-icon-button.ts} +4 -5
- package/src/tokens/components/dark/inline-link.ts +1 -1
- package/src/tokens/components/dark/input.ts +1 -9
- package/src/tokens/components/dark/link.ts +2 -2
- package/src/tokens/components/dark/list.ts +20 -20
- package/src/tokens/components/dark/menu.ts +0 -12
- package/src/tokens/components/dark/modal.ts +0 -1
- package/src/tokens/components/dark/navigation.ts +1 -6
- package/src/tokens/components/dark/pagination.ts +12 -0
- package/src/tokens/components/dark/parts.ts +14 -4
- package/src/tokens/components/dark/pill.ts +0 -10
- package/src/tokens/components/dark/progress-stepper.ts +0 -8
- package/src/tokens/components/dark/radio.ts +1 -8
- package/src/tokens/components/dark/{focus.ts → section-header.ts} +4 -2
- package/src/tokens/components/dark/segmented-control.ts +0 -8
- package/src/tokens/components/dark/select.ts +0 -10
- package/src/tokens/components/dark/spinner.ts +1 -1
- package/src/tokens/components/dark/switch.ts +1 -11
- package/src/tokens/components/dark/table.ts +23 -0
- package/src/tokens/components/dark/tabs.ts +24 -0
- package/src/tokens/components/dark/toast.ts +10 -0
- package/src/tokens/components/dark/toggle-button.ts +0 -11
- package/src/tokens/components/dark/tooltip.ts +12 -0
- package/src/tokens/components/dark/top-navigation.ts +0 -8
- package/src/tokens/components/light/accordion.ts +0 -2
- package/src/tokens/components/light/alert.ts +0 -16
- package/src/tokens/components/light/avatar.ts +19 -0
- package/src/tokens/components/light/badge.ts +7 -34
- package/src/tokens/components/light/banner.ts +2 -11
- package/src/tokens/components/light/bottom-navigation.ts +0 -5
- package/src/tokens/components/light/bottom-sheet.ts +1 -2
- package/src/tokens/components/light/breadcrumb.ts +0 -1
- package/src/tokens/components/light/button.ts +0 -86
- package/src/tokens/components/light/card.ts +0 -28
- package/src/tokens/components/light/carousel-control.ts +0 -8
- package/src/tokens/components/light/checkbox.ts +0 -9
- package/src/tokens/components/light/date-picker.ts +0 -12
- package/src/tokens/components/light/description-list.ts +20 -0
- package/src/tokens/components/light/dialog.ts +0 -1
- package/src/tokens/components/light/divider.ts +4 -1
- package/src/tokens/components/light/expandable-card.ts +11 -0
- package/src/tokens/components/light/icon-button.ts +5 -5
- package/src/tokens/components/light/icon-container.ts +0 -17
- package/src/tokens/components/light/index.ts +10 -4
- package/src/tokens/components/light/indicator-icon-button.ts +11 -0
- package/src/tokens/components/light/input.ts +1 -9
- package/src/tokens/components/light/link.ts +2 -2
- package/src/tokens/components/light/list.ts +20 -20
- package/src/tokens/components/light/menu.ts +0 -12
- package/src/tokens/components/light/modal.ts +0 -1
- package/src/tokens/components/light/navigation.ts +1 -6
- package/src/tokens/components/light/pagination.ts +12 -0
- package/src/tokens/components/light/parts.ts +11 -1
- package/src/tokens/components/light/pill.ts +0 -10
- package/src/tokens/components/light/progress-stepper.ts +0 -8
- package/src/tokens/components/light/radio.ts +0 -7
- package/src/tokens/components/light/{focus.ts → section-header.ts} +4 -2
- package/src/tokens/components/light/segmented-control.ts +0 -8
- package/src/tokens/components/light/select.ts +0 -10
- package/src/tokens/components/light/switch.ts +1 -11
- package/src/tokens/components/light/table.ts +23 -0
- package/src/tokens/components/light/tabs.ts +24 -0
- package/src/tokens/components/light/toast.ts +10 -0
- package/src/tokens/components/light/toggle-button.ts +0 -11
- package/src/tokens/components/light/tooltip.ts +12 -0
- package/src/tokens/components/light/top-navigation.ts +0 -8
- package/src/tokens/index.ts +1 -0
- package/src/tokens/semantic-dark.ts +240 -13
- package/src/tokens/semantic-light.ts +240 -13
- package/src/tokens/semantic.ts +9 -0
- package/src/types/values.ts +28 -6
- package/src/utils/coloursAsArray.ts +44 -2
- package/src/utils/getFlattenedColorValue.ts +1 -1
- package/src/utils/hexWithOpacity.ts +19 -0
- package/src/utils/index.ts +2 -1
- package/src/utils/styleUtils.ts +39 -1
- package/src/vite-env.d.ts +5 -0
- package/build/components/Accordion/AccordionHeading/AccordionHeading.d.ts +0 -6
- package/build/components/Accordion/AccordionHeading/AccordionHeading.js +0 -16
- package/build/components/Accordion/AccordionHeading/AccordionHeading.props.d.ts +0 -14
- package/build/components/Accordion/AccordionHeading/AccordionHeadingHelperText.d.ts +0 -6
- package/build/components/Accordion/AccordionHeading/AccordionHeadingHelperText.js +0 -13
- package/build/components/Accordion/AccordionHeading/AccordionHeadingTextContent.d.ts +0 -6
- package/build/components/Accordion/AccordionHeading/AccordionHeadingTextContent.js +0 -14
- package/build/components/Accordion/AccordionHeading/AccordionHeadingTitle.d.ts +0 -6
- package/build/components/Accordion/AccordionHeading/AccordionHeadingTitle.js +0 -7
- package/build/components/Accordion/AccordionHeading/index.d.ts +0 -4
- package/build/components/Accordion/AccordionHeading/index.js +0 -4
- package/build/components/List/ListHeading/ListHeading.d.ts +0 -6
- package/build/components/List/ListHeading/ListHeading.js +0 -20
- package/build/components/List/ListHeading/ListHeadingHelperText.d.ts +0 -6
- package/build/components/List/ListHeading/ListHeadingTitle.d.ts +0 -6
- package/build/components/List/ListHeading/ListHeadingTitle.js +0 -7
- package/build/components/List/ListHeading/index.d.ts +0 -4
- package/build/components/List/ListHeading/index.js +0 -4
- package/build/tokens/components/dark/footer.d.ts +0 -12
- package/build/tokens/components/dark/footer.js +0 -11
- package/build/tokens/components/dark/icon.d.ts +0 -15
- package/build/tokens/components/dark/icon.js +0 -14
- package/build/tokens/components/dark/text.d.ts +0 -11
- package/build/tokens/components/dark/text.js +0 -10
- package/build/tokens/components/light/footer.d.ts +0 -12
- package/build/tokens/components/light/footer.js +0 -11
- package/build/tokens/components/light/icon.d.ts +0 -15
- package/build/tokens/components/light/icon.js +0 -14
- package/build/tokens/components/light/text.d.ts +0 -11
- package/build/tokens/components/light/text.js +0 -10
- package/src/components/Accordion/AccordionHeading/AccordionHeading.props.ts +0 -19
- package/src/components/Accordion/AccordionHeading/AccordionHeading.tsx +0 -38
- package/src/components/Accordion/AccordionHeading/AccordionHeadingHelperText.tsx +0 -22
- package/src/components/Accordion/AccordionHeading/AccordionHeadingTextContent.tsx +0 -21
- package/src/components/Accordion/AccordionHeading/AccordionHeadingTitle.tsx +0 -14
- package/src/components/Accordion/AccordionHeading/index.ts +0 -4
- package/src/components/List/ListHeading/ListHeadingHelperText.tsx +0 -21
- package/src/components/List/ListHeading/ListHeadingTitle.tsx +0 -14
- package/src/components/List/ListHeading/index.ts +0 -4
- package/src/tokens/components/dark/icon.ts +0 -15
- package/src/tokens/components/dark/text.ts +0 -11
- package/src/tokens/components/light/icon.ts +0 -15
- package/src/tokens/components/light/text.ts +0 -11
- /package/build/components/{Accordion/AccordionHeading/AccordionHeading.props.js → Modal/Modal.props.js} +0 -0
- /package/build/components/{List/ListHeading/ListHeading.props.js → SectionHeader/SectionHeader.props.js} +0 -0
package/build/tokens/color.js
CHANGED
|
@@ -78,17 +78,17 @@ export const green = {
|
|
|
78
78
|
};
|
|
79
79
|
export const grey = {
|
|
80
80
|
'0': '#ffffff',
|
|
81
|
-
'50': '#
|
|
82
|
-
'100': '#
|
|
83
|
-
'200': '#
|
|
81
|
+
'50': '#f7f7f7',
|
|
82
|
+
'100': '#ebebeb',
|
|
83
|
+
'200': '#d3d3d3',
|
|
84
84
|
'300': '#b2afae',
|
|
85
|
-
'400': '#
|
|
86
|
-
'500': '#
|
|
87
|
-
'600': '#
|
|
88
|
-
'700': '#
|
|
89
|
-
'800': '#
|
|
90
|
-
'900': '#
|
|
91
|
-
'950': '#
|
|
85
|
+
'400': '#919191',
|
|
86
|
+
'500': '#888888',
|
|
87
|
+
'600': '#5b5b5b',
|
|
88
|
+
'700': '#4c4c4c',
|
|
89
|
+
'800': '#3f3f3f',
|
|
90
|
+
'900': '#3a3837',
|
|
91
|
+
'950': '#232323',
|
|
92
92
|
'975': '#191919',
|
|
93
93
|
'1000': '#101010',
|
|
94
94
|
};
|
|
@@ -156,16 +156,16 @@ export const piggyPink = {
|
|
|
156
156
|
export const purple = {
|
|
157
157
|
'0': '#f7f6f9',
|
|
158
158
|
'50': '#eeebf4',
|
|
159
|
-
'100': '#
|
|
160
|
-
'200': '#
|
|
161
|
-
'300': '#
|
|
162
|
-
'400': '#
|
|
163
|
-
'500': '#
|
|
164
|
-
'600': '#
|
|
159
|
+
'100': '#ddd5eb',
|
|
160
|
+
'200': '#c6b5e2',
|
|
161
|
+
'300': '#af90de',
|
|
162
|
+
'400': '#996cda',
|
|
163
|
+
'500': '#8851d6',
|
|
164
|
+
'600': '#8149ce',
|
|
165
165
|
'700': '#7a42c8',
|
|
166
|
-
'800': '#
|
|
167
|
-
'900': '#
|
|
168
|
-
'950': '#
|
|
166
|
+
'800': '#5c2ca9',
|
|
167
|
+
'900': '#442484',
|
|
168
|
+
'950': '#331c68',
|
|
169
169
|
'1000': '#26164f',
|
|
170
170
|
};
|
|
171
171
|
export const red = {
|
|
@@ -215,35 +215,493 @@ export const yellow = {
|
|
|
215
215
|
'1000': '#4c401f',
|
|
216
216
|
};
|
|
217
217
|
export const light = {
|
|
218
|
-
background:
|
|
219
|
-
|
|
220
|
-
|
|
221
|
-
|
|
218
|
+
background: {
|
|
219
|
+
brand: '#7a42c8',
|
|
220
|
+
primary: '#fcfbf2',
|
|
221
|
+
secondary: '#ffffff',
|
|
222
|
+
},
|
|
223
|
+
border: {
|
|
224
|
+
strong: '#101010',
|
|
225
|
+
subtle: '#d4d2c0',
|
|
226
|
+
},
|
|
227
|
+
feedback: {
|
|
228
|
+
danger: {
|
|
229
|
+
border: '#de2612',
|
|
230
|
+
foreground: {
|
|
231
|
+
default: '#fcfbf2',
|
|
232
|
+
subtle: '#de2612',
|
|
233
|
+
},
|
|
234
|
+
surface: {
|
|
235
|
+
default: '#de2612',
|
|
236
|
+
subtle: '#ffccc5',
|
|
237
|
+
},
|
|
238
|
+
},
|
|
239
|
+
functional: {
|
|
240
|
+
border: '#888888',
|
|
241
|
+
foreground: {
|
|
242
|
+
default: '#fcfbf2',
|
|
243
|
+
subtle: '#888888',
|
|
244
|
+
},
|
|
245
|
+
surface: {
|
|
246
|
+
default: '#888888',
|
|
247
|
+
subtle: '#d3d3d3',
|
|
248
|
+
},
|
|
249
|
+
},
|
|
250
|
+
info: {
|
|
251
|
+
border: '#1c6cd4',
|
|
252
|
+
foreground: {
|
|
253
|
+
default: '#fcfbf2',
|
|
254
|
+
subtle: '#1c6cd4',
|
|
255
|
+
},
|
|
256
|
+
surface: {
|
|
257
|
+
default: '#1c6cd4',
|
|
258
|
+
subtle: '#bcddff',
|
|
259
|
+
},
|
|
260
|
+
},
|
|
261
|
+
positive: {
|
|
262
|
+
border: '#0f834a',
|
|
263
|
+
foreground: {
|
|
264
|
+
default: '#fcfbf2',
|
|
265
|
+
subtle: '#0f834a',
|
|
266
|
+
},
|
|
267
|
+
surface: {
|
|
268
|
+
default: '#0f834a',
|
|
269
|
+
subtle: '#a2e2c3',
|
|
270
|
+
},
|
|
271
|
+
},
|
|
272
|
+
warning: {
|
|
273
|
+
border: '#be5400',
|
|
274
|
+
foreground: {
|
|
275
|
+
default: '#fcfbf2',
|
|
276
|
+
subtle: '#be5400',
|
|
277
|
+
},
|
|
278
|
+
surface: {
|
|
279
|
+
default: '#be5400',
|
|
280
|
+
subtle: '#ffcca8',
|
|
281
|
+
},
|
|
282
|
+
},
|
|
283
|
+
},
|
|
284
|
+
focus: {
|
|
285
|
+
inverted: '#fcfbf2',
|
|
286
|
+
primary: '#101010',
|
|
287
|
+
},
|
|
288
|
+
icon: {
|
|
289
|
+
inverted: '#fcfbf2',
|
|
290
|
+
primary: '#101010',
|
|
291
|
+
},
|
|
292
|
+
interactive: {
|
|
293
|
+
affirmative: {
|
|
294
|
+
border: {
|
|
295
|
+
strong: '#101010',
|
|
296
|
+
subtle: '#04663a',
|
|
297
|
+
},
|
|
298
|
+
foreground: {
|
|
299
|
+
strong: '#fcfbf2',
|
|
300
|
+
subtle: '#04663a',
|
|
301
|
+
},
|
|
302
|
+
surface: {
|
|
303
|
+
strong: {
|
|
304
|
+
active: '#074b2a',
|
|
305
|
+
default: '#0f834a',
|
|
306
|
+
hover: '#04663a',
|
|
307
|
+
},
|
|
308
|
+
subtle: {
|
|
309
|
+
active: '#c5edda',
|
|
310
|
+
hover: '#e7f9f0',
|
|
311
|
+
},
|
|
312
|
+
},
|
|
313
|
+
},
|
|
314
|
+
brand: {
|
|
315
|
+
border: {
|
|
316
|
+
strong: '#101010',
|
|
317
|
+
},
|
|
318
|
+
foreground: {
|
|
319
|
+
strong: '#fcfbf2',
|
|
320
|
+
},
|
|
321
|
+
surface: {
|
|
322
|
+
strong: {
|
|
323
|
+
active: '#442484',
|
|
324
|
+
default: '#7a42c8',
|
|
325
|
+
hover: '#5c2ca9',
|
|
326
|
+
},
|
|
327
|
+
},
|
|
328
|
+
},
|
|
329
|
+
destructive: {
|
|
330
|
+
border: {
|
|
331
|
+
strong: '#101010',
|
|
332
|
+
subtle: '#a4281e',
|
|
333
|
+
},
|
|
334
|
+
foreground: {
|
|
335
|
+
strong: '#fcfbf2',
|
|
336
|
+
subtle: '#a4281e',
|
|
337
|
+
},
|
|
338
|
+
surface: {
|
|
339
|
+
strong: {
|
|
340
|
+
active: '#6b1f1a',
|
|
341
|
+
default: '#de2612',
|
|
342
|
+
hover: '#a4281e',
|
|
343
|
+
},
|
|
344
|
+
subtle: {
|
|
345
|
+
active: '#ffe3df',
|
|
346
|
+
hover: '#fff3f1',
|
|
347
|
+
},
|
|
348
|
+
},
|
|
349
|
+
},
|
|
350
|
+
functional: {
|
|
351
|
+
border: {
|
|
352
|
+
strong: '#101010',
|
|
353
|
+
subtle: '#101010',
|
|
354
|
+
inverted: '#f7f7f7',
|
|
355
|
+
},
|
|
356
|
+
foreground: {
|
|
357
|
+
strong: '#fcfbf2',
|
|
358
|
+
subtle: '#101010',
|
|
359
|
+
inverted: '#f7f7f7',
|
|
360
|
+
},
|
|
361
|
+
surface: {
|
|
362
|
+
strong: {
|
|
363
|
+
active: '#4c4c4c',
|
|
364
|
+
default: '#888888',
|
|
365
|
+
hover: '#5b5b5b',
|
|
366
|
+
},
|
|
367
|
+
subtle: {
|
|
368
|
+
active: '#d3d3d3',
|
|
369
|
+
hover: '#ebebeb',
|
|
370
|
+
inverted: {
|
|
371
|
+
active: '#3a3837',
|
|
372
|
+
hover: '#3f3f3f',
|
|
373
|
+
},
|
|
374
|
+
},
|
|
375
|
+
},
|
|
376
|
+
},
|
|
377
|
+
highlight: {
|
|
378
|
+
border: {
|
|
379
|
+
strong: '#101010',
|
|
380
|
+
},
|
|
381
|
+
foreground: {
|
|
382
|
+
strong: '#101010',
|
|
383
|
+
},
|
|
384
|
+
surface: {
|
|
385
|
+
strong: {
|
|
386
|
+
active: '#d1950b',
|
|
387
|
+
default: '#ffb921',
|
|
388
|
+
hover: '#eba400',
|
|
389
|
+
},
|
|
390
|
+
},
|
|
391
|
+
},
|
|
392
|
+
neutral: {
|
|
393
|
+
border: {
|
|
394
|
+
subtle: '#101010',
|
|
395
|
+
},
|
|
396
|
+
foreground: {
|
|
397
|
+
subtle: '#101010',
|
|
398
|
+
},
|
|
399
|
+
surface: {
|
|
400
|
+
subtle: {
|
|
401
|
+
active: '#f1efe4',
|
|
402
|
+
hover: '#f7f6eb',
|
|
403
|
+
},
|
|
404
|
+
},
|
|
405
|
+
},
|
|
406
|
+
},
|
|
222
407
|
shadow: {
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
408
|
+
brand: '#7a42c8',
|
|
409
|
+
broadband: '#8cba3b',
|
|
410
|
+
cashback: '#be7aeb',
|
|
411
|
+
default: '#101010',
|
|
412
|
+
energy: '#6db5c3',
|
|
413
|
+
insurance: '#ff7b00',
|
|
414
|
+
mobile: '#ee6dbb',
|
|
415
|
+
pig: '#f295ff',
|
|
416
|
+
},
|
|
417
|
+
surface: {
|
|
418
|
+
brand: {
|
|
419
|
+
default: '#7a42c8',
|
|
420
|
+
strong: '#26164f',
|
|
421
|
+
subtle: '#af90de',
|
|
422
|
+
},
|
|
423
|
+
broadband: {
|
|
424
|
+
default: '#8cba3b',
|
|
425
|
+
subtle: '#d2e6b0',
|
|
426
|
+
},
|
|
427
|
+
cashback: {
|
|
428
|
+
default: '#be7aeb',
|
|
429
|
+
subtle: '#dfbdf5',
|
|
430
|
+
},
|
|
431
|
+
energy: {
|
|
432
|
+
default: '#6db5c3',
|
|
433
|
+
subtle: '#bddee4',
|
|
434
|
+
},
|
|
435
|
+
highlight: {
|
|
436
|
+
default: '#ffb921',
|
|
437
|
+
subtle: '#ffd885',
|
|
438
|
+
},
|
|
439
|
+
insurance: {
|
|
440
|
+
default: '#ff7b00',
|
|
441
|
+
subtle: '#ffb46d',
|
|
442
|
+
},
|
|
443
|
+
mobile: {
|
|
444
|
+
default: '#ee6dbb',
|
|
445
|
+
subtle: '#fad0e9',
|
|
446
|
+
},
|
|
447
|
+
neutral: {
|
|
448
|
+
strong: '#ffffff',
|
|
449
|
+
subtle: '#fcfbf2',
|
|
450
|
+
},
|
|
451
|
+
pig: {
|
|
452
|
+
default: '#f295ff',
|
|
453
|
+
subtle: '#f9ceff',
|
|
454
|
+
},
|
|
455
|
+
},
|
|
456
|
+
text: {
|
|
457
|
+
inverted: '#fcfbf2',
|
|
458
|
+
primary: '#101010',
|
|
459
|
+
secondary: '#888888',
|
|
231
460
|
},
|
|
232
461
|
};
|
|
233
462
|
export const dark = {
|
|
234
|
-
background:
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
463
|
+
background: {
|
|
464
|
+
brand: '#996cda',
|
|
465
|
+
primary: '#191917',
|
|
466
|
+
secondary: '#232323',
|
|
467
|
+
},
|
|
468
|
+
border: {
|
|
469
|
+
strong: '#ebebeb',
|
|
470
|
+
subtle: '#4c473d',
|
|
471
|
+
},
|
|
472
|
+
feedback: {
|
|
473
|
+
danger: {
|
|
474
|
+
border: '#ff7964',
|
|
475
|
+
foreground: {
|
|
476
|
+
default: '#fcfbf2',
|
|
477
|
+
subtle: '#ff7964',
|
|
478
|
+
},
|
|
479
|
+
surface: {
|
|
480
|
+
default: '#de2612',
|
|
481
|
+
subtle: '#521a16',
|
|
482
|
+
},
|
|
483
|
+
},
|
|
484
|
+
functional: {
|
|
485
|
+
border: '#b2afae',
|
|
486
|
+
foreground: {
|
|
487
|
+
default: '#fcfbf2',
|
|
488
|
+
subtle: '#b2afae',
|
|
489
|
+
},
|
|
490
|
+
surface: {
|
|
491
|
+
default: '#888888',
|
|
492
|
+
subtle: '#232323',
|
|
493
|
+
},
|
|
494
|
+
},
|
|
495
|
+
info: {
|
|
496
|
+
border: '#6bb0ff',
|
|
497
|
+
foreground: {
|
|
498
|
+
default: '#fcfbf2',
|
|
499
|
+
subtle: '#6bb0ff',
|
|
500
|
+
},
|
|
501
|
+
surface: {
|
|
502
|
+
default: '#1c6cd4',
|
|
503
|
+
subtle: '#042455',
|
|
504
|
+
},
|
|
505
|
+
},
|
|
506
|
+
positive: {
|
|
507
|
+
border: '#58ca93',
|
|
508
|
+
foreground: {
|
|
509
|
+
default: '#fcfbf2',
|
|
510
|
+
subtle: '#58ca93',
|
|
511
|
+
},
|
|
512
|
+
surface: {
|
|
513
|
+
default: '#0f834a',
|
|
514
|
+
subtle: '#033d21',
|
|
515
|
+
},
|
|
516
|
+
},
|
|
517
|
+
warning: {
|
|
518
|
+
border: '#ff9639',
|
|
519
|
+
foreground: {
|
|
520
|
+
default: '#fcfbf2',
|
|
521
|
+
subtle: '#ff9639',
|
|
522
|
+
},
|
|
523
|
+
surface: {
|
|
524
|
+
default: '#cb5b00',
|
|
525
|
+
subtle: '#6b2d00',
|
|
526
|
+
},
|
|
527
|
+
},
|
|
528
|
+
},
|
|
529
|
+
focus: {
|
|
530
|
+
inverted: '#fcfbf2',
|
|
531
|
+
primary: '#ebebeb',
|
|
532
|
+
},
|
|
533
|
+
icon: {
|
|
534
|
+
inverted: '#fcfbf2',
|
|
535
|
+
primary: '#ebebeb',
|
|
536
|
+
},
|
|
537
|
+
interactive: {
|
|
538
|
+
affirmative: {
|
|
539
|
+
border: {
|
|
540
|
+
strong: '#ebebeb',
|
|
541
|
+
subtle: '#58ca93',
|
|
542
|
+
},
|
|
543
|
+
foreground: {
|
|
544
|
+
strong: '#191917',
|
|
545
|
+
subtle: '#58ca93',
|
|
546
|
+
},
|
|
547
|
+
surface: {
|
|
548
|
+
strong: {
|
|
549
|
+
active: '#58ca93',
|
|
550
|
+
default: '#19a660',
|
|
551
|
+
hover: '#36bf7d',
|
|
552
|
+
},
|
|
553
|
+
subtle: {
|
|
554
|
+
active: '#033d21',
|
|
555
|
+
hover: '#002e18',
|
|
556
|
+
},
|
|
557
|
+
},
|
|
558
|
+
},
|
|
559
|
+
brand: {
|
|
560
|
+
border: {
|
|
561
|
+
strong: '#ebebeb',
|
|
562
|
+
},
|
|
563
|
+
foreground: {
|
|
564
|
+
strong: '#191917',
|
|
565
|
+
},
|
|
566
|
+
surface: {
|
|
567
|
+
strong: {
|
|
568
|
+
active: '#c6b5e2',
|
|
569
|
+
default: '#996cda',
|
|
570
|
+
hover: '#af90de',
|
|
571
|
+
},
|
|
572
|
+
},
|
|
573
|
+
},
|
|
574
|
+
destructive: {
|
|
575
|
+
border: {
|
|
576
|
+
strong: '#ebebeb',
|
|
577
|
+
subtle: '#ff7964',
|
|
578
|
+
},
|
|
579
|
+
foreground: {
|
|
580
|
+
strong: '#191917',
|
|
581
|
+
subtle: '#ff7964',
|
|
582
|
+
},
|
|
583
|
+
surface: {
|
|
584
|
+
strong: {
|
|
585
|
+
active: '#ff7964',
|
|
586
|
+
default: '#f4412a',
|
|
587
|
+
hover: '#ff634a',
|
|
588
|
+
},
|
|
589
|
+
subtle: {
|
|
590
|
+
active: '#521a16',
|
|
591
|
+
hover: '#3b1512',
|
|
592
|
+
},
|
|
593
|
+
},
|
|
594
|
+
},
|
|
595
|
+
functional: {
|
|
596
|
+
border: {
|
|
597
|
+
strong: '#ebebeb',
|
|
598
|
+
subtle: '#ebebeb',
|
|
599
|
+
inverted: '#f7f7f7',
|
|
600
|
+
},
|
|
601
|
+
foreground: {
|
|
602
|
+
strong: '#fcfbf2',
|
|
603
|
+
subtle: '#ebebeb',
|
|
604
|
+
inverted: '#f7f7f7',
|
|
605
|
+
},
|
|
606
|
+
surface: {
|
|
607
|
+
strong: {
|
|
608
|
+
active: '#d3d3d3',
|
|
609
|
+
default: '#919191',
|
|
610
|
+
hover: '#b2afae',
|
|
611
|
+
},
|
|
612
|
+
subtle: {
|
|
613
|
+
active: '#4c4c4c',
|
|
614
|
+
hover: '#3a3837',
|
|
615
|
+
inverted: {
|
|
616
|
+
active: '#d3d3d3',
|
|
617
|
+
hover: '#ebebeb',
|
|
618
|
+
},
|
|
619
|
+
},
|
|
620
|
+
},
|
|
621
|
+
},
|
|
622
|
+
highlight: {
|
|
623
|
+
border: {
|
|
624
|
+
strong: '#f7f7f7',
|
|
625
|
+
},
|
|
626
|
+
foreground: {
|
|
627
|
+
strong: '#101010',
|
|
628
|
+
},
|
|
629
|
+
surface: {
|
|
630
|
+
strong: {
|
|
631
|
+
active: '#ffd885',
|
|
632
|
+
default: '#ffb921',
|
|
633
|
+
hover: '#ffc852',
|
|
634
|
+
},
|
|
635
|
+
},
|
|
636
|
+
},
|
|
637
|
+
neutral: {
|
|
638
|
+
border: {
|
|
639
|
+
subtle: '#ebebeb',
|
|
640
|
+
},
|
|
641
|
+
foreground: {
|
|
642
|
+
subtle: '#ebebeb',
|
|
643
|
+
},
|
|
644
|
+
surface: {
|
|
645
|
+
subtle: {
|
|
646
|
+
active: '#30302c',
|
|
647
|
+
hover: '#282825',
|
|
648
|
+
},
|
|
649
|
+
},
|
|
650
|
+
},
|
|
651
|
+
},
|
|
238
652
|
shadow: {
|
|
239
|
-
|
|
240
|
-
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
245
|
-
|
|
246
|
-
|
|
653
|
+
brand: '#7a42c8',
|
|
654
|
+
broadband: '#506c21',
|
|
655
|
+
cashback: '#8b2bc9',
|
|
656
|
+
default: '#f7f7f7',
|
|
657
|
+
energy: '#326e7a',
|
|
658
|
+
insurance: '#9b4c0e',
|
|
659
|
+
mobile: '#a7266d',
|
|
660
|
+
pig: '#8f358f',
|
|
661
|
+
},
|
|
662
|
+
surface: {
|
|
663
|
+
brand: {
|
|
664
|
+
default: '#996cda',
|
|
665
|
+
strong: '#26164f',
|
|
666
|
+
subtle: '#442484',
|
|
667
|
+
},
|
|
668
|
+
broadband: {
|
|
669
|
+
default: '#506c21',
|
|
670
|
+
subtle: '#35421c',
|
|
671
|
+
},
|
|
672
|
+
cashback: {
|
|
673
|
+
default: '#8b2bc9',
|
|
674
|
+
subtle: '#522270',
|
|
675
|
+
},
|
|
676
|
+
energy: {
|
|
677
|
+
default: '#326e7a',
|
|
678
|
+
subtle: '#254348',
|
|
679
|
+
},
|
|
680
|
+
highlight: {
|
|
681
|
+
default: '#ffb921',
|
|
682
|
+
subtle: '#756230',
|
|
683
|
+
},
|
|
684
|
+
insurance: {
|
|
685
|
+
default: '#9b4c0e',
|
|
686
|
+
subtle: '#5a3213',
|
|
687
|
+
},
|
|
688
|
+
mobile: {
|
|
689
|
+
default: '#a7266d',
|
|
690
|
+
subtle: '#601f42',
|
|
691
|
+
},
|
|
692
|
+
neutral: {
|
|
693
|
+
strong: '#232323',
|
|
694
|
+
subtle: '#191917',
|
|
695
|
+
},
|
|
696
|
+
pig: {
|
|
697
|
+
default: '#8f358f',
|
|
698
|
+
subtle: '#5d2167',
|
|
699
|
+
},
|
|
700
|
+
},
|
|
701
|
+
text: {
|
|
702
|
+
inverted: '#191917',
|
|
703
|
+
primary: '#ebebeb',
|
|
704
|
+
secondary: '#b2afae',
|
|
247
705
|
},
|
|
248
706
|
};
|
|
249
707
|
const color = {
|
|
@@ -2,26 +2,10 @@
|
|
|
2
2
|
* Do not edit directly, this file was auto-generated.
|
|
3
3
|
*/
|
|
4
4
|
declare const _default: {
|
|
5
|
-
readonly blue: {
|
|
6
|
-
readonly backgroundColor: "#042455";
|
|
7
|
-
readonly borderColor: "#6bb0ff";
|
|
8
|
-
};
|
|
9
5
|
readonly borderRadius: 8;
|
|
10
6
|
readonly borderWidth: 2;
|
|
11
7
|
readonly contentGap: 4;
|
|
12
8
|
readonly gap: 8;
|
|
13
|
-
readonly green: {
|
|
14
|
-
readonly backgroundColor: "#033d21";
|
|
15
|
-
readonly borderColor: "#58ca93";
|
|
16
|
-
};
|
|
17
|
-
readonly orange: {
|
|
18
|
-
readonly backgroundColor: "#6b2d00";
|
|
19
|
-
readonly borderColor: "#ff9639";
|
|
20
|
-
};
|
|
21
9
|
readonly padding: 14;
|
|
22
|
-
readonly red: {
|
|
23
|
-
readonly backgroundColor: "#521a16";
|
|
24
|
-
readonly borderColor: "#ff7964";
|
|
25
|
-
};
|
|
26
10
|
};
|
|
27
11
|
export default _default;
|
|
@@ -2,25 +2,9 @@
|
|
|
2
2
|
* Do not edit directly, this file was auto-generated.
|
|
3
3
|
*/
|
|
4
4
|
export default {
|
|
5
|
-
blue: {
|
|
6
|
-
backgroundColor: '#042455',
|
|
7
|
-
borderColor: '#6bb0ff',
|
|
8
|
-
},
|
|
9
5
|
borderRadius: 8,
|
|
10
6
|
borderWidth: 2,
|
|
11
7
|
contentGap: 4,
|
|
12
8
|
gap: 8,
|
|
13
|
-
green: {
|
|
14
|
-
backgroundColor: '#033d21',
|
|
15
|
-
borderColor: '#58ca93',
|
|
16
|
-
},
|
|
17
|
-
orange: {
|
|
18
|
-
backgroundColor: '#6b2d00',
|
|
19
|
-
borderColor: '#ff9639',
|
|
20
|
-
},
|
|
21
9
|
padding: 14,
|
|
22
|
-
red: {
|
|
23
|
-
backgroundColor: '#521a16',
|
|
24
|
-
borderColor: '#ff7964',
|
|
25
|
-
},
|
|
26
10
|
};
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
declare const _default: {
|
|
5
|
+
readonly image: {
|
|
6
|
+
readonly borderWidth: 1;
|
|
7
|
+
};
|
|
8
|
+
readonly md: {
|
|
9
|
+
readonly borderRadius: 8;
|
|
10
|
+
readonly height: 48;
|
|
11
|
+
readonly width: 48;
|
|
12
|
+
};
|
|
13
|
+
readonly sm: {
|
|
14
|
+
readonly borderRadius: 6;
|
|
15
|
+
readonly height: 32;
|
|
16
|
+
readonly width: 32;
|
|
17
|
+
};
|
|
18
|
+
};
|
|
19
|
+
export default _default;
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Do not edit directly, this file was auto-generated.
|
|
3
|
+
*/
|
|
4
|
+
export default {
|
|
5
|
+
image: {
|
|
6
|
+
borderWidth: 1,
|
|
7
|
+
},
|
|
8
|
+
md: {
|
|
9
|
+
borderRadius: 8,
|
|
10
|
+
height: 48,
|
|
11
|
+
width: 48,
|
|
12
|
+
},
|
|
13
|
+
sm: {
|
|
14
|
+
borderRadius: 6,
|
|
15
|
+
height: 32,
|
|
16
|
+
width: 32,
|
|
17
|
+
},
|
|
18
|
+
};
|