@vonage/vivid 3.0.0-next.83 → 3.0.0-next.85

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 (72) hide show
  1. package/accordion/index.js +2 -9
  2. package/accordion-item/index.js +8 -22
  3. package/action-group/index.js +2 -8
  4. package/avatar/index.js +4 -14
  5. package/badge/index.js +3 -13
  6. package/banner/index.js +3 -26
  7. package/breadcrumb/index.js +1 -1
  8. package/breadcrumb-item/index.js +5 -9
  9. package/calendar/index.js +12 -49
  10. package/calendar-event/index.js +4 -7
  11. package/card/index.js +9 -28
  12. package/checkbox/index.js +3 -11
  13. package/dialog/index.js +7 -59
  14. package/fab/index.js +2 -8
  15. package/focus/index.js +2 -2
  16. package/header/index.js +2 -7
  17. package/icon/index.js +2 -5
  18. package/index.js +1 -1
  19. package/layout/index.js +1 -9
  20. package/lib/badge/badge.d.ts +1 -3
  21. package/lib/components.d.ts +1 -0
  22. package/lib/listbox-option/index.d.ts +4 -0
  23. package/lib/listbox-option/listbox-option.d.ts +7 -0
  24. package/lib/listbox-option/listbox-option.template.d.ts +4 -0
  25. package/listbox-option/index.js +248 -0
  26. package/menu/index.js +1 -7
  27. package/nav/index.js +1 -1
  28. package/nav-disclosure/index.js +4 -11
  29. package/nav-item/index.js +2 -2
  30. package/note/index.js +4 -12
  31. package/number-field/index.js +24 -21
  32. package/package.json +12 -9
  33. package/popup/index.js +0 -1
  34. package/progress/index.js +5 -13
  35. package/progress-ring/index.js +4 -8
  36. package/radio/index.js +3 -5
  37. package/radio-group/index.js +3 -4
  38. package/shared/affix.js +1 -6
  39. package/shared/apply-mixins.js +5 -4
  40. package/shared/calendar-event.js +0 -7
  41. package/shared/enums.js +0 -17
  42. package/shared/es.object.assign.js +4 -4
  43. package/shared/export.js +79 -57
  44. package/shared/focus2.js +1 -1
  45. package/shared/form-associated.js +1 -1
  46. package/shared/form-elements.js +5 -27
  47. package/shared/icon.js +8 -18
  48. package/shared/index.js +38 -25
  49. package/shared/index2.js +2 -13
  50. package/shared/index3.js +1 -5
  51. package/shared/index4.js +2 -4
  52. package/shared/index5.js +6 -581
  53. package/shared/index6.js +6 -10
  54. package/shared/iterators.js +3 -3
  55. package/shared/object-keys.js +2 -2
  56. package/shared/patterns/form-elements/form-elements.d.ts +1 -1
  57. package/shared/radio.js +0 -1
  58. package/shared/ref.js +1 -1
  59. package/shared/slotted.js +1 -1
  60. package/shared/text-anchor.js +0 -2
  61. package/shared/text-anchor.template.js +1 -3
  62. package/shared/web.dom-collections.iterator.js +6 -8
  63. package/side-drawer/index.js +3 -16
  64. package/styles/core/all.css +1 -1
  65. package/styles/core/theme.css +1 -1
  66. package/styles/core/typography.css +1 -1
  67. package/styles/tokens/theme-dark.css +29 -23
  68. package/styles/tokens/theme-light.css +29 -23
  69. package/text-area/index.js +3 -9
  70. package/text-field/index.js +4 -14
  71. package/tooltip/index.js +2 -10
  72. package/shared/regexp-flags.js +0 -21
package/tooltip/index.js CHANGED
@@ -24,33 +24,25 @@ import '../shared/ref.js';
24
24
  import '../shared/focus2.js';
25
25
  import '../shared/es.object.assign.js';
26
26
  import '../shared/object-keys.js';
27
- import '../shared/regexp-flags.js';
28
27
 
29
- var css_248z = "/**\n * Do not edit directly\n * Generated on Sat, 29 Oct 2022 09:46:17 GMT\n */\n.control {\n pointer-events: none;\n}\n\n.tooltip {\n width: var(--tooltip-inline-size, 240px);\n}\n.tooltip-text {\n padding: 8px 12px;\n color: var(--vvd-color-canvas-text);\n font: var(--vvd-typography-base-bold);\n}";
28
+ var css_248z = "/**\n * Do not edit directly\n * Generated on Wed, 02 Nov 2022 12:59:38 GMT\n */\n.control {\n pointer-events: none;\n}\n\n.tooltip {\n width: var(--tooltip-inline-size, 240px);\n}\n.tooltip-text {\n padding: 8px 12px;\n color: var(--vvd-color-canvas-text);\n font: var(--vvd-typography-base-bold);\n}";
30
29
 
31
30
  class Tooltip extends FoundationElement {
32
31
  constructor() {
33
32
  super(...arguments);
34
33
  this.open = false;
35
34
  }
36
-
37
35
  }
38
-
39
36
  __decorate([attr, __metadata("design:type", String)], Tooltip.prototype, "text", void 0);
40
-
41
37
  __decorate([attr({
42
38
  mode: 'boolean'
43
39
  }), __metadata("design:type", Object)], Tooltip.prototype, "open", void 0);
44
-
45
40
  __decorate([attr, __metadata("design:type", String)], Tooltip.prototype, "placement", void 0);
46
-
47
41
  __decorate([attr, __metadata("design:type", String)], Tooltip.prototype, "anchor", void 0);
48
42
 
49
43
  let _2 = t => t,
50
- _t;
51
-
44
+ _t;
52
45
  const getClasses = _ => classNames('control');
53
-
54
46
  const TooltipTemplate = () => html(_t || (_t = _2`
55
47
  <vwc-popup class="${0}" arrow alternate
56
48
  placement=${0} open=${0} anchor=${0}
@@ -1,21 +0,0 @@
1
- import { j as anObject$1 } from './export.js';
2
-
3
- var anObject = anObject$1;
4
-
5
- // `RegExp.prototype.flags` getter implementation
6
- // https://tc39.es/ecma262/#sec-get-regexp.prototype.flags
7
- var regexpFlags = function () {
8
- var that = anObject(this);
9
- var result = '';
10
- if (that.hasIndices) result += 'd';
11
- if (that.global) result += 'g';
12
- if (that.ignoreCase) result += 'i';
13
- if (that.multiline) result += 'm';
14
- if (that.dotAll) result += 's';
15
- if (that.unicode) result += 'u';
16
- if (that.unicodeSets) result += 'v';
17
- if (that.sticky) result += 'y';
18
- return result;
19
- };
20
-
21
- export { regexpFlags as r };