@telus-uds/theme-koodo 3.22.0 → 3.24.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 +7917 -5655
- package/build/android/theme.json +1133 -154
- package/build/ios/schema.json +7917 -5655
- package/build/ios/theme.json +1133 -154
- package/build/rn/schema.json +7917 -5655
- package/build/rn/theme.js +578 -12
- package/package.json +4 -4
- package/theme.json +690 -9
package/build/rn/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on Thu,
|
|
4
|
+
* Generated on Thu, 27 Apr 2023 14:30:29 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -14,6 +14,11 @@ const PaletteIconArrowRight = require('@telus-uds/palette-koodo/build/rn/icons/A
|
|
|
14
14
|
const PaletteIconArrowLeft = require('@telus-uds/palette-koodo/build/rn/icons/ArrowLeft')
|
|
15
15
|
const PaletteIconCheckCircledFilled = require('@telus-uds/palette-koodo/build/rn/icons/CheckCircledFilled')
|
|
16
16
|
const PaletteIconCaution = require('@telus-uds/palette-koodo/build/rn/icons/Caution')
|
|
17
|
+
const PaletteIconAdd = require('@telus-uds/palette-koodo/build/rn/icons/Add')
|
|
18
|
+
const PaletteIconSubtract = require('@telus-uds/palette-koodo/build/rn/icons/Subtract')
|
|
19
|
+
const PaletteIconClose = require('@telus-uds/palette-koodo/build/rn/icons/Close')
|
|
20
|
+
const PaletteIconExpand = require('@telus-uds/palette-koodo/build/rn/icons/Expand')
|
|
21
|
+
const PaletteIconPlayVideo = require('@telus-uds/palette-koodo/build/rn/icons/PlayVideo')
|
|
17
22
|
const PaletteIconTimes = require('@telus-uds/palette-koodo/build/rn/icons/Times')
|
|
18
23
|
const PaletteIconExclamationTriangle = require('@telus-uds/palette-koodo/build/rn/icons/ExclamationTriangle')
|
|
19
24
|
const PaletteIconExclamationOctagon = require('@telus-uds/palette-koodo/build/rn/icons/ExclamationOctagon')
|
|
@@ -22,6 +27,7 @@ const PaletteIconCheckCircledNotFilled = require('@telus-uds/palette-koodo/build
|
|
|
22
27
|
const PaletteIconEyeMasked = require('@telus-uds/palette-koodo/build/rn/icons/EyeMasked')
|
|
23
28
|
const PaletteIconEyeUnmasked = require('@telus-uds/palette-koodo/build/rn/icons/EyeUnmasked')
|
|
24
29
|
const PaletteIconInfo = require('@telus-uds/palette-koodo/build/rn/icons/Info')
|
|
30
|
+
const PaletteIconSettings = require('@telus-uds/palette-koodo/build/rn/icons/Settings')
|
|
25
31
|
|
|
26
32
|
module.exports = {
|
|
27
33
|
components: {
|
|
@@ -34,7 +40,7 @@ module.exports = {
|
|
|
34
40
|
}
|
|
35
41
|
},
|
|
36
42
|
rules: [ { if: { size: 'large' }, tokens: { size: 48, thickness: 4 } } ],
|
|
37
|
-
tokens: { color: '#016b6a', size:
|
|
43
|
+
tokens: { color: '#016b6a', size: 24, thickness: 2 }
|
|
38
44
|
},
|
|
39
45
|
Badge: {
|
|
40
46
|
appearances: {
|
|
@@ -104,6 +110,20 @@ module.exports = {
|
|
|
104
110
|
paddingTop: 2
|
|
105
111
|
}
|
|
106
112
|
},
|
|
113
|
+
BlockQuote: {
|
|
114
|
+
appearances: {},
|
|
115
|
+
rules: [],
|
|
116
|
+
tokens: {
|
|
117
|
+
backgroundGradient: null,
|
|
118
|
+
color: '#016b6a',
|
|
119
|
+
marginBottom: 16,
|
|
120
|
+
paddingBottom: 16,
|
|
121
|
+
paddingLeft: 32,
|
|
122
|
+
paddingRight: 32,
|
|
123
|
+
paddingTop: 16,
|
|
124
|
+
width: 2
|
|
125
|
+
}
|
|
126
|
+
},
|
|
107
127
|
Box: {
|
|
108
128
|
appearances: {
|
|
109
129
|
background: {
|
|
@@ -249,10 +269,15 @@ module.exports = {
|
|
|
249
269
|
type: 'variant',
|
|
250
270
|
values: [ true ]
|
|
251
271
|
},
|
|
272
|
+
viewport: {
|
|
273
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
274
|
+
type: 'state',
|
|
275
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
276
|
+
},
|
|
252
277
|
width: {
|
|
253
|
-
description: 'Available in default
|
|
278
|
+
description: 'Available in default, full-width or responsive. Default-width expands based on content. Full-width expands to width of the container. Responsive automatically applies full-width when is displayed on the XS viewport.',
|
|
254
279
|
type: 'variant',
|
|
255
|
-
values: [ 'full' ]
|
|
280
|
+
values: [ 'full', 'responsive' ]
|
|
256
281
|
}
|
|
257
282
|
},
|
|
258
283
|
rules: [
|
|
@@ -388,6 +413,10 @@ module.exports = {
|
|
|
388
413
|
}
|
|
389
414
|
},
|
|
390
415
|
{ if: { width: 'full' }, tokens: { width: '100%' } },
|
|
416
|
+
{
|
|
417
|
+
if: { viewport: [ 'xs' ], width: 'responsive' },
|
|
418
|
+
tokens: { width: '100%' }
|
|
419
|
+
},
|
|
391
420
|
{
|
|
392
421
|
if: { size: 'small' },
|
|
393
422
|
tokens: {
|
|
@@ -839,17 +868,21 @@ module.exports = {
|
|
|
839
868
|
}
|
|
840
869
|
},
|
|
841
870
|
Callout: {
|
|
842
|
-
appearances: {
|
|
871
|
+
appearances: {
|
|
872
|
+
rounded: { type: 'variant', values: [ true ] },
|
|
873
|
+
size: { type: 'variant', values: [ 'small' ] }
|
|
874
|
+
},
|
|
843
875
|
rules: [
|
|
844
876
|
{
|
|
845
877
|
if: { size: 'small' },
|
|
846
878
|
tokens: { paddingBottom: 4, paddingTop: 4 }
|
|
847
|
-
}
|
|
879
|
+
},
|
|
880
|
+
{ if: { rounded: true }, tokens: { borderRadius: 4 } }
|
|
848
881
|
],
|
|
849
882
|
tokens: {
|
|
850
|
-
background: '#
|
|
851
|
-
borderRadius:
|
|
852
|
-
color: '#
|
|
883
|
+
background: '#fae6f4',
|
|
884
|
+
borderRadius: 0,
|
|
885
|
+
color: '#7c1366',
|
|
853
886
|
gap: 16,
|
|
854
887
|
paddingBottom: 8,
|
|
855
888
|
paddingLeft: 16,
|
|
@@ -890,7 +923,7 @@ module.exports = {
|
|
|
890
923
|
borderWidth: 0,
|
|
891
924
|
contentAlignItems: 'stretch',
|
|
892
925
|
contentFlexGrow: 0,
|
|
893
|
-
contentFlexShrink:
|
|
926
|
+
contentFlexShrink: 1,
|
|
894
927
|
contentJustifyContent: 'flex-start',
|
|
895
928
|
flex: 1,
|
|
896
929
|
minWidth: null,
|
|
@@ -1212,6 +1245,75 @@ module.exports = {
|
|
|
1212
1245
|
textLineHeight: 2.13
|
|
1213
1246
|
}
|
|
1214
1247
|
},
|
|
1248
|
+
Countdown: {
|
|
1249
|
+
appearances: {
|
|
1250
|
+
feature: { type: 'variant', values: [ true ] },
|
|
1251
|
+
inverse: { type: 'variant', values: [ true ] },
|
|
1252
|
+
label: { type: 'variant', values: [ true ] },
|
|
1253
|
+
large: { type: 'variant', values: [ true ] },
|
|
1254
|
+
viewport: {
|
|
1255
|
+
description: 'The size label for the current screen viewport based on the current screen width',
|
|
1256
|
+
type: 'state',
|
|
1257
|
+
values: [ 'xs', 'sm', 'md', 'lg', 'xl' ]
|
|
1258
|
+
}
|
|
1259
|
+
},
|
|
1260
|
+
rules: [
|
|
1261
|
+
{
|
|
1262
|
+
if: { viewport: [ 'xs' ] },
|
|
1263
|
+
tokens: {
|
|
1264
|
+
containerPaddingBottomTop: 16,
|
|
1265
|
+
containerPaddingLeftRight: 24,
|
|
1266
|
+
labelFontSize: 14,
|
|
1267
|
+
labelLineHeight: 1.42857142857,
|
|
1268
|
+
textLineHeight: 1.14285714286
|
|
1269
|
+
}
|
|
1270
|
+
},
|
|
1271
|
+
{
|
|
1272
|
+
if: { large: true, viewport: [ 'xs' ] },
|
|
1273
|
+
tokens: { textFontSize: 28 }
|
|
1274
|
+
},
|
|
1275
|
+
{
|
|
1276
|
+
if: { feature: true, viewport: [ 'xs' ] },
|
|
1277
|
+
tokens: { textFontSize: 28 }
|
|
1278
|
+
},
|
|
1279
|
+
{
|
|
1280
|
+
if: { feature: true },
|
|
1281
|
+
tokens: {
|
|
1282
|
+
labelBorderColor: null,
|
|
1283
|
+
textFontSize: 64,
|
|
1284
|
+
textLineHeight: 1.14285714286,
|
|
1285
|
+
textTimerFontName: 'StagSans',
|
|
1286
|
+
textTimerFontWeight: '300'
|
|
1287
|
+
}
|
|
1288
|
+
},
|
|
1289
|
+
{
|
|
1290
|
+
if: { large: true },
|
|
1291
|
+
tokens: {
|
|
1292
|
+
textFontSize: 64,
|
|
1293
|
+
textLineHeight: 1.14285714286,
|
|
1294
|
+
textTimerFontName: 'StagSans',
|
|
1295
|
+
textTimerFontWeight: '300'
|
|
1296
|
+
}
|
|
1297
|
+
},
|
|
1298
|
+
{ if: { inverse: true }, tokens: { labelBorderColor: null } }
|
|
1299
|
+
],
|
|
1300
|
+
tokens: {
|
|
1301
|
+
containerBorderRadius: 6,
|
|
1302
|
+
containerGradient: null,
|
|
1303
|
+
containerInverseBorder: 2,
|
|
1304
|
+
containerInverseBorderColor: '#ffffff',
|
|
1305
|
+
containerPaddingBottomTop: 48,
|
|
1306
|
+
containerPaddingLeftRight: 64,
|
|
1307
|
+
inverseBorderColor: null,
|
|
1308
|
+
labelBorderColor: null,
|
|
1309
|
+
labelFontSize: 16,
|
|
1310
|
+
labelLineHeight: 1.5,
|
|
1311
|
+
textFontSize: 16,
|
|
1312
|
+
textLineHeight: 1.14285714286,
|
|
1313
|
+
textTimerFontName: 'StagSans',
|
|
1314
|
+
textTimerFontWeight: '400'
|
|
1315
|
+
}
|
|
1316
|
+
},
|
|
1215
1317
|
DatePicker: {
|
|
1216
1318
|
appearances: {},
|
|
1217
1319
|
rules: [],
|
|
@@ -1551,6 +1653,16 @@ module.exports = {
|
|
|
1551
1653
|
},
|
|
1552
1654
|
IconButton: {
|
|
1553
1655
|
appearances: {
|
|
1656
|
+
action: {
|
|
1657
|
+
type: 'variant',
|
|
1658
|
+
values: [
|
|
1659
|
+
'add', 'close',
|
|
1660
|
+
'expand', 'moveDown',
|
|
1661
|
+
'moveLeft', 'moveRight',
|
|
1662
|
+
'moveUp', 'play',
|
|
1663
|
+
'subtract'
|
|
1664
|
+
]
|
|
1665
|
+
},
|
|
1554
1666
|
compact: {
|
|
1555
1667
|
description: 'Without the outer border gap',
|
|
1556
1668
|
type: 'variant',
|
|
@@ -1596,6 +1708,72 @@ module.exports = {
|
|
|
1596
1708
|
size: { type: 'variant', values: [ 'small', 'large' ] }
|
|
1597
1709
|
},
|
|
1598
1710
|
rules: [
|
|
1711
|
+
{ if: { action: 'add' }, tokens: { icon: PaletteIconAdd } },
|
|
1712
|
+
{
|
|
1713
|
+
if: { action: 'subtract' },
|
|
1714
|
+
tokens: { icon: PaletteIconSubtract }
|
|
1715
|
+
},
|
|
1716
|
+
{
|
|
1717
|
+
if: { action: 'close' },
|
|
1718
|
+
tokens: { icon: PaletteIconClose }
|
|
1719
|
+
},
|
|
1720
|
+
{
|
|
1721
|
+
if: { action: 'expand' },
|
|
1722
|
+
tokens: { icon: PaletteIconExpand }
|
|
1723
|
+
},
|
|
1724
|
+
{
|
|
1725
|
+
if: { action: 'moveDown' },
|
|
1726
|
+
tokens: { icon: PaletteIconChevronDown }
|
|
1727
|
+
},
|
|
1728
|
+
{
|
|
1729
|
+
if: { action: 'moveLeft' },
|
|
1730
|
+
tokens: { icon: PaletteIconChevronLeft }
|
|
1731
|
+
},
|
|
1732
|
+
{
|
|
1733
|
+
if: { action: 'moveRight' },
|
|
1734
|
+
tokens: { icon: PaletteIconChevronRight }
|
|
1735
|
+
},
|
|
1736
|
+
{
|
|
1737
|
+
if: { action: 'moveUp' },
|
|
1738
|
+
tokens: { icon: PaletteIconChevronUp }
|
|
1739
|
+
},
|
|
1740
|
+
{
|
|
1741
|
+
if: { action: 'play' },
|
|
1742
|
+
tokens: { icon: PaletteIconPlayVideo }
|
|
1743
|
+
},
|
|
1744
|
+
{ if: { action: 'add' }, tokens: { icon: PaletteIconAdd } },
|
|
1745
|
+
{
|
|
1746
|
+
if: { action: 'subtract' },
|
|
1747
|
+
tokens: { icon: PaletteIconSubtract }
|
|
1748
|
+
},
|
|
1749
|
+
{
|
|
1750
|
+
if: { action: 'close' },
|
|
1751
|
+
tokens: { icon: PaletteIconClose }
|
|
1752
|
+
},
|
|
1753
|
+
{
|
|
1754
|
+
if: { action: 'expand' },
|
|
1755
|
+
tokens: { icon: PaletteIconExpand }
|
|
1756
|
+
},
|
|
1757
|
+
{
|
|
1758
|
+
if: { action: 'moveDown' },
|
|
1759
|
+
tokens: { icon: PaletteIconChevronDown }
|
|
1760
|
+
},
|
|
1761
|
+
{
|
|
1762
|
+
if: { action: 'moveLeft' },
|
|
1763
|
+
tokens: { icon: PaletteIconChevronLeft }
|
|
1764
|
+
},
|
|
1765
|
+
{
|
|
1766
|
+
if: { action: 'moveRight' },
|
|
1767
|
+
tokens: { icon: PaletteIconChevronRight }
|
|
1768
|
+
},
|
|
1769
|
+
{
|
|
1770
|
+
if: { action: 'moveUp' },
|
|
1771
|
+
tokens: { icon: PaletteIconChevronUp }
|
|
1772
|
+
},
|
|
1773
|
+
{
|
|
1774
|
+
if: { action: 'play' },
|
|
1775
|
+
tokens: { icon: PaletteIconPlayVideo }
|
|
1776
|
+
},
|
|
1599
1777
|
{ if: { inverse: true }, tokens: { iconColor: '#ffffff' } },
|
|
1600
1778
|
{
|
|
1601
1779
|
if: { hover: true },
|
|
@@ -1755,6 +1933,7 @@ module.exports = {
|
|
|
1755
1933
|
borderColor: 'transparent',
|
|
1756
1934
|
borderRadius: 99999999999999,
|
|
1757
1935
|
borderWidth: 1,
|
|
1936
|
+
icon: null,
|
|
1758
1937
|
iconColor: '#000000',
|
|
1759
1938
|
iconScale: 1,
|
|
1760
1939
|
iconSize: 16,
|
|
@@ -1975,6 +2154,111 @@ module.exports = {
|
|
|
1975
2154
|
listGutter: 10
|
|
1976
2155
|
}
|
|
1977
2156
|
},
|
|
2157
|
+
ListBox: {
|
|
2158
|
+
appearances: {
|
|
2159
|
+
current: {
|
|
2160
|
+
description: 'When the current item is selected',
|
|
2161
|
+
type: 'state',
|
|
2162
|
+
values: [ true ]
|
|
2163
|
+
},
|
|
2164
|
+
expanded: {
|
|
2165
|
+
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
2166
|
+
type: 'state',
|
|
2167
|
+
values: [ true ]
|
|
2168
|
+
},
|
|
2169
|
+
focus: {
|
|
2170
|
+
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.",
|
|
2171
|
+
platforms: [ 'rn' ],
|
|
2172
|
+
type: 'state',
|
|
2173
|
+
values: [ true ]
|
|
2174
|
+
},
|
|
2175
|
+
hover: {
|
|
2176
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2177
|
+
platforms: [ 'rn' ],
|
|
2178
|
+
type: 'state',
|
|
2179
|
+
values: [ true ]
|
|
2180
|
+
},
|
|
2181
|
+
isChild: {
|
|
2182
|
+
description: 'when the item is child of another child',
|
|
2183
|
+
type: 'state',
|
|
2184
|
+
values: [ true ]
|
|
2185
|
+
},
|
|
2186
|
+
pressed: {
|
|
2187
|
+
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.',
|
|
2188
|
+
type: 'state',
|
|
2189
|
+
values: [ true ]
|
|
2190
|
+
}
|
|
2191
|
+
},
|
|
2192
|
+
rules: [
|
|
2193
|
+
{
|
|
2194
|
+
if: { pressed: true },
|
|
2195
|
+
tokens: { groupBackgroundColor: '#bbeaf5', groupColor: '#016b6a' }
|
|
2196
|
+
},
|
|
2197
|
+
{
|
|
2198
|
+
if: { hover: true },
|
|
2199
|
+
tokens: { groupBackgroundColor: '#c9c8c8', groupColor: '#016b6a' }
|
|
2200
|
+
},
|
|
2201
|
+
{
|
|
2202
|
+
if: { focus: true },
|
|
2203
|
+
tokens: { groupBackgroundColor: '#c9c8c8', groupColor: '#016b6a' }
|
|
2204
|
+
},
|
|
2205
|
+
{
|
|
2206
|
+
if: { current: true },
|
|
2207
|
+
tokens: {
|
|
2208
|
+
groupColor: '#016b6a',
|
|
2209
|
+
groupFontName: 'StagSans',
|
|
2210
|
+
groupFontWeight: '700'
|
|
2211
|
+
}
|
|
2212
|
+
},
|
|
2213
|
+
{
|
|
2214
|
+
if: { isChild: true },
|
|
2215
|
+
tokens: { itemBorderWidth: 4, itemPaddingLeft: 12 }
|
|
2216
|
+
},
|
|
2217
|
+
{
|
|
2218
|
+
if: { expanded: true },
|
|
2219
|
+
tokens: { groupIcon: PaletteIconChevronUp }
|
|
2220
|
+
}
|
|
2221
|
+
],
|
|
2222
|
+
tokens: {
|
|
2223
|
+
groupBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2224
|
+
groupBorderColor: '#016b6a',
|
|
2225
|
+
groupBorderRadius: 6,
|
|
2226
|
+
groupBorderWidth: 1,
|
|
2227
|
+
groupColor: '#e5f7fb',
|
|
2228
|
+
groupFontName: 'StagSans',
|
|
2229
|
+
groupFontSize: 14,
|
|
2230
|
+
groupFontWeight: '400',
|
|
2231
|
+
groupIcon: PaletteIconChevronDown,
|
|
2232
|
+
groupPaddingBottom: 12,
|
|
2233
|
+
groupPaddingLeft: 16,
|
|
2234
|
+
groupPaddingRight: 16,
|
|
2235
|
+
groupPaddingTop: 12,
|
|
2236
|
+
itemBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2237
|
+
itemBorderBackgroundColor: '#bbeaf5',
|
|
2238
|
+
itemBorderLeftColor: '#016b6a',
|
|
2239
|
+
itemBorderLeftWidth: 4,
|
|
2240
|
+
itemBorderWidth: 0,
|
|
2241
|
+
itemColor: '#016b6a',
|
|
2242
|
+
itemDisplay: false,
|
|
2243
|
+
itemFontName: 'StagSans',
|
|
2244
|
+
itemFontSize: 14,
|
|
2245
|
+
itemFontWeight: '700',
|
|
2246
|
+
itemOutline: 0,
|
|
2247
|
+
itemPaddingBottom: 12,
|
|
2248
|
+
itemPaddingLeft: 16,
|
|
2249
|
+
itemPaddingRight: 16,
|
|
2250
|
+
itemPaddingTop: 12,
|
|
2251
|
+
itemTextDecoration: 'none',
|
|
2252
|
+
shadow: {
|
|
2253
|
+
blur: 2,
|
|
2254
|
+
color: 'rgba(0, 0, 0, 0.1)',
|
|
2255
|
+
inset: false,
|
|
2256
|
+
offsetX: 0,
|
|
2257
|
+
offsetY: 2,
|
|
2258
|
+
spread: 0
|
|
2259
|
+
}
|
|
2260
|
+
}
|
|
2261
|
+
},
|
|
1978
2262
|
Modal: {
|
|
1979
2263
|
appearances: {
|
|
1980
2264
|
maxWidth: {
|
|
@@ -2464,6 +2748,23 @@ module.exports = {
|
|
|
2464
2748
|
outlineWidth: 1
|
|
2465
2749
|
}
|
|
2466
2750
|
},
|
|
2751
|
+
QuantitySelector: {
|
|
2752
|
+
appearances: { alternative: { type: 'variant', values: [ true ] } },
|
|
2753
|
+
rules: [ { if: { alternative: true }, tokens: { padding: 0 } } ],
|
|
2754
|
+
tokens: {
|
|
2755
|
+
backgroundColor: null,
|
|
2756
|
+
borderColor: null,
|
|
2757
|
+
iconColor: null,
|
|
2758
|
+
iconSize: 16,
|
|
2759
|
+
inputBackgroundColor: null,
|
|
2760
|
+
inputBorderColor: null,
|
|
2761
|
+
inputBorderWidth: 1,
|
|
2762
|
+
leftIcon: PaletteIconSubtract,
|
|
2763
|
+
padding: 16,
|
|
2764
|
+
rightIcon: PaletteIconAdd,
|
|
2765
|
+
textColor: null
|
|
2766
|
+
}
|
|
2767
|
+
},
|
|
2467
2768
|
QuickLinks: {
|
|
2468
2769
|
appearances: {
|
|
2469
2770
|
viewport: {
|
|
@@ -2881,7 +3182,7 @@ module.exports = {
|
|
|
2881
3182
|
color: '#000000',
|
|
2882
3183
|
contentAlignItems: 'stretch',
|
|
2883
3184
|
contentFlexGrow: 0,
|
|
2884
|
-
contentFlexShrink:
|
|
3185
|
+
contentFlexShrink: 1,
|
|
2885
3186
|
contentJustifyContent: 'flex-start',
|
|
2886
3187
|
contentSpace: 2,
|
|
2887
3188
|
flex: 1,
|
|
@@ -3343,6 +3644,55 @@ module.exports = {
|
|
|
3343
3644
|
thickness: 4
|
|
3344
3645
|
}
|
|
3345
3646
|
},
|
|
3647
|
+
SplashButton: {
|
|
3648
|
+
appearances: {
|
|
3649
|
+
hover: {
|
|
3650
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
3651
|
+
platforms: [ 'rn' ],
|
|
3652
|
+
type: 'state',
|
|
3653
|
+
values: [ true ]
|
|
3654
|
+
}
|
|
3655
|
+
},
|
|
3656
|
+
rules: [],
|
|
3657
|
+
tokens: {
|
|
3658
|
+
buttonContentBackground: null,
|
|
3659
|
+
buttonContentChildrenBackground: null,
|
|
3660
|
+
playIcon: PaletteIconPlayVideo,
|
|
3661
|
+
playIconColor: '#ffffff'
|
|
3662
|
+
}
|
|
3663
|
+
},
|
|
3664
|
+
SplashButtonWithDetails: {
|
|
3665
|
+
appearances: {
|
|
3666
|
+
hover: {
|
|
3667
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
3668
|
+
platforms: [ 'rn' ],
|
|
3669
|
+
type: 'state',
|
|
3670
|
+
values: [ true ]
|
|
3671
|
+
}
|
|
3672
|
+
},
|
|
3673
|
+
rules: [
|
|
3674
|
+
{
|
|
3675
|
+
if: { hover: true },
|
|
3676
|
+
tokens: { buttonContentChildrenBackground: null }
|
|
3677
|
+
}
|
|
3678
|
+
],
|
|
3679
|
+
tokens: {
|
|
3680
|
+
buttonBackground: '#ffffff',
|
|
3681
|
+
buttonBorderColor: null,
|
|
3682
|
+
buttonBottomPosition: 24,
|
|
3683
|
+
buttonContentBackground: null,
|
|
3684
|
+
buttonContentChildrenBackground: null,
|
|
3685
|
+
buttonLeftPosition: 24,
|
|
3686
|
+
buttonMinHeight: 64,
|
|
3687
|
+
buttonPaddingLeft: 16,
|
|
3688
|
+
buttonPaddingRight: 16,
|
|
3689
|
+
buttonRadius: 32,
|
|
3690
|
+
detailsContainerPadding: 8,
|
|
3691
|
+
playIcon: PaletteIconPlayVideo,
|
|
3692
|
+
playIconColor: '#ffffff',
|
|
3693
|
+
playIconContainerBackground: null
|
|
3694
|
+
}
|
|
3695
|
+
},
|
|
3346
3696
|
StackView: {
|
|
3347
3697
|
appearances: {},
|
|
3348
3698
|
rules: [],
|
|
@@ -3434,6 +3784,69 @@ module.exports = {
|
|
|
3434
3784
|
showStepTrackerLabel: true
|
|
3435
3785
|
}
|
|
3436
3786
|
},
|
|
3787
|
+
StoryCard: {
|
|
3788
|
+
appearances: {
|
|
3789
|
+
focus: {
|
|
3790
|
+
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.",
|
|
3791
|
+
platforms: [ 'rn' ],
|
|
3792
|
+
type: 'state',
|
|
3793
|
+
values: [ true ]
|
|
3794
|
+
},
|
|
3795
|
+
hover: {
|
|
3796
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
3797
|
+
platforms: [ 'rn' ],
|
|
3798
|
+
type: 'state',
|
|
3799
|
+
values: [ true ]
|
|
3800
|
+
},
|
|
3801
|
+
pressed: {
|
|
3802
|
+
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.',
|
|
3803
|
+
type: 'state',
|
|
3804
|
+
values: [ true ]
|
|
3805
|
+
}
|
|
3806
|
+
},
|
|
3807
|
+
rules: [
|
|
3808
|
+
{ if: { hover: true }, tokens: { borderWidth: 2 } },
|
|
3809
|
+
{
|
|
3810
|
+
if: { pressed: true },
|
|
3811
|
+
tokens: { backgroundColor: '#e6e6e6' }
|
|
3812
|
+
},
|
|
3813
|
+
{
|
|
3814
|
+
if: { focus: true },
|
|
3815
|
+
tokens: {
|
|
3816
|
+
outerBorderColor: '#016b6a',
|
|
3817
|
+
outerBorderGap: 2,
|
|
3818
|
+
outerBorderWidth: 2
|
|
3819
|
+
}
|
|
3820
|
+
}
|
|
3821
|
+
],
|
|
3822
|
+
tokens: {
|
|
3823
|
+
backgroundColor: '#ffffff',
|
|
3824
|
+
borderColor: '#efefef',
|
|
3825
|
+
borderRadius: 6,
|
|
3826
|
+
borderWidth: 1,
|
|
3827
|
+
contentAlignItems: 'stretch',
|
|
3828
|
+
contentFlexGrow: 0,
|
|
3829
|
+
contentFlexShrink: 0,
|
|
3830
|
+
contentJustifyContent: 'flex-start',
|
|
3831
|
+
flex: 1,
|
|
3832
|
+
minWidth: 0,
|
|
3833
|
+
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
3834
|
+
outerBorderGap: 0,
|
|
3835
|
+
outerBorderWidth: 0,
|
|
3836
|
+
paddingBottom: 0,
|
|
3837
|
+
paddingLeft: 0,
|
|
3838
|
+
paddingRight: 0,
|
|
3839
|
+
paddingTop: 0,
|
|
3840
|
+
shadow: {
|
|
3841
|
+
blur: 0,
|
|
3842
|
+
color: 'rgba(0, 0, 0, 0)',
|
|
3843
|
+
inset: false,
|
|
3844
|
+
offsetX: 0,
|
|
3845
|
+
offsetY: 0,
|
|
3846
|
+
spread: 0
|
|
3847
|
+
}
|
|
3848
|
+
}
|
|
3849
|
+
},
|
|
3437
3850
|
Table: {
|
|
3438
3851
|
appearances: { spacing: { type: 'variant', values: [ 'compact' ] } },
|
|
3439
3852
|
rules: [
|
|
@@ -3730,6 +4143,74 @@ module.exports = {
|
|
|
3730
4143
|
width: null
|
|
3731
4144
|
}
|
|
3732
4145
|
},
|
|
4146
|
+
TermsAndConditions: {
|
|
4147
|
+
appearances: {
|
|
4148
|
+
expanded: {
|
|
4149
|
+
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
4150
|
+
type: 'state',
|
|
4151
|
+
values: [ true ]
|
|
4152
|
+
}
|
|
4153
|
+
},
|
|
4154
|
+
rules: [
|
|
4155
|
+
{
|
|
4156
|
+
if: { expanded: true },
|
|
4157
|
+
tokens: { icon: PaletteIconChevronUp }
|
|
4158
|
+
}
|
|
4159
|
+
],
|
|
4160
|
+
tokens: {
|
|
4161
|
+
contentPaddingBottom: 8,
|
|
4162
|
+
contentPaddingLeft: 16,
|
|
4163
|
+
expandBaseBorderWidth: 0,
|
|
4164
|
+
expandContentPaddingBottom: 16,
|
|
4165
|
+
expandContentPaddingLeft: 16,
|
|
4166
|
+
expandContentPaddingRight: 16,
|
|
4167
|
+
expandContentPaddingTop: 16,
|
|
4168
|
+
expandIconContainerAlignItems: 'center',
|
|
4169
|
+
expandIconContainerBorder: 1,
|
|
4170
|
+
expandIconContainerBorderColor: '#efefef',
|
|
4171
|
+
expandIconContainerHeight: 32,
|
|
4172
|
+
expandIconContainerJustifyContent: 'center',
|
|
4173
|
+
expandIconContainerMarginX: 0,
|
|
4174
|
+
expandIconContainerMarginY: 12,
|
|
4175
|
+
expandIconContainerWidth: 32,
|
|
4176
|
+
expandTitleColor: '#efefef',
|
|
4177
|
+
expandTitleFontSize: 16,
|
|
4178
|
+
expandTitleLineHeight: 1.5,
|
|
4179
|
+
expandTitleMarginX: 4,
|
|
4180
|
+
expandTitleMarginY: 0,
|
|
4181
|
+
icon: PaletteIconChevronDown,
|
|
4182
|
+
listColor: '#016b6a',
|
|
4183
|
+
listFontName: 'StagSans',
|
|
4184
|
+
listFontSize: 14,
|
|
4185
|
+
listFontWeight: '400',
|
|
4186
|
+
listLineHeight: 1.42857142857,
|
|
4187
|
+
listMarginBottom: 16,
|
|
4188
|
+
listMarginLeft: 32,
|
|
4189
|
+
mdContentPaddingBottom: 16,
|
|
4190
|
+
mdContentPaddingLeft: 48,
|
|
4191
|
+
orderedPadding: 0,
|
|
4192
|
+
titleColor: '#016b6a',
|
|
4193
|
+
titleFontSize: 14,
|
|
4194
|
+
titleLineHeight: 1.42857142857,
|
|
4195
|
+
titlePaddingLeft: 8,
|
|
4196
|
+
unorderedPadding: 0
|
|
4197
|
+
}
|
|
4198
|
+
},
|
|
4199
|
+
Testimonial: {
|
|
4200
|
+
appearances: {},
|
|
4201
|
+
rules: [],
|
|
4202
|
+
tokens: {
|
|
4203
|
+
dividerBackgroundColor: '#ffffff',
|
|
4204
|
+
dividerBorder: 1,
|
|
4205
|
+
figcaptionGap: 12,
|
|
4206
|
+
icon: PaletteIconArrowLeft,
|
|
4207
|
+
iconColor: '#ffffff',
|
|
4208
|
+
imageSize: 48,
|
|
4209
|
+
quoteContainerGap: 4,
|
|
4210
|
+
testimonialContainerGap: 12,
|
|
4211
|
+
textColor: '#ffffff'
|
|
4212
|
+
}
|
|
4213
|
+
},
|
|
3733
4214
|
TextArea: {
|
|
3734
4215
|
appearances: {},
|
|
3735
4216
|
rules: [],
|
|
@@ -4255,6 +4736,91 @@ module.exports = {
|
|
|
4255
4736
|
textTransform: 'none'
|
|
4256
4737
|
}
|
|
4257
4738
|
},
|
|
4739
|
+
Video: {
|
|
4740
|
+
appearances: {},
|
|
4741
|
+
rules: [],
|
|
4742
|
+
tokens: {
|
|
4743
|
+
borderColor: '#000000',
|
|
4744
|
+
pauseIcon: PaletteIconAdd,
|
|
4745
|
+
playIcon: PaletteIconAdd,
|
|
4746
|
+
replayIcon: PaletteIconAdd
|
|
4747
|
+
}
|
|
4748
|
+
},
|
|
4749
|
+
VideoButton: { appearances: {}, rules: [], tokens: { color: '#ffffff' } },
|
|
4750
|
+
VideoControlBar: {
|
|
4751
|
+
appearances: {},
|
|
4752
|
+
rules: [],
|
|
4753
|
+
tokens: {
|
|
4754
|
+
captionsIcon: PaletteIconAdd,
|
|
4755
|
+
maximizeIcon: PaletteIconAdd,
|
|
4756
|
+
menuBottom: 64,
|
|
4757
|
+
menuMarginLeft: 16,
|
|
4758
|
+
menuRight: 32,
|
|
4759
|
+
minimizeIcon: PaletteIconAdd,
|
|
4760
|
+
paddingBottom: 16,
|
|
4761
|
+
paddingLeft: 48,
|
|
4762
|
+
paddingLeftCompactMode: 16,
|
|
4763
|
+
paddingRight: 48,
|
|
4764
|
+
paddingRightCompactMode: 16,
|
|
4765
|
+
paddingTop: 16,
|
|
4766
|
+
settingsIcon: PaletteIconSettings
|
|
4767
|
+
}
|
|
4768
|
+
},
|
|
4769
|
+
VideoMenu: {
|
|
4770
|
+
appearances: {},
|
|
4771
|
+
rules: [],
|
|
4772
|
+
tokens: {
|
|
4773
|
+
background: '#000000',
|
|
4774
|
+
checkMarkFocusColor: '#016b6a',
|
|
4775
|
+
checkMarkHeight: 24,
|
|
4776
|
+
checkMarkHoverColor: '#016b6a',
|
|
4777
|
+
checkMarkIcon: PaletteIconCheck,
|
|
4778
|
+
checkMarkSelectedColor: '#000000',
|
|
4779
|
+
checkMarkUnselectedColor: 'rgba(0, 0, 0, 0)',
|
|
4780
|
+
checkMarkWidth: 24,
|
|
4781
|
+
padding: 16
|
|
4782
|
+
}
|
|
4783
|
+
},
|
|
4784
|
+
VideoMiddleControlButton: {
|
|
4785
|
+
appearances: {},
|
|
4786
|
+
rules: [],
|
|
4787
|
+
tokens: {
|
|
4788
|
+
background: '#000000',
|
|
4789
|
+
height: 64,
|
|
4790
|
+
iconColor: '#ffffff',
|
|
4791
|
+
width: 64
|
|
4792
|
+
}
|
|
4793
|
+
},
|
|
4794
|
+
VideoProgressBar: {
|
|
4795
|
+
appearances: {},
|
|
4796
|
+
rules: [],
|
|
4797
|
+
tokens: {
|
|
4798
|
+
rangeBackground: 'rgba(0, 0, 0, 0)',
|
|
4799
|
+
thumbBackground: '#ffffff',
|
|
4800
|
+
thumbHeight: 8,
|
|
4801
|
+
thumbWidth: 8,
|
|
4802
|
+
timestampMarginLeft: 8,
|
|
4803
|
+
timestampMarginRight: 8,
|
|
4804
|
+
trackGradientEnd: '#016b6a',
|
|
4805
|
+
trackGradientStart: '#016b6a'
|
|
4806
|
+
}
|
|
4807
|
+
},
|
|
4808
|
+
VideoVolumeSlider: {
|
|
4809
|
+
appearances: {},
|
|
4810
|
+
rules: [],
|
|
4811
|
+
tokens: {
|
|
4812
|
+
marginLeft: 16,
|
|
4813
|
+
marginRight: 16,
|
|
4814
|
+
mutedIcon: PaletteIconAdd,
|
|
4815
|
+
rangeBackground: 'rgba(0, 0, 0, 0)',
|
|
4816
|
+
thumbBackground: '#ffffff',
|
|
4817
|
+
thumbHeight: 8,
|
|
4818
|
+
thumbWidth: 8,
|
|
4819
|
+
trackGradientEnd: '#ffffff',
|
|
4820
|
+
trackGradientStart: '#ffffff',
|
|
4821
|
+
unmutedIcon: PaletteIconAdd
|
|
4822
|
+
}
|
|
4823
|
+
},
|
|
4258
4824
|
WaffleGrid: {
|
|
4259
4825
|
appearances: {},
|
|
4260
4826
|
rules: [],
|
|
@@ -4324,5 +4890,5 @@ module.exports = {
|
|
|
4324
4890
|
tokens: { size: 96 }
|
|
4325
4891
|
}
|
|
4326
4892
|
},
|
|
4327
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
4893
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.23.0' }
|
|
4328
4894
|
}
|