@entur/datepicker 9.1.0-beta.0 → 9.1.1

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 +46 -46
  2. package/package.json +10 -10
package/dist/styles.css CHANGED
@@ -125,6 +125,49 @@
125
125
  .eds-contrast .eds-datepicker__calendar__grid__cell--today {
126
126
  border-bottom: 2px solid #ff5959;
127
127
  }
128
+ /* DO NOT CHANGE!*/
129
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
130
+ .eds-datepicker {
131
+ position: relative;
132
+ width: -moz-fit-content;
133
+ width: fit-content;
134
+ height: -moz-fit-content;
135
+ height: fit-content;
136
+ }
137
+ .eds-datepicker__open-calendar-button {
138
+ position: absolute;
139
+ right: 0.5rem;
140
+ top: 0.45rem;
141
+ }
142
+ .eds-datepicker__open-calendar-button.eds-icon-button {
143
+ color: #181c56;
144
+ }
145
+ .eds-datepicker__open-calendar-button.eds-icon-button:hover {
146
+ background-color: #656782;
147
+ color: #ffffff;
148
+ }
149
+ .eds-datepicker__open-calendar-button.eds-icon-button:focus {
150
+ border: 0.0625rem solid #181c56;
151
+ }
152
+ .eds-datepicker__open-calendar-button.eds-icon-button:active {
153
+ background-color: #8285a8;
154
+ }
155
+ .eds-datepicker__datefield {
156
+ padding-right: 4rem;
157
+ }
158
+ .eds-datepicker__datefield--disabled {
159
+ padding-right: 1rem;
160
+ }
161
+ .eds-datepicker__datefield__wrapper {
162
+ position: relative;
163
+ }
164
+ .eds-datepicker__calendar-modal.eds-modal__content {
165
+ padding: 0;
166
+ padding: initial;
167
+ width: inherit;
168
+ background-color: transparent;
169
+ background-color: initial;
170
+ }
128
171
  .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
129
172
  margin-left: 1rem;
130
173
  }
@@ -172,49 +215,6 @@
172
215
  }
173
216
  /* DO NOT CHANGE!*/
174
217
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
175
- .eds-datepicker {
176
- position: relative;
177
- width: -moz-fit-content;
178
- width: fit-content;
179
- height: -moz-fit-content;
180
- height: fit-content;
181
- }
182
- .eds-datepicker__open-calendar-button {
183
- position: absolute;
184
- right: 0.5rem;
185
- top: 0.45rem;
186
- }
187
- .eds-datepicker__open-calendar-button.eds-icon-button {
188
- color: #181c56;
189
- }
190
- .eds-datepicker__open-calendar-button.eds-icon-button:hover {
191
- background-color: #656782;
192
- color: #ffffff;
193
- }
194
- .eds-datepicker__open-calendar-button.eds-icon-button:focus {
195
- border: 0.0625rem solid #181c56;
196
- }
197
- .eds-datepicker__open-calendar-button.eds-icon-button:active {
198
- background-color: #8285a8;
199
- }
200
- .eds-datepicker__datefield {
201
- padding-right: 4rem;
202
- }
203
- .eds-datepicker__datefield--disabled {
204
- padding-right: 1rem;
205
- }
206
- .eds-datepicker__datefield__wrapper {
207
- position: relative;
208
- }
209
- .eds-datepicker__calendar-modal.eds-modal__content {
210
- padding: 0;
211
- padding: initial;
212
- width: inherit;
213
- background-color: transparent;
214
- background-color: initial;
215
- }
216
- /* DO NOT CHANGE!*/
217
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
218
218
  .eds-timepicker__wrapper {
219
219
  position: relative;
220
220
  display: flex;
@@ -267,6 +267,9 @@
267
267
  position: relative;
268
268
  top: -0.5rem;
269
269
  }
270
+ :root {
271
+ --eds-datepicker: 1;
272
+ }
270
273
  .eds-simple-timepicker {
271
274
  --input-width: 7rem;
272
275
  width: var(--input-width);
@@ -284,6 +287,3 @@
284
287
  margin-top: -0.2rem;
285
288
  margin-left: -0.5rem;
286
289
  }
287
- :root {
288
- --eds-datepicker: 1;
289
- }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "9.1.0-beta.0",
3
+ "version": "9.1.1",
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.73-beta.0",
31
- "@entur/button": "^3.2.4-beta.0",
32
- "@entur/form": "^7.0.31-beta.0",
33
- "@entur/icons": "^6.13.1-beta.0",
34
- "@entur/modal": "^1.7.24-beta.0",
35
- "@entur/tokens": "^3.11.2-beta.0",
36
- "@entur/tooltip": "^2.6.40-beta.0",
37
- "@entur/typography": "^1.8.19-beta.0",
30
+ "@entur/a11y": "^0.2.74",
31
+ "@entur/button": "^3.2.5",
32
+ "@entur/form": "^7.0.32",
33
+ "@entur/icons": "^6.13.2",
34
+ "@entur/modal": "^1.7.25",
35
+ "@entur/tokens": "^3.12.0",
36
+ "@entur/tooltip": "^2.6.41",
37
+ "@entur/typography": "^1.8.20",
38
38
  "@entur/utils": "^0.9.5",
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": "425be6e86978c7b32f68af704157a928e319c16b"
51
+ "gitHead": "85dd6dbaf86fc2488dd2152c213788f9d4a8a64f"
52
52
  }