@telus-uds/theme-allium 7.8.0 → 7.10.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/ActionCard.json +6 -6
- package/build/android/Button.json +1 -0
- package/build/android/ButtonGroup.json +4 -4
- package/build/android/ButtonGroupItem.json +66 -6
- package/build/android/Icon.json +3 -3
- package/build/android/MultiSelectFilter.json +12 -0
- package/build/android/Notification.json +12 -12
- package/build/android/Status.json +6 -6
- package/build/android/ToggleSwitch.json +4 -0
- package/build/android/Typography.json +3 -3
- package/build/android/schema.json +1124 -1055
- package/build/android/theme.json +118 -41
- package/build/ios/ActionCard.json +6 -6
- package/build/ios/Button.json +1 -0
- package/build/ios/ButtonGroup.json +4 -4
- package/build/ios/ButtonGroupItem.json +66 -6
- package/build/ios/Icon.json +3 -3
- package/build/ios/MultiSelectFilter.json +12 -0
- package/build/ios/Notification.json +12 -12
- package/build/ios/Status.json +6 -6
- package/build/ios/ToggleSwitch.json +4 -0
- package/build/ios/Typography.json +3 -3
- package/build/ios/schema.json +1124 -1055
- package/build/ios/theme.json +118 -41
- package/build/rn/ActionCard.js +3 -3
- 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 +2 -1
- package/build/rn/ButtonDropdown.js +1 -1
- package/build/rn/ButtonGroup.js +8 -5
- package/build/rn/ButtonGroupItem.js +28 -7
- 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 +2 -2
- 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 +3 -1
- package/build/rn/NavigationBar.js +1 -1
- package/build/rn/Notification.js +5 -5
- 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 +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 +3 -3
- 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 +5 -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 +2 -2
- 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 +1124 -1055
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +50 -22
- package/build/web/ActionCard.js +3 -3
- 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 +2 -1
- package/build/web/ButtonDropdown.js +1 -1
- package/build/web/ButtonGroup.js +8 -5
- package/build/web/ButtonGroupItem.js +28 -7
- 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 +2 -2
- 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 +3 -1
- package/build/web/NavigationBar.js +1 -1
- package/build/web/Notification.js +5 -5
- 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 +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 +3 -3
- 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 +5 -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 +2 -2
- 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 +1124 -1055
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +50 -22
- package/package.json +5 -5
- package/theme.json +70 -10
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 Tue, 24 Jun 2025 18:52:57 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -70,9 +70,9 @@ const theme = {
|
|
|
70
70
|
tokens: {
|
|
71
71
|
actionIconMarginLeft: 8,
|
|
72
72
|
backgroundColor: '#fff9ee',
|
|
73
|
-
borderColor: '#
|
|
73
|
+
borderColor: '#c77539',
|
|
74
74
|
statusIcon: PaletteIconStatusWarning,
|
|
75
|
-
statusIconColor: '#
|
|
75
|
+
statusIconColor: '#c77539'
|
|
76
76
|
}
|
|
77
77
|
},
|
|
78
78
|
{
|
|
@@ -877,6 +877,7 @@ const theme = {
|
|
|
877
877
|
borderTopWidth: 1,
|
|
878
878
|
borderWidth: 1,
|
|
879
879
|
color: '#2b8000',
|
|
880
|
+
flex: 0,
|
|
880
881
|
fontName: 'HNforTELUSSA',
|
|
881
882
|
fontSize: 16,
|
|
882
883
|
fontWeight: '700',
|
|
@@ -1048,14 +1049,14 @@ const theme = {
|
|
|
1048
1049
|
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
1049
1050
|
},
|
|
1050
1051
|
width: {
|
|
1051
|
-
description: 'Available in default, or
|
|
1052
|
+
description: 'Available in default, responsive or equal. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport, equal divide the available width equally among `ButtonGroup`',
|
|
1052
1053
|
type: 'variant',
|
|
1053
|
-
values: [ 'responsive' ]
|
|
1054
|
+
values: [ 'responsive', 'equal' ]
|
|
1054
1055
|
}
|
|
1055
1056
|
},
|
|
1056
1057
|
rules: [
|
|
1057
1058
|
{
|
|
1058
|
-
if: { viewport: [ 'lg', 'xl' ] },
|
|
1059
|
+
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
1059
1060
|
tokens: { gap: 3, space: 3 }
|
|
1060
1061
|
},
|
|
1061
1062
|
{
|
|
@@ -1076,7 +1077,7 @@ const theme = {
|
|
|
1076
1077
|
style: 'contained',
|
|
1077
1078
|
viewport: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
1078
1079
|
},
|
|
1079
|
-
tokens: { borderRadius:
|
|
1080
|
+
tokens: { borderRadius: 28 }
|
|
1080
1081
|
}
|
|
1081
1082
|
],
|
|
1082
1083
|
tokens: {
|
|
@@ -1127,18 +1128,33 @@ const theme = {
|
|
|
1127
1128
|
type: 'state',
|
|
1128
1129
|
values: [ true ]
|
|
1129
1130
|
},
|
|
1131
|
+
size: { type: 'variant', values: [ 'small' ] },
|
|
1130
1132
|
style: {
|
|
1131
1133
|
description: 'Configure `style` variant for `ButtonGroupItem`',
|
|
1132
1134
|
type: 'variant',
|
|
1133
1135
|
values: [ 'contained' ]
|
|
1134
1136
|
},
|
|
1135
1137
|
width: {
|
|
1136
|
-
description: 'Available in default, or
|
|
1138
|
+
description: 'Available in default, responsive or equal. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport, equal divide the available width equally among `ButtonGroup`',
|
|
1137
1139
|
type: 'variant',
|
|
1138
|
-
values: [ 'responsive' ]
|
|
1140
|
+
values: [ 'responsive', 'equal' ]
|
|
1139
1141
|
}
|
|
1140
1142
|
},
|
|
1141
1143
|
rules: [
|
|
1144
|
+
{ if: { width: 'equal' }, tokens: { width: '100%' } },
|
|
1145
|
+
{
|
|
1146
|
+
if: { size: 'small' },
|
|
1147
|
+
tokens: { height: 32, paddingBottom: 4, paddingTop: 4 }
|
|
1148
|
+
},
|
|
1149
|
+
{ if: { hover: true }, tokens: { borderWidth: 3 } },
|
|
1150
|
+
{
|
|
1151
|
+
if: { pressed: true },
|
|
1152
|
+
tokens: {
|
|
1153
|
+
backgroundColor: '#676e73',
|
|
1154
|
+
borderColor: '#676e73',
|
|
1155
|
+
color: '#ffffff'
|
|
1156
|
+
}
|
|
1157
|
+
},
|
|
1142
1158
|
{
|
|
1143
1159
|
if: { pressed: true },
|
|
1144
1160
|
tokens: {
|
|
@@ -1198,9 +1214,15 @@ const theme = {
|
|
|
1198
1214
|
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
1199
1215
|
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1200
1216
|
borderWidth: 0,
|
|
1201
|
-
height:
|
|
1217
|
+
height: 40,
|
|
1218
|
+
paddingBottom: 8,
|
|
1219
|
+
paddingTop: 8
|
|
1202
1220
|
}
|
|
1203
1221
|
},
|
|
1222
|
+
{
|
|
1223
|
+
if: { size: 'small', style: 'contained' },
|
|
1224
|
+
tokens: { height: 32, paddingBottom: 6, paddingTop: 6 }
|
|
1225
|
+
},
|
|
1204
1226
|
{
|
|
1205
1227
|
if: { hover: true, style: 'contained' },
|
|
1206
1228
|
tokens: {
|
|
@@ -1253,7 +1275,7 @@ const theme = {
|
|
|
1253
1275
|
fontName: 'HNforTELUSSA',
|
|
1254
1276
|
fontSize: 14,
|
|
1255
1277
|
fontWeight: '700',
|
|
1256
|
-
height:
|
|
1278
|
+
height: 48,
|
|
1257
1279
|
iconSize: 20,
|
|
1258
1280
|
iconSpace: 2,
|
|
1259
1281
|
lineHeight: 1.42857142857,
|
|
@@ -1263,10 +1285,10 @@ const theme = {
|
|
|
1263
1285
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1264
1286
|
outerBorderGap: 2,
|
|
1265
1287
|
outerBorderWidth: 2,
|
|
1266
|
-
paddingBottom:
|
|
1288
|
+
paddingBottom: 12,
|
|
1267
1289
|
paddingLeft: 16,
|
|
1268
1290
|
paddingRight: 16,
|
|
1269
|
-
paddingTop:
|
|
1291
|
+
paddingTop: 12,
|
|
1270
1292
|
shadow: null,
|
|
1271
1293
|
textAlign: 'center',
|
|
1272
1294
|
width: null
|
|
@@ -3525,7 +3547,7 @@ const theme = {
|
|
|
3525
3547
|
{ if: { color: 'subtle' }, tokens: { color: '#676e73' } },
|
|
3526
3548
|
{ if: { color: 'success' }, tokens: { color: '#2b8000' } },
|
|
3527
3549
|
{ if: { color: 'danger' }, tokens: { color: '#c12335' } },
|
|
3528
|
-
{ if: { color: 'warning' }, tokens: { color: '#
|
|
3550
|
+
{ if: { color: 'warning' }, tokens: { color: '#c77539' } },
|
|
3529
3551
|
{ if: { color: 'inverse' }, tokens: { color: '#ffffff' } },
|
|
3530
3552
|
{ if: { size: 'extraLarge' }, tokens: { size: 48 } },
|
|
3531
3553
|
{ if: { rank: 'primary' }, tokens: { color: '#4b286d' } },
|
|
@@ -4733,12 +4755,14 @@ const theme = {
|
|
|
4733
4755
|
buttonIconBackgroundColor: '#f4f4f7',
|
|
4734
4756
|
buttonIconPadding: 2,
|
|
4735
4757
|
buttonIconSize: 16,
|
|
4758
|
+
containerBorderColor: '#e3e6e8',
|
|
4736
4759
|
contentMarginBottom: 32,
|
|
4737
4760
|
contentMarginLeft: 16,
|
|
4738
4761
|
contentMarginRight: 16,
|
|
4739
4762
|
contentMarginTop: 24,
|
|
4740
4763
|
contentPaddingLeft: 16,
|
|
4741
4764
|
contentPaddingRight: 16,
|
|
4765
|
+
dividerColor: '#e3e6e8',
|
|
4742
4766
|
headerFontColor: '#414547',
|
|
4743
4767
|
headerFontName: 'HNforTELUSSA',
|
|
4744
4768
|
headerFontSize: 16,
|
|
@@ -4955,20 +4979,20 @@ const theme = {
|
|
|
4955
4979
|
if: { style: 'warning' },
|
|
4956
4980
|
tokens: {
|
|
4957
4981
|
backgroundColor: '#fff9ee',
|
|
4958
|
-
borderColor: '#
|
|
4982
|
+
borderColor: '#c77539',
|
|
4959
4983
|
dismissIcon: null,
|
|
4960
4984
|
icon: PaletteIconStatusWarning,
|
|
4961
|
-
iconColor: '#
|
|
4985
|
+
iconColor: '#c77539'
|
|
4962
4986
|
}
|
|
4963
4987
|
},
|
|
4964
4988
|
{
|
|
4965
4989
|
if: { validation: 'warning' },
|
|
4966
4990
|
tokens: {
|
|
4967
4991
|
backgroundColor: '#fff9ee',
|
|
4968
|
-
borderColor: '#
|
|
4992
|
+
borderColor: '#c77539',
|
|
4969
4993
|
dismissIcon: null,
|
|
4970
4994
|
icon: PaletteIconStatusWarning,
|
|
4971
|
-
iconColor: '#
|
|
4995
|
+
iconColor: '#c77539'
|
|
4972
4996
|
}
|
|
4973
4997
|
},
|
|
4974
4998
|
{
|
|
@@ -6973,7 +6997,7 @@ const theme = {
|
|
|
6973
6997
|
},
|
|
6974
6998
|
{
|
|
6975
6999
|
if: { purpose: 'warning' },
|
|
6976
|
-
tokens: { icon: PaletteIconStatusWarning, iconColor: '#
|
|
7000
|
+
tokens: { icon: PaletteIconStatusWarning, iconColor: '#c77539' }
|
|
6977
7001
|
},
|
|
6978
7002
|
{
|
|
6979
7003
|
if: { purpose: 'error' },
|
|
@@ -7041,7 +7065,7 @@ const theme = {
|
|
|
7041
7065
|
},
|
|
7042
7066
|
{
|
|
7043
7067
|
if: { priority: 'high', purpose: 'warning' },
|
|
7044
|
-
tokens: { backgroundColor: '#
|
|
7068
|
+
tokens: { backgroundColor: '#c77539' }
|
|
7045
7069
|
},
|
|
7046
7070
|
{
|
|
7047
7071
|
if: { priority: 'low', purpose: 'error' },
|
|
@@ -8239,6 +8263,10 @@ const theme = {
|
|
|
8239
8263
|
labelFontWeight: '400',
|
|
8240
8264
|
labelLineHeight: 1.5,
|
|
8241
8265
|
labelMarginLeft: 0,
|
|
8266
|
+
mobileSwitchSize: 24,
|
|
8267
|
+
mobileTrackBorderWidth: 4,
|
|
8268
|
+
mobileTrackHeight: 32,
|
|
8269
|
+
mobileWidth: 48,
|
|
8242
8270
|
opacity: 1,
|
|
8243
8271
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
8244
8272
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
@@ -8688,7 +8716,7 @@ const theme = {
|
|
|
8688
8716
|
{ if: { colour: 'dark' }, tokens: { color: '#2c2e30' } },
|
|
8689
8717
|
{ if: { colour: 'light' }, tokens: { color: '#676e73' } },
|
|
8690
8718
|
{ if: { colour: 'positive' }, tokens: { color: '#2b8000' } },
|
|
8691
|
-
{ if: { colour: 'warning' }, tokens: { color: '#
|
|
8719
|
+
{ if: { colour: 'warning' }, tokens: { color: '#c77539' } },
|
|
8692
8720
|
{ if: { colour: 'danger' }, tokens: { color: '#c12335' } },
|
|
8693
8721
|
{ if: { colour: 'black' }, tokens: { color: '#000000' } },
|
|
8694
8722
|
{ if: { colour: 'white' }, tokens: { color: '#ffffff' } },
|
|
@@ -8999,6 +9027,6 @@ const theme = {
|
|
|
8999
9027
|
tokens: { size: 96 }
|
|
9000
9028
|
}
|
|
9001
9029
|
},
|
|
9002
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '4.
|
|
9030
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '4.8.0' }
|
|
9003
9031
|
}
|
|
9004
9032
|
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.10.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
|
-
"@telus-uds/system-theme-tokens": "^4.
|
|
14
|
-
"@telus-uds/system-tokens": "^1.
|
|
12
|
+
"@telus-uds/palette-allium": "^5.6.0",
|
|
13
|
+
"@telus-uds/system-theme-tokens": "^4.8.0",
|
|
14
|
+
"@telus-uds/system-tokens": "^1.4.1"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@telus-uds/palette-allium": "^5.
|
|
17
|
+
"@telus-uds/palette-allium": "^5.6.0"
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
20
|
"build",
|
package/theme.json
CHANGED
|
@@ -1056,6 +1056,7 @@
|
|
|
1056
1056
|
"borderTopWidth": "{palette.border.border1}",
|
|
1057
1057
|
"borderWidth": "{palette.border.border1}",
|
|
1058
1058
|
"color": "{palette.color.greenAccessible}",
|
|
1059
|
+
"flex": "{system.integer.0}",
|
|
1059
1060
|
"fontName": "{palette.fontName.HNforTELUSSA}",
|
|
1060
1061
|
"fontSize": "{palette.fontSize.size16}",
|
|
1061
1062
|
"fontWeight": "{palette.fontWeight.weight700}",
|
|
@@ -1243,15 +1244,15 @@
|
|
|
1243
1244
|
},
|
|
1244
1245
|
"viewport": "{appearances.system.viewport}",
|
|
1245
1246
|
"width": {
|
|
1246
|
-
"description": "Available in default, or
|
|
1247
|
+
"description": "Available in default, responsive or equal. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport, equal divide the available width equally among `ButtonGroup`",
|
|
1247
1248
|
"type": "variant",
|
|
1248
|
-
"values": ["responsive"]
|
|
1249
|
+
"values": ["responsive", "equal"]
|
|
1249
1250
|
}
|
|
1250
1251
|
},
|
|
1251
1252
|
"rules": [
|
|
1252
1253
|
{
|
|
1253
1254
|
"if": {
|
|
1254
|
-
"viewport": ["lg", "xl"]
|
|
1255
|
+
"viewport": ["md", "lg", "xl"]
|
|
1255
1256
|
},
|
|
1256
1257
|
"tokens": {
|
|
1257
1258
|
"gap": "{palette.size.size3}",
|
|
@@ -1285,7 +1286,7 @@
|
|
|
1285
1286
|
"viewport": ["xs", "sm", "md", "lg", "xl"]
|
|
1286
1287
|
},
|
|
1287
1288
|
"tokens": {
|
|
1288
|
-
"borderRadius": "{palette.radius.
|
|
1289
|
+
"borderRadius": "{palette.radius.radius28}"
|
|
1289
1290
|
}
|
|
1290
1291
|
}
|
|
1291
1292
|
],
|
|
@@ -1311,18 +1312,58 @@
|
|
|
1311
1312
|
"inactive": "{appearances.ButtonGroupItem.inactive}",
|
|
1312
1313
|
"pressed": "{appearances.ButtonGroupItem.pressed}",
|
|
1313
1314
|
"selected": "{appearances.ButtonGroupItem.selected}",
|
|
1315
|
+
"size": {
|
|
1316
|
+
"type": "variant",
|
|
1317
|
+
"values": ["small"]
|
|
1318
|
+
},
|
|
1314
1319
|
"style": {
|
|
1315
1320
|
"description": "Configure `style` variant for `ButtonGroupItem`",
|
|
1316
1321
|
"type": "variant",
|
|
1317
1322
|
"values": ["contained"]
|
|
1318
1323
|
},
|
|
1319
1324
|
"width": {
|
|
1320
|
-
"description": "Available in default, or
|
|
1325
|
+
"description": "Available in default, responsive or equal. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport, equal divide the available width equally among `ButtonGroup`",
|
|
1321
1326
|
"type": "variant",
|
|
1322
|
-
"values": ["responsive"]
|
|
1327
|
+
"values": ["responsive", "equal"]
|
|
1323
1328
|
}
|
|
1324
1329
|
},
|
|
1325
1330
|
"rules": [
|
|
1331
|
+
{
|
|
1332
|
+
"if": {
|
|
1333
|
+
"width": "equal"
|
|
1334
|
+
},
|
|
1335
|
+
"tokens": {
|
|
1336
|
+
"width": "{system.size.full}"
|
|
1337
|
+
}
|
|
1338
|
+
},
|
|
1339
|
+
{
|
|
1340
|
+
"if": {
|
|
1341
|
+
"size": "small"
|
|
1342
|
+
},
|
|
1343
|
+
"tokens": {
|
|
1344
|
+
"height": "{palette.size.size32}",
|
|
1345
|
+
"paddingBottom": "{palette.size.size4}",
|
|
1346
|
+
"paddingTop": "{palette.size.size4}"
|
|
1347
|
+
}
|
|
1348
|
+
},
|
|
1349
|
+
{
|
|
1350
|
+
"if": {
|
|
1351
|
+
"hover": true
|
|
1352
|
+
},
|
|
1353
|
+
"tokens": {
|
|
1354
|
+
"borderWidth": "{palette.border.border3}"
|
|
1355
|
+
}
|
|
1356
|
+
},
|
|
1357
|
+
{
|
|
1358
|
+
"if": {
|
|
1359
|
+
"pressed": true
|
|
1360
|
+
},
|
|
1361
|
+
"tokens": {
|
|
1362
|
+
"backgroundColor": "{palette.color.greyShuttle}",
|
|
1363
|
+
"borderColor": "{palette.color.greyShuttle}",
|
|
1364
|
+
"color": "{palette.color.white}"
|
|
1365
|
+
}
|
|
1366
|
+
},
|
|
1326
1367
|
{
|
|
1327
1368
|
"if": {
|
|
1328
1369
|
"pressed": true
|
|
@@ -1434,7 +1475,20 @@
|
|
|
1434
1475
|
"backgroundColor": "{palette.color.transparent}",
|
|
1435
1476
|
"borderColor": "{palette.color.transparent}",
|
|
1436
1477
|
"borderWidth": "{system.border.zero}",
|
|
1437
|
-
"height": "{palette.size.
|
|
1478
|
+
"height": "{palette.size.size40}",
|
|
1479
|
+
"paddingBottom": "{palette.size.size8}",
|
|
1480
|
+
"paddingTop": "{palette.size.size8}"
|
|
1481
|
+
}
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
"if": {
|
|
1485
|
+
"size": "small",
|
|
1486
|
+
"style": "contained"
|
|
1487
|
+
},
|
|
1488
|
+
"tokens": {
|
|
1489
|
+
"height": "{palette.size.size32}",
|
|
1490
|
+
"paddingBottom": "{palette.size.size6}",
|
|
1491
|
+
"paddingTop": "{palette.size.size6}"
|
|
1438
1492
|
}
|
|
1439
1493
|
},
|
|
1440
1494
|
{
|
|
@@ -1514,7 +1568,7 @@
|
|
|
1514
1568
|
"fontName": "{palette.fontName.HNforTELUSSA}",
|
|
1515
1569
|
"fontSize": "{palette.fontSize.size14}",
|
|
1516
1570
|
"fontWeight": "{palette.fontWeight.weight700}",
|
|
1517
|
-
"height": "{palette.size.
|
|
1571
|
+
"height": "{palette.size.size48}",
|
|
1518
1572
|
"iconSize": "{palette.size.size20}",
|
|
1519
1573
|
"iconSpace": "{system.integer.2}",
|
|
1520
1574
|
"lineHeight": "{palette.lineHeight.ratio10to7}",
|
|
@@ -1524,10 +1578,10 @@
|
|
|
1524
1578
|
"outerBorderColor": "{palette.color.transparent}",
|
|
1525
1579
|
"outerBorderGap": "{palette.size.size2}",
|
|
1526
1580
|
"outerBorderWidth": "{palette.border.border2}",
|
|
1527
|
-
"paddingBottom": "{palette.size.
|
|
1581
|
+
"paddingBottom": "{palette.size.size12}",
|
|
1528
1582
|
"paddingLeft": "{palette.size.size16}",
|
|
1529
1583
|
"paddingRight": "{palette.size.size16}",
|
|
1530
|
-
"paddingTop": "{palette.size.
|
|
1584
|
+
"paddingTop": "{palette.size.size12}",
|
|
1531
1585
|
"shadow": "{system.shadow.none}",
|
|
1532
1586
|
"textAlign": "{system.flexJustifyContent.center}",
|
|
1533
1587
|
"width": "{system.size.none}"
|
|
@@ -6592,12 +6646,14 @@
|
|
|
6592
6646
|
"buttonIconBackgroundColor": "{palette.color.greyAthens}",
|
|
6593
6647
|
"buttonIconPadding": "{palette.size.size2}",
|
|
6594
6648
|
"buttonIconSize": "{palette.size.size16}",
|
|
6649
|
+
"containerBorderColor": "{palette.color.greyMystic}",
|
|
6595
6650
|
"contentMarginBottom": "{palette.size.size32}",
|
|
6596
6651
|
"contentMarginLeft": "{palette.size.size16}",
|
|
6597
6652
|
"contentMarginRight": "{palette.size.size16}",
|
|
6598
6653
|
"contentMarginTop": "{palette.size.size24}",
|
|
6599
6654
|
"contentPaddingLeft": "{palette.size.size16}",
|
|
6600
6655
|
"contentPaddingRight": "{palette.size.size16}",
|
|
6656
|
+
"dividerColor": "{palette.color.greyMystic}",
|
|
6601
6657
|
"headerFontColor": "{palette.color.greyCharcoal}",
|
|
6602
6658
|
"headerFontName": "{palette.fontName.HNforTELUSSA}",
|
|
6603
6659
|
"headerFontSize": "{palette.fontSize.size16}",
|
|
@@ -10504,6 +10560,10 @@
|
|
|
10504
10560
|
"labelFontWeight": "{palette.fontWeight.weight400}",
|
|
10505
10561
|
"labelLineHeight": "{palette.lineHeight.ratio3to2}",
|
|
10506
10562
|
"labelMarginLeft": "{palette.size.size0}",
|
|
10563
|
+
"mobileSwitchSize": "{palette.size.size24}",
|
|
10564
|
+
"mobileTrackBorderWidth": "{palette.border.border4}",
|
|
10565
|
+
"mobileTrackHeight": "{palette.size.size32}",
|
|
10566
|
+
"mobileWidth": "{palette.size.size48}",
|
|
10507
10567
|
"opacity": "{system.opacity.opaque}",
|
|
10508
10568
|
"outerBackgroundColor": "{palette.color.transparent}",
|
|
10509
10569
|
"outerBorderColor": "{palette.color.transparent}",
|