@telus-uds/theme-koodo 5.5.0 → 5.6.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 (237) hide show
  1. package/build/android/CarouselThumbnail.json +2 -2
  2. package/build/android/IconButton.json +10 -4
  3. package/build/android/Link.json +4 -4
  4. package/build/android/TermsAndConditions.json +51 -0
  5. package/build/android/schema.json +738 -673
  6. package/build/android/theme.json +68 -11
  7. package/build/ios/CarouselThumbnail.json +2 -2
  8. package/build/ios/IconButton.json +10 -4
  9. package/build/ios/Link.json +4 -4
  10. package/build/ios/TermsAndConditions.json +51 -0
  11. package/build/ios/schema.json +738 -673
  12. package/build/ios/theme.json +68 -11
  13. package/build/rn/ActivityIndicator.js +1 -1
  14. package/build/rn/Badge.js +1 -1
  15. package/build/rn/BlockQuote.js +1 -1
  16. package/build/rn/Box.js +1 -1
  17. package/build/rn/Breadcrumbs.js +1 -1
  18. package/build/rn/Button.js +3 -3
  19. package/build/rn/ButtonDropdown.js +3 -3
  20. package/build/rn/ButtonGroup.js +1 -1
  21. package/build/rn/ButtonGroupItem.js +3 -3
  22. package/build/rn/Callout.js +1 -1
  23. package/build/rn/Card.js +3 -3
  24. package/build/rn/Carousel.js +1 -1
  25. package/build/rn/CarouselTabsPanelItem.js +3 -3
  26. package/build/rn/CarouselThumbnail.js +5 -5
  27. package/build/rn/Checkbox.js +3 -3
  28. package/build/rn/CheckboxCard.js +3 -3
  29. package/build/rn/CheckboxCardGroup.js +1 -1
  30. package/build/rn/CheckboxGroup.js +1 -1
  31. package/build/rn/ChevronLink.js +3 -3
  32. package/build/rn/ColourToggle.js +3 -3
  33. package/build/rn/Countdown.js +1 -1
  34. package/build/rn/DatePicker.js +1 -1
  35. package/build/rn/Disclaimer.js +1 -1
  36. package/build/rn/Divider.js +1 -1
  37. package/build/rn/ExpandCollapse.js +1 -1
  38. package/build/rn/ExpandCollapseControl.js +1 -1
  39. package/build/rn/ExpandCollapseMini.js +1 -1
  40. package/build/rn/ExpandCollapseMiniControl.js +1 -1
  41. package/build/rn/ExpandCollapsePanel.js +1 -1
  42. package/build/rn/Feedback.js +1 -1
  43. package/build/rn/Fieldset.js +1 -1
  44. package/build/rn/Footnote.js +1 -1
  45. package/build/rn/FootnoteLink.js +1 -1
  46. package/build/rn/HorizontalScrollButton.js +3 -3
  47. package/build/rn/Icon.js +1 -1
  48. package/build/rn/IconButton.js +9 -5
  49. package/build/rn/Image.js +1 -1
  50. package/build/rn/InputLabel.js +1 -1
  51. package/build/rn/InputSupports.js +1 -1
  52. package/build/rn/Link.js +7 -7
  53. package/build/rn/List.js +1 -1
  54. package/build/rn/Listbox.js +3 -3
  55. package/build/rn/Modal.js +1 -1
  56. package/build/rn/MultiSelectFilter.js +1 -1
  57. package/build/rn/NavigationBar.js +3 -3
  58. package/build/rn/Notification.js +1 -1
  59. package/build/rn/OrderedList.js +1 -1
  60. package/build/rn/Pagination.js +1 -1
  61. package/build/rn/PaginationPageButton.js +3 -3
  62. package/build/rn/PaginationSideButton.js +3 -3
  63. package/build/rn/PreviewCard.js +4 -4
  64. package/build/rn/PriceLockup.js +1 -1
  65. package/build/rn/Progress.js +1 -1
  66. package/build/rn/ProgressBar.js +1 -1
  67. package/build/rn/QuantitySelector.js +1 -1
  68. package/build/rn/QuantitySelectorSideButton.js +1 -1
  69. package/build/rn/QuickLinks.js +1 -1
  70. package/build/rn/QuickLinksButton.js +3 -3
  71. package/build/rn/QuickLinksCard.js +1 -1
  72. package/build/rn/QuickLinksFeature.js +1 -1
  73. package/build/rn/QuickLinksFeatureItem.js +3 -3
  74. package/build/rn/QuickLinksList.js +3 -3
  75. package/build/rn/Radio.js +3 -3
  76. package/build/rn/RadioCard.js +3 -3
  77. package/build/rn/RadioCardGroup.js +1 -1
  78. package/build/rn/RadioGroup.js +1 -1
  79. package/build/rn/Ribbon.js +1 -1
  80. package/build/rn/Search.js +2 -2
  81. package/build/rn/SearchButton.js +3 -3
  82. package/build/rn/Select.js +2 -2
  83. package/build/rn/SideNav.js +1 -1
  84. package/build/rn/SideNavItem.js +3 -3
  85. package/build/rn/SideNavItemsGroup.js +1 -1
  86. package/build/rn/Skeleton.js +1 -1
  87. package/build/rn/SkipLink.js +2 -2
  88. package/build/rn/Spinner.js +1 -1
  89. package/build/rn/SplashButton.js +2 -2
  90. package/build/rn/SplashButtonWithDetails.js +2 -2
  91. package/build/rn/StackView.js +1 -1
  92. package/build/rn/StepTracker.js +1 -1
  93. package/build/rn/StoryCard.js +3 -3
  94. package/build/rn/Table.js +1 -1
  95. package/build/rn/Tabs.js +1 -1
  96. package/build/rn/TabsItem.js +3 -3
  97. package/build/rn/Tags.js +1 -1
  98. package/build/rn/TagsItem.js +3 -3
  99. package/build/rn/TermsAndConditions.js +56 -1
  100. package/build/rn/Testimonial.js +1 -1
  101. package/build/rn/TextArea.js +1 -1
  102. package/build/rn/TextInput.js +2 -2
  103. package/build/rn/Timeline.js +1 -1
  104. package/build/rn/Toast.js +1 -1
  105. package/build/rn/ToggleSwitch.js +3 -3
  106. package/build/rn/ToggleSwitchGroup.js +1 -1
  107. package/build/rn/Tooltip.js +1 -1
  108. package/build/rn/TooltipButton.js +3 -3
  109. package/build/rn/Typography.js +1 -1
  110. package/build/rn/Video.js +1 -1
  111. package/build/rn/VideoButton.js +1 -1
  112. package/build/rn/VideoControlBar.js +1 -1
  113. package/build/rn/VideoMenu.js +1 -1
  114. package/build/rn/VideoMiddleControlButton.js +1 -1
  115. package/build/rn/VideoPicker.js +1 -1
  116. package/build/rn/VideoPickerSlider.js +1 -1
  117. package/build/rn/VideoPickerThumbnail.js +3 -3
  118. package/build/rn/VideoProgressBar.js +1 -1
  119. package/build/rn/VideoVolumeSlider.js +1 -1
  120. package/build/rn/WaffleGrid.js +1 -1
  121. package/build/rn/schema.json +738 -673
  122. package/build/rn/spacingScale.js +1 -1
  123. package/build/rn/theme.js +138 -79
  124. package/build/web/ActivityIndicator.js +1 -1
  125. package/build/web/Badge.js +1 -1
  126. package/build/web/BlockQuote.js +1 -1
  127. package/build/web/Box.js +1 -1
  128. package/build/web/Breadcrumbs.js +1 -1
  129. package/build/web/Button.js +149 -1
  130. package/build/web/ButtonDropdown.js +48 -1
  131. package/build/web/ButtonGroup.js +1 -1
  132. package/build/web/ButtonGroupItem.js +34 -1
  133. package/build/web/Callout.js +1 -1
  134. package/build/web/Card.js +25 -2
  135. package/build/web/Carousel.js +1 -1
  136. package/build/web/CarouselTabsPanelItem.js +53 -1
  137. package/build/web/CarouselThumbnail.js +20 -3
  138. package/build/web/Checkbox.js +21 -1
  139. package/build/web/CheckboxCard.js +37 -1
  140. package/build/web/CheckboxCardGroup.js +1 -1
  141. package/build/web/CheckboxGroup.js +1 -1
  142. package/build/web/ChevronLink.js +49 -1
  143. package/build/web/ColourToggle.js +29 -1
  144. package/build/web/Countdown.js +1 -1
  145. package/build/web/DatePicker.js +1 -1
  146. package/build/web/Disclaimer.js +1 -1
  147. package/build/web/Divider.js +1 -1
  148. package/build/web/ExpandCollapse.js +1 -1
  149. package/build/web/ExpandCollapseControl.js +1 -1
  150. package/build/web/ExpandCollapseMini.js +1 -1
  151. package/build/web/ExpandCollapseMiniControl.js +1 -1
  152. package/build/web/ExpandCollapsePanel.js +1 -1
  153. package/build/web/Feedback.js +1 -1
  154. package/build/web/Fieldset.js +1 -1
  155. package/build/web/Footnote.js +1 -1
  156. package/build/web/FootnoteLink.js +1 -1
  157. package/build/web/HorizontalScrollButton.js +21 -1
  158. package/build/web/Icon.js +1 -1
  159. package/build/web/IconButton.js +56 -3
  160. package/build/web/Image.js +1 -1
  161. package/build/web/InputLabel.js +1 -1
  162. package/build/web/InputSupports.js +1 -1
  163. package/build/web/Link.js +70 -6
  164. package/build/web/List.js +1 -1
  165. package/build/web/Listbox.js +104 -1
  166. package/build/web/Modal.js +1 -1
  167. package/build/web/MultiSelectFilter.js +1 -1
  168. package/build/web/NavigationBar.js +44 -1
  169. package/build/web/Notification.js +1 -1
  170. package/build/web/OrderedList.js +1 -1
  171. package/build/web/Pagination.js +1 -1
  172. package/build/web/PaginationPageButton.js +26 -1
  173. package/build/web/PaginationSideButton.js +35 -1
  174. package/build/web/PreviewCard.js +43 -3
  175. package/build/web/PriceLockup.js +1 -1
  176. package/build/web/Progress.js +1 -1
  177. package/build/web/ProgressBar.js +1 -1
  178. package/build/web/QuantitySelector.js +1 -1
  179. package/build/web/QuantitySelectorSideButton.js +1 -1
  180. package/build/web/QuickLinks.js +1 -1
  181. package/build/web/QuickLinksButton.js +19 -1
  182. package/build/web/QuickLinksCard.js +1 -1
  183. package/build/web/QuickLinksFeature.js +1 -1
  184. package/build/web/QuickLinksFeatureItem.js +29 -1
  185. package/build/web/QuickLinksList.js +15 -1
  186. package/build/web/Radio.js +22 -1
  187. package/build/web/RadioCard.js +37 -1
  188. package/build/web/RadioCardGroup.js +1 -1
  189. package/build/web/RadioGroup.js +1 -1
  190. package/build/web/Ribbon.js +1 -1
  191. package/build/web/Search.js +8 -1
  192. package/build/web/SearchButton.js +30 -1
  193. package/build/web/Select.js +15 -1
  194. package/build/web/SideNav.js +1 -1
  195. package/build/web/SideNavItem.js +19 -1
  196. package/build/web/SideNavItemsGroup.js +1 -1
  197. package/build/web/Skeleton.js +1 -1
  198. package/build/web/SkipLink.js +13 -2
  199. package/build/web/Spinner.js +1 -1
  200. package/build/web/SplashButton.js +9 -2
  201. package/build/web/SplashButtonWithDetails.js +15 -3
  202. package/build/web/StackView.js +1 -1
  203. package/build/web/StepTracker.js +1 -1
  204. package/build/web/StoryCard.js +25 -2
  205. package/build/web/Table.js +1 -1
  206. package/build/web/Tabs.js +1 -1
  207. package/build/web/TabsItem.js +49 -1
  208. package/build/web/Tags.js +1 -1
  209. package/build/web/TagsItem.js +57 -1
  210. package/build/web/TermsAndConditions.js +56 -1
  211. package/build/web/Testimonial.js +1 -1
  212. package/build/web/TextArea.js +1 -1
  213. package/build/web/TextInput.js +30 -3
  214. package/build/web/Timeline.js +1 -1
  215. package/build/web/Toast.js +1 -1
  216. package/build/web/ToggleSwitch.js +63 -1
  217. package/build/web/ToggleSwitchGroup.js +1 -1
  218. package/build/web/Tooltip.js +1 -1
  219. package/build/web/TooltipButton.js +33 -1
  220. package/build/web/Typography.js +1 -1
  221. package/build/web/Video.js +1 -1
  222. package/build/web/VideoButton.js +1 -1
  223. package/build/web/VideoControlBar.js +1 -1
  224. package/build/web/VideoMenu.js +1 -1
  225. package/build/web/VideoMiddleControlButton.js +1 -1
  226. package/build/web/VideoPicker.js +1 -1
  227. package/build/web/VideoPickerSlider.js +1 -1
  228. package/build/web/VideoPickerThumbnail.js +25 -1
  229. package/build/web/VideoProgressBar.js +1 -1
  230. package/build/web/VideoVolumeSlider.js +1 -1
  231. package/build/web/WaffleGrid.js +1 -1
  232. package/build/web/index.js +1 -1
  233. package/build/web/schema.json +738 -673
  234. package/build/web/spacingScale.js +1 -1
  235. package/build/web/theme.js +1440 -34
  236. package/package.json +4 -4
  237. package/theme.json +59 -8
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:20 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
@@ -14,6 +14,18 @@ const theme = {
14
14
  values: [ true ]
15
15
  },
16
16
  error: { type: 'state', values: [ true ] },
17
+ focus: {
18
+ 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.",
19
+ platforms: [ 'rn', 'web' ],
20
+ type: 'state',
21
+ values: [ true, false ]
22
+ },
23
+ hover: {
24
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
25
+ platforms: [ 'rn', 'web' ],
26
+ type: 'state',
27
+ values: [ true, false ]
28
+ },
17
29
  inactive: {
18
30
  description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
19
31
  type: 'state',
@@ -42,6 +54,17 @@ const theme = {
42
54
  paddingTop: 16
43
55
  }
44
56
  },
57
+ {
58
+ if: { hover: true },
59
+ tokens: {
60
+ borderColor: '#666666',
61
+ outerBorderColor: '#c9c8c8',
62
+ outerBorderWidth: 2,
63
+ radioOuterBorderColor: '#000000',
64
+ radioOuterBorderGap: 2,
65
+ radioOuterBorderWidth: 1
66
+ }
67
+ },
45
68
  {
46
69
  if: { checked: true },
47
70
  tokens: {
@@ -51,6 +74,19 @@ const theme = {
51
74
  radioInputBorderWidth: 2
52
75
  }
53
76
  },
77
+ {
78
+ if: { focus: true },
79
+ tokens: {
80
+ borderColor: '#666666',
81
+ outerBorderColor: '#000000',
82
+ outerBorderGap: 2,
83
+ outerBorderWidth: 2,
84
+ radioInputBorderColor: '#000000',
85
+ radioOuterBorderColor: '#000000',
86
+ radioOuterBorderGap: 2,
87
+ radioOuterBorderWidth: 1
88
+ }
89
+ },
54
90
  {
55
91
  description: 'Pressed state matches hover state plus light grey background',
56
92
  if: { pressed: true },
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:20 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:20 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:20 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:20 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
@@ -14,6 +14,12 @@ const theme = {
14
14
  type: 'state',
15
15
  values: [ true ]
16
16
  },
17
+ hover: {
18
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
19
+ platforms: [ 'rn', 'web' ],
20
+ type: 'state',
21
+ values: [ true, false ]
22
+ },
17
23
  inactive: {
18
24
  description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
19
25
  type: 'state',
@@ -21,6 +27,7 @@ const theme = {
21
27
  }
22
28
  },
23
29
  rules: [
30
+ { if: { hover: true, inactive: null }, tokens: {} },
24
31
  {
25
32
  if: { focus: true },
26
33
  tokens: { borderColor: '#7a3dfc', borderWidth: 3, outerBorderWidth: 0 }
@@ -1,13 +1,25 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:20 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
8
8
 
9
9
  const theme = {
10
10
  appearances: {
11
+ focus: {
12
+ 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.",
13
+ platforms: [ 'rn', 'web' ],
14
+ type: 'state',
15
+ values: [ true, false ]
16
+ },
17
+ hover: {
18
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
19
+ platforms: [ 'rn', 'web' ],
20
+ type: 'state',
21
+ values: [ true, false ]
22
+ },
11
23
  inactive: {
12
24
  description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
13
25
  type: 'state',
@@ -25,6 +37,23 @@ const theme = {
25
37
  if: { priority: 'high' },
26
38
  tokens: { backgroundColor: '#000000', iconColor: '#ffffff' }
27
39
  },
40
+ {
41
+ if: { hover: true },
42
+ tokens: {
43
+ backgroundColor: '#000000',
44
+ borderWidth: 0,
45
+ iconColor: '#ffffff'
46
+ }
47
+ },
48
+ {
49
+ if: { focus: true },
50
+ tokens: {
51
+ backgroundColor: 'transparent',
52
+ borderColor: '#000000',
53
+ borderWidth: 3,
54
+ iconColor: '#000000'
55
+ }
56
+ },
28
57
  {
29
58
  if: { pressed: true },
30
59
  tokens: {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:20 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
@@ -15,6 +15,12 @@ const theme = {
15
15
  type: 'state',
16
16
  values: [ true ]
17
17
  },
18
+ hover: {
19
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
20
+ platforms: [ 'rn', 'web' ],
21
+ type: 'state',
22
+ values: [ true, false ]
23
+ },
18
24
  inactive: {
19
25
  description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
20
26
  type: 'state',
@@ -49,6 +55,14 @@ const theme = {
49
55
  validationIconColor: '#c9370b'
50
56
  }
51
57
  },
58
+ {
59
+ if: { hover: true },
60
+ tokens: {
61
+ backgroundColor: '#efefef',
62
+ borderColor: '#000000',
63
+ outerBorderWidth: null
64
+ }
65
+ },
52
66
  {
53
67
  if: { inactive: true },
54
68
  tokens: {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:20 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:20 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
@@ -18,6 +18,18 @@ const theme = {
18
18
  type: 'state',
19
19
  values: [ true, false ]
20
20
  },
21
+ focus: {
22
+ 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.",
23
+ platforms: [ 'rn', 'web' ],
24
+ type: 'state',
25
+ values: [ true, false ]
26
+ },
27
+ hover: {
28
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
29
+ platforms: [ 'rn', 'web' ],
30
+ type: 'state',
31
+ values: [ true, false ]
32
+ },
21
33
  type: {
22
34
  description: '`parent` being the toggle button for an ItemsGroup, and `child` an element of the ItemGroup',
23
35
  type: 'state',
@@ -50,6 +62,8 @@ const theme = {
50
62
  backgroundColor: 'rgba(0, 0, 0, 0)'
51
63
  }
52
64
  },
65
+ { if: { hover: true }, tokens: { backgroundColor: '#efefef' } },
66
+ { if: { focus: true }, tokens: { backgroundColor: '#efefef' } },
53
67
  {
54
68
  if: { active: true, type: 'child' },
55
69
  tokens: {
@@ -63,6 +77,10 @@ const theme = {
63
77
  paddingBottom: 13,
64
78
  paddingTop: 13
65
79
  }
80
+ },
81
+ {
82
+ if: { active: false, hover: true, type: 'child' },
83
+ tokens: { accentBackgroundColor: 'rgba(0, 0, 0, 0)' }
66
84
  }
67
85
  ],
68
86
  tokens: {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:20 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:20 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,20 +1,31 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:20 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
8
8
 
9
9
  const theme = {
10
10
  appearances: {
11
+ focus: {
12
+ 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.",
13
+ platforms: [ 'rn', 'web' ],
14
+ type: 'state',
15
+ values: [ true, false ]
16
+ },
11
17
  pressed: {
12
18
  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.',
13
19
  type: 'state',
14
20
  values: [ true, false ]
15
21
  }
16
22
  },
17
- rules: [],
23
+ rules: [
24
+ {
25
+ if: { focus: true, pressed: true },
26
+ tokens: { color: '#595959', outlineColor: '#595959' }
27
+ }
28
+ ],
18
29
  tokens: {
19
30
  backgroundColor: '#ffffff',
20
31
  borderRadius: 4,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:20 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,13 +1,20 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:20 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
8
8
  import PaletteIconPlaySolid from '@telus-uds/palette-koodo/build/rn/icons/PlaySolid'
9
9
  const theme = {
10
- appearances: {},
10
+ appearances: {
11
+ hover: {
12
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
13
+ platforms: [ 'rn', 'web' ],
14
+ type: 'state',
15
+ values: [ true, false ]
16
+ }
17
+ },
11
18
  rules: [],
12
19
  tokens: {
13
20
  buttonContentBackground: null,
@@ -1,14 +1,26 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:20 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
8
8
  import PaletteIconPlaySolid from '@telus-uds/palette-koodo/build/rn/icons/PlaySolid'
9
9
  const theme = {
10
- appearances: {},
11
- rules: [],
10
+ appearances: {
11
+ hover: {
12
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
13
+ platforms: [ 'rn', 'web' ],
14
+ type: 'state',
15
+ values: [ true, false ]
16
+ }
17
+ },
18
+ rules: [
19
+ {
20
+ if: { hover: true },
21
+ tokens: { buttonContentChildrenBackground: null }
22
+ }
23
+ ],
12
24
  tokens: {
13
25
  buttonBackground: '#ffffff',
14
26
  buttonBorderColor: null,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:20 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:20 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,20 +1,43 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:20 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
8
8
 
9
9
  const theme = {
10
10
  appearances: {
11
+ focus: {
12
+ 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.",
13
+ platforms: [ 'rn', 'web' ],
14
+ type: 'state',
15
+ values: [ true, false ]
16
+ },
17
+ hover: {
18
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
19
+ platforms: [ 'rn', 'web' ],
20
+ type: 'state',
21
+ values: [ true, false ]
22
+ },
11
23
  pressed: {
12
24
  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.',
13
25
  type: 'state',
14
26
  values: [ true, false ]
15
27
  }
16
28
  },
17
- rules: [ { if: { pressed: true }, tokens: { backgroundColor: '#efefef' } } ],
29
+ rules: [
30
+ { if: { hover: true }, tokens: { borderWidth: 2 } },
31
+ { if: { pressed: true }, tokens: { backgroundColor: '#efefef' } },
32
+ {
33
+ if: { focus: true },
34
+ tokens: {
35
+ outerBorderColor: '#000000',
36
+ outerBorderGap: 2,
37
+ outerBorderWidth: 2
38
+ }
39
+ }
40
+ ],
18
41
  tokens: {
19
42
  backgroundColor: '#ffffff',
20
43
  borderColor: '#c9c8c8',
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:20 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
package/build/web/Tabs.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:20 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:20 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
@@ -13,6 +13,18 @@ const theme = {
13
13
  type: 'variant',
14
14
  values: [ true ]
15
15
  },
16
+ focus: {
17
+ 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.",
18
+ platforms: [ 'rn', 'web' ],
19
+ type: 'state',
20
+ values: [ true, false ]
21
+ },
22
+ hover: {
23
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
24
+ platforms: [ 'rn', 'web' ],
25
+ type: 'state',
26
+ values: [ true, false ]
27
+ },
16
28
  inverse: { type: 'variant', values: [ true ] },
17
29
  pressed: {
18
30
  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.',
@@ -36,10 +48,32 @@ const theme = {
36
48
  highlightColor: '#000000'
37
49
  }
38
50
  },
51
+ {
52
+ if: { hover: true },
53
+ tokens: {
54
+ backgroundColor: '#efefef',
55
+ highlightBarBorderWidth: 1,
56
+ highlightBarHeight: 1,
57
+ highlightColor: '#c9c8c8'
58
+ }
59
+ },
60
+ {
61
+ if: { focus: true },
62
+ tokens: {
63
+ backgroundColor: '#ffffff',
64
+ highlightBarBorderWidth: 1,
65
+ highlightBarHeight: 1,
66
+ highlightColor: '#666666'
67
+ }
68
+ },
39
69
  {
40
70
  if: { pressed: true },
41
71
  tokens: { backgroundColor: '#c9c8c8', highlightBarBorderWidth: 0 }
42
72
  },
73
+ {
74
+ if: { focus: true, selected: true },
75
+ tokens: { backgroundColor: '#ffffff', highlightColor: '#000000' }
76
+ },
43
77
  {
44
78
  if: { inverse: true },
45
79
  tokens: { backgroundColor: 'transparent', color: '#ffffff' }
@@ -53,10 +87,24 @@ const theme = {
53
87
  highlightColor: '#c9c8c8'
54
88
  }
55
89
  },
90
+ {
91
+ if: { hover: true, inverse: true },
92
+ tokens: { color: '#efefef' }
93
+ },
94
+ {
95
+ if: { focus: true, inverse: true },
96
+ tokens: {
97
+ color: '#ffffff',
98
+ highlightBarBorderWidth: 1,
99
+ highlightBarHeight: 1,
100
+ highlightColor: '#ffffff'
101
+ }
102
+ },
56
103
  {
57
104
  if: { inverse: true, pressed: true },
58
105
  tokens: { color: '#c9c8c8', highlightBarBorderWidth: 0 }
59
106
  },
107
+ { if: { focus: true, inverse: true, selected: true }, tokens: {} },
60
108
  { if: { equalWidth: true }, tokens: { maxWidth: null } }
61
109
  ],
62
110
  tokens: {
package/build/web/Tags.js CHANGED
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:20 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:20 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
@@ -9,6 +9,18 @@ import PaletteIconAdd from '@telus-uds/palette-koodo/build/rn/icons/Add'
9
9
  import PaletteIconClose from '@telus-uds/palette-koodo/build/rn/icons/Close'
10
10
  const theme = {
11
11
  appearances: {
12
+ focus: {
13
+ 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.",
14
+ platforms: [ 'rn', 'web' ],
15
+ type: 'state',
16
+ values: [ true, false ]
17
+ },
18
+ hover: {
19
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
20
+ platforms: [ 'rn', 'web' ],
21
+ type: 'state',
22
+ values: [ true, false ]
23
+ },
12
24
  inactive: {
13
25
  description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
14
26
  type: 'state',
@@ -39,6 +51,30 @@ const theme = {
39
51
  outerBorderWidth: 0
40
52
  }
41
53
  },
54
+ {
55
+ if: { focus: true },
56
+ tokens: {
57
+ backgroundColor: 'rgba(0, 0, 0, 0)',
58
+ borderColor: '#000000',
59
+ color: '#000000',
60
+ iconBackground: 'rgba(0, 0, 0, 0)',
61
+ iconColor: '#000000',
62
+ outerBorderColor: '#000000',
63
+ outerBorderGap: 3,
64
+ outerBorderWidth: 1
65
+ }
66
+ },
67
+ {
68
+ if: { hover: true },
69
+ tokens: {
70
+ backgroundColor: '#404040',
71
+ borderColor: '#404040',
72
+ borderWidth: 0,
73
+ color: '#ffffff',
74
+ iconBackground: '#404040',
75
+ iconColor: '#ffffff'
76
+ }
77
+ },
42
78
  {
43
79
  if: { selected: true },
44
80
  tokens: {
@@ -53,6 +89,26 @@ const theme = {
53
89
  outerBorderWidth: 0
54
90
  }
55
91
  },
92
+ {
93
+ if: { hover: true, selected: true },
94
+ tokens: { backgroundColor: '#404040', iconBackground: '#404040' }
95
+ },
96
+ {
97
+ if: { focus: true, selected: true },
98
+ tokens: {
99
+ backgroundColor: '#000000',
100
+ outerBorderColor: '#000000',
101
+ outerBorderWidth: 1
102
+ }
103
+ },
104
+ {
105
+ if: { focus: true, hover: true, selected: true },
106
+ tokens: { backgroundColor: '#404040', iconBackground: '#404040' }
107
+ },
108
+ {
109
+ if: { focus: true, pressed: true, selected: true },
110
+ tokens: { backgroundColor: '#404040', iconBackground: '#404040' }
111
+ },
56
112
  {
57
113
  if: { inactive: true },
58
114
  tokens: {