@entur/datepicker 8.0.15-beta.0 → 8.0.17

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 +69 -69
  2. package/package.json +8 -8
package/dist/styles.css CHANGED
@@ -1,74 +1,5 @@
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: #646464;
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: #656782;
24
- color: #ffffff;
25
- outline: none;
26
- border-radius: 0.0625rem;
27
- }
28
- /* DO NOT CHANGE!*/
29
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
30
- .eds-datepicker {
31
- position: relative;
32
- width: -moz-fit-content;
33
- width: fit-content;
34
- }
35
- .eds-datepicker__open-calendar-button {
36
- position: absolute;
37
- right: 0.5rem;
38
- top: 0.45rem;
39
- }
40
- .eds-datepicker__open-calendar-button.eds-icon-button {
41
- color: #181c56;
42
- }
43
- .eds-datepicker__open-calendar-button.eds-icon-button:hover {
44
- background-color: #656782;
45
- color: #ffffff;
46
- }
47
- .eds-datepicker__open-calendar-button.eds-icon-button:focus {
48
- border: 0.0625rem solid #181c56;
49
- }
50
- .eds-datepicker__open-calendar-button.eds-icon-button:active {
51
- background-color: #8285a8;
52
- }
53
- .eds-datepicker__datefield {
54
- padding-right: 4rem;
55
- }
56
- .eds-datepicker__datefield--disabled {
57
- padding-right: 1rem;
58
- }
59
- .eds-datepicker__datefield__wrapper {
60
- position: relative;
61
- }
62
- .eds-datepicker__calendar-modal.eds-modal__content {
63
- padding: 0;
64
- padding: initial;
65
- width: inherit;
66
- background-color: transparent;
67
- background-color: initial;
68
- overflow: scroll;
69
- }
70
- /* DO NOT CHANGE!*/
71
- /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
72
3
  .eds-datepicker__calendar,
73
4
  .eds-contrast .eds-datepicker__calendar {
74
5
  width: -moz-fit-content;
@@ -194,6 +125,33 @@
194
125
  .eds-contrast .eds-datepicker__calendar__grid__cell--today {
195
126
  border-bottom: 2px solid #ff5959;
196
127
  }
128
+ /* DO NOT CHANGE!*/
129
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
130
+ [dir="ltr"] .eds-date-and-time-field__segment {
131
+ text-align: right;
132
+ }
133
+ [dir="rtl"] .eds-date-and-time-field__segment {
134
+ text-align: left;
135
+ }
136
+ .eds-date-and-time-field__segment {
137
+ margin-top: 1rem;
138
+ padding: 0 2px;
139
+ font-feature-settings: "tnum";
140
+ font-variant-numeric: tabular-nums;
141
+ }
142
+ .eds-date-and-time-field__segment--placeholder {
143
+ color: #646464;
144
+ }
145
+ .eds-date-and-time-field__segment--dot-separator {
146
+ margin-left: -0.1rem;
147
+ margin-right: -0.2rem;
148
+ }
149
+ .eds-date-and-time-field__segment:focus {
150
+ background-color: #656782;
151
+ color: #ffffff;
152
+ outline: none;
153
+ border-radius: 0.0625rem;
154
+ }
197
155
  .eds-datefield div:first-of-type.eds-date-and-time-field__segment {
198
156
  margin-left: 1rem;
199
157
  }
@@ -214,6 +172,48 @@
214
172
  }
215
173
  /* DO NOT CHANGE!*/
216
174
  /* 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
+ }
180
+ .eds-datepicker__open-calendar-button {
181
+ position: absolute;
182
+ right: 0.5rem;
183
+ top: 0.45rem;
184
+ }
185
+ .eds-datepicker__open-calendar-button.eds-icon-button {
186
+ color: #181c56;
187
+ }
188
+ .eds-datepicker__open-calendar-button.eds-icon-button:hover {
189
+ background-color: #656782;
190
+ color: #ffffff;
191
+ }
192
+ .eds-datepicker__open-calendar-button.eds-icon-button:focus {
193
+ border: 0.0625rem solid #181c56;
194
+ }
195
+ .eds-datepicker__open-calendar-button.eds-icon-button:active {
196
+ background-color: #8285a8;
197
+ }
198
+ .eds-datepicker__datefield {
199
+ padding-right: 4rem;
200
+ }
201
+ .eds-datepicker__datefield--disabled {
202
+ padding-right: 1rem;
203
+ }
204
+ .eds-datepicker__datefield__wrapper {
205
+ position: relative;
206
+ }
207
+ .eds-datepicker__calendar-modal.eds-modal__content {
208
+ padding: 0;
209
+ padding: initial;
210
+ width: inherit;
211
+ background-color: transparent;
212
+ background-color: initial;
213
+ overflow: scroll;
214
+ }
215
+ /* DO NOT CHANGE!*/
216
+ /* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
217
217
  .eds-timepicker__wrapper {
218
218
  position: relative;
219
219
  display: flex;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@entur/datepicker",
3
- "version": "8.0.15-beta.0",
3
+ "version": "8.0.17",
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.70",
31
- "@entur/button": "^3.1.2",
32
- "@entur/form": "^7.0.18-beta.0",
33
- "@entur/icons": "^6.5.0",
34
- "@entur/modal": "^1.7.11",
31
+ "@entur/button": "^3.1.4",
32
+ "@entur/form": "^7.0.20",
33
+ "@entur/icons": "^6.8.0",
34
+ "@entur/modal": "^1.7.13",
35
35
  "@entur/tokens": "^3.10.0",
36
- "@entur/tooltip": "^2.6.27",
37
- "@entur/typography": "^1.8.8",
36
+ "@entur/tooltip": "^2.6.29",
37
+ "@entur/typography": "^1.8.10",
38
38
  "@entur/utils": "^0.9.5",
39
39
  "@floating-ui/react-dom": "^1.0.0",
40
40
  "@internationalized/date": "^3.0.2",
@@ -52,5 +52,5 @@
52
52
  "node": "16.17.0",
53
53
  "yarn": "1.22.19"
54
54
  },
55
- "gitHead": "faeadfa30668a407f4078806d12cdda42195b4b8"
55
+ "gitHead": "9e5cbcf10c3e18dff42f0afb3b4cb40df557c14c"
56
56
  }