@telus-uds/theme-koodo 3.18.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 +3062 -1560
- package/build/android/theme.json +681 -125
- package/build/ios/schema.json +3062 -1560
- package/build/ios/theme.json +681 -125
- package/build/rn/schema.json +3062 -1560
- package/build/rn/theme.js +370 -76
- package/package.json +4 -4
- package/theme.json +448 -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 },
|
|
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 },
|
|
1454
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',
|
|
@@ -2077,6 +2339,60 @@ module.exports = {
|
|
|
2077
2339
|
width: null
|
|
2078
2340
|
}
|
|
2079
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
|
+
},
|
|
2080
2396
|
Progress: {
|
|
2081
2397
|
appearances: { size: { type: 'variant', values: [ 'mini' ] } },
|
|
2082
2398
|
rules: [ { if: { size: 'mini' }, tokens: { height: 8 } } ],
|
|
@@ -2366,17 +2682,6 @@ module.exports = {
|
|
|
2366
2682
|
outerBorderWidth: 1
|
|
2367
2683
|
}
|
|
2368
2684
|
},
|
|
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
2685
|
{
|
|
2381
2686
|
if: { hover: true },
|
|
2382
2687
|
tokens: {
|
|
@@ -2385,24 +2690,6 @@ module.exports = {
|
|
|
2385
2690
|
outerBorderWidth: 1
|
|
2386
2691
|
}
|
|
2387
2692
|
},
|
|
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
2693
|
{
|
|
2407
2694
|
if: { inactive: true },
|
|
2408
2695
|
tokens: {
|
|
@@ -2416,12 +2703,15 @@ module.exports = {
|
|
|
2416
2703
|
if: { checked: true, inactive: true },
|
|
2417
2704
|
tokens: {
|
|
2418
2705
|
checkedBackgroundColor: '#c9c8c8',
|
|
2419
|
-
inputBackgroundColor: '#
|
|
2706
|
+
inputBackgroundColor: '#ffffff',
|
|
2420
2707
|
inputBorderColor: '#ffffff',
|
|
2421
2708
|
inputBorderWidth: 3,
|
|
2422
|
-
inputOutlineColor: '#
|
|
2709
|
+
inputOutlineColor: '#ffffff',
|
|
2423
2710
|
inputOutlineWidth: 1,
|
|
2424
|
-
labelColor: '#666666'
|
|
2711
|
+
labelColor: '#666666',
|
|
2712
|
+
outerBorderColor: '#c9c8c8',
|
|
2713
|
+
outerBorderGap: 1,
|
|
2714
|
+
outerBorderWidth: 1
|
|
2425
2715
|
}
|
|
2426
2716
|
}
|
|
2427
2717
|
],
|
|
@@ -2795,35 +3085,39 @@ module.exports = {
|
|
|
2795
3085
|
},
|
|
2796
3086
|
rules: [
|
|
2797
3087
|
{
|
|
2798
|
-
if: { hover: true
|
|
3088
|
+
if: { hover: true },
|
|
2799
3089
|
tokens: {
|
|
2800
3090
|
outerBackgroundColor: '#efefef',
|
|
2801
3091
|
outerBorderColor: '#efefef'
|
|
2802
3092
|
}
|
|
2803
3093
|
},
|
|
3094
|
+
{
|
|
3095
|
+
if: { focus: true },
|
|
3096
|
+
tokens: { borderColor: '#016b6a', borderWidth: 3 }
|
|
3097
|
+
},
|
|
2804
3098
|
{
|
|
2805
3099
|
if: { validation: 'success' },
|
|
2806
3100
|
tokens: {
|
|
2807
|
-
borderColor: '#
|
|
3101
|
+
borderColor: '#016b6a',
|
|
2808
3102
|
validationIcon: PaletteIconCheckCircledFilled,
|
|
2809
|
-
validationIconColor: '#
|
|
3103
|
+
validationIconColor: '#016b6a'
|
|
2810
3104
|
}
|
|
2811
3105
|
},
|
|
2812
3106
|
{
|
|
2813
3107
|
if: { validation: 'error' },
|
|
2814
3108
|
tokens: {
|
|
2815
|
-
borderColor: '#
|
|
2816
|
-
validationIcon:
|
|
2817
|
-
validationIconColor: '#
|
|
3109
|
+
borderColor: '#ee2c74',
|
|
3110
|
+
validationIcon: PaletteIconExclamationOctagon,
|
|
3111
|
+
validationIconColor: '#ee2c74'
|
|
2818
3112
|
}
|
|
2819
3113
|
},
|
|
2820
|
-
{
|
|
2821
|
-
if: { focus: true },
|
|
2822
|
-
tokens: { borderColor: '#016b6a', borderWidth: 2, icon: null }
|
|
2823
|
-
},
|
|
2824
3114
|
{
|
|
2825
3115
|
if: { inactive: true },
|
|
2826
|
-
tokens: {
|
|
3116
|
+
tokens: {
|
|
3117
|
+
backgroundColor: '#efefef',
|
|
3118
|
+
borderColor: '#efefef',
|
|
3119
|
+
icon: null
|
|
3120
|
+
}
|
|
2827
3121
|
}
|
|
2828
3122
|
],
|
|
2829
3123
|
tokens: {
|
|
@@ -2831,7 +3125,7 @@ module.exports = {
|
|
|
2831
3125
|
borderColor: '#000000',
|
|
2832
3126
|
borderRadius: 4,
|
|
2833
3127
|
borderWidth: 1,
|
|
2834
|
-
color: '#
|
|
3128
|
+
color: '#666666',
|
|
2835
3129
|
fontName: 'StagSans',
|
|
2836
3130
|
fontSize: 16,
|
|
2837
3131
|
fontWeight: '400',
|
|
@@ -2842,10 +3136,10 @@ module.exports = {
|
|
|
2842
3136
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2843
3137
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
2844
3138
|
outerBorderWidth: 2,
|
|
2845
|
-
paddingBottom:
|
|
3139
|
+
paddingBottom: 12,
|
|
2846
3140
|
paddingLeft: 16,
|
|
2847
3141
|
paddingRight: 16,
|
|
2848
|
-
paddingTop:
|
|
3142
|
+
paddingTop: 12,
|
|
2849
3143
|
validationIcon: null,
|
|
2850
3144
|
validationIconColor: 'rgba(0, 0, 0, 0)',
|
|
2851
3145
|
validationIconSize: 24
|
|
@@ -3344,22 +3638,22 @@ module.exports = {
|
|
|
3344
3638
|
{
|
|
3345
3639
|
if: { validation: 'success' },
|
|
3346
3640
|
tokens: {
|
|
3347
|
-
borderColor: '#
|
|
3641
|
+
borderColor: '#016b6a',
|
|
3348
3642
|
icon: PaletteIconCheckCircledFilled,
|
|
3349
|
-
iconColor: '#
|
|
3643
|
+
iconColor: '#016b6a'
|
|
3350
3644
|
}
|
|
3351
3645
|
},
|
|
3352
3646
|
{
|
|
3353
3647
|
if: { validation: 'error' },
|
|
3354
3648
|
tokens: {
|
|
3355
|
-
borderColor: '#
|
|
3356
|
-
icon:
|
|
3357
|
-
iconColor: '#
|
|
3649
|
+
borderColor: '#ee2c74',
|
|
3650
|
+
icon: PaletteIconExclamationOctagon,
|
|
3651
|
+
iconColor: '#ee2c74'
|
|
3358
3652
|
}
|
|
3359
3653
|
},
|
|
3360
3654
|
{
|
|
3361
3655
|
if: { focus: true, inactive: null },
|
|
3362
|
-
tokens: { borderColor: '#016b6a', borderWidth:
|
|
3656
|
+
tokens: { borderColor: '#016b6a', borderWidth: 3, icon: null }
|
|
3363
3657
|
},
|
|
3364
3658
|
{
|
|
3365
3659
|
if: { inactive: true },
|
|
@@ -3862,5 +4156,5 @@ module.exports = {
|
|
|
3862
4156
|
tokens: { size: 96 }
|
|
3863
4157
|
}
|
|
3864
4158
|
},
|
|
3865
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
4159
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.18.0' }
|
|
3866
4160
|
}
|
package/package.json
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
},
|
|
6
6
|
"description": "Koodo theme",
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@telus-uds/palette-koodo": "^0.
|
|
9
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
8
|
+
"@telus-uds/palette-koodo": "^0.10.0",
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.18.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": "^0.
|
|
23
|
+
"@telus-uds/palette-koodo": "^0.10.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": "3.
|
|
34
|
+
"version": "3.19.0"
|
|
35
35
|
}
|