@entur/datepicker 11.2.1-beta.10 → 11.2.1-beta.12

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 +103 -103
  2. package/package.json +7 -7
package/dist/styles.css CHANGED
@@ -1,5 +1,82 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
+ .eds-date-and-time-field__segment {
4
+ margin-top: 1rem;
5
+ padding: 0 2px;
6
+ font-feature-settings: "tnum";
7
+ font-variant-numeric: tabular-nums;
8
+ text-align: right;
9
+ }
10
+ .eds-date-and-time-field__segment--placeholder {
11
+ color: var(--components-datepicker-datefield-standard-text-content);
12
+ }
13
+ .eds-date-and-time-field__segment--dot-separator {
14
+ margin-left: -0.1rem;
15
+ margin-right: -0.2rem;
16
+ }
17
+ .eds-date-and-time-field__segment:focus-visible {
18
+ background-color: var(--components-button-iconbutton-standard-active);
19
+ outline: transparent;
20
+ border-radius: 0.0625rem;
21
+ }
22
+ .eds-date-and-time-field__segment[aria-valuemax="9999"] {
23
+ min-width: 4ch;
24
+ }
25
+ /* DO NOT CHANGE!*/
26
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
27
+ .eds-datefield {
28
+ width: -moz-fit-content;
29
+ width: fit-content;
30
+ display: block;
31
+ }
32
+ .eds-datefield .eds-form-control-wrapper {
33
+ display: inline-flex;
34
+ padding-left: 1rem;
35
+ padding-right: 1rem;
36
+ width: -moz-fit-content;
37
+ width: fit-content;
38
+ }
39
+ .eds-datefield .eds-form-control-wrapper--disabled:focus-within {
40
+ border-color: transparent;
41
+ box-shadow: none;
42
+ }
43
+ .eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
44
+ background: none;
45
+ }
46
+ /* DO NOT CHANGE!*/
47
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
48
+ .eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control-wrapper {
49
+ padding-right: 0rem;
50
+ }
51
+ .eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control__append {
52
+ margin-left: auto;
53
+ }
54
+ .eds-datepicker__open-calendar-button {
55
+ margin: 0rem 0.25rem 0rem 0.5rem;
56
+ }
57
+ .eds-datepicker__open-calendar-button.eds-icon-button {
58
+ color: var(--components-datepicker-calendar-icon);
59
+ }
60
+ .eds-datepicker__open-calendar-button.eds-icon-button:hover {
61
+ background-color: var(--components-button-iconbutton-standard-hover);
62
+ }
63
+ .eds-datepicker__open-calendar-button.eds-icon-button:focus-visible {
64
+ outline: 2px solid #181c56;
65
+ outline-color: var(--basecolors-stroke-focus-standard);
66
+ outline-offset: 0;
67
+ }
68
+ .eds-datepicker__open-calendar-button.eds-icon-button:active {
69
+ background-color: var(--components-button-iconbutton-standard-active);
70
+ }
71
+ .eds-datepicker__calendar-modal.eds-modal__content {
72
+ padding: 0;
73
+ padding: initial;
74
+ width: inherit;
75
+ background-color: transparent;
76
+ background-color: initial;
77
+ }
78
+ /* DO NOT CHANGE!*/
79
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
80
  .eds-datepicker__calendar,
4
81
  .eds-contrast .eds-datepicker__calendar {
5
82
  width: -moz-fit-content;
@@ -140,83 +217,6 @@
140
217
  }
141
218
  /* DO NOT CHANGE!*/
142
219
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
143
- .eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control-wrapper {
144
- padding-right: 0rem;
145
- }
146
- .eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control__append {
147
- margin-left: auto;
148
- }
149
- .eds-datepicker__open-calendar-button {
150
- margin: 0rem 0.25rem 0rem 0.5rem;
151
- }
152
- .eds-datepicker__open-calendar-button.eds-icon-button {
153
- color: var(--components-datepicker-calendar-icon);
154
- }
155
- .eds-datepicker__open-calendar-button.eds-icon-button:hover {
156
- background-color: var(--components-button-iconbutton-standard-hover);
157
- }
158
- .eds-datepicker__open-calendar-button.eds-icon-button:focus-visible {
159
- outline: 2px solid #181c56;
160
- outline-color: var(--basecolors-stroke-focus-standard);
161
- outline-offset: 0;
162
- }
163
- .eds-datepicker__open-calendar-button.eds-icon-button:active {
164
- background-color: var(--components-button-iconbutton-standard-active);
165
- }
166
- .eds-datepicker__calendar-modal.eds-modal__content {
167
- padding: 0;
168
- padding: initial;
169
- width: inherit;
170
- background-color: transparent;
171
- background-color: initial;
172
- }
173
- /* DO NOT CHANGE!*/
174
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
175
- .eds-datefield {
176
- width: -moz-fit-content;
177
- width: fit-content;
178
- display: block;
179
- }
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;
186
- }
187
- .eds-datefield .eds-form-control-wrapper--disabled:focus-within {
188
- border-color: transparent;
189
- box-shadow: none;
190
- }
191
- .eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
192
- background: none;
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,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.10",
3
+ "version": "11.2.1-beta.12",
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.10",
32
- "@entur/form": "^8.3.2-beta.10",
31
+ "@entur/button": "^3.3.13-beta.12",
32
+ "@entur/form": "^8.3.2-beta.12",
33
33
  "@entur/icons": "^8.0.0",
34
- "@entur/modal": "^1.7.73-beta.10",
34
+ "@entur/modal": "^1.7.73-beta.12",
35
35
  "@entur/tokens": "^3.19.1",
36
- "@entur/tooltip": "^5.2.13-beta.10",
37
- "@entur/typography": "^1.10.0-beta.10",
36
+ "@entur/tooltip": "^5.2.13-beta.12",
37
+ "@entur/typography": "^1.10.0-beta.12",
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": "180506f42d45f01bf4129fa538e414379735a4b4"
54
+ "gitHead": "2a01de420517ee321602ced4e534eada22e2a10c"
55
55
  }