@luscii-healthtech/web-ui 42.8.0 → 42.8.1
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.development.js +9 -3
- package/dist/index.development.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/src/components/Icons/ArrowBackward.d.ts +3 -0
- package/dist/src/components/Icons/index.d.ts +1 -0
- package/dist/src/components/PageWithCenteredContentLayout/PageWithCenteredContentLayout.d.ts +11 -1
- package/dist/stories/PageWithCenteredContentLayout.stories.d.ts +3 -0
- package/dist/web-ui-tailwind.css +8 -2
- package/dist/web-ui.esm.js +1 -1
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -409,6 +409,9 @@ var AlarmClockIcon = IconWrapper(SvgAlarmClockIcon);
|
|
|
409
409
|
const SvgAmberAlertIcon = (props) => jsxRuntime.jsx("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0 12 12" }, props, { children: jsxRuntime.jsx("rect", { width: 10, height: 10, x: 1, y: 1, stroke: "currentColor", strokeWidth: 2, rx: 5 }) }));
|
|
410
410
|
var AmberAlertIcon = IconWrapper(SvgAmberAlertIcon);
|
|
411
411
|
|
|
412
|
+
const SvgArrowBackward = (props) => jsxRuntime.jsx("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0 24 24" }, props, { children: jsxRuntime.jsx("path", { fill: "currentColor", d: "m7.373 12.75 5.17 5.17a.7.7 0 0 1 .22.521.74.74 0 0 1-.236.532.78.78 0 0 1-.527.225.7.7 0 0 1-.527-.225l-6.34-6.34A.83.83 0 0 1 4.877 12q0-.18.058-.336a.8.8 0 0 1 .198-.297l6.34-6.34a.72.72 0 0 1 .515-.212.75.75 0 0 1 .539.212.74.74 0 0 1 .233.535q0 .302-.233.534L7.373 11.25H18.75q.32 0 .535.216A.73.73 0 0 1 19.5 12a.73.73 0 0 1-.215.535.73.73 0 0 1-.535.215z" }) }));
|
|
413
|
+
var ArrowBackward = IconWrapper(SvgArrowBackward);
|
|
414
|
+
|
|
412
415
|
const SvgArrowForward = (props) => jsxRuntime.jsx("svg", Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0 24 24" }, props, { children: jsxRuntime.jsx("path", { fill: "currentColor", d: "M16.627 12.75H5.25a.73.73 0 0 1-.535-.216.73.73 0 0 1-.215-.535q0-.319.215-.535a.73.73 0 0 1 .535-.215h11.377l-5.17-5.17a.7.7 0 0 1-.22-.521q.003-.3.236-.532A.78.78 0 0 1 12 4.801a.7.7 0 0 1 .527.225l6.34 6.34a.83.83 0 0 1 .256.633.83.83 0 0 1-.256.633l-6.34 6.34a.72.72 0 0 1-.514.213.75.75 0 0 1-.54-.213.74.74 0 0 1-.233-.535q0-.3.233-.534z" }) }));
|
|
413
416
|
var ArrowForward = IconWrapper(SvgArrowForward);
|
|
414
417
|
|
|
@@ -745,6 +748,7 @@ var Icons = /*#__PURE__*/Object.freeze({
|
|
|
745
748
|
AlertsIcon: BellIcon,
|
|
746
749
|
AmberAlertColoredIcon: AmberAlertColoredIcon,
|
|
747
750
|
AmberAlertIcon: AmberAlertIcon,
|
|
751
|
+
ArrowBackward: ArrowBackward,
|
|
748
752
|
ArrowForward: ArrowForward,
|
|
749
753
|
AssignIcon: AssignIcon,
|
|
750
754
|
AssignedIcon: AssignedIcon,
|
|
@@ -6099,14 +6103,15 @@ const Aside = (props) => {
|
|
|
6099
6103
|
SplitViewLayout.Aside = Aside;
|
|
6100
6104
|
|
|
6101
6105
|
const Header = (props) => {
|
|
6102
|
-
const { children } = props, restProps = __rest(props, ["children"]);
|
|
6103
|
-
|
|
6106
|
+
const { children, className, leftActionSlot, rightActionSlot } = props, restProps = __rest(props, ["children", "className", "leftActionSlot", "rightActionSlot"]);
|
|
6107
|
+
const classes = classNames__default.default(className, "ui:max-w-[100vw] ui:content-center");
|
|
6108
|
+
return jsxRuntime.jsxs(Stack, Object.assign({ as: "header", p: "xl", axis: "x", backgroundColor: "surface", className: classes, gap: "xxl", align: "center", justify: "center" }, restProps, { children: [(leftActionSlot || rightActionSlot) && jsxRuntime.jsx(Box, { className: "ui:w-[--spacing(9)] ui:h-[--spacing(9)]", children: leftActionSlot }), jsxRuntime.jsx(Stack, { axis: "x", justify: "center", width: "full", className: "ui:lg:max-w-[--spacing(310)]", children: jsxRuntime.jsx(Box, { width: "full", children }) }), (leftActionSlot || rightActionSlot) && jsxRuntime.jsx(Box, { className: "ui:w-[--spacing(9)] ui:h-[--spacing(9)]", children: rightActionSlot })] }));
|
|
6104
6109
|
};
|
|
6105
6110
|
Header.displayName = "PageWithCenteredContentLayout.Header";
|
|
6106
6111
|
const Main = (props) => {
|
|
6107
6112
|
const { children, className } = props, restProps = __rest(props, ["children", "className"]);
|
|
6108
6113
|
const classes = classNames__default.default(className, "ui:max-w-[100vw] ui:content-center ui:z-10");
|
|
6109
|
-
return jsxRuntime.jsx(Stack, Object.assign({ as: "main", width: "full", align: "center", p: "xl", className: classes }, restProps, { children: jsxRuntime.jsx(Box, { width: "full", className: "ui:lg:max-w-[--spacing(
|
|
6114
|
+
return jsxRuntime.jsx(Stack, Object.assign({ as: "main", width: "full", align: "center", p: "xl", className: classes }, restProps, { children: jsxRuntime.jsx(Box, { width: "full", className: "ui:lg:max-w-[--spacing(310)]", children }) }));
|
|
6110
6115
|
};
|
|
6111
6116
|
Main.displayName = "PageWithCenteredContentLayout.Main";
|
|
6112
6117
|
const PageWithCenteredContentLayout = (props) => {
|
|
@@ -6254,6 +6259,7 @@ exports.AlertWidget = AlertWidget;
|
|
|
6254
6259
|
exports.AlertsIcon = BellIcon;
|
|
6255
6260
|
exports.AmberAlertColoredIcon = AmberAlertColoredIcon;
|
|
6256
6261
|
exports.AmberAlertIcon = AmberAlertIcon;
|
|
6262
|
+
exports.ArrowBackward = ArrowBackward;
|
|
6257
6263
|
exports.ArrowForward = ArrowForward;
|
|
6258
6264
|
exports.AsideLayout = AsideLayout;
|
|
6259
6265
|
exports.AssignIcon = AssignIcon;
|