@entur/datepicker 8.0.1 → 8.0.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 +68 -68
  2. package/package.json +10 -10
package/dist/styles.css CHANGED
@@ -3,68 +3,6 @@
3
3
  }
4
4
  /* DO NOT CHANGE!*/
5
5
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
6
- .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
7
- margin-left: 1rem;
8
- }
9
- .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
10
- border-color: transparent;
11
- box-shadow: none;
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 .eds-date-and-time-field__segment:focus {
18
- background: none;
19
- }
20
- .eds-datefield .eds-form-control__append--tooltip {
21
- margin-top: 0.75rem;
22
- margin-right: -0.25rem;
23
- }
24
- /* DO NOT CHANGE!*/
25
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
26
- .eds-datepicker {
27
- position: relative;
28
- width: -moz-fit-content;
29
- width: fit-content;
30
- }
31
- .eds-datepicker__open-calendar-button {
32
- position: absolute;
33
- right: 0.5rem;
34
- top: 0.45rem;
35
- }
36
- .eds-datepicker__open-calendar-button.eds-icon-button {
37
- color: #181c56;
38
- }
39
- .eds-datepicker__open-calendar-button.eds-icon-button:hover {
40
- background-color: #656782;
41
- color: #ffffff;
42
- }
43
- .eds-datepicker__open-calendar-button.eds-icon-button:focus {
44
- border: 0.0625rem solid #181c56;
45
- }
46
- .eds-datepicker__open-calendar-button.eds-icon-button:active {
47
- background-color: #8285a8;
48
- }
49
- .eds-datepicker__datefield {
50
- padding-right: 4rem;
51
- }
52
- .eds-datepicker__datefield--disabled {
53
- padding-right: 1rem;
54
- }
55
- .eds-datepicker__datefield__wrapper {
56
- position: relative;
57
- }
58
- .eds-datepicker__calendar-modal.eds-modal__content {
59
- padding: 0;
60
- padding: initial;
61
- width: inherit;
62
- background-color: transparent;
63
- background-color: initial;
64
- overflow: scroll;
65
- }
66
- /* DO NOT CHANGE!*/
67
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
68
6
  .eds-datepicker__calendar,
69
7
  .eds-contrast .eds-datepicker__calendar {
70
8
  width: -moz-fit-content;
@@ -192,12 +130,6 @@
192
130
  }
193
131
  /* DO NOT CHANGE!*/
194
132
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
195
- .eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
196
- position: relative;
197
- top: -0.5rem;
198
- }
199
- /* DO NOT CHANGE!*/
200
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
201
133
  .eds-timepicker__wrapper {
202
134
  position: relative;
203
135
  display: flex;
@@ -246,6 +178,74 @@
246
178
  }
247
179
  /* DO NOT CHANGE!*/
248
180
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
181
+ .eds-datepicker {
182
+ position: relative;
183
+ width: -moz-fit-content;
184
+ width: fit-content;
185
+ }
186
+ .eds-datepicker__open-calendar-button {
187
+ position: absolute;
188
+ right: 0.5rem;
189
+ top: 0.45rem;
190
+ }
191
+ .eds-datepicker__open-calendar-button.eds-icon-button {
192
+ color: #181c56;
193
+ }
194
+ .eds-datepicker__open-calendar-button.eds-icon-button:hover {
195
+ background-color: #656782;
196
+ color: #ffffff;
197
+ }
198
+ .eds-datepicker__open-calendar-button.eds-icon-button:focus {
199
+ border: 0.0625rem solid #181c56;
200
+ }
201
+ .eds-datepicker__open-calendar-button.eds-icon-button:active {
202
+ background-color: #8285a8;
203
+ }
204
+ .eds-datepicker__datefield {
205
+ padding-right: 4rem;
206
+ }
207
+ .eds-datepicker__datefield--disabled {
208
+ padding-right: 1rem;
209
+ }
210
+ .eds-datepicker__datefield__wrapper {
211
+ position: relative;
212
+ }
213
+ .eds-datepicker__calendar-modal.eds-modal__content {
214
+ padding: 0;
215
+ padding: initial;
216
+ width: inherit;
217
+ background-color: transparent;
218
+ background-color: initial;
219
+ overflow: scroll;
220
+ }
221
+ /* DO NOT CHANGE!*/
222
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
223
+ .eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
224
+ position: relative;
225
+ top: -0.5rem;
226
+ }
227
+ /* DO NOT CHANGE!*/
228
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
229
+ .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
230
+ margin-left: 1rem;
231
+ }
232
+ .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
233
+ border-color: transparent;
234
+ box-shadow: none;
235
+ }
236
+ .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
237
+ border-color: transparent;
238
+ box-shadow: none;
239
+ }
240
+ .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
241
+ background: none;
242
+ }
243
+ .eds-datefield .eds-form-control__append--tooltip {
244
+ margin-top: 0.75rem;
245
+ margin-right: -0.25rem;
246
+ }
247
+ /* DO NOT CHANGE!*/
248
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
249
249
  [dir="ltr"] .eds-date-and-time-field__segment {
250
250
  text-align: right;
251
251
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "8.0.1",
3
+ "version": "8.0.3",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/datepicker.esm.js",
@@ -27,14 +27,14 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/a11y": "^0.2.64",
31
- "@entur/button": "^3.0.6",
32
- "@entur/form": "^7.0.6",
33
- "@entur/icons": "^6.2.0",
34
- "@entur/modal": "^1.6.34",
35
- "@entur/tokens": "^3.8.1",
36
- "@entur/tooltip": "^2.6.16",
37
- "@entur/typography": "^1.7.16",
30
+ "@entur/a11y": "^0.2.65",
31
+ "@entur/button": "^3.0.7",
32
+ "@entur/form": "^7.0.8",
33
+ "@entur/icons": "^6.3.0",
34
+ "@entur/modal": "^1.7.1",
35
+ "@entur/tokens": "^3.9.0",
36
+ "@entur/tooltip": "^2.6.18",
37
+ "@entur/typography": "^1.7.17",
38
38
  "@entur/utils": "^0.9.0",
39
39
  "@floating-ui/react-dom": "^1.0.0",
40
40
  "@internationalized/date": "^3.0.2",
@@ -52,5 +52,5 @@
52
52
  "node": "16.17.0",
53
53
  "yarn": "1.22.19"
54
54
  },
55
- "gitHead": "02c9d76ac36b3357b91ee60ac3e0f66eb111c9c2"
55
+ "gitHead": "a4e1d50fdac6ac767d5a90e92360c8d07e7c5e9c"
56
56
  }