@pushengineering/umg-web-components 2.0.5 → 2.0.10
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/classes/event-manager/event-manager.d.ts +52 -0
- package/dist/classes/event-manager/types.d.ts +6 -0
- package/dist/classes/index.d.ts +1 -0
- package/dist/components/badge/badge.d.ts +19 -0
- package/dist/components/badge/index.d.ts +2 -0
- package/dist/components/banner/banner.d.ts +39 -0
- package/dist/components/banner/index.d.ts +3 -0
- package/dist/components/banner-image/banner-image.d.ts +23 -0
- package/dist/components/banner-image/index.d.ts +2 -0
- package/dist/components/box/box.d.ts +28 -0
- package/dist/components/box/index.d.ts +2 -0
- package/dist/components/button/button.d.ts +31 -0
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/button-group/button-group.d.ts +12 -0
- package/dist/components/button-group/index.d.ts +2 -0
- package/dist/components/button-icon/button-icon.d.ts +31 -0
- package/dist/components/button-icon/index.d.ts +2 -0
- package/dist/components/caption-card/caption-card.d.ts +38 -0
- package/dist/components/caption-card/index.d.ts +2 -0
- package/dist/components/deferred-media/deferred-media.d.ts +25 -0
- package/dist/components/deferred-media/index.d.ts +2 -0
- package/dist/components/disclosure/disclosure.d.ts +23 -0
- package/dist/components/disclosure/index.d.ts +2 -0
- package/dist/components/event-table/event-content.d.ts +7 -0
- package/dist/components/event-table/event-date.d.ts +5 -0
- package/dist/components/event-table/event-table.d.ts +10 -0
- package/dist/components/event-table/event.d.ts +5 -0
- package/dist/components/event-table/index.d.ts +2 -0
- package/dist/components/footer/footer.d.ts +16 -0
- package/dist/components/footer/index.d.ts +2 -0
- package/dist/components/grid/grid-cell.d.ts +5 -0
- package/dist/components/grid/grid.d.ts +12 -0
- package/dist/components/grid/index.d.ts +2 -0
- package/dist/components/header/header.d.ts +36 -0
- package/dist/components/header/index.d.ts +2 -0
- package/dist/components/header-drawer/header-drawer.d.ts +32 -0
- package/dist/components/header-drawer/index.d.ts +2 -0
- package/dist/components/header-drawer/menu-drawer.d.ts +13 -0
- package/dist/components/horizontal-stack/horizontal-stack.d.ts +13 -0
- package/dist/components/horizontal-stack/index.d.ts +2 -0
- package/dist/components/icon/icon.d.ts +14 -0
- package/dist/components/icon/index.d.ts +2 -0
- package/dist/components/image/image.d.ts +19 -0
- package/dist/components/image/index.d.ts +2 -0
- package/dist/components/index.d.ts +41 -0
- package/dist/components/link/index.d.ts +2 -0
- package/dist/components/link/link.d.ts +10 -0
- package/dist/components/link-group/index.d.ts +2 -0
- package/dist/components/link-group/link-group.d.ts +13 -0
- package/dist/components/logo/index.d.ts +2 -0
- package/dist/components/logo/logo.d.ts +19 -0
- package/dist/components/media-gallery/index.d.ts +2 -0
- package/dist/components/media-gallery/media-gallery.d.ts +14 -0
- package/dist/components/media-gallery/media.d.ts +5 -0
- package/dist/components/media-text/index.d.ts +2 -0
- package/dist/components/media-text/media-text.d.ts +30 -0
- package/dist/components/media-text/styles/media-size.d.ts +1 -0
- package/dist/components/menu/index.d.ts +2 -0
- package/dist/components/menu/menu.d.ts +36 -0
- package/dist/components/menu-bar/index.d.ts +2 -0
- package/dist/components/menu-bar/menu-bar.d.ts +16 -0
- package/dist/components/modal/index.d.ts +2 -0
- package/dist/components/modal/modal.d.ts +13 -0
- package/dist/components/modal/modal.js +30 -29
- package/dist/components/multiselect/index.d.ts +2 -0
- package/dist/components/multiselect/multiselect.d.ts +60 -0
- package/dist/components/number-field/index.d.ts +2 -0
- package/dist/components/number-field/number-field.d.ts +28 -0
- package/dist/components/overlay/index.d.ts +2 -0
- package/dist/components/overlay/overlay.d.ts +13 -0
- package/dist/components/page/index.d.ts +2 -0
- package/dist/components/page/page.d.ts +13 -0
- package/dist/components/popover/index.d.ts +2 -0
- package/dist/components/popover/popover.d.ts +19 -0
- package/dist/components/rich-text/index.d.ts +2 -0
- package/dist/components/rich-text/rich-text.d.ts +11 -0
- package/dist/components/section/index.d.ts +2 -0
- package/dist/components/section/section.d.ts +33 -0
- package/dist/components/select/index.d.ts +2 -0
- package/dist/components/select/select.d.ts +44 -0
- package/dist/components/slider/index.d.ts +2 -0
- package/dist/components/slider/slide.d.ts +8 -0
- package/dist/components/slider/slider-controls.d.ts +27 -0
- package/dist/components/slider/slider.d.ts +68 -0
- package/dist/components/slider/styles/controls.d.ts +1 -0
- package/dist/components/slider/styles/slider.d.ts +1 -0
- package/dist/components/socials/index.d.ts +2 -0
- package/dist/components/socials/socials.d.ts +26 -0
- package/dist/components/table/index.d.ts +2 -0
- package/dist/components/table/table.d.ts +13 -0
- package/dist/components/text/index.d.ts +2 -0
- package/dist/components/text/text.d.ts +24 -0
- package/dist/components/text-field/index.d.ts +2 -0
- package/dist/components/text-field/text-field.d.ts +25 -0
- package/dist/components/thumbnail-slider/index.d.ts +2 -0
- package/dist/components/thumbnail-slider/thumbnail-slide.d.ts +5 -0
- package/dist/components/thumbnail-slider/thumbnail-slider.d.ts +20 -0
- package/dist/components/vertical-stack/index.d.ts +2 -0
- package/dist/components/vertical-stack/vertical-stack.d.ts +13 -0
- package/dist/components/video/index.d.ts +2 -0
- package/dist/components/video/video.d.ts +29 -0
- package/dist/types.d.ts +66 -0
- package/package.json +2 -2
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* EventManager is a utility class for managing event listeners and dispatching custom events on an HTMLElement.
|
|
3
|
+
*
|
|
4
|
+
* @class
|
|
5
|
+
*/
|
|
6
|
+
export declare class EventManager {
|
|
7
|
+
/**
|
|
8
|
+
* The HTMLElement or object to which the event management is associated.
|
|
9
|
+
* @private
|
|
10
|
+
* @type {HTMLElement}
|
|
11
|
+
*/
|
|
12
|
+
private target;
|
|
13
|
+
/**
|
|
14
|
+
* Allows one or more event listeners to be assigned by the event manager on a HTMLElement or object.
|
|
15
|
+
* @private
|
|
16
|
+
* @type {Map}
|
|
17
|
+
*/
|
|
18
|
+
private listeners;
|
|
19
|
+
/**
|
|
20
|
+
* Creates an instance of EventManager.
|
|
21
|
+
*
|
|
22
|
+
* @constructor
|
|
23
|
+
* @param {EventTarget} target - The element or object to manage events for.
|
|
24
|
+
*/
|
|
25
|
+
constructor(target: EventTarget);
|
|
26
|
+
/**
|
|
27
|
+
* Adds an event listener to the associated HTMLElement or target object.
|
|
28
|
+
*
|
|
29
|
+
* @param {string} eventType - The type of the event to listen for.
|
|
30
|
+
* @param {EventListenerOrEventListenerObject} handler - The callback function to execute when the event is triggered.
|
|
31
|
+
* @param {AddEventListenerOptions} [options] - An options object that specifies characteristics about the event listener.
|
|
32
|
+
* @returns {() => void} - A function to remove the added event listener.
|
|
33
|
+
*/
|
|
34
|
+
addEventListener(eventType: string, handler: EventListenerOrEventListenerObject, options?: AddEventListenerOptions): () => void;
|
|
35
|
+
/**
|
|
36
|
+
* Removes an event listener from the associated HTMLElement or target object.
|
|
37
|
+
*
|
|
38
|
+
* @param {string} eventType - The type of the event for which to remove the listener.
|
|
39
|
+
* @param {EventListenerOrEventListenerObject} handler - The event listener function to remove.
|
|
40
|
+
* @param {EventListenerOptions} [options] - An options object that specifies characteristics about the event listener.
|
|
41
|
+
*/
|
|
42
|
+
removeEventListener(eventType: string, handler: EventListenerOrEventListenerObject, options?: EventListenerOptions): void;
|
|
43
|
+
/**
|
|
44
|
+
* Dispatches a custom event on the associated HTMLElement.
|
|
45
|
+
*
|
|
46
|
+
* @template T - The type of the event detail.
|
|
47
|
+
* @param {string} eventType - The type of the custom event.
|
|
48
|
+
* @param {T} detail - The data associated with the custom event.
|
|
49
|
+
* @param {CustomEventInit} [options] - An options object that specifies characteristics about the custom event.
|
|
50
|
+
*/
|
|
51
|
+
dispatchCustomEvent<T>(eventType: string, detail: T, options?: CustomEventInit): void;
|
|
52
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { EventManager } from './event-manager/event-manager';
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { ButtonSize } from '../../types';
|
|
3
|
+
import '../box';
|
|
4
|
+
import '../text';
|
|
5
|
+
export declare class Badge extends LitElement {
|
|
6
|
+
size: ButtonSize;
|
|
7
|
+
colorBg: string | undefined;
|
|
8
|
+
colorText: string | undefined;
|
|
9
|
+
border?: boolean | undefined;
|
|
10
|
+
borderRadius: string;
|
|
11
|
+
opacity: string | undefined;
|
|
12
|
+
fontSize: string | undefined;
|
|
13
|
+
fontWeight: string | undefined;
|
|
14
|
+
fontStyle: string | undefined;
|
|
15
|
+
badgeStyles(): {};
|
|
16
|
+
badgeClasses(): any;
|
|
17
|
+
render(): import("lit").TemplateResult<1>;
|
|
18
|
+
static styles: import("lit").CSSResultArray;
|
|
19
|
+
}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import type { ContentAlign, BoxPosition, BoxHeight } from '../../types';
|
|
3
|
+
import '../box/';
|
|
4
|
+
import '../vertical-stack/';
|
|
5
|
+
export declare class Banner extends LitElement {
|
|
6
|
+
height: BoxHeight;
|
|
7
|
+
contentPosition: BoxPosition;
|
|
8
|
+
contentFullWidth: boolean;
|
|
9
|
+
contentAlign: ContentAlign;
|
|
10
|
+
contentJustify: ContentAlign;
|
|
11
|
+
mobileContentJustify: string | undefined;
|
|
12
|
+
contentSpacing: string | undefined;
|
|
13
|
+
contentInnerPadding: string | undefined;
|
|
14
|
+
contentOuterPadding: string | undefined;
|
|
15
|
+
mobilePadding: string | undefined;
|
|
16
|
+
colorText: string | undefined;
|
|
17
|
+
colorBg: string | undefined;
|
|
18
|
+
opacity: string | undefined;
|
|
19
|
+
overlayColor: string | undefined;
|
|
20
|
+
overlayOpacity: number | undefined;
|
|
21
|
+
_mediaAspectRatio: undefined | string;
|
|
22
|
+
_mobileMediaAspectRatio: undefined | string;
|
|
23
|
+
_headerHeight: string;
|
|
24
|
+
_withoutContent: boolean;
|
|
25
|
+
constructor();
|
|
26
|
+
connectedCallback(): void;
|
|
27
|
+
disconnectedCallback(): void;
|
|
28
|
+
eventNotifications(event: any): Promise<void>;
|
|
29
|
+
handleSlotchange(e: Event): void;
|
|
30
|
+
bannerClasses(): any;
|
|
31
|
+
bannerStyles(): {};
|
|
32
|
+
bannercontentClasses(): any;
|
|
33
|
+
bannercontentStyles(): {};
|
|
34
|
+
contentOuter(): import("lit").TemplateResult<1>;
|
|
35
|
+
contentInner(fullWidth: boolean): import("lit").TemplateResult<1>;
|
|
36
|
+
content(): import("lit").TemplateResult<1>;
|
|
37
|
+
render(): import("lit").TemplateResult<1>;
|
|
38
|
+
static styles: import("lit").CSSResultArray;
|
|
39
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { LitElement, nothing } from 'lit';
|
|
2
|
+
import type { ImageLazy } from '../../types';
|
|
3
|
+
export declare class BannerImage extends LitElement {
|
|
4
|
+
imgAlt: string;
|
|
5
|
+
src: string | undefined;
|
|
6
|
+
imgSrcSet?: string | undefined;
|
|
7
|
+
sizes?: string | undefined;
|
|
8
|
+
width: number;
|
|
9
|
+
height: number;
|
|
10
|
+
mobileSrc?: string | undefined;
|
|
11
|
+
mobileSrcSet?: string | undefined;
|
|
12
|
+
mobileSizes?: string | undefined;
|
|
13
|
+
mobileHeight: number;
|
|
14
|
+
mobileWidth: number;
|
|
15
|
+
load: ImageLazy;
|
|
16
|
+
dispatchEvents(): void;
|
|
17
|
+
imageClasses(): any;
|
|
18
|
+
mobileImage(): import("lit").TemplateResult<1> | typeof nothing;
|
|
19
|
+
desktopImage(): import("lit").TemplateResult<1>;
|
|
20
|
+
getImage(): import("lit").TemplateResult<1>;
|
|
21
|
+
render(): import("lit").TemplateResult<1>;
|
|
22
|
+
static styles: import("lit").CSSResultArray;
|
|
23
|
+
}
|
|
@@ -0,0 +1,28 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import type { Direction } from '../../types';
|
|
3
|
+
export declare class Box extends LitElement {
|
|
4
|
+
maxWidth: number | undefined;
|
|
5
|
+
padding?: string | undefined;
|
|
6
|
+
mobilePadding?: string | undefined;
|
|
7
|
+
paddingTop?: string | undefined;
|
|
8
|
+
paddingRight?: string | undefined;
|
|
9
|
+
paddingBottom?: string | undefined;
|
|
10
|
+
paddingLeft?: string | undefined;
|
|
11
|
+
adaptivePadding: boolean;
|
|
12
|
+
colorText: string | undefined;
|
|
13
|
+
colorBg: string | undefined;
|
|
14
|
+
colorBlend: boolean;
|
|
15
|
+
blendDirection: Direction;
|
|
16
|
+
border?: boolean | undefined;
|
|
17
|
+
borderRadius: string;
|
|
18
|
+
opacity: string | undefined;
|
|
19
|
+
private _mergedPadding;
|
|
20
|
+
private _mobilePadding;
|
|
21
|
+
firstUpdated(): void;
|
|
22
|
+
updated(changedProperties: Map<string, any>): void;
|
|
23
|
+
getPadding(): string[][] | undefined;
|
|
24
|
+
boxStyles(): {};
|
|
25
|
+
boxClasses(): any;
|
|
26
|
+
render(): import("lit").TemplateResult<1>;
|
|
27
|
+
static styles: import("lit").CSSResultArray;
|
|
28
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import type { ButtonType, ButtonAs, ButtonSize, ButtonAlignLabel, ButtonStyle, LinkTarget, PaddingScale } from '../../types';
|
|
3
|
+
export declare class Button extends LitElement {
|
|
4
|
+
as: ButtonAs;
|
|
5
|
+
type: ButtonType;
|
|
6
|
+
for: string | undefined;
|
|
7
|
+
clickAction?: string | undefined;
|
|
8
|
+
url?: string | undefined;
|
|
9
|
+
target: LinkTarget;
|
|
10
|
+
size: ButtonSize;
|
|
11
|
+
buttonStyle: ButtonStyle;
|
|
12
|
+
borderRadius: PaddingScale | undefined;
|
|
13
|
+
textAlign: ButtonAlignLabel;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
fullWidth: boolean;
|
|
16
|
+
extendInteraction: boolean;
|
|
17
|
+
extendInteractionHidden: boolean;
|
|
18
|
+
colorBg: string | undefined;
|
|
19
|
+
colorBgOpacity: string | undefined;
|
|
20
|
+
colorText: string | undefined;
|
|
21
|
+
loading: boolean;
|
|
22
|
+
constructor();
|
|
23
|
+
private _extendedInteraction;
|
|
24
|
+
handleClick(): void;
|
|
25
|
+
buttonClasses(): any;
|
|
26
|
+
buttonStyles(): {};
|
|
27
|
+
buttonAs(): import("lit").TemplateResult<1> | undefined;
|
|
28
|
+
buttonContent(): import("lit").TemplateResult<1>;
|
|
29
|
+
render(): import("lit").TemplateResult<1>;
|
|
30
|
+
static styles: import("lit").CSSResultArray;
|
|
31
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import type { GroupSpacing, GroupAlign } from '../../types';
|
|
3
|
+
export declare class ButtonGroup extends LitElement {
|
|
4
|
+
spacing: GroupSpacing;
|
|
5
|
+
justify: GroupAlign;
|
|
6
|
+
mobileJustify: GroupAlign;
|
|
7
|
+
stack: boolean;
|
|
8
|
+
mobileStack: boolean;
|
|
9
|
+
buttonGroupClasses(): any;
|
|
10
|
+
render(): import("lit").TemplateResult<1>;
|
|
11
|
+
static styles: import("lit").CSSResultArray;
|
|
12
|
+
}
|
|
@@ -0,0 +1,31 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import type { ButtonAs, ButtonType, LinkTarget, Icons, FontBodySize } from '../../types';
|
|
3
|
+
import '../icon/';
|
|
4
|
+
export declare class ButtonIcon extends LitElement {
|
|
5
|
+
as: ButtonAs;
|
|
6
|
+
for?: string | undefined;
|
|
7
|
+
clickAction?: string | undefined;
|
|
8
|
+
url?: string | undefined;
|
|
9
|
+
target: LinkTarget;
|
|
10
|
+
type: ButtonType;
|
|
11
|
+
icon: Icons;
|
|
12
|
+
size: FontBodySize;
|
|
13
|
+
extendInteraction: boolean;
|
|
14
|
+
disabled: boolean;
|
|
15
|
+
padding: string;
|
|
16
|
+
border: boolean;
|
|
17
|
+
borderRadius: string | undefined;
|
|
18
|
+
borderWidth: string | undefined;
|
|
19
|
+
colorText: string | undefined;
|
|
20
|
+
colorBg: string | undefined;
|
|
21
|
+
colorBgOpacity: string | undefined;
|
|
22
|
+
label: string;
|
|
23
|
+
constructor();
|
|
24
|
+
private _extendedInteraction;
|
|
25
|
+
handleClick(): void;
|
|
26
|
+
buttonIconClasses(): any;
|
|
27
|
+
buttonIconStyles(): {};
|
|
28
|
+
buttonAs(): import("lit").TemplateResult<1> | undefined;
|
|
29
|
+
render(): import("lit").TemplateResult<1>;
|
|
30
|
+
static styles: import("lit").CSSResultArray;
|
|
31
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { EventManager } from '../../classes/event-manager/event-manager.js';
|
|
3
|
+
import type { ContentAlign, DecimalZeroToOne, BoxPosition } from '../../types';
|
|
4
|
+
import '../box/';
|
|
5
|
+
import '../vertical-stack/';
|
|
6
|
+
import '../popover/';
|
|
7
|
+
export declare class CaptionCard extends LitElement {
|
|
8
|
+
position: BoxPosition;
|
|
9
|
+
align: ContentAlign | undefined;
|
|
10
|
+
justify: ContentAlign | undefined;
|
|
11
|
+
padding?: string | undefined;
|
|
12
|
+
mobilePadding?: string | undefined;
|
|
13
|
+
spacing?: string | undefined;
|
|
14
|
+
colorBg: string | undefined;
|
|
15
|
+
colorText: string | undefined;
|
|
16
|
+
opacityBg: string | undefined;
|
|
17
|
+
colorBlend: boolean;
|
|
18
|
+
border: boolean;
|
|
19
|
+
borderRadius: undefined | string;
|
|
20
|
+
colorOverlay: undefined | string;
|
|
21
|
+
opacityOverlay: DecimalZeroToOne;
|
|
22
|
+
cardPopover: boolean;
|
|
23
|
+
_mediaAspectRatio: undefined | string;
|
|
24
|
+
_mobileMediaAspectRatio: undefined | string;
|
|
25
|
+
_popoverVisible: boolean;
|
|
26
|
+
cardEventManager: EventManager;
|
|
27
|
+
constructor();
|
|
28
|
+
connectedCallback(): void;
|
|
29
|
+
disconnectedCallback(): void;
|
|
30
|
+
private _eventsHandler;
|
|
31
|
+
popoverClose(): void;
|
|
32
|
+
cardClasses(): any;
|
|
33
|
+
cardStyles(): {};
|
|
34
|
+
captionClasses(): any;
|
|
35
|
+
popoverContent(): import("lit").TemplateResult<1> | undefined;
|
|
36
|
+
render(): import("lit").TemplateResult<1>;
|
|
37
|
+
static styles: import("lit").CSSResultArray;
|
|
38
|
+
}
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '../modal';
|
|
3
|
+
import '../button-icon';
|
|
4
|
+
export declare class DeferredMedia extends LitElement {
|
|
5
|
+
source: string;
|
|
6
|
+
title: string;
|
|
7
|
+
enableModal: boolean;
|
|
8
|
+
showButtonOnHover: boolean;
|
|
9
|
+
_mediaAspectRatio: undefined | string;
|
|
10
|
+
_mobileMediaAspectRatio: undefined | string;
|
|
11
|
+
protected _videoPlaying: boolean;
|
|
12
|
+
protected _modalOpen: boolean;
|
|
13
|
+
constructor();
|
|
14
|
+
eventNotifications(event: any): Promise<void>;
|
|
15
|
+
handleButtonClick(event: any): void;
|
|
16
|
+
deferredMediaClasses(): any;
|
|
17
|
+
deferredMediaStyles(): {};
|
|
18
|
+
coverTemplate(): import("lit").TemplateResult<1>;
|
|
19
|
+
createModal(): import("lit").TemplateResult<1> | undefined;
|
|
20
|
+
videoTemplate(): import("lit").TemplateResult<1>;
|
|
21
|
+
renderVideoInPopup(): import("lit").TemplateResult<1> | undefined;
|
|
22
|
+
renderVideoInBlock(): import("lit").TemplateResult<1>;
|
|
23
|
+
render(): import("lit").TemplateResult<1>;
|
|
24
|
+
static styles: import("lit").CSSResultArray;
|
|
25
|
+
}
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import { AnimationDirection } from '../../types';
|
|
3
|
+
export declare class Disclosure extends LitElement {
|
|
4
|
+
direction: AnimationDirection;
|
|
5
|
+
overlay: boolean;
|
|
6
|
+
justifySummary: string;
|
|
7
|
+
iconAnimation: string;
|
|
8
|
+
_open: boolean;
|
|
9
|
+
_summary: HTMLDetailsElement;
|
|
10
|
+
_disclosure: HTMLDetailsElement;
|
|
11
|
+
_disclosureContent: HTMLDetailsElement;
|
|
12
|
+
connectedCallback(): void;
|
|
13
|
+
disconnectedCallback(): void;
|
|
14
|
+
closeDisclosure: () => void;
|
|
15
|
+
openDisclosure: () => void;
|
|
16
|
+
private _handleDisclosure;
|
|
17
|
+
private _handleSummaryClick;
|
|
18
|
+
summaryClasses(): any;
|
|
19
|
+
drawerClasses(): any;
|
|
20
|
+
contentClasses(): any;
|
|
21
|
+
render(): import("lit").TemplateResult<1>;
|
|
22
|
+
static styles: import("lit").CSSResultArray;
|
|
23
|
+
}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import './event';
|
|
3
|
+
import './event-date';
|
|
4
|
+
import './event-content';
|
|
5
|
+
export declare class EventTable extends LitElement {
|
|
6
|
+
divider: boolean;
|
|
7
|
+
tableClasses(): any;
|
|
8
|
+
render(): import("lit").TemplateResult<1>;
|
|
9
|
+
static styles: import("lit").CSSResultArray;
|
|
10
|
+
}
|
|
@@ -0,0 +1,16 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import type { PageWidth, PaddingScale } from '../../types';
|
|
3
|
+
export declare class Footer extends LitElement {
|
|
4
|
+
width: PageWidth;
|
|
5
|
+
paddingTop: PaddingScale;
|
|
6
|
+
paddingBottom: PaddingScale;
|
|
7
|
+
socialsHidden: boolean;
|
|
8
|
+
centerContent: boolean;
|
|
9
|
+
colortext: string;
|
|
10
|
+
colorBg: string;
|
|
11
|
+
footerClasses(): any;
|
|
12
|
+
footerStyles(): {};
|
|
13
|
+
footerInnerStyles(): {};
|
|
14
|
+
render(): import("lit").TemplateResult<1>;
|
|
15
|
+
static styles: import("lit").CSSResultArray;
|
|
16
|
+
}
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import './grid-cell';
|
|
3
|
+
export declare class Grid extends LitElement {
|
|
4
|
+
columns: number;
|
|
5
|
+
mobileColumns: string;
|
|
6
|
+
gapless?: boolean | undefined;
|
|
7
|
+
fill?: boolean | undefined;
|
|
8
|
+
gridClasses(): any;
|
|
9
|
+
gridStyles(): {};
|
|
10
|
+
render(): import("lit").TemplateResult<1>;
|
|
11
|
+
static styles: import("lit").CSSResultArray;
|
|
12
|
+
}
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import type { HeaderLayout, PageWidth, PaddingScale } from '../../types';
|
|
3
|
+
export declare class Header extends LitElement {
|
|
4
|
+
width: PageWidth;
|
|
5
|
+
paddingTop: PaddingScale;
|
|
6
|
+
paddingBottom: PaddingScale;
|
|
7
|
+
layout: HeaderLayout;
|
|
8
|
+
logoHidden: boolean;
|
|
9
|
+
menuHidden: boolean;
|
|
10
|
+
socialsHidden: boolean;
|
|
11
|
+
signupHidden: boolean;
|
|
12
|
+
colorText: string;
|
|
13
|
+
colorBg: string;
|
|
14
|
+
sticky: boolean;
|
|
15
|
+
stickyHideOnScroll: boolean;
|
|
16
|
+
transparent: boolean;
|
|
17
|
+
_headerOuterHeight: number | undefined;
|
|
18
|
+
_transparentScrolling: boolean;
|
|
19
|
+
_currentScrollPosition: number;
|
|
20
|
+
_header: HTMLElement;
|
|
21
|
+
_menu: Array<HTMLElement>;
|
|
22
|
+
_resizeObserver?: ResizeObserver;
|
|
23
|
+
_debouncedEventsHandler: (e: any) => void;
|
|
24
|
+
protected firstUpdated(): void;
|
|
25
|
+
updated(changedProperties: Map<string, any>): void;
|
|
26
|
+
disconnectedCallback(): void;
|
|
27
|
+
private _initHeader;
|
|
28
|
+
private _eventsHandler;
|
|
29
|
+
private _removeTransparency;
|
|
30
|
+
private _stickyScroll;
|
|
31
|
+
headerClasses(): any;
|
|
32
|
+
headerStyles(): {};
|
|
33
|
+
headerInnerStyles(): {};
|
|
34
|
+
render(): import("lit").TemplateResult<1>;
|
|
35
|
+
static styles: import("lit").CSSResultArray;
|
|
36
|
+
}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import '../disclosure/';
|
|
3
|
+
import './menu-drawer';
|
|
4
|
+
import '../icon/';
|
|
5
|
+
interface menuDisclosure {
|
|
6
|
+
closeDisclosure: () => void;
|
|
7
|
+
}
|
|
8
|
+
interface MenuData {
|
|
9
|
+
linkText: string;
|
|
10
|
+
linkUrl: string;
|
|
11
|
+
subItems: Array<MenuData>;
|
|
12
|
+
}
|
|
13
|
+
export declare class HeaderDrawer extends LitElement {
|
|
14
|
+
src: string;
|
|
15
|
+
data?: MenuData[];
|
|
16
|
+
direction: string;
|
|
17
|
+
colorText: undefined | string;
|
|
18
|
+
colorBg: undefined | string;
|
|
19
|
+
_drawerOpen: boolean;
|
|
20
|
+
_drawer: menuDisclosure;
|
|
21
|
+
firstUpdated(): Promise<void>;
|
|
22
|
+
fetchData(): Promise<void>;
|
|
23
|
+
closeDrawer(): void;
|
|
24
|
+
private _openDrawer;
|
|
25
|
+
private _closeDrawer;
|
|
26
|
+
private _closeActiveDrawers;
|
|
27
|
+
menuDrawerStyles(): {};
|
|
28
|
+
menuList(): import("lit").TemplateResult<1> | undefined;
|
|
29
|
+
render(): import("lit").TemplateResult<1>;
|
|
30
|
+
static styles: import("lit").CSSResultArray;
|
|
31
|
+
}
|
|
32
|
+
export {};
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
export declare class MenuDrawer extends LitElement {
|
|
3
|
+
clickOpenAction: string;
|
|
4
|
+
clickBackAction: string;
|
|
5
|
+
_subNavOpen: boolean;
|
|
6
|
+
_menuDrawer: HTMLDetailsElement;
|
|
7
|
+
closeDrawer: () => void;
|
|
8
|
+
constructor();
|
|
9
|
+
private _handleSummaryClick;
|
|
10
|
+
handleBackClick(): void;
|
|
11
|
+
render(): import("lit").TemplateResult<1>;
|
|
12
|
+
static styles: import("lit").CSSResultArray;
|
|
13
|
+
}
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import type { GroupAlign } from '../../types';
|
|
3
|
+
export declare class HorizontalStack extends LitElement {
|
|
4
|
+
gap: number | undefined;
|
|
5
|
+
align: GroupAlign;
|
|
6
|
+
mobileAlign: GroupAlign | undefined;
|
|
7
|
+
justify: GroupAlign;
|
|
8
|
+
mobileJustify: GroupAlign | undefined;
|
|
9
|
+
stackStyles(): {};
|
|
10
|
+
stackClasses(): any;
|
|
11
|
+
render(): import("lit").TemplateResult<1>;
|
|
12
|
+
static styles: import("lit").CSSResultArray;
|
|
13
|
+
}
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import type { FontBodySize } from '../../types';
|
|
3
|
+
export declare class Icon extends LitElement {
|
|
4
|
+
icon: string;
|
|
5
|
+
colorText: string | undefined;
|
|
6
|
+
size?: FontBodySize;
|
|
7
|
+
_blobUrl: string;
|
|
8
|
+
constructor();
|
|
9
|
+
dataURItoBlobUrl(iconSprites: string): string;
|
|
10
|
+
svgStyles(): {};
|
|
11
|
+
icontemplate(): import("lit").TemplateResult<2>;
|
|
12
|
+
render(): import("lit").TemplateResult<1>;
|
|
13
|
+
static styles: import("lit").CSSResultArray;
|
|
14
|
+
}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { LitElement } from 'lit';
|
|
2
|
+
import type { MediaFit, ImageLazy } from '../../types';
|
|
3
|
+
export declare class Image extends LitElement {
|
|
4
|
+
imgAlt: string;
|
|
5
|
+
src?: string | undefined;
|
|
6
|
+
srcSet?: string | undefined;
|
|
7
|
+
sizes?: string | undefined;
|
|
8
|
+
width: number;
|
|
9
|
+
height: number;
|
|
10
|
+
fit: MediaFit;
|
|
11
|
+
load: ImageLazy;
|
|
12
|
+
dispatchEvents(): void;
|
|
13
|
+
containerStyles(): {};
|
|
14
|
+
containerClasses(): any;
|
|
15
|
+
imageClasses(): any;
|
|
16
|
+
image(): import("lit").TemplateResult<1>;
|
|
17
|
+
render(): import("lit").TemplateResult<1>;
|
|
18
|
+
static styles: import("lit").CSSResultArray;
|
|
19
|
+
}
|