@telus-uds/theme-koodo 3.17.0 → 3.19.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/android/schema.json +3212 -1558
- package/build/android/theme.json +747 -104
- package/build/ios/schema.json +3212 -1558
- package/build/ios/theme.json +747 -104
- package/build/rn/schema.json +3212 -1558
- package/build/rn/theme.js +420 -76
- package/package.json +4 -4
- package/theme.json +530 -84
package/build/rn/theme.js
CHANGED
|
@@ -1,15 +1,17 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Thu, 13 Apr 2023 05:50:53 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: {
|
|
@@ -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: {
|
|
1581
|
+
{ if: { inverse: true }, tokens: { iconColor: '#ffffff' } },
|
|
1428
1582
|
{
|
|
1429
1583
|
if: { hover: true },
|
|
1430
|
-
tokens: {
|
|
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: '
|
|
1600
|
+
tokens: { borderColor: 'transparent' }
|
|
1435
1601
|
},
|
|
1436
1602
|
{
|
|
1437
|
-
if: {
|
|
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: '
|
|
1440
|
-
|
|
1441
|
-
|
|
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: '#
|
|
1448
|
-
|
|
1449
|
-
|
|
1640
|
+
backgroundColor: '#014847',
|
|
1641
|
+
iconColor: '#ffffff',
|
|
1642
|
+
outerBorderWidth: 0
|
|
1450
1643
|
}
|
|
1451
1644
|
},
|
|
1452
1645
|
{
|
|
1453
|
-
if: {
|
|
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: '#
|
|
1705
|
+
iconColor: '#000000'
|
|
1458
1706
|
}
|
|
1459
1707
|
},
|
|
1460
1708
|
{
|
|
1461
|
-
if: {
|
|
1709
|
+
if: { pressed: true, raised: true },
|
|
1462
1710
|
tokens: {
|
|
1463
|
-
backgroundColor: '
|
|
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: {
|
|
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: '
|
|
1737
|
+
borderColor: 'transparent',
|
|
1476
1738
|
borderRadius: 99999999999999,
|
|
1477
|
-
borderWidth:
|
|
1478
|
-
iconColor: '#
|
|
1739
|
+
borderWidth: 1,
|
|
1740
|
+
iconColor: '#000000',
|
|
1479
1741
|
iconScale: 1,
|
|
1480
|
-
iconSize:
|
|
1742
|
+
iconSize: 16,
|
|
1481
1743
|
iconTranslateX: 0,
|
|
1482
1744
|
iconTranslateY: 0,
|
|
1483
1745
|
outerBorderColor: 'transparent',
|
|
@@ -1829,6 +2091,56 @@ module.exports = {
|
|
|
1829
2091
|
paddingTop: 12
|
|
1830
2092
|
}
|
|
1831
2093
|
},
|
|
2094
|
+
OrderedList: {
|
|
2095
|
+
appearances: {
|
|
2096
|
+
compact: {
|
|
2097
|
+
description: 'When true it will reduce the line height of the list item.',
|
|
2098
|
+
type: 'variant',
|
|
2099
|
+
values: [ true ]
|
|
2100
|
+
},
|
|
2101
|
+
size: {
|
|
2102
|
+
description: 'Indicates list item text size.',
|
|
2103
|
+
type: 'variant',
|
|
2104
|
+
values: [ 'large', 'medium', 'small' ]
|
|
2105
|
+
}
|
|
2106
|
+
},
|
|
2107
|
+
rules: [
|
|
2108
|
+
{
|
|
2109
|
+
if: { size: 'large' },
|
|
2110
|
+
tokens: { itemFontSize: 20, itemLineHeight: 1.4 }
|
|
2111
|
+
},
|
|
2112
|
+
{ if: { size: 'medium' }, tokens: {} },
|
|
2113
|
+
{
|
|
2114
|
+
if: { size: 'small' },
|
|
2115
|
+
tokens: { itemFontSize: 14, itemLineHeight: 1.42857142857 }
|
|
2116
|
+
},
|
|
2117
|
+
{ if: { compact: true }, tokens: { itemLineHeight: 1.2 } },
|
|
2118
|
+
{
|
|
2119
|
+
if: { compact: true, size: 'small' },
|
|
2120
|
+
tokens: { itemLineHeight: 1.1 }
|
|
2121
|
+
},
|
|
2122
|
+
{
|
|
2123
|
+
if: { compact: true, size: 'large' },
|
|
2124
|
+
tokens: { itemLineHeight: 1.3 }
|
|
2125
|
+
}
|
|
2126
|
+
],
|
|
2127
|
+
tokens: {
|
|
2128
|
+
headerFontName: 'StagSans',
|
|
2129
|
+
headerFontWeight: '600',
|
|
2130
|
+
interItemMargin: 8,
|
|
2131
|
+
itemBulletContainerWidth: 16,
|
|
2132
|
+
itemBulletHeight: 4,
|
|
2133
|
+
itemBulletWidth: 4,
|
|
2134
|
+
itemColor: '#000000',
|
|
2135
|
+
itemFontName: 'StagSans',
|
|
2136
|
+
itemFontSize: 16,
|
|
2137
|
+
itemFontWeight: '400',
|
|
2138
|
+
itemLineHeight: 1.5,
|
|
2139
|
+
itemMarginTop: 0,
|
|
2140
|
+
itemPaddingTop: 0,
|
|
2141
|
+
listGutter: 8
|
|
2142
|
+
}
|
|
2143
|
+
},
|
|
1832
2144
|
Pagination: {
|
|
1833
2145
|
appearances: {
|
|
1834
2146
|
viewport: {
|
|
@@ -2027,6 +2339,60 @@ module.exports = {
|
|
|
2027
2339
|
width: null
|
|
2028
2340
|
}
|
|
2029
2341
|
},
|
|
2342
|
+
PreviewCard: {
|
|
2343
|
+
appearances: {
|
|
2344
|
+
focus: {
|
|
2345
|
+
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.",
|
|
2346
|
+
platforms: [ 'rn' ],
|
|
2347
|
+
type: 'state',
|
|
2348
|
+
values: [ true ]
|
|
2349
|
+
},
|
|
2350
|
+
hover: {
|
|
2351
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2352
|
+
platforms: [ 'rn' ],
|
|
2353
|
+
type: 'state',
|
|
2354
|
+
values: [ true ]
|
|
2355
|
+
},
|
|
2356
|
+
pressed: {
|
|
2357
|
+
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.",
|
|
2358
|
+
platforms: [ 'rn' ],
|
|
2359
|
+
type: 'state',
|
|
2360
|
+
values: [ true ]
|
|
2361
|
+
}
|
|
2362
|
+
},
|
|
2363
|
+
rules: [],
|
|
2364
|
+
tokens: {
|
|
2365
|
+
backgroundColor: '#ffffff',
|
|
2366
|
+
borderColor: '#ffffff',
|
|
2367
|
+
borderRadius: 0,
|
|
2368
|
+
borderWidth: 1,
|
|
2369
|
+
flex: 1,
|
|
2370
|
+
outerBorderColor: '#ffffff',
|
|
2371
|
+
outerBorderGap: 0,
|
|
2372
|
+
outerBorderWidth: 0,
|
|
2373
|
+
paddingBottom: 0,
|
|
2374
|
+
paddingLeft: 0,
|
|
2375
|
+
paddingRight: 0,
|
|
2376
|
+
paddingTop: 0,
|
|
2377
|
+
separatorColor: '#000000'
|
|
2378
|
+
}
|
|
2379
|
+
},
|
|
2380
|
+
PriceLockup: {
|
|
2381
|
+
appearances: {},
|
|
2382
|
+
rules: [],
|
|
2383
|
+
tokens: {
|
|
2384
|
+
bottomLinksMarginLeft: 4,
|
|
2385
|
+
bottomTextMarginTop: 4,
|
|
2386
|
+
dividerColor: '#666666',
|
|
2387
|
+
fontColor: '#000000',
|
|
2388
|
+
footnoteGap: 4,
|
|
2389
|
+
footnoteMarginTop: 4,
|
|
2390
|
+
priceMarginBottom: 8,
|
|
2391
|
+
strikeThroughBackground: '#efefef',
|
|
2392
|
+
strikeThroughHeight: 2,
|
|
2393
|
+
topTextMarginBottom: 4
|
|
2394
|
+
}
|
|
2395
|
+
},
|
|
2030
2396
|
Progress: {
|
|
2031
2397
|
appearances: { size: { type: 'variant', values: [ 'mini' ] } },
|
|
2032
2398
|
rules: [ { if: { size: 'mini' }, tokens: { height: 8 } } ],
|
|
@@ -2316,17 +2682,6 @@ module.exports = {
|
|
|
2316
2682
|
outerBorderWidth: 1
|
|
2317
2683
|
}
|
|
2318
2684
|
},
|
|
2319
|
-
{
|
|
2320
|
-
if: { checked: true, focus: true },
|
|
2321
|
-
tokens: {
|
|
2322
|
-
inputBackgroundColor: '#016b6a',
|
|
2323
|
-
inputBorderColor: '#ffffff',
|
|
2324
|
-
inputOutlineColor: '#016b6a',
|
|
2325
|
-
outerBorderColor: '#17367d',
|
|
2326
|
-
outerBorderGap: 5,
|
|
2327
|
-
outerBorderWidth: 1
|
|
2328
|
-
}
|
|
2329
|
-
},
|
|
2330
2685
|
{
|
|
2331
2686
|
if: { hover: true },
|
|
2332
2687
|
tokens: {
|
|
@@ -2335,24 +2690,6 @@ module.exports = {
|
|
|
2335
2690
|
outerBorderWidth: 1
|
|
2336
2691
|
}
|
|
2337
2692
|
},
|
|
2338
|
-
{
|
|
2339
|
-
if: { checked: true, hover: true },
|
|
2340
|
-
tokens: {
|
|
2341
|
-
inputBackgroundColor: '#016b6a',
|
|
2342
|
-
inputBorderColor: '#ffffff',
|
|
2343
|
-
inputOutlineColor: '#016b6a',
|
|
2344
|
-
outerBorderColor: '#17367d',
|
|
2345
|
-
outerBorderGap: 5,
|
|
2346
|
-
outerBorderWidth: 1
|
|
2347
|
-
}
|
|
2348
|
-
},
|
|
2349
|
-
{
|
|
2350
|
-
if: { checked: true },
|
|
2351
|
-
tokens: {
|
|
2352
|
-
inputBackgroundColor: '#016b6a',
|
|
2353
|
-
inputOutlineColor: '#016b6a'
|
|
2354
|
-
}
|
|
2355
|
-
},
|
|
2356
2693
|
{
|
|
2357
2694
|
if: { inactive: true },
|
|
2358
2695
|
tokens: {
|
|
@@ -2366,12 +2703,15 @@ module.exports = {
|
|
|
2366
2703
|
if: { checked: true, inactive: true },
|
|
2367
2704
|
tokens: {
|
|
2368
2705
|
checkedBackgroundColor: '#c9c8c8',
|
|
2369
|
-
inputBackgroundColor: '#
|
|
2706
|
+
inputBackgroundColor: '#ffffff',
|
|
2370
2707
|
inputBorderColor: '#ffffff',
|
|
2371
2708
|
inputBorderWidth: 3,
|
|
2372
|
-
inputOutlineColor: '#
|
|
2709
|
+
inputOutlineColor: '#ffffff',
|
|
2373
2710
|
inputOutlineWidth: 1,
|
|
2374
|
-
labelColor: '#666666'
|
|
2711
|
+
labelColor: '#666666',
|
|
2712
|
+
outerBorderColor: '#c9c8c8',
|
|
2713
|
+
outerBorderGap: 1,
|
|
2714
|
+
outerBorderWidth: 1
|
|
2375
2715
|
}
|
|
2376
2716
|
}
|
|
2377
2717
|
],
|
|
@@ -2745,35 +3085,39 @@ module.exports = {
|
|
|
2745
3085
|
},
|
|
2746
3086
|
rules: [
|
|
2747
3087
|
{
|
|
2748
|
-
if: { hover: true
|
|
3088
|
+
if: { hover: true },
|
|
2749
3089
|
tokens: {
|
|
2750
3090
|
outerBackgroundColor: '#efefef',
|
|
2751
3091
|
outerBorderColor: '#efefef'
|
|
2752
3092
|
}
|
|
2753
3093
|
},
|
|
3094
|
+
{
|
|
3095
|
+
if: { focus: true },
|
|
3096
|
+
tokens: { borderColor: '#016b6a', borderWidth: 3 }
|
|
3097
|
+
},
|
|
2754
3098
|
{
|
|
2755
3099
|
if: { validation: 'success' },
|
|
2756
3100
|
tokens: {
|
|
2757
|
-
borderColor: '#
|
|
3101
|
+
borderColor: '#016b6a',
|
|
2758
3102
|
validationIcon: PaletteIconCheckCircledFilled,
|
|
2759
|
-
validationIconColor: '#
|
|
3103
|
+
validationIconColor: '#016b6a'
|
|
2760
3104
|
}
|
|
2761
3105
|
},
|
|
2762
3106
|
{
|
|
2763
3107
|
if: { validation: 'error' },
|
|
2764
3108
|
tokens: {
|
|
2765
|
-
borderColor: '#
|
|
2766
|
-
validationIcon:
|
|
2767
|
-
validationIconColor: '#
|
|
3109
|
+
borderColor: '#ee2c74',
|
|
3110
|
+
validationIcon: PaletteIconExclamationOctagon,
|
|
3111
|
+
validationIconColor: '#ee2c74'
|
|
2768
3112
|
}
|
|
2769
3113
|
},
|
|
2770
|
-
{
|
|
2771
|
-
if: { focus: true },
|
|
2772
|
-
tokens: { borderColor: '#016b6a', borderWidth: 2, icon: null }
|
|
2773
|
-
},
|
|
2774
3114
|
{
|
|
2775
3115
|
if: { inactive: true },
|
|
2776
|
-
tokens: {
|
|
3116
|
+
tokens: {
|
|
3117
|
+
backgroundColor: '#efefef',
|
|
3118
|
+
borderColor: '#efefef',
|
|
3119
|
+
icon: null
|
|
3120
|
+
}
|
|
2777
3121
|
}
|
|
2778
3122
|
],
|
|
2779
3123
|
tokens: {
|
|
@@ -2781,7 +3125,7 @@ module.exports = {
|
|
|
2781
3125
|
borderColor: '#000000',
|
|
2782
3126
|
borderRadius: 4,
|
|
2783
3127
|
borderWidth: 1,
|
|
2784
|
-
color: '#
|
|
3128
|
+
color: '#666666',
|
|
2785
3129
|
fontName: 'StagSans',
|
|
2786
3130
|
fontSize: 16,
|
|
2787
3131
|
fontWeight: '400',
|
|
@@ -2792,10 +3136,10 @@ module.exports = {
|
|
|
2792
3136
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2793
3137
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
2794
3138
|
outerBorderWidth: 2,
|
|
2795
|
-
paddingBottom:
|
|
3139
|
+
paddingBottom: 12,
|
|
2796
3140
|
paddingLeft: 16,
|
|
2797
3141
|
paddingRight: 16,
|
|
2798
|
-
paddingTop:
|
|
3142
|
+
paddingTop: 12,
|
|
2799
3143
|
validationIcon: null,
|
|
2800
3144
|
validationIconColor: 'rgba(0, 0, 0, 0)',
|
|
2801
3145
|
validationIconSize: 24
|
|
@@ -3294,22 +3638,22 @@ module.exports = {
|
|
|
3294
3638
|
{
|
|
3295
3639
|
if: { validation: 'success' },
|
|
3296
3640
|
tokens: {
|
|
3297
|
-
borderColor: '#
|
|
3641
|
+
borderColor: '#016b6a',
|
|
3298
3642
|
icon: PaletteIconCheckCircledFilled,
|
|
3299
|
-
iconColor: '#
|
|
3643
|
+
iconColor: '#016b6a'
|
|
3300
3644
|
}
|
|
3301
3645
|
},
|
|
3302
3646
|
{
|
|
3303
3647
|
if: { validation: 'error' },
|
|
3304
3648
|
tokens: {
|
|
3305
|
-
borderColor: '#
|
|
3306
|
-
icon:
|
|
3307
|
-
iconColor: '#
|
|
3649
|
+
borderColor: '#ee2c74',
|
|
3650
|
+
icon: PaletteIconExclamationOctagon,
|
|
3651
|
+
iconColor: '#ee2c74'
|
|
3308
3652
|
}
|
|
3309
3653
|
},
|
|
3310
3654
|
{
|
|
3311
3655
|
if: { focus: true, inactive: null },
|
|
3312
|
-
tokens: { borderColor: '#016b6a', borderWidth:
|
|
3656
|
+
tokens: { borderColor: '#016b6a', borderWidth: 3, icon: null }
|
|
3313
3657
|
},
|
|
3314
3658
|
{
|
|
3315
3659
|
if: { inactive: true },
|
|
@@ -3812,5 +4156,5 @@ module.exports = {
|
|
|
3812
4156
|
tokens: { size: 96 }
|
|
3813
4157
|
}
|
|
3814
4158
|
},
|
|
3815
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
4159
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.18.0' }
|
|
3816
4160
|
}
|