@entur/datepicker 11.0.0 → 11.0.1-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.
package/dist/styles.css CHANGED
@@ -1,29 +1,5 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
- .eds-date-and-time-field__segment {
4
- margin-top: 1rem;
5
- padding: 0 2px;
6
- font-feature-settings: "tnum";
7
- font-variant-numeric: tabular-nums;
8
- text-align: right;
9
- }
10
- .eds-date-and-time-field__segment--placeholder {
11
- color: var(--components-datepicker-datefield-standard-text-content);
12
- }
13
- .eds-date-and-time-field__segment--dot-separator {
14
- margin-left: -0.1rem;
15
- margin-right: -0.2rem;
16
- }
17
- .eds-date-and-time-field__segment:focus-visible {
18
- background-color: var(--components-button-iconbutton-standard-active);
19
- outline: transparent;
20
- border-radius: 0.0625rem;
21
- }
22
- .eds-date-and-time-field__segment[aria-valuemax="9999"] {
23
- min-width: 4ch;
24
- }
25
- /* DO NOT CHANGE!*/
26
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
27
3
  .eds-datepicker__calendar,
28
4
  .eds-contrast .eds-datepicker__calendar {
29
5
  width: -moz-fit-content;
@@ -164,22 +140,27 @@
164
140
  }
165
141
  /* DO NOT CHANGE!*/
166
142
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
167
- .eds-datefield {
168
- width: -moz-fit-content;
169
- width: fit-content;
143
+ .eds-date-and-time-field__segment {
144
+ margin-top: 1rem;
145
+ padding: 0 2px;
146
+ font-feature-settings: "tnum";
147
+ font-variant-numeric: tabular-nums;
148
+ text-align: right;
170
149
  }
171
- .eds-datefield .eds-form-control-wrapper {
172
- padding-left: 1rem;
173
- padding-right: 1rem;
174
- width: -moz-fit-content;
175
- width: fit-content;
150
+ .eds-date-and-time-field__segment--placeholder {
151
+ color: var(--components-datepicker-datefield-standard-text-content);
176
152
  }
177
- .eds-datefield .eds-form-control-wrapper--disabled:focus-within {
178
- border-color: transparent;
179
- box-shadow: none;
153
+ .eds-date-and-time-field__segment--dot-separator {
154
+ margin-left: -0.1rem;
155
+ margin-right: -0.2rem;
180
156
  }
181
- .eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
182
- background: none;
157
+ .eds-date-and-time-field__segment:focus-visible {
158
+ background-color: var(--components-button-iconbutton-standard-active);
159
+ outline: transparent;
160
+ border-radius: 0.0625rem;
161
+ }
162
+ .eds-date-and-time-field__segment[aria-valuemax="9999"] {
163
+ min-width: 4ch;
183
164
  }
184
165
  /* DO NOT CHANGE!*/
185
166
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -215,6 +196,25 @@
215
196
  }
216
197
  /* DO NOT CHANGE!*/
217
198
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
199
+ .eds-datefield {
200
+ width: -moz-fit-content;
201
+ width: fit-content;
202
+ }
203
+ .eds-datefield .eds-form-control-wrapper {
204
+ padding-left: 1rem;
205
+ padding-right: 1rem;
206
+ width: -moz-fit-content;
207
+ width: fit-content;
208
+ }
209
+ .eds-datefield .eds-form-control-wrapper--disabled:focus-within {
210
+ border-color: transparent;
211
+ box-shadow: none;
212
+ }
213
+ .eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
214
+ background: none;
215
+ }
216
+ /* DO NOT CHANGE!*/
217
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
218
218
  .eds-timepicker {
219
219
  width: -moz-fit-content;
220
220
  width: fit-content;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "11.0.0",
3
+ "version": "11.0.1-beta.0",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/datepicker.esm.js",
@@ -29,7 +29,7 @@
29
29
  "dependencies": {
30
30
  "@entur/a11y": "^0.2.98",
31
31
  "@entur/button": "^3.3.4",
32
- "@entur/form": "^8.2.4",
32
+ "@entur/form": "^8.2.5-beta.0",
33
33
  "@entur/icons": "^7.8.0",
34
34
  "@entur/modal": "^1.7.64",
35
35
  "@entur/tokens": "^3.19.0",
@@ -51,5 +51,5 @@
51
51
  "@react-types/datepicker": "^3.9.0",
52
52
  "dts-cli": "2.0.5"
53
53
  },
54
- "gitHead": "bfd8f62e4735cc13d55e50bc8747535d72aaf679"
54
+ "gitHead": "1437e501a9a5ad8c806c7c1cccc6e399765c0638"
55
55
  }