@entur/button 3.0.9 → 3.0.10
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 +54 -54
- package/package.json +4 -4
package/dist/styles.css
CHANGED
|
@@ -228,60 +228,6 @@ a.eds-button--size-large {
|
|
|
228
228
|
}
|
|
229
229
|
/* DO NOT CHANGE!*/
|
|
230
230
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
231
|
-
.eds-icon-button {
|
|
232
|
-
border: 0.0625rem solid transparent;
|
|
233
|
-
border-radius: 0.25rem;
|
|
234
|
-
background: none;
|
|
235
|
-
color: inherit;
|
|
236
|
-
cursor: pointer;
|
|
237
|
-
display: flex;
|
|
238
|
-
justify-content: center;
|
|
239
|
-
align-items: center;
|
|
240
|
-
font-size: 1rem;
|
|
241
|
-
padding: 0.5rem;
|
|
242
|
-
}
|
|
243
|
-
.eds-contrast .eds-icon-button > .eds-loading-dots .eds-loading-dots__dot {
|
|
244
|
-
background-color: #ffffff;
|
|
245
|
-
}
|
|
246
|
-
.eds-icon-button--size-small {
|
|
247
|
-
height: 1.5rem;
|
|
248
|
-
width: 1.5rem;
|
|
249
|
-
padding: 0;
|
|
250
|
-
}
|
|
251
|
-
.eds-icon-button--size-medium {
|
|
252
|
-
height: 2rem;
|
|
253
|
-
width: 2rem;
|
|
254
|
-
}
|
|
255
|
-
.eds-icon-button:hover {
|
|
256
|
-
background-color: #d1d4e3;
|
|
257
|
-
}
|
|
258
|
-
.eds-contrast .eds-icon-button:hover {
|
|
259
|
-
background-color: #393d79;
|
|
260
|
-
}
|
|
261
|
-
.eds-icon-button:active {
|
|
262
|
-
background: #babbcf;
|
|
263
|
-
}
|
|
264
|
-
.eds-contrast .eds-icon-button:active {
|
|
265
|
-
background: #292b6a;
|
|
266
|
-
}
|
|
267
|
-
.eds-icon-button:focus {
|
|
268
|
-
border: 0.0625rem solid #181c56;
|
|
269
|
-
outline: none;
|
|
270
|
-
}
|
|
271
|
-
.eds-contrast .eds-icon-button:focus {
|
|
272
|
-
border: 0.0625rem solid #ffffff;
|
|
273
|
-
}
|
|
274
|
-
.eds-icon-button--disabled {
|
|
275
|
-
opacity: 0.5;
|
|
276
|
-
pointer-events: none;
|
|
277
|
-
}
|
|
278
|
-
.eds-icon-button--disabled__wrapper {
|
|
279
|
-
cursor: not-allowed;
|
|
280
|
-
width: -moz-fit-content;
|
|
281
|
-
width: fit-content;
|
|
282
|
-
}
|
|
283
|
-
/* DO NOT CHANGE!*/
|
|
284
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
285
231
|
.eds-floating-button {
|
|
286
232
|
align-items: center;
|
|
287
233
|
-webkit-appearance: none;
|
|
@@ -356,6 +302,60 @@ a.eds-button--size-large {
|
|
|
356
302
|
}
|
|
357
303
|
/* DO NOT CHANGE!*/
|
|
358
304
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
305
|
+
.eds-icon-button {
|
|
306
|
+
border: 0.0625rem solid transparent;
|
|
307
|
+
border-radius: 0.25rem;
|
|
308
|
+
background: none;
|
|
309
|
+
color: inherit;
|
|
310
|
+
cursor: pointer;
|
|
311
|
+
display: flex;
|
|
312
|
+
justify-content: center;
|
|
313
|
+
align-items: center;
|
|
314
|
+
font-size: 1rem;
|
|
315
|
+
padding: 0.5rem;
|
|
316
|
+
}
|
|
317
|
+
.eds-contrast .eds-icon-button > .eds-loading-dots .eds-loading-dots__dot {
|
|
318
|
+
background-color: #ffffff;
|
|
319
|
+
}
|
|
320
|
+
.eds-icon-button--size-small {
|
|
321
|
+
height: 1.5rem;
|
|
322
|
+
width: 1.5rem;
|
|
323
|
+
padding: 0;
|
|
324
|
+
}
|
|
325
|
+
.eds-icon-button--size-medium {
|
|
326
|
+
height: 2rem;
|
|
327
|
+
width: 2rem;
|
|
328
|
+
}
|
|
329
|
+
.eds-icon-button:hover {
|
|
330
|
+
background-color: #d1d4e3;
|
|
331
|
+
}
|
|
332
|
+
.eds-contrast .eds-icon-button:hover {
|
|
333
|
+
background-color: #393d79;
|
|
334
|
+
}
|
|
335
|
+
.eds-icon-button:active {
|
|
336
|
+
background: #babbcf;
|
|
337
|
+
}
|
|
338
|
+
.eds-contrast .eds-icon-button:active {
|
|
339
|
+
background: #292b6a;
|
|
340
|
+
}
|
|
341
|
+
.eds-icon-button:focus {
|
|
342
|
+
border: 0.0625rem solid #181c56;
|
|
343
|
+
outline: none;
|
|
344
|
+
}
|
|
345
|
+
.eds-contrast .eds-icon-button:focus {
|
|
346
|
+
border: 0.0625rem solid #ffffff;
|
|
347
|
+
}
|
|
348
|
+
.eds-icon-button--disabled {
|
|
349
|
+
opacity: 0.5;
|
|
350
|
+
pointer-events: none;
|
|
351
|
+
}
|
|
352
|
+
.eds-icon-button--disabled__wrapper {
|
|
353
|
+
cursor: not-allowed;
|
|
354
|
+
width: -moz-fit-content;
|
|
355
|
+
width: fit-content;
|
|
356
|
+
}
|
|
357
|
+
/* DO NOT CHANGE!*/
|
|
358
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
359
359
|
.eds-square-button {
|
|
360
360
|
--icon-color: var(--primary-text-color);
|
|
361
361
|
--icon-background: transparent;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/button",
|
|
3
|
-
"version": "3.0.
|
|
3
|
+
"version": "3.0.10",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/button.esm.js",
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/loader": "^0.4.
|
|
30
|
+
"@entur/loader": "^0.4.33",
|
|
31
31
|
"@entur/tokens": "^3.10.0",
|
|
32
|
-
"@entur/utils": "^0.9.
|
|
32
|
+
"@entur/utils": "^0.9.2",
|
|
33
33
|
"classnames": "^2.3.1"
|
|
34
34
|
},
|
|
35
|
-
"gitHead": "
|
|
35
|
+
"gitHead": "a7f288d524c9ef12f3b78ea35b864c879c0f1cc3"
|
|
36
36
|
}
|