@pushengineering/umg-web-components 2.0.2 → 2.0.4
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/{packages/web-components/components → components}/badge/badge.js +47 -49
- package/dist/components/badge/index.d.ts +2 -0
- package/dist/components/banner/banner.d.ts +39 -0
- package/dist/{packages/web-components/components → components}/banner/banner.js +23 -25
- package/dist/components/banner/index.d.ts +3 -0
- package/dist/components/banner-image/banner-image.d.ts +23 -0
- package/dist/{packages/web-components/components → components}/banner-image/banner-image.js +26 -29
- package/dist/components/banner-image/index.d.ts +2 -0
- package/dist/components/box/box.d.ts +28 -0
- package/dist/components/box/box.js +229 -0
- package/dist/components/box/index.d.ts +2 -0
- package/dist/components/button/button.d.ts +31 -0
- package/dist/{packages/web-components/components → components}/button/button.js +21 -24
- package/dist/components/button/index.d.ts +2 -0
- package/dist/components/button-group/button-group.d.ts +12 -0
- package/dist/{packages/web-components/components → components}/button-group/button-group.js +20 -23
- package/dist/components/button-group/index.d.ts +2 -0
- package/dist/components/button-icon/button-icon.d.ts +31 -0
- package/dist/{packages/web-components/components → components}/button-icon/button-icon.js +25 -28
- package/dist/components/button-icon/index.d.ts +2 -0
- package/dist/components/caption-card/caption-card.d.ts +38 -0
- package/dist/{packages/web-components/components → components}/caption-card/caption-card.js +19 -21
- package/dist/components/caption-card/index.d.ts +2 -0
- package/dist/components/deferred-media/deferred-media.d.ts +25 -0
- package/dist/{packages/web-components/components → components}/deferred-media/deferred-media.js +27 -27
- package/dist/components/deferred-media/index.d.ts +2 -0
- package/dist/components/disclosure/disclosure.d.ts +23 -0
- package/dist/{packages/web-components/components → components}/disclosure/disclosure.js +16 -19
- package/dist/components/disclosure/index.d.ts +2 -0
- package/dist/components/event-table/event-content.d.ts +7 -0
- package/dist/{packages/web-components/components → components}/event-table/event-content.js +19 -22
- package/dist/components/event-table/event-date.d.ts +5 -0
- package/dist/components/event-table/event-date.js +42 -0
- package/dist/components/event-table/event-table.d.ts +10 -0
- package/dist/components/event-table/event-table.js +71 -0
- package/dist/components/event-table/event.d.ts +5 -0
- package/dist/components/event-table/event.js +42 -0
- package/dist/components/event-table/index.d.ts +2 -0
- package/dist/components/footer/footer.d.ts +16 -0
- package/dist/{packages/web-components/components → components}/footer/footer.js +15 -18
- package/dist/components/footer/index.d.ts +2 -0
- package/dist/components/grid/grid-cell.d.ts +5 -0
- package/dist/components/grid/grid-cell.js +37 -0
- package/dist/components/grid/grid.d.ts +12 -0
- package/dist/{packages/web-components/components → components}/grid/grid.js +37 -40
- package/dist/components/grid/index.d.ts +2 -0
- package/dist/components/header/header.d.ts +36 -0
- package/dist/{packages/web-components/components → components}/header/header.js +25 -29
- package/dist/components/header/index.d.ts +2 -0
- package/dist/components/header-drawer/header-drawer.d.ts +32 -0
- package/dist/{packages/web-components/components → components}/header-drawer/header-drawer.js +18 -21
- package/dist/components/header-drawer/index.d.ts +2 -0
- package/dist/components/header-drawer/menu-drawer.d.ts +13 -0
- package/dist/{packages/web-components/components → components}/header-drawer/menu-drawer.js +16 -19
- package/dist/components/horizontal-stack/horizontal-stack.d.ts +13 -0
- package/dist/components/horizontal-stack/horizontal-stack.js +90 -0
- package/dist/components/horizontal-stack/index.d.ts +2 -0
- package/dist/components/icon/icon.d.ts +14 -0
- package/dist/{packages/web-components/components → components}/icon/icon.js +20 -23
- package/dist/components/icon/index.d.ts +2 -0
- package/dist/components/image/image.d.ts +19 -0
- package/dist/{packages/web-components/components → components}/image/image.js +17 -20
- package/dist/components/image/index.d.ts +2 -0
- package/dist/components/index.d.ts +41 -0
- package/dist/{packages/web-components/components → components}/index.js +38 -36
- package/dist/components/link/index.d.ts +2 -0
- package/dist/components/link/link.d.ts +10 -0
- package/dist/{packages/web-components/components → components}/link/link.js +27 -30
- package/dist/components/link-group/index.d.ts +2 -0
- package/dist/components/link-group/link-group.d.ts +13 -0
- package/dist/{packages/web-components/components → components}/link-group/link-group.js +15 -18
- package/dist/components/logo/index.d.ts +2 -0
- package/dist/components/logo/logo.d.ts +19 -0
- package/dist/{packages/web-components/components → components}/logo/logo.js +32 -35
- package/dist/components/media-gallery/index.d.ts +2 -0
- package/dist/components/media-gallery/media-gallery.d.ts +14 -0
- package/dist/{packages/web-components/components → components}/media-gallery/media-gallery.js +19 -22
- package/dist/components/media-gallery/media.d.ts +5 -0
- package/dist/components/media-gallery/media.js +29 -0
- package/dist/components/media-text/index.d.ts +2 -0
- package/dist/components/media-text/media-text.d.ts +30 -0
- package/dist/{packages/web-components/components → components}/media-text/media-text.js +20 -34
- package/dist/components/media-text/styles/media-size.d.ts +1 -0
- package/dist/{packages/web-components/components → components}/media-text/styles/media-size.js +5 -8
- package/dist/components/menu/index.d.ts +2 -0
- package/dist/components/menu/menu.d.ts +36 -0
- package/dist/{packages/web-components/components → components}/menu/menu.js +39 -38
- package/dist/components/menu-bar/index.d.ts +2 -0
- package/dist/components/menu-bar/menu-bar.d.ts +16 -0
- package/dist/components/menu-bar/menu-bar.js +110 -0
- package/dist/components/modal/index.d.ts +2 -0
- package/dist/components/modal/modal.d.ts +13 -0
- package/dist/{packages/web-components/components → components}/modal/modal.js +70 -41
- 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/{packages/web-components/components → components}/number-field/number-field.js +22 -25
- package/dist/components/overlay/index.d.ts +2 -0
- package/dist/components/overlay/overlay.d.ts +13 -0
- package/dist/components/overlay/overlay.js +74 -0
- package/dist/components/page/index.d.ts +2 -0
- package/dist/components/page/page.d.ts +13 -0
- package/dist/{packages/web-components/components → components}/page/page.js +16 -19
- package/dist/components/popover/index.d.ts +2 -0
- package/dist/components/popover/popover.d.ts +19 -0
- package/dist/components/popover/popover.js +181 -0
- package/dist/components/rich-text/index.d.ts +2 -0
- package/dist/components/rich-text/rich-text.d.ts +11 -0
- package/dist/{packages/web-components/components → components}/rich-text/rich-text.js +25 -28
- package/dist/components/section/index.d.ts +2 -0
- package/dist/components/section/section.d.ts +33 -0
- package/dist/{packages/web-components/components → components}/section/section.js +71 -59
- package/dist/components/select/index.d.ts +2 -0
- package/dist/components/select/select.d.ts +44 -0
- package/dist/{packages/web-components/components → components}/select/select.js +48 -63
- package/dist/components/slider/index.d.ts +2 -0
- package/dist/components/slider/slide.d.ts +8 -0
- package/dist/components/slider/slide.js +65 -0
- package/dist/components/slider/slider-controls.d.ts +27 -0
- package/dist/{packages/web-components/components → components}/slider/slider-controls.js +45 -47
- package/dist/components/slider/slider.d.ts +68 -0
- package/dist/{packages/web-components/components → components}/slider/slider.js +25 -28
- package/dist/components/slider/styles/controls.d.ts +1 -0
- package/dist/{packages/web-components/components → components}/slider/styles/controls.js +3 -6
- package/dist/components/slider/styles/slider.d.ts +1 -0
- package/dist/{packages/web-components/components → components}/slider/styles/slider.js +3 -6
- package/dist/components/socials/index.d.ts +2 -0
- package/dist/components/socials/socials.d.ts +26 -0
- package/dist/components/socials/socials.js +93 -0
- package/dist/components/table/index.d.ts +2 -0
- package/dist/components/table/table.d.ts +13 -0
- package/dist/{packages/web-components/components → components}/table/table.js +30 -33
- package/dist/components/text/index.d.ts +2 -0
- package/dist/components/text/text.d.ts +24 -0
- package/dist/{packages/web-components/components → components}/text/text.js +65 -57
- package/dist/components/text-field/index.d.ts +2 -0
- package/dist/components/text-field/text-field.d.ts +25 -0
- package/dist/{packages/web-components/components → components}/text-field/text-field.js +13 -16
- 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-slide.js +48 -0
- package/dist/components/thumbnail-slider/thumbnail-slider.d.ts +20 -0
- package/dist/{packages/web-components/components → components}/thumbnail-slider/thumbnail-slider.js +15 -15
- package/dist/components/vertical-stack/index.d.ts +2 -0
- package/dist/components/vertical-stack/vertical-stack.d.ts +13 -0
- package/dist/components/vertical-stack/vertical-stack.js +92 -0
- package/dist/components/video/index.d.ts +2 -0
- package/dist/components/video/video.d.ts +29 -0
- package/dist/{packages/web-components/components → components}/video/video.js +22 -26
- package/dist/{packages/web-components/styles → styles}/button.js +4 -7
- package/dist/{packages/web-components/styles → styles}/fonts.js +21 -14
- package/dist/{packages/web-components/styles → styles}/global.js +3 -6
- package/dist/{packages/web-components/styles → styles}/grid.js +3 -6
- package/dist/{packages/web-components/styles → styles}/group.js +11 -14
- package/dist/{packages/web-components/styles → styles}/link.js +3 -6
- package/dist/{packages/web-components/styles → styles}/placeholder-media.js +3 -6
- package/dist/types.d.ts +66 -0
- package/package.json +47 -49
- package/readme.md +22 -69
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/css-tag.js +0 -56
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/base.js +0 -9
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/custom-element.js +0 -13
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/property.js +0 -37
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/query-assigned-elements.js +0 -19
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/query.js +0 -34
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/decorators/state.js +0 -12
- package/dist/node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/reactive-element.js +0 -260
- package/dist/node_modules/.pnpm/lit-element@4.0.4/node_modules/lit-element/lit-element.js +0 -50
- package/dist/node_modules/.pnpm/lit-html@3.1.2/node_modules/lit-html/directive.js +0 -27
- package/dist/node_modules/.pnpm/lit-html@3.1.2/node_modules/lit-html/directives/class-map.js +0 -37
- package/dist/node_modules/.pnpm/lit-html@3.1.2/node_modules/lit-html/directives/if-defined.js +0 -10
- package/dist/node_modules/.pnpm/lit-html@3.1.2/node_modules/lit-html/directives/map.js +0 -15
- package/dist/node_modules/.pnpm/lit-html@3.1.2/node_modules/lit-html/directives/range.js +0 -14
- package/dist/node_modules/.pnpm/lit-html@3.1.2/node_modules/lit-html/directives/style-map.js +0 -39
- package/dist/node_modules/.pnpm/lit-html@3.1.2/node_modules/lit-html/lit-html.js +0 -259
- package/dist/packages/web-components/components/box/box.js +0 -208
- package/dist/packages/web-components/components/event-table/event-date.js +0 -45
- package/dist/packages/web-components/components/event-table/event-table.js +0 -74
- package/dist/packages/web-components/components/event-table/event.js +0 -45
- package/dist/packages/web-components/components/grid/grid-cell.js +0 -40
- package/dist/packages/web-components/components/horizontal-stack/horizontal-stack.js +0 -93
- package/dist/packages/web-components/components/media-gallery/media.js +0 -31
- package/dist/packages/web-components/components/overlay/overlay.js +0 -77
- package/dist/packages/web-components/components/popover/popover.js +0 -163
- package/dist/packages/web-components/components/slider/slide.js +0 -68
- package/dist/packages/web-components/components/socials/socials.js +0 -96
- package/dist/packages/web-components/components/thumbnail-slider/thumbnail-slide.js +0 -51
- package/dist/packages/web-components/components/vertical-stack/vertical-stack.js +0 -95
- /package/dist/{packages/web-components/classes → classes}/event-manager/event-manager.js +0 -0
- /package/dist/{packages/web-components/classes → classes}/index.js +0 -0
- /package/dist/{packages/web-components/components → components}/icon/icons.svg.js +0 -0
- /package/dist/{packages/web-components/scripts → scripts}/mergeStyles.js +0 -0
- /package/dist/{packages/web-components/scripts → scripts}/polyfills/scrollyfills.js +0 -0
- /package/dist/{packages/web-components/scripts → scripts}/settings.js +0 -0
- /package/dist/{packages/web-components/scripts → scripts}/themeStyleSheet.js +0 -0
- /package/dist/{packages/web-components/scripts → scripts}/utilities/debounce.js +0 -0
- /package/dist/{packages/web-components/scripts → scripts}/utilities/paddingTransformations.js +0 -0
- /package/dist/{packages/web-components/styles → styles}/icon-size.js +0 -0
|
@@ -0,0 +1,229 @@
|
|
|
1
|
+
import { css as h, LitElement as l, html as x } from "lit";
|
|
2
|
+
import { customElement as c } from "lit/decorators/custom-element.js";
|
|
3
|
+
import { property as d } from "lit/decorators/property.js";
|
|
4
|
+
import { state as m } from "lit/decorators/state.js";
|
|
5
|
+
import { styleMap as u } from "lit/directives/style-map.js";
|
|
6
|
+
import { classMap as v } from "lit/directives/class-map.js";
|
|
7
|
+
import { mergePaddingArrays as s, paddingToRem as b, paddingToCssShorthandArray as f } from "../../scripts/utilities/paddingTransformations.js";
|
|
8
|
+
import { global as _ } from "../../styles/global.js";
|
|
9
|
+
import { settings as y } from "../../scripts/settings.js";
|
|
10
|
+
import { mergeStyles as P } from "../../scripts/mergeStyles.js";
|
|
11
|
+
var w = Object.defineProperty, B = Object.getOwnPropertyDescriptor, i = (t, e, n, a) => {
|
|
12
|
+
for (var r = a > 1 ? void 0 : a ? B(e, n) : e, g = t.length - 1, p; g >= 0; g--)
|
|
13
|
+
(p = t[g]) && (r = (a ? p(e, n, r) : p(r)) || r);
|
|
14
|
+
return a && r && w(e, n, r), r;
|
|
15
|
+
};
|
|
16
|
+
const { prefix: R } = y;
|
|
17
|
+
let o = class extends l {
|
|
18
|
+
constructor() {
|
|
19
|
+
super(...arguments), this.adaptivePadding = !1, this.colorBlend = !1, this.blendDirection = "to-top", this.border = !1, this.borderRadius = "0";
|
|
20
|
+
}
|
|
21
|
+
firstUpdated() {
|
|
22
|
+
this._mergedPadding = s(this.getPadding()), this._mobilePadding = b(this.mobilePadding);
|
|
23
|
+
}
|
|
24
|
+
updated(t) {
|
|
25
|
+
(t.has("padding") || t.has("paddingTop") || t.has("paddingRight") || t.has("paddingBottom") || t.has("paddingLeft") || t.has("mobilePadding")) && (this._mergedPadding = s(this.getPadding()), this._mobilePadding = b(this.mobilePadding));
|
|
26
|
+
}
|
|
27
|
+
getPadding() {
|
|
28
|
+
const t = [], e = f(this.padding);
|
|
29
|
+
if (e && t.push(...t, e), (this.paddingTop || this.paddingRight || this.paddingBottom || this.paddingLeft) && t.push(...t, [
|
|
30
|
+
this.paddingTop !== void 0 ? this.paddingTop : "",
|
|
31
|
+
this.paddingRight !== void 0 ? this.paddingRight : "",
|
|
32
|
+
this.paddingBottom !== void 0 ? this.paddingBottom : "",
|
|
33
|
+
this.paddingLeft !== void 0 ? this.paddingLeft : ""
|
|
34
|
+
]), t.length)
|
|
35
|
+
return t;
|
|
36
|
+
}
|
|
37
|
+
boxStyles() {
|
|
38
|
+
let t = {};
|
|
39
|
+
return this.maxWidth !== void 0 && this.maxWidth > 0 ? this.style.maxWidth = this.maxWidth / 16 + "rem" : this.maxWidth !== void 0 && this.maxWidth <= 0 && (this.style.maxWidth = "100%"), this.colorText && (t = {
|
|
40
|
+
...t,
|
|
41
|
+
"--um-color-box-text": this.colorText
|
|
42
|
+
}), this.colorBg && (t = {
|
|
43
|
+
...t,
|
|
44
|
+
"--um-color-box-bg": this.colorBg
|
|
45
|
+
}), this.opacity !== void 0 && (t = {
|
|
46
|
+
...t,
|
|
47
|
+
"--um-opacity-box-bg": this.opacity
|
|
48
|
+
}), this.borderRadius !== "0" && (t = {
|
|
49
|
+
...t,
|
|
50
|
+
"--um-border-box-radius": "var(--um-border-radius-" + this.borderRadius + ")"
|
|
51
|
+
}), this._mergedPadding && (t = {
|
|
52
|
+
...t,
|
|
53
|
+
"--um-space-box-padding-top": this._mergedPadding.unitless.top,
|
|
54
|
+
"--um-space-box-padding-right": this._mergedPadding.unitless.right,
|
|
55
|
+
"--um-space-box-padding-bottom": this._mergedPadding.unitless.bottom,
|
|
56
|
+
"--um-space-box-padding-left": this._mergedPadding.unitless.left,
|
|
57
|
+
"--um-space-box-padding-top-rem": this._mergedPadding.rem.top,
|
|
58
|
+
"--um-space-box-padding-right-rem": this._mergedPadding.rem.right,
|
|
59
|
+
"--um-space-box-padding-bottom-rem": this._mergedPadding.rem.bottom,
|
|
60
|
+
"--um-space-box-padding-left-rem": this._mergedPadding.rem.left
|
|
61
|
+
}), this._mobilePadding && (t = {
|
|
62
|
+
...t,
|
|
63
|
+
"--um-space-box-mobile-padding": this._mobilePadding
|
|
64
|
+
}), t;
|
|
65
|
+
}
|
|
66
|
+
boxClasses() {
|
|
67
|
+
const t = {};
|
|
68
|
+
return this.colorBlend && (t["box--gradient"] = !0, t["box--gradient-" + this.blendDirection] = !0), this._mergedPadding && this.adaptivePadding ? t["box--adaptive-padding"] = !0 : this._mergedPadding !== void 0 && !this.adaptivePadding ? t["box--fixed-padding"] = !0 : t["box--token-padding"] = !0, this.border && (t["box--border"] = !0), this.borderRadius !== "0" && (t["box--border-radius"] = !0), t;
|
|
69
|
+
}
|
|
70
|
+
render() {
|
|
71
|
+
return x`
|
|
72
|
+
<div
|
|
73
|
+
class="box${v(this.boxClasses())}"
|
|
74
|
+
style="${u(this.boxStyles())}"
|
|
75
|
+
part="box"
|
|
76
|
+
>
|
|
77
|
+
<div class="box__content" part="box-content">
|
|
78
|
+
<slot></slot>
|
|
79
|
+
</div>
|
|
80
|
+
</div>
|
|
81
|
+
`;
|
|
82
|
+
}
|
|
83
|
+
};
|
|
84
|
+
o.styles = P([
|
|
85
|
+
_,
|
|
86
|
+
h`
|
|
87
|
+
|
|
88
|
+
/* Box width */
|
|
89
|
+
:host,
|
|
90
|
+
:host([width=fill]) {
|
|
91
|
+
display: block;
|
|
92
|
+
width: var(--um-size-box-width, 100%);
|
|
93
|
+
}
|
|
94
|
+
:host([width=fit-content]) {
|
|
95
|
+
width: fit-content;
|
|
96
|
+
}
|
|
97
|
+
:host([width=auto]) {
|
|
98
|
+
width: auto;
|
|
99
|
+
}
|
|
100
|
+
@media only screen and (max-width: 48rem) {
|
|
101
|
+
:host,
|
|
102
|
+
:host([mobileWidth=fill]) {
|
|
103
|
+
display: block;
|
|
104
|
+
width: var(--um-size-box-width, 100%);
|
|
105
|
+
}
|
|
106
|
+
:host([mobileWidth=fit-content]) {
|
|
107
|
+
width: fit-content;
|
|
108
|
+
}
|
|
109
|
+
:host([mobileWidth=auto]) {
|
|
110
|
+
width: auto;
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
.box {
|
|
115
|
+
height: 100%;
|
|
116
|
+
}
|
|
117
|
+
.box--border {
|
|
118
|
+
border: rgb(var(--um-color-border, 235,235,235)) var(--um-border-box-width, 0.0625rem) solid;
|
|
119
|
+
}
|
|
120
|
+
.box--border-radius {
|
|
121
|
+
border-radius: var(--um-border-box-radius, 0);
|
|
122
|
+
overflow: hidden;
|
|
123
|
+
}
|
|
124
|
+
.box__content {
|
|
125
|
+
color: rgba(var(--um-color-box-text, var(--um-color-section-text, 0,0,0)), 1);
|
|
126
|
+
background-color: rgba(var(--um-color-box-bg, var(--um-color-section-bg, 245,245,245)), var(--um-opacity-box-bg, 1));
|
|
127
|
+
height: 100%;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
/* Gradient background */
|
|
131
|
+
.box--gradient.box--gradient-to-top .box__content {
|
|
132
|
+
background-image: linear-gradient(to top, rgb(var(--um-color-box-bg), 1), rgb(var(--um-color-box-bg), var(--um-opacity-box-bg, 1)));
|
|
133
|
+
}
|
|
134
|
+
.box--gradient.box--gradient-to-bottom .box__content {
|
|
135
|
+
background-image: linear-gradient(to bottom, rgb(var(--um-color-box-bg), 1), rgb(var(--um-color-box-bg), var(--um-opacity-box-bg, 1)));
|
|
136
|
+
}
|
|
137
|
+
.box--gradient.box--gradient-to-left .box__content {
|
|
138
|
+
background-image: linear-gradient(to left, rgb(var(--um-color-box-bg), 1), rgb(var(--um-color-box-bg), var(--um-opacity-box-bg, 1)));
|
|
139
|
+
}
|
|
140
|
+
.box--gradient.box--gradient-to-right .box__content {
|
|
141
|
+
background-image: linear-gradient(to right, rgb(var(--um-color-box-bg), 1), rgb(var(--um-color-box-bg), var(--um-opacity-box-bg, 1)));
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
/* Adaptive padding */
|
|
145
|
+
.box--adaptive-padding .box__content {
|
|
146
|
+
padding-top: clamp(1rem, 100vw * 0.04, var(--um-space-box-padding-top-rem));
|
|
147
|
+
padding-right: clamp(1rem, 100vw * 0.04, var(--um-space-box-padding-right-rem));
|
|
148
|
+
padding-bottom: clamp(1rem, 100vw * 0.04, var(--um-space-box-padding-bottom-rem));
|
|
149
|
+
padding-left: clamp(1rem, 100vw * 0.04, var(--um-space-box-padding-left-rem));
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
/* Fixed padding */
|
|
153
|
+
.box--fixed-padding .box__content {
|
|
154
|
+
padding-top: var(--um-space-box-padding-top-rem);
|
|
155
|
+
padding-right: var(--um-space-box-padding-right-rem);
|
|
156
|
+
padding-bottom: var(--um-space-box-padding-bottom-rem);
|
|
157
|
+
padding-left: var(--um-space-box-padding-left-rem);
|
|
158
|
+
}
|
|
159
|
+
.box--token-padding .box__content {
|
|
160
|
+
padding: var(--um-space-box-padding, 0.5rem);
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
@media only screen and (max-width: 48rem) {
|
|
164
|
+
.box__content,
|
|
165
|
+
.box--token-padding .box__content,
|
|
166
|
+
.box--adaptive-padding .box__content,
|
|
167
|
+
.box--fixed-padding .box__content {
|
|
168
|
+
padding: var(--um-space-box-mobile-padding, 0.5rem);
|
|
169
|
+
}
|
|
170
|
+
}
|
|
171
|
+
`
|
|
172
|
+
]);
|
|
173
|
+
i([
|
|
174
|
+
d({ type: Number })
|
|
175
|
+
], o.prototype, "maxWidth", 2);
|
|
176
|
+
i([
|
|
177
|
+
d()
|
|
178
|
+
], o.prototype, "padding", 2);
|
|
179
|
+
i([
|
|
180
|
+
d()
|
|
181
|
+
], o.prototype, "mobilePadding", 2);
|
|
182
|
+
i([
|
|
183
|
+
d()
|
|
184
|
+
], o.prototype, "paddingTop", 2);
|
|
185
|
+
i([
|
|
186
|
+
d()
|
|
187
|
+
], o.prototype, "paddingRight", 2);
|
|
188
|
+
i([
|
|
189
|
+
d()
|
|
190
|
+
], o.prototype, "paddingBottom", 2);
|
|
191
|
+
i([
|
|
192
|
+
d()
|
|
193
|
+
], o.prototype, "paddingLeft", 2);
|
|
194
|
+
i([
|
|
195
|
+
d({ type: Boolean })
|
|
196
|
+
], o.prototype, "adaptivePadding", 2);
|
|
197
|
+
i([
|
|
198
|
+
d()
|
|
199
|
+
], o.prototype, "colorText", 2);
|
|
200
|
+
i([
|
|
201
|
+
d()
|
|
202
|
+
], o.prototype, "colorBg", 2);
|
|
203
|
+
i([
|
|
204
|
+
d({ type: Boolean })
|
|
205
|
+
], o.prototype, "colorBlend", 2);
|
|
206
|
+
i([
|
|
207
|
+
d()
|
|
208
|
+
], o.prototype, "blendDirection", 2);
|
|
209
|
+
i([
|
|
210
|
+
d({ type: Boolean })
|
|
211
|
+
], o.prototype, "border", 2);
|
|
212
|
+
i([
|
|
213
|
+
d()
|
|
214
|
+
], o.prototype, "borderRadius", 2);
|
|
215
|
+
i([
|
|
216
|
+
d()
|
|
217
|
+
], o.prototype, "opacity", 2);
|
|
218
|
+
i([
|
|
219
|
+
m()
|
|
220
|
+
], o.prototype, "_mergedPadding", 2);
|
|
221
|
+
i([
|
|
222
|
+
m()
|
|
223
|
+
], o.prototype, "_mobilePadding", 2);
|
|
224
|
+
o = i([
|
|
225
|
+
c(`${R}-box`)
|
|
226
|
+
], o);
|
|
227
|
+
export {
|
|
228
|
+
o as Box
|
|
229
|
+
};
|
|
@@ -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
|
+
}
|
|
@@ -1,23 +1,20 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { settings as y } from "../../scripts/settings.js";
|
|
12
|
-
import { mergeStyles as v } from "../../scripts/mergeStyles.js";
|
|
13
|
-
import { css as x } from "../../../../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/css-tag.js";
|
|
1
|
+
import { css as h, LitElement as m, html as r } from "lit";
|
|
2
|
+
import { customElement as g } from "lit/decorators/custom-element.js";
|
|
3
|
+
import { property as n } from "lit/decorators/property.js";
|
|
4
|
+
import { ifDefined as d } from "lit/directives/if-defined.js";
|
|
5
|
+
import { classMap as c } from "lit/directives/class-map.js";
|
|
6
|
+
import { styleMap as p } from "lit/directives/style-map.js";
|
|
7
|
+
import { global as f } from "../../styles/global.js";
|
|
8
|
+
import { buttonState as y } from "../../styles/button.js";
|
|
9
|
+
import { settings as v } from "../../scripts/settings.js";
|
|
10
|
+
import { mergeStyles as x } from "../../scripts/mergeStyles.js";
|
|
14
11
|
var w = Object.defineProperty, _ = Object.getOwnPropertyDescriptor, e = (o, a, l, s) => {
|
|
15
12
|
for (var i = s > 1 ? void 0 : s ? _(a, l) : a, u = o.length - 1, b; u >= 0; u--)
|
|
16
13
|
(b = o[u]) && (i = (s ? b(a, l, i) : b(i)) || i);
|
|
17
14
|
return s && i && w(a, l, i), i;
|
|
18
15
|
};
|
|
19
|
-
const { prefix: z } =
|
|
20
|
-
let t = class extends
|
|
16
|
+
const { prefix: z } = v;
|
|
17
|
+
let t = class extends m {
|
|
21
18
|
constructor() {
|
|
22
19
|
super(), this.as = "button", this.type = "button", this.for = void 0, this.clickAction = void 0, this.url = void 0, this.target = "_self", this.size = "medium", this.buttonStyle = "solid", this.textAlign = "center", this.disabled = !1, this.fullWidth = !1, this.extendInteraction = !1, this.extendInteractionHidden = !1, this.loading = !1, this._extendedInteraction();
|
|
23
20
|
}
|
|
@@ -75,8 +72,8 @@ let t = class extends h {
|
|
|
75
72
|
return r`
|
|
76
73
|
<button
|
|
77
74
|
type=${this.type}
|
|
78
|
-
class="button${
|
|
79
|
-
style="${
|
|
75
|
+
class="button${c(this.buttonClasses())}"
|
|
76
|
+
style="${p(this.buttonStyles())}"
|
|
80
77
|
aria-controls="${d(this.for)}"
|
|
81
78
|
clickAction="${d(this.clickAction)}"
|
|
82
79
|
?disabled=${this.disabled}
|
|
@@ -90,8 +87,8 @@ let t = class extends h {
|
|
|
90
87
|
return r`
|
|
91
88
|
<a
|
|
92
89
|
href="${this.url}"
|
|
93
|
-
class="button${
|
|
94
|
-
style="${
|
|
90
|
+
class="button${c(this.buttonClasses())}"
|
|
91
|
+
style="${p(this.buttonStyles())}"
|
|
95
92
|
target="${this.target}"
|
|
96
93
|
?disabled=${this.disabled}
|
|
97
94
|
part="button"
|
|
@@ -124,10 +121,10 @@ let t = class extends h {
|
|
|
124
121
|
`;
|
|
125
122
|
}
|
|
126
123
|
};
|
|
127
|
-
t.styles =
|
|
128
|
-
g,
|
|
124
|
+
t.styles = x([
|
|
129
125
|
f,
|
|
130
|
-
|
|
126
|
+
y,
|
|
127
|
+
h`
|
|
131
128
|
/* Parent */
|
|
132
129
|
:host([fullwidth]) {
|
|
133
130
|
width: 100%;
|
|
@@ -181,7 +178,7 @@ t.styles = v([
|
|
|
181
178
|
}
|
|
182
179
|
.btn--plain, .btn--plain-underline {
|
|
183
180
|
background-color: transparent;
|
|
184
|
-
color:
|
|
181
|
+
color: inherit;
|
|
185
182
|
border: none;
|
|
186
183
|
padding: 0;
|
|
187
184
|
}
|
|
@@ -329,7 +326,7 @@ e([
|
|
|
329
326
|
n({ type: Boolean })
|
|
330
327
|
], t.prototype, "loading", 2);
|
|
331
328
|
t = e([
|
|
332
|
-
|
|
329
|
+
g(`${z}-button`)
|
|
333
330
|
], t);
|
|
334
331
|
export {
|
|
335
332
|
t as Button
|
|
@@ -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
|
+
}
|
|
@@ -1,21 +1,18 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import { settings as d } from "../../scripts/settings.js";
|
|
10
|
-
import { mergeStyles as w } from "../../scripts/mergeStyles.js";
|
|
11
|
-
import { css as k } from "../../../../node_modules/.pnpm/@lit_reactive-element@2.0.4/node_modules/@lit/reactive-element/css-tag.js";
|
|
1
|
+
import { css as n, LitElement as m, html as c } from "lit";
|
|
2
|
+
import { customElement as b } from "lit/decorators/custom-element.js";
|
|
3
|
+
import { property as e } from "lit/decorators/property.js";
|
|
4
|
+
import { classMap as f } from "lit/directives/class-map.js";
|
|
5
|
+
import { global as g } from "../../styles/global.js";
|
|
6
|
+
import { groupSpacing as h, groupJustify as y, groupMobileJustify as d } from "../../styles/group.js";
|
|
7
|
+
import { settings as w } from "../../scripts/settings.js";
|
|
8
|
+
import { mergeStyles as k } from "../../scripts/mergeStyles.js";
|
|
12
9
|
var v = Object.defineProperty, x = Object.getOwnPropertyDescriptor, r = (t, i, u, p) => {
|
|
13
|
-
for (var s = p > 1 ? void 0 : p ? x(i, u) : i,
|
|
14
|
-
(
|
|
10
|
+
for (var s = p > 1 ? void 0 : p ? x(i, u) : i, l = t.length - 1, a; l >= 0; l--)
|
|
11
|
+
(a = t[l]) && (s = (p ? a(i, u, s) : a(s)) || s);
|
|
15
12
|
return p && s && v(i, u, s), s;
|
|
16
13
|
};
|
|
17
|
-
const { prefix: j } =
|
|
18
|
-
let o = class extends
|
|
14
|
+
const { prefix: j } = w;
|
|
15
|
+
let o = class extends m {
|
|
19
16
|
constructor() {
|
|
20
17
|
super(...arguments), this.spacing = "normal", this.justify = "start", this.mobileJustify = "start", this.stack = !1, this.mobileStack = !1;
|
|
21
18
|
}
|
|
@@ -26,19 +23,19 @@ let o = class extends n {
|
|
|
26
23
|
return t["group-spacing--" + this.spacing] = !0, t["group-justify--" + this.justify] = !0, t["group-mobile-justify--" + this.mobileJustify] = !0, t["group--stack"] = this.stack, t["group--mobile-stack"] = this.mobileStack, t;
|
|
27
24
|
}
|
|
28
25
|
render() {
|
|
29
|
-
return
|
|
26
|
+
return c`
|
|
30
27
|
<div
|
|
31
28
|
part="button-group"
|
|
32
|
-
class="${
|
|
29
|
+
class="${f(this.buttonGroupClasses())}"
|
|
33
30
|
>
|
|
34
31
|
<slot part="button"></slot>
|
|
35
32
|
</div>
|
|
36
33
|
`;
|
|
37
34
|
}
|
|
38
35
|
};
|
|
39
|
-
o.styles =
|
|
40
|
-
|
|
41
|
-
|
|
36
|
+
o.styles = k([
|
|
37
|
+
g,
|
|
38
|
+
n`
|
|
42
39
|
:host([stack]), :host([mobileStack]) {
|
|
43
40
|
display: block;
|
|
44
41
|
width: var(--um-size-button-width, 100%);
|
|
@@ -71,9 +68,9 @@ o.styles = w([
|
|
|
71
68
|
}
|
|
72
69
|
}
|
|
73
70
|
`,
|
|
74
|
-
g,
|
|
75
71
|
h,
|
|
76
|
-
y
|
|
72
|
+
y,
|
|
73
|
+
d
|
|
77
74
|
]);
|
|
78
75
|
r([
|
|
79
76
|
e()
|
|
@@ -91,7 +88,7 @@ r([
|
|
|
91
88
|
e({ type: Boolean })
|
|
92
89
|
], o.prototype, "mobileStack", 2);
|
|
93
90
|
o = r([
|
|
94
|
-
|
|
91
|
+
b(`${j}-button-group`)
|
|
95
92
|
], o);
|
|
96
93
|
export {
|
|
97
94
|
o as ButtonGroup
|
|
@@ -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
|
+
}
|
|
@@ -1,24 +1,21 @@
|
|
|
1
|
-
import "
|
|
2
|
-
import {
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
6
|
-
import {
|
|
7
|
-
import {
|
|
8
|
-
import {
|
|
9
|
-
import {
|
|
10
|
-
import {
|
|
11
|
-
import { settings as g } from "../../scripts/settings.js";
|
|
12
|
-
import { mergeStyles as v } from "../../scripts/mergeStyles.js";
|
|
1
|
+
import { css as h, LitElement as m, html as l } from "lit";
|
|
2
|
+
import { customElement as f } from "lit/decorators/custom-element.js";
|
|
3
|
+
import { property as e } from "lit/decorators/property.js";
|
|
4
|
+
import { ifDefined as b } from "lit/directives/if-defined.js";
|
|
5
|
+
import { classMap as d } from "lit/directives/class-map.js";
|
|
6
|
+
import { styleMap as p } from "lit/directives/style-map.js";
|
|
7
|
+
import { global as y } from "../../styles/global.js";
|
|
8
|
+
import { iconSize as g } from "../../styles/icon-size.js";
|
|
9
|
+
import { settings as v } from "../../scripts/settings.js";
|
|
10
|
+
import { mergeStyles as x } from "../../scripts/mergeStyles.js";
|
|
13
11
|
import "../icon/icon.js";
|
|
14
|
-
|
|
15
|
-
var
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
return s && r && $(n, a, r), r;
|
|
12
|
+
var $ = Object.defineProperty, w = Object.getOwnPropertyDescriptor, i = (t, n, c, s) => {
|
|
13
|
+
for (var r = s > 1 ? void 0 : s ? w(n, c) : n, a = t.length - 1, u; a >= 0; a--)
|
|
14
|
+
(u = t[a]) && (r = (s ? u(n, c, r) : u(r)) || r);
|
|
15
|
+
return s && r && $(n, c, r), r;
|
|
19
16
|
};
|
|
20
|
-
const { prefix: I } =
|
|
21
|
-
let o = class extends
|
|
17
|
+
const { prefix: I } = v;
|
|
18
|
+
let o = class extends m {
|
|
22
19
|
constructor() {
|
|
23
20
|
super(), this.as = "button", this.for = void 0, this.clickAction = void 0, this.url = void 0, this.target = "_self", this.type = "button", this.icon = "user", this.size = "xLarge", this.extendInteraction = !1, this.disabled = !1, this.padding = "", this.border = !1, this.label = "Accessible", this._extendedInteraction();
|
|
24
21
|
}
|
|
@@ -69,7 +66,7 @@ let o = class extends h {
|
|
|
69
66
|
"--um-color-button-icon-text": this.colorText
|
|
70
67
|
}), this.size && (t = {
|
|
71
68
|
...t,
|
|
72
|
-
"--um-font-size-button-icon":
|
|
69
|
+
"--um-font-size-button-icon": g(this.size)
|
|
73
70
|
}), t;
|
|
74
71
|
}
|
|
75
72
|
buttonAs() {
|
|
@@ -77,8 +74,8 @@ let o = class extends h {
|
|
|
77
74
|
return l`
|
|
78
75
|
<button
|
|
79
76
|
type=${this.type}
|
|
80
|
-
class="button-icon${
|
|
81
|
-
style="${
|
|
77
|
+
class="button-icon${d(this.buttonIconClasses())}"
|
|
78
|
+
style="${p(this.buttonIconStyles())}"
|
|
82
79
|
?disabled=${this.disabled}
|
|
83
80
|
aria-label=${this.label}
|
|
84
81
|
aria-controls=${b(this.for)}
|
|
@@ -98,8 +95,8 @@ let o = class extends h {
|
|
|
98
95
|
return l`
|
|
99
96
|
<a
|
|
100
97
|
href="${this.url}"
|
|
101
|
-
class="button-icon${
|
|
102
|
-
style="${
|
|
98
|
+
class="button-icon${d(this.buttonIconClasses())}"
|
|
99
|
+
style="${p(this.buttonIconStyles())}"
|
|
103
100
|
target="${this.target}"
|
|
104
101
|
?disabled=${this.disabled}
|
|
105
102
|
aria-label=${this.label}
|
|
@@ -120,9 +117,9 @@ let o = class extends h {
|
|
|
120
117
|
`;
|
|
121
118
|
}
|
|
122
119
|
};
|
|
123
|
-
o.styles =
|
|
124
|
-
|
|
125
|
-
|
|
120
|
+
o.styles = x([
|
|
121
|
+
y,
|
|
122
|
+
h`
|
|
126
123
|
:host {
|
|
127
124
|
display: inline-flex;
|
|
128
125
|
}
|
|
@@ -239,7 +236,7 @@ i([
|
|
|
239
236
|
e()
|
|
240
237
|
], o.prototype, "label", 2);
|
|
241
238
|
o = i([
|
|
242
|
-
|
|
239
|
+
f(`${I}-button-icon`)
|
|
243
240
|
], o);
|
|
244
241
|
export {
|
|
245
242
|
o as ButtonIcon
|
|
@@ -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
|
+
}
|