@entur/datepicker 11.0.4 → 11.0.5

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 +45 -45
  2. package/package.json +10 -10
package/dist/styles.css CHANGED
@@ -1,24 +1,5 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
- .eds-datefield {
4
- width: -moz-fit-content;
5
- width: fit-content;
6
- }
7
- .eds-datefield .eds-form-control-wrapper {
8
- padding-left: 1rem;
9
- padding-right: 1rem;
10
- width: -moz-fit-content;
11
- width: fit-content;
12
- }
13
- .eds-datefield .eds-form-control-wrapper--disabled:focus-within {
14
- border-color: transparent;
15
- box-shadow: none;
16
- }
17
- .eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
18
- background: none;
19
- }
20
- /* DO NOT CHANGE!*/
21
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
22
3
  .eds-datepicker__calendar,
23
4
  .eds-contrast .eds-datepicker__calendar {
24
5
  width: -moz-fit-content;
@@ -191,6 +172,25 @@
191
172
  }
192
173
  /* DO NOT CHANGE!*/
193
174
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
175
+ .eds-datefield {
176
+ width: -moz-fit-content;
177
+ width: fit-content;
178
+ }
179
+ .eds-datefield .eds-form-control-wrapper {
180
+ padding-left: 1rem;
181
+ padding-right: 1rem;
182
+ width: -moz-fit-content;
183
+ width: fit-content;
184
+ }
185
+ .eds-datefield .eds-form-control-wrapper--disabled:focus-within {
186
+ border-color: transparent;
187
+ box-shadow: none;
188
+ }
189
+ .eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
190
+ background: none;
191
+ }
192
+ /* DO NOT CHANGE!*/
193
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
194
194
  .eds-date-and-time-field__segment {
195
195
  margin-top: 1rem;
196
196
  padding: 0 2px;
@@ -262,32 +262,6 @@
262
262
  position: relative;
263
263
  top: -0.5rem;
264
264
  }
265
- .eds-simple-timepicker {
266
- width: 7rem;
267
- width: var(--input-width);
268
- --input-width: 7rem;
269
- }
270
- .eds-simple-timepicker--has-tooltip {
271
- --input-width: 9rem;
272
- }
273
- .eds-simple-timepicker--hide-clock {
274
- --input-width: 5rem;
275
- }
276
- .eds-simple-timepicker--hide-clock.eds-simple-timepicker--has-tooltip {
277
- --input-width: 7rem;
278
- }
279
- .eds-simple-timepicker--show-seconds {
280
- --input-width: 8.5rem;
281
- }
282
- .eds-simple-timepicker--show-seconds.eds-simple-timepicker--hide-clock {
283
- --input-width: 6.5rem;
284
- }
285
- .eds-simple-timepicker--show-seconds.eds-simple-timepicker--hide-clock.eds-simple-timepicker--has-tooltip {
286
- --input-width: 8.5rem;
287
- }
288
- .eds-simple-timepicker--show-seconds.eds-simple-timepicker--has-tooltip {
289
- --input-width: 10.5rem;
290
- }
291
265
  /* DO NOT CHANGE!*/
292
266
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
293
267
  /* DO NOT CHANGE!*/
@@ -324,3 +298,29 @@
324
298
  :root {
325
299
  --eds-datepicker: 1;
326
300
  }
301
+ .eds-simple-timepicker {
302
+ width: 7rem;
303
+ width: var(--input-width);
304
+ --input-width: 7rem;
305
+ }
306
+ .eds-simple-timepicker--has-tooltip {
307
+ --input-width: 9rem;
308
+ }
309
+ .eds-simple-timepicker--hide-clock {
310
+ --input-width: 5rem;
311
+ }
312
+ .eds-simple-timepicker--hide-clock.eds-simple-timepicker--has-tooltip {
313
+ --input-width: 7rem;
314
+ }
315
+ .eds-simple-timepicker--show-seconds {
316
+ --input-width: 8.5rem;
317
+ }
318
+ .eds-simple-timepicker--show-seconds.eds-simple-timepicker--hide-clock {
319
+ --input-width: 6.5rem;
320
+ }
321
+ .eds-simple-timepicker--show-seconds.eds-simple-timepicker--hide-clock.eds-simple-timepicker--has-tooltip {
322
+ --input-width: 8.5rem;
323
+ }
324
+ .eds-simple-timepicker--show-seconds.eds-simple-timepicker--has-tooltip {
325
+ --input-width: 10.5rem;
326
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "11.0.4",
3
+ "version": "11.0.5",
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.98",
31
- "@entur/button": "^3.3.8",
32
- "@entur/form": "^8.2.8",
33
- "@entur/icons": "^7.11.1",
34
- "@entur/modal": "^1.7.68",
35
- "@entur/tokens": "^3.19.0",
36
- "@entur/tooltip": "^5.2.8",
37
- "@entur/typography": "^1.9.8",
30
+ "@entur/a11y": "^0.2.99",
31
+ "@entur/button": "^3.3.9",
32
+ "@entur/form": "^8.2.9",
33
+ "@entur/icons": "^7.12.0",
34
+ "@entur/modal": "^1.7.69",
35
+ "@entur/tokens": "^3.19.1",
36
+ "@entur/tooltip": "^5.2.9",
37
+ "@entur/typography": "^1.9.9",
38
38
  "@entur/utils": "^0.12.3",
39
39
  "@floating-ui/react-dom": "^2.1.0",
40
40
  "@internationalized/date": "^3.4.0",
@@ -51,5 +51,5 @@
51
51
  "@react-types/datepicker": "^3.9.0",
52
52
  "dts-cli": "2.0.5"
53
53
  },
54
- "gitHead": "af6fc58f70a8e98b774cd4c19478392c802b071f"
54
+ "gitHead": "db5f805386b0e22e938d3d0fbc6d283088502658"
55
55
  }