@entur/datepicker 10.0.6 → 10.0.8-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 +27 -27
  2. package/package.json +10 -10
package/dist/styles.css CHANGED
@@ -1,5 +1,28 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
+ .eds-datefield {
4
+ width: -moz-fit-content;
5
+ width: fit-content;
6
+ }
7
+ .eds-datefield .eds-form-control-wrapper {
8
+ padding-left: 1rem;
9
+ padding-right: 1rem;
10
+ width: -moz-fit-content;
11
+ width: fit-content;
12
+ }
13
+ .eds-datefield .eds-form-control-wrapper--disabled[focus-within] {
14
+ border-color: transparent;
15
+ box-shadow: none;
16
+ }
17
+ .eds-datefield .eds-form-control-wrapper--disabled:focus-within {
18
+ border-color: transparent;
19
+ box-shadow: none;
20
+ }
21
+ .eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
22
+ background: none;
23
+ }
24
+ /* DO NOT CHANGE!*/
25
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
26
  .eds-datepicker__calendar,
4
27
  .eds-contrast .eds-datepicker__calendar {
5
28
  width: -moz-fit-content;
@@ -173,32 +196,12 @@
173
196
  }
174
197
  /* DO NOT CHANGE!*/
175
198
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
176
- .eds-datefield {
177
- width: -moz-fit-content;
178
- width: fit-content;
179
- }
180
- .eds-datefield .eds-form-control-wrapper {
181
- padding-left: 1rem;
182
- padding-right: 1rem;
183
- width: -moz-fit-content;
184
- width: fit-content;
185
- }
186
- .eds-datefield .eds-form-control-wrapper--disabled[focus-within] {
187
- border-color: transparent;
188
- box-shadow: none;
189
- }
190
- .eds-datefield .eds-form-control-wrapper--disabled:focus-within {
191
- border-color: transparent;
192
- box-shadow: none;
193
- }
194
- .eds-datefield .eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
195
- background: none;
196
- }
197
- /* DO NOT CHANGE!*/
198
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
199
- .eds-datepicker.eds-datefield .eds-form-control-wrapper {
199
+ .eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control-wrapper {
200
200
  padding-right: 0rem;
201
201
  }
202
+ .eds-datepicker.eds-datefield:not(.eds-datepicker--disabled) .eds-form-control__append {
203
+ margin-left: auto;
204
+ }
202
205
  .eds-datepicker__open-calendar-button {
203
206
  margin: 0rem 0.25rem 0rem 0.5rem;
204
207
  }
@@ -216,9 +219,6 @@
216
219
  .eds-datepicker__open-calendar-button.eds-icon-button:active {
217
220
  background-color: var(--components-button-iconbutton-standard-active);
218
221
  }
219
- .eds-datepicker--disabled {
220
- padding-right: 1rem;
221
- }
222
222
  .eds-datepicker__calendar-modal.eds-modal__content {
223
223
  padding: 0;
224
224
  padding: initial;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "10.0.6",
3
+ "version": "10.0.8-beta.0",
4
4
  "license": "EUPL-1.2",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/datepicker.esm.js",
@@ -27,14 +27,14 @@
27
27
  "react-dom": ">=16.8.0"
28
28
  },
29
29
  "dependencies": {
30
- "@entur/a11y": "^0.2.91",
31
- "@entur/button": "^3.2.33",
32
- "@entur/form": "^8.1.3",
33
- "@entur/icons": "^7.4.1",
34
- "@entur/modal": "^1.7.54",
35
- "@entur/tokens": "^3.17.1",
36
- "@entur/tooltip": "^5.0.0",
37
- "@entur/typography": "^1.8.46",
30
+ "@entur/a11y": "^0.2.92-beta.0",
31
+ "@entur/button": "^3.2.34-beta.0",
32
+ "@entur/form": "^8.1.5-beta.0",
33
+ "@entur/icons": "^7.4.2-beta.0",
34
+ "@entur/modal": "^1.7.55-beta.0",
35
+ "@entur/tokens": "^3.17.2-beta.0",
36
+ "@entur/tooltip": "^5.1.1-beta.0",
37
+ "@entur/typography": "^1.8.47-beta.0",
38
38
  "@entur/utils": "^0.12.0",
39
39
  "@floating-ui/react-dom": "^2.1.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": "b038c9f7061c44765606ab8b7519c205ca633635"
51
+ "gitHead": "f6ea45ed1980eeed83c71cbb049cf726815dbb3d"
52
52
  }