@entur/datepicker 11.2.1-beta.5 → 11.2.1-beta.7

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 +82 -82
  2. package/package.json +7 -7
package/dist/styles.css CHANGED
@@ -1,37 +1,5 @@
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;
@@ -53,30 +21,6 @@
53
21
  }
54
22
  /* DO NOT CHANGE!*/
55
23
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
56
- .eds-date-and-time-field__segment {
57
- margin-top: 1rem;
58
- padding: 0 2px;
59
- font-feature-settings: "tnum";
60
- font-variant-numeric: tabular-nums;
61
- text-align: right;
62
- }
63
- .eds-date-and-time-field__segment--placeholder {
64
- color: var(--components-datepicker-datefield-standard-text-content);
65
- }
66
- .eds-date-and-time-field__segment--dot-separator {
67
- margin-left: -0.1rem;
68
- margin-right: -0.2rem;
69
- }
70
- .eds-date-and-time-field__segment:focus-visible {
71
- background-color: var(--components-button-iconbutton-standard-active);
72
- outline: transparent;
73
- border-radius: 0.0625rem;
74
- }
75
- .eds-date-and-time-field__segment[aria-valuemax="9999"] {
76
- min-width: 4ch;
77
- }
78
- /* DO NOT CHANGE!*/
79
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
80
24
  .eds-datepicker__calendar,
81
25
  .eds-contrast .eds-datepicker__calendar {
82
26
  width: -moz-fit-content;
@@ -217,6 +161,62 @@
217
161
  }
218
162
  /* DO NOT CHANGE!*/
219
163
  /* 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);
178
+ }
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;
183
+ }
184
+ .eds-datepicker__open-calendar-button.eds-icon-button:active {
185
+ background-color: var(--components-button-iconbutton-standard-active);
186
+ }
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;
193
+ }
194
+ /* DO NOT CHANGE!*/
195
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
196
+ .eds-date-and-time-field__segment {
197
+ margin-top: 1rem;
198
+ padding: 0 2px;
199
+ font-feature-settings: "tnum";
200
+ font-variant-numeric: tabular-nums;
201
+ text-align: right;
202
+ }
203
+ .eds-date-and-time-field__segment--placeholder {
204
+ color: var(--components-datepicker-datefield-standard-text-content);
205
+ }
206
+ .eds-date-and-time-field__segment--dot-separator {
207
+ margin-left: -0.1rem;
208
+ margin-right: -0.2rem;
209
+ }
210
+ .eds-date-and-time-field__segment:focus-visible {
211
+ background-color: var(--components-button-iconbutton-standard-active);
212
+ outline: transparent;
213
+ border-radius: 0.0625rem;
214
+ }
215
+ .eds-date-and-time-field__segment[aria-valuemax="9999"] {
216
+ min-width: 4ch;
217
+ }
218
+ /* DO NOT CHANGE!*/
219
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
220
220
  .eds-timepicker {
221
221
  width: -moz-fit-content;
222
222
  width: fit-content;
@@ -266,32 +266,6 @@
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
- }
295
269
  /* DO NOT CHANGE!*/
296
270
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
297
271
  /* DO NOT CHANGE!*/
@@ -328,3 +302,29 @@
328
302
  :root {
329
303
  --eds-datepicker: 1;
330
304
  }
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.5",
3
+ "version": "11.2.1-beta.7",
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.5",
32
- "@entur/form": "^8.3.2-beta.5",
31
+ "@entur/button": "^3.3.13-beta.7",
32
+ "@entur/form": "^8.3.2-beta.7",
33
33
  "@entur/icons": "^8.0.0",
34
- "@entur/modal": "^1.7.73-beta.5",
34
+ "@entur/modal": "^1.7.73-beta.7",
35
35
  "@entur/tokens": "^3.19.1",
36
- "@entur/tooltip": "^5.2.13-beta.5",
37
- "@entur/typography": "^1.10.0-beta.5",
36
+ "@entur/tooltip": "^5.2.13-beta.7",
37
+ "@entur/typography": "^1.10.0-beta.7",
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": "ba4ae77ebb013a60523baf66ff658b73fa7e0719"
54
+ "gitHead": "26b5f016229bb0115d5f31ce51e15eafd015a870"
55
55
  }