@moser-inc/moser-labs-react 1.10.3 → 1.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/moser-labs-react.js
CHANGED
|
@@ -20004,6 +20004,41 @@ const LabsSpeedDialNav = ({
|
|
|
20004
20004
|
...ut
|
|
20005
20005
|
}
|
|
20006
20006
|
);
|
|
20007
|
+
}, StyledPlaceholder = st.div`
|
|
20008
|
+
display: flex;
|
|
20009
|
+
flex-direction: column;
|
|
20010
|
+
align-items: center;
|
|
20011
|
+
justify-content: center;
|
|
20012
|
+
background: var(--surface-card);
|
|
20013
|
+
color: var(--text-color);
|
|
20014
|
+
border-radius: 1rem;
|
|
20015
|
+
padding: 6rem 2rem;
|
|
20016
|
+
|
|
20017
|
+
${({ inset: p }) => p && "background: transparent"};
|
|
20018
|
+
${({ inset: p }) => p && "color: var(--surface-card)"};
|
|
20019
|
+
|
|
20020
|
+
.Placeholder__icon {
|
|
20021
|
+
font-size: 4rem;
|
|
20022
|
+
margin-bottom: 1.5rem;
|
|
20023
|
+
}
|
|
20024
|
+
|
|
20025
|
+
.Placeholder__body {
|
|
20026
|
+
&-text {
|
|
20027
|
+
font-weight: 700;
|
|
20028
|
+
font-size: 1.5rem;
|
|
20029
|
+
}
|
|
20030
|
+
}
|
|
20031
|
+
`, LabsPlaceholder = ({
|
|
20032
|
+
children: p,
|
|
20033
|
+
icon: Xe,
|
|
20034
|
+
inset: Je,
|
|
20035
|
+
text: ut
|
|
20036
|
+
}) => {
|
|
20037
|
+
const lt = () => p || /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "Placeholder__body-text", children: ut });
|
|
20038
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs(StyledPlaceholder, { inset: Je, children: [
|
|
20039
|
+
Xe && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "Placeholder__top", children: /* @__PURE__ */ jsxRuntimeExports.jsx(LabsIcon, { icon: Xe, className: "Placeholder__icon" }) }),
|
|
20040
|
+
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "Placeholder__body", children: lt() })
|
|
20041
|
+
] });
|
|
20007
20042
|
};
|
|
20008
20043
|
function _extends$8() {
|
|
20009
20044
|
return _extends$8 = Object.assign ? Object.assign.bind() : function(p) {
|
|
@@ -25970,6 +26005,7 @@ export {
|
|
|
25970
26005
|
LabsMainDesktopNav,
|
|
25971
26006
|
LabsMainMobileNav,
|
|
25972
26007
|
LabsMenuNav,
|
|
26008
|
+
LabsPlaceholder,
|
|
25973
26009
|
LabsSelect,
|
|
25974
26010
|
LabsSpeedDialNav,
|
|
25975
26011
|
LabsText,
|