@luscii-healthtech/web-ui 52.6.2 → 52.6.4

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.
@@ -3722,6 +3722,7 @@ const TableRoot = React__namespace.default.forwardRef((_a, ref) => {
3722
3722
  return child;
3723
3723
  })] }));
3724
3724
  });
3725
+ TableRoot.displayName = "TableNew";
3725
3726
  const Thead = React__namespace.default.forwardRef((_a, ref) => {
3726
3727
  var { className, children, stickyHeader } = _a, attrs = __rest(_a, ["className", "children", "stickyHeader"]);
3727
3728
  return jsxRuntime.jsx("thead", Object.assign({ ref, className: classNames__default.default(
@@ -3740,6 +3741,7 @@ const Thead = React__namespace.default.forwardRef((_a, ref) => {
3740
3741
  className
3741
3742
  ) }, attrs, { children }));
3742
3743
  });
3744
+ Thead.displayName = "TableNew.Thead";
3743
3745
  const Tbody = React__namespace.default.forwardRef((_a, ref) => {
3744
3746
  var { className, children, hasTFoot } = _a, attrs = __rest(_a, ["className", "children", "hasTFoot"]);
3745
3747
  return jsxRuntime.jsx("tbody", Object.assign({ ref, className: classNames__default.default(
@@ -3755,14 +3757,17 @@ const Tbody = React__namespace.default.forwardRef((_a, ref) => {
3755
3757
  className
3756
3758
  ) }, attrs, { children }));
3757
3759
  });
3760
+ Tbody.displayName = "TableNew.Tbody";
3758
3761
  const TFoot = React__namespace.default.forwardRef((_a, ref) => {
3759
3762
  var { className, children } = _a, attrs = __rest(_a, ["className", "children"]);
3760
3763
  return jsxRuntime.jsx("tfoot", Object.assign({ ref, className: classNames__default.default(className) }, attrs, { children }));
3761
3764
  });
3765
+ TFoot.displayName = "TableNew.TFoot";
3762
3766
  const Tr = React__namespace.default.forwardRef((_a, ref) => {
3763
3767
  var { className, children } = _a, attrs = __rest(_a, ["className", "children"]);
3764
3768
  return jsxRuntime.jsx(Box, Object.assign({ as: "tr", ref, className: classNames__default.default(className) }, attrs, { children }));
3765
3769
  });
3770
+ Tr.displayName = "TableNew.Tr";
3766
3771
  const getCellClasses = (options) => {
3767
3772
  return classNames__default.default("ui:first:pl-l ui:last:pr-l ui:text-left", {
3768
3773
  "ui:px-xxs ui:py-m": !options.omitPadding
@@ -3773,11 +3778,13 @@ const Th = React__namespace.default.forwardRef((_a, ref) => {
3773
3778
  const content = isPlainText(children) ? jsxRuntime.jsx(Text, { as: "span", variant: "strong", children }) : children;
3774
3779
  return jsxRuntime.jsx("th", Object.assign({ ref, className: getCellClasses({ omitPadding, className }) }, attrs, { children: content }));
3775
3780
  });
3781
+ Th.displayName = "TableNew.Th";
3776
3782
  const Td = React__namespace.default.forwardRef((_a, ref) => {
3777
3783
  var { className, children, omitPadding = false } = _a, attrs = __rest(_a, ["className", "children", "omitPadding"]);
3778
3784
  const content = isPlainText(children) ? jsxRuntime.jsx(Text, { as: "span", children }) : children;
3779
3785
  return jsxRuntime.jsx("td", Object.assign({ ref, className: getCellClasses({ omitPadding, className }) }, attrs, { children: content }));
3780
3786
  });
3787
+ Td.displayName = "TableNew.Td";
3781
3788
  const TableNew = Object.assign(TableRoot, {
3782
3789
  Thead,
3783
3790
  Tbody,