@progress/kendo-themes-html 7.1.0-dev.0 → 7.1.0-dev.2
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/cjs/gantt/tests/gantt.js +1 -1
- package/dist/cjs/index.js +1930 -1409
- package/dist/cjs/multiselecttree/multiselecttree.spec.js +4 -2
- package/dist/cjs/multiselecttree/templates/multiselecttree-adaptive.js +4 -2
- package/dist/cjs/multiselecttree/templates/multiselecttree-arrow-button.js +4 -2
- package/dist/cjs/multiselecttree/templates/multiselecttree-filtering.js +4 -2
- package/dist/cjs/multiselecttree/templates/multiselecttree-normal.js +4 -2
- package/dist/cjs/multiselecttree/templates/multiselecttree-popup.js +4 -2
- package/dist/cjs/multiselecttree/templates/multiselecttree-value.js +4 -2
- package/dist/cjs/multiselecttree/tests/multiselecttree-adaptive.js +4 -2
- package/dist/cjs/multiselecttree/tests/multiselecttree-flat.js +4 -2
- package/dist/cjs/multiselecttree/tests/multiselecttree-opened.js +4 -2
- package/dist/cjs/multiselecttree/tests/multiselecttree-outline.js +4 -2
- package/dist/cjs/multiselecttree/tests/multiselecttree-size-rounded.js +4 -2
- package/dist/cjs/multiselecttree/tests/multiselecttree-solid.js +4 -2
- package/dist/cjs/notification/tests/{notification-jquery-colors.js → notification-colors.js} +7 -7
- package/dist/cjs/notification/tests/{notification-angular.js → notification-group.js} +60 -24
- package/dist/cjs/notification/tests/{notification-jquery.js → notification.js} +7 -7
- package/dist/cjs/timeline/horizontal-timeline-event.spec.js +5044 -0
- package/dist/cjs/timeline/templates/timeline-horizontal.js +5163 -0
- package/dist/cjs/timeline/templates/timeline-normal-alternating.js +5056 -0
- package/dist/cjs/timeline/templates/timeline-normal-collapsible.js +5054 -0
- package/dist/cjs/timeline/templates/timeline-normal.js +5053 -0
- package/dist/cjs/timeline/tests/timeline-horizontal.js +653 -264
- package/dist/cjs/timeline/tests/timeline-vertical-alternating.js +550 -290
- package/dist/cjs/timeline/tests/timeline-vertical.js +563 -287
- package/dist/cjs/{notification/tests/notification-custom-angular.js → timeline/timeline-card-callout.js} +341 -152
- package/dist/cjs/{notification/tests/notification-angular-colors.js → timeline/timeline-card-title.js} +145 -76
- package/dist/cjs/timeline/timeline-card.spec.js +5043 -0
- package/dist/cjs/timeline/timeline-circle.spec.js +53 -0
- package/dist/cjs/timeline/timeline-date-wrap.spec.js +64 -0
- package/dist/cjs/timeline/timeline-event-list.spec.js +54 -0
- package/dist/cjs/timeline/timeline-flag-wrap.spec.js +88 -0
- package/dist/cjs/timeline/timeline-flag.spec.js +55 -0
- package/dist/cjs/timeline/timeline-track-item.spec.js +58 -0
- package/dist/cjs/timeline/timeline-track-wrap.spec.js +5082 -0
- package/dist/cjs/timeline/timeline-track.spec.js +54 -0
- package/dist/cjs/timeline/timeline.spec.js +71 -0
- package/dist/cjs/timeline/vertical-timeline-event.spec.js +5044 -0
- package/dist/esm/gantt/tests/gantt.js +1 -1
- package/dist/esm/index.js +1832 -1311
- package/dist/esm/multiselecttree/multiselecttree.spec.js +4 -2
- package/dist/esm/multiselecttree/templates/multiselecttree-adaptive.js +4 -2
- package/dist/esm/multiselecttree/templates/multiselecttree-arrow-button.js +4 -2
- package/dist/esm/multiselecttree/templates/multiselecttree-filtering.js +4 -2
- package/dist/esm/multiselecttree/templates/multiselecttree-normal.js +4 -2
- package/dist/esm/multiselecttree/templates/multiselecttree-popup.js +4 -2
- package/dist/esm/multiselecttree/templates/multiselecttree-value.js +4 -2
- package/dist/esm/multiselecttree/tests/multiselecttree-adaptive.js +4 -2
- package/dist/esm/multiselecttree/tests/multiselecttree-flat.js +4 -2
- package/dist/esm/multiselecttree/tests/multiselecttree-opened.js +4 -2
- package/dist/esm/multiselecttree/tests/multiselecttree-outline.js +4 -2
- package/dist/esm/multiselecttree/tests/multiselecttree-size-rounded.js +4 -2
- package/dist/esm/multiselecttree/tests/multiselecttree-solid.js +4 -2
- package/dist/esm/notification/tests/{notification-jquery-colors.js → notification-colors.js} +3 -3
- package/dist/esm/notification/tests/{notification-angular.js → notification-group.js} +57 -21
- package/dist/esm/notification/tests/{notification-jquery.js → notification.js} +3 -3
- package/dist/esm/timeline/horizontal-timeline-event.spec.js +5028 -0
- package/dist/esm/timeline/templates/timeline-horizontal.js +5147 -0
- package/dist/esm/timeline/templates/timeline-normal-alternating.js +5040 -0
- package/dist/esm/timeline/templates/timeline-normal-collapsible.js +5038 -0
- package/dist/esm/timeline/templates/timeline-normal.js +5037 -0
- package/dist/esm/timeline/tests/timeline-horizontal.js +654 -265
- package/dist/esm/timeline/tests/timeline-vertical-alternating.js +551 -291
- package/dist/esm/timeline/tests/timeline-vertical.js +564 -288
- package/dist/esm/{notification/tests/notification-custom-angular.js → timeline/timeline-card-callout.js} +337 -148
- package/dist/esm/{notification/tests/notification-angular-colors.js → timeline/timeline-card-title.js} +142 -73
- package/dist/esm/timeline/timeline-card.spec.js +5027 -0
- package/dist/esm/timeline/timeline-circle.spec.js +31 -0
- package/dist/esm/timeline/timeline-date-wrap.spec.js +42 -0
- package/dist/esm/timeline/timeline-event-list.spec.js +32 -0
- package/dist/esm/timeline/timeline-flag-wrap.spec.js +66 -0
- package/dist/esm/timeline/timeline-flag.spec.js +33 -0
- package/dist/esm/timeline/timeline-track-item.spec.js +36 -0
- package/dist/esm/timeline/timeline-track-wrap.spec.js +5066 -0
- package/dist/esm/timeline/timeline-track.spec.js +32 -0
- package/dist/esm/timeline/timeline.spec.js +49 -0
- package/dist/esm/timeline/vertical-timeline-event.spec.js +5028 -0
- package/dist/types/index.d.ts +1 -0
- package/dist/types/timeline/horizontal-timeline-event.spec.d.ts +19 -0
- package/dist/types/timeline/index.d.ts +18 -0
- package/dist/types/timeline/templates/timeline-horizontal.d.ts +1 -0
- package/dist/types/timeline/templates/timeline-normal-alternating.d.ts +1 -0
- package/dist/types/timeline/templates/timeline-normal-collapsible.d.ts +1 -0
- package/dist/types/timeline/templates/timeline-normal.d.ts +1 -0
- package/dist/types/timeline/timeline-card-callout.d.ts +9 -0
- package/dist/types/timeline/timeline-card-title.d.ts +11 -0
- package/dist/types/timeline/timeline-card.spec.d.ts +7 -0
- package/dist/types/timeline/timeline-circle.spec.d.ts +3 -0
- package/dist/types/timeline/timeline-date-wrap.spec.d.ts +14 -0
- package/dist/types/timeline/timeline-event-list.spec.d.ts +3 -0
- package/dist/types/timeline/timeline-flag-wrap.spec.d.ts +14 -0
- package/dist/types/timeline/timeline-flag.spec.d.ts +6 -0
- package/dist/types/timeline/timeline-track-item.spec.d.ts +8 -0
- package/dist/types/timeline/timeline-track-wrap.spec.d.ts +3 -0
- package/dist/types/timeline/timeline-track.spec.d.ts +3 -0
- package/dist/types/timeline/timeline.spec.d.ts +18 -0
- package/dist/types/timeline/vertical-timeline-event.spec.d.ts +25 -0
- package/package.json +2 -2
- package/src/card/card-title.tsx +1 -1
- package/src/gantt/tests/gantt.tsx +1 -1
- package/src/index.ts +1 -1
- package/src/multiselecttree/multiselecttree.spec.tsx +9 -8
- package/src/notification/tests/{notification-jquery-colors.tsx → notification-colors.tsx} +1 -1
- package/src/notification/tests/notification-group.tsx +49 -0
- package/src/notification/tests/{notification-jquery.tsx → notification.tsx} +1 -1
- package/src/timeline/horizontal-timeline-event.spec.tsx +66 -0
- package/src/timeline/index.ts +18 -0
- package/src/timeline/templates/timeline-horizontal.tsx +35 -0
- package/src/timeline/templates/timeline-normal-alternating.tsx +18 -0
- package/src/timeline/templates/timeline-normal-collapsible.tsx +16 -0
- package/src/timeline/templates/timeline-normal.tsx +15 -0
- package/src/timeline/tests/timeline-horizontal.tsx +3 -62
- package/src/timeline/tests/timeline-vertical-alternating.tsx +4 -82
- package/src/timeline/tests/timeline-vertical.tsx +9 -80
- package/src/timeline/timeline-card-callout.tsx +35 -0
- package/src/timeline/timeline-card-title.tsx +42 -0
- package/src/timeline/timeline-card.spec.tsx +37 -0
- package/src/timeline/timeline-circle.spec.tsx +24 -0
- package/src/timeline/timeline-date-wrap.spec.tsx +44 -0
- package/src/timeline/timeline-event-list.spec.tsx +27 -0
- package/src/timeline/timeline-flag-wrap.spec.tsx +47 -0
- package/src/timeline/timeline-flag.spec.tsx +31 -0
- package/src/timeline/timeline-track-item.spec.tsx +33 -0
- package/src/timeline/timeline-track-wrap.spec.tsx +31 -0
- package/src/timeline/timeline-track.spec.tsx +27 -0
- package/src/timeline/timeline.spec.tsx +53 -0
- package/src/timeline/vertical-timeline-event.spec.tsx +79 -0
- package/dist/types/notification/tests/notification-jquery-colors.d.ts +0 -2
- package/dist/types/notification/tests/notification-jquery.d.ts +0 -2
- package/src/notification/tests/notification-angular-colors.tsx +0 -28
- package/src/notification/tests/notification-angular.tsx +0 -65
- package/src/notification/tests/notification-custom-angular.tsx +0 -77
- /package/dist/types/notification/tests/{notification-angular-colors.d.ts → notification-colors.d.ts} +0 -0
- /package/dist/types/notification/tests/{notification-angular.d.ts → notification-group.d.ts} +0 -0
- /package/dist/types/notification/tests/{notification-custom-angular.d.ts → notification.d.ts} +0 -0
|
@@ -0,0 +1,79 @@
|
|
|
1
|
+
import { classNames } from '../misc';
|
|
2
|
+
import { CardHeader, CardBody, CardSubtitle } from '../card';
|
|
3
|
+
import { TimelineCard, TimelineCardTitle, TimelineCircle } from '../timeline';
|
|
4
|
+
|
|
5
|
+
export const TIMELINEVERTICALEVENT_CLASSNAME = `k-timeline-event`;
|
|
6
|
+
|
|
7
|
+
const states = [];
|
|
8
|
+
|
|
9
|
+
const options = {};
|
|
10
|
+
|
|
11
|
+
|
|
12
|
+
export type KendoVerticalTimelineEventProps = {
|
|
13
|
+
date?: string;
|
|
14
|
+
content?: string | JSX.Element;
|
|
15
|
+
collapsed?: boolean;
|
|
16
|
+
reverse?: boolean;
|
|
17
|
+
title?: string;
|
|
18
|
+
subtitle?: string;
|
|
19
|
+
showCollapseButton?: boolean;
|
|
20
|
+
};
|
|
21
|
+
|
|
22
|
+
const defaultProps = {
|
|
23
|
+
collapsed: false,
|
|
24
|
+
reverse: false,
|
|
25
|
+
title: "Event title",
|
|
26
|
+
subtitle: "Event subtitle",
|
|
27
|
+
content: "Event content",
|
|
28
|
+
};
|
|
29
|
+
|
|
30
|
+
export const VerticalTimelineEvent = (
|
|
31
|
+
props: KendoVerticalTimelineEventProps &
|
|
32
|
+
React.HTMLAttributes<HTMLLIElement>
|
|
33
|
+
) => {
|
|
34
|
+
const {
|
|
35
|
+
date,
|
|
36
|
+
content = defaultProps.content,
|
|
37
|
+
collapsed = defaultProps.collapsed,
|
|
38
|
+
reverse = defaultProps.reverse,
|
|
39
|
+
title = defaultProps.title,
|
|
40
|
+
subtitle = defaultProps.subtitle,
|
|
41
|
+
showCollapseButton,
|
|
42
|
+
...other
|
|
43
|
+
} = props;
|
|
44
|
+
|
|
45
|
+
return (
|
|
46
|
+
<li
|
|
47
|
+
{...other}
|
|
48
|
+
className={classNames(
|
|
49
|
+
props.className,
|
|
50
|
+
TIMELINEVERTICALEVENT_CLASSNAME,
|
|
51
|
+
{ "k-reverse": reverse }
|
|
52
|
+
)}>
|
|
53
|
+
{date && <div className="k-timeline-date-wrap"><span className="k-timeline-date">{date}</span></div>}
|
|
54
|
+
{<TimelineCircle />}
|
|
55
|
+
{content && <div className={classNames('k-timeline-card', { 'k-collapsed': collapsed } )}>
|
|
56
|
+
<TimelineCard { ...(reverse ? { callout: "right" } : { callout: "left" } )} >
|
|
57
|
+
<div className="k-card-inner">
|
|
58
|
+
<CardHeader>
|
|
59
|
+
<TimelineCardTitle collapsible={showCollapseButton}>{title}</TimelineCardTitle>
|
|
60
|
+
<CardSubtitle>{subtitle}</CardSubtitle>
|
|
61
|
+
</CardHeader>
|
|
62
|
+
<CardBody>
|
|
63
|
+
<div className="k-card-description">{content}</div>
|
|
64
|
+
</CardBody>
|
|
65
|
+
</div>
|
|
66
|
+
</TimelineCard>
|
|
67
|
+
|
|
68
|
+
</div>}
|
|
69
|
+
{props.children}
|
|
70
|
+
</li>
|
|
71
|
+
);
|
|
72
|
+
};
|
|
73
|
+
|
|
74
|
+
VerticalTimelineEvent.states = states;
|
|
75
|
+
VerticalTimelineEvent.options = options;
|
|
76
|
+
VerticalTimelineEvent.className = TIMELINEVERTICALEVENT_CLASSNAME;
|
|
77
|
+
VerticalTimelineEvent.defaultProps = defaultProps;
|
|
78
|
+
|
|
79
|
+
export default VerticalTimelineEvent;
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { Notification, NotificationClosable } from '../../notification';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const styles = `
|
|
5
|
-
#test-area {
|
|
6
|
-
justify-items: start;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.k-notification-container {
|
|
10
|
-
margin: 0;
|
|
11
|
-
}
|
|
12
|
-
`;
|
|
13
|
-
|
|
14
|
-
export default () => (
|
|
15
|
-
<>
|
|
16
|
-
<style>{styles}</style>
|
|
17
|
-
<div id="test-area" className="k-d-grid k-grid-cols-2">
|
|
18
|
-
{Notification.options.themeColor.map((color) => (
|
|
19
|
-
<div>
|
|
20
|
-
<div className="k-notification-container">
|
|
21
|
-
<NotificationClosable themeColor={color} text={`${color} notification`} />
|
|
22
|
-
</div>
|
|
23
|
-
</div>
|
|
24
|
-
))}
|
|
25
|
-
|
|
26
|
-
</div>
|
|
27
|
-
</>
|
|
28
|
-
);
|
|
@@ -1,65 +0,0 @@
|
|
|
1
|
-
import { NotificationNormal, NotificationClosable, IconNotification, IconNotificationClosable } from '../../notification';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const styles = `
|
|
5
|
-
#test-area {
|
|
6
|
-
justify-items: start;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.k-notification-container {
|
|
10
|
-
margin: 0;
|
|
11
|
-
}
|
|
12
|
-
`;
|
|
13
|
-
|
|
14
|
-
export default () => (
|
|
15
|
-
<>
|
|
16
|
-
<style>{styles}</style>
|
|
17
|
-
<div id="test-area" className="k-d-grid k-grid-cols-4">
|
|
18
|
-
|
|
19
|
-
<span className="k-colspan-all k-col-span-full">LTR</span>
|
|
20
|
-
<div>
|
|
21
|
-
<div className="k-notification-container">
|
|
22
|
-
<NotificationNormal text="Default notification" />
|
|
23
|
-
</div>
|
|
24
|
-
</div>
|
|
25
|
-
<div>
|
|
26
|
-
<div className="k-notification-container">
|
|
27
|
-
<IconNotification text="Icon notification" />
|
|
28
|
-
</div>
|
|
29
|
-
</div>
|
|
30
|
-
<div>
|
|
31
|
-
<div className="k-notification-container">
|
|
32
|
-
<NotificationClosable text="Closable notification" />
|
|
33
|
-
</div>
|
|
34
|
-
</div>
|
|
35
|
-
<div>
|
|
36
|
-
<div className="k-notification-container">
|
|
37
|
-
<IconNotificationClosable text="Closable notification with icon" />
|
|
38
|
-
</div>
|
|
39
|
-
</div>
|
|
40
|
-
|
|
41
|
-
<span className="k-colspan-all k-col-span-full">RTL</span>
|
|
42
|
-
<div dir="rtl">
|
|
43
|
-
<div className="k-notification-container">
|
|
44
|
-
<NotificationNormal text="Default notification" />
|
|
45
|
-
</div>
|
|
46
|
-
</div>
|
|
47
|
-
<div dir="rtl">
|
|
48
|
-
<div className="k-notification-container">
|
|
49
|
-
<IconNotification text="Icon notification" />
|
|
50
|
-
</div>
|
|
51
|
-
</div>
|
|
52
|
-
<div dir="rtl">
|
|
53
|
-
<div className="k-notification-container">
|
|
54
|
-
<NotificationClosable text="Closable notification" />
|
|
55
|
-
</div>
|
|
56
|
-
</div>
|
|
57
|
-
<div dir="rtl">
|
|
58
|
-
<div className="k-notification-container">
|
|
59
|
-
<IconNotificationClosable text="Closable notification with icon" />
|
|
60
|
-
</div>
|
|
61
|
-
</div>
|
|
62
|
-
|
|
63
|
-
</div>
|
|
64
|
-
</>
|
|
65
|
-
);
|
|
@@ -1,77 +0,0 @@
|
|
|
1
|
-
import { NotificationClosable, NotificationNormal } from '../../notification';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const styles = `
|
|
5
|
-
.k-notification-group {
|
|
6
|
-
position: static;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.fullwidth,
|
|
10
|
-
.fullwidth > .k-notification {
|
|
11
|
-
width: 100%;
|
|
12
|
-
}
|
|
13
|
-
|
|
14
|
-
.k-custom-notification {
|
|
15
|
-
font-size: 20px;
|
|
16
|
-
color: black;
|
|
17
|
-
}
|
|
18
|
-
|
|
19
|
-
.k-notification-actions {
|
|
20
|
-
align-self: start;
|
|
21
|
-
}
|
|
22
|
-
`;
|
|
23
|
-
|
|
24
|
-
export default () =>(
|
|
25
|
-
<>
|
|
26
|
-
<style>{styles}</style>
|
|
27
|
-
<div id="test-area" className="k-d-grid k-grid-cols-4">
|
|
28
|
-
|
|
29
|
-
<span className="k-colspan-all k-col-span-full">LTR</span>
|
|
30
|
-
|
|
31
|
-
<div>
|
|
32
|
-
{/* notification group */}
|
|
33
|
-
<div className="k-notification-group">
|
|
34
|
-
<div className="k-notification-container">
|
|
35
|
-
<NotificationClosable text="Multiline notification">
|
|
36
|
-
<div>Closable multiline notification</div>
|
|
37
|
-
<div>Closable multiline notification</div>
|
|
38
|
-
<div>Closable multiline notification</div>
|
|
39
|
-
</NotificationClosable>
|
|
40
|
-
</div>
|
|
41
|
-
<div className="k-notification-container">
|
|
42
|
-
<NotificationNormal className="k-custom-notification" text="Custom notification" />
|
|
43
|
-
</div>
|
|
44
|
-
</div>
|
|
45
|
-
</div>
|
|
46
|
-
<div className="k-colspan-3 k-col-span-3">
|
|
47
|
-
<div className="k-notification-container fullwidth">
|
|
48
|
-
<NotificationClosable text="Full width notification"/>
|
|
49
|
-
</div>
|
|
50
|
-
</div>
|
|
51
|
-
|
|
52
|
-
<span className="k-colspan-all k-col-span-full">RTL</span>
|
|
53
|
-
|
|
54
|
-
<div dir="rtl">
|
|
55
|
-
{/* notification group */}
|
|
56
|
-
<div className="k-notification-group">
|
|
57
|
-
<div className="k-notification-container">
|
|
58
|
-
<NotificationClosable text="Multiline notification">
|
|
59
|
-
<div>Closable multiline notification</div>
|
|
60
|
-
<div>Closable multiline notification</div>
|
|
61
|
-
<div>Closable multiline notification</div>
|
|
62
|
-
</NotificationClosable>
|
|
63
|
-
</div>
|
|
64
|
-
<div className="k-notification-container">
|
|
65
|
-
<NotificationNormal className="k-custom-notification" text="Custom notification" />
|
|
66
|
-
</div>
|
|
67
|
-
</div>
|
|
68
|
-
</div>
|
|
69
|
-
<div className="k-colspan-3 k-col-span-3" dir="rtl">
|
|
70
|
-
<div className="k-notification-container fullwidth">
|
|
71
|
-
<NotificationClosable text="Full width notification"/>
|
|
72
|
-
</div>
|
|
73
|
-
</div>
|
|
74
|
-
|
|
75
|
-
</div>
|
|
76
|
-
</>
|
|
77
|
-
);
|
/package/dist/types/notification/tests/{notification-angular-colors.d.ts → notification-colors.d.ts}
RENAMED
|
File without changes
|
/package/dist/types/notification/tests/{notification-angular.d.ts → notification-group.d.ts}
RENAMED
|
File without changes
|
/package/dist/types/notification/tests/{notification-custom-angular.d.ts → notification.d.ts}
RENAMED
|
File without changes
|