@entur/datepicker 9.3.2 → 9.3.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.
Files changed (2) hide show
  1. package/dist/styles.css +69 -69
  2. package/package.json +10 -10
package/dist/styles.css CHANGED
@@ -1,20 +1,46 @@
1
- .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
2
- margin-left: 1rem;
1
+ /* DO NOT CHANGE!*/
2
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
+ .eds-datepicker {
4
+ position: relative;
5
+ width: -moz-fit-content;
6
+ width: fit-content;
7
+ height: -moz-fit-content;
8
+ height: fit-content;
3
9
  }
4
- .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
5
- border-color: transparent;
6
- box-shadow: none;
10
+ .eds-datepicker__open-calendar-button {
11
+ position: absolute;
12
+ right: 0.5rem;
13
+ top: 0.45rem;
7
14
  }
8
- .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
9
- border-color: transparent;
10
- box-shadow: none;
15
+ .eds-datepicker__open-calendar-button.eds-icon-button {
16
+ color: var(--components-datepicker-calendar-icon);
11
17
  }
12
- .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
13
- background: none;
18
+ .eds-datepicker__open-calendar-button.eds-icon-button:hover {
19
+ background-color: var(--components-button-iconbutton-standard-hover);
14
20
  }
15
- .eds-datefield .eds-form-control__append--tooltip {
16
- margin-top: 0.75rem;
17
- margin-right: -0.25rem;
21
+ .eds-datepicker__open-calendar-button.eds-icon-button:focus {
22
+ outline: 2px solid #181c56;
23
+ outline-color: var(--basecolors-stroke-focus-standard);
24
+ outline-offset: 0.125rem;
25
+ }
26
+ .eds-datepicker__open-calendar-button.eds-icon-button:active {
27
+ background-color: var(--components-button-iconbutton-standard-active);
28
+ }
29
+ .eds-datepicker__datefield {
30
+ padding-right: 4rem;
31
+ }
32
+ .eds-datepicker__datefield--disabled {
33
+ padding-right: 1rem;
34
+ }
35
+ .eds-datepicker__datefield__wrapper {
36
+ position: relative;
37
+ }
38
+ .eds-datepicker__calendar-modal.eds-modal__content {
39
+ padding: 0;
40
+ padding: initial;
41
+ width: inherit;
42
+ background-color: transparent;
43
+ background-color: initial;
18
44
  }
19
45
  /* DO NOT CHANGE!*/
20
46
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -186,49 +212,23 @@
186
212
  .eds-contrast .eds-datepicker__calendar__grid__cell--today {
187
213
  border-bottom: 2px solid var(--components-datepicker-calendar-stroke-today);
188
214
  }
189
- /* DO NOT CHANGE!*/
190
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
191
- .eds-datepicker {
192
- position: relative;
193
- width: -moz-fit-content;
194
- width: fit-content;
195
- height: -moz-fit-content;
196
- height: fit-content;
197
- }
198
- .eds-datepicker__open-calendar-button {
199
- position: absolute;
200
- right: 0.5rem;
201
- top: 0.45rem;
202
- }
203
- .eds-datepicker__open-calendar-button.eds-icon-button {
204
- color: var(--components-datepicker-calendar-icon);
205
- }
206
- .eds-datepicker__open-calendar-button.eds-icon-button:hover {
207
- background-color: var(--components-button-iconbutton-standard-hover);
208
- }
209
- .eds-datepicker__open-calendar-button.eds-icon-button:focus {
210
- outline: 2px solid #181c56;
211
- outline-color: var(--basecolors-stroke-focus-standard);
212
- outline-offset: 0.125rem;
213
- }
214
- .eds-datepicker__open-calendar-button.eds-icon-button:active {
215
- background-color: var(--components-button-iconbutton-standard-active);
215
+ .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
216
+ margin-left: 1rem;
216
217
  }
217
- .eds-datepicker__datefield {
218
- padding-right: 4rem;
218
+ .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
219
+ border-color: transparent;
220
+ box-shadow: none;
219
221
  }
220
- .eds-datepicker__datefield--disabled {
221
- padding-right: 1rem;
222
+ .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
223
+ border-color: transparent;
224
+ box-shadow: none;
222
225
  }
223
- .eds-datepicker__datefield__wrapper {
224
- position: relative;
226
+ .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
227
+ background: none;
225
228
  }
226
- .eds-datepicker__calendar-modal.eds-modal__content {
227
- padding: 0;
228
- padding: initial;
229
- width: inherit;
230
- background-color: transparent;
231
- background-color: initial;
229
+ .eds-datefield .eds-form-control__append--tooltip {
230
+ margin-top: 0.75rem;
231
+ margin-right: -0.25rem;
232
232
  }
233
233
  /* DO NOT CHANGE!*/
234
234
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -291,6 +291,23 @@
291
291
  position: relative;
292
292
  top: -0.5rem;
293
293
  }
294
+ .eds-simple-timepicker {
295
+ --input-width: 7rem;
296
+ width: var(--input-width);
297
+ }
298
+ .eds-simple-timepicker--hide-clock {
299
+ --input-width: 5rem;
300
+ }
301
+ .eds-simple-timepicker--show-seconds {
302
+ --input-width: 8.5rem;
303
+ }
304
+ .eds-simple-timepicker--show-seconds.eds-simple-timepicker--hide-clock {
305
+ --input-width: 6.5rem;
306
+ }
307
+ .eds-simple-timepicker .eds-form-control__append--tooltip {
308
+ margin-top: -0.2rem;
309
+ margin-left: -0.5rem;
310
+ }
294
311
  @import "~@entur/tokens/dist/primitive.css";
295
312
  /* DO NOT CHANGE!*/
296
313
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -456,20 +473,3 @@
456
473
  :root {
457
474
  --eds-datepicker: 1;
458
475
  }
459
- .eds-simple-timepicker {
460
- --input-width: 7rem;
461
- width: var(--input-width);
462
- }
463
- .eds-simple-timepicker--hide-clock {
464
- --input-width: 5rem;
465
- }
466
- .eds-simple-timepicker--show-seconds {
467
- --input-width: 8.5rem;
468
- }
469
- .eds-simple-timepicker--show-seconds.eds-simple-timepicker--hide-clock {
470
- --input-width: 6.5rem;
471
- }
472
- .eds-simple-timepicker .eds-form-control__append--tooltip {
473
- margin-top: -0.2rem;
474
- margin-left: -0.5rem;
475
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "9.3.2",
3
+ "version": "9.3.3",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/datepicker.esm.js",
@@ -27,14 +27,14 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/a11y": "^0.2.77",
31
- "@entur/button": "^3.2.13",
32
- "@entur/form": "^7.0.41",
33
- "@entur/icons": "^6.15.2",
34
- "@entur/modal": "^1.7.34",
35
- "@entur/tokens": "^3.13.1",
36
- "@entur/tooltip": "^2.6.50",
37
- "@entur/typography": "^1.8.26",
30
+ "@entur/a11y": "^0.2.78",
31
+ "@entur/button": "^3.2.14",
32
+ "@entur/form": "^7.0.42",
33
+ "@entur/icons": "^6.15.3",
34
+ "@entur/modal": "^1.7.35",
35
+ "@entur/tokens": "^3.13.2",
36
+ "@entur/tooltip": "^2.6.51",
37
+ "@entur/typography": "^1.8.27",
38
38
  "@entur/utils": "^0.10.0",
39
39
  "@floating-ui/react-dom": "^1.0.0",
40
40
  "@internationalized/date": "^3.4.0",
@@ -48,5 +48,5 @@
48
48
  "classnames": "^2.3.1",
49
49
  "react-focus-lock": "^2.9.1"
50
50
  },
51
- "gitHead": "c36e1121738a702fe5ed92cd3f26636d7a4ef026"
51
+ "gitHead": "427e66ba68d33b8d1839714a48517b52afd5c2db"
52
52
  }