@entur/datepicker 10.0.6 → 10.0.7

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 +31 -31
  2. package/package.json +4 -4
package/dist/styles.css CHANGED
@@ -1,5 +1,28 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
+ .eds-datefield {
4
+ width: -moz-fit-content;
5
+ width: fit-content;
6
+ }
7
+ .eds-datefield .eds-form-control-wrapper {
8
+ padding-left: 1rem;
9
+ padding-right: 1rem;
10
+ width: -moz-fit-content;
11
+ width: fit-content;
12
+ }
13
+ .eds-datefield .eds-form-control-wrapper--disabled[focus-within] {
14
+ border-color: transparent;
15
+ box-shadow: none;
16
+ }
17
+ .eds-datefield .eds-form-control-wrapper--disabled:focus-within {
18
+ border-color: transparent;
19
+ box-shadow: none;
20
+ }
21
+ .eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
22
+ background: none;
23
+ }
24
+ /* DO NOT CHANGE!*/
25
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
26
  .eds-datepicker__calendar,
4
27
  .eds-contrast .eds-datepicker__calendar {
5
28
  width: -moz-fit-content;
@@ -173,32 +196,12 @@
173
196
  }
174
197
  /* DO NOT CHANGE!*/
175
198
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
176
- .eds-datefield {
177
- width: -moz-fit-content;
178
- width: fit-content;
179
- }
180
- .eds-datefield .eds-form-control-wrapper {
181
- padding-left: 1rem;
182
- padding-right: 1rem;
183
- width: -moz-fit-content;
184
- width: fit-content;
185
- }
186
- .eds-datefield .eds-form-control-wrapper--disabled[focus-within] {
187
- border-color: transparent;
188
- box-shadow: none;
189
- }
190
- .eds-datefield .eds-form-control-wrapper--disabled:focus-within {
191
- border-color: transparent;
192
- box-shadow: none;
193
- }
194
- .eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
195
- background: none;
196
- }
197
- /* DO NOT CHANGE!*/
198
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
199
- .eds-datepicker.eds-datefield .eds-form-control-wrapper {
199
+ .eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control-wrapper {
200
200
  padding-right: 0rem;
201
201
  }
202
+ .eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control__append {
203
+ margin-left: auto;
204
+ }
202
205
  .eds-datepicker__open-calendar-button {
203
206
  margin: 0rem 0.25rem 0rem 0.5rem;
204
207
  }
@@ -216,9 +219,6 @@
216
219
  .eds-datepicker__open-calendar-button.eds-icon-button:active {
217
220
  background-color: var(--components-button-iconbutton-standard-active);
218
221
  }
219
- .eds-datepicker--disabled {
220
- padding-right: 1rem;
221
- }
222
222
  .eds-datepicker__calendar-modal.eds-modal__content {
223
223
  padding: 0;
224
224
  padding: initial;
@@ -226,6 +226,10 @@
226
226
  background-color: transparent;
227
227
  background-color: initial;
228
228
  }
229
+ .eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
230
+ position: relative;
231
+ top: -0.5rem;
232
+ }
229
233
  /* DO NOT CHANGE!*/
230
234
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
231
235
  .eds-timepicker {
@@ -265,10 +269,6 @@
265
269
  .eds-timepicker .eds-icon-button--disabled__wrapper {
266
270
  display: none;
267
271
  }
268
- .eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
269
- position: relative;
270
- top: -0.5rem;
271
- }
272
272
  .eds-simple-timepicker {
273
273
  --input-width: 7rem;
274
274
  width: var(--input-width);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "10.0.6",
3
+ "version": "10.0.7",
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.91",
31
31
  "@entur/button": "^3.2.33",
32
- "@entur/form": "^8.1.3",
32
+ "@entur/form": "^8.1.4",
33
33
  "@entur/icons": "^7.4.1",
34
34
  "@entur/modal": "^1.7.54",
35
35
  "@entur/tokens": "^3.17.1",
36
- "@entur/tooltip": "^5.0.0",
36
+ "@entur/tooltip": "^5.1.0",
37
37
  "@entur/typography": "^1.8.46",
38
38
  "@entur/utils": "^0.12.0",
39
39
  "@floating-ui/react-dom": "^2.1.0",
@@ -48,5 +48,5 @@
48
48
  "classnames": "^2.3.1",
49
49
  "react-focus-lock": "^2.9.1"
50
50
  },
51
- "gitHead": "b038c9f7061c44765606ab8b7519c205ca633635"
51
+ "gitHead": "7df4cea445e3dac77f80619ea0c298dc0b5c31e0"
52
52
  }