@entur/datepicker 8.1.4 → 8.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.
Files changed (2) hide show
  1. package/dist/styles.css +64 -60
  2. package/package.json +2 -2
package/dist/styles.css CHANGED
@@ -1,5 +1,49 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
+ .eds-datepicker {
4
+ position: relative;
5
+ width: -moz-fit-content;
6
+ width: fit-content;
7
+ height: -moz-fit-content;
8
+ height: fit-content;
9
+ }
10
+ .eds-datepicker__open-calendar-button {
11
+ position: absolute;
12
+ right: 0.5rem;
13
+ top: 0.45rem;
14
+ }
15
+ .eds-datepicker__open-calendar-button.eds-icon-button {
16
+ color: #181c56;
17
+ }
18
+ .eds-datepicker__open-calendar-button.eds-icon-button:hover {
19
+ background-color: #656782;
20
+ color: #ffffff;
21
+ }
22
+ .eds-datepicker__open-calendar-button.eds-icon-button:focus {
23
+ border: 0.0625rem solid #181c56;
24
+ }
25
+ .eds-datepicker__open-calendar-button.eds-icon-button:active {
26
+ background-color: #8285a8;
27
+ }
28
+ .eds-datepicker__datefield {
29
+ padding-right: 4rem;
30
+ }
31
+ .eds-datepicker__datefield--disabled {
32
+ padding-right: 1rem;
33
+ }
34
+ .eds-datepicker__datefield__wrapper {
35
+ position: relative;
36
+ }
37
+ .eds-datepicker__calendar-modal.eds-modal__content {
38
+ padding: 0;
39
+ padding: initial;
40
+ width: inherit;
41
+ background-color: transparent;
42
+ background-color: initial;
43
+ overflow: scroll;
44
+ }
45
+ /* DO NOT CHANGE!*/
46
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
47
  [dir="ltr"] .eds-date-and-time-field__segment {
4
48
  text-align: right;
5
49
  }
@@ -25,6 +69,24 @@
25
69
  outline: none;
26
70
  border-radius: 0.0625rem;
27
71
  }
72
+ .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
73
+ margin-left: 1rem;
74
+ }
75
+ .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
76
+ border-color: transparent;
77
+ box-shadow: none;
78
+ }
79
+ .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
80
+ border-color: transparent;
81
+ box-shadow: none;
82
+ }
83
+ .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
84
+ background: none;
85
+ }
86
+ .eds-datefield .eds-form-control__append--tooltip {
87
+ margin-top: 0.75rem;
88
+ margin-right: -0.25rem;
89
+ }
28
90
  /* DO NOT CHANGE!*/
29
91
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
30
92
  .eds-datepicker__calendar,
@@ -152,66 +214,6 @@
152
214
  .eds-contrast .eds-datepicker__calendar__grid__cell--today {
153
215
  border-bottom: 2px solid #ff5959;
154
216
  }
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
- /* 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
- }
180
- .eds-datepicker__open-calendar-button {
181
- position: absolute;
182
- right: 0.5rem;
183
- top: 0.45rem;
184
- }
185
- .eds-datepicker__open-calendar-button.eds-icon-button {
186
- color: #181c56;
187
- }
188
- .eds-datepicker__open-calendar-button.eds-icon-button:hover {
189
- background-color: #656782;
190
- color: #ffffff;
191
- }
192
- .eds-datepicker__open-calendar-button.eds-icon-button:focus {
193
- border: 0.0625rem solid #181c56;
194
- }
195
- .eds-datepicker__open-calendar-button.eds-icon-button:active {
196
- background-color: #8285a8;
197
- }
198
- .eds-datepicker__datefield {
199
- padding-right: 4rem;
200
- }
201
- .eds-datepicker__datefield--disabled {
202
- padding-right: 1rem;
203
- }
204
- .eds-datepicker__datefield__wrapper {
205
- position: relative;
206
- }
207
- .eds-datepicker__calendar-modal.eds-modal__content {
208
- padding: 0;
209
- padding: initial;
210
- width: inherit;
211
- background-color: transparent;
212
- background-color: initial;
213
- overflow: scroll;
214
- }
215
217
  /* DO NOT CHANGE!*/
216
218
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
217
219
  .eds-timepicker__wrapper {
@@ -220,6 +222,8 @@
220
222
  align-items: center;
221
223
  width: -moz-fit-content;
222
224
  width: fit-content;
225
+ height: -moz-fit-content;
226
+ height: fit-content;
223
227
  }
224
228
  .eds-timepicker__wrapper .eds-timepicker {
225
229
  justify-content: center;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "8.1.4",
3
+ "version": "8.1.5",
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": "bfcfe0c1a78ad15d2e1a3fffe235ec21f02bae17"
55
+ "gitHead": "7ecb3eeac9f269ea9e606018fa34fbd7a2c6f799"
56
56
  }