@entur/datepicker 11.1.2 → 11.2.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.
package/dist/styles.css CHANGED
@@ -1,5 +1,26 @@
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
+ display: block;
7
+ }
8
+ .eds-datefield .eds-form-control-wrapper {
9
+ display: inline-flex;
10
+ padding-left: 1rem;
11
+ padding-right: 1rem;
12
+ width: -moz-fit-content;
13
+ width: fit-content;
14
+ }
15
+ .eds-datefield .eds-form-control-wrapper--disabled:focus-within {
16
+ border-color: transparent;
17
+ box-shadow: none;
18
+ }
19
+ .eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
20
+ background: none;
21
+ }
22
+ /* DO NOT CHANGE!*/
23
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
24
  .eds-datepicker__calendar,
4
25
  .eds-contrast .eds-datepicker__calendar {
5
26
  width: -moz-fit-content;
@@ -194,24 +215,9 @@
194
215
  background-color: transparent;
195
216
  background-color: initial;
196
217
  }
197
- /* DO NOT CHANGE!*/
198
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
199
- .eds-datefield {
200
- width: -moz-fit-content;
201
- width: fit-content;
202
- }
203
- .eds-datefield .eds-form-control-wrapper {
204
- padding-left: 1rem;
205
- padding-right: 1rem;
206
- width: -moz-fit-content;
207
- width: fit-content;
208
- }
209
- .eds-datefield .eds-form-control-wrapper--disabled:focus-within {
210
- border-color: transparent;
211
- box-shadow: none;
212
- }
213
- .eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
214
- background: none;
218
+ .eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
219
+ position: relative;
220
+ top: -0.5rem;
215
221
  }
216
222
  /* DO NOT CHANGE!*/
217
223
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -219,6 +225,7 @@
219
225
  width: -moz-fit-content;
220
226
  width: fit-content;
221
227
  justify-content: center;
228
+ display: block;
222
229
  }
223
230
  .eds-timepicker--disabled {
224
231
  padding-left: 1rem;
@@ -232,6 +239,7 @@
232
239
  }
233
240
  .eds-timepicker .eds-form-control-wrapper {
234
241
  padding: 0rem;
242
+ display: inline-flex;
235
243
  }
236
244
  .eds-timepicker__arrowbutton {
237
245
  margin: 0 0.25rem;
@@ -258,10 +266,6 @@
258
266
  .eds-timepicker .eds-icon-button--disabled__wrapper {
259
267
  display: none;
260
268
  }
261
- .eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
262
- position: relative;
263
- top: -0.5rem;
264
- }
265
269
  .eds-simple-timepicker {
266
270
  width: 7rem;
267
271
  width: var(--input-width);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "11.1.2",
3
+ "version": "11.2.0",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/datepicker.esm.js",
@@ -51,5 +51,5 @@
51
51
  "@react-types/datepicker": "^3.9.0",
52
52
  "dts-cli": "2.0.5"
53
53
  },
54
- "gitHead": "f332d7ab2cffcbf373183520965f838daf64e8c5"
54
+ "gitHead": "9321c2b2fadbd6cf15a17383b13f552f2902d188"
55
55
  }