w-design-system 0.4.169 → 0.4.170
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/w-design-system.js
CHANGED
|
@@ -1844,7 +1844,7 @@ function QA({ open: A, close: g, title: e, subTitle: I, icon: c, action: C, notH
|
|
|
1844
1844
|
document.removeEventListener("mousedown", G), document.removeEventListener("touchstart", G);
|
|
1845
1845
|
};
|
|
1846
1846
|
}, Y = [r, m], Q[0] = m, Q[1] = r, Q[2] = j, Q[3] = Y) : (j = Q[2], Y = Q[3]), l0(j, Y);
|
|
1847
|
-
}(M, n), A ? s1.createPortal(s.jsx(_5, { ...B, children: s.jsxs(A7, { ref: M, $side: o || "right", ...B, children: [t ? s.jsx("div", { className: "content-not-header", ref: a, children: f }) : s.jsxs(s.Fragment, { children: [s.jsxs("div", { className: "wrapper-heading", children: [c && s.jsx("span", { className: "icon", children: c }), s.jsxs("div", { children: [s.jsx(d0, { element: "h3", bold: !0, color: "white", children: e }), s.jsx(d0, { element: "span", size: "p3", color: "white", children: I && I })] })] }), s.jsx("div", { className: "content", ref: a, children: f })] }), h !== !1 && s.jsxs("div", { className: "button-wrapp", children: [
|
|
1847
|
+
}(M, n), A ? s1.createPortal(s.jsx(_5, { ...B, children: s.jsxs(A7, { ref: M, $side: o || "right", ...B, children: [t ? s.jsx("div", { className: "content-not-header", ref: a, children: f }) : s.jsxs(s.Fragment, { children: [s.jsxs("div", { className: "wrapper-heading", children: [c && s.jsx("span", { className: "icon", children: c }), s.jsxs("div", { children: [s.jsx(d0, { element: "h3", bold: !0, color: "white", children: e }), s.jsx(d0, { element: "span", size: "p3", color: "white", children: I && I })] })] }), s.jsx("div", { className: "content", ref: a, children: f })] }), h !== !1 && s.jsxs("div", { className: "button-wrapp", children: [s.jsx(e4, { size: "small", variant: "gray", onClick: n, children: "Fechar" }), C] })] }) }), document.body) : null;
|
|
1848
1848
|
}
|
|
1849
1849
|
const e7 = v.button.withConfig({ displayName: "ContainerButtonRadius", componentId: "sc-1dj9n91-0" })(["border-radius:50%;transition:transform 0.3s;cursor:pointer;"]), e1 = (A) => A === "small" ? "25px" : A === "large" ? "36px" : "30px", l7 = v(e7).withConfig({ displayName: "StyledButtonRadius", componentId: "sc-1dj9n91-1" })(["display:flex;align-items:center;justify-content:center;border:", ";", ";", ";width:", ";height:", ";svg{width:", ";height:", ";}&:disabled{opacity:0.4;cursor:not-allowed;}&:hover:not(:disabled){transform:scale(1.03);box-shadow:0 4px 4px rgba(0,0,0,0.1);}:active:not(:disabled){transform:scale(1.01);opacity:0.8;}"], ({ $outlined: A }) => A ? "1px solid" : "0", ({ $outlined: A, $color: g }) => A && M3[g || "primary"], ({ $color: A, $outlined: g }) => !g && m0[A || "primary"], ({ $size: A }) => A ? e1(A) : "30px", ({ $size: A }) => A ? e1(A) : "30px", ({ $size: A }) => A === "small" ? "10px" : "14px", ({ $size: A }) => A === "small" ? "10px" : "14px");
|
|
1850
1850
|
function s7({ outlined: A, color: g, disabled: e, size: I, icon: c, ...C }) {
|