@entur/datepicker 10.1.1-beta.0 → 10.1.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 +46 -46
- package/package.json +10 -10
package/dist/styles.css
CHANGED
|
@@ -1,48 +1,5 @@
|
|
|
1
1
|
/* DO NOT CHANGE!*/
|
|
2
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
|
-
.eds-datefield {
|
|
4
|
-
width: -moz-fit-content;
|
|
5
|
-
width: fit-content;
|
|
6
|
-
}
|
|
7
|
-
.eds-datefield .eds-form-control-wrapper {
|
|
8
|
-
padding-left: 1rem;
|
|
9
|
-
padding-right: 1rem;
|
|
10
|
-
width: -moz-fit-content;
|
|
11
|
-
width: fit-content;
|
|
12
|
-
}
|
|
13
|
-
.eds-datefield .eds-form-control-wrapper--disabled:focus-within {
|
|
14
|
-
border-color: transparent;
|
|
15
|
-
box-shadow: none;
|
|
16
|
-
}
|
|
17
|
-
.eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
18
|
-
background: none;
|
|
19
|
-
}
|
|
20
|
-
/* DO NOT CHANGE!*/
|
|
21
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
22
|
-
.eds-date-and-time-field__segment {
|
|
23
|
-
margin-top: 1rem;
|
|
24
|
-
padding: 0 2px;
|
|
25
|
-
font-feature-settings: "tnum";
|
|
26
|
-
font-variant-numeric: tabular-nums;
|
|
27
|
-
text-align: right;
|
|
28
|
-
}
|
|
29
|
-
.eds-date-and-time-field__segment--placeholder {
|
|
30
|
-
color: var(--components-datepicker-datefield-standard-text-content);
|
|
31
|
-
}
|
|
32
|
-
.eds-date-and-time-field__segment--dot-separator {
|
|
33
|
-
margin-left: -0.1rem;
|
|
34
|
-
margin-right: -0.2rem;
|
|
35
|
-
}
|
|
36
|
-
.eds-date-and-time-field__segment:focus-visible {
|
|
37
|
-
background-color: var(--components-button-iconbutton-standard-active);
|
|
38
|
-
outline: transparent;
|
|
39
|
-
border-radius: 0.0625rem;
|
|
40
|
-
}
|
|
41
|
-
.eds-date-and-time-field__segment[aria-valuemax="9999"] {
|
|
42
|
-
min-width: 4ch;
|
|
43
|
-
}
|
|
44
|
-
/* DO NOT CHANGE!*/
|
|
45
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
46
3
|
.eds-datepicker__calendar,
|
|
47
4
|
.eds-contrast .eds-datepicker__calendar {
|
|
48
5
|
width: -moz-fit-content;
|
|
@@ -183,6 +140,25 @@
|
|
|
183
140
|
}
|
|
184
141
|
/* DO NOT CHANGE!*/
|
|
185
142
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
143
|
+
.eds-datefield {
|
|
144
|
+
width: -moz-fit-content;
|
|
145
|
+
width: fit-content;
|
|
146
|
+
}
|
|
147
|
+
.eds-datefield .eds-form-control-wrapper {
|
|
148
|
+
padding-left: 1rem;
|
|
149
|
+
padding-right: 1rem;
|
|
150
|
+
width: -moz-fit-content;
|
|
151
|
+
width: fit-content;
|
|
152
|
+
}
|
|
153
|
+
.eds-datefield .eds-form-control-wrapper--disabled:focus-within {
|
|
154
|
+
border-color: transparent;
|
|
155
|
+
box-shadow: none;
|
|
156
|
+
}
|
|
157
|
+
.eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
158
|
+
background: none;
|
|
159
|
+
}
|
|
160
|
+
/* DO NOT CHANGE!*/
|
|
161
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
186
162
|
.eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control-wrapper {
|
|
187
163
|
padding-right: 0rem;
|
|
188
164
|
}
|
|
@@ -213,9 +189,29 @@
|
|
|
213
189
|
background-color: transparent;
|
|
214
190
|
background-color: initial;
|
|
215
191
|
}
|
|
216
|
-
|
|
217
|
-
|
|
218
|
-
|
|
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;
|
|
219
215
|
}
|
|
220
216
|
/* DO NOT CHANGE!*/
|
|
221
217
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -256,6 +252,10 @@
|
|
|
256
252
|
.eds-timepicker .eds-icon-button--disabled__wrapper {
|
|
257
253
|
display: none;
|
|
258
254
|
}
|
|
255
|
+
.eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
|
|
256
|
+
position: relative;
|
|
257
|
+
top: -0.5rem;
|
|
258
|
+
}
|
|
259
259
|
.eds-simple-timepicker {
|
|
260
260
|
width: 7rem;
|
|
261
261
|
width: var(--input-width);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/datepicker",
|
|
3
|
-
"version": "10.1.1
|
|
3
|
+
"version": "10.1.1",
|
|
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.3.1
|
|
32
|
-
"@entur/form": "^8.2.1
|
|
33
|
-
"@entur/icons": "^7.
|
|
34
|
-
"@entur/modal": "^1.7.61
|
|
35
|
-
"@entur/tokens": "^3.17.
|
|
36
|
-
"@entur/tooltip": "^5.2.1
|
|
37
|
-
"@entur/typography": "^1.9.1
|
|
30
|
+
"@entur/a11y": "^0.2.96",
|
|
31
|
+
"@entur/button": "^3.3.1",
|
|
32
|
+
"@entur/form": "^8.2.1",
|
|
33
|
+
"@entur/icons": "^7.6.1",
|
|
34
|
+
"@entur/modal": "^1.7.61",
|
|
35
|
+
"@entur/tokens": "^3.17.6",
|
|
36
|
+
"@entur/tooltip": "^5.2.1",
|
|
37
|
+
"@entur/typography": "^1.9.1",
|
|
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": "d7798b768ab73d677162cebcf3edd58680dc626f"
|
|
55
55
|
}
|