@lwc/shared 2.32.1 → 2.34.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 +5 -2
- package/dist/index.js +5 -2
- package/package.json +1 -1
- package/types/aria.d.ts +3 -0
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.
|
|
497
|
+
const LWC_VERSION = "2.34.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.
|
|
580
|
+
/** version: 2.34.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.
|
|
495
|
+
const LWC_VERSION = "2.34.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.
|
|
500
|
+
/** version: 2.34.0 */
|
package/package.json
CHANGED
package/types/aria.d.ts
CHANGED
|
@@ -6,6 +6,9 @@
|
|
|
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
14
|
export type AccessibleElementProperties = {
|