@pushengineering/umg-web-components 2.0.4 → 2.0.5
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/package.json +1 -1
- package/dist/classes/event-manager/event-manager.d.ts +0 -52
- package/dist/classes/event-manager/types.d.ts +0 -6
- package/dist/classes/index.d.ts +0 -1
- package/dist/components/badge/badge.d.ts +0 -19
- package/dist/components/badge/index.d.ts +0 -2
- package/dist/components/banner/banner.d.ts +0 -39
- package/dist/components/banner/index.d.ts +0 -3
- package/dist/components/banner-image/banner-image.d.ts +0 -23
- package/dist/components/banner-image/index.d.ts +0 -2
- package/dist/components/box/box.d.ts +0 -28
- package/dist/components/box/index.d.ts +0 -2
- package/dist/components/button/button.d.ts +0 -31
- package/dist/components/button/index.d.ts +0 -2
- package/dist/components/button-group/button-group.d.ts +0 -12
- package/dist/components/button-group/index.d.ts +0 -2
- package/dist/components/button-icon/button-icon.d.ts +0 -31
- package/dist/components/button-icon/index.d.ts +0 -2
- package/dist/components/caption-card/caption-card.d.ts +0 -38
- package/dist/components/caption-card/index.d.ts +0 -2
- package/dist/components/deferred-media/deferred-media.d.ts +0 -25
- package/dist/components/deferred-media/index.d.ts +0 -2
- package/dist/components/disclosure/disclosure.d.ts +0 -23
- package/dist/components/disclosure/index.d.ts +0 -2
- package/dist/components/event-table/event-content.d.ts +0 -7
- package/dist/components/event-table/event-date.d.ts +0 -5
- package/dist/components/event-table/event-table.d.ts +0 -10
- package/dist/components/event-table/event.d.ts +0 -5
- package/dist/components/event-table/index.d.ts +0 -2
- package/dist/components/footer/footer.d.ts +0 -16
- package/dist/components/footer/index.d.ts +0 -2
- package/dist/components/grid/grid-cell.d.ts +0 -5
- package/dist/components/grid/grid.d.ts +0 -12
- package/dist/components/grid/index.d.ts +0 -2
- package/dist/components/header/header.d.ts +0 -36
- package/dist/components/header/index.d.ts +0 -2
- package/dist/components/header-drawer/header-drawer.d.ts +0 -32
- package/dist/components/header-drawer/index.d.ts +0 -2
- package/dist/components/header-drawer/menu-drawer.d.ts +0 -13
- package/dist/components/horizontal-stack/horizontal-stack.d.ts +0 -13
- package/dist/components/horizontal-stack/index.d.ts +0 -2
- package/dist/components/icon/icon.d.ts +0 -14
- package/dist/components/icon/index.d.ts +0 -2
- package/dist/components/image/image.d.ts +0 -19
- package/dist/components/image/index.d.ts +0 -2
- package/dist/components/index.d.ts +0 -41
- package/dist/components/link/index.d.ts +0 -2
- package/dist/components/link/link.d.ts +0 -10
- package/dist/components/link-group/index.d.ts +0 -2
- package/dist/components/link-group/link-group.d.ts +0 -13
- package/dist/components/logo/index.d.ts +0 -2
- package/dist/components/logo/logo.d.ts +0 -19
- package/dist/components/media-gallery/index.d.ts +0 -2
- package/dist/components/media-gallery/media-gallery.d.ts +0 -14
- package/dist/components/media-gallery/media.d.ts +0 -5
- package/dist/components/media-text/index.d.ts +0 -2
- package/dist/components/media-text/media-text.d.ts +0 -30
- package/dist/components/media-text/styles/media-size.d.ts +0 -1
- package/dist/components/menu/index.d.ts +0 -2
- package/dist/components/menu/menu.d.ts +0 -36
- package/dist/components/menu-bar/index.d.ts +0 -2
- package/dist/components/menu-bar/menu-bar.d.ts +0 -16
- package/dist/components/modal/index.d.ts +0 -2
- package/dist/components/modal/modal.d.ts +0 -13
- package/dist/components/multiselect/index.d.ts +0 -2
- package/dist/components/multiselect/multiselect.d.ts +0 -60
- package/dist/components/number-field/index.d.ts +0 -2
- package/dist/components/number-field/number-field.d.ts +0 -28
- package/dist/components/overlay/index.d.ts +0 -2
- package/dist/components/overlay/overlay.d.ts +0 -13
- package/dist/components/page/index.d.ts +0 -2
- package/dist/components/page/page.d.ts +0 -13
- package/dist/components/popover/index.d.ts +0 -2
- package/dist/components/popover/popover.d.ts +0 -19
- package/dist/components/rich-text/index.d.ts +0 -2
- package/dist/components/rich-text/rich-text.d.ts +0 -11
- package/dist/components/section/index.d.ts +0 -2
- package/dist/components/section/section.d.ts +0 -33
- package/dist/components/select/index.d.ts +0 -2
- package/dist/components/select/select.d.ts +0 -44
- package/dist/components/slider/index.d.ts +0 -2
- package/dist/components/slider/slide.d.ts +0 -8
- package/dist/components/slider/slider-controls.d.ts +0 -27
- package/dist/components/slider/slider.d.ts +0 -68
- package/dist/components/slider/styles/controls.d.ts +0 -1
- package/dist/components/slider/styles/slider.d.ts +0 -1
- package/dist/components/socials/index.d.ts +0 -2
- package/dist/components/socials/socials.d.ts +0 -26
- package/dist/components/table/index.d.ts +0 -2
- package/dist/components/table/table.d.ts +0 -13
- package/dist/components/text/index.d.ts +0 -2
- package/dist/components/text/text.d.ts +0 -24
- package/dist/components/text-field/index.d.ts +0 -2
- package/dist/components/text-field/text-field.d.ts +0 -25
- package/dist/components/thumbnail-slider/index.d.ts +0 -2
- package/dist/components/thumbnail-slider/thumbnail-slide.d.ts +0 -5
- package/dist/components/thumbnail-slider/thumbnail-slider.d.ts +0 -20
- package/dist/components/vertical-stack/index.d.ts +0 -2
- package/dist/components/vertical-stack/vertical-stack.d.ts +0 -13
- package/dist/components/video/index.d.ts +0 -2
- package/dist/components/video/video.d.ts +0 -29
- package/dist/types.d.ts +0 -66
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
export { Banner } from './banner/banner';
|
|
2
|
-
export { BannerImage } from './banner-image/';
|
|
3
|
-
export { Box } from './box/';
|
|
4
|
-
export { Button } from './button/';
|
|
5
|
-
export { ButtonIcon } from './button-icon/';
|
|
6
|
-
export { ButtonGroup } from './button-group/';
|
|
7
|
-
export { CaptionCard } from './caption-card/';
|
|
8
|
-
export { DeferredMedia } from './deferred-media/';
|
|
9
|
-
export { Disclosure } from './disclosure/';
|
|
10
|
-
export { EventTable } from './event-table/';
|
|
11
|
-
export { Footer } from './footer/';
|
|
12
|
-
export { Grid } from './grid/';
|
|
13
|
-
export { Header } from './header/';
|
|
14
|
-
export { HeaderDrawer } from './header-drawer/';
|
|
15
|
-
export { HorizontalStack } from './horizontal-stack/';
|
|
16
|
-
export { Icon } from './icon/';
|
|
17
|
-
export { Image } from './image/';
|
|
18
|
-
export { Link } from './link/';
|
|
19
|
-
export { LinkGroup } from './link-group/';
|
|
20
|
-
export { Logo } from './logo/';
|
|
21
|
-
export { MediaGallery } from './media-gallery/';
|
|
22
|
-
export { MediaText } from './media-text/';
|
|
23
|
-
export { Menu } from './menu/';
|
|
24
|
-
export { MenuBar } from './menu-bar/';
|
|
25
|
-
export { Modal } from './modal/';
|
|
26
|
-
export { NumberField } from './number-field/';
|
|
27
|
-
export { Overlay } from './overlay/';
|
|
28
|
-
export { Page } from './page/';
|
|
29
|
-
export { Popover } from './popover/';
|
|
30
|
-
export { Section } from './section/';
|
|
31
|
-
export { Select } from './select/';
|
|
32
|
-
export { Slider } from './slider/';
|
|
33
|
-
export { Socials } from './socials/';
|
|
34
|
-
export { Table } from './table/';
|
|
35
|
-
export { Text } from './text/';
|
|
36
|
-
export { TextField } from './text-field/';
|
|
37
|
-
export { RichText } from './rich-text/';
|
|
38
|
-
export { ThumbnailSlider } from './thumbnail-slider';
|
|
39
|
-
export { Video } from './video/';
|
|
40
|
-
export { VerticalStack } from './vertical-stack/';
|
|
41
|
-
export { Badge } from './badge/';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import type { LinkTarget } from '../../types';
|
|
3
|
-
export declare class Link extends LitElement {
|
|
4
|
-
url?: string | undefined;
|
|
5
|
-
target: LinkTarget;
|
|
6
|
-
underline?: boolean | undefined;
|
|
7
|
-
linkClasses(): any;
|
|
8
|
-
render(): import("lit").TemplateResult<1>;
|
|
9
|
-
static styles: import("lit").CSSResultArray;
|
|
10
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import type { GroupSpacing, GroupAlign } from '../../types';
|
|
3
|
-
export declare class LinkGroup extends LitElement {
|
|
4
|
-
spacing: GroupSpacing;
|
|
5
|
-
justify: GroupAlign;
|
|
6
|
-
mobileJustify: GroupAlign | undefined;
|
|
7
|
-
noWrap: boolean;
|
|
8
|
-
stack: boolean;
|
|
9
|
-
mobileStack: boolean;
|
|
10
|
-
getClasses(): any;
|
|
11
|
-
render(): import("lit").TemplateResult<1>;
|
|
12
|
-
static styles: import("lit").CSSResultArray;
|
|
13
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import '../image/';
|
|
3
|
-
export declare class Logo extends LitElement {
|
|
4
|
-
url: string;
|
|
5
|
-
height: number;
|
|
6
|
-
title: string;
|
|
7
|
-
showTitle: boolean;
|
|
8
|
-
imgSrc?: string | undefined;
|
|
9
|
-
imgSrcSet?: string | undefined;
|
|
10
|
-
imgSizes?: string | undefined;
|
|
11
|
-
imgWidth: number;
|
|
12
|
-
imgHeight: number;
|
|
13
|
-
logoStyles(): {};
|
|
14
|
-
logoClasses(): any;
|
|
15
|
-
titleClasses(): any;
|
|
16
|
-
image(): import("lit").TemplateResult<1>;
|
|
17
|
-
render(): import("lit").TemplateResult<1>;
|
|
18
|
-
static styles: import("lit").CSSResultArray;
|
|
19
|
-
}
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import { EventManager } from '../../classes/event-manager/event-manager.js';
|
|
3
|
-
import { SlideEvent } from '../../classes/event-manager/types.js';
|
|
4
|
-
import './media.js';
|
|
5
|
-
export declare class MediaGallery extends LitElement {
|
|
6
|
-
_mediaItems: Array<HTMLElement>;
|
|
7
|
-
_slideItems: Array<HTMLElement>;
|
|
8
|
-
mediaEventManager: EventManager;
|
|
9
|
-
constructor();
|
|
10
|
-
protected _customEventsHandler: (e: SlideEvent) => void;
|
|
11
|
-
private _updateActiveMedia;
|
|
12
|
-
render(): import("lit").TemplateResult<1>;
|
|
13
|
-
static styles: import("lit").CSSResultArray;
|
|
14
|
-
}
|
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import { BoxHeight, MediaSize } from '../../types';
|
|
3
|
-
import '../box/';
|
|
4
|
-
import '../vertical-stack/';
|
|
5
|
-
export declare class MediaText extends LitElement {
|
|
6
|
-
setSizeBy: string;
|
|
7
|
-
mediaHeight: BoxHeight;
|
|
8
|
-
mediaWidth: MediaSize;
|
|
9
|
-
mediaOnRight: boolean;
|
|
10
|
-
blendMedia: boolean;
|
|
11
|
-
alignContent: string;
|
|
12
|
-
mobileAlignContent: string;
|
|
13
|
-
justifyContent: string;
|
|
14
|
-
mobileJustifyContent: string;
|
|
15
|
-
spacing: string;
|
|
16
|
-
padding: string | undefined;
|
|
17
|
-
mobilePadding: string | undefined;
|
|
18
|
-
paddingTop: string | undefined;
|
|
19
|
-
paddingRight: string | undefined;
|
|
20
|
-
paddingBottom: string | undefined;
|
|
21
|
-
paddingLeft: string | undefined;
|
|
22
|
-
colorBg: string | undefined;
|
|
23
|
-
colorText: string | undefined;
|
|
24
|
-
opacity: string | undefined;
|
|
25
|
-
gridClasses(): any;
|
|
26
|
-
contentStackClasses(): any;
|
|
27
|
-
mediaTextStyles(): {};
|
|
28
|
-
render(): import("lit").TemplateResult<1>;
|
|
29
|
-
static styles: import("lit").CSSResultArray;
|
|
30
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const mediaSize: import("lit").CSSResult;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { LitElement, nothing } from 'lit';
|
|
2
|
-
import type { PageWidth } from '../../types';
|
|
3
|
-
import '../disclosure/';
|
|
4
|
-
interface MenuData {
|
|
5
|
-
linkText: string;
|
|
6
|
-
linkUrl: string;
|
|
7
|
-
linkClasses: Array<string>;
|
|
8
|
-
subItems: Array<MenuData>;
|
|
9
|
-
}
|
|
10
|
-
export declare class Menu extends LitElement {
|
|
11
|
-
src: string;
|
|
12
|
-
data?: MenuData[];
|
|
13
|
-
layout: string;
|
|
14
|
-
vertical: boolean;
|
|
15
|
-
hideMenuTitle: boolean;
|
|
16
|
-
width: PageWidth;
|
|
17
|
-
divider: boolean;
|
|
18
|
-
colorText: undefined | string;
|
|
19
|
-
colorBg: undefined | string;
|
|
20
|
-
constructor();
|
|
21
|
-
disconnectedCallback(): void;
|
|
22
|
-
firstUpdated(): Promise<void>;
|
|
23
|
-
fetchData(): Promise<void>;
|
|
24
|
-
private _outsideClick;
|
|
25
|
-
private _handleMenuEvents;
|
|
26
|
-
private _closeDisclosures;
|
|
27
|
-
menuStyles(): {};
|
|
28
|
-
menuClasses(): any;
|
|
29
|
-
menuListClasses(): any;
|
|
30
|
-
menuTitle(title: string): import("lit").TemplateResult<1> | typeof nothing;
|
|
31
|
-
menuItemClasses(classes: Array<string>): string | undefined;
|
|
32
|
-
menuList(): import("lit").TemplateResult<1> | undefined;
|
|
33
|
-
render(): import("lit").TemplateResult<1>;
|
|
34
|
-
static styles: import("lit").CSSResultArray;
|
|
35
|
-
}
|
|
36
|
-
export {};
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import '../box';
|
|
3
|
-
import '../link-group';
|
|
4
|
-
export declare class MenuBar extends LitElement {
|
|
5
|
-
sticky: boolean;
|
|
6
|
-
spacing: string;
|
|
7
|
-
justify: string;
|
|
8
|
-
mobileJustify: string;
|
|
9
|
-
padding?: string | undefined;
|
|
10
|
-
colorBg: string | undefined;
|
|
11
|
-
colorText: string | undefined;
|
|
12
|
-
opacity: string | undefined;
|
|
13
|
-
menuClasses(): any;
|
|
14
|
-
render(): import("lit").TemplateResult<1>;
|
|
15
|
-
static styles: import("lit").CSSResultArray;
|
|
16
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import '../button-icon';
|
|
3
|
-
export declare class Modal extends LitElement {
|
|
4
|
-
visible: boolean;
|
|
5
|
-
layout: string;
|
|
6
|
-
constructor();
|
|
7
|
-
connectedCallback(): void;
|
|
8
|
-
disconnectedCallback(): void;
|
|
9
|
-
modalClasses(): any;
|
|
10
|
-
toggleModal(): void;
|
|
11
|
-
render(): import("lit").TemplateResult<1>;
|
|
12
|
-
static styles: import("lit").CSSResultArray;
|
|
13
|
-
}
|
|
@@ -1,60 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import { EventManager } from '../../classes/event-manager/event-manager';
|
|
3
|
-
import '../disclosure';
|
|
4
|
-
import '../text';
|
|
5
|
-
import '../icon';
|
|
6
|
-
import '../button-group';
|
|
7
|
-
interface Option {
|
|
8
|
-
id: string;
|
|
9
|
-
name: string;
|
|
10
|
-
label: string;
|
|
11
|
-
value: string;
|
|
12
|
-
count: number;
|
|
13
|
-
pluralType: string;
|
|
14
|
-
disabled: boolean;
|
|
15
|
-
}
|
|
16
|
-
interface groupOptions {
|
|
17
|
-
id: string;
|
|
18
|
-
name: string;
|
|
19
|
-
label: string;
|
|
20
|
-
groups: OptionGroup[];
|
|
21
|
-
}
|
|
22
|
-
interface OptionGroup {
|
|
23
|
-
groupLabel: string;
|
|
24
|
-
options: Option[];
|
|
25
|
-
}
|
|
26
|
-
export declare class Multiselect extends LitElement {
|
|
27
|
-
id: string;
|
|
28
|
-
options: Option[];
|
|
29
|
-
groupOptions: groupOptions | undefined;
|
|
30
|
-
label: string;
|
|
31
|
-
name: string;
|
|
32
|
-
selectedItem: number;
|
|
33
|
-
defaultLabel: boolean;
|
|
34
|
-
border: boolean;
|
|
35
|
-
borderRadius: string;
|
|
36
|
-
multiselect: boolean;
|
|
37
|
-
disabled: boolean;
|
|
38
|
-
_checkedInputs: Array<HTMLInputElement>;
|
|
39
|
-
_currentSelectedLabel: string;
|
|
40
|
-
windowEventManager: EventManager;
|
|
41
|
-
eventManager: EventManager;
|
|
42
|
-
connectedCallback(): void;
|
|
43
|
-
disconnectedCallback(): void;
|
|
44
|
-
updated(changedProperties: Map<string, any>): void;
|
|
45
|
-
private _eventsHandler;
|
|
46
|
-
private _eventsDispatcher;
|
|
47
|
-
private _getCheckedValues;
|
|
48
|
-
/** Render UX */
|
|
49
|
-
private _onRadioChange;
|
|
50
|
-
private _onMultiSelectChange;
|
|
51
|
-
optionsListClasses(): any;
|
|
52
|
-
optionsListStyles(): {};
|
|
53
|
-
optionsContent(): import("lit").TemplateResult<1> | undefined;
|
|
54
|
-
selectRadios(): import("lit").TemplateResult<1>;
|
|
55
|
-
selectCheckboxes(): import("lit").TemplateResult<1>;
|
|
56
|
-
currentRadioLabel(): import("lit").TemplateResult<1> | undefined;
|
|
57
|
-
render(): import("lit").TemplateResult<1>;
|
|
58
|
-
static styles: import("lit").CSSResultArray;
|
|
59
|
-
}
|
|
60
|
-
export {};
|
|
@@ -1,28 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import '../button-icon';
|
|
3
|
-
export declare class NumberField extends LitElement {
|
|
4
|
-
hideLabel: boolean;
|
|
5
|
-
layout: string;
|
|
6
|
-
placeholder: string | undefined;
|
|
7
|
-
disabled: boolean;
|
|
8
|
-
required: boolean;
|
|
9
|
-
id: string;
|
|
10
|
-
error: boolean;
|
|
11
|
-
name: string;
|
|
12
|
-
value: string;
|
|
13
|
-
step: number;
|
|
14
|
-
min: number;
|
|
15
|
-
max: number;
|
|
16
|
-
_input: HTMLInputElement | undefined;
|
|
17
|
-
changeEvent(): void;
|
|
18
|
-
setNumericalValue(operator: string): void;
|
|
19
|
-
fieldClasses(): any;
|
|
20
|
-
inputClasses(): any;
|
|
21
|
-
labelClasses(): any;
|
|
22
|
-
renderLabel(): import("lit").TemplateResult<1>;
|
|
23
|
-
renderButtons(): import("lit").TemplateResult<1>;
|
|
24
|
-
renderNumber(): import("lit").TemplateResult<1>;
|
|
25
|
-
renderErrorMessage(): import("lit").TemplateResult<1> | undefined;
|
|
26
|
-
render(): import("lit").TemplateResult<1>;
|
|
27
|
-
static styles: import("lit").CSSResultArray;
|
|
28
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
export declare class Overlay extends LitElement {
|
|
3
|
-
colorText: string;
|
|
4
|
-
colorBg: string;
|
|
5
|
-
_visible: boolean;
|
|
6
|
-
connectedCallback(): void;
|
|
7
|
-
disconnectedCallback(): void;
|
|
8
|
-
openOverlay(): void;
|
|
9
|
-
closeOverlay(): void;
|
|
10
|
-
overlayClasses(): any;
|
|
11
|
-
render(): import("lit").TemplateResult<1>;
|
|
12
|
-
static styles: import("lit").CSSResultArray;
|
|
13
|
-
}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import { PageWidthScale } from '../../types';
|
|
3
|
-
export declare class Page extends LitElement {
|
|
4
|
-
width: PageWidthScale;
|
|
5
|
-
sectionMargins: number | undefined;
|
|
6
|
-
divider: boolean;
|
|
7
|
-
colorText: string;
|
|
8
|
-
colorBg: string;
|
|
9
|
-
pageClasses(): any;
|
|
10
|
-
pageStyles(): {};
|
|
11
|
-
render(): import("lit").TemplateResult<1>;
|
|
12
|
-
static styles: import("lit").CSSResultArray;
|
|
13
|
-
}
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import { EventManager } from '../../classes/event-manager/event-manager.js';
|
|
3
|
-
import '../box/';
|
|
4
|
-
import '../vertical-stack/';
|
|
5
|
-
import '../horizontal-stack/';
|
|
6
|
-
import '../button-icon/';
|
|
7
|
-
export declare class Popover extends LitElement {
|
|
8
|
-
visible: boolean;
|
|
9
|
-
eventManager: EventManager;
|
|
10
|
-
private _eventsDispatcher;
|
|
11
|
-
closePopover(): void;
|
|
12
|
-
popoverClasses(): any;
|
|
13
|
-
popoverStyles(): {
|
|
14
|
-
visibility: string;
|
|
15
|
-
};
|
|
16
|
-
closeButton(): import("lit").TemplateResult<1> | undefined;
|
|
17
|
-
render(): import("lit").TemplateResult<1>;
|
|
18
|
-
static styles: import("lit").CSSResultArray;
|
|
19
|
-
}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import type { TextVariant, TextAlignment, TextLineHeight } from '../../types';
|
|
3
|
-
export declare class RichText extends LitElement {
|
|
4
|
-
size: TextVariant;
|
|
5
|
-
lineHeight: TextLineHeight | undefined;
|
|
6
|
-
alignment: TextAlignment;
|
|
7
|
-
mobileAlignment: TextAlignment | undefined;
|
|
8
|
-
textClasses(): any;
|
|
9
|
-
render(): import("lit").TemplateResult<1>;
|
|
10
|
-
static styles: import("lit").CSSResultArray;
|
|
11
|
-
}
|
|
@@ -1,33 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import type { PaddingScale } from '../../types';
|
|
3
|
-
export declare class Section extends LitElement {
|
|
4
|
-
outerWidth: string;
|
|
5
|
-
innerWidth: string;
|
|
6
|
-
maxInnerWidth: number | undefined;
|
|
7
|
-
compactHeader: boolean;
|
|
8
|
-
mobileBleed: boolean;
|
|
9
|
-
mobilePadding: string | undefined;
|
|
10
|
-
paddingTop: PaddingScale | undefined;
|
|
11
|
-
paddingBottom: PaddingScale | undefined;
|
|
12
|
-
paddingLeft: PaddingScale | undefined;
|
|
13
|
-
paddingRight: PaddingScale | undefined;
|
|
14
|
-
colorBg: string | undefined;
|
|
15
|
-
colorText: string | undefined;
|
|
16
|
-
private _withoutHeader;
|
|
17
|
-
private _withoutFooter;
|
|
18
|
-
private _mobilePadding;
|
|
19
|
-
handleSlotchange(e: Event): void;
|
|
20
|
-
firstUpdated(): void;
|
|
21
|
-
updated(changedProperties: Map<string, any>): void;
|
|
22
|
-
isNumeric: (string: unknown) => boolean;
|
|
23
|
-
convertMobilePadding(mobilePadding: string): void;
|
|
24
|
-
sectionClasses(): any;
|
|
25
|
-
sectionInnerClasses(): any;
|
|
26
|
-
sectionStyles(): {};
|
|
27
|
-
headerStyles(): {};
|
|
28
|
-
footerStyles(): {};
|
|
29
|
-
header(): import("lit").TemplateResult<1>;
|
|
30
|
-
footer(): import("lit").TemplateResult<1>;
|
|
31
|
-
render(): import("lit").TemplateResult<1>;
|
|
32
|
-
static styles: import("lit").CSSResultArray;
|
|
33
|
-
}
|
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
import { EventManager } from '../../classes/event-manager/event-manager';
|
|
3
|
-
import '../disclosure';
|
|
4
|
-
import '../text';
|
|
5
|
-
import '../icon';
|
|
6
|
-
interface Option {
|
|
7
|
-
id: string;
|
|
8
|
-
name: string;
|
|
9
|
-
label: string;
|
|
10
|
-
value: string;
|
|
11
|
-
count: number;
|
|
12
|
-
pluralType: string;
|
|
13
|
-
disabled: boolean;
|
|
14
|
-
}
|
|
15
|
-
export declare class Select extends LitElement {
|
|
16
|
-
id: string;
|
|
17
|
-
options: Option[];
|
|
18
|
-
label: string;
|
|
19
|
-
name: string;
|
|
20
|
-
selectedItem: number;
|
|
21
|
-
defaultLabel: boolean;
|
|
22
|
-
colorText: string | undefined;
|
|
23
|
-
colorBg: string | undefined;
|
|
24
|
-
border: boolean;
|
|
25
|
-
borderRadius: string;
|
|
26
|
-
disabled: boolean;
|
|
27
|
-
_currentSelectedLabel: string;
|
|
28
|
-
windowEventManager: EventManager;
|
|
29
|
-
eventManager: EventManager;
|
|
30
|
-
connectedCallback(): void;
|
|
31
|
-
disconnectedCallback(): void;
|
|
32
|
-
updated(changedProperties: Map<string, any>): void;
|
|
33
|
-
private _eventsHandler;
|
|
34
|
-
private _eventsDispatcher;
|
|
35
|
-
/** Render UX */
|
|
36
|
-
private _onOptionChange;
|
|
37
|
-
optionsListClasses(): any;
|
|
38
|
-
optionsListStyles(): {};
|
|
39
|
-
optionsList(): import("lit").TemplateResult<1> | undefined;
|
|
40
|
-
currentOptionLabel(): import("lit").TemplateResult<1> | undefined;
|
|
41
|
-
render(): import("lit").TemplateResult<1>;
|
|
42
|
-
static styles: import("lit").CSSResultArray;
|
|
43
|
-
}
|
|
44
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { LitElement } from 'lit';
|
|
2
|
-
export declare class Slide extends LitElement {
|
|
3
|
-
contentType: string;
|
|
4
|
-
active: boolean;
|
|
5
|
-
content(): import("lit").TemplateResult<1>;
|
|
6
|
-
render(): import("lit").TemplateResult<1>;
|
|
7
|
-
static styles: import("lit").CSSResultArray;
|
|
8
|
-
}
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { LitElement, nothing } from 'lit';
|
|
2
|
-
export declare class SliderControls extends LitElement {
|
|
3
|
-
sliderId: string;
|
|
4
|
-
controlType: string;
|
|
5
|
-
controlPosition: string;
|
|
6
|
-
numberOfSlides: number;
|
|
7
|
-
slidesPerPage: number;
|
|
8
|
-
currentPage: number;
|
|
9
|
-
autoPlay: boolean;
|
|
10
|
-
loopSlides: boolean;
|
|
11
|
-
playing: boolean;
|
|
12
|
-
_pauseHold: boolean;
|
|
13
|
-
_positionInside: boolean;
|
|
14
|
-
_overflowObserver: IntersectionObserver | undefined;
|
|
15
|
-
updated(changedProperties: Map<string, any>): void;
|
|
16
|
-
private _positionControls;
|
|
17
|
-
private _dispatchControlAction;
|
|
18
|
-
controlClasses(): any;
|
|
19
|
-
counterClasses(): any;
|
|
20
|
-
numberButtons(): import("lit").TemplateResult<1>;
|
|
21
|
-
dotButtons(): import("lit").TemplateResult<1>;
|
|
22
|
-
controlVisualType(): import("lit").TemplateResult<1>;
|
|
23
|
-
autoPlayButtons(): import("lit").TemplateResult<1> | typeof nothing;
|
|
24
|
-
navigationButton(direction: string): import("lit").TemplateResult<1>;
|
|
25
|
-
render(): import("lit").TemplateResult<1> | undefined;
|
|
26
|
-
static styles: import("lit").CSSResultArray;
|
|
27
|
-
}
|
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
import { LitElement, nothing } from 'lit';
|
|
2
|
-
import '../../scripts/polyfills/scrollyfills.js';
|
|
3
|
-
import { SlideEvent } from '../../classes/event-manager/types.js';
|
|
4
|
-
import './slide';
|
|
5
|
-
import './slider-controls';
|
|
6
|
-
import '../button-icon/';
|
|
7
|
-
export declare class Slider extends LitElement {
|
|
8
|
-
accessibleName: string;
|
|
9
|
-
accessibleDescription: string;
|
|
10
|
-
contentType: string;
|
|
11
|
-
controlType: string;
|
|
12
|
-
controlPosition: string;
|
|
13
|
-
desktopSlider?: boolean | undefined;
|
|
14
|
-
mobileSlider?: boolean | undefined;
|
|
15
|
-
peek?: boolean | undefined;
|
|
16
|
-
autoPlay?: boolean | undefined;
|
|
17
|
-
autoPlaySpeed: number;
|
|
18
|
-
desktopColumns: number;
|
|
19
|
-
mobileColumns: string;
|
|
20
|
-
gaplessColumns?: boolean | undefined;
|
|
21
|
-
fill?: boolean | undefined;
|
|
22
|
-
_sliderId: string | undefined;
|
|
23
|
-
_totalPages: number;
|
|
24
|
-
_sliderItems: Array<HTMLElement>;
|
|
25
|
-
_slider: HTMLElement;
|
|
26
|
-
_currentPage: number;
|
|
27
|
-
_playing: boolean;
|
|
28
|
-
_sliderItemsToShow: Array<HTMLElement>;
|
|
29
|
-
_firstSlide: HTMLElement | null;
|
|
30
|
-
_secondSlide: HTMLElement | null;
|
|
31
|
-
_sliderItemOffset: number;
|
|
32
|
-
_slidesPerPage: number;
|
|
33
|
-
_loopSlides: boolean;
|
|
34
|
-
_scrolling: boolean;
|
|
35
|
-
_autoRotate: ReturnType<typeof setTimeout> | undefined;
|
|
36
|
-
_slideVisibleObserver: IntersectionObserver | undefined;
|
|
37
|
-
_resizeObserver: ResizeObserver | undefined;
|
|
38
|
-
static eventTypes: string[];
|
|
39
|
-
constructor();
|
|
40
|
-
connectedCallback(): void;
|
|
41
|
-
disconnectedCallback(): void;
|
|
42
|
-
slidesChanged(): void;
|
|
43
|
-
updated(changedProperties: Map<string, any>): void;
|
|
44
|
-
initialise(): Promise<void>;
|
|
45
|
-
protected _sliderSetup(): void;
|
|
46
|
-
private _slideshowSetup;
|
|
47
|
-
protected _customEventsHandler(e: SlideEvent): void;
|
|
48
|
-
private _updateCurrentPage;
|
|
49
|
-
private _scrollEnd;
|
|
50
|
-
private _isSlideVisible;
|
|
51
|
-
private _resetAutoplay;
|
|
52
|
-
private _slideNavigation;
|
|
53
|
-
private _previousButtonClick;
|
|
54
|
-
private _nextButtonClick;
|
|
55
|
-
private _slideLink;
|
|
56
|
-
private _autoRotateSlides;
|
|
57
|
-
play(): void;
|
|
58
|
-
pause(): void;
|
|
59
|
-
pausePlay(): void;
|
|
60
|
-
resumePlay(): void;
|
|
61
|
-
sliderComponentClasses(): any;
|
|
62
|
-
gridClasses(): any;
|
|
63
|
-
gridStyles(): {};
|
|
64
|
-
sliderContent(): import("lit").TemplateResult<1>;
|
|
65
|
-
sliderControls(): import("lit").TemplateResult<1> | typeof nothing;
|
|
66
|
-
render(): import("lit").TemplateResult<1>;
|
|
67
|
-
static styles: import("lit").CSSResultArray;
|
|
68
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const controls: import("lit").CSSResult;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare const slider: import("lit").CSSResult;
|