@vonage/vivid 3.0.0-next.82 → 3.0.0-next.84

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 (80) 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/divider/index.js +1 -0
  15. package/fab/index.js +2 -8
  16. package/focus/index.js +2 -2
  17. package/header/index.js +2 -7
  18. package/icon/index.js +2 -5
  19. package/index.js +5 -1
  20. package/layout/index.js +1 -9
  21. package/lib/badge/badge.d.ts +1 -3
  22. package/lib/components.d.ts +2 -0
  23. package/lib/listbox-option/index.d.ts +4 -0
  24. package/lib/listbox-option/listbox-option.d.ts +7 -0
  25. package/lib/listbox-option/listbox-option.template.d.ts +4 -0
  26. package/lib/radio-group/index.d.ts +10 -0
  27. package/lib/radio-group/radio-group.d.ts +4 -0
  28. package/lib/radio-group/radio-group.template.d.ts +4 -0
  29. package/listbox-option/index.js +248 -0
  30. package/menu/index.js +2 -7
  31. package/menu-item/index.js +1 -0
  32. package/nav/index.js +1 -1
  33. package/nav-disclosure/index.js +4 -11
  34. package/nav-item/index.js +2 -2
  35. package/note/index.js +4 -12
  36. package/number-field/index.js +25 -21
  37. package/package.json +13 -9
  38. package/popup/index.js +0 -1
  39. package/progress/index.js +5 -13
  40. package/progress-ring/index.js +4 -8
  41. package/radio/index.js +7 -131
  42. package/radio-group/index.js +435 -0
  43. package/shared/affix.js +1 -6
  44. package/shared/apply-mixins.js +5 -4
  45. package/shared/aria.js +9 -0
  46. package/shared/calendar-event.js +0 -7
  47. package/shared/direction.js +20 -0
  48. package/shared/enums.js +0 -17
  49. package/shared/es.object.assign.js +4 -4
  50. package/shared/export.js +79 -57
  51. package/shared/focus2.js +1 -1
  52. package/shared/form-associated.js +1 -1
  53. package/shared/form-elements.js +5 -27
  54. package/shared/icon.js +8 -18
  55. package/shared/index.js +38 -25
  56. package/shared/index2.js +2 -13
  57. package/shared/index3.js +1 -5
  58. package/shared/index4.js +3 -12
  59. package/shared/index5.js +6 -581
  60. package/shared/index6.js +7 -29
  61. package/shared/iterators.js +3 -3
  62. package/shared/key-codes.js +7 -1
  63. package/shared/object-keys.js +2 -2
  64. package/shared/patterns/form-elements/form-elements.d.ts +1 -1
  65. package/shared/radio.js +127 -0
  66. package/shared/ref.js +1 -1
  67. package/shared/slotted.js +1 -1
  68. package/shared/text-anchor.js +0 -2
  69. package/shared/text-anchor.template.js +1 -3
  70. package/shared/web.dom-collections.iterator.js +6 -8
  71. package/side-drawer/index.js +3 -16
  72. package/styles/core/all.css +1 -1
  73. package/styles/core/theme.css +1 -1
  74. package/styles/core/typography.css +1 -1
  75. package/styles/tokens/theme-dark.css +29 -23
  76. package/styles/tokens/theme-light.css +29 -23
  77. package/text-area/index.js +3 -9
  78. package/text-field/index.js +4 -14
  79. package/tooltip/index.js +2 -10
  80. package/shared/regexp-flags.js +0 -21
package/shared/export.js CHANGED
@@ -6,7 +6,7 @@ var check = function (it) {
6
6
 
7
7
  // https://github.com/zloirock/core-js/issues/86#issuecomment-115759028
8
8
  var global$a =
9
- // eslint-disable-next-line es-x/no-global-this -- safe
9
+ // eslint-disable-next-line es/no-global-this -- safe
10
10
  check(typeof globalThis == 'object' && globalThis) ||
11
11
  check(typeof window == 'object' && window) ||
12
12
  // eslint-disable-next-line no-restricted-globals -- safe
@@ -29,14 +29,14 @@ var fails$7 = fails$8;
29
29
 
30
30
  // Detect IE8's incomplete defineProperty implementation
31
31
  var descriptors = !fails$7(function () {
32
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
32
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
33
33
  return Object.defineProperty({}, 1, { get: function () { return 7; } })[1] != 7;
34
34
  });
35
35
 
36
36
  var fails$6 = fails$8;
37
37
 
38
38
  var functionBindNative = !fails$6(function () {
39
- // eslint-disable-next-line es-x/no-function-prototype-bind -- safe
39
+ // eslint-disable-next-line es/no-function-prototype-bind -- safe
40
40
  var test = (function () { /* empty */ }).bind();
41
41
  // eslint-disable-next-line no-prototype-builtins -- safe
42
42
  return typeof test != 'function' || test.hasOwnProperty('prototype');
@@ -53,7 +53,7 @@ var functionCall = NATIVE_BIND$1 ? call$4.bind(call$4) : function () {
53
53
  var objectPropertyIsEnumerable = {};
54
54
 
55
55
  var $propertyIsEnumerable = {}.propertyIsEnumerable;
56
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
56
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
57
57
  var getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
58
58
 
59
59
  // Nashorn ~ JDK8 bug
@@ -78,33 +78,40 @@ var createPropertyDescriptor$2 = function (bitmap, value) {
78
78
  var NATIVE_BIND = functionBindNative;
79
79
 
80
80
  var FunctionPrototype$1 = Function.prototype;
81
- var bind = FunctionPrototype$1.bind;
82
81
  var call$3 = FunctionPrototype$1.call;
83
- var uncurryThis$9 = NATIVE_BIND && bind.bind(call$3, call$3);
82
+ var uncurryThisWithBind = NATIVE_BIND && FunctionPrototype$1.bind.bind(call$3, call$3);
84
83
 
85
- var functionUncurryThis = NATIVE_BIND ? function (fn) {
86
- return fn && uncurryThis$9(fn);
87
- } : function (fn) {
88
- return fn && function () {
84
+ var functionUncurryThisRaw = NATIVE_BIND ? uncurryThisWithBind : function (fn) {
85
+ return function () {
89
86
  return call$3.apply(fn, arguments);
90
87
  };
91
88
  };
92
89
 
93
- var uncurryThis$8 = functionUncurryThis;
90
+ var uncurryThisRaw$1 = functionUncurryThisRaw;
94
91
 
95
- var toString$1 = uncurryThis$8({}.toString);
96
- var stringSlice = uncurryThis$8(''.slice);
92
+ var toString$1 = uncurryThisRaw$1({}.toString);
93
+ var stringSlice = uncurryThisRaw$1(''.slice);
97
94
 
98
- var classofRaw = function (it) {
95
+ var classofRaw$1 = function (it) {
99
96
  return stringSlice(toString$1(it), 8, -1);
100
97
  };
101
98
 
102
- var uncurryThis$7 = functionUncurryThis;
99
+ var classofRaw = classofRaw$1;
100
+ var uncurryThisRaw = functionUncurryThisRaw;
101
+
102
+ var functionUncurryThis = function (fn) {
103
+ // Nashorn bug:
104
+ // https://github.com/zloirock/core-js/issues/1128
105
+ // https://github.com/zloirock/core-js/issues/1130
106
+ if (classofRaw(fn) === 'Function') return uncurryThisRaw(fn);
107
+ };
108
+
109
+ var uncurryThis$6 = functionUncurryThis;
103
110
  var fails$5 = fails$8;
104
- var classof = classofRaw;
111
+ var classof = classofRaw$1;
105
112
 
106
113
  var $Object$2 = Object;
107
- var split = uncurryThis$7(''.split);
114
+ var split = uncurryThis$6(''.split);
108
115
 
109
116
  // fallback for non-array-like ES3 and non-enumerable old V8 strings
110
117
  var indexedObject = fails$5(function () {
@@ -140,20 +147,34 @@ var toIndexedObject$3 = function (it) {
140
147
  return IndexedObject(requireObjectCoercible$1(it));
141
148
  };
142
149
 
150
+ var documentAll$2 = typeof document == 'object' && document.all;
151
+
152
+ // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
153
+ var IS_HTMLDDA = typeof documentAll$2 == 'undefined' && documentAll$2 !== undefined;
154
+
155
+ var documentAll_1 = {
156
+ all: documentAll$2,
157
+ IS_HTMLDDA: IS_HTMLDDA
158
+ };
159
+
160
+ var $documentAll$1 = documentAll_1;
161
+
162
+ var documentAll$1 = $documentAll$1.all;
163
+
143
164
  // `IsCallable` abstract operation
144
165
  // https://tc39.es/ecma262/#sec-iscallable
145
- var isCallable$a = function (argument) {
166
+ var isCallable$a = $documentAll$1.IS_HTMLDDA ? function (argument) {
167
+ return typeof argument == 'function' || argument === documentAll$1;
168
+ } : function (argument) {
146
169
  return typeof argument == 'function';
147
170
  };
148
171
 
149
172
  var isCallable$9 = isCallable$a;
173
+ var $documentAll = documentAll_1;
150
174
 
151
- var documentAll = typeof document == 'object' && document.all;
175
+ var documentAll = $documentAll.all;
152
176
 
153
- // https://tc39.es/ecma262/#sec-IsHTMLDDA-internal-slot
154
- var SPECIAL_DOCUMENT_ALL = typeof documentAll == 'undefined' && documentAll !== undefined;
155
-
156
- var isObject$5 = SPECIAL_DOCUMENT_ALL ? function (it) {
177
+ var isObject$5 = $documentAll.IS_HTMLDDA ? function (it) {
157
178
  return typeof it == 'object' ? it !== null : isCallable$9(it) || it === documentAll;
158
179
  } : function (it) {
159
180
  return typeof it == 'object' ? it !== null : isCallable$9(it);
@@ -170,9 +191,9 @@ var getBuiltIn$3 = function (namespace, method) {
170
191
  return arguments.length < 2 ? aFunction(global$9[namespace]) : global$9[namespace] && global$9[namespace][method];
171
192
  };
172
193
 
173
- var uncurryThis$6 = functionUncurryThis;
194
+ var uncurryThis$5 = functionUncurryThis;
174
195
 
175
- var objectIsPrototypeOf = uncurryThis$6({}.isPrototypeOf);
196
+ var objectIsPrototypeOf = uncurryThis$5({}.isPrototypeOf);
176
197
 
177
198
  var getBuiltIn$2 = getBuiltIn$3;
178
199
 
@@ -206,12 +227,12 @@ if (!version && userAgent) {
206
227
 
207
228
  var engineV8Version = version;
208
229
 
209
- /* eslint-disable es-x/no-symbol -- required for testing */
230
+ /* eslint-disable es/no-symbol -- required for testing */
210
231
 
211
232
  var V8_VERSION = engineV8Version;
212
233
  var fails$4 = fails$8;
213
234
 
214
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- required for testing
235
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- required for testing
215
236
  var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$4(function () {
216
237
  var symbol = Symbol();
217
238
  // Chrome 38 Symbol has incorrect toString conversion
@@ -221,7 +242,7 @@ var symbolConstructorDetection = !!Object.getOwnPropertySymbols && !fails$4(func
221
242
  !Symbol.sham && V8_VERSION && V8_VERSION < 41;
222
243
  });
223
244
 
224
- /* eslint-disable es-x/no-symbol -- required for testing */
245
+ /* eslint-disable es/no-symbol -- required for testing */
225
246
 
226
247
  var NATIVE_SYMBOL$1 = symbolConstructorDetection;
227
248
 
@@ -294,7 +315,7 @@ var shared$3 = {exports: {}};
294
315
 
295
316
  var global$7 = global$a;
296
317
 
297
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
318
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
298
319
  var defineProperty$1 = Object.defineProperty;
299
320
 
300
321
  var defineGlobalProperty$3 = function (key, value) {
@@ -318,10 +339,10 @@ var store$2 = sharedStore;
318
339
  (shared$3.exports = function (key, value) {
319
340
  return store$2[key] || (store$2[key] = value !== undefined ? value : {});
320
341
  })('versions', []).push({
321
- version: '3.25.1',
342
+ version: '3.26.0',
322
343
  mode: 'global',
323
344
  copyright: '© 2014-2022 Denis Pushkarev (zloirock.ru)',
324
- license: 'https://github.com/zloirock/core-js/blob/v3.25.1/LICENSE',
345
+ license: 'https://github.com/zloirock/core-js/blob/v3.26.0/LICENSE',
325
346
  source: 'https://github.com/zloirock/core-js'
326
347
  });
327
348
 
@@ -335,23 +356,23 @@ var toObject$1 = function (argument) {
335
356
  return $Object(requireObjectCoercible(argument));
336
357
  };
337
358
 
338
- var uncurryThis$5 = functionUncurryThis;
359
+ var uncurryThis$4 = functionUncurryThis;
339
360
  var toObject = toObject$1;
340
361
 
341
- var hasOwnProperty = uncurryThis$5({}.hasOwnProperty);
362
+ var hasOwnProperty = uncurryThis$4({}.hasOwnProperty);
342
363
 
343
364
  // `HasOwnProperty` abstract operation
344
365
  // https://tc39.es/ecma262/#sec-hasownproperty
345
- // eslint-disable-next-line es-x/no-object-hasown -- safe
366
+ // eslint-disable-next-line es/no-object-hasown -- safe
346
367
  var hasOwnProperty_1 = Object.hasOwn || function hasOwn(it, key) {
347
368
  return hasOwnProperty(toObject(it), key);
348
369
  };
349
370
 
350
- var uncurryThis$4 = functionUncurryThis;
371
+ var uncurryThis$3 = functionUncurryThis;
351
372
 
352
373
  var id = 0;
353
374
  var postfix = Math.random();
354
- var toString = uncurryThis$4(1.0.toString);
375
+ var toString = uncurryThis$3(1.0.toString);
355
376
 
356
377
  var uid$2 = function (key) {
357
378
  return 'Symbol(' + (key === undefined ? '' : key) + ')_' + toString(++id + postfix, 36);
@@ -435,7 +456,7 @@ var createElement = documentCreateElement;
435
456
 
436
457
  // Thanks to IE8 for its funny defineProperty
437
458
  var ie8DomDefine = !DESCRIPTORS$6 && !fails$3(function () {
438
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
459
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
439
460
  return Object.defineProperty(createElement('div'), 'a', {
440
461
  get: function () { return 7; }
441
462
  }).a != 7;
@@ -450,7 +471,7 @@ var toPropertyKey$1 = toPropertyKey$2;
450
471
  var hasOwn$5 = hasOwnProperty_1;
451
472
  var IE8_DOM_DEFINE$1 = ie8DomDefine;
452
473
 
453
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
474
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
454
475
  var $getOwnPropertyDescriptor$1 = Object.getOwnPropertyDescriptor;
455
476
 
456
477
  // `Object.getOwnPropertyDescriptor` method
@@ -472,7 +493,7 @@ var fails$2 = fails$8;
472
493
  // V8 ~ Chrome 36-
473
494
  // https://bugs.chromium.org/p/v8/issues/detail?id=3334
474
495
  var v8PrototypeDefineBug = DESCRIPTORS$4 && fails$2(function () {
475
- // eslint-disable-next-line es-x/no-object-defineproperty -- required for testing
496
+ // eslint-disable-next-line es/no-object-defineproperty -- required for testing
476
497
  return Object.defineProperty(function () { /* empty */ }, 'prototype', {
477
498
  value: 42,
478
499
  writable: false
@@ -497,9 +518,9 @@ var anObject$1 = anObject$2;
497
518
  var toPropertyKey = toPropertyKey$2;
498
519
 
499
520
  var $TypeError = TypeError;
500
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
521
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
501
522
  var $defineProperty = Object.defineProperty;
502
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
523
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
503
524
  var $getOwnPropertyDescriptor = Object.getOwnPropertyDescriptor;
504
525
  var ENUMERABLE = 'enumerable';
505
526
  var CONFIGURABLE$1 = 'configurable';
@@ -551,7 +572,7 @@ var DESCRIPTORS$1 = descriptors;
551
572
  var hasOwn$4 = hasOwnProperty_1;
552
573
 
553
574
  var FunctionPrototype = Function.prototype;
554
- // eslint-disable-next-line es-x/no-object-getownpropertydescriptor -- safe
575
+ // eslint-disable-next-line es/no-object-getownpropertydescriptor -- safe
555
576
  var getDescriptor = DESCRIPTORS$1 && Object.getOwnPropertyDescriptor;
556
577
 
557
578
  var EXISTS = hasOwn$4(FunctionPrototype, 'name');
@@ -565,11 +586,11 @@ var functionName = {
565
586
  CONFIGURABLE: CONFIGURABLE
566
587
  };
567
588
 
568
- var uncurryThis$3 = functionUncurryThis;
589
+ var uncurryThis$2 = functionUncurryThis;
569
590
  var isCallable$4 = isCallable$a;
570
591
  var store$1 = sharedStore;
571
592
 
572
- var functionToString = uncurryThis$3(Function.toString);
593
+ var functionToString = uncurryThis$2(Function.toString);
573
594
 
574
595
  // this helper broken in `core-js@3.4.1-3.4.4`, so we can't use `shared` helper
575
596
  if (!isCallable$4(store$1.inspectSource)) {
@@ -600,7 +621,6 @@ var hiddenKeys$3 = {};
600
621
 
601
622
  var NATIVE_WEAK_MAP = weakMapBasicDetection;
602
623
  var global$2 = global$a;
603
- var uncurryThis$2 = functionUncurryThis;
604
624
  var isObject = isObject$5;
605
625
  var createNonEnumerableProperty$1 = createNonEnumerableProperty$2;
606
626
  var hasOwn$3 = hasOwnProperty_1;
@@ -628,20 +648,22 @@ var getterFor = function (TYPE) {
628
648
 
629
649
  if (NATIVE_WEAK_MAP || shared.state) {
630
650
  var store = shared.state || (shared.state = new WeakMap());
631
- var wmget = uncurryThis$2(store.get);
632
- var wmhas = uncurryThis$2(store.has);
633
- var wmset = uncurryThis$2(store.set);
651
+ /* eslint-disable no-self-assign -- prototype methods protection */
652
+ store.get = store.get;
653
+ store.has = store.has;
654
+ store.set = store.set;
655
+ /* eslint-enable no-self-assign -- prototype methods protection */
634
656
  set = function (it, metadata) {
635
- if (wmhas(store, it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
657
+ if (store.has(it)) throw TypeError$1(OBJECT_ALREADY_INITIALIZED);
636
658
  metadata.facade = it;
637
- wmset(store, it, metadata);
659
+ store.set(it, metadata);
638
660
  return metadata;
639
661
  };
640
662
  get = function (it) {
641
- return wmget(store, it) || {};
663
+ return store.get(it) || {};
642
664
  };
643
665
  has = function (it) {
644
- return wmhas(store, it);
666
+ return store.has(it);
645
667
  };
646
668
  } else {
647
669
  var STATE = sharedKey('state');
@@ -678,7 +700,7 @@ var InternalStateModule = internalState;
678
700
 
679
701
  var enforceInternalState = InternalStateModule.enforce;
680
702
  var getInternalState = InternalStateModule.get;
681
- // eslint-disable-next-line es-x/no-object-defineproperty -- safe
703
+ // eslint-disable-next-line es/no-object-defineproperty -- safe
682
704
  var defineProperty = Object.defineProperty;
683
705
 
684
706
  var CONFIGURABLE_LENGTH = DESCRIPTORS && !fails$1(function () {
@@ -753,7 +775,7 @@ var floor = Math.floor;
753
775
 
754
776
  // `Math.trunc` method
755
777
  // https://tc39.es/ecma262/#sec-math.trunc
756
- // eslint-disable-next-line es-x/no-math-trunc -- safe
778
+ // eslint-disable-next-line es/no-math-trunc -- safe
757
779
  var mathTrunc = Math.trunc || function trunc(x) {
758
780
  var n = +x;
759
781
  return (n > 0 ? floor : ceil)(n);
@@ -872,14 +894,14 @@ var hiddenKeys = enumBugKeys.concat('length', 'prototype');
872
894
 
873
895
  // `Object.getOwnPropertyNames` method
874
896
  // https://tc39.es/ecma262/#sec-object.getownpropertynames
875
- // eslint-disable-next-line es-x/no-object-getownpropertynames -- safe
897
+ // eslint-disable-next-line es/no-object-getownpropertynames -- safe
876
898
  objectGetOwnPropertyNames.f = Object.getOwnPropertyNames || function getOwnPropertyNames(O) {
877
899
  return internalObjectKeys(O, hiddenKeys);
878
900
  };
879
901
 
880
902
  var objectGetOwnPropertySymbols = {};
881
903
 
882
- // eslint-disable-next-line es-x/no-object-getownpropertysymbols -- safe
904
+ // eslint-disable-next-line es/no-object-getownpropertysymbols -- safe
883
905
  objectGetOwnPropertySymbols.f = Object.getOwnPropertySymbols;
884
906
 
885
907
  var getBuiltIn = getBuiltIn$3;
@@ -992,4 +1014,4 @@ var _export = function (options, source) {
992
1014
  }
993
1015
  };
994
1016
 
995
- export { getMethod$1 as A, lengthOfArrayLike$1 as B, requireObjectCoercible$2 as C, functionName as D, v8PrototypeDefineBug as E, toIndexedObject$3 as F, hiddenKeys$3 as G, sharedKey$1 as H, enumBugKeys$1 as I, toObject$1 as J, createPropertyDescriptor$2 as K, createNonEnumerableProperty$2 as L, objectKeysInternal as M, indexedObject as N, objectGetOwnPropertySymbols as O, objectPropertyIsEnumerable as P, copyConstructorProperties$1 as Q, shared$3 as R, toIntegerOrInfinity$2 as S, toPropertyKey$2 as T, toAbsoluteIndex$1 as U, toLength$1 as V, _export as _, getBuiltIn$3 as a, objectIsPrototypeOf as b, classofRaw as c, descriptors as d, fails$8 as e, functionUncurryThis as f, global$a as g, inspectSource$1 as h, isCallable$a as i, anObject$2 as j, isNullOrUndefined$2 as k, functionBindNative as l, aCallable$1 as m, engineUserAgent as n, objectDefineProperty as o, documentCreateElement as p, hasOwnProperty_1 as q, objectGetOwnPropertyDescriptor as r, isForced_1 as s, tryToString$1 as t, engineV8Version as u, defineBuiltIn$1 as v, wellKnownSymbol$1 as w, functionCall as x, isObject$5 as y, internalState as z };
1017
+ export { getMethod$1 as A, lengthOfArrayLike$1 as B, requireObjectCoercible$2 as C, functionName as D, v8PrototypeDefineBug as E, toIndexedObject$3 as F, sharedKey$1 as G, enumBugKeys$1 as H, hiddenKeys$3 as I, toObject$1 as J, createPropertyDescriptor$2 as K, createNonEnumerableProperty$2 as L, objectKeysInternal as M, indexedObject as N, objectGetOwnPropertySymbols as O, objectPropertyIsEnumerable as P, copyConstructorProperties$1 as Q, _export as _, getBuiltIn$3 as a, objectIsPrototypeOf as b, classofRaw$1 as c, descriptors as d, fails$8 as e, functionUncurryThis as f, global$a as g, inspectSource$1 as h, isCallable$a as i, anObject$2 as j, isNullOrUndefined$2 as k, functionBindNative as l, aCallable$1 as m, engineUserAgent as n, objectDefineProperty as o, documentCreateElement as p, hasOwnProperty_1 as q, objectGetOwnPropertyDescriptor as r, isForced_1 as s, tryToString$1 as t, engineV8Version as u, defineBuiltIn$1 as v, wellKnownSymbol$1 as w, functionCall as x, internalState as y, isObject$5 as z };
package/shared/focus2.js CHANGED
@@ -2,7 +2,7 @@ import { F as Focus } from './focus.js';
2
2
  import { h as html } from './index.js';
3
3
 
4
4
  let _ = t => t,
5
- _t;
5
+ _t;
6
6
  const focusTemplateFactory = context => {
7
7
  const focusTag = context.tagFor(Focus);
8
8
  return html(_t || (_t = _`<${0} class="focus-indicator"></${0}>`), focusTag, focusTag);
@@ -1,4 +1,4 @@
1
- import { e as emptyArray, D as DOM, a as attr, o as observable, f as booleanConverter } from './index.js';
1
+ import { a as attr, o as observable, f as booleanConverter, g as emptyArray, D as DOM } from './index.js';
2
2
  import { k as keyEnter } from './key-codes.js';
3
3
 
4
4
  const proxySlotName = "form-associated-proxy";
@@ -1,4 +1,4 @@
1
- import { F as FoundationElement, D as DOM, _ as __decorate, a as attr, n as nullableNumberConverter, o as observable, b as __metadata, v as volatile, h as html, c as __classPrivateFieldGet, i as __classPrivateFieldSet } from './index.js';
1
+ import { F as FoundationElement, D as DOM, _ as __decorate, a as attr, n as nullableNumberConverter, o as observable, b as __metadata, v as volatile, h as html, c as __classPrivateFieldGet, j as __classPrivateFieldSet } from './index.js';
2
2
  import { a as applyMixins } from './apply-mixins.js';
3
3
  import { F as FormAssociated } from './form-associated.js';
4
4
  import { A as ARIAGlobalStatesAndProperties } from './aria-global.js';
@@ -225,44 +225,35 @@ class DelegatesARIATextbox {
225
225
  applyMixins(DelegatesARIATextbox, ARIAGlobalStatesAndProperties);
226
226
  applyMixins(TextField, StartEnd, DelegatesARIATextbox);
227
227
 
228
- var css_248z = "/**\n * Do not edit directly\n * Generated on Thu, 27 Oct 2022 06:37:06 GMT\n */\n.message {\n display: flex;\n contain: inline-size;\n font: var(--vvd-typography-base-condensed);\n gap: 4px;\n grid-column: 1/-1;\n}\n.message-text {\n color: var(--vvd-color-canvas-text);\n}\n.helper-message .message-text {\n color: var(--_low-ink-color);\n}\n.message-icon {\n font-size: 16px;\n}\n.success-message .message-icon {\n color: var(--vvd-color-success-500);\n}\n.error-message .message-icon {\n color: var(--vvd-color-alert-500);\n}";
228
+ var css_248z = "/**\n * Do not edit directly\n * Generated on Mon, 31 Oct 2022 12:51:44 GMT\n */\n.message {\n display: flex;\n contain: inline-size;\n font: var(--vvd-typography-base-condensed);\n gap: 4px;\n grid-column: 1/-1;\n}\n.message-text {\n color: var(--vvd-color-canvas-text);\n}\n.helper-message .message-text {\n color: var(--_low-ink-color);\n}\n.message-icon {\n font-size: 16px;\n}\n.success-message .message-icon {\n color: var(--vvd-color-success-500);\n}\n.error-message .message-icon {\n color: var(--vvd-color-alert-500);\n}";
229
229
 
230
230
  let _ = t => t,
231
- _t,
232
- _t2,
233
- _t3;
231
+ _t,
232
+ _t2,
233
+ _t3;
234
234
  const ElementInternalsKey = 'ElementInternals';
235
-
236
235
  const supportsElementInternals = () => ElementInternalsKey in window && 'setFormValue' in window[ElementInternalsKey].prototype;
237
-
238
236
  function formElements(constructor) {
239
237
  var _Decorated_blurred;
240
-
241
238
  class Decorated extends constructor {
242
239
  constructor(...args) {
243
240
  super(...args);
244
241
  this.charCount = false;
245
242
  this.userValid = true;
246
-
247
243
  _Decorated_blurred.set(this, false);
248
-
249
244
  this.validate = () => {
250
245
  if (supportsElementInternals() && this.proxy instanceof HTMLElement) {
251
246
  this.setValidity(this.proxy.validity, this.proxy.validationMessage, this.control);
252
247
  } else {
253
248
  super.validate();
254
249
  }
255
-
256
250
  this.userValid = !this.userValid;
257
-
258
251
  if (this.proxy instanceof HTMLElement) {
259
252
  this.userValid = __classPrivateFieldGet(this, _Decorated_blurred, "f") && this.dirtyValue ? !this.validationMessage : true;
260
253
  }
261
254
  };
262
-
263
255
  this.addEventListener('blur', () => {
264
256
  __classPrivateFieldSet(this, _Decorated_blurred, true, "f");
265
-
266
257
  this.validate();
267
258
  });
268
259
  this.addEventListener('focus', () => {
@@ -270,41 +261,29 @@ function formElements(constructor) {
270
261
  });
271
262
  this.addEventListener('invalid', () => {
272
263
  if (__classPrivateFieldGet(this, _Decorated_blurred, "f") && this.dirtyValue) return;
273
-
274
264
  __classPrivateFieldSet(this, _Decorated_blurred, true, "f");
275
-
276
265
  this.dirtyValue = true;
277
266
  this.validate();
278
267
  });
279
268
  }
280
-
281
269
  get errorValidationMessage() {
282
270
  return this.userValid ? '' : this.validationMessage;
283
271
  }
284
-
285
272
  }
286
-
287
273
  _Decorated_blurred = new WeakMap();
288
-
289
274
  __decorate([attr, __metadata("design:type", String)], Decorated.prototype, "label", void 0);
290
-
291
275
  __decorate([attr({
292
276
  attribute: 'helper-text'
293
277
  }), __metadata("design:type", String)], Decorated.prototype, "helperText", void 0);
294
-
295
278
  __decorate([attr({
296
279
  attribute: 'success-text'
297
280
  }), __metadata("design:type", String)], Decorated.prototype, "successText", void 0);
298
-
299
281
  __decorate([attr({
300
282
  attribute: 'char-count',
301
283
  mode: 'boolean'
302
284
  }), __metadata("design:type", Object)], Decorated.prototype, "charCount", void 0);
303
-
304
285
  __decorate([observable, __metadata("design:type", Object)], Decorated.prototype, "userValid", void 0);
305
-
306
286
  __decorate([volatile, __metadata("design:type", Object), __metadata("design:paramtypes", [])], Decorated.prototype, "errorValidationMessage", null);
307
-
308
287
  return Decorated;
309
288
  }
310
289
  function getFeedbackTemplate(messageType, context) {
@@ -341,7 +320,6 @@ function getFeedbackTemplate(messageType, context) {
341
320
  messageProperty: MessageTypeMap[messageType].messageProperty
342
321
  }));
343
322
  }
344
-
345
323
  function feedbackMessage({
346
324
  messageProperty
347
325
  }) {
package/shared/icon.js CHANGED
@@ -1,4 +1,4 @@
1
- import { c as classofRaw, g as global$8, w as wellKnownSymbol$6, a as getBuiltIn$5, o as objectDefineProperty, d as descriptors, b as objectIsPrototypeOf, f as functionUncurryThis, e as fails$4, i as isCallable$6, h as inspectSource$2, t as tryToString$3, j as anObject$5, k as isNullOrUndefined$2, l as functionBindNative, m as aCallable$6, n as engineUserAgent, p as documentCreateElement, q as hasOwnProperty_1, r as objectGetOwnPropertyDescriptor, s as isForced_1, u as engineV8Version, _ as _export, v as defineBuiltIn$3, x as functionCall, y as isObject$2, z as internalState, A as getMethod$2, B as lengthOfArrayLike$1, C as requireObjectCoercible$1, D as functionName } from './export.js';
1
+ import { c as classofRaw, g as global$8, w as wellKnownSymbol$6, a as getBuiltIn$5, o as objectDefineProperty, d as descriptors, b as objectIsPrototypeOf, f as functionUncurryThis, e as fails$4, i as isCallable$6, h as inspectSource$2, t as tryToString$3, j as anObject$5, k as isNullOrUndefined$2, l as functionBindNative, m as aCallable$6, n as engineUserAgent, p as documentCreateElement, q as hasOwnProperty_1, r as objectGetOwnPropertyDescriptor, s as isForced_1, u as engineV8Version, _ as _export, v as defineBuiltIn$3, x as functionCall, y as internalState, z as isObject$2, A as getMethod$2, B as lengthOfArrayLike$1, C as requireObjectCoercible$1, D as functionName } from './export.js';
2
2
  import { h as html$1, o as objectSetPrototypeOf, s as setToStringTag$1, i as iterators } from './iterators.js';
3
3
  import { c as classof$3, t as toString$1 } from './to-string.js';
4
4
  import { F as FoundationElement, _ as __decorate, a as attr, b as __metadata, o as observable } from './index.js';
@@ -122,7 +122,7 @@ var FunctionPrototype = Function.prototype;
122
122
  var apply$1 = FunctionPrototype.apply;
123
123
  var call$7 = FunctionPrototype.call;
124
124
 
125
- // eslint-disable-next-line es-x/no-reflect -- safe
125
+ // eslint-disable-next-line es/no-reflect -- safe
126
126
  var functionApply = typeof Reflect == 'object' && Reflect.apply || (NATIVE_BIND$1 ? call$7.bind(apply$1) : function () {
127
127
  return call$7.apply(apply$1, arguments);
128
128
  });
@@ -179,11 +179,11 @@ var String$1 = global$6.String;
179
179
  var counter = 0;
180
180
  var queue$1 = {};
181
181
  var ONREADYSTATECHANGE = 'onreadystatechange';
182
- var location, defer, channel, port;
182
+ var $location, defer, channel, port;
183
183
 
184
184
  try {
185
185
  // Deno throws a ReferenceError on `location` access without `--location` flag
186
- location = global$6.location;
186
+ $location = global$6.location;
187
187
  } catch (error) { /* empty */ }
188
188
 
189
189
  var run = function (id) {
@@ -206,7 +206,7 @@ var listener = function (event) {
206
206
 
207
207
  var post = function (id) {
208
208
  // old engines have not location.origin
209
- global$6.postMessage(String$1(id), location.protocol + '//' + location.host);
209
+ global$6.postMessage(String$1(id), $location.protocol + '//' + $location.host);
210
210
  };
211
211
 
212
212
  // Node.js 0.9+ & IE10+ has setImmediate, otherwise:
@@ -247,7 +247,7 @@ if (!set || !clear) {
247
247
  global$6.addEventListener &&
248
248
  isCallable$4(global$6.postMessage) &&
249
249
  !global$6.importScripts &&
250
- location && location.protocol !== 'file:' &&
250
+ $location && $location.protocol !== 'file:' &&
251
251
  !fails$2(post)
252
252
  ) {
253
253
  defer = post;
@@ -929,7 +929,7 @@ try {
929
929
  iteratorWithReturn[ITERATOR] = function () {
930
930
  return this;
931
931
  };
932
- // eslint-disable-next-line es-x/no-array-from, no-throw-literal -- required for testing
932
+ // eslint-disable-next-line es/no-array-from, no-throw-literal -- required for testing
933
933
  Array.from(iteratorWithReturn, function () { throw 2; });
934
934
  } catch (error) { /* empty */ }
935
935
 
@@ -1353,9 +1353,7 @@ const BASE_URL = 'https://icon.resources.vonage.com';
1353
1353
  const ICON_SET_VERSION = '4.0.30';
1354
1354
  const PLACEHOLDER_DELAY = 500;
1355
1355
  const PLACEHOLDER_TIMEOUT = 2000;
1356
-
1357
1356
  const baseUrlTemplate = (resource, version) => [BASE_URL, `v${version}`, resource].join('/');
1358
-
1359
1357
  const assertIsValidResponse = ({
1360
1358
  ok,
1361
1359
  headers
@@ -1364,14 +1362,11 @@ const assertIsValidResponse = ({
1364
1362
  throw new Error('Something went wrong');
1365
1363
  }
1366
1364
  };
1367
-
1368
1365
  const extractSvg = response => {
1369
1366
  assertIsValidResponse(response);
1370
1367
  return response.text();
1371
1368
  };
1372
-
1373
1369
  const loadSvg = iconId => fetch(baseUrlTemplate([iconId, 'svg'].join('.'), ICON_SET_VERSION)).then(extractSvg);
1374
-
1375
1370
  const resolveIcon = memoizeWith$1(identity$1, (iconId = '') => iconId.trim() ? loadSvg(iconId) : Promise.resolve(''));
1376
1371
  class Icon extends FoundationElement {
1377
1372
  async typeChanged() {
@@ -1392,15 +1387,10 @@ class Icon extends FoundationElement {
1392
1387
  clearTimeout(timeout);
1393
1388
  });
1394
1389
  }
1395
-
1396
1390
  }
1397
-
1398
1391
  __decorate([attr, __metadata("design:type", String)], Icon.prototype, "connotation", void 0);
1399
-
1400
1392
  __decorate([attr, __metadata("design:type", String)], Icon.prototype, "size", void 0);
1401
-
1402
1393
  __decorate([observable, __metadata("design:type", String)], Icon.prototype, "svg", void 0);
1403
-
1404
1394
  __decorate([attr, __metadata("design:type", String)], Icon.prototype, "type", void 0);
1405
1395
 
1406
- export { Icon as I, functionApply as f, speciesConstructor$2 as s };
1396
+ export { Icon as I };