@entur/datepicker 10.0.13 → 10.1.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 +61 -61
- package/package.json +7 -7
package/dist/styles.css
CHANGED
|
@@ -19,62 +19,6 @@
|
|
|
19
19
|
}
|
|
20
20
|
/* DO NOT CHANGE!*/
|
|
21
21
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
22
|
-
.eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control-wrapper {
|
|
23
|
-
padding-right: 0rem;
|
|
24
|
-
}
|
|
25
|
-
.eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control__append {
|
|
26
|
-
margin-left: auto;
|
|
27
|
-
}
|
|
28
|
-
.eds-datepicker__open-calendar-button {
|
|
29
|
-
margin: 0rem 0.25rem 0rem 0.5rem;
|
|
30
|
-
}
|
|
31
|
-
.eds-datepicker__open-calendar-button.eds-icon-button {
|
|
32
|
-
color: var(--components-datepicker-calendar-icon);
|
|
33
|
-
}
|
|
34
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:hover {
|
|
35
|
-
background-color: var(--components-button-iconbutton-standard-hover);
|
|
36
|
-
}
|
|
37
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:focus {
|
|
38
|
-
outline: 2px solid #181c56;
|
|
39
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
40
|
-
outline-offset: 0.125rem;
|
|
41
|
-
}
|
|
42
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:active {
|
|
43
|
-
background-color: var(--components-button-iconbutton-standard-active);
|
|
44
|
-
}
|
|
45
|
-
.eds-datepicker__calendar-modal.eds-modal__content {
|
|
46
|
-
padding: 0;
|
|
47
|
-
padding: initial;
|
|
48
|
-
width: inherit;
|
|
49
|
-
background-color: transparent;
|
|
50
|
-
background-color: initial;
|
|
51
|
-
}
|
|
52
|
-
/* DO NOT CHANGE!*/
|
|
53
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
54
|
-
.eds-date-and-time-field__segment {
|
|
55
|
-
margin-top: 1rem;
|
|
56
|
-
padding: 0 2px;
|
|
57
|
-
font-feature-settings: "tnum";
|
|
58
|
-
font-variant-numeric: tabular-nums;
|
|
59
|
-
text-align: right;
|
|
60
|
-
}
|
|
61
|
-
.eds-date-and-time-field__segment--placeholder {
|
|
62
|
-
color: var(--components-datepicker-datefield-standard-text-content);
|
|
63
|
-
}
|
|
64
|
-
.eds-date-and-time-field__segment--dot-separator {
|
|
65
|
-
margin-left: -0.1rem;
|
|
66
|
-
margin-right: -0.2rem;
|
|
67
|
-
}
|
|
68
|
-
.eds-date-and-time-field__segment:focus {
|
|
69
|
-
background-color: var(--components-button-iconbutton-standard-active);
|
|
70
|
-
outline: transparent;
|
|
71
|
-
border-radius: 0.0625rem;
|
|
72
|
-
}
|
|
73
|
-
.eds-date-and-time-field__segment[aria-valuemax="9999"] {
|
|
74
|
-
min-width: 4ch;
|
|
75
|
-
}
|
|
76
|
-
/* DO NOT CHANGE!*/
|
|
77
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
78
22
|
.eds-datepicker__calendar,
|
|
79
23
|
.eds-contrast .eds-datepicker__calendar {
|
|
80
24
|
width: -moz-fit-content;
|
|
@@ -106,8 +50,8 @@
|
|
|
106
50
|
.eds-contrast .eds-datepicker__calendar__header .eds-icon-button:hover {
|
|
107
51
|
background-color: var(--components-button-iconbutton-standard-hover);
|
|
108
52
|
}
|
|
109
|
-
.eds-datepicker__calendar__header .eds-icon-button:focus,
|
|
110
|
-
.eds-contrast .eds-datepicker__calendar__header .eds-icon-button:focus {
|
|
53
|
+
.eds-datepicker__calendar__header .eds-icon-button:focus-visible,
|
|
54
|
+
.eds-contrast .eds-datepicker__calendar__header .eds-icon-button:focus-visible {
|
|
111
55
|
outline: 2px solid #181c56;
|
|
112
56
|
outline-color: var(--basecolors-stroke-focus-standard);
|
|
113
57
|
outline-offset: 0.125rem;
|
|
@@ -169,8 +113,8 @@
|
|
|
169
113
|
background-color: var(--components-datepicker-calendar-datefill-selected);
|
|
170
114
|
color: var(--components-datepicker-calendar-text-accent);
|
|
171
115
|
}
|
|
172
|
-
.eds-datepicker__calendar__grid__cell:focus,
|
|
173
|
-
.eds-contrast .eds-datepicker__calendar__grid__cell:focus {
|
|
116
|
+
.eds-datepicker__calendar__grid__cell:focus-visible,
|
|
117
|
+
.eds-contrast .eds-datepicker__calendar__grid__cell:focus-visible {
|
|
174
118
|
outline: 2px solid #181c56;
|
|
175
119
|
outline-color: var(--basecolors-stroke-focus-standard);
|
|
176
120
|
outline-offset: 0.125rem;
|
|
@@ -215,6 +159,62 @@
|
|
|
215
159
|
}
|
|
216
160
|
/* DO NOT CHANGE!*/
|
|
217
161
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
162
|
+
.eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control-wrapper {
|
|
163
|
+
padding-right: 0rem;
|
|
164
|
+
}
|
|
165
|
+
.eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control__append {
|
|
166
|
+
margin-left: auto;
|
|
167
|
+
}
|
|
168
|
+
.eds-datepicker__open-calendar-button {
|
|
169
|
+
margin: 0rem 0.25rem 0rem 0.5rem;
|
|
170
|
+
}
|
|
171
|
+
.eds-datepicker__open-calendar-button.eds-icon-button {
|
|
172
|
+
color: var(--components-datepicker-calendar-icon);
|
|
173
|
+
}
|
|
174
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:hover {
|
|
175
|
+
background-color: var(--components-button-iconbutton-standard-hover);
|
|
176
|
+
}
|
|
177
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:focus-visible {
|
|
178
|
+
outline: 2px solid #181c56;
|
|
179
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
180
|
+
outline-offset: 0.125rem;
|
|
181
|
+
}
|
|
182
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:active {
|
|
183
|
+
background-color: var(--components-button-iconbutton-standard-active);
|
|
184
|
+
}
|
|
185
|
+
.eds-datepicker__calendar-modal.eds-modal__content {
|
|
186
|
+
padding: 0;
|
|
187
|
+
padding: initial;
|
|
188
|
+
width: inherit;
|
|
189
|
+
background-color: transparent;
|
|
190
|
+
background-color: initial;
|
|
191
|
+
}
|
|
192
|
+
/* DO NOT CHANGE!*/
|
|
193
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
194
|
+
.eds-date-and-time-field__segment {
|
|
195
|
+
margin-top: 1rem;
|
|
196
|
+
padding: 0 2px;
|
|
197
|
+
font-feature-settings: "tnum";
|
|
198
|
+
font-variant-numeric: tabular-nums;
|
|
199
|
+
text-align: right;
|
|
200
|
+
}
|
|
201
|
+
.eds-date-and-time-field__segment--placeholder {
|
|
202
|
+
color: var(--components-datepicker-datefield-standard-text-content);
|
|
203
|
+
}
|
|
204
|
+
.eds-date-and-time-field__segment--dot-separator {
|
|
205
|
+
margin-left: -0.1rem;
|
|
206
|
+
margin-right: -0.2rem;
|
|
207
|
+
}
|
|
208
|
+
.eds-date-and-time-field__segment:focus-visible {
|
|
209
|
+
background-color: var(--components-button-iconbutton-standard-active);
|
|
210
|
+
outline: transparent;
|
|
211
|
+
border-radius: 0.0625rem;
|
|
212
|
+
}
|
|
213
|
+
.eds-date-and-time-field__segment[aria-valuemax="9999"] {
|
|
214
|
+
min-width: 4ch;
|
|
215
|
+
}
|
|
216
|
+
/* DO NOT CHANGE!*/
|
|
217
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
218
218
|
.eds-timepicker {
|
|
219
219
|
width: -moz-fit-content;
|
|
220
220
|
width: fit-content;
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
.eds-timepicker__arrowbutton.eds-icon-button:hover {
|
|
242
242
|
background-color: var(--components-button-iconbutton-standard-hover);
|
|
243
243
|
}
|
|
244
|
-
.eds-timepicker__arrowbutton.eds-icon-button:focus {
|
|
244
|
+
.eds-timepicker__arrowbutton.eds-icon-button:focus-visible {
|
|
245
245
|
outline: 2px solid #181c56;
|
|
246
246
|
outline-color: var(--basecolors-stroke-focus-standard);
|
|
247
247
|
outline-offset: 0.125rem;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/datepicker",
|
|
3
|
-
"version": "10.0
|
|
3
|
+
"version": "10.1.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/datepicker.esm.js",
|
|
@@ -28,13 +28,13 @@
|
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@entur/a11y": "^0.2.95",
|
|
31
|
-
"@entur/button": "^3.
|
|
32
|
-
"@entur/form": "^8.
|
|
31
|
+
"@entur/button": "^3.3.0",
|
|
32
|
+
"@entur/form": "^8.2.0",
|
|
33
33
|
"@entur/icons": "^7.6.0",
|
|
34
|
-
"@entur/modal": "^1.7.
|
|
34
|
+
"@entur/modal": "^1.7.60",
|
|
35
35
|
"@entur/tokens": "^3.17.5",
|
|
36
|
-
"@entur/tooltip": "^5.
|
|
37
|
-
"@entur/typography": "^1.
|
|
36
|
+
"@entur/tooltip": "^5.2.0",
|
|
37
|
+
"@entur/typography": "^1.9.0",
|
|
38
38
|
"@entur/utils": "^0.12.2",
|
|
39
39
|
"@floating-ui/react-dom": "^2.1.0",
|
|
40
40
|
"@internationalized/date": "^3.4.0",
|
|
@@ -51,5 +51,5 @@
|
|
|
51
51
|
"@react-types/datepicker": "^3.9.0",
|
|
52
52
|
"dts-cli": "2.0.5"
|
|
53
53
|
},
|
|
54
|
-
"gitHead": "
|
|
54
|
+
"gitHead": "2a0e12f4ccbc65c2c8a115690b4895ff01ee7f06"
|
|
55
55
|
}
|