@telus-uds/theme-koodo 3.21.0 → 3.23.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 +1036 -525
- package/build/android/theme.json +307 -8
- package/build/ios/schema.json +1036 -525
- package/build/ios/theme.json +307 -8
- package/build/rn/schema.json +1036 -525
- package/build/rn/theme.js +201 -10
- package/package.json +4 -4
- package/theme.json +240 -8
package/build/rn/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Mon, 24 Apr 2023 21:32:41 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')
|
|
@@ -104,6 +109,20 @@ module.exports = {
|
|
|
104
109
|
paddingTop: 2
|
|
105
110
|
}
|
|
106
111
|
},
|
|
112
|
+
BlockQuote: {
|
|
113
|
+
appearances: {},
|
|
114
|
+
rules: [],
|
|
115
|
+
tokens: {
|
|
116
|
+
backgroundGradient: null,
|
|
117
|
+
color: '#016b6a',
|
|
118
|
+
marginBottom: 16,
|
|
119
|
+
paddingBottom: 16,
|
|
120
|
+
paddingLeft: 32,
|
|
121
|
+
paddingRight: 32,
|
|
122
|
+
paddingTop: 16,
|
|
123
|
+
width: 2
|
|
124
|
+
}
|
|
125
|
+
},
|
|
107
126
|
Box: {
|
|
108
127
|
appearances: {
|
|
109
128
|
background: {
|
|
@@ -890,7 +909,7 @@ module.exports = {
|
|
|
890
909
|
borderWidth: 0,
|
|
891
910
|
contentAlignItems: 'stretch',
|
|
892
911
|
contentFlexGrow: 0,
|
|
893
|
-
contentFlexShrink:
|
|
912
|
+
contentFlexShrink: 1,
|
|
894
913
|
contentJustifyContent: 'flex-start',
|
|
895
914
|
flex: 1,
|
|
896
915
|
minWidth: null,
|
|
@@ -1139,7 +1158,10 @@ module.exports = {
|
|
|
1139
1158
|
}
|
|
1140
1159
|
},
|
|
1141
1160
|
rules: [
|
|
1142
|
-
{
|
|
1161
|
+
{
|
|
1162
|
+
if: { hover: true },
|
|
1163
|
+
tokens: { color: '#1b4746', iconDisplace: 4 }
|
|
1164
|
+
},
|
|
1143
1165
|
{ if: { pressed: true }, tokens: { color: '#595959' } },
|
|
1144
1166
|
{
|
|
1145
1167
|
if: { focus: true },
|
|
@@ -1183,19 +1205,30 @@ module.exports = {
|
|
|
1183
1205
|
if: { focus: true, inverse: true, pressed: true },
|
|
1184
1206
|
tokens: { color: '#bbeaf5', outerBorderColor: '#bbeaf5' }
|
|
1185
1207
|
},
|
|
1186
|
-
{
|
|
1187
|
-
|
|
1188
|
-
|
|
1208
|
+
{
|
|
1209
|
+
if: { size: 'large' },
|
|
1210
|
+
tokens: { height: 48, iconSize: 24, textLineHeight: 2.15 }
|
|
1211
|
+
},
|
|
1212
|
+
{
|
|
1213
|
+
if: { size: 'small' },
|
|
1214
|
+
tokens: { height: 36, iconSize: 16, textLineHeight: 2.15 }
|
|
1215
|
+
},
|
|
1216
|
+
{
|
|
1217
|
+
if: { size: 'micro' },
|
|
1218
|
+
tokens: { height: 32, iconSize: 16, textLineHeight: 2.25 }
|
|
1219
|
+
}
|
|
1189
1220
|
],
|
|
1190
1221
|
tokens: {
|
|
1191
1222
|
color: '#016b6a',
|
|
1223
|
+
height: 40,
|
|
1192
1224
|
iconDisplace: 0,
|
|
1193
|
-
iconSize:
|
|
1225
|
+
iconSize: 18,
|
|
1194
1226
|
iconSpace: 1,
|
|
1195
1227
|
leftIcon: PaletteIconChevronLeft,
|
|
1196
1228
|
outerBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1197
1229
|
rightIcon: PaletteIconChevronRight,
|
|
1198
|
-
textLine: 'none'
|
|
1230
|
+
textLine: 'none',
|
|
1231
|
+
textLineHeight: 2.13
|
|
1199
1232
|
}
|
|
1200
1233
|
},
|
|
1201
1234
|
DatePicker: {
|
|
@@ -1537,6 +1570,16 @@ module.exports = {
|
|
|
1537
1570
|
},
|
|
1538
1571
|
IconButton: {
|
|
1539
1572
|
appearances: {
|
|
1573
|
+
action: {
|
|
1574
|
+
type: 'variant',
|
|
1575
|
+
values: [
|
|
1576
|
+
'add', 'close',
|
|
1577
|
+
'expand', 'moveDown',
|
|
1578
|
+
'moveLeft', 'moveRight',
|
|
1579
|
+
'moveUp', 'play',
|
|
1580
|
+
'subtract'
|
|
1581
|
+
]
|
|
1582
|
+
},
|
|
1540
1583
|
compact: {
|
|
1541
1584
|
description: 'Without the outer border gap',
|
|
1542
1585
|
type: 'variant',
|
|
@@ -1582,6 +1625,39 @@ module.exports = {
|
|
|
1582
1625
|
size: { type: 'variant', values: [ 'small', 'large' ] }
|
|
1583
1626
|
},
|
|
1584
1627
|
rules: [
|
|
1628
|
+
{ if: { action: 'add' }, tokens: { icon: PaletteIconAdd } },
|
|
1629
|
+
{
|
|
1630
|
+
if: { action: 'subtract' },
|
|
1631
|
+
tokens: { icon: PaletteIconSubtract }
|
|
1632
|
+
},
|
|
1633
|
+
{
|
|
1634
|
+
if: { action: 'close' },
|
|
1635
|
+
tokens: { icon: PaletteIconClose }
|
|
1636
|
+
},
|
|
1637
|
+
{
|
|
1638
|
+
if: { action: 'expand' },
|
|
1639
|
+
tokens: { icon: PaletteIconExpand }
|
|
1640
|
+
},
|
|
1641
|
+
{
|
|
1642
|
+
if: { action: 'moveDown' },
|
|
1643
|
+
tokens: { icon: PaletteIconChevronDown }
|
|
1644
|
+
},
|
|
1645
|
+
{
|
|
1646
|
+
if: { action: 'moveLeft' },
|
|
1647
|
+
tokens: { icon: PaletteIconChevronLeft }
|
|
1648
|
+
},
|
|
1649
|
+
{
|
|
1650
|
+
if: { action: 'moveRight' },
|
|
1651
|
+
tokens: { icon: PaletteIconChevronRight }
|
|
1652
|
+
},
|
|
1653
|
+
{
|
|
1654
|
+
if: { action: 'moveUp' },
|
|
1655
|
+
tokens: { icon: PaletteIconChevronUp }
|
|
1656
|
+
},
|
|
1657
|
+
{
|
|
1658
|
+
if: { action: 'play' },
|
|
1659
|
+
tokens: { icon: PaletteIconPlayVideo }
|
|
1660
|
+
},
|
|
1585
1661
|
{ if: { inverse: true }, tokens: { iconColor: '#ffffff' } },
|
|
1586
1662
|
{
|
|
1587
1663
|
if: { hover: true },
|
|
@@ -1741,6 +1817,7 @@ module.exports = {
|
|
|
1741
1817
|
borderColor: 'transparent',
|
|
1742
1818
|
borderRadius: 99999999999999,
|
|
1743
1819
|
borderWidth: 1,
|
|
1820
|
+
icon: null,
|
|
1744
1821
|
iconColor: '#000000',
|
|
1745
1822
|
iconScale: 1,
|
|
1746
1823
|
iconSize: 16,
|
|
@@ -1961,6 +2038,111 @@ module.exports = {
|
|
|
1961
2038
|
listGutter: 10
|
|
1962
2039
|
}
|
|
1963
2040
|
},
|
|
2041
|
+
ListBox: {
|
|
2042
|
+
appearances: {
|
|
2043
|
+
current: {
|
|
2044
|
+
description: 'When the current item is selected',
|
|
2045
|
+
type: 'state',
|
|
2046
|
+
values: [ true ]
|
|
2047
|
+
},
|
|
2048
|
+
expanded: {
|
|
2049
|
+
description: 'Applies when an ExpandCollapse panel is open and the content inside is visible',
|
|
2050
|
+
type: 'state',
|
|
2051
|
+
values: [ true ]
|
|
2052
|
+
},
|
|
2053
|
+
focus: {
|
|
2054
|
+
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.",
|
|
2055
|
+
platforms: [ 'rn' ],
|
|
2056
|
+
type: 'state',
|
|
2057
|
+
values: [ true ]
|
|
2058
|
+
},
|
|
2059
|
+
hover: {
|
|
2060
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
2061
|
+
platforms: [ 'rn' ],
|
|
2062
|
+
type: 'state',
|
|
2063
|
+
values: [ true ]
|
|
2064
|
+
},
|
|
2065
|
+
isChild: {
|
|
2066
|
+
description: 'when the item is child of another child',
|
|
2067
|
+
type: 'state',
|
|
2068
|
+
values: [ true ]
|
|
2069
|
+
},
|
|
2070
|
+
pressed: {
|
|
2071
|
+
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.',
|
|
2072
|
+
type: 'state',
|
|
2073
|
+
values: [ true ]
|
|
2074
|
+
}
|
|
2075
|
+
},
|
|
2076
|
+
rules: [
|
|
2077
|
+
{
|
|
2078
|
+
if: { pressed: true },
|
|
2079
|
+
tokens: { groupBackgroundColor: '#bbeaf5', groupColor: '#016b6a' }
|
|
2080
|
+
},
|
|
2081
|
+
{
|
|
2082
|
+
if: { hover: true },
|
|
2083
|
+
tokens: { groupBackgroundColor: '#c9c8c8', groupColor: '#016b6a' }
|
|
2084
|
+
},
|
|
2085
|
+
{
|
|
2086
|
+
if: { focus: true },
|
|
2087
|
+
tokens: { groupBackgroundColor: '#c9c8c8', groupColor: '#016b6a' }
|
|
2088
|
+
},
|
|
2089
|
+
{
|
|
2090
|
+
if: { current: true },
|
|
2091
|
+
tokens: {
|
|
2092
|
+
groupColor: '#016b6a',
|
|
2093
|
+
groupFontName: 'StagSans',
|
|
2094
|
+
groupFontWeight: '700'
|
|
2095
|
+
}
|
|
2096
|
+
},
|
|
2097
|
+
{
|
|
2098
|
+
if: { isChild: true },
|
|
2099
|
+
tokens: { itemBorderWidth: 4, itemPaddingLeft: 12 }
|
|
2100
|
+
},
|
|
2101
|
+
{
|
|
2102
|
+
if: { expanded: true },
|
|
2103
|
+
tokens: { groupIcon: PaletteIconChevronUp }
|
|
2104
|
+
}
|
|
2105
|
+
],
|
|
2106
|
+
tokens: {
|
|
2107
|
+
groupBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2108
|
+
groupBorderColor: '#016b6a',
|
|
2109
|
+
groupBorderRadius: 6,
|
|
2110
|
+
groupBorderWidth: 1,
|
|
2111
|
+
groupColor: '#e5f7fb',
|
|
2112
|
+
groupFontName: 'StagSans',
|
|
2113
|
+
groupFontSize: 14,
|
|
2114
|
+
groupFontWeight: '400',
|
|
2115
|
+
groupIcon: PaletteIconChevronDown,
|
|
2116
|
+
groupPaddingBottom: 12,
|
|
2117
|
+
groupPaddingLeft: 16,
|
|
2118
|
+
groupPaddingRight: 16,
|
|
2119
|
+
groupPaddingTop: 12,
|
|
2120
|
+
itemBackgroundColor: 'rgba(0, 0, 0, 0)',
|
|
2121
|
+
itemBorderBackgroundColor: '#bbeaf5',
|
|
2122
|
+
itemBorderLeftColor: '#016b6a',
|
|
2123
|
+
itemBorderLeftWidth: 4,
|
|
2124
|
+
itemBorderWidth: 0,
|
|
2125
|
+
itemColor: '#016b6a',
|
|
2126
|
+
itemDisplay: false,
|
|
2127
|
+
itemFontName: 'StagSans',
|
|
2128
|
+
itemFontSize: 14,
|
|
2129
|
+
itemFontWeight: '700',
|
|
2130
|
+
itemOutline: 0,
|
|
2131
|
+
itemPaddingBottom: 12,
|
|
2132
|
+
itemPaddingLeft: 16,
|
|
2133
|
+
itemPaddingRight: 16,
|
|
2134
|
+
itemPaddingTop: 12,
|
|
2135
|
+
itemTextDecoration: 'none',
|
|
2136
|
+
shadow: {
|
|
2137
|
+
blur: 2,
|
|
2138
|
+
color: 'rgba(0, 0, 0, 0.1)',
|
|
2139
|
+
inset: false,
|
|
2140
|
+
offsetX: 0,
|
|
2141
|
+
offsetY: 2,
|
|
2142
|
+
spread: 0
|
|
2143
|
+
}
|
|
2144
|
+
}
|
|
2145
|
+
},
|
|
1964
2146
|
Modal: {
|
|
1965
2147
|
appearances: {
|
|
1966
2148
|
maxWidth: {
|
|
@@ -2867,7 +3049,7 @@ module.exports = {
|
|
|
2867
3049
|
color: '#000000',
|
|
2868
3050
|
contentAlignItems: 'stretch',
|
|
2869
3051
|
contentFlexGrow: 0,
|
|
2870
|
-
contentFlexShrink:
|
|
3052
|
+
contentFlexShrink: 1,
|
|
2871
3053
|
contentJustifyContent: 'flex-start',
|
|
2872
3054
|
contentSpace: 2,
|
|
2873
3055
|
flex: 1,
|
|
@@ -3320,6 +3502,15 @@ module.exports = {
|
|
|
3320
3502
|
paddingVertical: 8
|
|
3321
3503
|
}
|
|
3322
3504
|
},
|
|
3505
|
+
Spinner: {
|
|
3506
|
+
appearances: { size: { type: 'variant', values: [ 'small' ] } },
|
|
3507
|
+
rules: [ { if: { size: 'small' }, tokens: { size: 24, thickness: 2 } } ],
|
|
3508
|
+
tokens: {
|
|
3509
|
+
fullScreenOverLayBackground: '#fafafa',
|
|
3510
|
+
size: 48,
|
|
3511
|
+
thickness: 4
|
|
3512
|
+
}
|
|
3513
|
+
},
|
|
3323
3514
|
StackView: {
|
|
3324
3515
|
appearances: {},
|
|
3325
3516
|
rules: [],
|
|
@@ -4301,5 +4492,5 @@ module.exports = {
|
|
|
4301
4492
|
tokens: { size: 96 }
|
|
4302
4493
|
}
|
|
4303
4494
|
},
|
|
4304
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
4495
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.22.0' }
|
|
4305
4496
|
}
|
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.13.0",
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.22.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.13.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.23.0"
|
|
35
35
|
}
|
package/theme.json
CHANGED
|
@@ -119,6 +119,20 @@
|
|
|
119
119
|
"paddingTop": "{palette.size.size2}"
|
|
120
120
|
}
|
|
121
121
|
},
|
|
122
|
+
"BlockQuote": {
|
|
123
|
+
"appearances": {},
|
|
124
|
+
"rules": [],
|
|
125
|
+
"tokens": {
|
|
126
|
+
"backgroundGradient": "{system.gradient.none}",
|
|
127
|
+
"color": "{palette.color.mosque}",
|
|
128
|
+
"marginBottom": "{palette.size.size16}",
|
|
129
|
+
"paddingBottom": "{palette.size.size16}",
|
|
130
|
+
"paddingLeft": "{palette.size.size32}",
|
|
131
|
+
"paddingRight": "{palette.size.size32}",
|
|
132
|
+
"paddingTop": "{palette.size.size16}",
|
|
133
|
+
"width": "{palette.size.size2}"
|
|
134
|
+
}
|
|
135
|
+
},
|
|
122
136
|
"Box": {
|
|
123
137
|
"appearances": {
|
|
124
138
|
"background": {
|
|
@@ -1234,7 +1248,7 @@
|
|
|
1234
1248
|
"borderWidth": "{palette.border.none}",
|
|
1235
1249
|
"contentAlignItems": "{system.flexAlign.stretch}",
|
|
1236
1250
|
"contentFlexGrow": "{system.integer.0}",
|
|
1237
|
-
"contentFlexShrink": "{system.integer.
|
|
1251
|
+
"contentFlexShrink": "{system.integer.1}",
|
|
1238
1252
|
"contentJustifyContent": "{system.flexJustifyContent.flexStart}",
|
|
1239
1253
|
"flex": "{system.integer.1}",
|
|
1240
1254
|
"minWidth": "{system.size.none}",
|
|
@@ -1478,7 +1492,8 @@
|
|
|
1478
1492
|
"hover": true
|
|
1479
1493
|
},
|
|
1480
1494
|
"tokens": {
|
|
1481
|
-
"color": "{palette.color.mosqueDark}"
|
|
1495
|
+
"color": "{palette.color.mosqueDark}",
|
|
1496
|
+
"iconDisplace": "{palette.size.size4}"
|
|
1482
1497
|
}
|
|
1483
1498
|
},
|
|
1484
1499
|
{
|
|
@@ -1607,7 +1622,9 @@
|
|
|
1607
1622
|
"size": "large"
|
|
1608
1623
|
},
|
|
1609
1624
|
"tokens": {
|
|
1610
|
-
"
|
|
1625
|
+
"height": "{palette.size.size48}",
|
|
1626
|
+
"iconSize": "{palette.size.size24}",
|
|
1627
|
+
"textLineHeight": "{palette.lineHeight.ratio11to5}"
|
|
1611
1628
|
}
|
|
1612
1629
|
},
|
|
1613
1630
|
{
|
|
@@ -1615,7 +1632,9 @@
|
|
|
1615
1632
|
"size": "small"
|
|
1616
1633
|
},
|
|
1617
1634
|
"tokens": {
|
|
1618
|
-
"
|
|
1635
|
+
"height": "{palette.size.size36}",
|
|
1636
|
+
"iconSize": "{palette.size.size16}",
|
|
1637
|
+
"textLineHeight": "{palette.lineHeight.ratio15to7}"
|
|
1619
1638
|
}
|
|
1620
1639
|
},
|
|
1621
1640
|
{
|
|
@@ -1623,19 +1642,23 @@
|
|
|
1623
1642
|
"size": "micro"
|
|
1624
1643
|
},
|
|
1625
1644
|
"tokens": {
|
|
1626
|
-
"
|
|
1645
|
+
"height": "{palette.size.size32}",
|
|
1646
|
+
"iconSize": "{palette.size.size16}",
|
|
1647
|
+
"textLineHeight": "{palette.lineHeight.ratio7to3}"
|
|
1627
1648
|
}
|
|
1628
1649
|
}
|
|
1629
1650
|
],
|
|
1630
1651
|
"tokens": {
|
|
1631
1652
|
"color": "{palette.color.mosque}",
|
|
1653
|
+
"height": "{palette.size.size40}",
|
|
1632
1654
|
"iconDisplace": "{palette.size.size0}",
|
|
1633
|
-
"iconSize": "{palette.size.
|
|
1655
|
+
"iconSize": "{palette.size.size18}",
|
|
1634
1656
|
"iconSpace": "{system.integer.1}",
|
|
1635
1657
|
"leftIcon": "{palette.icon.ChevronLeft}",
|
|
1636
1658
|
"outerBorderColor": "{palette.color.transparent}",
|
|
1637
1659
|
"rightIcon": "{palette.icon.ChevronRight}",
|
|
1638
|
-
"textLine": "{system.textLine.none}"
|
|
1660
|
+
"textLine": "{system.textLine.none}",
|
|
1661
|
+
"textLineHeight": "{palette.lineHeight.ratio17to8}"
|
|
1639
1662
|
}
|
|
1640
1663
|
},
|
|
1641
1664
|
"DatePicker": {
|
|
@@ -2120,6 +2143,20 @@
|
|
|
2120
2143
|
},
|
|
2121
2144
|
"IconButton": {
|
|
2122
2145
|
"appearances": {
|
|
2146
|
+
"action": {
|
|
2147
|
+
"type": "variant",
|
|
2148
|
+
"values": [
|
|
2149
|
+
"add",
|
|
2150
|
+
"close",
|
|
2151
|
+
"expand",
|
|
2152
|
+
"moveDown",
|
|
2153
|
+
"moveLeft",
|
|
2154
|
+
"moveRight",
|
|
2155
|
+
"moveUp",
|
|
2156
|
+
"play",
|
|
2157
|
+
"subtract"
|
|
2158
|
+
]
|
|
2159
|
+
},
|
|
2123
2160
|
"compact": {
|
|
2124
2161
|
"description": "Without the outer border gap",
|
|
2125
2162
|
"type": "variant",
|
|
@@ -2150,6 +2187,78 @@
|
|
|
2150
2187
|
}
|
|
2151
2188
|
},
|
|
2152
2189
|
"rules": [
|
|
2190
|
+
{
|
|
2191
|
+
"if": {
|
|
2192
|
+
"action": "add"
|
|
2193
|
+
},
|
|
2194
|
+
"tokens": {
|
|
2195
|
+
"icon": "{palette.icon.Add}"
|
|
2196
|
+
}
|
|
2197
|
+
},
|
|
2198
|
+
{
|
|
2199
|
+
"if": {
|
|
2200
|
+
"action": "subtract"
|
|
2201
|
+
},
|
|
2202
|
+
"tokens": {
|
|
2203
|
+
"icon": "{palette.icon.Subtract}"
|
|
2204
|
+
}
|
|
2205
|
+
},
|
|
2206
|
+
{
|
|
2207
|
+
"if": {
|
|
2208
|
+
"action": "close"
|
|
2209
|
+
},
|
|
2210
|
+
"tokens": {
|
|
2211
|
+
"icon": "{palette.icon.Close}"
|
|
2212
|
+
}
|
|
2213
|
+
},
|
|
2214
|
+
{
|
|
2215
|
+
"if": {
|
|
2216
|
+
"action": "expand"
|
|
2217
|
+
},
|
|
2218
|
+
"tokens": {
|
|
2219
|
+
"icon": "{palette.icon.Expand}"
|
|
2220
|
+
}
|
|
2221
|
+
},
|
|
2222
|
+
{
|
|
2223
|
+
"if": {
|
|
2224
|
+
"action": "moveDown"
|
|
2225
|
+
},
|
|
2226
|
+
"tokens": {
|
|
2227
|
+
"icon": "{palette.icon.ChevronDown}"
|
|
2228
|
+
}
|
|
2229
|
+
},
|
|
2230
|
+
{
|
|
2231
|
+
"if": {
|
|
2232
|
+
"action": "moveLeft"
|
|
2233
|
+
},
|
|
2234
|
+
"tokens": {
|
|
2235
|
+
"icon": "{palette.icon.ChevronLeft}"
|
|
2236
|
+
}
|
|
2237
|
+
},
|
|
2238
|
+
{
|
|
2239
|
+
"if": {
|
|
2240
|
+
"action": "moveRight"
|
|
2241
|
+
},
|
|
2242
|
+
"tokens": {
|
|
2243
|
+
"icon": "{palette.icon.ChevronRight}"
|
|
2244
|
+
}
|
|
2245
|
+
},
|
|
2246
|
+
{
|
|
2247
|
+
"if": {
|
|
2248
|
+
"action": "moveUp"
|
|
2249
|
+
},
|
|
2250
|
+
"tokens": {
|
|
2251
|
+
"icon": "{palette.icon.ChevronUp}"
|
|
2252
|
+
}
|
|
2253
|
+
},
|
|
2254
|
+
{
|
|
2255
|
+
"if": {
|
|
2256
|
+
"action": "play"
|
|
2257
|
+
},
|
|
2258
|
+
"tokens": {
|
|
2259
|
+
"icon": "{palette.icon.PlayVideo}"
|
|
2260
|
+
}
|
|
2261
|
+
},
|
|
2153
2262
|
{
|
|
2154
2263
|
"if": {
|
|
2155
2264
|
"inverse": true
|
|
@@ -2400,6 +2509,7 @@
|
|
|
2400
2509
|
"borderColor": "{system.color.transparent}",
|
|
2401
2510
|
"borderRadius": "{system.radius.round}",
|
|
2402
2511
|
"borderWidth": "{palette.border.border1}",
|
|
2512
|
+
"icon": "{system.icon.none}",
|
|
2403
2513
|
"iconColor": "{palette.color.black}",
|
|
2404
2514
|
"iconScale": "{system.iconScale.scale1}",
|
|
2405
2515
|
"iconSize": "{palette.size.size16}",
|
|
@@ -2740,6 +2850,104 @@
|
|
|
2740
2850
|
"listGutter": "{palette.size.size10}"
|
|
2741
2851
|
}
|
|
2742
2852
|
},
|
|
2853
|
+
"ListBox": {
|
|
2854
|
+
"appearances": {
|
|
2855
|
+
"current": "{appearances.ListBox.current}",
|
|
2856
|
+
"expanded": "{appearances.ListBox.expanded}",
|
|
2857
|
+
"focus": "{appearances.ListBox.focus}",
|
|
2858
|
+
"hover": "{appearances.ListBox.hover}",
|
|
2859
|
+
"isChild": "{appearances.ListBox.isChild}",
|
|
2860
|
+
"pressed": "{appearances.ListBox.pressed}"
|
|
2861
|
+
},
|
|
2862
|
+
"rules": [
|
|
2863
|
+
{
|
|
2864
|
+
"if": {
|
|
2865
|
+
"pressed": true
|
|
2866
|
+
},
|
|
2867
|
+
"tokens": {
|
|
2868
|
+
"groupBackgroundColor": "{palette.color.icicleDark}",
|
|
2869
|
+
"groupColor": "{palette.color.mosque}"
|
|
2870
|
+
}
|
|
2871
|
+
},
|
|
2872
|
+
{
|
|
2873
|
+
"if": {
|
|
2874
|
+
"hover": true
|
|
2875
|
+
},
|
|
2876
|
+
"tokens": {
|
|
2877
|
+
"groupBackgroundColor": "{palette.color.silver}",
|
|
2878
|
+
"groupColor": "{palette.color.mosque}"
|
|
2879
|
+
}
|
|
2880
|
+
},
|
|
2881
|
+
{
|
|
2882
|
+
"if": {
|
|
2883
|
+
"focus": true
|
|
2884
|
+
},
|
|
2885
|
+
"tokens": {
|
|
2886
|
+
"groupBackgroundColor": "{palette.color.silver}",
|
|
2887
|
+
"groupColor": "{palette.color.mosque}"
|
|
2888
|
+
}
|
|
2889
|
+
},
|
|
2890
|
+
{
|
|
2891
|
+
"if": {
|
|
2892
|
+
"current": true
|
|
2893
|
+
},
|
|
2894
|
+
"tokens": {
|
|
2895
|
+
"groupColor": "{palette.color.mosque}",
|
|
2896
|
+
"groupFontName": "{palette.fontName.StagSans}",
|
|
2897
|
+
"groupFontWeight": "{palette.fontWeight.weight700}"
|
|
2898
|
+
}
|
|
2899
|
+
},
|
|
2900
|
+
{
|
|
2901
|
+
"if": {
|
|
2902
|
+
"isChild": true
|
|
2903
|
+
},
|
|
2904
|
+
"tokens": {
|
|
2905
|
+
"itemBorderWidth": "{palette.border.border4}",
|
|
2906
|
+
"itemPaddingLeft": "{palette.size.size12}"
|
|
2907
|
+
}
|
|
2908
|
+
},
|
|
2909
|
+
{
|
|
2910
|
+
"if": {
|
|
2911
|
+
"expanded": true
|
|
2912
|
+
},
|
|
2913
|
+
"tokens": {
|
|
2914
|
+
"groupIcon": "{palette.icon.ChevronUp}"
|
|
2915
|
+
}
|
|
2916
|
+
}
|
|
2917
|
+
],
|
|
2918
|
+
"tokens": {
|
|
2919
|
+
"groupBackgroundColor": "{palette.color.transparent}",
|
|
2920
|
+
"groupBorderColor": "{palette.color.mosque}",
|
|
2921
|
+
"groupBorderRadius": "{palette.radius.radius6}",
|
|
2922
|
+
"groupBorderWidth": "{palette.border.border1}",
|
|
2923
|
+
"groupColor": "{palette.color.icicle}",
|
|
2924
|
+
"groupFontName": "{palette.fontName.StagSans}",
|
|
2925
|
+
"groupFontSize": "{palette.size.size14}",
|
|
2926
|
+
"groupFontWeight": "{palette.fontWeight.weight400}",
|
|
2927
|
+
"groupIcon": "{palette.icon.ChevronDown}",
|
|
2928
|
+
"groupPaddingBottom": "{palette.size.size12}",
|
|
2929
|
+
"groupPaddingLeft": "{palette.size.size16}",
|
|
2930
|
+
"groupPaddingRight": "{palette.size.size16}",
|
|
2931
|
+
"groupPaddingTop": "{palette.size.size12}",
|
|
2932
|
+
"itemBackgroundColor": "{palette.color.transparent}",
|
|
2933
|
+
"itemBorderBackgroundColor": "{palette.color.icicleDark}",
|
|
2934
|
+
"itemBorderLeftColor": "{palette.color.mosque}",
|
|
2935
|
+
"itemBorderLeftWidth": "{palette.border.border4}",
|
|
2936
|
+
"itemBorderWidth": "{palette.border.none}",
|
|
2937
|
+
"itemColor": "{palette.color.mosque}",
|
|
2938
|
+
"itemDisplay": "{system.show.false}",
|
|
2939
|
+
"itemFontName": "{palette.fontName.StagSans}",
|
|
2940
|
+
"itemFontSize": "{palette.size.size14}",
|
|
2941
|
+
"itemFontWeight": "{palette.fontWeight.weight700}",
|
|
2942
|
+
"itemOutline": "{palette.border.none}",
|
|
2943
|
+
"itemPaddingBottom": "{palette.size.size12}",
|
|
2944
|
+
"itemPaddingLeft": "{palette.size.size16}",
|
|
2945
|
+
"itemPaddingRight": "{palette.size.size16}",
|
|
2946
|
+
"itemPaddingTop": "{palette.size.size12}",
|
|
2947
|
+
"itemTextDecoration": "{system.textLine.none}",
|
|
2948
|
+
"shadow": "{palette.shadow.surfaceRaised}"
|
|
2949
|
+
}
|
|
2950
|
+
},
|
|
2743
2951
|
"Modal": {
|
|
2744
2952
|
"appearances": {
|
|
2745
2953
|
"maxWidth": "{appearances.Modal.maxWidth}",
|
|
@@ -3693,7 +3901,7 @@
|
|
|
3693
3901
|
"color": "{palette.color.black}",
|
|
3694
3902
|
"contentAlignItems": "{system.flexAlign.stretch}",
|
|
3695
3903
|
"contentFlexGrow": "{system.integer.0}",
|
|
3696
|
-
"contentFlexShrink": "{system.integer.
|
|
3904
|
+
"contentFlexShrink": "{system.integer.1}",
|
|
3697
3905
|
"contentJustifyContent": "{system.flexJustifyContent.flexStart}",
|
|
3698
3906
|
"contentSpace": "{system.integer.2}",
|
|
3699
3907
|
"flex": "{system.integer.1}",
|
|
@@ -4170,6 +4378,30 @@
|
|
|
4170
4378
|
"paddingVertical": "{palette.size.size8}"
|
|
4171
4379
|
}
|
|
4172
4380
|
},
|
|
4381
|
+
"Spinner": {
|
|
4382
|
+
"appearances": {
|
|
4383
|
+
"size": {
|
|
4384
|
+
"type": "variant",
|
|
4385
|
+
"values": ["small"]
|
|
4386
|
+
}
|
|
4387
|
+
},
|
|
4388
|
+
"rules": [
|
|
4389
|
+
{
|
|
4390
|
+
"if": {
|
|
4391
|
+
"size": "small"
|
|
4392
|
+
},
|
|
4393
|
+
"tokens": {
|
|
4394
|
+
"size": "{palette.size.size24}",
|
|
4395
|
+
"thickness": "{palette.border.border2}"
|
|
4396
|
+
}
|
|
4397
|
+
}
|
|
4398
|
+
],
|
|
4399
|
+
"tokens": {
|
|
4400
|
+
"fullScreenOverLayBackground": "{palette.color.greyLight}",
|
|
4401
|
+
"size": "{palette.size.size48}",
|
|
4402
|
+
"thickness": "{palette.border.border4}"
|
|
4403
|
+
}
|
|
4404
|
+
},
|
|
4173
4405
|
"StackView": {
|
|
4174
4406
|
"appearances": {},
|
|
4175
4407
|
"rules": [],
|