@vonage/vivid 3.0.0-next.40 → 3.0.0-next.43
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/action-group/index.js +1 -1
- package/banner/index.js +1 -0
- package/breadcrumb/index.js +1 -0
- package/breadcrumb-item/index.js +1 -0
- package/button/index.js +2 -1
- package/dialog/index.js +25 -22
- package/fab/index.js +2 -1
- package/index.js +1 -0
- package/layout/index.js +1 -1
- package/lib/popup/popup.d.ts +1 -1
- package/lib/sidenav-disclosure/sidenav-disclosure.d.ts +2 -0
- package/lib/tooltip/tooltip.d.ts +1 -1
- package/package.json +1 -1
- package/popup/index.js +5 -4
- package/progress-ring/index.js +1 -1
- package/shared/aria-global.js +3 -40
- package/shared/ref.js +41 -0
- package/shared/text-anchor.template.js +1 -1
- package/sidenav-disclosure/index.js +26 -5
- package/sidenav-item/index.js +1 -0
- package/text-anchor/index.js +1 -0
- package/text-field/index.js +2 -1
- package/tooltip/index.js +4 -3
package/action-group/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import '../shared/export.js';
|
|
|
6
6
|
import '../shared/object-keys.js';
|
|
7
7
|
import '../shared/iterators.js';
|
|
8
8
|
|
|
9
|
-
var css_248z = ":host {\n display: inline-block;\n}\n\n.base {\n position: relative;\n display: flex;\n box-sizing: border-box;\n align-items: center;\n background-color: var(--_appearance-color-fill);\n color: var(--_appearance-color-text);\n inline-size: inherit;\n vertical-align: middle;\n}\n.base {\n --_appearance-color-text: var(--vvd-color-on-canvas);\n --_appearance-color-fill: var(--vvd-color-canvas);\n --_appearance-color-outline: var(--vvd-color-neutral-50);\n}\n.base.appearance-ghost {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: transaprent;\n --_appearance-color-outline: transaprent;\n}\n.base::before {\n position: absolute;\n z-index: 1;\n border-radius: inherit;\n box-shadow: inset 0 0 0 1px var(--_appearance-color-outline);\n content: \"\";\n inset: 0;\n pointer-events: none;\n}\n.base:not(.tight) {\n padding: 4px;\n column-gap: 4px;\n}\n\n/* Shape */\n.base:not(.shape-pill) {\n border-radius: 6px;\n}\n\n.base.shape-pill {\n border-radius: 24px;\n}\n\n
|
|
9
|
+
var css_248z = ":host {\n display: inline-block;\n}\n\n.base {\n position: relative;\n display: flex;\n box-sizing: border-box;\n align-items: center;\n background-color: var(--_appearance-color-fill);\n color: var(--_appearance-color-text);\n inline-size: inherit;\n vertical-align: middle;\n}\n.base {\n --_appearance-color-text: var(--vvd-color-on-canvas);\n --_appearance-color-fill: var(--vvd-color-canvas);\n --_appearance-color-outline: var(--vvd-color-neutral-50);\n}\n.base.appearance-ghost {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: transaprent;\n --_appearance-color-outline: transaprent;\n}\n.base::before {\n position: absolute;\n z-index: 1;\n border-radius: inherit;\n box-shadow: inset 0 0 0 1px var(--_appearance-color-outline);\n content: \"\";\n inset: 0;\n pointer-events: none;\n}\n.base:not(.tight) {\n padding: 4px;\n column-gap: 4px;\n}\n\n/* Shape */\n.base:not(.shape-pill) {\n border-radius: 6px;\n}\n\n.base.shape-pill {\n border-radius: 24px;\n}\n\n/* Separator */\n::slotted(vwc-divider) {\n align-self: stretch;\n margin-block: 4px;\n}";
|
|
10
10
|
styleInject(css_248z);
|
|
11
11
|
|
|
12
12
|
class ActionGroup extends FoundationElement {
|
package/banner/index.js
CHANGED
package/breadcrumb/index.js
CHANGED
package/breadcrumb-item/index.js
CHANGED
|
@@ -15,6 +15,7 @@ import '../shared/focus.js';
|
|
|
15
15
|
import '../shared/anchor.js';
|
|
16
16
|
import '../shared/apply-mixins.js';
|
|
17
17
|
import '../shared/aria-global.js';
|
|
18
|
+
import '../shared/ref.js';
|
|
18
19
|
import '../shared/affix.js';
|
|
19
20
|
import '../shared/web.dom-collections.iterator.js';
|
|
20
21
|
import '../shared/object-keys.js';
|
package/button/index.js
CHANGED
|
@@ -7,7 +7,7 @@ import { B as Button$1 } from '../shared/button.js';
|
|
|
7
7
|
import { a as applyMixins } from '../shared/apply-mixins.js';
|
|
8
8
|
import { s as styleInject } from '../shared/style-inject.es.js';
|
|
9
9
|
import { f as focusTemplateFactory } from '../shared/focus2.js';
|
|
10
|
-
import { r as ref } from '../shared/
|
|
10
|
+
import { r as ref } from '../shared/ref.js';
|
|
11
11
|
import { c as classNames } from '../shared/class-names.js';
|
|
12
12
|
import '../shared/icon.js';
|
|
13
13
|
import '../shared/export.js';
|
|
@@ -18,6 +18,7 @@ import '../shared/when.js';
|
|
|
18
18
|
import '../shared/focus.js';
|
|
19
19
|
import '../shared/object-keys.js';
|
|
20
20
|
import '../shared/form-associated.js';
|
|
21
|
+
import '../shared/aria-global.js';
|
|
21
22
|
|
|
22
23
|
class Button extends Button$1 {
|
|
23
24
|
constructor() {
|
package/dialog/index.js
CHANGED
|
@@ -18,6 +18,7 @@ import '../shared/button.js';
|
|
|
18
18
|
import '../shared/apply-mixins.js';
|
|
19
19
|
import '../shared/form-associated.js';
|
|
20
20
|
import '../shared/aria-global.js';
|
|
21
|
+
import '../shared/ref.js';
|
|
21
22
|
import '../shared/focus2.js';
|
|
22
23
|
import '../shared/object-keys.js';
|
|
23
24
|
|
|
@@ -242,31 +243,33 @@ function content() {
|
|
|
242
243
|
|
|
243
244
|
const DialogTemplate = () => html(_t5 || (_t5 = _2`
|
|
244
245
|
<vwc-elevation dp="12">
|
|
245
|
-
<
|
|
246
|
-
|
|
247
|
-
|
|
248
|
-
|
|
249
|
-
|
|
250
|
-
|
|
251
|
-
|
|
252
|
-
|
|
253
|
-
<
|
|
254
|
-
<div class="
|
|
255
|
-
<div class="
|
|
256
|
-
<
|
|
246
|
+
<div>
|
|
247
|
+
<dialog class="${0}"
|
|
248
|
+
@keydown="${0}"
|
|
249
|
+
returnValue="${0}"
|
|
250
|
+
aria-labelledby="${0}"
|
|
251
|
+
aria-label="${0}"
|
|
252
|
+
aria-describedby="${0}"
|
|
253
|
+
>
|
|
254
|
+
<slot name="main">
|
|
255
|
+
<div class="main-wrapper">
|
|
256
|
+
<div class="header">
|
|
257
|
+
<div class="headline-wrapper">
|
|
258
|
+
<slot name="graphic">
|
|
259
|
+
${0}
|
|
260
|
+
</slot>
|
|
257
261
|
${0}
|
|
258
|
-
</
|
|
259
|
-
|
|
262
|
+
</div>
|
|
263
|
+
${0}
|
|
260
264
|
</div>
|
|
261
|
-
|
|
265
|
+
<slot name="content">
|
|
266
|
+
${0}
|
|
267
|
+
</slot>
|
|
268
|
+
<slot name="footer"></slot>
|
|
262
269
|
</div>
|
|
263
|
-
|
|
264
|
-
|
|
265
|
-
|
|
266
|
-
<slot name="footer"></slot>
|
|
267
|
-
</div>
|
|
268
|
-
</slot>
|
|
269
|
-
</dialog>
|
|
270
|
+
</slot>
|
|
271
|
+
</dialog>
|
|
272
|
+
</div>
|
|
270
273
|
</vwc-elevation>`), getClasses, (x, c) => handleEscapeKey(x, c.event), x => x.returnValue, x => x.ariaLabelledBy, x => x.ariaLabel, x => x.ariaDescribedBy, when(x => x.icon, icon()), when(x => x.headline, headline()), renderDismissButton(), when(x => x.text, content()));
|
|
271
274
|
|
|
272
275
|
const vividDialog = Dialog.compose({
|
package/fab/index.js
CHANGED
|
@@ -6,7 +6,7 @@ import { A as AffixIconWithTrailing, a as affixIconTemplateFactory } from '../sh
|
|
|
6
6
|
import { B as Button } from '../shared/button.js';
|
|
7
7
|
import { a as applyMixins } from '../shared/apply-mixins.js';
|
|
8
8
|
import { f as focusTemplateFactory } from '../shared/focus2.js';
|
|
9
|
-
import { r as ref } from '../shared/
|
|
9
|
+
import { r as ref } from '../shared/ref.js';
|
|
10
10
|
import { c as classNames } from '../shared/class-names.js';
|
|
11
11
|
import '../shared/icon.js';
|
|
12
12
|
import '../shared/export.js';
|
|
@@ -18,6 +18,7 @@ import '../shared/focus.js';
|
|
|
18
18
|
import '../shared/web.dom-collections.iterator.js';
|
|
19
19
|
import '../shared/object-keys.js';
|
|
20
20
|
import '../shared/form-associated.js';
|
|
21
|
+
import '../shared/aria-global.js';
|
|
21
22
|
|
|
22
23
|
var css_248z = "/*\n Do not edit directly\n Generated on Wed, 27 Apr 2022 11:58:36 GMT\n*/\n.control {\n font: 600 ultra-condensed 14px / 20px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n position: relative;\n display: inline-flex;\n box-sizing: border-box;\n align-items: center;\n border: 0 none;\n background-color: var(--_appearance-color-fill, var(--_elevation-fill));\n block-size: var(--_fab-block-size);\n border-radius: var(--_fab-border-radius);\n color: var(--_appearance-color-text, var(--vvd-color-on-canvas));\n column-gap: var(--fab-icon-gap);\n filter: var(--_elevation-shadow);\n transition: background-color 0.15s linear, filter 0.15s linear;\n vertical-align: middle;\n /* Size */\n}\n.control.connotation-accent {\n --_connotation-color-primary: var(--vvd-color-on-canvas);\n --_connotation-color-on-primary: var(--vvd-color-canvas);\n --_connotation-color-primary-increment: var(--vvd-color-neutral-90);\n --_connotation-color-contrast: var(--vvd-color-neutral-90);\n --_connotation-color-fierce: var(--vvd-color-neutral-80);\n --_connotation-color-firm: var(--vvd-color-on-canvas);\n}\n.control.connotation-cta {\n --_connotation-color-primary: var(--vvd-color-cta);\n --_connotation-color-on-primary: var(--vvd-color-on-cta);\n --_connotation-color-primary-increment: var(--vvd-color-cta-70);\n --_connotation-color-contrast: var(--vvd-color-cta-90);\n --_connotation-color-fierce: var(--vvd-color-cta-80);\n --_connotation-color-firm: var(--vvd-color-cta-70);\n}\n.control {\n --_appearance-color-text: var(--_connotation-color-on-primary);\n --_appearance-color-fill: var(--_connotation-color-primary);\n --_appearance-color-outline: transaprent;\n}\n.control:where(:hover, .hover):where(:not(:disabled, .disabled)) {\n --_appearance-color-text: var(--_connotation-color-on-primary);\n --_appearance-color-fill: var(--_connotation-color-primary-increment);\n --_appearance-color-outline: transaprent;\n}\n.control:where(:disabled, .disabled) {\n --_appearance-color-text: var(--vvd-color-neutral-50);\n --_appearance-color-fill: var(--vvd-color-neutral-30);\n --_appearance-color-outline: transaprent;\n}\n.control:where(:active, .active):where(:not(:disabled, .disabled)) {\n --_appearance-color-text: var(--_connotation-color-on-primary);\n --_appearance-color-fill: var(--_connotation-color-fierce);\n --_appearance-color-outline: transaprent;\n}\n@supports selector(:focus-visible) {\n .control:focus {\n outline: none;\n }\n}\n@supports ((-webkit-user-select: none) or (user-select: none)) {\n .control {\n -webkit-user-select: none;\n user-select: none;\n }\n}\n.control.density-extended {\n --_fab-border-radius: 30px;\n --_fab-block-size: 56px;\n}\n.control:not(.density-extended) {\n --_fab-border-radius: 24px;\n --_fab-block-size: 40px;\n}\n.control.icon-only {\n border-radius: 50%;\n padding-inline: 0;\n place-content: center;\n}\n@supports (aspect-ratio: 1) {\n .control.icon-only {\n aspect-ratio: 1;\n }\n}\n@supports not (aspect-ratio: 1) {\n .control.icon-only {\n inline-size: var(--_fab-block-size);\n }\n}\n.control:not(.icon-only) {\n --fab-icon-gap: 10px;\n padding-inline: 20px;\n}\n.control:disabled {\n --_elevation-fill: var(--vvd-color-surface-0dp);\n --_elevation-shadow: var(--vvd-shadow-surface-0dp);\n cursor: not-allowed;\n}\n.control:not(:disabled) {\n --_elevation-fill: var(--vvd-color-surface-4dp);\n --_elevation-shadow: var(--vvd-shadow-surface-4dp);\n cursor: pointer;\n}\n.control:not(:disabled):hover {\n --_elevation-fill: var(--vvd-color-surface-12dp);\n --_elevation-shadow: var(--vvd-shadow-surface-12dp);\n}\n.control:not(:disabled):active {\n --_elevation-fill: var(--vvd-color-surface-24dp);\n --_elevation-shadow: var(--vvd-shadow-surface-24dp);\n}\n\n/* Icon */\n.icon {\n font-size: 20px;\n}\n.icon-trailing .icon {\n order: 1;\n}\n\n:not(:focus-visible) .focus-indicator {\n display: none;\n}";
|
|
23
24
|
styleInject(css_248z);
|
package/index.js
CHANGED
|
@@ -45,6 +45,7 @@ import './shared/enums.js';
|
|
|
45
45
|
import './shared/button.js';
|
|
46
46
|
import './shared/form-associated.js';
|
|
47
47
|
import './shared/aria-global.js';
|
|
48
|
+
import './shared/ref.js';
|
|
48
49
|
import './shared/slotted.js';
|
|
49
50
|
import './shared/breadcrumb-item.js';
|
|
50
51
|
import './shared/anchor.js';
|
package/layout/index.js
CHANGED
|
@@ -25,7 +25,7 @@ __decorate([attr({
|
|
|
25
25
|
attribute: 'auto-sizing'
|
|
26
26
|
}), __metadata("design:type", String)], Layout.prototype, "autoSizing", void 0);
|
|
27
27
|
|
|
28
|
-
var css_248z = "/* #region SIZEs */\n/* #region BASES */\n/* #region SPACES */\n.control {\n display: grid;\n grid-auto-rows: min-content;\n}\n.control.column-basis-small {\n grid-template-columns: var(--layout-grid-template-columns, repeat(var(--_auto-sizing), minmax(10rem, 1fr)));\n}\n.control:not(.column-basis-small):not(.column-basis-medium):not(.column-basis-large):not(.column-basis-block), .control.column-basis-medium {\n grid-template-columns: var(--layout-grid-template-columns, repeat(var(--_auto-sizing), minmax(20rem, 1fr)));\n}\n.control.column-basis-large {\n grid-template-columns: var(--layout-grid-template-columns, repeat(var(--_auto-sizing), minmax(30rem, 1fr)));\n}\n.control.column-basis-block {\n grid-template-columns: var(--layout-grid-template-columns, repeat(var(--_auto-sizing), minmax(1fr, 1fr)));\n}\n.control.column-spacing-small {\n gap: 16px;\n}\n.control:not(.column-spacing-small):not(.column-spacing-medium):not(.column-spacing-large), .control.column-spacing-medium {\n gap: 24px;\n}\n.control.column-spacing-large {\n gap: 32px;\n}\n.control.gutters-small {\n margin: 16px;\n}\n.control.gutters-medium {\n margin: 24px;\n}\n.control.gutters-large {\n margin: 32px;\n}\n.control.auto-sizing-fill {\n --_auto-sizing: auto-fill;\n}\n.control:not(.auto-sizing-fill):not(.auto-sizing-fit), .control.auto-sizing-fit {\n --_auto-sizing: auto-fit;\n}";
|
|
28
|
+
var css_248z = "/* #region SIZEs */\n/* #region BASES */\n/* #region SPACES */\n.control {\n display: grid;\n grid-auto-rows: min-content;\n}\n.control.column-basis-small {\n grid-template-columns: var(--layout-grid-template-columns, repeat(var(--_auto-sizing), minmax(10rem, 1fr)));\n}\n.control:not(.column-basis-small):not(.column-basis-medium):not(.column-basis-large):not(.column-basis-block), .control.column-basis-medium {\n grid-template-columns: var(--layout-grid-template-columns, repeat(var(--_auto-sizing), minmax(20rem, 1fr)));\n}\n.control.column-basis-large {\n grid-template-columns: var(--layout-grid-template-columns, repeat(var(--_auto-sizing), minmax(30rem, 1fr)));\n}\n.control.column-basis-block {\n grid-template-columns: var(--layout-grid-template-columns, repeat(var(--_auto-sizing), minmax(1fr, 1fr)));\n}\n.control.column-spacing-small {\n gap: 16px;\n}\n.control.column-spacing-small-inline {\n gap: 0 16px;\n}\n.control.column-spacing-small-block {\n gap: 16px 0;\n}\n.control:not(.column-spacing-small):not(.column-spacing-small-inline):not(.column-spacing-small-block):not(.column-spacing-medium):not(.column-spacing-medium-inline):not(.column-spacing-medium-block):not(.column-spacing-large):not(.column-spacing-large-inline):not(.column-spacing-large-block), .control.column-spacing-medium {\n gap: 24px;\n}\n.control.column-spacing-medium-inline {\n gap: 0 24px;\n}\n.control.column-spacing-medium-block {\n gap: 24px 0;\n}\n.control.column-spacing-large {\n gap: 32px;\n}\n.control.column-spacing-large-inline {\n gap: 0 32px;\n}\n.control.column-spacing-large-block {\n gap: 32px 0;\n}\n.control.gutters-small {\n margin: 16px;\n}\n.control.gutters-small-inline {\n margin: 0 16px;\n}\n.control.gutters-small-block {\n margin: 16px 0;\n}\n.control.gutters-medium {\n margin: 24px;\n}\n.control.gutters-medium-inline {\n margin: 0 24px;\n}\n.control.gutters-medium-block {\n margin: 24px 0;\n}\n.control.gutters-large {\n margin: 32px;\n}\n.control.gutters-large-inline {\n margin: 0 32px;\n}\n.control.gutters-large-block {\n margin: 32px 0;\n}\n.control.auto-sizing-fill {\n --_auto-sizing: auto-fill;\n}\n.control:not(.auto-sizing-fill):not(.auto-sizing-fit), .control.auto-sizing-fit {\n --_auto-sizing: auto-fit;\n}";
|
|
29
29
|
styleInject(css_248z);
|
|
30
30
|
|
|
31
31
|
let _ = t => t,
|
package/lib/popup/popup.d.ts
CHANGED
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { FoundationElement } from '@microsoft/fast-foundation';
|
|
2
2
|
import { AffixIcon } from '../../shared/patterns/affix';
|
|
3
3
|
export declare class SidenavDisclosure extends FoundationElement {
|
|
4
|
+
#private;
|
|
5
|
+
details: HTMLDetailsElement;
|
|
4
6
|
label?: string;
|
|
5
7
|
open: boolean;
|
|
6
8
|
}
|
package/lib/tooltip/tooltip.d.ts
CHANGED
package/package.json
CHANGED
package/popup/index.js
CHANGED
|
@@ -9,7 +9,7 @@ import { t as toString$3 } from '../shared/to-string.js';
|
|
|
9
9
|
import { a as keyEscape } from '../shared/form-associated.js';
|
|
10
10
|
import { s as styleInject } from '../shared/style-inject.es.js';
|
|
11
11
|
import { w as when } from '../shared/when.js';
|
|
12
|
-
import { r as ref } from '../shared/
|
|
12
|
+
import { r as ref } from '../shared/ref.js';
|
|
13
13
|
import { c as classNames } from '../shared/class-names.js';
|
|
14
14
|
import '../icon/index.js';
|
|
15
15
|
import '../shared/iterators.js';
|
|
@@ -19,6 +19,7 @@ import '../shared/focus.js';
|
|
|
19
19
|
import '../shared/affix.js';
|
|
20
20
|
import '../shared/button.js';
|
|
21
21
|
import '../shared/apply-mixins.js';
|
|
22
|
+
import '../shared/aria-global.js';
|
|
22
23
|
import '../shared/focus2.js';
|
|
23
24
|
import '../shared/object-keys.js';
|
|
24
25
|
|
|
@@ -1942,7 +1943,7 @@ class Popup extends FoundationElement {
|
|
|
1942
1943
|
this.dismissible = false;
|
|
1943
1944
|
this.arrow = false;
|
|
1944
1945
|
this.alternate = false;
|
|
1945
|
-
this.
|
|
1946
|
+
this.placement = 'left';
|
|
1946
1947
|
}
|
|
1947
1948
|
|
|
1948
1949
|
disconnectedCallback() {
|
|
@@ -1981,7 +1982,7 @@ class Popup extends FoundationElement {
|
|
|
1981
1982
|
}
|
|
1982
1983
|
|
|
1983
1984
|
const positionData = await computePosition(__classPrivateFieldGet(this, _Popup_anchorEl, "f"), this.popupEl, {
|
|
1984
|
-
placement: this.
|
|
1985
|
+
placement: this.placement,
|
|
1985
1986
|
strategy: __classPrivateFieldGet(this, _Popup_instances, "a", _Popup_strategy_get),
|
|
1986
1987
|
middleware: __classPrivateFieldGet(this, _Popup_instances, "a", _Popup_middleware_get)
|
|
1987
1988
|
});
|
|
@@ -2074,7 +2075,7 @@ __decorate([attr({
|
|
|
2074
2075
|
|
|
2075
2076
|
__decorate([attr({
|
|
2076
2077
|
mode: 'fromView'
|
|
2077
|
-
}), __metadata("design:type", String)], Popup.prototype, "
|
|
2078
|
+
}), __metadata("design:type", String)], Popup.prototype, "placement", void 0);
|
|
2078
2079
|
|
|
2079
2080
|
__decorate([attr, __metadata("design:type", String)], Popup.prototype, "anchor", void 0);
|
|
2080
2081
|
|
package/progress-ring/index.js
CHANGED
|
@@ -4,7 +4,7 @@ import { B as BaseProgress } from '../shared/base-progress.js';
|
|
|
4
4
|
import { w as when } from '../shared/when.js';
|
|
5
5
|
import { c as classNames } from '../shared/class-names.js';
|
|
6
6
|
|
|
7
|
-
var css_248z = ".base {\n align-items: center;\n block-size: var(--_density);\n color: var(--_appearance-color-text);\n inline-size: var(--_density);\n outline: none;\n}\n.base.connotation-cta {\n --_connotation-color-primary: var(--vvd-color-cta);\n}\n.base.connotation-alert {\n --_connotation-color-primary: var(--vvd-color-alert);\n}\n.base.connotation-success {\n --_connotation-color-primary: var(--vvd-color-success);\n}\n.base:not(.connotation-cta, .connotation-alert, .connotation-success) {\n --_connotation-color-primary: var(--vvd-color-on-canvas);\n}\n.base {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: transaprent;\n --_appearance-color-outline: transaprent;\n}\n.base:where(:disabled, .disabled) {\n --_appearance-color-text: var(--vvd-color-neutral-50);\n --_appearance-color-fill: transaprent;\n --_appearance-color-outline: transaprent;\n}\n.base.density-
|
|
7
|
+
var css_248z = ".base {\n align-items: center;\n block-size: var(--_density);\n color: var(--_appearance-color-text);\n inline-size: var(--_density);\n outline: none;\n}\n.base.connotation-cta {\n --_connotation-color-primary: var(--vvd-color-cta);\n}\n.base.connotation-alert {\n --_connotation-color-primary: var(--vvd-color-alert);\n}\n.base.connotation-success {\n --_connotation-color-primary: var(--vvd-color-success);\n}\n.base:not(.connotation-cta, .connotation-alert, .connotation-success) {\n --_connotation-color-primary: var(--vvd-color-on-canvas);\n}\n.base {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: transaprent;\n --_appearance-color-outline: transaprent;\n}\n.base:where(:disabled, .disabled) {\n --_appearance-color-text: var(--vvd-color-neutral-50);\n --_appearance-color-fill: transaprent;\n --_appearance-color-outline: transaprent;\n}\n.base.density-5 {\n --_density: calc(5 * 4px);\n}\n.base.density-6 {\n --_density: calc(6 * 4px);\n}\n.base.density-7 {\n --_density: calc(7 * 4px);\n}\n.base.density-8 {\n --_density: calc(8 * 4px);\n}\n.base.density-9 {\n --_density: calc(9 * 4px);\n}\n.base.density-11 {\n --_density: calc(11 * 4px);\n}\n.base.density-12 {\n --_density: calc(12 * 4px);\n}\n.base.density-13 {\n --_density: calc(13 * 4px);\n}\n.base:not(.density-5, .density-6, .density-7, .density-8, .density-9, .density-11, .density-12, .density-13) {\n --_density: calc(10 * 4px);\n}\n\n.progress {\n width: 100%;\n height: 100%;\n}\n\n.background {\n fill: none;\n stroke: transparent;\n stroke-width: 2px;\n}\n\n.determinate {\n fill: none;\n stroke: currentColor;\n stroke-linecap: round;\n stroke-width: 2px;\n transform: rotate(-90deg);\n transform-origin: 50% 50%;\n transition: all 0.2s ease-in-out;\n}\n\n.indeterminate-indicator-1 {\n animation: spin-infinite 2s linear infinite;\n fill: none;\n stroke: currentColor;\n stroke-linecap: round;\n stroke-width: 2px;\n transform: rotate(-90deg);\n transform-origin: 50% 50%;\n transition: all 0.2s ease-in-out;\n}\n\n.base.paused .indeterminate-indicator-1 {\n animation-play-state: paused;\n}\n\n@keyframes spin-infinite {\n 0% {\n stroke-dasharray: 0.01px 43.97px;\n transform: rotate(0deg);\n }\n 50% {\n stroke-dasharray: 21.99px 21.99px;\n transform: rotate(450deg);\n }\n 100% {\n stroke-dasharray: 0.01px 43.97px;\n transform: rotate(1080deg);\n }\n}";
|
|
8
8
|
styleInject(css_248z);
|
|
9
9
|
|
|
10
10
|
class ProgressRing extends BaseProgress {}
|
package/shared/aria-global.js
CHANGED
|
@@ -1,42 +1,5 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
3
|
-
/**
|
|
4
|
-
* The runtime behavior for template references.
|
|
5
|
-
* @public
|
|
6
|
-
*/
|
|
7
|
-
class RefBehavior {
|
|
8
|
-
/**
|
|
9
|
-
* Creates an instance of RefBehavior.
|
|
10
|
-
* @param target - The element to reference.
|
|
11
|
-
* @param propertyName - The name of the property to assign the reference to.
|
|
12
|
-
*/
|
|
13
|
-
constructor(target, propertyName) {
|
|
14
|
-
this.target = target;
|
|
15
|
-
this.propertyName = propertyName;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Bind this behavior to the source.
|
|
19
|
-
* @param source - The source to bind to.
|
|
20
|
-
* @param context - The execution context that the binding is operating within.
|
|
21
|
-
*/
|
|
22
|
-
bind(source) {
|
|
23
|
-
source[this.propertyName] = this.target;
|
|
24
|
-
}
|
|
25
|
-
/**
|
|
26
|
-
* Unbinds this behavior from the source.
|
|
27
|
-
* @param source - The source to unbind from.
|
|
28
|
-
*/
|
|
29
|
-
/* eslint-disable-next-line @typescript-eslint/no-empty-function */
|
|
30
|
-
unbind() { }
|
|
31
|
-
}
|
|
32
|
-
/**
|
|
33
|
-
* A directive that observes the updates a property with a reference to the element.
|
|
34
|
-
* @param propertyName - The name of the property to assign the reference to.
|
|
35
|
-
* @public
|
|
36
|
-
*/
|
|
37
|
-
function ref(propertyName) {
|
|
38
|
-
return new AttachedBehaviorHTMLDirective("fast-ref", RefBehavior, propertyName);
|
|
39
|
-
}
|
|
1
|
+
import { h as html, _ as __decorate, a as attr } from './index.js';
|
|
2
|
+
import { r as ref } from './ref.js';
|
|
40
3
|
|
|
41
4
|
/**
|
|
42
5
|
* A mixin class implementing start and end elements.
|
|
@@ -153,4 +116,4 @@ __decorate([
|
|
|
153
116
|
attr({ attribute: "aria-roledescription" })
|
|
154
117
|
], ARIAGlobalStatesAndProperties.prototype, "ariaRoledescription", void 0);
|
|
155
118
|
|
|
156
|
-
export { ARIAGlobalStatesAndProperties as A, StartEnd as S
|
|
119
|
+
export { ARIAGlobalStatesAndProperties as A, StartEnd as S };
|
package/shared/ref.js
ADDED
|
@@ -0,0 +1,41 @@
|
|
|
1
|
+
import { A as AttachedBehaviorHTMLDirective } from './index.js';
|
|
2
|
+
|
|
3
|
+
/**
|
|
4
|
+
* The runtime behavior for template references.
|
|
5
|
+
* @public
|
|
6
|
+
*/
|
|
7
|
+
class RefBehavior {
|
|
8
|
+
/**
|
|
9
|
+
* Creates an instance of RefBehavior.
|
|
10
|
+
* @param target - The element to reference.
|
|
11
|
+
* @param propertyName - The name of the property to assign the reference to.
|
|
12
|
+
*/
|
|
13
|
+
constructor(target, propertyName) {
|
|
14
|
+
this.target = target;
|
|
15
|
+
this.propertyName = propertyName;
|
|
16
|
+
}
|
|
17
|
+
/**
|
|
18
|
+
* Bind this behavior to the source.
|
|
19
|
+
* @param source - The source to bind to.
|
|
20
|
+
* @param context - The execution context that the binding is operating within.
|
|
21
|
+
*/
|
|
22
|
+
bind(source) {
|
|
23
|
+
source[this.propertyName] = this.target;
|
|
24
|
+
}
|
|
25
|
+
/**
|
|
26
|
+
* Unbinds this behavior from the source.
|
|
27
|
+
* @param source - The source to unbind from.
|
|
28
|
+
*/
|
|
29
|
+
/* eslint-disable-next-line @typescript-eslint/no-empty-function */
|
|
30
|
+
unbind() { }
|
|
31
|
+
}
|
|
32
|
+
/**
|
|
33
|
+
* A directive that observes the updates a property with a reference to the element.
|
|
34
|
+
* @param propertyName - The name of the property to assign the reference to.
|
|
35
|
+
* @public
|
|
36
|
+
*/
|
|
37
|
+
function ref(propertyName) {
|
|
38
|
+
return new AttachedBehaviorHTMLDirective("fast-ref", RefBehavior, propertyName);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
export { ref as r };
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { a as affixIconTemplateFactory } from './affix.js';
|
|
2
2
|
import { f as focusTemplateFactory } from './focus2.js';
|
|
3
3
|
import { h as html } from './index.js';
|
|
4
|
-
import { r as ref } from './
|
|
4
|
+
import { r as ref } from './ref.js';
|
|
5
5
|
import { c as classNames } from './class-names.js';
|
|
6
6
|
|
|
7
7
|
let _ = t => t,
|
|
@@ -1,12 +1,13 @@
|
|
|
1
1
|
import '../icon/index.js';
|
|
2
2
|
import '../focus/index.js';
|
|
3
|
-
import { F as FoundationElement, _ as __decorate, a as attr, b as __metadata, h as html, d as designSystem } from '../shared/index.js';
|
|
3
|
+
import { F as FoundationElement, c as __classPrivateFieldGet, _ as __decorate, a as attr, b as __metadata, h as html, d as designSystem } from '../shared/index.js';
|
|
4
4
|
import { s as styleInject } from '../shared/style-inject.es.js';
|
|
5
5
|
import '../shared/web.dom-collections.iterator.js';
|
|
6
6
|
import { b as AffixIcon, a as affixIconTemplateFactory } from '../shared/affix.js';
|
|
7
7
|
import { a as applyMixins } from '../shared/apply-mixins.js';
|
|
8
8
|
import { f as focusTemplateFactory } from '../shared/focus2.js';
|
|
9
9
|
import { w as when } from '../shared/when.js';
|
|
10
|
+
import { r as ref } from '../shared/ref.js';
|
|
10
11
|
import '../shared/icon.js';
|
|
11
12
|
import '../shared/export.js';
|
|
12
13
|
import '../shared/iterators.js';
|
|
@@ -16,16 +17,34 @@ import '../shared/class-names.js';
|
|
|
16
17
|
import '../shared/focus.js';
|
|
17
18
|
import '../shared/object-keys.js';
|
|
18
19
|
|
|
19
|
-
var css_248z = "/*\n Do not edit directly\n Generated on Wed, 27 Apr 2022 11:58:36 GMT\n*/\n.control {\n font: 400 ultra-condensed 14px / 20px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n position: relative;\n display: flex;\n box-sizing: border-box;\n align-items: center;\n background-color: var(--_appearance-color-fill);\n border-radius: 6px;\n box-shadow: inset 0 0 0 1px var(--_appearance-color-outline);\n color: var(--_appearance-color-text);\n cursor: pointer;\n gap: 8px;\n -webkit-hyphens: auto;\n hyphens: auto;\n inline-size: 100%;\n min-block-size: 40px;\n padding-inline: 8px;\n text-decoration: none;\n vertical-align: middle;\n word-break: break-word;\n}\n.control {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: transaprent;\n --_appearance-color-outline: transaprent;\n}\n.control:where(:hover, .hover):where(:not(:disabled, .disabled)) {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: var(--_connotation-color-faint);\n --_appearance-color-outline: transaprent;\n}\n.control:where(:active, .active):where(:not(:disabled, .disabled)) {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: var(--_connotation-color-soft);\n --_appearance-color-outline: transaprent;\n}\n.control:where(.selected, [aria-current]):where(:not(:disabled, .disabled)) {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: var(--_connotation-color-soft);\n --_appearance-color-outline: transaprent;\n}\n.control {\n --_connotation-color-primary: var(--vvd-color-on-canvas);\n --_connotation-color-faint: var(--vvd-color-neutral-10);\n --_connotation-color-soft: var(--vvd-color-neutral-20);\n}\n@supports selector(:focus-visible) {\n .control:focus {\n outline: none;\n }\n}\n@supports ((-webkit-user-select: none) or (user-select: none)) {\n .control {\n -webkit-user-select: none;\n user-select: none;\n }\n}\n.control .toggleIcon {\n margin-inline-start: auto;\n}\n\n.control:not(:focus-visible) .focus-indicator {\n display: none;\n}\n\n.icon {\n font-size: 20px;\n}\n\n.content {\n border-inline-start: 1px solid var(--vvd-color-neutral-30);\n margin-inline-start:
|
|
20
|
+
var css_248z = "/*\n Do not edit directly\n Generated on Wed, 27 Apr 2022 11:58:36 GMT\n*/\n.control {\n font: 400 ultra-condensed 14px / 20px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n position: relative;\n display: flex;\n box-sizing: border-box;\n align-items: center;\n background-color: var(--_appearance-color-fill);\n border-radius: 6px;\n box-shadow: inset 0 0 0 1px var(--_appearance-color-outline);\n color: var(--_appearance-color-text);\n cursor: pointer;\n gap: 8px;\n -webkit-hyphens: auto;\n hyphens: auto;\n inline-size: 100%;\n min-block-size: 40px;\n padding-inline: 8px;\n text-decoration: none;\n vertical-align: middle;\n word-break: break-word;\n}\n.control {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: transaprent;\n --_appearance-color-outline: transaprent;\n}\n.control:where(:hover, .hover):where(:not(:disabled, .disabled)) {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: var(--_connotation-color-faint);\n --_appearance-color-outline: transaprent;\n}\n.control:where(:active, .active):where(:not(:disabled, .disabled)) {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: var(--_connotation-color-soft);\n --_appearance-color-outline: transaprent;\n}\n.control:where(.selected, [aria-current]):where(:not(:disabled, .disabled)) {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: var(--_connotation-color-soft);\n --_appearance-color-outline: transaprent;\n}\n.control {\n --_connotation-color-primary: var(--vvd-color-on-canvas);\n --_connotation-color-faint: var(--vvd-color-neutral-10);\n --_connotation-color-soft: var(--vvd-color-neutral-20);\n}\n@supports selector(:focus-visible) {\n .control:focus {\n outline: none;\n }\n}\n@supports ((-webkit-user-select: none) or (user-select: none)) {\n .control {\n -webkit-user-select: none;\n user-select: none;\n }\n}\n.control .toggleIcon {\n margin-inline-start: auto;\n}\n\n.control:not(:focus-visible) .focus-indicator {\n display: none;\n}\n\n.icon {\n font-size: 20px;\n}\n\n.content {\n border-inline-start: 1px solid var(--vvd-color-neutral-30);\n margin-inline-start: 20px;\n padding-inline-start: 12px;\n}\n\ndetails > summary {\n list-style: none;\n}\n\ndetails > summary::-webkit-details-marker {\n display: none;\n}";
|
|
20
21
|
styleInject(css_248z);
|
|
21
22
|
|
|
23
|
+
var _SidenavDisclosure_onToggle;
|
|
22
24
|
class SidenavDisclosure extends FoundationElement {
|
|
23
25
|
constructor() {
|
|
24
26
|
super(...arguments);
|
|
25
27
|
this.open = false;
|
|
28
|
+
|
|
29
|
+
_SidenavDisclosure_onToggle.set(this, () => {
|
|
30
|
+
this.open = this.details.open;
|
|
31
|
+
this.$emit('toggle');
|
|
32
|
+
});
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
connectedCallback() {
|
|
36
|
+
super.connectedCallback();
|
|
37
|
+
this.details.addEventListener('toggle', __classPrivateFieldGet(this, _SidenavDisclosure_onToggle, "f"));
|
|
38
|
+
this.details.open = this.open;
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
disconnectedCallback() {
|
|
42
|
+
super.disconnectedCallback();
|
|
43
|
+
this.details.removeEventListener('toggle', __classPrivateFieldGet(this, _SidenavDisclosure_onToggle, "f"));
|
|
26
44
|
}
|
|
27
45
|
|
|
28
46
|
}
|
|
47
|
+
_SidenavDisclosure_onToggle = new WeakMap();
|
|
29
48
|
|
|
30
49
|
__decorate([attr, __metadata("design:type", String)], SidenavDisclosure.prototype, "label", void 0);
|
|
31
50
|
|
|
@@ -42,7 +61,7 @@ let _ = t => t,
|
|
|
42
61
|
const SidenavDisclosureTemplate = context => {
|
|
43
62
|
const affixIconTemplate = affixIconTemplateFactory(context);
|
|
44
63
|
const focusTemplate = focusTemplateFactory(context);
|
|
45
|
-
return html(_t || (_t = _`<details class="base" ?open
|
|
64
|
+
return html(_t || (_t = _`<details class="base" ${0} ?open=${0}>
|
|
46
65
|
<summary class="control"
|
|
47
66
|
role="button"
|
|
48
67
|
aria-controls="disclosure-content"
|
|
@@ -54,9 +73,11 @@ const SidenavDisclosureTemplate = context => {
|
|
|
54
73
|
${0}
|
|
55
74
|
${0}
|
|
56
75
|
</summary>
|
|
57
|
-
<div class="content" id="disclosure-content"
|
|
76
|
+
<div class="content" id="disclosure-content">
|
|
77
|
+
<slot></slot>
|
|
78
|
+
</div>
|
|
58
79
|
</details>
|
|
59
|
-
`), x => x.open, x => x.open, x => affixIconTemplate(x.icon), x => x.label, when(x => x.open, html(_t2 || (_t2 = _`<vwc-icon class="toggleIcon" type='chevron-up-solid'></vwc-icon>`))), when(x => !x.open, html(_t3 || (_t3 = _`<vwc-icon class="toggleIcon" type='chevron-down-solid'></vwc-icon>`))), () => focusTemplate);
|
|
80
|
+
`), ref('details'), x => x.open, x => x.open, x => affixIconTemplate(x.icon), x => x.label, when(x => x.open, html(_t2 || (_t2 = _`<vwc-icon class="toggleIcon" type='chevron-up-solid'></vwc-icon>`))), when(x => !x.open, html(_t3 || (_t3 = _`<vwc-icon class="toggleIcon" type='chevron-down-solid'></vwc-icon>`))), () => focusTemplate);
|
|
60
81
|
};
|
|
61
82
|
|
|
62
83
|
const vividSidenavDisclosure = SidenavDisclosure.compose({
|
package/sidenav-item/index.js
CHANGED
|
@@ -18,6 +18,7 @@ import '../shared/web.dom-collections.iterator.js';
|
|
|
18
18
|
import '../shared/object-keys.js';
|
|
19
19
|
import '../shared/anchor.js';
|
|
20
20
|
import '../shared/aria-global.js';
|
|
21
|
+
import '../shared/ref.js';
|
|
21
22
|
import '../shared/focus2.js';
|
|
22
23
|
|
|
23
24
|
var css_248z = "/*\n Do not edit directly\n Generated on Wed, 27 Apr 2022 11:58:36 GMT\n*/\n.control {\n font: 400 ultra-condensed 14px / 20px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n position: relative;\n display: inline-flex;\n box-sizing: border-box;\n align-items: center;\n background-color: var(--_appearance-color-fill);\n border-radius: 6px;\n box-shadow: inset 0 0 0 1px var(--_appearance-color-outline);\n color: var(--_appearance-color-text);\n gap: 8px;\n -webkit-hyphens: auto;\n hyphens: auto;\n inline-size: 100%;\n min-block-size: 40px;\n padding-block: 10px;\n padding-inline: 8px;\n text-decoration: none;\n vertical-align: middle;\n word-break: break-word;\n}\n.control {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: transaprent;\n --_appearance-color-outline: transaprent;\n}\n.control:where(:hover, .hover):where(:not(:disabled, .disabled)) {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: var(--_connotation-color-faint);\n --_appearance-color-outline: transaprent;\n}\n.control:where(:active, .active):where(:not(:disabled, .disabled)) {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: var(--_connotation-color-soft);\n --_appearance-color-outline: transaprent;\n}\n.control:where(.selected, [aria-current]):where(:not(:disabled, .disabled)) {\n --_appearance-color-text: var(--_connotation-color-primary);\n --_appearance-color-fill: var(--_connotation-color-soft);\n --_appearance-color-outline: transaprent;\n}\n.control {\n --_connotation-color-primary: var(--vvd-color-on-canvas);\n --_connotation-color-faint: var(--vvd-color-neutral-10);\n --_connotation-color-soft: var(--vvd-color-neutral-20);\n}\n@supports selector(:focus-visible) {\n .control:focus {\n outline: none;\n }\n}\n.control.icon-only {\n display: flex;\n block-size: 40px;\n inline-size: 40px;\n place-content: center;\n}\n\n.control:not(:focus-visible) .focus-indicator {\n display: none;\n}\n\n.icon {\n font-size: 20px;\n}";
|
package/text-anchor/index.js
CHANGED
|
@@ -12,6 +12,7 @@ import '../shared/_has.js';
|
|
|
12
12
|
import '../shared/anchor.js';
|
|
13
13
|
import '../shared/apply-mixins.js';
|
|
14
14
|
import '../shared/aria-global.js';
|
|
15
|
+
import '../shared/ref.js';
|
|
15
16
|
import '../shared/focus2.js';
|
|
16
17
|
import '../shared/focus.js';
|
|
17
18
|
import '../shared/class-names.js';
|
package/text-field/index.js
CHANGED
|
@@ -6,10 +6,11 @@ import { b as AffixIcon, a as affixIconTemplateFactory } from '../shared/affix.j
|
|
|
6
6
|
import '../shared/focus.js';
|
|
7
7
|
import { a as applyMixins } from '../shared/apply-mixins.js';
|
|
8
8
|
import { F as FormAssociated } from '../shared/form-associated.js';
|
|
9
|
-
import { A as ARIAGlobalStatesAndProperties, S as StartEnd
|
|
9
|
+
import { A as ARIAGlobalStatesAndProperties, S as StartEnd } from '../shared/aria-global.js';
|
|
10
10
|
import { s as styleInject } from '../shared/style-inject.es.js';
|
|
11
11
|
import { f as focusTemplateFactory } from '../shared/focus2.js';
|
|
12
12
|
import { w as when } from '../shared/when.js';
|
|
13
|
+
import { r as ref } from '../shared/ref.js';
|
|
13
14
|
import { c as classNames } from '../shared/class-names.js';
|
|
14
15
|
import '../shared/icon.js';
|
|
15
16
|
import '../shared/export.js';
|
package/tooltip/index.js
CHANGED
|
@@ -19,6 +19,7 @@ import '../shared/button.js';
|
|
|
19
19
|
import '../shared/apply-mixins.js';
|
|
20
20
|
import '../shared/form-associated.js';
|
|
21
21
|
import '../shared/aria-global.js';
|
|
22
|
+
import '../shared/ref.js';
|
|
22
23
|
import '../shared/focus2.js';
|
|
23
24
|
import '../shared/object-keys.js';
|
|
24
25
|
import '../shared/es.object.assign.js';
|
|
@@ -40,7 +41,7 @@ __decorate([attr({
|
|
|
40
41
|
mode: 'boolean'
|
|
41
42
|
}), __metadata("design:type", Object)], Tooltip.prototype, "open", void 0);
|
|
42
43
|
|
|
43
|
-
__decorate([attr, __metadata("design:type", String)], Tooltip.prototype, "
|
|
44
|
+
__decorate([attr, __metadata("design:type", String)], Tooltip.prototype, "placement", void 0);
|
|
44
45
|
|
|
45
46
|
__decorate([attr, __metadata("design:type", String)], Tooltip.prototype, "anchor", void 0);
|
|
46
47
|
|
|
@@ -51,14 +52,14 @@ const getClasses = _ => classNames('control');
|
|
|
51
52
|
|
|
52
53
|
const TooltipTemplate = () => html(_t || (_t = _2`
|
|
53
54
|
<vwc-popup class="${0}" arrow alternate
|
|
54
|
-
|
|
55
|
+
placement=${0} open=${0} anchor=${0}
|
|
55
56
|
exportparts="vvd-theme-alternate" role="tooltip">
|
|
56
57
|
<div class="tooltip">
|
|
57
58
|
<header part="vvd-theme-alternate" class="tooltip-header">
|
|
58
59
|
<div class="tooltip-text">${0}</div>
|
|
59
60
|
</header>
|
|
60
61
|
</div>
|
|
61
|
-
</vwc-popup>`), getClasses, x => x.
|
|
62
|
+
</vwc-popup>`), getClasses, x => x.placement, x => x.open, x => x.anchor, x => x.text);
|
|
62
63
|
|
|
63
64
|
const vividTooltip = Tooltip.compose({
|
|
64
65
|
baseName: 'tooltip',
|