@entur/datepicker 8.0.4 → 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 +52 -52
  2. package/package.json +7 -7
package/dist/styles.css CHANGED
@@ -3,23 +3,45 @@
3
3
  }
4
4
  /* DO NOT CHANGE!*/
5
5
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
6
- .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
7
- margin-left: 1rem;
6
+ .eds-datepicker {
7
+ position: relative;
8
+ width: -moz-fit-content;
9
+ width: fit-content;
8
10
  }
9
- .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
10
- border-color: transparent;
11
- box-shadow: none;
11
+ .eds-datepicker__open-calendar-button {
12
+ position: absolute;
13
+ right: 0.5rem;
14
+ top: 0.45rem;
12
15
  }
13
- .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
14
- border-color: transparent;
15
- box-shadow: none;
16
+ .eds-datepicker__open-calendar-button.eds-icon-button {
17
+ color: #181c56;
16
18
  }
17
- .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
18
- background: none;
19
+ .eds-datepicker__open-calendar-button.eds-icon-button:hover {
20
+ background-color: #656782;
21
+ color: #ffffff;
19
22
  }
20
- .eds-datefield .eds-form-control__append--tooltip {
21
- margin-top: 0.75rem;
22
- margin-right: -0.25rem;
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;
23
45
  }
24
46
  /* DO NOT CHANGE!*/
25
47
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
@@ -150,51 +172,29 @@
150
172
  }
151
173
  /* DO NOT CHANGE!*/
152
174
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
153
- .eds-native-timepicker input[type=time]::-webkit-calendar-picker-indicator {
154
- position: relative;
155
- top: -0.5rem;
156
- }
157
- /* DO NOT CHANGE!*/
158
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
159
- .eds-datepicker {
160
- position: relative;
161
- width: -moz-fit-content;
162
- width: fit-content;
163
- }
164
- .eds-datepicker__open-calendar-button {
165
- position: absolute;
166
- right: 0.5rem;
167
- top: 0.45rem;
168
- }
169
- .eds-datepicker__open-calendar-button.eds-icon-button {
170
- color: #181c56;
171
- }
172
- .eds-datepicker__open-calendar-button.eds-icon-button:hover {
173
- background-color: #656782;
174
- color: #ffffff;
175
+ .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
176
+ margin-left: 1rem;
175
177
  }
176
- .eds-datepicker__open-calendar-button.eds-icon-button:focus {
177
- border: 0.0625rem solid #181c56;
178
+ .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
179
+ border-color: transparent;
180
+ box-shadow: none;
178
181
  }
179
- .eds-datepicker__open-calendar-button.eds-icon-button:active {
180
- background-color: #8285a8;
182
+ .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
183
+ border-color: transparent;
184
+ box-shadow: none;
181
185
  }
182
- .eds-datepicker__datefield {
183
- padding-right: 4rem;
186
+ .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
187
+ background: none;
184
188
  }
185
- .eds-datepicker__datefield--disabled {
186
- padding-right: 1rem;
189
+ .eds-datefield .eds-form-control__append--tooltip {
190
+ margin-top: 0.75rem;
191
+ margin-right: -0.25rem;
187
192
  }
188
- .eds-datepicker__datefield__wrapper {
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 {
189
196
  position: relative;
190
- }
191
- .eds-datepicker__calendar-modal.eds-modal__content {
192
- padding: 0;
193
- padding: initial;
194
- width: inherit;
195
- background-color: transparent;
196
- background-color: initial;
197
- overflow: scroll;
197
+ top: -0.5rem;
198
198
  }
199
199
  /* DO NOT CHANGE!*/
200
200
  /* 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": "8.0.4",
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.2",
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": "041978e47c2efa646e94c45dabbcd28b7771b339"
55
+ "gitHead": "8f124a94b17be084024892eca96ab800f18ceca2"
56
56
  }