@telus-uds/theme-koodo 3.7.1 → 3.8.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 Wed, 28 Dec 2022 20:53:49 GMT
4
+ * Generated on Thu, 09 Feb 2023 23:33:13 GMT
5
5
  *
6
6
  */
7
7
 
@@ -313,6 +313,7 @@ module.exports = {
313
313
  borderRadius: 4,
314
314
  borderWidth: 0,
315
315
  color: '#ffffff',
316
+ dividerColor: '#016b6a',
316
317
  fontName: 'StagSans',
317
318
  fontSize: 14,
318
319
  fontWeight: '600',
@@ -339,6 +340,7 @@ module.exports = {
339
340
  paddingRight: 16,
340
341
  paddingTop: 8,
341
342
  shadow: null,
343
+ subtitleColor: '#014847',
342
344
  textAlign: 'center',
343
345
  width: null
344
346
  }
@@ -370,6 +372,11 @@ module.exports = {
370
372
  type: 'state',
371
373
  values: [ true ]
372
374
  },
375
+ iconPosition: {
376
+ description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
377
+ type: 'state',
378
+ values: [ 'left', 'right' ]
379
+ },
373
380
  inactive: {
374
381
  description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
375
382
  type: 'state',
@@ -433,7 +440,8 @@ module.exports = {
433
440
  {
434
441
  if: { focus: true, selected: true },
435
442
  tokens: { outerBorderColor: '#014847' }
436
- }
443
+ },
444
+ { if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } }
437
445
  ],
438
446
  tokens: {
439
447
  alignSelf: 'flex-start',
@@ -445,9 +453,10 @@ module.exports = {
445
453
  fontName: 'StagSans',
446
454
  fontSize: 14,
447
455
  fontWeight: '600',
456
+ height: 36,
448
457
  iconSize: 20,
449
458
  iconSpace: 3,
450
- lineHeight: 1.5,
459
+ lineHeight: 1.4,
451
460
  minWidth: 0,
452
461
  opacity: 1,
453
462
  outerBackgroundColor: 'rgba(0, 0, 0, 0)',
@@ -1027,11 +1036,16 @@ module.exports = {
1027
1036
  rules: [
1028
1037
  {
1029
1038
  if: { size: 'large' },
1030
- tokens: { itemFontSize: 20, itemLineHeight: 1.4, listGutter: 16 }
1039
+ tokens: {
1040
+ itemFontSize: 20,
1041
+ itemIconSize: 20,
1042
+ itemLineHeight: 1.4,
1043
+ listGutter: 16
1044
+ }
1031
1045
  },
1032
1046
  {
1033
1047
  if: { size: 'small' },
1034
- tokens: { itemFontSize: 14, listGutter: 10 }
1048
+ tokens: { itemFontSize: 14, itemIconSize: 14, listGutter: 10 }
1035
1049
  },
1036
1050
  { if: { compact: true }, tokens: { itemLineHeight: 1.2 } },
1037
1051
  {
@@ -2995,5 +3009,5 @@ module.exports = {
2995
3009
  tokens: { size: 96 }
2996
3010
  }
2997
3011
  },
2998
- metadata: { name: 'theme-koodo', themeTokensVersion: '2.9.0' }
3012
+ metadata: { name: 'theme-koodo', themeTokensVersion: '2.10.0' }
2999
3013
  }
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "description": "Koodo theme",
7
7
  "devDependencies": {
8
8
  "@telus-uds/palette-koodo": "^0.2.1",
9
- "@telus-uds/system-theme-tokens": "^2.9.0"
9
+ "@telus-uds/system-theme-tokens": "^2.10.0"
10
10
  },
11
11
  "files": [
12
12
  "build",
@@ -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.7.1"
34
+ "version": "3.8.0"
35
35
  }
package/theme.json CHANGED
@@ -354,6 +354,7 @@
354
354
  "borderRadius": "{palette.radius.radius4}",
355
355
  "borderWidth": "{palette.border.none}",
356
356
  "color": "{palette.color.white}",
357
+ "dividerColor": "{palette.color.mosque}",
357
358
  "fontName": "{palette.fontName.StagSans}",
358
359
  "fontSize": "{palette.fontSize.size14}",
359
360
  "fontWeight": "{palette.fontWeight.weight600}",
@@ -380,6 +381,7 @@
380
381
  "paddingRight": "{palette.size.size16}",
381
382
  "paddingTop": "{palette.size.size8}",
382
383
  "shadow": "{system.shadow.none}",
384
+ "subtitleColor": "{palette.color.darkMosque}",
383
385
  "textAlign": "{system.flexJustifyContent.center}",
384
386
  "width": "{system.size.none}"
385
387
  }
@@ -401,6 +403,7 @@
401
403
  "appearances": {
402
404
  "focus": "{appearances.ButtonGroupItem.focus}",
403
405
  "hover": "{appearances.ButtonGroupItem.hover}",
406
+ "iconPosition": "{appearances.Link.iconPosition}",
404
407
  "inactive": "{appearances.ButtonGroupItem.inactive}",
405
408
  "pressed": "{appearances.ButtonGroupItem.pressed}",
406
409
  "selected": "{appearances.ButtonGroupItem.selected}"
@@ -481,6 +484,14 @@
481
484
  "tokens": {
482
485
  "outerBorderColor": "{palette.color.darkMosque}"
483
486
  }
487
+ },
488
+ {
489
+ "if": {
490
+ "iconPosition": "right"
491
+ },
492
+ "tokens": {
493
+ "iconSpace": "{system.integer.1}"
494
+ }
484
495
  }
485
496
  ],
486
497
  "tokens": {
@@ -493,9 +504,10 @@
493
504
  "fontName": "{palette.fontName.StagSans}",
494
505
  "fontSize": "{palette.fontSize.size14}",
495
506
  "fontWeight": "{palette.fontWeight.weight600}",
507
+ "height": "{palette.size.size36}",
496
508
  "iconSize": "{palette.size.size20}",
497
509
  "iconSpace": "{system.integer.3}",
498
- "lineHeight": "{palette.lineHeight.multiply150}",
510
+ "lineHeight": "{palette.lineHeight.multiply140}",
499
511
  "minWidth": "{system.size.zero}",
500
512
  "opacity": "{system.opacity.opaque}",
501
513
  "outerBackgroundColor": "{palette.color.transparent}",
@@ -1130,6 +1142,7 @@
1130
1142
  },
1131
1143
  "tokens": {
1132
1144
  "itemFontSize": "{palette.fontSize.size20}",
1145
+ "itemIconSize": "{palette.size.size20}",
1133
1146
  "itemLineHeight": "{palette.lineHeight.multiply140}",
1134
1147
  "listGutter": "{palette.size.size16}"
1135
1148
  }
@@ -1140,6 +1153,7 @@
1140
1153
  },
1141
1154
  "tokens": {
1142
1155
  "itemFontSize": "{palette.fontSize.size14}",
1156
+ "itemIconSize": "{palette.size.size14}",
1143
1157
  "listGutter": "{palette.size.size10}"
1144
1158
  }
1145
1159
  },