@entur/datepicker 10.1.1-beta.0 → 10.1.2-beta.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 +71 -71
- package/package.json +10 -10
package/dist/styles.css
CHANGED
|
@@ -1,48 +1,5 @@
|
|
|
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
|
-
}
|
|
7
|
-
.eds-datefield .eds-form-control-wrapper {
|
|
8
|
-
padding-left: 1rem;
|
|
9
|
-
padding-right: 1rem;
|
|
10
|
-
width: -moz-fit-content;
|
|
11
|
-
width: fit-content;
|
|
12
|
-
}
|
|
13
|
-
.eds-datefield .eds-form-control-wrapper--disabled:focus-within {
|
|
14
|
-
border-color: transparent;
|
|
15
|
-
box-shadow: none;
|
|
16
|
-
}
|
|
17
|
-
.eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
18
|
-
background: none;
|
|
19
|
-
}
|
|
20
|
-
/* DO NOT CHANGE!*/
|
|
21
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
22
|
-
.eds-date-and-time-field__segment {
|
|
23
|
-
margin-top: 1rem;
|
|
24
|
-
padding: 0 2px;
|
|
25
|
-
font-feature-settings: "tnum";
|
|
26
|
-
font-variant-numeric: tabular-nums;
|
|
27
|
-
text-align: right;
|
|
28
|
-
}
|
|
29
|
-
.eds-date-and-time-field__segment--placeholder {
|
|
30
|
-
color: var(--components-datepicker-datefield-standard-text-content);
|
|
31
|
-
}
|
|
32
|
-
.eds-date-and-time-field__segment--dot-separator {
|
|
33
|
-
margin-left: -0.1rem;
|
|
34
|
-
margin-right: -0.2rem;
|
|
35
|
-
}
|
|
36
|
-
.eds-date-and-time-field__segment:focus-visible {
|
|
37
|
-
background-color: var(--components-button-iconbutton-standard-active);
|
|
38
|
-
outline: transparent;
|
|
39
|
-
border-radius: 0.0625rem;
|
|
40
|
-
}
|
|
41
|
-
.eds-date-and-time-field__segment[aria-valuemax="9999"] {
|
|
42
|
-
min-width: 4ch;
|
|
43
|
-
}
|
|
44
|
-
/* DO NOT CHANGE!*/
|
|
45
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
46
3
|
.eds-datepicker__calendar,
|
|
47
4
|
.eds-contrast .eds-datepicker__calendar {
|
|
48
5
|
width: -moz-fit-content;
|
|
@@ -183,6 +140,30 @@
|
|
|
183
140
|
}
|
|
184
141
|
/* DO NOT CHANGE!*/
|
|
185
142
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
143
|
+
.eds-date-and-time-field__segment {
|
|
144
|
+
margin-top: 1rem;
|
|
145
|
+
padding: 0 2px;
|
|
146
|
+
font-feature-settings: "tnum";
|
|
147
|
+
font-variant-numeric: tabular-nums;
|
|
148
|
+
text-align: right;
|
|
149
|
+
}
|
|
150
|
+
.eds-date-and-time-field__segment--placeholder {
|
|
151
|
+
color: var(--components-datepicker-datefield-standard-text-content);
|
|
152
|
+
}
|
|
153
|
+
.eds-date-and-time-field__segment--dot-separator {
|
|
154
|
+
margin-left: -0.1rem;
|
|
155
|
+
margin-right: -0.2rem;
|
|
156
|
+
}
|
|
157
|
+
.eds-date-and-time-field__segment:focus-visible {
|
|
158
|
+
background-color: var(--components-button-iconbutton-standard-active);
|
|
159
|
+
outline: transparent;
|
|
160
|
+
border-radius: 0.0625rem;
|
|
161
|
+
}
|
|
162
|
+
.eds-date-and-time-field__segment[aria-valuemax="9999"] {
|
|
163
|
+
min-width: 4ch;
|
|
164
|
+
}
|
|
165
|
+
/* DO NOT CHANGE!*/
|
|
166
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
186
167
|
.eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control-wrapper {
|
|
187
168
|
padding-right: 0rem;
|
|
188
169
|
}
|
|
@@ -213,9 +194,24 @@
|
|
|
213
194
|
background-color: transparent;
|
|
214
195
|
background-color: initial;
|
|
215
196
|
}
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
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
|
+
}
|
|
203
|
+
.eds-datefield .eds-form-control-wrapper {
|
|
204
|
+
padding-left: 1rem;
|
|
205
|
+
padding-right: 1rem;
|
|
206
|
+
width: -moz-fit-content;
|
|
207
|
+
width: fit-content;
|
|
208
|
+
}
|
|
209
|
+
.eds-datefield .eds-form-control-wrapper--disabled:focus-within {
|
|
210
|
+
border-color: transparent;
|
|
211
|
+
box-shadow: none;
|
|
212
|
+
}
|
|
213
|
+
.eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
214
|
+
background: none;
|
|
219
215
|
}
|
|
220
216
|
/* DO NOT CHANGE!*/
|
|
221
217
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -256,31 +252,9 @@
|
|
|
256
252
|
.eds-timepicker .eds-icon-button--disabled__wrapper {
|
|
257
253
|
display: none;
|
|
258
254
|
}
|
|
259
|
-
.eds-
|
|
260
|
-
|
|
261
|
-
|
|
262
|
-
--input-width: 7rem;
|
|
263
|
-
}
|
|
264
|
-
.eds-simple-timepicker--has-tooltip {
|
|
265
|
-
--input-width: 9rem;
|
|
266
|
-
}
|
|
267
|
-
.eds-simple-timepicker--hide-clock {
|
|
268
|
-
--input-width: 5rem;
|
|
269
|
-
}
|
|
270
|
-
.eds-simple-timepicker--hide-clock.eds-simple-timepicker--has-tooltip {
|
|
271
|
-
--input-width: 7rem;
|
|
272
|
-
}
|
|
273
|
-
.eds-simple-timepicker--show-seconds {
|
|
274
|
-
--input-width: 8.5rem;
|
|
275
|
-
}
|
|
276
|
-
.eds-simple-timepicker--show-seconds.eds-simple-timepicker--hide-clock {
|
|
277
|
-
--input-width: 6.5rem;
|
|
278
|
-
}
|
|
279
|
-
.eds-simple-timepicker--show-seconds.eds-simple-timepicker--hide-clock.eds-simple-timepicker--has-tooltip {
|
|
280
|
-
--input-width: 8.5rem;
|
|
281
|
-
}
|
|
282
|
-
.eds-simple-timepicker--show-seconds.eds-simple-timepicker--has-tooltip {
|
|
283
|
-
--input-width: 10.5rem;
|
|
255
|
+
.eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
|
|
256
|
+
position: relative;
|
|
257
|
+
top: -0.5rem;
|
|
284
258
|
}
|
|
285
259
|
/* DO NOT CHANGE!*/
|
|
286
260
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -318,3 +292,29 @@
|
|
|
318
292
|
:root {
|
|
319
293
|
--eds-datepicker: 1;
|
|
320
294
|
}
|
|
295
|
+
.eds-simple-timepicker {
|
|
296
|
+
width: 7rem;
|
|
297
|
+
width: var(--input-width);
|
|
298
|
+
--input-width: 7rem;
|
|
299
|
+
}
|
|
300
|
+
.eds-simple-timepicker--has-tooltip {
|
|
301
|
+
--input-width: 9rem;
|
|
302
|
+
}
|
|
303
|
+
.eds-simple-timepicker--hide-clock {
|
|
304
|
+
--input-width: 5rem;
|
|
305
|
+
}
|
|
306
|
+
.eds-simple-timepicker--hide-clock.eds-simple-timepicker--has-tooltip {
|
|
307
|
+
--input-width: 7rem;
|
|
308
|
+
}
|
|
309
|
+
.eds-simple-timepicker--show-seconds {
|
|
310
|
+
--input-width: 8.5rem;
|
|
311
|
+
}
|
|
312
|
+
.eds-simple-timepicker--show-seconds.eds-simple-timepicker--hide-clock {
|
|
313
|
+
--input-width: 6.5rem;
|
|
314
|
+
}
|
|
315
|
+
.eds-simple-timepicker--show-seconds.eds-simple-timepicker--hide-clock.eds-simple-timepicker--has-tooltip {
|
|
316
|
+
--input-width: 8.5rem;
|
|
317
|
+
}
|
|
318
|
+
.eds-simple-timepicker--show-seconds.eds-simple-timepicker--has-tooltip {
|
|
319
|
+
--input-width: 10.5rem;
|
|
320
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/datepicker",
|
|
3
|
-
"version": "10.1.
|
|
3
|
+
"version": "10.1.2-beta.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/datepicker.esm.js",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/a11y": "^0.2.
|
|
31
|
-
"@entur/button": "^3.3.
|
|
32
|
-
"@entur/form": "^8.2.
|
|
33
|
-
"@entur/icons": "^7.
|
|
34
|
-
"@entur/modal": "^1.7.
|
|
35
|
-
"@entur/tokens": "^3.17.
|
|
36
|
-
"@entur/tooltip": "^5.2.
|
|
37
|
-
"@entur/typography": "^1.9.
|
|
30
|
+
"@entur/a11y": "^0.2.97-beta.0",
|
|
31
|
+
"@entur/button": "^3.3.2-beta.0",
|
|
32
|
+
"@entur/form": "^8.2.2-beta.0",
|
|
33
|
+
"@entur/icons": "^7.6.2-beta.0",
|
|
34
|
+
"@entur/modal": "^1.7.62-beta.0",
|
|
35
|
+
"@entur/tokens": "^3.17.7-beta.0",
|
|
36
|
+
"@entur/tooltip": "^5.2.2-beta.0",
|
|
37
|
+
"@entur/typography": "^1.9.2-beta.0",
|
|
38
38
|
"@entur/utils": "^0.12.2",
|
|
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": "cd66907abaf7faaee1f9dcc5f063b3b153eaf7b2"
|
|
55
55
|
}
|