@vonage/vivid 2.30.0 → 3.0.0-next.12

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 (114) hide show
  1. package/README.md +7 -0
  2. package/accordion/index.js +61 -0
  3. package/accordion-item/index.js +120 -0
  4. package/badge/index.js +57 -0
  5. package/banner/index.js +214 -0
  6. package/breadcrumb/index.js +100 -0
  7. package/breadcrumb-item/index.js +53 -0
  8. package/button/index.js +754 -0
  9. package/calendar/index.js +1522 -0
  10. package/elevation/index.js +31 -0
  11. package/focus/index.js +3 -0
  12. package/icon/index.js +38 -0
  13. package/index.d.ts +2 -0
  14. package/index.js +33 -63
  15. package/layout/index.js +53 -0
  16. package/lib/accordion/accordion.d.ts +9 -0
  17. package/lib/accordion/accordion.template.d.ts +4 -0
  18. package/lib/accordion/index.d.ts +2 -0
  19. package/lib/accordion-item/accordion-item.d.ts +13 -0
  20. package/lib/accordion-item/accordion-item.template.d.ts +4 -0
  21. package/lib/accordion-item/index.d.ts +3 -0
  22. package/lib/badge/badge.d.ts +17 -0
  23. package/lib/badge/badge.template.d.ts +4 -0
  24. package/lib/badge/index.d.ts +3 -0
  25. package/lib/banner/banner.d.ts +20 -0
  26. package/lib/banner/banner.template.d.ts +6 -0
  27. package/lib/banner/index.d.ts +2 -0
  28. package/lib/breadcrumb/breadcrumb.d.ts +3 -0
  29. package/lib/breadcrumb/index.d.ts +2 -0
  30. package/lib/breadcrumb-item/breadcrumb-item.d.ts +5 -0
  31. package/lib/breadcrumb-item/breadcrumb-item.template.d.ts +4 -0
  32. package/lib/breadcrumb-item/index.d.ts +3 -0
  33. package/lib/button/button.d.ts +17 -0
  34. package/lib/button/button.template.d.ts +4 -0
  35. package/lib/button/index.d.ts +21 -0
  36. package/lib/calendar/calendar.d.ts +11 -0
  37. package/lib/calendar/calendar.template.d.ts +4 -0
  38. package/lib/calendar/helpers/calendar.date-functions.d.ts +2 -0
  39. package/lib/calendar/helpers/calendar.event-context.d.ts +6 -0
  40. package/lib/calendar/helpers/calendar.keyboard-interactions.d.ts +9 -0
  41. package/lib/calendar/index.d.ts +3 -0
  42. package/lib/components.d.ts +16 -0
  43. package/lib/elevation/elevation.d.ts +4 -0
  44. package/lib/elevation/elevation.template.d.ts +4 -0
  45. package/lib/elevation/index.d.ts +2 -0
  46. package/lib/enums.d.ts +46 -0
  47. package/lib/focus/focus.d.ts +3 -0
  48. package/lib/focus/focus.template.d.ts +4 -0
  49. package/lib/focus/index.d.ts +2 -0
  50. package/lib/icon/icon.d.ts +11 -0
  51. package/lib/icon/icon.placeholder.d.ts +1 -0
  52. package/lib/icon/icon.template.d.ts +4 -0
  53. package/lib/icon/index.d.ts +2 -0
  54. package/lib/layout/index.d.ts +2 -0
  55. package/lib/layout/layout.d.ts +16 -0
  56. package/lib/layout/layout.template.d.ts +4 -0
  57. package/lib/popup/index.d.ts +4 -0
  58. package/lib/popup/popup.d.ts +17 -0
  59. package/lib/popup/popup.template.d.ts +4 -0
  60. package/lib/progress/index.d.ts +2 -0
  61. package/lib/progress/progress.d.ts +9 -0
  62. package/lib/progress/progress.template.d.ts +5 -0
  63. package/lib/progress-ring/index.d.ts +2 -0
  64. package/lib/progress-ring/progress-ring.d.ts +6 -0
  65. package/lib/progress-ring/progress-ring.template.d.ts +4 -0
  66. package/lib/side-drawer/index.d.ts +2 -0
  67. package/lib/side-drawer/side-drawer.d.ts +8 -0
  68. package/lib/side-drawer/side-drawer.template.d.ts +4 -0
  69. package/lib/sidenav-item/index.d.ts +3 -0
  70. package/lib/sidenav-item/sidenav-item.d.ts +6 -0
  71. package/lib/sidenav-item/sidenav-item.template.d.ts +4 -0
  72. package/lib/text/index.d.ts +2 -0
  73. package/lib/text/text.d.ts +10 -0
  74. package/lib/text/text.template.d.ts +4 -0
  75. package/lib/text-anchor/index.d.ts +2 -0
  76. package/lib/text-anchor/text-anchor.d.ts +7 -0
  77. package/lib/text-anchor/text-anchor.template.d.ts +4 -0
  78. package/lib/tooltip/index.d.ts +3 -0
  79. package/lib/tooltip/tooltip.d.ts +8 -0
  80. package/lib/tooltip/tooltip.template.d.ts +4 -0
  81. package/package.json +13 -317
  82. package/popup/index.js +2066 -0
  83. package/progress/index.js +99 -0
  84. package/progress-ring/index.js +76 -0
  85. package/shared/_has.js +58 -0
  86. package/shared/affix.js +29 -0
  87. package/shared/anchor.js +78 -0
  88. package/shared/apply-mixins.js +22 -0
  89. package/shared/aria-global.js +156 -0
  90. package/shared/base-progress.js +65 -0
  91. package/shared/breadcrumb-item.js +25 -0
  92. package/shared/class-names.js +15 -0
  93. package/shared/design-system/index.d.ts +3 -0
  94. package/shared/es.object.assign.js +69 -0
  95. package/shared/icon.js +1388 -0
  96. package/shared/index.js +4998 -0
  97. package/shared/index2.js +21 -0
  98. package/shared/object-set-prototype-of.js +1009 -0
  99. package/shared/patterns/affix.d.ts +9 -0
  100. package/shared/patterns/index.d.ts +1 -0
  101. package/shared/slotted.js +119 -0
  102. package/shared/style-inject.es.js +28 -0
  103. package/shared/text-anchor.js +12 -0
  104. package/shared/text-anchor.template.js +54 -0
  105. package/shared/web.dom-collections.iterator.js +473 -0
  106. package/shared/when.js +15 -0
  107. package/side-drawer/index.js +82 -0
  108. package/sidenav-item/index.js +39 -0
  109. package/styles/fonts/spezia.css +23 -0
  110. package/styles/themes/dark.css +205 -0
  111. package/styles/themes/light.css +205 -0
  112. package/text/index.js +46 -0
  113. package/text-anchor/index.js +20 -0
  114. package/tooltip/index.js +63 -0
@@ -0,0 +1,69 @@
1
+ import { d as descriptors, C as functionUncurryThis, x as functionCall, g as fails$1, l as toObject$1, Q as indexedObject, R as objectGetOwnPropertySymbols, S as objectPropertyIsEnumerable, _ as _export } from './object-set-prototype-of.js';
2
+ import { o as objectKeys$1 } from './web.dom-collections.iterator.js';
3
+
4
+ var DESCRIPTORS = descriptors;
5
+ var uncurryThis = functionUncurryThis;
6
+ var call = functionCall;
7
+ var fails = fails$1;
8
+ var objectKeys = objectKeys$1;
9
+ var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
10
+ var propertyIsEnumerableModule = objectPropertyIsEnumerable;
11
+ var toObject = toObject$1;
12
+ var IndexedObject = indexedObject;
13
+
14
+ // eslint-disable-next-line es/no-object-assign -- safe
15
+ var $assign = Object.assign;
16
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
17
+ var defineProperty = Object.defineProperty;
18
+ var concat = uncurryThis([].concat);
19
+
20
+ // `Object.assign` method
21
+ // https://tc39.es/ecma262/#sec-object.assign
22
+ var objectAssign = !$assign || fails(function () {
23
+ // should have correct order of operations (Edge bug)
24
+ if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
25
+ enumerable: true,
26
+ get: function () {
27
+ defineProperty(this, 'b', {
28
+ value: 3,
29
+ enumerable: false
30
+ });
31
+ }
32
+ }), { b: 2 })).b !== 1) return true;
33
+ // should work with symbols and should have deterministic property order (V8 bug)
34
+ var A = {};
35
+ var B = {};
36
+ // eslint-disable-next-line es/no-symbol -- safe
37
+ var symbol = Symbol();
38
+ var alphabet = 'abcdefghijklmnopqrst';
39
+ A[symbol] = 7;
40
+ alphabet.split('').forEach(function (chr) { B[chr] = chr; });
41
+ return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;
42
+ }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
43
+ var T = toObject(target);
44
+ var argumentsLength = arguments.length;
45
+ var index = 1;
46
+ var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
47
+ var propertyIsEnumerable = propertyIsEnumerableModule.f;
48
+ while (argumentsLength > index) {
49
+ var S = IndexedObject(arguments[index++]);
50
+ var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
51
+ var length = keys.length;
52
+ var j = 0;
53
+ var key;
54
+ while (length > j) {
55
+ key = keys[j++];
56
+ if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
57
+ }
58
+ } return T;
59
+ } : $assign;
60
+
61
+ var $ = _export;
62
+ var assign = objectAssign;
63
+
64
+ // `Object.assign` method
65
+ // https://tc39.es/ecma262/#sec-object.assign
66
+ // eslint-disable-next-line es/no-object-assign -- required for testing
67
+ $({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
68
+ assign: assign
69
+ });