@telus-uds/theme-koodo 5.14.0 → 5.16.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 (247) hide show
  1. package/build/android/ActionCard.json +148 -0
  2. package/build/android/ExpandCollapseControl.json +1 -1
  3. package/build/android/ExpandCollapsePanel.json +4 -1
  4. package/build/android/List.json +6 -0
  5. package/build/android/Notification.json +5 -0
  6. package/build/android/Typography.json +28 -9
  7. package/build/android/schema.json +1068 -689
  8. package/build/android/theme.json +193 -12
  9. package/build/ios/ActionCard.json +148 -0
  10. package/build/ios/ExpandCollapseControl.json +1 -1
  11. package/build/ios/ExpandCollapsePanel.json +4 -1
  12. package/build/ios/List.json +6 -0
  13. package/build/ios/Notification.json +5 -0
  14. package/build/ios/Typography.json +28 -9
  15. package/build/ios/schema.json +1068 -689
  16. package/build/ios/theme.json +193 -12
  17. package/build/rn/ActionCard.js +92 -0
  18. package/build/rn/ActivityIndicator.js +1 -1
  19. package/build/rn/Badge.js +1 -1
  20. package/build/rn/BlockQuote.js +1 -1
  21. package/build/rn/Box.js +1 -1
  22. package/build/rn/Breadcrumbs.js +1 -1
  23. package/build/rn/Button.js +1 -1
  24. package/build/rn/ButtonDropdown.js +1 -1
  25. package/build/rn/ButtonGroup.js +1 -1
  26. package/build/rn/ButtonGroupItem.js +1 -1
  27. package/build/rn/Callout.js +1 -1
  28. package/build/rn/Card.js +1 -1
  29. package/build/rn/CardGroup.js +1 -1
  30. package/build/rn/Carousel.js +1 -1
  31. package/build/rn/CarouselTabsPanelItem.js +1 -1
  32. package/build/rn/CarouselThumbnail.js +1 -1
  33. package/build/rn/Checkbox.js +1 -1
  34. package/build/rn/CheckboxCard.js +1 -1
  35. package/build/rn/CheckboxCardGroup.js +1 -1
  36. package/build/rn/CheckboxGroup.js +1 -1
  37. package/build/rn/ChevronLink.js +1 -1
  38. package/build/rn/ColourToggle.js +1 -1
  39. package/build/rn/Countdown.js +1 -1
  40. package/build/rn/DatePicker.js +1 -1
  41. package/build/rn/Disclaimer.js +1 -1
  42. package/build/rn/Divider.js +1 -1
  43. package/build/rn/ExpandCollapse.js +1 -1
  44. package/build/rn/ExpandCollapseControl.js +25 -2
  45. package/build/rn/ExpandCollapseMini.js +1 -1
  46. package/build/rn/ExpandCollapseMiniControl.js +1 -1
  47. package/build/rn/ExpandCollapsePanel.js +5 -2
  48. package/build/rn/Feedback.js +1 -1
  49. package/build/rn/Fieldset.js +1 -1
  50. package/build/rn/Footnote.js +1 -1
  51. package/build/rn/FootnoteLink.js +1 -1
  52. package/build/rn/HorizontalScrollButton.js +1 -1
  53. package/build/rn/Icon.js +1 -1
  54. package/build/rn/IconButton.js +1 -1
  55. package/build/rn/Image.js +1 -1
  56. package/build/rn/InputLabel.js +1 -1
  57. package/build/rn/InputSupports.js +1 -1
  58. package/build/rn/Link.js +1 -1
  59. package/build/rn/List.js +2 -1
  60. package/build/rn/Listbox.js +1 -1
  61. package/build/rn/Modal.js +1 -1
  62. package/build/rn/MultiSelectFilter.js +1 -1
  63. package/build/rn/NavigationBar.js +1 -1
  64. package/build/rn/Notification.js +9 -3
  65. package/build/rn/OrderedList.js +1 -1
  66. package/build/rn/Pagination.js +1 -1
  67. package/build/rn/PaginationPageButton.js +1 -1
  68. package/build/rn/PaginationSideButton.js +1 -1
  69. package/build/rn/PreviewCard.js +1 -1
  70. package/build/rn/PriceLockup.js +1 -1
  71. package/build/rn/ProductCard.js +1 -1
  72. package/build/rn/Progress.js +1 -1
  73. package/build/rn/ProgressBar.js +1 -1
  74. package/build/rn/QuantitySelector.js +1 -1
  75. package/build/rn/QuantitySelectorSideButton.js +1 -1
  76. package/build/rn/QuickLinks.js +1 -1
  77. package/build/rn/QuickLinksButton.js +1 -1
  78. package/build/rn/QuickLinksCard.js +1 -1
  79. package/build/rn/QuickLinksFeature.js +1 -1
  80. package/build/rn/QuickLinksFeatureItem.js +1 -1
  81. package/build/rn/QuickLinksList.js +1 -1
  82. package/build/rn/Radio.js +1 -1
  83. package/build/rn/RadioCard.js +1 -1
  84. package/build/rn/RadioCardGroup.js +1 -1
  85. package/build/rn/RadioGroup.js +1 -1
  86. package/build/rn/Ribbon.js +1 -1
  87. package/build/rn/Search.js +1 -1
  88. package/build/rn/SearchButton.js +1 -1
  89. package/build/rn/Select.js +1 -1
  90. package/build/rn/SideNav.js +1 -1
  91. package/build/rn/SideNavItem.js +1 -1
  92. package/build/rn/SideNavItemsGroup.js +1 -1
  93. package/build/rn/Skeleton.js +1 -1
  94. package/build/rn/SkipLink.js +1 -1
  95. package/build/rn/Spinner.js +1 -1
  96. package/build/rn/SplashButton.js +1 -1
  97. package/build/rn/SplashButtonWithDetails.js +1 -1
  98. package/build/rn/StackView.js +1 -1
  99. package/build/rn/StepTracker.js +1 -1
  100. package/build/rn/StoryCard.js +1 -1
  101. package/build/rn/Table.js +1 -1
  102. package/build/rn/Tabs.js +1 -1
  103. package/build/rn/TabsItem.js +1 -1
  104. package/build/rn/Tags.js +1 -1
  105. package/build/rn/TagsItem.js +1 -1
  106. package/build/rn/TermsAndConditions.js +1 -1
  107. package/build/rn/Testimonial.js +1 -1
  108. package/build/rn/TextArea.js +1 -1
  109. package/build/rn/TextInput.js +1 -1
  110. package/build/rn/Timeline.js +1 -1
  111. package/build/rn/Toast.js +1 -1
  112. package/build/rn/ToggleSwitch.js +1 -1
  113. package/build/rn/ToggleSwitchGroup.js +1 -1
  114. package/build/rn/Tooltip.js +1 -1
  115. package/build/rn/TooltipButton.js +1 -1
  116. package/build/rn/Typography.js +13 -8
  117. package/build/rn/Video.js +1 -1
  118. package/build/rn/VideoButton.js +1 -1
  119. package/build/rn/VideoControlBar.js +1 -1
  120. package/build/rn/VideoMenu.js +1 -1
  121. package/build/rn/VideoMiddleControlButton.js +1 -1
  122. package/build/rn/VideoPicker.js +1 -1
  123. package/build/rn/VideoPickerSlider.js +1 -1
  124. package/build/rn/VideoPickerThumbnail.js +1 -1
  125. package/build/rn/VideoProgressBar.js +1 -1
  126. package/build/rn/VideoVolumeSlider.js +1 -1
  127. package/build/rn/WaffleGrid.js +1 -1
  128. package/build/rn/schema.json +1068 -689
  129. package/build/rn/spacingScale.js +1 -1
  130. package/build/rn/theme.js +135 -16
  131. package/build/web/ActionCard.js +92 -0
  132. package/build/web/ActivityIndicator.js +1 -1
  133. package/build/web/Badge.js +1 -1
  134. package/build/web/BlockQuote.js +1 -1
  135. package/build/web/Box.js +1 -1
  136. package/build/web/Breadcrumbs.js +1 -1
  137. package/build/web/Button.js +1 -1
  138. package/build/web/ButtonDropdown.js +1 -1
  139. package/build/web/ButtonGroup.js +1 -1
  140. package/build/web/ButtonGroupItem.js +1 -1
  141. package/build/web/Callout.js +1 -1
  142. package/build/web/Card.js +1 -1
  143. package/build/web/CardGroup.js +1 -1
  144. package/build/web/Carousel.js +1 -1
  145. package/build/web/CarouselTabsPanelItem.js +1 -1
  146. package/build/web/CarouselThumbnail.js +1 -1
  147. package/build/web/Checkbox.js +1 -1
  148. package/build/web/CheckboxCard.js +1 -1
  149. package/build/web/CheckboxCardGroup.js +1 -1
  150. package/build/web/CheckboxGroup.js +1 -1
  151. package/build/web/ChevronLink.js +1 -1
  152. package/build/web/ColourToggle.js +1 -1
  153. package/build/web/Countdown.js +1 -1
  154. package/build/web/DatePicker.js +1 -1
  155. package/build/web/Disclaimer.js +1 -1
  156. package/build/web/Divider.js +1 -1
  157. package/build/web/ExpandCollapse.js +1 -1
  158. package/build/web/ExpandCollapseControl.js +25 -2
  159. package/build/web/ExpandCollapseMini.js +1 -1
  160. package/build/web/ExpandCollapseMiniControl.js +1 -1
  161. package/build/web/ExpandCollapsePanel.js +5 -2
  162. package/build/web/Feedback.js +1 -1
  163. package/build/web/Fieldset.js +1 -1
  164. package/build/web/Footnote.js +1 -1
  165. package/build/web/FootnoteLink.js +1 -1
  166. package/build/web/HorizontalScrollButton.js +1 -1
  167. package/build/web/Icon.js +1 -1
  168. package/build/web/IconButton.js +1 -1
  169. package/build/web/Image.js +1 -1
  170. package/build/web/InputLabel.js +1 -1
  171. package/build/web/InputSupports.js +1 -1
  172. package/build/web/Link.js +1 -1
  173. package/build/web/List.js +2 -1
  174. package/build/web/Listbox.js +1 -1
  175. package/build/web/Modal.js +1 -1
  176. package/build/web/MultiSelectFilter.js +1 -1
  177. package/build/web/NavigationBar.js +1 -1
  178. package/build/web/Notification.js +9 -3
  179. package/build/web/OrderedList.js +1 -1
  180. package/build/web/Pagination.js +1 -1
  181. package/build/web/PaginationPageButton.js +1 -1
  182. package/build/web/PaginationSideButton.js +1 -1
  183. package/build/web/PreviewCard.js +1 -1
  184. package/build/web/PriceLockup.js +1 -1
  185. package/build/web/ProductCard.js +1 -1
  186. package/build/web/Progress.js +1 -1
  187. package/build/web/ProgressBar.js +1 -1
  188. package/build/web/QuantitySelector.js +1 -1
  189. package/build/web/QuantitySelectorSideButton.js +1 -1
  190. package/build/web/QuickLinks.js +1 -1
  191. package/build/web/QuickLinksButton.js +1 -1
  192. package/build/web/QuickLinksCard.js +1 -1
  193. package/build/web/QuickLinksFeature.js +1 -1
  194. package/build/web/QuickLinksFeatureItem.js +1 -1
  195. package/build/web/QuickLinksList.js +1 -1
  196. package/build/web/Radio.js +1 -1
  197. package/build/web/RadioCard.js +1 -1
  198. package/build/web/RadioCardGroup.js +1 -1
  199. package/build/web/RadioGroup.js +1 -1
  200. package/build/web/Ribbon.js +1 -1
  201. package/build/web/Search.js +1 -1
  202. package/build/web/SearchButton.js +1 -1
  203. package/build/web/Select.js +1 -1
  204. package/build/web/SideNav.js +1 -1
  205. package/build/web/SideNavItem.js +1 -1
  206. package/build/web/SideNavItemsGroup.js +1 -1
  207. package/build/web/Skeleton.js +1 -1
  208. package/build/web/SkipLink.js +1 -1
  209. package/build/web/Spinner.js +1 -1
  210. package/build/web/SplashButton.js +1 -1
  211. package/build/web/SplashButtonWithDetails.js +1 -1
  212. package/build/web/StackView.js +1 -1
  213. package/build/web/StepTracker.js +1 -1
  214. package/build/web/StoryCard.js +1 -1
  215. package/build/web/Table.js +1 -1
  216. package/build/web/Tabs.js +1 -1
  217. package/build/web/TabsItem.js +1 -1
  218. package/build/web/Tags.js +1 -1
  219. package/build/web/TagsItem.js +1 -1
  220. package/build/web/TermsAndConditions.js +1 -1
  221. package/build/web/Testimonial.js +1 -1
  222. package/build/web/TextArea.js +1 -1
  223. package/build/web/TextInput.js +1 -1
  224. package/build/web/Timeline.js +1 -1
  225. package/build/web/Toast.js +1 -1
  226. package/build/web/ToggleSwitch.js +1 -1
  227. package/build/web/ToggleSwitchGroup.js +1 -1
  228. package/build/web/Tooltip.js +1 -1
  229. package/build/web/TooltipButton.js +1 -1
  230. package/build/web/Typography.js +13 -8
  231. package/build/web/Video.js +1 -1
  232. package/build/web/VideoButton.js +1 -1
  233. package/build/web/VideoControlBar.js +1 -1
  234. package/build/web/VideoMenu.js +1 -1
  235. package/build/web/VideoMiddleControlButton.js +1 -1
  236. package/build/web/VideoPicker.js +1 -1
  237. package/build/web/VideoPickerSlider.js +1 -1
  238. package/build/web/VideoPickerThumbnail.js +1 -1
  239. package/build/web/VideoProgressBar.js +1 -1
  240. package/build/web/VideoVolumeSlider.js +1 -1
  241. package/build/web/WaffleGrid.js +1 -1
  242. package/build/web/index.js +2 -1
  243. package/build/web/schema.json +1068 -689
  244. package/build/web/spacingScale.js +1 -1
  245. package/build/web/theme.js +135 -16
  246. package/package.json +4 -4
  247. package/theme.json +152 -11
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:25 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:19 GMT
5
5
  *
6
6
  */
7
7
 
package/build/rn/theme.js CHANGED
@@ -1,10 +1,13 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:25 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:19 GMT
5
5
  *
6
6
  */
7
7
 
8
+ const PaletteIconArrowRight = require('@telus-uds/palette-koodo/build/rn/icons/ArrowRight')
9
+ const PaletteIconExclamationTriangle = require('@telus-uds/palette-koodo/build/rn/icons/ExclamationTriangle')
10
+ const PaletteIconExclamationOctagon = require('@telus-uds/palette-koodo/build/rn/icons/ExclamationOctagon')
8
11
  const PaletteIconChevronRight = require('@telus-uds/palette-koodo/build/rn/icons/ChevronRight')
9
12
  const PaletteIconChevronDown = require('@telus-uds/palette-koodo/build/rn/icons/ChevronDown')
10
13
  const PaletteIconChevronUp = require('@telus-uds/palette-koodo/build/rn/icons/ChevronUp')
@@ -13,7 +16,6 @@ const PaletteIconPause = require('@telus-uds/palette-koodo/build/rn/icons/Pause'
13
16
  const PaletteIconPlay = require('@telus-uds/palette-koodo/build/rn/icons/Play')
14
17
  const PaletteIconChevronLeft = require('@telus-uds/palette-koodo/build/rn/icons/ChevronLeft')
15
18
  const PaletteIconCheckCircleFilled = require('@telus-uds/palette-koodo/build/rn/icons/CheckCircleFilled')
16
- const PaletteIconExclamationOctagon = require('@telus-uds/palette-koodo/build/rn/icons/ExclamationOctagon')
17
19
  const PaletteIconClose = require('@telus-uds/palette-koodo/build/rn/icons/Close')
18
20
  const PaletteIconAdd = require('@telus-uds/palette-koodo/build/rn/icons/Add')
19
21
  const PaletteIconSubtract = require('@telus-uds/palette-koodo/build/rn/icons/Subtract')
@@ -21,7 +23,6 @@ const PaletteIconExpand = require('@telus-uds/palette-koodo/build/rn/icons/Expan
21
23
  const PaletteIconPlayVideo = require('@telus-uds/palette-koodo/build/rn/icons/PlayVideo')
22
24
  const PaletteIconBulletFill = require('@telus-uds/palette-koodo/build/rn/icons/BulletFill')
23
25
  const PaletteIconTimes = require('@telus-uds/palette-koodo/build/rn/icons/Times')
24
- const PaletteIconExclamationTriangle = require('@telus-uds/palette-koodo/build/rn/icons/ExclamationTriangle')
25
26
  const PaletteIconSpyglass = require('@telus-uds/palette-koodo/build/rn/icons/Spyglass')
26
27
  const PaletteIconPlaySolid = require('@telus-uds/palette-koodo/build/rn/icons/PlaySolid')
27
28
  const PaletteIconQuoteLeft = require('@telus-uds/palette-koodo/build/rn/icons/QuoteLeft')
@@ -39,13 +40,93 @@ const PaletteIconClosedCaptions = require('@telus-uds/palette-koodo/build/rn/ico
39
40
  const PaletteIconFullscreenExpand = require('@telus-uds/palette-koodo/build/rn/icons/FullscreenExpand')
40
41
  const PaletteIconFullscreenMinimize = require('@telus-uds/palette-koodo/build/rn/icons/FullscreenMinimize')
41
42
  const PaletteIconSettingsSolid = require('@telus-uds/palette-koodo/build/rn/icons/SettingsSolid')
42
- const PaletteIconArrowRight = require('@telus-uds/palette-koodo/build/rn/icons/ArrowRight')
43
43
  const PaletteIconArrowLeft = require('@telus-uds/palette-koodo/build/rn/icons/ArrowLeft')
44
44
  const PaletteIconMuted = require('@telus-uds/palette-koodo/build/rn/icons/Muted')
45
45
  const PaletteIconUnmuted = require('@telus-uds/palette-koodo/build/rn/icons/Unmuted')
46
46
 
47
47
  module.exports = {
48
48
  components: {
49
+ ActionCard: {
50
+ appearances: {
51
+ hover: {
52
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
53
+ platforms: [ 'rn', 'web' ],
54
+ type: 'state',
55
+ values: [ true, false ]
56
+ },
57
+ validation: {
58
+ description: 'Validation states for form inputs',
59
+ type: 'state',
60
+ values: [ 'error', 'success', 'warning' ]
61
+ }
62
+ },
63
+ rules: [
64
+ { if: { hover: true }, tokens: { actionIconTranslate: 4 } },
65
+ {
66
+ if: { validation: 'warning' },
67
+ tokens: {
68
+ actionIconMarginLeft: 8,
69
+ backgroundColor: '#fff5d2',
70
+ borderColor: '#f8c100',
71
+ statusIcon: PaletteIconExclamationTriangle,
72
+ statusIconColor: '#c9370b'
73
+ }
74
+ },
75
+ {
76
+ if: { validation: 'error' },
77
+ tokens: {
78
+ actionIconMarginLeft: 8,
79
+ backgroundColor: '#fcd3c6',
80
+ borderColor: '#c9370b',
81
+ statusIcon: PaletteIconExclamationOctagon,
82
+ statusIconColor: '#c9370b'
83
+ }
84
+ }
85
+ ],
86
+ tokens: {
87
+ actionIcon: PaletteIconArrowRight,
88
+ actionIconColor: '#000000',
89
+ actionIconMarginBottom: 8,
90
+ actionIconMarginLeft: 0,
91
+ actionIconMarginRight: 0,
92
+ actionIconMarginTop: 8,
93
+ actionIconTranslate: 4,
94
+ backgroundColor: null,
95
+ borderColor: null,
96
+ borderRadius: null,
97
+ borderWidth: null,
98
+ contentFontColor: '#000000',
99
+ contentFontName: 'StagSans',
100
+ contentFontSize: 16,
101
+ contentFontWeight: '400',
102
+ contentLineHeight: 1.25,
103
+ contentMarginBottom: 8,
104
+ contentMarginLeft: 0,
105
+ contentMarginRight: 0,
106
+ contentMarginTop: 0,
107
+ iconBackgroundColor: 'rgba(0, 0, 0, 0.05)',
108
+ iconColor: '#000000',
109
+ iconMarginBottom: 0,
110
+ iconMarginLeft: 0,
111
+ iconMarginRight: 8,
112
+ iconMarginTop: 0,
113
+ paddingBottom: 16,
114
+ paddingLeft: 16,
115
+ paddingRight: 16,
116
+ paddingTop: 16,
117
+ statusIcon: null,
118
+ statusIconColor: null,
119
+ titleFontColor: '#000000',
120
+ titleFontName: 'StagSans',
121
+ titleFontSize: 16,
122
+ titleFontWeight: '700',
123
+ titleLineHeight: 1.5,
124
+ titleMarginBottom: 8,
125
+ titleMarginLeft: 0,
126
+ titleMarginRight: 8,
127
+ titleMarginTop: 8
128
+ }
129
+ },
49
130
  ActivityIndicator: {
50
131
  appearances: {
51
132
  size: {
@@ -2328,7 +2409,7 @@ module.exports = {
2328
2409
  if: { mini: true },
2329
2410
  tokens: {
2330
2411
  borderColor: 'rgba(0, 0, 0, 0)',
2331
- borderWidth: 0,
2412
+ borderWidth: null,
2332
2413
  icon: PaletteIconChevronDown,
2333
2414
  iconColor: '#000000',
2334
2415
  iconGap: 8,
@@ -2358,6 +2439,17 @@ module.exports = {
2358
2439
  borderWidth: 2
2359
2440
  }
2360
2441
  },
2442
+ {
2443
+ if: { focus: true, mini: true },
2444
+ tokens: {
2445
+ borderBottomLeftRadius: 4,
2446
+ borderBottomRightRadius: 4,
2447
+ borderColor: '#000000',
2448
+ borderTopLeftRadius: 4,
2449
+ borderTopRightRadius: 4,
2450
+ borderWidth: null
2451
+ }
2452
+ },
2361
2453
  {
2362
2454
  if: { hover: true },
2363
2455
  tokens: { backgroundColor: 'rgba(0, 0, 0, 0.1)' }
@@ -2378,6 +2470,18 @@ module.exports = {
2378
2470
  borderWidth: 2
2379
2471
  }
2380
2472
  },
2473
+ {
2474
+ if: { focus: true, mini: true, pressed: true },
2475
+ tokens: {
2476
+ backgroundColor: 'rgba(0, 0, 0, 0.2)',
2477
+ borderBottomLeftRadius: 4,
2478
+ borderBottomRightRadius: 4,
2479
+ borderColor: '#000000',
2480
+ borderTopLeftRadius: 4,
2481
+ borderTopRightRadius: 4,
2482
+ borderWidth: null
2483
+ }
2484
+ },
2381
2485
  { if: { compact: true }, tokens: {} }
2382
2486
  ],
2383
2487
  tokens: {
@@ -2483,7 +2587,10 @@ module.exports = {
2483
2587
  contentPaddingLeft: 0,
2484
2588
  contentPaddingRight: 0,
2485
2589
  contentPaddingTop: 0,
2486
- contentPanelBackgroundColor: 'rgba(0, 0, 0, 0)'
2590
+ contentPanelBackgroundColor: 'rgba(0, 0, 0, 0)',
2591
+ contentPanelPaddingBottom: 0,
2592
+ contentPanelPaddingTop: 0,
2593
+ marginBottom: 0
2487
2594
  }
2488
2595
  }
2489
2596
  ],
@@ -3391,6 +3498,7 @@ module.exports = {
3391
3498
  itemIconColor: '#ff0076',
3392
3499
  itemIconSize: 16,
3393
3500
  itemLineHeight: 1.3,
3501
+ itemTextColor: '#000000',
3394
3502
  listGutter: 10
3395
3503
  }
3396
3504
  },
@@ -3978,8 +4086,12 @@ module.exports = {
3978
4086
  },
3979
4087
  rules: [
3980
4088
  {
3981
- if: { viewport: [ 'xl' ] },
3982
- tokens: { justifyContent: 'center' }
4089
+ if: { system: true, viewport: [ 'xl' ] },
4090
+ tokens: {
4091
+ containerPaddingLeft: 16,
4092
+ containerPaddingRight: 16,
4093
+ justifyContent: 'center'
4094
+ }
3983
4095
  },
3984
4096
  {
3985
4097
  if: { system: true },
@@ -4098,6 +4210,8 @@ module.exports = {
4098
4210
  borderRightWidth: 1,
4099
4211
  borderTopWidth: 1,
4100
4212
  color: '#000000',
4213
+ containerPaddingLeft: 16,
4214
+ containerPaddingRight: 16,
4101
4215
  dismissButtonGap: 24,
4102
4216
  dismissIcon: PaletteIconClose,
4103
4217
  dismissIconColor: '#000000',
@@ -7239,17 +7353,18 @@ module.exports = {
7239
7353
  textTransform: 'uppercase'
7240
7354
  }
7241
7355
  },
7242
- {
7243
- if: { compact: true, size: 'large' },
7244
- tokens: { lineHeight: 1.2 }
7245
- },
7246
7356
  {
7247
7357
  if: { size: 'medium' },
7248
7358
  tokens: { fontSize: 16, lineHeight: 1.5 }
7249
7359
  },
7360
+ { if: { compact: true }, tokens: { lineHeight: 1.25 } },
7361
+ {
7362
+ if: { compact: true, size: 'large' },
7363
+ tokens: { lineHeight: 1.2 }
7364
+ },
7250
7365
  {
7251
- if: { compact: true, size: 'medium' },
7252
- tokens: { lineHeight: 1.25 }
7366
+ if: { bold: true, compact: true, size: 'large' },
7367
+ tokens: { lineHeight: 1.2 }
7253
7368
  },
7254
7369
  {
7255
7370
  if: { size: 'small' },
@@ -7265,7 +7380,11 @@ module.exports = {
7265
7380
  },
7266
7381
  {
7267
7382
  if: { compact: true, size: 'micro' },
7268
- tokens: { lineHeight: 1.33333333333 }
7383
+ tokens: { lineHeight: 1.2 }
7384
+ },
7385
+ {
7386
+ if: { bold: true, compact: true, size: 'micro' },
7387
+ tokens: { lineHeight: 1.2 }
7269
7388
  },
7270
7389
  {
7271
7390
  if: { size: 'display1' },
@@ -7661,5 +7780,5 @@ module.exports = {
7661
7780
  tokens: { size: 96 }
7662
7781
  }
7663
7782
  },
7664
- metadata: { name: 'theme-koodo', themeTokensVersion: '2.56.0' }
7783
+ metadata: { name: 'theme-koodo', themeTokensVersion: '2.58.0' }
7665
7784
  }
@@ -0,0 +1,92 @@
1
+ /*
2
+ *
3
+ * Do not edit directly
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
+ *
6
+ */
7
+
8
+ import PaletteIconArrowRight from '@telus-uds/palette-koodo/build/rn/icons/ArrowRight'
9
+ import PaletteIconExclamationTriangle from '@telus-uds/palette-koodo/build/rn/icons/ExclamationTriangle'
10
+ import PaletteIconExclamationOctagon from '@telus-uds/palette-koodo/build/rn/icons/ExclamationOctagon'
11
+ const theme = {
12
+ appearances: {
13
+ hover: {
14
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
15
+ platforms: [ 'rn', 'web' ],
16
+ type: 'state',
17
+ values: [ true, false ]
18
+ },
19
+ validation: {
20
+ description: 'Validation states for form inputs',
21
+ type: 'state',
22
+ values: [ 'error', 'success', 'warning' ]
23
+ }
24
+ },
25
+ rules: [
26
+ { if: { hover: true }, tokens: { actionIconTranslate: 4 } },
27
+ {
28
+ if: { validation: 'warning' },
29
+ tokens: {
30
+ actionIconMarginLeft: 8,
31
+ backgroundColor: '#fff5d2',
32
+ borderColor: '#f8c100',
33
+ statusIcon: PaletteIconExclamationTriangle,
34
+ statusIconColor: '#c9370b'
35
+ }
36
+ },
37
+ {
38
+ if: { validation: 'error' },
39
+ tokens: {
40
+ actionIconMarginLeft: 8,
41
+ backgroundColor: '#fcd3c6',
42
+ borderColor: '#c9370b',
43
+ statusIcon: PaletteIconExclamationOctagon,
44
+ statusIconColor: '#c9370b'
45
+ }
46
+ }
47
+ ],
48
+ tokens: {
49
+ actionIcon: PaletteIconArrowRight,
50
+ actionIconColor: '#000000',
51
+ actionIconMarginBottom: 8,
52
+ actionIconMarginLeft: 0,
53
+ actionIconMarginRight: 0,
54
+ actionIconMarginTop: 8,
55
+ actionIconTranslate: 4,
56
+ backgroundColor: null,
57
+ borderColor: null,
58
+ borderRadius: null,
59
+ borderWidth: null,
60
+ contentFontColor: '#000000',
61
+ contentFontName: 'StagSans',
62
+ contentFontSize: 16,
63
+ contentFontWeight: '400',
64
+ contentLineHeight: 1.25,
65
+ contentMarginBottom: 8,
66
+ contentMarginLeft: 0,
67
+ contentMarginRight: 0,
68
+ contentMarginTop: 0,
69
+ iconBackgroundColor: 'rgba(0, 0, 0, 0.05)',
70
+ iconColor: '#000000',
71
+ iconMarginBottom: 0,
72
+ iconMarginLeft: 0,
73
+ iconMarginRight: 8,
74
+ iconMarginTop: 0,
75
+ paddingBottom: 16,
76
+ paddingLeft: 16,
77
+ paddingRight: 16,
78
+ paddingTop: 16,
79
+ statusIcon: null,
80
+ statusIconColor: null,
81
+ titleFontColor: '#000000',
82
+ titleFontName: 'StagSans',
83
+ titleFontSize: 16,
84
+ titleFontWeight: '700',
85
+ titleLineHeight: 1.5,
86
+ titleMarginBottom: 8,
87
+ titleMarginLeft: 0,
88
+ titleMarginRight: 8,
89
+ titleMarginTop: 8
90
+ }
91
+ }
92
+ export default theme
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 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 Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 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 Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Fri, 17 May 2024 16:23:49 GMT
4
+ * Generated on Mon, 24 Jun 2024 16:17:42 GMT
5
5
  *
6
6
  */
7
7
 
@@ -39,7 +39,7 @@ const theme = {
39
39
  if: { mini: true },
40
40
  tokens: {
41
41
  borderColor: 'rgba(0, 0, 0, 0)',
42
- borderWidth: 0,
42
+ borderWidth: null,
43
43
  icon: PaletteIconChevronDown,
44
44
  iconColor: '#000000',
45
45
  iconGap: 8,
@@ -69,6 +69,17 @@ const theme = {
69
69
  borderWidth: 2
70
70
  }
71
71
  },
72
+ {
73
+ if: { focus: true, mini: true },
74
+ tokens: {
75
+ borderBottomLeftRadius: 4,
76
+ borderBottomRightRadius: 4,
77
+ borderColor: '#000000',
78
+ borderTopLeftRadius: 4,
79
+ borderTopRightRadius: 4,
80
+ borderWidth: null
81
+ }
82
+ },
72
83
  {
73
84
  if: { hover: true },
74
85
  tokens: { backgroundColor: 'rgba(0, 0, 0, 0.1)' }
@@ -89,6 +100,18 @@ const theme = {
89
100
  borderWidth: 2
90
101
  }
91
102
  },
103
+ {
104
+ if: { focus: true, mini: true, pressed: true },
105
+ tokens: {
106
+ backgroundColor: 'rgba(0, 0, 0, 0.2)',
107
+ borderBottomLeftRadius: 4,
108
+ borderBottomRightRadius: 4,
109
+ borderColor: '#000000',
110
+ borderTopLeftRadius: 4,
111
+ borderTopRightRadius: 4,
112
+ borderWidth: null
113
+ }
114
+ },
92
115
  { if: { compact: true }, tokens: {} }
93
116
  ],
94
117
  tokens: {