@entur/datepicker 9.1.2 → 9.1.3

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 +51 -51
  2. package/package.json +9 -9
package/dist/styles.css CHANGED
@@ -1,45 +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: #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
- outline: 2px solid #181c56;
24
- }
25
- .eds-datepicker__open-calendar-button.eds-icon-button:active {
26
- background-color: #8285a8;
1
+ .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
2
+ margin-left: 1rem;
27
3
  }
28
- .eds-datepicker__datefield {
29
- padding-right: 4rem;
4
+ .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
5
+ border-color: transparent;
6
+ box-shadow: none;
30
7
  }
31
- .eds-datepicker__datefield--disabled {
32
- padding-right: 1rem;
8
+ .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
9
+ border-color: transparent;
10
+ box-shadow: none;
33
11
  }
34
- .eds-datepicker__datefield__wrapper {
35
- position: relative;
12
+ .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
13
+ background: none;
36
14
  }
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;
15
+ .eds-datefield .eds-form-control__append--tooltip {
16
+ margin-top: 0.75rem;
17
+ margin-right: -0.25rem;
43
18
  }
44
19
  /* DO NOT CHANGE!*/
45
20
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -195,23 +170,48 @@
195
170
  .eds-contrast .eds-datepicker__calendar__grid__cell--today {
196
171
  border-bottom: 2px solid #ff5959;
197
172
  }
198
- .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
199
- margin-left: 1rem;
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
+ height: -moz-fit-content;
180
+ height: fit-content;
200
181
  }
201
- .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
202
- border-color: transparent;
203
- box-shadow: none;
182
+ .eds-datepicker__open-calendar-button {
183
+ position: absolute;
184
+ right: 0.5rem;
185
+ top: 0.45rem;
204
186
  }
205
- .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
206
- border-color: transparent;
207
- box-shadow: none;
187
+ .eds-datepicker__open-calendar-button.eds-icon-button {
188
+ color: #181c56;
208
189
  }
209
- .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
210
- background: none;
190
+ .eds-datepicker__open-calendar-button.eds-icon-button:hover {
191
+ background-color: #656782;
192
+ color: #ffffff;
211
193
  }
212
- .eds-datefield .eds-form-control__append--tooltip {
213
- margin-top: 0.75rem;
214
- margin-right: -0.25rem;
194
+ .eds-datepicker__open-calendar-button.eds-icon-button:focus {
195
+ outline: 2px solid #181c56;
196
+ }
197
+ .eds-datepicker__open-calendar-button.eds-icon-button:active {
198
+ background-color: #8285a8;
199
+ }
200
+ .eds-datepicker__datefield {
201
+ padding-right: 4rem;
202
+ }
203
+ .eds-datepicker__datefield--disabled {
204
+ padding-right: 1rem;
205
+ }
206
+ .eds-datepicker__datefield__wrapper {
207
+ position: relative;
208
+ }
209
+ .eds-datepicker__calendar-modal.eds-modal__content {
210
+ padding: 0;
211
+ padding: initial;
212
+ width: inherit;
213
+ background-color: transparent;
214
+ background-color: initial;
215
215
  }
216
216
  /* DO NOT CHANGE!*/
217
217
  /* 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.1.2",
3
+ "version": "9.1.3",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/datepicker.esm.js",
@@ -27,15 +27,15 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/a11y": "^0.2.74",
31
- "@entur/button": "^3.2.6",
32
- "@entur/form": "^7.0.33",
30
+ "@entur/a11y": "^0.2.75",
31
+ "@entur/button": "^3.2.7",
32
+ "@entur/form": "^7.0.34",
33
33
  "@entur/icons": "^6.13.2",
34
- "@entur/modal": "^1.7.26",
34
+ "@entur/modal": "^1.7.27",
35
35
  "@entur/tokens": "^3.12.0",
36
- "@entur/tooltip": "^2.6.42",
37
- "@entur/typography": "^1.8.20",
38
- "@entur/utils": "^0.9.5",
36
+ "@entur/tooltip": "^2.6.43",
37
+ "@entur/typography": "^1.8.21",
38
+ "@entur/utils": "^0.10.0",
39
39
  "@floating-ui/react-dom": "^1.0.0",
40
40
  "@internationalized/date": "^3.4.0",
41
41
  "@react-aria/button": "^3.6.4",
@@ -48,5 +48,5 @@
48
48
  "classnames": "^2.3.1",
49
49
  "react-focus-lock": "^2.9.1"
50
50
  },
51
- "gitHead": "05cb986bc4373b1fe20d51c298c4395dd2500843"
51
+ "gitHead": "55899d49a6bab285199abb7c6709da8088e5a2e3"
52
52
  }