@entur/datepicker 9.4.12 → 9.4.13

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 +88 -88
  2. package/package.json +10 -10
package/dist/styles.css CHANGED
@@ -1,5 +1,93 @@
1
1
  /* DO NOT CHANGE!*/
2
2
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
+ [dir="ltr"] .eds-date-and-time-field__segment {
4
+ text-align: right;
5
+ }
6
+ [dir="rtl"] .eds-date-and-time-field__segment {
7
+ text-align: left;
8
+ }
9
+ .eds-date-and-time-field__segment {
10
+ margin-top: 1rem;
11
+ padding: 0 2px;
12
+ font-feature-settings: "tnum";
13
+ font-variant-numeric: tabular-nums;
14
+ }
15
+ .eds-date-and-time-field__segment--placeholder {
16
+ color: var(--components-datepicker-datefield-standard-text-content);
17
+ }
18
+ .eds-date-and-time-field__segment--dot-separator {
19
+ margin-left: -0.1rem;
20
+ margin-right: -0.2rem;
21
+ }
22
+ .eds-date-and-time-field__segment:focus {
23
+ background-color: var(--components-button-iconbutton-standard-active);
24
+ outline: transparent;
25
+ border-radius: 0.0625rem;
26
+ }
27
+ /* DO NOT CHANGE!*/
28
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
29
+ .eds-datepicker {
30
+ position: relative;
31
+ width: -moz-fit-content;
32
+ width: fit-content;
33
+ height: -moz-fit-content;
34
+ height: fit-content;
35
+ }
36
+ .eds-datepicker__open-calendar-button {
37
+ position: absolute;
38
+ right: 0.5rem;
39
+ top: 0.45rem;
40
+ }
41
+ .eds-datepicker__open-calendar-button.eds-icon-button {
42
+ color: var(--components-datepicker-calendar-icon);
43
+ }
44
+ .eds-datepicker__open-calendar-button.eds-icon-button:hover {
45
+ background-color: var(--components-button-iconbutton-standard-hover);
46
+ }
47
+ .eds-datepicker__open-calendar-button.eds-icon-button:focus {
48
+ outline: 2px solid #181c56;
49
+ outline-color: var(--basecolors-stroke-focus-standard);
50
+ outline-offset: 0.125rem;
51
+ }
52
+ .eds-datepicker__open-calendar-button.eds-icon-button:active {
53
+ background-color: var(--components-button-iconbutton-standard-active);
54
+ }
55
+ .eds-datepicker__datefield {
56
+ padding-right: 4rem;
57
+ }
58
+ .eds-datepicker__datefield--disabled {
59
+ padding-right: 1rem;
60
+ }
61
+ .eds-datepicker__datefield__wrapper {
62
+ position: relative;
63
+ }
64
+ .eds-datepicker__calendar-modal.eds-modal__content {
65
+ padding: 0;
66
+ padding: initial;
67
+ width: inherit;
68
+ background-color: transparent;
69
+ background-color: initial;
70
+ }
71
+ .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
72
+ margin-left: 1rem;
73
+ }
74
+ .eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
75
+ border-color: transparent;
76
+ box-shadow: none;
77
+ }
78
+ .eds-datefield.eds-form-control-wrapper--disabled:focus-within {
79
+ border-color: transparent;
80
+ box-shadow: none;
81
+ }
82
+ .eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
83
+ background: none;
84
+ }
85
+ .eds-datefield .eds-form-control__append--tooltip {
86
+ margin-top: 0.75rem;
87
+ margin-right: -0.25rem;
88
+ }
89
+ /* DO NOT CHANGE!*/
90
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
3
91
  .eds-datepicker__calendar,
4
92
  .eds-contrast .eds-datepicker__calendar {
5
93
  width: -moz-fit-content;
@@ -144,94 +232,6 @@
144
232
  }
145
233
  /* DO NOT CHANGE!*/
146
234
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
147
- .eds-datepicker {
148
- position: relative;
149
- width: -moz-fit-content;
150
- width: fit-content;
151
- height: -moz-fit-content;
152
- height: fit-content;
153
- }
154
- .eds-datepicker__open-calendar-button {
155
- position: absolute;
156
- right: 0.5rem;
157
- top: 0.45rem;
158
- }
159
- .eds-datepicker__open-calendar-button.eds-icon-button {
160
- color: var(--components-datepicker-calendar-icon);
161
- }
162
- .eds-datepicker__open-calendar-button.eds-icon-button:hover {
163
- background-color: var(--components-button-iconbutton-standard-hover);
164
- }
165
- .eds-datepicker__open-calendar-button.eds-icon-button:focus {
166
- outline: 2px solid #181c56;
167
- outline-color: var(--basecolors-stroke-focus-standard);
168
- outline-offset: 0.125rem;
169
- }
170
- .eds-datepicker__open-calendar-button.eds-icon-button:active {
171
- background-color: var(--components-button-iconbutton-standard-active);
172
- }
173
- .eds-datepicker__datefield {
174
- padding-right: 4rem;
175
- }
176
- .eds-datepicker__datefield--disabled {
177
- padding-right: 1rem;
178
- }
179
- .eds-datepicker__datefield__wrapper {
180
- position: relative;
181
- }
182
- .eds-datepicker__calendar-modal.eds-modal__content {
183
- padding: 0;
184
- padding: initial;
185
- width: inherit;
186
- background-color: transparent;
187
- background-color: initial;
188
- }
189
- /* DO NOT CHANGE!*/
190
- /* 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.12",
3
+ "version": "9.4.13",
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.86",
31
- "@entur/button": "^3.2.26",
32
- "@entur/form": "^7.2.0",
33
- "@entur/icons": "^6.18.0",
34
- "@entur/modal": "^1.7.47",
35
- "@entur/tokens": "^3.15.1",
36
- "@entur/tooltip": "^2.7.10",
37
- "@entur/typography": "^1.8.39",
30
+ "@entur/a11y": "^0.2.87",
31
+ "@entur/button": "^3.2.27",
32
+ "@entur/form": "^7.2.1",
33
+ "@entur/icons": "^6.18.1",
34
+ "@entur/modal": "^1.7.48",
35
+ "@entur/tokens": "^3.15.2",
36
+ "@entur/tooltip": "^2.7.11",
37
+ "@entur/typography": "^1.8.40",
38
38
  "@entur/utils": "^0.11.1",
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": "750c39e0b36eff3beaa9f6a38ae2dea6e29d2085"
51
+ "gitHead": "4d4f7939fb1c9b936e07dd321b7faa3e12476b3d"
52
52
  }