@telus-uds/theme-allium 7.18.0 → 7.20.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/Card.json +4 -0
- package/build/android/CheckboxCard.json +4 -0
- package/build/android/IconButton.json +247 -75
- package/build/android/Listbox.json +117 -1
- package/build/android/RadioCard.json +4 -0
- package/build/android/Shortcuts.json +44 -0
- package/build/android/ShortcutsItem.json +77 -0
- package/build/android/schema.json +1669 -1109
- package/build/android/theme.json +498 -77
- package/build/ios/Card.json +4 -0
- package/build/ios/CheckboxCard.json +4 -0
- package/build/ios/IconButton.json +247 -75
- package/build/ios/Listbox.json +117 -1
- package/build/ios/RadioCard.json +4 -0
- package/build/ios/Shortcuts.json +44 -0
- package/build/ios/ShortcutsItem.json +77 -0
- package/build/ios/schema.json +1669 -1109
- package/build/ios/theme.json +498 -77
- package/build/rn/ActionCard.js +1 -1
- package/build/rn/ActivityIndicator.js +1 -1
- package/build/rn/Autocomplete.js +1 -1
- package/build/rn/Badge.js +1 -1
- package/build/rn/BlockQuote.js +1 -1
- package/build/rn/Box.js +1 -1
- package/build/rn/Breadcrumbs.js +1 -1
- package/build/rn/Button.js +1 -1
- package/build/rn/ButtonDropdown.js +1 -1
- package/build/rn/ButtonGroup.js +1 -1
- package/build/rn/ButtonGroupItem.js +1 -1
- package/build/rn/Callout.js +1 -1
- package/build/rn/Card.js +9 -1
- package/build/rn/CardGroup.js +1 -1
- package/build/rn/Carousel.js +1 -1
- package/build/rn/CarouselTabsPanelItem.js +1 -1
- package/build/rn/CarouselThumbnail.js +1 -1
- package/build/rn/Checkbox.js +1 -1
- package/build/rn/CheckboxCard.js +5 -1
- package/build/rn/CheckboxCardGroup.js +1 -1
- package/build/rn/CheckboxGroup.js +1 -1
- package/build/rn/ChevronLink.js +1 -1
- package/build/rn/ColourToggle.js +1 -1
- package/build/rn/Countdown.js +1 -1
- package/build/rn/DatePicker.js +1 -1
- package/build/rn/Disclaimer.js +1 -1
- package/build/rn/Divider.js +1 -1
- package/build/rn/DownloadApp.js +1 -1
- package/build/rn/ExpandCollapse.js +1 -1
- package/build/rn/ExpandCollapseControl.js +1 -1
- package/build/rn/ExpandCollapseMini.js +1 -1
- package/build/rn/ExpandCollapseMiniControl.js +1 -1
- package/build/rn/ExpandCollapsePanel.js +1 -1
- package/build/rn/Feedback.js +1 -1
- package/build/rn/Fieldset.js +1 -1
- package/build/rn/FileUpload.js +1 -1
- package/build/rn/Footnote.js +1 -1
- package/build/rn/FootnoteLink.js +1 -1
- package/build/rn/HorizontalScrollButton.js +1 -1
- package/build/rn/Icon.js +1 -1
- package/build/rn/IconButton.js +158 -80
- package/build/rn/Image.js +1 -1
- package/build/rn/InputLabel.js +1 -1
- package/build/rn/InputSupports.js +1 -1
- package/build/rn/Link.js +1 -1
- package/build/rn/List.js +1 -1
- package/build/rn/Listbox.js +55 -3
- package/build/rn/Modal.js +1 -1
- package/build/rn/MultiSelectFilter.js +1 -1
- package/build/rn/NavigationBar.js +1 -1
- package/build/rn/Notification.js +1 -1
- package/build/rn/OrderedList.js +1 -1
- package/build/rn/Pagination.js +1 -1
- package/build/rn/PaginationPageButton.js +1 -1
- package/build/rn/PaginationSideButton.js +1 -1
- package/build/rn/PreviewCard.js +1 -1
- package/build/rn/PriceLockup.js +1 -1
- package/build/rn/ProductCard.js +1 -1
- package/build/rn/Progress.js +1 -1
- package/build/rn/ProgressBar.js +1 -1
- package/build/rn/QuantitySelector.js +1 -1
- package/build/rn/QuantitySelectorSideButton.js +1 -1
- package/build/rn/QuickLinks.js +1 -1
- package/build/rn/QuickLinksButton.js +1 -1
- package/build/rn/QuickLinksCard.js +1 -1
- package/build/rn/QuickLinksFeature.js +1 -1
- package/build/rn/QuickLinksFeatureItem.js +1 -1
- package/build/rn/QuickLinksList.js +1 -1
- package/build/rn/Radio.js +1 -1
- package/build/rn/RadioCard.js +5 -1
- package/build/rn/RadioCardGroup.js +1 -1
- package/build/rn/RadioGroup.js +1 -1
- package/build/rn/Ribbon.js +1 -1
- package/build/rn/Search.js +1 -1
- package/build/rn/SearchButton.js +1 -1
- package/build/rn/Select.js +1 -1
- package/build/rn/Shortcuts.js +33 -0
- package/build/rn/ShortcutsItem.js +65 -0
- package/build/rn/SideNav.js +1 -1
- package/build/rn/SideNavItem.js +1 -1
- package/build/rn/SideNavItemsGroup.js +1 -1
- package/build/rn/Skeleton.js +1 -1
- package/build/rn/SkipLink.js +1 -1
- package/build/rn/Spinner.js +1 -1
- package/build/rn/SplashButton.js +1 -1
- package/build/rn/SplashButtonWithDetails.js +1 -1
- package/build/rn/StackView.js +1 -1
- package/build/rn/Status.js +1 -1
- package/build/rn/StepTracker.js +1 -1
- package/build/rn/StoryCard.js +1 -1
- package/build/rn/TabBar.js +1 -1
- package/build/rn/TabBarItem.js +1 -1
- package/build/rn/Table.js +1 -1
- package/build/rn/Tabs.js +1 -1
- package/build/rn/TabsItem.js +1 -1
- package/build/rn/Tags.js +1 -1
- package/build/rn/TagsItem.js +1 -1
- package/build/rn/TermsAndConditions.js +1 -1
- package/build/rn/Testimonial.js +1 -1
- package/build/rn/TextArea.js +1 -1
- package/build/rn/TextInput.js +1 -1
- package/build/rn/Timeline.js +1 -1
- package/build/rn/Toast.js +1 -1
- package/build/rn/ToggleSwitch.js +1 -1
- package/build/rn/ToggleSwitchGroup.js +1 -1
- package/build/rn/Tooltip.js +1 -1
- package/build/rn/TooltipButton.js +1 -1
- package/build/rn/Typography.js +1 -1
- package/build/rn/Video.js +1 -1
- package/build/rn/VideoButton.js +1 -1
- package/build/rn/VideoControlBar.js +1 -1
- package/build/rn/VideoMenu.js +1 -1
- package/build/rn/VideoMiddleControlButton.js +1 -1
- package/build/rn/VideoPicker.js +1 -1
- package/build/rn/VideoPickerSlider.js +1 -1
- package/build/rn/VideoPickerThumbnail.js +1 -1
- package/build/rn/VideoProgressBar.js +1 -1
- package/build/rn/VideoVolumeSlider.js +1 -1
- package/build/rn/WaffleGrid.js +1 -1
- package/build/rn/schema.json +1669 -1109
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +318 -90
- package/build/web/ActionCard.js +1 -1
- package/build/web/ActivityIndicator.js +1 -1
- package/build/web/Autocomplete.js +1 -1
- package/build/web/Badge.js +1 -1
- package/build/web/BlockQuote.js +1 -1
- package/build/web/Box.js +1 -1
- package/build/web/Breadcrumbs.js +1 -1
- package/build/web/Button.js +1 -1
- package/build/web/ButtonDropdown.js +1 -1
- package/build/web/ButtonGroup.js +1 -1
- package/build/web/ButtonGroupItem.js +1 -1
- package/build/web/Callout.js +1 -1
- package/build/web/Card.js +9 -1
- package/build/web/CardGroup.js +1 -1
- package/build/web/Carousel.js +1 -1
- package/build/web/CarouselTabsPanelItem.js +1 -1
- package/build/web/CarouselThumbnail.js +1 -1
- package/build/web/Checkbox.js +1 -1
- package/build/web/CheckboxCard.js +5 -1
- package/build/web/CheckboxCardGroup.js +1 -1
- package/build/web/CheckboxGroup.js +1 -1
- package/build/web/ChevronLink.js +1 -1
- package/build/web/ColourToggle.js +1 -1
- package/build/web/Countdown.js +1 -1
- package/build/web/DatePicker.js +1 -1
- package/build/web/Disclaimer.js +1 -1
- package/build/web/Divider.js +1 -1
- package/build/web/DownloadApp.js +1 -1
- package/build/web/ExpandCollapse.js +1 -1
- package/build/web/ExpandCollapseControl.js +1 -1
- package/build/web/ExpandCollapseMini.js +1 -1
- package/build/web/ExpandCollapseMiniControl.js +1 -1
- package/build/web/ExpandCollapsePanel.js +1 -1
- package/build/web/Feedback.js +1 -1
- package/build/web/Fieldset.js +1 -1
- package/build/web/FileUpload.js +1 -1
- package/build/web/Footnote.js +1 -1
- package/build/web/FootnoteLink.js +1 -1
- package/build/web/HorizontalScrollButton.js +1 -1
- package/build/web/Icon.js +1 -1
- package/build/web/IconButton.js +158 -80
- package/build/web/Image.js +1 -1
- package/build/web/InputLabel.js +1 -1
- package/build/web/InputSupports.js +1 -1
- package/build/web/Link.js +1 -1
- package/build/web/List.js +1 -1
- package/build/web/Listbox.js +55 -3
- package/build/web/Modal.js +1 -1
- package/build/web/MultiSelectFilter.js +1 -1
- package/build/web/NavigationBar.js +1 -1
- package/build/web/Notification.js +1 -1
- package/build/web/OrderedList.js +1 -1
- package/build/web/Pagination.js +1 -1
- package/build/web/PaginationPageButton.js +1 -1
- package/build/web/PaginationSideButton.js +1 -1
- package/build/web/PreviewCard.js +1 -1
- package/build/web/PriceLockup.js +1 -1
- package/build/web/ProductCard.js +1 -1
- package/build/web/Progress.js +1 -1
- package/build/web/ProgressBar.js +1 -1
- package/build/web/QuantitySelector.js +1 -1
- package/build/web/QuantitySelectorSideButton.js +1 -1
- package/build/web/QuickLinks.js +1 -1
- package/build/web/QuickLinksButton.js +1 -1
- package/build/web/QuickLinksCard.js +1 -1
- package/build/web/QuickLinksFeature.js +1 -1
- package/build/web/QuickLinksFeatureItem.js +1 -1
- package/build/web/QuickLinksList.js +1 -1
- package/build/web/Radio.js +1 -1
- package/build/web/RadioCard.js +5 -1
- package/build/web/RadioCardGroup.js +1 -1
- package/build/web/RadioGroup.js +1 -1
- package/build/web/Ribbon.js +1 -1
- package/build/web/Search.js +1 -1
- package/build/web/SearchButton.js +1 -1
- package/build/web/Select.js +1 -1
- package/build/web/Shortcuts.js +33 -0
- package/build/web/ShortcutsItem.js +65 -0
- package/build/web/SideNav.js +1 -1
- package/build/web/SideNavItem.js +1 -1
- package/build/web/SideNavItemsGroup.js +1 -1
- package/build/web/Skeleton.js +1 -1
- package/build/web/SkipLink.js +1 -1
- package/build/web/Spinner.js +1 -1
- package/build/web/SplashButton.js +1 -1
- package/build/web/SplashButtonWithDetails.js +1 -1
- package/build/web/StackView.js +1 -1
- package/build/web/Status.js +1 -1
- package/build/web/StepTracker.js +1 -1
- package/build/web/StoryCard.js +1 -1
- package/build/web/TabBar.js +1 -1
- package/build/web/TabBarItem.js +1 -1
- package/build/web/Table.js +1 -1
- package/build/web/Tabs.js +1 -1
- package/build/web/TabsItem.js +1 -1
- package/build/web/Tags.js +1 -1
- package/build/web/TagsItem.js +1 -1
- package/build/web/TermsAndConditions.js +1 -1
- package/build/web/Testimonial.js +1 -1
- package/build/web/TextArea.js +1 -1
- package/build/web/TextInput.js +1 -1
- package/build/web/Timeline.js +1 -1
- package/build/web/Toast.js +1 -1
- package/build/web/ToggleSwitch.js +1 -1
- package/build/web/ToggleSwitchGroup.js +1 -1
- package/build/web/Tooltip.js +1 -1
- package/build/web/TooltipButton.js +1 -1
- package/build/web/Typography.js +1 -1
- package/build/web/Video.js +1 -1
- package/build/web/VideoButton.js +1 -1
- package/build/web/VideoControlBar.js +1 -1
- package/build/web/VideoMenu.js +1 -1
- package/build/web/VideoMiddleControlButton.js +1 -1
- package/build/web/VideoPicker.js +1 -1
- package/build/web/VideoPickerSlider.js +1 -1
- package/build/web/VideoPickerThumbnail.js +1 -1
- package/build/web/VideoProgressBar.js +1 -1
- package/build/web/VideoVolumeSlider.js +1 -1
- package/build/web/WaffleGrid.js +1 -1
- package/build/web/index.js +3 -1
- package/build/web/schema.json +1669 -1109
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +318 -90
- package/package.json +5 -5
- package/theme.json +343 -91
package/build/web/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Mon, 12 Jan 2026 14:54:21 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -28,8 +28,8 @@ import PaletteIconUserSingle from '@telus-uds/palette-allium/build/rn/icons/User
|
|
|
28
28
|
import PaletteIconSubtract from '@telus-uds/palette-allium/build/rn/icons/Subtract'
|
|
29
29
|
import PaletteIconExpand from '@telus-uds/palette-allium/build/rn/icons/Expand'
|
|
30
30
|
import PaletteIconChevronLeft from '@telus-uds/palette-allium/build/rn/icons/ChevronLeft'
|
|
31
|
+
import PaletteIconInvisible from '@telus-uds/palette-allium/build/rn/icons/Invisible'
|
|
31
32
|
import PaletteIconBulletFill from '@telus-uds/palette-allium/build/rn/icons/BulletFill'
|
|
32
|
-
import PaletteIconChevronDown from '@telus-uds/palette-allium/build/rn/icons/ChevronDown'
|
|
33
33
|
import PaletteIconChevronUp from '@telus-uds/palette-allium/build/rn/icons/ChevronUp'
|
|
34
34
|
import PaletteIconStatusInfo from '@telus-uds/palette-allium/build/rn/icons/StatusInfo'
|
|
35
35
|
import PaletteIconTagFilled from '@telus-uds/palette-allium/build/rn/icons/TagFilled'
|
|
@@ -41,7 +41,6 @@ import PaletteIconQuoteLeftArrow from '@telus-uds/palette-allium/build/rn/icons/
|
|
|
41
41
|
import PaletteIconAmex from '@telus-uds/palette-allium/build/rn/icons/Amex'
|
|
42
42
|
import PaletteIconCreditCard from '@telus-uds/palette-allium/build/rn/icons/CreditCard'
|
|
43
43
|
import PaletteIconMasterCard from '@telus-uds/palette-allium/build/rn/icons/MasterCard'
|
|
44
|
-
import PaletteIconInvisible from '@telus-uds/palette-allium/build/rn/icons/Invisible'
|
|
45
44
|
import PaletteIconVisible from '@telus-uds/palette-allium/build/rn/icons/Visible'
|
|
46
45
|
import PaletteIconVisa from '@telus-uds/palette-allium/build/rn/icons/Visa'
|
|
47
46
|
import PaletteIconQuestion from '@telus-uds/palette-allium/build/rn/icons/Question'
|
|
@@ -1771,6 +1770,10 @@ const theme = {
|
|
|
1771
1770
|
if: { hover: true, interactive: true, style: 'darkest' },
|
|
1772
1771
|
tokens: { backgroundColor: 'rgba(255, 255, 255, 0.1)' }
|
|
1773
1772
|
},
|
|
1773
|
+
{
|
|
1774
|
+
if: { hover: true, interactive: true, style: 'feature' },
|
|
1775
|
+
tokens: { backgroundColor: 'rgba(0, 0, 0, 0.05)' }
|
|
1776
|
+
},
|
|
1774
1777
|
{
|
|
1775
1778
|
if: { interactive: true, pressed: true, style: 'dark' },
|
|
1776
1779
|
tokens: { backgroundColor: 'rgba(255, 255, 255, 0.2)' }
|
|
@@ -1814,6 +1817,10 @@ const theme = {
|
|
|
1814
1817
|
spread: 0
|
|
1815
1818
|
},
|
|
1816
1819
|
inputWidth: 32,
|
|
1820
|
+
marginBottom: 0,
|
|
1821
|
+
marginLeft: 0,
|
|
1822
|
+
marginRight: 0,
|
|
1823
|
+
marginTop: 0,
|
|
1817
1824
|
maxHeight: '100%',
|
|
1818
1825
|
minWidth: null,
|
|
1819
1826
|
overflowY: 'visible',
|
|
@@ -2336,6 +2343,10 @@ const theme = {
|
|
|
2336
2343
|
fontWeight: '500',
|
|
2337
2344
|
letterSpacing: 0,
|
|
2338
2345
|
lineHeight: 1.4,
|
|
2346
|
+
marginBottom: 0,
|
|
2347
|
+
marginLeft: 0,
|
|
2348
|
+
marginRight: 0,
|
|
2349
|
+
marginTop: 0,
|
|
2339
2350
|
minWidth: 264,
|
|
2340
2351
|
outerBorderColor: 'transparent',
|
|
2341
2352
|
outerBorderGap: 0,
|
|
@@ -3851,12 +3862,13 @@ const theme = {
|
|
|
3851
3862
|
action: {
|
|
3852
3863
|
type: 'variant',
|
|
3853
3864
|
values: [
|
|
3854
|
-
'add',
|
|
3855
|
-
'expand',
|
|
3856
|
-
'moveLeft',
|
|
3857
|
-
'moveUp',
|
|
3858
|
-
'subtract',
|
|
3859
|
-
'cart',
|
|
3865
|
+
'add', 'close',
|
|
3866
|
+
'expand', 'moveDown',
|
|
3867
|
+
'moveLeft', 'moveRight',
|
|
3868
|
+
'moveUp', 'play',
|
|
3869
|
+
'subtract', 'menu',
|
|
3870
|
+
'cart', 'profile',
|
|
3871
|
+
'visibility'
|
|
3860
3872
|
]
|
|
3861
3873
|
},
|
|
3862
3874
|
compact: {
|
|
@@ -3864,6 +3876,11 @@ const theme = {
|
|
|
3864
3876
|
type: 'variant',
|
|
3865
3877
|
values: [ true ]
|
|
3866
3878
|
},
|
|
3879
|
+
contained: {
|
|
3880
|
+
description: 'For use in more prominent situations',
|
|
3881
|
+
type: 'variant',
|
|
3882
|
+
values: [ true ]
|
|
3883
|
+
},
|
|
3867
3884
|
focus: {
|
|
3868
3885
|
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.",
|
|
3869
3886
|
platforms: [ 'rn', 'web' ],
|
|
@@ -3901,7 +3918,17 @@ const theme = {
|
|
|
3901
3918
|
type: 'variant',
|
|
3902
3919
|
values: [ true ]
|
|
3903
3920
|
},
|
|
3904
|
-
|
|
3921
|
+
selected: {
|
|
3922
|
+
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`.',
|
|
3923
|
+
type: 'state',
|
|
3924
|
+
values: [ true ]
|
|
3925
|
+
},
|
|
3926
|
+
size: { type: 'variant', values: [ 'small', 'large' ] },
|
|
3927
|
+
subtle: {
|
|
3928
|
+
description: 'For use in less prominent situations',
|
|
3929
|
+
type: 'variant',
|
|
3930
|
+
values: [ true ]
|
|
3931
|
+
}
|
|
3905
3932
|
},
|
|
3906
3933
|
rules: [
|
|
3907
3934
|
{
|
|
@@ -3982,158 +4009,224 @@ const theme = {
|
|
|
3982
4009
|
if: { action: 'play' },
|
|
3983
4010
|
tokens: { icon: PaletteIconPlayVideo }
|
|
3984
4011
|
},
|
|
4012
|
+
{
|
|
4013
|
+
if: { action: 'visibility' },
|
|
4014
|
+
tokens: { icon: PaletteIconInvisible }
|
|
4015
|
+
},
|
|
4016
|
+
{
|
|
4017
|
+
if: { subtle: true },
|
|
4018
|
+
tokens: { borderColor: 'rgba(0, 0, 0, 0)' }
|
|
4019
|
+
},
|
|
4020
|
+
{
|
|
4021
|
+
if: { raised: true },
|
|
4022
|
+
tokens: {
|
|
4023
|
+
backgroundColor: '#ffffff',
|
|
4024
|
+
borderColor: '#b2b9bf',
|
|
4025
|
+
padding: 8,
|
|
4026
|
+
shadow: {
|
|
4027
|
+
blur: 2,
|
|
4028
|
+
color: 'rgba(0, 0, 0, 0.2)',
|
|
4029
|
+
inset: false,
|
|
4030
|
+
offsetX: 0,
|
|
4031
|
+
offsetY: 2,
|
|
4032
|
+
spread: 0
|
|
4033
|
+
}
|
|
4034
|
+
}
|
|
4035
|
+
},
|
|
3985
4036
|
{
|
|
3986
4037
|
if: { inverse: true },
|
|
3987
4038
|
tokens: { borderColor: '#ffffff', iconColor: '#ffffff' }
|
|
3988
4039
|
},
|
|
4040
|
+
{
|
|
4041
|
+
if: { inverse: true, subtle: true },
|
|
4042
|
+
tokens: { borderColor: 'rgba(0, 0, 0, 0)', iconColor: '#ffffff' }
|
|
4043
|
+
},
|
|
3989
4044
|
{
|
|
3990
4045
|
if: { hover: true },
|
|
4046
|
+
tokens: { borderColor: '#414547', iconColor: '#414547' }
|
|
4047
|
+
},
|
|
4048
|
+
{
|
|
4049
|
+
if: { focus: true },
|
|
3991
4050
|
tokens: {
|
|
3992
4051
|
borderColor: '#414547',
|
|
3993
|
-
|
|
3994
|
-
|
|
4052
|
+
borderWidth: 2,
|
|
4053
|
+
iconColor: '#414547'
|
|
3995
4054
|
}
|
|
3996
4055
|
},
|
|
3997
|
-
{ if: { hover: true }, tokens: { iconScale: 1 } },
|
|
3998
4056
|
{
|
|
3999
|
-
if: {
|
|
4057
|
+
if: { pressed: true },
|
|
4000
4058
|
tokens: {
|
|
4001
|
-
backgroundColor: '#
|
|
4002
|
-
|
|
4059
|
+
backgroundColor: '#676e73',
|
|
4060
|
+
borderWidth: null,
|
|
4003
4061
|
iconColor: '#ffffff'
|
|
4004
4062
|
}
|
|
4005
4063
|
},
|
|
4006
4064
|
{
|
|
4007
|
-
if: {
|
|
4008
|
-
tokens: {
|
|
4065
|
+
if: { selected: true },
|
|
4066
|
+
tokens: {
|
|
4067
|
+
backgroundColor: '#4b286d',
|
|
4068
|
+
borderWidth: null,
|
|
4069
|
+
iconColor: '#ffffff'
|
|
4070
|
+
}
|
|
4009
4071
|
},
|
|
4010
4072
|
{
|
|
4011
|
-
if: {
|
|
4012
|
-
tokens: {
|
|
4073
|
+
if: { hover: true, inverse: true },
|
|
4074
|
+
tokens: {
|
|
4075
|
+
backgroundColor: 'transparent',
|
|
4076
|
+
borderColor: '#ffffff',
|
|
4077
|
+
iconColor: '#ffffff'
|
|
4078
|
+
}
|
|
4013
4079
|
},
|
|
4014
4080
|
{
|
|
4015
|
-
if: {
|
|
4016
|
-
tokens: {
|
|
4081
|
+
if: { focus: true, inverse: true },
|
|
4082
|
+
tokens: {
|
|
4083
|
+
backgroundColor: 'transparent',
|
|
4084
|
+
borderColor: '#ffffff',
|
|
4085
|
+
borderWidth: 2,
|
|
4086
|
+
iconColor: '#ffffff'
|
|
4087
|
+
}
|
|
4017
4088
|
},
|
|
4018
4089
|
{
|
|
4019
|
-
if: {
|
|
4090
|
+
if: { inverse: true, pressed: true },
|
|
4020
4091
|
tokens: {
|
|
4021
|
-
|
|
4022
|
-
|
|
4023
|
-
|
|
4092
|
+
backgroundColor: 'rgba(255, 255, 255, 0.4)',
|
|
4093
|
+
borderColor: '#ffffff',
|
|
4094
|
+
borderWidth: 1,
|
|
4095
|
+
iconColor: '#ffffff'
|
|
4024
4096
|
}
|
|
4025
4097
|
},
|
|
4026
4098
|
{
|
|
4027
|
-
if: {
|
|
4099
|
+
if: { inverse: true, selected: true },
|
|
4028
4100
|
tokens: {
|
|
4029
|
-
|
|
4030
|
-
|
|
4031
|
-
|
|
4101
|
+
backgroundColor: '#ffffff',
|
|
4102
|
+
borderWidth: null,
|
|
4103
|
+
iconColor: '#4b286d'
|
|
4032
4104
|
}
|
|
4033
4105
|
},
|
|
4034
4106
|
{
|
|
4035
|
-
if: {
|
|
4107
|
+
if: { hover: true, subtle: true },
|
|
4036
4108
|
tokens: {
|
|
4037
|
-
backgroundColor: '
|
|
4038
|
-
borderColor: '
|
|
4039
|
-
|
|
4040
|
-
|
|
4041
|
-
outerBorderWidth: 1
|
|
4109
|
+
backgroundColor: 'rgba(0, 0, 0, 0.05)',
|
|
4110
|
+
borderColor: 'rgba(0, 0, 0, 0.05)',
|
|
4111
|
+
borderWidth: null,
|
|
4112
|
+
iconColor: '#414547'
|
|
4042
4113
|
}
|
|
4043
4114
|
},
|
|
4044
4115
|
{
|
|
4045
|
-
if: {
|
|
4116
|
+
if: { focus: true, subtle: true },
|
|
4117
|
+
tokens: {
|
|
4118
|
+
borderColor: '#414547',
|
|
4119
|
+
borderWidth: 1,
|
|
4120
|
+
iconColor: '#414547'
|
|
4121
|
+
}
|
|
4122
|
+
},
|
|
4123
|
+
{
|
|
4124
|
+
if: { pressed: true, subtle: true },
|
|
4046
4125
|
tokens: {
|
|
4047
4126
|
backgroundColor: '#676e73',
|
|
4048
|
-
|
|
4049
|
-
iconColor: '#ffffff'
|
|
4050
|
-
outerBorderGap: 4
|
|
4127
|
+
borderWidth: null,
|
|
4128
|
+
iconColor: '#ffffff'
|
|
4051
4129
|
}
|
|
4052
4130
|
},
|
|
4053
4131
|
{
|
|
4054
|
-
if: {
|
|
4132
|
+
if: { selected: true, subtle: true },
|
|
4055
4133
|
tokens: {
|
|
4056
|
-
backgroundColor: '#
|
|
4057
|
-
|
|
4058
|
-
iconColor: '#ffffff'
|
|
4059
|
-
outerBorderGap: 0
|
|
4134
|
+
backgroundColor: '#4b286d',
|
|
4135
|
+
borderWidth: null,
|
|
4136
|
+
iconColor: '#ffffff'
|
|
4060
4137
|
}
|
|
4061
4138
|
},
|
|
4062
4139
|
{
|
|
4063
|
-
if: { inverse: true,
|
|
4140
|
+
if: { hover: true, inverse: true, subtle: true },
|
|
4141
|
+
tokens: {
|
|
4142
|
+
backgroundColor: 'rgba(255, 255, 255, 0.1)',
|
|
4143
|
+
borderColor: 'rgba(255, 255, 255, 0.1)',
|
|
4144
|
+
iconColor: '#ffffff'
|
|
4145
|
+
}
|
|
4146
|
+
},
|
|
4147
|
+
{
|
|
4148
|
+
if: { focus: true, inverse: true, subtle: true },
|
|
4064
4149
|
tokens: {
|
|
4065
|
-
backgroundColor: 'rgba(255, 255, 255, 0.4)',
|
|
4066
4150
|
borderColor: '#ffffff',
|
|
4067
|
-
|
|
4068
|
-
|
|
4151
|
+
borderWidth: 1,
|
|
4152
|
+
iconColor: '#ffffff'
|
|
4069
4153
|
}
|
|
4070
4154
|
},
|
|
4071
4155
|
{
|
|
4072
|
-
if: {
|
|
4073
|
-
tokens: {
|
|
4156
|
+
if: { inverse: true, pressed: true, subtle: true },
|
|
4157
|
+
tokens: {
|
|
4158
|
+
backgroundColor: 'rgba(255, 255, 255, 0.4)',
|
|
4159
|
+
borderWidth: null,
|
|
4160
|
+
iconColor: '#ffffff'
|
|
4161
|
+
}
|
|
4074
4162
|
},
|
|
4075
|
-
{ if: { size: 'small' }, tokens: { iconSize: 16, padding: 4 } },
|
|
4076
4163
|
{
|
|
4077
|
-
|
|
4078
|
-
if: { raised: true },
|
|
4164
|
+
if: { inverse: true, selected: true, subtle: true },
|
|
4079
4165
|
tokens: {
|
|
4080
4166
|
backgroundColor: '#ffffff',
|
|
4081
|
-
|
|
4082
|
-
|
|
4083
|
-
iconSize: 16,
|
|
4084
|
-
outerBorderColor: 'transparent',
|
|
4085
|
-
outerBorderGap: 0,
|
|
4086
|
-
outerBorderWidth: 0,
|
|
4087
|
-
padding: 8,
|
|
4088
|
-
shadow: {
|
|
4089
|
-
blur: 2,
|
|
4090
|
-
color: 'rgba(0, 0, 0, 0.2)',
|
|
4091
|
-
inset: false,
|
|
4092
|
-
offsetX: 0,
|
|
4093
|
-
offsetY: 2,
|
|
4094
|
-
spread: 0
|
|
4095
|
-
}
|
|
4167
|
+
borderWidth: null,
|
|
4168
|
+
iconColor: '#414547'
|
|
4096
4169
|
}
|
|
4097
4170
|
},
|
|
4098
4171
|
{
|
|
4099
|
-
if: {
|
|
4100
|
-
tokens: {
|
|
4172
|
+
if: { hover: true, raised: true },
|
|
4173
|
+
tokens: { borderColor: '#414547', iconColor: '#414547' }
|
|
4174
|
+
},
|
|
4175
|
+
{
|
|
4176
|
+
if: { focus: true, raised: true },
|
|
4177
|
+
tokens: {
|
|
4178
|
+
borderColor: '#414547',
|
|
4179
|
+
borderWidth: 3,
|
|
4180
|
+
iconColor: '#414547'
|
|
4181
|
+
}
|
|
4101
4182
|
},
|
|
4102
|
-
{ if: { raised: true, size: 'small' }, tokens: { padding: 8 } },
|
|
4103
4183
|
{
|
|
4104
4184
|
if: { pressed: true, raised: true },
|
|
4105
|
-
tokens: {
|
|
4185
|
+
tokens: {
|
|
4186
|
+
backgroundColor: '#676e73',
|
|
4187
|
+
borderWidth: null,
|
|
4188
|
+
iconColor: '#ffffff'
|
|
4189
|
+
}
|
|
4106
4190
|
},
|
|
4107
4191
|
{
|
|
4108
|
-
if: {
|
|
4192
|
+
if: { raised: true, selected: true },
|
|
4109
4193
|
tokens: {
|
|
4110
|
-
backgroundColor: '
|
|
4111
|
-
borderWidth:
|
|
4112
|
-
iconColor: '#
|
|
4113
|
-
outerBorderColor: 'rgba(0, 0, 0, 0)'
|
|
4194
|
+
backgroundColor: '#4b286d',
|
|
4195
|
+
borderWidth: null,
|
|
4196
|
+
iconColor: '#ffffff'
|
|
4114
4197
|
}
|
|
4115
4198
|
},
|
|
4116
4199
|
{
|
|
4117
|
-
if: {
|
|
4118
|
-
tokens: {
|
|
4200
|
+
if: { inactive: true },
|
|
4201
|
+
tokens: {
|
|
4202
|
+
backgroundColor: '#e3e6e8',
|
|
4203
|
+
borderWidth: 0,
|
|
4204
|
+
iconColor: '#b2b9bf',
|
|
4205
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)'
|
|
4206
|
+
}
|
|
4119
4207
|
},
|
|
4120
4208
|
{
|
|
4121
|
-
if: {
|
|
4209
|
+
if: { inactive: true, inverse: true },
|
|
4122
4210
|
tokens: {
|
|
4123
|
-
|
|
4124
|
-
borderWidth:
|
|
4125
|
-
iconColor: '#
|
|
4211
|
+
backgroundColor: 'rgba(255, 255, 255, 0.2)',
|
|
4212
|
+
borderWidth: 0,
|
|
4213
|
+
iconColor: '#b2b9bf',
|
|
4214
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)'
|
|
4126
4215
|
}
|
|
4127
4216
|
},
|
|
4128
4217
|
{
|
|
4129
|
-
if: {
|
|
4218
|
+
if: { inactive: true, inverse: true, subtle: true },
|
|
4130
4219
|
tokens: {
|
|
4131
|
-
backgroundColor: '
|
|
4220
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
4132
4221
|
borderWidth: 0,
|
|
4133
|
-
iconColor: '#
|
|
4222
|
+
iconColor: '#b2b9bf',
|
|
4223
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)'
|
|
4134
4224
|
}
|
|
4135
4225
|
},
|
|
4136
|
-
{
|
|
4226
|
+
{
|
|
4227
|
+
if: { size: 'large' },
|
|
4228
|
+
tokens: { iconSize: 24, padding: 10 }
|
|
4229
|
+
}
|
|
4137
4230
|
],
|
|
4138
4231
|
tokens: {
|
|
4139
4232
|
backgroundColor: 'transparent',
|
|
@@ -4687,6 +4780,7 @@ const theme = {
|
|
|
4687
4780
|
type: 'state',
|
|
4688
4781
|
values: [ true, false ]
|
|
4689
4782
|
},
|
|
4783
|
+
secondLevel: { type: 'variant', values: [ true ] },
|
|
4690
4784
|
style: { type: 'variant', values: [ 'default', 'lightest', 'light' ] }
|
|
4691
4785
|
},
|
|
4692
4786
|
rules: [
|
|
@@ -4881,9 +4975,38 @@ const theme = {
|
|
|
4881
4975
|
itemBorderTopWidth: 1,
|
|
4882
4976
|
itemColor: '#4b286d'
|
|
4883
4977
|
}
|
|
4978
|
+
},
|
|
4979
|
+
{
|
|
4980
|
+
if: { secondLevel: true },
|
|
4981
|
+
tokens: {
|
|
4982
|
+
groupBorderBottomColor: 'rgba(0, 0, 0, 0)',
|
|
4983
|
+
groupBorderBottomWidth: 0,
|
|
4984
|
+
groupBorderLeftColor: 'rgba(0, 0, 0, 0)',
|
|
4985
|
+
groupBorderLeftWidth: 0,
|
|
4986
|
+
groupBorderRightColor: 'rgba(0, 0, 0, 0)',
|
|
4987
|
+
groupBorderRightWidth: 0,
|
|
4988
|
+
groupBorderTopColor: 'rgba(0, 0, 0, 0)',
|
|
4989
|
+
groupBorderTopWidth: 0,
|
|
4990
|
+
itemBorderBottomColor: 'rgba(0, 0, 0, 0)',
|
|
4991
|
+
itemBorderBottomWidth: 0,
|
|
4992
|
+
itemBorderLeftColor: 'rgba(0, 0, 0, 0)',
|
|
4993
|
+
itemBorderLeftWidth: 0,
|
|
4994
|
+
itemBorderRightColor: 'rgba(0, 0, 0, 0)',
|
|
4995
|
+
itemBorderRightWidth: 0,
|
|
4996
|
+
itemBorderTopColor: 'rgba(0, 0, 0, 0)',
|
|
4997
|
+
itemBorderTopWidth: 0
|
|
4998
|
+
}
|
|
4999
|
+
},
|
|
5000
|
+
{
|
|
5001
|
+
if: { secondLevel: true },
|
|
5002
|
+
tokens: {
|
|
5003
|
+
groupIcon: PaletteIconChevronRight,
|
|
5004
|
+
secondLevelParentIcon: PaletteIconChevronRight
|
|
5005
|
+
}
|
|
4884
5006
|
}
|
|
4885
5007
|
],
|
|
4886
5008
|
tokens: {
|
|
5009
|
+
borderRadius: 6,
|
|
4887
5010
|
containerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
4888
5011
|
groupBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
4889
5012
|
groupBorderBottomColor: 'rgba(0, 0, 0, 0)',
|
|
@@ -4900,7 +5023,7 @@ const theme = {
|
|
|
4900
5023
|
groupFontSize: 14,
|
|
4901
5024
|
groupFontWeight: '400',
|
|
4902
5025
|
groupHeight: 40,
|
|
4903
|
-
groupIcon:
|
|
5026
|
+
groupIcon: PaletteIconCaretDown,
|
|
4904
5027
|
groupPaddingBottom: 12,
|
|
4905
5028
|
groupPaddingLeft: 16,
|
|
4906
5029
|
groupPaddingRight: 16,
|
|
@@ -4931,6 +5054,25 @@ const theme = {
|
|
|
4931
5054
|
lineHeight: 1.14285714286,
|
|
4932
5055
|
minHeight: '100%',
|
|
4933
5056
|
minWidth: '100%',
|
|
5057
|
+
secondLevelBackIcon: PaletteIconChevronLeft,
|
|
5058
|
+
secondLevelBackIconColor: '#414547',
|
|
5059
|
+
secondLevelBackIconSize: 16,
|
|
5060
|
+
secondLevelBackLinkColor: '#414547',
|
|
5061
|
+
secondLevelBackLinkFontName: 'HNforTELUSSA',
|
|
5062
|
+
secondLevelBackLinkFontSize: 14,
|
|
5063
|
+
secondLevelBackLinkFontWeight: '400',
|
|
5064
|
+
secondLevelCloseButtonBorderWidth: 1,
|
|
5065
|
+
secondLevelCloseButtonPadding: 8,
|
|
5066
|
+
secondLevelCloseIcon: PaletteIconClose,
|
|
5067
|
+
secondLevelCloseIconSize: 16,
|
|
5068
|
+
secondLevelDividerColor: 'rgba(0, 0, 0, 0.2)',
|
|
5069
|
+
secondLevelDividerWidth: 1,
|
|
5070
|
+
secondLevelHeaderBackgroundColor: '#ffffff',
|
|
5071
|
+
secondLevelHeaderPaddingBottom: 12,
|
|
5072
|
+
secondLevelHeaderPaddingLeft: 16,
|
|
5073
|
+
secondLevelHeaderPaddingRight: 16,
|
|
5074
|
+
secondLevelHeaderPaddingTop: 8,
|
|
5075
|
+
secondLevelParentIcon: PaletteIconChevronRight,
|
|
4934
5076
|
shadow: {
|
|
4935
5077
|
blur: 8,
|
|
4936
5078
|
color: 'rgba(0, 0, 0, 0.1)',
|
|
@@ -6705,6 +6847,10 @@ const theme = {
|
|
|
6705
6847
|
fontWeight: '500',
|
|
6706
6848
|
letterSpacing: 0,
|
|
6707
6849
|
lineHeight: 1.4,
|
|
6850
|
+
marginBottom: 0,
|
|
6851
|
+
marginLeft: 0,
|
|
6852
|
+
marginRight: 0,
|
|
6853
|
+
marginTop: 0,
|
|
6708
6854
|
minWidth: 264,
|
|
6709
6855
|
outerBorderColor: 'transparent',
|
|
6710
6856
|
outerBorderGap: 0,
|
|
@@ -7107,6 +7253,88 @@ const theme = {
|
|
|
7107
7253
|
validationIconSize: 20
|
|
7108
7254
|
}
|
|
7109
7255
|
},
|
|
7256
|
+
Shortcuts: {
|
|
7257
|
+
appearances: {
|
|
7258
|
+
viewport: {
|
|
7259
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
7260
|
+
type: 'state',
|
|
7261
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
7262
|
+
}
|
|
7263
|
+
},
|
|
7264
|
+
rules: [
|
|
7265
|
+
{ if: { viewport: 'md' }, tokens: { mainContainerGap: 16 } },
|
|
7266
|
+
{ if: { viewport: 'lg' }, tokens: { mainContainerGap: 16 } },
|
|
7267
|
+
{ if: { viewport: 'xl' }, tokens: { mainContainerGap: 16 } }
|
|
7268
|
+
],
|
|
7269
|
+
tokens: {
|
|
7270
|
+
mainContainerBottomPadding: 0,
|
|
7271
|
+
mainContainerGap: 8,
|
|
7272
|
+
mainContainerLeftPadding: 16,
|
|
7273
|
+
mainContainerRightPadding: 16,
|
|
7274
|
+
mainContainerTopPadding: 0,
|
|
7275
|
+
nextIcon: PaletteIconArrowRight,
|
|
7276
|
+
previousIcon: PaletteIconArrowLeft
|
|
7277
|
+
}
|
|
7278
|
+
},
|
|
7279
|
+
ShortcutsItem: {
|
|
7280
|
+
appearances: {
|
|
7281
|
+
focus: {
|
|
7282
|
+
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.",
|
|
7283
|
+
platforms: [ 'rn', 'web' ],
|
|
7284
|
+
type: 'state',
|
|
7285
|
+
values: [ true, false ]
|
|
7286
|
+
},
|
|
7287
|
+
hover: {
|
|
7288
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
7289
|
+
platforms: [ 'rn', 'web' ],
|
|
7290
|
+
type: 'state',
|
|
7291
|
+
values: [ true, false ]
|
|
7292
|
+
},
|
|
7293
|
+
pressed: {
|
|
7294
|
+
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.',
|
|
7295
|
+
type: 'state',
|
|
7296
|
+
values: [ true, false ]
|
|
7297
|
+
}
|
|
7298
|
+
},
|
|
7299
|
+
rules: [
|
|
7300
|
+
{
|
|
7301
|
+
if: { hover: true },
|
|
7302
|
+
tokens: { labelUnderline: 'underline' }
|
|
7303
|
+
},
|
|
7304
|
+
{ if: { focus: true }, tokens: { borderColor: '#2b8000' } },
|
|
7305
|
+
{
|
|
7306
|
+
if: { pressed: true },
|
|
7307
|
+
tokens: { iconColor: '#b2b9bf', labelFontColor: '#b2b9bf' }
|
|
7308
|
+
}
|
|
7309
|
+
],
|
|
7310
|
+
tokens: {
|
|
7311
|
+
borderColor: 'transparent',
|
|
7312
|
+
borderRadius: 4,
|
|
7313
|
+
borderWidth: 1,
|
|
7314
|
+
iconBackgroundColor: '#f4f4f7',
|
|
7315
|
+
iconColor: '#414547',
|
|
7316
|
+
iconContainerPaddingBottom: 8,
|
|
7317
|
+
iconContainerPaddingLeft: 8,
|
|
7318
|
+
iconContainerPaddingRight: 8,
|
|
7319
|
+
iconContainerPaddingTop: 8,
|
|
7320
|
+
iconSize: 24,
|
|
7321
|
+
iconWidth: 16,
|
|
7322
|
+
imageHeight: 56,
|
|
7323
|
+
imageWidth: 56,
|
|
7324
|
+
labelContainerPaddingBottom: 0,
|
|
7325
|
+
labelContainerPaddingLeft: 8,
|
|
7326
|
+
labelContainerPaddingRight: 8,
|
|
7327
|
+
labelContainerPaddingTop: 0,
|
|
7328
|
+
labelFontColor: '#2c2e30',
|
|
7329
|
+
labelFontName: 'HNforTELUSSA',
|
|
7330
|
+
labelFontSize: 14,
|
|
7331
|
+
labelFontWeight: '400',
|
|
7332
|
+
labelLineHeight: 1.42857142857,
|
|
7333
|
+
labelTextAlign: 'center',
|
|
7334
|
+
labelUnderline: 'none',
|
|
7335
|
+
width: 72
|
|
7336
|
+
}
|
|
7337
|
+
},
|
|
7110
7338
|
SideNav: {
|
|
7111
7339
|
appearances: {},
|
|
7112
7340
|
rules: [],
|
|
@@ -9561,6 +9789,6 @@ const theme = {
|
|
|
9561
9789
|
tokens: { size: 96 }
|
|
9562
9790
|
}
|
|
9563
9791
|
},
|
|
9564
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '4.
|
|
9792
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '4.18.0' }
|
|
9565
9793
|
}
|
|
9566
9794
|
export default theme
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.20.0",
|
|
4
4
|
"description": "Allium theme",
|
|
5
5
|
"author": "TELUS Digital",
|
|
6
6
|
"homepage": "https://github.com/telus/allium-design-system#readme",
|
|
@@ -9,12 +9,12 @@
|
|
|
9
9
|
"module": "build/web/index.js",
|
|
10
10
|
"dependencies": {},
|
|
11
11
|
"devDependencies": {
|
|
12
|
-
"@telus-uds/palette-allium": "^5.13.
|
|
13
|
-
"@telus-uds/system-theme-tokens": "^4.
|
|
14
|
-
"@telus-uds/system-tokens": "^1.4.
|
|
12
|
+
"@telus-uds/palette-allium": "^5.13.2",
|
|
13
|
+
"@telus-uds/system-theme-tokens": "^4.18.0",
|
|
14
|
+
"@telus-uds/system-tokens": "^1.4.12"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@telus-uds/palette-allium": "^5.13.
|
|
17
|
+
"@telus-uds/palette-allium": "^5.13.2"
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
20
|
"build",
|