@entur/datepicker 9.1.4-alpha.0 → 9.1.5
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 +43 -43
- package/package.json +10 -10
package/dist/styles.css
CHANGED
|
@@ -1,29 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
4
|
-
text-align: right;
|
|
5
|
-
}
|
|
6
|
-
[dir="rtl"] .eds-date-and-time-field__segment {
|
|
7
|
-
text-align: left;
|
|
1
|
+
.eds-datefield div:first-of-type.eds-date-and-time-field__segment {
|
|
2
|
+
margin-left: 1rem;
|
|
8
3
|
}
|
|
9
|
-
.eds-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
font-feature-settings: "tnum";
|
|
13
|
-
font-variant-numeric: tabular-nums;
|
|
4
|
+
.eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
|
|
5
|
+
border-color: transparent;
|
|
6
|
+
box-shadow: none;
|
|
14
7
|
}
|
|
15
|
-
.eds-
|
|
16
|
-
color:
|
|
8
|
+
.eds-datefield.eds-form-control-wrapper--disabled:focus-within {
|
|
9
|
+
border-color: transparent;
|
|
10
|
+
box-shadow: none;
|
|
17
11
|
}
|
|
18
|
-
.eds-date-and-time-field__segment
|
|
19
|
-
|
|
20
|
-
margin-right: -0.2rem;
|
|
12
|
+
.eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
13
|
+
background: none;
|
|
21
14
|
}
|
|
22
|
-
.eds-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
outline: transparent;
|
|
26
|
-
border-radius: 0.0625rem;
|
|
15
|
+
.eds-datefield .eds-form-control__append--tooltip {
|
|
16
|
+
margin-top: 0.75rem;
|
|
17
|
+
margin-right: -0.25rem;
|
|
27
18
|
}
|
|
28
19
|
/* DO NOT CHANGE!*/
|
|
29
20
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
@@ -152,24 +143,6 @@
|
|
|
152
143
|
.eds-contrast .eds-datepicker__calendar__grid__cell--today {
|
|
153
144
|
border-bottom: 2px solid #ff5959;
|
|
154
145
|
}
|
|
155
|
-
.eds-datefield div:first-of-type.eds-date-and-time-field__segment {
|
|
156
|
-
margin-left: 1rem;
|
|
157
|
-
}
|
|
158
|
-
.eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
|
|
159
|
-
border-color: transparent;
|
|
160
|
-
box-shadow: none;
|
|
161
|
-
}
|
|
162
|
-
.eds-datefield.eds-form-control-wrapper--disabled:focus-within {
|
|
163
|
-
border-color: transparent;
|
|
164
|
-
box-shadow: none;
|
|
165
|
-
}
|
|
166
|
-
.eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
167
|
-
background: none;
|
|
168
|
-
}
|
|
169
|
-
.eds-datefield .eds-form-control__append--tooltip {
|
|
170
|
-
margin-top: 0.75rem;
|
|
171
|
-
margin-right: -0.25rem;
|
|
172
|
-
}
|
|
173
146
|
/* DO NOT CHANGE!*/
|
|
174
147
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
175
148
|
.eds-datepicker {
|
|
@@ -215,6 +188,33 @@
|
|
|
215
188
|
}
|
|
216
189
|
/* DO NOT CHANGE!*/
|
|
217
190
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
191
|
+
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
192
|
+
text-align: right;
|
|
193
|
+
}
|
|
194
|
+
[dir="rtl"] .eds-date-and-time-field__segment {
|
|
195
|
+
text-align: left;
|
|
196
|
+
}
|
|
197
|
+
.eds-date-and-time-field__segment {
|
|
198
|
+
margin-top: 1rem;
|
|
199
|
+
padding: 0 2px;
|
|
200
|
+
font-feature-settings: "tnum";
|
|
201
|
+
font-variant-numeric: tabular-nums;
|
|
202
|
+
}
|
|
203
|
+
.eds-date-and-time-field__segment--placeholder {
|
|
204
|
+
color: #646464;
|
|
205
|
+
}
|
|
206
|
+
.eds-date-and-time-field__segment--dot-separator {
|
|
207
|
+
margin-left: -0.1rem;
|
|
208
|
+
margin-right: -0.2rem;
|
|
209
|
+
}
|
|
210
|
+
.eds-date-and-time-field__segment:focus {
|
|
211
|
+
background-color: #656782;
|
|
212
|
+
color: #ffffff;
|
|
213
|
+
outline: transparent;
|
|
214
|
+
border-radius: 0.0625rem;
|
|
215
|
+
}
|
|
216
|
+
/* DO NOT CHANGE!*/
|
|
217
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
218
218
|
.eds-timepicker__wrapper {
|
|
219
219
|
position: relative;
|
|
220
220
|
display: flex;
|
|
@@ -273,6 +273,9 @@
|
|
|
273
273
|
position: relative;
|
|
274
274
|
top: -0.5rem;
|
|
275
275
|
}
|
|
276
|
+
:root {
|
|
277
|
+
--eds-datepicker: 1;
|
|
278
|
+
}
|
|
276
279
|
.eds-simple-timepicker {
|
|
277
280
|
--input-width: 7rem;
|
|
278
281
|
width: var(--input-width);
|
|
@@ -290,6 +293,3 @@
|
|
|
290
293
|
margin-top: -0.2rem;
|
|
291
294
|
margin-left: -0.5rem;
|
|
292
295
|
}
|
|
293
|
-
:root {
|
|
294
|
-
--eds-datepicker: 1;
|
|
295
|
-
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/datepicker",
|
|
3
|
-
"version": "9.1.
|
|
3
|
+
"version": "9.1.5",
|
|
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.2.
|
|
32
|
-
"@entur/form": "^7.0.
|
|
33
|
-
"@entur/icons": "^6.
|
|
34
|
-
"@entur/modal": "^1.7.
|
|
35
|
-
"@entur/tokens": "^3.12.
|
|
36
|
-
"@entur/tooltip": "^2.6.
|
|
37
|
-
"@entur/typography": "^1.8.
|
|
30
|
+
"@entur/a11y": "^0.2.75",
|
|
31
|
+
"@entur/button": "^3.2.9",
|
|
32
|
+
"@entur/form": "^7.0.36",
|
|
33
|
+
"@entur/icons": "^6.15.0",
|
|
34
|
+
"@entur/modal": "^1.7.29",
|
|
35
|
+
"@entur/tokens": "^3.12.0",
|
|
36
|
+
"@entur/tooltip": "^2.6.45",
|
|
37
|
+
"@entur/typography": "^1.8.23",
|
|
38
38
|
"@entur/utils": "^0.10.0",
|
|
39
39
|
"@floating-ui/react-dom": "^1.0.0",
|
|
40
40
|
"@internationalized/date": "^3.4.0",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"classnames": "^2.3.1",
|
|
49
49
|
"react-focus-lock": "^2.9.1"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "3842f90322ff4340572e6597baf4ce753a6bf355"
|
|
52
52
|
}
|