@entur/datepicker 9.4.5 → 9.4.6

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 +52 -52
  2. package/package.json +3 -3
package/dist/styles.css CHANGED
@@ -1,46 +1,20 @@
1
- /* DO NOT CHANGE!*/
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: var(--components-datepicker-calendar-icon);
17
- }
18
- .eds-datepicker__open-calendar-button.eds-icon-button:hover {
19
- background-color: var(--components-button-iconbutton-standard-hover);
20
- }
21
- .eds-datepicker__open-calendar-button.eds-icon-button:focus {
22
- outline: 2px solid #181c56;
23
- outline-color: var(--basecolors-stroke-focus-standard);
24
- outline-offset: 0.125rem;
25
- }
26
- .eds-datepicker__open-calendar-button.eds-icon-button:active {
27
- background-color: var(--components-button-iconbutton-standard-active);
1
+ .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
2
+ margin-left: 1rem;
28
3
  }
29
- .eds-datepicker__datefield {
30
- padding-right: 4rem;
4
+ .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
5
+ border-color: transparent;
6
+ box-shadow: none;
31
7
  }
32
- .eds-datepicker__datefield--disabled {
33
- padding-right: 1rem;
8
+ .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
9
+ border-color: transparent;
10
+ box-shadow: none;
34
11
  }
35
- .eds-datepicker__datefield__wrapper {
36
- position: relative;
12
+ .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
13
+ background: none;
37
14
  }
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;
15
+ .eds-datefield .eds-form-control__append--tooltip {
16
+ margin-top: 0.75rem;
17
+ margin-right: -0.25rem;
44
18
  }
45
19
  /* DO NOT CHANGE!*/
46
20
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -212,23 +186,49 @@
212
186
  outline: transparent;
213
187
  border-radius: 0.0625rem;
214
188
  }
215
- .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
216
- margin-left: 1rem;
189
+ /* DO NOT CHANGE!*/
190
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
191
+ .eds-datepicker {
192
+ position: relative;
193
+ width: -moz-fit-content;
194
+ width: fit-content;
195
+ height: -moz-fit-content;
196
+ height: fit-content;
217
197
  }
218
- .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
219
- border-color: transparent;
220
- box-shadow: none;
198
+ .eds-datepicker__open-calendar-button {
199
+ position: absolute;
200
+ right: 0.5rem;
201
+ top: 0.45rem;
221
202
  }
222
- .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
223
- border-color: transparent;
224
- box-shadow: none;
203
+ .eds-datepicker__open-calendar-button.eds-icon-button {
204
+ color: var(--components-datepicker-calendar-icon);
225
205
  }
226
- .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
227
- background: none;
206
+ .eds-datepicker__open-calendar-button.eds-icon-button:hover {
207
+ background-color: var(--components-button-iconbutton-standard-hover);
228
208
  }
229
- .eds-datefield .eds-form-control__append--tooltip {
230
- margin-top: 0.75rem;
231
- margin-right: -0.25rem;
209
+ .eds-datepicker__open-calendar-button.eds-icon-button:focus {
210
+ outline: 2px solid #181c56;
211
+ outline-color: var(--basecolors-stroke-focus-standard);
212
+ outline-offset: 0.125rem;
213
+ }
214
+ .eds-datepicker__open-calendar-button.eds-icon-button:active {
215
+ background-color: var(--components-button-iconbutton-standard-active);
216
+ }
217
+ .eds-datepicker__datefield {
218
+ padding-right: 4rem;
219
+ }
220
+ .eds-datepicker__datefield--disabled {
221
+ padding-right: 1rem;
222
+ }
223
+ .eds-datepicker__datefield__wrapper {
224
+ position: relative;
225
+ }
226
+ .eds-datepicker__calendar-modal.eds-modal__content {
227
+ padding: 0;
228
+ padding: initial;
229
+ width: inherit;
230
+ background-color: transparent;
231
+ background-color: initial;
232
232
  }
233
233
  /* DO NOT CHANGE!*/
234
234
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "9.4.5",
3
+ "version": "9.4.6",
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.84",
31
31
  "@entur/button": "^3.2.21",
32
- "@entur/form": "^7.1.5",
32
+ "@entur/form": "^7.1.6",
33
33
  "@entur/icons": "^6.16.0",
34
34
  "@entur/modal": "^1.7.42",
35
35
  "@entur/tokens": "^3.14.0",
@@ -48,5 +48,5 @@
48
48
  "classnames": "^2.3.1",
49
49
  "react-focus-lock": "^2.9.1"
50
50
  },
51
- "gitHead": "5044cdb815a75fc0eff204cedd98e4d1c7d1971e"
51
+ "gitHead": "3c7f2eef6a200733249c13a3eaf5796054e44fb6"
52
52
  }