storybook 9.0.0-beta.3 → 9.0.0-beta.4
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/bin/index.cjs +44 -44
- package/dist/bin/index.js +44 -44
- package/dist/cli/bin/index.cjs +1 -1
- package/dist/cli/bin/index.js +1 -1
- package/dist/common/index.cjs +72 -72
- package/dist/common/index.js +46 -46
- package/dist/highlight/preview.cjs +44 -44
- package/dist/highlight/preview.js +53 -53
- package/dist/manager/globals-runtime.js +1 -1
- package/dist/manager-api/index.cjs +1 -1
- package/dist/manager-api/index.js +1 -1
- package/dist/preview/runtime.js +50 -50
- package/package.json +1 -1
|
@@ -3159,7 +3159,7 @@ import { global as Gt } from "@storybook/global";
|
|
|
3159
3159
|
import U from "semver";
|
|
3160
3160
|
|
|
3161
3161
|
// src/manager-api/version.ts
|
|
3162
|
-
var v0 = "9.0.0-beta.
|
|
3162
|
+
var v0 = "9.0.0-beta.4";
|
|
3163
3163
|
|
|
3164
3164
|
// src/manager-api/modules/versions.ts
|
|
3165
3165
|
var { VERSIONCHECK: Wo } = Gt, g0 = (0, y0.default)(1)(() => {
|
package/dist/preview/runtime.js
CHANGED
|
@@ -22406,7 +22406,7 @@ ht(Zf, {
|
|
|
22406
22406
|
StoryStore: () => io,
|
|
22407
22407
|
UrlStore: () => po,
|
|
22408
22408
|
WebView: () => mo,
|
|
22409
|
-
addons: () =>
|
|
22409
|
+
addons: () => He,
|
|
22410
22410
|
applyHooks: () => Dl,
|
|
22411
22411
|
combineArgs: () => Ri,
|
|
22412
22412
|
combineParameters: () => At,
|
|
@@ -22489,7 +22489,7 @@ function w8() {
|
|
|
22489
22489
|
return D[nv] || (D[nv] = new ov()), D[nv];
|
|
22490
22490
|
}
|
|
22491
22491
|
o(w8, "getAddonsStore");
|
|
22492
|
-
var
|
|
22492
|
+
var He = w8();
|
|
22493
22493
|
|
|
22494
22494
|
// src/preview-api/modules/addons/definePreview.ts
|
|
22495
22495
|
function iv(e) {
|
|
@@ -22541,10 +22541,10 @@ var Hr = class {
|
|
|
22541
22541
|
}), this.prevEffects = this.currentEffects, this.currentEffects = [];
|
|
22542
22542
|
}
|
|
22543
22543
|
addRenderListeners() {
|
|
22544
|
-
this.removeRenderListeners(),
|
|
22544
|
+
this.removeRenderListeners(), He.getChannel().on(Po, this.renderListener);
|
|
22545
22545
|
}
|
|
22546
22546
|
removeRenderListeners() {
|
|
22547
|
-
|
|
22547
|
+
He.getChannel().removeListener(Po, this.renderListener);
|
|
22548
22548
|
}
|
|
22549
22549
|
};
|
|
22550
22550
|
function Kx(e) {
|
|
@@ -22655,7 +22655,7 @@ function P8() {
|
|
|
22655
22655
|
e.hasUpdates = !0;
|
|
22656
22656
|
else
|
|
22657
22657
|
try {
|
|
22658
|
-
|
|
22658
|
+
He.getChannel().emit(is);
|
|
22659
22659
|
} catch {
|
|
22660
22660
|
de.warn("State updates of Storybook preview hooks work only in browser");
|
|
22661
22661
|
}
|
|
@@ -22687,7 +22687,7 @@ function zt(e, t) {
|
|
|
22687
22687
|
}
|
|
22688
22688
|
o(zt, "useEffect");
|
|
22689
22689
|
function rC(e, t = []) {
|
|
22690
|
-
let r =
|
|
22690
|
+
let r = He.getChannel();
|
|
22691
22691
|
return zt(() => (Object.entries(e).forEach(([n, i]) => r.on(n, i)), () => {
|
|
22692
22692
|
Object.entries(e).forEach(
|
|
22693
22693
|
([n, i]) => r.removeListener(n, i)
|
|
@@ -22709,7 +22709,7 @@ function nC(e, t) {
|
|
|
22709
22709
|
}
|
|
22710
22710
|
o(nC, "useParameter");
|
|
22711
22711
|
function oC() {
|
|
22712
|
-
let e =
|
|
22712
|
+
let e = He.getChannel(), { id: t, args: r } = xs(), n = ko(
|
|
22713
22713
|
(s) => e.emit(us, { storyId: t, updatedArgs: s }),
|
|
22714
22714
|
[e, t]
|
|
22715
22715
|
), i = ko(
|
|
@@ -22720,7 +22720,7 @@ function oC() {
|
|
|
22720
22720
|
}
|
|
22721
22721
|
o(oC, "useArgs");
|
|
22722
22722
|
function iC() {
|
|
22723
|
-
let e =
|
|
22723
|
+
let e = He.getChannel(), { globals: t } = xs(), r = ko(
|
|
22724
22724
|
(n) => e.emit(ls, { globals: n }),
|
|
22725
22725
|
[e]
|
|
22726
22726
|
);
|
|
@@ -26774,8 +26774,8 @@ ue", Helvetica, Arial, sans-serif;
|
|
|
26774
26774
|
}, "useHighlights");
|
|
26775
26775
|
|
|
26776
26776
|
// src/highlight/preview.ts
|
|
26777
|
-
|
|
26778
|
-
let e =
|
|
26777
|
+
globalThis?.FEATURES?.highlight && He?.ready && He.ready().then(() => {
|
|
26778
|
+
let e = He.getChannel();
|
|
26779
26779
|
s1({ channel: e });
|
|
26780
26780
|
});
|
|
26781
26781
|
var QE = /* @__PURE__ */ o(() => ({}), "default");
|
|
@@ -35850,7 +35850,7 @@ var so = class {
|
|
|
35850
35850
|
|
|
35851
35851
|
// src/preview-api/modules/preview-web/Preview.tsx
|
|
35852
35852
|
var { fetch: fpe } = D, mpe = "./index.json", ao = class {
|
|
35853
|
-
constructor(t, r, n =
|
|
35853
|
+
constructor(t, r, n = He.getChannel(), i = !0) {
|
|
35854
35854
|
this.importFn = t;
|
|
35855
35855
|
this.getProjectAnnotations = r;
|
|
35856
35856
|
this.channel = n;
|
|
@@ -36941,7 +36941,7 @@ var ZD = `${QD}/snippet-rendered`;
|
|
|
36941
36941
|
// src/preview-api/modules/preview-web/emitTransformCode.ts
|
|
36942
36942
|
async function nT(e, t) {
|
|
36943
36943
|
let r = t.parameters?.docs?.source?.transform, { id: n, unmappedArgs: i } = t, s = r && e ? r?.(e, t) : e, a = s ? await s : void 0;
|
|
36944
|
-
|
|
36944
|
+
He.getChannel().emit(ZD, {
|
|
36945
36945
|
id: n,
|
|
36946
36946
|
source: a,
|
|
36947
36947
|
args: i
|
|
@@ -36999,7 +36999,7 @@ function Gr(e, t = {}) {
|
|
|
36999
36999
|
throw h;
|
|
37000
37000
|
}
|
|
37001
37001
|
}
|
|
37002
|
-
let a =
|
|
37002
|
+
let a = He.getChannel(), l = Date.now().toString(36) + Math.random().toString(36).substring(2), u = 5, c = s.map(Lfe), d = s.length > 1 ?
|
|
37003
37003
|
c : c[0], p = {
|
|
37004
37004
|
id: l,
|
|
37005
37005
|
count: 0,
|
|
@@ -40399,14 +40399,14 @@ var bm = class {
|
|
|
40399
40399
|
this.start = t, this.end = r, this.source = n;
|
|
40400
40400
|
}
|
|
40401
40401
|
}, pme = {};
|
|
40402
|
-
sw(pme, "CssTypes", () =>
|
|
40403
|
-
var
|
|
40402
|
+
sw(pme, "CssTypes", () => Be);
|
|
40403
|
+
var Be;
|
|
40404
40404
|
(function(e) {
|
|
40405
40405
|
e.stylesheet = "stylesheet", e.rule = "rule", e.declaration = "declaration", e.comment = "comment", e.container = "container", e.charset =
|
|
40406
40406
|
"charset", e.document = "document", e.customMedia = "custom-media", e.fontFace = "font-face", e.host = "host", e.import = "import", e.keyframes =
|
|
40407
40407
|
"keyframes", e.keyframe = "keyframe", e.layer = "layer", e.media = "media", e.namespace = "namespace", e.page = "page", e.startingStyle = "\
|
|
40408
40408
|
starting-style", e.supports = "supports";
|
|
40409
|
-
})(
|
|
40409
|
+
})(Be || (Be = {}));
|
|
40410
40410
|
var ow = /\/\*[^]*?(?:\*\/|$)/g, fme = /* @__PURE__ */ o((e, t) => {
|
|
40411
40411
|
t = t || {};
|
|
40412
40412
|
let r = 1, n = 1;
|
|
@@ -40441,7 +40441,7 @@ var ow = /\/\*[^]*?(?:\*\/|$)/g, fme = /* @__PURE__ */ o((e, t) => {
|
|
|
40441
40441
|
function u() {
|
|
40442
40442
|
let $ = p();
|
|
40443
40443
|
return {
|
|
40444
|
-
type:
|
|
40444
|
+
type: Be.stylesheet,
|
|
40445
40445
|
stylesheet: {
|
|
40446
40446
|
source: t?.source,
|
|
40447
40447
|
rules: $,
|
|
@@ -40486,7 +40486,7 @@ var ow = /\/\*[^]*?(?:\*\/|$)/g, fme = /* @__PURE__ */ o((e, t) => {
|
|
|
40486
40486
|
if (e.charAt(0) !== "/" || e.charAt(1) !== "*") return;
|
|
40487
40487
|
let k = y(/^\/\*[^]*?\*\//);
|
|
40488
40488
|
return k ? $({
|
|
40489
|
-
type:
|
|
40489
|
+
type: Be.comment,
|
|
40490
40490
|
comment: k[0].slice(2, -2)
|
|
40491
40491
|
}) : l("End of comment missing");
|
|
40492
40492
|
}
|
|
@@ -40522,7 +40522,7 @@ var ow = /\/\*[^]*?(?:\*\/|$)/g, fme = /* @__PURE__ */ o((e, t) => {
|
|
|
40522
40522
|
let W = $t(k[0]);
|
|
40523
40523
|
if (!y(/^:\s*/)) return l("property missing ':'");
|
|
40524
40524
|
let G = y(/^((?:'(?:\\'|.)*?'|"(?:\\"|.)*?"|\([^)]*?\)|[^};])+)/), Q = $({
|
|
40525
|
-
type:
|
|
40525
|
+
type: Be.declaration,
|
|
40526
40526
|
property: W.replace(ow, ""),
|
|
40527
40527
|
value: G ? $t(G[0]).replace(ow, "") : ""
|
|
40528
40528
|
});
|
|
@@ -40544,7 +40544,7 @@ var ow = /\/\*[^]*?(?:\*\/|$)/g, fme = /* @__PURE__ */ o((e, t) => {
|
|
|
40544
40544
|
k.push($[1]), y(/^,\s*/);
|
|
40545
40545
|
if (k.length)
|
|
40546
40546
|
return W({
|
|
40547
|
-
type:
|
|
40547
|
+
type: Be.keyframe,
|
|
40548
40548
|
values: k,
|
|
40549
40549
|
declarations: S() || []
|
|
40550
40550
|
});
|
|
@@ -40561,7 +40561,7 @@ var ow = /\/\*[^]*?(?:\*\/|$)/g, fme = /* @__PURE__ */ o((e, t) => {
|
|
|
40561
40561
|
for (; Ee = _(); )
|
|
40562
40562
|
De.push(Ee), De = De.concat(m());
|
|
40563
40563
|
return d() ? $({
|
|
40564
|
-
type:
|
|
40564
|
+
type: Be.keyframes,
|
|
40565
40565
|
name: Q,
|
|
40566
40566
|
vendor: W,
|
|
40567
40567
|
keyframes: De
|
|
@@ -40575,7 +40575,7 @@ var ow = /\/\*[^]*?(?:\*\/|$)/g, fme = /* @__PURE__ */ o((e, t) => {
|
|
|
40575
40575
|
if (!c()) return l("@supports missing '{'");
|
|
40576
40576
|
let G = m().concat(p());
|
|
40577
40577
|
return d() ? $({
|
|
40578
|
-
type:
|
|
40578
|
+
type: Be.supports,
|
|
40579
40579
|
supports: W,
|
|
40580
40580
|
rules: G
|
|
40581
40581
|
}) : l("@supports missing '}'");
|
|
@@ -40587,7 +40587,7 @@ var ow = /\/\*[^]*?(?:\*\/|$)/g, fme = /* @__PURE__ */ o((e, t) => {
|
|
|
40587
40587
|
if (!c()) return l("@host missing '{'");
|
|
40588
40588
|
let W = m().concat(p());
|
|
40589
40589
|
return d() ? $({
|
|
40590
|
-
type:
|
|
40590
|
+
type: Be.host,
|
|
40591
40591
|
rules: W
|
|
40592
40592
|
}) : l("@host missing '}'");
|
|
40593
40593
|
}
|
|
@@ -40599,7 +40599,7 @@ var ow = /\/\*[^]*?(?:\*\/|$)/g, fme = /* @__PURE__ */ o((e, t) => {
|
|
|
40599
40599
|
if (!c()) return l("@container missing '{'");
|
|
40600
40600
|
let G = m().concat(p());
|
|
40601
40601
|
return d() ? $({
|
|
40602
|
-
type:
|
|
40602
|
+
type: Be.container,
|
|
40603
40603
|
container: W,
|
|
40604
40604
|
rules: G
|
|
40605
40605
|
}) : l("@container missing '}'");
|
|
@@ -40611,12 +40611,12 @@ var ow = /\/\*[^]*?(?:\*\/|$)/g, fme = /* @__PURE__ */ o((e, t) => {
|
|
|
40611
40611
|
let W = $t(k[1]);
|
|
40612
40612
|
if (!c())
|
|
40613
40613
|
return y(/^[;\s]*/), $({
|
|
40614
|
-
type:
|
|
40614
|
+
type: Be.layer,
|
|
40615
40615
|
layer: W
|
|
40616
40616
|
});
|
|
40617
40617
|
let G = m().concat(p());
|
|
40618
40618
|
return d() ? $({
|
|
40619
|
-
type:
|
|
40619
|
+
type: Be.layer,
|
|
40620
40620
|
layer: W,
|
|
40621
40621
|
rules: G
|
|
40622
40622
|
}) : l("@layer missing '}'");
|
|
@@ -40629,7 +40629,7 @@ var ow = /\/\*[^]*?(?:\*\/|$)/g, fme = /* @__PURE__ */ o((e, t) => {
|
|
|
40629
40629
|
if (!c()) return l("@media missing '{'");
|
|
40630
40630
|
let G = m().concat(p());
|
|
40631
40631
|
return d() ? $({
|
|
40632
|
-
type:
|
|
40632
|
+
type: Be.media,
|
|
40633
40633
|
media: W,
|
|
40634
40634
|
rules: G
|
|
40635
40635
|
}) : l("@media missing '}'");
|
|
@@ -40639,7 +40639,7 @@ var ow = /\/\*[^]*?(?:\*\/|$)/g, fme = /* @__PURE__ */ o((e, t) => {
|
|
|
40639
40639
|
let $ = s(), k = y(/^@custom-media\s+(--\S+)\s*([^{;\s][^{;]*);/);
|
|
40640
40640
|
if (k)
|
|
40641
40641
|
return $({
|
|
40642
|
-
type:
|
|
40642
|
+
type: Be.customMedia,
|
|
40643
40643
|
name: $t(k[1]),
|
|
40644
40644
|
media: $t(k[2])
|
|
40645
40645
|
});
|
|
@@ -40654,7 +40654,7 @@ var ow = /\/\*[^]*?(?:\*\/|$)/g, fme = /* @__PURE__ */ o((e, t) => {
|
|
|
40654
40654
|
for (; Q = E(); )
|
|
40655
40655
|
G.push(Q), G = G.concat(m());
|
|
40656
40656
|
return d() ? $({
|
|
40657
|
-
type:
|
|
40657
|
+
type: Be.page,
|
|
40658
40658
|
selectors: W,
|
|
40659
40659
|
declarations: G
|
|
40660
40660
|
}) : l("@page missing '}'");
|
|
@@ -40667,7 +40667,7 @@ var ow = /\/\*[^]*?(?:\*\/|$)/g, fme = /* @__PURE__ */ o((e, t) => {
|
|
|
40667
40667
|
if (!c()) return l("@document missing '{'");
|
|
40668
40668
|
let Q = m().concat(p());
|
|
40669
40669
|
return d() ? $({
|
|
40670
|
-
type:
|
|
40670
|
+
type: Be.document,
|
|
40671
40671
|
document: G,
|
|
40672
40672
|
vendor: W,
|
|
40673
40673
|
rules: Q
|
|
@@ -40682,7 +40682,7 @@ var ow = /\/\*[^]*?(?:\*\/|$)/g, fme = /* @__PURE__ */ o((e, t) => {
|
|
|
40682
40682
|
for (; G = E(); )
|
|
40683
40683
|
W.push(G), W = W.concat(m());
|
|
40684
40684
|
return d() ? $({
|
|
40685
|
-
type:
|
|
40685
|
+
type: Be.fontFace,
|
|
40686
40686
|
declarations: W
|
|
40687
40687
|
}) : l("@font-face missing '}'");
|
|
40688
40688
|
}
|
|
@@ -40693,7 +40693,7 @@ var ow = /\/\*[^]*?(?:\*\/|$)/g, fme = /* @__PURE__ */ o((e, t) => {
|
|
|
40693
40693
|
if (!c()) return l("@starting-style missing '{'");
|
|
40694
40694
|
let W = m().concat(p());
|
|
40695
40695
|
return d() ? $({
|
|
40696
|
-
type:
|
|
40696
|
+
type: Be.startingStyle,
|
|
40697
40697
|
rules: W
|
|
40698
40698
|
}) : l("@starting-style missing '}'");
|
|
40699
40699
|
}
|
|
@@ -40719,7 +40719,7 @@ var ow = /\/\*[^]*?(?:\*\/|$)/g, fme = /* @__PURE__ */ o((e, t) => {
|
|
|
40719
40719
|
function he() {
|
|
40720
40720
|
let $ = s(), k = v();
|
|
40721
40721
|
return k ? (m(), $({
|
|
40722
|
-
type:
|
|
40722
|
+
type: Be.rule,
|
|
40723
40723
|
selectors: k,
|
|
40724
40724
|
declarations: S() || []
|
|
40725
40725
|
})) : l("selector missing");
|
|
@@ -40869,7 +40869,7 @@ var Tme = /* @__PURE__ */ function() {
|
|
|
40869
40869
|
}(), fB = typeof Set > "u" ? Set : Tme;
|
|
40870
40870
|
|
|
40871
40871
|
// ../node_modules/@testing-library/jest-dom/node_modules/dom-accessibility-api/dist/getRole.mjs
|
|
40872
|
-
function
|
|
40872
|
+
function Ue(e) {
|
|
40873
40873
|
var t;
|
|
40874
40874
|
return (
|
|
40875
40875
|
// eslint-disable-next-line no-restricted-properties -- actual guard for environments without localName
|
|
@@ -40879,7 +40879,7 @@ function He(e) {
|
|
|
40879
40879
|
)
|
|
40880
40880
|
);
|
|
40881
40881
|
}
|
|
40882
|
-
o(
|
|
40882
|
+
o(Ue, "getLocalName");
|
|
40883
40883
|
var wme = {
|
|
40884
40884
|
article: "article",
|
|
40885
40885
|
aside: "complementary",
|
|
@@ -40987,10 +40987,10 @@ function vm(e) {
|
|
|
40987
40987
|
}
|
|
40988
40988
|
o(vm, "getRole");
|
|
40989
40989
|
function Cme(e) {
|
|
40990
|
-
var t = wme[
|
|
40990
|
+
var t = wme[Ue(e)];
|
|
40991
40991
|
if (t !== void 0)
|
|
40992
40992
|
return t;
|
|
40993
|
-
switch (
|
|
40993
|
+
switch (Ue(e)) {
|
|
40994
40994
|
case "a":
|
|
40995
40995
|
case "area":
|
|
40996
40996
|
case "link":
|
|
@@ -41049,27 +41049,27 @@ function Oe(e) {
|
|
|
41049
41049
|
}
|
|
41050
41050
|
o(Oe, "isElement");
|
|
41051
41051
|
function aw(e) {
|
|
41052
|
-
return Oe(e) &&
|
|
41052
|
+
return Oe(e) && Ue(e) === "caption";
|
|
41053
41053
|
}
|
|
41054
41054
|
o(aw, "isHTMLTableCaptionElement");
|
|
41055
41055
|
function Ya(e) {
|
|
41056
|
-
return Oe(e) &&
|
|
41056
|
+
return Oe(e) && Ue(e) === "input";
|
|
41057
41057
|
}
|
|
41058
41058
|
o(Ya, "isHTMLInputElement");
|
|
41059
41059
|
function hB(e) {
|
|
41060
|
-
return Oe(e) &&
|
|
41060
|
+
return Oe(e) && Ue(e) === "optgroup";
|
|
41061
41061
|
}
|
|
41062
41062
|
o(hB, "isHTMLOptGroupElement");
|
|
41063
41063
|
function yB(e) {
|
|
41064
|
-
return Oe(e) &&
|
|
41064
|
+
return Oe(e) && Ue(e) === "select";
|
|
41065
41065
|
}
|
|
41066
41066
|
o(yB, "isHTMLSelectElement");
|
|
41067
41067
|
function gB(e) {
|
|
41068
|
-
return Oe(e) &&
|
|
41068
|
+
return Oe(e) && Ue(e) === "table";
|
|
41069
41069
|
}
|
|
41070
41070
|
o(gB, "isHTMLTableElement");
|
|
41071
41071
|
function bB(e) {
|
|
41072
|
-
return Oe(e) &&
|
|
41072
|
+
return Oe(e) && Ue(e) === "textarea";
|
|
41073
41073
|
}
|
|
41074
41074
|
o(bB, "isHTMLTextAreaElement");
|
|
41075
41075
|
function vB(e) {
|
|
@@ -41080,15 +41080,15 @@ function vB(e) {
|
|
|
41080
41080
|
}
|
|
41081
41081
|
o(vB, "safeWindow");
|
|
41082
41082
|
function EB(e) {
|
|
41083
|
-
return Oe(e) &&
|
|
41083
|
+
return Oe(e) && Ue(e) === "fieldset";
|
|
41084
41084
|
}
|
|
41085
41085
|
o(EB, "isHTMLFieldSetElement");
|
|
41086
41086
|
function _B(e) {
|
|
41087
|
-
return Oe(e) &&
|
|
41087
|
+
return Oe(e) && Ue(e) === "legend";
|
|
41088
41088
|
}
|
|
41089
41089
|
o(_B, "isHTMLLegendElement");
|
|
41090
41090
|
function SB(e) {
|
|
41091
|
-
return Oe(e) &&
|
|
41091
|
+
return Oe(e) && Ue(e) === "slot";
|
|
41092
41092
|
}
|
|
41093
41093
|
o(SB, "isHTMLSlotElement");
|
|
41094
41094
|
function Ame(e) {
|
|
@@ -41096,11 +41096,11 @@ function Ame(e) {
|
|
|
41096
41096
|
}
|
|
41097
41097
|
o(Ame, "isSVGElement");
|
|
41098
41098
|
function TB(e) {
|
|
41099
|
-
return Oe(e) &&
|
|
41099
|
+
return Oe(e) && Ue(e) === "svg";
|
|
41100
41100
|
}
|
|
41101
41101
|
o(TB, "isSVGSVGElement");
|
|
41102
41102
|
function wB(e) {
|
|
41103
|
-
return Ame(e) &&
|
|
41103
|
+
return Ame(e) && Ue(e) === "title";
|
|
41104
41104
|
}
|
|
41105
41105
|
o(wB, "isSVGTitleElement");
|
|
41106
41106
|
function Ni(e, t) {
|
|
@@ -41190,7 +41190,7 @@ function xB(e) {
|
|
|
41190
41190
|
}
|
|
41191
41191
|
o(xB, "getTextualContent");
|
|
41192
41192
|
function PB(e) {
|
|
41193
|
-
var t =
|
|
41193
|
+
var t = Ue(e);
|
|
41194
41194
|
return t === "button" || t === "input" && e.getAttribute("type") !== "hidden" || t === "meter" || t === "output" || t === "progress" || t ===
|
|
41195
41195
|
"select" || t === "textarea";
|
|
41196
41196
|
}
|
|
@@ -41300,7 +41300,7 @@ ame" : i, a = t.computedStyleSupportsPseudoElements, l = a === void 0 ? t.getCom
|
|
|
41300
41300
|
return z.textContent;
|
|
41301
41301
|
}
|
|
41302
41302
|
return null;
|
|
41303
|
-
} else if (
|
|
41303
|
+
} else if (Ue(v) === "img" || Ue(v) === "area") {
|
|
41304
41304
|
var P = f(v, "alt");
|
|
41305
41305
|
if (P !== null)
|
|
41306
41306
|
return P;
|