@lobehub/icons-rn 2.5.0 → 2.6.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/esm/index.js +13 -7
- package/dist/esm/index.js.map +1 -1
- package/dist/index.d.mts +1 -0
- package/dist/index.d.ts +1 -0
- package/dist/index.js +12 -6
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -783,7 +783,8 @@ var Avatar5 = react.memo((_a) => {
|
|
|
783
783
|
});
|
|
784
784
|
var Avatar_default5 = Avatar5;
|
|
785
785
|
var useFillId = (namespace) => {
|
|
786
|
-
const
|
|
786
|
+
const uniqueId = react.useId();
|
|
787
|
+
const id = `lobe-icons-${esToolkit.kebabCase(namespace)}-${uniqueId}`;
|
|
787
788
|
return react.useMemo(
|
|
788
789
|
() => ({
|
|
789
790
|
fill: `url(#${id})`,
|
|
@@ -793,16 +794,16 @@ var useFillId = (namespace) => {
|
|
|
793
794
|
);
|
|
794
795
|
};
|
|
795
796
|
var useFillIds = (namespace, length) => {
|
|
797
|
+
const uniqueId = react.useId();
|
|
796
798
|
return react.useMemo(() => {
|
|
797
|
-
|
|
798
|
-
const id = `lobe-icons-${esToolkit.kebabCase(namespace)}
|
|
799
|
+
return Array.from({ length }, (_, i) => {
|
|
800
|
+
const id = `lobe-icons-${esToolkit.kebabCase(namespace)}-${i}-${uniqueId}`;
|
|
799
801
|
return {
|
|
800
802
|
fill: `url(#${id})`,
|
|
801
803
|
id
|
|
802
804
|
};
|
|
803
805
|
});
|
|
804
|
-
|
|
805
|
-
}, [namespace, length]);
|
|
806
|
+
}, [namespace, length, uniqueId]);
|
|
806
807
|
};
|
|
807
808
|
var Icon13 = react.memo((_a) => {
|
|
808
809
|
var _b = _a, { size = 24, style } = _b, rest = __objRest(_b, ["size", "style"]);
|
|
@@ -27102,6 +27103,7 @@ var RNModelProvider = /* @__PURE__ */ ((RNModelProvider2) => {
|
|
|
27102
27103
|
RNModelProvider2["Spark"] = "spark";
|
|
27103
27104
|
RNModelProvider2["Stability"] = "stability";
|
|
27104
27105
|
RNModelProvider2["StateCloud"] = "statecloud";
|
|
27106
|
+
RNModelProvider2["StepFunCodingPlan"] = "stepfuncodingplan";
|
|
27105
27107
|
RNModelProvider2["Stepfun"] = "stepfun";
|
|
27106
27108
|
RNModelProvider2["Straico"] = "straico";
|
|
27107
27109
|
RNModelProvider2["StreamLake"] = "streamlake";
|
|
@@ -27289,7 +27291,11 @@ var rnProviderMappings = [
|
|
|
27289
27291
|
combineMultiple: 1.1,
|
|
27290
27292
|
keywords: ["qwen" /* Qwen */]
|
|
27291
27293
|
},
|
|
27292
|
-
{
|
|
27294
|
+
{
|
|
27295
|
+
Icon: Stepfun_default,
|
|
27296
|
+
combineMultiple: 0.83,
|
|
27297
|
+
keywords: ["stepfun" /* Stepfun */, "stepfuncodingplan" /* StepFunCodingPlan */]
|
|
27298
|
+
},
|
|
27293
27299
|
{ Icon: Spark_default, combineMultiple: 0.92, keywords: ["spark" /* Spark */] },
|
|
27294
27300
|
{ Icon: Fireworks_default, combineMultiple: 1.14, keywords: ["fireworksai" /* FireworksAI */] },
|
|
27295
27301
|
{ Icon: Baichuan_default, combineMultiple: 0.83, keywords: ["baichuan" /* Baichuan */] },
|