react-luminus-components 1.2.2 → 1.2.4

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.
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { FormCheckInputProps } from '@models/index';
3
- declare const CheckInput: ({ InputContainer, label, value, onChange, hidden, disabled, className, type, }: FormCheckInputProps) => import("react").JSX.Element;
3
+ declare const CheckInput: ({ InputContainer, label, value, onChange, hidden, disabled, className, type, withoutLabel, }: FormCheckInputProps) => import("react").JSX.Element;
4
4
  export default CheckInput;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { DropdownPickerProps } from '@models/index';
3
- declare const DropdownPicker: ({ InputContainer, items, defaultSelection, onClickSelectedItem, onSearchQueryChange, texts, isLoading, isNumber, onSelect, label, withoutLabel, size, hidden, disabled, }: DropdownPickerProps) => import("react").JSX.Element;
3
+ declare const DropdownPicker: ({ InputContainer, items, defaultSelection, onClickSelectedItem, onSearchQueryChange, texts, isLoading, isNumber, onSelect, label, withoutLabel, size, additionalColumns, hidden, disabled, }: DropdownPickerProps) => import("react").JSX.Element;
4
4
  export default DropdownPicker;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import HookFormCheckInputProps from '@models/prop-types/HookFormInputProps/HookFormCheckInputProps';
3
- declare const HookFormCheckInput: ({ InputContainer, formField, label, resetsFields, type, required, hidden, disabled, }: HookFormCheckInputProps) => import("react").JSX.Element;
3
+ declare const HookFormCheckInput: ({ InputContainer, formField, label, resetsFields, type, required, hidden, disabled, withoutLabel, }: HookFormCheckInputProps) => import("react").JSX.Element;
4
4
  export default HookFormCheckInput;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import HookFormDropdownPickerProps from '@models/prop-types/HookFormInputProps/HookFormDropdownPickerProps';
3
- declare const HookFormDropdownPicker: ({ InputContainer, formField, label, size, defaultSelection, resetsFields, isNumber, required, hidden, disabled, items, onSearchQueryChange, onClickSelectedItem, texts, isLoading, }: HookFormDropdownPickerProps) => import("react").JSX.Element;
3
+ declare const HookFormDropdownPicker: ({ InputContainer, formField, label, size, defaultSelection, resetsFields, isNumber, required, hidden, disabled, items, onSearchQueryChange, onClickSelectedItem, texts, isLoading, withoutLabel, additionalColumns, }: HookFormDropdownPickerProps) => import("react").JSX.Element;
4
4
  export default HookFormDropdownPicker;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { HookFormFileInputProps } from '@models/index';
3
- declare const HookFormFileInput: ({ InputContainer, label, formField, hidden, required, placeholder, disabled, showClearIcon, resetsFields, multiple, accept, }: HookFormFileInputProps) => import("react").JSX.Element;
3
+ declare const HookFormFileInput: ({ InputContainer, label, formField, hidden, required, placeholder, disabled, showClearIcon, resetsFields, multiple, accept, withoutLabel, }: HookFormFileInputProps) => import("react").JSX.Element;
4
4
  export default HookFormFileInput;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import HookFormSelectInputProps from '@models/prop-types/HookFormInputProps/HookFormSelectInputProps';
3
- declare const HookFormSelectInput: ({ InputContainer, formField, label, resetsFields, options, isNumber, size, showClearIcon, clearValue, noSortOptions, required, hidden, disabled, }: HookFormSelectInputProps) => import("react").JSX.Element;
3
+ declare const HookFormSelectInput: ({ InputContainer, formField, label, resetsFields, options, isNumber, size, showClearIcon, clearValue, noSortOptions, required, hidden, disabled, withoutLabel, }: HookFormSelectInputProps) => import("react").JSX.Element;
4
4
  export default HookFormSelectInput;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import HookFormTextAreaInputProps from '@models/prop-types/HookFormInputProps/HookFormTextAreaInputProps';
3
- declare const HookFormTextAreaInput: ({ InputContainer, formField, label, resetsFields, size, showClearIcon, clearValue, required, hidden, disabled, height, rows, }: HookFormTextAreaInputProps) => import("react").JSX.Element;
3
+ declare const HookFormTextAreaInput: ({ InputContainer, formField, label, resetsFields, size, showClearIcon, clearValue, required, hidden, disabled, height, rows, withoutLabel, }: HookFormTextAreaInputProps) => import("react").JSX.Element;
4
4
  export default HookFormTextAreaInput;
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import HookFormTextInputProps from '@models/prop-types/HookFormInputProps/HookFormTextInputProps';
3
- declare const HookFormTextInput: ({ InputContainer, type, formField, label, placeholder, size, resetsFields, showClearIcon, clearValue, required, hidden, disabled, }: HookFormTextInputProps) => import("react").JSX.Element;
3
+ declare const HookFormTextInput: ({ InputContainer, type, formField, label, placeholder, size, resetsFields, showClearIcon, clearValue, required, hidden, disabled, withoutLabel, }: HookFormTextInputProps) => import("react").JSX.Element;
4
4
  export default HookFormTextInput;
@@ -1,16 +1,20 @@
1
1
  /// <reference types="react" />
2
- import { DropdownPickerTexts, FormSelectOption } from '@models/index';
2
+ import { DropdownPickerOption, DropdownPickerTexts } from '@models/index';
3
3
  type Props = {
4
4
  show: boolean;
5
5
  onCancel: () => void;
6
- items: FormSelectOption[];
7
- currentSelection: FormSelectOption | null;
8
- onSelectionChange: (item: FormSelectOption | null) => void;
9
- onClickSelectedItem: (item: FormSelectOption) => void;
6
+ items: DropdownPickerOption[];
7
+ currentSelection: DropdownPickerOption | null;
8
+ onSelectionChange: (item: DropdownPickerOption | null) => void;
9
+ onClickSelectedItem: (item: DropdownPickerOption) => void;
10
10
  onSearchQueryChange: (query: string) => void;
11
11
  texts: DropdownPickerTexts;
12
+ additionalColumns?: {
13
+ key: string;
14
+ name: string;
15
+ }[];
12
16
  disabled?: boolean;
13
17
  isLoading?: boolean;
14
18
  };
15
- declare const SimplePicker: ({ show, onCancel, items, currentSelection, onSelectionChange, onClickSelectedItem, onSearchQueryChange, texts, disabled, isLoading, }: Props) => import("react").JSX.Element;
19
+ declare const SimplePicker: ({ show, onCancel, items, currentSelection, onSelectionChange, onClickSelectedItem, onSearchQueryChange, texts, additionalColumns, disabled, isLoading, }: Props) => import("react").JSX.Element;
16
20
  export default SimplePicker;