@progress/kendo-react-scheduler 5.3.0-dev.202205041411 → 5.3.0-dev.202205091142
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/cdn/js/kendo-react-scheduler.js +2 -2
- package/dist/es/items/SchedulerItem.d.ts +2 -2
- package/dist/es/items/SchedulerItem.js +1 -1
- package/dist/es/package-metadata.js +1 -1
- package/dist/es/slots/SchedulerSlot.d.ts +2 -2
- package/dist/es/slots/SchedulerSlot.js +1 -1
- package/dist/npm/items/SchedulerItem.d.ts +2 -2
- package/dist/npm/items/SchedulerItem.js +1 -1
- package/dist/npm/package-metadata.js +1 -1
- package/dist/npm/slots/SchedulerSlot.d.ts +2 -2
- package/dist/npm/slots/SchedulerSlot.js +1 -1
- package/dist/systemjs/kendo-react-scheduler.js +1 -1
- package/package.json +12 -12
|
@@ -19,7 +19,7 @@ export interface SchedulerItemProps extends Item {
|
|
|
19
19
|
*
|
|
20
20
|
* The SchedulerItem applies the following default className:
|
|
21
21
|
* - `k-event`
|
|
22
|
-
* - `k-
|
|
22
|
+
* - `k-selected` - if `props.selected` is set to `true`
|
|
23
23
|
* - `k-event-drag-hint` - if `props.dragHint` is set to `true`
|
|
24
24
|
* - `k-scheduler-marquee` - if `props.resizeHint` is set to `true`
|
|
25
25
|
* - `k-marquee`: if `props.resizeHint` is set to `true`
|
|
@@ -49,7 +49,7 @@ export interface SchedulerItemProps extends Item {
|
|
|
49
49
|
*/
|
|
50
50
|
editable?: EditableProp | boolean;
|
|
51
51
|
/**
|
|
52
|
-
* Sets the selected state of the SchedulerSlot. By default the `k-
|
|
52
|
+
* Sets the selected state of the SchedulerSlot. By default the `k-selected` className is added if `props.selected` is `true`.
|
|
53
53
|
*/
|
|
54
54
|
selected?: boolean;
|
|
55
55
|
/**
|
|
@@ -50,7 +50,7 @@ export var SchedulerItem = React.forwardRef(function (props, ref) {
|
|
|
50
50
|
: -1;
|
|
51
51
|
var className = React.useMemo(function () { return classNames({
|
|
52
52
|
'k-event': !props.resizeHint,
|
|
53
|
-
'k-
|
|
53
|
+
'k-selected': props.selected && editable.select,
|
|
54
54
|
'k-event-drag-hint': props.dragHint,
|
|
55
55
|
'k-scheduler-marquee': props.resizeHint,
|
|
56
56
|
'k-marquee': props.resizeHint,
|
|
@@ -5,7 +5,7 @@ export var packageMetadata = {
|
|
|
5
5
|
name: '@progress/kendo-react-scheduler',
|
|
6
6
|
productName: 'KendoReact',
|
|
7
7
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
8
|
-
publishDate:
|
|
8
|
+
publishDate: 1652096214,
|
|
9
9
|
version: '',
|
|
10
10
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
11
11
|
};
|
|
@@ -23,7 +23,7 @@ export interface SchedulerSlotProps extends Slot {
|
|
|
23
23
|
* - `k-scheduler-cell`
|
|
24
24
|
* - `k-slot-cell`
|
|
25
25
|
* - `k-nonwork-hour` - if either `props.isWorkHour` or `props.isWorkDay` is `false`
|
|
26
|
-
* - `k-
|
|
26
|
+
* - `k-selected` - if `props.selected` is set to `true`
|
|
27
27
|
*/
|
|
28
28
|
className?: string;
|
|
29
29
|
/**
|
|
@@ -50,7 +50,7 @@ export interface SchedulerSlotProps extends Slot {
|
|
|
50
50
|
*/
|
|
51
51
|
isWorkHour?: boolean;
|
|
52
52
|
/**
|
|
53
|
-
* Sets the selected state of the SchedulerSlot. By default the `k-
|
|
53
|
+
* Sets the selected state of the SchedulerSlot. By default the `k-selected` className is added if `props.selected` is `true`.
|
|
54
54
|
*/
|
|
55
55
|
selected?: boolean;
|
|
56
56
|
/**
|
|
@@ -36,7 +36,7 @@ export var SchedulerSlot = React.forwardRef(function (props, ref) {
|
|
|
36
36
|
: -1;
|
|
37
37
|
var className = React.useMemo(function () { return classNames(props.className, 'k-scheduler-cell k-slot-cell', {
|
|
38
38
|
'k-nonwork-hour': (!props.isWorkHour || !props.isWorkDay),
|
|
39
|
-
'k-
|
|
39
|
+
'k-selected': props.selected
|
|
40
40
|
}); }, [props.className, props.selected, props.isWorkHour, props.isWorkDay]);
|
|
41
41
|
var style = React.useMemo(function () { return (__assign({ userSelect: 'none' }, props.style)); }, [props.style]);
|
|
42
42
|
var slotLabel = React.useMemo(function () { return "" + formatEventTime(intl, props.zonedStart, props.zonedEnd, props.isAllDay || false); }, [intl, props.isAllDay, props.zonedEnd, props.zonedStart]);
|
|
@@ -19,7 +19,7 @@ export interface SchedulerItemProps extends Item {
|
|
|
19
19
|
*
|
|
20
20
|
* The SchedulerItem applies the following default className:
|
|
21
21
|
* - `k-event`
|
|
22
|
-
* - `k-
|
|
22
|
+
* - `k-selected` - if `props.selected` is set to `true`
|
|
23
23
|
* - `k-event-drag-hint` - if `props.dragHint` is set to `true`
|
|
24
24
|
* - `k-scheduler-marquee` - if `props.resizeHint` is set to `true`
|
|
25
25
|
* - `k-marquee`: if `props.resizeHint` is set to `true`
|
|
@@ -49,7 +49,7 @@ export interface SchedulerItemProps extends Item {
|
|
|
49
49
|
*/
|
|
50
50
|
editable?: EditableProp | boolean;
|
|
51
51
|
/**
|
|
52
|
-
* Sets the selected state of the SchedulerSlot. By default the `k-
|
|
52
|
+
* Sets the selected state of the SchedulerSlot. By default the `k-selected` className is added if `props.selected` is `true`.
|
|
53
53
|
*/
|
|
54
54
|
selected?: boolean;
|
|
55
55
|
/**
|
|
@@ -52,7 +52,7 @@ exports.SchedulerItem = React.forwardRef(function (props, ref) {
|
|
|
52
52
|
: -1;
|
|
53
53
|
var className = React.useMemo(function () { return kendo_react_common_1.classNames({
|
|
54
54
|
'k-event': !props.resizeHint,
|
|
55
|
-
'k-
|
|
55
|
+
'k-selected': props.selected && editable.select,
|
|
56
56
|
'k-event-drag-hint': props.dragHint,
|
|
57
57
|
'k-scheduler-marquee': props.resizeHint,
|
|
58
58
|
'k-marquee': props.resizeHint,
|
|
@@ -7,7 +7,7 @@ exports.packageMetadata = {
|
|
|
7
7
|
name: '@progress/kendo-react-scheduler',
|
|
8
8
|
productName: 'KendoReact',
|
|
9
9
|
productCodes: ['KENDOUIREACT', 'KENDOUICOMPLETE'],
|
|
10
|
-
publishDate:
|
|
10
|
+
publishDate: 1652096214,
|
|
11
11
|
version: '',
|
|
12
12
|
licensingDocsUrl: 'https://www.telerik.com/kendo-react-ui/my-license/?utm_medium=product&utm_source=kendoreact&utm_campaign=kendo-ui-react-purchase-license-keys-warning'
|
|
13
13
|
};
|
|
@@ -23,7 +23,7 @@ export interface SchedulerSlotProps extends Slot {
|
|
|
23
23
|
* - `k-scheduler-cell`
|
|
24
24
|
* - `k-slot-cell`
|
|
25
25
|
* - `k-nonwork-hour` - if either `props.isWorkHour` or `props.isWorkDay` is `false`
|
|
26
|
-
* - `k-
|
|
26
|
+
* - `k-selected` - if `props.selected` is set to `true`
|
|
27
27
|
*/
|
|
28
28
|
className?: string;
|
|
29
29
|
/**
|
|
@@ -50,7 +50,7 @@ export interface SchedulerSlotProps extends Slot {
|
|
|
50
50
|
*/
|
|
51
51
|
isWorkHour?: boolean;
|
|
52
52
|
/**
|
|
53
|
-
* Sets the selected state of the SchedulerSlot. By default the `k-
|
|
53
|
+
* Sets the selected state of the SchedulerSlot. By default the `k-selected` className is added if `props.selected` is `true`.
|
|
54
54
|
*/
|
|
55
55
|
selected?: boolean;
|
|
56
56
|
/**
|
|
@@ -38,7 +38,7 @@ exports.SchedulerSlot = React.forwardRef(function (props, ref) {
|
|
|
38
38
|
: -1;
|
|
39
39
|
var className = React.useMemo(function () { return kendo_react_common_1.classNames(props.className, 'k-scheduler-cell k-slot-cell', {
|
|
40
40
|
'k-nonwork-hour': (!props.isWorkHour || !props.isWorkDay),
|
|
41
|
-
'k-
|
|
41
|
+
'k-selected': props.selected
|
|
42
42
|
}); }, [props.className, props.selected, props.isWorkHour, props.isWorkDay]);
|
|
43
43
|
var style = React.useMemo(function () { return (__assign({ userSelect: 'none' }, props.style)); }, [props.style]);
|
|
44
44
|
var slotLabel = React.useMemo(function () { return "" + utils_1.formatEventTime(intl, props.zonedStart, props.zonedEnd, props.isAllDay || false); }, [intl, props.isAllDay, props.zonedEnd, props.zonedStart]);
|