@entur/datepicker 9.1.2 → 9.1.3-beta.0

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 +60 -60
  2. package/package.json +9 -9
package/dist/styles.css CHANGED
@@ -1,48 +1,5 @@
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
- outline: 2px 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
- }
44
- /* DO NOT CHANGE!*/
45
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
46
3
  [dir="ltr"] .eds-date-and-time-field__segment {
47
4
  text-align: right;
48
5
  }
@@ -68,6 +25,24 @@
68
25
  outline: transparent;
69
26
  border-radius: 0.0625rem;
70
27
  }
28
+ .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
29
+ margin-left: 1rem;
30
+ }
31
+ .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
32
+ border-color: transparent;
33
+ box-shadow: none;
34
+ }
35
+ .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
36
+ border-color: transparent;
37
+ box-shadow: none;
38
+ }
39
+ .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
40
+ background: none;
41
+ }
42
+ .eds-datefield .eds-form-control__append--tooltip {
43
+ margin-top: 0.75rem;
44
+ margin-right: -0.25rem;
45
+ }
71
46
  /* DO NOT CHANGE!*/
72
47
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
73
48
  .eds-datepicker__calendar,
@@ -195,23 +170,52 @@
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
+ }
216
+ .eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
217
+ position: relative;
218
+ top: -0.5rem;
215
219
  }
216
220
  /* DO NOT CHANGE!*/
217
221
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -269,10 +273,6 @@
269
273
  position: absolute;
270
274
  top: 3.5rem;
271
275
  }
272
- .eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
273
- position: relative;
274
- top: -0.5rem;
275
- }
276
276
  .eds-simple-timepicker {
277
277
  --input-width: 7rem;
278
278
  width: var(--input-width);
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-beta.0",
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-beta.0",
31
+ "@entur/button": "^3.2.7-beta.0",
32
+ "@entur/form": "^7.0.34-beta.0",
33
33
  "@entur/icons": "^6.13.2",
34
- "@entur/modal": "^1.7.26",
34
+ "@entur/modal": "^1.7.27-beta.0",
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-beta.0",
37
+ "@entur/typography": "^1.8.21-beta.0",
38
+ "@entur/utils": "^1.0.0-beta.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": "4e2a54a5b8402cf439cd91487f569e775bf53691"
52
52
  }