@windrun-huaiin/third-ui 5.10.0 → 5.10.1

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.
@@ -81,6 +81,7 @@ interface MenuItemConfig extends BaseButtonConfig {
81
81
  text: string;
82
82
  color?: string;
83
83
  };
84
+ splitTopBorder?: boolean;
84
85
  }
85
86
  interface SingleButtonProps {
86
87
  type: 'single';
@@ -81,6 +81,7 @@ interface MenuItemConfig extends BaseButtonConfig {
81
81
  text: string;
82
82
  color?: string;
83
83
  };
84
+ splitTopBorder?: boolean;
84
85
  }
85
86
  interface SingleButtonProps {
86
87
  type: 'single';
@@ -6182,6 +6182,7 @@ function XButton(props) {
6182
6182
  },
6183
6183
  disabled: item.disabled,
6184
6184
  className: `flex items-center w-full px-4 py-3 transition hover:bg-neutral-300 dark:hover:bg-neutral-600 text-left relative ${item.disabled ? disabledClass : ""}`,
6185
+ style: item.splitTopBorder ? { borderTop: "1px solid #AC62FD" } : void 0,
6185
6186
  children: [
6186
6187
  /* @__PURE__ */ (0, import_jsx_runtime56.jsxs)("span", { className: "flex items-center", children: [
6187
6188
  item.icon,