@entur/datepicker 4.0.2 → 4.0.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 +46 -46
- package/package.json +11 -11
package/dist/styles.css
CHANGED
|
@@ -147,6 +147,52 @@
|
|
|
147
147
|
border-bottom: 2px solid #ff5959;
|
|
148
148
|
}/* DO NOT CHANGE!*/
|
|
149
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. */
|
|
150
196
|
.eds-timepicker__wrapper {
|
|
151
197
|
position: relative;
|
|
152
198
|
display: flex;
|
|
@@ -194,52 +240,6 @@
|
|
|
194
240
|
top: 3.5rem;
|
|
195
241
|
}/* DO NOT CHANGE!*/
|
|
196
242
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
197
|
-
.eds-datepicker {
|
|
198
|
-
position: relative;
|
|
199
|
-
width: -moz-fit-content;
|
|
200
|
-
width: fit-content;
|
|
201
|
-
}
|
|
202
|
-
.eds-datepicker__open-calendar-button {
|
|
203
|
-
position: absolute;
|
|
204
|
-
right: 0.5rem;
|
|
205
|
-
top: 0.45rem;
|
|
206
|
-
}
|
|
207
|
-
.eds-datepicker__open-calendar-button.eds-icon-button {
|
|
208
|
-
color: #181c56;
|
|
209
|
-
}
|
|
210
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:hover {
|
|
211
|
-
background-color: #656782;
|
|
212
|
-
color: #ffffff;
|
|
213
|
-
}
|
|
214
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:focus {
|
|
215
|
-
border: 0.0625rem solid #181c56;
|
|
216
|
-
}
|
|
217
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:active {
|
|
218
|
-
background-color: #8285a8;
|
|
219
|
-
}
|
|
220
|
-
.eds-datepicker__datefield {
|
|
221
|
-
padding-right: 4rem;
|
|
222
|
-
}
|
|
223
|
-
.eds-datepicker__datefield--disabled {
|
|
224
|
-
padding-right: 1rem;
|
|
225
|
-
}
|
|
226
|
-
.eds-datepicker__datefield__wrapper {
|
|
227
|
-
position: relative;
|
|
228
|
-
}
|
|
229
|
-
.eds-datepicker__calendar-modal.eds-modal__content {
|
|
230
|
-
padding: 0;
|
|
231
|
-
padding: initial;
|
|
232
|
-
width: inherit;
|
|
233
|
-
background-color: transparent;
|
|
234
|
-
background-color: initial;
|
|
235
|
-
overflow: scroll;
|
|
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!*/
|
|
242
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
243
243
|
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
244
244
|
text-align: right;
|
|
245
245
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/datepicker",
|
|
3
|
-
"version": "4.0.
|
|
3
|
+
"version": "4.0.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.
|
|
31
|
-
"@entur/button": "^2.10.
|
|
32
|
-
"@entur/form": "^5.4.
|
|
33
|
-
"@entur/icons": "^5.
|
|
34
|
-
"@entur/modal": "^1.6.
|
|
35
|
-
"@entur/tokens": "^3.
|
|
36
|
-
"@entur/tooltip": "^2.6.
|
|
37
|
-
"@entur/typography": "^1.7.
|
|
38
|
-
"@entur/utils": "^0.5.
|
|
30
|
+
"@entur/a11y": "^0.2.59",
|
|
31
|
+
"@entur/button": "^2.10.14",
|
|
32
|
+
"@entur/form": "^5.4.18",
|
|
33
|
+
"@entur/icons": "^5.8.0",
|
|
34
|
+
"@entur/modal": "^1.6.24",
|
|
35
|
+
"@entur/tokens": "^3.8.0",
|
|
36
|
+
"@entur/tooltip": "^2.6.5",
|
|
37
|
+
"@entur/typography": "^1.7.10",
|
|
38
|
+
"@entur/utils": "^0.5.5",
|
|
39
39
|
"@floating-ui/react-dom": "^1.0.0",
|
|
40
40
|
"@internationalized/date": "^3.0.2",
|
|
41
41
|
"@react-aria/button": "^3.6.4",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"node": "16.17.0",
|
|
53
53
|
"yarn": "1.22.19"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "bc067536ed769de8072f19002ef4877a1e974443"
|
|
56
56
|
}
|