@telus-uds/theme-koodo 3.25.0 → 3.26.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 Mon, 01 May 2023 22:00:59 GMT
4
+ * Generated on Tue, 09 May 2023 00:18:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -14,9 +14,9 @@ const PaletteIconArrowRight = require('@telus-uds/palette-koodo/build/rn/icons/A
14
14
  const PaletteIconArrowLeft = require('@telus-uds/palette-koodo/build/rn/icons/ArrowLeft')
15
15
  const PaletteIconCheckCircledFilled = require('@telus-uds/palette-koodo/build/rn/icons/CheckCircledFilled')
16
16
  const PaletteIconCaution = require('@telus-uds/palette-koodo/build/rn/icons/Caution')
17
+ const PaletteIconClose = require('@telus-uds/palette-koodo/build/rn/icons/Close')
17
18
  const PaletteIconAdd = require('@telus-uds/palette-koodo/build/rn/icons/Add')
18
19
  const PaletteIconSubtract = require('@telus-uds/palette-koodo/build/rn/icons/Subtract')
19
- const PaletteIconClose = require('@telus-uds/palette-koodo/build/rn/icons/Close')
20
20
  const PaletteIconExpand = require('@telus-uds/palette-koodo/build/rn/icons/Expand')
21
21
  const PaletteIconPlayVideo = require('@telus-uds/palette-koodo/build/rn/icons/PlayVideo')
22
22
  const PaletteIconTimes = require('@telus-uds/palette-koodo/build/rn/icons/Times')
@@ -216,11 +216,26 @@ module.exports = {
216
216
  },
217
217
  Breadcrumbs: {
218
218
  appearances: { inverse: { type: 'variant', values: [ true ] } },
219
- rules: [ { if: { inverse: true }, tokens: { iconColor: null } } ],
219
+ rules: [
220
+ {
221
+ if: { inverse: true },
222
+ tokens: {
223
+ color: '#e5f7fb',
224
+ currentColor: '#ffffff',
225
+ iconColor: '#c9c8c8'
226
+ }
227
+ }
228
+ ],
220
229
  tokens: {
230
+ color: '#016b6a',
231
+ currentColor: '#016b6a',
232
+ fontName: 'StagSans',
233
+ fontSize: 14,
234
+ fontWeight: '600',
221
235
  icon: PaletteIconChevronRight,
222
- iconColor: null,
223
- iconPadding: 8,
236
+ iconColor: '#016b6a',
237
+ iconPadding: 4,
238
+ iconSize: 20,
224
239
  listItemPadding: 0
225
240
  }
226
241
  },
@@ -1373,6 +1388,17 @@ module.exports = {
1373
1388
  validInputMixin: null
1374
1389
  }
1375
1390
  },
1391
+ Disclaimer: {
1392
+ appearances: {},
1393
+ rules: [],
1394
+ tokens: {
1395
+ color: null,
1396
+ fontName: 'StagSans',
1397
+ fontSize: 14,
1398
+ fontWeight: '300',
1399
+ lineHeight: 1.42857142857
1400
+ }
1401
+ },
1376
1402
  Divider: {
1377
1403
  appearances: {
1378
1404
  decorative: {
@@ -1529,6 +1555,7 @@ module.exports = {
1529
1555
  closeButtonMarginRight: 12,
1530
1556
  closeButtonMarginTop: 12,
1531
1557
  closeButtonWidth: 24,
1558
+ closeIcon: PaletteIconClose,
1532
1559
  footnoteBackground: '#fafafa',
1533
1560
  footnoteBodyBackground: '#fafafa',
1534
1561
  footnoteBodyPaddingBottom: 32,
@@ -1550,7 +1577,14 @@ module.exports = {
1550
1577
  FootnoteLink: {
1551
1578
  appearances: {},
1552
1579
  rules: [],
1553
- tokens: { lineHeight: 1, paddingLeft: 2, paddingRight: 2 }
1580
+ tokens: {
1581
+ color: '#000000',
1582
+ fontName: 'StagSans',
1583
+ fontWeight: '400',
1584
+ lineHeight: 1,
1585
+ paddingLeft: 2,
1586
+ paddingRight: 2
1587
+ }
1554
1588
  },
1555
1589
  HorizontalScrollButton: {
1556
1590
  appearances: {
@@ -2343,6 +2377,122 @@ module.exports = {
2343
2377
  subHeadingMarginTop: 8
2344
2378
  }
2345
2379
  },
2380
+ NavigationBar: {
2381
+ appearances: {
2382
+ expanded: {
2383
+ description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
2384
+ type: 'state',
2385
+ values: [ true ]
2386
+ },
2387
+ focus: {
2388
+ 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.",
2389
+ platforms: [ 'rn' ],
2390
+ type: 'state',
2391
+ values: [ true ]
2392
+ },
2393
+ hover: {
2394
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
2395
+ platforms: [ 'rn' ],
2396
+ type: 'state',
2397
+ values: [ true ]
2398
+ },
2399
+ pressed: {
2400
+ 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.',
2401
+ type: 'state',
2402
+ values: [ true ]
2403
+ },
2404
+ selected: {
2405
+ 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`.',
2406
+ type: 'state',
2407
+ values: [ true ]
2408
+ },
2409
+ viewport: {
2410
+ description: 'The size label for the current screen viewport based on the current screen width',
2411
+ type: 'state',
2412
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
2413
+ }
2414
+ },
2415
+ rules: [
2416
+ {
2417
+ if: { selected: true },
2418
+ tokens: {
2419
+ backgroundColor: '#efefef',
2420
+ borderColor: '#efefef',
2421
+ color: '#016b6a',
2422
+ fontName: 'StagSans',
2423
+ fontWeight: '700'
2424
+ }
2425
+ },
2426
+ {
2427
+ if: { focus: true },
2428
+ tokens: {
2429
+ backgroundColor: '#ffffff',
2430
+ borderColor: '#016b6a',
2431
+ borderWidth: 3,
2432
+ color: '#016b6a'
2433
+ }
2434
+ },
2435
+ {
2436
+ if: { focus: true, pressed: true },
2437
+ tokens: {
2438
+ backgroundColor: '#016b6a',
2439
+ borderColor: '#016b6a',
2440
+ color: '#ffffff'
2441
+ }
2442
+ },
2443
+ {
2444
+ if: { hover: true },
2445
+ tokens: {
2446
+ backgroundColor: '#1b4746',
2447
+ borderColor: '#016b6a',
2448
+ color: '#016b6a'
2449
+ }
2450
+ },
2451
+ {
2452
+ if: { pressed: true },
2453
+ tokens: {
2454
+ backgroundColor: '#efefef',
2455
+ borderColor: '#016b6a',
2456
+ borderWidth: 1,
2457
+ color: '#016b6a'
2458
+ }
2459
+ },
2460
+ {
2461
+ if: { viewport: [ 'xs', 'sm', 'md' ] },
2462
+ tokens: { textAlign: 'flex-start', width: 288 }
2463
+ },
2464
+ {
2465
+ if: { expanded: true },
2466
+ tokens: { icoMenu: PaletteIconChevronUp }
2467
+ }
2468
+ ],
2469
+ tokens: {
2470
+ alignSelf: 'flex-start',
2471
+ backgroundColor: '#ffffff',
2472
+ borderColor: '#ffffff',
2473
+ borderRadius: 32,
2474
+ borderWidth: 1,
2475
+ color: '#efefef',
2476
+ fontName: 'StagSans',
2477
+ fontSize: 14,
2478
+ fontWeight: '400',
2479
+ icoMenu: PaletteIconChevronDown,
2480
+ lineHeight: 1.14285714286,
2481
+ minWidth: 0,
2482
+ opacity: 1,
2483
+ outerBackgroundColor: 'rgba(0, 0, 0, 0)',
2484
+ outerBorderColor: 'rgba(0, 0, 0, 0)',
2485
+ outerBorderGap: 0,
2486
+ outerBorderWidth: 1,
2487
+ paddingBottom: 8,
2488
+ paddingLeft: 16,
2489
+ paddingRight: 16,
2490
+ paddingTop: 8,
2491
+ shadow: null,
2492
+ textAlign: 'center',
2493
+ width: 0
2494
+ }
2495
+ },
2346
2496
  Notification: {
2347
2497
  appearances: {
2348
2498
  style: { type: 'state', values: [ 'success', 'warning', 'error' ] },
@@ -2700,18 +2850,95 @@ module.exports = {
2700
2850
  }
2701
2851
  },
2702
2852
  PriceLockup: {
2703
- appearances: {},
2704
- rules: [],
2853
+ appearances: {
2854
+ size: { type: 'variant', values: [ 'small', 'medium', 'large' ] },
2855
+ viewport: {
2856
+ description: 'The size label for the current screen viewport based on the current screen width',
2857
+ type: 'state',
2858
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
2859
+ }
2860
+ },
2861
+ rules: [
2862
+ {
2863
+ if: { size: 'small' },
2864
+ tokens: {
2865
+ amountFontSize: 36,
2866
+ centsFontSize: 20,
2867
+ centsLineHeight: 1.25,
2868
+ currencySymbolFontSize: 20,
2869
+ currencySymbolLineHeight: 1,
2870
+ rateFontSize: 16,
2871
+ rateLineHeight: 1.14285714286,
2872
+ topTextFontSize: 14,
2873
+ topTextLineHeight: 2.25
2874
+ }
2875
+ },
2876
+ {
2877
+ if: { size: 'large' },
2878
+ tokens: {
2879
+ amountFontSize: 54,
2880
+ centsFontName: 'StagSans',
2881
+ centsFontSize: 24,
2882
+ centsFontWeight: '600',
2883
+ centsLineHeight: 1.25,
2884
+ currencySymbolFontSize: 32,
2885
+ currencySymbolLineHeight: 1,
2886
+ rateFontName: 'StagSans',
2887
+ rateFontSize: 16,
2888
+ rateFontWeight: '600',
2889
+ rateLineHeight: 2,
2890
+ topTextFontSize: 16,
2891
+ topTextLineHeight: 2.25
2892
+ }
2893
+ },
2894
+ {
2895
+ if: { size: 'large', viewport: [ 'lg', 'xl' ] },
2896
+ tokens: {
2897
+ centsFontName: 'StagSans',
2898
+ centsFontSize: 32,
2899
+ centsFontWeight: '700'
2900
+ }
2901
+ }
2902
+ ],
2705
2903
  tokens: {
2904
+ amountFontName: 'StagSans',
2905
+ amountFontSize: 44,
2906
+ amountFontWeight: '700',
2907
+ amountLetterSpacing: 0,
2908
+ amountLineHeight: 1,
2706
2909
  bottomLinksMarginLeft: 4,
2707
- bottomTextMarginTop: 4,
2708
- dividerColor: '#666666',
2910
+ bottomTextFontSize: 14,
2911
+ bottomTextLineHeight: 1.14285714286,
2912
+ bottomTextMarginTop: 0,
2913
+ centsFontName: 'StagSans',
2914
+ centsFontSize: 24,
2915
+ centsFontWeight: '700',
2916
+ centsLineHeight: 1.2,
2917
+ currencySymbolFontName: 'StagSans',
2918
+ currencySymbolFontSize: 24,
2919
+ currencySymbolFontWeight: '700',
2920
+ currencySymbolLineHeight: 1.2,
2921
+ dividerColor: null,
2709
2922
  fontColor: '#000000',
2923
+ fontName: 'StagSans',
2924
+ fontWeight: '700',
2710
2925
  footnoteGap: 4,
2926
+ footnoteLinkColor: '#016b6a',
2927
+ footnoteLinkFontName: 'StagSans',
2928
+ footnoteLinkFontSize: 14,
2929
+ footnoteLinkFontWeight: '600',
2711
2930
  footnoteMarginTop: 4,
2712
- priceMarginBottom: 8,
2713
- strikeThroughBackground: '#efefef',
2931
+ priceMarginBottom: 0,
2932
+ rateFontName: 'StagSans',
2933
+ rateFontSize: 16,
2934
+ rateFontWeight: '700',
2935
+ rateLineHeight: 1.25,
2936
+ strikeThroughColor: '#000000',
2714
2937
  strikeThroughHeight: 2,
2938
+ topTextFontName: 'StagSans',
2939
+ topTextFontSize: 16,
2940
+ topTextFontWeight: '700',
2941
+ topTextLineHeight: 1.5,
2715
2942
  topTextMarginBottom: 4
2716
2943
  }
2717
2944
  },
@@ -3242,30 +3469,47 @@ module.exports = {
3242
3469
  purpose: {
3243
3470
  type: 'variant',
3244
3471
  values: [ 'offer', 'default', 'editorial' ]
3245
- }
3472
+ },
3473
+ wrap: { type: 'variant', values: [ true ] }
3246
3474
  },
3247
- rules: [],
3475
+ rules: [
3476
+ {
3477
+ if: { purpose: 'editorial' },
3478
+ tokens: { backgroundColor: '#fbaf34' }
3479
+ },
3480
+ {
3481
+ if: { purpose: 'offer' },
3482
+ tokens: { backgroundColor: '#7c1366', fontColor: '#ffffff' }
3483
+ },
3484
+ {
3485
+ if: { wrap: true },
3486
+ tokens: { paddingBottom: 6, paddingTop: 6 }
3487
+ }
3488
+ ],
3248
3489
  tokens: {
3249
- backgroundColor: '#000000',
3490
+ backgroundColor: '#c3efff',
3250
3491
  borderRadius: 4,
3251
- boxShadowColor: '#000000',
3252
- boxShadowPaddingBottom: 2,
3253
- boxShadowPaddingLeft: 2,
3254
- boxShadowPaddingRight: 2,
3255
- boxShadowPaddingTop: 2,
3256
- curveAfterBackgroundColor: '#000000',
3257
- curveAfterHeight: 4,
3258
- curveAfterRadius: 8,
3259
- curveAfterWidth: 8,
3260
- curveBackgroundColor: '#000000',
3261
- curveHeight: 10,
3262
- curveMarginTop: 4,
3263
- curveWidth: 8,
3492
+ borderRadiusBottomLeft: null,
3493
+ borderRadiusBottomRight: null,
3494
+ boxShadowColor: null,
3495
+ boxShadowPaddingBottom: null,
3496
+ boxShadowPaddingLeft: null,
3497
+ boxShadowPaddingRight: null,
3498
+ boxShadowPaddingTop: null,
3499
+ curveAfterBackgroundColor: null,
3500
+ curveAfterHeight: null,
3501
+ curveAfterRadius: null,
3502
+ curveAfterWidth: null,
3503
+ curveBackgroundColor: null,
3504
+ curveHeight: null,
3505
+ curveMarginTop: null,
3506
+ curveWidth: null,
3507
+ fontColor: '#000000',
3264
3508
  gradient: null,
3265
- paddingBottom: 4,
3266
- paddingLeft: 8,
3267
- paddingRight: 8,
3268
- paddingTop: 4
3509
+ paddingBottom: 2,
3510
+ paddingLeft: 12,
3511
+ paddingRight: 12,
3512
+ paddingTop: 2
3269
3513
  }
3270
3514
  },
3271
3515
  Search: {
@@ -3862,23 +4106,26 @@ module.exports = {
3862
4106
  ],
3863
4107
  tokens: {
3864
4108
  cellBackground: '#ffffff',
3865
- cellBoxShadowColor: '#000000',
3866
- cellHeadingBackground: '#000000',
3867
- cellHeadingBoxShadowColor: '#000000',
4109
+ cellBoxShadowColor: '#efefef',
4110
+ cellHeadingBackground: '#c1f2e8',
4111
+ cellHeadingBoxShadowColor: '#efefef',
3868
4112
  cellPaddingBottom: 16,
3869
4113
  cellPaddingLeft: 16,
3870
4114
  cellPaddingRight: 16,
3871
4115
  cellPaddingTop: 16,
3872
4116
  cellRowHeadingBackground: '#ffffff',
3873
4117
  cellStickyShadow: {
3874
- blur: 8,
3875
- color: 'rgba(0, 0, 0, 0.1)',
3876
- inset: false,
4118
+ blur: 1,
4119
+ color: 'rgba(255, 255, 255, 0.8)',
4120
+ inset: true,
3877
4121
  offsetX: 0,
3878
- offsetY: 4,
4122
+ offsetY: 1,
3879
4123
  spread: 0
3880
4124
  },
3881
- cellSubheadingBackground: '#000000',
4125
+ cellSubheadingBackground: '#fafafa',
4126
+ fontName: 'StagSans',
4127
+ fontSize: 16,
4128
+ fontWeight: '600',
3882
4129
  tablePaddingBottom: 24
3883
4130
  }
3884
4131
  },
@@ -4794,6 +5041,44 @@ module.exports = {
4794
5041
  width: 64
4795
5042
  }
4796
5043
  },
5044
+ VideoPicker: {
5045
+ appearances: {},
5046
+ rules: [],
5047
+ tokens: {
5048
+ framedContainerBackgroundColor: 'rgba(0, 0, 0, 0)',
5049
+ framedContainerBorderColor: 'rgba(0, 0, 0, 0)',
5050
+ framedContainerBorderRadius: 4,
5051
+ framedContainerBorderWidth: 1,
5052
+ framedContainerPadding: 24,
5053
+ framedMaxHeight: 640,
5054
+ stackViewDividerColor: 'rgba(0, 0, 0, 0)'
5055
+ }
5056
+ },
5057
+ VideoPickerSlider: {
5058
+ appearances: {},
5059
+ rules: [],
5060
+ tokens: {
5061
+ nextIcon: PaletteIconArrowRight,
5062
+ previousIcon: PaletteIconArrowLeft
5063
+ }
5064
+ },
5065
+ VideoPickerThumbnail: {
5066
+ appearances: {},
5067
+ rules: [],
5068
+ tokens: {
5069
+ borderColor: 'rgba(0, 0, 0, 0)',
5070
+ borderRadius: 4,
5071
+ borderWidth: 2,
5072
+ pressableBorderTopColor: 'rgba(0, 0, 0, 0)',
5073
+ pressableBorderTopWidth: 1,
5074
+ pressablePaddingBottom: 16,
5075
+ pressablePaddingHorizontal: 24,
5076
+ pressablePaddingVertical: 16,
5077
+ splashButtonRadius: 4,
5078
+ subTitleColor: 'rgba(0, 0, 0, 0)',
5079
+ titleColor: 'rgba(0, 0, 0, 0)'
5080
+ }
5081
+ },
4797
5082
  VideoProgressBar: {
4798
5083
  appearances: {},
4799
5084
  rules: [],
@@ -4893,5 +5178,5 @@ module.exports = {
4893
5178
  tokens: { size: 96 }
4894
5179
  }
4895
5180
  },
4896
- metadata: { name: 'theme-koodo', themeTokensVersion: '2.24.0' }
5181
+ metadata: { name: 'theme-koodo', themeTokensVersion: '2.25.0' }
4897
5182
  }
package/package.json CHANGED
@@ -5,8 +5,8 @@
5
5
  },
6
6
  "description": "Koodo theme",
7
7
  "devDependencies": {
8
- "@telus-uds/palette-koodo": "^0.14.0",
9
- "@telus-uds/system-theme-tokens": "^2.24.0"
8
+ "@telus-uds/palette-koodo": "^0.15.0",
9
+ "@telus-uds/system-theme-tokens": "^2.25.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.14.0"
23
+ "@telus-uds/palette-koodo": "^0.15.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": "3.25.0"
34
+ "version": "3.26.0"
35
35
  }