@telus-uds/theme-allium 4.18.0 → 4.20.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.
@@ -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": 24
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": 14
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": 12
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": 24,
3241
+ "iconSize": 16,
3193
3242
  "iconSpace": 1,
3194
3243
  "leftIcon": "PaletteIconArrowLeft",
3195
3244
  "outerBorderColor": {
@@ -6004,8 +6053,8 @@
6004
6053
  "Notification": {
6005
6054
  "appearances": {
6006
6055
  "style": {
6007
- "values": ["success", "warning", "error"],
6008
- "type": "state"
6056
+ "type": "variant",
6057
+ "values": ["success", "warning", "error"]
6009
6058
  },
6010
6059
  "system": {
6011
6060
  "values": [true],
@@ -12142,7 +12191,7 @@
12142
12191
  }
12143
12192
  },
12144
12193
  "metadata": {
12145
- "themeTokensVersion": "2.45.0",
12194
+ "themeTokensVersion": "2.47.0",
12146
12195
  "name": "theme-allium"
12147
12196
  }
12148
12197
  }