@telus-uds/theme-allium 7.12.1 → 7.14.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 +51 -8
  2. package/build/android/Checkbox.json +1 -1
  3. package/build/android/ExpandCollapseMiniControl.json +5 -4
  4. package/build/android/Icon.json +421 -21
  5. package/build/android/Link.json +47 -4
  6. package/build/android/Listbox.json +8 -12
  7. package/build/android/Radio.json +2 -2
  8. package/build/android/Tabs.json +1 -1
  9. package/build/android/TabsItem.json +238 -0
  10. package/build/android/schema.json +1332 -1201
  11. package/build/android/theme.json +776 -55
  12. package/build/ios/ButtonDropdown.json +51 -8
  13. package/build/ios/Checkbox.json +1 -1
  14. package/build/ios/ExpandCollapseMiniControl.json +5 -4
  15. package/build/ios/Icon.json +421 -21
  16. package/build/ios/Link.json +47 -4
  17. package/build/ios/Listbox.json +8 -12
  18. package/build/ios/Radio.json +2 -2
  19. package/build/ios/Tabs.json +1 -1
  20. package/build/ios/TabsItem.json +238 -0
  21. package/build/ios/schema.json +1332 -1201
  22. package/build/ios/theme.json +776 -55
  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 +29 -7
  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 +2 -2
  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 +4 -4
  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 +161 -4
  63. package/build/rn/IconButton.js +1 -1
  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 +33 -5
  68. package/build/rn/List.js +1 -1
  69. package/build/rn/Listbox.js +9 -13
  70. package/build/rn/Modal.js +1 -1
  71. package/build/rn/MultiSelectFilter.js +1 -1
  72. package/build/rn/NavigationBar.js +1 -1
  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 +1 -1
  90. package/build/rn/QuickLinksList.js +1 -1
  91. package/build/rn/Radio.js +3 -3
  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 +2 -2
  115. package/build/rn/TabsItem.js +106 -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 +1332 -1201
  141. package/build/rn/spacingScale.js +1 -1
  142. package/build/rn/theme.js +343 -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 +29 -7
  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 +2 -2
  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 +4 -4
  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 +161 -4
  183. package/build/web/IconButton.js +1 -1
  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 +33 -5
  188. package/build/web/List.js +1 -1
  189. package/build/web/Listbox.js +9 -13
  190. package/build/web/Modal.js +1 -1
  191. package/build/web/MultiSelectFilter.js +1 -1
  192. package/build/web/NavigationBar.js +1 -1
  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 +1 -1
  210. package/build/web/QuickLinksList.js +1 -1
  211. package/build/web/Radio.js +3 -3
  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 +2 -2
  235. package/build/web/TabsItem.js +106 -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 +1332 -1201
  262. package/build/web/spacingScale.js +1 -1
  263. package/build/web/theme.js +343 -35
  264. package/package.json +5 -5
  265. package/theme.json +533 -42
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 25 Jul 2025 04:08:41 GMT
4
+ * Generated on Thu, 04 Sep 2025 06:45:43 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:08:41 GMT
4
+ * Generated on Thu, 04 Sep 2025 06:45:43 GMT
5
5
  *
6
6
  */
7
7
 
@@ -936,7 +936,9 @@ const theme = {
936
936
  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`.',
937
937
  type: 'state',
938
938
  values: [ true ]
939
- }
939
+ },
940
+ size: { type: 'variant', values: [ 'default', 'small' ] },
941
+ width: { type: 'variant', values: [ 'full' ] }
940
942
  },
941
943
  rules: [
942
944
  { if: { open: true }, tokens: { icon: PaletteIconCaretUp } },
@@ -995,6 +997,10 @@ const theme = {
995
997
  {
996
998
  if: { focus: true, pressed: true, selected: true },
997
999
  tokens: { outerBorderGap: 2, outerBorderWidth: 2 }
1000
+ },
1001
+ {
1002
+ if: { size: 'small' },
1003
+ tokens: { paddingBottom: 4, paddingTop: 4 }
998
1004
  }
999
1005
  ],
1000
1006
  tokens: {
@@ -1004,13 +1010,17 @@ const theme = {
1004
1010
  borderRadius: 32,
1005
1011
  borderWidth: 1,
1006
1012
  color: '#676e73',
1013
+ descriptionFontName: 'HNforTELUSSA',
1014
+ descriptionFontSize: 14,
1015
+ descriptionFontWeight: '400',
1016
+ descriptionTextPaddingBottom: 4,
1007
1017
  dividerColor: '#e3e6e8',
1008
1018
  fontName: 'HNforTELUSSA',
1009
1019
  fontSize: 14,
1010
1020
  fontWeight: '700',
1011
1021
  icon: PaletteIconCaretDown,
1012
1022
  iconAlignSelf: 'center',
1013
- iconBackground: '#f4f4f7',
1023
+ iconBackground: 'rgba(0, 0, 0, 0)',
1014
1024
  iconBorderRadius: 32,
1015
1025
  iconColor: '#414547',
1016
1026
  iconPadding: 2,
@@ -1019,6 +1029,16 @@ const theme = {
1019
1029
  iconSpace: 1,
1020
1030
  iconTranslateX: 0,
1021
1031
  iconTranslateY: 0,
1032
+ leadIcon: null,
1033
+ leadIconBackgroundColor: '#f4f4f7',
1034
+ leadIconBorderRadius: 45,
1035
+ leadIconColor: '#414547',
1036
+ leadIconContainerPaddingBottom: 0,
1037
+ leadIconContainerPaddingLeft: 0,
1038
+ leadIconContainerPaddingRight: 0,
1039
+ leadIconContainerPaddingTop: 0,
1040
+ leadIconPadding: 4,
1041
+ leadIconSize: 24,
1022
1042
  lineHeight: 1.42857142857,
1023
1043
  minWidth: 0,
1024
1044
  opacity: 1,
@@ -1026,13 +1046,15 @@ const theme = {
1026
1046
  outerBorderColor: 'rgba(0, 0, 0, 0)',
1027
1047
  outerBorderGap: 2,
1028
1048
  outerBorderWidth: 2,
1029
- paddingBottom: 8,
1030
- paddingLeft: 16,
1031
- paddingRight: 8,
1032
- paddingTop: 8,
1049
+ paddingBottom: 12,
1050
+ paddingLeft: 12,
1051
+ paddingRight: 12,
1052
+ paddingTop: 12,
1033
1053
  shadow: null,
1034
1054
  subtitleColor: '#676e73',
1035
1055
  textAlign: 'center',
1056
+ textPaddingLeft: 8,
1057
+ textPaddingRight: 8,
1036
1058
  width: null
1037
1059
  }
1038
1060
  },
@@ -2154,7 +2176,7 @@ const theme = {
2154
2176
  labelFontSize: 16,
2155
2177
  labelFontWeight: '400',
2156
2178
  labelLineHeight: 1.5,
2157
- labelMarginLeft: 10
2179
+ labelMarginLeft: 8
2158
2180
  }
2159
2181
  },
2160
2182
  CheckboxCard: {
@@ -3135,11 +3157,11 @@ const theme = {
3135
3157
  },
3136
3158
  {
3137
3159
  if: { size: 'small' },
3138
- tokens: { fontSize: 14, iconSize: 20, lineHeight: 1.45 }
3160
+ tokens: { fontSize: 14, iconSize: 16, lineHeight: 1.42857142857 }
3139
3161
  },
3140
3162
  {
3141
3163
  if: { size: 'large' },
3142
- tokens: { fontSize: 20, lineHeight: 1.28571428571 }
3164
+ tokens: { fontSize: 20, iconSize: 20, lineHeight: 1.6 }
3143
3165
  },
3144
3166
  { if: { quiet: true }, tokens: { textLine: 'none' } },
3145
3167
  {
@@ -3161,7 +3183,7 @@ const theme = {
3161
3183
  iconGap: 8,
3162
3184
  iconPaddingTop: 4,
3163
3185
  iconPosition: 'left',
3164
- iconSize: 24,
3186
+ iconSize: 16,
3165
3187
  justifyContent: 'flex-start',
3166
3188
  lineHeight: 1.5,
3167
3189
  paddingBottom: 0,
@@ -3549,6 +3571,10 @@ const theme = {
3549
3571
  size: {
3550
3572
  type: 'variant',
3551
3573
  values: [ 'micro', 'small', 'large', 'extraLarge' ]
3574
+ },
3575
+ style: {
3576
+ type: 'variant',
3577
+ values: [ 'default', 'brand', 'dark', 'light' ]
3552
3578
  }
3553
3579
  },
3554
3580
  rules: [
@@ -3563,6 +3589,15 @@ const theme = {
3563
3589
  if: { padding: 'extraLarge' },
3564
3590
  tokens: { padding: 4, width: 32 }
3565
3591
  },
3592
+ {
3593
+ if: { background: true },
3594
+ tokens: {
3595
+ backgroundColor: '#f4f4f7',
3596
+ borderRadius: 45,
3597
+ padding: 4,
3598
+ width: 8
3599
+ }
3600
+ },
3566
3601
  {
3567
3602
  if: { background: true, padding: 'micro' },
3568
3603
  tokens: {
@@ -3608,9 +3643,154 @@ const theme = {
3608
3643
  width: 32
3609
3644
  }
3610
3645
  },
3646
+ {
3647
+ if: { style: 'default' },
3648
+ tokens: { backgroundColor: '#f4f4f7', borderRadius: 45, padding: 4 }
3649
+ },
3650
+ {
3651
+ if: { style: 'brand' },
3652
+ tokens: { backgroundColor: '#4b286d', borderRadius: 45, padding: 4 }
3653
+ },
3654
+ {
3655
+ if: { style: 'dark' },
3656
+ tokens: {
3657
+ backgroundColor: 'rgba(0, 0, 0, 0.05)',
3658
+ borderRadius: 45,
3659
+ padding: 4
3660
+ }
3661
+ },
3662
+ {
3663
+ if: { style: 'light' },
3664
+ tokens: {
3665
+ backgroundColor: 'rgba(255, 255, 255, 0.8)',
3666
+ borderRadius: 45,
3667
+ padding: 4
3668
+ }
3669
+ },
3670
+ {
3671
+ if: { padding: 'micro', style: 'default' },
3672
+ tokens: { backgroundColor: '#f4f4f7', borderRadius: 45, padding: 4 }
3673
+ },
3674
+ {
3675
+ if: { padding: 'small', style: 'default' },
3676
+ tokens: { backgroundColor: '#f4f4f7', borderRadius: 45, padding: 4 }
3677
+ },
3678
+ {
3679
+ if: { padding: 'medium', style: 'default' },
3680
+ tokens: { backgroundColor: '#f4f4f7', borderRadius: 45, padding: 4 }
3681
+ },
3682
+ {
3683
+ if: { padding: 'large', style: 'default' },
3684
+ tokens: { backgroundColor: '#f4f4f7', borderRadius: 45, padding: 4 }
3685
+ },
3686
+ {
3687
+ if: { padding: 'extraLarge', style: 'default' },
3688
+ tokens: { backgroundColor: '#f4f4f7', borderRadius: 45, padding: 4 }
3689
+ },
3690
+ {
3691
+ if: { padding: 'micro', style: 'brand' },
3692
+ tokens: { backgroundColor: '#4b286d', borderRadius: 45, padding: 4 }
3693
+ },
3694
+ {
3695
+ if: { padding: 'small', style: 'brand' },
3696
+ tokens: { backgroundColor: '#4b286d', borderRadius: 45, padding: 4 }
3697
+ },
3698
+ {
3699
+ if: { padding: 'medium', style: 'brand' },
3700
+ tokens: { backgroundColor: '#4b286d', borderRadius: 45, padding: 4 }
3701
+ },
3702
+ {
3703
+ if: { padding: 'large', style: 'brand' },
3704
+ tokens: { backgroundColor: '#4b286d', borderRadius: 45, padding: 4 }
3705
+ },
3706
+ {
3707
+ if: { padding: 'extraLarge', style: 'brand' },
3708
+ tokens: { backgroundColor: '#4b286d', borderRadius: 45, padding: 4 }
3709
+ },
3710
+ {
3711
+ if: { padding: 'micro', style: 'dark' },
3712
+ tokens: {
3713
+ backgroundColor: 'rgba(0, 0, 0, 0.05)',
3714
+ borderRadius: 45,
3715
+ padding: 4
3716
+ }
3717
+ },
3718
+ {
3719
+ if: { padding: 'small', style: 'dark' },
3720
+ tokens: {
3721
+ backgroundColor: 'rgba(0, 0, 0, 0.05)',
3722
+ borderRadius: 45,
3723
+ padding: 4
3724
+ }
3725
+ },
3726
+ {
3727
+ if: { padding: 'medium', style: 'dark' },
3728
+ tokens: {
3729
+ backgroundColor: 'rgba(0, 0, 0, 0.05)',
3730
+ borderRadius: 45,
3731
+ padding: 4
3732
+ }
3733
+ },
3734
+ {
3735
+ if: { padding: 'large', style: 'dark' },
3736
+ tokens: {
3737
+ backgroundColor: 'rgba(0, 0, 0, 0.05)',
3738
+ borderRadius: 45,
3739
+ padding: 4
3740
+ }
3741
+ },
3742
+ {
3743
+ if: { padding: 'extraLarge', style: 'dark' },
3744
+ tokens: {
3745
+ backgroundColor: 'rgba(0, 0, 0, 0.05)',
3746
+ borderRadius: 45,
3747
+ padding: 4
3748
+ }
3749
+ },
3750
+ {
3751
+ if: { padding: 'micro', style: 'light' },
3752
+ tokens: {
3753
+ backgroundColor: 'rgba(255, 255, 255, 0.8)',
3754
+ borderRadius: 45,
3755
+ padding: 4
3756
+ }
3757
+ },
3758
+ {
3759
+ if: { padding: 'small', style: 'light' },
3760
+ tokens: {
3761
+ backgroundColor: 'rgba(255, 255, 255, 0.8)',
3762
+ borderRadius: 45,
3763
+ padding: 4
3764
+ }
3765
+ },
3766
+ {
3767
+ if: { padding: 'medium', style: 'light' },
3768
+ tokens: {
3769
+ backgroundColor: 'rgba(255, 255, 255, 0.8)',
3770
+ borderRadius: 45,
3771
+ padding: 4
3772
+ }
3773
+ },
3774
+ {
3775
+ if: { padding: 'large', style: 'light' },
3776
+ tokens: {
3777
+ backgroundColor: 'rgba(255, 255, 255, 0.8)',
3778
+ borderRadius: 45,
3779
+ padding: 4
3780
+ }
3781
+ },
3782
+ {
3783
+ if: { padding: 'extraLarge', style: 'light' },
3784
+ tokens: {
3785
+ backgroundColor: 'rgba(255, 255, 255, 0.8)',
3786
+ borderRadius: 45,
3787
+ padding: 4
3788
+ }
3789
+ },
3611
3790
  { if: { size: 'micro' }, tokens: { size: 16 } },
3612
3791
  { if: { size: 'small' }, tokens: { size: 20 } },
3613
3792
  { if: { size: 'large' }, tokens: { size: 32 } },
3793
+ { if: { size: 'extraLarge' }, tokens: { size: 48 } },
3614
3794
  { if: { color: 'brand' }, tokens: { color: '#4b286d' } },
3615
3795
  { if: { color: 'default' }, tokens: { color: '#414547' } },
3616
3796
  { if: { color: 'subtle' }, tokens: { color: '#676e73' } },
@@ -3618,8 +3798,6 @@ const theme = {
3618
3798
  { if: { color: 'danger' }, tokens: { color: '#c12335' } },
3619
3799
  { if: { color: 'warning' }, tokens: { color: '#c77539' } },
3620
3800
  { if: { color: 'inverse' }, tokens: { color: '#ffffff' } },
3621
- { if: { size: 'extraLarge' }, tokens: { size: 48 } },
3622
- { if: { rank: 'primary' }, tokens: { color: '#4b286d' } },
3623
3801
  {
3624
3802
  if: { color: 'offer' },
3625
3803
  tokens: {
@@ -3632,7 +3810,8 @@ const theme = {
3632
3810
  type: 'linear'
3633
3811
  }
3634
3812
  }
3635
- }
3813
+ },
3814
+ { if: { rank: 'primary' }, tokens: { color: '#4b286d' } }
3636
3815
  ],
3637
3816
  tokens: {
3638
3817
  backgroundColor: 'transparent',
@@ -4041,10 +4220,22 @@ const theme = {
4041
4220
  if: { pressed: true },
4042
4221
  tokens: { color: '#163e06', textLine: 'none' }
4043
4222
  },
4223
+ {
4224
+ if: { pressed: true, quiet: true },
4225
+ tokens: { color: '#163e06' }
4226
+ },
4044
4227
  {
4045
4228
  if: { focus: true, pressed: true },
4046
4229
  tokens: { outerBorderColor: '#163e06' }
4047
4230
  },
4231
+ {
4232
+ if: { alternative: true, focus: true, quiet: true },
4233
+ tokens: {
4234
+ color: '#676e73',
4235
+ outerBorderColor: '#676e73',
4236
+ textLine: 'underline'
4237
+ }
4238
+ },
4048
4239
  {
4049
4240
  if: { size: 'large' },
4050
4241
  tokens: { blockFontSize: 20, blockLineHeight: 1.25, iconSize: 24 }
@@ -4063,10 +4254,14 @@ const theme = {
4063
4254
  iconSize: 16
4064
4255
  }
4065
4256
  },
4066
- { if: { alternative: true }, tokens: { color: '#2c2e30' } },
4257
+ { if: { alternative: true }, tokens: { color: '#676e73' } },
4258
+ {
4259
+ if: { alternative: true, pressed: true, quiet: true },
4260
+ tokens: { color: '#676e73' }
4261
+ },
4067
4262
  {
4068
4263
  if: { alternative: true, focus: true },
4069
- tokens: { color: '#414547', outerBorderColor: '#414547' }
4264
+ tokens: { color: '#676e73', outerBorderColor: '#676e73' }
4070
4265
  },
4071
4266
  {
4072
4267
  if: { alternative: true, hover: true },
@@ -4109,7 +4304,11 @@ const theme = {
4109
4304
  },
4110
4305
  {
4111
4306
  if: { focus: true, quiet: true },
4112
- tokens: { color: '#2b8000', textLine: 'underline' }
4307
+ tokens: { color: '#676e73', textLine: 'underline' }
4308
+ },
4309
+ {
4310
+ if: { pressed: true, quiet: true },
4311
+ tokens: { color: '#163e06' }
4113
4312
  },
4114
4313
  {
4115
4314
  if: { alternative: true, hover: true, quiet: true },
@@ -4216,6 +4415,14 @@ const theme = {
4216
4415
  outerBorderOutline: 'none'
4217
4416
  }
4218
4417
  },
4418
+ {
4419
+ if: { focus: true, inverse: true, quiet: true },
4420
+ tokens: {
4421
+ color: '#ffffff',
4422
+ outerBorderColor: '#ffffff',
4423
+ outerBorderOutline: 'none'
4424
+ }
4425
+ },
4219
4426
  {
4220
4427
  if: { hover: true, style: 'inverse' },
4221
4428
  tokens: { color: '#f4f4f7', textLine: 'none' }
@@ -4364,7 +4571,7 @@ const theme = {
4364
4571
  color: '#2b8000',
4365
4572
  icon: null,
4366
4573
  iconSize: 24,
4367
- iconSpace: 0,
4574
+ iconSpace: 1,
4368
4575
  iconTranslateX: 0,
4369
4576
  iconTranslateY: 0,
4370
4577
  outerBorderColor: 'rgba(0, 0, 0, 0)',
@@ -4520,18 +4727,14 @@ const theme = {
4520
4727
  groupColor: '#4b286d',
4521
4728
  groupFontName: 'HNforTELUSSA',
4522
4729
  groupFontWeight: '700',
4523
- itemColor: '#4b286d',
4524
- itemPaddingBottom: 12,
4525
- itemPaddingLeft: 16,
4526
- itemPaddingRight: 16,
4527
- itemPaddingTop: 12
4730
+ itemColor: '#4b286d'
4528
4731
  }
4529
4732
  },
4530
4733
  {
4531
4734
  if: { current: true, pressed: true },
4532
4735
  tokens: {
4533
4736
  groupBackgroundColor: '#e3e6e8',
4534
- groupBorderWidth: 0,
4737
+ groupBorderWidth: 1,
4535
4738
  groupColor: '#676e73',
4536
4739
  groupFontName: 'HNforTELUSSA',
4537
4740
  groupFontWeight: '700'
@@ -4540,10 +4743,10 @@ const theme = {
4540
4743
  {
4541
4744
  if: { isChild: true },
4542
4745
  tokens: {
4543
- itemBorderBottomWidth: 0,
4746
+ itemBorderBottomWidth: 1,
4544
4747
  itemBorderLeftColor: '#e3e6e8',
4545
4748
  itemBorderLeftWidth: 4,
4546
- itemBorderTopWidth: 0
4749
+ itemBorderTopWidth: 1
4547
4750
  }
4548
4751
  },
4549
4752
  {
@@ -4573,9 +4776,9 @@ const theme = {
4573
4776
  {
4574
4777
  if: { isChild: true, pressed: true },
4575
4778
  tokens: {
4576
- itemBorderBottomWidth: 0,
4779
+ itemBorderBottomWidth: 1,
4577
4780
  itemBorderLeftColor: '#676e73',
4578
- itemBorderTopWidth: 0
4781
+ itemBorderTopWidth: 1
4579
4782
  }
4580
4783
  }
4581
4784
  ],
@@ -4612,10 +4815,10 @@ const theme = {
4612
4815
  itemFontWeight: '700',
4613
4816
  itemHeight: 40,
4614
4817
  itemOutline: 0,
4615
- itemPaddingBottom: 8,
4818
+ itemPaddingBottom: 12,
4616
4819
  itemPaddingLeft: 16,
4617
4820
  itemPaddingRight: 16,
4618
- itemPaddingTop: 8,
4821
+ itemPaddingTop: 12,
4619
4822
  itemTextDecoration: 'none',
4620
4823
  lineHeight: 1.14285714286,
4621
4824
  minHeight: '100%',
@@ -6202,7 +6405,7 @@ const theme = {
6202
6405
  containerBorderRadius: 0,
6203
6406
  containerOpacity: 1,
6204
6407
  containerPaddingBottom: 0,
6205
- containerPaddingLeft: 2,
6408
+ containerPaddingLeft: 0,
6206
6409
  containerPaddingRight: 0,
6207
6410
  containerPaddingTop: 0,
6208
6411
  containerShadow: null,
@@ -6225,7 +6428,7 @@ const theme = {
6225
6428
  labelFontSize: 16,
6226
6429
  labelFontWeight: '400',
6227
6430
  labelLineHeight: 1.5,
6228
- labelMarginLeft: 10,
6431
+ labelMarginLeft: 8,
6229
6432
  outerBorderColor: 'transparent',
6230
6433
  outerBorderGap: 0,
6231
6434
  outerBorderWidth: 2
@@ -7603,7 +7806,7 @@ const theme = {
7603
7806
  tokens: {
7604
7807
  borderBottomColor: '#676e73',
7605
7808
  borderBottomWidth: 1,
7606
- buttonClearance: 16,
7809
+ buttonClearance: 24,
7607
7810
  gutter: 4,
7608
7811
  nextIcon: PaletteIconArrowRight,
7609
7812
  previousIcon: PaletteIconArrowLeft,
@@ -7612,6 +7815,11 @@ const theme = {
7612
7815
  },
7613
7816
  TabsItem: {
7614
7817
  appearances: {
7818
+ dropdown: {
7819
+ description: 'activate the dropdown menu',
7820
+ type: 'variant',
7821
+ values: [ true ]
7822
+ },
7615
7823
  equalWidth: {
7616
7824
  description: 'Divide the available width equally among `TabsItem`',
7617
7825
  type: 'variant',
@@ -7637,6 +7845,11 @@ const theme = {
7637
7845
  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.',
7638
7846
  type: 'state',
7639
7847
  values: [ true, false ]
7848
+ },
7849
+ viewport: {
7850
+ description: 'The size label for the current screen viewport based on the current screen width',
7851
+ type: 'state',
7852
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
7640
7853
  }
7641
7854
  },
7642
7855
  rules: [
@@ -7701,7 +7914,100 @@ const theme = {
7701
7914
  if: { focus: true, inverse: true },
7702
7915
  tokens: { borderColor: '#ffffff', highlightColor: '#ffffff' }
7703
7916
  },
7704
- { if: { equalWidth: true }, tokens: { maxWidth: null } }
7917
+ { if: { equalWidth: true }, tokens: { maxWidth: null } },
7918
+ {
7919
+ if: { dropdown: true, viewport: [ 'xs', 'sm' ] },
7920
+ tokens: {
7921
+ backgroundColor: 'rgba(0, 0, 0, 0.05)',
7922
+ borderColor: 'rgba(0, 0, 0, 0)',
7923
+ borderRadius: 32,
7924
+ borderWidth: 3,
7925
+ color: '#676e73',
7926
+ paddingHorizontal: 21,
7927
+ paddingVertical: 5
7928
+ }
7929
+ },
7930
+ {
7931
+ if: { dropdown: true, hover: true, viewport: [ 'xs', 'sm' ] },
7932
+ tokens: {
7933
+ backgroundColor: '#ffffff',
7934
+ borderColor: '#b2b9bf',
7935
+ borderWidth: 3
7936
+ }
7937
+ },
7938
+ {
7939
+ if: { dropdown: true, focus: true, viewport: [ 'xs', 'sm' ] },
7940
+ tokens: {
7941
+ borderColor: '#4b286d',
7942
+ borderWidth: 2,
7943
+ color: '#4b286d',
7944
+ paddingHorizontal: 22,
7945
+ paddingVertical: 6
7946
+ }
7947
+ },
7948
+ {
7949
+ if: { dropdown: true, pressed: true, viewport: [ 'xs', 'sm' ] },
7950
+ tokens: {
7951
+ backgroundColor: '#4b286d',
7952
+ borderColor: '#4b286d',
7953
+ color: '#ffffff',
7954
+ paddingHorizontal: 24,
7955
+ paddingVertical: 8
7956
+ }
7957
+ },
7958
+ {
7959
+ if: { dropdown: true, selected: true, viewport: [ 'xs', 'sm' ] },
7960
+ tokens: {
7961
+ backgroundColor: 'rgba(0, 0, 0, 0.05)',
7962
+ borderWidth: 0,
7963
+ color: '#4b286d',
7964
+ paddingHorizontal: 24,
7965
+ paddingVertical: 8
7966
+ }
7967
+ },
7968
+ {
7969
+ if: { dropdown: true, inverse: true, viewport: [ 'xs', 'sm' ] },
7970
+ tokens: {
7971
+ backgroundColor: 'rgba(255, 255, 255, 0.1)',
7972
+ color: '#ffffff'
7973
+ }
7974
+ },
7975
+ {
7976
+ if: {
7977
+ dropdown: true,
7978
+ hover: true,
7979
+ inverse: true,
7980
+ viewport: [ 'xs', 'sm' ]
7981
+ },
7982
+ tokens: { borderColor: '#ffffff' }
7983
+ },
7984
+ {
7985
+ if: {
7986
+ dropdown: true,
7987
+ inverse: true,
7988
+ selected: true,
7989
+ viewport: [ 'xs', 'sm' ]
7990
+ },
7991
+ tokens: { backgroundColor: '#ffffff', color: '#414547' }
7992
+ },
7993
+ {
7994
+ if: {
7995
+ dropdown: true,
7996
+ inverse: true,
7997
+ pressed: true,
7998
+ viewport: [ 'xs', 'sm' ]
7999
+ },
8000
+ tokens: { backgroundColor: '#ffffff', color: '#414547' }
8001
+ },
8002
+ {
8003
+ if: {
8004
+ dropdown: true,
8005
+ focus: true,
8006
+ inverse: true,
8007
+ viewport: [ 'xs', 'sm' ]
8008
+ },
8009
+ tokens: { borderColor: '#ffffff' }
8010
+ }
7705
8011
  ],
7706
8012
  tokens: {
7707
8013
  backgroundColor: 'transparent',
@@ -7709,6 +8015,8 @@ const theme = {
7709
8015
  borderRadius: 32,
7710
8016
  borderWidth: 0,
7711
8017
  color: '#676e73',
8018
+ dropdownIcon: PaletteIconCaretDown,
8019
+ dropdownIconExpanded: PaletteIconCaretUp,
7712
8020
  fontName: 'HNforTELUSSA',
7713
8021
  fontScaleCap: 64,
7714
8022
  fontSize: 14,
@@ -9097,6 +9405,6 @@ const theme = {
9097
9405
  tokens: { size: 96 }
9098
9406
  }
9099
9407
  },
9100
- metadata: { name: 'theme-allium', themeTokensVersion: '4.11.0' }
9408
+ metadata: { name: 'theme-allium', themeTokensVersion: '4.13.0' }
9101
9409
  }
9102
9410
  export default theme
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telus-uds/theme-allium",
3
- "version": "7.12.1",
3
+ "version": "7.14.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.8.0",
13
- "@telus-uds/system-theme-tokens": "^4.11.0",
14
- "@telus-uds/system-tokens": "^1.4.4"
12
+ "@telus-uds/palette-allium": "^5.9.1",
13
+ "@telus-uds/system-theme-tokens": "^4.13.0",
14
+ "@telus-uds/system-tokens": "^1.4.6"
15
15
  },
16
16
  "peerDependencies": {
17
- "@telus-uds/palette-allium": "^5.8.0"
17
+ "@telus-uds/palette-allium": "^5.9.1"
18
18
  },
19
19
  "files": [
20
20
  "build",