@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.
- package/dist/cjs/components/block-sync/block-sync.cjs +1 -1
- package/dist/cjs/components/checkbox/checkbox-labeled.cjs +1 -1
- package/dist/cjs/components/client-adapters/styled-rounded-image/styled-rounded-image.cjs +1 -1
- package/dist/cjs/components/complex-input/complex-input.cjs +1 -1
- package/dist/cjs/components/index.cjs +1 -1
- package/dist/cjs/components/separate-line/index.cjs +1 -0
- package/dist/cjs/components/separate-line/separate-line.cjs +1 -0
- package/dist/cjs/components/time-to-liquidation/time-to-liquidation.cjs +1 -1
- package/dist/cjs/index.cjs +1 -1
- package/dist/esm/components/block-sync/block-sync.js +3 -2
- package/dist/esm/components/checkbox/checkbox-labeled.js +1 -0
- package/dist/esm/components/client-adapters/styled-rounded-image/styled-rounded-image.js +1 -0
- package/dist/esm/components/complex-input/complex-input.js +3 -2
- package/dist/esm/components/index.js +190 -188
- package/dist/esm/components/separate-line/index.js +4 -0
- package/dist/esm/components/separate-line/separate-line.js +28 -0
- package/dist/esm/components/time-to-liquidation/time-to-liquidation.js +1 -0
- package/dist/esm/index.js +331 -329
- package/dist/types/components/index.d.ts +1 -0
- package/dist/types/components/separate-line/index.d.ts +1 -0
- package/dist/types/components/separate-line/separate-line.d.ts +28 -0
- package/dist/types/index.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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 };
|
package/dist/types/index.d.ts
CHANGED
|
@@ -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';
|