@telus-uds/theme-koodo 5.18.0 → 5.20.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/ButtonDropdown.json +3 -3
- package/build/android/ButtonGroup.json +31 -0
- package/build/android/ButtonGroupItem.json +67 -0
- package/build/android/Card.json +15 -1
- package/build/android/FileUpload.json +65 -0
- package/build/android/Icon.json +3 -3
- package/build/android/Image.json +1 -1
- package/build/android/MultiSelectFilter.json +8 -2
- package/build/android/Select.json +12 -0
- package/build/android/Status.json +1 -0
- package/build/android/Tooltip.json +6 -6
- package/build/android/schema.json +1013 -728
- package/build/android/theme.json +213 -17
- package/build/ios/ButtonDropdown.json +3 -3
- package/build/ios/ButtonGroup.json +31 -0
- package/build/ios/ButtonGroupItem.json +67 -0
- package/build/ios/Card.json +15 -1
- package/build/ios/FileUpload.json +65 -0
- package/build/ios/Icon.json +3 -3
- package/build/ios/Image.json +1 -1
- package/build/ios/MultiSelectFilter.json +8 -2
- package/build/ios/Select.json +12 -0
- package/build/ios/Status.json +1 -0
- package/build/ios/Tooltip.json +6 -6
- package/build/ios/schema.json +1013 -728
- package/build/ios/theme.json +213 -17
- 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 +2 -2
- package/build/rn/ButtonGroup.js +20 -2
- package/build/rn/ButtonGroupItem.js +52 -2
- package/build/rn/Callout.js +1 -1
- package/build/rn/Card.js +6 -2
- 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 +2 -2
- package/build/rn/IconButton.js +1 -1
- package/build/rn/Image.js +2 -2
- 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 +5 -2
- 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 +2 -1
- 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 +3 -3
- 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 +1013 -728
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +128 -12
- 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 +2 -2
- package/build/web/ButtonGroup.js +20 -2
- package/build/web/ButtonGroupItem.js +52 -2
- package/build/web/Callout.js +1 -1
- package/build/web/Card.js +6 -2
- 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 +2 -2
- package/build/web/IconButton.js +1 -1
- package/build/web/Image.js +2 -2
- 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 +5 -2
- 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 +2 -1
- 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 +3 -3
- 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 +1013 -728
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +128 -12
- package/package.json +4 -4
- package/theme.json +161 -8
package/build/web/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on Mon,
|
|
4
|
+
* Generated on Mon, 16 Sep 2024 12:24:29 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -971,7 +971,7 @@ const theme = {
|
|
|
971
971
|
borderRadius: 4,
|
|
972
972
|
borderWidth: 1,
|
|
973
973
|
color: '#000000',
|
|
974
|
-
dividerColor: '#
|
|
974
|
+
dividerColor: '#c9c8c8',
|
|
975
975
|
fontName: 'StagSans',
|
|
976
976
|
fontSize: 14,
|
|
977
977
|
fontWeight: '600',
|
|
@@ -1005,6 +1005,11 @@ const theme = {
|
|
|
1005
1005
|
},
|
|
1006
1006
|
ButtonGroup: {
|
|
1007
1007
|
appearances: {
|
|
1008
|
+
style: {
|
|
1009
|
+
description: 'Configure `style` variant for `ButtonGroup`',
|
|
1010
|
+
type: 'variant',
|
|
1011
|
+
values: [ 'contained' ]
|
|
1012
|
+
},
|
|
1008
1013
|
viewport: {
|
|
1009
1014
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
1010
1015
|
type: 'state',
|
|
@@ -1017,7 +1022,10 @@ const theme = {
|
|
|
1017
1022
|
}
|
|
1018
1023
|
},
|
|
1019
1024
|
rules: [
|
|
1020
|
-
{
|
|
1025
|
+
{
|
|
1026
|
+
if: { viewport: [ 'xs', 'sm' ] },
|
|
1027
|
+
tokens: { gap: 3, space: 2 }
|
|
1028
|
+
},
|
|
1021
1029
|
{
|
|
1022
1030
|
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
1023
1031
|
tokens: { space: 3 }
|
|
@@ -1025,15 +1033,28 @@ const theme = {
|
|
|
1025
1033
|
{
|
|
1026
1034
|
if: { viewport: [ 'xs' ], width: 'responsive' },
|
|
1027
1035
|
tokens: { alignItems: 'stretch', direction: 'column' }
|
|
1036
|
+
},
|
|
1037
|
+
{
|
|
1038
|
+
if: { style: 'contained' },
|
|
1039
|
+
tokens: {
|
|
1040
|
+
backgroundColor: 'rgba(0, 0, 0, 0.1)',
|
|
1041
|
+
borderRadius: 8,
|
|
1042
|
+
padding: 8,
|
|
1043
|
+
space: 2
|
|
1044
|
+
}
|
|
1028
1045
|
}
|
|
1029
1046
|
],
|
|
1030
1047
|
tokens: {
|
|
1031
1048
|
alignItems: 'center',
|
|
1049
|
+
backgroundColor: null,
|
|
1050
|
+
borderRadius: 0,
|
|
1032
1051
|
direction: 'row',
|
|
1033
1052
|
fieldSpace: 2,
|
|
1034
1053
|
flexGrow: 0,
|
|
1035
1054
|
flexShrink: 0,
|
|
1055
|
+
gap: 2,
|
|
1036
1056
|
justifyContent: 'flex-start',
|
|
1057
|
+
padding: 0,
|
|
1037
1058
|
space: 2
|
|
1038
1059
|
}
|
|
1039
1060
|
},
|
|
@@ -1071,6 +1092,11 @@ const theme = {
|
|
|
1071
1092
|
type: 'state',
|
|
1072
1093
|
values: [ true ]
|
|
1073
1094
|
},
|
|
1095
|
+
style: {
|
|
1096
|
+
description: 'Configure `style` variant for `ButtonGroupItem`',
|
|
1097
|
+
type: 'variant',
|
|
1098
|
+
values: [ 'contained' ]
|
|
1099
|
+
},
|
|
1074
1100
|
width: {
|
|
1075
1101
|
description: 'Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.',
|
|
1076
1102
|
type: 'variant',
|
|
@@ -1123,7 +1149,56 @@ const theme = {
|
|
|
1123
1149
|
}
|
|
1124
1150
|
},
|
|
1125
1151
|
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } },
|
|
1126
|
-
{ if: { width: 'responsive' }, tokens: { width: '100%' } }
|
|
1152
|
+
{ if: { width: 'responsive' }, tokens: { width: '100%' } },
|
|
1153
|
+
{
|
|
1154
|
+
if: { style: 'contained' },
|
|
1155
|
+
tokens: {
|
|
1156
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
1157
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1158
|
+
borderWidth: 0,
|
|
1159
|
+
height: 40
|
|
1160
|
+
}
|
|
1161
|
+
},
|
|
1162
|
+
{
|
|
1163
|
+
if: { hover: true, style: 'contained' },
|
|
1164
|
+
tokens: {
|
|
1165
|
+
backgroundColor: '#404040',
|
|
1166
|
+
color: '#ffffff',
|
|
1167
|
+
outerBorderWidth: 0
|
|
1168
|
+
}
|
|
1169
|
+
},
|
|
1170
|
+
{
|
|
1171
|
+
if: { selected: true, style: 'contained' },
|
|
1172
|
+
tokens: {
|
|
1173
|
+
backgroundColor: '#7a3dfc',
|
|
1174
|
+
color: '#ffffff',
|
|
1175
|
+
outerBorderWidth: 0
|
|
1176
|
+
}
|
|
1177
|
+
},
|
|
1178
|
+
{
|
|
1179
|
+
if: { focus: true, style: 'contained' },
|
|
1180
|
+
tokens: {
|
|
1181
|
+
borderColor: '#000000',
|
|
1182
|
+
borderWidth: 1,
|
|
1183
|
+
outerBorderWidth: 0
|
|
1184
|
+
}
|
|
1185
|
+
},
|
|
1186
|
+
{
|
|
1187
|
+
if: { hover: true, selected: true, style: 'contained' },
|
|
1188
|
+
tokens: {
|
|
1189
|
+
backgroundColor: '#5b2bc2',
|
|
1190
|
+
color: '#ffffff',
|
|
1191
|
+
outerBorderWidth: 0
|
|
1192
|
+
}
|
|
1193
|
+
},
|
|
1194
|
+
{
|
|
1195
|
+
if: { focus: true, selected: true, style: 'contained' },
|
|
1196
|
+
tokens: { outerBorderColor: '#7a3dfc', outerBorderWidth: 1 }
|
|
1197
|
+
},
|
|
1198
|
+
{
|
|
1199
|
+
if: { pressed: true, style: 'contained' },
|
|
1200
|
+
tokens: { backgroundColor: '#404040', color: '#666666' }
|
|
1201
|
+
}
|
|
1127
1202
|
],
|
|
1128
1203
|
tokens: {
|
|
1129
1204
|
alignSelf: 'flex-start',
|
|
@@ -1182,7 +1257,7 @@ const theme = {
|
|
|
1182
1257
|
background: {
|
|
1183
1258
|
description: 'Defines background related attributes of Card',
|
|
1184
1259
|
type: 'variant',
|
|
1185
|
-
values: [ 'alternative', 'subtle', 'grid', 'feature' ]
|
|
1260
|
+
values: [ 'alternative', 'subtle', 'grid', 'feature', 'plain' ]
|
|
1186
1261
|
},
|
|
1187
1262
|
borderRadius: { type: 'variant', values: [ 'none', 'small', 'large' ] },
|
|
1188
1263
|
focus: {
|
|
@@ -1288,6 +1363,10 @@ const theme = {
|
|
|
1288
1363
|
borderWidth: 0
|
|
1289
1364
|
}
|
|
1290
1365
|
},
|
|
1366
|
+
{
|
|
1367
|
+
if: { background: 'plain' },
|
|
1368
|
+
tokens: { backgroundColor: '#ffffff', borderWidth: 0 }
|
|
1369
|
+
},
|
|
1291
1370
|
{
|
|
1292
1371
|
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
1293
1372
|
tokens: {
|
|
@@ -2701,6 +2780,31 @@ const theme = {
|
|
|
2701
2780
|
paddingTop: 0
|
|
2702
2781
|
}
|
|
2703
2782
|
},
|
|
2783
|
+
FileUpload: {
|
|
2784
|
+
appearances: {},
|
|
2785
|
+
rules: [],
|
|
2786
|
+
tokens: {
|
|
2787
|
+
buttonBackgroundColor: null,
|
|
2788
|
+
buttonBorderColor: null,
|
|
2789
|
+
buttonBorderRadius: null,
|
|
2790
|
+
buttonBorderWidth: null,
|
|
2791
|
+
buttonHeight: null,
|
|
2792
|
+
buttonMinWidth: null,
|
|
2793
|
+
buttonTextColor: null,
|
|
2794
|
+
buttonWidth: null,
|
|
2795
|
+
notificationBackgroundColor: null,
|
|
2796
|
+
notificationBorderColor: null,
|
|
2797
|
+
notificationBorderRadius: null,
|
|
2798
|
+
notificationDismissButtonGap: null,
|
|
2799
|
+
notificationDismissIcon: null,
|
|
2800
|
+
notificationDismissIconColor: null,
|
|
2801
|
+
notificationIcon: null,
|
|
2802
|
+
notificationIconColor: null,
|
|
2803
|
+
notificationIconGap: null,
|
|
2804
|
+
notificationIconSize: null,
|
|
2805
|
+
notificationTextColor: '#000000'
|
|
2806
|
+
}
|
|
2807
|
+
},
|
|
2704
2808
|
Footnote: {
|
|
2705
2809
|
appearances: {
|
|
2706
2810
|
viewport: {
|
|
@@ -2983,7 +3087,7 @@ const theme = {
|
|
|
2983
3087
|
{ if: { size: 'extraLarge' }, tokens: { size: 48 } },
|
|
2984
3088
|
{ if: { color: 'brand' }, tokens: { color: '#ff0076' } },
|
|
2985
3089
|
{ if: { color: 'subtle' }, tokens: { color: '#666666' } },
|
|
2986
|
-
{ if: { color: 'offer' }, tokens: { color: '#
|
|
3090
|
+
{ if: { color: 'offer' }, tokens: { color: '#7a3dfc' } },
|
|
2987
3091
|
{ if: { color: 'success' }, tokens: { color: '#1c7b2b' } },
|
|
2988
3092
|
{ if: { color: 'danger' }, tokens: { color: '#c9370b' } },
|
|
2989
3093
|
{ if: { color: 'warning' }, tokens: { color: '#c9370b' } },
|
|
@@ -3272,7 +3376,7 @@ const theme = {
|
|
|
3272
3376
|
width: null
|
|
3273
3377
|
}
|
|
3274
3378
|
},
|
|
3275
|
-
Image: { appearances: {}, rules: [], tokens: { borderRadius:
|
|
3379
|
+
Image: { appearances: {}, rules: [], tokens: { borderRadius: null } },
|
|
3276
3380
|
InputLabel: {
|
|
3277
3381
|
appearances: {},
|
|
3278
3382
|
rules: [],
|
|
@@ -3923,14 +4027,20 @@ const theme = {
|
|
|
3923
4027
|
],
|
|
3924
4028
|
tokens: {
|
|
3925
4029
|
buttonDirection: 'row',
|
|
4030
|
+
contentMarginBottom: 32,
|
|
4031
|
+
contentMarginLeft: 16,
|
|
4032
|
+
contentMarginRight: 16,
|
|
4033
|
+
contentMarginTop: 24,
|
|
4034
|
+
contentPaddingLeft: 16,
|
|
4035
|
+
contentPaddingRight: 16,
|
|
3926
4036
|
headerFontColor: '#000000',
|
|
3927
4037
|
headerFontName: 'StagSans',
|
|
3928
4038
|
headerFontSize: 24,
|
|
3929
4039
|
headerFontWeight: '700',
|
|
3930
4040
|
headerLineHeight: 1.33333333333,
|
|
3931
|
-
maxHeightSize:
|
|
4041
|
+
maxHeightSize: 480,
|
|
3932
4042
|
maxWidthSize: 0,
|
|
3933
|
-
minHeight:
|
|
4043
|
+
minHeight: 0,
|
|
3934
4044
|
minWidth: 320,
|
|
3935
4045
|
subHeaderFontName: 'StagSans',
|
|
3936
4046
|
subHeaderFontSize: 16,
|
|
@@ -5667,6 +5777,7 @@ const theme = {
|
|
|
5667
5777
|
},
|
|
5668
5778
|
Select: {
|
|
5669
5779
|
appearances: {
|
|
5780
|
+
active: { type: 'state', values: [ true ] },
|
|
5670
5781
|
focus: {
|
|
5671
5782
|
description: 'Focus states for some input elements are well supported across web, RN, ios and android',
|
|
5672
5783
|
type: 'state',
|
|
@@ -5727,6 +5838,10 @@ const theme = {
|
|
|
5727
5838
|
borderColor: '#efefef',
|
|
5728
5839
|
icon: null
|
|
5729
5840
|
}
|
|
5841
|
+
},
|
|
5842
|
+
{
|
|
5843
|
+
if: { active: true },
|
|
5844
|
+
tokens: { icon: PaletteIconChevronUp }
|
|
5730
5845
|
}
|
|
5731
5846
|
],
|
|
5732
5847
|
tokens: {
|
|
@@ -6180,6 +6295,7 @@ const theme = {
|
|
|
6180
6295
|
icon: PaletteIconToolTipFilled,
|
|
6181
6296
|
iconColor: '#000000',
|
|
6182
6297
|
iconGradient: null,
|
|
6298
|
+
marginLeft: 8,
|
|
6183
6299
|
paddingBottom: 0,
|
|
6184
6300
|
paddingLeft: 0,
|
|
6185
6301
|
paddingRight: 0,
|
|
@@ -7381,9 +7497,9 @@ const theme = {
|
|
|
7381
7497
|
arrowBorderRadius: 0,
|
|
7382
7498
|
arrowOffset: 4,
|
|
7383
7499
|
arrowWidth: 8,
|
|
7384
|
-
backgroundColor: '#
|
|
7500
|
+
backgroundColor: '#595959',
|
|
7385
7501
|
borderRadius: 4,
|
|
7386
|
-
color: '#
|
|
7502
|
+
color: '#ffffff',
|
|
7387
7503
|
fontName: 'StagSans',
|
|
7388
7504
|
fontSize: 14,
|
|
7389
7505
|
fontWeight: '400',
|
|
@@ -7987,6 +8103,6 @@ const theme = {
|
|
|
7987
8103
|
tokens: { size: 96 }
|
|
7988
8104
|
}
|
|
7989
8105
|
},
|
|
7990
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
8106
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.63.0' }
|
|
7991
8107
|
}
|
|
7992
8108
|
export default theme
|
package/package.json
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
},
|
|
6
6
|
"description": "Koodo theme",
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@telus-uds/palette-koodo": "^1.
|
|
9
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
8
|
+
"@telus-uds/palette-koodo": "^1.7.0",
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.63.0"
|
|
10
10
|
},
|
|
11
11
|
"files": [
|
|
12
12
|
"build",
|
|
@@ -20,7 +20,7 @@
|
|
|
20
20
|
"main": "build/rn/theme.js",
|
|
21
21
|
"name": "@telus-uds/theme-koodo",
|
|
22
22
|
"peerDependencies": {
|
|
23
|
-
"@telus-uds/palette-koodo": "^1.
|
|
23
|
+
"@telus-uds/palette-koodo": "^1.7.0"
|
|
24
24
|
},
|
|
25
25
|
"repository": {
|
|
26
26
|
"type": "git",
|
|
@@ -31,5 +31,5 @@
|
|
|
31
31
|
"build": "UDS_PALETTE=@telus-uds/palette-koodo system-tokens-build-theme",
|
|
32
32
|
"dev": "nodemon -w src -x 'npm run build'"
|
|
33
33
|
},
|
|
34
|
-
"version": "5.
|
|
34
|
+
"version": "5.20.0"
|
|
35
35
|
}
|
package/theme.json
CHANGED
|
@@ -1245,7 +1245,7 @@
|
|
|
1245
1245
|
"borderRadius": "{palette.radius.radius4}",
|
|
1246
1246
|
"borderWidth": "{palette.border.border1}",
|
|
1247
1247
|
"color": "{palette.color.black}",
|
|
1248
|
-
"dividerColor": "{palette.color.
|
|
1248
|
+
"dividerColor": "{palette.color.silver}",
|
|
1249
1249
|
"fontName": "{palette.fontName.StagSans}",
|
|
1250
1250
|
"fontSize": "{palette.fontSize.size14}",
|
|
1251
1251
|
"fontWeight": "{palette.fontWeight.weight600}",
|
|
@@ -1279,6 +1279,11 @@
|
|
|
1279
1279
|
},
|
|
1280
1280
|
"ButtonGroup": {
|
|
1281
1281
|
"appearances": {
|
|
1282
|
+
"style": {
|
|
1283
|
+
"description": "Configure `style` variant for `ButtonGroup`",
|
|
1284
|
+
"type": "variant",
|
|
1285
|
+
"values": ["contained"]
|
|
1286
|
+
},
|
|
1282
1287
|
"viewport": "{appearances.system.viewport}",
|
|
1283
1288
|
"width": {
|
|
1284
1289
|
"description": "Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.",
|
|
@@ -1292,6 +1297,7 @@
|
|
|
1292
1297
|
"viewport": ["xs", "sm"]
|
|
1293
1298
|
},
|
|
1294
1299
|
"tokens": {
|
|
1300
|
+
"gap": "{palette.size.size3}",
|
|
1295
1301
|
"space": "{system.integer.2}"
|
|
1296
1302
|
}
|
|
1297
1303
|
},
|
|
@@ -1312,15 +1318,30 @@
|
|
|
1312
1318
|
"alignItems": "{system.flexAlign.stretch}",
|
|
1313
1319
|
"direction": "{system.direction.column}"
|
|
1314
1320
|
}
|
|
1321
|
+
},
|
|
1322
|
+
{
|
|
1323
|
+
"if": {
|
|
1324
|
+
"style": "contained"
|
|
1325
|
+
},
|
|
1326
|
+
"tokens": {
|
|
1327
|
+
"backgroundColor": "{palette.color.dark10}",
|
|
1328
|
+
"borderRadius": "{palette.radius.radius8}",
|
|
1329
|
+
"padding": "{palette.size.size8}",
|
|
1330
|
+
"space": "{system.integer.2}"
|
|
1331
|
+
}
|
|
1315
1332
|
}
|
|
1316
1333
|
],
|
|
1317
1334
|
"tokens": {
|
|
1318
1335
|
"alignItems": "{system.flexAlign.center}",
|
|
1336
|
+
"backgroundColor": "{system.color.none}",
|
|
1337
|
+
"borderRadius": "{system.radius.zero}",
|
|
1319
1338
|
"direction": "{system.direction.row}",
|
|
1320
1339
|
"fieldSpace": "{system.integer.2}",
|
|
1321
1340
|
"flexGrow": "{system.integer.0}",
|
|
1322
1341
|
"flexShrink": "{system.integer.0}",
|
|
1342
|
+
"gap": "{palette.size.size2}",
|
|
1323
1343
|
"justifyContent": "{system.flexJustifyContent.flexStart}",
|
|
1344
|
+
"padding": "{system.size.zero}",
|
|
1324
1345
|
"space": "{system.integer.2}"
|
|
1325
1346
|
}
|
|
1326
1347
|
},
|
|
@@ -1332,6 +1353,11 @@
|
|
|
1332
1353
|
"inactive": "{appearances.ButtonGroupItem.inactive}",
|
|
1333
1354
|
"pressed": "{appearances.ButtonGroupItem.pressed}",
|
|
1334
1355
|
"selected": "{appearances.ButtonGroupItem.selected}",
|
|
1356
|
+
"style": {
|
|
1357
|
+
"description": "Configure `style` variant for `ButtonGroupItem`",
|
|
1358
|
+
"type": "variant",
|
|
1359
|
+
"values": ["contained"]
|
|
1360
|
+
},
|
|
1335
1361
|
"width": {
|
|
1336
1362
|
"description": "Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.",
|
|
1337
1363
|
"type": "variant",
|
|
@@ -1431,6 +1457,83 @@
|
|
|
1431
1457
|
"tokens": {
|
|
1432
1458
|
"width": "{system.size.full}"
|
|
1433
1459
|
}
|
|
1460
|
+
},
|
|
1461
|
+
{
|
|
1462
|
+
"if": {
|
|
1463
|
+
"style": "contained"
|
|
1464
|
+
},
|
|
1465
|
+
"tokens": {
|
|
1466
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
1467
|
+
"borderColor": "{palette.color.transparent}",
|
|
1468
|
+
"borderWidth": "{system.border.zero}",
|
|
1469
|
+
"height": "{palette.size.size40}"
|
|
1470
|
+
}
|
|
1471
|
+
},
|
|
1472
|
+
{
|
|
1473
|
+
"if": {
|
|
1474
|
+
"hover": true,
|
|
1475
|
+
"style": "contained"
|
|
1476
|
+
},
|
|
1477
|
+
"tokens": {
|
|
1478
|
+
"backgroundColor": "{palette.color.blackLight}",
|
|
1479
|
+
"color": "{palette.color.white}",
|
|
1480
|
+
"outerBorderWidth": "{palette.border.none}"
|
|
1481
|
+
}
|
|
1482
|
+
},
|
|
1483
|
+
{
|
|
1484
|
+
"if": {
|
|
1485
|
+
"selected": true,
|
|
1486
|
+
"style": "contained"
|
|
1487
|
+
},
|
|
1488
|
+
"tokens": {
|
|
1489
|
+
"backgroundColor": "{palette.color.purple}",
|
|
1490
|
+
"color": "{palette.color.white}",
|
|
1491
|
+
"outerBorderWidth": "{palette.border.none}"
|
|
1492
|
+
}
|
|
1493
|
+
},
|
|
1494
|
+
{
|
|
1495
|
+
"if": {
|
|
1496
|
+
"focus": true,
|
|
1497
|
+
"style": "contained"
|
|
1498
|
+
},
|
|
1499
|
+
"tokens": {
|
|
1500
|
+
"borderColor": "{palette.color.black}",
|
|
1501
|
+
"borderWidth": "{palette.border.border1}",
|
|
1502
|
+
"outerBorderWidth": "{palette.border.none}"
|
|
1503
|
+
}
|
|
1504
|
+
},
|
|
1505
|
+
{
|
|
1506
|
+
"if": {
|
|
1507
|
+
"hover": true,
|
|
1508
|
+
"selected": true,
|
|
1509
|
+
"style": "contained"
|
|
1510
|
+
},
|
|
1511
|
+
"tokens": {
|
|
1512
|
+
"backgroundColor": "{palette.color.purpleDark}",
|
|
1513
|
+
"color": "{palette.color.white}",
|
|
1514
|
+
"outerBorderWidth": "{palette.border.none}"
|
|
1515
|
+
}
|
|
1516
|
+
},
|
|
1517
|
+
{
|
|
1518
|
+
"if": {
|
|
1519
|
+
"focus": true,
|
|
1520
|
+
"selected": true,
|
|
1521
|
+
"style": "contained"
|
|
1522
|
+
},
|
|
1523
|
+
"tokens": {
|
|
1524
|
+
"outerBorderColor": "{palette.color.purple}",
|
|
1525
|
+
"outerBorderWidth": "{palette.border.border1}"
|
|
1526
|
+
}
|
|
1527
|
+
},
|
|
1528
|
+
{
|
|
1529
|
+
"if": {
|
|
1530
|
+
"pressed": true,
|
|
1531
|
+
"style": "contained"
|
|
1532
|
+
},
|
|
1533
|
+
"tokens": {
|
|
1534
|
+
"backgroundColor": "{palette.color.blackLight}",
|
|
1535
|
+
"color": "{palette.color.dove}"
|
|
1536
|
+
}
|
|
1434
1537
|
}
|
|
1435
1538
|
],
|
|
1436
1539
|
"tokens": {
|
|
@@ -1508,7 +1611,7 @@
|
|
|
1508
1611
|
"background": {
|
|
1509
1612
|
"description": "Defines background related attributes of Card",
|
|
1510
1613
|
"type": "variant",
|
|
1511
|
-
"values": ["alternative", "subtle", "grid", "feature"]
|
|
1614
|
+
"values": ["alternative", "subtle", "grid", "feature", "plain"]
|
|
1512
1615
|
},
|
|
1513
1616
|
"borderRadius": {
|
|
1514
1617
|
"type": "variant",
|
|
@@ -1655,6 +1758,15 @@
|
|
|
1655
1758
|
"borderWidth": "{palette.border.none}"
|
|
1656
1759
|
}
|
|
1657
1760
|
},
|
|
1761
|
+
{
|
|
1762
|
+
"if": {
|
|
1763
|
+
"background": "plain"
|
|
1764
|
+
},
|
|
1765
|
+
"tokens": {
|
|
1766
|
+
"backgroundColor": "{palette.color.white}",
|
|
1767
|
+
"borderWidth": "{palette.border.none}"
|
|
1768
|
+
}
|
|
1769
|
+
},
|
|
1658
1770
|
{
|
|
1659
1771
|
"if": {
|
|
1660
1772
|
"viewport": ["md", "lg", "xl"]
|
|
@@ -3355,6 +3467,31 @@
|
|
|
3355
3467
|
"paddingTop": "{system.size.zero}"
|
|
3356
3468
|
}
|
|
3357
3469
|
},
|
|
3470
|
+
"FileUpload": {
|
|
3471
|
+
"appearances": {},
|
|
3472
|
+
"rules": [],
|
|
3473
|
+
"tokens": {
|
|
3474
|
+
"buttonBackgroundColor": "{system.color.none}",
|
|
3475
|
+
"buttonBorderColor": "{system.color.none}",
|
|
3476
|
+
"buttonBorderRadius": "{system.radius.none}",
|
|
3477
|
+
"buttonBorderWidth": "{system.border.none}",
|
|
3478
|
+
"buttonHeight": "{system.size.none}",
|
|
3479
|
+
"buttonMinWidth": "{system.size.none}",
|
|
3480
|
+
"buttonTextColor": "{system.color.none}",
|
|
3481
|
+
"buttonWidth": "{system.size.none}",
|
|
3482
|
+
"notificationBackgroundColor": "{system.color.none}",
|
|
3483
|
+
"notificationBorderColor": "{system.color.none}",
|
|
3484
|
+
"notificationBorderRadius": "{system.radius.none}",
|
|
3485
|
+
"notificationDismissButtonGap": "{system.size.none}",
|
|
3486
|
+
"notificationDismissIcon": "{system.icon.none}",
|
|
3487
|
+
"notificationDismissIconColor": "{system.color.none}",
|
|
3488
|
+
"notificationIcon": "{system.icon.none}",
|
|
3489
|
+
"notificationIconColor": "{system.color.none}",
|
|
3490
|
+
"notificationIconGap": "{system.size.none}",
|
|
3491
|
+
"notificationIconSize": "{system.size.none}",
|
|
3492
|
+
"notificationTextColor": "{palette.color.black}"
|
|
3493
|
+
}
|
|
3494
|
+
},
|
|
3358
3495
|
"Footnote": {
|
|
3359
3496
|
"appearances": {
|
|
3360
3497
|
"viewport": "{appearances.system.viewport}"
|
|
@@ -3799,7 +3936,7 @@
|
|
|
3799
3936
|
"color": "offer"
|
|
3800
3937
|
},
|
|
3801
3938
|
"tokens": {
|
|
3802
|
-
"color": "{palette.color.
|
|
3939
|
+
"color": "{palette.color.purple}"
|
|
3803
3940
|
}
|
|
3804
3941
|
},
|
|
3805
3942
|
{
|
|
@@ -4285,7 +4422,7 @@
|
|
|
4285
4422
|
"appearances": {},
|
|
4286
4423
|
"rules": [],
|
|
4287
4424
|
"tokens": {
|
|
4288
|
-
"borderRadius": "{
|
|
4425
|
+
"borderRadius": "{system.radius.none}"
|
|
4289
4426
|
}
|
|
4290
4427
|
},
|
|
4291
4428
|
"InputLabel": {
|
|
@@ -5104,14 +5241,20 @@
|
|
|
5104
5241
|
],
|
|
5105
5242
|
"tokens": {
|
|
5106
5243
|
"buttonDirection": "{system.direction.row}",
|
|
5244
|
+
"contentMarginBottom": "{palette.size.size32}",
|
|
5245
|
+
"contentMarginLeft": "{palette.size.size16}",
|
|
5246
|
+
"contentMarginRight": "{palette.size.size16}",
|
|
5247
|
+
"contentMarginTop": "{palette.size.size24}",
|
|
5248
|
+
"contentPaddingLeft": "{palette.size.size16}",
|
|
5249
|
+
"contentPaddingRight": "{palette.size.size16}",
|
|
5107
5250
|
"headerFontColor": "{palette.color.black}",
|
|
5108
5251
|
"headerFontName": "{palette.fontName.StagSans}",
|
|
5109
5252
|
"headerFontSize": "{palette.fontSize.size24}",
|
|
5110
5253
|
"headerFontWeight": "{palette.fontWeight.weight700}",
|
|
5111
5254
|
"headerLineHeight": "{palette.lineHeight.ratio4to3}",
|
|
5112
|
-
"maxHeightSize": "{
|
|
5255
|
+
"maxHeightSize": "{palette.size.size480}",
|
|
5113
5256
|
"maxWidthSize": "{system.size.zero}",
|
|
5114
|
-
"minHeight": "{
|
|
5257
|
+
"minHeight": "{system.size.zero}",
|
|
5115
5258
|
"minWidth": "{palette.size.size320}",
|
|
5116
5259
|
"subHeaderFontName": "{palette.fontName.StagSans}",
|
|
5117
5260
|
"subHeaderFontSize": "{palette.fontSize.size16}",
|
|
@@ -7046,6 +7189,7 @@
|
|
|
7046
7189
|
},
|
|
7047
7190
|
"Select": {
|
|
7048
7191
|
"appearances": {
|
|
7192
|
+
"active": "{appearances.Select.active}",
|
|
7049
7193
|
"focus": "{appearances.Select.focus}",
|
|
7050
7194
|
"hover": "{appearances.Select.hover}",
|
|
7051
7195
|
"inactive": "{appearances.Select.inactive}",
|
|
@@ -7102,6 +7246,14 @@
|
|
|
7102
7246
|
"borderColor": "{palette.color.gallery}",
|
|
7103
7247
|
"icon": "{system.icon.none}"
|
|
7104
7248
|
}
|
|
7249
|
+
},
|
|
7250
|
+
{
|
|
7251
|
+
"if": {
|
|
7252
|
+
"active": true
|
|
7253
|
+
},
|
|
7254
|
+
"tokens": {
|
|
7255
|
+
"icon": "{palette.icon.ChevronUp}"
|
|
7256
|
+
}
|
|
7105
7257
|
}
|
|
7106
7258
|
],
|
|
7107
7259
|
"tokens": {
|
|
@@ -7676,6 +7828,7 @@
|
|
|
7676
7828
|
"icon": "{palette.icon.ToolTipFilled}",
|
|
7677
7829
|
"iconColor": "{palette.color.black}",
|
|
7678
7830
|
"iconGradient": "{system.gradient.none}",
|
|
7831
|
+
"marginLeft": "{palette.size.size8}",
|
|
7679
7832
|
"paddingBottom": "{palette.size.size0}",
|
|
7680
7833
|
"paddingLeft": "{palette.size.size0}",
|
|
7681
7834
|
"paddingRight": "{palette.size.size0}",
|
|
@@ -8990,9 +9143,9 @@
|
|
|
8990
9143
|
"arrowBorderRadius": "{palette.radius.none}",
|
|
8991
9144
|
"arrowOffset": "{palette.size.size4}",
|
|
8992
9145
|
"arrowWidth": "{palette.size.size8}",
|
|
8993
|
-
"backgroundColor": "{palette.color.
|
|
9146
|
+
"backgroundColor": "{palette.color.mortar}",
|
|
8994
9147
|
"borderRadius": "{palette.radius.radius4}",
|
|
8995
|
-
"color": "{palette.color.
|
|
9148
|
+
"color": "{palette.color.white}",
|
|
8996
9149
|
"fontName": "{palette.fontName.StagSans}",
|
|
8997
9150
|
"fontSize": "{palette.fontSize.size14}",
|
|
8998
9151
|
"fontWeight": "{palette.fontWeight.weight400}",
|