@telus-uds/theme-allium 3.19.0 → 3.21.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 +2993 -1175
- package/build/android/theme.json +723 -76
- package/build/ios/schema.json +2993 -1175
- package/build/ios/theme.json +723 -76
- package/build/rn/schema.json +2993 -1175
- package/build/rn/theme.js +342 -43
- package/package.json +5 -5
- package/theme.json +396 -43
package/build/rn/theme.js
CHANGED
|
@@ -1,17 +1,17 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Wed, 19 Apr 2023 11:23:39 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
8
|
+
const PaletteIconChevronRight = require('@telus-uds/palette-allium/build/rn/icons/ChevronRight')
|
|
8
9
|
const PaletteIconCaretDown = require('@telus-uds/palette-allium/build/rn/icons/CaretDown')
|
|
9
10
|
const PaletteIconCaretUp = require('@telus-uds/palette-allium/build/rn/icons/CaretUp')
|
|
10
11
|
const PaletteIconArrowRight = require('@telus-uds/palette-allium/build/rn/icons/ArrowRight')
|
|
11
12
|
const PaletteIconArrowLeft = require('@telus-uds/palette-allium/build/rn/icons/ArrowLeft')
|
|
12
13
|
const PaletteIconCheckmark = require('@telus-uds/palette-allium/build/rn/icons/Checkmark')
|
|
13
14
|
const PaletteIconChevronLeft = require('@telus-uds/palette-allium/build/rn/icons/ChevronLeft')
|
|
14
|
-
const PaletteIconChevronRight = require('@telus-uds/palette-allium/build/rn/icons/ChevronRight')
|
|
15
15
|
const PaletteIconStatusSuccess = require('@telus-uds/palette-allium/build/rn/icons/StatusSuccess')
|
|
16
16
|
const PaletteIconStatusError = require('@telus-uds/palette-allium/build/rn/icons/StatusError')
|
|
17
17
|
const PaletteIconClose = require('@telus-uds/palette-allium/build/rn/icons/Close')
|
|
@@ -309,6 +309,16 @@ module.exports = {
|
|
|
309
309
|
],
|
|
310
310
|
tokens: { backgroundColor: null, gradient: null }
|
|
311
311
|
},
|
|
312
|
+
Breadcrumbs: {
|
|
313
|
+
appearances: { inverse: { type: 'variant', values: [ true ] } },
|
|
314
|
+
rules: [ { if: { inverse: true }, tokens: { iconColor: '#b2b9bf' } } ],
|
|
315
|
+
tokens: {
|
|
316
|
+
icon: PaletteIconChevronRight,
|
|
317
|
+
iconColor: '#676e73',
|
|
318
|
+
iconPadding: 8,
|
|
319
|
+
listItemPadding: 0
|
|
320
|
+
}
|
|
321
|
+
},
|
|
312
322
|
Button: {
|
|
313
323
|
appearances: {
|
|
314
324
|
danger: {
|
|
@@ -863,6 +873,29 @@ module.exports = {
|
|
|
863
873
|
width: null
|
|
864
874
|
}
|
|
865
875
|
},
|
|
876
|
+
Callout: {
|
|
877
|
+
appearances: {
|
|
878
|
+
rounded: { type: 'variant', values: [ true, false ] },
|
|
879
|
+
size: { type: 'variant', values: [ 'small' ] }
|
|
880
|
+
},
|
|
881
|
+
rules: [
|
|
882
|
+
{
|
|
883
|
+
if: { size: 'small' },
|
|
884
|
+
tokens: { paddingBottom: 4, paddingTop: 4 }
|
|
885
|
+
},
|
|
886
|
+
{ if: { rounded: true }, tokens: { borderRadius: 4 } }
|
|
887
|
+
],
|
|
888
|
+
tokens: {
|
|
889
|
+
background: '#f4f4f7',
|
|
890
|
+
borderRadius: 0,
|
|
891
|
+
color: '#4b286d',
|
|
892
|
+
gap: 16,
|
|
893
|
+
paddingBottom: 8,
|
|
894
|
+
paddingLeft: 16,
|
|
895
|
+
paddingRight: 16,
|
|
896
|
+
paddingTop: 8
|
|
897
|
+
}
|
|
898
|
+
},
|
|
866
899
|
Card: {
|
|
867
900
|
appearances: {
|
|
868
901
|
background: {
|
|
@@ -1291,6 +1324,65 @@ module.exports = {
|
|
|
1291
1324
|
textLine: 'none'
|
|
1292
1325
|
}
|
|
1293
1326
|
},
|
|
1327
|
+
DatePicker: {
|
|
1328
|
+
appearances: {},
|
|
1329
|
+
rules: [],
|
|
1330
|
+
tokens: {
|
|
1331
|
+
calendarDayBlockedCalendarHoverBackground: '#fafafa',
|
|
1332
|
+
calendarDayBlockedCalendarHoverColor: '#414547',
|
|
1333
|
+
calendarDayDefaultBeforeHeight: 28,
|
|
1334
|
+
calendarDayDefaultBeforeWidth: 28,
|
|
1335
|
+
calendarDayDefaultBorder: 1,
|
|
1336
|
+
calendarDayDefaultBorderColor: '#e3e6e8',
|
|
1337
|
+
calendarDayDefaultCalendarDaySelectedHoverBackground: '#7c53a5',
|
|
1338
|
+
calendarDayDefaultCalendarDaySelectedHoverColor: '#ffffff',
|
|
1339
|
+
calendarDayDefaultColor: '#414547',
|
|
1340
|
+
calendarDayDefaultFontName: 'HelveticaNow',
|
|
1341
|
+
calendarDayDefaultFontSize: 14,
|
|
1342
|
+
calendarDayDefaultFontWeight: '300',
|
|
1343
|
+
calendarDaySelectedHoverBeforeBackground: '#7c53a5',
|
|
1344
|
+
calendarDaySelectedHoverBorderColor: '#e3e6e8',
|
|
1345
|
+
calendarDaySelectedHoverColor: '#ffffff',
|
|
1346
|
+
calendarMonthCaptionColor: '#2c2e30',
|
|
1347
|
+
calendarMonthCaptionFontName: 'HelveticaNow',
|
|
1348
|
+
calendarMonthCaptionFontSize: 20,
|
|
1349
|
+
calendarMonthCaptionFontWeight: '400',
|
|
1350
|
+
calendarMonthCaptionLineHeight: 1.4,
|
|
1351
|
+
calendarMonthCaptionPaddingBottom: 48,
|
|
1352
|
+
dateInputBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1353
|
+
dateInputBorderRadius: 6,
|
|
1354
|
+
dateInputFocusBorderColor: '#7c53a5',
|
|
1355
|
+
dateInputHoverBorderColor: '#e3e6e8',
|
|
1356
|
+
dateInputInsideBorderColor: '#676e73',
|
|
1357
|
+
dateInputInsideColor: '#676e73',
|
|
1358
|
+
dateInputStrokeColor: '#676e73',
|
|
1359
|
+
dayPickerNavigationButtonBackgroundColor: '#ffffff',
|
|
1360
|
+
dayPickerNavigationButtonBorderColor: '#b2b9bf',
|
|
1361
|
+
dayPickerNavigationButtonChildLeft: 8,
|
|
1362
|
+
dayPickerNavigationButtonChildRight: 8,
|
|
1363
|
+
dayPickerNavigationButtonChildSvgFill: '#676e73',
|
|
1364
|
+
dayPickerNavigationButtonDefaultHoverBorderColor: '#e3e6e8',
|
|
1365
|
+
dayPickerNavigationButtonMaxHeight: 32,
|
|
1366
|
+
dayPickerNavigationButtonMaxWidth: 32,
|
|
1367
|
+
dayPickerNavigationButtonPadding: 8,
|
|
1368
|
+
dayPickerNavigationSVGHorizontalFill: '#2c2e30',
|
|
1369
|
+
dayPickerWeekHeaderColor: '#414547',
|
|
1370
|
+
dayPickerWeekHeaderFontName: 'HelveticaNow',
|
|
1371
|
+
dayPickerWeekHeaderFontWeight: '500',
|
|
1372
|
+
dayPickerWeekHeaderLineHeight: 1.42857142857,
|
|
1373
|
+
dayPickerWeekHeaderSmall: 14,
|
|
1374
|
+
hiddenInputFieldContainerHeight: 0,
|
|
1375
|
+
hiddenInputFieldContainerWidth: 0,
|
|
1376
|
+
invalidInputMixin: '#e12339',
|
|
1377
|
+
nextIcon: PaletteIconArrowRight,
|
|
1378
|
+
previousIcon: PaletteIconArrowLeft,
|
|
1379
|
+
singleDatePickerBorderColor: '#676e73',
|
|
1380
|
+
singleDatePickerLeftRight: 16,
|
|
1381
|
+
singleDatePickerPaddingTopBottom: 8,
|
|
1382
|
+
singleDatePickerRadius: 4,
|
|
1383
|
+
validInputMixin: '#2b8000'
|
|
1384
|
+
}
|
|
1385
|
+
},
|
|
1294
1386
|
Divider: {
|
|
1295
1387
|
appearances: {
|
|
1296
1388
|
decorative: {
|
|
@@ -1345,6 +1437,23 @@ module.exports = {
|
|
|
1345
1437
|
verticalAlign: 'top'
|
|
1346
1438
|
}
|
|
1347
1439
|
},
|
|
1440
|
+
ExpandCollapseMini: { appearances: {}, rules: [], tokens: { borderWidth: 0 } },
|
|
1441
|
+
ExpandCollapseMiniControl: {
|
|
1442
|
+
appearances: {
|
|
1443
|
+
expanded: {
|
|
1444
|
+
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
1445
|
+
type: 'state',
|
|
1446
|
+
values: [ true ]
|
|
1447
|
+
}
|
|
1448
|
+
},
|
|
1449
|
+
rules: [
|
|
1450
|
+
{
|
|
1451
|
+
if: { expanded: true },
|
|
1452
|
+
tokens: { icon: PaletteIconCaretUp }
|
|
1453
|
+
}
|
|
1454
|
+
],
|
|
1455
|
+
tokens: { icon: PaletteIconCaretDown, size: 4 }
|
|
1456
|
+
},
|
|
1348
1457
|
ExpandCollapsePanel: {
|
|
1349
1458
|
appearances: {},
|
|
1350
1459
|
rules: [],
|
|
@@ -1414,6 +1523,42 @@ module.exports = {
|
|
|
1414
1523
|
titleFontSize: 16
|
|
1415
1524
|
}
|
|
1416
1525
|
},
|
|
1526
|
+
Footnote: {
|
|
1527
|
+
appearances: {},
|
|
1528
|
+
rules: [],
|
|
1529
|
+
tokens: {
|
|
1530
|
+
closeButtonBorderColor: '#676e73',
|
|
1531
|
+
closeButtonBorderSize: 1,
|
|
1532
|
+
closeButtonHeight: 24,
|
|
1533
|
+
closeButtonIconSize: 16,
|
|
1534
|
+
closeButtonMarginBottom: 12,
|
|
1535
|
+
closeButtonMarginLeft: 4,
|
|
1536
|
+
closeButtonMarginRight: 4,
|
|
1537
|
+
closeButtonMarginTop: 12,
|
|
1538
|
+
closeButtonWidth: 24,
|
|
1539
|
+
footnoteBackground: '#f4f4f7',
|
|
1540
|
+
footnoteBodyBackground: '#f4f4f7',
|
|
1541
|
+
footnoteBodyPaddingBottom: 32,
|
|
1542
|
+
footnoteBodyPaddingLeft: 16,
|
|
1543
|
+
footnoteBodyPaddingRight: 16,
|
|
1544
|
+
footnoteBodyPaddingTop: 0,
|
|
1545
|
+
footnoteBorderColorMd: '#b2b9bf',
|
|
1546
|
+
footnoteBorderTopSizeMd: 1,
|
|
1547
|
+
headerMargin: 16,
|
|
1548
|
+
listItemColor: '#414547',
|
|
1549
|
+
listItemFontSize: 14,
|
|
1550
|
+
listItemLineHeight: 1.42857142857,
|
|
1551
|
+
listItemMarkerFontSize: 16,
|
|
1552
|
+
listItemMarkerLineHeight: 1.5,
|
|
1553
|
+
listItemPaddingLeft: 8,
|
|
1554
|
+
listPaddingLeft: 32
|
|
1555
|
+
}
|
|
1556
|
+
},
|
|
1557
|
+
FootnoteLink: {
|
|
1558
|
+
appearances: {},
|
|
1559
|
+
rules: [],
|
|
1560
|
+
tokens: { lineHeight: 1, paddingLeft: 2, paddingRight: 2 }
|
|
1561
|
+
},
|
|
1417
1562
|
HorizontalScrollButton: {
|
|
1418
1563
|
appearances: {
|
|
1419
1564
|
focus: {
|
|
@@ -1605,10 +1750,11 @@ module.exports = {
|
|
|
1605
1750
|
{
|
|
1606
1751
|
if: { focus: true, inverse: true },
|
|
1607
1752
|
tokens: {
|
|
1608
|
-
backgroundColor: '
|
|
1609
|
-
borderColor: '#
|
|
1610
|
-
iconColor: '#
|
|
1611
|
-
|
|
1753
|
+
backgroundColor: 'transparent',
|
|
1754
|
+
borderColor: '#ffffff',
|
|
1755
|
+
iconColor: '#ffffff',
|
|
1756
|
+
outerBorderColor: '#ffffff',
|
|
1757
|
+
outerBorderWidth: 1
|
|
1612
1758
|
}
|
|
1613
1759
|
},
|
|
1614
1760
|
{
|
|
@@ -1633,15 +1779,16 @@ module.exports = {
|
|
|
1633
1779
|
if: { inverse: true, pressed: true },
|
|
1634
1780
|
tokens: {
|
|
1635
1781
|
backgroundColor: 'rgba(255, 255, 255, 0.4)',
|
|
1636
|
-
borderColor: '#
|
|
1637
|
-
iconColor: '#
|
|
1782
|
+
borderColor: '#ffffff',
|
|
1783
|
+
iconColor: '#ffffff',
|
|
1784
|
+
outerBorderWidth: 0
|
|
1638
1785
|
}
|
|
1639
1786
|
},
|
|
1640
1787
|
{
|
|
1641
1788
|
if: { size: 'large' },
|
|
1642
1789
|
tokens: { iconSize: 24, padding: 12 }
|
|
1643
1790
|
},
|
|
1644
|
-
{ if: { size: 'small' }, tokens: { padding: 4 } },
|
|
1791
|
+
{ if: { size: 'small' }, tokens: { iconSize: 16, padding: 4 } },
|
|
1645
1792
|
{
|
|
1646
1793
|
description: 'Raised IconButtons follow different design patterns to other variants',
|
|
1647
1794
|
if: { raised: true },
|
|
@@ -1649,10 +1796,11 @@ module.exports = {
|
|
|
1649
1796
|
backgroundColor: '#ffffff',
|
|
1650
1797
|
borderColor: '#b2b9bf',
|
|
1651
1798
|
borderWidth: 1,
|
|
1799
|
+
iconSize: 16,
|
|
1652
1800
|
outerBorderColor: 'transparent',
|
|
1653
1801
|
outerBorderGap: 0,
|
|
1654
1802
|
outerBorderWidth: 0,
|
|
1655
|
-
padding:
|
|
1803
|
+
padding: 8,
|
|
1656
1804
|
shadow: {
|
|
1657
1805
|
blur: 2,
|
|
1658
1806
|
color: 'rgba(0, 0, 0, 0.1)',
|
|
@@ -1665,7 +1813,7 @@ module.exports = {
|
|
|
1665
1813
|
},
|
|
1666
1814
|
{
|
|
1667
1815
|
if: { raised: true, size: 'large' },
|
|
1668
|
-
tokens: { padding:
|
|
1816
|
+
tokens: { iconSize: 24, padding: 12 }
|
|
1669
1817
|
},
|
|
1670
1818
|
{ if: { raised: true, size: 'small' }, tokens: { padding: 8 } },
|
|
1671
1819
|
{
|
|
@@ -1681,17 +1829,25 @@ module.exports = {
|
|
|
1681
1829
|
outerBorderColor: 'rgba(0, 0, 0, 0)'
|
|
1682
1830
|
}
|
|
1683
1831
|
},
|
|
1684
|
-
{
|
|
1685
|
-
if: { focus: true, pressed: true, raised: true },
|
|
1686
|
-
tokens: { backgroundColor: '#4b286d', borderWidth: 0 }
|
|
1687
|
-
},
|
|
1688
1832
|
{
|
|
1689
1833
|
if: { hover: true, raised: true },
|
|
1690
1834
|
tokens: { borderColor: '#b2b9bf', borderWidth: 3 }
|
|
1691
1835
|
},
|
|
1692
1836
|
{
|
|
1693
1837
|
if: { focus: true, raised: true },
|
|
1694
|
-
tokens: {
|
|
1838
|
+
tokens: {
|
|
1839
|
+
borderColor: '#4b286d',
|
|
1840
|
+
borderWidth: 3,
|
|
1841
|
+
iconColor: '#4b286d'
|
|
1842
|
+
}
|
|
1843
|
+
},
|
|
1844
|
+
{
|
|
1845
|
+
if: { focus: true, pressed: true, raised: true },
|
|
1846
|
+
tokens: {
|
|
1847
|
+
backgroundColor: '#4b286d',
|
|
1848
|
+
borderWidth: 0,
|
|
1849
|
+
iconColor: '#ffffff'
|
|
1850
|
+
}
|
|
1695
1851
|
},
|
|
1696
1852
|
{ if: { compact: true }, tokens: { outerBorderGap: 0 } }
|
|
1697
1853
|
],
|
|
@@ -1702,16 +1858,17 @@ module.exports = {
|
|
|
1702
1858
|
borderWidth: 1,
|
|
1703
1859
|
iconColor: '#676e73',
|
|
1704
1860
|
iconScale: 1,
|
|
1705
|
-
iconSize:
|
|
1861
|
+
iconSize: 16,
|
|
1706
1862
|
iconTranslateX: 0,
|
|
1707
1863
|
iconTranslateY: 0,
|
|
1708
1864
|
outerBorderColor: 'transparent',
|
|
1709
1865
|
outerBorderGap: 0,
|
|
1710
1866
|
outerBorderWidth: 0,
|
|
1711
|
-
padding:
|
|
1867
|
+
padding: 4,
|
|
1712
1868
|
shadow: null
|
|
1713
1869
|
}
|
|
1714
1870
|
},
|
|
1871
|
+
Image: { appearances: {}, rules: [], tokens: { borderRadius: 4 } },
|
|
1715
1872
|
InputLabel: {
|
|
1716
1873
|
appearances: {},
|
|
1717
1874
|
rules: [],
|
|
@@ -1961,7 +2118,13 @@ module.exports = {
|
|
|
1961
2118
|
rules: [
|
|
1962
2119
|
{
|
|
1963
2120
|
if: { viewport: [ 'xs', 'sm' ] },
|
|
1964
|
-
tokens: {
|
|
2121
|
+
tokens: {
|
|
2122
|
+
height: '100%',
|
|
2123
|
+
paddingBottom: 24,
|
|
2124
|
+
paddingLeft: 24,
|
|
2125
|
+
paddingRight: 24,
|
|
2126
|
+
paddingTop: 24
|
|
2127
|
+
}
|
|
1965
2128
|
},
|
|
1966
2129
|
{
|
|
1967
2130
|
if: { viewport: [ 'md', 'lg', 'xl' ] },
|
|
@@ -2032,7 +2195,9 @@ module.exports = {
|
|
|
2032
2195
|
backdropColor: 'rgba(244, 244, 247, 0.97)',
|
|
2033
2196
|
backdropOpacity: 1,
|
|
2034
2197
|
backgroundColor: '#ffffff',
|
|
2198
|
+
borderColor: '#e3e6e8',
|
|
2035
2199
|
borderRadius: 4,
|
|
2200
|
+
cancelButtonColor: '#2b8000',
|
|
2036
2201
|
closeIcon: PaletteIconClose,
|
|
2037
2202
|
closeIconColor: '#414547',
|
|
2038
2203
|
closeIconSize: 16,
|
|
@@ -2041,11 +2206,16 @@ module.exports = {
|
|
|
2041
2206
|
containerPaddingLeft: 0,
|
|
2042
2207
|
containerPaddingRight: 0,
|
|
2043
2208
|
containerPaddingTop: 0,
|
|
2209
|
+
gap: 16,
|
|
2210
|
+
headingColor: '#414547',
|
|
2211
|
+
headingPaddingRight: 24,
|
|
2044
2212
|
height: null,
|
|
2213
|
+
marginLeft: 24,
|
|
2214
|
+
marginRight: 24,
|
|
2045
2215
|
maxWidth: '100%',
|
|
2046
2216
|
paddingBottom: 24,
|
|
2047
|
-
paddingLeft:
|
|
2048
|
-
paddingRight:
|
|
2217
|
+
paddingLeft: 32,
|
|
2218
|
+
paddingRight: 32,
|
|
2049
2219
|
paddingTop: 24,
|
|
2050
2220
|
shadow: {
|
|
2051
2221
|
blur: 8,
|
|
@@ -2054,7 +2224,8 @@ module.exports = {
|
|
|
2054
2224
|
offsetX: 0,
|
|
2055
2225
|
offsetY: 4,
|
|
2056
2226
|
spread: 0
|
|
2057
|
-
}
|
|
2227
|
+
},
|
|
2228
|
+
subHeadingMarginTop: 8
|
|
2058
2229
|
}
|
|
2059
2230
|
},
|
|
2060
2231
|
Notification: {
|
|
@@ -2382,6 +2553,74 @@ module.exports = {
|
|
|
2382
2553
|
width: null
|
|
2383
2554
|
}
|
|
2384
2555
|
},
|
|
2556
|
+
PreviewCard: {
|
|
2557
|
+
appearances: {
|
|
2558
|
+
focus: {
|
|
2559
|
+
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.",
|
|
2560
|
+
platforms: [ 'rn' ],
|
|
2561
|
+
type: 'state',
|
|
2562
|
+
values: [ true ]
|
|
2563
|
+
},
|
|
2564
|
+
hover: {
|
|
2565
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2566
|
+
platforms: [ 'rn' ],
|
|
2567
|
+
type: 'state',
|
|
2568
|
+
values: [ true ]
|
|
2569
|
+
},
|
|
2570
|
+
pressed: {
|
|
2571
|
+
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.",
|
|
2572
|
+
platforms: [ 'rn' ],
|
|
2573
|
+
type: 'state',
|
|
2574
|
+
values: [ true ]
|
|
2575
|
+
}
|
|
2576
|
+
},
|
|
2577
|
+
rules: [
|
|
2578
|
+
{ if: { hover: true }, tokens: { borderWidth: 2 } },
|
|
2579
|
+
{
|
|
2580
|
+
if: { pressed: true },
|
|
2581
|
+
tokens: { backgroundColor: '#f4f4f7' }
|
|
2582
|
+
},
|
|
2583
|
+
{
|
|
2584
|
+
if: { focus: true },
|
|
2585
|
+
tokens: {
|
|
2586
|
+
outerBorderColor: '#676e73',
|
|
2587
|
+
outerBorderGap: 2,
|
|
2588
|
+
outerBorderWidth: 2
|
|
2589
|
+
}
|
|
2590
|
+
}
|
|
2591
|
+
],
|
|
2592
|
+
tokens: {
|
|
2593
|
+
backgroundColor: '#ffffff',
|
|
2594
|
+
borderColor: '#e3e6e8',
|
|
2595
|
+
borderRadius: 6,
|
|
2596
|
+
borderWidth: 1,
|
|
2597
|
+
flex: 1,
|
|
2598
|
+
outerBorderColor: '#000000',
|
|
2599
|
+
outerBorderGap: 0,
|
|
2600
|
+
outerBorderWidth: 0,
|
|
2601
|
+
paddingBottom: 0,
|
|
2602
|
+
paddingLeft: 0,
|
|
2603
|
+
paddingRight: 0,
|
|
2604
|
+
paddingTop: 0,
|
|
2605
|
+
separatorColor: '#b2b9bf'
|
|
2606
|
+
}
|
|
2607
|
+
},
|
|
2608
|
+
PriceLockup: {
|
|
2609
|
+
appearances: {},
|
|
2610
|
+
rules: [],
|
|
2611
|
+
tokens: {
|
|
2612
|
+
bottomLinksMarginLeft: 4,
|
|
2613
|
+
bottomTextMarginTop: 4,
|
|
2614
|
+
dividerColor: '#b2b9bf',
|
|
2615
|
+
fontColor: '#414547',
|
|
2616
|
+
footnoteGap: 4,
|
|
2617
|
+
footnoteMarginTop: 4,
|
|
2618
|
+
priceMarginBottom: 8,
|
|
2619
|
+
strikeThroughBackground: '#676e73',
|
|
2620
|
+
strikeThroughHeight: 2,
|
|
2621
|
+
topTextMarginBottom: 4
|
|
2622
|
+
}
|
|
2623
|
+
},
|
|
2385
2624
|
Progress: {
|
|
2386
2625
|
appearances: { size: { type: 'variant', values: [ 'mini' ] } },
|
|
2387
2626
|
rules: [ { if: { size: 'mini' }, tokens: { height: 8 } } ],
|
|
@@ -2675,10 +2914,7 @@ module.exports = {
|
|
|
2675
2914
|
}
|
|
2676
2915
|
},
|
|
2677
2916
|
rules: [
|
|
2678
|
-
{
|
|
2679
|
-
if: { error: true },
|
|
2680
|
-
tokens: { inputBorderColor: '#e12339' }
|
|
2681
|
-
},
|
|
2917
|
+
{ if: { error: true }, tokens: {} },
|
|
2682
2918
|
{
|
|
2683
2919
|
if: { hover: true },
|
|
2684
2920
|
tokens: { outerBorderColor: '#e3e6e8', outerBorderWidth: 2 }
|
|
@@ -2694,6 +2930,15 @@ module.exports = {
|
|
|
2694
2930
|
inputBorderColor: 'rgba(0, 0, 0, 0)',
|
|
2695
2931
|
labelColor: '#676e73'
|
|
2696
2932
|
}
|
|
2933
|
+
},
|
|
2934
|
+
{
|
|
2935
|
+
if: { checked: true, inactive: true },
|
|
2936
|
+
tokens: {
|
|
2937
|
+
checkedBackgroundColor: '#b2b9bf',
|
|
2938
|
+
inputBackgroundColor: '#ffffff',
|
|
2939
|
+
inputBorderColor: '#b2b9bf',
|
|
2940
|
+
labelColor: '#676e73'
|
|
2941
|
+
}
|
|
2697
2942
|
}
|
|
2698
2943
|
],
|
|
2699
2944
|
tokens: {
|
|
@@ -3101,11 +3346,12 @@ module.exports = {
|
|
|
3101
3346
|
},
|
|
3102
3347
|
rules: [
|
|
3103
3348
|
{
|
|
3104
|
-
if: { hover: true
|
|
3105
|
-
tokens: {
|
|
3106
|
-
|
|
3107
|
-
|
|
3108
|
-
}
|
|
3349
|
+
if: { hover: true },
|
|
3350
|
+
tokens: { outerBorderColor: '#e3e6e8' }
|
|
3351
|
+
},
|
|
3352
|
+
{
|
|
3353
|
+
if: { focus: true },
|
|
3354
|
+
tokens: { borderColor: '#7c53a5', borderWidth: 3 }
|
|
3109
3355
|
},
|
|
3110
3356
|
{
|
|
3111
3357
|
if: { validation: 'success' },
|
|
@@ -3123,17 +3369,9 @@ module.exports = {
|
|
|
3123
3369
|
validationIconColor: '#e12339'
|
|
3124
3370
|
}
|
|
3125
3371
|
},
|
|
3126
|
-
{
|
|
3127
|
-
if: { focus: true },
|
|
3128
|
-
tokens: {
|
|
3129
|
-
borderColor: '#7c53a5',
|
|
3130
|
-
borderWidth: 3,
|
|
3131
|
-
validationIcon: null
|
|
3132
|
-
}
|
|
3133
|
-
},
|
|
3134
3372
|
{
|
|
3135
3373
|
if: { inactive: true },
|
|
3136
|
-
tokens: {
|
|
3374
|
+
tokens: { borderColor: '#676e73', icon: null }
|
|
3137
3375
|
}
|
|
3138
3376
|
],
|
|
3139
3377
|
tokens: {
|
|
@@ -3148,7 +3386,7 @@ module.exports = {
|
|
|
3148
3386
|
height: 48,
|
|
3149
3387
|
icon: PaletteIconCaretDown,
|
|
3150
3388
|
iconColor: '#414547',
|
|
3151
|
-
iconSize:
|
|
3389
|
+
iconSize: 20,
|
|
3152
3390
|
outerBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
3153
3391
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
3154
3392
|
outerBorderWidth: 2,
|
|
@@ -3158,7 +3396,7 @@ module.exports = {
|
|
|
3158
3396
|
paddingTop: 12,
|
|
3159
3397
|
validationIcon: null,
|
|
3160
3398
|
validationIconColor: 'rgba(0, 0, 0, 0)',
|
|
3161
|
-
validationIconSize:
|
|
3399
|
+
validationIconSize: 20
|
|
3162
3400
|
}
|
|
3163
3401
|
},
|
|
3164
3402
|
SideNav: {
|
|
@@ -3417,6 +3655,36 @@ module.exports = {
|
|
|
3417
3655
|
showStepTrackerLabel: true
|
|
3418
3656
|
}
|
|
3419
3657
|
},
|
|
3658
|
+
Table: {
|
|
3659
|
+
appearances: { spacing: { type: 'variant', values: [ 'compact' ] } },
|
|
3660
|
+
rules: [
|
|
3661
|
+
{
|
|
3662
|
+
if: { spacing: 'compact' },
|
|
3663
|
+
tokens: { cellPaddingBottom: 8, cellPaddingTop: 8 }
|
|
3664
|
+
}
|
|
3665
|
+
],
|
|
3666
|
+
tokens: {
|
|
3667
|
+
cellBackground: '#ffffff',
|
|
3668
|
+
cellBoxShadowColor: '#e3e6e8',
|
|
3669
|
+
cellHeadingBackground: '#f4f4f7',
|
|
3670
|
+
cellHeadingBoxShadowColor: '#b2b9bf',
|
|
3671
|
+
cellPaddingBottom: 16,
|
|
3672
|
+
cellPaddingLeft: 16,
|
|
3673
|
+
cellPaddingRight: 16,
|
|
3674
|
+
cellPaddingTop: 16,
|
|
3675
|
+
cellRowHeadingBackground: '#ffffff',
|
|
3676
|
+
cellStickyShadow: {
|
|
3677
|
+
blur: 8,
|
|
3678
|
+
color: 'rgba(0, 0, 0, 0.1)',
|
|
3679
|
+
inset: false,
|
|
3680
|
+
offsetX: 0,
|
|
3681
|
+
offsetY: 4,
|
|
3682
|
+
spread: 0
|
|
3683
|
+
},
|
|
3684
|
+
cellSubheadingBackground: '#fafafa',
|
|
3685
|
+
tablePaddingBottom: 24
|
|
3686
|
+
}
|
|
3687
|
+
},
|
|
3420
3688
|
Tabs: {
|
|
3421
3689
|
appearances: {
|
|
3422
3690
|
inverse: {
|
|
@@ -3839,6 +4107,28 @@ module.exports = {
|
|
|
3839
4107
|
timelineContainerDirection: 'column'
|
|
3840
4108
|
}
|
|
3841
4109
|
},
|
|
4110
|
+
Toast: {
|
|
4111
|
+
appearances: {},
|
|
4112
|
+
rules: [],
|
|
4113
|
+
tokens: {
|
|
4114
|
+
animationBackgroundColorAfter: '#f4f4f7',
|
|
4115
|
+
animationBackgroundColorBefore: '#4b286d',
|
|
4116
|
+
animationColorAfter: '#414547',
|
|
4117
|
+
animationColorBefore: '#ffffff',
|
|
4118
|
+
animationDivColorAfter: '#2b8000',
|
|
4119
|
+
animationDivColorBefore: '#ffffff',
|
|
4120
|
+
animationFillColorAfter: '#2b8000',
|
|
4121
|
+
animationFillColorBefore: '#ffffff',
|
|
4122
|
+
animationHeightAfter: 24,
|
|
4123
|
+
animationHeightBefore: 0,
|
|
4124
|
+
animationPaddingBottomAfter: 16,
|
|
4125
|
+
animationPaddingBottomBefore: 0,
|
|
4126
|
+
animationPaddingTopAfter: 16,
|
|
4127
|
+
animationPaddingTopBefore: 0,
|
|
4128
|
+
containerBackgroundColor: '#4b286d',
|
|
4129
|
+
containerGap: 10
|
|
4130
|
+
}
|
|
4131
|
+
},
|
|
3842
4132
|
ToggleSwitch: {
|
|
3843
4133
|
appearances: {
|
|
3844
4134
|
focus: {
|
|
@@ -4368,6 +4658,15 @@ module.exports = {
|
|
|
4368
4658
|
textTransform: 'none'
|
|
4369
4659
|
}
|
|
4370
4660
|
},
|
|
4661
|
+
WaffleGrid: {
|
|
4662
|
+
appearances: {},
|
|
4663
|
+
rules: [],
|
|
4664
|
+
tokens: {
|
|
4665
|
+
itemBorderColor: '#b2b9bf',
|
|
4666
|
+
itemPadding: 16,
|
|
4667
|
+
rowBorderWidth: 1
|
|
4668
|
+
}
|
|
4669
|
+
},
|
|
4371
4670
|
spacingScale: {
|
|
4372
4671
|
appearances: {
|
|
4373
4672
|
space: {
|
|
@@ -4428,5 +4727,5 @@ module.exports = {
|
|
|
4428
4727
|
tokens: { size: 96 }
|
|
4429
4728
|
}
|
|
4430
4729
|
},
|
|
4431
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
4730
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.19.0' }
|
|
4432
4731
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.21.0",
|
|
4
4
|
"description": "Allium theme",
|
|
5
5
|
"author": "TELUS Digital",
|
|
6
6
|
"homepage": "https://github.com/telus/allium-design-system#readme",
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"main": "build/rn/theme.js",
|
|
9
9
|
"dependencies": {},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@telus-uds/palette-allium": "^2.
|
|
12
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
13
|
-
"@telus-uds/system-tokens": "^0.6.
|
|
11
|
+
"@telus-uds/palette-allium": "^2.13.1",
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^2.19.0",
|
|
13
|
+
"@telus-uds/system-tokens": "^0.6.11"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^2.
|
|
16
|
+
"@telus-uds/palette-allium": "^2.13.1"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"build",
|