@entur/datepicker 8.1.4 → 8.1.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 +65 -61
- package/package.json +10 -10
package/dist/styles.css
CHANGED
|
@@ -1,29 +1,46 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
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;
|
|
3
|
+
.eds-datepicker {
|
|
4
|
+
position: relative;
|
|
5
|
+
width: -moz-fit-content;
|
|
6
|
+
width: fit-content;
|
|
7
|
+
height: -moz-fit-content;
|
|
8
|
+
height: fit-content;
|
|
14
9
|
}
|
|
15
|
-
.eds-
|
|
16
|
-
|
|
10
|
+
.eds-datepicker__open-calendar-button {
|
|
11
|
+
position: absolute;
|
|
12
|
+
right: 0.5rem;
|
|
13
|
+
top: 0.45rem;
|
|
17
14
|
}
|
|
18
|
-
.eds-
|
|
19
|
-
|
|
20
|
-
margin-right: -0.2rem;
|
|
15
|
+
.eds-datepicker__open-calendar-button.eds-icon-button {
|
|
16
|
+
color: #181c56;
|
|
21
17
|
}
|
|
22
|
-
.eds-
|
|
18
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:hover {
|
|
23
19
|
background-color: #656782;
|
|
24
20
|
color: #ffffff;
|
|
25
|
-
|
|
26
|
-
|
|
21
|
+
}
|
|
22
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:focus {
|
|
23
|
+
border: 0.0625rem solid #181c56;
|
|
24
|
+
}
|
|
25
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:active {
|
|
26
|
+
background-color: #8285a8;
|
|
27
|
+
}
|
|
28
|
+
.eds-datepicker__datefield {
|
|
29
|
+
padding-right: 4rem;
|
|
30
|
+
}
|
|
31
|
+
.eds-datepicker__datefield--disabled {
|
|
32
|
+
padding-right: 1rem;
|
|
33
|
+
}
|
|
34
|
+
.eds-datepicker__datefield__wrapper {
|
|
35
|
+
position: relative;
|
|
36
|
+
}
|
|
37
|
+
.eds-datepicker__calendar-modal.eds-modal__content {
|
|
38
|
+
padding: 0;
|
|
39
|
+
padding: initial;
|
|
40
|
+
width: inherit;
|
|
41
|
+
background-color: transparent;
|
|
42
|
+
background-color: initial;
|
|
43
|
+
overflow: scroll;
|
|
27
44
|
}
|
|
28
45
|
/* DO NOT CHANGE!*/
|
|
29
46
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -152,6 +169,33 @@
|
|
|
152
169
|
.eds-contrast .eds-datepicker__calendar__grid__cell--today {
|
|
153
170
|
border-bottom: 2px solid #ff5959;
|
|
154
171
|
}
|
|
172
|
+
/* DO NOT CHANGE!*/
|
|
173
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
174
|
+
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
175
|
+
text-align: right;
|
|
176
|
+
}
|
|
177
|
+
[dir="rtl"] .eds-date-and-time-field__segment {
|
|
178
|
+
text-align: left;
|
|
179
|
+
}
|
|
180
|
+
.eds-date-and-time-field__segment {
|
|
181
|
+
margin-top: 1rem;
|
|
182
|
+
padding: 0 2px;
|
|
183
|
+
font-feature-settings: "tnum";
|
|
184
|
+
font-variant-numeric: tabular-nums;
|
|
185
|
+
}
|
|
186
|
+
.eds-date-and-time-field__segment--placeholder {
|
|
187
|
+
color: #646464;
|
|
188
|
+
}
|
|
189
|
+
.eds-date-and-time-field__segment--dot-separator {
|
|
190
|
+
margin-left: -0.1rem;
|
|
191
|
+
margin-right: -0.2rem;
|
|
192
|
+
}
|
|
193
|
+
.eds-date-and-time-field__segment:focus {
|
|
194
|
+
background-color: #656782;
|
|
195
|
+
color: #ffffff;
|
|
196
|
+
outline: none;
|
|
197
|
+
border-radius: 0.0625rem;
|
|
198
|
+
}
|
|
155
199
|
.eds-datefield div:first-of-type.eds-date-and-time-field__segment {
|
|
156
200
|
margin-left: 1rem;
|
|
157
201
|
}
|
|
@@ -172,54 +216,14 @@
|
|
|
172
216
|
}
|
|
173
217
|
/* DO NOT CHANGE!*/
|
|
174
218
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
175
|
-
.eds-datepicker {
|
|
176
|
-
position: relative;
|
|
177
|
-
width: -moz-fit-content;
|
|
178
|
-
width: fit-content;
|
|
179
|
-
}
|
|
180
|
-
.eds-datepicker__open-calendar-button {
|
|
181
|
-
position: absolute;
|
|
182
|
-
right: 0.5rem;
|
|
183
|
-
top: 0.45rem;
|
|
184
|
-
}
|
|
185
|
-
.eds-datepicker__open-calendar-button.eds-icon-button {
|
|
186
|
-
color: #181c56;
|
|
187
|
-
}
|
|
188
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:hover {
|
|
189
|
-
background-color: #656782;
|
|
190
|
-
color: #ffffff;
|
|
191
|
-
}
|
|
192
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:focus {
|
|
193
|
-
border: 0.0625rem solid #181c56;
|
|
194
|
-
}
|
|
195
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:active {
|
|
196
|
-
background-color: #8285a8;
|
|
197
|
-
}
|
|
198
|
-
.eds-datepicker__datefield {
|
|
199
|
-
padding-right: 4rem;
|
|
200
|
-
}
|
|
201
|
-
.eds-datepicker__datefield--disabled {
|
|
202
|
-
padding-right: 1rem;
|
|
203
|
-
}
|
|
204
|
-
.eds-datepicker__datefield__wrapper {
|
|
205
|
-
position: relative;
|
|
206
|
-
}
|
|
207
|
-
.eds-datepicker__calendar-modal.eds-modal__content {
|
|
208
|
-
padding: 0;
|
|
209
|
-
padding: initial;
|
|
210
|
-
width: inherit;
|
|
211
|
-
background-color: transparent;
|
|
212
|
-
background-color: initial;
|
|
213
|
-
overflow: scroll;
|
|
214
|
-
}
|
|
215
|
-
/* DO NOT CHANGE!*/
|
|
216
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
217
219
|
.eds-timepicker__wrapper {
|
|
218
220
|
position: relative;
|
|
219
221
|
display: flex;
|
|
220
222
|
align-items: center;
|
|
221
223
|
width: -moz-fit-content;
|
|
222
224
|
width: fit-content;
|
|
225
|
+
height: -moz-fit-content;
|
|
226
|
+
height: fit-content;
|
|
223
227
|
}
|
|
224
228
|
.eds-timepicker__wrapper .eds-timepicker {
|
|
225
229
|
justify-content: center;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/datepicker",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.6",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/datepicker.esm.js",
|
|
@@ -27,14 +27,14 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/a11y": "^0.2.
|
|
31
|
-
"@entur/button": "^3.1.
|
|
32
|
-
"@entur/form": "^7.0.
|
|
33
|
-
"@entur/icons": "^6.11.
|
|
34
|
-
"@entur/modal": "^1.7.
|
|
35
|
-
"@entur/tokens": "^3.
|
|
36
|
-
"@entur/tooltip": "^2.6.
|
|
37
|
-
"@entur/typography": "^1.8.
|
|
30
|
+
"@entur/a11y": "^0.2.71",
|
|
31
|
+
"@entur/button": "^3.1.9",
|
|
32
|
+
"@entur/form": "^7.0.25",
|
|
33
|
+
"@entur/icons": "^6.11.2",
|
|
34
|
+
"@entur/modal": "^1.7.18",
|
|
35
|
+
"@entur/tokens": "^3.11.0",
|
|
36
|
+
"@entur/tooltip": "^2.6.34",
|
|
37
|
+
"@entur/typography": "^1.8.15",
|
|
38
38
|
"@entur/utils": "^0.9.5",
|
|
39
39
|
"@floating-ui/react-dom": "^1.0.0",
|
|
40
40
|
"@internationalized/date": "^3.4.0",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"node": "16.17.0",
|
|
53
53
|
"yarn": "1.22.19"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "cd8bd67e916e644093ba1390154ccc96fa6f048f"
|
|
56
56
|
}
|