@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,11 +1,7 @@
1
- import { Notification, NotificationAction } from '../../notification';
1
+ import { NotificationNormal, NotificationClosable, IconNotification, IconNotificationClosable } from '../../notification';
2
2
 
3
3
 
4
4
  const styles = `
5
- body {
6
- background: #fcfcfc;
7
- }
8
-
9
5
  #test-area {
10
6
  justify-items: start;
11
7
  }
@@ -15,133 +11,52 @@ const styles = `
15
11
  }
16
12
  `;
17
13
 
18
- export default () =>(
14
+ export default () => (
19
15
  <>
20
16
  <style>{styles}</style>
21
17
  <div id="test-area" className="k-d-grid k-grid-cols-4">
22
18
 
23
19
  <span className="k-colspan-all k-col-span-full">LTR</span>
24
-
25
- <div>
26
- <div className="k-notification-container">
27
- <Notification text="Default notification" />
28
- </div>
29
- </div>
30
- <div>
31
- <div className="k-notification-container">
32
- <Notification closable={true} text="Closable notification" actions={ <NotificationAction type="close" /> } />
33
- </div>
34
- </div>
35
- <div>
36
- <div className="k-notification-container">
37
- <Notification themeColor="primary" text="Primary notification" />
38
- </div>
39
- </div>
40
- <div>
41
- <div className="k-notification-container">
42
- <Notification themeColor="secondary" text="Secondary notification" />
43
- </div>
44
- </div>
45
20
  <div>
46
21
  <div className="k-notification-container">
47
- <Notification themeColor="tertiary" text="Tertiary notification" />
22
+ <NotificationNormal text="Default notification" />
48
23
  </div>
49
24
  </div>
50
25
  <div>
51
26
  <div className="k-notification-container">
52
- <Notification themeColor="info" text="Info notification" icon="info-circle" />
27
+ <IconNotification text="Icon notification" />
53
28
  </div>
54
29
  </div>
55
30
  <div>
56
31
  <div className="k-notification-container">
57
- <Notification themeColor="success" text="Success notification" icon="check-outline" />
32
+ <NotificationClosable text="Closable notification" />
58
33
  </div>
59
34
  </div>
60
35
  <div>
61
36
  <div className="k-notification-container">
62
- <Notification themeColor="warning" text="Warning notification" icon="exclamation-circle" />
63
- </div>
64
- </div>
65
- <div>
66
- <div className="k-notification-container">
67
- <Notification themeColor="error" text="Error notification" icon="x-outline" />
68
- </div>
69
- </div>
70
- <div>
71
- <div className="k-notification-container">
72
- <Notification themeColor="dark" text="Dark notification" />
73
- </div>
74
- </div>
75
- <div>
76
- <div className="k-notification-container">
77
- <Notification themeColor="light" text="Light notification" />
78
- </div>
79
- </div>
80
- <div>
81
- <div className="k-notification-container">
82
- <Notification themeColor="inverse" text="Inverse notification" />
37
+ <IconNotificationClosable text="Closable notification with icon" />
83
38
  </div>
84
39
  </div>
85
40
 
86
41
  <span className="k-colspan-all k-col-span-full">RTL</span>
87
42
  <div dir="rtl">
88
43
  <div className="k-notification-container">
89
- <Notification text="Default notification" />
90
- </div>
91
- </div>
92
- <div dir="rtl">
93
- <div className="k-notification-container">
94
- <Notification closable={true} text="Closable notification" actions={ <NotificationAction type="close" /> } />
95
- </div>
96
- </div>
97
- <div dir="rtl">
98
- <div className="k-notification-container">
99
- <Notification themeColor="primary" text="Primary notification" />
100
- </div>
101
- </div>
102
- <div dir="rtl">
103
- <div className="k-notification-container">
104
- <Notification themeColor="secondary" text="Secondary notification" />
105
- </div>
106
- </div>
107
- <div dir="rtl">
108
- <div className="k-notification-container">
109
- <Notification themeColor="tertiary" text="Tertiary notification" />
110
- </div>
111
- </div>
112
- <div dir="rtl">
113
- <div className="k-notification-container">
114
- <Notification themeColor="info" text="Info notification" icon="info-circle" />
115
- </div>
116
- </div>
117
- <div dir="rtl">
118
- <div className="k-notification-container">
119
- <Notification themeColor="success" text="Success notification" icon="check-outline" />
120
- </div>
121
- </div>
122
- <div dir="rtl">
123
- <div className="k-notification-container">
124
- <Notification themeColor="warning" text="Warning notification" icon="exclamation-circle" />
125
- </div>
126
- </div>
127
- <div dir="rtl">
128
- <div className="k-notification-container">
129
- <Notification themeColor="error" text="Error notification" icon="x-outline" />
44
+ <NotificationNormal text="Default notification" />
130
45
  </div>
131
46
  </div>
132
47
  <div dir="rtl">
133
48
  <div className="k-notification-container">
134
- <Notification themeColor="dark" text="Dark notification" />
49
+ <IconNotification text="Icon notification" />
135
50
  </div>
136
51
  </div>
137
52
  <div dir="rtl">
138
53
  <div className="k-notification-container">
139
- <Notification themeColor="light" text="Light notification" />
54
+ <NotificationClosable text="Closable notification" />
140
55
  </div>
141
56
  </div>
142
57
  <div dir="rtl">
143
58
  <div className="k-notification-container">
144
- <Notification themeColor="inverse" text="Inverse notification" />
59
+ <IconNotificationClosable text="Closable notification with icon" />
145
60
  </div>
146
61
  </div>
147
62
 
@@ -1,4 +1,4 @@
1
- import { Notification, NotificationAction } from '../../notification';
1
+ import { NotificationClosable, NotificationNormal } from '../../notification';
2
2
 
3
3
 
4
4
  const styles = `
@@ -32,20 +32,20 @@ export default () =>(
32
32
  {/* notification group */}
33
33
  <div className="k-notification-group">
34
34
  <div className="k-notification-container">
35
- <Notification text="Multiline notification" closable={true} actions={ <NotificationAction type="close" /> } >
35
+ <NotificationClosable text="Multiline notification">
36
36
  <div>Closable multiline notification</div>
37
37
  <div>Closable multiline notification</div>
38
38
  <div>Closable multiline notification</div>
39
- </Notification>
39
+ </NotificationClosable>
40
40
  </div>
41
41
  <div className="k-notification-container">
42
- <Notification className="k-custom-notification" text="Custom notification" />
42
+ <NotificationNormal className="k-custom-notification" text="Custom notification" />
43
43
  </div>
44
44
  </div>
45
45
  </div>
46
46
  <div className="k-colspan-3 k-col-span-3">
47
47
  <div className="k-notification-container fullwidth">
48
- <Notification text="Full width notification" closable={true} actions={ <NotificationAction type="close" /> } />
48
+ <NotificationClosable text="Full width notification"/>
49
49
  </div>
50
50
  </div>
51
51
 
@@ -55,20 +55,20 @@ export default () =>(
55
55
  {/* notification group */}
56
56
  <div className="k-notification-group">
57
57
  <div className="k-notification-container">
58
- <Notification text="Multiline notification" closable={true} actions={ <NotificationAction type="close" /> } >
58
+ <NotificationClosable text="Multiline notification">
59
59
  <div>Closable multiline notification</div>
60
60
  <div>Closable multiline notification</div>
61
61
  <div>Closable multiline notification</div>
62
- </Notification>
62
+ </NotificationClosable>
63
63
  </div>
64
64
  <div className="k-notification-container">
65
- <Notification className="k-custom-notification" text="Custom notification" />
65
+ <NotificationNormal className="k-custom-notification" text="Custom notification" />
66
66
  </div>
67
67
  </div>
68
68
  </div>
69
69
  <div className="k-colspan-3 k-col-span-3" dir="rtl">
70
70
  <div className="k-notification-container fullwidth">
71
- <Notification text="Full width notification" closable={true} actions={ <NotificationAction type="close" /> } />
71
+ <NotificationClosable text="Full width notification"/>
72
72
  </div>
73
73
  </div>
74
74
 
@@ -0,0 +1,30 @@
1
+ import { Notification, NotificationClosable } from '../../notification';
2
+ import { AnimationContainer } from '../../animation-container';
3
+
4
+
5
+ const styles = `
6
+ #test-area {
7
+ justify-items: start;
8
+ }
9
+
10
+ .k-animation-container {
11
+ position: static;
12
+ overflow: visible;
13
+ }
14
+ `;
15
+
16
+ export default () =>(
17
+ <>
18
+ <style>{styles}</style>
19
+ <div id="test-area" className="k-d-grid k-grid-cols-2">
20
+ {Notification.options.themeColor.map((color) => (
21
+ <div>
22
+ <AnimationContainer>
23
+ <NotificationClosable themeColor={color} text={`${color} notification`} />
24
+ </AnimationContainer>
25
+ </div>
26
+ ))}
27
+
28
+ </div>
29
+ </>
30
+ );
@@ -1,12 +1,8 @@
1
- import { Notification, NotificationAction } from '../../notification';
1
+ import { NotificationNormal, NotificationClosable, IconNotification, IconNotificationClosable } from '../../notification';
2
2
  import { AnimationContainer } from '../../animation-container';
3
3
 
4
4
 
5
5
  const styles = `
6
- body {
7
- background: #fcfcfc;
8
- }
9
-
10
6
  #test-area {
11
7
  justify-items: start;
12
8
  }
@@ -17,133 +13,52 @@ const styles = `
17
13
  }
18
14
  `;
19
15
 
20
- export default () =>(
16
+ export default () => (
21
17
  <>
22
18
  <style>{styles}</style>
23
19
  <div id="test-area" className="k-d-grid k-grid-cols-4">
24
20
 
25
21
  <span className="k-colspan-all k-col-span-full">LTR</span>
26
-
27
- <div>
28
- <AnimationContainer>
29
- <Notification text="Default notification" />
30
- </AnimationContainer>
31
- </div>
32
- <div>
33
- <AnimationContainer>
34
- <Notification closable={true} text="Closable notification" actions={ <NotificationAction type="close" /> } />
35
- </AnimationContainer>
36
- </div>
37
- <div>
38
- <AnimationContainer>
39
- <Notification themeColor="primary" text="Primary notification" />
40
- </AnimationContainer>
41
- </div>
42
- <div>
43
- <AnimationContainer>
44
- <Notification themeColor="secondary" text="Secondary notification" />
45
- </AnimationContainer>
46
- </div>
47
22
  <div>
48
23
  <AnimationContainer>
49
- <Notification themeColor="tertiary" text="Tertiary notification" />
24
+ <NotificationNormal text="Default notification" />
50
25
  </AnimationContainer>
51
26
  </div>
52
27
  <div>
53
28
  <AnimationContainer>
54
- <Notification themeColor="info" text="Info notification" icon="info-circle" />
29
+ <IconNotification text="Icon notification" />
55
30
  </AnimationContainer>
56
31
  </div>
57
32
  <div>
58
33
  <AnimationContainer>
59
- <Notification themeColor="success" text="Success notification" icon="check-outline" />
34
+ <NotificationClosable text="Closable notification" />
60
35
  </AnimationContainer>
61
36
  </div>
62
37
  <div>
63
38
  <AnimationContainer>
64
- <Notification themeColor="warning" text="Warning notification" icon="exclamation-circle" />
65
- </AnimationContainer>
66
- </div>
67
- <div>
68
- <AnimationContainer>
69
- <Notification themeColor="error" text="Error notification" icon="x-outline" />
70
- </AnimationContainer>
71
- </div>
72
- <div>
73
- <AnimationContainer>
74
- <Notification themeColor="dark" text="Dark notification" />
75
- </AnimationContainer>
76
- </div>
77
- <div>
78
- <AnimationContainer>
79
- <Notification themeColor="light" text="Light notification" />
80
- </AnimationContainer>
81
- </div>
82
- <div>
83
- <AnimationContainer>
84
- <Notification themeColor="inverse" text="Inverse notification" />
39
+ <IconNotificationClosable text="Closable notification with icon" />
85
40
  </AnimationContainer>
86
41
  </div>
87
42
 
88
43
  <span className="k-colspan-all k-col-span-full">RTL</span>
89
44
  <div dir="rtl">
90
45
  <AnimationContainer>
91
- <Notification text="Default notification" />
92
- </AnimationContainer>
93
- </div>
94
- <div dir="rtl">
95
- <AnimationContainer>
96
- <Notification closable={true} text="Closable notification" actions={ <NotificationAction type="close" /> } />
97
- </AnimationContainer>
98
- </div>
99
- <div dir="rtl">
100
- <AnimationContainer>
101
- <Notification themeColor="primary" text="Primary notification" />
102
- </AnimationContainer>
103
- </div>
104
- <div dir="rtl">
105
- <AnimationContainer>
106
- <Notification themeColor="secondary" text="Secondary notification" />
107
- </AnimationContainer>
108
- </div>
109
- <div dir="rtl">
110
- <AnimationContainer>
111
- <Notification themeColor="tertiary" text="Tertiary notification" />
112
- </AnimationContainer>
113
- </div>
114
- <div dir="rtl">
115
- <AnimationContainer>
116
- <Notification themeColor="info" text="Info notification" icon="info-circle" />
117
- </AnimationContainer>
118
- </div>
119
- <div dir="rtl">
120
- <AnimationContainer>
121
- <Notification themeColor="success" text="Success notification" icon="check-outline" />
122
- </AnimationContainer>
123
- </div>
124
- <div dir="rtl">
125
- <AnimationContainer>
126
- <Notification themeColor="warning" text="Warning notification" icon="exclamation-circle" />
127
- </AnimationContainer>
128
- </div>
129
- <div dir="rtl">
130
- <AnimationContainer>
131
- <Notification themeColor="error" text="Error notification" icon="x-outline" />
46
+ <NotificationNormal text="Default notification" />
132
47
  </AnimationContainer>
133
48
  </div>
134
49
  <div dir="rtl">
135
50
  <AnimationContainer>
136
- <Notification themeColor="dark" text="Dark notification" />
51
+ <IconNotification text="Icon notification" />
137
52
  </AnimationContainer>
138
53
  </div>
139
54
  <div dir="rtl">
140
55
  <AnimationContainer>
141
- <Notification themeColor="light" text="Light notification" />
56
+ <NotificationClosable text="Closable notification" />
142
57
  </AnimationContainer>
143
58
  </div>
144
59
  <div dir="rtl">
145
60
  <AnimationContainer>
146
- <Notification themeColor="inverse" text="Inverse notification" />
61
+ <IconNotificationClosable text="Closable notification with icon" />
147
62
  </AnimationContainer>
148
63
  </div>
149
64
 
@@ -1,5 +1,5 @@
1
1
  import { Button } from '../../button';
2
- import { Upload } from '../../upload';
2
+ import { UploadNormal } from '../../upload';
3
3
  import { Toolbar } from '../../toolbar';
4
4
  import { Pager } from '../../pager';
5
5
  import { Dropzone } from '../../dropzone';
@@ -31,7 +31,7 @@ export default () =>(
31
31
  <div className="k-pdf-viewer-pages">
32
32
  <div className="k-page k-blank-page">
33
33
  <Dropzone note={false}/>
34
- <Upload async empty status="upload"></Upload>
34
+ <UploadNormal empty status="upload"></UploadNormal>
35
35
  </div>
36
36
  </div>
37
37
  </div>
@@ -1,4 +1,4 @@
1
- import { Window } from '../../window';
1
+ import { WindowNormal } from '../../window';
2
2
  import { Button } from '../../button';
3
3
  import { Checkbox } from '../../checkbox';
4
4
  import { Textarea } from '../../textarea';
@@ -29,7 +29,7 @@ export default () =>(
29
29
  <div id="test-area" className="k-d-grid k-grid-cols-1">
30
30
 
31
31
  <section>
32
- <Window title="Edit event" actions={[ 'window-minimize', 'window', 'x' ]} actionButtonsAlign="start" actionButtons={
32
+ <WindowNormal title="Edit event" actionButtonsAlign="start" actionButtons={
33
33
  <>
34
34
  <Button themeColor="primary" icon="save">Save</Button>
35
35
  <Button icon="cancel">Cancel</Button>
@@ -96,7 +96,7 @@ export default () =>(
96
96
  <FormField label="Owner" editor={ <Combobox placeholder="Select owner" /> }/>
97
97
  <FormField label="Atendee" optional editor={ <MultiSelect placeholder="Invite people" /> }/>
98
98
  </Form>
99
- </Window>
99
+ </WindowNormal>
100
100
  </section>
101
101
  </div>
102
102
  </>
@@ -1,4 +1,4 @@
1
- import { Window } from '../../window';
1
+ import { WindowNormal } from '../../window';
2
2
  import { Button } from '../../button';
3
3
  import { Checkbox } from '../../checkbox';
4
4
  import { Textarea } from '../../textarea';
@@ -29,7 +29,7 @@ export default () =>(
29
29
 
30
30
  <section>
31
31
 
32
- <Window title="Edit event" actions={[ 'window-minimize', 'window', 'x' ]} actionButtonsAlign="start" actionButtons={
32
+ <WindowNormal title="Edit event" actionButtonsAlign="start" actionButtons={
33
33
  <>
34
34
  <Button themeColor="primary" icon="save">Save</Button>
35
35
  <Button icon="cancel">Cancel</Button>
@@ -119,7 +119,7 @@ export default () =>(
119
119
  <FormField label="Owner" editor={ <Combobox placeholder="Select owner" /> }/>
120
120
  <FormField label="Atendee" optional editor={ <MultiSelect placeholder="Invite people" /> }/>
121
121
  </Form>
122
- </Window>
122
+ </WindowNormal>
123
123
 
124
124
  </section>
125
125
 
@@ -1,4 +1,4 @@
1
- import { Window } from '../../window';
1
+ import { WindowNormal } from '../../window';
2
2
  import { Button } from '../../button';
3
3
  import { Form, FormField } from '../../form';
4
4
  import { Textbox } from '../../textbox';
@@ -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="Data Validation" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="start" actionButtons={
23
+ <WindowNormal title="Data Validation" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="start" actionButtons={
24
24
  <>
25
25
  <Button themeColor="primary">Apply</Button>
26
26
  <Button>Cancel</Button>
@@ -54,18 +54,18 @@ export default () =>(
54
54
  </>
55
55
  } />
56
56
  </Form>
57
- </Window>
57
+ </WindowNormal>
58
58
  </section>
59
59
 
60
60
  <section>
61
- <Window title="Birth Date validaiton error" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="start" actionButtons={
61
+ <WindowNormal title="Birth Date validaiton error" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="start" actionButtons={
62
62
  <>
63
63
  <Button themeColor="primary">Retry</Button>
64
64
  <Button>Cancel</Button>
65
65
  </>
66
66
  }>
67
67
  Birth Date should be between 1899 and 1998 year.
68
- </Window>
68
+ </WindowNormal>
69
69
  </section>
70
70
 
71
71
  </div>
@@ -1,9 +1,9 @@
1
- import { Window } from '../../window';
1
+ import { WindowNormal } from '../../window';
2
2
  import { Button } from '../../button';
3
3
  import { Form, FormField } from '../../form';
4
4
  import { Textbox } from '../../textbox';
5
5
  import { DropdownList } from '../../dropdownlist';
6
- import { Upload } from '../../upload';
6
+ import { UploadNormal } from '../../upload';
7
7
  import { Dropzone } from '../../dropzone';
8
8
 
9
9
 
@@ -20,18 +20,18 @@ export default () =>(
20
20
  <div id="test-area" className="k-d-grid k-grid-cols-2">
21
21
 
22
22
  <section>
23
- <Window title="Create new file" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="stretched" actionButtons={
23
+ <WindowNormal title="Create new file" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="stretched" actionButtons={
24
24
  <>
25
25
  <Button themeColor="primary">Create new file</Button>
26
26
  <Button>Cancel</Button>
27
27
  </>
28
28
  }>
29
29
  <p>Are you sure you want to close this file without saving it and create a new one?</p>
30
- </Window>
30
+ </WindowNormal>
31
31
  </section>
32
32
 
33
33
  <section>
34
- <Window title="Save" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="start" actionButtons={
34
+ <WindowNormal title="Save" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="start" actionButtons={
35
35
  <>
36
36
  <Button themeColor="primary">Save</Button>
37
37
  <Button>Cancel</Button>
@@ -42,11 +42,11 @@ export default () =>(
42
42
 
43
43
  <FormField label="Save as type" editor={ <DropdownList placeholder="Excel Workbook (.xlsx)" />}></FormField>
44
44
  </Form>
45
- </Window>
45
+ </WindowNormal>
46
46
  </section>
47
47
 
48
48
  <section>
49
- <Window title="Open file" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="start" actionButtons={
49
+ <WindowNormal title="Open file" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="start" actionButtons={
50
50
  <>
51
51
  <Button themeColor="primary">Open</Button>
52
52
  <Button>Cancel</Button>
@@ -54,8 +54,8 @@ export default () =>(
54
54
  }>
55
55
  <Dropzone note={false} />
56
56
 
57
- <Upload async status="upload"></Upload>
58
- </Window>
57
+ <UploadNormal status="upload"/>
58
+ </WindowNormal>
59
59
  </section>
60
60
 
61
61
  </div>
@@ -1,4 +1,4 @@
1
- import { Window } from '../../window';
1
+ import { WindowNormal } from '../../window';
2
2
  import { Button } from '../../button';
3
3
  import { Form, FormField } from '../../form';
4
4
  import { Textbox } from '../../textbox';
@@ -17,7 +17,7 @@ export default () =>(
17
17
  <div id="test-area" className="k-d-grid k-grid-cols-2">
18
18
 
19
19
  <section>
20
- <Window title="Find and Replace" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="start" actionButtons={
20
+ <WindowNormal title="Find and Replace" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="start" actionButtons={
21
21
  <>
22
22
  <Button themeColor="primary">Done</Button>
23
23
  <Button>Find</Button>
@@ -30,7 +30,7 @@ export default () =>(
30
30
  <FormField label="Replace with" editor={ <Textbox placeholder="Placeholder" /> }/>
31
31
  <FormField label="Search within" editor={ <DropdownList value="All Sheets" /> } />
32
32
  </Form>
33
- </Window>
33
+ </WindowNormal>
34
34
  </section>
35
35
 
36
36
  </div>
@@ -1,4 +1,4 @@
1
- import { Window } from '../../window';
1
+ import { WindowNormal } from '../../window';
2
2
  import { Button } from '../../button';
3
3
  import { Form, FormField } from '../../form';
4
4
  import { Textbox } from '../../textbox';
@@ -23,7 +23,7 @@ export default () =>(
23
23
  <div id="test-area" className="k-d-grid k-grid-cols-2">
24
24
 
25
25
  <section>
26
- <Window title="Custom Format" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="start" actionButtons={
26
+ <WindowNormal title="Custom Format" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="start" actionButtons={
27
27
  <>
28
28
  <Button themeColor="primary">Apply</Button>
29
29
  <Button>Cancel</Button>
@@ -42,11 +42,11 @@ export default () =>(
42
42
  </ListBox>
43
43
  }/>
44
44
  </Form>
45
- </Window>
45
+ </WindowNormal>
46
46
  </section>
47
47
 
48
48
  <section>
49
- <Window title="Conditional Formatting" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="start" actionButtons={
49
+ <WindowNormal title="Conditional Formatting" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="start" actionButtons={
50
50
  <>
51
51
  <Button themeColor="primary">Apply</Button>
52
52
  <Button>Cancel</Button>
@@ -68,7 +68,7 @@ export default () =>(
68
68
  </Toolbar>
69
69
  } />
70
70
  </Form>
71
- </Window>
71
+ </WindowNormal>
72
72
  </section>
73
73
 
74
74
  </div>
@@ -1,4 +1,4 @@
1
- import { Window } from '../../window';
1
+ import { WindowNormal } from '../../window';
2
2
  import { Button } from '../../button';
3
3
  import { Form, FormField } from '../../form';
4
4
  import { DropdownList } from '../../dropdownlist';
@@ -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="Insert formula" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="start" actionButtons={
22
+ <WindowNormal title="Insert formula" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="start" actionButtons={
23
23
  <>
24
24
  <Button themeColor="primary">Apply</Button>
25
25
  <Button>Cancel</Button>
@@ -37,7 +37,7 @@ export default () =>(
37
37
  </ListBox>
38
38
  } />
39
39
  </Form>
40
- </Window>
40
+ </WindowNormal>
41
41
  </section>
42
42
 
43
43
  </div>