@entur/datepicker 9.4.10 → 9.4.11
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.
- package/dist/datepicker.cjs.development.js +26 -12
- package/dist/datepicker.cjs.development.js.map +1 -1
- package/dist/datepicker.cjs.production.min.js +1 -1
- package/dist/datepicker.cjs.production.min.js.map +1 -1
- package/dist/datepicker.esm.js +27 -13
- package/dist/datepicker.esm.js.map +1 -1
- package/dist/styles.css +62 -62
- package/package.json +11 -11
package/dist/styles.css
CHANGED
|
@@ -1,67 +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
|
-
.eds-datefield div:first-of-type.eds-date-and-time-field__segment {
|
|
46
|
-
margin-left: 1rem;
|
|
47
|
-
}
|
|
48
|
-
.eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
|
|
49
|
-
border-color: transparent;
|
|
50
|
-
box-shadow: none;
|
|
51
|
-
}
|
|
52
|
-
.eds-datefield.eds-form-control-wrapper--disabled:focus-within {
|
|
53
|
-
border-color: transparent;
|
|
54
|
-
box-shadow: none;
|
|
55
|
-
}
|
|
56
|
-
.eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
57
|
-
background: none;
|
|
58
|
-
}
|
|
59
|
-
.eds-datefield .eds-form-control__append--tooltip {
|
|
60
|
-
margin-top: 0.75rem;
|
|
61
|
-
margin-right: -0.25rem;
|
|
62
|
-
}
|
|
63
|
-
/* DO NOT CHANGE!*/
|
|
64
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
65
3
|
.eds-datepicker__calendar,
|
|
66
4
|
.eds-contrast .eds-datepicker__calendar {
|
|
67
5
|
width: -moz-fit-content;
|
|
@@ -206,6 +144,68 @@
|
|
|
206
144
|
}
|
|
207
145
|
/* DO NOT CHANGE!*/
|
|
208
146
|
/* 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
|
+
.eds-datefield div:first-of-type.eds-date-and-time-field__segment {
|
|
190
|
+
margin-left: 1rem;
|
|
191
|
+
}
|
|
192
|
+
.eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
|
|
193
|
+
border-color: transparent;
|
|
194
|
+
box-shadow: none;
|
|
195
|
+
}
|
|
196
|
+
.eds-datefield.eds-form-control-wrapper--disabled:focus-within {
|
|
197
|
+
border-color: transparent;
|
|
198
|
+
box-shadow: none;
|
|
199
|
+
}
|
|
200
|
+
.eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
201
|
+
background: none;
|
|
202
|
+
}
|
|
203
|
+
.eds-datefield .eds-form-control__append--tooltip {
|
|
204
|
+
margin-top: 0.75rem;
|
|
205
|
+
margin-right: -0.25rem;
|
|
206
|
+
}
|
|
207
|
+
/* DO NOT CHANGE!*/
|
|
208
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
209
209
|
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
210
210
|
text-align: right;
|
|
211
211
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/datepicker",
|
|
3
|
-
"version": "9.4.
|
|
3
|
+
"version": "9.4.11",
|
|
4
4
|
"license": "EUPL-1.2",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"module": "dist/datepicker.esm.js",
|
|
@@ -27,16 +27,16 @@
|
|
|
27
27
|
"react-dom": ">=16.8.0"
|
|
28
28
|
},
|
|
29
29
|
"dependencies": {
|
|
30
|
-
"@entur/a11y": "^0.2.
|
|
31
|
-
"@entur/button": "^3.2.
|
|
32
|
-
"@entur/form": "^7.1.
|
|
33
|
-
"@entur/icons": "^6.
|
|
34
|
-
"@entur/modal": "^1.7.
|
|
35
|
-
"@entur/tokens": "^3.15.
|
|
36
|
-
"@entur/tooltip": "^2.7.
|
|
37
|
-
"@entur/typography": "^1.8.
|
|
30
|
+
"@entur/a11y": "^0.2.86",
|
|
31
|
+
"@entur/button": "^3.2.26",
|
|
32
|
+
"@entur/form": "^7.1.11",
|
|
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",
|
|
38
38
|
"@entur/utils": "^0.11.1",
|
|
39
|
-
"@floating-ui/react-dom": "^1.0
|
|
39
|
+
"@floating-ui/react-dom": "^2.1.0",
|
|
40
40
|
"@internationalized/date": "^3.4.0",
|
|
41
41
|
"@react-aria/button": "^3.6.4",
|
|
42
42
|
"@react-aria/calendar": "^3.4.1",
|
|
@@ -48,5 +48,5 @@
|
|
|
48
48
|
"classnames": "^2.3.1",
|
|
49
49
|
"react-focus-lock": "^2.9.1"
|
|
50
50
|
},
|
|
51
|
-
"gitHead": "
|
|
51
|
+
"gitHead": "59263b656c7de882e8ecf50bdb49f7ddfd283026"
|
|
52
52
|
}
|