@telus-uds/theme-allium 4.20.0 → 4.21.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 +1125 -942
- package/build/android/theme.json +86 -1
- package/build/ios/schema.json +1125 -942
- package/build/ios/theme.json +86 -1
- package/build/rn/schema.json +1125 -942
- package/build/rn/theme.js +86 -2
- package/package.json +5 -5
- 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:13:01 GMT
|
|
5
5
|
*
|
|
6
6
|
*/
|
|
7
7
|
|
|
@@ -1843,6 +1843,90 @@ module.exports = {
|
|
|
1843
1843
|
textLine: 'none'
|
|
1844
1844
|
}
|
|
1845
1845
|
},
|
|
1846
|
+
ColourToggle: {
|
|
1847
|
+
appearances: {
|
|
1848
|
+
focus: {
|
|
1849
|
+
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.",
|
|
1850
|
+
platforms: [ 'rn' ],
|
|
1851
|
+
type: 'state',
|
|
1852
|
+
values: [ true, false ]
|
|
1853
|
+
},
|
|
1854
|
+
hover: {
|
|
1855
|
+
description: "Currently web only. Applies when an interactive component's hover handler is triggered, such as on mouseover.",
|
|
1856
|
+
platforms: [ 'rn' ],
|
|
1857
|
+
type: 'state',
|
|
1858
|
+
values: [ true, false ]
|
|
1859
|
+
},
|
|
1860
|
+
pressed: {
|
|
1861
|
+
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.',
|
|
1862
|
+
type: 'state',
|
|
1863
|
+
values: [ true, false ]
|
|
1864
|
+
},
|
|
1865
|
+
selected: {
|
|
1866
|
+
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`.',
|
|
1867
|
+
type: 'state',
|
|
1868
|
+
values: [ true ]
|
|
1869
|
+
}
|
|
1870
|
+
},
|
|
1871
|
+
rules: [
|
|
1872
|
+
{
|
|
1873
|
+
if: { hover: true },
|
|
1874
|
+
tokens: {
|
|
1875
|
+
bubbleBorderColor: '#b2b9bf',
|
|
1876
|
+
bubbleBorderRadius: 45,
|
|
1877
|
+
bubbleBorderWidth: 1
|
|
1878
|
+
}
|
|
1879
|
+
},
|
|
1880
|
+
{
|
|
1881
|
+
if: { focus: true },
|
|
1882
|
+
tokens: {
|
|
1883
|
+
bubbleBorderColor: '#676e73',
|
|
1884
|
+
bubbleBorderRadius: 45,
|
|
1885
|
+
bubbleBorderWidth: 1
|
|
1886
|
+
}
|
|
1887
|
+
},
|
|
1888
|
+
{
|
|
1889
|
+
if: { pressed: true },
|
|
1890
|
+
tokens: {
|
|
1891
|
+
bubbleBorderColor: '#e3e6e8',
|
|
1892
|
+
bubbleBorderRadius: 45,
|
|
1893
|
+
bubbleBorderWidth: 1
|
|
1894
|
+
}
|
|
1895
|
+
},
|
|
1896
|
+
{
|
|
1897
|
+
if: { selected: true },
|
|
1898
|
+
tokens: {
|
|
1899
|
+
bubbleBorderColor: '#4b286d',
|
|
1900
|
+
bubbleBorderRadius: 45,
|
|
1901
|
+
bubbleBorderWidth: 1
|
|
1902
|
+
}
|
|
1903
|
+
}
|
|
1904
|
+
],
|
|
1905
|
+
tokens: {
|
|
1906
|
+
borderColor: '#e3e6e8',
|
|
1907
|
+
borderRadius: 45,
|
|
1908
|
+
borderWidth: 1,
|
|
1909
|
+
bubbleBorderColor: 'rgba(0, 0, 0, 0)',
|
|
1910
|
+
bubbleBorderRadius: 0,
|
|
1911
|
+
bubbleBorderWidth: 0,
|
|
1912
|
+
innerBubbleBorderRadius: 45,
|
|
1913
|
+
innerBubbleHeight: 40,
|
|
1914
|
+
innerBubbleWidth: 40,
|
|
1915
|
+
outerBubbleContentAlignItems: 'center',
|
|
1916
|
+
outerBubbleHeight: 48,
|
|
1917
|
+
outerBubbleJustifyContent: 'center',
|
|
1918
|
+
outerBubbleWidth: 48,
|
|
1919
|
+
shadow: {
|
|
1920
|
+
blur: 2,
|
|
1921
|
+
color: 'rgba(0, 0, 0, 0.1)',
|
|
1922
|
+
inset: true,
|
|
1923
|
+
offsetX: 0,
|
|
1924
|
+
offsetY: 2,
|
|
1925
|
+
spread: 0
|
|
1926
|
+
},
|
|
1927
|
+
space: 2
|
|
1928
|
+
}
|
|
1929
|
+
},
|
|
1846
1930
|
Countdown: {
|
|
1847
1931
|
appearances: {
|
|
1848
1932
|
feature: { type: 'variant', values: [ true ] },
|
|
@@ -7046,5 +7130,5 @@ module.exports = {
|
|
|
7046
7130
|
tokens: { size: 96 }
|
|
7047
7131
|
}
|
|
7048
7132
|
},
|
|
7049
|
-
metadata: { name: 'theme-allium', themeTokensVersion: '2.
|
|
7133
|
+
metadata: { name: 'theme-allium', themeTokensVersion: '2.48.0' }
|
|
7050
7134
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@telus-uds/theme-allium",
|
|
3
|
-
"version": "4.
|
|
3
|
+
"version": "4.21.0",
|
|
4
4
|
"description": "Allium theme",
|
|
5
5
|
"author": "TELUS Digital",
|
|
6
6
|
"homepage": "https://github.com/telus/allium-design-system#readme",
|
|
@@ -8,12 +8,12 @@
|
|
|
8
8
|
"main": "build/rn/theme.js",
|
|
9
9
|
"dependencies": {},
|
|
10
10
|
"devDependencies": {
|
|
11
|
-
"@telus-uds/palette-allium": "^2.28.
|
|
12
|
-
"@telus-uds/system-theme-tokens": "^2.
|
|
13
|
-
"@telus-uds/system-tokens": "^0.7.
|
|
11
|
+
"@telus-uds/palette-allium": "^2.28.3",
|
|
12
|
+
"@telus-uds/system-theme-tokens": "^2.48.0",
|
|
13
|
+
"@telus-uds/system-tokens": "^0.7.30"
|
|
14
14
|
},
|
|
15
15
|
"peerDependencies": {
|
|
16
|
-
"@telus-uds/palette-allium": "^2.28.
|
|
16
|
+
"@telus-uds/palette-allium": "^2.28.3"
|
|
17
17
|
},
|
|
18
18
|
"files": [
|
|
19
19
|
"build",
|
package/theme.json
CHANGED
|
@@ -2225,6 +2225,73 @@
|
|
|
2225
2225
|
"textLine": "{system.textLine.none}"
|
|
2226
2226
|
}
|
|
2227
2227
|
},
|
|
2228
|
+
"ColourToggle": {
|
|
2229
|
+
"appearances": {
|
|
2230
|
+
"focus": "{appearances.ColourToggle.focus}",
|
|
2231
|
+
"hover": "{appearances.ColourToggle.hover}",
|
|
2232
|
+
"pressed": "{appearances.ColourToggle.pressed}",
|
|
2233
|
+
"selected": "{appearances.ColourToggle.selected}"
|
|
2234
|
+
},
|
|
2235
|
+
"rules": [
|
|
2236
|
+
{
|
|
2237
|
+
"if": {
|
|
2238
|
+
"hover": true
|
|
2239
|
+
},
|
|
2240
|
+
"tokens": {
|
|
2241
|
+
"bubbleBorderColor": "{palette.color.greyCloud}",
|
|
2242
|
+
"bubbleBorderRadius": "{palette.radius.radius45}",
|
|
2243
|
+
"bubbleBorderWidth": "{palette.border.border1}"
|
|
2244
|
+
}
|
|
2245
|
+
},
|
|
2246
|
+
{
|
|
2247
|
+
"if": {
|
|
2248
|
+
"focus": true
|
|
2249
|
+
},
|
|
2250
|
+
"tokens": {
|
|
2251
|
+
"bubbleBorderColor": "{palette.color.greyShuttle}",
|
|
2252
|
+
"bubbleBorderRadius": "{palette.radius.radius45}",
|
|
2253
|
+
"bubbleBorderWidth": "{palette.border.border1}"
|
|
2254
|
+
}
|
|
2255
|
+
},
|
|
2256
|
+
{
|
|
2257
|
+
"if": {
|
|
2258
|
+
"pressed": true
|
|
2259
|
+
},
|
|
2260
|
+
"tokens": {
|
|
2261
|
+
"bubbleBorderColor": "{palette.color.greyMystic}",
|
|
2262
|
+
"bubbleBorderRadius": "{palette.radius.radius45}",
|
|
2263
|
+
"bubbleBorderWidth": "{palette.border.border1}"
|
|
2264
|
+
}
|
|
2265
|
+
},
|
|
2266
|
+
{
|
|
2267
|
+
"if": {
|
|
2268
|
+
"selected": true
|
|
2269
|
+
},
|
|
2270
|
+
"tokens": {
|
|
2271
|
+
"bubbleBorderColor": "{palette.color.purpleTelus}",
|
|
2272
|
+
"bubbleBorderRadius": "{palette.radius.radius45}",
|
|
2273
|
+
"bubbleBorderWidth": "{palette.border.border1}"
|
|
2274
|
+
}
|
|
2275
|
+
}
|
|
2276
|
+
],
|
|
2277
|
+
"tokens": {
|
|
2278
|
+
"borderColor": "{palette.color.greyMystic}",
|
|
2279
|
+
"borderRadius": "{palette.radius.radius45}",
|
|
2280
|
+
"borderWidth": "{palette.border.border1}",
|
|
2281
|
+
"bubbleBorderColor": "{palette.color.transparent}",
|
|
2282
|
+
"bubbleBorderRadius": "{palette.radius.none}",
|
|
2283
|
+
"bubbleBorderWidth": "{palette.border.none}",
|
|
2284
|
+
"innerBubbleBorderRadius": "{palette.radius.radius45}",
|
|
2285
|
+
"innerBubbleHeight": "{palette.size.size40}",
|
|
2286
|
+
"innerBubbleWidth": "{palette.size.size40}",
|
|
2287
|
+
"outerBubbleContentAlignItems": "{system.flexAlign.center}",
|
|
2288
|
+
"outerBubbleHeight": "{palette.size.size48}",
|
|
2289
|
+
"outerBubbleJustifyContent": "{system.flexJustifyContent.center}",
|
|
2290
|
+
"outerBubbleWidth": "{palette.size.size48}",
|
|
2291
|
+
"shadow": "{palette.shadow.surfaceInset}",
|
|
2292
|
+
"space": "{system.integer.2}"
|
|
2293
|
+
}
|
|
2294
|
+
},
|
|
2228
2295
|
"Countdown": {
|
|
2229
2296
|
"appearances": {
|
|
2230
2297
|
"feature": {
|