@telus-uds/theme-allium 4.21.0 → 4.22.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 +123 -0
- package/build/android/FootnoteLink.json +17 -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 +983 -951
- package/build/android/spacingScale.json +185 -0
- package/build/android/theme.json +108 -25
- 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 +123 -0
- package/build/ios/FootnoteLink.json +17 -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 +983 -951
- package/build/ios/spacingScale.json +185 -0
- package/build/ios/theme.json +108 -25
- 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 +96 -0
- package/build/rn/FootnoteLink.js +21 -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 +983 -951
- package/build/rn/spacingScale.js +68 -0
- package/build/rn/theme.js +63 -22
- 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 +96 -0
- package/build/web/FootnoteLink.js +21 -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 +20651 -0
- package/build/web/spacingScale.js +68 -0
- package/build/web/theme.js +6027 -0
- package/package.json +6 -5
- package/theme.json +64 -17
|
@@ -0,0 +1,92 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Mon, 08 Jan 2024 20:06:52 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
const PaletteIconCheckmark = require('@telus-uds/palette-allium/build/rn/icons/Checkmark')
|
|
9
|
+
|
|
10
|
+
module.exports = {
|
|
11
|
+
appearances: {
|
|
12
|
+
checked: {
|
|
13
|
+
description: 'Corresponds to a selected state for a checkbox or radio',
|
|
14
|
+
type: 'state',
|
|
15
|
+
values: [ true ]
|
|
16
|
+
},
|
|
17
|
+
error: { type: 'state', values: [ true ] },
|
|
18
|
+
focus: {
|
|
19
|
+
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.",
|
|
20
|
+
platforms: [ 'rn' ],
|
|
21
|
+
type: 'state',
|
|
22
|
+
values: [ true, false ]
|
|
23
|
+
},
|
|
24
|
+
hover: {
|
|
25
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
26
|
+
platforms: [ 'rn' ],
|
|
27
|
+
type: 'state',
|
|
28
|
+
values: [ true, false ]
|
|
29
|
+
},
|
|
30
|
+
inactive: {
|
|
31
|
+
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
32
|
+
type: 'state',
|
|
33
|
+
values: [ true ]
|
|
34
|
+
}
|
|
35
|
+
},
|
|
36
|
+
rules: [
|
|
37
|
+
{ if: { error: true }, tokens: { inputBorderColor: '#e12339' } },
|
|
38
|
+
{
|
|
39
|
+
if: { focus: true },
|
|
40
|
+
tokens: { inputBorderColor: '#7c53a5', inputBorderWidth: 3 }
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
if: { inactive: true },
|
|
44
|
+
tokens: {
|
|
45
|
+
iconBackgroundColor: '#e3e6e8',
|
|
46
|
+
iconColor: '#676e73',
|
|
47
|
+
inputBackgroundColor: '#e3e6e8',
|
|
48
|
+
inputBorderColor: 'rgba(0, 0, 0, 0)',
|
|
49
|
+
labelColor: '#676e73'
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
if: { hover: true },
|
|
54
|
+
tokens: { inputOutlineColor: '#e3e6e8', inputOutlineWidth: 2 }
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
if: { checked: true, focus: true },
|
|
58
|
+
tokens: {
|
|
59
|
+
inputBorderColor: '#ffffff',
|
|
60
|
+
inputBorderWidth: 2,
|
|
61
|
+
inputOutlineColor: '#7c53a5',
|
|
62
|
+
inputOutlineWidth: 3
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
tokens: {
|
|
67
|
+
containerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
68
|
+
feedbackMarginBottom: 0,
|
|
69
|
+
feedbackMarginTop: 2,
|
|
70
|
+
feedbackPosition: 'bottom',
|
|
71
|
+
icon: PaletteIconCheckmark,
|
|
72
|
+
iconBackgroundColor: '#7c53a5',
|
|
73
|
+
iconColor: '#ffffff',
|
|
74
|
+
iconSize: 16,
|
|
75
|
+
inputBackgroundColor: '#ffffff',
|
|
76
|
+
inputBorderColor: '#676e73',
|
|
77
|
+
inputBorderRadius: 4,
|
|
78
|
+
inputBorderWidth: 1,
|
|
79
|
+
inputHeight: 20,
|
|
80
|
+
inputOutlineColor: null,
|
|
81
|
+
inputOutlineOffset: 0,
|
|
82
|
+
inputOutlineWidth: 0,
|
|
83
|
+
inputShadow: null,
|
|
84
|
+
inputWidth: 20,
|
|
85
|
+
labelColor: '#414547',
|
|
86
|
+
labelFontName: 'HelveticaNow',
|
|
87
|
+
labelFontSize: 16,
|
|
88
|
+
labelFontWeight: '400',
|
|
89
|
+
labelLineHeight: 1.5,
|
|
90
|
+
labelMarginLeft: 10
|
|
91
|
+
}
|
|
92
|
+
}
|
|
@@ -0,0 +1,159 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Mon, 08 Jan 2024 20:06:52 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
module.exports = {
|
|
11
|
+
appearances: {
|
|
12
|
+
checked: {
|
|
13
|
+
description: 'Corresponds to a selected state for a checkbox or radio',
|
|
14
|
+
type: 'state',
|
|
15
|
+
values: [ true ]
|
|
16
|
+
},
|
|
17
|
+
error: { type: 'state', values: [ true ] },
|
|
18
|
+
focus: {
|
|
19
|
+
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.",
|
|
20
|
+
platforms: [ 'rn' ],
|
|
21
|
+
type: 'state',
|
|
22
|
+
values: [ true, false ]
|
|
23
|
+
},
|
|
24
|
+
hover: {
|
|
25
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
26
|
+
platforms: [ 'rn' ],
|
|
27
|
+
type: 'state',
|
|
28
|
+
values: [ true, false ]
|
|
29
|
+
},
|
|
30
|
+
inactive: {
|
|
31
|
+
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
32
|
+
type: 'state',
|
|
33
|
+
values: [ true ]
|
|
34
|
+
},
|
|
35
|
+
pressed: {
|
|
36
|
+
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.',
|
|
37
|
+
type: 'state',
|
|
38
|
+
values: [ true, false ]
|
|
39
|
+
},
|
|
40
|
+
viewport: {
|
|
41
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
42
|
+
type: 'state',
|
|
43
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
rules: [
|
|
47
|
+
{
|
|
48
|
+
if: { viewport: [ 'lg', 'xl' ] },
|
|
49
|
+
tokens: {
|
|
50
|
+
fontSize: 24,
|
|
51
|
+
lineHeight: 1.33333333333,
|
|
52
|
+
paddingBottom: 24,
|
|
53
|
+
paddingLeft: 16,
|
|
54
|
+
paddingRight: 24,
|
|
55
|
+
paddingTop: 16
|
|
56
|
+
}
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
if: { hover: true },
|
|
60
|
+
tokens: {
|
|
61
|
+
borderColor: '#676e73',
|
|
62
|
+
checkboxOuterBorderColor: '#e3e6e8',
|
|
63
|
+
checkboxOuterBorderWidth: 2,
|
|
64
|
+
outerBorderColor: '#e3e6e8'
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
if: { focus: true },
|
|
69
|
+
tokens: {
|
|
70
|
+
checkboxInputBorderColor: '#7c53a5',
|
|
71
|
+
checkboxInputBorderWidth: 3,
|
|
72
|
+
outerBorderColor: '#676e73',
|
|
73
|
+
outerBorderGap: 2
|
|
74
|
+
}
|
|
75
|
+
},
|
|
76
|
+
{
|
|
77
|
+
description: 'Pressed state matches hover state plus light grey background',
|
|
78
|
+
if: { pressed: true },
|
|
79
|
+
tokens: {
|
|
80
|
+
backgroundColor: '#f4f4f7',
|
|
81
|
+
borderColor: '#676e73',
|
|
82
|
+
checkboxInputBorderColor: '#676e73',
|
|
83
|
+
checkboxInputBorderWidth: 1,
|
|
84
|
+
checkboxOuterBorderColor: '#e3e6e8',
|
|
85
|
+
checkboxOuterBorderWidth: 3,
|
|
86
|
+
outerBorderColor: '#e3e6e8',
|
|
87
|
+
outerBorderGap: 0
|
|
88
|
+
}
|
|
89
|
+
},
|
|
90
|
+
{ if: { checked: true }, tokens: { borderColor: '#7c53a5' } },
|
|
91
|
+
{
|
|
92
|
+
if: { checked: true, hover: true },
|
|
93
|
+
tokens: { borderColor: '#4b286d' }
|
|
94
|
+
},
|
|
95
|
+
{
|
|
96
|
+
if: { error: true },
|
|
97
|
+
tokens: {
|
|
98
|
+
borderColor: '#e12339',
|
|
99
|
+
checkboxInputBorderColor: '#e12339',
|
|
100
|
+
color: '#e12339'
|
|
101
|
+
}
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
if: { inactive: true },
|
|
105
|
+
tokens: {
|
|
106
|
+
backgroundColor: '#f4f4f7',
|
|
107
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
108
|
+
checkboxCheckedBackgroundColor: '#676e73',
|
|
109
|
+
checkboxInputBackgroundColor: '#b2b9bf',
|
|
110
|
+
checkboxInputBorderColor: 'transparent',
|
|
111
|
+
checkboxInputSize: 12,
|
|
112
|
+
checkboxOuterBorderColor: '#b2b9bf',
|
|
113
|
+
checkboxOuterBorderGap: 2,
|
|
114
|
+
checkboxOuterBorderWidth: 1,
|
|
115
|
+
color: '#676e73'
|
|
116
|
+
}
|
|
117
|
+
}
|
|
118
|
+
],
|
|
119
|
+
tokens: {
|
|
120
|
+
backgroundColor: '#ffffff',
|
|
121
|
+
borderColor: '#b2b9bf',
|
|
122
|
+
borderRadius: 6,
|
|
123
|
+
borderWidth: 1,
|
|
124
|
+
checkboxCheckedBackgroundColor: '#7c53a5',
|
|
125
|
+
checkboxCheckedSize: 12,
|
|
126
|
+
checkboxInputBackgroundColor: '#ffffff',
|
|
127
|
+
checkboxInputBorderColor: '#676e73',
|
|
128
|
+
checkboxInputBorderWidth: 1,
|
|
129
|
+
checkboxInputOutlineColor: 'rgba(0, 0, 0, 0)',
|
|
130
|
+
checkboxInputOutlineWidth: 0,
|
|
131
|
+
checkboxInputSize: 20,
|
|
132
|
+
checkboxOuterBorderColor: 'transparent',
|
|
133
|
+
checkboxOuterBorderGap: 0,
|
|
134
|
+
checkboxOuterBorderWidth: 0,
|
|
135
|
+
checkboxSpace: 2,
|
|
136
|
+
color: '#2c2e30',
|
|
137
|
+
contentAlignItems: 'stretch',
|
|
138
|
+
contentFlexGrow: 0,
|
|
139
|
+
contentFlexShrink: 1,
|
|
140
|
+
contentJustifyContent: 'flex-start',
|
|
141
|
+
contentSpace: 2,
|
|
142
|
+
flex: 1,
|
|
143
|
+
fontName: 'HelveticaNow',
|
|
144
|
+
fontSize: 20,
|
|
145
|
+
fontWeight: '500',
|
|
146
|
+
letterSpacing: 0,
|
|
147
|
+
lineHeight: 1.4,
|
|
148
|
+
minWidth: 264,
|
|
149
|
+
outerBorderColor: 'transparent',
|
|
150
|
+
outerBorderGap: 0,
|
|
151
|
+
outerBorderWidth: 2,
|
|
152
|
+
paddingBottom: 16,
|
|
153
|
+
paddingLeft: 10,
|
|
154
|
+
paddingRight: 16,
|
|
155
|
+
paddingTop: 16,
|
|
156
|
+
shadow: null,
|
|
157
|
+
textTransform: 'none'
|
|
158
|
+
}
|
|
159
|
+
}
|
|
@@ -0,0 +1,45 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Mon, 08 Jan 2024 20:06:52 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
module.exports = {
|
|
11
|
+
appearances: {
|
|
12
|
+
fullWidth: {
|
|
13
|
+
description: 'Makes cards always occupy the full width of the parent, regardless of viewport',
|
|
14
|
+
type: 'variant',
|
|
15
|
+
values: [ true ]
|
|
16
|
+
},
|
|
17
|
+
viewport: {
|
|
18
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
19
|
+
type: 'state',
|
|
20
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
rules: [
|
|
24
|
+
{
|
|
25
|
+
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
26
|
+
tokens: { direction: 'row', space: 5 }
|
|
27
|
+
},
|
|
28
|
+
{
|
|
29
|
+
if: { fullWidth: true },
|
|
30
|
+
tokens: { direction: 'column', fieldSpace: 3, space: 3 }
|
|
31
|
+
}
|
|
32
|
+
],
|
|
33
|
+
tokens: {
|
|
34
|
+
borderBottomLeftRadius: 1,
|
|
35
|
+
borderBottomRightRadius: 1,
|
|
36
|
+
borderTopLeftRadius: 1,
|
|
37
|
+
borderTopRightRadius: 1,
|
|
38
|
+
direction: 'column',
|
|
39
|
+
fieldSpace: 3,
|
|
40
|
+
outlineOffset: 8,
|
|
41
|
+
outlineWidth: 1,
|
|
42
|
+
showIcon: true,
|
|
43
|
+
space: 3
|
|
44
|
+
}
|
|
45
|
+
}
|
|
@@ -0,0 +1,24 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Mon, 08 Jan 2024 20:06:52 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
module.exports = {
|
|
11
|
+
appearances: {},
|
|
12
|
+
rules: [],
|
|
13
|
+
tokens: {
|
|
14
|
+
borderBottomLeftRadius: 1,
|
|
15
|
+
borderBottomRightRadius: 1,
|
|
16
|
+
borderTopLeftRadius: 1,
|
|
17
|
+
borderTopRightRadius: 1,
|
|
18
|
+
fieldSpace: 2,
|
|
19
|
+
outlineOffset: 8,
|
|
20
|
+
outlineWidth: 1,
|
|
21
|
+
showIcon: true,
|
|
22
|
+
space: 2
|
|
23
|
+
}
|
|
24
|
+
}
|
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Mon, 08 Jan 2024 20:06:52 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
const PaletteIconArrowLeft = require('@telus-uds/palette-allium/build/rn/icons/ArrowLeft')
|
|
9
|
+
const PaletteIconArrowRight = require('@telus-uds/palette-allium/build/rn/icons/ArrowRight')
|
|
10
|
+
|
|
11
|
+
module.exports = {
|
|
12
|
+
appearances: {
|
|
13
|
+
alternative: { type: 'variant', values: [ true ] },
|
|
14
|
+
focus: {
|
|
15
|
+
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.",
|
|
16
|
+
platforms: [ 'rn' ],
|
|
17
|
+
type: 'state',
|
|
18
|
+
values: [ true, false ]
|
|
19
|
+
},
|
|
20
|
+
hover: {
|
|
21
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
22
|
+
platforms: [ 'rn' ],
|
|
23
|
+
type: 'state',
|
|
24
|
+
values: [ true, false ]
|
|
25
|
+
},
|
|
26
|
+
inverse: { type: 'variant', values: [ true ] },
|
|
27
|
+
pressed: {
|
|
28
|
+
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.',
|
|
29
|
+
type: 'state',
|
|
30
|
+
values: [ true, false ]
|
|
31
|
+
},
|
|
32
|
+
size: {
|
|
33
|
+
description: 'Sets the size of the text and icon; these variants are shared with ChevronLink',
|
|
34
|
+
type: 'variant',
|
|
35
|
+
values: [ 'large', 'small', 'micro' ]
|
|
36
|
+
}
|
|
37
|
+
},
|
|
38
|
+
rules: [
|
|
39
|
+
{
|
|
40
|
+
if: { hover: true },
|
|
41
|
+
tokens: { color: '#1f5c09', iconDisplace: 4 }
|
|
42
|
+
},
|
|
43
|
+
{ if: { pressed: true }, tokens: { color: '#163e06' } },
|
|
44
|
+
{ if: { alternative: true }, tokens: { color: '#414547' } },
|
|
45
|
+
{
|
|
46
|
+
if: { alternative: true, hover: true },
|
|
47
|
+
tokens: { color: '#2c2e30' }
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
if: { alternative: true, pressed: true },
|
|
51
|
+
tokens: { color: '#2c2e30' }
|
|
52
|
+
},
|
|
53
|
+
{ if: { inverse: true }, tokens: { color: '#ffffff' } },
|
|
54
|
+
{
|
|
55
|
+
if: { hover: true, inverse: true },
|
|
56
|
+
tokens: { color: '#f4f4f7' }
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
if: { inverse: true, pressed: true },
|
|
60
|
+
tokens: { color: '#e3e6e8' }
|
|
61
|
+
},
|
|
62
|
+
{
|
|
63
|
+
if: { size: 'large' },
|
|
64
|
+
tokens: { blockLineHeight: 1.6, fontSize: 20, iconSize: 20 }
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
if: { size: 'small' },
|
|
68
|
+
tokens: { blockLineHeight: 1.42857142857, fontSize: 14, iconSize: 16 }
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
if: { size: 'micro' },
|
|
72
|
+
tokens: { blockLineHeight: 1.33333333333, fontSize: 12, iconSize: 16 }
|
|
73
|
+
},
|
|
74
|
+
{ if: { focus: true }, tokens: { outerBorderColor: '#2b8000' } },
|
|
75
|
+
{
|
|
76
|
+
if: { focus: true, pressed: true },
|
|
77
|
+
tokens: { outerBorderColor: '#163e06' }
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
if: { focus: true, inverse: true },
|
|
81
|
+
tokens: { outerBorderColor: '#ffffff' }
|
|
82
|
+
},
|
|
83
|
+
{
|
|
84
|
+
if: { alternative: true, focus: true },
|
|
85
|
+
tokens: { color: '#414547', outerBorderColor: '#414547' }
|
|
86
|
+
}
|
|
87
|
+
],
|
|
88
|
+
tokens: {
|
|
89
|
+
blockLineHeight: 1.5,
|
|
90
|
+
color: '#2b8000',
|
|
91
|
+
fontSize: 16,
|
|
92
|
+
iconDisplace: 0,
|
|
93
|
+
iconSize: 16,
|
|
94
|
+
iconSpace: 1,
|
|
95
|
+
leftIcon: PaletteIconArrowLeft,
|
|
96
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
97
|
+
rightIcon: PaletteIconArrowRight,
|
|
98
|
+
textLine: 'none'
|
|
99
|
+
}
|
|
100
|
+
}
|
|
@@ -0,0 +1,93 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Mon, 08 Jan 2024 20:06:52 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
module.exports = {
|
|
11
|
+
appearances: {
|
|
12
|
+
focus: {
|
|
13
|
+
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.",
|
|
14
|
+
platforms: [ 'rn' ],
|
|
15
|
+
type: 'state',
|
|
16
|
+
values: [ true, false ]
|
|
17
|
+
},
|
|
18
|
+
hover: {
|
|
19
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
20
|
+
platforms: [ 'rn' ],
|
|
21
|
+
type: 'state',
|
|
22
|
+
values: [ true, false ]
|
|
23
|
+
},
|
|
24
|
+
pressed: {
|
|
25
|
+
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.',
|
|
26
|
+
type: 'state',
|
|
27
|
+
values: [ true, false ]
|
|
28
|
+
},
|
|
29
|
+
selected: {
|
|
30
|
+
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`.',
|
|
31
|
+
type: 'state',
|
|
32
|
+
values: [ true ]
|
|
33
|
+
}
|
|
34
|
+
},
|
|
35
|
+
rules: [
|
|
36
|
+
{
|
|
37
|
+
if: { hover: true },
|
|
38
|
+
tokens: {
|
|
39
|
+
bubbleBorderColor: '#b2b9bf',
|
|
40
|
+
bubbleBorderRadius: 45,
|
|
41
|
+
bubbleBorderWidth: 1
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
if: { focus: true },
|
|
46
|
+
tokens: {
|
|
47
|
+
bubbleBorderColor: '#676e73',
|
|
48
|
+
bubbleBorderRadius: 45,
|
|
49
|
+
bubbleBorderWidth: 1
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
if: { pressed: true },
|
|
54
|
+
tokens: {
|
|
55
|
+
bubbleBorderColor: '#e3e6e8',
|
|
56
|
+
bubbleBorderRadius: 45,
|
|
57
|
+
bubbleBorderWidth: 1
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
{
|
|
61
|
+
if: { selected: true },
|
|
62
|
+
tokens: {
|
|
63
|
+
bubbleBorderColor: '#4b286d',
|
|
64
|
+
bubbleBorderRadius: 45,
|
|
65
|
+
bubbleBorderWidth: 1
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
],
|
|
69
|
+
tokens: {
|
|
70
|
+
borderColor: '#e3e6e8',
|
|
71
|
+
borderRadius: 45,
|
|
72
|
+
borderWidth: 1,
|
|
73
|
+
bubbleBorderColor: 'rgba(0, 0, 0, 0)',
|
|
74
|
+
bubbleBorderRadius: 0,
|
|
75
|
+
bubbleBorderWidth: 0,
|
|
76
|
+
innerBubbleBorderRadius: 45,
|
|
77
|
+
innerBubbleHeight: 40,
|
|
78
|
+
innerBubbleWidth: 40,
|
|
79
|
+
outerBubbleContentAlignItems: 'center',
|
|
80
|
+
outerBubbleHeight: 48,
|
|
81
|
+
outerBubbleJustifyContent: 'center',
|
|
82
|
+
outerBubbleWidth: 48,
|
|
83
|
+
shadow: {
|
|
84
|
+
blur: 2,
|
|
85
|
+
color: 'rgba(0, 0, 0, 0.1)',
|
|
86
|
+
inset: true,
|
|
87
|
+
offsetX: 0,
|
|
88
|
+
offsetY: 2,
|
|
89
|
+
spread: 0
|
|
90
|
+
},
|
|
91
|
+
space: 2
|
|
92
|
+
}
|
|
93
|
+
}
|
|
@@ -0,0 +1,90 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Mon, 08 Jan 2024 20:06:52 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
module.exports = {
|
|
11
|
+
appearances: {
|
|
12
|
+
feature: { type: 'variant', values: [ true ] },
|
|
13
|
+
inverse: { type: 'variant', values: [ true ] },
|
|
14
|
+
label: { type: 'variant', values: [ true ] },
|
|
15
|
+
large: { type: 'variant', values: [ true ] },
|
|
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
|
+
},
|
|
22
|
+
rules: [
|
|
23
|
+
{
|
|
24
|
+
if: { viewport: [ 'xs' ] },
|
|
25
|
+
tokens: {
|
|
26
|
+
containerPaddingBottomTop: 16,
|
|
27
|
+
containerPaddingLeftRight: 24,
|
|
28
|
+
labelFontSize: 14,
|
|
29
|
+
labelLineHeight: 1.42857142857,
|
|
30
|
+
textLineHeight: 1.42857142857
|
|
31
|
+
}
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
if: { large: true },
|
|
35
|
+
tokens: {
|
|
36
|
+
textFontSize: 64,
|
|
37
|
+
textLineHeight: 1.125,
|
|
38
|
+
textTimerFontName: 'HelveticaNow',
|
|
39
|
+
textTimerFontWeight: '300'
|
|
40
|
+
}
|
|
41
|
+
},
|
|
42
|
+
{
|
|
43
|
+
if: { feature: true },
|
|
44
|
+
tokens: {
|
|
45
|
+
labelBorderColor: '#4b286d',
|
|
46
|
+
textFontSize: 64,
|
|
47
|
+
textLineHeight: 1.125,
|
|
48
|
+
textTimerFontName: 'HelveticaNow',
|
|
49
|
+
textTimerFontWeight: '300'
|
|
50
|
+
}
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
if: { large: true, viewport: [ 'xs' ] },
|
|
54
|
+
tokens: { textFontSize: 40 }
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
if: { feature: true, viewport: [ 'xs' ] },
|
|
58
|
+
tokens: { textFontSize: 40 }
|
|
59
|
+
},
|
|
60
|
+
{ if: { inverse: true }, tokens: { labelBorderColor: '#ffffff' } },
|
|
61
|
+
{
|
|
62
|
+
if: { feature: true, inverse: true },
|
|
63
|
+
tokens: { containerBorderColor: '#676e73', labelBorderColor: '#ffffff' }
|
|
64
|
+
}
|
|
65
|
+
],
|
|
66
|
+
tokens: {
|
|
67
|
+
containerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
68
|
+
containerBorderRadius: 6,
|
|
69
|
+
containerBorderWidth: 2,
|
|
70
|
+
containerGradient: {
|
|
71
|
+
angle: 135,
|
|
72
|
+
stops: [ { color: '#4b286d', stop: 0 }, { color: '#e53293', stop: 1 } ],
|
|
73
|
+
type: 'linear'
|
|
74
|
+
},
|
|
75
|
+
containerInverseBorder: 2,
|
|
76
|
+
containerInverseBorderColor: '#ffffff',
|
|
77
|
+
containerPaddingBottomTop: 48,
|
|
78
|
+
containerPaddingLeftRight: 64,
|
|
79
|
+
inverseBorderColor: '#676e73',
|
|
80
|
+
labelBorderColor: '#414547',
|
|
81
|
+
labelFontName: 'HelveticaNow',
|
|
82
|
+
labelFontSize: 16,
|
|
83
|
+
labelFontWeight: '400',
|
|
84
|
+
labelLineHeight: 1.5,
|
|
85
|
+
textFontSize: 16,
|
|
86
|
+
textLineHeight: 1.5,
|
|
87
|
+
textTimerFontName: 'HelveticaNow',
|
|
88
|
+
textTimerFontWeight: '400'
|
|
89
|
+
}
|
|
90
|
+
}
|
|
@@ -0,0 +1,61 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Mon, 08 Jan 2024 20:06:52 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
const PaletteIconArrowRight = require('@telus-uds/palette-allium/build/rn/icons/ArrowRight')
|
|
9
|
+
const PaletteIconArrowLeft = require('@telus-uds/palette-allium/build/rn/icons/ArrowLeft')
|
|
10
|
+
|
|
11
|
+
module.exports = {
|
|
12
|
+
appearances: {},
|
|
13
|
+
rules: [],
|
|
14
|
+
tokens: {
|
|
15
|
+
calendarBackgroundColor: '#ffffff',
|
|
16
|
+
calendarDayBlockedCalendarHoverBackground: '#f4f4f7',
|
|
17
|
+
calendarDayBlockedCalendarHoverColor: '#b2b9bf',
|
|
18
|
+
calendarDayDefaultBackgroundColor: '#ffffff',
|
|
19
|
+
calendarDayDefaultBorder: 1,
|
|
20
|
+
calendarDayDefaultBorderColor: '#b2b9bf',
|
|
21
|
+
calendarDayDefaultCalendarDaySelectedHoverBackground: '#ffffff',
|
|
22
|
+
calendarDayDefaultCalendarDaySelectedHoverBeforeBackground: '#7c53a5',
|
|
23
|
+
calendarDayDefaultCalendarDaySelectedHoverColor: '#ffffff',
|
|
24
|
+
calendarDayDefaultColor: '#414547',
|
|
25
|
+
calendarDayDefaultFontName: 'HelveticaNow',
|
|
26
|
+
calendarDayDefaultFontSize: 14,
|
|
27
|
+
calendarDayDefaultFontWeight: '400',
|
|
28
|
+
calendarDaySelectedDisabledBackground: '#fafafa',
|
|
29
|
+
calendarDaySelectedDisabledColor: '#ffffff',
|
|
30
|
+
calendarDaySelectedDisabledContentBackgroundColor: '#b2b9bf',
|
|
31
|
+
calendarDaySelectedFocusBeforeBackground: '#ffffff',
|
|
32
|
+
calendarDaySelectedHoverBackground: '#ffffff',
|
|
33
|
+
calendarDaySelectedHoverBeforeBackground: '#ffffff',
|
|
34
|
+
calendarDaySelectedHoverBeforeBorderColor: '#7c53a5',
|
|
35
|
+
calendarDaySelectedHoverBorderColor: '#b2b9bf',
|
|
36
|
+
calendarDaySelectedHoverColor: '#414547',
|
|
37
|
+
calendarMonthCaptionColor: '#2c2e30',
|
|
38
|
+
calendarMonthCaptionFontName: 'HelveticaNow',
|
|
39
|
+
calendarMonthCaptionFontSize: 20,
|
|
40
|
+
calendarMonthCaptionFontWeight: '700',
|
|
41
|
+
calendarMonthCaptionLineHeight: 1.4,
|
|
42
|
+
calendarMonthCaptionPaddingBottom: 48,
|
|
43
|
+
dateInputStrokeColor: '#676e73',
|
|
44
|
+
dayPickerNavigationButtonPadding: 8,
|
|
45
|
+
dayPickerWeekHeaderColor: '#414547',
|
|
46
|
+
dayPickerWeekHeaderFontName: 'HelveticaNow',
|
|
47
|
+
dayPickerWeekHeaderFontWeight: '700',
|
|
48
|
+
dayPickerWeekHeaderLineHeight: 1.42857142857,
|
|
49
|
+
dayPickerWeekHeaderSmall: 14,
|
|
50
|
+
hiddenInputFieldContainerHeight: 0,
|
|
51
|
+
hiddenInputFieldContainerWidth: 0,
|
|
52
|
+
invalidInputMixin: '#e12339',
|
|
53
|
+
nextIcon: PaletteIconArrowRight,
|
|
54
|
+
previousIcon: PaletteIconArrowLeft,
|
|
55
|
+
singleDatePickerBorderColor: '#676e73',
|
|
56
|
+
singleDatePickerLeftRight: 16,
|
|
57
|
+
singleDatePickerPaddingTopBottom: 8,
|
|
58
|
+
singleDatePickerRadius: 4,
|
|
59
|
+
validInputMixin: '#2b8000'
|
|
60
|
+
}
|
|
61
|
+
}
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Mon, 08 Jan 2024 20:06:52 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
module.exports = {
|
|
11
|
+
appearances: {},
|
|
12
|
+
rules: [],
|
|
13
|
+
tokens: {
|
|
14
|
+
color: '#414547',
|
|
15
|
+
fontName: 'HelveticaNow',
|
|
16
|
+
fontSize: 12,
|
|
17
|
+
fontWeight: '500',
|
|
18
|
+
lineHeight: 1.33333333333
|
|
19
|
+
}
|
|
20
|
+
}
|