@entur/datepicker 9.0.2 → 9.0.3-alpha.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 +88 -88
- package/package.json +3 -3
package/dist/styles.css
CHANGED
|
@@ -1,3 +1,91 @@
|
|
|
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
|
+
/* DO NOT CHANGE!*/
|
|
20
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
21
|
+
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
22
|
+
text-align: right;
|
|
23
|
+
}
|
|
24
|
+
[dir="rtl"] .eds-date-and-time-field__segment {
|
|
25
|
+
text-align: left;
|
|
26
|
+
}
|
|
27
|
+
.eds-date-and-time-field__segment {
|
|
28
|
+
margin-top: 1rem;
|
|
29
|
+
padding: 0 2px;
|
|
30
|
+
font-feature-settings: "tnum";
|
|
31
|
+
font-variant-numeric: tabular-nums;
|
|
32
|
+
}
|
|
33
|
+
.eds-date-and-time-field__segment--placeholder {
|
|
34
|
+
color: #646464;
|
|
35
|
+
}
|
|
36
|
+
.eds-date-and-time-field__segment--dot-separator {
|
|
37
|
+
margin-left: -0.1rem;
|
|
38
|
+
margin-right: -0.2rem;
|
|
39
|
+
}
|
|
40
|
+
.eds-date-and-time-field__segment:focus {
|
|
41
|
+
background-color: #656782;
|
|
42
|
+
color: #ffffff;
|
|
43
|
+
outline: transparent;
|
|
44
|
+
border-radius: 0.0625rem;
|
|
45
|
+
}
|
|
46
|
+
/* DO NOT CHANGE!*/
|
|
47
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
48
|
+
.eds-datepicker {
|
|
49
|
+
position: relative;
|
|
50
|
+
width: -moz-fit-content;
|
|
51
|
+
width: fit-content;
|
|
52
|
+
height: -moz-fit-content;
|
|
53
|
+
height: fit-content;
|
|
54
|
+
}
|
|
55
|
+
.eds-datepicker__open-calendar-button {
|
|
56
|
+
position: absolute;
|
|
57
|
+
right: 0.5rem;
|
|
58
|
+
top: 0.45rem;
|
|
59
|
+
}
|
|
60
|
+
.eds-datepicker__open-calendar-button.eds-icon-button {
|
|
61
|
+
color: #181c56;
|
|
62
|
+
}
|
|
63
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:hover {
|
|
64
|
+
background-color: #656782;
|
|
65
|
+
color: #ffffff;
|
|
66
|
+
}
|
|
67
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:focus {
|
|
68
|
+
border: 0.0625rem solid #181c56;
|
|
69
|
+
}
|
|
70
|
+
.eds-datepicker__open-calendar-button.eds-icon-button:active {
|
|
71
|
+
background-color: #8285a8;
|
|
72
|
+
}
|
|
73
|
+
.eds-datepicker__datefield {
|
|
74
|
+
padding-right: 4rem;
|
|
75
|
+
}
|
|
76
|
+
.eds-datepicker__datefield--disabled {
|
|
77
|
+
padding-right: 1rem;
|
|
78
|
+
}
|
|
79
|
+
.eds-datepicker__datefield__wrapper {
|
|
80
|
+
position: relative;
|
|
81
|
+
}
|
|
82
|
+
.eds-datepicker__calendar-modal.eds-modal__content {
|
|
83
|
+
padding: 0;
|
|
84
|
+
padding: initial;
|
|
85
|
+
width: inherit;
|
|
86
|
+
background-color: transparent;
|
|
87
|
+
background-color: initial;
|
|
88
|
+
}
|
|
1
89
|
/* DO NOT CHANGE!*/
|
|
2
90
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
91
|
.eds-datepicker__calendar,
|
|
@@ -125,94 +213,6 @@
|
|
|
125
213
|
.eds-contrast .eds-datepicker__calendar__grid__cell--today {
|
|
126
214
|
border-bottom: 2px solid #ff5959;
|
|
127
215
|
}
|
|
128
|
-
.eds-datefield div:first-of-type.eds-date-and-time-field__segment {
|
|
129
|
-
margin-left: 1rem;
|
|
130
|
-
}
|
|
131
|
-
.eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
|
|
132
|
-
border-color: transparent;
|
|
133
|
-
box-shadow: none;
|
|
134
|
-
}
|
|
135
|
-
.eds-datefield.eds-form-control-wrapper--disabled:focus-within {
|
|
136
|
-
border-color: transparent;
|
|
137
|
-
box-shadow: none;
|
|
138
|
-
}
|
|
139
|
-
.eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
140
|
-
background: none;
|
|
141
|
-
}
|
|
142
|
-
.eds-datefield .eds-form-control__append--tooltip {
|
|
143
|
-
margin-top: 0.75rem;
|
|
144
|
-
margin-right: -0.25rem;
|
|
145
|
-
}
|
|
146
|
-
/* DO NOT CHANGE!*/
|
|
147
|
-
/* 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: transparent;
|
|
171
|
-
border-radius: 0.0625rem;
|
|
172
|
-
}
|
|
173
|
-
/* DO NOT CHANGE!*/
|
|
174
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
175
|
-
.eds-datepicker {
|
|
176
|
-
position: relative;
|
|
177
|
-
width: -moz-fit-content;
|
|
178
|
-
width: fit-content;
|
|
179
|
-
height: -moz-fit-content;
|
|
180
|
-
height: fit-content;
|
|
181
|
-
}
|
|
182
|
-
.eds-datepicker__open-calendar-button {
|
|
183
|
-
position: absolute;
|
|
184
|
-
right: 0.5rem;
|
|
185
|
-
top: 0.45rem;
|
|
186
|
-
}
|
|
187
|
-
.eds-datepicker__open-calendar-button.eds-icon-button {
|
|
188
|
-
color: #181c56;
|
|
189
|
-
}
|
|
190
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:hover {
|
|
191
|
-
background-color: #656782;
|
|
192
|
-
color: #ffffff;
|
|
193
|
-
}
|
|
194
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:focus {
|
|
195
|
-
border: 0.0625rem solid #181c56;
|
|
196
|
-
}
|
|
197
|
-
.eds-datepicker__open-calendar-button.eds-icon-button:active {
|
|
198
|
-
background-color: #8285a8;
|
|
199
|
-
}
|
|
200
|
-
.eds-datepicker__datefield {
|
|
201
|
-
padding-right: 4rem;
|
|
202
|
-
}
|
|
203
|
-
.eds-datepicker__datefield--disabled {
|
|
204
|
-
padding-right: 1rem;
|
|
205
|
-
}
|
|
206
|
-
.eds-datepicker__datefield__wrapper {
|
|
207
|
-
position: relative;
|
|
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
216
|
/* DO NOT CHANGE!*/
|
|
217
217
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
218
218
|
.eds-timepicker__wrapper {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/datepicker",
|
|
3
|
-
"version": "9.0.
|
|
3
|
+
"version": "9.0.3-alpha.0",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/datepicker.esm.js",
|
|
@@ -31,7 +31,7 @@
|
|
|
31
31
|
"@entur/button": "^3.2.2",
|
|
32
32
|
"@entur/form": "^7.0.29",
|
|
33
33
|
"@entur/icons": "^6.12.1",
|
|
34
|
-
"@entur/modal": "^
|
|
34
|
+
"@entur/modal": "^2.0.0-alpha.0",
|
|
35
35
|
"@entur/tokens": "^3.11.1",
|
|
36
36
|
"@entur/tooltip": "^2.6.38",
|
|
37
37
|
"@entur/typography": "^1.8.17",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"classnames": "^2.3.1",
|
|
49
49
|
"react-focus-lock": "^2.9.1"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "46d0a52a33d2b59431ab6c60385ec2759c74dc59"
|
|
52
52
|
}
|