@entur/datepicker 10.0.3-beta.1 → 10.0.3
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 +51 -51
- package/package.json +10 -10
package/dist/styles.css
CHANGED
|
@@ -1,52 +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
|
-
}
|
|
11
|
-
.eds-datefield .eds-form-control-wrapper--disabled[focus-within] {
|
|
12
|
-
border-color: transparent;
|
|
13
|
-
box-shadow: none;
|
|
14
|
-
}
|
|
15
|
-
.eds-datefield .eds-form-control-wrapper--disabled:focus-within {
|
|
16
|
-
border-color: transparent;
|
|
17
|
-
box-shadow: none;
|
|
18
|
-
}
|
|
19
|
-
.eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
20
|
-
background: none;
|
|
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;
|
|
26
|
-
}
|
|
27
|
-
[dir="rtl"] .eds-date-and-time-field__segment {
|
|
28
|
-
text-align: left;
|
|
29
|
-
}
|
|
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;
|
|
47
|
-
}
|
|
48
|
-
/* DO NOT CHANGE!*/
|
|
49
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
50
3
|
.eds-datepicker__calendar,
|
|
51
4
|
.eds-contrast .eds-datepicker__calendar {
|
|
52
5
|
width: -moz-fit-content;
|
|
@@ -191,6 +144,53 @@
|
|
|
191
144
|
}
|
|
192
145
|
/* DO NOT CHANGE!*/
|
|
193
146
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
147
|
+
.eds-datefield {
|
|
148
|
+
width: -moz-fit-content;
|
|
149
|
+
width: fit-content;
|
|
150
|
+
}
|
|
151
|
+
.eds-datefield .eds-form-control-wrapper {
|
|
152
|
+
padding-left: 1rem;
|
|
153
|
+
padding-right: 1rem;
|
|
154
|
+
}
|
|
155
|
+
.eds-datefield .eds-form-control-wrapper--disabled[focus-within] {
|
|
156
|
+
border-color: transparent;
|
|
157
|
+
box-shadow: none;
|
|
158
|
+
}
|
|
159
|
+
.eds-datefield .eds-form-control-wrapper--disabled:focus-within {
|
|
160
|
+
border-color: transparent;
|
|
161
|
+
box-shadow: none;
|
|
162
|
+
}
|
|
163
|
+
.eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
164
|
+
background: none;
|
|
165
|
+
}
|
|
166
|
+
/* DO NOT CHANGE!*/
|
|
167
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
168
|
+
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
169
|
+
text-align: right;
|
|
170
|
+
}
|
|
171
|
+
[dir="rtl"] .eds-date-and-time-field__segment {
|
|
172
|
+
text-align: left;
|
|
173
|
+
}
|
|
174
|
+
.eds-date-and-time-field__segment {
|
|
175
|
+
margin-top: 1rem;
|
|
176
|
+
padding: 0 2px;
|
|
177
|
+
font-feature-settings: "tnum";
|
|
178
|
+
font-variant-numeric: tabular-nums;
|
|
179
|
+
}
|
|
180
|
+
.eds-date-and-time-field__segment--placeholder {
|
|
181
|
+
color: var(--components-datepicker-datefield-standard-text-content);
|
|
182
|
+
}
|
|
183
|
+
.eds-date-and-time-field__segment--dot-separator {
|
|
184
|
+
margin-left: -0.1rem;
|
|
185
|
+
margin-right: -0.2rem;
|
|
186
|
+
}
|
|
187
|
+
.eds-date-and-time-field__segment:focus {
|
|
188
|
+
background-color: var(--components-button-iconbutton-standard-active);
|
|
189
|
+
outline: transparent;
|
|
190
|
+
border-radius: 0.0625rem;
|
|
191
|
+
}
|
|
192
|
+
/* DO NOT CHANGE!*/
|
|
193
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
194
194
|
.eds-datepicker.eds-datefield .eds-form-control-wrapper {
|
|
195
195
|
padding-right: 0rem;
|
|
196
196
|
}
|
|
@@ -221,10 +221,6 @@
|
|
|
221
221
|
background-color: transparent;
|
|
222
222
|
background-color: initial;
|
|
223
223
|
}
|
|
224
|
-
.eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
|
|
225
|
-
position: relative;
|
|
226
|
-
top: -0.5rem;
|
|
227
|
-
}
|
|
228
224
|
/* DO NOT CHANGE!*/
|
|
229
225
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
230
226
|
.eds-timepicker {
|
|
@@ -264,6 +260,10 @@
|
|
|
264
260
|
.eds-timepicker .eds-icon-button--disabled__wrapper {
|
|
265
261
|
display: none;
|
|
266
262
|
}
|
|
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
|
|
3
|
+
"version": "10.0.3",
|
|
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.90
|
|
31
|
-
"@entur/button": "^3.2.31
|
|
32
|
-
"@entur/form": "^8.1.0
|
|
33
|
-
"@entur/icons": "^7.
|
|
34
|
-
"@entur/modal": "^1.7.52
|
|
30
|
+
"@entur/a11y": "^0.2.90",
|
|
31
|
+
"@entur/button": "^3.2.31",
|
|
32
|
+
"@entur/form": "^8.1.0",
|
|
33
|
+
"@entur/icons": "^7.3.0",
|
|
34
|
+
"@entur/modal": "^1.7.52",
|
|
35
35
|
"@entur/tokens": "^3.17.0",
|
|
36
|
-
"@entur/tooltip": "^4.0.0
|
|
37
|
-
"@entur/typography": "^1.8.44
|
|
38
|
-
"@entur/utils": "^0.11.2
|
|
36
|
+
"@entur/tooltip": "^4.0.0",
|
|
37
|
+
"@entur/typography": "^1.8.44",
|
|
38
|
+
"@entur/utils": "^0.11.2",
|
|
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": "c5713d9ad333e17ca5714d86181baba74c56e0eb"
|
|
52
52
|
}
|