fui-material 2.2.18 → 2.3.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.
@@ -2052,7 +2052,7 @@ const warning$4 = "_warning_1lhk7_58";
2052
2052
  const info$2 = "_info_1lhk7_62";
2053
2053
  const light = "_light_1lhk7_66";
2054
2054
  const dark = "_dark_1lhk7_70";
2055
- const link$1 = "_link_1lhk7_74";
2055
+ const link = "_link_1lhk7_74";
2056
2056
  const styles$o = {
2057
2057
  "authorization-spinner": "_authorization-spinner_1lhk7_1",
2058
2058
  "spinner-item": "_spinner-item_1lhk7_7",
@@ -2065,7 +2065,7 @@ const styles$o = {
2065
2065
  info: info$2,
2066
2066
  light,
2067
2067
  dark,
2068
- link: link$1
2068
+ link
2069
2069
  };
2070
2070
  const FProgress = ({ st, color = "primary", id, className }) => {
2071
2071
  return /* @__PURE__ */ jsxRuntimeExports.jsx(
@@ -4014,32 +4014,61 @@ const FNavigateBarItem = ({
4014
4014
  }
4015
4015
  );
4016
4016
  };
4017
- const link = "_link_1desp_10";
4018
- const disabled = "_disabled_1desp_36";
4017
+ const disabled = "_disabled_w47ps_49";
4019
4018
  const styles$6 = {
4020
- "page-links": "_page-links_1desp_3",
4021
- link,
4019
+ "sections-routes": "_sections-routes_w47ps_2",
4020
+ "sections-routes_card": "_sections-routes_card_w47ps_9",
4021
+ "sections-routes_card__title": "_sections-routes_card__title_w47ps_25",
4022
+ "sections-routes_card__links": "_sections-routes_card__links_w47ps_31",
4022
4023
  disabled
4023
4024
  };
4024
- const FMenuLinks = ({ children, className, st, id, disabled: disabled2 = [] }) => {
4025
- const enhancedChildren = React.Children.map(children, (child, index) => {
4026
- if (React.isValidElement(child)) {
4027
- const isDisabled = disabled2.includes(index);
4028
- const childClassName = child.props.className ? `${child.props.className} ${styles$6.link} ${isDisabled ? styles$6.disabled : ""}` : `${styles$6.link} ${isDisabled ? styles$6.disabled : ""}`;
4029
- return React.cloneElement(child, {
4030
- className: childClassName,
4031
- ...isDisabled && { onClick: (e) => e.preventDefault() }
4032
- });
4025
+ const FMenuBlockLinks = ({
4026
+ children,
4027
+ className,
4028
+ st,
4029
+ id
4030
+ }) => {
4031
+ return /* @__PURE__ */ jsxRuntimeExports.jsx(
4032
+ "div",
4033
+ {
4034
+ className: `${styles$6["sections-routes"]} ${className ?? ""}`.trim(),
4035
+ style: st,
4036
+ id,
4037
+ children
4033
4038
  }
4034
- return child;
4039
+ );
4040
+ };
4041
+ const FMenuLinks = ({
4042
+ children,
4043
+ className,
4044
+ st,
4045
+ id,
4046
+ disabled: disabled2 = [],
4047
+ title
4048
+ }) => {
4049
+ const enhancedChildren = React.Children.map(children, (child, index) => {
4050
+ if (!React.isValidElement(child)) return child;
4051
+ const isDisabled = disabled2.includes(index);
4052
+ const childClass = [
4053
+ child.props.className,
4054
+ styles$6.link,
4055
+ isDisabled && styles$6.disabled
4056
+ ].filter(Boolean).join(" ");
4057
+ return React.cloneElement(child, {
4058
+ className: childClass,
4059
+ ...isDisabled && { onClick: (e) => e.preventDefault() }
4060
+ });
4035
4061
  });
4036
- return /* @__PURE__ */ jsxRuntimeExports.jsx(
4062
+ return /* @__PURE__ */ jsxRuntimeExports.jsxs(
4037
4063
  "div",
4038
4064
  {
4039
- className: `${styles$6["page-links"]} ${className || ""}`,
4065
+ className: `${styles$6["sections-routes_card"]} ${className ?? ""}`.trim(),
4040
4066
  style: st,
4041
4067
  id,
4042
- children: enhancedChildren
4068
+ children: [
4069
+ title && /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$6["sections-routes_card__title"], children: title }),
4070
+ /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: styles$6["sections-routes_card__links"], children: enhancedChildren })
4071
+ ]
4043
4072
  }
4044
4073
  );
4045
4074
  };
@@ -52658,6 +52687,7 @@ export {
52658
52687
  FInputFileForm,
52659
52688
  FListIcon,
52660
52689
  FLoadIcon,
52690
+ FMenuBlockLinks,
52661
52691
  FMenuLinks,
52662
52692
  FMinusIcon,
52663
52693
  FNative,