@entur/datepicker 9.1.0 → 9.1.2

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 +77 -71
  2. package/package.json +10 -10
package/dist/styles.css CHANGED
@@ -1,5 +1,75 @@
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: #181c56;
17
+ }
18
+ .eds-datepicker__open-calendar-button.eds-icon-button:hover {
19
+ background-color: #656782;
20
+ color: #ffffff;
21
+ }
22
+ .eds-datepicker__open-calendar-button.eds-icon-button:focus {
23
+ outline: 2px solid #181c56;
24
+ }
25
+ .eds-datepicker__open-calendar-button.eds-icon-button:active {
26
+ background-color: #8285a8;
27
+ }
28
+ .eds-datepicker__datefield {
29
+ padding-right: 4rem;
30
+ }
31
+ .eds-datepicker__datefield--disabled {
32
+ padding-right: 1rem;
33
+ }
34
+ .eds-datepicker__datefield__wrapper {
35
+ position: relative;
36
+ }
37
+ .eds-datepicker__calendar-modal.eds-modal__content {
38
+ padding: 0;
39
+ padding: initial;
40
+ width: inherit;
41
+ background-color: transparent;
42
+ background-color: initial;
43
+ }
44
+ /* DO NOT CHANGE!*/
45
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
46
+ [dir="ltr"] .eds-date-and-time-field__segment {
47
+ text-align: right;
48
+ }
49
+ [dir="rtl"] .eds-date-and-time-field__segment {
50
+ text-align: left;
51
+ }
52
+ .eds-date-and-time-field__segment {
53
+ margin-top: 1rem;
54
+ padding: 0 2px;
55
+ font-feature-settings: "tnum";
56
+ font-variant-numeric: tabular-nums;
57
+ }
58
+ .eds-date-and-time-field__segment--placeholder {
59
+ color: #646464;
60
+ }
61
+ .eds-date-and-time-field__segment--dot-separator {
62
+ margin-left: -0.1rem;
63
+ margin-right: -0.2rem;
64
+ }
65
+ .eds-date-and-time-field__segment:focus {
66
+ background-color: #656782;
67
+ color: #ffffff;
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. */
3
73
  .eds-datepicker__calendar,
4
74
  .eds-contrast .eds-datepicker__calendar {
5
75
  width: -moz-fit-content;
@@ -29,7 +99,7 @@
29
99
  }
30
100
  .eds-datepicker__calendar__header .eds-icon-button:focus,
31
101
  .eds-contrast .eds-datepicker__calendar__header .eds-icon-button:focus {
32
- border: 0.0625rem solid #181c56;
102
+ outline: 2px solid #181c56;
33
103
  }
34
104
  .eds-datepicker__calendar__header .eds-icon-button:active,
35
105
  .eds-contrast .eds-datepicker__calendar__header .eds-icon-button:active {
@@ -145,76 +215,6 @@
145
215
  }
146
216
  /* DO NOT CHANGE!*/
147
217
  /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
148
- .eds-datepicker {
149
- position: relative;
150
- width: -moz-fit-content;
151
- width: fit-content;
152
- height: -moz-fit-content;
153
- height: fit-content;
154
- }
155
- .eds-datepicker__open-calendar-button {
156
- position: absolute;
157
- right: 0.5rem;
158
- top: 0.45rem;
159
- }
160
- .eds-datepicker__open-calendar-button.eds-icon-button {
161
- color: #181c56;
162
- }
163
- .eds-datepicker__open-calendar-button.eds-icon-button:hover {
164
- background-color: #656782;
165
- color: #ffffff;
166
- }
167
- .eds-datepicker__open-calendar-button.eds-icon-button:focus {
168
- border: 0.0625rem solid #181c56;
169
- }
170
- .eds-datepicker__open-calendar-button.eds-icon-button:active {
171
- background-color: #8285a8;
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: #646464;
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: #656782;
212
- color: #ffffff;
213
- outline: transparent;
214
- border-radius: 0.0625rem;
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;
@@ -252,6 +252,12 @@
252
252
  .eds-timepicker__wrapper .eds-timepicker__arrowbutton:hover {
253
253
  background-color: #d1d4e3;
254
254
  }
255
+ .eds-timepicker__wrapper .eds-timepicker__arrowbutton:focus {
256
+ outline: 2px solid #181c56;
257
+ }
258
+ .eds-timepicker__wrapper .eds-timepicker__arrowbutton:active {
259
+ background-color: #8285a8;
260
+ }
255
261
  .eds-timepicker__wrapper .eds-timepicker .eds-form-control__append--tooltip {
256
262
  margin-top: 0.75rem;
257
263
  margin-right: -0.25rem;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "9.1.0",
3
+ "version": "9.1.2",
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",
31
- "@entur/button": "^3.2.4",
32
- "@entur/form": "^7.0.31",
33
- "@entur/icons": "^6.13.1",
34
- "@entur/modal": "^1.7.24",
35
- "@entur/tokens": "^3.11.2",
36
- "@entur/tooltip": "^2.6.40",
37
- "@entur/typography": "^1.8.19",
30
+ "@entur/a11y": "^0.2.74",
31
+ "@entur/button": "^3.2.6",
32
+ "@entur/form": "^7.0.33",
33
+ "@entur/icons": "^6.13.2",
34
+ "@entur/modal": "^1.7.26",
35
+ "@entur/tokens": "^3.12.0",
36
+ "@entur/tooltip": "^2.6.42",
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": "c3e894aeae7247bdaf3ec8636fade3301e605c0e"
51
+ "gitHead": "05cb986bc4373b1fe20d51c298c4395dd2500843"
52
52
  }