@luscii-healthtech/web-ui 2.22.0 → 2.22.2

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.
@@ -0,0 +1,3 @@
1
+ /// <reference types="react" />
2
+ import { IconProps } from "./types/IconProps.type";
3
+ export declare const LinkIcon: (props: IconProps) => JSX.Element;
package/dist/index.d.ts CHANGED
@@ -92,6 +92,7 @@ export { GearIcon } from "./components/Icons/GearIcon";
92
92
  export { GroupIcon } from "./components/Icons/GroupIcon";
93
93
  export { HeartIcon } from "./components/Icons/HeartIcon";
94
94
  export { LeftArrowIcon } from "./components/Icons/LeftArrowIcon";
95
+ export { LinkIcon } from "./components/Icons/LinkIcon";
95
96
  export { LightBulbIcon } from "./components/Icons/LightBulbIcon";
96
97
  export { LockIcon } from "./components/Icons/LockIcon";
97
98
  export { MessagesIcon } from "./components/Icons/MessagesIcon";
@@ -1764,7 +1764,8 @@ var ModalBase = function ModalBase(props) {
1764
1764
  onRequestClose: props.onCloseClick,
1765
1765
  shouldFocusAfterRender: false,
1766
1766
  shouldCloseOnOverlayClick: false,
1767
- className: classNames("my-0 mx-auto", "relative", "bg-white outline-none rounded-lg shadow-lg", "overflow-y-hidden", {
1767
+ className: classNames("my-0 mx-auto", "relative", "bg-white outline-none rounded-lg shadow-lg", {
1768
+ "overflow-y-hidden": props.scrollableContent,
1768
1769
  "mt-17": props.withExtraMarginTop,
1769
1770
  "w-80": size === "small",
1770
1771
  "w-132": size === "medium",
@@ -7352,6 +7353,30 @@ var HeartIcon = function HeartIcon(props) {
7352
7353
  }));
7353
7354
  };
7354
7355
 
7356
+ var LinkIcon = function LinkIcon(props) {
7357
+ return /*#__PURE__*/React__default.createElement("svg", {
7358
+ className: props.className,
7359
+ onClick: props.onClick,
7360
+ role: props.onClick ? "button" : undefined,
7361
+ width: "16",
7362
+ height: "16",
7363
+ viewBox: "0 0 16 16",
7364
+ fill: "none",
7365
+ xmlns: "http://www.w3.org/2000/svg"
7366
+ }, /*#__PURE__*/React__default.createElement("path", {
7367
+ d: "M6.80225 2H3.3335C2.22893 2 1.3335 2.89543 1.3335 4V12.5C1.3335 13.6046 2.22893 14.5 3.3335 14.5H11.8335C12.9381 14.5 13.8335 13.6046 13.8335 12.5V9.03125",
7368
+ stroke: "#0074DD",
7369
+ "stroke-width": "2",
7370
+ "stroke-linecap": "round"
7371
+ }), /*#__PURE__*/React__default.createElement("path", {
7372
+ d: "M5.5 10.3333L14.6667 1.16666M14.6667 1.16666H10.5M14.6667 1.16666V5.33332",
7373
+ stroke: "#0074DD",
7374
+ "stroke-width": "2",
7375
+ "stroke-linecap": "round",
7376
+ "stroke-linejoin": "round"
7377
+ }));
7378
+ };
7379
+
7355
7380
  var LightBulbIcon = function LightBulbIcon(props) {
7356
7381
  return /*#__PURE__*/React__default.createElement("svg", {
7357
7382
  className: props.className,
@@ -7650,6 +7675,7 @@ exports.Input = Input;
7650
7675
  exports.LeftArrowIcon = LeftArrowIcon;
7651
7676
  exports.LightBulbIcon = LightBulbIcon;
7652
7677
  exports.Line = Line;
7678
+ exports.LinkIcon = LinkIcon;
7653
7679
  exports.List = List;
7654
7680
  exports.LoadingIndicator = LoadingIndicator;
7655
7681
  exports.LockIcon = LockIcon;