@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
@@ -16,12 +16,14 @@ var __copyProps = (to, from, except, desc) => {
16
16
  };
17
17
  var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
18
18
 
19
- // src/notification/tests/notification-custom-angular.tsx
20
- var notification_custom_angular_exports = {};
21
- __export(notification_custom_angular_exports, {
22
- default: () => notification_custom_angular_default
19
+ // src/timeline/timeline-card-callout.tsx
20
+ var timeline_card_callout_exports = {};
21
+ __export(timeline_card_callout_exports, {
22
+ TIMELINECARDCALLOUT_CLASSNAME: () => TIMELINECARDCALLOUT_CLASSNAME,
23
+ TimelineCardCallout: () => TimelineCardCallout,
24
+ default: () => timeline_card_callout_default
23
25
  });
24
- module.exports = __toCommonJS(notification_custom_angular_exports);
26
+ module.exports = __toCommonJS(timeline_card_callout_exports);
25
27
 
26
28
  // src/misc/class-names.ts
27
29
  var classNames = (...args) => {
@@ -59,6 +61,22 @@ var optionClassNames = (componentClassName, props) => {
59
61
  }
60
62
  );
61
63
  };
64
+ var stateClassNames = (_componentClassName, props) => {
65
+ return classNames({
66
+ "k-valid": props.valid,
67
+ "k-invalid": props.invalid,
68
+ "k-hover": props.hover,
69
+ "k-focus": props.focus,
70
+ "k-checked": props.checked,
71
+ "k-active": props.active,
72
+ "k-selected": props.selected,
73
+ "k-disabled": props.disabled,
74
+ "k-indeterminate": props.indeterminate && !props.checked,
75
+ "k-loading": props.loading,
76
+ "k-empty": props.empty,
77
+ "k-readonly": props.readonly
78
+ });
79
+ };
62
80
 
63
81
  // src/misc/theme.ts
64
82
  var Size = {
@@ -70,6 +88,19 @@ var Size = {
70
88
  "xxlarge": "xxlarge",
71
89
  "xxxlarge": "xxxlarge"
72
90
  };
91
+ var Roundness = {
92
+ "small": "small",
93
+ "medium": "medium",
94
+ "large": "large",
95
+ "full": "full"
96
+ };
97
+ var FillMode = {
98
+ "solid": "solid",
99
+ "flat": "flat",
100
+ "outline": "outline",
101
+ "clear": "clear",
102
+ "link": "link"
103
+ };
73
104
  var ThemeColor = {
74
105
  "inherit": "inherit",
75
106
  "base": "base",
@@ -84,12 +115,139 @@ var ThemeColor = {
84
115
  "light": "light",
85
116
  "inverse": "inverse"
86
117
  };
118
+ var States = {
119
+ "open": "open",
120
+ "hover": "hover",
121
+ "focus": "focus",
122
+ "active": "active",
123
+ "selected": "selected",
124
+ "disabled": "disabled",
125
+ "valid": "valid",
126
+ "invalid": "invalid",
127
+ "loading": "loading",
128
+ "required": "required",
129
+ "empty": "empty",
130
+ "indeterminate": "indeterminate",
131
+ "checked": "checked",
132
+ "readonly": "readonly"
133
+ };
134
+ var kendoThemeMaps = {
135
+ calloutMap: {
136
+ top: "n",
137
+ bottom: "s",
138
+ left: "w",
139
+ right: "e"
140
+ },
141
+ orientationMap: {
142
+ vertical: "vstack",
143
+ horizontal: "hstack"
144
+ }
145
+ };
87
146
 
88
- // src/icon/font-icon.spec.tsx
147
+ // src/card/card-callout.tsx
89
148
  var import_jsx_runtime = require("react/jsx-runtime");
90
- var FONTICON_CLASSNAME = `k-icon k-font-icon`;
91
- var states = [];
149
+ var CARDCALLOUT_CLASSNAME = `k-card-callout`;
150
+ var CardCallout = (props) => {
151
+ const {
152
+ callout,
153
+ ...other
154
+ } = props;
155
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
156
+ "span",
157
+ {
158
+ ...other,
159
+ className: classNames(
160
+ props.className,
161
+ CARDCALLOUT_CLASSNAME,
162
+ {
163
+ [`k-callout-${kendoThemeMaps.calloutMap[callout] || callout}`]: callout
164
+ }
165
+ )
166
+ }
167
+ );
168
+ };
169
+
170
+ // src/card/card.spec.tsx
171
+ var import_jsx_runtime2 = require("react/jsx-runtime");
172
+ var CARD_CLASSNAME = `k-card`;
173
+ var states = [
174
+ States.hover,
175
+ States.focus,
176
+ States.selected,
177
+ States.disabled
178
+ ];
92
179
  var options = {
180
+ themeColor: [
181
+ ThemeColor.primary,
182
+ ThemeColor.success,
183
+ ThemeColor.warning,
184
+ ThemeColor.error,
185
+ ThemeColor.info
186
+ ]
187
+ };
188
+ var defaultProps = {};
189
+ var Card = (props) => {
190
+ const {
191
+ orientation,
192
+ themeColor,
193
+ callout,
194
+ hover,
195
+ focus,
196
+ selected,
197
+ disabled,
198
+ ...other
199
+ } = props;
200
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsxs)(
201
+ "div",
202
+ {
203
+ ...other,
204
+ className: classNames(
205
+ props.className,
206
+ CARD_CLASSNAME,
207
+ optionClassNames(CARD_CLASSNAME, {
208
+ themeColor
209
+ }),
210
+ stateClassNames(CARD_CLASSNAME, {
211
+ hover,
212
+ focus,
213
+ disabled,
214
+ selected
215
+ }),
216
+ {
217
+ [`k-card-${orientation}`]: orientation,
218
+ "k-card-with-callout": callout
219
+ }
220
+ ),
221
+ children: [
222
+ callout && callout !== "true" && /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(CardCallout, { callout }),
223
+ /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, { children: props.children })
224
+ ]
225
+ }
226
+ );
227
+ };
228
+ Card.states = states;
229
+ Card.options = options;
230
+ Card.className = CARD_CLASSNAME;
231
+ Card.defaultProps = defaultProps;
232
+
233
+ // src/card/card-title.tsx
234
+ var import_jsx_runtime3 = require("react/jsx-runtime");
235
+ var states2 = [
236
+ States.hover,
237
+ States.focus
238
+ ];
239
+
240
+ // src/card/card-subtitle.tsx
241
+ var import_jsx_runtime4 = require("react/jsx-runtime");
242
+
243
+ // src/card/card-media.tsx
244
+ var import_jsx_runtime5 = require("react/jsx-runtime");
245
+
246
+ // src/icon/font-icon.spec.tsx
247
+ var import_jsx_runtime6 = require("react/jsx-runtime");
248
+ var FONTICON_CLASSNAME = `k-icon k-font-icon`;
249
+ var states3 = [];
250
+ var options2 = {
93
251
  size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
94
252
  themeColor: [
95
253
  ThemeColor.base,
@@ -104,7 +262,7 @@ var options = {
104
262
  ThemeColor.dark
105
263
  ]
106
264
  };
107
- var defaultProps = {};
265
+ var defaultProps2 = {};
108
266
  var FontIcon = (props) => {
109
267
  const {
110
268
  size,
@@ -115,9 +273,9 @@ var FontIcon = (props) => {
115
273
  ...other
116
274
  } = props;
117
275
  if (!icon) {
118
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {});
276
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(import_jsx_runtime6.Fragment, {});
119
277
  }
120
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
278
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(
121
279
  "span",
122
280
  {
123
281
  ...other,
@@ -138,17 +296,17 @@ var FontIcon = (props) => {
138
296
  }
139
297
  );
140
298
  };
141
- FontIcon.states = states;
142
- FontIcon.options = options;
299
+ FontIcon.states = states3;
300
+ FontIcon.options = options2;
143
301
  FontIcon.className = FONTICON_CLASSNAME;
144
- FontIcon.defaultProps = defaultProps;
302
+ FontIcon.defaultProps = defaultProps2;
145
303
  var font_icon_spec_default = FontIcon;
146
304
 
147
305
  // src/icon/svg-icon.spec.tsx
148
- var import_jsx_runtime2 = require("react/jsx-runtime");
306
+ var import_jsx_runtime7 = require("react/jsx-runtime");
149
307
  var SVGICON_CLASSNAME = `k-icon k-svg-icon`;
150
- var states2 = [];
151
- var options2 = {
308
+ var states4 = [];
309
+ var options3 = {
152
310
  size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
153
311
  themeColor: [
154
312
  ThemeColor.base,
@@ -163,7 +321,7 @@ var options2 = {
163
321
  ThemeColor.dark
164
322
  ]
165
323
  };
166
- var defaultProps2 = {
324
+ var defaultProps3 = {
167
325
  viewBox: "0 0 24 24"
168
326
  };
169
327
  var SvgIcon = (props) => {
@@ -172,15 +330,15 @@ var SvgIcon = (props) => {
172
330
  themeColor,
173
331
  rotate,
174
332
  flip,
175
- viewBox = defaultProps2.viewBox,
333
+ viewBox = defaultProps3.viewBox,
176
334
  icon,
177
335
  ...other
178
336
  } = props;
179
337
  if (!icon) {
180
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, {});
338
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(import_jsx_runtime7.Fragment, {});
181
339
  }
182
340
  if (icon === "none") {
183
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
341
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
184
342
  "span",
185
343
  {
186
344
  ...other,
@@ -193,7 +351,7 @@ var SvgIcon = (props) => {
193
351
  );
194
352
  }
195
353
  const name = typeof icon === "object" && icon.name && icon.name;
196
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
354
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
197
355
  "span",
198
356
  {
199
357
  ...other,
@@ -211,7 +369,7 @@ var SvgIcon = (props) => {
211
369
  "k-flip-v": flip === "v" || flip === "both"
212
370
  }
213
371
  ),
214
- children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
372
+ children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
215
373
  "svg",
216
374
  {
217
375
  "aria-hidden": true,
@@ -225,10 +383,10 @@ var SvgIcon = (props) => {
225
383
  }
226
384
  );
227
385
  };
228
- SvgIcon.states = states2;
229
- SvgIcon.options = options2;
386
+ SvgIcon.states = states4;
387
+ SvgIcon.options = options3;
230
388
  SvgIcon.className = SVGICON_CLASSNAME;
231
- SvgIcon.defaultProps = defaultProps2;
389
+ SvgIcon.defaultProps = defaultProps3;
232
390
  var svg_icon_spec_default = SvgIcon;
233
391
 
234
392
  // ../../node_modules/@progress/kendo-svg-icons/dist/index.es.js
@@ -4227,13 +4385,13 @@ var chartChoroplethIcon = {
4227
4385
  };
4228
4386
 
4229
4387
  // src/icon/icon.spec.tsx
4230
- var import_jsx_runtime3 = require("react/jsx-runtime");
4388
+ var import_jsx_runtime8 = require("react/jsx-runtime");
4231
4389
  var snakeToCamel = (str) => str.toLowerCase().replace(
4232
4390
  /([-_][a-z])/g,
4233
4391
  (group) => group.toUpperCase().replace("-", "").replace("_", "")
4234
4392
  );
4235
- var states3 = [];
4236
- var options3 = {
4393
+ var states5 = [];
4394
+ var options4 = {
4237
4395
  size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
4238
4396
  themeColor: [
4239
4397
  ThemeColor.base,
@@ -4248,7 +4406,7 @@ var options3 = {
4248
4406
  ThemeColor.dark
4249
4407
  ]
4250
4408
  };
4251
- var defaultProps3 = {
4409
+ var defaultProps4 = {
4252
4410
  viewBox: "0 0 24 24",
4253
4411
  type: "svg"
4254
4412
  };
@@ -4257,36 +4415,45 @@ var Icon = (props) => {
4257
4415
  size,
4258
4416
  themeColor,
4259
4417
  icon,
4260
- type = defaultProps3.type,
4418
+ type = defaultProps4.type,
4261
4419
  rotate,
4262
4420
  flip,
4263
- viewBox = defaultProps3.viewBox,
4421
+ viewBox = defaultProps4.viewBox,
4264
4422
  ...other
4265
4423
  } = props;
4266
4424
  if (!icon) {
4267
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {});
4425
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_jsx_runtime8.Fragment, {});
4268
4426
  }
4269
4427
  if (type === "svg") {
4270
4428
  if (icon === "none") {
4271
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(svg_icon_spec_default, { ...other, icon, size });
4429
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(svg_icon_spec_default, { ...other, icon, size });
4272
4430
  }
4273
4431
  const iconSVG = snakeToCamel(`${icon}-icon`);
4274
4432
  if (!index_es_exports[iconSVG]) {
4275
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {});
4433
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(import_jsx_runtime8.Fragment, {});
4276
4434
  }
4277
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(svg_icon_spec_default, { ...other, icon: index_es_exports[iconSVG], size, themeColor, rotate, flip, viewBox });
4435
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(svg_icon_spec_default, { ...other, icon: index_es_exports[iconSVG], size, themeColor, rotate, flip, viewBox });
4278
4436
  }
4279
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(font_icon_spec_default, { ...other, icon, size, themeColor, rotate, flip });
4437
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(font_icon_spec_default, { ...other, icon, size, themeColor, rotate, flip });
4280
4438
  };
4281
- Icon.states = states3;
4282
- Icon.options = options3;
4283
- Icon.defaultProps = defaultProps3;
4439
+ Icon.states = states5;
4440
+ Icon.options = options4;
4441
+ Icon.defaultProps = defaultProps4;
4284
4442
 
4285
- // src/notification/notification.spec.tsx
4286
- var import_jsx_runtime4 = require("react/jsx-runtime");
4287
- var NOTIFICATION_CLASSNAME = `k-notification`;
4288
- var states4 = [];
4289
- var options4 = {
4443
+ // src/button/button.spec.tsx
4444
+ var import_jsx_runtime9 = require("react/jsx-runtime");
4445
+ var BUTTON_CLASSNAME = `k-button`;
4446
+ var states6 = [
4447
+ States.hover,
4448
+ States.focus,
4449
+ States.active,
4450
+ States.selected,
4451
+ States.disabled
4452
+ ];
4453
+ var options5 = {
4454
+ size: [Size.small, Size.medium, Size.large],
4455
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
4456
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
4290
4457
  themeColor: [
4291
4458
  ThemeColor.base,
4292
4459
  ThemeColor.primary,
@@ -4301,142 +4468,164 @@ var options4 = {
4301
4468
  ThemeColor.inverse
4302
4469
  ]
4303
4470
  };
4304
- var defaultProps4 = {
4471
+ var defaultProps5 = {
4472
+ size: Size.medium,
4473
+ rounded: Roundness.medium,
4474
+ fillMode: FillMode.solid,
4305
4475
  themeColor: ThemeColor.base,
4306
- closable: false
4476
+ showArrow: false,
4477
+ arrowIconName: "caret-alt-down"
4307
4478
  };
4308
- var Notification = (props) => {
4479
+ var Button = (props) => {
4309
4480
  const {
4310
- actions,
4311
- themeColor = defaultProps4.themeColor,
4312
- text,
4481
+ size = defaultProps5.size,
4482
+ rounded = defaultProps5.rounded,
4483
+ fillMode = defaultProps5.fillMode,
4484
+ themeColor = defaultProps5.themeColor,
4485
+ hover,
4486
+ focus,
4487
+ active,
4488
+ selected,
4489
+ disabled,
4313
4490
  icon,
4314
- closable = defaultProps4.closable,
4491
+ text,
4492
+ iconClassName,
4493
+ showArrow = defaultProps5.showArrow,
4494
+ arrowIconName = defaultProps5.arrowIconName,
4315
4495
  ...other
4316
4496
  } = props;
4317
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
4318
- "div",
4497
+ const hasIcon = icon !== void 0;
4498
+ const hasChildren = props.children !== void 0;
4499
+ return /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(
4500
+ "button",
4319
4501
  {
4320
4502
  ...other,
4321
4503
  className: classNames(
4322
4504
  props.className,
4323
- NOTIFICATION_CLASSNAME,
4324
- optionClassNames(NOTIFICATION_CLASSNAME, {
4505
+ BUTTON_CLASSNAME,
4506
+ optionClassNames(BUTTON_CLASSNAME, {
4507
+ size,
4508
+ rounded,
4509
+ fillMode,
4325
4510
  themeColor
4326
4511
  }),
4512
+ stateClassNames(BUTTON_CLASSNAME, {
4513
+ hover,
4514
+ focus,
4515
+ active,
4516
+ disabled,
4517
+ selected
4518
+ }),
4327
4519
  {
4328
- "k-notification-closable": closable
4520
+ ["k-icon-button"]: !text && !hasChildren && hasIcon
4329
4521
  }
4330
4522
  ),
4331
4523
  children: [
4332
- icon && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { className: "k-notification-status", icon }),
4333
- props.children ? /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)("div", { className: "k-notification-content", children: [
4334
- text,
4524
+ icon && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
4525
+ Icon,
4526
+ {
4527
+ className: classNames(iconClassName, "k-button-icon"),
4528
+ icon
4529
+ }
4530
+ ),
4531
+ text ? /* @__PURE__ */ (0, import_jsx_runtime9.jsxs)(import_jsx_runtime9.Fragment, { children: [
4532
+ text && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "k-button-text", children: text }),
4335
4533
  props.children
4336
- ] }) : /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, { children: text && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("div", { className: "k-notification-content", children: text }) }),
4337
- actions && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-notification-actions", children: actions })
4534
+ ] }) : props.children && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "k-button-text", children: props.children }),
4535
+ showArrow && /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("span", { className: "k-menu-button-arrow k-button-arrow", children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(Icon, { icon: arrowIconName }) })
4338
4536
  ]
4339
4537
  }
4340
4538
  );
4341
4539
  };
4342
- Notification.states = states4;
4343
- Notification.options = options4;
4344
- Notification.className = NOTIFICATION_CLASSNAME;
4345
- Notification.defaultProps = defaultProps4;
4540
+ Button.states = states6;
4541
+ Button.options = options5;
4542
+ Button.className = BUTTON_CLASSNAME;
4543
+ Button.defaultProps = defaultProps5;
4346
4544
 
4347
- // src/notification/notification-action.tsx
4348
- var import_jsx_runtime5 = require("react/jsx-runtime");
4349
- var className = `k-notification-action`;
4350
- var NotificationAction = (props) => {
4351
- const {
4352
- type
4353
- } = props;
4354
- let icon;
4355
- switch (type) {
4356
- case "close":
4357
- icon = /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Icon, { icon: "x" });
4358
- break;
4359
- default:
4360
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(Icon, { icon: type });
4361
- }
4362
- return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)("span", { className: classNames(
4363
- props.className,
4364
- className,
4365
- `k-notification-${type}-action`
4366
- ), children: icon });
4367
- };
4545
+ // src/button/templates/icon-button.tsx
4546
+ var import_jsx_runtime10 = require("react/jsx-runtime");
4368
4547
 
4369
- // src/notification/templates/icon-notification.tsx
4370
- var import_jsx_runtime6 = require("react/jsx-runtime");
4548
+ // src/button/templates/icon-text-button.tsx
4549
+ var import_jsx_runtime11 = require("react/jsx-runtime");
4371
4550
 
4372
- // src/notification/templates/icon-notification-closable.tsx
4373
- var import_jsx_runtime7 = require("react/jsx-runtime");
4551
+ // src/button/templates/text-button.tsx
4552
+ var import_jsx_runtime12 = require("react/jsx-runtime");
4374
4553
 
4375
- // src/notification/templates/notification-closable.tsx
4376
- var import_jsx_runtime8 = require("react/jsx-runtime");
4377
- var NotificationClosable = (props) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
4378
- Notification,
4379
- {
4380
- closable: true,
4381
- text: "Notification",
4382
- actions: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(NotificationAction, { type: "close" }),
4383
- ...props
4384
- }
4385
- );
4554
+ // src/card/card-header.tsx
4555
+ var import_jsx_runtime13 = require("react/jsx-runtime");
4386
4556
 
4387
- // src/notification/templates/notification-normal.tsx
4388
- var import_jsx_runtime9 = require("react/jsx-runtime");
4389
- var NotificationNormal = (props) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
4390
- Notification,
4391
- {
4392
- text: "Notification",
4393
- ...props
4394
- }
4395
- );
4557
+ // src/card/card-footer.tsx
4558
+ var import_jsx_runtime14 = require("react/jsx-runtime");
4396
4559
 
4397
- // src/notification/tests/notification-custom-angular.tsx
4398
- var import_jsx_runtime10 = require("react/jsx-runtime");
4399
- var styles = `
4400
- .k-notification-group {
4401
- position: static;
4402
- }
4560
+ // src/card/card-body.tsx
4561
+ var import_jsx_runtime15 = require("react/jsx-runtime");
4403
4562
 
4404
- .fullwidth,
4405
- .fullwidth > .k-notification {
4406
- width: 100%;
4407
- }
4563
+ // src/card/card-deck.tsx
4564
+ var import_jsx_runtime16 = require("react/jsx-runtime");
4408
4565
 
4409
- .k-custom-notification {
4410
- font-size: 20px;
4411
- color: black;
4566
+ // src/action-buttons/action-buttons.spec.tsx
4567
+ var import_jsx_runtime17 = require("react/jsx-runtime");
4568
+ var ACTIONBUTTONS_CLASSNAME = `k-actions`;
4569
+ var states7 = [];
4570
+ var options6 = {};
4571
+ var defaultProps6 = {
4572
+ alignment: "start",
4573
+ orientation: "horizontal"
4574
+ };
4575
+ var ActionButtons = (props) => {
4576
+ const {
4577
+ alignment = defaultProps6.alignment,
4578
+ orientation = defaultProps6.orientation,
4579
+ ...other
4580
+ } = props;
4581
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
4582
+ "div",
4583
+ {
4584
+ ...other,
4585
+ className: classNames(
4586
+ ACTIONBUTTONS_CLASSNAME,
4587
+ {
4588
+ [`${ACTIONBUTTONS_CLASSNAME}-${alignment}`]: alignment,
4589
+ [`${ACTIONBUTTONS_CLASSNAME}-${orientation}`]: orientation
4590
+ },
4591
+ props.className
4592
+ ),
4593
+ children: props.children
4412
4594
  }
4595
+ );
4596
+ };
4597
+ ActionButtons.states = states7;
4598
+ ActionButtons.options = options6;
4599
+ ActionButtons.className = ACTIONBUTTONS_CLASSNAME;
4600
+ ActionButtons.defaultProps = defaultProps6;
4601
+
4602
+ // src/card/templates/card-normal.tsx
4603
+ var import_jsx_runtime18 = require("react/jsx-runtime");
4413
4604
 
4414
- .k-notification-actions {
4415
- align-self: start;
4605
+ // src/card/templates/card-horizontal.tsx
4606
+ var import_jsx_runtime19 = require("react/jsx-runtime");
4607
+
4608
+ // src/timeline/timeline-card-callout.tsx
4609
+ var import_jsx_runtime20 = require("react/jsx-runtime");
4610
+ var TIMELINECARDCALLOUT_CLASSNAME = `k-timeline-card-callout`;
4611
+ var states8 = [];
4612
+ var defaultProps7 = {};
4613
+ var TimelineCardCallout = (props) => {
4614
+ const {
4615
+ ...other
4616
+ } = props;
4617
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4618
+ CardCallout,
4619
+ {
4620
+ className: classNames(
4621
+ props.className,
4622
+ TIMELINECARDCALLOUT_CLASSNAME
4623
+ ),
4624
+ ...other
4416
4625
  }
4417
- `;
4418
- var notification_custom_angular_default = () => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
4419
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("style", { children: styles }),
4420
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { id: "test-area", className: "k-d-grid k-grid-cols-4", children: [
4421
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "k-colspan-all k-col-span-full", children: "LTR" }),
4422
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "k-notification-group", children: [
4423
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "k-notification-container", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(NotificationClosable, { text: "Multiline notification", children: [
4424
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { children: "Closable multiline notification" }),
4425
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { children: "Closable multiline notification" }),
4426
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { children: "Closable multiline notification" })
4427
- ] }) }),
4428
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "k-notification-container", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(NotificationNormal, { className: "k-custom-notification", text: "Custom notification" }) })
4429
- ] }) }),
4430
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "k-colspan-3 k-col-span-3", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "k-notification-container fullwidth", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(NotificationClosable, { text: "Full width notification" }) }) }),
4431
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "k-colspan-all k-col-span-full", children: "RTL" }),
4432
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { dir: "rtl", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { className: "k-notification-group", children: [
4433
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "k-notification-container", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(NotificationClosable, { text: "Multiline notification", children: [
4434
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { children: "Closable multiline notification" }),
4435
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { children: "Closable multiline notification" }),
4436
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { children: "Closable multiline notification" })
4437
- ] }) }),
4438
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "k-notification-container", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(NotificationNormal, { className: "k-custom-notification", text: "Custom notification" }) })
4439
- ] }) }),
4440
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "k-colspan-3 k-col-span-3", dir: "rtl", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "k-notification-container fullwidth", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(NotificationClosable, { text: "Full width notification" }) }) })
4441
- ] })
4442
- ] });
4626
+ );
4627
+ };
4628
+ TimelineCardCallout.states = states8;
4629
+ TimelineCardCallout.className = TIMELINECARDCALLOUT_CLASSNAME;
4630
+ TimelineCardCallout.defaultProps = defaultProps7;
4631
+ var timeline_card_callout_default = TimelineCardCallout;