@entur/button 2.10.2 → 2.10.3

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/CHANGELOG.md CHANGED
@@ -3,6 +3,10 @@
3
3
  All notable changes to this project will be documented in this file.
4
4
  See [Conventional Commits](https://conventionalcommits.org) for commit guidelines.
5
5
 
6
+ ## [2.10.3](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.10.2...@entur/button@2.10.3) (2022-08-31)
7
+
8
+ **Note:** Version bump only for package @entur/button
9
+
6
10
  ## [2.10.2](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.10.1...@entur/button@2.10.2) (2022-08-24)
7
11
 
8
12
  **Note:** Version bump only for package @entur/button
package/dist/styles.css CHANGED
@@ -2,6 +2,14 @@
2
2
  --eds-button: 1;
3
3
  }/* DO NOT CHANGE!*/
4
4
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
+ .eds-button-group .eds-button {
6
+ margin-right: 0.75rem;
7
+ margin-bottom: 0.75rem;
8
+ }
9
+ .eds-button-group .eds-button:only-child {
10
+ margin: 0;
11
+ }/* DO NOT CHANGE!*/
12
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
5
13
  a.eds-button {
6
14
  padding: 0.5rem 1rem;
7
15
  }
@@ -217,12 +225,58 @@ a.eds-button--size-large {
217
225
  color: #aeb7e2;
218
226
  }/* DO NOT CHANGE!*/
219
227
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
220
- .eds-button-group .eds-button {
221
- margin-right: 0.75rem;
222
- margin-bottom: 0.75rem;
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;
223
239
  }
224
- .eds-button-group .eds-button:only-child {
225
- margin: 0;
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: -webkit-fit-content;
278
+ width: -moz-fit-content;
279
+ width: fit-content;
226
280
  }/* DO NOT CHANGE!*/
227
281
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
228
282
  .eds-floating-button {
@@ -298,60 +352,6 @@ a.eds-button--size-large {
298
352
  margin-right: 0;
299
353
  }/* DO NOT CHANGE!*/
300
354
  /* 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: -webkit-fit-content;
351
- width: -moz-fit-content;
352
- width: fit-content;
353
- }/* DO NOT CHANGE!*/
354
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
355
355
  .eds-square-button {
356
356
  --icon-color: var(--primary-text-color);
357
357
  --icon-background: transparent;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/button",
3
- "version": "2.10.2",
3
+ "version": "2.10.3",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/button.esm.js",
@@ -27,12 +27,12 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/loader": "^0.4.10",
31
- "@entur/utils": "^0.4.4",
30
+ "@entur/loader": "^0.4.11",
31
+ "@entur/utils": "^0.4.5",
32
32
  "classnames": "^2.3.1"
33
33
  },
34
34
  "devDependencies": {
35
35
  "@entur/tokens": "^3.4.1"
36
36
  },
37
- "gitHead": "1dabe0c64e98a7de3a47a29fc24fd46e74dc0d7c"
37
+ "gitHead": "8aec781ef750306fdf0c4042edabfad5b33cbdb8"
38
38
  }