@entur/button 2.10.12 → 2.10.13

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.
Files changed (2) hide show
  1. package/dist/styles.css +53 -53
  2. package/package.json +5 -5
package/dist/styles.css CHANGED
@@ -225,59 +225,6 @@ a.eds-button--size-large {
225
225
  color: #aeb7e2;
226
226
  }/* DO NOT CHANGE!*/
227
227
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
228
- .eds-icon-button {
229
- border: 0.0625rem solid transparent;
230
- border-radius: 0.25rem;
231
- background: none;
232
- color: inherit;
233
- cursor: pointer;
234
- display: flex;
235
- justify-content: center;
236
- align-items: center;
237
- font-size: 1rem;
238
- padding: 0.5rem;
239
- }
240
- .eds-contrast .eds-icon-button > .eds-loading-dots .eds-loading-dots__dot {
241
- background-color: #ffffff;
242
- }
243
- .eds-icon-button--size-small {
244
- height: 1.5rem;
245
- width: 1.5rem;
246
- padding: 0;
247
- }
248
- .eds-icon-button--size-medium {
249
- height: 2rem;
250
- width: 2rem;
251
- }
252
- .eds-icon-button:hover {
253
- background-color: #d1d4e3;
254
- }
255
- .eds-contrast .eds-icon-button:hover {
256
- background-color: #393d79;
257
- }
258
- .eds-icon-button:active {
259
- background: #babbcf;
260
- }
261
- .eds-contrast .eds-icon-button:active {
262
- background: #292b6a;
263
- }
264
- .eds-icon-button:focus {
265
- border: 0.0625rem solid #181c56;
266
- outline: none;
267
- }
268
- .eds-contrast .eds-icon-button:focus {
269
- border: 0.0625rem solid #ffffff;
270
- }
271
- .eds-icon-button--disabled {
272
- opacity: 0.5;
273
- pointer-events: none;
274
- }
275
- .eds-icon-button--disabled__wrapper {
276
- cursor: not-allowed;
277
- width: -moz-fit-content;
278
- width: fit-content;
279
- }/* DO NOT CHANGE!*/
280
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
281
228
  .eds-floating-button {
282
229
  align-items: center;
283
230
  -webkit-appearance: none;
@@ -351,6 +298,59 @@ a.eds-button--size-large {
351
298
  margin-right: 0;
352
299
  }/* DO NOT CHANGE!*/
353
300
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
301
+ .eds-icon-button {
302
+ border: 0.0625rem solid transparent;
303
+ border-radius: 0.25rem;
304
+ background: none;
305
+ color: inherit;
306
+ cursor: pointer;
307
+ display: flex;
308
+ justify-content: center;
309
+ align-items: center;
310
+ font-size: 1rem;
311
+ padding: 0.5rem;
312
+ }
313
+ .eds-contrast .eds-icon-button > .eds-loading-dots .eds-loading-dots__dot {
314
+ background-color: #ffffff;
315
+ }
316
+ .eds-icon-button--size-small {
317
+ height: 1.5rem;
318
+ width: 1.5rem;
319
+ padding: 0;
320
+ }
321
+ .eds-icon-button--size-medium {
322
+ height: 2rem;
323
+ width: 2rem;
324
+ }
325
+ .eds-icon-button:hover {
326
+ background-color: #d1d4e3;
327
+ }
328
+ .eds-contrast .eds-icon-button:hover {
329
+ background-color: #393d79;
330
+ }
331
+ .eds-icon-button:active {
332
+ background: #babbcf;
333
+ }
334
+ .eds-contrast .eds-icon-button:active {
335
+ background: #292b6a;
336
+ }
337
+ .eds-icon-button:focus {
338
+ border: 0.0625rem solid #181c56;
339
+ outline: none;
340
+ }
341
+ .eds-contrast .eds-icon-button:focus {
342
+ border: 0.0625rem solid #ffffff;
343
+ }
344
+ .eds-icon-button--disabled {
345
+ opacity: 0.5;
346
+ pointer-events: none;
347
+ }
348
+ .eds-icon-button--disabled__wrapper {
349
+ cursor: not-allowed;
350
+ width: -moz-fit-content;
351
+ width: fit-content;
352
+ }/* DO NOT CHANGE!*/
353
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
354
354
  .eds-square-button {
355
355
  --icon-color: var(--primary-text-color);
356
356
  --icon-background: transparent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/button",
3
- "version": "2.10.12",
3
+ "version": "2.10.13",
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.20",
31
- "@entur/tokens": "^3.6.0",
32
- "@entur/utils": "^0.5.3",
30
+ "@entur/loader": "^0.4.21",
31
+ "@entur/tokens": "^3.7.0",
32
+ "@entur/utils": "^0.5.4",
33
33
  "classnames": "^2.3.1"
34
34
  },
35
- "gitHead": "be56a9cea51aa1cf026d38174750f2a52e67a463"
35
+ "gitHead": "0488198c40c8c610f981c97c8a755a9a435044dd"
36
36
  }