@entur/datepicker 7.0.0 → 8.0.1

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 +64 -64
  2. package/package.json +9 -9
package/dist/styles.css CHANGED
@@ -3,6 +3,68 @@
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. */
6
68
  .eds-datepicker__calendar,
7
69
  .eds-contrast .eds-datepicker__calendar {
8
70
  width: -moz-fit-content;
@@ -130,65 +192,9 @@
130
192
  }
131
193
  /* DO NOT CHANGE!*/
132
194
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
133
- .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
134
- margin-left: 1rem;
135
- }
136
- .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
137
- border-color: transparent;
138
- box-shadow: none;
139
- }
140
- .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
141
- border-color: transparent;
142
- box-shadow: none;
143
- }
144
- .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
145
- background: none;
146
- }
147
- .eds-datefield .eds-form-control__append--tooltip {
148
- margin-top: 0.75rem;
149
- margin-right: -0.25rem;
150
- }
151
- /* DO NOT CHANGE!*/
152
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
153
- .eds-datepicker {
154
- position: relative;
155
- width: -moz-fit-content;
156
- width: fit-content;
157
- }
158
- .eds-datepicker__open-calendar-button {
159
- position: absolute;
160
- right: 0.5rem;
161
- top: 0.45rem;
162
- }
163
- .eds-datepicker__open-calendar-button.eds-icon-button {
164
- color: #181c56;
165
- }
166
- .eds-datepicker__open-calendar-button.eds-icon-button:hover {
167
- background-color: #656782;
168
- color: #ffffff;
169
- }
170
- .eds-datepicker__open-calendar-button.eds-icon-button:focus {
171
- border: 0.0625rem solid #181c56;
172
- }
173
- .eds-datepicker__open-calendar-button.eds-icon-button:active {
174
- background-color: #8285a8;
175
- }
176
- .eds-datepicker__datefield {
177
- padding-right: 4rem;
178
- }
179
- .eds-datepicker__datefield--disabled {
180
- padding-right: 1rem;
181
- }
182
- .eds-datepicker__datefield__wrapper {
195
+ .eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
183
196
  position: relative;
184
- }
185
- .eds-datepicker__calendar-modal.eds-modal__content {
186
- padding: 0;
187
- padding: initial;
188
- width: inherit;
189
- background-color: transparent;
190
- background-color: initial;
191
- overflow: scroll;
197
+ top: -0.5rem;
192
198
  }
193
199
  /* DO NOT CHANGE!*/
194
200
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -240,12 +246,6 @@
240
246
  }
241
247
  /* DO NOT CHANGE!*/
242
248
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
243
- .eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
244
- position: relative;
245
- top: -0.5rem;
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": "7.0.0",
3
+ "version": "8.0.1",
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.63",
31
- "@entur/button": "^3.0.4",
32
- "@entur/form": "^7.0.4",
30
+ "@entur/a11y": "^0.2.64",
31
+ "@entur/button": "^3.0.6",
32
+ "@entur/form": "^7.0.6",
33
33
  "@entur/icons": "^6.2.0",
34
- "@entur/modal": "^1.6.32",
34
+ "@entur/modal": "^1.6.34",
35
35
  "@entur/tokens": "^3.8.1",
36
- "@entur/tooltip": "^2.6.14",
37
- "@entur/typography": "^1.7.15",
38
- "@entur/utils": "^0.8.0",
36
+ "@entur/tooltip": "^2.6.16",
37
+ "@entur/typography": "^1.7.16",
38
+ "@entur/utils": "^0.9.0",
39
39
  "@floating-ui/react-dom": "^1.0.0",
40
40
  "@internationalized/date": "^3.0.2",
41
41
  "@react-aria/button": "^3.6.4",
@@ -52,5 +52,5 @@
52
52
  "node": "16.17.0",
53
53
  "yarn": "1.22.19"
54
54
  },
55
- "gitHead": "c80112ae71ce3654107c8983a1a9fd91204aa667"
55
+ "gitHead": "02c9d76ac36b3357b91ee60ac3e0f66eb111c9c2"
56
56
  }