@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.
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@windrun-huaiin/third-ui",
3
- "version": "5.10.0",
3
+ "version": "5.10.1",
4
4
  "description": "Third-party integrated UI components for windrun-huaiin projects",
5
5
  "main": "./dist/index.js",
6
6
  "module": "./dist/index.mjs",
@@ -17,6 +17,7 @@ interface MenuItemConfig extends BaseButtonConfig {
17
17
  text: string
18
18
  color?: string
19
19
  }
20
+ splitTopBorder?: boolean
20
21
  }
21
22
 
22
23
  // single button config
@@ -166,6 +167,7 @@ export function XButton(props: xButtonProps) {
166
167
  }}
167
168
  disabled={item.disabled}
168
169
  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 : ''}`}
170
+ style={item.splitTopBorder ? { borderTop: '1px solid #AC62FD' } : undefined}
169
171
  >
170
172
  <span className="flex items-center">
171
173
  {item.icon}