@entur/form 7.0.24 → 7.0.25

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 +219 -219
  2. package/package.json +6 -6
package/dist/styles.css CHANGED
@@ -1,3 +1,222 @@
1
+ .eds-fieldset {
2
+ margin: 0;
3
+ padding: 0;
4
+ border: 0;
5
+ }
6
+ /* DO NOT CHANGE!*/
7
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
8
+ .eds-checkbox__container {
9
+ display: flex;
10
+ align-items: center;
11
+ position: relative;
12
+ -webkit-appearance: none;
13
+ -moz-appearance: none;
14
+ appearance: none;
15
+ cursor: pointer;
16
+ -webkit-user-select: none;
17
+ -moz-user-select: none;
18
+ user-select: none;
19
+ width: -moz-fit-content;
20
+ width: fit-content;
21
+ margin: 0.5rem 0;
22
+ }
23
+ .eds-checkbox__container--reduced-click-area {
24
+ height: -moz-fit-content;
25
+ height: fit-content;
26
+ }
27
+ .eds-checkbox__container input {
28
+ position: absolute;
29
+ opacity: 0;
30
+ height: 0;
31
+ width: 0;
32
+ }
33
+ .eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
34
+ background-color: #181c56;
35
+ }
36
+ .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon {
37
+ visibility: visible;
38
+ }
39
+ .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon path {
40
+ stroke: #ffffff;
41
+ animation: stroke ease-in-out 0.2s 0.1s forwards;
42
+ }
43
+ .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon rect, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon rect {
44
+ fill: #ffffff;
45
+ }
46
+ .eds-checkbox__container input:checked + .eds-checkbox__icon--disabled, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled {
47
+ opacity: 0.5;
48
+ }
49
+ .eds-checkbox__container input:checked + .eds-checkbox__icon--disabled path {
50
+ opacity: 0.5;
51
+ }
52
+ .eds-checkbox__container input:checked + .eds-checkbox__icon--disabled rect {
53
+ opacity: 0.5;
54
+ }
55
+ .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled path {
56
+ opacity: 0.5;
57
+ }
58
+ .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled rect {
59
+ opacity: 0.5;
60
+ }
61
+ .eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
62
+ background-color: #aeb7e2;
63
+ }
64
+ .eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon path, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon path {
65
+ stroke: #181c56;
66
+ }
67
+ .eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon rect, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon rect {
68
+ fill: #181c56;
69
+ }
70
+ .eds-checkbox__container:hover input + .eds-checkbox__icon {
71
+ border-color: #292b6a;
72
+ background-color: #d1d4e3;
73
+ }
74
+ .eds-contrast .eds-checkbox__container:hover input + .eds-checkbox__icon {
75
+ border-color: #b6bee5;
76
+ background-color: rgba(174, 183, 226, 0.2);
77
+ }
78
+ .eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
79
+ .eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
80
+ border-color: transparent;
81
+ background-color: #54568c;
82
+ }
83
+ .eds-contrast .eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
84
+ .eds-contrast .eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
85
+ background-color: #b6bee5;
86
+ }
87
+ .eds-checkbox__container:active input + .eds-checkbox__icon {
88
+ border-color: #16194d;
89
+ }
90
+ .eds-contrast .eds-checkbox__container:active input + .eds-checkbox__icon {
91
+ border-color: #9da5cb;
92
+ }
93
+ .eds-checkbox__container:active input:checked + .eds-checkbox__icon,
94
+ .eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
95
+ background-color: #16194d;
96
+ }
97
+ .eds-contrast .eds-checkbox__container:active input:checked + .eds-checkbox__icon,
98
+ .eds-contrast .eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
99
+ background-color: #9da5cb;
100
+ }
101
+ .eds-checkbox__container:focus + .eds-checkbox__icon,
102
+ .eds-checkbox__container [focus-within] + .eds-checkbox__icon {
103
+ outline: none;
104
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
105
+ outline-offset: 0.125rem;
106
+ }
107
+ .eds-checkbox__container:focus + .eds-checkbox__icon,
108
+ .eds-checkbox__container :focus-within + .eds-checkbox__icon {
109
+ outline: none;
110
+ box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
111
+ outline-offset: 0.125rem;
112
+ }
113
+ .eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
114
+ .eds-contrast .eds-checkbox__container [focus-within] + .eds-checkbox__icon {
115
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
116
+ }
117
+ .eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
118
+ .eds-contrast .eds-checkbox__container :focus-within + .eds-checkbox__icon {
119
+ box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
120
+ }
121
+ .eds-checkbox--disabled {
122
+ pointer-events: none;
123
+ }
124
+ .eds-checkbox--disabled .eds-checkbox__label {
125
+ opacity: 0.5;
126
+ }
127
+ .eds-checkbox--disabled .eds-checkbox__icon {
128
+ opacity: 0.5;
129
+ }
130
+ .eds-checkbox__icon {
131
+ box-sizing: border-box;
132
+ display: inline-flex;
133
+ justify-content: center;
134
+ align-items: center;
135
+ position: relative;
136
+ margin-right: 1rem;
137
+ height: 1.25rem;
138
+ width: 1.25rem;
139
+ border: 0.125rem solid #181c56;
140
+ border-radius: 0.125rem;
141
+ background-color: transparent;
142
+ color: #ffffff;
143
+ transition: border-color 0.1s ease-in-out, background-color 0.1s ease-in-out;
144
+ }
145
+ .eds-checkbox__icon--reduced-click-area {
146
+ margin-right: 0;
147
+ }
148
+ .eds-contrast .eds-checkbox__icon {
149
+ border-color: #aeb7e2;
150
+ }
151
+ .eds-checkbox__icon .eds-checkbox-icon {
152
+ height: 1rem;
153
+ width: 1rem;
154
+ visibility: hidden;
155
+ }
156
+ .eds-checkbox__icon .eds-checkbox-icon path {
157
+ transform-origin: 50% 50%;
158
+ stroke-dasharray: 48;
159
+ stroke-dashoffset: 48;
160
+ stroke-width: 0.375rem;
161
+ }
162
+
163
+ @keyframes stroke {
164
+ 100% {
165
+ stroke-dashoffset: 0;
166
+ }
167
+ }
168
+ /* DO NOT CHANGE!*/
169
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
170
+ .eds-feedback-text {
171
+ display: flex;
172
+ align-items: center;
173
+ margin-top: 0.25rem;
174
+ }
175
+ .eds-feedback-text--info {
176
+ padding-left: calc(1rem + 0.125rem);
177
+ }
178
+ .eds-feedback-text__text {
179
+ color: #181c56;
180
+ }
181
+ .eds-contrast .eds-feedback-text__text {
182
+ color: #ffffff;
183
+ }
184
+
185
+ .eds-feedback-text__icon {
186
+ font-size: 1.5rem;
187
+ min-height: 1.5rem;
188
+ min-width: 1.5rem;
189
+ padding-right: 0.5rem;
190
+ position: relative;
191
+ top: -0.1rem;
192
+ }
193
+ .eds-feedback-text__icon--success {
194
+ color: #1a8e60;
195
+ }
196
+ .eds-contrast .eds-feedback-text__icon--success {
197
+ color: #5ac39a;
198
+ }
199
+ .eds-feedback-text__icon--error {
200
+ color: #d31b1b;
201
+ }
202
+ .eds-contrast .eds-feedback-text__icon--error {
203
+ color: #ff9494;
204
+ }
205
+ .eds-feedback-text__icon--info {
206
+ color: #0082b9;
207
+ }
208
+ .eds-contrast .eds-feedback-text__icon--info {
209
+ color: #64b3e7;
210
+ }
211
+ .eds-feedback-text__icon--warning {
212
+ color: #ffca28;
213
+ }
214
+ .eds-feedback-text__icon--warning circle {
215
+ fill: #181c56;
216
+ }
217
+ .eds-contrast .eds-feedback-text__icon--warning {
218
+ color: #ffe082;
219
+ }
1
220
  /* DO NOT CHANGE!*/
2
221
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
222
  .eds-form-control-wrapper {
@@ -242,225 +461,6 @@
242
461
  }
243
462
  /* DO NOT CHANGE!*/
244
463
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
245
- .eds-feedback-text {
246
- display: flex;
247
- align-items: center;
248
- margin-top: 0.25rem;
249
- }
250
- .eds-feedback-text--info {
251
- padding-left: calc(1rem + 0.125rem);
252
- }
253
- .eds-feedback-text__text {
254
- color: #181c56;
255
- }
256
- .eds-contrast .eds-feedback-text__text {
257
- color: #ffffff;
258
- }
259
-
260
- .eds-feedback-text__icon {
261
- font-size: 1.5rem;
262
- min-height: 1.5rem;
263
- min-width: 1.5rem;
264
- padding-right: 0.5rem;
265
- position: relative;
266
- top: -0.1rem;
267
- }
268
- .eds-feedback-text__icon--success {
269
- color: #1a8e60;
270
- }
271
- .eds-contrast .eds-feedback-text__icon--success {
272
- color: #5ac39a;
273
- }
274
- .eds-feedback-text__icon--error {
275
- color: #d31b1b;
276
- }
277
- .eds-contrast .eds-feedback-text__icon--error {
278
- color: #ff9494;
279
- }
280
- .eds-feedback-text__icon--info {
281
- color: #0082b9;
282
- }
283
- .eds-contrast .eds-feedback-text__icon--info {
284
- color: #64b3e7;
285
- }
286
- .eds-feedback-text__icon--warning {
287
- color: #ffca28;
288
- }
289
- .eds-feedback-text__icon--warning circle {
290
- fill: #181c56;
291
- }
292
- .eds-contrast .eds-feedback-text__icon--warning {
293
- color: #ffe082;
294
- }
295
- /* DO NOT CHANGE!*/
296
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
297
- .eds-checkbox__container {
298
- display: flex;
299
- align-items: center;
300
- position: relative;
301
- -webkit-appearance: none;
302
- -moz-appearance: none;
303
- appearance: none;
304
- cursor: pointer;
305
- -webkit-user-select: none;
306
- -moz-user-select: none;
307
- user-select: none;
308
- width: -moz-fit-content;
309
- width: fit-content;
310
- margin: 0.5rem 0;
311
- }
312
- .eds-checkbox__container--reduced-click-area {
313
- height: -moz-fit-content;
314
- height: fit-content;
315
- }
316
- .eds-checkbox__container input {
317
- position: absolute;
318
- opacity: 0;
319
- height: 0;
320
- width: 0;
321
- }
322
- .eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
323
- background-color: #181c56;
324
- }
325
- .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon {
326
- visibility: visible;
327
- }
328
- .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon path, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon path {
329
- stroke: #ffffff;
330
- animation: stroke ease-in-out 0.2s 0.1s forwards;
331
- }
332
- .eds-checkbox__container input:checked + .eds-checkbox__icon .eds-checkbox-icon rect, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon .eds-checkbox-icon rect {
333
- fill: #ffffff;
334
- }
335
- .eds-checkbox__container input:checked + .eds-checkbox__icon--disabled, .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled {
336
- opacity: 0.5;
337
- }
338
- .eds-checkbox__container input:checked + .eds-checkbox__icon--disabled path {
339
- opacity: 0.5;
340
- }
341
- .eds-checkbox__container input:checked + .eds-checkbox__icon--disabled rect {
342
- opacity: 0.5;
343
- }
344
- .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled path {
345
- opacity: 0.5;
346
- }
347
- .eds-checkbox__container input:indeterminate + .eds-checkbox__icon--disabled rect {
348
- opacity: 0.5;
349
- }
350
- .eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon {
351
- background-color: #aeb7e2;
352
- }
353
- .eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon path, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon path {
354
- stroke: #181c56;
355
- }
356
- .eds-contrast .eds-checkbox__container input:checked + .eds-checkbox__icon rect, .eds-contrast .eds-checkbox__container input:indeterminate + .eds-checkbox__icon rect {
357
- fill: #181c56;
358
- }
359
- .eds-checkbox__container:hover input + .eds-checkbox__icon {
360
- border-color: #292b6a;
361
- background-color: #d1d4e3;
362
- }
363
- .eds-contrast .eds-checkbox__container:hover input + .eds-checkbox__icon {
364
- border-color: #b6bee5;
365
- background-color: rgba(174, 183, 226, 0.2);
366
- }
367
- .eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
368
- .eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
369
- border-color: transparent;
370
- background-color: #54568c;
371
- }
372
- .eds-contrast .eds-checkbox__container:hover input:checked + .eds-checkbox__icon,
373
- .eds-contrast .eds-checkbox__container:hover input:indeterminate + .eds-checkbox__icon {
374
- background-color: #b6bee5;
375
- }
376
- .eds-checkbox__container:active input + .eds-checkbox__icon {
377
- border-color: #16194d;
378
- }
379
- .eds-contrast .eds-checkbox__container:active input + .eds-checkbox__icon {
380
- border-color: #9da5cb;
381
- }
382
- .eds-checkbox__container:active input:checked + .eds-checkbox__icon,
383
- .eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
384
- background-color: #16194d;
385
- }
386
- .eds-contrast .eds-checkbox__container:active input:checked + .eds-checkbox__icon,
387
- .eds-contrast .eds-checkbox__container:active input:indeterminate + .eds-checkbox__icon {
388
- background-color: #9da5cb;
389
- }
390
- .eds-checkbox__container:focus + .eds-checkbox__icon,
391
- .eds-checkbox__container [focus-within] + .eds-checkbox__icon {
392
- outline: none;
393
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
394
- outline-offset: 0.125rem;
395
- }
396
- .eds-checkbox__container:focus + .eds-checkbox__icon,
397
- .eds-checkbox__container :focus-within + .eds-checkbox__icon {
398
- outline: none;
399
- box-shadow: 0 0 0 0.125rem #ffffff, 0 0 0 0.25rem #181c56;
400
- outline-offset: 0.125rem;
401
- }
402
- .eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
403
- .eds-contrast .eds-checkbox__container [focus-within] + .eds-checkbox__icon {
404
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
405
- }
406
- .eds-contrast .eds-checkbox__container:focus + .eds-checkbox__icon,
407
- .eds-contrast .eds-checkbox__container :focus-within + .eds-checkbox__icon {
408
- box-shadow: 0 0 0 0.125rem #181c56, 0 0 0 0.25rem #ffffff;
409
- }
410
- .eds-checkbox--disabled {
411
- pointer-events: none;
412
- }
413
- .eds-checkbox--disabled .eds-checkbox__label {
414
- opacity: 0.5;
415
- }
416
- .eds-checkbox--disabled .eds-checkbox__icon {
417
- opacity: 0.5;
418
- }
419
- .eds-checkbox__icon {
420
- box-sizing: border-box;
421
- display: inline-flex;
422
- justify-content: center;
423
- align-items: center;
424
- position: relative;
425
- margin-right: 1rem;
426
- height: 1.25rem;
427
- width: 1.25rem;
428
- border: 0.125rem solid #181c56;
429
- border-radius: 0.125rem;
430
- background-color: transparent;
431
- color: #ffffff;
432
- transition: border-color 0.1s ease-in-out, background-color 0.1s ease-in-out;
433
- }
434
- .eds-checkbox__icon--reduced-click-area {
435
- margin-right: 0;
436
- }
437
- .eds-contrast .eds-checkbox__icon {
438
- border-color: #aeb7e2;
439
- }
440
- .eds-checkbox__icon .eds-checkbox-icon {
441
- height: 1rem;
442
- width: 1rem;
443
- visibility: hidden;
444
- }
445
- .eds-checkbox__icon .eds-checkbox-icon path {
446
- transform-origin: 50% 50%;
447
- stroke-dasharray: 48;
448
- stroke-dashoffset: 48;
449
- stroke-width: 0.375rem;
450
- }
451
-
452
- @keyframes stroke {
453
- 100% {
454
- stroke-dashoffset: 0;
455
- }
456
- }
457
- .eds-fieldset {
458
- margin: 0;
459
- padding: 0;
460
- border: 0;
461
- }
462
- /* DO NOT CHANGE!*/
463
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
464
464
  .eds-input-group {
465
465
  color: inherit;
466
466
  display: block;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/form",
3
- "version": "7.0.24",
3
+ "version": "7.0.25",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/form.esm.js",
@@ -27,12 +27,12 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/icons": "^6.11.1",
31
- "@entur/tokens": "^3.10.0",
32
- "@entur/tooltip": "^2.6.33",
33
- "@entur/typography": "^1.8.14",
30
+ "@entur/icons": "^6.11.2",
31
+ "@entur/tokens": "^3.11.0",
32
+ "@entur/tooltip": "^2.6.34",
33
+ "@entur/typography": "^1.8.15",
34
34
  "@entur/utils": "^0.9.5",
35
35
  "classnames": "^2.3.1"
36
36
  },
37
- "gitHead": "bfcfe0c1a78ad15d2e1a3fffe235ec21f02bae17"
37
+ "gitHead": "cd8bd67e916e644093ba1390154ccc96fa6f048f"
38
38
  }