@telus-uds/theme-koodo 5.2.0 → 5.3.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 +844 -656
- package/build/android/theme.json +86 -1
- package/build/ios/schema.json +844 -656
- package/build/ios/theme.json +86 -1
- package/build/rn/schema.json +844 -656
- package/build/rn/theme.js +86 -2
- package/package.json +4 -4
- package/theme.json +67 -0
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 Wed, 13 Dec 2023 21:12:17 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -1820,6 +1820,90 @@ module.exports = {
|
|
|
1820
1820
|
textLine: 'none'
|
|
1821
1821
|
}
|
|
1822
1822
|
},
|
|
1823
|
+
ColourToggle: {
|
|
1824
|
+
appearances: {
|
|
1825
|
+
focus: {
|
|
1826
|
+
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.",
|
|
1827
|
+
platforms: [ 'rn' ],
|
|
1828
|
+
type: 'state',
|
|
1829
|
+
values: [ true, false ]
|
|
1830
|
+
},
|
|
1831
|
+
hover: {
|
|
1832
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1833
|
+
platforms: [ 'rn' ],
|
|
1834
|
+
type: 'state',
|
|
1835
|
+
values: [ true, false ]
|
|
1836
|
+
},
|
|
1837
|
+
pressed: {
|
|
1838
|
+
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.',
|
|
1839
|
+
type: 'state',
|
|
1840
|
+
values: [ true, false ]
|
|
1841
|
+
},
|
|
1842
|
+
selected: {
|
|
1843
|
+
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`.',
|
|
1844
|
+
type: 'state',
|
|
1845
|
+
values: [ true ]
|
|
1846
|
+
}
|
|
1847
|
+
},
|
|
1848
|
+
rules: [
|
|
1849
|
+
{
|
|
1850
|
+
if: { hover: true },
|
|
1851
|
+
tokens: {
|
|
1852
|
+
bubbleBorderColor: '#c9c8c8',
|
|
1853
|
+
bubbleBorderRadius: 45,
|
|
1854
|
+
bubbleBorderWidth: 1
|
|
1855
|
+
}
|
|
1856
|
+
},
|
|
1857
|
+
{
|
|
1858
|
+
if: { focus: true },
|
|
1859
|
+
tokens: {
|
|
1860
|
+
bubbleBorderColor: '#7a3dfc',
|
|
1861
|
+
bubbleBorderRadius: 45,
|
|
1862
|
+
bubbleBorderWidth: 1
|
|
1863
|
+
}
|
|
1864
|
+
},
|
|
1865
|
+
{
|
|
1866
|
+
if: { pressed: true },
|
|
1867
|
+
tokens: {
|
|
1868
|
+
bubbleBorderColor: '#595959',
|
|
1869
|
+
bubbleBorderRadius: 45,
|
|
1870
|
+
bubbleBorderWidth: 1
|
|
1871
|
+
}
|
|
1872
|
+
},
|
|
1873
|
+
{
|
|
1874
|
+
if: { selected: true },
|
|
1875
|
+
tokens: {
|
|
1876
|
+
bubbleBorderColor: '#000000',
|
|
1877
|
+
bubbleBorderRadius: 45,
|
|
1878
|
+
bubbleBorderWidth: 1
|
|
1879
|
+
}
|
|
1880
|
+
}
|
|
1881
|
+
],
|
|
1882
|
+
tokens: {
|
|
1883
|
+
borderColor: '#c9c8c8',
|
|
1884
|
+
borderRadius: 45,
|
|
1885
|
+
borderWidth: 1,
|
|
1886
|
+
bubbleBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1887
|
+
bubbleBorderRadius: 0,
|
|
1888
|
+
bubbleBorderWidth: 0,
|
|
1889
|
+
innerBubbleBorderRadius: 45,
|
|
1890
|
+
innerBubbleHeight: 40,
|
|
1891
|
+
innerBubbleWidth: 40,
|
|
1892
|
+
outerBubbleContentAlignItems: 'center',
|
|
1893
|
+
outerBubbleHeight: 48,
|
|
1894
|
+
outerBubbleJustifyContent: 'center',
|
|
1895
|
+
outerBubbleWidth: 48,
|
|
1896
|
+
shadow: {
|
|
1897
|
+
blur: 2,
|
|
1898
|
+
color: 'rgba(0, 0, 0, 0.1)',
|
|
1899
|
+
inset: true,
|
|
1900
|
+
offsetX: 0,
|
|
1901
|
+
offsetY: 2,
|
|
1902
|
+
spread: 0
|
|
1903
|
+
},
|
|
1904
|
+
space: 2
|
|
1905
|
+
}
|
|
1906
|
+
},
|
|
1823
1907
|
Countdown: {
|
|
1824
1908
|
appearances: {
|
|
1825
1909
|
feature: { type: 'variant', values: [ true ] },
|
|
@@ -7049,5 +7133,5 @@ module.exports = {
|
|
|
7049
7133
|
tokens: { size: 96 }
|
|
7050
7134
|
}
|
|
7051
7135
|
},
|
|
7052
|
-
metadata: { name: 'theme-koodo', themeTokensVersion: '2.
|
|
7136
|
+
metadata: { name: 'theme-koodo', themeTokensVersion: '2.48.0' }
|
|
7053
7137
|
}
|
package/package.json
CHANGED
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
},
|
|
6
6
|
"description": "Koodo theme",
|
|
7
7
|
"devDependencies": {
|
|
8
|
-
"@telus-uds/palette-koodo": "^1.1.
|
|
9
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
8
|
+
"@telus-uds/palette-koodo": "^1.1.1",
|
|
9
|
+
"@telus-uds/system-theme-tokens": "^2.48.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": "^1.1.
|
|
23
|
+
"@telus-uds/palette-koodo": "^1.1.1"
|
|
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": "5.
|
|
34
|
+
"version": "5.3.0"
|
|
35
35
|
}
|
package/theme.json
CHANGED
|
@@ -2294,6 +2294,73 @@
|
|
|
2294
2294
|
"textLine": "{system.textLine.none}"
|
|
2295
2295
|
}
|
|
2296
2296
|
},
|
|
2297
|
+
"ColourToggle": {
|
|
2298
|
+
"appearances": {
|
|
2299
|
+
"focus": "{appearances.ColourToggle.focus}",
|
|
2300
|
+
"hover": "{appearances.ColourToggle.hover}",
|
|
2301
|
+
"pressed": "{appearances.ColourToggle.pressed}",
|
|
2302
|
+
"selected": "{appearances.ColourToggle.selected}"
|
|
2303
|
+
},
|
|
2304
|
+
"rules": [
|
|
2305
|
+
{
|
|
2306
|
+
"if": {
|
|
2307
|
+
"hover": true
|
|
2308
|
+
},
|
|
2309
|
+
"tokens": {
|
|
2310
|
+
"bubbleBorderColor": "{palette.color.silver}",
|
|
2311
|
+
"bubbleBorderRadius": "{palette.radius.radius45}",
|
|
2312
|
+
"bubbleBorderWidth": "{palette.border.border1}"
|
|
2313
|
+
}
|
|
2314
|
+
},
|
|
2315
|
+
{
|
|
2316
|
+
"if": {
|
|
2317
|
+
"focus": true
|
|
2318
|
+
},
|
|
2319
|
+
"tokens": {
|
|
2320
|
+
"bubbleBorderColor": "{palette.color.purple}",
|
|
2321
|
+
"bubbleBorderRadius": "{palette.radius.radius45}",
|
|
2322
|
+
"bubbleBorderWidth": "{palette.border.border1}"
|
|
2323
|
+
}
|
|
2324
|
+
},
|
|
2325
|
+
{
|
|
2326
|
+
"if": {
|
|
2327
|
+
"pressed": true
|
|
2328
|
+
},
|
|
2329
|
+
"tokens": {
|
|
2330
|
+
"bubbleBorderColor": "{palette.color.mortar}",
|
|
2331
|
+
"bubbleBorderRadius": "{palette.radius.radius45}",
|
|
2332
|
+
"bubbleBorderWidth": "{palette.border.border1}"
|
|
2333
|
+
}
|
|
2334
|
+
},
|
|
2335
|
+
{
|
|
2336
|
+
"if": {
|
|
2337
|
+
"selected": true
|
|
2338
|
+
},
|
|
2339
|
+
"tokens": {
|
|
2340
|
+
"bubbleBorderColor": "{palette.color.black}",
|
|
2341
|
+
"bubbleBorderRadius": "{palette.radius.radius45}",
|
|
2342
|
+
"bubbleBorderWidth": "{palette.border.border1}"
|
|
2343
|
+
}
|
|
2344
|
+
}
|
|
2345
|
+
],
|
|
2346
|
+
"tokens": {
|
|
2347
|
+
"borderColor": "{palette.color.silver}",
|
|
2348
|
+
"borderRadius": "{palette.radius.radius45}",
|
|
2349
|
+
"borderWidth": "{palette.border.border1}",
|
|
2350
|
+
"bubbleBorderColor": "{palette.color.transparent}",
|
|
2351
|
+
"bubbleBorderRadius": "{palette.radius.none}",
|
|
2352
|
+
"bubbleBorderWidth": "{palette.border.none}",
|
|
2353
|
+
"innerBubbleBorderRadius": "{palette.radius.radius45}",
|
|
2354
|
+
"innerBubbleHeight": "{palette.size.size40}",
|
|
2355
|
+
"innerBubbleWidth": "{palette.size.size40}",
|
|
2356
|
+
"outerBubbleContentAlignItems": "{system.flexAlign.center}",
|
|
2357
|
+
"outerBubbleHeight": "{palette.size.size48}",
|
|
2358
|
+
"outerBubbleJustifyContent": "{system.flexJustifyContent.center}",
|
|
2359
|
+
"outerBubbleWidth": "{palette.size.size48}",
|
|
2360
|
+
"shadow": "{palette.shadow.surfaceInset}",
|
|
2361
|
+
"space": "{system.integer.2}"
|
|
2362
|
+
}
|
|
2363
|
+
},
|
|
2297
2364
|
"Countdown": {
|
|
2298
2365
|
"appearances": {
|
|
2299
2366
|
"feature": {
|