@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.
- package/dist/cjs/context-menu/tests/context-menu-in-window.js +45 -31
- package/dist/cjs/dialog/tests/dialog-in-window.js +32 -18
- package/dist/cjs/editor/tests/editor-find-replace.js +86 -72
- package/dist/cjs/editor/tests/editor-image-editor.js +48 -34
- package/dist/cjs/editor/tests/editor-table-wizard.js +115 -101
- package/dist/cjs/editor/tests/editor-view-source.js +47 -33
- package/dist/cjs/fab/fab-item.js +1 -0
- package/dist/cjs/fab/templates/icon-fab.js +4426 -0
- package/dist/cjs/fab/templates/icon-text-fab.js +4427 -0
- package/dist/cjs/fab/templates/text-fab.js +4426 -0
- package/dist/cjs/fab/tests/fab-items.js +51 -113
- package/dist/cjs/fab/tests/fab-position.js +73 -20
- package/dist/cjs/fab/tests/{fab-size.js → fab-size-rounded.js} +89 -93
- package/dist/cjs/fab/tests/fab-states.js +67 -14
- package/dist/cjs/fab/tests/fab.js +82 -48
- package/dist/cjs/filemanager/tests/filemanager-dialogs.js +35 -19
- package/dist/cjs/form/tests/form-field-inputs-rtl.js +137 -115
- package/dist/cjs/form/tests/form-field-inputs.js +151 -129
- package/dist/cjs/gantt/tests/gantt-editing-popup-general.js +434 -420
- package/dist/cjs/gantt/tests/gantt-editing-popup-other.js +332 -318
- package/dist/cjs/gantt/tests/gantt-editing-popup-predecessors.js +442 -428
- package/dist/cjs/gantt/tests/gantt-editing-popup-resources.js +485 -471
- package/dist/cjs/gantt/tests/gantt-editing-popup-successors.js +442 -428
- package/dist/cjs/grid/tests/grid-column-resizing-actions.js +140 -126
- package/dist/cjs/grid/tests/grid-editing-popup.js +375 -361
- package/dist/cjs/index.js +1935 -1659
- package/dist/cjs/multiselecttree/multiselecttree.spec.js +712 -18
- package/dist/cjs/multiselecttree/templates/multiselecttree-adaptive.js +5837 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-arrow-button.js +5837 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-filtering.js +5968 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-normal.js +5831 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-popup.js +5855 -0
- package/dist/cjs/multiselecttree/templates/multiselecttree-value.js +5869 -0
- package/dist/cjs/multiselecttree/tests/multiselecttree-adaptive.js +5984 -0
- package/dist/cjs/multiselecttree/tests/multiselecttree-flat.js +887 -147
- package/dist/cjs/multiselecttree/tests/multiselecttree-opened.js +1283 -937
- package/dist/cjs/multiselecttree/tests/multiselecttree-outline.js +887 -147
- package/dist/cjs/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +865 -150
- package/dist/cjs/multiselecttree/tests/multiselecttree-solid.js +6048 -0
- package/dist/cjs/notification/index.js +51 -1
- package/dist/cjs/notification/templates/icon-notification-closable.js +4389 -0
- package/dist/cjs/notification/templates/icon-notification.js +4368 -0
- package/dist/cjs/notification/templates/notification-closable.js +4388 -0
- package/dist/cjs/notification/templates/notification-normal.js +4367 -0
- package/dist/cjs/notification/tests/notification-angular-colors.js +4404 -0
- package/dist/cjs/notification/tests/notification-angular.js +60 -34
- package/dist/cjs/notification/tests/notification-custom-angular.js +48 -20
- package/dist/cjs/notification/tests/notification-jquery-colors.js +4441 -0
- package/dist/cjs/notification/tests/notification-jquery.js +63 -37
- package/dist/cjs/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
- package/dist/cjs/scheduler/tests/scheduler-edit-dialog.js +530 -516
- package/dist/cjs/scheduler/tests/scheduler-editing-weekly.js +544 -530
- package/dist/cjs/spreadsheet/tests/spreadsheet-data-validation.js +194 -180
- package/dist/cjs/spreadsheet/tests/spreadsheet-file-dialogs.js +235 -205
- package/dist/cjs/spreadsheet/tests/spreadsheet-find-replace-dialog.js +169 -155
- package/dist/cjs/spreadsheet/tests/spreadsheet-format-dialogs.js +471 -457
- package/dist/cjs/spreadsheet/tests/spreadsheet-formula-dialog.js +167 -153
- package/dist/cjs/spreadsheet/tests/spreadsheet-insert-dialogs.js +267 -237
- package/dist/cjs/spreadsheet/tests/spreadsheet-print.js +243 -229
- package/dist/cjs/spreadsheet/tests/spreadsheet-sheets-bar.js +123 -109
- package/dist/cjs/treelist/tests/treelist-editing-popup.js +317 -303
- package/dist/cjs/upload/templates/upload-batch.js +4846 -0
- package/dist/cjs/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +396 -768
- package/dist/cjs/upload/templates/upload-normal.js +4761 -0
- package/dist/cjs/upload/tests/upload-rtl.js +67 -49
- package/dist/cjs/upload/tests/upload-states.js +4782 -0
- package/dist/cjs/upload/tests/upload.js +62 -36
- package/dist/cjs/upload/upload.spec.js +1 -1
- package/dist/cjs/window/templates/window-normal.js +4546 -0
- package/dist/cjs/window/tests/window-action-buttons.js +30 -16
- package/dist/cjs/window/tests/window-rtl.js +23 -9
- package/dist/cjs/window/tests/window-theme-colors.js +22 -9
- package/dist/cjs/window/tests/window.js +23 -9
- package/dist/esm/context-menu/tests/context-menu-in-window.js +43 -29
- package/dist/esm/dialog/tests/dialog-in-window.js +30 -16
- package/dist/esm/editor/tests/editor-find-replace.js +78 -64
- package/dist/esm/editor/tests/editor-image-editor.js +41 -27
- package/dist/esm/editor/tests/editor-table-wizard.js +110 -96
- package/dist/esm/editor/tests/editor-view-source.js +46 -32
- package/dist/esm/fab/fab-item.js +1 -0
- package/dist/esm/fab/templates/icon-fab.js +4410 -0
- package/dist/esm/fab/templates/icon-text-fab.js +4411 -0
- package/dist/esm/fab/templates/text-fab.js +4410 -0
- package/dist/esm/fab/tests/fab-items.js +49 -111
- package/dist/esm/fab/tests/fab-position.js +71 -18
- package/dist/esm/fab/tests/{fab-size.js → fab-size-rounded.js} +85 -89
- package/dist/esm/fab/tests/fab-states.js +64 -11
- package/dist/esm/fab/tests/fab.js +80 -46
- package/dist/esm/filemanager/tests/filemanager-dialogs.js +35 -19
- package/dist/esm/form/tests/form-field-inputs-rtl.js +137 -115
- package/dist/esm/form/tests/form-field-inputs.js +151 -129
- package/dist/esm/gantt/tests/gantt-editing-popup-general.js +381 -367
- package/dist/esm/gantt/tests/gantt-editing-popup-other.js +290 -276
- package/dist/esm/gantt/tests/gantt-editing-popup-predecessors.js +386 -372
- package/dist/esm/gantt/tests/gantt-editing-popup-resources.js +419 -405
- package/dist/esm/gantt/tests/gantt-editing-popup-successors.js +386 -372
- package/dist/esm/grid/tests/grid-column-resizing-actions.js +117 -103
- package/dist/esm/grid/tests/grid-editing-popup.js +328 -314
- package/dist/esm/index.js +1935 -1659
- package/dist/esm/multiselecttree/multiselecttree.spec.js +712 -18
- package/dist/esm/multiselecttree/templates/multiselecttree-adaptive.js +5821 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-arrow-button.js +5821 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-filtering.js +5952 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-normal.js +5815 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-popup.js +5839 -0
- package/dist/esm/multiselecttree/templates/multiselecttree-value.js +5853 -0
- package/dist/esm/multiselecttree/tests/multiselecttree-adaptive.js +5968 -0
- package/dist/esm/multiselecttree/tests/multiselecttree-flat.js +887 -147
- package/dist/esm/multiselecttree/tests/multiselecttree-opened.js +1337 -991
- package/dist/esm/multiselecttree/tests/multiselecttree-outline.js +887 -147
- package/dist/esm/multiselecttree/tests/{multiselecttree.js → multiselecttree-size-rounded.js} +861 -146
- package/dist/esm/multiselecttree/tests/multiselecttree-solid.js +6032 -0
- package/dist/esm/notification/index.js +51 -1
- package/dist/esm/notification/templates/icon-notification-closable.js +4373 -0
- package/dist/esm/notification/templates/icon-notification.js +4352 -0
- package/dist/esm/notification/templates/notification-closable.js +4372 -0
- package/dist/esm/notification/templates/notification-normal.js +4351 -0
- package/dist/esm/notification/tests/notification-angular-colors.js +4388 -0
- package/dist/esm/notification/tests/notification-angular.js +58 -32
- package/dist/esm/notification/tests/notification-custom-angular.js +46 -18
- package/dist/esm/notification/tests/notification-jquery-colors.js +4425 -0
- package/dist/esm/notification/tests/notification-jquery.js +61 -35
- package/dist/esm/pdf-viewer/tests/pdf-viewer-blank-page.js +457 -441
- package/dist/esm/scheduler/tests/scheduler-edit-dialog.js +466 -452
- package/dist/esm/scheduler/tests/scheduler-editing-weekly.js +479 -465
- package/dist/esm/spreadsheet/tests/spreadsheet-data-validation.js +179 -165
- package/dist/esm/spreadsheet/tests/spreadsheet-file-dialogs.js +215 -185
- package/dist/esm/spreadsheet/tests/spreadsheet-find-replace-dialog.js +155 -141
- package/dist/esm/spreadsheet/tests/spreadsheet-format-dialogs.js +409 -395
- package/dist/esm/spreadsheet/tests/spreadsheet-formula-dialog.js +153 -139
- package/dist/esm/spreadsheet/tests/spreadsheet-insert-dialogs.js +253 -223
- package/dist/esm/spreadsheet/tests/spreadsheet-print.js +218 -204
- package/dist/esm/spreadsheet/tests/spreadsheet-sheets-bar.js +108 -94
- package/dist/esm/treelist/tests/treelist-editing-popup.js +275 -261
- package/dist/esm/upload/templates/upload-batch.js +4830 -0
- package/dist/esm/{multiselecttree/tests/multiselecttree-size.js → upload/templates/upload-chunk.js} +392 -764
- package/dist/esm/upload/templates/upload-normal.js +4745 -0
- package/dist/esm/upload/tests/upload-rtl.js +67 -49
- package/dist/esm/upload/tests/upload-states.js +4766 -0
- package/dist/esm/upload/tests/upload.js +62 -36
- package/dist/esm/upload/upload.spec.js +1 -1
- package/dist/esm/window/templates/window-normal.js +4530 -0
- package/dist/esm/window/tests/window-action-buttons.js +29 -15
- package/dist/esm/window/tests/window-rtl.js +22 -8
- package/dist/esm/window/tests/window-theme-colors.js +22 -9
- package/dist/esm/window/tests/window.js +22 -8
- package/dist/types/fab/fab-item.d.ts +4 -1
- package/dist/types/fab/index.d.ts +3 -0
- package/dist/types/fab/templates/icon-fab.d.ts +1 -0
- package/dist/types/fab/templates/icon-text-fab.d.ts +1 -0
- package/dist/types/fab/templates/text-fab.d.ts +1 -0
- package/dist/types/multiselecttree/index.d.ts +6 -0
- package/dist/types/multiselecttree/multiselecttree.spec.d.ts +3 -0
- package/dist/types/multiselecttree/templates/multiselecttree-adaptive.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-arrow-button.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-filtering.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-normal.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-popup.d.ts +1 -0
- package/dist/types/multiselecttree/templates/multiselecttree-value.d.ts +1 -0
- package/dist/types/multiselecttree/tests/multiselecttree-solid.d.ts +2 -0
- package/dist/types/notification/index.d.ts +4 -0
- package/dist/types/notification/templates/icon-notification-closable.d.ts +1 -0
- package/dist/types/notification/templates/icon-notification.d.ts +1 -0
- package/dist/types/notification/templates/notification-closable.d.ts +1 -0
- package/dist/types/notification/templates/notification-normal.d.ts +1 -0
- package/dist/types/notification/tests/notification-angular-colors.d.ts +2 -0
- package/dist/types/notification/tests/notification-jquery-colors.d.ts +2 -0
- package/dist/types/upload/index.d.ts +3 -0
- package/dist/types/upload/templates/upload-batch.d.ts +1 -0
- package/dist/types/upload/templates/upload-chunk.d.ts +1 -0
- package/dist/types/upload/templates/upload-normal.d.ts +1 -0
- package/dist/types/upload/tests/upload-states.d.ts +2 -0
- package/dist/types/window/index.d.ts +1 -0
- package/dist/types/window/templates/window-normal.d.ts +1 -0
- package/package.json +2 -2
- package/src/context-menu/tests/context-menu-in-window.tsx +3 -3
- package/src/dialog/tests/dialog-in-window.tsx +3 -3
- package/src/editor/tests/editor-find-replace.tsx +5 -5
- package/src/editor/tests/editor-image-editor.tsx +3 -3
- package/src/editor/tests/editor-table-wizard.tsx +7 -7
- package/src/editor/tests/editor-view-source.tsx +3 -3
- package/src/fab/fab-item.tsx +2 -0
- package/src/fab/index.ts +3 -0
- package/src/fab/templates/icon-fab.tsx +7 -0
- package/src/fab/templates/icon-text-fab.tsx +8 -0
- package/src/fab/templates/text-fab.tsx +7 -0
- package/src/fab/tests/fab-items.tsx +57 -127
- package/src/fab/tests/fab-position.tsx +9 -9
- package/src/fab/tests/fab-size-rounded.tsx +35 -0
- package/src/fab/tests/fab-states.tsx +2 -2
- package/src/fab/tests/fab.tsx +14 -110
- package/src/filemanager/tests/filemanager-dialogs.tsx +2 -2
- package/src/form/tests/form-field-inputs-rtl.tsx +5 -5
- package/src/form/tests/form-field-inputs.tsx +5 -5
- package/src/gantt/tests/gantt-editing-popup-general.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-other.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-predecessors.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-resources.tsx +3 -3
- package/src/gantt/tests/gantt-editing-popup-successors.tsx +3 -3
- package/src/grid/tests/grid-column-resizing-actions.tsx +3 -3
- package/src/grid/tests/grid-editing-popup.tsx +3 -3
- package/src/multiselecttree/index.ts +6 -0
- package/src/multiselecttree/multiselecttree.spec.tsx +37 -0
- package/src/multiselecttree/templates/multiselecttree-adaptive.tsx +8 -0
- package/src/multiselecttree/templates/multiselecttree-arrow-button.tsx +8 -0
- package/src/multiselecttree/templates/multiselecttree-filtering.tsx +47 -0
- package/src/multiselecttree/templates/multiselecttree-normal.tsx +3 -0
- package/src/multiselecttree/templates/multiselecttree-popup.tsx +36 -0
- package/src/multiselecttree/templates/multiselecttree-value.tsx +12 -0
- package/src/multiselecttree/tests/multiselecttree-adaptive.tsx +33 -0
- package/src/multiselecttree/tests/multiselecttree-flat.tsx +32 -126
- package/src/multiselecttree/tests/multiselecttree-opened.tsx +29 -90
- package/src/multiselecttree/tests/multiselecttree-outline.tsx +32 -126
- package/src/multiselecttree/tests/multiselecttree-size-rounded.tsx +38 -0
- package/src/multiselecttree/tests/multiselecttree-solid.tsx +79 -0
- package/src/notification/index.tsx +4 -0
- package/src/notification/templates/icon-notification-closable.tsx +10 -0
- package/src/notification/templates/icon-notification.tsx +9 -0
- package/src/notification/templates/notification-closable.tsx +9 -0
- package/src/notification/templates/notification-normal.tsx +8 -0
- package/src/notification/tests/notification-angular-colors.tsx +28 -0
- package/src/notification/tests/notification-angular.tsx +10 -95
- package/src/notification/tests/notification-custom-angular.tsx +9 -9
- package/src/notification/tests/notification-jquery-colors.tsx +30 -0
- package/src/notification/tests/notification-jquery.tsx +10 -95
- package/src/pdf-viewer/tests/pdf-viewer-blank-page.tsx +2 -2
- package/src/scheduler/tests/scheduler-edit-dialog.tsx +3 -3
- package/src/scheduler/tests/scheduler-editing-weekly.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-data-validation.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-file-dialogs.tsx +9 -9
- package/src/spreadsheet/tests/spreadsheet-find-replace-dialog.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-format-dialogs.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-formula-dialog.tsx +3 -3
- package/src/spreadsheet/tests/spreadsheet-insert-dialogs.tsx +13 -13
- package/src/spreadsheet/tests/spreadsheet-print.tsx +5 -5
- package/src/spreadsheet/tests/spreadsheet-sheets-bar.tsx +5 -5
- package/src/treelist/tests/treelist-editing-popup.tsx +3 -3
- package/src/upload/index.ts +3 -0
- package/src/upload/templates/upload-batch.tsx +14 -0
- package/src/upload/templates/upload-chunk.tsx +12 -0
- package/src/upload/templates/upload-normal.tsx +7 -0
- package/src/upload/tests/upload-rtl.tsx +35 -48
- package/src/upload/tests/upload-states.tsx +29 -0
- package/src/upload/tests/upload.tsx +34 -39
- package/src/upload/upload.spec.tsx +1 -1
- package/src/window/index.ts +1 -0
- package/src/window/templates/window-normal.tsx +11 -0
- package/src/window/tests/window-action-buttons.tsx +9 -9
- package/src/window/tests/window-rtl.tsx +6 -8
- package/src/window/tests/window-theme-colors.tsx +6 -18
- package/src/window/tests/window.tsx +6 -6
- package/src/fab/tests/fab-size.tsx +0 -109
- package/src/multiselecttree/tests/multiselecttree-size.tsx +0 -50
- package/src/multiselecttree/tests/multiselecttree.tsx +0 -175
- /package/dist/types/fab/tests/{fab-size.d.ts → fab-size-rounded.d.ts} +0 -0
- /package/dist/types/multiselecttree/tests/{multiselecttree-size.d.ts → multiselecttree-adaptive.d.ts} +0 -0
- /package/dist/types/multiselecttree/tests/{multiselecttree.d.ts → multiselecttree-size-rounded.d.ts} +0 -0
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WindowNormal } from '../../window';
|
|
2
2
|
import { Textarea } from '../../textarea';
|
|
3
3
|
import { Button } from '../../button';
|
|
4
4
|
import { Form, FormField } from '../../form';
|
|
5
5
|
import { Textbox } from '../../textbox';
|
|
6
|
-
import {
|
|
6
|
+
import { UploadNormal } from '../../upload';
|
|
7
7
|
import { Dropzone } from '../../dropzone';
|
|
8
8
|
import { DropdownList } from '../../dropdownlist';
|
|
9
9
|
import { ListBox } from '../../listbox';
|
|
@@ -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
|
-
<
|
|
26
|
+
<WindowNormal title="Insert comment" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="start" actionButtons={
|
|
27
27
|
<>
|
|
28
28
|
<Button themeColor="primary">Insert</Button>
|
|
29
29
|
<Button>Cancel</Button>
|
|
@@ -34,11 +34,11 @@ export default () =>(
|
|
|
34
34
|
<Form>
|
|
35
35
|
<FormField label="Comment" editor={ <Textarea /> }/>
|
|
36
36
|
</Form>
|
|
37
|
-
</
|
|
37
|
+
</WindowNormal>
|
|
38
38
|
</section>
|
|
39
39
|
|
|
40
40
|
<section>
|
|
41
|
-
<
|
|
41
|
+
<WindowNormal title="Insert image" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="start" actionButtons={
|
|
42
42
|
<>
|
|
43
43
|
<Button themeColor="primary">Insert</Button>
|
|
44
44
|
<Button>Cancel</Button>
|
|
@@ -46,12 +46,12 @@ export default () =>(
|
|
|
46
46
|
}>
|
|
47
47
|
<Dropzone />
|
|
48
48
|
|
|
49
|
-
<
|
|
50
|
-
</
|
|
49
|
+
<UploadNormal status="upload"></UploadNormal>
|
|
50
|
+
</WindowNormal>
|
|
51
51
|
</section>
|
|
52
52
|
|
|
53
53
|
<section>
|
|
54
|
-
<
|
|
54
|
+
<WindowNormal title="Insert Link" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="start" actionButtons={
|
|
55
55
|
<>
|
|
56
56
|
<Button themeColor="primary">Insert</Button>
|
|
57
57
|
<Button>Cancel</Button>
|
|
@@ -63,11 +63,11 @@ export default () =>(
|
|
|
63
63
|
<FormField label="Select link" editor={ <DropdownList value="URL" /> } />
|
|
64
64
|
<FormField label="URL address" editor={ <Textbox value="Input value" /> } />
|
|
65
65
|
</Form>
|
|
66
|
-
</
|
|
66
|
+
</WindowNormal>
|
|
67
67
|
</section>
|
|
68
68
|
|
|
69
69
|
<section>
|
|
70
|
-
<
|
|
70
|
+
<WindowNormal title="Insert Link" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="start" actionButtons={
|
|
71
71
|
<>
|
|
72
72
|
<Button themeColor="primary">Insert</Button>
|
|
73
73
|
<Button>Cancel</Button>
|
|
@@ -87,11 +87,11 @@ export default () =>(
|
|
|
87
87
|
</ListBox>
|
|
88
88
|
}/>
|
|
89
89
|
</Form>
|
|
90
|
-
</
|
|
90
|
+
</WindowNormal>
|
|
91
91
|
</section>
|
|
92
92
|
|
|
93
93
|
<section>
|
|
94
|
-
<
|
|
94
|
+
<WindowNormal title="Insert Chart" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="start" actionButtons={
|
|
95
95
|
<>
|
|
96
96
|
<Button themeColor="primary">Insert</Button>
|
|
97
97
|
<Button>Cancel</Button>
|
|
@@ -100,7 +100,7 @@ export default () =>(
|
|
|
100
100
|
<Form>
|
|
101
101
|
<FormField label="Select chart type" editor={ <DropdownList value="Donut" /> } />
|
|
102
102
|
</Form>
|
|
103
|
-
</
|
|
103
|
+
</WindowNormal>
|
|
104
104
|
</section>
|
|
105
105
|
|
|
106
106
|
</div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WindowNormal } from '../../window';
|
|
2
2
|
import { Button } from '../../button';
|
|
3
3
|
import { Fieldset, Form, FormField } from '../../form';
|
|
4
4
|
import { RadioButtonWithLabelAfter, RadioGroup, RadioItem } from '../../radio';
|
|
@@ -20,7 +20,7 @@ export default () =>(
|
|
|
20
20
|
<div id="test-area" className="k-d-grid k-grid-cols-1">
|
|
21
21
|
|
|
22
22
|
<section>
|
|
23
|
-
<
|
|
23
|
+
<WindowNormal style={{ width: "620px" }} title="Print" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="start" actionButtons={
|
|
24
24
|
<>
|
|
25
25
|
<Button themeColor="primary">Save</Button>
|
|
26
26
|
</>
|
|
@@ -127,11 +127,11 @@ export default () =>(
|
|
|
127
127
|
</Form>
|
|
128
128
|
</div>
|
|
129
129
|
</div>
|
|
130
|
-
</
|
|
130
|
+
</WindowNormal>
|
|
131
131
|
</section>
|
|
132
132
|
|
|
133
133
|
<section>
|
|
134
|
-
<
|
|
134
|
+
<WindowNormal style={{ width: "620px" }} title="Print" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="start" actionButtons={
|
|
135
135
|
<>
|
|
136
136
|
<Button themeColor="primary">Save</Button>
|
|
137
137
|
</>
|
|
@@ -172,7 +172,7 @@ export default () =>(
|
|
|
172
172
|
</Form>
|
|
173
173
|
</div>
|
|
174
174
|
</div>
|
|
175
|
-
</
|
|
175
|
+
</WindowNormal>
|
|
176
176
|
</section>
|
|
177
177
|
</div>
|
|
178
178
|
</>
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { Button } from "../../button";
|
|
2
2
|
import { MenuList, MenuItem, MenuSeparator } from "../../menu";
|
|
3
3
|
import { MenuButton } from "../../menu-button";
|
|
4
|
-
import {
|
|
4
|
+
import { WindowNormal } from "../../window";
|
|
5
5
|
import { Popup } from "../../popup";
|
|
6
6
|
import { Form, FormField } from "../../form";
|
|
7
7
|
import { Textbox } from "../../textbox";
|
|
@@ -93,7 +93,7 @@ export default () =>(
|
|
|
93
93
|
|
|
94
94
|
<span>Sheets Bar Rename</span>
|
|
95
95
|
<section>
|
|
96
|
-
<
|
|
96
|
+
<WindowNormal title="Rename Sheet" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="stretched" actionButtons={
|
|
97
97
|
<>
|
|
98
98
|
<Button themeColor="primary">Rename</Button>
|
|
99
99
|
<Button>Cancel</Button>
|
|
@@ -102,12 +102,12 @@ export default () =>(
|
|
|
102
102
|
<Form>
|
|
103
103
|
<FormField label="Rename sheet" editor={ <Textbox placeholder="Sheet name"/> }></FormField>
|
|
104
104
|
</Form>
|
|
105
|
-
</
|
|
105
|
+
</WindowNormal>
|
|
106
106
|
</section>
|
|
107
107
|
|
|
108
108
|
<span>Sheets Bar Delete</span>
|
|
109
109
|
<section>
|
|
110
|
-
<
|
|
110
|
+
<WindowNormal title="Delete Sheet" actions={[ 'x' ]} className="k-spreadsheet-window" actionButtonsAlign="stretched" actionButtons={
|
|
111
111
|
<>
|
|
112
112
|
<Button themeColor="primary">Delete</Button>
|
|
113
113
|
<Button>Cancel</Button>
|
|
@@ -115,7 +115,7 @@ export default () =>(
|
|
|
115
115
|
}>
|
|
116
116
|
<p>The deleted sheet data will be lost.</p>
|
|
117
117
|
<p>Are you sure you want to proceed?</p>
|
|
118
|
-
</
|
|
118
|
+
</WindowNormal>
|
|
119
119
|
</section>
|
|
120
120
|
|
|
121
121
|
</div>
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { WindowNormal } from '../../window';
|
|
2
2
|
import { Checkbox } from '../../checkbox';
|
|
3
3
|
import { NumericTextbox } from '../../numerictextbox';
|
|
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-1">
|
|
24
24
|
|
|
25
25
|
<section>
|
|
26
|
-
<
|
|
26
|
+
<WindowNormal title="Add item" actionButtonsAlign="start" actionButtons={
|
|
27
27
|
<>
|
|
28
28
|
<Button themeColor="primary" icon="save">Save</Button>
|
|
29
29
|
<Button icon="cancel">Cancel</Button>
|
|
@@ -53,7 +53,7 @@ export default () =>(
|
|
|
53
53
|
}
|
|
54
54
|
/>
|
|
55
55
|
</Form>
|
|
56
|
-
</
|
|
56
|
+
</WindowNormal>
|
|
57
57
|
</section>
|
|
58
58
|
|
|
59
59
|
</div>
|
package/src/upload/index.ts
CHANGED
|
@@ -3,3 +3,6 @@ export * from './upload-dropzone';
|
|
|
3
3
|
export * from './upload-file';
|
|
4
4
|
export * from './upload-file-multiple';
|
|
5
5
|
export * from './upload-file-info';
|
|
6
|
+
export * from './templates/upload-chunk';
|
|
7
|
+
export * from './templates/upload-batch';
|
|
8
|
+
export * from './templates/upload-normal';
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { Upload, UploadFileMultiple, UploadFileInfo } from "..";
|
|
2
|
+
|
|
3
|
+
export const UploadBatch = (props) => (
|
|
4
|
+
<Upload async children={[
|
|
5
|
+
<>
|
|
6
|
+
<UploadFileMultiple fileSummary="Total: 2 files, 157.66 KB">
|
|
7
|
+
<UploadFileInfo name="Video1_File_with_Very_Very_Very_Very_Long_Name.png" size="51.23 KB"></UploadFileInfo>
|
|
8
|
+
<UploadFileInfo name="Image2.jpg" size="106.43 KB"></UploadFileInfo>
|
|
9
|
+
</UploadFileMultiple>
|
|
10
|
+
</>
|
|
11
|
+
]}
|
|
12
|
+
{...props}>
|
|
13
|
+
</Upload>
|
|
14
|
+
);
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { UploadFile, Upload } from "..";
|
|
2
|
+
|
|
3
|
+
export const UploadChunk = (props) => (
|
|
4
|
+
<Upload async children={[
|
|
5
|
+
<>
|
|
6
|
+
<UploadFile name="Image_With_Very_Very_Very_Very_Very_Long_Name1.png" icon="file-image" size="51.23 KB"></UploadFile>
|
|
7
|
+
<UploadFile name="Image2.jpg" icon="file-image" size="106.43 KB"></UploadFile>
|
|
8
|
+
</>
|
|
9
|
+
]}
|
|
10
|
+
{...props}>
|
|
11
|
+
</Upload>
|
|
12
|
+
);
|
|
@@ -1,81 +1,68 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
const style = `
|
|
5
|
-
#test-area section {
|
|
6
|
-
max-width: 400px;
|
|
7
|
-
}
|
|
8
|
-
`;
|
|
1
|
+
import { UploadFile, UploadFileMultiple, UploadFileInfo, UploadChunk, UploadBatch } from '..';
|
|
9
2
|
|
|
10
3
|
|
|
11
4
|
export default () =>(
|
|
12
5
|
<>
|
|
13
|
-
<style>{style}</style>
|
|
14
6
|
<div id="test-area" className="k-d-grid k-grid-cols-2 k-rtl">
|
|
15
7
|
|
|
8
|
+
<span>Chunk Upload RTL</span>
|
|
9
|
+
<span>Batch Upload RTL</span>
|
|
10
|
+
|
|
16
11
|
<section>
|
|
17
|
-
<
|
|
18
|
-
<UploadFile progress="60" status="error" validationMsg="File type not allowed." name="Video_File_with_Very_Very_Very_Very_Long_Name.jpg" icon="file-image"></UploadFile>
|
|
19
|
-
<UploadFile progress="60" status="progress" name="Document.txt" icon="file-pdf" size="225.68 KB" state="uploaded"></UploadFile>
|
|
20
|
-
</Upload>
|
|
12
|
+
<UploadChunk actions status="upload" />
|
|
21
13
|
</section>
|
|
22
14
|
|
|
23
15
|
<section>
|
|
24
|
-
<
|
|
25
|
-
<UploadFile progress="60" status="success" validationMsg="File(s) uploaded successfully." name="Image1_With_Very_Very_Very_Very_Long_Name.png" icon="file-image"></UploadFile>
|
|
26
|
-
<UploadFile progress="60" status="success" validationMsg="File(s) uploaded successfully." name="Image2.png" icon="file-image" state="uploaded"></UploadFile>
|
|
27
|
-
</Upload>
|
|
16
|
+
<UploadBatch actions status="upload" />
|
|
28
17
|
</section>
|
|
29
18
|
|
|
30
19
|
<section>
|
|
31
|
-
<
|
|
32
|
-
<
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
<UploadFileInfo name="Video3.png" size="24.34 KB"></UploadFileInfo>
|
|
36
|
-
<UploadFileInfo name="Video4.png" size="19.85 KB"></UploadFileInfo>
|
|
37
|
-
</UploadFileMultiple>
|
|
38
|
-
</Upload>
|
|
20
|
+
<UploadChunk status="uploading">
|
|
21
|
+
<UploadFile progress="50" status="progress" name="Document1_With_Very_Very_Very_Very_Very_Long_Name.txt" icon="file-pdf" size="225.68 KB"></UploadFile>
|
|
22
|
+
<UploadFile progress="70" status="progress" name="Document2.txt" icon="file-pdf" size="225.68 KB"></UploadFile>
|
|
23
|
+
</UploadChunk>
|
|
39
24
|
</section>
|
|
40
25
|
|
|
41
26
|
<section>
|
|
42
|
-
<
|
|
43
|
-
<UploadFileMultiple status="progress" fileSummary="Total:
|
|
44
|
-
<UploadFileInfo name="
|
|
45
|
-
<UploadFileInfo name="
|
|
46
|
-
<UploadFileInfo name="Video4.png" size="19.85 KB"></UploadFileInfo>
|
|
27
|
+
<UploadBatch status="uploading">
|
|
28
|
+
<UploadFileMultiple status="progress" fileSummary="Total: 2 files, 39.66 KB" progress="70">
|
|
29
|
+
<UploadFileInfo name="Video1_File_with_Very_Very_Very_Very_Long_Name.png" size="19.61 KB"></UploadFileInfo>
|
|
30
|
+
<UploadFileInfo name="Image2.png" size="19.85 KB"></UploadFileInfo>
|
|
47
31
|
</UploadFileMultiple>
|
|
48
|
-
</
|
|
32
|
+
</UploadBatch>
|
|
49
33
|
</section>
|
|
50
34
|
|
|
51
35
|
<section>
|
|
52
|
-
<
|
|
53
|
-
<
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
<UploadFileInfo name="Image1.jpg" size="1.09 MB"></UploadFileInfo>
|
|
57
|
-
<UploadFileInfo name="Image2.jpg" size="1.09 MB"></UploadFileInfo>
|
|
58
|
-
</UploadFileMultiple>
|
|
59
|
-
</Upload>
|
|
36
|
+
<UploadChunk status="done">
|
|
37
|
+
<UploadFile status="success" validationMsg="File(s) uploaded successfully." name="Image1_With_Very_Very_Very_Very_Very_Long_Name.png" icon="file-image"></UploadFile>
|
|
38
|
+
<UploadFile status="success" validationMsg="File(s) uploaded successfully." name="Image2.png" icon="file-image"></UploadFile>
|
|
39
|
+
</UploadChunk>
|
|
60
40
|
</section>
|
|
61
41
|
|
|
62
42
|
<section>
|
|
63
|
-
<
|
|
64
|
-
<
|
|
65
|
-
|
|
66
|
-
|
|
43
|
+
<UploadBatch status="done">
|
|
44
|
+
<UploadFileMultiple status="success" validationMsg="2 File(s) uploaded successfully" fileSummary="Total: 4 files, 39.46 KB">
|
|
45
|
+
<UploadFileInfo name="Video1_File_with_Very_Very_Very_Very_Long_Name.png" size="19.61 KB"></UploadFileInfo>
|
|
46
|
+
<UploadFileInfo name="Image2.png" size="24.34 KB"></UploadFileInfo>
|
|
47
|
+
</UploadFileMultiple>
|
|
48
|
+
</UploadBatch>
|
|
67
49
|
</section>
|
|
68
50
|
|
|
69
51
|
<section>
|
|
70
|
-
<
|
|
71
|
-
|
|
52
|
+
<UploadChunk status="failed">
|
|
53
|
+
<UploadFile status="error" validationMsg="File type not allowed." name="Movie1_With_Very_Very_Very_Very_Very_Long_Name1.mkv" icon="file-image"></UploadFile>
|
|
54
|
+
<UploadFile status="error" validationMsg="File type not allowed." name="Video2.mkv" icon="file-image"></UploadFile>
|
|
55
|
+
</UploadChunk>
|
|
72
56
|
</section>
|
|
73
57
|
|
|
74
58
|
<section>
|
|
75
|
-
<
|
|
76
|
-
|
|
59
|
+
<UploadBatch status="failed">
|
|
60
|
+
<UploadFileMultiple status="error" fileSummary="Total: 4 files, 170.22 KB" validationMsg="Invalid file(s). Please check file upload requirements." progress="70">
|
|
61
|
+
<UploadFileInfo name="Movie_With_Very_Very_Very_Very_Very_Long_Name1.mkv" size="12.61 KB"></UploadFileInfo>
|
|
62
|
+
<UploadFileInfo name="Movie1.mkv" size="12.36 KB"></UploadFileInfo>
|
|
63
|
+
</UploadFileMultiple>
|
|
64
|
+
</UploadBatch>
|
|
77
65
|
</section>
|
|
78
|
-
|
|
79
66
|
</div>
|
|
80
67
|
</>
|
|
81
68
|
);
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
import { Upload, UploadNormal } from '../../upload';
|
|
2
|
+
|
|
3
|
+
|
|
4
|
+
const styles = `
|
|
5
|
+
#test-area {
|
|
6
|
+
justify-items: start;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
section {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
width: 480px;
|
|
13
|
+
}
|
|
14
|
+
`;
|
|
15
|
+
|
|
16
|
+
export default () => (
|
|
17
|
+
<>
|
|
18
|
+
<style>{styles}</style>
|
|
19
|
+
<div id="test-area" className="k-d-grid k-grid-cols-1">
|
|
20
|
+
|
|
21
|
+
{[ 'normal', ...Upload.states ].map((state) => (
|
|
22
|
+
<section>
|
|
23
|
+
<span>{state}</span>
|
|
24
|
+
<UploadNormal status="upload" {...{ [state]: true }}/>
|
|
25
|
+
</section>
|
|
26
|
+
))}
|
|
27
|
+
</div>
|
|
28
|
+
</>
|
|
29
|
+
);
|
|
@@ -1,71 +1,66 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { UploadFile, UploadFileMultiple, UploadFileInfo, UploadChunk, UploadBatch } from '..';
|
|
2
2
|
|
|
3
3
|
|
|
4
4
|
export default () =>(
|
|
5
5
|
<>
|
|
6
6
|
<div id="test-area" className="k-d-grid k-grid-cols-2">
|
|
7
7
|
|
|
8
|
+
<span>Chunk Upload</span>
|
|
9
|
+
<span>Batch Upload</span>
|
|
8
10
|
<section>
|
|
9
|
-
<
|
|
10
|
-
<UploadFile progress="60" status="error" validationMsg="File type not allowed." name="Video_File_with_Very_Very_Very_Very_Long_Name.jpg" icon="file-image"></UploadFile>
|
|
11
|
-
<UploadFile progress="60" status="progress" name="Document.txt" icon="file-pdf" size="225.68 KB" state="uploaded"></UploadFile>
|
|
12
|
-
</Upload>
|
|
11
|
+
<UploadChunk actions status="upload" />
|
|
13
12
|
</section>
|
|
14
13
|
|
|
15
14
|
<section>
|
|
16
|
-
<
|
|
17
|
-
<UploadFile progress="60" status="success" validationMsg="File(s) uploaded successfully." name="Image1_With_Very_Very_Very_Very_Long_Name.png" icon="file-image"></UploadFile>
|
|
18
|
-
<UploadFile progress="60" status="success" validationMsg="File(s) uploaded successfully." name="Image2.png" icon="file-image" state="uploaded"></UploadFile>
|
|
19
|
-
</Upload>
|
|
15
|
+
<UploadBatch actions status="upload" />
|
|
20
16
|
</section>
|
|
21
17
|
|
|
22
18
|
<section>
|
|
23
|
-
<
|
|
24
|
-
<
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
<UploadFileInfo name="Video3.png" size="24.34 KB"></UploadFileInfo>
|
|
28
|
-
<UploadFileInfo name="Video4.png" size="19.85 KB"></UploadFileInfo>
|
|
29
|
-
</UploadFileMultiple>
|
|
30
|
-
</Upload>
|
|
19
|
+
<UploadChunk status="uploading">
|
|
20
|
+
<UploadFile progress="50" status="progress" name="Document1_With_Very_Very_Very_Very_Very_Long_Name.txt" icon="file-pdf" size="225.68 KB"></UploadFile>
|
|
21
|
+
<UploadFile progress="70" status="progress" name="Document2.txt" icon="file-pdf" size="225.68 KB"></UploadFile>
|
|
22
|
+
</UploadChunk>
|
|
31
23
|
</section>
|
|
32
24
|
|
|
33
25
|
<section>
|
|
34
|
-
<
|
|
35
|
-
<UploadFileMultiple status="progress" fileSummary="Total:
|
|
36
|
-
<UploadFileInfo name="
|
|
37
|
-
<UploadFileInfo name="
|
|
38
|
-
<UploadFileInfo name="Video4.png" size="19.85 KB"></UploadFileInfo>
|
|
26
|
+
<UploadBatch status="uploading">
|
|
27
|
+
<UploadFileMultiple status="progress" fileSummary="Total: 2 files, 39.66 KB" progress="70">
|
|
28
|
+
<UploadFileInfo name="Video1_File_with_Very_Very_Very_Very_Long_Name.png" size="19.61 KB"></UploadFileInfo>
|
|
29
|
+
<UploadFileInfo name="Image2.png" size="19.85 KB"></UploadFileInfo>
|
|
39
30
|
</UploadFileMultiple>
|
|
40
|
-
</
|
|
31
|
+
</UploadBatch>
|
|
41
32
|
</section>
|
|
42
33
|
|
|
43
34
|
<section>
|
|
44
|
-
<
|
|
45
|
-
<
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
<UploadFileInfo name="Image1.jpg" size="1.09 MB"></UploadFileInfo>
|
|
49
|
-
<UploadFileInfo name="Image2.jpg" size="1.09 MB"></UploadFileInfo>
|
|
50
|
-
</UploadFileMultiple>
|
|
51
|
-
</Upload>
|
|
35
|
+
<UploadChunk status="done">
|
|
36
|
+
<UploadFile status="success" validationMsg="File(s) uploaded successfully." name="Image1_With_Very_Very_Very_Very_Very_Long_Name.png" icon="file-image"></UploadFile>
|
|
37
|
+
<UploadFile status="success" validationMsg="File(s) uploaded successfully." name="Image2.png" icon="file-image"></UploadFile>
|
|
38
|
+
</UploadChunk>
|
|
52
39
|
</section>
|
|
53
40
|
|
|
54
41
|
<section>
|
|
55
|
-
<
|
|
56
|
-
<
|
|
57
|
-
|
|
58
|
-
|
|
42
|
+
<UploadBatch status="done">
|
|
43
|
+
<UploadFileMultiple status="success" validationMsg="2 File(s) uploaded successfully" fileSummary="Total: 4 files, 39.46 KB">
|
|
44
|
+
<UploadFileInfo name="Video1_File_with_Very_Very_Very_Very_Long_Name.png" size="19.61 KB"></UploadFileInfo>
|
|
45
|
+
<UploadFileInfo name="Image2.png" size="24.34 KB"></UploadFileInfo>
|
|
46
|
+
</UploadFileMultiple>
|
|
47
|
+
</UploadBatch>
|
|
59
48
|
</section>
|
|
60
49
|
|
|
61
50
|
<section>
|
|
62
|
-
<
|
|
63
|
-
|
|
51
|
+
<UploadChunk status="failed">
|
|
52
|
+
<UploadFile status="error" validationMsg="File type not allowed." name="Movie1_With_Very_Very_Very_Very_Very_Long_Name1.mkv" icon="file-image"></UploadFile>
|
|
53
|
+
<UploadFile status="error" validationMsg="File type not allowed." name="Video2.mkv" icon="file-image"></UploadFile>
|
|
54
|
+
</UploadChunk>
|
|
64
55
|
</section>
|
|
65
56
|
|
|
66
57
|
<section>
|
|
67
|
-
<
|
|
68
|
-
|
|
58
|
+
<UploadBatch status="failed">
|
|
59
|
+
<UploadFileMultiple status="error" fileSummary="Total: 4 files, 170.22 KB" validationMsg="Invalid file(s). Please check file upload requirements." progress="70">
|
|
60
|
+
<UploadFileInfo name="Movie_With_Very_Very_Very_Very_Very_Long_Name1.mkv" size="12.61 KB"></UploadFileInfo>
|
|
61
|
+
<UploadFileInfo name="Movie1.mkv" size="12.36 KB"></UploadFileInfo>
|
|
62
|
+
</UploadFileMultiple>
|
|
63
|
+
</UploadBatch>
|
|
69
64
|
</section>
|
|
70
65
|
</div>
|
|
71
66
|
</>
|
|
@@ -61,7 +61,7 @@ export const Upload = (
|
|
|
61
61
|
{ actions &&
|
|
62
62
|
<ActionButtons alignment="end" orientation="horizontal">
|
|
63
63
|
<Button className="k-clear-selected">Clear</Button>
|
|
64
|
-
<Button themeColor="primary" className="k-upload-selected">
|
|
64
|
+
<Button themeColor="primary" className="k-upload-selected">Upload</Button>
|
|
65
65
|
</ActionButtons>
|
|
66
66
|
}
|
|
67
67
|
</div>
|
package/src/window/index.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Button } from '../../button';
|
|
2
|
-
import {
|
|
2
|
+
import { WindowNormal } from '../../window';
|
|
3
3
|
|
|
4
4
|
|
|
5
5
|
const style = `
|
|
@@ -14,41 +14,41 @@ export default () =>(
|
|
|
14
14
|
<style>{style}</style>
|
|
15
15
|
<div id="test-area" className="k-d-grid k-grid-cols-2">
|
|
16
16
|
|
|
17
|
-
<
|
|
17
|
+
<WindowNormal actionButtonsAlign="start" actionButtons={
|
|
18
18
|
<>
|
|
19
19
|
<Button>Cancel</Button>
|
|
20
20
|
<Button themeColor="primary">Update</Button>
|
|
21
21
|
</>
|
|
22
22
|
}>
|
|
23
23
|
Action Buttons at start position
|
|
24
|
-
</
|
|
24
|
+
</WindowNormal>
|
|
25
25
|
|
|
26
|
-
<
|
|
26
|
+
<WindowNormal actionButtonsAlign="center" actionButtons={
|
|
27
27
|
<>
|
|
28
28
|
<Button>Cancel</Button>
|
|
29
29
|
<Button themeColor="primary">Update</Button>
|
|
30
30
|
</>
|
|
31
31
|
}>
|
|
32
32
|
Action Buttons at center position
|
|
33
|
-
</
|
|
33
|
+
</WindowNormal>
|
|
34
34
|
|
|
35
|
-
<
|
|
35
|
+
<WindowNormal actionButtonsAlign="end" actionButtons={
|
|
36
36
|
<>
|
|
37
37
|
<Button>Cancel</Button>
|
|
38
38
|
<Button themeColor="primary">Update</Button>
|
|
39
39
|
</>
|
|
40
40
|
}>
|
|
41
41
|
Action Buttons at end position
|
|
42
|
-
</
|
|
42
|
+
</WindowNormal>
|
|
43
43
|
|
|
44
|
-
<
|
|
44
|
+
<WindowNormal actionButtonsAlign="stretched" actionButtons={
|
|
45
45
|
<>
|
|
46
46
|
<Button>Cancel</Button>
|
|
47
47
|
<Button themeColor="primary">Update</Button>
|
|
48
48
|
</>
|
|
49
49
|
}>
|
|
50
50
|
Action Buttons with stretched position
|
|
51
|
-
</
|
|
51
|
+
</WindowNormal>
|
|
52
52
|
|
|
53
53
|
</div>
|
|
54
54
|
</>
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { WindowNormal } from '..';
|
|
3
2
|
|
|
4
3
|
const style = `
|
|
5
4
|
.k-window {
|
|
@@ -13,25 +12,24 @@ export default () =>(
|
|
|
13
12
|
<div id="test-area" className="k-d-grid k-grid-cols-2 k-rtl">
|
|
14
13
|
|
|
15
14
|
<section>
|
|
16
|
-
<
|
|
15
|
+
<WindowNormal>Window content</WindowNormal>
|
|
17
16
|
</section>
|
|
18
17
|
|
|
19
18
|
<section>
|
|
20
|
-
<
|
|
19
|
+
<WindowNormal title="">Window with no title specified</WindowNormal>
|
|
21
20
|
</section>
|
|
22
21
|
|
|
23
22
|
<section>
|
|
24
|
-
<
|
|
23
|
+
<WindowNormal title="" actions={undefined}>Window with empty title and no actions</WindowNormal>
|
|
25
24
|
</section>
|
|
26
25
|
|
|
27
26
|
<section>
|
|
28
|
-
<
|
|
27
|
+
<WindowNormal title={undefined} actions={undefined}>Window without a title</WindowNormal>
|
|
29
28
|
</section>
|
|
30
29
|
|
|
31
30
|
<section>
|
|
32
|
-
<
|
|
31
|
+
<WindowNormal title="Window minimized" minimized>Window content</WindowNormal>
|
|
33
32
|
</section>
|
|
34
|
-
|
|
35
33
|
</div>
|
|
36
34
|
</>
|
|
37
35
|
);
|