@entur/datepicker 9.1.6 → 9.2.0
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/Calendar.d.ts +19 -3
- package/dist/DatePicker/CalendarCell.d.ts +3 -1
- package/dist/DatePicker/CalendarGrid.d.ts +4 -1
- package/dist/DatePicker/DatePicker.d.ts +18 -2
- package/dist/datepicker.cjs.development.js +27 -15
- 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 -15
- package/dist/datepicker.esm.js.map +1 -1
- package/dist/styles.css +45 -45
- package/package.json +10 -10
package/dist/styles.css
CHANGED
|
@@ -1,3 +1,48 @@
|
|
|
1
|
+
.eds-datefield div:first-of-type.eds-date-and-time-field__segment {
|
|
2
|
+
margin-left: 1rem;
|
|
3
|
+
}
|
|
4
|
+
.eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
|
|
5
|
+
border-color: transparent;
|
|
6
|
+
box-shadow: none;
|
|
7
|
+
}
|
|
8
|
+
.eds-datefield.eds-form-control-wrapper--disabled:focus-within {
|
|
9
|
+
border-color: transparent;
|
|
10
|
+
box-shadow: none;
|
|
11
|
+
}
|
|
12
|
+
.eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
13
|
+
background: none;
|
|
14
|
+
}
|
|
15
|
+
.eds-datefield .eds-form-control__append--tooltip {
|
|
16
|
+
margin-top: 0.75rem;
|
|
17
|
+
margin-right: -0.25rem;
|
|
18
|
+
}
|
|
19
|
+
/* DO NOT CHANGE!*/
|
|
20
|
+
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
21
|
+
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
22
|
+
text-align: right;
|
|
23
|
+
}
|
|
24
|
+
[dir="rtl"] .eds-date-and-time-field__segment {
|
|
25
|
+
text-align: left;
|
|
26
|
+
}
|
|
27
|
+
.eds-date-and-time-field__segment {
|
|
28
|
+
margin-top: 1rem;
|
|
29
|
+
padding: 0 2px;
|
|
30
|
+
font-feature-settings: "tnum";
|
|
31
|
+
font-variant-numeric: tabular-nums;
|
|
32
|
+
}
|
|
33
|
+
.eds-date-and-time-field__segment--placeholder {
|
|
34
|
+
color: #646464;
|
|
35
|
+
}
|
|
36
|
+
.eds-date-and-time-field__segment--dot-separator {
|
|
37
|
+
margin-left: -0.1rem;
|
|
38
|
+
margin-right: -0.2rem;
|
|
39
|
+
}
|
|
40
|
+
.eds-date-and-time-field__segment:focus {
|
|
41
|
+
background-color: #656782;
|
|
42
|
+
color: #ffffff;
|
|
43
|
+
outline: transparent;
|
|
44
|
+
border-radius: 0.0625rem;
|
|
45
|
+
}
|
|
1
46
|
/* DO NOT CHANGE!*/
|
|
2
47
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
3
48
|
.eds-datepicker__calendar,
|
|
@@ -125,51 +170,6 @@
|
|
|
125
170
|
.eds-contrast .eds-datepicker__calendar__grid__cell--today {
|
|
126
171
|
border-bottom: 2px solid #ff5959;
|
|
127
172
|
}
|
|
128
|
-
.eds-datefield div:first-of-type.eds-date-and-time-field__segment {
|
|
129
|
-
margin-left: 1rem;
|
|
130
|
-
}
|
|
131
|
-
.eds-datefield.eds-form-control-wrapper--disabled[focus-within] {
|
|
132
|
-
border-color: transparent;
|
|
133
|
-
box-shadow: none;
|
|
134
|
-
}
|
|
135
|
-
.eds-datefield.eds-form-control-wrapper--disabled:focus-within {
|
|
136
|
-
border-color: transparent;
|
|
137
|
-
box-shadow: none;
|
|
138
|
-
}
|
|
139
|
-
.eds-datefield.eds-form-control-wrapper--disabled .eds-date-and-time-field__segment:focus {
|
|
140
|
-
background: none;
|
|
141
|
-
}
|
|
142
|
-
.eds-datefield .eds-form-control__append--tooltip {
|
|
143
|
-
margin-top: 0.75rem;
|
|
144
|
-
margin-right: -0.25rem;
|
|
145
|
-
}
|
|
146
|
-
/* DO NOT CHANGE!*/
|
|
147
|
-
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
148
|
-
[dir="ltr"] .eds-date-and-time-field__segment {
|
|
149
|
-
text-align: right;
|
|
150
|
-
}
|
|
151
|
-
[dir="rtl"] .eds-date-and-time-field__segment {
|
|
152
|
-
text-align: left;
|
|
153
|
-
}
|
|
154
|
-
.eds-date-and-time-field__segment {
|
|
155
|
-
margin-top: 1rem;
|
|
156
|
-
padding: 0 2px;
|
|
157
|
-
font-feature-settings: "tnum";
|
|
158
|
-
font-variant-numeric: tabular-nums;
|
|
159
|
-
}
|
|
160
|
-
.eds-date-and-time-field__segment--placeholder {
|
|
161
|
-
color: #646464;
|
|
162
|
-
}
|
|
163
|
-
.eds-date-and-time-field__segment--dot-separator {
|
|
164
|
-
margin-left: -0.1rem;
|
|
165
|
-
margin-right: -0.2rem;
|
|
166
|
-
}
|
|
167
|
-
.eds-date-and-time-field__segment:focus {
|
|
168
|
-
background-color: #656782;
|
|
169
|
-
color: #ffffff;
|
|
170
|
-
outline: transparent;
|
|
171
|
-
border-radius: 0.0625rem;
|
|
172
|
-
}
|
|
173
173
|
/* DO NOT CHANGE!*/
|
|
174
174
|
/* This file is automatically generated from @entur/tokens! Changes will be overwritten. */
|
|
175
175
|
.eds-datepicker {
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@entur/datepicker",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.2.0",
|
|
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.
|
|
31
|
-
"@entur/button": "^3.2.
|
|
32
|
-
"@entur/form": "^7.0.
|
|
33
|
-
"@entur/icons": "^6.15.
|
|
34
|
-
"@entur/modal": "^1.7.
|
|
35
|
-
"@entur/tokens": "^3.
|
|
36
|
-
"@entur/tooltip": "^2.6.
|
|
37
|
-
"@entur/typography": "^1.8.
|
|
30
|
+
"@entur/a11y": "^0.2.76",
|
|
31
|
+
"@entur/button": "^3.2.11",
|
|
32
|
+
"@entur/form": "^7.0.38",
|
|
33
|
+
"@entur/icons": "^6.15.1",
|
|
34
|
+
"@entur/modal": "^1.7.31",
|
|
35
|
+
"@entur/tokens": "^3.13.0",
|
|
36
|
+
"@entur/tooltip": "^2.6.47",
|
|
37
|
+
"@entur/typography": "^1.8.24",
|
|
38
38
|
"@entur/utils": "^0.10.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": "
|
|
51
|
+
"gitHead": "907373a47cc81ae12be266bac1d10522033f8b49"
|
|
52
52
|
}
|