@entur/datepicker 4.0.8 → 4.0.9

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.
Files changed (2) hide show
  1. package/dist/styles.css +68 -68
  2. package/package.json +3 -3
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-datepicker__calendar,
7
49
  .eds-contrast .eds-datepicker__calendar {
8
50
  width: -moz-fit-content;
@@ -130,74 +172,6 @@
130
172
  }
131
173
  /* DO NOT CHANGE!*/
132
174
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
133
- .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
134
- margin-left: 1rem;
135
- }
136
- .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
137
- border-color: transparent;
138
- box-shadow: none;
139
- }
140
- .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
141
- border-color: transparent;
142
- box-shadow: none;
143
- }
144
- .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
145
- background: none;
146
- }
147
- .eds-datefield .eds-form-control__append--tooltip {
148
- margin-top: 0.75rem;
149
- margin-right: -0.25rem;
150
- }
151
- /* DO NOT CHANGE!*/
152
- /* 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-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
196
- position: relative;
197
- top: -0.5rem;
198
- }
199
- /* DO NOT CHANGE!*/
200
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
201
175
  .eds-timepicker__wrapper {
202
176
  position: relative;
203
177
  display: flex;
@@ -246,6 +220,32 @@
246
220
  }
247
221
  /* DO NOT CHANGE!*/
248
222
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
223
+ .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
224
+ margin-left: 1rem;
225
+ }
226
+ .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
227
+ border-color: transparent;
228
+ box-shadow: none;
229
+ }
230
+ .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
231
+ border-color: transparent;
232
+ box-shadow: none;
233
+ }
234
+ .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
235
+ background: none;
236
+ }
237
+ .eds-datefield .eds-form-control__append--tooltip {
238
+ margin-top: 0.75rem;
239
+ margin-right: -0.25rem;
240
+ }
241
+ /* DO NOT CHANGE!*/
242
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
243
+ .eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
244
+ position: relative;
245
+ top: -0.5rem;
246
+ }
247
+ /* DO NOT CHANGE!*/
248
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
249
249
  [dir="ltr"] .eds-date-and-time-field__segment {
250
250
  text-align: right;
251
251
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "4.0.8",
3
+ "version": "4.0.9",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/datepicker.esm.js",
@@ -29,7 +29,7 @@
29
29
  "dependencies": {
30
30
  "@entur/a11y": "^0.2.60",
31
31
  "@entur/button": "^3.0.1",
32
- "@entur/form": "^6.0.1",
32
+ "@entur/form": "^6.1.0",
33
33
  "@entur/icons": "^6.0.1",
34
34
  "@entur/modal": "^1.6.27",
35
35
  "@entur/tokens": "^3.8.1",
@@ -52,5 +52,5 @@
52
52
  "node": "16.17.0",
53
53
  "yarn": "1.22.19"
54
54
  },
55
- "gitHead": "1e78a655ffc4c4ca80d8e54495768282dc374201"
55
+ "gitHead": "2c2a0a8c94b5196ccb817debb70da641af1e1fcc"
56
56
  }