@entur/datepicker 10.0.3 → 10.0.5
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 +56 -51
- package/package.json +8 -8
package/dist/styles.css
CHANGED
|
@@ -1,5 +1,57 @@
|
|
|
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:focus-within {
|
|
18
|
+
border-color: transparent;
|
|
19
|
+
box-shadow: none;
|
|
20
|
+
}
|
|
21
|
+
.eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
22
|
+
background: none;
|
|
23
|
+
}
|
|
24
|
+
/* DO NOT CHANGE!*/
|
|
25
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
26
|
+
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
27
|
+
text-align: right;
|
|
28
|
+
}
|
|
29
|
+
[dir="rtl"] .eds-date-and-time-field__segment {
|
|
30
|
+
text-align: left;
|
|
31
|
+
}
|
|
32
|
+
.eds-date-and-time-field__segment {
|
|
33
|
+
margin-top: 1rem;
|
|
34
|
+
padding: 0 2px;
|
|
35
|
+
font-feature-settings: "tnum";
|
|
36
|
+
font-variant-numeric: tabular-nums;
|
|
37
|
+
}
|
|
38
|
+
.eds-date-and-time-field__segment--placeholder {
|
|
39
|
+
color: var(--components-datepicker-datefield-standard-text-content);
|
|
40
|
+
}
|
|
41
|
+
.eds-date-and-time-field__segment--dot-separator {
|
|
42
|
+
margin-left: -0.1rem;
|
|
43
|
+
margin-right: -0.2rem;
|
|
44
|
+
}
|
|
45
|
+
.eds-date-and-time-field__segment:focus {
|
|
46
|
+
background-color: var(--components-button-iconbutton-standard-active);
|
|
47
|
+
outline: transparent;
|
|
48
|
+
border-radius: 0.0625rem;
|
|
49
|
+
}
|
|
50
|
+
.eds-date-and-time-field__segment[aria-valuemax="9999"] {
|
|
51
|
+
min-width: 4ch;
|
|
52
|
+
}
|
|
53
|
+
/* DO NOT CHANGE!*/
|
|
54
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
55
|
.eds-datepicker__calendar,
|
|
4
56
|
.eds-contrast .eds-datepicker__calendar {
|
|
5
57
|
width: -moz-fit-content;
|
|
@@ -144,53 +196,6 @@
|
|
|
144
196
|
}
|
|
145
197
|
/* DO NOT CHANGE!*/
|
|
146
198
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
147
|
-
.eds-datefield {
|
|
148
|
-
width: -moz-fit-content;
|
|
149
|
-
width: fit-content;
|
|
150
|
-
}
|
|
151
|
-
.eds-datefield .eds-form-control-wrapper {
|
|
152
|
-
padding-left: 1rem;
|
|
153
|
-
padding-right: 1rem;
|
|
154
|
-
}
|
|
155
|
-
.eds-datefield .eds-form-control-wrapper--disabled[focus-within] {
|
|
156
|
-
border-color: transparent;
|
|
157
|
-
box-shadow: none;
|
|
158
|
-
}
|
|
159
|
-
.eds-datefield .eds-form-control-wrapper--disabled:focus-within {
|
|
160
|
-
border-color: transparent;
|
|
161
|
-
box-shadow: none;
|
|
162
|
-
}
|
|
163
|
-
.eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
164
|
-
background: none;
|
|
165
|
-
}
|
|
166
|
-
/* DO NOT CHANGE!*/
|
|
167
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
168
|
-
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
169
|
-
text-align: right;
|
|
170
|
-
}
|
|
171
|
-
[dir="rtl"] .eds-date-and-time-field__segment {
|
|
172
|
-
text-align: left;
|
|
173
|
-
}
|
|
174
|
-
.eds-date-and-time-field__segment {
|
|
175
|
-
margin-top: 1rem;
|
|
176
|
-
padding: 0 2px;
|
|
177
|
-
font-feature-settings: "tnum";
|
|
178
|
-
font-variant-numeric: tabular-nums;
|
|
179
|
-
}
|
|
180
|
-
.eds-date-and-time-field__segment--placeholder {
|
|
181
|
-
color: var(--components-datepicker-datefield-standard-text-content);
|
|
182
|
-
}
|
|
183
|
-
.eds-date-and-time-field__segment--dot-separator {
|
|
184
|
-
margin-left: -0.1rem;
|
|
185
|
-
margin-right: -0.2rem;
|
|
186
|
-
}
|
|
187
|
-
.eds-date-and-time-field__segment:focus {
|
|
188
|
-
background-color: var(--components-button-iconbutton-standard-active);
|
|
189
|
-
outline: transparent;
|
|
190
|
-
border-radius: 0.0625rem;
|
|
191
|
-
}
|
|
192
|
-
/* DO NOT CHANGE!*/
|
|
193
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
194
199
|
.eds-datepicker.eds-datefield .eds-form-control-wrapper {
|
|
195
200
|
padding-right: 0rem;
|
|
196
201
|
}
|
|
@@ -221,6 +226,10 @@
|
|
|
221
226
|
background-color: transparent;
|
|
222
227
|
background-color: initial;
|
|
223
228
|
}
|
|
229
|
+
.eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
|
|
230
|
+
position: relative;
|
|
231
|
+
top: -0.5rem;
|
|
232
|
+
}
|
|
224
233
|
/* DO NOT CHANGE!*/
|
|
225
234
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
226
235
|
.eds-timepicker {
|
|
@@ -260,10 +269,6 @@
|
|
|
260
269
|
.eds-timepicker .eds-icon-button--disabled__wrapper {
|
|
261
270
|
display: none;
|
|
262
271
|
}
|
|
263
|
-
.eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
|
|
264
|
-
position: relative;
|
|
265
|
-
top: -0.5rem;
|
|
266
|
-
}
|
|
267
272
|
.eds-simple-timepicker {
|
|
268
273
|
--input-width: 7rem;
|
|
269
274
|
width: var(--input-width);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/datepicker",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.5",
|
|
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.90",
|
|
31
|
-
"@entur/button": "^3.2.
|
|
32
|
-
"@entur/form": "^8.1.
|
|
33
|
-
"@entur/icons": "^7.
|
|
34
|
-
"@entur/modal": "^1.7.
|
|
31
|
+
"@entur/button": "^3.2.32",
|
|
32
|
+
"@entur/form": "^8.1.2",
|
|
33
|
+
"@entur/icons": "^7.4.0",
|
|
34
|
+
"@entur/modal": "^1.7.53",
|
|
35
35
|
"@entur/tokens": "^3.17.0",
|
|
36
|
-
"@entur/tooltip": "^4.0.
|
|
37
|
-
"@entur/typography": "^1.8.
|
|
36
|
+
"@entur/tooltip": "^4.0.1",
|
|
37
|
+
"@entur/typography": "^1.8.45",
|
|
38
38
|
"@entur/utils": "^0.11.2",
|
|
39
39
|
"@floating-ui/react-dom": "^2.1.0",
|
|
40
40
|
"@internationalized/date": "^3.4.0",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"classnames": "^2.3.1",
|
|
49
49
|
"react-focus-lock": "^2.9.1"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "65cfc261417f26cadf2be3d5cfa4786ecf262a18"
|
|
52
52
|
}
|