@luscii-healthtech/web-ui 35.0.1 → 35.2.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/Icons/SmallArrowDownIcon.d.ts +4 -0
- package/dist/components/Icons/SmallArrowUpIcon.d.ts +4 -0
- package/dist/components/Icons/SmallUpsideDownTriangleIcon.d.ts +4 -0
- package/dist/components/Icons/index.d.ts +3 -0
- package/dist/components/Input/StyledInput.d.ts +1 -1
- package/dist/index.development.js +54 -40
- package/dist/index.development.js.map +1 -1
- package/dist/index.js +1 -1
- package/dist/index.js.map +1 -1
- package/dist/web-ui-tailwind.css +0 -49
- package/dist/web-ui.esm.js +1 -1
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +1 -1
- package/dist/components/Button/Button.d.ts +0 -11
- package/dist/components/Button/Button.types.d.ts +0 -32
- package/dist/components/Button/ButtonIcon.d.ts +0 -7
|
@@ -76,9 +76,12 @@ export { default as RobotIcon } from "./RobotIcon";
|
|
|
76
76
|
export { default as RocketIcon } from "./RocketIcon";
|
|
77
77
|
export { default as SearchIcon } from "./SearchIcon";
|
|
78
78
|
export { default as ShareIcon } from "./ShareIcon";
|
|
79
|
+
export { default as SmallArrowDownIcon } from "./SmallArrowDownIcon";
|
|
80
|
+
export { default as SmallArrowUpIcon } from "./SmallArrowUpIcon";
|
|
79
81
|
export { default as SmallCircleIcon } from "./SmallCircleIcon";
|
|
80
82
|
export { default as SmallDiamondIcon } from "./SmallDiamondIcon";
|
|
81
83
|
export { default as SmallSquareIcon } from "./SmallSquareIcon";
|
|
84
|
+
export { default as SmallUpsideDownTriangleIcon } from "./SmallUpsideDownTriangleIcon";
|
|
82
85
|
export { default as StarIcon } from "./StarIcon";
|
|
83
86
|
export { default as StopwatchIcon } from "./StopwatchIcon";
|
|
84
87
|
export { default as TadaIcon } from "./TadaIcon";
|
|
@@ -4,7 +4,7 @@ import { FormFieldSize } from "../../types/general.types";
|
|
|
4
4
|
export declare const StyledInput: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref">, "width"> & {
|
|
5
5
|
suffix?: string | undefined;
|
|
6
6
|
prefix?: string | undefined;
|
|
7
|
-
icon?: "AbsentIcon" | "AlarmClockIcon" | "AmberAlertIcon" | "AssignedIcon" | "BellIconSlashed" | "BellIcon" | "BluetoothIcon" | "BrushIcon" | "CalendarDayIcon" | "CalendarMonthIcon" | "CalendarRepeatIcon" | "ChartBarsIcon" | "ChartLineAndBarsIcon" | "ChatBubbleIcon" | "ChatBubbleWithTextIcon" | "CheckIcon" | "ChevronDoubleIcon" | "ChevronDownIcon" | "ChevronLeftIcon" | "ChevronRightIcon" | "ClockIcon" | "CogwheelIcon" | "CopyToClipboardIcon" | "CrossIcon" | "CrossInCircleIcon" | "CrossInFilledCircleIcon" | "DatabaseIcon" | "DownloadIcon" | "DragIndicatorIcon" | "EarthIcon" | "EmailIcon" | "EmptyIcon" | "ExclamationMarkIcon" | "ExportIcon" | "ExternalLinkIcon" | "EyeClosedIcon" | "EyeOpenIcon" | "FilterIcon" | "FireIcon" | "FirstAidKitIcon" | "FlagIcon" | "ForwardIcon" | "GrayAlertIcon" | "GroupIcon" | "GroupOfThreeIcon" | "HamburgerIcon" | "HandshakeIcon" | "HeartIcon" | "HeartMinusIcon" | "HomeIcon" | "ImageIcon" | "InfoIcon" | "LifebuoyIcon" | "LightBulbIcon" | "LinkIcon" | "ListIcon" | "LockIcon" | "LogInIcon" | "LogOutIcon" | "MessageWithArrowIcon" | "MoreIcon" | "MouseIcon" | "NoteIcon" | "PageViewIcon" | "PaperclipIcon" | "PatientIcon" | "PencilIcon" | "PhoneIcon" | "PieChartIcon" | "PinIcon" | "PlusIcon" | "PrinterIcon" | "RedAlertIcon" | "RobotIcon" | "RocketIcon" | "SearchIcon" | "ShareIcon" | "SmallCircleIcon" | "SmallDiamondIcon" | "SmallSquareIcon" | "StarIcon" | "StopwatchIcon" | "TadaIcon" | "TrashBinIcon" | "TreeIcon" | "UnassignedIcon" | "AddIcon" | "AlertsIcon" | "ChartIcon" | "ChatBoxIcon" | "DeleteIcon" | "DragIcon" | "EditIcon" | "EyeIcon" | "EyeIconSlashed" | "GearIcon" | "MessagesIcon" | "NotesIcon" | "PrintIcon" | "SpaceRocketIcon" | "SettingsIcon" | "RightArrowIcon" | "DownArrowIcon" | "LeftArrowIcon" | "WarningIcon" | "ChartLineColoredIcon" | "GearColoredIcon" | "GroupColoredIcon" | "StatusColoredIcon" | React.FC<IconProps> | undefined;
|
|
7
|
+
icon?: "AbsentIcon" | "AlarmClockIcon" | "AmberAlertIcon" | "AssignedIcon" | "BellIconSlashed" | "BellIcon" | "BluetoothIcon" | "BrushIcon" | "CalendarDayIcon" | "CalendarMonthIcon" | "CalendarRepeatIcon" | "ChartBarsIcon" | "ChartLineAndBarsIcon" | "ChatBubbleIcon" | "ChatBubbleWithTextIcon" | "CheckIcon" | "ChevronDoubleIcon" | "ChevronDownIcon" | "ChevronLeftIcon" | "ChevronRightIcon" | "ClockIcon" | "CogwheelIcon" | "CopyToClipboardIcon" | "CrossIcon" | "CrossInCircleIcon" | "CrossInFilledCircleIcon" | "DatabaseIcon" | "DownloadIcon" | "DragIndicatorIcon" | "EarthIcon" | "EmailIcon" | "EmptyIcon" | "ExclamationMarkIcon" | "ExportIcon" | "ExternalLinkIcon" | "EyeClosedIcon" | "EyeOpenIcon" | "FilterIcon" | "FireIcon" | "FirstAidKitIcon" | "FlagIcon" | "ForwardIcon" | "GrayAlertIcon" | "GroupIcon" | "GroupOfThreeIcon" | "HamburgerIcon" | "HandshakeIcon" | "HeartIcon" | "HeartMinusIcon" | "HomeIcon" | "ImageIcon" | "InfoIcon" | "LifebuoyIcon" | "LightBulbIcon" | "LinkIcon" | "ListIcon" | "LockIcon" | "LogInIcon" | "LogOutIcon" | "MessageWithArrowIcon" | "MoreIcon" | "MouseIcon" | "NoteIcon" | "PageViewIcon" | "PaperclipIcon" | "PatientIcon" | "PencilIcon" | "PhoneIcon" | "PieChartIcon" | "PinIcon" | "PlusIcon" | "PrinterIcon" | "RedAlertIcon" | "RobotIcon" | "RocketIcon" | "SearchIcon" | "ShareIcon" | "SmallArrowDownIcon" | "SmallArrowUpIcon" | "SmallCircleIcon" | "SmallDiamondIcon" | "SmallSquareIcon" | "SmallUpsideDownTriangleIcon" | "StarIcon" | "StopwatchIcon" | "TadaIcon" | "TrashBinIcon" | "TreeIcon" | "UnassignedIcon" | "AddIcon" | "AlertsIcon" | "ChartIcon" | "ChatBoxIcon" | "DeleteIcon" | "DragIcon" | "EditIcon" | "EyeIcon" | "EyeIconSlashed" | "GearIcon" | "MessagesIcon" | "NotesIcon" | "PrintIcon" | "SpaceRocketIcon" | "SettingsIcon" | "RightArrowIcon" | "DownArrowIcon" | "LeftArrowIcon" | "WarningIcon" | "ChartLineColoredIcon" | "GearColoredIcon" | "GroupColoredIcon" | "StatusColoredIcon" | React.FC<IconProps> | undefined;
|
|
8
8
|
width?: FormFieldSize | [FormFieldSize, (FormFieldSize | undefined)?, (FormFieldSize | undefined)?, (FormFieldSize | undefined)?, (FormFieldSize | undefined)?] | undefined;
|
|
9
9
|
isError?: boolean | undefined;
|
|
10
10
|
isClearIconVisible?: boolean | undefined;
|
|
@@ -26,7 +26,6 @@ var FlyOutMenuPrimitive = require('@radix-ui/react-dropdown-menu');
|
|
|
26
26
|
var tailwindMerge = require('tailwind-merge');
|
|
27
27
|
var ReactSelect = require('react-select');
|
|
28
28
|
var groupBy = require('lodash/groupBy');
|
|
29
|
-
require('@reach/router');
|
|
30
29
|
var debounce = require('lodash.debounce');
|
|
31
30
|
var RadixSwitch = require('@radix-ui/react-switch');
|
|
32
31
|
var Quill = require('quill');
|
|
@@ -285,7 +284,7 @@ const SvgChartBarsIcon = (props) => React__namespace.default.createElement(
|
|
|
285
284
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0 24 24" }, props),
|
|
286
285
|
React__namespace.default.createElement("path", { fill: "currentColor", d: "M4 19h4.337v-8H4v8Zm5.836 0h4.328V5H9.835v14Zm5.827 0H20v-6h-4.337v6ZM2.5 18.692v-7.384c0-.497.177-.923.531-1.277A1.74 1.74 0 0 1 4.308 9.5h4.029V5.308c0-.497.177-.923.53-1.277a1.74 1.74 0 0 1 1.277-.531h3.712c.497 0 .922.177 1.276.531.354.354.531.78.531 1.277V11.5h4.03c.496 0 .922.177 1.276.531.354.354.531.78.531 1.277v5.384c0 .497-.177.923-.531 1.277a1.74 1.74 0 0 1-1.277.531H4.308a1.74 1.74 0 0 1-1.277-.531 1.74 1.74 0 0 1-.531-1.277Z" })
|
|
287
286
|
);
|
|
288
|
-
var
|
|
287
|
+
var ChartBarsIcon = IconWrapper(SvgChartBarsIcon);
|
|
289
288
|
|
|
290
289
|
const SvgChartLineAndBarsIcon = (props) => React__namespace.default.createElement(
|
|
291
290
|
"svg",
|
|
@@ -673,7 +672,7 @@ const SvgPencilIcon = (props) => React__namespace.default.createElement(
|
|
|
673
672
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0 24 24" }, props),
|
|
674
673
|
React__namespace.default.createElement("path", { fill: "currentColor", d: "M5 19h1.261L16.498 8.763l-1.261-1.261L5 17.738V19Zm-.596 1.5a.875.875 0 0 1-.644-.26.875.875 0 0 1-.26-.644v-1.733a1.8 1.8 0 0 1 .527-1.275L16.69 3.931a1.7 1.7 0 0 1 .501-.319 1.5 1.5 0 0 1 .575-.112c.2 0 .395.036.583.107.188.07.354.184.499.34l1.221 1.236c.155.145.266.311.332.5.066.188.099.377.099.565 0 .201-.034.393-.103.576-.069.183-.178.35-.328.501L7.411 19.973a1.801 1.801 0 0 1-1.274.527H4.403ZM15.856 8.144l-.62-.642 1.262 1.261-.642-.62Z" })
|
|
675
674
|
);
|
|
676
|
-
var
|
|
675
|
+
var PencilIcon = IconWrapper(SvgPencilIcon);
|
|
677
676
|
|
|
678
677
|
const SvgPhoneIcon = (props) => React__namespace.default.createElement(
|
|
679
678
|
"svg",
|
|
@@ -701,14 +700,14 @@ const SvgPlusIcon = (props) => React__namespace.default.createElement(
|
|
|
701
700
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0 24 24" }, props),
|
|
702
701
|
React__namespace.default.createElement("path", { fill: "currentColor", d: "M11.25 12.75h-5a.726.726 0 0 1-.534-.216A.726.726 0 0 1 5.5 12c0-.213.072-.391.216-.535a.726.726 0 0 1 .534-.215h5v-5c0-.213.072-.39.216-.534A.726.726 0 0 1 12 5.5c.213 0 .391.072.535.216a.726.726 0 0 1 .215.534v5h5c.212 0 .39.072.534.216A.726.726 0 0 1 18.5 12a.726.726 0 0 1-.216.535.726.726 0 0 1-.534.215h-5v5c0 .212-.072.39-.216.534A.726.726 0 0 1 12 18.5a.725.725 0 0 1-.535-.216.726.726 0 0 1-.215-.534v-5Z" })
|
|
703
702
|
);
|
|
704
|
-
var
|
|
703
|
+
var PlusIcon = IconWrapper(SvgPlusIcon);
|
|
705
704
|
|
|
706
705
|
const SvgPrinterIcon = (props) => React__namespace.default.createElement(
|
|
707
706
|
"svg",
|
|
708
707
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0 24 24" }, props),
|
|
709
708
|
React__namespace.default.createElement("path", { fill: "currentColor", d: "M8.308 20.5a1.74 1.74 0 0 1-1.277-.531 1.74 1.74 0 0 1-.53-1.277V16.5H4.595a1.74 1.74 0 0 1-1.276-.531 1.74 1.74 0 0 1-.531-1.277v-3.884c0-.709.242-1.302.726-1.782.483-.479 1.075-.718 1.774-.718h13.423c.708 0 1.302.24 1.78.718.48.48.72 1.073.72 1.782v3.884c0 .497-.177.923-.532 1.277a1.74 1.74 0 0 1-1.276.531H17.5v2.192c0 .497-.177.923-.531 1.277a1.74 1.74 0 0 1-1.277.531H8.308ZM4.596 15H6.5c.013-.486.194-.902.545-1.249a1.73 1.73 0 0 1 1.263-.52h7.384c.492 0 .913.173 1.263.52.35.347.532.763.545 1.249h1.904a.3.3 0 0 0 .221-.087.3.3 0 0 0 .087-.22v-3.885a.968.968 0 0 0-.288-.713.968.968 0 0 0-.712-.287H5.289a.968.968 0 0 0-.713.287.967.967 0 0 0-.287.713v3.884a.3.3 0 0 0 .086.221.3.3 0 0 0 .221.087ZM16 8.308V5.615a.3.3 0 0 0-.086-.22.3.3 0 0 0-.222-.087H8.308a.3.3 0 0 0-.221.086.3.3 0 0 0-.087.221v2.693H6.5V5.615c0-.497.177-.922.531-1.276a1.74 1.74 0 0 1 1.277-.531h7.384c.497 0 .923.177 1.277.53.354.355.531.78.531 1.277v2.693H16Zm1.808 4c.283 0 .52-.096.712-.288a.968.968 0 0 0 .288-.712.967.967 0 0 0-.288-.713.967.967 0 0 0-.712-.287.968.968 0 0 0-.713.287.968.968 0 0 0-.287.713c0 .283.096.52.287.712.192.192.43.288.713.288ZM16 18.692V15.04a.3.3 0 0 0-.086-.222.3.3 0 0 0-.222-.086H8.308a.3.3 0 0 0-.221.086.3.3 0 0 0-.087.222v3.653a.3.3 0 0 0 .087.221.3.3 0 0 0 .22.087h7.385a.3.3 0 0 0 .222-.087.3.3 0 0 0 .086-.22ZM4.596 9.808H4.29h15.423H4.596Z" })
|
|
710
709
|
);
|
|
711
|
-
var
|
|
710
|
+
var PrinterIcon = IconWrapper(SvgPrinterIcon);
|
|
712
711
|
|
|
713
712
|
const SvgRedAlertIcon = (props) => React__namespace.default.createElement(
|
|
714
713
|
"svg",
|
|
@@ -745,6 +744,20 @@ const SvgShareIcon = (props) => React__namespace.default.createElement(
|
|
|
745
744
|
);
|
|
746
745
|
var ShareIcon = IconWrapper(SvgShareIcon);
|
|
747
746
|
|
|
747
|
+
const SvgSmallArrowDownIcon = (props) => React__namespace.default.createElement(
|
|
748
|
+
"svg",
|
|
749
|
+
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0 24 24" }, props),
|
|
750
|
+
React__namespace.default.createElement("path", { fill: "currentColor", d: "M16.245 12.235h1.689c.945 0 1.423 1.247.754 1.974l-5.938 6.453a.999.999 0 0 1-1.498 0L5.315 14.21c-.67-.727-.202-1.974.743-1.974h1.69v-7.08C7.747 4.518 8.224 4 8.808 4h6.373c.585 0 1.063.52 1.063 1.154v7.081Z" })
|
|
751
|
+
);
|
|
752
|
+
var SmallArrowDownIcon = IconWrapper(SvgSmallArrowDownIcon);
|
|
753
|
+
|
|
754
|
+
const SvgSmallArrowUpIcon = (props) => React__namespace.default.createElement(
|
|
755
|
+
"svg",
|
|
756
|
+
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0 24 24" }, props),
|
|
757
|
+
React__namespace.default.createElement("path", { fill: "currentColor", d: "M7.755 11.765H6.066c-.945 0-1.423-1.247-.754-1.974l5.938-6.453a1 1 0 0 1 1.498 0l5.937 6.453c.67.727.202 1.974-.743 1.974h-1.69v7.08c0 .636-.477 1.155-1.061 1.155H8.817c-.584 0-1.062-.52-1.062-1.154v-7.081Z" })
|
|
758
|
+
);
|
|
759
|
+
var SmallArrowUpIcon = IconWrapper(SvgSmallArrowUpIcon);
|
|
760
|
+
|
|
748
761
|
const SvgSmallCircleIcon = (props) => React__namespace.default.createElement(
|
|
749
762
|
"svg",
|
|
750
763
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0 24 24" }, props),
|
|
@@ -769,6 +782,13 @@ const SvgSmallSquareIcon = (props) => React__namespace.default.createElement(
|
|
|
769
782
|
);
|
|
770
783
|
var SmallSquareIcon = IconWrapper(SvgSmallSquareIcon);
|
|
771
784
|
|
|
785
|
+
const SvgSmallUpsideDownTriangleIcon = (props) => React__namespace.default.createElement(
|
|
786
|
+
"svg",
|
|
787
|
+
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0 24 24" }, props),
|
|
788
|
+
React__namespace.default.createElement("path", { fill: "currentColor", d: "M3.913 8.06C3.08 6.728 4.037 5 5.609 5h12.783c1.57 0 2.528 1.728 1.695 3.06l-6.391 10.226a2 2 0 0 1-3.392 0L3.912 8.06Z" })
|
|
789
|
+
);
|
|
790
|
+
var SmallUpsideDownTriangleIcon = IconWrapper(SvgSmallUpsideDownTriangleIcon);
|
|
791
|
+
|
|
772
792
|
const SvgStarIcon = (props) => React__namespace.default.createElement(
|
|
773
793
|
"svg",
|
|
774
794
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0 24 24" }, props),
|
|
@@ -795,7 +815,7 @@ const SvgTrashBinIcon = (props) => React__namespace.default.createElement(
|
|
|
795
815
|
Object.assign({ xmlns: "http://www.w3.org/2000/svg", width: 24, height: 24, fill: "none", viewBox: "0 0 24 24" }, props),
|
|
796
816
|
React__namespace.default.createElement("path", { fill: "currentColor", d: "M7.308 20.5c-.499 0-.925-.177-1.278-.53a1.742 1.742 0 0 1-.53-1.278V6h-.25a.726.726 0 0 1-.535-.215.726.726 0 0 1-.215-.535.73.73 0 0 1 .215-.535.726.726 0 0 1 .535-.215H9c0-.245.086-.453.259-.626a.853.853 0 0 1 .626-.259h4.23a.85.85 0 0 1 .626.26A.852.852 0 0 1 15 4.5h3.75a.73.73 0 0 1 .535.215.726.726 0 0 1 .215.535.726.726 0 0 1-.215.535.726.726 0 0 1-.535.215h-.25v12.692c0 .499-.177.925-.53 1.278-.353.353-.779.53-1.278.53H7.308ZM17 6H7v12.692a.3.3 0 0 0 .087.221.3.3 0 0 0 .22.087h9.385a.3.3 0 0 0 .221-.087.3.3 0 0 0 .087-.22V6ZM9.404 17h1.5V8h-1.5v9Zm3.692 0h1.5V8h-1.5v9Z" })
|
|
797
817
|
);
|
|
798
|
-
var
|
|
818
|
+
var TrashBinIcon = IconWrapper(SvgTrashBinIcon);
|
|
799
819
|
|
|
800
820
|
const SvgTreeIcon = (props) => React__namespace.default.createElement(
|
|
801
821
|
"svg",
|
|
@@ -814,7 +834,7 @@ var UnassignedIcon = IconWrapper(SvgUnassignedIcon);
|
|
|
814
834
|
var Icons = /*#__PURE__*/Object.freeze({
|
|
815
835
|
__proto__: null,
|
|
816
836
|
AbsentIcon: AbsentIcon,
|
|
817
|
-
AddIcon:
|
|
837
|
+
AddIcon: PlusIcon,
|
|
818
838
|
AlarmClockIcon: AlarmClockIcon,
|
|
819
839
|
AlertsIcon: BellIcon,
|
|
820
840
|
AmberAlertIcon: AmberAlertIcon,
|
|
@@ -826,8 +846,8 @@ var Icons = /*#__PURE__*/Object.freeze({
|
|
|
826
846
|
CalendarDayIcon: CalendarDayIcon,
|
|
827
847
|
CalendarMonthIcon: CalendarMonthIcon,
|
|
828
848
|
CalendarRepeatIcon: CalendarRepeatIcon,
|
|
829
|
-
ChartBarsIcon:
|
|
830
|
-
ChartIcon:
|
|
849
|
+
ChartBarsIcon: ChartBarsIcon,
|
|
850
|
+
ChartIcon: ChartBarsIcon,
|
|
831
851
|
ChartLineAndBarsIcon: ChartLineAndBarsIcon,
|
|
832
852
|
ChartLineColoredIcon: ChartLineColoredIcon,
|
|
833
853
|
ChatBoxIcon: ChatBubbleIcon,
|
|
@@ -845,13 +865,13 @@ var Icons = /*#__PURE__*/Object.freeze({
|
|
|
845
865
|
CrossInCircleIcon: CrossInCircleIcon,
|
|
846
866
|
CrossInFilledCircleIcon: CrossInFilledCircleIcon,
|
|
847
867
|
DatabaseIcon: DatabaseIcon,
|
|
848
|
-
DeleteIcon:
|
|
868
|
+
DeleteIcon: TrashBinIcon,
|
|
849
869
|
DownArrowIcon: ChevronDownIcon,
|
|
850
870
|
DownloadIcon: DownloadIcon,
|
|
851
871
|
DragIcon: DragIndicatorIcon,
|
|
852
872
|
DragIndicatorIcon: DragIndicatorIcon,
|
|
853
873
|
EarthIcon: EarthIcon,
|
|
854
|
-
EditIcon:
|
|
874
|
+
EditIcon: PencilIcon,
|
|
855
875
|
EmailIcon: EmailIcon,
|
|
856
876
|
EmptyIcon: EmptyIcon,
|
|
857
877
|
ExclamationMarkIcon: ExclamationMarkIcon,
|
|
@@ -896,13 +916,13 @@ var Icons = /*#__PURE__*/Object.freeze({
|
|
|
896
916
|
PageViewIcon: PageViewIcon,
|
|
897
917
|
PaperclipIcon: PaperclipIcon,
|
|
898
918
|
PatientIcon: PatientIcon,
|
|
899
|
-
PencilIcon:
|
|
919
|
+
PencilIcon: PencilIcon,
|
|
900
920
|
PhoneIcon: PhoneIcon,
|
|
901
921
|
PieChartIcon: PieChartIcon,
|
|
902
922
|
PinIcon: PinIcon,
|
|
903
|
-
PlusIcon:
|
|
904
|
-
PrintIcon:
|
|
905
|
-
PrinterIcon:
|
|
923
|
+
PlusIcon: PlusIcon,
|
|
924
|
+
PrintIcon: PrinterIcon,
|
|
925
|
+
PrinterIcon: PrinterIcon,
|
|
906
926
|
RedAlertIcon: RedAlertIcon,
|
|
907
927
|
RightArrowIcon: RightArrowIcon,
|
|
908
928
|
RobotIcon: RobotIcon,
|
|
@@ -910,15 +930,18 @@ var Icons = /*#__PURE__*/Object.freeze({
|
|
|
910
930
|
SearchIcon: SearchIcon,
|
|
911
931
|
SettingsIcon: CogwheelIcon,
|
|
912
932
|
ShareIcon: ShareIcon,
|
|
933
|
+
SmallArrowDownIcon: SmallArrowDownIcon,
|
|
934
|
+
SmallArrowUpIcon: SmallArrowUpIcon,
|
|
913
935
|
SmallCircleIcon: SmallCircleIcon,
|
|
914
936
|
SmallDiamondIcon: SmallDiamondIcon,
|
|
915
937
|
SmallSquareIcon: SmallSquareIcon,
|
|
938
|
+
SmallUpsideDownTriangleIcon: SmallUpsideDownTriangleIcon,
|
|
916
939
|
SpaceRocketIcon: RocketIcon,
|
|
917
940
|
StarIcon: StarIcon,
|
|
918
941
|
StatusColoredIcon: StatusColoredIcon,
|
|
919
942
|
StopwatchIcon: StopwatchIcon,
|
|
920
943
|
TadaIcon: TadaIcon,
|
|
921
|
-
TrashBinIcon:
|
|
944
|
+
TrashBinIcon: TrashBinIcon,
|
|
922
945
|
TreeIcon: TreeIcon,
|
|
923
946
|
UnassignedIcon: UnassignedIcon,
|
|
924
947
|
WarningIcon: ExclamationMarkIcon
|
|
@@ -4431,18 +4454,6 @@ Page.propTypes = {
|
|
|
4431
4454
|
navLayoutProps: PropTypes__default.default.object
|
|
4432
4455
|
};
|
|
4433
4456
|
|
|
4434
|
-
const BUTTON_ROLES = {
|
|
4435
|
-
PRIMARY: "primary",
|
|
4436
|
-
SECONDARY: "secondary",
|
|
4437
|
-
SECONDARY_DARK: "secondaryDark",
|
|
4438
|
-
TERTIARY: "tertiary",
|
|
4439
|
-
QUATERNARY: "quaternary",
|
|
4440
|
-
NEGATIVE: "negative",
|
|
4441
|
-
TEXT: "text",
|
|
4442
|
-
LINK: "link",
|
|
4443
|
-
ICON: "icon"
|
|
4444
|
-
};
|
|
4445
|
-
|
|
4446
4457
|
const Step = ({ title, stepNumber, active, localization }) => {
|
|
4447
4458
|
const barColor = active ? "ui-bg-primary" : "ui-bg-slate-200";
|
|
4448
4459
|
return React__namespace.default.createElement(
|
|
@@ -4660,8 +4671,8 @@ const PageHeader = ({ navigation, breadcrumbs, dataTestId, accessories, isPollin
|
|
|
4660
4671
|
|
|
4661
4672
|
const CRUDPage = ({ submitButtonProps, cancelButtonProps, className, children, isLoading, isSubmitting, dataTestId = "page", title, header, steps, isMobileFriendly, belowHeader }) => {
|
|
4662
4673
|
const mergedClasses = classNames__default.default("cweb-crud-page", "ui-w-full ui-mb-0 ui-mx-auto ui-pb-8", className);
|
|
4663
|
-
const submitButton = submitButtonProps && React__namespace.default.createElement(PrimaryButton, Object.assign({ "data-test-id": "submit-button", key: "submit-button", role:
|
|
4664
|
-
const cancelButton = cancelButtonProps && React__namespace.default.createElement(TertiaryButton, Object.assign({ "data-test-id": "cancel-button", key: "cancel-button", role:
|
|
4674
|
+
const submitButton = submitButtonProps && React__namespace.default.createElement(PrimaryButton, Object.assign({ "data-test-id": "submit-button", key: "submit-button", role: "primary", isPending: isSubmitting }, submitButtonProps));
|
|
4675
|
+
const cancelButton = cancelButtonProps && React__namespace.default.createElement(TertiaryButton, Object.assign({ "data-test-id": "cancel-button", key: "cancel-button", role: "secondary" }, cancelButtonProps));
|
|
4665
4676
|
if (isLoading) {
|
|
4666
4677
|
return React__namespace.default.createElement(
|
|
4667
4678
|
"div",
|
|
@@ -6551,7 +6562,7 @@ Object.defineProperty(exports, 'Toaster', {
|
|
|
6551
6562
|
exports.AbsentIcon = AbsentIcon;
|
|
6552
6563
|
exports.AccordionList = AccordionList;
|
|
6553
6564
|
exports.AccordionTemporary = Accordion;
|
|
6554
|
-
exports.AddIcon =
|
|
6565
|
+
exports.AddIcon = PlusIcon;
|
|
6555
6566
|
exports.AlarmClockIcon = AlarmClockIcon;
|
|
6556
6567
|
exports.AlertsIcon = BellIcon;
|
|
6557
6568
|
exports.AmberAlertIcon = AmberAlertIcon;
|
|
@@ -6572,8 +6583,8 @@ exports.CalendarRepeatIcon = CalendarRepeatIcon;
|
|
|
6572
6583
|
exports.Card = Card;
|
|
6573
6584
|
exports.Carousel = Carousel;
|
|
6574
6585
|
exports.CenteredHero = CenteredHero;
|
|
6575
|
-
exports.ChartBarsIcon =
|
|
6576
|
-
exports.ChartIcon =
|
|
6586
|
+
exports.ChartBarsIcon = ChartBarsIcon;
|
|
6587
|
+
exports.ChartIcon = ChartBarsIcon;
|
|
6577
6588
|
exports.ChartLineAndBarsIcon = ChartLineAndBarsIcon;
|
|
6578
6589
|
exports.ChartLineColoredIcon = ChartLineColoredIcon;
|
|
6579
6590
|
exports.ChatBoxIcon = ChatBubbleIcon;
|
|
@@ -6599,7 +6610,7 @@ exports.CrossInFilledCircleIcon = CrossInFilledCircleIcon;
|
|
|
6599
6610
|
exports.DatabaseIcon = DatabaseIcon;
|
|
6600
6611
|
exports.DatePicker = DatePicker;
|
|
6601
6612
|
exports.DatePickerV2 = DatePicker;
|
|
6602
|
-
exports.DeleteIcon =
|
|
6613
|
+
exports.DeleteIcon = TrashBinIcon;
|
|
6603
6614
|
exports.Divider = Divider;
|
|
6604
6615
|
exports.DownArrowIcon = ChevronDownIcon;
|
|
6605
6616
|
exports.DownloadIcon = DownloadIcon;
|
|
@@ -6609,7 +6620,7 @@ exports.DragIndicatorIcon = DragIndicatorIcon;
|
|
|
6609
6620
|
exports.Dropdown = Dropdown;
|
|
6610
6621
|
exports.Dropzone = Dropzone;
|
|
6611
6622
|
exports.EarthIcon = EarthIcon;
|
|
6612
|
-
exports.EditIcon =
|
|
6623
|
+
exports.EditIcon = PencilIcon;
|
|
6613
6624
|
exports.EmailIcon = EmailIcon;
|
|
6614
6625
|
exports.EmptyIcon = EmptyIcon;
|
|
6615
6626
|
exports.EmptyListMessage = EmptyListMessage;
|
|
@@ -6680,15 +6691,15 @@ exports.PageViewIcon = PageViewIcon;
|
|
|
6680
6691
|
exports.PaginationMenu = PaginationMenu;
|
|
6681
6692
|
exports.PaperclipIcon = PaperclipIcon;
|
|
6682
6693
|
exports.PatientIcon = PatientIcon;
|
|
6683
|
-
exports.PencilIcon =
|
|
6694
|
+
exports.PencilIcon = PencilIcon;
|
|
6684
6695
|
exports.PhoneIcon = PhoneIcon;
|
|
6685
6696
|
exports.PieChartIcon = PieChartIcon;
|
|
6686
6697
|
exports.PinIcon = PinIcon;
|
|
6687
|
-
exports.PlusIcon =
|
|
6698
|
+
exports.PlusIcon = PlusIcon;
|
|
6688
6699
|
exports.PreviewPhone = PreviewPhone;
|
|
6689
6700
|
exports.PrimaryButton = PrimaryButton;
|
|
6690
|
-
exports.PrintIcon =
|
|
6691
|
-
exports.PrinterIcon =
|
|
6701
|
+
exports.PrintIcon = PrinterIcon;
|
|
6702
|
+
exports.PrinterIcon = PrinterIcon;
|
|
6692
6703
|
exports.Radio = Radio;
|
|
6693
6704
|
exports.RadioGroup = RadioGroup;
|
|
6694
6705
|
exports.RadioGroupV2 = RadioGroupV2;
|
|
@@ -6708,9 +6719,12 @@ exports.SettingsIcon = CogwheelIcon;
|
|
|
6708
6719
|
exports.SettingsMenuButton = SettingsMenuButton;
|
|
6709
6720
|
exports.ShareIcon = ShareIcon;
|
|
6710
6721
|
exports.Skeleton = Skeleton;
|
|
6722
|
+
exports.SmallArrowDownIcon = SmallArrowDownIcon;
|
|
6723
|
+
exports.SmallArrowUpIcon = SmallArrowUpIcon;
|
|
6711
6724
|
exports.SmallCircleIcon = SmallCircleIcon;
|
|
6712
6725
|
exports.SmallDiamondIcon = SmallDiamondIcon;
|
|
6713
6726
|
exports.SmallSquareIcon = SmallSquareIcon;
|
|
6727
|
+
exports.SmallUpsideDownTriangleIcon = SmallUpsideDownTriangleIcon;
|
|
6714
6728
|
exports.SpaceRocketIcon = RocketIcon;
|
|
6715
6729
|
exports.Spinner = Spinner;
|
|
6716
6730
|
exports.Stack = Stack;
|
|
@@ -6739,7 +6753,7 @@ exports.Timeline = Timeline;
|
|
|
6739
6753
|
exports.TimelineCard = TimelineCard;
|
|
6740
6754
|
exports.TimelineCardLayout = TimelineCardLayout;
|
|
6741
6755
|
exports.Title = Title;
|
|
6742
|
-
exports.TrashBinIcon =
|
|
6756
|
+
exports.TrashBinIcon = TrashBinIcon;
|
|
6743
6757
|
exports.TreeIcon = TreeIcon;
|
|
6744
6758
|
exports.UList = UnorderedList;
|
|
6745
6759
|
exports.UnassignedIcon = UnassignedIcon;
|