@telus-uds/theme-allium 4.34.0 → 4.36.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/OrderedList.json +10 -4
- package/build/android/PriceLockup.json +16 -5
- package/build/android/Ribbon.json +12 -0
- package/build/android/Status.json +468 -0
- package/build/android/schema.json +1188 -983
- package/build/android/theme.json +513 -16
- package/build/ios/Box.json +6 -6
- package/build/ios/OrderedList.json +10 -4
- package/build/ios/PriceLockup.json +16 -5
- package/build/ios/Ribbon.json +12 -0
- package/build/ios/Status.json +468 -0
- package/build/ios/schema.json +1188 -983
- package/build/ios/theme.json +513 -16
- 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 +1 -1
- package/build/rn/OrderedList.js +3 -2
- 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 +14 -5
- 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 +10 -3
- 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 +1188 -983
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +186 -9
- 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 +1 -1
- package/build/web/OrderedList.js +3 -2
- 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 +14 -5
- 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 +10 -3
- 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 +1188 -983
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +186 -9
- package/package.json +5 -5
- package/theme.json +295 -9
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 Aug 2024 06:25:54 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' },
|
|
@@ -4195,13 +4195,14 @@ const theme = {
|
|
|
4195
4195
|
itemBulletHeight: 4,
|
|
4196
4196
|
itemBulletTextAlign: 'right',
|
|
4197
4197
|
itemBulletWidth: 4,
|
|
4198
|
-
itemColor:
|
|
4198
|
+
itemColor: null,
|
|
4199
4199
|
itemFontName: 'HelveticaNow',
|
|
4200
4200
|
itemFontSize: 16,
|
|
4201
4201
|
itemFontWeight: '400',
|
|
4202
4202
|
itemLineHeight: 1.5,
|
|
4203
4203
|
itemMarginTop: 0,
|
|
4204
4204
|
itemPaddingTop: 0,
|
|
4205
|
+
itemTextColor: '#414547',
|
|
4205
4206
|
listGutter: 8
|
|
4206
4207
|
}
|
|
4207
4208
|
},
|
|
@@ -4535,11 +4536,11 @@ const theme = {
|
|
|
4535
4536
|
}
|
|
4536
4537
|
},
|
|
4537
4538
|
{
|
|
4538
|
-
if: { size: 'large'
|
|
4539
|
+
if: { size: 'large' },
|
|
4539
4540
|
tokens: {
|
|
4540
4541
|
amountFontSize: 64,
|
|
4541
|
-
bottomTextFontSize:
|
|
4542
|
-
bottomTextLineHeight: 1.
|
|
4542
|
+
bottomTextFontSize: 16,
|
|
4543
|
+
bottomTextLineHeight: 1.5,
|
|
4543
4544
|
centsFontSize: 36,
|
|
4544
4545
|
centsLineHeight: 1.125,
|
|
4545
4546
|
currencySymbolFontSize: 36,
|
|
@@ -4548,6 +4549,15 @@ const theme = {
|
|
|
4548
4549
|
rateLineHeight: 1.6,
|
|
4549
4550
|
strikeThroughHeight: 3,
|
|
4550
4551
|
strikeThroughPosition: 35,
|
|
4552
|
+
topTextFontSize: 16,
|
|
4553
|
+
topTextLineHeight: 1.5
|
|
4554
|
+
}
|
|
4555
|
+
},
|
|
4556
|
+
{
|
|
4557
|
+
if: { size: 'large', viewport: [ 'lg', 'xl' ] },
|
|
4558
|
+
tokens: {
|
|
4559
|
+
bottomTextFontSize: 20,
|
|
4560
|
+
bottomTextLineHeight: 1.6,
|
|
4551
4561
|
topTextFontSize: 20,
|
|
4552
4562
|
topTextLineHeight: 1.6
|
|
4553
4563
|
}
|
|
@@ -4565,7 +4575,7 @@ const theme = {
|
|
|
4565
4575
|
amountLineHeight: 1,
|
|
4566
4576
|
bottomLinksMarginLeft: 4,
|
|
4567
4577
|
bottomTextFontSize: 16,
|
|
4568
|
-
bottomTextLineHeight: 1.
|
|
4578
|
+
bottomTextLineHeight: 1.5,
|
|
4569
4579
|
bottomTextMarginTop: 4,
|
|
4570
4580
|
centsFontName: 'HelveticaNow',
|
|
4571
4581
|
centsFontSize: 20,
|
|
@@ -5377,6 +5387,7 @@ const theme = {
|
|
|
5377
5387
|
if: { purpose: 'editorial' },
|
|
5378
5388
|
tokens: {
|
|
5379
5389
|
backgroundColor: '#676e73',
|
|
5390
|
+
curveAfterBackgroundColor: '#676e73',
|
|
5380
5391
|
curveBackgroundColor: '#2c2e30'
|
|
5381
5392
|
}
|
|
5382
5393
|
},
|
|
@@ -5399,7 +5410,10 @@ const theme = {
|
|
|
5399
5410
|
},
|
|
5400
5411
|
{
|
|
5401
5412
|
if: { purpose: 'subtle' },
|
|
5402
|
-
tokens: {
|
|
5413
|
+
tokens: {
|
|
5414
|
+
backgroundColor: '#7c53a5',
|
|
5415
|
+
curveAfterBackgroundColor: '#7c53a5'
|
|
5416
|
+
}
|
|
5403
5417
|
}
|
|
5404
5418
|
],
|
|
5405
5419
|
tokens: {
|
|
@@ -5952,6 +5966,169 @@ const theme = {
|
|
|
5952
5966
|
width: null
|
|
5953
5967
|
}
|
|
5954
5968
|
},
|
|
5969
|
+
Status: {
|
|
5970
|
+
appearances: {
|
|
5971
|
+
inverse: {
|
|
5972
|
+
description: 'Inverts the status colors',
|
|
5973
|
+
type: 'variant',
|
|
5974
|
+
values: [ true ]
|
|
5975
|
+
},
|
|
5976
|
+
priority: { type: 'variant', values: [ 'default', 'low', 'high' ] },
|
|
5977
|
+
purpose: {
|
|
5978
|
+
type: 'variant',
|
|
5979
|
+
values: [
|
|
5980
|
+
'default', 'brand',
|
|
5981
|
+
'subtle', 'success',
|
|
5982
|
+
'warning', 'error',
|
|
5983
|
+
'offer'
|
|
5984
|
+
]
|
|
5985
|
+
}
|
|
5986
|
+
},
|
|
5987
|
+
rules: [
|
|
5988
|
+
{ if: { purpose: 'brand' }, tokens: { iconColor: '#4b286d' } },
|
|
5989
|
+
{ if: { purpose: 'subtle' }, tokens: { iconColor: '#676e73' } },
|
|
5990
|
+
{
|
|
5991
|
+
if: { purpose: 'success' },
|
|
5992
|
+
tokens: { icon: PaletteIconStatusSuccess, iconColor: '#2b8000' }
|
|
5993
|
+
},
|
|
5994
|
+
{
|
|
5995
|
+
if: { purpose: 'warning' },
|
|
5996
|
+
tokens: { icon: PaletteIconStatusWarning, iconColor: '#b4872c' }
|
|
5997
|
+
},
|
|
5998
|
+
{
|
|
5999
|
+
if: { purpose: 'error' },
|
|
6000
|
+
tokens: { icon: PaletteIconStatusError, iconColor: '#c12335' }
|
|
6001
|
+
},
|
|
6002
|
+
{ if: { purpose: 'offer' }, tokens: { iconColor: '#7c53a5' } },
|
|
6003
|
+
{
|
|
6004
|
+
if: { priority: 'low' },
|
|
6005
|
+
tokens: {
|
|
6006
|
+
borderRadius: 99,
|
|
6007
|
+
paddingBottom: 4,
|
|
6008
|
+
paddingLeft: 12,
|
|
6009
|
+
paddingRight: 12,
|
|
6010
|
+
paddingTop: 4
|
|
6011
|
+
}
|
|
6012
|
+
},
|
|
6013
|
+
{
|
|
6014
|
+
if: { priority: 'high' },
|
|
6015
|
+
tokens: {
|
|
6016
|
+
backgroundColor: '#414547',
|
|
6017
|
+
borderRadius: 99,
|
|
6018
|
+
iconColor: '#ffffff',
|
|
6019
|
+
paddingBottom: 4,
|
|
6020
|
+
paddingLeft: 12,
|
|
6021
|
+
paddingRight: 12,
|
|
6022
|
+
paddingTop: 4,
|
|
6023
|
+
textColor: '#ffffff'
|
|
6024
|
+
}
|
|
6025
|
+
},
|
|
6026
|
+
{
|
|
6027
|
+
if: { priority: 'low', purpose: 'default' },
|
|
6028
|
+
tokens: { backgroundColor: '#f4f4f7' }
|
|
6029
|
+
},
|
|
6030
|
+
{
|
|
6031
|
+
if: { priority: 'high', purpose: 'default' },
|
|
6032
|
+
tokens: { backgroundColor: '#414547' }
|
|
6033
|
+
},
|
|
6034
|
+
{
|
|
6035
|
+
if: { priority: 'low', purpose: 'brand' },
|
|
6036
|
+
tokens: { backgroundColor: '#e0d8fc' }
|
|
6037
|
+
},
|
|
6038
|
+
{
|
|
6039
|
+
if: { priority: 'high', purpose: 'brand' },
|
|
6040
|
+
tokens: { backgroundColor: '#4b286d' }
|
|
6041
|
+
},
|
|
6042
|
+
{
|
|
6043
|
+
if: { priority: 'low', purpose: 'subtle' },
|
|
6044
|
+
tokens: { backgroundColor: '#fafafa' }
|
|
6045
|
+
},
|
|
6046
|
+
{
|
|
6047
|
+
if: { priority: 'high', purpose: 'subtle' },
|
|
6048
|
+
tokens: { backgroundColor: '#676e73' }
|
|
6049
|
+
},
|
|
6050
|
+
{
|
|
6051
|
+
if: { priority: 'low', purpose: 'success' },
|
|
6052
|
+
tokens: { backgroundColor: '#f4f9f2' }
|
|
6053
|
+
},
|
|
6054
|
+
{
|
|
6055
|
+
if: { priority: 'high', purpose: 'success' },
|
|
6056
|
+
tokens: { backgroundColor: '#2b8000' }
|
|
6057
|
+
},
|
|
6058
|
+
{
|
|
6059
|
+
if: { priority: 'low', purpose: 'warning' },
|
|
6060
|
+
tokens: { backgroundColor: '#fff9ee' }
|
|
6061
|
+
},
|
|
6062
|
+
{
|
|
6063
|
+
if: { priority: 'high', purpose: 'warning' },
|
|
6064
|
+
tokens: { backgroundColor: '#b4872c' }
|
|
6065
|
+
},
|
|
6066
|
+
{
|
|
6067
|
+
if: { priority: 'low', purpose: 'error' },
|
|
6068
|
+
tokens: { backgroundColor: '#fff6f8' }
|
|
6069
|
+
},
|
|
6070
|
+
{
|
|
6071
|
+
if: { priority: 'high', purpose: 'error' },
|
|
6072
|
+
tokens: { backgroundColor: '#c12335' }
|
|
6073
|
+
},
|
|
6074
|
+
{
|
|
6075
|
+
if: { priority: 'low', purpose: 'offer' },
|
|
6076
|
+
tokens: { backgroundColor: '#f4f4f7' }
|
|
6077
|
+
},
|
|
6078
|
+
{
|
|
6079
|
+
if: { priority: 'high', purpose: 'offer' },
|
|
6080
|
+
tokens: {
|
|
6081
|
+
backgroundGradient: {
|
|
6082
|
+
angle: 135,
|
|
6083
|
+
stops: [
|
|
6084
|
+
{ color: '#4b286d', stop: 0 },
|
|
6085
|
+
{ color: '#e53293', stop: 1 }
|
|
6086
|
+
],
|
|
6087
|
+
type: 'linear'
|
|
6088
|
+
}
|
|
6089
|
+
}
|
|
6090
|
+
},
|
|
6091
|
+
{
|
|
6092
|
+
if: { inverse: true },
|
|
6093
|
+
tokens: {
|
|
6094
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
6095
|
+
iconColor: '#ffffff',
|
|
6096
|
+
textColor: '#ffffff'
|
|
6097
|
+
}
|
|
6098
|
+
},
|
|
6099
|
+
{
|
|
6100
|
+
if: { inverse: true, priority: 'low' },
|
|
6101
|
+
tokens: { backgroundColor: '#2c2e30' }
|
|
6102
|
+
},
|
|
6103
|
+
{
|
|
6104
|
+
if: { inverse: true, priority: 'high' },
|
|
6105
|
+
tokens: {
|
|
6106
|
+
backgroundColor: '#ffffff',
|
|
6107
|
+
iconColor: '#2c2e30',
|
|
6108
|
+
textColor: '#2c2e30'
|
|
6109
|
+
}
|
|
6110
|
+
}
|
|
6111
|
+
],
|
|
6112
|
+
tokens: {
|
|
6113
|
+
backgroundColor: null,
|
|
6114
|
+
backgroundGradient: null,
|
|
6115
|
+
borderColor: null,
|
|
6116
|
+
borderRadius: null,
|
|
6117
|
+
borderWidth: null,
|
|
6118
|
+
fontName: 'HelveticaNow',
|
|
6119
|
+
fontSize: 16,
|
|
6120
|
+
fontWeight: '700',
|
|
6121
|
+
icon: PaletteIconStatusInfo,
|
|
6122
|
+
iconColor: '#414547',
|
|
6123
|
+
iconGradient: null,
|
|
6124
|
+
paddingBottom: 0,
|
|
6125
|
+
paddingLeft: 0,
|
|
6126
|
+
paddingRight: 0,
|
|
6127
|
+
paddingTop: 0,
|
|
6128
|
+
textColor: '#676e73',
|
|
6129
|
+
textLineHeight: 1.14285714286
|
|
6130
|
+
}
|
|
6131
|
+
},
|
|
5955
6132
|
StepTracker: {
|
|
5956
6133
|
appearances: {
|
|
5957
6134
|
inverse: {
|
|
@@ -7728,6 +7905,6 @@ const theme = {
|
|
|
7728
7905
|
tokens: { size: 96 }
|
|
7729
7906
|
}
|
|
7730
7907
|
},
|
|
7731
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
7908
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.61.0' }
|
|
7732
7909
|
}
|
|
7733
7910
|
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.36.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.1",
|
|
13
|
+
"@telus-uds/system-theme-tokens": "^2.61.0",
|
|
14
|
+
"@telus-uds/system-tokens": "^0.8.7"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@telus-uds/palette-allium": "^2.
|
|
17
|
+
"@telus-uds/palette-allium": "^2.34.1"
|
|
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
|
{
|
|
@@ -5316,13 +5316,14 @@
|
|
|
5316
5316
|
"itemBulletHeight": "{palette.size.size4}",
|
|
5317
5317
|
"itemBulletTextAlign": "{system.textAlign.right}",
|
|
5318
5318
|
"itemBulletWidth": "{palette.size.size4}",
|
|
5319
|
-
"itemColor": "{
|
|
5319
|
+
"itemColor": "{system.color.none}",
|
|
5320
5320
|
"itemFontName": "{palette.fontName.HelveticaNow}",
|
|
5321
5321
|
"itemFontSize": "{palette.fontSize.size16}",
|
|
5322
5322
|
"itemFontWeight": "{palette.fontWeight.weight400}",
|
|
5323
5323
|
"itemLineHeight": "{palette.lineHeight.ratio3to2}",
|
|
5324
5324
|
"itemMarginTop": "{palette.size.size0}",
|
|
5325
5325
|
"itemPaddingTop": "{palette.size.size0}",
|
|
5326
|
+
"itemTextColor": "{palette.color.greyCharcoal}",
|
|
5326
5327
|
"listGutter": "{palette.size.size8}"
|
|
5327
5328
|
}
|
|
5328
5329
|
},
|
|
@@ -5655,13 +5656,12 @@
|
|
|
5655
5656
|
},
|
|
5656
5657
|
{
|
|
5657
5658
|
"if": {
|
|
5658
|
-
"size": "large"
|
|
5659
|
-
"viewport": ["lg", "xl"]
|
|
5659
|
+
"size": "large"
|
|
5660
5660
|
},
|
|
5661
5661
|
"tokens": {
|
|
5662
5662
|
"amountFontSize": "{palette.fontSize.size64}",
|
|
5663
|
-
"bottomTextFontSize": "{palette.fontSize.
|
|
5664
|
-
"bottomTextLineHeight": "{palette.lineHeight.
|
|
5663
|
+
"bottomTextFontSize": "{palette.fontSize.size16}",
|
|
5664
|
+
"bottomTextLineHeight": "{palette.lineHeight.ratio3to2}",
|
|
5665
5665
|
"centsFontSize": "{palette.fontSize.size36}",
|
|
5666
5666
|
"centsLineHeight": "{palette.lineHeight.ratio9to8}",
|
|
5667
5667
|
"currencySymbolFontSize": "{palette.fontSize.size36}",
|
|
@@ -5670,6 +5670,18 @@
|
|
|
5670
5670
|
"rateLineHeight": "{palette.lineHeight.ratio8to5}",
|
|
5671
5671
|
"strikeThroughHeight": "{palette.size.size3}",
|
|
5672
5672
|
"strikeThroughPosition": "{palette.size.size35}",
|
|
5673
|
+
"topTextFontSize": "{palette.fontSize.size16}",
|
|
5674
|
+
"topTextLineHeight": "{palette.lineHeight.ratio3to2}"
|
|
5675
|
+
}
|
|
5676
|
+
},
|
|
5677
|
+
{
|
|
5678
|
+
"if": {
|
|
5679
|
+
"size": "large",
|
|
5680
|
+
"viewport": ["lg", "xl"]
|
|
5681
|
+
},
|
|
5682
|
+
"tokens": {
|
|
5683
|
+
"bottomTextFontSize": "{palette.fontSize.size20}",
|
|
5684
|
+
"bottomTextLineHeight": "{palette.lineHeight.ratio8to5}",
|
|
5673
5685
|
"topTextFontSize": "{palette.fontSize.size20}",
|
|
5674
5686
|
"topTextLineHeight": "{palette.lineHeight.ratio8to5}"
|
|
5675
5687
|
}
|
|
@@ -5692,7 +5704,7 @@
|
|
|
5692
5704
|
"amountLineHeight": "{palette.lineHeight.ratio1to1}",
|
|
5693
5705
|
"bottomLinksMarginLeft": "{palette.size.size4}",
|
|
5694
5706
|
"bottomTextFontSize": "{palette.fontSize.size16}",
|
|
5695
|
-
"bottomTextLineHeight": "{palette.lineHeight.
|
|
5707
|
+
"bottomTextLineHeight": "{palette.lineHeight.ratio3to2}",
|
|
5696
5708
|
"bottomTextMarginTop": "{palette.size.size4}",
|
|
5697
5709
|
"centsFontName": "{palette.fontName.HelveticaNow}",
|
|
5698
5710
|
"centsFontSize": "{palette.fontSize.size20}",
|
|
@@ -6645,6 +6657,7 @@
|
|
|
6645
6657
|
},
|
|
6646
6658
|
"tokens": {
|
|
6647
6659
|
"backgroundColor": "{palette.color.greyShuttle}",
|
|
6660
|
+
"curveAfterBackgroundColor": "{palette.color.greyShuttle}",
|
|
6648
6661
|
"curveBackgroundColor": "{palette.color.greyThunder}"
|
|
6649
6662
|
}
|
|
6650
6663
|
},
|
|
@@ -6670,7 +6683,8 @@
|
|
|
6670
6683
|
"purpose": "subtle"
|
|
6671
6684
|
},
|
|
6672
6685
|
"tokens": {
|
|
6673
|
-
"backgroundColor": "{palette.color.purpleDeluge}"
|
|
6686
|
+
"backgroundColor": "{palette.color.purpleDeluge}",
|
|
6687
|
+
"curveAfterBackgroundColor": "{palette.color.purpleDeluge}"
|
|
6674
6688
|
}
|
|
6675
6689
|
}
|
|
6676
6690
|
],
|
|
@@ -7242,6 +7256,278 @@
|
|
|
7242
7256
|
"width": "{system.size.none}"
|
|
7243
7257
|
}
|
|
7244
7258
|
},
|
|
7259
|
+
"Status": {
|
|
7260
|
+
"appearances": {
|
|
7261
|
+
"inverse": {
|
|
7262
|
+
"description": "Inverts the status colors",
|
|
7263
|
+
"type": "variant",
|
|
7264
|
+
"values": [true]
|
|
7265
|
+
},
|
|
7266
|
+
"priority": {
|
|
7267
|
+
"type": "variant",
|
|
7268
|
+
"values": ["default", "low", "high"]
|
|
7269
|
+
},
|
|
7270
|
+
"purpose": {
|
|
7271
|
+
"type": "variant",
|
|
7272
|
+
"values": ["default", "brand", "subtle", "success", "warning", "error", "offer"]
|
|
7273
|
+
}
|
|
7274
|
+
},
|
|
7275
|
+
"rules": [
|
|
7276
|
+
{
|
|
7277
|
+
"if": {
|
|
7278
|
+
"purpose": "brand"
|
|
7279
|
+
},
|
|
7280
|
+
"tokens": {
|
|
7281
|
+
"iconColor": "{palette.color.purpleTelus}"
|
|
7282
|
+
}
|
|
7283
|
+
},
|
|
7284
|
+
{
|
|
7285
|
+
"if": {
|
|
7286
|
+
"purpose": "subtle"
|
|
7287
|
+
},
|
|
7288
|
+
"tokens": {
|
|
7289
|
+
"iconColor": "{palette.color.greyShuttle}"
|
|
7290
|
+
}
|
|
7291
|
+
},
|
|
7292
|
+
{
|
|
7293
|
+
"if": {
|
|
7294
|
+
"purpose": "success"
|
|
7295
|
+
},
|
|
7296
|
+
"tokens": {
|
|
7297
|
+
"icon": "{palette.icon.StatusSuccess}",
|
|
7298
|
+
"iconColor": "{palette.color.greenAccessible}"
|
|
7299
|
+
}
|
|
7300
|
+
},
|
|
7301
|
+
{
|
|
7302
|
+
"if": {
|
|
7303
|
+
"purpose": "warning"
|
|
7304
|
+
},
|
|
7305
|
+
"tokens": {
|
|
7306
|
+
"icon": "{palette.icon.StatusWarning}",
|
|
7307
|
+
"iconColor": "{palette.color.amberDark}"
|
|
7308
|
+
}
|
|
7309
|
+
},
|
|
7310
|
+
{
|
|
7311
|
+
"if": {
|
|
7312
|
+
"purpose": "error"
|
|
7313
|
+
},
|
|
7314
|
+
"tokens": {
|
|
7315
|
+
"icon": "{palette.icon.StatusError}",
|
|
7316
|
+
"iconColor": "{palette.color.redDark}"
|
|
7317
|
+
}
|
|
7318
|
+
},
|
|
7319
|
+
{
|
|
7320
|
+
"if": {
|
|
7321
|
+
"purpose": "offer"
|
|
7322
|
+
},
|
|
7323
|
+
"tokens": {
|
|
7324
|
+
"iconColor": "{palette.color.purpleDeluge}"
|
|
7325
|
+
}
|
|
7326
|
+
},
|
|
7327
|
+
{
|
|
7328
|
+
"if": {
|
|
7329
|
+
"priority": "low"
|
|
7330
|
+
},
|
|
7331
|
+
"tokens": {
|
|
7332
|
+
"borderRadius": "{palette.radius.radius99}",
|
|
7333
|
+
"paddingBottom": "{palette.size.size4}",
|
|
7334
|
+
"paddingLeft": "{palette.size.size12}",
|
|
7335
|
+
"paddingRight": "{palette.size.size12}",
|
|
7336
|
+
"paddingTop": "{palette.size.size4}"
|
|
7337
|
+
}
|
|
7338
|
+
},
|
|
7339
|
+
{
|
|
7340
|
+
"if": {
|
|
7341
|
+
"priority": "high"
|
|
7342
|
+
},
|
|
7343
|
+
"tokens": {
|
|
7344
|
+
"backgroundColor": "{palette.color.greyCharcoal}",
|
|
7345
|
+
"borderRadius": "{palette.radius.radius99}",
|
|
7346
|
+
"iconColor": "{palette.color.white}",
|
|
7347
|
+
"paddingBottom": "{palette.size.size4}",
|
|
7348
|
+
"paddingLeft": "{palette.size.size12}",
|
|
7349
|
+
"paddingRight": "{palette.size.size12}",
|
|
7350
|
+
"paddingTop": "{palette.size.size4}",
|
|
7351
|
+
"textColor": "{palette.color.white}"
|
|
7352
|
+
}
|
|
7353
|
+
},
|
|
7354
|
+
{
|
|
7355
|
+
"if": {
|
|
7356
|
+
"priority": "low",
|
|
7357
|
+
"purpose": "default"
|
|
7358
|
+
},
|
|
7359
|
+
"tokens": {
|
|
7360
|
+
"backgroundColor": "{palette.color.greyAthens}"
|
|
7361
|
+
}
|
|
7362
|
+
},
|
|
7363
|
+
{
|
|
7364
|
+
"if": {
|
|
7365
|
+
"priority": "high",
|
|
7366
|
+
"purpose": "default"
|
|
7367
|
+
},
|
|
7368
|
+
"tokens": {
|
|
7369
|
+
"backgroundColor": "{palette.color.greyCharcoal}"
|
|
7370
|
+
}
|
|
7371
|
+
},
|
|
7372
|
+
{
|
|
7373
|
+
"if": {
|
|
7374
|
+
"priority": "low",
|
|
7375
|
+
"purpose": "brand"
|
|
7376
|
+
},
|
|
7377
|
+
"tokens": {
|
|
7378
|
+
"backgroundColor": "{palette.color.purpleLight}"
|
|
7379
|
+
}
|
|
7380
|
+
},
|
|
7381
|
+
{
|
|
7382
|
+
"if": {
|
|
7383
|
+
"priority": "high",
|
|
7384
|
+
"purpose": "brand"
|
|
7385
|
+
},
|
|
7386
|
+
"tokens": {
|
|
7387
|
+
"backgroundColor": "{palette.color.purpleTelus}"
|
|
7388
|
+
}
|
|
7389
|
+
},
|
|
7390
|
+
{
|
|
7391
|
+
"if": {
|
|
7392
|
+
"priority": "low",
|
|
7393
|
+
"purpose": "subtle"
|
|
7394
|
+
},
|
|
7395
|
+
"tokens": {
|
|
7396
|
+
"backgroundColor": "{palette.color.greyAlabaster}"
|
|
7397
|
+
}
|
|
7398
|
+
},
|
|
7399
|
+
{
|
|
7400
|
+
"if": {
|
|
7401
|
+
"priority": "high",
|
|
7402
|
+
"purpose": "subtle"
|
|
7403
|
+
},
|
|
7404
|
+
"tokens": {
|
|
7405
|
+
"backgroundColor": "{palette.color.greyShuttle}"
|
|
7406
|
+
}
|
|
7407
|
+
},
|
|
7408
|
+
{
|
|
7409
|
+
"if": {
|
|
7410
|
+
"priority": "low",
|
|
7411
|
+
"purpose": "success"
|
|
7412
|
+
},
|
|
7413
|
+
"tokens": {
|
|
7414
|
+
"backgroundColor": "{palette.color.greenPanache}"
|
|
7415
|
+
}
|
|
7416
|
+
},
|
|
7417
|
+
{
|
|
7418
|
+
"if": {
|
|
7419
|
+
"priority": "high",
|
|
7420
|
+
"purpose": "success"
|
|
7421
|
+
},
|
|
7422
|
+
"tokens": {
|
|
7423
|
+
"backgroundColor": "{palette.color.greenAccessible}"
|
|
7424
|
+
}
|
|
7425
|
+
},
|
|
7426
|
+
{
|
|
7427
|
+
"if": {
|
|
7428
|
+
"priority": "low",
|
|
7429
|
+
"purpose": "warning"
|
|
7430
|
+
},
|
|
7431
|
+
"tokens": {
|
|
7432
|
+
"backgroundColor": "{palette.color.amberLight}"
|
|
7433
|
+
}
|
|
7434
|
+
},
|
|
7435
|
+
{
|
|
7436
|
+
"if": {
|
|
7437
|
+
"priority": "high",
|
|
7438
|
+
"purpose": "warning"
|
|
7439
|
+
},
|
|
7440
|
+
"tokens": {
|
|
7441
|
+
"backgroundColor": "{palette.color.amberDark}"
|
|
7442
|
+
}
|
|
7443
|
+
},
|
|
7444
|
+
{
|
|
7445
|
+
"if": {
|
|
7446
|
+
"priority": "low",
|
|
7447
|
+
"purpose": "error"
|
|
7448
|
+
},
|
|
7449
|
+
"tokens": {
|
|
7450
|
+
"backgroundColor": "{palette.color.redLight}"
|
|
7451
|
+
}
|
|
7452
|
+
},
|
|
7453
|
+
{
|
|
7454
|
+
"if": {
|
|
7455
|
+
"priority": "high",
|
|
7456
|
+
"purpose": "error"
|
|
7457
|
+
},
|
|
7458
|
+
"tokens": {
|
|
7459
|
+
"backgroundColor": "{palette.color.redDark}"
|
|
7460
|
+
}
|
|
7461
|
+
},
|
|
7462
|
+
{
|
|
7463
|
+
"if": {
|
|
7464
|
+
"priority": "low",
|
|
7465
|
+
"purpose": "offer"
|
|
7466
|
+
},
|
|
7467
|
+
"tokens": {
|
|
7468
|
+
"backgroundColor": "{palette.color.greyAthens}"
|
|
7469
|
+
}
|
|
7470
|
+
},
|
|
7471
|
+
{
|
|
7472
|
+
"if": {
|
|
7473
|
+
"priority": "high",
|
|
7474
|
+
"purpose": "offer"
|
|
7475
|
+
},
|
|
7476
|
+
"tokens": {
|
|
7477
|
+
"backgroundGradient": "{palette.gradient.purple}"
|
|
7478
|
+
}
|
|
7479
|
+
},
|
|
7480
|
+
{
|
|
7481
|
+
"if": {
|
|
7482
|
+
"inverse": true
|
|
7483
|
+
},
|
|
7484
|
+
"tokens": {
|
|
7485
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
7486
|
+
"iconColor": "{palette.color.white}",
|
|
7487
|
+
"textColor": "{palette.color.white}"
|
|
7488
|
+
}
|
|
7489
|
+
},
|
|
7490
|
+
{
|
|
7491
|
+
"if": {
|
|
7492
|
+
"inverse": true,
|
|
7493
|
+
"priority": "low"
|
|
7494
|
+
},
|
|
7495
|
+
"tokens": {
|
|
7496
|
+
"backgroundColor": "{palette.color.greyThunder}"
|
|
7497
|
+
}
|
|
7498
|
+
},
|
|
7499
|
+
{
|
|
7500
|
+
"if": {
|
|
7501
|
+
"inverse": true,
|
|
7502
|
+
"priority": "high"
|
|
7503
|
+
},
|
|
7504
|
+
"tokens": {
|
|
7505
|
+
"backgroundColor": "{palette.color.white}",
|
|
7506
|
+
"iconColor": "{palette.color.greyThunder}",
|
|
7507
|
+
"textColor": "{palette.color.greyThunder}"
|
|
7508
|
+
}
|
|
7509
|
+
}
|
|
7510
|
+
],
|
|
7511
|
+
"tokens": {
|
|
7512
|
+
"backgroundColor": "{system.color.none}",
|
|
7513
|
+
"backgroundGradient": "{system.gradient.none}",
|
|
7514
|
+
"borderColor": "{system.color.none}",
|
|
7515
|
+
"borderRadius": "{system.radius.none}",
|
|
7516
|
+
"borderWidth": "{system.border.none}",
|
|
7517
|
+
"fontName": "{palette.fontName.HelveticaNow}",
|
|
7518
|
+
"fontSize": "{palette.fontSize.size16}",
|
|
7519
|
+
"fontWeight": "{palette.fontWeight.weight700}",
|
|
7520
|
+
"icon": "{palette.icon.StatusInfo}",
|
|
7521
|
+
"iconColor": "{palette.color.greyCharcoal}",
|
|
7522
|
+
"iconGradient": "{system.gradient.none}",
|
|
7523
|
+
"paddingBottom": "{palette.size.size0}",
|
|
7524
|
+
"paddingLeft": "{palette.size.size0}",
|
|
7525
|
+
"paddingRight": "{palette.size.size0}",
|
|
7526
|
+
"paddingTop": "{palette.size.size0}",
|
|
7527
|
+
"textColor": "{palette.color.greyShuttle}",
|
|
7528
|
+
"textLineHeight": "{palette.lineHeight.ratio8to7}"
|
|
7529
|
+
}
|
|
7530
|
+
},
|
|
7245
7531
|
"StepTracker": {
|
|
7246
7532
|
"appearances": {
|
|
7247
7533
|
"inverse": {
|