@telus-uds/theme-allium 5.0.0 → 5.1.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/ButtonGroup.json +41 -1
- package/build/android/ButtonGroupItem.json +61 -0
- package/build/android/FileUpload.json +65 -0
- package/build/android/Icon.json +16 -2
- package/build/android/MultiSelectFilter.json +8 -2
- package/build/android/Status.json +4 -3
- package/build/android/schema.json +1304 -1020
- package/build/android/theme.json +196 -9
- package/build/ios/ButtonGroup.json +41 -1
- package/build/ios/ButtonGroupItem.json +61 -0
- package/build/ios/FileUpload.json +65 -0
- package/build/ios/Icon.json +16 -2
- package/build/ios/MultiSelectFilter.json +8 -2
- package/build/ios/Status.json +4 -3
- package/build/ios/schema.json +1304 -1020
- package/build/ios/theme.json +196 -9
- 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 +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 +28 -3
- package/build/rn/ButtonGroupItem.js +53 -2
- 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/FileUpload.js +34 -0
- 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 +5 -4
- 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 +9 -3
- package/build/rn/NavigationBar.js +1 -1
- package/build/rn/Notification.js +1 -1
- package/build/rn/OrderedList.js +1 -1
- package/build/rn/Pagination.js +1 -1
- package/build/rn/PaginationPageButton.js +1 -1
- package/build/rn/PaginationSideButton.js +1 -1
- package/build/rn/PreviewCard.js +1 -1
- package/build/rn/PriceLockup.js +1 -1
- package/build/rn/ProductCard.js +1 -1
- package/build/rn/Progress.js +1 -1
- package/build/rn/ProgressBar.js +1 -1
- package/build/rn/QuantitySelector.js +1 -1
- package/build/rn/QuantitySelectorSideButton.js +1 -1
- package/build/rn/QuickLinks.js +1 -1
- package/build/rn/QuickLinksButton.js +1 -1
- package/build/rn/QuickLinksCard.js +1 -1
- package/build/rn/QuickLinksFeature.js +1 -1
- package/build/rn/QuickLinksFeatureItem.js +1 -1
- package/build/rn/QuickLinksList.js +1 -1
- package/build/rn/Radio.js +1 -1
- package/build/rn/RadioCard.js +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 -2
- 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 +1304 -1020
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +127 -11
- 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 +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 +28 -3
- package/build/web/ButtonGroupItem.js +53 -2
- 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/FileUpload.js +34 -0
- 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 +5 -4
- 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 +9 -3
- package/build/web/NavigationBar.js +1 -1
- package/build/web/Notification.js +1 -1
- package/build/web/OrderedList.js +1 -1
- package/build/web/Pagination.js +1 -1
- package/build/web/PaginationPageButton.js +1 -1
- package/build/web/PaginationSideButton.js +1 -1
- package/build/web/PreviewCard.js +1 -1
- package/build/web/PriceLockup.js +1 -1
- package/build/web/ProductCard.js +1 -1
- package/build/web/Progress.js +1 -1
- package/build/web/ProgressBar.js +1 -1
- package/build/web/QuantitySelector.js +1 -1
- package/build/web/QuantitySelectorSideButton.js +1 -1
- package/build/web/QuickLinks.js +1 -1
- package/build/web/QuickLinksButton.js +1 -1
- package/build/web/QuickLinksCard.js +1 -1
- package/build/web/QuickLinksFeature.js +1 -1
- package/build/web/QuickLinksFeatureItem.js +1 -1
- package/build/web/QuickLinksList.js +1 -1
- package/build/web/Radio.js +1 -1
- package/build/web/RadioCard.js +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 -2
- 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 +1304 -1020
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +127 -11
- package/package.json +5 -5
- package/theme.json +165 -4
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, 16 Sep 2024 12:25:16 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -988,6 +988,11 @@ const theme = {
|
|
|
988
988
|
},
|
|
989
989
|
ButtonGroup: {
|
|
990
990
|
appearances: {
|
|
991
|
+
style: {
|
|
992
|
+
description: 'Configure `style` variant for `ButtonGroup`',
|
|
993
|
+
type: 'variant',
|
|
994
|
+
values: [ 'contained' ]
|
|
995
|
+
},
|
|
991
996
|
viewport: {
|
|
992
997
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
993
998
|
type: 'state',
|
|
@@ -1000,20 +1005,43 @@ const theme = {
|
|
|
1000
1005
|
}
|
|
1001
1006
|
},
|
|
1002
1007
|
rules: [
|
|
1003
|
-
{
|
|
1008
|
+
{
|
|
1009
|
+
if: { viewport: [ 'lg', 'xl' ] },
|
|
1010
|
+
tokens: { gap: 3, space: 3 }
|
|
1011
|
+
},
|
|
1004
1012
|
{
|
|
1005
1013
|
if: { viewport: [ 'xs' ], width: 'responsive' },
|
|
1006
1014
|
tokens: { alignItems: 'stretch', direction: 'column' }
|
|
1015
|
+
},
|
|
1016
|
+
{
|
|
1017
|
+
if: { style: 'contained' },
|
|
1018
|
+
tokens: {
|
|
1019
|
+
backgroundColor: 'rgba(0, 0, 0, 0.05)',
|
|
1020
|
+
borderRadius: 99,
|
|
1021
|
+
padding: 8,
|
|
1022
|
+
space: 2
|
|
1023
|
+
}
|
|
1024
|
+
},
|
|
1025
|
+
{
|
|
1026
|
+
if: {
|
|
1027
|
+
style: 'contained',
|
|
1028
|
+
viewport: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
1029
|
+
},
|
|
1030
|
+
tokens: { borderRadius: 24 }
|
|
1007
1031
|
}
|
|
1008
1032
|
],
|
|
1009
1033
|
tokens: {
|
|
1010
1034
|
alignItems: 'center',
|
|
1035
|
+
backgroundColor: null,
|
|
1036
|
+
borderRadius: 0,
|
|
1011
1037
|
direction: 'row',
|
|
1012
1038
|
fieldSpace: 2,
|
|
1013
1039
|
flexGrow: 0,
|
|
1014
1040
|
flexShrink: 0,
|
|
1041
|
+
gap: 2,
|
|
1015
1042
|
justifyContent: 'flex-start',
|
|
1016
|
-
|
|
1043
|
+
padding: 0,
|
|
1044
|
+
space: 2
|
|
1017
1045
|
}
|
|
1018
1046
|
},
|
|
1019
1047
|
ButtonGroupItem: {
|
|
@@ -1050,6 +1078,11 @@ const theme = {
|
|
|
1050
1078
|
type: 'state',
|
|
1051
1079
|
values: [ true ]
|
|
1052
1080
|
},
|
|
1081
|
+
style: {
|
|
1082
|
+
description: 'Configure `style` variant for `ButtonGroupItem`',
|
|
1083
|
+
type: 'variant',
|
|
1084
|
+
values: [ 'contained' ]
|
|
1085
|
+
},
|
|
1053
1086
|
width: {
|
|
1054
1087
|
description: 'Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.',
|
|
1055
1088
|
type: 'variant',
|
|
@@ -1109,7 +1142,57 @@ const theme = {
|
|
|
1109
1142
|
}
|
|
1110
1143
|
},
|
|
1111
1144
|
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } },
|
|
1112
|
-
{ if: { width: 'responsive' }, tokens: { width: '100%' } }
|
|
1145
|
+
{ if: { width: 'responsive' }, tokens: { width: '100%' } },
|
|
1146
|
+
{
|
|
1147
|
+
if: { style: 'contained' },
|
|
1148
|
+
tokens: {
|
|
1149
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
1150
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1151
|
+
borderWidth: 0,
|
|
1152
|
+
height: 32
|
|
1153
|
+
}
|
|
1154
|
+
},
|
|
1155
|
+
{
|
|
1156
|
+
if: { hover: true, style: 'contained' },
|
|
1157
|
+
tokens: {
|
|
1158
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
1159
|
+
borderColor: '#676e73',
|
|
1160
|
+
borderWidth: 3
|
|
1161
|
+
}
|
|
1162
|
+
},
|
|
1163
|
+
{
|
|
1164
|
+
if: { selected: true, style: 'contained' },
|
|
1165
|
+
tokens: {
|
|
1166
|
+
backgroundColor: '#4b286d',
|
|
1167
|
+
color: '#ffffff',
|
|
1168
|
+
outerBorderWidth: 0
|
|
1169
|
+
}
|
|
1170
|
+
},
|
|
1171
|
+
{
|
|
1172
|
+
if: { focus: true, style: 'contained' },
|
|
1173
|
+
tokens: {
|
|
1174
|
+
borderColor: '#676e73',
|
|
1175
|
+
borderWidth: 1,
|
|
1176
|
+
outerBorderWidth: 0
|
|
1177
|
+
}
|
|
1178
|
+
},
|
|
1179
|
+
{
|
|
1180
|
+
if: { hover: true, selected: true, style: 'contained' },
|
|
1181
|
+
tokens: {
|
|
1182
|
+
backgroundColor: '#7c53a5',
|
|
1183
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1184
|
+
color: '#ffffff',
|
|
1185
|
+
outerBorderWidth: 0
|
|
1186
|
+
}
|
|
1187
|
+
},
|
|
1188
|
+
{
|
|
1189
|
+
if: { focus: true, selected: true, style: 'contained' },
|
|
1190
|
+
tokens: { outerBorderColor: '#4b286d', outerBorderWidth: 2 }
|
|
1191
|
+
},
|
|
1192
|
+
{
|
|
1193
|
+
if: { pressed: true, style: 'contained' },
|
|
1194
|
+
tokens: { backgroundColor: '#3f2a54' }
|
|
1195
|
+
}
|
|
1113
1196
|
],
|
|
1114
1197
|
tokens: {
|
|
1115
1198
|
alignSelf: 'flex-start',
|
|
@@ -2644,6 +2727,31 @@ const theme = {
|
|
|
2644
2727
|
paddingTop: 0
|
|
2645
2728
|
}
|
|
2646
2729
|
},
|
|
2730
|
+
FileUpload: {
|
|
2731
|
+
appearances: {},
|
|
2732
|
+
rules: [],
|
|
2733
|
+
tokens: {
|
|
2734
|
+
buttonBackgroundColor: null,
|
|
2735
|
+
buttonBorderColor: null,
|
|
2736
|
+
buttonBorderRadius: null,
|
|
2737
|
+
buttonBorderWidth: null,
|
|
2738
|
+
buttonHeight: null,
|
|
2739
|
+
buttonMinWidth: null,
|
|
2740
|
+
buttonTextColor: null,
|
|
2741
|
+
buttonWidth: null,
|
|
2742
|
+
notificationBackgroundColor: null,
|
|
2743
|
+
notificationBorderColor: null,
|
|
2744
|
+
notificationBorderRadius: null,
|
|
2745
|
+
notificationDismissButtonGap: null,
|
|
2746
|
+
notificationDismissIcon: null,
|
|
2747
|
+
notificationDismissIconColor: null,
|
|
2748
|
+
notificationIcon: null,
|
|
2749
|
+
notificationIconColor: null,
|
|
2750
|
+
notificationIconGap: null,
|
|
2751
|
+
notificationIconSize: null,
|
|
2752
|
+
notificationTextColor: '#414547'
|
|
2753
|
+
}
|
|
2754
|
+
},
|
|
2647
2755
|
Footnote: {
|
|
2648
2756
|
appearances: {
|
|
2649
2757
|
viewport: {
|
|
@@ -2855,10 +2963,10 @@ const theme = {
|
|
|
2855
2963
|
color: {
|
|
2856
2964
|
type: 'variant',
|
|
2857
2965
|
values: [
|
|
2858
|
-
'brand', '
|
|
2859
|
-
'
|
|
2966
|
+
'brand', 'subtle',
|
|
2967
|
+
'offer', 'success',
|
|
2860
2968
|
'danger', 'warning',
|
|
2861
|
-
'inverse'
|
|
2969
|
+
'inverse', 'default'
|
|
2862
2970
|
]
|
|
2863
2971
|
},
|
|
2864
2972
|
padding: {
|
|
@@ -2938,6 +3046,7 @@ const theme = {
|
|
|
2938
3046
|
{ if: { color: 'danger' }, tokens: { color: '#c12335' } },
|
|
2939
3047
|
{ if: { color: 'warning' }, tokens: { color: '#b4872c' } },
|
|
2940
3048
|
{ if: { color: 'inverse' }, tokens: { color: '#ffffff' } },
|
|
3049
|
+
{ if: { color: 'offer' }, tokens: { color: '#4b286d' } },
|
|
2941
3050
|
{ if: { size: 'extraLarge' }, tokens: { size: 48 } },
|
|
2942
3051
|
{ if: { rank: 'primary' }, tokens: { color: '#4b286d' } }
|
|
2943
3052
|
],
|
|
@@ -3868,14 +3977,20 @@ const theme = {
|
|
|
3868
3977
|
],
|
|
3869
3978
|
tokens: {
|
|
3870
3979
|
buttonDirection: 'row',
|
|
3980
|
+
contentMarginBottom: 32,
|
|
3981
|
+
contentMarginLeft: 16,
|
|
3982
|
+
contentMarginRight: 16,
|
|
3983
|
+
contentMarginTop: 24,
|
|
3984
|
+
contentPaddingLeft: 16,
|
|
3985
|
+
contentPaddingRight: 16,
|
|
3871
3986
|
headerFontColor: '#414547',
|
|
3872
3987
|
headerFontName: 'HNforTELUSSA',
|
|
3873
3988
|
headerFontSize: 16,
|
|
3874
3989
|
headerFontWeight: '500',
|
|
3875
3990
|
headerLineHeight: 1.5,
|
|
3876
|
-
maxHeightSize:
|
|
3991
|
+
maxHeightSize: 480,
|
|
3877
3992
|
maxWidthSize: 0,
|
|
3878
|
-
minHeight:
|
|
3993
|
+
minHeight: 0,
|
|
3879
3994
|
minWidth: 320,
|
|
3880
3995
|
subHeaderFontName: 'HNforTELUSSA',
|
|
3881
3996
|
subHeaderFontSize: 14,
|
|
@@ -6042,7 +6157,7 @@ const theme = {
|
|
|
6042
6157
|
},
|
|
6043
6158
|
{
|
|
6044
6159
|
if: { priority: 'low', purpose: 'brand' },
|
|
6045
|
-
tokens: { backgroundColor: '#
|
|
6160
|
+
tokens: { backgroundColor: '#efedff' }
|
|
6046
6161
|
},
|
|
6047
6162
|
{
|
|
6048
6163
|
if: { priority: 'high', purpose: 'brand' },
|
|
@@ -6130,6 +6245,7 @@ const theme = {
|
|
|
6130
6245
|
icon: PaletteIconStatusInfo,
|
|
6131
6246
|
iconColor: '#414547',
|
|
6132
6247
|
iconGradient: null,
|
|
6248
|
+
marginLeft: 8,
|
|
6133
6249
|
paddingBottom: 0,
|
|
6134
6250
|
paddingLeft: 0,
|
|
6135
6251
|
paddingRight: 0,
|
|
@@ -7914,6 +8030,6 @@ const theme = {
|
|
|
7914
8030
|
tokens: { size: 96 }
|
|
7915
8031
|
}
|
|
7916
8032
|
},
|
|
7917
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
8033
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.63.0' }
|
|
7918
8034
|
}
|
|
7919
8035
|
export default theme
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "5.
|
|
3
|
+
"version": "5.1.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": "^3.
|
|
13
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
14
|
-
"@telus-uds/system-tokens": "^0.9.
|
|
12
|
+
"@telus-uds/palette-allium": "^3.1.0",
|
|
13
|
+
"@telus-uds/system-theme-tokens": "^2.63.0",
|
|
14
|
+
"@telus-uds/system-tokens": "^0.9.1"
|
|
15
15
|
},
|
|
16
16
|
"peerDependencies": {
|
|
17
|
-
"@telus-uds/palette-allium": "^3.
|
|
17
|
+
"@telus-uds/palette-allium": "^3.1.0"
|
|
18
18
|
},
|
|
19
19
|
"files": [
|
|
20
20
|
"build",
|
package/theme.json
CHANGED
|
@@ -1176,6 +1176,11 @@
|
|
|
1176
1176
|
},
|
|
1177
1177
|
"ButtonGroup": {
|
|
1178
1178
|
"appearances": {
|
|
1179
|
+
"style": {
|
|
1180
|
+
"description": "Configure `style` variant for `ButtonGroup`",
|
|
1181
|
+
"type": "variant",
|
|
1182
|
+
"values": ["contained"]
|
|
1183
|
+
},
|
|
1179
1184
|
"viewport": "{appearances.system.viewport}",
|
|
1180
1185
|
"width": {
|
|
1181
1186
|
"description": "Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.",
|
|
@@ -1189,6 +1194,7 @@
|
|
|
1189
1194
|
"viewport": ["lg", "xl"]
|
|
1190
1195
|
},
|
|
1191
1196
|
"tokens": {
|
|
1197
|
+
"gap": "{palette.size.size3}",
|
|
1192
1198
|
"space": "{system.integer.3}"
|
|
1193
1199
|
}
|
|
1194
1200
|
},
|
|
@@ -1201,16 +1207,40 @@
|
|
|
1201
1207
|
"alignItems": "{system.flexAlign.stretch}",
|
|
1202
1208
|
"direction": "{system.direction.column}"
|
|
1203
1209
|
}
|
|
1210
|
+
},
|
|
1211
|
+
{
|
|
1212
|
+
"if": {
|
|
1213
|
+
"style": "contained"
|
|
1214
|
+
},
|
|
1215
|
+
"tokens": {
|
|
1216
|
+
"backgroundColor": "{palette.color.dark5}",
|
|
1217
|
+
"borderRadius": "{palette.radius.radius99}",
|
|
1218
|
+
"padding": "{palette.size.size8}",
|
|
1219
|
+
"space": "{system.integer.2}"
|
|
1220
|
+
}
|
|
1221
|
+
},
|
|
1222
|
+
{
|
|
1223
|
+
"if": {
|
|
1224
|
+
"style": "contained",
|
|
1225
|
+
"viewport": ["xs", "sm", "md", "lg", "xl"]
|
|
1226
|
+
},
|
|
1227
|
+
"tokens": {
|
|
1228
|
+
"borderRadius": "{palette.radius.radius24}"
|
|
1229
|
+
}
|
|
1204
1230
|
}
|
|
1205
1231
|
],
|
|
1206
1232
|
"tokens": {
|
|
1207
1233
|
"alignItems": "{system.flexAlign.center}",
|
|
1234
|
+
"backgroundColor": "{system.color.none}",
|
|
1235
|
+
"borderRadius": "{palette.radius.none}",
|
|
1208
1236
|
"direction": "{system.direction.row}",
|
|
1209
1237
|
"fieldSpace": "{system.integer.2}",
|
|
1210
1238
|
"flexGrow": "{system.integer.0}",
|
|
1211
1239
|
"flexShrink": "{system.integer.0}",
|
|
1240
|
+
"gap": "{palette.size.size2}",
|
|
1212
1241
|
"justifyContent": "{system.flexJustifyContent.flexStart}",
|
|
1213
|
-
"
|
|
1242
|
+
"padding": "{system.size.zero}",
|
|
1243
|
+
"space": "{system.integer.2}"
|
|
1214
1244
|
}
|
|
1215
1245
|
},
|
|
1216
1246
|
"ButtonGroupItem": {
|
|
@@ -1221,6 +1251,11 @@
|
|
|
1221
1251
|
"inactive": "{appearances.ButtonGroupItem.inactive}",
|
|
1222
1252
|
"pressed": "{appearances.ButtonGroupItem.pressed}",
|
|
1223
1253
|
"selected": "{appearances.ButtonGroupItem.selected}",
|
|
1254
|
+
"style": {
|
|
1255
|
+
"description": "Configure `style` variant for `ButtonGroupItem`",
|
|
1256
|
+
"type": "variant",
|
|
1257
|
+
"values": ["contained"]
|
|
1258
|
+
},
|
|
1224
1259
|
"width": {
|
|
1225
1260
|
"description": "Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.",
|
|
1226
1261
|
"type": "variant",
|
|
@@ -1330,6 +1365,83 @@
|
|
|
1330
1365
|
"tokens": {
|
|
1331
1366
|
"width": "{system.size.full}"
|
|
1332
1367
|
}
|
|
1368
|
+
},
|
|
1369
|
+
{
|
|
1370
|
+
"if": {
|
|
1371
|
+
"style": "contained"
|
|
1372
|
+
},
|
|
1373
|
+
"tokens": {
|
|
1374
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
1375
|
+
"borderColor": "{palette.color.transparent}",
|
|
1376
|
+
"borderWidth": "{system.border.zero}",
|
|
1377
|
+
"height": "{palette.size.size32}"
|
|
1378
|
+
}
|
|
1379
|
+
},
|
|
1380
|
+
{
|
|
1381
|
+
"if": {
|
|
1382
|
+
"hover": true,
|
|
1383
|
+
"style": "contained"
|
|
1384
|
+
},
|
|
1385
|
+
"tokens": {
|
|
1386
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
1387
|
+
"borderColor": "{palette.color.greyShuttle}",
|
|
1388
|
+
"borderWidth": "{palette.border.border3}"
|
|
1389
|
+
}
|
|
1390
|
+
},
|
|
1391
|
+
{
|
|
1392
|
+
"if": {
|
|
1393
|
+
"selected": true,
|
|
1394
|
+
"style": "contained"
|
|
1395
|
+
},
|
|
1396
|
+
"tokens": {
|
|
1397
|
+
"backgroundColor": "{palette.color.purpleTelus}",
|
|
1398
|
+
"color": "{palette.color.white}",
|
|
1399
|
+
"outerBorderWidth": "{palette.border.none}"
|
|
1400
|
+
}
|
|
1401
|
+
},
|
|
1402
|
+
{
|
|
1403
|
+
"if": {
|
|
1404
|
+
"focus": true,
|
|
1405
|
+
"style": "contained"
|
|
1406
|
+
},
|
|
1407
|
+
"tokens": {
|
|
1408
|
+
"borderColor": "{palette.color.greyShuttle}",
|
|
1409
|
+
"borderWidth": "{palette.border.border1}",
|
|
1410
|
+
"outerBorderWidth": "{palette.border.none}"
|
|
1411
|
+
}
|
|
1412
|
+
},
|
|
1413
|
+
{
|
|
1414
|
+
"if": {
|
|
1415
|
+
"hover": true,
|
|
1416
|
+
"selected": true,
|
|
1417
|
+
"style": "contained"
|
|
1418
|
+
},
|
|
1419
|
+
"tokens": {
|
|
1420
|
+
"backgroundColor": "{palette.color.purpleDeluge}",
|
|
1421
|
+
"borderColor": "{palette.color.transparent}",
|
|
1422
|
+
"color": "{palette.color.white}",
|
|
1423
|
+
"outerBorderWidth": "{palette.border.none}"
|
|
1424
|
+
}
|
|
1425
|
+
},
|
|
1426
|
+
{
|
|
1427
|
+
"if": {
|
|
1428
|
+
"focus": true,
|
|
1429
|
+
"selected": true,
|
|
1430
|
+
"style": "contained"
|
|
1431
|
+
},
|
|
1432
|
+
"tokens": {
|
|
1433
|
+
"outerBorderColor": "{palette.color.purpleTelus}",
|
|
1434
|
+
"outerBorderWidth": "{palette.border.border2}"
|
|
1435
|
+
}
|
|
1436
|
+
},
|
|
1437
|
+
{
|
|
1438
|
+
"if": {
|
|
1439
|
+
"pressed": true,
|
|
1440
|
+
"style": "contained"
|
|
1441
|
+
},
|
|
1442
|
+
"tokens": {
|
|
1443
|
+
"backgroundColor": "{palette.color.purpleDark}"
|
|
1444
|
+
}
|
|
1333
1445
|
}
|
|
1334
1446
|
],
|
|
1335
1447
|
"tokens": {
|
|
@@ -3184,6 +3296,31 @@
|
|
|
3184
3296
|
"paddingTop": "{system.size.zero}"
|
|
3185
3297
|
}
|
|
3186
3298
|
},
|
|
3299
|
+
"FileUpload": {
|
|
3300
|
+
"appearances": {},
|
|
3301
|
+
"rules": [],
|
|
3302
|
+
"tokens": {
|
|
3303
|
+
"buttonBackgroundColor": "{system.color.none}",
|
|
3304
|
+
"buttonBorderColor": "{system.color.none}",
|
|
3305
|
+
"buttonBorderRadius": "{system.radius.none}",
|
|
3306
|
+
"buttonBorderWidth": "{system.border.none}",
|
|
3307
|
+
"buttonHeight": "{system.size.none}",
|
|
3308
|
+
"buttonMinWidth": "{system.size.none}",
|
|
3309
|
+
"buttonTextColor": "{system.color.none}",
|
|
3310
|
+
"buttonWidth": "{system.size.none}",
|
|
3311
|
+
"notificationBackgroundColor": "{system.color.none}",
|
|
3312
|
+
"notificationBorderColor": "{system.color.none}",
|
|
3313
|
+
"notificationBorderRadius": "{system.radius.none}",
|
|
3314
|
+
"notificationDismissButtonGap": "{system.size.none}",
|
|
3315
|
+
"notificationDismissIcon": "{system.icon.none}",
|
|
3316
|
+
"notificationDismissIconColor": "{system.color.none}",
|
|
3317
|
+
"notificationIcon": "{system.icon.none}",
|
|
3318
|
+
"notificationIconColor": "{system.color.none}",
|
|
3319
|
+
"notificationIconGap": "{system.size.none}",
|
|
3320
|
+
"notificationIconSize": "{system.size.none}",
|
|
3321
|
+
"notificationTextColor": "{palette.color.greyCharcoal}"
|
|
3322
|
+
}
|
|
3323
|
+
},
|
|
3187
3324
|
"Footnote": {
|
|
3188
3325
|
"appearances": {
|
|
3189
3326
|
"viewport": "{appearances.system.viewport}"
|
|
@@ -3466,7 +3603,16 @@
|
|
|
3466
3603
|
},
|
|
3467
3604
|
"color": {
|
|
3468
3605
|
"type": "variant",
|
|
3469
|
-
"values": [
|
|
3606
|
+
"values": [
|
|
3607
|
+
"brand",
|
|
3608
|
+
"subtle",
|
|
3609
|
+
"offer",
|
|
3610
|
+
"success",
|
|
3611
|
+
"danger",
|
|
3612
|
+
"warning",
|
|
3613
|
+
"inverse",
|
|
3614
|
+
"default"
|
|
3615
|
+
]
|
|
3470
3616
|
},
|
|
3471
3617
|
"padding": {
|
|
3472
3618
|
"type": "variant",
|
|
@@ -3667,6 +3813,14 @@
|
|
|
3667
3813
|
"color": "{palette.color.white}"
|
|
3668
3814
|
}
|
|
3669
3815
|
},
|
|
3816
|
+
{
|
|
3817
|
+
"if": {
|
|
3818
|
+
"color": "offer"
|
|
3819
|
+
},
|
|
3820
|
+
"tokens": {
|
|
3821
|
+
"color": "{palette.color.purpleTelus}"
|
|
3822
|
+
}
|
|
3823
|
+
},
|
|
3670
3824
|
{
|
|
3671
3825
|
"if": {
|
|
3672
3826
|
"size": "extraLarge"
|
|
@@ -4960,14 +5114,20 @@
|
|
|
4960
5114
|
],
|
|
4961
5115
|
"tokens": {
|
|
4962
5116
|
"buttonDirection": "{system.direction.row}",
|
|
5117
|
+
"contentMarginBottom": "{palette.size.size32}",
|
|
5118
|
+
"contentMarginLeft": "{palette.size.size16}",
|
|
5119
|
+
"contentMarginRight": "{palette.size.size16}",
|
|
5120
|
+
"contentMarginTop": "{palette.size.size24}",
|
|
5121
|
+
"contentPaddingLeft": "{palette.size.size16}",
|
|
5122
|
+
"contentPaddingRight": "{palette.size.size16}",
|
|
4963
5123
|
"headerFontColor": "{palette.color.greyCharcoal}",
|
|
4964
5124
|
"headerFontName": "{palette.fontName.HNforTELUSSA}",
|
|
4965
5125
|
"headerFontSize": "{palette.fontSize.size16}",
|
|
4966
5126
|
"headerFontWeight": "{palette.fontWeight.weight500}",
|
|
4967
5127
|
"headerLineHeight": "{palette.lineHeight.ratio3to2}",
|
|
4968
|
-
"maxHeightSize": "{
|
|
5128
|
+
"maxHeightSize": "{palette.size.size480}",
|
|
4969
5129
|
"maxWidthSize": "{system.size.zero}",
|
|
4970
|
-
"minHeight": "{
|
|
5130
|
+
"minHeight": "{system.size.zero}",
|
|
4971
5131
|
"minWidth": "{palette.size.size320}",
|
|
4972
5132
|
"subHeaderFontName": "{palette.fontName.HNforTELUSSA}",
|
|
4973
5133
|
"subHeaderFontSize": "{palette.fontSize.size14}",
|
|
@@ -7538,6 +7698,7 @@
|
|
|
7538
7698
|
"icon": "{palette.icon.StatusInfo}",
|
|
7539
7699
|
"iconColor": "{palette.color.greyCharcoal}",
|
|
7540
7700
|
"iconGradient": "{system.gradient.none}",
|
|
7701
|
+
"marginLeft": "{palette.size.size8}",
|
|
7541
7702
|
"paddingBottom": "{palette.size.size0}",
|
|
7542
7703
|
"paddingLeft": "{palette.size.size0}",
|
|
7543
7704
|
"paddingRight": "{palette.size.size0}",
|