@entur/datepicker 10.0.3-beta.0 → 10.0.3-beta.1
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 +9 -9
package/dist/styles.css
CHANGED
|
@@ -1,34 +1,49 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
-
.eds-
|
|
4
|
-
|
|
3
|
+
.eds-datefield {
|
|
4
|
+
width: -moz-fit-content;
|
|
5
|
+
width: fit-content;
|
|
5
6
|
}
|
|
6
|
-
.eds-
|
|
7
|
-
|
|
7
|
+
.eds-datefield .eds-form-control-wrapper {
|
|
8
|
+
padding-left: 1rem;
|
|
9
|
+
padding-right: 1rem;
|
|
8
10
|
}
|
|
9
|
-
.eds-
|
|
10
|
-
color:
|
|
11
|
+
.eds-datefield .eds-form-control-wrapper--disabled[focus-within] {
|
|
12
|
+
border-color: transparent;
|
|
13
|
+
box-shadow: none;
|
|
11
14
|
}
|
|
12
|
-
.eds-
|
|
13
|
-
|
|
15
|
+
.eds-datefield .eds-form-control-wrapper--disabled:focus-within {
|
|
16
|
+
border-color: transparent;
|
|
17
|
+
box-shadow: none;
|
|
14
18
|
}
|
|
15
|
-
.eds-
|
|
16
|
-
|
|
17
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
18
|
-
outline-offset: 0.125rem;
|
|
19
|
+
.eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
20
|
+
background: none;
|
|
19
21
|
}
|
|
20
|
-
|
|
21
|
-
|
|
22
|
+
/* DO NOT CHANGE!*/
|
|
23
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
24
|
+
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
25
|
+
text-align: right;
|
|
22
26
|
}
|
|
23
|
-
.eds-
|
|
24
|
-
|
|
27
|
+
[dir="rtl"] .eds-date-and-time-field__segment {
|
|
28
|
+
text-align: left;
|
|
25
29
|
}
|
|
26
|
-
.eds-
|
|
27
|
-
|
|
28
|
-
padding:
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
30
|
+
.eds-date-and-time-field__segment {
|
|
31
|
+
margin-top: 1rem;
|
|
32
|
+
padding: 0 2px;
|
|
33
|
+
font-feature-settings: "tnum";
|
|
34
|
+
font-variant-numeric: tabular-nums;
|
|
35
|
+
}
|
|
36
|
+
.eds-date-and-time-field__segment--placeholder {
|
|
37
|
+
color: var(--components-datepicker-datefield-standard-text-content);
|
|
38
|
+
}
|
|
39
|
+
.eds-date-and-time-field__segment--dot-separator {
|
|
40
|
+
margin-left: -0.1rem;
|
|
41
|
+
margin-right: -0.2rem;
|
|
42
|
+
}
|
|
43
|
+
.eds-date-and-time-field__segment:focus {
|
|
44
|
+
background-color: var(--components-button-iconbutton-standard-active);
|
|
45
|
+
outline: transparent;
|
|
46
|
+
border-radius: 0.0625rem;
|
|
32
47
|
}
|
|
33
48
|
/* DO NOT CHANGE!*/
|
|
34
49
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -176,50 +191,39 @@
|
|
|
176
191
|
}
|
|
177
192
|
/* DO NOT CHANGE!*/
|
|
178
193
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
179
|
-
.eds-datefield {
|
|
180
|
-
|
|
181
|
-
width: fit-content;
|
|
182
|
-
}
|
|
183
|
-
.eds-datefield .eds-form-control-wrapper {
|
|
184
|
-
padding-left: 1rem;
|
|
185
|
-
padding-right: 1rem;
|
|
186
|
-
}
|
|
187
|
-
.eds-datefield .eds-form-control-wrapper--disabled[focus-within] {
|
|
188
|
-
border-color: transparent;
|
|
189
|
-
box-shadow: none;
|
|
194
|
+
.eds-datepicker.eds-datefield .eds-form-control-wrapper {
|
|
195
|
+
padding-right: 0rem;
|
|
190
196
|
}
|
|
191
|
-
.eds-
|
|
192
|
-
|
|
193
|
-
box-shadow: none;
|
|
197
|
+
.eds-datepicker__open-calendar-button {
|
|
198
|
+
margin: 0rem 0.25rem 0rem 0.5rem;
|
|
194
199
|
}
|
|
195
|
-
.eds-
|
|
196
|
-
|
|
200
|
+
.eds-datepicker__open-calendar-button.eds-icon-button {
|
|
201
|
+
color: var(--components-datepicker-calendar-icon);
|
|
197
202
|
}
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
201
|
-
text-align: right;
|
|
203
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:hover {
|
|
204
|
+
background-color: var(--components-button-iconbutton-standard-hover);
|
|
202
205
|
}
|
|
203
|
-
|
|
204
|
-
|
|
206
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:focus {
|
|
207
|
+
outline: 2px solid #181c56;
|
|
208
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
209
|
+
outline-offset: 0.125rem;
|
|
205
210
|
}
|
|
206
|
-
.eds-
|
|
207
|
-
|
|
208
|
-
padding: 0 2px;
|
|
209
|
-
font-feature-settings: "tnum";
|
|
210
|
-
font-variant-numeric: tabular-nums;
|
|
211
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:active {
|
|
212
|
+
background-color: var(--components-button-iconbutton-standard-active);
|
|
211
213
|
}
|
|
212
|
-
.eds-
|
|
213
|
-
|
|
214
|
+
.eds-datepicker--disabled {
|
|
215
|
+
padding-right: 1rem;
|
|
214
216
|
}
|
|
215
|
-
.eds-
|
|
216
|
-
|
|
217
|
-
|
|
217
|
+
.eds-datepicker__calendar-modal.eds-modal__content {
|
|
218
|
+
padding: 0;
|
|
219
|
+
padding: initial;
|
|
220
|
+
width: inherit;
|
|
221
|
+
background-color: transparent;
|
|
222
|
+
background-color: initial;
|
|
218
223
|
}
|
|
219
|
-
.eds-
|
|
220
|
-
|
|
221
|
-
|
|
222
|
-
border-radius: 0.0625rem;
|
|
224
|
+
.eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
|
|
225
|
+
position: relative;
|
|
226
|
+
top: -0.5rem;
|
|
223
227
|
}
|
|
224
228
|
/* DO NOT CHANGE!*/
|
|
225
229
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -260,10 +264,6 @@
|
|
|
260
264
|
.eds-timepicker .eds-icon-button--disabled__wrapper {
|
|
261
265
|
display: none;
|
|
262
266
|
}
|
|
263
|
-
.eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
|
|
264
|
-
position: relative;
|
|
265
|
-
top: -0.5rem;
|
|
266
|
-
}
|
|
267
267
|
.eds-simple-timepicker {
|
|
268
268
|
--input-width: 7rem;
|
|
269
269
|
width: var(--input-width);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/datepicker",
|
|
3
|
-
"version": "10.0.3-beta.
|
|
3
|
+
"version": "10.0.3-beta.1",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/datepicker.esm.js",
|
|
@@ -27,15 +27,15 @@
|
|
|
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": "^8.1.0-beta.
|
|
30
|
+
"@entur/a11y": "^0.2.90-beta.0",
|
|
31
|
+
"@entur/button": "^3.2.31-beta.0",
|
|
32
|
+
"@entur/form": "^8.1.0-beta.1",
|
|
33
33
|
"@entur/icons": "^7.2.0",
|
|
34
|
-
"@entur/modal": "^1.7.
|
|
34
|
+
"@entur/modal": "^1.7.52-beta.0",
|
|
35
35
|
"@entur/tokens": "^3.17.0",
|
|
36
|
-
"@entur/tooltip": "^4.0.0-beta.
|
|
37
|
-
"@entur/typography": "^1.8.
|
|
38
|
-
"@entur/utils": "^0.11.
|
|
36
|
+
"@entur/tooltip": "^4.0.0-beta.1",
|
|
37
|
+
"@entur/typography": "^1.8.44-beta.0",
|
|
38
|
+
"@entur/utils": "^0.11.2-beta.0",
|
|
39
39
|
"@floating-ui/react-dom": "^2.1.0",
|
|
40
40
|
"@internationalized/date": "^3.4.0",
|
|
41
41
|
"@react-aria/button": "^3.6.4",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"classnames": "^2.3.1",
|
|
49
49
|
"react-focus-lock": "^2.9.1"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "bf6f8921dac8b869172f77ab6da76401e40bbc9b"
|
|
52
52
|
}
|