@oliasoft-open-source/react-ui-library 10.5.2 → 10.6.1-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
@@ -738,6 +738,7 @@ export declare interface IInputGroupProps {
738
738
  children: ReactNode;
739
739
  small?: boolean;
740
740
  width?: TStringOrNumber;
741
+ isInTable?: boolean;
741
742
  }
742
743
 
743
744
  export declare interface IInputProps {
@@ -1108,7 +1109,7 @@ export declare const initializeGuiLibrary: (config: IConfig) => void;
1108
1109
 
1109
1110
  export declare const Input: default_2.ForwardRefExoticComponent<IInputProps & default_2.RefAttributes<HTMLInputElement>>;
1110
1111
 
1111
- export declare const InputGroup: ({ children, small, width }: IInputGroupProps) => ReactElement;
1112
+ export declare const InputGroup: ({ children, small, width, isInTable: isInTableProp, }: IInputGroupProps) => ReactElement;
1112
1113
 
1113
1114
  export declare const InputGroupAddon: ({ children, groupOrder, small }: IInputGroupAddonProps) => default_2.ReactElement;
1114
1115
 
@@ -1975,6 +1976,10 @@ declare interface IUnitEntry {
1975
1976
  [key: string]: string;
1976
1977
  }
1977
1978
 
1979
+ declare interface IUnitInputCell extends TCommonCell, Omit<IUnitInputProps, 'isInTable' | 'width' | 'groupOrder' | 'testId'> {
1980
+ type: TCellType;
1981
+ }
1982
+
1978
1983
  export declare interface IUnitInputProps {
1979
1984
  name?: string | {
1980
1985
  fieldName?: string;
@@ -2011,6 +2016,7 @@ export declare interface IUnitInputProps {
2011
2016
  selectOnFocus?: boolean;
2012
2017
  groupOrder?: TGroupOrder;
2013
2018
  tooltip?: TStringOrNumber | default_2.ReactNode;
2019
+ isInTable?: boolean;
2014
2020
  }
2015
2021
 
2016
2022
  export declare interface IUnitSliderProps {
@@ -2239,9 +2245,9 @@ export declare type TButtonPosition = 'top' | 'bottom';
2239
2245
 
2240
2246
  export declare type TButtonType = 'submit' | 'button' | 'reset';
2241
2247
 
2242
- declare type TCellShape = IPopoverCell | IStaticCell | ISelectCell | IHelpIconCell | ILibraryIconCell | ICheckBoxCell | IIconCell | IInputCell | ILinkCell | INumberInputCell | IActionCell | IRadioCell | ISortCell | ISliderCell | ISimpleCell;
2248
+ declare type TCellShape = IPopoverCell | IStaticCell | ISelectCell | IHelpIconCell | ILibraryIconCell | ICheckBoxCell | IIconCell | IInputCell | ILinkCell | INumberInputCell | IUnitInputCell | IActionCell | IRadioCell | ISortCell | ISliderCell | ISimpleCell;
2243
2249
 
2244
- declare type TCellType = 'Static' | 'Icon' | 'Select' | 'Input' | 'NumberInput' | 'Popover' | 'CheckBox' | 'Radio' | 'Actions' | 'Link' | 'Slider' | 'Unit' | string;
2250
+ declare type TCellType = 'Static' | 'Icon' | 'Select' | 'Input' | 'NumberInput' | 'UnitInput' | 'Popover' | 'CheckBox' | 'Radio' | 'Actions' | 'Link' | 'Slider' | 'Unit' | string;
2245
2251
 
2246
2252
  export declare type TChangeEvent<T extends HTMLElement = HTMLInputElement> = ChangeEvent<T> & {
2247
2253
  target: T | {
@@ -2505,7 +2511,7 @@ declare const UNIFIED_VIEW = "unified";
2505
2511
 
2506
2512
  declare type UnitContextType = any;
2507
2513
 
2508
- export declare const UnitInput: ({ name, placeholder, disabled, disabledUnit, error, left, small, width, value, unitkey, initUnit, noConversion, onChange, onClick: _onClick, onFocus, onSwitchUnit, unitTemplate, testId, warning, predefinedOptions, initialPredefinedOption, shouldLinkAutomaticly, selectedPredefinedOptionKey, validationCallback, disabledValidation, allowEmpty, convertBackToStorageUnit, enableCosmeticRounding, enableDisplayRounding, roundDisplayValue, selectOnFocus, groupOrder, tooltip, }: IUnitInputProps) => JSX.Element;
2514
+ export declare const UnitInput: ({ name, placeholder, disabled, disabledUnit, error, left, small, width, value, unitkey, initUnit, noConversion, onChange, onClick: _onClick, onFocus, onSwitchUnit, unitTemplate, testId, warning, predefinedOptions, initialPredefinedOption, shouldLinkAutomaticly, selectedPredefinedOptionKey, validationCallback, disabledValidation, allowEmpty, convertBackToStorageUnit, enableCosmeticRounding, enableDisplayRounding, roundDisplayValue, selectOnFocus, groupOrder, tooltip, isInTable: isInTableProp, }: IUnitInputProps) => JSX.Element;
2509
2515
 
2510
2516
  export declare const UnitSlider: ({ name, value, min, max, label, step, onChange, onChangeComplete, preferredUnit, onSwitchUnit, enableEditUnitInput, disabled, showUnitInput, showArrows, unitkey, testId, noConversion, small, marks, minErrorMessage, maxErrorMessage, }: IUnitSliderProps) => JSX.Element;
2511
2517