@telus-uds/theme-allium 4.19.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 +1136 -943
- package/build/android/theme.json +139 -5
- package/build/ios/schema.json +1136 -943
- package/build/ios/theme.json +139 -5
- package/build/rn/schema.json +1136 -943
- package/build/rn/theme.js +140 -6
- package/package.json +5 -5
- package/theme.json +124 -4
package/build/android/theme.json
CHANGED
|
@@ -2114,10 +2114,19 @@
|
|
|
2114
2114
|
"type": "variant",
|
|
2115
2115
|
"values": ["none", "small", "large"]
|
|
2116
2116
|
},
|
|
2117
|
+
"interactive": {
|
|
2118
|
+
"type": "variant",
|
|
2119
|
+
"values": [true]
|
|
2120
|
+
},
|
|
2117
2121
|
"padding": {
|
|
2118
2122
|
"type": "variant",
|
|
2119
2123
|
"values": ["narrow", "intermediate", "compact", "custom"]
|
|
2120
2124
|
},
|
|
2125
|
+
"pressed": {
|
|
2126
|
+
"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.",
|
|
2127
|
+
"values": [true, false],
|
|
2128
|
+
"type": "state"
|
|
2129
|
+
},
|
|
2121
2130
|
"viewport": {
|
|
2122
2131
|
"description": "The size label for the current screen viewport based on the current screen width",
|
|
2123
2132
|
"values": ["xs", "sm", "md", "lg", "xl"],
|
|
@@ -2305,6 +2314,42 @@
|
|
|
2305
2314
|
"paddingRight": 0,
|
|
2306
2315
|
"paddingTop": 0
|
|
2307
2316
|
}
|
|
2317
|
+
},
|
|
2318
|
+
{
|
|
2319
|
+
"if": {
|
|
2320
|
+
"interactive": true,
|
|
2321
|
+
"pressed": false
|
|
2322
|
+
},
|
|
2323
|
+
"tokens": {
|
|
2324
|
+
"borderColor": {
|
|
2325
|
+
"red": 1,
|
|
2326
|
+
"green": 1,
|
|
2327
|
+
"blue": 1,
|
|
2328
|
+
"alpha": 1
|
|
2329
|
+
},
|
|
2330
|
+
"borderWidth": 2
|
|
2331
|
+
}
|
|
2332
|
+
},
|
|
2333
|
+
{
|
|
2334
|
+
"if": {
|
|
2335
|
+
"interactive": true,
|
|
2336
|
+
"pressed": true
|
|
2337
|
+
},
|
|
2338
|
+
"tokens": {
|
|
2339
|
+
"backgroundColor": {
|
|
2340
|
+
"red": 0,
|
|
2341
|
+
"green": 0,
|
|
2342
|
+
"blue": 0,
|
|
2343
|
+
"alpha": 0.1
|
|
2344
|
+
},
|
|
2345
|
+
"borderColor": {
|
|
2346
|
+
"red": 0.8902,
|
|
2347
|
+
"green": 0.90196,
|
|
2348
|
+
"blue": 0.9098,
|
|
2349
|
+
"alpha": 1
|
|
2350
|
+
},
|
|
2351
|
+
"borderWidth": 2
|
|
2352
|
+
}
|
|
2308
2353
|
}
|
|
2309
2354
|
],
|
|
2310
2355
|
"tokens": {
|
|
@@ -3157,8 +3202,9 @@
|
|
|
3157
3202
|
"size": "large"
|
|
3158
3203
|
},
|
|
3159
3204
|
"tokens": {
|
|
3205
|
+
"blockLineHeight": 1.6,
|
|
3160
3206
|
"fontSize": 20,
|
|
3161
|
-
"iconSize":
|
|
3207
|
+
"iconSize": 20
|
|
3162
3208
|
}
|
|
3163
3209
|
},
|
|
3164
3210
|
{
|
|
@@ -3166,8 +3212,9 @@
|
|
|
3166
3212
|
"size": "small"
|
|
3167
3213
|
},
|
|
3168
3214
|
"tokens": {
|
|
3215
|
+
"blockLineHeight": 1.42857142857,
|
|
3169
3216
|
"fontSize": 14,
|
|
3170
|
-
"iconSize":
|
|
3217
|
+
"iconSize": 16
|
|
3171
3218
|
}
|
|
3172
3219
|
},
|
|
3173
3220
|
{
|
|
@@ -3175,12 +3222,14 @@
|
|
|
3175
3222
|
"size": "micro"
|
|
3176
3223
|
},
|
|
3177
3224
|
"tokens": {
|
|
3225
|
+
"blockLineHeight": 1.33333333333,
|
|
3178
3226
|
"fontSize": 12,
|
|
3179
|
-
"iconSize":
|
|
3227
|
+
"iconSize": 16
|
|
3180
3228
|
}
|
|
3181
3229
|
}
|
|
3182
3230
|
],
|
|
3183
3231
|
"tokens": {
|
|
3232
|
+
"blockLineHeight": 1.5,
|
|
3184
3233
|
"color": {
|
|
3185
3234
|
"red": 0.16863,
|
|
3186
3235
|
"green": 0.50196,
|
|
@@ -3189,7 +3238,7 @@
|
|
|
3189
3238
|
},
|
|
3190
3239
|
"fontSize": 16,
|
|
3191
3240
|
"iconDisplace": 0,
|
|
3192
|
-
"iconSize":
|
|
3241
|
+
"iconSize": 16,
|
|
3193
3242
|
"iconSpace": 1,
|
|
3194
3243
|
"leftIcon": "PaletteIconArrowLeft",
|
|
3195
3244
|
"outerBorderColor": {
|
|
@@ -3202,6 +3251,91 @@
|
|
|
3202
3251
|
"textLine": "none"
|
|
3203
3252
|
}
|
|
3204
3253
|
},
|
|
3254
|
+
"ColourToggle": {
|
|
3255
|
+
"appearances": {
|
|
3256
|
+
"pressed": {
|
|
3257
|
+
"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.",
|
|
3258
|
+
"values": [true, false],
|
|
3259
|
+
"type": "state"
|
|
3260
|
+
},
|
|
3261
|
+
"selected": {
|
|
3262
|
+
"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`.",
|
|
3263
|
+
"values": [true],
|
|
3264
|
+
"type": "state"
|
|
3265
|
+
}
|
|
3266
|
+
},
|
|
3267
|
+
"rules": [
|
|
3268
|
+
{
|
|
3269
|
+
"if": {
|
|
3270
|
+
"pressed": true
|
|
3271
|
+
},
|
|
3272
|
+
"tokens": {
|
|
3273
|
+
"bubbleBorderColor": {
|
|
3274
|
+
"red": 0.8902,
|
|
3275
|
+
"green": 0.90196,
|
|
3276
|
+
"blue": 0.9098,
|
|
3277
|
+
"alpha": 1
|
|
3278
|
+
},
|
|
3279
|
+
"bubbleBorderRadius": 45,
|
|
3280
|
+
"bubbleBorderWidth": 1
|
|
3281
|
+
}
|
|
3282
|
+
},
|
|
3283
|
+
{
|
|
3284
|
+
"if": {
|
|
3285
|
+
"selected": true
|
|
3286
|
+
},
|
|
3287
|
+
"tokens": {
|
|
3288
|
+
"bubbleBorderColor": {
|
|
3289
|
+
"red": 0.29412,
|
|
3290
|
+
"green": 0.15686,
|
|
3291
|
+
"blue": 0.42745,
|
|
3292
|
+
"alpha": 1
|
|
3293
|
+
},
|
|
3294
|
+
"bubbleBorderRadius": 45,
|
|
3295
|
+
"bubbleBorderWidth": 1
|
|
3296
|
+
}
|
|
3297
|
+
}
|
|
3298
|
+
],
|
|
3299
|
+
"tokens": {
|
|
3300
|
+
"borderColor": {
|
|
3301
|
+
"red": 0.8902,
|
|
3302
|
+
"green": 0.90196,
|
|
3303
|
+
"blue": 0.9098,
|
|
3304
|
+
"alpha": 1
|
|
3305
|
+
},
|
|
3306
|
+
"borderRadius": 45,
|
|
3307
|
+
"borderWidth": 1,
|
|
3308
|
+
"bubbleBorderColor": {
|
|
3309
|
+
"red": 0,
|
|
3310
|
+
"green": 0,
|
|
3311
|
+
"blue": 0,
|
|
3312
|
+
"alpha": 0
|
|
3313
|
+
},
|
|
3314
|
+
"bubbleBorderRadius": 0,
|
|
3315
|
+
"bubbleBorderWidth": 0,
|
|
3316
|
+
"innerBubbleBorderRadius": 45,
|
|
3317
|
+
"innerBubbleHeight": 40,
|
|
3318
|
+
"innerBubbleWidth": 40,
|
|
3319
|
+
"outerBubbleContentAlignItems": "center",
|
|
3320
|
+
"outerBubbleHeight": 48,
|
|
3321
|
+
"outerBubbleJustifyContent": "center",
|
|
3322
|
+
"outerBubbleWidth": 48,
|
|
3323
|
+
"shadow": {
|
|
3324
|
+
"inset": true,
|
|
3325
|
+
"offsetX": 0,
|
|
3326
|
+
"offsetY": 2,
|
|
3327
|
+
"blur": 2,
|
|
3328
|
+
"spread": 0,
|
|
3329
|
+
"color": {
|
|
3330
|
+
"red": 0,
|
|
3331
|
+
"green": 0,
|
|
3332
|
+
"blue": 0,
|
|
3333
|
+
"alpha": 0.1
|
|
3334
|
+
}
|
|
3335
|
+
},
|
|
3336
|
+
"space": 2
|
|
3337
|
+
}
|
|
3338
|
+
},
|
|
3205
3339
|
"Countdown": {
|
|
3206
3340
|
"appearances": {
|
|
3207
3341
|
"feature": {
|
|
@@ -12142,7 +12276,7 @@
|
|
|
12142
12276
|
}
|
|
12143
12277
|
},
|
|
12144
12278
|
"metadata": {
|
|
12145
|
-
"themeTokensVersion": "2.
|
|
12279
|
+
"themeTokensVersion": "2.48.0",
|
|
12146
12280
|
"name": "theme-allium"
|
|
12147
12281
|
}
|
|
12148
12282
|
}
|