@telus-uds/theme-allium 7.19.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 (255) hide show
  1. package/build/android/IconButton.json +247 -75
  2. package/build/android/PriceLockup.json +35 -0
  3. package/build/android/schema.json +1109 -1108
  4. package/build/android/theme.json +283 -76
  5. package/build/ios/IconButton.json +247 -75
  6. package/build/ios/PriceLockup.json +35 -0
  7. package/build/ios/schema.json +1109 -1108
  8. package/build/ios/theme.json +283 -76
  9. package/build/rn/ActionCard.js +1 -1
  10. package/build/rn/ActivityIndicator.js +1 -1
  11. package/build/rn/Autocomplete.js +1 -1
  12. package/build/rn/Badge.js +1 -1
  13. package/build/rn/BlockQuote.js +1 -1
  14. package/build/rn/Box.js +1 -1
  15. package/build/rn/Breadcrumbs.js +1 -1
  16. package/build/rn/Button.js +1 -1
  17. package/build/rn/ButtonDropdown.js +1 -1
  18. package/build/rn/ButtonGroup.js +1 -1
  19. package/build/rn/ButtonGroupItem.js +1 -1
  20. package/build/rn/Callout.js +1 -1
  21. package/build/rn/Card.js +1 -1
  22. package/build/rn/CardGroup.js +1 -1
  23. package/build/rn/Carousel.js +1 -1
  24. package/build/rn/CarouselTabsPanelItem.js +1 -1
  25. package/build/rn/CarouselThumbnail.js +1 -1
  26. package/build/rn/Checkbox.js +1 -1
  27. package/build/rn/CheckboxCard.js +1 -1
  28. package/build/rn/CheckboxCardGroup.js +1 -1
  29. package/build/rn/CheckboxGroup.js +1 -1
  30. package/build/rn/ChevronLink.js +1 -1
  31. package/build/rn/ColourToggle.js +1 -1
  32. package/build/rn/Countdown.js +1 -1
  33. package/build/rn/DatePicker.js +1 -1
  34. package/build/rn/Disclaimer.js +1 -1
  35. package/build/rn/Divider.js +1 -1
  36. package/build/rn/DownloadApp.js +1 -1
  37. package/build/rn/ExpandCollapse.js +1 -1
  38. package/build/rn/ExpandCollapseControl.js +1 -1
  39. package/build/rn/ExpandCollapseMini.js +1 -1
  40. package/build/rn/ExpandCollapseMiniControl.js +1 -1
  41. package/build/rn/ExpandCollapsePanel.js +1 -1
  42. package/build/rn/Feedback.js +1 -1
  43. package/build/rn/Fieldset.js +1 -1
  44. package/build/rn/FileUpload.js +1 -1
  45. package/build/rn/Footnote.js +1 -1
  46. package/build/rn/FootnoteLink.js +1 -1
  47. package/build/rn/HorizontalScrollButton.js +1 -1
  48. package/build/rn/Icon.js +1 -1
  49. package/build/rn/IconButton.js +158 -80
  50. package/build/rn/Image.js +1 -1
  51. package/build/rn/InputLabel.js +1 -1
  52. package/build/rn/InputSupports.js +1 -1
  53. package/build/rn/Link.js +1 -1
  54. package/build/rn/List.js +1 -1
  55. package/build/rn/Listbox.js +1 -1
  56. package/build/rn/Modal.js +1 -1
  57. package/build/rn/MultiSelectFilter.js +1 -1
  58. package/build/rn/NavigationBar.js +1 -1
  59. package/build/rn/Notification.js +1 -1
  60. package/build/rn/OrderedList.js +1 -1
  61. package/build/rn/Pagination.js +1 -1
  62. package/build/rn/PaginationPageButton.js +1 -1
  63. package/build/rn/PaginationSideButton.js +1 -1
  64. package/build/rn/PreviewCard.js +1 -1
  65. package/build/rn/PriceLockup.js +11 -1
  66. package/build/rn/ProductCard.js +1 -1
  67. package/build/rn/Progress.js +1 -1
  68. package/build/rn/ProgressBar.js +1 -1
  69. package/build/rn/QuantitySelector.js +1 -1
  70. package/build/rn/QuantitySelectorSideButton.js +1 -1
  71. package/build/rn/QuickLinks.js +1 -1
  72. package/build/rn/QuickLinksButton.js +1 -1
  73. package/build/rn/QuickLinksCard.js +1 -1
  74. package/build/rn/QuickLinksFeature.js +1 -1
  75. package/build/rn/QuickLinksFeatureItem.js +1 -1
  76. package/build/rn/QuickLinksList.js +1 -1
  77. package/build/rn/Radio.js +1 -1
  78. package/build/rn/RadioCard.js +1 -1
  79. package/build/rn/RadioCardGroup.js +1 -1
  80. package/build/rn/RadioGroup.js +1 -1
  81. package/build/rn/Ribbon.js +1 -1
  82. package/build/rn/Search.js +1 -1
  83. package/build/rn/SearchButton.js +1 -1
  84. package/build/rn/Select.js +1 -1
  85. package/build/rn/Shortcuts.js +1 -1
  86. package/build/rn/ShortcutsItem.js +1 -1
  87. package/build/rn/SideNav.js +1 -1
  88. package/build/rn/SideNavItem.js +1 -1
  89. package/build/rn/SideNavItemsGroup.js +1 -1
  90. package/build/rn/Skeleton.js +1 -1
  91. package/build/rn/SkipLink.js +1 -1
  92. package/build/rn/Spinner.js +1 -1
  93. package/build/rn/SplashButton.js +1 -1
  94. package/build/rn/SplashButtonWithDetails.js +1 -1
  95. package/build/rn/StackView.js +1 -1
  96. package/build/rn/Status.js +1 -1
  97. package/build/rn/StepTracker.js +1 -1
  98. package/build/rn/StoryCard.js +1 -1
  99. package/build/rn/TabBar.js +1 -1
  100. package/build/rn/TabBarItem.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 +1 -1
  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 +1109 -1108
  129. package/build/rn/spacingScale.js +1 -1
  130. package/build/rn/theme.js +180 -88
  131. package/build/web/ActionCard.js +1 -1
  132. package/build/web/ActivityIndicator.js +1 -1
  133. package/build/web/Autocomplete.js +1 -1
  134. package/build/web/Badge.js +1 -1
  135. package/build/web/BlockQuote.js +1 -1
  136. package/build/web/Box.js +1 -1
  137. package/build/web/Breadcrumbs.js +1 -1
  138. package/build/web/Button.js +1 -1
  139. package/build/web/ButtonDropdown.js +1 -1
  140. package/build/web/ButtonGroup.js +1 -1
  141. package/build/web/ButtonGroupItem.js +1 -1
  142. package/build/web/Callout.js +1 -1
  143. package/build/web/Card.js +1 -1
  144. package/build/web/CardGroup.js +1 -1
  145. package/build/web/Carousel.js +1 -1
  146. package/build/web/CarouselTabsPanelItem.js +1 -1
  147. package/build/web/CarouselThumbnail.js +1 -1
  148. package/build/web/Checkbox.js +1 -1
  149. package/build/web/CheckboxCard.js +1 -1
  150. package/build/web/CheckboxCardGroup.js +1 -1
  151. package/build/web/CheckboxGroup.js +1 -1
  152. package/build/web/ChevronLink.js +1 -1
  153. package/build/web/ColourToggle.js +1 -1
  154. package/build/web/Countdown.js +1 -1
  155. package/build/web/DatePicker.js +1 -1
  156. package/build/web/Disclaimer.js +1 -1
  157. package/build/web/Divider.js +1 -1
  158. package/build/web/DownloadApp.js +1 -1
  159. package/build/web/ExpandCollapse.js +1 -1
  160. package/build/web/ExpandCollapseControl.js +1 -1
  161. package/build/web/ExpandCollapseMini.js +1 -1
  162. package/build/web/ExpandCollapseMiniControl.js +1 -1
  163. package/build/web/ExpandCollapsePanel.js +1 -1
  164. package/build/web/Feedback.js +1 -1
  165. package/build/web/Fieldset.js +1 -1
  166. package/build/web/FileUpload.js +1 -1
  167. package/build/web/Footnote.js +1 -1
  168. package/build/web/FootnoteLink.js +1 -1
  169. package/build/web/HorizontalScrollButton.js +1 -1
  170. package/build/web/Icon.js +1 -1
  171. package/build/web/IconButton.js +158 -80
  172. package/build/web/Image.js +1 -1
  173. package/build/web/InputLabel.js +1 -1
  174. package/build/web/InputSupports.js +1 -1
  175. package/build/web/Link.js +1 -1
  176. package/build/web/List.js +1 -1
  177. package/build/web/Listbox.js +1 -1
  178. package/build/web/Modal.js +1 -1
  179. package/build/web/MultiSelectFilter.js +1 -1
  180. package/build/web/NavigationBar.js +1 -1
  181. package/build/web/Notification.js +1 -1
  182. package/build/web/OrderedList.js +1 -1
  183. package/build/web/Pagination.js +1 -1
  184. package/build/web/PaginationPageButton.js +1 -1
  185. package/build/web/PaginationSideButton.js +1 -1
  186. package/build/web/PreviewCard.js +1 -1
  187. package/build/web/PriceLockup.js +11 -1
  188. package/build/web/ProductCard.js +1 -1
  189. package/build/web/Progress.js +1 -1
  190. package/build/web/ProgressBar.js +1 -1
  191. package/build/web/QuantitySelector.js +1 -1
  192. package/build/web/QuantitySelectorSideButton.js +1 -1
  193. package/build/web/QuickLinks.js +1 -1
  194. package/build/web/QuickLinksButton.js +1 -1
  195. package/build/web/QuickLinksCard.js +1 -1
  196. package/build/web/QuickLinksFeature.js +1 -1
  197. package/build/web/QuickLinksFeatureItem.js +1 -1
  198. package/build/web/QuickLinksList.js +1 -1
  199. package/build/web/Radio.js +1 -1
  200. package/build/web/RadioCard.js +1 -1
  201. package/build/web/RadioCardGroup.js +1 -1
  202. package/build/web/RadioGroup.js +1 -1
  203. package/build/web/Ribbon.js +1 -1
  204. package/build/web/Search.js +1 -1
  205. package/build/web/SearchButton.js +1 -1
  206. package/build/web/Select.js +1 -1
  207. package/build/web/Shortcuts.js +1 -1
  208. package/build/web/ShortcutsItem.js +1 -1
  209. package/build/web/SideNav.js +1 -1
  210. package/build/web/SideNavItem.js +1 -1
  211. package/build/web/SideNavItemsGroup.js +1 -1
  212. package/build/web/Skeleton.js +1 -1
  213. package/build/web/SkipLink.js +1 -1
  214. package/build/web/Spinner.js +1 -1
  215. package/build/web/SplashButton.js +1 -1
  216. package/build/web/SplashButtonWithDetails.js +1 -1
  217. package/build/web/StackView.js +1 -1
  218. package/build/web/Status.js +1 -1
  219. package/build/web/StepTracker.js +1 -1
  220. package/build/web/StoryCard.js +1 -1
  221. package/build/web/TabBar.js +1 -1
  222. package/build/web/TabBarItem.js +1 -1
  223. package/build/web/Table.js +1 -1
  224. package/build/web/Tabs.js +1 -1
  225. package/build/web/TabsItem.js +1 -1
  226. package/build/web/Tags.js +1 -1
  227. package/build/web/TagsItem.js +1 -1
  228. package/build/web/TermsAndConditions.js +1 -1
  229. package/build/web/Testimonial.js +1 -1
  230. package/build/web/TextArea.js +1 -1
  231. package/build/web/TextInput.js +1 -1
  232. package/build/web/Timeline.js +1 -1
  233. package/build/web/Toast.js +1 -1
  234. package/build/web/ToggleSwitch.js +1 -1
  235. package/build/web/ToggleSwitchGroup.js +1 -1
  236. package/build/web/Tooltip.js +1 -1
  237. package/build/web/TooltipButton.js +1 -1
  238. package/build/web/Typography.js +1 -1
  239. package/build/web/Video.js +1 -1
  240. package/build/web/VideoButton.js +1 -1
  241. package/build/web/VideoControlBar.js +1 -1
  242. package/build/web/VideoMenu.js +1 -1
  243. package/build/web/VideoMiddleControlButton.js +1 -1
  244. package/build/web/VideoPicker.js +1 -1
  245. package/build/web/VideoPickerSlider.js +1 -1
  246. package/build/web/VideoPickerThumbnail.js +1 -1
  247. package/build/web/VideoProgressBar.js +1 -1
  248. package/build/web/VideoVolumeSlider.js +1 -1
  249. package/build/web/WaffleGrid.js +1 -1
  250. package/build/web/index.js +1 -1
  251. package/build/web/schema.json +1109 -1108
  252. package/build/web/spacingScale.js +1 -1
  253. package/build/web/theme.js +180 -88
  254. package/package.json +5 -5
  255. package/theme.json +178 -90
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 12 Dec 2025 05:36:23 GMT
4
+ * Generated on Mon, 19 Jan 2026 20:38:54 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:36:23 GMT
4
+ * Generated on Mon, 19 Jan 2026 20:38:54 GMT
5
5
  *
6
6
  */
7
7
 
@@ -28,6 +28,7 @@ import PaletteIconUserSingle from '@telus-uds/palette-allium/build/rn/icons/User
28
28
  import PaletteIconSubtract from '@telus-uds/palette-allium/build/rn/icons/Subtract'
29
29
  import PaletteIconExpand from '@telus-uds/palette-allium/build/rn/icons/Expand'
30
30
  import PaletteIconChevronLeft from '@telus-uds/palette-allium/build/rn/icons/ChevronLeft'
31
+ import PaletteIconInvisible from '@telus-uds/palette-allium/build/rn/icons/Invisible'
31
32
  import PaletteIconBulletFill from '@telus-uds/palette-allium/build/rn/icons/BulletFill'
32
33
  import PaletteIconChevronUp from '@telus-uds/palette-allium/build/rn/icons/ChevronUp'
33
34
  import PaletteIconStatusInfo from '@telus-uds/palette-allium/build/rn/icons/StatusInfo'
@@ -40,7 +41,6 @@ import PaletteIconQuoteLeftArrow from '@telus-uds/palette-allium/build/rn/icons/
40
41
  import PaletteIconAmex from '@telus-uds/palette-allium/build/rn/icons/Amex'
41
42
  import PaletteIconCreditCard from '@telus-uds/palette-allium/build/rn/icons/CreditCard'
42
43
  import PaletteIconMasterCard from '@telus-uds/palette-allium/build/rn/icons/MasterCard'
43
- import PaletteIconInvisible from '@telus-uds/palette-allium/build/rn/icons/Invisible'
44
44
  import PaletteIconVisible from '@telus-uds/palette-allium/build/rn/icons/Visible'
45
45
  import PaletteIconVisa from '@telus-uds/palette-allium/build/rn/icons/Visa'
46
46
  import PaletteIconQuestion from '@telus-uds/palette-allium/build/rn/icons/Question'
@@ -3862,12 +3862,13 @@ const theme = {
3862
3862
  action: {
3863
3863
  type: 'variant',
3864
3864
  values: [
3865
- 'add', 'close',
3866
- 'expand', 'moveDown',
3867
- 'moveLeft', 'moveRight',
3868
- 'moveUp', 'play',
3869
- 'subtract', 'menu',
3870
- 'cart', 'profile'
3865
+ 'add', 'close',
3866
+ 'expand', 'moveDown',
3867
+ 'moveLeft', 'moveRight',
3868
+ 'moveUp', 'play',
3869
+ 'subtract', 'menu',
3870
+ 'cart', 'profile',
3871
+ 'visibility'
3871
3872
  ]
3872
3873
  },
3873
3874
  compact: {
@@ -3875,6 +3876,11 @@ const theme = {
3875
3876
  type: 'variant',
3876
3877
  values: [ true ]
3877
3878
  },
3879
+ contained: {
3880
+ description: 'For use in more prominent situations',
3881
+ type: 'variant',
3882
+ values: [ true ]
3883
+ },
3878
3884
  focus: {
3879
3885
  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.",
3880
3886
  platforms: [ 'rn', 'web' ],
@@ -3912,7 +3918,17 @@ const theme = {
3912
3918
  type: 'variant',
3913
3919
  values: [ true ]
3914
3920
  },
3915
- size: { type: 'variant', values: [ 'small', 'large' ] }
3921
+ selected: {
3922
+ 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`.',
3923
+ type: 'state',
3924
+ values: [ true ]
3925
+ },
3926
+ size: { type: 'variant', values: [ 'small', 'large' ] },
3927
+ subtle: {
3928
+ description: 'For use in less prominent situations',
3929
+ type: 'variant',
3930
+ values: [ true ]
3931
+ }
3916
3932
  },
3917
3933
  rules: [
3918
3934
  {
@@ -3993,158 +4009,224 @@ const theme = {
3993
4009
  if: { action: 'play' },
3994
4010
  tokens: { icon: PaletteIconPlayVideo }
3995
4011
  },
4012
+ {
4013
+ if: { action: 'visibility' },
4014
+ tokens: { icon: PaletteIconInvisible }
4015
+ },
4016
+ {
4017
+ if: { subtle: true },
4018
+ tokens: { borderColor: 'rgba(0, 0, 0, 0)' }
4019
+ },
4020
+ {
4021
+ if: { raised: true },
4022
+ tokens: {
4023
+ backgroundColor: '#ffffff',
4024
+ borderColor: '#b2b9bf',
4025
+ padding: 8,
4026
+ shadow: {
4027
+ blur: 2,
4028
+ color: 'rgba(0, 0, 0, 0.2)',
4029
+ inset: false,
4030
+ offsetX: 0,
4031
+ offsetY: 2,
4032
+ spread: 0
4033
+ }
4034
+ }
4035
+ },
3996
4036
  {
3997
4037
  if: { inverse: true },
3998
4038
  tokens: { borderColor: '#ffffff', iconColor: '#ffffff' }
3999
4039
  },
4040
+ {
4041
+ if: { inverse: true, subtle: true },
4042
+ tokens: { borderColor: 'rgba(0, 0, 0, 0)', iconColor: '#ffffff' }
4043
+ },
4000
4044
  {
4001
4045
  if: { hover: true },
4046
+ tokens: { borderColor: '#414547', iconColor: '#414547' }
4047
+ },
4048
+ {
4049
+ if: { focus: true },
4002
4050
  tokens: {
4003
4051
  borderColor: '#414547',
4004
- iconColor: '#414547',
4005
- iconScale: 1.1
4052
+ borderWidth: 2,
4053
+ iconColor: '#414547'
4006
4054
  }
4007
4055
  },
4008
- { if: { hover: true }, tokens: { iconScale: 1 } },
4009
4056
  {
4010
- if: { hover: true, password: true },
4057
+ if: { pressed: true },
4011
4058
  tokens: {
4012
- backgroundColor: '#7c53a5',
4013
- borderColor: '#7c53a5',
4059
+ backgroundColor: '#676e73',
4060
+ borderWidth: null,
4014
4061
  iconColor: '#ffffff'
4015
4062
  }
4016
4063
  },
4017
4064
  {
4018
- if: { password: true },
4019
- tokens: { borderColor: 'transparent' }
4065
+ if: { selected: true },
4066
+ tokens: {
4067
+ backgroundColor: '#4b286d',
4068
+ borderWidth: null,
4069
+ iconColor: '#ffffff'
4070
+ }
4020
4071
  },
4021
4072
  {
4022
- if: { focus: true, password: true },
4023
- tokens: { borderColor: '#4b286d' }
4073
+ if: { hover: true, inverse: true },
4074
+ tokens: {
4075
+ backgroundColor: 'transparent',
4076
+ borderColor: '#ffffff',
4077
+ iconColor: '#ffffff'
4078
+ }
4024
4079
  },
4025
4080
  {
4026
- if: { hover: true, inverse: true },
4027
- tokens: { borderColor: '#ffffff', iconColor: '#ffffff' }
4081
+ if: { focus: true, inverse: true },
4082
+ tokens: {
4083
+ backgroundColor: 'transparent',
4084
+ borderColor: '#ffffff',
4085
+ borderWidth: 2,
4086
+ iconColor: '#ffffff'
4087
+ }
4028
4088
  },
4029
4089
  {
4030
- if: { focus: true },
4090
+ if: { inverse: true, pressed: true },
4031
4091
  tokens: {
4032
- outerBorderColor: '#676e73',
4033
- outerBorderGap: 4,
4034
- outerBorderWidth: 1
4092
+ backgroundColor: 'rgba(255, 255, 255, 0.4)',
4093
+ borderColor: '#ffffff',
4094
+ borderWidth: 1,
4095
+ iconColor: '#ffffff'
4035
4096
  }
4036
4097
  },
4037
4098
  {
4038
- if: { focus: true, password: true },
4099
+ if: { inverse: true, selected: true },
4039
4100
  tokens: {
4040
- borderWidth: 3,
4041
- outerBorderColor: '#3f2a54',
4042
- outerBorderWidth: 0
4101
+ backgroundColor: '#ffffff',
4102
+ borderWidth: null,
4103
+ iconColor: '#4b286d'
4043
4104
  }
4044
4105
  },
4045
4106
  {
4046
- if: { focus: true, inverse: true },
4107
+ if: { hover: true, subtle: true },
4047
4108
  tokens: {
4048
- backgroundColor: 'transparent',
4049
- borderColor: '#ffffff',
4050
- iconColor: '#ffffff',
4051
- outerBorderColor: '#ffffff',
4052
- outerBorderWidth: 1
4109
+ backgroundColor: 'rgba(0, 0, 0, 0.05)',
4110
+ borderColor: 'rgba(0, 0, 0, 0.05)',
4111
+ borderWidth: null,
4112
+ iconColor: '#414547'
4053
4113
  }
4054
4114
  },
4055
4115
  {
4056
- if: { pressed: true },
4116
+ if: { focus: true, subtle: true },
4117
+ tokens: {
4118
+ borderColor: '#414547',
4119
+ borderWidth: 1,
4120
+ iconColor: '#414547'
4121
+ }
4122
+ },
4123
+ {
4124
+ if: { pressed: true, subtle: true },
4057
4125
  tokens: {
4058
4126
  backgroundColor: '#676e73',
4059
- borderColor: '#ffffff',
4060
- iconColor: '#ffffff',
4061
- outerBorderGap: 4
4127
+ borderWidth: null,
4128
+ iconColor: '#ffffff'
4062
4129
  }
4063
4130
  },
4064
4131
  {
4065
- if: { password: true, pressed: true },
4132
+ if: { selected: true, subtle: true },
4066
4133
  tokens: {
4067
- backgroundColor: '#3f2a54',
4068
- borderColor: '#3f2a54',
4069
- iconColor: '#ffffff',
4070
- outerBorderGap: 0
4134
+ backgroundColor: '#4b286d',
4135
+ borderWidth: null,
4136
+ iconColor: '#ffffff'
4071
4137
  }
4072
4138
  },
4073
4139
  {
4074
- if: { inverse: true, pressed: true },
4140
+ if: { hover: true, inverse: true, subtle: true },
4141
+ tokens: {
4142
+ backgroundColor: 'rgba(255, 255, 255, 0.1)',
4143
+ borderColor: 'rgba(255, 255, 255, 0.1)',
4144
+ iconColor: '#ffffff'
4145
+ }
4146
+ },
4147
+ {
4148
+ if: { focus: true, inverse: true, subtle: true },
4075
4149
  tokens: {
4076
- backgroundColor: 'rgba(255, 255, 255, 0.4)',
4077
4150
  borderColor: '#ffffff',
4078
- iconColor: '#ffffff',
4079
- outerBorderWidth: 0
4151
+ borderWidth: 1,
4152
+ iconColor: '#ffffff'
4080
4153
  }
4081
4154
  },
4082
4155
  {
4083
- if: { size: 'large' },
4084
- tokens: { iconSize: 24, padding: 12 }
4156
+ if: { inverse: true, pressed: true, subtle: true },
4157
+ tokens: {
4158
+ backgroundColor: 'rgba(255, 255, 255, 0.4)',
4159
+ borderWidth: null,
4160
+ iconColor: '#ffffff'
4161
+ }
4085
4162
  },
4086
- { if: { size: 'small' }, tokens: { iconSize: 16, padding: 4 } },
4087
4163
  {
4088
- description: 'Raised IconButtons follow different design patterns to other variants',
4089
- if: { raised: true },
4164
+ if: { inverse: true, selected: true, subtle: true },
4090
4165
  tokens: {
4091
4166
  backgroundColor: '#ffffff',
4092
- borderColor: '#b2b9bf',
4093
- borderWidth: 1,
4094
- iconSize: 16,
4095
- outerBorderColor: 'transparent',
4096
- outerBorderGap: 0,
4097
- outerBorderWidth: 0,
4098
- padding: 8,
4099
- shadow: {
4100
- blur: 2,
4101
- color: 'rgba(0, 0, 0, 0.2)',
4102
- inset: false,
4103
- offsetX: 0,
4104
- offsetY: 2,
4105
- spread: 0
4106
- }
4167
+ borderWidth: null,
4168
+ iconColor: '#414547'
4107
4169
  }
4108
4170
  },
4109
4171
  {
4110
- if: { raised: true, size: 'large' },
4111
- tokens: { iconSize: 24, padding: 12 }
4172
+ if: { hover: true, raised: true },
4173
+ tokens: { borderColor: '#414547', iconColor: '#414547' }
4174
+ },
4175
+ {
4176
+ if: { focus: true, raised: true },
4177
+ tokens: {
4178
+ borderColor: '#414547',
4179
+ borderWidth: 3,
4180
+ iconColor: '#414547'
4181
+ }
4112
4182
  },
4113
- { if: { raised: true, size: 'small' }, tokens: { padding: 8 } },
4114
4183
  {
4115
4184
  if: { pressed: true, raised: true },
4116
- tokens: { backgroundColor: '#676e73', borderWidth: 0 }
4185
+ tokens: {
4186
+ backgroundColor: '#676e73',
4187
+ borderWidth: null,
4188
+ iconColor: '#ffffff'
4189
+ }
4117
4190
  },
4118
4191
  {
4119
- if: { inactive: true, password: true },
4192
+ if: { raised: true, selected: true },
4120
4193
  tokens: {
4121
- backgroundColor: 'rgba(0, 0, 0, 0)',
4122
- borderWidth: 0,
4123
- iconColor: '#e3e6e8',
4124
- outerBorderColor: 'rgba(0, 0, 0, 0)'
4194
+ backgroundColor: '#4b286d',
4195
+ borderWidth: null,
4196
+ iconColor: '#ffffff'
4125
4197
  }
4126
4198
  },
4127
4199
  {
4128
- if: { hover: true, raised: true },
4129
- tokens: { borderColor: '#b2b9bf', borderWidth: 3 }
4200
+ if: { inactive: true },
4201
+ tokens: {
4202
+ backgroundColor: '#e3e6e8',
4203
+ borderWidth: 0,
4204
+ iconColor: '#b2b9bf',
4205
+ outerBorderColor: 'rgba(0, 0, 0, 0)'
4206
+ }
4130
4207
  },
4131
4208
  {
4132
- if: { focus: true, raised: true },
4209
+ if: { inactive: true, inverse: true },
4133
4210
  tokens: {
4134
- borderColor: '#4b286d',
4135
- borderWidth: 3,
4136
- iconColor: '#4b286d'
4211
+ backgroundColor: 'rgba(255, 255, 255, 0.2)',
4212
+ borderWidth: 0,
4213
+ iconColor: '#b2b9bf',
4214
+ outerBorderColor: 'rgba(0, 0, 0, 0)'
4137
4215
  }
4138
4216
  },
4139
4217
  {
4140
- if: { focus: true, pressed: true, raised: true },
4218
+ if: { inactive: true, inverse: true, subtle: true },
4141
4219
  tokens: {
4142
- backgroundColor: '#4b286d',
4220
+ backgroundColor: 'rgba(0, 0, 0, 0)',
4143
4221
  borderWidth: 0,
4144
- iconColor: '#ffffff'
4222
+ iconColor: '#b2b9bf',
4223
+ outerBorderColor: 'rgba(0, 0, 0, 0)'
4145
4224
  }
4146
4225
  },
4147
- { if: { compact: true }, tokens: { outerBorderGap: 0 } }
4226
+ {
4227
+ if: { size: 'large' },
4228
+ tokens: { iconSize: 24, padding: 10 }
4229
+ }
4148
4230
  ],
4149
4231
  tokens: {
4150
4232
  backgroundColor: 'transparent',
@@ -5836,6 +5918,7 @@ const theme = {
5836
5918
  values: [ 'micro', 'small', 'medium', 'large' ]
5837
5919
  },
5838
5920
  strikeThrough: { type: 'variant', values: [ true ] },
5921
+ style: { type: 'variant', values: [ 'inverse' ] },
5839
5922
  viewport: {
5840
5923
  description: 'The size label for the current screen viewport based on the current screen width',
5841
5924
  type: 'state',
@@ -5943,6 +6026,15 @@ const theme = {
5943
6026
  centsFontWeight: '300',
5944
6027
  centsLineHeight: 1
5945
6028
  }
6029
+ },
6030
+ {
6031
+ if: { style: 'inverse' },
6032
+ tokens: {
6033
+ dividerColor: '#ffffff',
6034
+ fontColor: '#ffffff',
6035
+ footnoteLinkColor: '#ffffff',
6036
+ strikeThroughColor: '#ffffff'
6037
+ }
5946
6038
  }
5947
6039
  ],
5948
6040
  tokens: {
@@ -9707,6 +9799,6 @@ const theme = {
9707
9799
  tokens: { size: 96 }
9708
9800
  }
9709
9801
  },
9710
- metadata: { name: 'theme-allium', themeTokensVersion: '4.17.0' }
9802
+ metadata: { name: 'theme-allium', themeTokensVersion: '4.18.0' }
9711
9803
  }
9712
9804
  export default theme
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telus-uds/theme-allium",
3
- "version": "7.19.0",
3
+ "version": "7.21.0",
4
4
  "description": "Allium theme",
5
5
  "author": "TELUS Digital",
6
6
  "homepage": "https://github.com/telus/allium-design-system#readme",
@@ -9,12 +9,12 @@
9
9
  "module": "build/web/index.js",
10
10
  "dependencies": {},
11
11
  "devDependencies": {
12
- "@telus-uds/palette-allium": "^5.13.1",
13
- "@telus-uds/system-theme-tokens": "^4.17.0",
14
- "@telus-uds/system-tokens": "^1.4.11"
12
+ "@telus-uds/palette-allium": "^5.13.2",
13
+ "@telus-uds/system-theme-tokens": "^4.18.0",
14
+ "@telus-uds/system-tokens": "^1.4.12"
15
15
  },
16
16
  "peerDependencies": {
17
- "@telus-uds/palette-allium": "^5.13.1"
17
+ "@telus-uds/palette-allium": "^5.13.2"
18
18
  },
19
19
  "files": [
20
20
  "build",