@progress/kendo-react-dateinputs 9.0.0-develop.1 → 9.0.0-develop.3
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/README.md +47 -46
- package/calendar/components/Calendar.mjs +57 -60
- package/calendar/components/CalendarNavigationItem.mjs +10 -12
- package/calendar/components/CalendarWeekCell.mjs +9 -1
- package/calendar/components/HorizontalViewList.mjs +8 -11
- package/calendar/components/MultiViewCalendar.mjs +13 -8
- package/calendar/components/Navigation.mjs +11 -11
- package/calendar/components/View.mjs +8 -25
- package/common/PickerWrap.mjs +2 -15
- package/dateinput/models/kendo-date.js +1 -1
- package/dateinput/models/kendo-date.mjs +8 -7
- package/datepicker/DatePicker.mjs +14 -6
- package/daterangepicker/DateRangePicker.mjs +14 -3
- package/datetimepicker/DateTimePicker.mjs +22 -15
- package/dist/cdn/js/kendo-react-dateinputs.js +1 -1
- package/hooks/usePickerFloatingLabel.mjs +1 -7
- package/index.d.mts +4 -1
- package/index.d.ts +4 -1
- package/package-metadata.mjs +1 -1
- package/package.json +7 -7
- package/timepicker/TimeList.mjs +27 -12
- package/timepicker/TimePart.mjs +55 -75
- package/timepicker/TimePicker.mjs +11 -5
- package/timepicker/TimeSelector.js +1 -1
- package/timepicker/TimeSelector.mjs +41 -45
- package/timepicker/services/DOMService.mjs +7 -4
- package/timepicker/services/DayPeriodService.mjs +1 -4
- package/timepicker/utils.mjs +3 -15
- package/virtualization/Virtualization.js +1 -1
- package/virtualization/Virtualization.mjs +3 -13
|
@@ -33,8 +33,7 @@ const T = (s, i, t) => Math.min(Math.abs(i - s), t), A = 17, C = 10, x = {
|
|
|
33
33
|
if (!this.rowHeightService || !window)
|
|
34
34
|
return;
|
|
35
35
|
window.cancelAnimationFrame(this.cancelAnimation);
|
|
36
|
-
const e = this.rowHeightService.offset(t), r = this.getContainerScrollDirection(e);
|
|
37
|
-
let { start: n, end: l } = this.scrollRange(e, r);
|
|
36
|
+
const e = this.rowHeightService.offset(t), r = this.getContainerScrollDirection(e), { start: n, end: l } = this.scrollRange(e, r);
|
|
38
37
|
if (n === l)
|
|
39
38
|
return;
|
|
40
39
|
const f = this.scrollStep(n, l), c = x[r](f), h = I[r](l), d = M[r](c(l)), m = (g) => {
|
|
@@ -91,10 +90,7 @@ const T = (s, i, t) => Math.min(Math.abs(i - s), t), A = 17, C = 10, x = {
|
|
|
91
90
|
this.scrollAction = t;
|
|
92
91
|
}, this.handlePageAction = (t) => {
|
|
93
92
|
this.pageAction = t;
|
|
94
|
-
}, this.scrollerService = new P(
|
|
95
|
-
this.handleScrollAction,
|
|
96
|
-
this.handlePageAction
|
|
97
|
-
), this.restrictScroll = Number.parseFloat(u.version) > 17;
|
|
93
|
+
}, this.scrollerService = new P(this.handleScrollAction, this.handlePageAction), this.restrictScroll = Number.parseFloat(u.version) > 17;
|
|
98
94
|
}
|
|
99
95
|
get element() {
|
|
100
96
|
return this.scrollContainer;
|
|
@@ -166,13 +162,7 @@ const T = (s, i, t) => Math.min(Math.abs(i - s), t), A = 17, C = 10, x = {
|
|
|
166
162
|
role: l
|
|
167
163
|
},
|
|
168
164
|
f,
|
|
169
|
-
/* @__PURE__ */ u.createElement(
|
|
170
|
-
"div",
|
|
171
|
-
{
|
|
172
|
-
style: m,
|
|
173
|
-
className: S
|
|
174
|
-
}
|
|
175
|
-
)
|
|
165
|
+
/* @__PURE__ */ u.createElement("div", { style: m, className: S })
|
|
176
166
|
);
|
|
177
167
|
}
|
|
178
168
|
};
|