@telus-uds/theme-koodo 7.14.0 → 7.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 (265) hide show
  1. package/build/android/ButtonDropdown.json +66 -5
  2. package/build/android/ExpandCollapseMiniControl.json +1 -0
  3. package/build/android/Icon.json +400 -0
  4. package/build/android/IconButton.json +15 -3
  5. package/build/android/Link.json +69 -8
  6. package/build/android/Listbox.json +4 -4
  7. package/build/android/NavigationBar.json +1 -1
  8. package/build/android/Radio.json +3 -3
  9. package/build/android/TabsItem.json +166 -0
  10. package/build/android/schema.json +413 -287
  11. package/build/android/theme.json +728 -27
  12. package/build/ios/ButtonDropdown.json +66 -5
  13. package/build/ios/ExpandCollapseMiniControl.json +1 -0
  14. package/build/ios/Icon.json +400 -0
  15. package/build/ios/IconButton.json +15 -3
  16. package/build/ios/Link.json +69 -8
  17. package/build/ios/Listbox.json +4 -4
  18. package/build/ios/NavigationBar.json +1 -1
  19. package/build/ios/Radio.json +3 -3
  20. package/build/ios/TabsItem.json +166 -0
  21. package/build/ios/schema.json +413 -287
  22. package/build/ios/theme.json +728 -27
  23. package/build/rn/ActionCard.js +1 -1
  24. package/build/rn/ActivityIndicator.js +1 -1
  25. package/build/rn/Autocomplete.js +1 -1
  26. package/build/rn/Badge.js +1 -1
  27. package/build/rn/BlockQuote.js +1 -1
  28. package/build/rn/Box.js +1 -1
  29. package/build/rn/Breadcrumbs.js +1 -1
  30. package/build/rn/Button.js +1 -1
  31. package/build/rn/ButtonDropdown.js +44 -10
  32. package/build/rn/ButtonGroup.js +1 -1
  33. package/build/rn/ButtonGroupItem.js +1 -1
  34. package/build/rn/Callout.js +1 -1
  35. package/build/rn/Card.js +1 -1
  36. package/build/rn/CardGroup.js +1 -1
  37. package/build/rn/Carousel.js +1 -1
  38. package/build/rn/CarouselTabsPanelItem.js +1 -1
  39. package/build/rn/CarouselThumbnail.js +1 -1
  40. package/build/rn/Checkbox.js +1 -1
  41. package/build/rn/CheckboxCard.js +1 -1
  42. package/build/rn/CheckboxCardGroup.js +1 -1
  43. package/build/rn/CheckboxGroup.js +1 -1
  44. package/build/rn/ChevronLink.js +1 -1
  45. package/build/rn/ColourToggle.js +1 -1
  46. package/build/rn/Countdown.js +1 -1
  47. package/build/rn/DatePicker.js +1 -1
  48. package/build/rn/Disclaimer.js +1 -1
  49. package/build/rn/Divider.js +1 -1
  50. package/build/rn/DownloadApp.js +1 -1
  51. package/build/rn/ExpandCollapse.js +1 -1
  52. package/build/rn/ExpandCollapseControl.js +1 -1
  53. package/build/rn/ExpandCollapseMini.js +1 -1
  54. package/build/rn/ExpandCollapseMiniControl.js +2 -2
  55. package/build/rn/ExpandCollapsePanel.js +1 -1
  56. package/build/rn/Feedback.js +1 -1
  57. package/build/rn/Fieldset.js +1 -1
  58. package/build/rn/FileUpload.js +1 -1
  59. package/build/rn/Footnote.js +1 -1
  60. package/build/rn/FootnoteLink.js +1 -1
  61. package/build/rn/HorizontalScrollButton.js +1 -1
  62. package/build/rn/Icon.js +134 -1
  63. package/build/rn/IconButton.js +11 -3
  64. package/build/rn/Image.js +1 -1
  65. package/build/rn/InputLabel.js +1 -1
  66. package/build/rn/InputSupports.js +1 -1
  67. package/build/rn/Link.js +37 -9
  68. package/build/rn/List.js +1 -1
  69. package/build/rn/Listbox.js +8 -8
  70. package/build/rn/Modal.js +1 -1
  71. package/build/rn/MultiSelectFilter.js +1 -1
  72. package/build/rn/NavigationBar.js +2 -2
  73. package/build/rn/Notification.js +1 -1
  74. package/build/rn/OrderedList.js +1 -1
  75. package/build/rn/Pagination.js +1 -1
  76. package/build/rn/PaginationPageButton.js +1 -1
  77. package/build/rn/PaginationSideButton.js +1 -1
  78. package/build/rn/PreviewCard.js +1 -1
  79. package/build/rn/PriceLockup.js +1 -1
  80. package/build/rn/ProductCard.js +1 -1
  81. package/build/rn/Progress.js +1 -1
  82. package/build/rn/ProgressBar.js +1 -1
  83. package/build/rn/QuantitySelector.js +1 -1
  84. package/build/rn/QuantitySelectorSideButton.js +1 -1
  85. package/build/rn/QuickLinks.js +1 -1
  86. package/build/rn/QuickLinksButton.js +1 -1
  87. package/build/rn/QuickLinksCard.js +1 -1
  88. package/build/rn/QuickLinksFeature.js +1 -1
  89. package/build/rn/QuickLinksFeatureItem.js +5 -1
  90. package/build/rn/QuickLinksList.js +1 -1
  91. package/build/rn/Radio.js +5 -5
  92. package/build/rn/RadioCard.js +1 -1
  93. package/build/rn/RadioCardGroup.js +1 -1
  94. package/build/rn/RadioGroup.js +1 -1
  95. package/build/rn/Ribbon.js +1 -1
  96. package/build/rn/Search.js +1 -1
  97. package/build/rn/SearchButton.js +1 -1
  98. package/build/rn/Select.js +1 -1
  99. package/build/rn/SideNav.js +1 -1
  100. package/build/rn/SideNavItem.js +1 -1
  101. package/build/rn/SideNavItemsGroup.js +1 -1
  102. package/build/rn/Skeleton.js +1 -1
  103. package/build/rn/SkipLink.js +1 -1
  104. package/build/rn/Spinner.js +1 -1
  105. package/build/rn/SplashButton.js +1 -1
  106. package/build/rn/SplashButtonWithDetails.js +1 -1
  107. package/build/rn/StackView.js +1 -1
  108. package/build/rn/Status.js +1 -1
  109. package/build/rn/StepTracker.js +1 -1
  110. package/build/rn/StoryCard.js +1 -1
  111. package/build/rn/TabBar.js +1 -1
  112. package/build/rn/TabBarItem.js +1 -1
  113. package/build/rn/Table.js +1 -1
  114. package/build/rn/Tabs.js +1 -1
  115. package/build/rn/TabsItem.js +104 -3
  116. package/build/rn/Tags.js +1 -1
  117. package/build/rn/TagsItem.js +1 -1
  118. package/build/rn/TermsAndConditions.js +1 -1
  119. package/build/rn/Testimonial.js +1 -1
  120. package/build/rn/TextArea.js +1 -1
  121. package/build/rn/TextInput.js +1 -1
  122. package/build/rn/Timeline.js +1 -1
  123. package/build/rn/Toast.js +1 -1
  124. package/build/rn/ToggleSwitch.js +1 -1
  125. package/build/rn/ToggleSwitchGroup.js +1 -1
  126. package/build/rn/Tooltip.js +1 -1
  127. package/build/rn/TooltipButton.js +1 -1
  128. package/build/rn/Typography.js +1 -1
  129. package/build/rn/Video.js +1 -1
  130. package/build/rn/VideoButton.js +1 -1
  131. package/build/rn/VideoControlBar.js +1 -1
  132. package/build/rn/VideoMenu.js +1 -1
  133. package/build/rn/VideoMiddleControlButton.js +1 -1
  134. package/build/rn/VideoPicker.js +1 -1
  135. package/build/rn/VideoPickerSlider.js +1 -1
  136. package/build/rn/VideoPickerThumbnail.js +1 -1
  137. package/build/rn/VideoProgressBar.js +1 -1
  138. package/build/rn/VideoVolumeSlider.js +1 -1
  139. package/build/rn/WaffleGrid.js +1 -1
  140. package/build/rn/schema.json +413 -287
  141. package/build/rn/spacingScale.js +1 -1
  142. package/build/rn/theme.js +348 -35
  143. package/build/web/ActionCard.js +1 -1
  144. package/build/web/ActivityIndicator.js +1 -1
  145. package/build/web/Autocomplete.js +1 -1
  146. package/build/web/Badge.js +1 -1
  147. package/build/web/BlockQuote.js +1 -1
  148. package/build/web/Box.js +1 -1
  149. package/build/web/Breadcrumbs.js +1 -1
  150. package/build/web/Button.js +1 -1
  151. package/build/web/ButtonDropdown.js +44 -10
  152. package/build/web/ButtonGroup.js +1 -1
  153. package/build/web/ButtonGroupItem.js +1 -1
  154. package/build/web/Callout.js +1 -1
  155. package/build/web/Card.js +1 -1
  156. package/build/web/CardGroup.js +1 -1
  157. package/build/web/Carousel.js +1 -1
  158. package/build/web/CarouselTabsPanelItem.js +1 -1
  159. package/build/web/CarouselThumbnail.js +1 -1
  160. package/build/web/Checkbox.js +1 -1
  161. package/build/web/CheckboxCard.js +1 -1
  162. package/build/web/CheckboxCardGroup.js +1 -1
  163. package/build/web/CheckboxGroup.js +1 -1
  164. package/build/web/ChevronLink.js +1 -1
  165. package/build/web/ColourToggle.js +1 -1
  166. package/build/web/Countdown.js +1 -1
  167. package/build/web/DatePicker.js +1 -1
  168. package/build/web/Disclaimer.js +1 -1
  169. package/build/web/Divider.js +1 -1
  170. package/build/web/DownloadApp.js +1 -1
  171. package/build/web/ExpandCollapse.js +1 -1
  172. package/build/web/ExpandCollapseControl.js +1 -1
  173. package/build/web/ExpandCollapseMini.js +1 -1
  174. package/build/web/ExpandCollapseMiniControl.js +2 -2
  175. package/build/web/ExpandCollapsePanel.js +1 -1
  176. package/build/web/Feedback.js +1 -1
  177. package/build/web/Fieldset.js +1 -1
  178. package/build/web/FileUpload.js +1 -1
  179. package/build/web/Footnote.js +1 -1
  180. package/build/web/FootnoteLink.js +1 -1
  181. package/build/web/HorizontalScrollButton.js +1 -1
  182. package/build/web/Icon.js +134 -1
  183. package/build/web/IconButton.js +11 -3
  184. package/build/web/Image.js +1 -1
  185. package/build/web/InputLabel.js +1 -1
  186. package/build/web/InputSupports.js +1 -1
  187. package/build/web/Link.js +37 -9
  188. package/build/web/List.js +1 -1
  189. package/build/web/Listbox.js +8 -8
  190. package/build/web/Modal.js +1 -1
  191. package/build/web/MultiSelectFilter.js +1 -1
  192. package/build/web/NavigationBar.js +2 -2
  193. package/build/web/Notification.js +1 -1
  194. package/build/web/OrderedList.js +1 -1
  195. package/build/web/Pagination.js +1 -1
  196. package/build/web/PaginationPageButton.js +1 -1
  197. package/build/web/PaginationSideButton.js +1 -1
  198. package/build/web/PreviewCard.js +1 -1
  199. package/build/web/PriceLockup.js +1 -1
  200. package/build/web/ProductCard.js +1 -1
  201. package/build/web/Progress.js +1 -1
  202. package/build/web/ProgressBar.js +1 -1
  203. package/build/web/QuantitySelector.js +1 -1
  204. package/build/web/QuantitySelectorSideButton.js +1 -1
  205. package/build/web/QuickLinks.js +1 -1
  206. package/build/web/QuickLinksButton.js +1 -1
  207. package/build/web/QuickLinksCard.js +1 -1
  208. package/build/web/QuickLinksFeature.js +1 -1
  209. package/build/web/QuickLinksFeatureItem.js +5 -1
  210. package/build/web/QuickLinksList.js +1 -1
  211. package/build/web/Radio.js +5 -5
  212. package/build/web/RadioCard.js +1 -1
  213. package/build/web/RadioCardGroup.js +1 -1
  214. package/build/web/RadioGroup.js +1 -1
  215. package/build/web/Ribbon.js +1 -1
  216. package/build/web/Search.js +1 -1
  217. package/build/web/SearchButton.js +1 -1
  218. package/build/web/Select.js +1 -1
  219. package/build/web/SideNav.js +1 -1
  220. package/build/web/SideNavItem.js +1 -1
  221. package/build/web/SideNavItemsGroup.js +1 -1
  222. package/build/web/Skeleton.js +1 -1
  223. package/build/web/SkipLink.js +1 -1
  224. package/build/web/Spinner.js +1 -1
  225. package/build/web/SplashButton.js +1 -1
  226. package/build/web/SplashButtonWithDetails.js +1 -1
  227. package/build/web/StackView.js +1 -1
  228. package/build/web/Status.js +1 -1
  229. package/build/web/StepTracker.js +1 -1
  230. package/build/web/StoryCard.js +1 -1
  231. package/build/web/TabBar.js +1 -1
  232. package/build/web/TabBarItem.js +1 -1
  233. package/build/web/Table.js +1 -1
  234. package/build/web/Tabs.js +1 -1
  235. package/build/web/TabsItem.js +104 -3
  236. package/build/web/Tags.js +1 -1
  237. package/build/web/TagsItem.js +1 -1
  238. package/build/web/TermsAndConditions.js +1 -1
  239. package/build/web/Testimonial.js +1 -1
  240. package/build/web/TextArea.js +1 -1
  241. package/build/web/TextInput.js +1 -1
  242. package/build/web/Timeline.js +1 -1
  243. package/build/web/Toast.js +1 -1
  244. package/build/web/ToggleSwitch.js +1 -1
  245. package/build/web/ToggleSwitchGroup.js +1 -1
  246. package/build/web/Tooltip.js +1 -1
  247. package/build/web/TooltipButton.js +1 -1
  248. package/build/web/Typography.js +1 -1
  249. package/build/web/Video.js +1 -1
  250. package/build/web/VideoButton.js +1 -1
  251. package/build/web/VideoControlBar.js +1 -1
  252. package/build/web/VideoMenu.js +1 -1
  253. package/build/web/VideoMiddleControlButton.js +1 -1
  254. package/build/web/VideoPicker.js +1 -1
  255. package/build/web/VideoPickerSlider.js +1 -1
  256. package/build/web/VideoPickerThumbnail.js +1 -1
  257. package/build/web/VideoProgressBar.js +1 -1
  258. package/build/web/VideoVolumeSlider.js +1 -1
  259. package/build/web/WaffleGrid.js +1 -1
  260. package/build/web/index.js +1 -1
  261. package/build/web/schema.json +413 -287
  262. package/build/web/spacingScale.js +1 -1
  263. package/build/web/theme.js +348 -35
  264. package/package.json +2 -2
  265. package/theme.json +564 -33
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 25 Jul 2025 04:07:57 GMT
4
+ * Generated on Thu, 04 Sep 2025 06:45:02 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 25 Jul 2025 04:07:58 GMT
4
+ * Generated on Thu, 04 Sep 2025 06:45:02 GMT
5
5
  *
6
6
  */
7
7
 
@@ -924,7 +924,9 @@ const theme = {
924
924
  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`.',
925
925
  type: 'state',
926
926
  values: [ true ]
927
- }
927
+ },
928
+ size: { type: 'variant', values: [ 'default', 'small' ] },
929
+ width: { type: 'variant', values: [ 'full' ] }
928
930
  },
929
931
  rules: [
930
932
  {
@@ -941,7 +943,8 @@ const theme = {
941
943
  backgroundColor: '#404040',
942
944
  borderColor: '#404040',
943
945
  color: '#666666',
944
- iconColor: '#666666'
946
+ iconColor: '#666666',
947
+ leadIconColor: '#666666'
945
948
  }
946
949
  },
947
950
  {
@@ -964,7 +967,8 @@ const theme = {
964
967
  backgroundColor: '#c9c8c8',
965
968
  borderColor: '#c9c8c8',
966
969
  color: '#ffffff',
967
- iconColor: '#ffffff'
970
+ iconColor: '#ffffff',
971
+ leadIconColor: '#ffffff'
968
972
  }
969
973
  },
970
974
  {
@@ -973,6 +977,7 @@ const theme = {
973
977
  backgroundColor: '#000000',
974
978
  color: '#ffffff',
975
979
  iconColor: '#ffffff',
980
+ leadIconColor: '#ffffff',
976
981
  outerBorderColor: 'transparent'
977
982
  }
978
983
  },
@@ -995,12 +1000,25 @@ const theme = {
995
1000
  backgroundColor: '#404040',
996
1001
  borderColor: 'rgba(0, 0, 0, 0)',
997
1002
  color: '#666666',
998
- iconColor: '#666666'
1003
+ iconColor: '#666666',
1004
+ leadIconColor: '#666666'
999
1005
  }
1000
1006
  },
1001
1007
  {
1002
1008
  if: { focus: true, pressed: true, selected: true },
1003
1009
  tokens: { backgroundColor: '#404040', outerBorderColor: '#404040' }
1010
+ },
1011
+ {
1012
+ if: { hover: true },
1013
+ tokens: {
1014
+ color: '#ffffff',
1015
+ iconColor: '#ffffff',
1016
+ leadIconColor: '#ffffff'
1017
+ }
1018
+ },
1019
+ {
1020
+ if: { size: 'small' },
1021
+ tokens: { paddingBottom: 4, paddingTop: 4 }
1004
1022
  }
1005
1023
  ],
1006
1024
  tokens: {
@@ -1010,6 +1028,10 @@ const theme = {
1010
1028
  borderRadius: 4,
1011
1029
  borderWidth: 1,
1012
1030
  color: '#000000',
1031
+ descriptionFontName: 'StagSans',
1032
+ descriptionFontSize: 14,
1033
+ descriptionFontWeight: '400',
1034
+ descriptionTextPaddingBottom: 0,
1013
1035
  dividerColor: '#c9c8c8',
1014
1036
  fontName: 'StagSans',
1015
1037
  fontSize: 14,
@@ -1019,12 +1041,22 @@ const theme = {
1019
1041
  iconBackground: 'rgba(0, 0, 0, 0)',
1020
1042
  iconBorderRadius: 32,
1021
1043
  iconColor: '#000000',
1022
- iconPadding: 4,
1044
+ iconPadding: 0,
1023
1045
  iconPosition: 'right',
1024
1046
  iconSize: 20,
1025
- iconSpace: 0,
1047
+ iconSpace: 1,
1026
1048
  iconTranslateX: 0,
1027
1049
  iconTranslateY: 0,
1050
+ leadIcon: null,
1051
+ leadIconBackgroundColor: 'transparent',
1052
+ leadIconBorderRadius: 0,
1053
+ leadIconColor: '#000000',
1054
+ leadIconContainerPaddingBottom: 0,
1055
+ leadIconContainerPaddingLeft: 0,
1056
+ leadIconContainerPaddingRight: 0,
1057
+ leadIconContainerPaddingTop: 0,
1058
+ leadIconPadding: 0,
1059
+ leadIconSize: 24,
1028
1060
  lineHeight: 1.5,
1029
1061
  minWidth: 0,
1030
1062
  opacity: 1,
@@ -1032,13 +1064,15 @@ const theme = {
1032
1064
  outerBorderColor: 'rgba(0, 0, 0, 0)',
1033
1065
  outerBorderGap: 2,
1034
1066
  outerBorderWidth: 1,
1035
- paddingBottom: 8,
1036
- paddingLeft: 24,
1067
+ paddingBottom: 12,
1068
+ paddingLeft: 16,
1037
1069
  paddingRight: 16,
1038
- paddingTop: 8,
1070
+ paddingTop: 12,
1039
1071
  shadow: null,
1040
1072
  subtitleColor: '#000000',
1041
1073
  textAlign: 'center',
1074
+ textPaddingLeft: 8,
1075
+ textPaddingRight: 8,
1042
1076
  width: null
1043
1077
  }
1044
1078
  },
@@ -3163,7 +3197,7 @@ const theme = {
3163
3197
  },
3164
3198
  {
3165
3199
  if: { size: 'large' },
3166
- tokens: { fontSize: 20, lineHeight: 1.4 }
3200
+ tokens: { fontSize: 20, iconSize: 24, lineHeight: 1.4 }
3167
3201
  },
3168
3202
  { if: { quiet: true }, tokens: { textLine: 'none' } },
3169
3203
  {
@@ -3562,6 +3596,10 @@ const theme = {
3562
3596
  description: 'Uses icon colour to communicate meaning to the user',
3563
3597
  type: 'variant',
3564
3598
  values: [ 'success', 'error' ]
3599
+ },
3600
+ style: {
3601
+ type: 'variant',
3602
+ values: [ 'default', 'brand', 'dark', 'light' ]
3565
3603
  }
3566
3604
  },
3567
3605
  rules: [
@@ -3576,6 +3614,15 @@ const theme = {
3576
3614
  if: { padding: 'extraLarge' },
3577
3615
  tokens: { padding: 4, width: 32 }
3578
3616
  },
3617
+ {
3618
+ if: { background: true },
3619
+ tokens: {
3620
+ backgroundColor: '#efefef',
3621
+ borderRadius: 45,
3622
+ padding: 4,
3623
+ width: 8
3624
+ }
3625
+ },
3579
3626
  {
3580
3627
  if: { background: true, padding: 'micro' },
3581
3628
  tokens: {
@@ -3621,6 +3668,126 @@ const theme = {
3621
3668
  width: 32
3622
3669
  }
3623
3670
  },
3671
+ {
3672
+ if: { style: 'default' },
3673
+ tokens: { backgroundColor: '#efefef', borderRadius: 45, padding: 4 }
3674
+ },
3675
+ {
3676
+ if: { style: 'brand' },
3677
+ tokens: { backgroundColor: '#ff0076', borderRadius: 45, padding: 4 }
3678
+ },
3679
+ {
3680
+ if: { style: 'dark' },
3681
+ tokens: {
3682
+ backgroundColor: 'rgba(0, 0, 0, 0.1)',
3683
+ borderRadius: 45,
3684
+ padding: 4
3685
+ }
3686
+ },
3687
+ {
3688
+ if: { style: 'light' },
3689
+ tokens: { backgroundColor: '#ffffff', borderRadius: 45, padding: 4 }
3690
+ },
3691
+ {
3692
+ if: { padding: 'micro', style: 'default' },
3693
+ tokens: { backgroundColor: '#efefef', borderRadius: 45, padding: 4 }
3694
+ },
3695
+ {
3696
+ if: { padding: 'small', style: 'default' },
3697
+ tokens: { backgroundColor: '#efefef', borderRadius: 45, padding: 4 }
3698
+ },
3699
+ {
3700
+ if: { padding: 'medium', style: 'default' },
3701
+ tokens: { backgroundColor: '#efefef', borderRadius: 45, padding: 4 }
3702
+ },
3703
+ {
3704
+ if: { padding: 'large', style: 'default' },
3705
+ tokens: { backgroundColor: '#efefef', borderRadius: 45, padding: 4 }
3706
+ },
3707
+ {
3708
+ if: { padding: 'extraLarge', style: 'default' },
3709
+ tokens: { backgroundColor: '#efefef', borderRadius: 45, padding: 4 }
3710
+ },
3711
+ {
3712
+ if: { padding: 'micro', style: 'brand' },
3713
+ tokens: { backgroundColor: '#ff0076', borderRadius: 45, padding: 4 }
3714
+ },
3715
+ {
3716
+ if: { padding: 'small', style: 'brand' },
3717
+ tokens: { backgroundColor: '#ff0076', borderRadius: 45, padding: 4 }
3718
+ },
3719
+ {
3720
+ if: { padding: 'medium', style: 'brand' },
3721
+ tokens: { backgroundColor: '#ff0076', borderRadius: 45, padding: 4 }
3722
+ },
3723
+ {
3724
+ if: { padding: 'large', style: 'brand' },
3725
+ tokens: { backgroundColor: '#ff0076', borderRadius: 45, padding: 4 }
3726
+ },
3727
+ {
3728
+ if: { padding: 'extraLarge', style: 'brand' },
3729
+ tokens: { backgroundColor: '#ff0076', borderRadius: 45, padding: 4 }
3730
+ },
3731
+ {
3732
+ if: { padding: 'micro', style: 'dark' },
3733
+ tokens: {
3734
+ backgroundColor: 'rgba(0, 0, 0, 0.1)',
3735
+ borderRadius: 45,
3736
+ padding: 4
3737
+ }
3738
+ },
3739
+ {
3740
+ if: { padding: 'small', style: 'dark' },
3741
+ tokens: {
3742
+ backgroundColor: 'rgba(0, 0, 0, 0.1)',
3743
+ borderRadius: 45,
3744
+ padding: 4
3745
+ }
3746
+ },
3747
+ {
3748
+ if: { padding: 'medium', style: 'dark' },
3749
+ tokens: {
3750
+ backgroundColor: 'rgba(0, 0, 0, 0.1)',
3751
+ borderRadius: 45,
3752
+ padding: 4
3753
+ }
3754
+ },
3755
+ {
3756
+ if: { padding: 'large', style: 'dark' },
3757
+ tokens: {
3758
+ backgroundColor: 'rgba(0, 0, 0, 0.1)',
3759
+ borderRadius: 45,
3760
+ padding: 4
3761
+ }
3762
+ },
3763
+ {
3764
+ if: { padding: 'extraLarge', style: 'dark' },
3765
+ tokens: {
3766
+ backgroundColor: 'rgba(0, 0, 0, 0.1)',
3767
+ borderRadius: 45,
3768
+ padding: 4
3769
+ }
3770
+ },
3771
+ {
3772
+ if: { padding: 'micro', style: 'light' },
3773
+ tokens: { backgroundColor: '#ffffff', borderRadius: 45, padding: 4 }
3774
+ },
3775
+ {
3776
+ if: { padding: 'small', style: 'light' },
3777
+ tokens: { backgroundColor: '#ffffff', borderRadius: 45, padding: 4 }
3778
+ },
3779
+ {
3780
+ if: { padding: 'medium', style: 'light' },
3781
+ tokens: { backgroundColor: '#ffffff', borderRadius: 45, padding: 4 }
3782
+ },
3783
+ {
3784
+ if: { padding: 'large', style: 'light' },
3785
+ tokens: { backgroundColor: '#ffffff', borderRadius: 45, padding: 4 }
3786
+ },
3787
+ {
3788
+ if: { padding: 'extraLarge', style: 'light' },
3789
+ tokens: { backgroundColor: '#ffffff', borderRadius: 45, padding: 4 }
3790
+ },
3624
3791
  { if: { size: 'micro' }, tokens: { size: 16 } },
3625
3792
  { if: { size: 'small' }, tokens: { size: 20 } },
3626
3793
  { if: { size: 'large' }, tokens: { size: 32 } },
@@ -3854,6 +4021,7 @@ const theme = {
3854
4021
  description: 'Raised IconButtons follow different design patterns to other variants',
3855
4022
  if: { raised: true },
3856
4023
  tokens: {
4024
+ backgroundColor: '#ffffff',
3857
4025
  borderColor: '#000000',
3858
4026
  shadow: {
3859
4027
  blur: 2,
@@ -3865,7 +4033,10 @@ const theme = {
3865
4033
  }
3866
4034
  }
3867
4035
  },
3868
- { if: { hover: true, raised: true }, tokens: {} },
4036
+ {
4037
+ if: { hover: true, raised: true },
4038
+ tokens: { backgroundColor: '#000000', iconColor: '#ffffff' }
4039
+ },
3869
4040
  {
3870
4041
  if: { raised: true, size: 'large' },
3871
4042
  tokens: { iconSize: 24, padding: 12 }
@@ -3877,7 +4048,11 @@ const theme = {
3877
4048
  },
3878
4049
  {
3879
4050
  if: { pressed: true, raised: true },
3880
- tokens: { backgroundColor: '#000000', iconColor: '#666666' }
4051
+ tokens: {
4052
+ backgroundColor: '#404040',
4053
+ borderColor: '#404040',
4054
+ iconColor: '#666666'
4055
+ }
3881
4056
  },
3882
4057
  { if: { compact: true }, tokens: { outerBorderGap: 0 } },
3883
4058
  {
@@ -3981,6 +4156,14 @@ const theme = {
3981
4156
  rules: [
3982
4157
  { if: { iconPosition: 'left' }, tokens: { iconSpace: 2 } },
3983
4158
  { if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } },
4159
+ {
4160
+ if: { alternative: true, focus: true, quiet: true },
4161
+ tokens: {
4162
+ color: '#595959',
4163
+ outerBorderColor: '#595959',
4164
+ textLine: 'underline'
4165
+ }
4166
+ },
3984
4167
  {
3985
4168
  if: { focus: true },
3986
4169
  tokens: {
@@ -3999,9 +4182,13 @@ const theme = {
3999
4182
  },
4000
4183
  {
4001
4184
  if: { pressed: true },
4002
- tokens: { color: '#666666', textLine: 'none' }
4185
+ tokens: { color: '#595959', textLine: 'none' }
4003
4186
  },
4004
4187
  { if: { alternative: true }, tokens: { color: '#595959' } },
4188
+ {
4189
+ if: { alternative: true, pressed: true, quiet: true },
4190
+ tokens: { color: '#595959' }
4191
+ },
4005
4192
  {
4006
4193
  if: { alternative: true, focus: true },
4007
4194
  tokens: { color: '#595959', outerBorderColor: '#595959' }
@@ -4012,11 +4199,15 @@ const theme = {
4012
4199
  },
4013
4200
  {
4014
4201
  if: { alternative: true, pressed: true },
4015
- tokens: { color: '#404040' }
4202
+ tokens: { color: '#595959' }
4016
4203
  },
4017
4204
  {
4018
4205
  if: { alternative: true, focus: true, pressed: true },
4019
- tokens: { color: '#404040', outerBorderColor: '#404040' }
4206
+ tokens: { color: '#595959', outerBorderColor: '#595959' }
4207
+ },
4208
+ {
4209
+ if: { alternative: true, pressed: true, quiet: true },
4210
+ tokens: { color: '#595959' }
4020
4211
  },
4021
4212
  { if: { inverse: true }, tokens: { color: '#ffffff' } },
4022
4213
  {
@@ -4074,14 +4265,26 @@ const theme = {
4074
4265
  if: { focus: true, pressed: true, quiet: true },
4075
4266
  tokens: { color: '#595959', textLine: 'underline' }
4076
4267
  },
4268
+ {
4269
+ if: { alternative: true, quiet: true },
4270
+ tokens: { color: '#595959', textLine: 'none' }
4271
+ },
4077
4272
  {
4078
4273
  if: { alternative: true, hover: true, quiet: true },
4079
- tokens: { color: '#595959', textLine: 'underline' }
4274
+ tokens: { color: '#404040', textLine: 'underline' }
4080
4275
  },
4081
4276
  {
4082
4277
  if: { hover: true, inverse: true, quiet: true },
4083
4278
  tokens: { color: '#efefef', textLine: 'underline' }
4084
4279
  },
4280
+ {
4281
+ if: { focus: true, inverse: true, quiet: true },
4282
+ tokens: { color: '#ffffff', textLine: 'underline' }
4283
+ },
4284
+ {
4285
+ if: { inverse: true, pressed: true, quiet: true },
4286
+ tokens: { color: '#ffffff', textLine: 'underline' }
4287
+ },
4085
4288
  { if: { style: 'inline' }, tokens: { color: '#000000' } },
4086
4289
  {
4087
4290
  if: { focus: true, style: 'inline' },
@@ -4107,8 +4310,8 @@ const theme = {
4107
4310
  {
4108
4311
  if: { focus: true, style: 'subtle' },
4109
4312
  tokens: {
4110
- color: '#000000',
4111
- outerBorderColor: '#000000',
4313
+ color: '#595959',
4314
+ outerBorderColor: '#595959',
4112
4315
  outerBorderOutline: 'none'
4113
4316
  }
4114
4317
  },
@@ -4323,13 +4526,13 @@ const theme = {
4323
4526
  color: '#000000',
4324
4527
  icon: null,
4325
4528
  iconSize: 16,
4326
- iconSpace: 0,
4529
+ iconSpace: 1,
4327
4530
  iconTranslateX: 0,
4328
4531
  iconTranslateY: 0,
4329
4532
  outerBorderColor: 'rgba(0, 0, 0, 0)',
4330
4533
  outerBorderGap: 2,
4331
4534
  outerBorderOutline: 'none',
4332
- outerBorderWidth: 2,
4535
+ outerBorderWidth: 1,
4333
4536
  textLine: 'underline',
4334
4537
  textLineStyle: 'solid'
4335
4538
  }
@@ -4472,18 +4675,18 @@ const theme = {
4472
4675
  {
4473
4676
  if: { isChild: true },
4474
4677
  tokens: {
4475
- itemBorderBottomWidth: 0,
4678
+ itemBorderBottomWidth: 1,
4476
4679
  itemBorderLeftColor: '#000000',
4477
4680
  itemBorderLeftWidth: 4,
4478
- itemBorderTopWidth: 0
4681
+ itemBorderTopWidth: 1
4479
4682
  }
4480
4683
  },
4481
4684
  {
4482
4685
  if: { isChild: true, pressed: true },
4483
4686
  tokens: {
4484
- itemBorderBottomWidth: 0,
4687
+ itemBorderBottomWidth: 1,
4485
4688
  itemBorderLeftColor: '#595959',
4486
- itemBorderTopWidth: 0,
4689
+ itemBorderTopWidth: 1,
4487
4690
  itemColor: '#595959'
4488
4691
  }
4489
4692
  },
@@ -4538,10 +4741,10 @@ const theme = {
4538
4741
  if: { hover: true, isChild: true },
4539
4742
  tokens: {
4540
4743
  itemBackgroundColor: '#efefef',
4541
- itemBorderBottomWidth: 0,
4744
+ itemBorderBottomWidth: 1,
4542
4745
  itemBorderLeftColor: '#666666',
4543
- itemBorderRightWidth: 0,
4544
- itemBorderTopWidth: 0,
4746
+ itemBorderRightWidth: 1,
4747
+ itemBorderTopWidth: 1,
4545
4748
  itemColor: '#666666'
4546
4749
  }
4547
4750
  },
@@ -4959,7 +5162,10 @@ const theme = {
4959
5162
  if: { viewport: [ 'xs', 'sm', 'md' ] },
4960
5163
  tokens: { textAlign: 'space-between', width: 288 }
4961
5164
  },
4962
- { if: { viewport: [ 'xl' ] }, tokens: { borderRadius: 32 } },
5165
+ {
5166
+ if: { viewport: [ 'lg', 'xl' ] },
5167
+ tokens: { borderRadius: 32 }
5168
+ },
4963
5169
  {
4964
5170
  if: { hover: true, selected: true },
4965
5171
  tokens: {
@@ -6069,6 +6275,10 @@ const theme = {
6069
6275
  outerBorderColor: '#595959',
6070
6276
  textLine: 'underline'
6071
6277
  }
6278
+ },
6279
+ {
6280
+ if: { hover: true, viewport: 'xl' },
6281
+ tokens: { imageDimension: 184 }
6072
6282
  }
6073
6283
  ],
6074
6284
  tokens: {
@@ -6184,7 +6394,7 @@ const theme = {
6184
6394
  if: { focus: true },
6185
6395
  tokens: {
6186
6396
  outerBorderColor: '#000000',
6187
- outerBorderGap: 5,
6397
+ outerBorderGap: 2,
6188
6398
  outerBorderWidth: 1
6189
6399
  }
6190
6400
  },
@@ -6218,7 +6428,7 @@ const theme = {
6218
6428
  ],
6219
6429
  tokens: {
6220
6430
  checkedBackgroundColor: '#7a3dfc',
6221
- checkedSize: 16,
6431
+ checkedSize: 12,
6222
6432
  containerBackgroundColor: 'rgba(0, 0, 0, 0)',
6223
6433
  containerBorderRadius: 0,
6224
6434
  containerOpacity: 1,
@@ -6239,7 +6449,7 @@ const theme = {
6239
6449
  inputBorderColor: '#000000',
6240
6450
  inputBorderWidth: 1,
6241
6451
  inputOutlineColor: '#000000',
6242
- inputOutlineWidth: 2,
6452
+ inputOutlineWidth: 1,
6243
6453
  inputSize: 20,
6244
6454
  labelColor: '#000000',
6245
6455
  labelFontName: 'StagSans',
@@ -6248,7 +6458,7 @@ const theme = {
6248
6458
  labelLineHeight: 1.5,
6249
6459
  labelMarginLeft: 8,
6250
6460
  outerBorderColor: 'transparent',
6251
- outerBorderGap: 5,
6461
+ outerBorderGap: 1,
6252
6462
  outerBorderWidth: 1
6253
6463
  }
6254
6464
  },
@@ -7611,6 +7821,11 @@ const theme = {
7611
7821
  },
7612
7822
  TabsItem: {
7613
7823
  appearances: {
7824
+ dropdown: {
7825
+ description: 'activate the dropdown menu',
7826
+ type: 'variant',
7827
+ values: [ true ]
7828
+ },
7614
7829
  equalWidth: {
7615
7830
  description: 'Divide the available width equally among `TabsItem`',
7616
7831
  type: 'variant',
@@ -7638,6 +7853,11 @@ const theme = {
7638
7853
  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.',
7639
7854
  type: 'state',
7640
7855
  values: [ true, false ]
7856
+ },
7857
+ viewport: {
7858
+ description: 'The size label for the current screen viewport based on the current screen width',
7859
+ type: 'state',
7860
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
7641
7861
  }
7642
7862
  },
7643
7863
  rules: [
@@ -7754,7 +7974,98 @@ const theme = {
7754
7974
  if: { focus: true, inverse: true, selected: true },
7755
7975
  tokens: {}
7756
7976
  },
7757
- { if: { equalWidth: true }, tokens: { maxWidth: null } }
7977
+ { if: { equalWidth: true }, tokens: { maxWidth: null } },
7978
+ {
7979
+ if: { dropdown: true, viewport: [ 'xs', 'sm' ] },
7980
+ tokens: {
7981
+ backgroundColor: 'rgba(0, 0, 0, 0.05)',
7982
+ borderColor: 'rgba(0, 0, 0, 0)',
7983
+ borderRadius: 32,
7984
+ borderWidth: 1,
7985
+ color: '#000000'
7986
+ }
7987
+ },
7988
+ {
7989
+ if: { dropdown: true, hover: true, viewport: [ 'xs', 'sm' ] },
7990
+ tokens: { backgroundColor: 'rgba(0, 0, 0, 0.1)' }
7991
+ },
7992
+ {
7993
+ if: { dropdown: true, focus: true, viewport: [ 'xs', 'sm' ] },
7994
+ tokens: {
7995
+ backgroundColor: 'rgba(0, 0, 0, 0)',
7996
+ borderColor: '#000000',
7997
+ borderWidth: 1,
7998
+ color: '#000000'
7999
+ }
8000
+ },
8001
+ {
8002
+ if: { dropdown: true, pressed: true, viewport: [ 'xs', 'sm' ] },
8003
+ tokens: {
8004
+ backgroundColor: 'rgba(0, 0, 0, 0.2)',
8005
+ borderColor: 'rgba(0, 0, 0, 0)',
8006
+ color: '#000000'
8007
+ }
8008
+ },
8009
+ {
8010
+ if: { dropdown: true, selected: true, viewport: [ 'xs', 'sm' ] },
8011
+ tokens: { backgroundColor: 'rgba(0, 0, 0, 0.1)', color: '#000000' }
8012
+ },
8013
+ {
8014
+ if: { dropdown: true, inverse: true, viewport: [ 'xs', 'sm' ] },
8015
+ tokens: {
8016
+ backgroundColor: 'rgba(255, 255, 255, 0.1)',
8017
+ borderColor: 'rgba(0, 0, 0, 0)',
8018
+ borderWidth: 1,
8019
+ color: '#ffffff'
8020
+ }
8021
+ },
8022
+ {
8023
+ if: {
8024
+ dropdown: true,
8025
+ hover: true,
8026
+ inverse: true,
8027
+ viewport: [ 'xs', 'sm' ]
8028
+ },
8029
+ tokens: {
8030
+ backgroundColor: 'rgba(255, 255, 255, 0.2)',
8031
+ color: '#ffffff'
8032
+ }
8033
+ },
8034
+ {
8035
+ if: {
8036
+ dropdown: true,
8037
+ inverse: true,
8038
+ selected: true,
8039
+ viewport: [ 'xs', 'sm' ]
8040
+ },
8041
+ tokens: { backgroundColor: '#ffffff', color: '#000000' }
8042
+ },
8043
+ {
8044
+ if: {
8045
+ dropdown: true,
8046
+ focus: true,
8047
+ inverse: true,
8048
+ viewport: [ 'xs', 'sm' ]
8049
+ },
8050
+ tokens: {
8051
+ backgroundColor: 'rgba(0, 0, 0, 0)',
8052
+ borderColor: '#ffffff',
8053
+ borderWidth: 1
8054
+ }
8055
+ },
8056
+ {
8057
+ if: {
8058
+ dropdown: true,
8059
+ inverse: true,
8060
+ pressed: true,
8061
+ viewport: [ 'xs', 'sm' ]
8062
+ },
8063
+ tokens: {
8064
+ backgroundColor: 'rgba(255, 255, 255, 0.4)',
8065
+ borderColor: 'rgba(0, 0, 0, 0)',
8066
+ color: '#ffffff'
8067
+ }
8068
+ }
7758
8069
  ],
7759
8070
  tokens: {
7760
8071
  backgroundColor: 'rgba(0, 0, 0, 0)',
@@ -7762,6 +8073,8 @@ const theme = {
7762
8073
  borderRadius: 0,
7763
8074
  borderWidth: 0,
7764
8075
  color: '#000000',
8076
+ dropdownIcon: PaletteIconChevronDown,
8077
+ dropdownIconExpanded: PaletteIconChevronUp,
7765
8078
  fontName: 'StagSans',
7766
8079
  fontScaleCap: 64,
7767
8080
  fontSize: 16,
@@ -9149,6 +9462,6 @@ const theme = {
9149
9462
  tokens: { size: 96 }
9150
9463
  }
9151
9464
  },
9152
- metadata: { name: 'theme-koodo', themeTokensVersion: '4.11.0' }
9465
+ metadata: { name: 'theme-koodo', themeTokensVersion: '4.13.0' }
9153
9466
  }
9154
9467
  export default theme
package/package.json CHANGED
@@ -6,7 +6,7 @@
6
6
  "description": "Koodo theme",
7
7
  "devDependencies": {
8
8
  "@telus-uds/palette-koodo": "^3.6.1",
9
- "@telus-uds/system-theme-tokens": "^4.11.0"
9
+ "@telus-uds/system-theme-tokens": "^4.13.0"
10
10
  },
11
11
  "files": [
12
12
  "build",
@@ -32,5 +32,5 @@
32
32
  "build": "UDS_PALETTE=@telus-uds/palette-koodo system-tokens-build-theme",
33
33
  "dev": "nodemon -w src -x 'npm run build'"
34
34
  },
35
- "version": "7.14.0"
35
+ "version": "7.16.0"
36
36
  }