@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
@@ -4464,130 +4464,68 @@ var FloatingActionButtonItem = (props) => {
4464
4464
  }
4465
4465
  );
4466
4466
  };
4467
+ FloatingActionButtonItem.states = states5;
4468
+
4469
+ // src/fab/templates/text-fab.tsx
4470
+ import { jsx as jsx7 } from "react/jsx-runtime";
4471
+
4472
+ // src/fab/templates/icon-fab.tsx
4473
+ import { jsx as jsx8 } from "react/jsx-runtime";
4474
+ var IconFloatingActionButton = (props) => /* @__PURE__ */ jsx8(
4475
+ FloatingActionButton,
4476
+ {
4477
+ icon: "plus",
4478
+ ...props
4479
+ }
4480
+ );
4481
+
4482
+ // src/fab/templates/icon-text-fab.tsx
4483
+ import { jsx as jsx9 } from "react/jsx-runtime";
4467
4484
 
4468
4485
  // src/fab/tests/fab-items.tsx
4469
- import { Fragment as Fragment4, jsx as jsx7, jsxs as jsxs3 } from "react/jsx-runtime";
4486
+ import { Fragment as Fragment4, jsx as jsx10, jsxs as jsxs3 } from "react/jsx-runtime";
4470
4487
  var styles = `
4471
4488
  #test-area {
4472
4489
  grid-template-columns: 150px repeat(3, 1fr);
4473
- grid-template-rows: 30px repeat(5, 320px)
4490
+ grid-template-rows: 30px repeat(3, 320px)
4474
4491
  }
4475
4492
  .relative-container {
4476
4493
  position: relative;
4477
4494
  border: 1px solid #ccc;
4478
4495
  }
4479
4496
  `;
4497
+ var indexMap = {
4498
+ 0: 36,
4499
+ 1: 52,
4500
+ 2: 68
4501
+ };
4480
4502
  var fab_items_default = () => /* @__PURE__ */ jsxs3(Fragment4, { children: [
4481
- /* @__PURE__ */ jsx7("style", { children: styles }),
4503
+ /* @__PURE__ */ jsx10("style", { children: styles }),
4482
4504
  /* @__PURE__ */ jsxs3("div", { id: "test-area", className: "k-d-grid", children: [
4483
- /* @__PURE__ */ jsx7("span", {}),
4484
- /* @__PURE__ */ jsx7("span", { children: "Small" }),
4485
- /* @__PURE__ */ jsx7("span", { children: "Medium" }),
4486
- /* @__PURE__ */ jsx7("span", { children: "Large" }),
4487
- /* @__PURE__ */ jsx7("span", { children: "Downward - Left Labels" }),
4488
- /* @__PURE__ */ jsxs3("span", { className: "relative-container", children: [
4489
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", size: "small", position: "top-end", style: { top: "16px", right: "16px" } }),
4490
- /* @__PURE__ */ jsx7("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", top: "calc(16px + 36px)", right: "calc(16px + calc(36px / 2) - calc(36px /2))" }, children: /* @__PURE__ */ jsxs3(FloatingActionButtonItems, { position: "bottom", children: [
4491
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Normal", icon: "pencil", align: "right" }),
4492
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Hover long text", icon: "pencil", align: "right", hover: true }),
4493
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Focus", icon: "pencil", align: "right", focus: true }),
4494
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Active", icon: "pencil", align: "right", active: true }),
4495
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Disabled", icon: "cancel", align: "right", disabled: true })
4496
- ] }) })
4497
- ] }),
4498
- /* @__PURE__ */ jsxs3("span", { className: "relative-container", children: [
4499
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", size: "medium", position: "top-end", style: { top: "16px", right: "16px" } }),
4500
- /* @__PURE__ */ jsx7("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", top: "calc(16px + 52px)", right: "calc(16px + calc(52px / 2) - calc(36px /2))" }, children: /* @__PURE__ */ jsxs3(FloatingActionButtonItems, { position: "bottom", children: [
4501
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Hover long text", icon: "pencil", align: "right", hover: true }),
4502
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Focus", icon: "pencil", align: "right", focus: true }),
4503
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Active", icon: "pencil", align: "right", active: true }),
4504
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Disabled & Focus", icon: "cancel", align: "right", disabled: true, focus: true })
4505
- ] }) })
4506
- ] }),
4507
- /* @__PURE__ */ jsxs3("span", { className: "relative-container", children: [
4508
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", size: "large", position: "top-end", style: { top: "16px", right: "16px" } }),
4509
- /* @__PURE__ */ jsx7("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", top: "calc(16px + 68px)", right: "calc(16px + calc(68px / 2) - calc(36px /2))" }, children: /* @__PURE__ */ jsxs3(FloatingActionButtonItems, { position: "bottom", children: [
4510
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Hover long text", icon: "pencil", align: "right", hover: true }),
4511
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Focus", icon: "pencil", align: "right", focus: true }),
4512
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Active", icon: "pencil", align: "right", active: true }),
4513
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Disabled", icon: "cancel", align: "right", disabled: true })
4514
- ] }) })
4515
- ] }),
4516
- /* @__PURE__ */ jsx7("span", { children: "Downward - Right Labels" }),
4517
- /* @__PURE__ */ jsxs3("span", { className: "relative-container", children: [
4518
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", size: "small", position: "top-start", style: { top: "16px", left: "16px" } }),
4519
- /* @__PURE__ */ jsx7("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", top: "calc(16px + 36px)", left: "calc(16px + calc(36px / 2) - calc(36px /2))" }, children: /* @__PURE__ */ jsxs3(FloatingActionButtonItems, { position: "bottom", children: [
4520
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Hover long text", icon: "pencil", align: "left", hover: true }),
4521
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Focus", icon: "pencil", align: "left", focus: true }),
4522
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Active", icon: "pencil", align: "left", active: true })
4523
- ] }) })
4524
- ] }),
4525
- /* @__PURE__ */ jsxs3("span", { className: "relative-container", children: [
4526
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", size: "medium", position: "top-start", style: { top: "16px", left: "16px" } }),
4527
- /* @__PURE__ */ jsx7("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", top: "calc(16px + 52px)", left: "calc(16px + calc(52px / 2) - calc(36px /2))" }, children: /* @__PURE__ */ jsxs3(FloatingActionButtonItems, { position: "bottom", children: [
4528
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Hover long text", icon: "pencil", align: "left", hover: true }),
4529
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Focus", icon: "pencil", align: "left", focus: true }),
4530
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Active", icon: "pencil", align: "left", active: true })
4531
- ] }) })
4532
- ] }),
4533
- /* @__PURE__ */ jsxs3("span", { className: "relative-container", children: [
4534
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", size: "large", position: "top-start", style: { top: "16px", left: "16px" } }),
4535
- /* @__PURE__ */ jsx7("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", top: "calc(16px + 68px)", left: "calc(16px + calc(68px / 2) - calc(36px /2))" }, children: /* @__PURE__ */ jsxs3(FloatingActionButtonItems, { position: "bottom", children: [
4536
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Hover long text", icon: "pencil", align: "left", hover: true }),
4537
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Focus", icon: "pencil", align: "left", focus: true }),
4538
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Active", icon: "pencil", align: "left", active: true })
4539
- ] }) })
4540
- ] }),
4541
- /* @__PURE__ */ jsx7("span", { children: "Upward - Left Labels" }),
4542
- /* @__PURE__ */ jsxs3("span", { className: "relative-container", children: [
4543
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", size: "small", position: "bottom-end", style: { bottom: "16px", right: "16px" } }),
4544
- /* @__PURE__ */ jsx7("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", bottom: "calc(16px + 36px)", right: "calc(16px + calc(36px / 2) - calc(36px /2))" }, children: /* @__PURE__ */ jsxs3(FloatingActionButtonItems, { position: "top", children: [
4545
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Hover long text", icon: "pencil", align: "right", hover: true }),
4546
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Focus", icon: "pencil", align: "right", focus: true }),
4547
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Active", icon: "pencil", align: "right", active: true })
4548
- ] }) })
4549
- ] }),
4550
- /* @__PURE__ */ jsxs3("span", { className: "relative-container", children: [
4551
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", size: "medium", position: "bottom-end", style: { bottom: "16px", right: "16px" } }),
4552
- /* @__PURE__ */ jsx7("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", bottom: "calc(16px + 52px)", right: "calc(16px + calc(52px / 2) - calc(36px /2))" }, children: /* @__PURE__ */ jsxs3(FloatingActionButtonItems, { position: "top", children: [
4553
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Hover long text", icon: "pencil", align: "right", hover: true }),
4554
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Focus", icon: "pencil", align: "right", focus: true }),
4555
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Active", icon: "pencil", align: "right", active: true })
4556
- ] }) })
4557
- ] }),
4558
- /* @__PURE__ */ jsxs3("span", { className: "relative-container", children: [
4559
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", size: "large", position: "bottom-end", style: { bottom: "16px", right: "16px" } }),
4560
- /* @__PURE__ */ jsx7("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", bottom: "calc(16px + 68px)", right: "calc(16px + calc(68px / 2) - calc(36px /2))" }, children: /* @__PURE__ */ jsxs3(FloatingActionButtonItems, { position: "top", children: [
4561
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Hover long text", icon: "pencil", align: "right", hover: true }),
4562
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Focus", icon: "pencil", align: "right", focus: true }),
4563
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Active", icon: "pencil", align: "right", active: true })
4564
- ] }) })
4565
- ] }),
4566
- /* @__PURE__ */ jsx7("span", { children: "Upward - Right Labels" }),
4567
- /* @__PURE__ */ jsxs3("span", { className: "relative-container", children: [
4568
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", size: "small", position: "bottom-start", style: { bottom: "16px", left: "16px" } }),
4569
- /* @__PURE__ */ jsx7("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", bottom: "calc(16px + 36px)", left: "calc(16px + calc(36px / 2) - calc(36px /2))" }, children: /* @__PURE__ */ jsxs3(FloatingActionButtonItems, { position: "top", children: [
4570
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Hover long text", icon: "pencil", align: "left", hover: true }),
4571
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Focus", icon: "pencil", align: "left", focus: true }),
4572
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Active", icon: "pencil", align: "left", active: true })
4573
- ] }) })
4574
- ] }),
4575
- /* @__PURE__ */ jsxs3("span", { className: "relative-container", children: [
4576
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", size: "medium", position: "bottom-start", style: { bottom: "16px", left: "16px" } }),
4577
- /* @__PURE__ */ jsx7("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", bottom: "calc(16px + 52px)", left: "calc(16px + calc(52px / 2) - calc(36px /2))" }, children: /* @__PURE__ */ jsxs3(FloatingActionButtonItems, { position: "top", children: [
4578
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Hover long text", icon: "pencil", align: "left", hover: true }),
4579
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Focus", icon: "pencil", align: "left", focus: true }),
4580
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Active", icon: "pencil", align: "left", active: true })
4581
- ] }) })
4582
- ] }),
4583
- /* @__PURE__ */ jsxs3("span", { className: "relative-container", children: [
4584
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", size: "large", position: "bottom-start", style: { bottom: "16px", left: "16px" } }),
4585
- /* @__PURE__ */ jsx7("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", bottom: "calc(16px + 68px)", left: "calc(16px + calc(68px / 2) - calc(36px /2))" }, children: /* @__PURE__ */ jsxs3(FloatingActionButtonItems, { position: "top", children: [
4586
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Hover long text", icon: "pencil", align: "left", hover: true }),
4587
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Focus", icon: "pencil", align: "left", focus: true }),
4588
- /* @__PURE__ */ jsx7(FloatingActionButtonItem, { text: "Active", icon: "pencil", align: "left", active: true })
4589
- ] }) })
4590
- ] })
4505
+ /* @__PURE__ */ jsx10("span", {}),
4506
+ /* @__PURE__ */ jsx10("span", { children: "Small" }),
4507
+ /* @__PURE__ */ jsx10("span", { children: "Medium" }),
4508
+ /* @__PURE__ */ jsx10("span", { children: "Large" }),
4509
+ /* @__PURE__ */ jsx10("span", { children: "Downward - Left Labels" }),
4510
+ FloatingActionButton.options.size.map((size, index) => /* @__PURE__ */ jsxs3("span", { className: "relative-container", children: [
4511
+ /* @__PURE__ */ jsx10(IconFloatingActionButton, { size, position: "top-end", style: { top: "16px", right: "16px" } }),
4512
+ /* @__PURE__ */ jsx10("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", top: `calc(16px + ${indexMap[index]}px)`, right: `calc(16px + calc(${indexMap[index]}px / 2) - calc(36px /2))` }, children: /* @__PURE__ */ jsx10(FloatingActionButtonItems, { position: "bottom", children: ["normal", ...FloatingActionButtonItem.states].map((state) => /* @__PURE__ */ jsx10(FloatingActionButtonItem, { text: state, icon: state === "disabled" ? "cancel" : "pencil", align: "right", ...{ [state]: true } })) }) })
4513
+ ] })),
4514
+ /* @__PURE__ */ jsx10("span", { children: "Downward - Right Labels" }),
4515
+ FloatingActionButton.options.size.map((size, index) => /* @__PURE__ */ jsxs3("span", { className: "relative-container", children: [
4516
+ /* @__PURE__ */ jsx10(IconFloatingActionButton, { size, position: "top-start", style: { top: "16px", left: "16px" } }),
4517
+ /* @__PURE__ */ jsx10("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", top: `calc(16px + ${indexMap[index]}px)`, left: `calc(16px + calc(${indexMap[index]}px / 2) - calc(36px /2))` }, children: /* @__PURE__ */ jsx10(FloatingActionButtonItems, { position: "bottom", children: ["normal", ...FloatingActionButtonItem.states].map((state) => /* @__PURE__ */ jsx10(FloatingActionButtonItem, { text: state, icon: state === "disabled" ? "cancel" : "pencil", align: "left", ...{ [state]: true } })) }) })
4518
+ ] })),
4519
+ /* @__PURE__ */ jsx10("span", { children: "Upward - Left Labels" }),
4520
+ FloatingActionButton.options.size.map((size, index) => /* @__PURE__ */ jsxs3("span", { className: "relative-container", children: [
4521
+ /* @__PURE__ */ jsx10(IconFloatingActionButton, { size, position: "bottom-end", style: { bottom: "16px", right: "16px" } }),
4522
+ /* @__PURE__ */ jsx10("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", bottom: `calc(16px + ${indexMap[index]}px)`, right: `calc(16px + calc(${indexMap[index]}px / 2) - calc(36px /2))` }, children: /* @__PURE__ */ jsx10(FloatingActionButtonItems, { position: "top", children: ["normal", ...FloatingActionButtonItem.states].map((state) => /* @__PURE__ */ jsx10(FloatingActionButtonItem, { text: state, icon: state === "disabled" ? "cancel" : "pencil", align: "right", ...{ [state]: true } })) }) })
4523
+ ] })),
4524
+ /* @__PURE__ */ jsx10("span", { children: "Upward - Right Labels" }),
4525
+ FloatingActionButton.options.size.map((size, index) => /* @__PURE__ */ jsxs3("span", { className: "relative-container", children: [
4526
+ /* @__PURE__ */ jsx10(IconFloatingActionButton, { size, position: "bottom-start", style: { bottom: "16px", left: "16px" } }),
4527
+ /* @__PURE__ */ jsx10("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", bottom: `calc(16px + ${indexMap[index]}px)`, left: `calc(16px + calc(${indexMap[index]}px / 2) - calc(36px /2))` }, children: /* @__PURE__ */ jsx10(FloatingActionButtonItems, { position: "top", children: ["normal", ...FloatingActionButtonItem.states].map((state) => /* @__PURE__ */ jsx10(FloatingActionButtonItem, { text: state, icon: state === "disabled" ? "cancel" : "pencil", align: "left", ...{ [state]: true } })) }) })
4528
+ ] }))
4591
4529
  ] })
4592
4530
  ] });
4593
4531
  export {
@@ -4401,15 +4401,68 @@ import { jsx as jsx5 } from "react/jsx-runtime";
4401
4401
 
4402
4402
  // src/fab/fab-item.tsx
4403
4403
  import { jsx as jsx6, jsxs as jsxs2 } from "react/jsx-runtime";
4404
+ var className = `k-fab-item`;
4404
4405
  var states5 = [
4405
4406
  States.hover,
4406
4407
  States.focus,
4407
4408
  States.active,
4408
4409
  States.disabled
4409
4410
  ];
4411
+ var FloatingActionButtonItem = (props) => {
4412
+ const {
4413
+ text,
4414
+ icon,
4415
+ align,
4416
+ hover,
4417
+ focus,
4418
+ active,
4419
+ disabled,
4420
+ ...other
4421
+ } = props;
4422
+ return /* @__PURE__ */ jsxs2(
4423
+ "li",
4424
+ {
4425
+ ...other,
4426
+ className: classNames(
4427
+ props.className,
4428
+ className,
4429
+ {
4430
+ [`k-text-${align}`]: align
4431
+ },
4432
+ stateClassNames(className, {
4433
+ hover,
4434
+ focus,
4435
+ active,
4436
+ disabled
4437
+ })
4438
+ ),
4439
+ children: [
4440
+ /* @__PURE__ */ jsx6("span", { className: "k-fab-item-text", children: text }),
4441
+ /* @__PURE__ */ jsx6(Icon, { className: "k-fab-item-icon", icon })
4442
+ ]
4443
+ }
4444
+ );
4445
+ };
4446
+ FloatingActionButtonItem.states = states5;
4447
+
4448
+ // src/fab/templates/text-fab.tsx
4449
+ import { jsx as jsx7 } from "react/jsx-runtime";
4450
+
4451
+ // src/fab/templates/icon-fab.tsx
4452
+ import { jsx as jsx8 } from "react/jsx-runtime";
4453
+ var IconFloatingActionButton = (props) => /* @__PURE__ */ jsx8(
4454
+ FloatingActionButton,
4455
+ {
4456
+ icon: "plus",
4457
+ ...props
4458
+ }
4459
+ );
4460
+
4461
+ // src/fab/templates/icon-text-fab.tsx
4462
+ import { jsx as jsx9 } from "react/jsx-runtime";
4410
4463
 
4411
4464
  // src/fab/tests/fab-position.tsx
4412
- import { Fragment as Fragment4, jsx as jsx7, jsxs as jsxs3 } from "react/jsx-runtime";
4465
+ import { Fragment as Fragment4, jsx as jsx10, jsxs as jsxs3 } from "react/jsx-runtime";
4413
4466
  var styles = `
4414
4467
  #test-area {
4415
4468
  grid-template-columns: 150px repeat(3, 1fr);
@@ -4421,24 +4474,24 @@ var styles = `
4421
4474
  }
4422
4475
  `;
4423
4476
  var fab_position_default = () => /* @__PURE__ */ jsxs3(Fragment4, { children: [
4424
- /* @__PURE__ */ jsx7("style", { children: styles }),
4477
+ /* @__PURE__ */ jsx10("style", { children: styles }),
4425
4478
  /* @__PURE__ */ jsxs3("div", { id: "test-area", className: "k-d-grid", children: [
4426
- /* @__PURE__ */ jsx7("span", {}),
4427
- /* @__PURE__ */ jsx7("span", { children: "Start" }),
4428
- /* @__PURE__ */ jsx7("span", { children: "Center" }),
4429
- /* @__PURE__ */ jsx7("span", { children: "End" }),
4430
- /* @__PURE__ */ jsx7("span", { children: "Top" }),
4431
- /* @__PURE__ */ jsx7("span", { className: "relative-container", children: /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", position: "top-start", style: { top: "16px", left: "16px" } }) }),
4432
- /* @__PURE__ */ jsx7("span", { className: "relative-container", children: /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", position: "top-center", style: { top: "16px" } }) }),
4433
- /* @__PURE__ */ jsx7("span", { className: "relative-container", children: /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", position: "top-end", style: { top: "16px", right: "16px" } }) }),
4434
- /* @__PURE__ */ jsx7("span", { children: "Middle" }),
4435
- /* @__PURE__ */ jsx7("span", { className: "relative-container", children: /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", position: "middle-start", style: { left: "16px" } }) }),
4436
- /* @__PURE__ */ jsx7("span", { className: "relative-container", children: "NO CENTER POSITION" }),
4437
- /* @__PURE__ */ jsx7("span", { className: "relative-container", children: /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", position: "middle-end", style: { right: "16px" } }) }),
4438
- /* @__PURE__ */ jsx7("span", { children: "Bottom" }),
4439
- /* @__PURE__ */ jsx7("span", { className: "relative-container", children: /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", position: "bottom-start", style: { bottom: "16px", left: "16px" } }) }),
4440
- /* @__PURE__ */ jsx7("span", { className: "relative-container", children: /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", position: "bottom-center", style: { bottom: "16px" } }) }),
4441
- /* @__PURE__ */ jsx7("span", { className: "relative-container", children: /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", position: "bottom-end", style: { bottom: "16px", right: "16px" } }) })
4479
+ /* @__PURE__ */ jsx10("span", {}),
4480
+ /* @__PURE__ */ jsx10("span", { children: "Start" }),
4481
+ /* @__PURE__ */ jsx10("span", { children: "Center" }),
4482
+ /* @__PURE__ */ jsx10("span", { children: "End" }),
4483
+ /* @__PURE__ */ jsx10("span", { children: "Top" }),
4484
+ /* @__PURE__ */ jsx10("span", { className: "relative-container", children: /* @__PURE__ */ jsx10(IconFloatingActionButton, { position: "top-start", style: { top: "16px", left: "16px" } }) }),
4485
+ /* @__PURE__ */ jsx10("span", { className: "relative-container", children: /* @__PURE__ */ jsx10(IconFloatingActionButton, { position: "top-center", style: { top: "16px" } }) }),
4486
+ /* @__PURE__ */ jsx10("span", { className: "relative-container", children: /* @__PURE__ */ jsx10(IconFloatingActionButton, { position: "top-end", style: { top: "16px", right: "16px" } }) }),
4487
+ /* @__PURE__ */ jsx10("span", { children: "Middle" }),
4488
+ /* @__PURE__ */ jsx10("span", { className: "relative-container", children: /* @__PURE__ */ jsx10(IconFloatingActionButton, { position: "middle-start", style: { left: "16px" } }) }),
4489
+ /* @__PURE__ */ jsx10("span", { className: "relative-container", children: "NO CENTER POSITION" }),
4490
+ /* @__PURE__ */ jsx10("span", { className: "relative-container", children: /* @__PURE__ */ jsx10(IconFloatingActionButton, { position: "middle-end", style: { right: "16px" } }) }),
4491
+ /* @__PURE__ */ jsx10("span", { children: "Bottom" }),
4492
+ /* @__PURE__ */ jsx10("span", { className: "relative-container", children: /* @__PURE__ */ jsx10(IconFloatingActionButton, { position: "bottom-start", style: { bottom: "16px", left: "16px" } }) }),
4493
+ /* @__PURE__ */ jsx10("span", { className: "relative-container", children: /* @__PURE__ */ jsx10(IconFloatingActionButton, { position: "bottom-center", style: { bottom: "16px" } }) }),
4494
+ /* @__PURE__ */ jsx10("span", { className: "relative-container", children: /* @__PURE__ */ jsx10(IconFloatingActionButton, { position: "bottom-end", style: { bottom: "16px", right: "16px" } }) })
4442
4495
  ] })
4443
4496
  ] });
4444
4497
  export {
@@ -4401,15 +4401,83 @@ import { jsx as jsx5 } from "react/jsx-runtime";
4401
4401
 
4402
4402
  // src/fab/fab-item.tsx
4403
4403
  import { jsx as jsx6, jsxs as jsxs2 } from "react/jsx-runtime";
4404
+ var className = `k-fab-item`;
4404
4405
  var states5 = [
4405
4406
  States.hover,
4406
4407
  States.focus,
4407
4408
  States.active,
4408
4409
  States.disabled
4409
4410
  ];
4411
+ var FloatingActionButtonItem = (props) => {
4412
+ const {
4413
+ text,
4414
+ icon,
4415
+ align,
4416
+ hover,
4417
+ focus,
4418
+ active,
4419
+ disabled,
4420
+ ...other
4421
+ } = props;
4422
+ return /* @__PURE__ */ jsxs2(
4423
+ "li",
4424
+ {
4425
+ ...other,
4426
+ className: classNames(
4427
+ props.className,
4428
+ className,
4429
+ {
4430
+ [`k-text-${align}`]: align
4431
+ },
4432
+ stateClassNames(className, {
4433
+ hover,
4434
+ focus,
4435
+ active,
4436
+ disabled
4437
+ })
4438
+ ),
4439
+ children: [
4440
+ /* @__PURE__ */ jsx6("span", { className: "k-fab-item-text", children: text }),
4441
+ /* @__PURE__ */ jsx6(Icon, { className: "k-fab-item-icon", icon })
4442
+ ]
4443
+ }
4444
+ );
4445
+ };
4446
+ FloatingActionButtonItem.states = states5;
4447
+
4448
+ // src/fab/templates/text-fab.tsx
4449
+ import { jsx as jsx7 } from "react/jsx-runtime";
4450
+ var TextFloatingActionButton = (props) => /* @__PURE__ */ jsx7(
4451
+ FloatingActionButton,
4452
+ {
4453
+ text: "Create",
4454
+ ...props
4455
+ }
4456
+ );
4457
+
4458
+ // src/fab/templates/icon-fab.tsx
4459
+ import { jsx as jsx8 } from "react/jsx-runtime";
4460
+ var IconFloatingActionButton = (props) => /* @__PURE__ */ jsx8(
4461
+ FloatingActionButton,
4462
+ {
4463
+ icon: "plus",
4464
+ ...props
4465
+ }
4466
+ );
4467
+
4468
+ // src/fab/templates/icon-text-fab.tsx
4469
+ import { jsx as jsx9 } from "react/jsx-runtime";
4470
+ var IconTextFloatingActionButton = (props) => /* @__PURE__ */ jsx9(
4471
+ FloatingActionButton,
4472
+ {
4473
+ icon: "plus",
4474
+ text: "Create",
4475
+ ...props
4476
+ }
4477
+ );
4410
4478
 
4411
- // src/fab/tests/fab-size.tsx
4412
- import { Fragment as Fragment4, jsx as jsx7, jsxs as jsxs3 } from "react/jsx-runtime";
4479
+ // src/fab/tests/fab-size-rounded.tsx
4480
+ import { Fragment as Fragment4, jsx as jsx10, jsxs as jsxs3 } from "react/jsx-runtime";
4413
4481
  var styles = `
4414
4482
  #test-area {
4415
4483
  max-width: 1200px;
@@ -4417,95 +4485,23 @@ var styles = `
4417
4485
  align-items: center;
4418
4486
  }
4419
4487
  `;
4420
- var fab_size_default = () => /* @__PURE__ */ jsxs3(Fragment4, { children: [
4421
- /* @__PURE__ */ jsx7("style", { children: styles }),
4488
+ var fab_size_rounded_default = () => /* @__PURE__ */ jsxs3(Fragment4, { children: [
4489
+ /* @__PURE__ */ jsx10("style", { children: styles }),
4422
4490
  /* @__PURE__ */ jsxs3("div", { id: "test-area", className: "k-d-grid", children: [
4423
- /* @__PURE__ */ jsx7("span", { children: /* @__PURE__ */ jsx7("small", { children: "rounded / size" }) }),
4424
- /* @__PURE__ */ jsx7("span", { children: "small" }),
4425
- /* @__PURE__ */ jsx7("span", { children: "medium" }),
4426
- /* @__PURE__ */ jsx7("span", { children: "large" }),
4427
- /* @__PURE__ */ jsx7("span", { children: "null" }),
4428
- /* @__PURE__ */ jsxs3("span", { className: "k-d-flex k-gap-1", children: [
4429
- /* @__PURE__ */ jsx7(FloatingActionButton, { rounded: null, size: "small", text: "Create" }),
4430
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: null, size: "small", text: "Create" }),
4431
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: null, size: "small" })
4432
- ] }),
4433
- /* @__PURE__ */ jsxs3("span", { className: "k-d-flex k-gap-1", children: [
4434
- /* @__PURE__ */ jsx7(FloatingActionButton, { rounded: null, size: "medium", text: "Create" }),
4435
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: null, size: "medium", text: "Create" }),
4436
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: null, size: "medium" })
4437
- ] }),
4438
- /* @__PURE__ */ jsxs3("span", { className: "k-d-flex k-gap-1", children: [
4439
- /* @__PURE__ */ jsx7(FloatingActionButton, { rounded: null, size: "large", text: "Create" }),
4440
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: null, size: "large", text: "Create" }),
4441
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: null, size: "large" })
4442
- ] }),
4443
- /* @__PURE__ */ jsx7("span", { children: "small" }),
4444
- /* @__PURE__ */ jsxs3("span", { className: "k-d-flex k-gap-1", children: [
4445
- /* @__PURE__ */ jsx7(FloatingActionButton, { rounded: "small", size: "small", text: "Create" }),
4446
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "small", size: "small", text: "Create" }),
4447
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "small", size: "small" })
4448
- ] }),
4449
- /* @__PURE__ */ jsxs3("span", { className: "k-d-flex k-gap-1", children: [
4450
- /* @__PURE__ */ jsx7(FloatingActionButton, { rounded: "small", size: "medium", text: "Create" }),
4451
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "small", size: "medium", text: "Create" }),
4452
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "small", size: "medium" })
4453
- ] }),
4454
- /* @__PURE__ */ jsxs3("span", { className: "k-d-flex k-gap-1", children: [
4455
- /* @__PURE__ */ jsx7(FloatingActionButton, { rounded: "small", size: "large", text: "Create" }),
4456
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "small", size: "large", text: "Create" }),
4457
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "small", size: "large" })
4458
- ] }),
4459
- /* @__PURE__ */ jsx7("span", { children: "medium" }),
4460
- /* @__PURE__ */ jsxs3("span", { className: "k-d-flex k-gap-1", children: [
4461
- /* @__PURE__ */ jsx7(FloatingActionButton, { rounded: "medium", size: "small", text: "Create" }),
4462
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "medium", size: "small", text: "Create" }),
4463
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "medium", size: "small" })
4464
- ] }),
4465
- /* @__PURE__ */ jsxs3("span", { className: "k-d-flex k-gap-1", children: [
4466
- /* @__PURE__ */ jsx7(FloatingActionButton, { rounded: "medium", size: "medium", text: "Create" }),
4467
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "medium", size: "medium", text: "Create" }),
4468
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "medium", size: "medium" })
4469
- ] }),
4470
- /* @__PURE__ */ jsxs3("span", { className: "k-d-flex k-gap-1", children: [
4471
- /* @__PURE__ */ jsx7(FloatingActionButton, { rounded: "medium", size: "large", text: "Create" }),
4472
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "medium", size: "large", text: "Create" }),
4473
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "medium", size: "large" })
4474
- ] }),
4475
- /* @__PURE__ */ jsx7("span", { children: "large" }),
4476
- /* @__PURE__ */ jsxs3("span", { className: "k-d-flex k-gap-1", children: [
4477
- /* @__PURE__ */ jsx7(FloatingActionButton, { rounded: "large", size: "small", text: "Create" }),
4478
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "large", size: "small", text: "Create" }),
4479
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "large", size: "small" })
4480
- ] }),
4481
- /* @__PURE__ */ jsxs3("span", { className: "k-d-flex k-gap-1", children: [
4482
- /* @__PURE__ */ jsx7(FloatingActionButton, { rounded: "large", size: "medium", text: "Create" }),
4483
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "large", size: "medium", text: "Create" }),
4484
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "large", size: "medium" })
4485
- ] }),
4486
- /* @__PURE__ */ jsxs3("span", { className: "k-d-flex k-gap-1", children: [
4487
- /* @__PURE__ */ jsx7(FloatingActionButton, { rounded: "large", size: "large", text: "Create" }),
4488
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "large", size: "large", text: "Create" }),
4489
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "large", size: "large" })
4490
- ] }),
4491
- /* @__PURE__ */ jsx7("span", { children: "full" }),
4492
- /* @__PURE__ */ jsxs3("span", { className: "k-d-flex k-gap-1", children: [
4493
- /* @__PURE__ */ jsx7(FloatingActionButton, { rounded: "full", size: "small", text: "Create" }),
4494
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "full", size: "small", text: "Create" }),
4495
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "full", size: "small" })
4496
- ] }),
4497
- /* @__PURE__ */ jsxs3("span", { className: "k-d-flex k-gap-1", children: [
4498
- /* @__PURE__ */ jsx7(FloatingActionButton, { rounded: "full", size: "medium", text: "Create" }),
4499
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "full", size: "medium", text: "Create" }),
4500
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "full", size: "medium" })
4501
- ] }),
4502
- /* @__PURE__ */ jsxs3("span", { className: "k-d-flex k-gap-1", children: [
4503
- /* @__PURE__ */ jsx7(FloatingActionButton, { rounded: "full", size: "large", text: "Create" }),
4504
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "full", size: "large", text: "Create" }),
4505
- /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", rounded: "full", size: "large" })
4506
- ] })
4491
+ /* @__PURE__ */ jsx10("span", { children: /* @__PURE__ */ jsx10("small", { children: "rounded / size" }) }),
4492
+ /* @__PURE__ */ jsx10("span", { children: "small" }),
4493
+ /* @__PURE__ */ jsx10("span", { children: "medium" }),
4494
+ /* @__PURE__ */ jsx10("span", { children: "large" }),
4495
+ [null, ...FloatingActionButton.options.rounded].map((rounded) => /* @__PURE__ */ jsxs3(Fragment4, { children: [
4496
+ /* @__PURE__ */ jsx10("span", { children: String(rounded) }),
4497
+ FloatingActionButton.options.size.map((size) => /* @__PURE__ */ jsxs3("span", { className: "k-d-flex k-gap-1", children: [
4498
+ /* @__PURE__ */ jsx10(TextFloatingActionButton, { rounded, size }),
4499
+ /* @__PURE__ */ jsx10(IconTextFloatingActionButton, { rounded, size }),
4500
+ /* @__PURE__ */ jsx10(IconFloatingActionButton, { rounded, size })
4501
+ ] }))
4502
+ ] }))
4507
4503
  ] })
4508
4504
  ] });
4509
4505
  export {
4510
- fab_size_default as default
4506
+ fab_size_rounded_default as default
4511
4507
  };
@@ -4401,15 +4401,68 @@ import { jsx as jsx5 } from "react/jsx-runtime";
4401
4401
 
4402
4402
  // src/fab/fab-item.tsx
4403
4403
  import { jsx as jsx6, jsxs as jsxs2 } from "react/jsx-runtime";
4404
+ var className = `k-fab-item`;
4404
4405
  var states5 = [
4405
4406
  States.hover,
4406
4407
  States.focus,
4407
4408
  States.active,
4408
4409
  States.disabled
4409
4410
  ];
4411
+ var FloatingActionButtonItem = (props) => {
4412
+ const {
4413
+ text,
4414
+ icon,
4415
+ align,
4416
+ hover,
4417
+ focus,
4418
+ active,
4419
+ disabled,
4420
+ ...other
4421
+ } = props;
4422
+ return /* @__PURE__ */ jsxs2(
4423
+ "li",
4424
+ {
4425
+ ...other,
4426
+ className: classNames(
4427
+ props.className,
4428
+ className,
4429
+ {
4430
+ [`k-text-${align}`]: align
4431
+ },
4432
+ stateClassNames(className, {
4433
+ hover,
4434
+ focus,
4435
+ active,
4436
+ disabled
4437
+ })
4438
+ ),
4439
+ children: [
4440
+ /* @__PURE__ */ jsx6("span", { className: "k-fab-item-text", children: text }),
4441
+ /* @__PURE__ */ jsx6(Icon, { className: "k-fab-item-icon", icon })
4442
+ ]
4443
+ }
4444
+ );
4445
+ };
4446
+ FloatingActionButtonItem.states = states5;
4447
+
4448
+ // src/fab/templates/text-fab.tsx
4449
+ import { jsx as jsx7 } from "react/jsx-runtime";
4450
+
4451
+ // src/fab/templates/icon-fab.tsx
4452
+ import { jsx as jsx8 } from "react/jsx-runtime";
4453
+ var IconFloatingActionButton = (props) => /* @__PURE__ */ jsx8(
4454
+ FloatingActionButton,
4455
+ {
4456
+ icon: "plus",
4457
+ ...props
4458
+ }
4459
+ );
4460
+
4461
+ // src/fab/templates/icon-text-fab.tsx
4462
+ import { jsx as jsx9 } from "react/jsx-runtime";
4410
4463
 
4411
4464
  // src/fab/tests/fab-states.tsx
4412
- import { Fragment as Fragment4, jsx as jsx7, jsxs as jsxs3 } from "react/jsx-runtime";
4465
+ import { Fragment as Fragment4, jsx as jsx10, jsxs as jsxs3 } from "react/jsx-runtime";
4413
4466
  var styles = `
4414
4467
  #test-area {
4415
4468
  grid-template-columns: 100px repeat(6, 1fr);
@@ -4417,18 +4470,18 @@ var styles = `
4417
4470
  }
4418
4471
  `;
4419
4472
  var fab_states_default = () => /* @__PURE__ */ jsxs3(Fragment4, { children: [
4420
- /* @__PURE__ */ jsx7("style", { children: styles }),
4473
+ /* @__PURE__ */ jsx10("style", { children: styles }),
4421
4474
  /* @__PURE__ */ jsxs3("div", { id: "test-area", className: "k-d-grid k-grid-cols-6", children: [
4422
- /* @__PURE__ */ jsx7("span", {}),
4423
- /* @__PURE__ */ jsx7("span", { children: "Normal" }),
4424
- /* @__PURE__ */ jsx7("span", { children: "Hover" }),
4425
- /* @__PURE__ */ jsx7("span", { children: "Focus" }),
4426
- /* @__PURE__ */ jsx7("span", { children: "Active" }),
4427
- /* @__PURE__ */ jsx7("span", { children: "Selected" }),
4428
- /* @__PURE__ */ jsx7("span", { children: "Disabled" }),
4475
+ /* @__PURE__ */ jsx10("span", {}),
4476
+ /* @__PURE__ */ jsx10("span", { children: "Normal" }),
4477
+ /* @__PURE__ */ jsx10("span", { children: "Hover" }),
4478
+ /* @__PURE__ */ jsx10("span", { children: "Focus" }),
4479
+ /* @__PURE__ */ jsx10("span", { children: "Active" }),
4480
+ /* @__PURE__ */ jsx10("span", { children: "Selected" }),
4481
+ /* @__PURE__ */ jsx10("span", { children: "Disabled" }),
4429
4482
  [...FloatingActionButton.options.themeColor].map((themeColor) => /* @__PURE__ */ jsxs3(Fragment4, { children: [
4430
- /* @__PURE__ */ jsx7("span", { style: { alignSelf: "center" }, children: themeColor }),
4431
- ["normal", ...FloatingActionButton.states].map((state) => /* @__PURE__ */ jsx7(Fragment4, { children: /* @__PURE__ */ jsx7("span", { style: { position: "relative" }, children: /* @__PURE__ */ jsx7(FloatingActionButton, { icon: "plus", position: "top-start", themeColor, ...{ [state]: true } }) }) }))
4483
+ /* @__PURE__ */ jsx10("span", { style: { alignSelf: "center" }, children: themeColor }),
4484
+ ["normal", ...FloatingActionButton.states].map((state) => /* @__PURE__ */ jsx10(Fragment4, { children: /* @__PURE__ */ jsx10("span", { style: { position: "relative" }, children: /* @__PURE__ */ jsx10(IconFloatingActionButton, { position: "top-start", themeColor, ...{ [state]: true } }) }) }))
4432
4485
  ] }))
4433
4486
  ] })
4434
4487
  ] });