@zag-js/aria-hidden
Advanced tools
Comparing version 0.70.0 to 0.71.0
@@ -1,27 +0,6 @@ | ||
"use strict"; | ||
var __defProp = Object.defineProperty; | ||
var __getOwnPropDesc = Object.getOwnPropertyDescriptor; | ||
var __getOwnPropNames = Object.getOwnPropertyNames; | ||
var __hasOwnProp = Object.prototype.hasOwnProperty; | ||
var __export = (target, all) => { | ||
for (var name in all) | ||
__defProp(target, name, { get: all[name], enumerable: true }); | ||
}; | ||
var __copyProps = (to, from, except, desc) => { | ||
if (from && typeof from === "object" || typeof from === "function") { | ||
for (let key of __getOwnPropNames(from)) | ||
if (!__hasOwnProp.call(to, key) && key !== except) | ||
__defProp(to, key, { get: () => from[key], enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable }); | ||
} | ||
return to; | ||
}; | ||
var __toCommonJS = (mod) => __copyProps(__defProp({}, "__esModule", { value: true }), mod); | ||
'use strict'; | ||
var ariaHidden$1 = require('aria-hidden'); | ||
// src/index.ts | ||
var src_exports = {}; | ||
__export(src_exports, { | ||
ariaHidden: () => ariaHidden | ||
}); | ||
module.exports = __toCommonJS(src_exports); | ||
var import_aria_hidden = require("aria-hidden"); | ||
var raf = (fn) => { | ||
@@ -39,3 +18,3 @@ const frameId = requestAnimationFrame(() => fn()); | ||
const elements = targets.filter(Boolean); | ||
cleanups.push((0, import_aria_hidden.hideOthers)(elements)); | ||
cleanups.push(ariaHidden$1.hideOthers(elements)); | ||
}) | ||
@@ -47,6 +26,3 @@ ); | ||
} | ||
// Annotate the CommonJS export names for ESM import in node: | ||
0 && (module.exports = { | ||
ariaHidden | ||
}); | ||
//# sourceMappingURL=index.js.map | ||
exports.ariaHidden = ariaHidden; |
{ | ||
"name": "@zag-js/aria-hidden", | ||
"version": "0.70.0", | ||
"version": "0.71.0", | ||
"description": "Hide targets from screen readers", | ||
@@ -16,4 +16,3 @@ "keywords": [ | ||
"files": [ | ||
"dist", | ||
"src" | ||
"dist" | ||
], | ||
@@ -46,3 +45,3 @@ "publishConfig": { | ||
"build": "tsup", | ||
"test": "jest --config ../../../jest.config.js --rootDir tests", | ||
"test": "vitest", | ||
"lint": "eslint src", | ||
@@ -49,0 +48,0 @@ "test-ci": "pnpm test --ci --runInBand -u", |
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
4523
7
53