@gearbox-protocol/permissionless-ui 1.22.0-next.47 → 1.22.0-next.48

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.
@@ -88,6 +88,7 @@ export * from './search-bar';
88
88
  export * from './search-line';
89
89
  export * from './segmented-control';
90
90
  export * from './select';
91
+ export * from './separate-line';
91
92
  export * from './separator';
92
93
  export * from './short-string';
93
94
  export * from './signatures';
@@ -0,0 +1 @@
1
+ export { SeparateLine, type SeparateLineProps, } from './separate-line';
@@ -0,0 +1,28 @@
1
+ import * as React from "react";
2
+ export interface SeparateLineProps {
3
+ /** Horizontal overflow (width = 100% + outOfBound px). @default 0 */
4
+ outOfBound?: number;
5
+ /** Vertical margin in px. @default 10 */
6
+ margin?: number;
7
+ /** Left offset in px (applied as left: -left). @default 0 */
8
+ left?: number;
9
+ /** Border thickness in px. @default 1 */
10
+ thickness?: number;
11
+ /** Extra class name. */
12
+ className?: string;
13
+ }
14
+ /**
15
+ * SeparateLine — horizontal divider line (matches interface OptionsMenu SeparateLine).
16
+ *
17
+ * @usage
18
+ * Use as a visual separator between sections; supports extending width and offset.
19
+ *
20
+ * @example
21
+ * ```tsx
22
+ * <SeparateLine />
23
+ * <SeparateLine margin={20} />
24
+ * <SeparateLine left={16} outOfBound={32} thickness={2} />
25
+ * ```
26
+ */
27
+ declare const SeparateLine: React.ForwardRefExoticComponent<SeparateLineProps & React.RefAttributes<HTMLDivElement>>;
28
+ export { SeparateLine };
@@ -86,6 +86,7 @@ export * from './components/search-bar';
86
86
  export * from './components/search-line';
87
87
  export * from './components/segmented-control';
88
88
  export * from './components/select';
89
+ export * from './components/separate-line';
89
90
  export * from './components/separator';
90
91
  export * from './components/short-string';
91
92
  export * from './components/signatures';
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@gearbox-protocol/permissionless-ui",
3
- "version": "1.22.0-next.47",
3
+ "version": "1.22.0-next.48",
4
4
  "description": "Internal UI components",
5
5
  "license": "MIT",
6
6
  "main": "./dist/cjs/index.js",