@lwc/shared 2.32.0 → 2.33.0

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.
package/dist/index.cjs.js CHANGED
@@ -119,6 +119,9 @@ function getPropertyDescriptor(o, p) {
119
119
  * The above list of 46 aria attributes is consistent with the following resources:
120
120
  * https://github.com/w3c/aria/pull/708/files#diff-eacf331f0ffc35d4b482f1d15a887d3bR11060
121
121
  * https://wicg.github.io/aom/spec/aria-reflection.html
122
+ *
123
+ * NOTE: If you update this list, please update test files that implicitly reference this list!
124
+ * Searching the codebase for `aria-flowto` and `ariaFlowTo` should be good enough to find all usages.
122
125
  */
123
126
  const AriaPropertyNames = [
124
127
  'ariaActiveDescendant',
@@ -491,7 +494,7 @@ const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === '
491
494
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
492
495
  */
493
496
  // Increment whenever the LWC template compiler changes
494
- const LWC_VERSION = "2.32.0";
497
+ const LWC_VERSION = "2.33.0";
495
498
  const LWC_VERSION_COMMENT = `LWC compiler v${LWC_VERSION}`;
496
499
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
497
500
 
@@ -574,4 +577,4 @@ exports.noop = noop;
574
577
  exports.seal = seal;
575
578
  exports.setPrototypeOf = setPrototypeOf;
576
579
  exports.toString = toString;
577
- /** version: 2.32.0 */
580
+ /** version: 2.33.0 */
package/dist/index.js CHANGED
@@ -117,6 +117,9 @@ function getPropertyDescriptor(o, p) {
117
117
  * The above list of 46 aria attributes is consistent with the following resources:
118
118
  * https://github.com/w3c/aria/pull/708/files#diff-eacf331f0ffc35d4b482f1d15a887d3bR11060
119
119
  * https://wicg.github.io/aom/spec/aria-reflection.html
120
+ *
121
+ * NOTE: If you update this list, please update test files that implicitly reference this list!
122
+ * Searching the codebase for `aria-flowto` and `ariaFlowTo` should be good enough to find all usages.
120
123
  */
121
124
  const AriaPropertyNames = [
122
125
  'ariaActiveDescendant',
@@ -489,9 +492,9 @@ const hasNativeSymbolSupport = /*@__PURE__*/ (() => Symbol('x').toString() === '
489
492
  * For full license text, see the LICENSE file in the repo root or https://opensource.org/licenses/MIT
490
493
  */
491
494
  // Increment whenever the LWC template compiler changes
492
- const LWC_VERSION = "2.32.0";
495
+ const LWC_VERSION = "2.33.0";
493
496
  const LWC_VERSION_COMMENT = `LWC compiler v${LWC_VERSION}`;
494
497
  const LWC_VERSION_COMMENT_REGEX = /\/\*LWC compiler v([\d.]+)\*\/\s*}/;
495
498
 
496
499
  export { AriaAttrNameToPropNameMap, AriaPropNameToAttrNameMap, ArrayConcat, ArrayCopyWithin, ArrayFill, ArrayFilter, ArrayFind, ArrayIndexOf, ArrayJoin, ArrayMap, ArrayPop, ArrayPush, ArrayReduce, ArrayReverse, ArrayShift, ArraySlice, ArraySome, ArraySort, ArraySplice, ArrayUnshift, HTML_NAMESPACE, KEY__IS_NATIVE_SHADOW_ROOT_DEFINED, KEY__SCOPED_CSS, KEY__SHADOW_RESOLVER, KEY__SHADOW_RESOLVER_PRIVATE, KEY__SHADOW_STATIC, KEY__SHADOW_STATIC_PRIVATE, KEY__SHADOW_TOKEN, KEY__SHADOW_TOKEN_PRIVATE, KEY__SYNTHETIC_MODE, LWC_VERSION, LWC_VERSION_COMMENT, LWC_VERSION_COMMENT_REGEX, MATHML_NAMESPACE, SVG_NAMESPACE, StringCharCodeAt, StringFromCharCode, StringReplace, StringSlice, StringToLowerCase, XLINK_NAMESPACE, XML_NAMESPACE, assert, assign, create, defineProperties, defineProperty, forEach, freeze, getOwnPropertyDescriptor, getOwnPropertyNames, getPropertyDescriptor, getPrototypeOf, _globalThis as globalThis, hasNativeSymbolSupport, hasOwnProperty, htmlAttributeToProperty, htmlEscape, htmlPropertyToAttribute, isAriaAttribute, isArray, isBoolean, isBooleanAttribute, isFalse, isFrozen, isFunction, isGlobalHtmlAttribute, isNull, isNumber, isObject, isString, isTrue, isUndefined, isVoidElement, keys, noop, seal, setPrototypeOf, toString };
497
- /** version: 2.32.0 */
500
+ /** version: 2.33.0 */
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@lwc/shared",
3
- "version": "2.32.0",
3
+ "version": "2.33.0",
4
4
  "description": "Utilities and methods that are shared across packages",
5
5
  "homepage": "https://lwc.dev/",
6
6
  "repository": {
package/types/aria.d.ts CHANGED
@@ -6,9 +6,12 @@
6
6
  * The above list of 46 aria attributes is consistent with the following resources:
7
7
  * https://github.com/w3c/aria/pull/708/files#diff-eacf331f0ffc35d4b482f1d15a887d3bR11060
8
8
  * https://wicg.github.io/aom/spec/aria-reflection.html
9
+ *
10
+ * NOTE: If you update this list, please update test files that implicitly reference this list!
11
+ * Searching the codebase for `aria-flowto` and `ariaFlowTo` should be good enough to find all usages.
9
12
  */
10
13
  declare const AriaPropertyNames: readonly ["ariaActiveDescendant", "ariaAtomic", "ariaAutoComplete", "ariaBusy", "ariaChecked", "ariaColCount", "ariaColIndex", "ariaColSpan", "ariaControls", "ariaCurrent", "ariaDescribedBy", "ariaDetails", "ariaDisabled", "ariaErrorMessage", "ariaExpanded", "ariaFlowTo", "ariaHasPopup", "ariaHidden", "ariaInvalid", "ariaKeyShortcuts", "ariaLabel", "ariaLabelledBy", "ariaLevel", "ariaLive", "ariaModal", "ariaMultiLine", "ariaMultiSelectable", "ariaOrientation", "ariaOwns", "ariaPlaceholder", "ariaPosInSet", "ariaPressed", "ariaReadOnly", "ariaRelevant", "ariaRequired", "ariaRoleDescription", "ariaRowCount", "ariaRowIndex", "ariaRowSpan", "ariaSelected", "ariaSetSize", "ariaSort", "ariaValueMax", "ariaValueMin", "ariaValueNow", "ariaValueText", "role"];
11
- export declare type AccessibleElementProperties = {
14
+ export type AccessibleElementProperties = {
12
15
  [prop in typeof AriaPropertyNames[number]]: string | null;
13
16
  };
14
17
  declare const AriaAttrNameToPropNameMap: Record<string, string>, AriaPropNameToAttrNameMap: Record<string, string>;
@@ -7,12 +7,11 @@ declare const assign: {
7
7
  (o: object | null): any;
8
8
  (o: object | null, properties: PropertyDescriptorMap & ThisType<any>): any;
9
9
  }, defineProperties: <T>(o: T, properties: PropertyDescriptorMap & ThisType<any>) => T, defineProperty: <T>(o: T, p: PropertyKey, attributes: PropertyDescriptor & ThisType<any>) => T, freeze: {
10
- <T>(a: T[]): readonly T[];
11
- <T_1 extends Function>(f: T_1): T_1;
12
- <T_2 extends {
10
+ <T extends Function>(f: T): T;
11
+ <T_1 extends {
13
12
  [idx: string]: object | U | null | undefined;
14
- }, U extends string | number | bigint | boolean | symbol>(o: T_2): Readonly<T_2>;
15
- <T_3>(o: T_3): Readonly<T_3>;
13
+ }, U extends string | number | bigint | boolean | symbol>(o: T_1): Readonly<T_1>;
14
+ <T_2>(o: T_2): Readonly<T_2>;
16
15
  }, getOwnPropertyDescriptor: (o: any, p: PropertyKey) => PropertyDescriptor | undefined, getOwnPropertyNames: (o: any) => string[], getPrototypeOf: (o: any) => any, hasOwnProperty: (v: PropertyKey) => boolean, isFrozen: (o: any) => boolean, keys: {
17
16
  (o: object): string[];
18
17
  (o: {}): string[];