@entur/datepicker 11.2.1-beta.11 → 11.2.1-beta.13

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 +67 -67
  2. package/package.json +7 -7
package/dist/styles.css CHANGED
@@ -1,23 +1,34 @@
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;
3
+ .eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control-wrapper {
4
+ padding-right: 0rem;
7
5
  }
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;
6
+ .eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control__append {
7
+ margin-left: auto;
14
8
  }
15
- .eds-datefield .eds-form-control-wrapper--disabled:focus-within {
16
- border-color: transparent;
17
- box-shadow: none;
9
+ .eds-datepicker__open-calendar-button {
10
+ margin: 0rem 0.25rem 0rem 0.5rem;
18
11
  }
19
- .eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
20
- background: none;
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;
21
32
  }
22
33
  /* DO NOT CHANGE!*/
23
34
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -161,35 +172,24 @@
161
172
  }
162
173
  /* DO NOT CHANGE!*/
163
174
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
164
- .eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control-wrapper {
165
- padding-right: 0rem;
166
- }
167
- .eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control__append {
168
- margin-left: auto;
169
- }
170
- .eds-datepicker__open-calendar-button {
171
- margin: 0rem 0.25rem 0rem 0.5rem;
172
- }
173
- .eds-datepicker__open-calendar-button.eds-icon-button {
174
- color: var(--components-datepicker-calendar-icon);
175
- }
176
- .eds-datepicker__open-calendar-button.eds-icon-button:hover {
177
- background-color: var(--components-button-iconbutton-standard-hover);
175
+ .eds-datefield {
176
+ width: -moz-fit-content;
177
+ width: fit-content;
178
+ display: block;
178
179
  }
179
- .eds-datepicker__open-calendar-button.eds-icon-button:focus-visible {
180
- outline: 2px solid #181c56;
181
- outline-color: var(--basecolors-stroke-focus-standard);
182
- outline-offset: 0;
180
+ .eds-datefield .eds-form-control-wrapper {
181
+ display: inline-flex;
182
+ padding-left: 1rem;
183
+ padding-right: 1rem;
184
+ width: -moz-fit-content;
185
+ width: fit-content;
183
186
  }
184
- .eds-datepicker__open-calendar-button.eds-icon-button:active {
185
- background-color: var(--components-button-iconbutton-standard-active);
187
+ .eds-datefield .eds-form-control-wrapper--disabled:focus-within {
188
+ border-color: transparent;
189
+ box-shadow: none;
186
190
  }
187
- .eds-datepicker__calendar-modal.eds-modal__content {
188
- padding: 0;
189
- padding: initial;
190
- width: inherit;
191
- background-color: transparent;
192
- background-color: initial;
191
+ .eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
192
+ background: none;
193
193
  }
194
194
  /* DO NOT CHANGE!*/
195
195
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -266,6 +266,32 @@
266
266
  position: relative;
267
267
  top: -0.5rem;
268
268
  }
269
+ .eds-simple-timepicker {
270
+ width: 7rem;
271
+ width: var(--input-width);
272
+ --input-width: 7rem;
273
+ }
274
+ .eds-simple-timepicker--has-tooltip {
275
+ --input-width: 9rem;
276
+ }
277
+ .eds-simple-timepicker--hide-clock {
278
+ --input-width: 5rem;
279
+ }
280
+ .eds-simple-timepicker--hide-clock.eds-simple-timepicker--has-tooltip {
281
+ --input-width: 7rem;
282
+ }
283
+ .eds-simple-timepicker--show-seconds {
284
+ --input-width: 8.5rem;
285
+ }
286
+ .eds-simple-timepicker--show-seconds.eds-simple-timepicker--hide-clock {
287
+ --input-width: 6.5rem;
288
+ }
289
+ .eds-simple-timepicker--show-seconds.eds-simple-timepicker--hide-clock.eds-simple-timepicker--has-tooltip {
290
+ --input-width: 8.5rem;
291
+ }
292
+ .eds-simple-timepicker--show-seconds.eds-simple-timepicker--has-tooltip {
293
+ --input-width: 10.5rem;
294
+ }
269
295
  /* DO NOT CHANGE!*/
270
296
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
271
297
  /* DO NOT CHANGE!*/
@@ -302,29 +328,3 @@
302
328
  :root {
303
329
  --eds-datepicker: 1;
304
330
  }
305
- .eds-simple-timepicker {
306
- width: 7rem;
307
- width: var(--input-width);
308
- --input-width: 7rem;
309
- }
310
- .eds-simple-timepicker--has-tooltip {
311
- --input-width: 9rem;
312
- }
313
- .eds-simple-timepicker--hide-clock {
314
- --input-width: 5rem;
315
- }
316
- .eds-simple-timepicker--hide-clock.eds-simple-timepicker--has-tooltip {
317
- --input-width: 7rem;
318
- }
319
- .eds-simple-timepicker--show-seconds {
320
- --input-width: 8.5rem;
321
- }
322
- .eds-simple-timepicker--show-seconds.eds-simple-timepicker--hide-clock {
323
- --input-width: 6.5rem;
324
- }
325
- .eds-simple-timepicker--show-seconds.eds-simple-timepicker--hide-clock.eds-simple-timepicker--has-tooltip {
326
- --input-width: 8.5rem;
327
- }
328
- .eds-simple-timepicker--show-seconds.eds-simple-timepicker--has-tooltip {
329
- --input-width: 10.5rem;
330
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "11.2.1-beta.11",
3
+ "version": "11.2.1-beta.13",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/datepicker.esm.js",
@@ -28,13 +28,13 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@entur/a11y": "^0.2.99",
31
- "@entur/button": "^3.3.13-beta.11",
32
- "@entur/form": "^8.3.2-beta.11",
31
+ "@entur/button": "^3.3.13-beta.13",
32
+ "@entur/form": "^8.3.2-beta.13",
33
33
  "@entur/icons": "^8.0.0",
34
- "@entur/modal": "^1.7.73-beta.11",
34
+ "@entur/modal": "^1.7.73-beta.13",
35
35
  "@entur/tokens": "^3.19.1",
36
- "@entur/tooltip": "^5.2.13-beta.11",
37
- "@entur/typography": "^1.10.0-beta.11",
36
+ "@entur/tooltip": "^5.2.13-beta.13",
37
+ "@entur/typography": "^1.10.0-beta.13",
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": "43d0a9514cbaeb6c8e319c4286bed9bd3ea21b22"
54
+ "gitHead": "c9b59ab0f79e2611a602951c89f4f2c8213e235f"
55
55
  }