@luscii-healthtech/web-ui 2.44.4 → 2.45.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/Container/types/FlexContainerProps.type.d.ts +1 -1
- package/dist/components/Icon/Icon.d.ts +6 -0
- package/dist/components/Icon/index.d.ts +1 -0
- package/dist/components/Icons/types/IconProps.type.d.ts +2 -0
- package/dist/components/NotificationBanner/NotificationBanner.d.ts +13 -4
- package/dist/index.d.ts +2 -1
- package/dist/web-ui-tailwind.css +6 -0
- package/dist/web-ui.cjs.development.js +59 -11
- 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 +59 -12
- package/dist/web-ui.esm.js.map +1 -1
- package/package.json +1 -1
package/dist/web-ui.esm.js
CHANGED
|
@@ -486,9 +486,11 @@ var FlexContainer = function FlexContainer(props) {
|
|
|
486
486
|
"items-start": alignItems === "start",
|
|
487
487
|
"items-center": alignItems === "center",
|
|
488
488
|
"items-end": alignItems === "end",
|
|
489
|
+
"space-x-1": horizontalSpacing === "tiny",
|
|
489
490
|
"space-x-2": horizontalSpacing === "small",
|
|
490
491
|
"space-x-4": horizontalSpacing === "medium",
|
|
491
492
|
"space-x-8": horizontalSpacing === "large",
|
|
493
|
+
"space-y-1": verticalSpacing === "tiny",
|
|
492
494
|
"space-y-2": verticalSpacing === "small",
|
|
493
495
|
"space-y-4": verticalSpacing === "medium",
|
|
494
496
|
"space-y-8": verticalSpacing === "large",
|
|
@@ -2617,23 +2619,14 @@ var NotificationBanner = function NotificationBanner(props) {
|
|
|
2617
2619
|
}, /*#__PURE__*/React__default.createElement("div", {
|
|
2618
2620
|
className: classes
|
|
2619
2621
|
}, props.icon && /*#__PURE__*/React__default.createElement(DynamicIcon, {
|
|
2620
|
-
className: "w-6 h-6",
|
|
2622
|
+
className: "w-6 h-6 mr-3",
|
|
2621
2623
|
icon: props.icon
|
|
2622
2624
|
}), /*#__PURE__*/React__default.createElement("div", {
|
|
2623
2625
|
className: "flex flex-col"
|
|
2624
|
-
}, props.
|
|
2625
|
-
className: classNames({
|
|
2626
|
-
"ml-3": props.icon
|
|
2627
|
-
}),
|
|
2628
|
-
text: props.title,
|
|
2629
|
-
"data-test-id": "notification-title",
|
|
2630
|
-
type: "strong",
|
|
2631
|
-
color: color
|
|
2632
|
-
}), (props.text || props.linkProps) && /*#__PURE__*/React__default.createElement("div", {
|
|
2626
|
+
}, props.children, (props.text || props.linkProps) && /*#__PURE__*/React__default.createElement("div", {
|
|
2633
2627
|
className: "flex flex-row items-center"
|
|
2634
2628
|
}, props.text && /*#__PURE__*/React__default.createElement(Text, {
|
|
2635
2629
|
className: classNames({
|
|
2636
|
-
"ml-3": props.icon,
|
|
2637
2630
|
"mr-1": props.linkProps
|
|
2638
2631
|
}),
|
|
2639
2632
|
text: props.text,
|
|
@@ -7820,6 +7813,60 @@ var StatusColoredIcon = function StatusColoredIcon(props) {
|
|
|
7820
7813
|
}));
|
|
7821
7814
|
};
|
|
7822
7815
|
|
|
7816
|
+
|
|
7817
|
+
|
|
7818
|
+
var Icons = {
|
|
7819
|
+
__proto__: null,
|
|
7820
|
+
AddIcon: AddIcon,
|
|
7821
|
+
AlertsIcon: AlertsIcon,
|
|
7822
|
+
BellIcon: BellIcon,
|
|
7823
|
+
ChartIcon: ChartIcon,
|
|
7824
|
+
ChartLineColoredIcon: ChartLineColoredIcon,
|
|
7825
|
+
ChatBoxIcon: ChatBoxIcon,
|
|
7826
|
+
CheckIcon: CheckIcon,
|
|
7827
|
+
ChevronDoubleIcon: ChevronDoubleIcon,
|
|
7828
|
+
CrossIcon: CrossIcon,
|
|
7829
|
+
DeleteIcon: DeleteIcon,
|
|
7830
|
+
DownArrowIcon: DownArrowIcon,
|
|
7831
|
+
DragIcon: DragIcon,
|
|
7832
|
+
EditIcon: EditIcon,
|
|
7833
|
+
EmptyStateDashboardIcon: EmptyStateDashboardIcon,
|
|
7834
|
+
ExclamationMarkIcon: ExclamationMarkIcon,
|
|
7835
|
+
EyeIcon: EyeIcon,
|
|
7836
|
+
GearIcon: GearIcon,
|
|
7837
|
+
GearColoredIcon: GearColoredIcon,
|
|
7838
|
+
GroupIcon: GroupIcon,
|
|
7839
|
+
GroupColoredIcon: GroupColoredIcon,
|
|
7840
|
+
HeartIcon: HeartIcon,
|
|
7841
|
+
LeftArrowIcon: LeftArrowIcon,
|
|
7842
|
+
LinkIcon: LinkIcon,
|
|
7843
|
+
LightBulbIcon: LightBulbIcon,
|
|
7844
|
+
LockIcon: LockIcon,
|
|
7845
|
+
MessagesIcon: MessagesIcon,
|
|
7846
|
+
NotesIcon: NotesIcon,
|
|
7847
|
+
PinIcon: PinIcon,
|
|
7848
|
+
PrintIcon: PrintIcon,
|
|
7849
|
+
RightArrowIcon: RightArrowIcon,
|
|
7850
|
+
SmallCircleIcon: SmallCircleIcon,
|
|
7851
|
+
SmallDiamondIcon: SmallDiamondIcon,
|
|
7852
|
+
SmallSquareIcon: SmallSquareIcon,
|
|
7853
|
+
SpaceRocketIcon: SpaceRocketIcon,
|
|
7854
|
+
StarIcon: StarIcon,
|
|
7855
|
+
HamburgerIcon: HamburgerIcon,
|
|
7856
|
+
SearchIcon: SearchIcon,
|
|
7857
|
+
SearchCancelIcon: SearchCancelIcon,
|
|
7858
|
+
InfoIcon: InfoIcon,
|
|
7859
|
+
StatusColoredIcon: StatusColoredIcon
|
|
7860
|
+
};
|
|
7861
|
+
|
|
7862
|
+
var _excluded$r = ["name"];
|
|
7863
|
+
var Icon = function Icon(_ref) {
|
|
7864
|
+
var name = _ref.name,
|
|
7865
|
+
iconProps = _objectWithoutPropertiesLoose(_ref, _excluded$r);
|
|
7866
|
+
|
|
7867
|
+
return /*#__PURE__*/React__default.createElement(Icons[name], iconProps);
|
|
7868
|
+
};
|
|
7869
|
+
|
|
7823
7870
|
var FullPageModalHeader = function FullPageModalHeader(_ref) {
|
|
7824
7871
|
var primaryButtonProps = _ref.primaryButtonProps,
|
|
7825
7872
|
title = _ref.title;
|
|
@@ -7879,5 +7926,5 @@ var Card = function Card(_ref) {
|
|
|
7879
7926
|
}), children);
|
|
7880
7927
|
};
|
|
7881
7928
|
|
|
7882
|
-
export { AccordionList, AddIcon, AlertsIcon, Avatar, Badge, BellIcon, Breadcrumbs, CRUDPage, Card, Carousel, CenteredHero, ChartIcon, ChartLineColoredIcon, ChatBoxIcon, CheckIcon, Checkbox, CheckboxList, CheckboxListModal, ChevronDoubleIcon, ConfirmationDialog, CrossIcon, Datepicker as DatePicker, DeleteIcon, Divider, DownArrowIcon, DragIcon, Dropdown, EditIcon, EmptyListMessage, EmptyStateDashboardIcon, ErrorBlock, ExclamationMarkIcon, EyeIcon, FlexColumn, FlexRow, Form, FullPageModal, GearColoredIcon, GearIcon, GenericForm, GroupColoredIcon, GroupIcon, HamburgerIcon, HeartIcon, INPUT_TYPES, ImagePicker, InfoBlock, InfoField, InfoIcon, Input, LeftArrowIcon, LightBulbIcon, Line, LinkIcon, List, LoadingIndicator, LockIcon, Menu, MessagesIcon, Modal, MultiSelect, NavLayout, NavMenu, NotesIcon, NotificationBanner, Page, PageHeader, PaginationMenu, PinIcon, PreviewPhone, PrimaryButton, PrintIcon, Radio, RadioGroup, RadioGroupV2, RadioV2, RightArrowIcon, SearchCancelIcon, SearchIcon, SearchInput, SecondaryButton, Section, SectionItem, SectionItemWithContent, Select, SettingsMenuButton, SmallCircleIcon, SmallDiamondIcon, SmallSquareIcon, SpaceRocketIcon, Spinner, StarIcon, StatusColoredIcon, Steps, Switcher, TOASTER_TYPE_OPTIONS, TabLinks, Tabbar, Table, Tag, TagGroup, TertiaryButton, Text, Textarea as TextArea, TextEditor, TextEditorV2, TextLink, Timeline, Title, Toaster, ViewItem, toast };
|
|
7929
|
+
export { AccordionList, AddIcon, AlertsIcon, Avatar, Badge, BellIcon, Breadcrumbs, CRUDPage, Card, Carousel, CenteredHero, ChartIcon, ChartLineColoredIcon, ChatBoxIcon, CheckIcon, Checkbox, CheckboxList, CheckboxListModal, ChevronDoubleIcon, ConfirmationDialog, CrossIcon, Datepicker as DatePicker, DeleteIcon, Divider, DownArrowIcon, DragIcon, Dropdown, EditIcon, EmptyListMessage, EmptyStateDashboardIcon, ErrorBlock, ExclamationMarkIcon, EyeIcon, FlexColumn, FlexRow, Form, FullPageModal, GearColoredIcon, GearIcon, GenericForm, GroupColoredIcon, GroupIcon, HamburgerIcon, HeartIcon, INPUT_TYPES, Icon, ImagePicker, InfoBlock, InfoField, InfoIcon, Input, LeftArrowIcon, LightBulbIcon, Line, LinkIcon, List, LoadingIndicator, LockIcon, Menu, MessagesIcon, Modal, MultiSelect, NavLayout, NavMenu, NotesIcon, NotificationBanner, Page, PageHeader, PaginationMenu, PinIcon, PreviewPhone, PrimaryButton, PrintIcon, Radio, RadioGroup, RadioGroupV2, RadioV2, RightArrowIcon, SearchCancelIcon, SearchIcon, SearchInput, SecondaryButton, Section, SectionItem, SectionItemWithContent, Select, SettingsMenuButton, SmallCircleIcon, SmallDiamondIcon, SmallSquareIcon, SpaceRocketIcon, Spinner, StarIcon, StatusColoredIcon, Steps, Switcher, TOASTER_TYPE_OPTIONS, TabLinks, Tabbar, Table, Tag, TagGroup, TertiaryButton, Text, Textarea as TextArea, TextEditor, TextEditorV2, TextLink, Timeline, Title, Toaster, ViewItem, toast };
|
|
7883
7930
|
//# sourceMappingURL=web-ui.esm.js.map
|