fui-material 2.6.10 → 2.6.11

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.
@@ -702,25 +702,26 @@ const FPaper = ({
702
702
  }
703
703
  );
704
704
  };
705
- const bordered = "_bordered_1gjeq_18";
706
- const left$1 = "_left_1gjeq_40";
707
- const center = "_center_1gjeq_43";
708
- const right = "_right_1gjeq_46";
705
+ const bordered = "_bordered_ld5gh_18";
706
+ const left$1 = "_left_ld5gh_40";
707
+ const center = "_center_ld5gh_43";
708
+ const right = "_right_ld5gh_46";
709
709
  const styles$s = {
710
- "f-table-component": "_f-table-component_1gjeq_1",
711
- "f-table-component__table": "_f-table-component__table_1gjeq_7",
710
+ "f-table-component": "_f-table-component_ld5gh_1",
711
+ "f-table-component__table": "_f-table-component__table_ld5gh_7",
712
712
  bordered,
713
- "bordered-half": "_bordered-half_1gjeq_22",
714
- "f-table-component__table_header": "_f-table-component__table_header_1gjeq_25",
715
- "is-sticky": "_is-sticky_1gjeq_29",
716
- "f-table-component__table_header-cell": "_f-table-component__table_header-cell_1gjeq_37",
713
+ "bordered-half": "_bordered-half_ld5gh_22",
714
+ "f-table-component__table_header": "_f-table-component__table_header_ld5gh_25",
715
+ "is-sticky": "_is-sticky_ld5gh_29",
716
+ "f-table-component__table_header-cell": "_f-table-component__table_header-cell_ld5gh_37",
717
717
  left: left$1,
718
718
  center,
719
719
  right,
720
- "f-table-component__table_body": "_f-table-component__table_body_1gjeq_65",
721
- "f-table-component__table_row": "_f-table-component__table_row_1gjeq_68",
722
- "f-table-component__table_body-cell": "_f-table-component__table_body-cell_1gjeq_81",
723
- "f-table-component__table_footer": "_f-table-component__table_footer_1gjeq_97"
720
+ "f-table-component__table_body": "_f-table-component__table_body_ld5gh_65",
721
+ "f-table-component__table_row": "_f-table-component__table_row_ld5gh_68",
722
+ "f-table-component__table_row_no-hover": "_f-table-component__table_row_no-hover_ld5gh_68",
723
+ "f-table-component__table_body-cell": "_f-table-component__table_body-cell_ld5gh_81",
724
+ "f-table-component__table_footer": "_f-table-component__table_footer_ld5gh_97"
724
725
  };
725
726
  const FTableHead = ({
726
727
  st,
@@ -912,14 +913,26 @@ const FTableRow = ({
912
913
  st,
913
914
  children,
914
915
  textAlignment,
916
+ disableHover = false,
917
+ // По умолчанию ховер включен
915
918
  ...props
916
919
  }) => {
920
+ const rowClasses = [
921
+ styles$s["f-table-component__table_row"],
922
+ props.className || ""
923
+ ];
924
+ if (disableHover) {
925
+ rowClasses.push(styles$s["f-table-component__table_row_no-hover"]);
926
+ }
927
+ if (textAlignment !== void 0) {
928
+ rowClasses.push(styles$s[textAlignment]);
929
+ }
917
930
  return /* @__PURE__ */ jsx(
918
931
  "tr",
919
932
  {
920
933
  style: st,
921
934
  ...props,
922
- className: `${styles$s["f-table-component__table_row"]} ${props.className || ""}${textAlignment !== void 0 ? ` ${styles$s[textAlignment]}` : ""}`,
935
+ className: rowClasses.join(" ").trim(),
923
936
  children
924
937
  }
925
938
  );