@telus-uds/theme-koodo 5.19.0 → 5.21.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 +68 -1
- package/build/android/CardGroup.json +4 -0
- package/build/android/DownloadApp.json +41 -0
- package/build/android/FileUpload.json +65 -0
- package/build/android/Icon.json +3 -3
- package/build/android/Link.json +1 -1
- package/build/android/MultiSelectFilter.json +8 -2
- package/build/android/Status.json +1 -0
- package/build/android/TabBar.json +40 -0
- package/build/android/TabBarItem.json +119 -0
- package/build/android/ToggleSwitch.json +6 -6
- package/build/android/schema.json +1463 -761
- package/build/android/theme.json +391 -17
- package/build/ios/ButtonDropdown.json +3 -3
- package/build/ios/ButtonGroup.json +31 -0
- package/build/ios/ButtonGroupItem.json +68 -1
- package/build/ios/CardGroup.json +4 -0
- package/build/ios/DownloadApp.json +41 -0
- package/build/ios/FileUpload.json +65 -0
- package/build/ios/Icon.json +3 -3
- package/build/ios/Link.json +1 -1
- package/build/ios/MultiSelectFilter.json +8 -2
- package/build/ios/Status.json +1 -0
- package/build/ios/TabBar.json +40 -0
- package/build/ios/TabBarItem.json +119 -0
- package/build/ios/ToggleSwitch.json +6 -6
- package/build/ios/schema.json +1463 -761
- package/build/ios/theme.json +391 -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 +53 -3
- package/build/rn/Callout.js +1 -1
- package/build/rn/Card.js +1 -1
- package/build/rn/CardGroup.js +5 -1
- package/build/rn/Carousel.js +1 -1
- package/build/rn/CarouselTabsPanelItem.js +1 -1
- package/build/rn/CarouselThumbnail.js +1 -1
- package/build/rn/Checkbox.js +1 -1
- package/build/rn/CheckboxCard.js +1 -1
- package/build/rn/CheckboxCardGroup.js +1 -1
- package/build/rn/CheckboxGroup.js +1 -1
- package/build/rn/ChevronLink.js +1 -1
- package/build/rn/ColourToggle.js +1 -1
- package/build/rn/Countdown.js +1 -1
- package/build/rn/DatePicker.js +1 -1
- package/build/rn/Disclaimer.js +1 -1
- package/build/rn/Divider.js +1 -1
- package/build/rn/DownloadApp.js +62 -0
- 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 +1 -1
- package/build/rn/InputLabel.js +1 -1
- package/build/rn/InputSupports.js +1 -1
- package/build/rn/Link.js +2 -2
- 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 +2 -1
- package/build/rn/StepTracker.js +1 -1
- package/build/rn/StoryCard.js +1 -1
- package/build/rn/TabBar.js +34 -0
- package/build/rn/TabBarItem.js +67 -0
- package/build/rn/Table.js +1 -1
- package/build/rn/Tabs.js +1 -1
- package/build/rn/TabsItem.js +1 -1
- package/build/rn/Tags.js +1 -1
- package/build/rn/TagsItem.js +1 -1
- package/build/rn/TermsAndConditions.js +1 -1
- package/build/rn/Testimonial.js +1 -1
- package/build/rn/TextArea.js +1 -1
- package/build/rn/TextInput.js +1 -1
- package/build/rn/Timeline.js +1 -1
- package/build/rn/Toast.js +1 -1
- package/build/rn/ToggleSwitch.js +5 -5
- 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 +1463 -761
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +262 -14
- 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 +53 -3
- package/build/web/Callout.js +1 -1
- package/build/web/Card.js +1 -1
- package/build/web/CardGroup.js +5 -1
- package/build/web/Carousel.js +1 -1
- package/build/web/CarouselTabsPanelItem.js +1 -1
- package/build/web/CarouselThumbnail.js +1 -1
- package/build/web/Checkbox.js +1 -1
- package/build/web/CheckboxCard.js +1 -1
- package/build/web/CheckboxCardGroup.js +1 -1
- package/build/web/CheckboxGroup.js +1 -1
- package/build/web/ChevronLink.js +1 -1
- package/build/web/ColourToggle.js +1 -1
- package/build/web/Countdown.js +1 -1
- package/build/web/DatePicker.js +1 -1
- package/build/web/Disclaimer.js +1 -1
- package/build/web/Divider.js +1 -1
- package/build/web/DownloadApp.js +62 -0
- 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 +1 -1
- package/build/web/InputLabel.js +1 -1
- package/build/web/InputSupports.js +1 -1
- package/build/web/Link.js +2 -2
- 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 +2 -1
- package/build/web/StepTracker.js +1 -1
- package/build/web/StoryCard.js +1 -1
- package/build/web/TabBar.js +34 -0
- package/build/web/TabBarItem.js +67 -0
- package/build/web/Table.js +1 -1
- package/build/web/Tabs.js +1 -1
- package/build/web/TabsItem.js +1 -1
- package/build/web/Tags.js +1 -1
- package/build/web/TagsItem.js +1 -1
- package/build/web/TermsAndConditions.js +1 -1
- package/build/web/Testimonial.js +1 -1
- package/build/web/TextArea.js +1 -1
- package/build/web/TextInput.js +1 -1
- package/build/web/Timeline.js +1 -1
- package/build/web/Toast.js +1 -1
- package/build/web/ToggleSwitch.js +5 -5
- 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 +5 -1
- package/build/web/schema.json +1463 -761
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +262 -14
- package/package.json +4 -4
- package/theme.json +283 -8
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 Wed, 25 Sep 2024 16:55:50 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -15,6 +15,10 @@ import PaletteIconCheck from '@telus-uds/palette-koodo/build/rn/icons/Check'
|
|
|
15
15
|
import PaletteIconPause from '@telus-uds/palette-koodo/build/rn/icons/Pause'
|
|
16
16
|
import PaletteIconPlay from '@telus-uds/palette-koodo/build/rn/icons/Play'
|
|
17
17
|
import PaletteIconChevronLeft from '@telus-uds/palette-koodo/build/rn/icons/ChevronLeft'
|
|
18
|
+
import PaletteIconAndroidEN from '@telus-uds/palette-koodo/build/rn/icons/AndroidEN'
|
|
19
|
+
import PaletteIconAndroidFR from '@telus-uds/palette-koodo/build/rn/icons/AndroidFR'
|
|
20
|
+
import PaletteIconIOSEN from '@telus-uds/palette-koodo/build/rn/icons/IOSEN'
|
|
21
|
+
import PaletteIconIOSFR from '@telus-uds/palette-koodo/build/rn/icons/IOSFR'
|
|
18
22
|
import PaletteIconCheckCircleFilled from '@telus-uds/palette-koodo/build/rn/icons/CheckCircleFilled'
|
|
19
23
|
import PaletteIconClose from '@telus-uds/palette-koodo/build/rn/icons/Close'
|
|
20
24
|
import PaletteIconAdd from '@telus-uds/palette-koodo/build/rn/icons/Add'
|
|
@@ -971,7 +975,7 @@ const theme = {
|
|
|
971
975
|
borderRadius: 4,
|
|
972
976
|
borderWidth: 1,
|
|
973
977
|
color: '#000000',
|
|
974
|
-
dividerColor: '#
|
|
978
|
+
dividerColor: '#c9c8c8',
|
|
975
979
|
fontName: 'StagSans',
|
|
976
980
|
fontSize: 14,
|
|
977
981
|
fontWeight: '600',
|
|
@@ -1005,6 +1009,11 @@ const theme = {
|
|
|
1005
1009
|
},
|
|
1006
1010
|
ButtonGroup: {
|
|
1007
1011
|
appearances: {
|
|
1012
|
+
style: {
|
|
1013
|
+
description: 'Configure `style` variant for `ButtonGroup`',
|
|
1014
|
+
type: 'variant',
|
|
1015
|
+
values: [ 'contained' ]
|
|
1016
|
+
},
|
|
1008
1017
|
viewport: {
|
|
1009
1018
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
1010
1019
|
type: 'state',
|
|
@@ -1017,7 +1026,10 @@ const theme = {
|
|
|
1017
1026
|
}
|
|
1018
1027
|
},
|
|
1019
1028
|
rules: [
|
|
1020
|
-
{
|
|
1029
|
+
{
|
|
1030
|
+
if: { viewport: [ 'xs', 'sm' ] },
|
|
1031
|
+
tokens: { gap: 3, space: 2 }
|
|
1032
|
+
},
|
|
1021
1033
|
{
|
|
1022
1034
|
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
1023
1035
|
tokens: { space: 3 }
|
|
@@ -1025,15 +1037,28 @@ const theme = {
|
|
|
1025
1037
|
{
|
|
1026
1038
|
if: { viewport: [ 'xs' ], width: 'responsive' },
|
|
1027
1039
|
tokens: { alignItems: 'stretch', direction: 'column' }
|
|
1040
|
+
},
|
|
1041
|
+
{
|
|
1042
|
+
if: { style: 'contained' },
|
|
1043
|
+
tokens: {
|
|
1044
|
+
backgroundColor: 'rgba(0, 0, 0, 0.1)',
|
|
1045
|
+
borderRadius: 8,
|
|
1046
|
+
padding: 8,
|
|
1047
|
+
space: 2
|
|
1048
|
+
}
|
|
1028
1049
|
}
|
|
1029
1050
|
],
|
|
1030
1051
|
tokens: {
|
|
1031
1052
|
alignItems: 'center',
|
|
1053
|
+
backgroundColor: null,
|
|
1054
|
+
borderRadius: 0,
|
|
1032
1055
|
direction: 'row',
|
|
1033
1056
|
fieldSpace: 2,
|
|
1034
1057
|
flexGrow: 0,
|
|
1035
1058
|
flexShrink: 0,
|
|
1059
|
+
gap: 2,
|
|
1036
1060
|
justifyContent: 'flex-start',
|
|
1061
|
+
padding: 0,
|
|
1037
1062
|
space: 2
|
|
1038
1063
|
}
|
|
1039
1064
|
},
|
|
@@ -1054,7 +1079,7 @@ const theme = {
|
|
|
1054
1079
|
iconPosition: {
|
|
1055
1080
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
1056
1081
|
type: 'state',
|
|
1057
|
-
values: [ 'left', 'right' ]
|
|
1082
|
+
values: [ 'left', 'right', 'inline' ]
|
|
1058
1083
|
},
|
|
1059
1084
|
inactive: {
|
|
1060
1085
|
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
@@ -1071,6 +1096,11 @@ const theme = {
|
|
|
1071
1096
|
type: 'state',
|
|
1072
1097
|
values: [ true ]
|
|
1073
1098
|
},
|
|
1099
|
+
style: {
|
|
1100
|
+
description: 'Configure `style` variant for `ButtonGroupItem`',
|
|
1101
|
+
type: 'variant',
|
|
1102
|
+
values: [ 'contained' ]
|
|
1103
|
+
},
|
|
1074
1104
|
width: {
|
|
1075
1105
|
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
1106
|
type: 'variant',
|
|
@@ -1123,7 +1153,56 @@ const theme = {
|
|
|
1123
1153
|
}
|
|
1124
1154
|
},
|
|
1125
1155
|
{ if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } },
|
|
1126
|
-
{ if: { width: 'responsive' }, tokens: { width: '100%' } }
|
|
1156
|
+
{ if: { width: 'responsive' }, tokens: { width: '100%' } },
|
|
1157
|
+
{
|
|
1158
|
+
if: { style: 'contained' },
|
|
1159
|
+
tokens: {
|
|
1160
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
1161
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
1162
|
+
borderWidth: 0,
|
|
1163
|
+
height: 40
|
|
1164
|
+
}
|
|
1165
|
+
},
|
|
1166
|
+
{
|
|
1167
|
+
if: { hover: true, style: 'contained' },
|
|
1168
|
+
tokens: {
|
|
1169
|
+
backgroundColor: '#404040',
|
|
1170
|
+
color: '#ffffff',
|
|
1171
|
+
outerBorderWidth: 0
|
|
1172
|
+
}
|
|
1173
|
+
},
|
|
1174
|
+
{
|
|
1175
|
+
if: { selected: true, style: 'contained' },
|
|
1176
|
+
tokens: {
|
|
1177
|
+
backgroundColor: '#7a3dfc',
|
|
1178
|
+
color: '#ffffff',
|
|
1179
|
+
outerBorderWidth: 0
|
|
1180
|
+
}
|
|
1181
|
+
},
|
|
1182
|
+
{
|
|
1183
|
+
if: { focus: true, style: 'contained' },
|
|
1184
|
+
tokens: {
|
|
1185
|
+
borderColor: '#000000',
|
|
1186
|
+
borderWidth: 1,
|
|
1187
|
+
outerBorderWidth: 0
|
|
1188
|
+
}
|
|
1189
|
+
},
|
|
1190
|
+
{
|
|
1191
|
+
if: { hover: true, selected: true, style: 'contained' },
|
|
1192
|
+
tokens: {
|
|
1193
|
+
backgroundColor: '#5b2bc2',
|
|
1194
|
+
color: '#ffffff',
|
|
1195
|
+
outerBorderWidth: 0
|
|
1196
|
+
}
|
|
1197
|
+
},
|
|
1198
|
+
{
|
|
1199
|
+
if: { focus: true, selected: true, style: 'contained' },
|
|
1200
|
+
tokens: { outerBorderColor: '#7a3dfc', outerBorderWidth: 1 }
|
|
1201
|
+
},
|
|
1202
|
+
{
|
|
1203
|
+
if: { pressed: true, style: 'contained' },
|
|
1204
|
+
tokens: { backgroundColor: '#404040', color: '#666666' }
|
|
1205
|
+
}
|
|
1127
1206
|
],
|
|
1128
1207
|
tokens: {
|
|
1129
1208
|
alignSelf: 'flex-start',
|
|
@@ -1482,6 +1561,10 @@ const theme = {
|
|
|
1482
1561
|
fieldSpace: 3,
|
|
1483
1562
|
outlineOffset: 8,
|
|
1484
1563
|
outlineWidth: 1,
|
|
1564
|
+
paddingBottom: 24,
|
|
1565
|
+
paddingLeft: 24,
|
|
1566
|
+
paddingRight: 24,
|
|
1567
|
+
paddingTop: 24,
|
|
1485
1568
|
showIcon: true,
|
|
1486
1569
|
space: 3
|
|
1487
1570
|
}
|
|
@@ -2374,6 +2457,56 @@ const theme = {
|
|
|
2374
2457
|
],
|
|
2375
2458
|
tokens: { color: '#c9c8c8', width: 1 }
|
|
2376
2459
|
},
|
|
2460
|
+
DownloadApp: {
|
|
2461
|
+
appearances: {
|
|
2462
|
+
focus: {
|
|
2463
|
+
description: "Currently only web has good support for this. Applies when an interactive component's focus handler is triggered, such as keyboard tabbing or selection.",
|
|
2464
|
+
platforms: [ 'rn', 'web' ],
|
|
2465
|
+
type: 'state',
|
|
2466
|
+
values: [ true, false ]
|
|
2467
|
+
},
|
|
2468
|
+
hover: {
|
|
2469
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2470
|
+
platforms: [ 'rn', 'web' ],
|
|
2471
|
+
type: 'state',
|
|
2472
|
+
values: [ true, false ]
|
|
2473
|
+
},
|
|
2474
|
+
pressed: {
|
|
2475
|
+
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
2476
|
+
type: 'state',
|
|
2477
|
+
values: [ true, false ]
|
|
2478
|
+
}
|
|
2479
|
+
},
|
|
2480
|
+
rules: [
|
|
2481
|
+
{
|
|
2482
|
+
if: { focus: true },
|
|
2483
|
+
tokens: { borderColor: '#000000', borderRadius: 4 }
|
|
2484
|
+
},
|
|
2485
|
+
{
|
|
2486
|
+
if: { hover: true },
|
|
2487
|
+
tokens: { borderColor: '#666666', borderRadius: 4 }
|
|
2488
|
+
},
|
|
2489
|
+
{
|
|
2490
|
+
if: { pressed: true },
|
|
2491
|
+
tokens: { borderColor: '#666666', borderRadius: 4 }
|
|
2492
|
+
},
|
|
2493
|
+
{
|
|
2494
|
+
if: { focus: true, pressed: true },
|
|
2495
|
+
tokens: { borderColor: '#666666', borderRadius: 4 }
|
|
2496
|
+
}
|
|
2497
|
+
],
|
|
2498
|
+
tokens: {
|
|
2499
|
+
androidENIcon: PaletteIconAndroidEN,
|
|
2500
|
+
androidFRIcon: PaletteIconAndroidFR,
|
|
2501
|
+
borderColor: 'rgba(0, 0, 0, 0)',
|
|
2502
|
+
borderGap: 2,
|
|
2503
|
+
borderRadius: 0,
|
|
2504
|
+
borderWidth: 1,
|
|
2505
|
+
iosENIcon: PaletteIconIOSEN,
|
|
2506
|
+
iosFRIcon: PaletteIconIOSFR,
|
|
2507
|
+
padding: 1
|
|
2508
|
+
}
|
|
2509
|
+
},
|
|
2377
2510
|
ExpandCollapse: {
|
|
2378
2511
|
appearances: {},
|
|
2379
2512
|
rules: [],
|
|
@@ -2705,6 +2838,31 @@ const theme = {
|
|
|
2705
2838
|
paddingTop: 0
|
|
2706
2839
|
}
|
|
2707
2840
|
},
|
|
2841
|
+
FileUpload: {
|
|
2842
|
+
appearances: {},
|
|
2843
|
+
rules: [],
|
|
2844
|
+
tokens: {
|
|
2845
|
+
buttonBackgroundColor: null,
|
|
2846
|
+
buttonBorderColor: null,
|
|
2847
|
+
buttonBorderRadius: null,
|
|
2848
|
+
buttonBorderWidth: null,
|
|
2849
|
+
buttonHeight: null,
|
|
2850
|
+
buttonMinWidth: null,
|
|
2851
|
+
buttonTextColor: null,
|
|
2852
|
+
buttonWidth: null,
|
|
2853
|
+
notificationBackgroundColor: null,
|
|
2854
|
+
notificationBorderColor: null,
|
|
2855
|
+
notificationBorderRadius: null,
|
|
2856
|
+
notificationDismissButtonGap: null,
|
|
2857
|
+
notificationDismissIcon: null,
|
|
2858
|
+
notificationDismissIconColor: null,
|
|
2859
|
+
notificationIcon: null,
|
|
2860
|
+
notificationIconColor: null,
|
|
2861
|
+
notificationIconGap: null,
|
|
2862
|
+
notificationIconSize: null,
|
|
2863
|
+
notificationTextColor: '#000000'
|
|
2864
|
+
}
|
|
2865
|
+
},
|
|
2708
2866
|
Footnote: {
|
|
2709
2867
|
appearances: {
|
|
2710
2868
|
viewport: {
|
|
@@ -2987,7 +3145,7 @@ const theme = {
|
|
|
2987
3145
|
{ if: { size: 'extraLarge' }, tokens: { size: 48 } },
|
|
2988
3146
|
{ if: { color: 'brand' }, tokens: { color: '#ff0076' } },
|
|
2989
3147
|
{ if: { color: 'subtle' }, tokens: { color: '#666666' } },
|
|
2990
|
-
{ if: { color: 'offer' }, tokens: { color: '#
|
|
3148
|
+
{ if: { color: 'offer' }, tokens: { color: '#7a3dfc' } },
|
|
2991
3149
|
{ if: { color: 'success' }, tokens: { color: '#1c7b2b' } },
|
|
2992
3150
|
{ if: { color: 'danger' }, tokens: { color: '#c9370b' } },
|
|
2993
3151
|
{ if: { color: 'warning' }, tokens: { color: '#c9370b' } },
|
|
@@ -3313,7 +3471,7 @@ const theme = {
|
|
|
3313
3471
|
iconPosition: {
|
|
3314
3472
|
description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
|
|
3315
3473
|
type: 'state',
|
|
3316
|
-
values: [ 'left', 'right' ]
|
|
3474
|
+
values: [ 'left', 'right', 'inline' ]
|
|
3317
3475
|
},
|
|
3318
3476
|
inverse: { type: 'variant', values: [ true ] },
|
|
3319
3477
|
pressed: {
|
|
@@ -3927,14 +4085,20 @@ const theme = {
|
|
|
3927
4085
|
],
|
|
3928
4086
|
tokens: {
|
|
3929
4087
|
buttonDirection: 'row',
|
|
4088
|
+
contentMarginBottom: 32,
|
|
4089
|
+
contentMarginLeft: 16,
|
|
4090
|
+
contentMarginRight: 16,
|
|
4091
|
+
contentMarginTop: 24,
|
|
4092
|
+
contentPaddingLeft: 16,
|
|
4093
|
+
contentPaddingRight: 16,
|
|
3930
4094
|
headerFontColor: '#000000',
|
|
3931
4095
|
headerFontName: 'StagSans',
|
|
3932
4096
|
headerFontSize: 24,
|
|
3933
4097
|
headerFontWeight: '700',
|
|
3934
4098
|
headerLineHeight: 1.33333333333,
|
|
3935
|
-
maxHeightSize:
|
|
4099
|
+
maxHeightSize: 480,
|
|
3936
4100
|
maxWidthSize: 0,
|
|
3937
|
-
minHeight:
|
|
4101
|
+
minHeight: 0,
|
|
3938
4102
|
minWidth: 320,
|
|
3939
4103
|
subHeaderFontName: 'StagSans',
|
|
3940
4104
|
subHeaderFontSize: 16,
|
|
@@ -6189,6 +6353,7 @@ const theme = {
|
|
|
6189
6353
|
icon: PaletteIconToolTipFilled,
|
|
6190
6354
|
iconColor: '#000000',
|
|
6191
6355
|
iconGradient: null,
|
|
6356
|
+
marginLeft: 8,
|
|
6192
6357
|
paddingBottom: 0,
|
|
6193
6358
|
paddingLeft: 0,
|
|
6194
6359
|
paddingRight: 0,
|
|
@@ -6349,6 +6514,89 @@ const theme = {
|
|
|
6349
6514
|
}
|
|
6350
6515
|
}
|
|
6351
6516
|
},
|
|
6517
|
+
TabBar: {
|
|
6518
|
+
appearances: {
|
|
6519
|
+
pressed: {
|
|
6520
|
+
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
6521
|
+
type: 'state',
|
|
6522
|
+
values: [ true, false ]
|
|
6523
|
+
}
|
|
6524
|
+
},
|
|
6525
|
+
rules: [
|
|
6526
|
+
{
|
|
6527
|
+
if: { pressed: true },
|
|
6528
|
+
tokens: { paddingBottom: 0, paddingTop: 0 }
|
|
6529
|
+
}
|
|
6530
|
+
],
|
|
6531
|
+
tokens: {
|
|
6532
|
+
backgroundColor: '#fafafa',
|
|
6533
|
+
borderTopColor: '#efefef',
|
|
6534
|
+
borderTopWidth: 1,
|
|
6535
|
+
gap: 8,
|
|
6536
|
+
paddingBottom: 4,
|
|
6537
|
+
paddingLeft: 8,
|
|
6538
|
+
paddingRight: 8,
|
|
6539
|
+
paddingTop: 4
|
|
6540
|
+
}
|
|
6541
|
+
},
|
|
6542
|
+
TabBarItem: {
|
|
6543
|
+
appearances: {
|
|
6544
|
+
focus: {
|
|
6545
|
+
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
6546
|
+
type: 'state',
|
|
6547
|
+
values: [ true, false ]
|
|
6548
|
+
},
|
|
6549
|
+
hover: {
|
|
6550
|
+
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
6551
|
+
type: 'state',
|
|
6552
|
+
values: [ true, false ]
|
|
6553
|
+
},
|
|
6554
|
+
pressed: {
|
|
6555
|
+
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
6556
|
+
type: 'state',
|
|
6557
|
+
values: [ true, false ]
|
|
6558
|
+
},
|
|
6559
|
+
selected: {
|
|
6560
|
+
description: 'Applies while an interactive component is being physically pressed. Most visible on touchscreen taps; in React Native Web, this is visible on web mouse clicks only if the pressable is held down.',
|
|
6561
|
+
type: 'state',
|
|
6562
|
+
values: [ true, false ]
|
|
6563
|
+
}
|
|
6564
|
+
},
|
|
6565
|
+
rules: [
|
|
6566
|
+
{
|
|
6567
|
+
if: { focus: true },
|
|
6568
|
+
tokens: {
|
|
6569
|
+
backgroundColor: '#efefef',
|
|
6570
|
+
color: '#000000',
|
|
6571
|
+
iconColor: '#000000',
|
|
6572
|
+
iconSize: 26
|
|
6573
|
+
}
|
|
6574
|
+
},
|
|
6575
|
+
{
|
|
6576
|
+
if: { pressed: true },
|
|
6577
|
+
tokens: {
|
|
6578
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
6579
|
+
color: '#5b2bc2',
|
|
6580
|
+
iconColor: '#5b2bc2',
|
|
6581
|
+
iconSize: 22
|
|
6582
|
+
}
|
|
6583
|
+
},
|
|
6584
|
+
{ if: { hover: true }, tokens: { iconSize: 26 } }
|
|
6585
|
+
],
|
|
6586
|
+
tokens: {
|
|
6587
|
+
activeColor: '#7a3dfc',
|
|
6588
|
+
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
6589
|
+
borderRadius: 4,
|
|
6590
|
+
color: '#000000',
|
|
6591
|
+
fontName: 'StagSans',
|
|
6592
|
+
fontWeight: '600',
|
|
6593
|
+
iconColor: '#000000',
|
|
6594
|
+
iconSize: 24,
|
|
6595
|
+
lineHeight: 1.33333333333,
|
|
6596
|
+
paddingBottom: 4,
|
|
6597
|
+
paddingTop: 4
|
|
6598
|
+
}
|
|
6599
|
+
},
|
|
6352
6600
|
Table: {
|
|
6353
6601
|
appearances: {
|
|
6354
6602
|
spacing: {
|
|
@@ -7253,7 +7501,7 @@ const theme = {
|
|
|
7253
7501
|
},
|
|
7254
7502
|
{
|
|
7255
7503
|
if: { hover: true, selected: true },
|
|
7256
|
-
tokens: { backgroundColor: '#
|
|
7504
|
+
tokens: { backgroundColor: '#c9c8c8', switchColor: '#404040' }
|
|
7257
7505
|
},
|
|
7258
7506
|
{
|
|
7259
7507
|
if: { pressed: true, selected: true },
|
|
@@ -7262,7 +7510,7 @@ const theme = {
|
|
|
7262
7510
|
{
|
|
7263
7511
|
if: { focus: true, selected: true },
|
|
7264
7512
|
tokens: {
|
|
7265
|
-
backgroundColor: '#
|
|
7513
|
+
backgroundColor: '#c9c8c8',
|
|
7266
7514
|
icon: PaletteIconCheck,
|
|
7267
7515
|
iconColor: '#ffffff',
|
|
7268
7516
|
outerBorderColor: '#000000',
|
|
@@ -7294,7 +7542,7 @@ const theme = {
|
|
|
7294
7542
|
{
|
|
7295
7543
|
if: { inactive: true },
|
|
7296
7544
|
tokens: {
|
|
7297
|
-
backgroundColor: '#
|
|
7545
|
+
backgroundColor: '#c9c8c8',
|
|
7298
7546
|
opacity: 0.5,
|
|
7299
7547
|
switchBorderColor: 'rgba(0, 0, 0, 0)',
|
|
7300
7548
|
switchColor: '#c9c8c8'
|
|
@@ -7303,7 +7551,7 @@ const theme = {
|
|
|
7303
7551
|
{
|
|
7304
7552
|
if: { inactive: true, selected: true },
|
|
7305
7553
|
tokens: {
|
|
7306
|
-
backgroundColor: '#
|
|
7554
|
+
backgroundColor: '#c9c8c8',
|
|
7307
7555
|
icon: PaletteIconCheck,
|
|
7308
7556
|
iconColor: '#ffffff',
|
|
7309
7557
|
opacity: 0.5,
|
|
@@ -7996,6 +8244,6 @@ const theme = {
|
|
|
7996
8244
|
tokens: { size: 96 }
|
|
7997
8245
|
}
|
|
7998
8246
|
},
|
|
7999
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
8247
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.64.0' }
|
|
8000
8248
|
}
|
|
8001
8249
|
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.8.0",
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.64.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.8.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.21.0"
|
|
35
35
|
}
|