@oliasoft-open-source/react-ui-library 10.2.5-beta-1 → 10.2.5-beta-3

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
@@ -1841,12 +1841,13 @@ export declare interface ITooltipProps {
1841
1841
  triggerOffset?: number;
1842
1842
  fontSize?: TStringOrNumber;
1843
1843
  padding?: TStringOrNumber;
1844
- display?: string;
1845
- flex?: string;
1846
- triggerStyle?: CSSProperties;
1847
1844
  forceOpen?: boolean;
1845
+ /** @deprecated Aria positioning replaces floating-ui animation-frame updates. */
1848
1846
  updateOnAnimationFrame?: boolean;
1849
1847
  children?: ReactNode;
1848
+ display?: string;
1849
+ flex?: string;
1850
+ triggerStyle?: CSSProperties;
1850
1851
  }
1851
1852
 
1852
1853
  declare interface ITopBarAppSwitcherProps {
@@ -1957,10 +1958,6 @@ declare interface IUnitConfigItem {
1957
1958
  preferredUnit?: string;
1958
1959
  }
1959
1960
 
1960
- declare interface IUnitEntry {
1961
- [key: string]: string;
1962
- }
1963
-
1964
1961
  export declare interface IUnitInputProps {
1965
1962
  name?: string | {
1966
1963
  fieldName?: string;
@@ -2027,14 +2024,6 @@ declare interface IUnitTable extends Omit<ITableProps['table'], 'rows'> {
2027
2024
  rows?: IUnitTableRow[];
2028
2025
  }
2029
2026
 
2030
- export declare interface IUnitTableBeforeRenderRowParams {
2031
- row: IUnitTableRow;
2032
- rowIndex: number;
2033
- selectedUnits: IUnitEntry;
2034
- storageUnits: IUnitEntry;
2035
- convertValue: (value: TStringNumberNull, unitKey: string) => TStringNumberNull;
2036
- }
2037
-
2038
2027
  declare interface IUnitTableCell {
2039
2028
  autoUnit: boolean;
2040
2029
  unitKey: string;
@@ -2055,7 +2044,7 @@ export declare interface IUnitTableOnChangeEvent extends ITableOnChangeEvent {
2055
2044
  };
2056
2045
  }
2057
2046
 
2058
- export declare interface IUnitTableProps extends Omit<ITableProps, 'table' | 'beforeRenderRow'> {
2047
+ export declare interface IUnitTableProps extends Omit<ITableProps, 'table'> {
2059
2048
  table: IUnitTable;
2060
2049
  unitConfig: IUnitConfigItem[];
2061
2050
  convertBackToStorageUnit?: boolean;
@@ -2069,7 +2058,10 @@ export declare interface IUnitTableProps extends Omit<ITableProps, 'table' | 'be
2069
2058
  from: number;
2070
2059
  to: number;
2071
2060
  }) => boolean;
2072
- beforeRenderRow?: (params: IUnitTableBeforeRenderRowParams) => IUnitTableRow;
2061
+ beforeRenderRow?: ({ row, rowIndex }: {
2062
+ row: IUnitTableRow;
2063
+ rowIndex: number;
2064
+ }) => IUnitTableRow;
2073
2065
  }
2074
2066
 
2075
2067
  export declare interface IUnitTableRow extends Omit<TRowType, 'cells'> {
@@ -2344,7 +2336,7 @@ declare type TOnChangeEventTarget = TOnChangeEventBaseTarget | (TOnChangeEventBa
2344
2336
  predefinedOption: IPredefinedOption;
2345
2337
  });
2346
2338
 
2347
- export declare const Tooltip: (props: ITooltipProps) => JSX.Element;
2339
+ export declare const Tooltip: ({ children, text, error, placement, possiblePlacements, enabled, warning, maxWidth, triggerOffset, fontSize, padding, forceOpen, display, flex, triggerStyle, }: ITooltipProps) => JSX.Element;
2348
2340
 
2349
2341
  export declare const TopBar: ({ title, appSwitcher, content, contentRight, warning, height, fixedPosition, }: ITopBarProps) => JSX.Element;
2350
2342