@entur/datepicker 10.0.5 → 10.0.7
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 +33 -33
- package/package.json +11 -11
package/dist/styles.css
CHANGED
|
@@ -23,35 +23,6 @@
|
|
|
23
23
|
}
|
|
24
24
|
/* DO NOT CHANGE!*/
|
|
25
25
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
26
|
-
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
27
|
-
text-align: right;
|
|
28
|
-
}
|
|
29
|
-
[dir="rtl"] .eds-date-and-time-field__segment {
|
|
30
|
-
text-align: left;
|
|
31
|
-
}
|
|
32
|
-
.eds-date-and-time-field__segment {
|
|
33
|
-
margin-top: 1rem;
|
|
34
|
-
padding: 0 2px;
|
|
35
|
-
font-feature-settings: "tnum";
|
|
36
|
-
font-variant-numeric: tabular-nums;
|
|
37
|
-
}
|
|
38
|
-
.eds-date-and-time-field__segment--placeholder {
|
|
39
|
-
color: var(--components-datepicker-datefield-standard-text-content);
|
|
40
|
-
}
|
|
41
|
-
.eds-date-and-time-field__segment--dot-separator {
|
|
42
|
-
margin-left: -0.1rem;
|
|
43
|
-
margin-right: -0.2rem;
|
|
44
|
-
}
|
|
45
|
-
.eds-date-and-time-field__segment:focus {
|
|
46
|
-
background-color: var(--components-button-iconbutton-standard-active);
|
|
47
|
-
outline: transparent;
|
|
48
|
-
border-radius: 0.0625rem;
|
|
49
|
-
}
|
|
50
|
-
.eds-date-and-time-field__segment[aria-valuemax="9999"] {
|
|
51
|
-
min-width: 4ch;
|
|
52
|
-
}
|
|
53
|
-
/* DO NOT CHANGE!*/
|
|
54
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
55
26
|
.eds-datepicker__calendar,
|
|
56
27
|
.eds-contrast .eds-datepicker__calendar {
|
|
57
28
|
width: -moz-fit-content;
|
|
@@ -196,9 +167,41 @@
|
|
|
196
167
|
}
|
|
197
168
|
/* DO NOT CHANGE!*/
|
|
198
169
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
199
|
-
.eds-
|
|
170
|
+
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
171
|
+
text-align: right;
|
|
172
|
+
}
|
|
173
|
+
[dir="rtl"] .eds-date-and-time-field__segment {
|
|
174
|
+
text-align: left;
|
|
175
|
+
}
|
|
176
|
+
.eds-date-and-time-field__segment {
|
|
177
|
+
margin-top: 1rem;
|
|
178
|
+
padding: 0 2px;
|
|
179
|
+
font-feature-settings: "tnum";
|
|
180
|
+
font-variant-numeric: tabular-nums;
|
|
181
|
+
}
|
|
182
|
+
.eds-date-and-time-field__segment--placeholder {
|
|
183
|
+
color: var(--components-datepicker-datefield-standard-text-content);
|
|
184
|
+
}
|
|
185
|
+
.eds-date-and-time-field__segment--dot-separator {
|
|
186
|
+
margin-left: -0.1rem;
|
|
187
|
+
margin-right: -0.2rem;
|
|
188
|
+
}
|
|
189
|
+
.eds-date-and-time-field__segment:focus {
|
|
190
|
+
background-color: var(--components-button-iconbutton-standard-active);
|
|
191
|
+
outline: transparent;
|
|
192
|
+
border-radius: 0.0625rem;
|
|
193
|
+
}
|
|
194
|
+
.eds-date-and-time-field__segment[aria-valuemax="9999"] {
|
|
195
|
+
min-width: 4ch;
|
|
196
|
+
}
|
|
197
|
+
/* DO NOT CHANGE!*/
|
|
198
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
199
|
+
.eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control-wrapper {
|
|
200
200
|
padding-right: 0rem;
|
|
201
201
|
}
|
|
202
|
+
.eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control__append {
|
|
203
|
+
margin-left: auto;
|
|
204
|
+
}
|
|
202
205
|
.eds-datepicker__open-calendar-button {
|
|
203
206
|
margin: 0rem 0.25rem 0rem 0.5rem;
|
|
204
207
|
}
|
|
@@ -216,9 +219,6 @@
|
|
|
216
219
|
.eds-datepicker__open-calendar-button.eds-icon-button:active {
|
|
217
220
|
background-color: var(--components-button-iconbutton-standard-active);
|
|
218
221
|
}
|
|
219
|
-
.eds-datepicker--disabled {
|
|
220
|
-
padding-right: 1rem;
|
|
221
|
-
}
|
|
222
222
|
.eds-datepicker__calendar-modal.eds-modal__content {
|
|
223
223
|
padding: 0;
|
|
224
224
|
padding: initial;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/datepicker",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.0.7",
|
|
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.
|
|
33
|
-
"@entur/icons": "^7.4.
|
|
34
|
-
"@entur/modal": "^1.7.
|
|
35
|
-
"@entur/tokens": "^3.17.
|
|
36
|
-
"@entur/tooltip": "^
|
|
37
|
-
"@entur/typography": "^1.8.
|
|
38
|
-
"@entur/utils": "^0.
|
|
30
|
+
"@entur/a11y": "^0.2.91",
|
|
31
|
+
"@entur/button": "^3.2.33",
|
|
32
|
+
"@entur/form": "^8.1.4",
|
|
33
|
+
"@entur/icons": "^7.4.1",
|
|
34
|
+
"@entur/modal": "^1.7.54",
|
|
35
|
+
"@entur/tokens": "^3.17.1",
|
|
36
|
+
"@entur/tooltip": "^5.1.0",
|
|
37
|
+
"@entur/typography": "^1.8.46",
|
|
38
|
+
"@entur/utils": "^0.12.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": "7df4cea445e3dac77f80619ea0c298dc0b5c31e0"
|
|
52
52
|
}
|