@entur/datepicker 11.0.1-beta.0 → 11.0.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 +28 -28
- package/package.json +8 -8
package/dist/styles.css
CHANGED
|
@@ -1,5 +1,29 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
+
.eds-date-and-time-field__segment {
|
|
4
|
+
margin-top: 1rem;
|
|
5
|
+
padding: 0 2px;
|
|
6
|
+
font-feature-settings: "tnum";
|
|
7
|
+
font-variant-numeric: tabular-nums;
|
|
8
|
+
text-align: right;
|
|
9
|
+
}
|
|
10
|
+
.eds-date-and-time-field__segment--placeholder {
|
|
11
|
+
color: var(--components-datepicker-datefield-standard-text-content);
|
|
12
|
+
}
|
|
13
|
+
.eds-date-and-time-field__segment--dot-separator {
|
|
14
|
+
margin-left: -0.1rem;
|
|
15
|
+
margin-right: -0.2rem;
|
|
16
|
+
}
|
|
17
|
+
.eds-date-and-time-field__segment:focus-visible {
|
|
18
|
+
background-color: var(--components-button-iconbutton-standard-active);
|
|
19
|
+
outline: transparent;
|
|
20
|
+
border-radius: 0.0625rem;
|
|
21
|
+
}
|
|
22
|
+
.eds-date-and-time-field__segment[aria-valuemax="9999"] {
|
|
23
|
+
min-width: 4ch;
|
|
24
|
+
}
|
|
25
|
+
/* DO NOT CHANGE!*/
|
|
26
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
27
|
.eds-datepicker__calendar,
|
|
4
28
|
.eds-contrast .eds-datepicker__calendar {
|
|
5
29
|
width: -moz-fit-content;
|
|
@@ -140,30 +164,6 @@
|
|
|
140
164
|
}
|
|
141
165
|
/* DO NOT CHANGE!*/
|
|
142
166
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
143
|
-
.eds-date-and-time-field__segment {
|
|
144
|
-
margin-top: 1rem;
|
|
145
|
-
padding: 0 2px;
|
|
146
|
-
font-feature-settings: "tnum";
|
|
147
|
-
font-variant-numeric: tabular-nums;
|
|
148
|
-
text-align: right;
|
|
149
|
-
}
|
|
150
|
-
.eds-date-and-time-field__segment--placeholder {
|
|
151
|
-
color: var(--components-datepicker-datefield-standard-text-content);
|
|
152
|
-
}
|
|
153
|
-
.eds-date-and-time-field__segment--dot-separator {
|
|
154
|
-
margin-left: -0.1rem;
|
|
155
|
-
margin-right: -0.2rem;
|
|
156
|
-
}
|
|
157
|
-
.eds-date-and-time-field__segment:focus-visible {
|
|
158
|
-
background-color: var(--components-button-iconbutton-standard-active);
|
|
159
|
-
outline: transparent;
|
|
160
|
-
border-radius: 0.0625rem;
|
|
161
|
-
}
|
|
162
|
-
.eds-date-and-time-field__segment[aria-valuemax="9999"] {
|
|
163
|
-
min-width: 4ch;
|
|
164
|
-
}
|
|
165
|
-
/* DO NOT CHANGE!*/
|
|
166
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
167
167
|
.eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control-wrapper {
|
|
168
168
|
padding-right: 0rem;
|
|
169
169
|
}
|
|
@@ -213,6 +213,10 @@
|
|
|
213
213
|
.eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
214
214
|
background: none;
|
|
215
215
|
}
|
|
216
|
+
.eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
|
|
217
|
+
position: relative;
|
|
218
|
+
top: -0.5rem;
|
|
219
|
+
}
|
|
216
220
|
/* DO NOT CHANGE!*/
|
|
217
221
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
218
222
|
.eds-timepicker {
|
|
@@ -258,10 +262,6 @@
|
|
|
258
262
|
.eds-timepicker .eds-icon-button--disabled__wrapper {
|
|
259
263
|
display: none;
|
|
260
264
|
}
|
|
261
|
-
.eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
|
|
262
|
-
position: relative;
|
|
263
|
-
top: -0.5rem;
|
|
264
|
-
}
|
|
265
265
|
.eds-simple-timepicker {
|
|
266
266
|
width: 7rem;
|
|
267
267
|
width: var(--input-width);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/datepicker",
|
|
3
|
-
"version": "11.0.1
|
|
3
|
+
"version": "11.0.1",
|
|
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.98",
|
|
31
|
-
"@entur/button": "^3.3.
|
|
32
|
-
"@entur/form": "^8.2.5
|
|
33
|
-
"@entur/icons": "^7.
|
|
34
|
-
"@entur/modal": "^1.7.
|
|
31
|
+
"@entur/button": "^3.3.5",
|
|
32
|
+
"@entur/form": "^8.2.5",
|
|
33
|
+
"@entur/icons": "^7.9.0",
|
|
34
|
+
"@entur/modal": "^1.7.65",
|
|
35
35
|
"@entur/tokens": "^3.19.0",
|
|
36
|
-
"@entur/tooltip": "^5.2.
|
|
37
|
-
"@entur/typography": "^1.9.
|
|
36
|
+
"@entur/tooltip": "^5.2.5",
|
|
37
|
+
"@entur/typography": "^1.9.5",
|
|
38
38
|
"@entur/utils": "^0.12.3",
|
|
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": "e59bee5bf5aa6ab864c96be6cf4979feab287c61"
|
|
55
55
|
}
|