@telus-uds/theme-koodo 5.13.0 → 5.15.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 (251) hide show
  1. package/build/android/Card.json +161 -0
  2. package/build/android/CardGroup.json +52 -0
  3. package/build/android/ExpandCollapseControl.json +1 -1
  4. package/build/android/ExpandCollapsePanel.json +4 -1
  5. package/build/android/List.json +6 -0
  6. package/build/android/QuickLinksFeature.json +17 -2
  7. package/build/android/QuickLinksFeatureItem.json +1 -1
  8. package/build/android/Radio.json +13 -0
  9. package/build/android/Typography.json +28 -9
  10. package/build/android/schema.json +927 -688
  11. package/build/android/theme.json +284 -15
  12. package/build/ios/Card.json +161 -0
  13. package/build/ios/CardGroup.json +52 -0
  14. package/build/ios/ExpandCollapseControl.json +1 -1
  15. package/build/ios/ExpandCollapsePanel.json +4 -1
  16. package/build/ios/List.json +6 -0
  17. package/build/ios/QuickLinksFeature.json +17 -2
  18. package/build/ios/QuickLinksFeatureItem.json +1 -1
  19. package/build/ios/Radio.json +13 -0
  20. package/build/ios/Typography.json +28 -9
  21. package/build/ios/schema.json +927 -688
  22. package/build/ios/theme.json +284 -15
  23. package/build/rn/ActivityIndicator.js +1 -1
  24. package/build/rn/Badge.js +1 -1
  25. package/build/rn/BlockQuote.js +1 -1
  26. package/build/rn/Box.js +1 -1
  27. package/build/rn/Breadcrumbs.js +1 -1
  28. package/build/rn/Button.js +1 -1
  29. package/build/rn/ButtonDropdown.js +1 -1
  30. package/build/rn/ButtonGroup.js +1 -1
  31. package/build/rn/ButtonGroupItem.js +1 -1
  32. package/build/rn/Callout.js +1 -1
  33. package/build/rn/Card.js +85 -3
  34. package/build/rn/CardGroup.js +62 -0
  35. package/build/rn/Carousel.js +1 -1
  36. package/build/rn/CarouselTabsPanelItem.js +1 -1
  37. package/build/rn/CarouselThumbnail.js +1 -1
  38. package/build/rn/Checkbox.js +1 -1
  39. package/build/rn/CheckboxCard.js +1 -1
  40. package/build/rn/CheckboxCardGroup.js +1 -1
  41. package/build/rn/CheckboxGroup.js +1 -1
  42. package/build/rn/ChevronLink.js +1 -1
  43. package/build/rn/ColourToggle.js +1 -1
  44. package/build/rn/Countdown.js +1 -1
  45. package/build/rn/DatePicker.js +1 -1
  46. package/build/rn/Disclaimer.js +1 -1
  47. package/build/rn/Divider.js +1 -1
  48. package/build/rn/ExpandCollapse.js +1 -1
  49. package/build/rn/ExpandCollapseControl.js +25 -2
  50. package/build/rn/ExpandCollapseMini.js +1 -1
  51. package/build/rn/ExpandCollapseMiniControl.js +1 -1
  52. package/build/rn/ExpandCollapsePanel.js +5 -2
  53. package/build/rn/Feedback.js +1 -1
  54. package/build/rn/Fieldset.js +1 -1
  55. package/build/rn/Footnote.js +1 -1
  56. package/build/rn/FootnoteLink.js +1 -1
  57. package/build/rn/HorizontalScrollButton.js +1 -1
  58. package/build/rn/Icon.js +1 -1
  59. package/build/rn/IconButton.js +1 -1
  60. package/build/rn/Image.js +1 -1
  61. package/build/rn/InputLabel.js +1 -1
  62. package/build/rn/InputSupports.js +1 -1
  63. package/build/rn/Link.js +1 -1
  64. package/build/rn/List.js +2 -1
  65. package/build/rn/Listbox.js +1 -1
  66. package/build/rn/Modal.js +1 -1
  67. package/build/rn/MultiSelectFilter.js +1 -1
  68. package/build/rn/NavigationBar.js +1 -1
  69. package/build/rn/Notification.js +1 -1
  70. package/build/rn/OrderedList.js +1 -1
  71. package/build/rn/Pagination.js +1 -1
  72. package/build/rn/PaginationPageButton.js +1 -1
  73. package/build/rn/PaginationSideButton.js +1 -1
  74. package/build/rn/PreviewCard.js +1 -1
  75. package/build/rn/PriceLockup.js +1 -1
  76. package/build/rn/ProductCard.js +1 -1
  77. package/build/rn/Progress.js +1 -1
  78. package/build/rn/ProgressBar.js +1 -1
  79. package/build/rn/QuantitySelector.js +1 -1
  80. package/build/rn/QuantitySelectorSideButton.js +1 -1
  81. package/build/rn/QuickLinks.js +1 -1
  82. package/build/rn/QuickLinksButton.js +1 -1
  83. package/build/rn/QuickLinksCard.js +1 -1
  84. package/build/rn/QuickLinksFeature.js +9 -3
  85. package/build/rn/QuickLinksFeatureItem.js +2 -2
  86. package/build/rn/QuickLinksList.js +1 -1
  87. package/build/rn/Radio.js +4 -1
  88. package/build/rn/RadioCard.js +1 -1
  89. package/build/rn/RadioCardGroup.js +1 -1
  90. package/build/rn/RadioGroup.js +1 -1
  91. package/build/rn/Ribbon.js +1 -1
  92. package/build/rn/Search.js +1 -1
  93. package/build/rn/SearchButton.js +1 -1
  94. package/build/rn/Select.js +1 -1
  95. package/build/rn/SideNav.js +1 -1
  96. package/build/rn/SideNavItem.js +1 -1
  97. package/build/rn/SideNavItemsGroup.js +1 -1
  98. package/build/rn/Skeleton.js +1 -1
  99. package/build/rn/SkipLink.js +1 -1
  100. package/build/rn/Spinner.js +1 -1
  101. package/build/rn/SplashButton.js +1 -1
  102. package/build/rn/SplashButtonWithDetails.js +1 -1
  103. package/build/rn/StackView.js +1 -1
  104. package/build/rn/StepTracker.js +1 -1
  105. package/build/rn/StoryCard.js +1 -1
  106. package/build/rn/Table.js +1 -1
  107. package/build/rn/Tabs.js +1 -1
  108. package/build/rn/TabsItem.js +1 -1
  109. package/build/rn/Tags.js +1 -1
  110. package/build/rn/TagsItem.js +1 -1
  111. package/build/rn/TermsAndConditions.js +1 -1
  112. package/build/rn/Testimonial.js +1 -1
  113. package/build/rn/TextArea.js +1 -1
  114. package/build/rn/TextInput.js +1 -1
  115. package/build/rn/Timeline.js +1 -1
  116. package/build/rn/Toast.js +1 -1
  117. package/build/rn/ToggleSwitch.js +1 -1
  118. package/build/rn/ToggleSwitchGroup.js +1 -1
  119. package/build/rn/Tooltip.js +1 -1
  120. package/build/rn/TooltipButton.js +1 -1
  121. package/build/rn/Typography.js +13 -8
  122. package/build/rn/Video.js +1 -1
  123. package/build/rn/VideoButton.js +1 -1
  124. package/build/rn/VideoControlBar.js +1 -1
  125. package/build/rn/VideoMenu.js +1 -1
  126. package/build/rn/VideoMiddleControlButton.js +1 -1
  127. package/build/rn/VideoPicker.js +1 -1
  128. package/build/rn/VideoPickerSlider.js +1 -1
  129. package/build/rn/VideoPickerThumbnail.js +1 -1
  130. package/build/rn/VideoProgressBar.js +1 -1
  131. package/build/rn/VideoVolumeSlider.js +1 -1
  132. package/build/rn/WaffleGrid.js +1 -1
  133. package/build/rn/schema.json +927 -688
  134. package/build/rn/spacingScale.js +1 -1
  135. package/build/rn/theme.js +192 -16
  136. package/build/web/ActivityIndicator.js +1 -1
  137. package/build/web/Badge.js +1 -1
  138. package/build/web/BlockQuote.js +1 -1
  139. package/build/web/Box.js +1 -1
  140. package/build/web/Breadcrumbs.js +1 -1
  141. package/build/web/Button.js +1 -1
  142. package/build/web/ButtonDropdown.js +1 -1
  143. package/build/web/ButtonGroup.js +1 -1
  144. package/build/web/ButtonGroupItem.js +1 -1
  145. package/build/web/Callout.js +1 -1
  146. package/build/web/Card.js +85 -3
  147. package/build/web/CardGroup.js +62 -0
  148. package/build/web/Carousel.js +1 -1
  149. package/build/web/CarouselTabsPanelItem.js +1 -1
  150. package/build/web/CarouselThumbnail.js +1 -1
  151. package/build/web/Checkbox.js +1 -1
  152. package/build/web/CheckboxCard.js +1 -1
  153. package/build/web/CheckboxCardGroup.js +1 -1
  154. package/build/web/CheckboxGroup.js +1 -1
  155. package/build/web/ChevronLink.js +1 -1
  156. package/build/web/ColourToggle.js +1 -1
  157. package/build/web/Countdown.js +1 -1
  158. package/build/web/DatePicker.js +1 -1
  159. package/build/web/Disclaimer.js +1 -1
  160. package/build/web/Divider.js +1 -1
  161. package/build/web/ExpandCollapse.js +1 -1
  162. package/build/web/ExpandCollapseControl.js +25 -2
  163. package/build/web/ExpandCollapseMini.js +1 -1
  164. package/build/web/ExpandCollapseMiniControl.js +1 -1
  165. package/build/web/ExpandCollapsePanel.js +5 -2
  166. package/build/web/Feedback.js +1 -1
  167. package/build/web/Fieldset.js +1 -1
  168. package/build/web/Footnote.js +1 -1
  169. package/build/web/FootnoteLink.js +1 -1
  170. package/build/web/HorizontalScrollButton.js +1 -1
  171. package/build/web/Icon.js +1 -1
  172. package/build/web/IconButton.js +1 -1
  173. package/build/web/Image.js +1 -1
  174. package/build/web/InputLabel.js +1 -1
  175. package/build/web/InputSupports.js +1 -1
  176. package/build/web/Link.js +1 -1
  177. package/build/web/List.js +2 -1
  178. package/build/web/Listbox.js +1 -1
  179. package/build/web/Modal.js +1 -1
  180. package/build/web/MultiSelectFilter.js +1 -1
  181. package/build/web/NavigationBar.js +1 -1
  182. package/build/web/Notification.js +1 -1
  183. package/build/web/OrderedList.js +1 -1
  184. package/build/web/Pagination.js +1 -1
  185. package/build/web/PaginationPageButton.js +1 -1
  186. package/build/web/PaginationSideButton.js +1 -1
  187. package/build/web/PreviewCard.js +1 -1
  188. package/build/web/PriceLockup.js +1 -1
  189. package/build/web/ProductCard.js +1 -1
  190. package/build/web/Progress.js +1 -1
  191. package/build/web/ProgressBar.js +1 -1
  192. package/build/web/QuantitySelector.js +1 -1
  193. package/build/web/QuantitySelectorSideButton.js +1 -1
  194. package/build/web/QuickLinks.js +1 -1
  195. package/build/web/QuickLinksButton.js +1 -1
  196. package/build/web/QuickLinksCard.js +1 -1
  197. package/build/web/QuickLinksFeature.js +9 -3
  198. package/build/web/QuickLinksFeatureItem.js +2 -2
  199. package/build/web/QuickLinksList.js +1 -1
  200. package/build/web/Radio.js +4 -1
  201. package/build/web/RadioCard.js +1 -1
  202. package/build/web/RadioCardGroup.js +1 -1
  203. package/build/web/RadioGroup.js +1 -1
  204. package/build/web/Ribbon.js +1 -1
  205. package/build/web/Search.js +1 -1
  206. package/build/web/SearchButton.js +1 -1
  207. package/build/web/Select.js +1 -1
  208. package/build/web/SideNav.js +1 -1
  209. package/build/web/SideNavItem.js +1 -1
  210. package/build/web/SideNavItemsGroup.js +1 -1
  211. package/build/web/Skeleton.js +1 -1
  212. package/build/web/SkipLink.js +1 -1
  213. package/build/web/Spinner.js +1 -1
  214. package/build/web/SplashButton.js +1 -1
  215. package/build/web/SplashButtonWithDetails.js +1 -1
  216. package/build/web/StackView.js +1 -1
  217. package/build/web/StepTracker.js +1 -1
  218. package/build/web/StoryCard.js +1 -1
  219. package/build/web/Table.js +1 -1
  220. package/build/web/Tabs.js +1 -1
  221. package/build/web/TabsItem.js +1 -1
  222. package/build/web/Tags.js +1 -1
  223. package/build/web/TagsItem.js +1 -1
  224. package/build/web/TermsAndConditions.js +1 -1
  225. package/build/web/Testimonial.js +1 -1
  226. package/build/web/TextArea.js +1 -1
  227. package/build/web/TextInput.js +1 -1
  228. package/build/web/Timeline.js +1 -1
  229. package/build/web/Toast.js +1 -1
  230. package/build/web/ToggleSwitch.js +1 -1
  231. package/build/web/ToggleSwitchGroup.js +1 -1
  232. package/build/web/Tooltip.js +1 -1
  233. package/build/web/TooltipButton.js +1 -1
  234. package/build/web/Typography.js +13 -8
  235. package/build/web/Video.js +1 -1
  236. package/build/web/VideoButton.js +1 -1
  237. package/build/web/VideoControlBar.js +1 -1
  238. package/build/web/VideoMenu.js +1 -1
  239. package/build/web/VideoMiddleControlButton.js +1 -1
  240. package/build/web/VideoPicker.js +1 -1
  241. package/build/web/VideoPickerSlider.js +1 -1
  242. package/build/web/VideoPickerThumbnail.js +1 -1
  243. package/build/web/VideoProgressBar.js +1 -1
  244. package/build/web/VideoVolumeSlider.js +1 -1
  245. package/build/web/WaffleGrid.js +1 -1
  246. package/build/web/index.js +2 -1
  247. package/build/web/schema.json +927 -688
  248. package/build/web/spacingScale.js +1 -1
  249. package/build/web/theme.js +192 -16
  250. package/package.json +4 -4
  251. package/theme.json +223 -14
@@ -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, 07 Jun 2024 22:34:31 GMT
5
5
  *
6
6
  */
7
7
 
@@ -1,17 +1,17 @@
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, 07 Jun 2024 22:34:32 GMT
5
5
  *
6
6
  */
7
7
 
8
8
  import PaletteIconChevronRight from '@telus-uds/palette-koodo/build/rn/icons/ChevronRight'
9
9
  import PaletteIconChevronDown from '@telus-uds/palette-koodo/build/rn/icons/ChevronDown'
10
10
  import PaletteIconChevronUp from '@telus-uds/palette-koodo/build/rn/icons/ChevronUp'
11
+ import PaletteIconCheck from '@telus-uds/palette-koodo/build/rn/icons/Check'
11
12
  import PaletteIconPause from '@telus-uds/palette-koodo/build/rn/icons/Pause'
12
13
  import PaletteIconPlay from '@telus-uds/palette-koodo/build/rn/icons/Play'
13
14
  import PaletteIconChevronLeft from '@telus-uds/palette-koodo/build/rn/icons/ChevronLeft'
14
- import PaletteIconCheck from '@telus-uds/palette-koodo/build/rn/icons/Check'
15
15
  import PaletteIconCheckCircleFilled from '@telus-uds/palette-koodo/build/rn/icons/CheckCircleFilled'
16
16
  import PaletteIconExclamationOctagon from '@telus-uds/palette-koodo/build/rn/icons/ExclamationOctagon'
17
17
  import PaletteIconClose from '@telus-uds/palette-koodo/build/rn/icons/Close'
@@ -1114,6 +1114,7 @@ const theme = {
1114
1114
  values: [ true, false ]
1115
1115
  },
1116
1116
  interactive: { type: 'variant', values: [ true ] },
1117
+ isControl: { type: 'variant', values: [ true, false ] },
1117
1118
  padding: {
1118
1119
  type: 'variant',
1119
1120
  values: [ 'narrow', 'intermediate', 'compact', 'custom' ]
@@ -1123,6 +1124,11 @@ const theme = {
1123
1124
  type: 'state',
1124
1125
  values: [ true, false ]
1125
1126
  },
1127
+ selected: {
1128
+ 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`.',
1129
+ type: 'state',
1130
+ values: [ true ]
1131
+ },
1126
1132
  viewport: {
1127
1133
  description: 'The size label for the current screen viewport based on the current screen width',
1128
1134
  type: 'state',
@@ -1130,6 +1136,47 @@ const theme = {
1130
1136
  }
1131
1137
  },
1132
1138
  rules: [
1139
+ {
1140
+ if: { interactive: true, isControl: true },
1141
+ tokens: { borderColor: '#c9c8c8', borderWidth: 1 }
1142
+ },
1143
+ {
1144
+ if: { interactive: true, isControl: true, selected: true },
1145
+ tokens: {
1146
+ backgroundColor: '#efefef',
1147
+ borderColor: '#000000',
1148
+ borderWidth: 1,
1149
+ iconBackgroundColor: '#c9c8c8',
1150
+ iconColor: '#000000',
1151
+ inputBackgroundColor: '#c9c8c8'
1152
+ }
1153
+ },
1154
+ {
1155
+ if: { hover: true, interactive: true, isControl: true },
1156
+ tokens: { iconColor: '#000000' }
1157
+ },
1158
+ {
1159
+ if: {
1160
+ focus: false,
1161
+ interactive: true,
1162
+ isControl: true,
1163
+ pressed: false
1164
+ },
1165
+ tokens: { borderColor: 'rgba(0, 0, 0, 0)', borderWidth: 2 }
1166
+ },
1167
+ {
1168
+ if: {
1169
+ hover: true,
1170
+ interactive: true,
1171
+ isControl: true,
1172
+ selected: true
1173
+ },
1174
+ tokens: {
1175
+ iconBackgroundColor: '#c9c8c8',
1176
+ iconColor: '#000000',
1177
+ inputBackgroundColor: '#c9c8c8'
1178
+ }
1179
+ },
1133
1180
  { if: { borderRadius: 'none' }, tokens: { borderRadius: 0 } },
1134
1181
  { if: { borderRadius: 'small' }, tokens: { borderRadius: 4 } },
1135
1182
  { if: { borderRadius: 'large' }, tokens: { borderRadius: 8 } },
@@ -1221,9 +1268,18 @@ const theme = {
1221
1268
  }
1222
1269
  },
1223
1270
  {
1224
- if: { focus: false, interactive: true, pressed: false },
1271
+ if: {
1272
+ focus: false,
1273
+ interactive: true,
1274
+ isControl: false,
1275
+ pressed: false
1276
+ },
1225
1277
  tokens: { borderColor: '#ffffff', borderWidth: 2 }
1226
1278
  },
1279
+ {
1280
+ if: { focus: false, interactive: true, pressed: false },
1281
+ tokens: { borderColor: 'rgba(0, 0, 0, 0)', borderWidth: 2 }
1282
+ },
1227
1283
  {
1228
1284
  if: { hover: true, interactive: true },
1229
1285
  tokens: {
@@ -1242,6 +1298,14 @@ const theme = {
1242
1298
  borderColor: '#c9c8c8',
1243
1299
  borderWidth: 2
1244
1300
  }
1301
+ },
1302
+ {
1303
+ if: { interactive: true, isControl: false, selected: true },
1304
+ tokens: {
1305
+ backgroundColor: '#efefef',
1306
+ borderColor: '#000000',
1307
+ borderWidth: 1
1308
+ }
1245
1309
  }
1246
1310
  ],
1247
1311
  tokens: {
@@ -1255,6 +1319,24 @@ const theme = {
1255
1319
  contentJustifyContent: 'flex-start',
1256
1320
  flex: 1,
1257
1321
  gradient: null,
1322
+ icon: PaletteIconCheck,
1323
+ iconBackgroundColor: '#efefef',
1324
+ iconColor: '#000000',
1325
+ iconSize: 20,
1326
+ inputBackgroundColor: '#efefef',
1327
+ inputBorderColor: 'rgba(0, 0, 0, 0)',
1328
+ inputBorderRadius: 4,
1329
+ inputBorderWidth: 0,
1330
+ inputHeight: 32,
1331
+ inputShadow: {
1332
+ blur: 2,
1333
+ color: 'rgba(0, 0, 0, 0.1)',
1334
+ inset: true,
1335
+ offsetX: 0,
1336
+ offsetY: 2,
1337
+ spread: 0
1338
+ },
1339
+ inputWidth: 32,
1258
1340
  minWidth: null,
1259
1341
  paddingBottom: 32,
1260
1342
  paddingLeft: 24,
@@ -1263,6 +1345,59 @@ const theme = {
1263
1345
  shadow: null
1264
1346
  }
1265
1347
  },
1348
+ CardGroup: {
1349
+ appearances: {
1350
+ focus: {
1351
+ 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.",
1352
+ platforms: [ 'rn', 'web' ],
1353
+ type: 'state',
1354
+ values: [ true, false ]
1355
+ },
1356
+ hover: {
1357
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
1358
+ platforms: [ 'rn', 'web' ],
1359
+ type: 'state',
1360
+ values: [ true, false ]
1361
+ },
1362
+ pressed: {
1363
+ 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.',
1364
+ type: 'state',
1365
+ values: [ true, false ]
1366
+ },
1367
+ selected: {
1368
+ 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`.',
1369
+ type: 'state',
1370
+ values: [ true ]
1371
+ },
1372
+ viewport: {
1373
+ description: 'The size label for the current screen viewport based on the current screen width',
1374
+ type: 'state',
1375
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
1376
+ }
1377
+ },
1378
+ rules: [
1379
+ {
1380
+ if: { viewport: [ 'lg', 'xl' ] },
1381
+ tokens: { direction: 'row', space: 5 }
1382
+ },
1383
+ {
1384
+ if: { viewport: [ 'xs', 'sm', 'md' ] },
1385
+ tokens: { direction: 'column', fieldSpace: 3, space: 3 }
1386
+ }
1387
+ ],
1388
+ tokens: {
1389
+ borderBottomLeftRadius: 1,
1390
+ borderBottomRightRadius: 1,
1391
+ borderTopLeftRadius: 1,
1392
+ borderTopRightRadius: 1,
1393
+ direction: 'column',
1394
+ fieldSpace: 3,
1395
+ outlineOffset: 8,
1396
+ outlineWidth: 1,
1397
+ showIcon: true,
1398
+ space: 3
1399
+ }
1400
+ },
1266
1401
  Carousel: {
1267
1402
  appearances: {
1268
1403
  viewport: {
@@ -2192,7 +2327,7 @@ const theme = {
2192
2327
  if: { mini: true },
2193
2328
  tokens: {
2194
2329
  borderColor: 'rgba(0, 0, 0, 0)',
2195
- borderWidth: 0,
2330
+ borderWidth: null,
2196
2331
  icon: PaletteIconChevronDown,
2197
2332
  iconColor: '#000000',
2198
2333
  iconGap: 8,
@@ -2222,6 +2357,17 @@ const theme = {
2222
2357
  borderWidth: 2
2223
2358
  }
2224
2359
  },
2360
+ {
2361
+ if: { focus: true, mini: true },
2362
+ tokens: {
2363
+ borderBottomLeftRadius: 4,
2364
+ borderBottomRightRadius: 4,
2365
+ borderColor: '#000000',
2366
+ borderTopLeftRadius: 4,
2367
+ borderTopRightRadius: 4,
2368
+ borderWidth: null
2369
+ }
2370
+ },
2225
2371
  {
2226
2372
  if: { hover: true },
2227
2373
  tokens: { backgroundColor: 'rgba(0, 0, 0, 0.1)' }
@@ -2242,6 +2388,18 @@ const theme = {
2242
2388
  borderWidth: 2
2243
2389
  }
2244
2390
  },
2391
+ {
2392
+ if: { focus: true, mini: true, pressed: true },
2393
+ tokens: {
2394
+ backgroundColor: 'rgba(0, 0, 0, 0.2)',
2395
+ borderBottomLeftRadius: 4,
2396
+ borderBottomRightRadius: 4,
2397
+ borderColor: '#000000',
2398
+ borderTopLeftRadius: 4,
2399
+ borderTopRightRadius: 4,
2400
+ borderWidth: null
2401
+ }
2402
+ },
2245
2403
  { if: { compact: true }, tokens: {} }
2246
2404
  ],
2247
2405
  tokens: {
@@ -2347,7 +2505,10 @@ const theme = {
2347
2505
  contentPaddingLeft: 0,
2348
2506
  contentPaddingRight: 0,
2349
2507
  contentPaddingTop: 0,
2350
- contentPanelBackgroundColor: 'rgba(0, 0, 0, 0)'
2508
+ contentPanelBackgroundColor: 'rgba(0, 0, 0, 0)',
2509
+ contentPanelPaddingBottom: 0,
2510
+ contentPanelPaddingTop: 0,
2511
+ marginBottom: 0
2351
2512
  }
2352
2513
  }
2353
2514
  ],
@@ -3255,6 +3416,7 @@ const theme = {
3255
3416
  itemIconColor: '#ff0076',
3256
3417
  itemIconSize: 16,
3257
3418
  itemLineHeight: 1.3,
3419
+ itemTextColor: '#000000',
3258
3420
  listGutter: 10
3259
3421
  }
3260
3422
  },
@@ -4719,8 +4881,14 @@ const theme = {
4719
4881
  }
4720
4882
  },
4721
4883
  QuickLinksFeature: {
4722
- appearances: {},
4723
- rules: [],
4884
+ appearances: {
4885
+ viewport: {
4886
+ description: 'The size label for the current screen viewport based on the current screen width',
4887
+ type: 'state',
4888
+ values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
4889
+ }
4890
+ },
4891
+ rules: [ { if: { viewport: 'xs' }, tokens: { stackSpace: 4 } } ],
4724
4892
  tokens: { stackGap: 5, stackJustify: 'center', stackSpace: 5 }
4725
4893
  },
4726
4894
  QuickLinksFeatureItem: {
@@ -4791,7 +4959,7 @@ const theme = {
4791
4959
  fontName: 'StagSans',
4792
4960
  fontSize: 16,
4793
4961
  fontWeight: '600',
4794
- gap: 32,
4962
+ gap: 5,
4795
4963
  imageDimension: 128,
4796
4964
  outerBorderColor: 'rgba(0, 0, 0, 0)',
4797
4965
  textAlign: 'center',
@@ -4943,6 +5111,9 @@ const theme = {
4943
5111
  descriptionFontWeight: '400',
4944
5112
  descriptionLineHeight: 1.4,
4945
5113
  descriptionMarginLeft: null,
5114
+ icon: null,
5115
+ iconBackgroundColor: 'rgba(0, 0, 0, 0)',
5116
+ iconColor: 'rgba(0, 0, 0, 0)',
4946
5117
  inputBackgroundColor: '#ffffff',
4947
5118
  inputBorderColor: '#ffffff',
4948
5119
  inputBorderWidth: 2,
@@ -7094,17 +7265,18 @@ const theme = {
7094
7265
  textTransform: 'uppercase'
7095
7266
  }
7096
7267
  },
7097
- {
7098
- if: { compact: true, size: 'large' },
7099
- tokens: { lineHeight: 1.2 }
7100
- },
7101
7268
  {
7102
7269
  if: { size: 'medium' },
7103
7270
  tokens: { fontSize: 16, lineHeight: 1.5 }
7104
7271
  },
7272
+ { if: { compact: true }, tokens: { lineHeight: 1.25 } },
7105
7273
  {
7106
- if: { compact: true, size: 'medium' },
7107
- tokens: { lineHeight: 1.25 }
7274
+ if: { compact: true, size: 'large' },
7275
+ tokens: { lineHeight: 1.2 }
7276
+ },
7277
+ {
7278
+ if: { bold: true, compact: true, size: 'large' },
7279
+ tokens: { lineHeight: 1.2 }
7108
7280
  },
7109
7281
  {
7110
7282
  if: { size: 'small' },
@@ -7120,7 +7292,11 @@ const theme = {
7120
7292
  },
7121
7293
  {
7122
7294
  if: { compact: true, size: 'micro' },
7123
- tokens: { lineHeight: 1.33333333333 }
7295
+ tokens: { lineHeight: 1.2 }
7296
+ },
7297
+ {
7298
+ if: { bold: true, compact: true, size: 'micro' },
7299
+ tokens: { lineHeight: 1.2 }
7124
7300
  },
7125
7301
  {
7126
7302
  if: { size: 'display1' },
@@ -7516,6 +7692,6 @@ const theme = {
7516
7692
  tokens: { size: 96 }
7517
7693
  }
7518
7694
  },
7519
- metadata: { name: 'theme-koodo', themeTokensVersion: '2.55.0' }
7695
+ metadata: { name: 'theme-koodo', themeTokensVersion: '2.57.0' }
7520
7696
  }
7521
7697
  export default theme
package/package.json CHANGED
@@ -5,8 +5,8 @@
5
5
  },
6
6
  "description": "Koodo theme",
7
7
  "devDependencies": {
8
- "@telus-uds/palette-koodo": "^1.2.0",
9
- "@telus-uds/system-theme-tokens": "^2.55.0"
8
+ "@telus-uds/palette-koodo": "^1.4.0",
9
+ "@telus-uds/system-theme-tokens": "^2.57.0"
10
10
  },
11
11
  "files": [
12
12
  "build",
@@ -20,7 +20,7 @@
20
20
  "main": "build/rn/theme.js",
21
21
  "name": "@telus-uds/theme-koodo",
22
22
  "peerDependencies": {
23
- "@telus-uds/palette-koodo": "^1.2.0"
23
+ "@telus-uds/palette-koodo": "^1.4.0"
24
24
  },
25
25
  "repository": {
26
26
  "type": "git",
@@ -31,5 +31,5 @@
31
31
  "build": "UDS_PALETTE=@telus-uds/palette-koodo system-tokens-build-theme",
32
32
  "dev": "nodemon -w src -x 'npm run build'"
33
33
  },
34
- "version": "5.13.0"
34
+ "version": "5.15.0"
35
35
  }