viconic-react-icons 1.5.4 → 1.5.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.
- package/dist/index.js +2 -2
- package/dist/index.mjs +2 -2
- package/package.json +1 -1
- package/src/index.jsx +3 -3
package/dist/index.js
CHANGED
|
@@ -2150,7 +2150,7 @@ var ViconicIcon = ({ name, className, style, size, color, ...props }) => {
|
|
|
2150
2150
|
window.CopyIcons.forceProcess(el);
|
|
2151
2151
|
}
|
|
2152
2152
|
}
|
|
2153
|
-
if (!isInjected() && el._u) {
|
|
2153
|
+
if (!isInjected() && !isKitIcon && el._u) {
|
|
2154
2154
|
el._u();
|
|
2155
2155
|
}
|
|
2156
2156
|
if (isInjected()) return;
|
|
@@ -2166,7 +2166,7 @@ var ViconicIcon = ({ name, className, style, size, color, ...props }) => {
|
|
|
2166
2166
|
return;
|
|
2167
2167
|
}
|
|
2168
2168
|
}
|
|
2169
|
-
if (el._u) el._u();
|
|
2169
|
+
if (!isKitIcon && el._u) el._u();
|
|
2170
2170
|
if (!isKitIcon && window.CopyIcons && window.CopyIcons.forceProcess) {
|
|
2171
2171
|
window.CopyIcons.forceProcess(el);
|
|
2172
2172
|
}
|
package/dist/index.mjs
CHANGED
|
@@ -2115,7 +2115,7 @@ var ViconicIcon = ({ name, className, style, size, color, ...props }) => {
|
|
|
2115
2115
|
window.CopyIcons.forceProcess(el);
|
|
2116
2116
|
}
|
|
2117
2117
|
}
|
|
2118
|
-
if (!isInjected() && el._u) {
|
|
2118
|
+
if (!isInjected() && !isKitIcon && el._u) {
|
|
2119
2119
|
el._u();
|
|
2120
2120
|
}
|
|
2121
2121
|
if (isInjected()) return;
|
|
@@ -2131,7 +2131,7 @@ var ViconicIcon = ({ name, className, style, size, color, ...props }) => {
|
|
|
2131
2131
|
return;
|
|
2132
2132
|
}
|
|
2133
2133
|
}
|
|
2134
|
-
if (el._u) el._u();
|
|
2134
|
+
if (!isKitIcon && el._u) el._u();
|
|
2135
2135
|
if (!isKitIcon && window.CopyIcons && window.CopyIcons.forceProcess) {
|
|
2136
2136
|
window.CopyIcons.forceProcess(el);
|
|
2137
2137
|
}
|
package/package.json
CHANGED
package/src/index.jsx
CHANGED
|
@@ -263,8 +263,8 @@ export const ViconicIcon = ({ name, className, style, size, color, ...props }) =
|
|
|
263
263
|
}
|
|
264
264
|
}
|
|
265
265
|
|
|
266
|
-
// --- PATH 3: Custom element _u() call (kit loader registered element) ---
|
|
267
|
-
if (!isInjected() && el._u) {
|
|
266
|
+
// --- PATH 3: Custom element _u() call (kit loader registered element, system icons only) ---
|
|
267
|
+
if (!isInjected() && !isKitIcon && el._u) {
|
|
268
268
|
el._u();
|
|
269
269
|
}
|
|
270
270
|
|
|
@@ -286,7 +286,7 @@ export const ViconicIcon = ({ name, className, style, size, color, ...props }) =
|
|
|
286
286
|
return;
|
|
287
287
|
}
|
|
288
288
|
}
|
|
289
|
-
if (el._u) el._u();
|
|
289
|
+
if (!isKitIcon && el._u) el._u();
|
|
290
290
|
if (!isKitIcon && window.CopyIcons && window.CopyIcons.forceProcess) {
|
|
291
291
|
window.CopyIcons.forceProcess(el);
|
|
292
292
|
}
|