@telus-uds/theme-koodo 5.12.0 → 5.14.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/Card.json +161 -0
- package/build/android/CardGroup.json +52 -0
- package/build/android/Carousel.json +2 -0
- package/build/android/QuickLinksFeature.json +17 -2
- package/build/android/QuickLinksFeatureItem.json +1 -1
- package/build/android/Radio.json +13 -0
- package/build/android/schema.json +940 -684
- package/build/android/theme.json +247 -4
- package/build/ios/Card.json +161 -0
- package/build/ios/CardGroup.json +52 -0
- package/build/ios/Carousel.json +2 -0
- package/build/ios/QuickLinksFeature.json +17 -2
- package/build/ios/QuickLinksFeatureItem.json +1 -1
- package/build/ios/Radio.json +13 -0
- package/build/ios/schema.json +940 -684
- package/build/ios/theme.json +247 -4
- package/build/rn/ActivityIndicator.js +1 -1
- package/build/rn/Badge.js +1 -1
- package/build/rn/BlockQuote.js +1 -1
- package/build/rn/Box.js +1 -1
- package/build/rn/Breadcrumbs.js +1 -1
- package/build/rn/Button.js +1 -1
- package/build/rn/ButtonDropdown.js +1 -1
- package/build/rn/ButtonGroup.js +1 -1
- package/build/rn/ButtonGroupItem.js +1 -1
- package/build/rn/Callout.js +1 -1
- package/build/rn/Card.js +85 -3
- package/build/rn/CardGroup.js +62 -0
- package/build/rn/Carousel.js +5 -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/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 +1 -1
- package/build/rn/InputLabel.js +1 -1
- package/build/rn/InputSupports.js +1 -1
- package/build/rn/Link.js +1 -1
- package/build/rn/List.js +1 -1
- package/build/rn/Listbox.js +1 -1
- package/build/rn/Modal.js +1 -1
- package/build/rn/MultiSelectFilter.js +1 -1
- 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 +9 -3
- package/build/rn/QuickLinksFeatureItem.js +2 -2
- package/build/rn/QuickLinksList.js +1 -1
- package/build/rn/Radio.js +4 -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/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 +940 -684
- package/build/rn/spacingScale.js +1 -1
- package/build/rn/theme.js +155 -8
- package/build/web/ActivityIndicator.js +1 -1
- package/build/web/Badge.js +1 -1
- package/build/web/BlockQuote.js +1 -1
- package/build/web/Box.js +1 -1
- package/build/web/Breadcrumbs.js +1 -1
- package/build/web/Button.js +1 -1
- package/build/web/ButtonDropdown.js +1 -1
- package/build/web/ButtonGroup.js +1 -1
- package/build/web/ButtonGroupItem.js +1 -1
- package/build/web/Callout.js +1 -1
- package/build/web/Card.js +85 -3
- package/build/web/CardGroup.js +62 -0
- package/build/web/Carousel.js +5 -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/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 +1 -1
- package/build/web/InputLabel.js +1 -1
- package/build/web/InputSupports.js +1 -1
- package/build/web/Link.js +1 -1
- package/build/web/List.js +1 -1
- package/build/web/Listbox.js +1 -1
- package/build/web/Modal.js +1 -1
- package/build/web/MultiSelectFilter.js +1 -1
- 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 +9 -3
- package/build/web/QuickLinksFeatureItem.js +2 -2
- package/build/web/QuickLinksList.js +1 -1
- package/build/web/Radio.js +4 -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/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 +940 -684
- package/build/web/spacingScale.js +1 -1
- package/build/web/theme.js +155 -8
- package/package.json +4 -4
- package/theme.json +161 -3
package/build/web/theme.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Fri, 17 May 2024 16:23:49 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
8
|
import PaletteIconChevronRight from '@telus-uds/palette-koodo/build/rn/icons/ChevronRight'
|
|
9
9
|
import PaletteIconChevronDown from '@telus-uds/palette-koodo/build/rn/icons/ChevronDown'
|
|
10
10
|
import PaletteIconChevronUp from '@telus-uds/palette-koodo/build/rn/icons/ChevronUp'
|
|
11
|
-
import PaletteIconChevronLeft from '@telus-uds/palette-koodo/build/rn/icons/ChevronLeft'
|
|
12
11
|
import PaletteIconCheck from '@telus-uds/palette-koodo/build/rn/icons/Check'
|
|
12
|
+
import PaletteIconPause from '@telus-uds/palette-koodo/build/rn/icons/Pause'
|
|
13
|
+
import PaletteIconPlay from '@telus-uds/palette-koodo/build/rn/icons/Play'
|
|
14
|
+
import PaletteIconChevronLeft from '@telus-uds/palette-koodo/build/rn/icons/ChevronLeft'
|
|
13
15
|
import PaletteIconCheckCircleFilled from '@telus-uds/palette-koodo/build/rn/icons/CheckCircleFilled'
|
|
14
16
|
import PaletteIconExclamationOctagon from '@telus-uds/palette-koodo/build/rn/icons/ExclamationOctagon'
|
|
15
17
|
import PaletteIconClose from '@telus-uds/palette-koodo/build/rn/icons/Close'
|
|
@@ -32,7 +34,6 @@ import PaletteIconEyeUnmasked from '@telus-uds/palette-koodo/build/rn/icons/EyeU
|
|
|
32
34
|
import PaletteIconVisa from '@telus-uds/palette-koodo/build/rn/icons/Visa'
|
|
33
35
|
import PaletteIconTooltip from '@telus-uds/palette-koodo/build/rn/icons/Tooltip'
|
|
34
36
|
import PaletteIconTooltipSymbol from '@telus-uds/palette-koodo/build/rn/icons/TooltipSymbol'
|
|
35
|
-
import PaletteIconPause from '@telus-uds/palette-koodo/build/rn/icons/Pause'
|
|
36
37
|
import PaletteIconReplay from '@telus-uds/palette-koodo/build/rn/icons/Replay'
|
|
37
38
|
import PaletteIconClosedCaptions from '@telus-uds/palette-koodo/build/rn/icons/ClosedCaptions'
|
|
38
39
|
import PaletteIconFullscreenExpand from '@telus-uds/palette-koodo/build/rn/icons/FullscreenExpand'
|
|
@@ -1113,6 +1114,7 @@ const theme = {
|
|
|
1113
1114
|
values: [ true, false ]
|
|
1114
1115
|
},
|
|
1115
1116
|
interactive: { type: 'variant', values: [ true ] },
|
|
1117
|
+
isControl: { type: 'variant', values: [ true, false ] },
|
|
1116
1118
|
padding: {
|
|
1117
1119
|
type: 'variant',
|
|
1118
1120
|
values: [ 'narrow', 'intermediate', 'compact', 'custom' ]
|
|
@@ -1122,6 +1124,11 @@ const theme = {
|
|
|
1122
1124
|
type: 'state',
|
|
1123
1125
|
values: [ true, false ]
|
|
1124
1126
|
},
|
|
1127
|
+
selected: {
|
|
1128
|
+
description: 'Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.',
|
|
1129
|
+
type: 'state',
|
|
1130
|
+
values: [ true ]
|
|
1131
|
+
},
|
|
1125
1132
|
viewport: {
|
|
1126
1133
|
description: 'The size label for the current screen viewport based on the current screen width',
|
|
1127
1134
|
type: 'state',
|
|
@@ -1129,6 +1136,47 @@ const theme = {
|
|
|
1129
1136
|
}
|
|
1130
1137
|
},
|
|
1131
1138
|
rules: [
|
|
1139
|
+
{
|
|
1140
|
+
if: { interactive: true, isControl: true },
|
|
1141
|
+
tokens: { borderColor: '#c9c8c8', borderWidth: 1 }
|
|
1142
|
+
},
|
|
1143
|
+
{
|
|
1144
|
+
if: { interactive: true, isControl: true, selected: true },
|
|
1145
|
+
tokens: {
|
|
1146
|
+
backgroundColor: '#efefef',
|
|
1147
|
+
borderColor: '#000000',
|
|
1148
|
+
borderWidth: 1,
|
|
1149
|
+
iconBackgroundColor: '#c9c8c8',
|
|
1150
|
+
iconColor: '#000000',
|
|
1151
|
+
inputBackgroundColor: '#c9c8c8'
|
|
1152
|
+
}
|
|
1153
|
+
},
|
|
1154
|
+
{
|
|
1155
|
+
if: { hover: true, interactive: true, isControl: true },
|
|
1156
|
+
tokens: { iconColor: '#000000' }
|
|
1157
|
+
},
|
|
1158
|
+
{
|
|
1159
|
+
if: {
|
|
1160
|
+
focus: false,
|
|
1161
|
+
interactive: true,
|
|
1162
|
+
isControl: true,
|
|
1163
|
+
pressed: false
|
|
1164
|
+
},
|
|
1165
|
+
tokens: { borderColor: 'rgba(0, 0, 0, 0)', borderWidth: 2 }
|
|
1166
|
+
},
|
|
1167
|
+
{
|
|
1168
|
+
if: {
|
|
1169
|
+
hover: true,
|
|
1170
|
+
interactive: true,
|
|
1171
|
+
isControl: true,
|
|
1172
|
+
selected: true
|
|
1173
|
+
},
|
|
1174
|
+
tokens: {
|
|
1175
|
+
iconBackgroundColor: '#c9c8c8',
|
|
1176
|
+
iconColor: '#000000',
|
|
1177
|
+
inputBackgroundColor: '#c9c8c8'
|
|
1178
|
+
}
|
|
1179
|
+
},
|
|
1132
1180
|
{ if: { borderRadius: 'none' }, tokens: { borderRadius: 0 } },
|
|
1133
1181
|
{ if: { borderRadius: 'small' }, tokens: { borderRadius: 4 } },
|
|
1134
1182
|
{ if: { borderRadius: 'large' }, tokens: { borderRadius: 8 } },
|
|
@@ -1220,9 +1268,18 @@ const theme = {
|
|
|
1220
1268
|
}
|
|
1221
1269
|
},
|
|
1222
1270
|
{
|
|
1223
|
-
if: {
|
|
1271
|
+
if: {
|
|
1272
|
+
focus: false,
|
|
1273
|
+
interactive: true,
|
|
1274
|
+
isControl: false,
|
|
1275
|
+
pressed: false
|
|
1276
|
+
},
|
|
1224
1277
|
tokens: { borderColor: '#ffffff', borderWidth: 2 }
|
|
1225
1278
|
},
|
|
1279
|
+
{
|
|
1280
|
+
if: { focus: false, interactive: true, pressed: false },
|
|
1281
|
+
tokens: { borderColor: 'rgba(0, 0, 0, 0)', borderWidth: 2 }
|
|
1282
|
+
},
|
|
1226
1283
|
{
|
|
1227
1284
|
if: { hover: true, interactive: true },
|
|
1228
1285
|
tokens: {
|
|
@@ -1241,6 +1298,14 @@ const theme = {
|
|
|
1241
1298
|
borderColor: '#c9c8c8',
|
|
1242
1299
|
borderWidth: 2
|
|
1243
1300
|
}
|
|
1301
|
+
},
|
|
1302
|
+
{
|
|
1303
|
+
if: { interactive: true, isControl: false, selected: true },
|
|
1304
|
+
tokens: {
|
|
1305
|
+
backgroundColor: '#efefef',
|
|
1306
|
+
borderColor: '#000000',
|
|
1307
|
+
borderWidth: 1
|
|
1308
|
+
}
|
|
1244
1309
|
}
|
|
1245
1310
|
],
|
|
1246
1311
|
tokens: {
|
|
@@ -1254,6 +1319,24 @@ const theme = {
|
|
|
1254
1319
|
contentJustifyContent: 'flex-start',
|
|
1255
1320
|
flex: 1,
|
|
1256
1321
|
gradient: null,
|
|
1322
|
+
icon: PaletteIconCheck,
|
|
1323
|
+
iconBackgroundColor: '#efefef',
|
|
1324
|
+
iconColor: '#000000',
|
|
1325
|
+
iconSize: 20,
|
|
1326
|
+
inputBackgroundColor: '#efefef',
|
|
1327
|
+
inputBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1328
|
+
inputBorderRadius: 4,
|
|
1329
|
+
inputBorderWidth: 0,
|
|
1330
|
+
inputHeight: 32,
|
|
1331
|
+
inputShadow: {
|
|
1332
|
+
blur: 2,
|
|
1333
|
+
color: 'rgba(0, 0, 0, 0.1)',
|
|
1334
|
+
inset: true,
|
|
1335
|
+
offsetX: 0,
|
|
1336
|
+
offsetY: 2,
|
|
1337
|
+
spread: 0
|
|
1338
|
+
},
|
|
1339
|
+
inputWidth: 32,
|
|
1257
1340
|
minWidth: null,
|
|
1258
1341
|
paddingBottom: 32,
|
|
1259
1342
|
paddingLeft: 24,
|
|
@@ -1262,6 +1345,59 @@ const theme = {
|
|
|
1262
1345
|
shadow: null
|
|
1263
1346
|
}
|
|
1264
1347
|
},
|
|
1348
|
+
CardGroup: {
|
|
1349
|
+
appearances: {
|
|
1350
|
+
focus: {
|
|
1351
|
+
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.",
|
|
1352
|
+
platforms: [ 'rn', 'web' ],
|
|
1353
|
+
type: 'state',
|
|
1354
|
+
values: [ true, false ]
|
|
1355
|
+
},
|
|
1356
|
+
hover: {
|
|
1357
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1358
|
+
platforms: [ 'rn', 'web' ],
|
|
1359
|
+
type: 'state',
|
|
1360
|
+
values: [ true, false ]
|
|
1361
|
+
},
|
|
1362
|
+
pressed: {
|
|
1363
|
+
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.',
|
|
1364
|
+
type: 'state',
|
|
1365
|
+
values: [ true, false ]
|
|
1366
|
+
},
|
|
1367
|
+
selected: {
|
|
1368
|
+
description: 'Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.',
|
|
1369
|
+
type: 'state',
|
|
1370
|
+
values: [ true ]
|
|
1371
|
+
},
|
|
1372
|
+
viewport: {
|
|
1373
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
1374
|
+
type: 'state',
|
|
1375
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
1376
|
+
}
|
|
1377
|
+
},
|
|
1378
|
+
rules: [
|
|
1379
|
+
{
|
|
1380
|
+
if: { viewport: [ 'lg', 'xl' ] },
|
|
1381
|
+
tokens: { direction: 'row', space: 5 }
|
|
1382
|
+
},
|
|
1383
|
+
{
|
|
1384
|
+
if: { viewport: [ 'xs', 'sm', 'md' ] },
|
|
1385
|
+
tokens: { direction: 'column', fieldSpace: 3, space: 3 }
|
|
1386
|
+
}
|
|
1387
|
+
],
|
|
1388
|
+
tokens: {
|
|
1389
|
+
borderBottomLeftRadius: 1,
|
|
1390
|
+
borderBottomRightRadius: 1,
|
|
1391
|
+
borderTopLeftRadius: 1,
|
|
1392
|
+
borderTopRightRadius: 1,
|
|
1393
|
+
direction: 'column',
|
|
1394
|
+
fieldSpace: 3,
|
|
1395
|
+
outlineOffset: 8,
|
|
1396
|
+
outlineWidth: 1,
|
|
1397
|
+
showIcon: true,
|
|
1398
|
+
space: 3
|
|
1399
|
+
}
|
|
1400
|
+
},
|
|
1265
1401
|
Carousel: {
|
|
1266
1402
|
appearances: {
|
|
1267
1403
|
viewport: {
|
|
@@ -1280,6 +1416,8 @@ const theme = {
|
|
|
1280
1416
|
backgroundColor: 'rgba(0, 0, 0, 0)',
|
|
1281
1417
|
iconBackgroundColor: '#ffffff',
|
|
1282
1418
|
nextIcon: PaletteIconChevronRight,
|
|
1419
|
+
pauseIcon: PaletteIconPause,
|
|
1420
|
+
playIcon: PaletteIconPlay,
|
|
1283
1421
|
previousIcon: PaletteIconChevronLeft,
|
|
1284
1422
|
showPanelNavigation: true,
|
|
1285
1423
|
showPanelTabs: true,
|
|
@@ -4716,8 +4854,14 @@ const theme = {
|
|
|
4716
4854
|
}
|
|
4717
4855
|
},
|
|
4718
4856
|
QuickLinksFeature: {
|
|
4719
|
-
appearances: {
|
|
4720
|
-
|
|
4857
|
+
appearances: {
|
|
4858
|
+
viewport: {
|
|
4859
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
4860
|
+
type: 'state',
|
|
4861
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
4862
|
+
}
|
|
4863
|
+
},
|
|
4864
|
+
rules: [ { if: { viewport: 'xs' }, tokens: { stackSpace: 4 } } ],
|
|
4721
4865
|
tokens: { stackGap: 5, stackJustify: 'center', stackSpace: 5 }
|
|
4722
4866
|
},
|
|
4723
4867
|
QuickLinksFeatureItem: {
|
|
@@ -4788,7 +4932,7 @@ const theme = {
|
|
|
4788
4932
|
fontName: 'StagSans',
|
|
4789
4933
|
fontSize: 16,
|
|
4790
4934
|
fontWeight: '600',
|
|
4791
|
-
gap:
|
|
4935
|
+
gap: 5,
|
|
4792
4936
|
imageDimension: 128,
|
|
4793
4937
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
4794
4938
|
textAlign: 'center',
|
|
@@ -4940,6 +5084,9 @@ const theme = {
|
|
|
4940
5084
|
descriptionFontWeight: '400',
|
|
4941
5085
|
descriptionLineHeight: 1.4,
|
|
4942
5086
|
descriptionMarginLeft: null,
|
|
5087
|
+
icon: null,
|
|
5088
|
+
iconBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
5089
|
+
iconColor: 'rgba(0, 0, 0, 0)',
|
|
4943
5090
|
inputBackgroundColor: '#ffffff',
|
|
4944
5091
|
inputBorderColor: '#ffffff',
|
|
4945
5092
|
inputBorderWidth: 2,
|
|
@@ -7513,6 +7660,6 @@ const theme = {
|
|
|
7513
7660
|
tokens: { size: 96 }
|
|
7514
7661
|
}
|
|
7515
7662
|
},
|
|
7516
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
7663
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.56.0' }
|
|
7517
7664
|
}
|
|
7518
7665
|
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.3.0",
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.56.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.3.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.14.0"
|
|
35
35
|
}
|
package/theme.json
CHANGED
|
@@ -1437,14 +1437,79 @@
|
|
|
1437
1437
|
"type": "variant",
|
|
1438
1438
|
"values": [true]
|
|
1439
1439
|
},
|
|
1440
|
+
"isControl": {
|
|
1441
|
+
"type": "variant",
|
|
1442
|
+
"values": [true, false]
|
|
1443
|
+
},
|
|
1440
1444
|
"padding": {
|
|
1441
1445
|
"type": "variant",
|
|
1442
1446
|
"values": ["narrow", "intermediate", "compact", "custom"]
|
|
1443
1447
|
},
|
|
1444
1448
|
"pressed": "{appearances.Card.pressed}",
|
|
1449
|
+
"selected": "{appearances.Card.selected}",
|
|
1445
1450
|
"viewport": "{appearances.system.viewport}"
|
|
1446
1451
|
},
|
|
1447
1452
|
"rules": [
|
|
1453
|
+
{
|
|
1454
|
+
"if": {
|
|
1455
|
+
"interactive": true,
|
|
1456
|
+
"isControl": true
|
|
1457
|
+
},
|
|
1458
|
+
"tokens": {
|
|
1459
|
+
"borderColor": "{palette.color.silver}",
|
|
1460
|
+
"borderWidth": "{palette.border.border1}"
|
|
1461
|
+
}
|
|
1462
|
+
},
|
|
1463
|
+
{
|
|
1464
|
+
"if": {
|
|
1465
|
+
"interactive": true,
|
|
1466
|
+
"isControl": true,
|
|
1467
|
+
"selected": true
|
|
1468
|
+
},
|
|
1469
|
+
"tokens": {
|
|
1470
|
+
"backgroundColor": "{palette.color.gallery}",
|
|
1471
|
+
"borderColor": "{palette.color.black}",
|
|
1472
|
+
"borderWidth": "{palette.border.border1}",
|
|
1473
|
+
"iconBackgroundColor": "{palette.color.silver}",
|
|
1474
|
+
"iconColor": "{palette.color.black}",
|
|
1475
|
+
"inputBackgroundColor": "{palette.color.silver}"
|
|
1476
|
+
}
|
|
1477
|
+
},
|
|
1478
|
+
{
|
|
1479
|
+
"if": {
|
|
1480
|
+
"hover": true,
|
|
1481
|
+
"interactive": true,
|
|
1482
|
+
"isControl": true
|
|
1483
|
+
},
|
|
1484
|
+
"tokens": {
|
|
1485
|
+
"iconColor": "{palette.color.black}"
|
|
1486
|
+
}
|
|
1487
|
+
},
|
|
1488
|
+
{
|
|
1489
|
+
"if": {
|
|
1490
|
+
"focus": false,
|
|
1491
|
+
"interactive": true,
|
|
1492
|
+
"isControl": true,
|
|
1493
|
+
"pressed": false
|
|
1494
|
+
},
|
|
1495
|
+
"tokens": {
|
|
1496
|
+
"borderColor": "{palette.color.transparent}",
|
|
1497
|
+
"borderWidth": "{palette.border.border2}"
|
|
1498
|
+
}
|
|
1499
|
+
},
|
|
1500
|
+
{
|
|
1501
|
+
"if": {
|
|
1502
|
+
"hover": true,
|
|
1503
|
+
"interactive": true,
|
|
1504
|
+
"isControl": true,
|
|
1505
|
+
"selected": true
|
|
1506
|
+
},
|
|
1507
|
+
"tokens": {
|
|
1508
|
+
"iconBackgroundColor": "{palette.color.silver}",
|
|
1509
|
+
"iconColor": "{palette.color.black}",
|
|
1510
|
+
"inputBackgroundColor": "{palette.color.silver}"
|
|
1511
|
+
}
|
|
1512
|
+
},
|
|
1448
1513
|
{
|
|
1449
1514
|
"if": {
|
|
1450
1515
|
"borderRadius": "none"
|
|
@@ -1590,6 +1655,7 @@
|
|
|
1590
1655
|
"if": {
|
|
1591
1656
|
"focus": false,
|
|
1592
1657
|
"interactive": true,
|
|
1658
|
+
"isControl": false,
|
|
1593
1659
|
"pressed": false
|
|
1594
1660
|
},
|
|
1595
1661
|
"tokens": {
|
|
@@ -1597,6 +1663,17 @@
|
|
|
1597
1663
|
"borderWidth": "{palette.border.border2}"
|
|
1598
1664
|
}
|
|
1599
1665
|
},
|
|
1666
|
+
{
|
|
1667
|
+
"if": {
|
|
1668
|
+
"focus": false,
|
|
1669
|
+
"interactive": true,
|
|
1670
|
+
"pressed": false
|
|
1671
|
+
},
|
|
1672
|
+
"tokens": {
|
|
1673
|
+
"borderColor": "{palette.color.transparent}",
|
|
1674
|
+
"borderWidth": "{palette.border.border2}"
|
|
1675
|
+
}
|
|
1676
|
+
},
|
|
1600
1677
|
{
|
|
1601
1678
|
"if": {
|
|
1602
1679
|
"hover": true,
|
|
@@ -1627,6 +1704,18 @@
|
|
|
1627
1704
|
"borderColor": "{palette.color.silver}",
|
|
1628
1705
|
"borderWidth": "{palette.border.border2}"
|
|
1629
1706
|
}
|
|
1707
|
+
},
|
|
1708
|
+
{
|
|
1709
|
+
"if": {
|
|
1710
|
+
"interactive": true,
|
|
1711
|
+
"isControl": false,
|
|
1712
|
+
"selected": true
|
|
1713
|
+
},
|
|
1714
|
+
"tokens": {
|
|
1715
|
+
"backgroundColor": "{palette.color.gallery}",
|
|
1716
|
+
"borderColor": "{palette.color.black}",
|
|
1717
|
+
"borderWidth": "{palette.border.border1}"
|
|
1718
|
+
}
|
|
1630
1719
|
}
|
|
1631
1720
|
],
|
|
1632
1721
|
"tokens": {
|
|
@@ -1640,6 +1729,17 @@
|
|
|
1640
1729
|
"contentJustifyContent": "{system.flexJustifyContent.flexStart}",
|
|
1641
1730
|
"flex": "{system.integer.1}",
|
|
1642
1731
|
"gradient": "{system.gradient.none}",
|
|
1732
|
+
"icon": "{palette.icon.Check}",
|
|
1733
|
+
"iconBackgroundColor": "{palette.color.gallery}",
|
|
1734
|
+
"iconColor": "{palette.color.black}",
|
|
1735
|
+
"iconSize": "{palette.size.size20}",
|
|
1736
|
+
"inputBackgroundColor": "{palette.color.gallery}",
|
|
1737
|
+
"inputBorderColor": "{palette.color.transparent}",
|
|
1738
|
+
"inputBorderRadius": "{palette.radius.radius4}",
|
|
1739
|
+
"inputBorderWidth": "{palette.border.none}",
|
|
1740
|
+
"inputHeight": "{palette.size.size32}",
|
|
1741
|
+
"inputShadow": "{palette.shadow.surfaceInset}",
|
|
1742
|
+
"inputWidth": "{palette.size.size32}",
|
|
1643
1743
|
"minWidth": "{system.size.none}",
|
|
1644
1744
|
"paddingBottom": "{palette.size.size32}",
|
|
1645
1745
|
"paddingLeft": "{palette.size.size24}",
|
|
@@ -1648,6 +1748,48 @@
|
|
|
1648
1748
|
"shadow": "{system.shadow.none}"
|
|
1649
1749
|
}
|
|
1650
1750
|
},
|
|
1751
|
+
"CardGroup": {
|
|
1752
|
+
"appearances": {
|
|
1753
|
+
"focus": "{appearances.CardGroup.focus}",
|
|
1754
|
+
"hover": "{appearances.CardGroup.hover}",
|
|
1755
|
+
"pressed": "{appearances.CardGroup.pressed}",
|
|
1756
|
+
"selected": "{appearances.CardGroup.selected}",
|
|
1757
|
+
"viewport": "{appearances.system.viewport}"
|
|
1758
|
+
},
|
|
1759
|
+
"rules": [
|
|
1760
|
+
{
|
|
1761
|
+
"if": {
|
|
1762
|
+
"viewport": ["lg", "xl"]
|
|
1763
|
+
},
|
|
1764
|
+
"tokens": {
|
|
1765
|
+
"direction": "{system.direction.row}",
|
|
1766
|
+
"space": "{system.integer.5}"
|
|
1767
|
+
}
|
|
1768
|
+
},
|
|
1769
|
+
{
|
|
1770
|
+
"if": {
|
|
1771
|
+
"viewport": ["xs", "sm", "md"]
|
|
1772
|
+
},
|
|
1773
|
+
"tokens": {
|
|
1774
|
+
"direction": "{system.direction.column}",
|
|
1775
|
+
"fieldSpace": "{system.integer.3}",
|
|
1776
|
+
"space": "{system.integer.3}"
|
|
1777
|
+
}
|
|
1778
|
+
}
|
|
1779
|
+
],
|
|
1780
|
+
"tokens": {
|
|
1781
|
+
"borderBottomLeftRadius": "{palette.radius.radius1}",
|
|
1782
|
+
"borderBottomRightRadius": "{palette.radius.radius1}",
|
|
1783
|
+
"borderTopLeftRadius": "{palette.radius.radius1}",
|
|
1784
|
+
"borderTopRightRadius": "{palette.radius.radius1}",
|
|
1785
|
+
"direction": "{system.direction.column}",
|
|
1786
|
+
"fieldSpace": "{system.integer.3}",
|
|
1787
|
+
"outlineOffset": "{palette.size.size8}",
|
|
1788
|
+
"outlineWidth": "{palette.border.border1}",
|
|
1789
|
+
"showIcon": "{system.show.true}",
|
|
1790
|
+
"space": "{system.integer.3}"
|
|
1791
|
+
}
|
|
1792
|
+
},
|
|
1651
1793
|
"Carousel": {
|
|
1652
1794
|
"appearances": {
|
|
1653
1795
|
"viewport": "{appearances.system.viewport}"
|
|
@@ -1667,6 +1809,8 @@
|
|
|
1667
1809
|
"backgroundColor": "{palette.color.transparent}",
|
|
1668
1810
|
"iconBackgroundColor": "{palette.color.white}",
|
|
1669
1811
|
"nextIcon": "{palette.icon.ChevronRight}",
|
|
1812
|
+
"pauseIcon": "{palette.icon.Pause}",
|
|
1813
|
+
"playIcon": "{palette.icon.Play}",
|
|
1670
1814
|
"previousIcon": "{palette.icon.ChevronLeft}",
|
|
1671
1815
|
"showPanelNavigation": "{system.show.true}",
|
|
1672
1816
|
"showPanelTabs": "{system.show.true}",
|
|
@@ -6060,8 +6204,19 @@
|
|
|
6060
6204
|
}
|
|
6061
6205
|
},
|
|
6062
6206
|
"QuickLinksFeature": {
|
|
6063
|
-
"appearances": {
|
|
6064
|
-
|
|
6207
|
+
"appearances": {
|
|
6208
|
+
"viewport": "{appearances.system.viewport}"
|
|
6209
|
+
},
|
|
6210
|
+
"rules": [
|
|
6211
|
+
{
|
|
6212
|
+
"if": {
|
|
6213
|
+
"viewport": "xs"
|
|
6214
|
+
},
|
|
6215
|
+
"tokens": {
|
|
6216
|
+
"stackSpace": "{system.integer.4}"
|
|
6217
|
+
}
|
|
6218
|
+
}
|
|
6219
|
+
],
|
|
6065
6220
|
"tokens": {
|
|
6066
6221
|
"stackGap": "{system.integer.5}",
|
|
6067
6222
|
"stackJustify": "{system.flexJustifyContent.center}",
|
|
@@ -6135,7 +6290,7 @@
|
|
|
6135
6290
|
"fontName": "{palette.fontName.StagSans}",
|
|
6136
6291
|
"fontSize": "{palette.fontSize.size16}",
|
|
6137
6292
|
"fontWeight": "{palette.fontWeight.weight600}",
|
|
6138
|
-
"gap": "{palette.size.
|
|
6293
|
+
"gap": "{palette.size.size5}",
|
|
6139
6294
|
"imageDimension": "{palette.size.size128}",
|
|
6140
6295
|
"outerBorderColor": "{palette.color.transparent}",
|
|
6141
6296
|
"textAlign": "{system.textAlign.center}",
|
|
@@ -6287,6 +6442,9 @@
|
|
|
6287
6442
|
"descriptionFontWeight": "{palette.fontWeight.weight400}",
|
|
6288
6443
|
"descriptionLineHeight": "{palette.lineHeight.multiply140}",
|
|
6289
6444
|
"descriptionMarginLeft": "{system.size.none}",
|
|
6445
|
+
"icon": "{system.icon.none}",
|
|
6446
|
+
"iconBackgroundColor": "{palette.color.transparent}",
|
|
6447
|
+
"iconColor": "{palette.color.transparent}",
|
|
6290
6448
|
"inputBackgroundColor": "{palette.color.white}",
|
|
6291
6449
|
"inputBorderColor": "{palette.color.white}",
|
|
6292
6450
|
"inputBorderWidth": "{palette.border.border2}",
|