@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:19 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:19 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:19 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
package/build/web/Box.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:19 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:19 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:19 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
  inactive: {
17
29
  description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
18
30
  type: 'state',
@@ -86,10 +98,77 @@ const theme = {
86
98
  outerBackgroundColor: 'rgba(0, 0, 0, 0)'
87
99
  }
88
100
  },
101
+ {
102
+ if: { hover: true },
103
+ tokens: { backgroundColor: '#404040', color: '#ffffff' }
104
+ },
105
+ {
106
+ if: { focus: true },
107
+ tokens: {
108
+ borderBottomWidth: 1,
109
+ borderColor: '#000000',
110
+ borderLeftWidth: 1,
111
+ borderRightWidth: 1,
112
+ borderTopWidth: 1,
113
+ color: '#ffffff',
114
+ outerBorderColor: '#000000',
115
+ outerBorderGap: 4,
116
+ outerBorderWidth: 1
117
+ }
118
+ },
119
+ {
120
+ if: { hover: true, priority: 'low' },
121
+ tokens: { borderBottomWidth: 1, outerBorderColor: '#000000' }
122
+ },
123
+ {
124
+ if: { focus: true, priority: 'low' },
125
+ tokens: { color: '#000000' }
126
+ },
127
+ {
128
+ if: { focus: true, hover: true, priority: 'low' },
129
+ tokens: { color: '#ffffff' }
130
+ },
131
+ {
132
+ if: { danger: true, focus: true },
133
+ tokens: {
134
+ borderBottomWidth: 1,
135
+ borderColor: '#c9370b',
136
+ borderLeftWidth: 1,
137
+ borderRightWidth: 1,
138
+ borderTopWidth: 1,
139
+ borderWidth: 1,
140
+ color: '#c9370b',
141
+ outerBorderColor: '#c9370b',
142
+ outerBorderGap: 2
143
+ }
144
+ },
145
+ {
146
+ if: { hover: true, inverse: true },
147
+ tokens: {
148
+ backgroundColor: '#c9c8c8',
149
+ borderColor: 'rgba(0, 0, 0, 0)',
150
+ color: '#404040',
151
+ outerBorderColor: 'rgba(0, 0, 0, 0)',
152
+ outerBorderWidth: 1
153
+ }
154
+ },
89
155
  {
90
156
  if: { inverse: true, pressed: true },
91
157
  tokens: { backgroundColor: '#c9c8c8', color: '#666666' }
92
158
  },
159
+ {
160
+ if: { focus: true, inverse: true },
161
+ tokens: {
162
+ borderBottomWidth: 1,
163
+ borderColor: 'rgba(0, 0, 0, 0)',
164
+ borderLeftWidth: 1,
165
+ borderRightWidth: 1,
166
+ borderTopWidth: 1,
167
+ color: '#000000',
168
+ outerBorderColor: '#ffffff',
169
+ outerBorderGap: 2
170
+ }
171
+ },
93
172
  {
94
173
  if: { danger: true, inverse: true },
95
174
  tokens: {
@@ -102,6 +181,15 @@ const theme = {
102
181
  color: '#c9370b'
103
182
  }
104
183
  },
184
+ {
185
+ if: { focus: true, inverse: true, pressed: true },
186
+ tokens: {
187
+ backgroundColor: '#c9c8c8',
188
+ borderColor: '#c9c8c8',
189
+ color: '#666666',
190
+ outerBorderGap: 2
191
+ }
192
+ },
105
193
  { if: { width: 'full' }, tokens: { width: '100%' } },
106
194
  {
107
195
  if: { viewport: [ 'xs' ], width: 'responsive' },
@@ -130,7 +218,31 @@ const theme = {
130
218
  textLine: 'underline'
131
219
  }
132
220
  },
221
+ {
222
+ if: { focus: true, text: true },
223
+ tokens: {
224
+ borderColor: 'rgba(0, 0, 0, 0)',
225
+ color: '#000000',
226
+ outerBorderColor: '#000000'
227
+ }
228
+ },
229
+ {
230
+ if: { hover: true, text: true },
231
+ tokens: { color: '#404040', textLine: 'none' }
232
+ },
133
233
  { if: { danger: true, text: true }, tokens: { color: '#c9370b' } },
234
+ {
235
+ if: { danger: true, focus: true, text: true },
236
+ tokens: {
237
+ borderColor: 'rgba(0, 0, 0, 0)',
238
+ color: '#c9370b',
239
+ outerBorderColor: '#c9370b'
240
+ }
241
+ },
242
+ {
243
+ if: { hover: true, priority: 'low' },
244
+ tokens: { borderColor: 'rgba(0, 0, 0, 0)', borderWidth: 0 }
245
+ },
134
246
  {
135
247
  if: { pressed: true, text: true },
136
248
  tokens: {
@@ -139,6 +251,18 @@ const theme = {
139
251
  textLine: 'none'
140
252
  }
141
253
  },
254
+ {
255
+ if: { danger: true, hover: true },
256
+ tokens: { backgroundColor: '#f3592b', color: '#ffffff' }
257
+ },
258
+ {
259
+ if: { danger: true, hover: true, text: true },
260
+ tokens: {
261
+ backgroundColor: 'rgba(0, 0, 0, 0)',
262
+ color: '#f3592b',
263
+ outerBorderColor: 'rgba(0, 0, 0, 0)'
264
+ }
265
+ },
142
266
  {
143
267
  if: { danger: true, pressed: true },
144
268
  tokens: {
@@ -161,6 +285,18 @@ const theme = {
161
285
  if: { inverse: true, text: true },
162
286
  tokens: { backgroundColor: 'rgba(0, 0, 0, 0)', color: '#ffffff' }
163
287
  },
288
+ {
289
+ if: { focus: true, inverse: true, text: true },
290
+ tokens: {
291
+ borderColor: 'rgba(0, 0, 0, 0)',
292
+ color: '#ffffff',
293
+ outerBorderColor: '#ffffff'
294
+ }
295
+ },
296
+ {
297
+ if: { hover: true, inverse: true, text: true },
298
+ tokens: { color: '#c9c8c8' }
299
+ },
164
300
  {
165
301
  if: { inverse: true, pressed: true, text: true },
166
302
  tokens: {
@@ -196,6 +332,18 @@ const theme = {
196
332
  if: { priority: 'low', text: true },
197
333
  tokens: { color: '#7a3dfc' }
198
334
  },
335
+ {
336
+ if: { hover: true, priority: 'low', text: true },
337
+ tokens: { color: '#5b2bc2', outerBorderColor: 'rgba(0, 0, 0, 0)' }
338
+ },
339
+ {
340
+ if: { focus: true, priority: 'low', text: true },
341
+ tokens: {
342
+ color: '#7a3dfc',
343
+ outerBorderColor: '#7a3dfc',
344
+ outerBorderWidth: 1
345
+ }
346
+ },
199
347
  {
200
348
  if: { pressed: true, priority: 'low', text: true },
201
349
  tokens: {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:19 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
@@ -9,6 +9,18 @@ import PaletteIconChevronDown from '@telus-uds/palette-koodo/build/rn/icons/Chev
9
9
  import PaletteIconChevronUp from '@telus-uds/palette-koodo/build/rn/icons/ChevronUp'
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',
@@ -32,6 +44,7 @@ const theme = {
32
44
  },
33
45
  rules: [
34
46
  { if: { open: true }, tokens: { icon: PaletteIconChevronUp } },
47
+ { if: { focus: true }, tokens: { outerBorderColor: '#000000' } },
35
48
  {
36
49
  if: { pressed: true },
37
50
  tokens: {
@@ -41,6 +54,14 @@ const theme = {
41
54
  iconColor: '#666666'
42
55
  }
43
56
  },
57
+ {
58
+ if: { focus: false, hover: true, pressed: false },
59
+ tokens: { backgroundColor: '#404040', borderColor: 'rgba(0, 0, 0, 0)' }
60
+ },
61
+ {
62
+ if: { focus: true, hover: true, pressed: false },
63
+ tokens: { backgroundColor: '#404040', borderColor: 'rgba(0, 0, 0, 0)' }
64
+ },
44
65
  {
45
66
  if: { inactive: true },
46
67
  tokens: {
@@ -58,6 +79,32 @@ const theme = {
58
79
  iconColor: '#ffffff',
59
80
  outerBorderColor: 'transparent'
60
81
  }
82
+ },
83
+ {
84
+ if: { hover: true, selected: true },
85
+ tokens: { backgroundColor: '#404040' }
86
+ },
87
+ {
88
+ if: { focus: true, hover: false, selected: true },
89
+ tokens: {
90
+ backgroundColor: '#000000',
91
+ outerBorderColor: '#000000',
92
+ outerBorderGap: 2,
93
+ outerBorderWidth: 1
94
+ }
95
+ },
96
+ {
97
+ if: { hover: true, pressed: true, selected: true },
98
+ tokens: {
99
+ backgroundColor: '#404040',
100
+ borderColor: 'rgba(0, 0, 0, 0)',
101
+ color: '#666666',
102
+ iconColor: '#666666'
103
+ }
104
+ },
105
+ {
106
+ if: { focus: true, pressed: true, selected: true },
107
+ tokens: { backgroundColor: '#404040', outerBorderColor: '#404040' }
61
108
  }
62
109
  ],
63
110
  tokens: {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:19 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,13 +1,25 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:19 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
  iconPosition: {
12
24
  description: 'Theme styles to be applied to icon links depending on where the icon is in relation to the link text',
13
25
  type: 'state',
@@ -35,6 +47,15 @@ const theme = {
35
47
  }
36
48
  },
37
49
  rules: [
50
+ { if: { focus: true }, tokens: { outerBorderColor: '#000000' } },
51
+ {
52
+ if: { hover: true },
53
+ tokens: {
54
+ backgroundColor: '#404040',
55
+ borderColor: '#404040',
56
+ color: '#ffffff'
57
+ }
58
+ },
38
59
  {
39
60
  if: { selected: true },
40
61
  tokens: { backgroundColor: '#7a3dfc', color: '#ffffff' }
@@ -43,6 +64,18 @@ const theme = {
43
64
  if: { pressed: true },
44
65
  tokens: { backgroundColor: '#404040', color: '#666666' }
45
66
  },
67
+ {
68
+ if: { focus: true, selected: true },
69
+ tokens: {
70
+ backgroundColor: '#7a3dfc',
71
+ color: '#ffffff',
72
+ outerBorderColor: '#7a3dfc'
73
+ }
74
+ },
75
+ {
76
+ if: { hover: true, selected: true },
77
+ tokens: { backgroundColor: '#5b2bc2', color: '#ffffff' }
78
+ },
46
79
  {
47
80
  if: { pressed: true, selected: true },
48
81
  tokens: { backgroundColor: '#404040', color: '#666666' }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:41:19 GMT
4
+ * Generated on Wed, 07 Feb 2024 19:07:57 GMT
5
5
  *
6
6
  */
7
7
 
package/build/web/Card.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
 
@@ -14,6 +14,18 @@ const theme = {
14
14
  values: [ 'alternative', 'subtle', 'grid', 'feature' ]
15
15
  },
16
16
  borderRadius: { type: 'variant', values: [ 'none', 'small', 'large' ] },
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
  interactive: { type: 'variant', values: [ true ] },
18
30
  padding: {
19
31
  type: 'variant',
@@ -114,9 +126,20 @@ const theme = {
114
126
  }
115
127
  },
116
128
  {
117
- if: { interactive: true, pressed: false },
129
+ if: { focus: false, interactive: true, pressed: false },
118
130
  tokens: { borderColor: '#ffffff', borderWidth: 2 }
119
131
  },
132
+ {
133
+ if: { hover: true, interactive: true },
134
+ tokens: {
135
+ backgroundColor: 'rgba(0, 0, 0, 0.1)',
136
+ borderColor: 'transparent'
137
+ }
138
+ },
139
+ {
140
+ if: { focus: true, interactive: true },
141
+ tokens: { borderColor: '#000000', borderWidth: 2 }
142
+ },
120
143
  {
121
144
  if: { interactive: true, pressed: true },
122
145
  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,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',
@@ -26,6 +38,22 @@ const theme = {
26
38
  }
27
39
  },
28
40
  rules: [
41
+ {
42
+ if: { hover: true },
43
+ tokens: {
44
+ borderBottomColor: '#404040',
45
+ borderBottomWidth: 2,
46
+ color: '#404040'
47
+ }
48
+ },
49
+ {
50
+ if: { focus: true },
51
+ tokens: {
52
+ borderBottomColor: '#000000',
53
+ borderBottomWidth: 4,
54
+ color: '#000000'
55
+ }
56
+ },
29
57
  {
30
58
  if: { pressed: true },
31
59
  tokens: {
@@ -34,6 +62,10 @@ const theme = {
34
62
  color: '#666666'
35
63
  }
36
64
  },
65
+ {
66
+ if: { focus: true, pressed: true },
67
+ tokens: { borderBottomWidth: 4 }
68
+ },
37
69
  {
38
70
  if: { inactive: true },
39
71
  tokens: {
@@ -50,6 +82,22 @@ const theme = {
50
82
  color: '#000000'
51
83
  }
52
84
  },
85
+ {
86
+ if: { hover: true, inverse: true },
87
+ tokens: {
88
+ borderBottomColor: '#ffffff',
89
+ borderBottomWidth: 2,
90
+ color: '#ffffff'
91
+ }
92
+ },
93
+ {
94
+ if: { focus: true, inverse: true },
95
+ tokens: {
96
+ borderBottomColor: '#ffffff',
97
+ borderBottomWidth: 4,
98
+ color: '#ffffff'
99
+ }
100
+ },
53
101
  {
54
102
  if: { inverse: true, pressed: true },
55
103
  tokens: {
@@ -59,6 +107,10 @@ const theme = {
59
107
  }
60
108
  },
61
109
  { if: { inverse: true }, tokens: { color: '#ffffff' } },
110
+ {
111
+ if: { focus: true, inverse: true, pressed: true },
112
+ tokens: { borderBottomWidth: 4 }
113
+ },
62
114
  {
63
115
  if: { inactive: true, inverse: true },
64
116
  tokens: {
@@ -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
  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',
@@ -22,7 +34,12 @@ const theme = {
22
34
  rules: [
23
35
  {
24
36
  if: { viewport: [ 'xs', 'sm' ] },
25
- tokens: { alignItems: 'flex-start', size: 48 }
37
+ tokens: { alignItems: 'flex-start', size: 32 }
38
+ },
39
+ { if: { hover: true }, tokens: { borderColor: '#404040' } },
40
+ {
41
+ if: { focus: true },
42
+ tokens: { borderColor: '#000000', borderWidth: 2 }
26
43
  },
27
44
  {
28
45
  if: { pressed: true },
@@ -39,7 +56,7 @@ const theme = {
39
56
  padding: 8,
40
57
  selectedBorderColor: '#000000',
41
58
  selectedBorderWidth: 2,
42
- size: 72
59
+ size: 56
43
60
  }
44
61
  }
45
62
  export default theme
@@ -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',
@@ -21,6 +33,14 @@ const theme = {
21
33
  }
22
34
  },
23
35
  rules: [
36
+ {
37
+ if: { focus: true },
38
+ tokens: { inputOutlineColor: '#000000', inputOutlineWidth: 1 }
39
+ },
40
+ {
41
+ if: { hover: true },
42
+ tokens: { inputOutlineColor: '#000000', inputOutlineWidth: 1 }
43
+ },
24
44
  {
25
45
  if: { inactive: true },
26
46
  tokens: {