@oliasoft-open-source/react-ui-library 10.4.0 → 10.5.0-beta-2
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/global.css +1 -1
- package/dist/index.d.ts +21 -0
- package/dist/index.js +440 -371
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -1363,6 +1363,18 @@ declare interface IReorderData {
|
|
|
1363
1363
|
to?: number;
|
|
1364
1364
|
}
|
|
1365
1365
|
|
|
1366
|
+
export declare interface IResizableProps {
|
|
1367
|
+
children: default_2.ReactNode;
|
|
1368
|
+
axis: TAxis;
|
|
1369
|
+
size: number;
|
|
1370
|
+
onResize: (size: number) => void;
|
|
1371
|
+
minSize?: number;
|
|
1372
|
+
maxSize?: number;
|
|
1373
|
+
handlePosition?: THandlePosition;
|
|
1374
|
+
/** Applied to the scrollable content (background, padding, overflow, etc.). */
|
|
1375
|
+
className?: string;
|
|
1376
|
+
}
|
|
1377
|
+
|
|
1366
1378
|
export declare interface IRichTextInputHandle {
|
|
1367
1379
|
clearContent: () => void;
|
|
1368
1380
|
editor: Editor | null;
|
|
@@ -2167,6 +2179,11 @@ export declare const RadioButton: ({ name, label, options: rawOptions, value: ra
|
|
|
2167
2179
|
|
|
2168
2180
|
export declare const readFile: (file?: Blob, method?: TFileReaderMethod) => Promise<string | ArrayBuffer | null>;
|
|
2169
2181
|
|
|
2182
|
+
/**
|
|
2183
|
+
* Controlled resizable region along the horizontal or vertical axis, with a drag handle.
|
|
2184
|
+
*/
|
|
2185
|
+
export declare const Resizable: ({ children, axis, size, onResize, minSize, maxSize, handlePosition, className, }: IResizableProps) => JSX.Element;
|
|
2186
|
+
|
|
2170
2187
|
export declare const RichTextInput: NamedExoticComponent<IRichTextInputProps & RefAttributes<IRichTextInputHandle>>;
|
|
2171
2188
|
|
|
2172
2189
|
export declare const Row: ({ alignItems, justifyContent, children, flex, height, marginBottom, marginTop, spacing: spacingProp, wrap, testId, }: IRowProps) => JSX.Element;
|
|
@@ -2199,6 +2216,8 @@ export declare const Tabs: ({ name, options: rawOptions, value: rawValue, onChan
|
|
|
2199
2216
|
|
|
2200
2217
|
export declare type TAlign = 'left' | 'right' | 'center';
|
|
2201
2218
|
|
|
2219
|
+
declare type TAxis = 'x' | 'y';
|
|
2220
|
+
|
|
2202
2221
|
declare type TBaseElementProps = {
|
|
2203
2222
|
label?: string | null;
|
|
2204
2223
|
icon?: ReactNode;
|
|
@@ -2290,6 +2309,8 @@ declare type TFunction = (...args: any[]) => any;
|
|
|
2290
2309
|
|
|
2291
2310
|
export declare type TGroupOrder = 'first' | 'middle' | 'last';
|
|
2292
2311
|
|
|
2312
|
+
declare type THandlePosition = 'start' | 'end';
|
|
2313
|
+
|
|
2293
2314
|
export declare enum Theme {
|
|
2294
2315
|
DARK = "dark",
|
|
2295
2316
|
WHITE = "white",
|