@entur/datepicker 4.0.4 → 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 +102 -96
- 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,50 @@
|
|
|
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!*/
|
|
79
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
80
|
+
.eds-datepicker {
|
|
81
|
+
position: relative;
|
|
82
|
+
width: -moz-fit-content;
|
|
83
|
+
width: fit-content;
|
|
84
|
+
}
|
|
85
|
+
.eds-datepicker__open-calendar-button {
|
|
86
|
+
position: absolute;
|
|
87
|
+
right: 0.5rem;
|
|
88
|
+
top: 0.45rem;
|
|
89
|
+
}
|
|
90
|
+
.eds-datepicker__open-calendar-button.eds-icon-button {
|
|
91
|
+
color: #181c56;
|
|
92
|
+
}
|
|
93
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:hover {
|
|
94
|
+
background-color: #656782;
|
|
95
|
+
color: #ffffff;
|
|
96
|
+
}
|
|
97
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:focus {
|
|
98
|
+
border: 0.0625rem solid #181c56;
|
|
99
|
+
}
|
|
100
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:active {
|
|
101
|
+
background-color: #8285a8;
|
|
102
|
+
}
|
|
103
|
+
.eds-datepicker__datefield {
|
|
104
|
+
padding-right: 4rem;
|
|
105
|
+
}
|
|
106
|
+
.eds-datepicker__datefield--disabled {
|
|
107
|
+
padding-right: 1rem;
|
|
108
|
+
}
|
|
109
|
+
.eds-datepicker__datefield__wrapper {
|
|
110
|
+
position: relative;
|
|
111
|
+
}
|
|
112
|
+
.eds-datepicker__calendar-modal.eds-modal__content {
|
|
113
|
+
padding: 0;
|
|
114
|
+
padding: initial;
|
|
115
|
+
width: inherit;
|
|
116
|
+
background-color: transparent;
|
|
117
|
+
background-color: initial;
|
|
118
|
+
overflow: scroll;
|
|
119
|
+
}
|
|
120
|
+
/* DO NOT CHANGE!*/
|
|
23
121
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
24
122
|
.eds-datepicker__calendar,
|
|
25
123
|
.eds-contrast .eds-datepicker__calendar {
|
|
@@ -145,100 +243,8 @@
|
|
|
145
243
|
.eds-datepicker__calendar__grid__cell--today,
|
|
146
244
|
.eds-contrast .eds-datepicker__calendar__grid__cell--today {
|
|
147
245
|
border-bottom: 2px solid #ff5959;
|
|
148
|
-
}/* DO NOT CHANGE!*/
|
|
149
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
150
|
-
.eds-datepicker {
|
|
151
|
-
position: relative;
|
|
152
|
-
width: -moz-fit-content;
|
|
153
|
-
width: fit-content;
|
|
154
|
-
}
|
|
155
|
-
.eds-datepicker__open-calendar-button {
|
|
156
|
-
position: absolute;
|
|
157
|
-
right: 0.5rem;
|
|
158
|
-
top: 0.45rem;
|
|
159
|
-
}
|
|
160
|
-
.eds-datepicker__open-calendar-button.eds-icon-button {
|
|
161
|
-
color: #181c56;
|
|
162
|
-
}
|
|
163
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:hover {
|
|
164
|
-
background-color: #656782;
|
|
165
|
-
color: #ffffff;
|
|
166
|
-
}
|
|
167
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:focus {
|
|
168
|
-
border: 0.0625rem solid #181c56;
|
|
169
|
-
}
|
|
170
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:active {
|
|
171
|
-
background-color: #8285a8;
|
|
172
|
-
}
|
|
173
|
-
.eds-datepicker__datefield {
|
|
174
|
-
padding-right: 4rem;
|
|
175
|
-
}
|
|
176
|
-
.eds-datepicker__datefield--disabled {
|
|
177
|
-
padding-right: 1rem;
|
|
178
|
-
}
|
|
179
|
-
.eds-datepicker__datefield__wrapper {
|
|
180
|
-
position: relative;
|
|
181
|
-
}
|
|
182
|
-
.eds-datepicker__calendar-modal.eds-modal__content {
|
|
183
|
-
padding: 0;
|
|
184
|
-
padding: initial;
|
|
185
|
-
width: inherit;
|
|
186
|
-
background-color: transparent;
|
|
187
|
-
background-color: initial;
|
|
188
|
-
overflow: scroll;
|
|
189
|
-
}/* DO NOT CHANGE!*/
|
|
190
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
191
|
-
.eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
|
|
192
|
-
position: relative;
|
|
193
|
-
top: -0.5rem;
|
|
194
|
-
}/* DO NOT CHANGE!*/
|
|
195
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
196
|
-
.eds-timepicker__wrapper {
|
|
197
|
-
position: relative;
|
|
198
|
-
display: flex;
|
|
199
|
-
align-items: center;
|
|
200
|
-
width: -moz-fit-content;
|
|
201
|
-
width: fit-content;
|
|
202
|
-
}
|
|
203
|
-
.eds-timepicker__wrapper .eds-timepicker {
|
|
204
|
-
justify-content: center;
|
|
205
|
-
padding: 0rem 3rem;
|
|
206
|
-
}
|
|
207
|
-
.eds-timepicker__wrapper .eds-timepicker .eds-input-group__label,
|
|
208
|
-
.eds-timepicker__wrapper .eds-timepicker .eds-input-group__label--filled {
|
|
209
|
-
margin-left: 0rem !important;
|
|
210
|
-
}
|
|
211
|
-
.eds-timepicker__wrapper .eds-timepicker__arrowbutton {
|
|
212
|
-
color: #181c56;
|
|
213
|
-
}
|
|
214
|
-
.eds-timepicker__wrapper .eds-timepicker__arrowbutton--left {
|
|
215
|
-
position: absolute;
|
|
216
|
-
left: 0.35rem;
|
|
217
|
-
z-index: 1;
|
|
218
246
|
}
|
|
219
|
-
|
|
220
|
-
position: absolute;
|
|
221
|
-
right: 0.4rem;
|
|
222
|
-
}
|
|
223
|
-
.eds-timepicker__wrapper .eds-timepicker__arrowbutton--disabled {
|
|
224
|
-
opacity: 0.5;
|
|
225
|
-
pointer-events: none;
|
|
226
|
-
visibility: hidden;
|
|
227
|
-
}
|
|
228
|
-
.eds-timepicker__wrapper .eds-timepicker__arrowbutton:hover {
|
|
229
|
-
background-color: #d1d4e3;
|
|
230
|
-
}
|
|
231
|
-
.eds-timepicker__wrapper .eds-timepicker .eds-form-control__append--tooltip {
|
|
232
|
-
margin-top: 0.75rem;
|
|
233
|
-
margin-right: -0.25rem;
|
|
234
|
-
}
|
|
235
|
-
.eds-timepicker__wrapper .eds-icon-button--disabled__wrapper {
|
|
236
|
-
display: none;
|
|
237
|
-
}
|
|
238
|
-
.eds-timepicker__wrapper .eds-feedback-text {
|
|
239
|
-
position: absolute;
|
|
240
|
-
top: 3.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
|
}
|