@entur/button 2.10.0 → 2.10.1
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 +4 -0
- package/dist/styles.css +54 -54
- package/package.json +4 -4
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.1](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.10.0...@entur/button@2.10.1) (2022-08-09)
|
|
7
|
+
|
|
8
|
+
**Note:** Version bump only for package @entur/button
|
|
9
|
+
|
|
6
10
|
# [2.10.0](https://bitbucket.org/enturas/design-system/compare/@entur/button@2.9.0...@entur/button@2.10.0) (2022-06-28)
|
|
7
11
|
|
|
8
12
|
### Features
|
package/dist/styles.css
CHANGED
|
@@ -225,60 +225,6 @@ a.eds-button--size-large {
|
|
|
225
225
|
margin: 0;
|
|
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: -webkit-fit-content;
|
|
278
|
-
width: -moz-fit-content;
|
|
279
|
-
width: fit-content;
|
|
280
|
-
}/* DO NOT CHANGE!*/
|
|
281
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
282
228
|
.eds-floating-button {
|
|
283
229
|
align-items: center;
|
|
284
230
|
-webkit-appearance: none;
|
|
@@ -352,6 +298,60 @@ a.eds-button--size-large {
|
|
|
352
298
|
margin-right: 0;
|
|
353
299
|
}/* DO NOT CHANGE!*/
|
|
354
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: -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.
|
|
3
|
+
"version": "2.10.1",
|
|
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.
|
|
30
|
+
"@entur/loader": "^0.4.9",
|
|
31
31
|
"@entur/utils": "^0.4.3",
|
|
32
32
|
"classnames": "^2.3.1"
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
|
-
"@entur/tokens": "^3.
|
|
35
|
+
"@entur/tokens": "^3.4.0"
|
|
36
36
|
},
|
|
37
|
-
"gitHead": "
|
|
37
|
+
"gitHead": "82b89b2f52c8530f8d930edfdc507c809ec85f7c"
|
|
38
38
|
}
|