@entur/button 3.3.20-beta.0 → 3.4.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/dist/styles.css +84 -8
- package/package.json +5 -5
package/dist/styles.css
CHANGED
|
@@ -234,6 +234,82 @@
|
|
|
234
234
|
--components-button-success-standard-icon:#08091c;
|
|
235
235
|
--components-button-success-standard-text:#08091c;
|
|
236
236
|
}
|
|
237
|
+
|
|
238
|
+
[data-view-mode=standard],
|
|
239
|
+
:root{
|
|
240
|
+
--components-button-border-large:0.125rem;
|
|
241
|
+
--components-button-border-medium:0.125rem;
|
|
242
|
+
--components-button-border-small:0.125rem;
|
|
243
|
+
--components-button-gap-small:0.25rem;
|
|
244
|
+
--components-button-gap-large:0.5rem;
|
|
245
|
+
--components-button-gap-medium:0.5rem;
|
|
246
|
+
--components-button-height-horizontalcontent-small:2rem;
|
|
247
|
+
--components-button-height-horizontalcontent-medium:3rem;
|
|
248
|
+
--components-button-height-horizontalcontent-large:4rem;
|
|
249
|
+
--components-button-height-verticalcontent-small:3rem;
|
|
250
|
+
--components-button-height-verticalcontent-medium:3.5rem;
|
|
251
|
+
--components-button-height-verticalcontent-large:4.5rem;
|
|
252
|
+
--components-button-icon-small:1rem;
|
|
253
|
+
--components-button-icon-medium:1.25rem;
|
|
254
|
+
--components-button-icon-large:1.5rem;
|
|
255
|
+
--components-button-inlinepadding-small:0.75rem;
|
|
256
|
+
--components-button-inlinepadding-medium:1rem;
|
|
257
|
+
--components-button-inlinepadding-large:1.5rem;
|
|
258
|
+
--components-button-radius-small:0.375rem;
|
|
259
|
+
--components-button-radius-large:0.5rem;
|
|
260
|
+
--components-button-radius-medium:0.5rem;
|
|
261
|
+
--components-button-radius-round:6rem;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
[data-view-mode=compact]{
|
|
265
|
+
--components-button-border-large:0.125rem;
|
|
266
|
+
--components-button-border-medium:0.125rem;
|
|
267
|
+
--components-button-border-small:0.125rem;
|
|
268
|
+
--components-button-gap-medium:0.25rem;
|
|
269
|
+
--components-button-gap-small:0.25rem;
|
|
270
|
+
--components-button-gap-large:0.5rem;
|
|
271
|
+
--components-button-height-horizontalcontent-small:1.75rem;
|
|
272
|
+
--components-button-height-horizontalcontent-medium:2.5rem;
|
|
273
|
+
--components-button-height-horizontalcontent-large:3.5rem;
|
|
274
|
+
--components-button-height-verticalcontent-small:2.5rem;
|
|
275
|
+
--components-button-height-verticalcontent-medium:3rem;
|
|
276
|
+
--components-button-height-verticalcontent-large:3.5rem;
|
|
277
|
+
--components-button-icon-medium:1rem;
|
|
278
|
+
--components-button-icon-small:1rem;
|
|
279
|
+
--components-button-icon-large:1.25rem;
|
|
280
|
+
--components-button-inlinepadding-small:0.5rem;
|
|
281
|
+
--components-button-inlinepadding-medium:0.75rem;
|
|
282
|
+
--components-button-inlinepadding-large:1rem;
|
|
283
|
+
--components-button-radius-small:0.25rem;
|
|
284
|
+
--components-button-radius-large:0.5rem;
|
|
285
|
+
--components-button-radius-medium:0.5rem;
|
|
286
|
+
--components-button-radius-round:6rem;
|
|
287
|
+
}
|
|
288
|
+
|
|
289
|
+
[data-view-mode=display]{
|
|
290
|
+
--components-button-border-small:0.125rem;
|
|
291
|
+
--components-button-border-large:0.25rem;
|
|
292
|
+
--components-button-border-medium:0.25rem;
|
|
293
|
+
--components-button-gap-small:0.5rem;
|
|
294
|
+
--components-button-gap-medium:0.75rem;
|
|
295
|
+
--components-button-gap-large:1rem;
|
|
296
|
+
--components-button-height-horizontalcontent-small:4rem;
|
|
297
|
+
--components-button-height-horizontalcontent-medium:6rem;
|
|
298
|
+
--components-button-height-horizontalcontent-large:7.5rem;
|
|
299
|
+
--components-button-height-verticalcontent-small:5rem;
|
|
300
|
+
--components-button-height-verticalcontent-medium:6.5rem;
|
|
301
|
+
--components-button-height-verticalcontent-large:8.5rem;
|
|
302
|
+
--components-button-icon-small:1.5rem;
|
|
303
|
+
--components-button-icon-medium:2rem;
|
|
304
|
+
--components-button-icon-large:3rem;
|
|
305
|
+
--components-button-inlinepadding-small:1.5rem;
|
|
306
|
+
--components-button-inlinepadding-medium:2rem;
|
|
307
|
+
--components-button-inlinepadding-large:2.5rem;
|
|
308
|
+
--components-button-radius-small:0.5rem;
|
|
309
|
+
--components-button-radius-large:1rem;
|
|
310
|
+
--components-button-radius-medium:1rem;
|
|
311
|
+
--components-button-radius-round:6rem;
|
|
312
|
+
}
|
|
237
313
|
[data-color-mode=light],
|
|
238
314
|
:root{
|
|
239
315
|
--basecolors-frame-contrast:#181c56;
|
|
@@ -245,8 +321,8 @@
|
|
|
245
321
|
--basecolors-frame-subdued:#d9dae8;
|
|
246
322
|
--basecolors-frame-tint:#f6f6f9;
|
|
247
323
|
--basecolors-shape-accent:#181c56;
|
|
248
|
-
--basecolors-shape-bicycle-contrast:#
|
|
249
|
-
--basecolors-shape-bicycle-default:#
|
|
324
|
+
--basecolors-shape-bicycle-contrast:#00dbb6;
|
|
325
|
+
--basecolors-shape-bicycle-default:#0d827e;
|
|
250
326
|
--basecolors-shape-bus-contrast:#ff6392;
|
|
251
327
|
--basecolors-shape-bus-default:#c5044e;
|
|
252
328
|
--basecolors-shape-cableway-contrast:#b482fb;
|
|
@@ -265,8 +341,8 @@
|
|
|
265
341
|
--basecolors-shape-maskalt:#ffffff;
|
|
266
342
|
--basecolors-shape-metro-contrast:#f08901;
|
|
267
343
|
--basecolors-shape-metro-default:#bf5826;
|
|
268
|
-
--basecolors-shape-mobility-contrast:#
|
|
269
|
-
--basecolors-shape-mobility-default:#
|
|
344
|
+
--basecolors-shape-mobility-contrast:#00dbb6;
|
|
345
|
+
--basecolors-shape-mobility-default:#0d827e;
|
|
270
346
|
--basecolors-shape-plane-contrast:#fbafea;
|
|
271
347
|
--basecolors-shape-plane-default:#800664;
|
|
272
348
|
--basecolors-shape-subdued:#626493;
|
|
@@ -311,8 +387,8 @@
|
|
|
311
387
|
--basecolors-frame-subdued:#2d2e3e;
|
|
312
388
|
--basecolors-frame-tint:#141527;
|
|
313
389
|
--basecolors-shape-accent:#e5e5e9;
|
|
314
|
-
--basecolors-shape-bicycle-contrast:#
|
|
315
|
-
--basecolors-shape-bicycle-default:#
|
|
390
|
+
--basecolors-shape-bicycle-contrast:#4db2a1;
|
|
391
|
+
--basecolors-shape-bicycle-default:#4db2a1;
|
|
316
392
|
--basecolors-shape-bus-contrast:#ef7398;
|
|
317
393
|
--basecolors-shape-bus-default:#ef7398;
|
|
318
394
|
--basecolors-shape-cableway-contrast:#b898e5;
|
|
@@ -331,8 +407,8 @@
|
|
|
331
407
|
--basecolors-shape-maskalt:#393a49;
|
|
332
408
|
--basecolors-shape-metro-contrast:#dd973c;
|
|
333
409
|
--basecolors-shape-metro-default:#dd973c;
|
|
334
|
-
--basecolors-shape-mobility-contrast:#
|
|
335
|
-
--basecolors-shape-mobility-default:#
|
|
410
|
+
--basecolors-shape-mobility-contrast:#4db2a1;
|
|
411
|
+
--basecolors-shape-mobility-default:#4db2a1;
|
|
336
412
|
--basecolors-shape-plane-contrast:#f2b8e5;
|
|
337
413
|
--basecolors-shape-plane-default:#f2b8e5;
|
|
338
414
|
--basecolors-shape-subdued:#b3b4bd;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/button",
|
|
3
|
-
"version": "3.
|
|
3
|
+
"version": "3.4.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/button.cjs.js",
|
|
6
6
|
"module": "dist/button.esm.js",
|
|
@@ -27,9 +27,9 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/loader": "^0.
|
|
31
|
-
"@entur/tokens": "^3.
|
|
32
|
-
"@entur/utils": "^0.
|
|
30
|
+
"@entur/loader": "^0.6.0",
|
|
31
|
+
"@entur/tokens": "^3.21.0",
|
|
32
|
+
"@entur/utils": "^0.13.0",
|
|
33
33
|
"classnames": "^2.5.1"
|
|
34
34
|
},
|
|
35
35
|
"devDependencies": {
|
|
@@ -45,5 +45,5 @@
|
|
|
45
45
|
"vite": "^7.1.3",
|
|
46
46
|
"vite-plugin-dts": "^4.5.4"
|
|
47
47
|
},
|
|
48
|
-
"gitHead": "
|
|
48
|
+
"gitHead": "3239ff1bcfdabbfef65f5d84577a626918ee2410"
|
|
49
49
|
}
|