@antdv-next/icons 1.1.0 → 1.1.1
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/antd-icons.esm.js
CHANGED
|
@@ -20,6 +20,10 @@ var g = /* @__PURE__ */ a((e, { slots: t }) => (h(r(() => e)), () => t?.default?
|
|
|
20
20
|
layer: {
|
|
21
21
|
type: String,
|
|
22
22
|
required: !1
|
|
23
|
+
},
|
|
24
|
+
zeroRuntime: {
|
|
25
|
+
type: Boolean,
|
|
26
|
+
required: !1
|
|
23
27
|
}
|
|
24
28
|
} });
|
|
25
29
|
function _() {
|
|
@@ -968,13 +972,14 @@ function J(e) {
|
|
|
968
972
|
let t = _(), n = ot;
|
|
969
973
|
d(async () => {
|
|
970
974
|
await u();
|
|
971
|
-
let { prefixCls: r, csp: i, layer: a } = t.value;
|
|
975
|
+
let { prefixCls: r, csp: i, layer: a, zeroRuntime: o } = t.value;
|
|
976
|
+
if (o) return;
|
|
972
977
|
r && (n = n.replace(/anticon/g, r)), a && (n = `@layer ${a} {\n${n}\n}`);
|
|
973
|
-
let
|
|
978
|
+
let s = e.value, c = tt(s);
|
|
974
979
|
Qe(n, "@ant-design-icons", {
|
|
975
980
|
prepend: !a,
|
|
976
981
|
csp: i,
|
|
977
|
-
attachTo:
|
|
982
|
+
attachTo: c
|
|
978
983
|
});
|
|
979
984
|
});
|
|
980
985
|
}
|