@telus-uds/theme-koodo 5.14.0 → 5.16.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.
Files changed (247) hide show
  1. package/build/android/ActionCard.json +148 -0
  2. package/build/android/ExpandCollapseControl.json +1 -1
  3. package/build/android/ExpandCollapsePanel.json +4 -1
  4. package/build/android/List.json +6 -0
  5. package/build/android/Notification.json +5 -0
  6. package/build/android/Typography.json +28 -9
  7. package/build/android/schema.json +1068 -689
  8. package/build/android/theme.json +193 -12
  9. package/build/ios/ActionCard.json +148 -0
  10. package/build/ios/ExpandCollapseControl.json +1 -1
  11. package/build/ios/ExpandCollapsePanel.json +4 -1
  12. package/build/ios/List.json +6 -0
  13. package/build/ios/Notification.json +5 -0
  14. package/build/ios/Typography.json +28 -9
  15. package/build/ios/schema.json +1068 -689
  16. package/build/ios/theme.json +193 -12
  17. package/build/rn/ActionCard.js +92 -0
  18. package/build/rn/ActivityIndicator.js +1 -1
  19. package/build/rn/Badge.js +1 -1
  20. package/build/rn/BlockQuote.js +1 -1
  21. package/build/rn/Box.js +1 -1
  22. package/build/rn/Breadcrumbs.js +1 -1
  23. package/build/rn/Button.js +1 -1
  24. package/build/rn/ButtonDropdown.js +1 -1
  25. package/build/rn/ButtonGroup.js +1 -1
  26. package/build/rn/ButtonGroupItem.js +1 -1
  27. package/build/rn/Callout.js +1 -1
  28. package/build/rn/Card.js +1 -1
  29. package/build/rn/CardGroup.js +1 -1
  30. package/build/rn/Carousel.js +1 -1
  31. package/build/rn/CarouselTabsPanelItem.js +1 -1
  32. package/build/rn/CarouselThumbnail.js +1 -1
  33. package/build/rn/Checkbox.js +1 -1
  34. package/build/rn/CheckboxCard.js +1 -1
  35. package/build/rn/CheckboxCardGroup.js +1 -1
  36. package/build/rn/CheckboxGroup.js +1 -1
  37. package/build/rn/ChevronLink.js +1 -1
  38. package/build/rn/ColourToggle.js +1 -1
  39. package/build/rn/Countdown.js +1 -1
  40. package/build/rn/DatePicker.js +1 -1
  41. package/build/rn/Disclaimer.js +1 -1
  42. package/build/rn/Divider.js +1 -1
  43. package/build/rn/ExpandCollapse.js +1 -1
  44. package/build/rn/ExpandCollapseControl.js +25 -2
  45. package/build/rn/ExpandCollapseMini.js +1 -1
  46. package/build/rn/ExpandCollapseMiniControl.js +1 -1
  47. package/build/rn/ExpandCollapsePanel.js +5 -2
  48. package/build/rn/Feedback.js +1 -1
  49. package/build/rn/Fieldset.js +1 -1
  50. package/build/rn/Footnote.js +1 -1
  51. package/build/rn/FootnoteLink.js +1 -1
  52. package/build/rn/HorizontalScrollButton.js +1 -1
  53. package/build/rn/Icon.js +1 -1
  54. package/build/rn/IconButton.js +1 -1
  55. package/build/rn/Image.js +1 -1
  56. package/build/rn/InputLabel.js +1 -1
  57. package/build/rn/InputSupports.js +1 -1
  58. package/build/rn/Link.js +1 -1
  59. package/build/rn/List.js +2 -1
  60. package/build/rn/Listbox.js +1 -1
  61. package/build/rn/Modal.js +1 -1
  62. package/build/rn/MultiSelectFilter.js +1 -1
  63. package/build/rn/NavigationBar.js +1 -1
  64. package/build/rn/Notification.js +9 -3
  65. package/build/rn/OrderedList.js +1 -1
  66. package/build/rn/Pagination.js +1 -1
  67. package/build/rn/PaginationPageButton.js +1 -1
  68. package/build/rn/PaginationSideButton.js +1 -1
  69. package/build/rn/PreviewCard.js +1 -1
  70. package/build/rn/PriceLockup.js +1 -1
  71. package/build/rn/ProductCard.js +1 -1
  72. package/build/rn/Progress.js +1 -1
  73. package/build/rn/ProgressBar.js +1 -1
  74. package/build/rn/QuantitySelector.js +1 -1
  75. package/build/rn/QuantitySelectorSideButton.js +1 -1
  76. package/build/rn/QuickLinks.js +1 -1
  77. package/build/rn/QuickLinksButton.js +1 -1
  78. package/build/rn/QuickLinksCard.js +1 -1
  79. package/build/rn/QuickLinksFeature.js +1 -1
  80. package/build/rn/QuickLinksFeatureItem.js +1 -1
  81. package/build/rn/QuickLinksList.js +1 -1
  82. package/build/rn/Radio.js +1 -1
  83. package/build/rn/RadioCard.js +1 -1
  84. package/build/rn/RadioCardGroup.js +1 -1
  85. package/build/rn/RadioGroup.js +1 -1
  86. package/build/rn/Ribbon.js +1 -1
  87. package/build/rn/Search.js +1 -1
  88. package/build/rn/SearchButton.js +1 -1
  89. package/build/rn/Select.js +1 -1
  90. package/build/rn/SideNav.js +1 -1
  91. package/build/rn/SideNavItem.js +1 -1
  92. package/build/rn/SideNavItemsGroup.js +1 -1
  93. package/build/rn/Skeleton.js +1 -1
  94. package/build/rn/SkipLink.js +1 -1
  95. package/build/rn/Spinner.js +1 -1
  96. package/build/rn/SplashButton.js +1 -1
  97. package/build/rn/SplashButtonWithDetails.js +1 -1
  98. package/build/rn/StackView.js +1 -1
  99. package/build/rn/StepTracker.js +1 -1
  100. package/build/rn/StoryCard.js +1 -1
  101. package/build/rn/Table.js +1 -1
  102. package/build/rn/Tabs.js +1 -1
  103. package/build/rn/TabsItem.js +1 -1
  104. package/build/rn/Tags.js +1 -1
  105. package/build/rn/TagsItem.js +1 -1
  106. package/build/rn/TermsAndConditions.js +1 -1
  107. package/build/rn/Testimonial.js +1 -1
  108. package/build/rn/TextArea.js +1 -1
  109. package/build/rn/TextInput.js +1 -1
  110. package/build/rn/Timeline.js +1 -1
  111. package/build/rn/Toast.js +1 -1
  112. package/build/rn/ToggleSwitch.js +1 -1
  113. package/build/rn/ToggleSwitchGroup.js +1 -1
  114. package/build/rn/Tooltip.js +1 -1
  115. package/build/rn/TooltipButton.js +1 -1
  116. package/build/rn/Typography.js +13 -8
  117. package/build/rn/Video.js +1 -1
  118. package/build/rn/VideoButton.js +1 -1
  119. package/build/rn/VideoControlBar.js +1 -1
  120. package/build/rn/VideoMenu.js +1 -1
  121. package/build/rn/VideoMiddleControlButton.js +1 -1
  122. package/build/rn/VideoPicker.js +1 -1
  123. package/build/rn/VideoPickerSlider.js +1 -1
  124. package/build/rn/VideoPickerThumbnail.js +1 -1
  125. package/build/rn/VideoProgressBar.js +1 -1
  126. package/build/rn/VideoVolumeSlider.js +1 -1
  127. package/build/rn/WaffleGrid.js +1 -1
  128. package/build/rn/schema.json +1068 -689
  129. package/build/rn/spacingScale.js +1 -1
  130. package/build/rn/theme.js +135 -16
  131. package/build/web/ActionCard.js +92 -0
  132. package/build/web/ActivityIndicator.js +1 -1
  133. package/build/web/Badge.js +1 -1
  134. package/build/web/BlockQuote.js +1 -1
  135. package/build/web/Box.js +1 -1
  136. package/build/web/Breadcrumbs.js +1 -1
  137. package/build/web/Button.js +1 -1
  138. package/build/web/ButtonDropdown.js +1 -1
  139. package/build/web/ButtonGroup.js +1 -1
  140. package/build/web/ButtonGroupItem.js +1 -1
  141. package/build/web/Callout.js +1 -1
  142. package/build/web/Card.js +1 -1
  143. package/build/web/CardGroup.js +1 -1
  144. package/build/web/Carousel.js +1 -1
  145. package/build/web/CarouselTabsPanelItem.js +1 -1
  146. package/build/web/CarouselThumbnail.js +1 -1
  147. package/build/web/Checkbox.js +1 -1
  148. package/build/web/CheckboxCard.js +1 -1
  149. package/build/web/CheckboxCardGroup.js +1 -1
  150. package/build/web/CheckboxGroup.js +1 -1
  151. package/build/web/ChevronLink.js +1 -1
  152. package/build/web/ColourToggle.js +1 -1
  153. package/build/web/Countdown.js +1 -1
  154. package/build/web/DatePicker.js +1 -1
  155. package/build/web/Disclaimer.js +1 -1
  156. package/build/web/Divider.js +1 -1
  157. package/build/web/ExpandCollapse.js +1 -1
  158. package/build/web/ExpandCollapseControl.js +25 -2
  159. package/build/web/ExpandCollapseMini.js +1 -1
  160. package/build/web/ExpandCollapseMiniControl.js +1 -1
  161. package/build/web/ExpandCollapsePanel.js +5 -2
  162. package/build/web/Feedback.js +1 -1
  163. package/build/web/Fieldset.js +1 -1
  164. package/build/web/Footnote.js +1 -1
  165. package/build/web/FootnoteLink.js +1 -1
  166. package/build/web/HorizontalScrollButton.js +1 -1
  167. package/build/web/Icon.js +1 -1
  168. package/build/web/IconButton.js +1 -1
  169. package/build/web/Image.js +1 -1
  170. package/build/web/InputLabel.js +1 -1
  171. package/build/web/InputSupports.js +1 -1
  172. package/build/web/Link.js +1 -1
  173. package/build/web/List.js +2 -1
  174. package/build/web/Listbox.js +1 -1
  175. package/build/web/Modal.js +1 -1
  176. package/build/web/MultiSelectFilter.js +1 -1
  177. package/build/web/NavigationBar.js +1 -1
  178. package/build/web/Notification.js +9 -3
  179. package/build/web/OrderedList.js +1 -1
  180. package/build/web/Pagination.js +1 -1
  181. package/build/web/PaginationPageButton.js +1 -1
  182. package/build/web/PaginationSideButton.js +1 -1
  183. package/build/web/PreviewCard.js +1 -1
  184. package/build/web/PriceLockup.js +1 -1
  185. package/build/web/ProductCard.js +1 -1
  186. package/build/web/Progress.js +1 -1
  187. package/build/web/ProgressBar.js +1 -1
  188. package/build/web/QuantitySelector.js +1 -1
  189. package/build/web/QuantitySelectorSideButton.js +1 -1
  190. package/build/web/QuickLinks.js +1 -1
  191. package/build/web/QuickLinksButton.js +1 -1
  192. package/build/web/QuickLinksCard.js +1 -1
  193. package/build/web/QuickLinksFeature.js +1 -1
  194. package/build/web/QuickLinksFeatureItem.js +1 -1
  195. package/build/web/QuickLinksList.js +1 -1
  196. package/build/web/Radio.js +1 -1
  197. package/build/web/RadioCard.js +1 -1
  198. package/build/web/RadioCardGroup.js +1 -1
  199. package/build/web/RadioGroup.js +1 -1
  200. package/build/web/Ribbon.js +1 -1
  201. package/build/web/Search.js +1 -1
  202. package/build/web/SearchButton.js +1 -1
  203. package/build/web/Select.js +1 -1
  204. package/build/web/SideNav.js +1 -1
  205. package/build/web/SideNavItem.js +1 -1
  206. package/build/web/SideNavItemsGroup.js +1 -1
  207. package/build/web/Skeleton.js +1 -1
  208. package/build/web/SkipLink.js +1 -1
  209. package/build/web/Spinner.js +1 -1
  210. package/build/web/SplashButton.js +1 -1
  211. package/build/web/SplashButtonWithDetails.js +1 -1
  212. package/build/web/StackView.js +1 -1
  213. package/build/web/StepTracker.js +1 -1
  214. package/build/web/StoryCard.js +1 -1
  215. package/build/web/Table.js +1 -1
  216. package/build/web/Tabs.js +1 -1
  217. package/build/web/TabsItem.js +1 -1
  218. package/build/web/Tags.js +1 -1
  219. package/build/web/TagsItem.js +1 -1
  220. package/build/web/TermsAndConditions.js +1 -1
  221. package/build/web/Testimonial.js +1 -1
  222. package/build/web/TextArea.js +1 -1
  223. package/build/web/TextInput.js +1 -1
  224. package/build/web/Timeline.js +1 -1
  225. package/build/web/Toast.js +1 -1
  226. package/build/web/ToggleSwitch.js +1 -1
  227. package/build/web/ToggleSwitchGroup.js +1 -1
  228. package/build/web/Tooltip.js +1 -1
  229. package/build/web/TooltipButton.js +1 -1
  230. package/build/web/Typography.js +13 -8
  231. package/build/web/Video.js +1 -1
  232. package/build/web/VideoButton.js +1 -1
  233. package/build/web/VideoControlBar.js +1 -1
  234. package/build/web/VideoMenu.js +1 -1
  235. package/build/web/VideoMiddleControlButton.js +1 -1
  236. package/build/web/VideoPicker.js +1 -1
  237. package/build/web/VideoPickerSlider.js +1 -1
  238. package/build/web/VideoPickerThumbnail.js +1 -1
  239. package/build/web/VideoProgressBar.js +1 -1
  240. package/build/web/VideoVolumeSlider.js +1 -1
  241. package/build/web/WaffleGrid.js +1 -1
  242. package/build/web/index.js +2 -1
  243. package/build/web/schema.json +1068 -689
  244. package/build/web/spacingScale.js +1 -1
  245. package/build/web/theme.js +135 -16
  246. package/package.json +4 -4
  247. package/theme.json +152 -11
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,10 +1,13 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
8
+ import PaletteIconArrowRight from '@telus-uds/palette-koodo/build/rn/icons/ArrowRight'
9
+ import PaletteIconExclamationTriangle from '@telus-uds/palette-koodo/build/rn/icons/ExclamationTriangle'
10
+ import PaletteIconExclamationOctagon from '@telus-uds/palette-koodo/build/rn/icons/ExclamationOctagon'
8
11
  import PaletteIconChevronRight from '@telus-uds/palette-koodo/build/rn/icons/ChevronRight'
9
12
  import PaletteIconChevronDown from '@telus-uds/palette-koodo/build/rn/icons/ChevronDown'
10
13
  import PaletteIconChevronUp from '@telus-uds/palette-koodo/build/rn/icons/ChevronUp'
@@ -13,7 +16,6 @@ import PaletteIconPause from '@telus-uds/palette-koodo/build/rn/icons/Pause'
13
16
  import PaletteIconPlay from '@telus-uds/palette-koodo/build/rn/icons/Play'
14
17
  import PaletteIconChevronLeft from '@telus-uds/palette-koodo/build/rn/icons/ChevronLeft'
15
18
  import PaletteIconCheckCircleFilled from '@telus-uds/palette-koodo/build/rn/icons/CheckCircleFilled'
16
- import PaletteIconExclamationOctagon from '@telus-uds/palette-koodo/build/rn/icons/ExclamationOctagon'
17
19
  import PaletteIconClose from '@telus-uds/palette-koodo/build/rn/icons/Close'
18
20
  import PaletteIconAdd from '@telus-uds/palette-koodo/build/rn/icons/Add'
19
21
  import PaletteIconSubtract from '@telus-uds/palette-koodo/build/rn/icons/Subtract'
@@ -21,7 +23,6 @@ import PaletteIconExpand from '@telus-uds/palette-koodo/build/rn/icons/Expand'
21
23
  import PaletteIconPlayVideo from '@telus-uds/palette-koodo/build/rn/icons/PlayVideo'
22
24
  import PaletteIconBulletFill from '@telus-uds/palette-koodo/build/rn/icons/BulletFill'
23
25
  import PaletteIconTimes from '@telus-uds/palette-koodo/build/rn/icons/Times'
24
- import PaletteIconExclamationTriangle from '@telus-uds/palette-koodo/build/rn/icons/ExclamationTriangle'
25
26
  import PaletteIconSpyglass from '@telus-uds/palette-koodo/build/rn/icons/Spyglass'
26
27
  import PaletteIconPlaySolid from '@telus-uds/palette-koodo/build/rn/icons/PlaySolid'
27
28
  import PaletteIconQuoteLeft from '@telus-uds/palette-koodo/build/rn/icons/QuoteLeft'
@@ -39,12 +40,92 @@ import PaletteIconClosedCaptions from '@telus-uds/palette-koodo/build/rn/icons/C
39
40
  import PaletteIconFullscreenExpand from '@telus-uds/palette-koodo/build/rn/icons/FullscreenExpand'
40
41
  import PaletteIconFullscreenMinimize from '@telus-uds/palette-koodo/build/rn/icons/FullscreenMinimize'
41
42
  import PaletteIconSettingsSolid from '@telus-uds/palette-koodo/build/rn/icons/SettingsSolid'
42
- import PaletteIconArrowRight from '@telus-uds/palette-koodo/build/rn/icons/ArrowRight'
43
43
  import PaletteIconArrowLeft from '@telus-uds/palette-koodo/build/rn/icons/ArrowLeft'
44
44
  import PaletteIconMuted from '@telus-uds/palette-koodo/build/rn/icons/Muted'
45
45
  import PaletteIconUnmuted from '@telus-uds/palette-koodo/build/rn/icons/Unmuted'
46
46
  const theme = {
47
47
  components: {
48
+ ActionCard: {
49
+ appearances: {
50
+ hover: {
51
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
52
+ platforms: [ 'rn', 'web' ],
53
+ type: 'state',
54
+ values: [ true, false ]
55
+ },
56
+ validation: {
57
+ description: 'Validation states for form inputs',
58
+ type: 'state',
59
+ values: [ 'error', 'success', 'warning' ]
60
+ }
61
+ },
62
+ rules: [
63
+ { if: { hover: true }, tokens: { actionIconTranslate: 4 } },
64
+ {
65
+ if: { validation: 'warning' },
66
+ tokens: {
67
+ actionIconMarginLeft: 8,
68
+ backgroundColor: '#fff5d2',
69
+ borderColor: '#f8c100',
70
+ statusIcon: PaletteIconExclamationTriangle,
71
+ statusIconColor: '#c9370b'
72
+ }
73
+ },
74
+ {
75
+ if: { validation: 'error' },
76
+ tokens: {
77
+ actionIconMarginLeft: 8,
78
+ backgroundColor: '#fcd3c6',
79
+ borderColor: '#c9370b',
80
+ statusIcon: PaletteIconExclamationOctagon,
81
+ statusIconColor: '#c9370b'
82
+ }
83
+ }
84
+ ],
85
+ tokens: {
86
+ actionIcon: PaletteIconArrowRight,
87
+ actionIconColor: '#000000',
88
+ actionIconMarginBottom: 8,
89
+ actionIconMarginLeft: 0,
90
+ actionIconMarginRight: 0,
91
+ actionIconMarginTop: 8,
92
+ actionIconTranslate: 4,
93
+ backgroundColor: null,
94
+ borderColor: null,
95
+ borderRadius: null,
96
+ borderWidth: null,
97
+ contentFontColor: '#000000',
98
+ contentFontName: 'StagSans',
99
+ contentFontSize: 16,
100
+ contentFontWeight: '400',
101
+ contentLineHeight: 1.25,
102
+ contentMarginBottom: 8,
103
+ contentMarginLeft: 0,
104
+ contentMarginRight: 0,
105
+ contentMarginTop: 0,
106
+ iconBackgroundColor: 'rgba(0, 0, 0, 0.05)',
107
+ iconColor: '#000000',
108
+ iconMarginBottom: 0,
109
+ iconMarginLeft: 0,
110
+ iconMarginRight: 8,
111
+ iconMarginTop: 0,
112
+ paddingBottom: 16,
113
+ paddingLeft: 16,
114
+ paddingRight: 16,
115
+ paddingTop: 16,
116
+ statusIcon: null,
117
+ statusIconColor: null,
118
+ titleFontColor: '#000000',
119
+ titleFontName: 'StagSans',
120
+ titleFontSize: 16,
121
+ titleFontWeight: '700',
122
+ titleLineHeight: 1.5,
123
+ titleMarginBottom: 8,
124
+ titleMarginLeft: 0,
125
+ titleMarginRight: 8,
126
+ titleMarginTop: 8
127
+ }
128
+ },
48
129
  ActivityIndicator: {
49
130
  appearances: {
50
131
  size: {
@@ -2327,7 +2408,7 @@ const theme = {
2327
2408
  if: { mini: true },
2328
2409
  tokens: {
2329
2410
  borderColor: 'rgba(0, 0, 0, 0)',
2330
- borderWidth: 0,
2411
+ borderWidth: null,
2331
2412
  icon: PaletteIconChevronDown,
2332
2413
  iconColor: '#000000',
2333
2414
  iconGap: 8,
@@ -2357,6 +2438,17 @@ const theme = {
2357
2438
  borderWidth: 2
2358
2439
  }
2359
2440
  },
2441
+ {
2442
+ if: { focus: true, mini: true },
2443
+ tokens: {
2444
+ borderBottomLeftRadius: 4,
2445
+ borderBottomRightRadius: 4,
2446
+ borderColor: '#000000',
2447
+ borderTopLeftRadius: 4,
2448
+ borderTopRightRadius: 4,
2449
+ borderWidth: null
2450
+ }
2451
+ },
2360
2452
  {
2361
2453
  if: { hover: true },
2362
2454
  tokens: { backgroundColor: 'rgba(0, 0, 0, 0.1)' }
@@ -2377,6 +2469,18 @@ const theme = {
2377
2469
  borderWidth: 2
2378
2470
  }
2379
2471
  },
2472
+ {
2473
+ if: { focus: true, mini: true, pressed: true },
2474
+ tokens: {
2475
+ backgroundColor: 'rgba(0, 0, 0, 0.2)',
2476
+ borderBottomLeftRadius: 4,
2477
+ borderBottomRightRadius: 4,
2478
+ borderColor: '#000000',
2479
+ borderTopLeftRadius: 4,
2480
+ borderTopRightRadius: 4,
2481
+ borderWidth: null
2482
+ }
2483
+ },
2380
2484
  { if: { compact: true }, tokens: {} }
2381
2485
  ],
2382
2486
  tokens: {
@@ -2482,7 +2586,10 @@ const theme = {
2482
2586
  contentPaddingLeft: 0,
2483
2587
  contentPaddingRight: 0,
2484
2588
  contentPaddingTop: 0,
2485
- contentPanelBackgroundColor: 'rgba(0, 0, 0, 0)'
2589
+ contentPanelBackgroundColor: 'rgba(0, 0, 0, 0)',
2590
+ contentPanelPaddingBottom: 0,
2591
+ contentPanelPaddingTop: 0,
2592
+ marginBottom: 0
2486
2593
  }
2487
2594
  }
2488
2595
  ],
@@ -3390,6 +3497,7 @@ const theme = {
3390
3497
  itemIconColor: '#ff0076',
3391
3498
  itemIconSize: 16,
3392
3499
  itemLineHeight: 1.3,
3500
+ itemTextColor: '#000000',
3393
3501
  listGutter: 10
3394
3502
  }
3395
3503
  },
@@ -3977,8 +4085,12 @@ const theme = {
3977
4085
  },
3978
4086
  rules: [
3979
4087
  {
3980
- if: { viewport: [ 'xl' ] },
3981
- tokens: { justifyContent: 'center' }
4088
+ if: { system: true, viewport: [ 'xl' ] },
4089
+ tokens: {
4090
+ containerPaddingLeft: 16,
4091
+ containerPaddingRight: 16,
4092
+ justifyContent: 'center'
4093
+ }
3982
4094
  },
3983
4095
  {
3984
4096
  if: { system: true },
@@ -4097,6 +4209,8 @@ const theme = {
4097
4209
  borderRightWidth: 1,
4098
4210
  borderTopWidth: 1,
4099
4211
  color: '#000000',
4212
+ containerPaddingLeft: 16,
4213
+ containerPaddingRight: 16,
4100
4214
  dismissButtonGap: 24,
4101
4215
  dismissIcon: PaletteIconClose,
4102
4216
  dismissIconColor: '#000000',
@@ -7238,17 +7352,18 @@ const theme = {
7238
7352
  textTransform: 'uppercase'
7239
7353
  }
7240
7354
  },
7241
- {
7242
- if: { compact: true, size: 'large' },
7243
- tokens: { lineHeight: 1.2 }
7244
- },
7245
7355
  {
7246
7356
  if: { size: 'medium' },
7247
7357
  tokens: { fontSize: 16, lineHeight: 1.5 }
7248
7358
  },
7359
+ { if: { compact: true }, tokens: { lineHeight: 1.25 } },
7360
+ {
7361
+ if: { compact: true, size: 'large' },
7362
+ tokens: { lineHeight: 1.2 }
7363
+ },
7249
7364
  {
7250
- if: { compact: true, size: 'medium' },
7251
- tokens: { lineHeight: 1.25 }
7365
+ if: { bold: true, compact: true, size: 'large' },
7366
+ tokens: { lineHeight: 1.2 }
7252
7367
  },
7253
7368
  {
7254
7369
  if: { size: 'small' },
@@ -7264,7 +7379,11 @@ const theme = {
7264
7379
  },
7265
7380
  {
7266
7381
  if: { compact: true, size: 'micro' },
7267
- tokens: { lineHeight: 1.33333333333 }
7382
+ tokens: { lineHeight: 1.2 }
7383
+ },
7384
+ {
7385
+ if: { bold: true, compact: true, size: 'micro' },
7386
+ tokens: { lineHeight: 1.2 }
7268
7387
  },
7269
7388
  {
7270
7389
  if: { size: 'display1' },
@@ -7660,6 +7779,6 @@ const theme = {
7660
7779
  tokens: { size: 96 }
7661
7780
  }
7662
7781
  },
7663
- metadata: { name: 'theme-koodo', themeTokensVersion: '2.56.0' }
7782
+ metadata: { name: 'theme-koodo', themeTokensVersion: '2.58.0' }
7664
7783
  }
7665
7784
  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.3.0",
9
- "@telus-uds/system-theme-tokens": "^2.56.0"
8
+ "@telus-uds/palette-koodo": "^1.5.0",
9
+ "@telus-uds/system-theme-tokens": "^2.58.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.3.0"
23
+ "@telus-uds/palette-koodo": "^1.5.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.14.0"
34
+ "version": "5.16.0"
35
35
  }
package/theme.json CHANGED
@@ -1,5 +1,88 @@
1
1
  {
2
2
  "components": {
3
+ "ActionCard": {
4
+ "appearances": {
5
+ "hover": "{appearances.ActionCard.hover}",
6
+ "validation": "{appearances.ActionCard.validation}"
7
+ },
8
+ "rules": [
9
+ {
10
+ "if": {
11
+ "hover": true
12
+ },
13
+ "tokens": {
14
+ "actionIconTranslate": "{palette.size.size4}"
15
+ }
16
+ },
17
+ {
18
+ "if": {
19
+ "validation": "warning"
20
+ },
21
+ "tokens": {
22
+ "actionIconMarginLeft": "{palette.size.size8}",
23
+ "backgroundColor": "{palette.color.cautionLight}",
24
+ "borderColor": "{palette.color.caution}",
25
+ "statusIcon": "{palette.icon.ExclamationTriangle}",
26
+ "statusIconColor": "{palette.color.danger}"
27
+ }
28
+ },
29
+ {
30
+ "if": {
31
+ "validation": "error"
32
+ },
33
+ "tokens": {
34
+ "actionIconMarginLeft": "{palette.size.size8}",
35
+ "backgroundColor": "{palette.color.dangerLight}",
36
+ "borderColor": "{palette.color.danger}",
37
+ "statusIcon": "{palette.icon.ExclamationOctagon}",
38
+ "statusIconColor": "{palette.color.danger}"
39
+ }
40
+ }
41
+ ],
42
+ "tokens": {
43
+ "actionIcon": "{palette.icon.ArrowRight}",
44
+ "actionIconColor": "{palette.color.black}",
45
+ "actionIconMarginBottom": "{palette.size.size8}",
46
+ "actionIconMarginLeft": "{palette.size.size0}",
47
+ "actionIconMarginRight": "{palette.size.size0}",
48
+ "actionIconMarginTop": "{palette.size.size8}",
49
+ "actionIconTranslate": "{palette.size.size4}",
50
+ "backgroundColor": "{system.color.none}",
51
+ "borderColor": "{system.color.none}",
52
+ "borderRadius": "{system.radius.none}",
53
+ "borderWidth": "{system.border.none}",
54
+ "contentFontColor": "{palette.color.black}",
55
+ "contentFontName": "{palette.fontName.StagSans}",
56
+ "contentFontSize": "{palette.fontSize.size16}",
57
+ "contentFontWeight": "{palette.fontWeight.weight400}",
58
+ "contentLineHeight": "{palette.lineHeight.ratio5to4}",
59
+ "contentMarginBottom": "{palette.size.size8}",
60
+ "contentMarginLeft": "{palette.size.size0}",
61
+ "contentMarginRight": "{palette.size.size0}",
62
+ "contentMarginTop": "{palette.size.size0}",
63
+ "iconBackgroundColor": "{palette.color.dark5}",
64
+ "iconColor": "{palette.color.black}",
65
+ "iconMarginBottom": "{palette.size.size0}",
66
+ "iconMarginLeft": "{palette.size.size0}",
67
+ "iconMarginRight": "{palette.size.size8}",
68
+ "iconMarginTop": "{palette.size.size0}",
69
+ "paddingBottom": "{palette.size.size16}",
70
+ "paddingLeft": "{palette.size.size16}",
71
+ "paddingRight": "{palette.size.size16}",
72
+ "paddingTop": "{palette.size.size16}",
73
+ "statusIcon": "{system.icon.none}",
74
+ "statusIconColor": "{system.color.none}",
75
+ "titleFontColor": "{palette.color.black}",
76
+ "titleFontName": "{palette.fontName.StagSans}",
77
+ "titleFontSize": "{palette.fontSize.size16}",
78
+ "titleFontWeight": "{palette.fontWeight.weight700}",
79
+ "titleLineHeight": "{palette.lineHeight.ratio3to2}",
80
+ "titleMarginBottom": "{palette.size.size8}",
81
+ "titleMarginLeft": "{palette.size.size0}",
82
+ "titleMarginRight": "{palette.size.size8}",
83
+ "titleMarginTop": "{palette.size.size8}"
84
+ }
85
+ },
3
86
  "ActivityIndicator": {
4
87
  "appearances": {
5
88
  "size": {
@@ -2868,7 +2951,7 @@
2868
2951
  },
2869
2952
  "tokens": {
2870
2953
  "borderColor": "{palette.color.transparent}",
2871
- "borderWidth": "{system.border.zero}",
2954
+ "borderWidth": "{system.border.none}",
2872
2955
  "icon": "{palette.icon.ChevronDown}",
2873
2956
  "iconColor": "{palette.color.black}",
2874
2957
  "iconGap": "{palette.size.size8}",
@@ -2904,6 +2987,20 @@
2904
2987
  "borderWidth": "{palette.border.border2}"
2905
2988
  }
2906
2989
  },
2990
+ {
2991
+ "if": {
2992
+ "focus": true,
2993
+ "mini": true
2994
+ },
2995
+ "tokens": {
2996
+ "borderBottomLeftRadius": "{palette.radius.radius4}",
2997
+ "borderBottomRightRadius": "{palette.radius.radius4}",
2998
+ "borderColor": "{palette.color.black}",
2999
+ "borderTopLeftRadius": "{palette.radius.radius4}",
3000
+ "borderTopRightRadius": "{palette.radius.radius4}",
3001
+ "borderWidth": "{system.border.none}"
3002
+ }
3003
+ },
2907
3004
  {
2908
3005
  "if": {
2909
3006
  "hover": true
@@ -2935,6 +3032,22 @@
2935
3032
  "borderWidth": "{palette.border.border2}"
2936
3033
  }
2937
3034
  },
3035
+ {
3036
+ "if": {
3037
+ "focus": true,
3038
+ "mini": true,
3039
+ "pressed": true
3040
+ },
3041
+ "tokens": {
3042
+ "backgroundColor": "{palette.color.dark20}",
3043
+ "borderBottomLeftRadius": "{palette.radius.radius4}",
3044
+ "borderBottomRightRadius": "{palette.radius.radius4}",
3045
+ "borderColor": "{palette.color.black}",
3046
+ "borderTopLeftRadius": "{palette.radius.radius4}",
3047
+ "borderTopRightRadius": "{palette.radius.radius4}",
3048
+ "borderWidth": "{system.border.none}"
3049
+ }
3050
+ },
2938
3051
  {
2939
3052
  "if": {
2940
3053
  "compact": true
@@ -3096,7 +3209,10 @@
3096
3209
  "contentPaddingLeft": "{palette.size.size0}",
3097
3210
  "contentPaddingRight": "{palette.size.size0}",
3098
3211
  "contentPaddingTop": "{palette.size.size0}",
3099
- "contentPanelBackgroundColor": "{palette.color.transparent}"
3212
+ "contentPanelBackgroundColor": "{palette.color.transparent}",
3213
+ "contentPanelPaddingBottom": "{palette.size.size0}",
3214
+ "contentPanelPaddingTop": "{palette.size.size0}",
3215
+ "marginBottom": "{palette.size.size0}"
3100
3216
  }
3101
3217
  }
3102
3218
  ],
@@ -4534,6 +4650,7 @@
4534
4650
  "itemIconColor": "{palette.color.pink}",
4535
4651
  "itemIconSize": "{palette.size.size16}",
4536
4652
  "itemLineHeight": "{palette.lineHeight.multiply130}",
4653
+ "itemTextColor": "{palette.color.black}",
4537
4654
  "listGutter": "{palette.size.size10}"
4538
4655
  }
4539
4656
  },
@@ -5141,9 +5258,12 @@
5141
5258
  "rules": [
5142
5259
  {
5143
5260
  "if": {
5261
+ "system": true,
5144
5262
  "viewport": ["xl"]
5145
5263
  },
5146
5264
  "tokens": {
5265
+ "containerPaddingLeft": "{palette.size.size16}",
5266
+ "containerPaddingRight": "{palette.size.size16}",
5147
5267
  "justifyContent": "{system.flexJustifyContent.center}"
5148
5268
  }
5149
5269
  },
@@ -5282,6 +5402,8 @@
5282
5402
  "borderRightWidth": "{palette.border.border1}",
5283
5403
  "borderTopWidth": "{palette.border.border1}",
5284
5404
  "color": "{palette.color.black}",
5405
+ "containerPaddingLeft": "{palette.size.size16}",
5406
+ "containerPaddingRight": "{palette.size.size16}",
5285
5407
  "dismissButtonGap": "{palette.size.size24}",
5286
5408
  "dismissIcon": "{palette.icon.Close}",
5287
5409
  "dismissIconColor": "{palette.color.black}",
@@ -8777,29 +8899,38 @@
8777
8899
  },
8778
8900
  {
8779
8901
  "if": {
8780
- "compact": true,
8781
- "size": "large"
8902
+ "size": "medium"
8782
8903
  },
8783
8904
  "tokens": {
8784
- "lineHeight": "{palette.lineHeight.ratio6to5}"
8905
+ "fontSize": "{palette.fontSize.size16}",
8906
+ "lineHeight": "{palette.lineHeight.ratio3to2}"
8785
8907
  }
8786
8908
  },
8787
8909
  {
8788
8910
  "if": {
8789
- "size": "medium"
8911
+ "compact": true
8790
8912
  },
8791
8913
  "tokens": {
8792
- "fontSize": "{palette.fontSize.size16}",
8793
- "lineHeight": "{palette.lineHeight.ratio3to2}"
8914
+ "lineHeight": "{palette.lineHeight.ratio5to4}"
8794
8915
  }
8795
8916
  },
8796
8917
  {
8797
8918
  "if": {
8798
8919
  "compact": true,
8799
- "size": "medium"
8920
+ "size": "large"
8800
8921
  },
8801
8922
  "tokens": {
8802
- "lineHeight": "{palette.lineHeight.ratio5to4}"
8923
+ "lineHeight": "{palette.lineHeight.ratio6to5}"
8924
+ }
8925
+ },
8926
+ {
8927
+ "if": {
8928
+ "bold": true,
8929
+ "compact": true,
8930
+ "size": "large"
8931
+ },
8932
+ "tokens": {
8933
+ "lineHeight": "{palette.lineHeight.ratio6to5}"
8803
8934
  }
8804
8935
  },
8805
8936
  {
@@ -8835,7 +8966,17 @@
8835
8966
  "size": "micro"
8836
8967
  },
8837
8968
  "tokens": {
8838
- "lineHeight": "{palette.lineHeight.ratio4to3}"
8969
+ "lineHeight": "{palette.lineHeight.ratio6to5}"
8970
+ }
8971
+ },
8972
+ {
8973
+ "if": {
8974
+ "bold": true,
8975
+ "compact": true,
8976
+ "size": "micro"
8977
+ },
8978
+ "tokens": {
8979
+ "lineHeight": "{palette.lineHeight.ratio6to5}"
8839
8980
  }
8840
8981
  },
8841
8982
  {