@vonage/vivid 3.0.0-next.2 → 3.0.0-next.20
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 +120 -0
- package/action-group/index.js +34 -0
- package/badge/index.js +24 -22
- package/banner/index.js +148 -0
- package/breadcrumb/index.js +102 -0
- package/breadcrumb-item/index.js +14 -9
- package/button/index.js +36 -663
- package/calendar/index.js +1526 -0
- package/card/index.js +139 -0
- package/elevation/index.js +8 -15
- package/fab/index.js +94 -0
- package/focus/index.js +20 -3
- package/icon/index.js +38 -5
- package/index.d.ts +1 -0
- package/index.js +43 -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 +3 -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 +6 -0
- package/lib/banner/index.d.ts +2 -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 +1 -0
- package/lib/button/button.d.ts +9 -8
- package/lib/button/index.d.ts +2 -19
- package/lib/calendar/calendar.d.ts +11 -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 +3 -0
- package/lib/card/card.d.ts +10 -0
- package/lib/card/card.template.d.ts +4 -0
- package/lib/card/index.d.ts +5 -0
- package/lib/components.d.ts +19 -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 +8 -0
- package/lib/side-drawer/side-drawer.template.d.ts +4 -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 +20 -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 +65 -0
- package/package.json +33 -6
- package/popup/index.js +2106 -0
- package/progress/index.js +99 -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 +20 -20
- package/shared/base-progress.js +70 -0
- package/shared/breadcrumb-item.js +25 -0
- package/shared/button.js +195 -0
- package/shared/enums.js +79 -0
- package/shared/es.object.assign.js +69 -0
- package/shared/focus.js +5 -0
- package/shared/focus2.js +468 -0
- package/shared/icon.js +1435 -0
- package/shared/index.js +4940 -1426
- package/shared/object-set-prototype-of.js +1030 -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/slotted.js +119 -0
- package/shared/text-anchor.js +12 -0
- package/shared/text-anchor.template.js +14 -19
- package/shared/web.dom-collections.iterator.js +46 -1051
- package/shared/when.js +15 -0
- package/side-drawer/index.js +82 -0
- package/sidenav-item/index.js +17 -57
- package/styles/themes/dark.css +16 -4
- package/styles/themes/light.css +16 -4
- package/text/index.js +46 -0
- package/text-anchor/index.js +7 -2
- package/text-field/index.js +389 -0
- package/tooltip/index.js +66 -0
- package/shared/index2.js +0 -4911
- package/shared/index3.js +0 -21
package/breadcrumb-item/index.js
CHANGED
|
@@ -1,25 +1,30 @@
|
|
|
1
|
-
import
|
|
1
|
+
import '../icon/index.js';
|
|
2
|
+
import { _ 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
|
-
import {
|
|
4
|
-
import {
|
|
4
|
+
import { B as BreadcrumbItem$1 } from '../shared/breadcrumb-item.js';
|
|
5
|
+
import { t as textAnchorTemplate } from '../shared/text-anchor.template.js';
|
|
6
|
+
import { w as when } from '../shared/when.js';
|
|
5
7
|
import { c as classNames } from '../shared/class-names.js';
|
|
6
|
-
import '../shared/
|
|
8
|
+
import '../shared/icon.js';
|
|
9
|
+
import '../shared/object-set-prototype-of.js';
|
|
10
|
+
import '../shared/_has.js';
|
|
7
11
|
import '../shared/anchor.js';
|
|
8
12
|
import '../shared/apply-mixins.js';
|
|
9
13
|
import '../shared/aria-global.js';
|
|
14
|
+
import '../shared/affix.js';
|
|
15
|
+
import '../shared/web.dom-collections.iterator.js';
|
|
10
16
|
|
|
11
|
-
var css_248z = "/*\n Do not edit directly\n Generated on
|
|
17
|
+
var css_248z = "/*\n Do not edit directly\n Generated on Wed, 27 Apr 2022 11:58:36 GMT\n*/\n.breadcrumb-item {\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.breadcrumb-item a {\n color: var(--vvd-color-cta-70);\n font: inherit;\n text-decoration: none;\n}\n.breadcrumb-item a:hover {\n text-decoration: underline;\n}\n.breadcrumb-item vwc-icon {\n margin: 0 16px;\n color: var(--vvd-color-neutral-70);\n font-size: 12px;\n}";
|
|
12
18
|
styleInject(css_248z);
|
|
13
19
|
|
|
14
|
-
class BreadcrumbItem extends
|
|
20
|
+
class BreadcrumbItem extends BreadcrumbItem$1 {
|
|
15
21
|
constructor() {
|
|
16
22
|
super();
|
|
17
|
-
this.separator = true;
|
|
18
23
|
}
|
|
19
24
|
|
|
20
25
|
}
|
|
21
26
|
|
|
22
|
-
__decorate([
|
|
27
|
+
__decorate([attr, __metadata("design:type", String)], BreadcrumbItem.prototype, "text", void 0);
|
|
23
28
|
|
|
24
29
|
let _2 = t => t,
|
|
25
30
|
_t,
|
|
@@ -36,7 +41,7 @@ const BreadcrumbItemTemplate = (context, definition) => html(_t || (_t = _2`
|
|
|
36
41
|
${0}
|
|
37
42
|
|
|
38
43
|
${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-
|
|
44
|
+
</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
45
|
|
|
41
46
|
const vividBreadcrumbItem = BreadcrumbItem.compose({
|
|
42
47
|
baseName: 'breadcrumb-item',
|