@vonage/vivid 3.0.0-next.2 → 3.0.0-next.22
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/README.md +49 -4
- package/accordion/index.js +61 -0
- package/accordion-item/index.js +128 -0
- package/action-group/index.js +34 -0
- package/badge/index.js +27 -22
- package/banner/index.js +149 -0
- package/breadcrumb/index.js +103 -0
- package/breadcrumb-item/index.js +26 -11
- package/button/index.js +41 -663
- package/calendar/index.js +1550 -0
- package/calendar-event/index.js +117 -0
- package/card/index.js +134 -0
- package/elevation/index.js +8 -15
- package/fab/index.js +99 -0
- package/focus/index.js +20 -3
- package/icon/index.js +40 -5
- package/index.d.ts +1 -0
- package/index.js +49 -12
- package/layout/index.js +5 -5
- package/lib/accordion/accordion.d.ts +9 -0
- package/lib/accordion/accordion.template.d.ts +4 -0
- package/lib/accordion/index.d.ts +2 -0
- package/lib/accordion-item/accordion-item.d.ts +13 -0
- package/lib/accordion-item/accordion-item.template.d.ts +4 -0
- package/lib/accordion-item/index.d.ts +5 -0
- package/lib/action-group/action-group.d.ts +9 -0
- package/lib/action-group/action-group.template.d.ts +4 -0
- package/lib/action-group/index.d.ts +2 -0
- package/lib/badge/badge.d.ts +8 -8
- package/lib/badge/index.d.ts +1 -1
- package/lib/banner/banner.d.ts +20 -0
- package/lib/banner/banner.template.d.ts +4 -0
- package/lib/banner/index.d.ts +3 -0
- package/lib/breadcrumb/breadcrumb.d.ts +3 -0
- package/lib/breadcrumb/index.d.ts +2 -0
- package/lib/breadcrumb-item/breadcrumb-item.d.ts +3 -3
- package/lib/breadcrumb-item/breadcrumb-item.template.d.ts +0 -1
- package/lib/breadcrumb-item/index.d.ts +2 -0
- package/lib/button/button.d.ts +9 -8
- package/lib/button/index.d.ts +2 -19
- package/lib/calendar/calendar.d.ts +13 -0
- package/lib/calendar/calendar.template.d.ts +4 -0
- package/lib/calendar/helpers/calendar.date-functions.d.ts +2 -0
- package/lib/calendar/helpers/calendar.event-context.d.ts +6 -0
- package/lib/calendar/helpers/calendar.keyboard-interactions.d.ts +9 -0
- package/lib/calendar/index.d.ts +2 -0
- package/lib/calendar-event/calendar-event.d.ts +14 -0
- package/lib/calendar-event/calendar-event.template.d.ts +4 -0
- package/lib/calendar-event/index.d.ts +2 -0
- package/lib/card/card.d.ts +10 -0
- package/lib/card/card.template.d.ts +4 -0
- package/lib/card/index.d.ts +4 -0
- package/lib/components.d.ts +20 -3
- package/lib/elevation/elevation.d.ts +1 -1
- package/lib/elevation/index.d.ts +1 -1
- package/lib/enums.d.ts +14 -7
- package/lib/fab/fab.d.ts +10 -0
- package/lib/fab/fab.template.d.ts +4 -0
- package/lib/fab/index.d.ts +4 -0
- package/lib/focus/index.d.ts +1 -1
- package/lib/icon/icon.d.ts +4 -5
- package/lib/layout/index.d.ts +1 -1
- package/lib/layout/layout.d.ts +3 -3
- package/lib/note/index.d.ts +2 -0
- package/lib/note/note.d.ts +10 -0
- package/lib/note/note.template.d.ts +5 -0
- package/lib/popup/index.d.ts +4 -0
- package/lib/popup/popup.d.ts +17 -0
- package/lib/popup/popup.template.d.ts +4 -0
- package/lib/progress/index.d.ts +2 -0
- package/lib/progress/progress.d.ts +9 -0
- package/lib/progress/progress.template.d.ts +5 -0
- package/lib/progress-ring/index.d.ts +2 -0
- package/lib/progress-ring/progress-ring.d.ts +7 -0
- package/lib/progress-ring/progress-ring.template.d.ts +4 -0
- package/lib/side-drawer/index.d.ts +2 -0
- package/lib/side-drawer/side-drawer.d.ts +15 -0
- package/lib/side-drawer/side-drawer.template.d.ts +4 -0
- package/lib/sidenav-item/index.d.ts +1 -0
- package/lib/sidenav-item/sidenav-item.d.ts +4 -5
- package/lib/text/index.d.ts +2 -0
- package/lib/text/text.d.ts +10 -0
- package/lib/text/text.template.d.ts +4 -0
- package/lib/text-anchor/text-anchor.d.ts +4 -1
- package/lib/text-field/index.d.ts +4 -0
- package/lib/text-field/text-field.d.ts +21 -0
- package/lib/text-field/text-field.template.d.ts +5 -0
- package/lib/tooltip/index.d.ts +3 -0
- package/lib/tooltip/tooltip.d.ts +8 -0
- package/lib/tooltip/tooltip.template.d.ts +4 -0
- package/note/index.js +68 -0
- package/package.json +37 -6
- package/popup/index.js +2111 -0
- package/progress/index.js +101 -0
- package/progress-ring/index.js +82 -0
- package/shared/_has.js +58 -0
- package/shared/affix.js +10 -25
- package/shared/anchor.js +11 -4
- package/shared/aria-global.js +22 -59
- package/shared/base-progress.js +70 -0
- package/shared/breadcrumb-item.js +25 -0
- package/shared/button.js +195 -0
- package/shared/calendar-event.js +26 -0
- package/shared/enums.js +79 -0
- package/shared/es.object.assign.js +69 -0
- package/shared/export.js +972 -0
- package/shared/focus.js +5 -0
- package/shared/focus2.js +11 -0
- package/shared/form-associated.js +460 -0
- package/shared/icon.js +1389 -0
- package/shared/index.js +4940 -1426
- package/shared/iterators.js +61 -0
- package/shared/object-keys.js +13 -0
- package/shared/patterns/affix.d.ts +3 -4
- package/shared/patterns/focus.d.ts +3 -0
- package/shared/patterns/index.d.ts +1 -0
- package/shared/ref.js +41 -0
- package/shared/slotted.js +119 -0
- package/shared/text-anchor.js +12 -0
- package/shared/text-anchor.template.js +18 -20
- package/shared/to-string.js +51 -0
- package/shared/web.dom-collections.iterator.js +46 -1059
- package/shared/when.js +15 -0
- package/side-drawer/index.js +8660 -0
- package/sidenav-item/index.js +25 -61
- package/styles/themes/dark.css +16 -4
- package/styles/themes/light.css +16 -4
- package/text/index.js +48 -0
- package/text-anchor/index.js +13 -2
- package/text-field/index.js +398 -0
- package/tooltip/index.js +71 -0
- package/shared/index2.js +0 -4911
- package/shared/index3.js +0 -21
package/breadcrumb-item/index.js
CHANGED
|
@@ -1,25 +1,37 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '../icon/index.js';
|
|
2
|
+
import '../focus/index.js';
|
|
3
|
+
import { _ as __decorate, a as attr, b as __metadata, h as html, d as designSystem } from '../shared/index.js';
|
|
2
4
|
import { s as styleInject } from '../shared/style-inject.es.js';
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
+
import { B as BreadcrumbItem$1 } from '../shared/breadcrumb-item.js';
|
|
6
|
+
import { t as textAnchorTemplate } from '../shared/text-anchor.template.js';
|
|
7
|
+
import { w as when } from '../shared/when.js';
|
|
5
8
|
import { c as classNames } from '../shared/class-names.js';
|
|
6
|
-
import '../shared/
|
|
9
|
+
import '../shared/icon.js';
|
|
10
|
+
import '../shared/export.js';
|
|
11
|
+
import '../shared/iterators.js';
|
|
12
|
+
import '../shared/to-string.js';
|
|
13
|
+
import '../shared/_has.js';
|
|
14
|
+
import '../shared/focus.js';
|
|
7
15
|
import '../shared/anchor.js';
|
|
8
16
|
import '../shared/apply-mixins.js';
|
|
9
17
|
import '../shared/aria-global.js';
|
|
18
|
+
import '../shared/ref.js';
|
|
19
|
+
import '../shared/affix.js';
|
|
20
|
+
import '../shared/web.dom-collections.iterator.js';
|
|
21
|
+
import '../shared/object-keys.js';
|
|
22
|
+
import '../shared/focus2.js';
|
|
10
23
|
|
|
11
|
-
var css_248z = "/*\n Do not edit directly\n Generated on
|
|
24
|
+
var css_248z = "/*\n Do not edit directly\n Generated on Wed, 27 Apr 2022 11:58:36 GMT\n*/\n.base {\n font: 400 ultra-condensed 14px / 20px SpeziaWebVariable;\n letter-spacing: 0px;\n text-decoration: none;\n text-transform: none;\n display: flex;\n align-items: center;\n color: var(--vvd-color-on-canvas);\n}\n.base vwc-icon {\n margin: 0 16px;\n color: var(--vvd-color-neutral-70);\n font-size: 12px;\n}\n\n.control {\n position: relative;\n font: inherit;\n outline: 0 none;\n}\n.control:any-link {\n color: var(--vvd-color-cta-70);\n text-decoration: none;\n}\n.control:any-link:hover {\n text-decoration: underline;\n}\n\n.control:not(:focus-visible) > .focus-indicator {\n display: none;\n}";
|
|
12
25
|
styleInject(css_248z);
|
|
13
26
|
|
|
14
|
-
class BreadcrumbItem extends
|
|
27
|
+
class BreadcrumbItem extends BreadcrumbItem$1 {
|
|
15
28
|
constructor() {
|
|
16
29
|
super();
|
|
17
|
-
this.separator = true;
|
|
18
30
|
}
|
|
19
31
|
|
|
20
32
|
}
|
|
21
33
|
|
|
22
|
-
__decorate([
|
|
34
|
+
__decorate([attr, __metadata("design:type", String)], BreadcrumbItem.prototype, "text", void 0);
|
|
23
35
|
|
|
24
36
|
let _2 = t => t,
|
|
25
37
|
_t,
|
|
@@ -27,7 +39,7 @@ let _2 = t => t,
|
|
|
27
39
|
_t3,
|
|
28
40
|
_t4;
|
|
29
41
|
|
|
30
|
-
const getClasses = _ => classNames('
|
|
42
|
+
const getClasses = _ => classNames('base');
|
|
31
43
|
|
|
32
44
|
const BreadcrumbItemTemplate = (context, definition) => html(_t || (_t = _2`
|
|
33
45
|
<div roll="listitem" part="listitem" class="${0}">
|
|
@@ -36,12 +48,15 @@ const BreadcrumbItemTemplate = (context, definition) => html(_t || (_t = _2`
|
|
|
36
48
|
${0}
|
|
37
49
|
|
|
38
50
|
${0}
|
|
39
|
-
</div>`), getClasses, when(x => x.text && !x.href, html(_t2 || (_t2 = _2`${0}`), x => x.text)), when(x => x.text && x.href && x.href.length > 0, html(_t3 || (_t3 = _2`${0}`), textAnchorTemplate())), when(x => x.separator, html(_t4 || (_t4 = _2`<vwc-icon type="chevron-right-
|
|
51
|
+
</div>`), getClasses, when(x => x.text && !x.href, html(_t2 || (_t2 = _2`${0}`), x => x.text)), when(x => x.text && x.href && x.href.length > 0, html(_t3 || (_t3 = _2`${0}`), textAnchorTemplate(context))), when(x => x.separator, html(_t4 || (_t4 = _2`<vwc-icon type="chevron-right-solid"></vwc-icon>`))));
|
|
40
52
|
|
|
41
53
|
const vividBreadcrumbItem = BreadcrumbItem.compose({
|
|
42
54
|
baseName: 'breadcrumb-item',
|
|
43
55
|
template: BreadcrumbItemTemplate,
|
|
44
|
-
styles: css_248z
|
|
56
|
+
styles: css_248z,
|
|
57
|
+
shadowOptions: {
|
|
58
|
+
delegatesFocus: true
|
|
59
|
+
}
|
|
45
60
|
});
|
|
46
61
|
designSystem.register(vividBreadcrumbItem());
|
|
47
62
|
|