@entur/button 3.3.1 → 3.3.2-beta.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.
Files changed (2) hide show
  1. package/dist/styles.css +83 -83
  2. package/package.json +4 -4
package/dist/styles.css CHANGED
@@ -1,5 +1,88 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
+ .eds-button-group .eds-button {
4
+ margin-right: 0.75rem;
5
+ margin-bottom: 0.75rem;
6
+ }
7
+ .eds-button-group .eds-button:only-child {
8
+ margin: 0;
9
+ }
10
+ /* DO NOT CHANGE!*/
11
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
12
+ .eds-floating-button {
13
+ align-items: center;
14
+ -webkit-appearance: none;
15
+ -moz-appearance: none;
16
+ appearance: none;
17
+ background: var(--components-button-floating-standard-default);
18
+ border: 0;
19
+ border-radius: 1.5rem;
20
+ box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
21
+ color: var(--components-button-floating-standard-text);
22
+ cursor: pointer;
23
+ display: flex;
24
+ font-family: inherit;
25
+ font-size: 0.875rem;
26
+ font-weight: 500;
27
+ justify-content: center;
28
+ min-height: 3rem;
29
+ margin: 0;
30
+ min-width: 3rem;
31
+ padding: 0 1rem;
32
+ position: relative;
33
+ z-index: 10;
34
+ }
35
+ .eds-floating-button--extended {
36
+ padding: 0 0.9375rem;
37
+ }
38
+ .eds-floating-button:hover {
39
+ background-color: var(--components-button-floating-standard-hover);
40
+ }
41
+ .eds-floating-button:active {
42
+ background-color: var(--components-button-floating-standard-active);
43
+ }
44
+ .eds-floating-button:focus-visible {
45
+ outline: 2px solid #181c56;
46
+ outline-color: var(--basecolors-stroke-focus-standard);
47
+ outline-offset: 0.125rem;
48
+ }
49
+ .eds-contrast .eds-floating-button:focus-visible {
50
+ outline-color: var(--basecolors-stroke-focus-contrast);
51
+ }
52
+ .eds-contrast .eds-floating-button {
53
+ background: var(--components-button-floating-contrast-default);
54
+ color: var(--components-button-floating-contrast-text);
55
+ box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
56
+ }
57
+ .eds-contrast .eds-floating-button:hover {
58
+ background-color: var(--components-button-floating-contrast-hover);
59
+ }
60
+ .eds-contrast .eds-floating-button:active {
61
+ background-color: var(--components-button-floating-contrast-active);
62
+ }
63
+ .eds-floating-button--small {
64
+ border-radius: 1rem;
65
+ height: 2rem;
66
+ padding: 0 0.5rem;
67
+ min-width: 2rem;
68
+ min-height: 2rem;
69
+ flex: 0 1 auto;
70
+ }
71
+ .eds-floating-button--small.eds-floating-button--extended {
72
+ padding: 0 0.6875rem;
73
+ }
74
+
75
+ .eds-floating-button--extended > * {
76
+ margin: 0 0.5em;
77
+ }
78
+ .eds-floating-button--extended > *:first-child {
79
+ margin-left: 0;
80
+ }
81
+ .eds-floating-button--extended > *:last-child {
82
+ margin-right: 0;
83
+ }
84
+ /* DO NOT CHANGE!*/
85
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
86
  a.eds-button {
4
87
  padding: 0.5rem 1rem;
5
88
  }
@@ -210,89 +293,6 @@ a.eds-button--size-large {
210
293
  }
211
294
  /* DO NOT CHANGE!*/
212
295
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
213
- .eds-button-group .eds-button {
214
- margin-right: 0.75rem;
215
- margin-bottom: 0.75rem;
216
- }
217
- .eds-button-group .eds-button:only-child {
218
- margin: 0;
219
- }
220
- /* DO NOT CHANGE!*/
221
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
222
- .eds-floating-button {
223
- align-items: center;
224
- -webkit-appearance: none;
225
- -moz-appearance: none;
226
- appearance: none;
227
- background: var(--components-button-floating-standard-default);
228
- border: 0;
229
- border-radius: 1.5rem;
230
- box-shadow: 0 0.0625rem 0.1875rem rgba(0, 0, 0, 0.25);
231
- color: var(--components-button-floating-standard-text);
232
- cursor: pointer;
233
- display: flex;
234
- font-family: inherit;
235
- font-size: 0.875rem;
236
- font-weight: 500;
237
- justify-content: center;
238
- min-height: 3rem;
239
- margin: 0;
240
- min-width: 3rem;
241
- padding: 0 1rem;
242
- position: relative;
243
- z-index: 10;
244
- }
245
- .eds-floating-button--extended {
246
- padding: 0 0.9375rem;
247
- }
248
- .eds-floating-button:hover {
249
- background-color: var(--components-button-floating-standard-hover);
250
- }
251
- .eds-floating-button:active {
252
- background-color: var(--components-button-floating-standard-active);
253
- }
254
- .eds-floating-button:focus-visible {
255
- outline: 2px solid #181c56;
256
- outline-color: var(--basecolors-stroke-focus-standard);
257
- outline-offset: 0.125rem;
258
- }
259
- .eds-contrast .eds-floating-button:focus-visible {
260
- outline-color: var(--basecolors-stroke-focus-contrast);
261
- }
262
- .eds-contrast .eds-floating-button {
263
- background: var(--components-button-floating-contrast-default);
264
- color: var(--components-button-floating-contrast-text);
265
- box-shadow: 0 0.0625rem 0.1875rem rgb(57, 61, 121);
266
- }
267
- .eds-contrast .eds-floating-button:hover {
268
- background-color: var(--components-button-floating-contrast-hover);
269
- }
270
- .eds-contrast .eds-floating-button:active {
271
- background-color: var(--components-button-floating-contrast-active);
272
- }
273
- .eds-floating-button--small {
274
- border-radius: 1rem;
275
- height: 2rem;
276
- padding: 0 0.5rem;
277
- min-width: 2rem;
278
- min-height: 2rem;
279
- flex: 0 1 auto;
280
- }
281
- .eds-floating-button--small.eds-floating-button--extended {
282
- padding: 0 0.6875rem;
283
- }
284
-
285
- .eds-floating-button--extended > * {
286
- margin: 0 0.5em;
287
- }
288
- .eds-floating-button--extended > *:first-child {
289
- margin-left: 0;
290
- }
291
- .eds-floating-button--extended > *:last-child {
292
- margin-right: 0;
293
- }
294
- /* DO NOT CHANGE!*/
295
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
296
296
  .eds-square-button {
297
297
  align-items: center;
298
298
  -webkit-appearance: none;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/button",
3
- "version": "3.3.1",
3
+ "version": "3.3.2-beta.0",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/button.esm.js",
@@ -27,13 +27,13 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/loader": "^0.5.18",
31
- "@entur/tokens": "^3.17.6",
30
+ "@entur/loader": "^0.5.19-beta.0",
31
+ "@entur/tokens": "^3.17.7-beta.0",
32
32
  "@entur/utils": "^0.12.2",
33
33
  "classnames": "^2.3.1"
34
34
  },
35
35
  "devDependencies": {
36
36
  "dts-cli": "2.0.5"
37
37
  },
38
- "gitHead": "d7798b768ab73d677162cebcf3edd58680dc626f"
38
+ "gitHead": "cd66907abaf7faaee1f9dcc5f063b3b153eaf7b2"
39
39
  }