@entur/datepicker 4.0.4 → 4.0.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 +46 -46
  2. package/package.json +4 -4
package/dist/styles.css CHANGED
@@ -21,6 +21,47 @@
21
21
  margin-right: -0.25rem;
22
22
  }/* DO NOT CHANGE!*/
23
23
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
24
+ .eds-datepicker {
25
+ position: relative;
26
+ width: -moz-fit-content;
27
+ width: fit-content;
28
+ }
29
+ .eds-datepicker__open-calendar-button {
30
+ position: absolute;
31
+ right: 0.5rem;
32
+ top: 0.45rem;
33
+ }
34
+ .eds-datepicker__open-calendar-button.eds-icon-button {
35
+ color: #181c56;
36
+ }
37
+ .eds-datepicker__open-calendar-button.eds-icon-button:hover {
38
+ background-color: #656782;
39
+ color: #ffffff;
40
+ }
41
+ .eds-datepicker__open-calendar-button.eds-icon-button:focus {
42
+ border: 0.0625rem solid #181c56;
43
+ }
44
+ .eds-datepicker__open-calendar-button.eds-icon-button:active {
45
+ background-color: #8285a8;
46
+ }
47
+ .eds-datepicker__datefield {
48
+ padding-right: 4rem;
49
+ }
50
+ .eds-datepicker__datefield--disabled {
51
+ padding-right: 1rem;
52
+ }
53
+ .eds-datepicker__datefield__wrapper {
54
+ position: relative;
55
+ }
56
+ .eds-datepicker__calendar-modal.eds-modal__content {
57
+ padding: 0;
58
+ padding: initial;
59
+ width: inherit;
60
+ background-color: transparent;
61
+ background-color: initial;
62
+ overflow: scroll;
63
+ }/* DO NOT CHANGE!*/
64
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
24
65
  .eds-datepicker__calendar,
25
66
  .eds-contrast .eds-datepicker__calendar {
26
67
  width: -moz-fit-content;
@@ -147,52 +188,6 @@
147
188
  border-bottom: 2px solid #ff5959;
148
189
  }/* DO NOT CHANGE!*/
149
190
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
150
- .eds-datepicker {
151
- position: relative;
152
- width: -moz-fit-content;
153
- width: fit-content;
154
- }
155
- .eds-datepicker__open-calendar-button {
156
- position: absolute;
157
- right: 0.5rem;
158
- top: 0.45rem;
159
- }
160
- .eds-datepicker__open-calendar-button.eds-icon-button {
161
- color: #181c56;
162
- }
163
- .eds-datepicker__open-calendar-button.eds-icon-button:hover {
164
- background-color: #656782;
165
- color: #ffffff;
166
- }
167
- .eds-datepicker__open-calendar-button.eds-icon-button:focus {
168
- border: 0.0625rem solid #181c56;
169
- }
170
- .eds-datepicker__open-calendar-button.eds-icon-button:active {
171
- background-color: #8285a8;
172
- }
173
- .eds-datepicker__datefield {
174
- padding-right: 4rem;
175
- }
176
- .eds-datepicker__datefield--disabled {
177
- padding-right: 1rem;
178
- }
179
- .eds-datepicker__datefield__wrapper {
180
- position: relative;
181
- }
182
- .eds-datepicker__calendar-modal.eds-modal__content {
183
- padding: 0;
184
- padding: initial;
185
- width: inherit;
186
- background-color: transparent;
187
- background-color: initial;
188
- overflow: scroll;
189
- }/* DO NOT CHANGE!*/
190
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
191
- .eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
192
- position: relative;
193
- top: -0.5rem;
194
- }/* DO NOT CHANGE!*/
195
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
196
191
  .eds-timepicker__wrapper {
197
192
  position: relative;
198
193
  display: flex;
@@ -240,6 +235,11 @@
240
235
  top: 3.5rem;
241
236
  }/* DO NOT CHANGE!*/
242
237
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
238
+ .eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
239
+ position: relative;
240
+ top: -0.5rem;
241
+ }/* DO NOT CHANGE!*/
242
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
243
243
  [dir="ltr"] .eds-date-and-time-field__segment {
244
244
  text-align: right;
245
245
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "4.0.4",
3
+ "version": "4.0.5",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/datepicker.esm.js",
@@ -29,11 +29,11 @@
29
29
  "dependencies": {
30
30
  "@entur/a11y": "^0.2.59",
31
31
  "@entur/button": "^2.10.14",
32
- "@entur/form": "^5.4.18",
32
+ "@entur/form": "^5.4.19",
33
33
  "@entur/icons": "^5.8.0",
34
34
  "@entur/modal": "^1.6.24",
35
35
  "@entur/tokens": "^3.8.0",
36
- "@entur/tooltip": "^2.6.5",
36
+ "@entur/tooltip": "^2.6.6",
37
37
  "@entur/typography": "^1.7.10",
38
38
  "@entur/utils": "^0.5.5",
39
39
  "@floating-ui/react-dom": "^1.0.0",
@@ -52,5 +52,5 @@
52
52
  "node": "16.17.0",
53
53
  "yarn": "1.22.19"
54
54
  },
55
- "gitHead": "bc067536ed769de8072f19002ef4877a1e974443"
55
+ "gitHead": "3b97ecb2ab0cba40d9f353d936dc0a87a6253108"
56
56
  }