@entur/datepicker 9.4.3 → 9.4.5
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 +62 -62
- package/package.json +10 -10
package/dist/styles.css
CHANGED
|
@@ -1,5 +1,49 @@
|
|
|
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: var(--components-datepicker-calendar-icon);
|
|
17
|
+
}
|
|
18
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:hover {
|
|
19
|
+
background-color: var(--components-button-iconbutton-standard-hover);
|
|
20
|
+
}
|
|
21
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:focus {
|
|
22
|
+
outline: 2px solid #181c56;
|
|
23
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
24
|
+
outline-offset: 0.125rem;
|
|
25
|
+
}
|
|
26
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:active {
|
|
27
|
+
background-color: var(--components-button-iconbutton-standard-active);
|
|
28
|
+
}
|
|
29
|
+
.eds-datepicker__datefield {
|
|
30
|
+
padding-right: 4rem;
|
|
31
|
+
}
|
|
32
|
+
.eds-datepicker__datefield--disabled {
|
|
33
|
+
padding-right: 1rem;
|
|
34
|
+
}
|
|
35
|
+
.eds-datepicker__datefield__wrapper {
|
|
36
|
+
position: relative;
|
|
37
|
+
}
|
|
38
|
+
.eds-datepicker__calendar-modal.eds-modal__content {
|
|
39
|
+
padding: 0;
|
|
40
|
+
padding: initial;
|
|
41
|
+
width: inherit;
|
|
42
|
+
background-color: transparent;
|
|
43
|
+
background-color: initial;
|
|
44
|
+
}
|
|
45
|
+
/* DO NOT CHANGE!*/
|
|
46
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
47
|
.eds-datepicker__calendar,
|
|
4
48
|
.eds-contrast .eds-datepicker__calendar {
|
|
5
49
|
width: -moz-fit-content;
|
|
@@ -142,68 +186,6 @@
|
|
|
142
186
|
.eds-contrast .eds-datepicker__calendar__grid__cell--today {
|
|
143
187
|
border-bottom: 2px solid var(--components-datepicker-calendar-stroke-today);
|
|
144
188
|
}
|
|
145
|
-
.eds-datefield div:first-of-type.eds-date-and-time-field__segment {
|
|
146
|
-
margin-left: 1rem;
|
|
147
|
-
}
|
|
148
|
-
.eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
|
|
149
|
-
border-color: transparent;
|
|
150
|
-
box-shadow: none;
|
|
151
|
-
}
|
|
152
|
-
.eds-datefield.eds-form-control-wrapper--disabled:focus-within {
|
|
153
|
-
border-color: transparent;
|
|
154
|
-
box-shadow: none;
|
|
155
|
-
}
|
|
156
|
-
.eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
157
|
-
background: none;
|
|
158
|
-
}
|
|
159
|
-
.eds-datefield .eds-form-control__append--tooltip {
|
|
160
|
-
margin-top: 0.75rem;
|
|
161
|
-
margin-right: -0.25rem;
|
|
162
|
-
}
|
|
163
|
-
/* DO NOT CHANGE!*/
|
|
164
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
165
|
-
.eds-datepicker {
|
|
166
|
-
position: relative;
|
|
167
|
-
width: -moz-fit-content;
|
|
168
|
-
width: fit-content;
|
|
169
|
-
height: -moz-fit-content;
|
|
170
|
-
height: fit-content;
|
|
171
|
-
}
|
|
172
|
-
.eds-datepicker__open-calendar-button {
|
|
173
|
-
position: absolute;
|
|
174
|
-
right: 0.5rem;
|
|
175
|
-
top: 0.45rem;
|
|
176
|
-
}
|
|
177
|
-
.eds-datepicker__open-calendar-button.eds-icon-button {
|
|
178
|
-
color: var(--components-datepicker-calendar-icon);
|
|
179
|
-
}
|
|
180
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:hover {
|
|
181
|
-
background-color: var(--components-button-iconbutton-standard-hover);
|
|
182
|
-
}
|
|
183
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:focus {
|
|
184
|
-
outline: 2px solid #181c56;
|
|
185
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
186
|
-
outline-offset: 0.125rem;
|
|
187
|
-
}
|
|
188
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:active {
|
|
189
|
-
background-color: var(--components-button-iconbutton-standard-active);
|
|
190
|
-
}
|
|
191
|
-
.eds-datepicker__datefield {
|
|
192
|
-
padding-right: 4rem;
|
|
193
|
-
}
|
|
194
|
-
.eds-datepicker__datefield--disabled {
|
|
195
|
-
padding-right: 1rem;
|
|
196
|
-
}
|
|
197
|
-
.eds-datepicker__datefield__wrapper {
|
|
198
|
-
position: relative;
|
|
199
|
-
}
|
|
200
|
-
.eds-datepicker__calendar-modal.eds-modal__content {
|
|
201
|
-
padding: 0;
|
|
202
|
-
padding: initial;
|
|
203
|
-
width: inherit;
|
|
204
|
-
background-color: transparent;
|
|
205
|
-
background-color: initial;
|
|
206
|
-
}
|
|
207
189
|
/* DO NOT CHANGE!*/
|
|
208
190
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
209
191
|
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
@@ -230,6 +212,24 @@
|
|
|
230
212
|
outline: transparent;
|
|
231
213
|
border-radius: 0.0625rem;
|
|
232
214
|
}
|
|
215
|
+
.eds-datefield div:first-of-type.eds-date-and-time-field__segment {
|
|
216
|
+
margin-left: 1rem;
|
|
217
|
+
}
|
|
218
|
+
.eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
|
|
219
|
+
border-color: transparent;
|
|
220
|
+
box-shadow: none;
|
|
221
|
+
}
|
|
222
|
+
.eds-datefield.eds-form-control-wrapper--disabled:focus-within {
|
|
223
|
+
border-color: transparent;
|
|
224
|
+
box-shadow: none;
|
|
225
|
+
}
|
|
226
|
+
.eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
227
|
+
background: none;
|
|
228
|
+
}
|
|
229
|
+
.eds-datefield .eds-form-control__append--tooltip {
|
|
230
|
+
margin-top: 0.75rem;
|
|
231
|
+
margin-right: -0.25rem;
|
|
232
|
+
}
|
|
233
233
|
/* DO NOT CHANGE!*/
|
|
234
234
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
235
235
|
.eds-timepicker__wrapper {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/datepicker",
|
|
3
|
-
"version": "9.4.
|
|
3
|
+
"version": "9.4.5",
|
|
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.2.
|
|
32
|
-
"@entur/form": "^7.1.
|
|
33
|
-
"@entur/icons": "^6.
|
|
34
|
-
"@entur/modal": "^1.7.
|
|
35
|
-
"@entur/tokens": "^3.
|
|
36
|
-
"@entur/tooltip": "^2.7.
|
|
37
|
-
"@entur/typography": "^1.8.
|
|
30
|
+
"@entur/a11y": "^0.2.84",
|
|
31
|
+
"@entur/button": "^3.2.21",
|
|
32
|
+
"@entur/form": "^7.1.5",
|
|
33
|
+
"@entur/icons": "^6.16.0",
|
|
34
|
+
"@entur/modal": "^1.7.42",
|
|
35
|
+
"@entur/tokens": "^3.14.0",
|
|
36
|
+
"@entur/tooltip": "^2.7.5",
|
|
37
|
+
"@entur/typography": "^1.8.34",
|
|
38
38
|
"@entur/utils": "^0.11.1",
|
|
39
39
|
"@floating-ui/react-dom": "^1.0.0",
|
|
40
40
|
"@internationalized/date": "^3.4.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": "5044cdb815a75fc0eff204cedd98e4d1c7d1971e"
|
|
52
52
|
}
|