@vonage/vivid 3.0.0-next.5 → 3.0.0-next.50

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 (145) hide show
  1. package/README.md +133 -4
  2. package/accordion/index.js +2 -2
  3. package/accordion-item/index.js +26 -18
  4. package/action-group/index.js +49 -0
  5. package/badge/index.js +14 -18
  6. package/banner/index.js +18 -81
  7. package/breadcrumb/index.js +20 -16
  8. package/breadcrumb-item/index.js +14 -9
  9. package/button/index.js +28 -659
  10. package/calendar/index.js +37 -8
  11. package/calendar-event/index.js +117 -0
  12. package/card/index.js +134 -0
  13. package/checkbox/index.js +173 -0
  14. package/dialog/index.js +282 -0
  15. package/divider/index.js +88 -0
  16. package/elevation/index.js +4 -31
  17. package/fab/index.js +102 -0
  18. package/focus/index.js +20 -3
  19. package/header/index.js +68 -0
  20. package/icon/index.js +9 -3
  21. package/index.js +45 -20
  22. package/layout/index.js +4 -4
  23. package/lib/accordion-item/accordion-item.d.ts +2 -2
  24. package/lib/accordion-item/index.d.ts +2 -1
  25. package/lib/action-group/action-group.d.ts +10 -0
  26. package/lib/{sidenav-item/sidenav-item.template.d.ts → action-group/action-group.template.d.ts} +2 -2
  27. package/lib/{sidenav-item → action-group}/index.d.ts +1 -2
  28. package/lib/badge/badge.d.ts +6 -6
  29. package/lib/badge/index.d.ts +1 -1
  30. package/lib/banner/banner.template.d.ts +0 -2
  31. package/lib/banner/index.d.ts +1 -0
  32. package/lib/breadcrumb/breadcrumb.template.d.ts +4 -0
  33. package/lib/breadcrumb-item/breadcrumb-item.d.ts +1 -1
  34. package/lib/breadcrumb-item/index.d.ts +1 -0
  35. package/lib/button/button.d.ts +6 -5
  36. package/lib/button/index.d.ts +2 -19
  37. package/lib/calendar/calendar.d.ts +3 -1
  38. package/lib/calendar/index.d.ts +0 -1
  39. package/lib/calendar-event/calendar-event.d.ts +14 -0
  40. package/lib/calendar-event/calendar-event.template.d.ts +4 -0
  41. package/lib/calendar-event/index.d.ts +2 -0
  42. package/lib/card/card.d.ts +10 -0
  43. package/lib/{text/text.template.d.ts → card/card.template.d.ts} +2 -2
  44. package/lib/card/index.d.ts +4 -0
  45. package/lib/checkbox/checkbox.d.ts +5 -0
  46. package/lib/checkbox/checkbox.template.d.ts +4 -0
  47. package/lib/checkbox/index.d.ts +4 -0
  48. package/lib/components.d.ts +22 -10
  49. package/lib/dialog/dialog.d.ts +20 -0
  50. package/lib/dialog/dialog.template.d.ts +4 -0
  51. package/lib/dialog/index.d.ts +5 -0
  52. package/lib/divider/divider.d.ts +3 -0
  53. package/lib/divider/divider.template.d.ts +4 -0
  54. package/lib/divider/index.d.ts +2 -0
  55. package/lib/elevation/elevation.d.ts +1 -0
  56. package/lib/elevation/index.d.ts +1 -1
  57. package/lib/enums.d.ts +11 -5
  58. package/lib/fab/fab.d.ts +13 -0
  59. package/lib/fab/fab.template.d.ts +4 -0
  60. package/lib/fab/index.d.ts +4 -0
  61. package/lib/focus/index.d.ts +1 -1
  62. package/lib/header/header.d.ts +5 -0
  63. package/lib/header/header.template.d.ts +4 -0
  64. package/lib/header/index.d.ts +3 -0
  65. package/lib/icon/icon.d.ts +4 -3
  66. package/lib/layout/index.d.ts +1 -1
  67. package/lib/layout/layout.d.ts +3 -3
  68. package/lib/menu/index.d.ts +11 -0
  69. package/lib/menu/menu.d.ts +7 -0
  70. package/lib/menu/menu.template.d.ts +3 -0
  71. package/lib/nav/index.d.ts +2 -0
  72. package/lib/nav/nav.d.ts +3 -0
  73. package/lib/nav/nav.template.d.ts +4 -0
  74. package/lib/nav-disclosure/index.d.ts +4 -0
  75. package/lib/nav-disclosure/nav-disclosure.d.ts +10 -0
  76. package/lib/nav-disclosure/nav-disclosure.template.d.ts +4 -0
  77. package/lib/nav-item/index.d.ts +4 -0
  78. package/lib/{sidenav-item/sidenav-item.d.ts → nav-item/nav-item.d.ts} +2 -2
  79. package/lib/nav-item/nav-item.template.d.ts +4 -0
  80. package/lib/{text → note}/index.d.ts +1 -1
  81. package/lib/note/note.d.ts +10 -0
  82. package/lib/note/note.template.d.ts +5 -0
  83. package/lib/popup/index.d.ts +1 -1
  84. package/lib/popup/popup.d.ts +3 -15
  85. package/lib/progress/progress.d.ts +1 -1
  86. package/lib/progress-ring/progress-ring.d.ts +2 -1
  87. package/lib/side-drawer/index.d.ts +1 -1
  88. package/lib/side-drawer/side-drawer.d.ts +2 -7
  89. package/lib/side-drawer/side-drawer.template.d.ts +2 -2
  90. package/lib/text-anchor/text-anchor.d.ts +1 -1
  91. package/lib/text-field/index.d.ts +4 -0
  92. package/lib/text-field/text-field.d.ts +23 -0
  93. package/lib/text-field/text-field.template.d.ts +5 -0
  94. package/lib/tooltip/tooltip.d.ts +2 -4
  95. package/menu/index.js +661 -0
  96. package/nav/index.js +17 -0
  97. package/nav-disclosure/index.js +90 -0
  98. package/nav-item/index.js +43 -0
  99. package/note/index.js +68 -0
  100. package/package.json +48 -8
  101. package/popup/index.js +20 -2082
  102. package/progress/index.js +33 -24
  103. package/progress-ring/index.js +9 -3
  104. package/shared/anchor.js +8 -1
  105. package/shared/aria-global.js +3 -40
  106. package/shared/base-progress.js +5 -0
  107. package/shared/button.js +195 -0
  108. package/shared/calendar-event.js +26 -0
  109. package/shared/dialog-polyfill.esm.js +858 -0
  110. package/shared/enums.js +79 -0
  111. package/shared/es.object.assign.js +7 -6
  112. package/shared/export.js +972 -0
  113. package/shared/focus.js +5 -0
  114. package/shared/focus2.js +11 -0
  115. package/shared/form-associated.js +557 -0
  116. package/shared/icon.js +504 -508
  117. package/shared/index.js +79 -56
  118. package/shared/index2.js +26 -10
  119. package/shared/index3.js +2109 -0
  120. package/shared/iterators.js +61 -0
  121. package/shared/object-keys.js +13 -0
  122. package/shared/patterns/focus.d.ts +3 -0
  123. package/shared/patterns/index.d.ts +1 -0
  124. package/shared/ref.js +41 -0
  125. package/shared/text-anchor.js +2 -11
  126. package/shared/text-anchor.template.js +5 -2
  127. package/shared/to-string.js +51 -0
  128. package/shared/web.dom-collections.iterator.js +61 -1074
  129. package/side-drawer/index.js +33 -51
  130. package/styles/fonts/SpeziaCompleteVariableItalicWeb.woff +0 -0
  131. package/styles/fonts/SpeziaCompleteVariableItalicWeb.woff2 +0 -0
  132. package/styles/fonts/SpeziaCompleteVariableUprightWeb.woff +0 -0
  133. package/styles/fonts/SpeziaCompleteVariableUprightWeb.woff2 +0 -0
  134. package/styles/fonts/SpeziaMonoCompleteVariableWeb.woff +0 -0
  135. package/styles/fonts/SpeziaMonoCompleteVariableWeb.woff2 +0 -0
  136. package/styles/fonts/spezia.css +11 -11
  137. package/styles/themes/dark.css +12 -0
  138. package/styles/themes/light.css +12 -0
  139. package/styles/typography/desktop.css +72 -0
  140. package/text-anchor/index.js +8 -1
  141. package/text-field/index.js +412 -0
  142. package/tooltip/index.js +19 -21
  143. package/lib/text/text.d.ts +0 -10
  144. package/sidenav-item/index.js +0 -38
  145. package/text/index.js +0 -45
@@ -0,0 +1,79 @@
1
+ var Connotation;
2
+
3
+ (function (Connotation) {
4
+ Connotation["Accent"] = "accent";
5
+ Connotation["CTA"] = "cta";
6
+ Connotation["Success"] = "success";
7
+ Connotation["Alert"] = "alert";
8
+ Connotation["Warning"] = "warning";
9
+ Connotation["Info"] = "info";
10
+ Connotation["Announcement"] = "announcement";
11
+ })(Connotation || (Connotation = {}));
12
+
13
+ var ConnotationDecorative;
14
+
15
+ (function (ConnotationDecorative) {
16
+ ConnotationDecorative["Pacific"] = "pacific";
17
+ })(ConnotationDecorative || (ConnotationDecorative = {}));
18
+
19
+ var Shape;
20
+
21
+ (function (Shape) {
22
+ Shape["Rounded"] = "rounded";
23
+ Shape["Pill"] = "pill";
24
+ Shape["Circled"] = "circled";
25
+ Shape["Sharp"] = "sharp";
26
+ })(Shape || (Shape = {}));
27
+
28
+ var Appearance;
29
+
30
+ (function (Appearance) {
31
+ Appearance["Filled"] = "filled";
32
+ Appearance["Outlined"] = "outlined";
33
+ Appearance["Duotone"] = "duotone";
34
+ Appearance["Fieldset"] = "fieldset";
35
+ Appearance["Subtle"] = "subtle";
36
+ Appearance["Ghost"] = "ghost";
37
+ })(Appearance || (Appearance = {}));
38
+
39
+ var Density;
40
+
41
+ (function (Density) {
42
+ Density["Condensed"] = "condensed";
43
+ Density["Normal"] = "normal";
44
+ Density["Extended"] = "extended";
45
+ })(Density || (Density = {}));
46
+
47
+ var Size;
48
+
49
+ (function (Size) {
50
+ Size["Small"] = "small";
51
+ Size["Medium"] = "medium";
52
+ Size["Large"] = "large";
53
+ })(Size || (Size = {}));
54
+
55
+ var Position;
56
+
57
+ (function (Position) {
58
+ Position["Top"] = "TOP";
59
+ Position["Bottom"] = "BOTTOM";
60
+ Position["Start"] = "START";
61
+ Position["Center"] = "CENTER";
62
+ Position["End"] = "END";
63
+ })(Position || (Position = {}));
64
+
65
+ var Role;
66
+
67
+ (function (Role) {
68
+ Role["Status"] = "status";
69
+ Role["Alert"] = "alert";
70
+ })(Role || (Role = {}));
71
+
72
+ var AriaLive;
73
+
74
+ (function (AriaLive) {
75
+ AriaLive["Polite"] = "polite";
76
+ AriaLive["Assertive"] = "assertive";
77
+ })(AriaLive || (AriaLive = {}));
78
+
79
+ export { Connotation as C };
@@ -1,4 +1,5 @@
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';
1
+ import { d as descriptors, f as functionUncurryThis, v as functionCall, e as fails$1, I as toObject$1, M as indexedObject, N as objectGetOwnPropertySymbols, O as objectPropertyIsEnumerable, _ as _export } from './export.js';
2
+ import { o as objectKeys$1 } from './object-keys.js';
2
3
 
3
4
  var DESCRIPTORS = descriptors;
4
5
  var uncurryThis = functionUncurryThis;
@@ -10,9 +11,9 @@ var propertyIsEnumerableModule = objectPropertyIsEnumerable;
10
11
  var toObject = toObject$1;
11
12
  var IndexedObject = indexedObject;
12
13
 
13
- // eslint-disable-next-line es/no-object-assign -- safe
14
+ // eslint-disable-next-line es-x/no-object-assign -- safe
14
15
  var $assign = Object.assign;
15
- // eslint-disable-next-line es/no-object-defineproperty -- required for testing
16
+ // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
16
17
  var defineProperty = Object.defineProperty;
17
18
  var concat = uncurryThis([].concat);
18
19
 
@@ -32,7 +33,7 @@ var objectAssign = !$assign || fails(function () {
32
33
  // should work with symbols and should have deterministic property order (V8 bug)
33
34
  var A = {};
34
35
  var B = {};
35
- // eslint-disable-next-line es/no-symbol -- safe
36
+ // eslint-disable-next-line es-x/no-symbol -- safe
36
37
  var symbol = Symbol();
37
38
  var alphabet = 'abcdefghijklmnopqrst';
38
39
  A[symbol] = 7;
@@ -62,7 +63,7 @@ var assign = objectAssign;
62
63
 
63
64
  // `Object.assign` method
64
65
  // 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 }, {
66
+ // eslint-disable-next-line es-x/no-object-assign -- required for testing
67
+ $({ target: 'Object', stat: true, arity: 2, forced: Object.assign !== assign }, {
67
68
  assign: assign
68
69
  });