@kubex/zinc 1.1.138 → 1.1.140
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/custom-elements.json +700 -590
- package/dist/vscode.html-custom-data.json +81 -81
- package/dist/web-types.json +160 -160
- package/dist/zn.d.ts +23 -6
- package/dist/zn.min.js +434 -415
- package/package.json +1 -1
- package/src/components/collapsible/collapsible.scss +10 -2
- package/src/components/filter-container/filter-container.component.ts +3 -6
- package/src/components/flow-builder/flow-layout.ts +1 -1
- package/src/components/flow-builder/modules/flow-canvas/flow-canvas.component.ts +1 -1
- package/src/components/header/header.component.ts +1 -1
- package/src/components/icon-picker/icon-picker.component.ts +6 -18
- package/src/components/input/input.component.ts +4 -2
- package/src/components/menu-item/submenu-controller.ts +7 -7
- package/src/components/page-builder/page-builder.component.ts +120 -2
- package/src/components/page-builder/page-builder.scss +22 -0
- package/src/components/page-builder/page.types.ts +20 -0
- package/src/components/query-builder/query-builder.component.ts +2 -2
- package/src/components/sidebar/sidebar.component.ts +3 -3
- package/src/components/slideout/slideout.component.ts +2 -2
- package/src/components/stat/stat.component.ts +3 -3
- package/src/components/stepper/stepper.component.ts +1 -1
- package/src/internal/form.ts +2 -2
- package/src/internal/zinc-element.ts +1 -1
- /package/src/components/hover-container/{hover-container.ts → hover-container.test.ts} +0 -0
package/dist/zn.d.ts
CHANGED
|
@@ -488,8 +488,8 @@ declare module "components/popup/index" {
|
|
|
488
488
|
}
|
|
489
489
|
declare module "components/menu-item/submenu-controller" {
|
|
490
490
|
import { type HasSlotController } from "internal/slot";
|
|
491
|
-
import type { ReactiveController, ReactiveControllerHost } from 'lit';
|
|
492
491
|
import { type LocalizeController } from "utilities/localize";
|
|
492
|
+
import type { ReactiveController, ReactiveControllerHost } from 'lit';
|
|
493
493
|
import type ZnMenuItem from "components/menu-item/index";
|
|
494
494
|
/** A reactive controller to manage the registration of event listeners for submenus. */
|
|
495
495
|
export class SubmenuController implements ReactiveController {
|
|
@@ -2432,7 +2432,7 @@ declare module "components/input/input.component" {
|
|
|
2432
2432
|
handleDisabledChange(): void;
|
|
2433
2433
|
handleStepChange(): void;
|
|
2434
2434
|
handleValueChange(): Promise<void>;
|
|
2435
|
-
handleColorFormatChange():
|
|
2435
|
+
handleColorFormatChange(): void;
|
|
2436
2436
|
/** Sets focus on the input. */
|
|
2437
2437
|
focus(options?: FocusOptions): void;
|
|
2438
2438
|
/** Removes focus from the input. */
|
|
@@ -5996,7 +5996,7 @@ declare module "components/sidebar/sidebar.component" {
|
|
|
5996
5996
|
scrollBottom(): void;
|
|
5997
5997
|
render(): import("lit-html").TemplateResult<1>;
|
|
5998
5998
|
_expander(): import("lit-html").TemplateResult<1>;
|
|
5999
|
-
handleClick(e:
|
|
5999
|
+
handleClick(e: Event): void;
|
|
6000
6000
|
}
|
|
6001
6001
|
}
|
|
6002
6002
|
declare module "components/sidebar/index" {
|
|
@@ -11516,6 +11516,12 @@ declare module "components/page-builder/page.types" {
|
|
|
11516
11516
|
* so a tile reads as its linked item however its other fields were filled in.
|
|
11517
11517
|
*/
|
|
11518
11518
|
export function sectionSummary(section: PageSection, type?: PageSectionType): string;
|
|
11519
|
+
/**
|
|
11520
|
+
* A cached 1×1 transparent image for `dataTransfer.setDragImage()`. The browser
|
|
11521
|
+
* composites its own snapshot of the dragged node onto an opaque surface, which
|
|
11522
|
+
* squares off a card's rounded corners; the builder draws its own ghost instead.
|
|
11523
|
+
*/
|
|
11524
|
+
export function emptyDragImage(): HTMLImageElement;
|
|
11519
11525
|
}
|
|
11520
11526
|
declare module "components/page-builder/page-registry" {
|
|
11521
11527
|
import type { PageSectionType } from "components/page-builder/page.types";
|
|
@@ -11720,6 +11726,8 @@ declare module "components/page-builder/page-builder.component" {
|
|
|
11720
11726
|
/** Index of the drop zone whose "+" type picker is open, if any. */
|
|
11721
11727
|
private _pickerIndex;
|
|
11722
11728
|
private _dragOverIndex;
|
|
11729
|
+
private _draggingId;
|
|
11730
|
+
private _dragGhost;
|
|
11723
11731
|
/** The container slot a drag is currently over, if any. */
|
|
11724
11732
|
private _slotDragOver;
|
|
11725
11733
|
/** The container slot whose "+" type picker is open, if any. */
|
|
@@ -11867,6 +11875,18 @@ declare module "components/page-builder/page-builder.component" {
|
|
|
11867
11875
|
*/
|
|
11868
11876
|
private _moveToSlot;
|
|
11869
11877
|
private _onCardDragStart;
|
|
11878
|
+
private _ghostEl;
|
|
11879
|
+
/** Where in the card the pointer grabbed it, so the ghost keeps that grip. */
|
|
11880
|
+
private _ghostGrip;
|
|
11881
|
+
/** The host's viewport origin; the ghost is positioned against the host. */
|
|
11882
|
+
private _ghostOrigin;
|
|
11883
|
+
private _startGhost;
|
|
11884
|
+
private _onGhostDragOver;
|
|
11885
|
+
private _onGhostDrop;
|
|
11886
|
+
private _onGhostDragLeave;
|
|
11887
|
+
private _moveGhost;
|
|
11888
|
+
private _endGhost;
|
|
11889
|
+
private _renderDragGhost;
|
|
11870
11890
|
/** Whether a drag carries one of the builder's own payloads. */
|
|
11871
11891
|
private _isPageDrag;
|
|
11872
11892
|
private _onSlotDragOver;
|
|
@@ -13385,9 +13405,6 @@ declare module "components/editor/modules/events/zn-editor-update" {
|
|
|
13385
13405
|
}
|
|
13386
13406
|
}
|
|
13387
13407
|
}
|
|
13388
|
-
declare module "components/hover-container/hover-container" {
|
|
13389
|
-
import '../../../dist/zn.min.js';
|
|
13390
|
-
}
|
|
13391
13408
|
declare module "components/remarkd-editor/feature-keys" {
|
|
13392
13409
|
/**
|
|
13393
13410
|
* The remarkd feature fixtures, from `node_modules/remarkd-js/requirements/features/`.
|