@telus-uds/theme-allium 4.23.0 → 4.23.1

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 (231) hide show
  1. package/build/android/TermsAndConditions.json +57 -0
  2. package/build/android/schema.json +1004 -959
  3. package/build/android/theme.json +58 -1
  4. package/build/ios/TermsAndConditions.json +57 -0
  5. package/build/ios/schema.json +1004 -959
  6. package/build/ios/theme.json +58 -1
  7. package/build/rn/ActivityIndicator.js +1 -1
  8. package/build/rn/Badge.js +1 -1
  9. package/build/rn/BlockQuote.js +1 -1
  10. package/build/rn/Box.js +1 -1
  11. package/build/rn/Breadcrumbs.js +1 -1
  12. package/build/rn/Button.js +3 -3
  13. package/build/rn/ButtonDropdown.js +3 -3
  14. package/build/rn/ButtonGroup.js +1 -1
  15. package/build/rn/ButtonGroupItem.js +3 -3
  16. package/build/rn/Callout.js +1 -1
  17. package/build/rn/Card.js +3 -3
  18. package/build/rn/Carousel.js +1 -1
  19. package/build/rn/CarouselTabsPanelItem.js +3 -3
  20. package/build/rn/CarouselThumbnail.js +3 -3
  21. package/build/rn/Checkbox.js +3 -3
  22. package/build/rn/CheckboxCard.js +3 -3
  23. package/build/rn/CheckboxCardGroup.js +1 -1
  24. package/build/rn/CheckboxGroup.js +1 -1
  25. package/build/rn/ChevronLink.js +3 -3
  26. package/build/rn/ColourToggle.js +3 -3
  27. package/build/rn/Countdown.js +1 -1
  28. package/build/rn/DatePicker.js +1 -1
  29. package/build/rn/Disclaimer.js +1 -1
  30. package/build/rn/Divider.js +1 -1
  31. package/build/rn/ExpandCollapse.js +1 -1
  32. package/build/rn/ExpandCollapseControl.js +1 -1
  33. package/build/rn/ExpandCollapseMini.js +1 -1
  34. package/build/rn/ExpandCollapseMiniControl.js +1 -1
  35. package/build/rn/ExpandCollapsePanel.js +1 -1
  36. package/build/rn/Feedback.js +1 -1
  37. package/build/rn/Fieldset.js +1 -1
  38. package/build/rn/Footnote.js +1 -1
  39. package/build/rn/FootnoteLink.js +1 -1
  40. package/build/rn/HorizontalScrollButton.js +3 -3
  41. package/build/rn/Icon.js +1 -1
  42. package/build/rn/IconButton.js +3 -3
  43. package/build/rn/Image.js +1 -1
  44. package/build/rn/InputLabel.js +1 -1
  45. package/build/rn/InputSupports.js +1 -1
  46. package/build/rn/Link.js +3 -3
  47. package/build/rn/List.js +1 -1
  48. package/build/rn/Listbox.js +3 -3
  49. package/build/rn/Modal.js +1 -1
  50. package/build/rn/MultiSelectFilter.js +1 -1
  51. package/build/rn/NavigationBar.js +3 -3
  52. package/build/rn/Notification.js +1 -1
  53. package/build/rn/OrderedList.js +1 -1
  54. package/build/rn/Pagination.js +1 -1
  55. package/build/rn/PaginationPageButton.js +3 -3
  56. package/build/rn/PaginationSideButton.js +3 -3
  57. package/build/rn/PreviewCard.js +4 -4
  58. package/build/rn/PriceLockup.js +1 -1
  59. package/build/rn/Progress.js +1 -1
  60. package/build/rn/ProgressBar.js +1 -1
  61. package/build/rn/QuantitySelector.js +1 -1
  62. package/build/rn/QuantitySelectorSideButton.js +1 -1
  63. package/build/rn/QuickLinks.js +1 -1
  64. package/build/rn/QuickLinksButton.js +3 -3
  65. package/build/rn/QuickLinksCard.js +1 -1
  66. package/build/rn/QuickLinksFeature.js +1 -1
  67. package/build/rn/QuickLinksFeatureItem.js +3 -3
  68. package/build/rn/QuickLinksList.js +3 -3
  69. package/build/rn/Radio.js +3 -3
  70. package/build/rn/RadioCard.js +3 -3
  71. package/build/rn/RadioCardGroup.js +1 -1
  72. package/build/rn/RadioGroup.js +1 -1
  73. package/build/rn/Ribbon.js +1 -1
  74. package/build/rn/Search.js +2 -2
  75. package/build/rn/SearchButton.js +3 -3
  76. package/build/rn/Select.js +2 -2
  77. package/build/rn/SideNav.js +1 -1
  78. package/build/rn/SideNavItem.js +3 -3
  79. package/build/rn/SideNavItemsGroup.js +1 -1
  80. package/build/rn/Skeleton.js +1 -1
  81. package/build/rn/SkipLink.js +2 -2
  82. package/build/rn/Spinner.js +1 -1
  83. package/build/rn/SplashButton.js +2 -2
  84. package/build/rn/SplashButtonWithDetails.js +2 -2
  85. package/build/rn/StackView.js +1 -1
  86. package/build/rn/StepTracker.js +1 -1
  87. package/build/rn/StoryCard.js +3 -3
  88. package/build/rn/Table.js +1 -1
  89. package/build/rn/Tabs.js +1 -1
  90. package/build/rn/TabsItem.js +1 -1
  91. package/build/rn/Tags.js +1 -1
  92. package/build/rn/TagsItem.js +3 -3
  93. package/build/rn/TermsAndConditions.js +36 -2
  94. package/build/rn/Testimonial.js +1 -1
  95. package/build/rn/TextArea.js +1 -1
  96. package/build/rn/TextInput.js +2 -2
  97. package/build/rn/Timeline.js +1 -1
  98. package/build/rn/Toast.js +1 -1
  99. package/build/rn/ToggleSwitch.js +3 -3
  100. package/build/rn/ToggleSwitchGroup.js +1 -1
  101. package/build/rn/Tooltip.js +1 -1
  102. package/build/rn/TooltipButton.js +3 -3
  103. package/build/rn/Typography.js +1 -1
  104. package/build/rn/Video.js +1 -1
  105. package/build/rn/VideoButton.js +1 -1
  106. package/build/rn/VideoControlBar.js +1 -1
  107. package/build/rn/VideoMenu.js +1 -1
  108. package/build/rn/VideoMiddleControlButton.js +1 -1
  109. package/build/rn/VideoPicker.js +1 -1
  110. package/build/rn/VideoPickerSlider.js +1 -1
  111. package/build/rn/VideoPickerThumbnail.js +3 -3
  112. package/build/rn/VideoProgressBar.js +1 -1
  113. package/build/rn/VideoVolumeSlider.js +1 -1
  114. package/build/rn/WaffleGrid.js +1 -1
  115. package/build/rn/schema.json +1004 -959
  116. package/build/rn/spacingScale.js +1 -1
  117. package/build/rn/theme.js +103 -69
  118. package/build/web/ActivityIndicator.js +1 -1
  119. package/build/web/Badge.js +1 -1
  120. package/build/web/BlockQuote.js +1 -1
  121. package/build/web/Box.js +1 -1
  122. package/build/web/Breadcrumbs.js +1 -1
  123. package/build/web/Button.js +94 -1
  124. package/build/web/ButtonDropdown.js +36 -1
  125. package/build/web/ButtonGroup.js +1 -1
  126. package/build/web/ButtonGroupItem.js +35 -1
  127. package/build/web/Callout.js +1 -1
  128. package/build/web/Card.js +25 -2
  129. package/build/web/Carousel.js +1 -1
  130. package/build/web/CarouselTabsPanelItem.js +57 -1
  131. package/build/web/CarouselThumbnail.js +18 -1
  132. package/build/web/Checkbox.js +30 -1
  133. package/build/web/CheckboxCard.js +35 -1
  134. package/build/web/CheckboxCardGroup.js +1 -1
  135. package/build/web/CheckboxGroup.js +1 -1
  136. package/build/web/ChevronLink.js +38 -1
  137. package/build/web/ColourToggle.js +29 -1
  138. package/build/web/Countdown.js +1 -1
  139. package/build/web/DatePicker.js +1 -1
  140. package/build/web/Disclaimer.js +1 -1
  141. package/build/web/Divider.js +1 -1
  142. package/build/web/ExpandCollapse.js +1 -1
  143. package/build/web/ExpandCollapseControl.js +1 -1
  144. package/build/web/ExpandCollapseMini.js +1 -1
  145. package/build/web/ExpandCollapseMiniControl.js +1 -1
  146. package/build/web/ExpandCollapsePanel.js +1 -1
  147. package/build/web/Feedback.js +1 -1
  148. package/build/web/Fieldset.js +1 -1
  149. package/build/web/Footnote.js +1 -1
  150. package/build/web/FootnoteLink.js +1 -1
  151. package/build/web/HorizontalScrollButton.js +17 -1
  152. package/build/web/Icon.js +1 -1
  153. package/build/web/IconButton.js +76 -1
  154. package/build/web/Image.js +1 -1
  155. package/build/web/InputLabel.js +1 -1
  156. package/build/web/InputSupports.js +1 -1
  157. package/build/web/Link.js +70 -2
  158. package/build/web/List.js +1 -1
  159. package/build/web/Listbox.js +61 -1
  160. package/build/web/Modal.js +1 -1
  161. package/build/web/MultiSelectFilter.js +1 -1
  162. package/build/web/NavigationBar.js +40 -1
  163. package/build/web/Notification.js +1 -1
  164. package/build/web/OrderedList.js +1 -1
  165. package/build/web/Pagination.js +1 -1
  166. package/build/web/PaginationPageButton.js +27 -1
  167. package/build/web/PaginationSideButton.js +26 -1
  168. package/build/web/PreviewCard.js +33 -3
  169. package/build/web/PriceLockup.js +1 -1
  170. package/build/web/Progress.js +1 -1
  171. package/build/web/ProgressBar.js +1 -1
  172. package/build/web/QuantitySelector.js +1 -1
  173. package/build/web/QuantitySelectorSideButton.js +1 -1
  174. package/build/web/QuickLinks.js +1 -1
  175. package/build/web/QuickLinksButton.js +17 -2
  176. package/build/web/QuickLinksCard.js +1 -1
  177. package/build/web/QuickLinksFeature.js +1 -1
  178. package/build/web/QuickLinksFeatureItem.js +29 -1
  179. package/build/web/QuickLinksList.js +29 -1
  180. package/build/web/Radio.js +18 -1
  181. package/build/web/RadioCard.js +35 -1
  182. package/build/web/RadioCardGroup.js +1 -1
  183. package/build/web/RadioGroup.js +1 -1
  184. package/build/web/Ribbon.js +1 -1
  185. package/build/web/Search.js +11 -1
  186. package/build/web/SearchButton.js +30 -1
  187. package/build/web/Select.js +8 -1
  188. package/build/web/SideNav.js +1 -1
  189. package/build/web/SideNavItem.js +30 -1
  190. package/build/web/SideNavItemsGroup.js +1 -1
  191. package/build/web/Skeleton.js +1 -1
  192. package/build/web/SkipLink.js +13 -2
  193. package/build/web/Spinner.js +1 -1
  194. package/build/web/SplashButton.js +15 -3
  195. package/build/web/SplashButtonWithDetails.js +15 -3
  196. package/build/web/StackView.js +1 -1
  197. package/build/web/StepTracker.js +1 -1
  198. package/build/web/StoryCard.js +25 -2
  199. package/build/web/Table.js +1 -1
  200. package/build/web/Tabs.js +1 -1
  201. package/build/web/TabsItem.js +1 -1
  202. package/build/web/Tags.js +1 -1
  203. package/build/web/TagsItem.js +35 -1
  204. package/build/web/TermsAndConditions.js +36 -2
  205. package/build/web/Testimonial.js +1 -1
  206. package/build/web/TextArea.js +1 -1
  207. package/build/web/TextInput.js +11 -1
  208. package/build/web/Timeline.js +1 -1
  209. package/build/web/Toast.js +1 -1
  210. package/build/web/ToggleSwitch.js +42 -1
  211. package/build/web/ToggleSwitchGroup.js +1 -1
  212. package/build/web/Tooltip.js +1 -1
  213. package/build/web/TooltipButton.js +19 -1
  214. package/build/web/Typography.js +1 -1
  215. package/build/web/Video.js +1 -1
  216. package/build/web/VideoButton.js +1 -1
  217. package/build/web/VideoControlBar.js +1 -1
  218. package/build/web/VideoMenu.js +1 -1
  219. package/build/web/VideoMiddleControlButton.js +1 -1
  220. package/build/web/VideoPicker.js +1 -1
  221. package/build/web/VideoPickerSlider.js +1 -1
  222. package/build/web/VideoPickerThumbnail.js +21 -1
  223. package/build/web/VideoProgressBar.js +1 -1
  224. package/build/web/VideoVolumeSlider.js +1 -1
  225. package/build/web/WaffleGrid.js +1 -1
  226. package/build/web/index.js +1 -1
  227. package/build/web/schema.json +1004 -959
  228. package/build/web/spacingScale.js +1 -1
  229. package/build/web/theme.js +1201 -19
  230. package/package.json +5 -5
  231. package/theme.json +29 -0
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 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',
@@ -27,6 +33,7 @@ const theme = {
27
33
  }
28
34
  },
29
35
  rules: [
36
+ { if: { hover: true }, tokens: { outerBorderColor: '#e3e6e8' } },
30
37
  {
31
38
  if: { focus: true },
32
39
  tokens: { borderColor: '#7c53a5', borderWidth: 3 }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 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:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 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',
@@ -61,6 +73,14 @@ const theme = {
61
73
  paddingLeft: 16
62
74
  }
63
75
  },
76
+ {
77
+ if: { hover: true },
78
+ tokens: { backgroundColor: '#f4f4f7', color: '#4b286d' }
79
+ },
80
+ {
81
+ if: { focus: true },
82
+ tokens: { backgroundColor: '#f4f4f7', color: '#4b286d' }
83
+ },
64
84
  {
65
85
  if: { active: true, type: 'child' },
66
86
  tokens: {
@@ -68,6 +88,15 @@ const theme = {
68
88
  accentPadding: 16,
69
89
  backgroundColor: '#f4f4f7'
70
90
  }
91
+ },
92
+ {
93
+ if: { active: false, hover: true, type: 'child' },
94
+ tokens: {
95
+ accentBackgroundColor: '#ffffff',
96
+ accentOffset: 0,
97
+ accentWidth: 16,
98
+ color: '#414547'
99
+ }
71
100
  }
72
101
  ],
73
102
  tokens: {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 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:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 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:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 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: '#163e06', outlineColor: '#163e06' }
27
+ }
28
+ ],
18
29
  tokens: {
19
30
  backgroundColor: 'rgba(0, 0, 0, 0)',
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:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,14 +1,26 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 GMT
5
5
  *
6
6
  */
7
7
 
8
8
  import PaletteIconPlaySolid from '@telus-uds/palette-allium/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: 'rgba(0, 0, 0, 0.8)' }
22
+ }
23
+ ],
12
24
  tokens: {
13
25
  buttonContentBackground: 'rgba(0, 0, 0, 0.6)',
14
26
  buttonContentChildrenBackground: null,
@@ -1,14 +1,26 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 GMT
5
5
  *
6
6
  */
7
7
 
8
8
  import PaletteIconPlaySolid from '@telus-uds/palette-allium/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: 'rgba(255, 255, 255, 0.8)' }
22
+ }
23
+ ],
12
24
  tokens: {
13
25
  buttonBackground: '#ffffff',
14
26
  buttonBorderColor: '#e3e6e8',
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 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:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 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:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 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: '#f4f4f7' } } ],
29
+ rules: [
30
+ { if: { hover: true }, tokens: { borderWidth: 2 } },
31
+ { if: { pressed: true }, tokens: { backgroundColor: '#f4f4f7' } },
32
+ {
33
+ if: { focus: true },
34
+ tokens: {
35
+ outerBorderColor: '#676e73',
36
+ outerBorderGap: 2,
37
+ outerBorderWidth: 2
38
+ }
39
+ }
40
+ ],
18
41
  tokens: {
19
42
  backgroundColor: '#ffffff',
20
43
  borderColor: '#e3e6e8',
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 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:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 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:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 GMT
5
5
  *
6
6
  */
7
7
 
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:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 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:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 GMT
5
5
  *
6
6
  */
7
7
 
@@ -9,6 +9,18 @@ import PaletteIconAdd from '@telus-uds/palette-allium/build/rn/icons/Add'
9
9
  import PaletteIconClose from '@telus-uds/palette-allium/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',
@@ -37,6 +49,16 @@ const theme = {
37
49
  iconColor: '#ffffff'
38
50
  }
39
51
  },
52
+ {
53
+ if: { focus: true },
54
+ tokens: {
55
+ borderColor: '#676e73',
56
+ outerBorderColor: '#676e73',
57
+ outerBorderGap: 2,
58
+ outerBorderWidth: 2
59
+ }
60
+ },
61
+ { if: { hover: true }, tokens: { borderWidth: 3 } },
40
62
  {
41
63
  if: { selected: true },
42
64
  tokens: {
@@ -48,10 +70,22 @@ const theme = {
48
70
  iconColor: '#ffffff'
49
71
  }
50
72
  },
73
+ {
74
+ if: { hover: true, selected: true },
75
+ tokens: { backgroundColor: '#7c53a5', iconBackground: '#4b286d' }
76
+ },
51
77
  {
52
78
  if: { pressed: true, selected: true },
53
79
  tokens: { backgroundColor: '#3f2a54', iconBackground: '#7c53a5' }
54
80
  },
81
+ {
82
+ if: { focus: true, selected: true },
83
+ tokens: { outerBorderColor: '#4b286d' }
84
+ },
85
+ {
86
+ if: { focus: true, pressed: true, selected: true },
87
+ tokens: { iconBackground: '#7c53a5', outerBorderColor: '#3f2a54' }
88
+ },
55
89
  {
56
90
  if: { inactive: true },
57
91
  tokens: {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 GMT
5
5
  *
6
6
  */
7
7
 
@@ -14,6 +14,17 @@ const theme = {
14
14
  type: 'state',
15
15
  values: [ true, false ]
16
16
  },
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
+ pressed: {
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.',
25
+ type: 'state',
26
+ values: [ true, false ]
27
+ },
17
28
  viewport: {
18
29
  description: 'The size label for the current screen viewport based on the current screen width',
19
30
  type: 'state',
@@ -29,7 +40,24 @@ const theme = {
29
40
  titlePaddingLeft: 6
30
41
  }
31
42
  },
32
- { if: { expanded: true }, tokens: { icon: PaletteIconCaretUp } }
43
+ { if: { expanded: true }, tokens: { icon: PaletteIconCaretUp } },
44
+ {
45
+ if: { focus: true },
46
+ tokens: {
47
+ iconOuterBorderColor: '#414547',
48
+ iconOuterBorderGap: 4,
49
+ iconOuterBorderWidth: 1
50
+ }
51
+ },
52
+ {
53
+ if: { pressed: true },
54
+ tokens: {
55
+ iconBackgroundColor: '#414547',
56
+ iconBorderColor: '#ffffff',
57
+ iconColor: '#ffffff',
58
+ iconOuterBorderGap: 4
59
+ }
60
+ }
33
61
  ],
34
62
  tokens: {
35
63
  contentBorderColor: 'transparent',
@@ -62,6 +90,12 @@ const theme = {
62
90
  expandTitlePaddingLeft: 0,
63
91
  expandTitleUnderline: 'none',
64
92
  icon: PaletteIconCaretDown,
93
+ iconBackgroundColor: 'transparent',
94
+ iconBorderColor: '#676e73',
95
+ iconColor: '#676e73',
96
+ iconOuterBorderColor: 'transparent',
97
+ iconOuterBorderGap: 0,
98
+ iconOuterBorderWidth: null,
65
99
  listColor: '#414547',
66
100
  listFontName: 'HelveticaNow',
67
101
  listFontSize: 14,
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 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:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 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:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 GMT
5
5
  *
6
6
  */
7
7
 
@@ -21,6 +21,12 @@ const theme = {
21
21
  type: 'state',
22
22
  values: [ true ]
23
23
  },
24
+ hover: {
25
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
26
+ platforms: [ 'rn', 'web' ],
27
+ type: 'state',
28
+ values: [ true, false ]
29
+ },
24
30
  inactive: {
25
31
  description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
26
32
  type: 'state',
@@ -43,6 +49,10 @@ const theme = {
43
49
  }
44
50
  },
45
51
  rules: [
52
+ {
53
+ if: { hover: true, inactive: null },
54
+ tokens: { outerBackgroundColor: '#e3e6e8', outerBorderColor: '#e3e6e8' }
55
+ },
46
56
  {
47
57
  if: { validation: 'success' },
48
58
  tokens: {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 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:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 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:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 GMT
5
5
  *
6
6
  */
7
7
 
8
8
  import PaletteIconCheckmark from '@telus-uds/palette-allium/build/rn/icons/Checkmark'
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,7 +37,24 @@ const theme = {
25
37
  }
26
38
  },
27
39
  rules: [
40
+ { if: { hover: true }, tokens: { backgroundColor: '#414547' } },
28
41
  { if: { pressed: true }, tokens: { backgroundColor: '#2c2e30' } },
42
+ {
43
+ if: { focus: true },
44
+ tokens: {
45
+ outerBorderColor: '#676e73',
46
+ outerBorderGap: 3,
47
+ outerBorderWidth: 2
48
+ }
49
+ },
50
+ {
51
+ if: { focus: true, pressed: true },
52
+ tokens: {
53
+ outerBorderColor: '#2c2e30',
54
+ outerBorderGap: 3,
55
+ outerBorderWidth: 2
56
+ }
57
+ },
29
58
  {
30
59
  if: { selected: true },
31
60
  tokens: {
@@ -34,10 +63,22 @@ const theme = {
34
63
  iconColor: '#2b8000'
35
64
  }
36
65
  },
66
+ {
67
+ if: { hover: true, selected: true },
68
+ tokens: { backgroundColor: '#1f5c09', iconColor: '#1f5c09' }
69
+ },
37
70
  {
38
71
  if: { pressed: true, selected: true },
39
72
  tokens: { backgroundColor: '#163e06', iconColor: '#163e06' }
40
73
  },
74
+ {
75
+ if: { focus: true, selected: true },
76
+ tokens: { outerBorderColor: '#676e73', outerBorderWidth: 2 }
77
+ },
78
+ {
79
+ if: { focus: true, pressed: true, selected: true },
80
+ tokens: { outerBorderColor: '#163e06', outerBorderWidth: 2 }
81
+ },
41
82
  {
42
83
  if: { inactive: true },
43
84
  tokens: {
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Thu, 18 Jan 2024 22:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 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:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 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:42:16 GMT
4
+ * Generated on Mon, 29 Jan 2024 18:24:29 GMT
5
5
  *
6
6
  */
7
7
 
8
8
  import PaletteIconQuestion from '@telus-uds/palette-allium/build/rn/icons/Question'
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
  inverse: { type: 'variant', values: [ true ] },
12
24
  pressed: {
13
25
  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.',
@@ -17,10 +29,16 @@ const theme = {
17
29
  },
18
30
  rules: [
19
31
  { if: { inverse: true }, tokens: { iconColor: '#ffffff' } },
32
+ { if: { hover: true }, tokens: { iconScale: 1.25 } },
20
33
  { if: { pressed: true }, tokens: { iconColor: '#676e73' } },
21
34
  {
22
35
  if: { inverse: true, pressed: true },
23
36
  tokens: { iconColor: '#b2b9bf' }
37
+ },
38
+ { if: { focus: true }, tokens: { outerBorderColor: '#676e73' } },
39
+ {
40
+ if: { focus: true, inverse: true },
41
+ tokens: { outerBorderColor: '#b2b9bf' }
24
42
  }
25
43
  ],
26
44
  tokens: {