@entur/datepicker 11.2.1-beta.8 → 11.2.1-beta.9
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 +71 -71
- package/package.json +7 -7
package/dist/styles.css
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
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. */
|
|
3
27
|
.eds-datepicker__calendar,
|
|
4
28
|
.eds-contrast .eds-datepicker__calendar {
|
|
5
29
|
width: -moz-fit-content;
|
|
@@ -140,6 +164,27 @@
|
|
|
140
164
|
}
|
|
141
165
|
/* DO NOT CHANGE!*/
|
|
142
166
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
167
|
+
.eds-datefield {
|
|
168
|
+
width: -moz-fit-content;
|
|
169
|
+
width: fit-content;
|
|
170
|
+
display: block;
|
|
171
|
+
}
|
|
172
|
+
.eds-datefield .eds-form-control-wrapper {
|
|
173
|
+
display: inline-flex;
|
|
174
|
+
padding-left: 1rem;
|
|
175
|
+
padding-right: 1rem;
|
|
176
|
+
width: -moz-fit-content;
|
|
177
|
+
width: fit-content;
|
|
178
|
+
}
|
|
179
|
+
.eds-datefield .eds-form-control-wrapper--disabled:focus-within {
|
|
180
|
+
border-color: transparent;
|
|
181
|
+
box-shadow: none;
|
|
182
|
+
}
|
|
183
|
+
.eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
184
|
+
background: none;
|
|
185
|
+
}
|
|
186
|
+
/* DO NOT CHANGE!*/
|
|
187
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
143
188
|
.eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control-wrapper {
|
|
144
189
|
padding-right: 0rem;
|
|
145
190
|
}
|
|
@@ -172,51 +217,6 @@
|
|
|
172
217
|
}
|
|
173
218
|
/* DO NOT CHANGE!*/
|
|
174
219
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
175
|
-
.eds-date-and-time-field__segment {
|
|
176
|
-
margin-top: 1rem;
|
|
177
|
-
padding: 0 2px;
|
|
178
|
-
font-feature-settings: "tnum";
|
|
179
|
-
font-variant-numeric: tabular-nums;
|
|
180
|
-
text-align: right;
|
|
181
|
-
}
|
|
182
|
-
.eds-date-and-time-field__segment--placeholder {
|
|
183
|
-
color: var(--components-datepicker-datefield-standard-text-content);
|
|
184
|
-
}
|
|
185
|
-
.eds-date-and-time-field__segment--dot-separator {
|
|
186
|
-
margin-left: -0.1rem;
|
|
187
|
-
margin-right: -0.2rem;
|
|
188
|
-
}
|
|
189
|
-
.eds-date-and-time-field__segment:focus-visible {
|
|
190
|
-
background-color: var(--components-button-iconbutton-standard-active);
|
|
191
|
-
outline: transparent;
|
|
192
|
-
border-radius: 0.0625rem;
|
|
193
|
-
}
|
|
194
|
-
.eds-date-and-time-field__segment[aria-valuemax="9999"] {
|
|
195
|
-
min-width: 4ch;
|
|
196
|
-
}
|
|
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
|
-
display: block;
|
|
203
|
-
}
|
|
204
|
-
.eds-datefield .eds-form-control-wrapper {
|
|
205
|
-
display: inline-flex;
|
|
206
|
-
padding-left: 1rem;
|
|
207
|
-
padding-right: 1rem;
|
|
208
|
-
width: -moz-fit-content;
|
|
209
|
-
width: fit-content;
|
|
210
|
-
}
|
|
211
|
-
.eds-datefield .eds-form-control-wrapper--disabled:focus-within {
|
|
212
|
-
border-color: transparent;
|
|
213
|
-
box-shadow: none;
|
|
214
|
-
}
|
|
215
|
-
.eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
216
|
-
background: none;
|
|
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.
|
|
3
|
+
"version": "11.2.1-beta.9",
|
|
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.
|
|
32
|
-
"@entur/form": "^8.3.2-beta.
|
|
31
|
+
"@entur/button": "^3.3.13-beta.9",
|
|
32
|
+
"@entur/form": "^8.3.2-beta.9",
|
|
33
33
|
"@entur/icons": "^8.0.0",
|
|
34
|
-
"@entur/modal": "^1.7.73-beta.
|
|
34
|
+
"@entur/modal": "^1.7.73-beta.9",
|
|
35
35
|
"@entur/tokens": "^3.19.1",
|
|
36
|
-
"@entur/tooltip": "^5.2.13-beta.
|
|
37
|
-
"@entur/typography": "^1.10.0-beta.
|
|
36
|
+
"@entur/tooltip": "^5.2.13-beta.9",
|
|
37
|
+
"@entur/typography": "^1.10.0-beta.9",
|
|
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": "
|
|
54
|
+
"gitHead": "6f685d2e4ac13bdaf9c6480f9e7922c9d8f4619c"
|
|
55
55
|
}
|