@telus-uds/theme-koodo 3.18.0 → 3.20.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.
package/build/rn/theme.js CHANGED
@@ -1,15 +1,17 @@
1
1
  /*
2
2
  *
3
3
  * Do not edit directly
4
- * Generated on Tue, 04 Apr 2023 19:52:38 GMT
4
+ * Generated on Wed, 19 Apr 2023 11:23:02 GMT
5
5
  *
6
6
  */
7
7
 
8
+ const PaletteIconChevronRight = require('@telus-uds/palette-koodo/build/rn/icons/ChevronRight')
8
9
  const PaletteIconChevronDown = require('@telus-uds/palette-koodo/build/rn/icons/ChevronDown')
9
10
  const PaletteIconChevronUp = require('@telus-uds/palette-koodo/build/rn/icons/ChevronUp')
10
- const PaletteIconChevronRight = require('@telus-uds/palette-koodo/build/rn/icons/ChevronRight')
11
11
  const PaletteIconChevronLeft = require('@telus-uds/palette-koodo/build/rn/icons/ChevronLeft')
12
12
  const PaletteIconCheck = require('@telus-uds/palette-koodo/build/rn/icons/Check')
13
+ const PaletteIconArrowRight = require('@telus-uds/palette-koodo/build/rn/icons/ArrowRight')
14
+ const PaletteIconArrowLeft = require('@telus-uds/palette-koodo/build/rn/icons/ArrowLeft')
13
15
  const PaletteIconCheckCircledFilled = require('@telus-uds/palette-koodo/build/rn/icons/CheckCircledFilled')
14
16
  const PaletteIconCaution = require('@telus-uds/palette-koodo/build/rn/icons/Caution')
15
17
  const PaletteIconTimes = require('@telus-uds/palette-koodo/build/rn/icons/Times')
@@ -192,6 +194,16 @@ module.exports = {
192
194
  ],
193
195
  tokens: { backgroundColor: '#ffffff', gradient: null }
194
196
  },
197
+ Breadcrumbs: {
198
+ appearances: { inverse: { type: 'variant', values: [ true ] } },
199
+ rules: [ { if: { inverse: true }, tokens: { iconColor: null } } ],
200
+ tokens: {
201
+ icon: PaletteIconChevronRight,
202
+ iconColor: null,
203
+ iconPadding: 8,
204
+ listItemPadding: 0
205
+ }
206
+ },
195
207
  Button: {
196
208
  appearances: {
197
209
  danger: {
@@ -826,6 +838,25 @@ module.exports = {
826
838
  width: null
827
839
  }
828
840
  },
841
+ Callout: {
842
+ appearances: { size: { type: 'variant', values: [ 'small' ] } },
843
+ rules: [
844
+ {
845
+ if: { size: 'small' },
846
+ tokens: { paddingBottom: 4, paddingTop: 4 }
847
+ }
848
+ ],
849
+ tokens: {
850
+ background: '#efefef',
851
+ borderRadius: 4,
852
+ color: '#000000',
853
+ gap: 16,
854
+ paddingBottom: 8,
855
+ paddingLeft: 16,
856
+ paddingRight: 16,
857
+ paddingTop: 8
858
+ }
859
+ },
829
860
  Card: {
830
861
  appearances: {
831
862
  background: {
@@ -1163,6 +1194,65 @@ module.exports = {
1163
1194
  textLine: 'none'
1164
1195
  }
1165
1196
  },
1197
+ DatePicker: {
1198
+ appearances: {},
1199
+ rules: [],
1200
+ tokens: {
1201
+ calendarDayBlockedCalendarHoverBackground: null,
1202
+ calendarDayBlockedCalendarHoverColor: null,
1203
+ calendarDayDefaultBeforeHeight: 14,
1204
+ calendarDayDefaultBeforeWidth: 14,
1205
+ calendarDayDefaultBorder: 1,
1206
+ calendarDayDefaultBorderColor: null,
1207
+ calendarDayDefaultCalendarDaySelectedHoverBackground: null,
1208
+ calendarDayDefaultCalendarDaySelectedHoverColor: null,
1209
+ calendarDayDefaultColor: null,
1210
+ calendarDayDefaultFontName: 'StagSans',
1211
+ calendarDayDefaultFontSize: 12,
1212
+ calendarDayDefaultFontWeight: '300',
1213
+ calendarDaySelectedHoverBeforeBackground: null,
1214
+ calendarDaySelectedHoverBorderColor: null,
1215
+ calendarDaySelectedHoverColor: null,
1216
+ calendarMonthCaptionColor: null,
1217
+ calendarMonthCaptionFontName: 'StagSans',
1218
+ calendarMonthCaptionFontSize: 20,
1219
+ calendarMonthCaptionFontWeight: '400',
1220
+ calendarMonthCaptionLineHeight: 1.4,
1221
+ calendarMonthCaptionPaddingBottom: 48,
1222
+ dateInputBorderColor: 'rgba(0, 0, 0, 0)',
1223
+ dateInputBorderRadius: 4,
1224
+ dateInputFocusBorderColor: null,
1225
+ dateInputHoverBorderColor: null,
1226
+ dateInputInsideBorderColor: null,
1227
+ dateInputInsideColor: null,
1228
+ dateInputStrokeColor: null,
1229
+ dayPickerNavigationButtonBackgroundColor: null,
1230
+ dayPickerNavigationButtonBorderColor: null,
1231
+ dayPickerNavigationButtonChildLeft: 8,
1232
+ dayPickerNavigationButtonChildRight: 8,
1233
+ dayPickerNavigationButtonChildSvgFill: null,
1234
+ dayPickerNavigationButtonDefaultHoverBorderColor: null,
1235
+ dayPickerNavigationButtonMaxHeight: 32,
1236
+ dayPickerNavigationButtonMaxWidth: 32,
1237
+ dayPickerNavigationButtonPadding: 8,
1238
+ dayPickerNavigationSVGHorizontalFill: null,
1239
+ dayPickerWeekHeaderColor: null,
1240
+ dayPickerWeekHeaderFontName: 'StagSans',
1241
+ dayPickerWeekHeaderFontWeight: '500',
1242
+ dayPickerWeekHeaderLineHeight: 1.42857142857,
1243
+ dayPickerWeekHeaderSmall: 14,
1244
+ hiddenInputFieldContainerHeight: 0,
1245
+ hiddenInputFieldContainerWidth: 0,
1246
+ invalidInputMixin: null,
1247
+ nextIcon: PaletteIconArrowRight,
1248
+ previousIcon: PaletteIconArrowLeft,
1249
+ singleDatePickerBorderColor: null,
1250
+ singleDatePickerLeftRight: 16,
1251
+ singleDatePickerPaddingTopBottom: 8,
1252
+ singleDatePickerRadius: 4,
1253
+ validInputMixin: null
1254
+ }
1255
+ },
1166
1256
  Divider: {
1167
1257
  appearances: {
1168
1258
  decorative: {
@@ -1229,6 +1319,23 @@ module.exports = {
1229
1319
  verticalAlign: 'middle'
1230
1320
  }
1231
1321
  },
1322
+ ExpandCollapseMini: { appearances: {}, rules: [], tokens: { borderWidth: 0 } },
1323
+ ExpandCollapseMiniControl: {
1324
+ appearances: {
1325
+ expanded: {
1326
+ description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
1327
+ type: 'state',
1328
+ values: [ true ]
1329
+ }
1330
+ },
1331
+ rules: [
1332
+ {
1333
+ if: { expanded: true },
1334
+ tokens: { icon: PaletteIconChevronUp }
1335
+ }
1336
+ ],
1337
+ tokens: { icon: PaletteIconChevronDown, size: 4 }
1338
+ },
1232
1339
  ExpandCollapsePanel: {
1233
1340
  appearances: {},
1234
1341
  rules: [],
@@ -1289,6 +1396,42 @@ module.exports = {
1289
1396
  titleFontSize: 16
1290
1397
  }
1291
1398
  },
1399
+ Footnote: {
1400
+ appearances: {},
1401
+ rules: [],
1402
+ tokens: {
1403
+ closeButtonBorderColor: '#000000',
1404
+ closeButtonBorderSize: 1,
1405
+ closeButtonHeight: 24,
1406
+ closeButtonIconSize: 16,
1407
+ closeButtonMarginBottom: 4,
1408
+ closeButtonMarginLeft: 4,
1409
+ closeButtonMarginRight: 12,
1410
+ closeButtonMarginTop: 12,
1411
+ closeButtonWidth: 24,
1412
+ footnoteBackground: '#fafafa',
1413
+ footnoteBodyBackground: '#fafafa',
1414
+ footnoteBodyPaddingBottom: 32,
1415
+ footnoteBodyPaddingLeft: 16,
1416
+ footnoteBodyPaddingRight: 16,
1417
+ footnoteBodyPaddingTop: 0,
1418
+ footnoteBorderColorMd: '#c9c8c8',
1419
+ footnoteBorderTopSizeMd: 1,
1420
+ headerMargin: 16,
1421
+ listItemColor: '#000000',
1422
+ listItemFontSize: 14,
1423
+ listItemLineHeight: 1.42857142857,
1424
+ listItemMarkerFontSize: 16,
1425
+ listItemMarkerLineHeight: 1.42857142857,
1426
+ listItemPaddingLeft: 8,
1427
+ listPaddingLeft: 32
1428
+ }
1429
+ },
1430
+ FootnoteLink: {
1431
+ appearances: {},
1432
+ rules: [],
1433
+ tokens: { lineHeight: 1, paddingLeft: 2, paddingRight: 2 }
1434
+ },
1292
1435
  HorizontalScrollButton: {
1293
1436
  appearances: {
1294
1437
  focus: {
@@ -1329,10 +1472,10 @@ module.exports = {
1329
1472
  ],
1330
1473
  tokens: {
1331
1474
  backgroundColor: '#ffffff',
1332
- borderColor: '#c9c8c8',
1475
+ borderColor: '#016b6a',
1333
1476
  borderRadius: 32,
1334
1477
  borderWidth: 1,
1335
- iconColor: '#016b6a',
1478
+ iconColor: '#000000',
1336
1479
  iconScale: 1,
1337
1480
  iconSize: 16,
1338
1481
  iconTranslateX: 0,
@@ -1412,6 +1555,11 @@ module.exports = {
1412
1555
  type: 'state',
1413
1556
  values: [ true ]
1414
1557
  },
1558
+ inverse: {
1559
+ description: 'For use on dark backgrounds',
1560
+ type: 'variant',
1561
+ values: [ true ]
1562
+ },
1415
1563
  password: {
1416
1564
  description: 'Password masked or not',
1417
1565
  type: 'variant',
@@ -1421,63 +1569,177 @@ module.exports = {
1421
1569
  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.',
1422
1570
  type: 'state',
1423
1571
  values: [ true ]
1424
- }
1572
+ },
1573
+ raised: {
1574
+ description: 'Uses shadow and background colour to appear raised above the page',
1575
+ type: 'variant',
1576
+ values: [ true ]
1577
+ },
1578
+ size: { type: 'variant', values: [ 'small', 'large' ] }
1425
1579
  },
1426
1580
  rules: [
1427
- { if: { compact: true }, tokens: { outerBorderGap: 0 } },
1581
+ { if: { inverse: true }, tokens: { iconColor: '#ffffff' } },
1428
1582
  {
1429
1583
  if: { hover: true },
1430
- tokens: { backgroundColor: '#016b6a', iconColor: '#ffffff' }
1584
+ tokens: {
1585
+ backgroundColor: '#016b6a',
1586
+ iconColor: '#ffffff',
1587
+ iconScale: 1.1
1588
+ }
1589
+ },
1590
+ {
1591
+ if: { hover: true, password: true },
1592
+ tokens: {
1593
+ backgroundColor: '#016b6a',
1594
+ borderColor: '#016b6a',
1595
+ iconColor: '#ffffff'
1596
+ }
1431
1597
  },
1432
1598
  {
1433
1599
  if: { password: true },
1434
- tokens: { borderColor: 'rgba(0, 0, 0, 0)' }
1600
+ tokens: { borderColor: 'transparent' }
1435
1601
  },
1436
1602
  {
1437
- if: { password: true, pressed: true },
1603
+ if: { focus: true, password: true },
1604
+ tokens: { borderColor: '#016b6a' }
1605
+ },
1606
+ {
1607
+ if: { hover: true, inverse: true },
1608
+ tokens: { backgroundColor: '#bbeaf5', iconColor: '#000000' }
1609
+ },
1610
+ {
1611
+ if: { focus: true },
1438
1612
  tokens: {
1439
- backgroundColor: '#1b4746',
1440
- borderColor: '#1b4746',
1441
- iconColor: '#ffffff'
1613
+ backgroundColor: 'transparent',
1614
+ iconColor: '#000000',
1615
+ outerBorderColor: '#016b6a',
1616
+ outerBorderWidth: 1
1617
+ }
1618
+ },
1619
+ {
1620
+ if: { focus: true, password: true },
1621
+ tokens: {
1622
+ outerBorderColor: '#016b6a',
1623
+ outerBorderGap: 4,
1624
+ outerBorderWidth: 2
1625
+ }
1626
+ },
1627
+ {
1628
+ if: { focus: true, inverse: true },
1629
+ tokens: {
1630
+ backgroundColor: 'transparent',
1631
+ borderColor: '#e5f7fb',
1632
+ iconColor: '#e5f7fb',
1633
+ outerBorderColor: '#e5f7fb',
1634
+ outerBorderWidth: 1
1442
1635
  }
1443
1636
  },
1444
1637
  {
1445
1638
  if: { pressed: true },
1446
1639
  tokens: {
1447
- backgroundColor: '#1b4746',
1448
- borderColor: '#1b4746',
1449
- iconColor: '#ffffff'
1640
+ backgroundColor: '#014847',
1641
+ iconColor: '#ffffff',
1642
+ outerBorderWidth: 0
1450
1643
  }
1451
1644
  },
1452
1645
  {
1453
- if: { focus: true, password: true },
1646
+ if: { password: true, pressed: true },
1454
1647
  tokens: {
1648
+ backgroundColor: '#014847',
1649
+ borderColor: '#014847',
1650
+ iconColor: '#ffffff',
1651
+ outerBorderGap: 4
1652
+ }
1653
+ },
1654
+ {
1655
+ if: { inverse: true, pressed: true },
1656
+ tokens: {
1657
+ backgroundColor: '#c9c8c8',
1658
+ borderColor: '#c9c8c8',
1659
+ iconColor: '#000000',
1660
+ outerBorderWidth: 0
1661
+ }
1662
+ },
1663
+ {
1664
+ if: { size: 'large' },
1665
+ tokens: { iconSize: 24, padding: 12 }
1666
+ },
1667
+ { if: { size: 'small' }, tokens: { iconSize: 16, padding: 4 } },
1668
+ {
1669
+ description: 'Raised IconButtons follow different design patterns to other variants',
1670
+ if: { raised: true },
1671
+ tokens: {
1672
+ backgroundColor: '#ffffff',
1673
+ borderColor: '#016b6a',
1674
+ borderWidth: 1,
1675
+ iconSize: 16,
1676
+ outerBorderColor: 'transparent',
1677
+ outerBorderGap: 0,
1678
+ outerBorderWidth: 0,
1679
+ padding: 8,
1680
+ shadow: {
1681
+ blur: 2,
1682
+ color: 'rgba(0, 0, 0, 0.1)',
1683
+ inset: false,
1684
+ offsetX: 0,
1685
+ offsetY: 2,
1686
+ spread: 0
1687
+ }
1688
+ }
1689
+ },
1690
+ {
1691
+ if: { hover: true, raised: true },
1692
+ tokens: { backgroundColor: '#016b6a', iconColor: '#ffffff' }
1693
+ },
1694
+ {
1695
+ if: { raised: true, size: 'large' },
1696
+ tokens: { iconSize: 24, padding: 12 }
1697
+ },
1698
+ { if: { raised: true, size: 'small' }, tokens: { padding: 8 } },
1699
+ {
1700
+ if: { focus: true, raised: true },
1701
+ tokens: {
1702
+ backgroundColor: '#ffffff',
1455
1703
  borderColor: '#016b6a',
1456
1704
  borderWidth: 3,
1457
- iconColor: '#016b6a'
1705
+ iconColor: '#000000'
1458
1706
  }
1459
1707
  },
1460
1708
  {
1461
- if: { inactive: true },
1709
+ if: { pressed: true, raised: true },
1462
1710
  tokens: {
1463
- backgroundColor: 'rgba(0, 0, 0, 0)',
1711
+ backgroundColor: '#014847',
1464
1712
  borderWidth: 0,
1465
1713
  iconColor: '#ffffff'
1466
1714
  }
1467
1715
  },
1468
1716
  {
1469
1717
  if: { inactive: true, password: true },
1470
- tokens: { iconColor: '#c9c8c8' }
1471
- }
1718
+ tokens: {
1719
+ backgroundColor: 'rgba(0, 0, 0, 0)',
1720
+ borderWidth: 0,
1721
+ iconColor: '#014847',
1722
+ outerBorderColor: 'rgba(0, 0, 0, 0)'
1723
+ }
1724
+ },
1725
+ {
1726
+ if: { focus: true, pressed: true, raised: true },
1727
+ tokens: {
1728
+ backgroundColor: '#014847',
1729
+ borderWidth: 0,
1730
+ iconColor: '#ffffff'
1731
+ }
1732
+ },
1733
+ { if: { compact: true }, tokens: { outerBorderGap: 0 } }
1472
1734
  ],
1473
1735
  tokens: {
1474
1736
  backgroundColor: 'transparent',
1475
- borderColor: '#016b6a',
1737
+ borderColor: 'transparent',
1476
1738
  borderRadius: 99999999999999,
1477
- borderWidth: 3,
1478
- iconColor: '#016b6a',
1739
+ borderWidth: 1,
1740
+ iconColor: '#000000',
1479
1741
  iconScale: 1,
1480
- iconSize: 24,
1742
+ iconSize: 16,
1481
1743
  iconTranslateX: 0,
1482
1744
  iconTranslateY: 0,
1483
1745
  outerBorderColor: 'transparent',
@@ -1487,6 +1749,7 @@ module.exports = {
1487
1749
  shadow: null
1488
1750
  }
1489
1751
  },
1752
+ Image: { appearances: {}, rules: [], tokens: { borderRadius: 4 } },
1490
1753
  InputLabel: {
1491
1754
  appearances: {},
1492
1755
  rules: [],
@@ -1710,7 +1973,13 @@ module.exports = {
1710
1973
  rules: [
1711
1974
  {
1712
1975
  if: { viewport: [ 'xs', 'sm' ] },
1713
- tokens: { height: '100%' }
1976
+ tokens: {
1977
+ height: '100%',
1978
+ paddingBottom: 24,
1979
+ paddingLeft: 24,
1980
+ paddingRight: 24,
1981
+ paddingTop: 24
1982
+ }
1714
1983
  },
1715
1984
  {
1716
1985
  if: { viewport: [ 'md', 'lg', 'xl' ] },
@@ -1733,7 +2002,9 @@ module.exports = {
1733
2002
  backdropColor: '#000000',
1734
2003
  backdropOpacity: 0.5,
1735
2004
  backgroundColor: '#ffffff',
2005
+ borderColor: '#ffffff',
1736
2006
  borderRadius: 4,
2007
+ cancelButtonColor: '#000000',
1737
2008
  closeIcon: PaletteIconTimes,
1738
2009
  closeIconColor: '#000000',
1739
2010
  closeIconSize: 24,
@@ -1742,12 +2013,17 @@ module.exports = {
1742
2013
  containerPaddingLeft: 0,
1743
2014
  containerPaddingRight: 0,
1744
2015
  containerPaddingTop: 0,
2016
+ gap: 16,
2017
+ headingColor: '#000000',
2018
+ headingPaddingRight: 24,
1745
2019
  height: null,
2020
+ marginLeft: 24,
2021
+ marginRight: 24,
1746
2022
  maxWidth: '100%',
1747
- paddingBottom: 16,
1748
- paddingLeft: 16,
1749
- paddingRight: 16,
1750
- paddingTop: 16,
2023
+ paddingBottom: 24,
2024
+ paddingLeft: 32,
2025
+ paddingRight: 32,
2026
+ paddingTop: 24,
1751
2027
  shadow: {
1752
2028
  blur: 0,
1753
2029
  color: 'rgba(0, 0, 0, 0)',
@@ -1755,7 +2031,8 @@ module.exports = {
1755
2031
  offsetX: 0,
1756
2032
  offsetY: 0,
1757
2033
  spread: 0
1758
- }
2034
+ },
2035
+ subHeadingMarginTop: 8
1759
2036
  }
1760
2037
  },
1761
2038
  Notification: {
@@ -2077,6 +2354,60 @@ module.exports = {
2077
2354
  width: null
2078
2355
  }
2079
2356
  },
2357
+ PreviewCard: {
2358
+ appearances: {
2359
+ focus: {
2360
+ 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.",
2361
+ platforms: [ 'rn' ],
2362
+ type: 'state',
2363
+ values: [ true ]
2364
+ },
2365
+ hover: {
2366
+ description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
2367
+ platforms: [ 'rn' ],
2368
+ type: 'state',
2369
+ values: [ true ]
2370
+ },
2371
+ pressed: {
2372
+ 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.",
2373
+ platforms: [ 'rn' ],
2374
+ type: 'state',
2375
+ values: [ true ]
2376
+ }
2377
+ },
2378
+ rules: [],
2379
+ tokens: {
2380
+ backgroundColor: '#ffffff',
2381
+ borderColor: '#ffffff',
2382
+ borderRadius: 0,
2383
+ borderWidth: 1,
2384
+ flex: 1,
2385
+ outerBorderColor: '#ffffff',
2386
+ outerBorderGap: 0,
2387
+ outerBorderWidth: 0,
2388
+ paddingBottom: 0,
2389
+ paddingLeft: 0,
2390
+ paddingRight: 0,
2391
+ paddingTop: 0,
2392
+ separatorColor: '#000000'
2393
+ }
2394
+ },
2395
+ PriceLockup: {
2396
+ appearances: {},
2397
+ rules: [],
2398
+ tokens: {
2399
+ bottomLinksMarginLeft: 4,
2400
+ bottomTextMarginTop: 4,
2401
+ dividerColor: '#666666',
2402
+ fontColor: '#000000',
2403
+ footnoteGap: 4,
2404
+ footnoteMarginTop: 4,
2405
+ priceMarginBottom: 8,
2406
+ strikeThroughBackground: '#efefef',
2407
+ strikeThroughHeight: 2,
2408
+ topTextMarginBottom: 4
2409
+ }
2410
+ },
2080
2411
  Progress: {
2081
2412
  appearances: { size: { type: 'variant', values: [ 'mini' ] } },
2082
2413
  rules: [ { if: { size: 'mini' }, tokens: { height: 8 } } ],
@@ -2366,17 +2697,6 @@ module.exports = {
2366
2697
  outerBorderWidth: 1
2367
2698
  }
2368
2699
  },
2369
- {
2370
- if: { checked: true, focus: true },
2371
- tokens: {
2372
- inputBackgroundColor: '#016b6a',
2373
- inputBorderColor: '#ffffff',
2374
- inputOutlineColor: '#016b6a',
2375
- outerBorderColor: '#17367d',
2376
- outerBorderGap: 5,
2377
- outerBorderWidth: 1
2378
- }
2379
- },
2380
2700
  {
2381
2701
  if: { hover: true },
2382
2702
  tokens: {
@@ -2385,24 +2705,6 @@ module.exports = {
2385
2705
  outerBorderWidth: 1
2386
2706
  }
2387
2707
  },
2388
- {
2389
- if: { checked: true, hover: true },
2390
- tokens: {
2391
- inputBackgroundColor: '#016b6a',
2392
- inputBorderColor: '#ffffff',
2393
- inputOutlineColor: '#016b6a',
2394
- outerBorderColor: '#17367d',
2395
- outerBorderGap: 5,
2396
- outerBorderWidth: 1
2397
- }
2398
- },
2399
- {
2400
- if: { checked: true },
2401
- tokens: {
2402
- inputBackgroundColor: '#016b6a',
2403
- inputOutlineColor: '#016b6a'
2404
- }
2405
- },
2406
2708
  {
2407
2709
  if: { inactive: true },
2408
2710
  tokens: {
@@ -2416,12 +2718,15 @@ module.exports = {
2416
2718
  if: { checked: true, inactive: true },
2417
2719
  tokens: {
2418
2720
  checkedBackgroundColor: '#c9c8c8',
2419
- inputBackgroundColor: '#c9c8c8',
2721
+ inputBackgroundColor: '#ffffff',
2420
2722
  inputBorderColor: '#ffffff',
2421
2723
  inputBorderWidth: 3,
2422
- inputOutlineColor: '#c9c8c8',
2724
+ inputOutlineColor: '#ffffff',
2423
2725
  inputOutlineWidth: 1,
2424
- labelColor: '#666666'
2726
+ labelColor: '#666666',
2727
+ outerBorderColor: '#c9c8c8',
2728
+ outerBorderGap: 1,
2729
+ outerBorderWidth: 1
2425
2730
  }
2426
2731
  }
2427
2732
  ],
@@ -2795,35 +3100,39 @@ module.exports = {
2795
3100
  },
2796
3101
  rules: [
2797
3102
  {
2798
- if: { hover: true, inactive: null },
3103
+ if: { hover: true },
2799
3104
  tokens: {
2800
3105
  outerBackgroundColor: '#efefef',
2801
3106
  outerBorderColor: '#efefef'
2802
3107
  }
2803
3108
  },
3109
+ {
3110
+ if: { focus: true },
3111
+ tokens: { borderColor: '#016b6a', borderWidth: 3 }
3112
+ },
2804
3113
  {
2805
3114
  if: { validation: 'success' },
2806
3115
  tokens: {
2807
- borderColor: '#258b0b',
3116
+ borderColor: '#016b6a',
2808
3117
  validationIcon: PaletteIconCheckCircledFilled,
2809
- validationIconColor: '#258b0b'
3118
+ validationIconColor: '#016b6a'
2810
3119
  }
2811
3120
  },
2812
3121
  {
2813
3122
  if: { validation: 'error' },
2814
3123
  tokens: {
2815
- borderColor: '#df3d0c',
2816
- validationIcon: PaletteIconTimes,
2817
- validationIconColor: '#df3d0c'
3124
+ borderColor: '#ee2c74',
3125
+ validationIcon: PaletteIconExclamationOctagon,
3126
+ validationIconColor: '#ee2c74'
2818
3127
  }
2819
3128
  },
2820
- {
2821
- if: { focus: true },
2822
- tokens: { borderColor: '#016b6a', borderWidth: 2, icon: null }
2823
- },
2824
3129
  {
2825
3130
  if: { inactive: true },
2826
- tokens: { backgroundColor: '#efefef', borderColor: '#efefef' }
3131
+ tokens: {
3132
+ backgroundColor: '#efefef',
3133
+ borderColor: '#efefef',
3134
+ icon: null
3135
+ }
2827
3136
  }
2828
3137
  ],
2829
3138
  tokens: {
@@ -2831,7 +3140,7 @@ module.exports = {
2831
3140
  borderColor: '#000000',
2832
3141
  borderRadius: 4,
2833
3142
  borderWidth: 1,
2834
- color: '#000000',
3143
+ color: '#666666',
2835
3144
  fontName: 'StagSans',
2836
3145
  fontSize: 16,
2837
3146
  fontWeight: '400',
@@ -2842,10 +3151,10 @@ module.exports = {
2842
3151
  outerBackgroundColor: 'rgba(0, 0, 0, 0)',
2843
3152
  outerBorderColor: 'rgba(0, 0, 0, 0)',
2844
3153
  outerBorderWidth: 2,
2845
- paddingBottom: 10,
3154
+ paddingBottom: 12,
2846
3155
  paddingLeft: 16,
2847
3156
  paddingRight: 16,
2848
- paddingTop: 10,
3157
+ paddingTop: 12,
2849
3158
  validationIcon: null,
2850
3159
  validationIconColor: 'rgba(0, 0, 0, 0)',
2851
3160
  validationIconSize: 24
@@ -3094,6 +3403,36 @@ module.exports = {
3094
3403
  showStepTrackerLabel: true
3095
3404
  }
3096
3405
  },
3406
+ Table: {
3407
+ appearances: { spacing: { type: 'variant', values: [ 'compact' ] } },
3408
+ rules: [
3409
+ {
3410
+ if: { spacing: 'compact' },
3411
+ tokens: { cellPaddingBottom: 8, cellPaddingTop: 8 }
3412
+ }
3413
+ ],
3414
+ tokens: {
3415
+ cellBackground: '#ffffff',
3416
+ cellBoxShadowColor: '#000000',
3417
+ cellHeadingBackground: '#000000',
3418
+ cellHeadingBoxShadowColor: '#000000',
3419
+ cellPaddingBottom: 16,
3420
+ cellPaddingLeft: 16,
3421
+ cellPaddingRight: 16,
3422
+ cellPaddingTop: 16,
3423
+ cellRowHeadingBackground: '#ffffff',
3424
+ cellStickyShadow: {
3425
+ blur: 8,
3426
+ color: 'rgba(0, 0, 0, 0.1)',
3427
+ inset: false,
3428
+ offsetX: 0,
3429
+ offsetY: 4,
3430
+ spread: 0
3431
+ },
3432
+ cellSubheadingBackground: '#000000',
3433
+ tablePaddingBottom: 24
3434
+ }
3435
+ },
3097
3436
  Tabs: {
3098
3437
  appearances: {},
3099
3438
  rules: [],
@@ -3101,7 +3440,7 @@ module.exports = {
3101
3440
  borderBottomColor: 'transparent',
3102
3441
  borderBottomWidth: 0,
3103
3442
  buttonClearance: 32,
3104
- gutter: 16,
3443
+ gutter: null,
3105
3444
  nextIcon: PaletteIconChevronRight,
3106
3445
  previousIcon: PaletteIconChevronLeft,
3107
3446
  space: 0
@@ -3121,6 +3460,12 @@ module.exports = {
3121
3460
  type: 'state',
3122
3461
  values: [ true ]
3123
3462
  },
3463
+ inverse: { type: 'variant', values: [ true ] },
3464
+ pressed: {
3465
+ 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.',
3466
+ type: 'state',
3467
+ values: [ true ]
3468
+ },
3124
3469
  selected: {
3125
3470
  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.',
3126
3471
  type: 'state',
@@ -3128,39 +3473,94 @@ module.exports = {
3128
3473
  }
3129
3474
  },
3130
3475
  rules: [
3131
- { if: { focus: true }, tokens: { borderWidth: 4 } },
3132
- { if: { hover: true }, tokens: { backgroundColor: '#f9f6a5' } },
3133
3476
  {
3134
3477
  if: { selected: true },
3135
3478
  tokens: {
3136
- backgroundColor: '#016b6a',
3137
- borderWidth: 0,
3138
- color: '#ffffff',
3139
- highlightColor: '#016b6a',
3140
- highlightTriangleSize: 8
3479
+ backgroundColor: '#ffffff',
3480
+ color: '#016b6a',
3481
+ highlightBarBorderWidth: 1,
3482
+ highlightBarHeight: 1,
3483
+ highlightColor: '#016b6a'
3484
+ }
3485
+ },
3486
+ { if: { hover: true }, tokens: { backgroundColor: '#e6e6e6' } },
3487
+ {
3488
+ if: { focus: true },
3489
+ tokens: {
3490
+ backgroundColor: '#ffffff',
3491
+ highlightBarBorderWidth: 1,
3492
+ highlightBarHeight: 1,
3493
+ highlightColor: '#666666'
3494
+ }
3495
+ },
3496
+ {
3497
+ if: { pressed: true },
3498
+ tokens: { backgroundColor: '#c9c8c8', highlightBarBorderWidth: 0 }
3499
+ },
3500
+ {
3501
+ if: { focus: true, selected: true },
3502
+ tokens: { backgroundColor: '#ffffff', highlightColor: '#016b6a' }
3503
+ },
3504
+ {
3505
+ if: { inverse: true },
3506
+ tokens: { backgroundColor: 'transparent', color: '#e5f7fb' }
3507
+ },
3508
+ {
3509
+ if: { inverse: true, selected: true },
3510
+ tokens: {
3511
+ color: '#c9c8c8',
3512
+ highlightBarBorderWidth: 1,
3513
+ highlightBarHeight: 1,
3514
+ highlightColor: '#c9c8c8'
3515
+ }
3516
+ },
3517
+ {
3518
+ if: { hover: true, inverse: true },
3519
+ tokens: { color: '#bbeaf5' }
3520
+ },
3521
+ {
3522
+ if: { focus: true, inverse: true },
3523
+ tokens: {
3524
+ color: '#e5f7fb',
3525
+ highlightBarBorderWidth: 1,
3526
+ highlightBarHeight: 1,
3527
+ highlightColor: '#e5f7fb'
3528
+ }
3529
+ },
3530
+ {
3531
+ if: { inverse: true, pressed: true },
3532
+ tokens: { color: '#c9c8c8', highlightBarBorderWidth: 0 }
3533
+ },
3534
+ {
3535
+ if: { focus: true, inverse: true, selected: true },
3536
+ tokens: {
3537
+ color: '#c9c8c8',
3538
+ highlightBarBorderWidth: 1,
3539
+ highlightBarHeight: 1,
3540
+ highlightColor: '#c9c8c8'
3141
3541
  }
3142
3542
  }
3143
3543
  ],
3144
3544
  tokens: {
3145
- backgroundColor: '#efefef',
3146
- borderColor: '#c9c8c8',
3545
+ backgroundColor: '#ffffff',
3546
+ borderColor: 'transparent',
3147
3547
  borderRadius: 0,
3148
- borderWidth: 1,
3149
- color: '#000000',
3548
+ borderWidth: 0,
3549
+ color: '#666666',
3150
3550
  fontName: 'StagSans',
3151
3551
  fontScaleCap: 64,
3152
3552
  fontSize: 16,
3153
- fontWeight: '700',
3553
+ fontWeight: '600',
3154
3554
  highlightBarBorderRadius: 0,
3155
3555
  highlightBarBorderWidth: 0,
3156
3556
  highlightBarHeight: 0,
3157
3557
  highlightColor: 'transparent',
3158
3558
  highlightTriangleSize: 0,
3159
3559
  letterSpacing: 0,
3160
- lineHeight: 1.1,
3560
+ lineHeight: 1.5,
3161
3561
  maxWidth: null,
3162
- paddingHorizontal: 16,
3163
- paddingVertical: 16,
3562
+ paddingHorizontal: 24,
3563
+ paddingVertical: 4,
3164
3564
  space: 0,
3165
3565
  textAlign: 'center',
3166
3566
  textTransform: 'none'
@@ -3344,22 +3744,22 @@ module.exports = {
3344
3744
  {
3345
3745
  if: { validation: 'success' },
3346
3746
  tokens: {
3347
- borderColor: '#258b0b',
3747
+ borderColor: '#016b6a',
3348
3748
  icon: PaletteIconCheckCircledFilled,
3349
- iconColor: '#258b0b'
3749
+ iconColor: '#016b6a'
3350
3750
  }
3351
3751
  },
3352
3752
  {
3353
3753
  if: { validation: 'error' },
3354
3754
  tokens: {
3355
- borderColor: '#df3d0c',
3356
- icon: PaletteIconTimes,
3357
- iconColor: '#df3d0c'
3755
+ borderColor: '#ee2c74',
3756
+ icon: PaletteIconExclamationOctagon,
3757
+ iconColor: '#ee2c74'
3358
3758
  }
3359
3759
  },
3360
3760
  {
3361
3761
  if: { focus: true, inactive: null },
3362
- tokens: { borderColor: '#016b6a', borderWidth: 2, icon: null }
3762
+ tokens: { borderColor: '#016b6a', borderWidth: 3, icon: null }
3363
3763
  },
3364
3764
  {
3365
3765
  if: { inactive: true },
@@ -3442,6 +3842,28 @@ module.exports = {
3442
3842
  timelineContainerDirection: 'column'
3443
3843
  }
3444
3844
  },
3845
+ Toast: {
3846
+ appearances: {},
3847
+ rules: [],
3848
+ tokens: {
3849
+ animationBackgroundColorAfter: '#ffffff',
3850
+ animationBackgroundColorBefore: '#ffffff',
3851
+ animationColorAfter: '#016b6a',
3852
+ animationColorBefore: '#ffffff',
3853
+ animationDivColorAfter: '#ffffff',
3854
+ animationDivColorBefore: '#ffffff',
3855
+ animationFillColorAfter: '#ffffff',
3856
+ animationFillColorBefore: '#ffffff',
3857
+ animationHeightAfter: 24,
3858
+ animationHeightBefore: 0,
3859
+ animationPaddingBottomAfter: 16,
3860
+ animationPaddingBottomBefore: 0,
3861
+ animationPaddingTopAfter: 16,
3862
+ animationPaddingTopBefore: 0,
3863
+ containerBackgroundColor: '#ffffff',
3864
+ containerGap: 12
3865
+ }
3866
+ },
3445
3867
  ToggleSwitch: {
3446
3868
  appearances: {
3447
3869
  focus: {
@@ -3802,6 +4224,15 @@ module.exports = {
3802
4224
  textTransform: 'none'
3803
4225
  }
3804
4226
  },
4227
+ WaffleGrid: {
4228
+ appearances: {},
4229
+ rules: [],
4230
+ tokens: {
4231
+ itemBorderColor: 'rgba(0, 0, 0, 0)',
4232
+ itemPadding: 16,
4233
+ rowBorderWidth: 1
4234
+ }
4235
+ },
3805
4236
  spacingScale: {
3806
4237
  appearances: {
3807
4238
  space: {
@@ -3862,5 +4293,5 @@ module.exports = {
3862
4293
  tokens: { size: 96 }
3863
4294
  }
3864
4295
  },
3865
- metadata: { name: 'theme-koodo', themeTokensVersion: '2.17.0' }
4296
+ metadata: { name: 'theme-koodo', themeTokensVersion: '2.19.0' }
3866
4297
  }