@entur/datepicker 9.4.4 → 9.4.6

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 +44 -44
  2. package/package.json +8 -8
package/dist/styles.css CHANGED
@@ -1,3 +1,21 @@
1
+ .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
2
+ margin-left: 1rem;
3
+ }
4
+ .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
5
+ border-color: transparent;
6
+ box-shadow: none;
7
+ }
8
+ .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
9
+ border-color: transparent;
10
+ box-shadow: none;
11
+ }
12
+ .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
13
+ background: none;
14
+ }
15
+ .eds-datefield .eds-form-control__append--tooltip {
16
+ margin-top: 0.75rem;
17
+ margin-right: -0.25rem;
18
+ }
1
19
  /* DO NOT CHANGE!*/
2
20
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
21
  .eds-datepicker__calendar,
@@ -144,6 +162,32 @@
144
162
  }
145
163
  /* DO NOT CHANGE!*/
146
164
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
165
+ [dir="ltr"] .eds-date-and-time-field__segment {
166
+ text-align: right;
167
+ }
168
+ [dir="rtl"] .eds-date-and-time-field__segment {
169
+ text-align: left;
170
+ }
171
+ .eds-date-and-time-field__segment {
172
+ margin-top: 1rem;
173
+ padding: 0 2px;
174
+ font-feature-settings: "tnum";
175
+ font-variant-numeric: tabular-nums;
176
+ }
177
+ .eds-date-and-time-field__segment--placeholder {
178
+ color: var(--components-datepicker-datefield-standard-text-content);
179
+ }
180
+ .eds-date-and-time-field__segment--dot-separator {
181
+ margin-left: -0.1rem;
182
+ margin-right: -0.2rem;
183
+ }
184
+ .eds-date-and-time-field__segment:focus {
185
+ background-color: var(--components-button-iconbutton-standard-active);
186
+ outline: transparent;
187
+ border-radius: 0.0625rem;
188
+ }
189
+ /* DO NOT CHANGE!*/
190
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
147
191
  .eds-datepicker {
148
192
  position: relative;
149
193
  width: -moz-fit-content;
@@ -188,50 +232,6 @@
188
232
  }
189
233
  /* DO NOT CHANGE!*/
190
234
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
191
- [dir="ltr"] .eds-date-and-time-field__segment {
192
- text-align: right;
193
- }
194
- [dir="rtl"] .eds-date-and-time-field__segment {
195
- text-align: left;
196
- }
197
- .eds-date-and-time-field__segment {
198
- margin-top: 1rem;
199
- padding: 0 2px;
200
- font-feature-settings: "tnum";
201
- font-variant-numeric: tabular-nums;
202
- }
203
- .eds-date-and-time-field__segment--placeholder {
204
- color: var(--components-datepicker-datefield-standard-text-content);
205
- }
206
- .eds-date-and-time-field__segment--dot-separator {
207
- margin-left: -0.1rem;
208
- margin-right: -0.2rem;
209
- }
210
- .eds-date-and-time-field__segment:focus {
211
- background-color: var(--components-button-iconbutton-standard-active);
212
- outline: transparent;
213
- border-radius: 0.0625rem;
214
- }
215
- .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
216
- margin-left: 1rem;
217
- }
218
- .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
219
- border-color: transparent;
220
- box-shadow: none;
221
- }
222
- .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
223
- border-color: transparent;
224
- box-shadow: none;
225
- }
226
- .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
227
- background: none;
228
- }
229
- .eds-datefield .eds-form-control__append--tooltip {
230
- margin-top: 0.75rem;
231
- margin-right: -0.25rem;
232
- }
233
- /* DO NOT CHANGE!*/
234
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
235
235
  .eds-timepicker__wrapper {
236
236
  width: -moz-fit-content;
237
237
  width: fit-content;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "9.4.4",
3
+ "version": "9.4.6",
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.84",
31
- "@entur/button": "^3.2.20",
32
- "@entur/form": "^7.1.4",
33
- "@entur/icons": "^6.15.8",
34
- "@entur/modal": "^1.7.41",
31
+ "@entur/button": "^3.2.21",
32
+ "@entur/form": "^7.1.6",
33
+ "@entur/icons": "^6.16.0",
34
+ "@entur/modal": "^1.7.42",
35
35
  "@entur/tokens": "^3.14.0",
36
- "@entur/tooltip": "^2.7.4",
37
- "@entur/typography": "^1.8.33",
36
+ "@entur/tooltip": "^2.7.5",
37
+ "@entur/typography": "^1.8.34",
38
38
  "@entur/utils": "^0.11.1",
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": "bbca019e64cca63b6558abed97643bd12f0dca1b"
51
+ "gitHead": "3c7f2eef6a200733249c13a3eaf5796054e44fb6"
52
52
  }