@cal.macconnachie/web-components 2.5.1 → 2.5.3
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/index.d.ts +9 -0
- package/dist/index.js +565 -549
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -305,18 +305,26 @@ export declare class BaseListItem extends BaseElement {
|
|
|
305
305
|
rightSwipeAction?: SwipeAction;
|
|
306
306
|
private swipeOffset;
|
|
307
307
|
private isSwiping;
|
|
308
|
+
private desktopActionsOpen;
|
|
309
|
+
private desktopActionSide;
|
|
308
310
|
private touchStartX;
|
|
309
311
|
private touchStartY;
|
|
310
312
|
private currentX;
|
|
311
313
|
private isDragging;
|
|
312
314
|
private swipeThreshold;
|
|
315
|
+
private documentClickHandler;
|
|
313
316
|
static styles: CSSResult;
|
|
314
317
|
private handleClick;
|
|
315
318
|
private handleKeyDown;
|
|
316
319
|
private handleTouchStart;
|
|
317
320
|
private handleTouchMove;
|
|
318
321
|
private handleTouchEnd;
|
|
322
|
+
private renderActionIcon;
|
|
319
323
|
private triggerSwipeAction;
|
|
324
|
+
private handleDesktopActionToggle;
|
|
325
|
+
private handleDocumentClick;
|
|
326
|
+
connectedCallback(): void;
|
|
327
|
+
disconnectedCallback(): void;
|
|
320
328
|
render(): TemplateResult<1>;
|
|
321
329
|
}
|
|
322
330
|
|
|
@@ -618,6 +626,7 @@ export declare interface SwipeAction {
|
|
|
618
626
|
icon: string;
|
|
619
627
|
callback: () => void;
|
|
620
628
|
color?: string;
|
|
629
|
+
iconColor?: string;
|
|
621
630
|
label?: string;
|
|
622
631
|
}
|
|
623
632
|
|