@luscii-healthtech/web-ui 2.24.3 → 2.26.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/components/Modal/FullPageModal.d.ts +8 -0
- package/dist/components/Modal/FullPageModalHeader.d.ts +5 -0
- package/dist/index.d.ts +1 -0
- package/dist/web-ui-tailwind.css +11 -0
- package/dist/web-ui.cjs.development.js +26 -0
- package/dist/web-ui.cjs.development.js.map +1 -1
- package/dist/web-ui.cjs.production.min.js +1 -1
- package/dist/web-ui.cjs.production.min.js.map +1 -1
- package/dist/web-ui.esm.js +26 -1
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import React from "react";
|
|
2
|
+
export declare type FullPageModalProps = {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
isOpen?: boolean;
|
|
5
|
+
title: string;
|
|
6
|
+
onCloseClick: (event: React.MouseEvent<Element, MouseEvent> | React.KeyboardEvent<Element>) => void;
|
|
7
|
+
};
|
|
8
|
+
export declare const FullPageModal: React.FC<FullPageModalProps>;
|
package/dist/index.d.ts
CHANGED
|
@@ -110,3 +110,4 @@ export { SearchIcon } from "./components/Icons/SearchIcon";
|
|
|
110
110
|
export { SearchCancelIcon } from "./components/Icons/SearchCancelIcon";
|
|
111
111
|
export { InfoIcon } from "./components/Icons/InfoIcon";
|
|
112
112
|
export { Divider } from "./components/Divider/Divider";
|
|
113
|
+
export { FullPageModal } from "./components/Modal/FullPageModal";
|
package/dist/web-ui-tailwind.css
CHANGED
|
@@ -1272,6 +1272,10 @@ video {
|
|
|
1272
1272
|
height: 3rem;
|
|
1273
1273
|
}
|
|
1274
1274
|
|
|
1275
|
+
.h-19 {
|
|
1276
|
+
height: 4.75rem;
|
|
1277
|
+
}
|
|
1278
|
+
|
|
1275
1279
|
.h-22 {
|
|
1276
1280
|
height: 5.5rem;
|
|
1277
1281
|
}
|
|
@@ -1793,6 +1797,13 @@ video {
|
|
|
1793
1797
|
position: sticky;
|
|
1794
1798
|
}
|
|
1795
1799
|
|
|
1800
|
+
.inset-0 {
|
|
1801
|
+
top: 0;
|
|
1802
|
+
right: 0;
|
|
1803
|
+
bottom: 0;
|
|
1804
|
+
left: 0;
|
|
1805
|
+
}
|
|
1806
|
+
|
|
1796
1807
|
.top-0 {
|
|
1797
1808
|
top: 0;
|
|
1798
1809
|
}
|
|
@@ -7634,6 +7634,31 @@ var Divider = function Divider() {
|
|
|
7634
7634
|
});
|
|
7635
7635
|
};
|
|
7636
7636
|
|
|
7637
|
+
var FullPageModalHeader = function FullPageModalHeader(props) {
|
|
7638
|
+
return /*#__PURE__*/React__default.createElement("div", {
|
|
7639
|
+
className: "flex flex-row items-center h-19 bg-white pl-6"
|
|
7640
|
+
}, /*#__PURE__*/React__default.createElement(Title, {
|
|
7641
|
+
text: props.title
|
|
7642
|
+
}));
|
|
7643
|
+
};
|
|
7644
|
+
|
|
7645
|
+
var FullPageModal = function FullPageModal(props) {
|
|
7646
|
+
return /*#__PURE__*/React__default.createElement(ReactModal, {
|
|
7647
|
+
isOpen: props.isOpen,
|
|
7648
|
+
contentLabel: props.title,
|
|
7649
|
+
overlayClassName: "fixed inset-0 overflow-x-hidden overflow-y-auto z-20",
|
|
7650
|
+
onRequestClose: props.onCloseClick,
|
|
7651
|
+
shouldFocusAfterRender: false,
|
|
7652
|
+
className: "h-screen"
|
|
7653
|
+
}, /*#__PURE__*/React__default.createElement("div", {
|
|
7654
|
+
className: "flex flex-col h-screen"
|
|
7655
|
+
}, /*#__PURE__*/React__default.createElement(FullPageModalHeader, {
|
|
7656
|
+
title: props.title
|
|
7657
|
+
}), /*#__PURE__*/React__default.createElement("div", {
|
|
7658
|
+
className: "h-full bg-slate-100 flex flex-row overflow-hidden"
|
|
7659
|
+
}, props.children)));
|
|
7660
|
+
};
|
|
7661
|
+
|
|
7637
7662
|
exports.AccordionList = AccordionList;
|
|
7638
7663
|
exports.AddIcon = AddIcon;
|
|
7639
7664
|
exports.AlertsIcon = AlertsIcon;
|
|
@@ -7668,6 +7693,7 @@ exports.EyeIcon = EyeIcon;
|
|
|
7668
7693
|
exports.FlexColumn = FlexColumn;
|
|
7669
7694
|
exports.FlexRow = FlexRow;
|
|
7670
7695
|
exports.Form = Form;
|
|
7696
|
+
exports.FullPageModal = FullPageModal;
|
|
7671
7697
|
exports.GearIcon = GearIcon;
|
|
7672
7698
|
exports.GenericForm = GenericForm;
|
|
7673
7699
|
exports.GroupIcon = GroupIcon;
|