matsuri-hooks 4.2.4 → 4.2.5
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.
|
@@ -40230,14 +40230,14 @@ function createDOMElementFilter(filterNode) {
|
|
|
40230
40230
|
}
|
|
40231
40231
|
};
|
|
40232
40232
|
}
|
|
40233
|
-
var
|
|
40233
|
+
var picocolors = null;
|
|
40234
40234
|
var readFileSync = null;
|
|
40235
40235
|
var codeFrameColumns = null;
|
|
40236
40236
|
try {
|
|
40237
40237
|
const nodeRequire = module && module.require;
|
|
40238
40238
|
readFileSync = nodeRequire.call(module, "fs").readFileSync;
|
|
40239
40239
|
codeFrameColumns = nodeRequire.call(module, "@babel/code-frame").codeFrameColumns;
|
|
40240
|
-
|
|
40240
|
+
picocolors = nodeRequire.call(module, "picocolors");
|
|
40241
40241
|
} catch {
|
|
40242
40242
|
}
|
|
40243
40243
|
function getCodeFrame(frame) {
|
|
@@ -40261,7 +40261,7 @@ function getCodeFrame(frame) {
|
|
|
40261
40261
|
highlightCode: true,
|
|
40262
40262
|
linesBelow: 0
|
|
40263
40263
|
});
|
|
40264
|
-
return
|
|
40264
|
+
return picocolors.dim(frameLocation) + "\n" + codeFrame + "\n";
|
|
40265
40265
|
}
|
|
40266
40266
|
function getUserCodeFrame() {
|
|
40267
40267
|
if (!readFileSync || !codeFrameColumns) {
|
|
@@ -41489,8 +41489,8 @@ var queryAllByRole = function(container, role, _temp) {
|
|
|
41489
41489
|
}
|
|
41490
41490
|
}
|
|
41491
41491
|
if (expanded !== void 0) {
|
|
41492
|
-
var _allRoles$
|
|
41493
|
-
if (((_allRoles$
|
|
41492
|
+
var _allRoles$get0;
|
|
41493
|
+
if (((_allRoles$get0 = import_aria_query.roles.get(role)) == null ? void 0 : _allRoles$get0.props["aria-expanded"]) === void 0) {
|
|
41494
41494
|
throw new Error('"aria-expanded" is not supported on role "' + role + '".');
|
|
41495
41495
|
}
|
|
41496
41496
|
}
|
|
@@ -43121,4 +43121,4 @@ react-dom/cjs/react-dom-client.development.js:
|
|
|
43121
43121
|
* LICENSE file in the root directory of this source tree.
|
|
43122
43122
|
*)
|
|
43123
43123
|
*/
|
|
43124
|
-
//# sourceMappingURL=chunk-
|
|
43124
|
+
//# sourceMappingURL=chunk-675ZO7XD.js.map
|