@it-holding-ui/atomic 6.0.1 → 6.1.0
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/build/atomic/src/ITHChipGroup/ITHChipGroup.types.d.ts +4 -6
- package/build/atomic/src/ITHPhoneInput/ITHPhoneInput.types.d.ts +3 -3
- package/build/atomic/src/ITHPhoneInput/ITHSelectCountryCodeNumber/ITHSelectCountryCodeNumber.types.d.ts +1 -0
- package/build/atomic/src/Select/ITHSelect.types.d.ts +1 -0
- package/build/atomic/src/Select/ITHSelectItem/ITHSelectItem.d.ts +1 -1
- package/build/atomic/src/Select/ITHSelectItem/ITHSelectItem.types.d.ts +1 -0
- package/build/atomic/src/Select/ITHSelectPopover/ITHSelectPopover.d.ts +1 -1
- package/build/atomic/src/Select/ITHSelectSheet/ITHSelectSheet.d.ts +1 -1
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/package.json +2 -2
|
@@ -1,15 +1,13 @@
|
|
|
1
1
|
import { ITHSelectOption } from "../Select";
|
|
2
|
-
declare type
|
|
3
|
-
withAll: true;
|
|
4
|
-
allOptionTitle: string;
|
|
5
|
-
allOptionCode?: string;
|
|
6
|
-
};
|
|
7
|
-
declare type ITHChipGroupCommonProps = ITHChipGroupWithAllProps & {
|
|
2
|
+
declare type ITHChipGroupCommonProps = {
|
|
8
3
|
chips: ITHSelectOption[];
|
|
9
4
|
inline?: boolean;
|
|
10
5
|
withoutIcons?: boolean;
|
|
11
6
|
className?: string;
|
|
12
7
|
error?: string;
|
|
8
|
+
withAll?: boolean;
|
|
9
|
+
allOptionTitle?: string;
|
|
10
|
+
allOptionCode?: string;
|
|
13
11
|
onFocus?: () => void;
|
|
14
12
|
onBlur?: () => void;
|
|
15
13
|
};
|
|
@@ -11,10 +11,10 @@ export declare type ITHPhoneInputProps = {
|
|
|
11
11
|
isMobile: boolean;
|
|
12
12
|
numberLabel: string;
|
|
13
13
|
codeLabel: string;
|
|
14
|
-
|
|
14
|
+
numberHasError?: boolean;
|
|
15
15
|
errorHint?: string;
|
|
16
16
|
disabled?: boolean;
|
|
17
17
|
onChange?: (newValue: PhoneInfo) => void;
|
|
18
|
-
|
|
19
|
-
|
|
18
|
+
onNumberBlur?: () => void;
|
|
19
|
+
onNumberFocus?: () => void;
|
|
20
20
|
};
|
|
@@ -9,6 +9,7 @@ export declare type ITHSelectCommonProps<Option extends ITHSelectOption> = {
|
|
|
9
9
|
inlineDetails?: boolean;
|
|
10
10
|
additionalItems?: JSX.Element | ((onClose?: (() => void) | undefined) => JSX.Element | undefined) | undefined;
|
|
11
11
|
nothingFoundText: string;
|
|
12
|
+
withoutCheckMark?: boolean;
|
|
12
13
|
};
|
|
13
14
|
export declare type ITHSelectCheckboxProps<Option extends ITHSelectOption> = ITHSelectCommonProps<Option> & {
|
|
14
15
|
selectingType?: 'checkbox';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ITHSelectItemProps } from './ITHSelectItem.types';
|
|
2
2
|
import './ITHSelectItem.scss';
|
|
3
3
|
import { ITHSelectOption } from "../ITHSelect.types";
|
|
4
|
-
export declare const ITHSelectItem: <Option extends ITHSelectOption>({ item, inlineDetails, isSelected, onClick, slot, }: ITHSelectItemProps<Option>) => JSX.Element;
|
|
4
|
+
export declare const ITHSelectItem: <Option extends ITHSelectOption>({ item, inlineDetails, isSelected, withoutCheckMark, onClick, slot, }: ITHSelectItemProps<Option>) => JSX.Element;
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ITHSelectOption } from "..";
|
|
2
2
|
export declare type ITHSelectItemProps<Option extends ITHSelectOption> = {
|
|
3
3
|
item: Option;
|
|
4
|
+
withoutCheckMark?: boolean;
|
|
4
5
|
inlineDetails?: boolean;
|
|
5
6
|
isSelected?: boolean;
|
|
6
7
|
onClick?: (value: string | undefined, item: Option) => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ITHSelectPopoverContentProps, ITHSelectPopoverProps } from './ITHSelectPopover.types';
|
|
2
2
|
import './ITHSelectPopover.scss';
|
|
3
3
|
import { ITHSelectOption } from "../ITHSelect.types";
|
|
4
|
-
export declare const ITHSelectPopoverContent: <Option extends ITHSelectOption>({ label, withVirtualScroll, inlineDetails, additionalItems, closePopover, ...props }: ITHSelectPopoverContentProps<Option>) => JSX.Element;
|
|
4
|
+
export declare const ITHSelectPopoverContent: <Option extends ITHSelectOption>({ label, withVirtualScroll, inlineDetails, additionalItems, withoutCheckMark, closePopover, ...props }: ITHSelectPopoverContentProps<Option>) => JSX.Element;
|
|
5
5
|
export declare const ITHSelectPopover: <Option extends ITHSelectOption>({ className, ...props }: ITHSelectPopoverProps<Option>) => JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import { ITHSelectSheetProps } from './ITHSelectSheet.types';
|
|
2
2
|
import './ITHSelectSheet.scss';
|
|
3
3
|
import { ITHSelectOption } from "../ITHSelect.types";
|
|
4
|
-
export declare const ITHSelectSheet: <Option extends ITHSelectOption>({ hasHeader, onClose, inlineDetails, additionalItems, withVirtualScroll, ...props }: ITHSelectSheetProps<Option>) => JSX.Element;
|
|
4
|
+
export declare const ITHSelectSheet: <Option extends ITHSelectOption>({ hasHeader, onClose, inlineDetails, additionalItems, withVirtualScroll, withoutCheckMark, ...props }: ITHSelectSheetProps<Option>) => JSX.Element;
|