@primer/live-region-element
Advanced tools
Comparing version 0.7.1 to 0.7.2
@@ -13,3 +13,3 @@ const Ordering = { | ||
var __privateAdd$2 = (obj, member, value) => member.has(obj) ? __typeError$2("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value); | ||
var __privateSet$2 = (obj, member, value, setter) => (__accessCheck$2(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value); | ||
var __privateSet$2 = (obj, member, value, setter) => (__accessCheck$2(obj, member, "write to private field"), member.set(obj, value), value); | ||
var __privateMethod$1 = (obj, member, method) => (__accessCheck$2(obj, member, "access private method"), method); | ||
@@ -124,3 +124,3 @@ var _compareFn, _heap, _MinHeap_instances, heapifyDown_fn, heapifyUp_fn; | ||
var __privateAdd$1 = (obj, member, value) => member.has(obj) ? __typeError$1("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value); | ||
var __privateSet$1 = (obj, member, value, setter) => (__accessCheck$1(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value); | ||
var __privateSet$1 = (obj, member, value, setter) => (__accessCheck$1(obj, member, "write to private field"), member.set(obj, value), value); | ||
var _a, _promise, _resolve, _reject; | ||
@@ -168,3 +168,3 @@ _a = Symbol.toStringTag; | ||
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value); | ||
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value); | ||
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), member.set(obj, value), value); | ||
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method); | ||
@@ -350,5 +350,9 @@ var _pending, _queue, _timeoutId, _LiveRegionElement_instances, performWork_fn, updateContainerWithMessage_fn; | ||
:host { | ||
border: 0; | ||
clip: rect(0 0 0 0); | ||
clip-path: inset(50%); | ||
height: 1px; | ||
margin: -1px; | ||
overflow: hidden; | ||
padding: 0; | ||
position: absolute; | ||
@@ -355,0 +359,0 @@ white-space: nowrap; |
@@ -62,5 +62,5 @@ import { type Order } from './order'; | ||
} | ||
declare const templateContent = "\n<style>\n:host {\n clip-path: inset(50%);\n height: 1px;\n overflow: hidden;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n</style>\n<div id=\"polite\" aria-live=\"polite\" aria-atomic=\"true\"></div>\n<div id=\"assertive\" aria-live=\"assertive\" aria-atomic=\"true\"></div>\n"; | ||
declare const templateContent = "\n<style>\n:host {\n border: 0;\n clip: rect(0 0 0 0);\n clip-path: inset(50%);\n height: 1px;\n margin: -1px;\n overflow: hidden;\n padding: 0;\n position: absolute;\n white-space: nowrap;\n width: 1px;\n}\n</style>\n<div id=\"polite\" aria-live=\"polite\" aria-atomic=\"true\"></div>\n<div id=\"assertive\" aria-live=\"assertive\" aria-atomic=\"true\"></div>\n"; | ||
export declare function compareMessages(a: Message, b: Message): Order; | ||
export { LiveRegionElement, templateContent }; | ||
export type { AnnounceOptions, Cancelable }; |
@@ -15,3 +15,3 @@ import { HTMLElement, customElements } from '@lit-labs/ssr-dom-shim'; | ||
var __privateAdd$2 = (obj, member, value) => member.has(obj) ? __typeError$2("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value); | ||
var __privateSet$2 = (obj, member, value, setter) => (__accessCheck$2(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value); | ||
var __privateSet$2 = (obj, member, value, setter) => (__accessCheck$2(obj, member, "write to private field"), member.set(obj, value), value); | ||
var __privateMethod$1 = (obj, member, method) => (__accessCheck$2(obj, member, "access private method"), method); | ||
@@ -126,3 +126,3 @@ var _compareFn, _heap, _MinHeap_instances, heapifyDown_fn, heapifyUp_fn; | ||
var __privateAdd$1 = (obj, member, value) => member.has(obj) ? __typeError$1("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value); | ||
var __privateSet$1 = (obj, member, value, setter) => (__accessCheck$1(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value); | ||
var __privateSet$1 = (obj, member, value, setter) => (__accessCheck$1(obj, member, "write to private field"), member.set(obj, value), value); | ||
var _a, _promise, _resolve, _reject; | ||
@@ -170,3 +170,3 @@ _a = Symbol.toStringTag; | ||
var __privateAdd = (obj, member, value) => member.has(obj) ? __typeError("Cannot add the same private member more than once") : member instanceof WeakSet ? member.add(obj) : member.set(obj, value); | ||
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), setter ? setter.call(obj, value) : member.set(obj, value), value); | ||
var __privateSet = (obj, member, value, setter) => (__accessCheck(obj, member, "write to private field"), member.set(obj, value), value); | ||
var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "access private method"), method); | ||
@@ -352,5 +352,9 @@ var _pending, _queue, _timeoutId, _LiveRegionElement_instances, performWork_fn, updateContainerWithMessage_fn; | ||
:host { | ||
border: 0; | ||
clip: rect(0 0 0 0); | ||
clip-path: inset(50%); | ||
height: 1px; | ||
margin: -1px; | ||
overflow: hidden; | ||
padding: 0; | ||
position: absolute; | ||
@@ -357,0 +361,0 @@ white-space: nowrap; |
{ | ||
"name": "@primer/live-region-element", | ||
"version": "0.7.1", | ||
"version": "0.7.2", | ||
"type": "module", | ||
@@ -51,4 +51,4 @@ "main": "./dist/esm/index.js", | ||
"@rollup/plugin-replace": "^5.0.7", | ||
"jsdom": "^25.0.0", | ||
"publint": "^0.2.8", | ||
"jsdom": "^25.0.1", | ||
"publint": "^0.2.12", | ||
"rimraf": "^6.0.1", | ||
@@ -55,0 +55,0 @@ "rollup-plugin-esbuild": "^6.1.1", |
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2357
91370