@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.
Files changed (136) hide show
  1. package/dist/cjs/gantt/tests/gantt.js +1 -1
  2. package/dist/cjs/index.js +1930 -1409
  3. package/dist/cjs/multiselecttree/multiselecttree.spec.js +4 -2
  4. package/dist/cjs/multiselecttree/templates/multiselecttree-adaptive.js +4 -2
  5. package/dist/cjs/multiselecttree/templates/multiselecttree-arrow-button.js +4 -2
  6. package/dist/cjs/multiselecttree/templates/multiselecttree-filtering.js +4 -2
  7. package/dist/cjs/multiselecttree/templates/multiselecttree-normal.js +4 -2
  8. package/dist/cjs/multiselecttree/templates/multiselecttree-popup.js +4 -2
  9. package/dist/cjs/multiselecttree/templates/multiselecttree-value.js +4 -2
  10. package/dist/cjs/multiselecttree/tests/multiselecttree-adaptive.js +4 -2
  11. package/dist/cjs/multiselecttree/tests/multiselecttree-flat.js +4 -2
  12. package/dist/cjs/multiselecttree/tests/multiselecttree-opened.js +4 -2
  13. package/dist/cjs/multiselecttree/tests/multiselecttree-outline.js +4 -2
  14. package/dist/cjs/multiselecttree/tests/multiselecttree-size-rounded.js +4 -2
  15. package/dist/cjs/multiselecttree/tests/multiselecttree-solid.js +4 -2
  16. package/dist/cjs/notification/tests/{notification-jquery-colors.js → notification-colors.js} +7 -7
  17. package/dist/cjs/notification/tests/{notification-angular.js → notification-group.js} +60 -24
  18. package/dist/cjs/notification/tests/{notification-jquery.js → notification.js} +7 -7
  19. package/dist/cjs/timeline/horizontal-timeline-event.spec.js +5044 -0
  20. package/dist/cjs/timeline/templates/timeline-horizontal.js +5163 -0
  21. package/dist/cjs/timeline/templates/timeline-normal-alternating.js +5056 -0
  22. package/dist/cjs/timeline/templates/timeline-normal-collapsible.js +5054 -0
  23. package/dist/cjs/timeline/templates/timeline-normal.js +5053 -0
  24. package/dist/cjs/timeline/tests/timeline-horizontal.js +653 -264
  25. package/dist/cjs/timeline/tests/timeline-vertical-alternating.js +550 -290
  26. package/dist/cjs/timeline/tests/timeline-vertical.js +563 -287
  27. package/dist/cjs/{notification/tests/notification-custom-angular.js → timeline/timeline-card-callout.js} +341 -152
  28. package/dist/cjs/{notification/tests/notification-angular-colors.js → timeline/timeline-card-title.js} +145 -76
  29. package/dist/cjs/timeline/timeline-card.spec.js +5043 -0
  30. package/dist/cjs/timeline/timeline-circle.spec.js +53 -0
  31. package/dist/cjs/timeline/timeline-date-wrap.spec.js +64 -0
  32. package/dist/cjs/timeline/timeline-event-list.spec.js +54 -0
  33. package/dist/cjs/timeline/timeline-flag-wrap.spec.js +88 -0
  34. package/dist/cjs/timeline/timeline-flag.spec.js +55 -0
  35. package/dist/cjs/timeline/timeline-track-item.spec.js +58 -0
  36. package/dist/cjs/timeline/timeline-track-wrap.spec.js +5082 -0
  37. package/dist/cjs/timeline/timeline-track.spec.js +54 -0
  38. package/dist/cjs/timeline/timeline.spec.js +71 -0
  39. package/dist/cjs/timeline/vertical-timeline-event.spec.js +5044 -0
  40. package/dist/esm/gantt/tests/gantt.js +1 -1
  41. package/dist/esm/index.js +1832 -1311
  42. package/dist/esm/multiselecttree/multiselecttree.spec.js +4 -2
  43. package/dist/esm/multiselecttree/templates/multiselecttree-adaptive.js +4 -2
  44. package/dist/esm/multiselecttree/templates/multiselecttree-arrow-button.js +4 -2
  45. package/dist/esm/multiselecttree/templates/multiselecttree-filtering.js +4 -2
  46. package/dist/esm/multiselecttree/templates/multiselecttree-normal.js +4 -2
  47. package/dist/esm/multiselecttree/templates/multiselecttree-popup.js +4 -2
  48. package/dist/esm/multiselecttree/templates/multiselecttree-value.js +4 -2
  49. package/dist/esm/multiselecttree/tests/multiselecttree-adaptive.js +4 -2
  50. package/dist/esm/multiselecttree/tests/multiselecttree-flat.js +4 -2
  51. package/dist/esm/multiselecttree/tests/multiselecttree-opened.js +4 -2
  52. package/dist/esm/multiselecttree/tests/multiselecttree-outline.js +4 -2
  53. package/dist/esm/multiselecttree/tests/multiselecttree-size-rounded.js +4 -2
  54. package/dist/esm/multiselecttree/tests/multiselecttree-solid.js +4 -2
  55. package/dist/esm/notification/tests/{notification-jquery-colors.js → notification-colors.js} +3 -3
  56. package/dist/esm/notification/tests/{notification-angular.js → notification-group.js} +57 -21
  57. package/dist/esm/notification/tests/{notification-jquery.js → notification.js} +3 -3
  58. package/dist/esm/timeline/horizontal-timeline-event.spec.js +5028 -0
  59. package/dist/esm/timeline/templates/timeline-horizontal.js +5147 -0
  60. package/dist/esm/timeline/templates/timeline-normal-alternating.js +5040 -0
  61. package/dist/esm/timeline/templates/timeline-normal-collapsible.js +5038 -0
  62. package/dist/esm/timeline/templates/timeline-normal.js +5037 -0
  63. package/dist/esm/timeline/tests/timeline-horizontal.js +654 -265
  64. package/dist/esm/timeline/tests/timeline-vertical-alternating.js +551 -291
  65. package/dist/esm/timeline/tests/timeline-vertical.js +564 -288
  66. package/dist/esm/{notification/tests/notification-custom-angular.js → timeline/timeline-card-callout.js} +337 -148
  67. package/dist/esm/{notification/tests/notification-angular-colors.js → timeline/timeline-card-title.js} +142 -73
  68. package/dist/esm/timeline/timeline-card.spec.js +5027 -0
  69. package/dist/esm/timeline/timeline-circle.spec.js +31 -0
  70. package/dist/esm/timeline/timeline-date-wrap.spec.js +42 -0
  71. package/dist/esm/timeline/timeline-event-list.spec.js +32 -0
  72. package/dist/esm/timeline/timeline-flag-wrap.spec.js +66 -0
  73. package/dist/esm/timeline/timeline-flag.spec.js +33 -0
  74. package/dist/esm/timeline/timeline-track-item.spec.js +36 -0
  75. package/dist/esm/timeline/timeline-track-wrap.spec.js +5066 -0
  76. package/dist/esm/timeline/timeline-track.spec.js +32 -0
  77. package/dist/esm/timeline/timeline.spec.js +49 -0
  78. package/dist/esm/timeline/vertical-timeline-event.spec.js +5028 -0
  79. package/dist/types/index.d.ts +1 -0
  80. package/dist/types/timeline/horizontal-timeline-event.spec.d.ts +19 -0
  81. package/dist/types/timeline/index.d.ts +18 -0
  82. package/dist/types/timeline/templates/timeline-horizontal.d.ts +1 -0
  83. package/dist/types/timeline/templates/timeline-normal-alternating.d.ts +1 -0
  84. package/dist/types/timeline/templates/timeline-normal-collapsible.d.ts +1 -0
  85. package/dist/types/timeline/templates/timeline-normal.d.ts +1 -0
  86. package/dist/types/timeline/timeline-card-callout.d.ts +9 -0
  87. package/dist/types/timeline/timeline-card-title.d.ts +11 -0
  88. package/dist/types/timeline/timeline-card.spec.d.ts +7 -0
  89. package/dist/types/timeline/timeline-circle.spec.d.ts +3 -0
  90. package/dist/types/timeline/timeline-date-wrap.spec.d.ts +14 -0
  91. package/dist/types/timeline/timeline-event-list.spec.d.ts +3 -0
  92. package/dist/types/timeline/timeline-flag-wrap.spec.d.ts +14 -0
  93. package/dist/types/timeline/timeline-flag.spec.d.ts +6 -0
  94. package/dist/types/timeline/timeline-track-item.spec.d.ts +8 -0
  95. package/dist/types/timeline/timeline-track-wrap.spec.d.ts +3 -0
  96. package/dist/types/timeline/timeline-track.spec.d.ts +3 -0
  97. package/dist/types/timeline/timeline.spec.d.ts +18 -0
  98. package/dist/types/timeline/vertical-timeline-event.spec.d.ts +25 -0
  99. package/package.json +2 -2
  100. package/src/card/card-title.tsx +1 -1
  101. package/src/gantt/tests/gantt.tsx +1 -1
  102. package/src/index.ts +1 -1
  103. package/src/multiselecttree/multiselecttree.spec.tsx +9 -8
  104. package/src/notification/tests/{notification-jquery-colors.tsx → notification-colors.tsx} +1 -1
  105. package/src/notification/tests/notification-group.tsx +49 -0
  106. package/src/notification/tests/{notification-jquery.tsx → notification.tsx} +1 -1
  107. package/src/timeline/horizontal-timeline-event.spec.tsx +66 -0
  108. package/src/timeline/index.ts +18 -0
  109. package/src/timeline/templates/timeline-horizontal.tsx +35 -0
  110. package/src/timeline/templates/timeline-normal-alternating.tsx +18 -0
  111. package/src/timeline/templates/timeline-normal-collapsible.tsx +16 -0
  112. package/src/timeline/templates/timeline-normal.tsx +15 -0
  113. package/src/timeline/tests/timeline-horizontal.tsx +3 -62
  114. package/src/timeline/tests/timeline-vertical-alternating.tsx +4 -82
  115. package/src/timeline/tests/timeline-vertical.tsx +9 -80
  116. package/src/timeline/timeline-card-callout.tsx +35 -0
  117. package/src/timeline/timeline-card-title.tsx +42 -0
  118. package/src/timeline/timeline-card.spec.tsx +37 -0
  119. package/src/timeline/timeline-circle.spec.tsx +24 -0
  120. package/src/timeline/timeline-date-wrap.spec.tsx +44 -0
  121. package/src/timeline/timeline-event-list.spec.tsx +27 -0
  122. package/src/timeline/timeline-flag-wrap.spec.tsx +47 -0
  123. package/src/timeline/timeline-flag.spec.tsx +31 -0
  124. package/src/timeline/timeline-track-item.spec.tsx +33 -0
  125. package/src/timeline/timeline-track-wrap.spec.tsx +31 -0
  126. package/src/timeline/timeline-track.spec.tsx +27 -0
  127. package/src/timeline/timeline.spec.tsx +53 -0
  128. package/src/timeline/vertical-timeline-event.spec.tsx +79 -0
  129. package/dist/types/notification/tests/notification-jquery-colors.d.ts +0 -2
  130. package/dist/types/notification/tests/notification-jquery.d.ts +0 -2
  131. package/src/notification/tests/notification-angular-colors.tsx +0 -28
  132. package/src/notification/tests/notification-angular.tsx +0 -65
  133. package/src/notification/tests/notification-custom-angular.tsx +0 -77
  134. /package/dist/types/notification/tests/{notification-angular-colors.d.ts → notification-colors.d.ts} +0 -0
  135. /package/dist/types/notification/tests/{notification-angular.d.ts → notification-group.d.ts} +0 -0
  136. /package/dist/types/notification/tests/{notification-custom-angular.d.ts → notification.d.ts} +0 -0
@@ -123,19 +123,19 @@ var kendoThemeMaps = {
123
123
  }
124
124
  };
125
125
 
126
- // src/action-buttons/action-buttons.spec.tsx
127
- import { jsx } from "react/jsx-runtime";
128
- var ACTIONBUTTONS_CLASSNAME = `k-actions`;
126
+ // src/timeline/timeline.spec.tsx
127
+ import { Fragment, jsx } from "react/jsx-runtime";
128
+ var TIMELINE_CLASSNAME = `k-timeline`;
129
129
  var states = [];
130
130
  var options = {};
131
131
  var defaultProps = {
132
- alignment: "start",
133
- orientation: "horizontal"
132
+ orientation: "vertical"
134
133
  };
135
- var ActionButtons = (props) => {
134
+ var Timeline = (props) => {
136
135
  const {
137
- alignment = defaultProps.alignment,
138
- orientation = defaultProps.orientation,
136
+ orientation,
137
+ collapsibleEvents,
138
+ alternatingMode,
139
139
  ...other
140
140
  } = props;
141
141
  return /* @__PURE__ */ jsx(
@@ -143,27 +143,167 @@ var ActionButtons = (props) => {
143
143
  {
144
144
  ...other,
145
145
  className: classNames(
146
- ACTIONBUTTONS_CLASSNAME,
146
+ props.className,
147
+ TIMELINE_CLASSNAME,
147
148
  {
148
- [`${ACTIONBUTTONS_CLASSNAME}-${alignment}`]: alignment,
149
- [`${ACTIONBUTTONS_CLASSNAME}-${orientation}`]: orientation
150
- },
151
- props.className
149
+ [`${TIMELINE_CLASSNAME}-${orientation}`]: orientation,
150
+ [`${TIMELINE_CLASSNAME}-alternating`]: alternatingMode,
151
+ [`${TIMELINE_CLASSNAME}-collapsible`]: collapsibleEvents
152
+ }
153
+ ),
154
+ children: /* @__PURE__ */ jsx(Fragment, { children: props.children })
155
+ }
156
+ );
157
+ };
158
+ Timeline.states = states;
159
+ Timeline.options = options;
160
+ Timeline.className = TIMELINE_CLASSNAME;
161
+ Timeline.defaultProps = defaultProps;
162
+
163
+ // src/card/card-callout.tsx
164
+ import { jsx as jsx2 } from "react/jsx-runtime";
165
+ var CARDCALLOUT_CLASSNAME = `k-card-callout`;
166
+ var CardCallout = (props) => {
167
+ const {
168
+ callout,
169
+ ...other
170
+ } = props;
171
+ return /* @__PURE__ */ jsx2(
172
+ "span",
173
+ {
174
+ ...other,
175
+ className: classNames(
176
+ props.className,
177
+ CARDCALLOUT_CLASSNAME,
178
+ {
179
+ [`k-callout-${kendoThemeMaps.calloutMap[callout] || callout}`]: callout
180
+ }
181
+ )
182
+ }
183
+ );
184
+ };
185
+
186
+ // src/card/card.spec.tsx
187
+ import { Fragment as Fragment2, jsx as jsx3, jsxs } from "react/jsx-runtime";
188
+ var CARD_CLASSNAME = `k-card`;
189
+ var states2 = [
190
+ States.hover,
191
+ States.focus,
192
+ States.selected,
193
+ States.disabled
194
+ ];
195
+ var options2 = {
196
+ themeColor: [
197
+ ThemeColor.primary,
198
+ ThemeColor.success,
199
+ ThemeColor.warning,
200
+ ThemeColor.error,
201
+ ThemeColor.info
202
+ ]
203
+ };
204
+ var defaultProps2 = {};
205
+ var Card = (props) => {
206
+ const {
207
+ orientation,
208
+ themeColor,
209
+ callout,
210
+ hover,
211
+ focus,
212
+ selected,
213
+ disabled,
214
+ ...other
215
+ } = props;
216
+ return /* @__PURE__ */ jsxs(
217
+ "div",
218
+ {
219
+ ...other,
220
+ className: classNames(
221
+ props.className,
222
+ CARD_CLASSNAME,
223
+ optionClassNames(CARD_CLASSNAME, {
224
+ themeColor
225
+ }),
226
+ stateClassNames(CARD_CLASSNAME, {
227
+ hover,
228
+ focus,
229
+ disabled,
230
+ selected
231
+ }),
232
+ {
233
+ [`k-card-${orientation}`]: orientation,
234
+ "k-card-with-callout": callout
235
+ }
236
+ ),
237
+ children: [
238
+ callout && callout !== "true" && /* @__PURE__ */ jsx3(CardCallout, { callout }),
239
+ /* @__PURE__ */ jsx3(Fragment2, { children: props.children })
240
+ ]
241
+ }
242
+ );
243
+ };
244
+ Card.states = states2;
245
+ Card.options = options2;
246
+ Card.className = CARD_CLASSNAME;
247
+ Card.defaultProps = defaultProps2;
248
+
249
+ // src/card/card-title.tsx
250
+ import { jsx as jsx4 } from "react/jsx-runtime";
251
+ var CARDTITLE_CLASSNAME = `k-card-title`;
252
+ var states3 = [
253
+ States.hover,
254
+ States.focus
255
+ ];
256
+ var CardTitle = (props) => {
257
+ const {
258
+ hover,
259
+ focus,
260
+ ...other
261
+ } = props;
262
+ return /* @__PURE__ */ jsx4(
263
+ "div",
264
+ {
265
+ ...other,
266
+ className: classNames(
267
+ props.className,
268
+ CARDTITLE_CLASSNAME,
269
+ stateClassNames(CARDTITLE_CLASSNAME, {
270
+ hover,
271
+ focus
272
+ })
152
273
  ),
153
274
  children: props.children
154
275
  }
155
276
  );
156
277
  };
157
- ActionButtons.states = states;
158
- ActionButtons.options = options;
159
- ActionButtons.className = ACTIONBUTTONS_CLASSNAME;
160
- ActionButtons.defaultProps = defaultProps;
278
+
279
+ // src/card/card-subtitle.tsx
280
+ import { jsx as jsx5 } from "react/jsx-runtime";
281
+ var CARDSUBTITLE_CLASSNAME = `k-card-subtitle`;
282
+ var CardSubtitle = (props) => {
283
+ const {
284
+ ...other
285
+ } = props;
286
+ return /* @__PURE__ */ jsx5(
287
+ "div",
288
+ {
289
+ ...other,
290
+ className: classNames(
291
+ props.className,
292
+ CARDSUBTITLE_CLASSNAME
293
+ ),
294
+ children: props.children
295
+ }
296
+ );
297
+ };
298
+
299
+ // src/card/card-media.tsx
300
+ import { Fragment as Fragment3, jsx as jsx6 } from "react/jsx-runtime";
161
301
 
162
302
  // src/icon/font-icon.spec.tsx
163
- import { Fragment, jsx as jsx2 } from "react/jsx-runtime";
303
+ import { Fragment as Fragment4, jsx as jsx7 } from "react/jsx-runtime";
164
304
  var FONTICON_CLASSNAME = `k-icon k-font-icon`;
165
- var states2 = [];
166
- var options2 = {
305
+ var states4 = [];
306
+ var options3 = {
167
307
  size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
168
308
  themeColor: [
169
309
  ThemeColor.base,
@@ -178,7 +318,7 @@ var options2 = {
178
318
  ThemeColor.dark
179
319
  ]
180
320
  };
181
- var defaultProps2 = {};
321
+ var defaultProps3 = {};
182
322
  var FontIcon = (props) => {
183
323
  const {
184
324
  size,
@@ -189,9 +329,9 @@ var FontIcon = (props) => {
189
329
  ...other
190
330
  } = props;
191
331
  if (!icon) {
192
- return /* @__PURE__ */ jsx2(Fragment, {});
332
+ return /* @__PURE__ */ jsx7(Fragment4, {});
193
333
  }
194
- return /* @__PURE__ */ jsx2(
334
+ return /* @__PURE__ */ jsx7(
195
335
  "span",
196
336
  {
197
337
  ...other,
@@ -212,17 +352,17 @@ var FontIcon = (props) => {
212
352
  }
213
353
  );
214
354
  };
215
- FontIcon.states = states2;
216
- FontIcon.options = options2;
355
+ FontIcon.states = states4;
356
+ FontIcon.options = options3;
217
357
  FontIcon.className = FONTICON_CLASSNAME;
218
- FontIcon.defaultProps = defaultProps2;
358
+ FontIcon.defaultProps = defaultProps3;
219
359
  var font_icon_spec_default = FontIcon;
220
360
 
221
361
  // src/icon/svg-icon.spec.tsx
222
- import { Fragment as Fragment2, jsx as jsx3 } from "react/jsx-runtime";
362
+ import { Fragment as Fragment5, jsx as jsx8 } from "react/jsx-runtime";
223
363
  var SVGICON_CLASSNAME = `k-icon k-svg-icon`;
224
- var states3 = [];
225
- var options3 = {
364
+ var states5 = [];
365
+ var options4 = {
226
366
  size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
227
367
  themeColor: [
228
368
  ThemeColor.base,
@@ -237,7 +377,7 @@ var options3 = {
237
377
  ThemeColor.dark
238
378
  ]
239
379
  };
240
- var defaultProps3 = {
380
+ var defaultProps4 = {
241
381
  viewBox: "0 0 24 24"
242
382
  };
243
383
  var SvgIcon = (props) => {
@@ -246,15 +386,15 @@ var SvgIcon = (props) => {
246
386
  themeColor,
247
387
  rotate,
248
388
  flip,
249
- viewBox = defaultProps3.viewBox,
389
+ viewBox = defaultProps4.viewBox,
250
390
  icon,
251
391
  ...other
252
392
  } = props;
253
393
  if (!icon) {
254
- return /* @__PURE__ */ jsx3(Fragment2, {});
394
+ return /* @__PURE__ */ jsx8(Fragment5, {});
255
395
  }
256
396
  if (icon === "none") {
257
- /* @__PURE__ */ jsx3(
397
+ /* @__PURE__ */ jsx8(
258
398
  "span",
259
399
  {
260
400
  ...other,
@@ -267,7 +407,7 @@ var SvgIcon = (props) => {
267
407
  );
268
408
  }
269
409
  const name = typeof icon === "object" && icon.name && icon.name;
270
- return /* @__PURE__ */ jsx3(
410
+ return /* @__PURE__ */ jsx8(
271
411
  "span",
272
412
  {
273
413
  ...other,
@@ -285,7 +425,7 @@ var SvgIcon = (props) => {
285
425
  "k-flip-v": flip === "v" || flip === "both"
286
426
  }
287
427
  ),
288
- children: /* @__PURE__ */ jsx3(
428
+ children: /* @__PURE__ */ jsx8(
289
429
  "svg",
290
430
  {
291
431
  "aria-hidden": true,
@@ -299,10 +439,10 @@ var SvgIcon = (props) => {
299
439
  }
300
440
  );
301
441
  };
302
- SvgIcon.states = states3;
303
- SvgIcon.options = options3;
442
+ SvgIcon.states = states5;
443
+ SvgIcon.options = options4;
304
444
  SvgIcon.className = SVGICON_CLASSNAME;
305
- SvgIcon.defaultProps = defaultProps3;
445
+ SvgIcon.defaultProps = defaultProps4;
306
446
  var svg_icon_spec_default = SvgIcon;
307
447
 
308
448
  // ../../node_modules/@progress/kendo-svg-icons/dist/index.es.js
@@ -4301,13 +4441,13 @@ var chartChoroplethIcon = {
4301
4441
  };
4302
4442
 
4303
4443
  // src/icon/icon.spec.tsx
4304
- import { Fragment as Fragment3, jsx as jsx4 } from "react/jsx-runtime";
4444
+ import { Fragment as Fragment6, jsx as jsx9 } from "react/jsx-runtime";
4305
4445
  var snakeToCamel = (str) => str.toLowerCase().replace(
4306
4446
  /([-_][a-z])/g,
4307
4447
  (group) => group.toUpperCase().replace("-", "").replace("_", "")
4308
4448
  );
4309
- var states4 = [];
4310
- var options4 = {
4449
+ var states6 = [];
4450
+ var options5 = {
4311
4451
  size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
4312
4452
  themeColor: [
4313
4453
  ThemeColor.base,
@@ -4322,7 +4462,7 @@ var options4 = {
4322
4462
  ThemeColor.dark
4323
4463
  ]
4324
4464
  };
4325
- var defaultProps4 = {
4465
+ var defaultProps5 = {
4326
4466
  viewBox: "0 0 24 24",
4327
4467
  type: "svg"
4328
4468
  };
@@ -4331,42 +4471,42 @@ var Icon = (props) => {
4331
4471
  size,
4332
4472
  themeColor,
4333
4473
  icon,
4334
- type = defaultProps4.type,
4474
+ type = defaultProps5.type,
4335
4475
  rotate,
4336
4476
  flip,
4337
- viewBox = defaultProps4.viewBox,
4477
+ viewBox = defaultProps5.viewBox,
4338
4478
  ...other
4339
4479
  } = props;
4340
4480
  if (!icon) {
4341
- return /* @__PURE__ */ jsx4(Fragment3, {});
4481
+ return /* @__PURE__ */ jsx9(Fragment6, {});
4342
4482
  }
4343
4483
  if (type === "svg") {
4344
4484
  if (icon === "none") {
4345
- return /* @__PURE__ */ jsx4(svg_icon_spec_default, { ...other, icon, size });
4485
+ return /* @__PURE__ */ jsx9(svg_icon_spec_default, { ...other, icon, size });
4346
4486
  }
4347
4487
  const iconSVG = snakeToCamel(`${icon}-icon`);
4348
4488
  if (!index_es_exports[iconSVG]) {
4349
- return /* @__PURE__ */ jsx4(Fragment3, {});
4489
+ return /* @__PURE__ */ jsx9(Fragment6, {});
4350
4490
  }
4351
- return /* @__PURE__ */ jsx4(svg_icon_spec_default, { ...other, icon: index_es_exports[iconSVG], size, themeColor, rotate, flip, viewBox });
4491
+ return /* @__PURE__ */ jsx9(svg_icon_spec_default, { ...other, icon: index_es_exports[iconSVG], size, themeColor, rotate, flip, viewBox });
4352
4492
  }
4353
- return /* @__PURE__ */ jsx4(font_icon_spec_default, { ...other, icon, size, themeColor, rotate, flip });
4493
+ return /* @__PURE__ */ jsx9(font_icon_spec_default, { ...other, icon, size, themeColor, rotate, flip });
4354
4494
  };
4355
- Icon.states = states4;
4356
- Icon.options = options4;
4357
- Icon.defaultProps = defaultProps4;
4495
+ Icon.states = states6;
4496
+ Icon.options = options5;
4497
+ Icon.defaultProps = defaultProps5;
4358
4498
 
4359
4499
  // src/button/button.spec.tsx
4360
- import { Fragment as Fragment4, jsx as jsx5, jsxs } from "react/jsx-runtime";
4500
+ import { Fragment as Fragment7, jsx as jsx10, jsxs as jsxs2 } from "react/jsx-runtime";
4361
4501
  var BUTTON_CLASSNAME = `k-button`;
4362
- var states5 = [
4502
+ var states7 = [
4363
4503
  States.hover,
4364
4504
  States.focus,
4365
4505
  States.active,
4366
4506
  States.selected,
4367
4507
  States.disabled
4368
4508
  ];
4369
- var options5 = {
4509
+ var options6 = {
4370
4510
  size: [Size.small, Size.medium, Size.large],
4371
4511
  rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
4372
4512
  fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
@@ -4384,7 +4524,7 @@ var options5 = {
4384
4524
  ThemeColor.inverse
4385
4525
  ]
4386
4526
  };
4387
- var defaultProps5 = {
4527
+ var defaultProps6 = {
4388
4528
  size: Size.medium,
4389
4529
  rounded: Roundness.medium,
4390
4530
  fillMode: FillMode.solid,
@@ -4394,10 +4534,10 @@ var defaultProps5 = {
4394
4534
  };
4395
4535
  var Button = (props) => {
4396
4536
  const {
4397
- size = defaultProps5.size,
4398
- rounded = defaultProps5.rounded,
4399
- fillMode = defaultProps5.fillMode,
4400
- themeColor = defaultProps5.themeColor,
4537
+ size = defaultProps6.size,
4538
+ rounded = defaultProps6.rounded,
4539
+ fillMode = defaultProps6.fillMode,
4540
+ themeColor = defaultProps6.themeColor,
4401
4541
  hover,
4402
4542
  focus,
4403
4543
  active,
@@ -4406,13 +4546,13 @@ var Button = (props) => {
4406
4546
  icon,
4407
4547
  text,
4408
4548
  iconClassName,
4409
- showArrow = defaultProps5.showArrow,
4410
- arrowIconName = defaultProps5.arrowIconName,
4549
+ showArrow = defaultProps6.showArrow,
4550
+ arrowIconName = defaultProps6.arrowIconName,
4411
4551
  ...other
4412
4552
  } = props;
4413
4553
  const hasIcon = icon !== void 0;
4414
4554
  const hasChildren = props.children !== void 0;
4415
- return /* @__PURE__ */ jsxs(
4555
+ return /* @__PURE__ */ jsxs2(
4416
4556
  "button",
4417
4557
  {
4418
4558
  ...other,
@@ -4437,354 +4577,474 @@ var Button = (props) => {
4437
4577
  }
4438
4578
  ),
4439
4579
  children: [
4440
- icon && /* @__PURE__ */ jsx5(
4580
+ icon && /* @__PURE__ */ jsx10(
4441
4581
  Icon,
4442
4582
  {
4443
4583
  className: classNames(iconClassName, "k-button-icon"),
4444
4584
  icon
4445
4585
  }
4446
4586
  ),
4447
- text ? /* @__PURE__ */ jsxs(Fragment4, { children: [
4448
- text && /* @__PURE__ */ jsx5("span", { className: "k-button-text", children: text }),
4587
+ text ? /* @__PURE__ */ jsxs2(Fragment7, { children: [
4588
+ text && /* @__PURE__ */ jsx10("span", { className: "k-button-text", children: text }),
4449
4589
  props.children
4450
- ] }) : props.children && /* @__PURE__ */ jsx5("span", { className: "k-button-text", children: props.children }),
4451
- showArrow && /* @__PURE__ */ jsx5("span", { className: "k-menu-button-arrow k-button-arrow", children: /* @__PURE__ */ jsx5(Icon, { icon: arrowIconName }) })
4590
+ ] }) : props.children && /* @__PURE__ */ jsx10("span", { className: "k-button-text", children: props.children }),
4591
+ showArrow && /* @__PURE__ */ jsx10("span", { className: "k-menu-button-arrow k-button-arrow", children: /* @__PURE__ */ jsx10(Icon, { icon: arrowIconName }) })
4452
4592
  ]
4453
4593
  }
4454
4594
  );
4455
4595
  };
4456
- Button.states = states5;
4457
- Button.options = options5;
4596
+ Button.states = states7;
4597
+ Button.options = options6;
4458
4598
  Button.className = BUTTON_CLASSNAME;
4459
- Button.defaultProps = defaultProps5;
4599
+ Button.defaultProps = defaultProps6;
4460
4600
 
4461
4601
  // src/button/templates/icon-button.tsx
4462
- import { jsx as jsx6 } from "react/jsx-runtime";
4602
+ import { jsx as jsx11 } from "react/jsx-runtime";
4603
+ var IconButton = (props) => /* @__PURE__ */ jsx11(Button, { icon: "folder", ...props, children: void 0 });
4463
4604
 
4464
4605
  // src/button/templates/icon-text-button.tsx
4465
- import { jsx as jsx7 } from "react/jsx-runtime";
4606
+ import { jsx as jsx12 } from "react/jsx-runtime";
4466
4607
 
4467
4608
  // src/button/templates/text-button.tsx
4468
- import { jsx as jsx8 } from "react/jsx-runtime";
4609
+ import { jsx as jsx13 } from "react/jsx-runtime";
4469
4610
 
4470
- // src/card/card-callout.tsx
4471
- import { jsx as jsx9 } from "react/jsx-runtime";
4472
- var CARDCALLOUT_CLASSNAME = `k-card-callout`;
4473
- var CardCallout = (props) => {
4611
+ // src/card/card-header.tsx
4612
+ import { Fragment as Fragment8, jsx as jsx14, jsxs as jsxs3 } from "react/jsx-runtime";
4613
+ var CARDHEADER_CLASSNAME = `k-card-header`;
4614
+ var CardHeader = (props) => {
4474
4615
  const {
4475
- callout,
4616
+ title,
4617
+ subtitle,
4618
+ details,
4476
4619
  ...other
4477
4620
  } = props;
4478
- return /* @__PURE__ */ jsx9(
4479
- "span",
4621
+ return /* @__PURE__ */ jsxs3(
4622
+ "div",
4480
4623
  {
4481
4624
  ...other,
4482
4625
  className: classNames(
4483
4626
  props.className,
4484
- CARDCALLOUT_CLASSNAME,
4485
- {
4486
- [`k-callout-${kendoThemeMaps.calloutMap[callout] || callout}`]: callout
4487
- }
4488
- )
4627
+ CARDHEADER_CLASSNAME
4628
+ ),
4629
+ children: [
4630
+ title && /* @__PURE__ */ jsx14(CardTitle, { children: title }),
4631
+ subtitle && /* @__PURE__ */ jsx14(CardSubtitle, { children: subtitle }),
4632
+ /* @__PURE__ */ jsx14(Fragment8, { children: props.children }),
4633
+ details && /* @__PURE__ */ jsx14("span", { className: "k-card-header-actions", children: /* @__PURE__ */ jsx14(
4634
+ Button,
4635
+ {
4636
+ className: "k-card-details",
4637
+ icon: "more-vertical",
4638
+ rounded: "medium",
4639
+ size: "medium",
4640
+ fillMode: "flat",
4641
+ themeColor: "base"
4642
+ }
4643
+ ) })
4644
+ ]
4489
4645
  }
4490
4646
  );
4491
4647
  };
4492
4648
 
4493
- // src/card/card.spec.tsx
4494
- import { Fragment as Fragment5, jsx as jsx10, jsxs as jsxs2 } from "react/jsx-runtime";
4495
- var CARD_CLASSNAME = `k-card`;
4496
- var states6 = [
4497
- States.hover,
4498
- States.focus,
4499
- States.selected,
4500
- States.disabled
4501
- ];
4502
- var options6 = {
4503
- themeColor: [
4504
- ThemeColor.primary,
4505
- ThemeColor.success,
4506
- ThemeColor.warning,
4507
- ThemeColor.error,
4508
- ThemeColor.info
4509
- ]
4510
- };
4511
- var defaultProps6 = {};
4512
- var Card = (props) => {
4649
+ // src/card/card-footer.tsx
4650
+ import { jsx as jsx15 } from "react/jsx-runtime";
4651
+
4652
+ // src/card/card-body.tsx
4653
+ import { Fragment as Fragment9, jsx as jsx16, jsxs as jsxs4 } from "react/jsx-runtime";
4654
+ var CARDBODY_CLASSNAME = `k-card-body`;
4655
+ var CardBody = (props) => {
4513
4656
  const {
4514
- orientation,
4515
- themeColor,
4516
- callout,
4517
- hover,
4518
- focus,
4519
- selected,
4520
- disabled,
4657
+ title,
4658
+ subtitle,
4659
+ details,
4521
4660
  ...other
4522
4661
  } = props;
4523
- return /* @__PURE__ */ jsxs2(
4662
+ return /* @__PURE__ */ jsxs4(
4524
4663
  "div",
4525
4664
  {
4526
4665
  ...other,
4527
4666
  className: classNames(
4528
4667
  props.className,
4529
- CARD_CLASSNAME,
4530
- optionClassNames(CARD_CLASSNAME, {
4531
- themeColor
4532
- }),
4533
- stateClassNames(CARD_CLASSNAME, {
4534
- hover,
4535
- focus,
4536
- disabled,
4537
- selected
4538
- }),
4539
- {
4540
- [`k-card-${orientation}`]: orientation,
4541
- "k-card-with-callout": callout
4542
- }
4668
+ CARDBODY_CLASSNAME
4543
4669
  ),
4544
4670
  children: [
4545
- callout && callout !== "true" && /* @__PURE__ */ jsx10(CardCallout, { callout }),
4546
- /* @__PURE__ */ jsx10(Fragment5, { children: props.children })
4671
+ title && /* @__PURE__ */ jsx16(CardTitle, { children: title }),
4672
+ subtitle && /* @__PURE__ */ jsx16(CardSubtitle, { children: subtitle }),
4673
+ /* @__PURE__ */ jsx16(Fragment9, { children: props.children }),
4674
+ details && /* @__PURE__ */ jsx16("span", { className: "k-card-header-actions", children: /* @__PURE__ */ jsx16(
4675
+ Button,
4676
+ {
4677
+ className: "k-card-details",
4678
+ icon: "more-vertical",
4679
+ rounded: "medium",
4680
+ size: "medium",
4681
+ fillMode: "flat",
4682
+ themeColor: "base"
4683
+ }
4684
+ ) })
4547
4685
  ]
4548
4686
  }
4549
4687
  );
4550
4688
  };
4551
- Card.states = states6;
4552
- Card.options = options6;
4553
- Card.className = CARD_CLASSNAME;
4554
- Card.defaultProps = defaultProps6;
4555
4689
 
4556
- // src/card/card-title.tsx
4557
- import { jsx as jsx11 } from "react/jsx-runtime";
4558
- var CARDTITLE_CLASSNAME = `k-card-title`;
4559
- var states7 = [
4560
- States.hover,
4561
- States.focus
4562
- ];
4563
- var CardTitle = (props) => {
4690
+ // src/card/card-deck.tsx
4691
+ import { jsx as jsx17 } from "react/jsx-runtime";
4692
+
4693
+ // src/action-buttons/action-buttons.spec.tsx
4694
+ import { jsx as jsx18 } from "react/jsx-runtime";
4695
+ var ACTIONBUTTONS_CLASSNAME = `k-actions`;
4696
+ var states8 = [];
4697
+ var options7 = {};
4698
+ var defaultProps7 = {
4699
+ alignment: "start",
4700
+ orientation: "horizontal"
4701
+ };
4702
+ var ActionButtons = (props) => {
4564
4703
  const {
4565
- hover,
4566
- focus,
4704
+ alignment = defaultProps7.alignment,
4705
+ orientation = defaultProps7.orientation,
4567
4706
  ...other
4568
4707
  } = props;
4569
- return /* @__PURE__ */ jsx11(
4708
+ return /* @__PURE__ */ jsx18(
4570
4709
  "div",
4571
4710
  {
4572
4711
  ...other,
4573
4712
  className: classNames(
4574
- props.className,
4575
- CARDTITLE_CLASSNAME,
4576
- stateClassNames(CARDTITLE_CLASSNAME, {
4577
- hover,
4578
- focus
4579
- })
4713
+ ACTIONBUTTONS_CLASSNAME,
4714
+ {
4715
+ [`${ACTIONBUTTONS_CLASSNAME}-${alignment}`]: alignment,
4716
+ [`${ACTIONBUTTONS_CLASSNAME}-${orientation}`]: orientation
4717
+ },
4718
+ props.className
4580
4719
  ),
4581
4720
  children: props.children
4582
4721
  }
4583
4722
  );
4584
4723
  };
4724
+ ActionButtons.states = states8;
4725
+ ActionButtons.options = options7;
4726
+ ActionButtons.className = ACTIONBUTTONS_CLASSNAME;
4727
+ ActionButtons.defaultProps = defaultProps7;
4585
4728
 
4586
- // src/card/card-subtitle.tsx
4587
- import { jsx as jsx12 } from "react/jsx-runtime";
4588
- var CARDSUBTITLE_CLASSNAME = `k-card-subtitle`;
4589
- var CardSubtitle = (props) => {
4729
+ // src/card/templates/card-normal.tsx
4730
+ import { Fragment as Fragment10, jsx as jsx19, jsxs as jsxs5 } from "react/jsx-runtime";
4731
+
4732
+ // src/card/templates/card-horizontal.tsx
4733
+ import { Fragment as Fragment11, jsx as jsx20, jsxs as jsxs6 } from "react/jsx-runtime";
4734
+
4735
+ // src/timeline/vertical-timeline-event.spec.tsx
4736
+ import { jsx as jsx21, jsxs as jsxs7 } from "react/jsx-runtime";
4737
+ var TIMELINEVERTICALEVENT_CLASSNAME = `k-timeline-event`;
4738
+ var states9 = [];
4739
+ var options8 = {};
4740
+ var defaultProps8 = {
4741
+ collapsed: false,
4742
+ reverse: false,
4743
+ title: "Event title",
4744
+ subtitle: "Event subtitle",
4745
+ content: "Event content"
4746
+ };
4747
+ var VerticalTimelineEvent = (props) => {
4590
4748
  const {
4749
+ date,
4750
+ content = defaultProps8.content,
4751
+ collapsed = defaultProps8.collapsed,
4752
+ reverse = defaultProps8.reverse,
4753
+ title = defaultProps8.title,
4754
+ subtitle = defaultProps8.subtitle,
4755
+ showCollapseButton,
4591
4756
  ...other
4592
4757
  } = props;
4593
- return /* @__PURE__ */ jsx12(
4594
- "div",
4758
+ return /* @__PURE__ */ jsxs7(
4759
+ "li",
4595
4760
  {
4596
4761
  ...other,
4597
4762
  className: classNames(
4598
4763
  props.className,
4599
- CARDSUBTITLE_CLASSNAME
4764
+ TIMELINEVERTICALEVENT_CLASSNAME,
4765
+ { "k-reverse": reverse }
4600
4766
  ),
4601
- children: props.children
4767
+ children: [
4768
+ date && /* @__PURE__ */ jsx21("div", { className: "k-timeline-date-wrap", children: /* @__PURE__ */ jsx21("span", { className: "k-timeline-date", children: date }) }),
4769
+ /* @__PURE__ */ jsx21(TimelineCircle, {}),
4770
+ content && /* @__PURE__ */ jsx21("div", { className: classNames("k-timeline-card", { "k-collapsed": collapsed }), children: /* @__PURE__ */ jsx21(TimelineCard, { ...reverse ? { callout: "right" } : { callout: "left" }, children: /* @__PURE__ */ jsxs7("div", { className: "k-card-inner", children: [
4771
+ /* @__PURE__ */ jsxs7(CardHeader, { children: [
4772
+ /* @__PURE__ */ jsx21(TimelineCardTitle, { collapsible: showCollapseButton, children: title }),
4773
+ /* @__PURE__ */ jsx21(CardSubtitle, { children: subtitle })
4774
+ ] }),
4775
+ /* @__PURE__ */ jsx21(CardBody, { children: /* @__PURE__ */ jsx21("div", { className: "k-card-description", children: content }) })
4776
+ ] }) }) }),
4777
+ props.children
4778
+ ]
4602
4779
  }
4603
4780
  );
4604
4781
  };
4782
+ VerticalTimelineEvent.states = states9;
4783
+ VerticalTimelineEvent.options = options8;
4784
+ VerticalTimelineEvent.className = TIMELINEVERTICALEVENT_CLASSNAME;
4785
+ VerticalTimelineEvent.defaultProps = defaultProps8;
4605
4786
 
4606
- // src/card/card-media.tsx
4607
- import { Fragment as Fragment6, jsx as jsx13 } from "react/jsx-runtime";
4608
- var CARDMEDIA_CLASSNAME = `k-card-media`;
4609
- var CardMedia = (props) => {
4787
+ // src/timeline/horizontal-timeline-event.spec.tsx
4788
+ import { jsx as jsx22, jsxs as jsxs8 } from "react/jsx-runtime";
4789
+ var TIMELINEHORIZONTALEVENT_CLASSNAME = `k-timeline-event`;
4790
+ var states10 = [];
4791
+ var options9 = {};
4792
+ var defaultProps9 = {
4793
+ title: "Event title",
4794
+ subtitle: "Event subtitle",
4795
+ content: "Event content"
4796
+ };
4797
+ var HorizontalTimelineEvent = (props) => {
4610
4798
  const {
4611
- src,
4799
+ content = defaultProps9.content,
4800
+ title = defaultProps9.title,
4801
+ subtitle = defaultProps9.subtitle,
4612
4802
  ...other
4613
4803
  } = props;
4614
- return /* @__PURE__ */ jsx13(Fragment6, { children: src ? /* @__PURE__ */ jsx13(
4615
- "img",
4804
+ return /* @__PURE__ */ jsxs8(
4805
+ "li",
4616
4806
  {
4617
4807
  ...other,
4618
4808
  className: classNames(
4619
4809
  props.className,
4620
- CARDMEDIA_CLASSNAME
4810
+ TIMELINEHORIZONTALEVENT_CLASSNAME
4621
4811
  ),
4622
- src
4812
+ children: [
4813
+ content && /* @__PURE__ */ jsx22("div", { className: classNames("k-timeline-card"), children: /* @__PURE__ */ jsx22(TimelineCard, { orientation: "vertical", callout: "top", children: /* @__PURE__ */ jsxs8("div", { className: "k-card-inner", children: [
4814
+ /* @__PURE__ */ jsxs8(CardHeader, { children: [
4815
+ /* @__PURE__ */ jsx22(TimelineCardTitle, { children: title }),
4816
+ /* @__PURE__ */ jsx22(CardSubtitle, { children: subtitle })
4817
+ ] }),
4818
+ /* @__PURE__ */ jsx22(CardBody, { children: /* @__PURE__ */ jsx22("div", { className: "k-card-description", children: content }) })
4819
+ ] }) }) }),
4820
+ props.children
4821
+ ]
4623
4822
  }
4624
- ) : /* @__PURE__ */ jsx13(
4823
+ );
4824
+ };
4825
+ HorizontalTimelineEvent.states = states10;
4826
+ HorizontalTimelineEvent.options = options9;
4827
+ HorizontalTimelineEvent.className = TIMELINEHORIZONTALEVENT_CLASSNAME;
4828
+ HorizontalTimelineEvent.defaultProps = defaultProps9;
4829
+
4830
+ // src/timeline/timeline-event-list.spec.tsx
4831
+ import { jsx as jsx23 } from "react/jsx-runtime";
4832
+
4833
+ // src/timeline/timeline-flag-wrap.spec.tsx
4834
+ import { jsx as jsx24, jsxs as jsxs9 } from "react/jsx-runtime";
4835
+ var TIMELINEFLAGWRAP_CLASSNAME = `k-timeline-flag-wrap`;
4836
+ var states11 = [
4837
+ States.focus,
4838
+ States.selected
4839
+ ];
4840
+ var options10 = {};
4841
+ var defaultProps10 = {
4842
+ year: "2020"
4843
+ };
4844
+ var TimelineFlagWrap = (props) => {
4845
+ const {
4846
+ year,
4847
+ ...other
4848
+ } = props;
4849
+ return /* @__PURE__ */ jsxs9(
4850
+ "li",
4851
+ {
4852
+ ...other,
4853
+ className: classNames(
4854
+ props.className,
4855
+ TIMELINEFLAGWRAP_CLASSNAME
4856
+ ),
4857
+ children: [
4858
+ /* @__PURE__ */ jsx24("span", { className: "k-timeline-flag", children: year }),
4859
+ props.children
4860
+ ]
4861
+ }
4862
+ );
4863
+ };
4864
+ TimelineFlagWrap.states = states11;
4865
+ TimelineFlagWrap.options = options10;
4866
+ TimelineFlagWrap.className = TIMELINEFLAGWRAP_CLASSNAME;
4867
+ TimelineFlagWrap.defaultProps = defaultProps10;
4868
+
4869
+ // src/timeline/timeline-circle.spec.tsx
4870
+ import { jsx as jsx25 } from "react/jsx-runtime";
4871
+ var TIMELINECIRCLE_CLASSNAME = `k-timeline-circle`;
4872
+ var TimelineCircle = (props) => {
4873
+ const {
4874
+ ...other
4875
+ } = props;
4876
+ return /* @__PURE__ */ jsx25(
4625
4877
  "span",
4626
4878
  {
4627
4879
  ...other,
4628
4880
  className: classNames(
4629
4881
  props.className,
4630
- CARDMEDIA_CLASSNAME
4882
+ TIMELINECIRCLE_CLASSNAME
4883
+ )
4884
+ }
4885
+ );
4886
+ };
4887
+
4888
+ // src/timeline/timeline-flag.spec.tsx
4889
+ import { jsx as jsx26 } from "react/jsx-runtime";
4890
+
4891
+ // src/timeline/timeline-card.spec.tsx
4892
+ import { jsx as jsx27, jsxs as jsxs10 } from "react/jsx-runtime";
4893
+ var states12 = [];
4894
+ var defaultProps11 = {};
4895
+ var TimelineCard = (props) => {
4896
+ const {
4897
+ callout,
4898
+ children,
4899
+ ...other
4900
+ } = props;
4901
+ return /* @__PURE__ */ jsxs10(
4902
+ Card,
4903
+ {
4904
+ className: classNames(
4905
+ props.className
4631
4906
  ),
4632
- children: /* @__PURE__ */ jsx13(Fragment6, { children: props.children })
4907
+ orientation: "vertical",
4908
+ ...other,
4909
+ children: [
4910
+ callout && /* @__PURE__ */ jsx27(TimelineCardCallout, { callout }),
4911
+ children
4912
+ ]
4633
4913
  }
4634
- ) });
4914
+ );
4635
4915
  };
4916
+ TimelineCard.states = states12;
4917
+ TimelineCard.defaultProps = defaultProps11;
4636
4918
 
4637
- // src/card/card-header.tsx
4638
- import { Fragment as Fragment7, jsx as jsx14, jsxs as jsxs3 } from "react/jsx-runtime";
4639
- var CARDHEADER_CLASSNAME = `k-card-header`;
4640
- var CardHeader = (props) => {
4919
+ // src/timeline/timeline-card-title.tsx
4920
+ import { jsx as jsx28, jsxs as jsxs11 } from "react/jsx-runtime";
4921
+ var TIMELINECARDTITLE_CLASSNAME = `k-card-title`;
4922
+ var states13 = [];
4923
+ var defaultProps12 = {};
4924
+ var TimelineCardTitle = (props) => {
4641
4925
  const {
4642
- title,
4643
- subtitle,
4644
- details,
4926
+ collapsible,
4927
+ children,
4645
4928
  ...other
4646
4929
  } = props;
4647
- return /* @__PURE__ */ jsxs3(
4930
+ return /* @__PURE__ */ jsxs11(
4648
4931
  "div",
4649
4932
  {
4650
- ...other,
4651
4933
  className: classNames(
4652
4934
  props.className,
4653
- CARDHEADER_CLASSNAME
4935
+ TIMELINECARDTITLE_CLASSNAME
4654
4936
  ),
4937
+ ...other,
4655
4938
  children: [
4656
- title && /* @__PURE__ */ jsx14(CardTitle, { children: title }),
4657
- subtitle && /* @__PURE__ */ jsx14(CardSubtitle, { children: subtitle }),
4658
- /* @__PURE__ */ jsx14(Fragment7, { children: props.children }),
4659
- details && /* @__PURE__ */ jsx14("span", { className: "k-card-header-actions", children: /* @__PURE__ */ jsx14(
4660
- Button,
4661
- {
4662
- className: "k-card-details",
4663
- icon: "more-vertical",
4664
- rounded: "medium",
4665
- size: "medium",
4666
- fillMode: "flat",
4667
- themeColor: "base"
4668
- }
4669
- ) })
4939
+ /* @__PURE__ */ jsx28("span", { className: "k-event-title", children }),
4940
+ collapsible && /* @__PURE__ */ jsx28(IconButton, { fillMode: "flat", icon: "chevron-right", className: "k-event-collapse" })
4670
4941
  ]
4671
4942
  }
4672
4943
  );
4673
4944
  };
4945
+ TimelineCardTitle.states = states13;
4946
+ TimelineCardTitle.className = TIMELINECARDTITLE_CLASSNAME;
4947
+ TimelineCardTitle.defaultProps = defaultProps12;
4674
4948
 
4675
- // src/card/card-footer.tsx
4676
- import { jsx as jsx15 } from "react/jsx-runtime";
4949
+ // src/timeline/timeline-card-callout.tsx
4950
+ import { jsx as jsx29 } from "react/jsx-runtime";
4951
+ var TIMELINECARDCALLOUT_CLASSNAME = `k-timeline-card-callout`;
4952
+ var states14 = [];
4953
+ var defaultProps13 = {};
4954
+ var TimelineCardCallout = (props) => {
4955
+ const {
4956
+ ...other
4957
+ } = props;
4958
+ return /* @__PURE__ */ jsx29(
4959
+ CardCallout,
4960
+ {
4961
+ className: classNames(
4962
+ props.className,
4963
+ TIMELINECARDCALLOUT_CLASSNAME
4964
+ ),
4965
+ ...other
4966
+ }
4967
+ );
4968
+ };
4969
+ TimelineCardCallout.states = states14;
4970
+ TimelineCardCallout.className = TIMELINECARDCALLOUT_CLASSNAME;
4971
+ TimelineCardCallout.defaultProps = defaultProps13;
4677
4972
 
4678
- // src/card/card-body.tsx
4679
- import { Fragment as Fragment8, jsx as jsx16, jsxs as jsxs4 } from "react/jsx-runtime";
4680
- var CARDBODY_CLASSNAME = `k-card-body`;
4681
- var CardBody = (props) => {
4973
+ // src/timeline/timeline-date-wrap.spec.tsx
4974
+ import { jsx as jsx30 } from "react/jsx-runtime";
4975
+ var TIMELINEDATEWRAP_CLASSNAME = `k-timeline-date-wrap`;
4976
+ var states15 = [];
4977
+ var options11 = {};
4978
+ var defaultProps14 = {
4979
+ date: "May 25, 2008"
4980
+ };
4981
+ var TimelineDateWrap = (props) => {
4682
4982
  const {
4683
- title,
4684
- subtitle,
4685
- details,
4983
+ date = defaultProps14.date,
4686
4984
  ...other
4687
4985
  } = props;
4688
- return /* @__PURE__ */ jsxs4(
4986
+ return /* @__PURE__ */ jsx30(
4689
4987
  "div",
4690
4988
  {
4691
4989
  ...other,
4692
4990
  className: classNames(
4693
4991
  props.className,
4694
- CARDBODY_CLASSNAME
4992
+ TIMELINEDATEWRAP_CLASSNAME
4695
4993
  ),
4696
- children: [
4697
- title && /* @__PURE__ */ jsx16(CardTitle, { children: title }),
4698
- subtitle && /* @__PURE__ */ jsx16(CardSubtitle, { children: subtitle }),
4699
- /* @__PURE__ */ jsx16(Fragment8, { children: props.children }),
4700
- details && /* @__PURE__ */ jsx16("span", { className: "k-card-header-actions", children: /* @__PURE__ */ jsx16(
4701
- Button,
4702
- {
4703
- className: "k-card-details",
4704
- icon: "more-vertical",
4705
- rounded: "medium",
4706
- size: "medium",
4707
- fillMode: "flat",
4708
- themeColor: "base"
4709
- }
4710
- ) })
4711
- ]
4994
+ children: /* @__PURE__ */ jsx30("span", { className: "k-timeline-date", children: date })
4712
4995
  }
4713
4996
  );
4714
4997
  };
4998
+ TimelineDateWrap.states = states15;
4999
+ TimelineDateWrap.options = options11;
5000
+ TimelineDateWrap.className = TIMELINEDATEWRAP_CLASSNAME;
5001
+ TimelineDateWrap.defaultProps = defaultProps14;
4715
5002
 
4716
- // src/card/card-deck.tsx
4717
- import { jsx as jsx17 } from "react/jsx-runtime";
5003
+ // src/timeline/timeline-track-wrap.spec.tsx
5004
+ import { jsx as jsx31, jsxs as jsxs12 } from "react/jsx-runtime";
4718
5005
 
4719
- // src/card/templates/card-normal.tsx
4720
- import { Fragment as Fragment9, jsx as jsx18, jsxs as jsxs5 } from "react/jsx-runtime";
5006
+ // src/timeline/timeline-track.spec.tsx
5007
+ import { jsx as jsx32 } from "react/jsx-runtime";
4721
5008
 
4722
- // src/card/templates/card-horizontal.tsx
4723
- import { Fragment as Fragment10, jsx as jsx19, jsxs as jsxs6 } from "react/jsx-runtime";
5009
+ // src/timeline/timeline-track-item.spec.tsx
5010
+ import { jsxs as jsxs13 } from "react/jsx-runtime";
4724
5011
 
4725
- // src/timeline/tests/timeline-vertical-alternating.tsx
4726
- import { Fragment as Fragment11, jsx as jsx20, jsxs as jsxs7 } from "react/jsx-runtime";
4727
- var style = `
4728
- .k-card-media {
4729
- display: block;
4730
- height: 200px;
4731
- width: 100%;
4732
- background: #cccccc;
4733
- }
4734
- `;
4735
- var timeline_vertical_alternating_default = () => /* @__PURE__ */ jsxs7(Fragment11, { children: [
4736
- /* @__PURE__ */ jsx20("style", { children: style }),
4737
- /* @__PURE__ */ jsx20("div", { id: "test-area", className: "k-d-grid", children: /* @__PURE__ */ jsx20("div", { className: "k-timeline k-timeline-vertical k-timeline-alternating k-timeline-collapsible", children: /* @__PURE__ */ jsxs7("ul", { children: [
4738
- /* @__PURE__ */ jsx20("li", { className: "k-timeline-flag-wrap", children: /* @__PURE__ */ jsx20("span", { className: "k-timeline-flag", children: "2014" }) }),
4739
- /* @__PURE__ */ jsxs7("li", { className: "k-timeline-event", children: [
4740
- /* @__PURE__ */ jsx20("div", { className: "k-timeline-date-wrap", children: /* @__PURE__ */ jsx20("span", { className: "k-timeline-date", children: "Jan 14, 2014" }) }),
4741
- /* @__PURE__ */ jsx20("a", { className: "k-timeline-circle" }),
4742
- /* @__PURE__ */ jsx20("div", { className: "k-timeline-card k-collapsed", children: /* @__PURE__ */ jsxs7(Card, { orientation: "vertical", callout: "true", children: [
4743
- /* @__PURE__ */ jsx20(CardCallout, { className: "k-timeline-card-callout", callout: "left" }),
4744
- /* @__PURE__ */ jsxs7("div", { className: "k-card-inner", children: [
4745
- /* @__PURE__ */ jsxs7(CardHeader, { children: [
4746
- /* @__PURE__ */ jsxs7(CardTitle, { children: [
4747
- /* @__PURE__ */ jsx20("span", { className: "k-event-title", children: "Collapsed Event" }),
4748
- /* @__PURE__ */ jsx20(Button, { fillMode: "flat", icon: "chevron-right", className: "k-event-collapse" })
4749
- ] }),
4750
- /* @__PURE__ */ jsx20(CardSubtitle, { children: /* @__PURE__ */ jsx20("h6", { className: "k-card-subtitle", children: "Subtitle" }) })
4751
- ] }),
4752
- /* @__PURE__ */ jsx20(CardBody, { children: /* @__PURE__ */ jsxs7("div", { className: "k-card-description", children: [
4753
- /* @__PURE__ */ jsx20("p", { children: "Card Description here" }),
4754
- /* @__PURE__ */ jsx20(CardMedia, {})
4755
- ] }) }),
4756
- /* @__PURE__ */ jsxs7(ActionButtons, { className: "k-card-actions", children: [
4757
- /* @__PURE__ */ jsx20(Button, { fillMode: "flat", themeColor: "primary", children: "Action 1" }),
4758
- /* @__PURE__ */ jsx20(Button, { fillMode: "flat", themeColor: "primary", children: "Action 2" })
4759
- ] })
4760
- ] })
4761
- ] }) })
5012
+ // src/timeline/templates/timeline-normal.tsx
5013
+ import { jsx as jsx33, jsxs as jsxs14 } from "react/jsx-runtime";
5014
+
5015
+ // src/timeline/templates/timeline-normal-collapsible.tsx
5016
+ import { jsx as jsx34, jsxs as jsxs15 } from "react/jsx-runtime";
5017
+
5018
+ // src/timeline/templates/timeline-normal-alternating.tsx
5019
+ import { jsx as jsx35, jsxs as jsxs16 } from "react/jsx-runtime";
5020
+ var TimelineNormalAlternating = (props) => /* @__PURE__ */ jsx35(
5021
+ Timeline,
5022
+ {
5023
+ alternatingMode: true,
5024
+ children: /* @__PURE__ */ jsxs16("ul", { children: [
5025
+ /* @__PURE__ */ jsx35(TimelineFlagWrap, { year: "2010" }),
5026
+ /* @__PURE__ */ jsx35(VerticalTimelineEvent, { date: "Apr 11, 2010", reverse: true }),
5027
+ /* @__PURE__ */ jsx35(VerticalTimelineEvent, { date: "May 11, 2010" }),
5028
+ /* @__PURE__ */ jsx35(TimelineFlagWrap, { year: "2011" }),
5029
+ /* @__PURE__ */ jsx35(VerticalTimelineEvent, { date: "Oct 11, 2011", reverse: true }),
5030
+ /* @__PURE__ */ jsx35(VerticalTimelineEvent, { date: "Dec 11, 2011" })
4762
5031
  ] }),
4763
- /* @__PURE__ */ jsxs7("li", { className: "k-timeline-event k-reverse", children: [
4764
- /* @__PURE__ */ jsx20("div", { className: "k-timeline-date-wrap", children: /* @__PURE__ */ jsx20("span", { className: "k-timeline-date", children: "Jun 1, 2014" }) }),
4765
- /* @__PURE__ */ jsx20("a", { className: "k-timeline-circle" }),
4766
- /* @__PURE__ */ jsx20("div", { className: "k-timeline-card k-expanded", children: /* @__PURE__ */ jsxs7(Card, { orientation: "vertical", callout: "true", children: [
4767
- /* @__PURE__ */ jsx20(CardCallout, { className: "k-timeline-card-callout", callout: "right" }),
4768
- /* @__PURE__ */ jsxs7("div", { className: "k-card-inner", children: [
4769
- /* @__PURE__ */ jsxs7(CardHeader, { children: [
4770
- /* @__PURE__ */ jsxs7(CardTitle, { children: [
4771
- /* @__PURE__ */ jsx20("span", { className: "k-event-title", children: "Expanded event with reallyyyyy long title" }),
4772
- /* @__PURE__ */ jsx20(Button, { fillMode: "flat", icon: "chevron-right", className: "k-event-collapse" })
4773
- ] }),
4774
- /* @__PURE__ */ jsx20(CardSubtitle, { children: /* @__PURE__ */ jsx20("h6", { className: "k-card-subtitle", children: "Subtitle" }) })
4775
- ] }),
4776
- /* @__PURE__ */ jsx20(CardBody, { children: /* @__PURE__ */ jsxs7("div", { className: "k-card-description", children: [
4777
- /* @__PURE__ */ jsx20("p", { children: "Timeline Event Description" }),
4778
- /* @__PURE__ */ jsx20(CardMedia, {})
4779
- ] }) }),
4780
- /* @__PURE__ */ jsxs7(ActionButtons, { className: "k-card-actions", children: [
4781
- /* @__PURE__ */ jsx20(Button, { fillMode: "flat", themeColor: "primary", children: "Action 1" }),
4782
- /* @__PURE__ */ jsx20(Button, { fillMode: "flat", themeColor: "primary", children: "Action 2" })
4783
- ] })
4784
- ] })
4785
- ] }) })
4786
- ] })
4787
- ] }) }) })
5032
+ ...props
5033
+ }
5034
+ );
5035
+
5036
+ // src/timeline/templates/timeline-horizontal.tsx
5037
+ import { Fragment as Fragment12, jsx as jsx36, jsxs as jsxs17 } from "react/jsx-runtime";
5038
+
5039
+ // src/timeline/tests/timeline-vertical-alternating.tsx
5040
+ import { Fragment as Fragment13, jsx as jsx37, jsxs as jsxs18 } from "react/jsx-runtime";
5041
+ var style = ``;
5042
+ var timeline_vertical_alternating_default = () => /* @__PURE__ */ jsxs18(Fragment13, { children: [
5043
+ /* @__PURE__ */ jsx37("style", { children: style }),
5044
+ /* @__PURE__ */ jsxs18("div", { id: "test-area", className: "k-d-grid", children: [
5045
+ /* @__PURE__ */ jsx37("span", { children: "Vertical timeline with alternating events" }),
5046
+ /* @__PURE__ */ jsx37(TimelineNormalAlternating, {})
5047
+ ] })
4788
5048
  ] });
4789
5049
  export {
4790
5050
  timeline_vertical_alternating_default as default