@telus-uds/theme-allium 4.21.0 → 4.23.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 +314 -0
- package/build/android/BlockQuote.json +72 -0
- package/build/android/Box.json +644 -0
- package/build/android/Breadcrumbs.json +62 -0
- package/build/android/Button.json +527 -0
- package/build/android/ButtonDropdown.json +232 -0
- package/build/android/ButtonGroup.json +43 -0
- package/build/android/ButtonGroupItem.json +180 -0
- package/build/android/Callout.json +51 -0
- package/build/android/Card.json +277 -0
- package/build/android/Carousel.json +41 -0
- package/build/android/CarouselTabsPanelItem.json +173 -0
- package/build/android/CarouselThumbnail.json +61 -0
- package/build/android/Checkbox.json +131 -0
- package/build/android/CheckboxCard.json +259 -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 +181 -0
- package/build/android/DatePicker.json +171 -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 +83 -0
- package/build/android/ExpandCollapseMini.json +7 -0
- package/build/android/ExpandCollapseMiniControl.json +130 -0
- package/build/android/ExpandCollapsePanel.json +84 -0
- package/build/android/Feedback.json +136 -0
- package/build/android/Fieldset.json +41 -0
- package/build/android/Footnote.json +125 -0
- package/build/android/FootnoteLink.json +18 -0
- package/build/android/HorizontalScrollButton.json +78 -0
- package/build/android/Icon.json +174 -0
- package/build/android/IconButton.json +488 -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 +200 -0
- package/build/android/List.json +100 -0
- package/build/android/Listbox.json +242 -0
- package/build/android/Modal.json +194 -0
- package/build/android/MultiSelectFilter.json +70 -0
- package/build/android/NavigationBar.json +147 -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 +100 -0
- package/build/android/PaginationSideButton.json +154 -0
- package/build/android/PreviewCard.json +39 -0
- package/build/android/PriceLockup.json +141 -0
- package/build/android/Progress.json +35 -0
- package/build/android/ProgressBar.json +95 -0
- package/build/android/QuantitySelector.json +123 -0
- package/build/android/QuantitySelectorSideButton.json +197 -0
- package/build/android/QuickLinks.json +29 -0
- package/build/android/QuickLinksButton.json +84 -0
- package/build/android/QuickLinksCard.json +27 -0
- package/build/android/QuickLinksFeature.json +9 -0
- package/build/android/QuickLinksFeatureItem.json +64 -0
- package/build/android/QuickLinksList.json +94 -0
- package/build/android/Radio.json +150 -0
- package/build/android/RadioCard.json +259 -0
- package/build/android/RadioCardGroup.json +38 -0
- package/build/android/RadioGroup.json +15 -0
- package/build/android/Ribbon.json +140 -0
- package/build/android/Search.json +115 -0
- package/build/android/SearchButton.json +130 -0
- package/build/android/Select.json +178 -0
- package/build/android/SideNav.json +14 -0
- package/build/android/SideNavItem.json +167 -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 +231 -0
- package/build/android/Tabs.json +43 -0
- package/build/android/TabsItem.json +301 -0
- package/build/android/Tags.json +27 -0
- package/build/android/TagsItem.json +214 -0
- package/build/android/TermsAndConditions.json +116 -0
- package/build/android/Testimonial.json +65 -0
- package/build/android/TextArea.json +8 -0
- package/build/android/TextInput.json +167 -0
- package/build/android/Timeline.json +67 -0
- package/build/android/Toast.json +74 -0
- package/build/android/ToggleSwitch.json +213 -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 +700 -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 +1005 -952
- package/build/android/spacingScale.json +185 -0
- package/build/android/theme.json +114 -28
- package/build/ios/ActivityIndicator.json +30 -0
- package/build/ios/Badge.json +314 -0
- package/build/ios/BlockQuote.json +72 -0
- package/build/ios/Box.json +644 -0
- package/build/ios/Breadcrumbs.json +62 -0
- package/build/ios/Button.json +527 -0
- package/build/ios/ButtonDropdown.json +232 -0
- package/build/ios/ButtonGroup.json +43 -0
- package/build/ios/ButtonGroupItem.json +180 -0
- package/build/ios/Callout.json +51 -0
- package/build/ios/Card.json +277 -0
- package/build/ios/Carousel.json +41 -0
- package/build/ios/CarouselTabsPanelItem.json +173 -0
- package/build/ios/CarouselThumbnail.json +61 -0
- package/build/ios/Checkbox.json +131 -0
- package/build/ios/CheckboxCard.json +259 -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 +181 -0
- package/build/ios/DatePicker.json +171 -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 +83 -0
- package/build/ios/ExpandCollapseMini.json +7 -0
- package/build/ios/ExpandCollapseMiniControl.json +130 -0
- package/build/ios/ExpandCollapsePanel.json +84 -0
- package/build/ios/Feedback.json +136 -0
- package/build/ios/Fieldset.json +41 -0
- package/build/ios/Footnote.json +125 -0
- package/build/ios/FootnoteLink.json +18 -0
- package/build/ios/HorizontalScrollButton.json +78 -0
- package/build/ios/Icon.json +174 -0
- package/build/ios/IconButton.json +488 -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 +200 -0
- package/build/ios/List.json +100 -0
- package/build/ios/Listbox.json +242 -0
- package/build/ios/Modal.json +194 -0
- package/build/ios/MultiSelectFilter.json +70 -0
- package/build/ios/NavigationBar.json +147 -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 +100 -0
- package/build/ios/PaginationSideButton.json +154 -0
- package/build/ios/PreviewCard.json +39 -0
- package/build/ios/PriceLockup.json +141 -0
- package/build/ios/Progress.json +35 -0
- package/build/ios/ProgressBar.json +95 -0
- package/build/ios/QuantitySelector.json +123 -0
- package/build/ios/QuantitySelectorSideButton.json +197 -0
- package/build/ios/QuickLinks.json +29 -0
- package/build/ios/QuickLinksButton.json +84 -0
- package/build/ios/QuickLinksCard.json +27 -0
- package/build/ios/QuickLinksFeature.json +9 -0
- package/build/ios/QuickLinksFeatureItem.json +64 -0
- package/build/ios/QuickLinksList.json +94 -0
- package/build/ios/Radio.json +150 -0
- package/build/ios/RadioCard.json +259 -0
- package/build/ios/RadioCardGroup.json +38 -0
- package/build/ios/RadioGroup.json +15 -0
- package/build/ios/Ribbon.json +140 -0
- package/build/ios/Search.json +115 -0
- package/build/ios/SearchButton.json +130 -0
- package/build/ios/Select.json +178 -0
- package/build/ios/SideNav.json +14 -0
- package/build/ios/SideNavItem.json +167 -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 +231 -0
- package/build/ios/Tabs.json +43 -0
- package/build/ios/TabsItem.json +301 -0
- package/build/ios/Tags.json +27 -0
- package/build/ios/TagsItem.json +214 -0
- package/build/ios/TermsAndConditions.json +116 -0
- package/build/ios/Testimonial.json +65 -0
- package/build/ios/TextArea.json +8 -0
- package/build/ios/TextInput.json +167 -0
- package/build/ios/Timeline.json +67 -0
- package/build/ios/Toast.json +74 -0
- package/build/ios/ToggleSwitch.json +213 -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 +700 -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 +1005 -952
- package/build/ios/spacingScale.json +185 -0
- package/build/ios/theme.json +114 -28
- package/build/rn/ActivityIndicator.js +20 -0
- package/build/rn/Badge.js +129 -0
- package/build/rn/BlockQuote.js +55 -0
- package/build/rn/Box.js +214 -0
- package/build/rn/Breadcrumbs.js +34 -0
- package/build/rn/Button.js +314 -0
- package/build/rn/ButtonDropdown.js +143 -0
- package/build/rn/ButtonGroup.js +39 -0
- package/build/rn/ButtonGroupItem.js +125 -0
- package/build/rn/Callout.js +32 -0
- package/build/rn/Card.js +181 -0
- package/build/rn/Carousel.js +36 -0
- package/build/rn/CarouselTabsPanelItem.js +151 -0
- package/build/rn/CarouselThumbnail.js +62 -0
- package/build/rn/Checkbox.js +92 -0
- package/build/rn/CheckboxCard.js +159 -0
- package/build/rn/CheckboxCardGroup.js +45 -0
- package/build/rn/CheckboxGroup.js +24 -0
- package/build/rn/ChevronLink.js +100 -0
- package/build/rn/ColourToggle.js +93 -0
- package/build/rn/Countdown.js +90 -0
- package/build/rn/DatePicker.js +61 -0
- package/build/rn/Disclaimer.js +20 -0
- package/build/rn/Divider.js +26 -0
- package/build/rn/ExpandCollapse.js +14 -0
- package/build/rn/ExpandCollapseControl.js +56 -0
- package/build/rn/ExpandCollapseMini.js +10 -0
- package/build/rn/ExpandCollapseMiniControl.js +71 -0
- package/build/rn/ExpandCollapsePanel.js +53 -0
- package/build/rn/Feedback.js +67 -0
- package/build/rn/Fieldset.js +26 -0
- package/build/rn/Footnote.js +98 -0
- package/build/rn/FootnoteLink.js +22 -0
- package/build/rn/HorizontalScrollButton.js +63 -0
- package/build/rn/Icon.js +48 -0
- package/build/rn/IconButton.js +295 -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 +173 -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 +128 -0
- package/build/rn/Notification.js +118 -0
- package/build/rn/OrderedList.js +58 -0
- package/build/rn/Pagination.js +44 -0
- package/build/rn/PaginationPageButton.js +88 -0
- package/build/rn/PaginationSideButton.js +125 -0
- package/build/rn/PreviewCard.js +58 -0
- package/build/rn/PriceLockup.js +104 -0
- package/build/rn/Progress.js +20 -0
- package/build/rn/ProgressBar.js +48 -0
- package/build/rn/QuantitySelector.js +54 -0
- package/build/rn/QuantitySelectorSideButton.js +102 -0
- package/build/rn/QuickLinks.js +32 -0
- package/build/rn/QuickLinksButton.js +68 -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 +84 -0
- package/build/rn/Radio.js +93 -0
- package/build/rn/RadioCard.js +159 -0
- package/build/rn/RadioCardGroup.js +41 -0
- package/build/rn/RadioGroup.js +24 -0
- package/build/rn/Ribbon.js +74 -0
- package/build/rn/Search.js +72 -0
- package/build/rn/SearchButton.js +96 -0
- package/build/rn/Select.js +95 -0
- package/build/rn/SideNav.js +14 -0
- package/build/rn/SideNavItem.js +123 -0
- package/build/rn/SideNavItemsGroup.js +37 -0
- package/build/rn/Skeleton.js +24 -0
- package/build/rn/SkipLink.js +46 -0
- package/build/rn/Spinner.js +18 -0
- package/build/rn/SplashButton.js +31 -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 +145 -0
- package/build/rn/Tabs.js +36 -0
- package/build/rn/TabsItem.js +127 -0
- package/build/rn/Tags.js +27 -0
- package/build/rn/TagsItem.js +136 -0
- package/build/rn/TermsAndConditions.js +82 -0
- package/build/rn/Testimonial.js +58 -0
- package/build/rn/TextArea.js +10 -0
- package/build/rn/TextInput.js +114 -0
- package/build/rn/Timeline.js +58 -0
- package/build/rn/Toast.js +43 -0
- package/build/rn/ToggleSwitch.js +146 -0
- package/build/rn/ToggleSwitchGroup.js +28 -0
- package/build/rn/Tooltip.js +42 -0
- package/build/rn/TooltipButton.js +57 -0
- package/build/rn/Typography.js +338 -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 +70 -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 +1005 -952
- package/build/rn/spacingScale.js +68 -0
- package/build/rn/theme.js +67 -23
- package/build/web/ActivityIndicator.js +20 -0
- package/build/web/Badge.js +129 -0
- package/build/web/BlockQuote.js +55 -0
- package/build/web/Box.js +214 -0
- package/build/web/Breadcrumbs.js +34 -0
- package/build/web/Button.js +221 -0
- package/build/web/ButtonDropdown.js +108 -0
- package/build/web/ButtonGroup.js +39 -0
- package/build/web/ButtonGroupItem.js +91 -0
- package/build/web/Callout.js +32 -0
- package/build/web/Card.js +158 -0
- package/build/web/Carousel.js +36 -0
- package/build/web/CarouselTabsPanelItem.js +95 -0
- package/build/web/CarouselThumbnail.js +45 -0
- package/build/web/Checkbox.js +63 -0
- package/build/web/CheckboxCard.js +125 -0
- package/build/web/CheckboxCardGroup.js +45 -0
- package/build/web/CheckboxGroup.js +24 -0
- package/build/web/ChevronLink.js +63 -0
- package/build/web/ColourToggle.js +65 -0
- package/build/web/Countdown.js +90 -0
- package/build/web/DatePicker.js +61 -0
- package/build/web/Disclaimer.js +20 -0
- package/build/web/Divider.js +26 -0
- package/build/web/ExpandCollapse.js +14 -0
- package/build/web/ExpandCollapseControl.js +56 -0
- package/build/web/ExpandCollapseMini.js +10 -0
- package/build/web/ExpandCollapseMiniControl.js +71 -0
- package/build/web/ExpandCollapsePanel.js +53 -0
- package/build/web/Feedback.js +67 -0
- package/build/web/Fieldset.js +26 -0
- package/build/web/Footnote.js +98 -0
- package/build/web/FootnoteLink.js +22 -0
- package/build/web/HorizontalScrollButton.js +47 -0
- package/build/web/Icon.js +48 -0
- package/build/web/IconButton.js +220 -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 +105 -0
- package/build/web/List.js +75 -0
- package/build/web/Listbox.js +138 -0
- package/build/web/Modal.js +143 -0
- package/build/web/MultiSelectFilter.js +62 -0
- package/build/web/NavigationBar.js +89 -0
- package/build/web/Notification.js +118 -0
- package/build/web/OrderedList.js +58 -0
- package/build/web/Pagination.js +44 -0
- package/build/web/PaginationPageButton.js +62 -0
- package/build/web/PaginationSideButton.js +100 -0
- package/build/web/PreviewCard.js +28 -0
- package/build/web/PriceLockup.js +104 -0
- package/build/web/Progress.js +20 -0
- package/build/web/ProgressBar.js +48 -0
- package/build/web/QuantitySelector.js +54 -0
- package/build/web/QuantitySelectorSideButton.js +102 -0
- package/build/web/QuickLinks.js +32 -0
- package/build/web/QuickLinksButton.js +53 -0
- package/build/web/QuickLinksCard.js +26 -0
- package/build/web/QuickLinksFeature.js +14 -0
- package/build/web/QuickLinksFeatureItem.js +48 -0
- package/build/web/QuickLinksList.js +56 -0
- package/build/web/Radio.js +76 -0
- package/build/web/RadioCard.js +125 -0
- package/build/web/RadioCardGroup.js +41 -0
- package/build/web/RadioGroup.js +24 -0
- package/build/web/Ribbon.js +74 -0
- package/build/web/Search.js +62 -0
- package/build/web/SearchButton.js +67 -0
- package/build/web/Select.js +88 -0
- package/build/web/SideNav.js +14 -0
- package/build/web/SideNavItem.js +94 -0
- package/build/web/SideNavItemsGroup.js +37 -0
- package/build/web/Skeleton.js +24 -0
- package/build/web/SkipLink.js +35 -0
- package/build/web/Spinner.js +18 -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 +145 -0
- package/build/web/Tabs.js +36 -0
- package/build/web/TabsItem.js +127 -0
- package/build/web/Tags.js +27 -0
- package/build/web/TagsItem.js +102 -0
- package/build/web/TermsAndConditions.js +82 -0
- package/build/web/Testimonial.js +58 -0
- package/build/web/TextArea.js +10 -0
- package/build/web/TextInput.js +104 -0
- package/build/web/Timeline.js +58 -0
- package/build/web/Toast.js +43 -0
- package/build/web/ToggleSwitch.js +105 -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 +338 -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 +20672 -0
- package/build/web/spacingScale.js +68 -0
- package/build/web/theme.js +6030 -0
- package/package.json +6 -5
- package/theme.json +68 -18
|
@@ -0,0 +1,338 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Thu, 18 Jan 2024 22:42:16 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
const theme = {
|
|
10
|
+
appearances: {
|
|
11
|
+
bold: {
|
|
12
|
+
description: 'Sets the font weight, to bold on some body text styles. Does not change accessibility properties.',
|
|
13
|
+
type: 'variant',
|
|
14
|
+
values: [ true ]
|
|
15
|
+
},
|
|
16
|
+
colour: {
|
|
17
|
+
description: 'Each typography variant has a default color, and at least a secondary color variant. In exceptional cases where a different colour is needed,\n' +
|
|
18
|
+
' use the tokens prop.',
|
|
19
|
+
type: 'variant',
|
|
20
|
+
values: [
|
|
21
|
+
'default', 'brand',
|
|
22
|
+
'dark', 'light',
|
|
23
|
+
'positive', 'warning',
|
|
24
|
+
'danger', 'black',
|
|
25
|
+
'white', 'brand2',
|
|
26
|
+
'brand3', 'alternative1',
|
|
27
|
+
'alternative2', 'alternative3'
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
compact: {
|
|
31
|
+
description: 'Reduces line height on some body text styles. For data-rich content, not for flow content',
|
|
32
|
+
type: 'variant',
|
|
33
|
+
values: [ true ]
|
|
34
|
+
},
|
|
35
|
+
inverse: {
|
|
36
|
+
description: 'Styles the link white for use on dark backgrounds.',
|
|
37
|
+
type: 'variant',
|
|
38
|
+
values: [ true ]
|
|
39
|
+
},
|
|
40
|
+
size: {
|
|
41
|
+
description: 'Styles text as body or heading text with a given size. Smaller numbers indicate larger sizes,\n' +
|
|
42
|
+
'"display" headings are larger than "h" headings. Default is medium size body text. Does not change\n' +
|
|
43
|
+
'accessibility or SEO-related properties; use the heading prop if text should be treated semantically as a heading.',
|
|
44
|
+
type: 'variant',
|
|
45
|
+
values: [
|
|
46
|
+
'micro', 'small',
|
|
47
|
+
'large', 'eyebrow',
|
|
48
|
+
'h1', 'h2',
|
|
49
|
+
'h3', 'h4',
|
|
50
|
+
'h5', 'h6',
|
|
51
|
+
'display1', 'display2'
|
|
52
|
+
]
|
|
53
|
+
},
|
|
54
|
+
viewport: {
|
|
55
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
56
|
+
type: 'state',
|
|
57
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
58
|
+
},
|
|
59
|
+
weight: {
|
|
60
|
+
description: 'Sets the font weight, default is regular 400 weight. Does not change accessibility properties.',
|
|
61
|
+
type: 'variant',
|
|
62
|
+
values: [ 'semibold', 'bold' ]
|
|
63
|
+
}
|
|
64
|
+
},
|
|
65
|
+
rules: [
|
|
66
|
+
{
|
|
67
|
+
if: { size: [ 'display1', 'display2', 'h1', 'h2', 'h3' ] },
|
|
68
|
+
tokens: { color: '#4b286d' }
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
if: {
|
|
72
|
+
colour: 'dark',
|
|
73
|
+
size: [ 'display1', 'display2', 'h1', 'h2', 'h3' ]
|
|
74
|
+
},
|
|
75
|
+
tokens: { color: '#2c2e30' }
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
if: { colour: 'light', size: 'h6' },
|
|
79
|
+
tokens: { color: '#676e73' }
|
|
80
|
+
},
|
|
81
|
+
{
|
|
82
|
+
if: { colour: 'dark', size: 'eyebrow' },
|
|
83
|
+
tokens: { color: '#7c53a5' }
|
|
84
|
+
},
|
|
85
|
+
{ if: { inverse: true }, tokens: { color: '#ffffff' } },
|
|
86
|
+
{
|
|
87
|
+
if: { size: 'display1' },
|
|
88
|
+
tokens: {
|
|
89
|
+
fontName: 'HelveticaNow',
|
|
90
|
+
fontSize: 40,
|
|
91
|
+
fontWeight: '300',
|
|
92
|
+
letterSpacing: -0.035,
|
|
93
|
+
lineHeight: 1.2,
|
|
94
|
+
superScriptFontSize: 24
|
|
95
|
+
}
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
if: { size: 'display1', viewport: [ 'lg', 'xl' ] },
|
|
99
|
+
tokens: { fontSize: 64, lineHeight: 1.125, superScriptFontSize: 32 }
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
if: { size: 'display2' },
|
|
103
|
+
tokens: {
|
|
104
|
+
fontName: 'HelveticaNow',
|
|
105
|
+
fontSize: 36,
|
|
106
|
+
fontWeight: '400',
|
|
107
|
+
letterSpacing: -0.035,
|
|
108
|
+
lineHeight: 1.22222222222,
|
|
109
|
+
superScriptFontSize: 24
|
|
110
|
+
}
|
|
111
|
+
},
|
|
112
|
+
{
|
|
113
|
+
if: { size: 'display2', viewport: [ 'lg', 'xl' ] },
|
|
114
|
+
tokens: {
|
|
115
|
+
fontName: 'HelveticaNow',
|
|
116
|
+
fontSize: 56,
|
|
117
|
+
fontWeight: '300',
|
|
118
|
+
letterSpacing: -0.039,
|
|
119
|
+
lineHeight: 1.14285714286,
|
|
120
|
+
superScriptFontSize: 32
|
|
121
|
+
}
|
|
122
|
+
},
|
|
123
|
+
{
|
|
124
|
+
if: { size: 'h1' },
|
|
125
|
+
tokens: {
|
|
126
|
+
fontSize: 28,
|
|
127
|
+
letterSpacing: -0.017,
|
|
128
|
+
lineHeight: 1.28571428571,
|
|
129
|
+
superScriptFontSize: 20
|
|
130
|
+
}
|
|
131
|
+
},
|
|
132
|
+
{
|
|
133
|
+
if: { size: 'h1', viewport: [ 'lg', 'xl' ] },
|
|
134
|
+
tokens: {
|
|
135
|
+
fontName: 'HelveticaNow',
|
|
136
|
+
fontSize: 40,
|
|
137
|
+
fontWeight: '300',
|
|
138
|
+
letterSpacing: -0.035,
|
|
139
|
+
lineHeight: 1.2,
|
|
140
|
+
superScriptFontSize: 24
|
|
141
|
+
}
|
|
142
|
+
},
|
|
143
|
+
{
|
|
144
|
+
if: { size: 'h2' },
|
|
145
|
+
tokens: {
|
|
146
|
+
fontName: 'HelveticaNow',
|
|
147
|
+
fontSize: 24,
|
|
148
|
+
fontWeight: '400',
|
|
149
|
+
lineHeight: 1.33333333333,
|
|
150
|
+
superScriptFontSize: 16
|
|
151
|
+
}
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
if: { size: 'h2', viewport: [ 'lg', 'xl' ] },
|
|
155
|
+
tokens: {
|
|
156
|
+
fontSize: 28,
|
|
157
|
+
letterSpacing: -0.017,
|
|
158
|
+
lineHeight: 1.28571428571,
|
|
159
|
+
superScriptFontSize: 20
|
|
160
|
+
}
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
if: { size: 'h3' },
|
|
164
|
+
tokens: {
|
|
165
|
+
fontName: 'HelveticaNow',
|
|
166
|
+
fontSize: 20,
|
|
167
|
+
fontWeight: '500',
|
|
168
|
+
lineHeight: 1.4,
|
|
169
|
+
superScriptFontSize: 16
|
|
170
|
+
}
|
|
171
|
+
},
|
|
172
|
+
{
|
|
173
|
+
if: { size: 'h3', viewport: [ 'lg', 'xl' ] },
|
|
174
|
+
tokens: { fontSize: 24, lineHeight: 1.33333333333 }
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
if: { size: 'h4' },
|
|
178
|
+
tokens: {
|
|
179
|
+
fontName: 'HelveticaNow',
|
|
180
|
+
fontSize: 16,
|
|
181
|
+
fontWeight: '500',
|
|
182
|
+
lineHeight: 1.5,
|
|
183
|
+
superScriptFontSize: 16
|
|
184
|
+
}
|
|
185
|
+
},
|
|
186
|
+
{
|
|
187
|
+
if: { size: 'h5' },
|
|
188
|
+
tokens: {
|
|
189
|
+
fontName: 'HelveticaNow',
|
|
190
|
+
fontSize: 14,
|
|
191
|
+
fontWeight: '500',
|
|
192
|
+
lineHeight: 1.28571428571
|
|
193
|
+
}
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
if: { size: [ 'h5', 'h6' ] },
|
|
197
|
+
tokens: { superScriptFontSize: 12 }
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
if: { size: 'h6' },
|
|
201
|
+
tokens: {
|
|
202
|
+
fontName: 'HelveticaNow',
|
|
203
|
+
fontSize: 12,
|
|
204
|
+
fontWeight: '700',
|
|
205
|
+
lineHeight: 1.33333333333
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
if: { size: 'large' },
|
|
210
|
+
tokens: { fontSize: 20, lineHeight: 1.6, superScriptFontSize: 16 }
|
|
211
|
+
},
|
|
212
|
+
{
|
|
213
|
+
if: { compact: true, size: 'large' },
|
|
214
|
+
tokens: { lineHeight: 1.2 }
|
|
215
|
+
},
|
|
216
|
+
{
|
|
217
|
+
description: "The compact line height for the 'default' font size, but doesn't apply for any other styles",
|
|
218
|
+
if: { compact: true, size: null },
|
|
219
|
+
tokens: { lineHeight: 1.25 }
|
|
220
|
+
},
|
|
221
|
+
{
|
|
222
|
+
if: { size: 'small' },
|
|
223
|
+
tokens: {
|
|
224
|
+
fontSize: 14,
|
|
225
|
+
lineHeight: 1.42857142857,
|
|
226
|
+
superScriptFontSize: 12
|
|
227
|
+
}
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
if: { compact: true, size: 'small' },
|
|
231
|
+
tokens: { lineHeight: 1.14285714286 }
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
if: { size: 'micro' },
|
|
235
|
+
tokens: {
|
|
236
|
+
fontName: 'HelveticaNow',
|
|
237
|
+
fontSize: 12,
|
|
238
|
+
fontWeight: '500',
|
|
239
|
+
lineHeight: 1.33333333333,
|
|
240
|
+
superScriptFontSize: 12
|
|
241
|
+
}
|
|
242
|
+
},
|
|
243
|
+
{
|
|
244
|
+
if: { size: 'eyebrow' },
|
|
245
|
+
tokens: {
|
|
246
|
+
color: '#7c53a5',
|
|
247
|
+
fontName: 'HelveticaNow',
|
|
248
|
+
fontSize: 14,
|
|
249
|
+
fontWeight: '700',
|
|
250
|
+
lineHeight: 1.42857142857,
|
|
251
|
+
textTransform: 'uppercase'
|
|
252
|
+
}
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
description: 'Please only bold single words while using with headings',
|
|
256
|
+
if: { bold: true },
|
|
257
|
+
tokens: { fontName: 'HelveticaNow', fontWeight: '700' }
|
|
258
|
+
},
|
|
259
|
+
{
|
|
260
|
+
if: { bold: true, size: 'micro' },
|
|
261
|
+
tokens: { fontName: 'HelveticaNow', fontWeight: '700' }
|
|
262
|
+
},
|
|
263
|
+
{
|
|
264
|
+
if: { bold: true, size: 'display1' },
|
|
265
|
+
tokens: { fontName: 'HelveticaNow', fontWeight: '400' }
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
if: {
|
|
269
|
+
bold: true,
|
|
270
|
+
size: [ 'display2' ],
|
|
271
|
+
viewport: [ 'xs', 'sm', 'md' ]
|
|
272
|
+
},
|
|
273
|
+
tokens: { fontName: 'HelveticaNow', fontWeight: '500' }
|
|
274
|
+
},
|
|
275
|
+
{
|
|
276
|
+
if: { bold: true, size: [ 'display2' ], viewport: [ 'lg', 'xl' ] },
|
|
277
|
+
tokens: { fontName: 'HelveticaNow', fontWeight: '400' }
|
|
278
|
+
},
|
|
279
|
+
{
|
|
280
|
+
if: { bold: true, size: 'h1', viewport: [ 'xs', 'sm', 'md' ] },
|
|
281
|
+
tokens: { fontName: 'HelveticaNow', fontWeight: '500' }
|
|
282
|
+
},
|
|
283
|
+
{
|
|
284
|
+
if: { bold: true, size: 'h1', viewport: [ 'lg', 'xl' ] },
|
|
285
|
+
tokens: { fontName: 'HelveticaNow', fontWeight: '400' }
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
if: { bold: true, size: 'h2' },
|
|
289
|
+
tokens: { fontName: 'HelveticaNow', fontWeight: '500' }
|
|
290
|
+
},
|
|
291
|
+
{
|
|
292
|
+
if: { bold: true, size: 'h3' },
|
|
293
|
+
tokens: { fontName: 'HelveticaNow', fontWeight: '700' }
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
if: {
|
|
297
|
+
bold: true,
|
|
298
|
+
size: [ 'h4', 'h5', 'h6' ],
|
|
299
|
+
viewport: [ 'xs', 'sm', 'md' ]
|
|
300
|
+
},
|
|
301
|
+
tokens: { fontName: 'HelveticaNow', fontWeight: '700' }
|
|
302
|
+
},
|
|
303
|
+
{
|
|
304
|
+
if: { weight: 'semibold' },
|
|
305
|
+
tokens: { fontName: 'HelveticaNow', fontWeight: '500' }
|
|
306
|
+
},
|
|
307
|
+
{
|
|
308
|
+
if: { weight: 'bold' },
|
|
309
|
+
tokens: { fontName: 'HelveticaNow', fontWeight: '700' }
|
|
310
|
+
},
|
|
311
|
+
{ if: { colour: 'default' }, tokens: { color: '#414547' } },
|
|
312
|
+
{ if: { colour: 'brand' }, tokens: { color: '#4b286d' } },
|
|
313
|
+
{ if: { colour: 'dark' }, tokens: { color: '#2c2e30' } },
|
|
314
|
+
{ if: { colour: 'light' }, tokens: { color: '#676e73' } },
|
|
315
|
+
{ if: { colour: 'positive' }, tokens: { color: '#2b8000' } },
|
|
316
|
+
{ if: { colour: 'warning' }, tokens: { color: '#b4872c' } },
|
|
317
|
+
{ if: { colour: 'danger' }, tokens: { color: '#c12335' } },
|
|
318
|
+
{ if: { colour: 'black' }, tokens: { color: '#000000' } },
|
|
319
|
+
{ if: { colour: 'white' }, tokens: { color: '#ffffff' } },
|
|
320
|
+
{ if: { colour: 'brand2' }, tokens: { color: '#2b8000' } },
|
|
321
|
+
{ if: { colour: 'brand3' }, tokens: { color: '#7c53a5' } },
|
|
322
|
+
{ if: { colour: 'alternative1' }, tokens: { color: '#4b286d' } },
|
|
323
|
+
{ if: { colour: 'alternative2' }, tokens: { color: '#4b286d' } },
|
|
324
|
+
{ if: { colour: 'alternative3' }, tokens: { color: '#4b286d' } }
|
|
325
|
+
],
|
|
326
|
+
tokens: {
|
|
327
|
+
color: '#414547',
|
|
328
|
+
fontName: 'HelveticaNow',
|
|
329
|
+
fontScaleCap: 64,
|
|
330
|
+
fontSize: 16,
|
|
331
|
+
fontWeight: '400',
|
|
332
|
+
letterSpacing: 0,
|
|
333
|
+
lineHeight: 1.5,
|
|
334
|
+
superScriptFontSize: 16,
|
|
335
|
+
textTransform: 'none'
|
|
336
|
+
}
|
|
337
|
+
}
|
|
338
|
+
export default theme
|
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Thu, 18 Jan 2024 22:42:16 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import PaletteIconPause from '@telus-uds/palette-allium/build/rn/icons/Pause'
|
|
9
|
+
import PaletteIconPlaySolid from '@telus-uds/palette-allium/build/rn/icons/PlaySolid'
|
|
10
|
+
import PaletteIconReplay from '@telus-uds/palette-allium/build/rn/icons/Replay'
|
|
11
|
+
const theme = {
|
|
12
|
+
appearances: {},
|
|
13
|
+
rules: [],
|
|
14
|
+
tokens: {
|
|
15
|
+
borderColor: '#b2b9bf',
|
|
16
|
+
pauseIcon: PaletteIconPause,
|
|
17
|
+
playIcon: PaletteIconPlaySolid,
|
|
18
|
+
replayIcon: PaletteIconReplay
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
export default theme
|
|
@@ -0,0 +1,47 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Thu, 18 Jan 2024 22:42:16 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import PaletteIconClosedCaptions from '@telus-uds/palette-allium/build/rn/icons/ClosedCaptions'
|
|
9
|
+
import PaletteIconFullscreenExpand from '@telus-uds/palette-allium/build/rn/icons/FullscreenExpand'
|
|
10
|
+
import PaletteIconFullscreenMinimize from '@telus-uds/palette-allium/build/rn/icons/FullscreenMinimize'
|
|
11
|
+
import PaletteIconSettingsSolid from '@telus-uds/palette-allium/build/rn/icons/SettingsSolid'
|
|
12
|
+
const theme = {
|
|
13
|
+
appearances: {
|
|
14
|
+
viewport: {
|
|
15
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
16
|
+
type: 'state',
|
|
17
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
18
|
+
}
|
|
19
|
+
},
|
|
20
|
+
rules: [
|
|
21
|
+
{
|
|
22
|
+
if: { viewport: [ 'xs', 'sm' ] },
|
|
23
|
+
tokens: {
|
|
24
|
+
height: 40,
|
|
25
|
+
paddingBottom: 8,
|
|
26
|
+
paddingLeft: 16,
|
|
27
|
+
paddingRight: 16,
|
|
28
|
+
paddingTop: 8
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
tokens: {
|
|
33
|
+
captionsIcon: PaletteIconClosedCaptions,
|
|
34
|
+
height: 56,
|
|
35
|
+
maximizeIcon: PaletteIconFullscreenExpand,
|
|
36
|
+
menuBottom: 64,
|
|
37
|
+
menuMarginLeft: 16,
|
|
38
|
+
menuRight: 32,
|
|
39
|
+
minimizeIcon: PaletteIconFullscreenMinimize,
|
|
40
|
+
paddingBottom: 16,
|
|
41
|
+
paddingLeft: 48,
|
|
42
|
+
paddingRight: 48,
|
|
43
|
+
paddingTop: 16,
|
|
44
|
+
settingsIcon: PaletteIconSettingsSolid
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
export default theme
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Thu, 18 Jan 2024 22:42:16 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import PaletteIconCheckmark from '@telus-uds/palette-allium/build/rn/icons/Checkmark'
|
|
9
|
+
const theme = {
|
|
10
|
+
appearances: {},
|
|
11
|
+
rules: [],
|
|
12
|
+
tokens: {
|
|
13
|
+
background: '#2c2e30',
|
|
14
|
+
checkMarkFocusColor: '#676e73',
|
|
15
|
+
checkMarkHeight: 24,
|
|
16
|
+
checkMarkHoverColor: '#676e73',
|
|
17
|
+
checkMarkIcon: PaletteIconCheckmark,
|
|
18
|
+
checkMarkSelectedColor: '#ffffff',
|
|
19
|
+
checkMarkUnselectedColor: 'rgba(0, 0, 0, 0)',
|
|
20
|
+
checkMarkWidth: 24,
|
|
21
|
+
padding: 16
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
export default theme
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Thu, 18 Jan 2024 22:42:16 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
const theme = {
|
|
10
|
+
appearances: {},
|
|
11
|
+
rules: [],
|
|
12
|
+
tokens: {
|
|
13
|
+
background: '#2c2e30',
|
|
14
|
+
height: 64,
|
|
15
|
+
iconColor: '#ffffff',
|
|
16
|
+
width: 64
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
export default theme
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Thu, 18 Jan 2024 22:42:16 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
const theme = {
|
|
10
|
+
appearances: {},
|
|
11
|
+
rules: [],
|
|
12
|
+
tokens: {
|
|
13
|
+
framedContainerBackgroundColor: '#fafafa',
|
|
14
|
+
framedContainerBorderColor: '#e3e6e8',
|
|
15
|
+
framedContainerBorderRadius: 4,
|
|
16
|
+
framedContainerBorderWidth: 1,
|
|
17
|
+
framedContainerPadding: 24,
|
|
18
|
+
framedMaxHeight: 640,
|
|
19
|
+
stackViewDividerColor: '#e3e6e8'
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
export default theme
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Thu, 18 Jan 2024 22:42:16 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import PaletteIconArrowRight from '@telus-uds/palette-allium/build/rn/icons/ArrowRight'
|
|
9
|
+
import PaletteIconArrowLeft from '@telus-uds/palette-allium/build/rn/icons/ArrowLeft'
|
|
10
|
+
const theme = {
|
|
11
|
+
appearances: {},
|
|
12
|
+
rules: [],
|
|
13
|
+
tokens: {
|
|
14
|
+
nextIcon: PaletteIconArrowRight,
|
|
15
|
+
previousIcon: PaletteIconArrowLeft
|
|
16
|
+
}
|
|
17
|
+
}
|
|
18
|
+
export default theme
|
|
@@ -0,0 +1,50 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Thu, 18 Jan 2024 22:42:16 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
const theme = {
|
|
10
|
+
appearances: {
|
|
11
|
+
pressed: {
|
|
12
|
+
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.',
|
|
13
|
+
type: 'state',
|
|
14
|
+
values: [ true, false ]
|
|
15
|
+
},
|
|
16
|
+
selected: {
|
|
17
|
+
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`.',
|
|
18
|
+
type: 'state',
|
|
19
|
+
values: [ true ]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
rules: [
|
|
23
|
+
{
|
|
24
|
+
if: { pressed: true },
|
|
25
|
+
tokens: { borderColor: '#676e73', borderWidth: 3 }
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
if: { selected: true },
|
|
29
|
+
tokens: { borderColor: '#4b286d', borderWidth: 2, titleColor: '#4b286d' }
|
|
30
|
+
}
|
|
31
|
+
],
|
|
32
|
+
tokens: {
|
|
33
|
+
borderColor: '#e3e6e8',
|
|
34
|
+
borderRadius: 4,
|
|
35
|
+
borderWidth: 2,
|
|
36
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
37
|
+
outerBorderGap: 2,
|
|
38
|
+
outerBorderRadius: 8,
|
|
39
|
+
outerBorderWidth: 2,
|
|
40
|
+
pressableBorderTopColor: '#e3e6e8',
|
|
41
|
+
pressableBorderTopWidth: 1,
|
|
42
|
+
pressablePaddingBottom: 16,
|
|
43
|
+
pressablePaddingHorizontal: 24,
|
|
44
|
+
pressablePaddingVertical: 16,
|
|
45
|
+
splashButtonRadius: 4,
|
|
46
|
+
subTitleColor: '#676e73',
|
|
47
|
+
titleColor: '#414547'
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
export default theme
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Thu, 18 Jan 2024 22:42:16 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
const theme = {
|
|
10
|
+
appearances: {},
|
|
11
|
+
rules: [],
|
|
12
|
+
tokens: {
|
|
13
|
+
rangeBackground: 'rgba(0, 0, 0, 0)',
|
|
14
|
+
thumbBackground: '#ffffff',
|
|
15
|
+
thumbHeight: 8,
|
|
16
|
+
thumbWidth: 8,
|
|
17
|
+
timestampMarginLeft: 8,
|
|
18
|
+
timestampMarginRight: 8,
|
|
19
|
+
trackGradientEnd: '#66cc00',
|
|
20
|
+
trackGradientStart: '#66cc00'
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
export default theme
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Thu, 18 Jan 2024 22:42:16 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import PaletteIconMuted from '@telus-uds/palette-allium/build/rn/icons/Muted'
|
|
9
|
+
import PaletteIconUnmuted from '@telus-uds/palette-allium/build/rn/icons/Unmuted'
|
|
10
|
+
const theme = {
|
|
11
|
+
appearances: {},
|
|
12
|
+
rules: [],
|
|
13
|
+
tokens: {
|
|
14
|
+
marginLeft: 16,
|
|
15
|
+
marginRight: 16,
|
|
16
|
+
mutedIcon: PaletteIconMuted,
|
|
17
|
+
rangeBackground: 'rgba(0, 0, 0, 0)',
|
|
18
|
+
thumbBackground: '#ffffff',
|
|
19
|
+
thumbHeight: 8,
|
|
20
|
+
thumbWidth: 8,
|
|
21
|
+
trackGradientEnd: '#ffffff',
|
|
22
|
+
trackGradientStart: '#ffffff',
|
|
23
|
+
unmutedIcon: PaletteIconUnmuted
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
export default theme
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Thu, 18 Jan 2024 22:42:16 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
|
+
{ if: { viewport: [ 'xs' ] }, tokens: { rowSize: 2 } },
|
|
19
|
+
{ if: { viewport: [ 'sm', 'md' ] }, tokens: { rowSize: 3 } },
|
|
20
|
+
{ if: { viewport: [ 'lg', 'xl' ] }, tokens: { rowSize: 6 } }
|
|
21
|
+
],
|
|
22
|
+
tokens: {
|
|
23
|
+
itemBorderColor: '#b2b9bf',
|
|
24
|
+
itemPadding: 16,
|
|
25
|
+
rowBorderWidth: 1,
|
|
26
|
+
rowSize: 6
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
export default theme
|