@oliasoft-open-source/react-ui-library 4.16.4-beta-1 → 4.17.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
@@ -437,6 +437,7 @@ declare interface IFooterProps {
437
437
  pagination: IPagination;
438
438
  actions?: IAction[];
439
439
  content?: ReactNode;
440
+ testId?: string;
440
441
  }
441
442
 
442
443
  export declare interface IFormRowProps {
@@ -502,6 +503,7 @@ declare interface IInputCell extends TCommonCell {
502
503
  warning?: string;
503
504
  disabled?: boolean;
504
505
  maxTooltipWidth?: TStringOrNumber;
506
+ selectOnFocus?: boolean;
505
507
  tooltip?: StringNumberOrNode;
506
508
  }
507
509
 
@@ -528,6 +530,7 @@ export declare interface IInputProps {
528
530
  onFocus?: (evt: FocusEvent_2<HTMLInputElement>) => void;
529
531
  onBlur?: (evt: FocusEvent_2<HTMLInputElement>) => void;
530
532
  onPaste?: default_2.ClipboardEventHandler<HTMLInputElement>;
533
+ selectOnFocus?: boolean;
531
534
  small?: boolean;
532
535
  placeholder?: string | null;
533
536
  tabIndex?: number;
@@ -907,6 +910,7 @@ declare interface INumberInputCell extends TCommonCell {
907
910
  enableCosmeticRounding: boolean;
908
911
  enableDisplayRounding: boolean;
909
912
  roundDisplayValue: (value: TStringOrNumber) => TStringOrNumber;
913
+ selectOnFocus?: boolean;
910
914
  }
911
915
 
912
916
  export declare interface INumberInputProps {
@@ -923,6 +927,7 @@ export declare interface INumberInputProps {
923
927
  onChange?: TChangeEventHandler;
924
928
  onFocus?: (evt: FocusEvent_2<HTMLInputElement>) => void;
925
929
  onBlur?: (evt: FocusEvent_2<HTMLInputElement>) => void;
930
+ selectOnFocus?: boolean;
926
931
  tabIndex?: number;
927
932
  testId?: string;
928
933
  tooltip?: TStringOrNumber | default_2.ReactNode;
@@ -1588,6 +1593,7 @@ export declare interface IUnitInputProps {
1588
1593
  enableCosmeticRounding?: boolean;
1589
1594
  enableDisplayRounding?: boolean;
1590
1595
  roundDisplayValue?: (args: TStringOrNumber) => TStringOrNumber;
1596
+ selectOnFocus?: boolean;
1591
1597
  }
1592
1598
 
1593
1599
  declare interface IUnitTable extends Omit<ITableProps['table'], 'rows'> {
@@ -1669,7 +1675,7 @@ export declare const Modal: ({ children, visible, centered, width, onEnter, onEs
1669
1675
 
1670
1676
  export declare const NativeSelect: ({ disabled, error, warning, tooltip, options, onChange, onFocus, onBlur, right, small, tabIndex, selectedOption, width, groupOrder, testId, isInTable, clearable, placeholder, hasNonExistentValue, maxTooltipWidth, borderRadius, }: INativeSelectProps) => JSX_2.Element;
1671
1677
 
1672
- export declare const NumberInput: ({ name, placeholder, disabled, error, left, small, width, value, onChange, onFocus, onBlur, tabIndex, testId, tooltip, warning, validationCallback, allowEmpty, isInTable, groupOrder, enableCosmeticRounding, enableDisplayRounding, roundDisplayValue, disableInternalErrorValidationMessages, }: INumberInputProps) => JSX_2.Element;
1678
+ export declare const NumberInput: ({ name, placeholder, disabled, error, left, small, width, value, onChange, onFocus, onBlur, selectOnFocus, tabIndex, testId, tooltip, warning, validationCallback, allowEmpty, isInTable, groupOrder, enableCosmeticRounding, enableDisplayRounding, roundDisplayValue, disableInternalErrorValidationMessages, }: INumberInputProps) => JSX_2.Element;
1673
1679
 
1674
1680
  export declare const OptionDropdown: ({ name, label, options, onChange, small, showHeader, maxHeight, }: IOptionDropdownProps) => ReactElement;
1675
1681
 
@@ -1885,7 +1891,7 @@ declare type TUnitTableCellShape = TCellShape | IUnitTableStaticCell | IUnitTabl
1885
1891
 
1886
1892
  declare type UnitContextType = any;
1887
1893
 
1888
- export declare const UnitInput: ({ name, placeholder, disabled, disabledUnit, error, left, small, width, value, unitkey, initUnit, noConversion, onChange, onClick, onFocus, onSwitchUnit, unitTemplate, testId, warning, predefinedOptions, initialPredefinedOption, shouldLinkAutomaticly, selectedPredefinedOptionKey, validationCallback, disabledValidation, allowEmpty, convertBackToStorageUnit, enableCosmeticRounding, enableDisplayRounding, roundDisplayValue, }: IUnitInputProps) => JSX_2.Element;
1894
+ export declare const UnitInput: ({ name, placeholder, disabled, disabledUnit, error, left, small, width, value, unitkey, initUnit, noConversion, onChange, onClick, onFocus, onSwitchUnit, unitTemplate, testId, warning, predefinedOptions, initialPredefinedOption, shouldLinkAutomaticly, selectedPredefinedOptionKey, validationCallback, disabledValidation, allowEmpty, convertBackToStorageUnit, enableCosmeticRounding, enableDisplayRounding, roundDisplayValue, selectOnFocus, }: IUnitInputProps) => JSX_2.Element;
1889
1895
 
1890
1896
  export declare const UnitTable: ({ table, unitConfig, convertBackToStorageUnit, enableCosmeticRounding, enableDisplayRounding, }: IUnitTableProps) => JSX_2.Element;
1891
1897