@vonage/vivid 3.0.0-next.21 → 3.0.0-next.24
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 +2 -2
- package/accordion-item/index.js +12 -7
- package/action-group/index.js +19 -4
- package/badge/index.js +1 -1
- package/banner/index.js +9 -11
- package/breadcrumb/index.js +1 -0
- package/breadcrumb-item/index.js +11 -4
- package/button/index.js +5 -3
- package/calendar/index.js +31 -9
- package/calendar-event/index.js +19 -32
- package/card/index.js +11 -19
- package/checkbox/index.js +176 -0
- package/elevation/index.js +1 -1
- package/fab/index.js +5 -3
- package/focus/index.js +1 -1
- package/header/index.js +91 -0
- package/icon/index.js +1 -1
- package/index.js +13 -9
- package/lib/accordion-item/index.d.ts +2 -0
- package/lib/action-group/action-group.d.ts +1 -0
- package/lib/banner/banner.template.d.ts +0 -2
- package/lib/banner/index.d.ts +1 -0
- package/lib/breadcrumb-item/index.d.ts +1 -0
- package/lib/calendar/calendar.d.ts +3 -1
- package/lib/calendar/index.d.ts +0 -1
- package/lib/calendar-event/calendar-event.d.ts +3 -1
- package/lib/card/index.d.ts +0 -1
- package/lib/checkbox/checkbox.d.ts +5 -0
- package/lib/checkbox/checkbox.template.d.ts +4 -0
- package/lib/checkbox/index.d.ts +4 -0
- package/lib/components.d.ts +2 -0
- package/lib/header/header.d.ts +11 -0
- package/lib/header/header.template.d.ts +4 -0
- package/lib/header/index.d.ts +2 -0
- package/lib/side-drawer/side-drawer.d.ts +8 -1
- package/lib/sidenav-item/index.d.ts +1 -0
- package/note/index.js +1 -1
- package/package.json +7 -3
- package/popup/index.js +7 -5
- package/progress/index.js +30 -24
- package/shared/aria-global.js +3 -40
- package/shared/button.js +1 -1
- package/shared/calendar-event.js +26 -0
- package/shared/es.object.assign.js +1 -1
- package/shared/export.js +444 -444
- package/shared/focus2.js +2 -459
- package/shared/form-associated.js +547 -0
- package/shared/icon.js +2 -2
- package/shared/index.js +1 -1
- package/shared/{object-set-prototype-of.js → iterators.js} +20 -20
- package/shared/object-keys.js +1 -1
- package/shared/ref.js +41 -0
- package/shared/text-anchor.template.js +5 -2
- package/shared/to-string.js +1 -1
- package/shared/web.dom-collections.iterator.js +2 -2
- package/side-drawer/index.js +8587 -11
- package/sidenav-item/index.js +7 -6
- package/text/index.js +1 -1
- package/text-anchor/index.js +4 -1
- package/text-field/index.js +7 -5
- package/tooltip/index.js +4 -2
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { a as affixIconTemplateFactory } from './affix.js';
|
|
2
|
+
import { f as focusTemplateFactory } from './focus2.js';
|
|
2
3
|
import { h as html } from './index.js';
|
|
3
|
-
import { r as ref } from './
|
|
4
|
+
import { r as ref } from './ref.js';
|
|
4
5
|
import { c as classNames } from './class-names.js';
|
|
5
6
|
|
|
6
7
|
let _ = t => t,
|
|
@@ -13,6 +14,7 @@ const getClasses = ({
|
|
|
13
14
|
|
|
14
15
|
const textAnchorTemplate = context => {
|
|
15
16
|
const affixIconTemplate = affixIconTemplateFactory(context);
|
|
17
|
+
const focusTemplate = focusTemplateFactory(context);
|
|
16
18
|
return html(_t || (_t = _`<a
|
|
17
19
|
class="${0}"
|
|
18
20
|
download="${0}"
|
|
@@ -47,8 +49,9 @@ const textAnchorTemplate = context => {
|
|
|
47
49
|
>
|
|
48
50
|
${0}
|
|
49
51
|
${0}
|
|
52
|
+
${0}
|
|
50
53
|
</a>
|
|
51
|
-
`), getClasses, x => x.download, x => x.href, x => x.hreflang, x => x.ping, x => x.referrerpolicy, x => x.rel, x => x.target, x => x.type, x => x.ariaAtomic, x => x.ariaBusy, x => x.ariaControls, x => x.ariaCurrent, x => x.ariaDescribedby, x => x.ariaDetails, x => x.ariaDisabled, x => x.ariaErrormessage, x => x.ariaExpanded, x => x.ariaFlowto, x => x.ariaHaspopup, x => x.ariaHidden, x => x.ariaInvalid, x => x.ariaKeyshortcuts, x => x.ariaLabel, x => x.ariaLabelledby, x => x.ariaLive, x => x.ariaOwns, x => x.ariaRelevant, x => x.ariaRoledescription, ref('control'), x => affixIconTemplate(x.icon), x => x.text);
|
|
54
|
+
`), getClasses, x => x.download, x => x.href, x => x.hreflang, x => x.ping, x => x.referrerpolicy, x => x.rel, x => x.target, x => x.type, x => x.ariaAtomic, x => x.ariaBusy, x => x.ariaControls, x => x.ariaCurrent, x => x.ariaDescribedby, x => x.ariaDetails, x => x.ariaDisabled, x => x.ariaErrormessage, x => x.ariaExpanded, x => x.ariaFlowto, x => x.ariaHaspopup, x => x.ariaHidden, x => x.ariaInvalid, x => x.ariaKeyshortcuts, x => x.ariaLabel, x => x.ariaLabelledby, x => x.ariaLive, x => x.ariaOwns, x => x.ariaRelevant, x => x.ariaRoledescription, ref('control'), () => focusTemplate, x => affixIconTemplate(x.icon), x => x.text);
|
|
52
55
|
};
|
|
53
56
|
|
|
54
57
|
export { textAnchorTemplate as t };
|
package/shared/to-string.js
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { d as descriptors,
|
|
1
|
+
import { d as descriptors, D as v8PrototypeDefineBug, o as objectDefineProperty, j as anObject$2, E as toIndexedObject$2, F as hiddenKeys$1, G as sharedKey$2, H as enumBugKeys$1, n as documentCreateElement$2, w as wellKnownSymbol$4, e as fails$2, p as hasOwnProperty_1, i as isCallable$3, I as toObject$1, u as defineBuiltIn$2, J as createPropertyDescriptor$1, _ as _export, K as createNonEnumerableProperty$2, v as functionCall, C as functionName, y as internalState, g as global$1 } from './export.js';
|
|
2
2
|
import { o as objectKeys$1 } from './object-keys.js';
|
|
3
|
-
import { h as html$1, s as setToStringTag$2, i as iterators, o as objectSetPrototypeOf } from './
|
|
3
|
+
import { h as html$1, s as setToStringTag$2, i as iterators, o as objectSetPrototypeOf } from './iterators.js';
|
|
4
4
|
|
|
5
5
|
var objectDefineProperties = {};
|
|
6
6
|
|