@luscii-healthtech/web-ui 42.10.3 → 42.11.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.
@@ -742,6 +742,9 @@ var UploadIcon = IconWrapper(SvgUploadIcon);
742
742
  const SvgVideoIcon = (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: "m10.794 15.365 4.356-2.798a.64.64 0 0 0 .321-.566.64.64 0 0 0-.321-.568l-4.356-2.798a.62.62 0 0 0-.69-.037.64.64 0 0 0-.354.604v5.596q0 .41.354.604.354.195.69-.037m1.208 6.135a9.3 9.3 0 0 1-3.706-.748 9.6 9.6 0 0 1-3.016-2.03 9.6 9.6 0 0 1-2.032-3.016 9.25 9.25 0 0 1-.748-3.704q0-1.972.748-3.706a9.6 9.6 0 0 1 2.03-3.016 9.6 9.6 0 0 1 3.016-2.032 9.25 9.25 0 0 1 3.704-.748q1.972 0 3.706.748a9.6 9.6 0 0 1 3.017 2.03 9.6 9.6 0 0 1 2.03 3.016 9.25 9.25 0 0 1 .749 3.704q0 1.972-.748 3.706a9.6 9.6 0 0 1-2.03 3.017 9.6 9.6 0 0 1-3.016 2.03 9.25 9.25 0 0 1-3.704.749M12 20q3.35 0 5.675-2.325T20 12t-2.325-5.675T12 4 6.325 6.325 4 12t2.325 5.675T12 20" }) }));
743
743
  var VideoIcon = IconWrapper(SvgVideoIcon);
744
744
 
745
+ const SvgWorkflowIcon = (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: "M9 1.999A3 3 0 0 1 12 5v4a3 3 0 0 1-3 3h-.999v3a1 1 0 0 0 .999.999h3V15a3 3 0 0 1 3-3h4.001a3 3 0 0 1 3 3v4a3 3 0 0 1-3 3H15a3 3 0 0 1-3-3v-1H9a3 3 0 0 1-3-3v-3H5a3 3 0 0 1-3.001-3V5c0-1.656 1.345-3 3.001-3.001zm6 12.002a1 1 0 0 0-.999.999v4A1 1 0 0 0 15 20.001h4.001c.552 0 1-.449 1-1.001v-4a1 1 0 0 0-1-.999zm-10-10A1 1 0 0 0 4.001 5v4A1 1 0 0 0 5 10.001h1.967L7 9.999l.034.002H9c.552 0 1.001-.449 1.001-1.001V5A1 1 0 0 0 9 4.001z" }) }));
746
+ var WorkflowIcon = IconWrapper(SvgWorkflowIcon);
747
+
745
748
  var Icons = /*#__PURE__*/Object.freeze({
746
749
  __proto__: null,
747
750
  AbsentIcon: AbsentIcon,
@@ -895,7 +898,8 @@ var Icons = /*#__PURE__*/Object.freeze({
895
898
  UnpinIcon: UnpinIcon,
896
899
  UploadIcon: UploadIcon,
897
900
  VideoIcon: VideoIcon,
898
- WarningIcon: ExclamationMarkIcon
901
+ WarningIcon: ExclamationMarkIcon,
902
+ WorkflowIcon: WorkflowIcon
899
903
  });
900
904
 
901
905
  const TOASTER_TYPE_OPTIONS = {
@@ -3625,7 +3629,7 @@ const isPlainText = (node) => {
3625
3629
  return typeof node === "string" || typeof node === "number";
3626
3630
  };
3627
3631
  const TableRoot = React__namespace.default.forwardRef((_a, wrapperRef) => {
3628
- var { className, children, sticky, headerBackground = "none", variant = "fit-content" } = _a, attrs = __rest(_a, ["className", "children", "sticky", "headerBackground", "variant"]);
3632
+ var { className, children, sticky, headerBackground = "none", variant = "fit-content", layout = "auto" } = _a, attrs = __rest(_a, ["className", "children", "sticky", "headerBackground", "variant", "layout"]);
3629
3633
  const stickyHeader = sticky === "header" || sticky === "header-and-first-column";
3630
3634
  const stickyFirstColumn = sticky === "first-column" || sticky === "header-and-first-column";
3631
3635
  const firstColBg = headerBackground === "first-column" || headerBackground === "first-row-and-column" ? "#f8fafc" : "#ffffff";
@@ -3637,7 +3641,9 @@ const TableRoot = React__namespace.default.forwardRef((_a, wrapperRef) => {
3637
3641
  "ui:w-full": variant === "full-width"
3638
3642
  }, className), ref: wrapperRef, children: jsxRuntime.jsxs("table", Object.assign({ className: classNames__default.default({
3639
3643
  "ui:w-fit": variant === "fit-content",
3640
- "ui:w-full": variant === "full-width"
3644
+ "ui:w-full": variant === "full-width",
3645
+ "ui:table-auto": layout === "auto",
3646
+ "ui:table-fixed": layout === "fixed"
3641
3647
  }, "ui:table-auto ui:bg-white", "ui:border-separate ui:border-spacing-0", {
3642
3648
  /**
3643
3649
  * Apply sticky positioning to first column cells in tbody (both th and td)
@@ -6680,6 +6686,7 @@ exports.VerticalMenu = VerticalMenu;
6680
6686
  exports.VideoIcon = VideoIcon;
6681
6687
  exports.WarningIcon = ExclamationMarkIcon;
6682
6688
  exports.WeekdaysPicker = WeekdaysPicker;
6689
+ exports.WorkflowIcon = WorkflowIcon;
6683
6690
  exports.getDndListItemProps = getDndListItemProps;
6684
6691
  exports.prepareClientSidePagination = prepareClientSidePagination;
6685
6692
  exports.toast = toast;