@telus-uds/theme-allium 4.33.1 → 4.35.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/Box.json +6 -6
- package/build/android/Notification.json +2 -2
- package/build/android/PriceLockup.json +20 -1
- package/build/android/Status.json +468 -0
- package/build/android/schema.json +1180 -982
- package/build/android/theme.json +497 -10
- package/build/ios/Box.json +6 -6
- package/build/ios/Notification.json +2 -2
- package/build/ios/PriceLockup.json +20 -1
- package/build/ios/Status.json +468 -0
- package/build/ios/schema.json +1180 -982
- package/build/ios/theme.json +497 -10
- package/build/rn/ActionCard.js +1 -1
- package/build/rn/ActivityIndicator.js +1 -1
- package/build/rn/Badge.js +1 -1
- package/build/rn/BlockQuote.js +1 -1
- package/build/rn/Box.js +2 -2
- 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/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/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 +1 -1
- 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 +3 -3
- 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 +22 -2
- 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/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 +175 -0
- package/build/rn/StepTracker.js +1 -1
- package/build/rn/StoryCard.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 +1180 -982
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +189 -6
- package/build/web/ActionCard.js +1 -1
- package/build/web/ActivityIndicator.js +1 -1
- package/build/web/Badge.js +1 -1
- package/build/web/BlockQuote.js +1 -1
- package/build/web/Box.js +2 -2
- 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/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/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 +1 -1
- 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 +3 -3
- 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 +22 -2
- 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/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 +175 -0
- package/build/web/StepTracker.js +1 -1
- package/build/web/StoryCard.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 +2 -1
- package/build/web/schema.json +1180 -982
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +189 -6
- package/package.json +5 -5
- package/theme.json +296 -5
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 Fri, 26 Jul 2024 21:16:52 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -332,7 +332,7 @@ const theme = {
|
|
|
332
332
|
},
|
|
333
333
|
{
|
|
334
334
|
if: { background: 'lighter' },
|
|
335
|
-
tokens: { backgroundColor: '#
|
|
335
|
+
tokens: { backgroundColor: '#fafafa', borderColor: '#fafafa' }
|
|
336
336
|
},
|
|
337
337
|
{
|
|
338
338
|
if: { background: 'light' },
|
|
@@ -4135,8 +4135,8 @@ const theme = {
|
|
|
4135
4135
|
borderRightWidth: 1,
|
|
4136
4136
|
borderTopWidth: 1,
|
|
4137
4137
|
color: '#414547',
|
|
4138
|
-
containerPaddingLeft:
|
|
4139
|
-
containerPaddingRight:
|
|
4138
|
+
containerPaddingLeft: 0,
|
|
4139
|
+
containerPaddingRight: 0,
|
|
4140
4140
|
dismissButtonGap: 24,
|
|
4141
4141
|
dismissIcon: PaletteIconClose,
|
|
4142
4142
|
dismissIconColor: '#676e73',
|
|
@@ -4488,7 +4488,10 @@ const theme = {
|
|
|
4488
4488
|
},
|
|
4489
4489
|
PriceLockup: {
|
|
4490
4490
|
appearances: {
|
|
4491
|
-
size: {
|
|
4491
|
+
size: {
|
|
4492
|
+
type: 'variant',
|
|
4493
|
+
values: [ 'micro', 'small', 'medium', 'large' ]
|
|
4494
|
+
},
|
|
4492
4495
|
strikeThrough: { type: 'variant', values: [ true ] },
|
|
4493
4496
|
viewport: {
|
|
4494
4497
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
@@ -4497,6 +4500,23 @@ const theme = {
|
|
|
4497
4500
|
}
|
|
4498
4501
|
},
|
|
4499
4502
|
rules: [
|
|
4503
|
+
{
|
|
4504
|
+
if: { size: 'micro' },
|
|
4505
|
+
tokens: {
|
|
4506
|
+
amountFontSize: 28,
|
|
4507
|
+
bottomTextFontSize: 14,
|
|
4508
|
+
bottomTextLineHeight: 1.42857142857,
|
|
4509
|
+
centsFontSize: 16,
|
|
4510
|
+
centsLineHeight: 1.33333333333,
|
|
4511
|
+
currencySymbolFontSize: 16,
|
|
4512
|
+
currencySymbolLineHeight: 1.25,
|
|
4513
|
+
rateFontSize: 14,
|
|
4514
|
+
rateLineHeight: 1.14285714286,
|
|
4515
|
+
strikeThroughPosition: 15,
|
|
4516
|
+
topTextFontSize: 14,
|
|
4517
|
+
topTextLineHeight: 1.42857142857
|
|
4518
|
+
}
|
|
4519
|
+
},
|
|
4500
4520
|
{
|
|
4501
4521
|
if: { size: 'small' },
|
|
4502
4522
|
tokens: {
|
|
@@ -5932,6 +5952,169 @@ const theme = {
|
|
|
5932
5952
|
width: null
|
|
5933
5953
|
}
|
|
5934
5954
|
},
|
|
5955
|
+
Status: {
|
|
5956
|
+
appearances: {
|
|
5957
|
+
inverse: {
|
|
5958
|
+
description: 'Inverts the status colors',
|
|
5959
|
+
type: 'variant',
|
|
5960
|
+
values: [ true ]
|
|
5961
|
+
},
|
|
5962
|
+
priority: { type: 'variant', values: [ 'default', 'low', 'high' ] },
|
|
5963
|
+
purpose: {
|
|
5964
|
+
type: 'variant',
|
|
5965
|
+
values: [
|
|
5966
|
+
'default', 'brand',
|
|
5967
|
+
'subtle', 'success',
|
|
5968
|
+
'warning', 'error',
|
|
5969
|
+
'offer'
|
|
5970
|
+
]
|
|
5971
|
+
}
|
|
5972
|
+
},
|
|
5973
|
+
rules: [
|
|
5974
|
+
{ if: { purpose: 'brand' }, tokens: { iconColor: '#4b286d' } },
|
|
5975
|
+
{ if: { purpose: 'subtle' }, tokens: { iconColor: '#676e73' } },
|
|
5976
|
+
{
|
|
5977
|
+
if: { purpose: 'success' },
|
|
5978
|
+
tokens: { icon: PaletteIconStatusSuccess, iconColor: '#2b8000' }
|
|
5979
|
+
},
|
|
5980
|
+
{
|
|
5981
|
+
if: { purpose: 'warning' },
|
|
5982
|
+
tokens: { icon: PaletteIconStatusWarning, iconColor: '#b4872c' }
|
|
5983
|
+
},
|
|
5984
|
+
{
|
|
5985
|
+
if: { purpose: 'error' },
|
|
5986
|
+
tokens: { icon: PaletteIconStatusError, iconColor: '#c12335' }
|
|
5987
|
+
},
|
|
5988
|
+
{ if: { purpose: 'offer' }, tokens: { iconColor: '#7c53a5' } },
|
|
5989
|
+
{
|
|
5990
|
+
if: { priority: 'low' },
|
|
5991
|
+
tokens: {
|
|
5992
|
+
borderRadius: 99,
|
|
5993
|
+
paddingBottom: 4,
|
|
5994
|
+
paddingLeft: 12,
|
|
5995
|
+
paddingRight: 12,
|
|
5996
|
+
paddingTop: 4
|
|
5997
|
+
}
|
|
5998
|
+
},
|
|
5999
|
+
{
|
|
6000
|
+
if: { priority: 'high' },
|
|
6001
|
+
tokens: {
|
|
6002
|
+
backgroundColor: '#414547',
|
|
6003
|
+
borderRadius: 99,
|
|
6004
|
+
iconColor: '#ffffff',
|
|
6005
|
+
paddingBottom: 4,
|
|
6006
|
+
paddingLeft: 12,
|
|
6007
|
+
paddingRight: 12,
|
|
6008
|
+
paddingTop: 4,
|
|
6009
|
+
textColor: '#ffffff'
|
|
6010
|
+
}
|
|
6011
|
+
},
|
|
6012
|
+
{
|
|
6013
|
+
if: { priority: 'low', purpose: 'default' },
|
|
6014
|
+
tokens: { backgroundColor: '#f4f4f7' }
|
|
6015
|
+
},
|
|
6016
|
+
{
|
|
6017
|
+
if: { priority: 'high', purpose: 'default' },
|
|
6018
|
+
tokens: { backgroundColor: '#414547' }
|
|
6019
|
+
},
|
|
6020
|
+
{
|
|
6021
|
+
if: { priority: 'low', purpose: 'brand' },
|
|
6022
|
+
tokens: { backgroundColor: '#e0d8fc' }
|
|
6023
|
+
},
|
|
6024
|
+
{
|
|
6025
|
+
if: { priority: 'high', purpose: 'brand' },
|
|
6026
|
+
tokens: { backgroundColor: '#4b286d' }
|
|
6027
|
+
},
|
|
6028
|
+
{
|
|
6029
|
+
if: { priority: 'low', purpose: 'subtle' },
|
|
6030
|
+
tokens: { backgroundColor: '#fafafa' }
|
|
6031
|
+
},
|
|
6032
|
+
{
|
|
6033
|
+
if: { priority: 'high', purpose: 'subtle' },
|
|
6034
|
+
tokens: { backgroundColor: '#676e73' }
|
|
6035
|
+
},
|
|
6036
|
+
{
|
|
6037
|
+
if: { priority: 'low', purpose: 'success' },
|
|
6038
|
+
tokens: { backgroundColor: '#f4f9f2' }
|
|
6039
|
+
},
|
|
6040
|
+
{
|
|
6041
|
+
if: { priority: 'high', purpose: 'success' },
|
|
6042
|
+
tokens: { backgroundColor: '#2b8000' }
|
|
6043
|
+
},
|
|
6044
|
+
{
|
|
6045
|
+
if: { priority: 'low', purpose: 'warning' },
|
|
6046
|
+
tokens: { backgroundColor: '#fff9ee' }
|
|
6047
|
+
},
|
|
6048
|
+
{
|
|
6049
|
+
if: { priority: 'high', purpose: 'warning' },
|
|
6050
|
+
tokens: { backgroundColor: '#b4872c' }
|
|
6051
|
+
},
|
|
6052
|
+
{
|
|
6053
|
+
if: { priority: 'low', purpose: 'error' },
|
|
6054
|
+
tokens: { backgroundColor: '#fff6f8' }
|
|
6055
|
+
},
|
|
6056
|
+
{
|
|
6057
|
+
if: { priority: 'high', purpose: 'error' },
|
|
6058
|
+
tokens: { backgroundColor: '#c12335' }
|
|
6059
|
+
},
|
|
6060
|
+
{
|
|
6061
|
+
if: { priority: 'low', purpose: 'offer' },
|
|
6062
|
+
tokens: { backgroundColor: '#f4f4f7' }
|
|
6063
|
+
},
|
|
6064
|
+
{
|
|
6065
|
+
if: { priority: 'high', purpose: 'offer' },
|
|
6066
|
+
tokens: {
|
|
6067
|
+
backgroundGradient: {
|
|
6068
|
+
angle: 135,
|
|
6069
|
+
stops: [
|
|
6070
|
+
{ color: '#4b286d', stop: 0 },
|
|
6071
|
+
{ color: '#e53293', stop: 1 }
|
|
6072
|
+
],
|
|
6073
|
+
type: 'linear'
|
|
6074
|
+
}
|
|
6075
|
+
}
|
|
6076
|
+
},
|
|
6077
|
+
{
|
|
6078
|
+
if: { inverse: true },
|
|
6079
|
+
tokens: {
|
|
6080
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
6081
|
+
iconColor: '#ffffff',
|
|
6082
|
+
textColor: '#ffffff'
|
|
6083
|
+
}
|
|
6084
|
+
},
|
|
6085
|
+
{
|
|
6086
|
+
if: { inverse: true, priority: 'low' },
|
|
6087
|
+
tokens: { backgroundColor: '#2c2e30' }
|
|
6088
|
+
},
|
|
6089
|
+
{
|
|
6090
|
+
if: { inverse: true, priority: 'high' },
|
|
6091
|
+
tokens: {
|
|
6092
|
+
backgroundColor: '#ffffff',
|
|
6093
|
+
iconColor: '#2c2e30',
|
|
6094
|
+
textColor: '#2c2e30'
|
|
6095
|
+
}
|
|
6096
|
+
}
|
|
6097
|
+
],
|
|
6098
|
+
tokens: {
|
|
6099
|
+
backgroundColor: null,
|
|
6100
|
+
backgroundGradient: null,
|
|
6101
|
+
borderColor: null,
|
|
6102
|
+
borderRadius: null,
|
|
6103
|
+
borderWidth: null,
|
|
6104
|
+
fontName: 'HelveticaNow',
|
|
6105
|
+
fontSize: 16,
|
|
6106
|
+
fontWeight: '700',
|
|
6107
|
+
icon: PaletteIconStatusInfo,
|
|
6108
|
+
iconColor: '#414547',
|
|
6109
|
+
iconGradient: null,
|
|
6110
|
+
paddingBottom: 0,
|
|
6111
|
+
paddingLeft: 0,
|
|
6112
|
+
paddingRight: 0,
|
|
6113
|
+
paddingTop: 0,
|
|
6114
|
+
textColor: '#676e73',
|
|
6115
|
+
textLineHeight: 1.14285714286
|
|
6116
|
+
}
|
|
6117
|
+
},
|
|
5935
6118
|
StepTracker: {
|
|
5936
6119
|
appearances: {
|
|
5937
6120
|
inverse: {
|
|
@@ -7708,6 +7891,6 @@ const theme = {
|
|
|
7708
7891
|
tokens: { size: 96 }
|
|
7709
7892
|
}
|
|
7710
7893
|
},
|
|
7711
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
7894
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.60.0' }
|
|
7712
7895
|
}
|
|
7713
7896
|
export default theme
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.35.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": "^2.
|
|
13
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
14
|
-
"@telus-uds/system-tokens": "^0.8.
|
|
12
|
+
"@telus-uds/palette-allium": "^2.34.0",
|
|
13
|
+
"@telus-uds/system-theme-tokens": "^2.60.0",
|
|
14
|
+
"@telus-uds/system-tokens": "^0.8.6"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@telus-uds/palette-allium": "^2.
|
|
17
|
+
"@telus-uds/palette-allium": "^2.34.0"
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
20
|
"build",
|
package/theme.json
CHANGED
|
@@ -328,8 +328,8 @@
|
|
|
328
328
|
"background": "lighter"
|
|
329
329
|
},
|
|
330
330
|
"tokens": {
|
|
331
|
-
"backgroundColor": "{palette.color.
|
|
332
|
-
"borderColor": "{palette.color.
|
|
331
|
+
"backgroundColor": "{palette.color.greyAlabaster}",
|
|
332
|
+
"borderColor": "{palette.color.greyAlabaster}"
|
|
333
333
|
}
|
|
334
334
|
},
|
|
335
335
|
{
|
|
@@ -5229,8 +5229,8 @@
|
|
|
5229
5229
|
"borderRightWidth": "{palette.border.border1}",
|
|
5230
5230
|
"borderTopWidth": "{palette.border.border1}",
|
|
5231
5231
|
"color": "{palette.color.greyCharcoal}",
|
|
5232
|
-
"containerPaddingLeft": "{palette.size.
|
|
5233
|
-
"containerPaddingRight": "{palette.size.
|
|
5232
|
+
"containerPaddingLeft": "{palette.size.size0}",
|
|
5233
|
+
"containerPaddingRight": "{palette.size.size0}",
|
|
5234
5234
|
"dismissButtonGap": "{palette.size.size24}",
|
|
5235
5235
|
"dismissIcon": "{palette.icon.Close}",
|
|
5236
5236
|
"dismissIconColor": "{palette.color.greyShuttle}",
|
|
@@ -5606,7 +5606,7 @@
|
|
|
5606
5606
|
"appearances": {
|
|
5607
5607
|
"size": {
|
|
5608
5608
|
"type": "variant",
|
|
5609
|
-
"values": ["small", "medium", "large"]
|
|
5609
|
+
"values": ["micro", "small", "medium", "large"]
|
|
5610
5610
|
},
|
|
5611
5611
|
"strikeThrough": {
|
|
5612
5612
|
"type": "variant",
|
|
@@ -5615,6 +5615,25 @@
|
|
|
5615
5615
|
"viewport": "{appearances.system.viewport}"
|
|
5616
5616
|
},
|
|
5617
5617
|
"rules": [
|
|
5618
|
+
{
|
|
5619
|
+
"if": {
|
|
5620
|
+
"size": "micro"
|
|
5621
|
+
},
|
|
5622
|
+
"tokens": {
|
|
5623
|
+
"amountFontSize": "{palette.fontSize.size28}",
|
|
5624
|
+
"bottomTextFontSize": "{palette.fontSize.size14}",
|
|
5625
|
+
"bottomTextLineHeight": "{palette.lineHeight.ratio10to7}",
|
|
5626
|
+
"centsFontSize": "{palette.fontSize.size16}",
|
|
5627
|
+
"centsLineHeight": "{palette.lineHeight.ratio4to3}",
|
|
5628
|
+
"currencySymbolFontSize": "{palette.fontSize.size16}",
|
|
5629
|
+
"currencySymbolLineHeight": "{palette.lineHeight.ratio5to4}",
|
|
5630
|
+
"rateFontSize": "{palette.fontSize.size14}",
|
|
5631
|
+
"rateLineHeight": "{palette.lineHeight.ratio8to7}",
|
|
5632
|
+
"strikeThroughPosition": "{palette.size.size15}",
|
|
5633
|
+
"topTextFontSize": "{palette.fontSize.size14}",
|
|
5634
|
+
"topTextLineHeight": "{palette.lineHeight.ratio10to7}"
|
|
5635
|
+
}
|
|
5636
|
+
},
|
|
5618
5637
|
{
|
|
5619
5638
|
"if": {
|
|
5620
5639
|
"size": "small"
|
|
@@ -7223,6 +7242,278 @@
|
|
|
7223
7242
|
"width": "{system.size.none}"
|
|
7224
7243
|
}
|
|
7225
7244
|
},
|
|
7245
|
+
"Status": {
|
|
7246
|
+
"appearances": {
|
|
7247
|
+
"inverse": {
|
|
7248
|
+
"description": "Inverts the status colors",
|
|
7249
|
+
"type": "variant",
|
|
7250
|
+
"values": [true]
|
|
7251
|
+
},
|
|
7252
|
+
"priority": {
|
|
7253
|
+
"type": "variant",
|
|
7254
|
+
"values": ["default", "low", "high"]
|
|
7255
|
+
},
|
|
7256
|
+
"purpose": {
|
|
7257
|
+
"type": "variant",
|
|
7258
|
+
"values": ["default", "brand", "subtle", "success", "warning", "error", "offer"]
|
|
7259
|
+
}
|
|
7260
|
+
},
|
|
7261
|
+
"rules": [
|
|
7262
|
+
{
|
|
7263
|
+
"if": {
|
|
7264
|
+
"purpose": "brand"
|
|
7265
|
+
},
|
|
7266
|
+
"tokens": {
|
|
7267
|
+
"iconColor": "{palette.color.purpleTelus}"
|
|
7268
|
+
}
|
|
7269
|
+
},
|
|
7270
|
+
{
|
|
7271
|
+
"if": {
|
|
7272
|
+
"purpose": "subtle"
|
|
7273
|
+
},
|
|
7274
|
+
"tokens": {
|
|
7275
|
+
"iconColor": "{palette.color.greyShuttle}"
|
|
7276
|
+
}
|
|
7277
|
+
},
|
|
7278
|
+
{
|
|
7279
|
+
"if": {
|
|
7280
|
+
"purpose": "success"
|
|
7281
|
+
},
|
|
7282
|
+
"tokens": {
|
|
7283
|
+
"icon": "{palette.icon.StatusSuccess}",
|
|
7284
|
+
"iconColor": "{palette.color.greenAccessible}"
|
|
7285
|
+
}
|
|
7286
|
+
},
|
|
7287
|
+
{
|
|
7288
|
+
"if": {
|
|
7289
|
+
"purpose": "warning"
|
|
7290
|
+
},
|
|
7291
|
+
"tokens": {
|
|
7292
|
+
"icon": "{palette.icon.StatusWarning}",
|
|
7293
|
+
"iconColor": "{palette.color.amberDark}"
|
|
7294
|
+
}
|
|
7295
|
+
},
|
|
7296
|
+
{
|
|
7297
|
+
"if": {
|
|
7298
|
+
"purpose": "error"
|
|
7299
|
+
},
|
|
7300
|
+
"tokens": {
|
|
7301
|
+
"icon": "{palette.icon.StatusError}",
|
|
7302
|
+
"iconColor": "{palette.color.redDark}"
|
|
7303
|
+
}
|
|
7304
|
+
},
|
|
7305
|
+
{
|
|
7306
|
+
"if": {
|
|
7307
|
+
"purpose": "offer"
|
|
7308
|
+
},
|
|
7309
|
+
"tokens": {
|
|
7310
|
+
"iconColor": "{palette.color.purpleDeluge}"
|
|
7311
|
+
}
|
|
7312
|
+
},
|
|
7313
|
+
{
|
|
7314
|
+
"if": {
|
|
7315
|
+
"priority": "low"
|
|
7316
|
+
},
|
|
7317
|
+
"tokens": {
|
|
7318
|
+
"borderRadius": "{palette.radius.radius99}",
|
|
7319
|
+
"paddingBottom": "{palette.size.size4}",
|
|
7320
|
+
"paddingLeft": "{palette.size.size12}",
|
|
7321
|
+
"paddingRight": "{palette.size.size12}",
|
|
7322
|
+
"paddingTop": "{palette.size.size4}"
|
|
7323
|
+
}
|
|
7324
|
+
},
|
|
7325
|
+
{
|
|
7326
|
+
"if": {
|
|
7327
|
+
"priority": "high"
|
|
7328
|
+
},
|
|
7329
|
+
"tokens": {
|
|
7330
|
+
"backgroundColor": "{palette.color.greyCharcoal}",
|
|
7331
|
+
"borderRadius": "{palette.radius.radius99}",
|
|
7332
|
+
"iconColor": "{palette.color.white}",
|
|
7333
|
+
"paddingBottom": "{palette.size.size4}",
|
|
7334
|
+
"paddingLeft": "{palette.size.size12}",
|
|
7335
|
+
"paddingRight": "{palette.size.size12}",
|
|
7336
|
+
"paddingTop": "{palette.size.size4}",
|
|
7337
|
+
"textColor": "{palette.color.white}"
|
|
7338
|
+
}
|
|
7339
|
+
},
|
|
7340
|
+
{
|
|
7341
|
+
"if": {
|
|
7342
|
+
"priority": "low",
|
|
7343
|
+
"purpose": "default"
|
|
7344
|
+
},
|
|
7345
|
+
"tokens": {
|
|
7346
|
+
"backgroundColor": "{palette.color.greyAthens}"
|
|
7347
|
+
}
|
|
7348
|
+
},
|
|
7349
|
+
{
|
|
7350
|
+
"if": {
|
|
7351
|
+
"priority": "high",
|
|
7352
|
+
"purpose": "default"
|
|
7353
|
+
},
|
|
7354
|
+
"tokens": {
|
|
7355
|
+
"backgroundColor": "{palette.color.greyCharcoal}"
|
|
7356
|
+
}
|
|
7357
|
+
},
|
|
7358
|
+
{
|
|
7359
|
+
"if": {
|
|
7360
|
+
"priority": "low",
|
|
7361
|
+
"purpose": "brand"
|
|
7362
|
+
},
|
|
7363
|
+
"tokens": {
|
|
7364
|
+
"backgroundColor": "{palette.color.purpleLight}"
|
|
7365
|
+
}
|
|
7366
|
+
},
|
|
7367
|
+
{
|
|
7368
|
+
"if": {
|
|
7369
|
+
"priority": "high",
|
|
7370
|
+
"purpose": "brand"
|
|
7371
|
+
},
|
|
7372
|
+
"tokens": {
|
|
7373
|
+
"backgroundColor": "{palette.color.purpleTelus}"
|
|
7374
|
+
}
|
|
7375
|
+
},
|
|
7376
|
+
{
|
|
7377
|
+
"if": {
|
|
7378
|
+
"priority": "low",
|
|
7379
|
+
"purpose": "subtle"
|
|
7380
|
+
},
|
|
7381
|
+
"tokens": {
|
|
7382
|
+
"backgroundColor": "{palette.color.greyAlabaster}"
|
|
7383
|
+
}
|
|
7384
|
+
},
|
|
7385
|
+
{
|
|
7386
|
+
"if": {
|
|
7387
|
+
"priority": "high",
|
|
7388
|
+
"purpose": "subtle"
|
|
7389
|
+
},
|
|
7390
|
+
"tokens": {
|
|
7391
|
+
"backgroundColor": "{palette.color.greyShuttle}"
|
|
7392
|
+
}
|
|
7393
|
+
},
|
|
7394
|
+
{
|
|
7395
|
+
"if": {
|
|
7396
|
+
"priority": "low",
|
|
7397
|
+
"purpose": "success"
|
|
7398
|
+
},
|
|
7399
|
+
"tokens": {
|
|
7400
|
+
"backgroundColor": "{palette.color.greenPanache}"
|
|
7401
|
+
}
|
|
7402
|
+
},
|
|
7403
|
+
{
|
|
7404
|
+
"if": {
|
|
7405
|
+
"priority": "high",
|
|
7406
|
+
"purpose": "success"
|
|
7407
|
+
},
|
|
7408
|
+
"tokens": {
|
|
7409
|
+
"backgroundColor": "{palette.color.greenAccessible}"
|
|
7410
|
+
}
|
|
7411
|
+
},
|
|
7412
|
+
{
|
|
7413
|
+
"if": {
|
|
7414
|
+
"priority": "low",
|
|
7415
|
+
"purpose": "warning"
|
|
7416
|
+
},
|
|
7417
|
+
"tokens": {
|
|
7418
|
+
"backgroundColor": "{palette.color.amberLight}"
|
|
7419
|
+
}
|
|
7420
|
+
},
|
|
7421
|
+
{
|
|
7422
|
+
"if": {
|
|
7423
|
+
"priority": "high",
|
|
7424
|
+
"purpose": "warning"
|
|
7425
|
+
},
|
|
7426
|
+
"tokens": {
|
|
7427
|
+
"backgroundColor": "{palette.color.amberDark}"
|
|
7428
|
+
}
|
|
7429
|
+
},
|
|
7430
|
+
{
|
|
7431
|
+
"if": {
|
|
7432
|
+
"priority": "low",
|
|
7433
|
+
"purpose": "error"
|
|
7434
|
+
},
|
|
7435
|
+
"tokens": {
|
|
7436
|
+
"backgroundColor": "{palette.color.redLight}"
|
|
7437
|
+
}
|
|
7438
|
+
},
|
|
7439
|
+
{
|
|
7440
|
+
"if": {
|
|
7441
|
+
"priority": "high",
|
|
7442
|
+
"purpose": "error"
|
|
7443
|
+
},
|
|
7444
|
+
"tokens": {
|
|
7445
|
+
"backgroundColor": "{palette.color.redDark}"
|
|
7446
|
+
}
|
|
7447
|
+
},
|
|
7448
|
+
{
|
|
7449
|
+
"if": {
|
|
7450
|
+
"priority": "low",
|
|
7451
|
+
"purpose": "offer"
|
|
7452
|
+
},
|
|
7453
|
+
"tokens": {
|
|
7454
|
+
"backgroundColor": "{palette.color.greyAthens}"
|
|
7455
|
+
}
|
|
7456
|
+
},
|
|
7457
|
+
{
|
|
7458
|
+
"if": {
|
|
7459
|
+
"priority": "high",
|
|
7460
|
+
"purpose": "offer"
|
|
7461
|
+
},
|
|
7462
|
+
"tokens": {
|
|
7463
|
+
"backgroundGradient": "{palette.gradient.purple}"
|
|
7464
|
+
}
|
|
7465
|
+
},
|
|
7466
|
+
{
|
|
7467
|
+
"if": {
|
|
7468
|
+
"inverse": true
|
|
7469
|
+
},
|
|
7470
|
+
"tokens": {
|
|
7471
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
7472
|
+
"iconColor": "{palette.color.white}",
|
|
7473
|
+
"textColor": "{palette.color.white}"
|
|
7474
|
+
}
|
|
7475
|
+
},
|
|
7476
|
+
{
|
|
7477
|
+
"if": {
|
|
7478
|
+
"inverse": true,
|
|
7479
|
+
"priority": "low"
|
|
7480
|
+
},
|
|
7481
|
+
"tokens": {
|
|
7482
|
+
"backgroundColor": "{palette.color.greyThunder}"
|
|
7483
|
+
}
|
|
7484
|
+
},
|
|
7485
|
+
{
|
|
7486
|
+
"if": {
|
|
7487
|
+
"inverse": true,
|
|
7488
|
+
"priority": "high"
|
|
7489
|
+
},
|
|
7490
|
+
"tokens": {
|
|
7491
|
+
"backgroundColor": "{palette.color.white}",
|
|
7492
|
+
"iconColor": "{palette.color.greyThunder}",
|
|
7493
|
+
"textColor": "{palette.color.greyThunder}"
|
|
7494
|
+
}
|
|
7495
|
+
}
|
|
7496
|
+
],
|
|
7497
|
+
"tokens": {
|
|
7498
|
+
"backgroundColor": "{system.color.none}",
|
|
7499
|
+
"backgroundGradient": "{system.gradient.none}",
|
|
7500
|
+
"borderColor": "{system.color.none}",
|
|
7501
|
+
"borderRadius": "{system.radius.none}",
|
|
7502
|
+
"borderWidth": "{system.border.none}",
|
|
7503
|
+
"fontName": "{palette.fontName.HelveticaNow}",
|
|
7504
|
+
"fontSize": "{palette.fontSize.size16}",
|
|
7505
|
+
"fontWeight": "{palette.fontWeight.weight700}",
|
|
7506
|
+
"icon": "{palette.icon.StatusInfo}",
|
|
7507
|
+
"iconColor": "{palette.color.greyCharcoal}",
|
|
7508
|
+
"iconGradient": "{system.gradient.none}",
|
|
7509
|
+
"paddingBottom": "{palette.size.size0}",
|
|
7510
|
+
"paddingLeft": "{palette.size.size0}",
|
|
7511
|
+
"paddingRight": "{palette.size.size0}",
|
|
7512
|
+
"paddingTop": "{palette.size.size0}",
|
|
7513
|
+
"textColor": "{palette.color.greyShuttle}",
|
|
7514
|
+
"textLineHeight": "{palette.lineHeight.ratio8to7}"
|
|
7515
|
+
}
|
|
7516
|
+
},
|
|
7226
7517
|
"StepTracker": {
|
|
7227
7518
|
"appearances": {
|
|
7228
7519
|
"inverse": {
|