@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,527 @@
|
|
|
1
|
+
{
|
|
2
|
+
"appearances": {
|
|
3
|
+
"danger": {
|
|
4
|
+
"description": "Indicates a user action that is destructive and will result in loss of information or cause significant monetary charges. Limit the use of the danger button whenever possible.",
|
|
5
|
+
"type": "variant",
|
|
6
|
+
"values": [true]
|
|
7
|
+
},
|
|
8
|
+
"inactive": {
|
|
9
|
+
"description": "Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.",
|
|
10
|
+
"values": [true],
|
|
11
|
+
"type": "state"
|
|
12
|
+
},
|
|
13
|
+
"inverse": {
|
|
14
|
+
"description": "Use inverse buttons on darker backgrounds. High and low priority buttons, and danger buttons, are available in inverse.",
|
|
15
|
+
"type": "variant",
|
|
16
|
+
"values": [true]
|
|
17
|
+
},
|
|
18
|
+
"pressed": {
|
|
19
|
+
"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.",
|
|
20
|
+
"values": [true, false],
|
|
21
|
+
"type": "state"
|
|
22
|
+
},
|
|
23
|
+
"priority": {
|
|
24
|
+
"description": "Indicates the importance of the call-to-action. Limit the amount of high priority buttons on a page to prioritize meaningful user flows. Low priority styles are applied by default.",
|
|
25
|
+
"type": "variant",
|
|
26
|
+
"values": ["high", "low"]
|
|
27
|
+
},
|
|
28
|
+
"size": {
|
|
29
|
+
"type": "variant",
|
|
30
|
+
"values": ["small"]
|
|
31
|
+
},
|
|
32
|
+
"text": {
|
|
33
|
+
"description": "Text variant visually deprioritize the button styles",
|
|
34
|
+
"type": "variant",
|
|
35
|
+
"values": [true]
|
|
36
|
+
},
|
|
37
|
+
"viewport": {
|
|
38
|
+
"description": "The size label for the current screen viewport based on the current screen width",
|
|
39
|
+
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
40
|
+
"type": "state"
|
|
41
|
+
},
|
|
42
|
+
"width": {
|
|
43
|
+
"description": "Available in default, full-width or responsive. Default-width expands based on content. Full-width expands to width of the container. Responsive automatically applies full-width when is displayed on the XS viewport.",
|
|
44
|
+
"type": "variant",
|
|
45
|
+
"values": ["full", "responsive"]
|
|
46
|
+
}
|
|
47
|
+
},
|
|
48
|
+
"rules": [
|
|
49
|
+
{
|
|
50
|
+
"if": {
|
|
51
|
+
"priority": "high"
|
|
52
|
+
},
|
|
53
|
+
"tokens": {
|
|
54
|
+
"backgroundColor": {
|
|
55
|
+
"red": 0.16863,
|
|
56
|
+
"green": 0.50196,
|
|
57
|
+
"blue": 0,
|
|
58
|
+
"alpha": 1
|
|
59
|
+
},
|
|
60
|
+
"borderColor": {
|
|
61
|
+
"red": 0,
|
|
62
|
+
"green": 0,
|
|
63
|
+
"blue": 0,
|
|
64
|
+
"alpha": 0
|
|
65
|
+
},
|
|
66
|
+
"borderWidth": 0,
|
|
67
|
+
"color": {
|
|
68
|
+
"red": 1,
|
|
69
|
+
"green": 1,
|
|
70
|
+
"blue": 1,
|
|
71
|
+
"alpha": 1
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
},
|
|
75
|
+
{
|
|
76
|
+
"if": {
|
|
77
|
+
"pressed": true
|
|
78
|
+
},
|
|
79
|
+
"tokens": {
|
|
80
|
+
"backgroundColor": {
|
|
81
|
+
"red": 0.08627,
|
|
82
|
+
"green": 0.24314,
|
|
83
|
+
"blue": 0.02353,
|
|
84
|
+
"alpha": 1
|
|
85
|
+
},
|
|
86
|
+
"borderColor": {
|
|
87
|
+
"red": 0,
|
|
88
|
+
"green": 0,
|
|
89
|
+
"blue": 0,
|
|
90
|
+
"alpha": 0
|
|
91
|
+
},
|
|
92
|
+
"color": {
|
|
93
|
+
"red": 1,
|
|
94
|
+
"green": 1,
|
|
95
|
+
"blue": 1,
|
|
96
|
+
"alpha": 1
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
},
|
|
100
|
+
{
|
|
101
|
+
"if": {
|
|
102
|
+
"inverse": true
|
|
103
|
+
},
|
|
104
|
+
"tokens": {
|
|
105
|
+
"backgroundColor": {
|
|
106
|
+
"red": 0,
|
|
107
|
+
"green": 0,
|
|
108
|
+
"blue": 0,
|
|
109
|
+
"alpha": 0
|
|
110
|
+
},
|
|
111
|
+
"borderColor": {
|
|
112
|
+
"red": 1,
|
|
113
|
+
"green": 1,
|
|
114
|
+
"blue": 1,
|
|
115
|
+
"alpha": 1
|
|
116
|
+
},
|
|
117
|
+
"color": {
|
|
118
|
+
"red": 1,
|
|
119
|
+
"green": 1,
|
|
120
|
+
"blue": 1,
|
|
121
|
+
"alpha": 1
|
|
122
|
+
}
|
|
123
|
+
}
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
"if": {
|
|
127
|
+
"inverse": true,
|
|
128
|
+
"priority": "high"
|
|
129
|
+
},
|
|
130
|
+
"tokens": {
|
|
131
|
+
"backgroundColor": {
|
|
132
|
+
"red": 1,
|
|
133
|
+
"green": 1,
|
|
134
|
+
"blue": 1,
|
|
135
|
+
"alpha": 1
|
|
136
|
+
},
|
|
137
|
+
"color": {
|
|
138
|
+
"red": 0.2549,
|
|
139
|
+
"green": 0.27059,
|
|
140
|
+
"blue": 0.27843,
|
|
141
|
+
"alpha": 1
|
|
142
|
+
}
|
|
143
|
+
}
|
|
144
|
+
},
|
|
145
|
+
{
|
|
146
|
+
"if": {
|
|
147
|
+
"inverse": true,
|
|
148
|
+
"pressed": true
|
|
149
|
+
},
|
|
150
|
+
"tokens": {
|
|
151
|
+
"backgroundColor": {
|
|
152
|
+
"red": 1,
|
|
153
|
+
"green": 1,
|
|
154
|
+
"blue": 1,
|
|
155
|
+
"alpha": 0.6
|
|
156
|
+
},
|
|
157
|
+
"borderColor": {
|
|
158
|
+
"red": 0,
|
|
159
|
+
"green": 0,
|
|
160
|
+
"blue": 0,
|
|
161
|
+
"alpha": 0
|
|
162
|
+
},
|
|
163
|
+
"color": {
|
|
164
|
+
"red": 0.2549,
|
|
165
|
+
"green": 0.27059,
|
|
166
|
+
"blue": 0.27843,
|
|
167
|
+
"alpha": 1
|
|
168
|
+
}
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"if": {
|
|
173
|
+
"danger": true,
|
|
174
|
+
"priority": null
|
|
175
|
+
},
|
|
176
|
+
"tokens": {
|
|
177
|
+
"borderColor": {
|
|
178
|
+
"red": 0.88235,
|
|
179
|
+
"green": 0.13725,
|
|
180
|
+
"blue": 0.22353,
|
|
181
|
+
"alpha": 1
|
|
182
|
+
},
|
|
183
|
+
"color": {
|
|
184
|
+
"red": 0.88235,
|
|
185
|
+
"green": 0.13725,
|
|
186
|
+
"blue": 0.22353,
|
|
187
|
+
"alpha": 1
|
|
188
|
+
}
|
|
189
|
+
}
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"if": {
|
|
193
|
+
"danger": true,
|
|
194
|
+
"inverse": true,
|
|
195
|
+
"priority": null
|
|
196
|
+
},
|
|
197
|
+
"tokens": {
|
|
198
|
+
"backgroundColor": {
|
|
199
|
+
"red": 1,
|
|
200
|
+
"green": 1,
|
|
201
|
+
"blue": 1,
|
|
202
|
+
"alpha": 1
|
|
203
|
+
}
|
|
204
|
+
}
|
|
205
|
+
},
|
|
206
|
+
{
|
|
207
|
+
"if": {
|
|
208
|
+
"danger": true,
|
|
209
|
+
"pressed": true,
|
|
210
|
+
"priority": null
|
|
211
|
+
},
|
|
212
|
+
"tokens": {
|
|
213
|
+
"backgroundColor": {
|
|
214
|
+
"red": 0.75686,
|
|
215
|
+
"green": 0.13725,
|
|
216
|
+
"blue": 0.20784,
|
|
217
|
+
"alpha": 1
|
|
218
|
+
},
|
|
219
|
+
"borderColor": {
|
|
220
|
+
"red": 0,
|
|
221
|
+
"green": 0,
|
|
222
|
+
"blue": 0,
|
|
223
|
+
"alpha": 0
|
|
224
|
+
},
|
|
225
|
+
"color": {
|
|
226
|
+
"red": 1,
|
|
227
|
+
"green": 1,
|
|
228
|
+
"blue": 1,
|
|
229
|
+
"alpha": 1
|
|
230
|
+
}
|
|
231
|
+
}
|
|
232
|
+
},
|
|
233
|
+
{
|
|
234
|
+
"if": {
|
|
235
|
+
"width": "full"
|
|
236
|
+
},
|
|
237
|
+
"tokens": {
|
|
238
|
+
"width": "100%"
|
|
239
|
+
}
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
"if": {
|
|
243
|
+
"viewport": ["xs"],
|
|
244
|
+
"width": "responsive"
|
|
245
|
+
},
|
|
246
|
+
"tokens": {
|
|
247
|
+
"width": "100%"
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"if": {
|
|
252
|
+
"size": "small"
|
|
253
|
+
},
|
|
254
|
+
"tokens": {
|
|
255
|
+
"minWidth": 0,
|
|
256
|
+
"paddingBottom": 4,
|
|
257
|
+
"paddingTop": 4
|
|
258
|
+
}
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"description": "Buttons should not be disabled or set as inactive. Use inline (on blur) error messaging to provide feedback when the form is invalid. In exceptional instances where disabled buttons are needed, it must be clear to the user why the button is disabled and what they need to do to enable it.",
|
|
262
|
+
"if": {
|
|
263
|
+
"inactive": true
|
|
264
|
+
},
|
|
265
|
+
"tokens": {
|
|
266
|
+
"backgroundColor": {
|
|
267
|
+
"red": 0.69804,
|
|
268
|
+
"green": 0.72549,
|
|
269
|
+
"blue": 0.74902,
|
|
270
|
+
"alpha": 1
|
|
271
|
+
},
|
|
272
|
+
"borderColor": {
|
|
273
|
+
"red": 0,
|
|
274
|
+
"green": 0,
|
|
275
|
+
"blue": 0,
|
|
276
|
+
"alpha": 0
|
|
277
|
+
},
|
|
278
|
+
"borderWidth": 0,
|
|
279
|
+
"color": {
|
|
280
|
+
"red": 1,
|
|
281
|
+
"green": 1,
|
|
282
|
+
"blue": 1,
|
|
283
|
+
"alpha": 1
|
|
284
|
+
}
|
|
285
|
+
}
|
|
286
|
+
},
|
|
287
|
+
{
|
|
288
|
+
"if": {
|
|
289
|
+
"inactive": true,
|
|
290
|
+
"inverse": true
|
|
291
|
+
},
|
|
292
|
+
"tokens": {
|
|
293
|
+
"backgroundColor": {
|
|
294
|
+
"red": 1,
|
|
295
|
+
"green": 1,
|
|
296
|
+
"blue": 1,
|
|
297
|
+
"alpha": 0.6
|
|
298
|
+
},
|
|
299
|
+
"borderColor": {
|
|
300
|
+
"red": 0,
|
|
301
|
+
"green": 0,
|
|
302
|
+
"blue": 0,
|
|
303
|
+
"alpha": 0
|
|
304
|
+
},
|
|
305
|
+
"color": {
|
|
306
|
+
"red": 0.2549,
|
|
307
|
+
"green": 0.27059,
|
|
308
|
+
"blue": 0.27843,
|
|
309
|
+
"alpha": 1
|
|
310
|
+
}
|
|
311
|
+
}
|
|
312
|
+
},
|
|
313
|
+
{
|
|
314
|
+
"if": {
|
|
315
|
+
"text": true
|
|
316
|
+
},
|
|
317
|
+
"tokens": {
|
|
318
|
+
"backgroundColor": {
|
|
319
|
+
"red": 0,
|
|
320
|
+
"green": 0,
|
|
321
|
+
"blue": 0,
|
|
322
|
+
"alpha": 0
|
|
323
|
+
},
|
|
324
|
+
"borderColor": {
|
|
325
|
+
"red": 0,
|
|
326
|
+
"green": 0,
|
|
327
|
+
"blue": 0,
|
|
328
|
+
"alpha": 0
|
|
329
|
+
},
|
|
330
|
+
"borderWidth": 0,
|
|
331
|
+
"minWidth": 0,
|
|
332
|
+
"outerBorderColor": {
|
|
333
|
+
"red": 0,
|
|
334
|
+
"green": 0,
|
|
335
|
+
"blue": 0,
|
|
336
|
+
"alpha": 0
|
|
337
|
+
},
|
|
338
|
+
"paddingLeft": 0,
|
|
339
|
+
"paddingRight": 0,
|
|
340
|
+
"textLine": "underline"
|
|
341
|
+
}
|
|
342
|
+
},
|
|
343
|
+
{
|
|
344
|
+
"if": {
|
|
345
|
+
"priority": "high",
|
|
346
|
+
"text": true
|
|
347
|
+
},
|
|
348
|
+
"tokens": {
|
|
349
|
+
"color": {
|
|
350
|
+
"red": 0.16863,
|
|
351
|
+
"green": 0.50196,
|
|
352
|
+
"blue": 0,
|
|
353
|
+
"alpha": 1
|
|
354
|
+
}
|
|
355
|
+
}
|
|
356
|
+
},
|
|
357
|
+
{
|
|
358
|
+
"if": {
|
|
359
|
+
"priority": "low",
|
|
360
|
+
"text": true
|
|
361
|
+
},
|
|
362
|
+
"tokens": {
|
|
363
|
+
"color": {
|
|
364
|
+
"red": 0.2549,
|
|
365
|
+
"green": 0.27059,
|
|
366
|
+
"blue": 0.27843,
|
|
367
|
+
"alpha": 1
|
|
368
|
+
}
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
{
|
|
372
|
+
"if": {
|
|
373
|
+
"pressed": true,
|
|
374
|
+
"text": true
|
|
375
|
+
},
|
|
376
|
+
"tokens": {
|
|
377
|
+
"borderColor": {
|
|
378
|
+
"red": 0,
|
|
379
|
+
"green": 0,
|
|
380
|
+
"blue": 0,
|
|
381
|
+
"alpha": 0
|
|
382
|
+
},
|
|
383
|
+
"color": {
|
|
384
|
+
"red": 0.08627,
|
|
385
|
+
"green": 0.24314,
|
|
386
|
+
"blue": 0.02353,
|
|
387
|
+
"alpha": 1
|
|
388
|
+
},
|
|
389
|
+
"outerBorderColor": {
|
|
390
|
+
"red": 0,
|
|
391
|
+
"green": 0,
|
|
392
|
+
"blue": 0,
|
|
393
|
+
"alpha": 0
|
|
394
|
+
},
|
|
395
|
+
"textLine": "none"
|
|
396
|
+
}
|
|
397
|
+
},
|
|
398
|
+
{
|
|
399
|
+
"if": {
|
|
400
|
+
"inactive": true,
|
|
401
|
+
"text": true
|
|
402
|
+
},
|
|
403
|
+
"tokens": {
|
|
404
|
+
"borderColor": {
|
|
405
|
+
"red": 0,
|
|
406
|
+
"green": 0,
|
|
407
|
+
"blue": 0,
|
|
408
|
+
"alpha": 0
|
|
409
|
+
},
|
|
410
|
+
"color": {
|
|
411
|
+
"red": 0.69804,
|
|
412
|
+
"green": 0.72549,
|
|
413
|
+
"blue": 0.74902,
|
|
414
|
+
"alpha": 1
|
|
415
|
+
},
|
|
416
|
+
"outerBorderColor": {
|
|
417
|
+
"red": 0,
|
|
418
|
+
"green": 0,
|
|
419
|
+
"blue": 0,
|
|
420
|
+
"alpha": 0
|
|
421
|
+
},
|
|
422
|
+
"textLine": "none"
|
|
423
|
+
}
|
|
424
|
+
},
|
|
425
|
+
{
|
|
426
|
+
"if": {
|
|
427
|
+
"inverse": true,
|
|
428
|
+
"text": true
|
|
429
|
+
},
|
|
430
|
+
"tokens": {
|
|
431
|
+
"borderRadius": 0,
|
|
432
|
+
"color": {
|
|
433
|
+
"red": 1,
|
|
434
|
+
"green": 1,
|
|
435
|
+
"blue": 1,
|
|
436
|
+
"alpha": 1
|
|
437
|
+
}
|
|
438
|
+
}
|
|
439
|
+
},
|
|
440
|
+
{
|
|
441
|
+
"if": {
|
|
442
|
+
"inactive": true,
|
|
443
|
+
"inverse": true,
|
|
444
|
+
"text": true
|
|
445
|
+
},
|
|
446
|
+
"tokens": {
|
|
447
|
+
"borderColor": {
|
|
448
|
+
"red": 0,
|
|
449
|
+
"green": 0,
|
|
450
|
+
"blue": 0,
|
|
451
|
+
"alpha": 0
|
|
452
|
+
},
|
|
453
|
+
"color": {
|
|
454
|
+
"red": 0.69804,
|
|
455
|
+
"green": 0.72549,
|
|
456
|
+
"blue": 0.74902,
|
|
457
|
+
"alpha": 1
|
|
458
|
+
},
|
|
459
|
+
"outerBorderColor": {
|
|
460
|
+
"red": 0,
|
|
461
|
+
"green": 0,
|
|
462
|
+
"blue": 0,
|
|
463
|
+
"alpha": 0
|
|
464
|
+
}
|
|
465
|
+
}
|
|
466
|
+
}
|
|
467
|
+
],
|
|
468
|
+
"tokens": {
|
|
469
|
+
"backgroundColor": {
|
|
470
|
+
"red": 1,
|
|
471
|
+
"green": 1,
|
|
472
|
+
"blue": 1,
|
|
473
|
+
"alpha": 1
|
|
474
|
+
},
|
|
475
|
+
"borderBottomWidth": 1,
|
|
476
|
+
"borderColor": {
|
|
477
|
+
"red": 0.16863,
|
|
478
|
+
"green": 0.50196,
|
|
479
|
+
"blue": 0,
|
|
480
|
+
"alpha": 1
|
|
481
|
+
},
|
|
482
|
+
"borderLeftWidth": 1,
|
|
483
|
+
"borderRadius": 32,
|
|
484
|
+
"borderRightWidth": 1,
|
|
485
|
+
"borderTopWidth": 1,
|
|
486
|
+
"borderWidth": 1,
|
|
487
|
+
"color": {
|
|
488
|
+
"red": 0.16863,
|
|
489
|
+
"green": 0.50196,
|
|
490
|
+
"blue": 0,
|
|
491
|
+
"alpha": 1
|
|
492
|
+
},
|
|
493
|
+
"fontName": "HelveticaNow",
|
|
494
|
+
"fontSize": 16,
|
|
495
|
+
"fontWeight": 700,
|
|
496
|
+
"height": null,
|
|
497
|
+
"icon": null,
|
|
498
|
+
"iconSize": 24,
|
|
499
|
+
"iconSpace": 1,
|
|
500
|
+
"lineHeight": 1.5,
|
|
501
|
+
"minWidth": 144,
|
|
502
|
+
"opacity": 1,
|
|
503
|
+
"outerBackgroundColor": {
|
|
504
|
+
"red": 0,
|
|
505
|
+
"green": 0,
|
|
506
|
+
"blue": 0,
|
|
507
|
+
"alpha": 0
|
|
508
|
+
},
|
|
509
|
+
"outerBorderColor": {
|
|
510
|
+
"red": 0,
|
|
511
|
+
"green": 0,
|
|
512
|
+
"blue": 0,
|
|
513
|
+
"alpha": 0
|
|
514
|
+
},
|
|
515
|
+
"outerBorderGap": 2,
|
|
516
|
+
"outerBorderWidth": 2,
|
|
517
|
+
"paddingBottom": 12,
|
|
518
|
+
"paddingLeft": 32,
|
|
519
|
+
"paddingRight": 32,
|
|
520
|
+
"paddingTop": 12,
|
|
521
|
+
"shadow": null,
|
|
522
|
+
"textAlign": "center",
|
|
523
|
+
"textLine": "none",
|
|
524
|
+
"textLineStyle": "solid",
|
|
525
|
+
"width": null
|
|
526
|
+
}
|
|
527
|
+
}
|