@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,10 +1,10 @@
|
|
|
1
|
-
import {
|
|
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(
|
|
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
|
-
|
|
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
|
-
|
|
27
|
-
<
|
|
28
|
-
|
|
29
|
-
<
|
|
30
|
-
<
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
</
|
|
36
|
-
</
|
|
37
|
-
|
|
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
|
-
|
|
63
|
-
<
|
|
64
|
-
|
|
65
|
-
<
|
|
66
|
-
<
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
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
|
-
|
|
95
|
-
<
|
|
96
|
-
|
|
97
|
-
<
|
|
98
|
-
<
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
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
|
-
|
|
127
|
-
<
|
|
128
|
-
|
|
129
|
-
<
|
|
130
|
-
<
|
|
131
|
-
|
|
132
|
-
|
|
133
|
-
|
|
134
|
-
|
|
135
|
-
|
|
136
|
-
|
|
137
|
-
|
|
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 {
|
|
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
|
-
<
|
|
27
|
+
<IconFloatingActionButton position="top-start" style={{ top: "16px", left: "16px" }} />
|
|
28
28
|
</span>
|
|
29
29
|
<span className="relative-container">
|
|
30
|
-
<
|
|
30
|
+
<IconFloatingActionButton position="top-center" style={{ top: "16px" }} />
|
|
31
31
|
</span>
|
|
32
32
|
<span className="relative-container">
|
|
33
|
-
<
|
|
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
|
-
<
|
|
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
|
-
<
|
|
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
|
-
<
|
|
49
|
+
<IconFloatingActionButton position="bottom-start" style={{ bottom: "16px", left: "16px" }} />
|
|
50
50
|
</span>
|
|
51
51
|
<span className="relative-container">
|
|
52
|
-
<
|
|
52
|
+
<IconFloatingActionButton position="bottom-center" style={{ bottom: "16px" }} />
|
|
53
53
|
</span>
|
|
54
54
|
<span className="relative-container">
|
|
55
|
-
<
|
|
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
|
-
<
|
|
27
|
+
<IconFloatingActionButton position="top-start" themeColor={themeColor} {...{ [state]: true }} />
|
|
28
28
|
</span>
|
|
29
29
|
</>
|
|
30
30
|
))}
|
package/src/fab/tests/fab.tsx
CHANGED
|
@@ -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
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
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 {
|
|
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
|
-
<
|
|
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 {
|
|
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
|
-
<
|
|
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
|
-
</
|
|
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
|
-
<
|
|
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
|
-
</
|
|
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 {
|
|
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
|
-
<
|
|
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
|
-
</
|
|
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
|
-
<
|
|
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
|
-
</
|
|
319
|
+
</UploadChunk>
|
|
320
320
|
}
|
|
321
321
|
>
|
|
322
322
|
</FormField>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Button } from '../../button';
|
|
2
|
-
import {
|
|
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
|
-
<
|
|
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
|
-
</
|
|
90
|
+
</WindowNormal>
|
|
91
91
|
</section>
|
|
92
92
|
</div>
|
|
93
93
|
</>
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Button } from '../../button';
|
|
2
|
-
import {
|
|
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
|
-
<
|
|
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
|
-
</
|
|
82
|
+
</WindowNormal>
|
|
83
83
|
</section>
|
|
84
84
|
|
|
85
85
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
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
|
-
<
|
|
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
|
-
</
|
|
104
|
+
</WindowNormal>
|
|
105
105
|
</section>
|
|
106
106
|
|
|
107
107
|
</div>
|