@telus-uds/theme-koodo 3.11.0 → 3.12.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 Thu, 02 Mar 2023 22:28:35 GMT
4
+ * Generated on Tue, 07 Mar 2023 21:06:01 GMT
5
5
  *
6
6
  */
7
7
 
@@ -179,8 +179,8 @@ module.exports = {
179
179
  {
180
180
  if: { hover: true },
181
181
  tokens: {
182
- backgroundColor: '#014847',
183
- borderColor: '#014847',
182
+ backgroundColor: '#1b4746',
183
+ borderColor: '#1b4746',
184
184
  color: '#ffffff'
185
185
  }
186
186
  },
@@ -340,7 +340,7 @@ module.exports = {
340
340
  },
341
341
  {
342
342
  if: { hover: true },
343
- tokens: { backgroundColor: '#014847', iconColor: '#014847' }
343
+ tokens: { backgroundColor: '#1b4746', iconColor: '#1b4746' }
344
344
  },
345
345
  {
346
346
  if: { selected: true },
@@ -375,13 +375,13 @@ module.exports = {
375
375
  },
376
376
  {
377
377
  if: { focus: true, selected: true },
378
- tokens: { outerBorderColor: '#014847' }
378
+ tokens: { outerBorderColor: '#1b4746' }
379
379
  }
380
380
  ],
381
381
  tokens: {
382
382
  alignSelf: 'flex-start',
383
383
  backgroundColor: '#016b6a',
384
- borderColor: '#014847',
384
+ borderColor: '#1b4746',
385
385
  borderRadius: 4,
386
386
  borderWidth: 0,
387
387
  color: '#ffffff',
@@ -412,7 +412,7 @@ module.exports = {
412
412
  paddingRight: 16,
413
413
  paddingTop: 8,
414
414
  shadow: null,
415
- subtitleColor: '#014847',
415
+ subtitleColor: '#1b4746',
416
416
  textAlign: 'center',
417
417
  width: null
418
418
  }
@@ -478,7 +478,7 @@ module.exports = {
478
478
  if: { focus: true },
479
479
  tokens: { outerBorderColor: '#016b6a' }
480
480
  },
481
- { if: { hover: true }, tokens: { backgroundColor: '#014847' } },
481
+ { if: { hover: true }, tokens: { backgroundColor: '#1b4746' } },
482
482
  {
483
483
  if: { selected: true },
484
484
  tokens: {
@@ -511,14 +511,14 @@ module.exports = {
511
511
  },
512
512
  {
513
513
  if: { focus: true, selected: true },
514
- tokens: { outerBorderColor: '#014847' }
514
+ tokens: { outerBorderColor: '#1b4746' }
515
515
  },
516
516
  { if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } }
517
517
  ],
518
518
  tokens: {
519
519
  alignSelf: 'flex-start',
520
520
  backgroundColor: '#016b6a',
521
- borderColor: '#014847',
521
+ borderColor: '#1b4746',
522
522
  borderRadius: 4,
523
523
  borderWidth: 0,
524
524
  color: '#ffffff',
@@ -649,9 +649,9 @@ module.exports = {
649
649
  {
650
650
  if: { pressed: true },
651
651
  tokens: {
652
- borderBottomColor: '#014847',
652
+ borderBottomColor: '#1b4746',
653
653
  borderBottomWidth: 2,
654
- color: '#014847'
654
+ color: '#1b4746'
655
655
  }
656
656
  },
657
657
  {
@@ -757,13 +757,88 @@ module.exports = {
757
757
  },
758
758
  CheckboxGroup: { appearances: {}, rules: [], tokens: { fieldSpace: 2, space: 2 } },
759
759
  ChevronLink: {
760
- appearances: {},
761
- rules: [],
760
+ appearances: {
761
+ alternative: { type: 'variant', values: [ true ] },
762
+ focus: {
763
+ 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.",
764
+ platforms: [ 'rn' ],
765
+ type: 'state',
766
+ values: [ true ]
767
+ },
768
+ hover: {
769
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
770
+ platforms: [ 'rn' ],
771
+ type: 'state',
772
+ values: [ true ]
773
+ },
774
+ inverse: { type: 'variant', values: [ true ] },
775
+ pressed: {
776
+ 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.',
777
+ type: 'state',
778
+ values: [ true ]
779
+ },
780
+ size: {
781
+ description: 'Sets the size of the text and icon; these variants are shared with ChevronLink',
782
+ type: 'variant',
783
+ values: [ 'large', 'small', 'micro' ]
784
+ }
785
+ },
786
+ rules: [
787
+ { if: { hover: true }, tokens: { color: '#1b4746' } },
788
+ { if: { pressed: true }, tokens: { color: '#595959' } },
789
+ {
790
+ if: { focus: true },
791
+ tokens: { color: '#016b6a', outerBorderColor: '#016b6a' }
792
+ },
793
+ {
794
+ if: { focus: true, pressed: true },
795
+ tokens: { color: '#1b4746', outerBorderColor: '#1b4746' }
796
+ },
797
+ { if: { alternative: true }, tokens: { color: '#666666' } },
798
+ {
799
+ if: { alternative: true, hover: true },
800
+ tokens: { color: '#5c5c5c' }
801
+ },
802
+ {
803
+ if: { alternative: true, pressed: true },
804
+ tokens: { color: '#595959' }
805
+ },
806
+ {
807
+ if: { alternative: true, focus: true },
808
+ tokens: { color: '#666666', outerBorderColor: '#666666' }
809
+ },
810
+ {
811
+ if: { alternative: true, focus: true, pressed: true },
812
+ tokens: { color: '#5c5c5c', outerBorderColor: '#5c5c5c' }
813
+ },
814
+ { if: { inverse: true }, tokens: { color: '#e5f7fb' } },
815
+ {
816
+ if: { hover: true, inverse: true },
817
+ tokens: { color: '#bbeaf5' }
818
+ },
819
+ {
820
+ if: { inverse: true, pressed: true },
821
+ tokens: { color: '#c9c8c8' }
822
+ },
823
+ {
824
+ if: { focus: true, inverse: true },
825
+ tokens: { color: '#e5f7fb', outerBorderColor: '#e5f7fb' }
826
+ },
827
+ {
828
+ if: { focus: true, inverse: true, pressed: true },
829
+ tokens: { color: '#bbeaf5', outerBorderColor: '#bbeaf5' }
830
+ },
831
+ { if: { size: 'large' }, tokens: { iconSize: 24 } },
832
+ { if: { size: 'small' }, tokens: { iconSize: 20 } },
833
+ { if: { size: 'micro' }, tokens: { iconSize: 16 } }
834
+ ],
762
835
  tokens: {
763
- iconDisplace: 4,
836
+ color: '#016b6a',
837
+ iconDisplace: 0,
764
838
  iconSize: 24,
765
- iconSpace: 0,
839
+ iconSpace: 1,
766
840
  leftIcon: PaletteIconChevronLeft,
841
+ outerBorderColor: 'rgba(0, 0, 0, 0)',
767
842
  rightIcon: PaletteIconChevronRight,
768
843
  textLine: 'none'
769
844
  }
@@ -926,8 +1001,8 @@ module.exports = {
926
1001
  if: { hover: true },
927
1002
  tokens: {
928
1003
  backgroundColor: '#f9f6a5',
929
- borderColor: '#014847',
930
- iconColor: '#014847'
1004
+ borderColor: '#1b4746',
1005
+ iconColor: '#1b4746'
931
1006
  }
932
1007
  },
933
1008
  {
@@ -1089,7 +1164,7 @@ module.exports = {
1089
1164
  { if: { iconPosition: 'left' }, tokens: { iconSpace: 2 } },
1090
1165
  {
1091
1166
  if: { hover: true },
1092
- tokens: { color: '#014847', textLine: 'none' }
1167
+ tokens: { color: '#1b4746', textLine: 'none' }
1093
1168
  },
1094
1169
  { if: { rank: 'secondary' }, tokens: { color: '#00a1db' } },
1095
1170
  {
@@ -1542,7 +1617,7 @@ module.exports = {
1542
1617
  backgroundColor: '#016b6a',
1543
1618
  borderRadius: 12,
1544
1619
  gradient: null,
1545
- outlineColor: '#014847',
1620
+ outlineColor: '#1b4746',
1546
1621
  outlineWidth: 1
1547
1622
  }
1548
1623
  },
@@ -1593,8 +1668,8 @@ module.exports = {
1593
1668
  {
1594
1669
  if: { hover: true },
1595
1670
  tokens: {
1596
- backgroundColor: '#014847',
1597
- borderColor: '#014847',
1671
+ backgroundColor: '#1b4746',
1672
+ borderColor: '#1b4746',
1598
1673
  color: '#ffffff'
1599
1674
  }
1600
1675
  },
@@ -1869,7 +1944,7 @@ module.exports = {
1869
1944
  tokens: {
1870
1945
  outerBorderColor: '#efefef',
1871
1946
  outerBorderWidth: 2,
1872
- radioInputBorderColor: '#014847'
1947
+ radioInputBorderColor: '#1b4746'
1873
1948
  }
1874
1949
  },
1875
1950
  {
@@ -1879,7 +1954,7 @@ module.exports = {
1879
1954
  backgroundColor: '#efefef',
1880
1955
  outerBorderColor: '#efefef',
1881
1956
  outerBorderWidth: 2,
1882
- radioInputBorderColor: '#014847'
1957
+ radioInputBorderColor: '#1b4746'
1883
1958
  }
1884
1959
  },
1885
1960
  {
@@ -1888,7 +1963,7 @@ module.exports = {
1888
1963
  outerBorderColor: '#666666',
1889
1964
  outerBorderGap: 4,
1890
1965
  outerBorderWidth: 2,
1891
- radioInputBorderColor: '#014847'
1966
+ radioInputBorderColor: '#1b4746'
1892
1967
  }
1893
1968
  },
1894
1969
  {
@@ -2058,8 +2133,8 @@ module.exports = {
2058
2133
  {
2059
2134
  if: { hover: true },
2060
2135
  tokens: {
2061
- backgroundColor: '#014847',
2062
- borderColor: '#014847',
2136
+ backgroundColor: '#1b4746',
2137
+ borderColor: '#1b4746',
2063
2138
  iconColor: '#ffffff'
2064
2139
  }
2065
2140
  },
@@ -2321,7 +2396,7 @@ module.exports = {
2321
2396
  appearances: {},
2322
2397
  rules: [],
2323
2398
  tokens: {
2324
- backgroundColor: '#014847',
2399
+ backgroundColor: '#1b4746',
2325
2400
  borderRadius: 12,
2326
2401
  color: '#ffffff',
2327
2402
  outlineColor: '#016b6a',
@@ -2552,7 +2627,7 @@ module.exports = {
2552
2627
  },
2553
2628
  {
2554
2629
  if: { hover: true },
2555
- tokens: { backgroundColor: '#014847', iconColor: '#014847' }
2630
+ tokens: { backgroundColor: '#1b4746', iconColor: '#1b4746' }
2556
2631
  },
2557
2632
  {
2558
2633
  if: { selected: true },
@@ -2588,13 +2663,13 @@ module.exports = {
2588
2663
  },
2589
2664
  {
2590
2665
  if: { focus: true, selected: true },
2591
- tokens: { outerBorderColor: '#014847' }
2666
+ tokens: { outerBorderColor: '#1b4746' }
2592
2667
  }
2593
2668
  ],
2594
2669
  tokens: {
2595
2670
  alignSelf: 'center',
2596
2671
  backgroundColor: '#016b6a',
2597
- borderColor: '#014847',
2672
+ borderColor: '#1b4746',
2598
2673
  borderRadius: 4,
2599
2674
  borderWidth: 0,
2600
2675
  color: '#ffffff',
@@ -2795,7 +2870,7 @@ module.exports = {
2795
2870
  }
2796
2871
  },
2797
2872
  rules: [
2798
- { if: { hover: true }, tokens: { backgroundColor: '#014847' } },
2873
+ { if: { hover: true }, tokens: { backgroundColor: '#1b4746' } },
2799
2874
  {
2800
2875
  if: { pressed: true },
2801
2876
  tokens: { backgroundColor: '#c3efff' }
@@ -2881,14 +2956,14 @@ module.exports = {
2881
2956
  rules: [
2882
2957
  {
2883
2958
  if: { inverse: true },
2884
- tokens: { backgroundColor: '#ffffff', color: '#014847' }
2959
+ tokens: { backgroundColor: '#ffffff', color: '#1b4746' }
2885
2960
  }
2886
2961
  ],
2887
2962
  tokens: {
2888
2963
  arrowBorderRadius: 0,
2889
2964
  arrowOffset: 4,
2890
2965
  arrowWidth: 8,
2891
- backgroundColor: '#014847',
2966
+ backgroundColor: '#1b4746',
2892
2967
  borderRadius: 4,
2893
2968
  color: '#ffffff',
2894
2969
  fontName: 'StagSans',
@@ -2931,10 +3006,10 @@ module.exports = {
2931
3006
  },
2932
3007
  rules: [
2933
3008
  { if: { hover: true }, tokens: { iconScale: 1.25 } },
2934
- { if: { pressed: true }, tokens: { iconColor: '#014847' } },
3009
+ { if: { pressed: true }, tokens: { iconColor: '#1b4746' } },
2935
3010
  {
2936
3011
  if: { focus: true },
2937
- tokens: { outerBorderColor: '#014847' }
3012
+ tokens: { outerBorderColor: '#1b4746' }
2938
3013
  }
2939
3014
  ],
2940
3015
  tokens: {
@@ -3125,5 +3200,5 @@ module.exports = {
3125
3200
  tokens: { size: 96 }
3126
3201
  }
3127
3202
  },
3128
- metadata: { name: 'theme-koodo', themeTokensVersion: '2.11.0' }
3203
+ metadata: { name: 'theme-koodo', themeTokensVersion: '2.12.0' }
3129
3204
  }
package/package.json CHANGED
@@ -5,8 +5,8 @@
5
5
  },
6
6
  "description": "Koodo theme",
7
7
  "devDependencies": {
8
- "@telus-uds/palette-koodo": "^0.3.0",
9
- "@telus-uds/system-theme-tokens": "^2.11.0"
8
+ "@telus-uds/palette-koodo": "^0.4.0",
9
+ "@telus-uds/system-theme-tokens": "^2.12.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.3.0"
23
+ "@telus-uds/palette-koodo": "^0.4.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.11.0"
34
+ "version": "3.12.0"
35
35
  }