@entur/datepicker 8.1.0-beta.1 → 8.1.0-beta.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/TimePicker/SimpleTimePicker.d.ts +4 -2
- package/dist/datepicker.cjs.development.js +15 -7
- package/dist/datepicker.cjs.development.js.map +1 -1
- package/dist/datepicker.cjs.production.min.js +1 -1
- package/dist/datepicker.cjs.production.min.js.map +1 -1
- package/dist/datepicker.esm.js +15 -7
- package/dist/datepicker.esm.js.map +1 -1
- package/dist/styles.css +109 -141
- package/package.json +2 -2
package/dist/styles.css
CHANGED
|
@@ -3,6 +3,48 @@
|
|
|
3
3
|
}
|
|
4
4
|
/* DO NOT CHANGE!*/
|
|
5
5
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
6
|
+
.eds-datepicker {
|
|
7
|
+
position: relative;
|
|
8
|
+
width: -moz-fit-content;
|
|
9
|
+
width: fit-content;
|
|
10
|
+
}
|
|
11
|
+
.eds-datepicker__open-calendar-button {
|
|
12
|
+
position: absolute;
|
|
13
|
+
right: 0.5rem;
|
|
14
|
+
top: 0.45rem;
|
|
15
|
+
}
|
|
16
|
+
.eds-datepicker__open-calendar-button.eds-icon-button {
|
|
17
|
+
color: #181c56;
|
|
18
|
+
}
|
|
19
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:hover {
|
|
20
|
+
background-color: #656782;
|
|
21
|
+
color: #ffffff;
|
|
22
|
+
}
|
|
23
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:focus {
|
|
24
|
+
border: 0.0625rem solid #181c56;
|
|
25
|
+
}
|
|
26
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:active {
|
|
27
|
+
background-color: #8285a8;
|
|
28
|
+
}
|
|
29
|
+
.eds-datepicker__datefield {
|
|
30
|
+
padding-right: 4rem;
|
|
31
|
+
}
|
|
32
|
+
.eds-datepicker__datefield--disabled {
|
|
33
|
+
padding-right: 1rem;
|
|
34
|
+
}
|
|
35
|
+
.eds-datepicker__datefield__wrapper {
|
|
36
|
+
position: relative;
|
|
37
|
+
}
|
|
38
|
+
.eds-datepicker__calendar-modal.eds-modal__content {
|
|
39
|
+
padding: 0;
|
|
40
|
+
padding: initial;
|
|
41
|
+
width: inherit;
|
|
42
|
+
background-color: transparent;
|
|
43
|
+
background-color: initial;
|
|
44
|
+
overflow: scroll;
|
|
45
|
+
}
|
|
46
|
+
/* DO NOT CHANGE!*/
|
|
47
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
6
48
|
.eds-datefield div:first-of-type.eds-date-and-time-field__segment {
|
|
7
49
|
margin-left: 1rem;
|
|
8
50
|
}
|
|
@@ -23,6 +65,73 @@
|
|
|
23
65
|
}
|
|
24
66
|
/* DO NOT CHANGE!*/
|
|
25
67
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
68
|
+
.eds-timepicker__wrapper {
|
|
69
|
+
position: relative;
|
|
70
|
+
display: flex;
|
|
71
|
+
align-items: center;
|
|
72
|
+
width: -moz-fit-content;
|
|
73
|
+
width: fit-content;
|
|
74
|
+
}
|
|
75
|
+
.eds-timepicker__wrapper .eds-timepicker {
|
|
76
|
+
justify-content: center;
|
|
77
|
+
padding: 0rem 3rem;
|
|
78
|
+
}
|
|
79
|
+
.eds-timepicker__wrapper .eds-timepicker .eds-input-group__label,
|
|
80
|
+
.eds-timepicker__wrapper .eds-timepicker .eds-input-group__label--filled {
|
|
81
|
+
margin-left: 0rem !important;
|
|
82
|
+
}
|
|
83
|
+
.eds-timepicker__wrapper .eds-timepicker__arrowbutton {
|
|
84
|
+
color: #181c56;
|
|
85
|
+
}
|
|
86
|
+
.eds-timepicker__wrapper .eds-timepicker__arrowbutton--left {
|
|
87
|
+
position: absolute;
|
|
88
|
+
left: 0.35rem;
|
|
89
|
+
z-index: 1;
|
|
90
|
+
}
|
|
91
|
+
.eds-timepicker__wrapper .eds-timepicker__arrowbutton--right {
|
|
92
|
+
position: absolute;
|
|
93
|
+
right: 0.4rem;
|
|
94
|
+
}
|
|
95
|
+
.eds-timepicker__wrapper .eds-timepicker__arrowbutton--disabled {
|
|
96
|
+
opacity: 0.5;
|
|
97
|
+
pointer-events: none;
|
|
98
|
+
visibility: hidden;
|
|
99
|
+
}
|
|
100
|
+
.eds-timepicker__wrapper .eds-timepicker__arrowbutton:hover {
|
|
101
|
+
background-color: #d1d4e3;
|
|
102
|
+
}
|
|
103
|
+
.eds-timepicker__wrapper .eds-timepicker .eds-form-control__append--tooltip {
|
|
104
|
+
margin-top: 0.75rem;
|
|
105
|
+
margin-right: -0.25rem;
|
|
106
|
+
}
|
|
107
|
+
.eds-timepicker__wrapper .eds-icon-button--disabled__wrapper {
|
|
108
|
+
display: none;
|
|
109
|
+
}
|
|
110
|
+
.eds-timepicker__wrapper .eds-feedback-text {
|
|
111
|
+
position: absolute;
|
|
112
|
+
top: 3.5rem;
|
|
113
|
+
}
|
|
114
|
+
/* DO NOT CHANGE!*/
|
|
115
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
116
|
+
.eds-simple-timepicker {
|
|
117
|
+
--input-width: 7rem;
|
|
118
|
+
width: var(--input-width);
|
|
119
|
+
}
|
|
120
|
+
.eds-simple-timepicker--hide-clock {
|
|
121
|
+
--input-width: 5rem;
|
|
122
|
+
}
|
|
123
|
+
.eds-simple-timepicker--show-seconds {
|
|
124
|
+
--input-width: 8.5rem;
|
|
125
|
+
}
|
|
126
|
+
.eds-simple-timepicker--show-seconds.eds-simple-timepicker--hide-clock {
|
|
127
|
+
--input-width: 6.5rem;
|
|
128
|
+
}
|
|
129
|
+
.eds-simple-timepicker .eds-form-control__append--tooltip {
|
|
130
|
+
margin-top: -0.2rem;
|
|
131
|
+
margin-left: -0.5rem;
|
|
132
|
+
}
|
|
133
|
+
/* DO NOT CHANGE!*/
|
|
134
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
26
135
|
.eds-datepicker__calendar,
|
|
27
136
|
.eds-contrast .eds-datepicker__calendar {
|
|
28
137
|
width: -moz-fit-content;
|
|
@@ -150,147 +259,6 @@
|
|
|
150
259
|
}
|
|
151
260
|
/* DO NOT CHANGE!*/
|
|
152
261
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
153
|
-
.eds-datepicker {
|
|
154
|
-
position: relative;
|
|
155
|
-
width: -moz-fit-content;
|
|
156
|
-
width: fit-content;
|
|
157
|
-
}
|
|
158
|
-
.eds-datepicker__open-calendar-button {
|
|
159
|
-
position: absolute;
|
|
160
|
-
right: 0.5rem;
|
|
161
|
-
top: 0.45rem;
|
|
162
|
-
}
|
|
163
|
-
.eds-datepicker__open-calendar-button.eds-icon-button {
|
|
164
|
-
color: #181c56;
|
|
165
|
-
}
|
|
166
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:hover {
|
|
167
|
-
background-color: #656782;
|
|
168
|
-
color: #ffffff;
|
|
169
|
-
}
|
|
170
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:focus {
|
|
171
|
-
border: 0.0625rem solid #181c56;
|
|
172
|
-
}
|
|
173
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:active {
|
|
174
|
-
background-color: #8285a8;
|
|
175
|
-
}
|
|
176
|
-
.eds-datepicker__datefield {
|
|
177
|
-
padding-right: 4rem;
|
|
178
|
-
}
|
|
179
|
-
.eds-datepicker__datefield--disabled {
|
|
180
|
-
padding-right: 1rem;
|
|
181
|
-
}
|
|
182
|
-
.eds-datepicker__datefield__wrapper {
|
|
183
|
-
position: relative;
|
|
184
|
-
}
|
|
185
|
-
.eds-datepicker__calendar-modal.eds-modal__content {
|
|
186
|
-
padding: 0;
|
|
187
|
-
padding: initial;
|
|
188
|
-
width: inherit;
|
|
189
|
-
background-color: transparent;
|
|
190
|
-
background-color: initial;
|
|
191
|
-
overflow: scroll;
|
|
192
|
-
}
|
|
193
|
-
/* DO NOT CHANGE!*/
|
|
194
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
195
|
-
.eds-timepicker__wrapper {
|
|
196
|
-
position: relative;
|
|
197
|
-
display: flex;
|
|
198
|
-
align-items: center;
|
|
199
|
-
width: -moz-fit-content;
|
|
200
|
-
width: fit-content;
|
|
201
|
-
}
|
|
202
|
-
.eds-timepicker__wrapper .eds-timepicker {
|
|
203
|
-
justify-content: center;
|
|
204
|
-
padding: 0rem 3rem;
|
|
205
|
-
}
|
|
206
|
-
.eds-timepicker__wrapper .eds-timepicker .eds-input-group__label,
|
|
207
|
-
.eds-timepicker__wrapper .eds-timepicker .eds-input-group__label--filled {
|
|
208
|
-
margin-left: 0rem !important;
|
|
209
|
-
}
|
|
210
|
-
.eds-timepicker__wrapper .eds-timepicker__arrowbutton {
|
|
211
|
-
color: #181c56;
|
|
212
|
-
}
|
|
213
|
-
.eds-timepicker__wrapper .eds-timepicker__arrowbutton--left {
|
|
214
|
-
position: absolute;
|
|
215
|
-
left: 0.35rem;
|
|
216
|
-
z-index: 1;
|
|
217
|
-
}
|
|
218
|
-
.eds-timepicker__wrapper .eds-timepicker__arrowbutton--right {
|
|
219
|
-
position: absolute;
|
|
220
|
-
right: 0.4rem;
|
|
221
|
-
}
|
|
222
|
-
.eds-timepicker__wrapper .eds-timepicker__arrowbutton--disabled {
|
|
223
|
-
opacity: 0.5;
|
|
224
|
-
pointer-events: none;
|
|
225
|
-
visibility: hidden;
|
|
226
|
-
}
|
|
227
|
-
.eds-timepicker__wrapper .eds-timepicker__arrowbutton:hover {
|
|
228
|
-
background-color: #d1d4e3;
|
|
229
|
-
}
|
|
230
|
-
.eds-timepicker__wrapper .eds-timepicker .eds-form-control__append--tooltip {
|
|
231
|
-
margin-top: 0.75rem;
|
|
232
|
-
margin-right: -0.25rem;
|
|
233
|
-
}
|
|
234
|
-
.eds-timepicker__wrapper .eds-icon-button--disabled__wrapper {
|
|
235
|
-
display: none;
|
|
236
|
-
}
|
|
237
|
-
.eds-timepicker__wrapper .eds-feedback-text {
|
|
238
|
-
position: absolute;
|
|
239
|
-
top: 3.5rem;
|
|
240
|
-
}
|
|
241
|
-
/* DO NOT CHANGE!*/
|
|
242
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
243
|
-
.eds-simple-timepicker {
|
|
244
|
-
--padding-sides: 1rem;
|
|
245
|
-
--input-width: 4.75rem;
|
|
246
|
-
width: -moz-fit-content;
|
|
247
|
-
width: fit-content;
|
|
248
|
-
}
|
|
249
|
-
.eds-simple-timepicker--show-seconds {
|
|
250
|
-
--input-width: 6.5rem;
|
|
251
|
-
}
|
|
252
|
-
.eds-simple-timepicker--padding-large {
|
|
253
|
-
--padding-sides: 1.5rem;
|
|
254
|
-
--input-width: 6rem;
|
|
255
|
-
}
|
|
256
|
-
.eds-simple-timepicker--padding-large.eds-simple-timepicker--show-seconds {
|
|
257
|
-
--input-width: 7.25rem;
|
|
258
|
-
}
|
|
259
|
-
.eds-simple-timepicker .eds-form-control {
|
|
260
|
-
width: var(--input-width);
|
|
261
|
-
padding-left: var(--padding-sides);
|
|
262
|
-
padding-right: var(--padding-sides);
|
|
263
|
-
}
|
|
264
|
-
.eds-simple-timepicker .eds-input-group__label,
|
|
265
|
-
.eds-simple-timepicker .eds-input-group-label-wrapper--filled .eds-input-group__label--filled {
|
|
266
|
-
margin-left: var(--padding-sides);
|
|
267
|
-
width: var(--input-width);
|
|
268
|
-
}
|
|
269
|
-
.eds-simple-timepicker .eds-form-control__append {
|
|
270
|
-
margin-top: 0.75rem;
|
|
271
|
-
margin-right: 0.5rem;
|
|
272
|
-
margin-left: -0.75rem;
|
|
273
|
-
}
|
|
274
|
-
.eds-simple-timepicker .eds-form-control__append--tooltip {
|
|
275
|
-
margin-top: 1rem;
|
|
276
|
-
margin-right: 0.25rem;
|
|
277
|
-
margin-left: -1rem;
|
|
278
|
-
}
|
|
279
|
-
.eds-simple-timepicker--show-seconds .eds-form-control__append {
|
|
280
|
-
margin-left: -1rem;
|
|
281
|
-
}
|
|
282
|
-
.eds-simple-timepicker--show-seconds .eds-form-control__append--tooltip {
|
|
283
|
-
margin-left: -1.25rem;
|
|
284
|
-
}
|
|
285
|
-
.eds-simple-timepicker--show-seconds .eds-form-control__append + .eds-form-control__append--tooltip {
|
|
286
|
-
margin-left: -0.5rem;
|
|
287
|
-
}
|
|
288
|
-
.eds-simple-timepicker .eds-feedback-text {
|
|
289
|
-
position: absolute;
|
|
290
|
-
top: 3.5rem;
|
|
291
|
-
}
|
|
292
|
-
/* DO NOT CHANGE!*/
|
|
293
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
294
262
|
.eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
|
|
295
263
|
position: relative;
|
|
296
264
|
top: -0.5rem;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/datepicker",
|
|
3
|
-
"version": "8.1.0-beta.
|
|
3
|
+
"version": "8.1.0-beta.2",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/datepicker.esm.js",
|
|
@@ -52,5 +52,5 @@
|
|
|
52
52
|
"node": "16.17.0",
|
|
53
53
|
"yarn": "1.22.19"
|
|
54
54
|
},
|
|
55
|
-
"gitHead": "
|
|
55
|
+
"gitHead": "dea21e8f8ae21e2652f9265a8f6ff367502ea2c2"
|
|
56
56
|
}
|