@entur/datepicker 9.1.1 → 9.1.2
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 +80 -74
- package/package.json +6 -6
package/dist/styles.css
CHANGED
|
@@ -1,5 +1,75 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
+
.eds-datepicker {
|
|
4
|
+
position: relative;
|
|
5
|
+
width: -moz-fit-content;
|
|
6
|
+
width: fit-content;
|
|
7
|
+
height: -moz-fit-content;
|
|
8
|
+
height: fit-content;
|
|
9
|
+
}
|
|
10
|
+
.eds-datepicker__open-calendar-button {
|
|
11
|
+
position: absolute;
|
|
12
|
+
right: 0.5rem;
|
|
13
|
+
top: 0.45rem;
|
|
14
|
+
}
|
|
15
|
+
.eds-datepicker__open-calendar-button.eds-icon-button {
|
|
16
|
+
color: #181c56;
|
|
17
|
+
}
|
|
18
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:hover {
|
|
19
|
+
background-color: #656782;
|
|
20
|
+
color: #ffffff;
|
|
21
|
+
}
|
|
22
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:focus {
|
|
23
|
+
outline: 2px 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
|
+
}
|
|
44
|
+
/* DO NOT CHANGE!*/
|
|
45
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
46
|
+
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
47
|
+
text-align: right;
|
|
48
|
+
}
|
|
49
|
+
[dir="rtl"] .eds-date-and-time-field__segment {
|
|
50
|
+
text-align: left;
|
|
51
|
+
}
|
|
52
|
+
.eds-date-and-time-field__segment {
|
|
53
|
+
margin-top: 1rem;
|
|
54
|
+
padding: 0 2px;
|
|
55
|
+
font-feature-settings: "tnum";
|
|
56
|
+
font-variant-numeric: tabular-nums;
|
|
57
|
+
}
|
|
58
|
+
.eds-date-and-time-field__segment--placeholder {
|
|
59
|
+
color: #646464;
|
|
60
|
+
}
|
|
61
|
+
.eds-date-and-time-field__segment--dot-separator {
|
|
62
|
+
margin-left: -0.1rem;
|
|
63
|
+
margin-right: -0.2rem;
|
|
64
|
+
}
|
|
65
|
+
.eds-date-and-time-field__segment:focus {
|
|
66
|
+
background-color: #656782;
|
|
67
|
+
color: #ffffff;
|
|
68
|
+
outline: transparent;
|
|
69
|
+
border-radius: 0.0625rem;
|
|
70
|
+
}
|
|
71
|
+
/* DO NOT CHANGE!*/
|
|
72
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
73
|
.eds-datepicker__calendar,
|
|
4
74
|
.eds-contrast .eds-datepicker__calendar {
|
|
5
75
|
width: -moz-fit-content;
|
|
@@ -29,7 +99,7 @@
|
|
|
29
99
|
}
|
|
30
100
|
.eds-datepicker__calendar__header .eds-icon-button:focus,
|
|
31
101
|
.eds-contrast .eds-datepicker__calendar__header .eds-icon-button:focus {
|
|
32
|
-
|
|
102
|
+
outline: 2px solid #181c56;
|
|
33
103
|
}
|
|
34
104
|
.eds-datepicker__calendar__header .eds-icon-button:active,
|
|
35
105
|
.eds-contrast .eds-datepicker__calendar__header .eds-icon-button:active {
|
|
@@ -125,49 +195,6 @@
|
|
|
125
195
|
.eds-contrast .eds-datepicker__calendar__grid__cell--today {
|
|
126
196
|
border-bottom: 2px solid #ff5959;
|
|
127
197
|
}
|
|
128
|
-
/* DO NOT CHANGE!*/
|
|
129
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
130
|
-
.eds-datepicker {
|
|
131
|
-
position: relative;
|
|
132
|
-
width: -moz-fit-content;
|
|
133
|
-
width: fit-content;
|
|
134
|
-
height: -moz-fit-content;
|
|
135
|
-
height: fit-content;
|
|
136
|
-
}
|
|
137
|
-
.eds-datepicker__open-calendar-button {
|
|
138
|
-
position: absolute;
|
|
139
|
-
right: 0.5rem;
|
|
140
|
-
top: 0.45rem;
|
|
141
|
-
}
|
|
142
|
-
.eds-datepicker__open-calendar-button.eds-icon-button {
|
|
143
|
-
color: #181c56;
|
|
144
|
-
}
|
|
145
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:hover {
|
|
146
|
-
background-color: #656782;
|
|
147
|
-
color: #ffffff;
|
|
148
|
-
}
|
|
149
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:focus {
|
|
150
|
-
border: 0.0625rem solid #181c56;
|
|
151
|
-
}
|
|
152
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:active {
|
|
153
|
-
background-color: #8285a8;
|
|
154
|
-
}
|
|
155
|
-
.eds-datepicker__datefield {
|
|
156
|
-
padding-right: 4rem;
|
|
157
|
-
}
|
|
158
|
-
.eds-datepicker__datefield--disabled {
|
|
159
|
-
padding-right: 1rem;
|
|
160
|
-
}
|
|
161
|
-
.eds-datepicker__datefield__wrapper {
|
|
162
|
-
position: relative;
|
|
163
|
-
}
|
|
164
|
-
.eds-datepicker__calendar-modal.eds-modal__content {
|
|
165
|
-
padding: 0;
|
|
166
|
-
padding: initial;
|
|
167
|
-
width: inherit;
|
|
168
|
-
background-color: transparent;
|
|
169
|
-
background-color: initial;
|
|
170
|
-
}
|
|
171
198
|
.eds-datefield div:first-of-type.eds-date-and-time-field__segment {
|
|
172
199
|
margin-left: 1rem;
|
|
173
200
|
}
|
|
@@ -188,33 +215,6 @@
|
|
|
188
215
|
}
|
|
189
216
|
/* DO NOT CHANGE!*/
|
|
190
217
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
191
|
-
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
192
|
-
text-align: right;
|
|
193
|
-
}
|
|
194
|
-
[dir="rtl"] .eds-date-and-time-field__segment {
|
|
195
|
-
text-align: left;
|
|
196
|
-
}
|
|
197
|
-
.eds-date-and-time-field__segment {
|
|
198
|
-
margin-top: 1rem;
|
|
199
|
-
padding: 0 2px;
|
|
200
|
-
font-feature-settings: "tnum";
|
|
201
|
-
font-variant-numeric: tabular-nums;
|
|
202
|
-
}
|
|
203
|
-
.eds-date-and-time-field__segment--placeholder {
|
|
204
|
-
color: #646464;
|
|
205
|
-
}
|
|
206
|
-
.eds-date-and-time-field__segment--dot-separator {
|
|
207
|
-
margin-left: -0.1rem;
|
|
208
|
-
margin-right: -0.2rem;
|
|
209
|
-
}
|
|
210
|
-
.eds-date-and-time-field__segment:focus {
|
|
211
|
-
background-color: #656782;
|
|
212
|
-
color: #ffffff;
|
|
213
|
-
outline: transparent;
|
|
214
|
-
border-radius: 0.0625rem;
|
|
215
|
-
}
|
|
216
|
-
/* DO NOT CHANGE!*/
|
|
217
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
218
218
|
.eds-timepicker__wrapper {
|
|
219
219
|
position: relative;
|
|
220
220
|
display: flex;
|
|
@@ -252,6 +252,12 @@
|
|
|
252
252
|
.eds-timepicker__wrapper .eds-timepicker__arrowbutton:hover {
|
|
253
253
|
background-color: #d1d4e3;
|
|
254
254
|
}
|
|
255
|
+
.eds-timepicker__wrapper .eds-timepicker__arrowbutton:focus {
|
|
256
|
+
outline: 2px solid #181c56;
|
|
257
|
+
}
|
|
258
|
+
.eds-timepicker__wrapper .eds-timepicker__arrowbutton:active {
|
|
259
|
+
background-color: #8285a8;
|
|
260
|
+
}
|
|
255
261
|
.eds-timepicker__wrapper .eds-timepicker .eds-form-control__append--tooltip {
|
|
256
262
|
margin-top: 0.75rem;
|
|
257
263
|
margin-right: -0.25rem;
|
|
@@ -267,9 +273,6 @@
|
|
|
267
273
|
position: relative;
|
|
268
274
|
top: -0.5rem;
|
|
269
275
|
}
|
|
270
|
-
:root {
|
|
271
|
-
--eds-datepicker: 1;
|
|
272
|
-
}
|
|
273
276
|
.eds-simple-timepicker {
|
|
274
277
|
--input-width: 7rem;
|
|
275
278
|
width: var(--input-width);
|
|
@@ -287,3 +290,6 @@
|
|
|
287
290
|
margin-top: -0.2rem;
|
|
288
291
|
margin-left: -0.5rem;
|
|
289
292
|
}
|
|
293
|
+
:root {
|
|
294
|
+
--eds-datepicker: 1;
|
|
295
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/datepicker",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.2",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/datepicker.esm.js",
|
|
@@ -28,12 +28,12 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@entur/a11y": "^0.2.74",
|
|
31
|
-
"@entur/button": "^3.2.
|
|
32
|
-
"@entur/form": "^7.0.
|
|
31
|
+
"@entur/button": "^3.2.6",
|
|
32
|
+
"@entur/form": "^7.0.33",
|
|
33
33
|
"@entur/icons": "^6.13.2",
|
|
34
|
-
"@entur/modal": "^1.7.
|
|
34
|
+
"@entur/modal": "^1.7.26",
|
|
35
35
|
"@entur/tokens": "^3.12.0",
|
|
36
|
-
"@entur/tooltip": "^2.6.
|
|
36
|
+
"@entur/tooltip": "^2.6.42",
|
|
37
37
|
"@entur/typography": "^1.8.20",
|
|
38
38
|
"@entur/utils": "^0.9.5",
|
|
39
39
|
"@floating-ui/react-dom": "^1.0.0",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"classnames": "^2.3.1",
|
|
49
49
|
"react-focus-lock": "^2.9.1"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "05cb986bc4373b1fe20d51c298c4395dd2500843"
|
|
52
52
|
}
|