@oliasoft-open-source/react-ui-library 10.3.1 → 10.5.0-beta-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/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 resized surface. Use for background, padding, etc. */
1375
+ className?: string;
1376
+ }
1377
+
1366
1378
  export declare interface IRichTextInputHandle {
1367
1379
  clearContent: () => void;
1368
1380
  editor: Editor | null;
@@ -1758,6 +1770,7 @@ export declare interface ITabsProps {
1758
1770
  onChange?: TTabsChangeEventHandler;
1759
1771
  padding?: boolean;
1760
1772
  margin?: boolean;
1773
+ small?: boolean;
1761
1774
  testId?: string;
1762
1775
  /** Default router link component for tab options with `to`. */
1763
1776
  linkComponent?: ElementType_2;
@@ -2166,6 +2179,11 @@ export declare const RadioButton: ({ name, label, options: rawOptions, value: ra
2166
2179
 
2167
2180
  export declare const readFile: (file?: Blob, method?: TFileReaderMethod) => Promise<string | ArrayBuffer | null>;
2168
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
+
2169
2187
  export declare const RichTextInput: NamedExoticComponent<IRichTextInputProps & RefAttributes<IRichTextInputHandle>>;
2170
2188
 
2171
2189
  export declare const Row: ({ alignItems, justifyContent, children, flex, height, marginBottom, marginTop, spacing: spacingProp, wrap, testId, }: IRowProps) => JSX.Element;
@@ -2194,10 +2212,12 @@ export declare const Table: (props: ITableProps) => JSX.Element;
2194
2212
 
2195
2213
  export declare const TableImportExport: ({ config, smartUploadConfig, testId }: ITableImportExportProps) => JSX.Element;
2196
2214
 
2197
- export declare const Tabs: ({ name, options: rawOptions, value: rawValue, onChange, padding, margin, testId, linkComponent, }: ITabsProps) => JSX.Element | null;
2215
+ export declare const Tabs: ({ name, options: rawOptions, value: rawValue, onChange, padding, margin, small, testId, linkComponent, }: ITabsProps) => JSX.Element | null;
2198
2216
 
2199
2217
  export declare type TAlign = 'left' | 'right' | 'center';
2200
2218
 
2219
+ declare type TAxis = 'x' | 'y';
2220
+
2201
2221
  declare type TBaseElementProps = {
2202
2222
  label?: string | null;
2203
2223
  icon?: ReactNode;
@@ -2289,6 +2309,8 @@ declare type TFunction = (...args: any[]) => any;
2289
2309
 
2290
2310
  export declare type TGroupOrder = 'first' | 'middle' | 'last';
2291
2311
 
2312
+ declare type THandlePosition = 'start' | 'end';
2313
+
2292
2314
  export declare enum Theme {
2293
2315
  DARK = "dark",
2294
2316
  WHITE = "white",