@it-holding-ui/atomic 9.8.3 → 9.9.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/build/atomic/src/Fields/ITHAddImageField/ITHAddImageField.types.d.ts +1 -1
- package/build/atomic/src/Fields/ITHCheckboxField/ITHCheckboxField.types.d.ts +1 -1
- package/build/atomic/src/Fields/ITHCheckboxItemField/ITHCheckboxItemField.types.d.ts +1 -1
- package/build/atomic/src/Fields/ITHChipGroupField/ITHChipGroupField.types.d.ts +1 -1
- package/build/atomic/src/Fields/ITHCleaveInputField/ITHCleaveInputField.types.d.ts +1 -1
- package/build/atomic/src/Fields/ITHDatePickerInputsField/ITHDatePickerInputsField.types.d.ts +1 -1
- package/build/atomic/src/Fields/ITHInputField/ITHInputField.types.d.ts +1 -1
- package/build/atomic/src/Fields/ITHInputWithChipsSelectField/ITHInputWithChipsSelectField.types.d.ts +2 -2
- package/build/atomic/src/Fields/ITHPasswordInputField/ITHPasswordInputField.types.d.ts +1 -1
- package/build/atomic/src/Fields/ITHPhoneInputField/ITHPhoneInputField.types.d.ts +1 -1
- package/build/atomic/src/Fields/ITHPhotoInputField/ITHPhotoInputField.types.d.ts +1 -1
- package/build/atomic/src/Fields/ITHProfilePhotoInputField/ITHProfilePhotoInputField.types.d.ts +1 -1
- package/build/atomic/src/Fields/ITHRadioItemField/ITHRadioItemField.types.d.ts +1 -1
- package/build/atomic/src/Fields/ITHRangeField/ITHRangeField.types.d.ts +1 -1
- package/build/atomic/src/Fields/ITHStarRatingField/ITHStarRatingField.types.d.ts +1 -1
- package/build/atomic/src/Fields/ITHToggleField/ITHToggleField.types.d.ts +1 -1
- package/build/atomic/src/ITHActionFab/ITHActionFab.types.d.ts +1 -1
- package/build/atomic/src/ITHAddImage/ITHAddImage.types.d.ts +1 -1
- package/build/atomic/src/ITHAddItem/ITHAddItem.types.d.ts +1 -1
- package/build/atomic/src/ITHAvatar/ITHAvatar.types.d.ts +1 -1
- package/build/atomic/src/ITHAvatar/ITHImageStub/ITHImageStub.types.d.ts +1 -1
- package/build/atomic/src/ITHBadge/ITHBadge.types.d.ts +1 -1
- package/build/atomic/src/ITHButton/ITHButton.types.d.ts +4 -4
- package/build/atomic/src/ITHCheckbox/ITHCheckbox.types.d.ts +1 -1
- package/build/atomic/src/ITHCheckboxItem/ITHCheckboxItem.types.d.ts +1 -1
- package/build/atomic/src/ITHChip/ITHChip.types.d.ts +2 -2
- package/build/atomic/src/ITHChipGroup/ITHChipGroup.types.d.ts +4 -4
- package/build/atomic/src/ITHCleaveInput/ITHCleaveInput.types.d.ts +1 -1
- package/build/atomic/src/ITHCodeInput/ITHCharInput/ITHCharInput.types.d.ts +1 -1
- package/build/atomic/src/ITHCodeInput/ITHCodeInput.types.d.ts +1 -1
- package/build/atomic/src/ITHDateInput/ITHDateInput.types.d.ts +4 -4
- package/build/atomic/src/ITHDatePicker/ITHDatePicker.types.d.ts +1 -1
- package/build/atomic/src/ITHDatePicker/ITHDatePicker.utils.d.ts +3 -3
- package/build/atomic/src/ITHDatePicker/ITHDatePickerCarousel/ITHDatePickerCarousel.types.d.ts +2 -2
- package/build/atomic/src/ITHDatePicker/ITHDatePickerDay/ITHDatePickerDay.hooks.d.ts +1 -1
- package/build/atomic/src/ITHDatePicker/ITHDatePickerDay/ITHDatePickerDay.types.d.ts +1 -1
- package/build/atomic/src/ITHDatePicker/ITHDatePickerHeader/ITHDatePickerHeader.types.d.ts +1 -1
- package/build/atomic/src/ITHDatePicker/ITHDatePickerMonth/ITHDatePickerMonth.types.d.ts +2 -2
- package/build/atomic/src/ITHDatePicker/ITHDatePickerWeekdays/ITHDatePickerWeekdays.hooks.d.ts +1 -1
- package/build/atomic/src/ITHDatePicker/ITHDatePickerWeekdays/ITHDatePickerWeekdays.types.d.ts +1 -1
- package/build/atomic/src/ITHDatePickerInputs/ITHDatePickerInputs.types.d.ts +1 -1
- package/build/atomic/src/ITHDatePickerPopover/ITHDatePickerPopover.types.d.ts +6 -4
- package/build/atomic/src/ITHDatePickerSheet/ITHDatePickerSheet.types.d.ts +3 -3
- package/build/atomic/src/ITHHeader/ITHHeader.types.d.ts +2 -2
- package/build/atomic/src/ITHIcon/ITHIcon.types.d.ts +1 -1
- package/build/atomic/src/ITHImgWithBlurredFrame/ITHImgWithBlurredFrame.types.d.ts +1 -1
- package/build/atomic/src/ITHInput/ITHInput.types.d.ts +3 -3
- package/build/atomic/src/ITHInput/ITHInputFacade/ITHInputFacade.types.d.ts +5 -5
- package/build/atomic/src/ITHInputWithChips/ITHInputWithChips.types.d.ts +1 -1
- package/build/atomic/src/ITHItem/ITHItem.d.ts +1 -1
- package/build/atomic/src/ITHItem/ITHItem.types.d.ts +1 -1
- package/build/atomic/src/ITHLabel/ITHLabel.types.d.ts +1 -1
- package/build/atomic/src/ITHManualPopoverWrapper/ITHManualPopoverWrapper.types.d.ts +1 -1
- package/build/atomic/src/ITHMenuItem/ITHMenuItem.types.d.ts +1 -1
- package/build/atomic/src/ITHPasswordInput/ITHPasswordInput.types.d.ts +1 -1
- package/build/atomic/src/ITHPhoneInput/ITHPhoneInput.types.d.ts +2 -2
- package/build/atomic/src/ITHPhoneInput/ITHSelectCountryCodeNumber/ITHSelectCountryCodeNumber.types.d.ts +1 -1
- package/build/atomic/src/ITHPhotoInput/ITHAddPhotoButton/ITHAddPhotoButton.types.d.ts +1 -1
- package/build/atomic/src/ITHPhotoInput/ITHBigPhotoPreview/ITHBigPhotoPreview.types.d.ts +1 -1
- package/build/atomic/src/ITHPhotoInput/ITHPhoto/ITHPhoto.types.d.ts +1 -1
- package/build/atomic/src/ITHPhotoInput/ITHPhotoInput.types.d.ts +1 -1
- package/build/atomic/src/ITHPopover/ITHPopover.d.ts +1 -1
- package/build/atomic/src/ITHPopover/ITHPopover.types.d.ts +1 -1
- package/build/atomic/src/ITHProfilePhotoInput/ITHHiddenFileInput/ITHHiddenFileInput.types.d.ts +1 -1
- package/build/atomic/src/ITHProfilePhotoInput/ITHProfilePhotoInput.types.d.ts +1 -1
- package/build/atomic/src/ITHProvider/ITHProvider.types.d.ts +1 -1
- package/build/atomic/src/ITHRadioItem/ITHRadioItem.types.d.ts +1 -1
- package/build/atomic/src/ITHRange/ITHRange.types.d.ts +1 -1
- package/build/atomic/src/ITHSearchbar/ITHSearchbar.d.ts +1 -1
- package/build/atomic/src/ITHSearchbar/ITHSearchbar.types.d.ts +1 -1
- package/build/atomic/src/ITHSegment/ITHSegment.types.d.ts +2 -2
- package/build/atomic/src/ITHShareMenu/ITHShareMenu.constants.d.ts +2 -2
- package/build/atomic/src/ITHShareMenu/ITHShareMenu.types.d.ts +1 -1
- package/build/atomic/src/ITHSheet/ITHSheet.d.ts +1 -1
- package/build/atomic/src/ITHSheet/ITHSheet.types.d.ts +2 -2
- package/build/atomic/src/ITHSideMenu/ITHSideMenu.types.d.ts +2 -2
- package/build/atomic/src/ITHSideMenu/ITHSideMenu.utils.d.ts +1 -1
- package/build/atomic/src/ITHSingleDatePicker/ITHSingleDatePicker.types.d.ts +1 -1
- package/build/atomic/src/ITHStarRating/ITHStarRating.types.d.ts +1 -1
- package/build/atomic/src/ITHStepper/ITHStepper.types.d.ts +1 -1
- package/build/atomic/src/ITHStepper/ITHStepsIndicator/ITHStepsIndicator.types.d.ts +1 -1
- package/build/atomic/src/ITHText/ITHText.types.d.ts +6 -6
- package/build/atomic/src/ITHToggle/ITHToggle.types.d.ts +1 -1
- package/build/atomic/src/ITHVideoModal/ITHVideoModal.types.d.ts +1 -1
- package/build/atomic/src/ITHVideoPlayer/ITHVideoPlayer.types.d.ts +1 -1
- package/build/atomic/src/ITHVideoPlayer/ITHVimeoPlayer/ITHVimeoPlayer.types.d.ts +1 -1
- package/build/atomic/src/ITHVideoPlayer/ITHVkVideoPlayer/ITHVkVideoPlayer.types.d.ts +1 -1
- package/build/atomic/src/ITHVideoPlayer/ITHYoutubePlayer/ITHYoutubePlayer.types.d.ts +1 -1
- package/build/atomic/src/Select/ITHNothingFound/ITHNothingFound.types.d.ts +1 -1
- package/build/atomic/src/Select/ITHSelect/ITHSelect.hooks.d.ts +1 -0
- package/build/atomic/src/Select/ITHSelect/ITHSelect.types.d.ts +1 -1
- package/build/atomic/src/Select/ITHSelect.hooks.d.ts +2 -1
- package/build/atomic/src/Select/ITHSelect.types.d.ts +5 -5
- package/build/atomic/src/Select/ITHSelectItem/ITHSelectItem.types.d.ts +1 -1
- package/build/atomic/src/Select/ITHSelectPopover/ITHSelectPopover.types.d.ts +2 -2
- package/build/atomic/src/Select/ITHSelectSheet/ITHSelectSheet.types.d.ts +1 -1
- package/build/atomic/src/index.d.ts +0 -2
- package/build/css/main.css +2 -0
- package/build/css/main.css.map +1 -0
- package/build/index.js +1 -1
- package/build/index.js.LICENSE.txt +2 -14
- package/build/index.js.map +1 -1
- package/package.json +8 -21
- package/build/atomic/src/ITHCountryFlag/ITHCountryFlag.d.ts +0 -4
- package/build/atomic/src/ITHCountryFlag/ITHCountryFlag.types.d.ts +0 -1
- package/build/atomic/src/ITHCountryFlag/index.d.ts +0 -1
- package/build/atomic/src/ITHCurrencyIcon/ITHCurrencyIcon.d.ts +0 -3
- package/build/atomic/src/ITHCurrencyIcon/ITHCurrencyIcon.types.d.ts +0 -4
- package/build/atomic/src/ITHCurrencyIcon/index.d.ts +0 -1
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITHInputAdditionalProps } from "../ITHInput/ITHInput.types";
|
|
2
2
|
import { ITHInputFacadeInputProps } from "../ITHInput/ITHInputFacade/ITHInputFacade.types";
|
|
3
|
-
export
|
|
3
|
+
export type ITHPasswordInputProps = ITHInputAdditionalProps & Omit<ITHInputFacadeInputProps, 'type' | 'inputType' | 'icon'>;
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { ITHSelectOption } from "../Select";
|
|
2
|
-
export
|
|
2
|
+
export type PhoneInfo = {
|
|
3
3
|
countryCode: string;
|
|
4
4
|
countryNumberCode: string;
|
|
5
5
|
number: string;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type ITHPhoneInputProps = {
|
|
8
8
|
countries: ITHSelectOption[];
|
|
9
9
|
value: PhoneInfo;
|
|
10
10
|
nothingFoundText: string;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PhotoInfo } from '@it-holding-ui/types';
|
|
2
2
|
import { ITHAddPhotoButtonProps } from "../ITHAddPhotoButton";
|
|
3
|
-
export
|
|
3
|
+
export type ITHBigPhotoPreviewProps = Omit<ITHAddPhotoButtonProps, 'isBig'> & {
|
|
4
4
|
photos: PhotoInfo[];
|
|
5
5
|
previewPhotoIndex: number;
|
|
6
6
|
onDeleteButtonClick?: (index: number) => void;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './ITHPopover.scss';
|
|
3
|
-
export declare const ITHPopover: React.ForwardRefExoticComponent<Pick<import("@ionic/core/dist/types/components").JSX.IonPopover & Pick<React.HTMLAttributes<HTMLIonPopoverElement>, "className" | "
|
|
3
|
+
export declare const ITHPopover: React.ForwardRefExoticComponent<Pick<import("@ionic/core/dist/types/components").JSX.IonPopover & Pick<React.HTMLAttributes<HTMLIonPopoverElement>, "color" | "hidden" | "dir" | "slot" | "title" | "translate" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("@ionic/react/dist/types/components/IonicReactProps").IonicReactProps & React.RefAttributes<HTMLIonPopoverElement>, "color" | "hidden" | "dir" | "slot" | "title" | "translate" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | "key" | keyof import("@ionic/react/dist/types/components/IonicReactProps").IonicReactProps | keyof import("@ionic/core/dist/types/components").JSX.IonPopover> & React.RefAttributes<HTMLIonPopoverElement>>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { PhotoInfo } from '@it-holding-ui/types';
|
|
2
2
|
import { ITHTextType } from "../ITHText/ITHText.types";
|
|
3
|
-
export
|
|
3
|
+
export type ITHProfilePhotoInputProps = {
|
|
4
4
|
photo?: PhotoInfo;
|
|
5
5
|
className?: string;
|
|
6
6
|
disabled?: boolean;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IonItem, IonRadio } from '@ionic/react';
|
|
3
3
|
import { ITHTextType } from "../ITHText";
|
|
4
|
-
export
|
|
4
|
+
export type ITHRadioItemProps = React.ComponentProps<typeof IonRadio> & Pick<React.ComponentProps<typeof IonItem>, 'lines' | 'detail' | 'detailIcon' | 'shape'> & {
|
|
5
5
|
labelPosition?: 'start' | 'end';
|
|
6
6
|
label?: string;
|
|
7
7
|
labelTextType?: ITHTextType;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
2
|
import { RangeValue } from '@ionic/core';
|
|
3
3
|
import { IonRange } from '@ionic/react';
|
|
4
|
-
export
|
|
4
|
+
export type ITHRangeProps = Omit<ComponentProps<typeof IonRange>, 'onIonChange' | 'onChange' | 'value' | 'defaultValue'> & {
|
|
5
5
|
onChange?: (rangeValue: RangeValue) => void;
|
|
6
6
|
rangeValue?: RangeValue;
|
|
7
7
|
};
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ITHSearchbarProps } from './ITHSearchbar.types';
|
|
3
3
|
import './ITHSearchbar.scss';
|
|
4
|
-
export declare const ITHSearchbar: React.ForwardRefExoticComponent<Pick<ITHSearchbarProps, "id" | "lang" | "
|
|
4
|
+
export declare const ITHSearchbar: React.ForwardRefExoticComponent<Pick<ITHSearchbarProps, "hidden" | "dir" | "slot" | "title" | "translate" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture" | keyof import("@ionic/react/dist/types/components/react-component-lib/interfaces").StyleReactProps | "key" | "withToggleSearchButton" | keyof import("@ionic/core/dist/types/components").JSX.IonSearchbar> & React.RefAttributes<HTMLIonSearchbarElement>>;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IonSearchbar } from '@ionic/react';
|
|
3
|
-
export
|
|
3
|
+
export type ITHSearchbarProps = React.ComponentProps<typeof IonSearchbar> & {
|
|
4
4
|
withToggleSearchButton?: boolean;
|
|
5
5
|
};
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
import { IonSegmentCustomEvent, SegmentChangeEventDetail } from '@ionic/core';
|
|
2
|
-
export
|
|
2
|
+
export type ITHSegmentItem = {
|
|
3
3
|
value: string;
|
|
4
4
|
label: string;
|
|
5
5
|
disabled?: boolean;
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type ITHSegmentProps = {
|
|
8
8
|
items: ITHSegmentItem[];
|
|
9
9
|
value: string;
|
|
10
10
|
className?: string;
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
import { FacebookShareButton, TelegramShareButton, WhatsappShareButton } from 'react-share';
|
|
2
2
|
import { IcFacebook } from '@it-holding-ui/icons';
|
|
3
|
-
export
|
|
3
|
+
export type ShareItem = {
|
|
4
4
|
text: string;
|
|
5
5
|
component?: typeof FacebookShareButton | typeof TelegramShareButton | typeof WhatsappShareButton;
|
|
6
6
|
icon?: typeof IcFacebook;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type ShareMethods = 'facebook' | 'whatsapp' | 'telegram' | 'gem4me';
|
|
9
9
|
export declare const shareConfig: Record<ShareMethods, ShareItem>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import './ITHSheet.scss';
|
|
3
|
-
export declare const ITHSheet: React.ForwardRefExoticComponent<Omit<import("@ionic/core/dist/types/components").JSX.IonModal & Pick<React.HTMLAttributes<HTMLIonModalElement>, "className" | "
|
|
3
|
+
export declare const ITHSheet: React.ForwardRefExoticComponent<Omit<import("@ionic/core/dist/types/components").JSX.IonModal & Pick<React.HTMLAttributes<HTMLIonModalElement>, "color" | "hidden" | "dir" | "slot" | "title" | "translate" | "children" | "className" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "aria-activedescendant" | "aria-atomic" | "aria-autocomplete" | "aria-busy" | "aria-checked" | "aria-colcount" | "aria-colindex" | "aria-colspan" | "aria-controls" | "aria-current" | "aria-describedby" | "aria-details" | "aria-disabled" | "aria-dropeffect" | "aria-errormessage" | "aria-expanded" | "aria-flowto" | "aria-grabbed" | "aria-haspopup" | "aria-hidden" | "aria-invalid" | "aria-keyshortcuts" | "aria-label" | "aria-labelledby" | "aria-level" | "aria-live" | "aria-modal" | "aria-multiline" | "aria-multiselectable" | "aria-orientation" | "aria-owns" | "aria-placeholder" | "aria-posinset" | "aria-pressed" | "aria-readonly" | "aria-relevant" | "aria-required" | "aria-roledescription" | "aria-rowcount" | "aria-rowindex" | "aria-rowspan" | "aria-selected" | "aria-setsize" | "aria-sort" | "aria-valuemax" | "aria-valuemin" | "aria-valuenow" | "aria-valuetext" | "dangerouslySetInnerHTML" | "onCopy" | "onCopyCapture" | "onCut" | "onCutCapture" | "onPaste" | "onPasteCapture" | "onCompositionEnd" | "onCompositionEndCapture" | "onCompositionStart" | "onCompositionStartCapture" | "onCompositionUpdate" | "onCompositionUpdateCapture" | "onFocus" | "onFocusCapture" | "onBlur" | "onBlurCapture" | "onChange" | "onChangeCapture" | "onBeforeInput" | "onBeforeInputCapture" | "onInput" | "onInputCapture" | "onReset" | "onResetCapture" | "onSubmit" | "onSubmitCapture" | "onInvalid" | "onInvalidCapture" | "onLoad" | "onLoadCapture" | "onError" | "onErrorCapture" | "onKeyDown" | "onKeyDownCapture" | "onKeyPress" | "onKeyPressCapture" | "onKeyUp" | "onKeyUpCapture" | "onAbort" | "onAbortCapture" | "onCanPlay" | "onCanPlayCapture" | "onCanPlayThrough" | "onCanPlayThroughCapture" | "onDurationChange" | "onDurationChangeCapture" | "onEmptied" | "onEmptiedCapture" | "onEncrypted" | "onEncryptedCapture" | "onEnded" | "onEndedCapture" | "onLoadedData" | "onLoadedDataCapture" | "onLoadedMetadata" | "onLoadedMetadataCapture" | "onLoadStart" | "onLoadStartCapture" | "onPause" | "onPauseCapture" | "onPlay" | "onPlayCapture" | "onPlaying" | "onPlayingCapture" | "onProgress" | "onProgressCapture" | "onRateChange" | "onRateChangeCapture" | "onSeeked" | "onSeekedCapture" | "onSeeking" | "onSeekingCapture" | "onStalled" | "onStalledCapture" | "onSuspend" | "onSuspendCapture" | "onTimeUpdate" | "onTimeUpdateCapture" | "onVolumeChange" | "onVolumeChangeCapture" | "onWaiting" | "onWaitingCapture" | "onAuxClick" | "onAuxClickCapture" | "onClick" | "onClickCapture" | "onContextMenu" | "onContextMenuCapture" | "onDoubleClick" | "onDoubleClickCapture" | "onDrag" | "onDragCapture" | "onDragEnd" | "onDragEndCapture" | "onDragEnter" | "onDragEnterCapture" | "onDragExit" | "onDragExitCapture" | "onDragLeave" | "onDragLeaveCapture" | "onDragOver" | "onDragOverCapture" | "onDragStart" | "onDragStartCapture" | "onDrop" | "onDropCapture" | "onMouseDown" | "onMouseDownCapture" | "onMouseEnter" | "onMouseLeave" | "onMouseMove" | "onMouseMoveCapture" | "onMouseOut" | "onMouseOutCapture" | "onMouseOver" | "onMouseOverCapture" | "onMouseUp" | "onMouseUpCapture" | "onSelect" | "onSelectCapture" | "onTouchCancel" | "onTouchCancelCapture" | "onTouchEnd" | "onTouchEndCapture" | "onTouchMove" | "onTouchMoveCapture" | "onTouchStart" | "onTouchStartCapture" | "onPointerDown" | "onPointerDownCapture" | "onPointerMove" | "onPointerMoveCapture" | "onPointerUp" | "onPointerUpCapture" | "onPointerCancel" | "onPointerCancelCapture" | "onPointerEnter" | "onPointerEnterCapture" | "onPointerLeave" | "onPointerLeaveCapture" | "onPointerOver" | "onPointerOverCapture" | "onPointerOut" | "onPointerOutCapture" | "onGotPointerCapture" | "onGotPointerCaptureCapture" | "onLostPointerCapture" | "onLostPointerCaptureCapture" | "onScroll" | "onScrollCapture" | "onWheel" | "onWheelCapture" | "onAnimationStart" | "onAnimationStartCapture" | "onAnimationEnd" | "onAnimationEndCapture" | "onAnimationIteration" | "onAnimationIterationCapture" | "onTransitionEnd" | "onTransitionEndCapture"> & import("@ionic/react/dist/types/components/IonicReactProps").IonicReactProps & React.RefAttributes<HTMLIonModalElement>, "defaultValue" | "ref"> & import("../ITHHeader").ITHHeaderProps & {
|
|
4
4
|
hasHeader?: boolean | undefined;
|
|
5
5
|
isMobileFullScreen?: boolean | undefined;
|
|
6
6
|
pageHeaderClassName?: string | undefined;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
2
|
import { IonModal } from '@ionic/react';
|
|
3
3
|
import { ITHHeaderProps } from "../ITHHeader";
|
|
4
|
-
export
|
|
5
|
-
export
|
|
4
|
+
export type ITHSheetCloseIcon = 'back' | 'close';
|
|
5
|
+
export type ITHSheetProps = Omit<ComponentProps<typeof IonModal>, 'defaultValue' | 'ref'> & ITHHeaderProps & {
|
|
6
6
|
hasHeader?: boolean;
|
|
7
7
|
isMobileFullScreen?: boolean;
|
|
8
8
|
pageHeaderClassName?: string;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import { ITHMenuItemProps } from "../ITHMenuItem";
|
|
2
|
-
export
|
|
2
|
+
export type ITHSideMenuItem = Omit<ITHMenuItemProps, 'isActive' | 'onClick' | 'rounded' | 'items'> & {
|
|
3
3
|
items?: ITHSideMenuItem[];
|
|
4
4
|
};
|
|
5
|
-
export
|
|
5
|
+
export type ITHSideMenuProps = {
|
|
6
6
|
items: ITHSideMenuItem[];
|
|
7
7
|
currentItemId?: number;
|
|
8
8
|
onActiveItemChange?: (itemId?: number) => void;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ITHSideMenuItem } from './ITHSideMenu.types';
|
|
2
|
-
export declare const makeItemsProps: (items: ITHSideMenuItem[], currentItemId: number | undefined, onActiveItemChange: ((itemId?: number
|
|
2
|
+
export declare const makeItemsProps: (items: ITHSideMenuItem[], currentItemId: number | undefined, onActiveItemChange: ((itemId?: number) => void) | undefined) => ITHSideMenuItem[];
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ITHDatePickerProps } from "../ITHDatePicker";
|
|
2
|
-
export
|
|
2
|
+
export type ITHSingleDatePickerProps = Omit<ITHDatePickerProps, 'selectedDates' | 'onSelectedDatesChange'> & {
|
|
3
3
|
selectedDate: Date | undefined;
|
|
4
4
|
onSelectedDateChange: (newDate: Date | undefined) => void;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ITHStepsIndicatorProps } from './ITHStepsIndicator';
|
|
2
|
-
export
|
|
2
|
+
export type ITHStepperProps = ITHStepsIndicatorProps & {
|
|
3
3
|
nextButtonText: string;
|
|
4
4
|
backButtonText: string;
|
|
5
5
|
isNextButtonDisabled?: boolean;
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
import type { DetailedHTMLElementProps } from '@it-holding-ui/types';
|
|
2
|
-
export
|
|
2
|
+
export type ITHDivTextProps = DetailedHTMLElementProps<HTMLDivElement> & {
|
|
3
3
|
type: ITHTextType;
|
|
4
4
|
mobileType?: ITHTextType;
|
|
5
5
|
as?: 'div';
|
|
6
6
|
};
|
|
7
|
-
export
|
|
7
|
+
export type ITHParagraphTextProps = DetailedHTMLElementProps<HTMLParagraphElement> & {
|
|
8
8
|
type: ITHTextType;
|
|
9
9
|
mobileType?: ITHTextType;
|
|
10
10
|
as?: 'p';
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type ITHSpanTextProps = DetailedHTMLElementProps<HTMLSpanElement> & {
|
|
13
13
|
type: ITHTextType;
|
|
14
14
|
mobileType?: ITHTextType;
|
|
15
15
|
as?: 'span';
|
|
16
16
|
};
|
|
17
|
-
export
|
|
17
|
+
export type ITHAnchorTextProps = DetailedHTMLElementProps<HTMLAnchorElement> & {
|
|
18
18
|
type: ITHTextType;
|
|
19
19
|
mobileType?: ITHTextType;
|
|
20
20
|
as?: 'a';
|
|
21
21
|
};
|
|
22
|
-
export
|
|
22
|
+
export type ITHHeadingTextProps = DetailedHTMLElementProps<HTMLHeadElement> & {
|
|
23
23
|
type: ITHTextType;
|
|
24
24
|
mobileType?: ITHTextType;
|
|
25
25
|
as?: 'h1' | 'h2' | 'h3' | 'h4' | 'h5' | 'h6';
|
|
26
26
|
};
|
|
27
|
-
export
|
|
27
|
+
export type ITHTextProps = ITHDivTextProps | ITHParagraphTextProps | ITHSpanTextProps | ITHAnchorTextProps | ITHHeadingTextProps;
|
|
28
28
|
export declare enum ITHTextType {
|
|
29
29
|
TITLE_1_B = "title-1-b",
|
|
30
30
|
TITLE_2_B = "title-2-b",
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
2
|
import { IonToggle, ToggleChangeEventDetail } from '@ionic/react';
|
|
3
|
-
export
|
|
3
|
+
export type ITHToggleProps = Omit<ComponentProps<typeof IonToggle>, 'defaultValue' | 'onIonChange'> & {
|
|
4
4
|
onBlur?: () => void;
|
|
5
5
|
onFocus?: () => void;
|
|
6
6
|
onIonChange?: (event: CustomEvent<ToggleChangeEventDetail>) => void;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ITHPopoverProps } from "../ITHPopover";
|
|
2
2
|
import { ITHVideoPlayerProps } from "../ITHVideoPlayer";
|
|
3
|
-
export
|
|
3
|
+
export type ITHVideoModalProps = ITHPopoverProps & {
|
|
4
4
|
description?: string;
|
|
5
5
|
video: ITHVideoPlayerProps;
|
|
6
6
|
onClose: () => void;
|
|
@@ -4,7 +4,7 @@ import { ITHInputFacadeInputProps } from "../../ITHInput/ITHInputFacade/ITHInput
|
|
|
4
4
|
import { ITHSheetProps } from "../../ITHSheet";
|
|
5
5
|
import { ITHAbstractSelectProps, ITHSelectOption } from "../ITHSelect.types";
|
|
6
6
|
import { ITHSelectPopoverContentProps } from "../ITHSelectPopover/ITHSelectPopover.types";
|
|
7
|
-
export
|
|
7
|
+
export type ITHSelectProps<Option extends ITHSelectOption = ITHSelectOption> = ITHAbstractSelectProps<Option> & Pick<ITHInputProps, 'label' | 'icon' | 'iconLeft' | 'iconClassName' | 'prefix' | 'prefixIcon' | 'hasError' | 'errorHint' | 'hint' | 'requiredSign' | 'className'> & Pick<ITHInputFacadeInputProps, 'onBlur' | 'onFocus' | 'withChips'> & Pick<ITHSheetProps, 'closeIconSlot' | 'closeIcon' | 'customButtons' | 'customButtonsSlot'> & Pick<ITHSelectPopoverContentProps<Option>, 'checkboxRadioSlot' | 'withCheckboxRadio' | 'iconSlot'> & {
|
|
8
8
|
sheetClassName?: string;
|
|
9
9
|
popoverClassName?: string;
|
|
10
10
|
valueFormatKey?: keyof Option;
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
1
2
|
import { ITHAbstractSelectProps, ITHSelectOption } from './ITHSelect.types';
|
|
2
3
|
export declare const useSelectSearch: <Option extends ITHSelectOption>(items: Option[], withSearch: boolean | undefined) => {
|
|
3
4
|
searchbarProps: {
|
|
@@ -9,7 +10,7 @@ export declare const useSelectSearch: <Option extends ITHSelectOption>(items: Op
|
|
|
9
10
|
};
|
|
10
11
|
visibleItems: Option[];
|
|
11
12
|
};
|
|
12
|
-
|
|
13
|
+
type useSelectProps<Option extends ITHSelectOption> = ITHAbstractSelectProps<Option> & {
|
|
13
14
|
collapseRadio?: () => void;
|
|
14
15
|
};
|
|
15
16
|
export declare const useSelect: <Option extends ITHSelectOption>({ options, collapseRadio, ...props }: useSelectProps<Option>) => {
|
|
@@ -1,25 +1,25 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
|
-
export
|
|
2
|
+
export type ITHSelectOption = {
|
|
3
3
|
value?: string;
|
|
4
4
|
text: string;
|
|
5
5
|
details?: string;
|
|
6
6
|
icon?: string | JSX.Element | undefined;
|
|
7
7
|
};
|
|
8
|
-
export
|
|
8
|
+
export type ITHSelectCommonProps<Option extends ITHSelectOption> = {
|
|
9
9
|
options: Option[];
|
|
10
10
|
inlineDetails?: boolean;
|
|
11
11
|
additionalItems?: JSX.Element | ((onClose?: (() => void) | undefined) => JSX.Element | undefined) | undefined;
|
|
12
12
|
nothingFoundText: string;
|
|
13
13
|
withoutCheckMark?: boolean;
|
|
14
14
|
};
|
|
15
|
-
export
|
|
15
|
+
export type ITHSelectCheckboxProps<Option extends ITHSelectOption> = ITHSelectCommonProps<Option> & {
|
|
16
16
|
selectingType?: 'checkbox';
|
|
17
17
|
selectedValue?: (string | undefined)[] | undefined;
|
|
18
18
|
onSelectedValueChange?: (newValue: (string | undefined)[], options: Option[]) => void;
|
|
19
19
|
};
|
|
20
|
-
export
|
|
20
|
+
export type ITHSelectRadioProps<Option extends ITHSelectOption> = ITHSelectCommonProps<Option> & {
|
|
21
21
|
selectingType?: 'radio';
|
|
22
22
|
selectedValue?: string | undefined;
|
|
23
23
|
onSelectedValueChange?: (newValue: string | undefined, option: Option) => void;
|
|
24
24
|
};
|
|
25
|
-
export
|
|
25
|
+
export type ITHAbstractSelectProps<Option extends ITHSelectOption> = ITHSelectCheckboxProps<Option> | ITHSelectRadioProps<Option>;
|
|
@@ -2,11 +2,11 @@
|
|
|
2
2
|
import { IonPopover } from '@ionic/react';
|
|
3
3
|
import { ITHAbstractSelectProps, ITHSelectOption } from "../ITHSelect.types";
|
|
4
4
|
import { ITHSelectItemProps } from "../ITHSelectItem";
|
|
5
|
-
export
|
|
5
|
+
export type ITHSelectPopoverContentProps<Option extends ITHSelectOption> = ITHAbstractSelectProps<Option> & Pick<ITHSelectItemProps<Option>, 'checkboxRadioSlot' | 'iconSlot'> & {
|
|
6
6
|
label?: React.ReactText;
|
|
7
7
|
withVirtualScroll?: boolean;
|
|
8
8
|
closePopover?: () => void;
|
|
9
9
|
withCheckboxRadio?: boolean;
|
|
10
10
|
onClose?: () => void;
|
|
11
11
|
};
|
|
12
|
-
export
|
|
12
|
+
export type ITHSelectPopoverProps<Option extends ITHSelectOption = ITHSelectOption> = Omit<React.ComponentProps<typeof IonPopover>, 'ref'> & Omit<ITHSelectPopoverContentProps<Option>, 'closePopover' | 'selectingType' | 'selectedValue' | 'onSelectedValueChange' | 'ref'> & ITHAbstractSelectProps<Option>;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ITHSheetProps } from "../../ITHSheet";
|
|
2
2
|
import { ITHAbstractSelectProps, ITHSelectOption } from "../ITHSelect.types";
|
|
3
3
|
import { ITHSelectPopoverContentProps } from "../ITHSelectPopover/ITHSelectPopover.types";
|
|
4
|
-
export
|
|
4
|
+
export type ITHSelectSheetProps<Option extends ITHSelectOption = ITHSelectOption> = Omit<ITHSheetProps, 'searchValue' | 'onSearchChange' | 'onSearchCancel' | 'onSearchClear'> & ITHAbstractSelectProps<Option> & Pick<ITHSelectPopoverContentProps<Option>, 'checkboxRadioSlot' | 'withCheckboxRadio' | 'iconSlot'> & {
|
|
5
5
|
title?: string;
|
|
6
6
|
withVirtualScroll?: boolean;
|
|
7
7
|
withSearch?: boolean;
|
|
@@ -16,8 +16,6 @@ export { DEFAULT_ALL_OPTION_CODE, ITHChipGroup } from './ITHChipGroup';
|
|
|
16
16
|
export type { ITHCleaveInputProps } from './ITHCleaveInput';
|
|
17
17
|
export { ITHCleaveInput } from './ITHCleaveInput';
|
|
18
18
|
export { ITHCodeInput } from './ITHCodeInput';
|
|
19
|
-
export { ITHCountryFlag } from './ITHCountryFlag';
|
|
20
|
-
export { ITHCurrencyIcon } from './ITHCurrencyIcon';
|
|
21
19
|
export { ITHDateInput } from './ITHDateInput';
|
|
22
20
|
export type { ITHDatePickerProps, SelectedDates } from './ITHDatePicker';
|
|
23
21
|
export { ITHDatePicker } from './ITHDatePicker';
|