@progress/kendo-themes-html 7.2.0 → 7.2.1-dev.0

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 (178) hide show
  1. package/dist/cjs/autocomplete/tests/autocomplete-prefix-suffix.js +1416 -910
  2. package/dist/cjs/combobox/tests/combobox-prefix-suffix.js +1416 -910
  3. package/dist/cjs/filemanager/file-info.js +1238 -1239
  4. package/dist/cjs/filemanager/filemanager-toolbar.spec.js +1 -1
  5. package/dist/cjs/filemanager/filemanager.spec.js +3481 -2163
  6. package/dist/cjs/filemanager/templates/filemanager-grid-preview.js +1238 -1239
  7. package/dist/cjs/filemanager/templates/filemanager-grid.js +1238 -1239
  8. package/dist/cjs/filemanager/templates/filemanager-normal.js +1238 -1239
  9. package/dist/cjs/filemanager/templates/filemanager-preview.js +1238 -1239
  10. package/dist/cjs/filemanager/tests/filemanager-contextmenu.js +1238 -1239
  11. package/dist/cjs/filemanager/tests/filemanager-drag-hint.js +1238 -1239
  12. package/dist/cjs/filemanager/tests/filemanager-gridview-preview.js +2540 -2034
  13. package/dist/cjs/filemanager/tests/filemanager-gridview.js +1238 -1239
  14. package/dist/cjs/filemanager/tests/filemanager-listview-preview.js +2494 -1988
  15. package/dist/cjs/filemanager/tests/filemanager-listview.js +1238 -1239
  16. package/dist/cjs/form/tests/form-field-dropdowns.js +1373 -909
  17. package/dist/cjs/grid/tests/grid-editing-custom-editor.js +1504 -998
  18. package/dist/cjs/index.js +3002 -2407
  19. package/dist/cjs/multiselect/templates/multiselect-prefix.js +1391 -885
  20. package/dist/cjs/multiselect/templates/multiselect-suffix.js +1391 -885
  21. package/dist/cjs/multiselect/tests/multiselect-adaptive.js +1397 -891
  22. package/dist/cjs/multiselect/tests/multiselect-flat.js +1421 -915
  23. package/dist/cjs/multiselect/tests/multiselect-grouping.js +1397 -891
  24. package/dist/cjs/multiselect/tests/multiselect-opened.js +1399 -893
  25. package/dist/cjs/multiselect/tests/multiselect-outline.js +1421 -915
  26. package/dist/cjs/multiselect/tests/multiselect-prefix-suffix.js +1428 -922
  27. package/dist/cjs/multiselect/tests/multiselect-size-rounded.js +1400 -894
  28. package/dist/cjs/multiselect/tests/multiselect-solid.js +1421 -915
  29. package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +1388 -924
  30. package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +1402 -938
  31. package/dist/cjs/stepper/index.js +4669 -0
  32. package/dist/cjs/stepper/step-list.js +68 -0
  33. package/dist/cjs/stepper/step.js +4426 -0
  34. package/dist/cjs/stepper/stepper.spec.js +62 -0
  35. package/dist/cjs/stepper/templates/stepper-normal.js +4650 -0
  36. package/dist/cjs/stepper/templates/stepper-vertical.js +4650 -0
  37. package/dist/cjs/stepper/tests/stepper-horizontal-rtl.js +262 -150
  38. package/dist/cjs/stepper/tests/stepper-states.js +247 -228
  39. package/dist/cjs/stepper/tests/stepper-vertical-rtl.js +255 -122
  40. package/dist/cjs/stepper/tests/stepper-vertical.js +369 -238
  41. package/dist/cjs/stepper/tests/stepper.js +275 -187
  42. package/dist/cjs/taskboard/taskboard-card.js +4675 -0
  43. package/dist/cjs/taskboard/taskboard-column.js +4524 -0
  44. package/dist/cjs/taskboard/taskboard-pane.js +17117 -0
  45. package/dist/cjs/taskboard/taskboard-toolbar.js +7892 -0
  46. package/dist/cjs/taskboard/taskboard.spec.js +17117 -0
  47. package/dist/cjs/taskboard/templates/taskboard-normal.js +17168 -0
  48. package/dist/cjs/taskboard/tests/taskboard-card.js +12075 -3113
  49. package/dist/cjs/taskboard/tests/taskboard-column.js +12575 -742
  50. package/dist/cjs/taskboard/tests/taskboard-pane.js +10350 -1770
  51. package/dist/cjs/taskboard/tests/taskboard-resources.js +12673 -323
  52. package/dist/cjs/taskboard/tests/taskboard-rtl.js +10165 -1191
  53. package/dist/cjs/taskboard/tests/taskboard.js +10165 -1182
  54. package/dist/cjs/wizard/templates/wizard-normal.js +4899 -0
  55. package/dist/cjs/wizard/templates/wizard-vertical.js +4900 -0
  56. package/dist/cjs/wizard/tests/wizard-horizontal.js +394 -321
  57. package/dist/cjs/wizard/tests/wizard-vertical.js +413 -445
  58. package/dist/cjs/wizard/wizard-step.js +4524 -0
  59. package/dist/cjs/wizard/wizard-steps.js +56 -0
  60. package/dist/cjs/wizard/wizard.spec.js +110 -0
  61. package/dist/esm/autocomplete/tests/autocomplete-prefix-suffix.js +1416 -910
  62. package/dist/esm/combobox/tests/combobox-prefix-suffix.js +1416 -910
  63. package/dist/esm/filemanager/file-info.js +1240 -1241
  64. package/dist/esm/filemanager/filemanager-toolbar.spec.js +1 -1
  65. package/dist/esm/filemanager/filemanager.spec.js +2923 -1605
  66. package/dist/esm/filemanager/templates/filemanager-grid-preview.js +1240 -1241
  67. package/dist/esm/filemanager/templates/filemanager-grid.js +1240 -1241
  68. package/dist/esm/filemanager/templates/filemanager-normal.js +1240 -1241
  69. package/dist/esm/filemanager/templates/filemanager-preview.js +1240 -1241
  70. package/dist/esm/filemanager/tests/filemanager-contextmenu.js +1240 -1241
  71. package/dist/esm/filemanager/tests/filemanager-drag-hint.js +1240 -1241
  72. package/dist/esm/filemanager/tests/filemanager-gridview-preview.js +2560 -2054
  73. package/dist/esm/filemanager/tests/filemanager-gridview.js +1240 -1241
  74. package/dist/esm/filemanager/tests/filemanager-listview-preview.js +2514 -2008
  75. package/dist/esm/filemanager/tests/filemanager-listview.js +1240 -1241
  76. package/dist/esm/form/tests/form-field-dropdowns.js +1373 -909
  77. package/dist/esm/grid/tests/grid-editing-custom-editor.js +1504 -998
  78. package/dist/esm/index.js +2988 -2393
  79. package/dist/esm/multiselect/templates/multiselect-prefix.js +1391 -885
  80. package/dist/esm/multiselect/templates/multiselect-suffix.js +1391 -885
  81. package/dist/esm/multiselect/tests/multiselect-adaptive.js +1397 -891
  82. package/dist/esm/multiselect/tests/multiselect-flat.js +1421 -915
  83. package/dist/esm/multiselect/tests/multiselect-grouping.js +1397 -891
  84. package/dist/esm/multiselect/tests/multiselect-opened.js +1399 -893
  85. package/dist/esm/multiselect/tests/multiselect-outline.js +1421 -915
  86. package/dist/esm/multiselect/tests/multiselect-prefix-suffix.js +1428 -922
  87. package/dist/esm/multiselect/tests/multiselect-size-rounded.js +1400 -894
  88. package/dist/esm/multiselect/tests/multiselect-solid.js +1421 -915
  89. package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +1388 -924
  90. package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +1402 -938
  91. package/dist/esm/stepper/index.js +4653 -0
  92. package/dist/esm/stepper/step-list.js +46 -0
  93. package/dist/esm/stepper/step.js +4410 -0
  94. package/dist/esm/stepper/stepper.spec.js +40 -0
  95. package/dist/esm/stepper/templates/stepper-normal.js +4634 -0
  96. package/dist/esm/stepper/templates/stepper-vertical.js +4634 -0
  97. package/dist/esm/stepper/tests/stepper-horizontal-rtl.js +262 -150
  98. package/dist/esm/stepper/tests/stepper-states.js +247 -228
  99. package/dist/esm/stepper/tests/stepper-vertical-rtl.js +255 -122
  100. package/dist/esm/stepper/tests/stepper-vertical.js +366 -235
  101. package/dist/esm/stepper/tests/stepper.js +275 -187
  102. package/dist/esm/taskboard/taskboard-card.js +4659 -0
  103. package/dist/esm/taskboard/taskboard-column.js +4508 -0
  104. package/dist/esm/taskboard/taskboard-pane.js +17091 -0
  105. package/dist/esm/taskboard/taskboard-toolbar.js +7876 -0
  106. package/dist/esm/taskboard/taskboard.spec.js +17091 -0
  107. package/dist/esm/taskboard/templates/taskboard-normal.js +17142 -0
  108. package/dist/esm/taskboard/tests/taskboard-card.js +11799 -2847
  109. package/dist/esm/taskboard/tests/taskboard-column.js +12548 -725
  110. package/dist/esm/taskboard/tests/taskboard-pane.js +10334 -1764
  111. package/dist/esm/taskboard/tests/taskboard-resources.js +12665 -325
  112. package/dist/esm/taskboard/tests/taskboard-rtl.js +10170 -1206
  113. package/dist/esm/taskboard/tests/taskboard.js +10170 -1197
  114. package/dist/esm/wizard/templates/wizard-normal.js +4883 -0
  115. package/dist/esm/wizard/templates/wizard-vertical.js +4884 -0
  116. package/dist/esm/wizard/tests/wizard-horizontal.js +392 -319
  117. package/dist/esm/wizard/tests/wizard-vertical.js +411 -443
  118. package/dist/esm/wizard/wizard-step.js +4508 -0
  119. package/dist/esm/wizard/wizard-steps.js +34 -0
  120. package/dist/esm/wizard/wizard.spec.js +88 -0
  121. package/dist/types/filemanager/index.d.ts +1 -1
  122. package/dist/types/index.d.ts +3 -0
  123. package/dist/types/stepper/index.d.ts +5 -0
  124. package/dist/types/stepper/step-list.d.ts +15 -0
  125. package/dist/types/stepper/step.d.ts +25 -0
  126. package/dist/types/stepper/stepper.spec.d.ts +13 -0
  127. package/dist/types/stepper/templates/stepper-normal.d.ts +1 -0
  128. package/dist/types/stepper/templates/stepper-vertical.d.ts +1 -0
  129. package/dist/types/taskboard/index.d.ts +6 -0
  130. package/dist/types/taskboard/taskboard-card.d.ts +13 -0
  131. package/dist/types/taskboard/taskboard-column.d.ts +20 -0
  132. package/dist/types/taskboard/taskboard-pane.d.ts +19 -0
  133. package/dist/types/taskboard/taskboard-toolbar.d.ts +10 -0
  134. package/dist/types/taskboard/taskboard.spec.d.ts +23 -0
  135. package/dist/types/taskboard/templates/taskboard-normal.d.ts +1 -0
  136. package/dist/types/wizard/index.d.ts +5 -0
  137. package/dist/types/wizard/templates/wizard-normal.d.ts +1 -0
  138. package/dist/types/wizard/templates/wizard-vertical.d.ts +1 -0
  139. package/dist/types/wizard/wizard-step.d.ts +19 -0
  140. package/dist/types/wizard/wizard-steps.d.ts +9 -0
  141. package/dist/types/wizard/wizard.spec.d.ts +20 -0
  142. package/package.json +2 -2
  143. package/src/filemanager/filemanager-toolbar.spec.tsx +1 -1
  144. package/src/filemanager/filemanager.spec.tsx +2 -2
  145. package/src/filemanager/index.ts +1 -1
  146. package/src/index.ts +3 -3
  147. package/src/stepper/index.tsx +5 -0
  148. package/src/stepper/step-list.tsx +49 -0
  149. package/src/stepper/step.tsx +129 -0
  150. package/src/stepper/stepper.spec.tsx +42 -0
  151. package/src/stepper/templates/stepper-normal.tsx +19 -0
  152. package/src/stepper/templates/stepper-vertical.tsx +19 -0
  153. package/src/stepper/tests/stepper-horizontal-rtl.tsx +30 -156
  154. package/src/stepper/tests/stepper-states.tsx +31 -411
  155. package/src/stepper/tests/stepper-vertical-rtl.tsx +28 -120
  156. package/src/stepper/tests/stepper-vertical.tsx +41 -157
  157. package/src/stepper/tests/stepper.tsx +42 -241
  158. package/src/taskboard/index.ts +6 -0
  159. package/src/taskboard/taskboard-card.tsx +48 -0
  160. package/src/taskboard/taskboard-column.tsx +70 -0
  161. package/src/taskboard/taskboard-pane.tsx +68 -0
  162. package/src/taskboard/taskboard-toolbar.tsx +39 -0
  163. package/src/taskboard/taskboard.spec.tsx +94 -0
  164. package/src/taskboard/templates/taskboard-normal.tsx +70 -0
  165. package/src/taskboard/tests/taskboard-card.tsx +55 -130
  166. package/src/taskboard/tests/taskboard-column.tsx +93 -164
  167. package/src/taskboard/tests/taskboard-pane.tsx +3 -235
  168. package/src/taskboard/tests/taskboard-resources.tsx +22 -42
  169. package/src/taskboard/tests/taskboard-rtl.tsx +3 -126
  170. package/src/taskboard/tests/taskboard.tsx +2 -116
  171. package/src/wizard/index.ts +5 -0
  172. package/src/wizard/templates/wizard-normal.tsx +19 -0
  173. package/src/wizard/templates/wizard-vertical.tsx +20 -0
  174. package/src/wizard/tests/wizard-horizontal.tsx +20 -304
  175. package/src/wizard/tests/wizard-vertical.tsx +38 -472
  176. package/src/wizard/wizard-step.tsx +69 -0
  177. package/src/wizard/wizard-steps.tsx +29 -0
  178. package/src/wizard/wizard.spec.tsx +55 -0
@@ -130,11 +130,75 @@ var States = {
130
130
  "readonly": "readonly"
131
131
  };
132
132
 
133
- // src/icon/font-icon.spec.tsx
133
+ // src/stepper/stepper.spec.tsx
134
134
  var import_jsx_runtime = require("react/jsx-runtime");
135
- var FONTICON_CLASSNAME = `k-icon k-font-icon`;
135
+ var STEPPER_CLASSNAME = "k-stepper";
136
136
  var states = [];
137
- var options = {
137
+ var options = {};
138
+ var defaultProps = {};
139
+ var Stepper = (props) => {
140
+ const {
141
+ style: style2,
142
+ ...other
143
+ } = props;
144
+ return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
145
+ "nav",
146
+ {
147
+ ...other,
148
+ style: style2,
149
+ className: classNames(
150
+ props.className,
151
+ STEPPER_CLASSNAME
152
+ ),
153
+ children: props.children
154
+ }
155
+ );
156
+ };
157
+ Stepper.options = options;
158
+ Stepper.states = states;
159
+ Stepper.className = STEPPER_CLASSNAME;
160
+ Stepper.defaultProps = defaultProps;
161
+
162
+ // src/stepper/step-list.tsx
163
+ var import_jsx_runtime2 = require("react/jsx-runtime");
164
+ var STEPLIST_CLASSNAME = "k-step-list";
165
+ var states2 = [];
166
+ var options2 = {};
167
+ var defaultProps2 = {
168
+ orientation: "horizontal"
169
+ };
170
+ var StepList = (props) => {
171
+ const {
172
+ style: style2,
173
+ orientation = defaultProps2.orientation,
174
+ ...other
175
+ } = props;
176
+ return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
177
+ "ol",
178
+ {
179
+ ...other,
180
+ style: style2,
181
+ className: classNames(
182
+ props.className,
183
+ STEPLIST_CLASSNAME,
184
+ {
185
+ [`${STEPLIST_CLASSNAME}-${orientation}`]: orientation
186
+ }
187
+ ),
188
+ children: props.children
189
+ }
190
+ );
191
+ };
192
+ StepList.options = options2;
193
+ StepList.states = states2;
194
+ StepList.className = STEPLIST_CLASSNAME;
195
+ StepList.defaultProps = defaultProps2;
196
+
197
+ // src/icon/font-icon.spec.tsx
198
+ var import_jsx_runtime3 = require("react/jsx-runtime");
199
+ var FONTICON_CLASSNAME = `k-icon k-font-icon`;
200
+ var states3 = [];
201
+ var options3 = {
138
202
  size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
139
203
  themeColor: [
140
204
  ThemeColor.base,
@@ -149,7 +213,7 @@ var options = {
149
213
  ThemeColor.dark
150
214
  ]
151
215
  };
152
- var defaultProps = {};
216
+ var defaultProps3 = {};
153
217
  var FontIcon = (props) => {
154
218
  const {
155
219
  size,
@@ -160,9 +224,9 @@ var FontIcon = (props) => {
160
224
  ...other
161
225
  } = props;
162
226
  if (!icon) {
163
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(import_jsx_runtime.Fragment, {});
227
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {});
164
228
  }
165
- return /* @__PURE__ */ (0, import_jsx_runtime.jsx)(
229
+ return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(
166
230
  "span",
167
231
  {
168
232
  ...other,
@@ -183,17 +247,17 @@ var FontIcon = (props) => {
183
247
  }
184
248
  );
185
249
  };
186
- FontIcon.states = states;
187
- FontIcon.options = options;
250
+ FontIcon.states = states3;
251
+ FontIcon.options = options3;
188
252
  FontIcon.className = FONTICON_CLASSNAME;
189
- FontIcon.defaultProps = defaultProps;
253
+ FontIcon.defaultProps = defaultProps3;
190
254
  var font_icon_spec_default = FontIcon;
191
255
 
192
256
  // src/icon/svg-icon.spec.tsx
193
- var import_jsx_runtime2 = require("react/jsx-runtime");
257
+ var import_jsx_runtime4 = require("react/jsx-runtime");
194
258
  var SVGICON_CLASSNAME = `k-icon k-svg-icon`;
195
- var states2 = [];
196
- var options2 = {
259
+ var states4 = [];
260
+ var options4 = {
197
261
  size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
198
262
  themeColor: [
199
263
  ThemeColor.base,
@@ -208,7 +272,7 @@ var options2 = {
208
272
  ThemeColor.dark
209
273
  ]
210
274
  };
211
- var defaultProps2 = {
275
+ var defaultProps4 = {
212
276
  viewBox: "0 0 24 24"
213
277
  };
214
278
  var SvgIcon = (props) => {
@@ -217,15 +281,15 @@ var SvgIcon = (props) => {
217
281
  themeColor,
218
282
  rotate,
219
283
  flip,
220
- viewBox = defaultProps2.viewBox,
284
+ viewBox = defaultProps4.viewBox,
221
285
  icon,
222
286
  ...other
223
287
  } = props;
224
288
  if (!icon) {
225
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(import_jsx_runtime2.Fragment, {});
289
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(import_jsx_runtime4.Fragment, {});
226
290
  }
227
291
  if (icon === "none") {
228
- /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
292
+ /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
229
293
  "span",
230
294
  {
231
295
  ...other,
@@ -238,7 +302,7 @@ var SvgIcon = (props) => {
238
302
  );
239
303
  }
240
304
  const name = typeof icon === "object" && icon.name && icon.name;
241
- return /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
305
+ return /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
242
306
  "span",
243
307
  {
244
308
  ...other,
@@ -256,7 +320,7 @@ var SvgIcon = (props) => {
256
320
  "k-flip-v": flip === "v" || flip === "both"
257
321
  }
258
322
  ),
259
- children: /* @__PURE__ */ (0, import_jsx_runtime2.jsx)(
323
+ children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
260
324
  "svg",
261
325
  {
262
326
  "aria-hidden": true,
@@ -270,10 +334,10 @@ var SvgIcon = (props) => {
270
334
  }
271
335
  );
272
336
  };
273
- SvgIcon.states = states2;
274
- SvgIcon.options = options2;
337
+ SvgIcon.states = states4;
338
+ SvgIcon.options = options4;
275
339
  SvgIcon.className = SVGICON_CLASSNAME;
276
- SvgIcon.defaultProps = defaultProps2;
340
+ SvgIcon.defaultProps = defaultProps4;
277
341
  var svg_icon_spec_default = SvgIcon;
278
342
 
279
343
  // ../../node_modules/@progress/kendo-svg-icons/dist/index.es.js
@@ -4308,13 +4372,13 @@ var chartChoroplethIcon = {
4308
4372
  };
4309
4373
 
4310
4374
  // src/icon/icon.spec.tsx
4311
- var import_jsx_runtime3 = require("react/jsx-runtime");
4375
+ var import_jsx_runtime5 = require("react/jsx-runtime");
4312
4376
  var snakeToCamel = (str) => str.toLowerCase().replace(
4313
4377
  /([-_][a-z])/g,
4314
4378
  (group) => group.toUpperCase().replace("-", "").replace("_", "")
4315
4379
  );
4316
- var states3 = [];
4317
- var options3 = {
4380
+ var states5 = [];
4381
+ var options5 = {
4318
4382
  size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
4319
4383
  themeColor: [
4320
4384
  ThemeColor.base,
@@ -4329,7 +4393,7 @@ var options3 = {
4329
4393
  ThemeColor.dark
4330
4394
  ]
4331
4395
  };
4332
- var defaultProps3 = {
4396
+ var defaultProps5 = {
4333
4397
  viewBox: "0 0 24 24",
4334
4398
  type: "svg"
4335
4399
  };
@@ -4338,151 +4402,113 @@ var Icon = (props) => {
4338
4402
  size,
4339
4403
  themeColor,
4340
4404
  icon,
4341
- type = defaultProps3.type,
4405
+ type = defaultProps5.type,
4342
4406
  rotate,
4343
4407
  flip,
4344
- viewBox = defaultProps3.viewBox,
4408
+ viewBox = defaultProps5.viewBox,
4345
4409
  ...other
4346
4410
  } = props;
4347
4411
  if (!icon) {
4348
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {});
4412
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, {});
4349
4413
  }
4350
4414
  if (type === "svg") {
4351
4415
  if (icon === "none") {
4352
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(svg_icon_spec_default, { ...other, icon, size });
4416
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(svg_icon_spec_default, { ...other, icon, size });
4353
4417
  }
4354
4418
  const iconSVG = snakeToCamel(`${icon}-icon`);
4355
4419
  if (!index_es_exports[iconSVG]) {
4356
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(import_jsx_runtime3.Fragment, {});
4420
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(import_jsx_runtime5.Fragment, {});
4357
4421
  }
4358
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(svg_icon_spec_default, { ...other, icon: index_es_exports[iconSVG], size, themeColor, rotate, flip, viewBox });
4422
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(svg_icon_spec_default, { ...other, icon: index_es_exports[iconSVG], size, themeColor, rotate, flip, viewBox });
4359
4423
  }
4360
- return /* @__PURE__ */ (0, import_jsx_runtime3.jsx)(font_icon_spec_default, { ...other, icon, size, themeColor, rotate, flip });
4424
+ return /* @__PURE__ */ (0, import_jsx_runtime5.jsx)(font_icon_spec_default, { ...other, icon, size, themeColor, rotate, flip });
4361
4425
  };
4362
- Icon.states = states3;
4363
- Icon.options = options3;
4364
- Icon.defaultProps = defaultProps3;
4426
+ Icon.states = states5;
4427
+ Icon.options = options5;
4428
+ Icon.defaultProps = defaultProps5;
4365
4429
 
4366
- // src/button/button.spec.tsx
4367
- var import_jsx_runtime4 = require("react/jsx-runtime");
4368
- var BUTTON_CLASSNAME = `k-button`;
4369
- var states4 = [
4430
+ // src/stepper/step.tsx
4431
+ var import_jsx_runtime6 = require("react/jsx-runtime");
4432
+ var STEP_CLASSNAME = "k-step";
4433
+ var states6 = [
4434
+ States.disabled,
4370
4435
  States.hover,
4371
4436
  States.focus,
4372
- States.active,
4373
- States.selected,
4374
- States.disabled
4437
+ States.invalid,
4438
+ States.valid
4375
4439
  ];
4376
- var options4 = {
4377
- size: [Size.small, Size.medium, Size.large],
4378
- rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
4379
- fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
4380
- themeColor: [
4381
- ThemeColor.base,
4382
- ThemeColor.primary,
4383
- ThemeColor.secondary,
4384
- ThemeColor.tertiary,
4385
- ThemeColor.success,
4386
- ThemeColor.warning,
4387
- ThemeColor.error,
4388
- ThemeColor.info,
4389
- ThemeColor.light,
4390
- ThemeColor.dark,
4391
- ThemeColor.inverse
4392
- ]
4393
- };
4394
- var defaultProps4 = {
4395
- size: Size.medium,
4396
- rounded: Roundness.medium,
4397
- fillMode: FillMode.solid,
4398
- themeColor: ThemeColor.base,
4399
- showArrow: false,
4400
- arrowIconName: "caret-alt-down"
4401
- };
4402
- var Button = (props) => {
4440
+ var options6 = {};
4441
+ var defaultProps6 = {};
4442
+ var Step = (props) => {
4403
4443
  const {
4404
- size = defaultProps4.size,
4405
- rounded = defaultProps4.rounded,
4406
- fillMode = defaultProps4.fillMode,
4407
- themeColor = defaultProps4.themeColor,
4444
+ style: style2,
4445
+ disabled,
4408
4446
  hover,
4409
4447
  focus,
4410
- active,
4411
- selected,
4412
- disabled,
4413
- icon,
4448
+ invalid,
4449
+ valid,
4450
+ optional,
4451
+ first,
4452
+ done,
4453
+ current,
4454
+ last,
4455
+ label,
4414
4456
  text,
4415
- iconClassName,
4416
- showArrow = defaultProps4.showArrow,
4417
- arrowIconName = defaultProps4.arrowIconName,
4457
+ icon,
4458
+ stepContent,
4418
4459
  ...other
4419
4460
  } = props;
4420
- const hasIcon = icon !== void 0;
4421
- const hasChildren = props.children !== void 0;
4422
- return /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(
4423
- "button",
4461
+ const iconName = invalid ? "warning-circle" : "check-circle";
4462
+ const renderValidationIcon = Boolean(valid || invalid);
4463
+ return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
4464
+ "li",
4424
4465
  {
4425
4466
  ...other,
4467
+ style: style2,
4426
4468
  className: classNames(
4427
4469
  props.className,
4428
- BUTTON_CLASSNAME,
4429
- optionClassNames(BUTTON_CLASSNAME, {
4430
- size,
4431
- rounded,
4432
- fillMode,
4433
- themeColor
4434
- }),
4435
- stateClassNames(BUTTON_CLASSNAME, {
4436
- hover,
4437
- focus,
4438
- active,
4439
- disabled,
4440
- selected
4441
- }),
4470
+ STEP_CLASSNAME,
4442
4471
  {
4443
- ["k-icon-button"]: !text && !hasChildren && hasIcon
4444
- }
4472
+ [`${STEP_CLASSNAME}-done`]: done,
4473
+ [`${STEP_CLASSNAME}-first`]: first,
4474
+ [`${STEP_CLASSNAME}-current`]: current,
4475
+ [`${STEP_CLASSNAME}-last`]: last,
4476
+ [`${STEP_CLASSNAME}-optional`]: optional,
4477
+ [`${STEP_CLASSNAME}-success`]: valid,
4478
+ [`${STEP_CLASSNAME}-error`]: invalid
4479
+ },
4480
+ stateClassNames(STEP_CLASSNAME, { hover, focus, disabled })
4445
4481
  ),
4446
4482
  children: [
4447
- icon && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(
4448
- Icon,
4449
- {
4450
- className: classNames(iconClassName, "k-button-icon"),
4451
- icon
4452
- }
4453
- ),
4454
- text ? /* @__PURE__ */ (0, import_jsx_runtime4.jsxs)(import_jsx_runtime4.Fragment, { children: [
4455
- text && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-button-text", children: text }),
4456
- props.children
4457
- ] }) : props.children && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-button-text", children: props.children }),
4458
- showArrow && /* @__PURE__ */ (0, import_jsx_runtime4.jsx)("span", { className: "k-menu-button-arrow k-button-arrow", children: /* @__PURE__ */ (0, import_jsx_runtime4.jsx)(Icon, { icon: arrowIconName }) })
4483
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("a", { href: "#", className: "k-step-link", children: [
4484
+ text && !icon && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "k-step-indicator", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "k-step-indicator-text", children: text }) }),
4485
+ icon && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "k-step-indicator", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon, { className: "k-step-indicator-icon", icon }) }),
4486
+ optional && !label && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "k-step-label", children: /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "k-step-label-optional", children: "(Optional)" }) }),
4487
+ label && /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)("span", { className: "k-step-label", children: [
4488
+ /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "k-step-text", children: label }),
4489
+ renderValidationIcon && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon, { icon: iconName }),
4490
+ optional && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "k-step-label-optional", children: "(Optional)" })
4491
+ ] })
4492
+ ] }),
4493
+ stepContent && /* @__PURE__ */ (0, import_jsx_runtime6.jsx)("div", { className: "k-step-content", style: { height: "140px" }, children: stepContent })
4459
4494
  ]
4460
4495
  }
4461
4496
  );
4462
4497
  };
4463
- Button.states = states4;
4464
- Button.options = options4;
4465
- Button.className = BUTTON_CLASSNAME;
4466
- Button.defaultProps = defaultProps4;
4467
-
4468
- // src/button/templates/icon-button.tsx
4469
- var import_jsx_runtime5 = require("react/jsx-runtime");
4470
-
4471
- // src/button/templates/icon-text-button.tsx
4472
- var import_jsx_runtime6 = require("react/jsx-runtime");
4473
-
4474
- // src/button/templates/text-button.tsx
4475
- var import_jsx_runtime7 = require("react/jsx-runtime");
4498
+ Step.options = options6;
4499
+ Step.states = states6;
4500
+ Step.className = STEP_CLASSNAME;
4501
+ Step.defaultProps = defaultProps6;
4476
4502
 
4477
4503
  // src/progressbar/progressbar.spec.tsx
4478
- var import_jsx_runtime8 = require("react/jsx-runtime");
4504
+ var import_jsx_runtime7 = require("react/jsx-runtime");
4479
4505
  var PROGRESSBAR_CLASSNAME = `k-progressbar`;
4480
- var states5 = [
4506
+ var states7 = [
4481
4507
  States.disabled,
4482
4508
  States.indeterminate
4483
4509
  ];
4484
- var options5 = {};
4485
- var defaultProps5 = {
4510
+ var options7 = {};
4511
+ var defaultProps7 = {
4486
4512
  indeterminate: false,
4487
4513
  label: true,
4488
4514
  labelPosition: "start",
@@ -4494,16 +4520,16 @@ var ProgressBar = (props) => {
4494
4520
  const {
4495
4521
  disabled,
4496
4522
  height,
4497
- indeterminate = defaultProps5.indeterminate,
4498
- label = defaultProps5.label,
4499
- labelPosition = defaultProps5.labelPosition,
4500
- orientation = defaultProps5.orientation,
4501
- reverse = defaultProps5.reverse,
4502
- value = defaultProps5.value,
4523
+ indeterminate = defaultProps7.indeterminate,
4524
+ label = defaultProps7.label,
4525
+ labelPosition = defaultProps7.labelPosition,
4526
+ orientation = defaultProps7.orientation,
4527
+ reverse = defaultProps7.reverse,
4528
+ value = defaultProps7.value,
4503
4529
  width,
4504
4530
  ...other
4505
4531
  } = props;
4506
- return /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)(
4532
+ return /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(
4507
4533
  "div",
4508
4534
  {
4509
4535
  ...other,
@@ -4521,21 +4547,21 @@ var ProgressBar = (props) => {
4521
4547
  ),
4522
4548
  style: orientation === "horizontal" ? { "--kendo-progressbar-value": value, height } : { "--kendo-progressbar-value": value, width },
4523
4549
  children: [
4524
- /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: classNames(
4550
+ /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: classNames(
4525
4551
  "k-progress-status-wrap",
4526
4552
  {
4527
4553
  [`k-progress-${labelPosition}`]: labelPosition && !indeterminate
4528
4554
  }
4529
- ), children: label && /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "k-progress-status", children: [
4555
+ ), children: label && /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "k-progress-status", children: [
4530
4556
  value,
4531
4557
  "%"
4532
4558
  ] }) }),
4533
- !indeterminate && /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("div", { className: "k-progressbar-value k-selected", children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("span", { className: classNames(
4559
+ !indeterminate && /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "k-progressbar-value k-selected", children: /* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { className: classNames(
4534
4560
  "k-progress-status-wrap",
4535
4561
  {
4536
4562
  [`k-progress-${labelPosition}`]: labelPosition
4537
4563
  }
4538
- ), children: label && /* @__PURE__ */ (0, import_jsx_runtime8.jsxs)("span", { className: "k-progress-status", children: [
4564
+ ), children: label && /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "k-progress-status", children: [
4539
4565
  props.value,
4540
4566
  "%"
4541
4567
  ] }) }) })
@@ -4543,22 +4569,22 @@ var ProgressBar = (props) => {
4543
4569
  }
4544
4570
  );
4545
4571
  };
4546
- ProgressBar.states = states5;
4547
- ProgressBar.options = options5;
4572
+ ProgressBar.states = states7;
4573
+ ProgressBar.options = options7;
4548
4574
  ProgressBar.className = PROGRESSBAR_CLASSNAME;
4549
- ProgressBar.defaultProps = defaultProps5;
4575
+ ProgressBar.defaultProps = defaultProps7;
4550
4576
  var progressbar_spec_default = ProgressBar;
4551
4577
 
4552
4578
  // src/progressbar/chunk-progressbar.spec.tsx
4553
- var import_jsx_runtime9 = require("react/jsx-runtime");
4579
+ var import_jsx_runtime8 = require("react/jsx-runtime");
4554
4580
  var CHUNKPROGRESSBAR_CLASSNAME = `k-chunk-progressbar`;
4555
4581
  var isSelected = (progress, index) => index <= progress - 1 ? true : false;
4556
- var states6 = [
4582
+ var states8 = [
4557
4583
  States.disabled,
4558
4584
  States.indeterminate
4559
4585
  ];
4560
- var options6 = {};
4561
- var defaultProps6 = {
4586
+ var options8 = {};
4587
+ var defaultProps8 = {
4562
4588
  chunkCount: 5,
4563
4589
  orientation: "horizontal",
4564
4590
  progress: 0
@@ -4566,14 +4592,14 @@ var defaultProps6 = {
4566
4592
  var ChunkProgressBar = (props) => {
4567
4593
  const {
4568
4594
  disabled,
4569
- chunkCount = defaultProps6.chunkCount,
4595
+ chunkCount = defaultProps8.chunkCount,
4570
4596
  indeterminate,
4571
- orientation = defaultProps6.orientation,
4572
- progress = defaultProps6.progress,
4597
+ orientation = defaultProps8.orientation,
4598
+ progress = defaultProps8.progress,
4573
4599
  reverse,
4574
4600
  ...other
4575
4601
  } = props;
4576
- return /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
4602
+ return /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
4577
4603
  "div",
4578
4604
  {
4579
4605
  ...other,
@@ -4590,8 +4616,8 @@ var ChunkProgressBar = (props) => {
4590
4616
  [`${PROGRESSBAR_CLASSNAME}-reverse`]: reverse
4591
4617
  }
4592
4618
  ),
4593
- children: /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("ul", { className: "k-progressbar-chunks k-reset", children: [...Array(chunkCount)].map(
4594
- (_el, i) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)("li", { className: classNames(
4619
+ children: /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("ul", { className: "k-progressbar-chunks k-reset", children: [...Array(chunkCount)].map(
4620
+ (_el, i) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)("li", { className: classNames(
4595
4621
  "k-progressbar-chunk",
4596
4622
  {
4597
4623
  "k-first": i === 0,
@@ -4603,20 +4629,152 @@ var ChunkProgressBar = (props) => {
4603
4629
  }
4604
4630
  );
4605
4631
  };
4606
- ChunkProgressBar.states = states6;
4607
- ChunkProgressBar.options = options6;
4632
+ ChunkProgressBar.states = states8;
4633
+ ChunkProgressBar.options = options8;
4608
4634
  ChunkProgressBar.className = CHUNKPROGRESSBAR_CLASSNAME;
4609
- ChunkProgressBar.defaultProps = defaultProps6;
4635
+ ChunkProgressBar.defaultProps = defaultProps8;
4610
4636
 
4611
4637
  // src/progressbar/templates/progressbar-normal.tsx
4612
- var import_jsx_runtime10 = require("react/jsx-runtime");
4613
- var ProgressBarNormal = (props) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(progressbar_spec_default, { ...props });
4638
+ var import_jsx_runtime9 = require("react/jsx-runtime");
4639
+ var ProgressBarNormal = (props) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(progressbar_spec_default, { ...props });
4614
4640
 
4615
4641
  // src/progressbar/templates/chunk-progressbar-normal.tsx
4642
+ var import_jsx_runtime10 = require("react/jsx-runtime");
4643
+
4644
+ // src/stepper/templates/stepper-normal.tsx
4616
4645
  var import_jsx_runtime11 = require("react/jsx-runtime");
4617
4646
 
4618
- // src/stepper/tests/stepper-vertical.tsx
4647
+ // src/stepper/templates/stepper-vertical.tsx
4619
4648
  var import_jsx_runtime12 = require("react/jsx-runtime");
4649
+ var StepperVertical = ({ gridTemplateRows = "repeat(3, 1fr)", ...other }) => /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(
4650
+ Stepper,
4651
+ {
4652
+ style: { display: "grid", gridTemplateRows },
4653
+ children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
4654
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(StepList, { orientation: "vertical", style: { gridRowStart: "1", gridRowEnd: "-1" }, children: [
4655
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Step, { first: true, done: true, icon: "check", style: { maxHeight: "33.333%" } }),
4656
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Step, { current: true, focus: true, text: "2", style: { maxHeight: "33.333%" } }),
4657
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Step, { last: true, optional: true, text: "3", style: { maxHeight: "33.333%" } })
4658
+ ] }),
4659
+ /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ProgressBarNormal, { orientation: "vertical", reverse: true, label: false, value: "50" })
4660
+ ] }),
4661
+ ...other
4662
+ }
4663
+ );
4664
+
4665
+ // src/button/button.spec.tsx
4666
+ var import_jsx_runtime13 = require("react/jsx-runtime");
4667
+ var BUTTON_CLASSNAME = `k-button`;
4668
+ var states9 = [
4669
+ States.hover,
4670
+ States.focus,
4671
+ States.active,
4672
+ States.selected,
4673
+ States.disabled
4674
+ ];
4675
+ var options9 = {
4676
+ size: [Size.small, Size.medium, Size.large],
4677
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
4678
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
4679
+ themeColor: [
4680
+ ThemeColor.base,
4681
+ ThemeColor.primary,
4682
+ ThemeColor.secondary,
4683
+ ThemeColor.tertiary,
4684
+ ThemeColor.success,
4685
+ ThemeColor.warning,
4686
+ ThemeColor.error,
4687
+ ThemeColor.info,
4688
+ ThemeColor.light,
4689
+ ThemeColor.dark,
4690
+ ThemeColor.inverse
4691
+ ]
4692
+ };
4693
+ var defaultProps9 = {
4694
+ size: Size.medium,
4695
+ rounded: Roundness.medium,
4696
+ fillMode: FillMode.solid,
4697
+ themeColor: ThemeColor.base,
4698
+ showArrow: false,
4699
+ arrowIconName: "caret-alt-down"
4700
+ };
4701
+ var Button = (props) => {
4702
+ const {
4703
+ size = defaultProps9.size,
4704
+ rounded = defaultProps9.rounded,
4705
+ fillMode = defaultProps9.fillMode,
4706
+ themeColor = defaultProps9.themeColor,
4707
+ hover,
4708
+ focus,
4709
+ active,
4710
+ selected,
4711
+ disabled,
4712
+ icon,
4713
+ text,
4714
+ iconClassName,
4715
+ showArrow = defaultProps9.showArrow,
4716
+ arrowIconName = defaultProps9.arrowIconName,
4717
+ ...other
4718
+ } = props;
4719
+ const hasIcon = icon !== void 0;
4720
+ const hasChildren = props.children !== void 0;
4721
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(
4722
+ "button",
4723
+ {
4724
+ ...other,
4725
+ className: classNames(
4726
+ props.className,
4727
+ BUTTON_CLASSNAME,
4728
+ optionClassNames(BUTTON_CLASSNAME, {
4729
+ size,
4730
+ rounded,
4731
+ fillMode,
4732
+ themeColor
4733
+ }),
4734
+ stateClassNames(BUTTON_CLASSNAME, {
4735
+ hover,
4736
+ focus,
4737
+ active,
4738
+ disabled,
4739
+ selected
4740
+ }),
4741
+ {
4742
+ ["k-icon-button"]: !text && !hasChildren && hasIcon
4743
+ }
4744
+ ),
4745
+ children: [
4746
+ icon && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4747
+ Icon,
4748
+ {
4749
+ className: classNames(iconClassName, "k-button-icon"),
4750
+ icon
4751
+ }
4752
+ ),
4753
+ text ? /* @__PURE__ */ (0, import_jsx_runtime13.jsxs)(import_jsx_runtime13.Fragment, { children: [
4754
+ text && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "k-button-text", children: text }),
4755
+ props.children
4756
+ ] }) : props.children && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "k-button-text", children: props.children }),
4757
+ showArrow && /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("span", { className: "k-menu-button-arrow k-button-arrow", children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(Icon, { icon: arrowIconName }) })
4758
+ ]
4759
+ }
4760
+ );
4761
+ };
4762
+ Button.states = states9;
4763
+ Button.options = options9;
4764
+ Button.className = BUTTON_CLASSNAME;
4765
+ Button.defaultProps = defaultProps9;
4766
+
4767
+ // src/button/templates/icon-button.tsx
4768
+ var import_jsx_runtime14 = require("react/jsx-runtime");
4769
+
4770
+ // src/button/templates/icon-text-button.tsx
4771
+ var import_jsx_runtime15 = require("react/jsx-runtime");
4772
+
4773
+ // src/button/templates/text-button.tsx
4774
+ var import_jsx_runtime16 = require("react/jsx-runtime");
4775
+
4776
+ // src/stepper/tests/stepper-vertical.tsx
4777
+ var import_jsx_runtime17 = require("react/jsx-runtime");
4620
4778
  var style = `
4621
4779
  #test-area hr {
4622
4780
  width: 100%;
@@ -4629,93 +4787,66 @@ var style = `
4629
4787
  top: 17px;
4630
4788
  }
4631
4789
  `;
4632
- var stepper_vertical_default = () => /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)(import_jsx_runtime12.Fragment, { children: [
4633
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("style", { children: style }),
4634
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { id: "test-area", className: "k-d-grid k-grid-cols-4 k-bg-gray-100", children: [
4635
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { children: "Indicator" }),
4636
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { children: "Indicator + label" }),
4637
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { children: "Icon" }),
4638
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { children: "Label" }),
4639
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("nav", { className: "k-stepper k-widget", style: { display: "grid", gridTemplateRows: "repeat(3, 1fr)" }, children: [
4640
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("ol", { className: "k-step-list k-step-list-vertical", style: { gridRowStart: "1", gridRowEnd: "-1" }, children: [
4641
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("li", { className: "k-step k-step-first k-step-done", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("a", { href: "#", className: "k-step-link", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-indicator", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Icon, { className: "k-step-indicator-icon", icon: "check" }) }) }) }),
4642
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("li", { className: "k-step k-step-current k-focus", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("a", { href: "#", className: "k-step-link", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-indicator", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-indicator-text", children: "2" }) }) }) }),
4643
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("li", { className: "k-step k-step-last", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("a", { href: "#", className: "k-step-link", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-indicator", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-indicator-text", children: "3" }) }) }) })
4644
- ] }),
4645
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ProgressBarNormal, { orientation: "vertical", reverse: true, label: false, value: "40" })
4646
- ] }) }),
4647
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("nav", { className: "k-stepper k-widget", style: { display: "grid", gridTemplateRows: "repeat(3, 1fr)" }, children: [
4648
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("ol", { className: "k-step-list k-step-list-vertical", style: { gridRowStart: "1", gridRowEnd: "-1" }, children: [
4649
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("li", { className: "k-step k-step-first k-step-done k-step-success", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("a", { href: "#", className: "k-step-link", children: [
4650
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-indicator", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-indicator-text", children: "1" }) }),
4651
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("span", { className: "k-step-label", children: [
4652
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-text", children: "Account Info with too long text" }),
4653
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Icon, { icon: "check-circle" })
4654
- ] })
4655
- ] }) }),
4656
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("li", { className: "k-step k-step-current k-focus k-step-error", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("a", { href: "#", className: "k-step-link", children: [
4657
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-indicator", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-indicator-text", children: "2" }) }),
4658
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("span", { className: "k-step-label", children: [
4659
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-text", children: "Personal Info" }),
4660
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Icon, { className: "k-validation-icon", icon: "warning-circle" })
4661
- ] })
4662
- ] }) }),
4663
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("li", { className: "k-step k-step-last k-step-optional", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("a", { href: "#", className: "k-step-link", children: [
4664
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-indicator", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-indicator-text", children: "3" }) }),
4665
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("span", { className: "k-step-label", children: [
4666
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-text", children: "Payment Details" }),
4667
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-label-optional", children: "(Optional)" })
4668
- ] })
4669
- ] }) })
4790
+ var stepper_vertical_default = () => /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_jsx_runtime17.Fragment, { children: [
4791
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("style", { children: style }),
4792
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { id: "test-area", className: "k-d-grid k-grid-cols-4 k-bg-gray-100", children: [
4793
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { children: "Indicator" }),
4794
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { children: "Indicator + label" }),
4795
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { children: "Icon" }),
4796
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { children: "Label" }),
4797
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(StepperVertical, {}) }),
4798
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(StepperVertical, { children: [
4799
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(StepList, { orientation: "vertical", style: { gridRowStart: "1", gridRowEnd: "-1" }, children: [
4800
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Step, { first: true, done: true, valid: true, text: "1", label: "Account Info with too long label", style: { maxHeight: "33.333%" } }),
4801
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Step, { current: true, focus: true, invalid: true, text: "2", label: "Personal Info", style: { maxHeight: "33.333%" } }),
4802
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Step, { last: true, optional: true, text: "3", label: "Payment Details", style: { maxHeight: "33.333%" } })
4670
4803
  ] }),
4671
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ProgressBarNormal, { orientation: "vertical", reverse: true, label: false, value: "40" })
4804
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ProgressBarNormal, { orientation: "vertical", reverse: true, label: false, value: "40" })
4672
4805
  ] }) }),
4673
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("nav", { className: "k-stepper k-widget", style: { display: "grid", gridTemplateRows: "repeat(3, 1fr)" }, children: [
4674
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("ol", { className: "k-step-list k-step-list-vertical", style: { gridRowStart: "1", gridRowEnd: "-1" }, children: [
4675
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("li", { className: "k-step k-step-first k-step-done", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("a", { href: "#", className: "k-step-link", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-indicator", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Icon, { className: "k-step-indicator-icon", icon: "lock" }) }) }) }),
4676
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("li", { className: "k-step k-step-current k-focus", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("a", { href: "#", className: "k-step-link", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-indicator", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Icon, { className: "k-step-indicator-icon", icon: "user" }) }) }) }),
4677
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("li", { className: "k-step k-step-last", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("a", { href: "#", className: "k-step-link", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-indicator", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Icon, { className: "k-step-indicator-icon", icon: "track-changes" }) }) }) })
4806
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(StepperVertical, { children: [
4807
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(StepList, { orientation: "vertical", style: { gridRowStart: "1", gridRowEnd: "-1" }, children: [
4808
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Step, { first: true, done: true, icon: "lock", style: { maxHeight: "33.333%" } }),
4809
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Step, { current: true, focus: true, icon: "user", style: { maxHeight: "33.333%" } }),
4810
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Step, { last: true, optional: true, icon: "track-changes", style: { maxHeight: "33.333%" } })
4678
4811
  ] }),
4679
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ProgressBarNormal, { orientation: "vertical", reverse: true, label: false, value: "40" })
4812
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ProgressBarNormal, { orientation: "vertical", reverse: true, label: false, value: "40" })
4680
4813
  ] }) }),
4681
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("nav", { className: "k-stepper k-widget", style: { display: "grid", gridTemplateRows: "repeat(3, 1fr)" }, children: [
4682
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("ol", { className: "k-step-list k-step-list-vertical", style: { gridRowStart: "1", gridRowEnd: "-1" }, children: [
4683
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("li", { className: "k-step k-step-first k-step-done", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("a", { href: "#", className: "k-step-link", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-label", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-text", children: "Account Info" }) }) }) }),
4684
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("li", { className: "k-step k-step-current k-focus", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("a", { href: "#", className: "k-step-link", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-label", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-text", children: "Personal Info" }) }) }) }),
4685
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("li", { className: "k-step k-step-last", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("a", { href: "#", className: "k-step-link", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-label", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-text", children: "Payment Details" }) }) }) })
4814
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(StepperVertical, { children: [
4815
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(StepList, { orientation: "vertical", style: { gridRowStart: "1", gridRowEnd: "-1" }, children: [
4816
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Step, { first: true, done: true, label: "Account Info", style: { maxHeight: "33.333%" } }),
4817
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Step, { current: true, focus: true, label: "Personal Info", style: { maxHeight: "33.333%" } }),
4818
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Step, { last: true, optional: true, label: "Payment Details", style: { maxHeight: "33.333%" } })
4686
4819
  ] }),
4687
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ProgressBarNormal, { orientation: "vertical", reverse: true, label: false, value: "40" })
4820
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ProgressBarNormal, { orientation: "vertical", reverse: true, label: false, value: "40" })
4688
4821
  ] }) }),
4689
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("hr", {}),
4690
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "col-4", children: "Content Between Steps" }),
4691
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("section", { className: "col-4", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("nav", { className: "k-stepper k-widget", style: { display: "grid", gridTemplateRows: "repeat(3, 1fr)" }, children: [
4692
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("ol", { className: "k-step-list k-step-list-vertical", style: { gridRowStart: "1", gridRowEnd: "-1" }, children: [
4693
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("li", { className: "k-step k-step-first k-step-done k-step-success", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("a", { href: "#", className: "k-step-link", children: [
4694
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-indicator", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-indicator-text", children: "1" }) }),
4695
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-label", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-text", children: "Account Info" }) })
4696
- ] }) }),
4697
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("li", { className: "k-step k-step-current k-focus", style: { height: "auto" }, children: [
4698
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("a", { href: "#", className: "k-step-link", children: [
4699
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-indicator", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-indicator-text", children: "2" }) }),
4700
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-label", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-text", children: "Personal Info" }) })
4701
- ] }),
4702
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "k-step-content", style: { height: "140px" }, children: [
4703
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("div", { className: "content", children: "This is the first step of your wizard with inline content." }),
4704
- /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("div", { className: "navigation", children: [
4705
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Button, { children: "Close" }),
4706
- " ",
4707
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { children: "Step 2 of 3" }),
4708
- " ",
4709
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(Button, { children: "Next" })
4822
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("hr", {}),
4823
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "col-4", children: "Content Between Steps" }),
4824
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("section", { className: "col-4", children: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(StepperVertical, { children: [
4825
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(StepList, { orientation: "vertical", style: { gridRowStart: "1", gridRowEnd: "-1" }, children: [
4826
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Step, { done: true, first: true, text: "1", label: "Account Info", style: { maxHeight: "33.333%" } }),
4827
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(
4828
+ Step,
4829
+ {
4830
+ current: true,
4831
+ focus: true,
4832
+ text: "2",
4833
+ label: "Personal Info",
4834
+ style: { height: "auto" },
4835
+ stepContent: /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(import_jsx_runtime17.Fragment, { children: [
4836
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("div", { className: "content", children: "This is the first step of your wizard with inline content." }),
4837
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)("div", { className: "navigation", children: [
4838
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Button, { children: "Close" }),
4839
+ " ",
4840
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { children: "Step 2 of 3" }),
4841
+ " ",
4842
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Button, { children: "Next" })
4843
+ ] })
4710
4844
  ] })
4711
- ] })
4712
- ] }),
4713
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("li", { className: "k-step k-step-last", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ (0, import_jsx_runtime12.jsxs)("a", { href: "#", className: "k-step-link", children: [
4714
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-indicator", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-indicator-text", children: "3" }) }),
4715
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-label", children: /* @__PURE__ */ (0, import_jsx_runtime12.jsx)("span", { className: "k-step-text", children: "Payment Details" }) })
4716
- ] }) })
4845
+ }
4846
+ ),
4847
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Step, { last: true, text: "3", label: "Payment Details", style: { maxHeight: "33.333%" } })
4717
4848
  ] }),
4718
- /* @__PURE__ */ (0, import_jsx_runtime12.jsx)(ProgressBarNormal, { orientation: "vertical", reverse: true, label: false, value: "30" })
4849
+ /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(ProgressBarNormal, { orientation: "vertical", reverse: true, label: false, value: "30" })
4719
4850
  ] }) })
4720
4851
  ] })
4721
4852
  ] });