@telus-uds/theme-public-mobile 2.27.0 → 2.29.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 +32 -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/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/schema.json +1069 -744
- package/build/android/theme.json +212 -8
- package/build/ios/ButtonDropdown.json +3 -3
- package/build/ios/ButtonGroup.json +32 -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/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/schema.json +1069 -744
- package/build/ios/theme.json +212 -8
- 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 +21 -2
- package/build/rn/ButtonGroupItem.js +57 -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 +1 -1
- 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 +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 +1069 -744
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +138 -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 +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 +21 -2
- package/build/web/ButtonGroupItem.js +57 -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 +1 -1
- 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 +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 +1069 -744
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +138 -9
- package/package.json +4 -4
- package/theme.json +161 -5
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:33 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -886,7 +886,7 @@ const theme = {
|
|
|
886
886
|
borderRadius: 8,
|
|
887
887
|
borderWidth: 1,
|
|
888
888
|
color: '#394056',
|
|
889
|
-
dividerColor: '#
|
|
889
|
+
dividerColor: '#cdcfd5',
|
|
890
890
|
fontName: 'SofiaPro',
|
|
891
891
|
fontSize: 18,
|
|
892
892
|
fontWeight: '400',
|
|
@@ -920,6 +920,11 @@ const theme = {
|
|
|
920
920
|
},
|
|
921
921
|
ButtonGroup: {
|
|
922
922
|
appearances: {
|
|
923
|
+
style: {
|
|
924
|
+
description: 'Configure `style` variant for `ButtonGroup`',
|
|
925
|
+
type: 'variant',
|
|
926
|
+
values: [ 'contained' ]
|
|
927
|
+
},
|
|
923
928
|
viewport: {
|
|
924
929
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
925
930
|
type: 'state',
|
|
@@ -932,19 +937,36 @@ const theme = {
|
|
|
932
937
|
}
|
|
933
938
|
},
|
|
934
939
|
rules: [
|
|
935
|
-
{
|
|
940
|
+
{
|
|
941
|
+
if: { viewport: [ 'lg', 'xl' ] },
|
|
942
|
+
tokens: { gap: 3, space: 3 }
|
|
943
|
+
},
|
|
936
944
|
{
|
|
937
945
|
if: { viewport: [ 'xs' ], width: 'responsive' },
|
|
938
946
|
tokens: { alignItems: 'stretch', direction: 'column' }
|
|
947
|
+
},
|
|
948
|
+
{
|
|
949
|
+
if: { style: 'contained' },
|
|
950
|
+
tokens: {
|
|
951
|
+
backgroundColor: '#d8dae2',
|
|
952
|
+
borderRadius: 12,
|
|
953
|
+
gap: 2,
|
|
954
|
+
padding: 8,
|
|
955
|
+
space: 2
|
|
956
|
+
}
|
|
939
957
|
}
|
|
940
958
|
],
|
|
941
959
|
tokens: {
|
|
942
960
|
alignItems: 'center',
|
|
961
|
+
backgroundColor: null,
|
|
962
|
+
borderRadius: 0,
|
|
943
963
|
direction: 'row',
|
|
944
964
|
fieldSpace: 2,
|
|
945
965
|
flexGrow: 0,
|
|
946
966
|
flexShrink: 0,
|
|
967
|
+
gap: 2,
|
|
947
968
|
justifyContent: 'flex-start',
|
|
969
|
+
padding: 0,
|
|
948
970
|
space: 1
|
|
949
971
|
}
|
|
950
972
|
},
|
|
@@ -982,6 +1004,11 @@ const theme = {
|
|
|
982
1004
|
type: 'state',
|
|
983
1005
|
values: [ true ]
|
|
984
1006
|
},
|
|
1007
|
+
style: {
|
|
1008
|
+
description: 'Configure `style` variant for `ButtonGroupItem`',
|
|
1009
|
+
type: 'variant',
|
|
1010
|
+
values: [ 'contained' ]
|
|
1011
|
+
},
|
|
985
1012
|
width: {
|
|
986
1013
|
description: 'Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.',
|
|
987
1014
|
type: 'variant',
|
|
@@ -1056,7 +1083,61 @@ const theme = {
|
|
|
1056
1083
|
}
|
|
1057
1084
|
},
|
|
1058
1085
|
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } },
|
|
1059
|
-
{ if: { width: 'responsive' }, tokens: { width: '100%' } }
|
|
1086
|
+
{ if: { width: 'responsive' }, tokens: { width: '100%' } },
|
|
1087
|
+
{
|
|
1088
|
+
if: { style: 'contained' },
|
|
1089
|
+
tokens: {
|
|
1090
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
1091
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1092
|
+
borderWidth: 0,
|
|
1093
|
+
height: 40
|
|
1094
|
+
}
|
|
1095
|
+
},
|
|
1096
|
+
{
|
|
1097
|
+
if: { hover: true, style: 'contained' },
|
|
1098
|
+
tokens: {
|
|
1099
|
+
backgroundColor: '#636c8c',
|
|
1100
|
+
color: '#ffffff',
|
|
1101
|
+
outerBorderWidth: 0
|
|
1102
|
+
}
|
|
1103
|
+
},
|
|
1104
|
+
{
|
|
1105
|
+
if: { selected: true, style: 'contained' },
|
|
1106
|
+
tokens: {
|
|
1107
|
+
backgroundColor: '#394056',
|
|
1108
|
+
color: '#ffffff',
|
|
1109
|
+
outerBorderWidth: 0
|
|
1110
|
+
}
|
|
1111
|
+
},
|
|
1112
|
+
{
|
|
1113
|
+
if: { focus: true, style: 'contained' },
|
|
1114
|
+
tokens: {
|
|
1115
|
+
borderColor: '#636c8c',
|
|
1116
|
+
borderWidth: 1,
|
|
1117
|
+
outerBorderWidth: 0
|
|
1118
|
+
}
|
|
1119
|
+
},
|
|
1120
|
+
{
|
|
1121
|
+
if: { hover: true, selected: true, style: 'contained' },
|
|
1122
|
+
tokens: {
|
|
1123
|
+
backgroundColor: '#636c8c',
|
|
1124
|
+
color: '#ffffff',
|
|
1125
|
+
outerBorderWidth: 0
|
|
1126
|
+
}
|
|
1127
|
+
},
|
|
1128
|
+
{
|
|
1129
|
+
if: { focus: true, selected: true, style: 'contained' },
|
|
1130
|
+
tokens: {
|
|
1131
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
1132
|
+
color: '#394056',
|
|
1133
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1134
|
+
outerBorderWidth: 0
|
|
1135
|
+
}
|
|
1136
|
+
},
|
|
1137
|
+
{
|
|
1138
|
+
if: { pressed: true, style: 'contained' },
|
|
1139
|
+
tokens: { backgroundColor: '#2b3145', color: '#ffffff' }
|
|
1140
|
+
}
|
|
1060
1141
|
],
|
|
1061
1142
|
tokens: {
|
|
1062
1143
|
alignSelf: 'flex-start',
|
|
@@ -1114,7 +1195,14 @@ const theme = {
|
|
|
1114
1195
|
appearances: {
|
|
1115
1196
|
background: {
|
|
1116
1197
|
type: 'variant',
|
|
1117
|
-
values: [
|
|
1198
|
+
values: [
|
|
1199
|
+
'alternative',
|
|
1200
|
+
'subtle',
|
|
1201
|
+
'grid',
|
|
1202
|
+
'image',
|
|
1203
|
+
'feature',
|
|
1204
|
+
'plain'
|
|
1205
|
+
]
|
|
1118
1206
|
},
|
|
1119
1207
|
borderRadius: { type: 'variant', values: [ 'none', 'small', 'large' ] },
|
|
1120
1208
|
focus: {
|
|
@@ -1216,6 +1304,10 @@ const theme = {
|
|
|
1216
1304
|
if: { background: 'feature' },
|
|
1217
1305
|
tokens: { backgroundColor: '#ffffff', borderColor: '#f39d80' }
|
|
1218
1306
|
},
|
|
1307
|
+
{
|
|
1308
|
+
if: { background: 'plain' },
|
|
1309
|
+
tokens: { backgroundColor: '#fdfcf6', borderWidth: 0 }
|
|
1310
|
+
},
|
|
1219
1311
|
{
|
|
1220
1312
|
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
1221
1313
|
tokens: {
|
|
@@ -2600,6 +2692,31 @@ const theme = {
|
|
|
2600
2692
|
paddingTop: 0
|
|
2601
2693
|
}
|
|
2602
2694
|
},
|
|
2695
|
+
FileUpload: {
|
|
2696
|
+
appearances: {},
|
|
2697
|
+
rules: [],
|
|
2698
|
+
tokens: {
|
|
2699
|
+
buttonBackgroundColor: null,
|
|
2700
|
+
buttonBorderColor: null,
|
|
2701
|
+
buttonBorderRadius: null,
|
|
2702
|
+
buttonBorderWidth: null,
|
|
2703
|
+
buttonHeight: null,
|
|
2704
|
+
buttonMinWidth: null,
|
|
2705
|
+
buttonTextColor: null,
|
|
2706
|
+
buttonWidth: null,
|
|
2707
|
+
notificationBackgroundColor: null,
|
|
2708
|
+
notificationBorderColor: null,
|
|
2709
|
+
notificationBorderRadius: null,
|
|
2710
|
+
notificationDismissButtonGap: null,
|
|
2711
|
+
notificationDismissIcon: null,
|
|
2712
|
+
notificationDismissIconColor: null,
|
|
2713
|
+
notificationIcon: null,
|
|
2714
|
+
notificationIconColor: null,
|
|
2715
|
+
notificationIconGap: null,
|
|
2716
|
+
notificationIconSize: null,
|
|
2717
|
+
notificationTextColor: '#ffffff'
|
|
2718
|
+
}
|
|
2719
|
+
},
|
|
2603
2720
|
Footnote: {
|
|
2604
2721
|
appearances: {
|
|
2605
2722
|
viewport: {
|
|
@@ -3221,7 +3338,7 @@ const theme = {
|
|
|
3221
3338
|
width: null
|
|
3222
3339
|
}
|
|
3223
3340
|
},
|
|
3224
|
-
Image: { appearances: {}, rules: [], tokens: { borderRadius:
|
|
3341
|
+
Image: { appearances: {}, rules: [], tokens: { borderRadius: null } },
|
|
3225
3342
|
InputLabel: {
|
|
3226
3343
|
appearances: {},
|
|
3227
3344
|
rules: [],
|
|
@@ -3848,14 +3965,20 @@ const theme = {
|
|
|
3848
3965
|
],
|
|
3849
3966
|
tokens: {
|
|
3850
3967
|
buttonDirection: 'row',
|
|
3968
|
+
contentMarginBottom: 32,
|
|
3969
|
+
contentMarginLeft: 16,
|
|
3970
|
+
contentMarginRight: 16,
|
|
3971
|
+
contentMarginTop: 24,
|
|
3972
|
+
contentPaddingLeft: 16,
|
|
3973
|
+
contentPaddingRight: 16,
|
|
3851
3974
|
headerFontColor: '#394056',
|
|
3852
3975
|
headerFontName: 'SofiaPro',
|
|
3853
3976
|
headerFontSize: 24,
|
|
3854
3977
|
headerFontWeight: '700',
|
|
3855
3978
|
headerLineHeight: 1.28571428571,
|
|
3856
|
-
maxHeightSize:
|
|
3979
|
+
maxHeightSize: 480,
|
|
3857
3980
|
maxWidthSize: 0,
|
|
3858
|
-
minHeight:
|
|
3981
|
+
minHeight: 0,
|
|
3859
3982
|
minWidth: 320,
|
|
3860
3983
|
subHeaderFontName: 'SofiaPro',
|
|
3861
3984
|
subHeaderFontSize: 18,
|
|
@@ -5582,6 +5705,7 @@ const theme = {
|
|
|
5582
5705
|
},
|
|
5583
5706
|
Select: {
|
|
5584
5707
|
appearances: {
|
|
5708
|
+
active: { type: 'state', values: [ true ] },
|
|
5585
5709
|
focus: {
|
|
5586
5710
|
description: 'Focus states for some input elements are well supported across web, RN, ios and android',
|
|
5587
5711
|
type: 'state',
|
|
@@ -5637,6 +5761,10 @@ const theme = {
|
|
|
5637
5761
|
color: '#9c9faa',
|
|
5638
5762
|
icon: null
|
|
5639
5763
|
}
|
|
5764
|
+
},
|
|
5765
|
+
{
|
|
5766
|
+
if: { active: true },
|
|
5767
|
+
tokens: { icon: PaletteIconChevronUp }
|
|
5640
5768
|
}
|
|
5641
5769
|
],
|
|
5642
5770
|
tokens: {
|
|
@@ -6084,6 +6212,7 @@ const theme = {
|
|
|
6084
6212
|
icon: PaletteIconWarningError,
|
|
6085
6213
|
iconColor: '#394056',
|
|
6086
6214
|
iconGradient: null,
|
|
6215
|
+
marginLeft: 8,
|
|
6087
6216
|
paddingBottom: 0,
|
|
6088
6217
|
paddingLeft: 0,
|
|
6089
6218
|
paddingRight: 0,
|
|
@@ -7759,6 +7888,6 @@ const theme = {
|
|
|
7759
7888
|
tokens: { size: 80 }
|
|
7760
7889
|
}
|
|
7761
7890
|
},
|
|
7762
|
-
metadata: { name: 'theme-public-mobile', themeTokensVersion: '2.
|
|
7891
|
+
metadata: { name: 'theme-public-mobile', themeTokensVersion: '2.63.0' }
|
|
7763
7892
|
}
|
|
7764
7893
|
export default theme
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-public-mobile",
|
|
3
|
-
"version": "2.
|
|
3
|
+
"version": "2.29.0",
|
|
4
4
|
"description": "Public Mobile theme",
|
|
5
5
|
"keywords": [
|
|
6
6
|
"public mobile"
|
|
@@ -14,11 +14,11 @@
|
|
|
14
14
|
"theme.json"
|
|
15
15
|
],
|
|
16
16
|
"devDependencies": {
|
|
17
|
-
"@telus-uds/palette-public-mobile": "^1.
|
|
18
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
17
|
+
"@telus-uds/palette-public-mobile": "^1.13.0",
|
|
18
|
+
"@telus-uds/system-theme-tokens": "^2.63.0"
|
|
19
19
|
},
|
|
20
20
|
"peerDependencies": {
|
|
21
|
-
"@telus-uds/palette-public-mobile": "^1.
|
|
21
|
+
"@telus-uds/palette-public-mobile": "^1.13.0"
|
|
22
22
|
},
|
|
23
23
|
"repository": {
|
|
24
24
|
"type": "git",
|
package/theme.json
CHANGED
|
@@ -1157,7 +1157,7 @@
|
|
|
1157
1157
|
"borderRadius": "{palette.radius.radius8}",
|
|
1158
1158
|
"borderWidth": "{palette.border.border1}",
|
|
1159
1159
|
"color": "{palette.color.slate100}",
|
|
1160
|
-
"dividerColor": "{palette.color.
|
|
1160
|
+
"dividerColor": "{palette.color.slate25}",
|
|
1161
1161
|
"fontName": "{palette.fontName.SofiaPro}",
|
|
1162
1162
|
"fontSize": "{palette.fontSize.size18}",
|
|
1163
1163
|
"fontWeight": "{palette.fontWeight.weight400}",
|
|
@@ -1191,6 +1191,11 @@
|
|
|
1191
1191
|
},
|
|
1192
1192
|
"ButtonGroup": {
|
|
1193
1193
|
"appearances": {
|
|
1194
|
+
"style": {
|
|
1195
|
+
"description": "Configure `style` variant for `ButtonGroup`",
|
|
1196
|
+
"type": "variant",
|
|
1197
|
+
"values": ["contained"]
|
|
1198
|
+
},
|
|
1194
1199
|
"viewport": "{appearances.system.viewport}",
|
|
1195
1200
|
"width": {
|
|
1196
1201
|
"description": "Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.",
|
|
@@ -1204,6 +1209,7 @@
|
|
|
1204
1209
|
"viewport": ["lg", "xl"]
|
|
1205
1210
|
},
|
|
1206
1211
|
"tokens": {
|
|
1212
|
+
"gap": "{palette.size.size3}",
|
|
1207
1213
|
"space": "{system.integer.3}"
|
|
1208
1214
|
}
|
|
1209
1215
|
},
|
|
@@ -1216,15 +1222,31 @@
|
|
|
1216
1222
|
"alignItems": "{system.flexAlign.stretch}",
|
|
1217
1223
|
"direction": "{system.direction.column}"
|
|
1218
1224
|
}
|
|
1225
|
+
},
|
|
1226
|
+
{
|
|
1227
|
+
"if": {
|
|
1228
|
+
"style": "contained"
|
|
1229
|
+
},
|
|
1230
|
+
"tokens": {
|
|
1231
|
+
"backgroundColor": "{palette.color.link25}",
|
|
1232
|
+
"borderRadius": "{palette.radius.radius12}",
|
|
1233
|
+
"gap": "{palette.size.size2}",
|
|
1234
|
+
"padding": "{palette.size.size8}",
|
|
1235
|
+
"space": "{system.integer.2}"
|
|
1236
|
+
}
|
|
1219
1237
|
}
|
|
1220
1238
|
],
|
|
1221
1239
|
"tokens": {
|
|
1222
1240
|
"alignItems": "{system.flexAlign.center}",
|
|
1241
|
+
"backgroundColor": "{system.color.none}",
|
|
1242
|
+
"borderRadius": "{system.radius.zero}",
|
|
1223
1243
|
"direction": "{system.direction.row}",
|
|
1224
1244
|
"fieldSpace": "{system.integer.2}",
|
|
1225
1245
|
"flexGrow": "{system.integer.0}",
|
|
1226
1246
|
"flexShrink": "{system.integer.0}",
|
|
1247
|
+
"gap": "{palette.size.size2}",
|
|
1227
1248
|
"justifyContent": "{system.flexJustifyContent.flexStart}",
|
|
1249
|
+
"padding": "{system.size.zero}",
|
|
1228
1250
|
"space": "{system.integer.1}"
|
|
1229
1251
|
}
|
|
1230
1252
|
},
|
|
@@ -1236,6 +1258,11 @@
|
|
|
1236
1258
|
"inactive": "{appearances.ButtonGroupItem.inactive}",
|
|
1237
1259
|
"pressed": "{appearances.ButtonGroupItem.pressed}",
|
|
1238
1260
|
"selected": "{appearances.ButtonGroupItem.selected}",
|
|
1261
|
+
"style": {
|
|
1262
|
+
"description": "Configure `style` variant for `ButtonGroupItem`",
|
|
1263
|
+
"type": "variant",
|
|
1264
|
+
"values": ["contained"]
|
|
1265
|
+
},
|
|
1239
1266
|
"width": {
|
|
1240
1267
|
"description": "Available in default, or responsive. Default-width expands based on content. Responsive automatically applies full-width when is displayed on the XS viewport.",
|
|
1241
1268
|
"type": "variant",
|
|
@@ -1344,6 +1371,85 @@
|
|
|
1344
1371
|
"tokens": {
|
|
1345
1372
|
"width": "{system.size.full}"
|
|
1346
1373
|
}
|
|
1374
|
+
},
|
|
1375
|
+
{
|
|
1376
|
+
"if": {
|
|
1377
|
+
"style": "contained"
|
|
1378
|
+
},
|
|
1379
|
+
"tokens": {
|
|
1380
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
1381
|
+
"borderColor": "{palette.color.transparent}",
|
|
1382
|
+
"borderWidth": "{system.border.zero}",
|
|
1383
|
+
"height": "{palette.size.size40}"
|
|
1384
|
+
}
|
|
1385
|
+
},
|
|
1386
|
+
{
|
|
1387
|
+
"if": {
|
|
1388
|
+
"hover": true,
|
|
1389
|
+
"style": "contained"
|
|
1390
|
+
},
|
|
1391
|
+
"tokens": {
|
|
1392
|
+
"backgroundColor": "{palette.color.link100}",
|
|
1393
|
+
"color": "{palette.color.white}",
|
|
1394
|
+
"outerBorderWidth": "{palette.border.none}"
|
|
1395
|
+
}
|
|
1396
|
+
},
|
|
1397
|
+
{
|
|
1398
|
+
"if": {
|
|
1399
|
+
"selected": true,
|
|
1400
|
+
"style": "contained"
|
|
1401
|
+
},
|
|
1402
|
+
"tokens": {
|
|
1403
|
+
"backgroundColor": "{palette.color.slate100}",
|
|
1404
|
+
"color": "{palette.color.white}",
|
|
1405
|
+
"outerBorderWidth": "{palette.border.none}"
|
|
1406
|
+
}
|
|
1407
|
+
},
|
|
1408
|
+
{
|
|
1409
|
+
"if": {
|
|
1410
|
+
"focus": true,
|
|
1411
|
+
"style": "contained"
|
|
1412
|
+
},
|
|
1413
|
+
"tokens": {
|
|
1414
|
+
"borderColor": "{palette.color.link100}",
|
|
1415
|
+
"borderWidth": "{palette.border.border1}",
|
|
1416
|
+
"outerBorderWidth": "{palette.border.none}"
|
|
1417
|
+
}
|
|
1418
|
+
},
|
|
1419
|
+
{
|
|
1420
|
+
"if": {
|
|
1421
|
+
"hover": true,
|
|
1422
|
+
"selected": true,
|
|
1423
|
+
"style": "contained"
|
|
1424
|
+
},
|
|
1425
|
+
"tokens": {
|
|
1426
|
+
"backgroundColor": "{palette.color.link100}",
|
|
1427
|
+
"color": "{palette.color.white}",
|
|
1428
|
+
"outerBorderWidth": "{palette.border.none}"
|
|
1429
|
+
}
|
|
1430
|
+
},
|
|
1431
|
+
{
|
|
1432
|
+
"if": {
|
|
1433
|
+
"focus": true,
|
|
1434
|
+
"selected": true,
|
|
1435
|
+
"style": "contained"
|
|
1436
|
+
},
|
|
1437
|
+
"tokens": {
|
|
1438
|
+
"backgroundColor": "{palette.color.transparent}",
|
|
1439
|
+
"color": "{palette.color.slate100}",
|
|
1440
|
+
"outerBorderColor": "{palette.color.transparent}",
|
|
1441
|
+
"outerBorderWidth": "{palette.border.none}"
|
|
1442
|
+
}
|
|
1443
|
+
},
|
|
1444
|
+
{
|
|
1445
|
+
"if": {
|
|
1446
|
+
"pressed": true,
|
|
1447
|
+
"style": "contained"
|
|
1448
|
+
},
|
|
1449
|
+
"tokens": {
|
|
1450
|
+
"backgroundColor": "{palette.color.slate120}",
|
|
1451
|
+
"color": "{palette.color.white}"
|
|
1452
|
+
}
|
|
1347
1453
|
}
|
|
1348
1454
|
],
|
|
1349
1455
|
"tokens": {
|
|
@@ -1420,7 +1526,7 @@
|
|
|
1420
1526
|
"appearances": {
|
|
1421
1527
|
"background": {
|
|
1422
1528
|
"type": "variant",
|
|
1423
|
-
"values": ["alternative", "subtle", "grid", "image", "feature"]
|
|
1529
|
+
"values": ["alternative", "subtle", "grid", "image", "feature", "plain"]
|
|
1424
1530
|
},
|
|
1425
1531
|
"borderRadius": {
|
|
1426
1532
|
"type": "variant",
|
|
@@ -1574,6 +1680,15 @@
|
|
|
1574
1680
|
"borderColor": "{palette.color.apricot100}"
|
|
1575
1681
|
}
|
|
1576
1682
|
},
|
|
1683
|
+
{
|
|
1684
|
+
"if": {
|
|
1685
|
+
"background": "plain"
|
|
1686
|
+
},
|
|
1687
|
+
"tokens": {
|
|
1688
|
+
"backgroundColor": "{palette.color.sand25}",
|
|
1689
|
+
"borderWidth": "{palette.border.none}"
|
|
1690
|
+
}
|
|
1691
|
+
},
|
|
1577
1692
|
{
|
|
1578
1693
|
"if": {
|
|
1579
1694
|
"viewport": ["md", "lg", "xl"]
|
|
@@ -3223,6 +3338,31 @@
|
|
|
3223
3338
|
"paddingTop": "{system.size.zero}"
|
|
3224
3339
|
}
|
|
3225
3340
|
},
|
|
3341
|
+
"FileUpload": {
|
|
3342
|
+
"appearances": {},
|
|
3343
|
+
"rules": [],
|
|
3344
|
+
"tokens": {
|
|
3345
|
+
"buttonBackgroundColor": "{system.color.none}",
|
|
3346
|
+
"buttonBorderColor": "{system.color.none}",
|
|
3347
|
+
"buttonBorderRadius": "{system.radius.none}",
|
|
3348
|
+
"buttonBorderWidth": "{system.border.none}",
|
|
3349
|
+
"buttonHeight": "{system.size.none}",
|
|
3350
|
+
"buttonMinWidth": "{system.size.none}",
|
|
3351
|
+
"buttonTextColor": "{system.color.none}",
|
|
3352
|
+
"buttonWidth": "{system.size.none}",
|
|
3353
|
+
"notificationBackgroundColor": "{system.color.none}",
|
|
3354
|
+
"notificationBorderColor": "{system.color.none}",
|
|
3355
|
+
"notificationBorderRadius": "{system.radius.none}",
|
|
3356
|
+
"notificationDismissButtonGap": "{system.size.none}",
|
|
3357
|
+
"notificationDismissIcon": "{system.icon.none}",
|
|
3358
|
+
"notificationDismissIconColor": "{system.color.none}",
|
|
3359
|
+
"notificationIcon": "{system.icon.none}",
|
|
3360
|
+
"notificationIconColor": "{system.color.none}",
|
|
3361
|
+
"notificationIconGap": "{system.size.none}",
|
|
3362
|
+
"notificationIconSize": "{system.size.none}",
|
|
3363
|
+
"notificationTextColor": "{palette.color.white}"
|
|
3364
|
+
}
|
|
3365
|
+
},
|
|
3226
3366
|
"Footnote": {
|
|
3227
3367
|
"appearances": {
|
|
3228
3368
|
"viewport": "{appearances.system.viewport}"
|
|
@@ -4205,7 +4345,7 @@
|
|
|
4205
4345
|
"appearances": {},
|
|
4206
4346
|
"rules": [],
|
|
4207
4347
|
"tokens": {
|
|
4208
|
-
"borderRadius": "{
|
|
4348
|
+
"borderRadius": "{system.radius.none}"
|
|
4209
4349
|
}
|
|
4210
4350
|
},
|
|
4211
4351
|
"InputLabel": {
|
|
@@ -5015,14 +5155,20 @@
|
|
|
5015
5155
|
],
|
|
5016
5156
|
"tokens": {
|
|
5017
5157
|
"buttonDirection": "{system.direction.row}",
|
|
5158
|
+
"contentMarginBottom": "{palette.size.size32}",
|
|
5159
|
+
"contentMarginLeft": "{palette.size.size16}",
|
|
5160
|
+
"contentMarginRight": "{palette.size.size16}",
|
|
5161
|
+
"contentMarginTop": "{palette.size.size24}",
|
|
5162
|
+
"contentPaddingLeft": "{palette.size.size16}",
|
|
5163
|
+
"contentPaddingRight": "{palette.size.size16}",
|
|
5018
5164
|
"headerFontColor": "{palette.color.slate100}",
|
|
5019
5165
|
"headerFontName": "{palette.fontName.SofiaPro}",
|
|
5020
5166
|
"headerFontSize": "{palette.fontSize.size24}",
|
|
5021
5167
|
"headerFontWeight": "{palette.fontWeight.weight700}",
|
|
5022
5168
|
"headerLineHeight": "{palette.lineHeight.ratio9to7}",
|
|
5023
|
-
"maxHeightSize": "{
|
|
5169
|
+
"maxHeightSize": "{palette.size.size480}",
|
|
5024
5170
|
"maxWidthSize": "{system.size.zero}",
|
|
5025
|
-
"minHeight": "{
|
|
5171
|
+
"minHeight": "{system.size.zero}",
|
|
5026
5172
|
"minWidth": "{palette.size.size320}",
|
|
5027
5173
|
"subHeaderFontName": "{palette.fontName.SofiaPro}",
|
|
5028
5174
|
"subHeaderFontSize": "{palette.fontSize.size18}",
|
|
@@ -6942,6 +7088,7 @@
|
|
|
6942
7088
|
},
|
|
6943
7089
|
"Select": {
|
|
6944
7090
|
"appearances": {
|
|
7091
|
+
"active": "{appearances.Select.active}",
|
|
6945
7092
|
"focus": "{appearances.Select.focus}",
|
|
6946
7093
|
"hover": "{appearances.Select.hover}",
|
|
6947
7094
|
"inactive": "{appearances.Select.inactive}",
|
|
@@ -6995,6 +7142,14 @@
|
|
|
6995
7142
|
"color": "{palette.color.slate50}",
|
|
6996
7143
|
"icon": "{system.icon.none}"
|
|
6997
7144
|
}
|
|
7145
|
+
},
|
|
7146
|
+
{
|
|
7147
|
+
"if": {
|
|
7148
|
+
"active": true
|
|
7149
|
+
},
|
|
7150
|
+
"tokens": {
|
|
7151
|
+
"icon": "{palette.icon.ChevronUp}"
|
|
7152
|
+
}
|
|
6998
7153
|
}
|
|
6999
7154
|
],
|
|
7000
7155
|
"tokens": {
|
|
@@ -7562,6 +7717,7 @@
|
|
|
7562
7717
|
"icon": "{palette.icon.WarningError}",
|
|
7563
7718
|
"iconColor": "{palette.color.slate100}",
|
|
7564
7719
|
"iconGradient": "{system.gradient.none}",
|
|
7720
|
+
"marginLeft": "{palette.size.size8}",
|
|
7565
7721
|
"paddingBottom": "{palette.size.size0}",
|
|
7566
7722
|
"paddingLeft": "{palette.size.size0}",
|
|
7567
7723
|
"paddingRight": "{palette.size.size0}",
|