@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.
Files changed (61) hide show
  1. package/README.md +2 -2
  2. package/accordion-item/index.js +12 -7
  3. package/action-group/index.js +19 -4
  4. package/badge/index.js +1 -1
  5. package/banner/index.js +9 -11
  6. package/breadcrumb/index.js +1 -0
  7. package/breadcrumb-item/index.js +11 -4
  8. package/button/index.js +5 -3
  9. package/calendar/index.js +31 -9
  10. package/calendar-event/index.js +19 -32
  11. package/card/index.js +11 -19
  12. package/checkbox/index.js +176 -0
  13. package/elevation/index.js +1 -1
  14. package/fab/index.js +5 -3
  15. package/focus/index.js +1 -1
  16. package/header/index.js +91 -0
  17. package/icon/index.js +1 -1
  18. package/index.js +13 -9
  19. package/lib/accordion-item/index.d.ts +2 -0
  20. package/lib/action-group/action-group.d.ts +1 -0
  21. package/lib/banner/banner.template.d.ts +0 -2
  22. package/lib/banner/index.d.ts +1 -0
  23. package/lib/breadcrumb-item/index.d.ts +1 -0
  24. package/lib/calendar/calendar.d.ts +3 -1
  25. package/lib/calendar/index.d.ts +0 -1
  26. package/lib/calendar-event/calendar-event.d.ts +3 -1
  27. package/lib/card/index.d.ts +0 -1
  28. package/lib/checkbox/checkbox.d.ts +5 -0
  29. package/lib/checkbox/checkbox.template.d.ts +4 -0
  30. package/lib/checkbox/index.d.ts +4 -0
  31. package/lib/components.d.ts +2 -0
  32. package/lib/header/header.d.ts +11 -0
  33. package/lib/header/header.template.d.ts +4 -0
  34. package/lib/header/index.d.ts +2 -0
  35. package/lib/side-drawer/side-drawer.d.ts +8 -1
  36. package/lib/sidenav-item/index.d.ts +1 -0
  37. package/note/index.js +1 -1
  38. package/package.json +7 -3
  39. package/popup/index.js +7 -5
  40. package/progress/index.js +30 -24
  41. package/shared/aria-global.js +3 -40
  42. package/shared/button.js +1 -1
  43. package/shared/calendar-event.js +26 -0
  44. package/shared/es.object.assign.js +1 -1
  45. package/shared/export.js +444 -444
  46. package/shared/focus2.js +2 -459
  47. package/shared/form-associated.js +547 -0
  48. package/shared/icon.js +2 -2
  49. package/shared/index.js +1 -1
  50. package/shared/{object-set-prototype-of.js → iterators.js} +20 -20
  51. package/shared/object-keys.js +1 -1
  52. package/shared/ref.js +41 -0
  53. package/shared/text-anchor.template.js +5 -2
  54. package/shared/to-string.js +1 -1
  55. package/shared/web.dom-collections.iterator.js +2 -2
  56. package/side-drawer/index.js +8587 -11
  57. package/sidenav-item/index.js +7 -6
  58. package/text/index.js +1 -1
  59. package/text-anchor/index.js +4 -1
  60. package/text-field/index.js +7 -5
  61. 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 './aria-global.js';
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 };
@@ -1,4 +1,4 @@
1
- import { w as wellKnownSymbol$2, r as classofRaw$1, i as isCallable$1 } from './export.js';
1
+ import { w as wellKnownSymbol$2, c as classofRaw$1, i as isCallable$1 } from './export.js';
2
2
 
3
3
  var wellKnownSymbol$1 = wellKnownSymbol$2;
4
4
 
@@ -1,6 +1,6 @@
1
- import { d as descriptors, v as v8PrototypeDefineBug, o as objectDefineProperty, a as anObject$2, t as toIndexedObject$2, h as hiddenKeys$1, s as sharedKey$2, e as enumBugKeys$1, b as documentCreateElement$2, w as wellKnownSymbol$4, f as fails$2, c as hasOwnProperty_1, i as isCallable$3, g as toObject$1, j as defineBuiltIn$2, k as createPropertyDescriptor$1, _ as _export, l as createNonEnumerableProperty$2, m as functionCall, n as functionName, p as internalState, q as global$1 } from './export.js';
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 './object-set-prototype-of.js';
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