@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,143 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Thu, 18 Jan 2024 22:42:16 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import PaletteIconClose from '@telus-uds/palette-allium/build/rn/icons/Close'
|
|
9
|
+
const theme = {
|
|
10
|
+
appearances: {
|
|
11
|
+
maxWidth: {
|
|
12
|
+
description: 'Whether a modal should expand responsively to the maximum of 8 layout columns width',
|
|
13
|
+
type: 'state',
|
|
14
|
+
values: [ true ]
|
|
15
|
+
},
|
|
16
|
+
viewport: {
|
|
17
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
18
|
+
type: 'state',
|
|
19
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
20
|
+
},
|
|
21
|
+
width: {
|
|
22
|
+
description: 'The width of the modal',
|
|
23
|
+
type: 'state',
|
|
24
|
+
values: [ 's', 'm', 'l', 'xl' ]
|
|
25
|
+
}
|
|
26
|
+
},
|
|
27
|
+
rules: [
|
|
28
|
+
{
|
|
29
|
+
if: { viewport: [ 'xs', 'sm' ] },
|
|
30
|
+
tokens: {
|
|
31
|
+
direction: 'column',
|
|
32
|
+
height: '100%',
|
|
33
|
+
paddingBottom: 24,
|
|
34
|
+
paddingLeft: 24,
|
|
35
|
+
paddingRight: 24,
|
|
36
|
+
paddingTop: 24
|
|
37
|
+
}
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
41
|
+
tokens: {
|
|
42
|
+
containerPaddingBottom: 32,
|
|
43
|
+
containerPaddingTop: 32,
|
|
44
|
+
direction: 'row',
|
|
45
|
+
maxWidth: 576
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
if: { viewport: [ 'md', 'lg', 'xl' ], width: 's' },
|
|
50
|
+
tokens: {
|
|
51
|
+
containerPaddingBottom: 32,
|
|
52
|
+
containerPaddingTop: 32,
|
|
53
|
+
maxWidth: 320
|
|
54
|
+
}
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
if: { viewport: [ 'md', 'lg', 'xl' ], width: 'm' },
|
|
58
|
+
tokens: {
|
|
59
|
+
containerPaddingBottom: 32,
|
|
60
|
+
containerPaddingTop: 32,
|
|
61
|
+
maxWidth: 480
|
|
62
|
+
}
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
if: { viewport: [ 'lg', 'xl' ], width: 'l' },
|
|
66
|
+
tokens: {
|
|
67
|
+
containerPaddingBottom: 32,
|
|
68
|
+
containerPaddingTop: 32,
|
|
69
|
+
maxWidth: 630
|
|
70
|
+
}
|
|
71
|
+
},
|
|
72
|
+
{
|
|
73
|
+
if: { viewport: 'xl', width: 'xl' },
|
|
74
|
+
tokens: {
|
|
75
|
+
containerPaddingBottom: 32,
|
|
76
|
+
containerPaddingTop: 32,
|
|
77
|
+
maxWidth: 768
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
if: { maxWidth: true, viewport: 'md' },
|
|
82
|
+
tokens: {
|
|
83
|
+
containerPaddingLeft: 16,
|
|
84
|
+
containerPaddingRight: 16,
|
|
85
|
+
maxWidth: 480
|
|
86
|
+
}
|
|
87
|
+
},
|
|
88
|
+
{
|
|
89
|
+
if: { maxWidth: true, viewport: 'lg' },
|
|
90
|
+
tokens: {
|
|
91
|
+
containerPaddingLeft: 16,
|
|
92
|
+
containerPaddingRight: 16,
|
|
93
|
+
maxWidth: 630
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
if: { maxWidth: true, viewport: 'xl' },
|
|
98
|
+
tokens: {
|
|
99
|
+
containerPaddingLeft: 16,
|
|
100
|
+
containerPaddingRight: 16,
|
|
101
|
+
maxWidth: 768
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
],
|
|
105
|
+
tokens: {
|
|
106
|
+
backdropColor: 'rgba(244, 244, 247, 0.97)',
|
|
107
|
+
backdropOpacity: 1,
|
|
108
|
+
backgroundColor: '#ffffff',
|
|
109
|
+
borderColor: '#e3e6e8',
|
|
110
|
+
borderRadius: 4,
|
|
111
|
+
cancelButtonColor: '#2b8000',
|
|
112
|
+
closeIcon: PaletteIconClose,
|
|
113
|
+
closeIconColor: '#414547',
|
|
114
|
+
closeIconSize: 16,
|
|
115
|
+
closePadding: 4,
|
|
116
|
+
containerPaddingBottom: 0,
|
|
117
|
+
containerPaddingLeft: 0,
|
|
118
|
+
containerPaddingRight: 0,
|
|
119
|
+
containerPaddingTop: 0,
|
|
120
|
+
direction: 'row',
|
|
121
|
+
gap: 16,
|
|
122
|
+
headingColor: '#414547',
|
|
123
|
+
headingPaddingRight: 24,
|
|
124
|
+
height: null,
|
|
125
|
+
marginLeft: 24,
|
|
126
|
+
marginRight: 24,
|
|
127
|
+
maxWidth: '100%',
|
|
128
|
+
paddingBottom: 24,
|
|
129
|
+
paddingLeft: 32,
|
|
130
|
+
paddingRight: 32,
|
|
131
|
+
paddingTop: 24,
|
|
132
|
+
shadow: {
|
|
133
|
+
blur: 8,
|
|
134
|
+
color: 'rgba(0, 0, 0, 0.1)',
|
|
135
|
+
inset: false,
|
|
136
|
+
offsetX: 0,
|
|
137
|
+
offsetY: 4,
|
|
138
|
+
spread: 0
|
|
139
|
+
},
|
|
140
|
+
subHeadingMarginTop: 8
|
|
141
|
+
}
|
|
142
|
+
}
|
|
143
|
+
export default theme
|
|
@@ -0,0 +1,62 @@
|
|
|
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
|
+
maxHeight: {
|
|
12
|
+
description: 'Whether MultiselectFilter modal should expand responsively to content or a set maximu height',
|
|
13
|
+
type: 'state',
|
|
14
|
+
values: [ true ]
|
|
15
|
+
},
|
|
16
|
+
maxWidth: {
|
|
17
|
+
description: 'Whether MultiselectFilter modal should expand to content or a set maximuh width',
|
|
18
|
+
type: 'state',
|
|
19
|
+
values: [ true ]
|
|
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
|
+
{
|
|
29
|
+
if: { viewport: [ 'xs' ] },
|
|
30
|
+
tokens: {
|
|
31
|
+
buttonDirection: 'column',
|
|
32
|
+
minHeight: '100%',
|
|
33
|
+
minWidth: '100%'
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
if: { maxHeight: true, viewport: [ 'sm', 'md', 'lg', 'xl' ] },
|
|
38
|
+
tokens: { maxHeightSize: 480 }
|
|
39
|
+
},
|
|
40
|
+
{
|
|
41
|
+
if: { maxWidth: true, viewport: [ 'sm', 'md', 'lg', 'xl' ] },
|
|
42
|
+
tokens: { maxWidthSize: 544 }
|
|
43
|
+
}
|
|
44
|
+
],
|
|
45
|
+
tokens: {
|
|
46
|
+
buttonDirection: 'row',
|
|
47
|
+
headerFontColor: '#414547',
|
|
48
|
+
headerFontName: 'HelveticaNow',
|
|
49
|
+
headerFontSize: 16,
|
|
50
|
+
headerFontWeight: '500',
|
|
51
|
+
headerLineHeight: 1.5,
|
|
52
|
+
maxHeightSize: 0,
|
|
53
|
+
maxWidthSize: 0,
|
|
54
|
+
minHeight: 412,
|
|
55
|
+
minWidth: 320,
|
|
56
|
+
subHeaderFontName: 'HelveticaNow',
|
|
57
|
+
subHeaderFontSize: 14,
|
|
58
|
+
subHeaderFontWeight: '400',
|
|
59
|
+
subHeaderLineHeight: 1.4
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export default theme
|
|
@@ -0,0 +1,89 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Thu, 18 Jan 2024 22:42:16 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import PaletteIconCaretDown from '@telus-uds/palette-allium/build/rn/icons/CaretDown'
|
|
9
|
+
import PaletteIconCaretUp from '@telus-uds/palette-allium/build/rn/icons/CaretUp'
|
|
10
|
+
const theme = {
|
|
11
|
+
appearances: {
|
|
12
|
+
expanded: {
|
|
13
|
+
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
14
|
+
type: 'state',
|
|
15
|
+
values: [ true, false ]
|
|
16
|
+
},
|
|
17
|
+
pressed: {
|
|
18
|
+
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.',
|
|
19
|
+
type: 'state',
|
|
20
|
+
values: [ true, false ]
|
|
21
|
+
},
|
|
22
|
+
selected: {
|
|
23
|
+
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`.',
|
|
24
|
+
type: 'state',
|
|
25
|
+
values: [ true ]
|
|
26
|
+
},
|
|
27
|
+
viewport: {
|
|
28
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
29
|
+
type: 'state',
|
|
30
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
rules: [
|
|
34
|
+
{
|
|
35
|
+
if: { selected: true },
|
|
36
|
+
tokens: {
|
|
37
|
+
backgroundColor: '#f4f4f7',
|
|
38
|
+
borderColor: '#f4f4f7',
|
|
39
|
+
color: '#4b286d',
|
|
40
|
+
fontName: 'HelveticaNow',
|
|
41
|
+
fontWeight: '700'
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
if: { pressed: true },
|
|
46
|
+
tokens: {
|
|
47
|
+
backgroundColor: '#e3e6e8',
|
|
48
|
+
borderColor: '#7c53a5',
|
|
49
|
+
borderWidth: 1,
|
|
50
|
+
color: '#4b286d'
|
|
51
|
+
}
|
|
52
|
+
},
|
|
53
|
+
{
|
|
54
|
+
if: { viewport: [ 'xs', 'sm', 'md' ] },
|
|
55
|
+
tokens: { textAlign: 'space-between', width: 288 }
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
if: { expanded: true },
|
|
59
|
+
tokens: { icoMenu: PaletteIconCaretUp }
|
|
60
|
+
}
|
|
61
|
+
],
|
|
62
|
+
tokens: {
|
|
63
|
+
alignSelf: 'flex-start',
|
|
64
|
+
backgroundColor: '#ffffff',
|
|
65
|
+
borderColor: '#ffffff',
|
|
66
|
+
borderRadius: 32,
|
|
67
|
+
borderWidth: 1,
|
|
68
|
+
color: '#414547',
|
|
69
|
+
fontName: 'HelveticaNow',
|
|
70
|
+
fontSize: 14,
|
|
71
|
+
fontWeight: '400',
|
|
72
|
+
icoMenu: PaletteIconCaretDown,
|
|
73
|
+
lineHeight: 1.14285714286,
|
|
74
|
+
minWidth: 0,
|
|
75
|
+
opacity: 1,
|
|
76
|
+
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
77
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
78
|
+
outerBorderGap: 0,
|
|
79
|
+
outerBorderWidth: 1,
|
|
80
|
+
paddingBottom: 8,
|
|
81
|
+
paddingLeft: 16,
|
|
82
|
+
paddingRight: 16,
|
|
83
|
+
paddingTop: 8,
|
|
84
|
+
shadow: null,
|
|
85
|
+
textAlign: 'center',
|
|
86
|
+
width: 0
|
|
87
|
+
}
|
|
88
|
+
}
|
|
89
|
+
export default theme
|
|
@@ -0,0 +1,118 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Thu, 18 Jan 2024 22:42:16 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import PaletteIconClose from '@telus-uds/palette-allium/build/rn/icons/Close'
|
|
9
|
+
import PaletteIconStatusInfo from '@telus-uds/palette-allium/build/rn/icons/StatusInfo'
|
|
10
|
+
import PaletteIconStatusSuccess from '@telus-uds/palette-allium/build/rn/icons/StatusSuccess'
|
|
11
|
+
import PaletteIconStatusWarning from '@telus-uds/palette-allium/build/rn/icons/StatusWarning'
|
|
12
|
+
import PaletteIconStatusError from '@telus-uds/palette-allium/build/rn/icons/StatusError'
|
|
13
|
+
const theme = {
|
|
14
|
+
appearances: {
|
|
15
|
+
style: { type: 'variant', values: [ 'system', 'subtle' ] },
|
|
16
|
+
validation: {
|
|
17
|
+
description: 'Validation states for form inputs',
|
|
18
|
+
type: 'state',
|
|
19
|
+
values: [ 'error', 'success', 'warning' ]
|
|
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
|
+
{
|
|
29
|
+
if: { viewport: [ 'xl' ] },
|
|
30
|
+
tokens: { justifyContent: 'center' }
|
|
31
|
+
},
|
|
32
|
+
{
|
|
33
|
+
if: { style: 'system' },
|
|
34
|
+
tokens: {
|
|
35
|
+
borderLeftWidth: 0,
|
|
36
|
+
borderRadius: 0,
|
|
37
|
+
borderRightWidth: 0,
|
|
38
|
+
borderTopWidth: 0,
|
|
39
|
+
iconGap: 8,
|
|
40
|
+
paddingBottom: 12,
|
|
41
|
+
paddingLeft: 12,
|
|
42
|
+
paddingRight: 12,
|
|
43
|
+
paddingTop: 12
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
if: { style: 'subtle' },
|
|
48
|
+
tokens: {
|
|
49
|
+
borderBottomWidth: 0,
|
|
50
|
+
borderLeftWidth: 0,
|
|
51
|
+
borderRadius: 0,
|
|
52
|
+
borderRightWidth: 0,
|
|
53
|
+
borderTopWidth: 0,
|
|
54
|
+
iconGap: 8,
|
|
55
|
+
paddingBottom: 12,
|
|
56
|
+
paddingLeft: 12,
|
|
57
|
+
paddingRight: 12,
|
|
58
|
+
paddingTop: 12
|
|
59
|
+
}
|
|
60
|
+
},
|
|
61
|
+
{
|
|
62
|
+
if: { validation: 'success' },
|
|
63
|
+
tokens: {
|
|
64
|
+
backgroundColor: '#f4f9f2',
|
|
65
|
+
borderColor: '#2b8000',
|
|
66
|
+
icon: PaletteIconStatusSuccess,
|
|
67
|
+
iconColor: '#2b8000'
|
|
68
|
+
}
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
if: { validation: 'warning' },
|
|
72
|
+
tokens: {
|
|
73
|
+
backgroundColor: '#fff9ee',
|
|
74
|
+
borderColor: '#b4872c',
|
|
75
|
+
dismissIcon: null,
|
|
76
|
+
icon: PaletteIconStatusWarning,
|
|
77
|
+
iconColor: '#b4872c'
|
|
78
|
+
}
|
|
79
|
+
},
|
|
80
|
+
{
|
|
81
|
+
if: { validation: 'error' },
|
|
82
|
+
tokens: {
|
|
83
|
+
backgroundColor: '#fff6f8',
|
|
84
|
+
borderColor: '#e12339',
|
|
85
|
+
dismissIcon: null,
|
|
86
|
+
icon: PaletteIconStatusError,
|
|
87
|
+
iconColor: '#e12339'
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
],
|
|
91
|
+
tokens: {
|
|
92
|
+
backgroundColor: '#efedff',
|
|
93
|
+
borderBottomWidth: 1,
|
|
94
|
+
borderColor: '#7c53a5',
|
|
95
|
+
borderLeftWidth: 1,
|
|
96
|
+
borderRadius: 6,
|
|
97
|
+
borderRightWidth: 1,
|
|
98
|
+
borderTopWidth: 1,
|
|
99
|
+
color: '#414547',
|
|
100
|
+
dismissButtonGap: 24,
|
|
101
|
+
dismissIcon: PaletteIconClose,
|
|
102
|
+
dismissIconColor: '#676e73',
|
|
103
|
+
fontName: 'HelveticaNow',
|
|
104
|
+
fontSize: 16,
|
|
105
|
+
fontWeight: '400',
|
|
106
|
+
icon: PaletteIconStatusInfo,
|
|
107
|
+
iconColor: '#4b286d',
|
|
108
|
+
iconGap: 8,
|
|
109
|
+
iconSize: 24,
|
|
110
|
+
justifyContent: 'flex-start',
|
|
111
|
+
lineHeight: 1.5,
|
|
112
|
+
paddingBottom: 12,
|
|
113
|
+
paddingLeft: 12,
|
|
114
|
+
paddingRight: 12,
|
|
115
|
+
paddingTop: 12
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
export default theme
|
|
@@ -0,0 +1,58 @@
|
|
|
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
|
+
compact: {
|
|
12
|
+
description: 'When true it will reduce the line height of the list item.',
|
|
13
|
+
type: 'variant',
|
|
14
|
+
values: [ true ]
|
|
15
|
+
},
|
|
16
|
+
size: {
|
|
17
|
+
description: 'Indicates list item text size.',
|
|
18
|
+
type: 'variant',
|
|
19
|
+
values: [ 'large', 'medium', 'small' ]
|
|
20
|
+
}
|
|
21
|
+
},
|
|
22
|
+
rules: [
|
|
23
|
+
{
|
|
24
|
+
if: { size: 'large' },
|
|
25
|
+
tokens: { itemFontSize: 20, itemLineHeight: 1.6 }
|
|
26
|
+
},
|
|
27
|
+
{
|
|
28
|
+
if: { size: 'small' },
|
|
29
|
+
tokens: { itemFontSize: 14, itemLineHeight: 1.42857142857 }
|
|
30
|
+
},
|
|
31
|
+
{ if: { compact: true }, tokens: { itemLineHeight: 1.25 } },
|
|
32
|
+
{
|
|
33
|
+
if: { compact: true, size: 'small' },
|
|
34
|
+
tokens: { itemLineHeight: 1.14285714286 }
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
if: { compact: true, size: 'large' },
|
|
38
|
+
tokens: { itemLineHeight: 1.2 }
|
|
39
|
+
}
|
|
40
|
+
],
|
|
41
|
+
tokens: {
|
|
42
|
+
headerFontName: 'HelveticaNow',
|
|
43
|
+
headerFontWeight: '700',
|
|
44
|
+
interItemMargin: 8,
|
|
45
|
+
itemBulletContainerWidth: 16,
|
|
46
|
+
itemBulletHeight: 4,
|
|
47
|
+
itemBulletWidth: 4,
|
|
48
|
+
itemColor: '#414547',
|
|
49
|
+
itemFontName: 'HelveticaNow',
|
|
50
|
+
itemFontSize: 16,
|
|
51
|
+
itemFontWeight: '400',
|
|
52
|
+
itemLineHeight: 1.5,
|
|
53
|
+
itemMarginTop: 0,
|
|
54
|
+
itemPaddingTop: 0,
|
|
55
|
+
listGutter: 8
|
|
56
|
+
}
|
|
57
|
+
}
|
|
58
|
+
export default theme
|
|
@@ -0,0 +1,44 @@
|
|
|
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
|
+
{
|
|
19
|
+
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
20
|
+
tokens: { truncateAbove: 6 }
|
|
21
|
+
}
|
|
22
|
+
],
|
|
23
|
+
tokens: {
|
|
24
|
+
borderBottomWidth: 0,
|
|
25
|
+
borderColor: '#676e73',
|
|
26
|
+
borderLeftWidth: 0,
|
|
27
|
+
borderRightWidth: 0,
|
|
28
|
+
borderTopWidth: 0,
|
|
29
|
+
color: '#676e73',
|
|
30
|
+
ellipsisBorderBottomWidth: 0,
|
|
31
|
+
ellipsisBorderLeftWidth: 0,
|
|
32
|
+
ellipsisBorderRightWidth: 0,
|
|
33
|
+
ellipsisBorderTopWidth: 0,
|
|
34
|
+
ellipsisHeight: null,
|
|
35
|
+
ellipsisPadding: 0,
|
|
36
|
+
fontName: 'HelveticaNow',
|
|
37
|
+
fontSize: 16,
|
|
38
|
+
fontWeight: '400',
|
|
39
|
+
gap: 2,
|
|
40
|
+
lineHeight: 1.5,
|
|
41
|
+
truncateAbove: 4
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
export default theme
|
|
@@ -0,0 +1,62 @@
|
|
|
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: { selected: true },
|
|
25
|
+
tokens: {
|
|
26
|
+
backgroundColor: '#676e73',
|
|
27
|
+
color: '#ffffff',
|
|
28
|
+
textLine: 'none'
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
if: { pressed: true },
|
|
33
|
+
tokens: { backgroundColor: '#676e73', color: '#ffffff' }
|
|
34
|
+
}
|
|
35
|
+
],
|
|
36
|
+
tokens: {
|
|
37
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
38
|
+
borderBottomWidth: 1,
|
|
39
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
40
|
+
borderLeftWidth: 1,
|
|
41
|
+
borderRadius: 32,
|
|
42
|
+
borderRightWidth: 1,
|
|
43
|
+
borderTopWidth: 1,
|
|
44
|
+
color: '#676e73',
|
|
45
|
+
fontName: 'HelveticaNow',
|
|
46
|
+
fontSize: 16,
|
|
47
|
+
fontWeight: '400',
|
|
48
|
+
height: 32,
|
|
49
|
+
lineHeight: 1.5,
|
|
50
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
51
|
+
outerBorderGap: 4,
|
|
52
|
+
outerBorderWidth: 4,
|
|
53
|
+
paddingBottom: 4,
|
|
54
|
+
paddingLeft: 8,
|
|
55
|
+
paddingRight: 8,
|
|
56
|
+
paddingTop: 4,
|
|
57
|
+
textAlign: 'center',
|
|
58
|
+
textLine: 'underline',
|
|
59
|
+
width: 32
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
export default theme
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Thu, 18 Jan 2024 22:42:16 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
import PaletteIconArrowLeft from '@telus-uds/palette-allium/build/rn/icons/ArrowLeft'
|
|
9
|
+
import PaletteIconArrowRight from '@telus-uds/palette-allium/build/rn/icons/ArrowRight'
|
|
10
|
+
const theme = {
|
|
11
|
+
appearances: {
|
|
12
|
+
compact: {
|
|
13
|
+
description: 'Determines if the "Next" and "Previous" labels should be omitted',
|
|
14
|
+
type: 'state',
|
|
15
|
+
values: [ true ]
|
|
16
|
+
},
|
|
17
|
+
direction: {
|
|
18
|
+
description: "Determines which way does the button navigate in Pagination's context",
|
|
19
|
+
type: 'state',
|
|
20
|
+
values: [ 'previous', 'next' ]
|
|
21
|
+
},
|
|
22
|
+
pressed: {
|
|
23
|
+
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.',
|
|
24
|
+
type: 'state',
|
|
25
|
+
values: [ true, false ]
|
|
26
|
+
},
|
|
27
|
+
selected: {
|
|
28
|
+
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`.',
|
|
29
|
+
type: 'state',
|
|
30
|
+
values: [ true ]
|
|
31
|
+
},
|
|
32
|
+
viewport: {
|
|
33
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
34
|
+
type: 'state',
|
|
35
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
rules: [
|
|
39
|
+
{ if: { compact: true }, tokens: { displayLabel: false } },
|
|
40
|
+
{
|
|
41
|
+
if: { viewport: [ 'xs', 'sm' ] },
|
|
42
|
+
tokens: {
|
|
43
|
+
borderRadius: 32,
|
|
44
|
+
displayLabel: false,
|
|
45
|
+
paddingBottom: 4,
|
|
46
|
+
paddingTop: 4,
|
|
47
|
+
width: 32
|
|
48
|
+
}
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
if: { selected: true },
|
|
52
|
+
tokens: {
|
|
53
|
+
backgroundColor: '#676e73',
|
|
54
|
+
color: '#ffffff',
|
|
55
|
+
textLine: 'none'
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
if: { pressed: true },
|
|
60
|
+
tokens: { backgroundColor: '#676e73', color: '#ffffff' }
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
if: { direction: 'previous' },
|
|
64
|
+
tokens: { icon: PaletteIconArrowLeft }
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
if: { direction: 'next' },
|
|
68
|
+
tokens: { icon: PaletteIconArrowRight }
|
|
69
|
+
}
|
|
70
|
+
],
|
|
71
|
+
tokens: {
|
|
72
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
73
|
+
borderBottomWidth: 0,
|
|
74
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
75
|
+
borderLeftWidth: 0,
|
|
76
|
+
borderRadius: 4,
|
|
77
|
+
borderRightWidth: 0,
|
|
78
|
+
borderTopWidth: 0,
|
|
79
|
+
color: '#676e73',
|
|
80
|
+
displayLabel: true,
|
|
81
|
+
fontName: 'HelveticaNow',
|
|
82
|
+
fontSize: 16,
|
|
83
|
+
fontWeight: '400',
|
|
84
|
+
height: null,
|
|
85
|
+
icon: null,
|
|
86
|
+
iconDisplace: 0,
|
|
87
|
+
iconSize: 24,
|
|
88
|
+
lineHeight: 1.5,
|
|
89
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
90
|
+
outerBorderWidth: 1,
|
|
91
|
+
paddingBottom: 4,
|
|
92
|
+
paddingLeft: 8,
|
|
93
|
+
paddingRight: 8,
|
|
94
|
+
paddingTop: 4,
|
|
95
|
+
textAlign: 'center',
|
|
96
|
+
textLine: 'none',
|
|
97
|
+
width: null
|
|
98
|
+
}
|
|
99
|
+
}
|
|
100
|
+
export default theme
|
|
@@ -0,0 +1,28 @@
|
|
|
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
|
+
backgroundColor: '#ffffff',
|
|
14
|
+
borderColor: '#e3e6e8',
|
|
15
|
+
borderRadius: 6,
|
|
16
|
+
borderWidth: 1,
|
|
17
|
+
flex: 1,
|
|
18
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
19
|
+
outerBorderGap: 0,
|
|
20
|
+
outerBorderWidth: 0,
|
|
21
|
+
paddingBottom: 0,
|
|
22
|
+
paddingLeft: 0,
|
|
23
|
+
paddingRight: 0,
|
|
24
|
+
paddingTop: 0,
|
|
25
|
+
separatorColor: '#b2b9bf'
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
export default theme
|