@telus-uds/theme-allium 6.3.0 → 7.0.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 (251) hide show
  1. package/build/android/Badge.json +29 -0
  2. package/build/android/Table.json +23 -0
  3. package/build/android/schema.json +1055 -1048
  4. package/build/android/theme.json +53 -1
  5. package/build/ios/Badge.json +29 -0
  6. package/build/ios/Table.json +23 -0
  7. package/build/ios/schema.json +1055 -1048
  8. package/build/ios/theme.json +53 -1
  9. package/build/rn/ActionCard.js +6 -6
  10. package/build/rn/ActivityIndicator.js +3 -3
  11. package/build/rn/Autocomplete.js +3 -3
  12. package/build/rn/Badge.js +25 -4
  13. package/build/rn/BlockQuote.js +3 -3
  14. package/build/rn/Box.js +3 -3
  15. package/build/rn/Breadcrumbs.js +4 -4
  16. package/build/rn/Button.js +3 -3
  17. package/build/rn/ButtonDropdown.js +5 -5
  18. package/build/rn/ButtonGroup.js +3 -3
  19. package/build/rn/ButtonGroupItem.js +3 -3
  20. package/build/rn/Callout.js +3 -3
  21. package/build/rn/Card.js +4 -4
  22. package/build/rn/CardGroup.js +3 -3
  23. package/build/rn/Carousel.js +7 -7
  24. package/build/rn/CarouselTabsPanelItem.js +3 -3
  25. package/build/rn/CarouselThumbnail.js +3 -3
  26. package/build/rn/Checkbox.js +4 -4
  27. package/build/rn/CheckboxCard.js +3 -3
  28. package/build/rn/CheckboxCardGroup.js +3 -3
  29. package/build/rn/CheckboxGroup.js +3 -3
  30. package/build/rn/ChevronLink.js +5 -5
  31. package/build/rn/ColourToggle.js +3 -3
  32. package/build/rn/Countdown.js +3 -3
  33. package/build/rn/DatePicker.js +5 -5
  34. package/build/rn/Disclaimer.js +3 -3
  35. package/build/rn/Divider.js +3 -3
  36. package/build/rn/DownloadApp.js +7 -7
  37. package/build/rn/ExpandCollapse.js +3 -3
  38. package/build/rn/ExpandCollapseControl.js +5 -5
  39. package/build/rn/ExpandCollapseMini.js +3 -3
  40. package/build/rn/ExpandCollapseMiniControl.js +5 -5
  41. package/build/rn/ExpandCollapsePanel.js +3 -3
  42. package/build/rn/Feedback.js +5 -5
  43. package/build/rn/Fieldset.js +3 -3
  44. package/build/rn/FileUpload.js +3 -3
  45. package/build/rn/Footnote.js +4 -4
  46. package/build/rn/FootnoteLink.js +3 -3
  47. package/build/rn/HorizontalScrollButton.js +3 -3
  48. package/build/rn/Icon.js +3 -3
  49. package/build/rn/IconButton.js +12 -12
  50. package/build/rn/Image.js +3 -3
  51. package/build/rn/InputLabel.js +3 -3
  52. package/build/rn/InputSupports.js +3 -3
  53. package/build/rn/Link.js +3 -3
  54. package/build/rn/List.js +4 -4
  55. package/build/rn/Listbox.js +5 -5
  56. package/build/rn/Modal.js +4 -4
  57. package/build/rn/MultiSelectFilter.js +3 -3
  58. package/build/rn/NavigationBar.js +5 -5
  59. package/build/rn/Notification.js +8 -8
  60. package/build/rn/OrderedList.js +3 -3
  61. package/build/rn/Pagination.js +3 -3
  62. package/build/rn/PaginationPageButton.js +3 -3
  63. package/build/rn/PaginationSideButton.js +5 -5
  64. package/build/rn/PreviewCard.js +3 -3
  65. package/build/rn/PriceLockup.js +3 -3
  66. package/build/rn/ProductCard.js +4 -4
  67. package/build/rn/Progress.js +3 -3
  68. package/build/rn/ProgressBar.js +3 -3
  69. package/build/rn/QuantitySelector.js +3 -3
  70. package/build/rn/QuantitySelectorSideButton.js +5 -5
  71. package/build/rn/QuickLinks.js +3 -3
  72. package/build/rn/QuickLinksButton.js +3 -3
  73. package/build/rn/QuickLinksCard.js +3 -3
  74. package/build/rn/QuickLinksFeature.js +3 -3
  75. package/build/rn/QuickLinksFeatureItem.js +3 -3
  76. package/build/rn/QuickLinksList.js +3 -3
  77. package/build/rn/Radio.js +3 -3
  78. package/build/rn/RadioCard.js +3 -3
  79. package/build/rn/RadioCardGroup.js +3 -3
  80. package/build/rn/RadioGroup.js +3 -3
  81. package/build/rn/Ribbon.js +3 -3
  82. package/build/rn/Search.js +5 -5
  83. package/build/rn/SearchButton.js +3 -3
  84. package/build/rn/Select.js +7 -7
  85. package/build/rn/SideNav.js +3 -3
  86. package/build/rn/SideNavItem.js +3 -3
  87. package/build/rn/SideNavItemsGroup.js +5 -5
  88. package/build/rn/Skeleton.js +3 -3
  89. package/build/rn/SkipLink.js +3 -3
  90. package/build/rn/Spinner.js +3 -3
  91. package/build/rn/SplashButton.js +4 -4
  92. package/build/rn/SplashButtonWithDetails.js +4 -4
  93. package/build/rn/StackView.js +3 -3
  94. package/build/rn/Status.js +7 -7
  95. package/build/rn/StepTracker.js +3 -3
  96. package/build/rn/StoryCard.js +3 -3
  97. package/build/rn/TabBar.js +3 -3
  98. package/build/rn/TabBarItem.js +3 -3
  99. package/build/rn/Table.js +9 -3
  100. package/build/rn/Tabs.js +5 -5
  101. package/build/rn/TabsItem.js +3 -3
  102. package/build/rn/Tags.js +3 -3
  103. package/build/rn/TagsItem.js +5 -5
  104. package/build/rn/TermsAndConditions.js +5 -5
  105. package/build/rn/Testimonial.js +5 -5
  106. package/build/rn/TextArea.js +3 -3
  107. package/build/rn/TextInput.js +12 -12
  108. package/build/rn/Timeline.js +3 -3
  109. package/build/rn/Toast.js +3 -3
  110. package/build/rn/ToggleSwitch.js +4 -4
  111. package/build/rn/ToggleSwitchGroup.js +3 -3
  112. package/build/rn/Tooltip.js +3 -3
  113. package/build/rn/TooltipButton.js +4 -4
  114. package/build/rn/Typography.js +3 -3
  115. package/build/rn/Video.js +6 -6
  116. package/build/rn/VideoButton.js +3 -3
  117. package/build/rn/VideoControlBar.js +7 -7
  118. package/build/rn/VideoMenu.js +4 -4
  119. package/build/rn/VideoMiddleControlButton.js +3 -3
  120. package/build/rn/VideoPicker.js +3 -3
  121. package/build/rn/VideoPickerSlider.js +5 -5
  122. package/build/rn/VideoPickerThumbnail.js +3 -3
  123. package/build/rn/VideoProgressBar.js +3 -3
  124. package/build/rn/VideoVolumeSlider.js +5 -5
  125. package/build/rn/WaffleGrid.js +3 -3
  126. package/build/rn/schema.json +1055 -1048
  127. package/build/rn/spacingScale.js +3 -3
  128. package/build/rn/theme.js +73 -46
  129. package/build/web/ActionCard.js +1 -1
  130. package/build/web/ActivityIndicator.js +1 -1
  131. package/build/web/Autocomplete.js +1 -1
  132. package/build/web/Badge.js +23 -2
  133. package/build/web/BlockQuote.js +1 -1
  134. package/build/web/Box.js +1 -1
  135. package/build/web/Breadcrumbs.js +1 -1
  136. package/build/web/Button.js +1 -1
  137. package/build/web/ButtonDropdown.js +1 -1
  138. package/build/web/ButtonGroup.js +1 -1
  139. package/build/web/ButtonGroupItem.js +1 -1
  140. package/build/web/Callout.js +1 -1
  141. package/build/web/Card.js +1 -1
  142. package/build/web/CardGroup.js +1 -1
  143. package/build/web/Carousel.js +1 -1
  144. package/build/web/CarouselTabsPanelItem.js +1 -1
  145. package/build/web/CarouselThumbnail.js +1 -1
  146. package/build/web/Checkbox.js +1 -1
  147. package/build/web/CheckboxCard.js +1 -1
  148. package/build/web/CheckboxCardGroup.js +1 -1
  149. package/build/web/CheckboxGroup.js +1 -1
  150. package/build/web/ChevronLink.js +1 -1
  151. package/build/web/ColourToggle.js +1 -1
  152. package/build/web/Countdown.js +1 -1
  153. package/build/web/DatePicker.js +1 -1
  154. package/build/web/Disclaimer.js +1 -1
  155. package/build/web/Divider.js +1 -1
  156. package/build/web/DownloadApp.js +1 -1
  157. package/build/web/ExpandCollapse.js +1 -1
  158. package/build/web/ExpandCollapseControl.js +1 -1
  159. package/build/web/ExpandCollapseMini.js +1 -1
  160. package/build/web/ExpandCollapseMiniControl.js +1 -1
  161. package/build/web/ExpandCollapsePanel.js +1 -1
  162. package/build/web/Feedback.js +1 -1
  163. package/build/web/Fieldset.js +1 -1
  164. package/build/web/FileUpload.js +1 -1
  165. package/build/web/Footnote.js +1 -1
  166. package/build/web/FootnoteLink.js +1 -1
  167. package/build/web/HorizontalScrollButton.js +1 -1
  168. package/build/web/Icon.js +1 -1
  169. package/build/web/IconButton.js +1 -1
  170. package/build/web/Image.js +1 -1
  171. package/build/web/InputLabel.js +1 -1
  172. package/build/web/InputSupports.js +1 -1
  173. package/build/web/Link.js +1 -1
  174. package/build/web/List.js +1 -1
  175. package/build/web/Listbox.js +1 -1
  176. package/build/web/Modal.js +1 -1
  177. package/build/web/MultiSelectFilter.js +1 -1
  178. package/build/web/NavigationBar.js +1 -1
  179. package/build/web/Notification.js +1 -1
  180. package/build/web/OrderedList.js +1 -1
  181. package/build/web/Pagination.js +1 -1
  182. package/build/web/PaginationPageButton.js +1 -1
  183. package/build/web/PaginationSideButton.js +1 -1
  184. package/build/web/PreviewCard.js +1 -1
  185. package/build/web/PriceLockup.js +1 -1
  186. package/build/web/ProductCard.js +1 -1
  187. package/build/web/Progress.js +1 -1
  188. package/build/web/ProgressBar.js +1 -1
  189. package/build/web/QuantitySelector.js +1 -1
  190. package/build/web/QuantitySelectorSideButton.js +1 -1
  191. package/build/web/QuickLinks.js +1 -1
  192. package/build/web/QuickLinksButton.js +1 -1
  193. package/build/web/QuickLinksCard.js +1 -1
  194. package/build/web/QuickLinksFeature.js +1 -1
  195. package/build/web/QuickLinksFeatureItem.js +1 -1
  196. package/build/web/QuickLinksList.js +1 -1
  197. package/build/web/Radio.js +1 -1
  198. package/build/web/RadioCard.js +1 -1
  199. package/build/web/RadioCardGroup.js +1 -1
  200. package/build/web/RadioGroup.js +1 -1
  201. package/build/web/Ribbon.js +1 -1
  202. package/build/web/Search.js +1 -1
  203. package/build/web/SearchButton.js +1 -1
  204. package/build/web/Select.js +1 -1
  205. package/build/web/SideNav.js +1 -1
  206. package/build/web/SideNavItem.js +1 -1
  207. package/build/web/SideNavItemsGroup.js +1 -1
  208. package/build/web/Skeleton.js +1 -1
  209. package/build/web/SkipLink.js +1 -1
  210. package/build/web/Spinner.js +1 -1
  211. package/build/web/SplashButton.js +1 -1
  212. package/build/web/SplashButtonWithDetails.js +1 -1
  213. package/build/web/StackView.js +1 -1
  214. package/build/web/Status.js +1 -1
  215. package/build/web/StepTracker.js +1 -1
  216. package/build/web/StoryCard.js +1 -1
  217. package/build/web/TabBar.js +1 -1
  218. package/build/web/TabBarItem.js +1 -1
  219. package/build/web/Table.js +7 -1
  220. package/build/web/Tabs.js +1 -1
  221. package/build/web/TabsItem.js +1 -1
  222. package/build/web/Tags.js +1 -1
  223. package/build/web/TagsItem.js +1 -1
  224. package/build/web/TermsAndConditions.js +1 -1
  225. package/build/web/Testimonial.js +1 -1
  226. package/build/web/TextArea.js +1 -1
  227. package/build/web/TextInput.js +1 -1
  228. package/build/web/Timeline.js +1 -1
  229. package/build/web/Toast.js +1 -1
  230. package/build/web/ToggleSwitch.js +1 -1
  231. package/build/web/ToggleSwitchGroup.js +1 -1
  232. package/build/web/Tooltip.js +1 -1
  233. package/build/web/TooltipButton.js +1 -1
  234. package/build/web/Typography.js +1 -1
  235. package/build/web/Video.js +1 -1
  236. package/build/web/VideoButton.js +1 -1
  237. package/build/web/VideoControlBar.js +1 -1
  238. package/build/web/VideoMenu.js +1 -1
  239. package/build/web/VideoMiddleControlButton.js +1 -1
  240. package/build/web/VideoPicker.js +1 -1
  241. package/build/web/VideoPickerSlider.js +1 -1
  242. package/build/web/VideoPickerThumbnail.js +1 -1
  243. package/build/web/VideoProgressBar.js +1 -1
  244. package/build/web/VideoVolumeSlider.js +1 -1
  245. package/build/web/WaffleGrid.js +1 -1
  246. package/build/web/index.js +1 -1
  247. package/build/web/schema.json +1055 -1048
  248. package/build/web/spacingScale.js +1 -1
  249. package/build/web/theme.js +30 -3
  250. package/package.json +5 -14
  251. package/theme.json +42 -0
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 10 Jan 2025 21:40:34 GMT
4
+ * Generated on Fri, 31 Jan 2025 20:48:26 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, 10 Jan 2025 21:40:34 GMT
4
+ * Generated on Fri, 31 Jan 2025 20:48:26 GMT
5
5
  *
6
6
  */
7
7
 
@@ -150,7 +150,8 @@ const theme = {
150
150
  alternative: { type: 'variant', values: [ true ] },
151
151
  inverse: { type: 'variant', values: [ true ] },
152
152
  outline: { type: 'variant', values: [ true ] },
153
- purpose: { type: 'variant', values: [ 'offer', 'editorial', 'subtle' ] }
153
+ purpose: { type: 'variant', values: [ 'offer', 'editorial', 'subtle' ] },
154
+ size: { type: 'variant', values: [ 'compact' ] }
154
155
  },
155
156
  rules: [
156
157
  {
@@ -247,6 +248,26 @@ const theme = {
247
248
  paddingRight: 8,
248
249
  paddingTop: 2
249
250
  }
251
+ },
252
+ {
253
+ if: { size: 'compact' },
254
+ tokens: {
255
+ fontSize: 12,
256
+ paddingBottom: 0,
257
+ paddingLeft: 3,
258
+ paddingRight: 3,
259
+ paddingTop: 0
260
+ }
261
+ },
262
+ {
263
+ if: { purpose: 'offer', size: 'compact' },
264
+ tokens: {
265
+ fontSize: 12,
266
+ paddingBottom: 2,
267
+ paddingLeft: 3,
268
+ paddingRight: 3,
269
+ paddingTop: 2
270
+ }
250
271
  }
251
272
  ],
252
273
  tokens: {
@@ -6672,6 +6693,7 @@ const theme = {
6672
6693
  },
6673
6694
  Table: {
6674
6695
  appearances: {
6696
+ highlight: { type: 'variant', values: [ 'row' ] },
6675
6697
  spacing: {
6676
6698
  description: 'Adjusts the height of the table cell',
6677
6699
  type: 'variant',
@@ -6684,6 +6706,10 @@ const theme = {
6684
6706
  }
6685
6707
  },
6686
6708
  rules: [
6709
+ {
6710
+ if: { highlight: 'row' },
6711
+ tokens: { rowHoverBackgroundColor: 'rgba(0, 0, 0, 0.05)' }
6712
+ },
6687
6713
  {
6688
6714
  if: { spacing: 'compact', type: 'default' },
6689
6715
  tokens: {
@@ -6802,6 +6828,7 @@ const theme = {
6802
6828
  fontSize: 16,
6803
6829
  fontWeight: '400',
6804
6830
  lineHeight: 1.5,
6831
+ rowHoverBackgroundColor: 'rgba(0, 0, 0, 0)',
6805
6832
  stickyBackgroundColor: '#ffffff',
6806
6833
  tablePaddingBottom: 24
6807
6834
  }
@@ -8315,6 +8342,6 @@ const theme = {
8315
8342
  tokens: { size: 96 }
8316
8343
  }
8317
8344
  },
8318
- metadata: { name: 'theme-allium', themeTokensVersion: '3.3.0' }
8345
+ metadata: { name: 'theme-allium', themeTokensVersion: '4.0.0' }
8319
8346
  }
8320
8347
  export default theme
package/package.json CHANGED
@@ -1,29 +1,20 @@
1
1
  {
2
2
  "name": "@telus-uds/theme-allium",
3
- "type": "module",
4
- "version": "6.3.0",
3
+ "version": "7.0.0",
5
4
  "description": "Allium theme",
6
5
  "author": "TELUS Digital",
7
6
  "homepage": "https://github.com/telus/allium-design-system#readme",
8
7
  "license": "MIT",
9
8
  "main": "build/rn/theme.js",
10
9
  "module": "build/web/index.js",
11
- "exports": {
12
- ".": {
13
- "import": "./build/rn/theme.js",
14
- "default": "./build/rn/theme.js"
15
- },
16
- "./package.json": "./package.json",
17
- "./build/*": "./build/*"
18
- },
19
10
  "dependencies": {},
20
11
  "devDependencies": {
21
- "@telus-uds/palette-allium": "^4.0.3",
22
- "@telus-uds/system-theme-tokens": "^3.3.0",
23
- "@telus-uds/system-tokens": "^1.1.0"
12
+ "@telus-uds/palette-allium": "^5.0.0",
13
+ "@telus-uds/system-theme-tokens": "^4.0.0",
14
+ "@telus-uds/system-tokens": "^1.1.1"
24
15
  },
25
16
  "peerDependencies": {
26
- "@telus-uds/palette-allium": "^4.0.3"
17
+ "@telus-uds/palette-allium": "^5.0.0"
27
18
  },
28
19
  "files": [
29
20
  "build",
package/theme.json CHANGED
@@ -134,6 +134,10 @@
134
134
  "purpose": {
135
135
  "type": "variant",
136
136
  "values": ["offer", "editorial", "subtle"]
137
+ },
138
+ "size": {
139
+ "type": "variant",
140
+ "values": ["compact"]
137
141
  }
138
142
  },
139
143
  "rules": [
@@ -234,6 +238,31 @@
234
238
  "paddingRight": "{palette.size.size8}",
235
239
  "paddingTop": "{palette.size.size2}"
236
240
  }
241
+ },
242
+ {
243
+ "if": {
244
+ "size": "compact"
245
+ },
246
+ "tokens": {
247
+ "fontSize": "{palette.fontSize.size12}",
248
+ "paddingBottom": "{palette.size.size0}",
249
+ "paddingLeft": "{palette.size.size3}",
250
+ "paddingRight": "{palette.size.size3}",
251
+ "paddingTop": "{palette.size.size0}"
252
+ }
253
+ },
254
+ {
255
+ "if": {
256
+ "purpose": "offer",
257
+ "size": "compact"
258
+ },
259
+ "tokens": {
260
+ "fontSize": "{palette.fontSize.size12}",
261
+ "paddingBottom": "{palette.size.size2}",
262
+ "paddingLeft": "{palette.size.size3}",
263
+ "paddingRight": "{palette.size.size3}",
264
+ "paddingTop": "{palette.size.size2}"
265
+ }
237
266
  }
238
267
  ],
239
268
  "tokens": {
@@ -8117,6 +8146,10 @@
8117
8146
  },
8118
8147
  "Table": {
8119
8148
  "appearances": {
8149
+ "highlight": {
8150
+ "type": "variant",
8151
+ "values": ["row"]
8152
+ },
8120
8153
  "spacing": {
8121
8154
  "description": "Adjusts the height of the table cell",
8122
8155
  "type": "variant",
@@ -8132,6 +8165,14 @@
8132
8165
  }
8133
8166
  },
8134
8167
  "rules": [
8168
+ {
8169
+ "if": {
8170
+ "highlight": "row"
8171
+ },
8172
+ "tokens": {
8173
+ "rowHoverBackgroundColor": "{palette.color.dark5}"
8174
+ }
8175
+ },
8135
8176
  {
8136
8177
  "if": {
8137
8178
  "spacing": "compact",
@@ -8280,6 +8321,7 @@
8280
8321
  "fontSize": "{palette.fontSize.size16}",
8281
8322
  "fontWeight": "{palette.fontWeight.weight400}",
8282
8323
  "lineHeight": "{palette.lineHeight.ratio3to2}",
8324
+ "rowHoverBackgroundColor": "{palette.color.transparent}",
8283
8325
  "stickyBackgroundColor": "{palette.color.white}",
8284
8326
  "tablePaddingBottom": "{palette.size.size24}"
8285
8327
  }