@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
@@ -111,11 +111,75 @@ var States = {
111
111
  "readonly": "readonly"
112
112
  };
113
113
 
114
+ // src/stepper/stepper.spec.tsx
115
+ import { jsx } from "react/jsx-runtime";
116
+ var STEPPER_CLASSNAME = "k-stepper";
117
+ var states = [];
118
+ var options = {};
119
+ var defaultProps = {};
120
+ var Stepper = (props) => {
121
+ const {
122
+ style: style2,
123
+ ...other
124
+ } = props;
125
+ return /* @__PURE__ */ jsx(
126
+ "nav",
127
+ {
128
+ ...other,
129
+ style: style2,
130
+ className: classNames(
131
+ props.className,
132
+ STEPPER_CLASSNAME
133
+ ),
134
+ children: props.children
135
+ }
136
+ );
137
+ };
138
+ Stepper.options = options;
139
+ Stepper.states = states;
140
+ Stepper.className = STEPPER_CLASSNAME;
141
+ Stepper.defaultProps = defaultProps;
142
+
143
+ // src/stepper/step-list.tsx
144
+ import { jsx as jsx2 } from "react/jsx-runtime";
145
+ var STEPLIST_CLASSNAME = "k-step-list";
146
+ var states2 = [];
147
+ var options2 = {};
148
+ var defaultProps2 = {
149
+ orientation: "horizontal"
150
+ };
151
+ var StepList = (props) => {
152
+ const {
153
+ style: style2,
154
+ orientation = defaultProps2.orientation,
155
+ ...other
156
+ } = props;
157
+ return /* @__PURE__ */ jsx2(
158
+ "ol",
159
+ {
160
+ ...other,
161
+ style: style2,
162
+ className: classNames(
163
+ props.className,
164
+ STEPLIST_CLASSNAME,
165
+ {
166
+ [`${STEPLIST_CLASSNAME}-${orientation}`]: orientation
167
+ }
168
+ ),
169
+ children: props.children
170
+ }
171
+ );
172
+ };
173
+ StepList.options = options2;
174
+ StepList.states = states2;
175
+ StepList.className = STEPLIST_CLASSNAME;
176
+ StepList.defaultProps = defaultProps2;
177
+
114
178
  // src/icon/font-icon.spec.tsx
115
- import { Fragment, jsx } from "react/jsx-runtime";
179
+ import { Fragment, jsx as jsx3 } from "react/jsx-runtime";
116
180
  var FONTICON_CLASSNAME = `k-icon k-font-icon`;
117
- var states = [];
118
- var options = {
181
+ var states3 = [];
182
+ var options3 = {
119
183
  size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
120
184
  themeColor: [
121
185
  ThemeColor.base,
@@ -130,7 +194,7 @@ var options = {
130
194
  ThemeColor.dark
131
195
  ]
132
196
  };
133
- var defaultProps = {};
197
+ var defaultProps3 = {};
134
198
  var FontIcon = (props) => {
135
199
  const {
136
200
  size,
@@ -141,9 +205,9 @@ var FontIcon = (props) => {
141
205
  ...other
142
206
  } = props;
143
207
  if (!icon) {
144
- return /* @__PURE__ */ jsx(Fragment, {});
208
+ return /* @__PURE__ */ jsx3(Fragment, {});
145
209
  }
146
- return /* @__PURE__ */ jsx(
210
+ return /* @__PURE__ */ jsx3(
147
211
  "span",
148
212
  {
149
213
  ...other,
@@ -164,17 +228,17 @@ var FontIcon = (props) => {
164
228
  }
165
229
  );
166
230
  };
167
- FontIcon.states = states;
168
- FontIcon.options = options;
231
+ FontIcon.states = states3;
232
+ FontIcon.options = options3;
169
233
  FontIcon.className = FONTICON_CLASSNAME;
170
- FontIcon.defaultProps = defaultProps;
234
+ FontIcon.defaultProps = defaultProps3;
171
235
  var font_icon_spec_default = FontIcon;
172
236
 
173
237
  // src/icon/svg-icon.spec.tsx
174
- import { Fragment as Fragment2, jsx as jsx2 } from "react/jsx-runtime";
238
+ import { Fragment as Fragment2, jsx as jsx4 } from "react/jsx-runtime";
175
239
  var SVGICON_CLASSNAME = `k-icon k-svg-icon`;
176
- var states2 = [];
177
- var options2 = {
240
+ var states4 = [];
241
+ var options4 = {
178
242
  size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
179
243
  themeColor: [
180
244
  ThemeColor.base,
@@ -189,7 +253,7 @@ var options2 = {
189
253
  ThemeColor.dark
190
254
  ]
191
255
  };
192
- var defaultProps2 = {
256
+ var defaultProps4 = {
193
257
  viewBox: "0 0 24 24"
194
258
  };
195
259
  var SvgIcon = (props) => {
@@ -198,15 +262,15 @@ var SvgIcon = (props) => {
198
262
  themeColor,
199
263
  rotate,
200
264
  flip,
201
- viewBox = defaultProps2.viewBox,
265
+ viewBox = defaultProps4.viewBox,
202
266
  icon,
203
267
  ...other
204
268
  } = props;
205
269
  if (!icon) {
206
- return /* @__PURE__ */ jsx2(Fragment2, {});
270
+ return /* @__PURE__ */ jsx4(Fragment2, {});
207
271
  }
208
272
  if (icon === "none") {
209
- /* @__PURE__ */ jsx2(
273
+ /* @__PURE__ */ jsx4(
210
274
  "span",
211
275
  {
212
276
  ...other,
@@ -219,7 +283,7 @@ var SvgIcon = (props) => {
219
283
  );
220
284
  }
221
285
  const name = typeof icon === "object" && icon.name && icon.name;
222
- return /* @__PURE__ */ jsx2(
286
+ return /* @__PURE__ */ jsx4(
223
287
  "span",
224
288
  {
225
289
  ...other,
@@ -237,7 +301,7 @@ var SvgIcon = (props) => {
237
301
  "k-flip-v": flip === "v" || flip === "both"
238
302
  }
239
303
  ),
240
- children: /* @__PURE__ */ jsx2(
304
+ children: /* @__PURE__ */ jsx4(
241
305
  "svg",
242
306
  {
243
307
  "aria-hidden": true,
@@ -251,10 +315,10 @@ var SvgIcon = (props) => {
251
315
  }
252
316
  );
253
317
  };
254
- SvgIcon.states = states2;
255
- SvgIcon.options = options2;
318
+ SvgIcon.states = states4;
319
+ SvgIcon.options = options4;
256
320
  SvgIcon.className = SVGICON_CLASSNAME;
257
- SvgIcon.defaultProps = defaultProps2;
321
+ SvgIcon.defaultProps = defaultProps4;
258
322
  var svg_icon_spec_default = SvgIcon;
259
323
 
260
324
  // ../../node_modules/@progress/kendo-svg-icons/dist/index.es.js
@@ -4289,13 +4353,13 @@ var chartChoroplethIcon = {
4289
4353
  };
4290
4354
 
4291
4355
  // src/icon/icon.spec.tsx
4292
- import { Fragment as Fragment3, jsx as jsx3 } from "react/jsx-runtime";
4356
+ import { Fragment as Fragment3, jsx as jsx5 } from "react/jsx-runtime";
4293
4357
  var snakeToCamel = (str) => str.toLowerCase().replace(
4294
4358
  /([-_][a-z])/g,
4295
4359
  (group) => group.toUpperCase().replace("-", "").replace("_", "")
4296
4360
  );
4297
- var states3 = [];
4298
- var options3 = {
4361
+ var states5 = [];
4362
+ var options5 = {
4299
4363
  size: [Size.xsmall, Size.small, Size.medium, Size.large, Size.xlarge, Size.xxlarge, Size.xxxlarge],
4300
4364
  themeColor: [
4301
4365
  ThemeColor.base,
@@ -4310,7 +4374,7 @@ var options3 = {
4310
4374
  ThemeColor.dark
4311
4375
  ]
4312
4376
  };
4313
- var defaultProps3 = {
4377
+ var defaultProps5 = {
4314
4378
  viewBox: "0 0 24 24",
4315
4379
  type: "svg"
4316
4380
  };
@@ -4319,151 +4383,113 @@ var Icon = (props) => {
4319
4383
  size,
4320
4384
  themeColor,
4321
4385
  icon,
4322
- type = defaultProps3.type,
4386
+ type = defaultProps5.type,
4323
4387
  rotate,
4324
4388
  flip,
4325
- viewBox = defaultProps3.viewBox,
4389
+ viewBox = defaultProps5.viewBox,
4326
4390
  ...other
4327
4391
  } = props;
4328
4392
  if (!icon) {
4329
- return /* @__PURE__ */ jsx3(Fragment3, {});
4393
+ return /* @__PURE__ */ jsx5(Fragment3, {});
4330
4394
  }
4331
4395
  if (type === "svg") {
4332
4396
  if (icon === "none") {
4333
- return /* @__PURE__ */ jsx3(svg_icon_spec_default, { ...other, icon, size });
4397
+ return /* @__PURE__ */ jsx5(svg_icon_spec_default, { ...other, icon, size });
4334
4398
  }
4335
4399
  const iconSVG = snakeToCamel(`${icon}-icon`);
4336
4400
  if (!index_es_exports[iconSVG]) {
4337
- return /* @__PURE__ */ jsx3(Fragment3, {});
4401
+ return /* @__PURE__ */ jsx5(Fragment3, {});
4338
4402
  }
4339
- return /* @__PURE__ */ jsx3(svg_icon_spec_default, { ...other, icon: index_es_exports[iconSVG], size, themeColor, rotate, flip, viewBox });
4403
+ return /* @__PURE__ */ jsx5(svg_icon_spec_default, { ...other, icon: index_es_exports[iconSVG], size, themeColor, rotate, flip, viewBox });
4340
4404
  }
4341
- return /* @__PURE__ */ jsx3(font_icon_spec_default, { ...other, icon, size, themeColor, rotate, flip });
4405
+ return /* @__PURE__ */ jsx5(font_icon_spec_default, { ...other, icon, size, themeColor, rotate, flip });
4342
4406
  };
4343
- Icon.states = states3;
4344
- Icon.options = options3;
4345
- Icon.defaultProps = defaultProps3;
4407
+ Icon.states = states5;
4408
+ Icon.options = options5;
4409
+ Icon.defaultProps = defaultProps5;
4346
4410
 
4347
- // src/button/button.spec.tsx
4348
- import { Fragment as Fragment4, jsx as jsx4, jsxs } from "react/jsx-runtime";
4349
- var BUTTON_CLASSNAME = `k-button`;
4350
- var states4 = [
4411
+ // src/stepper/step.tsx
4412
+ import { jsx as jsx6, jsxs } from "react/jsx-runtime";
4413
+ var STEP_CLASSNAME = "k-step";
4414
+ var states6 = [
4415
+ States.disabled,
4351
4416
  States.hover,
4352
4417
  States.focus,
4353
- States.active,
4354
- States.selected,
4355
- States.disabled
4418
+ States.invalid,
4419
+ States.valid
4356
4420
  ];
4357
- var options4 = {
4358
- size: [Size.small, Size.medium, Size.large],
4359
- rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
4360
- fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
4361
- themeColor: [
4362
- ThemeColor.base,
4363
- ThemeColor.primary,
4364
- ThemeColor.secondary,
4365
- ThemeColor.tertiary,
4366
- ThemeColor.success,
4367
- ThemeColor.warning,
4368
- ThemeColor.error,
4369
- ThemeColor.info,
4370
- ThemeColor.light,
4371
- ThemeColor.dark,
4372
- ThemeColor.inverse
4373
- ]
4374
- };
4375
- var defaultProps4 = {
4376
- size: Size.medium,
4377
- rounded: Roundness.medium,
4378
- fillMode: FillMode.solid,
4379
- themeColor: ThemeColor.base,
4380
- showArrow: false,
4381
- arrowIconName: "caret-alt-down"
4382
- };
4383
- var Button = (props) => {
4421
+ var options6 = {};
4422
+ var defaultProps6 = {};
4423
+ var Step = (props) => {
4384
4424
  const {
4385
- size = defaultProps4.size,
4386
- rounded = defaultProps4.rounded,
4387
- fillMode = defaultProps4.fillMode,
4388
- themeColor = defaultProps4.themeColor,
4425
+ style: style2,
4426
+ disabled,
4389
4427
  hover,
4390
4428
  focus,
4391
- active,
4392
- selected,
4393
- disabled,
4394
- icon,
4429
+ invalid,
4430
+ valid,
4431
+ optional,
4432
+ first,
4433
+ done,
4434
+ current,
4435
+ last,
4436
+ label,
4395
4437
  text,
4396
- iconClassName,
4397
- showArrow = defaultProps4.showArrow,
4398
- arrowIconName = defaultProps4.arrowIconName,
4438
+ icon,
4439
+ stepContent,
4399
4440
  ...other
4400
4441
  } = props;
4401
- const hasIcon = icon !== void 0;
4402
- const hasChildren = props.children !== void 0;
4442
+ const iconName = invalid ? "warning-circle" : "check-circle";
4443
+ const renderValidationIcon = Boolean(valid || invalid);
4403
4444
  return /* @__PURE__ */ jsxs(
4404
- "button",
4445
+ "li",
4405
4446
  {
4406
4447
  ...other,
4448
+ style: style2,
4407
4449
  className: classNames(
4408
4450
  props.className,
4409
- BUTTON_CLASSNAME,
4410
- optionClassNames(BUTTON_CLASSNAME, {
4411
- size,
4412
- rounded,
4413
- fillMode,
4414
- themeColor
4415
- }),
4416
- stateClassNames(BUTTON_CLASSNAME, {
4417
- hover,
4418
- focus,
4419
- active,
4420
- disabled,
4421
- selected
4422
- }),
4451
+ STEP_CLASSNAME,
4423
4452
  {
4424
- ["k-icon-button"]: !text && !hasChildren && hasIcon
4425
- }
4453
+ [`${STEP_CLASSNAME}-done`]: done,
4454
+ [`${STEP_CLASSNAME}-first`]: first,
4455
+ [`${STEP_CLASSNAME}-current`]: current,
4456
+ [`${STEP_CLASSNAME}-last`]: last,
4457
+ [`${STEP_CLASSNAME}-optional`]: optional,
4458
+ [`${STEP_CLASSNAME}-success`]: valid,
4459
+ [`${STEP_CLASSNAME}-error`]: invalid
4460
+ },
4461
+ stateClassNames(STEP_CLASSNAME, { hover, focus, disabled })
4426
4462
  ),
4427
4463
  children: [
4428
- icon && /* @__PURE__ */ jsx4(
4429
- Icon,
4430
- {
4431
- className: classNames(iconClassName, "k-button-icon"),
4432
- icon
4433
- }
4434
- ),
4435
- text ? /* @__PURE__ */ jsxs(Fragment4, { children: [
4436
- text && /* @__PURE__ */ jsx4("span", { className: "k-button-text", children: text }),
4437
- props.children
4438
- ] }) : props.children && /* @__PURE__ */ jsx4("span", { className: "k-button-text", children: props.children }),
4439
- showArrow && /* @__PURE__ */ jsx4("span", { className: "k-menu-button-arrow k-button-arrow", children: /* @__PURE__ */ jsx4(Icon, { icon: arrowIconName }) })
4464
+ /* @__PURE__ */ jsxs("a", { href: "#", className: "k-step-link", children: [
4465
+ text && !icon && /* @__PURE__ */ jsx6("span", { className: "k-step-indicator", children: /* @__PURE__ */ jsx6("span", { className: "k-step-indicator-text", children: text }) }),
4466
+ icon && /* @__PURE__ */ jsx6("span", { className: "k-step-indicator", children: /* @__PURE__ */ jsx6(Icon, { className: "k-step-indicator-icon", icon }) }),
4467
+ optional && !label && /* @__PURE__ */ jsx6("span", { className: "k-step-label", children: /* @__PURE__ */ jsx6("span", { className: "k-step-label-optional", children: "(Optional)" }) }),
4468
+ label && /* @__PURE__ */ jsxs("span", { className: "k-step-label", children: [
4469
+ /* @__PURE__ */ jsx6("span", { className: "k-step-text", children: label }),
4470
+ renderValidationIcon && /* @__PURE__ */ jsx6(Icon, { icon: iconName }),
4471
+ optional && /* @__PURE__ */ jsx6("span", { className: "k-step-label-optional", children: "(Optional)" })
4472
+ ] })
4473
+ ] }),
4474
+ stepContent && /* @__PURE__ */ jsx6("div", { className: "k-step-content", style: { height: "140px" }, children: stepContent })
4440
4475
  ]
4441
4476
  }
4442
4477
  );
4443
4478
  };
4444
- Button.states = states4;
4445
- Button.options = options4;
4446
- Button.className = BUTTON_CLASSNAME;
4447
- Button.defaultProps = defaultProps4;
4448
-
4449
- // src/button/templates/icon-button.tsx
4450
- import { jsx as jsx5 } from "react/jsx-runtime";
4451
-
4452
- // src/button/templates/icon-text-button.tsx
4453
- import { jsx as jsx6 } from "react/jsx-runtime";
4454
-
4455
- // src/button/templates/text-button.tsx
4456
- import { jsx as jsx7 } from "react/jsx-runtime";
4479
+ Step.options = options6;
4480
+ Step.states = states6;
4481
+ Step.className = STEP_CLASSNAME;
4482
+ Step.defaultProps = defaultProps6;
4457
4483
 
4458
4484
  // src/progressbar/progressbar.spec.tsx
4459
- import { jsx as jsx8, jsxs as jsxs2 } from "react/jsx-runtime";
4485
+ import { jsx as jsx7, jsxs as jsxs2 } from "react/jsx-runtime";
4460
4486
  var PROGRESSBAR_CLASSNAME = `k-progressbar`;
4461
- var states5 = [
4487
+ var states7 = [
4462
4488
  States.disabled,
4463
4489
  States.indeterminate
4464
4490
  ];
4465
- var options5 = {};
4466
- var defaultProps5 = {
4491
+ var options7 = {};
4492
+ var defaultProps7 = {
4467
4493
  indeterminate: false,
4468
4494
  label: true,
4469
4495
  labelPosition: "start",
@@ -4475,12 +4501,12 @@ var ProgressBar = (props) => {
4475
4501
  const {
4476
4502
  disabled,
4477
4503
  height,
4478
- indeterminate = defaultProps5.indeterminate,
4479
- label = defaultProps5.label,
4480
- labelPosition = defaultProps5.labelPosition,
4481
- orientation = defaultProps5.orientation,
4482
- reverse = defaultProps5.reverse,
4483
- value = defaultProps5.value,
4504
+ indeterminate = defaultProps7.indeterminate,
4505
+ label = defaultProps7.label,
4506
+ labelPosition = defaultProps7.labelPosition,
4507
+ orientation = defaultProps7.orientation,
4508
+ reverse = defaultProps7.reverse,
4509
+ value = defaultProps7.value,
4484
4510
  width,
4485
4511
  ...other
4486
4512
  } = props;
@@ -4502,7 +4528,7 @@ var ProgressBar = (props) => {
4502
4528
  ),
4503
4529
  style: orientation === "horizontal" ? { "--kendo-progressbar-value": value, height } : { "--kendo-progressbar-value": value, width },
4504
4530
  children: [
4505
- /* @__PURE__ */ jsx8("span", { className: classNames(
4531
+ /* @__PURE__ */ jsx7("span", { className: classNames(
4506
4532
  "k-progress-status-wrap",
4507
4533
  {
4508
4534
  [`k-progress-${labelPosition}`]: labelPosition && !indeterminate
@@ -4511,7 +4537,7 @@ var ProgressBar = (props) => {
4511
4537
  value,
4512
4538
  "%"
4513
4539
  ] }) }),
4514
- !indeterminate && /* @__PURE__ */ jsx8("div", { className: "k-progressbar-value k-selected", children: /* @__PURE__ */ jsx8("span", { className: classNames(
4540
+ !indeterminate && /* @__PURE__ */ jsx7("div", { className: "k-progressbar-value k-selected", children: /* @__PURE__ */ jsx7("span", { className: classNames(
4515
4541
  "k-progress-status-wrap",
4516
4542
  {
4517
4543
  [`k-progress-${labelPosition}`]: labelPosition
@@ -4524,22 +4550,22 @@ var ProgressBar = (props) => {
4524
4550
  }
4525
4551
  );
4526
4552
  };
4527
- ProgressBar.states = states5;
4528
- ProgressBar.options = options5;
4553
+ ProgressBar.states = states7;
4554
+ ProgressBar.options = options7;
4529
4555
  ProgressBar.className = PROGRESSBAR_CLASSNAME;
4530
- ProgressBar.defaultProps = defaultProps5;
4556
+ ProgressBar.defaultProps = defaultProps7;
4531
4557
  var progressbar_spec_default = ProgressBar;
4532
4558
 
4533
4559
  // src/progressbar/chunk-progressbar.spec.tsx
4534
- import { jsx as jsx9 } from "react/jsx-runtime";
4560
+ import { jsx as jsx8 } from "react/jsx-runtime";
4535
4561
  var CHUNKPROGRESSBAR_CLASSNAME = `k-chunk-progressbar`;
4536
4562
  var isSelected = (progress, index) => index <= progress - 1 ? true : false;
4537
- var states6 = [
4563
+ var states8 = [
4538
4564
  States.disabled,
4539
4565
  States.indeterminate
4540
4566
  ];
4541
- var options6 = {};
4542
- var defaultProps6 = {
4567
+ var options8 = {};
4568
+ var defaultProps8 = {
4543
4569
  chunkCount: 5,
4544
4570
  orientation: "horizontal",
4545
4571
  progress: 0
@@ -4547,14 +4573,14 @@ var defaultProps6 = {
4547
4573
  var ChunkProgressBar = (props) => {
4548
4574
  const {
4549
4575
  disabled,
4550
- chunkCount = defaultProps6.chunkCount,
4576
+ chunkCount = defaultProps8.chunkCount,
4551
4577
  indeterminate,
4552
- orientation = defaultProps6.orientation,
4553
- progress = defaultProps6.progress,
4578
+ orientation = defaultProps8.orientation,
4579
+ progress = defaultProps8.progress,
4554
4580
  reverse,
4555
4581
  ...other
4556
4582
  } = props;
4557
- return /* @__PURE__ */ jsx9(
4583
+ return /* @__PURE__ */ jsx8(
4558
4584
  "div",
4559
4585
  {
4560
4586
  ...other,
@@ -4571,8 +4597,8 @@ var ChunkProgressBar = (props) => {
4571
4597
  [`${PROGRESSBAR_CLASSNAME}-reverse`]: reverse
4572
4598
  }
4573
4599
  ),
4574
- children: /* @__PURE__ */ jsx9("ul", { className: "k-progressbar-chunks k-reset", children: [...Array(chunkCount)].map(
4575
- (_el, i) => /* @__PURE__ */ jsx9("li", { className: classNames(
4600
+ children: /* @__PURE__ */ jsx8("ul", { className: "k-progressbar-chunks k-reset", children: [...Array(chunkCount)].map(
4601
+ (_el, i) => /* @__PURE__ */ jsx8("li", { className: classNames(
4576
4602
  "k-progressbar-chunk",
4577
4603
  {
4578
4604
  "k-first": i === 0,
@@ -4584,20 +4610,152 @@ var ChunkProgressBar = (props) => {
4584
4610
  }
4585
4611
  );
4586
4612
  };
4587
- ChunkProgressBar.states = states6;
4588
- ChunkProgressBar.options = options6;
4613
+ ChunkProgressBar.states = states8;
4614
+ ChunkProgressBar.options = options8;
4589
4615
  ChunkProgressBar.className = CHUNKPROGRESSBAR_CLASSNAME;
4590
- ChunkProgressBar.defaultProps = defaultProps6;
4616
+ ChunkProgressBar.defaultProps = defaultProps8;
4591
4617
 
4592
4618
  // src/progressbar/templates/progressbar-normal.tsx
4593
- import { jsx as jsx10 } from "react/jsx-runtime";
4594
- var ProgressBarNormal = (props) => /* @__PURE__ */ jsx10(progressbar_spec_default, { ...props });
4619
+ import { jsx as jsx9 } from "react/jsx-runtime";
4620
+ var ProgressBarNormal = (props) => /* @__PURE__ */ jsx9(progressbar_spec_default, { ...props });
4595
4621
 
4596
4622
  // src/progressbar/templates/chunk-progressbar-normal.tsx
4597
- import { jsx as jsx11 } from "react/jsx-runtime";
4623
+ import { jsx as jsx10 } from "react/jsx-runtime";
4624
+
4625
+ // src/stepper/templates/stepper-normal.tsx
4626
+ import { Fragment as Fragment4, jsx as jsx11, jsxs as jsxs3 } from "react/jsx-runtime";
4627
+
4628
+ // src/stepper/templates/stepper-vertical.tsx
4629
+ import { Fragment as Fragment5, jsx as jsx12, jsxs as jsxs4 } from "react/jsx-runtime";
4630
+ var StepperVertical = ({ gridTemplateRows = "repeat(3, 1fr)", ...other }) => /* @__PURE__ */ jsx12(
4631
+ Stepper,
4632
+ {
4633
+ style: { display: "grid", gridTemplateRows },
4634
+ children: /* @__PURE__ */ jsxs4(Fragment5, { children: [
4635
+ /* @__PURE__ */ jsxs4(StepList, { orientation: "vertical", style: { gridRowStart: "1", gridRowEnd: "-1" }, children: [
4636
+ /* @__PURE__ */ jsx12(Step, { first: true, done: true, icon: "check", style: { maxHeight: "33.333%" } }),
4637
+ /* @__PURE__ */ jsx12(Step, { current: true, focus: true, text: "2", style: { maxHeight: "33.333%" } }),
4638
+ /* @__PURE__ */ jsx12(Step, { last: true, optional: true, text: "3", style: { maxHeight: "33.333%" } })
4639
+ ] }),
4640
+ /* @__PURE__ */ jsx12(ProgressBarNormal, { orientation: "vertical", reverse: true, label: false, value: "50" })
4641
+ ] }),
4642
+ ...other
4643
+ }
4644
+ );
4645
+
4646
+ // src/button/button.spec.tsx
4647
+ import { Fragment as Fragment6, jsx as jsx13, jsxs as jsxs5 } from "react/jsx-runtime";
4648
+ var BUTTON_CLASSNAME = `k-button`;
4649
+ var states9 = [
4650
+ States.hover,
4651
+ States.focus,
4652
+ States.active,
4653
+ States.selected,
4654
+ States.disabled
4655
+ ];
4656
+ var options9 = {
4657
+ size: [Size.small, Size.medium, Size.large],
4658
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
4659
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
4660
+ themeColor: [
4661
+ ThemeColor.base,
4662
+ ThemeColor.primary,
4663
+ ThemeColor.secondary,
4664
+ ThemeColor.tertiary,
4665
+ ThemeColor.success,
4666
+ ThemeColor.warning,
4667
+ ThemeColor.error,
4668
+ ThemeColor.info,
4669
+ ThemeColor.light,
4670
+ ThemeColor.dark,
4671
+ ThemeColor.inverse
4672
+ ]
4673
+ };
4674
+ var defaultProps9 = {
4675
+ size: Size.medium,
4676
+ rounded: Roundness.medium,
4677
+ fillMode: FillMode.solid,
4678
+ themeColor: ThemeColor.base,
4679
+ showArrow: false,
4680
+ arrowIconName: "caret-alt-down"
4681
+ };
4682
+ var Button = (props) => {
4683
+ const {
4684
+ size = defaultProps9.size,
4685
+ rounded = defaultProps9.rounded,
4686
+ fillMode = defaultProps9.fillMode,
4687
+ themeColor = defaultProps9.themeColor,
4688
+ hover,
4689
+ focus,
4690
+ active,
4691
+ selected,
4692
+ disabled,
4693
+ icon,
4694
+ text,
4695
+ iconClassName,
4696
+ showArrow = defaultProps9.showArrow,
4697
+ arrowIconName = defaultProps9.arrowIconName,
4698
+ ...other
4699
+ } = props;
4700
+ const hasIcon = icon !== void 0;
4701
+ const hasChildren = props.children !== void 0;
4702
+ return /* @__PURE__ */ jsxs5(
4703
+ "button",
4704
+ {
4705
+ ...other,
4706
+ className: classNames(
4707
+ props.className,
4708
+ BUTTON_CLASSNAME,
4709
+ optionClassNames(BUTTON_CLASSNAME, {
4710
+ size,
4711
+ rounded,
4712
+ fillMode,
4713
+ themeColor
4714
+ }),
4715
+ stateClassNames(BUTTON_CLASSNAME, {
4716
+ hover,
4717
+ focus,
4718
+ active,
4719
+ disabled,
4720
+ selected
4721
+ }),
4722
+ {
4723
+ ["k-icon-button"]: !text && !hasChildren && hasIcon
4724
+ }
4725
+ ),
4726
+ children: [
4727
+ icon && /* @__PURE__ */ jsx13(
4728
+ Icon,
4729
+ {
4730
+ className: classNames(iconClassName, "k-button-icon"),
4731
+ icon
4732
+ }
4733
+ ),
4734
+ text ? /* @__PURE__ */ jsxs5(Fragment6, { children: [
4735
+ text && /* @__PURE__ */ jsx13("span", { className: "k-button-text", children: text }),
4736
+ props.children
4737
+ ] }) : props.children && /* @__PURE__ */ jsx13("span", { className: "k-button-text", children: props.children }),
4738
+ showArrow && /* @__PURE__ */ jsx13("span", { className: "k-menu-button-arrow k-button-arrow", children: /* @__PURE__ */ jsx13(Icon, { icon: arrowIconName }) })
4739
+ ]
4740
+ }
4741
+ );
4742
+ };
4743
+ Button.states = states9;
4744
+ Button.options = options9;
4745
+ Button.className = BUTTON_CLASSNAME;
4746
+ Button.defaultProps = defaultProps9;
4747
+
4748
+ // src/button/templates/icon-button.tsx
4749
+ import { jsx as jsx14 } from "react/jsx-runtime";
4750
+
4751
+ // src/button/templates/icon-text-button.tsx
4752
+ import { jsx as jsx15 } from "react/jsx-runtime";
4753
+
4754
+ // src/button/templates/text-button.tsx
4755
+ import { jsx as jsx16 } from "react/jsx-runtime";
4598
4756
 
4599
4757
  // src/stepper/tests/stepper-vertical.tsx
4600
- import { Fragment as Fragment5, jsx as jsx12, jsxs as jsxs3 } from "react/jsx-runtime";
4758
+ import { Fragment as Fragment7, jsx as jsx17, jsxs as jsxs6 } from "react/jsx-runtime";
4601
4759
  var style = `
4602
4760
  #test-area hr {
4603
4761
  width: 100%;
@@ -4610,93 +4768,66 @@ var style = `
4610
4768
  top: 17px;
4611
4769
  }
4612
4770
  `;
4613
- var stepper_vertical_default = () => /* @__PURE__ */ jsxs3(Fragment5, { children: [
4614
- /* @__PURE__ */ jsx12("style", { children: style }),
4615
- /* @__PURE__ */ jsxs3("div", { id: "test-area", className: "k-d-grid k-grid-cols-4 k-bg-gray-100", children: [
4616
- /* @__PURE__ */ jsx12("span", { children: "Indicator" }),
4617
- /* @__PURE__ */ jsx12("span", { children: "Indicator + label" }),
4618
- /* @__PURE__ */ jsx12("span", { children: "Icon" }),
4619
- /* @__PURE__ */ jsx12("span", { children: "Label" }),
4620
- /* @__PURE__ */ jsx12("section", { children: /* @__PURE__ */ jsxs3("nav", { className: "k-stepper k-widget", style: { display: "grid", gridTemplateRows: "repeat(3, 1fr)" }, children: [
4621
- /* @__PURE__ */ jsxs3("ol", { className: "k-step-list k-step-list-vertical", style: { gridRowStart: "1", gridRowEnd: "-1" }, children: [
4622
- /* @__PURE__ */ jsx12("li", { className: "k-step k-step-first k-step-done", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ jsx12("a", { href: "#", className: "k-step-link", children: /* @__PURE__ */ jsx12("span", { className: "k-step-indicator", children: /* @__PURE__ */ jsx12(Icon, { className: "k-step-indicator-icon", icon: "check" }) }) }) }),
4623
- /* @__PURE__ */ jsx12("li", { className: "k-step k-step-current k-focus", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ jsx12("a", { href: "#", className: "k-step-link", children: /* @__PURE__ */ jsx12("span", { className: "k-step-indicator", children: /* @__PURE__ */ jsx12("span", { className: "k-step-indicator-text", children: "2" }) }) }) }),
4624
- /* @__PURE__ */ jsx12("li", { className: "k-step k-step-last", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ jsx12("a", { href: "#", className: "k-step-link", children: /* @__PURE__ */ jsx12("span", { className: "k-step-indicator", children: /* @__PURE__ */ jsx12("span", { className: "k-step-indicator-text", children: "3" }) }) }) })
4625
- ] }),
4626
- /* @__PURE__ */ jsx12(ProgressBarNormal, { orientation: "vertical", reverse: true, label: false, value: "40" })
4627
- ] }) }),
4628
- /* @__PURE__ */ jsx12("section", { children: /* @__PURE__ */ jsxs3("nav", { className: "k-stepper k-widget", style: { display: "grid", gridTemplateRows: "repeat(3, 1fr)" }, children: [
4629
- /* @__PURE__ */ jsxs3("ol", { className: "k-step-list k-step-list-vertical", style: { gridRowStart: "1", gridRowEnd: "-1" }, children: [
4630
- /* @__PURE__ */ jsx12("li", { className: "k-step k-step-first k-step-done k-step-success", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ jsxs3("a", { href: "#", className: "k-step-link", children: [
4631
- /* @__PURE__ */ jsx12("span", { className: "k-step-indicator", children: /* @__PURE__ */ jsx12("span", { className: "k-step-indicator-text", children: "1" }) }),
4632
- /* @__PURE__ */ jsxs3("span", { className: "k-step-label", children: [
4633
- /* @__PURE__ */ jsx12("span", { className: "k-step-text", children: "Account Info with too long text" }),
4634
- /* @__PURE__ */ jsx12(Icon, { icon: "check-circle" })
4635
- ] })
4636
- ] }) }),
4637
- /* @__PURE__ */ jsx12("li", { className: "k-step k-step-current k-focus k-step-error", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ jsxs3("a", { href: "#", className: "k-step-link", children: [
4638
- /* @__PURE__ */ jsx12("span", { className: "k-step-indicator", children: /* @__PURE__ */ jsx12("span", { className: "k-step-indicator-text", children: "2" }) }),
4639
- /* @__PURE__ */ jsxs3("span", { className: "k-step-label", children: [
4640
- /* @__PURE__ */ jsx12("span", { className: "k-step-text", children: "Personal Info" }),
4641
- /* @__PURE__ */ jsx12(Icon, { className: "k-validation-icon", icon: "warning-circle" })
4642
- ] })
4643
- ] }) }),
4644
- /* @__PURE__ */ jsx12("li", { className: "k-step k-step-last k-step-optional", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ jsxs3("a", { href: "#", className: "k-step-link", children: [
4645
- /* @__PURE__ */ jsx12("span", { className: "k-step-indicator", children: /* @__PURE__ */ jsx12("span", { className: "k-step-indicator-text", children: "3" }) }),
4646
- /* @__PURE__ */ jsxs3("span", { className: "k-step-label", children: [
4647
- /* @__PURE__ */ jsx12("span", { className: "k-step-text", children: "Payment Details" }),
4648
- /* @__PURE__ */ jsx12("span", { className: "k-step-label-optional", children: "(Optional)" })
4649
- ] })
4650
- ] }) })
4771
+ var stepper_vertical_default = () => /* @__PURE__ */ jsxs6(Fragment7, { children: [
4772
+ /* @__PURE__ */ jsx17("style", { children: style }),
4773
+ /* @__PURE__ */ jsxs6("div", { id: "test-area", className: "k-d-grid k-grid-cols-4 k-bg-gray-100", children: [
4774
+ /* @__PURE__ */ jsx17("span", { children: "Indicator" }),
4775
+ /* @__PURE__ */ jsx17("span", { children: "Indicator + label" }),
4776
+ /* @__PURE__ */ jsx17("span", { children: "Icon" }),
4777
+ /* @__PURE__ */ jsx17("span", { children: "Label" }),
4778
+ /* @__PURE__ */ jsx17("section", { children: /* @__PURE__ */ jsx17(StepperVertical, {}) }),
4779
+ /* @__PURE__ */ jsx17("section", { children: /* @__PURE__ */ jsxs6(StepperVertical, { children: [
4780
+ /* @__PURE__ */ jsxs6(StepList, { orientation: "vertical", style: { gridRowStart: "1", gridRowEnd: "-1" }, children: [
4781
+ /* @__PURE__ */ jsx17(Step, { first: true, done: true, valid: true, text: "1", label: "Account Info with too long label", style: { maxHeight: "33.333%" } }),
4782
+ /* @__PURE__ */ jsx17(Step, { current: true, focus: true, invalid: true, text: "2", label: "Personal Info", style: { maxHeight: "33.333%" } }),
4783
+ /* @__PURE__ */ jsx17(Step, { last: true, optional: true, text: "3", label: "Payment Details", style: { maxHeight: "33.333%" } })
4651
4784
  ] }),
4652
- /* @__PURE__ */ jsx12(ProgressBarNormal, { orientation: "vertical", reverse: true, label: false, value: "40" })
4785
+ /* @__PURE__ */ jsx17(ProgressBarNormal, { orientation: "vertical", reverse: true, label: false, value: "40" })
4653
4786
  ] }) }),
4654
- /* @__PURE__ */ jsx12("section", { children: /* @__PURE__ */ jsxs3("nav", { className: "k-stepper k-widget", style: { display: "grid", gridTemplateRows: "repeat(3, 1fr)" }, children: [
4655
- /* @__PURE__ */ jsxs3("ol", { className: "k-step-list k-step-list-vertical", style: { gridRowStart: "1", gridRowEnd: "-1" }, children: [
4656
- /* @__PURE__ */ jsx12("li", { className: "k-step k-step-first k-step-done", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ jsx12("a", { href: "#", className: "k-step-link", children: /* @__PURE__ */ jsx12("span", { className: "k-step-indicator", children: /* @__PURE__ */ jsx12(Icon, { className: "k-step-indicator-icon", icon: "lock" }) }) }) }),
4657
- /* @__PURE__ */ jsx12("li", { className: "k-step k-step-current k-focus", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ jsx12("a", { href: "#", className: "k-step-link", children: /* @__PURE__ */ jsx12("span", { className: "k-step-indicator", children: /* @__PURE__ */ jsx12(Icon, { className: "k-step-indicator-icon", icon: "user" }) }) }) }),
4658
- /* @__PURE__ */ jsx12("li", { className: "k-step k-step-last", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ jsx12("a", { href: "#", className: "k-step-link", children: /* @__PURE__ */ jsx12("span", { className: "k-step-indicator", children: /* @__PURE__ */ jsx12(Icon, { className: "k-step-indicator-icon", icon: "track-changes" }) }) }) })
4787
+ /* @__PURE__ */ jsx17("section", { children: /* @__PURE__ */ jsxs6(StepperVertical, { children: [
4788
+ /* @__PURE__ */ jsxs6(StepList, { orientation: "vertical", style: { gridRowStart: "1", gridRowEnd: "-1" }, children: [
4789
+ /* @__PURE__ */ jsx17(Step, { first: true, done: true, icon: "lock", style: { maxHeight: "33.333%" } }),
4790
+ /* @__PURE__ */ jsx17(Step, { current: true, focus: true, icon: "user", style: { maxHeight: "33.333%" } }),
4791
+ /* @__PURE__ */ jsx17(Step, { last: true, optional: true, icon: "track-changes", style: { maxHeight: "33.333%" } })
4659
4792
  ] }),
4660
- /* @__PURE__ */ jsx12(ProgressBarNormal, { orientation: "vertical", reverse: true, label: false, value: "40" })
4793
+ /* @__PURE__ */ jsx17(ProgressBarNormal, { orientation: "vertical", reverse: true, label: false, value: "40" })
4661
4794
  ] }) }),
4662
- /* @__PURE__ */ jsx12("section", { children: /* @__PURE__ */ jsxs3("nav", { className: "k-stepper k-widget", style: { display: "grid", gridTemplateRows: "repeat(3, 1fr)" }, children: [
4663
- /* @__PURE__ */ jsxs3("ol", { className: "k-step-list k-step-list-vertical", style: { gridRowStart: "1", gridRowEnd: "-1" }, children: [
4664
- /* @__PURE__ */ jsx12("li", { className: "k-step k-step-first k-step-done", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ jsx12("a", { href: "#", className: "k-step-link", children: /* @__PURE__ */ jsx12("span", { className: "k-step-label", children: /* @__PURE__ */ jsx12("span", { className: "k-step-text", children: "Account Info" }) }) }) }),
4665
- /* @__PURE__ */ jsx12("li", { className: "k-step k-step-current k-focus", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ jsx12("a", { href: "#", className: "k-step-link", children: /* @__PURE__ */ jsx12("span", { className: "k-step-label", children: /* @__PURE__ */ jsx12("span", { className: "k-step-text", children: "Personal Info" }) }) }) }),
4666
- /* @__PURE__ */ jsx12("li", { className: "k-step k-step-last", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ jsx12("a", { href: "#", className: "k-step-link", children: /* @__PURE__ */ jsx12("span", { className: "k-step-label", children: /* @__PURE__ */ jsx12("span", { className: "k-step-text", children: "Payment Details" }) }) }) })
4795
+ /* @__PURE__ */ jsx17("section", { children: /* @__PURE__ */ jsxs6(StepperVertical, { children: [
4796
+ /* @__PURE__ */ jsxs6(StepList, { orientation: "vertical", style: { gridRowStart: "1", gridRowEnd: "-1" }, children: [
4797
+ /* @__PURE__ */ jsx17(Step, { first: true, done: true, label: "Account Info", style: { maxHeight: "33.333%" } }),
4798
+ /* @__PURE__ */ jsx17(Step, { current: true, focus: true, label: "Personal Info", style: { maxHeight: "33.333%" } }),
4799
+ /* @__PURE__ */ jsx17(Step, { last: true, optional: true, label: "Payment Details", style: { maxHeight: "33.333%" } })
4667
4800
  ] }),
4668
- /* @__PURE__ */ jsx12(ProgressBarNormal, { orientation: "vertical", reverse: true, label: false, value: "40" })
4801
+ /* @__PURE__ */ jsx17(ProgressBarNormal, { orientation: "vertical", reverse: true, label: false, value: "40" })
4669
4802
  ] }) }),
4670
- /* @__PURE__ */ jsx12("hr", {}),
4671
- /* @__PURE__ */ jsx12("span", { className: "col-4", children: "Content Between Steps" }),
4672
- /* @__PURE__ */ jsx12("section", { className: "col-4", children: /* @__PURE__ */ jsxs3("nav", { className: "k-stepper k-widget", style: { display: "grid", gridTemplateRows: "repeat(3, 1fr)" }, children: [
4673
- /* @__PURE__ */ jsxs3("ol", { className: "k-step-list k-step-list-vertical", style: { gridRowStart: "1", gridRowEnd: "-1" }, children: [
4674
- /* @__PURE__ */ jsx12("li", { className: "k-step k-step-first k-step-done k-step-success", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ jsxs3("a", { href: "#", className: "k-step-link", children: [
4675
- /* @__PURE__ */ jsx12("span", { className: "k-step-indicator", children: /* @__PURE__ */ jsx12("span", { className: "k-step-indicator-text", children: "1" }) }),
4676
- /* @__PURE__ */ jsx12("span", { className: "k-step-label", children: /* @__PURE__ */ jsx12("span", { className: "k-step-text", children: "Account Info" }) })
4677
- ] }) }),
4678
- /* @__PURE__ */ jsxs3("li", { className: "k-step k-step-current k-focus", style: { height: "auto" }, children: [
4679
- /* @__PURE__ */ jsxs3("a", { href: "#", className: "k-step-link", children: [
4680
- /* @__PURE__ */ jsx12("span", { className: "k-step-indicator", children: /* @__PURE__ */ jsx12("span", { className: "k-step-indicator-text", children: "2" }) }),
4681
- /* @__PURE__ */ jsx12("span", { className: "k-step-label", children: /* @__PURE__ */ jsx12("span", { className: "k-step-text", children: "Personal Info" }) })
4682
- ] }),
4683
- /* @__PURE__ */ jsxs3("div", { className: "k-step-content", style: { height: "140px" }, children: [
4684
- /* @__PURE__ */ jsx12("div", { className: "content", children: "This is the first step of your wizard with inline content." }),
4685
- /* @__PURE__ */ jsxs3("div", { className: "navigation", children: [
4686
- /* @__PURE__ */ jsx12(Button, { children: "Close" }),
4687
- " ",
4688
- /* @__PURE__ */ jsx12("span", { children: "Step 2 of 3" }),
4689
- " ",
4690
- /* @__PURE__ */ jsx12(Button, { children: "Next" })
4803
+ /* @__PURE__ */ jsx17("hr", {}),
4804
+ /* @__PURE__ */ jsx17("span", { className: "col-4", children: "Content Between Steps" }),
4805
+ /* @__PURE__ */ jsx17("section", { className: "col-4", children: /* @__PURE__ */ jsxs6(StepperVertical, { children: [
4806
+ /* @__PURE__ */ jsxs6(StepList, { orientation: "vertical", style: { gridRowStart: "1", gridRowEnd: "-1" }, children: [
4807
+ /* @__PURE__ */ jsx17(Step, { done: true, first: true, text: "1", label: "Account Info", style: { maxHeight: "33.333%" } }),
4808
+ /* @__PURE__ */ jsx17(
4809
+ Step,
4810
+ {
4811
+ current: true,
4812
+ focus: true,
4813
+ text: "2",
4814
+ label: "Personal Info",
4815
+ style: { height: "auto" },
4816
+ stepContent: /* @__PURE__ */ jsxs6(Fragment7, { children: [
4817
+ /* @__PURE__ */ jsx17("div", { className: "content", children: "This is the first step of your wizard with inline content." }),
4818
+ /* @__PURE__ */ jsxs6("div", { className: "navigation", children: [
4819
+ /* @__PURE__ */ jsx17(Button, { children: "Close" }),
4820
+ " ",
4821
+ /* @__PURE__ */ jsx17("span", { children: "Step 2 of 3" }),
4822
+ " ",
4823
+ /* @__PURE__ */ jsx17(Button, { children: "Next" })
4824
+ ] })
4691
4825
  ] })
4692
- ] })
4693
- ] }),
4694
- /* @__PURE__ */ jsx12("li", { className: "k-step k-step-last", style: { maxHeight: "33.333%" }, children: /* @__PURE__ */ jsxs3("a", { href: "#", className: "k-step-link", children: [
4695
- /* @__PURE__ */ jsx12("span", { className: "k-step-indicator", children: /* @__PURE__ */ jsx12("span", { className: "k-step-indicator-text", children: "3" }) }),
4696
- /* @__PURE__ */ jsx12("span", { className: "k-step-label", children: /* @__PURE__ */ jsx12("span", { className: "k-step-text", children: "Payment Details" }) })
4697
- ] }) })
4826
+ }
4827
+ ),
4828
+ /* @__PURE__ */ jsx17(Step, { last: true, text: "3", label: "Payment Details", style: { maxHeight: "33.333%" } })
4698
4829
  ] }),
4699
- /* @__PURE__ */ jsx12(ProgressBarNormal, { orientation: "vertical", reverse: true, label: false, value: "30" })
4830
+ /* @__PURE__ */ jsx17(ProgressBarNormal, { orientation: "vertical", reverse: true, label: false, value: "30" })
4700
4831
  ] }) })
4701
4832
  ] })
4702
4833
  ] });