@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,295 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Thu, 18 Jan 2024 22:41:54 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
const PaletteIconAdd = require('@telus-uds/palette-allium/build/rn/icons/Add')
|
|
9
|
+
const PaletteIconSubtract = require('@telus-uds/palette-allium/build/rn/icons/Subtract')
|
|
10
|
+
const PaletteIconClose = require('@telus-uds/palette-allium/build/rn/icons/Close')
|
|
11
|
+
const PaletteIconExpand = require('@telus-uds/palette-allium/build/rn/icons/Expand')
|
|
12
|
+
const PaletteIconCaretDown = require('@telus-uds/palette-allium/build/rn/icons/CaretDown')
|
|
13
|
+
const PaletteIconCaretUp = require('@telus-uds/palette-allium/build/rn/icons/CaretUp')
|
|
14
|
+
const PaletteIconChevronLeft = require('@telus-uds/palette-allium/build/rn/icons/ChevronLeft')
|
|
15
|
+
const PaletteIconChevronRight = require('@telus-uds/palette-allium/build/rn/icons/ChevronRight')
|
|
16
|
+
const PaletteIconPlayVideo = require('@telus-uds/palette-allium/build/rn/icons/PlayVideo')
|
|
17
|
+
|
|
18
|
+
module.exports = {
|
|
19
|
+
appearances: {
|
|
20
|
+
action: {
|
|
21
|
+
type: 'variant',
|
|
22
|
+
values: [
|
|
23
|
+
'add', 'close',
|
|
24
|
+
'expand', 'moveDown',
|
|
25
|
+
'moveLeft', 'moveRight',
|
|
26
|
+
'moveUp', 'play',
|
|
27
|
+
'subtract'
|
|
28
|
+
]
|
|
29
|
+
},
|
|
30
|
+
compact: {
|
|
31
|
+
description: 'Without the outer border gap',
|
|
32
|
+
type: 'variant',
|
|
33
|
+
values: [ true ]
|
|
34
|
+
},
|
|
35
|
+
focus: {
|
|
36
|
+
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.",
|
|
37
|
+
platforms: [ 'rn' ],
|
|
38
|
+
type: 'state',
|
|
39
|
+
values: [ true, false ]
|
|
40
|
+
},
|
|
41
|
+
hover: {
|
|
42
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
43
|
+
platforms: [ 'rn' ],
|
|
44
|
+
type: 'state',
|
|
45
|
+
values: [ true, false ]
|
|
46
|
+
},
|
|
47
|
+
inactive: {
|
|
48
|
+
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
49
|
+
type: 'state',
|
|
50
|
+
values: [ true ]
|
|
51
|
+
},
|
|
52
|
+
inverse: {
|
|
53
|
+
description: 'For use on dark backgrounds',
|
|
54
|
+
type: 'variant',
|
|
55
|
+
values: [ true ]
|
|
56
|
+
},
|
|
57
|
+
password: {
|
|
58
|
+
description: 'Password masked or not',
|
|
59
|
+
type: 'variant',
|
|
60
|
+
values: [ true ]
|
|
61
|
+
},
|
|
62
|
+
pressed: {
|
|
63
|
+
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.',
|
|
64
|
+
type: 'state',
|
|
65
|
+
values: [ true, false ]
|
|
66
|
+
},
|
|
67
|
+
raised: {
|
|
68
|
+
description: 'Uses shadow and background colour to appear raised above the page',
|
|
69
|
+
type: 'variant',
|
|
70
|
+
values: [ true ]
|
|
71
|
+
},
|
|
72
|
+
size: { type: 'variant', values: [ 'small', 'large' ] }
|
|
73
|
+
},
|
|
74
|
+
rules: [
|
|
75
|
+
{ if: { action: 'add' }, tokens: { icon: PaletteIconAdd } },
|
|
76
|
+
{
|
|
77
|
+
if: { action: 'subtract' },
|
|
78
|
+
tokens: { icon: PaletteIconSubtract }
|
|
79
|
+
},
|
|
80
|
+
{ if: { action: 'close' }, tokens: { icon: PaletteIconClose } },
|
|
81
|
+
{ if: { action: 'expand' }, tokens: { icon: PaletteIconExpand } },
|
|
82
|
+
{
|
|
83
|
+
if: { action: 'moveDown' },
|
|
84
|
+
tokens: { icon: PaletteIconCaretDown }
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
if: { action: 'moveUp' },
|
|
88
|
+
tokens: { icon: PaletteIconCaretUp }
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
if: { action: 'moveLeft' },
|
|
92
|
+
tokens: { icon: PaletteIconChevronLeft }
|
|
93
|
+
},
|
|
94
|
+
{
|
|
95
|
+
if: { action: 'moveRight' },
|
|
96
|
+
tokens: { icon: PaletteIconChevronRight }
|
|
97
|
+
},
|
|
98
|
+
{
|
|
99
|
+
if: { action: 'play' },
|
|
100
|
+
tokens: { icon: PaletteIconPlayVideo }
|
|
101
|
+
},
|
|
102
|
+
{ if: { action: 'add' }, tokens: { icon: PaletteIconAdd } },
|
|
103
|
+
{
|
|
104
|
+
if: { action: 'subtract' },
|
|
105
|
+
tokens: { icon: PaletteIconSubtract }
|
|
106
|
+
},
|
|
107
|
+
{ if: { action: 'close' }, tokens: { icon: PaletteIconClose } },
|
|
108
|
+
{ if: { action: 'expand' }, tokens: { icon: PaletteIconExpand } },
|
|
109
|
+
{
|
|
110
|
+
if: { action: 'moveDown' },
|
|
111
|
+
tokens: { icon: PaletteIconCaretDown }
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
if: { action: 'moveUp' },
|
|
115
|
+
tokens: { icon: PaletteIconCaretUp }
|
|
116
|
+
},
|
|
117
|
+
{
|
|
118
|
+
if: { action: 'moveLeft' },
|
|
119
|
+
tokens: { icon: PaletteIconChevronLeft }
|
|
120
|
+
},
|
|
121
|
+
{
|
|
122
|
+
if: { action: 'moveRight' },
|
|
123
|
+
tokens: { icon: PaletteIconChevronRight }
|
|
124
|
+
},
|
|
125
|
+
{
|
|
126
|
+
if: { action: 'play' },
|
|
127
|
+
tokens: { icon: PaletteIconPlayVideo }
|
|
128
|
+
},
|
|
129
|
+
{
|
|
130
|
+
if: { inverse: true },
|
|
131
|
+
tokens: { borderColor: '#ffffff', iconColor: '#ffffff' }
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
if: { hover: true },
|
|
135
|
+
tokens: { borderColor: '#414547', iconColor: '#414547', iconScale: 1.1 }
|
|
136
|
+
},
|
|
137
|
+
{ if: { hover: true }, tokens: { iconScale: 1 } },
|
|
138
|
+
{
|
|
139
|
+
if: { hover: true, password: true },
|
|
140
|
+
tokens: {
|
|
141
|
+
backgroundColor: '#7c53a5',
|
|
142
|
+
borderColor: '#7c53a5',
|
|
143
|
+
iconColor: '#ffffff'
|
|
144
|
+
}
|
|
145
|
+
},
|
|
146
|
+
{ if: { password: true }, tokens: { borderColor: 'transparent' } },
|
|
147
|
+
{
|
|
148
|
+
if: { focus: true, password: true },
|
|
149
|
+
tokens: { borderColor: '#4b286d' }
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
if: { hover: true, inverse: true },
|
|
153
|
+
tokens: { borderColor: '#ffffff', iconColor: '#ffffff' }
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
if: { focus: true },
|
|
157
|
+
tokens: {
|
|
158
|
+
outerBorderColor: '#676e73',
|
|
159
|
+
outerBorderGap: 4,
|
|
160
|
+
outerBorderWidth: 1
|
|
161
|
+
}
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
if: { focus: true, password: true },
|
|
165
|
+
tokens: {
|
|
166
|
+
borderWidth: 3,
|
|
167
|
+
outerBorderColor: '#3f2a54',
|
|
168
|
+
outerBorderWidth: 0
|
|
169
|
+
}
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
if: { focus: true, inverse: true },
|
|
173
|
+
tokens: {
|
|
174
|
+
backgroundColor: 'transparent',
|
|
175
|
+
borderColor: '#ffffff',
|
|
176
|
+
iconColor: '#ffffff',
|
|
177
|
+
outerBorderColor: '#ffffff',
|
|
178
|
+
outerBorderWidth: 1
|
|
179
|
+
}
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
if: { pressed: true },
|
|
183
|
+
tokens: {
|
|
184
|
+
backgroundColor: '#676e73',
|
|
185
|
+
borderColor: '#ffffff',
|
|
186
|
+
iconColor: '#ffffff',
|
|
187
|
+
outerBorderGap: 4
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
if: { password: true, pressed: true },
|
|
192
|
+
tokens: {
|
|
193
|
+
backgroundColor: '#3f2a54',
|
|
194
|
+
borderColor: '#3f2a54',
|
|
195
|
+
iconColor: '#ffffff',
|
|
196
|
+
outerBorderGap: 0
|
|
197
|
+
}
|
|
198
|
+
},
|
|
199
|
+
{
|
|
200
|
+
if: { inverse: true, pressed: true },
|
|
201
|
+
tokens: {
|
|
202
|
+
backgroundColor: 'rgba(255, 255, 255, 0.4)',
|
|
203
|
+
borderColor: '#ffffff',
|
|
204
|
+
iconColor: '#ffffff',
|
|
205
|
+
outerBorderWidth: 0
|
|
206
|
+
}
|
|
207
|
+
},
|
|
208
|
+
{ if: { size: 'large' }, tokens: { iconSize: 24, padding: 12 } },
|
|
209
|
+
{ if: { size: 'small' }, tokens: { iconSize: 16, padding: 4 } },
|
|
210
|
+
{
|
|
211
|
+
description: 'Raised IconButtons follow different design patterns to other variants',
|
|
212
|
+
if: { raised: true },
|
|
213
|
+
tokens: {
|
|
214
|
+
backgroundColor: '#ffffff',
|
|
215
|
+
borderColor: '#b2b9bf',
|
|
216
|
+
borderWidth: 1,
|
|
217
|
+
iconSize: 16,
|
|
218
|
+
outerBorderColor: 'transparent',
|
|
219
|
+
outerBorderGap: 0,
|
|
220
|
+
outerBorderWidth: 0,
|
|
221
|
+
padding: 8,
|
|
222
|
+
shadow: {
|
|
223
|
+
blur: 2,
|
|
224
|
+
color: 'rgba(0, 0, 0, 0.2)',
|
|
225
|
+
inset: false,
|
|
226
|
+
offsetX: 0,
|
|
227
|
+
offsetY: 2,
|
|
228
|
+
spread: 0
|
|
229
|
+
}
|
|
230
|
+
}
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
if: { raised: true, size: 'large' },
|
|
234
|
+
tokens: { iconSize: 24, padding: 12 }
|
|
235
|
+
},
|
|
236
|
+
{ if: { raised: true, size: 'small' }, tokens: { padding: 8 } },
|
|
237
|
+
{
|
|
238
|
+
if: { pressed: true, raised: true },
|
|
239
|
+
tokens: { backgroundColor: '#676e73', borderWidth: 0 }
|
|
240
|
+
},
|
|
241
|
+
{
|
|
242
|
+
if: { inactive: true, password: true },
|
|
243
|
+
tokens: {
|
|
244
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
245
|
+
borderWidth: 0,
|
|
246
|
+
iconColor: '#e3e6e8',
|
|
247
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)'
|
|
248
|
+
}
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
if: { hover: true, raised: true },
|
|
252
|
+
tokens: { borderColor: '#b2b9bf', borderWidth: 3 }
|
|
253
|
+
},
|
|
254
|
+
{
|
|
255
|
+
if: { focus: true, raised: true },
|
|
256
|
+
tokens: { borderColor: '#4b286d', borderWidth: 3, iconColor: '#4b286d' }
|
|
257
|
+
},
|
|
258
|
+
{
|
|
259
|
+
if: { focus: true, pressed: true, raised: true },
|
|
260
|
+
tokens: {
|
|
261
|
+
backgroundColor: '#4b286d',
|
|
262
|
+
borderWidth: 0,
|
|
263
|
+
iconColor: '#ffffff'
|
|
264
|
+
}
|
|
265
|
+
},
|
|
266
|
+
{ if: { compact: true }, tokens: { outerBorderGap: 0 } }
|
|
267
|
+
],
|
|
268
|
+
tokens: {
|
|
269
|
+
backgroundColor: 'transparent',
|
|
270
|
+
borderBottomLeftRadius: null,
|
|
271
|
+
borderBottomRightRadius: null,
|
|
272
|
+
borderBottomWidth: null,
|
|
273
|
+
borderColor: '#676e73',
|
|
274
|
+
borderLeftWidth: null,
|
|
275
|
+
borderRadius: 99999999999999,
|
|
276
|
+
borderRightWidth: null,
|
|
277
|
+
borderTopLeftRadius: null,
|
|
278
|
+
borderTopRightRadius: null,
|
|
279
|
+
borderTopWidth: null,
|
|
280
|
+
borderWidth: 1,
|
|
281
|
+
height: null,
|
|
282
|
+
icon: PaletteIconAdd,
|
|
283
|
+
iconColor: '#676e73',
|
|
284
|
+
iconScale: 1,
|
|
285
|
+
iconSize: 16,
|
|
286
|
+
iconTranslateX: 0,
|
|
287
|
+
iconTranslateY: 0,
|
|
288
|
+
outerBorderColor: 'transparent',
|
|
289
|
+
outerBorderGap: 0,
|
|
290
|
+
outerBorderWidth: null,
|
|
291
|
+
padding: 4,
|
|
292
|
+
shadow: null,
|
|
293
|
+
width: null
|
|
294
|
+
}
|
|
295
|
+
}
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Thu, 18 Jan 2024 22:41:54 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
module.exports = {
|
|
11
|
+
appearances: {},
|
|
12
|
+
rules: [],
|
|
13
|
+
tokens: {
|
|
14
|
+
color: '#414547',
|
|
15
|
+
fontName: 'HelveticaNow',
|
|
16
|
+
fontSize: 16,
|
|
17
|
+
fontWeight: '700',
|
|
18
|
+
gap: 8,
|
|
19
|
+
hintColor: '#414547',
|
|
20
|
+
hintFontName: 'HelveticaNow',
|
|
21
|
+
hintFontSize: 14,
|
|
22
|
+
hintFontWeight: '400',
|
|
23
|
+
hintLineHeight: 1.42857142857,
|
|
24
|
+
lineHeight: 1.5
|
|
25
|
+
}
|
|
26
|
+
}
|
package/build/rn/Link.js
ADDED
|
@@ -0,0 +1,173 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Thu, 18 Jan 2024 22:41:54 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
|
|
9
|
+
|
|
10
|
+
module.exports = {
|
|
11
|
+
appearances: {
|
|
12
|
+
alternative: {
|
|
13
|
+
description: 'Replaces the default green colour with a more subtle grey.',
|
|
14
|
+
type: 'variant',
|
|
15
|
+
values: [ true ]
|
|
16
|
+
},
|
|
17
|
+
focus: {
|
|
18
|
+
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.",
|
|
19
|
+
platforms: [ 'rn' ],
|
|
20
|
+
type: 'state',
|
|
21
|
+
values: [ true, false ]
|
|
22
|
+
},
|
|
23
|
+
hover: {
|
|
24
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
25
|
+
platforms: [ 'rn' ],
|
|
26
|
+
type: 'state',
|
|
27
|
+
values: [ true, false ]
|
|
28
|
+
},
|
|
29
|
+
iconPosition: {
|
|
30
|
+
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
31
|
+
type: 'state',
|
|
32
|
+
values: [ 'left', 'right' ]
|
|
33
|
+
},
|
|
34
|
+
inverse: {
|
|
35
|
+
description: 'Styles the link white for use on dark backgrounds.',
|
|
36
|
+
type: 'variant',
|
|
37
|
+
values: [ true ]
|
|
38
|
+
},
|
|
39
|
+
light: {
|
|
40
|
+
description: 'A lighter grey variant, used to lower the emphasis on a given Link (e.g. in Breadcrumbs)',
|
|
41
|
+
type: 'variant',
|
|
42
|
+
values: [ true ]
|
|
43
|
+
},
|
|
44
|
+
pressed: {
|
|
45
|
+
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.',
|
|
46
|
+
type: 'state',
|
|
47
|
+
values: [ true, false ]
|
|
48
|
+
},
|
|
49
|
+
quiet: {
|
|
50
|
+
description: 'When it is true, it does not show the decoration',
|
|
51
|
+
type: 'state',
|
|
52
|
+
values: [ true, false ]
|
|
53
|
+
},
|
|
54
|
+
size: {
|
|
55
|
+
description: 'Text sizes for block links; similar but not always identical to Typography sizes.',
|
|
56
|
+
type: 'variant',
|
|
57
|
+
values: [ 'large', 'small', 'micro' ]
|
|
58
|
+
}
|
|
59
|
+
},
|
|
60
|
+
rules: [
|
|
61
|
+
{ if: { iconPosition: 'left' }, tokens: { iconSpace: 2 } },
|
|
62
|
+
{
|
|
63
|
+
if: { focus: true },
|
|
64
|
+
tokens: { outerBorderColor: '#2b8000', outerBorderOutline: 'none' }
|
|
65
|
+
},
|
|
66
|
+
{
|
|
67
|
+
if: { hover: true },
|
|
68
|
+
tokens: { color: '#1f5c09', textLine: 'none' }
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
if: { pressed: true },
|
|
72
|
+
tokens: { color: '#163e06', textLine: 'none' }
|
|
73
|
+
},
|
|
74
|
+
{
|
|
75
|
+
if: { focus: true, pressed: true },
|
|
76
|
+
tokens: { outerBorderColor: '#163e06' }
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
if: { size: 'large' },
|
|
80
|
+
tokens: { blockFontSize: 20, blockLineHeight: 1.25, iconSize: 24 }
|
|
81
|
+
},
|
|
82
|
+
{
|
|
83
|
+
if: { size: 'small' },
|
|
84
|
+
tokens: { blockFontSize: 14, blockLineHeight: 1, iconSize: 20 }
|
|
85
|
+
},
|
|
86
|
+
{
|
|
87
|
+
if: { size: 'micro' },
|
|
88
|
+
tokens: {
|
|
89
|
+
blockFontName: 'HelveticaNow',
|
|
90
|
+
blockFontSize: 12,
|
|
91
|
+
blockFontWeight: '500',
|
|
92
|
+
blockLineHeight: 1.125,
|
|
93
|
+
iconSize: 16
|
|
94
|
+
}
|
|
95
|
+
},
|
|
96
|
+
{ if: { alternative: true }, tokens: { color: '#2c2e30' } },
|
|
97
|
+
{
|
|
98
|
+
if: { alternative: true, focus: true },
|
|
99
|
+
tokens: { color: '#414547', outerBorderColor: '#414547' }
|
|
100
|
+
},
|
|
101
|
+
{
|
|
102
|
+
if: { alternative: true, hover: true },
|
|
103
|
+
tokens: { color: '#2c2e30' }
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
if: { alternative: true, pressed: true },
|
|
107
|
+
tokens: { color: '#2c2e30' }
|
|
108
|
+
},
|
|
109
|
+
{ if: { inverse: true }, tokens: { color: '#ffffff' } },
|
|
110
|
+
{
|
|
111
|
+
if: { hover: true, inverse: true },
|
|
112
|
+
tokens: { color: '#f4f4f7' }
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
if: { focus: true, inverse: true },
|
|
116
|
+
tokens: { outerBorderColor: '#ffffff', outerBorderOutline: 'none' }
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
if: { inverse: true, pressed: true },
|
|
120
|
+
tokens: { color: '#e3e6e8' }
|
|
121
|
+
},
|
|
122
|
+
{
|
|
123
|
+
if: { focus: true, inverse: true, pressed: true },
|
|
124
|
+
tokens: { color: '#e3e6e8', outerBorderColor: '#e3e6e8' }
|
|
125
|
+
},
|
|
126
|
+
{ if: { light: true }, tokens: { color: '#676e73' } },
|
|
127
|
+
{
|
|
128
|
+
if: { focus: true, light: true },
|
|
129
|
+
tokens: { color: '#676e73', outerBorderColor: '#676e73' }
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
if: { hover: true, light: true },
|
|
133
|
+
tokens: { color: '#414547', textLine: 'none' }
|
|
134
|
+
},
|
|
135
|
+
{ if: { quiet: true }, tokens: { textLine: 'none' } },
|
|
136
|
+
{
|
|
137
|
+
if: { hover: true, quiet: true },
|
|
138
|
+
tokens: { color: '#1f5c09', textLine: 'underline' }
|
|
139
|
+
},
|
|
140
|
+
{
|
|
141
|
+
if: { alternative: true, hover: true, quiet: true },
|
|
142
|
+
tokens: { color: '#2c2e30', textLine: 'underline' }
|
|
143
|
+
},
|
|
144
|
+
{
|
|
145
|
+
if: { hover: true, inverse: true, quiet: true },
|
|
146
|
+
tokens: { color: '#f4f4f7', textLine: 'underline' }
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
if: { hover: true, light: true, quiet: true },
|
|
150
|
+
tokens: { color: '#414547', textLine: 'underline' }
|
|
151
|
+
}
|
|
152
|
+
],
|
|
153
|
+
tokens: {
|
|
154
|
+
alignSelf: 'flex-start',
|
|
155
|
+
blockFontName: 'HelveticaNow',
|
|
156
|
+
blockFontSize: 16,
|
|
157
|
+
blockFontWeight: '400',
|
|
158
|
+
blockLineHeight: 1.5,
|
|
159
|
+
borderRadius: 4,
|
|
160
|
+
color: '#2b8000',
|
|
161
|
+
icon: null,
|
|
162
|
+
iconSize: 24,
|
|
163
|
+
iconSpace: 1,
|
|
164
|
+
iconTranslateX: 0,
|
|
165
|
+
iconTranslateY: 0,
|
|
166
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
167
|
+
outerBorderGap: 2,
|
|
168
|
+
outerBorderOutline: 'none',
|
|
169
|
+
outerBorderWidth: 2,
|
|
170
|
+
textLine: 'underline',
|
|
171
|
+
textLineStyle: 'solid'
|
|
172
|
+
}
|
|
173
|
+
}
|
package/build/rn/List.js
ADDED
|
@@ -0,0 +1,75 @@
|
|
|
1
|
+
/*
|
|
2
|
+
*
|
|
3
|
+
* Do not edit directly
|
|
4
|
+
* Generated on Thu, 18 Jan 2024 22:41:54 GMT
|
|
5
|
+
*
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
const PaletteIconBulletFill = require('@telus-uds/palette-allium/build/rn/icons/BulletFill')
|
|
9
|
+
|
|
10
|
+
module.exports = {
|
|
11
|
+
appearances: {
|
|
12
|
+
compact: {
|
|
13
|
+
description: 'When true it will reduce the line height of the list item.',
|
|
14
|
+
type: 'variant',
|
|
15
|
+
values: [ true ]
|
|
16
|
+
},
|
|
17
|
+
size: {
|
|
18
|
+
description: 'Indicates list item text size.',
|
|
19
|
+
type: 'variant',
|
|
20
|
+
values: [ 'large', 'small' ]
|
|
21
|
+
}
|
|
22
|
+
},
|
|
23
|
+
rules: [
|
|
24
|
+
{
|
|
25
|
+
if: { size: 'large' },
|
|
26
|
+
tokens: {
|
|
27
|
+
iconMarginTop: 4,
|
|
28
|
+
itemFontSize: 20,
|
|
29
|
+
itemIconSize: 24,
|
|
30
|
+
itemLineHeight: 1.6,
|
|
31
|
+
listGutter: 8
|
|
32
|
+
}
|
|
33
|
+
},
|
|
34
|
+
{
|
|
35
|
+
if: { size: 'small' },
|
|
36
|
+
tokens: {
|
|
37
|
+
iconMarginTop: 0,
|
|
38
|
+
itemFontSize: 14,
|
|
39
|
+
itemIconSize: 24,
|
|
40
|
+
itemLineHeight: 1.42857142857,
|
|
41
|
+
listGutter: 8
|
|
42
|
+
}
|
|
43
|
+
},
|
|
44
|
+
{
|
|
45
|
+
if: { compact: true },
|
|
46
|
+
tokens: { iconMarginTop: 0, itemLineHeight: 1.25 }
|
|
47
|
+
},
|
|
48
|
+
{
|
|
49
|
+
if: { compact: true, size: 'small' },
|
|
50
|
+
tokens: { itemLineHeight: 1.14285714286 }
|
|
51
|
+
},
|
|
52
|
+
{
|
|
53
|
+
if: { compact: true, size: 'large' },
|
|
54
|
+
tokens: { itemLineHeight: 1.2 }
|
|
55
|
+
}
|
|
56
|
+
],
|
|
57
|
+
tokens: {
|
|
58
|
+
bulletIcon: PaletteIconBulletFill,
|
|
59
|
+
dividerColor: '#b2b9bf',
|
|
60
|
+
dividerSize: 1,
|
|
61
|
+
iconMarginTop: 0,
|
|
62
|
+
interItemMargin: 8,
|
|
63
|
+
interItemMarginWithDivider: 16,
|
|
64
|
+
itemBulletColor: '#4b286d',
|
|
65
|
+
itemBulletContainerAlign: 'center',
|
|
66
|
+
itemBulletContainerWidth: 24,
|
|
67
|
+
itemFontName: 'HelveticaNow',
|
|
68
|
+
itemFontSize: 16,
|
|
69
|
+
itemFontWeight: '400',
|
|
70
|
+
itemIconColor: '#4b286d',
|
|
71
|
+
itemIconSize: 24,
|
|
72
|
+
itemLineHeight: 1.5,
|
|
73
|
+
listGutter: 8
|
|
74
|
+
}
|
|
75
|
+
}
|