@telus-uds/theme-koodo 6.4.0 → 7.1.0

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (253) hide show
  1. package/build/android/MultiSelectFilter.json +6 -0
  2. package/build/android/Table.json +45 -0
  3. package/build/android/TabsItem.json +39 -27
  4. package/build/android/schema.json +803 -733
  5. package/build/android/theme.json +91 -28
  6. package/build/ios/MultiSelectFilter.json +6 -0
  7. package/build/ios/Table.json +45 -0
  8. package/build/ios/TabsItem.json +39 -27
  9. package/build/ios/schema.json +803 -733
  10. package/build/ios/theme.json +91 -28
  11. package/build/rn/ActionCard.js +6 -6
  12. package/build/rn/ActivityIndicator.js +3 -3
  13. package/build/rn/Autocomplete.js +3 -3
  14. package/build/rn/Badge.js +3 -3
  15. package/build/rn/BlockQuote.js +3 -3
  16. package/build/rn/Box.js +3 -3
  17. package/build/rn/Breadcrumbs.js +4 -4
  18. package/build/rn/Button.js +3 -3
  19. package/build/rn/ButtonDropdown.js +5 -5
  20. package/build/rn/ButtonGroup.js +3 -3
  21. package/build/rn/ButtonGroupItem.js +3 -3
  22. package/build/rn/Callout.js +3 -3
  23. package/build/rn/Card.js +4 -4
  24. package/build/rn/CardGroup.js +3 -3
  25. package/build/rn/Carousel.js +7 -7
  26. package/build/rn/CarouselTabsPanelItem.js +3 -3
  27. package/build/rn/CarouselThumbnail.js +3 -3
  28. package/build/rn/Checkbox.js +4 -4
  29. package/build/rn/CheckboxCard.js +3 -3
  30. package/build/rn/CheckboxCardGroup.js +3 -3
  31. package/build/rn/CheckboxGroup.js +3 -3
  32. package/build/rn/ChevronLink.js +5 -5
  33. package/build/rn/ColourToggle.js +3 -3
  34. package/build/rn/Countdown.js +3 -3
  35. package/build/rn/DatePicker.js +5 -5
  36. package/build/rn/Disclaimer.js +3 -3
  37. package/build/rn/Divider.js +3 -3
  38. package/build/rn/DownloadApp.js +7 -7
  39. package/build/rn/ExpandCollapse.js +3 -3
  40. package/build/rn/ExpandCollapseControl.js +5 -5
  41. package/build/rn/ExpandCollapseMini.js +3 -3
  42. package/build/rn/ExpandCollapseMiniControl.js +5 -5
  43. package/build/rn/ExpandCollapsePanel.js +3 -3
  44. package/build/rn/Feedback.js +5 -5
  45. package/build/rn/Fieldset.js +3 -3
  46. package/build/rn/FileUpload.js +3 -3
  47. package/build/rn/Footnote.js +4 -4
  48. package/build/rn/FootnoteLink.js +3 -3
  49. package/build/rn/HorizontalScrollButton.js +3 -3
  50. package/build/rn/Icon.js +3 -3
  51. package/build/rn/IconButton.js +12 -12
  52. package/build/rn/Image.js +3 -3
  53. package/build/rn/InputLabel.js +3 -3
  54. package/build/rn/InputSupports.js +3 -3
  55. package/build/rn/Link.js +3 -3
  56. package/build/rn/List.js +4 -4
  57. package/build/rn/Listbox.js +5 -5
  58. package/build/rn/Modal.js +4 -4
  59. package/build/rn/MultiSelectFilter.js +4 -3
  60. package/build/rn/NavigationBar.js +5 -5
  61. package/build/rn/Notification.js +7 -7
  62. package/build/rn/OrderedList.js +3 -3
  63. package/build/rn/Pagination.js +3 -3
  64. package/build/rn/PaginationPageButton.js +3 -3
  65. package/build/rn/PaginationSideButton.js +5 -5
  66. package/build/rn/PreviewCard.js +3 -3
  67. package/build/rn/PriceLockup.js +3 -3
  68. package/build/rn/ProductCard.js +4 -4
  69. package/build/rn/Progress.js +3 -3
  70. package/build/rn/ProgressBar.js +3 -3
  71. package/build/rn/QuantitySelector.js +3 -3
  72. package/build/rn/QuantitySelectorSideButton.js +5 -5
  73. package/build/rn/QuickLinks.js +3 -3
  74. package/build/rn/QuickLinksButton.js +3 -3
  75. package/build/rn/QuickLinksCard.js +3 -3
  76. package/build/rn/QuickLinksFeature.js +3 -3
  77. package/build/rn/QuickLinksFeatureItem.js +3 -3
  78. package/build/rn/QuickLinksList.js +3 -3
  79. package/build/rn/Radio.js +3 -3
  80. package/build/rn/RadioCard.js +3 -3
  81. package/build/rn/RadioCardGroup.js +3 -3
  82. package/build/rn/RadioGroup.js +3 -3
  83. package/build/rn/Ribbon.js +3 -3
  84. package/build/rn/Search.js +5 -5
  85. package/build/rn/SearchButton.js +3 -3
  86. package/build/rn/Select.js +7 -7
  87. package/build/rn/SideNav.js +3 -3
  88. package/build/rn/SideNavItem.js +3 -3
  89. package/build/rn/SideNavItemsGroup.js +5 -5
  90. package/build/rn/Skeleton.js +3 -3
  91. package/build/rn/SkipLink.js +3 -3
  92. package/build/rn/Spinner.js +3 -3
  93. package/build/rn/SplashButton.js +4 -4
  94. package/build/rn/SplashButtonWithDetails.js +4 -4
  95. package/build/rn/StackView.js +3 -3
  96. package/build/rn/Status.js +9 -9
  97. package/build/rn/StepTracker.js +4 -4
  98. package/build/rn/StoryCard.js +3 -3
  99. package/build/rn/TabBar.js +3 -3
  100. package/build/rn/TabBarItem.js +3 -3
  101. package/build/rn/Table.js +18 -3
  102. package/build/rn/Tabs.js +5 -5
  103. package/build/rn/TabsItem.js +69 -24
  104. package/build/rn/Tags.js +3 -3
  105. package/build/rn/TagsItem.js +5 -5
  106. package/build/rn/TermsAndConditions.js +5 -5
  107. package/build/rn/Testimonial.js +5 -5
  108. package/build/rn/TextArea.js +3 -3
  109. package/build/rn/TextInput.js +12 -12
  110. package/build/rn/Timeline.js +3 -3
  111. package/build/rn/Toast.js +3 -3
  112. package/build/rn/ToggleSwitch.js +4 -4
  113. package/build/rn/ToggleSwitchGroup.js +3 -3
  114. package/build/rn/Tooltip.js +3 -3
  115. package/build/rn/TooltipButton.js +5 -5
  116. package/build/rn/Typography.js +3 -3
  117. package/build/rn/Video.js +6 -6
  118. package/build/rn/VideoButton.js +3 -3
  119. package/build/rn/VideoControlBar.js +7 -7
  120. package/build/rn/VideoMenu.js +4 -4
  121. package/build/rn/VideoMiddleControlButton.js +3 -3
  122. package/build/rn/VideoPicker.js +3 -3
  123. package/build/rn/VideoPickerSlider.js +5 -5
  124. package/build/rn/VideoPickerThumbnail.js +3 -3
  125. package/build/rn/VideoProgressBar.js +3 -3
  126. package/build/rn/VideoVolumeSlider.js +5 -5
  127. package/build/rn/WaffleGrid.js +3 -3
  128. package/build/rn/schema.json +803 -733
  129. package/build/rn/spacingScale.js +3 -3
  130. package/build/rn/theme.js +131 -70
  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 +1 -1
  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 +2 -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 +1 -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/SideNav.js +1 -1
  208. package/build/web/SideNavItem.js +1 -1
  209. package/build/web/SideNavItemsGroup.js +1 -1
  210. package/build/web/Skeleton.js +1 -1
  211. package/build/web/SkipLink.js +1 -1
  212. package/build/web/Spinner.js +1 -1
  213. package/build/web/SplashButton.js +1 -1
  214. package/build/web/SplashButtonWithDetails.js +1 -1
  215. package/build/web/StackView.js +1 -1
  216. package/build/web/Status.js +1 -1
  217. package/build/web/StepTracker.js +1 -1
  218. package/build/web/StoryCard.js +1 -1
  219. package/build/web/TabBar.js +1 -1
  220. package/build/web/TabBarItem.js +1 -1
  221. package/build/web/Table.js +16 -1
  222. package/build/web/Tabs.js +1 -1
  223. package/build/web/TabsItem.js +67 -22
  224. package/build/web/Tags.js +1 -1
  225. package/build/web/TagsItem.js +1 -1
  226. package/build/web/TermsAndConditions.js +1 -1
  227. package/build/web/Testimonial.js +1 -1
  228. package/build/web/TextArea.js +1 -1
  229. package/build/web/TextInput.js +1 -1
  230. package/build/web/Timeline.js +1 -1
  231. package/build/web/Toast.js +1 -1
  232. package/build/web/ToggleSwitch.js +1 -1
  233. package/build/web/ToggleSwitchGroup.js +1 -1
  234. package/build/web/Tooltip.js +1 -1
  235. package/build/web/TooltipButton.js +1 -1
  236. package/build/web/Typography.js +1 -1
  237. package/build/web/Video.js +1 -1
  238. package/build/web/VideoButton.js +1 -1
  239. package/build/web/VideoControlBar.js +1 -1
  240. package/build/web/VideoMenu.js +1 -1
  241. package/build/web/VideoMiddleControlButton.js +1 -1
  242. package/build/web/VideoPicker.js +1 -1
  243. package/build/web/VideoPickerSlider.js +1 -1
  244. package/build/web/VideoPickerThumbnail.js +1 -1
  245. package/build/web/VideoProgressBar.js +1 -1
  246. package/build/web/VideoVolumeSlider.js +1 -1
  247. package/build/web/WaffleGrid.js +1 -1
  248. package/build/web/index.js +1 -1
  249. package/build/web/schema.json +803 -733
  250. package/build/web/spacingScale.js +1 -1
  251. package/build/web/theme.js +84 -23
  252. package/package.json +5 -13
  253. package/theme.json +86 -24
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Wed, 22 Jan 2025 21:04:50 GMT
4
+ * Generated on Mon, 10 Feb 2025 17:29:30 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, 22 Jan 2025 21:04:51 GMT
4
+ * Generated on Mon, 10 Feb 2025 17:29:30 GMT
5
5
  *
6
6
  */
7
7
 
@@ -4115,6 +4115,7 @@ const theme = {
4115
4115
  tokens: {
4116
4116
  buttonBorderColor: '#000000',
4117
4117
  buttonDirection: 'row',
4118
+ buttonIconBackgroundColor: 'rgba(0, 0, 0, 0)',
4118
4119
  buttonIconPadding: 4,
4119
4120
  buttonIconSize: 20,
4120
4121
  contentMarginBottom: 32,
@@ -6721,6 +6722,7 @@ const theme = {
6721
6722
  },
6722
6723
  Table: {
6723
6724
  appearances: {
6725
+ highlight: { type: 'variant', values: [ 'row' ] },
6724
6726
  spacing: {
6725
6727
  description: 'Adjusts the height of the table cell',
6726
6728
  type: 'variant',
@@ -6733,6 +6735,13 @@ const theme = {
6733
6735
  }
6734
6736
  },
6735
6737
  rules: [
6738
+ {
6739
+ if: { highlight: 'row' },
6740
+ tokens: {
6741
+ cellBackground: 'rgba(0, 0, 0, 0)',
6742
+ rowHoverBackgroundColor: 'rgba(0, 0, 0, 0.05)'
6743
+ }
6744
+ },
6736
6745
  {
6737
6746
  if: { spacing: 'compact' },
6738
6747
  tokens: {
@@ -6839,6 +6848,9 @@ const theme = {
6839
6848
  borderColor: '#efefef',
6840
6849
  borderWidth: 1,
6841
6850
  cellBackground: '#ffffff',
6851
+ cellBorderColor: 'rgba(0, 0, 0, 0)',
6852
+ cellBorderTopWidth: 0,
6853
+ cellBorderWidth: 0,
6842
6854
  cellBoxShadowColor: '#efefef',
6843
6855
  cellMinWidth: 0,
6844
6856
  cellPaddingBottom: 16,
@@ -6859,6 +6871,10 @@ const theme = {
6859
6871
  fontSize: 16,
6860
6872
  fontWeight: '400',
6861
6873
  lineHeight: 1.5,
6874
+ rowBorderColor: 'rgba(0, 0, 0, 0)',
6875
+ rowBorderTopWidth: 0,
6876
+ rowBorderWidth: 0,
6877
+ rowHoverBackgroundColor: 'rgba(0, 0, 0, 0)',
6862
6878
  stickyBackgroundColor: '#ffffff',
6863
6879
  tablePaddingBottom: 24
6864
6880
  }
@@ -6917,7 +6933,8 @@ const theme = {
6917
6933
  {
6918
6934
  if: { selected: true },
6919
6935
  tokens: {
6920
- backgroundColor: '#ffffff',
6936
+ backgroundColor: 'rgba(0, 0, 0, 0.1)',
6937
+ borderRadius: 99,
6921
6938
  color: '#000000',
6922
6939
  highlightBarBorderWidth: 1,
6923
6940
  highlightBarHeight: 1,
@@ -6927,28 +6944,50 @@ const theme = {
6927
6944
  {
6928
6945
  if: { hover: true },
6929
6946
  tokens: {
6930
- backgroundColor: '#efefef',
6931
- highlightBarBorderWidth: 1,
6947
+ backgroundColor: 'rgba(0, 0, 0, 0.1)',
6948
+ borderRadius: 99,
6949
+ highlightBarBorderWidth: 0,
6932
6950
  highlightBarHeight: 1,
6933
6951
  highlightColor: '#c9c8c8'
6934
6952
  }
6935
6953
  },
6936
6954
  {
6937
- if: { focus: true },
6955
+ if: { pressed: true },
6938
6956
  tokens: {
6939
- backgroundColor: '#ffffff',
6957
+ backgroundColor: 'rgba(0, 0, 0, 0.2)',
6958
+ borderRadius: 99,
6959
+ highlightBarBorderWidth: 0
6960
+ }
6961
+ },
6962
+ {
6963
+ if: { focus: true, selected: true },
6964
+ tokens: {
6965
+ backgroundColor: 'rgba(0, 0, 0, 0.1)',
6966
+ borderColor: '#000000',
6967
+ borderRadius: 99,
6968
+ borderWidth: 2,
6969
+ color: '#000000',
6940
6970
  highlightBarBorderWidth: 1,
6941
6971
  highlightBarHeight: 1,
6942
- highlightColor: '#666666'
6972
+ highlightColor: '#000000'
6943
6973
  }
6944
6974
  },
6945
6975
  {
6946
- if: { pressed: true },
6947
- tokens: { backgroundColor: '#c9c8c8', highlightBarBorderWidth: 0 }
6976
+ if: { hover: true, selected: true },
6977
+ tokens: {
6978
+ highlightBarBorderWidth: 1,
6979
+ highlightBarHeight: 1,
6980
+ highlightColor: '#000000'
6981
+ }
6948
6982
  },
6949
6983
  {
6950
- if: { focus: true, selected: true },
6951
- tokens: { backgroundColor: '#ffffff', highlightColor: '#000000' }
6984
+ if: { focus: true },
6985
+ tokens: {
6986
+ borderColor: '#000000',
6987
+ borderRadius: 99,
6988
+ borderWidth: 2,
6989
+ color: '#000000'
6990
+ }
6952
6991
  },
6953
6992
  {
6954
6993
  if: { inverse: true },
@@ -6957,28 +6996,48 @@ const theme = {
6957
6996
  {
6958
6997
  if: { inverse: true, selected: true },
6959
6998
  tokens: {
6960
- color: '#c9c8c8',
6999
+ backgroundColor: '#ffffff',
7000
+ borderRadius: 99,
7001
+ color: '#000000',
6961
7002
  highlightBarBorderWidth: 1,
6962
7003
  highlightBarHeight: 1,
6963
- highlightColor: '#c9c8c8'
7004
+ highlightColor: '#ffffff'
6964
7005
  }
6965
7006
  },
6966
7007
  {
6967
7008
  if: { hover: true, inverse: true },
6968
- tokens: { color: '#efefef' }
7009
+ tokens: {
7010
+ backgroundColor: 'rgba(255, 255, 255, 0.2)',
7011
+ borderRadius: 99,
7012
+ color: '#ffffff'
7013
+ }
7014
+ },
7015
+ {
7016
+ if: { focus: true, inverse: true, selected: true },
7017
+ tokens: {
7018
+ backgroundColor: 'rgba(0, 0, 0, 0)',
7019
+ borderColor: '#ffffff',
7020
+ borderRadius: 99,
7021
+ borderWidth: 2,
7022
+ color: '#000000'
7023
+ }
6969
7024
  },
6970
7025
  {
6971
7026
  if: { focus: true, inverse: true },
6972
7027
  tokens: {
6973
- color: '#ffffff',
6974
- highlightBarBorderWidth: 1,
6975
- highlightBarHeight: 1,
6976
- highlightColor: '#ffffff'
7028
+ borderColor: '#ffffff',
7029
+ borderRadius: 99,
7030
+ borderWidth: 2,
7031
+ color: '#ffffff'
6977
7032
  }
6978
7033
  },
6979
7034
  {
6980
7035
  if: { inverse: true, pressed: true },
6981
- tokens: { color: '#c9c8c8', highlightBarBorderWidth: 0 }
7036
+ tokens: {
7037
+ backgroundColor: 'rgba(255, 255, 255, 0.4)',
7038
+ borderRadius: 99,
7039
+ highlightBarBorderWidth: 0
7040
+ }
6982
7041
  },
6983
7042
  {
6984
7043
  if: { focus: true, inverse: true, selected: true },
@@ -6987,11 +7046,11 @@ const theme = {
6987
7046
  { if: { equalWidth: true }, tokens: { maxWidth: null } }
6988
7047
  ],
6989
7048
  tokens: {
6990
- backgroundColor: '#ffffff',
7049
+ backgroundColor: 'rgba(0, 0, 0, 0)',
6991
7050
  borderColor: 'transparent',
6992
7051
  borderRadius: 0,
6993
7052
  borderWidth: 0,
6994
- color: '#666666',
7053
+ color: '#000000',
6995
7054
  fontName: 'StagSans',
6996
7055
  fontScaleCap: 64,
6997
7056
  fontSize: 16,
@@ -7003,10 +7062,12 @@ const theme = {
7003
7062
  highlightTriangleSize: 0,
7004
7063
  letterSpacing: 0,
7005
7064
  lineHeight: 1.5,
7065
+ marginHorizontal: 4,
7066
+ marginVertical: 0,
7006
7067
  maxWidth: null,
7007
7068
  paddingHorizontal: 24,
7008
7069
  paddingVertical: 4,
7009
- space: 0,
7070
+ space: 1,
7010
7071
  textAlign: 'center',
7011
7072
  textTransform: 'none'
7012
7073
  }
@@ -8372,6 +8433,6 @@ const theme = {
8372
8433
  tokens: { size: 96 }
8373
8434
  }
8374
8435
  },
8375
- metadata: { name: 'theme-koodo', themeTokensVersion: '3.3.0' }
8436
+ metadata: { name: 'theme-koodo', themeTokensVersion: '4.1.0' }
8376
8437
  }
8377
8438
  export default theme
package/package.json CHANGED
@@ -1,13 +1,12 @@
1
1
  {
2
2
  "author": "TELUS Digital",
3
- "type": "module",
4
3
  "bugs": {
5
4
  "url": "https://github.com/telus/universal-design-system/issues"
6
5
  },
7
6
  "description": "Koodo theme",
8
7
  "devDependencies": {
9
- "@telus-uds/palette-koodo": "^2.0.0",
10
- "@telus-uds/system-theme-tokens": "^3.3.0"
8
+ "@telus-uds/palette-koodo": "^3.0.0",
9
+ "@telus-uds/system-theme-tokens": "^4.1.0"
11
10
  },
12
11
  "files": [
13
12
  "build",
@@ -19,17 +18,10 @@
19
18
  ],
20
19
  "license": "MIT",
21
20
  "main": "build/rn/theme.js",
21
+ "module": "build/web/index.js",
22
22
  "name": "@telus-uds/theme-koodo",
23
- "exports": {
24
- ".": {
25
- "import": "./build/rn/theme.js",
26
- "default": "./build/rn/theme.js"
27
- },
28
- "./package.json": "./package.json",
29
- "./build/*": "./build/*"
30
- },
31
23
  "peerDependencies": {
32
- "@telus-uds/palette-koodo": "^2.0.0"
24
+ "@telus-uds/palette-koodo": "^3.0.0"
33
25
  },
34
26
  "repository": {
35
27
  "type": "git",
@@ -40,5 +32,5 @@
40
32
  "build": "UDS_PALETTE=@telus-uds/palette-koodo system-tokens-build-theme",
41
33
  "dev": "nodemon -w src -x 'npm run build'"
42
34
  },
43
- "version": "6.4.0"
35
+ "version": "7.1.0"
44
36
  }
package/theme.json CHANGED
@@ -5341,6 +5341,7 @@
5341
5341
  "tokens": {
5342
5342
  "buttonBorderColor": "{palette.color.black}",
5343
5343
  "buttonDirection": "{system.direction.row}",
5344
+ "buttonIconBackgroundColor": "{palette.color.transparent}",
5344
5345
  "buttonIconPadding": "{palette.size.size4}",
5345
5346
  "buttonIconSize": "{palette.size.size20}",
5346
5347
  "contentMarginBottom": "{palette.size.size32}",
@@ -8260,6 +8261,10 @@
8260
8261
  },
8261
8262
  "Table": {
8262
8263
  "appearances": {
8264
+ "highlight": {
8265
+ "type": "variant",
8266
+ "values": ["row"]
8267
+ },
8263
8268
  "spacing": {
8264
8269
  "description": "Adjusts the height of the table cell",
8265
8270
  "type": "variant",
@@ -8275,6 +8280,15 @@
8275
8280
  }
8276
8281
  },
8277
8282
  "rules": [
8283
+ {
8284
+ "if": {
8285
+ "highlight": "row"
8286
+ },
8287
+ "tokens": {
8288
+ "cellBackground": "{palette.color.transparent}",
8289
+ "rowHoverBackgroundColor": "{palette.color.dark5}"
8290
+ }
8291
+ },
8278
8292
  {
8279
8293
  "if": {
8280
8294
  "spacing": "compact"
@@ -8421,6 +8435,9 @@
8421
8435
  "borderColor": "{palette.color.gallery}",
8422
8436
  "borderWidth": "{palette.border.border1}",
8423
8437
  "cellBackground": "{palette.color.white}",
8438
+ "cellBorderColor": "{palette.color.transparent}",
8439
+ "cellBorderTopWidth": "{palette.border.none}",
8440
+ "cellBorderWidth": "{palette.border.none}",
8424
8441
  "cellBoxShadowColor": "{palette.color.gallery}",
8425
8442
  "cellMinWidth": "{palette.size.size0}",
8426
8443
  "cellPaddingBottom": "{palette.size.size16}",
@@ -8434,6 +8451,10 @@
8434
8451
  "fontSize": "{palette.fontSize.size16}",
8435
8452
  "fontWeight": "{palette.fontWeight.weight400}",
8436
8453
  "lineHeight": "{palette.lineHeight.ratio3to2}",
8454
+ "rowBorderColor": "{palette.color.transparent}",
8455
+ "rowBorderTopWidth": "{palette.border.none}",
8456
+ "rowBorderWidth": "{palette.border.none}",
8457
+ "rowHoverBackgroundColor": "{palette.color.transparent}",
8437
8458
  "stickyBackgroundColor": "{palette.color.white}",
8438
8459
  "tablePaddingBottom": "{palette.size.size24}"
8439
8460
  }
@@ -8479,7 +8500,8 @@
8479
8500
  "selected": true
8480
8501
  },
8481
8502
  "tokens": {
8482
- "backgroundColor": "{palette.color.white}",
8503
+ "backgroundColor": "{palette.color.dark10}",
8504
+ "borderRadius": "{palette.radius.radius99}",
8483
8505
  "color": "{palette.color.black}",
8484
8506
  "highlightBarBorderWidth": "{palette.border.border1}",
8485
8507
  "highlightBarHeight": "{palette.border.border1}",
@@ -8491,42 +8513,61 @@
8491
8513
  "hover": true
8492
8514
  },
8493
8515
  "tokens": {
8494
- "backgroundColor": "{palette.color.gallery}",
8495
- "highlightBarBorderWidth": "{palette.border.border1}",
8516
+ "backgroundColor": "{palette.color.dark10}",
8517
+ "borderRadius": "{palette.radius.radius99}",
8518
+ "highlightBarBorderWidth": "{palette.border.none}",
8496
8519
  "highlightBarHeight": "{palette.border.border1}",
8497
8520
  "highlightColor": "{palette.color.silver}"
8498
8521
  }
8499
8522
  },
8500
8523
  {
8501
8524
  "if": {
8502
- "focus": true
8525
+ "pressed": true
8503
8526
  },
8504
8527
  "tokens": {
8505
- "backgroundColor": "{palette.color.white}",
8506
- "highlightBarBorderWidth": "{palette.border.border1}",
8507
- "highlightBarHeight": "{palette.border.border1}",
8508
- "highlightColor": "{palette.color.dove}"
8528
+ "backgroundColor": "{palette.color.dark20}",
8529
+ "borderRadius": "{palette.radius.radius99}",
8530
+ "highlightBarBorderWidth": "{system.border.zero}"
8509
8531
  }
8510
8532
  },
8511
8533
  {
8512
8534
  "if": {
8513
- "pressed": true
8535
+ "focus": true,
8536
+ "selected": true
8514
8537
  },
8515
8538
  "tokens": {
8516
- "backgroundColor": "{palette.color.silver}",
8517
- "highlightBarBorderWidth": "{system.border.zero}"
8539
+ "backgroundColor": "{palette.color.dark10}",
8540
+ "borderColor": "{palette.color.black}",
8541
+ "borderRadius": "{palette.radius.radius99}",
8542
+ "borderWidth": "{palette.border.border2}",
8543
+ "color": "{palette.color.black}",
8544
+ "highlightBarBorderWidth": "{palette.border.border1}",
8545
+ "highlightBarHeight": "{palette.border.border1}",
8546
+ "highlightColor": "{palette.color.black}"
8518
8547
  }
8519
8548
  },
8520
8549
  {
8521
8550
  "if": {
8522
- "focus": true,
8551
+ "hover": true,
8523
8552
  "selected": true
8524
8553
  },
8525
8554
  "tokens": {
8526
- "backgroundColor": "{palette.color.white}",
8555
+ "highlightBarBorderWidth": "{palette.border.border1}",
8556
+ "highlightBarHeight": "{palette.border.border1}",
8527
8557
  "highlightColor": "{palette.color.black}"
8528
8558
  }
8529
8559
  },
8560
+ {
8561
+ "if": {
8562
+ "focus": true
8563
+ },
8564
+ "tokens": {
8565
+ "borderColor": "{palette.color.black}",
8566
+ "borderRadius": "{palette.radius.radius99}",
8567
+ "borderWidth": "{palette.border.border2}",
8568
+ "color": "{palette.color.black}"
8569
+ }
8570
+ },
8530
8571
  {
8531
8572
  "if": {
8532
8573
  "inverse": true
@@ -8542,10 +8583,12 @@
8542
8583
  "selected": true
8543
8584
  },
8544
8585
  "tokens": {
8545
- "color": "{palette.color.silver}",
8586
+ "backgroundColor": "{palette.color.white}",
8587
+ "borderRadius": "{palette.radius.radius99}",
8588
+ "color": "{palette.color.black}",
8546
8589
  "highlightBarBorderWidth": "{palette.border.border1}",
8547
8590
  "highlightBarHeight": "{palette.border.border1}",
8548
- "highlightColor": "{palette.color.silver}"
8591
+ "highlightColor": "{palette.color.white}"
8549
8592
  }
8550
8593
  },
8551
8594
  {
@@ -8554,7 +8597,23 @@
8554
8597
  "inverse": true
8555
8598
  },
8556
8599
  "tokens": {
8557
- "color": "{palette.color.gallery}"
8600
+ "backgroundColor": "{palette.color.light20}",
8601
+ "borderRadius": "{palette.radius.radius99}",
8602
+ "color": "{palette.color.white}"
8603
+ }
8604
+ },
8605
+ {
8606
+ "if": {
8607
+ "focus": true,
8608
+ "inverse": true,
8609
+ "selected": true
8610
+ },
8611
+ "tokens": {
8612
+ "backgroundColor": "{palette.color.transparent}",
8613
+ "borderColor": "{palette.color.white}",
8614
+ "borderRadius": "{palette.radius.radius99}",
8615
+ "borderWidth": "{palette.border.border2}",
8616
+ "color": "{palette.color.black}"
8558
8617
  }
8559
8618
  },
8560
8619
  {
@@ -8563,10 +8622,10 @@
8563
8622
  "inverse": true
8564
8623
  },
8565
8624
  "tokens": {
8566
- "color": "{palette.color.white}",
8567
- "highlightBarBorderWidth": "{palette.border.border1}",
8568
- "highlightBarHeight": "{palette.border.border1}",
8569
- "highlightColor": "{palette.color.white}"
8625
+ "borderColor": "{palette.color.white}",
8626
+ "borderRadius": "{palette.radius.radius99}",
8627
+ "borderWidth": "{palette.border.border2}",
8628
+ "color": "{palette.color.white}"
8570
8629
  }
8571
8630
  },
8572
8631
  {
@@ -8575,7 +8634,8 @@
8575
8634
  "pressed": true
8576
8635
  },
8577
8636
  "tokens": {
8578
- "color": "{palette.color.silver}",
8637
+ "backgroundColor": "{palette.color.light40}",
8638
+ "borderRadius": "{palette.radius.radius99}",
8579
8639
  "highlightBarBorderWidth": "{system.border.zero}"
8580
8640
  }
8581
8641
  },
@@ -8597,11 +8657,11 @@
8597
8657
  }
8598
8658
  ],
8599
8659
  "tokens": {
8600
- "backgroundColor": "{palette.color.white}",
8660
+ "backgroundColor": "{palette.color.transparent}",
8601
8661
  "borderColor": "{system.color.transparent}",
8602
8662
  "borderRadius": "{system.radius.zero}",
8603
8663
  "borderWidth": "{system.border.zero}",
8604
- "color": "{palette.color.dove}",
8664
+ "color": "{palette.color.black}",
8605
8665
  "fontName": "{palette.fontName.StagSans}",
8606
8666
  "fontScaleCap": "{palette.fontSize.size64}",
8607
8667
  "fontSize": "{palette.fontSize.size16}",
@@ -8613,10 +8673,12 @@
8613
8673
  "highlightTriangleSize": "{system.size.zero}",
8614
8674
  "letterSpacing": "{system.letterSpacing.none}",
8615
8675
  "lineHeight": "{palette.lineHeight.multiply150}",
8676
+ "marginHorizontal": "{palette.size.size4}",
8677
+ "marginVertical": "{palette.size.size0}",
8616
8678
  "maxWidth": "{system.size.none}",
8617
8679
  "paddingHorizontal": "{palette.size.size24}",
8618
8680
  "paddingVertical": "{palette.size.size4}",
8619
- "space": "{system.integer.0}",
8681
+ "space": "{system.integer.1}",
8620
8682
  "textAlign": "{system.textAlign.center}",
8621
8683
  "textTransform": "{system.textTransform.none}"
8622
8684
  }