@telus-uds/theme-koodo 3.1.0 → 3.2.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/README.md +0 -2
- package/build/schema.json +361 -2
- package/build/theme.js +124 -4
- package/package.json +17 -17
- package/theme.json +118 -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}",
|
|
@@ -100,7 +105,8 @@
|
|
|
100
105
|
"{appearances.ToggleSwitch.selected}",
|
|
101
106
|
"{appearances.TooltipButton.focus}",
|
|
102
107
|
"{appearances.TooltipButton.hover}",
|
|
103
|
-
"{appearances.TooltipButton.pressed}"
|
|
108
|
+
"{appearances.TooltipButton.pressed}",
|
|
109
|
+
"{appearances.SkipLink.focus}"
|
|
104
110
|
]
|
|
105
111
|
},
|
|
106
112
|
{
|
|
@@ -2006,6 +2012,33 @@
|
|
|
2006
2012
|
},
|
|
2007
2013
|
"spaceBetweenSlideAndPanelNavigation": {
|
|
2008
2014
|
"$ref": "#size"
|
|
2015
|
+
},
|
|
2016
|
+
"thumbnailBorderColor": {
|
|
2017
|
+
"$ref": "#color"
|
|
2018
|
+
},
|
|
2019
|
+
"thumbnailBorderRadius": {
|
|
2020
|
+
"$ref": "#radius"
|
|
2021
|
+
},
|
|
2022
|
+
"thumbnailBorderWidth": {
|
|
2023
|
+
"$ref": "#border"
|
|
2024
|
+
},
|
|
2025
|
+
"thumbnailContainerPaddingTop": {
|
|
2026
|
+
"$ref": "#size"
|
|
2027
|
+
},
|
|
2028
|
+
"thumbnailMargin": {
|
|
2029
|
+
"$ref": "#size"
|
|
2030
|
+
},
|
|
2031
|
+
"thumbnailPadding": {
|
|
2032
|
+
"$ref": "#size"
|
|
2033
|
+
},
|
|
2034
|
+
"thumbnailSelectedBorderColor": {
|
|
2035
|
+
"$ref": "#color"
|
|
2036
|
+
},
|
|
2037
|
+
"thumbnailSelectedBorderWidth": {
|
|
2038
|
+
"$ref": "#border"
|
|
2039
|
+
},
|
|
2040
|
+
"thumbnailSize": {
|
|
2041
|
+
"$ref": "#size"
|
|
2009
2042
|
}
|
|
2010
2043
|
},
|
|
2011
2044
|
"required": [
|
|
@@ -2014,7 +2047,16 @@
|
|
|
2014
2047
|
"showPreviousNextNavigation",
|
|
2015
2048
|
"showPanelNavigation",
|
|
2016
2049
|
"spaceBetweenSlideAndPreviousNextNavigation",
|
|
2017
|
-
"spaceBetweenSlideAndPanelNavigation"
|
|
2050
|
+
"spaceBetweenSlideAndPanelNavigation",
|
|
2051
|
+
"thumbnailBorderColor",
|
|
2052
|
+
"thumbnailBorderRadius",
|
|
2053
|
+
"thumbnailBorderWidth",
|
|
2054
|
+
"thumbnailContainerPaddingTop",
|
|
2055
|
+
"thumbnailMargin",
|
|
2056
|
+
"thumbnailPadding",
|
|
2057
|
+
"thumbnailSelectedBorderColor",
|
|
2058
|
+
"thumbnailSelectedBorderWidth",
|
|
2059
|
+
"thumbnailSize"
|
|
2018
2060
|
]
|
|
2019
2061
|
},
|
|
2020
2062
|
"rules": {
|
|
@@ -2048,6 +2090,205 @@
|
|
|
2048
2090
|
},
|
|
2049
2091
|
"spaceBetweenSlideAndPanelNavigation": {
|
|
2050
2092
|
"$ref": "#size"
|
|
2093
|
+
},
|
|
2094
|
+
"thumbnailBorderColor": {
|
|
2095
|
+
"$ref": "#color"
|
|
2096
|
+
},
|
|
2097
|
+
"thumbnailBorderRadius": {
|
|
2098
|
+
"$ref": "#radius"
|
|
2099
|
+
},
|
|
2100
|
+
"thumbnailBorderWidth": {
|
|
2101
|
+
"$ref": "#border"
|
|
2102
|
+
},
|
|
2103
|
+
"thumbnailContainerPaddingTop": {
|
|
2104
|
+
"$ref": "#size"
|
|
2105
|
+
},
|
|
2106
|
+
"thumbnailMargin": {
|
|
2107
|
+
"$ref": "#size"
|
|
2108
|
+
},
|
|
2109
|
+
"thumbnailPadding": {
|
|
2110
|
+
"$ref": "#size"
|
|
2111
|
+
},
|
|
2112
|
+
"thumbnailSelectedBorderColor": {
|
|
2113
|
+
"$ref": "#color"
|
|
2114
|
+
},
|
|
2115
|
+
"thumbnailSelectedBorderWidth": {
|
|
2116
|
+
"$ref": "#border"
|
|
2117
|
+
},
|
|
2118
|
+
"thumbnailSize": {
|
|
2119
|
+
"$ref": "#size"
|
|
2120
|
+
}
|
|
2121
|
+
}
|
|
2122
|
+
},
|
|
2123
|
+
"description": {
|
|
2124
|
+
"type": "string"
|
|
2125
|
+
}
|
|
2126
|
+
},
|
|
2127
|
+
"required": [
|
|
2128
|
+
"if",
|
|
2129
|
+
"tokens"
|
|
2130
|
+
]
|
|
2131
|
+
}
|
|
2132
|
+
}
|
|
2133
|
+
},
|
|
2134
|
+
"required": [
|
|
2135
|
+
"tokens",
|
|
2136
|
+
"rules"
|
|
2137
|
+
]
|
|
2138
|
+
},
|
|
2139
|
+
"CarouselTabsPanelItem": {
|
|
2140
|
+
"type": "object",
|
|
2141
|
+
"additionalProperties": false,
|
|
2142
|
+
"properties": {
|
|
2143
|
+
"appearances": {
|
|
2144
|
+
"type": "object",
|
|
2145
|
+
"additionalProperties": false,
|
|
2146
|
+
"patternProperties": {
|
|
2147
|
+
"^[a-z]+([A-Z0-9][a-z0-9]*)*$": {
|
|
2148
|
+
"$ref": "#appearance"
|
|
2149
|
+
}
|
|
2150
|
+
}
|
|
2151
|
+
},
|
|
2152
|
+
"tokens": {
|
|
2153
|
+
"type": "object",
|
|
2154
|
+
"additionalProperties": false,
|
|
2155
|
+
"properties": {
|
|
2156
|
+
"paddingLeft": {
|
|
2157
|
+
"$ref": "#size"
|
|
2158
|
+
},
|
|
2159
|
+
"paddingRight": {
|
|
2160
|
+
"$ref": "#size"
|
|
2161
|
+
},
|
|
2162
|
+
"paddingTop": {
|
|
2163
|
+
"$ref": "#size"
|
|
2164
|
+
},
|
|
2165
|
+
"paddingBottom": {
|
|
2166
|
+
"$ref": "#size"
|
|
2167
|
+
},
|
|
2168
|
+
"borderBottomColor": {
|
|
2169
|
+
"$ref": "#color"
|
|
2170
|
+
},
|
|
2171
|
+
"borderBottomWidth": {
|
|
2172
|
+
"$ref": "#border"
|
|
2173
|
+
},
|
|
2174
|
+
"borderBottomStyle": {
|
|
2175
|
+
"$ref": "#borderStyle"
|
|
2176
|
+
},
|
|
2177
|
+
"flex": {
|
|
2178
|
+
"$ref": "#integer"
|
|
2179
|
+
},
|
|
2180
|
+
"alignItems": {
|
|
2181
|
+
"$ref": "#flexAlign"
|
|
2182
|
+
},
|
|
2183
|
+
"justifyContent": {
|
|
2184
|
+
"$ref": "#flexJustifyContent"
|
|
2185
|
+
},
|
|
2186
|
+
"color": {
|
|
2187
|
+
"$ref": "#color"
|
|
2188
|
+
},
|
|
2189
|
+
"fontSize": {
|
|
2190
|
+
"$ref": "#fontSize"
|
|
2191
|
+
},
|
|
2192
|
+
"fontScaleCap": {
|
|
2193
|
+
"$ref": "#fontSize"
|
|
2194
|
+
},
|
|
2195
|
+
"lineHeight": {
|
|
2196
|
+
"$ref": "#lineHeight"
|
|
2197
|
+
},
|
|
2198
|
+
"letterSpacing": {
|
|
2199
|
+
"$ref": "#letterSpacing"
|
|
2200
|
+
},
|
|
2201
|
+
"fontWeight": {
|
|
2202
|
+
"$ref": "#fontWeight"
|
|
2203
|
+
},
|
|
2204
|
+
"fontName": {
|
|
2205
|
+
"$ref": "#fontName"
|
|
2206
|
+
}
|
|
2207
|
+
},
|
|
2208
|
+
"required": [
|
|
2209
|
+
"paddingLeft",
|
|
2210
|
+
"paddingRight",
|
|
2211
|
+
"paddingTop",
|
|
2212
|
+
"paddingBottom",
|
|
2213
|
+
"borderBottomColor",
|
|
2214
|
+
"borderBottomWidth",
|
|
2215
|
+
"borderBottomStyle",
|
|
2216
|
+
"flex",
|
|
2217
|
+
"alignItems",
|
|
2218
|
+
"justifyContent",
|
|
2219
|
+
"color",
|
|
2220
|
+
"fontSize",
|
|
2221
|
+
"fontScaleCap",
|
|
2222
|
+
"lineHeight",
|
|
2223
|
+
"letterSpacing",
|
|
2224
|
+
"fontWeight",
|
|
2225
|
+
"fontName"
|
|
2226
|
+
]
|
|
2227
|
+
},
|
|
2228
|
+
"rules": {
|
|
2229
|
+
"type": "array",
|
|
2230
|
+
"items": {
|
|
2231
|
+
"type": "object",
|
|
2232
|
+
"additionalProperties": false,
|
|
2233
|
+
"properties": {
|
|
2234
|
+
"if": {
|
|
2235
|
+
"type": "object",
|
|
2236
|
+
"minProperties": 1
|
|
2237
|
+
},
|
|
2238
|
+
"tokens": {
|
|
2239
|
+
"type": "object",
|
|
2240
|
+
"additionalProperties": false,
|
|
2241
|
+
"properties": {
|
|
2242
|
+
"paddingLeft": {
|
|
2243
|
+
"$ref": "#size"
|
|
2244
|
+
},
|
|
2245
|
+
"paddingRight": {
|
|
2246
|
+
"$ref": "#size"
|
|
2247
|
+
},
|
|
2248
|
+
"paddingTop": {
|
|
2249
|
+
"$ref": "#size"
|
|
2250
|
+
},
|
|
2251
|
+
"paddingBottom": {
|
|
2252
|
+
"$ref": "#size"
|
|
2253
|
+
},
|
|
2254
|
+
"borderBottomColor": {
|
|
2255
|
+
"$ref": "#color"
|
|
2256
|
+
},
|
|
2257
|
+
"borderBottomWidth": {
|
|
2258
|
+
"$ref": "#border"
|
|
2259
|
+
},
|
|
2260
|
+
"borderBottomStyle": {
|
|
2261
|
+
"$ref": "#borderStyle"
|
|
2262
|
+
},
|
|
2263
|
+
"flex": {
|
|
2264
|
+
"$ref": "#integer"
|
|
2265
|
+
},
|
|
2266
|
+
"alignItems": {
|
|
2267
|
+
"$ref": "#flexAlign"
|
|
2268
|
+
},
|
|
2269
|
+
"justifyContent": {
|
|
2270
|
+
"$ref": "#flexJustifyContent"
|
|
2271
|
+
},
|
|
2272
|
+
"color": {
|
|
2273
|
+
"$ref": "#color"
|
|
2274
|
+
},
|
|
2275
|
+
"fontSize": {
|
|
2276
|
+
"$ref": "#fontSize"
|
|
2277
|
+
},
|
|
2278
|
+
"fontScaleCap": {
|
|
2279
|
+
"$ref": "#fontSize"
|
|
2280
|
+
},
|
|
2281
|
+
"lineHeight": {
|
|
2282
|
+
"$ref": "#lineHeight"
|
|
2283
|
+
},
|
|
2284
|
+
"letterSpacing": {
|
|
2285
|
+
"$ref": "#letterSpacing"
|
|
2286
|
+
},
|
|
2287
|
+
"fontWeight": {
|
|
2288
|
+
"$ref": "#fontWeight"
|
|
2289
|
+
},
|
|
2290
|
+
"fontName": {
|
|
2291
|
+
"$ref": "#fontName"
|
|
2051
2292
|
}
|
|
2052
2293
|
}
|
|
2053
2294
|
},
|
|
@@ -7128,6 +7369,122 @@
|
|
|
7128
7369
|
"rules"
|
|
7129
7370
|
]
|
|
7130
7371
|
},
|
|
7372
|
+
"SkipLink": {
|
|
7373
|
+
"type": "object",
|
|
7374
|
+
"additionalProperties": false,
|
|
7375
|
+
"properties": {
|
|
7376
|
+
"appearances": {
|
|
7377
|
+
"type": "object",
|
|
7378
|
+
"additionalProperties": false,
|
|
7379
|
+
"patternProperties": {
|
|
7380
|
+
"^[a-z]+([A-Z0-9][a-z0-9]*)*$": {
|
|
7381
|
+
"$ref": "#appearance"
|
|
7382
|
+
}
|
|
7383
|
+
}
|
|
7384
|
+
},
|
|
7385
|
+
"tokens": {
|
|
7386
|
+
"type": "object",
|
|
7387
|
+
"additionalProperties": false,
|
|
7388
|
+
"properties": {
|
|
7389
|
+
"backgroundColor": {
|
|
7390
|
+
"$ref": "#color"
|
|
7391
|
+
},
|
|
7392
|
+
"color": {
|
|
7393
|
+
"$ref": "#color"
|
|
7394
|
+
},
|
|
7395
|
+
"outlineColor": {
|
|
7396
|
+
"$ref": "#color"
|
|
7397
|
+
},
|
|
7398
|
+
"outlineOffset": {
|
|
7399
|
+
"$ref": "#border"
|
|
7400
|
+
},
|
|
7401
|
+
"outlineStyle": {
|
|
7402
|
+
"$ref": "#borderStyle"
|
|
7403
|
+
},
|
|
7404
|
+
"outlineWidth": {
|
|
7405
|
+
"$ref": "#border"
|
|
7406
|
+
},
|
|
7407
|
+
"paddingHorizontal": {
|
|
7408
|
+
"$ref": "#size"
|
|
7409
|
+
},
|
|
7410
|
+
"paddingVertical": {
|
|
7411
|
+
"$ref": "#size"
|
|
7412
|
+
},
|
|
7413
|
+
"borderRadius": {
|
|
7414
|
+
"$ref": "#radius"
|
|
7415
|
+
}
|
|
7416
|
+
},
|
|
7417
|
+
"required": [
|
|
7418
|
+
"backgroundColor",
|
|
7419
|
+
"color",
|
|
7420
|
+
"outlineColor",
|
|
7421
|
+
"outlineOffset",
|
|
7422
|
+
"outlineStyle",
|
|
7423
|
+
"outlineWidth",
|
|
7424
|
+
"paddingHorizontal",
|
|
7425
|
+
"paddingVertical",
|
|
7426
|
+
"borderRadius"
|
|
7427
|
+
]
|
|
7428
|
+
},
|
|
7429
|
+
"rules": {
|
|
7430
|
+
"type": "array",
|
|
7431
|
+
"items": {
|
|
7432
|
+
"type": "object",
|
|
7433
|
+
"additionalProperties": false,
|
|
7434
|
+
"properties": {
|
|
7435
|
+
"if": {
|
|
7436
|
+
"type": "object",
|
|
7437
|
+
"minProperties": 1
|
|
7438
|
+
},
|
|
7439
|
+
"tokens": {
|
|
7440
|
+
"type": "object",
|
|
7441
|
+
"additionalProperties": false,
|
|
7442
|
+
"properties": {
|
|
7443
|
+
"backgroundColor": {
|
|
7444
|
+
"$ref": "#color"
|
|
7445
|
+
},
|
|
7446
|
+
"color": {
|
|
7447
|
+
"$ref": "#color"
|
|
7448
|
+
},
|
|
7449
|
+
"outlineColor": {
|
|
7450
|
+
"$ref": "#color"
|
|
7451
|
+
},
|
|
7452
|
+
"outlineOffset": {
|
|
7453
|
+
"$ref": "#border"
|
|
7454
|
+
},
|
|
7455
|
+
"outlineStyle": {
|
|
7456
|
+
"$ref": "#borderStyle"
|
|
7457
|
+
},
|
|
7458
|
+
"outlineWidth": {
|
|
7459
|
+
"$ref": "#border"
|
|
7460
|
+
},
|
|
7461
|
+
"paddingHorizontal": {
|
|
7462
|
+
"$ref": "#size"
|
|
7463
|
+
},
|
|
7464
|
+
"paddingVertical": {
|
|
7465
|
+
"$ref": "#size"
|
|
7466
|
+
},
|
|
7467
|
+
"borderRadius": {
|
|
7468
|
+
"$ref": "#radius"
|
|
7469
|
+
}
|
|
7470
|
+
}
|
|
7471
|
+
},
|
|
7472
|
+
"description": {
|
|
7473
|
+
"type": "string"
|
|
7474
|
+
}
|
|
7475
|
+
},
|
|
7476
|
+
"required": [
|
|
7477
|
+
"if",
|
|
7478
|
+
"tokens"
|
|
7479
|
+
]
|
|
7480
|
+
}
|
|
7481
|
+
}
|
|
7482
|
+
},
|
|
7483
|
+
"required": [
|
|
7484
|
+
"tokens",
|
|
7485
|
+
"rules"
|
|
7486
|
+
]
|
|
7487
|
+
},
|
|
7131
7488
|
"Tabs": {
|
|
7132
7489
|
"type": "object",
|
|
7133
7490
|
"additionalProperties": false,
|
|
@@ -8963,6 +9320,7 @@
|
|
|
8963
9320
|
"ButtonGroupItem",
|
|
8964
9321
|
"Card",
|
|
8965
9322
|
"Carousel",
|
|
9323
|
+
"CarouselTabsPanelItem",
|
|
8966
9324
|
"Checkbox",
|
|
8967
9325
|
"ChevronLink",
|
|
8968
9326
|
"CheckboxGroup",
|
|
@@ -8998,6 +9356,7 @@
|
|
|
8998
9356
|
"spacingScale",
|
|
8999
9357
|
"StackView",
|
|
9000
9358
|
"StepTracker",
|
|
9359
|
+
"SkipLink",
|
|
9001
9360
|
"Tabs",
|
|
9002
9361
|
"TabsItem",
|
|
9003
9362
|
"Tags",
|
package/build/theme.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/*
|
|
2
2
|
*
|
|
3
3
|
* Do not edit directly
|
|
4
|
-
* Generated on Fri,
|
|
4
|
+
* Generated on Fri, 12 Aug 2022 20:14:25 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -347,7 +347,7 @@ module.exports = {
|
|
|
347
347
|
rules: [
|
|
348
348
|
{
|
|
349
349
|
if: { viewport: [ 'xs', 'sm' ] },
|
|
350
|
-
tokens: { showPreviousNextNavigation: false }
|
|
350
|
+
tokens: { showPreviousNextNavigation: false, thumbnailSize: 48 }
|
|
351
351
|
}
|
|
352
352
|
],
|
|
353
353
|
tokens: {
|
|
@@ -356,7 +356,112 @@ module.exports = {
|
|
|
356
356
|
showPanelNavigation: true,
|
|
357
357
|
showPreviousNextNavigation: true,
|
|
358
358
|
spaceBetweenSlideAndPanelNavigation: 32,
|
|
359
|
-
spaceBetweenSlideAndPreviousNextNavigation: 24
|
|
359
|
+
spaceBetweenSlideAndPreviousNextNavigation: 24,
|
|
360
|
+
thumbnailBorderColor: '#f9f6a5',
|
|
361
|
+
thumbnailBorderRadius: 4,
|
|
362
|
+
thumbnailBorderWidth: 1,
|
|
363
|
+
thumbnailContainerPaddingTop: 24,
|
|
364
|
+
thumbnailMargin: 4,
|
|
365
|
+
thumbnailPadding: 8,
|
|
366
|
+
thumbnailSelectedBorderColor: '#016b6a',
|
|
367
|
+
thumbnailSelectedBorderWidth: 2,
|
|
368
|
+
thumbnailSize: 64
|
|
369
|
+
}
|
|
370
|
+
},
|
|
371
|
+
CarouselTabsPanelItem: {
|
|
372
|
+
appearances: {
|
|
373
|
+
focus: {
|
|
374
|
+
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.",
|
|
375
|
+
type: 'state',
|
|
376
|
+
values: [ true ]
|
|
377
|
+
},
|
|
378
|
+
hover: {
|
|
379
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
380
|
+
type: 'state',
|
|
381
|
+
values: [ true ]
|
|
382
|
+
},
|
|
383
|
+
inactive: {
|
|
384
|
+
description: 'Prevents an interactive component from being interacted with and applies accessibility attributes to indicate to the user that this component cannot be used.',
|
|
385
|
+
type: 'state',
|
|
386
|
+
values: [ true ]
|
|
387
|
+
},
|
|
388
|
+
pressed: {
|
|
389
|
+
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.',
|
|
390
|
+
type: 'state',
|
|
391
|
+
values: [ true ]
|
|
392
|
+
},
|
|
393
|
+
selected: {
|
|
394
|
+
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`.',
|
|
395
|
+
type: 'state',
|
|
396
|
+
values: [ true ]
|
|
397
|
+
}
|
|
398
|
+
},
|
|
399
|
+
rules: [
|
|
400
|
+
{
|
|
401
|
+
if: { hover: true },
|
|
402
|
+
tokens: {
|
|
403
|
+
borderBottomColor: '#016b6a',
|
|
404
|
+
borderBottomWidth: 2,
|
|
405
|
+
color: '#016b6a'
|
|
406
|
+
}
|
|
407
|
+
},
|
|
408
|
+
{
|
|
409
|
+
if: { focus: true },
|
|
410
|
+
tokens: {
|
|
411
|
+
borderBottomColor: '#016b6a',
|
|
412
|
+
borderBottomWidth: 4,
|
|
413
|
+
color: '#016b6a'
|
|
414
|
+
}
|
|
415
|
+
},
|
|
416
|
+
{
|
|
417
|
+
if: { pressed: true },
|
|
418
|
+
tokens: {
|
|
419
|
+
borderBottomColor: '#014847',
|
|
420
|
+
borderBottomWidth: 2,
|
|
421
|
+
color: '#014847'
|
|
422
|
+
}
|
|
423
|
+
},
|
|
424
|
+
{
|
|
425
|
+
if: { focus: true, pressed: true },
|
|
426
|
+
tokens: { borderBottomWidth: 4 }
|
|
427
|
+
},
|
|
428
|
+
{
|
|
429
|
+
if: { inactive: true },
|
|
430
|
+
tokens: {
|
|
431
|
+
borderBottomColor: '#c9c8c8',
|
|
432
|
+
borderBottomWidth: 4,
|
|
433
|
+
color: '#c9c8c8'
|
|
434
|
+
}
|
|
435
|
+
},
|
|
436
|
+
{
|
|
437
|
+
if: { selected: true },
|
|
438
|
+
tokens: {
|
|
439
|
+
borderBottomColor: '#c9c8c8',
|
|
440
|
+
borderBottomWidth: 2,
|
|
441
|
+
color: '#c9c8c8',
|
|
442
|
+
fontName: 'StagSans',
|
|
443
|
+
fontWeight: '400'
|
|
444
|
+
}
|
|
445
|
+
}
|
|
446
|
+
],
|
|
447
|
+
tokens: {
|
|
448
|
+
alignItems: 'flex-start',
|
|
449
|
+
borderBottomColor: 'transparent',
|
|
450
|
+
borderBottomStyle: 'solid',
|
|
451
|
+
borderBottomWidth: 1,
|
|
452
|
+
color: '#016b6a',
|
|
453
|
+
flex: 1,
|
|
454
|
+
fontName: 'StagSans',
|
|
455
|
+
fontScaleCap: 64,
|
|
456
|
+
fontSize: 14,
|
|
457
|
+
fontWeight: '400',
|
|
458
|
+
justifyContent: 'flex-start',
|
|
459
|
+
letterSpacing: 0,
|
|
460
|
+
lineHeight: 1.1,
|
|
461
|
+
paddingBottom: 16,
|
|
462
|
+
paddingLeft: 0,
|
|
463
|
+
paddingRight: 0,
|
|
464
|
+
paddingTop: 0
|
|
360
465
|
}
|
|
361
466
|
},
|
|
362
467
|
Checkbox: {
|
|
@@ -1704,6 +1809,21 @@ module.exports = {
|
|
|
1704
1809
|
squareRadius: 4
|
|
1705
1810
|
}
|
|
1706
1811
|
},
|
|
1812
|
+
SkipLink: {
|
|
1813
|
+
appearances: {},
|
|
1814
|
+
rules: [],
|
|
1815
|
+
tokens: {
|
|
1816
|
+
backgroundColor: '#014847',
|
|
1817
|
+
borderRadius: 12,
|
|
1818
|
+
color: '#ffffff',
|
|
1819
|
+
outlineColor: '#016b6a',
|
|
1820
|
+
outlineOffset: 0,
|
|
1821
|
+
outlineStyle: 'solid',
|
|
1822
|
+
outlineWidth: 2,
|
|
1823
|
+
paddingHorizontal: 8,
|
|
1824
|
+
paddingVertical: 8
|
|
1825
|
+
}
|
|
1826
|
+
},
|
|
1707
1827
|
StackView: {
|
|
1708
1828
|
appearances: {},
|
|
1709
1829
|
rules: [],
|
|
@@ -2400,5 +2520,5 @@ module.exports = {
|
|
|
2400
2520
|
tokens: { size: 96 }
|
|
2401
2521
|
}
|
|
2402
2522
|
},
|
|
2403
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
2523
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.2.0' }
|
|
2404
2524
|
}
|
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.2.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.2.0"
|
|
35
35
|
}
|
package/theme.json
CHANGED
|
@@ -388,7 +388,8 @@
|
|
|
388
388
|
"viewport": ["xs", "sm"]
|
|
389
389
|
},
|
|
390
390
|
"tokens": {
|
|
391
|
-
"showPreviousNextNavigation": "{system.show.false}"
|
|
391
|
+
"showPreviousNextNavigation": "{system.show.false}",
|
|
392
|
+
"thumbnailSize": "{palette.size.size48}"
|
|
392
393
|
}
|
|
393
394
|
}
|
|
394
395
|
],
|
|
@@ -398,7 +399,107 @@
|
|
|
398
399
|
"showPanelNavigation": "{system.show.true}",
|
|
399
400
|
"showPreviousNextNavigation": "{system.show.true}",
|
|
400
401
|
"spaceBetweenSlideAndPanelNavigation": "{palette.size.size32}",
|
|
401
|
-
"spaceBetweenSlideAndPreviousNextNavigation": "{palette.size.size24}"
|
|
402
|
+
"spaceBetweenSlideAndPreviousNextNavigation": "{palette.size.size24}",
|
|
403
|
+
"thumbnailBorderColor": "{palette.color.texas}",
|
|
404
|
+
"thumbnailBorderRadius": "{palette.radius.radius4}",
|
|
405
|
+
"thumbnailBorderWidth": "{palette.border.border1}",
|
|
406
|
+
"thumbnailContainerPaddingTop": "{palette.size.size24}",
|
|
407
|
+
"thumbnailMargin": "{palette.size.size4}",
|
|
408
|
+
"thumbnailPadding": "{palette.size.size8}",
|
|
409
|
+
"thumbnailSelectedBorderColor": "{palette.color.mosque}",
|
|
410
|
+
"thumbnailSelectedBorderWidth": "{palette.border.border2}",
|
|
411
|
+
"thumbnailSize": "{palette.size.size64}"
|
|
412
|
+
}
|
|
413
|
+
},
|
|
414
|
+
"CarouselTabsPanelItem": {
|
|
415
|
+
"appearances": {
|
|
416
|
+
"focus": "{appearances.CarouselTabsPanelItem.focus}",
|
|
417
|
+
"hover": "{appearances.CarouselTabsPanelItem.hover}",
|
|
418
|
+
"inactive": "{appearances.CarouselTabsPanelItem.inactive}",
|
|
419
|
+
"pressed": "{appearances.CarouselTabsPanelItem.pressed}",
|
|
420
|
+
"selected": "{appearances.CarouselTabsPanelItem.selected}"
|
|
421
|
+
},
|
|
422
|
+
"rules": [
|
|
423
|
+
{
|
|
424
|
+
"if": {
|
|
425
|
+
"hover": true
|
|
426
|
+
},
|
|
427
|
+
"tokens": {
|
|
428
|
+
"borderBottomColor": "{palette.color.mosque}",
|
|
429
|
+
"borderBottomWidth": "{palette.border.border2}",
|
|
430
|
+
"color": "{palette.color.mosque}"
|
|
431
|
+
}
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"if": {
|
|
435
|
+
"focus": true
|
|
436
|
+
},
|
|
437
|
+
"tokens": {
|
|
438
|
+
"borderBottomColor": "{palette.color.mosque}",
|
|
439
|
+
"borderBottomWidth": "{palette.border.border4}",
|
|
440
|
+
"color": "{palette.color.mosque}"
|
|
441
|
+
}
|
|
442
|
+
},
|
|
443
|
+
{
|
|
444
|
+
"if": {
|
|
445
|
+
"pressed": true
|
|
446
|
+
},
|
|
447
|
+
"tokens": {
|
|
448
|
+
"borderBottomColor": "{palette.color.darkMosque}",
|
|
449
|
+
"borderBottomWidth": "{palette.border.border2}",
|
|
450
|
+
"color": "{palette.color.darkMosque}"
|
|
451
|
+
}
|
|
452
|
+
},
|
|
453
|
+
{
|
|
454
|
+
"if": {
|
|
455
|
+
"focus": true,
|
|
456
|
+
"pressed": true
|
|
457
|
+
},
|
|
458
|
+
"tokens": {
|
|
459
|
+
"borderBottomWidth": "{palette.border.border4}"
|
|
460
|
+
}
|
|
461
|
+
},
|
|
462
|
+
{
|
|
463
|
+
"if": {
|
|
464
|
+
"inactive": true
|
|
465
|
+
},
|
|
466
|
+
"tokens": {
|
|
467
|
+
"borderBottomColor": "{palette.color.silver}",
|
|
468
|
+
"borderBottomWidth": "{palette.border.border4}",
|
|
469
|
+
"color": "{palette.color.silver}"
|
|
470
|
+
}
|
|
471
|
+
},
|
|
472
|
+
{
|
|
473
|
+
"if": {
|
|
474
|
+
"selected": true
|
|
475
|
+
},
|
|
476
|
+
"tokens": {
|
|
477
|
+
"borderBottomColor": "{palette.color.silver}",
|
|
478
|
+
"borderBottomWidth": "{palette.border.border2}",
|
|
479
|
+
"color": "{palette.color.silver}",
|
|
480
|
+
"fontName": "{palette.fontName.StagSans}",
|
|
481
|
+
"fontWeight": "{palette.fontWeight.weight400}"
|
|
482
|
+
}
|
|
483
|
+
}
|
|
484
|
+
],
|
|
485
|
+
"tokens": {
|
|
486
|
+
"alignItems": "{system.flexAlign.flexStart}",
|
|
487
|
+
"borderBottomColor": "{system.color.transparent}",
|
|
488
|
+
"borderBottomStyle": "{system.borderStyle.solid}",
|
|
489
|
+
"borderBottomWidth": "{palette.border.border1}",
|
|
490
|
+
"color": "{palette.color.mosque}",
|
|
491
|
+
"flex": "{system.integer.1}",
|
|
492
|
+
"fontName": "{palette.fontName.StagSans}",
|
|
493
|
+
"fontScaleCap": "{palette.fontSize.size64}",
|
|
494
|
+
"fontSize": "{palette.fontSize.size14}",
|
|
495
|
+
"fontWeight": "{palette.fontWeight.weight400}",
|
|
496
|
+
"justifyContent": "{system.flexJustifyContent.flexStart}",
|
|
497
|
+
"letterSpacing": "{system.letterSpacing.none}",
|
|
498
|
+
"lineHeight": "{palette.lineHeight.multiply110}",
|
|
499
|
+
"paddingBottom": "{palette.size.size16}",
|
|
500
|
+
"paddingLeft": "{system.size.zero}",
|
|
501
|
+
"paddingRight": "{system.size.zero}",
|
|
502
|
+
"paddingTop": "{system.size.zero}"
|
|
402
503
|
}
|
|
403
504
|
},
|
|
404
505
|
"Checkbox": {
|
|
@@ -1873,6 +1974,21 @@
|
|
|
1873
1974
|
"squareRadius": "{palette.radius.radius4}"
|
|
1874
1975
|
}
|
|
1875
1976
|
},
|
|
1977
|
+
"SkipLink": {
|
|
1978
|
+
"appearances": {},
|
|
1979
|
+
"rules": [],
|
|
1980
|
+
"tokens": {
|
|
1981
|
+
"backgroundColor": "{palette.color.darkMosque}",
|
|
1982
|
+
"borderRadius": "{palette.radius.radius12}",
|
|
1983
|
+
"color": "{palette.color.white}",
|
|
1984
|
+
"outlineColor": "{palette.color.mosque}",
|
|
1985
|
+
"outlineOffset": "{system.border.zero}",
|
|
1986
|
+
"outlineStyle": "{system.borderStyle.solid}",
|
|
1987
|
+
"outlineWidth": "{palette.border.border2}",
|
|
1988
|
+
"paddingHorizontal": "{palette.size.size8}",
|
|
1989
|
+
"paddingVertical": "{palette.size.size8}"
|
|
1990
|
+
}
|
|
1991
|
+
},
|
|
1876
1992
|
"StackView": {
|
|
1877
1993
|
"appearances": {},
|
|
1878
1994
|
"rules": [],
|