@telus-uds/theme-koodo 3.1.0 → 3.3.1
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/README.md +1 -3
- package/build/schema.json +383 -2
- package/build/theme.js +127 -4
- package/package.json +17 -17
- package/theme.json +121 -2
package/README.md
CHANGED
package/build/schema.json
CHANGED
|
@@ -17,6 +17,11 @@
|
|
|
17
17
|
"{appearances.ButtonGroupItem.pressed}",
|
|
18
18
|
"{appearances.ButtonGroupItem.inactive}",
|
|
19
19
|
"{appearances.ButtonGroupItem.selected}",
|
|
20
|
+
"{appearances.CarouselTabsPanelItem.focus}",
|
|
21
|
+
"{appearances.CarouselTabsPanelItem.hover}",
|
|
22
|
+
"{appearances.CarouselTabsPanelItem.pressed}",
|
|
23
|
+
"{appearances.CarouselTabsPanelItem.inactive}",
|
|
24
|
+
"{appearances.CarouselTabsPanelItem.selected}",
|
|
20
25
|
"{appearances.Checkbox.checked}",
|
|
21
26
|
"{appearances.Checkbox.error}",
|
|
22
27
|
"{appearances.Checkbox.focus}",
|
|
@@ -40,6 +45,7 @@
|
|
|
40
45
|
"{appearances.Link.pressed}",
|
|
41
46
|
"{appearances.Link.iconPosition}",
|
|
42
47
|
"{appearances.Modal.maxWidth}",
|
|
48
|
+
"{appearances.Modal.width}",
|
|
43
49
|
"{appearances.Notification.system}",
|
|
44
50
|
"{appearances.Notification.style}",
|
|
45
51
|
"{appearances.PaginationPageButton.focus}",
|
|
@@ -100,7 +106,8 @@
|
|
|
100
106
|
"{appearances.ToggleSwitch.selected}",
|
|
101
107
|
"{appearances.TooltipButton.focus}",
|
|
102
108
|
"{appearances.TooltipButton.hover}",
|
|
103
|
-
"{appearances.TooltipButton.pressed}"
|
|
109
|
+
"{appearances.TooltipButton.pressed}",
|
|
110
|
+
"{appearances.SkipLink.focus}"
|
|
104
111
|
]
|
|
105
112
|
},
|
|
106
113
|
{
|
|
@@ -1386,6 +1393,15 @@
|
|
|
1386
1393
|
"minWidth": {
|
|
1387
1394
|
"$ref": "#size"
|
|
1388
1395
|
},
|
|
1396
|
+
"iconSize": {
|
|
1397
|
+
"$ref": "#size"
|
|
1398
|
+
},
|
|
1399
|
+
"iconSpace": {
|
|
1400
|
+
"$ref": "#integer"
|
|
1401
|
+
},
|
|
1402
|
+
"icon": {
|
|
1403
|
+
"$ref": "#icon"
|
|
1404
|
+
},
|
|
1389
1405
|
"outerBorderColor": {
|
|
1390
1406
|
"$ref": "#color"
|
|
1391
1407
|
},
|
|
@@ -1419,6 +1435,9 @@
|
|
|
1419
1435
|
"paddingBottom",
|
|
1420
1436
|
"width",
|
|
1421
1437
|
"minWidth",
|
|
1438
|
+
"iconSize",
|
|
1439
|
+
"iconSpace",
|
|
1440
|
+
"icon",
|
|
1422
1441
|
"outerBorderColor",
|
|
1423
1442
|
"outerBorderWidth",
|
|
1424
1443
|
"outerBorderGap",
|
|
@@ -1496,6 +1515,15 @@
|
|
|
1496
1515
|
"minWidth": {
|
|
1497
1516
|
"$ref": "#size"
|
|
1498
1517
|
},
|
|
1518
|
+
"iconSize": {
|
|
1519
|
+
"$ref": "#size"
|
|
1520
|
+
},
|
|
1521
|
+
"iconSpace": {
|
|
1522
|
+
"$ref": "#integer"
|
|
1523
|
+
},
|
|
1524
|
+
"icon": {
|
|
1525
|
+
"$ref": "#icon"
|
|
1526
|
+
},
|
|
1499
1527
|
"outerBorderColor": {
|
|
1500
1528
|
"$ref": "#color"
|
|
1501
1529
|
},
|
|
@@ -2006,6 +2034,33 @@
|
|
|
2006
2034
|
},
|
|
2007
2035
|
"spaceBetweenSlideAndPanelNavigation": {
|
|
2008
2036
|
"$ref": "#size"
|
|
2037
|
+
},
|
|
2038
|
+
"thumbnailBorderColor": {
|
|
2039
|
+
"$ref": "#color"
|
|
2040
|
+
},
|
|
2041
|
+
"thumbnailBorderRadius": {
|
|
2042
|
+
"$ref": "#radius"
|
|
2043
|
+
},
|
|
2044
|
+
"thumbnailBorderWidth": {
|
|
2045
|
+
"$ref": "#border"
|
|
2046
|
+
},
|
|
2047
|
+
"thumbnailContainerPaddingTop": {
|
|
2048
|
+
"$ref": "#size"
|
|
2049
|
+
},
|
|
2050
|
+
"thumbnailMargin": {
|
|
2051
|
+
"$ref": "#size"
|
|
2052
|
+
},
|
|
2053
|
+
"thumbnailPadding": {
|
|
2054
|
+
"$ref": "#size"
|
|
2055
|
+
},
|
|
2056
|
+
"thumbnailSelectedBorderColor": {
|
|
2057
|
+
"$ref": "#color"
|
|
2058
|
+
},
|
|
2059
|
+
"thumbnailSelectedBorderWidth": {
|
|
2060
|
+
"$ref": "#border"
|
|
2061
|
+
},
|
|
2062
|
+
"thumbnailSize": {
|
|
2063
|
+
"$ref": "#size"
|
|
2009
2064
|
}
|
|
2010
2065
|
},
|
|
2011
2066
|
"required": [
|
|
@@ -2014,7 +2069,16 @@
|
|
|
2014
2069
|
"showPreviousNextNavigation",
|
|
2015
2070
|
"showPanelNavigation",
|
|
2016
2071
|
"spaceBetweenSlideAndPreviousNextNavigation",
|
|
2017
|
-
"spaceBetweenSlideAndPanelNavigation"
|
|
2072
|
+
"spaceBetweenSlideAndPanelNavigation",
|
|
2073
|
+
"thumbnailBorderColor",
|
|
2074
|
+
"thumbnailBorderRadius",
|
|
2075
|
+
"thumbnailBorderWidth",
|
|
2076
|
+
"thumbnailContainerPaddingTop",
|
|
2077
|
+
"thumbnailMargin",
|
|
2078
|
+
"thumbnailPadding",
|
|
2079
|
+
"thumbnailSelectedBorderColor",
|
|
2080
|
+
"thumbnailSelectedBorderWidth",
|
|
2081
|
+
"thumbnailSize"
|
|
2018
2082
|
]
|
|
2019
2083
|
},
|
|
2020
2084
|
"rules": {
|
|
@@ -2048,6 +2112,205 @@
|
|
|
2048
2112
|
},
|
|
2049
2113
|
"spaceBetweenSlideAndPanelNavigation": {
|
|
2050
2114
|
"$ref": "#size"
|
|
2115
|
+
},
|
|
2116
|
+
"thumbnailBorderColor": {
|
|
2117
|
+
"$ref": "#color"
|
|
2118
|
+
},
|
|
2119
|
+
"thumbnailBorderRadius": {
|
|
2120
|
+
"$ref": "#radius"
|
|
2121
|
+
},
|
|
2122
|
+
"thumbnailBorderWidth": {
|
|
2123
|
+
"$ref": "#border"
|
|
2124
|
+
},
|
|
2125
|
+
"thumbnailContainerPaddingTop": {
|
|
2126
|
+
"$ref": "#size"
|
|
2127
|
+
},
|
|
2128
|
+
"thumbnailMargin": {
|
|
2129
|
+
"$ref": "#size"
|
|
2130
|
+
},
|
|
2131
|
+
"thumbnailPadding": {
|
|
2132
|
+
"$ref": "#size"
|
|
2133
|
+
},
|
|
2134
|
+
"thumbnailSelectedBorderColor": {
|
|
2135
|
+
"$ref": "#color"
|
|
2136
|
+
},
|
|
2137
|
+
"thumbnailSelectedBorderWidth": {
|
|
2138
|
+
"$ref": "#border"
|
|
2139
|
+
},
|
|
2140
|
+
"thumbnailSize": {
|
|
2141
|
+
"$ref": "#size"
|
|
2142
|
+
}
|
|
2143
|
+
}
|
|
2144
|
+
},
|
|
2145
|
+
"description": {
|
|
2146
|
+
"type": "string"
|
|
2147
|
+
}
|
|
2148
|
+
},
|
|
2149
|
+
"required": [
|
|
2150
|
+
"if",
|
|
2151
|
+
"tokens"
|
|
2152
|
+
]
|
|
2153
|
+
}
|
|
2154
|
+
}
|
|
2155
|
+
},
|
|
2156
|
+
"required": [
|
|
2157
|
+
"tokens",
|
|
2158
|
+
"rules"
|
|
2159
|
+
]
|
|
2160
|
+
},
|
|
2161
|
+
"CarouselTabsPanelItem": {
|
|
2162
|
+
"type": "object",
|
|
2163
|
+
"additionalProperties": false,
|
|
2164
|
+
"properties": {
|
|
2165
|
+
"appearances": {
|
|
2166
|
+
"type": "object",
|
|
2167
|
+
"additionalProperties": false,
|
|
2168
|
+
"patternProperties": {
|
|
2169
|
+
"^[a-z]+([A-Z0-9][a-z0-9]*)*$": {
|
|
2170
|
+
"$ref": "#appearance"
|
|
2171
|
+
}
|
|
2172
|
+
}
|
|
2173
|
+
},
|
|
2174
|
+
"tokens": {
|
|
2175
|
+
"type": "object",
|
|
2176
|
+
"additionalProperties": false,
|
|
2177
|
+
"properties": {
|
|
2178
|
+
"paddingLeft": {
|
|
2179
|
+
"$ref": "#size"
|
|
2180
|
+
},
|
|
2181
|
+
"paddingRight": {
|
|
2182
|
+
"$ref": "#size"
|
|
2183
|
+
},
|
|
2184
|
+
"paddingTop": {
|
|
2185
|
+
"$ref": "#size"
|
|
2186
|
+
},
|
|
2187
|
+
"paddingBottom": {
|
|
2188
|
+
"$ref": "#size"
|
|
2189
|
+
},
|
|
2190
|
+
"borderBottomColor": {
|
|
2191
|
+
"$ref": "#color"
|
|
2192
|
+
},
|
|
2193
|
+
"borderBottomWidth": {
|
|
2194
|
+
"$ref": "#border"
|
|
2195
|
+
},
|
|
2196
|
+
"borderBottomStyle": {
|
|
2197
|
+
"$ref": "#borderStyle"
|
|
2198
|
+
},
|
|
2199
|
+
"flex": {
|
|
2200
|
+
"$ref": "#integer"
|
|
2201
|
+
},
|
|
2202
|
+
"alignItems": {
|
|
2203
|
+
"$ref": "#flexAlign"
|
|
2204
|
+
},
|
|
2205
|
+
"justifyContent": {
|
|
2206
|
+
"$ref": "#flexJustifyContent"
|
|
2207
|
+
},
|
|
2208
|
+
"color": {
|
|
2209
|
+
"$ref": "#color"
|
|
2210
|
+
},
|
|
2211
|
+
"fontSize": {
|
|
2212
|
+
"$ref": "#fontSize"
|
|
2213
|
+
},
|
|
2214
|
+
"fontScaleCap": {
|
|
2215
|
+
"$ref": "#fontSize"
|
|
2216
|
+
},
|
|
2217
|
+
"lineHeight": {
|
|
2218
|
+
"$ref": "#lineHeight"
|
|
2219
|
+
},
|
|
2220
|
+
"letterSpacing": {
|
|
2221
|
+
"$ref": "#letterSpacing"
|
|
2222
|
+
},
|
|
2223
|
+
"fontWeight": {
|
|
2224
|
+
"$ref": "#fontWeight"
|
|
2225
|
+
},
|
|
2226
|
+
"fontName": {
|
|
2227
|
+
"$ref": "#fontName"
|
|
2228
|
+
}
|
|
2229
|
+
},
|
|
2230
|
+
"required": [
|
|
2231
|
+
"paddingLeft",
|
|
2232
|
+
"paddingRight",
|
|
2233
|
+
"paddingTop",
|
|
2234
|
+
"paddingBottom",
|
|
2235
|
+
"borderBottomColor",
|
|
2236
|
+
"borderBottomWidth",
|
|
2237
|
+
"borderBottomStyle",
|
|
2238
|
+
"flex",
|
|
2239
|
+
"alignItems",
|
|
2240
|
+
"justifyContent",
|
|
2241
|
+
"color",
|
|
2242
|
+
"fontSize",
|
|
2243
|
+
"fontScaleCap",
|
|
2244
|
+
"lineHeight",
|
|
2245
|
+
"letterSpacing",
|
|
2246
|
+
"fontWeight",
|
|
2247
|
+
"fontName"
|
|
2248
|
+
]
|
|
2249
|
+
},
|
|
2250
|
+
"rules": {
|
|
2251
|
+
"type": "array",
|
|
2252
|
+
"items": {
|
|
2253
|
+
"type": "object",
|
|
2254
|
+
"additionalProperties": false,
|
|
2255
|
+
"properties": {
|
|
2256
|
+
"if": {
|
|
2257
|
+
"type": "object",
|
|
2258
|
+
"minProperties": 1
|
|
2259
|
+
},
|
|
2260
|
+
"tokens": {
|
|
2261
|
+
"type": "object",
|
|
2262
|
+
"additionalProperties": false,
|
|
2263
|
+
"properties": {
|
|
2264
|
+
"paddingLeft": {
|
|
2265
|
+
"$ref": "#size"
|
|
2266
|
+
},
|
|
2267
|
+
"paddingRight": {
|
|
2268
|
+
"$ref": "#size"
|
|
2269
|
+
},
|
|
2270
|
+
"paddingTop": {
|
|
2271
|
+
"$ref": "#size"
|
|
2272
|
+
},
|
|
2273
|
+
"paddingBottom": {
|
|
2274
|
+
"$ref": "#size"
|
|
2275
|
+
},
|
|
2276
|
+
"borderBottomColor": {
|
|
2277
|
+
"$ref": "#color"
|
|
2278
|
+
},
|
|
2279
|
+
"borderBottomWidth": {
|
|
2280
|
+
"$ref": "#border"
|
|
2281
|
+
},
|
|
2282
|
+
"borderBottomStyle": {
|
|
2283
|
+
"$ref": "#borderStyle"
|
|
2284
|
+
},
|
|
2285
|
+
"flex": {
|
|
2286
|
+
"$ref": "#integer"
|
|
2287
|
+
},
|
|
2288
|
+
"alignItems": {
|
|
2289
|
+
"$ref": "#flexAlign"
|
|
2290
|
+
},
|
|
2291
|
+
"justifyContent": {
|
|
2292
|
+
"$ref": "#flexJustifyContent"
|
|
2293
|
+
},
|
|
2294
|
+
"color": {
|
|
2295
|
+
"$ref": "#color"
|
|
2296
|
+
},
|
|
2297
|
+
"fontSize": {
|
|
2298
|
+
"$ref": "#fontSize"
|
|
2299
|
+
},
|
|
2300
|
+
"fontScaleCap": {
|
|
2301
|
+
"$ref": "#fontSize"
|
|
2302
|
+
},
|
|
2303
|
+
"lineHeight": {
|
|
2304
|
+
"$ref": "#lineHeight"
|
|
2305
|
+
},
|
|
2306
|
+
"letterSpacing": {
|
|
2307
|
+
"$ref": "#letterSpacing"
|
|
2308
|
+
},
|
|
2309
|
+
"fontWeight": {
|
|
2310
|
+
"$ref": "#fontWeight"
|
|
2311
|
+
},
|
|
2312
|
+
"fontName": {
|
|
2313
|
+
"$ref": "#fontName"
|
|
2051
2314
|
}
|
|
2052
2315
|
}
|
|
2053
2316
|
},
|
|
@@ -7128,6 +7391,122 @@
|
|
|
7128
7391
|
"rules"
|
|
7129
7392
|
]
|
|
7130
7393
|
},
|
|
7394
|
+
"SkipLink": {
|
|
7395
|
+
"type": "object",
|
|
7396
|
+
"additionalProperties": false,
|
|
7397
|
+
"properties": {
|
|
7398
|
+
"appearances": {
|
|
7399
|
+
"type": "object",
|
|
7400
|
+
"additionalProperties": false,
|
|
7401
|
+
"patternProperties": {
|
|
7402
|
+
"^[a-z]+([A-Z0-9][a-z0-9]*)*$": {
|
|
7403
|
+
"$ref": "#appearance"
|
|
7404
|
+
}
|
|
7405
|
+
}
|
|
7406
|
+
},
|
|
7407
|
+
"tokens": {
|
|
7408
|
+
"type": "object",
|
|
7409
|
+
"additionalProperties": false,
|
|
7410
|
+
"properties": {
|
|
7411
|
+
"backgroundColor": {
|
|
7412
|
+
"$ref": "#color"
|
|
7413
|
+
},
|
|
7414
|
+
"color": {
|
|
7415
|
+
"$ref": "#color"
|
|
7416
|
+
},
|
|
7417
|
+
"outlineColor": {
|
|
7418
|
+
"$ref": "#color"
|
|
7419
|
+
},
|
|
7420
|
+
"outlineOffset": {
|
|
7421
|
+
"$ref": "#border"
|
|
7422
|
+
},
|
|
7423
|
+
"outlineStyle": {
|
|
7424
|
+
"$ref": "#borderStyle"
|
|
7425
|
+
},
|
|
7426
|
+
"outlineWidth": {
|
|
7427
|
+
"$ref": "#border"
|
|
7428
|
+
},
|
|
7429
|
+
"paddingHorizontal": {
|
|
7430
|
+
"$ref": "#size"
|
|
7431
|
+
},
|
|
7432
|
+
"paddingVertical": {
|
|
7433
|
+
"$ref": "#size"
|
|
7434
|
+
},
|
|
7435
|
+
"borderRadius": {
|
|
7436
|
+
"$ref": "#radius"
|
|
7437
|
+
}
|
|
7438
|
+
},
|
|
7439
|
+
"required": [
|
|
7440
|
+
"backgroundColor",
|
|
7441
|
+
"color",
|
|
7442
|
+
"outlineColor",
|
|
7443
|
+
"outlineOffset",
|
|
7444
|
+
"outlineStyle",
|
|
7445
|
+
"outlineWidth",
|
|
7446
|
+
"paddingHorizontal",
|
|
7447
|
+
"paddingVertical",
|
|
7448
|
+
"borderRadius"
|
|
7449
|
+
]
|
|
7450
|
+
},
|
|
7451
|
+
"rules": {
|
|
7452
|
+
"type": "array",
|
|
7453
|
+
"items": {
|
|
7454
|
+
"type": "object",
|
|
7455
|
+
"additionalProperties": false,
|
|
7456
|
+
"properties": {
|
|
7457
|
+
"if": {
|
|
7458
|
+
"type": "object",
|
|
7459
|
+
"minProperties": 1
|
|
7460
|
+
},
|
|
7461
|
+
"tokens": {
|
|
7462
|
+
"type": "object",
|
|
7463
|
+
"additionalProperties": false,
|
|
7464
|
+
"properties": {
|
|
7465
|
+
"backgroundColor": {
|
|
7466
|
+
"$ref": "#color"
|
|
7467
|
+
},
|
|
7468
|
+
"color": {
|
|
7469
|
+
"$ref": "#color"
|
|
7470
|
+
},
|
|
7471
|
+
"outlineColor": {
|
|
7472
|
+
"$ref": "#color"
|
|
7473
|
+
},
|
|
7474
|
+
"outlineOffset": {
|
|
7475
|
+
"$ref": "#border"
|
|
7476
|
+
},
|
|
7477
|
+
"outlineStyle": {
|
|
7478
|
+
"$ref": "#borderStyle"
|
|
7479
|
+
},
|
|
7480
|
+
"outlineWidth": {
|
|
7481
|
+
"$ref": "#border"
|
|
7482
|
+
},
|
|
7483
|
+
"paddingHorizontal": {
|
|
7484
|
+
"$ref": "#size"
|
|
7485
|
+
},
|
|
7486
|
+
"paddingVertical": {
|
|
7487
|
+
"$ref": "#size"
|
|
7488
|
+
},
|
|
7489
|
+
"borderRadius": {
|
|
7490
|
+
"$ref": "#radius"
|
|
7491
|
+
}
|
|
7492
|
+
}
|
|
7493
|
+
},
|
|
7494
|
+
"description": {
|
|
7495
|
+
"type": "string"
|
|
7496
|
+
}
|
|
7497
|
+
},
|
|
7498
|
+
"required": [
|
|
7499
|
+
"if",
|
|
7500
|
+
"tokens"
|
|
7501
|
+
]
|
|
7502
|
+
}
|
|
7503
|
+
}
|
|
7504
|
+
},
|
|
7505
|
+
"required": [
|
|
7506
|
+
"tokens",
|
|
7507
|
+
"rules"
|
|
7508
|
+
]
|
|
7509
|
+
},
|
|
7131
7510
|
"Tabs": {
|
|
7132
7511
|
"type": "object",
|
|
7133
7512
|
"additionalProperties": false,
|
|
@@ -8963,6 +9342,7 @@
|
|
|
8963
9342
|
"ButtonGroupItem",
|
|
8964
9343
|
"Card",
|
|
8965
9344
|
"Carousel",
|
|
9345
|
+
"CarouselTabsPanelItem",
|
|
8966
9346
|
"Checkbox",
|
|
8967
9347
|
"ChevronLink",
|
|
8968
9348
|
"CheckboxGroup",
|
|
@@ -8998,6 +9378,7 @@
|
|
|
8998
9378
|
"spacingScale",
|
|
8999
9379
|
"StackView",
|
|
9000
9380
|
"StepTracker",
|
|
9381
|
+
"SkipLink",
|
|
9001
9382
|
"Tabs",
|
|
9002
9383
|
"TabsItem",
|
|
9003
9384
|
"Tags",
|
package/build/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on
|
|
4
|
+
* Generated on Tue, 23 Aug 2022 19:30:03 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -187,6 +187,9 @@ module.exports = {
|
|
|
187
187
|
fontName: 'StagSans',
|
|
188
188
|
fontSize: 16,
|
|
189
189
|
fontWeight: '600',
|
|
190
|
+
icon: null,
|
|
191
|
+
iconSize: 24,
|
|
192
|
+
iconSpace: 2,
|
|
190
193
|
lineHeight: 1.5,
|
|
191
194
|
minWidth: 0,
|
|
192
195
|
opacity: 1,
|
|
@@ -347,7 +350,7 @@ module.exports = {
|
|
|
347
350
|
rules: [
|
|
348
351
|
{
|
|
349
352
|
if: { viewport: [ 'xs', 'sm' ] },
|
|
350
|
-
tokens: { showPreviousNextNavigation: false }
|
|
353
|
+
tokens: { showPreviousNextNavigation: false, thumbnailSize: 48 }
|
|
351
354
|
}
|
|
352
355
|
],
|
|
353
356
|
tokens: {
|
|
@@ -356,7 +359,112 @@ module.exports = {
|
|
|
356
359
|
showPanelNavigation: true,
|
|
357
360
|
showPreviousNextNavigation: true,
|
|
358
361
|
spaceBetweenSlideAndPanelNavigation: 32,
|
|
359
|
-
spaceBetweenSlideAndPreviousNextNavigation: 24
|
|
362
|
+
spaceBetweenSlideAndPreviousNextNavigation: 24,
|
|
363
|
+
thumbnailBorderColor: '#f9f6a5',
|
|
364
|
+
thumbnailBorderRadius: 4,
|
|
365
|
+
thumbnailBorderWidth: 1,
|
|
366
|
+
thumbnailContainerPaddingTop: 24,
|
|
367
|
+
thumbnailMargin: 4,
|
|
368
|
+
thumbnailPadding: 8,
|
|
369
|
+
thumbnailSelectedBorderColor: '#016b6a',
|
|
370
|
+
thumbnailSelectedBorderWidth: 2,
|
|
371
|
+
thumbnailSize: 64
|
|
372
|
+
}
|
|
373
|
+
},
|
|
374
|
+
CarouselTabsPanelItem: {
|
|
375
|
+
appearances: {
|
|
376
|
+
focus: {
|
|
377
|
+
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.",
|
|
378
|
+
type: 'state',
|
|
379
|
+
values: [ true ]
|
|
380
|
+
},
|
|
381
|
+
hover: {
|
|
382
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
383
|
+
type: 'state',
|
|
384
|
+
values: [ true ]
|
|
385
|
+
},
|
|
386
|
+
inactive: {
|
|
387
|
+
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
388
|
+
type: 'state',
|
|
389
|
+
values: [ true ]
|
|
390
|
+
},
|
|
391
|
+
pressed: {
|
|
392
|
+
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.',
|
|
393
|
+
type: 'state',
|
|
394
|
+
values: [ true ]
|
|
395
|
+
},
|
|
396
|
+
selected: {
|
|
397
|
+
description: 'Applies while an interactive component is the currently selected one in a set of states or components, for example a button in a `ButtonGroup`.',
|
|
398
|
+
type: 'state',
|
|
399
|
+
values: [ true ]
|
|
400
|
+
}
|
|
401
|
+
},
|
|
402
|
+
rules: [
|
|
403
|
+
{
|
|
404
|
+
if: { hover: true },
|
|
405
|
+
tokens: {
|
|
406
|
+
borderBottomColor: '#016b6a',
|
|
407
|
+
borderBottomWidth: 2,
|
|
408
|
+
color: '#016b6a'
|
|
409
|
+
}
|
|
410
|
+
},
|
|
411
|
+
{
|
|
412
|
+
if: { focus: true },
|
|
413
|
+
tokens: {
|
|
414
|
+
borderBottomColor: '#016b6a',
|
|
415
|
+
borderBottomWidth: 4,
|
|
416
|
+
color: '#016b6a'
|
|
417
|
+
}
|
|
418
|
+
},
|
|
419
|
+
{
|
|
420
|
+
if: { pressed: true },
|
|
421
|
+
tokens: {
|
|
422
|
+
borderBottomColor: '#014847',
|
|
423
|
+
borderBottomWidth: 2,
|
|
424
|
+
color: '#014847'
|
|
425
|
+
}
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
if: { focus: true, pressed: true },
|
|
429
|
+
tokens: { borderBottomWidth: 4 }
|
|
430
|
+
},
|
|
431
|
+
{
|
|
432
|
+
if: { inactive: true },
|
|
433
|
+
tokens: {
|
|
434
|
+
borderBottomColor: '#c9c8c8',
|
|
435
|
+
borderBottomWidth: 4,
|
|
436
|
+
color: '#c9c8c8'
|
|
437
|
+
}
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
if: { selected: true },
|
|
441
|
+
tokens: {
|
|
442
|
+
borderBottomColor: '#c9c8c8',
|
|
443
|
+
borderBottomWidth: 2,
|
|
444
|
+
color: '#c9c8c8',
|
|
445
|
+
fontName: 'StagSans',
|
|
446
|
+
fontWeight: '400'
|
|
447
|
+
}
|
|
448
|
+
}
|
|
449
|
+
],
|
|
450
|
+
tokens: {
|
|
451
|
+
alignItems: 'flex-start',
|
|
452
|
+
borderBottomColor: 'transparent',
|
|
453
|
+
borderBottomStyle: 'solid',
|
|
454
|
+
borderBottomWidth: 1,
|
|
455
|
+
color: '#016b6a',
|
|
456
|
+
flex: 1,
|
|
457
|
+
fontName: 'StagSans',
|
|
458
|
+
fontScaleCap: 64,
|
|
459
|
+
fontSize: 14,
|
|
460
|
+
fontWeight: '400',
|
|
461
|
+
justifyContent: 'flex-start',
|
|
462
|
+
letterSpacing: 0,
|
|
463
|
+
lineHeight: 1.1,
|
|
464
|
+
paddingBottom: 16,
|
|
465
|
+
paddingLeft: 0,
|
|
466
|
+
paddingRight: 0,
|
|
467
|
+
paddingTop: 0
|
|
360
468
|
}
|
|
361
469
|
},
|
|
362
470
|
Checkbox: {
|
|
@@ -1704,6 +1812,21 @@ module.exports = {
|
|
|
1704
1812
|
squareRadius: 4
|
|
1705
1813
|
}
|
|
1706
1814
|
},
|
|
1815
|
+
SkipLink: {
|
|
1816
|
+
appearances: {},
|
|
1817
|
+
rules: [],
|
|
1818
|
+
tokens: {
|
|
1819
|
+
backgroundColor: '#014847',
|
|
1820
|
+
borderRadius: 12,
|
|
1821
|
+
color: '#ffffff',
|
|
1822
|
+
outlineColor: '#016b6a',
|
|
1823
|
+
outlineOffset: 0,
|
|
1824
|
+
outlineStyle: 'solid',
|
|
1825
|
+
outlineWidth: 2,
|
|
1826
|
+
paddingHorizontal: 8,
|
|
1827
|
+
paddingVertical: 8
|
|
1828
|
+
}
|
|
1829
|
+
},
|
|
1707
1830
|
StackView: {
|
|
1708
1831
|
appearances: {},
|
|
1709
1832
|
rules: [],
|
|
@@ -2400,5 +2523,5 @@ module.exports = {
|
|
|
2400
2523
|
tokens: { size: 96 }
|
|
2401
2524
|
}
|
|
2402
2525
|
},
|
|
2403
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
2526
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.4.0' }
|
|
2404
2527
|
}
|
package/package.json
CHANGED
|
@@ -1,35 +1,35 @@
|
|
|
1
1
|
{
|
|
2
|
-
"
|
|
3
|
-
"
|
|
2
|
+
"author": "TELUS Digital",
|
|
3
|
+
"bugs": {
|
|
4
|
+
"url": "https://github.com/telus/universal-design-system/issues"
|
|
5
|
+
},
|
|
4
6
|
"description": "Koodo theme",
|
|
7
|
+
"devDependencies": {
|
|
8
|
+
"@telus-uds/palette-koodo": "^0.1.2",
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.4.0"
|
|
10
|
+
},
|
|
11
|
+
"files": [
|
|
12
|
+
"build",
|
|
13
|
+
"theme.json"
|
|
14
|
+
],
|
|
15
|
+
"homepage": "https://github.com/telus/universal-design-system#readme",
|
|
5
16
|
"keywords": [
|
|
6
17
|
"koodo"
|
|
7
18
|
],
|
|
8
|
-
"author": "TELUS Digital",
|
|
9
|
-
"homepage": "https://github.com/telus/koodo-design-system#readme",
|
|
10
19
|
"license": "UNLICENSED",
|
|
11
20
|
"main": "build/theme.js",
|
|
12
|
-
"
|
|
13
|
-
"build",
|
|
14
|
-
"theme.json"
|
|
15
|
-
],
|
|
21
|
+
"name": "@telus-uds/theme-koodo",
|
|
16
22
|
"peerDependencies": {
|
|
17
23
|
"@telus-uds/palette-koodo": "^0.1.2"
|
|
18
24
|
},
|
|
19
|
-
"devDependencies": {
|
|
20
|
-
"@telus-uds/palette-koodo": "^0.1.2",
|
|
21
|
-
"@telus-uds/system-theme-tokens": "^2.1.0"
|
|
22
|
-
},
|
|
23
25
|
"repository": {
|
|
24
26
|
"type": "git",
|
|
25
|
-
"url": "git+https://github.com/telus/
|
|
27
|
+
"url": "git+https://github.com/telus/universal-design-system.git"
|
|
26
28
|
},
|
|
27
29
|
"scripts": {
|
|
28
30
|
"release": "standard-version",
|
|
29
31
|
"build": "UDS_PALETTE=@telus-uds/palette-koodo system-tokens-build-theme",
|
|
30
|
-
"dev": "nodemon -w src -x '
|
|
32
|
+
"dev": "nodemon -w src -x 'npm run build'"
|
|
31
33
|
},
|
|
32
|
-
"
|
|
33
|
-
"url": "https://github.com/telus/koodo-design-system/issues"
|
|
34
|
-
}
|
|
34
|
+
"version": "3.3.1"
|
|
35
35
|
}
|
package/theme.json
CHANGED
|
@@ -220,6 +220,9 @@
|
|
|
220
220
|
"fontName": "{palette.fontName.StagSans}",
|
|
221
221
|
"fontSize": "{palette.fontSize.size16}",
|
|
222
222
|
"fontWeight": "{palette.fontWeight.weight600}",
|
|
223
|
+
"icon": "{system.icon.none}",
|
|
224
|
+
"iconSize": "{palette.size.size24}",
|
|
225
|
+
"iconSpace": "{system.integer.2}",
|
|
223
226
|
"lineHeight": "{palette.lineHeight.multiply150}",
|
|
224
227
|
"minWidth": "{system.size.zero}",
|
|
225
228
|
"opacity": "{system.opacity.opaque}",
|
|
@@ -388,7 +391,8 @@
|
|
|
388
391
|
"viewport": ["xs", "sm"]
|
|
389
392
|
},
|
|
390
393
|
"tokens": {
|
|
391
|
-
"showPreviousNextNavigation": "{system.show.false}"
|
|
394
|
+
"showPreviousNextNavigation": "{system.show.false}",
|
|
395
|
+
"thumbnailSize": "{palette.size.size48}"
|
|
392
396
|
}
|
|
393
397
|
}
|
|
394
398
|
],
|
|
@@ -398,7 +402,107 @@
|
|
|
398
402
|
"showPanelNavigation": "{system.show.true}",
|
|
399
403
|
"showPreviousNextNavigation": "{system.show.true}",
|
|
400
404
|
"spaceBetweenSlideAndPanelNavigation": "{palette.size.size32}",
|
|
401
|
-
"spaceBetweenSlideAndPreviousNextNavigation": "{palette.size.size24}"
|
|
405
|
+
"spaceBetweenSlideAndPreviousNextNavigation": "{palette.size.size24}",
|
|
406
|
+
"thumbnailBorderColor": "{palette.color.texas}",
|
|
407
|
+
"thumbnailBorderRadius": "{palette.radius.radius4}",
|
|
408
|
+
"thumbnailBorderWidth": "{palette.border.border1}",
|
|
409
|
+
"thumbnailContainerPaddingTop": "{palette.size.size24}",
|
|
410
|
+
"thumbnailMargin": "{palette.size.size4}",
|
|
411
|
+
"thumbnailPadding": "{palette.size.size8}",
|
|
412
|
+
"thumbnailSelectedBorderColor": "{palette.color.mosque}",
|
|
413
|
+
"thumbnailSelectedBorderWidth": "{palette.border.border2}",
|
|
414
|
+
"thumbnailSize": "{palette.size.size64}"
|
|
415
|
+
}
|
|
416
|
+
},
|
|
417
|
+
"CarouselTabsPanelItem": {
|
|
418
|
+
"appearances": {
|
|
419
|
+
"focus": "{appearances.CarouselTabsPanelItem.focus}",
|
|
420
|
+
"hover": "{appearances.CarouselTabsPanelItem.hover}",
|
|
421
|
+
"inactive": "{appearances.CarouselTabsPanelItem.inactive}",
|
|
422
|
+
"pressed": "{appearances.CarouselTabsPanelItem.pressed}",
|
|
423
|
+
"selected": "{appearances.CarouselTabsPanelItem.selected}"
|
|
424
|
+
},
|
|
425
|
+
"rules": [
|
|
426
|
+
{
|
|
427
|
+
"if": {
|
|
428
|
+
"hover": true
|
|
429
|
+
},
|
|
430
|
+
"tokens": {
|
|
431
|
+
"borderBottomColor": "{palette.color.mosque}",
|
|
432
|
+
"borderBottomWidth": "{palette.border.border2}",
|
|
433
|
+
"color": "{palette.color.mosque}"
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
"if": {
|
|
438
|
+
"focus": true
|
|
439
|
+
},
|
|
440
|
+
"tokens": {
|
|
441
|
+
"borderBottomColor": "{palette.color.mosque}",
|
|
442
|
+
"borderBottomWidth": "{palette.border.border4}",
|
|
443
|
+
"color": "{palette.color.mosque}"
|
|
444
|
+
}
|
|
445
|
+
},
|
|
446
|
+
{
|
|
447
|
+
"if": {
|
|
448
|
+
"pressed": true
|
|
449
|
+
},
|
|
450
|
+
"tokens": {
|
|
451
|
+
"borderBottomColor": "{palette.color.darkMosque}",
|
|
452
|
+
"borderBottomWidth": "{palette.border.border2}",
|
|
453
|
+
"color": "{palette.color.darkMosque}"
|
|
454
|
+
}
|
|
455
|
+
},
|
|
456
|
+
{
|
|
457
|
+
"if": {
|
|
458
|
+
"focus": true,
|
|
459
|
+
"pressed": true
|
|
460
|
+
},
|
|
461
|
+
"tokens": {
|
|
462
|
+
"borderBottomWidth": "{palette.border.border4}"
|
|
463
|
+
}
|
|
464
|
+
},
|
|
465
|
+
{
|
|
466
|
+
"if": {
|
|
467
|
+
"inactive": true
|
|
468
|
+
},
|
|
469
|
+
"tokens": {
|
|
470
|
+
"borderBottomColor": "{palette.color.silver}",
|
|
471
|
+
"borderBottomWidth": "{palette.border.border4}",
|
|
472
|
+
"color": "{palette.color.silver}"
|
|
473
|
+
}
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"if": {
|
|
477
|
+
"selected": true
|
|
478
|
+
},
|
|
479
|
+
"tokens": {
|
|
480
|
+
"borderBottomColor": "{palette.color.silver}",
|
|
481
|
+
"borderBottomWidth": "{palette.border.border2}",
|
|
482
|
+
"color": "{palette.color.silver}",
|
|
483
|
+
"fontName": "{palette.fontName.StagSans}",
|
|
484
|
+
"fontWeight": "{palette.fontWeight.weight400}"
|
|
485
|
+
}
|
|
486
|
+
}
|
|
487
|
+
],
|
|
488
|
+
"tokens": {
|
|
489
|
+
"alignItems": "{system.flexAlign.flexStart}",
|
|
490
|
+
"borderBottomColor": "{system.color.transparent}",
|
|
491
|
+
"borderBottomStyle": "{system.borderStyle.solid}",
|
|
492
|
+
"borderBottomWidth": "{palette.border.border1}",
|
|
493
|
+
"color": "{palette.color.mosque}",
|
|
494
|
+
"flex": "{system.integer.1}",
|
|
495
|
+
"fontName": "{palette.fontName.StagSans}",
|
|
496
|
+
"fontScaleCap": "{palette.fontSize.size64}",
|
|
497
|
+
"fontSize": "{palette.fontSize.size14}",
|
|
498
|
+
"fontWeight": "{palette.fontWeight.weight400}",
|
|
499
|
+
"justifyContent": "{system.flexJustifyContent.flexStart}",
|
|
500
|
+
"letterSpacing": "{system.letterSpacing.none}",
|
|
501
|
+
"lineHeight": "{palette.lineHeight.multiply110}",
|
|
502
|
+
"paddingBottom": "{palette.size.size16}",
|
|
503
|
+
"paddingLeft": "{system.size.zero}",
|
|
504
|
+
"paddingRight": "{system.size.zero}",
|
|
505
|
+
"paddingTop": "{system.size.zero}"
|
|
402
506
|
}
|
|
403
507
|
},
|
|
404
508
|
"Checkbox": {
|
|
@@ -1873,6 +1977,21 @@
|
|
|
1873
1977
|
"squareRadius": "{palette.radius.radius4}"
|
|
1874
1978
|
}
|
|
1875
1979
|
},
|
|
1980
|
+
"SkipLink": {
|
|
1981
|
+
"appearances": {},
|
|
1982
|
+
"rules": [],
|
|
1983
|
+
"tokens": {
|
|
1984
|
+
"backgroundColor": "{palette.color.darkMosque}",
|
|
1985
|
+
"borderRadius": "{palette.radius.radius12}",
|
|
1986
|
+
"color": "{palette.color.white}",
|
|
1987
|
+
"outlineColor": "{palette.color.mosque}",
|
|
1988
|
+
"outlineOffset": "{system.border.zero}",
|
|
1989
|
+
"outlineStyle": "{system.borderStyle.solid}",
|
|
1990
|
+
"outlineWidth": "{palette.border.border2}",
|
|
1991
|
+
"paddingHorizontal": "{palette.size.size8}",
|
|
1992
|
+
"paddingVertical": "{palette.size.size8}"
|
|
1993
|
+
}
|
|
1994
|
+
},
|
|
1876
1995
|
"StackView": {
|
|
1877
1996
|
"appearances": {},
|
|
1878
1997
|
"rules": [],
|