@entur/datepicker 9.1.3-beta.0 → 9.1.4
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 +34 -34
- package/package.json +10 -10
package/dist/styles.css
CHANGED
|
@@ -1,30 +1,3 @@
|
|
|
1
|
-
/* DO NOT CHANGE!*/
|
|
2
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
-
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
4
|
-
text-align: right;
|
|
5
|
-
}
|
|
6
|
-
[dir="rtl"] .eds-date-and-time-field__segment {
|
|
7
|
-
text-align: left;
|
|
8
|
-
}
|
|
9
|
-
.eds-date-and-time-field__segment {
|
|
10
|
-
margin-top: 1rem;
|
|
11
|
-
padding: 0 2px;
|
|
12
|
-
font-feature-settings: "tnum";
|
|
13
|
-
font-variant-numeric: tabular-nums;
|
|
14
|
-
}
|
|
15
|
-
.eds-date-and-time-field__segment--placeholder {
|
|
16
|
-
color: #646464;
|
|
17
|
-
}
|
|
18
|
-
.eds-date-and-time-field__segment--dot-separator {
|
|
19
|
-
margin-left: -0.1rem;
|
|
20
|
-
margin-right: -0.2rem;
|
|
21
|
-
}
|
|
22
|
-
.eds-date-and-time-field__segment:focus {
|
|
23
|
-
background-color: #656782;
|
|
24
|
-
color: #ffffff;
|
|
25
|
-
outline: transparent;
|
|
26
|
-
border-radius: 0.0625rem;
|
|
27
|
-
}
|
|
28
1
|
.eds-datefield div:first-of-type.eds-date-and-time-field__segment {
|
|
29
2
|
margin-left: 1rem;
|
|
30
3
|
}
|
|
@@ -172,6 +145,33 @@
|
|
|
172
145
|
}
|
|
173
146
|
/* DO NOT CHANGE!*/
|
|
174
147
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
148
|
+
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
149
|
+
text-align: right;
|
|
150
|
+
}
|
|
151
|
+
[dir="rtl"] .eds-date-and-time-field__segment {
|
|
152
|
+
text-align: left;
|
|
153
|
+
}
|
|
154
|
+
.eds-date-and-time-field__segment {
|
|
155
|
+
margin-top: 1rem;
|
|
156
|
+
padding: 0 2px;
|
|
157
|
+
font-feature-settings: "tnum";
|
|
158
|
+
font-variant-numeric: tabular-nums;
|
|
159
|
+
}
|
|
160
|
+
.eds-date-and-time-field__segment--placeholder {
|
|
161
|
+
color: #646464;
|
|
162
|
+
}
|
|
163
|
+
.eds-date-and-time-field__segment--dot-separator {
|
|
164
|
+
margin-left: -0.1rem;
|
|
165
|
+
margin-right: -0.2rem;
|
|
166
|
+
}
|
|
167
|
+
.eds-date-and-time-field__segment:focus {
|
|
168
|
+
background-color: #656782;
|
|
169
|
+
color: #ffffff;
|
|
170
|
+
outline: transparent;
|
|
171
|
+
border-radius: 0.0625rem;
|
|
172
|
+
}
|
|
173
|
+
/* DO NOT CHANGE!*/
|
|
174
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
175
175
|
.eds-datepicker {
|
|
176
176
|
position: relative;
|
|
177
177
|
width: -moz-fit-content;
|
|
@@ -213,10 +213,6 @@
|
|
|
213
213
|
background-color: transparent;
|
|
214
214
|
background-color: initial;
|
|
215
215
|
}
|
|
216
|
-
.eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
|
|
217
|
-
position: relative;
|
|
218
|
-
top: -0.5rem;
|
|
219
|
-
}
|
|
220
216
|
/* DO NOT CHANGE!*/
|
|
221
217
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
222
218
|
.eds-timepicker__wrapper {
|
|
@@ -273,6 +269,13 @@
|
|
|
273
269
|
position: absolute;
|
|
274
270
|
top: 3.5rem;
|
|
275
271
|
}
|
|
272
|
+
.eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
|
|
273
|
+
position: relative;
|
|
274
|
+
top: -0.5rem;
|
|
275
|
+
}
|
|
276
|
+
:root {
|
|
277
|
+
--eds-datepicker: 1;
|
|
278
|
+
}
|
|
276
279
|
.eds-simple-timepicker {
|
|
277
280
|
--input-width: 7rem;
|
|
278
281
|
width: var(--input-width);
|
|
@@ -290,6 +293,3 @@
|
|
|
290
293
|
margin-top: -0.2rem;
|
|
291
294
|
margin-left: -0.5rem;
|
|
292
295
|
}
|
|
293
|
-
:root {
|
|
294
|
-
--eds-datepicker: 1;
|
|
295
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/datepicker",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.4",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/datepicker.esm.js",
|
|
@@ -27,15 +27,15 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/a11y": "^0.2.75
|
|
31
|
-
"@entur/button": "^3.2.
|
|
32
|
-
"@entur/form": "^7.0.
|
|
33
|
-
"@entur/icons": "^6.
|
|
34
|
-
"@entur/modal": "^1.7.
|
|
30
|
+
"@entur/a11y": "^0.2.75",
|
|
31
|
+
"@entur/button": "^3.2.8",
|
|
32
|
+
"@entur/form": "^7.0.35",
|
|
33
|
+
"@entur/icons": "^6.14.0",
|
|
34
|
+
"@entur/modal": "^1.7.28",
|
|
35
35
|
"@entur/tokens": "^3.12.0",
|
|
36
|
-
"@entur/tooltip": "^2.6.
|
|
37
|
-
"@entur/typography": "^1.8.
|
|
38
|
-
"@entur/utils": "^
|
|
36
|
+
"@entur/tooltip": "^2.6.44",
|
|
37
|
+
"@entur/typography": "^1.8.22",
|
|
38
|
+
"@entur/utils": "^0.10.0",
|
|
39
39
|
"@floating-ui/react-dom": "^1.0.0",
|
|
40
40
|
"@internationalized/date": "^3.4.0",
|
|
41
41
|
"@react-aria/button": "^3.6.4",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"classnames": "^2.3.1",
|
|
49
49
|
"react-focus-lock": "^2.9.1"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "883677c25c50baf66df6f90c46759d186147921c"
|
|
52
52
|
}
|