@entur/datepicker 9.4.9 → 9.4.10-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 +87 -87
  2. package/package.json +8 -8
package/dist/styles.css CHANGED
@@ -1,3 +1,47 @@
1
+ /* DO NOT CHANGE!*/
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: var(--components-datepicker-calendar-icon);
17
+ }
18
+ .eds-datepicker__open-calendar-button.eds-icon-button:hover {
19
+ background-color: var(--components-button-iconbutton-standard-hover);
20
+ }
21
+ .eds-datepicker__open-calendar-button.eds-icon-button:focus {
22
+ outline: 2px solid #181c56;
23
+ outline-color: var(--basecolors-stroke-focus-standard);
24
+ outline-offset: 0.125rem;
25
+ }
26
+ .eds-datepicker__open-calendar-button.eds-icon-button:active {
27
+ background-color: var(--components-button-iconbutton-standard-active);
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
+ }
1
45
  .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
2
46
  margin-left: 1rem;
3
47
  }
@@ -18,6 +62,32 @@
18
62
  }
19
63
  /* DO NOT CHANGE!*/
20
64
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
65
+ [dir="ltr"] .eds-date-and-time-field__segment {
66
+ text-align: right;
67
+ }
68
+ [dir="rtl"] .eds-date-and-time-field__segment {
69
+ text-align: left;
70
+ }
71
+ .eds-date-and-time-field__segment {
72
+ margin-top: 1rem;
73
+ padding: 0 2px;
74
+ font-feature-settings: "tnum";
75
+ font-variant-numeric: tabular-nums;
76
+ }
77
+ .eds-date-and-time-field__segment--placeholder {
78
+ color: var(--components-datepicker-datefield-standard-text-content);
79
+ }
80
+ .eds-date-and-time-field__segment--dot-separator {
81
+ margin-left: -0.1rem;
82
+ margin-right: -0.2rem;
83
+ }
84
+ .eds-date-and-time-field__segment:focus {
85
+ background-color: var(--components-button-iconbutton-standard-active);
86
+ outline: transparent;
87
+ border-radius: 0.0625rem;
88
+ }
89
+ /* DO NOT CHANGE!*/
90
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
21
91
  .eds-datepicker__calendar,
22
92
  .eds-contrast .eds-datepicker__calendar {
23
93
  width: -moz-fit-content;
@@ -162,76 +232,6 @@
162
232
  }
163
233
  /* DO NOT CHANGE!*/
164
234
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
165
- [dir="ltr"] .eds-date-and-time-field__segment {
166
- text-align: right;
167
- }
168
- [dir="rtl"] .eds-date-and-time-field__segment {
169
- text-align: left;
170
- }
171
- .eds-date-and-time-field__segment {
172
- margin-top: 1rem;
173
- padding: 0 2px;
174
- font-feature-settings: "tnum";
175
- font-variant-numeric: tabular-nums;
176
- }
177
- .eds-date-and-time-field__segment--placeholder {
178
- color: var(--components-datepicker-datefield-standard-text-content);
179
- }
180
- .eds-date-and-time-field__segment--dot-separator {
181
- margin-left: -0.1rem;
182
- margin-right: -0.2rem;
183
- }
184
- .eds-date-and-time-field__segment:focus {
185
- background-color: var(--components-button-iconbutton-standard-active);
186
- outline: transparent;
187
- border-radius: 0.0625rem;
188
- }
189
- /* DO NOT CHANGE!*/
190
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
191
- .eds-datepicker {
192
- position: relative;
193
- width: -moz-fit-content;
194
- width: fit-content;
195
- height: -moz-fit-content;
196
- height: fit-content;
197
- }
198
- .eds-datepicker__open-calendar-button {
199
- position: absolute;
200
- right: 0.5rem;
201
- top: 0.45rem;
202
- }
203
- .eds-datepicker__open-calendar-button.eds-icon-button {
204
- color: var(--components-datepicker-calendar-icon);
205
- }
206
- .eds-datepicker__open-calendar-button.eds-icon-button:hover {
207
- background-color: var(--components-button-iconbutton-standard-hover);
208
- }
209
- .eds-datepicker__open-calendar-button.eds-icon-button:focus {
210
- outline: 2px solid #181c56;
211
- outline-color: var(--basecolors-stroke-focus-standard);
212
- outline-offset: 0.125rem;
213
- }
214
- .eds-datepicker__open-calendar-button.eds-icon-button:active {
215
- background-color: var(--components-button-iconbutton-standard-active);
216
- }
217
- .eds-datepicker__datefield {
218
- padding-right: 4rem;
219
- }
220
- .eds-datepicker__datefield--disabled {
221
- padding-right: 1rem;
222
- }
223
- .eds-datepicker__datefield__wrapper {
224
- position: relative;
225
- }
226
- .eds-datepicker__calendar-modal.eds-modal__content {
227
- padding: 0;
228
- padding: initial;
229
- width: inherit;
230
- background-color: transparent;
231
- background-color: initial;
232
- }
233
- /* DO NOT CHANGE!*/
234
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
235
235
  .eds-timepicker__wrapper {
236
236
  width: -moz-fit-content;
237
237
  width: fit-content;
@@ -291,23 +291,6 @@
291
291
  position: relative;
292
292
  top: -0.5rem;
293
293
  }
294
- .eds-simple-timepicker {
295
- --input-width: 7rem;
296
- width: var(--input-width);
297
- }
298
- .eds-simple-timepicker--hide-clock {
299
- --input-width: 5rem;
300
- }
301
- .eds-simple-timepicker--show-seconds {
302
- --input-width: 8.5rem;
303
- }
304
- .eds-simple-timepicker--show-seconds.eds-simple-timepicker--hide-clock {
305
- --input-width: 6.5rem;
306
- }
307
- .eds-simple-timepicker .eds-form-control__append--tooltip {
308
- margin-top: -0.2rem;
309
- margin-left: -0.5rem;
310
- }
311
294
  /* DO NOT CHANGE!*/
312
295
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
313
296
  /* DO NOT CHANGE!*/
@@ -344,3 +327,20 @@
344
327
  :root {
345
328
  --eds-datepicker: 1;
346
329
  }
330
+ .eds-simple-timepicker {
331
+ --input-width: 7rem;
332
+ width: var(--input-width);
333
+ }
334
+ .eds-simple-timepicker--hide-clock {
335
+ --input-width: 5rem;
336
+ }
337
+ .eds-simple-timepicker--show-seconds {
338
+ --input-width: 8.5rem;
339
+ }
340
+ .eds-simple-timepicker--show-seconds.eds-simple-timepicker--hide-clock {
341
+ --input-width: 6.5rem;
342
+ }
343
+ .eds-simple-timepicker .eds-form-control__append--tooltip {
344
+ margin-top: -0.2rem;
345
+ margin-left: -0.5rem;
346
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "9.4.9",
3
+ "version": "9.4.10-beta.0",
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.85",
31
- "@entur/button": "^3.2.24",
32
- "@entur/form": "^7.1.9",
33
- "@entur/icons": "^6.17.0",
34
- "@entur/modal": "^1.7.45",
31
+ "@entur/button": "^3.2.25-beta.0",
32
+ "@entur/form": "^7.1.10-beta.0",
33
+ "@entur/icons": "^6.17.1-beta.0",
34
+ "@entur/modal": "^1.7.46-beta.0",
35
35
  "@entur/tokens": "^3.15.0",
36
- "@entur/tooltip": "^2.7.8",
37
- "@entur/typography": "^1.8.37",
36
+ "@entur/tooltip": "^2.7.9-beta.0",
37
+ "@entur/typography": "^1.8.38-beta.0",
38
38
  "@entur/utils": "^0.11.1",
39
39
  "@floating-ui/react-dom": "^1.0.0",
40
40
  "@internationalized/date": "^3.4.0",
@@ -48,5 +48,5 @@
48
48
  "classnames": "^2.3.1",
49
49
  "react-focus-lock": "^2.9.1"
50
50
  },
51
- "gitHead": "74491efb25596a135f38b50d15305803afe963ae"
51
+ "gitHead": "09c8ecf6671f83dbfae93ab10f77537888222f70"
52
52
  }