@telus-uds/theme-public-mobile 2.11.0 → 2.13.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/build/android/ActivityIndicator.json +30 -0
- package/build/android/Badge.json +245 -0
- package/build/android/BlockQuote.json +72 -0
- package/build/android/Box.json +372 -0
- package/build/android/Breadcrumbs.json +62 -0
- package/build/android/Button.json +599 -0
- package/build/android/ButtonDropdown.json +213 -0
- package/build/android/ButtonGroup.json +43 -0
- package/build/android/ButtonGroupItem.json +201 -0
- package/build/android/Callout.json +51 -0
- package/build/android/Card.json +289 -0
- package/build/android/Carousel.json +41 -0
- package/build/android/CarouselTabsPanelItem.json +190 -0
- package/build/android/CarouselThumbnail.json +61 -0
- package/build/android/Checkbox.json +125 -0
- package/build/android/CheckboxCard.json +248 -0
- package/build/android/CheckboxCardGroup.json +47 -0
- package/build/android/CheckboxGroup.json +15 -0
- package/build/android/ChevronLink.json +143 -0
- package/build/android/ColourToggle.json +85 -0
- package/build/android/Countdown.json +128 -0
- package/build/android/DatePicker.json +190 -0
- package/build/android/Disclaimer.json +16 -0
- package/build/android/Divider.json +62 -0
- package/build/android/ExpandCollapse.json +14 -0
- package/build/android/ExpandCollapseControl.json +111 -0
- package/build/android/ExpandCollapseMini.json +7 -0
- package/build/android/ExpandCollapseMiniControl.json +136 -0
- package/build/android/ExpandCollapsePanel.json +99 -0
- package/build/android/Feedback.json +112 -0
- package/build/android/Fieldset.json +41 -0
- package/build/android/Footnote.json +123 -0
- package/build/android/FootnoteLink.json +17 -0
- package/build/android/HorizontalScrollButton.json +46 -0
- package/build/android/Icon.json +159 -0
- package/build/android/IconButton.json +542 -0
- package/build/android/Image.json +7 -0
- package/build/android/InputLabel.json +27 -0
- package/build/android/InputSupports.json +7 -0
- package/build/android/Link.json +209 -0
- package/build/android/List.json +100 -0
- package/build/android/Listbox.json +239 -0
- package/build/android/Modal.json +194 -0
- package/build/android/MultiSelectFilter.json +70 -0
- package/build/android/NavigationBar.json +153 -0
- package/build/android/Notification.json +192 -0
- package/build/android/OrderedList.json +81 -0
- package/build/android/Pagination.json +49 -0
- package/build/android/PaginationPageButton.json +93 -0
- package/build/android/PaginationSideButton.json +177 -0
- package/build/android/PreviewCard.json +39 -0
- package/build/android/PriceLockup.json +120 -0
- package/build/android/Progress.json +35 -0
- package/build/android/ProgressBar.json +58 -0
- package/build/android/QuantitySelector.json +110 -0
- package/build/android/QuantitySelectorSideButton.json +197 -0
- package/build/android/QuickLinks.json +29 -0
- package/build/android/QuickLinksButton.json +102 -0
- package/build/android/QuickLinksCard.json +27 -0
- package/build/android/QuickLinksFeature.json +9 -0
- package/build/android/QuickLinksFeatureItem.json +70 -0
- package/build/android/QuickLinksList.json +87 -0
- package/build/android/Radio.json +138 -0
- package/build/android/RadioCard.json +223 -0
- package/build/android/RadioCardGroup.json +38 -0
- package/build/android/RadioGroup.json +15 -0
- package/build/android/Ribbon.json +125 -0
- package/build/android/Search.json +114 -0
- package/build/android/SearchButton.json +130 -0
- package/build/android/Select.json +166 -0
- package/build/android/SideNav.json +14 -0
- package/build/android/SideNavItem.json +138 -0
- package/build/android/SideNavItemsGroup.json +39 -0
- package/build/android/Skeleton.json +25 -0
- package/build/android/SkipLink.json +41 -0
- package/build/android/Spinner.json +29 -0
- package/build/android/SplashButton.json +25 -0
- package/build/android/SplashButtonWithDetails.json +52 -0
- package/build/android/StackView.json +11 -0
- package/build/android/StepTracker.json +214 -0
- package/build/android/StoryCard.json +59 -0
- package/build/android/Table.json +175 -0
- package/build/android/Tabs.json +43 -0
- package/build/android/TabsItem.json +167 -0
- package/build/android/Tags.json +27 -0
- package/build/android/TagsItem.json +265 -0
- package/build/android/TermsAndConditions.json +116 -0
- package/build/android/Testimonial.json +47 -0
- package/build/android/TextArea.json +8 -0
- package/build/android/TextInput.json +179 -0
- package/build/android/Timeline.json +67 -0
- package/build/android/Toast.json +74 -0
- package/build/android/ToggleSwitch.json +231 -0
- package/build/android/ToggleSwitchGroup.json +28 -0
- package/build/android/Tooltip.json +68 -0
- package/build/android/TooltipButton.json +82 -0
- package/build/android/Typography.json +507 -0
- package/build/android/Video.json +15 -0
- package/build/android/VideoButton.json +12 -0
- package/build/android/VideoControlBar.json +37 -0
- package/build/android/VideoMenu.json +40 -0
- package/build/android/VideoMiddleControlButton.json +20 -0
- package/build/android/VideoPicker.json +28 -0
- package/build/android/VideoPickerSlider.json +8 -0
- package/build/android/VideoPickerThumbnail.json +92 -0
- package/build/android/VideoProgressBar.json +34 -0
- package/build/android/VideoVolumeSlider.json +36 -0
- package/build/android/WaffleGrid.json +46 -0
- package/build/android/schema.json +897 -687
- package/build/android/spacingScale.json +131 -0
- package/build/android/theme.json +175 -19
- package/build/ios/ActivityIndicator.json +30 -0
- package/build/ios/Badge.json +245 -0
- package/build/ios/BlockQuote.json +72 -0
- package/build/ios/Box.json +372 -0
- package/build/ios/Breadcrumbs.json +62 -0
- package/build/ios/Button.json +599 -0
- package/build/ios/ButtonDropdown.json +213 -0
- package/build/ios/ButtonGroup.json +43 -0
- package/build/ios/ButtonGroupItem.json +201 -0
- package/build/ios/Callout.json +51 -0
- package/build/ios/Card.json +289 -0
- package/build/ios/Carousel.json +41 -0
- package/build/ios/CarouselTabsPanelItem.json +190 -0
- package/build/ios/CarouselThumbnail.json +61 -0
- package/build/ios/Checkbox.json +125 -0
- package/build/ios/CheckboxCard.json +248 -0
- package/build/ios/CheckboxCardGroup.json +47 -0
- package/build/ios/CheckboxGroup.json +15 -0
- package/build/ios/ChevronLink.json +143 -0
- package/build/ios/ColourToggle.json +85 -0
- package/build/ios/Countdown.json +128 -0
- package/build/ios/DatePicker.json +190 -0
- package/build/ios/Disclaimer.json +16 -0
- package/build/ios/Divider.json +62 -0
- package/build/ios/ExpandCollapse.json +14 -0
- package/build/ios/ExpandCollapseControl.json +111 -0
- package/build/ios/ExpandCollapseMini.json +7 -0
- package/build/ios/ExpandCollapseMiniControl.json +136 -0
- package/build/ios/ExpandCollapsePanel.json +99 -0
- package/build/ios/Feedback.json +112 -0
- package/build/ios/Fieldset.json +41 -0
- package/build/ios/Footnote.json +123 -0
- package/build/ios/FootnoteLink.json +17 -0
- package/build/ios/HorizontalScrollButton.json +46 -0
- package/build/ios/Icon.json +159 -0
- package/build/ios/IconButton.json +542 -0
- package/build/ios/Image.json +7 -0
- package/build/ios/InputLabel.json +27 -0
- package/build/ios/InputSupports.json +7 -0
- package/build/ios/Link.json +209 -0
- package/build/ios/List.json +100 -0
- package/build/ios/Listbox.json +239 -0
- package/build/ios/Modal.json +194 -0
- package/build/ios/MultiSelectFilter.json +70 -0
- package/build/ios/NavigationBar.json +153 -0
- package/build/ios/Notification.json +192 -0
- package/build/ios/OrderedList.json +81 -0
- package/build/ios/Pagination.json +49 -0
- package/build/ios/PaginationPageButton.json +93 -0
- package/build/ios/PaginationSideButton.json +177 -0
- package/build/ios/PreviewCard.json +39 -0
- package/build/ios/PriceLockup.json +120 -0
- package/build/ios/Progress.json +35 -0
- package/build/ios/ProgressBar.json +58 -0
- package/build/ios/QuantitySelector.json +110 -0
- package/build/ios/QuantitySelectorSideButton.json +197 -0
- package/build/ios/QuickLinks.json +29 -0
- package/build/ios/QuickLinksButton.json +102 -0
- package/build/ios/QuickLinksCard.json +27 -0
- package/build/ios/QuickLinksFeature.json +9 -0
- package/build/ios/QuickLinksFeatureItem.json +70 -0
- package/build/ios/QuickLinksList.json +87 -0
- package/build/ios/Radio.json +138 -0
- package/build/ios/RadioCard.json +223 -0
- package/build/ios/RadioCardGroup.json +38 -0
- package/build/ios/RadioGroup.json +15 -0
- package/build/ios/Ribbon.json +125 -0
- package/build/ios/Search.json +114 -0
- package/build/ios/SearchButton.json +130 -0
- package/build/ios/Select.json +166 -0
- package/build/ios/SideNav.json +14 -0
- package/build/ios/SideNavItem.json +138 -0
- package/build/ios/SideNavItemsGroup.json +39 -0
- package/build/ios/Skeleton.json +25 -0
- package/build/ios/SkipLink.json +41 -0
- package/build/ios/Spinner.json +29 -0
- package/build/ios/SplashButton.json +25 -0
- package/build/ios/SplashButtonWithDetails.json +52 -0
- package/build/ios/StackView.json +11 -0
- package/build/ios/StepTracker.json +214 -0
- package/build/ios/StoryCard.json +59 -0
- package/build/ios/Table.json +175 -0
- package/build/ios/Tabs.json +43 -0
- package/build/ios/TabsItem.json +167 -0
- package/build/ios/Tags.json +27 -0
- package/build/ios/TagsItem.json +265 -0
- package/build/ios/TermsAndConditions.json +116 -0
- package/build/ios/Testimonial.json +47 -0
- package/build/ios/TextArea.json +8 -0
- package/build/ios/TextInput.json +179 -0
- package/build/ios/Timeline.json +67 -0
- package/build/ios/Toast.json +74 -0
- package/build/ios/ToggleSwitch.json +231 -0
- package/build/ios/ToggleSwitchGroup.json +28 -0
- package/build/ios/Tooltip.json +68 -0
- package/build/ios/TooltipButton.json +82 -0
- package/build/ios/Typography.json +507 -0
- package/build/ios/Video.json +15 -0
- package/build/ios/VideoButton.json +12 -0
- package/build/ios/VideoControlBar.json +37 -0
- package/build/ios/VideoMenu.json +40 -0
- package/build/ios/VideoMiddleControlButton.json +20 -0
- package/build/ios/VideoPicker.json +28 -0
- package/build/ios/VideoPickerSlider.json +8 -0
- package/build/ios/VideoPickerThumbnail.json +92 -0
- package/build/ios/VideoProgressBar.json +34 -0
- package/build/ios/VideoVolumeSlider.json +36 -0
- package/build/ios/WaffleGrid.json +46 -0
- package/build/ios/schema.json +897 -687
- package/build/ios/spacingScale.json +131 -0
- package/build/ios/theme.json +175 -19
- package/build/rn/ActivityIndicator.js +20 -0
- package/build/rn/Badge.js +83 -0
- package/build/rn/BlockQuote.js +55 -0
- package/build/rn/Box.js +108 -0
- package/build/rn/Breadcrumbs.js +34 -0
- package/build/rn/Button.js +369 -0
- package/build/rn/ButtonDropdown.js +153 -0
- package/build/rn/ButtonGroup.js +39 -0
- package/build/rn/ButtonGroupItem.js +148 -0
- package/build/rn/Callout.js +32 -0
- package/build/rn/Card.js +174 -0
- package/build/rn/Carousel.js +42 -0
- package/build/rn/CarouselTabsPanelItem.js +147 -0
- package/build/rn/CarouselThumbnail.js +62 -0
- package/build/rn/Checkbox.js +91 -0
- package/build/rn/CheckboxCard.js +157 -0
- package/build/rn/CheckboxCardGroup.js +45 -0
- package/build/rn/CheckboxGroup.js +24 -0
- package/build/rn/ChevronLink.js +115 -0
- package/build/rn/ColourToggle.js +93 -0
- package/build/rn/Countdown.js +79 -0
- package/build/rn/DatePicker.js +66 -0
- package/build/rn/Disclaimer.js +20 -0
- package/build/rn/Divider.js +26 -0
- package/build/rn/ExpandCollapse.js +18 -0
- package/build/rn/ExpandCollapseControl.js +125 -0
- package/build/rn/ExpandCollapseMini.js +10 -0
- package/build/rn/ExpandCollapseMiniControl.js +83 -0
- package/build/rn/ExpandCollapsePanel.js +63 -0
- package/build/rn/Feedback.js +59 -0
- package/build/rn/Fieldset.js +26 -0
- package/build/rn/Footnote.js +96 -0
- package/build/rn/FootnoteLink.js +21 -0
- package/build/rn/HorizontalScrollButton.js +47 -0
- package/build/rn/Icon.js +48 -0
- package/build/rn/IconButton.js +316 -0
- package/build/rn/Image.js +10 -0
- package/build/rn/InputLabel.js +26 -0
- package/build/rn/InputSupports.js +10 -0
- package/build/rn/Link.js +179 -0
- package/build/rn/List.js +75 -0
- package/build/rn/Listbox.js +198 -0
- package/build/rn/Modal.js +143 -0
- package/build/rn/MultiSelectFilter.js +62 -0
- package/build/rn/NavigationBar.js +130 -0
- package/build/rn/Notification.js +116 -0
- package/build/rn/OrderedList.js +58 -0
- package/build/rn/Pagination.js +44 -0
- package/build/rn/PaginationPageButton.js +83 -0
- package/build/rn/PaginationSideButton.js +166 -0
- package/build/rn/PreviewCard.js +58 -0
- package/build/rn/PriceLockup.js +101 -0
- package/build/rn/Progress.js +20 -0
- package/build/rn/ProgressBar.js +30 -0
- package/build/rn/QuantitySelector.js +51 -0
- package/build/rn/QuantitySelectorSideButton.js +103 -0
- package/build/rn/QuickLinks.js +32 -0
- package/build/rn/QuickLinksButton.js +77 -0
- package/build/rn/QuickLinksCard.js +26 -0
- package/build/rn/QuickLinksFeature.js +14 -0
- package/build/rn/QuickLinksFeatureItem.js +76 -0
- package/build/rn/QuickLinksList.js +68 -0
- package/build/rn/Radio.js +93 -0
- package/build/rn/RadioCard.js +149 -0
- package/build/rn/RadioCardGroup.js +41 -0
- package/build/rn/RadioGroup.js +24 -0
- package/build/rn/Ribbon.js +71 -0
- package/build/rn/Search.js +72 -0
- package/build/rn/SearchButton.js +96 -0
- package/build/rn/Select.js +93 -0
- package/build/rn/SideNav.js +14 -0
- package/build/rn/SideNavItem.js +93 -0
- package/build/rn/SideNavItemsGroup.js +40 -0
- package/build/rn/Skeleton.js +24 -0
- package/build/rn/SkipLink.js +46 -0
- package/build/rn/Spinner.js +14 -0
- package/build/rn/SplashButton.js +26 -0
- package/build/rn/SplashButtonWithDetails.js +43 -0
- package/build/rn/StackView.js +20 -0
- package/build/rn/StepTracker.js +96 -0
- package/build/rn/StoryCard.js +62 -0
- package/build/rn/Table.js +104 -0
- package/build/rn/Tabs.js +36 -0
- package/build/rn/TabsItem.js +111 -0
- package/build/rn/Tags.js +27 -0
- package/build/rn/TagsItem.js +174 -0
- package/build/rn/TermsAndConditions.js +85 -0
- package/build/rn/Testimonial.js +42 -0
- package/build/rn/TextArea.js +10 -0
- package/build/rn/TextInput.js +126 -0
- package/build/rn/Timeline.js +58 -0
- package/build/rn/Toast.js +43 -0
- package/build/rn/ToggleSwitch.js +167 -0
- package/build/rn/ToggleSwitchGroup.js +28 -0
- package/build/rn/Tooltip.js +42 -0
- package/build/rn/TooltipButton.js +65 -0
- package/build/rn/Typography.js +237 -0
- package/build/rn/Video.js +21 -0
- package/build/rn/VideoButton.js +10 -0
- package/build/rn/VideoControlBar.js +47 -0
- package/build/rn/VideoMenu.js +24 -0
- package/build/rn/VideoMiddleControlButton.js +19 -0
- package/build/rn/VideoPicker.js +22 -0
- package/build/rn/VideoPickerSlider.js +18 -0
- package/build/rn/VideoPickerThumbnail.js +74 -0
- package/build/rn/VideoProgressBar.js +23 -0
- package/build/rn/VideoVolumeSlider.js +26 -0
- package/build/rn/WaffleGrid.js +29 -0
- package/build/rn/schema.json +897 -687
- package/build/rn/spacingScale.js +44 -0
- package/build/rn/theme.js +138 -19
- package/build/web/ActivityIndicator.js +20 -0
- package/build/web/Badge.js +83 -0
- package/build/web/BlockQuote.js +55 -0
- package/build/web/Box.js +108 -0
- package/build/web/Breadcrumbs.js +34 -0
- package/build/web/Button.js +235 -0
- package/build/web/ButtonDropdown.js +105 -0
- package/build/web/ButtonGroup.js +39 -0
- package/build/web/ButtonGroupItem.js +102 -0
- package/build/web/Callout.js +32 -0
- package/build/web/Card.js +151 -0
- package/build/web/Carousel.js +36 -0
- package/build/web/CarouselTabsPanelItem.js +99 -0
- package/build/web/CarouselThumbnail.js +45 -0
- package/build/web/Checkbox.js +62 -0
- package/build/web/CheckboxCard.js +124 -0
- package/build/web/CheckboxCardGroup.js +45 -0
- package/build/web/CheckboxGroup.js +24 -0
- package/build/web/ChevronLink.js +67 -0
- package/build/web/ColourToggle.js +65 -0
- package/build/web/Countdown.js +79 -0
- package/build/web/DatePicker.js +66 -0
- package/build/web/Disclaimer.js +20 -0
- package/build/web/Divider.js +26 -0
- package/build/web/ExpandCollapse.js +18 -0
- package/build/web/ExpandCollapseControl.js +74 -0
- package/build/web/ExpandCollapseMini.js +10 -0
- package/build/web/ExpandCollapseMiniControl.js +77 -0
- package/build/web/ExpandCollapsePanel.js +63 -0
- package/build/web/Feedback.js +59 -0
- package/build/web/Fieldset.js +26 -0
- package/build/web/Footnote.js +96 -0
- package/build/web/FootnoteLink.js +21 -0
- package/build/web/HorizontalScrollButton.js +35 -0
- package/build/web/Icon.js +48 -0
- package/build/web/IconButton.js +240 -0
- package/build/web/Image.js +10 -0
- package/build/web/InputLabel.js +26 -0
- package/build/web/InputSupports.js +10 -0
- package/build/web/Link.js +99 -0
- package/build/web/List.js +75 -0
- package/build/web/Listbox.js +128 -0
- package/build/web/Modal.js +143 -0
- package/build/web/MultiSelectFilter.js +62 -0
- package/build/web/NavigationBar.js +90 -0
- package/build/web/Notification.js +116 -0
- package/build/web/OrderedList.js +58 -0
- package/build/web/Pagination.js +44 -0
- package/build/web/PaginationPageButton.js +55 -0
- package/build/web/PaginationSideButton.js +118 -0
- package/build/web/PreviewCard.js +28 -0
- package/build/web/PriceLockup.js +101 -0
- package/build/web/Progress.js +20 -0
- package/build/web/ProgressBar.js +30 -0
- package/build/web/QuantitySelector.js +51 -0
- package/build/web/QuantitySelectorSideButton.js +103 -0
- package/build/web/QuickLinks.js +32 -0
- package/build/web/QuickLinksButton.js +59 -0
- package/build/web/QuickLinksCard.js +26 -0
- package/build/web/QuickLinksFeature.js +14 -0
- package/build/web/QuickLinksFeatureItem.js +52 -0
- package/build/web/QuickLinksList.js +54 -0
- package/build/web/Radio.js +72 -0
- package/build/web/RadioCard.js +116 -0
- package/build/web/RadioCardGroup.js +41 -0
- package/build/web/RadioGroup.js +24 -0
- package/build/web/Ribbon.js +71 -0
- package/build/web/Search.js +62 -0
- package/build/web/SearchButton.js +67 -0
- package/build/web/Select.js +86 -0
- package/build/web/SideNav.js +14 -0
- package/build/web/SideNavItem.js +79 -0
- package/build/web/SideNavItemsGroup.js +40 -0
- package/build/web/Skeleton.js +24 -0
- package/build/web/SkipLink.js +35 -0
- package/build/web/Spinner.js +14 -0
- package/build/web/SplashButton.js +19 -0
- package/build/web/SplashButtonWithDetails.js +31 -0
- package/build/web/StackView.js +20 -0
- package/build/web/StepTracker.js +96 -0
- package/build/web/StoryCard.js +39 -0
- package/build/web/Table.js +104 -0
- package/build/web/Tabs.js +36 -0
- package/build/web/TabsItem.js +86 -0
- package/build/web/Tags.js +27 -0
- package/build/web/TagsItem.js +116 -0
- package/build/web/TermsAndConditions.js +85 -0
- package/build/web/Testimonial.js +42 -0
- package/build/web/TextArea.js +10 -0
- package/build/web/TextInput.js +112 -0
- package/build/web/Timeline.js +58 -0
- package/build/web/Toast.js +43 -0
- package/build/web/ToggleSwitch.js +110 -0
- package/build/web/ToggleSwitchGroup.js +28 -0
- package/build/web/Tooltip.js +42 -0
- package/build/web/TooltipButton.js +39 -0
- package/build/web/Typography.js +237 -0
- package/build/web/Video.js +21 -0
- package/build/web/VideoButton.js +10 -0
- package/build/web/VideoControlBar.js +47 -0
- package/build/web/VideoMenu.js +24 -0
- package/build/web/VideoMiddleControlButton.js +19 -0
- package/build/web/VideoPicker.js +22 -0
- package/build/web/VideoPickerSlider.js +18 -0
- package/build/web/VideoPickerThumbnail.js +50 -0
- package/build/web/VideoProgressBar.js +23 -0
- package/build/web/VideoVolumeSlider.js +26 -0
- package/build/web/WaffleGrid.js +29 -0
- package/build/web/index.js +111 -0
- package/build/web/schema.json +20006 -0
- package/build/web/spacingScale.js +44 -0
- package/build/web/theme.js +5681 -0
- package/package.json +4 -4
- package/theme.json +126 -14
|
@@ -0,0 +1,44 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Mon, 08 Jan 2024 20:06:14 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
module.exports = {
|
|
11
|
+
appearances: {
|
|
12
|
+
space: {
|
|
13
|
+
description: 'Index of the intended position on the spacing scale',
|
|
14
|
+
type: 'state',
|
|
15
|
+
values: [
|
|
16
|
+
0, 1, 2, 3, 4, 5,
|
|
17
|
+
6, 7, 8, 9, 10, 11,
|
|
18
|
+
12
|
|
19
|
+
]
|
|
20
|
+
},
|
|
21
|
+
viewport: {
|
|
22
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
23
|
+
type: 'state',
|
|
24
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
rules: [
|
|
28
|
+
{ if: { viewport: [ 'lg', 'xl' ] }, tokens: { size: 112 } },
|
|
29
|
+
{ if: { space: 11 }, tokens: { size: 80 } },
|
|
30
|
+
{ if: { space: 12 }, tokens: { size: 112 } },
|
|
31
|
+
{ if: { space: 10 }, tokens: { size: 64 } },
|
|
32
|
+
{ if: { space: 9 }, tokens: { size: 56 } },
|
|
33
|
+
{ if: { space: 8 }, tokens: { size: 48 } },
|
|
34
|
+
{ if: { space: 7 }, tokens: { size: 40 } },
|
|
35
|
+
{ if: { space: 6 }, tokens: { size: 32 } },
|
|
36
|
+
{ if: { space: 5 }, tokens: { size: 24 } },
|
|
37
|
+
{ if: { space: 4 }, tokens: { size: 16 } },
|
|
38
|
+
{ if: { space: 3 }, tokens: { size: 12 } },
|
|
39
|
+
{ if: { space: 2 }, tokens: { size: 8 } },
|
|
40
|
+
{ if: { space: 1 }, tokens: { size: 4 } },
|
|
41
|
+
{ if: { space: 0 }, tokens: { size: 0 } }
|
|
42
|
+
],
|
|
43
|
+
tokens: { size: 80 }
|
|
44
|
+
}
|
package/build/rn/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Mon, 08 Jan 2024 20:06:14 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -67,7 +67,7 @@ module.exports = {
|
|
|
67
67
|
alternative: { type: 'variant', values: [ true ] },
|
|
68
68
|
inverse: { type: 'variant', values: [ true ] },
|
|
69
69
|
outline: { type: 'variant', values: [ true ] },
|
|
70
|
-
purpose: { type: 'variant', values: [ 'offer', 'editorial' ] }
|
|
70
|
+
purpose: { type: 'variant', values: [ 'offer', 'editorial', 'subtle' ] }
|
|
71
71
|
},
|
|
72
72
|
rules: [
|
|
73
73
|
{
|
|
@@ -101,6 +101,17 @@ module.exports = {
|
|
|
101
101
|
if: { purpose: 'editorial' },
|
|
102
102
|
tokens: { backgroundColor: '#cdcfd5', borderColor: '#cdcfd5' }
|
|
103
103
|
},
|
|
104
|
+
{
|
|
105
|
+
if: { purpose: 'subtle' },
|
|
106
|
+
tokens: { backgroundColor: '#f9f2dd', borderColor: '#f9f2dd' }
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
if: { outline: true, purpose: 'subtle' },
|
|
110
|
+
tokens: {
|
|
111
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
112
|
+
borderColor: '#f9f2dd'
|
|
113
|
+
}
|
|
114
|
+
},
|
|
104
115
|
{
|
|
105
116
|
if: { outline: true, purpose: 'editorial' },
|
|
106
117
|
tokens: {
|
|
@@ -1791,6 +1802,90 @@ module.exports = {
|
|
|
1791
1802
|
textLine: 'none'
|
|
1792
1803
|
}
|
|
1793
1804
|
},
|
|
1805
|
+
ColourToggle: {
|
|
1806
|
+
appearances: {
|
|
1807
|
+
focus: {
|
|
1808
|
+
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
1809
|
+
platforms: [ 'rn' ],
|
|
1810
|
+
type: 'state',
|
|
1811
|
+
values: [ true, false ]
|
|
1812
|
+
},
|
|
1813
|
+
hover: {
|
|
1814
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1815
|
+
platforms: [ 'rn' ],
|
|
1816
|
+
type: 'state',
|
|
1817
|
+
values: [ true, false ]
|
|
1818
|
+
},
|
|
1819
|
+
pressed: {
|
|
1820
|
+
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
1821
|
+
type: 'state',
|
|
1822
|
+
values: [ true, false ]
|
|
1823
|
+
},
|
|
1824
|
+
selected: {
|
|
1825
|
+
description: 'Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.',
|
|
1826
|
+
type: 'state',
|
|
1827
|
+
values: [ true ]
|
|
1828
|
+
}
|
|
1829
|
+
},
|
|
1830
|
+
rules: [
|
|
1831
|
+
{
|
|
1832
|
+
if: { hover: true },
|
|
1833
|
+
tokens: {
|
|
1834
|
+
bubbleBorderColor: '#cdcfd5',
|
|
1835
|
+
bubbleBorderRadius: 45,
|
|
1836
|
+
bubbleBorderWidth: 1
|
|
1837
|
+
}
|
|
1838
|
+
},
|
|
1839
|
+
{
|
|
1840
|
+
if: { focus: true },
|
|
1841
|
+
tokens: {
|
|
1842
|
+
bubbleBorderColor: '#6a7080',
|
|
1843
|
+
bubbleBorderRadius: 45,
|
|
1844
|
+
bubbleBorderWidth: 1
|
|
1845
|
+
}
|
|
1846
|
+
},
|
|
1847
|
+
{
|
|
1848
|
+
if: { pressed: true },
|
|
1849
|
+
tokens: {
|
|
1850
|
+
bubbleBorderColor: '#2b3145',
|
|
1851
|
+
bubbleBorderRadius: 45,
|
|
1852
|
+
bubbleBorderWidth: 1
|
|
1853
|
+
}
|
|
1854
|
+
},
|
|
1855
|
+
{
|
|
1856
|
+
if: { selected: true },
|
|
1857
|
+
tokens: {
|
|
1858
|
+
bubbleBorderColor: '#394056',
|
|
1859
|
+
bubbleBorderRadius: 45,
|
|
1860
|
+
bubbleBorderWidth: 1
|
|
1861
|
+
}
|
|
1862
|
+
}
|
|
1863
|
+
],
|
|
1864
|
+
tokens: {
|
|
1865
|
+
borderColor: '#9c9faa',
|
|
1866
|
+
borderRadius: 45,
|
|
1867
|
+
borderWidth: 1,
|
|
1868
|
+
bubbleBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1869
|
+
bubbleBorderRadius: 0,
|
|
1870
|
+
bubbleBorderWidth: 0,
|
|
1871
|
+
innerBubbleBorderRadius: 45,
|
|
1872
|
+
innerBubbleHeight: 40,
|
|
1873
|
+
innerBubbleWidth: 40,
|
|
1874
|
+
outerBubbleContentAlignItems: 'center',
|
|
1875
|
+
outerBubbleHeight: 48,
|
|
1876
|
+
outerBubbleJustifyContent: 'center',
|
|
1877
|
+
outerBubbleWidth: 48,
|
|
1878
|
+
shadow: {
|
|
1879
|
+
blur: 2,
|
|
1880
|
+
color: 'rgba(0, 0, 0, 0.1)',
|
|
1881
|
+
inset: true,
|
|
1882
|
+
offsetX: 0,
|
|
1883
|
+
offsetY: 2,
|
|
1884
|
+
spread: 0
|
|
1885
|
+
},
|
|
1886
|
+
space: 2
|
|
1887
|
+
}
|
|
1888
|
+
},
|
|
1794
1889
|
Countdown: {
|
|
1795
1890
|
appearances: {
|
|
1796
1891
|
feature: { type: 'variant', values: [ true ] },
|
|
@@ -2209,7 +2304,7 @@ module.exports = {
|
|
|
2209
2304
|
validation: {
|
|
2210
2305
|
description: 'Validation states for form inputs',
|
|
2211
2306
|
type: 'state',
|
|
2212
|
-
values: [ 'error', 'success' ]
|
|
2307
|
+
values: [ 'error', 'success', 'warning' ]
|
|
2213
2308
|
}
|
|
2214
2309
|
},
|
|
2215
2310
|
rules: [
|
|
@@ -3535,8 +3630,12 @@ module.exports = {
|
|
|
3535
3630
|
},
|
|
3536
3631
|
Notification: {
|
|
3537
3632
|
appearances: {
|
|
3538
|
-
style: { type: 'variant', values: [ '
|
|
3539
|
-
|
|
3633
|
+
style: { type: 'variant', values: [ 'system', 'subtle' ] },
|
|
3634
|
+
validation: {
|
|
3635
|
+
description: 'Validation states for form inputs',
|
|
3636
|
+
type: 'state',
|
|
3637
|
+
values: [ 'error', 'success', 'warning' ]
|
|
3638
|
+
},
|
|
3540
3639
|
viewport: {
|
|
3541
3640
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
3542
3641
|
type: 'state',
|
|
@@ -3549,21 +3648,36 @@ module.exports = {
|
|
|
3549
3648
|
tokens: { justifyContent: 'center' }
|
|
3550
3649
|
},
|
|
3551
3650
|
{
|
|
3552
|
-
if: {
|
|
3651
|
+
if: { style: 'system' },
|
|
3553
3652
|
tokens: {
|
|
3554
3653
|
borderLeftWidth: 0,
|
|
3555
3654
|
borderRadius: 0,
|
|
3556
3655
|
borderRightWidth: 0,
|
|
3557
3656
|
borderTopWidth: 0,
|
|
3558
|
-
iconGap:
|
|
3559
|
-
paddingBottom:
|
|
3560
|
-
paddingLeft:
|
|
3561
|
-
paddingRight:
|
|
3562
|
-
paddingTop:
|
|
3657
|
+
iconGap: 16,
|
|
3658
|
+
paddingBottom: 12,
|
|
3659
|
+
paddingLeft: 12,
|
|
3660
|
+
paddingRight: 12,
|
|
3661
|
+
paddingTop: 12
|
|
3662
|
+
}
|
|
3663
|
+
},
|
|
3664
|
+
{
|
|
3665
|
+
if: { style: 'subtle' },
|
|
3666
|
+
tokens: {
|
|
3667
|
+
borderBottomWidth: 0,
|
|
3668
|
+
borderLeftWidth: 0,
|
|
3669
|
+
borderRadius: 0,
|
|
3670
|
+
borderRightWidth: 0,
|
|
3671
|
+
borderTopWidth: 0,
|
|
3672
|
+
iconGap: 16,
|
|
3673
|
+
paddingBottom: 12,
|
|
3674
|
+
paddingLeft: 12,
|
|
3675
|
+
paddingRight: 12,
|
|
3676
|
+
paddingTop: 12
|
|
3563
3677
|
}
|
|
3564
3678
|
},
|
|
3565
3679
|
{
|
|
3566
|
-
if: {
|
|
3680
|
+
if: { validation: 'success' },
|
|
3567
3681
|
tokens: {
|
|
3568
3682
|
backgroundColor: '#2b826e',
|
|
3569
3683
|
color: '#ffffff',
|
|
@@ -3573,7 +3687,7 @@ module.exports = {
|
|
|
3573
3687
|
}
|
|
3574
3688
|
},
|
|
3575
3689
|
{
|
|
3576
|
-
if: {
|
|
3690
|
+
if: { validation: 'warning' },
|
|
3577
3691
|
tokens: {
|
|
3578
3692
|
backgroundColor: '#fce6df',
|
|
3579
3693
|
dismissIcon: null,
|
|
@@ -3582,7 +3696,7 @@ module.exports = {
|
|
|
3582
3696
|
}
|
|
3583
3697
|
},
|
|
3584
3698
|
{
|
|
3585
|
-
if: {
|
|
3699
|
+
if: { validation: 'error' },
|
|
3586
3700
|
tokens: {
|
|
3587
3701
|
backgroundColor: '#bf1722',
|
|
3588
3702
|
color: '#ffffff',
|
|
@@ -3601,7 +3715,7 @@ module.exports = {
|
|
|
3601
3715
|
borderRightWidth: 0,
|
|
3602
3716
|
borderTopWidth: 0,
|
|
3603
3717
|
color: '#394056',
|
|
3604
|
-
dismissButtonGap:
|
|
3718
|
+
dismissButtonGap: 12,
|
|
3605
3719
|
dismissIcon: PaletteIconMobileXClose,
|
|
3606
3720
|
dismissIconColor: '#394056',
|
|
3607
3721
|
fontName: 'SofiaPro',
|
|
@@ -4783,7 +4897,7 @@ module.exports = {
|
|
|
4783
4897
|
appearances: {
|
|
4784
4898
|
purpose: {
|
|
4785
4899
|
type: 'variant',
|
|
4786
|
-
values: [ 'offer', 'default', 'editorial' ]
|
|
4900
|
+
values: [ 'offer', 'default', 'editorial', 'subtle' ]
|
|
4787
4901
|
},
|
|
4788
4902
|
wrap: { type: 'variant', values: [ true ] }
|
|
4789
4903
|
},
|
|
@@ -4796,6 +4910,10 @@ module.exports = {
|
|
|
4796
4910
|
if: { purpose: 'offer' },
|
|
4797
4911
|
tokens: { backgroundColor: '#394056' }
|
|
4798
4912
|
},
|
|
4913
|
+
{
|
|
4914
|
+
if: { purpose: 'subtle' },
|
|
4915
|
+
tokens: { backgroundColor: '#394056' }
|
|
4916
|
+
},
|
|
4799
4917
|
{
|
|
4800
4918
|
if: { wrap: true },
|
|
4801
4919
|
tokens: {
|
|
@@ -5007,7 +5125,7 @@ module.exports = {
|
|
|
5007
5125
|
validation: {
|
|
5008
5126
|
description: 'Validation states for form inputs',
|
|
5009
5127
|
type: 'state',
|
|
5010
|
-
values: [ 'error', 'success' ]
|
|
5128
|
+
values: [ 'error', 'success', 'warning' ]
|
|
5011
5129
|
}
|
|
5012
5130
|
},
|
|
5013
5131
|
rules: [
|
|
@@ -5544,6 +5662,7 @@ module.exports = {
|
|
|
5544
5662
|
offsetY: 4,
|
|
5545
5663
|
spread: 0
|
|
5546
5664
|
},
|
|
5665
|
+
display: null,
|
|
5547
5666
|
fontColor: '#394056',
|
|
5548
5667
|
fontName: 'SofiaPro',
|
|
5549
5668
|
fontSize: 18,
|
|
@@ -6009,7 +6128,7 @@ module.exports = {
|
|
|
6009
6128
|
validation: {
|
|
6010
6129
|
description: 'Validation states for form inputs',
|
|
6011
6130
|
type: 'state',
|
|
6012
|
-
values: [ 'error', 'success' ]
|
|
6131
|
+
values: [ 'error', 'success', 'warning' ]
|
|
6013
6132
|
}
|
|
6014
6133
|
},
|
|
6015
6134
|
rules: [
|
|
@@ -6927,5 +7046,5 @@ module.exports = {
|
|
|
6927
7046
|
tokens: { size: 80 }
|
|
6928
7047
|
}
|
|
6929
7048
|
},
|
|
6930
|
-
metadata: { name: 'theme-public-mobile', themeTokensVersion: '2.
|
|
7049
|
+
metadata: { name: 'theme-public-mobile', themeTokensVersion: '2.49.0' }
|
|
6931
7050
|
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Mon, 08 Jan 2024 20:06:31 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
const theme = {
|
|
10
|
+
appearances: {
|
|
11
|
+
size: {
|
|
12
|
+
description: 'used for full-screen spinners',
|
|
13
|
+
type: 'variant',
|
|
14
|
+
values: [ 'large' ]
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
rules: [ { if: { size: 'large' }, tokens: { size: 48, thickness: 4 } } ],
|
|
18
|
+
tokens: { color: '#394056', size: 24, thickness: 2 }
|
|
19
|
+
}
|
|
20
|
+
export default theme
|
|
@@ -0,0 +1,83 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Mon, 08 Jan 2024 20:06:31 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
const theme = {
|
|
10
|
+
appearances: {
|
|
11
|
+
alternative: { type: 'variant', values: [ true ] },
|
|
12
|
+
inverse: { type: 'variant', values: [ true ] },
|
|
13
|
+
outline: { type: 'variant', values: [ true ] },
|
|
14
|
+
purpose: { type: 'variant', values: [ 'offer', 'editorial', 'subtle' ] }
|
|
15
|
+
},
|
|
16
|
+
rules: [
|
|
17
|
+
{
|
|
18
|
+
if: { inverse: true },
|
|
19
|
+
tokens: {
|
|
20
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
21
|
+
borderColor: '#ffffff',
|
|
22
|
+
color: '#ffffff'
|
|
23
|
+
}
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
if: { alternative: true },
|
|
27
|
+
tokens: {
|
|
28
|
+
backgroundColor: '#eaf3f1',
|
|
29
|
+
borderColor: '#eaf3f1',
|
|
30
|
+
color: '#2b826e'
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
if: { outline: true },
|
|
35
|
+
tokens: { backgroundColor: 'rgba(0, 0, 0, 0)', borderColor: '#f9f2dd' }
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
if: { purpose: 'offer' },
|
|
39
|
+
tokens: { backgroundColor: '#fce6df', borderColor: '#fce6df' }
|
|
40
|
+
},
|
|
41
|
+
{
|
|
42
|
+
if: { purpose: 'editorial' },
|
|
43
|
+
tokens: { backgroundColor: '#cdcfd5', borderColor: '#cdcfd5' }
|
|
44
|
+
},
|
|
45
|
+
{
|
|
46
|
+
if: { purpose: 'subtle' },
|
|
47
|
+
tokens: { backgroundColor: '#f9f2dd', borderColor: '#f9f2dd' }
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
if: { outline: true, purpose: 'subtle' },
|
|
51
|
+
tokens: { backgroundColor: 'rgba(0, 0, 0, 0)', borderColor: '#f9f2dd' }
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
if: { outline: true, purpose: 'editorial' },
|
|
55
|
+
tokens: { backgroundColor: 'rgba(0, 0, 0, 0)', borderColor: '#cdcfd5' }
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
if: { outline: true, purpose: 'offer' },
|
|
59
|
+
tokens: {
|
|
60
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
61
|
+
borderColor: '#fce6df',
|
|
62
|
+
borderWidth: 2,
|
|
63
|
+
color: '#394056'
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
],
|
|
67
|
+
tokens: {
|
|
68
|
+
backgroundColor: '#f9f2dd',
|
|
69
|
+
borderColor: '#f9f2dd',
|
|
70
|
+
borderRadius: 999,
|
|
71
|
+
borderWidth: 2,
|
|
72
|
+
color: '#394056',
|
|
73
|
+
fontName: 'SofiaPro',
|
|
74
|
+
fontSize: 12,
|
|
75
|
+
fontWeight: '400',
|
|
76
|
+
gradient: null,
|
|
77
|
+
paddingBottom: 2,
|
|
78
|
+
paddingLeft: 16,
|
|
79
|
+
paddingRight: 16,
|
|
80
|
+
paddingTop: 2
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
export default theme
|
|
@@ -0,0 +1,55 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Mon, 08 Jan 2024 20:06:31 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
const theme = {
|
|
10
|
+
appearances: {
|
|
11
|
+
viewport: {
|
|
12
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
13
|
+
type: 'state',
|
|
14
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
15
|
+
}
|
|
16
|
+
},
|
|
17
|
+
rules: [
|
|
18
|
+
{
|
|
19
|
+
if: { viewport: [ 'xs', 'sm', 'md' ] },
|
|
20
|
+
tokens: {
|
|
21
|
+
titleHeadingFontName: 'SofiaPro',
|
|
22
|
+
titleHeadingFontSize: 30,
|
|
23
|
+
titleHeadingFontWeight: '700',
|
|
24
|
+
titleHeadingLineHeight: 1.2
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
],
|
|
28
|
+
tokens: {
|
|
29
|
+
backgroundGradient: {
|
|
30
|
+
angle: 0,
|
|
31
|
+
stops: [ { color: '#f39d80', stop: 0 }, { color: '#f39d80', stop: 1 } ],
|
|
32
|
+
type: 'linear'
|
|
33
|
+
},
|
|
34
|
+
color: '#394056',
|
|
35
|
+
linkFontName: 'SofiaPro',
|
|
36
|
+
linkFontSize: 18,
|
|
37
|
+
linkFontWeight: '700',
|
|
38
|
+
linkLineHeight: 1.55555555,
|
|
39
|
+
marginBottom: 16,
|
|
40
|
+
paddingBottom: 16,
|
|
41
|
+
paddingLeft: 32,
|
|
42
|
+
paddingRight: 32,
|
|
43
|
+
paddingTop: 16,
|
|
44
|
+
titleFontName: 'SofiaPro',
|
|
45
|
+
titleFontSize: 20,
|
|
46
|
+
titleFontWeight: '400',
|
|
47
|
+
titleHeadingFontName: 'SofiaPro',
|
|
48
|
+
titleHeadingFontSize: 30,
|
|
49
|
+
titleHeadingFontWeight: '700',
|
|
50
|
+
titleHeadingLineHeight: 1.2,
|
|
51
|
+
titleLineHeight: 1.4,
|
|
52
|
+
width: 4
|
|
53
|
+
}
|
|
54
|
+
}
|
|
55
|
+
export default theme
|
package/build/web/Box.js
ADDED
|
@@ -0,0 +1,108 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Mon, 08 Jan 2024 20:06:31 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
const theme = {
|
|
10
|
+
appearances: {
|
|
11
|
+
background: {
|
|
12
|
+
description: 'Background colour of box. No background color if not specified',
|
|
13
|
+
type: 'variant',
|
|
14
|
+
values: [
|
|
15
|
+
'lightest', 'lighter',
|
|
16
|
+
'light', 'dark',
|
|
17
|
+
'darker', 'darkest',
|
|
18
|
+
'critical', 'danger',
|
|
19
|
+
'warning', 'positive',
|
|
20
|
+
'brand', 'white',
|
|
21
|
+
'black', 'featurePrimary',
|
|
22
|
+
'featureSecondary', 'featureNeutral',
|
|
23
|
+
'featureBrand'
|
|
24
|
+
]
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
rules: [
|
|
28
|
+
{
|
|
29
|
+
if: { background: 'lightest' },
|
|
30
|
+
tokens: { backgroundColor: '#fefefc', borderColor: '#fefefc' }
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
if: { background: 'lighter' },
|
|
34
|
+
tokens: { backgroundColor: '#fdfcf6', borderColor: '#fdfcf6' }
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
if: { background: 'light' },
|
|
38
|
+
tokens: { backgroundColor: '#fcf8ee', borderColor: '#fcf8ee' }
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
if: { background: 'dark' },
|
|
42
|
+
tokens: { backgroundColor: '#6a7080', borderColor: '#6a7080' }
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
if: { background: 'darker' },
|
|
46
|
+
tokens: { backgroundColor: '#394056', borderColor: '#394056' }
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
if: { background: 'darkest' },
|
|
50
|
+
tokens: { backgroundColor: '#2b3145', borderColor: '#2b3145' }
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
if: { background: 'critical' },
|
|
54
|
+
tokens: { backgroundColor: '#bf1722', borderColor: '#bf1722' }
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
if: { background: 'danger' },
|
|
58
|
+
tokens: { backgroundColor: '#f9e8e9', borderColor: '#f9e8e9' }
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
if: { background: 'warning' },
|
|
62
|
+
tokens: { backgroundColor: '#fcf8ee', borderColor: '#fcf8ee' }
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
if: { background: 'positive' },
|
|
66
|
+
tokens: { backgroundColor: '#eaf3f1', borderColor: '#eaf3f1' }
|
|
67
|
+
},
|
|
68
|
+
{
|
|
69
|
+
if: { background: 'brand' },
|
|
70
|
+
tokens: { backgroundColor: '#394056', borderColor: '#394056' }
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
if: { background: 'white' },
|
|
74
|
+
tokens: { backgroundColor: '#ffffff', borderColor: '#ffffff' }
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
if: { background: 'black' },
|
|
78
|
+
tokens: { backgroundColor: '#2b3145', borderColor: '#2b3145' }
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
if: { background: 'featurePrimary' },
|
|
82
|
+
tokens: { backgroundColor: '#f6b5a0', borderColor: '#f6b5a0' }
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
if: { background: 'featureSecondary' },
|
|
86
|
+
tokens: { backgroundColor: '#f9cebf', borderColor: '#f9cebf' }
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
if: { background: 'featureNeutral' },
|
|
90
|
+
tokens: { backgroundColor: '#fce6df', borderColor: '#fce6df' }
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
if: { background: 'featureBrand' },
|
|
94
|
+
tokens: { backgroundColor: '#f39d80', borderColor: '#f39d80' }
|
|
95
|
+
}
|
|
96
|
+
],
|
|
97
|
+
tokens: {
|
|
98
|
+
backgroundColor: null,
|
|
99
|
+
borderBottomLeftRadius: 0,
|
|
100
|
+
borderBottomRightRadius: 0,
|
|
101
|
+
borderColor: null,
|
|
102
|
+
borderTopLeftRadius: 0,
|
|
103
|
+
borderTopRightRadius: 0,
|
|
104
|
+
borderWidth: 0,
|
|
105
|
+
gradient: null
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
export default theme
|
|
@@ -0,0 +1,34 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Mon, 08 Jan 2024 20:06:31 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import PaletteIconChevronRight from '@telus-uds/palette-public-mobile/build/rn/icons/ChevronRight'
|
|
9
|
+
const theme = {
|
|
10
|
+
appearances: { inverse: { type: 'variant', values: [ true ] } },
|
|
11
|
+
rules: [
|
|
12
|
+
{
|
|
13
|
+
if: { inverse: true },
|
|
14
|
+
tokens: {
|
|
15
|
+
color: '#f9f2dd',
|
|
16
|
+
currentColor: '#f5f5f7',
|
|
17
|
+
iconColor: '#9c9faa'
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
],
|
|
21
|
+
tokens: {
|
|
22
|
+
color: '#636c8c',
|
|
23
|
+
currentColor: '#394056',
|
|
24
|
+
fontName: 'SofiaPro',
|
|
25
|
+
fontSize: 16,
|
|
26
|
+
fontWeight: '400',
|
|
27
|
+
icon: PaletteIconChevronRight,
|
|
28
|
+
iconColor: '#9c9faa',
|
|
29
|
+
iconPadding: 4,
|
|
30
|
+
iconSize: 24,
|
|
31
|
+
listItemPadding: 0
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
export default theme
|