@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
|
@@ -4483,129 +4483,67 @@ var FloatingActionButtonItem = (props) => {
|
|
|
4483
4483
|
}
|
|
4484
4484
|
);
|
|
4485
4485
|
};
|
|
4486
|
+
FloatingActionButtonItem.states = states5;
|
|
4486
4487
|
|
|
4487
|
-
// src/fab/
|
|
4488
|
+
// src/fab/templates/text-fab.tsx
|
|
4488
4489
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
4490
|
+
|
|
4491
|
+
// src/fab/templates/icon-fab.tsx
|
|
4492
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
4493
|
+
var IconFloatingActionButton = (props) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
4494
|
+
FloatingActionButton,
|
|
4495
|
+
{
|
|
4496
|
+
icon: "plus",
|
|
4497
|
+
...props
|
|
4498
|
+
}
|
|
4499
|
+
);
|
|
4500
|
+
|
|
4501
|
+
// src/fab/templates/icon-text-fab.tsx
|
|
4502
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
4503
|
+
|
|
4504
|
+
// src/fab/tests/fab-items.tsx
|
|
4505
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
4489
4506
|
var styles = `
|
|
4490
4507
|
#test-area {
|
|
4491
4508
|
grid-template-columns: 150px repeat(3, 1fr);
|
|
4492
|
-
grid-template-rows: 30px repeat(
|
|
4509
|
+
grid-template-rows: 30px repeat(3, 320px)
|
|
4493
4510
|
}
|
|
4494
4511
|
.relative-container {
|
|
4495
4512
|
position: relative;
|
|
4496
4513
|
border: 1px solid #ccc;
|
|
4497
4514
|
}
|
|
4498
4515
|
`;
|
|
4499
|
-
var
|
|
4500
|
-
|
|
4501
|
-
|
|
4502
|
-
|
|
4503
|
-
|
|
4504
|
-
|
|
4505
|
-
|
|
4506
|
-
|
|
4507
|
-
/* @__PURE__ */ (0,
|
|
4508
|
-
|
|
4509
|
-
|
|
4510
|
-
|
|
4511
|
-
|
|
4512
|
-
|
|
4513
|
-
|
|
4514
|
-
|
|
4515
|
-
|
|
4516
|
-
|
|
4517
|
-
/* @__PURE__ */ (0,
|
|
4518
|
-
/* @__PURE__ */ (0,
|
|
4519
|
-
/* @__PURE__ */ (0,
|
|
4520
|
-
|
|
4521
|
-
|
|
4522
|
-
|
|
4523
|
-
|
|
4524
|
-
] }) })
|
|
4525
|
-
] }),
|
|
4526
|
-
/* @__PURE__ */ (0,
|
|
4527
|
-
|
|
4528
|
-
/* @__PURE__ */ (0,
|
|
4529
|
-
|
|
4530
|
-
|
|
4531
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Active", icon: "pencil", align: "right", active: true }),
|
|
4532
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Disabled", icon: "cancel", align: "right", disabled: true })
|
|
4533
|
-
] }) })
|
|
4534
|
-
] }),
|
|
4535
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { children: "Downward - Right Labels" }),
|
|
4536
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "relative-container", children: [
|
|
4537
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", size: "small", position: "top-start", style: { top: "16px", left: "16px" } }),
|
|
4538
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", top: "calc(16px + 36px)", left: "calc(16px + calc(36px / 2) - calc(36px /2))" }, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(FloatingActionButtonItems, { position: "bottom", children: [
|
|
4539
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Hover long text", icon: "pencil", align: "left", hover: true }),
|
|
4540
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Focus", icon: "pencil", align: "left", focus: true }),
|
|
4541
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Active", icon: "pencil", align: "left", active: true })
|
|
4542
|
-
] }) })
|
|
4543
|
-
] }),
|
|
4544
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "relative-container", children: [
|
|
4545
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", size: "medium", position: "top-start", style: { top: "16px", left: "16px" } }),
|
|
4546
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", top: "calc(16px + 52px)", left: "calc(16px + calc(52px / 2) - calc(36px /2))" }, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(FloatingActionButtonItems, { position: "bottom", children: [
|
|
4547
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Hover long text", icon: "pencil", align: "left", hover: true }),
|
|
4548
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Focus", icon: "pencil", align: "left", focus: true }),
|
|
4549
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Active", icon: "pencil", align: "left", active: true })
|
|
4550
|
-
] }) })
|
|
4551
|
-
] }),
|
|
4552
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "relative-container", children: [
|
|
4553
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", size: "large", position: "top-start", style: { top: "16px", left: "16px" } }),
|
|
4554
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", top: "calc(16px + 68px)", left: "calc(16px + calc(68px / 2) - calc(36px /2))" }, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(FloatingActionButtonItems, { position: "bottom", children: [
|
|
4555
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Hover long text", icon: "pencil", align: "left", hover: true }),
|
|
4556
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Focus", icon: "pencil", align: "left", focus: true }),
|
|
4557
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Active", icon: "pencil", align: "left", active: true })
|
|
4558
|
-
] }) })
|
|
4559
|
-
] }),
|
|
4560
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { children: "Upward - Left Labels" }),
|
|
4561
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "relative-container", children: [
|
|
4562
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", size: "small", position: "bottom-end", style: { bottom: "16px", right: "16px" } }),
|
|
4563
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", bottom: "calc(16px + 36px)", right: "calc(16px + calc(36px / 2) - calc(36px /2))" }, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(FloatingActionButtonItems, { position: "top", children: [
|
|
4564
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Hover long text", icon: "pencil", align: "right", hover: true }),
|
|
4565
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Focus", icon: "pencil", align: "right", focus: true }),
|
|
4566
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Active", icon: "pencil", align: "right", active: true })
|
|
4567
|
-
] }) })
|
|
4568
|
-
] }),
|
|
4569
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "relative-container", children: [
|
|
4570
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", size: "medium", position: "bottom-end", style: { bottom: "16px", right: "16px" } }),
|
|
4571
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", bottom: "calc(16px + 52px)", right: "calc(16px + calc(52px / 2) - calc(36px /2))" }, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(FloatingActionButtonItems, { position: "top", children: [
|
|
4572
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Hover long text", icon: "pencil", align: "right", hover: true }),
|
|
4573
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Focus", icon: "pencil", align: "right", focus: true }),
|
|
4574
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Active", icon: "pencil", align: "right", active: true })
|
|
4575
|
-
] }) })
|
|
4576
|
-
] }),
|
|
4577
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "relative-container", children: [
|
|
4578
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", size: "large", position: "bottom-end", style: { bottom: "16px", right: "16px" } }),
|
|
4579
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", bottom: "calc(16px + 68px)", right: "calc(16px + calc(68px / 2) - calc(36px /2))" }, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(FloatingActionButtonItems, { position: "top", children: [
|
|
4580
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Hover long text", icon: "pencil", align: "right", hover: true }),
|
|
4581
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Focus", icon: "pencil", align: "right", focus: true }),
|
|
4582
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Active", icon: "pencil", align: "right", active: true })
|
|
4583
|
-
] }) })
|
|
4584
|
-
] }),
|
|
4585
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { children: "Upward - Right Labels" }),
|
|
4586
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "relative-container", children: [
|
|
4587
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", size: "small", position: "bottom-start", style: { bottom: "16px", left: "16px" } }),
|
|
4588
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", bottom: "calc(16px + 36px)", left: "calc(16px + calc(36px / 2) - calc(36px /2))" }, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(FloatingActionButtonItems, { position: "top", children: [
|
|
4589
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Hover long text", icon: "pencil", align: "left", hover: true }),
|
|
4590
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Focus", icon: "pencil", align: "left", focus: true }),
|
|
4591
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Active", icon: "pencil", align: "left", active: true })
|
|
4592
|
-
] }) })
|
|
4593
|
-
] }),
|
|
4594
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "relative-container", children: [
|
|
4595
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", size: "medium", position: "bottom-start", style: { bottom: "16px", left: "16px" } }),
|
|
4596
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", bottom: "calc(16px + 52px)", left: "calc(16px + calc(52px / 2) - calc(36px /2))" }, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(FloatingActionButtonItems, { position: "top", children: [
|
|
4597
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Hover long text", icon: "pencil", align: "left", hover: true }),
|
|
4598
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Focus", icon: "pencil", align: "left", focus: true }),
|
|
4599
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Active", icon: "pencil", align: "left", active: true })
|
|
4600
|
-
] }) })
|
|
4601
|
-
] }),
|
|
4602
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "relative-container", children: [
|
|
4603
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", size: "large", position: "bottom-start", style: { bottom: "16px", left: "16px" } }),
|
|
4604
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", bottom: "calc(16px + 68px)", left: "calc(16px + calc(68px / 2) - calc(36px /2))" }, children: /* @__PURE__ */ (0, import_jsx_runtime7.jsxs)(FloatingActionButtonItems, { position: "top", children: [
|
|
4605
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Hover long text", icon: "pencil", align: "left", hover: true }),
|
|
4606
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Focus", icon: "pencil", align: "left", focus: true }),
|
|
4607
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButtonItem, { text: "Active", icon: "pencil", align: "left", active: true })
|
|
4608
|
-
] }) })
|
|
4609
|
-
] })
|
|
4516
|
+
var indexMap = {
|
|
4517
|
+
0: 36,
|
|
4518
|
+
1: 52,
|
|
4519
|
+
2: 68
|
|
4520
|
+
};
|
|
4521
|
+
var fab_items_default = () => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
|
|
4522
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("style", { children: styles }),
|
|
4523
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { id: "test-area", className: "k-d-grid", children: [
|
|
4524
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", {}),
|
|
4525
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: "Small" }),
|
|
4526
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: "Medium" }),
|
|
4527
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: "Large" }),
|
|
4528
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: "Downward - Left Labels" }),
|
|
4529
|
+
FloatingActionButton.options.size.map((size, index) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "relative-container", children: [
|
|
4530
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(IconFloatingActionButton, { size, position: "top-end", style: { top: "16px", right: "16px" } }),
|
|
4531
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", top: `calc(16px + ${indexMap[index]}px)`, right: `calc(16px + calc(${indexMap[index]}px / 2) - calc(36px /2))` }, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(FloatingActionButtonItems, { position: "bottom", children: ["normal", ...FloatingActionButtonItem.states].map((state) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(FloatingActionButtonItem, { text: state, icon: state === "disabled" ? "cancel" : "pencil", align: "right", ...{ [state]: true } })) }) })
|
|
4532
|
+
] })),
|
|
4533
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: "Downward - Right Labels" }),
|
|
4534
|
+
FloatingActionButton.options.size.map((size, index) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "relative-container", children: [
|
|
4535
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(IconFloatingActionButton, { size, position: "top-start", style: { top: "16px", left: "16px" } }),
|
|
4536
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", top: `calc(16px + ${indexMap[index]}px)`, left: `calc(16px + calc(${indexMap[index]}px / 2) - calc(36px /2))` }, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(FloatingActionButtonItems, { position: "bottom", children: ["normal", ...FloatingActionButtonItem.states].map((state) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(FloatingActionButtonItem, { text: state, icon: state === "disabled" ? "cancel" : "pencil", align: "left", ...{ [state]: true } })) }) })
|
|
4537
|
+
] })),
|
|
4538
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: "Upward - Left Labels" }),
|
|
4539
|
+
FloatingActionButton.options.size.map((size, index) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "relative-container", children: [
|
|
4540
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(IconFloatingActionButton, { size, position: "bottom-end", style: { bottom: "16px", right: "16px" } }),
|
|
4541
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", bottom: `calc(16px + ${indexMap[index]}px)`, right: `calc(16px + calc(${indexMap[index]}px / 2) - calc(36px /2))` }, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(FloatingActionButtonItems, { position: "top", children: ["normal", ...FloatingActionButtonItem.states].map((state) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(FloatingActionButtonItem, { text: state, icon: state === "disabled" ? "cancel" : "pencil", align: "right", ...{ [state]: true } })) }) })
|
|
4542
|
+
] })),
|
|
4543
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: "Upward - Right Labels" }),
|
|
4544
|
+
FloatingActionButton.options.size.map((size, index) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "relative-container", children: [
|
|
4545
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(IconFloatingActionButton, { size, position: "bottom-start", style: { bottom: "16px", left: "16px" } }),
|
|
4546
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("div", { className: "k-fab-popup k-popup k-popup-transparent", style: { position: "absolute", bottom: `calc(16px + ${indexMap[index]}px)`, left: `calc(16px + calc(${indexMap[index]}px / 2) - calc(36px /2))` }, children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(FloatingActionButtonItems, { position: "top", children: ["normal", ...FloatingActionButtonItem.states].map((state) => /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(FloatingActionButtonItem, { text: state, icon: state === "disabled" ? "cancel" : "pencil", align: "left", ...{ [state]: true } })) }) })
|
|
4547
|
+
] }))
|
|
4610
4548
|
] })
|
|
4611
4549
|
] });
|
|
@@ -4420,15 +4420,68 @@ var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
|
4420
4420
|
|
|
4421
4421
|
// src/fab/fab-item.tsx
|
|
4422
4422
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
4423
|
+
var className = `k-fab-item`;
|
|
4423
4424
|
var states5 = [
|
|
4424
4425
|
States.hover,
|
|
4425
4426
|
States.focus,
|
|
4426
4427
|
States.active,
|
|
4427
4428
|
States.disabled
|
|
4428
4429
|
];
|
|
4430
|
+
var FloatingActionButtonItem = (props) => {
|
|
4431
|
+
const {
|
|
4432
|
+
text,
|
|
4433
|
+
icon,
|
|
4434
|
+
align,
|
|
4435
|
+
hover,
|
|
4436
|
+
focus,
|
|
4437
|
+
active,
|
|
4438
|
+
disabled,
|
|
4439
|
+
...other
|
|
4440
|
+
} = props;
|
|
4441
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
4442
|
+
"li",
|
|
4443
|
+
{
|
|
4444
|
+
...other,
|
|
4445
|
+
className: classNames(
|
|
4446
|
+
props.className,
|
|
4447
|
+
className,
|
|
4448
|
+
{
|
|
4449
|
+
[`k-text-${align}`]: align
|
|
4450
|
+
},
|
|
4451
|
+
stateClassNames(className, {
|
|
4452
|
+
hover,
|
|
4453
|
+
focus,
|
|
4454
|
+
active,
|
|
4455
|
+
disabled
|
|
4456
|
+
})
|
|
4457
|
+
),
|
|
4458
|
+
children: [
|
|
4459
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "k-fab-item-text", children: text }),
|
|
4460
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon, { className: "k-fab-item-icon", icon })
|
|
4461
|
+
]
|
|
4462
|
+
}
|
|
4463
|
+
);
|
|
4464
|
+
};
|
|
4465
|
+
FloatingActionButtonItem.states = states5;
|
|
4429
4466
|
|
|
4430
|
-
// src/fab/
|
|
4467
|
+
// src/fab/templates/text-fab.tsx
|
|
4431
4468
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
4469
|
+
|
|
4470
|
+
// src/fab/templates/icon-fab.tsx
|
|
4471
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
4472
|
+
var IconFloatingActionButton = (props) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
4473
|
+
FloatingActionButton,
|
|
4474
|
+
{
|
|
4475
|
+
icon: "plus",
|
|
4476
|
+
...props
|
|
4477
|
+
}
|
|
4478
|
+
);
|
|
4479
|
+
|
|
4480
|
+
// src/fab/templates/icon-text-fab.tsx
|
|
4481
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
4482
|
+
|
|
4483
|
+
// src/fab/tests/fab-position.tsx
|
|
4484
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
4432
4485
|
var styles = `
|
|
4433
4486
|
#test-area {
|
|
4434
4487
|
grid-template-columns: 150px repeat(3, 1fr);
|
|
@@ -4439,24 +4492,24 @@ var styles = `
|
|
|
4439
4492
|
border: 1px solid #ccc;
|
|
4440
4493
|
}
|
|
4441
4494
|
`;
|
|
4442
|
-
var fab_position_default = () => /* @__PURE__ */ (0,
|
|
4443
|
-
/* @__PURE__ */ (0,
|
|
4444
|
-
/* @__PURE__ */ (0,
|
|
4445
|
-
/* @__PURE__ */ (0,
|
|
4446
|
-
/* @__PURE__ */ (0,
|
|
4447
|
-
/* @__PURE__ */ (0,
|
|
4448
|
-
/* @__PURE__ */ (0,
|
|
4449
|
-
/* @__PURE__ */ (0,
|
|
4450
|
-
/* @__PURE__ */ (0,
|
|
4451
|
-
/* @__PURE__ */ (0,
|
|
4452
|
-
/* @__PURE__ */ (0,
|
|
4453
|
-
/* @__PURE__ */ (0,
|
|
4454
|
-
/* @__PURE__ */ (0,
|
|
4455
|
-
/* @__PURE__ */ (0,
|
|
4456
|
-
/* @__PURE__ */ (0,
|
|
4457
|
-
/* @__PURE__ */ (0,
|
|
4458
|
-
/* @__PURE__ */ (0,
|
|
4459
|
-
/* @__PURE__ */ (0,
|
|
4460
|
-
/* @__PURE__ */ (0,
|
|
4495
|
+
var fab_position_default = () => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
|
|
4496
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("style", { children: styles }),
|
|
4497
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { id: "test-area", className: "k-d-grid", children: [
|
|
4498
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", {}),
|
|
4499
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: "Start" }),
|
|
4500
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: "Center" }),
|
|
4501
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: "End" }),
|
|
4502
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: "Top" }),
|
|
4503
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "relative-container", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(IconFloatingActionButton, { position: "top-start", style: { top: "16px", left: "16px" } }) }),
|
|
4504
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "relative-container", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(IconFloatingActionButton, { position: "top-center", style: { top: "16px" } }) }),
|
|
4505
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "relative-container", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(IconFloatingActionButton, { position: "top-end", style: { top: "16px", right: "16px" } }) }),
|
|
4506
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: "Middle" }),
|
|
4507
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "relative-container", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(IconFloatingActionButton, { position: "middle-start", style: { left: "16px" } }) }),
|
|
4508
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "relative-container", children: "NO CENTER POSITION" }),
|
|
4509
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "relative-container", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(IconFloatingActionButton, { position: "middle-end", style: { right: "16px" } }) }),
|
|
4510
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: "Bottom" }),
|
|
4511
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "relative-container", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(IconFloatingActionButton, { position: "bottom-start", style: { bottom: "16px", left: "16px" } }) }),
|
|
4512
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "relative-container", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(IconFloatingActionButton, { position: "bottom-center", style: { bottom: "16px" } }) }),
|
|
4513
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { className: "relative-container", children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)(IconFloatingActionButton, { position: "bottom-end", style: { bottom: "16px", right: "16px" } }) })
|
|
4461
4514
|
] })
|
|
4462
4515
|
] });
|
|
@@ -16,12 +16,12 @@ var __copyProps = (to, from, except, desc) => {
|
|
|
16
16
|
};
|
|
17
17
|
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod);
|
|
18
18
|
|
|
19
|
-
// src/fab/tests/fab-size.tsx
|
|
20
|
-
var
|
|
21
|
-
__export(
|
|
22
|
-
default: () =>
|
|
19
|
+
// src/fab/tests/fab-size-rounded.tsx
|
|
20
|
+
var fab_size_rounded_exports = {};
|
|
21
|
+
__export(fab_size_rounded_exports, {
|
|
22
|
+
default: () => fab_size_rounded_default
|
|
23
23
|
});
|
|
24
|
-
module.exports = __toCommonJS(
|
|
24
|
+
module.exports = __toCommonJS(fab_size_rounded_exports);
|
|
25
25
|
|
|
26
26
|
// src/misc/class-names.ts
|
|
27
27
|
var classNames = (...args) => {
|
|
@@ -4420,15 +4420,83 @@ var import_jsx_runtime5 = require("react/jsx-runtime");
|
|
|
4420
4420
|
|
|
4421
4421
|
// src/fab/fab-item.tsx
|
|
4422
4422
|
var import_jsx_runtime6 = require("react/jsx-runtime");
|
|
4423
|
+
var className = `k-fab-item`;
|
|
4423
4424
|
var states5 = [
|
|
4424
4425
|
States.hover,
|
|
4425
4426
|
States.focus,
|
|
4426
4427
|
States.active,
|
|
4427
4428
|
States.disabled
|
|
4428
4429
|
];
|
|
4430
|
+
var FloatingActionButtonItem = (props) => {
|
|
4431
|
+
const {
|
|
4432
|
+
text,
|
|
4433
|
+
icon,
|
|
4434
|
+
align,
|
|
4435
|
+
hover,
|
|
4436
|
+
focus,
|
|
4437
|
+
active,
|
|
4438
|
+
disabled,
|
|
4439
|
+
...other
|
|
4440
|
+
} = props;
|
|
4441
|
+
return /* @__PURE__ */ (0, import_jsx_runtime6.jsxs)(
|
|
4442
|
+
"li",
|
|
4443
|
+
{
|
|
4444
|
+
...other,
|
|
4445
|
+
className: classNames(
|
|
4446
|
+
props.className,
|
|
4447
|
+
className,
|
|
4448
|
+
{
|
|
4449
|
+
[`k-text-${align}`]: align
|
|
4450
|
+
},
|
|
4451
|
+
stateClassNames(className, {
|
|
4452
|
+
hover,
|
|
4453
|
+
focus,
|
|
4454
|
+
active,
|
|
4455
|
+
disabled
|
|
4456
|
+
})
|
|
4457
|
+
),
|
|
4458
|
+
children: [
|
|
4459
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)("span", { className: "k-fab-item-text", children: text }),
|
|
4460
|
+
/* @__PURE__ */ (0, import_jsx_runtime6.jsx)(Icon, { className: "k-fab-item-icon", icon })
|
|
4461
|
+
]
|
|
4462
|
+
}
|
|
4463
|
+
);
|
|
4464
|
+
};
|
|
4465
|
+
FloatingActionButtonItem.states = states5;
|
|
4429
4466
|
|
|
4430
|
-
// src/fab/
|
|
4467
|
+
// src/fab/templates/text-fab.tsx
|
|
4431
4468
|
var import_jsx_runtime7 = require("react/jsx-runtime");
|
|
4469
|
+
var TextFloatingActionButton = (props) => /* @__PURE__ */ (0, import_jsx_runtime7.jsx)(
|
|
4470
|
+
FloatingActionButton,
|
|
4471
|
+
{
|
|
4472
|
+
text: "Create",
|
|
4473
|
+
...props
|
|
4474
|
+
}
|
|
4475
|
+
);
|
|
4476
|
+
|
|
4477
|
+
// src/fab/templates/icon-fab.tsx
|
|
4478
|
+
var import_jsx_runtime8 = require("react/jsx-runtime");
|
|
4479
|
+
var IconFloatingActionButton = (props) => /* @__PURE__ */ (0, import_jsx_runtime8.jsx)(
|
|
4480
|
+
FloatingActionButton,
|
|
4481
|
+
{
|
|
4482
|
+
icon: "plus",
|
|
4483
|
+
...props
|
|
4484
|
+
}
|
|
4485
|
+
);
|
|
4486
|
+
|
|
4487
|
+
// src/fab/templates/icon-text-fab.tsx
|
|
4488
|
+
var import_jsx_runtime9 = require("react/jsx-runtime");
|
|
4489
|
+
var IconTextFloatingActionButton = (props) => /* @__PURE__ */ (0, import_jsx_runtime9.jsx)(
|
|
4490
|
+
FloatingActionButton,
|
|
4491
|
+
{
|
|
4492
|
+
icon: "plus",
|
|
4493
|
+
text: "Create",
|
|
4494
|
+
...props
|
|
4495
|
+
}
|
|
4496
|
+
);
|
|
4497
|
+
|
|
4498
|
+
// src/fab/tests/fab-size-rounded.tsx
|
|
4499
|
+
var import_jsx_runtime10 = require("react/jsx-runtime");
|
|
4432
4500
|
var styles = `
|
|
4433
4501
|
#test-area {
|
|
4434
4502
|
max-width: 1200px;
|
|
@@ -4436,92 +4504,20 @@ var styles = `
|
|
|
4436
4504
|
align-items: center;
|
|
4437
4505
|
}
|
|
4438
4506
|
`;
|
|
4439
|
-
var
|
|
4440
|
-
/* @__PURE__ */ (0,
|
|
4441
|
-
/* @__PURE__ */ (0,
|
|
4442
|
-
/* @__PURE__ */ (0,
|
|
4443
|
-
/* @__PURE__ */ (0,
|
|
4444
|
-
/* @__PURE__ */ (0,
|
|
4445
|
-
/* @__PURE__ */ (0,
|
|
4446
|
-
/* @__PURE__ */ (0,
|
|
4447
|
-
|
|
4448
|
-
/* @__PURE__ */ (0,
|
|
4449
|
-
|
|
4450
|
-
|
|
4451
|
-
|
|
4452
|
-
|
|
4453
|
-
|
|
4454
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: null, size: "medium", text: "Create" }),
|
|
4455
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: null, size: "medium" })
|
|
4456
|
-
] }),
|
|
4457
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "k-d-flex k-gap-1", children: [
|
|
4458
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { rounded: null, size: "large", text: "Create" }),
|
|
4459
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: null, size: "large", text: "Create" }),
|
|
4460
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: null, size: "large" })
|
|
4461
|
-
] }),
|
|
4462
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { children: "small" }),
|
|
4463
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "k-d-flex k-gap-1", children: [
|
|
4464
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { rounded: "small", size: "small", text: "Create" }),
|
|
4465
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "small", size: "small", text: "Create" }),
|
|
4466
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "small", size: "small" })
|
|
4467
|
-
] }),
|
|
4468
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "k-d-flex k-gap-1", children: [
|
|
4469
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { rounded: "small", size: "medium", text: "Create" }),
|
|
4470
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "small", size: "medium", text: "Create" }),
|
|
4471
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "small", size: "medium" })
|
|
4472
|
-
] }),
|
|
4473
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "k-d-flex k-gap-1", children: [
|
|
4474
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { rounded: "small", size: "large", text: "Create" }),
|
|
4475
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "small", size: "large", text: "Create" }),
|
|
4476
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "small", size: "large" })
|
|
4477
|
-
] }),
|
|
4478
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { children: "medium" }),
|
|
4479
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "k-d-flex k-gap-1", children: [
|
|
4480
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { rounded: "medium", size: "small", text: "Create" }),
|
|
4481
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "medium", size: "small", text: "Create" }),
|
|
4482
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "medium", size: "small" })
|
|
4483
|
-
] }),
|
|
4484
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "k-d-flex k-gap-1", children: [
|
|
4485
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { rounded: "medium", size: "medium", text: "Create" }),
|
|
4486
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "medium", size: "medium", text: "Create" }),
|
|
4487
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "medium", size: "medium" })
|
|
4488
|
-
] }),
|
|
4489
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "k-d-flex k-gap-1", children: [
|
|
4490
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { rounded: "medium", size: "large", text: "Create" }),
|
|
4491
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "medium", size: "large", text: "Create" }),
|
|
4492
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "medium", size: "large" })
|
|
4493
|
-
] }),
|
|
4494
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { children: "large" }),
|
|
4495
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "k-d-flex k-gap-1", children: [
|
|
4496
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { rounded: "large", size: "small", text: "Create" }),
|
|
4497
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "large", size: "small", text: "Create" }),
|
|
4498
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "large", size: "small" })
|
|
4499
|
-
] }),
|
|
4500
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "k-d-flex k-gap-1", children: [
|
|
4501
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { rounded: "large", size: "medium", text: "Create" }),
|
|
4502
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "large", size: "medium", text: "Create" }),
|
|
4503
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "large", size: "medium" })
|
|
4504
|
-
] }),
|
|
4505
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "k-d-flex k-gap-1", children: [
|
|
4506
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { rounded: "large", size: "large", text: "Create" }),
|
|
4507
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "large", size: "large", text: "Create" }),
|
|
4508
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "large", size: "large" })
|
|
4509
|
-
] }),
|
|
4510
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)("span", { children: "full" }),
|
|
4511
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "k-d-flex k-gap-1", children: [
|
|
4512
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { rounded: "full", size: "small", text: "Create" }),
|
|
4513
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "full", size: "small", text: "Create" }),
|
|
4514
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "full", size: "small" })
|
|
4515
|
-
] }),
|
|
4516
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "k-d-flex k-gap-1", children: [
|
|
4517
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { rounded: "full", size: "medium", text: "Create" }),
|
|
4518
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "full", size: "medium", text: "Create" }),
|
|
4519
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "full", size: "medium" })
|
|
4520
|
-
] }),
|
|
4521
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsxs)("span", { className: "k-d-flex k-gap-1", children: [
|
|
4522
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { rounded: "full", size: "large", text: "Create" }),
|
|
4523
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "full", size: "large", text: "Create" }),
|
|
4524
|
-
/* @__PURE__ */ (0, import_jsx_runtime7.jsx)(FloatingActionButton, { icon: "plus", rounded: "full", size: "large" })
|
|
4525
|
-
] })
|
|
4507
|
+
var fab_size_rounded_default = () => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
|
|
4508
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("style", { children: styles }),
|
|
4509
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("div", { id: "test-area", className: "k-d-grid", children: [
|
|
4510
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: /* @__PURE__ */ (0, import_jsx_runtime10.jsx)("small", { children: "rounded / size" }) }),
|
|
4511
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: "small" }),
|
|
4512
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: "medium" }),
|
|
4513
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: "large" }),
|
|
4514
|
+
[null, ...FloatingActionButton.options.rounded].map((rounded) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)(import_jsx_runtime10.Fragment, { children: [
|
|
4515
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)("span", { children: String(rounded) }),
|
|
4516
|
+
FloatingActionButton.options.size.map((size) => /* @__PURE__ */ (0, import_jsx_runtime10.jsxs)("span", { className: "k-d-flex k-gap-1", children: [
|
|
4517
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(TextFloatingActionButton, { rounded, size }),
|
|
4518
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(IconTextFloatingActionButton, { rounded, size }),
|
|
4519
|
+
/* @__PURE__ */ (0, import_jsx_runtime10.jsx)(IconFloatingActionButton, { rounded, size })
|
|
4520
|
+
] }))
|
|
4521
|
+
] }))
|
|
4526
4522
|
] })
|
|
4527
4523
|
] });
|