@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
@@ -1,10 +1,10 @@
1
- import { FloatingActionButton, FloatingActionButtonItems, FloatingActionButtonItem } from '../../fab';
1
+ import { FloatingActionButtonItems, FloatingActionButtonItem, IconFloatingActionButton, FloatingActionButton } from '../../fab';
2
2
 
3
3
 
4
4
  const styles = `
5
5
  #test-area {
6
6
  grid-template-columns: 150px repeat(3, 1fr);
7
- grid-template-rows: 30px repeat(5, 320px)
7
+ grid-template-rows: 30px repeat(3, 320px)
8
8
  }
9
9
  .relative-container {
10
10
  position: relative;
@@ -12,7 +12,13 @@ const styles = `
12
12
  }
13
13
  `;
14
14
 
15
- export default () =>(
15
+ const indexMap = {
16
+ 0: 36,
17
+ 1: 52,
18
+ 2: 68,
19
+ };
20
+
21
+ export default () => (
16
22
  <>
17
23
  <style>{styles}</style>
18
24
  <div id="test-area" className="k-d-grid">
@@ -23,136 +29,60 @@ export default () =>(
23
29
  <span>Large</span>
24
30
 
25
31
  <span>Downward - Left Labels</span>
26
- <span className="relative-container">
27
- <FloatingActionButton icon="plus" size="small" position="top-end" style={{ top: "16px", right: "16px" }} />
28
- <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))" }}>
29
- <FloatingActionButtonItems position="bottom">
30
- <FloatingActionButtonItem text="Normal" icon="pencil" align="right" />
31
- <FloatingActionButtonItem text="Hover long text" icon="pencil" align="right" hover />
32
- <FloatingActionButtonItem text="Focus" icon="pencil" align="right" focus />
33
- <FloatingActionButtonItem text="Active" icon="pencil" align="right" active />
34
- <FloatingActionButtonItem text="Disabled" icon="cancel" align="right" disabled />
35
- </FloatingActionButtonItems>
36
- </div>
37
- </span>
38
- <span className="relative-container">
39
- <FloatingActionButton icon="plus" size="medium" position="top-end" style={{ top: "16px", right: "16px" }} />
40
- <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))" }}>
41
- <FloatingActionButtonItems position="bottom">
42
- <FloatingActionButtonItem text="Hover long text" icon="pencil" align="right" hover />
43
- <FloatingActionButtonItem text="Focus" icon="pencil" align="right" focus />
44
- <FloatingActionButtonItem text="Active" icon="pencil" align="right" active />
45
- <FloatingActionButtonItem text="Disabled & Focus" icon="cancel" align="right" disabled focus />
46
- </FloatingActionButtonItems>
47
- </div>
48
- </span>
49
- <span className="relative-container">
50
- <FloatingActionButton icon="plus" size="large" position="top-end" style={{ top: "16px", right: "16px" }} />
51
- <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))" }}>
52
- <FloatingActionButtonItems position="bottom">
53
- <FloatingActionButtonItem text="Hover long text" icon="pencil" align="right" hover />
54
- <FloatingActionButtonItem text="Focus" icon="pencil" align="right" focus />
55
- <FloatingActionButtonItem text="Active" icon="pencil" align="right" active />
56
- <FloatingActionButtonItem text="Disabled" icon="cancel" align="right" disabled />
57
- </FloatingActionButtonItems>
58
- </div>
59
- </span>
32
+ {FloatingActionButton.options.size.map((size, index) => (
33
+ <span className="relative-container">
34
+ <IconFloatingActionButton size={size} position="top-end" style={{ top: "16px", right: "16px" }} />
35
+ <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))` }}>
36
+ <FloatingActionButtonItems position="bottom">
37
+ {[ "normal", ...FloatingActionButtonItem.states ].map((state) => (
38
+ <FloatingActionButtonItem text={state} icon={state === "disabled" ? "cancel" : "pencil"} align="right" {...{ [state]: true }}/>
39
+ ))}
40
+ </FloatingActionButtonItems>
41
+ </div>
42
+ </span>
43
+ ))}
60
44
 
61
45
  <span>Downward - Right Labels</span>
62
- <span className="relative-container">
63
- <FloatingActionButton icon="plus" size="small" position="top-start" style={{ top: "16px", left: "16px" }} />
64
- <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))" }}>
65
- <FloatingActionButtonItems position="bottom">
66
- <FloatingActionButtonItem text="Hover long text" icon="pencil" align="left" hover />
67
- <FloatingActionButtonItem text="Focus" icon="pencil" align="left" focus />
68
- <FloatingActionButtonItem text="Active" icon="pencil" align="left" active />
69
- </FloatingActionButtonItems>
70
- </div>
71
- </span>
72
- <span className="relative-container">
73
- <FloatingActionButton icon="plus" size="medium" position="top-start" style={{ top: "16px", left: "16px" }} />
74
- <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))" }}>
75
- <FloatingActionButtonItems position="bottom">
76
- <FloatingActionButtonItem text="Hover long text" icon="pencil" align="left" hover />
77
- <FloatingActionButtonItem text="Focus" icon="pencil" align="left" focus />
78
- <FloatingActionButtonItem text="Active" icon="pencil" align="left" active />
79
- </FloatingActionButtonItems>
80
- </div>
81
- </span>
82
- <span className="relative-container">
83
- <FloatingActionButton icon="plus" size="large" position="top-start" style={{ top: "16px", left: "16px" }} />
84
- <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))" }}>
85
- <FloatingActionButtonItems position="bottom">
86
- <FloatingActionButtonItem text="Hover long text" icon="pencil" align="left" hover />
87
- <FloatingActionButtonItem text="Focus" icon="pencil" align="left" focus />
88
- <FloatingActionButtonItem text="Active" icon="pencil" align="left" active />
89
- </FloatingActionButtonItems>
90
- </div>
91
- </span>
46
+ {FloatingActionButton.options.size.map((size, index) => (
47
+ <span className="relative-container">
48
+ <IconFloatingActionButton size={size} position="top-start" style={{ top: "16px", left: "16px" }} />
49
+ <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))` }}>
50
+ <FloatingActionButtonItems position="bottom">
51
+ {[ "normal", ...FloatingActionButtonItem.states ].map((state) => (
52
+ <FloatingActionButtonItem text={state} icon={state === "disabled" ? "cancel" : "pencil"} align="left" {...{ [state]: true }}/>
53
+ ))}
54
+ </FloatingActionButtonItems>
55
+ </div>
56
+ </span>
57
+ ))}
92
58
 
93
59
  <span>Upward - Left Labels</span>
94
- <span className="relative-container">
95
- <FloatingActionButton icon="plus" size="small" position="bottom-end" style={{ bottom: "16px", right: "16px" }} />
96
- <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))" }}>
97
- <FloatingActionButtonItems position="top">
98
- <FloatingActionButtonItem text="Hover long text" icon="pencil" align="right" hover />
99
- <FloatingActionButtonItem text="Focus" icon="pencil" align="right" focus />
100
- <FloatingActionButtonItem text="Active" icon="pencil" align="right" active />
101
- </FloatingActionButtonItems>
102
- </div>
103
- </span>
104
- <span className="relative-container">
105
- <FloatingActionButton icon="plus" size="medium" position="bottom-end" style={{ bottom: "16px", right: "16px" }} />
106
- <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))" }}>
107
- <FloatingActionButtonItems position="top">
108
- <FloatingActionButtonItem text="Hover long text" icon="pencil" align="right" hover />
109
- <FloatingActionButtonItem text="Focus" icon="pencil" align="right" focus />
110
- <FloatingActionButtonItem text="Active" icon="pencil" align="right" active />
111
- </FloatingActionButtonItems>
112
- </div>
113
- </span>
114
- <span className="relative-container">
115
- <FloatingActionButton icon="plus" size="large" position="bottom-end" style={{ bottom: "16px", right: "16px" }} />
116
- <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))" }}>
117
- <FloatingActionButtonItems position="top">
118
- <FloatingActionButtonItem text="Hover long text" icon="pencil" align="right" hover />
119
- <FloatingActionButtonItem text="Focus" icon="pencil" align="right" focus />
120
- <FloatingActionButtonItem text="Active" icon="pencil" align="right" active />
121
- </FloatingActionButtonItems>
122
- </div>
123
- </span>
60
+ {FloatingActionButton.options.size.map((size, index) => (
61
+ <span className="relative-container">
62
+ <IconFloatingActionButton size={size} position="bottom-end" style={{ bottom: "16px", right: "16px" }} />
63
+ <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))` }}>
64
+ <FloatingActionButtonItems position="top">
65
+ {[ "normal", ...FloatingActionButtonItem.states ].map((state) => (
66
+ <FloatingActionButtonItem text={state} icon={state === "disabled" ? "cancel" : "pencil"} align="right" {...{ [state]: true }}/>
67
+ ))}
68
+ </FloatingActionButtonItems>
69
+ </div>
70
+ </span>
71
+ ))}
124
72
 
125
73
  <span>Upward - Right Labels</span>
126
- <span className="relative-container">
127
- <FloatingActionButton icon="plus" size="small" position="bottom-start" style={{ bottom: "16px", left: "16px" }} />
128
- <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))" }}>
129
- <FloatingActionButtonItems position="top">
130
- <FloatingActionButtonItem text="Hover long text" icon="pencil" align="left" hover />
131
- <FloatingActionButtonItem text="Focus" icon="pencil" align="left" focus />
132
- <FloatingActionButtonItem text="Active" icon="pencil" align="left" active />
133
- </FloatingActionButtonItems>
134
- </div>
135
- </span>
136
- <span className="relative-container">
137
- <FloatingActionButton icon="plus" size="medium" position="bottom-start" style={{ bottom: "16px", left: "16px" }} />
138
- <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))" }}>
139
- <FloatingActionButtonItems position="top">
140
- <FloatingActionButtonItem text="Hover long text" icon="pencil" align="left" hover />
141
- <FloatingActionButtonItem text="Focus" icon="pencil" align="left" focus />
142
- <FloatingActionButtonItem text="Active" icon="pencil" align="left" active />
143
- </FloatingActionButtonItems>
144
- </div>
145
- </span>
146
- <span className="relative-container">
147
- <FloatingActionButton icon="plus" size="large" position="bottom-start" style={{ bottom: "16px", left: "16px" }} />
148
- <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))" }}>
149
- <FloatingActionButtonItems position="top">
150
- <FloatingActionButtonItem text="Hover long text" icon="pencil" align="left" hover />
151
- <FloatingActionButtonItem text="Focus" icon="pencil" align="left" focus />
152
- <FloatingActionButtonItem text="Active" icon="pencil" align="left" active />
153
- </FloatingActionButtonItems>
154
- </div>
155
- </span>
74
+ {FloatingActionButton.options.size.map((size, index) => (
75
+ <span className="relative-container">
76
+ <IconFloatingActionButton size={size} position="bottom-start" style={{ bottom: "16px", left: "16px" }} />
77
+ <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))` }}>
78
+ <FloatingActionButtonItems position="top">
79
+ {[ "normal", ...FloatingActionButtonItem.states ].map((state) => (
80
+ <FloatingActionButtonItem text={state} icon={state === "disabled" ? "cancel" : "pencil"} align="left" {...{ [state]: true }}/>
81
+ ))}
82
+ </FloatingActionButtonItems>
83
+ </div>
84
+ </span>
85
+ ))}
156
86
  </div>
157
87
  </>
158
88
  );
@@ -1,4 +1,4 @@
1
- import { FloatingActionButton } from '../../fab';
1
+ import { IconFloatingActionButton } from '../../fab';
2
2
 
3
3
 
4
4
  const styles = `
@@ -24,35 +24,35 @@ export default () =>(
24
24
 
25
25
  <span>Top</span>
26
26
  <span className="relative-container">
27
- <FloatingActionButton icon="plus" position="top-start" style={{ top: "16px", left: "16px" }} />
27
+ <IconFloatingActionButton position="top-start" style={{ top: "16px", left: "16px" }} />
28
28
  </span>
29
29
  <span className="relative-container">
30
- <FloatingActionButton icon="plus" position="top-center" style={{ top: "16px" }} />
30
+ <IconFloatingActionButton position="top-center" style={{ top: "16px" }} />
31
31
  </span>
32
32
  <span className="relative-container">
33
- <FloatingActionButton icon="plus" position="top-end" style={{ top: "16px", right: "16px" }} />
33
+ <IconFloatingActionButton position="top-end" style={{ top: "16px", right: "16px" }} />
34
34
  </span>
35
35
 
36
36
  <span>Middle</span>
37
37
  <span className="relative-container">
38
- <FloatingActionButton icon="plus" position="middle-start" style={{ left: "16px" }} />
38
+ <IconFloatingActionButton position="middle-start" style={{ left: "16px" }} />
39
39
  </span>
40
40
  <span className="relative-container">
41
41
  NO CENTER POSITION
42
42
  </span>
43
43
  <span className="relative-container">
44
- <FloatingActionButton icon="plus" position="middle-end" style={{ right: "16px" }} />
44
+ <IconFloatingActionButton position="middle-end" style={{ right: "16px" }} />
45
45
  </span>
46
46
 
47
47
  <span>Bottom</span>
48
48
  <span className="relative-container">
49
- <FloatingActionButton icon="plus" position="bottom-start" style={{ bottom: "16px", left: "16px" }} />
49
+ <IconFloatingActionButton position="bottom-start" style={{ bottom: "16px", left: "16px" }} />
50
50
  </span>
51
51
  <span className="relative-container">
52
- <FloatingActionButton icon="plus" position="bottom-center" style={{ bottom: "16px" }} />
52
+ <IconFloatingActionButton position="bottom-center" style={{ bottom: "16px" }} />
53
53
  </span>
54
54
  <span className="relative-container">
55
- <FloatingActionButton icon="plus" position="bottom-end" style={{ bottom: "16px", right: "16px" }} />
55
+ <IconFloatingActionButton position="bottom-end" style={{ bottom: "16px", right: "16px" }} />
56
56
  </span>
57
57
 
58
58
  </div>
@@ -0,0 +1,35 @@
1
+ import { FloatingActionButton, IconFloatingActionButton, IconTextFloatingActionButton, TextFloatingActionButton } from '..';
2
+
3
+
4
+ const styles = `
5
+ #test-area {
6
+ max-width: 1200px;
7
+ grid-template-columns: auto repeat(3, 1fr);
8
+ align-items: center;
9
+ }
10
+ `;
11
+
12
+ export default () =>(
13
+ <>
14
+ <style>{styles}</style>
15
+ <div id="test-area" className="k-d-grid">
16
+
17
+ <span><small>rounded / size</small></span>
18
+ <span>small</span>
19
+ <span>medium</span>
20
+ <span>large</span>
21
+ {[ null, ...FloatingActionButton.options.rounded ].map((rounded) => (
22
+ <>
23
+ <span>{String(rounded)}</span>
24
+ {FloatingActionButton.options.size.map((size) => (
25
+ <span className="k-d-flex k-gap-1">
26
+ <TextFloatingActionButton rounded={rounded} size={size} />
27
+ <IconTextFloatingActionButton rounded={rounded} size={size} />
28
+ <IconFloatingActionButton rounded={rounded} size={size} />
29
+ </span>
30
+ ))}
31
+ </>
32
+ ))}
33
+ </div>
34
+ </>
35
+ );
@@ -1,4 +1,4 @@
1
- import { FloatingActionButton } from '../../fab';
1
+ import { FloatingActionButton, IconFloatingActionButton } from '../../fab';
2
2
 
3
3
  const styles = `
4
4
  #test-area {
@@ -24,7 +24,7 @@ export default () =>(
24
24
  {[ 'normal', ...FloatingActionButton.states ].map((state) => (
25
25
  <>
26
26
  <span style={{ position: "relative" }}>
27
- <FloatingActionButton icon="plus" position="top-start" themeColor={themeColor} {...{ [state]: true }}></FloatingActionButton>
27
+ <IconFloatingActionButton position="top-start" themeColor={themeColor} {...{ [state]: true }} />
28
28
  </span>
29
29
  </>
30
30
  ))}
@@ -1,4 +1,4 @@
1
- import { FloatingActionButton } from '../../fab';
1
+ import { FloatingActionButton, IconFloatingActionButton, IconTextFloatingActionButton, TextFloatingActionButton } from '../../fab';
2
2
 
3
3
 
4
4
  const styles = `
@@ -17,115 +17,19 @@ export default () =>(
17
17
  <span>Text + Icon</span>
18
18
  <span>Icon</span>
19
19
 
20
- <span>primary</span>
21
- <span>
22
- <FloatingActionButton themeColor="primary" text="Create" />
23
- </span>
24
- <span>
25
- <FloatingActionButton themeColor="primary" icon="plus" text="Create" />
26
- </span>
27
- <span>
28
- <FloatingActionButton themeColor="primary" icon="plus" />
29
- </span>
30
-
31
- <span>secondary</span>
32
- <span>
33
- <FloatingActionButton themeColor="secondary" text="Create" />
34
- </span>
35
- <span>
36
- <FloatingActionButton themeColor="secondary" icon="plus" text="Create" />
37
- </span>
38
- <span>
39
- <FloatingActionButton themeColor="secondary" icon="plus" />
40
- </span>
41
-
42
- <span>tertiary</span>
43
- <span>
44
- <FloatingActionButton themeColor="tertiary" text="Create" />
45
- </span>
46
- <span>
47
- <FloatingActionButton themeColor="tertiary" icon="plus" text="Create" />
48
- </span>
49
- <span>
50
- <FloatingActionButton themeColor="tertiary" icon="plus" />
51
- </span>
52
-
53
- <span>info</span>
54
- <span>
55
- <FloatingActionButton themeColor="info" text="Create" />
56
- </span>
57
- <span>
58
- <FloatingActionButton themeColor="info" icon="plus" text="Create" />
59
- </span>
60
- <span>
61
- <FloatingActionButton themeColor="info" icon="plus" />
62
- </span>
63
-
64
- <span>success</span>
65
- <span>
66
- <FloatingActionButton themeColor="success" text="Create" />
67
- </span>
68
- <span>
69
- <FloatingActionButton themeColor="success" icon="plus" text="Create" />
70
- </span>
71
- <span>
72
- <FloatingActionButton themeColor="success" icon="plus" />
73
- </span>
74
-
75
- <span>warning</span>
76
- <span>
77
- <FloatingActionButton themeColor="warning" text="Create" />
78
- </span>
79
- <span>
80
- <FloatingActionButton themeColor="warning" icon="plus" text="Create" />
81
- </span>
82
- <span>
83
- <FloatingActionButton themeColor="warning" icon="plus" />
84
- </span>
85
-
86
- <span>error</span>
87
- <span>
88
- <FloatingActionButton themeColor="error" text="Create" />
89
- </span>
90
- <span>
91
- <FloatingActionButton themeColor="error" icon="plus" text="Create" />
92
- </span>
93
- <span>
94
- <FloatingActionButton themeColor="error" icon="plus" />
95
- </span>
96
-
97
- <span>dark</span>
98
- <span>
99
- <FloatingActionButton themeColor="dark" text="Create" />
100
- </span>
101
- <span>
102
- <FloatingActionButton themeColor="dark" icon="plus" text="Create" />
103
- </span>
104
- <span>
105
- <FloatingActionButton themeColor="dark" icon="plus" />
106
- </span>
107
-
108
- <span>light</span>
109
- <span>
110
- <FloatingActionButton themeColor="light" text="Create" />
111
- </span>
112
- <span>
113
- <FloatingActionButton themeColor="light" icon="plus" text="Create" />
114
- </span>
115
- <span>
116
- <FloatingActionButton themeColor="light" icon="plus" />
117
- </span>
118
-
119
- <span>inverse</span>
120
- <span>
121
- <FloatingActionButton themeColor="inverse" text="Create" />
122
- </span>
123
- <span>
124
- <FloatingActionButton themeColor="inverse" icon="plus" text="Create" />
125
- </span>
126
- <span>
127
- <FloatingActionButton themeColor="inverse" icon="plus" />
128
- </span>
20
+ {FloatingActionButton.options.themeColor.map((color) => (
21
+ <>
22
+ <span>{color}</span>
23
+ <span>
24
+ <TextFloatingActionButton themeColor={color} />
25
+ </span>
26
+ <span>
27
+ <IconTextFloatingActionButton themeColor={color} />
28
+ </span>
29
+ <span>
30
+ <IconFloatingActionButton themeColor={color} />
31
+ </span></>
32
+ ))}
129
33
  </div>
130
34
  </>
131
35
  );
@@ -1,6 +1,6 @@
1
1
  import { Button } from '../../button';
2
2
  import { DialogNormal } from '../../dialog';
3
- import { Upload } from '../../upload';
3
+ import { UploadNormal } from '../../upload';
4
4
 
5
5
 
6
6
  const styles = `
@@ -23,7 +23,7 @@ export default () =>(
23
23
  <Button>Cancel</Button>
24
24
  </>
25
25
  }>
26
- <Upload async empty status="upload"></Upload>
26
+ <UploadNormal empty status="upload"/>
27
27
  </DialogNormal>
28
28
 
29
29
  </section>
@@ -6,7 +6,7 @@ import { NumericTextbox } from '../../numerictextbox';
6
6
  import { RadioButtonWithLabelAfter, RadioGroup, RadioItem } from '../../radio';
7
7
  import { Switch } from '../../switch';
8
8
  import { Textbox } from '../../textbox';
9
- import { Upload, UploadFile } from '../../upload';
9
+ import { UploadChunk, UploadFile } from '../../upload';
10
10
  import { Form, FormField } from '../../form';
11
11
  import { Slider, SliderTick } from '../../slider';
12
12
 
@@ -164,9 +164,9 @@ export default () =>(
164
164
  dir="rtl"
165
165
  label="Upload"
166
166
  editor={
167
- <Upload async status="done">
167
+ <UploadChunk status="done">
168
168
  <UploadFile progress="100" status="success" validationMsg="File successfully uploaded." name="test long long long long long long long long long long long long long.pdf" icon="file-pdf"></UploadFile>
169
- </Upload>
169
+ </UploadChunk>
170
170
  }
171
171
  >
172
172
  </FormField>
@@ -308,9 +308,9 @@ export default () =>(
308
308
  dir="rtl"
309
309
  label="Upload"
310
310
  editor={
311
- <Upload async status="done">
311
+ <UploadChunk status="done">
312
312
  <UploadFile progress="100" status="success" validationMsg="File successfully uploaded." name="test long long long long long long long long long long long long long.pdf" icon="file-pdf"></UploadFile>
313
- </Upload>
313
+ </UploadChunk>
314
314
  }
315
315
  >
316
316
  </FormField>
@@ -7,7 +7,7 @@ import { NumericTextbox } from '../../numerictextbox';
7
7
  import { RadioButtonWithLabelAfter, RadioGroup, RadioItem } from '../../radio';
8
8
  import { Switch } from '../../switch';
9
9
  import { Textbox } from '../../textbox';
10
- import { Upload, UploadFile } from '../../upload';
10
+ import { UploadChunk, UploadFile } from '../../upload';
11
11
  import { Form, FormField } from '../../form';
12
12
 
13
13
 
@@ -167,9 +167,9 @@ export default () =>(
167
167
  <FormField
168
168
  label="Upload"
169
169
  editor={
170
- <Upload async status="done">
170
+ <UploadChunk status="done">
171
171
  <UploadFile progress="100" status="success" validationMsg="File successfully uploaded." name="test long long long long long long long long long long long long long.pdf" icon="file-pdf"></UploadFile>
172
- </Upload>
172
+ </UploadChunk>
173
173
  }
174
174
  >
175
175
  </FormField>
@@ -314,9 +314,9 @@ export default () =>(
314
314
  <FormField
315
315
  label="Upload"
316
316
  editor={
317
- <Upload async status="done">
317
+ <UploadChunk status="done">
318
318
  <UploadFile progress="100" status="success" validationMsg="File successfully uploaded." name="test long long long long long long long long long long long long long.pdf" icon="file-pdf"></UploadFile>
319
- </Upload>
319
+ </UploadChunk>
320
320
  }
321
321
  >
322
322
  </FormField>
@@ -1,5 +1,5 @@
1
1
  import { Button } from '../../button';
2
- import { Window } from '../../window';
2
+ import { WindowNormal } from '../../window';
3
3
  import { Textbox } from '../../textbox';
4
4
  import { DateTimePicker } from '../../datetimepicker';
5
5
  import { NumericTextbox } from '../../numerictextbox';
@@ -20,7 +20,7 @@ export default () =>(
20
20
  <div id="test-area" className="k-d-grid k-grid-cols-2">
21
21
 
22
22
  <section>
23
- <Window title="Edit task" actions={[ 'window-minimize', 'window', 'x' ]} actionButtons={
23
+ <WindowNormal title="Edit task" actionButtons={
24
24
  <>
25
25
  <Button icon="save" themeColor="primary">Save</Button>
26
26
  <Button icon="cancel">Cancel</Button>
@@ -87,7 +87,7 @@ export default () =>(
87
87
  </Form>
88
88
  </div>
89
89
  </div>
90
- </Window>
90
+ </WindowNormal>
91
91
  </section>
92
92
  </div>
93
93
  </>
@@ -1,5 +1,5 @@
1
1
  import { Button } from '../../button';
2
- import { Window } from '../../window';
2
+ import { WindowNormal } from '../../window';
3
3
  import { Textarea } from '../../textarea';
4
4
  import { Textbox } from '../../textbox';
5
5
  import { DatePicker } from '../../datepicker';
@@ -21,7 +21,7 @@ export default () =>(
21
21
  <div id="test-area" className="k-d-grid k-grid-cols-2">
22
22
 
23
23
  <section>
24
- <Window title="Edit task" actions={[ 'window-minimize', 'window', 'x' ]} actionButtons={
24
+ <WindowNormal title="Edit task" actionButtons={
25
25
  <>
26
26
  <Button icon="save" themeColor="primary">Save</Button>
27
27
  <Button icon="cancel">Cancel</Button>
@@ -79,7 +79,7 @@ export default () =>(
79
79
  </Form>
80
80
  </div>
81
81
  </div>
82
- </Window>
82
+ </WindowNormal>
83
83
  </section>
84
84
 
85
85
 
@@ -1,4 +1,4 @@
1
- import { Window } from '../../window';
1
+ import { WindowNormal } from '../../window';
2
2
  import { DropdownList } from '../../dropdownlist';
3
3
  import { Toolbar } from '../../toolbar';
4
4
  import { Button } from '../../button';
@@ -19,7 +19,7 @@ export default () =>(
19
19
  <div id="test-area" className="k-d-grid k-grid-cols-2">
20
20
 
21
21
  <section>
22
- <Window title="Edit task" actions={[ 'window-minimize', 'window', 'x' ]} actionButtons={
22
+ <WindowNormal title="Edit task" actionButtons={
23
23
  <>
24
24
  <Button icon="save" themeColor="primary">Save</Button>
25
25
  <Button icon="cancel">Cancel</Button>
@@ -101,7 +101,7 @@ export default () =>(
101
101
  </div>
102
102
  </div>
103
103
  </div>
104
- </Window>
104
+ </WindowNormal>
105
105
  </section>
106
106
 
107
107
  </div>