@progress/kendo-themes-html 7.0.2-dev.4 → 7.0.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (257) hide show
  1. package/dist/cjs/context-menu/tests/context-menu-in-window.js +45 -31
  2. package/dist/cjs/dialog/tests/dialog-in-window.js +32 -18
  3. package/dist/cjs/editor/tests/editor-find-replace.js +86 -72
  4. package/dist/cjs/editor/tests/editor-image-editor.js +48 -34
  5. package/dist/cjs/editor/tests/editor-table-wizard.js +115 -101
  6. package/dist/cjs/editor/tests/editor-view-source.js +47 -33
  7. package/dist/cjs/fab/fab-item.js +1 -0
  8. package/dist/cjs/fab/templates/icon-fab.js +4426 -0
  9. package/dist/cjs/fab/templates/icon-text-fab.js +4427 -0
  10. package/dist/cjs/fab/templates/text-fab.js +4426 -0
  11. package/dist/cjs/fab/tests/fab-items.js +51 -113
  12. package/dist/cjs/fab/tests/fab-position.js +73 -20
  13. package/dist/cjs/fab/tests/{fab-size.js → fab-size-rounded.js} +89 -93
  14. package/dist/cjs/fab/tests/fab-states.js +67 -14
  15. package/dist/cjs/fab/tests/fab.js +82 -48
  16. package/dist/cjs/filemanager/tests/filemanager-dialogs.js +35 -19
  17. package/dist/cjs/form/tests/form-field-inputs-rtl.js +137 -115
  18. package/dist/cjs/form/tests/form-field-inputs.js +151 -129
  19. package/dist/cjs/gantt/tests/gantt-editing-popup-general.js +434 -420
  20. package/dist/cjs/gantt/tests/gantt-editing-popup-other.js +332 -318
  21. package/dist/cjs/gantt/tests/gantt-editing-popup-predecessors.js +442 -428
  22. package/dist/cjs/gantt/tests/gantt-editing-popup-resources.js +485 -471
  23. package/dist/cjs/gantt/tests/gantt-editing-popup-successors.js +442 -428
  24. package/dist/cjs/grid/tests/grid-column-resizing-actions.js +140 -126
  25. package/dist/cjs/grid/tests/grid-editing-popup.js +375 -361
  26. package/dist/cjs/index.js +1935 -1659
  27. package/dist/cjs/multiselecttree/multiselecttree.spec.js +712 -18
  28. package/dist/cjs/multiselecttree/templates/multiselecttree-adaptive.js +5837 -0
  29. package/dist/cjs/multiselecttree/templates/multiselecttree-arrow-button.js +5837 -0
  30. package/dist/cjs/multiselecttree/templates/multiselecttree-filtering.js +5968 -0
  31. package/dist/cjs/multiselecttree/templates/multiselecttree-normal.js +5831 -0
  32. package/dist/cjs/multiselecttree/templates/multiselecttree-popup.js +5855 -0
  33. package/dist/cjs/multiselecttree/templates/multiselecttree-value.js +5869 -0
  34. package/dist/cjs/multiselecttree/tests/multiselecttree-adaptive.js +5984 -0
  35. package/dist/cjs/multiselecttree/tests/multiselecttree-flat.js +887 -147
  36. package/dist/cjs/multiselecttree/tests/multiselecttree-opened.js +1283 -937
  37. package/dist/cjs/multiselecttree/tests/multiselecttree-outline.js +887 -147
  38. package/dist/cjs/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +865 -150
  39. package/dist/cjs/multiselecttree/tests/multiselecttree-solid.js +6048 -0
  40. package/dist/cjs/notification/index.js +51 -1
  41. package/dist/cjs/notification/templates/icon-notification-closable.js +4389 -0
  42. package/dist/cjs/notification/templates/icon-notification.js +4368 -0
  43. package/dist/cjs/notification/templates/notification-closable.js +4388 -0
  44. package/dist/cjs/notification/templates/notification-normal.js +4367 -0
  45. package/dist/cjs/notification/tests/notification-angular-colors.js +4404 -0
  46. package/dist/cjs/notification/tests/notification-angular.js +60 -34
  47. package/dist/cjs/notification/tests/notification-custom-angular.js +48 -20
  48. package/dist/cjs/notification/tests/notification-jquery-colors.js +4441 -0
  49. package/dist/cjs/notification/tests/notification-jquery.js +63 -37
  50. package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
  51. package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +530 -516
  52. package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +544 -530
  53. package/dist/cjs/spreadsheet/tests/spreadsheet-data-validation.js +194 -180
  54. package/dist/cjs/spreadsheet/tests/spreadsheet-file-dialogs.js +235 -205
  55. package/dist/cjs/spreadsheet/tests/spreadsheet-find-replace-dialog.js +169 -155
  56. package/dist/cjs/spreadsheet/tests/spreadsheet-format-dialogs.js +471 -457
  57. package/dist/cjs/spreadsheet/tests/spreadsheet-formula-dialog.js +167 -153
  58. package/dist/cjs/spreadsheet/tests/spreadsheet-insert-dialogs.js +267 -237
  59. package/dist/cjs/spreadsheet/tests/spreadsheet-print.js +243 -229
  60. package/dist/cjs/spreadsheet/tests/spreadsheet-sheets-bar.js +123 -109
  61. package/dist/cjs/treelist/tests/treelist-editing-popup.js +317 -303
  62. package/dist/cjs/upload/templates/upload-batch.js +4846 -0
  63. package/dist/cjs/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +396 -768
  64. package/dist/cjs/upload/templates/upload-normal.js +4761 -0
  65. package/dist/cjs/upload/tests/upload-rtl.js +67 -49
  66. package/dist/cjs/upload/tests/upload-states.js +4782 -0
  67. package/dist/cjs/upload/tests/upload.js +62 -36
  68. package/dist/cjs/upload/upload.spec.js +1 -1
  69. package/dist/cjs/window/templates/window-normal.js +4546 -0
  70. package/dist/cjs/window/tests/window-action-buttons.js +30 -16
  71. package/dist/cjs/window/tests/window-rtl.js +23 -9
  72. package/dist/cjs/window/tests/window-theme-colors.js +22 -9
  73. package/dist/cjs/window/tests/window.js +23 -9
  74. package/dist/esm/context-menu/tests/context-menu-in-window.js +43 -29
  75. package/dist/esm/dialog/tests/dialog-in-window.js +30 -16
  76. package/dist/esm/editor/tests/editor-find-replace.js +78 -64
  77. package/dist/esm/editor/tests/editor-image-editor.js +41 -27
  78. package/dist/esm/editor/tests/editor-table-wizard.js +110 -96
  79. package/dist/esm/editor/tests/editor-view-source.js +46 -32
  80. package/dist/esm/fab/fab-item.js +1 -0
  81. package/dist/esm/fab/templates/icon-fab.js +4410 -0
  82. package/dist/esm/fab/templates/icon-text-fab.js +4411 -0
  83. package/dist/esm/fab/templates/text-fab.js +4410 -0
  84. package/dist/esm/fab/tests/fab-items.js +49 -111
  85. package/dist/esm/fab/tests/fab-position.js +71 -18
  86. package/dist/esm/fab/tests/{fab-size.js → fab-size-rounded.js} +85 -89
  87. package/dist/esm/fab/tests/fab-states.js +64 -11
  88. package/dist/esm/fab/tests/fab.js +80 -46
  89. package/dist/esm/filemanager/tests/filemanager-dialogs.js +35 -19
  90. package/dist/esm/form/tests/form-field-inputs-rtl.js +137 -115
  91. package/dist/esm/form/tests/form-field-inputs.js +151 -129
  92. package/dist/esm/gantt/tests/gantt-editing-popup-general.js +381 -367
  93. package/dist/esm/gantt/tests/gantt-editing-popup-other.js +290 -276
  94. package/dist/esm/gantt/tests/gantt-editing-popup-predecessors.js +386 -372
  95. package/dist/esm/gantt/tests/gantt-editing-popup-resources.js +419 -405
  96. package/dist/esm/gantt/tests/gantt-editing-popup-successors.js +386 -372
  97. package/dist/esm/grid/tests/grid-column-resizing-actions.js +117 -103
  98. package/dist/esm/grid/tests/grid-editing-popup.js +328 -314
  99. package/dist/esm/index.js +1935 -1659
  100. package/dist/esm/multiselecttree/multiselecttree.spec.js +712 -18
  101. package/dist/esm/multiselecttree/templates/multiselecttree-adaptive.js +5821 -0
  102. package/dist/esm/multiselecttree/templates/multiselecttree-arrow-button.js +5821 -0
  103. package/dist/esm/multiselecttree/templates/multiselecttree-filtering.js +5952 -0
  104. package/dist/esm/multiselecttree/templates/multiselecttree-normal.js +5815 -0
  105. package/dist/esm/multiselecttree/templates/multiselecttree-popup.js +5839 -0
  106. package/dist/esm/multiselecttree/templates/multiselecttree-value.js +5853 -0
  107. package/dist/esm/multiselecttree/tests/multiselecttree-adaptive.js +5968 -0
  108. package/dist/esm/multiselecttree/tests/multiselecttree-flat.js +887 -147
  109. package/dist/esm/multiselecttree/tests/multiselecttree-opened.js +1337 -991
  110. package/dist/esm/multiselecttree/tests/multiselecttree-outline.js +887 -147
  111. package/dist/esm/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +861 -146
  112. package/dist/esm/multiselecttree/tests/multiselecttree-solid.js +6032 -0
  113. package/dist/esm/notification/index.js +51 -1
  114. package/dist/esm/notification/templates/icon-notification-closable.js +4373 -0
  115. package/dist/esm/notification/templates/icon-notification.js +4352 -0
  116. package/dist/esm/notification/templates/notification-closable.js +4372 -0
  117. package/dist/esm/notification/templates/notification-normal.js +4351 -0
  118. package/dist/esm/notification/tests/notification-angular-colors.js +4388 -0
  119. package/dist/esm/notification/tests/notification-angular.js +58 -32
  120. package/dist/esm/notification/tests/notification-custom-angular.js +46 -18
  121. package/dist/esm/notification/tests/notification-jquery-colors.js +4425 -0
  122. package/dist/esm/notification/tests/notification-jquery.js +61 -35
  123. package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
  124. package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +466 -452
  125. package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +479 -465
  126. package/dist/esm/spreadsheet/tests/spreadsheet-data-validation.js +179 -165
  127. package/dist/esm/spreadsheet/tests/spreadsheet-file-dialogs.js +215 -185
  128. package/dist/esm/spreadsheet/tests/spreadsheet-find-replace-dialog.js +155 -141
  129. package/dist/esm/spreadsheet/tests/spreadsheet-format-dialogs.js +409 -395
  130. package/dist/esm/spreadsheet/tests/spreadsheet-formula-dialog.js +153 -139
  131. package/dist/esm/spreadsheet/tests/spreadsheet-insert-dialogs.js +253 -223
  132. package/dist/esm/spreadsheet/tests/spreadsheet-print.js +218 -204
  133. package/dist/esm/spreadsheet/tests/spreadsheet-sheets-bar.js +108 -94
  134. package/dist/esm/treelist/tests/treelist-editing-popup.js +275 -261
  135. package/dist/esm/upload/templates/upload-batch.js +4830 -0
  136. package/dist/esm/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +392 -764
  137. package/dist/esm/upload/templates/upload-normal.js +4745 -0
  138. package/dist/esm/upload/tests/upload-rtl.js +67 -49
  139. package/dist/esm/upload/tests/upload-states.js +4766 -0
  140. package/dist/esm/upload/tests/upload.js +62 -36
  141. package/dist/esm/upload/upload.spec.js +1 -1
  142. package/dist/esm/window/templates/window-normal.js +4530 -0
  143. package/dist/esm/window/tests/window-action-buttons.js +29 -15
  144. package/dist/esm/window/tests/window-rtl.js +22 -8
  145. package/dist/esm/window/tests/window-theme-colors.js +22 -9
  146. package/dist/esm/window/tests/window.js +22 -8
  147. package/dist/types/fab/fab-item.d.ts +4 -1
  148. package/dist/types/fab/index.d.ts +3 -0
  149. package/dist/types/fab/templates/icon-fab.d.ts +1 -0
  150. package/dist/types/fab/templates/icon-text-fab.d.ts +1 -0
  151. package/dist/types/fab/templates/text-fab.d.ts +1 -0
  152. package/dist/types/multiselecttree/index.d.ts +6 -0
  153. package/dist/types/multiselecttree/multiselecttree.spec.d.ts +3 -0
  154. package/dist/types/multiselecttree/templates/multiselecttree-adaptive.d.ts +1 -0
  155. package/dist/types/multiselecttree/templates/multiselecttree-arrow-button.d.ts +1 -0
  156. package/dist/types/multiselecttree/templates/multiselecttree-filtering.d.ts +1 -0
  157. package/dist/types/multiselecttree/templates/multiselecttree-normal.d.ts +1 -0
  158. package/dist/types/multiselecttree/templates/multiselecttree-popup.d.ts +1 -0
  159. package/dist/types/multiselecttree/templates/multiselecttree-value.d.ts +1 -0
  160. package/dist/types/multiselecttree/tests/multiselecttree-solid.d.ts +2 -0
  161. package/dist/types/notification/index.d.ts +4 -0
  162. package/dist/types/notification/templates/icon-notification-closable.d.ts +1 -0
  163. package/dist/types/notification/templates/icon-notification.d.ts +1 -0
  164. package/dist/types/notification/templates/notification-closable.d.ts +1 -0
  165. package/dist/types/notification/templates/notification-normal.d.ts +1 -0
  166. package/dist/types/notification/tests/notification-angular-colors.d.ts +2 -0
  167. package/dist/types/notification/tests/notification-jquery-colors.d.ts +2 -0
  168. package/dist/types/upload/index.d.ts +3 -0
  169. package/dist/types/upload/templates/upload-batch.d.ts +1 -0
  170. package/dist/types/upload/templates/upload-chunk.d.ts +1 -0
  171. package/dist/types/upload/templates/upload-normal.d.ts +1 -0
  172. package/dist/types/upload/tests/upload-states.d.ts +2 -0
  173. package/dist/types/window/index.d.ts +1 -0
  174. package/dist/types/window/templates/window-normal.d.ts +1 -0
  175. package/package.json +2 -2
  176. package/src/context-menu/tests/context-menu-in-window.tsx +3 -3
  177. package/src/dialog/tests/dialog-in-window.tsx +3 -3
  178. package/src/editor/tests/editor-find-replace.tsx +5 -5
  179. package/src/editor/tests/editor-image-editor.tsx +3 -3
  180. package/src/editor/tests/editor-table-wizard.tsx +7 -7
  181. package/src/editor/tests/editor-view-source.tsx +3 -3
  182. package/src/fab/fab-item.tsx +2 -0
  183. package/src/fab/index.ts +3 -0
  184. package/src/fab/templates/icon-fab.tsx +7 -0
  185. package/src/fab/templates/icon-text-fab.tsx +8 -0
  186. package/src/fab/templates/text-fab.tsx +7 -0
  187. package/src/fab/tests/fab-items.tsx +57 -127
  188. package/src/fab/tests/fab-position.tsx +9 -9
  189. package/src/fab/tests/fab-size-rounded.tsx +35 -0
  190. package/src/fab/tests/fab-states.tsx +2 -2
  191. package/src/fab/tests/fab.tsx +14 -110
  192. package/src/filemanager/tests/filemanager-dialogs.tsx +2 -2
  193. package/src/form/tests/form-field-inputs-rtl.tsx +5 -5
  194. package/src/form/tests/form-field-inputs.tsx +5 -5
  195. package/src/gantt/tests/gantt-editing-popup-general.tsx +3 -3
  196. package/src/gantt/tests/gantt-editing-popup-other.tsx +3 -3
  197. package/src/gantt/tests/gantt-editing-popup-predecessors.tsx +3 -3
  198. package/src/gantt/tests/gantt-editing-popup-resources.tsx +3 -3
  199. package/src/gantt/tests/gantt-editing-popup-successors.tsx +3 -3
  200. package/src/grid/tests/grid-column-resizing-actions.tsx +3 -3
  201. package/src/grid/tests/grid-editing-popup.tsx +3 -3
  202. package/src/multiselecttree/index.ts +6 -0
  203. package/src/multiselecttree/multiselecttree.spec.tsx +37 -0
  204. package/src/multiselecttree/templates/multiselecttree-adaptive.tsx +8 -0
  205. package/src/multiselecttree/templates/multiselecttree-arrow-button.tsx +8 -0
  206. package/src/multiselecttree/templates/multiselecttree-filtering.tsx +47 -0
  207. package/src/multiselecttree/templates/multiselecttree-normal.tsx +3 -0
  208. package/src/multiselecttree/templates/multiselecttree-popup.tsx +36 -0
  209. package/src/multiselecttree/templates/multiselecttree-value.tsx +12 -0
  210. package/src/multiselecttree/tests/multiselecttree-adaptive.tsx +33 -0
  211. package/src/multiselecttree/tests/multiselecttree-flat.tsx +32 -126
  212. package/src/multiselecttree/tests/multiselecttree-opened.tsx +29 -90
  213. package/src/multiselecttree/tests/multiselecttree-outline.tsx +32 -126
  214. package/src/multiselecttree/tests/multiselecttree-size-rounded.tsx +38 -0
  215. package/src/multiselecttree/tests/multiselecttree-solid.tsx +79 -0
  216. package/src/notification/index.tsx +4 -0
  217. package/src/notification/templates/icon-notification-closable.tsx +10 -0
  218. package/src/notification/templates/icon-notification.tsx +9 -0
  219. package/src/notification/templates/notification-closable.tsx +9 -0
  220. package/src/notification/templates/notification-normal.tsx +8 -0
  221. package/src/notification/tests/notification-angular-colors.tsx +28 -0
  222. package/src/notification/tests/notification-angular.tsx +10 -95
  223. package/src/notification/tests/notification-custom-angular.tsx +9 -9
  224. package/src/notification/tests/notification-jquery-colors.tsx +30 -0
  225. package/src/notification/tests/notification-jquery.tsx +10 -95
  226. package/src/pdf-viewer/tests/pdf-viewer-blank-page.tsx +2 -2
  227. package/src/scheduler/tests/scheduler-edit-dialog.tsx +3 -3
  228. package/src/scheduler/tests/scheduler-editing-weekly.tsx +3 -3
  229. package/src/spreadsheet/tests/spreadsheet-data-validation.tsx +5 -5
  230. package/src/spreadsheet/tests/spreadsheet-file-dialogs.tsx +9 -9
  231. package/src/spreadsheet/tests/spreadsheet-find-replace-dialog.tsx +3 -3
  232. package/src/spreadsheet/tests/spreadsheet-format-dialogs.tsx +5 -5
  233. package/src/spreadsheet/tests/spreadsheet-formula-dialog.tsx +3 -3
  234. package/src/spreadsheet/tests/spreadsheet-insert-dialogs.tsx +13 -13
  235. package/src/spreadsheet/tests/spreadsheet-print.tsx +5 -5
  236. package/src/spreadsheet/tests/spreadsheet-sheets-bar.tsx +5 -5
  237. package/src/treelist/tests/treelist-editing-popup.tsx +3 -3
  238. package/src/upload/index.ts +3 -0
  239. package/src/upload/templates/upload-batch.tsx +14 -0
  240. package/src/upload/templates/upload-chunk.tsx +12 -0
  241. package/src/upload/templates/upload-normal.tsx +7 -0
  242. package/src/upload/tests/upload-rtl.tsx +35 -48
  243. package/src/upload/tests/upload-states.tsx +29 -0
  244. package/src/upload/tests/upload.tsx +34 -39
  245. package/src/upload/upload.spec.tsx +1 -1
  246. package/src/window/index.ts +1 -0
  247. package/src/window/templates/window-normal.tsx +11 -0
  248. package/src/window/tests/window-action-buttons.tsx +9 -9
  249. package/src/window/tests/window-rtl.tsx +6 -8
  250. package/src/window/tests/window-theme-colors.tsx +6 -18
  251. package/src/window/tests/window.tsx +6 -6
  252. package/src/fab/tests/fab-size.tsx +0 -109
  253. package/src/multiselecttree/tests/multiselecttree-size.tsx +0 -50
  254. package/src/multiselecttree/tests/multiselecttree.tsx +0 -175
  255. /package/dist/types/fab/tests/{fab-size.d.ts → fab-size-rounded.d.ts} +0 -0
  256. /package/dist/types/multiselecttree/tests/{multiselecttree-size.d.ts → multiselecttree-adaptive.d.ts} +0 -0
  257. /package/dist/types/multiselecttree/tests/{multiselecttree.d.ts → multiselecttree-size-rounded.d.ts} +0 -0
@@ -4531,32 +4531,46 @@ Window.options = options6;
4531
4531
  Window.className = WINDOW_CLASSNAME;
4532
4532
  Window.defaultProps = defaultProps6;
4533
4533
 
4534
- // src/window/tests/window-action-buttons.tsx
4534
+ // src/window/templates/window-normal.tsx
4535
4535
  var import_jsx_runtime10 = require("react/jsx-runtime");
4536
+ var WindowNormal = (props) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
4537
+ Window,
4538
+ {
4539
+ title: "Title",
4540
+ actions: ["window-minimize", "window", "x"],
4541
+ children: [
4542
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_jsx_runtime10.Fragment, { children: "Content" })
4543
+ ],
4544
+ ...props
4545
+ }
4546
+ );
4547
+
4548
+ // src/window/tests/window-action-buttons.tsx
4549
+ var import_jsx_runtime11 = require("react/jsx-runtime");
4536
4550
  var style = `
4537
4551
  .k-window {
4538
4552
  position: relative;
4539
4553
  width: 300px;
4540
4554
  }
4541
4555
  `;
4542
- var window_action_buttons_default = () => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
4543
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("style", { children: style }),
4544
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: [
4545
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Window, { title: "Title", actions: ["window-minimize", "window", "x"], actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
4546
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Button, { children: "Cancel" }),
4547
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Button, { themeColor: "primary", children: "Update" })
4556
+ var window_action_buttons_default = () => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
4557
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("style", { children: style }),
4558
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: [
4559
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(WindowNormal, { actionButtonsAlign: "start", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
4560
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Button, { children: "Cancel" }),
4561
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Button, { themeColor: "primary", children: "Update" })
4548
4562
  ] }), children: "Action Buttons at start position" }),
4549
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Window, { title: "Title", actions: ["window-minimize", "window", "x"], actionButtonsAlign: "center", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
4550
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Button, { children: "Cancel" }),
4551
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Button, { themeColor: "primary", children: "Update" })
4563
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(WindowNormal, { actionButtonsAlign: "center", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
4564
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Button, { children: "Cancel" }),
4565
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Button, { themeColor: "primary", children: "Update" })
4552
4566
  ] }), children: "Action Buttons at center position" }),
4553
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Window, { title: "Title", actions: ["window-minimize", "window", "x"], actionButtonsAlign: "end", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
4554
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Button, { children: "Cancel" }),
4555
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Button, { themeColor: "primary", children: "Update" })
4567
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(WindowNormal, { actionButtonsAlign: "end", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
4568
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Button, { children: "Cancel" }),
4569
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Button, { themeColor: "primary", children: "Update" })
4556
4570
  ] }), children: "Action Buttons at end position" }),
4557
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Window, { title: "Title", actions: ["window-minimize", "window", "x"], actionButtonsAlign: "stretched", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
4558
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Button, { children: "Cancel" }),
4559
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Button, { themeColor: "primary", children: "Update" })
4571
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(WindowNormal, { actionButtonsAlign: "stretched", actionButtons: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
4572
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Button, { children: "Cancel" }),
4573
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(Button, { themeColor: "primary", children: "Update" })
4560
4574
  ] }), children: "Action Buttons with stretched position" })
4561
4575
  ] })
4562
4576
  ] });
@@ -4531,20 +4531,34 @@ Window.options = options6;
4531
4531
  Window.className = WINDOW_CLASSNAME;
4532
4532
  Window.defaultProps = defaultProps6;
4533
4533
 
4534
- // src/window/tests/window-rtl.tsx
4534
+ // src/window/templates/window-normal.tsx
4535
4535
  var import_jsx_runtime10 = require("react/jsx-runtime");
4536
+ var WindowNormal = (props) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
4537
+ Window,
4538
+ {
4539
+ title: "Title",
4540
+ actions: ["window-minimize", "window", "x"],
4541
+ children: [
4542
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_jsx_runtime10.Fragment, { children: "Content" })
4543
+ ],
4544
+ ...props
4545
+ }
4546
+ );
4547
+
4548
+ // src/window/tests/window-rtl.tsx
4549
+ var import_jsx_runtime11 = require("react/jsx-runtime");
4536
4550
  var style = `
4537
4551
  .k-window {
4538
4552
  position: relative;
4539
4553
  }
4540
4554
  `;
4541
- var window_rtl_default = () => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
4542
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("style", { children: style }),
4543
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { id: "test-area", className: "k-d-grid k-grid-cols-2 k-rtl", children: [
4544
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Window, { title: "Window", actions: ["window-minimize", "window", "x"], children: "Window content" }) }),
4545
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Window, { title: "", actions: ["window-minimize", "window", "x"], children: "Window with no title specified" }) }),
4546
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Window, { title: "", children: "Window with empty title and no actions" }) }),
4547
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Window, { children: "Window without a title" }) }),
4548
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Window, { title: "Window minimized", actions: ["window-minimize", "window", "x"], minimized: true, children: "Window content" }) })
4555
+ var window_rtl_default = () => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
4556
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("style", { children: style }),
4557
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { id: "test-area", className: "k-d-grid k-grid-cols-2 k-rtl", children: [
4558
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(WindowNormal, { children: "Window content" }) }),
4559
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(WindowNormal, { title: "", children: "Window with no title specified" }) }),
4560
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(WindowNormal, { title: "", actions: void 0, children: "Window with empty title and no actions" }) }),
4561
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(WindowNormal, { title: void 0, actions: void 0, children: "Window without a title" }) }),
4562
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(WindowNormal, { title: "Window minimized", minimized: true, children: "Window content" }) })
4549
4563
  ] })
4550
4564
  ] });
@@ -4531,19 +4531,32 @@ Window.options = options6;
4531
4531
  Window.className = WINDOW_CLASSNAME;
4532
4532
  Window.defaultProps = defaultProps6;
4533
4533
 
4534
- // src/window/tests/window-theme-colors.tsx
4534
+ // src/window/templates/window-normal.tsx
4535
4535
  var import_jsx_runtime10 = require("react/jsx-runtime");
4536
+ var WindowNormal = (props) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
4537
+ Window,
4538
+ {
4539
+ title: "Title",
4540
+ actions: ["window-minimize", "window", "x"],
4541
+ children: [
4542
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_jsx_runtime10.Fragment, { children: "Content" })
4543
+ ],
4544
+ ...props
4545
+ }
4546
+ );
4547
+
4548
+ // src/window/tests/window-theme-colors.tsx
4549
+ var import_jsx_runtime11 = require("react/jsx-runtime");
4536
4550
  var style = `
4537
4551
  .k-window {
4538
4552
  position: relative;
4539
4553
  }
4540
4554
  `;
4541
- var window_theme_colors_default = () => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
4542
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("style", { children: style }),
4543
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: [
4544
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Window, { title: "Window", actions: ["window-minimize", "window", "x"], children: "Window with default theme color" }) }),
4545
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Window, { themeColor: "primary", title: "Window", actions: ["window-minimize", "window", "x"], children: "Window with primary theme color" }) }),
4546
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Window, { themeColor: "dark", title: "Window", actions: ["window-minimize", "window", "x"], children: "Window with dark theme color" }) }),
4547
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Window, { themeColor: "light", title: "Window", actions: ["window-minimize", "window", "x"], children: "Window with light theme color" }) })
4548
- ] })
4555
+ var window_theme_colors_default = () => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
4556
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("style", { children: style }),
4557
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: [void 0, ...Window.options.themeColor].map((color) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(WindowNormal, { themeColor: color, children: [
4558
+ "Window with ",
4559
+ color ? color : "no",
4560
+ " theme color"
4561
+ ] }) })) })
4549
4562
  ] });
@@ -4531,20 +4531,34 @@ Window.options = options6;
4531
4531
  Window.className = WINDOW_CLASSNAME;
4532
4532
  Window.defaultProps = defaultProps6;
4533
4533
 
4534
- // src/window/tests/window.tsx
4534
+ // src/window/templates/window-normal.tsx
4535
4535
  var import_jsx_runtime10 = require("react/jsx-runtime");
4536
+ var WindowNormal = (props) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(
4537
+ Window,
4538
+ {
4539
+ title: "Title",
4540
+ actions: ["window-minimize", "window", "x"],
4541
+ children: [
4542
+ /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(import_jsx_runtime10.Fragment, { children: "Content" })
4543
+ ],
4544
+ ...props
4545
+ }
4546
+ );
4547
+
4548
+ // src/window/tests/window.tsx
4549
+ var import_jsx_runtime11 = require("react/jsx-runtime");
4536
4550
  var style = `
4537
4551
  .k-window {
4538
4552
  position: relative;
4539
4553
  }
4540
4554
  `;
4541
- var window_default = () => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
4542
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("style", { children: style }),
4543
- /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: [
4544
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Window, { title: "Window", actions: ["window-minimize", "window", "x"], children: "Window content" }) }),
4545
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Window, { title: "", actions: ["window-minimize", "window", "x"], children: "Window with no title specified" }) }),
4546
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Window, { title: "", children: "Window with empty title and no actions" }) }),
4547
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Window, { children: "Window without a title" }) }),
4548
- /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(Window, { title: "Window minimized", actions: ["window-minimize", "window", "x"], minimized: true, children: "Window content" }) })
4555
+ var window_default = () => /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(import_jsx_runtime11.Fragment, { children: [
4556
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("style", { children: style }),
4557
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)("div", { id: "test-area", className: "k-d-grid k-grid-cols-2", children: [
4558
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(WindowNormal, { children: "Window content" }) }),
4559
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(WindowNormal, { title: "", children: "Window with no title specified" }) }),
4560
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(WindowNormal, { title: "", actions: void 0, children: "Window with empty title and no actions" }) }),
4561
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(WindowNormal, { title: void 0, actions: void 0, children: "Window without a title" }) }),
4562
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("section", { children: /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(WindowNormal, { title: "Window minimized", minimized: true, children: "Window content" }) })
4549
4563
  ] })
4550
4564
  ] });
@@ -4512,8 +4512,22 @@ Window.options = options6;
4512
4512
  Window.className = WINDOW_CLASSNAME;
4513
4513
  Window.defaultProps = defaultProps6;
4514
4514
 
4515
+ // src/window/templates/window-normal.tsx
4516
+ import { Fragment as Fragment6, jsx as jsx10 } from "react/jsx-runtime";
4517
+ var WindowNormal = (props) => /* @__PURE__ */ jsx10(
4518
+ Window,
4519
+ {
4520
+ title: "Title",
4521
+ actions: ["window-minimize", "window", "x"],
4522
+ children: [
4523
+ /* @__PURE__ */ jsx10(Fragment6, { children: "Content" })
4524
+ ],
4525
+ ...props
4526
+ }
4527
+ );
4528
+
4515
4529
  // src/menu/menu-item.spec.tsx
4516
- import { Fragment as Fragment6, jsx as jsx10, jsxs as jsxs3 } from "react/jsx-runtime";
4530
+ import { Fragment as Fragment7, jsx as jsx11, jsxs as jsxs3 } from "react/jsx-runtime";
4517
4531
  var MENUITEM_CLASSNAME = `k-menu-item`;
4518
4532
  var states7 = [
4519
4533
  States.hover,
@@ -4541,7 +4555,7 @@ var MenuItem = (props) => {
4541
4555
  children,
4542
4556
  ...other
4543
4557
  } = props;
4544
- const contentTemplate = /* @__PURE__ */ jsx10(Fragment6, {});
4558
+ const contentTemplate = /* @__PURE__ */ jsx11(Fragment7, {});
4545
4559
  if (children) {
4546
4560
  children.forEach((child) => {
4547
4561
  const component = child.type;
@@ -4583,9 +4597,9 @@ var MenuItem = (props) => {
4583
4597
  })
4584
4598
  ),
4585
4599
  children: [
4586
- icon && /* @__PURE__ */ jsx10(Icon, { className: "k-menu-link-icon", icon }),
4587
- /* @__PURE__ */ jsx10("span", { className: "k-menu-link-text", children: text }),
4588
- showArrow && /* @__PURE__ */ jsx10("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ jsx10(Icon, { icon: expandArrowName }) })
4600
+ icon && /* @__PURE__ */ jsx11(Icon, { className: "k-menu-link-icon", icon }),
4601
+ /* @__PURE__ */ jsx11("span", { className: "k-menu-link-text", children: text }),
4602
+ showArrow && /* @__PURE__ */ jsx11("span", { className: "k-menu-expand-arrow", children: /* @__PURE__ */ jsx11(Icon, { icon: expandArrowName }) })
4589
4603
  ]
4590
4604
  }
4591
4605
  ),
@@ -4601,7 +4615,7 @@ MenuItem.defaultProps = defaultProps7;
4601
4615
  var menu_item_spec_default = MenuItem;
4602
4616
 
4603
4617
  // src/menu/menu-separator.spec.tsx
4604
- import { jsx as jsx11 } from "react/jsx-runtime";
4618
+ import { jsx as jsx12 } from "react/jsx-runtime";
4605
4619
  var SEPARATOR_CLASSNAME = `k-separator`;
4606
4620
  var defaultProps8 = {
4607
4621
  orientation: "horizontal"
@@ -4611,7 +4625,7 @@ var MenuSeparator = (props) => {
4611
4625
  orientation = defaultProps8.orientation,
4612
4626
  ...other
4613
4627
  } = props;
4614
- return /* @__PURE__ */ jsx11(
4628
+ return /* @__PURE__ */ jsx12(
4615
4629
  "li",
4616
4630
  {
4617
4631
  ...other,
@@ -4629,10 +4643,10 @@ var MenuSeparator = (props) => {
4629
4643
  var menu_separator_spec_default = MenuSeparator;
4630
4644
 
4631
4645
  // src/menu/menu-item-content.tsx
4632
- import { Fragment as Fragment7, jsx as jsx12 } from "react/jsx-runtime";
4646
+ import { Fragment as Fragment8, jsx as jsx13 } from "react/jsx-runtime";
4633
4647
 
4634
4648
  // src/menu/menu-list.spec.tsx
4635
- import { jsx as jsx13 } from "react/jsx-runtime";
4649
+ import { jsx as jsx14 } from "react/jsx-runtime";
4636
4650
  import { createElement } from "react";
4637
4651
  var MENULIST_CLASSNAME = `k-menu-group`;
4638
4652
  var states8 = [];
@@ -4660,7 +4674,7 @@ var MenuList = (props) => {
4660
4674
  );
4661
4675
  } else if (child.type === menu_separator_spec_default) {
4662
4676
  listChildren.push(
4663
- /* @__PURE__ */ jsx13(menu_separator_spec_default, {})
4677
+ /* @__PURE__ */ jsx14(menu_separator_spec_default, {})
4664
4678
  );
4665
4679
  } else {
4666
4680
  listChildren.push(child);
@@ -4668,7 +4682,7 @@ var MenuList = (props) => {
4668
4682
  });
4669
4683
  }
4670
4684
  }
4671
- return /* @__PURE__ */ jsx13(
4685
+ return /* @__PURE__ */ jsx14(
4672
4686
  "ul",
4673
4687
  {
4674
4688
  ...other,
@@ -4689,7 +4703,7 @@ MenuList.className = MENULIST_CLASSNAME;
4689
4703
  MenuList.defaultProps = defaultProps9;
4690
4704
 
4691
4705
  // src/animation-container/animation-container.spec.tsx
4692
- import { jsx as jsx14 } from "react/jsx-runtime";
4706
+ import { jsx as jsx15 } from "react/jsx-runtime";
4693
4707
  var ANIMATION_CONTAINER_CLASSNAME = `k-animation-container`;
4694
4708
  var states9 = [];
4695
4709
  var options9 = {};
@@ -4703,7 +4717,7 @@ var AnimationContainer = (props) => {
4703
4717
  offset,
4704
4718
  ...other
4705
4719
  } = props;
4706
- return /* @__PURE__ */ jsx14(
4720
+ return /* @__PURE__ */ jsx15(
4707
4721
  "div",
4708
4722
  {
4709
4723
  ...other,
@@ -4715,7 +4729,7 @@ var AnimationContainer = (props) => {
4715
4729
  ["k-animation-container-fixed"]: positionMode === "fixed"
4716
4730
  }
4717
4731
  ),
4718
- children: /* @__PURE__ */ jsx14("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
4732
+ children: /* @__PURE__ */ jsx15("div", { className: "k-child-animation-container", style: animationStyle, children: props.children })
4719
4733
  }
4720
4734
  );
4721
4735
  };
@@ -4725,7 +4739,7 @@ AnimationContainer.className = ANIMATION_CONTAINER_CLASSNAME;
4725
4739
  AnimationContainer.defaultProps = defaultProps10;
4726
4740
 
4727
4741
  // src/popup/popup.spec.tsx
4728
- import { jsx as jsx15 } from "react/jsx-runtime";
4742
+ import { jsx as jsx16 } from "react/jsx-runtime";
4729
4743
  var POPUP_CLASSNAME = `k-popup`;
4730
4744
  var states10 = [];
4731
4745
  var options10 = {};
@@ -4738,12 +4752,12 @@ var Popup = (props) => {
4738
4752
  positionMode,
4739
4753
  ...other
4740
4754
  } = props;
4741
- return /* @__PURE__ */ jsx15(
4755
+ return /* @__PURE__ */ jsx16(
4742
4756
  AnimationContainer,
4743
4757
  {
4744
4758
  positionMode,
4745
4759
  offset,
4746
- children: /* @__PURE__ */ jsx15("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
4760
+ children: /* @__PURE__ */ jsx16("div", { ...other, className: classNames(props.className, POPUP_CLASSNAME), children: props.children })
4747
4761
  }
4748
4762
  );
4749
4763
  };
@@ -4753,7 +4767,7 @@ Popup.className = POPUP_CLASSNAME;
4753
4767
  Popup.defaultProps = defaultProps11;
4754
4768
 
4755
4769
  // src/context-menu/tests/context-menu-in-window.tsx
4756
- import { Fragment as Fragment8, jsx as jsx16, jsxs as jsxs4 } from "react/jsx-runtime";
4770
+ import { Fragment as Fragment9, jsx as jsx17, jsxs as jsxs4 } from "react/jsx-runtime";
4757
4771
  var styles = `
4758
4772
  #test-area {
4759
4773
  height: 300px;
@@ -4770,17 +4784,17 @@ var styles = `
4770
4784
  position: relative;
4771
4785
  }
4772
4786
  `;
4773
- var context_menu_in_window_default = () => /* @__PURE__ */ jsxs4(Fragment8, { children: [
4774
- /* @__PURE__ */ jsx16("style", { children: styles }),
4775
- /* @__PURE__ */ jsx16("div", { id: "test-area", className: "k-d-grid", children: /* @__PURE__ */ jsxs4("section", { children: [
4776
- /* @__PURE__ */ jsx16(Window, { title: "Window", actions: ["window-minimize", "window", "x"], children: "Target" }),
4777
- /* @__PURE__ */ jsx16(Popup, { className: "k-menu-popup", children: /* @__PURE__ */ jsxs4(MenuList, { className: "k-context-menu", children: [
4778
- /* @__PURE__ */ jsx16(MenuItem, { text: "Item 1", showArrow: true }),
4779
- /* @__PURE__ */ jsx16(MenuItem, { text: "Item 2", showArrow: true }),
4780
- /* @__PURE__ */ jsx16(MenuItem, { text: "Item 3", showArrow: true }),
4781
- /* @__PURE__ */ jsx16(MenuItem, { text: "Item 4", showArrow: true }),
4782
- /* @__PURE__ */ jsx16(MenuItem, { text: "Item 5", showArrow: true }),
4783
- /* @__PURE__ */ jsx16(MenuItem, { text: "Item 6", showArrow: true })
4787
+ var context_menu_in_window_default = () => /* @__PURE__ */ jsxs4(Fragment9, { children: [
4788
+ /* @__PURE__ */ jsx17("style", { children: styles }),
4789
+ /* @__PURE__ */ jsx17("div", { id: "test-area", className: "k-d-grid", children: /* @__PURE__ */ jsxs4("section", { children: [
4790
+ /* @__PURE__ */ jsx17(WindowNormal, { title: "Window", children: "Target" }),
4791
+ /* @__PURE__ */ jsx17(Popup, { className: "k-menu-popup", children: /* @__PURE__ */ jsxs4(MenuList, { className: "k-context-menu", children: [
4792
+ /* @__PURE__ */ jsx17(MenuItem, { text: "Item 1", showArrow: true }),
4793
+ /* @__PURE__ */ jsx17(MenuItem, { text: "Item 2", showArrow: true }),
4794
+ /* @__PURE__ */ jsx17(MenuItem, { text: "Item 3", showArrow: true }),
4795
+ /* @__PURE__ */ jsx17(MenuItem, { text: "Item 4", showArrow: true }),
4796
+ /* @__PURE__ */ jsx17(MenuItem, { text: "Item 5", showArrow: true }),
4797
+ /* @__PURE__ */ jsx17(MenuItem, { text: "Item 6", showArrow: true })
4784
4798
  ] }) })
4785
4799
  ] }) })
4786
4800
  ] });
@@ -4512,8 +4512,22 @@ Window.options = options6;
4512
4512
  Window.className = WINDOW_CLASSNAME;
4513
4513
  Window.defaultProps = defaultProps6;
4514
4514
 
4515
+ // src/window/templates/window-normal.tsx
4516
+ import { Fragment as Fragment6, jsx as jsx10 } from "react/jsx-runtime";
4517
+ var WindowNormal = (props) => /* @__PURE__ */ jsx10(
4518
+ Window,
4519
+ {
4520
+ title: "Title",
4521
+ actions: ["window-minimize", "window", "x"],
4522
+ children: [
4523
+ /* @__PURE__ */ jsx10(Fragment6, { children: "Content" })
4524
+ ],
4525
+ ...props
4526
+ }
4527
+ );
4528
+
4515
4529
  // src/dialog/dialog.spec.tsx
4516
- import { Fragment as Fragment6, jsx as jsx10, jsxs as jsxs3 } from "react/jsx-runtime";
4530
+ import { Fragment as Fragment7, jsx as jsx11, jsxs as jsxs3 } from "react/jsx-runtime";
4517
4531
  var DIALOG_CLASSNAME = `k-dialog`;
4518
4532
  var states7 = [];
4519
4533
  var options7 = {
@@ -4545,13 +4559,13 @@ var Dialog = (props) => {
4545
4559
  ),
4546
4560
  children: [
4547
4561
  (title !== void 0 || actions) && /* @__PURE__ */ jsxs3("div", { className: "k-window-titlebar k-dialog-titlebar", children: [
4548
- title !== void 0 && /* @__PURE__ */ jsx10("span", { className: "k-window-title k-dialog-title", children: title }),
4549
- actions && /* @__PURE__ */ jsx10(Fragment6, { children: /* @__PURE__ */ jsx10("div", { className: "k-window-titlebar-actions k-dialog-titlebar-actions", children: actions.map(
4550
- (actionName) => /* @__PURE__ */ jsx10(Button, { icon: actionName, fillMode: "flat", className: "k-window-titlebar-action k-dialog-titlebar-action" }, actionName)
4562
+ title !== void 0 && /* @__PURE__ */ jsx11("span", { className: "k-window-title k-dialog-title", children: title }),
4563
+ actions && /* @__PURE__ */ jsx11(Fragment7, { children: /* @__PURE__ */ jsx11("div", { className: "k-window-titlebar-actions k-dialog-titlebar-actions", children: actions.map(
4564
+ (actionName) => /* @__PURE__ */ jsx11(Button, { icon: actionName, fillMode: "flat", className: "k-window-titlebar-action k-dialog-titlebar-action" }, actionName)
4551
4565
  ) }) })
4552
4566
  ] }),
4553
- /* @__PURE__ */ jsx10("div", { className: "k-window-content k-dialog-content", children: props.children }),
4554
- actionButtons && /* @__PURE__ */ jsx10(ActionButtons, { alignment: actionButtonsAlign, className: "k-window-actions k-dialog-actions", children: actionButtons })
4567
+ /* @__PURE__ */ jsx11("div", { className: "k-window-content k-dialog-content", children: props.children }),
4568
+ actionButtons && /* @__PURE__ */ jsx11(ActionButtons, { alignment: actionButtonsAlign, className: "k-window-actions k-dialog-actions", children: actionButtons })
4555
4569
  ]
4556
4570
  }
4557
4571
  );
@@ -4563,17 +4577,17 @@ Dialog.defaultProps = defaultProps7;
4563
4577
  var dialog_spec_default = Dialog;
4564
4578
 
4565
4579
  // src/dialog/templates/dialog-normal.tsx
4566
- import { Fragment as Fragment7, jsx as jsx11 } from "react/jsx-runtime";
4580
+ import { Fragment as Fragment8, jsx as jsx12 } from "react/jsx-runtime";
4567
4581
 
4568
4582
  // src/dialog/templates/dialog-modal.tsx
4569
- import { Fragment as Fragment8, jsx as jsx12, jsxs as jsxs4 } from "react/jsx-runtime";
4570
- var DialogModal = ({ children, ...other }) => /* @__PURE__ */ jsx12(Fragment8, { children: /* @__PURE__ */ jsxs4("div", { className: "k-dialog-wrapper", children: [
4571
- /* @__PURE__ */ jsx12("div", { className: "k-overlay" }),
4572
- /* @__PURE__ */ jsx12(dialog_spec_default, { ...other, children })
4583
+ import { Fragment as Fragment9, jsx as jsx13, jsxs as jsxs4 } from "react/jsx-runtime";
4584
+ var DialogModal = ({ children, ...other }) => /* @__PURE__ */ jsx13(Fragment9, { children: /* @__PURE__ */ jsxs4("div", { className: "k-dialog-wrapper", children: [
4585
+ /* @__PURE__ */ jsx13("div", { className: "k-overlay" }),
4586
+ /* @__PURE__ */ jsx13(dialog_spec_default, { ...other, children })
4573
4587
  ] }) });
4574
4588
 
4575
4589
  // src/dialog/tests/dialog-in-window.tsx
4576
- import { Fragment as Fragment9, jsx as jsx13, jsxs as jsxs5 } from "react/jsx-runtime";
4590
+ import { Fragment as Fragment10, jsx as jsx14, jsxs as jsxs5 } from "react/jsx-runtime";
4577
4591
  var styles = `
4578
4592
  #test-area {
4579
4593
  width: 500px;
@@ -4589,11 +4603,11 @@ var styles = `
4589
4603
  height: 200px;
4590
4604
  }
4591
4605
  `;
4592
- var dialog_in_window_default = () => /* @__PURE__ */ jsxs5(Fragment9, { children: [
4593
- /* @__PURE__ */ jsx13("style", { children: styles }),
4594
- /* @__PURE__ */ jsx13("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: /* @__PURE__ */ jsx13("section", { children: /* @__PURE__ */ jsxs5(Window, { title: "Window with dialog", actions: ["window-minimize", "window", "x"], className: "k-window-wrapper", children: [
4606
+ var dialog_in_window_default = () => /* @__PURE__ */ jsxs5(Fragment10, { children: [
4607
+ /* @__PURE__ */ jsx14("style", { children: styles }),
4608
+ /* @__PURE__ */ jsx14("div", { id: "test-area", className: "k-d-grid k-grid-cols-1", children: /* @__PURE__ */ jsx14("section", { children: /* @__PURE__ */ jsxs5(WindowNormal, { title: "Window with dialog", className: "k-window-wrapper", children: [
4595
4609
  "Window content",
4596
- /* @__PURE__ */ jsx13(DialogModal, { title: "Dialog in window", actions: ["x"], children: "Dialog content" })
4610
+ /* @__PURE__ */ jsx14(DialogModal, { title: "Dialog in window", actions: ["x"], children: "Dialog content" })
4597
4611
  ] }) }) })
4598
4612
  ] });
4599
4613
  export {