@entur/datepicker 8.1.6 → 8.1.8-alpha.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 +63 -63
- package/package.json +10 -10
package/dist/styles.css
CHANGED
|
@@ -1,46 +1,47 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
-
.eds-
|
|
4
|
-
|
|
5
|
-
width: -moz-fit-content;
|
|
6
|
-
width: fit-content;
|
|
7
|
-
height: -moz-fit-content;
|
|
8
|
-
height: fit-content;
|
|
3
|
+
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
4
|
+
text-align: right;
|
|
9
5
|
}
|
|
10
|
-
.eds-
|
|
11
|
-
|
|
12
|
-
right: 0.5rem;
|
|
13
|
-
top: 0.45rem;
|
|
6
|
+
[dir="rtl"] .eds-date-and-time-field__segment {
|
|
7
|
+
text-align: left;
|
|
14
8
|
}
|
|
15
|
-
.eds-
|
|
16
|
-
|
|
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;
|
|
17
14
|
}
|
|
18
|
-
.eds-
|
|
15
|
+
.eds-date-and-time-field__segment--placeholder {
|
|
16
|
+
color: #646464;
|
|
17
|
+
}
|
|
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 {
|
|
19
23
|
background-color: #656782;
|
|
20
24
|
color: #ffffff;
|
|
25
|
+
outline: none;
|
|
26
|
+
border-radius: 0.0625rem;
|
|
21
27
|
}
|
|
22
|
-
.eds-
|
|
23
|
-
|
|
24
|
-
}
|
|
25
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:active {
|
|
26
|
-
background-color: #8285a8;
|
|
28
|
+
.eds-datefield div:first-of-type.eds-date-and-time-field__segment {
|
|
29
|
+
margin-left: 1rem;
|
|
27
30
|
}
|
|
28
|
-
.eds-
|
|
29
|
-
|
|
31
|
+
.eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
|
|
32
|
+
border-color: transparent;
|
|
33
|
+
box-shadow: none;
|
|
30
34
|
}
|
|
31
|
-
.eds-
|
|
32
|
-
|
|
35
|
+
.eds-datefield.eds-form-control-wrapper--disabled:focus-within {
|
|
36
|
+
border-color: transparent;
|
|
37
|
+
box-shadow: none;
|
|
33
38
|
}
|
|
34
|
-
.eds-
|
|
35
|
-
|
|
39
|
+
.eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
40
|
+
background: none;
|
|
36
41
|
}
|
|
37
|
-
.eds-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
width: inherit;
|
|
41
|
-
background-color: transparent;
|
|
42
|
-
background-color: initial;
|
|
43
|
-
overflow: scroll;
|
|
42
|
+
.eds-datefield .eds-form-control__append--tooltip {
|
|
43
|
+
margin-top: 0.75rem;
|
|
44
|
+
margin-right: -0.25rem;
|
|
44
45
|
}
|
|
45
46
|
/* DO NOT CHANGE!*/
|
|
46
47
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -171,48 +172,47 @@
|
|
|
171
172
|
}
|
|
172
173
|
/* DO NOT CHANGE!*/
|
|
173
174
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
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;
|
|
175
|
+
.eds-datepicker {
|
|
176
|
+
position: relative;
|
|
177
|
+
width: -moz-fit-content;
|
|
178
|
+
width: fit-content;
|
|
179
|
+
height: -moz-fit-content;
|
|
180
|
+
height: fit-content;
|
|
185
181
|
}
|
|
186
|
-
.eds-
|
|
187
|
-
|
|
182
|
+
.eds-datepicker__open-calendar-button {
|
|
183
|
+
position: absolute;
|
|
184
|
+
right: 0.5rem;
|
|
185
|
+
top: 0.45rem;
|
|
188
186
|
}
|
|
189
|
-
.eds-
|
|
190
|
-
|
|
191
|
-
margin-right: -0.2rem;
|
|
187
|
+
.eds-datepicker__open-calendar-button.eds-icon-button {
|
|
188
|
+
color: #181c56;
|
|
192
189
|
}
|
|
193
|
-
.eds-
|
|
190
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:hover {
|
|
194
191
|
background-color: #656782;
|
|
195
192
|
color: #ffffff;
|
|
196
|
-
outline: none;
|
|
197
|
-
border-radius: 0.0625rem;
|
|
198
193
|
}
|
|
199
|
-
.eds-
|
|
200
|
-
|
|
194
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:focus {
|
|
195
|
+
border: 0.0625rem solid #181c56;
|
|
201
196
|
}
|
|
202
|
-
.eds-
|
|
203
|
-
|
|
204
|
-
box-shadow: none;
|
|
197
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:active {
|
|
198
|
+
background-color: #8285a8;
|
|
205
199
|
}
|
|
206
|
-
.eds-
|
|
207
|
-
|
|
208
|
-
box-shadow: none;
|
|
200
|
+
.eds-datepicker__datefield {
|
|
201
|
+
padding-right: 4rem;
|
|
209
202
|
}
|
|
210
|
-
.eds-
|
|
211
|
-
|
|
203
|
+
.eds-datepicker__datefield--disabled {
|
|
204
|
+
padding-right: 1rem;
|
|
212
205
|
}
|
|
213
|
-
.eds-
|
|
214
|
-
|
|
215
|
-
|
|
206
|
+
.eds-datepicker__datefield__wrapper {
|
|
207
|
+
position: relative;
|
|
208
|
+
}
|
|
209
|
+
.eds-datepicker__calendar-modal.eds-modal__content {
|
|
210
|
+
padding: 0;
|
|
211
|
+
padding: initial;
|
|
212
|
+
width: inherit;
|
|
213
|
+
background-color: transparent;
|
|
214
|
+
background-color: initial;
|
|
215
|
+
overflow: scroll;
|
|
216
216
|
}
|
|
217
217
|
/* DO NOT CHANGE!*/
|
|
218
218
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/datepicker",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.8-alpha.0",
|
|
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.
|
|
34
|
-
"@entur/modal": "^1.7.
|
|
35
|
-
"@entur/tokens": "^3.11.0",
|
|
36
|
-
"@entur/tooltip": "^2.6.
|
|
37
|
-
"@entur/typography": "^1.8.
|
|
30
|
+
"@entur/a11y": "^0.2.72-alpha.0",
|
|
31
|
+
"@entur/button": "^3.1.11-alpha.0",
|
|
32
|
+
"@entur/form": "^7.0.27-alpha.0",
|
|
33
|
+
"@entur/icons": "^6.12.1-alpha.0",
|
|
34
|
+
"@entur/modal": "^1.7.20-alpha.0",
|
|
35
|
+
"@entur/tokens": "^3.11.1-alpha.0",
|
|
36
|
+
"@entur/tooltip": "^2.6.36-alpha.0",
|
|
37
|
+
"@entur/typography": "^1.8.17-alpha.0",
|
|
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": "957d432b3633e7f973ea9ffb0219d21f6b598980"
|
|
56
56
|
}
|