@telus-uds/theme-koodo 5.13.0 → 5.14.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 (243) hide show
  1. package/build/android/Card.json +161 -0
  2. package/build/android/CardGroup.json +52 -0
  3. package/build/android/QuickLinksFeature.json +17 -2
  4. package/build/android/QuickLinksFeatureItem.json +1 -1
  5. package/build/android/Radio.json +13 -0
  6. package/build/android/schema.json +920 -688
  7. package/build/android/theme.json +245 -4
  8. package/build/ios/Card.json +161 -0
  9. package/build/ios/CardGroup.json +52 -0
  10. package/build/ios/QuickLinksFeature.json +17 -2
  11. package/build/ios/QuickLinksFeatureItem.json +1 -1
  12. package/build/ios/Radio.json +13 -0
  13. package/build/ios/schema.json +920 -688
  14. package/build/ios/theme.json +245 -4
  15. package/build/rn/ActivityIndicator.js +1 -1
  16. package/build/rn/Badge.js +1 -1
  17. package/build/rn/BlockQuote.js +1 -1
  18. package/build/rn/Box.js +1 -1
  19. package/build/rn/Breadcrumbs.js +1 -1
  20. package/build/rn/Button.js +1 -1
  21. package/build/rn/ButtonDropdown.js +1 -1
  22. package/build/rn/ButtonGroup.js +1 -1
  23. package/build/rn/ButtonGroupItem.js +1 -1
  24. package/build/rn/Callout.js +1 -1
  25. package/build/rn/Card.js +85 -3
  26. package/build/rn/CardGroup.js +62 -0
  27. package/build/rn/Carousel.js +1 -1
  28. package/build/rn/CarouselTabsPanelItem.js +1 -1
  29. package/build/rn/CarouselThumbnail.js +1 -1
  30. package/build/rn/Checkbox.js +1 -1
  31. package/build/rn/CheckboxCard.js +1 -1
  32. package/build/rn/CheckboxCardGroup.js +1 -1
  33. package/build/rn/CheckboxGroup.js +1 -1
  34. package/build/rn/ChevronLink.js +1 -1
  35. package/build/rn/ColourToggle.js +1 -1
  36. package/build/rn/Countdown.js +1 -1
  37. package/build/rn/DatePicker.js +1 -1
  38. package/build/rn/Disclaimer.js +1 -1
  39. package/build/rn/Divider.js +1 -1
  40. package/build/rn/ExpandCollapse.js +1 -1
  41. package/build/rn/ExpandCollapseControl.js +1 -1
  42. package/build/rn/ExpandCollapseMini.js +1 -1
  43. package/build/rn/ExpandCollapseMiniControl.js +1 -1
  44. package/build/rn/ExpandCollapsePanel.js +1 -1
  45. package/build/rn/Feedback.js +1 -1
  46. package/build/rn/Fieldset.js +1 -1
  47. package/build/rn/Footnote.js +1 -1
  48. package/build/rn/FootnoteLink.js +1 -1
  49. package/build/rn/HorizontalScrollButton.js +1 -1
  50. package/build/rn/Icon.js +1 -1
  51. package/build/rn/IconButton.js +1 -1
  52. package/build/rn/Image.js +1 -1
  53. package/build/rn/InputLabel.js +1 -1
  54. package/build/rn/InputSupports.js +1 -1
  55. package/build/rn/Link.js +1 -1
  56. package/build/rn/List.js +1 -1
  57. package/build/rn/Listbox.js +1 -1
  58. package/build/rn/Modal.js +1 -1
  59. package/build/rn/MultiSelectFilter.js +1 -1
  60. package/build/rn/NavigationBar.js +1 -1
  61. package/build/rn/Notification.js +1 -1
  62. package/build/rn/OrderedList.js +1 -1
  63. package/build/rn/Pagination.js +1 -1
  64. package/build/rn/PaginationPageButton.js +1 -1
  65. package/build/rn/PaginationSideButton.js +1 -1
  66. package/build/rn/PreviewCard.js +1 -1
  67. package/build/rn/PriceLockup.js +1 -1
  68. package/build/rn/ProductCard.js +1 -1
  69. package/build/rn/Progress.js +1 -1
  70. package/build/rn/ProgressBar.js +1 -1
  71. package/build/rn/QuantitySelector.js +1 -1
  72. package/build/rn/QuantitySelectorSideButton.js +1 -1
  73. package/build/rn/QuickLinks.js +1 -1
  74. package/build/rn/QuickLinksButton.js +1 -1
  75. package/build/rn/QuickLinksCard.js +1 -1
  76. package/build/rn/QuickLinksFeature.js +9 -3
  77. package/build/rn/QuickLinksFeatureItem.js +2 -2
  78. package/build/rn/QuickLinksList.js +1 -1
  79. package/build/rn/Radio.js +4 -1
  80. package/build/rn/RadioCard.js +1 -1
  81. package/build/rn/RadioCardGroup.js +1 -1
  82. package/build/rn/RadioGroup.js +1 -1
  83. package/build/rn/Ribbon.js +1 -1
  84. package/build/rn/Search.js +1 -1
  85. package/build/rn/SearchButton.js +1 -1
  86. package/build/rn/Select.js +1 -1
  87. package/build/rn/SideNav.js +1 -1
  88. package/build/rn/SideNavItem.js +1 -1
  89. package/build/rn/SideNavItemsGroup.js +1 -1
  90. package/build/rn/Skeleton.js +1 -1
  91. package/build/rn/SkipLink.js +1 -1
  92. package/build/rn/Spinner.js +1 -1
  93. package/build/rn/SplashButton.js +1 -1
  94. package/build/rn/SplashButtonWithDetails.js +1 -1
  95. package/build/rn/StackView.js +1 -1
  96. package/build/rn/StepTracker.js +1 -1
  97. package/build/rn/StoryCard.js +1 -1
  98. package/build/rn/Table.js +1 -1
  99. package/build/rn/Tabs.js +1 -1
  100. package/build/rn/TabsItem.js +1 -1
  101. package/build/rn/Tags.js +1 -1
  102. package/build/rn/TagsItem.js +1 -1
  103. package/build/rn/TermsAndConditions.js +1 -1
  104. package/build/rn/Testimonial.js +1 -1
  105. package/build/rn/TextArea.js +1 -1
  106. package/build/rn/TextInput.js +1 -1
  107. package/build/rn/Timeline.js +1 -1
  108. package/build/rn/Toast.js +1 -1
  109. package/build/rn/ToggleSwitch.js +1 -1
  110. package/build/rn/ToggleSwitchGroup.js +1 -1
  111. package/build/rn/Tooltip.js +1 -1
  112. package/build/rn/TooltipButton.js +1 -1
  113. package/build/rn/Typography.js +1 -1
  114. package/build/rn/Video.js +1 -1
  115. package/build/rn/VideoButton.js +1 -1
  116. package/build/rn/VideoControlBar.js +1 -1
  117. package/build/rn/VideoMenu.js +1 -1
  118. package/build/rn/VideoMiddleControlButton.js +1 -1
  119. package/build/rn/VideoPicker.js +1 -1
  120. package/build/rn/VideoPickerSlider.js +1 -1
  121. package/build/rn/VideoPickerThumbnail.js +1 -1
  122. package/build/rn/VideoProgressBar.js +1 -1
  123. package/build/rn/VideoVolumeSlider.js +1 -1
  124. package/build/rn/WaffleGrid.js +1 -1
  125. package/build/rn/schema.json +920 -688
  126. package/build/rn/spacingScale.js +1 -1
  127. package/build/rn/theme.js +151 -7
  128. package/build/web/ActivityIndicator.js +1 -1
  129. package/build/web/Badge.js +1 -1
  130. package/build/web/BlockQuote.js +1 -1
  131. package/build/web/Box.js +1 -1
  132. package/build/web/Breadcrumbs.js +1 -1
  133. package/build/web/Button.js +1 -1
  134. package/build/web/ButtonDropdown.js +1 -1
  135. package/build/web/ButtonGroup.js +1 -1
  136. package/build/web/ButtonGroupItem.js +1 -1
  137. package/build/web/Callout.js +1 -1
  138. package/build/web/Card.js +85 -3
  139. package/build/web/CardGroup.js +62 -0
  140. package/build/web/Carousel.js +1 -1
  141. package/build/web/CarouselTabsPanelItem.js +1 -1
  142. package/build/web/CarouselThumbnail.js +1 -1
  143. package/build/web/Checkbox.js +1 -1
  144. package/build/web/CheckboxCard.js +1 -1
  145. package/build/web/CheckboxCardGroup.js +1 -1
  146. package/build/web/CheckboxGroup.js +1 -1
  147. package/build/web/ChevronLink.js +1 -1
  148. package/build/web/ColourToggle.js +1 -1
  149. package/build/web/Countdown.js +1 -1
  150. package/build/web/DatePicker.js +1 -1
  151. package/build/web/Disclaimer.js +1 -1
  152. package/build/web/Divider.js +1 -1
  153. package/build/web/ExpandCollapse.js +1 -1
  154. package/build/web/ExpandCollapseControl.js +1 -1
  155. package/build/web/ExpandCollapseMini.js +1 -1
  156. package/build/web/ExpandCollapseMiniControl.js +1 -1
  157. package/build/web/ExpandCollapsePanel.js +1 -1
  158. package/build/web/Feedback.js +1 -1
  159. package/build/web/Fieldset.js +1 -1
  160. package/build/web/Footnote.js +1 -1
  161. package/build/web/FootnoteLink.js +1 -1
  162. package/build/web/HorizontalScrollButton.js +1 -1
  163. package/build/web/Icon.js +1 -1
  164. package/build/web/IconButton.js +1 -1
  165. package/build/web/Image.js +1 -1
  166. package/build/web/InputLabel.js +1 -1
  167. package/build/web/InputSupports.js +1 -1
  168. package/build/web/Link.js +1 -1
  169. package/build/web/List.js +1 -1
  170. package/build/web/Listbox.js +1 -1
  171. package/build/web/Modal.js +1 -1
  172. package/build/web/MultiSelectFilter.js +1 -1
  173. package/build/web/NavigationBar.js +1 -1
  174. package/build/web/Notification.js +1 -1
  175. package/build/web/OrderedList.js +1 -1
  176. package/build/web/Pagination.js +1 -1
  177. package/build/web/PaginationPageButton.js +1 -1
  178. package/build/web/PaginationSideButton.js +1 -1
  179. package/build/web/PreviewCard.js +1 -1
  180. package/build/web/PriceLockup.js +1 -1
  181. package/build/web/ProductCard.js +1 -1
  182. package/build/web/Progress.js +1 -1
  183. package/build/web/ProgressBar.js +1 -1
  184. package/build/web/QuantitySelector.js +1 -1
  185. package/build/web/QuantitySelectorSideButton.js +1 -1
  186. package/build/web/QuickLinks.js +1 -1
  187. package/build/web/QuickLinksButton.js +1 -1
  188. package/build/web/QuickLinksCard.js +1 -1
  189. package/build/web/QuickLinksFeature.js +9 -3
  190. package/build/web/QuickLinksFeatureItem.js +2 -2
  191. package/build/web/QuickLinksList.js +1 -1
  192. package/build/web/Radio.js +4 -1
  193. package/build/web/RadioCard.js +1 -1
  194. package/build/web/RadioCardGroup.js +1 -1
  195. package/build/web/RadioGroup.js +1 -1
  196. package/build/web/Ribbon.js +1 -1
  197. package/build/web/Search.js +1 -1
  198. package/build/web/SearchButton.js +1 -1
  199. package/build/web/Select.js +1 -1
  200. package/build/web/SideNav.js +1 -1
  201. package/build/web/SideNavItem.js +1 -1
  202. package/build/web/SideNavItemsGroup.js +1 -1
  203. package/build/web/Skeleton.js +1 -1
  204. package/build/web/SkipLink.js +1 -1
  205. package/build/web/Spinner.js +1 -1
  206. package/build/web/SplashButton.js +1 -1
  207. package/build/web/SplashButtonWithDetails.js +1 -1
  208. package/build/web/StackView.js +1 -1
  209. package/build/web/StepTracker.js +1 -1
  210. package/build/web/StoryCard.js +1 -1
  211. package/build/web/Table.js +1 -1
  212. package/build/web/Tabs.js +1 -1
  213. package/build/web/TabsItem.js +1 -1
  214. package/build/web/Tags.js +1 -1
  215. package/build/web/TagsItem.js +1 -1
  216. package/build/web/TermsAndConditions.js +1 -1
  217. package/build/web/Testimonial.js +1 -1
  218. package/build/web/TextArea.js +1 -1
  219. package/build/web/TextInput.js +1 -1
  220. package/build/web/Timeline.js +1 -1
  221. package/build/web/Toast.js +1 -1
  222. package/build/web/ToggleSwitch.js +1 -1
  223. package/build/web/ToggleSwitchGroup.js +1 -1
  224. package/build/web/Tooltip.js +1 -1
  225. package/build/web/TooltipButton.js +1 -1
  226. package/build/web/Typography.js +1 -1
  227. package/build/web/Video.js +1 -1
  228. package/build/web/VideoButton.js +1 -1
  229. package/build/web/VideoControlBar.js +1 -1
  230. package/build/web/VideoMenu.js +1 -1
  231. package/build/web/VideoMiddleControlButton.js +1 -1
  232. package/build/web/VideoPicker.js +1 -1
  233. package/build/web/VideoPickerSlider.js +1 -1
  234. package/build/web/VideoPickerThumbnail.js +1 -1
  235. package/build/web/VideoProgressBar.js +1 -1
  236. package/build/web/VideoVolumeSlider.js +1 -1
  237. package/build/web/WaffleGrid.js +1 -1
  238. package/build/web/index.js +2 -1
  239. package/build/web/schema.json +920 -688
  240. package/build/web/spacingScale.js +1 -1
  241. package/build/web/theme.js +151 -7
  242. package/package.json +4 -4
  243. package/theme.json +159 -3
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:31:48 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:25 GMT
5
5
  *
6
6
  */
7
7
 
package/build/rn/theme.js CHANGED
@@ -1,17 +1,17 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:31:48 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:25 GMT
5
5
  *
6
6
  */
7
7
 
8
8
  const PaletteIconChevronRight = require('@telus-uds/palette-koodo/build/rn/icons/ChevronRight')
9
9
  const PaletteIconChevronDown = require('@telus-uds/palette-koodo/build/rn/icons/ChevronDown')
10
10
  const PaletteIconChevronUp = require('@telus-uds/palette-koodo/build/rn/icons/ChevronUp')
11
+ const PaletteIconCheck = require('@telus-uds/palette-koodo/build/rn/icons/Check')
11
12
  const PaletteIconPause = require('@telus-uds/palette-koodo/build/rn/icons/Pause')
12
13
  const PaletteIconPlay = require('@telus-uds/palette-koodo/build/rn/icons/Play')
13
14
  const PaletteIconChevronLeft = require('@telus-uds/palette-koodo/build/rn/icons/ChevronLeft')
14
- const PaletteIconCheck = require('@telus-uds/palette-koodo/build/rn/icons/Check')
15
15
  const PaletteIconCheckCircleFilled = require('@telus-uds/palette-koodo/build/rn/icons/CheckCircleFilled')
16
16
  const PaletteIconExclamationOctagon = require('@telus-uds/palette-koodo/build/rn/icons/ExclamationOctagon')
17
17
  const PaletteIconClose = require('@telus-uds/palette-koodo/build/rn/icons/Close')
@@ -1115,6 +1115,7 @@ module.exports = {
1115
1115
  values: [ true, false ]
1116
1116
  },
1117
1117
  interactive: { type: 'variant', values: [ true ] },
1118
+ isControl: { type: 'variant', values: [ true, false ] },
1118
1119
  padding: {
1119
1120
  type: 'variant',
1120
1121
  values: [ 'narrow', 'intermediate', 'compact', 'custom' ]
@@ -1124,6 +1125,11 @@ module.exports = {
1124
1125
  type: 'state',
1125
1126
  values: [ true, false ]
1126
1127
  },
1128
+ selected: {
1129
+ description: 'Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.',
1130
+ type: 'state',
1131
+ values: [ true ]
1132
+ },
1127
1133
  viewport: {
1128
1134
  description: 'The size label for the current screen viewport based on the current screen width',
1129
1135
  type: 'state',
@@ -1131,6 +1137,47 @@ module.exports = {
1131
1137
  }
1132
1138
  },
1133
1139
  rules: [
1140
+ {
1141
+ if: { interactive: true, isControl: true },
1142
+ tokens: { borderColor: '#c9c8c8', borderWidth: 1 }
1143
+ },
1144
+ {
1145
+ if: { interactive: true, isControl: true, selected: true },
1146
+ tokens: {
1147
+ backgroundColor: '#efefef',
1148
+ borderColor: '#000000',
1149
+ borderWidth: 1,
1150
+ iconBackgroundColor: '#c9c8c8',
1151
+ iconColor: '#000000',
1152
+ inputBackgroundColor: '#c9c8c8'
1153
+ }
1154
+ },
1155
+ {
1156
+ if: { hover: true, interactive: true, isControl: true },
1157
+ tokens: { iconColor: '#000000' }
1158
+ },
1159
+ {
1160
+ if: {
1161
+ focus: false,
1162
+ interactive: true,
1163
+ isControl: true,
1164
+ pressed: false
1165
+ },
1166
+ tokens: { borderColor: 'rgba(0, 0, 0, 0)', borderWidth: 2 }
1167
+ },
1168
+ {
1169
+ if: {
1170
+ hover: true,
1171
+ interactive: true,
1172
+ isControl: true,
1173
+ selected: true
1174
+ },
1175
+ tokens: {
1176
+ iconBackgroundColor: '#c9c8c8',
1177
+ iconColor: '#000000',
1178
+ inputBackgroundColor: '#c9c8c8'
1179
+ }
1180
+ },
1134
1181
  { if: { borderRadius: 'none' }, tokens: { borderRadius: 0 } },
1135
1182
  { if: { borderRadius: 'small' }, tokens: { borderRadius: 4 } },
1136
1183
  { if: { borderRadius: 'large' }, tokens: { borderRadius: 8 } },
@@ -1222,9 +1269,18 @@ module.exports = {
1222
1269
  }
1223
1270
  },
1224
1271
  {
1225
- if: { focus: false, interactive: true, pressed: false },
1272
+ if: {
1273
+ focus: false,
1274
+ interactive: true,
1275
+ isControl: false,
1276
+ pressed: false
1277
+ },
1226
1278
  tokens: { borderColor: '#ffffff', borderWidth: 2 }
1227
1279
  },
1280
+ {
1281
+ if: { focus: false, interactive: true, pressed: false },
1282
+ tokens: { borderColor: 'rgba(0, 0, 0, 0)', borderWidth: 2 }
1283
+ },
1228
1284
  {
1229
1285
  if: { hover: true, interactive: true },
1230
1286
  tokens: {
@@ -1243,6 +1299,14 @@ module.exports = {
1243
1299
  borderColor: '#c9c8c8',
1244
1300
  borderWidth: 2
1245
1301
  }
1302
+ },
1303
+ {
1304
+ if: { interactive: true, isControl: false, selected: true },
1305
+ tokens: {
1306
+ backgroundColor: '#efefef',
1307
+ borderColor: '#000000',
1308
+ borderWidth: 1
1309
+ }
1246
1310
  }
1247
1311
  ],
1248
1312
  tokens: {
@@ -1256,6 +1320,24 @@ module.exports = {
1256
1320
  contentJustifyContent: 'flex-start',
1257
1321
  flex: 1,
1258
1322
  gradient: null,
1323
+ icon: PaletteIconCheck,
1324
+ iconBackgroundColor: '#efefef',
1325
+ iconColor: '#000000',
1326
+ iconSize: 20,
1327
+ inputBackgroundColor: '#efefef',
1328
+ inputBorderColor: 'rgba(0, 0, 0, 0)',
1329
+ inputBorderRadius: 4,
1330
+ inputBorderWidth: 0,
1331
+ inputHeight: 32,
1332
+ inputShadow: {
1333
+ blur: 2,
1334
+ color: 'rgba(0, 0, 0, 0.1)',
1335
+ inset: true,
1336
+ offsetX: 0,
1337
+ offsetY: 2,
1338
+ spread: 0
1339
+ },
1340
+ inputWidth: 32,
1259
1341
  minWidth: null,
1260
1342
  paddingBottom: 32,
1261
1343
  paddingLeft: 24,
@@ -1264,6 +1346,59 @@ module.exports = {
1264
1346
  shadow: null
1265
1347
  }
1266
1348
  },
1349
+ CardGroup: {
1350
+ appearances: {
1351
+ focus: {
1352
+ 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.",
1353
+ platforms: [ 'rn', 'web' ],
1354
+ type: 'state',
1355
+ values: [ true, false ]
1356
+ },
1357
+ hover: {
1358
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
1359
+ platforms: [ 'rn', 'web' ],
1360
+ type: 'state',
1361
+ values: [ true, false ]
1362
+ },
1363
+ pressed: {
1364
+ 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.',
1365
+ type: 'state',
1366
+ values: [ true, false ]
1367
+ },
1368
+ selected: {
1369
+ description: 'Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.',
1370
+ type: 'state',
1371
+ values: [ true ]
1372
+ },
1373
+ viewport: {
1374
+ description: 'The size label for the current screen viewport based on the current screen width',
1375
+ type: 'state',
1376
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
1377
+ }
1378
+ },
1379
+ rules: [
1380
+ {
1381
+ if: { viewport: [ 'lg', 'xl' ] },
1382
+ tokens: { direction: 'row', space: 5 }
1383
+ },
1384
+ {
1385
+ if: { viewport: [ 'xs', 'sm', 'md' ] },
1386
+ tokens: { direction: 'column', fieldSpace: 3, space: 3 }
1387
+ }
1388
+ ],
1389
+ tokens: {
1390
+ borderBottomLeftRadius: 1,
1391
+ borderBottomRightRadius: 1,
1392
+ borderTopLeftRadius: 1,
1393
+ borderTopRightRadius: 1,
1394
+ direction: 'column',
1395
+ fieldSpace: 3,
1396
+ outlineOffset: 8,
1397
+ outlineWidth: 1,
1398
+ showIcon: true,
1399
+ space: 3
1400
+ }
1401
+ },
1267
1402
  Carousel: {
1268
1403
  appearances: {
1269
1404
  viewport: {
@@ -4720,8 +4855,14 @@ module.exports = {
4720
4855
  }
4721
4856
  },
4722
4857
  QuickLinksFeature: {
4723
- appearances: {},
4724
- rules: [],
4858
+ appearances: {
4859
+ viewport: {
4860
+ description: 'The size label for the current screen viewport based on the current screen width',
4861
+ type: 'state',
4862
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
4863
+ }
4864
+ },
4865
+ rules: [ { if: { viewport: 'xs' }, tokens: { stackSpace: 4 } } ],
4725
4866
  tokens: { stackGap: 5, stackJustify: 'center', stackSpace: 5 }
4726
4867
  },
4727
4868
  QuickLinksFeatureItem: {
@@ -4792,7 +4933,7 @@ module.exports = {
4792
4933
  fontName: 'StagSans',
4793
4934
  fontSize: 16,
4794
4935
  fontWeight: '600',
4795
- gap: 32,
4936
+ gap: 5,
4796
4937
  imageDimension: 128,
4797
4938
  outerBorderColor: 'rgba(0, 0, 0, 0)',
4798
4939
  textAlign: 'center',
@@ -4944,6 +5085,9 @@ module.exports = {
4944
5085
  descriptionFontWeight: '400',
4945
5086
  descriptionLineHeight: 1.4,
4946
5087
  descriptionMarginLeft: null,
5088
+ icon: null,
5089
+ iconBackgroundColor: 'rgba(0, 0, 0, 0)',
5090
+ iconColor: 'rgba(0, 0, 0, 0)',
4947
5091
  inputBackgroundColor: '#ffffff',
4948
5092
  inputBorderColor: '#ffffff',
4949
5093
  inputBorderWidth: 2,
@@ -7517,5 +7661,5 @@ module.exports = {
7517
7661
  tokens: { size: 96 }
7518
7662
  }
7519
7663
  },
7520
- metadata: { name: 'theme-koodo', themeTokensVersion: '2.55.0' }
7664
+ metadata: { name: 'theme-koodo', themeTokensVersion: '2.56.0' }
7521
7665
  }
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:32:11 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:49 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:32:11 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:49 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:32:11 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:49 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 Mon, 06 May 2024 16:32:11 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:49 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:32:11 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:49 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:32:11 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:49 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:32:11 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:49 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:32:11 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:49 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:32:11 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:49 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:32:11 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:49 GMT
5
5
  *
6
6
  */
7
7
 
package/build/web/Card.js CHANGED
@@ -1,11 +1,11 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:32:11 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:49 GMT
5
5
  *
6
6
  */
7
7
 
8
-
8
+ import PaletteIconCheck from '@telus-uds/palette-koodo/build/rn/icons/Check'
9
9
  const theme = {
10
10
  appearances: {
11
11
  background: {
@@ -27,6 +27,7 @@ const theme = {
27
27
  values: [ true, false ]
28
28
  },
29
29
  interactive: { type: 'variant', values: [ true ] },
30
+ isControl: { type: 'variant', values: [ true, false ] },
30
31
  padding: {
31
32
  type: 'variant',
32
33
  values: [ 'narrow', 'intermediate', 'compact', 'custom' ]
@@ -36,6 +37,11 @@ const theme = {
36
37
  type: 'state',
37
38
  values: [ true, false ]
38
39
  },
40
+ selected: {
41
+ description: 'Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.',
42
+ type: 'state',
43
+ values: [ true ]
44
+ },
39
45
  viewport: {
40
46
  description: 'The size label for the current screen viewport based on the current screen width',
41
47
  type: 'state',
@@ -43,6 +49,47 @@ const theme = {
43
49
  }
44
50
  },
45
51
  rules: [
52
+ {
53
+ if: { interactive: true, isControl: true },
54
+ tokens: { borderColor: '#c9c8c8', borderWidth: 1 }
55
+ },
56
+ {
57
+ if: { interactive: true, isControl: true, selected: true },
58
+ tokens: {
59
+ backgroundColor: '#efefef',
60
+ borderColor: '#000000',
61
+ borderWidth: 1,
62
+ iconBackgroundColor: '#c9c8c8',
63
+ iconColor: '#000000',
64
+ inputBackgroundColor: '#c9c8c8'
65
+ }
66
+ },
67
+ {
68
+ if: { hover: true, interactive: true, isControl: true },
69
+ tokens: { iconColor: '#000000' }
70
+ },
71
+ {
72
+ if: {
73
+ focus: false,
74
+ interactive: true,
75
+ isControl: true,
76
+ pressed: false
77
+ },
78
+ tokens: { borderColor: 'rgba(0, 0, 0, 0)', borderWidth: 2 }
79
+ },
80
+ {
81
+ if: {
82
+ hover: true,
83
+ interactive: true,
84
+ isControl: true,
85
+ selected: true
86
+ },
87
+ tokens: {
88
+ iconBackgroundColor: '#c9c8c8',
89
+ iconColor: '#000000',
90
+ inputBackgroundColor: '#c9c8c8'
91
+ }
92
+ },
46
93
  { if: { borderRadius: 'none' }, tokens: { borderRadius: 0 } },
47
94
  { if: { borderRadius: 'small' }, tokens: { borderRadius: 4 } },
48
95
  { if: { borderRadius: 'large' }, tokens: { borderRadius: 8 } },
@@ -126,9 +173,18 @@ const theme = {
126
173
  }
127
174
  },
128
175
  {
129
- if: { focus: false, interactive: true, pressed: false },
176
+ if: {
177
+ focus: false,
178
+ interactive: true,
179
+ isControl: false,
180
+ pressed: false
181
+ },
130
182
  tokens: { borderColor: '#ffffff', borderWidth: 2 }
131
183
  },
184
+ {
185
+ if: { focus: false, interactive: true, pressed: false },
186
+ tokens: { borderColor: 'rgba(0, 0, 0, 0)', borderWidth: 2 }
187
+ },
132
188
  {
133
189
  if: { hover: true, interactive: true },
134
190
  tokens: {
@@ -147,6 +203,14 @@ const theme = {
147
203
  borderColor: '#c9c8c8',
148
204
  borderWidth: 2
149
205
  }
206
+ },
207
+ {
208
+ if: { interactive: true, isControl: false, selected: true },
209
+ tokens: {
210
+ backgroundColor: '#efefef',
211
+ borderColor: '#000000',
212
+ borderWidth: 1
213
+ }
150
214
  }
151
215
  ],
152
216
  tokens: {
@@ -160,6 +224,24 @@ const theme = {
160
224
  contentJustifyContent: 'flex-start',
161
225
  flex: 1,
162
226
  gradient: null,
227
+ icon: PaletteIconCheck,
228
+ iconBackgroundColor: '#efefef',
229
+ iconColor: '#000000',
230
+ iconSize: 20,
231
+ inputBackgroundColor: '#efefef',
232
+ inputBorderColor: 'rgba(0, 0, 0, 0)',
233
+ inputBorderRadius: 4,
234
+ inputBorderWidth: 0,
235
+ inputHeight: 32,
236
+ inputShadow: {
237
+ blur: 2,
238
+ color: 'rgba(0, 0, 0, 0.1)',
239
+ inset: true,
240
+ offsetX: 0,
241
+ offsetY: 2,
242
+ spread: 0
243
+ },
244
+ inputWidth: 32,
163
245
  minWidth: null,
164
246
  paddingBottom: 32,
165
247
  paddingLeft: 24,
@@ -0,0 +1,62 @@
1
+ /*
2
+ *
3
+ * Do not edit directly
4
+ * Generated on Fri, 17 May 2024 16:23:49 GMT
5
+ *
6
+ */
7
+
8
+
9
+ const theme = {
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
+ },
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
+ },
28
+ selected: {
29
+ description: 'Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.',
30
+ type: 'state',
31
+ values: [ true ]
32
+ },
33
+ viewport: {
34
+ description: 'The size label for the current screen viewport based on the current screen width',
35
+ type: 'state',
36
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
37
+ }
38
+ },
39
+ rules: [
40
+ {
41
+ if: { viewport: [ 'lg', 'xl' ] },
42
+ tokens: { direction: 'row', space: 5 }
43
+ },
44
+ {
45
+ if: { viewport: [ 'xs', 'sm', 'md' ] },
46
+ tokens: { direction: 'column', fieldSpace: 3, space: 3 }
47
+ }
48
+ ],
49
+ tokens: {
50
+ borderBottomLeftRadius: 1,
51
+ borderBottomRightRadius: 1,
52
+ borderTopLeftRadius: 1,
53
+ borderTopRightRadius: 1,
54
+ direction: 'column',
55
+ fieldSpace: 3,
56
+ outlineOffset: 8,
57
+ outlineWidth: 1,
58
+ showIcon: true,
59
+ space: 3
60
+ }
61
+ }
62
+ export default theme
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:32:11 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:49 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:32:11 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:49 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:32:11 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:49 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:32:11 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:49 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:32:11 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:49 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:32:11 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:49 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:32:11 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:49 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:32:11 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:49 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:32:11 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:49 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:32:11 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:49 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:32:11 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:49 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,7 +1,7 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Mon, 06 May 2024 16:32:11 GMT
4
+ * Generated on Fri, 17 May 2024 16:23:49 GMT
5
5
  *
6
6
  */
7
7