@entur/datepicker 8.0.3 → 8.0.5

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 +7 -7
package/dist/styles.css CHANGED
@@ -3,6 +3,48 @@
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. */
6
48
  .eds-datepicker__calendar,
7
49
  .eds-contrast .eds-datepicker__calendar {
8
50
  width: -moz-fit-content;
@@ -130,6 +172,32 @@
130
172
  }
131
173
  /* DO NOT CHANGE!*/
132
174
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
175
+ .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
176
+ margin-left: 1rem;
177
+ }
178
+ .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
179
+ border-color: transparent;
180
+ box-shadow: none;
181
+ }
182
+ .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
183
+ border-color: transparent;
184
+ box-shadow: none;
185
+ }
186
+ .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
187
+ background: none;
188
+ }
189
+ .eds-datefield .eds-form-control__append--tooltip {
190
+ margin-top: 0.75rem;
191
+ margin-right: -0.25rem;
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. */
133
201
  .eds-timepicker__wrapper {
134
202
  position: relative;
135
203
  display: flex;
@@ -178,74 +246,6 @@
178
246
  }
179
247
  /* DO NOT CHANGE!*/
180
248
  /* 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.3",
3
+ "version": "8.0.5",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/datepicker.esm.js",
@@ -28,13 +28,13 @@
28
28
  },
29
29
  "dependencies": {
30
30
  "@entur/a11y": "^0.2.65",
31
- "@entur/button": "^3.0.7",
32
- "@entur/form": "^7.0.8",
31
+ "@entur/button": "^3.0.8",
32
+ "@entur/form": "^7.0.9",
33
33
  "@entur/icons": "^6.3.0",
34
- "@entur/modal": "^1.7.1",
34
+ "@entur/modal": "^1.7.3",
35
35
  "@entur/tokens": "^3.9.0",
36
- "@entur/tooltip": "^2.6.18",
37
- "@entur/typography": "^1.7.17",
36
+ "@entur/tooltip": "^2.6.19",
37
+ "@entur/typography": "^1.8.0",
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": "a4e1d50fdac6ac767d5a90e92360c8d07e7c5e9c"
55
+ "gitHead": "8f124a94b17be084024892eca96ab800f18ceca2"
56
56
  }