@entur/datepicker 10.0.12-RC.0 → 10.0.12-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 +70 -70
  2. package/package.json +11 -11
package/dist/styles.css CHANGED
@@ -1,63 +1,25 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
- .eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control-wrapper {
4
- padding-right: 0rem;
5
- }
6
- .eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control__append {
7
- margin-left: auto;
8
- }
9
- .eds-datepicker__open-calendar-button {
10
- margin: 0rem 0.25rem 0rem 0.5rem;
11
- }
12
- .eds-datepicker__open-calendar-button.eds-icon-button {
13
- color: var(--components-datepicker-calendar-icon);
14
- }
15
- .eds-datepicker__open-calendar-button.eds-icon-button:hover {
16
- background-color: var(--components-button-iconbutton-standard-hover);
17
- }
18
- .eds-datepicker__open-calendar-button.eds-icon-button:focus {
19
- outline: 2px solid #181c56;
20
- outline-color: var(--basecolors-stroke-focus-standard);
21
- outline-offset: 0.125rem;
22
- }
23
- .eds-datepicker__open-calendar-button.eds-icon-button:active {
24
- background-color: var(--components-button-iconbutton-standard-active);
25
- }
26
- .eds-datepicker__calendar-modal.eds-modal__content {
27
- padding: 0;
28
- padding: initial;
29
- width: inherit;
30
- background-color: transparent;
31
- background-color: initial;
32
- }
33
- /* DO NOT CHANGE!*/
34
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
35
- [dir="ltr"] .eds-date-and-time-field__segment {
36
- text-align: right;
37
- }
38
- [dir="rtl"] .eds-date-and-time-field__segment {
39
- text-align: left;
40
- }
41
- .eds-date-and-time-field__segment {
42
- margin-top: 1rem;
43
- padding: 0 2px;
44
- font-feature-settings: "tnum";
45
- font-variant-numeric: tabular-nums;
3
+ .eds-datefield {
4
+ width: -moz-fit-content;
5
+ width: fit-content;
46
6
  }
47
- .eds-date-and-time-field__segment--placeholder {
48
- color: var(--components-datepicker-datefield-standard-text-content);
7
+ .eds-datefield .eds-form-control-wrapper {
8
+ padding-left: 1rem;
9
+ padding-right: 1rem;
10
+ width: -moz-fit-content;
11
+ width: fit-content;
49
12
  }
50
- .eds-date-and-time-field__segment--dot-separator {
51
- margin-left: -0.1rem;
52
- margin-right: -0.2rem;
13
+ .eds-datefield .eds-form-control-wrapper--disabled[focus-within] {
14
+ border-color: transparent;
15
+ box-shadow: none;
53
16
  }
54
- .eds-date-and-time-field__segment:focus {
55
- background-color: var(--components-button-iconbutton-standard-active);
56
- outline: transparent;
57
- border-radius: 0.0625rem;
17
+ .eds-datefield .eds-form-control-wrapper--disabled:focus-within {
18
+ border-color: transparent;
19
+ box-shadow: none;
58
20
  }
59
- .eds-date-and-time-field__segment[aria-valuemax="9999"] {
60
- min-width: 4ch;
21
+ .eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
22
+ background: none;
61
23
  }
62
24
  /* DO NOT CHANGE!*/
63
25
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -205,26 +167,64 @@
205
167
  }
206
168
  /* DO NOT CHANGE!*/
207
169
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
208
- .eds-datefield {
209
- width: -moz-fit-content;
210
- width: fit-content;
170
+ .eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control-wrapper {
171
+ padding-right: 0rem;
211
172
  }
212
- .eds-datefield .eds-form-control-wrapper {
213
- padding-left: 1rem;
214
- padding-right: 1rem;
215
- width: -moz-fit-content;
216
- width: fit-content;
173
+ .eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control__append {
174
+ margin-left: auto;
217
175
  }
218
- .eds-datefield .eds-form-control-wrapper--disabled[focus-within] {
219
- border-color: transparent;
220
- box-shadow: none;
176
+ .eds-datepicker__open-calendar-button {
177
+ margin: 0rem 0.25rem 0rem 0.5rem;
221
178
  }
222
- .eds-datefield .eds-form-control-wrapper--disabled:focus-within {
223
- border-color: transparent;
224
- box-shadow: none;
179
+ .eds-datepicker__open-calendar-button.eds-icon-button {
180
+ color: var(--components-datepicker-calendar-icon);
225
181
  }
226
- .eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
227
- background: none;
182
+ .eds-datepicker__open-calendar-button.eds-icon-button:hover {
183
+ background-color: var(--components-button-iconbutton-standard-hover);
184
+ }
185
+ .eds-datepicker__open-calendar-button.eds-icon-button:focus {
186
+ outline: 2px solid #181c56;
187
+ outline-color: var(--basecolors-stroke-focus-standard);
188
+ outline-offset: 0.125rem;
189
+ }
190
+ .eds-datepicker__open-calendar-button.eds-icon-button:active {
191
+ background-color: var(--components-button-iconbutton-standard-active);
192
+ }
193
+ .eds-datepicker__calendar-modal.eds-modal__content {
194
+ padding: 0;
195
+ padding: initial;
196
+ width: inherit;
197
+ background-color: transparent;
198
+ background-color: initial;
199
+ }
200
+ /* DO NOT CHANGE!*/
201
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
202
+ [dir="ltr"] .eds-date-and-time-field__segment {
203
+ text-align: right;
204
+ }
205
+ [dir="rtl"] .eds-date-and-time-field__segment {
206
+ text-align: left;
207
+ }
208
+ .eds-date-and-time-field__segment {
209
+ margin-top: 1rem;
210
+ padding: 0 2px;
211
+ font-feature-settings: "tnum";
212
+ font-variant-numeric: tabular-nums;
213
+ }
214
+ .eds-date-and-time-field__segment--placeholder {
215
+ color: var(--components-datepicker-datefield-standard-text-content);
216
+ }
217
+ .eds-date-and-time-field__segment--dot-separator {
218
+ margin-left: -0.1rem;
219
+ margin-right: -0.2rem;
220
+ }
221
+ .eds-date-and-time-field__segment:focus {
222
+ background-color: var(--components-button-iconbutton-standard-active);
223
+ outline: transparent;
224
+ border-radius: 0.0625rem;
225
+ }
226
+ .eds-date-and-time-field__segment[aria-valuemax="9999"] {
227
+ min-width: 4ch;
228
228
  }
229
229
  /* DO NOT CHANGE!*/
230
230
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "10.0.12-RC.0",
3
+ "version": "10.0.12-beta.0",
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.94-RC.0",
31
- "@entur/button": "^3.2.37-RC.0",
32
- "@entur/form": "^8.1.9-RC.0",
33
- "@entur/icons": "^7.5.1-RC.0",
34
- "@entur/modal": "^1.7.58-RC.0",
35
- "@entur/tokens": "^3.17.4-RC.0",
36
- "@entur/tooltip": "^5.1.5-RC.0",
37
- "@entur/typography": "^1.8.50-RC.0",
38
- "@entur/utils": "^0.12.2-RC.0",
30
+ "@entur/a11y": "^0.2.94-beta.0",
31
+ "@entur/button": "^3.2.37-beta.0",
32
+ "@entur/form": "^8.1.9-beta.0",
33
+ "@entur/icons": "^7.5.1-beta.0",
34
+ "@entur/modal": "^1.7.58-beta.0",
35
+ "@entur/tokens": "^3.17.4-beta.0",
36
+ "@entur/tooltip": "^5.1.5-beta.0",
37
+ "@entur/typography": "^1.8.50-beta.0",
38
+ "@entur/utils": "^0.12.2-beta.0",
39
39
  "@floating-ui/react-dom": "^2.1.0",
40
40
  "@internationalized/date": "^3.4.0",
41
41
  "@react-aria/button": "^3.6.4",
@@ -51,5 +51,5 @@
51
51
  "@react-types/datepicker": "^3.9.0",
52
52
  "dts-cli": "2.0.5"
53
53
  },
54
- "gitHead": "d7913682a41ade219cbd4dfc6e45060152c7fa0a"
54
+ "gitHead": "b213fa4fd10a1a07abada3fa987b7ee2ed110ac2"
55
55
  }