@entur/datepicker 9.3.4 → 9.4.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/dist/styles.css CHANGED
@@ -142,24 +142,6 @@
142
142
  .eds-contrast .eds-datepicker__calendar__grid__cell--today {
143
143
  border-bottom: 2px solid var(--components-datepicker-calendar-stroke-today);
144
144
  }
145
- .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
146
- margin-left: 1rem;
147
- }
148
- .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
149
- border-color: transparent;
150
- box-shadow: none;
151
- }
152
- .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
153
- border-color: transparent;
154
- box-shadow: none;
155
- }
156
- .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
157
- background: none;
158
- }
159
- .eds-datefield .eds-form-control__append--tooltip {
160
- margin-top: 0.75rem;
161
- margin-right: -0.25rem;
162
- }
163
145
  /* DO NOT CHANGE!*/
164
146
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
165
147
  [dir="ltr"] .eds-date-and-time-field__segment {
@@ -186,6 +168,24 @@
186
168
  outline: transparent;
187
169
  border-radius: 0.0625rem;
188
170
  }
171
+ .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
172
+ margin-left: 1rem;
173
+ }
174
+ .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
175
+ border-color: transparent;
176
+ box-shadow: none;
177
+ }
178
+ .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
179
+ border-color: transparent;
180
+ box-shadow: none;
181
+ }
182
+ .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
183
+ background: none;
184
+ }
185
+ .eds-datefield .eds-form-control__append--tooltip {
186
+ margin-top: 0.75rem;
187
+ margin-right: -0.25rem;
188
+ }
189
189
  /* DO NOT CHANGE!*/
190
190
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
191
191
  .eds-datepicker {
@@ -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
  /* DO NOT CHANGE!*/
295
312
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
296
313
  /* DO NOT CHANGE!*/
@@ -327,20 +344,3 @@
327
344
  :root {
328
345
  --eds-datepicker: 1;
329
346
  }
330
- .eds-simple-timepicker {
331
- --input-width: 7rem;
332
- width: var(--input-width);
333
- }
334
- .eds-simple-timepicker--hide-clock {
335
- --input-width: 5rem;
336
- }
337
- .eds-simple-timepicker--show-seconds {
338
- --input-width: 8.5rem;
339
- }
340
- .eds-simple-timepicker--show-seconds.eds-simple-timepicker--hide-clock {
341
- --input-width: 6.5rem;
342
- }
343
- .eds-simple-timepicker .eds-form-control__append--tooltip {
344
- margin-top: -0.2rem;
345
- margin-left: -0.5rem;
346
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "9.3.4",
3
+ "version": "9.4.1",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/datepicker.esm.js",
@@ -27,15 +27,15 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/a11y": "^0.2.79",
31
- "@entur/button": "^3.2.15",
32
- "@entur/form": "^7.0.43",
33
- "@entur/icons": "^6.15.4",
34
- "@entur/modal": "^1.7.36",
35
- "@entur/tokens": "^3.13.3",
36
- "@entur/tooltip": "^2.6.52",
37
- "@entur/typography": "^1.8.28",
38
- "@entur/utils": "^0.10.1",
30
+ "@entur/a11y": "^0.2.81",
31
+ "@entur/button": "^3.2.17",
32
+ "@entur/form": "^7.1.1",
33
+ "@entur/icons": "^6.15.6",
34
+ "@entur/modal": "^1.7.38",
35
+ "@entur/tokens": "^3.13.4",
36
+ "@entur/tooltip": "^2.7.1",
37
+ "@entur/typography": "^1.8.30",
38
+ "@entur/utils": "^0.11.0",
39
39
  "@floating-ui/react-dom": "^1.0.0",
40
40
  "@internationalized/date": "^3.4.0",
41
41
  "@react-aria/button": "^3.6.4",
@@ -48,5 +48,5 @@
48
48
  "classnames": "^2.3.1",
49
49
  "react-focus-lock": "^2.9.1"
50
50
  },
51
- "gitHead": "89d5de6d31962e236a5c147e129bf915576166b4"
51
+ "gitHead": "af2884729bb414d54d6cf9e9a28b2b6f7c74af74"
52
52
  }