@entur/datepicker 9.4.0 → 9.4.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 +70 -70
  2. package/package.json +10 -10
package/dist/styles.css CHANGED
@@ -1,75 +1,5 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
- .eds-datepicker {
4
- position: relative;
5
- width: -moz-fit-content;
6
- width: fit-content;
7
- height: -moz-fit-content;
8
- height: fit-content;
9
- }
10
- .eds-datepicker__open-calendar-button {
11
- position: absolute;
12
- right: 0.5rem;
13
- top: 0.45rem;
14
- }
15
- .eds-datepicker__open-calendar-button.eds-icon-button {
16
- color: var(--components-datepicker-calendar-icon);
17
- }
18
- .eds-datepicker__open-calendar-button.eds-icon-button:hover {
19
- background-color: var(--components-button-iconbutton-standard-hover);
20
- }
21
- .eds-datepicker__open-calendar-button.eds-icon-button:focus {
22
- outline: 2px solid #181c56;
23
- outline-color: var(--basecolors-stroke-focus-standard);
24
- outline-offset: 0.125rem;
25
- }
26
- .eds-datepicker__open-calendar-button.eds-icon-button:active {
27
- background-color: var(--components-button-iconbutton-standard-active);
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
- }
45
- /* DO NOT CHANGE!*/
46
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
47
- [dir="ltr"] .eds-date-and-time-field__segment {
48
- text-align: right;
49
- }
50
- [dir="rtl"] .eds-date-and-time-field__segment {
51
- text-align: left;
52
- }
53
- .eds-date-and-time-field__segment {
54
- margin-top: 1rem;
55
- padding: 0 2px;
56
- font-feature-settings: "tnum";
57
- font-variant-numeric: tabular-nums;
58
- }
59
- .eds-date-and-time-field__segment--placeholder {
60
- color: var(--components-datepicker-datefield-standard-text-content);
61
- }
62
- .eds-date-and-time-field__segment--dot-separator {
63
- margin-left: -0.1rem;
64
- margin-right: -0.2rem;
65
- }
66
- .eds-date-and-time-field__segment:focus {
67
- background-color: var(--components-button-iconbutton-standard-active);
68
- outline: transparent;
69
- border-radius: 0.0625rem;
70
- }
71
- /* DO NOT CHANGE!*/
72
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
73
3
  .eds-datepicker__calendar,
74
4
  .eds-contrast .eds-datepicker__calendar {
75
5
  width: -moz-fit-content;
@@ -212,6 +142,32 @@
212
142
  .eds-contrast .eds-datepicker__calendar__grid__cell--today {
213
143
  border-bottom: 2px solid var(--components-datepicker-calendar-stroke-today);
214
144
  }
145
+ /* DO NOT CHANGE!*/
146
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
147
+ [dir="ltr"] .eds-date-and-time-field__segment {
148
+ text-align: right;
149
+ }
150
+ [dir="rtl"] .eds-date-and-time-field__segment {
151
+ text-align: left;
152
+ }
153
+ .eds-date-and-time-field__segment {
154
+ margin-top: 1rem;
155
+ padding: 0 2px;
156
+ font-feature-settings: "tnum";
157
+ font-variant-numeric: tabular-nums;
158
+ }
159
+ .eds-date-and-time-field__segment--placeholder {
160
+ color: var(--components-datepicker-datefield-standard-text-content);
161
+ }
162
+ .eds-date-and-time-field__segment--dot-separator {
163
+ margin-left: -0.1rem;
164
+ margin-right: -0.2rem;
165
+ }
166
+ .eds-date-and-time-field__segment:focus {
167
+ background-color: var(--components-button-iconbutton-standard-active);
168
+ outline: transparent;
169
+ border-radius: 0.0625rem;
170
+ }
215
171
  .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
216
172
  margin-left: 1rem;
217
173
  }
@@ -232,6 +188,50 @@
232
188
  }
233
189
  /* DO NOT CHANGE!*/
234
190
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
191
+ .eds-datepicker {
192
+ position: relative;
193
+ width: -moz-fit-content;
194
+ width: fit-content;
195
+ height: -moz-fit-content;
196
+ height: fit-content;
197
+ }
198
+ .eds-datepicker__open-calendar-button {
199
+ position: absolute;
200
+ right: 0.5rem;
201
+ top: 0.45rem;
202
+ }
203
+ .eds-datepicker__open-calendar-button.eds-icon-button {
204
+ color: var(--components-datepicker-calendar-icon);
205
+ }
206
+ .eds-datepicker__open-calendar-button.eds-icon-button:hover {
207
+ background-color: var(--components-button-iconbutton-standard-hover);
208
+ }
209
+ .eds-datepicker__open-calendar-button.eds-icon-button:focus {
210
+ outline: 2px solid #181c56;
211
+ outline-color: var(--basecolors-stroke-focus-standard);
212
+ outline-offset: 0.125rem;
213
+ }
214
+ .eds-datepicker__open-calendar-button.eds-icon-button:active {
215
+ background-color: var(--components-button-iconbutton-standard-active);
216
+ }
217
+ .eds-datepicker__datefield {
218
+ padding-right: 4rem;
219
+ }
220
+ .eds-datepicker__datefield--disabled {
221
+ padding-right: 1rem;
222
+ }
223
+ .eds-datepicker__datefield__wrapper {
224
+ position: relative;
225
+ }
226
+ .eds-datepicker__calendar-modal.eds-modal__content {
227
+ padding: 0;
228
+ padding: initial;
229
+ width: inherit;
230
+ background-color: transparent;
231
+ background-color: initial;
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.0",
3
+ "version": "9.4.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.80",
31
- "@entur/button": "^3.2.16",
32
- "@entur/form": "^7.1.0",
33
- "@entur/icons": "^6.15.5",
34
- "@entur/modal": "^1.7.37",
35
- "@entur/tokens": "^3.13.3",
36
- "@entur/tooltip": "^2.7.0",
37
- "@entur/typography": "^1.8.29",
30
+ "@entur/a11y": "^0.2.81",
31
+ "@entur/button": "^3.2.17",
32
+ "@entur/form": "^7.1.1",
33
+ "@entur/icons": "^6.15.6",
34
+ "@entur/modal": "^1.7.38",
35
+ "@entur/tokens": "^3.13.4",
36
+ "@entur/tooltip": "^2.7.1",
37
+ "@entur/typography": "^1.8.30",
38
38
  "@entur/utils": "^0.11.0",
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": "a6bd766dd2c7bf84eb3a5bcc8cfdbabca765e28e"
51
+ "gitHead": "af2884729bb414d54d6cf9e9a28b2b6f7c74af74"
52
52
  }