@entur/datepicker 8.0.14 → 8.0.15-beta.0
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 +81 -81
- package/package.json +3 -3
package/dist/styles.css
CHANGED
|
@@ -1,20 +1,71 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
1
|
+
/* DO NOT CHANGE!*/
|
|
2
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
+
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
4
|
+
text-align: right;
|
|
3
5
|
}
|
|
4
|
-
.eds-
|
|
5
|
-
|
|
6
|
-
box-shadow: none;
|
|
6
|
+
[dir="rtl"] .eds-date-and-time-field__segment {
|
|
7
|
+
text-align: left;
|
|
7
8
|
}
|
|
8
|
-
.eds-
|
|
9
|
-
|
|
10
|
-
|
|
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;
|
|
11
14
|
}
|
|
12
|
-
.eds-
|
|
13
|
-
|
|
15
|
+
.eds-date-and-time-field__segment--placeholder {
|
|
16
|
+
color: #646464;
|
|
14
17
|
}
|
|
15
|
-
.eds-
|
|
16
|
-
margin-
|
|
17
|
-
margin-right: -0.
|
|
18
|
+
.eds-date-and-time-field__segment--dot-separator {
|
|
19
|
+
margin-left: -0.1rem;
|
|
20
|
+
margin-right: -0.2rem;
|
|
21
|
+
}
|
|
22
|
+
.eds-date-and-time-field__segment:focus {
|
|
23
|
+
background-color: #656782;
|
|
24
|
+
color: #ffffff;
|
|
25
|
+
outline: none;
|
|
26
|
+
border-radius: 0.0625rem;
|
|
27
|
+
}
|
|
28
|
+
/* DO NOT CHANGE!*/
|
|
29
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
30
|
+
.eds-datepicker {
|
|
31
|
+
position: relative;
|
|
32
|
+
width: -moz-fit-content;
|
|
33
|
+
width: fit-content;
|
|
34
|
+
}
|
|
35
|
+
.eds-datepicker__open-calendar-button {
|
|
36
|
+
position: absolute;
|
|
37
|
+
right: 0.5rem;
|
|
38
|
+
top: 0.45rem;
|
|
39
|
+
}
|
|
40
|
+
.eds-datepicker__open-calendar-button.eds-icon-button {
|
|
41
|
+
color: #181c56;
|
|
42
|
+
}
|
|
43
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:hover {
|
|
44
|
+
background-color: #656782;
|
|
45
|
+
color: #ffffff;
|
|
46
|
+
}
|
|
47
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:focus {
|
|
48
|
+
border: 0.0625rem solid #181c56;
|
|
49
|
+
}
|
|
50
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:active {
|
|
51
|
+
background-color: #8285a8;
|
|
52
|
+
}
|
|
53
|
+
.eds-datepicker__datefield {
|
|
54
|
+
padding-right: 4rem;
|
|
55
|
+
}
|
|
56
|
+
.eds-datepicker__datefield--disabled {
|
|
57
|
+
padding-right: 1rem;
|
|
58
|
+
}
|
|
59
|
+
.eds-datepicker__datefield__wrapper {
|
|
60
|
+
position: relative;
|
|
61
|
+
}
|
|
62
|
+
.eds-datepicker__calendar-modal.eds-modal__content {
|
|
63
|
+
padding: 0;
|
|
64
|
+
padding: initial;
|
|
65
|
+
width: inherit;
|
|
66
|
+
background-color: transparent;
|
|
67
|
+
background-color: initial;
|
|
68
|
+
overflow: scroll;
|
|
18
69
|
}
|
|
19
70
|
/* DO NOT CHANGE!*/
|
|
20
71
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -143,78 +194,23 @@
|
|
|
143
194
|
.eds-contrast .eds-datepicker__calendar__grid__cell--today {
|
|
144
195
|
border-bottom: 2px solid #ff5959;
|
|
145
196
|
}
|
|
146
|
-
|
|
147
|
-
|
|
148
|
-
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
149
|
-
text-align: right;
|
|
150
|
-
}
|
|
151
|
-
[dir="rtl"] .eds-date-and-time-field__segment {
|
|
152
|
-
text-align: left;
|
|
153
|
-
}
|
|
154
|
-
.eds-date-and-time-field__segment {
|
|
155
|
-
margin-top: 1rem;
|
|
156
|
-
padding: 0 2px;
|
|
157
|
-
font-feature-settings: "tnum";
|
|
158
|
-
font-variant-numeric: tabular-nums;
|
|
159
|
-
}
|
|
160
|
-
.eds-date-and-time-field__segment--placeholder {
|
|
161
|
-
color: #646464;
|
|
162
|
-
}
|
|
163
|
-
.eds-date-and-time-field__segment--dot-separator {
|
|
164
|
-
margin-left: -0.1rem;
|
|
165
|
-
margin-right: -0.2rem;
|
|
166
|
-
}
|
|
167
|
-
.eds-date-and-time-field__segment:focus {
|
|
168
|
-
background-color: #656782;
|
|
169
|
-
color: #ffffff;
|
|
170
|
-
outline: none;
|
|
171
|
-
border-radius: 0.0625rem;
|
|
172
|
-
}
|
|
173
|
-
/* DO NOT CHANGE!*/
|
|
174
|
-
/* 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;
|
|
197
|
+
.eds-datefield div:first-of-type.eds-date-and-time-field__segment {
|
|
198
|
+
margin-left: 1rem;
|
|
200
199
|
}
|
|
201
|
-
.eds-
|
|
202
|
-
|
|
200
|
+
.eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
|
|
201
|
+
border-color: transparent;
|
|
202
|
+
box-shadow: none;
|
|
203
203
|
}
|
|
204
|
-
.eds-
|
|
205
|
-
|
|
204
|
+
.eds-datefield.eds-form-control-wrapper--disabled:focus-within {
|
|
205
|
+
border-color: transparent;
|
|
206
|
+
box-shadow: none;
|
|
206
207
|
}
|
|
207
|
-
.eds-
|
|
208
|
-
|
|
209
|
-
padding: initial;
|
|
210
|
-
width: inherit;
|
|
211
|
-
background-color: transparent;
|
|
212
|
-
background-color: initial;
|
|
213
|
-
overflow: scroll;
|
|
208
|
+
.eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
209
|
+
background: none;
|
|
214
210
|
}
|
|
215
|
-
.eds-
|
|
216
|
-
|
|
217
|
-
|
|
211
|
+
.eds-datefield .eds-form-control__append--tooltip {
|
|
212
|
+
margin-top: 0.75rem;
|
|
213
|
+
margin-right: -0.25rem;
|
|
218
214
|
}
|
|
219
215
|
/* DO NOT CHANGE!*/
|
|
220
216
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -264,6 +260,10 @@
|
|
|
264
260
|
position: absolute;
|
|
265
261
|
top: 3.5rem;
|
|
266
262
|
}
|
|
263
|
+
.eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
|
|
264
|
+
position: relative;
|
|
265
|
+
top: -0.5rem;
|
|
266
|
+
}
|
|
267
267
|
:root {
|
|
268
268
|
--eds-datepicker: 1;
|
|
269
269
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/datepicker",
|
|
3
|
-
"version": "8.0.
|
|
3
|
+
"version": "8.0.15-beta.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/datepicker.esm.js",
|
|
@@ -29,7 +29,7 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@entur/a11y": "^0.2.70",
|
|
31
31
|
"@entur/button": "^3.1.2",
|
|
32
|
-
"@entur/form": "^7.0.
|
|
32
|
+
"@entur/form": "^7.0.18-beta.0",
|
|
33
33
|
"@entur/icons": "^6.5.0",
|
|
34
34
|
"@entur/modal": "^1.7.11",
|
|
35
35
|
"@entur/tokens": "^3.10.0",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"node": "16.17.0",
|
|
53
53
|
"yarn": "1.22.19"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "faeadfa30668a407f4078806d12cdda42195b4b8"
|
|
56
56
|
}
|