w-design-system 0.4.173 → 0.4.174
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.
|
@@ -9,6 +9,6 @@ export declare const changeFontWeight: {
|
|
|
9
9
|
lighter: import('styled-components').RuleSet<object>;
|
|
10
10
|
normal: import('styled-components').RuleSet<object>;
|
|
11
11
|
};
|
|
12
|
-
export declare const HighlightSpan: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<
|
|
12
|
+
export declare const HighlightSpan: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, HighlightProps>> & string;
|
|
13
13
|
export declare const HighlightMark: import('styled-components/dist/types').IStyledComponentBase<"web", import('styled-components/dist/types').Substitute<import('react').DetailedHTMLProps<import('react').HTMLAttributes<HTMLElement>, HTMLElement>, HighlightProps>> & string;
|
|
14
14
|
//# sourceMappingURL=styles.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Highlight/styles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAG3C,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;CAC7C;AAED,eAAO,MAAM,gBAAgB;;;;CAU5B,CAAC;AASF,eAAO,MAAM,aAAa,
|
|
1
|
+
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/components/Highlight/styles.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,UAAU,CAAC;AAG3C,MAAM,WAAW,cAAc;IAC7B,MAAM,CAAC,EAAE,KAAK,CAAC;IACf,KAAK,CAAC,EAAE,QAAQ,CAAC;IACjB,WAAW,CAAC,EAAE,MAAM,GAAG,SAAS,GAAG,QAAQ,CAAC;CAC7C;AAED,eAAO,MAAM,gBAAgB;;;;CAU5B,CAAC;AASF,eAAO,MAAM,aAAa,qPAIzB,CAAC;AAEF,eAAO,MAAM,aAAa,6OAMzB,CAAC"}
|
package/dist/w-design-system.js
CHANGED
|
@@ -1809,7 +1809,7 @@ const V5 = v.div.withConfig({ displayName: "Container", componentId: "sc-20il44-
|
|
|
1809
1809
|
function DA({ title: A, subTitle: g, element: e, icon: I }) {
|
|
1810
1810
|
return s.jsxs(V5, { children: [I && s.jsx("div", { className: "icon", children: I }), s.jsxs("div", { children: [s.jsx(d0, { element: e || "h4", color: "primary", children: A }), s.jsx(d0, { color: "dark", children: g })] })] });
|
|
1811
1811
|
}
|
|
1812
|
-
const E3 = { bold: H(["font-weight:bold;"]), lighter: H(["font-weight:lighter;"]), normal: H(["font-weight:normal;"]) }, q5 = { lightDark: H(["background:", ";color:", ";"], l.colors.shade40, l.colors.white) }, $5 = v.
|
|
1812
|
+
const E3 = { bold: H(["font-weight:bold;"]), lighter: H(["font-weight:lighter;"]), normal: H(["font-weight:normal;"]) }, q5 = { lightDark: H(["background:", ";color:", ";"], l.colors.shade40, l.colors.white) }, $5 = v.span.withConfig({ displayName: "HighlightSpan", componentId: "sc-dycs9r-0" })(["", ";font-size:", ";font-family:", ";"], ({ $fontWeight: A }) => A && E3[A], ({ $size: A }) => A ? l.fontSizes[A] : "12px", l.fonts.join()), _5 = v.mark.withConfig({ displayName: "HighlightMark", componentId: "sc-dycs9r-1" })(["", ";", ";font-size:", ";font-family:", ";color:white;"], ({ $fontWeight: A }) => A && E3[A], ({ $color: A }) => A === "lightDark" ? q5.lightDark : m0[A || "primary"], ({ $size: A }) => A ? l.fontSizes[A] : "12px", l.fonts.join()), c1 = (A) => RegExp.escape !== void 0 ? RegExp.escape(A) : A.replace(/[.*+?^${}()|[\]\\]/g, "\\$&");
|
|
1813
1813
|
function QA({ partialMatch: A, text: g, searchWords: e, color: I, size: c, fontWeight: C }) {
|
|
1814
1814
|
const t = B0(() => {
|
|
1815
1815
|
const o = new Set(e.filter((r) => r !== ""));
|