@entur/datepicker 4.0.5 → 4.0.6
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 +62 -56
- package/package.json +8 -8
package/dist/styles.css
CHANGED
|
@@ -1,6 +1,61 @@
|
|
|
1
1
|
:root {
|
|
2
2
|
--eds-datepicker: 1;
|
|
3
|
-
}
|
|
3
|
+
}
|
|
4
|
+
/* DO NOT CHANGE!*/
|
|
5
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
6
|
+
.eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
|
|
7
|
+
position: relative;
|
|
8
|
+
top: -0.5rem;
|
|
9
|
+
}
|
|
10
|
+
/* DO NOT CHANGE!*/
|
|
11
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
12
|
+
.eds-timepicker__wrapper {
|
|
13
|
+
position: relative;
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
width: -moz-fit-content;
|
|
17
|
+
width: fit-content;
|
|
18
|
+
}
|
|
19
|
+
.eds-timepicker__wrapper .eds-timepicker {
|
|
20
|
+
justify-content: center;
|
|
21
|
+
padding: 0rem 3rem;
|
|
22
|
+
}
|
|
23
|
+
.eds-timepicker__wrapper .eds-timepicker .eds-input-group__label,
|
|
24
|
+
.eds-timepicker__wrapper .eds-timepicker .eds-input-group__label--filled {
|
|
25
|
+
margin-left: 0rem !important;
|
|
26
|
+
}
|
|
27
|
+
.eds-timepicker__wrapper .eds-timepicker__arrowbutton {
|
|
28
|
+
color: #181c56;
|
|
29
|
+
}
|
|
30
|
+
.eds-timepicker__wrapper .eds-timepicker__arrowbutton--left {
|
|
31
|
+
position: absolute;
|
|
32
|
+
left: 0.35rem;
|
|
33
|
+
z-index: 1;
|
|
34
|
+
}
|
|
35
|
+
.eds-timepicker__wrapper .eds-timepicker__arrowbutton--right {
|
|
36
|
+
position: absolute;
|
|
37
|
+
right: 0.4rem;
|
|
38
|
+
}
|
|
39
|
+
.eds-timepicker__wrapper .eds-timepicker__arrowbutton--disabled {
|
|
40
|
+
opacity: 0.5;
|
|
41
|
+
pointer-events: none;
|
|
42
|
+
visibility: hidden;
|
|
43
|
+
}
|
|
44
|
+
.eds-timepicker__wrapper .eds-timepicker__arrowbutton:hover {
|
|
45
|
+
background-color: #d1d4e3;
|
|
46
|
+
}
|
|
47
|
+
.eds-timepicker__wrapper .eds-timepicker .eds-form-control__append--tooltip {
|
|
48
|
+
margin-top: 0.75rem;
|
|
49
|
+
margin-right: -0.25rem;
|
|
50
|
+
}
|
|
51
|
+
.eds-timepicker__wrapper .eds-icon-button--disabled__wrapper {
|
|
52
|
+
display: none;
|
|
53
|
+
}
|
|
54
|
+
.eds-timepicker__wrapper .eds-feedback-text {
|
|
55
|
+
position: absolute;
|
|
56
|
+
top: 3.5rem;
|
|
57
|
+
}
|
|
58
|
+
/* DO NOT CHANGE!*/
|
|
4
59
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
5
60
|
.eds-datefield div:first-of-type.eds-date-and-time-field__segment {
|
|
6
61
|
margin-left: 1rem;
|
|
@@ -19,7 +74,8 @@
|
|
|
19
74
|
.eds-datefield .eds-form-control__append--tooltip {
|
|
20
75
|
margin-top: 0.75rem;
|
|
21
76
|
margin-right: -0.25rem;
|
|
22
|
-
}
|
|
77
|
+
}
|
|
78
|
+
/* DO NOT CHANGE!*/
|
|
23
79
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
24
80
|
.eds-datepicker {
|
|
25
81
|
position: relative;
|
|
@@ -60,7 +116,8 @@
|
|
|
60
116
|
background-color: transparent;
|
|
61
117
|
background-color: initial;
|
|
62
118
|
overflow: scroll;
|
|
63
|
-
}
|
|
119
|
+
}
|
|
120
|
+
/* DO NOT CHANGE!*/
|
|
64
121
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
65
122
|
.eds-datepicker__calendar,
|
|
66
123
|
.eds-contrast .eds-datepicker__calendar {
|
|
@@ -186,59 +243,8 @@
|
|
|
186
243
|
.eds-datepicker__calendar__grid__cell--today,
|
|
187
244
|
.eds-contrast .eds-datepicker__calendar__grid__cell--today {
|
|
188
245
|
border-bottom: 2px solid #ff5959;
|
|
189
|
-
}/* DO NOT CHANGE!*/
|
|
190
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
191
|
-
.eds-timepicker__wrapper {
|
|
192
|
-
position: relative;
|
|
193
|
-
display: flex;
|
|
194
|
-
align-items: center;
|
|
195
|
-
width: -moz-fit-content;
|
|
196
|
-
width: fit-content;
|
|
197
|
-
}
|
|
198
|
-
.eds-timepicker__wrapper .eds-timepicker {
|
|
199
|
-
justify-content: center;
|
|
200
|
-
padding: 0rem 3rem;
|
|
201
|
-
}
|
|
202
|
-
.eds-timepicker__wrapper .eds-timepicker .eds-input-group__label,
|
|
203
|
-
.eds-timepicker__wrapper .eds-timepicker .eds-input-group__label--filled {
|
|
204
|
-
margin-left: 0rem !important;
|
|
205
|
-
}
|
|
206
|
-
.eds-timepicker__wrapper .eds-timepicker__arrowbutton {
|
|
207
|
-
color: #181c56;
|
|
208
|
-
}
|
|
209
|
-
.eds-timepicker__wrapper .eds-timepicker__arrowbutton--left {
|
|
210
|
-
position: absolute;
|
|
211
|
-
left: 0.35rem;
|
|
212
|
-
z-index: 1;
|
|
213
|
-
}
|
|
214
|
-
.eds-timepicker__wrapper .eds-timepicker__arrowbutton--right {
|
|
215
|
-
position: absolute;
|
|
216
|
-
right: 0.4rem;
|
|
217
|
-
}
|
|
218
|
-
.eds-timepicker__wrapper .eds-timepicker__arrowbutton--disabled {
|
|
219
|
-
opacity: 0.5;
|
|
220
|
-
pointer-events: none;
|
|
221
|
-
visibility: hidden;
|
|
222
|
-
}
|
|
223
|
-
.eds-timepicker__wrapper .eds-timepicker__arrowbutton:hover {
|
|
224
|
-
background-color: #d1d4e3;
|
|
225
|
-
}
|
|
226
|
-
.eds-timepicker__wrapper .eds-timepicker .eds-form-control__append--tooltip {
|
|
227
|
-
margin-top: 0.75rem;
|
|
228
|
-
margin-right: -0.25rem;
|
|
229
246
|
}
|
|
230
|
-
|
|
231
|
-
display: none;
|
|
232
|
-
}
|
|
233
|
-
.eds-timepicker__wrapper .eds-feedback-text {
|
|
234
|
-
position: absolute;
|
|
235
|
-
top: 3.5rem;
|
|
236
|
-
}/* DO NOT CHANGE!*/
|
|
237
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
238
|
-
.eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
|
|
239
|
-
position: relative;
|
|
240
|
-
top: -0.5rem;
|
|
241
|
-
}/* DO NOT CHANGE!*/
|
|
247
|
+
/* DO NOT CHANGE!*/
|
|
242
248
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
243
249
|
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
244
250
|
text-align: right;
|
|
@@ -264,4 +270,4 @@
|
|
|
264
270
|
color: #ffffff;
|
|
265
271
|
outline: none;
|
|
266
272
|
border-radius: 0.0625rem;
|
|
267
|
-
}
|
|
273
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/datepicker",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.6",
|
|
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.59",
|
|
31
|
-
"@entur/button": "^2.10.
|
|
32
|
-
"@entur/form": "^5.4.
|
|
33
|
-
"@entur/icons": "^5.8.
|
|
34
|
-
"@entur/modal": "^1.6.
|
|
31
|
+
"@entur/button": "^2.10.15",
|
|
32
|
+
"@entur/form": "^5.4.20",
|
|
33
|
+
"@entur/icons": "^5.8.1",
|
|
34
|
+
"@entur/modal": "^1.6.25",
|
|
35
35
|
"@entur/tokens": "^3.8.0",
|
|
36
|
-
"@entur/tooltip": "^2.6.
|
|
37
|
-
"@entur/typography": "^1.7.
|
|
36
|
+
"@entur/tooltip": "^2.6.7",
|
|
37
|
+
"@entur/typography": "^1.7.11",
|
|
38
38
|
"@entur/utils": "^0.5.5",
|
|
39
39
|
"@floating-ui/react-dom": "^1.0.0",
|
|
40
40
|
"@internationalized/date": "^3.0.2",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"node": "16.17.0",
|
|
53
53
|
"yarn": "1.22.19"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "8019b1b3a39b30bf1052ae34ed1c06b6caf1aa34"
|
|
56
56
|
}
|