@vonage/vivid 2.29.0 → 3.0.0-next.10

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 (113) hide show
  1. package/README.md +7 -0
  2. package/accordion/index.js +61 -0
  3. package/accordion-item/index.js +125 -0
  4. package/badge/index.js +64 -0
  5. package/banner/index.js +213 -0
  6. package/breadcrumb/index.js +100 -0
  7. package/breadcrumb-item/index.js +55 -0
  8. package/button/index.js +761 -0
  9. package/calendar/index.js +1521 -0
  10. package/elevation/index.js +31 -0
  11. package/focus/index.js +3 -0
  12. package/icon/index.js +34 -0
  13. package/index.d.ts +2 -0
  14. package/index.js +32 -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 -315
  82. package/popup/index.js +2065 -0
  83. package/progress/index.js +98 -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 +68 -0
  95. package/shared/icon.js +1393 -0
  96. package/shared/index.js +4998 -0
  97. package/shared/index2.js +21 -0
  98. package/shared/patterns/affix.d.ts +9 -0
  99. package/shared/patterns/index.d.ts +1 -0
  100. package/shared/slotted.js +119 -0
  101. package/shared/style-inject.es.js +28 -0
  102. package/shared/text-anchor.js +21 -0
  103. package/shared/text-anchor.template.js +54 -0
  104. package/shared/web.dom-collections.iterator.js +1479 -0
  105. package/shared/when.js +15 -0
  106. package/side-drawer/index.js +81 -0
  107. package/sidenav-item/index.js +38 -0
  108. package/styles/fonts/spezia.css +23 -0
  109. package/styles/themes/dark.css +205 -0
  110. package/styles/themes/light.css +205 -0
  111. package/text/index.js +45 -0
  112. package/text-anchor/index.js +19 -0
  113. package/tooltip/index.js +65 -0
@@ -0,0 +1,68 @@
1
+ import { d as descriptors, f as functionUncurryThis, l as functionCall, p as fails$1, H as objectKeys$1, I as toObject$1, J as indexedObject, K as objectGetOwnPropertySymbols, L as objectPropertyIsEnumerable, _ as _export } from './web.dom-collections.iterator.js';
2
+
3
+ var DESCRIPTORS = descriptors;
4
+ var uncurryThis = functionUncurryThis;
5
+ var call = functionCall;
6
+ var fails = fails$1;
7
+ var objectKeys = objectKeys$1;
8
+ var getOwnPropertySymbolsModule = objectGetOwnPropertySymbols;
9
+ var propertyIsEnumerableModule = objectPropertyIsEnumerable;
10
+ var toObject = toObject$1;
11
+ var IndexedObject = indexedObject;
12
+
13
+ // eslint-disable-next-line es/no-object-assign -- safe
14
+ var $assign = Object.assign;
15
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
16
+ var defineProperty = Object.defineProperty;
17
+ var concat = uncurryThis([].concat);
18
+
19
+ // `Object.assign` method
20
+ // https://tc39.es/ecma262/#sec-object.assign
21
+ var objectAssign = !$assign || fails(function () {
22
+ // should have correct order of operations (Edge bug)
23
+ if (DESCRIPTORS && $assign({ b: 1 }, $assign(defineProperty({}, 'a', {
24
+ enumerable: true,
25
+ get: function () {
26
+ defineProperty(this, 'b', {
27
+ value: 3,
28
+ enumerable: false
29
+ });
30
+ }
31
+ }), { b: 2 })).b !== 1) return true;
32
+ // should work with symbols and should have deterministic property order (V8 bug)
33
+ var A = {};
34
+ var B = {};
35
+ // eslint-disable-next-line es/no-symbol -- safe
36
+ var symbol = Symbol();
37
+ var alphabet = 'abcdefghijklmnopqrst';
38
+ A[symbol] = 7;
39
+ alphabet.split('').forEach(function (chr) { B[chr] = chr; });
40
+ return $assign({}, A)[symbol] != 7 || objectKeys($assign({}, B)).join('') != alphabet;
41
+ }) ? function assign(target, source) { // eslint-disable-line no-unused-vars -- required for `.length`
42
+ var T = toObject(target);
43
+ var argumentsLength = arguments.length;
44
+ var index = 1;
45
+ var getOwnPropertySymbols = getOwnPropertySymbolsModule.f;
46
+ var propertyIsEnumerable = propertyIsEnumerableModule.f;
47
+ while (argumentsLength > index) {
48
+ var S = IndexedObject(arguments[index++]);
49
+ var keys = getOwnPropertySymbols ? concat(objectKeys(S), getOwnPropertySymbols(S)) : objectKeys(S);
50
+ var length = keys.length;
51
+ var j = 0;
52
+ var key;
53
+ while (length > j) {
54
+ key = keys[j++];
55
+ if (!DESCRIPTORS || call(propertyIsEnumerable, S, key)) T[key] = S[key];
56
+ }
57
+ } return T;
58
+ } : $assign;
59
+
60
+ var $ = _export;
61
+ var assign = objectAssign;
62
+
63
+ // `Object.assign` method
64
+ // https://tc39.es/ecma262/#sec-object.assign
65
+ // eslint-disable-next-line es/no-object-assign -- required for testing
66
+ $({ target: 'Object', stat: true, forced: Object.assign !== assign }, {
67
+ assign: assign
68
+ });