@entur/datepicker 8.1.1 → 8.1.2
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 +48 -48
- package/package.json +8 -8
package/dist/styles.css
CHANGED
|
@@ -1,21 +1,3 @@
|
|
|
1
|
-
.eds-datefield div:first-of-type.eds-date-and-time-field__segment {
|
|
2
|
-
margin-left: 1rem;
|
|
3
|
-
}
|
|
4
|
-
.eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
|
|
5
|
-
border-color: transparent;
|
|
6
|
-
box-shadow: none;
|
|
7
|
-
}
|
|
8
|
-
.eds-datefield.eds-form-control-wrapper--disabled:focus-within {
|
|
9
|
-
border-color: transparent;
|
|
10
|
-
box-shadow: none;
|
|
11
|
-
}
|
|
12
|
-
.eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
13
|
-
background: none;
|
|
14
|
-
}
|
|
15
|
-
.eds-datefield .eds-form-control__append--tooltip {
|
|
16
|
-
margin-top: 0.75rem;
|
|
17
|
-
margin-right: -0.25rem;
|
|
18
|
-
}
|
|
19
1
|
/* DO NOT CHANGE!*/
|
|
20
2
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
21
3
|
.eds-datepicker__calendar,
|
|
@@ -145,33 +127,6 @@
|
|
|
145
127
|
}
|
|
146
128
|
/* DO NOT CHANGE!*/
|
|
147
129
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
148
|
-
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
149
|
-
text-align: right;
|
|
150
|
-
}
|
|
151
|
-
[dir="rtl"] .eds-date-and-time-field__segment {
|
|
152
|
-
text-align: left;
|
|
153
|
-
}
|
|
154
|
-
.eds-date-and-time-field__segment {
|
|
155
|
-
margin-top: 1rem;
|
|
156
|
-
padding: 0 2px;
|
|
157
|
-
font-feature-settings: "tnum";
|
|
158
|
-
font-variant-numeric: tabular-nums;
|
|
159
|
-
}
|
|
160
|
-
.eds-date-and-time-field__segment--placeholder {
|
|
161
|
-
color: #646464;
|
|
162
|
-
}
|
|
163
|
-
.eds-date-and-time-field__segment--dot-separator {
|
|
164
|
-
margin-left: -0.1rem;
|
|
165
|
-
margin-right: -0.2rem;
|
|
166
|
-
}
|
|
167
|
-
.eds-date-and-time-field__segment:focus {
|
|
168
|
-
background-color: #656782;
|
|
169
|
-
color: #ffffff;
|
|
170
|
-
outline: none;
|
|
171
|
-
border-radius: 0.0625rem;
|
|
172
|
-
}
|
|
173
|
-
/* DO NOT CHANGE!*/
|
|
174
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
175
130
|
.eds-datepicker {
|
|
176
131
|
position: relative;
|
|
177
132
|
width: -moz-fit-content;
|
|
@@ -214,6 +169,51 @@
|
|
|
214
169
|
}
|
|
215
170
|
/* DO NOT CHANGE!*/
|
|
216
171
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
172
|
+
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
173
|
+
text-align: right;
|
|
174
|
+
}
|
|
175
|
+
[dir="rtl"] .eds-date-and-time-field__segment {
|
|
176
|
+
text-align: left;
|
|
177
|
+
}
|
|
178
|
+
.eds-date-and-time-field__segment {
|
|
179
|
+
margin-top: 1rem;
|
|
180
|
+
padding: 0 2px;
|
|
181
|
+
font-feature-settings: "tnum";
|
|
182
|
+
font-variant-numeric: tabular-nums;
|
|
183
|
+
}
|
|
184
|
+
.eds-date-and-time-field__segment--placeholder {
|
|
185
|
+
color: #646464;
|
|
186
|
+
}
|
|
187
|
+
.eds-date-and-time-field__segment--dot-separator {
|
|
188
|
+
margin-left: -0.1rem;
|
|
189
|
+
margin-right: -0.2rem;
|
|
190
|
+
}
|
|
191
|
+
.eds-date-and-time-field__segment:focus {
|
|
192
|
+
background-color: #656782;
|
|
193
|
+
color: #ffffff;
|
|
194
|
+
outline: none;
|
|
195
|
+
border-radius: 0.0625rem;
|
|
196
|
+
}
|
|
197
|
+
.eds-datefield div:first-of-type.eds-date-and-time-field__segment {
|
|
198
|
+
margin-left: 1rem;
|
|
199
|
+
}
|
|
200
|
+
.eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
|
|
201
|
+
border-color: transparent;
|
|
202
|
+
box-shadow: none;
|
|
203
|
+
}
|
|
204
|
+
.eds-datefield.eds-form-control-wrapper--disabled:focus-within {
|
|
205
|
+
border-color: transparent;
|
|
206
|
+
box-shadow: none;
|
|
207
|
+
}
|
|
208
|
+
.eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
209
|
+
background: none;
|
|
210
|
+
}
|
|
211
|
+
.eds-datefield .eds-form-control__append--tooltip {
|
|
212
|
+
margin-top: 0.75rem;
|
|
213
|
+
margin-right: -0.25rem;
|
|
214
|
+
}
|
|
215
|
+
/* DO NOT CHANGE!*/
|
|
216
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
217
217
|
.eds-timepicker__wrapper {
|
|
218
218
|
position: relative;
|
|
219
219
|
display: flex;
|
|
@@ -264,9 +264,6 @@
|
|
|
264
264
|
position: relative;
|
|
265
265
|
top: -0.5rem;
|
|
266
266
|
}
|
|
267
|
-
:root {
|
|
268
|
-
--eds-datepicker: 1;
|
|
269
|
-
}
|
|
270
267
|
.eds-simple-timepicker {
|
|
271
268
|
--input-width: 7rem;
|
|
272
269
|
width: var(--input-width);
|
|
@@ -284,3 +281,6 @@
|
|
|
284
281
|
margin-top: -0.2rem;
|
|
285
282
|
margin-left: -0.5rem;
|
|
286
283
|
}
|
|
284
|
+
:root {
|
|
285
|
+
--eds-datepicker: 1;
|
|
286
|
+
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/datepicker",
|
|
3
|
-
"version": "8.1.
|
|
3
|
+
"version": "8.1.2",
|
|
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.70",
|
|
31
|
-
"@entur/button": "^3.1.
|
|
32
|
-
"@entur/form": "^7.0.
|
|
33
|
-
"@entur/icons": "^6.
|
|
34
|
-
"@entur/modal": "^1.7.
|
|
31
|
+
"@entur/button": "^3.1.6",
|
|
32
|
+
"@entur/form": "^7.0.22",
|
|
33
|
+
"@entur/icons": "^6.10.0",
|
|
34
|
+
"@entur/modal": "^1.7.15",
|
|
35
35
|
"@entur/tokens": "^3.10.0",
|
|
36
|
-
"@entur/tooltip": "^2.6.
|
|
37
|
-
"@entur/typography": "^1.8.
|
|
36
|
+
"@entur/tooltip": "^2.6.31",
|
|
37
|
+
"@entur/typography": "^1.8.12",
|
|
38
38
|
"@entur/utils": "^0.9.5",
|
|
39
39
|
"@floating-ui/react-dom": "^1.0.0",
|
|
40
40
|
"@internationalized/date": "^3.4.0",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"node": "16.17.0",
|
|
53
53
|
"yarn": "1.22.19"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "9e97f6db17e2ad5096603ba20d568601059ca53e"
|
|
56
56
|
}
|