@telus-uds/theme-koodo 4.8.0 → 4.9.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/rn/theme.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 07 Jul 2023 19:15:37 GMT
4
+ * Generated on Fri, 14 Jul 2023 19:36:46 GMT
5
5
  *
6
6
  */
7
7
 
@@ -22,10 +22,11 @@ const PaletteIconExclamationTriangle = require('@telus-uds/palette-koodo/build/r
22
22
  const PaletteIconSpyglass = require('@telus-uds/palette-koodo/build/rn/icons/Spyglass')
23
23
  const PaletteIconExclamationOctagon = require('@telus-uds/palette-koodo/build/rn/icons/ExclamationOctagon')
24
24
  const PaletteIconPlaySolid = require('@telus-uds/palette-koodo/build/rn/icons/PlaySolid')
25
- const PaletteIconArrowLeft = require('@telus-uds/palette-koodo/build/rn/icons/ArrowLeft')
25
+ const PaletteIconQuoteLeft = require('@telus-uds/palette-koodo/build/rn/icons/QuoteLeft')
26
+ const PaletteIconQuoteRightArrow = require('@telus-uds/palette-koodo/build/rn/icons/QuoteRightArrow')
26
27
  const PaletteIconEyeMasked = require('@telus-uds/palette-koodo/build/rn/icons/EyeMasked')
27
28
  const PaletteIconEyeUnmasked = require('@telus-uds/palette-koodo/build/rn/icons/EyeUnmasked')
28
- const PaletteIconInfo = require('@telus-uds/palette-koodo/build/rn/icons/Info')
29
+ const PaletteIconTooltip = require('@telus-uds/palette-koodo/build/rn/icons/Tooltip')
29
30
  const PaletteIconPause = require('@telus-uds/palette-koodo/build/rn/icons/Pause')
30
31
  const PaletteIconReplay = require('@telus-uds/palette-koodo/build/rn/icons/Replay')
31
32
  const PaletteIconClosedCaptions = require('@telus-uds/palette-koodo/build/rn/icons/ClosedCaptions')
@@ -33,6 +34,7 @@ const PaletteIconFullscreenExpand = require('@telus-uds/palette-koodo/build/rn/i
33
34
  const PaletteIconFullscreenMinimize = require('@telus-uds/palette-koodo/build/rn/icons/FullscreenMinimize')
34
35
  const PaletteIconSettingsSolid = require('@telus-uds/palette-koodo/build/rn/icons/SettingsSolid')
35
36
  const PaletteIconArrowRight = require('@telus-uds/palette-koodo/build/rn/icons/ArrowRight')
37
+ const PaletteIconArrowLeft = require('@telus-uds/palette-koodo/build/rn/icons/ArrowLeft')
36
38
  const PaletteIconMuted = require('@telus-uds/palette-koodo/build/rn/icons/Muted')
37
39
  const PaletteIconUnmuted = require('@telus-uds/palette-koodo/build/rn/icons/Unmuted')
38
40
 
@@ -69,6 +71,7 @@ module.exports = {
69
71
  backgroundColor: 'rgba(0, 0, 0, 0)',
70
72
  borderColor: '#016b6a',
71
73
  color: '#016b6a',
74
+ fontSize: 16,
72
75
  paddingBottom: 8,
73
76
  paddingTop: 8
74
77
  }
@@ -78,13 +81,18 @@ module.exports = {
78
81
  tokens: {
79
82
  backgroundColor: '#c3efff',
80
83
  color: '#000000',
84
+ fontSize: 16,
81
85
  paddingBottom: 8,
82
86
  paddingTop: 8
83
87
  }
84
88
  },
85
89
  {
86
90
  if: { purpose: 'editorial' },
87
- tokens: { backgroundColor: '#000000', color: '#ffffff' }
91
+ tokens: {
92
+ backgroundColor: '#000000',
93
+ color: '#ffffff',
94
+ fontSize: 16
95
+ }
88
96
  },
89
97
  {
90
98
  if: { outline: true, purpose: 'editorial' },
@@ -109,6 +117,7 @@ module.exports = {
109
117
  borderWidth: 2,
110
118
  color: '#7c1366',
111
119
  fontName: 'StagSans',
120
+ fontSize: 14,
112
121
  fontWeight: '600',
113
122
  gradient: null,
114
123
  paddingBottom: 2,
@@ -1116,11 +1125,7 @@ module.exports = {
1116
1125
  rules: [
1117
1126
  {
1118
1127
  if: { viewport: [ 'xs', 'sm' ] },
1119
- tokens: {
1120
- showPanelTabs: false,
1121
- showPreviousNextNavigation: false,
1122
- thumbnailSize: 48
1123
- }
1128
+ tokens: { showPanelTabs: false, showPreviousNextNavigation: false }
1124
1129
  }
1125
1130
  ],
1126
1131
  tokens: {
@@ -1132,15 +1137,7 @@ module.exports = {
1132
1137
  showPreviousNextNavigation: true,
1133
1138
  spaceBetweenSlideAndPanelNavigation: 32,
1134
1139
  spaceBetweenSlideAndPreviousNextNavigation: 24,
1135
- thumbnailBorderColor: '#f9f6a5',
1136
- thumbnailBorderRadius: 4,
1137
- thumbnailBorderWidth: 1,
1138
- thumbnailContainerPaddingTop: 24,
1139
- thumbnailMargin: 4,
1140
- thumbnailPadding: 8,
1141
- thumbnailSelectedBorderColor: '#016b6a',
1142
- thumbnailSelectedBorderWidth: 2,
1143
- thumbnailSize: 64
1140
+ stepTrackerCurrentBackgroundColor: '#ffffff'
1144
1141
  }
1145
1142
  },
1146
1143
  CarouselTabsPanelItem: {
@@ -1162,6 +1159,7 @@ module.exports = {
1162
1159
  type: 'state',
1163
1160
  values: [ true ]
1164
1161
  },
1162
+ inverse: { type: 'variant', values: [ true ] },
1165
1163
  pressed: {
1166
1164
  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.',
1167
1165
  type: 'state',
@@ -1213,11 +1211,54 @@ module.exports = {
1213
1211
  {
1214
1212
  if: { selected: true },
1215
1213
  tokens: {
1216
- borderBottomColor: '#c9c8c8',
1214
+ borderBottomColor: '#016b6a',
1217
1215
  borderBottomWidth: 2,
1218
- color: '#c9c8c8',
1219
- fontName: 'StagSans',
1220
- fontWeight: '400'
1216
+ color: '#016b6a'
1217
+ }
1218
+ },
1219
+ {
1220
+ if: { hover: true, inverse: true },
1221
+ tokens: {
1222
+ borderBottomColor: '#bbeaf5',
1223
+ borderBottomWidth: 2,
1224
+ color: '#bbeaf5'
1225
+ }
1226
+ },
1227
+ {
1228
+ if: { focus: true, inverse: true },
1229
+ tokens: {
1230
+ borderBottomColor: '#016b6a',
1231
+ borderBottomWidth: 4,
1232
+ color: '#016b6a'
1233
+ }
1234
+ },
1235
+ {
1236
+ if: { inverse: true, pressed: true },
1237
+ tokens: {
1238
+ borderBottomColor: '#1b4746',
1239
+ borderBottomWidth: 2,
1240
+ color: '#1b4746'
1241
+ }
1242
+ },
1243
+ { if: { inverse: true }, tokens: { color: '#e5f7fb' } },
1244
+ {
1245
+ if: { focus: true, inverse: true, pressed: true },
1246
+ tokens: { borderBottomWidth: 4 }
1247
+ },
1248
+ {
1249
+ if: { inactive: true, inverse: true },
1250
+ tokens: {
1251
+ borderBottomColor: '#c9c8c8',
1252
+ borderBottomWidth: 4,
1253
+ color: '#c9c8c8'
1254
+ }
1255
+ },
1256
+ {
1257
+ if: { inverse: true, selected: true },
1258
+ tokens: {
1259
+ borderBottomColor: '#ffffff',
1260
+ borderBottomWidth: 4,
1261
+ color: '#ffffff'
1221
1262
  }
1222
1263
  }
1223
1264
  ],
@@ -1226,21 +1267,74 @@ module.exports = {
1226
1267
  borderBottomColor: 'transparent',
1227
1268
  borderBottomStyle: 'solid',
1228
1269
  borderBottomWidth: 1,
1229
- color: '#016b6a',
1270
+ color: '#000000',
1230
1271
  flex: 1,
1231
1272
  fontName: 'StagSans',
1232
1273
  fontScaleCap: 64,
1233
1274
  fontSize: 14,
1234
- fontWeight: '400',
1275
+ fontWeight: '600',
1235
1276
  justifyContent: 'flex-start',
1236
1277
  letterSpacing: 0,
1237
- lineHeight: 1.1,
1278
+ lineHeight: 1.45,
1238
1279
  paddingBottom: 16,
1239
1280
  paddingLeft: 0,
1240
1281
  paddingRight: 0,
1241
1282
  paddingTop: 0
1242
1283
  }
1243
1284
  },
1285
+ CarouselThumbnail: {
1286
+ appearances: {
1287
+ focus: {
1288
+ 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.",
1289
+ platforms: [ 'rn' ],
1290
+ type: 'state',
1291
+ values: [ true, false ]
1292
+ },
1293
+ hover: {
1294
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
1295
+ platforms: [ 'rn' ],
1296
+ type: 'state',
1297
+ values: [ true, false ]
1298
+ },
1299
+ pressed: {
1300
+ 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.',
1301
+ type: 'state',
1302
+ values: [ true, false ]
1303
+ },
1304
+ viewport: {
1305
+ description: 'The size label for the current screen viewport based on the current screen width',
1306
+ type: 'state',
1307
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
1308
+ }
1309
+ },
1310
+ rules: [
1311
+ {
1312
+ if: { viewport: [ 'xs', 'sm' ] },
1313
+ tokens: { alignItems: 'flex-start', size: 48 }
1314
+ },
1315
+ { if: { hover: true }, tokens: { borderColor: '#1b4746' } },
1316
+ {
1317
+ if: { focus: true },
1318
+ tokens: { borderColor: '#016b6a', borderWidth: 2 }
1319
+ },
1320
+ {
1321
+ if: { pressed: true },
1322
+ tokens: { borderColor: '#666666', borderWidth: 2 }
1323
+ }
1324
+ ],
1325
+ tokens: {
1326
+ alignItems: 'center',
1327
+ borderColor: '#efefef',
1328
+ borderRadius: 8,
1329
+ borderWidth: 1,
1330
+ containerPaddingTop: 24,
1331
+ margin: 4,
1332
+ padding: 8,
1333
+ selectedBorderColor: '#016b6a',
1334
+ selectedBorderWidth: 2,
1335
+ size: 72
1336
+ }
1337
+ },
1244
1338
  Checkbox: {
1245
1339
  appearances: {
1246
1340
  checked: {
@@ -1600,7 +1694,7 @@ module.exports = {
1600
1694
  expanded: {
1601
1695
  description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
1602
1696
  type: 'state',
1603
- values: [ true ]
1697
+ values: [ true, false ]
1604
1698
  },
1605
1699
  mini: { type: 'variant', values: [ true ] }
1606
1700
  },
@@ -1664,7 +1758,7 @@ module.exports = {
1664
1758
  expanded: {
1665
1759
  description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
1666
1760
  type: 'state',
1667
- values: [ true ]
1761
+ values: [ true, false ]
1668
1762
  },
1669
1763
  inverse: {
1670
1764
  description: 'Replaces the default green colour with white. Useful for dark backgrounds.',
@@ -2259,8 +2353,16 @@ module.exports = {
2259
2353
  ],
2260
2354
  tokens: {
2261
2355
  backgroundColor: 'transparent',
2356
+ borderBottomLeftRadius: null,
2357
+ borderBottomRightRadius: null,
2358
+ borderBottomWidth: null,
2262
2359
  borderColor: 'transparent',
2360
+ borderLeftWidth: null,
2263
2361
  borderRadius: 99999999999999,
2362
+ borderRightWidth: null,
2363
+ borderTopLeftRadius: null,
2364
+ borderTopRightRadius: null,
2365
+ borderTopWidth: null,
2264
2366
  borderWidth: 1,
2265
2367
  icon: null,
2266
2368
  iconColor: '#000000',
@@ -2502,7 +2604,7 @@ module.exports = {
2502
2604
  expanded: {
2503
2605
  description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
2504
2606
  type: 'state',
2505
- values: [ true ]
2607
+ values: [ true, false ]
2506
2608
  },
2507
2609
  focus: {
2508
2610
  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.",
@@ -2832,7 +2934,7 @@ module.exports = {
2832
2934
  expanded: {
2833
2935
  description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
2834
2936
  type: 'state',
2835
- values: [ true ]
2937
+ values: [ true, false ]
2836
2938
  },
2837
2939
  focus: {
2838
2940
  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.",
@@ -3498,20 +3600,133 @@ module.exports = {
3498
3600
  }
3499
3601
  },
3500
3602
  QuantitySelector: {
3501
- appearances: { alternative: { type: 'variant', values: [ true ] } },
3502
- rules: [ { if: { alternative: true }, tokens: { padding: 0 } } ],
3603
+ appearances: {
3604
+ alternative: { type: 'variant', values: [ true ] },
3605
+ disabled: { type: 'variant', values: [ true ] },
3606
+ focus: { type: 'variant', values: [ true ] },
3607
+ hover: { type: 'variant', values: [ true ] },
3608
+ pressed: { type: 'variant', values: [ true ] }
3609
+ },
3610
+ rules: [
3611
+ {
3612
+ if: { alternative: true },
3613
+ tokens: { paddingBottom: 8, paddingTop: 8 }
3614
+ },
3615
+ {
3616
+ if: { hover: true },
3617
+ tokens: { inputBackgroundColor: '#efefef' }
3618
+ },
3619
+ {
3620
+ if: { disabled: true },
3621
+ tokens: { inputBackgroundColor: '#efefef', textColor: '#c9c8c8' }
3622
+ },
3623
+ { if: { focus: true }, tokens: { inputBorderWidth: 3 } }
3624
+ ],
3503
3625
  tokens: {
3504
- backgroundColor: null,
3505
- borderColor: null,
3506
- iconColor: null,
3507
- iconSize: 16,
3508
- inputBackgroundColor: null,
3509
- inputBorderColor: null,
3626
+ fontSize: 16,
3627
+ inputBackgroundColor: '#ffffff',
3628
+ inputBorderColor: '#666666',
3510
3629
  inputBorderWidth: 1,
3511
- leftIcon: PaletteIconSubtract,
3630
+ inputWidth: 64,
3631
+ lineHeight: 1.5,
3632
+ padding: 12,
3633
+ paddingBottom: 12,
3634
+ paddingLeft: 12,
3635
+ paddingRight: 12,
3636
+ paddingTop: 12,
3637
+ textColor: '#000000'
3638
+ }
3639
+ },
3640
+ QuantitySelectorSideButton: {
3641
+ appearances: {
3642
+ alternative: { type: 'variant', values: [ true ] },
3643
+ decrease: { type: 'variant', values: [ true ] },
3644
+ disabled: { type: 'variant', values: [ true ] },
3645
+ focus: { type: 'variant', values: [ true ] },
3646
+ hover: { type: 'variant', values: [ true ] },
3647
+ increase: { type: 'variant', values: [ true ] },
3648
+ pressed: { type: 'variant', values: [ true ] }
3649
+ },
3650
+ rules: [
3651
+ { if: { hover: true }, tokens: { backgroundColor: '#efefef' } },
3652
+ {
3653
+ if: { pressed: true },
3654
+ tokens: { backgroundColor: '#c9c8c8', borderWidth: 3 }
3655
+ },
3656
+ {
3657
+ if: { decrease: true },
3658
+ tokens: {
3659
+ borderBottomLeftRadius: 4,
3660
+ borderRightWidth: 0,
3661
+ borderTopLeftRadius: 4,
3662
+ icon: PaletteIconSubtract
3663
+ }
3664
+ },
3665
+ {
3666
+ if: { increase: true },
3667
+ tokens: {
3668
+ borderBottomRightRadius: 4,
3669
+ borderLeftWidth: 0,
3670
+ borderTopRightRadius: 4,
3671
+ icon: PaletteIconAdd
3672
+ }
3673
+ },
3674
+ {
3675
+ if: { focus: true, increase: true },
3676
+ tokens: {
3677
+ borderBottomWidth: 3,
3678
+ borderLeftWidth: 2,
3679
+ borderRightWidth: 3,
3680
+ borderTopWidth: 3
3681
+ }
3682
+ },
3683
+ {
3684
+ if: { decrease: true, focus: true },
3685
+ tokens: {
3686
+ borderBottomWidth: 3,
3687
+ borderLeftWidth: 3,
3688
+ borderRightWidth: 2,
3689
+ borderTopWidth: 3
3690
+ }
3691
+ },
3692
+ {
3693
+ if: { disabled: true },
3694
+ tokens: { backgroundColor: '#efefef', iconColor: '#c9c8c8' }
3695
+ },
3696
+ {
3697
+ if: { alternative: true },
3698
+ tokens: { paddingBottom: 12, paddingTop: 12 }
3699
+ },
3700
+ {
3701
+ if: { alternative: true, increase: true },
3702
+ tokens: { borderBottomRightRadius: 24, borderTopRightRadius: 24 }
3703
+ },
3704
+ {
3705
+ if: { alternative: true, decrease: true },
3706
+ tokens: { borderBottomLeftRadius: 24, borderTopLeftRadius: 24 }
3707
+ }
3708
+ ],
3709
+ tokens: {
3710
+ backgroundColor: '#ffffff',
3711
+ borderBottomLeftRadius: 0,
3712
+ borderBottomRightRadius: 0,
3713
+ borderBottomWidth: 1,
3714
+ borderColor: '#666666',
3715
+ borderLeftWidth: 1,
3716
+ borderRadius: 0,
3717
+ borderRightWidth: 1,
3718
+ borderTopLeftRadius: 0,
3719
+ borderTopRightRadius: 0,
3720
+ borderTopWidth: 1,
3721
+ borderWidth: 1,
3722
+ icon: null,
3723
+ iconColor: '#000000',
3724
+ iconSize: 16,
3512
3725
  padding: 16,
3513
- rightIcon: PaletteIconAdd,
3514
- textColor: null
3726
+ paddingBottom: 16,
3727
+ paddingLeft: 16,
3728
+ paddingRight: 16,
3729
+ paddingTop: 16
3515
3730
  }
3516
3731
  },
3517
3732
  QuickLinks: {
@@ -4368,7 +4583,7 @@ module.exports = {
4368
4583
  expanded: {
4369
4584
  description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
4370
4585
  type: 'state',
4371
- values: [ true ]
4586
+ values: [ true, false ]
4372
4587
  },
4373
4588
  focus: {
4374
4589
  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.",
@@ -4464,7 +4679,7 @@ module.exports = {
4464
4679
  expanded: {
4465
4680
  description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
4466
4681
  type: 'state',
4467
- values: [ true ]
4682
+ values: [ true, false ]
4468
4683
  }
4469
4684
  },
4470
4685
  rules: [
@@ -4635,11 +4850,11 @@ module.exports = {
4635
4850
  completedIconColor: '#666666',
4636
4851
  connectorColor: '#ffffff',
4637
4852
  connectorCompletedColor: '#ffffff',
4638
- knobBackgroundColor: 'rgba(0, 0, 0, 0)',
4853
+ knobBackgroundColor: 'transparent',
4639
4854
  knobBorderColor: '#ffffff',
4640
4855
  knobCompletedBackgroundColor: '#ffffff',
4641
- knobCompletedBorderColor: '#ffffff',
4642
- knobCurrentBackgroundColor: '#ffffff',
4856
+ knobCompletedBorderColor: 'transparent',
4857
+ knobCurrentBackgroundColor: 'transparent',
4643
4858
  knobCurrentBorderColor: '#ffffff',
4644
4859
  knobCurrentInnerColor: '#ffffff',
4645
4860
  labelColor: '#ffffff',
@@ -5206,7 +5421,7 @@ module.exports = {
5206
5421
  expanded: {
5207
5422
  description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
5208
5423
  type: 'state',
5209
- values: [ true ]
5424
+ values: [ true, false ]
5210
5425
  },
5211
5426
  viewport: {
5212
5427
  description: 'The size label for the current screen viewport based on the current screen width',
@@ -5277,18 +5492,51 @@ module.exports = {
5277
5492
  }
5278
5493
  },
5279
5494
  Testimonial: {
5280
- appearances: {},
5281
- rules: [],
5495
+ appearances: {
5496
+ viewport: {
5497
+ description: 'The size label for the current screen viewport based on the current screen width',
5498
+ type: 'state',
5499
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
5500
+ }
5501
+ },
5502
+ rules: [
5503
+ {
5504
+ if: { viewport: [ 'md', 'lg', 'xl' ] },
5505
+ tokens: {
5506
+ testimonialFontNameHeading: 'StagSans',
5507
+ testimonialFontSizeHeading: 32,
5508
+ testimonialFontWeightHeading: '700',
5509
+ testimonialLineHeightHeading: 1.25
5510
+ }
5511
+ }
5512
+ ],
5282
5513
  tokens: {
5283
- dividerBackgroundColor: '#ffffff',
5514
+ additionalFontName: 'StagSans',
5515
+ additionalFontSize: 14,
5516
+ additionalFontWeight: '400',
5517
+ additionalLineHeight: 1.42857142857,
5518
+ authorFontName: 'StagSans',
5519
+ authorFontSize: 16,
5520
+ authorFontWeight: '600',
5521
+ authorLineHeight: 1.5,
5522
+ dividerBackgroundColor: '#c9c8c8',
5284
5523
  dividerBorder: 1,
5285
5524
  figcaptionGap: 12,
5286
- icon: PaletteIconArrowLeft,
5287
- iconColor: '#ffffff',
5525
+ icon: PaletteIconQuoteLeft,
5526
+ iconColor: '#c9c8c8',
5527
+ iconFr: PaletteIconQuoteRightArrow,
5288
5528
  imageSize: 48,
5289
5529
  quoteContainerGap: 4,
5290
5530
  testimonialContainerGap: 12,
5291
- textColor: '#ffffff'
5531
+ testimonialFontNameHeading: 'StagSans',
5532
+ testimonialFontNameLarge: 'StagSans',
5533
+ testimonialFontSizeHeading: 24,
5534
+ testimonialFontSizeLarge: 20,
5535
+ testimonialFontWeightHeading: '700',
5536
+ testimonialFontWeightLarge: '400',
5537
+ testimonialLineHeightHeading: 1.33333333333,
5538
+ testimonialLineHeightLarge: 1.4,
5539
+ textColor: '#000000'
5292
5540
  }
5293
5541
  },
5294
5542
  TextArea: {
@@ -5641,16 +5889,16 @@ module.exports = {
5641
5889
  rules: [
5642
5890
  {
5643
5891
  if: { inverse: true },
5644
- tokens: { backgroundColor: '#ffffff', color: '#1b4746' }
5892
+ tokens: { backgroundColor: '#ffffff', color: '#000000' }
5645
5893
  }
5646
5894
  ],
5647
5895
  tokens: {
5648
5896
  arrowBorderRadius: 0,
5649
5897
  arrowOffset: 4,
5650
5898
  arrowWidth: 8,
5651
- backgroundColor: '#1b4746',
5899
+ backgroundColor: '#c3efff',
5652
5900
  borderRadius: 4,
5653
- color: '#ffffff',
5901
+ color: '#000000',
5654
5902
  fontName: 'StagSans',
5655
5903
  fontSize: 14,
5656
5904
  fontWeight: '400',
@@ -5683,6 +5931,7 @@ module.exports = {
5683
5931
  type: 'state',
5684
5932
  values: [ true, false ]
5685
5933
  },
5934
+ inverse: { type: 'variant', values: [ true ] },
5686
5935
  pressed: {
5687
5936
  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.',
5688
5937
  type: 'state',
@@ -5690,17 +5939,40 @@ module.exports = {
5690
5939
  }
5691
5940
  },
5692
5941
  rules: [
5693
- { if: { hover: true }, tokens: { iconScale: 1.25 } },
5694
- { if: { pressed: true }, tokens: { iconColor: '#1b4746' } },
5695
5942
  {
5696
- if: { focus: true },
5697
- tokens: { outerBorderColor: '#1b4746' }
5943
+ if: { hover: true },
5944
+ tokens: { backgroundColor: '#c3efff', iconScale: 1.25 }
5945
+ },
5946
+ {
5947
+ if: { inverse: true },
5948
+ tokens: { backgroundColor: 'rgba(0, 0, 0, 0)', iconColor: '#ffffff' }
5949
+ },
5950
+ {
5951
+ if: { hover: true, inverse: true },
5952
+ tokens: { backgroundColor: '#c9c8c8', iconColor: '#ffffff' }
5953
+ },
5954
+ {
5955
+ if: { inverse: true, pressed: true },
5956
+ tokens: { backgroundColor: '#ffffff', iconColor: '#c9c8c8' }
5957
+ },
5958
+ {
5959
+ if: { inverse: null, pressed: true },
5960
+ tokens: { backgroundColor: '#016b6a', iconColor: '#ffffff' }
5961
+ },
5962
+ {
5963
+ if: { focus: true, inverse: true },
5964
+ tokens: { outerBorderColor: '#ffffff' }
5965
+ },
5966
+ {
5967
+ if: { focus: true, inverse: null },
5968
+ tokens: { outerBorderColor: '#17367d' }
5698
5969
  }
5699
5970
  ],
5700
5971
  tokens: {
5972
+ backgroundColor: 'rgba(0, 0, 0, 0)',
5701
5973
  borderRadius: 32,
5702
- icon: PaletteIconInfo,
5703
- iconColor: '#ee2c74',
5974
+ icon: PaletteIconTooltip,
5975
+ iconColor: '#016b6a',
5704
5976
  iconScale: 1,
5705
5977
  iconSize: 16,
5706
5978
  outerBorderColor: 'rgba(0, 0, 0, 0)',
@@ -6196,5 +6468,5 @@ module.exports = {
6196
6468
  tokens: { size: 96 }
6197
6469
  }
6198
6470
  },
6199
- metadata: { name: 'theme-koodo', themeTokensVersion: '2.37.0' }
6471
+ metadata: { name: 'theme-koodo', themeTokensVersion: '2.38.0' }
6200
6472
  }
package/package.json CHANGED
@@ -5,8 +5,8 @@
5
5
  },
6
6
  "description": "Koodo theme",
7
7
  "devDependencies": {
8
- "@telus-uds/palette-koodo": "^0.22.0",
9
- "@telus-uds/system-theme-tokens": "^2.37.0"
8
+ "@telus-uds/palette-koodo": "^0.23.0",
9
+ "@telus-uds/system-theme-tokens": "^2.38.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": "^0.22.0"
23
+ "@telus-uds/palette-koodo": "^0.23.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": "4.8.0"
34
+ "version": "4.9.0"
35
35
  }