@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
@@ -4531,463 +4531,10 @@ var import_jsx_runtime11 = require("react/jsx-runtime");
4531
4531
  // src/button-group/templates/mixed-button-group.tsx
4532
4532
  var import_jsx_runtime12 = require("react/jsx-runtime");
4533
4533
 
4534
- // src/animation-container/animation-container.spec.tsx
4535
- var import_jsx_runtime13 = require("react/jsx-runtime");
4536
- var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
4537
- var states6 = [];
4538
- var options6 = {};
4539
- var defaultProps6 = {
4540
- positionMode: "absolute"
4541
- };
4542
- var AnimationContainer = (props) => {
4543
- const {
4544
- positionMode,
4545
- animationStyle,
4546
- offset,
4547
- ...other
4548
- } = props;
4549
- return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
4550
- "div",
4551
- {
4552
- ...other,
4553
- style: { ...offset, ...props.style },
4554
- className: classNames(
4555
- ANIMATION_CONTAINER_CLASSNAME,
4556
- "k-animation-container-shown",
4557
- {
4558
- ["k-animation-container-fixed"]: positionMode === "fixed"
4559
- }
4560
- ),
4561
- children: /* @__PURE__ */ (0, import_jsx_runtime13.jsx)("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
4562
- }
4563
- );
4564
- };
4565
- AnimationContainer.states = states6;
4566
- AnimationContainer.options = options6;
4567
- AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
4568
- AnimationContainer.defaultProps = defaultProps6;
4569
-
4570
- // src/popup/popup.spec.tsx
4571
- var import_jsx_runtime14 = require("react/jsx-runtime");
4572
- var POPUP_CLASSNAME = `k-popup`;
4573
- var states7 = [];
4574
- var options7 = {};
4575
- var defaultProps7 = {
4576
- positionMode: "absolute"
4577
- };
4578
- var Popup = (props) => {
4579
- const {
4580
- offset,
4581
- positionMode,
4582
- ...other
4583
- } = props;
4584
- return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
4585
- AnimationContainer,
4586
- {
4587
- positionMode,
4588
- offset,
4589
- children: /* @__PURE__ */ (0, import_jsx_runtime14.jsx)("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
4590
- }
4591
- );
4592
- };
4593
- Popup.states = states7;
4594
- Popup.options = options7;
4595
- Popup.className = POPUP_CLASSNAME;
4596
- Popup.defaultProps = defaultProps7;
4597
-
4598
- // src/split-button/split-button.spec.tsx
4599
- var import_jsx_runtime15 = require("react/jsx-runtime");
4600
- var SPLITBUTTON_CLASSNAME = `k-split-button`;
4601
- var states8 = [
4602
- States.hover,
4603
- States.focus,
4604
- States.active,
4605
- States.selected,
4606
- States.disabled
4607
- ];
4608
- var options8 = {
4609
- size: [Size.small, Size.medium, Size.large],
4610
- rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
4611
- fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
4612
- themeColor: [
4613
- ThemeColor.base,
4614
- ThemeColor.primary,
4615
- ThemeColor.secondary,
4616
- ThemeColor.tertiary,
4617
- ThemeColor.success,
4618
- ThemeColor.warning,
4619
- ThemeColor.error,
4620
- ThemeColor.info,
4621
- ThemeColor.light,
4622
- ThemeColor.dark,
4623
- ThemeColor.inverse
4624
- ]
4625
- };
4626
- var defaultProps8 = {
4627
- size: Size.medium,
4628
- rounded: Roundness.medium,
4629
- fillMode: FillMode.solid,
4630
- themeColor: ThemeColor.base,
4631
- arrowIconName: "caret-alt-down"
4632
- };
4633
- var SplitButton = (props) => {
4634
- const {
4635
- size = defaultProps8.size,
4636
- rounded = defaultProps8.rounded,
4637
- fillMode = defaultProps8.fillMode,
4638
- themeColor = defaultProps8.themeColor,
4639
- hover,
4640
- focus,
4641
- active,
4642
- selected,
4643
- disabled,
4644
- icon,
4645
- text,
4646
- arrowIconName = defaultProps8.arrowIconName,
4647
- popup,
4648
- opened,
4649
- ...other
4650
- } = props;
4651
- return /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(import_jsx_runtime15.Fragment, { children: [
4652
- /* @__PURE__ */ (0, import_jsx_runtime15.jsxs)(
4653
- "div",
4654
- {
4655
- ...other,
4656
- className: classNames(
4657
- props.className,
4658
- SPLITBUTTON_CLASSNAME,
4659
- "k-button-group",
4660
- optionClassNames(SPLITBUTTON_CLASSNAME, {
4661
- rounded
4662
- })
4663
- ),
4664
- children: [
4665
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4666
- Button,
4667
- {
4668
- text,
4669
- icon,
4670
- size,
4671
- rounded,
4672
- fillMode,
4673
- themeColor,
4674
- hover,
4675
- focus,
4676
- active,
4677
- selected,
4678
- disabled,
4679
- children: props.children
4680
- }
4681
- ),
4682
- /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(
4683
- Button,
4684
- {
4685
- className: "k-split-button-arrow",
4686
- icon: arrowIconName,
4687
- size,
4688
- rounded,
4689
- fillMode,
4690
- disabled
4691
- }
4692
- )
4693
- ]
4694
- }
4695
- ),
4696
- opened && popup && /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Popup, { className: "k-menu-popup", children: popup })
4697
- ] });
4698
- };
4699
- SplitButton.states = states8;
4700
- SplitButton.options = options8;
4701
- SplitButton.className = SPLITBUTTON_CLASSNAME;
4702
- SplitButton.defaultProps = defaultProps8;
4703
- var split_button_spec_default = SplitButton;
4704
-
4705
- // src/split-button/templates/icon-split-button.tsx
4706
- var import_jsx_runtime16 = require("react/jsx-runtime");
4707
-
4708
- // src/split-button/templates/icon-text-split-button.tsx
4709
- var import_jsx_runtime17 = require("react/jsx-runtime");
4710
-
4711
- // src/split-button/templates/text-split-button.tsx
4712
- var import_jsx_runtime18 = require("react/jsx-runtime");
4713
-
4714
- // src/menu/menu-item.spec.tsx
4715
- var import_jsx_runtime19 = require("react/jsx-runtime");
4716
- var MENUITEM_CLASSNAME = `k-menu-item`;
4717
- var states9 = [
4718
- States.hover,
4719
- States.focus,
4720
- States.active,
4721
- States.selected,
4722
- States.disabled
4723
- ];
4724
- var options9 = {};
4725
- var defaultProps9 = {
4726
- dir: "ltr"
4727
- };
4728
- var MenuItem = (props) => {
4729
- const {
4730
- hover,
4731
- focus,
4732
- active,
4733
- selected,
4734
- disabled,
4735
- icon,
4736
- text,
4737
- showArrow,
4738
- arrowIconName,
4739
- dir = defaultProps9.dir,
4740
- children,
4741
- ...other
4742
- } = props;
4743
- const contentTemplate = /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_jsx_runtime19.Fragment, {});
4744
- if (children) {
4745
- children.forEach((child) => {
4746
- const component = child.type;
4747
- if (component === "MenuItemContent") {
4748
- contentTemplate.props.children.push(child);
4749
- return;
4750
- }
4751
- });
4752
- }
4753
- let expandArrowName = arrowIconName;
4754
- if (!expandArrowName) {
4755
- expandArrowName = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
4756
- }
4757
- return /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
4758
- "li",
4759
- {
4760
- ...other,
4761
- className: classNames(
4762
- props.className,
4763
- MENUITEM_CLASSNAME,
4764
- //TODO
4765
- "k-item",
4766
- stateClassNames(MENUITEM_CLASSNAME, {
4767
- focus,
4768
- disabled
4769
- })
4770
- ),
4771
- children: [
4772
- /* @__PURE__ */ (0, import_jsx_runtime19.jsxs)(
4773
- "span",
4774
- {
4775
- className: classNames(
4776
- "k-link k-menu-link",
4777
- stateClassNames("k-menu-link", {
4778
- hover,
4779
- active,
4780
- selected,
4781
- disabled
4782
- })
4783
- ),
4784
- children: [
4785
- icon && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Icon, { className: "k-menu-link-icon", icon }),
4786
- /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "k-menu-link-text", children: text }),
4787
- showArrow && /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(Icon, { icon: expandArrowName }) })
4788
- ]
4789
- }
4790
- ),
4791
- contentTemplate
4792
- ]
4793
- }
4794
- );
4795
- };
4796
- MenuItem.states = states9;
4797
- MenuItem.options = options9;
4798
- MenuItem.className = MENUITEM_CLASSNAME;
4799
- MenuItem.defaultProps = defaultProps9;
4800
- var menu_item_spec_default = MenuItem;
4801
-
4802
- // src/menu/menu-separator.spec.tsx
4803
- var import_jsx_runtime20 = require("react/jsx-runtime");
4804
- var SEPARATOR_CLASSNAME = `k-separator`;
4805
- var defaultProps10 = {
4806
- orientation: "horizontal"
4807
- };
4808
- var MenuSeparator = (props) => {
4809
- const {
4810
- orientation = defaultProps10.orientation,
4811
- ...other
4812
- } = props;
4813
- return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(
4814
- "li",
4815
- {
4816
- ...other,
4817
- className: classNames(
4818
- props.className,
4819
- "k-item",
4820
- SEPARATOR_CLASSNAME,
4821
- {
4822
- [`${SEPARATOR_CLASSNAME}-${orientation}`]: orientation
4823
- }
4824
- )
4825
- }
4826
- );
4827
- };
4828
- var menu_separator_spec_default = MenuSeparator;
4829
-
4830
- // src/menu/menu-item-content.tsx
4831
- var import_jsx_runtime21 = require("react/jsx-runtime");
4832
-
4833
- // src/menu/menu-list.spec.tsx
4834
- var import_jsx_runtime22 = require("react/jsx-runtime");
4835
- var import_react = require("react");
4836
- var MENULIST_CLASSNAME = `k-menu-group`;
4837
- var states10 = [];
4838
- var options10 = {
4839
- size: [Size.small, Size.medium, Size.large]
4840
- };
4841
- var defaultProps11 = {
4842
- size: Size.medium,
4843
- dir: "ltr"
4844
- };
4845
- var MenuList = (props) => {
4846
- const {
4847
- children,
4848
- size = defaultProps11.size,
4849
- dir = defaultProps11.dir,
4850
- ...other
4851
- } = props;
4852
- const listChildren = [];
4853
- if (children) {
4854
- if (Array.isArray(children)) {
4855
- children.map((child, index) => {
4856
- if (child.type === menu_item_spec_default) {
4857
- listChildren.push(
4858
- /* @__PURE__ */ (0, import_react.createElement)(menu_item_spec_default, { ...child.props, dir, key: index })
4859
- );
4860
- } else if (child.type === menu_separator_spec_default) {
4861
- listChildren.push(
4862
- /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(menu_separator_spec_default, {})
4863
- );
4864
- } else {
4865
- listChildren.push(child);
4866
- }
4867
- });
4868
- }
4869
- }
4870
- return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
4871
- "ul",
4872
- {
4873
- ...other,
4874
- className: classNames(
4875
- props.className,
4876
- MENULIST_CLASSNAME,
4877
- optionClassNames(MENULIST_CLASSNAME, {
4878
- size
4879
- })
4880
- ),
4881
- children: listChildren
4882
- }
4883
- );
4884
- };
4885
- MenuList.states = states10;
4886
- MenuList.options = options10;
4887
- MenuList.className = MENULIST_CLASSNAME;
4888
- MenuList.defaultProps = defaultProps11;
4889
-
4890
- // src/split-button/templates/split-button-popup.tsx
4891
- var import_jsx_runtime23 = require("react/jsx-runtime");
4892
-
4893
- // src/switch/switch.spec.tsx
4894
- var import_jsx_runtime24 = require("react/jsx-runtime");
4895
- var SWITCH_CLASSNAME = `k-switch`;
4896
- var states11 = [
4897
- States.hover,
4898
- States.focus,
4899
- States.disabled,
4900
- States.checked
4901
- ];
4902
- var options11 = {
4903
- size: [Size.small, Size.medium, Size.large],
4904
- trackRounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
4905
- thumbRounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full]
4906
- };
4907
- var defaultProps12 = {
4908
- size: Size.medium,
4909
- trackRounded: Roundness.full,
4910
- thumbRounded: Roundness.full
4911
- };
4912
- var Switch = (props) => {
4913
- const {
4914
- checked,
4915
- onLabel,
4916
- offLabel,
4917
- size = defaultProps12.size,
4918
- trackRounded = defaultProps12.trackRounded,
4919
- thumbRounded = defaultProps12.thumbRounded,
4920
- hover,
4921
- focus,
4922
- disabled,
4923
- ...other
4924
- } = props;
4925
- return /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
4926
- "span",
4927
- {
4928
- ...other,
4929
- className: classNames(
4930
- props.className,
4931
- SWITCH_CLASSNAME,
4932
- optionClassNames(SWITCH_CLASSNAME, {
4933
- size
4934
- }),
4935
- stateClassNames(SWITCH_CLASSNAME, {
4936
- hover,
4937
- focus,
4938
- disabled
4939
- }),
4940
- {
4941
- [`${SWITCH_CLASSNAME}-on`]: checked,
4942
- [`${SWITCH_CLASSNAME}-off`]: !checked
4943
- }
4944
- ),
4945
- children: [
4946
- /* @__PURE__ */ (0, import_jsx_runtime24.jsxs)(
4947
- "span",
4948
- {
4949
- className: classNames(
4950
- "k-switch-track",
4951
- optionClassNames(SWITCH_CLASSNAME, {
4952
- rounded: trackRounded
4953
- })
4954
- ),
4955
- children: [
4956
- onLabel && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "k-switch-label-on", children: onLabel }),
4957
- offLabel && /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "k-switch-label-off", children: offLabel })
4958
- ]
4959
- }
4960
- ),
4961
- /* @__PURE__ */ (0, import_jsx_runtime24.jsx)("span", { className: "k-switch-thumb-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime24.jsx)(
4962
- "span",
4963
- {
4964
- className: classNames(
4965
- "k-switch-thumb",
4966
- optionClassNames(SWITCH_CLASSNAME, {
4967
- rounded: thumbRounded
4968
- })
4969
- )
4970
- }
4971
- ) })
4972
- ]
4973
- }
4974
- );
4975
- };
4976
- Switch.states = states11;
4977
- Switch.options = options11;
4978
- Switch.className = SWITCH_CLASSNAME;
4979
- Switch.defaultProps = defaultProps12;
4980
-
4981
- // src/switch/templates/switch-normal.tsx
4982
- var import_jsx_runtime25 = require("react/jsx-runtime");
4983
-
4984
- // src/switch/templates/switch-checked.tsx
4985
- var import_jsx_runtime26 = require("react/jsx-runtime");
4986
-
4987
4534
  // src/input/input.spec.tsx
4988
- var import_jsx_runtime27 = require("react/jsx-runtime");
4535
+ var import_jsx_runtime13 = require("react/jsx-runtime");
4989
4536
  var INPUT_CLASSNAME = `k-input`;
4990
- var states12 = [
4537
+ var states6 = [
4991
4538
  States.hover,
4992
4539
  States.focus,
4993
4540
  States.valid,
@@ -4997,12 +4544,12 @@ var states12 = [
4997
4544
  States.loading,
4998
4545
  States.readonly
4999
4546
  ];
5000
- var options12 = {
4547
+ var options6 = {
5001
4548
  size: [Size.small, Size.medium, Size.large],
5002
4549
  rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5003
4550
  fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5004
4551
  };
5005
- var defaultProps13 = {
4552
+ var defaultProps6 = {
5006
4553
  size: Size.medium,
5007
4554
  rounded: Size.medium,
5008
4555
  fillMode: FillMode.solid
@@ -5016,12 +4563,12 @@ var Input = (props) => {
5016
4563
  valid,
5017
4564
  loading,
5018
4565
  readonly,
5019
- size = defaultProps13.size,
5020
- rounded = defaultProps13.rounded,
5021
- fillMode = defaultProps13.fillMode,
4566
+ size = defaultProps6.size,
4567
+ rounded = defaultProps6.rounded,
4568
+ fillMode = defaultProps6.fillMode,
5022
4569
  ...other
5023
4570
  } = props;
5024
- return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4571
+ return /* @__PURE__ */ (0, import_jsx_runtime13.jsx)(
5025
4572
  "span",
5026
4573
  {
5027
4574
  ...other,
@@ -5034,13 +4581,13 @@ var Input = (props) => {
5034
4581
  }
5035
4582
  );
5036
4583
  };
5037
- Input.states = states12;
5038
- Input.options = options12;
4584
+ Input.states = states6;
4585
+ Input.options = options6;
5039
4586
  Input.className = INPUT_CLASSNAME;
5040
- Input.defaultProps = defaultProps13;
4587
+ Input.defaultProps = defaultProps6;
5041
4588
 
5042
4589
  // src/input/picker.spec.tsx
5043
- var import_jsx_runtime28 = require("react/jsx-runtime");
4590
+ var import_jsx_runtime14 = require("react/jsx-runtime");
5044
4591
  var PICKER_CLASSNAME = `k-picker`;
5045
4592
  var pickerStates = [
5046
4593
  States.hover,
@@ -5057,7 +4604,7 @@ var pickerOptions = {
5057
4604
  rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5058
4605
  fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5059
4606
  };
5060
- var defaultProps14 = {
4607
+ var defaultProps7 = {
5061
4608
  size: Size.medium,
5062
4609
  rounded: Roundness.medium,
5063
4610
  fillMode: FillMode.solid
@@ -5071,12 +4618,12 @@ var Picker = (props) => {
5071
4618
  valid,
5072
4619
  loading,
5073
4620
  readonly,
5074
- size = defaultProps14.size,
5075
- rounded = defaultProps14.rounded,
5076
- fillMode = defaultProps14.fillMode,
4621
+ size = defaultProps7.size,
4622
+ rounded = defaultProps7.rounded,
4623
+ fillMode = defaultProps7.fillMode,
5077
4624
  ...other
5078
4625
  } = props;
5079
- return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
4626
+ return /* @__PURE__ */ (0, import_jsx_runtime14.jsx)(
5080
4627
  "span",
5081
4628
  {
5082
4629
  ...other,
@@ -5093,17 +4640,17 @@ var Picker = (props) => {
5093
4640
  Picker.states = pickerStates;
5094
4641
  Picker.options = pickerOptions;
5095
4642
  Picker.className = PICKER_CLASSNAME;
5096
- Picker.defaultProps = defaultProps14;
4643
+ Picker.defaultProps = defaultProps7;
5097
4644
 
5098
4645
  // src/input/input-clear-value.tsx
5099
- var import_jsx_runtime29 = require("react/jsx-runtime");
4646
+ var import_jsx_runtime15 = require("react/jsx-runtime");
5100
4647
  var className = `k-clear-value`;
5101
- var states13 = [
4648
+ var states7 = [
5102
4649
  States.disabled,
5103
4650
  States.loading,
5104
4651
  States.readonly
5105
4652
  ];
5106
- var options13 = {};
4653
+ var options7 = {};
5107
4654
  var InputClearValue = (props) => {
5108
4655
  const {
5109
4656
  disabled,
@@ -5112,20 +4659,20 @@ var InputClearValue = (props) => {
5112
4659
  value
5113
4660
  } = props;
5114
4661
  if (disabled || readonly || loading || !value) {
5115
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(import_jsx_runtime29.Fragment, {});
4662
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(import_jsx_runtime15.Fragment, {});
5116
4663
  }
5117
- return /* @__PURE__ */ (0, import_jsx_runtime29.jsx)("span", { className: classNames(props.className, className), children: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Icon, { icon: "x" }) });
4664
+ return /* @__PURE__ */ (0, import_jsx_runtime15.jsx)("span", { className: classNames(props.className, className), children: /* @__PURE__ */ (0, import_jsx_runtime15.jsx)(Icon, { icon: "x" }) });
5118
4665
  };
5119
- InputClearValue.states = states13;
5120
- InputClearValue.options = options13;
4666
+ InputClearValue.states = states7;
4667
+ InputClearValue.options = options7;
5121
4668
  InputClearValue.className = className;
5122
4669
 
5123
4670
  // src/input/input-inner-input.tsx
5124
- var import_jsx_runtime30 = require("react/jsx-runtime");
4671
+ var import_jsx_runtime16 = require("react/jsx-runtime");
5125
4672
  var className2 = `k-input-inner`;
5126
- var states14 = [];
5127
- var options14 = {};
5128
- var defaultProps15 = {
4673
+ var states8 = [];
4674
+ var options8 = {};
4675
+ var defaultProps8 = {
5129
4676
  type: "text",
5130
4677
  autocomplete: "off",
5131
4678
  value: "",
@@ -5133,13 +4680,13 @@ var defaultProps15 = {
5133
4680
  };
5134
4681
  var InputInnerInput = (props) => {
5135
4682
  const {
5136
- value = defaultProps15.value,
5137
- type = defaultProps15.type,
5138
- placeholder = defaultProps15.placeholder,
5139
- autocomplete = defaultProps15.autocomplete,
4683
+ value = defaultProps8.value,
4684
+ type = defaultProps8.type,
4685
+ placeholder = defaultProps8.placeholder,
4686
+ autocomplete = defaultProps8.autocomplete,
5140
4687
  ...other
5141
4688
  } = props;
5142
- return /* @__PURE__ */ (0, import_jsx_runtime30.jsx)(
4689
+ return /* @__PURE__ */ (0, import_jsx_runtime16.jsx)(
5143
4690
  "input",
5144
4691
  {
5145
4692
  ...other,
@@ -5151,15 +4698,15 @@ var InputInnerInput = (props) => {
5151
4698
  }
5152
4699
  );
5153
4700
  };
5154
- InputInnerInput.states = states14;
5155
- InputInnerInput.options = options14;
4701
+ InputInnerInput.states = states8;
4702
+ InputInnerInput.options = options8;
5156
4703
  InputInnerInput.className = className2;
5157
4704
 
5158
4705
  // src/input/input-inner-span.tsx
5159
- var import_jsx_runtime31 = require("react/jsx-runtime");
4706
+ var import_jsx_runtime17 = require("react/jsx-runtime");
5160
4707
  var className3 = `k-input-inner`;
5161
- var states15 = [];
5162
- var options15 = {};
4708
+ var states9 = [];
4709
+ var options9 = {};
5163
4710
  var InputInnerSpan = (props) => {
5164
4711
  const {
5165
4712
  value,
@@ -5169,41 +4716,41 @@ var InputInnerSpan = (props) => {
5169
4716
  valueIconName,
5170
4717
  ...other
5171
4718
  } = props;
5172
- return /* @__PURE__ */ (0, import_jsx_runtime31.jsxs)(
4719
+ return /* @__PURE__ */ (0, import_jsx_runtime17.jsxs)(
5173
4720
  "span",
5174
4721
  {
5175
4722
  ...other,
5176
4723
  className: classNames(props.className, className3, optionClassNames(className3, props)),
5177
4724
  children: [
5178
4725
  valueIcon,
5179
- !valueIcon && valueIconName && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(Icon, { className: "k-input-value-icon", icon: valueIconName }),
4726
+ !valueIcon && valueIconName && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)(Icon, { className: "k-input-value-icon", icon: valueIconName }),
5180
4727
  showValue && !value && placeholder,
5181
- showValue && value && /* @__PURE__ */ (0, import_jsx_runtime31.jsx)("span", { className: "k-input-value-text", children: value })
4728
+ showValue && value && /* @__PURE__ */ (0, import_jsx_runtime17.jsx)("span", { className: "k-input-value-text", children: value })
5182
4729
  ]
5183
4730
  }
5184
4731
  );
5185
4732
  };
5186
- InputInnerSpan.states = states15;
5187
- InputInnerSpan.options = options15;
4733
+ InputInnerSpan.states = states9;
4734
+ InputInnerSpan.options = options9;
5188
4735
  InputInnerSpan.className = className3;
5189
4736
 
5190
4737
  // src/input/input-inner-textarea.tsx
5191
- var import_jsx_runtime32 = require("react/jsx-runtime");
5192
- var defaultProps16 = {
4738
+ var import_jsx_runtime18 = require("react/jsx-runtime");
4739
+ var defaultProps9 = {
5193
4740
  value: "",
5194
4741
  placeholder: ""
5195
4742
  };
5196
4743
  var className4 = `k-input-inner`;
5197
- var states16 = [];
5198
- var options16 = {};
4744
+ var states10 = [];
4745
+ var options10 = {};
5199
4746
  var InputInnerTextarea = (props) => {
5200
4747
  const {
5201
- value = defaultProps16.value,
5202
- placeholder = defaultProps16.placeholder,
4748
+ value = defaultProps9.value,
4749
+ placeholder = defaultProps9.placeholder,
5203
4750
  rows,
5204
4751
  ...other
5205
4752
  } = props;
5206
- return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
4753
+ return /* @__PURE__ */ (0, import_jsx_runtime18.jsx)(
5207
4754
  "textarea",
5208
4755
  {
5209
4756
  ...other,
@@ -5214,14 +4761,14 @@ var InputInnerTextarea = (props) => {
5214
4761
  }
5215
4762
  );
5216
4763
  };
5217
- InputInnerTextarea.states = states16;
5218
- InputInnerTextarea.options = options16;
4764
+ InputInnerTextarea.states = states10;
4765
+ InputInnerTextarea.options = options10;
5219
4766
  InputInnerTextarea.className = className4;
5220
4767
 
5221
4768
  // src/input/input-loading-icon.tsx
5222
- var import_jsx_runtime33 = require("react/jsx-runtime");
4769
+ var import_jsx_runtime19 = require("react/jsx-runtime");
5223
4770
  var className5 = `k-input-loading-icon`;
5224
- var states17 = [
4771
+ var states11 = [
5225
4772
  States.disabled,
5226
4773
  States.loading
5227
4774
  ];
@@ -5231,21 +4778,21 @@ var InputLoadingIcon = (props) => {
5231
4778
  loading
5232
4779
  } = props;
5233
4780
  if (disabled || !loading) {
5234
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)(import_jsx_runtime33.Fragment, {});
4781
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)(import_jsx_runtime19.Fragment, {});
5235
4782
  }
5236
- return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: classNames(props.className, className5, "k-icon k-i-loading") });
4783
+ return /* @__PURE__ */ (0, import_jsx_runtime19.jsx)("span", { className: classNames(props.className, className5, "k-icon k-i-loading") });
5237
4784
  };
5238
4785
 
5239
4786
  // src/input/input-validation-icon.tsx
5240
- var import_jsx_runtime34 = require("react/jsx-runtime");
4787
+ var import_jsx_runtime20 = require("react/jsx-runtime");
5241
4788
  var className6 = `k-input-validation-icon`;
5242
- var states18 = [
4789
+ var states12 = [
5243
4790
  States.valid,
5244
4791
  States.invalid,
5245
4792
  States.disabled,
5246
4793
  States.loading
5247
4794
  ];
5248
- var options17 = {};
4795
+ var options11 = {};
5249
4796
  var InputValidationIcon = (props) => {
5250
4797
  const {
5251
4798
  valid,
@@ -5256,29 +4803,29 @@ var InputValidationIcon = (props) => {
5256
4803
  const iconName = invalid ? "warning-circle" : "check-circle";
5257
4804
  const renderValidationIcon = Boolean(valid || invalid);
5258
4805
  if (disabled || loading || !renderValidationIcon) {
5259
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(import_jsx_runtime34.Fragment, {});
4806
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(import_jsx_runtime20.Fragment, {});
5260
4807
  }
5261
- return /* @__PURE__ */ (0, import_jsx_runtime34.jsx)(Icon, { className: classNames(className6), icon: iconName });
4808
+ return /* @__PURE__ */ (0, import_jsx_runtime20.jsx)(Icon, { className: classNames(className6), icon: iconName });
5262
4809
  };
5263
- InputValidationIcon.states = states18;
5264
- InputValidationIcon.options = options17;
4810
+ InputValidationIcon.states = states12;
4811
+ InputValidationIcon.options = options11;
5265
4812
  InputValidationIcon.className = className6;
5266
4813
 
5267
4814
  // src/input/input-prefix.tsx
5268
- var import_jsx_runtime35 = require("react/jsx-runtime");
4815
+ var import_jsx_runtime21 = require("react/jsx-runtime");
5269
4816
  var className7 = `k-input-prefix`;
5270
- var defaultProps17 = {
4817
+ var defaultProps10 = {
5271
4818
  direction: "horizontal"
5272
4819
  };
5273
4820
  var InputPrefix = (props) => {
5274
4821
  const {
5275
- direction = defaultProps17.direction,
4822
+ direction = defaultProps10.direction,
5276
4823
  ...other
5277
4824
  } = props;
5278
4825
  if (!props.children) {
5279
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(import_jsx_runtime35.Fragment, {});
4826
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(import_jsx_runtime21.Fragment, {});
5280
4827
  }
5281
- return /* @__PURE__ */ (0, import_jsx_runtime35.jsx)(
4828
+ return /* @__PURE__ */ (0, import_jsx_runtime21.jsx)(
5282
4829
  "span",
5283
4830
  {
5284
4831
  ...other,
@@ -5295,20 +4842,20 @@ var InputPrefix = (props) => {
5295
4842
  };
5296
4843
 
5297
4844
  // src/input/input-suffix.tsx
5298
- var import_jsx_runtime36 = require("react/jsx-runtime");
4845
+ var import_jsx_runtime22 = require("react/jsx-runtime");
5299
4846
  var className8 = `k-input-suffix`;
5300
- var defaultProps18 = {
4847
+ var defaultProps11 = {
5301
4848
  direction: "horizontal"
5302
4849
  };
5303
4850
  var InputSuffix = (props) => {
5304
4851
  const {
5305
- direction = defaultProps18.direction,
4852
+ direction = defaultProps11.direction,
5306
4853
  ...other
5307
4854
  } = props;
5308
4855
  if (!props.children) {
5309
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(import_jsx_runtime36.Fragment, {});
4856
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(import_jsx_runtime22.Fragment, {});
5310
4857
  }
5311
- return /* @__PURE__ */ (0, import_jsx_runtime36.jsx)(
4858
+ return /* @__PURE__ */ (0, import_jsx_runtime22.jsx)(
5312
4859
  "span",
5313
4860
  {
5314
4861
  ...other,
@@ -5325,23 +4872,23 @@ var InputSuffix = (props) => {
5325
4872
  };
5326
4873
 
5327
4874
  // src/input/input-prefix-text.tsx
5328
- var import_jsx_runtime37 = require("react/jsx-runtime");
4875
+ var import_jsx_runtime23 = require("react/jsx-runtime");
5329
4876
 
5330
4877
  // src/input/input-suffix-text.tsx
5331
- var import_jsx_runtime38 = require("react/jsx-runtime");
4878
+ var import_jsx_runtime24 = require("react/jsx-runtime");
5332
4879
 
5333
4880
  // src/input/input-separator.tsx
5334
- var import_jsx_runtime39 = require("react/jsx-runtime");
4881
+ var import_jsx_runtime25 = require("react/jsx-runtime");
5335
4882
  var className9 = `k-input-separator`;
5336
- var defaultProps19 = {
4883
+ var defaultProps12 = {
5337
4884
  direction: "vertical"
5338
4885
  };
5339
4886
  var InputSeparator = (props) => {
5340
4887
  const {
5341
- direction = defaultProps19.direction,
4888
+ direction = defaultProps12.direction,
5342
4889
  ...other
5343
4890
  } = props;
5344
- return /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
4891
+ return /* @__PURE__ */ (0, import_jsx_runtime25.jsx)(
5345
4892
  "span",
5346
4893
  {
5347
4894
  ...other,
@@ -5356,93 +4903,18 @@ var InputSeparator = (props) => {
5356
4903
  );
5357
4904
  };
5358
4905
 
5359
- // src/searchbox/searchbox.spec.tsx
5360
- var import_jsx_runtime40 = require("react/jsx-runtime");
5361
- var SEARCHBOX_CLASSNAME = `k-searchbox`;
5362
- var states19 = [
5363
- States.hover,
5364
- States.focus,
5365
- States.valid,
5366
- States.invalid,
5367
- States.required,
5368
- States.disabled,
5369
- States.loading
5370
- ];
5371
- var options18 = {
5372
- size: [Size.small, Size.medium, Size.large],
5373
- rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5374
- fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5375
- };
5376
- var defaultProps20 = {
5377
- showIcon: true,
5378
- icon: "search",
5379
- size: Input.defaultProps.size,
5380
- rounded: Input.defaultProps.rounded,
5381
- fillMode: Input.defaultProps.fillMode
5382
- };
5383
- var Searchbox = (props) => {
5384
- const {
5385
- value,
5386
- placeholder,
5387
- size,
5388
- rounded,
5389
- fillMode,
5390
- hover,
5391
- focus,
5392
- valid,
5393
- invalid,
5394
- required,
5395
- loading,
5396
- disabled,
5397
- showIcon = defaultProps20.showIcon,
5398
- icon = defaultProps20.icon,
5399
- ...other
5400
- } = props;
5401
- return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
5402
- Input,
5403
- {
5404
- ...other,
5405
- size,
5406
- rounded,
5407
- fillMode,
5408
- hover,
5409
- focus,
5410
- valid,
5411
- invalid,
5412
- required,
5413
- loading,
5414
- disabled,
5415
- className: classNames(props.className, SEARCHBOX_CLASSNAME),
5416
- children: [
5417
- showIcon && /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(Icon, { className: "k-input-icon", icon }),
5418
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(InputInnerInput, { placeholder, value }),
5419
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(InputLoadingIcon, { ...props }),
5420
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(InputValidationIcon, { ...props }),
5421
- /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(InputClearValue, { ...props })
5422
- ]
5423
- }
5424
- );
5425
- };
5426
- Searchbox.states = states19;
5427
- Searchbox.options = options18;
5428
- Searchbox.className = SEARCHBOX_CLASSNAME;
5429
- Searchbox.defaultProps = defaultProps20;
5430
-
5431
- // src/searchbox/templates/searchbox-normal.tsx
5432
- var import_jsx_runtime41 = require("react/jsx-runtime");
5433
-
5434
4906
  // src/color-preview/color-preview.tsx
5435
- var import_jsx_runtime42 = require("react/jsx-runtime");
4907
+ var import_jsx_runtime26 = require("react/jsx-runtime");
5436
4908
  var COLORPREVIEW_CLASSNAME = `k-color-preview`;
5437
- var states20 = [];
5438
- var options19 = {};
4909
+ var states13 = [];
4910
+ var options12 = {};
5439
4911
  var ColorPreview = (props) => {
5440
4912
  const {
5441
4913
  color,
5442
4914
  iconName,
5443
4915
  ...other
5444
4916
  } = props;
5445
- return /* @__PURE__ */ (0, import_jsx_runtime42.jsxs)(
4917
+ return /* @__PURE__ */ (0, import_jsx_runtime26.jsxs)(
5446
4918
  "span",
5447
4919
  {
5448
4920
  ...other,
@@ -5455,8 +4927,8 @@ var ColorPreview = (props) => {
5455
4927
  }
5456
4928
  ),
5457
4929
  children: [
5458
- iconName && /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(Icon, { icon: iconName, className: "k-color-preview-icon" }),
5459
- /* @__PURE__ */ (0, import_jsx_runtime42.jsx)(
4930
+ iconName && /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(Icon, { icon: iconName, className: "k-color-preview-icon" }),
4931
+ /* @__PURE__ */ (0, import_jsx_runtime26.jsx)(
5460
4932
  "span",
5461
4933
  {
5462
4934
  className: "k-color-preview-mask",
@@ -5467,14 +4939,78 @@ var ColorPreview = (props) => {
5467
4939
  }
5468
4940
  );
5469
4941
  };
5470
- ColorPreview.states = states20;
5471
- ColorPreview.options = options19;
4942
+ ColorPreview.states = states13;
4943
+ ColorPreview.options = options12;
5472
4944
  ColorPreview.className = COLORPREVIEW_CLASSNAME;
5473
4945
 
4946
+ // src/animation-container/animation-container.spec.tsx
4947
+ var import_jsx_runtime27 = require("react/jsx-runtime");
4948
+ var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
4949
+ var states14 = [];
4950
+ var options13 = {};
4951
+ var defaultProps13 = {
4952
+ positionMode: "absolute"
4953
+ };
4954
+ var AnimationContainer = (props) => {
4955
+ const {
4956
+ positionMode,
4957
+ animationStyle,
4958
+ offset,
4959
+ ...other
4960
+ } = props;
4961
+ return /* @__PURE__ */ (0, import_jsx_runtime27.jsx)(
4962
+ "div",
4963
+ {
4964
+ ...other,
4965
+ style: { ...offset, ...props.style },
4966
+ className: classNames(
4967
+ ANIMATION_CONTAINER_CLASSNAME,
4968
+ "k-animation-container-shown",
4969
+ {
4970
+ ["k-animation-container-fixed"]: positionMode === "fixed"
4971
+ }
4972
+ ),
4973
+ children: /* @__PURE__ */ (0, import_jsx_runtime27.jsx)("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
4974
+ }
4975
+ );
4976
+ };
4977
+ AnimationContainer.states = states14;
4978
+ AnimationContainer.options = options13;
4979
+ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
4980
+ AnimationContainer.defaultProps = defaultProps13;
4981
+
4982
+ // src/popup/popup.spec.tsx
4983
+ var import_jsx_runtime28 = require("react/jsx-runtime");
4984
+ var POPUP_CLASSNAME = `k-popup`;
4985
+ var states15 = [];
4986
+ var options14 = {};
4987
+ var defaultProps14 = {
4988
+ positionMode: "absolute"
4989
+ };
4990
+ var Popup = (props) => {
4991
+ const {
4992
+ offset,
4993
+ positionMode,
4994
+ ...other
4995
+ } = props;
4996
+ return /* @__PURE__ */ (0, import_jsx_runtime28.jsx)(
4997
+ AnimationContainer,
4998
+ {
4999
+ positionMode,
5000
+ offset,
5001
+ children: /* @__PURE__ */ (0, import_jsx_runtime28.jsx)("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
5002
+ }
5003
+ );
5004
+ };
5005
+ Popup.states = states15;
5006
+ Popup.options = options14;
5007
+ Popup.className = POPUP_CLASSNAME;
5008
+ Popup.defaultProps = defaultProps14;
5009
+
5474
5010
  // src/colorpicker/colorpicker.spec.tsx
5475
- var import_jsx_runtime43 = require("react/jsx-runtime");
5011
+ var import_jsx_runtime29 = require("react/jsx-runtime");
5476
5012
  var COLORPICKER_CLASSNAME = `k-colorpicker`;
5477
- var states21 = [
5013
+ var states16 = [
5478
5014
  States.hover,
5479
5015
  States.focus,
5480
5016
  States.valid,
@@ -5482,12 +5018,12 @@ var states21 = [
5482
5018
  States.required,
5483
5019
  States.disabled
5484
5020
  ];
5485
- var options20 = {
5021
+ var options15 = {
5486
5022
  size: [Size.small, Size.medium, Size.large],
5487
5023
  rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5488
5024
  fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5489
5025
  };
5490
- var defaultProps21 = {
5026
+ var defaultProps15 = {
5491
5027
  arrowIconName: "caret-alt-down",
5492
5028
  size: Picker.defaultProps.size,
5493
5029
  rounded: Picker.defaultProps.rounded,
@@ -5509,13 +5045,13 @@ var ColorPicker = (props) => {
5509
5045
  required,
5510
5046
  disabled,
5511
5047
  valueIconName,
5512
- arrowIconName = defaultProps21.arrowIconName,
5048
+ arrowIconName = defaultProps15.arrowIconName,
5513
5049
  popup,
5514
5050
  opened,
5515
5051
  ...other
5516
5052
  } = props;
5517
- return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_jsx_runtime43.Fragment, { children: [
5518
- /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
5053
+ return /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(import_jsx_runtime29.Fragment, { children: [
5054
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsxs)(
5519
5055
  Picker,
5520
5056
  {
5521
5057
  ...other,
@@ -5534,14 +5070,14 @@ var ColorPicker = (props) => {
5534
5070
  "k-icon-picker"
5535
5071
  ),
5536
5072
  children: [
5537
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(InputPrefix, { children: prefix }),
5538
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
5073
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(InputPrefix, { children: prefix }),
5074
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
5539
5075
  InputInnerSpan,
5540
5076
  {
5541
5077
  placeholder,
5542
5078
  value,
5543
5079
  showValue: false,
5544
- valueIcon: /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
5080
+ valueIcon: /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
5545
5081
  ColorPreview,
5546
5082
  {
5547
5083
  className: "k-value-icon",
@@ -5552,8 +5088,8 @@ var ColorPicker = (props) => {
5552
5088
  valueIconName
5553
5089
  }
5554
5090
  ),
5555
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(InputSuffix, { children: suffix }),
5556
- /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
5091
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(InputSuffix, { children: suffix }),
5092
+ /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(
5557
5093
  Button,
5558
5094
  {
5559
5095
  className: "k-input-button",
@@ -5566,33 +5102,33 @@ var ColorPicker = (props) => {
5566
5102
  ]
5567
5103
  }
5568
5104
  ),
5569
- opened && popup && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Popup, { className: "k-color-picker-popup", children: popup })
5105
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime29.jsx)(Popup, { className: "k-color-picker-popup", children: popup })
5570
5106
  ] });
5571
5107
  };
5572
- ColorPicker.states = states21;
5573
- ColorPicker.options = options20;
5108
+ ColorPicker.states = states16;
5109
+ ColorPicker.options = options15;
5574
5110
  ColorPicker.className = COLORPICKER_CLASSNAME;
5575
- ColorPicker.defaultProps = defaultProps21;
5111
+ ColorPicker.defaultProps = defaultProps15;
5576
5112
 
5577
5113
  // src/colorpicker/templates/colorpicker-normal.tsx
5578
- var import_jsx_runtime44 = require("react/jsx-runtime");
5114
+ var import_jsx_runtime30 = require("react/jsx-runtime");
5579
5115
 
5580
5116
  // src/action-buttons/action-buttons.spec.tsx
5581
- var import_jsx_runtime45 = require("react/jsx-runtime");
5117
+ var import_jsx_runtime31 = require("react/jsx-runtime");
5582
5118
  var ACTIONBUTTONS_CLASSNAME = `k-actions`;
5583
- var states22 = [];
5584
- var options21 = {};
5585
- var defaultProps22 = {
5119
+ var states17 = [];
5120
+ var options16 = {};
5121
+ var defaultProps16 = {
5586
5122
  alignment: "start",
5587
5123
  orientation: "horizontal"
5588
5124
  };
5589
5125
  var ActionButtons = (props) => {
5590
5126
  const {
5591
- alignment = defaultProps22.alignment,
5592
- orientation = defaultProps22.orientation,
5127
+ alignment = defaultProps16.alignment,
5128
+ orientation = defaultProps16.orientation,
5593
5129
  ...other
5594
5130
  } = props;
5595
- return /* @__PURE__ */ (0, import_jsx_runtime45.jsx)(
5131
+ return /* @__PURE__ */ (0, import_jsx_runtime31.jsx)(
5596
5132
  "div",
5597
5133
  {
5598
5134
  ...other,
@@ -5608,24 +5144,24 @@ var ActionButtons = (props) => {
5608
5144
  }
5609
5145
  );
5610
5146
  };
5611
- ActionButtons.states = states22;
5612
- ActionButtons.options = options21;
5147
+ ActionButtons.states = states17;
5148
+ ActionButtons.options = options16;
5613
5149
  ActionButtons.className = ACTIONBUTTONS_CLASSNAME;
5614
- ActionButtons.defaultProps = defaultProps22;
5150
+ ActionButtons.defaultProps = defaultProps16;
5615
5151
  var action_buttons_spec_default = ActionButtons;
5616
5152
 
5617
5153
  // src/slider/slider.spec.tsx
5618
- var import_jsx_runtime46 = require("react/jsx-runtime");
5154
+ var import_jsx_runtime32 = require("react/jsx-runtime");
5619
5155
  var SLIDER_CLASSNAME = "k-slider";
5620
- var states23 = [
5156
+ var states18 = [
5621
5157
  States.hover,
5622
5158
  States.focus,
5623
5159
  States.active,
5624
5160
  States.disabled,
5625
5161
  States.readonly
5626
5162
  ];
5627
- var options22 = {};
5628
- var defaultProps23 = {
5163
+ var options17 = {};
5164
+ var defaultProps17 = {
5629
5165
  type: "single",
5630
5166
  orientation: "horizontal",
5631
5167
  readonly: false,
@@ -5636,13 +5172,13 @@ var defaultProps23 = {
5636
5172
  };
5637
5173
  var Slider = (props) => {
5638
5174
  const {
5639
- type = defaultProps23.type,
5640
- orientation = defaultProps23.orientation,
5641
- readonly = defaultProps23.readonly,
5642
- disabled = defaultProps23.disabled,
5643
- handlePosition = defaultProps23.handlePosition,
5644
- showButtons = defaultProps23.showButtons,
5645
- showTicks = defaultProps23.showTicks,
5175
+ type = defaultProps17.type,
5176
+ orientation = defaultProps17.orientation,
5177
+ readonly = defaultProps17.readonly,
5178
+ disabled = defaultProps17.disabled,
5179
+ handlePosition = defaultProps17.handlePosition,
5180
+ showButtons = defaultProps17.showButtons,
5181
+ showTicks = defaultProps17.showTicks,
5646
5182
  hover,
5647
5183
  focus,
5648
5184
  active,
@@ -5658,7 +5194,7 @@ var Slider = (props) => {
5658
5194
  iconIncrease = "caret-alt-up";
5659
5195
  iconDecrease = "caret-alt-down";
5660
5196
  }
5661
- return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: classNames(
5197
+ return /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: classNames(
5662
5198
  SLIDER_CLASSNAME,
5663
5199
  props.className,
5664
5200
  stateClassNames(SLIDER_CLASSNAME, {
@@ -5671,12 +5207,12 @@ var Slider = (props) => {
5671
5207
  "k-range-slider": type === "range"
5672
5208
  }
5673
5209
  ), dir, children: [
5674
- showButtons && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Button, { className: "k-button-decrease", rounded: "full", icon: iconDecrease }),
5675
- /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "k-slider-track-wrap", children: [
5676
- showTicks && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("ul", { className: "k-reset k-slider-items", children: props.children }),
5677
- /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)("div", { className: "k-slider-track", style: trackStyle, children: [
5678
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("div", { className: "k-slider-selection" }),
5679
- type === "range" && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: classNames(
5210
+ showButtons && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Button, { className: "k-button-decrease", rounded: "full", icon: iconDecrease }),
5211
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "k-slider-track-wrap", children: [
5212
+ showTicks && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("ul", { className: "k-reset k-slider-items", children: props.children }),
5213
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsxs)("div", { className: "k-slider-track", style: trackStyle, children: [
5214
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("div", { className: "k-slider-selection" }),
5215
+ type === "range" && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: classNames(
5680
5216
  "k-draghandle",
5681
5217
  "k-draghandle-start",
5682
5218
  stateClassNames(SLIDER_CLASSNAME, {
@@ -5685,7 +5221,7 @@ var Slider = (props) => {
5685
5221
  active
5686
5222
  })
5687
5223
  ) }),
5688
- /* @__PURE__ */ (0, import_jsx_runtime46.jsx)("span", { className: classNames(
5224
+ /* @__PURE__ */ (0, import_jsx_runtime32.jsx)("span", { className: classNames(
5689
5225
  "k-draghandle",
5690
5226
  `k-draghandle-${handlePosition}`,
5691
5227
  stateClassNames(SLIDER_CLASSNAME, {
@@ -5696,104 +5232,104 @@ var Slider = (props) => {
5696
5232
  ) })
5697
5233
  ] })
5698
5234
  ] }),
5699
- showButtons && /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(Button, { className: "k-button-increase", rounded: "full", icon: iconIncrease })
5235
+ showButtons && /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(Button, { className: "k-button-increase", rounded: "full", icon: iconIncrease })
5700
5236
  ] });
5701
5237
  };
5702
- Slider.states = states23;
5703
- Slider.options = options22;
5238
+ Slider.states = states18;
5239
+ Slider.options = options17;
5704
5240
  Slider.className = SLIDER_CLASSNAME;
5705
- Slider.defaultProps = defaultProps23;
5241
+ Slider.defaultProps = defaultProps17;
5706
5242
 
5707
5243
  // src/slider/slider-tick.tsx
5708
- var import_jsx_runtime47 = require("react/jsx-runtime");
5244
+ var import_jsx_runtime33 = require("react/jsx-runtime");
5709
5245
  var SLIDER_TICK_CLASSNAME = "k-tick";
5710
- var states24 = [];
5711
- var options23 = {};
5712
- var defaultProps24 = {
5246
+ var states19 = [];
5247
+ var options18 = {};
5248
+ var defaultProps18 = {
5713
5249
  label: false
5714
5250
  };
5715
5251
  var SliderTick = (props) => {
5716
5252
  const {
5717
5253
  style,
5718
- label = defaultProps24.label,
5254
+ label = defaultProps18.label,
5719
5255
  orientation,
5720
5256
  large,
5721
5257
  text
5722
5258
  } = props;
5723
- return /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("li", { className: classNames(
5259
+ return /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("li", { className: classNames(
5724
5260
  props.className,
5725
5261
  SLIDER_TICK_CLASSNAME,
5726
5262
  {
5727
5263
  [`k-tick-${orientation}`]: orientation,
5728
5264
  "k-tick-large": large
5729
5265
  }
5730
- ), style, children: label && /* @__PURE__ */ (0, import_jsx_runtime47.jsx)("span", { className: "k-label", children: text }) });
5266
+ ), style, children: label && /* @__PURE__ */ (0, import_jsx_runtime33.jsx)("span", { className: "k-label", children: text }) });
5731
5267
  };
5732
- SliderTick.states = states24;
5733
- SliderTick.options = options23;
5268
+ SliderTick.states = states19;
5269
+ SliderTick.options = options18;
5734
5270
  SliderTick.className = SLIDER_TICK_CLASSNAME;
5735
- SliderTick.defaultProps = defaultProps24;
5271
+ SliderTick.defaultProps = defaultProps18;
5736
5272
 
5737
5273
  // src/slider/templates/slider-normal.tsx
5738
- var import_jsx_runtime48 = require("react/jsx-runtime");
5274
+ var import_jsx_runtime34 = require("react/jsx-runtime");
5739
5275
 
5740
5276
  // src/slider/templates/slider-vertical.tsx
5741
- var import_jsx_runtime49 = require("react/jsx-runtime");
5277
+ var import_jsx_runtime35 = require("react/jsx-runtime");
5742
5278
 
5743
5279
  // src/slider/templates/slider-range.tsx
5744
- var import_jsx_runtime50 = require("react/jsx-runtime");
5280
+ var import_jsx_runtime36 = require("react/jsx-runtime");
5745
5281
 
5746
5282
  // src/slider/templates/slider-range-vertical.tsx
5747
- var import_jsx_runtime51 = require("react/jsx-runtime");
5283
+ var import_jsx_runtime37 = require("react/jsx-runtime");
5748
5284
 
5749
5285
  // src/slider/templates/slider-gradient.tsx
5750
- var import_jsx_runtime52 = require("react/jsx-runtime");
5286
+ var import_jsx_runtime38 = require("react/jsx-runtime");
5751
5287
 
5752
5288
  // src/slider/templates/slider-gradient-vertical.tsx
5753
- var import_jsx_runtime53 = require("react/jsx-runtime");
5754
- var SliderGradientVertical = (props) => /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(
5289
+ var import_jsx_runtime39 = require("react/jsx-runtime");
5290
+ var SliderGradientVertical = (props) => /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(
5755
5291
  Slider,
5756
5292
  {
5757
5293
  type: "gradient",
5758
5294
  orientation: "vertical",
5759
5295
  showButtons: false,
5760
5296
  showTicks: false,
5761
- children: /* @__PURE__ */ (0, import_jsx_runtime53.jsxs)(import_jsx_runtime53.Fragment, { children: [
5762
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SliderTick, { label: true, large: true, text: "0" }),
5763
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SliderTick, {}),
5764
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SliderTick, {}),
5765
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SliderTick, {}),
5766
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SliderTick, {}),
5767
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SliderTick, { label: true, large: true, text: "5" }),
5768
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SliderTick, {}),
5769
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SliderTick, {}),
5770
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SliderTick, {}),
5771
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SliderTick, {}),
5772
- /* @__PURE__ */ (0, import_jsx_runtime53.jsx)(SliderTick, { label: true, large: true, text: "10" })
5297
+ children: /* @__PURE__ */ (0, import_jsx_runtime39.jsxs)(import_jsx_runtime39.Fragment, { children: [
5298
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(SliderTick, { label: true, large: true, text: "0" }),
5299
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(SliderTick, {}),
5300
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(SliderTick, {}),
5301
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(SliderTick, {}),
5302
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(SliderTick, {}),
5303
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(SliderTick, { label: true, large: true, text: "5" }),
5304
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(SliderTick, {}),
5305
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(SliderTick, {}),
5306
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(SliderTick, {}),
5307
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(SliderTick, {}),
5308
+ /* @__PURE__ */ (0, import_jsx_runtime39.jsx)(SliderTick, { label: true, large: true, text: "10" })
5773
5309
  ] }),
5774
5310
  ...props
5775
5311
  }
5776
5312
  );
5777
5313
 
5778
5314
  // src/spinbutton/spinbutton.spec.tsx
5779
- var import_jsx_runtime54 = require("react/jsx-runtime");
5315
+ var import_jsx_runtime40 = require("react/jsx-runtime");
5780
5316
  var SPINBUTTON_CLASSNAME = `k-spin-button`;
5781
- var states25 = [];
5782
- var options24 = {
5317
+ var states20 = [];
5318
+ var options19 = {
5783
5319
  size: [Size.small, Size.medium, Size.large],
5784
5320
  fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link]
5785
5321
  };
5786
- var defaultProps25 = {
5322
+ var defaultProps19 = {
5787
5323
  size: Size.medium,
5788
5324
  fillMode: FillMode.solid
5789
5325
  };
5790
5326
  var SpinButton = (props) => {
5791
5327
  const {
5792
- size = defaultProps25.size,
5793
- fillMode = defaultProps25.fillMode,
5328
+ size = defaultProps19.size,
5329
+ fillMode = defaultProps19.fillMode,
5794
5330
  ...other
5795
5331
  } = props;
5796
- return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
5332
+ return /* @__PURE__ */ (0, import_jsx_runtime40.jsxs)(
5797
5333
  "span",
5798
5334
  {
5799
5335
  ...other,
@@ -5802,7 +5338,7 @@ var SpinButton = (props) => {
5802
5338
  props.className
5803
5339
  ),
5804
5340
  children: [
5805
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5341
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
5806
5342
  Button,
5807
5343
  {
5808
5344
  className: "k-spinner-increase",
@@ -5812,7 +5348,7 @@ var SpinButton = (props) => {
5812
5348
  fillMode
5813
5349
  }
5814
5350
  ),
5815
- /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(
5351
+ /* @__PURE__ */ (0, import_jsx_runtime40.jsx)(
5816
5352
  Button,
5817
5353
  {
5818
5354
  className: "k-spinner-decrease",
@@ -5826,15 +5362,15 @@ var SpinButton = (props) => {
5826
5362
  }
5827
5363
  );
5828
5364
  };
5829
- SpinButton.states = states25;
5830
- SpinButton.options = options24;
5365
+ SpinButton.states = states20;
5366
+ SpinButton.options = options19;
5831
5367
  SpinButton.className = SPINBUTTON_CLASSNAME;
5832
- SpinButton.defaultProps = defaultProps25;
5368
+ SpinButton.defaultProps = defaultProps19;
5833
5369
 
5834
5370
  // src/numerictextbox/numerictextbox.spec.tsx
5835
- var import_jsx_runtime55 = require("react/jsx-runtime");
5371
+ var import_jsx_runtime41 = require("react/jsx-runtime");
5836
5372
  var NUMERICTEXTBOX_CLASSNAME = `k-numerictextbox`;
5837
- var states26 = [
5373
+ var states21 = [
5838
5374
  States.hover,
5839
5375
  States.focus,
5840
5376
  States.valid,
@@ -5844,12 +5380,12 @@ var states26 = [
5844
5380
  States.disabled,
5845
5381
  States.readonly
5846
5382
  ];
5847
- var options25 = {
5383
+ var options20 = {
5848
5384
  size: [Size.small, Size.medium, Size.large],
5849
5385
  rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5850
5386
  fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5851
5387
  };
5852
- var defaultProps26 = {
5388
+ var defaultProps20 = {
5853
5389
  showSpinButton: true,
5854
5390
  showClearButton: true,
5855
5391
  size: Input.defaultProps.size,
@@ -5873,11 +5409,11 @@ var NumericTextbox = (props) => {
5873
5409
  loading,
5874
5410
  disabled,
5875
5411
  readonly,
5876
- showClearButton = defaultProps26.showClearButton,
5877
- showSpinButton = defaultProps26.showSpinButton,
5412
+ showClearButton = defaultProps20.showClearButton,
5413
+ showSpinButton = defaultProps20.showSpinButton,
5878
5414
  ...other
5879
5415
  } = props;
5880
- return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(
5416
+ return /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(
5881
5417
  Input,
5882
5418
  {
5883
5419
  ...other,
@@ -5894,12 +5430,12 @@ var NumericTextbox = (props) => {
5894
5430
  readonly,
5895
5431
  className: classNames(props.className, NUMERICTEXTBOX_CLASSNAME),
5896
5432
  children: [
5897
- prefix && /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_jsx_runtime55.Fragment, { children: [
5898
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(InputPrefix, { children: prefix }),
5899
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(InputSeparator, {})
5433
+ prefix && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
5434
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(InputPrefix, { children: prefix }),
5435
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(InputSeparator, {})
5900
5436
  ] }),
5901
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(InputInnerInput, { placeholder, value }),
5902
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5437
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(InputInnerInput, { placeholder, value }),
5438
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
5903
5439
  InputValidationIcon,
5904
5440
  {
5905
5441
  valid,
@@ -5908,14 +5444,14 @@ var NumericTextbox = (props) => {
5908
5444
  disabled
5909
5445
  }
5910
5446
  ),
5911
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5447
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
5912
5448
  InputLoadingIcon,
5913
5449
  {
5914
5450
  loading,
5915
5451
  disabled
5916
5452
  }
5917
5453
  ),
5918
- showClearButton && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5454
+ showClearButton && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
5919
5455
  InputClearValue,
5920
5456
  {
5921
5457
  loading,
@@ -5924,11 +5460,11 @@ var NumericTextbox = (props) => {
5924
5460
  value
5925
5461
  }
5926
5462
  ),
5927
- suffix && /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)(import_jsx_runtime55.Fragment, { children: [
5928
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(InputSeparator, {}),
5929
- /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(InputSuffix, { children: suffix })
5463
+ suffix && /* @__PURE__ */ (0, import_jsx_runtime41.jsxs)(import_jsx_runtime41.Fragment, { children: [
5464
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(InputSeparator, {}),
5465
+ /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(InputSuffix, { children: suffix })
5930
5466
  ] }),
5931
- showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)(
5467
+ showSpinButton && /* @__PURE__ */ (0, import_jsx_runtime41.jsx)(
5932
5468
  SpinButton,
5933
5469
  {
5934
5470
  className: "k-input-spinner",
@@ -5940,18 +5476,18 @@ var NumericTextbox = (props) => {
5940
5476
  }
5941
5477
  );
5942
5478
  };
5943
- NumericTextbox.states = states26;
5944
- NumericTextbox.options = options25;
5479
+ NumericTextbox.states = states21;
5480
+ NumericTextbox.options = options20;
5945
5481
  NumericTextbox.className = NUMERICTEXTBOX_CLASSNAME;
5946
- NumericTextbox.defaultProps = defaultProps26;
5482
+ NumericTextbox.defaultProps = defaultProps20;
5947
5483
 
5948
5484
  // src/numerictextbox/templates/numerictextbox-normal.tsx
5949
- var import_jsx_runtime56 = require("react/jsx-runtime");
5485
+ var import_jsx_runtime42 = require("react/jsx-runtime");
5950
5486
 
5951
5487
  // src/dropdownlist/dropdownlist.spec.tsx
5952
- var import_jsx_runtime57 = require("react/jsx-runtime");
5488
+ var import_jsx_runtime43 = require("react/jsx-runtime");
5953
5489
  var DROPDOWNLIST_CLASSNAME = `k-dropdownlist`;
5954
- var states27 = [
5490
+ var states22 = [
5955
5491
  States.hover,
5956
5492
  States.focus,
5957
5493
  States.valid,
@@ -5961,12 +5497,12 @@ var states27 = [
5961
5497
  States.loading,
5962
5498
  States.readonly
5963
5499
  ];
5964
- var options26 = {
5500
+ var options21 = {
5965
5501
  size: [Size.small, Size.medium, Size.large],
5966
5502
  rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
5967
5503
  fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
5968
5504
  };
5969
- var defaultProps27 = {
5505
+ var defaultProps21 = {
5970
5506
  showValue: true,
5971
5507
  arrowIconName: "caret-alt-down",
5972
5508
  size: Size.medium,
@@ -5976,7 +5512,7 @@ var defaultProps27 = {
5976
5512
  var DropdownList = (props) => {
5977
5513
  const {
5978
5514
  valueIconName,
5979
- arrowIconName = defaultProps27.arrowIconName,
5515
+ arrowIconName = defaultProps21.arrowIconName,
5980
5516
  prefix,
5981
5517
  suffix,
5982
5518
  value,
@@ -5992,13 +5528,13 @@ var DropdownList = (props) => {
5992
5528
  loading,
5993
5529
  disabled,
5994
5530
  readonly,
5995
- showValue = defaultProps27.showValue,
5531
+ showValue = defaultProps21.showValue,
5996
5532
  popup,
5997
5533
  opened,
5998
5534
  ...other
5999
5535
  } = props;
6000
- return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_jsx_runtime57.Fragment, { children: [
6001
- /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(
5536
+ return /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(import_jsx_runtime43.Fragment, { children: [
5537
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsxs)(
6002
5538
  Picker,
6003
5539
  {
6004
5540
  ...other,
@@ -6021,8 +5557,8 @@ var DropdownList = (props) => {
6021
5557
  }
6022
5558
  ),
6023
5559
  children: [
6024
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(InputPrefix, { children: prefix }),
6025
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
5560
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(InputPrefix, { children: prefix }),
5561
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6026
5562
  InputInnerSpan,
6027
5563
  {
6028
5564
  placeholder,
@@ -6031,7 +5567,7 @@ var DropdownList = (props) => {
6031
5567
  valueIconName
6032
5568
  }
6033
5569
  ),
6034
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
5570
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6035
5571
  InputValidationIcon,
6036
5572
  {
6037
5573
  valid,
@@ -6040,15 +5576,15 @@ var DropdownList = (props) => {
6040
5576
  disabled
6041
5577
  }
6042
5578
  ),
6043
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
5579
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6044
5580
  InputLoadingIcon,
6045
5581
  {
6046
5582
  loading,
6047
5583
  disabled
6048
5584
  }
6049
5585
  ),
6050
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(InputSuffix, { children: suffix }),
6051
- /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(
5586
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(InputSuffix, { children: suffix }),
5587
+ /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(
6052
5588
  Button,
6053
5589
  {
6054
5590
  className: "k-input-button",
@@ -6061,35 +5597,35 @@ var DropdownList = (props) => {
6061
5597
  ]
6062
5598
  }
6063
5599
  ),
6064
- opened && popup && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
5600
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime43.jsx)(Popup, { className: "k-list-container k-dropdownlist-popup", children: popup })
6065
5601
  ] });
6066
5602
  };
6067
- DropdownList.states = states27;
6068
- DropdownList.options = options26;
5603
+ DropdownList.states = states22;
5604
+ DropdownList.options = options21;
6069
5605
  DropdownList.className = DROPDOWNLIST_CLASSNAME;
6070
- DropdownList.defaultProps = defaultProps27;
5606
+ DropdownList.defaultProps = defaultProps21;
6071
5607
 
6072
5608
  // src/dropdownlist/templates/dropdownlist-normal.tsx
6073
- var import_jsx_runtime58 = require("react/jsx-runtime");
5609
+ var import_jsx_runtime44 = require("react/jsx-runtime");
6074
5610
 
6075
5611
  // src/nodata/nodata.tsx
6076
- var import_jsx_runtime59 = require("react/jsx-runtime");
5612
+ var import_jsx_runtime45 = require("react/jsx-runtime");
6077
5613
  var className10 = `k-nodata`;
6078
- var NoData = (props) => /* @__PURE__ */ (0, import_jsx_runtime59.jsx)("span", { className: classNames(className10, props.className), children: props.children });
5614
+ var NoData = (props) => /* @__PURE__ */ (0, import_jsx_runtime45.jsx)("span", { className: classNames(className10, props.className), children: props.children });
6079
5615
 
6080
5616
  // src/list/list.spec.tsx
6081
- var import_jsx_runtime60 = require("react/jsx-runtime");
5617
+ var import_jsx_runtime46 = require("react/jsx-runtime");
6082
5618
  var LIST_CLASSNAME = `k-list`;
6083
- var states28 = [];
6084
- var options27 = {
5619
+ var states23 = [];
5620
+ var options22 = {
6085
5621
  size: [Size.small, Size.medium, Size.large]
6086
5622
  };
6087
- var defaultProps28 = {
5623
+ var defaultProps22 = {
6088
5624
  size: Size.medium
6089
5625
  };
6090
5626
  var List = (props) => {
6091
5627
  const {
6092
- size = defaultProps28.size,
5628
+ size = defaultProps22.size,
6093
5629
  virtualization,
6094
5630
  children,
6095
5631
  optionLabel,
@@ -6106,7 +5642,7 @@ var List = (props) => {
6106
5642
  listHeader = child.props.label;
6107
5643
  child.props.children.map((optChild, index2) => {
6108
5644
  listChildren.push(
6109
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5645
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
6110
5646
  ListItem,
6111
5647
  {
6112
5648
  ...optChild.props
@@ -6122,7 +5658,7 @@ var List = (props) => {
6122
5658
  groupLabel = child.props.label;
6123
5659
  }
6124
5660
  listChildren.push(
6125
- /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(
5661
+ /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(
6126
5662
  ListItem,
6127
5663
  {
6128
5664
  className: index2 === 0 ? "k-first" : "",
@@ -6134,16 +5670,16 @@ var List = (props) => {
6134
5670
  );
6135
5671
  });
6136
5672
  }
6137
- listGroup = /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
5673
+ listGroup = /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
6138
5674
  } else if (child.type === ListItem) {
6139
- listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime60.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
6140
- listContent = /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(ListContent, { virtualization, children: listChildren });
5675
+ listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
5676
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(ListContent, { virtualization, children: listChildren });
6141
5677
  }
6142
5678
  });
6143
5679
  } else {
6144
- listContent = /* @__PURE__ */ (0, import_jsx_runtime60.jsx)(NoData, { children: "No data found." });
5680
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime46.jsx)(NoData, { children: "No data found." });
6145
5681
  }
6146
- return /* @__PURE__ */ (0, import_jsx_runtime60.jsxs)(
5682
+ return /* @__PURE__ */ (0, import_jsx_runtime46.jsxs)(
6147
5683
  "div",
6148
5684
  {
6149
5685
  ...other,
@@ -6165,24 +5701,24 @@ var List = (props) => {
6165
5701
  }
6166
5702
  );
6167
5703
  };
6168
- List.states = states28;
6169
- List.options = options27;
5704
+ List.states = states23;
5705
+ List.options = options22;
6170
5706
  List.className = LIST_CLASSNAME;
6171
- List.defaultProps = defaultProps28;
5707
+ List.defaultProps = defaultProps22;
6172
5708
 
6173
5709
  // src/list/list-angular.spec.tsx
6174
- var import_jsx_runtime61 = require("react/jsx-runtime");
5710
+ var import_jsx_runtime47 = require("react/jsx-runtime");
6175
5711
  var LISTANGULAR_CLASSNAME = `k-list`;
6176
- var states29 = [];
6177
- var options28 = {
5712
+ var states24 = [];
5713
+ var options23 = {
6178
5714
  size: [Size.small, Size.medium, Size.large]
6179
5715
  };
6180
- var defaultProps29 = {
5716
+ var defaultProps23 = {
6181
5717
  size: Size.medium
6182
5718
  };
6183
5719
  var ListAngular = (props) => {
6184
5720
  const {
6185
- size = defaultProps29.size,
5721
+ size = defaultProps23.size,
6186
5722
  virtualization,
6187
5723
  children,
6188
5724
  ...other
@@ -6198,7 +5734,7 @@ var ListAngular = (props) => {
6198
5734
  listHeader = child.props.label;
6199
5735
  child.props.children.map((optChild, index2) => {
6200
5736
  listChildren.push(
6201
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5737
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
6202
5738
  ListItem,
6203
5739
  {
6204
5740
  ...optChild.props
@@ -6209,7 +5745,7 @@ var ListAngular = (props) => {
6209
5745
  });
6210
5746
  } else {
6211
5747
  listChildren.push(
6212
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5748
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
6213
5749
  ListGroupItem,
6214
5750
  {
6215
5751
  ...child.props,
@@ -6220,7 +5756,7 @@ var ListAngular = (props) => {
6220
5756
  );
6221
5757
  child.props.children.map((optChild, index2) => {
6222
5758
  listChildren.push(
6223
- /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(
5759
+ /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(
6224
5760
  ListItem,
6225
5761
  {
6226
5762
  ...optChild.props
@@ -6230,16 +5766,16 @@ var ListAngular = (props) => {
6230
5766
  );
6231
5767
  });
6232
5768
  }
6233
- listGroup = /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
5769
+ listGroup = /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ListGroup, { label: listHeader, virtualization, children: listChildren });
6234
5770
  } else if (child.type === ListItem) {
6235
- listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
6236
- listContent = /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(ListContent, { virtualization, children: listChildren });
5771
+ listChildren.push(/* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ListItem, { ...child.props }, `${child.type}-${index}`));
5772
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(ListContent, { virtualization, children: listChildren });
6237
5773
  }
6238
5774
  });
6239
5775
  } else {
6240
- listContent = /* @__PURE__ */ (0, import_jsx_runtime61.jsx)(NoData, { children: "No data found." });
5776
+ listContent = /* @__PURE__ */ (0, import_jsx_runtime47.jsx)(NoData, { children: "No data found." });
6241
5777
  }
6242
- return /* @__PURE__ */ (0, import_jsx_runtime61.jsxs)(
5778
+ return /* @__PURE__ */ (0, import_jsx_runtime47.jsxs)(
6243
5779
  "div",
6244
5780
  {
6245
5781
  ...other,
@@ -6260,15 +5796,15 @@ var ListAngular = (props) => {
6260
5796
  }
6261
5797
  );
6262
5798
  };
6263
- ListAngular.states = states29;
6264
- ListAngular.options = options28;
5799
+ ListAngular.states = states24;
5800
+ ListAngular.options = options23;
6265
5801
  ListAngular.className = LISTANGULAR_CLASSNAME;
6266
- ListAngular.defaultProps = defaultProps29;
5802
+ ListAngular.defaultProps = defaultProps23;
6267
5803
 
6268
5804
  // src/checkbox/checkbox.spec.tsx
6269
- var import_jsx_runtime62 = require("react/jsx-runtime");
5805
+ var import_jsx_runtime48 = require("react/jsx-runtime");
6270
5806
  var CHECKBOX_CLASSNAME = `k-checkbox`;
6271
- var states30 = [
5807
+ var states25 = [
6272
5808
  States.hover,
6273
5809
  States.focus,
6274
5810
  States.valid,
@@ -6278,11 +5814,11 @@ var states30 = [
6278
5814
  States.checked,
6279
5815
  States.indeterminate
6280
5816
  ];
6281
- var options29 = {
5817
+ var options24 = {
6282
5818
  size: [Size.small, Size.medium, Size.large],
6283
5819
  rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full]
6284
5820
  };
6285
- var defaultProps30 = {
5821
+ var defaultProps24 = {
6286
5822
  size: Size.medium,
6287
5823
  rounded: Roundness.medium
6288
5824
  };
@@ -6297,11 +5833,11 @@ var Checkbox = (props) => {
6297
5833
  invalid,
6298
5834
  valid,
6299
5835
  required,
6300
- size = defaultProps30.size,
6301
- rounded = defaultProps30.rounded,
5836
+ size = defaultProps24.size,
5837
+ rounded = defaultProps24.rounded,
6302
5838
  ...other
6303
5839
  } = props;
6304
- return /* @__PURE__ */ (0, import_jsx_runtime62.jsx)("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime62.jsx)(
5840
+ return /* @__PURE__ */ (0, import_jsx_runtime48.jsx)("span", { className: "k-checkbox-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime48.jsx)(
6305
5841
  "input",
6306
5842
  {
6307
5843
  ...other,
@@ -6318,25 +5854,25 @@ var Checkbox = (props) => {
6318
5854
  }
6319
5855
  ) });
6320
5856
  };
6321
- Checkbox.states = states30;
6322
- Checkbox.options = options29;
5857
+ Checkbox.states = states25;
5858
+ Checkbox.options = options24;
6323
5859
  Checkbox.className = CHECKBOX_CLASSNAME;
6324
- Checkbox.defaultProps = defaultProps30;
5860
+ Checkbox.defaultProps = defaultProps24;
6325
5861
 
6326
5862
  // src/checkbox/checkbox-group.spec.tsx
6327
- var import_jsx_runtime63 = require("react/jsx-runtime");
5863
+ var import_jsx_runtime49 = require("react/jsx-runtime");
6328
5864
  var CHECKBOXGROUP_CLASSNAME = `k-checkbox-list`;
6329
- var states31 = [];
6330
- var options30 = {};
6331
- var defaultProps31 = {
5865
+ var states26 = [];
5866
+ var options25 = {};
5867
+ var defaultProps25 = {
6332
5868
  layout: "vertical"
6333
5869
  };
6334
5870
  var CheckboxGroup = (props) => {
6335
5871
  const {
6336
- layout = defaultProps31.layout,
5872
+ layout = defaultProps25.layout,
6337
5873
  ...other
6338
5874
  } = props;
6339
- return /* @__PURE__ */ (0, import_jsx_runtime63.jsx)(
5875
+ return /* @__PURE__ */ (0, import_jsx_runtime49.jsx)(
6340
5876
  "ul",
6341
5877
  {
6342
5878
  ...other,
@@ -6351,22 +5887,22 @@ var CheckboxGroup = (props) => {
6351
5887
  }
6352
5888
  );
6353
5889
  };
6354
- CheckboxGroup.states = states31;
6355
- CheckboxGroup.options = options30;
5890
+ CheckboxGroup.states = states26;
5891
+ CheckboxGroup.options = options25;
6356
5892
  CheckboxGroup.className = CHECKBOXGROUP_CLASSNAME;
6357
- CheckboxGroup.defaultProps = defaultProps31;
5893
+ CheckboxGroup.defaultProps = defaultProps25;
6358
5894
 
6359
5895
  // src/checkbox/checkbox-item.spec.tsx
6360
- var import_jsx_runtime64 = require("react/jsx-runtime");
5896
+ var import_jsx_runtime50 = require("react/jsx-runtime");
6361
5897
  var CHECKBOXITEM_CLASSNAME = `k-checkbox-list-item`;
6362
- var states32 = [];
6363
- var options31 = {};
6364
- var defaultProps32 = {};
5898
+ var states27 = [];
5899
+ var options26 = {};
5900
+ var defaultProps26 = {};
6365
5901
  var CheckboxItem = (props) => {
6366
5902
  const {
6367
5903
  ...other
6368
5904
  } = props;
6369
- return /* @__PURE__ */ (0, import_jsx_runtime64.jsx)(
5905
+ return /* @__PURE__ */ (0, import_jsx_runtime50.jsx)(
6370
5906
  "li",
6371
5907
  {
6372
5908
  ...other,
@@ -6378,31 +5914,31 @@ var CheckboxItem = (props) => {
6378
5914
  }
6379
5915
  );
6380
5916
  };
6381
- CheckboxItem.states = states32;
6382
- CheckboxItem.options = options31;
5917
+ CheckboxItem.states = states27;
5918
+ CheckboxItem.options = options26;
6383
5919
  CheckboxItem.className = CHECKBOXITEM_CLASSNAME;
6384
- CheckboxItem.defaultProps = defaultProps32;
5920
+ CheckboxItem.defaultProps = defaultProps26;
6385
5921
 
6386
5922
  // src/checkbox/templates/checkbox-with-label-after.tsx
6387
- var import_jsx_runtime65 = require("react/jsx-runtime");
5923
+ var import_jsx_runtime51 = require("react/jsx-runtime");
6388
5924
 
6389
5925
  // src/checkbox/templates/checkbox-with-label-before.tsx
6390
- var import_jsx_runtime66 = require("react/jsx-runtime");
5926
+ var import_jsx_runtime52 = require("react/jsx-runtime");
6391
5927
 
6392
5928
  // src/checkbox/templates/checkbox-normal.tsx
6393
- var import_jsx_runtime67 = require("react/jsx-runtime");
5929
+ var import_jsx_runtime53 = require("react/jsx-runtime");
6394
5930
 
6395
5931
  // src/list/list-item.spec.tsx
6396
- var import_jsx_runtime68 = require("react/jsx-runtime");
5932
+ var import_jsx_runtime54 = require("react/jsx-runtime");
6397
5933
  var LISTITEM_CLASSNAME = `k-list-item`;
6398
- var states33 = [
5934
+ var states28 = [
6399
5935
  States.hover,
6400
5936
  States.focus,
6401
5937
  States.selected,
6402
5938
  States.disabled
6403
5939
  ];
6404
- var options32 = {};
6405
- var defaultProps33 = {};
5940
+ var options27 = {};
5941
+ var defaultProps27 = {};
6406
5942
  var ListItem = (props) => {
6407
5943
  const {
6408
5944
  text,
@@ -6418,7 +5954,7 @@ var ListItem = (props) => {
6418
5954
  ...other
6419
5955
  } = props;
6420
5956
  const textOrChildren = text ? text : props.children;
6421
- return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
5957
+ return /* @__PURE__ */ (0, import_jsx_runtime54.jsxs)(
6422
5958
  "li",
6423
5959
  {
6424
5960
  ...other,
@@ -6433,66 +5969,66 @@ var ListItem = (props) => {
6433
5969
  })
6434
5970
  ),
6435
5971
  children: [
6436
- showCheckbox && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Checkbox, { checked }),
6437
- showIcon && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Icon, { icon: iconName }),
6438
- /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("span", { className: "k-list-item-text", children: textOrChildren }),
6439
- groupLabel && groupLabel !== "" && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)("div", { className: "k-list-item-group-label", children: groupLabel })
5972
+ showCheckbox && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Checkbox, { checked }),
5973
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)(Icon, { icon: iconName }),
5974
+ /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("span", { className: "k-list-item-text", children: textOrChildren }),
5975
+ groupLabel && groupLabel !== "" && /* @__PURE__ */ (0, import_jsx_runtime54.jsx)("div", { className: "k-list-item-group-label", children: groupLabel })
6440
5976
  ]
6441
5977
  }
6442
5978
  );
6443
5979
  };
6444
- ListItem.states = states33;
6445
- ListItem.options = options32;
5980
+ ListItem.states = states28;
5981
+ ListItem.options = options27;
6446
5982
  ListItem.className = LISTITEM_CLASSNAME;
6447
- ListItem.defaultProps = defaultProps33;
5983
+ ListItem.defaultProps = defaultProps27;
6448
5984
 
6449
5985
  // src/list/list-content.tsx
6450
- var import_jsx_runtime69 = require("react/jsx-runtime");
5986
+ var import_jsx_runtime55 = require("react/jsx-runtime");
6451
5987
  var className11 = `k-list-content`;
6452
5988
  var ListContent = (props) => {
6453
5989
  const {
6454
5990
  virtualization
6455
5991
  } = props;
6456
- return /* @__PURE__ */ (0, import_jsx_runtime69.jsxs)("div", { className: classNames(className11, props.className), children: [
6457
- /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("ul", { className: classNames("k-list-ul"), children: props.children }),
6458
- virtualization && /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", { className: "k-height-container", children: /* @__PURE__ */ (0, import_jsx_runtime69.jsx)("div", {}) })
5992
+ return /* @__PURE__ */ (0, import_jsx_runtime55.jsxs)("div", { className: classNames(className11, props.className), children: [
5993
+ /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("ul", { className: classNames("k-list-ul"), children: props.children }),
5994
+ virtualization && /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", { className: "k-height-container", children: /* @__PURE__ */ (0, import_jsx_runtime55.jsx)("div", {}) })
6459
5995
  ] });
6460
5996
  };
6461
5997
 
6462
5998
  // src/list/list-header.tsx
6463
- var import_jsx_runtime70 = require("react/jsx-runtime");
5999
+ var import_jsx_runtime56 = require("react/jsx-runtime");
6464
6000
  var className12 = `k-list-group-sticky-header`;
6465
- var ListHeader = (props) => /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: classNames(className12, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime70.jsx)("div", { className: "k-list-header-text", children: props.children }) });
6001
+ var ListHeader = (props) => /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: classNames(className12, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime56.jsx)("div", { className: "k-list-header-text", children: props.children }) });
6466
6002
 
6467
6003
  // src/list/list-group.tsx
6468
- var import_jsx_runtime71 = require("react/jsx-runtime");
6004
+ var import_jsx_runtime57 = require("react/jsx-runtime");
6469
6005
  var ListGroup = (props) => {
6470
6006
  const {
6471
6007
  virtualization,
6472
6008
  label
6473
6009
  } = props;
6474
- return /* @__PURE__ */ (0, import_jsx_runtime71.jsxs)(import_jsx_runtime71.Fragment, { children: [
6475
- label && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ListHeader, { children: label }),
6476
- props.children && /* @__PURE__ */ (0, import_jsx_runtime71.jsx)(ListContent, { virtualization, children: props.children })
6010
+ return /* @__PURE__ */ (0, import_jsx_runtime57.jsxs)(import_jsx_runtime57.Fragment, { children: [
6011
+ label && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ListHeader, { children: label }),
6012
+ props.children && /* @__PURE__ */ (0, import_jsx_runtime57.jsx)(ListContent, { virtualization, children: props.children })
6477
6013
  ] });
6478
6014
  };
6479
6015
 
6480
6016
  // src/list/list-group-item.tsx
6481
- var import_jsx_runtime72 = require("react/jsx-runtime");
6017
+ var import_jsx_runtime58 = require("react/jsx-runtime");
6482
6018
  var className13 = `k-list-group-item`;
6483
- var ListGroupItem = (props) => /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("li", { className: classNames(className13, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime72.jsx)("span", { className: "k-list-item-text", children: props.children }) });
6019
+ var ListGroupItem = (props) => /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("li", { className: classNames(className13, props.className), children: /* @__PURE__ */ (0, import_jsx_runtime58.jsx)("span", { className: "k-list-item-text", children: props.children }) });
6484
6020
 
6485
6021
  // src/list/list-option-label.tsx
6486
- var import_jsx_runtime73 = require("react/jsx-runtime");
6022
+ var import_jsx_runtime59 = require("react/jsx-runtime");
6487
6023
  var LIST_OPTIONLABEL_CLASSNAME = `k-list-optionlabel`;
6488
- var states34 = [
6024
+ var states29 = [
6489
6025
  States.hover,
6490
6026
  States.focus,
6491
6027
  States.selected,
6492
6028
  States.disabled
6493
6029
  ];
6494
- var options33 = {};
6495
- var defaultProps34 = {};
6030
+ var options28 = {};
6031
+ var defaultProps28 = {};
6496
6032
  var ListOptionLabel = (props) => {
6497
6033
  const {
6498
6034
  text,
@@ -6502,7 +6038,7 @@ var ListOptionLabel = (props) => {
6502
6038
  disabled,
6503
6039
  ...other
6504
6040
  } = props;
6505
- return /* @__PURE__ */ (0, import_jsx_runtime73.jsx)(
6041
+ return /* @__PURE__ */ (0, import_jsx_runtime59.jsx)(
6506
6042
  "div",
6507
6043
  {
6508
6044
  ...other,
@@ -6519,54 +6055,129 @@ var ListOptionLabel = (props) => {
6519
6055
  }
6520
6056
  );
6521
6057
  };
6522
- ListOptionLabel.states = states34;
6523
- ListOptionLabel.options = options33;
6058
+ ListOptionLabel.states = states29;
6059
+ ListOptionLabel.options = options28;
6524
6060
  ListOptionLabel.className = LIST_OPTIONLABEL_CLASSNAME;
6525
- ListOptionLabel.defaultProps = defaultProps34;
6061
+ ListOptionLabel.defaultProps = defaultProps28;
6526
6062
 
6527
6063
  // src/list/templates/list-normal.tsx
6528
- var import_jsx_runtime74 = require("react/jsx-runtime");
6064
+ var import_jsx_runtime60 = require("react/jsx-runtime");
6529
6065
 
6530
6066
  // src/list/templates/list-virtualization.tsx
6531
- var import_jsx_runtime75 = require("react/jsx-runtime");
6067
+ var import_jsx_runtime61 = require("react/jsx-runtime");
6532
6068
 
6533
6069
  // src/list/templates/list-grouping.tsx
6534
- var import_jsx_runtime76 = require("react/jsx-runtime");
6070
+ var import_jsx_runtime62 = require("react/jsx-runtime");
6535
6071
 
6536
6072
  // src/list/templates/list-virualization-grouping.tsx
6537
- var import_jsx_runtime77 = require("react/jsx-runtime");
6073
+ var import_jsx_runtime63 = require("react/jsx-runtime");
6538
6074
 
6539
6075
  // src/list/templates/list-virtualization-angular.tsx
6540
- var import_jsx_runtime78 = require("react/jsx-runtime");
6076
+ var import_jsx_runtime64 = require("react/jsx-runtime");
6541
6077
 
6542
6078
  // src/list/templates/list-grouping-angular.tsx
6543
- var import_jsx_runtime79 = require("react/jsx-runtime");
6079
+ var import_jsx_runtime65 = require("react/jsx-runtime");
6544
6080
 
6545
6081
  // src/list/templates/list-virualization-grouping-angular.tsx
6546
- var import_jsx_runtime80 = require("react/jsx-runtime");
6082
+ var import_jsx_runtime66 = require("react/jsx-runtime");
6547
6083
 
6548
6084
  // src/dropdownlist/templates/dropdownlist-popup.tsx
6549
- var import_jsx_runtime81 = require("react/jsx-runtime");
6085
+ var import_jsx_runtime67 = require("react/jsx-runtime");
6086
+
6087
+ // src/searchbox/searchbox.spec.tsx
6088
+ var import_jsx_runtime68 = require("react/jsx-runtime");
6089
+ var SEARCHBOX_CLASSNAME = `k-searchbox`;
6090
+ var states30 = [
6091
+ States.hover,
6092
+ States.focus,
6093
+ States.valid,
6094
+ States.invalid,
6095
+ States.required,
6096
+ States.disabled,
6097
+ States.loading
6098
+ ];
6099
+ var options29 = {
6100
+ size: [Size.small, Size.medium, Size.large],
6101
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
6102
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
6103
+ };
6104
+ var defaultProps29 = {
6105
+ showIcon: true,
6106
+ icon: "search",
6107
+ size: Input.defaultProps.size,
6108
+ rounded: Input.defaultProps.rounded,
6109
+ fillMode: Input.defaultProps.fillMode
6110
+ };
6111
+ var Searchbox = (props) => {
6112
+ const {
6113
+ value,
6114
+ placeholder,
6115
+ size,
6116
+ rounded,
6117
+ fillMode,
6118
+ hover,
6119
+ focus,
6120
+ valid,
6121
+ invalid,
6122
+ required,
6123
+ loading,
6124
+ disabled,
6125
+ showIcon = defaultProps29.showIcon,
6126
+ icon = defaultProps29.icon,
6127
+ ...other
6128
+ } = props;
6129
+ return /* @__PURE__ */ (0, import_jsx_runtime68.jsxs)(
6130
+ Input,
6131
+ {
6132
+ ...other,
6133
+ size,
6134
+ rounded,
6135
+ fillMode,
6136
+ hover,
6137
+ focus,
6138
+ valid,
6139
+ invalid,
6140
+ required,
6141
+ loading,
6142
+ disabled,
6143
+ className: classNames(props.className, SEARCHBOX_CLASSNAME),
6144
+ children: [
6145
+ showIcon && /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(Icon, { className: "k-input-icon", icon }),
6146
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(InputInnerInput, { placeholder, value }),
6147
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(InputLoadingIcon, { ...props }),
6148
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(InputValidationIcon, { ...props }),
6149
+ /* @__PURE__ */ (0, import_jsx_runtime68.jsx)(InputClearValue, { ...props })
6150
+ ]
6151
+ }
6152
+ );
6153
+ };
6154
+ Searchbox.states = states30;
6155
+ Searchbox.options = options29;
6156
+ Searchbox.className = SEARCHBOX_CLASSNAME;
6157
+ Searchbox.defaultProps = defaultProps29;
6158
+
6159
+ // src/searchbox/templates/searchbox-normal.tsx
6160
+ var import_jsx_runtime69 = require("react/jsx-runtime");
6550
6161
 
6551
6162
  // src/dropdownlist/templates/dropdownlist-filtering.tsx
6552
- var import_jsx_runtime82 = require("react/jsx-runtime");
6163
+ var import_jsx_runtime70 = require("react/jsx-runtime");
6553
6164
 
6554
6165
  // src/dropdownlist/templates/dropdownlist-grouping.tsx
6555
- var import_jsx_runtime83 = require("react/jsx-runtime");
6166
+ var import_jsx_runtime71 = require("react/jsx-runtime");
6556
6167
 
6557
6168
  // src/dropdownlist/templates/dropdownlist-grouping-filtering.tsx
6558
- var import_jsx_runtime84 = require("react/jsx-runtime");
6169
+ var import_jsx_runtime72 = require("react/jsx-runtime");
6559
6170
 
6560
6171
  // src/numerictextbox/templates/numerictextbox-prefix.tsx
6561
- var import_jsx_runtime85 = require("react/jsx-runtime");
6172
+ var import_jsx_runtime73 = require("react/jsx-runtime");
6562
6173
 
6563
6174
  // src/numerictextbox/templates/numerictextbox-suffix.tsx
6564
- var import_jsx_runtime86 = require("react/jsx-runtime");
6175
+ var import_jsx_runtime74 = require("react/jsx-runtime");
6565
6176
 
6566
6177
  // src/textbox/textbox.spec.tsx
6567
- var import_jsx_runtime87 = require("react/jsx-runtime");
6178
+ var import_jsx_runtime75 = require("react/jsx-runtime");
6568
6179
  var TEXTBOX_CLASSNAME = `k-textbox`;
6569
- var states35 = [
6180
+ var states31 = [
6570
6181
  States.hover,
6571
6182
  States.focus,
6572
6183
  States.valid,
@@ -6576,12 +6187,12 @@ var states35 = [
6576
6187
  States.loading,
6577
6188
  States.readonly
6578
6189
  ];
6579
- var options34 = {
6190
+ var options30 = {
6580
6191
  size: [Size.small, Size.medium, Size.large],
6581
6192
  rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
6582
6193
  fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
6583
6194
  };
6584
- var defaultProps35 = {
6195
+ var defaultProps30 = {
6585
6196
  showClearButton: true,
6586
6197
  size: Input.defaultProps.size,
6587
6198
  rounded: Input.defaultProps.rounded,
@@ -6604,10 +6215,10 @@ var Textbox = (props) => {
6604
6215
  loading,
6605
6216
  disabled,
6606
6217
  readonly,
6607
- showClearButton = defaultProps35.showClearButton,
6218
+ showClearButton = defaultProps30.showClearButton,
6608
6219
  ...other
6609
6220
  } = props;
6610
- return /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(
6221
+ return /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(
6611
6222
  Input,
6612
6223
  {
6613
6224
  ...other,
@@ -6624,12 +6235,12 @@ var Textbox = (props) => {
6624
6235
  readonly,
6625
6236
  className: classNames(props.className, TEXTBOX_CLASSNAME),
6626
6237
  children: [
6627
- prefix && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_jsx_runtime87.Fragment, { children: [
6628
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(InputPrefix, { children: prefix }),
6629
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(InputSeparator, {})
6238
+ prefix && /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_jsx_runtime75.Fragment, { children: [
6239
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(InputPrefix, { children: prefix }),
6240
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(InputSeparator, {})
6630
6241
  ] }),
6631
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(InputInnerInput, { placeholder, value }),
6632
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6242
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(InputInnerInput, { placeholder, value }),
6243
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6633
6244
  InputValidationIcon,
6634
6245
  {
6635
6246
  valid,
@@ -6638,14 +6249,14 @@ var Textbox = (props) => {
6638
6249
  disabled
6639
6250
  }
6640
6251
  ),
6641
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6252
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6642
6253
  InputLoadingIcon,
6643
6254
  {
6644
6255
  loading,
6645
6256
  disabled
6646
6257
  }
6647
6258
  ),
6648
- showClearButton && /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(
6259
+ showClearButton && /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(
6649
6260
  InputClearValue,
6650
6261
  {
6651
6262
  loading,
@@ -6654,162 +6265,162 @@ var Textbox = (props) => {
6654
6265
  value
6655
6266
  }
6656
6267
  ),
6657
- suffix && /* @__PURE__ */ (0, import_jsx_runtime87.jsxs)(import_jsx_runtime87.Fragment, { children: [
6658
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(InputSeparator, {}),
6659
- /* @__PURE__ */ (0, import_jsx_runtime87.jsx)(InputSuffix, { children: suffix })
6268
+ suffix && /* @__PURE__ */ (0, import_jsx_runtime75.jsxs)(import_jsx_runtime75.Fragment, { children: [
6269
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(InputSeparator, {}),
6270
+ /* @__PURE__ */ (0, import_jsx_runtime75.jsx)(InputSuffix, { children: suffix })
6660
6271
  ] })
6661
6272
  ]
6662
6273
  }
6663
6274
  );
6664
6275
  };
6665
- Textbox.states = states35;
6666
- Textbox.options = options34;
6276
+ Textbox.states = states31;
6277
+ Textbox.options = options30;
6667
6278
  Textbox.className = TEXTBOX_CLASSNAME;
6668
- Textbox.defaultProps = defaultProps35;
6279
+ Textbox.defaultProps = defaultProps30;
6669
6280
 
6670
6281
  // src/textbox/templates/textbox-normal.tsx
6671
- var import_jsx_runtime88 = require("react/jsx-runtime");
6282
+ var import_jsx_runtime76 = require("react/jsx-runtime");
6672
6283
 
6673
6284
  // src/textbox/templates/textbox-prefix.tsx
6674
- var import_jsx_runtime89 = require("react/jsx-runtime");
6285
+ var import_jsx_runtime77 = require("react/jsx-runtime");
6675
6286
 
6676
6287
  // src/textbox/templates/textbox-suffix.tsx
6677
- var import_jsx_runtime90 = require("react/jsx-runtime");
6288
+ var import_jsx_runtime78 = require("react/jsx-runtime");
6678
6289
 
6679
6290
  // src/colorgradient/color-input.tsx
6680
- var import_jsx_runtime91 = require("react/jsx-runtime");
6291
+ var import_jsx_runtime79 = require("react/jsx-runtime");
6681
6292
  var COLOR_INPUT_CLASSNAME = "k-colorgradient-inputs";
6682
- var states36 = [];
6683
- var options35 = {};
6684
- var defaultProps36 = {
6293
+ var states32 = [];
6294
+ var options31 = {};
6295
+ var defaultProps31 = {
6685
6296
  mode: "rgba"
6686
6297
  };
6687
6298
  var ColorInput = (props) => {
6688
6299
  const {
6689
- mode = defaultProps36.mode
6300
+ mode = defaultProps31.mode
6690
6301
  } = props;
6691
- return /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: classNames(COLOR_INPUT_CLASSNAME, "k-hstack"), children: [
6692
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("div", { className: "k-vstack", children: /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Button, { fillMode: "flat", icon: "caret-alt-expand", className: "k-colorgradient-toggle-mode" }) }),
6693
- mode === "rgba" && /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_jsx_runtime91.Fragment, { children: [
6694
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "k-vstack", children: [
6695
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6696
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("label", { className: "k-colorgradient-input-label", children: "R" })
6302
+ return /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: classNames(COLOR_INPUT_CLASSNAME, "k-hstack"), children: [
6303
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("div", { className: "k-vstack", children: /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Button, { fillMode: "flat", icon: "caret-alt-expand", className: "k-colorgradient-toggle-mode" }) }),
6304
+ mode === "rgba" && /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_jsx_runtime79.Fragment, { children: [
6305
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "k-vstack", children: [
6306
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6307
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("label", { className: "k-colorgradient-input-label", children: "R" })
6697
6308
  ] }),
6698
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "k-vstack", children: [
6699
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6700
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("label", { className: "k-colorgradient-input-label", children: "G" })
6309
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "k-vstack", children: [
6310
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6311
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("label", { className: "k-colorgradient-input-label", children: "G" })
6701
6312
  ] }),
6702
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "k-vstack", children: [
6703
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6704
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("label", { className: "k-colorgradient-input-label", children: "B" })
6313
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "k-vstack", children: [
6314
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6315
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("label", { className: "k-colorgradient-input-label", children: "B" })
6705
6316
  ] }),
6706
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "k-vstack", children: [
6707
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
6708
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("label", { className: "k-colorgradient-input-label", children: "A" })
6317
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "k-vstack", children: [
6318
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
6319
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("label", { className: "k-colorgradient-input-label", children: "A" })
6709
6320
  ] })
6710
6321
  ] }),
6711
- mode === "rgb" && /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_jsx_runtime91.Fragment, { children: [
6712
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "k-vstack", children: [
6713
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6714
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("label", { className: "k-colorgradient-input-label", children: "R" })
6322
+ mode === "rgb" && /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_jsx_runtime79.Fragment, { children: [
6323
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "k-vstack", children: [
6324
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6325
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("label", { className: "k-colorgradient-input-label", children: "R" })
6715
6326
  ] }),
6716
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "k-vstack", children: [
6717
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6718
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("label", { className: "k-colorgradient-input-label", children: "G" })
6327
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "k-vstack", children: [
6328
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6329
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("label", { className: "k-colorgradient-input-label", children: "G" })
6719
6330
  ] }),
6720
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "k-vstack", children: [
6721
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6722
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("label", { className: "k-colorgradient-input-label", children: "B" })
6331
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "k-vstack", children: [
6332
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6333
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("label", { className: "k-colorgradient-input-label", children: "B" })
6723
6334
  ] })
6724
6335
  ] }),
6725
- mode === "hsva" && /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_jsx_runtime91.Fragment, { children: [
6726
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "k-vstack", children: [
6727
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6728
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("label", { className: "k-colorgradient-input-label", children: "H" })
6336
+ mode === "hsva" && /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_jsx_runtime79.Fragment, { children: [
6337
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "k-vstack", children: [
6338
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6339
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("label", { className: "k-colorgradient-input-label", children: "H" })
6729
6340
  ] }),
6730
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "k-vstack", children: [
6731
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6732
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("label", { className: "k-colorgradient-input-label", children: "S" })
6341
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "k-vstack", children: [
6342
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6343
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("label", { className: "k-colorgradient-input-label", children: "S" })
6733
6344
  ] }),
6734
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "k-vstack", children: [
6735
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6736
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("label", { className: "k-colorgradient-input-label", children: "V" })
6345
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "k-vstack", children: [
6346
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6347
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("label", { className: "k-colorgradient-input-label", children: "V" })
6737
6348
  ] }),
6738
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "k-vstack", children: [
6739
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
6740
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("label", { className: "k-colorgradient-input-label", children: "A" })
6349
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "k-vstack", children: [
6350
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "1.00" }),
6351
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("label", { className: "k-colorgradient-input-label", children: "A" })
6741
6352
  ] })
6742
6353
  ] }),
6743
- mode === "hsv" && /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)(import_jsx_runtime91.Fragment, { children: [
6744
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "k-vstack", children: [
6745
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6746
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("label", { className: "k-colorgradient-input-label", children: "H" })
6354
+ mode === "hsv" && /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)(import_jsx_runtime79.Fragment, { children: [
6355
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "k-vstack", children: [
6356
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6357
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("label", { className: "k-colorgradient-input-label", children: "H" })
6747
6358
  ] }),
6748
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "k-vstack", children: [
6749
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6750
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("label", { className: "k-colorgradient-input-label", children: "S" })
6359
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "k-vstack", children: [
6360
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6361
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("label", { className: "k-colorgradient-input-label", children: "S" })
6751
6362
  ] }),
6752
- /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "k-vstack", children: [
6753
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6754
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("label", { className: "k-colorgradient-input-label", children: "V" })
6363
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "k-vstack", children: [
6364
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(NumericTextbox, { showSpinButton: false, showClearButton: false, value: "132" }),
6365
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("label", { className: "k-colorgradient-input-label", children: "V" })
6755
6366
  ] })
6756
6367
  ] }),
6757
- mode === "hex" && /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(import_jsx_runtime91.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime91.jsxs)("div", { className: "k-vstack k-flex-1", children: [
6758
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)(Textbox, { showClearButton: false, value: "#b88484AA", className: "k-hex-value" }),
6759
- /* @__PURE__ */ (0, import_jsx_runtime91.jsx)("label", { className: "k-colorgradient-input-label", children: "HEX" })
6368
+ mode === "hex" && /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(import_jsx_runtime79.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime79.jsxs)("div", { className: "k-vstack k-flex-1", children: [
6369
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)(Textbox, { showClearButton: false, value: "#b88484AA", className: "k-hex-value" }),
6370
+ /* @__PURE__ */ (0, import_jsx_runtime79.jsx)("label", { className: "k-colorgradient-input-label", children: "HEX" })
6760
6371
  ] }) })
6761
6372
  ] });
6762
6373
  };
6763
- ColorInput.states = states36;
6764
- ColorInput.options = options35;
6374
+ ColorInput.states = states32;
6375
+ ColorInput.options = options31;
6765
6376
  ColorInput.className = COLOR_INPUT_CLASSNAME;
6766
- ColorInput.defaultProps = defaultProps36;
6377
+ ColorInput.defaultProps = defaultProps31;
6767
6378
 
6768
6379
  // src/colorgradient/color-contrast.tsx
6769
- var import_jsx_runtime92 = require("react/jsx-runtime");
6380
+ var import_jsx_runtime80 = require("react/jsx-runtime");
6770
6381
  var COLOR_CONTRAST_CLASSNAME = "k-colorgradient-color-contrast";
6771
- var states37 = [];
6772
- var options36 = {};
6773
- var defaultProps37 = {};
6774
- var ColorContrast = () => /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: classNames(COLOR_CONTRAST_CLASSNAME, "k-vbox"), children: [
6775
- /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { className: "k-contrast-ratio", children: [
6776
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { className: "k-contrast-ratio-text", children: "Contrast ratio: 7.1" }),
6777
- /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("span", { className: "k-contrast-validation !k-text-success", children: [
6778
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Icon, { icon: "check" }),
6779
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Icon, { icon: "check" })
6382
+ var states33 = [];
6383
+ var options32 = {};
6384
+ var defaultProps32 = {};
6385
+ var ColorContrast = () => /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: classNames(COLOR_CONTRAST_CLASSNAME, "k-vbox"), children: [
6386
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { className: "k-contrast-ratio", children: [
6387
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { className: "k-contrast-ratio-text", children: "Contrast ratio: 7.1" }),
6388
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("span", { className: "k-contrast-validation !k-text-success", children: [
6389
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Icon, { icon: "check" }),
6390
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Icon, { icon: "check" })
6780
6391
  ] })
6781
6392
  ] }),
6782
- /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { children: [
6783
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { children: "AA: 4.5" }),
6784
- /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("span", { className: "k-contrast-validation !k-text-success", children: [
6393
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { children: [
6394
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { children: "AA: 4.5" }),
6395
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("span", { className: "k-contrast-validation !k-text-success", children: [
6785
6396
  "Pass",
6786
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Icon, { icon: "check" })
6397
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Icon, { icon: "check" })
6787
6398
  ] })
6788
6399
  ] }),
6789
- /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("div", { children: [
6790
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)("span", { children: "AAA: 7.0" }),
6791
- /* @__PURE__ */ (0, import_jsx_runtime92.jsxs)("span", { className: "k-contrast-validation !k-text-error", children: [
6400
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("div", { children: [
6401
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)("span", { children: "AAA: 7.0" }),
6402
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsxs)("span", { className: "k-contrast-validation !k-text-error", children: [
6792
6403
  "Fail",
6793
- /* @__PURE__ */ (0, import_jsx_runtime92.jsx)(Icon, { icon: "x" })
6404
+ /* @__PURE__ */ (0, import_jsx_runtime80.jsx)(Icon, { icon: "x" })
6794
6405
  ] })
6795
6406
  ] })
6796
6407
  ] });
6797
- ColorContrast.states = states37;
6798
- ColorContrast.options = options36;
6408
+ ColorContrast.states = states33;
6409
+ ColorContrast.options = options32;
6799
6410
  ColorContrast.className = COLOR_CONTRAST_CLASSNAME;
6800
- ColorContrast.defaultProps = defaultProps37;
6411
+ ColorContrast.defaultProps = defaultProps32;
6801
6412
 
6802
6413
  // src/colorgradient/color-gradient.spec.tsx
6803
- var import_jsx_runtime93 = require("react/jsx-runtime");
6414
+ var import_jsx_runtime81 = require("react/jsx-runtime");
6804
6415
  var COLOR_GRADIENT_CLASSNAME = "k-colorgradient";
6805
- var states38 = [
6416
+ var states34 = [
6806
6417
  States.hover,
6807
6418
  States.focus,
6808
6419
  States.readonly,
6809
6420
  States.disabled
6810
6421
  ];
6811
- var options37 = {};
6812
- var defaultProps38 = {
6422
+ var options33 = {};
6423
+ var defaultProps33 = {
6813
6424
  mode: "rgba",
6814
6425
  readonly: false,
6815
6426
  disabled: false,
@@ -6820,20 +6431,20 @@ var defaultProps38 = {
6820
6431
  };
6821
6432
  var ColorGradient = (props) => {
6822
6433
  const {
6823
- mode = defaultProps38.mode,
6824
- readonly = defaultProps38.readonly,
6825
- disabled = defaultProps38.disabled,
6434
+ mode = defaultProps33.mode,
6435
+ readonly = defaultProps33.readonly,
6436
+ disabled = defaultProps33.disabled,
6826
6437
  dir,
6827
- contrast = defaultProps38.contrast,
6438
+ contrast = defaultProps33.contrast,
6828
6439
  hover,
6829
6440
  focus,
6830
6441
  hoverHandle,
6831
6442
  focusHandle,
6832
- gradientStyle = defaultProps38.gradientStyle,
6833
- dragHandleStyle = defaultProps38.dragHandleStyle,
6834
- alphaStyle = defaultProps38.alphaStyle
6443
+ gradientStyle = defaultProps33.gradientStyle,
6444
+ dragHandleStyle = defaultProps33.dragHandleStyle,
6445
+ alphaStyle = defaultProps33.alphaStyle
6835
6446
  } = props;
6836
- return /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: classNames(
6447
+ return /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: classNames(
6837
6448
  props.className,
6838
6449
  COLOR_GRADIENT_CLASSNAME,
6839
6450
  stateClassNames(COLOR_GRADIENT_CLASSNAME, {
@@ -6843,8 +6454,8 @@ var ColorGradient = (props) => {
6843
6454
  disabled
6844
6455
  })
6845
6456
  ), dir, children: [
6846
- /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "k-colorgradient-canvas k-hstack", children: [
6847
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "k-hsv-rectangle", style: gradientStyle, children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: "k-hsv-gradient", children: /* @__PURE__ */ (0, import_jsx_runtime93.jsx)("div", { className: classNames(
6457
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: "k-colorgradient-canvas k-hstack", children: [
6458
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: "k-hsv-rectangle", style: gradientStyle, children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: "k-hsv-gradient", children: /* @__PURE__ */ (0, import_jsx_runtime81.jsx)("div", { className: classNames(
6848
6459
  "k-hsv-draghandle",
6849
6460
  "k-draghandle",
6850
6461
  {
@@ -6852,39 +6463,39 @@ var ColorGradient = (props) => {
6852
6463
  "k-focus": focusHandle
6853
6464
  }
6854
6465
  ), style: dragHandleStyle }) }) }),
6855
- /* @__PURE__ */ (0, import_jsx_runtime93.jsxs)("div", { className: "k-hsv-controls k-hstack", children: [
6856
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(SliderGradientVertical, { className: "k-hue-slider", hover: hoverHandle, focus: focusHandle }),
6857
- mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(SliderGradientVertical, { className: "k-alpha-slider", hover: hoverHandle, focus: focusHandle, trackStyle: alphaStyle })
6466
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsxs)("div", { className: "k-hsv-controls k-hstack", children: [
6467
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(SliderGradientVertical, { className: "k-hue-slider", hover: hoverHandle, focus: focusHandle }),
6468
+ mode !== "rgb" && mode !== "hsv" && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(SliderGradientVertical, { className: "k-alpha-slider", hover: hoverHandle, focus: focusHandle, trackStyle: alphaStyle })
6858
6469
  ] })
6859
6470
  ] }),
6860
- /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(ColorInput, { mode: props.mode }),
6861
- contrast && /* @__PURE__ */ (0, import_jsx_runtime93.jsx)(ColorContrast, {})
6471
+ /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(ColorInput, { mode: props.mode }),
6472
+ contrast && /* @__PURE__ */ (0, import_jsx_runtime81.jsx)(ColorContrast, {})
6862
6473
  ] });
6863
6474
  };
6864
- ColorGradient.states = states38;
6865
- ColorGradient.options = options37;
6475
+ ColorGradient.states = states34;
6476
+ ColorGradient.options = options33;
6866
6477
  ColorGradient.className = COLOR_GRADIENT_CLASSNAME;
6867
- ColorGradient.defaultProps = defaultProps38;
6478
+ ColorGradient.defaultProps = defaultProps33;
6868
6479
 
6869
6480
  // src/colorgradient/templates/colorgradient-normal.tsx
6870
- var import_jsx_runtime94 = require("react/jsx-runtime");
6481
+ var import_jsx_runtime82 = require("react/jsx-runtime");
6871
6482
 
6872
6483
  // src/colorgradient/templates/colorgradient-contrast.tsx
6873
- var import_jsx_runtime95 = require("react/jsx-runtime");
6484
+ var import_jsx_runtime83 = require("react/jsx-runtime");
6874
6485
 
6875
6486
  // src/colorpalette/colorpalette-row.tsx
6876
- var import_jsx_runtime96 = require("react/jsx-runtime");
6877
- var ColorPaletteRow = (props) => /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("tr", { children: props.children });
6487
+ var import_jsx_runtime84 = require("react/jsx-runtime");
6488
+ var ColorPaletteRow = (props) => /* @__PURE__ */ (0, import_jsx_runtime84.jsx)("tr", { children: props.children });
6878
6489
 
6879
6490
  // src/colorpalette/colorpalette-tile.tsx
6880
- var import_jsx_runtime97 = require("react/jsx-runtime");
6491
+ var import_jsx_runtime85 = require("react/jsx-runtime");
6881
6492
  var COLORPALETTETILE_CLASSNAME = `k-colorpalette-tile`;
6882
- var states39 = [
6493
+ var states35 = [
6883
6494
  States.hover,
6884
6495
  States.focus,
6885
6496
  States.selected
6886
6497
  ];
6887
- var options38 = {};
6498
+ var options34 = {};
6888
6499
  var ColorPaletteTile = (props) => {
6889
6500
  const {
6890
6501
  color,
@@ -6899,7 +6510,7 @@ var ColorPaletteTile = (props) => {
6899
6510
  "width": tileSize ? tileSize + "px" : "",
6900
6511
  "height": tileSize ? tileSize + "px" : ""
6901
6512
  };
6902
- return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
6513
+ return /* @__PURE__ */ (0, import_jsx_runtime85.jsx)(
6903
6514
  "td",
6904
6515
  {
6905
6516
  ...other,
@@ -6916,24 +6527,24 @@ var ColorPaletteTile = (props) => {
6916
6527
  }
6917
6528
  );
6918
6529
  };
6919
- ColorPaletteTile.states = states39;
6920
- ColorPaletteTile.options = options38;
6530
+ ColorPaletteTile.states = states35;
6531
+ ColorPaletteTile.options = options34;
6921
6532
  ColorPaletteTile.className = COLORPALETTETILE_CLASSNAME;
6922
6533
 
6923
6534
  // src/colorpalette/colorpalette.spec.tsx
6924
- var import_jsx_runtime98 = require("react/jsx-runtime");
6535
+ var import_jsx_runtime86 = require("react/jsx-runtime");
6925
6536
  var COLORPALETTE_CLASSNAME = `k-colorpalette`;
6926
- var states40 = [
6537
+ var states36 = [
6927
6538
  States.disabled
6928
6539
  ];
6929
- var options39 = {};
6930
- var defaultProps39 = {
6540
+ var options35 = {};
6541
+ var defaultProps34 = {
6931
6542
  columns: 10
6932
6543
  };
6933
6544
  var ColorPalette = (props) => {
6934
6545
  const {
6935
6546
  palette,
6936
- columns = defaultProps39.columns,
6547
+ columns = defaultProps34.columns,
6937
6548
  tileSize,
6938
6549
  disabled,
6939
6550
  ...other
@@ -6946,14 +6557,14 @@ var ColorPalette = (props) => {
6946
6557
  Array.from({ length: Math.ceil(colors.length / cols) }, (_, i) => {
6947
6558
  const items = [];
6948
6559
  colors.slice(i * cols, (i + 1) * cols).map((color) => {
6949
- items.push(/* @__PURE__ */ (0, import_jsx_runtime98.jsx)(ColorPaletteTile, { color, tileSize }));
6560
+ items.push(/* @__PURE__ */ (0, import_jsx_runtime86.jsx)(ColorPaletteTile, { color, tileSize }));
6950
6561
  });
6951
- const row = /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(ColorPaletteRow, { children: items });
6562
+ const row = /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(ColorPaletteRow, { children: items });
6952
6563
  newChildren.push(row);
6953
6564
  });
6954
6565
  }
6955
6566
  }
6956
- return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
6567
+ return /* @__PURE__ */ (0, import_jsx_runtime86.jsx)(
6957
6568
  "div",
6958
6569
  {
6959
6570
  ...other,
@@ -6964,17 +6575,17 @@ var ColorPalette = (props) => {
6964
6575
  disabled
6965
6576
  })
6966
6577
  ),
6967
- children: /* @__PURE__ */ (0, import_jsx_runtime98.jsx)("table", { className: "k-colorpalette-table", children: newChildren.length > 0 ? newChildren : props.children })
6578
+ children: /* @__PURE__ */ (0, import_jsx_runtime86.jsx)("table", { className: "k-colorpalette-table", children: newChildren.length > 0 ? newChildren : props.children })
6968
6579
  }
6969
6580
  );
6970
6581
  };
6971
- ColorPalette.states = states40;
6972
- ColorPalette.options = options39;
6582
+ ColorPalette.states = states36;
6583
+ ColorPalette.options = options35;
6973
6584
  ColorPalette.className = COLORPALETTE_CLASSNAME;
6974
- ColorPalette.defaultProps = defaultProps39;
6585
+ ColorPalette.defaultProps = defaultProps34;
6975
6586
 
6976
6587
  // src/colorpalette/templates/colorpalette-normal.tsx
6977
- var import_jsx_runtime99 = require("react/jsx-runtime");
6588
+ var import_jsx_runtime87 = require("react/jsx-runtime");
6978
6589
 
6979
6590
  // src/colorpalette/colorpalette-presets.tsx
6980
6591
  var PALETTEPRESETS = {
@@ -7029,84 +6640,84 @@ var PALETTEPRESETS = {
7029
6640
  };
7030
6641
 
7031
6642
  // src/coloreditor/color-editor.spec.tsx
7032
- var import_jsx_runtime100 = require("react/jsx-runtime");
6643
+ var import_jsx_runtime88 = require("react/jsx-runtime");
7033
6644
  var COLOREDITOR_CLASSNAME = "k-coloreditor";
7034
- var states41 = [
6645
+ var states37 = [
7035
6646
  States.focus
7036
6647
  ];
7037
- var options40 = {};
7038
- var defaultProps40 = {
6648
+ var options36 = {};
6649
+ var defaultProps35 = {
7039
6650
  view: "gradient",
7040
6651
  currentColor: "fuchsia",
7041
6652
  palette: PALETTEPRESETS.office
7042
6653
  };
7043
6654
  var ColorEditor = (props) => {
7044
6655
  const {
7045
- view = defaultProps40.view,
6656
+ view = defaultProps35.view,
7046
6657
  color,
7047
- currentColor = defaultProps40.currentColor,
6658
+ currentColor = defaultProps35.currentColor,
7048
6659
  focus,
7049
6660
  focusView,
7050
6661
  dir,
7051
6662
  group,
7052
- palette = defaultProps40.palette
6663
+ palette = defaultProps35.palette
7053
6664
  } = props;
7054
- return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: classNames(
6665
+ return /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: classNames(
7055
6666
  props.className,
7056
6667
  "k-flatcolorpicker",
7057
6668
  COLOREDITOR_CLASSNAME,
7058
6669
  stateClassNames(COLOREDITOR_CLASSNAME, { focus })
7059
6670
  ), dir, children: [
7060
- /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: "k-coloreditor-header k-hstack", children: [
7061
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: "k-coloreditor-header-actions k-hstack", children: group && /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(ButtonGroup, { children: [
7062
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Button, { fillMode: "flat", icon: "droplet-slider", selected: view === "gradient" }),
7063
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Button, { fillMode: "flat", icon: "palette", selected: view === "palette" })
6671
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "k-coloreditor-header k-hstack", children: [
6672
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "k-coloreditor-header-actions k-hstack", children: group && /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(ButtonGroup, { children: [
6673
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Button, { fillMode: "flat", icon: "droplet-slider", selected: view === "gradient" }),
6674
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Button, { fillMode: "flat", icon: "palette", selected: view === "palette" })
7064
6675
  ] }) }),
7065
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: "k-spacer" }),
7066
- /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: "k-coloreditor-header-actions k-hstack", children: [
7067
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Button, { fillMode: "flat", icon: "droplet-slash" }),
7068
- /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)("div", { className: "k-coloreditor-preview k-vstack", children: [
7069
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(ColorPreview, { className: "k-coloreditor-preview-color", color }),
7070
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(ColorPreview, { className: "k-coloreditor-current-color", color: currentColor })
6676
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "k-spacer" }),
6677
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "k-coloreditor-header-actions k-hstack", children: [
6678
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Button, { fillMode: "flat", icon: "droplet-slash" }),
6679
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)("div", { className: "k-coloreditor-preview k-vstack", children: [
6680
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(ColorPreview, { className: "k-coloreditor-preview-color", color }),
6681
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(ColorPreview, { className: "k-coloreditor-current-color", color: currentColor })
7071
6682
  ] })
7072
6683
  ] })
7073
6684
  ] }),
7074
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: "k-coloreditor-views k-vstack", children: view === "gradient" ? /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(ColorGradient, { focus: focusView }) : /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(ColorPalette, { palette }) }),
7075
- /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(ActionButtons, { className: "k-coloreditor-footer", alignment: "end", children: [
7076
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Button, { className: "k-coloreditor-cancel", children: "Cancel" }),
7077
- /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Button, { themeColor: "primary", className: "k-coloreditor-apply", children: "Apply" })
6685
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)("div", { className: "k-coloreditor-views k-vstack", children: view === "gradient" ? /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(ColorGradient, { focus: focusView }) : /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(ColorPalette, { palette }) }),
6686
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsxs)(ActionButtons, { className: "k-coloreditor-footer", alignment: "end", children: [
6687
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Button, { className: "k-coloreditor-cancel", children: "Cancel" }),
6688
+ /* @__PURE__ */ (0, import_jsx_runtime88.jsx)(Button, { themeColor: "primary", className: "k-coloreditor-apply", children: "Apply" })
7078
6689
  ] })
7079
6690
  ] });
7080
6691
  };
7081
- ColorEditor.states = states41;
7082
- ColorEditor.options = options40;
6692
+ ColorEditor.states = states37;
6693
+ ColorEditor.options = options36;
7083
6694
  ColorEditor.className = COLOREDITOR_CLASSNAME;
7084
- ColorEditor.defaultProps = defaultProps40;
6695
+ ColorEditor.defaultProps = defaultProps35;
7085
6696
 
7086
6697
  // src/coloreditor/templates/coloreditor-normal.tsx
7087
- var import_jsx_runtime101 = require("react/jsx-runtime");
6698
+ var import_jsx_runtime89 = require("react/jsx-runtime");
7088
6699
 
7089
6700
  // src/coloreditor/templates/coloreditor-palette.tsx
7090
- var import_jsx_runtime102 = require("react/jsx-runtime");
6701
+ var import_jsx_runtime90 = require("react/jsx-runtime");
7091
6702
 
7092
6703
  // src/coloreditor/templates/coloreditor-group.tsx
7093
- var import_jsx_runtime103 = require("react/jsx-runtime");
6704
+ var import_jsx_runtime91 = require("react/jsx-runtime");
7094
6705
 
7095
6706
  // src/coloreditor/templates/coloreditor-palette-group.tsx
7096
- var import_jsx_runtime104 = require("react/jsx-runtime");
6707
+ var import_jsx_runtime92 = require("react/jsx-runtime");
7097
6708
 
7098
6709
  // src/colorpicker/templates/colorpicker-popup-gradient.tsx
7099
- var import_jsx_runtime105 = require("react/jsx-runtime");
6710
+ var import_jsx_runtime93 = require("react/jsx-runtime");
7100
6711
 
7101
6712
  // src/colorpicker/templates/colorpicker-popup-palette.tsx
7102
- var import_jsx_runtime106 = require("react/jsx-runtime");
6713
+ var import_jsx_runtime94 = require("react/jsx-runtime");
7103
6714
 
7104
6715
  // src/action-sheet/action-sheet.spec.tsx
7105
- var import_jsx_runtime107 = require("react/jsx-runtime");
6716
+ var import_jsx_runtime95 = require("react/jsx-runtime");
7106
6717
  var ACTIONSHEET_CLASSNAME = `k-actionsheet`;
7107
- var states42 = [];
7108
- var options41 = {};
7109
- var defaultProps41 = {
6718
+ var states38 = [];
6719
+ var options37 = {};
6720
+ var defaultProps36 = {
7110
6721
  side: "bottom",
7111
6722
  fullscreen: false,
7112
6723
  adaptive: false,
@@ -7119,14 +6730,14 @@ var ActionSheet = (props) => {
7119
6730
  header,
7120
6731
  footer,
7121
6732
  actions,
7122
- side = defaultProps41.side,
7123
- fullscreen = defaultProps41.fullscreen,
7124
- adaptive = defaultProps41.adaptive,
7125
- overlay = defaultProps41.overlay,
6733
+ side = defaultProps36.side,
6734
+ fullscreen = defaultProps36.fullscreen,
6735
+ adaptive = defaultProps36.adaptive,
6736
+ overlay = defaultProps36.overlay,
7126
6737
  ...other
7127
6738
  } = props;
7128
- const _ActionSheetHeader = title ? /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
7129
- const _ActionSheetFooter = actions ? /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
6739
+ const _ActionSheetHeader = title ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(ActionSheetHeader, { title }) : header ? header : Array.isArray(children) && children.find((child) => child.type === ActionSheetHeader);
6740
+ const _ActionSheetFooter = actions ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(ActionSheetFooter, { className: "k-actions", actions }) : footer ? typeof footer === "string" ? /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(ActionSheetFooter, { children: footer }) : footer : Array.isArray(children) && children.find((child) => child.type === ActionSheetFooter);
7130
6741
  const _ActionSheetContent = Array.isArray(children) ? children.filter((child) => {
7131
6742
  switch (child.type) {
7132
6743
  case ActionSheetHeader:
@@ -7136,10 +6747,10 @@ var ActionSheet = (props) => {
7136
6747
  return true;
7137
6748
  }
7138
6749
  return true;
7139
- }) : children.type === ActionSheetItems ? children : /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(import_jsx_runtime107.Fragment, {});
7140
- return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)("div", { className: "k-actionsheet-container", children: [
7141
- overlay && /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("div", { className: "k-overlay" }),
7142
- /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
6750
+ }) : children.type === ActionSheetItems ? children : /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(import_jsx_runtime95.Fragment, {});
6751
+ return /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)("div", { className: "k-actionsheet-container", children: [
6752
+ overlay && /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: "k-overlay" }),
6753
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
7143
6754
  AnimationContainer,
7144
6755
  {
7145
6756
  animationStyle: {
@@ -7149,7 +6760,7 @@ var ActionSheet = (props) => {
7149
6760
  [`${side === "top" || side === "bottom" ? "width" : null}`]: "100%",
7150
6761
  [`${side === "left" || side === "right" ? "height" : null}`]: "100%"
7151
6762
  },
7152
- children: /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
6763
+ children: /* @__PURE__ */ (0, import_jsx_runtime95.jsx)(
7153
6764
  "div",
7154
6765
  {
7155
6766
  ...other,
@@ -7162,9 +6773,9 @@ var ActionSheet = (props) => {
7162
6773
  "k-adaptive-actionsheet": adaptive
7163
6774
  }
7164
6775
  ),
7165
- children: /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_jsx_runtime107.Fragment, { children: [
6776
+ children: /* @__PURE__ */ (0, import_jsx_runtime95.jsxs)(import_jsx_runtime95.Fragment, { children: [
7166
6777
  _ActionSheetHeader,
7167
- /* @__PURE__ */ (0, import_jsx_runtime107.jsx)("div", { className: classNames(
6778
+ /* @__PURE__ */ (0, import_jsx_runtime95.jsx)("div", { className: classNames(
7168
6779
  "k-actionsheet-content",
7169
6780
  {
7170
6781
  "!k-overflow-hidden": adaptive
@@ -7178,13 +6789,13 @@ var ActionSheet = (props) => {
7178
6789
  )
7179
6790
  ] });
7180
6791
  };
7181
- ActionSheet.states = states42;
7182
- ActionSheet.options = options41;
6792
+ ActionSheet.states = states38;
6793
+ ActionSheet.options = options37;
7183
6794
  ActionSheet.className = ACTIONSHEET_CLASSNAME;
7184
- ActionSheet.defaultProps = defaultProps41;
6795
+ ActionSheet.defaultProps = defaultProps36;
7185
6796
 
7186
6797
  // src/action-sheet/actionsheet-header.tsx
7187
- var import_jsx_runtime108 = require("react/jsx-runtime");
6798
+ var import_jsx_runtime96 = require("react/jsx-runtime");
7188
6799
  var ACTIONSHEETHEADER_CLASSNAME = `k-actionsheet-titlebar`;
7189
6800
  var ActionSheetHeader = (props) => {
7190
6801
  const {
@@ -7194,7 +6805,7 @@ var ActionSheetHeader = (props) => {
7194
6805
  filter,
7195
6806
  ...other
7196
6807
  } = props;
7197
- return /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(
6808
+ return /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(
7198
6809
  "div",
7199
6810
  {
7200
6811
  ...other,
@@ -7202,30 +6813,30 @@ var ActionSheetHeader = (props) => {
7202
6813
  props.className,
7203
6814
  ACTIONSHEETHEADER_CLASSNAME
7204
6815
  ),
7205
- children: /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)(import_jsx_runtime108.Fragment, { children: [
7206
- /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
7207
- !props.children && (title || subTitle) && /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_jsx_runtime108.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime108.jsxs)("div", { className: "k-actionsheet-title", children: [
7208
- title !== "" && /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { className: "k-text-center", children: title }),
7209
- subTitle !== "" && /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
6816
+ children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)(import_jsx_runtime96.Fragment, { children: [
6817
+ /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: "k-actionsheet-titlebar-group k-hbox", children: [
6818
+ !props.children && (title || subTitle) && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_jsx_runtime96.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime96.jsxs)("div", { className: "k-actionsheet-title", children: [
6819
+ title !== "" && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: "k-text-center", children: title }),
6820
+ subTitle !== "" && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: "k-actionsheet-subtitle k-text-center", children: subTitle })
7210
6821
  ] }) }),
7211
- props.children && /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { className: "k-actionsheet-title", children: props.children }),
7212
- actions && /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_jsx_runtime108.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
6822
+ props.children && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: "k-actionsheet-title", children: props.children }),
6823
+ actions && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_jsx_runtime96.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: "k-actionsheet-actions", children: actions.map((actionName) => /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Button, { icon: actionName, size: "large", fillMode: "flat" }, actionName)) }) })
7213
6824
  ] }),
7214
- filter && /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(import_jsx_runtime108.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ (0, import_jsx_runtime108.jsx)(Searchbox, { placeholder: "Filter", size: "large" }) }) })
6825
+ filter && /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(import_jsx_runtime96.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)("div", { className: "k-actionsheet-titlebar-group k-actionsheet-filter", children: /* @__PURE__ */ (0, import_jsx_runtime96.jsx)(Searchbox, { placeholder: "Filter", size: "large" }) }) })
7215
6826
  ] })
7216
6827
  }
7217
6828
  );
7218
6829
  };
7219
6830
 
7220
6831
  // src/action-sheet/actionsheet-footer.tsx
7221
- var import_jsx_runtime109 = require("react/jsx-runtime");
6832
+ var import_jsx_runtime97 = require("react/jsx-runtime");
7222
6833
  var ACTIONSHEETFOOTER_CLASSNAME = `k-actionsheet-footer`;
7223
6834
  var ActionSheetFooter = (props) => {
7224
6835
  const {
7225
6836
  actions,
7226
6837
  ...other
7227
6838
  } = props;
7228
- return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(
6839
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(
7229
6840
  action_buttons_spec_default,
7230
6841
  {
7231
6842
  ...other,
@@ -7234,17 +6845,17 @@ var ActionSheetFooter = (props) => {
7234
6845
  ACTIONSHEETFOOTER_CLASSNAME
7235
6846
  ),
7236
6847
  alignment: "stretched",
7237
- children: /* @__PURE__ */ (0, import_jsx_runtime109.jsxs)(import_jsx_runtime109.Fragment, { children: [
6848
+ children: /* @__PURE__ */ (0, import_jsx_runtime97.jsxs)(import_jsx_runtime97.Fragment, { children: [
7238
6849
  actions && actions.map((action, index) => {
7239
6850
  if (action === "|") {
7240
- return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)("span", { className: "k-separator" }, index);
6851
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("span", { className: "k-separator" }, index);
7241
6852
  }
7242
6853
  if (action === " ") {
7243
- return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)("span", { className: "k-spacer" }, index);
6854
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)("span", { className: "k-spacer" }, index);
7244
6855
  }
7245
6856
  const importantFlag = action.startsWith("!");
7246
6857
  const actionName = importantFlag ? action.substring(1) : action;
7247
- return /* @__PURE__ */ (0, import_jsx_runtime109.jsx)(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
6858
+ return /* @__PURE__ */ (0, import_jsx_runtime97.jsx)(Button, { text: actionName, size: "large", themeColor: importantFlag ? "primary" : "base" }, index);
7248
6859
  }),
7249
6860
  !actions && props.children
7250
6861
  ] })
@@ -7253,12 +6864,12 @@ var ActionSheetFooter = (props) => {
7253
6864
  };
7254
6865
 
7255
6866
  // src/action-sheet/actionsheet-items.tsx
7256
- var import_jsx_runtime110 = require("react/jsx-runtime");
6867
+ var import_jsx_runtime98 = require("react/jsx-runtime");
7257
6868
  var ActionSheetItems = (props) => {
7258
6869
  const {
7259
6870
  ...other
7260
6871
  } = props;
7261
- return /* @__PURE__ */ (0, import_jsx_runtime110.jsx)(
6872
+ return /* @__PURE__ */ (0, import_jsx_runtime98.jsx)(
7262
6873
  "div",
7263
6874
  {
7264
6875
  ...other,
@@ -7272,8 +6883,8 @@ var ActionSheetItems = (props) => {
7272
6883
  };
7273
6884
 
7274
6885
  // src/action-sheet/actionsheet-item.tsx
7275
- var import_jsx_runtime111 = require("react/jsx-runtime");
7276
- var states43 = [
6886
+ var import_jsx_runtime99 = require("react/jsx-runtime");
6887
+ var states39 = [
7277
6888
  States.hover,
7278
6889
  States.focus,
7279
6890
  States.selected,
@@ -7281,9 +6892,9 @@ var states43 = [
7281
6892
  ];
7282
6893
 
7283
6894
  // src/combobox/combobox.spec.tsx
7284
- var import_jsx_runtime112 = require("react/jsx-runtime");
6895
+ var import_jsx_runtime100 = require("react/jsx-runtime");
7285
6896
  var COMBOBOX_CLASSNAME = `k-combobox`;
7286
- var states44 = [
6897
+ var states40 = [
7287
6898
  States.hover,
7288
6899
  States.focus,
7289
6900
  States.valid,
@@ -7293,12 +6904,12 @@ var states44 = [
7293
6904
  States.disabled,
7294
6905
  States.readonly
7295
6906
  ];
7296
- var defaultProps42 = {
6907
+ var defaultProps37 = {
7297
6908
  size: Input.defaultProps.size,
7298
6909
  rounded: Input.defaultProps.rounded,
7299
6910
  fillMode: Input.defaultProps.fillMode
7300
6911
  };
7301
- var options42 = {
6912
+ var options38 = {
7302
6913
  size: [Size.small, Size.medium, Size.large],
7303
6914
  rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
7304
6915
  fillMode: [FillMode.solid, FillMode.flat, FillMode.outline]
@@ -7326,8 +6937,8 @@ var Combobox = (props) => {
7326
6937
  adaptiveSettings,
7327
6938
  ...other
7328
6939
  } = props;
7329
- return /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_jsx_runtime112.Fragment, { children: [
7330
- /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(
6940
+ return /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_jsx_runtime100.Fragment, { children: [
6941
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(
7331
6942
  Input,
7332
6943
  {
7333
6944
  ...other,
@@ -7344,12 +6955,12 @@ var Combobox = (props) => {
7344
6955
  readonly,
7345
6956
  className: classNames(props.className, COMBOBOX_CLASSNAME),
7346
6957
  children: [
7347
- prefix && /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_jsx_runtime112.Fragment, { children: [
7348
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(InputPrefix, { children: prefix }),
7349
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(InputSeparator, {})
6958
+ prefix && /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_jsx_runtime100.Fragment, { children: [
6959
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(InputPrefix, { children: prefix }),
6960
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(InputSeparator, {})
7350
6961
  ] }),
7351
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(InputInnerInput, { placeholder, value }),
7352
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
6962
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(InputInnerInput, { placeholder, value }),
6963
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
7353
6964
  InputValidationIcon,
7354
6965
  {
7355
6966
  valid,
@@ -7358,14 +6969,14 @@ var Combobox = (props) => {
7358
6969
  disabled
7359
6970
  }
7360
6971
  ),
7361
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
6972
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
7362
6973
  InputLoadingIcon,
7363
6974
  {
7364
6975
  loading,
7365
6976
  disabled
7366
6977
  }
7367
6978
  ),
7368
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
6979
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
7369
6980
  InputClearValue,
7370
6981
  {
7371
6982
  loading,
@@ -7374,11 +6985,11 @@ var Combobox = (props) => {
7374
6985
  value
7375
6986
  }
7376
6987
  ),
7377
- suffix && /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(import_jsx_runtime112.Fragment, { children: [
7378
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(InputSeparator, {}),
7379
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(InputSuffix, { children: suffix })
6988
+ suffix && /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(import_jsx_runtime100.Fragment, { children: [
6989
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(InputSeparator, {}),
6990
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(InputSuffix, { children: suffix })
7380
6991
  ] }),
7381
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
6992
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
7382
6993
  Button,
7383
6994
  {
7384
6995
  className: "k-input-button",
@@ -7391,9 +7002,9 @@ var Combobox = (props) => {
7391
7002
  ]
7392
7003
  }
7393
7004
  ),
7394
- opened && popup && /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
7395
- adaptive && /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
7396
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7005
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(Popup, { className: "k-list-container k-combobox-popup", children: popup }),
7006
+ adaptive && /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(ActionSheet, { adaptive: true, ...adaptiveSettings, children: [
7007
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(
7397
7008
  ActionSheetHeader,
7398
7009
  {
7399
7010
  actions: ["x"],
@@ -7401,48 +7012,323 @@ var Combobox = (props) => {
7401
7012
  title: "Select Item"
7402
7013
  }
7403
7014
  ),
7404
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)("div", { className: "k-list-container", children: /* @__PURE__ */ (0, import_jsx_runtime112.jsxs)(List, { size: "large", children: [
7405
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(ListItem, { text: "List item" }),
7406
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(ListItem, { text: "List item" }),
7407
- /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(ListItem, { text: "List item" })
7408
- ] }) })
7409
- ] })
7410
- ] });
7015
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)("div", { className: "k-list-container", children: /* @__PURE__ */ (0, import_jsx_runtime100.jsxs)(List, { size: "large", children: [
7016
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(ListItem, { text: "List item" }),
7017
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(ListItem, { text: "List item" }),
7018
+ /* @__PURE__ */ (0, import_jsx_runtime100.jsx)(ListItem, { text: "List item" })
7019
+ ] }) })
7020
+ ] })
7021
+ ] });
7022
+ };
7023
+ Combobox.states = states40;
7024
+ Combobox.options = options38;
7025
+ Combobox.className = COMBOBOX_CLASSNAME;
7026
+ Combobox.defaultProps = defaultProps37;
7027
+
7028
+ // src/combobox/templates/combobox-normal.tsx
7029
+ var import_jsx_runtime101 = require("react/jsx-runtime");
7030
+
7031
+ // src/combobox/templates/combobox-popup.tsx
7032
+ var import_jsx_runtime102 = require("react/jsx-runtime");
7033
+
7034
+ // src/combobox/templates/combobox-grouping.tsx
7035
+ var import_jsx_runtime103 = require("react/jsx-runtime");
7036
+
7037
+ // src/combobox/templates/combobox-adaptive.tsx
7038
+ var import_jsx_runtime104 = require("react/jsx-runtime");
7039
+
7040
+ // src/combobox/templates/combobox-prefix.tsx
7041
+ var import_jsx_runtime105 = require("react/jsx-runtime");
7042
+
7043
+ // src/combobox/templates/combobox-suffix.tsx
7044
+ var import_jsx_runtime106 = require("react/jsx-runtime");
7045
+
7046
+ // src/menu-button/menu-button.spec.tsx
7047
+ var import_jsx_runtime107 = require("react/jsx-runtime");
7048
+ var MENUBUTTON_CLASSNAME = `k-menu-button`;
7049
+ var states41 = [
7050
+ States.hover,
7051
+ States.focus,
7052
+ States.active,
7053
+ States.selected,
7054
+ States.disabled
7055
+ ];
7056
+ var options39 = {
7057
+ size: [Size.small, Size.medium, Size.large],
7058
+ rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
7059
+ fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
7060
+ themeColor: [
7061
+ ThemeColor.base,
7062
+ ThemeColor.primary,
7063
+ ThemeColor.secondary,
7064
+ ThemeColor.tertiary,
7065
+ ThemeColor.success,
7066
+ ThemeColor.warning,
7067
+ ThemeColor.error,
7068
+ ThemeColor.info,
7069
+ ThemeColor.light,
7070
+ ThemeColor.dark,
7071
+ ThemeColor.inverse
7072
+ ]
7073
+ };
7074
+ var defaultProps38 = {
7075
+ size: Size.medium,
7076
+ rounded: Roundness.medium,
7077
+ fillMode: FillMode.solid,
7078
+ themeColor: ThemeColor.base,
7079
+ showArrow: true,
7080
+ arrowIconName: "caret-alt-down"
7081
+ };
7082
+ var MenuButton = (props) => {
7083
+ const {
7084
+ size = defaultProps38.size,
7085
+ rounded = defaultProps38.rounded,
7086
+ fillMode = defaultProps38.fillMode,
7087
+ themeColor = defaultProps38.themeColor,
7088
+ hover,
7089
+ focus,
7090
+ active,
7091
+ selected,
7092
+ disabled,
7093
+ icon,
7094
+ text,
7095
+ showArrow = defaultProps38.showArrow,
7096
+ arrowIconName = defaultProps38.arrowIconName,
7097
+ popup,
7098
+ opened,
7099
+ ...other
7100
+ } = props;
7101
+ return /* @__PURE__ */ (0, import_jsx_runtime107.jsxs)(import_jsx_runtime107.Fragment, { children: [
7102
+ /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(
7103
+ Button,
7104
+ {
7105
+ ...other,
7106
+ className: classNames(
7107
+ props.className,
7108
+ MENUBUTTON_CLASSNAME
7109
+ ),
7110
+ text,
7111
+ size,
7112
+ rounded,
7113
+ fillMode,
7114
+ themeColor,
7115
+ hover,
7116
+ focus,
7117
+ active,
7118
+ selected,
7119
+ disabled,
7120
+ icon,
7121
+ showArrow,
7122
+ arrowIconName
7123
+ }
7124
+ ),
7125
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime107.jsx)(Popup, { className: "k-menu-popup", children: popup })
7126
+ ] });
7127
+ };
7128
+ MenuButton.states = states41;
7129
+ MenuButton.options = options39;
7130
+ MenuButton.className = MENUBUTTON_CLASSNAME;
7131
+ MenuButton.defaultProps = defaultProps38;
7132
+
7133
+ // src/menu-button/templates/icon-menu-button.tsx
7134
+ var import_jsx_runtime108 = require("react/jsx-runtime");
7135
+
7136
+ // src/menu-button/templates/icon-text-menu-button.tsx
7137
+ var import_jsx_runtime109 = require("react/jsx-runtime");
7138
+
7139
+ // src/menu-button/templates/text-menu-button.tsx
7140
+ var import_jsx_runtime110 = require("react/jsx-runtime");
7141
+
7142
+ // src/menu/menu-item.spec.tsx
7143
+ var import_jsx_runtime111 = require("react/jsx-runtime");
7144
+ var MENUITEM_CLASSNAME = `k-menu-item`;
7145
+ var states42 = [
7146
+ States.hover,
7147
+ States.focus,
7148
+ States.active,
7149
+ States.selected,
7150
+ States.disabled
7151
+ ];
7152
+ var options40 = {};
7153
+ var defaultProps39 = {
7154
+ dir: "ltr"
7155
+ };
7156
+ var MenuItem = (props) => {
7157
+ const {
7158
+ hover,
7159
+ focus,
7160
+ active,
7161
+ selected,
7162
+ disabled,
7163
+ icon,
7164
+ text,
7165
+ showArrow,
7166
+ arrowIconName,
7167
+ dir = defaultProps39.dir,
7168
+ children,
7169
+ ...other
7170
+ } = props;
7171
+ const contentTemplate = /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(import_jsx_runtime111.Fragment, {});
7172
+ if (children) {
7173
+ children.forEach((child) => {
7174
+ const component = child.type;
7175
+ if (component === "MenuItemContent") {
7176
+ contentTemplate.props.children.push(child);
7177
+ return;
7178
+ }
7179
+ });
7180
+ }
7181
+ let expandArrowName = arrowIconName;
7182
+ if (!expandArrowName) {
7183
+ expandArrowName = dir === "rtl" ? "caret-alt-left" : "caret-alt-right";
7184
+ }
7185
+ return /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(
7186
+ "li",
7187
+ {
7188
+ ...other,
7189
+ className: classNames(
7190
+ props.className,
7191
+ MENUITEM_CLASSNAME,
7192
+ //TODO
7193
+ "k-item",
7194
+ stateClassNames(MENUITEM_CLASSNAME, {
7195
+ focus,
7196
+ disabled
7197
+ })
7198
+ ),
7199
+ children: [
7200
+ /* @__PURE__ */ (0, import_jsx_runtime111.jsxs)(
7201
+ "span",
7202
+ {
7203
+ className: classNames(
7204
+ "k-link k-menu-link",
7205
+ stateClassNames("k-menu-link", {
7206
+ hover,
7207
+ active,
7208
+ selected,
7209
+ disabled
7210
+ })
7211
+ ),
7212
+ children: [
7213
+ icon && /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Icon, { className: "k-menu-link-icon", icon }),
7214
+ /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("span", { className: "k-menu-link-text", children: text }),
7215
+ showArrow && /* @__PURE__ */ (0, import_jsx_runtime111.jsx)("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ (0, import_jsx_runtime111.jsx)(Icon, { icon: expandArrowName }) })
7216
+ ]
7217
+ }
7218
+ ),
7219
+ contentTemplate
7220
+ ]
7221
+ }
7222
+ );
7223
+ };
7224
+ MenuItem.states = states42;
7225
+ MenuItem.options = options40;
7226
+ MenuItem.className = MENUITEM_CLASSNAME;
7227
+ MenuItem.defaultProps = defaultProps39;
7228
+ var menu_item_spec_default = MenuItem;
7229
+
7230
+ // src/menu/menu-separator.spec.tsx
7231
+ var import_jsx_runtime112 = require("react/jsx-runtime");
7232
+ var SEPARATOR_CLASSNAME = `k-separator`;
7233
+ var defaultProps40 = {
7234
+ orientation: "horizontal"
7235
+ };
7236
+ var MenuSeparator = (props) => {
7237
+ const {
7238
+ orientation = defaultProps40.orientation,
7239
+ ...other
7240
+ } = props;
7241
+ return /* @__PURE__ */ (0, import_jsx_runtime112.jsx)(
7242
+ "li",
7243
+ {
7244
+ ...other,
7245
+ className: classNames(
7246
+ props.className,
7247
+ "k-item",
7248
+ SEPARATOR_CLASSNAME,
7249
+ {
7250
+ [`${SEPARATOR_CLASSNAME}-${orientation}`]: orientation
7251
+ }
7252
+ )
7253
+ }
7254
+ );
7255
+ };
7256
+ var menu_separator_spec_default = MenuSeparator;
7257
+
7258
+ // src/menu/menu-item-content.tsx
7259
+ var import_jsx_runtime113 = require("react/jsx-runtime");
7260
+
7261
+ // src/menu/menu-list.spec.tsx
7262
+ var import_jsx_runtime114 = require("react/jsx-runtime");
7263
+ var import_react = require("react");
7264
+ var MENULIST_CLASSNAME = `k-menu-group`;
7265
+ var states43 = [];
7266
+ var options41 = {
7267
+ size: [Size.small, Size.medium, Size.large]
7268
+ };
7269
+ var defaultProps41 = {
7270
+ size: Size.medium,
7271
+ dir: "ltr"
7272
+ };
7273
+ var MenuList = (props) => {
7274
+ const {
7275
+ children,
7276
+ size = defaultProps41.size,
7277
+ dir = defaultProps41.dir,
7278
+ ...other
7279
+ } = props;
7280
+ const listChildren = [];
7281
+ if (children) {
7282
+ if (Array.isArray(children)) {
7283
+ children.map((child, index) => {
7284
+ if (child.type === menu_item_spec_default) {
7285
+ listChildren.push(
7286
+ /* @__PURE__ */ (0, import_react.createElement)(menu_item_spec_default, { ...child.props, dir, key: index })
7287
+ );
7288
+ } else if (child.type === menu_separator_spec_default) {
7289
+ listChildren.push(
7290
+ /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(menu_separator_spec_default, {})
7291
+ );
7292
+ } else {
7293
+ listChildren.push(child);
7294
+ }
7295
+ });
7296
+ }
7297
+ }
7298
+ return /* @__PURE__ */ (0, import_jsx_runtime114.jsx)(
7299
+ "ul",
7300
+ {
7301
+ ...other,
7302
+ className: classNames(
7303
+ props.className,
7304
+ MENULIST_CLASSNAME,
7305
+ optionClassNames(MENULIST_CLASSNAME, {
7306
+ size
7307
+ })
7308
+ ),
7309
+ children: listChildren
7310
+ }
7311
+ );
7411
7312
  };
7412
- Combobox.states = states44;
7413
- Combobox.options = options42;
7414
- Combobox.className = COMBOBOX_CLASSNAME;
7415
- Combobox.defaultProps = defaultProps42;
7416
-
7417
- // src/combobox/templates/combobox-normal.tsx
7418
- var import_jsx_runtime113 = require("react/jsx-runtime");
7419
-
7420
- // src/combobox/templates/combobox-popup.tsx
7421
- var import_jsx_runtime114 = require("react/jsx-runtime");
7313
+ MenuList.states = states43;
7314
+ MenuList.options = options41;
7315
+ MenuList.className = MENULIST_CLASSNAME;
7316
+ MenuList.defaultProps = defaultProps41;
7422
7317
 
7423
- // src/combobox/templates/combobox-grouping.tsx
7318
+ // src/menu-button/templates/menu-button-popup.tsx
7424
7319
  var import_jsx_runtime115 = require("react/jsx-runtime");
7425
7320
 
7426
- // src/combobox/templates/combobox-adaptive.tsx
7321
+ // src/split-button/split-button.spec.tsx
7427
7322
  var import_jsx_runtime116 = require("react/jsx-runtime");
7428
-
7429
- // src/combobox/templates/combobox-prefix.tsx
7430
- var import_jsx_runtime117 = require("react/jsx-runtime");
7431
-
7432
- // src/combobox/templates/combobox-suffix.tsx
7433
- var import_jsx_runtime118 = require("react/jsx-runtime");
7434
-
7435
- // src/menu-button/menu-button.spec.tsx
7436
- var import_jsx_runtime119 = require("react/jsx-runtime");
7437
- var MENUBUTTON_CLASSNAME = `k-menu-button`;
7438
- var states45 = [
7323
+ var SPLITBUTTON_CLASSNAME = `k-split-button`;
7324
+ var states44 = [
7439
7325
  States.hover,
7440
7326
  States.focus,
7441
7327
  States.active,
7442
7328
  States.selected,
7443
7329
  States.disabled
7444
7330
  ];
7445
- var options43 = {
7331
+ var options42 = {
7446
7332
  size: [Size.small, Size.medium, Size.large],
7447
7333
  rounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
7448
7334
  fillMode: [FillMode.solid, FillMode.flat, FillMode.outline, FillMode.clear, FillMode.link],
@@ -7460,20 +7346,19 @@ var options43 = {
7460
7346
  ThemeColor.inverse
7461
7347
  ]
7462
7348
  };
7463
- var defaultProps43 = {
7349
+ var defaultProps42 = {
7464
7350
  size: Size.medium,
7465
7351
  rounded: Roundness.medium,
7466
7352
  fillMode: FillMode.solid,
7467
7353
  themeColor: ThemeColor.base,
7468
- showArrow: true,
7469
7354
  arrowIconName: "caret-alt-down"
7470
7355
  };
7471
- var MenuButton = (props) => {
7356
+ var SplitButton = (props) => {
7472
7357
  const {
7473
- size = defaultProps43.size,
7474
- rounded = defaultProps43.rounded,
7475
- fillMode = defaultProps43.fillMode,
7476
- themeColor = defaultProps43.themeColor,
7358
+ size = defaultProps42.size,
7359
+ rounded = defaultProps42.rounded,
7360
+ fillMode = defaultProps42.fillMode,
7361
+ themeColor = defaultProps42.themeColor,
7477
7362
  hover,
7478
7363
  focus,
7479
7364
  active,
@@ -7481,71 +7366,80 @@ var MenuButton = (props) => {
7481
7366
  disabled,
7482
7367
  icon,
7483
7368
  text,
7484
- showArrow = defaultProps43.showArrow,
7485
- arrowIconName = defaultProps43.arrowIconName,
7369
+ arrowIconName = defaultProps42.arrowIconName,
7486
7370
  popup,
7487
7371
  opened,
7488
7372
  ...other
7489
7373
  } = props;
7490
- return /* @__PURE__ */ (0, import_jsx_runtime119.jsxs)(import_jsx_runtime119.Fragment, { children: [
7491
- /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(
7492
- Button,
7374
+ return /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(import_jsx_runtime116.Fragment, { children: [
7375
+ /* @__PURE__ */ (0, import_jsx_runtime116.jsxs)(
7376
+ "div",
7493
7377
  {
7494
7378
  ...other,
7495
7379
  className: classNames(
7496
7380
  props.className,
7497
- MENUBUTTON_CLASSNAME
7381
+ SPLITBUTTON_CLASSNAME,
7382
+ "k-button-group",
7383
+ optionClassNames(SPLITBUTTON_CLASSNAME, {
7384
+ rounded
7385
+ })
7498
7386
  ),
7499
- text,
7500
- size,
7501
- rounded,
7502
- fillMode,
7503
- themeColor,
7504
- hover,
7505
- focus,
7506
- active,
7507
- selected,
7508
- disabled,
7509
- icon,
7510
- showArrow,
7511
- arrowIconName
7387
+ children: [
7388
+ /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
7389
+ Button,
7390
+ {
7391
+ text,
7392
+ icon,
7393
+ size,
7394
+ rounded,
7395
+ fillMode,
7396
+ themeColor,
7397
+ hover,
7398
+ focus,
7399
+ active,
7400
+ selected,
7401
+ disabled,
7402
+ children: props.children
7403
+ }
7404
+ ),
7405
+ /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(
7406
+ Button,
7407
+ {
7408
+ className: "k-split-button-arrow",
7409
+ icon: arrowIconName,
7410
+ size,
7411
+ rounded,
7412
+ fillMode,
7413
+ disabled
7414
+ }
7415
+ )
7416
+ ]
7512
7417
  }
7513
7418
  ),
7514
- opened && popup && /* @__PURE__ */ (0, import_jsx_runtime119.jsx)(Popup, { className: "k-menu-popup", children: popup })
7419
+ opened && popup && /* @__PURE__ */ (0, import_jsx_runtime116.jsx)(Popup, { className: "k-menu-popup", children: popup })
7515
7420
  ] });
7516
7421
  };
7517
- MenuButton.states = states45;
7518
- MenuButton.options = options43;
7519
- MenuButton.className = MENUBUTTON_CLASSNAME;
7520
- MenuButton.defaultProps = defaultProps43;
7521
-
7522
- // src/menu-button/templates/icon-menu-button.tsx
7523
- var import_jsx_runtime120 = require("react/jsx-runtime");
7524
-
7525
- // src/menu-button/templates/icon-text-menu-button.tsx
7526
- var import_jsx_runtime121 = require("react/jsx-runtime");
7527
-
7528
- // src/menu-button/templates/text-menu-button.tsx
7529
- var import_jsx_runtime122 = require("react/jsx-runtime");
7530
-
7531
- // src/menu-button/templates/menu-button-popup.tsx
7532
- var import_jsx_runtime123 = require("react/jsx-runtime");
7422
+ SplitButton.states = states44;
7423
+ SplitButton.options = options42;
7424
+ SplitButton.className = SPLITBUTTON_CLASSNAME;
7425
+ SplitButton.defaultProps = defaultProps42;
7426
+ var split_button_spec_default = SplitButton;
7533
7427
 
7534
7428
  // src/toolbar/toolbar.spec.tsx
7535
- var import_jsx_runtime124 = require("react/jsx-runtime");
7429
+ var import_jsx_runtime117 = require("react/jsx-runtime");
7536
7430
  var TOOLBAR_CLASSNAME = `k-toolbar`;
7537
- var states46 = [
7431
+ var states45 = [
7538
7432
  States.focus
7539
7433
  ];
7540
- var options44 = {
7434
+ var options43 = {
7541
7435
  size: [Size.small, Size.medium, Size.large]
7542
7436
  };
7543
- var defaultProps44 = {
7437
+ var defaultProps43 = {
7544
7438
  size: Size.medium
7545
7439
  };
7546
7440
  var Toolbar = (props) => {
7547
7441
  const {
7548
- size = defaultProps44.size,
7442
+ size = defaultProps43.size,
7549
7443
  focus,
7550
7444
  resizable,
7551
7445
  ...other
@@ -7555,7 +7449,7 @@ var Toolbar = (props) => {
7555
7449
  const tempToolbarChildren = [];
7556
7450
  if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
7557
7451
  tempToolbarChildren.push(
7558
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
7452
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
7559
7453
  Button,
7560
7454
  {
7561
7455
  ...child.props,
@@ -7566,7 +7460,7 @@ var Toolbar = (props) => {
7566
7460
  );
7567
7461
  } else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
7568
7462
  tempToolbarChildren.push(
7569
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
7463
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
7570
7464
  Button,
7571
7465
  {
7572
7466
  ...child.props,
@@ -7577,7 +7471,7 @@ var Toolbar = (props) => {
7577
7471
  );
7578
7472
  } else if (child.type === Button) {
7579
7473
  tempToolbarChildren.push(
7580
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
7474
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
7581
7475
  Button,
7582
7476
  {
7583
7477
  ...child.props,
@@ -7588,7 +7482,7 @@ var Toolbar = (props) => {
7588
7482
  );
7589
7483
  } else if (child.type === MenuButton) {
7590
7484
  tempToolbarChildren.push(
7591
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
7485
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
7592
7486
  MenuButton,
7593
7487
  {
7594
7488
  ...child.props,
@@ -7599,7 +7493,7 @@ var Toolbar = (props) => {
7599
7493
  );
7600
7494
  } else if (child.type === split_button_spec_default) {
7601
7495
  tempToolbarChildren.push(
7602
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
7496
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
7603
7497
  split_button_spec_default,
7604
7498
  {
7605
7499
  ...child.props,
@@ -7613,7 +7507,7 @@ var Toolbar = (props) => {
7613
7507
  const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
7614
7508
  childrenArray.forEach((button, bindex) => {
7615
7509
  buttonGroupItems.push(
7616
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
7510
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
7617
7511
  Button,
7618
7512
  {
7619
7513
  ...button.props,
@@ -7624,7 +7518,7 @@ var Toolbar = (props) => {
7624
7518
  );
7625
7519
  });
7626
7520
  tempToolbarChildren.push(
7627
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
7521
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
7628
7522
  ButtonGroup,
7629
7523
  {
7630
7524
  ...child.props,
@@ -7636,7 +7530,7 @@ var Toolbar = (props) => {
7636
7530
  );
7637
7531
  } else if (child.type === Combobox) {
7638
7532
  tempToolbarChildren.push(
7639
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
7533
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
7640
7534
  Combobox,
7641
7535
  {
7642
7536
  ...child.props,
@@ -7647,7 +7541,7 @@ var Toolbar = (props) => {
7647
7541
  );
7648
7542
  } else if (child.type === DropdownList) {
7649
7543
  tempToolbarChildren.push(
7650
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
7544
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
7651
7545
  DropdownList,
7652
7546
  {
7653
7547
  ...child.props,
@@ -7658,7 +7552,7 @@ var Toolbar = (props) => {
7658
7552
  );
7659
7553
  } else if (child.type === ColorPicker) {
7660
7554
  tempToolbarChildren.push(
7661
- /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
7555
+ /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
7662
7556
  ColorPicker,
7663
7557
  {
7664
7558
  ...child.props,
@@ -7680,7 +7574,7 @@ var Toolbar = (props) => {
7680
7574
  addUniqueToolClass(child, index);
7681
7575
  });
7682
7576
  }
7683
- return /* @__PURE__ */ (0, import_jsx_runtime124.jsx)(
7577
+ return /* @__PURE__ */ (0, import_jsx_runtime117.jsx)(
7684
7578
  "div",
7685
7579
  {
7686
7580
  ...other,
@@ -7701,26 +7595,26 @@ var Toolbar = (props) => {
7701
7595
  }
7702
7596
  );
7703
7597
  };
7704
- Toolbar.states = states46;
7705
- Toolbar.options = options44;
7598
+ Toolbar.states = states45;
7599
+ Toolbar.options = options43;
7706
7600
  Toolbar.className = TOOLBAR_CLASSNAME;
7707
- Toolbar.defaultProps = defaultProps44;
7601
+ Toolbar.defaultProps = defaultProps43;
7708
7602
 
7709
7603
  // src/toolbar/toolbar-angular.spec.tsx
7710
- var import_jsx_runtime125 = require("react/jsx-runtime");
7604
+ var import_jsx_runtime118 = require("react/jsx-runtime");
7711
7605
  var TOOLBARANGULAR_CLASSNAME = `k-toolbar`;
7712
- var states47 = [
7606
+ var states46 = [
7713
7607
  States.focus
7714
7608
  ];
7715
- var options45 = {
7609
+ var options44 = {
7716
7610
  size: [Size.small, Size.medium, Size.large]
7717
7611
  };
7718
- var defaultProps45 = {
7612
+ var defaultProps44 = {
7719
7613
  size: Size.medium
7720
7614
  };
7721
7615
  var ToolbarAngular = (props) => {
7722
7616
  const {
7723
- size = defaultProps45.size,
7617
+ size = defaultProps44.size,
7724
7618
  focus,
7725
7619
  resizable,
7726
7620
  ...other
@@ -7730,7 +7624,7 @@ var ToolbarAngular = (props) => {
7730
7624
  const tempToolbarChildren = [];
7731
7625
  if (child.type === Button && child.props.className && child.props.className.includes("k-toolbar-overflow-button")) {
7732
7626
  tempToolbarChildren.push(
7733
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
7627
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7734
7628
  Button,
7735
7629
  {
7736
7630
  ...child.props,
@@ -7741,7 +7635,7 @@ var ToolbarAngular = (props) => {
7741
7635
  );
7742
7636
  } else if (child.type === Button && child.props.className && child.props.className.includes("k-toggle-button")) {
7743
7637
  tempToolbarChildren.push(
7744
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
7638
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7745
7639
  Button,
7746
7640
  {
7747
7641
  ...child.props,
@@ -7752,7 +7646,7 @@ var ToolbarAngular = (props) => {
7752
7646
  );
7753
7647
  } else if (child.type === Button) {
7754
7648
  tempToolbarChildren.push(
7755
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
7649
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7756
7650
  Button,
7757
7651
  {
7758
7652
  ...child.props,
@@ -7763,7 +7657,7 @@ var ToolbarAngular = (props) => {
7763
7657
  );
7764
7658
  } else if (child.type === MenuButton) {
7765
7659
  tempToolbarChildren.push(
7766
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
7660
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7767
7661
  MenuButton,
7768
7662
  {
7769
7663
  ...child.props,
@@ -7774,7 +7668,7 @@ var ToolbarAngular = (props) => {
7774
7668
  );
7775
7669
  } else if (child.type === split_button_spec_default) {
7776
7670
  tempToolbarChildren.push(
7777
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
7671
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7778
7672
  split_button_spec_default,
7779
7673
  {
7780
7674
  ...child.props,
@@ -7788,7 +7682,7 @@ var ToolbarAngular = (props) => {
7788
7682
  const childrenArray = Array.isArray(child.props.children) ? child.props.children : [child.props.children];
7789
7683
  childrenArray.forEach((button, bindex) => {
7790
7684
  buttonGroupItems.push(
7791
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
7685
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7792
7686
  Button,
7793
7687
  {
7794
7688
  ...button.props,
@@ -7799,7 +7693,7 @@ var ToolbarAngular = (props) => {
7799
7693
  );
7800
7694
  });
7801
7695
  tempToolbarChildren.push(
7802
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
7696
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7803
7697
  ButtonGroup,
7804
7698
  {
7805
7699
  ...child.props,
@@ -7811,7 +7705,7 @@ var ToolbarAngular = (props) => {
7811
7705
  );
7812
7706
  } else if (child.type === Combobox) {
7813
7707
  tempToolbarChildren.push(
7814
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
7708
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7815
7709
  Combobox,
7816
7710
  {
7817
7711
  ...child.props,
@@ -7822,7 +7716,7 @@ var ToolbarAngular = (props) => {
7822
7716
  );
7823
7717
  } else if (child.type === DropdownList) {
7824
7718
  tempToolbarChildren.push(
7825
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
7719
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7826
7720
  DropdownList,
7827
7721
  {
7828
7722
  ...child.props,
@@ -7833,7 +7727,7 @@ var ToolbarAngular = (props) => {
7833
7727
  );
7834
7728
  } else if (child.type === ColorPicker) {
7835
7729
  tempToolbarChildren.push(
7836
- /* @__PURE__ */ (0, import_jsx_runtime125.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
7730
+ /* @__PURE__ */ (0, import_jsx_runtime118.jsx)("div", { className: "k-toolbar-renderer", children: /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7837
7731
  ColorPicker,
7838
7732
  {
7839
7733
  ...child.props,
@@ -7855,7 +7749,7 @@ var ToolbarAngular = (props) => {
7855
7749
  addUniqueToolClass(child, index);
7856
7750
  });
7857
7751
  }
7858
- return /* @__PURE__ */ (0, import_jsx_runtime125.jsx)(
7752
+ return /* @__PURE__ */ (0, import_jsx_runtime118.jsx)(
7859
7753
  "div",
7860
7754
  {
7861
7755
  ...other,
@@ -7876,28 +7770,28 @@ var ToolbarAngular = (props) => {
7876
7770
  }
7877
7771
  );
7878
7772
  };
7879
- ToolbarAngular.states = states47;
7880
- ToolbarAngular.options = options45;
7773
+ ToolbarAngular.states = states46;
7774
+ ToolbarAngular.options = options44;
7881
7775
  ToolbarAngular.className = TOOLBARANGULAR_CLASSNAME;
7882
- ToolbarAngular.defaultProps = defaultProps45;
7776
+ ToolbarAngular.defaultProps = defaultProps44;
7883
7777
 
7884
7778
  // src/toolbar/toolbar-separator.tsx
7885
- var import_jsx_runtime126 = require("react/jsx-runtime");
7779
+ var import_jsx_runtime119 = require("react/jsx-runtime");
7886
7780
 
7887
7781
  // src/toolbar/toolbar-item.spec.tsx
7888
- var import_jsx_runtime127 = require("react/jsx-runtime");
7782
+ var import_jsx_runtime120 = require("react/jsx-runtime");
7889
7783
  var TOOLBARITEM_CLASSNAME = `k-toolbar-item`;
7890
- var states48 = [
7784
+ var states47 = [
7891
7785
  States.focus
7892
7786
  ];
7893
- var options46 = {};
7894
- var defaultProps46 = {};
7787
+ var options45 = {};
7788
+ var defaultProps45 = {};
7895
7789
  var ToolbarItem = (props) => {
7896
7790
  const {
7897
7791
  focus,
7898
7792
  ...other
7899
7793
  } = props;
7900
- return /* @__PURE__ */ (0, import_jsx_runtime127.jsx)(
7794
+ return /* @__PURE__ */ (0, import_jsx_runtime120.jsx)(
7901
7795
  "div",
7902
7796
  {
7903
7797
  ...other,
@@ -7912,20 +7806,20 @@ var ToolbarItem = (props) => {
7912
7806
  }
7913
7807
  );
7914
7808
  };
7915
- ToolbarItem.states = states48;
7916
- ToolbarItem.options = options46;
7809
+ ToolbarItem.states = states47;
7810
+ ToolbarItem.options = options45;
7917
7811
  ToolbarItem.className = TOOLBARITEM_CLASSNAME;
7918
- ToolbarItem.defaultProps = defaultProps46;
7812
+ ToolbarItem.defaultProps = defaultProps45;
7919
7813
 
7920
7814
  // src/toolbar/toolbar-popup.spec.tsx
7921
- var import_jsx_runtime128 = require("react/jsx-runtime");
7815
+ var import_jsx_runtime121 = require("react/jsx-runtime");
7922
7816
  var TOOLBARPOPUP_CLASSNAME = `k-toolbar-popup`;
7923
- var states49 = [];
7924
- var options47 = {};
7925
- var defaultProps47 = {};
7817
+ var states48 = [];
7818
+ var options46 = {};
7819
+ var defaultProps46 = {};
7926
7820
  var ToolbarPopup = (props) => {
7927
7821
  const { ...other } = props;
7928
- return /* @__PURE__ */ (0, import_jsx_runtime128.jsx)(
7822
+ return /* @__PURE__ */ (0, import_jsx_runtime121.jsx)(
7929
7823
  Popup,
7930
7824
  {
7931
7825
  ...other,
@@ -7937,51 +7831,156 @@ var ToolbarPopup = (props) => {
7937
7831
  }
7938
7832
  );
7939
7833
  };
7940
- ToolbarPopup.states = states49;
7941
- ToolbarPopup.options = options47;
7834
+ ToolbarPopup.states = states48;
7835
+ ToolbarPopup.options = options46;
7942
7836
  ToolbarPopup.className = TOOLBARPOPUP_CLASSNAME;
7943
- ToolbarPopup.defaultProps = defaultProps47;
7837
+ ToolbarPopup.defaultProps = defaultProps46;
7838
+
7839
+ // src/split-button/templates/icon-split-button.tsx
7840
+ var import_jsx_runtime122 = require("react/jsx-runtime");
7841
+
7842
+ // src/split-button/templates/icon-text-split-button.tsx
7843
+ var import_jsx_runtime123 = require("react/jsx-runtime");
7844
+
7845
+ // src/split-button/templates/text-split-button.tsx
7846
+ var import_jsx_runtime124 = require("react/jsx-runtime");
7847
+
7848
+ // src/split-button/templates/split-button-popup.tsx
7849
+ var import_jsx_runtime125 = require("react/jsx-runtime");
7944
7850
 
7945
7851
  // src/toolbar/templates/toolbar-normal.tsx
7946
- var import_jsx_runtime129 = require("react/jsx-runtime");
7852
+ var import_jsx_runtime126 = require("react/jsx-runtime");
7947
7853
 
7948
7854
  // src/toolbar/templates/toolbar-resizable.tsx
7949
- var import_jsx_runtime130 = require("react/jsx-runtime");
7855
+ var import_jsx_runtime127 = require("react/jsx-runtime");
7950
7856
 
7951
7857
  // src/toolbar/templates/toolbar-angular-normal.tsx
7952
- var import_jsx_runtime131 = require("react/jsx-runtime");
7858
+ var import_jsx_runtime128 = require("react/jsx-runtime");
7953
7859
 
7954
7860
  // src/toolbar/templates/toolbar-angular-resizable.tsx
7955
- var import_jsx_runtime132 = require("react/jsx-runtime");
7861
+ var import_jsx_runtime129 = require("react/jsx-runtime");
7956
7862
 
7957
7863
  // src/filemanager/filemanager-toolbar.spec.tsx
7958
- var import_jsx_runtime133 = require("react/jsx-runtime");
7864
+ var import_jsx_runtime130 = require("react/jsx-runtime");
7959
7865
  var FILEMANAGERTOOLBAR_CLASSNAME = `k-filemanager-toolbar`;
7960
- var states50 = [];
7961
- var options48 = {};
7962
- var defaultProps48 = {};
7866
+ var states49 = [];
7867
+ var options47 = {};
7868
+ var defaultProps47 = {};
7963
7869
  var FileManagerToolbar = (props) => {
7964
7870
  const {
7965
7871
  children,
7966
7872
  ...other
7967
7873
  } = props;
7968
- return /* @__PURE__ */ (0, import_jsx_runtime133.jsx)(
7874
+ return /* @__PURE__ */ (0, import_jsx_runtime130.jsx)(
7969
7875
  Toolbar,
7970
7876
  {
7877
+ ...other,
7971
7878
  className: classNames(
7972
7879
  props.className,
7973
7880
  FILEMANAGERTOOLBAR_CLASSNAME
7974
7881
  ),
7975
- ...other,
7976
7882
  children
7977
7883
  }
7978
7884
  );
7979
7885
  };
7980
- FileManagerToolbar.states = states50;
7981
- FileManagerToolbar.options = options48;
7886
+ FileManagerToolbar.states = states49;
7887
+ FileManagerToolbar.options = options47;
7982
7888
  FileManagerToolbar.className = FILEMANAGERTOOLBAR_CLASSNAME;
7983
- FileManagerToolbar.defaultProps = defaultProps48;
7984
- var filemanager_toolbar_spec_default = FileManagerToolbar;
7889
+ FileManagerToolbar.defaultProps = defaultProps47;
7890
+
7891
+ // src/switch/switch.spec.tsx
7892
+ var import_jsx_runtime131 = require("react/jsx-runtime");
7893
+ var SWITCH_CLASSNAME = `k-switch`;
7894
+ var states50 = [
7895
+ States.hover,
7896
+ States.focus,
7897
+ States.disabled,
7898
+ States.checked
7899
+ ];
7900
+ var options48 = {
7901
+ size: [Size.small, Size.medium, Size.large],
7902
+ trackRounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full],
7903
+ thumbRounded: [Roundness.small, Roundness.medium, Roundness.large, Roundness.full]
7904
+ };
7905
+ var defaultProps48 = {
7906
+ size: Size.medium,
7907
+ trackRounded: Roundness.full,
7908
+ thumbRounded: Roundness.full
7909
+ };
7910
+ var Switch = (props) => {
7911
+ const {
7912
+ checked,
7913
+ onLabel,
7914
+ offLabel,
7915
+ size = defaultProps48.size,
7916
+ trackRounded = defaultProps48.trackRounded,
7917
+ thumbRounded = defaultProps48.thumbRounded,
7918
+ hover,
7919
+ focus,
7920
+ disabled,
7921
+ ...other
7922
+ } = props;
7923
+ return /* @__PURE__ */ (0, import_jsx_runtime131.jsxs)(
7924
+ "span",
7925
+ {
7926
+ ...other,
7927
+ className: classNames(
7928
+ props.className,
7929
+ SWITCH_CLASSNAME,
7930
+ optionClassNames(SWITCH_CLASSNAME, {
7931
+ size
7932
+ }),
7933
+ stateClassNames(SWITCH_CLASSNAME, {
7934
+ hover,
7935
+ focus,
7936
+ disabled
7937
+ }),
7938
+ {
7939
+ [`${SWITCH_CLASSNAME}-on`]: checked,
7940
+ [`${SWITCH_CLASSNAME}-off`]: !checked
7941
+ }
7942
+ ),
7943
+ children: [
7944
+ /* @__PURE__ */ (0, import_jsx_runtime131.jsxs)(
7945
+ "span",
7946
+ {
7947
+ className: classNames(
7948
+ "k-switch-track",
7949
+ optionClassNames(SWITCH_CLASSNAME, {
7950
+ rounded: trackRounded
7951
+ })
7952
+ ),
7953
+ children: [
7954
+ onLabel && /* @__PURE__ */ (0, import_jsx_runtime131.jsx)("span", { className: "k-switch-label-on", children: onLabel }),
7955
+ offLabel && /* @__PURE__ */ (0, import_jsx_runtime131.jsx)("span", { className: "k-switch-label-off", children: offLabel })
7956
+ ]
7957
+ }
7958
+ ),
7959
+ /* @__PURE__ */ (0, import_jsx_runtime131.jsx)("span", { className: "k-switch-thumb-wrap", children: /* @__PURE__ */ (0, import_jsx_runtime131.jsx)(
7960
+ "span",
7961
+ {
7962
+ className: classNames(
7963
+ "k-switch-thumb",
7964
+ optionClassNames(SWITCH_CLASSNAME, {
7965
+ rounded: thumbRounded
7966
+ })
7967
+ )
7968
+ }
7969
+ ) })
7970
+ ]
7971
+ }
7972
+ );
7973
+ };
7974
+ Switch.states = states50;
7975
+ Switch.options = options48;
7976
+ Switch.className = SWITCH_CLASSNAME;
7977
+ Switch.defaultProps = defaultProps48;
7978
+
7979
+ // src/switch/templates/switch-normal.tsx
7980
+ var import_jsx_runtime132 = require("react/jsx-runtime");
7981
+
7982
+ // src/switch/templates/switch-checked.tsx
7983
+ var import_jsx_runtime133 = require("react/jsx-runtime");
7985
7984
 
7986
7985
  // src/filemanager/filemanager.spec.tsx
7987
7986
  var import_jsx_runtime134 = require("react/jsx-runtime");
@@ -7990,7 +7989,7 @@ var states51 = [
7990
7989
  States.disabled
7991
7990
  ];
7992
7991
  var options49 = {};
7993
- var defaultToolbar = /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_jsx_runtime134.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(filemanager_toolbar_spec_default, { children: [
7992
+ var defaultToolbar = /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(import_jsx_runtime134.Fragment, { children: /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(FileManagerToolbar, { children: [
7994
7993
  /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(Button, { children: "New Folder" }),
7995
7994
  /* @__PURE__ */ (0, import_jsx_runtime134.jsx)(Button, { children: "Upload" }),
7996
7995
  /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)(ButtonGroup, { children: [
@@ -8015,7 +8014,7 @@ var defaultProps49 = {
8015
8014
  var FileManager = (props) => {
8016
8015
  const {
8017
8016
  disabled,
8018
- toolbar
8017
+ toolbar = defaultProps49.toolbar
8019
8018
  } = props;
8020
8019
  return /* @__PURE__ */ (0, import_jsx_runtime134.jsxs)("div", { className: classNames(
8021
8020
  props.className,