@telus-uds/theme-allium 7.17.2 → 7.19.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 (269) hide show
  1. package/build/android/ButtonGroupItem.json +55 -41
  2. package/build/android/Card.json +4 -0
  3. package/build/android/CheckboxCard.json +4 -0
  4. package/build/android/IconButton.json +28 -1
  5. package/build/android/Listbox.json +290 -42
  6. package/build/android/RadioCard.json +4 -0
  7. package/build/android/Shortcuts.json +44 -0
  8. package/build/android/ShortcutsItem.json +77 -0
  9. package/build/android/Table.json +4 -0
  10. package/build/android/schema.json +1845 -1189
  11. package/build/android/theme.json +511 -85
  12. package/build/ios/ButtonGroupItem.json +55 -41
  13. package/build/ios/Card.json +4 -0
  14. package/build/ios/CheckboxCard.json +4 -0
  15. package/build/ios/IconButton.json +28 -1
  16. package/build/ios/Listbox.json +290 -42
  17. package/build/ios/RadioCard.json +4 -0
  18. package/build/ios/Shortcuts.json +44 -0
  19. package/build/ios/ShortcutsItem.json +77 -0
  20. package/build/ios/Table.json +4 -0
  21. package/build/ios/schema.json +1845 -1189
  22. package/build/ios/theme.json +511 -85
  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 +1 -1
  32. package/build/rn/ButtonGroup.js +1 -1
  33. package/build/rn/ButtonGroupItem.js +43 -13
  34. package/build/rn/Callout.js +1 -1
  35. package/build/rn/Card.js +9 -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 +5 -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 +1 -1
  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 +1 -1
  63. package/build/rn/IconButton.js +18 -2
  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 +1 -1
  68. package/build/rn/List.js +1 -1
  69. package/build/rn/Listbox.js +197 -46
  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 +1 -1
  92. package/build/rn/RadioCard.js +5 -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/Shortcuts.js +33 -0
  100. package/build/rn/ShortcutsItem.js +65 -0
  101. package/build/rn/SideNav.js +1 -1
  102. package/build/rn/SideNavItem.js +1 -1
  103. package/build/rn/SideNavItemsGroup.js +1 -1
  104. package/build/rn/Skeleton.js +1 -1
  105. package/build/rn/SkipLink.js +1 -1
  106. package/build/rn/Spinner.js +1 -1
  107. package/build/rn/SplashButton.js +1 -1
  108. package/build/rn/SplashButtonWithDetails.js +1 -1
  109. package/build/rn/StackView.js +1 -1
  110. package/build/rn/Status.js +1 -1
  111. package/build/rn/StepTracker.js +1 -1
  112. package/build/rn/StoryCard.js +1 -1
  113. package/build/rn/TabBar.js +1 -1
  114. package/build/rn/TabBarItem.js +1 -1
  115. package/build/rn/Table.js +5 -1
  116. package/build/rn/Tabs.js +1 -1
  117. package/build/rn/TabsItem.js +1 -1
  118. package/build/rn/Tags.js +1 -1
  119. package/build/rn/TagsItem.js +1 -1
  120. package/build/rn/TermsAndConditions.js +1 -1
  121. package/build/rn/Testimonial.js +1 -1
  122. package/build/rn/TextArea.js +1 -1
  123. package/build/rn/TextInput.js +1 -1
  124. package/build/rn/Timeline.js +1 -1
  125. package/build/rn/Toast.js +1 -1
  126. package/build/rn/ToggleSwitch.js +1 -1
  127. package/build/rn/ToggleSwitchGroup.js +1 -1
  128. package/build/rn/Tooltip.js +1 -1
  129. package/build/rn/TooltipButton.js +1 -1
  130. package/build/rn/Typography.js +1 -1
  131. package/build/rn/Video.js +1 -1
  132. package/build/rn/VideoButton.js +1 -1
  133. package/build/rn/VideoControlBar.js +1 -1
  134. package/build/rn/VideoMenu.js +1 -1
  135. package/build/rn/VideoMiddleControlButton.js +1 -1
  136. package/build/rn/VideoPicker.js +1 -1
  137. package/build/rn/VideoPickerSlider.js +1 -1
  138. package/build/rn/VideoPickerThumbnail.js +1 -1
  139. package/build/rn/VideoProgressBar.js +1 -1
  140. package/build/rn/VideoVolumeSlider.js +1 -1
  141. package/build/rn/WaffleGrid.js +1 -1
  142. package/build/rn/schema.json +1845 -1189
  143. package/build/rn/spacingScale.js +1 -1
  144. package/build/rn/theme.js +361 -59
  145. package/build/web/ActionCard.js +1 -1
  146. package/build/web/ActivityIndicator.js +1 -1
  147. package/build/web/Autocomplete.js +1 -1
  148. package/build/web/Badge.js +1 -1
  149. package/build/web/BlockQuote.js +1 -1
  150. package/build/web/Box.js +1 -1
  151. package/build/web/Breadcrumbs.js +1 -1
  152. package/build/web/Button.js +1 -1
  153. package/build/web/ButtonDropdown.js +1 -1
  154. package/build/web/ButtonGroup.js +1 -1
  155. package/build/web/ButtonGroupItem.js +43 -13
  156. package/build/web/Callout.js +1 -1
  157. package/build/web/Card.js +9 -1
  158. package/build/web/CardGroup.js +1 -1
  159. package/build/web/Carousel.js +1 -1
  160. package/build/web/CarouselTabsPanelItem.js +1 -1
  161. package/build/web/CarouselThumbnail.js +1 -1
  162. package/build/web/Checkbox.js +1 -1
  163. package/build/web/CheckboxCard.js +5 -1
  164. package/build/web/CheckboxCardGroup.js +1 -1
  165. package/build/web/CheckboxGroup.js +1 -1
  166. package/build/web/ChevronLink.js +1 -1
  167. package/build/web/ColourToggle.js +1 -1
  168. package/build/web/Countdown.js +1 -1
  169. package/build/web/DatePicker.js +1 -1
  170. package/build/web/Disclaimer.js +1 -1
  171. package/build/web/Divider.js +1 -1
  172. package/build/web/DownloadApp.js +1 -1
  173. package/build/web/ExpandCollapse.js +1 -1
  174. package/build/web/ExpandCollapseControl.js +1 -1
  175. package/build/web/ExpandCollapseMini.js +1 -1
  176. package/build/web/ExpandCollapseMiniControl.js +1 -1
  177. package/build/web/ExpandCollapsePanel.js +1 -1
  178. package/build/web/Feedback.js +1 -1
  179. package/build/web/Fieldset.js +1 -1
  180. package/build/web/FileUpload.js +1 -1
  181. package/build/web/Footnote.js +1 -1
  182. package/build/web/FootnoteLink.js +1 -1
  183. package/build/web/HorizontalScrollButton.js +1 -1
  184. package/build/web/Icon.js +1 -1
  185. package/build/web/IconButton.js +18 -2
  186. package/build/web/Image.js +1 -1
  187. package/build/web/InputLabel.js +1 -1
  188. package/build/web/InputSupports.js +1 -1
  189. package/build/web/Link.js +1 -1
  190. package/build/web/List.js +1 -1
  191. package/build/web/Listbox.js +197 -46
  192. package/build/web/Modal.js +1 -1
  193. package/build/web/MultiSelectFilter.js +1 -1
  194. package/build/web/NavigationBar.js +1 -1
  195. package/build/web/Notification.js +1 -1
  196. package/build/web/OrderedList.js +1 -1
  197. package/build/web/Pagination.js +1 -1
  198. package/build/web/PaginationPageButton.js +1 -1
  199. package/build/web/PaginationSideButton.js +1 -1
  200. package/build/web/PreviewCard.js +1 -1
  201. package/build/web/PriceLockup.js +1 -1
  202. package/build/web/ProductCard.js +1 -1
  203. package/build/web/Progress.js +1 -1
  204. package/build/web/ProgressBar.js +1 -1
  205. package/build/web/QuantitySelector.js +1 -1
  206. package/build/web/QuantitySelectorSideButton.js +1 -1
  207. package/build/web/QuickLinks.js +1 -1
  208. package/build/web/QuickLinksButton.js +1 -1
  209. package/build/web/QuickLinksCard.js +1 -1
  210. package/build/web/QuickLinksFeature.js +1 -1
  211. package/build/web/QuickLinksFeatureItem.js +1 -1
  212. package/build/web/QuickLinksList.js +1 -1
  213. package/build/web/Radio.js +1 -1
  214. package/build/web/RadioCard.js +5 -1
  215. package/build/web/RadioCardGroup.js +1 -1
  216. package/build/web/RadioGroup.js +1 -1
  217. package/build/web/Ribbon.js +1 -1
  218. package/build/web/Search.js +1 -1
  219. package/build/web/SearchButton.js +1 -1
  220. package/build/web/Select.js +1 -1
  221. package/build/web/Shortcuts.js +33 -0
  222. package/build/web/ShortcutsItem.js +65 -0
  223. package/build/web/SideNav.js +1 -1
  224. package/build/web/SideNavItem.js +1 -1
  225. package/build/web/SideNavItemsGroup.js +1 -1
  226. package/build/web/Skeleton.js +1 -1
  227. package/build/web/SkipLink.js +1 -1
  228. package/build/web/Spinner.js +1 -1
  229. package/build/web/SplashButton.js +1 -1
  230. package/build/web/SplashButtonWithDetails.js +1 -1
  231. package/build/web/StackView.js +1 -1
  232. package/build/web/Status.js +1 -1
  233. package/build/web/StepTracker.js +1 -1
  234. package/build/web/StoryCard.js +1 -1
  235. package/build/web/TabBar.js +1 -1
  236. package/build/web/TabBarItem.js +1 -1
  237. package/build/web/Table.js +5 -1
  238. package/build/web/Tabs.js +1 -1
  239. package/build/web/TabsItem.js +1 -1
  240. package/build/web/Tags.js +1 -1
  241. package/build/web/TagsItem.js +1 -1
  242. package/build/web/TermsAndConditions.js +1 -1
  243. package/build/web/Testimonial.js +1 -1
  244. package/build/web/TextArea.js +1 -1
  245. package/build/web/TextInput.js +1 -1
  246. package/build/web/Timeline.js +1 -1
  247. package/build/web/Toast.js +1 -1
  248. package/build/web/ToggleSwitch.js +1 -1
  249. package/build/web/ToggleSwitchGroup.js +1 -1
  250. package/build/web/Tooltip.js +1 -1
  251. package/build/web/TooltipButton.js +1 -1
  252. package/build/web/Typography.js +1 -1
  253. package/build/web/Video.js +1 -1
  254. package/build/web/VideoButton.js +1 -1
  255. package/build/web/VideoControlBar.js +1 -1
  256. package/build/web/VideoMenu.js +1 -1
  257. package/build/web/VideoMiddleControlButton.js +1 -1
  258. package/build/web/VideoPicker.js +1 -1
  259. package/build/web/VideoPickerSlider.js +1 -1
  260. package/build/web/VideoPickerThumbnail.js +1 -1
  261. package/build/web/VideoProgressBar.js +1 -1
  262. package/build/web/VideoVolumeSlider.js +1 -1
  263. package/build/web/WaffleGrid.js +1 -1
  264. package/build/web/index.js +3 -1
  265. package/build/web/schema.json +1845 -1189
  266. package/build/web/spacingScale.js +1 -1
  267. package/build/web/theme.js +361 -59
  268. package/package.json +5 -5
  269. package/theme.json +414 -68
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Wed, 29 Oct 2025 07:39:48 GMT
4
+ * Generated on Fri, 12 Dec 2025 05:36:23 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Wed, 29 Oct 2025 07:39:49 GMT
4
+ * Generated on Fri, 12 Dec 2025 05:36:23 GMT
5
5
  *
6
6
  */
7
7
 
@@ -22,10 +22,14 @@ import PaletteIconIOSFR from '@telus-uds/palette-allium/build/rn/icons/IOSFR'
22
22
  import PaletteIconStatusSuccess from '@telus-uds/palette-allium/build/rn/icons/StatusSuccess'
23
23
  import PaletteIconClose from '@telus-uds/palette-allium/build/rn/icons/Close'
24
24
  import PaletteIconAdd from '@telus-uds/palette-allium/build/rn/icons/Add'
25
+ import PaletteIconMenuHamburger from '@telus-uds/palette-allium/build/rn/icons/MenuHamburger'
26
+ import PaletteIconCartEmpty from '@telus-uds/palette-allium/build/rn/icons/CartEmpty'
27
+ import PaletteIconUserSingle from '@telus-uds/palette-allium/build/rn/icons/UserSingle'
25
28
  import PaletteIconSubtract from '@telus-uds/palette-allium/build/rn/icons/Subtract'
26
29
  import PaletteIconExpand from '@telus-uds/palette-allium/build/rn/icons/Expand'
27
30
  import PaletteIconChevronLeft from '@telus-uds/palette-allium/build/rn/icons/ChevronLeft'
28
31
  import PaletteIconBulletFill from '@telus-uds/palette-allium/build/rn/icons/BulletFill'
32
+ import PaletteIconChevronUp from '@telus-uds/palette-allium/build/rn/icons/ChevronUp'
29
33
  import PaletteIconStatusInfo from '@telus-uds/palette-allium/build/rn/icons/StatusInfo'
30
34
  import PaletteIconTagFilled from '@telus-uds/palette-allium/build/rn/icons/TagFilled'
31
35
  import PaletteIconTimes from '@telus-uds/palette-allium/build/rn/icons/Times'
@@ -1152,21 +1156,19 @@ const theme = {
1152
1156
  if: { size: 'small' },
1153
1157
  tokens: { height: 32, paddingBottom: 4, paddingTop: 4 }
1154
1158
  },
1155
- { if: { hover: true }, tokens: { borderWidth: 3 } },
1156
1159
  {
1157
- if: { pressed: true },
1160
+ if: { hover: true },
1158
1161
  tokens: {
1159
- backgroundColor: '#676e73',
1160
- borderColor: '#676e73',
1161
- color: '#ffffff'
1162
+ backgroundColor: '#b2b9bf',
1163
+ borderColor: '#b2b9bf',
1164
+ borderWidth: 3
1162
1165
  }
1163
1166
  },
1164
1167
  {
1165
1168
  if: { pressed: true },
1166
1169
  tokens: {
1167
- backgroundColor: '#676e73',
1168
- borderColor: '#676e73',
1169
- borderWidth: 0,
1170
+ backgroundColor: '#414547',
1171
+ borderColor: '#414547',
1170
1172
  color: '#ffffff'
1171
1173
  }
1172
1174
  },
@@ -1179,6 +1181,14 @@ const theme = {
1179
1181
  outerBorderWidth: 2
1180
1182
  }
1181
1183
  },
1184
+ {
1185
+ if: { focus: true, pressed: true },
1186
+ tokens: {
1187
+ borderColor: '#414547',
1188
+ borderWidth: 0,
1189
+ outerBorderWidth: 0
1190
+ }
1191
+ },
1182
1192
  { if: { hover: true }, tokens: { borderWidth: 3 } },
1183
1193
  {
1184
1194
  if: { selected: true },
@@ -1207,9 +1217,9 @@ const theme = {
1207
1217
  {
1208
1218
  if: { inactive: true },
1209
1219
  tokens: {
1210
- backgroundColor: '#b2b9bf',
1220
+ backgroundColor: '#ffffff',
1211
1221
  borderWidth: 0,
1212
- color: '#ffffff'
1222
+ color: '#b2b9bf'
1213
1223
  }
1214
1224
  },
1215
1225
  { if: { iconPosition: 'right' }, tokens: { iconSpace: 1 } },
@@ -1233,7 +1243,7 @@ const theme = {
1233
1243
  if: { hover: true, style: 'contained' },
1234
1244
  tokens: {
1235
1245
  backgroundColor: 'rgba(0, 0, 0, 0)',
1236
- borderColor: '#676e73',
1246
+ borderColor: '#b2b9bf',
1237
1247
  borderWidth: 3
1238
1248
  }
1239
1249
  },
@@ -1250,6 +1260,7 @@ const theme = {
1250
1260
  tokens: {
1251
1261
  borderColor: '#676e73',
1252
1262
  borderWidth: 1,
1263
+ outerBorderColor: 'rgba(0, 0, 0, 0)',
1253
1264
  outerBorderWidth: 0
1254
1265
  }
1255
1266
  },
@@ -1268,7 +1279,30 @@ const theme = {
1268
1279
  },
1269
1280
  {
1270
1281
  if: { pressed: true, style: 'contained' },
1271
- tokens: { backgroundColor: '#3f2a54' }
1282
+ tokens: {
1283
+ backgroundColor: 'rgba(0, 0, 0, 0.1)',
1284
+ borderColor: 'rgba(0, 0, 0, 0)',
1285
+ borderWidth: 0,
1286
+ color: '#ffffff'
1287
+ }
1288
+ },
1289
+ {
1290
+ if: { inactive: true, style: 'contained' },
1291
+ tokens: {
1292
+ backgroundColor: '#ffffff',
1293
+ borderColor: 'rgba(0, 0, 0, 0)',
1294
+ borderWidth: 0,
1295
+ color: '#b2b9bf'
1296
+ }
1297
+ },
1298
+ {
1299
+ if: {
1300
+ focus: true,
1301
+ pressed: true,
1302
+ selected: true,
1303
+ style: 'contained'
1304
+ },
1305
+ tokens: { borderWidth: 0, paddingBottom: 8, paddingTop: 8 }
1272
1306
  }
1273
1307
  ],
1274
1308
  tokens: {
@@ -1736,6 +1770,10 @@ const theme = {
1736
1770
  if: { hover: true, interactive: true, style: 'darkest' },
1737
1771
  tokens: { backgroundColor: 'rgba(255, 255, 255, 0.1)' }
1738
1772
  },
1773
+ {
1774
+ if: { hover: true, interactive: true, style: 'feature' },
1775
+ tokens: { backgroundColor: 'rgba(0, 0, 0, 0.05)' }
1776
+ },
1739
1777
  {
1740
1778
  if: { interactive: true, pressed: true, style: 'dark' },
1741
1779
  tokens: { backgroundColor: 'rgba(255, 255, 255, 0.2)' }
@@ -1779,6 +1817,10 @@ const theme = {
1779
1817
  spread: 0
1780
1818
  },
1781
1819
  inputWidth: 32,
1820
+ marginBottom: 0,
1821
+ marginLeft: 0,
1822
+ marginRight: 0,
1823
+ marginTop: 0,
1782
1824
  maxHeight: '100%',
1783
1825
  minWidth: null,
1784
1826
  overflowY: 'visible',
@@ -2301,6 +2343,10 @@ const theme = {
2301
2343
  fontWeight: '500',
2302
2344
  letterSpacing: 0,
2303
2345
  lineHeight: 1.4,
2346
+ marginBottom: 0,
2347
+ marginLeft: 0,
2348
+ marginRight: 0,
2349
+ marginTop: 0,
2304
2350
  minWidth: 264,
2305
2351
  outerBorderColor: 'transparent',
2306
2352
  outerBorderGap: 0,
@@ -3820,7 +3866,8 @@ const theme = {
3820
3866
  'expand', 'moveDown',
3821
3867
  'moveLeft', 'moveRight',
3822
3868
  'moveUp', 'play',
3823
- 'subtract'
3869
+ 'subtract', 'menu',
3870
+ 'cart', 'profile'
3824
3871
  ]
3825
3872
  },
3826
3873
  compact: {
@@ -3868,6 +3915,18 @@ const theme = {
3868
3915
  size: { type: 'variant', values: [ 'small', 'large' ] }
3869
3916
  },
3870
3917
  rules: [
3918
+ {
3919
+ if: { action: 'menu' },
3920
+ tokens: { icon: PaletteIconMenuHamburger }
3921
+ },
3922
+ {
3923
+ if: { action: 'cart' },
3924
+ tokens: { icon: PaletteIconCartEmpty }
3925
+ },
3926
+ {
3927
+ if: { action: 'profile' },
3928
+ tokens: { icon: PaletteIconUserSingle }
3929
+ },
3871
3930
  { if: { action: 'add' }, tokens: { icon: PaletteIconAdd } },
3872
3931
  {
3873
3932
  if: { action: 'subtract' },
@@ -4638,111 +4697,245 @@ const theme = {
4638
4697
  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.',
4639
4698
  type: 'state',
4640
4699
  values: [ true, false ]
4641
- }
4700
+ },
4701
+ secondLevel: { type: 'variant', values: [ true ] },
4702
+ style: { type: 'variant', values: [ 'default', 'lightest', 'light' ] }
4642
4703
  },
4643
4704
  rules: [
4644
4705
  {
4645
- if: { focus: true, hover: true, pressed: true },
4706
+ if: { style: 'default' },
4707
+ tokens: { containerBackgroundColor: 'rgba(0, 0, 0, 0)' }
4708
+ },
4709
+ {
4710
+ if: { style: 'lightest' },
4711
+ tokens: { containerBackgroundColor: '#ffffff' }
4712
+ },
4713
+ {
4714
+ if: { style: 'light' },
4715
+ tokens: { containerBackgroundColor: '#f4f4f7' }
4716
+ },
4717
+ {
4718
+ if: { hover: true },
4646
4719
  tokens: {
4647
- groupBackgroundColor: '#e3e6e8',
4648
- groupBorderColor: 'rgba(0, 0, 0, 0)',
4649
- groupColor: '#676e73',
4650
- itemBackgroundColor: '#e3e6e8',
4651
- itemColor: '#676e73'
4720
+ groupBackgroundColor: 'rgba(0, 0, 0, 0.05)',
4721
+ groupColor: '#4b286d',
4722
+ itemBackgroundColor: 'rgba(0, 0, 0, 0.05)',
4723
+ itemColor: '#4b286d'
4652
4724
  }
4653
4725
  },
4654
4726
  {
4655
- if: { focus: false, hover: true, pressed: false },
4727
+ if: { pressed: true },
4656
4728
  tokens: {
4657
- groupBackgroundColor: '#f4f4f7',
4729
+ groupBackgroundColor: 'rgba(0, 0, 0, 0.1)',
4658
4730
  groupColor: '#4b286d',
4659
- itemBackgroundColor: '#f4f4f7',
4731
+ itemBackgroundColor: 'rgba(0, 0, 0, 0.1)',
4660
4732
  itemColor: '#4b286d'
4661
4733
  }
4662
4734
  },
4663
4735
  {
4664
- if: { focus: true, pressed: false },
4736
+ if: { current: true },
4665
4737
  tokens: {
4666
- groupBorderColor: '#4b286d',
4667
- groupBorderWidth: 1,
4738
+ groupBackgroundColor: 'rgba(0, 0, 0, 0.05)',
4668
4739
  groupColor: '#4b286d',
4669
- itemBorderBottomColor: '#4b286d',
4670
- itemBorderLeftColor: '#4b286d',
4671
- itemBorderRightColor: '#4b286d',
4672
- itemBorderTopColor: '#4b286d',
4673
- itemColor: '#4b286d'
4740
+ groupFontName: 'HNforTELUSSA',
4741
+ groupFontWeight: '700',
4742
+ itemBackgroundColor: 'rgba(0, 0, 0, 0.05)',
4743
+ itemColor: '#4b286d',
4744
+ itemFontName: 'HNforTELUSSA',
4745
+ itemFontWeight: '700'
4674
4746
  }
4675
4747
  },
4676
4748
  {
4677
4749
  if: { expanded: true },
4678
- tokens: { groupIcon: PaletteIconCaretUp }
4750
+ tokens: {
4751
+ groupBackgroundColor: 'rgba(0, 0, 0, 0.05)',
4752
+ groupColor: '#4b286d',
4753
+ groupFontName: 'HNforTELUSSA',
4754
+ groupFontWeight: '700',
4755
+ groupIcon: PaletteIconChevronUp,
4756
+ itemBackgroundColor: 'rgba(0, 0, 0, 0.05)',
4757
+ itemColor: '#4b286d',
4758
+ itemFontName: 'HNforTELUSSA',
4759
+ itemFontWeight: '700'
4760
+ }
4679
4761
  },
4680
4762
  {
4681
- if: { current: true },
4763
+ if: { current: true, pressed: true },
4682
4764
  tokens: {
4765
+ groupBackgroundColor: 'rgba(0, 0, 0, 0.1)',
4683
4766
  groupColor: '#4b286d',
4684
4767
  groupFontName: 'HNforTELUSSA',
4685
4768
  groupFontWeight: '700',
4686
- itemColor: '#4b286d'
4769
+ itemBackgroundColor: 'rgba(0, 0, 0, 0.1)',
4770
+ itemColor: '#4b286d',
4771
+ itemFontName: 'HNforTELUSSA',
4772
+ itemFontWeight: '700'
4687
4773
  }
4688
4774
  },
4689
4775
  {
4690
- if: { current: true, pressed: true },
4776
+ if: { expanded: true, pressed: true },
4691
4777
  tokens: {
4692
- groupBackgroundColor: '#e3e6e8',
4693
- groupBorderWidth: 1,
4694
- groupColor: '#676e73',
4778
+ groupBackgroundColor: 'rgba(0, 0, 0, 0.1)',
4779
+ groupColor: '#4b286d',
4695
4780
  groupFontName: 'HNforTELUSSA',
4696
- groupFontWeight: '700'
4781
+ groupFontWeight: '700',
4782
+ itemBackgroundColor: 'rgba(0, 0, 0, 0.1)',
4783
+ itemColor: '#4b286d',
4784
+ itemFontName: 'HNforTELUSSA',
4785
+ itemFontWeight: '700'
4697
4786
  }
4698
4787
  },
4699
4788
  {
4700
- if: { isChild: true },
4789
+ if: { current: false, focus: true, hover: false, pressed: false },
4701
4790
  tokens: {
4791
+ groupBackgroundColor: 'rgba(0, 0, 0, 0)',
4792
+ groupBorderBottomColor: '#4b286d',
4793
+ groupBorderBottomWidth: 1,
4794
+ groupBorderLeftColor: '#4b286d',
4795
+ groupBorderLeftWidth: 1,
4796
+ groupBorderRightColor: '#4b286d',
4797
+ groupBorderRightWidth: 1,
4798
+ groupBorderTopColor: '#4b286d',
4799
+ groupBorderTopWidth: 1,
4800
+ groupColor: '#4b286d',
4801
+ itemBackgroundColor: 'rgba(0, 0, 0, 0)',
4802
+ itemBorderBottomColor: '#4b286d',
4702
4803
  itemBorderBottomWidth: 1,
4703
- itemBorderLeftColor: '#e3e6e8',
4704
- itemBorderLeftWidth: 4,
4705
- itemBorderTopWidth: 1
4804
+ itemBorderLeftColor: '#4b286d',
4805
+ itemBorderLeftWidth: 1,
4806
+ itemBorderRightColor: '#4b286d',
4807
+ itemBorderRightWidth: 1,
4808
+ itemBorderTopColor: '#4b286d',
4809
+ itemBorderTopWidth: 1,
4810
+ itemColor: '#4b286d'
4706
4811
  }
4707
4812
  },
4708
4813
  {
4709
- if: { focus: true, isChild: true },
4814
+ if: {
4815
+ expanded: false,
4816
+ focus: true,
4817
+ hover: false,
4818
+ pressed: false
4819
+ },
4710
4820
  tokens: {
4821
+ groupBackgroundColor: 'rgba(0, 0, 0, 0)',
4822
+ groupBorderBottomColor: '#4b286d',
4823
+ groupBorderBottomWidth: 1,
4824
+ groupBorderLeftColor: '#4b286d',
4825
+ groupBorderLeftWidth: 1,
4826
+ groupBorderRightColor: '#4b286d',
4827
+ groupBorderRightWidth: 1,
4828
+ groupBorderTopColor: '#4b286d',
4829
+ groupBorderTopWidth: 1,
4830
+ groupColor: '#4b286d',
4831
+ itemBackgroundColor: 'rgba(0, 0, 0, 0)',
4711
4832
  itemBorderBottomColor: '#4b286d',
4712
4833
  itemBorderBottomWidth: 1,
4713
4834
  itemBorderLeftColor: '#4b286d',
4835
+ itemBorderLeftWidth: 1,
4714
4836
  itemBorderRightColor: '#4b286d',
4715
4837
  itemBorderRightWidth: 1,
4716
4838
  itemBorderTopColor: '#4b286d',
4717
- itemBorderTopWidth: 1
4839
+ itemBorderTopWidth: 1,
4840
+ itemColor: '#4b286d'
4718
4841
  }
4719
4842
  },
4720
4843
  {
4721
- if: { hover: true, isChild: true },
4722
- tokens: { itemBorderLeftColor: '#4b286d' }
4844
+ if: { current: true, focus: true, hover: false, pressed: false },
4845
+ tokens: {
4846
+ groupBackgroundColor: 'rgba(0, 0, 0, 0.05)',
4847
+ groupBorderBottomColor: '#4b286d',
4848
+ groupBorderBottomWidth: 1,
4849
+ groupBorderLeftColor: '#4b286d',
4850
+ groupBorderLeftWidth: 1,
4851
+ groupBorderRightColor: '#4b286d',
4852
+ groupBorderRightWidth: 1,
4853
+ groupBorderTopColor: '#4b286d',
4854
+ groupBorderTopWidth: 1,
4855
+ groupColor: '#4b286d',
4856
+ groupFontName: 'HNforTELUSSA',
4857
+ groupFontWeight: '700',
4858
+ itemBackgroundColor: 'rgba(0, 0, 0, 0.05)',
4859
+ itemBorderBottomColor: '#4b286d',
4860
+ itemBorderBottomWidth: 1,
4861
+ itemBorderLeftColor: '#4b286d',
4862
+ itemBorderLeftWidth: 1,
4863
+ itemBorderRightColor: '#4b286d',
4864
+ itemBorderRightWidth: 1,
4865
+ itemBorderTopColor: '#4b286d',
4866
+ itemBorderTopWidth: 1,
4867
+ itemColor: '#4b286d'
4868
+ }
4723
4869
  },
4724
4870
  {
4725
- if: { current: true, isChild: true },
4726
- tokens: { itemBorderLeftColor: '#4b286d' }
4871
+ if: { expanded: true, focus: true, hover: false, pressed: false },
4872
+ tokens: {
4873
+ groupBackgroundColor: 'rgba(0, 0, 0, 0.05)',
4874
+ groupBorderBottomColor: '#4b286d',
4875
+ groupBorderBottomWidth: 1,
4876
+ groupBorderLeftColor: '#4b286d',
4877
+ groupBorderLeftWidth: 1,
4878
+ groupBorderRightColor: '#4b286d',
4879
+ groupBorderRightWidth: 1,
4880
+ groupBorderTopColor: '#4b286d',
4881
+ groupBorderTopWidth: 1,
4882
+ groupColor: '#4b286d',
4883
+ groupFontName: 'HNforTELUSSA',
4884
+ groupFontWeight: '700',
4885
+ itemBackgroundColor: 'rgba(0, 0, 0, 0.05)',
4886
+ itemBorderBottomColor: '#4b286d',
4887
+ itemBorderBottomWidth: 1,
4888
+ itemBorderLeftColor: '#4b286d',
4889
+ itemBorderLeftWidth: 1,
4890
+ itemBorderRightColor: '#4b286d',
4891
+ itemBorderRightWidth: 1,
4892
+ itemBorderTopColor: '#4b286d',
4893
+ itemBorderTopWidth: 1,
4894
+ itemColor: '#4b286d'
4895
+ }
4727
4896
  },
4728
4897
  {
4729
- if: { current: true, pressed: true },
4730
- tokens: { itemColor: '#676e73' }
4898
+ if: { secondLevel: true },
4899
+ tokens: {
4900
+ groupBorderBottomColor: 'rgba(0, 0, 0, 0)',
4901
+ groupBorderBottomWidth: 0,
4902
+ groupBorderLeftColor: 'rgba(0, 0, 0, 0)',
4903
+ groupBorderLeftWidth: 0,
4904
+ groupBorderRightColor: 'rgba(0, 0, 0, 0)',
4905
+ groupBorderRightWidth: 0,
4906
+ groupBorderTopColor: 'rgba(0, 0, 0, 0)',
4907
+ groupBorderTopWidth: 0,
4908
+ itemBorderBottomColor: 'rgba(0, 0, 0, 0)',
4909
+ itemBorderBottomWidth: 0,
4910
+ itemBorderLeftColor: 'rgba(0, 0, 0, 0)',
4911
+ itemBorderLeftWidth: 0,
4912
+ itemBorderRightColor: 'rgba(0, 0, 0, 0)',
4913
+ itemBorderRightWidth: 0,
4914
+ itemBorderTopColor: 'rgba(0, 0, 0, 0)',
4915
+ itemBorderTopWidth: 0
4916
+ }
4731
4917
  },
4732
4918
  {
4733
- if: { isChild: true, pressed: true },
4919
+ if: { secondLevel: true },
4734
4920
  tokens: {
4735
- itemBorderBottomWidth: 1,
4736
- itemBorderLeftColor: '#676e73',
4737
- itemBorderTopWidth: 1
4921
+ groupIcon: PaletteIconChevronRight,
4922
+ secondLevelParentIcon: PaletteIconChevronRight
4738
4923
  }
4739
4924
  }
4740
4925
  ],
4741
4926
  tokens: {
4927
+ borderRadius: 6,
4928
+ containerBackgroundColor: 'rgba(0, 0, 0, 0)',
4742
4929
  groupBackgroundColor: 'rgba(0, 0, 0, 0)',
4743
- groupBorderColor: 'rgba(0, 0, 0, 0)',
4930
+ groupBorderBottomColor: 'rgba(0, 0, 0, 0)',
4931
+ groupBorderBottomWidth: 0,
4932
+ groupBorderLeftColor: 'rgba(0, 0, 0, 0)',
4933
+ groupBorderLeftWidth: 0,
4744
4934
  groupBorderRadius: 0,
4745
- groupBorderWidth: 1,
4935
+ groupBorderRightColor: 'rgba(0, 0, 0, 0)',
4936
+ groupBorderRightWidth: 0,
4937
+ groupBorderTopColor: 'rgba(0, 0, 0, 0)',
4938
+ groupBorderTopWidth: 0,
4746
4939
  groupColor: '#414547',
4747
4940
  groupFontName: 'HNforTELUSSA',
4748
4941
  groupFontSize: 14,
@@ -4779,6 +4972,25 @@ const theme = {
4779
4972
  lineHeight: 1.14285714286,
4780
4973
  minHeight: '100%',
4781
4974
  minWidth: '100%',
4975
+ secondLevelBackIcon: PaletteIconChevronLeft,
4976
+ secondLevelBackIconColor: '#414547',
4977
+ secondLevelBackIconSize: 16,
4978
+ secondLevelBackLinkColor: '#414547',
4979
+ secondLevelBackLinkFontName: 'HNforTELUSSA',
4980
+ secondLevelBackLinkFontSize: 14,
4981
+ secondLevelBackLinkFontWeight: '400',
4982
+ secondLevelCloseButtonBorderWidth: 1,
4983
+ secondLevelCloseButtonPadding: 8,
4984
+ secondLevelCloseIcon: PaletteIconClose,
4985
+ secondLevelCloseIconSize: 16,
4986
+ secondLevelDividerColor: 'rgba(0, 0, 0, 0.2)',
4987
+ secondLevelDividerWidth: 1,
4988
+ secondLevelHeaderBackgroundColor: '#ffffff',
4989
+ secondLevelHeaderPaddingBottom: 12,
4990
+ secondLevelHeaderPaddingLeft: 16,
4991
+ secondLevelHeaderPaddingRight: 16,
4992
+ secondLevelHeaderPaddingTop: 8,
4993
+ secondLevelParentIcon: PaletteIconChevronRight,
4782
4994
  shadow: {
4783
4995
  blur: 8,
4784
4996
  color: 'rgba(0, 0, 0, 0.1)',
@@ -6553,6 +6765,10 @@ const theme = {
6553
6765
  fontWeight: '500',
6554
6766
  letterSpacing: 0,
6555
6767
  lineHeight: 1.4,
6768
+ marginBottom: 0,
6769
+ marginLeft: 0,
6770
+ marginRight: 0,
6771
+ marginTop: 0,
6556
6772
  minWidth: 264,
6557
6773
  outerBorderColor: 'transparent',
6558
6774
  outerBorderGap: 0,
@@ -6955,6 +7171,88 @@ const theme = {
6955
7171
  validationIconSize: 20
6956
7172
  }
6957
7173
  },
7174
+ Shortcuts: {
7175
+ appearances: {
7176
+ viewport: {
7177
+ description: 'The size label for the current screen viewport based on the current screen width',
7178
+ type: 'state',
7179
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
7180
+ }
7181
+ },
7182
+ rules: [
7183
+ { if: { viewport: 'md' }, tokens: { mainContainerGap: 16 } },
7184
+ { if: { viewport: 'lg' }, tokens: { mainContainerGap: 16 } },
7185
+ { if: { viewport: 'xl' }, tokens: { mainContainerGap: 16 } }
7186
+ ],
7187
+ tokens: {
7188
+ mainContainerBottomPadding: 0,
7189
+ mainContainerGap: 8,
7190
+ mainContainerLeftPadding: 16,
7191
+ mainContainerRightPadding: 16,
7192
+ mainContainerTopPadding: 0,
7193
+ nextIcon: PaletteIconArrowRight,
7194
+ previousIcon: PaletteIconArrowLeft
7195
+ }
7196
+ },
7197
+ ShortcutsItem: {
7198
+ appearances: {
7199
+ focus: {
7200
+ 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.",
7201
+ platforms: [ 'rn', 'web' ],
7202
+ type: 'state',
7203
+ values: [ true, false ]
7204
+ },
7205
+ hover: {
7206
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
7207
+ platforms: [ 'rn', 'web' ],
7208
+ type: 'state',
7209
+ values: [ true, false ]
7210
+ },
7211
+ pressed: {
7212
+ 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.',
7213
+ type: 'state',
7214
+ values: [ true, false ]
7215
+ }
7216
+ },
7217
+ rules: [
7218
+ {
7219
+ if: { hover: true },
7220
+ tokens: { labelUnderline: 'underline' }
7221
+ },
7222
+ { if: { focus: true }, tokens: { borderColor: '#2b8000' } },
7223
+ {
7224
+ if: { pressed: true },
7225
+ tokens: { iconColor: '#b2b9bf', labelFontColor: '#b2b9bf' }
7226
+ }
7227
+ ],
7228
+ tokens: {
7229
+ borderColor: 'transparent',
7230
+ borderRadius: 4,
7231
+ borderWidth: 1,
7232
+ iconBackgroundColor: '#f4f4f7',
7233
+ iconColor: '#414547',
7234
+ iconContainerPaddingBottom: 8,
7235
+ iconContainerPaddingLeft: 8,
7236
+ iconContainerPaddingRight: 8,
7237
+ iconContainerPaddingTop: 8,
7238
+ iconSize: 24,
7239
+ iconWidth: 16,
7240
+ imageHeight: 56,
7241
+ imageWidth: 56,
7242
+ labelContainerPaddingBottom: 0,
7243
+ labelContainerPaddingLeft: 8,
7244
+ labelContainerPaddingRight: 8,
7245
+ labelContainerPaddingTop: 0,
7246
+ labelFontColor: '#2c2e30',
7247
+ labelFontName: 'HNforTELUSSA',
7248
+ labelFontSize: 14,
7249
+ labelFontWeight: '400',
7250
+ labelLineHeight: 1.42857142857,
7251
+ labelTextAlign: 'center',
7252
+ labelUnderline: 'none',
7253
+ width: 72
7254
+ }
7255
+ },
6958
7256
  SideNav: {
6959
7257
  appearances: {},
6960
7258
  rules: [],
@@ -7756,6 +8054,8 @@ const theme = {
7756
8054
  cellBorderColor: 'rgba(0, 0, 0, 0)',
7757
8055
  cellBorderTopWidth: 0,
7758
8056
  cellBorderWidth: 0,
8057
+ cellBottomLeftBorderRadius: 0,
8058
+ cellBottomRightBorderRadius: 0,
7759
8059
  cellBoxShadowColor: '#e3e6e8',
7760
8060
  cellMinWidth: 0,
7761
8061
  cellPaddingBottom: 16,
@@ -7770,6 +8070,8 @@ const theme = {
7770
8070
  offsetY: 4,
7771
8071
  spread: 0
7772
8072
  },
8073
+ cellTopLeftBorderRadius: 0,
8074
+ cellTopRightBorderRadius: 0,
7773
8075
  display: null,
7774
8076
  fontColor: '#000000',
7775
8077
  fontName: 'HNforTELUSSA',
@@ -9405,6 +9707,6 @@ const theme = {
9405
9707
  tokens: { size: 96 }
9406
9708
  }
9407
9709
  },
9408
- metadata: { name: 'theme-allium', themeTokensVersion: '4.15.1' }
9710
+ metadata: { name: 'theme-allium', themeTokensVersion: '4.17.0' }
9409
9711
  }
9410
9712
  export default theme
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@telus-uds/theme-allium",
3
- "version": "7.17.2",
3
+ "version": "7.19.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.12.0",
13
- "@telus-uds/system-theme-tokens": "^4.15.1",
14
- "@telus-uds/system-tokens": "^1.4.9"
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"
15
15
  },
16
16
  "peerDependencies": {
17
- "@telus-uds/palette-allium": "^5.12.0"
17
+ "@telus-uds/palette-allium": "^5.13.1"
18
18
  },
19
19
  "files": [
20
20
  "build",