@telus-uds/theme-koodo 7.20.0 → 7.21.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 (253) hide show
  1. package/build/android/IconButton.json +320 -73
  2. package/build/android/schema.json +829 -828
  3. package/build/android/theme.json +321 -74
  4. package/build/ios/IconButton.json +320 -73
  5. package/build/ios/schema.json +829 -828
  6. package/build/ios/theme.json +321 -74
  7. package/build/rn/ActionCard.js +1 -1
  8. package/build/rn/ActivityIndicator.js +1 -1
  9. package/build/rn/Autocomplete.js +1 -1
  10. package/build/rn/Badge.js +1 -1
  11. package/build/rn/BlockQuote.js +1 -1
  12. package/build/rn/Box.js +1 -1
  13. package/build/rn/Breadcrumbs.js +1 -1
  14. package/build/rn/Button.js +1 -1
  15. package/build/rn/ButtonDropdown.js +1 -1
  16. package/build/rn/ButtonGroup.js +1 -1
  17. package/build/rn/ButtonGroupItem.js +1 -1
  18. package/build/rn/Callout.js +1 -1
  19. package/build/rn/Card.js +1 -1
  20. package/build/rn/CardGroup.js +1 -1
  21. package/build/rn/Carousel.js +1 -1
  22. package/build/rn/CarouselTabsPanelItem.js +1 -1
  23. package/build/rn/CarouselThumbnail.js +1 -1
  24. package/build/rn/Checkbox.js +1 -1
  25. package/build/rn/CheckboxCard.js +1 -1
  26. package/build/rn/CheckboxCardGroup.js +1 -1
  27. package/build/rn/CheckboxGroup.js +1 -1
  28. package/build/rn/ChevronLink.js +1 -1
  29. package/build/rn/ColourToggle.js +1 -1
  30. package/build/rn/Countdown.js +1 -1
  31. package/build/rn/DatePicker.js +1 -1
  32. package/build/rn/Disclaimer.js +1 -1
  33. package/build/rn/Divider.js +1 -1
  34. package/build/rn/DownloadApp.js +1 -1
  35. package/build/rn/ExpandCollapse.js +1 -1
  36. package/build/rn/ExpandCollapseControl.js +1 -1
  37. package/build/rn/ExpandCollapseMini.js +1 -1
  38. package/build/rn/ExpandCollapseMiniControl.js +1 -1
  39. package/build/rn/ExpandCollapsePanel.js +1 -1
  40. package/build/rn/Feedback.js +1 -1
  41. package/build/rn/Fieldset.js +1 -1
  42. package/build/rn/FileUpload.js +1 -1
  43. package/build/rn/Footnote.js +1 -1
  44. package/build/rn/FootnoteLink.js +1 -1
  45. package/build/rn/HorizontalScrollButton.js +1 -1
  46. package/build/rn/Icon.js +1 -1
  47. package/build/rn/IconButton.js +219 -56
  48. package/build/rn/Image.js +1 -1
  49. package/build/rn/InputLabel.js +1 -1
  50. package/build/rn/InputSupports.js +1 -1
  51. package/build/rn/Link.js +1 -1
  52. package/build/rn/List.js +1 -1
  53. package/build/rn/Listbox.js +1 -1
  54. package/build/rn/Modal.js +1 -1
  55. package/build/rn/MultiSelectFilter.js +1 -1
  56. package/build/rn/NavigationBar.js +1 -1
  57. package/build/rn/Notification.js +1 -1
  58. package/build/rn/OrderedList.js +1 -1
  59. package/build/rn/Pagination.js +1 -1
  60. package/build/rn/PaginationPageButton.js +1 -1
  61. package/build/rn/PaginationSideButton.js +1 -1
  62. package/build/rn/PreviewCard.js +1 -1
  63. package/build/rn/PriceLockup.js +1 -1
  64. package/build/rn/ProductCard.js +1 -1
  65. package/build/rn/Progress.js +1 -1
  66. package/build/rn/ProgressBar.js +1 -1
  67. package/build/rn/QuantitySelector.js +1 -1
  68. package/build/rn/QuantitySelectorSideButton.js +1 -1
  69. package/build/rn/QuickLinks.js +1 -1
  70. package/build/rn/QuickLinksButton.js +1 -1
  71. package/build/rn/QuickLinksCard.js +1 -1
  72. package/build/rn/QuickLinksFeature.js +1 -1
  73. package/build/rn/QuickLinksFeatureItem.js +1 -1
  74. package/build/rn/QuickLinksList.js +1 -1
  75. package/build/rn/Radio.js +1 -1
  76. package/build/rn/RadioCard.js +1 -1
  77. package/build/rn/RadioCardGroup.js +1 -1
  78. package/build/rn/RadioGroup.js +1 -1
  79. package/build/rn/Ribbon.js +1 -1
  80. package/build/rn/Search.js +1 -1
  81. package/build/rn/SearchButton.js +1 -1
  82. package/build/rn/Select.js +1 -1
  83. package/build/rn/Shortcuts.js +1 -1
  84. package/build/rn/ShortcutsItem.js +1 -1
  85. package/build/rn/SideNav.js +1 -1
  86. package/build/rn/SideNavItem.js +1 -1
  87. package/build/rn/SideNavItemsGroup.js +1 -1
  88. package/build/rn/Skeleton.js +1 -1
  89. package/build/rn/SkipLink.js +1 -1
  90. package/build/rn/Spinner.js +1 -1
  91. package/build/rn/SplashButton.js +1 -1
  92. package/build/rn/SplashButtonWithDetails.js +1 -1
  93. package/build/rn/StackView.js +1 -1
  94. package/build/rn/Status.js +1 -1
  95. package/build/rn/StepTracker.js +1 -1
  96. package/build/rn/StoryCard.js +1 -1
  97. package/build/rn/TabBar.js +1 -1
  98. package/build/rn/TabBarItem.js +1 -1
  99. package/build/rn/Table.js +1 -1
  100. package/build/rn/Tabs.js +1 -1
  101. package/build/rn/TabsItem.js +1 -1
  102. package/build/rn/Tags.js +1 -1
  103. package/build/rn/TagsItem.js +1 -1
  104. package/build/rn/TermsAndConditions.js +1 -1
  105. package/build/rn/Testimonial.js +1 -1
  106. package/build/rn/TextArea.js +1 -1
  107. package/build/rn/TextInput.js +1 -1
  108. package/build/rn/Timeline.js +1 -1
  109. package/build/rn/Toast.js +1 -1
  110. package/build/rn/ToggleSwitch.js +1 -1
  111. package/build/rn/ToggleSwitchGroup.js +1 -1
  112. package/build/rn/Tooltip.js +1 -1
  113. package/build/rn/TooltipButton.js +1 -1
  114. package/build/rn/Typography.js +1 -1
  115. package/build/rn/Video.js +1 -1
  116. package/build/rn/VideoButton.js +1 -1
  117. package/build/rn/VideoControlBar.js +1 -1
  118. package/build/rn/VideoMenu.js +1 -1
  119. package/build/rn/VideoMiddleControlButton.js +1 -1
  120. package/build/rn/VideoPicker.js +1 -1
  121. package/build/rn/VideoPickerSlider.js +1 -1
  122. package/build/rn/VideoPickerThumbnail.js +1 -1
  123. package/build/rn/VideoProgressBar.js +1 -1
  124. package/build/rn/VideoVolumeSlider.js +1 -1
  125. package/build/rn/WaffleGrid.js +1 -1
  126. package/build/rn/schema.json +829 -828
  127. package/build/rn/spacingScale.js +1 -1
  128. package/build/rn/theme.js +219 -63
  129. package/build/web/ActionCard.js +1 -1
  130. package/build/web/ActivityIndicator.js +1 -1
  131. package/build/web/Autocomplete.js +1 -1
  132. package/build/web/Badge.js +1 -1
  133. package/build/web/BlockQuote.js +1 -1
  134. package/build/web/Box.js +1 -1
  135. package/build/web/Breadcrumbs.js +1 -1
  136. package/build/web/Button.js +1 -1
  137. package/build/web/ButtonDropdown.js +1 -1
  138. package/build/web/ButtonGroup.js +1 -1
  139. package/build/web/ButtonGroupItem.js +1 -1
  140. package/build/web/Callout.js +1 -1
  141. package/build/web/Card.js +1 -1
  142. package/build/web/CardGroup.js +1 -1
  143. package/build/web/Carousel.js +1 -1
  144. package/build/web/CarouselTabsPanelItem.js +1 -1
  145. package/build/web/CarouselThumbnail.js +1 -1
  146. package/build/web/Checkbox.js +1 -1
  147. package/build/web/CheckboxCard.js +1 -1
  148. package/build/web/CheckboxCardGroup.js +1 -1
  149. package/build/web/CheckboxGroup.js +1 -1
  150. package/build/web/ChevronLink.js +1 -1
  151. package/build/web/ColourToggle.js +1 -1
  152. package/build/web/Countdown.js +1 -1
  153. package/build/web/DatePicker.js +1 -1
  154. package/build/web/Disclaimer.js +1 -1
  155. package/build/web/Divider.js +1 -1
  156. package/build/web/DownloadApp.js +1 -1
  157. package/build/web/ExpandCollapse.js +1 -1
  158. package/build/web/ExpandCollapseControl.js +1 -1
  159. package/build/web/ExpandCollapseMini.js +1 -1
  160. package/build/web/ExpandCollapseMiniControl.js +1 -1
  161. package/build/web/ExpandCollapsePanel.js +1 -1
  162. package/build/web/Feedback.js +1 -1
  163. package/build/web/Fieldset.js +1 -1
  164. package/build/web/FileUpload.js +1 -1
  165. package/build/web/Footnote.js +1 -1
  166. package/build/web/FootnoteLink.js +1 -1
  167. package/build/web/HorizontalScrollButton.js +1 -1
  168. package/build/web/Icon.js +1 -1
  169. package/build/web/IconButton.js +219 -56
  170. package/build/web/Image.js +1 -1
  171. package/build/web/InputLabel.js +1 -1
  172. package/build/web/InputSupports.js +1 -1
  173. package/build/web/Link.js +1 -1
  174. package/build/web/List.js +1 -1
  175. package/build/web/Listbox.js +1 -1
  176. package/build/web/Modal.js +1 -1
  177. package/build/web/MultiSelectFilter.js +1 -1
  178. package/build/web/NavigationBar.js +1 -1
  179. package/build/web/Notification.js +1 -1
  180. package/build/web/OrderedList.js +1 -1
  181. package/build/web/Pagination.js +1 -1
  182. package/build/web/PaginationPageButton.js +1 -1
  183. package/build/web/PaginationSideButton.js +1 -1
  184. package/build/web/PreviewCard.js +1 -1
  185. package/build/web/PriceLockup.js +1 -1
  186. package/build/web/ProductCard.js +1 -1
  187. package/build/web/Progress.js +1 -1
  188. package/build/web/ProgressBar.js +1 -1
  189. package/build/web/QuantitySelector.js +1 -1
  190. package/build/web/QuantitySelectorSideButton.js +1 -1
  191. package/build/web/QuickLinks.js +1 -1
  192. package/build/web/QuickLinksButton.js +1 -1
  193. package/build/web/QuickLinksCard.js +1 -1
  194. package/build/web/QuickLinksFeature.js +1 -1
  195. package/build/web/QuickLinksFeatureItem.js +1 -1
  196. package/build/web/QuickLinksList.js +1 -1
  197. package/build/web/Radio.js +1 -1
  198. package/build/web/RadioCard.js +1 -1
  199. package/build/web/RadioCardGroup.js +1 -1
  200. package/build/web/RadioGroup.js +1 -1
  201. package/build/web/Ribbon.js +1 -1
  202. package/build/web/Search.js +1 -1
  203. package/build/web/SearchButton.js +1 -1
  204. package/build/web/Select.js +1 -1
  205. package/build/web/Shortcuts.js +1 -1
  206. package/build/web/ShortcutsItem.js +1 -1
  207. package/build/web/SideNav.js +1 -1
  208. package/build/web/SideNavItem.js +1 -1
  209. package/build/web/SideNavItemsGroup.js +1 -1
  210. package/build/web/Skeleton.js +1 -1
  211. package/build/web/SkipLink.js +1 -1
  212. package/build/web/Spinner.js +1 -1
  213. package/build/web/SplashButton.js +1 -1
  214. package/build/web/SplashButtonWithDetails.js +1 -1
  215. package/build/web/StackView.js +1 -1
  216. package/build/web/Status.js +1 -1
  217. package/build/web/StepTracker.js +1 -1
  218. package/build/web/StoryCard.js +1 -1
  219. package/build/web/TabBar.js +1 -1
  220. package/build/web/TabBarItem.js +1 -1
  221. package/build/web/Table.js +1 -1
  222. package/build/web/Tabs.js +1 -1
  223. package/build/web/TabsItem.js +1 -1
  224. package/build/web/Tags.js +1 -1
  225. package/build/web/TagsItem.js +1 -1
  226. package/build/web/TermsAndConditions.js +1 -1
  227. package/build/web/Testimonial.js +1 -1
  228. package/build/web/TextArea.js +1 -1
  229. package/build/web/TextInput.js +1 -1
  230. package/build/web/Timeline.js +1 -1
  231. package/build/web/Toast.js +1 -1
  232. package/build/web/ToggleSwitch.js +1 -1
  233. package/build/web/ToggleSwitchGroup.js +1 -1
  234. package/build/web/Tooltip.js +1 -1
  235. package/build/web/TooltipButton.js +1 -1
  236. package/build/web/Typography.js +1 -1
  237. package/build/web/Video.js +1 -1
  238. package/build/web/VideoButton.js +1 -1
  239. package/build/web/VideoControlBar.js +1 -1
  240. package/build/web/VideoMenu.js +1 -1
  241. package/build/web/VideoMiddleControlButton.js +1 -1
  242. package/build/web/VideoPicker.js +1 -1
  243. package/build/web/VideoPickerSlider.js +1 -1
  244. package/build/web/VideoPickerThumbnail.js +1 -1
  245. package/build/web/VideoProgressBar.js +1 -1
  246. package/build/web/VideoVolumeSlider.js +1 -1
  247. package/build/web/WaffleGrid.js +1 -1
  248. package/build/web/index.js +1 -1
  249. package/build/web/schema.json +829 -828
  250. package/build/web/spacingScale.js +1 -1
  251. package/build/web/theme.js +219 -63
  252. package/package.json +4 -4
  253. package/theme.json +214 -67
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 12 Dec 2025 05:35:43 GMT
4
+ * Generated on Mon, 12 Jan 2026 14:53:37 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, 12 Dec 2025 05:35:43 GMT
4
+ * Generated on Mon, 12 Jan 2026 14:53:37 GMT
5
5
  *
6
6
  */
7
7
 
@@ -28,6 +28,7 @@ import PaletteIconUser from '@telus-uds/palette-koodo/build/rn/icons/User'
28
28
  import PaletteIconSubtract from '@telus-uds/palette-koodo/build/rn/icons/Subtract'
29
29
  import PaletteIconExpand from '@telus-uds/palette-koodo/build/rn/icons/Expand'
30
30
  import PaletteIconPlayVideo from '@telus-uds/palette-koodo/build/rn/icons/PlayVideo'
31
+ import PaletteIconEyeUnmasked from '@telus-uds/palette-koodo/build/rn/icons/EyeUnmasked'
31
32
  import PaletteIconBullet from '@telus-uds/palette-koodo/build/rn/icons/Bullet'
32
33
  import PaletteIconTimes from '@telus-uds/palette-koodo/build/rn/icons/Times'
33
34
  import PaletteIconTagFilled from '@telus-uds/palette-koodo/build/rn/icons/TagFilled'
@@ -43,7 +44,6 @@ import PaletteIconAmex from '@telus-uds/palette-koodo/build/rn/icons/Amex'
43
44
  import PaletteIconCreditCard from '@telus-uds/palette-koodo/build/rn/icons/CreditCard'
44
45
  import PaletteIconMasterCard from '@telus-uds/palette-koodo/build/rn/icons/MasterCard'
45
46
  import PaletteIconEyeMasked from '@telus-uds/palette-koodo/build/rn/icons/EyeMasked'
46
- import PaletteIconEyeUnmasked from '@telus-uds/palette-koodo/build/rn/icons/EyeUnmasked'
47
47
  import PaletteIconVisa from '@telus-uds/palette-koodo/build/rn/icons/Visa'
48
48
  import PaletteIconTooltipSymbol from '@telus-uds/palette-koodo/build/rn/icons/TooltipSymbol'
49
49
  import PaletteIconReplay from '@telus-uds/palette-koodo/build/rn/icons/Replay'
@@ -3822,12 +3822,13 @@ const theme = {
3822
3822
  action: {
3823
3823
  type: 'variant',
3824
3824
  values: [
3825
- 'add', 'close',
3826
- 'expand', 'moveDown',
3827
- 'moveLeft', 'moveRight',
3828
- 'moveUp', 'play',
3829
- 'subtract', 'menu',
3830
- 'cart', 'profile'
3825
+ 'add', 'close',
3826
+ 'expand', 'moveDown',
3827
+ 'moveLeft', 'moveRight',
3828
+ 'moveUp', 'play',
3829
+ 'subtract', 'menu',
3830
+ 'cart', 'profile',
3831
+ 'visibility'
3831
3832
  ]
3832
3833
  },
3833
3834
  compact: {
@@ -3835,6 +3836,11 @@ const theme = {
3835
3836
  type: 'variant',
3836
3837
  values: [ true ]
3837
3838
  },
3839
+ contained: {
3840
+ description: 'Filled background',
3841
+ type: 'variant',
3842
+ values: [ true ]
3843
+ },
3838
3844
  focus: {
3839
3845
  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.",
3840
3846
  platforms: [ 'rn', 'web' ],
@@ -3872,6 +3878,11 @@ const theme = {
3872
3878
  type: 'variant',
3873
3879
  values: [ true ]
3874
3880
  },
3881
+ selected: {
3882
+ 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`.',
3883
+ type: 'state',
3884
+ values: [ true ]
3885
+ },
3875
3886
  size: { type: 'variant', values: [ 'small', 'large' ] }
3876
3887
  },
3877
3888
  rules: [
@@ -3951,32 +3962,86 @@ const theme = {
3951
3962
  tokens: { icon: PaletteIconPlayVideo }
3952
3963
  },
3953
3964
  {
3954
- if: { inverse: true },
3965
+ if: { action: 'visibility' },
3966
+ tokens: { icon: PaletteIconEyeUnmasked }
3967
+ },
3968
+ {
3969
+ if: { contained: true },
3955
3970
  tokens: {
3956
- backgroundColor: 'rgba(0, 0, 0, 0)',
3957
- borderColor: 'rgba(0, 0, 0, 0)',
3971
+ backgroundColor: '#ffffff',
3972
+ borderColor: '#000000',
3973
+ borderWidth: 1
3974
+ }
3975
+ },
3976
+ {
3977
+ if: { raised: true },
3978
+ tokens: {
3979
+ backgroundColor: 'transparent',
3980
+ borderColor: '#000000',
3981
+ borderRadius: 4,
3982
+ borderWidth: 1,
3983
+ iconColor: '#000000',
3984
+ padding: 8,
3985
+ shadow: {
3986
+ blur: 2,
3987
+ color: 'rgba(0, 0, 0, 0.2)',
3988
+ inset: false,
3989
+ offsetX: 0,
3990
+ offsetY: 2,
3991
+ spread: 0
3992
+ }
3993
+ }
3994
+ },
3995
+ { if: { inverse: true }, tokens: { iconColor: '#ffffff' } },
3996
+ {
3997
+ if: { contained: true, inverse: true },
3998
+ tokens: {
3999
+ backgroundColor: 'transparent',
4000
+ borderColor: '#ffffff',
4001
+ borderWidth: 1,
3958
4002
  iconColor: '#ffffff'
3959
4003
  }
3960
4004
  },
3961
4005
  {
3962
4006
  if: { hover: true },
4007
+ tokens: { backgroundColor: 'rgba(0, 0, 0, 0.1)', borderWidth: null }
4008
+ },
4009
+ {
4010
+ if: { focus: true },
3963
4011
  tokens: {
3964
- backgroundColor: '#000000',
3965
- iconColor: '#ffffff',
3966
- iconScale: 1.1
4012
+ backgroundColor: 'rgba(0, 0, 0, 0)',
4013
+ borderColor: '#000000',
4014
+ borderWidth: 1
3967
4015
  }
3968
4016
  },
3969
4017
  {
3970
- if: { hover: true, inverse: true },
3971
- tokens: { backgroundColor: '#ffffff', iconColor: '#000000' }
4018
+ if: { pressed: true },
4019
+ tokens: {
4020
+ backgroundColor: 'rgba(0, 0, 0, 0.2)',
4021
+ borderWidth: null,
4022
+ iconColor: '#666666'
4023
+ }
3972
4024
  },
3973
4025
  {
3974
- if: { focus: true },
4026
+ if: { selected: true },
3975
4027
  tokens: {
3976
- backgroundColor: 'transparent',
4028
+ backgroundColor: 'rgba(0, 0, 0, 0)',
4029
+ borderBottomWidth: 2,
3977
4030
  borderColor: '#000000',
3978
- iconColor: '#000000',
3979
- outerBorderColor: 'rgba(0, 0, 0, 0)'
4031
+ borderLeftWidth: null,
4032
+ borderRadius: 0,
4033
+ borderRightWidth: null,
4034
+ borderTopWidth: null,
4035
+ borderWidth: null,
4036
+ iconColor: '#000000'
4037
+ }
4038
+ },
4039
+ {
4040
+ if: { hover: true, inverse: true },
4041
+ tokens: {
4042
+ backgroundColor: '#ffffff',
4043
+ borderWidth: null,
4044
+ iconColor: '#000000'
3980
4045
  }
3981
4046
  },
3982
4047
  {
@@ -3984,56 +4049,111 @@ const theme = {
3984
4049
  tokens: {
3985
4050
  backgroundColor: 'transparent',
3986
4051
  borderColor: '#ffffff',
3987
- iconColor: '#ffffff',
3988
- outerBorderColor: 'rgba(0, 0, 0, 0)',
3989
- outerBorderWidth: 0
4052
+ borderWidth: 1,
4053
+ iconColor: '#ffffff'
3990
4054
  }
3991
4055
  },
3992
4056
  {
3993
- if: { password: true },
3994
- tokens: { borderColor: 'transparent' }
4057
+ if: { inverse: true, pressed: true },
4058
+ tokens: {
4059
+ backgroundColor: '#c9c8c8',
4060
+ borderWidth: null,
4061
+ iconColor: '#000000'
4062
+ }
3995
4063
  },
3996
4064
  {
3997
- if: { focus: true, password: true },
4065
+ if: { inverse: true, selected: true },
3998
4066
  tokens: {
4067
+ backgroundColor: 'rgba(0, 0, 0, 0)',
4068
+ borderBottomWidth: 2,
4069
+ borderColor: '#ffffff',
4070
+ borderLeftWidth: null,
4071
+ borderRadius: 0,
4072
+ borderRightWidth: null,
4073
+ borderTopWidth: null,
4074
+ borderWidth: null,
4075
+ iconColor: '#ffffff'
4076
+ }
4077
+ },
4078
+ {
4079
+ if: { contained: true, hover: true },
4080
+ tokens: {
4081
+ backgroundColor: 'rgba(0, 0, 0, 0.1)',
3999
4082
  borderColor: '#000000',
4000
- borderWidth: 3,
4001
- outerBorderWidth: 0
4083
+ borderWidth: 1,
4084
+ iconColor: '#000000'
4002
4085
  }
4003
4086
  },
4004
4087
  {
4005
- if: { inactive: null, pressed: true },
4006
- tokens: { backgroundColor: '#404040', iconColor: '#666666' }
4088
+ if: { contained: true, focus: true },
4089
+ tokens: {
4090
+ backgroundColor: '#ffffff',
4091
+ borderColor: '#000000',
4092
+ borderWidth: 3,
4093
+ iconColor: '#000000'
4094
+ }
4007
4095
  },
4008
4096
  {
4009
- if: { inverse: true, pressed: true },
4097
+ if: { contained: true, pressed: true },
4010
4098
  tokens: {
4011
- backgroundColor: '#c9c8c8',
4012
- borderColor: '#c9c8c8',
4013
- iconColor: '#000000',
4014
- outerBorderWidth: 0
4099
+ backgroundColor: 'rgba(0, 0, 0, 0.2)',
4100
+ borderColor: '#000000',
4101
+ borderWidth: 1,
4102
+ iconColor: '#666666'
4015
4103
  }
4016
4104
  },
4017
4105
  {
4018
- if: { password: true, pressed: true },
4106
+ if: { contained: true, selected: true },
4019
4107
  tokens: {
4020
- backgroundColor: '#000000',
4108
+ backgroundColor: '#ffffff',
4109
+ borderBottomWidth: null,
4021
4110
  borderColor: '#000000',
4022
- iconColor: '#000000',
4023
- outerBorderGap: 0
4111
+ borderRadius: 4,
4112
+ borderWidth: 1,
4113
+ iconColor: '#000000'
4024
4114
  }
4025
4115
  },
4026
4116
  {
4027
- if: { size: 'large' },
4028
- tokens: { iconSize: 24, padding: 12 }
4117
+ if: { contained: true, hover: true, inverse: true },
4118
+ tokens: {
4119
+ backgroundColor: 'rgba(255, 255, 255, 0.2)',
4120
+ borderColor: '#ffffff',
4121
+ borderWidth: 1,
4122
+ iconColor: '#ffffff'
4123
+ }
4029
4124
  },
4030
- { if: { size: 'small' }, tokens: { iconSize: 16, padding: 4 } },
4031
4125
  {
4032
- description: 'Raised IconButtons follow different design patterns to other variants',
4033
- if: { raised: true },
4126
+ if: { contained: true, focus: true, inverse: true },
4127
+ tokens: {
4128
+ backgroundColor: 'transparent',
4129
+ borderColor: '#ffffff',
4130
+ borderWidth: 3,
4131
+ iconColor: '#ffffff'
4132
+ }
4133
+ },
4134
+ {
4135
+ if: { contained: true, inverse: true, pressed: true },
4136
+ tokens: {
4137
+ backgroundColor: 'rgba(255, 255, 255, 0.4)',
4138
+ borderColor: '#ffffff',
4139
+ borderWidth: 1,
4140
+ iconColor: '#ffffff'
4141
+ }
4142
+ },
4143
+ {
4144
+ if: { contained: true, inverse: true, selected: true },
4034
4145
  tokens: {
4035
4146
  backgroundColor: '#ffffff',
4147
+ borderWidth: null,
4148
+ iconColor: '#000000'
4149
+ }
4150
+ },
4151
+ {
4152
+ if: { hover: true, raised: true },
4153
+ tokens: {
4154
+ backgroundColor: 'rgba(0, 0, 0, 0.1)',
4036
4155
  borderColor: '#000000',
4156
+ borderWidth: 1,
4037
4157
  shadow: {
4038
4158
  blur: 2,
4039
4159
  color: 'rgba(0, 0, 0, 0.2)',
@@ -4044,46 +4164,82 @@ const theme = {
4044
4164
  }
4045
4165
  }
4046
4166
  },
4047
- {
4048
- if: { hover: true, raised: true },
4049
- tokens: { backgroundColor: '#000000', iconColor: '#ffffff' }
4050
- },
4051
- {
4052
- if: { raised: true, size: 'large' },
4053
- tokens: { iconSize: 24, padding: 12 }
4054
- },
4055
- { if: { raised: true, size: 'small' }, tokens: { padding: 8 } },
4056
4167
  {
4057
4168
  if: { focus: true, raised: true },
4058
- tokens: { borderWidth: 3 }
4169
+ tokens: {
4170
+ borderColor: '#000000',
4171
+ borderWidth: 3,
4172
+ iconColor: '#000000'
4173
+ }
4059
4174
  },
4060
4175
  {
4061
4176
  if: { pressed: true, raised: true },
4062
4177
  tokens: {
4063
- backgroundColor: '#404040',
4064
- borderColor: '#404040',
4065
- iconColor: '#666666'
4178
+ backgroundColor: '#c9c8c8',
4179
+ borderColor: '#000000',
4180
+ borderWidth: 1,
4181
+ iconColor: '#000000'
4182
+ }
4183
+ },
4184
+ {
4185
+ if: { raised: true, selected: true },
4186
+ tokens: {
4187
+ backgroundColor: '#ffffff',
4188
+ borderBottomWidth: null,
4189
+ borderColor: '#000000',
4190
+ borderRadius: 4,
4191
+ borderWidth: 1,
4192
+ iconColor: '#000000',
4193
+ shadow: {
4194
+ blur: 2,
4195
+ color: 'rgba(0, 0, 0, 0.2)',
4196
+ inset: false,
4197
+ offsetX: 0,
4198
+ offsetY: 2,
4199
+ spread: 0
4200
+ }
4066
4201
  }
4067
4202
  },
4068
- { if: { compact: true }, tokens: { outerBorderGap: 0 } },
4069
4203
  {
4070
4204
  if: { inactive: true },
4071
4205
  tokens: {
4072
4206
  backgroundColor: '#efefef',
4207
+ borderWidth: 0,
4073
4208
  iconColor: '#c9c8c8',
4074
- outerBorderColor: 'rgba(0, 0, 0, 0)',
4075
- outerBorderWidth: 0
4209
+ outerBorderColor: 'rgba(0, 0, 0, 0)'
4210
+ }
4211
+ },
4212
+ {
4213
+ if: { inactive: true, inverse: true },
4214
+ tokens: {
4215
+ backgroundColor: 'rgba(0, 0, 0, 0)',
4216
+ borderWidth: 0,
4217
+ iconColor: 'rgba(255, 255, 255, 0.4)',
4218
+ outerBorderColor: 'rgba(0, 0, 0, 0)'
4076
4219
  }
4220
+ },
4221
+ {
4222
+ if: { contained: true, inactive: true, inverse: true },
4223
+ tokens: {
4224
+ backgroundColor: 'rgba(255, 255, 255, 0.2)',
4225
+ borderWidth: 0,
4226
+ iconColor: 'rgba(255, 255, 255, 0.4)',
4227
+ outerBorderColor: 'rgba(0, 0, 0, 0)'
4228
+ }
4229
+ },
4230
+ {
4231
+ if: { size: 'large' },
4232
+ tokens: { iconSize: 24, padding: 10 }
4077
4233
  }
4078
4234
  ],
4079
4235
  tokens: {
4080
- backgroundColor: 'rgba(0, 0, 0, 0)',
4236
+ backgroundColor: 'transparent',
4081
4237
  borderBottomLeftRadius: null,
4082
4238
  borderBottomRightRadius: null,
4083
4239
  borderBottomWidth: null,
4084
4240
  borderColor: 'transparent',
4085
4241
  borderLeftWidth: null,
4086
- borderRadius: 99999999999999,
4242
+ borderRadius: 4,
4087
4243
  borderRightWidth: null,
4088
4244
  borderTopLeftRadius: null,
4089
4245
  borderTopRightRadius: null,
@@ -9594,6 +9750,6 @@ const theme = {
9594
9750
  tokens: { size: 96 }
9595
9751
  }
9596
9752
  },
9597
- metadata: { name: 'theme-koodo', themeTokensVersion: '4.17.0' }
9753
+ metadata: { name: 'theme-koodo', themeTokensVersion: '4.18.0' }
9598
9754
  }
9599
9755
  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": "^3.10.0",
9
- "@telus-uds/system-theme-tokens": "^4.17.0"
8
+ "@telus-uds/palette-koodo": "^3.11.0",
9
+ "@telus-uds/system-theme-tokens": "^4.18.0"
10
10
  },
11
11
  "files": [
12
12
  "build",
@@ -21,7 +21,7 @@
21
21
  "module": "build/web/index.js",
22
22
  "name": "@telus-uds/theme-koodo",
23
23
  "peerDependencies": {
24
- "@telus-uds/palette-koodo": "^3.10.0"
24
+ "@telus-uds/palette-koodo": "^3.11.0"
25
25
  },
26
26
  "repository": {
27
27
  "type": "git",
@@ -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.20.0"
35
+ "version": "7.21.0"
36
36
  }