@oliasoft-open-source/react-ui-library 6.11.0-beta-22 → 6.11.0
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
CHANGED
|
@@ -1790,70 +1790,66 @@ var La = (e) => e.replace(/^lch\(\s*(\d+(?:\.\d+)?)(?!%)\s+/, "lch($1% "), Ra =
|
|
|
1790
1790
|
}
|
|
1791
1791
|
});
|
|
1792
1792
|
}), uo = {
|
|
1793
|
-
|
|
1794
|
-
|
|
1795
|
-
|
|
1796
|
-
|
|
1797
|
-
|
|
1798
|
-
|
|
1799
|
-
|
|
1800
|
-
|
|
1801
|
-
footer: "_footer_1ggud_56"
|
|
1793
|
+
dialog: "_dialog_64i57_1",
|
|
1794
|
+
inline: "_inline_64i57_19",
|
|
1795
|
+
scroll: "_scroll_64i57_22",
|
|
1796
|
+
header: "_header_64i57_25",
|
|
1797
|
+
dismiss: "_dismiss_64i57_34",
|
|
1798
|
+
subheading: "_subheading_64i57_39",
|
|
1799
|
+
content: "_content_64i57_42",
|
|
1800
|
+
footer: "_footer_64i57_51"
|
|
1802
1801
|
}, fo = (e) => nn(e) ? e.map((e, n) => /* @__PURE__ */ b(t, { children: [
|
|
1803
1802
|
e,
|
|
1804
1803
|
" ",
|
|
1805
1804
|
/* @__PURE__ */ y("br", {})
|
|
1806
1805
|
] }, n)) : e, po = ({ dialog: e }) => {
|
|
1807
1806
|
let { heading: t, subheading: n, content: r, contentPadding: i = "var(--padding)", footer: a, scroll: o, width: s, height: c, onClose: l, testId: u } = e, d = t != null && t !== "";
|
|
1808
|
-
return /* @__PURE__ */
|
|
1809
|
-
className: uo.
|
|
1807
|
+
return /* @__PURE__ */ b(Pn, {
|
|
1808
|
+
className: _(uo.dialog, s ? uo.inline : null, o ? uo.scroll : null),
|
|
1809
|
+
style: {
|
|
1810
|
+
width: s,
|
|
1811
|
+
height: c
|
|
1812
|
+
},
|
|
1810
1813
|
"aria-label": t == null ? "Dialog" : t,
|
|
1811
|
-
|
|
1812
|
-
|
|
1813
|
-
|
|
1814
|
-
|
|
1815
|
-
|
|
1816
|
-
|
|
1817
|
-
|
|
1818
|
-
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
|
|
1822
|
-
|
|
1823
|
-
|
|
1824
|
-
|
|
1825
|
-
|
|
1826
|
-
|
|
1827
|
-
|
|
1828
|
-
|
|
1829
|
-
|
|
1830
|
-
|
|
1831
|
-
|
|
1832
|
-
|
|
1833
|
-
|
|
1834
|
-
|
|
1835
|
-
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
|
|
1839
|
-
|
|
1840
|
-
|
|
1841
|
-
|
|
1842
|
-
|
|
1843
|
-
|
|
1844
|
-
|
|
1845
|
-
|
|
1846
|
-
|
|
1847
|
-
|
|
1848
|
-
|
|
1849
|
-
|
|
1850
|
-
a && /* @__PURE__ */ y("div", {
|
|
1851
|
-
"data-testid": u && `${u}-footer`,
|
|
1852
|
-
className: uo.footer,
|
|
1853
|
-
children: a
|
|
1854
|
-
})
|
|
1855
|
-
]
|
|
1856
|
-
})
|
|
1814
|
+
"data-testid": u == null ? null : u,
|
|
1815
|
+
children: [
|
|
1816
|
+
/* @__PURE__ */ b("div", {
|
|
1817
|
+
className: uo.header,
|
|
1818
|
+
children: [/* @__PURE__ */ b("div", { children: [d ? /* @__PURE__ */ y(lo, {
|
|
1819
|
+
slot: "title",
|
|
1820
|
+
top: !0,
|
|
1821
|
+
marginBottom: 0,
|
|
1822
|
+
testId: u && `${u}-heading`,
|
|
1823
|
+
children: t
|
|
1824
|
+
}) : null, n ? /* @__PURE__ */ y("div", {
|
|
1825
|
+
className: uo.subheading,
|
|
1826
|
+
children: n
|
|
1827
|
+
}) : null] }), l ? /* @__PURE__ */ y("div", {
|
|
1828
|
+
className: uo.dismiss,
|
|
1829
|
+
children: /* @__PURE__ */ y(K, {
|
|
1830
|
+
icon: H.CLOSE,
|
|
1831
|
+
round: !0,
|
|
1832
|
+
basic: !0,
|
|
1833
|
+
small: !0,
|
|
1834
|
+
colored: "muted",
|
|
1835
|
+
onClick: l,
|
|
1836
|
+
testId: u && `${u}-dismiss`,
|
|
1837
|
+
ignoreDisabledContext: !0
|
|
1838
|
+
})
|
|
1839
|
+
}) : null]
|
|
1840
|
+
}),
|
|
1841
|
+
/* @__PURE__ */ y("div", {
|
|
1842
|
+
"data-testid": u && `${u}-content`,
|
|
1843
|
+
className: uo.content,
|
|
1844
|
+
style: { padding: i },
|
|
1845
|
+
children: fo(r)
|
|
1846
|
+
}),
|
|
1847
|
+
a && /* @__PURE__ */ y("div", {
|
|
1848
|
+
"data-testid": u && `${u}-footer`,
|
|
1849
|
+
className: uo.footer,
|
|
1850
|
+
children: a
|
|
1851
|
+
})
|
|
1852
|
+
]
|
|
1857
1853
|
});
|
|
1858
1854
|
}, mo = {
|
|
1859
1855
|
inputInTable: "_inputInTable_c4h57_1",
|
package/package.json
CHANGED