@vonage/vivid 3.0.0-next.28 → 3.0.0-next.29
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/card/index.js +1 -1
- package/elevation/index.js +4 -31
- package/header/index.js +29 -52
- package/index.js +1 -1
- package/lib/elevation/elevation.d.ts +1 -0
- package/lib/header/header.d.ts +1 -7
- package/lib/header/index.d.ts +1 -0
- package/lib/side-drawer/side-drawer.d.ts +0 -1
- package/package.json +1 -1
- package/popup/index.js +1 -1
- package/shared/index2.js +37 -0
- package/side-drawer/index.js +7 -16
- package/tooltip/index.js +1 -1
package/card/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '../
|
|
1
|
+
import '../shared/index2.js';
|
|
2
2
|
import '../icon/index.js';
|
|
3
3
|
import { F as FoundationElement, _ as __decorate, a as attr, b as __metadata, o as observable, h as html, d as designSystem } from '../shared/index.js';
|
|
4
4
|
import { s as styleInject } from '../shared/style-inject.es.js';
|
package/elevation/index.js
CHANGED
|
@@ -1,31 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
3
|
-
import
|
|
4
|
-
|
|
5
|
-
class Elevation extends FoundationElement {}
|
|
6
|
-
|
|
7
|
-
__decorate([attr, __metadata("design:type", Number)], Elevation.prototype, "dp", void 0);
|
|
8
|
-
|
|
9
|
-
var css_248z = ":host {\n display: contents;\n}\n\n.control {\n display: contents;\n}\n.control.dp-0 {\n --_elevation-fill: var(--vvd-color-surface-0dp);\n --_elevation-shadow: var(--vvd-shadow-surface-0dp);\n}\n.control.dp-4 {\n --_elevation-fill: var(--vvd-color-surface-4dp);\n --_elevation-shadow: var(--vvd-shadow-surface-4dp);\n}\n.control.dp-8 {\n --_elevation-fill: var(--vvd-color-surface-8dp);\n --_elevation-shadow: var(--vvd-shadow-surface-8dp);\n}\n.control.dp-12 {\n --_elevation-fill: var(--vvd-color-surface-12dp);\n --_elevation-shadow: var(--vvd-shadow-surface-12dp);\n}\n.control.dp-16 {\n --_elevation-fill: var(--vvd-color-surface-16dp);\n --_elevation-shadow: var(--vvd-shadow-surface-16dp);\n}\n.control.dp-24 {\n --_elevation-fill: var(--vvd-color-surface-24dp);\n --_elevation-shadow: var(--vvd-shadow-surface-24dp);\n}\n.control:not(.dp-0, .dp-4, .dp-8, .dp-12, .dp-16, .dp-24) {\n --_elevation-fill: var(--vvd-color-surface-2dp);\n --_elevation-shadow: var(--vvd-shadow-surface-2dp);\n}\n.control ::slotted(*) {\n background-color: var(--_elevation-fill);\n filter: var(--_elevation-shadow);\n}";
|
|
10
|
-
styleInject(css_248z);
|
|
11
|
-
|
|
12
|
-
let _ = t => t,
|
|
13
|
-
_t;
|
|
14
|
-
|
|
15
|
-
const getClasses = ({
|
|
16
|
-
dp
|
|
17
|
-
}) => classNames('control', [`dp-${dp}`, Boolean(dp)]);
|
|
18
|
-
|
|
19
|
-
const elevationTemplate = () => html(_t || (_t = _`
|
|
20
|
-
<div class="${0}" part="base">
|
|
21
|
-
<slot></slot>
|
|
22
|
-
</div>`), getClasses);
|
|
23
|
-
|
|
24
|
-
const vividElevation = Elevation.compose({
|
|
25
|
-
baseName: 'elevation',
|
|
26
|
-
template: elevationTemplate,
|
|
27
|
-
styles: css_248z
|
|
28
|
-
});
|
|
29
|
-
designSystem.register(vividElevation());
|
|
30
|
-
|
|
31
|
-
export { vividElevation };
|
|
1
|
+
import '../shared/index.js';
|
|
2
|
+
export { v as vividElevation } from '../shared/index2.js';
|
|
3
|
+
import '../shared/style-inject.es.js';
|
|
4
|
+
import '../shared/class-names.js';
|
package/header/index.js
CHANGED
|
@@ -1,84 +1,61 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { E as Elevation } from '../shared/index2.js';
|
|
2
|
+
import { F as FoundationElement, _ as __decorate, a as attr, b as __metadata, h as html, d as designSystem } from '../shared/index.js';
|
|
2
3
|
import { s as styleInject } from '../shared/style-inject.es.js';
|
|
3
4
|
import '../shared/web.dom-collections.iterator.js';
|
|
4
|
-
import { w as when } from '../shared/when.js';
|
|
5
5
|
import { c as classNames } from '../shared/class-names.js';
|
|
6
6
|
import '../shared/export.js';
|
|
7
7
|
import '../shared/object-keys.js';
|
|
8
8
|
import '../shared/iterators.js';
|
|
9
9
|
|
|
10
|
-
var css_248z = "/*\n Do not edit directly\n Generated on Wed, 27 Apr 2022 11:58:36 GMT\n*/\n
|
|
10
|
+
var css_248z = "/*\n Do not edit directly\n Generated on Wed, 27 Apr 2022 11:58:36 GMT\n*/\n.base {\n font: 500 condensed 20px / 28px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n --_header-block-size: 64px;\n block-size: var(--_header-block-size);\n inline-size: 100%;\n}\n.base .header-content {\n display: inline-flex;\n align-items: center;\n column-gap: 4px;\n}\n\n.container {\n display: flex;\n box-sizing: border-box;\n justify-content: space-between;\n block-size: inherit;\n color: var(--vvd-color-on-canvas);\n column-gap: 12px;\n padding-block: 8px;\n padding-inline: 16px;\n}\n.container[part~=vvd-theme-alternate] {\n background-color: var(--vvd-color-canvas);\n}\n\n.app-content {\n --_header-block-size: 64px;\n}";
|
|
11
11
|
styleInject(css_248z);
|
|
12
12
|
|
|
13
|
-
var _Header_updateElevatedState;
|
|
14
13
|
class Header extends FoundationElement {
|
|
15
14
|
constructor() {
|
|
16
15
|
super(...arguments);
|
|
17
|
-
this.
|
|
16
|
+
this.elevationShadow = false;
|
|
18
17
|
this.alternate = false;
|
|
19
|
-
this._elevated = false;
|
|
20
|
-
|
|
21
|
-
_Header_updateElevatedState.set(this, () => {
|
|
22
|
-
this._elevated = !this._elevated;
|
|
23
|
-
});
|
|
24
|
-
}
|
|
25
|
-
|
|
26
|
-
connectedCallback() {
|
|
27
|
-
super.connectedCallback();
|
|
28
|
-
window.addEventListener('scroll', __classPrivateFieldGet(this, _Header_updateElevatedState, "f"));
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
disconnectedCallback() {
|
|
32
|
-
super.disconnectedCallback();
|
|
33
|
-
window.removeEventListener('scroll', __classPrivateFieldGet(this, _Header_updateElevatedState, "f"));
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
get elevated() {
|
|
37
|
-
return this._elevated && false || this.fixed && window.pageYOffset > 0;
|
|
38
18
|
}
|
|
39
19
|
|
|
40
20
|
}
|
|
41
|
-
_Header_updateElevatedState = new WeakMap();
|
|
42
|
-
|
|
43
|
-
__decorate([attr, __metadata("design:type", String)], Header.prototype, "heading", void 0);
|
|
44
21
|
|
|
45
22
|
__decorate([attr({
|
|
23
|
+
attribute: 'elevation-shadow',
|
|
46
24
|
mode: 'boolean'
|
|
47
|
-
}), __metadata("design:type", Object)], Header.prototype, "
|
|
25
|
+
}), __metadata("design:type", Object)], Header.prototype, "elevationShadow", void 0);
|
|
48
26
|
|
|
49
27
|
__decorate([attr({
|
|
50
28
|
mode: 'boolean'
|
|
51
29
|
}), __metadata("design:type", Object)], Header.prototype, "alternate", void 0);
|
|
52
30
|
|
|
53
|
-
__decorate([observable, __metadata("design:type", Object)], Header.prototype, "_elevated", void 0);
|
|
54
|
-
|
|
55
|
-
__decorate([volatile, __metadata("design:type", Object), __metadata("design:paramtypes", [])], Header.prototype, "elevated", null);
|
|
56
|
-
|
|
57
31
|
let _ = t => t,
|
|
58
|
-
_t
|
|
59
|
-
_t2;
|
|
32
|
+
_t;
|
|
60
33
|
|
|
61
|
-
const
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
elevated
|
|
65
|
-
}) => classNames('control', ['fixed', Boolean(fixed)], ['alternate', Boolean(alternate)], ['elevated', Boolean(elevated)]);
|
|
34
|
+
const getPartAlternate = ({
|
|
35
|
+
alternate
|
|
36
|
+
}) => classNames(['vvd-theme-alternate', Boolean(alternate)]);
|
|
66
37
|
|
|
67
|
-
const headerTemplate =
|
|
38
|
+
const headerTemplate = context => {
|
|
39
|
+
const elevationTag = context.tagFor(Elevation);
|
|
68
40
|
return html(_t || (_t = _`
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
41
|
+
<${0} dp="4" ?no-shadow=${0}>
|
|
42
|
+
<header class="base" part="base">
|
|
43
|
+
<!-- a container is needed to distinguish the surface background color of the
|
|
44
|
+
element from its shadow when applying elevation with alternate -->
|
|
45
|
+
<div class="container" part="${0}">
|
|
46
|
+
<section class="header-content">
|
|
47
|
+
<slot></slot>
|
|
48
|
+
</section>
|
|
49
|
+
<section class="header-content" role="toolbar">
|
|
50
|
+
<slot name="actionItems"></slot>
|
|
51
|
+
</section>
|
|
52
|
+
</div>
|
|
53
|
+
</header>
|
|
54
|
+
</${0}>
|
|
78
55
|
<div class="app-content">
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
`),
|
|
56
|
+
<slot name="app-content"></slot>
|
|
57
|
+
</div>
|
|
58
|
+
`), elevationTag, x => !x.elevationShadow, getPartAlternate, elevationTag);
|
|
82
59
|
};
|
|
83
60
|
|
|
84
61
|
const vividHeader = Header.compose({
|
package/index.js
CHANGED
|
@@ -9,7 +9,7 @@ export { vividButton } from './button/index.js';
|
|
|
9
9
|
export { vividCalendar } from './calendar/index.js';
|
|
10
10
|
export { vividCalendarEvent } from './calendar-event/index.js';
|
|
11
11
|
export { vividCard } from './card/index.js';
|
|
12
|
-
export { vividElevation } from './
|
|
12
|
+
export { v as vividElevation } from './shared/index2.js';
|
|
13
13
|
export { vividFab } from './fab/index.js';
|
|
14
14
|
export { vividIcon } from './icon/index.js';
|
|
15
15
|
export { vividLayout } from './layout/index.js';
|
package/lib/header/header.d.ts
CHANGED
|
@@ -1,11 +1,5 @@
|
|
|
1
1
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
2
|
export declare class Header extends FoundationElement {
|
|
3
|
-
|
|
4
|
-
heading?: string;
|
|
5
|
-
fixed: boolean;
|
|
3
|
+
elevationShadow: boolean;
|
|
6
4
|
alternate: boolean;
|
|
7
|
-
_elevated: boolean;
|
|
8
|
-
connectedCallback(): void;
|
|
9
|
-
disconnectedCallback(): void;
|
|
10
|
-
get elevated(): boolean;
|
|
11
5
|
}
|
package/lib/header/index.d.ts
CHANGED
|
@@ -1,2 +1,3 @@
|
|
|
1
|
+
import '../elevation';
|
|
1
2
|
import type { FoundationElementDefinition } from '@microsoft/fast-foundation';
|
|
2
3
|
export declare const vividHeader: (overrideDefinition?: import("@microsoft/fast-foundation").OverrideFoundationElementDefinition<FoundationElementDefinition> | undefined) => import("@microsoft/fast-foundation").FoundationElementRegistry<FoundationElementDefinition, import("@microsoft/fast-element").Constructable<import("@microsoft/fast-foundation").FoundationElement>>;
|
package/package.json
CHANGED
package/popup/index.js
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import '../
|
|
1
|
+
import '../shared/index2.js';
|
|
2
2
|
import '../button/index.js';
|
|
3
3
|
import { F as FoundationElement, c as __classPrivateFieldGet, i as __classPrivateFieldSet, _ as __decorate, a as attr, b as __metadata, h as html, d as designSystem } from '../shared/index.js';
|
|
4
4
|
import { s as speciesConstructor$1, f as functionApply } from '../shared/icon.js';
|
package/shared/index2.js
ADDED
|
@@ -0,0 +1,37 @@
|
|
|
1
|
+
import { F as FoundationElement, _ as __decorate, a as attr, b as __metadata, h as html, d as designSystem } from './index.js';
|
|
2
|
+
import { s as styleInject } from './style-inject.es.js';
|
|
3
|
+
import { c as classNames } from './class-names.js';
|
|
4
|
+
|
|
5
|
+
class Elevation extends FoundationElement {}
|
|
6
|
+
|
|
7
|
+
__decorate([attr, __metadata("design:type", Number)], Elevation.prototype, "dp", void 0);
|
|
8
|
+
|
|
9
|
+
__decorate([attr({
|
|
10
|
+
attribute: 'no-shadow',
|
|
11
|
+
mode: 'boolean'
|
|
12
|
+
}), __metadata("design:type", Boolean)], Elevation.prototype, "noShadow", void 0);
|
|
13
|
+
|
|
14
|
+
var css_248z = ":host {\n display: contents;\n}\n\n.control {\n display: contents;\n}\n.control.dp-0 {\n --_elevation-fill: var(--vvd-color-surface-0dp);\n --_elevation-shadow: var(--vvd-shadow-surface-0dp);\n}\n.control.dp-4 {\n --_elevation-fill: var(--vvd-color-surface-4dp);\n --_elevation-shadow: var(--vvd-shadow-surface-4dp);\n}\n.control.dp-8 {\n --_elevation-fill: var(--vvd-color-surface-8dp);\n --_elevation-shadow: var(--vvd-shadow-surface-8dp);\n}\n.control.dp-12 {\n --_elevation-fill: var(--vvd-color-surface-12dp);\n --_elevation-shadow: var(--vvd-shadow-surface-12dp);\n}\n.control.dp-16 {\n --_elevation-fill: var(--vvd-color-surface-16dp);\n --_elevation-shadow: var(--vvd-shadow-surface-16dp);\n}\n.control.dp-24 {\n --_elevation-fill: var(--vvd-color-surface-24dp);\n --_elevation-shadow: var(--vvd-shadow-surface-24dp);\n}\n.control:not(.dp-0, .dp-4, .dp-8, .dp-12, .dp-16, .dp-24) {\n --_elevation-fill: var(--vvd-color-surface-2dp);\n --_elevation-shadow: var(--vvd-shadow-surface-2dp);\n}\n.control ::slotted(*) {\n background-color: var(--_elevation-fill);\n filter: var(--_elevation-shadow);\n transition: background-color 0.15s linear, filter 0.15s linear;\n}\n.control.no-shadow ::slotted(*) {\n filter: none;\n}";
|
|
15
|
+
styleInject(css_248z);
|
|
16
|
+
|
|
17
|
+
let _ = t => t,
|
|
18
|
+
_t;
|
|
19
|
+
|
|
20
|
+
const getClasses = ({
|
|
21
|
+
dp,
|
|
22
|
+
noShadow
|
|
23
|
+
}) => classNames('control', [`dp-${dp}`, Boolean(dp)], ['no-shadow', Boolean(noShadow)]);
|
|
24
|
+
|
|
25
|
+
const elevationTemplate = () => html(_t || (_t = _`
|
|
26
|
+
<div class="${0}" part="base">
|
|
27
|
+
<slot></slot>
|
|
28
|
+
</div>`), getClasses);
|
|
29
|
+
|
|
30
|
+
const vividElevation = Elevation.compose({
|
|
31
|
+
baseName: 'elevation',
|
|
32
|
+
template: elevationTemplate,
|
|
33
|
+
styles: css_248z
|
|
34
|
+
});
|
|
35
|
+
designSystem.register(vividElevation());
|
|
36
|
+
|
|
37
|
+
export { Elevation as E, vividElevation as v };
|
package/side-drawer/index.js
CHANGED
|
@@ -1,10 +1,9 @@
|
|
|
1
|
-
import { F as FoundationElement, c as __classPrivateFieldGet, _ as __decorate, a as attr, b as __metadata,
|
|
1
|
+
import { F as FoundationElement, c as __classPrivateFieldGet, _ as __decorate, a as attr, b as __metadata, h as html$2, d as designSystem } from '../shared/index.js';
|
|
2
2
|
import '../shared/web.dom-collections.iterator.js';
|
|
3
3
|
import { V as commonjsGlobal } from '../shared/export.js';
|
|
4
4
|
import { s as styleInject } from '../shared/style-inject.es.js';
|
|
5
5
|
import { w as when } from '../shared/when.js';
|
|
6
6
|
import { r as ref } from '../shared/ref.js';
|
|
7
|
-
import { s as slotted } from '../shared/slotted.js';
|
|
8
7
|
import { c as classNames } from '../shared/class-names.js';
|
|
9
8
|
import '../shared/object-keys.js';
|
|
10
9
|
import '../shared/iterators.js';
|
|
@@ -8599,9 +8598,7 @@ __decorate([attr({
|
|
|
8599
8598
|
|
|
8600
8599
|
__decorate([attr, __metadata("design:type", String)], SideDrawer.prototype, "position", void 0);
|
|
8601
8600
|
|
|
8602
|
-
|
|
8603
|
-
|
|
8604
|
-
var css_248z = "/*\n Do not edit directly\n Generated on Wed, 27 Apr 2022 11:58:36 GMT\n*/\n:host {\n display: flex;\n block-size: 100vh;\n}\n\n:host([position=end]) {\n flex-direction: row-reverse;\n}\n\n.control {\n position: fixed;\n z-index: var(--side-drawer-z-index, 6);\n top: auto;\n bottom: 0;\n display: flex;\n overflow: auto;\n flex-direction: column;\n flex-shrink: 0;\n background-color: var(--side-drawer-background-color, var(--vvd-color-canvas));\n block-size: inherit;\n color: var(--side-drawer-color, var(--vvd-color-on-canvas));\n inline-size: var(--side-drawer-inline-size, 280px);\n}\n.control.alternate {\n background-color: var(--vvd-color-canvas);\n}\n.control:not(.open).end {\n transform: translateX(100%);\n}\n.control:not(.open):not(.end) {\n transform: translateX(-100%);\n}\n.control.control.open:not(.modal) + .side-drawer-app-content {\n font: 400 ultra-condensed 16px / 24px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n margin-inline-start: var(--side-drawer-inline-size, 280px);\n}\n.control.control.open:not(.modal).end + .side-drawer-app-content {\n margin-inline-end: var(--side-drawer-inline-size, 280px);\n margin-inline-start: 0;\n}\n@media (prefers-reduced-motion: no-preference) {\n .control {\n transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n }\n}\n\n.side-drawer-header {\n font: 500 condensed 26px / 36px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n display: flex;\n height: 64px;\n flex-shrink: 0;\n align-items: center;\n padding-inline-end: var(--side-drawer-padding-header, 16px);\n padding-inline-start: var(--side-drawer-padding-header, 16px);\n}\n:not(.withHeader) .side-drawer-header {\n display: none;\n}\n\n.side-drawer-content {\n background-color: inherit;\n margin-block: 12px;\n overflow-y: auto;\n padding-inline-end: var(--side-drawer-padding-body, 16px);\n padding-inline-start: var(--side-drawer-padding-body, 16px);\n}\n\n.modal:not(.end) {\n inset-inline-start: 0;\n}\n.modal.end {\n inset-inline-end: 0;\n}\n\n.scrim {\n background-color: var(--vvd-color-on-canvas);\n opacity: 0.5;\n position: fixed;\n z-index: calc(--side-drawer-z-index - 1);\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n.scrim:not(.open) {\n display: none;\n}";
|
|
8601
|
+
var css_248z = ".control {\n position: fixed;\n background-color: var(--vvd-color-canvas);\n color: var(--vvd-color-on-canvas);\n inline-size: 280px;\n inset-block: 0;\n overflow-y: auto;\n}\n.control.modal {\n z-index: 1;\n}\n.control.alternate {\n background-color: var(--vvd-color-canvas);\n}\n.control.position-end {\n inset-inline-end: 0;\n}\n.control:not(.open).position-end {\n transform: translateX(100%);\n}\n.control:not(.open):not(.position-end) {\n transform: translateX(-100%);\n}\n.control.open:not(.modal).position-end + .side-drawer-app-content {\n margin-inline-end: var(--side-drawer-app-content-offset, 280px);\n}\n.control.open:not(.modal):not(.position-end) + .side-drawer-app-content {\n margin-inline-start: var(--side-drawer-app-content-offset, 280px);\n}\n@media (prefers-reduced-motion: no-preference) {\n .control {\n transition: transform 0.2s cubic-bezier(0.4, 0, 0.2, 1);\n }\n}\n\n.scrim {\n background-color: var(--vvd-color-on-canvas);\n opacity: 0.5;\n position: fixed;\n top: 0;\n right: 0;\n bottom: 0;\n left: 0;\n}\n.scrim:not(.open) {\n display: none;\n}";
|
|
8605
8602
|
styleInject(css_248z);
|
|
8606
8603
|
|
|
8607
8604
|
let _ = t => t,
|
|
@@ -8612,25 +8609,19 @@ const getClasses = ({
|
|
|
8612
8609
|
alternate,
|
|
8613
8610
|
modal,
|
|
8614
8611
|
open,
|
|
8615
|
-
position
|
|
8616
|
-
|
|
8617
|
-
}) => classNames('control', ['alternate', alternate], ['modal', modal], ['open', open], ['end', position === 'end'], ['withHeader', Boolean(headerSlottedContent === null || headerSlottedContent === void 0 ? void 0 : headerSlottedContent.length)]);
|
|
8612
|
+
position
|
|
8613
|
+
}) => classNames('control', ['alternate', alternate], ['modal', modal], ['open', open], [`position-${position}`, Boolean(position)]);
|
|
8618
8614
|
|
|
8619
8615
|
const getScrimClasses = ({
|
|
8620
8616
|
open
|
|
8621
8617
|
}) => classNames('scrim', ['open', open]);
|
|
8622
8618
|
|
|
8623
8619
|
const sideDrawerTemplate = () => html$2(_t || (_t = _`
|
|
8624
|
-
<aside class="${0}" part="${0}"
|
|
8620
|
+
<aside class="${0}" part="base ${0}"
|
|
8625
8621
|
@keydown="${0}" ${0}>
|
|
8626
8622
|
|
|
8627
|
-
|
|
8628
|
-
<slot name="header" ${0}></slot>
|
|
8629
|
-
</header>
|
|
8623
|
+
<slot></slot>
|
|
8630
8624
|
|
|
8631
|
-
<div class="side-drawer-content">
|
|
8632
|
-
<slot></slot>
|
|
8633
|
-
</div>
|
|
8634
8625
|
</aside>
|
|
8635
8626
|
|
|
8636
8627
|
<div class="side-drawer-app-content">
|
|
@@ -8638,7 +8629,7 @@ const sideDrawerTemplate = () => html$2(_t || (_t = _`
|
|
|
8638
8629
|
</div>
|
|
8639
8630
|
|
|
8640
8631
|
${0}
|
|
8641
|
-
`), getClasses, x => x.alternate ? 'vvd-theme-alternate' : '', (x, c) => handleKeydown(x, c.event), ref('asideEl'),
|
|
8632
|
+
`), getClasses, x => x.alternate ? 'vvd-theme-alternate' : '', (x, c) => handleKeydown(x, c.event), ref('asideEl'), when(x => x.modal, html$2(_t2 || (_t2 = _`<div class="${0}" ${0} @click="${0}"></div>`), getScrimClasses, ref('scrimEl'), x => x.open = false)));
|
|
8642
8633
|
|
|
8643
8634
|
const handleKeydown = (x, {
|
|
8644
8635
|
key
|
package/tooltip/index.js
CHANGED
|
@@ -3,7 +3,7 @@ import { F as FoundationElement, _ as __decorate, a as attr, b as __metadata, h
|
|
|
3
3
|
import { s as styleInject } from '../shared/style-inject.es.js';
|
|
4
4
|
import '../shared/web.dom-collections.iterator.js';
|
|
5
5
|
import { c as classNames } from '../shared/class-names.js';
|
|
6
|
-
import '../
|
|
6
|
+
import '../shared/index2.js';
|
|
7
7
|
import '../button/index.js';
|
|
8
8
|
import '../icon/index.js';
|
|
9
9
|
import '../shared/icon.js';
|