@telus-uds/theme-allium 7.19.0 → 7.21.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/IconButton.json +247 -75
- package/build/android/PriceLockup.json +35 -0
- package/build/android/schema.json +1109 -1108
- package/build/android/theme.json +283 -76
- package/build/ios/IconButton.json +247 -75
- package/build/ios/PriceLockup.json +35 -0
- package/build/ios/schema.json +1109 -1108
- package/build/ios/theme.json +283 -76
- 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 +1 -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 +1 -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 +1 -1
- 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 +11 -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 +1 -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 +1 -1
- package/build/rn/ShortcutsItem.js +1 -1
- 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 +1109 -1108
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +180 -88
- 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 +1 -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 +1 -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 +1 -1
- 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 +11 -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 +1 -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 +1 -1
- package/build/web/ShortcutsItem.js +1 -1
- 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 +1 -1
- package/build/web/schema.json +1109 -1108
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +180 -88
- package/package.json +5 -5
- package/theme.json +178 -90
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, 19 Jan 2026 20:38:54 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -28,6 +28,7 @@ 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
33
|
import PaletteIconChevronUp from '@telus-uds/palette-allium/build/rn/icons/ChevronUp'
|
|
33
34
|
import PaletteIconStatusInfo from '@telus-uds/palette-allium/build/rn/icons/StatusInfo'
|
|
@@ -40,7 +41,6 @@ import PaletteIconQuoteLeftArrow from '@telus-uds/palette-allium/build/rn/icons/
|
|
|
40
41
|
import PaletteIconAmex from '@telus-uds/palette-allium/build/rn/icons/Amex'
|
|
41
42
|
import PaletteIconCreditCard from '@telus-uds/palette-allium/build/rn/icons/CreditCard'
|
|
42
43
|
import PaletteIconMasterCard from '@telus-uds/palette-allium/build/rn/icons/MasterCard'
|
|
43
|
-
import PaletteIconInvisible from '@telus-uds/palette-allium/build/rn/icons/Invisible'
|
|
44
44
|
import PaletteIconVisible from '@telus-uds/palette-allium/build/rn/icons/Visible'
|
|
45
45
|
import PaletteIconVisa from '@telus-uds/palette-allium/build/rn/icons/Visa'
|
|
46
46
|
import PaletteIconQuestion from '@telus-uds/palette-allium/build/rn/icons/Question'
|
|
@@ -3862,12 +3862,13 @@ const theme = {
|
|
|
3862
3862
|
action: {
|
|
3863
3863
|
type: 'variant',
|
|
3864
3864
|
values: [
|
|
3865
|
-
'add',
|
|
3866
|
-
'expand',
|
|
3867
|
-
'moveLeft',
|
|
3868
|
-
'moveUp',
|
|
3869
|
-
'subtract',
|
|
3870
|
-
'cart',
|
|
3865
|
+
'add', 'close',
|
|
3866
|
+
'expand', 'moveDown',
|
|
3867
|
+
'moveLeft', 'moveRight',
|
|
3868
|
+
'moveUp', 'play',
|
|
3869
|
+
'subtract', 'menu',
|
|
3870
|
+
'cart', 'profile',
|
|
3871
|
+
'visibility'
|
|
3871
3872
|
]
|
|
3872
3873
|
},
|
|
3873
3874
|
compact: {
|
|
@@ -3875,6 +3876,11 @@ const theme = {
|
|
|
3875
3876
|
type: 'variant',
|
|
3876
3877
|
values: [ true ]
|
|
3877
3878
|
},
|
|
3879
|
+
contained: {
|
|
3880
|
+
description: 'For use in more prominent situations',
|
|
3881
|
+
type: 'variant',
|
|
3882
|
+
values: [ true ]
|
|
3883
|
+
},
|
|
3878
3884
|
focus: {
|
|
3879
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.",
|
|
3880
3886
|
platforms: [ 'rn', 'web' ],
|
|
@@ -3912,7 +3918,17 @@ const theme = {
|
|
|
3912
3918
|
type: 'variant',
|
|
3913
3919
|
values: [ true ]
|
|
3914
3920
|
},
|
|
3915
|
-
|
|
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
|
+
}
|
|
3916
3932
|
},
|
|
3917
3933
|
rules: [
|
|
3918
3934
|
{
|
|
@@ -3993,158 +4009,224 @@ const theme = {
|
|
|
3993
4009
|
if: { action: 'play' },
|
|
3994
4010
|
tokens: { icon: PaletteIconPlayVideo }
|
|
3995
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
|
+
},
|
|
3996
4036
|
{
|
|
3997
4037
|
if: { inverse: true },
|
|
3998
4038
|
tokens: { borderColor: '#ffffff', iconColor: '#ffffff' }
|
|
3999
4039
|
},
|
|
4040
|
+
{
|
|
4041
|
+
if: { inverse: true, subtle: true },
|
|
4042
|
+
tokens: { borderColor: 'rgba(0, 0, 0, 0)', iconColor: '#ffffff' }
|
|
4043
|
+
},
|
|
4000
4044
|
{
|
|
4001
4045
|
if: { hover: true },
|
|
4046
|
+
tokens: { borderColor: '#414547', iconColor: '#414547' }
|
|
4047
|
+
},
|
|
4048
|
+
{
|
|
4049
|
+
if: { focus: true },
|
|
4002
4050
|
tokens: {
|
|
4003
4051
|
borderColor: '#414547',
|
|
4004
|
-
|
|
4005
|
-
|
|
4052
|
+
borderWidth: 2,
|
|
4053
|
+
iconColor: '#414547'
|
|
4006
4054
|
}
|
|
4007
4055
|
},
|
|
4008
|
-
{ if: { hover: true }, tokens: { iconScale: 1 } },
|
|
4009
4056
|
{
|
|
4010
|
-
if: {
|
|
4057
|
+
if: { pressed: true },
|
|
4011
4058
|
tokens: {
|
|
4012
|
-
backgroundColor: '#
|
|
4013
|
-
|
|
4059
|
+
backgroundColor: '#676e73',
|
|
4060
|
+
borderWidth: null,
|
|
4014
4061
|
iconColor: '#ffffff'
|
|
4015
4062
|
}
|
|
4016
4063
|
},
|
|
4017
4064
|
{
|
|
4018
|
-
if: {
|
|
4019
|
-
tokens: {
|
|
4065
|
+
if: { selected: true },
|
|
4066
|
+
tokens: {
|
|
4067
|
+
backgroundColor: '#4b286d',
|
|
4068
|
+
borderWidth: null,
|
|
4069
|
+
iconColor: '#ffffff'
|
|
4070
|
+
}
|
|
4020
4071
|
},
|
|
4021
4072
|
{
|
|
4022
|
-
if: {
|
|
4023
|
-
tokens: {
|
|
4073
|
+
if: { hover: true, inverse: true },
|
|
4074
|
+
tokens: {
|
|
4075
|
+
backgroundColor: 'transparent',
|
|
4076
|
+
borderColor: '#ffffff',
|
|
4077
|
+
iconColor: '#ffffff'
|
|
4078
|
+
}
|
|
4024
4079
|
},
|
|
4025
4080
|
{
|
|
4026
|
-
if: {
|
|
4027
|
-
tokens: {
|
|
4081
|
+
if: { focus: true, inverse: true },
|
|
4082
|
+
tokens: {
|
|
4083
|
+
backgroundColor: 'transparent',
|
|
4084
|
+
borderColor: '#ffffff',
|
|
4085
|
+
borderWidth: 2,
|
|
4086
|
+
iconColor: '#ffffff'
|
|
4087
|
+
}
|
|
4028
4088
|
},
|
|
4029
4089
|
{
|
|
4030
|
-
if: {
|
|
4090
|
+
if: { inverse: true, pressed: true },
|
|
4031
4091
|
tokens: {
|
|
4032
|
-
|
|
4033
|
-
|
|
4034
|
-
|
|
4092
|
+
backgroundColor: 'rgba(255, 255, 255, 0.4)',
|
|
4093
|
+
borderColor: '#ffffff',
|
|
4094
|
+
borderWidth: 1,
|
|
4095
|
+
iconColor: '#ffffff'
|
|
4035
4096
|
}
|
|
4036
4097
|
},
|
|
4037
4098
|
{
|
|
4038
|
-
if: {
|
|
4099
|
+
if: { inverse: true, selected: true },
|
|
4039
4100
|
tokens: {
|
|
4040
|
-
|
|
4041
|
-
|
|
4042
|
-
|
|
4101
|
+
backgroundColor: '#ffffff',
|
|
4102
|
+
borderWidth: null,
|
|
4103
|
+
iconColor: '#4b286d'
|
|
4043
4104
|
}
|
|
4044
4105
|
},
|
|
4045
4106
|
{
|
|
4046
|
-
if: {
|
|
4107
|
+
if: { hover: true, subtle: true },
|
|
4047
4108
|
tokens: {
|
|
4048
|
-
backgroundColor: '
|
|
4049
|
-
borderColor: '
|
|
4050
|
-
|
|
4051
|
-
|
|
4052
|
-
outerBorderWidth: 1
|
|
4109
|
+
backgroundColor: 'rgba(0, 0, 0, 0.05)',
|
|
4110
|
+
borderColor: 'rgba(0, 0, 0, 0.05)',
|
|
4111
|
+
borderWidth: null,
|
|
4112
|
+
iconColor: '#414547'
|
|
4053
4113
|
}
|
|
4054
4114
|
},
|
|
4055
4115
|
{
|
|
4056
|
-
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 },
|
|
4057
4125
|
tokens: {
|
|
4058
4126
|
backgroundColor: '#676e73',
|
|
4059
|
-
|
|
4060
|
-
iconColor: '#ffffff'
|
|
4061
|
-
outerBorderGap: 4
|
|
4127
|
+
borderWidth: null,
|
|
4128
|
+
iconColor: '#ffffff'
|
|
4062
4129
|
}
|
|
4063
4130
|
},
|
|
4064
4131
|
{
|
|
4065
|
-
if: {
|
|
4132
|
+
if: { selected: true, subtle: true },
|
|
4066
4133
|
tokens: {
|
|
4067
|
-
backgroundColor: '#
|
|
4068
|
-
|
|
4069
|
-
iconColor: '#ffffff'
|
|
4070
|
-
outerBorderGap: 0
|
|
4134
|
+
backgroundColor: '#4b286d',
|
|
4135
|
+
borderWidth: null,
|
|
4136
|
+
iconColor: '#ffffff'
|
|
4071
4137
|
}
|
|
4072
4138
|
},
|
|
4073
4139
|
{
|
|
4074
|
-
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 },
|
|
4075
4149
|
tokens: {
|
|
4076
|
-
backgroundColor: 'rgba(255, 255, 255, 0.4)',
|
|
4077
4150
|
borderColor: '#ffffff',
|
|
4078
|
-
|
|
4079
|
-
|
|
4151
|
+
borderWidth: 1,
|
|
4152
|
+
iconColor: '#ffffff'
|
|
4080
4153
|
}
|
|
4081
4154
|
},
|
|
4082
4155
|
{
|
|
4083
|
-
if: {
|
|
4084
|
-
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
|
+
}
|
|
4085
4162
|
},
|
|
4086
|
-
{ if: { size: 'small' }, tokens: { iconSize: 16, padding: 4 } },
|
|
4087
4163
|
{
|
|
4088
|
-
|
|
4089
|
-
if: { raised: true },
|
|
4164
|
+
if: { inverse: true, selected: true, subtle: true },
|
|
4090
4165
|
tokens: {
|
|
4091
4166
|
backgroundColor: '#ffffff',
|
|
4092
|
-
|
|
4093
|
-
|
|
4094
|
-
iconSize: 16,
|
|
4095
|
-
outerBorderColor: 'transparent',
|
|
4096
|
-
outerBorderGap: 0,
|
|
4097
|
-
outerBorderWidth: 0,
|
|
4098
|
-
padding: 8,
|
|
4099
|
-
shadow: {
|
|
4100
|
-
blur: 2,
|
|
4101
|
-
color: 'rgba(0, 0, 0, 0.2)',
|
|
4102
|
-
inset: false,
|
|
4103
|
-
offsetX: 0,
|
|
4104
|
-
offsetY: 2,
|
|
4105
|
-
spread: 0
|
|
4106
|
-
}
|
|
4167
|
+
borderWidth: null,
|
|
4168
|
+
iconColor: '#414547'
|
|
4107
4169
|
}
|
|
4108
4170
|
},
|
|
4109
4171
|
{
|
|
4110
|
-
if: {
|
|
4111
|
-
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
|
+
}
|
|
4112
4182
|
},
|
|
4113
|
-
{ if: { raised: true, size: 'small' }, tokens: { padding: 8 } },
|
|
4114
4183
|
{
|
|
4115
4184
|
if: { pressed: true, raised: true },
|
|
4116
|
-
tokens: {
|
|
4185
|
+
tokens: {
|
|
4186
|
+
backgroundColor: '#676e73',
|
|
4187
|
+
borderWidth: null,
|
|
4188
|
+
iconColor: '#ffffff'
|
|
4189
|
+
}
|
|
4117
4190
|
},
|
|
4118
4191
|
{
|
|
4119
|
-
if: {
|
|
4192
|
+
if: { raised: true, selected: true },
|
|
4120
4193
|
tokens: {
|
|
4121
|
-
backgroundColor: '
|
|
4122
|
-
borderWidth:
|
|
4123
|
-
iconColor: '#
|
|
4124
|
-
outerBorderColor: 'rgba(0, 0, 0, 0)'
|
|
4194
|
+
backgroundColor: '#4b286d',
|
|
4195
|
+
borderWidth: null,
|
|
4196
|
+
iconColor: '#ffffff'
|
|
4125
4197
|
}
|
|
4126
4198
|
},
|
|
4127
4199
|
{
|
|
4128
|
-
if: {
|
|
4129
|
-
tokens: {
|
|
4200
|
+
if: { inactive: true },
|
|
4201
|
+
tokens: {
|
|
4202
|
+
backgroundColor: '#e3e6e8',
|
|
4203
|
+
borderWidth: 0,
|
|
4204
|
+
iconColor: '#b2b9bf',
|
|
4205
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)'
|
|
4206
|
+
}
|
|
4130
4207
|
},
|
|
4131
4208
|
{
|
|
4132
|
-
if: {
|
|
4209
|
+
if: { inactive: true, inverse: true },
|
|
4133
4210
|
tokens: {
|
|
4134
|
-
|
|
4135
|
-
borderWidth:
|
|
4136
|
-
iconColor: '#
|
|
4211
|
+
backgroundColor: 'rgba(255, 255, 255, 0.2)',
|
|
4212
|
+
borderWidth: 0,
|
|
4213
|
+
iconColor: '#b2b9bf',
|
|
4214
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)'
|
|
4137
4215
|
}
|
|
4138
4216
|
},
|
|
4139
4217
|
{
|
|
4140
|
-
if: {
|
|
4218
|
+
if: { inactive: true, inverse: true, subtle: true },
|
|
4141
4219
|
tokens: {
|
|
4142
|
-
backgroundColor: '
|
|
4220
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
4143
4221
|
borderWidth: 0,
|
|
4144
|
-
iconColor: '#
|
|
4222
|
+
iconColor: '#b2b9bf',
|
|
4223
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)'
|
|
4145
4224
|
}
|
|
4146
4225
|
},
|
|
4147
|
-
{
|
|
4226
|
+
{
|
|
4227
|
+
if: { size: 'large' },
|
|
4228
|
+
tokens: { iconSize: 24, padding: 10 }
|
|
4229
|
+
}
|
|
4148
4230
|
],
|
|
4149
4231
|
tokens: {
|
|
4150
4232
|
backgroundColor: 'transparent',
|
|
@@ -5836,6 +5918,7 @@ const theme = {
|
|
|
5836
5918
|
values: [ 'micro', 'small', 'medium', 'large' ]
|
|
5837
5919
|
},
|
|
5838
5920
|
strikeThrough: { type: 'variant', values: [ true ] },
|
|
5921
|
+
style: { type: 'variant', values: [ 'inverse' ] },
|
|
5839
5922
|
viewport: {
|
|
5840
5923
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
5841
5924
|
type: 'state',
|
|
@@ -5943,6 +6026,15 @@ const theme = {
|
|
|
5943
6026
|
centsFontWeight: '300',
|
|
5944
6027
|
centsLineHeight: 1
|
|
5945
6028
|
}
|
|
6029
|
+
},
|
|
6030
|
+
{
|
|
6031
|
+
if: { style: 'inverse' },
|
|
6032
|
+
tokens: {
|
|
6033
|
+
dividerColor: '#ffffff',
|
|
6034
|
+
fontColor: '#ffffff',
|
|
6035
|
+
footnoteLinkColor: '#ffffff',
|
|
6036
|
+
strikeThroughColor: '#ffffff'
|
|
6037
|
+
}
|
|
5946
6038
|
}
|
|
5947
6039
|
],
|
|
5948
6040
|
tokens: {
|
|
@@ -9707,6 +9799,6 @@ const theme = {
|
|
|
9707
9799
|
tokens: { size: 96 }
|
|
9708
9800
|
}
|
|
9709
9801
|
},
|
|
9710
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '4.
|
|
9802
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '4.18.0' }
|
|
9711
9803
|
}
|
|
9712
9804
|
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.21.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",
|