@utilitywarehouse/hearth-react-native 0.34.5 → 0.35.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/LICENSE +194 -0
- package/README.md +52 -0
- package/SKILL.md +361 -0
- package/build/components/Alert/AlertIcon.js +4 -4
- package/build/components/Badge/BadgeIcon.js +4 -4
- package/build/components/Card/CardAction/CardActionIcon.js +2 -2
- package/build/components/Card/CardAction/CardActionTrailingIcon.js +2 -2
- package/build/components/Carousel/CarouselControlItem.js +2 -2
- package/build/components/Carousel/CarouselControls.js +2 -2
- package/build/components/Checkbox/CheckboxGroup.d.ts +1 -1
- package/build/components/Checkbox/CheckboxGroup.js +5 -2
- package/build/components/Checkbox/CheckboxGroup.props.d.ts +4 -0
- package/build/components/Combobox/Combobox.js +2 -9
- package/build/components/Combobox/Combobox.utils.d.ts +2 -0
- package/build/components/Combobox/Combobox.utils.js +8 -0
- package/build/components/Combobox/Combobox.utils.test.d.ts +1 -0
- package/build/components/Combobox/Combobox.utils.test.js +27 -0
- package/build/components/DatePicker/DatePickerHeader/DatePickerNextButton.js +2 -2
- package/build/components/DatePicker/DatePickerHeader/DatePickerPrevButton.js +2 -2
- package/build/components/DatePicker/DatePickerHeader/DatePickerSelectors.js +2 -2
- package/build/components/DatePicker/utils.test.d.ts +1 -0
- package/build/components/DatePicker/utils.test.js +191 -0
- package/build/components/DatePickerInput/DatePickerInput.js +1 -8
- package/build/components/DatePickerInput/DatePickerInput.utils.d.ts +2 -0
- package/build/components/DatePickerInput/DatePickerInput.utils.js +8 -0
- package/build/components/DatePickerInput/DatePickerInput.utils.test.d.ts +1 -0
- package/build/components/DatePickerInput/DatePickerInput.utils.test.js +22 -0
- package/build/components/ExpandableCard/ExpandableCardIcon.js +2 -2
- package/build/components/FormField/FormField.d.ts +5 -5
- package/build/components/Helper/HelperIcon.js +2 -2
- package/build/components/IconButton/IconButtonIcon.js +4 -4
- package/build/components/List/ListAction/ListActionTrailingIcon.js +2 -2
- package/build/components/List/ListItem/ListItemIcon.js +2 -2
- package/build/components/PillGroup/PillGroup.d.ts +1 -1
- package/build/components/PillGroup/PillGroup.js +4 -2
- package/build/components/PillGroup/PillGroup.props.d.ts +10 -0
- package/build/components/Radio/RadioGroup.d.ts +1 -1
- package/build/components/Radio/RadioGroup.js +5 -2
- package/build/components/Radio/RadioGroup.props.d.ts +4 -0
- package/build/components/RadioCard/RadioCard.d.ts +5 -24
- package/build/components/RadioCard/RadioCard.js +5 -1
- package/build/components/RadioCard/RadioCardGroup.props.d.ts +4 -0
- package/build/components/Rating/Rating.d.ts +1 -1
- package/build/components/Rating/Rating.js +3 -2
- package/build/components/Rating/Rating.props.d.ts +5 -0
- package/build/components/SegmentedControl/SegmentedControl.js +2 -2
- package/build/components/Select/Select.js +2 -3
- package/build/components/Select/Select.utils.d.ts +2 -0
- package/build/components/Select/Select.utils.js +1 -0
- package/build/components/Select/Select.utils.test.d.ts +1 -0
- package/build/components/Select/Select.utils.test.js +21 -0
- package/build/components/StepperInput/StepperInput.js +1 -62
- package/build/components/StepperInput/StepperInput.utils.d.ts +6 -0
- package/build/components/StepperInput/StepperInput.utils.js +62 -0
- package/build/components/StepperInput/StepperInput.utils.test.d.ts +1 -0
- package/build/components/StepperInput/StepperInput.utils.test.js +99 -0
- package/build/components/Switch/Switch.js +10 -8
- package/build/components/Switch/Switch.props.d.ts +11 -1
- package/build/components/Switch/Switch.web.js +10 -8
- package/build/components/TimePickerInput/TimePickerInput.js +1 -8
- package/build/components/TimePickerInput/TimePickerInput.utils.d.ts +3 -0
- package/build/components/TimePickerInput/TimePickerInput.utils.js +8 -0
- package/build/components/TimePickerInput/TimePickerInput.utils.test.d.ts +1 -0
- package/build/components/TimePickerInput/TimePickerInput.utils.test.js +20 -0
- package/build/components/Toast/ToastItem.js +2 -2
- package/build/components/ToggleButton/ToggleButtonRoot.js +1 -1
- package/build/components/ToggleButtonCard/ToggleButtonCard.d.ts +5 -1
- package/build/components/ToggleButtonCard/ToggleButtonCard.js +5 -1
- package/build/components/ToggleButtonCard/ToggleButtonCardGroup.props.d.ts +4 -0
- package/build/tokens/components/dark/chip.d.ts +14 -0
- package/build/tokens/components/dark/chip.js +13 -0
- package/build/tokens/components/dark/icon.d.ts +26 -0
- package/build/tokens/components/dark/icon.js +25 -0
- package/build/tokens/components/dark/index.d.ts +2 -0
- package/build/tokens/components/dark/index.js +2 -0
- package/build/tokens/components/light/chip.d.ts +14 -0
- package/build/tokens/components/light/chip.js +13 -0
- package/build/tokens/components/light/icon.d.ts +26 -0
- package/build/tokens/components/light/icon.js +25 -0
- package/build/tokens/components/light/index.d.ts +2 -0
- package/build/tokens/components/light/index.js +2 -0
- package/build/tokens/semantic-dark.d.ts +4 -4
- package/build/tokens/semantic-dark.js +4 -4
- package/build/tokens/semantic-light.d.ts +4 -4
- package/build/tokens/semantic-light.js +4 -4
- package/build/utils/formatThousands.test.d.ts +1 -0
- package/build/utils/formatThousands.test.js +31 -0
- package/build/utils/getFlattenedColorValue.test.d.ts +1 -0
- package/build/utils/getFlattenedColorValue.test.js +21 -0
- package/build/utils/getInitials.test.d.ts +1 -0
- package/build/utils/getInitials.test.js +23 -0
- package/build/utils/hexWithOpacity.test.d.ts +1 -0
- package/build/utils/hexWithOpacity.test.js +22 -0
- package/build/utils/isEqual.test.d.ts +1 -0
- package/build/utils/isEqual.test.js +44 -0
- package/build/utils/themeValueHelpers.test.d.ts +1 -0
- package/build/utils/themeValueHelpers.test.js +82 -0
- package/package.json +25 -7
- package/{src/components/Accordion/Accordion.docs.mdx → public/llms/components/accordion.md} +62 -97
- package/{src/components/Alert/Alert.docs.mdx → public/llms/components/alert.md} +46 -49
- package/{src/components/Avatar/Avatar.docs.mdx → public/llms/components/avatar.md} +18 -50
- package/{src/components/Badge/Badge.docs.mdx → public/llms/components/badge.md} +56 -38
- package/{src/components/Banner/Banner.docs.mdx → public/llms/components/banner.md} +487 -40
- package/{src/components/BodyText/BodyText.docs.mdx → public/llms/components/body-text.md} +32 -25
- package/{src/components/BottomSheet/BottomSheet.docs.mdx → public/llms/components/bottom-sheet.md} +25 -33
- package/{src/components/Box/Box.docs.mdx → public/llms/components/box.md} +7 -21
- package/{src/components/Button/Button.docs.mdx → public/llms/components/button.md} +118 -109
- package/{src/components/Card/Card.docs.mdx → public/llms/components/card.md} +281 -47
- package/{src/components/Carousel/Carousel.docs.mdx → public/llms/components/carousel.md} +14 -92
- package/public/llms/components/center.md +24 -0
- package/{src/components/Checkbox/Checkbox.docs.mdx → public/llms/components/checkbox.md} +114 -155
- package/{src/components/Combobox/Combobox.docs.mdx → public/llms/components/combobox.md} +53 -47
- package/{src/components/Container/Container.docs.mdx → public/llms/components/container.md} +59 -26
- package/{src/components/CurrencyInput/CurrencyInput.docs.mdx → public/llms/components/currency-input.md} +48 -44
- package/{src/components/DateInput/DateInput.docs.mdx → public/llms/components/date-input.md} +162 -29
- package/{src/components/DatePickerInput/DatePickerInput.docs.mdx → public/llms/components/date-picker-input.md} +11 -51
- package/{src/components/DatePicker/DatePicker.docs.mdx → public/llms/components/date-picker.md} +49 -26
- package/{src/components/DescriptionList/DescriptionList.docs.mdx → public/llms/components/description-list.md} +64 -31
- package/{src/components/DetailText/DetailText.docs.mdx → public/llms/components/detail-text.md} +47 -25
- package/{src/components/Divider/Divider.docs.mdx → public/llms/components/divider.md} +10 -22
- package/{src/components/ExpandableCard/ExpandableCard.docs.mdx → public/llms/components/expandable-card.md} +213 -28
- package/{src/components/Expandable/Expandable.docs.mdx → public/llms/components/expandable.md} +165 -21
- package/{src/components/Flex/Flex.docs.mdx → public/llms/components/flex.md} +18 -24
- package/{src/components/FormField/FormField.docs.mdx → public/llms/components/form-field.md} +57 -109
- package/{src/components/Grid/Grid.docs.mdx → public/llms/components/grid.md} +15 -79
- package/{src/components/Heading/Heading.docs.mdx → public/llms/components/heading.md} +32 -21
- package/{src/components/HighlightBanner/HighlightBanner.docs.mdx → public/llms/components/highlight-banner.md} +204 -41
- package/{src/components/HTMLElements/Lists.docs.mdx → public/llms/components/html-elements/lists.md} +20 -43
- package/{src/components/IconButton/IconButton.docs.mdx → public/llms/components/icon-button.md} +134 -32
- package/{src/components/IconContainer/IconContainer.docs.mdx → public/llms/components/icon-container.md} +44 -35
- package/{src/components/Icon/Icon.docs.mdx → public/llms/components/icon.md} +6 -30
- package/public/llms/components/indicator-icon-button.md +138 -0
- package/{src/components/InlineLink/InlineLink.docs.mdx → public/llms/components/inline-link.md} +7 -26
- package/{src/components/Input/Input.docs.mdx → public/llms/components/input.md} +73 -75
- package/{src/components/Link/Link.docs.mdx → public/llms/components/link.md} +5 -20
- package/{src/components/List/List.docs.mdx → public/llms/components/list.md} +192 -127
- package/{src/components/Menu/Menu.docs.mdx → public/llms/components/menu.md} +52 -29
- package/{src/components/Modal/Modal.docs.mdx → public/llms/components/modal.md} +119 -50
- package/{src/components/NavModal/NavModal.docs.mdx → public/llms/components/nav-modal.md} +65 -24
- package/{src/components/Pagination/Pagination.docs.mdx → public/llms/components/pagination.md} +38 -27
- package/public/llms/components/pill-group.md +162 -0
- package/{src/components/ProgressBar/ProgressBar.docs.mdx → public/llms/components/progress-bar.md} +42 -28
- package/public/llms/components/progress-stepper.md +144 -0
- package/{src/components/RadioCard/RadioCard.docs.mdx → public/llms/components/radio-card.md} +19 -50
- package/{src/components/Radio/Radio.docs.mdx → public/llms/components/radio.md} +146 -132
- package/public/llms/components/rating.md +147 -0
- package/{src/components/Roundel/Roundel.docs.mdx → public/llms/components/roundel.md} +19 -19
- package/{src/components/SectionHeader/Sectionheader.docs.mdx → public/llms/components/section-header.md} +46 -19
- package/{src/components/SegmentedControl/SegmentedControl.docs.mdx → public/llms/components/segmented-control.md} +40 -28
- package/{src/components/Select/Select.docs.mdx → public/llms/components/select.md} +70 -57
- package/{src/components/Skeleton/Skeleton.docs.mdx → public/llms/components/skeleton.md} +5 -9
- package/{src/components/Spinner/Spinner.docs.mdx → public/llms/components/spinner.md} +22 -22
- package/{src/components/StepperInput/StepperInput.docs.mdx → public/llms/components/stepper-input.md} +102 -29
- package/{src/components/Switch/Switch.docs.mdx → public/llms/components/switch.md} +56 -60
- package/public/llms/components/table.md +408 -0
- package/{src/components/Tabs/Tabs.docs.mdx → public/llms/components/tabs.md} +176 -41
- package/{src/components/Textarea/Textarea.docs.mdx → public/llms/components/textarea.md} +7 -49
- package/{src/components/ThemedImage/ThemedImage.docs.mdx → public/llms/components/themed-image.md} +79 -14
- package/{src/components/TimePickerInput/TimePickerInput.docs.mdx → public/llms/components/time-picker-input.md} +10 -48
- package/{src/components/TimePicker/TimePicker.docs.mdx → public/llms/components/time-picker.md} +17 -20
- package/{src/components/Timeline/Timeline.docs.mdx → public/llms/components/timeline.md} +30 -73
- package/{src/components/Toast/Toast.docs.mdx → public/llms/components/toast.md} +50 -31
- package/{src/components/ToggleButtonCard/ToggleButtonCard.docs.mdx → public/llms/components/toggle-button-card.md} +34 -56
- package/{src/components/VerificationInput/VerificationInput.docs.mdx → public/llms/components/verification-input.md} +106 -21
- package/{docs/adding-shadows.mdx → public/llms/docs/adding-shadows.md} +2 -29
- package/public/llms/docs/ai-tooling.md +188 -0
- package/public/llms/docs/all-components.md +3 -0
- package/{docs/dark-mode-best-practice.mdx → public/llms/docs/dark-mode-best-practice.md} +10 -139
- package/{docs/getting-started.mdx → public/llms/docs/getting-started.md} +2 -13
- package/{docs/hooks.mdx → public/llms/docs/hooks.md} +16 -13
- package/{docs/introduction.mdx → public/llms/docs/introduction.md} +6 -12
- package/{docs/layout-components.docs.mdx → public/llms/docs/layout-components.md} +59 -26
- package/{docs/styling.mdx → public/llms/docs/styling.md} +21 -17
- package/{docs/theme-tokens.mdx → public/llms/docs/theme-tokens.md} +23 -18
- package/public/llms.txt +128 -0
- package/scripts/init-ai.js +157 -0
- package/.storybook/main.ts +0 -81
- package/.storybook/manager.ts +0 -11
- package/.storybook/preview.tsx +0 -174
- package/.storybook/prism-setup.ts +0 -104
- package/.storybook/vitest.setup.ts +0 -31
- package/.turbo/turbo-build.log +0 -1
- package/CHANGELOG.md +0 -2083
- package/CLAUDE.md +0 -109
- package/chromatic.config.json +0 -6
- package/docs/all-components.mdx +0 -19
- package/docs/assets/bank-logo.png +0 -0
- package/docs/assets/bank-logo1.png +0 -0
- 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/assets/toast-ios.MP4 +0 -0
- package/docs/changelog.mdx +0 -2100
- package/docs/components/AdvancedInputExample.tsx +0 -39
- package/docs/components/AllComponents.web.tsx +0 -1005
- package/docs/components/BackToTopButton.tsx +0 -58
- package/docs/components/BadgeList.tsx +0 -30
- package/docs/components/DocComponentWrap.tsx +0 -7
- package/docs/components/InputShadowExample.tsx +0 -19
- package/docs/components/NextPrevPage.tsx +0 -54
- package/docs/components/SwitchExample.tsx +0 -13
- package/docs/components/SwitchList.tsx +0 -52
- package/docs/components/UsageWrap.tsx +0 -21
- package/docs/components/VariantTitle.tsx +0 -40
- package/docs/components/ViewFigmaButton.tsx +0 -43
- package/docs/components/ViewWrap.tsx +0 -32
- package/docs/components/index.ts +0 -13
- package/docs/heplers/addReactNativePrefix.ts +0 -8
- package/docs/heplers/index.ts +0 -1
- package/docs/llm-docs/unistyles-llms-full.txt +0 -9135
- package/docs/llm-docs/unistyles-llms-small.txt +0 -247
- package/eslint.config.js +0 -35
- package/figma.config.json +0 -11
- package/scripts/copyChangelog.js +0 -57
- package/scripts/copyTokens.js +0 -96
- package/src/components/Accordion/Accordion.context.tsx +0 -13
- package/src/components/Accordion/Accordion.figma.tsx +0 -21
- package/src/components/Accordion/Accordion.props.ts +0 -43
- package/src/components/Accordion/Accordion.stories.tsx +0 -118
- package/src/components/Accordion/Accordion.tsx +0 -127
- package/src/components/Accordion/AccordionContent.tsx +0 -44
- package/src/components/Accordion/AccordionContentText.tsx +0 -10
- package/src/components/Accordion/AccordionHeader.tsx +0 -18
- package/src/components/Accordion/AccordionIcon.tsx +0 -11
- package/src/components/Accordion/AccordionItem.context.tsx +0 -11
- package/src/components/Accordion/AccordionItem.figma.tsx +0 -27
- package/src/components/Accordion/AccordionItem.props.ts +0 -20
- package/src/components/Accordion/AccordionItemRoot.tsx +0 -27
- package/src/components/Accordion/AccordionRoot.tsx +0 -35
- package/src/components/Accordion/AccordionTitleText.tsx +0 -19
- package/src/components/Accordion/AccordionTrigger.tsx +0 -54
- package/src/components/Accordion/index.ts +0 -10
- package/src/components/Alert/Alert.context.ts +0 -8
- package/src/components/Alert/Alert.figma.tsx +0 -47
- package/src/components/Alert/Alert.props.ts +0 -67
- package/src/components/Alert/Alert.stories.tsx +0 -87
- package/src/components/Alert/Alert.tsx +0 -109
- package/src/components/Alert/AlertCloseButton.tsx +0 -54
- package/src/components/Alert/AlertContent.tsx +0 -22
- package/src/components/Alert/AlertIcon.tsx +0 -54
- package/src/components/Alert/AlertIconButton.tsx +0 -49
- package/src/components/Alert/AlertLink.tsx +0 -60
- package/src/components/Alert/AlertText.tsx +0 -39
- package/src/components/Alert/AlertTitle.tsx +0 -39
- package/src/components/Alert/index.ts +0 -8
- package/src/components/Avatar/Avatar.figma.tsx +0 -23
- package/src/components/Avatar/Avatar.props.ts +0 -31
- package/src/components/Avatar/Avatar.stories.tsx +0 -76
- package/src/components/Avatar/Avatar.tsx +0 -134
- package/src/components/Avatar/index.ts +0 -2
- package/src/components/Badge/Badge.context.ts +0 -11
- package/src/components/Badge/Badge.figma.tsx +0 -47
- package/src/components/Badge/Badge.props.ts +0 -26
- package/src/components/Badge/Badge.stories.tsx +0 -184
- package/src/components/Badge/Badge.tsx +0 -300
- package/src/components/Badge/BadgeIcon.tsx +0 -158
- package/src/components/Badge/BadgeText.tsx +0 -166
- package/src/components/Badge/index.ts +0 -3
- package/src/components/Banner/Banner.context.ts +0 -11
- package/src/components/Banner/Banner.figma.tsx +0 -23
- package/src/components/Banner/Banner.props.ts +0 -99
- package/src/components/Banner/Banner.stories.tsx +0 -650
- package/src/components/Banner/Banner.tsx +0 -337
- package/src/components/Banner/BannerIllustration.figma.tsx +0 -30
- package/src/components/Banner/BannerIllustration.tsx +0 -58
- package/src/components/Banner/BannerImage.tsx +0 -63
- package/src/components/Banner/index.ts +0 -4
- package/src/components/BodyText/BodyText.props.ts +0 -10
- package/src/components/BodyText/BodyText.stories.tsx +0 -147
- package/src/components/BodyText/BodyText.tsx +0 -144
- package/src/components/BodyText/index.ts +0 -2
- package/src/components/BottomSheet/BottomSheet.context.ts +0 -15
- package/src/components/BottomSheet/BottomSheet.props.ts +0 -49
- package/src/components/BottomSheet/BottomSheet.stories.tsx +0 -335
- package/src/components/BottomSheet/BottomSheet.tsx +0 -71
- package/src/components/BottomSheet/BottomSheetBackdrop.tsx +0 -29
- package/src/components/BottomSheet/BottomSheetFlatList.tsx +0 -65
- package/src/components/BottomSheet/BottomSheetHandle.tsx +0 -48
- package/src/components/BottomSheet/BottomSheetModal.figma.tsx +0 -20
- package/src/components/BottomSheet/BottomSheetModal.tsx +0 -70
- package/src/components/BottomSheet/BottomSheetModalProvider.tsx +0 -33
- package/src/components/BottomSheet/BottomSheetScrollView.tsx +0 -74
- package/src/components/BottomSheet/BottomSheetView.tsx +0 -67
- package/src/components/BottomSheet/index.ts +0 -20
- package/src/components/BottomSheet/useBottomSheetLogic.tsx +0 -53
- package/src/components/Box/Box.props.ts +0 -13
- package/src/components/Box/Box.stories.tsx +0 -70
- package/src/components/Box/Box.tsx +0 -107
- package/src/components/Box/index.ts +0 -1
- package/src/components/Button/Button.context.ts +0 -13
- package/src/components/Button/Button.figma.tsx +0 -132
- package/src/components/Button/Button.props.tsx +0 -84
- package/src/components/Button/Button.stories.tsx +0 -293
- package/src/components/Button/Button.tsx +0 -83
- package/src/components/Button/ButtonGroup.context.ts +0 -5
- package/src/components/Button/ButtonGroup.tsx +0 -25
- package/src/components/Button/ButtonGroupRoot.tsx +0 -85
- package/src/components/Button/ButtonIcon.tsx +0 -141
- package/src/components/Button/ButtonRoot.tsx +0 -451
- package/src/components/Button/ButtonSpinner.tsx +0 -60
- package/src/components/Button/ButtonText.tsx +0 -134
- package/src/components/Button/index.ts +0 -3
- package/src/components/Card/Card.context.ts +0 -19
- package/src/components/Card/Card.figma.tsx +0 -29
- package/src/components/Card/Card.props.ts +0 -34
- package/src/components/Card/Card.stories.tsx +0 -370
- package/src/components/Card/Card.tsx +0 -10
- package/src/components/Card/CardAction/CardAction.context.ts +0 -22
- package/src/components/Card/CardAction/CardAction.figma.tsx +0 -44
- package/src/components/Card/CardAction/CardAction.props.ts +0 -86
- package/src/components/Card/CardAction/CardAction.stories.tsx +0 -412
- package/src/components/Card/CardAction/CardAction.tsx +0 -10
- package/src/components/Card/CardAction/CardActionContent.tsx +0 -20
- package/src/components/Card/CardAction/CardActionHelperText.tsx +0 -21
- package/src/components/Card/CardAction/CardActionIcon.tsx +0 -32
- package/src/components/Card/CardAction/CardActionLeadingContent.tsx +0 -9
- package/src/components/Card/CardAction/CardActionRoot.tsx +0 -270
- package/src/components/Card/CardAction/CardActionText.tsx +0 -17
- package/src/components/Card/CardAction/CardActionTrailingContent.tsx +0 -9
- package/src/components/Card/CardAction/CardActionTrailingIcon.tsx +0 -32
- package/src/components/Card/CardAction/index.ts +0 -10
- package/src/components/Card/CardActions.context.ts +0 -12
- package/src/components/Card/CardActions.tsx +0 -40
- package/src/components/Card/CardContent.tsx +0 -40
- package/src/components/Card/CardPressHandler.context.ts +0 -12
- package/src/components/Card/CardPressHandler.tsx +0 -20
- package/src/components/Card/CardRoot.tsx +0 -357
- package/src/components/Card/helpers.tsx +0 -195
- package/src/components/Card/index.ts +0 -7
- package/src/components/Carousel/Carousel.context.tsx +0 -8
- package/src/components/Carousel/Carousel.figma.tsx +0 -22
- package/src/components/Carousel/Carousel.props.ts +0 -89
- package/src/components/Carousel/Carousel.stories.tsx +0 -317
- package/src/components/Carousel/Carousel.tsx +0 -448
- package/src/components/Carousel/CarouselControlItem.tsx +0 -87
- package/src/components/Carousel/CarouselControls.tsx +0 -150
- package/src/components/Carousel/CarouselItem.tsx +0 -68
- package/src/components/Carousel/index.ts +0 -6
- package/src/components/Center/Center.docs.mdx +0 -42
- package/src/components/Center/Center.stories.tsx +0 -30
- package/src/components/Center/Center.tsx +0 -12
- package/src/components/Center/index.ts +0 -1
- package/src/components/Checkbox/Checkbox.context.ts +0 -9
- package/src/components/Checkbox/Checkbox.figma.tsx +0 -26
- package/src/components/Checkbox/Checkbox.props.ts +0 -47
- package/src/components/Checkbox/Checkbox.stories.tsx +0 -217
- package/src/components/Checkbox/Checkbox.tsx +0 -110
- package/src/components/Checkbox/CheckboxGroup.context.ts +0 -10
- package/src/components/Checkbox/CheckboxGroup.figma.tsx +0 -73
- package/src/components/Checkbox/CheckboxGroup.props.ts +0 -23
- package/src/components/Checkbox/CheckboxGroup.stories.tsx +0 -100
- package/src/components/Checkbox/CheckboxGroup.tsx +0 -114
- package/src/components/Checkbox/CheckboxGroupRoot.tsx +0 -36
- package/src/components/Checkbox/CheckboxGroupTextContent.tsx +0 -14
- package/src/components/Checkbox/CheckboxIcon.tsx +0 -30
- package/src/components/Checkbox/CheckboxImage.figma.tsx +0 -27
- package/src/components/Checkbox/CheckboxImage.tsx +0 -14
- package/src/components/Checkbox/CheckboxIndicator.tsx +0 -63
- package/src/components/Checkbox/CheckboxLabel.tsx +0 -14
- package/src/components/Checkbox/CheckboxRoot.tsx +0 -64
- package/src/components/Checkbox/CheckboxTextContent.tsx +0 -21
- package/src/components/Checkbox/CheckboxTileRoot.figma.tsx +0 -29
- package/src/components/Checkbox/CheckboxTileRoot.tsx +0 -50
- package/src/components/Checkbox/index.ts +0 -12
- package/src/components/Combobox/Combobox.context.ts +0 -26
- package/src/components/Combobox/Combobox.figma.tsx +0 -60
- package/src/components/Combobox/Combobox.props.ts +0 -187
- package/src/components/Combobox/Combobox.stories.tsx +0 -233
- package/src/components/Combobox/Combobox.tsx +0 -446
- package/src/components/Combobox/ComboboxOption.tsx +0 -100
- package/src/components/Combobox/index.ts +0 -9
- package/src/components/Container/Container.props.ts +0 -32
- package/src/components/Container/Container.stories.tsx +0 -290
- package/src/components/Container/Container.tsx +0 -52
- package/src/components/Container/index.tsx +0 -2
- package/src/components/CurrencyInput/CurrencyInput.figma.tsx +0 -72
- package/src/components/CurrencyInput/CurrencyInput.props.ts +0 -27
- package/src/components/CurrencyInput/CurrencyInput.stories.tsx +0 -147
- package/src/components/CurrencyInput/CurrencyInput.tsx +0 -101
- package/src/components/CurrencyInput/index.ts +0 -1
- package/src/components/DateInput/DateInput.figma.tsx +0 -88
- package/src/components/DateInput/DateInput.props.ts +0 -125
- package/src/components/DateInput/DateInput.stories.tsx +0 -314
- package/src/components/DateInput/DateInput.tsx +0 -135
- package/src/components/DateInput/DateInputSegment.tsx +0 -69
- package/src/components/DateInput/index.ts +0 -2
- package/src/components/DatePicker/DatePicker.context.ts +0 -23
- package/src/components/DatePicker/DatePicker.figma.tsx +0 -47
- package/src/components/DatePicker/DatePicker.props.ts +0 -139
- package/src/components/DatePicker/DatePicker.stories.tsx +0 -98
- package/src/components/DatePicker/DatePicker.tsx +0 -673
- package/src/components/DatePicker/DatePickerCalendar.tsx +0 -58
- package/src/components/DatePicker/DatePickerDay.tsx +0 -302
- package/src/components/DatePicker/DatePickerDays.tsx +0 -241
- package/src/components/DatePicker/DatePickerFooter.tsx +0 -35
- package/src/components/DatePicker/DatePickerHeader/DatePickerHeader.props.ts +0 -8
- package/src/components/DatePicker/DatePickerHeader/DatePickerMonthButton.tsx +0 -29
- package/src/components/DatePicker/DatePickerHeader/DatePickerNextButton.tsx +0 -46
- package/src/components/DatePicker/DatePickerHeader/DatePickerPrevButton.tsx +0 -46
- package/src/components/DatePicker/DatePickerHeader/DatePickerSelectors.tsx +0 -96
- package/src/components/DatePicker/DatePickerHeader/DatePickerTimeButton.tsx +0 -48
- package/src/components/DatePicker/DatePickerHeader/DatePickerYearButton.tsx +0 -50
- package/src/components/DatePicker/DatePickerHeader/index.tsx +0 -64
- package/src/components/DatePicker/DatePickerMonths.tsx +0 -101
- package/src/components/DatePicker/DatePickerWeekdays.tsx +0 -49
- package/src/components/DatePicker/DatePickerYears.tsx +0 -119
- package/src/components/DatePicker/enums.ts +0 -14
- package/src/components/DatePicker/index.ts +0 -15
- package/src/components/DatePicker/polyfill.ts +0 -21
- package/src/components/DatePicker/utils.ts +0 -549
- package/src/components/DatePickerInput/DatePickerInput.figma.tsx +0 -34
- package/src/components/DatePickerInput/DatePickerInput.props.ts +0 -56
- package/src/components/DatePickerInput/DatePickerInput.stories.tsx +0 -178
- package/src/components/DatePickerInput/DatePickerInput.tsx +0 -277
- package/src/components/DatePickerInput/DatePickerInputDoneButton.tsx +0 -42
- package/src/components/DatePickerInput/DatePickerInputDoneButton.web.tsx +0 -7
- package/src/components/DatePickerInput/index.ts +0 -2
- package/src/components/DescriptionList/DescriptionList.context.ts +0 -18
- package/src/components/DescriptionList/DescriptionList.figma.tsx +0 -47
- package/src/components/DescriptionList/DescriptionList.props.ts +0 -14
- package/src/components/DescriptionList/DescriptionList.stories.tsx +0 -172
- package/src/components/DescriptionList/DescriptionList.tsx +0 -54
- package/src/components/DescriptionList/DescriptionListItem.figma.tsx +0 -42
- package/src/components/DescriptionList/DescriptionListItem.props.ts +0 -15
- package/src/components/DescriptionList/DescriptionListItem.tsx +0 -106
- package/src/components/DescriptionList/index.ts +0 -4
- package/src/components/DetailText/DetailText.props.ts +0 -8
- package/src/components/DetailText/DetailText.stories.tsx +0 -148
- package/src/components/DetailText/DetailText.tsx +0 -147
- package/src/components/DetailText/index.ts +0 -1
- package/src/components/Divider/Divider.figma.tsx +0 -12
- package/src/components/Divider/Divider.props.ts +0 -19
- package/src/components/Divider/Divider.stories.tsx +0 -60
- package/src/components/Divider/Divider.tsx +0 -240
- package/src/components/Divider/index.ts +0 -1
- package/src/components/Expandable/Expandable.props.ts +0 -46
- package/src/components/Expandable/Expandable.stories.tsx +0 -284
- package/src/components/Expandable/Expandable.tsx +0 -92
- package/src/components/Expandable/index.ts +0 -2
- package/src/components/ExpandableCard/ExpandableCard.figma.tsx +0 -49
- package/src/components/ExpandableCard/ExpandableCard.props.ts +0 -108
- package/src/components/ExpandableCard/ExpandableCard.stories.tsx +0 -376
- package/src/components/ExpandableCard/ExpandableCard.tsx +0 -84
- package/src/components/ExpandableCard/ExpandableCardContent.tsx +0 -21
- package/src/components/ExpandableCard/ExpandableCardExpandedContent.tsx +0 -42
- package/src/components/ExpandableCard/ExpandableCardGroup.figma.tsx +0 -40
- package/src/components/ExpandableCard/ExpandableCardGroup.props.ts +0 -36
- package/src/components/ExpandableCard/ExpandableCardGroup.tsx +0 -42
- package/src/components/ExpandableCard/ExpandableCardHelperText.tsx +0 -21
- package/src/components/ExpandableCard/ExpandableCardIcon.tsx +0 -32
- package/src/components/ExpandableCard/ExpandableCardLeadingContent.tsx +0 -9
- package/src/components/ExpandableCard/ExpandableCardText.tsx +0 -14
- package/src/components/ExpandableCard/ExpandableCardTrailingContent.tsx +0 -9
- package/src/components/ExpandableCard/ExpandableCardTrailingIcon.tsx +0 -30
- package/src/components/ExpandableCard/ExpandableCardTrigger.props.ts +0 -76
- package/src/components/ExpandableCard/ExpandableCardTrigger.tsx +0 -9
- package/src/components/ExpandableCard/ExpandableCardTriggerRoot.tsx +0 -173
- package/src/components/ExpandableCard/index.ts +0 -14
- package/src/components/Flex/Flex.props.ts +0 -31
- package/src/components/Flex/Flex.stories.tsx +0 -78
- package/src/components/Flex/Flex.tsx +0 -46
- package/src/components/Flex/index.ts +0 -1
- package/src/components/FormField/FormFielInvalidIcon.tsx +0 -11
- package/src/components/FormField/FormField.context.ts +0 -11
- package/src/components/FormField/FormField.figma.tsx +0 -23
- package/src/components/FormField/FormField.props.ts +0 -20
- package/src/components/FormField/FormField.stories.tsx +0 -134
- package/src/components/FormField/FormField.tsx +0 -123
- package/src/components/FormField/FormFieldHelper.tsx +0 -23
- package/src/components/FormField/FormFieldInvalid.tsx +0 -33
- package/src/components/FormField/FormFieldLabel.tsx +0 -16
- package/src/components/FormField/FormFieldRoot.tsx +0 -21
- package/src/components/FormField/FormFieldValid.tsx +0 -33
- package/src/components/FormField/FormFieldValidIcon.tsx +0 -11
- package/src/components/FormField/index.ts +0 -16
- package/src/components/Grid/Grid.props.ts +0 -62
- package/src/components/Grid/Grid.stories.tsx +0 -199
- package/src/components/Grid/Grid.tsx +0 -146
- package/src/components/Grid/index.ts +0 -2
- package/src/components/HTMLElements/ListItem.tsx +0 -33
- package/src/components/HTMLElements/OrderedList.stories.tsx +0 -86
- package/src/components/HTMLElements/OrderedList.tsx +0 -98
- package/src/components/HTMLElements/UnorderedList.stories.tsx +0 -110
- package/src/components/HTMLElements/UnorderedList.tsx +0 -92
- package/src/components/HTMLElements/index.ts +0 -3
- package/src/components/Heading/Heading.props.ts +0 -8
- package/src/components/Heading/Heading.stories.tsx +0 -128
- package/src/components/Heading/Heading.tsx +0 -193
- package/src/components/Heading/index.ts +0 -1
- package/src/components/Helper/Helper.props.ts +0 -24
- package/src/components/Helper/Helper.tsx +0 -66
- package/src/components/Helper/HelperContext.ts +0 -6
- package/src/components/Helper/HelperIcon.tsx +0 -44
- package/src/components/Helper/HelperText.figma.tsx +0 -23
- package/src/components/Helper/HelperText.tsx +0 -46
- package/src/components/Helper/index.ts +0 -3
- package/src/components/HighlightBanner/HighlightBanner.figma.tsx +0 -46
- package/src/components/HighlightBanner/HighlightBanner.props.ts +0 -29
- package/src/components/HighlightBanner/HighlightBanner.stories.tsx +0 -314
- package/src/components/HighlightBanner/HighlightBanner.tsx +0 -127
- package/src/components/HighlightBanner/HighlightBannerImage.tsx +0 -20
- package/src/components/HighlightBanner/index.ts +0 -3
- package/src/components/Icon/Icon.props.ts +0 -17
- package/src/components/Icon/Icon.stories.tsx +0 -44
- package/src/components/Icon/Icon.tsx +0 -52
- package/src/components/Icon/index.tsx +0 -2
- package/src/components/IconButton/IconButton.context.ts +0 -13
- package/src/components/IconButton/IconButton.figma.tsx +0 -45
- package/src/components/IconButton/IconButton.props.ts +0 -45
- package/src/components/IconButton/IconButton.stories.tsx +0 -271
- package/src/components/IconButton/IconButton.tsx +0 -37
- package/src/components/IconButton/IconButtonIcon.tsx +0 -156
- package/src/components/IconButton/IconButtonRoot.tsx +0 -478
- package/src/components/IconButton/IconButtonSpinner.tsx +0 -68
- package/src/components/IconButton/index.tsx +0 -2
- package/src/components/IconContainer/IconContainer.figma.tsx +0 -44
- package/src/components/IconContainer/IconContainer.props.ts +0 -17
- package/src/components/IconContainer/IconContainer.stories.tsx +0 -135
- package/src/components/IconContainer/IconContainer.tsx +0 -178
- package/src/components/IconContainer/index.tsx +0 -2
- package/src/components/Icons/CircleIcon.tsx +0 -21
- package/src/components/Icons/index.ts +0 -1
- package/src/components/IndicatorIconButton/IndicatorIconButton.docs.mdx +0 -85
- package/src/components/IndicatorIconButton/IndicatorIconButton.figma.tsx +0 -16
- package/src/components/IndicatorIconButton/IndicatorIconButton.props.ts +0 -12
- package/src/components/IndicatorIconButton/IndicatorIconButton.stories.tsx +0 -150
- package/src/components/IndicatorIconButton/IndicatorIconButton.tsx +0 -36
- package/src/components/IndicatorIconButton/index.tsx +0 -2
- package/src/components/InlineLink/InlineLink.context.ts +0 -10
- package/src/components/InlineLink/InlineLink.props.ts +0 -10
- package/src/components/InlineLink/InlineLink.stories.tsx +0 -91
- package/src/components/InlineLink/InlineLink.tsx +0 -26
- package/src/components/InlineLink/InlineLinkRoot.tsx +0 -87
- package/src/components/InlineLink/index.ts +0 -3
- package/src/components/Input/Input.context.ts +0 -6
- package/src/components/Input/Input.figma.tsx +0 -123
- package/src/components/Input/Input.props.ts +0 -118
- package/src/components/Input/Input.stories.tsx +0 -235
- package/src/components/Input/Input.tsx +0 -215
- package/src/components/Input/InputField.tsx +0 -75
- package/src/components/Input/InputIcon.tsx +0 -30
- package/src/components/Input/InputRoot.tsx +0 -89
- package/src/components/Input/InputSlot.tsx +0 -32
- package/src/components/Input/index.ts +0 -1
- package/src/components/Label/Label.figma.tsx +0 -24
- package/src/components/Label/Label.props.ts +0 -9
- package/src/components/Label/Label.tsx +0 -44
- package/src/components/Label/index.ts +0 -1
- package/src/components/Link/Link.context.ts +0 -10
- package/src/components/Link/Link.figma.tsx +0 -35
- package/src/components/Link/Link.props.ts +0 -18
- package/src/components/Link/Link.stories.tsx +0 -75
- package/src/components/Link/Link.tsx +0 -44
- package/src/components/Link/LinkIcon.tsx +0 -60
- package/src/components/Link/LinkRoot.tsx +0 -65
- package/src/components/Link/LinkText.tsx +0 -59
- package/src/components/Link/index.ts +0 -4
- package/src/components/List/List.context.ts +0 -16
- package/src/components/List/List.figma.tsx +0 -45
- package/src/components/List/List.props.ts +0 -13
- package/src/components/List/List.stories.tsx +0 -535
- package/src/components/List/List.tsx +0 -109
- package/src/components/List/ListAction/ListAction.figma.tsx +0 -21
- package/src/components/List/ListAction/ListAction.props.ts +0 -10
- package/src/components/List/ListAction/ListAction.tsx +0 -165
- package/src/components/List/ListAction/ListActionContent.tsx +0 -21
- package/src/components/List/ListAction/ListActionText.tsx +0 -14
- package/src/components/List/ListAction/ListActionTrailingContent.tsx +0 -9
- package/src/components/List/ListAction/ListActionTrailingIcon.tsx +0 -33
- package/src/components/List/ListAction/index.ts +0 -6
- package/src/components/List/ListItem/ListItem.context.ts +0 -11
- package/src/components/List/ListItem/ListItem.figma.tsx +0 -56
- package/src/components/List/ListItem/ListItem.props.ts +0 -38
- package/src/components/List/ListItem/ListItem.tsx +0 -10
- package/src/components/List/ListItem/ListItemContent.tsx +0 -21
- package/src/components/List/ListItem/ListItemHeading.tsx +0 -20
- package/src/components/List/ListItem/ListItemHelperText.tsx +0 -20
- package/src/components/List/ListItem/ListItemIcon.tsx +0 -32
- package/src/components/List/ListItem/ListItemLeadingContent.figma.tsx +0 -29
- package/src/components/List/ListItem/ListItemLeadingContent.tsx +0 -9
- package/src/components/List/ListItem/ListItemRoot.tsx +0 -221
- package/src/components/List/ListItem/ListItemTrailingContent.figma.tsx +0 -27
- package/src/components/List/ListItem/ListItemTrailingContent.tsx +0 -9
- package/src/components/List/ListItem/ListItemTrailingIcon.tsx +0 -31
- package/src/components/List/ListItem/index.ts +0 -9
- package/src/components/List/index.ts +0 -4
- package/src/components/Menu/Menu.context.ts +0 -15
- package/src/components/Menu/Menu.figma.tsx +0 -30
- package/src/components/Menu/Menu.props.ts +0 -20
- package/src/components/Menu/Menu.stories.tsx +0 -292
- package/src/components/Menu/Menu.tsx +0 -51
- package/src/components/Menu/MenuItem.figma.tsx +0 -39
- package/src/components/Menu/MenuItem.props.ts +0 -29
- package/src/components/Menu/MenuItem.tsx +0 -145
- package/src/components/Menu/MenuTrigger.props.ts +0 -14
- package/src/components/Menu/MenuTrigger.tsx +0 -20
- package/src/components/Menu/index.ts +0 -7
- package/src/components/Modal/Modal.figma.tsx +0 -67
- package/src/components/Modal/Modal.props.ts +0 -25
- package/src/components/Modal/Modal.shared.types.ts +0 -43
- package/src/components/Modal/Modal.stories.tsx +0 -405
- package/src/components/Modal/Modal.tsx +0 -423
- package/src/components/Modal/Modal.web.tsx +0 -250
- package/src/components/Modal/ModalImage.tsx +0 -20
- package/src/components/Modal/index.ts +0 -3
- package/src/components/NavModal/NavModal.figma.tsx +0 -13
- package/src/components/NavModal/NavModal.props.ts +0 -31
- package/src/components/NavModal/NavModal.stories.tsx +0 -200
- package/src/components/NavModal/NavModal.tsx +0 -436
- package/src/components/NavModal/index.ts +0 -2
- package/src/components/Pagination/Pagination.figma.tsx +0 -20
- package/src/components/Pagination/Pagination.props.ts +0 -28
- package/src/components/Pagination/Pagination.stories.tsx +0 -88
- package/src/components/Pagination/Pagination.tsx +0 -248
- package/src/components/Pagination/Pagination.utils.test.ts +0 -20
- package/src/components/Pagination/Pagination.utils.ts +0 -37
- package/src/components/Pagination/index.ts +0 -2
- package/src/components/PillGroup/Pill.figma.tsx +0 -12
- package/src/components/PillGroup/Pill.props.ts +0 -13
- package/src/components/PillGroup/Pill.tsx +0 -118
- package/src/components/PillGroup/PillGroup.context.tsx +0 -12
- package/src/components/PillGroup/PillGroup.docs.mdx +0 -96
- package/src/components/PillGroup/PillGroup.figma.tsx +0 -20
- package/src/components/PillGroup/PillGroup.props.ts +0 -36
- package/src/components/PillGroup/PillGroup.stories.tsx +0 -158
- package/src/components/PillGroup/PillGroup.tsx +0 -70
- package/src/components/PillGroup/index.ts +0 -4
- package/src/components/ProgressBar/ProgressBar.figma.tsx +0 -79
- package/src/components/ProgressBar/ProgressBar.props.ts +0 -60
- package/src/components/ProgressBar/ProgressBar.stories.tsx +0 -117
- package/src/components/ProgressBar/ProgressBar.tsx +0 -74
- package/src/components/ProgressBar/ProgressBarCircular.tsx +0 -181
- package/src/components/ProgressBar/ProgressBarLinear.tsx +0 -127
- package/src/components/ProgressBar/index.ts +0 -7
- package/src/components/ProgressStepper/ProgressStep.figma.tsx +0 -19
- package/src/components/ProgressStepper/ProgressStep.tsx +0 -134
- package/src/components/ProgressStepper/ProgressStepper.docs.mdx +0 -87
- package/src/components/ProgressStepper/ProgressStepper.figma.tsx +0 -13
- package/src/components/ProgressStepper/ProgressStepper.props.ts +0 -27
- package/src/components/ProgressStepper/ProgressStepper.stories.tsx +0 -107
- package/src/components/ProgressStepper/ProgressStepper.tsx +0 -26
- package/src/components/ProgressStepper/ProgressStepperRoot.tsx +0 -32
- package/src/components/ProgressStepper/index.ts +0 -3
- package/src/components/Radio/Radio.context.ts +0 -9
- package/src/components/Radio/Radio.figma.tsx +0 -38
- package/src/components/Radio/Radio.props.ts +0 -38
- package/src/components/Radio/Radio.stories.tsx +0 -254
- package/src/components/Radio/Radio.tsx +0 -98
- package/src/components/Radio/RadioGroup.context.ts +0 -10
- package/src/components/Radio/RadioGroup.figma.tsx +0 -82
- package/src/components/Radio/RadioGroup.props.ts +0 -23
- package/src/components/Radio/RadioGroup.stories.tsx +0 -131
- package/src/components/Radio/RadioGroup.tsx +0 -113
- package/src/components/Radio/RadioGroupRoot.tsx +0 -36
- package/src/components/Radio/RadioGroupTextContent.tsx +0 -14
- package/src/components/Radio/RadioIcon.tsx +0 -37
- package/src/components/Radio/RadioImage.figma.tsx +0 -27
- package/src/components/Radio/RadioImage.tsx +0 -14
- package/src/components/Radio/RadioIndicator.tsx +0 -63
- package/src/components/Radio/RadioLabel.tsx +0 -14
- package/src/components/Radio/RadioRoot.tsx +0 -65
- package/src/components/Radio/RadioTextContent.tsx +0 -21
- package/src/components/Radio/RadioTile.figma.tsx +0 -38
- package/src/components/Radio/RadioTileRoot.tsx +0 -46
- package/src/components/Radio/index.ts +0 -6
- package/src/components/RadioCard/RadioCard.context.ts +0 -8
- package/src/components/RadioCard/RadioCard.figma.tsx +0 -24
- package/src/components/RadioCard/RadioCard.props.ts +0 -19
- package/src/components/RadioCard/RadioCard.stories.tsx +0 -45
- package/src/components/RadioCard/RadioCard.tsx +0 -62
- package/src/components/RadioCard/RadioCardGroup.context.ts +0 -16
- package/src/components/RadioCard/RadioCardGroup.props.ts +0 -36
- package/src/components/RadioCard/RadioCardGroup.stories.tsx +0 -94
- package/src/components/RadioCard/RadioCardGroup.tsx +0 -57
- package/src/components/RadioCard/RadioCardIcon.tsx +0 -33
- package/src/components/RadioCard/RadioCardIndicator.tsx +0 -63
- package/src/components/RadioCard/RadioCardLabel.tsx +0 -19
- package/src/components/RadioCard/RadioCardRoot.tsx +0 -85
- package/src/components/RadioCard/index.ts +0 -8
- package/src/components/Rating/Rating.docs.mdx +0 -217
- package/src/components/Rating/Rating.figma.tsx +0 -39
- package/src/components/Rating/Rating.props.ts +0 -28
- package/src/components/Rating/Rating.stories.tsx +0 -112
- package/src/components/Rating/Rating.tsx +0 -198
- package/src/components/Rating/Rating.utils.test.ts +0 -15
- package/src/components/Rating/Rating.utils.ts +0 -14
- package/src/components/Rating/RatingEmoji.tsx +0 -28
- package/src/components/Rating/RatingStarEmpty.tsx +0 -22
- package/src/components/Rating/RatingStarFilled.tsx +0 -27
- package/src/components/Rating/index.ts +0 -2
- package/src/components/Roundel/Roundel.figma.tsx +0 -17
- package/src/components/Roundel/Roundel.props.ts +0 -8
- package/src/components/Roundel/Roundel.stories.tsx +0 -49
- package/src/components/Roundel/Roundel.tsx +0 -51
- package/src/components/Roundel/index.ts +0 -2
- package/src/components/SectionHeader/SectionHeader.figma.tsx +0 -37
- package/src/components/SectionHeader/SectionHeader.props.ts +0 -29
- package/src/components/SectionHeader/SectionHeader.stories.tsx +0 -86
- package/src/components/SectionHeader/SectionHeader.tsx +0 -61
- package/src/components/SectionHeader/SectionHeaderHeading.tsx +0 -14
- package/src/components/SectionHeader/SectionHeaderHelperText.tsx +0 -21
- package/src/components/SectionHeader/SectionHeaderTextContent.tsx +0 -21
- package/src/components/SectionHeader/SectionHeaderTrailingContent.tsx +0 -20
- package/src/components/SectionHeader/index.ts +0 -5
- package/src/components/SegmentedControl/SegmentedControl.context.ts +0 -22
- package/src/components/SegmentedControl/SegmentedControl.figma.tsx +0 -39
- package/src/components/SegmentedControl/SegmentedControl.props.ts +0 -20
- package/src/components/SegmentedControl/SegmentedControl.stories.tsx +0 -98
- package/src/components/SegmentedControl/SegmentedControl.tsx +0 -260
- package/src/components/SegmentedControl/SegmentedControlOption.props.ts +0 -16
- package/src/components/SegmentedControl/SegmentedControlOption.tsx +0 -237
- package/src/components/SegmentedControl/index.ts +0 -4
- package/src/components/Select/Select.context.ts +0 -15
- package/src/components/Select/Select.figma.tsx +0 -56
- package/src/components/Select/Select.props.ts +0 -161
- package/src/components/Select/Select.stories.tsx +0 -290
- package/src/components/Select/Select.tsx +0 -321
- package/src/components/Select/SelectOption.figma.tsx +0 -18
- package/src/components/Select/SelectOption.tsx +0 -103
- package/src/components/Select/index.ts +0 -7
- package/src/components/Skeleton/Skeleton.props.ts +0 -11
- package/src/components/Skeleton/Skeleton.stories.tsx +0 -33
- package/src/components/Skeleton/Skeleton.tsx +0 -77
- package/src/components/Skeleton/index.ts +0 -1
- package/src/components/Spinner/Spinner.figma.tsx +0 -14
- package/src/components/Spinner/Spinner.props.ts +0 -10
- package/src/components/Spinner/Spinner.stories.tsx +0 -56
- package/src/components/Spinner/Spinner.tsx +0 -157
- package/src/components/Spinner/Spinner.web.tsx +0 -149
- package/src/components/Spinner/index.ts +0 -2
- package/src/components/StepperInput/StepperButton.tsx +0 -83
- package/src/components/StepperInput/StepperInput.figma.tsx +0 -45
- package/src/components/StepperInput/StepperInput.props.ts +0 -39
- package/src/components/StepperInput/StepperInput.stories.tsx +0 -270
- package/src/components/StepperInput/StepperInput.tsx +0 -322
- package/src/components/StepperInput/index.ts +0 -2
- package/src/components/Switch/Switch.figma.tsx +0 -16
- package/src/components/Switch/Switch.props.ts +0 -10
- package/src/components/Switch/Switch.stories.tsx +0 -80
- package/src/components/Switch/Switch.tsx +0 -209
- package/src/components/Switch/Switch.web.tsx +0 -207
- package/src/components/Switch/index.ts +0 -1
- package/src/components/Table/Table.context.tsx +0 -23
- package/src/components/Table/Table.docs.mdx +0 -239
- package/src/components/Table/Table.figma.tsx +0 -65
- package/src/components/Table/Table.props.ts +0 -65
- package/src/components/Table/Table.stories.tsx +0 -399
- package/src/components/Table/Table.tsx +0 -127
- package/src/components/Table/Table.utils.test.ts +0 -82
- package/src/components/Table/Table.utils.ts +0 -72
- package/src/components/Table/TableBody.tsx +0 -25
- package/src/components/Table/TableCell.tsx +0 -67
- package/src/components/Table/TableHeader.tsx +0 -41
- package/src/components/Table/TableHeaderCell.tsx +0 -145
- package/src/components/Table/TablePagination.tsx +0 -10
- package/src/components/Table/TableRow.tsx +0 -42
- package/src/components/Table/index.ts +0 -16
- package/src/components/Tabs/Tab.figma.tsx +0 -21
- package/src/components/Tabs/Tab.props.ts +0 -16
- package/src/components/Tabs/Tab.tsx +0 -114
- package/src/components/Tabs/TabPanel.props.ts +0 -10
- package/src/components/Tabs/TabPanel.tsx +0 -46
- package/src/components/Tabs/Tabs.context.ts +0 -26
- package/src/components/Tabs/Tabs.figma.tsx +0 -20
- package/src/components/Tabs/Tabs.props.ts +0 -21
- package/src/components/Tabs/Tabs.stories.tsx +0 -270
- package/src/components/Tabs/Tabs.tsx +0 -138
- package/src/components/Tabs/TabsList.props.ts +0 -8
- package/src/components/Tabs/TabsList.tsx +0 -194
- package/src/components/Tabs/index.ts +0 -8
- package/src/components/Textarea/Textarea.context.ts +0 -6
- package/src/components/Textarea/Textarea.figma.tsx +0 -64
- package/src/components/Textarea/Textarea.props.ts +0 -74
- package/src/components/Textarea/Textarea.stories.tsx +0 -106
- package/src/components/Textarea/Textarea.tsx +0 -207
- package/src/components/Textarea/TextareaField.tsx +0 -45
- package/src/components/Textarea/TextareaRoot.tsx +0 -83
- package/src/components/Textarea/index.ts +0 -1
- package/src/components/ThemedImage/ThemedImage.props.ts +0 -15
- package/src/components/ThemedImage/ThemedImage.stories.tsx +0 -175
- package/src/components/ThemedImage/ThemedImage.tsx +0 -34
- package/src/components/ThemedImage/index.tsx +0 -2
- package/src/components/TimePicker/TimePicker.figma.tsx +0 -29
- package/src/components/TimePicker/TimePicker.props.ts +0 -45
- package/src/components/TimePicker/TimePicker.stories.tsx +0 -85
- package/src/components/TimePicker/TimePicker.tsx +0 -150
- package/src/components/TimePicker/TimePickerView.tsx +0 -216
- package/src/components/TimePicker/TimePickerWheel.tsx +0 -161
- package/src/components/TimePicker/TimePickerWheel.web.tsx +0 -217
- package/src/components/TimePicker/index.ts +0 -8
- package/src/components/TimePickerInput/TimePickerInput.figma.tsx +0 -34
- package/src/components/TimePickerInput/TimePickerInput.props.ts +0 -55
- package/src/components/TimePickerInput/TimePickerInput.stories.tsx +0 -175
- package/src/components/TimePickerInput/TimePickerInput.tsx +0 -283
- package/src/components/TimePickerInput/TimePickerInputDoneButton.tsx +0 -42
- package/src/components/TimePickerInput/TimePickerInputDoneButton.web.tsx +0 -7
- package/src/components/TimePickerInput/index.ts +0 -2
- package/src/components/Timeline/Timeline.figma.tsx +0 -89
- package/src/components/Timeline/Timeline.props.ts +0 -51
- package/src/components/Timeline/Timeline.stories.tsx +0 -102
- package/src/components/Timeline/Timeline.tsx +0 -48
- package/src/components/Timeline/TimelineItem.tsx +0 -293
- package/src/components/Timeline/index.ts +0 -9
- package/src/components/Toast/Toast.context.tsx +0 -139
- package/src/components/Toast/Toast.props.ts +0 -38
- package/src/components/Toast/Toast.stories.tsx +0 -385
- package/src/components/Toast/ToastItem.figma.tsx +0 -15
- package/src/components/Toast/ToastItem.tsx +0 -205
- package/src/components/Toast/index.ts +0 -3
- package/src/components/ToggleButton/ToggleButton.props.tsx +0 -7
- package/src/components/ToggleButton/ToggleButton.stories.tsx +0 -35
- package/src/components/ToggleButton/ToggleButton.tsx +0 -32
- package/src/components/ToggleButton/ToggleButtonIcon.tsx +0 -47
- package/src/components/ToggleButton/ToggleButtonRoot.tsx +0 -98
- package/src/components/ToggleButton/ToggleButtonText.tsx +0 -29
- package/src/components/ToggleButton/index.ts +0 -2
- package/src/components/ToggleButtonCard/ToggleButtonCard.context.ts +0 -8
- package/src/components/ToggleButtonCard/ToggleButtonCard.figma.tsx +0 -24
- package/src/components/ToggleButtonCard/ToggleButtonCard.props.ts +0 -17
- package/src/components/ToggleButtonCard/ToggleButtonCard.stories.tsx +0 -45
- package/src/components/ToggleButtonCard/ToggleButtonCard.tsx +0 -32
- package/src/components/ToggleButtonCard/ToggleButtonCardGroup.props.ts +0 -34
- package/src/components/ToggleButtonCard/ToggleButtonCardGroup.stories.tsx +0 -85
- package/src/components/ToggleButtonCard/ToggleButtonCardGroup.tsx +0 -48
- package/src/components/ToggleButtonCard/ToggleButtonCardRoot.tsx +0 -97
- package/src/components/ToggleButtonCard/index.ts +0 -2
- package/src/components/UnstyledIconButton/UnstyledIconButton.context.ts +0 -11
- package/src/components/UnstyledIconButton/UnstyledIconButton.figma.tsx +0 -49
- package/src/components/UnstyledIconButton/UnstyledIconButton.props.ts +0 -34
- package/src/components/UnstyledIconButton/UnstyledIconButton.stories.tsx +0 -96
- package/src/components/UnstyledIconButton/UnstyledIconButton.tsx +0 -68
- package/src/components/UnstyledIconButton/UnstyledIconButtonIcon.tsx +0 -74
- package/src/components/UnstyledIconButton/UnstyledIconButtonRoot.tsx +0 -61
- package/src/components/UnstyledIconButton/UnstyledIconButtonSpinner.tsx +0 -39
- package/src/components/UnstyledIconButton/index.tsx +0 -2
- package/src/components/VerificationInput/VerificationInput.figma.tsx +0 -53
- package/src/components/VerificationInput/VerificationInput.props.ts +0 -66
- package/src/components/VerificationInput/VerificationInput.stories.tsx +0 -249
- package/src/components/VerificationInput/VerificationInput.tsx +0 -290
- package/src/components/VerificationInput/VerificationInput.utils.test.ts +0 -48
- package/src/components/VerificationInput/VerificationInput.utils.ts +0 -32
- package/src/components/VerificationInput/VerificationInputSlot.tsx +0 -170
- package/src/components/VerificationInput/index.ts +0 -7
- package/src/components/index.ts +0 -77
- package/src/core/breakpoints.ts +0 -10
- package/src/core/index.ts +0 -38
- package/src/core/themes.ts +0 -390
- package/src/hooks/index.ts +0 -8
- package/src/hooks/useBreakpointValue.ts +0 -62
- package/src/hooks/useColorMode.ts +0 -18
- package/src/hooks/useFormFieldAccessibility.test.tsx +0 -74
- package/src/hooks/useFormFieldAccessibility.ts +0 -67
- package/src/hooks/useMedia.ts +0 -31
- package/src/hooks/usePrevious.ts +0 -9
- package/src/hooks/useStyleProps.ts +0 -95
- package/src/hooks/useTheme.ts +0 -9
- package/src/hooks/useToken.ts +0 -40
- package/src/index.ts +0 -4
- package/src/legacyTokens/common/brand.ts +0 -18
- package/src/legacyTokens/common/index.ts +0 -10
- package/src/legacyTokens/common/service.ts +0 -22
- package/src/legacyTokens/dark/apple.ts +0 -30
- package/src/legacyTokens/dark/cyan.ts +0 -50
- package/src/legacyTokens/dark/gold.ts +0 -46
- package/src/legacyTokens/dark/grape.ts +0 -30
- package/src/legacyTokens/dark/green.ts +0 -42
- package/src/legacyTokens/dark/grey.ts +0 -62
- package/src/legacyTokens/dark/index.ts +0 -42
- package/src/legacyTokens/dark/pink.ts +0 -30
- package/src/legacyTokens/dark/purple.ts +0 -50
- package/src/legacyTokens/dark/red.ts +0 -42
- package/src/legacyTokens/dark/rose.ts +0 -30
- package/src/legacyTokens/index.ts +0 -14
- package/src/legacyTokens/light/apple.ts +0 -30
- package/src/legacyTokens/light/cyan.ts +0 -50
- package/src/legacyTokens/light/gold.ts +0 -46
- package/src/legacyTokens/light/grape.ts +0 -30
- package/src/legacyTokens/light/green.ts +0 -42
- package/src/legacyTokens/light/grey.ts +0 -62
- package/src/legacyTokens/light/index.ts +0 -42
- package/src/legacyTokens/light/pink.ts +0 -30
- package/src/legacyTokens/light/purple.ts +0 -50
- package/src/legacyTokens/light/red.ts +0 -42
- package/src/legacyTokens/light/rose.ts +0 -34
- package/src/tokens/README.md +0 -7
- package/src/tokens/border-radius.ts +0 -12
- package/src/tokens/border-width.ts +0 -8
- package/src/tokens/color.ts +0 -659
- package/src/tokens/components/dark/accordion.ts +0 -27
- package/src/tokens/components/dark/alert.ts +0 -23
- package/src/tokens/components/dark/avatar.ts +0 -19
- package/src/tokens/components/dark/badge.ts +0 -24
- package/src/tokens/components/dark/banner.ts +0 -53
- package/src/tokens/components/dark/bottom-navigation.ts +0 -30
- package/src/tokens/components/dark/bottom-sheet.ts +0 -16
- package/src/tokens/components/dark/breadcrumb.ts +0 -7
- package/src/tokens/components/dark/button.ts +0 -19
- package/src/tokens/components/dark/card-accordion.ts +0 -13
- package/src/tokens/components/dark/card-action.ts +0 -11
- package/src/tokens/components/dark/card-content.ts +0 -25
- package/src/tokens/components/dark/card.ts +0 -38
- package/src/tokens/components/dark/carousel-control.ts +0 -11
- package/src/tokens/components/dark/checkbox.ts +0 -42
- package/src/tokens/components/dark/date-picker.ts +0 -44
- package/src/tokens/components/dark/description-list.ts +0 -20
- package/src/tokens/components/dark/divider.ts +0 -11
- package/src/tokens/components/dark/drawer.ts +0 -29
- package/src/tokens/components/dark/expandable-card.ts +0 -11
- package/src/tokens/components/dark/form-field.ts +0 -10
- package/src/tokens/components/dark/icon-button.ts +0 -46
- package/src/tokens/components/dark/icon-container.ts +0 -25
- package/src/tokens/components/dark/illustrations.ts +0 -7
- package/src/tokens/components/dark/index.ts +0 -58
- package/src/tokens/components/dark/indicator-icon-button.ts +0 -11
- package/src/tokens/components/dark/inline-link.ts +0 -14
- package/src/tokens/components/dark/input.ts +0 -43
- package/src/tokens/components/dark/link.ts +0 -20
- package/src/tokens/components/dark/list.ts +0 -48
- package/src/tokens/components/dark/menu.ts +0 -34
- package/src/tokens/components/dark/modal.ts +0 -36
- package/src/tokens/components/dark/navigation.ts +0 -61
- package/src/tokens/components/dark/overlay.ts +0 -8
- package/src/tokens/components/dark/pagination.ts +0 -13
- package/src/tokens/components/dark/parts.ts +0 -33
- package/src/tokens/components/dark/pill.ts +0 -16
- package/src/tokens/components/dark/progress-bar.ts +0 -41
- package/src/tokens/components/dark/progress-stepper.ts +0 -24
- package/src/tokens/components/dark/radio.ts +0 -39
- package/src/tokens/components/dark/rating.ts +0 -8
- package/src/tokens/components/dark/section-header.ts +0 -10
- package/src/tokens/components/dark/segmented-control.ts +0 -19
- package/src/tokens/components/dark/select.ts +0 -45
- package/src/tokens/components/dark/skeleton.ts +0 -7
- package/src/tokens/components/dark/spinner.ts +0 -24
- package/src/tokens/components/dark/switch.ts +0 -25
- package/src/tokens/components/dark/table.ts +0 -27
- package/src/tokens/components/dark/tabs.ts +0 -25
- package/src/tokens/components/dark/time-picker.ts +0 -30
- package/src/tokens/components/dark/timeline.ts +0 -27
- package/src/tokens/components/dark/toast.ts +0 -17
- package/src/tokens/components/dark/toggle-button.ts +0 -13
- package/src/tokens/components/dark/tooltip.ts +0 -13
- package/src/tokens/components/dark/top-navigation.ts +0 -18
- package/src/tokens/components/index.ts +0 -6
- package/src/tokens/components/light/accordion.ts +0 -27
- package/src/tokens/components/light/alert.ts +0 -23
- package/src/tokens/components/light/avatar.ts +0 -19
- package/src/tokens/components/light/badge.ts +0 -24
- package/src/tokens/components/light/banner.ts +0 -53
- package/src/tokens/components/light/bottom-navigation.ts +0 -30
- package/src/tokens/components/light/bottom-sheet.ts +0 -16
- package/src/tokens/components/light/breadcrumb.ts +0 -7
- package/src/tokens/components/light/button.ts +0 -19
- package/src/tokens/components/light/card-accordion.ts +0 -13
- package/src/tokens/components/light/card-action.ts +0 -11
- package/src/tokens/components/light/card-content.ts +0 -25
- package/src/tokens/components/light/card.ts +0 -38
- package/src/tokens/components/light/carousel-control.ts +0 -11
- package/src/tokens/components/light/checkbox.ts +0 -42
- package/src/tokens/components/light/date-picker.ts +0 -44
- package/src/tokens/components/light/description-list.ts +0 -20
- package/src/tokens/components/light/divider.ts +0 -11
- package/src/tokens/components/light/drawer.ts +0 -29
- package/src/tokens/components/light/expandable-card.ts +0 -11
- package/src/tokens/components/light/form-field.ts +0 -10
- package/src/tokens/components/light/icon-button.ts +0 -46
- package/src/tokens/components/light/icon-container.ts +0 -25
- package/src/tokens/components/light/illustrations.ts +0 -7
- package/src/tokens/components/light/index.ts +0 -58
- package/src/tokens/components/light/indicator-icon-button.ts +0 -11
- package/src/tokens/components/light/inline-link.ts +0 -14
- package/src/tokens/components/light/input.ts +0 -43
- package/src/tokens/components/light/link.ts +0 -20
- package/src/tokens/components/light/list.ts +0 -48
- package/src/tokens/components/light/menu.ts +0 -34
- package/src/tokens/components/light/modal.ts +0 -36
- package/src/tokens/components/light/navigation.ts +0 -61
- package/src/tokens/components/light/overlay.ts +0 -8
- package/src/tokens/components/light/pagination.ts +0 -13
- package/src/tokens/components/light/parts.ts +0 -33
- package/src/tokens/components/light/pill.ts +0 -16
- package/src/tokens/components/light/progress-bar.ts +0 -41
- package/src/tokens/components/light/progress-stepper.ts +0 -24
- package/src/tokens/components/light/radio.ts +0 -39
- package/src/tokens/components/light/rating.ts +0 -8
- package/src/tokens/components/light/section-header.ts +0 -10
- package/src/tokens/components/light/segmented-control.ts +0 -19
- package/src/tokens/components/light/select.ts +0 -45
- package/src/tokens/components/light/skeleton.ts +0 -7
- package/src/tokens/components/light/spinner.ts +0 -24
- package/src/tokens/components/light/switch.ts +0 -25
- package/src/tokens/components/light/table.ts +0 -27
- package/src/tokens/components/light/tabs.ts +0 -25
- package/src/tokens/components/light/time-picker.ts +0 -30
- package/src/tokens/components/light/timeline.ts +0 -27
- package/src/tokens/components/light/toast.ts +0 -17
- package/src/tokens/components/light/toggle-button.ts +0 -13
- package/src/tokens/components/light/tooltip.ts +0 -13
- package/src/tokens/components/light/top-navigation.ts +0 -18
- package/src/tokens/font.ts +0 -29
- package/src/tokens/index.ts +0 -20
- package/src/tokens/layout.ts +0 -94
- package/src/tokens/letter-spacing.ts +0 -13
- package/src/tokens/line-height.ts +0 -16
- package/src/tokens/motion.ts +0 -23
- package/src/tokens/primitive.ts +0 -102
- package/src/tokens/semantic-dark.ts +0 -255
- package/src/tokens/semantic-light.ts +0 -255
- package/src/tokens/semantic.ts +0 -9
- package/src/tokens/shadow.ts +0 -52
- package/src/tokens/space.ts +0 -23
- package/src/tokens/typography.ts +0 -298
- package/src/types/index.ts +0 -6
- package/src/types/refs.ts +0 -8
- package/src/types/semanticColorValues.ts +0 -26
- package/src/types/states.ts +0 -11
- package/src/types/unistyles.ts +0 -12
- package/src/types/utilityProps.ts +0 -410
- package/src/types/values.ts +0 -81
- package/src/utils/coloursAsArray.ts +0 -65
- package/src/utils/formatThousands.ts +0 -14
- package/src/utils/getFlattenedColorValue.ts +0 -13
- package/src/utils/getInitials.ts +0 -7
- package/src/utils/getStyleValue.ts +0 -9
- package/src/utils/hasChildrenByDisplayName.ts +0 -43
- package/src/utils/hexWithOpacity.ts +0 -19
- package/src/utils/index.ts +0 -17
- package/src/utils/isEqual.ts +0 -30
- package/src/utils/isThemedImageProps.ts +0 -8
- package/src/utils/styleUtils.ts +0 -264
- package/src/utils/themeValueHelpers.ts +0 -98
- package/src/vite-env.d.ts +0 -19
- package/tsconfig.eslint.json +0 -14
- package/tsconfig.json +0 -45
- package/vitest.config.js +0 -37
- package/vitest.unit.config.ts +0 -9
|
@@ -1,1005 +0,0 @@
|
|
|
1
|
-
import React, { useCallback, useEffect, useRef, useState } from 'react';
|
|
2
|
-
|
|
3
|
-
import { BottomSheetModalMethods } from '@gorhom/bottom-sheet/lib/typescript/types';
|
|
4
|
-
import {
|
|
5
|
-
BellMediumIcon,
|
|
6
|
-
BroadbandMediumIcon,
|
|
7
|
-
CashbackCardMediumIcon,
|
|
8
|
-
ChevronRightMediumIcon,
|
|
9
|
-
EditSmallIcon,
|
|
10
|
-
ElectricityMediumIcon,
|
|
11
|
-
ExpandSmallIcon,
|
|
12
|
-
InsuranceMediumIcon,
|
|
13
|
-
MobileMediumIcon,
|
|
14
|
-
ShareSmallIcon,
|
|
15
|
-
TrashSmallIcon,
|
|
16
|
-
} from '@utilitywarehouse/hearth-react-native-icons';
|
|
17
|
-
// @ts-expect-error - Module missing type declarations
|
|
18
|
-
import SpotBillingDark from '@utilitywarehouse/hearth-svg-assets/lib/spot-billing-dark.svg';
|
|
19
|
-
// @ts-expect-error - Module missing type declarations
|
|
20
|
-
import SpotBillingLight from '@utilitywarehouse/hearth-svg-assets/lib/spot-billing-light.svg';
|
|
21
|
-
import { color } from '@utilitywarehouse/hearth-tokens';
|
|
22
|
-
import { Pressable, ScrollView, View, ViewProps } from 'react-native';
|
|
23
|
-
import { SafeAreaProvider } from 'react-native-safe-area-context';
|
|
24
|
-
import { StyleSheet } from 'react-native-unistyles';
|
|
25
|
-
import { navigateToStory } from '@utilitywarehouse/hearth-storybook-utils';
|
|
26
|
-
import {
|
|
27
|
-
Accordion,
|
|
28
|
-
AccordionItem,
|
|
29
|
-
Alert,
|
|
30
|
-
Avatar,
|
|
31
|
-
Badge,
|
|
32
|
-
Banner,
|
|
33
|
-
BodyText,
|
|
34
|
-
BottomSheet,
|
|
35
|
-
BottomSheetModal,
|
|
36
|
-
BottomSheetModalProvider,
|
|
37
|
-
BottomSheetView,
|
|
38
|
-
Box,
|
|
39
|
-
Button,
|
|
40
|
-
Card,
|
|
41
|
-
Carousel,
|
|
42
|
-
CarouselItem,
|
|
43
|
-
Center,
|
|
44
|
-
Checkbox,
|
|
45
|
-
Combobox,
|
|
46
|
-
Container,
|
|
47
|
-
CurrencyInput,
|
|
48
|
-
DateInput,
|
|
49
|
-
DatePicker,
|
|
50
|
-
DatePickerInput,
|
|
51
|
-
DateType,
|
|
52
|
-
DescriptionList,
|
|
53
|
-
DescriptionListItem,
|
|
54
|
-
DetailText,
|
|
55
|
-
Divider,
|
|
56
|
-
Expandable,
|
|
57
|
-
ExpandableCard,
|
|
58
|
-
Flex,
|
|
59
|
-
FormField,
|
|
60
|
-
Grid,
|
|
61
|
-
Heading,
|
|
62
|
-
HighlightBanner,
|
|
63
|
-
HighlightBannerImage,
|
|
64
|
-
Icon,
|
|
65
|
-
IconButton,
|
|
66
|
-
IconContainer,
|
|
67
|
-
IndicatorIconButton,
|
|
68
|
-
InlineLink,
|
|
69
|
-
Input,
|
|
70
|
-
LI,
|
|
71
|
-
Link,
|
|
72
|
-
List,
|
|
73
|
-
ListItem,
|
|
74
|
-
Menu,
|
|
75
|
-
MenuItem,
|
|
76
|
-
MenuTrigger,
|
|
77
|
-
Modal,
|
|
78
|
-
NavModal,
|
|
79
|
-
OL,
|
|
80
|
-
Pagination,
|
|
81
|
-
Pill,
|
|
82
|
-
PillGroup,
|
|
83
|
-
ProgressBar,
|
|
84
|
-
ProgressStep,
|
|
85
|
-
ProgressStepper,
|
|
86
|
-
Radio,
|
|
87
|
-
RadioCard,
|
|
88
|
-
RadioCardGroup,
|
|
89
|
-
RadioGroup,
|
|
90
|
-
Rating,
|
|
91
|
-
Roundel,
|
|
92
|
-
SectionHeader,
|
|
93
|
-
SegmentedControl,
|
|
94
|
-
SegmentedControlOption,
|
|
95
|
-
Select,
|
|
96
|
-
Skeleton,
|
|
97
|
-
Spinner,
|
|
98
|
-
StepperInput,
|
|
99
|
-
Switch,
|
|
100
|
-
Tab,
|
|
101
|
-
Table,
|
|
102
|
-
TableBody,
|
|
103
|
-
TableCell,
|
|
104
|
-
TableHeader,
|
|
105
|
-
TableHeaderCell,
|
|
106
|
-
TableRow,
|
|
107
|
-
TabPanel,
|
|
108
|
-
Tabs,
|
|
109
|
-
TabsList,
|
|
110
|
-
Textarea,
|
|
111
|
-
ThemedImage,
|
|
112
|
-
Timeline,
|
|
113
|
-
TimelineItem,
|
|
114
|
-
TimePicker,
|
|
115
|
-
TimePickerInput,
|
|
116
|
-
ToastItem,
|
|
117
|
-
ToggleButtonCard,
|
|
118
|
-
ToggleButtonCardGroup,
|
|
119
|
-
UL,
|
|
120
|
-
useColorMode,
|
|
121
|
-
VerificationInput,
|
|
122
|
-
} from '../../src';
|
|
123
|
-
|
|
124
|
-
const ComponentWrapper = ({
|
|
125
|
-
name,
|
|
126
|
-
link,
|
|
127
|
-
children,
|
|
128
|
-
}: {
|
|
129
|
-
name: string;
|
|
130
|
-
link: string;
|
|
131
|
-
children?: ViewProps['children'];
|
|
132
|
-
}) => {
|
|
133
|
-
const navigate = () => {
|
|
134
|
-
navigateToStory(link, { defaultToDocs: true });
|
|
135
|
-
};
|
|
136
|
-
return (
|
|
137
|
-
<View style={styles.component}>
|
|
138
|
-
<View style={styles.componentWrap}>{children}</View>
|
|
139
|
-
<Pressable style={styles.textWrap} onPress={navigate}>
|
|
140
|
-
<BodyText style={styles.text} weight="semibold">
|
|
141
|
-
{name}
|
|
142
|
-
</BodyText>
|
|
143
|
-
</Pressable>
|
|
144
|
-
</View>
|
|
145
|
-
);
|
|
146
|
-
};
|
|
147
|
-
|
|
148
|
-
const AllComponents: React.FC = () => {
|
|
149
|
-
const [comboboxValue, setComboboxValue] = React.useState<string | null>('uk');
|
|
150
|
-
const [selectValue, setSelectValue] = React.useState('1');
|
|
151
|
-
const [stepperValue, setStepperValue] = React.useState('10');
|
|
152
|
-
const [ratingValue, setRatingValue] = React.useState<0 | 1 | 2 | 3 | 4 | 5>(3);
|
|
153
|
-
const [toggleButtonValue, setToggleButtonValue] = React.useState('');
|
|
154
|
-
const bottomSheetRef = useRef<BottomSheet>(null);
|
|
155
|
-
const handleOpenPress = useCallback(() => {
|
|
156
|
-
bottomSheetRef.current?.expand();
|
|
157
|
-
}, []);
|
|
158
|
-
const modalRef = useRef<BottomSheetModalMethods>(null);
|
|
159
|
-
const handleModalOpenPress = useCallback(() => {
|
|
160
|
-
modalRef.current?.present();
|
|
161
|
-
}, []);
|
|
162
|
-
const [isExpanded, setIsExpanded] = useState(false);
|
|
163
|
-
const [selected, setSelected] = useState<DateType>();
|
|
164
|
-
const datePickerRef = useRef<BottomSheetModal>(null);
|
|
165
|
-
const handleDatePickerOpenPress = useCallback(() => {
|
|
166
|
-
datePickerRef.current?.present();
|
|
167
|
-
}, []);
|
|
168
|
-
const [selectedTime, setSelectedTime] = useState<DateType>();
|
|
169
|
-
const timePickerRef = useRef<BottomSheetModal>(null);
|
|
170
|
-
const handleTimePickerOpenPress = useCallback(() => {
|
|
171
|
-
timePickerRef.current?.present();
|
|
172
|
-
}, []);
|
|
173
|
-
useEffect(() => {
|
|
174
|
-
if (bottomSheetRef.current) {
|
|
175
|
-
setTimeout(() => {
|
|
176
|
-
bottomSheetRef.current?.expand();
|
|
177
|
-
}, 300);
|
|
178
|
-
}
|
|
179
|
-
}, [bottomSheetRef]);
|
|
180
|
-
useEffect(() => {
|
|
181
|
-
if (modalRef.current) {
|
|
182
|
-
setTimeout(() => {
|
|
183
|
-
modalRef.current?.present();
|
|
184
|
-
}, 400);
|
|
185
|
-
}
|
|
186
|
-
}, [modalRef]);
|
|
187
|
-
useEffect(() => {
|
|
188
|
-
if (datePickerRef.current) {
|
|
189
|
-
setTimeout(() => {
|
|
190
|
-
datePickerRef.current?.present();
|
|
191
|
-
}, 500);
|
|
192
|
-
}
|
|
193
|
-
}, [datePickerRef]);
|
|
194
|
-
const [switchEnabled, setSwitchEnabled] = React.useState(false);
|
|
195
|
-
const toggleSwitch = () => setSwitchEnabled(!switchEnabled);
|
|
196
|
-
const menuRef = useRef<any>(null);
|
|
197
|
-
const handleMenuOpenPress = useCallback(() => {
|
|
198
|
-
menuRef.current?.present();
|
|
199
|
-
}, []);
|
|
200
|
-
const [pillValue, setPillValue] = React.useState<string[]>(['energy', 'mobile']);
|
|
201
|
-
|
|
202
|
-
const [colorMode] = useColorMode();
|
|
203
|
-
const isDark = colorMode === 'dark';
|
|
204
|
-
return (
|
|
205
|
-
<div className="sb-unstyled">
|
|
206
|
-
<SafeAreaProvider>
|
|
207
|
-
<ScrollView contentContainerStyle={styles.container}>
|
|
208
|
-
<Flex direction="row" wrap="wrap" spacing="md" style={styles.grid}>
|
|
209
|
-
<ComponentWrapper name="Accordion" link="components-accordion">
|
|
210
|
-
<Center flex={1} p="200">
|
|
211
|
-
<Accordion type="single">
|
|
212
|
-
<AccordionItem title="Accordion Item 1">
|
|
213
|
-
<BodyText>Accordion Item 1 Content</BodyText>
|
|
214
|
-
</AccordionItem>
|
|
215
|
-
<AccordionItem title="Accordion Item 2">
|
|
216
|
-
<BodyText>Accordion Item 2 Content</BodyText>
|
|
217
|
-
</AccordionItem>
|
|
218
|
-
</Accordion>
|
|
219
|
-
</Center>
|
|
220
|
-
</ComponentWrapper>
|
|
221
|
-
<ComponentWrapper name="Alert" link="components-alert">
|
|
222
|
-
<Center flex={1}>
|
|
223
|
-
<Alert text="This is an alert" />
|
|
224
|
-
</Center>
|
|
225
|
-
</ComponentWrapper>
|
|
226
|
-
<ComponentWrapper name="Avatar" link="components-avatar">
|
|
227
|
-
<Center flex={1} gap="200">
|
|
228
|
-
<Avatar name="John Doe" />
|
|
229
|
-
</Center>
|
|
230
|
-
</ComponentWrapper>
|
|
231
|
-
<ComponentWrapper name="Badge" link="components-badge">
|
|
232
|
-
<Center gap="200" flex={1}>
|
|
233
|
-
<View>
|
|
234
|
-
<Badge>This is a badge</Badge>
|
|
235
|
-
</View>
|
|
236
|
-
<View>
|
|
237
|
-
<Badge colorScheme="danger">This is a red badge</Badge>
|
|
238
|
-
</View>
|
|
239
|
-
</Center>
|
|
240
|
-
</ComponentWrapper>
|
|
241
|
-
|
|
242
|
-
<ComponentWrapper name="Banner" link="components-banner">
|
|
243
|
-
<Center flex={1} p="200">
|
|
244
|
-
<Banner
|
|
245
|
-
icon={ElectricityMediumIcon}
|
|
246
|
-
iconContainerColor="energy"
|
|
247
|
-
heading="I'm a Banner"
|
|
248
|
-
description="This is a banner description"
|
|
249
|
-
/>
|
|
250
|
-
</Center>
|
|
251
|
-
</ComponentWrapper>
|
|
252
|
-
<ComponentWrapper name="Body Text" link="typography-body-text">
|
|
253
|
-
<Center flex={1}>
|
|
254
|
-
<BodyText>This is some Body Text</BodyText>
|
|
255
|
-
</Center>
|
|
256
|
-
</ComponentWrapper>
|
|
257
|
-
<ComponentWrapper name="Bottom Sheet" link="components-bottom-sheet">
|
|
258
|
-
<Center flex={1}>
|
|
259
|
-
<Button onPress={handleOpenPress}>Open Bottom Sheet</Button>
|
|
260
|
-
<BottomSheet ref={bottomSheetRef} index={1}>
|
|
261
|
-
<BottomSheetView>
|
|
262
|
-
<Box gap="200">
|
|
263
|
-
<BodyText>This is a bottom sheet with content.</BodyText>
|
|
264
|
-
<Button onPress={() => bottomSheetRef.current?.close()}>
|
|
265
|
-
Close Bottom Sheet
|
|
266
|
-
</Button>
|
|
267
|
-
</Box>
|
|
268
|
-
</BottomSheetView>
|
|
269
|
-
</BottomSheet>
|
|
270
|
-
</Center>
|
|
271
|
-
</ComponentWrapper>
|
|
272
|
-
<ComponentWrapper name="Box" link="primitives-box">
|
|
273
|
-
<Center flex={1}>
|
|
274
|
-
<Box backgroundColor={color.grey[900]} padding="300" width={200} height={100}>
|
|
275
|
-
<BodyText color={isDark ? 'primary' : 'inverted'} weight="semibold">
|
|
276
|
-
This is a Box
|
|
277
|
-
</BodyText>
|
|
278
|
-
</Box>
|
|
279
|
-
</Center>
|
|
280
|
-
</ComponentWrapper>
|
|
281
|
-
<ComponentWrapper name="Button" link="components-button">
|
|
282
|
-
<Center flex={1}>
|
|
283
|
-
<Button colorScheme="highlight" variant="emphasis" onPress={() => null}>
|
|
284
|
-
Press me
|
|
285
|
-
</Button>
|
|
286
|
-
</Center>
|
|
287
|
-
</ComponentWrapper>
|
|
288
|
-
<ComponentWrapper name="Card" link="components-card">
|
|
289
|
-
<Center flex={1}>
|
|
290
|
-
<Card colorScheme="neutralStrong">
|
|
291
|
-
<Heading>I am a card</Heading>
|
|
292
|
-
<BodyText>And do card stuff.</BodyText>
|
|
293
|
-
</Card>
|
|
294
|
-
</Center>
|
|
295
|
-
</ComponentWrapper>
|
|
296
|
-
<ComponentWrapper name="Carousel" link="components-carousel">
|
|
297
|
-
<Center flex={1}>
|
|
298
|
-
<Carousel itemWidth={150} centered width={150}>
|
|
299
|
-
<CarouselItem>
|
|
300
|
-
<Box
|
|
301
|
-
backgroundColor={color.blue[700]}
|
|
302
|
-
width={150}
|
|
303
|
-
height={100}
|
|
304
|
-
px="100"
|
|
305
|
-
borderRadius="md"
|
|
306
|
-
>
|
|
307
|
-
<Center flex={1}>
|
|
308
|
-
<BodyText color="inverted" textAlign="center">
|
|
309
|
-
I'm a carousel item
|
|
310
|
-
</BodyText>
|
|
311
|
-
</Center>
|
|
312
|
-
</Box>
|
|
313
|
-
</CarouselItem>
|
|
314
|
-
<CarouselItem>
|
|
315
|
-
<Box
|
|
316
|
-
backgroundColor={color.purple[700]}
|
|
317
|
-
width={150}
|
|
318
|
-
height={100}
|
|
319
|
-
px="100"
|
|
320
|
-
borderRadius="md"
|
|
321
|
-
>
|
|
322
|
-
<Center flex={1}>
|
|
323
|
-
<BodyText color="inverted" textAlign="center">
|
|
324
|
-
I'm another carousel item
|
|
325
|
-
</BodyText>
|
|
326
|
-
</Center>
|
|
327
|
-
</Box>
|
|
328
|
-
</CarouselItem>
|
|
329
|
-
<CarouselItem>
|
|
330
|
-
<Box
|
|
331
|
-
backgroundColor={color.green[700]}
|
|
332
|
-
width={150}
|
|
333
|
-
height={100}
|
|
334
|
-
px="100"
|
|
335
|
-
borderRadius="md"
|
|
336
|
-
>
|
|
337
|
-
<Center flex={1}>
|
|
338
|
-
<BodyText color="inverted" textAlign="center">
|
|
339
|
-
I'm also a carousel item
|
|
340
|
-
</BodyText>
|
|
341
|
-
</Center>
|
|
342
|
-
</Box>
|
|
343
|
-
</CarouselItem>
|
|
344
|
-
</Carousel>
|
|
345
|
-
</Center>
|
|
346
|
-
</ComponentWrapper>
|
|
347
|
-
<ComponentWrapper name="Center" link="primitives-center">
|
|
348
|
-
<Center flex={1}>
|
|
349
|
-
<Center backgroundColor={color.red[400]} padding="300" width={200} height={100}>
|
|
350
|
-
<BodyText color={isDark ? 'primary' : 'inverted'} weight="semibold">
|
|
351
|
-
I am in the Center
|
|
352
|
-
</BodyText>
|
|
353
|
-
</Center>
|
|
354
|
-
</Center>
|
|
355
|
-
</ComponentWrapper>
|
|
356
|
-
|
|
357
|
-
<ComponentWrapper name="Checkbox" link="forms-checkbox">
|
|
358
|
-
<Center flex={1}>
|
|
359
|
-
<View>
|
|
360
|
-
<Checkbox label="I'm a Checkbox" value="" />
|
|
361
|
-
</View>
|
|
362
|
-
</Center>
|
|
363
|
-
</ComponentWrapper>
|
|
364
|
-
<ComponentWrapper name="Combobox" link="forms-combobox">
|
|
365
|
-
<Center flex={1}>
|
|
366
|
-
<BottomSheetModalProvider>
|
|
367
|
-
<Combobox
|
|
368
|
-
label="Search a country"
|
|
369
|
-
placeholder="Search for a country"
|
|
370
|
-
searchPlaceholder="Search for a country"
|
|
371
|
-
options={[
|
|
372
|
-
{ label: 'United Kingdom', value: 'uk' },
|
|
373
|
-
{ label: 'United States', value: 'us' },
|
|
374
|
-
{ label: 'Canada', value: 'ca' },
|
|
375
|
-
]}
|
|
376
|
-
value={comboboxValue}
|
|
377
|
-
onValueChange={setComboboxValue}
|
|
378
|
-
/>
|
|
379
|
-
</BottomSheetModalProvider>
|
|
380
|
-
</Center>
|
|
381
|
-
</ComponentWrapper>
|
|
382
|
-
<ComponentWrapper name="Container" link="primitives-container">
|
|
383
|
-
<Container spacing="md" backgroundColor="secondary">
|
|
384
|
-
<Box h={20} bg={color.blue[200]} />
|
|
385
|
-
<Box h={20} bg={color.blue[400]} />
|
|
386
|
-
<Box h={20} bg={color.blue[600]} />
|
|
387
|
-
</Container>
|
|
388
|
-
</ComponentWrapper>
|
|
389
|
-
<ComponentWrapper name="Currency Input" link="forms-currency-input">
|
|
390
|
-
<Center flex={1} padding="200">
|
|
391
|
-
<CurrencyInput />
|
|
392
|
-
</Center>
|
|
393
|
-
</ComponentWrapper>
|
|
394
|
-
<ComponentWrapper name="Date Input" link="forms-date-input">
|
|
395
|
-
<Center flex={1} padding="200">
|
|
396
|
-
<DateInput />
|
|
397
|
-
</Center>
|
|
398
|
-
</ComponentWrapper>
|
|
399
|
-
<ComponentWrapper name="Date Picker" link="components-date-picker">
|
|
400
|
-
<Center flex={1}>
|
|
401
|
-
<Button onPress={handleDatePickerOpenPress}>Open Date Picker</Button>
|
|
402
|
-
<BottomSheetModalProvider>
|
|
403
|
-
<DatePicker
|
|
404
|
-
ref={datePickerRef}
|
|
405
|
-
mode="single"
|
|
406
|
-
date={selected}
|
|
407
|
-
onChange={({ date }) => setSelected(date)}
|
|
408
|
-
onCancel={() => setSelected(undefined)}
|
|
409
|
-
/>
|
|
410
|
-
</BottomSheetModalProvider>
|
|
411
|
-
</Center>
|
|
412
|
-
</ComponentWrapper>
|
|
413
|
-
<ComponentWrapper name="Date Picker Input" link="forms-date-picker-input">
|
|
414
|
-
<Center flex={1} padding="200">
|
|
415
|
-
<BottomSheetModalProvider>
|
|
416
|
-
<DatePickerInput placeholder="DD/MM/YYYY" />
|
|
417
|
-
</BottomSheetModalProvider>
|
|
418
|
-
</Center>
|
|
419
|
-
</ComponentWrapper>
|
|
420
|
-
<ComponentWrapper name="Description List" link="components-description-list">
|
|
421
|
-
<Center flex={1} padding="200">
|
|
422
|
-
<DescriptionList>
|
|
423
|
-
<DescriptionListItem heading="This is a" description="Description list" />
|
|
424
|
-
<DescriptionListItem heading="So is this" description="12-34-56" />
|
|
425
|
-
</DescriptionList>
|
|
426
|
-
</Center>
|
|
427
|
-
</ComponentWrapper>
|
|
428
|
-
<ComponentWrapper name="Detail Text" link="typography-detail-text">
|
|
429
|
-
<Center flex={1}>
|
|
430
|
-
<DetailText>This is some Detail Text</DetailText>
|
|
431
|
-
</Center>
|
|
432
|
-
</ComponentWrapper>
|
|
433
|
-
|
|
434
|
-
<ComponentWrapper name="Divider" link="components-divider">
|
|
435
|
-
<Center flex={1} p="300">
|
|
436
|
-
<BodyText>This text is divided</BodyText>
|
|
437
|
-
<Divider spacing="sm" />
|
|
438
|
-
<BodyText>From this text</BodyText>
|
|
439
|
-
</Center>
|
|
440
|
-
</ComponentWrapper>
|
|
441
|
-
|
|
442
|
-
<ComponentWrapper name="Expandable" link="utility-components-expandable">
|
|
443
|
-
<Center flex={1} p="200">
|
|
444
|
-
<Box width={240} gap="100">
|
|
445
|
-
<Button onPress={() => setIsExpanded(!isExpanded)}>
|
|
446
|
-
{isExpanded ? 'Collapse' : 'Expand'}
|
|
447
|
-
</Button>
|
|
448
|
-
<Expandable expanded={isExpanded} accessibilityLabel="Expandable content section">
|
|
449
|
-
<Card>
|
|
450
|
-
<BodyText>This content expands and collapses</BodyText>
|
|
451
|
-
</Card>
|
|
452
|
-
</Expandable>
|
|
453
|
-
</Box>
|
|
454
|
-
</Center>
|
|
455
|
-
</ComponentWrapper>
|
|
456
|
-
|
|
457
|
-
<ComponentWrapper name="Expandable Card" link="components-expandable-card">
|
|
458
|
-
<Center flex={1} p="200">
|
|
459
|
-
<ExpandableCard
|
|
460
|
-
heading="This is an"
|
|
461
|
-
helperText="Expandable Card component"
|
|
462
|
-
leadingIcon={ElectricityMediumIcon}
|
|
463
|
-
expandedContent={
|
|
464
|
-
<>
|
|
465
|
-
<BodyText>I'm expanding</BodyText>
|
|
466
|
-
<BodyText>to show more content</BodyText>
|
|
467
|
-
</>
|
|
468
|
-
}
|
|
469
|
-
style={{ width: 240 }}
|
|
470
|
-
/>
|
|
471
|
-
</Center>
|
|
472
|
-
</ComponentWrapper>
|
|
473
|
-
|
|
474
|
-
<ComponentWrapper name="Flex" link="primitives-flex">
|
|
475
|
-
<Center flex={1}>
|
|
476
|
-
<Flex direction="row" spacing="md">
|
|
477
|
-
<Box w={40} h={40} bg={color.blue[200]} />
|
|
478
|
-
<Box w={40} h={40} bg={color.blue[400]} />
|
|
479
|
-
<Box w={40} h={40} bg={color.blue[600]} />
|
|
480
|
-
<Box w={40} h={40} bg={color.blue[700]} />
|
|
481
|
-
</Flex>
|
|
482
|
-
</Center>
|
|
483
|
-
</ComponentWrapper>
|
|
484
|
-
<ComponentWrapper name="Form Field" link="forms-form-field">
|
|
485
|
-
<Center flex={1}>
|
|
486
|
-
<FormField
|
|
487
|
-
validationStatus="invalid"
|
|
488
|
-
label="This is a form field"
|
|
489
|
-
validText="Valid form field text"
|
|
490
|
-
invalidText="And an invalid error message"
|
|
491
|
-
>
|
|
492
|
-
<Input onChange={() => console.log('###')} placeholder="" />
|
|
493
|
-
</FormField>
|
|
494
|
-
</Center>
|
|
495
|
-
</ComponentWrapper>
|
|
496
|
-
<ComponentWrapper name="Grid" link="primitives-grid">
|
|
497
|
-
<Center flex={1}>
|
|
498
|
-
<Box width={100}>
|
|
499
|
-
<Grid columns={2} spacing="md">
|
|
500
|
-
<Box w={40} h={40} bg={color.blue[200]} />
|
|
501
|
-
<Box w={40} h={40} bg={color.blue[400]} />
|
|
502
|
-
<Box w={40} h={40} bg={color.blue[600]} />
|
|
503
|
-
<Box w={40} h={40} bg={color.blue[700]} />
|
|
504
|
-
</Grid>
|
|
505
|
-
</Box>
|
|
506
|
-
</Center>
|
|
507
|
-
</ComponentWrapper>
|
|
508
|
-
<ComponentWrapper name="Heading" link="typography-heading">
|
|
509
|
-
<Center flex={1}>
|
|
510
|
-
<Heading>This is a Heading</Heading>
|
|
511
|
-
</Center>
|
|
512
|
-
</ComponentWrapper>
|
|
513
|
-
<ComponentWrapper name="Highlight Banner" link="components-highlight-banner">
|
|
514
|
-
<Center flex={1} p="200">
|
|
515
|
-
<HighlightBanner
|
|
516
|
-
heading="Featured Content"
|
|
517
|
-
headingColor="energy"
|
|
518
|
-
imageContainerHeight={40}
|
|
519
|
-
image={
|
|
520
|
-
<HighlightBannerImage
|
|
521
|
-
source={{
|
|
522
|
-
uri: 'https://images.unsplash.com/photo-1506126613408-eca07ce68773?w=800&q=80',
|
|
523
|
-
}}
|
|
524
|
-
/>
|
|
525
|
-
}
|
|
526
|
-
description="Banner description goes here."
|
|
527
|
-
/>
|
|
528
|
-
</Center>
|
|
529
|
-
</ComponentWrapper>
|
|
530
|
-
<ComponentWrapper name="Indicator Icon Button" link="components-indicator-icon-button">
|
|
531
|
-
<Center flex={1}>
|
|
532
|
-
<IndicatorIconButton icon={BellMediumIcon} onPress={() => null} indicator={true} />
|
|
533
|
-
</Center>
|
|
534
|
-
</ComponentWrapper>
|
|
535
|
-
<ComponentWrapper name="Icon Button" link="components-icon-button">
|
|
536
|
-
<Center flex={1}>
|
|
537
|
-
<IconButton icon={ChevronRightMediumIcon} size="md" onPress={() => null} />
|
|
538
|
-
</Center>
|
|
539
|
-
</ComponentWrapper>
|
|
540
|
-
<ComponentWrapper name="Icon Container" link="components-icon-container">
|
|
541
|
-
<Center flex={1}>
|
|
542
|
-
<Flex direction="row" spacing="sm">
|
|
543
|
-
<IconContainer
|
|
544
|
-
icon={ElectricityMediumIcon}
|
|
545
|
-
size="sm"
|
|
546
|
-
variant="emphasis"
|
|
547
|
-
color="energy"
|
|
548
|
-
/>
|
|
549
|
-
<IconContainer
|
|
550
|
-
icon={BroadbandMediumIcon}
|
|
551
|
-
size="sm"
|
|
552
|
-
variant="emphasis"
|
|
553
|
-
color="broadband"
|
|
554
|
-
/>
|
|
555
|
-
<IconContainer
|
|
556
|
-
icon={MobileMediumIcon}
|
|
557
|
-
size="sm"
|
|
558
|
-
variant="emphasis"
|
|
559
|
-
color="mobile"
|
|
560
|
-
/>
|
|
561
|
-
<IconContainer
|
|
562
|
-
icon={InsuranceMediumIcon}
|
|
563
|
-
size="sm"
|
|
564
|
-
variant="emphasis"
|
|
565
|
-
color="insurance"
|
|
566
|
-
/>
|
|
567
|
-
<IconContainer
|
|
568
|
-
icon={CashbackCardMediumIcon}
|
|
569
|
-
size="sm"
|
|
570
|
-
variant="emphasis"
|
|
571
|
-
color="cashback"
|
|
572
|
-
/>
|
|
573
|
-
</Flex>
|
|
574
|
-
</Center>
|
|
575
|
-
</ComponentWrapper>
|
|
576
|
-
|
|
577
|
-
<ComponentWrapper name="Icons" link="components-icons">
|
|
578
|
-
<Center flex={1}>
|
|
579
|
-
<Flex direction="row" spacing="lg">
|
|
580
|
-
<Icon as={ElectricityMediumIcon} color="energyBlue700" />
|
|
581
|
-
<Icon as={MobileMediumIcon} color="mobileRose700" />
|
|
582
|
-
<Icon as={BroadbandMediumIcon} color="broadbandGreen700" />
|
|
583
|
-
<Icon as={InsuranceMediumIcon} color="insuranceOrange700" />
|
|
584
|
-
</Flex>
|
|
585
|
-
</Center>
|
|
586
|
-
</ComponentWrapper>
|
|
587
|
-
<ComponentWrapper name="Inline Link" link="utility-components-inline-link">
|
|
588
|
-
<Center flex={1}>
|
|
589
|
-
<InlineLink href="https://www.utilitywarehouse.co.uk" target="_blank">
|
|
590
|
-
This is an inline link
|
|
591
|
-
</InlineLink>
|
|
592
|
-
</Center>
|
|
593
|
-
</ComponentWrapper>
|
|
594
|
-
<ComponentWrapper name="Input" link="forms-input">
|
|
595
|
-
<Center flex={1}>
|
|
596
|
-
<Input placeholder="This is an input" />
|
|
597
|
-
</Center>
|
|
598
|
-
</ComponentWrapper>
|
|
599
|
-
<ComponentWrapper name="Link" link="components-link">
|
|
600
|
-
<Center flex={1}>
|
|
601
|
-
<Link href="https://www.utilitywarehouse.co.uk" target="_blank">
|
|
602
|
-
This is a link
|
|
603
|
-
</Link>
|
|
604
|
-
</Center>
|
|
605
|
-
</ComponentWrapper>
|
|
606
|
-
<ComponentWrapper name="List" link="components-list">
|
|
607
|
-
<Center flex={1} p="300">
|
|
608
|
-
<List>
|
|
609
|
-
<ListItem heading="List Item 1" onPress={() => console.log('item pressed')} />
|
|
610
|
-
<ListItem heading="List Item 2" onPress={() => console.log('item pressed')} />
|
|
611
|
-
</List>
|
|
612
|
-
</Center>
|
|
613
|
-
</ComponentWrapper>
|
|
614
|
-
<ComponentWrapper name="Menu" link="components-menu">
|
|
615
|
-
<Center flex={1}>
|
|
616
|
-
<BottomSheetModalProvider>
|
|
617
|
-
<MenuTrigger onPress={handleMenuOpenPress}>
|
|
618
|
-
<Button>Open Menu</Button>
|
|
619
|
-
</MenuTrigger>
|
|
620
|
-
<Menu ref={menuRef} heading="Actions">
|
|
621
|
-
<MenuItem
|
|
622
|
-
icon={EditSmallIcon}
|
|
623
|
-
text="Edit"
|
|
624
|
-
onPress={() => console.log('Edit')}
|
|
625
|
-
/>
|
|
626
|
-
<MenuItem
|
|
627
|
-
icon={ShareSmallIcon}
|
|
628
|
-
text="Share"
|
|
629
|
-
onPress={() => console.log('Share')}
|
|
630
|
-
/>
|
|
631
|
-
<MenuItem
|
|
632
|
-
icon={TrashSmallIcon}
|
|
633
|
-
text="Delete"
|
|
634
|
-
colorScheme="destructive"
|
|
635
|
-
onPress={() => console.log('Delete')}
|
|
636
|
-
/>
|
|
637
|
-
</Menu>
|
|
638
|
-
</BottomSheetModalProvider>
|
|
639
|
-
</Center>
|
|
640
|
-
</ComponentWrapper>
|
|
641
|
-
<ComponentWrapper name="Modal" link="components-modal">
|
|
642
|
-
<Center flex={1}>
|
|
643
|
-
<Button onPress={handleModalOpenPress}>Open Modal</Button>
|
|
644
|
-
<BottomSheetModalProvider>
|
|
645
|
-
<Modal
|
|
646
|
-
ref={modalRef}
|
|
647
|
-
heading="This is a Modal"
|
|
648
|
-
description="This is a modal description"
|
|
649
|
-
primaryButtonText="Primary"
|
|
650
|
-
secondaryButtonText="Close"
|
|
651
|
-
index={0}
|
|
652
|
-
/>
|
|
653
|
-
</BottomSheetModalProvider>
|
|
654
|
-
</Center>
|
|
655
|
-
</ComponentWrapper>
|
|
656
|
-
<ComponentWrapper name="NavModal" link="components-navmodal">
|
|
657
|
-
<Box style={{ width: '100%', height: 320 }}>
|
|
658
|
-
<NavModal
|
|
659
|
-
heading="This is a NavModal"
|
|
660
|
-
description="Use this inside navigation modal screens"
|
|
661
|
-
primaryButtonText="Primary"
|
|
662
|
-
secondaryButtonText="Close"
|
|
663
|
-
>
|
|
664
|
-
<BodyText>This preview is static because NavModal is screen-based.</BodyText>
|
|
665
|
-
</NavModal>
|
|
666
|
-
</Box>
|
|
667
|
-
</ComponentWrapper>
|
|
668
|
-
<ComponentWrapper name="Ordered List" link="utility-components-ul-ol-lists">
|
|
669
|
-
<Center flex={1}>
|
|
670
|
-
<OL>
|
|
671
|
-
<LI>
|
|
672
|
-
<BodyText>List Item 1</BodyText>
|
|
673
|
-
</LI>
|
|
674
|
-
<LI>
|
|
675
|
-
<BodyText>List Item 2</BodyText>
|
|
676
|
-
</LI>
|
|
677
|
-
</OL>
|
|
678
|
-
</Center>
|
|
679
|
-
</ComponentWrapper>
|
|
680
|
-
<ComponentWrapper name="Pagination" link="components-pagination">
|
|
681
|
-
<Center flex={1} p="200">
|
|
682
|
-
<Box style={{ width: 280 }}>
|
|
683
|
-
<Pagination
|
|
684
|
-
currentPage={3}
|
|
685
|
-
totalPages={10}
|
|
686
|
-
onPageChange={() => {}}
|
|
687
|
-
condensed
|
|
688
|
-
hideSkipButtons
|
|
689
|
-
/>
|
|
690
|
-
</Box>
|
|
691
|
-
</Center>
|
|
692
|
-
</ComponentWrapper>
|
|
693
|
-
<ComponentWrapper name="Pill Group" link="components-pill-group">
|
|
694
|
-
<Center flex={1} p="200">
|
|
695
|
-
<PillGroup
|
|
696
|
-
value={pillValue}
|
|
697
|
-
onChange={v => setPillValue(v as string[])}
|
|
698
|
-
wrap={false}
|
|
699
|
-
multiple
|
|
700
|
-
>
|
|
701
|
-
<Pill value="all" label="All" />
|
|
702
|
-
<Pill value="energy" label="Energy" icon={ElectricityMediumIcon} />
|
|
703
|
-
<Pill value="broadband" label="Broadband" icon={BroadbandMediumIcon} />
|
|
704
|
-
<Pill value="mobile" label="Mobile" icon={MobileMediumIcon} />
|
|
705
|
-
</PillGroup>
|
|
706
|
-
</Center>
|
|
707
|
-
</ComponentWrapper>
|
|
708
|
-
<ComponentWrapper name="Progress Bar" link="components-progress-bar">
|
|
709
|
-
<Center flex={1} px="300">
|
|
710
|
-
<ProgressBar value={58} label="Order progress" />
|
|
711
|
-
</Center>
|
|
712
|
-
</ComponentWrapper>
|
|
713
|
-
<ComponentWrapper name="Progress Stepper" link="components-progress-stepper">
|
|
714
|
-
<Center flex={1} px="300">
|
|
715
|
-
<ProgressStepper>
|
|
716
|
-
<ProgressStep id="customer-data" status="complete" />
|
|
717
|
-
<ProgressStep id="shipping-data" status="complete" />
|
|
718
|
-
<ProgressStep id="payment-data" status="active" />
|
|
719
|
-
<ProgressStep id="summary" status="incomplete" />
|
|
720
|
-
</ProgressStepper>
|
|
721
|
-
</Center>
|
|
722
|
-
</ComponentWrapper>
|
|
723
|
-
<ComponentWrapper name="Radio" link="forms-radio">
|
|
724
|
-
<Center flex={1}>
|
|
725
|
-
<RadioGroup>
|
|
726
|
-
<Radio label="I'm a Radio" value="1" />
|
|
727
|
-
<Radio label="Me too" value="2" />
|
|
728
|
-
</RadioGroup>
|
|
729
|
-
</Center>
|
|
730
|
-
</ComponentWrapper>
|
|
731
|
-
<ComponentWrapper name="Radio Card" link="components-radio-card">
|
|
732
|
-
<Center flex={1}>
|
|
733
|
-
<RadioCardGroup aria-label="Select Tariff" nativeID="RadioCard-group">
|
|
734
|
-
<RadioCard
|
|
735
|
-
value="fixed"
|
|
736
|
-
aria-label="Debit Card Payment"
|
|
737
|
-
label="I'm a Radio Card"
|
|
738
|
-
></RadioCard>
|
|
739
|
-
</RadioCardGroup>
|
|
740
|
-
</Center>
|
|
741
|
-
</ComponentWrapper>
|
|
742
|
-
<ComponentWrapper name="Rating" link="components-rating">
|
|
743
|
-
<Center flex={1} padding="200">
|
|
744
|
-
<Rating value={ratingValue} onChange={setRatingValue} />
|
|
745
|
-
</Center>
|
|
746
|
-
</ComponentWrapper>
|
|
747
|
-
<ComponentWrapper name="Roundel" link="components-roundel">
|
|
748
|
-
<Center flex={1}>
|
|
749
|
-
<Flex direction="row" spacing="md" alignItems="center">
|
|
750
|
-
<Roundel variant="success" />
|
|
751
|
-
<Roundel variant="pending" />
|
|
752
|
-
<Roundel variant="error" />
|
|
753
|
-
</Flex>
|
|
754
|
-
</Center>
|
|
755
|
-
</ComponentWrapper>
|
|
756
|
-
<ComponentWrapper name="Section Header" link="components-section-header">
|
|
757
|
-
<Center flex={1} p="300">
|
|
758
|
-
<SectionHeader
|
|
759
|
-
heading="Heading"
|
|
760
|
-
helperText="Supporting text"
|
|
761
|
-
trailingContent={<Link href="#">More</Link>}
|
|
762
|
-
/>
|
|
763
|
-
</Center>
|
|
764
|
-
</ComponentWrapper>
|
|
765
|
-
<ComponentWrapper name="Segmented Control" link="components-segmented-control">
|
|
766
|
-
<Center flex={1}>
|
|
767
|
-
<SegmentedControl defaultValue="day" alignSelf="center">
|
|
768
|
-
<SegmentedControlOption value="day">Day</SegmentedControlOption>
|
|
769
|
-
<SegmentedControlOption value="week">Week</SegmentedControlOption>
|
|
770
|
-
<SegmentedControlOption value="month">Month</SegmentedControlOption>
|
|
771
|
-
</SegmentedControl>
|
|
772
|
-
</Center>
|
|
773
|
-
</ComponentWrapper>
|
|
774
|
-
<ComponentWrapper name="Select" link="forms-select">
|
|
775
|
-
<Center flex={1}>
|
|
776
|
-
<BottomSheetModalProvider>
|
|
777
|
-
<Select
|
|
778
|
-
label="Choose an option"
|
|
779
|
-
placeholder="Select an option"
|
|
780
|
-
options={[
|
|
781
|
-
{ label: 'Option 1', value: '1' },
|
|
782
|
-
{ label: 'Option 2', value: '2' },
|
|
783
|
-
{ label: 'Option 3', value: '3' },
|
|
784
|
-
]}
|
|
785
|
-
value={selectValue}
|
|
786
|
-
onValueChange={setSelectValue}
|
|
787
|
-
/>
|
|
788
|
-
</BottomSheetModalProvider>
|
|
789
|
-
</Center>
|
|
790
|
-
</ComponentWrapper>
|
|
791
|
-
<ComponentWrapper name="Skeleton" link="components-skeleton">
|
|
792
|
-
<Center flex={1}>
|
|
793
|
-
<Flex direction="row" spacing="sm">
|
|
794
|
-
<Skeleton width={30} height={30} />
|
|
795
|
-
<Flex spacing="sm">
|
|
796
|
-
<Skeleton width={120} height={15} />
|
|
797
|
-
<Skeleton width={100} height={15} />
|
|
798
|
-
</Flex>
|
|
799
|
-
</Flex>
|
|
800
|
-
</Center>
|
|
801
|
-
</ComponentWrapper>
|
|
802
|
-
<ComponentWrapper name="Spinner" link="components-spinner">
|
|
803
|
-
<Center flex={1}>
|
|
804
|
-
<Spinner size="lg" />
|
|
805
|
-
</Center>
|
|
806
|
-
</ComponentWrapper>
|
|
807
|
-
<ComponentWrapper name="Switch" link="components-switch">
|
|
808
|
-
<Center flex={1}>
|
|
809
|
-
<Switch value={switchEnabled} onValueChange={toggleSwitch} />
|
|
810
|
-
</Center>
|
|
811
|
-
</ComponentWrapper>
|
|
812
|
-
<ComponentWrapper name="Stepper Input" link="forms-stepper-input">
|
|
813
|
-
<Center flex={1} padding="200">
|
|
814
|
-
<StepperInput
|
|
815
|
-
label="Label"
|
|
816
|
-
helperText="Helper text"
|
|
817
|
-
value={stepperValue}
|
|
818
|
-
onChangeText={setStepperValue}
|
|
819
|
-
/>
|
|
820
|
-
</Center>
|
|
821
|
-
</ComponentWrapper>
|
|
822
|
-
<ComponentWrapper name="Table" link="components-table">
|
|
823
|
-
<Center flex={1} px="300">
|
|
824
|
-
<Box style={{ width: 360 }}>
|
|
825
|
-
<Table container="subtle">
|
|
826
|
-
<TableHeader color="purple">
|
|
827
|
-
<TableHeaderCell
|
|
828
|
-
trailingContent={<Icon as={ExpandSmallIcon} color="#fcfbf2" />}
|
|
829
|
-
>
|
|
830
|
-
Name
|
|
831
|
-
</TableHeaderCell>
|
|
832
|
-
<TableHeaderCell
|
|
833
|
-
trailingContent={<Icon as={ExpandSmallIcon} color="#fcfbf2" />}
|
|
834
|
-
>
|
|
835
|
-
Plan
|
|
836
|
-
</TableHeaderCell>
|
|
837
|
-
</TableHeader>
|
|
838
|
-
<TableBody>
|
|
839
|
-
<TableRow>
|
|
840
|
-
<TableHeaderCell row>Alex Morgan</TableHeaderCell>
|
|
841
|
-
<TableCell>Full Fibre 900</TableCell>
|
|
842
|
-
</TableRow>
|
|
843
|
-
<TableRow>
|
|
844
|
-
<TableHeaderCell row>Priya Shah</TableHeaderCell>
|
|
845
|
-
<TableCell>Energy Saver</TableCell>
|
|
846
|
-
</TableRow>
|
|
847
|
-
</TableBody>
|
|
848
|
-
</Table>
|
|
849
|
-
</Box>
|
|
850
|
-
</Center>
|
|
851
|
-
</ComponentWrapper>
|
|
852
|
-
<ComponentWrapper name="Tabs" link="components-tabs">
|
|
853
|
-
<Center flex={1}>
|
|
854
|
-
<Tabs defaultValue="tab-1">
|
|
855
|
-
<TabsList>
|
|
856
|
-
<Tab value="tab-1">Tab 1</Tab>
|
|
857
|
-
<Tab value="tab-2">Tab 2</Tab>
|
|
858
|
-
<Tab value="tab-3">Tab 3</Tab>
|
|
859
|
-
</TabsList>
|
|
860
|
-
<TabPanel value="tab-1">
|
|
861
|
-
<BodyText>I'm the first tab's content</BodyText>
|
|
862
|
-
</TabPanel>
|
|
863
|
-
<TabPanel value="tab-2">
|
|
864
|
-
<BodyText>I'm the second tab's content</BodyText>
|
|
865
|
-
</TabPanel>
|
|
866
|
-
<TabPanel value="tab-3">
|
|
867
|
-
<BodyText>I'm the third tab's content</BodyText>
|
|
868
|
-
</TabPanel>
|
|
869
|
-
</Tabs>
|
|
870
|
-
</Center>
|
|
871
|
-
</ComponentWrapper>
|
|
872
|
-
<ComponentWrapper name="Textarea" link="forms-textarea">
|
|
873
|
-
<Center flex={1}>
|
|
874
|
-
<Textarea numberOfLines={3} placeholder="This is a textarea" />
|
|
875
|
-
</Center>
|
|
876
|
-
</ComponentWrapper>
|
|
877
|
-
<ComponentWrapper name="Themed Image" link="utility-components-themed-image">
|
|
878
|
-
<Center flex={1} p="300">
|
|
879
|
-
<ThemedImage
|
|
880
|
-
light={<SpotBillingLight width={160} height={160} />}
|
|
881
|
-
dark={<SpotBillingDark width={160} height={160} />}
|
|
882
|
-
/>
|
|
883
|
-
</Center>
|
|
884
|
-
</ComponentWrapper>
|
|
885
|
-
<ComponentWrapper name="Timeline" link="components-timeline">
|
|
886
|
-
<Center flex={1} px="300">
|
|
887
|
-
<Timeline variant="progress">
|
|
888
|
-
<TimelineItem label="Order placed" helperText="Received" state="complete" />
|
|
889
|
-
<TimelineItem label="Checking details" helperText="In progress" state="active" />
|
|
890
|
-
<TimelineItem label="Service live" helperText="Pending" state="incomplete" />
|
|
891
|
-
</Timeline>
|
|
892
|
-
</Center>
|
|
893
|
-
</ComponentWrapper>
|
|
894
|
-
<ComponentWrapper name="Time Picker" link="components-time-picker">
|
|
895
|
-
<Center flex={1}>
|
|
896
|
-
<Button onPress={handleTimePickerOpenPress}>Open Time Picker</Button>
|
|
897
|
-
<BottomSheetModalProvider>
|
|
898
|
-
<TimePicker
|
|
899
|
-
ref={timePickerRef}
|
|
900
|
-
date={selectedTime}
|
|
901
|
-
onChange={({ date }) => setSelectedTime(date)}
|
|
902
|
-
onCancel={() => setSelectedTime(undefined)}
|
|
903
|
-
/>
|
|
904
|
-
</BottomSheetModalProvider>
|
|
905
|
-
</Center>
|
|
906
|
-
</ComponentWrapper>
|
|
907
|
-
<ComponentWrapper name="Time Picker Input" link="forms-time-picker-input">
|
|
908
|
-
<Center flex={1} padding="200">
|
|
909
|
-
<BottomSheetModalProvider>
|
|
910
|
-
<TimePickerInput placeholder="HH:mm" />
|
|
911
|
-
</BottomSheetModalProvider>
|
|
912
|
-
</Center>
|
|
913
|
-
</ComponentWrapper>
|
|
914
|
-
<ComponentWrapper name="Toast" link="components-toast">
|
|
915
|
-
<Center flex={1} p="200">
|
|
916
|
-
<ToastItem
|
|
917
|
-
onClose={() => {}}
|
|
918
|
-
toast={{ id: 'tst', text: "I'm a toast", duration: 0 }}
|
|
919
|
-
/>
|
|
920
|
-
</Center>
|
|
921
|
-
</ComponentWrapper>
|
|
922
|
-
<ComponentWrapper name="Toggle Button Card" link="components-toggle-button-card">
|
|
923
|
-
<Center flex={1}>
|
|
924
|
-
<ToggleButtonCardGroup
|
|
925
|
-
aria-label="Select Tariff"
|
|
926
|
-
value={toggleButtonValue}
|
|
927
|
-
onChange={setToggleButtonValue}
|
|
928
|
-
nativeID="ToggleButtonCard-group"
|
|
929
|
-
>
|
|
930
|
-
<ToggleButtonCard value="1" label="Toggle me" gap="200">
|
|
931
|
-
<BodyText size="md">I'm a toggle button card</BodyText>
|
|
932
|
-
</ToggleButtonCard>
|
|
933
|
-
</ToggleButtonCardGroup>
|
|
934
|
-
</Center>
|
|
935
|
-
</ComponentWrapper>
|
|
936
|
-
|
|
937
|
-
<ComponentWrapper name="Unordered List" link="utility-components-ul-ol-lists">
|
|
938
|
-
<Center flex={1}>
|
|
939
|
-
<UL>
|
|
940
|
-
<LI>
|
|
941
|
-
<BodyText>List Item 1</BodyText>
|
|
942
|
-
</LI>
|
|
943
|
-
<LI>
|
|
944
|
-
<BodyText>List Item 2</BodyText>
|
|
945
|
-
</LI>
|
|
946
|
-
</UL>
|
|
947
|
-
</Center>
|
|
948
|
-
</ComponentWrapper>
|
|
949
|
-
<ComponentWrapper name="Verification Input" link="forms-verificationinput">
|
|
950
|
-
<Center flex={1} padding="200">
|
|
951
|
-
<VerificationInput onChangeText={() => {}} />
|
|
952
|
-
</Center>
|
|
953
|
-
</ComponentWrapper>
|
|
954
|
-
</Flex>
|
|
955
|
-
</ScrollView>
|
|
956
|
-
</SafeAreaProvider>
|
|
957
|
-
</div>
|
|
958
|
-
);
|
|
959
|
-
};
|
|
960
|
-
|
|
961
|
-
const styles = StyleSheet.create(theme => ({
|
|
962
|
-
container: {},
|
|
963
|
-
grid: {
|
|
964
|
-
_web: {
|
|
965
|
-
display: 'grid',
|
|
966
|
-
gridTemplateColumns: {
|
|
967
|
-
xs: '1fr',
|
|
968
|
-
md: 'repeat(3, 1fr)',
|
|
969
|
-
lg: 'repeat(auto-fit, minmax(300px, 1fr))',
|
|
970
|
-
},
|
|
971
|
-
gap: theme.space['200'],
|
|
972
|
-
},
|
|
973
|
-
},
|
|
974
|
-
component: {
|
|
975
|
-
borderColor: theme.color.warmWhite[300],
|
|
976
|
-
borderWidth: theme.borderWidth['1'],
|
|
977
|
-
borderRadius: theme.borderRadius['lg'],
|
|
978
|
-
overflow: 'hidden',
|
|
979
|
-
flexGrow: 1,
|
|
980
|
-
height: 200,
|
|
981
|
-
flexBasis: {
|
|
982
|
-
xs: '100%',
|
|
983
|
-
md: 300,
|
|
984
|
-
},
|
|
985
|
-
},
|
|
986
|
-
componentWrap: {
|
|
987
|
-
flexGrow: 1,
|
|
988
|
-
flex: 1,
|
|
989
|
-
},
|
|
990
|
-
text: {},
|
|
991
|
-
textWrap: {
|
|
992
|
-
borderTopColor: theme.color.warmWhite[300],
|
|
993
|
-
borderTopWidth: theme.borderWidth['1'],
|
|
994
|
-
paddingHorizontal: theme.space['200'],
|
|
995
|
-
paddingVertical: theme.space['100'],
|
|
996
|
-
backgroundColor: theme.color.warmWhite[100],
|
|
997
|
-
_web: {
|
|
998
|
-
_hover: {
|
|
999
|
-
backgroundColor: theme.color.warmWhite[200],
|
|
1000
|
-
},
|
|
1001
|
-
},
|
|
1002
|
-
},
|
|
1003
|
-
}));
|
|
1004
|
-
|
|
1005
|
-
export default AllComponents;
|