@entur/datepicker 8.0.6 → 8.0.8

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 +9 -9
package/dist/styles.css CHANGED
@@ -3,48 +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-datepicker {
7
- position: relative;
8
- width: -moz-fit-content;
9
- width: fit-content;
10
- }
11
- .eds-datepicker__open-calendar-button {
12
- position: absolute;
13
- right: 0.5rem;
14
- top: 0.45rem;
15
- }
16
- .eds-datepicker__open-calendar-button.eds-icon-button {
17
- color: #181c56;
18
- }
19
- .eds-datepicker__open-calendar-button.eds-icon-button:hover {
20
- background-color: #656782;
21
- color: #ffffff;
22
- }
23
- .eds-datepicker__open-calendar-button.eds-icon-button:focus {
24
- border: 0.0625rem solid #181c56;
25
- }
26
- .eds-datepicker__open-calendar-button.eds-icon-button:active {
27
- background-color: #8285a8;
28
- }
29
- .eds-datepicker__datefield {
30
- padding-right: 4rem;
31
- }
32
- .eds-datepicker__datefield--disabled {
33
- padding-right: 1rem;
34
- }
35
- .eds-datepicker__datefield__wrapper {
36
- position: relative;
37
- }
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;
44
- overflow: scroll;
45
- }
46
- /* DO NOT CHANGE!*/
47
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
48
6
  .eds-datepicker__calendar,
49
7
  .eds-contrast .eds-datepicker__calendar {
50
8
  width: -moz-fit-content;
@@ -172,6 +130,74 @@
172
130
  }
173
131
  /* DO NOT CHANGE!*/
174
132
  /* 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 {
183
+ 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;
192
+ }
193
+ /* DO NOT CHANGE!*/
194
+ /* 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. */
175
201
  .eds-timepicker__wrapper {
176
202
  position: relative;
177
203
  display: flex;
@@ -220,32 +246,6 @@
220
246
  }
221
247
  /* DO NOT CHANGE!*/
222
248
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
223
- .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
224
- margin-left: 1rem;
225
- }
226
- .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
227
- border-color: transparent;
228
- box-shadow: none;
229
- }
230
- .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
231
- border-color: transparent;
232
- box-shadow: none;
233
- }
234
- .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
235
- background: none;
236
- }
237
- .eds-datefield .eds-form-control__append--tooltip {
238
- margin-top: 0.75rem;
239
- margin-right: -0.25rem;
240
- }
241
- /* DO NOT CHANGE!*/
242
- /* 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": "8.0.6",
3
+ "version": "8.0.8",
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.66",
31
- "@entur/button": "^3.0.9",
32
- "@entur/form": "^7.0.10",
30
+ "@entur/a11y": "^0.2.68",
31
+ "@entur/button": "^3.0.11",
32
+ "@entur/form": "^7.0.12",
33
33
  "@entur/icons": "^6.3.1",
34
- "@entur/modal": "^1.7.4",
34
+ "@entur/modal": "^1.7.6",
35
35
  "@entur/tokens": "^3.10.0",
36
- "@entur/tooltip": "^2.6.20",
37
- "@entur/typography": "^1.8.1",
38
- "@entur/utils": "^0.9.1",
36
+ "@entur/tooltip": "^2.6.22",
37
+ "@entur/typography": "^1.8.3",
38
+ "@entur/utils": "^0.9.3",
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": "de2304501aabbda4457d9dbfe30671786b91474e"
55
+ "gitHead": "9bf0838160519db9fb072af36dc19731dfb5e2dd"
56
56
  }