@entur/datepicker 10.0.13 → 10.1.0-beta.0
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 +80 -80
- package/package.json +7 -7
package/dist/styles.css
CHANGED
|
@@ -1,80 +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-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control-wrapper {
|
|
23
|
-
padding-right: 0rem;
|
|
24
|
-
}
|
|
25
|
-
.eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control__append {
|
|
26
|
-
margin-left: auto;
|
|
27
|
-
}
|
|
28
|
-
.eds-datepicker__open-calendar-button {
|
|
29
|
-
margin: 0rem 0.25rem 0rem 0.5rem;
|
|
30
|
-
}
|
|
31
|
-
.eds-datepicker__open-calendar-button.eds-icon-button {
|
|
32
|
-
color: var(--components-datepicker-calendar-icon);
|
|
33
|
-
}
|
|
34
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:hover {
|
|
35
|
-
background-color: var(--components-button-iconbutton-standard-hover);
|
|
36
|
-
}
|
|
37
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:focus {
|
|
38
|
-
outline: 2px solid #181c56;
|
|
39
|
-
outline-color: var(--basecolors-stroke-focus-standard);
|
|
40
|
-
outline-offset: 0.125rem;
|
|
41
|
-
}
|
|
42
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:active {
|
|
43
|
-
background-color: var(--components-button-iconbutton-standard-active);
|
|
44
|
-
}
|
|
45
|
-
.eds-datepicker__calendar-modal.eds-modal__content {
|
|
46
|
-
padding: 0;
|
|
47
|
-
padding: initial;
|
|
48
|
-
width: inherit;
|
|
49
|
-
background-color: transparent;
|
|
50
|
-
background-color: initial;
|
|
51
|
-
}
|
|
52
|
-
/* DO NOT CHANGE!*/
|
|
53
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
54
|
-
.eds-date-and-time-field__segment {
|
|
55
|
-
margin-top: 1rem;
|
|
56
|
-
padding: 0 2px;
|
|
57
|
-
font-feature-settings: "tnum";
|
|
58
|
-
font-variant-numeric: tabular-nums;
|
|
59
|
-
text-align: right;
|
|
60
|
-
}
|
|
61
|
-
.eds-date-and-time-field__segment--placeholder {
|
|
62
|
-
color: var(--components-datepicker-datefield-standard-text-content);
|
|
63
|
-
}
|
|
64
|
-
.eds-date-and-time-field__segment--dot-separator {
|
|
65
|
-
margin-left: -0.1rem;
|
|
66
|
-
margin-right: -0.2rem;
|
|
67
|
-
}
|
|
68
|
-
.eds-date-and-time-field__segment:focus {
|
|
69
|
-
background-color: var(--components-button-iconbutton-standard-active);
|
|
70
|
-
outline: transparent;
|
|
71
|
-
border-radius: 0.0625rem;
|
|
72
|
-
}
|
|
73
|
-
.eds-date-and-time-field__segment[aria-valuemax="9999"] {
|
|
74
|
-
min-width: 4ch;
|
|
75
|
-
}
|
|
76
|
-
/* DO NOT CHANGE!*/
|
|
77
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
78
3
|
.eds-datepicker__calendar,
|
|
79
4
|
.eds-contrast .eds-datepicker__calendar {
|
|
80
5
|
width: -moz-fit-content;
|
|
@@ -106,8 +31,8 @@
|
|
|
106
31
|
.eds-contrast .eds-datepicker__calendar__header .eds-icon-button:hover {
|
|
107
32
|
background-color: var(--components-button-iconbutton-standard-hover);
|
|
108
33
|
}
|
|
109
|
-
.eds-datepicker__calendar__header .eds-icon-button:focus,
|
|
110
|
-
.eds-contrast .eds-datepicker__calendar__header .eds-icon-button:focus {
|
|
34
|
+
.eds-datepicker__calendar__header .eds-icon-button:focus-visible,
|
|
35
|
+
.eds-contrast .eds-datepicker__calendar__header .eds-icon-button:focus-visible {
|
|
111
36
|
outline: 2px solid #181c56;
|
|
112
37
|
outline-color: var(--basecolors-stroke-focus-standard);
|
|
113
38
|
outline-offset: 0.125rem;
|
|
@@ -169,8 +94,8 @@
|
|
|
169
94
|
background-color: var(--components-datepicker-calendar-datefill-selected);
|
|
170
95
|
color: var(--components-datepicker-calendar-text-accent);
|
|
171
96
|
}
|
|
172
|
-
.eds-datepicker__calendar__grid__cell:focus,
|
|
173
|
-
.eds-contrast .eds-datepicker__calendar__grid__cell:focus {
|
|
97
|
+
.eds-datepicker__calendar__grid__cell:focus-visible,
|
|
98
|
+
.eds-contrast .eds-datepicker__calendar__grid__cell:focus-visible {
|
|
174
99
|
outline: 2px solid #181c56;
|
|
175
100
|
outline-color: var(--basecolors-stroke-focus-standard);
|
|
176
101
|
outline-offset: 0.125rem;
|
|
@@ -215,6 +140,81 @@
|
|
|
215
140
|
}
|
|
216
141
|
/* DO NOT CHANGE!*/
|
|
217
142
|
/* 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
|
+
.eds-datefield {
|
|
168
|
+
width: -moz-fit-content;
|
|
169
|
+
width: fit-content;
|
|
170
|
+
}
|
|
171
|
+
.eds-datefield .eds-form-control-wrapper {
|
|
172
|
+
padding-left: 1rem;
|
|
173
|
+
padding-right: 1rem;
|
|
174
|
+
width: -moz-fit-content;
|
|
175
|
+
width: fit-content;
|
|
176
|
+
}
|
|
177
|
+
.eds-datefield .eds-form-control-wrapper--disabled:focus-within {
|
|
178
|
+
border-color: transparent;
|
|
179
|
+
box-shadow: none;
|
|
180
|
+
}
|
|
181
|
+
.eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
182
|
+
background: none;
|
|
183
|
+
}
|
|
184
|
+
/* DO NOT CHANGE!*/
|
|
185
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
186
|
+
.eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control-wrapper {
|
|
187
|
+
padding-right: 0rem;
|
|
188
|
+
}
|
|
189
|
+
.eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control__append {
|
|
190
|
+
margin-left: auto;
|
|
191
|
+
}
|
|
192
|
+
.eds-datepicker__open-calendar-button {
|
|
193
|
+
margin: 0rem 0.25rem 0rem 0.5rem;
|
|
194
|
+
}
|
|
195
|
+
.eds-datepicker__open-calendar-button.eds-icon-button {
|
|
196
|
+
color: var(--components-datepicker-calendar-icon);
|
|
197
|
+
}
|
|
198
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:hover {
|
|
199
|
+
background-color: var(--components-button-iconbutton-standard-hover);
|
|
200
|
+
}
|
|
201
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:focus-visible {
|
|
202
|
+
outline: 2px solid #181c56;
|
|
203
|
+
outline-color: var(--basecolors-stroke-focus-standard);
|
|
204
|
+
outline-offset: 0.125rem;
|
|
205
|
+
}
|
|
206
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:active {
|
|
207
|
+
background-color: var(--components-button-iconbutton-standard-active);
|
|
208
|
+
}
|
|
209
|
+
.eds-datepicker__calendar-modal.eds-modal__content {
|
|
210
|
+
padding: 0;
|
|
211
|
+
padding: initial;
|
|
212
|
+
width: inherit;
|
|
213
|
+
background-color: transparent;
|
|
214
|
+
background-color: initial;
|
|
215
|
+
}
|
|
216
|
+
/* DO NOT CHANGE!*/
|
|
217
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
218
218
|
.eds-timepicker {
|
|
219
219
|
width: -moz-fit-content;
|
|
220
220
|
width: fit-content;
|
|
@@ -241,7 +241,7 @@
|
|
|
241
241
|
.eds-timepicker__arrowbutton.eds-icon-button:hover {
|
|
242
242
|
background-color: var(--components-button-iconbutton-standard-hover);
|
|
243
243
|
}
|
|
244
|
-
.eds-timepicker__arrowbutton.eds-icon-button:focus {
|
|
244
|
+
.eds-timepicker__arrowbutton.eds-icon-button:focus-visible {
|
|
245
245
|
outline: 2px solid #181c56;
|
|
246
246
|
outline-color: var(--basecolors-stroke-focus-standard);
|
|
247
247
|
outline-offset: 0.125rem;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/datepicker",
|
|
3
|
-
"version": "10.0.
|
|
3
|
+
"version": "10.1.0-beta.0",
|
|
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.95",
|
|
31
|
-
"@entur/button": "^3.
|
|
32
|
-
"@entur/form": "^8.
|
|
31
|
+
"@entur/button": "^3.3.0-beta.0",
|
|
32
|
+
"@entur/form": "^8.2.0-beta.0",
|
|
33
33
|
"@entur/icons": "^7.6.0",
|
|
34
|
-
"@entur/modal": "^1.7.
|
|
34
|
+
"@entur/modal": "^1.7.60-beta.0",
|
|
35
35
|
"@entur/tokens": "^3.17.5",
|
|
36
|
-
"@entur/tooltip": "^5.
|
|
37
|
-
"@entur/typography": "^1.
|
|
36
|
+
"@entur/tooltip": "^5.2.0-beta.0",
|
|
37
|
+
"@entur/typography": "^1.9.0-beta.0",
|
|
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": "6ee621529704e08c9814cda206da98c37a9f0689"
|
|
55
55
|
}
|