@entur/datepicker 11.1.1 → 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,42 +1,12 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
- .eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control-wrapper {
4
- padding-right: 0rem;
5
- }
6
- .eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control__append {
7
- margin-left: auto;
8
- }
9
- .eds-datepicker__open-calendar-button {
10
- margin: 0rem 0.25rem 0rem 0.5rem;
11
- }
12
- .eds-datepicker__open-calendar-button.eds-icon-button {
13
- color: var(--components-datepicker-calendar-icon);
14
- }
15
- .eds-datepicker__open-calendar-button.eds-icon-button:hover {
16
- background-color: var(--components-button-iconbutton-standard-hover);
17
- }
18
- .eds-datepicker__open-calendar-button.eds-icon-button:focus-visible {
19
- outline: 2px solid #181c56;
20
- outline-color: var(--basecolors-stroke-focus-standard);
21
- outline-offset: 0;
22
- }
23
- .eds-datepicker__open-calendar-button.eds-icon-button:active {
24
- background-color: var(--components-button-iconbutton-standard-active);
25
- }
26
- .eds-datepicker__calendar-modal.eds-modal__content {
27
- padding: 0;
28
- padding: initial;
29
- width: inherit;
30
- background-color: transparent;
31
- background-color: initial;
32
- }
33
- /* DO NOT CHANGE!*/
34
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
35
3
  .eds-datefield {
36
4
  width: -moz-fit-content;
37
5
  width: fit-content;
6
+ display: block;
38
7
  }
39
8
  .eds-datefield .eds-form-control-wrapper {
9
+ display: inline-flex;
40
10
  padding-left: 1rem;
41
11
  padding-right: 1rem;
42
12
  width: -moz-fit-content;
@@ -215,10 +185,47 @@
215
185
  }
216
186
  /* DO NOT CHANGE!*/
217
187
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
188
+ .eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control-wrapper {
189
+ padding-right: 0rem;
190
+ }
191
+ .eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control__append {
192
+ margin-left: auto;
193
+ }
194
+ .eds-datepicker__open-calendar-button {
195
+ margin: 0rem 0.25rem 0rem 0.5rem;
196
+ }
197
+ .eds-datepicker__open-calendar-button.eds-icon-button {
198
+ color: var(--components-datepicker-calendar-icon);
199
+ }
200
+ .eds-datepicker__open-calendar-button.eds-icon-button:hover {
201
+ background-color: var(--components-button-iconbutton-standard-hover);
202
+ }
203
+ .eds-datepicker__open-calendar-button.eds-icon-button:focus-visible {
204
+ outline: 2px solid #181c56;
205
+ outline-color: var(--basecolors-stroke-focus-standard);
206
+ outline-offset: 0;
207
+ }
208
+ .eds-datepicker__open-calendar-button.eds-icon-button:active {
209
+ background-color: var(--components-button-iconbutton-standard-active);
210
+ }
211
+ .eds-datepicker__calendar-modal.eds-modal__content {
212
+ padding: 0;
213
+ padding: initial;
214
+ width: inherit;
215
+ background-color: transparent;
216
+ background-color: initial;
217
+ }
218
+ .eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
219
+ position: relative;
220
+ top: -0.5rem;
221
+ }
222
+ /* DO NOT CHANGE!*/
223
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
218
224
  .eds-timepicker {
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.1",
3
+ "version": "11.2.0",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/datepicker.esm.js",
@@ -29,7 +29,7 @@
29
29
  "dependencies": {
30
30
  "@entur/a11y": "^0.2.99",
31
31
  "@entur/button": "^3.3.12",
32
- "@entur/form": "^8.3.0",
32
+ "@entur/form": "^8.3.1",
33
33
  "@entur/icons": "^8.0.0",
34
34
  "@entur/modal": "^1.7.72",
35
35
  "@entur/tokens": "^3.19.1",
@@ -51,5 +51,5 @@
51
51
  "@react-types/datepicker": "^3.9.0",
52
52
  "dts-cli": "2.0.5"
53
53
  },
54
- "gitHead": "4833d9307ba9b2524458c08e8815674094cef97b"
54
+ "gitHead": "9321c2b2fadbd6cf15a17383b13f552f2902d188"
55
55
  }