@photoroom/ui 0.1.209 → 0.1.211
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.
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"HighLightedText.d.ts","sourceRoot":"","sources":["../../../../src/components/unsorted/HighLightedText/HighLightedText.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,KAAK,qBAAqB,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,KAAK,eAAe,GAAG,mBAAmB,CAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;AAEvE,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"HighLightedText.d.ts","sourceRoot":"","sources":["../../../../src/components/unsorted/HighLightedText/HighLightedText.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,mBAAmB,EAAE,MAAM,mBAAmB,CAAC;AAExD,KAAK,qBAAqB,GAAG;IAC3B,IAAI,EAAE,MAAM,CAAC;IACb,QAAQ,EAAE,MAAM,EAAE,CAAC;IACnB,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB,CAAC;AAEF,KAAK,eAAe,GAAG,mBAAmB,CAAC,GAAG,EAAE,qBAAqB,CAAC,CAAC;AAEvE,eAAO,MAAM,eAAe,EAuBvB,eAAe,CAAC"}
|
package/index.mjs
CHANGED
|
@@ -53221,6 +53221,7 @@ var cge = ({ features: e }) => /* @__PURE__ */ E("ul", {
|
|
|
53221
53221
|
}, w7 = l(({ as: e = "p", text: t, segments: n, highLightStyle: r, className: i }, a) => {
|
|
53222
53222
|
let o = t;
|
|
53223
53223
|
for (let e of n) {
|
|
53224
|
+
if (typeof e != "string" || !e) continue;
|
|
53224
53225
|
let t = e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
53225
53226
|
o = o.replace(new RegExp(t, "gi"), (e) => `<strong style="${r}">${e}</strong>`);
|
|
53226
53227
|
}
|
|
@@ -56707,7 +56708,7 @@ var bve = Object.assign(R9, {
|
|
|
56707
56708
|
className: "component-700 sm:component-800 text-content-primary mb-1 max-w-[900px] sm:mb-2",
|
|
56708
56709
|
children: t
|
|
56709
56710
|
}),
|
|
56710
|
-
/* @__PURE__ */ E("
|
|
56711
|
+
/* @__PURE__ */ E("h1", {
|
|
56711
56712
|
className: "heading-thin-800 text-content-primary sm:heading-thin-1100 lg:heading-thin-1200 max-w-[1072px] text-balance",
|
|
56712
56713
|
children: e
|
|
56713
56714
|
}),
|