@it-holding-ui/atomic 5.5.0 → 6.0.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/ITHCheckboxField/ITHCheckboxField.types.d.ts +1 -1
- package/build/atomic/src/Fields/ITHCheckboxItemField/ITHCheckboxItemField.types.d.ts +2 -1
- package/build/atomic/src/Fields/ITHChipGroupField/ITHChipGroupField.d.ts +1 -1
- package/build/atomic/src/Fields/ITHChipGroupField/ITHChipGroupField.types.d.ts +2 -2
- package/build/atomic/src/Fields/ITHCleaveInputField/ITHCleaveInputField.types.d.ts +1 -1
- package/build/atomic/src/Fields/ITHDatePickerInputsField/ITHDatePickerInputsField.d.ts +1 -1
- package/build/atomic/src/Fields/ITHDatePickerInputsField/ITHDatePickerInputsField.types.d.ts +2 -2
- package/build/atomic/src/Fields/ITHInputField/ITHInputField.types.d.ts +1 -1
- package/build/atomic/src/Fields/ITHInputWithChipsSelectField/ITHInputWithChipsSelectField.d.ts +3 -0
- package/build/atomic/src/Fields/ITHInputWithChipsSelectField/ITHInputWithChipsSelectField.types.d.ts +27 -0
- package/build/atomic/src/Fields/ITHInputWithChipsSelectField/ITHInputWithChipsSelectField.utils.d.ts +5 -0
- package/build/atomic/src/Fields/ITHInputWithChipsSelectField/index.d.ts +1 -0
- package/build/atomic/src/Fields/ITHPhoneInputField/ITHPhoneInputField.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/ITHRadioItemField/ITHRadioItemField.types.d.ts +1 -1
- package/build/atomic/src/Fields/ITHRangeField/ITHRangeField.types.d.ts +1 -1
- package/build/atomic/src/Fields/ITHToggleField/ITHToggleField.types.d.ts +1 -1
- package/build/atomic/src/ITHBadge/ITHBadge.types.d.ts +1 -1
- package/build/atomic/src/ITHCheckboxItem/ITHCheckboxItem.d.ts +1 -1
- package/build/atomic/src/ITHCheckboxItem/ITHCheckboxItem.types.d.ts +3 -2
- package/build/atomic/src/ITHChip/ITHChip.types.d.ts +2 -2
- package/build/atomic/src/ITHChipGroup/ITHChipGroup.types.d.ts +1 -1
- package/build/atomic/src/ITHCleaveInput/ITHCleaveInput.types.d.ts +1 -1
- package/build/atomic/src/ITHCurrencyIcon/ITHCurrencyIcon.types.d.ts +1 -1
- package/build/atomic/src/ITHDateInput/ITHDateInput.types.d.ts +1 -1
- 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/ITHDatePickerInputs/ITHDatePickerInputs.types.d.ts +1 -1
- package/build/atomic/src/ITHDatePickerPopover/ITHDatePickerPopover.types.d.ts +3 -3
- package/build/atomic/src/ITHDatePickerSheet/ITHDatePickerSheet.types.d.ts +3 -3
- package/build/atomic/src/ITHInputWithChips/ITHInputWithChips.d.ts +4 -0
- package/build/atomic/src/ITHInputWithChips/ITHInputWithChips.types.d.ts +14 -0
- package/build/atomic/src/ITHInputWithChips/index.d.ts +1 -0
- package/build/atomic/src/ITHItem/ITHItem.d.ts +1 -1
- package/build/atomic/src/ITHItem/ITHItem.types.d.ts +2 -1
- package/build/atomic/src/ITHManualPopoverWrapper/ITHManualPopoverWrapper.types.d.ts +1 -1
- package/build/atomic/src/ITHPageHeader/ITHPageHeader.types.d.ts +1 -1
- package/build/atomic/src/ITHPhoneInput/ITHPhoneInput.types.d.ts +1 -1
- package/build/atomic/src/ITHPhoneInput/ITHSelectCountryCodeNumber/ITHSelectCountryCodeNumber.types.d.ts +1 -1
- package/build/atomic/src/ITHPhotoInput/ITHBigPhotoPreview/ITHBigPhotoPreview.types.d.ts +1 -1
- package/build/atomic/src/ITHPopover/ITHPopover.d.ts +1 -1
- package/build/atomic/src/ITHRadioItem/ITHRadioItem.d.ts +1 -1
- package/build/atomic/src/ITHRadioItem/ITHRadioItem.types.d.ts +2 -1
- package/build/atomic/src/ITHSearchbar/ITHSearchbar.d.ts +1 -1
- package/build/atomic/src/ITHSheet/ITHSheet.d.ts +1 -1
- package/build/atomic/src/ITHSheet/ITHSheet.types.d.ts +1 -1
- package/build/atomic/src/ITHSideMenu/ITHSideMenu.types.d.ts +1 -1
- package/build/atomic/src/ITHSingleDatePicker/ITHSingleDatePicker.types.d.ts +1 -1
- package/build/atomic/src/ITHVideoModal/ITHVideoModal.types.d.ts +2 -2
- package/build/atomic/src/ITHVideoModal/ITHVideoModal.utils.d.ts +1 -1
- package/build/atomic/src/Select/ITHSelect/ITHSelect.d.ts +1 -1
- package/build/atomic/src/Select/ITHSelect/ITHSelect.types.d.ts +4 -4
- package/build/atomic/src/Select/ITHSelectItem/ITHSelectItem.d.ts +1 -1
- package/build/atomic/src/Select/ITHSelectItem/ITHSelectItem.types.d.ts +1 -1
- package/build/atomic/src/Select/ITHSelectPopover/ITHSelectPopover.d.ts +1 -1
- package/build/atomic/src/Select/ITHSelectPopover/ITHSelectPopover.types.d.ts +1 -1
- package/build/atomic/src/Select/ITHSelectSheet/ITHSelectSheet.d.ts +1 -1
- package/build/atomic/src/Select/ITHSelectSheet/ITHSelectSheet.types.d.ts +2 -2
- package/build/atomic/src/index.d.ts +2 -1
- package/build/index.js +1 -1
- package/build/index.js.LICENSE.txt +9 -0
- package/build/index.js.map +1 -1
- package/package.json +5 -5
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldProps } from '@it-holding-ui/types';
|
|
2
|
-
import { ITHCheckboxProps } from
|
|
2
|
+
import { ITHCheckboxProps } from "../../ITHCheckbox";
|
|
3
3
|
export declare type ITHCheckboxFieldProps<T extends string | number = string> = Omit<ITHCheckboxProps, keyof FieldProps<T>> & Omit<FieldProps<T>, 'children'> & {
|
|
4
4
|
name: string;
|
|
5
5
|
};
|
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { FieldProps } from '@it-holding-ui/types';
|
|
2
|
-
import { ITHCheckboxItemProps } from
|
|
2
|
+
import { ITHCheckboxItemProps } from "../../ITHCheckboxItem";
|
|
3
3
|
export declare type ITHCheckboxItemFieldProps<T extends string | number = string> = Omit<ITHCheckboxItemProps, keyof FieldProps<T>> & Omit<FieldProps<T>, 'children'> & {
|
|
4
4
|
name: string;
|
|
5
|
+
onAfterChange?: () => void;
|
|
5
6
|
hideError?: boolean;
|
|
6
7
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITHChipGroupFieldProps } from './ITHChipGroupField.types';
|
|
2
|
-
import { ITHSelectOption } from
|
|
2
|
+
import { ITHSelectOption } from "../../Select";
|
|
3
3
|
export declare const ITHChipGroupField: <ValueType extends ITHSelectOption | ITHSelectOption[]>(props: ITHChipGroupFieldProps<ValueType>) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FieldProps } from '@it-holding-ui/types';
|
|
2
|
-
import { ITHChipGroupProps } from
|
|
3
|
-
import { ITHSelectOption } from
|
|
2
|
+
import { ITHChipGroupProps } from "../../ITHChipGroup";
|
|
3
|
+
import { ITHSelectOption } from "../../Select";
|
|
4
4
|
export declare type ITHChipGroupFieldProps<T extends ITHSelectOption | ITHSelectOption[] = ITHSelectOption> = Omit<ITHChipGroupProps, keyof FieldProps<T> | 'selected' | 'onChange'> & Omit<FieldProps<T>, 'children' | 'type' | 'defaultValue' | 'format' | 'initialValue' | 'parse' | 'value'> & {
|
|
5
5
|
name: string;
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TextFieldTypes } from '@ionic/core';
|
|
2
2
|
import { FieldProps } from '@it-holding-ui/types';
|
|
3
|
-
import { ITHCleaveInputProps } from
|
|
3
|
+
import { ITHCleaveInputProps } from "../../ITHCleaveInput";
|
|
4
4
|
export declare type ITHCleaveInputFieldProps<T extends string> = Omit<ITHCleaveInputProps, keyof FieldProps<T>> & Omit<FieldProps<T>, 'children'> & {
|
|
5
5
|
name: string;
|
|
6
6
|
type?: TextFieldTypes;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITHDatePickerInputsFieldProps } from './ITHDatePickerInputsField.types';
|
|
2
|
-
import { SelectedDates } from
|
|
2
|
+
import { SelectedDates } from "../../ITHDatePicker";
|
|
3
3
|
export declare const ITHDatePickerInputsField: <ValueType extends SelectedDates>(props: ITHDatePickerInputsFieldProps<ValueType>) => JSX.Element;
|
package/build/atomic/src/Fields/ITHDatePickerInputsField/ITHDatePickerInputsField.types.d.ts
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { FieldProps } from '@it-holding-ui/types';
|
|
2
|
-
import { SelectedDates } from
|
|
3
|
-
import { ITHDatePickerInputsProps } from
|
|
2
|
+
import { SelectedDates } from "../../ITHDatePicker";
|
|
3
|
+
import { ITHDatePickerInputsProps } from "../../ITHDatePickerInputs";
|
|
4
4
|
export declare type ITHDatePickerInputsFieldProps<T extends SelectedDates = SelectedDates> = Omit<ITHDatePickerInputsProps, keyof FieldProps<T> | 'selectedDates' | 'onSelectedDatesChange'> & Omit<FieldProps<T>, 'children'> & {
|
|
5
5
|
name: string;
|
|
6
6
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldProps } from '@it-holding-ui/types';
|
|
2
|
-
import { ITHInputProps } from
|
|
2
|
+
import { ITHInputProps } from "../../ITHInput";
|
|
3
3
|
export declare type ITHInputFieldProps<T extends string> = Omit<ITHInputProps, keyof FieldProps<T>> & Omit<FieldProps<T>, 'children'> & {
|
|
4
4
|
name: string;
|
|
5
5
|
};
|
package/build/atomic/src/Fields/ITHInputWithChipsSelectField/ITHInputWithChipsSelectField.d.ts
ADDED
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { ITHInputWithChipsSelectFieldProps, ITHInputWithChipsSelectOption } from './ITHInputWithChipsSelectField.types';
|
|
2
|
+
import './ITHInputWithChipsSelectField.scss';
|
|
3
|
+
export declare const ITHInputWithChipsSelectField: <T extends string | ITHInputWithChipsSelectOption>({ options, type, lines, valueKey, textKey, iconPosition, isMobile, ...props }: ITHInputWithChipsSelectFieldProps<T>) => JSX.Element | null;
|
package/build/atomic/src/Fields/ITHInputWithChipsSelectField/ITHInputWithChipsSelectField.types.d.ts
ADDED
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { FieldProps, FieldRenderProps } from 'react-final-form';
|
|
2
|
+
export declare type ITHInputWithChipsSelectOption = Record<string, string | JSX.Element> & {
|
|
3
|
+
icon?: JSX.Element;
|
|
4
|
+
};
|
|
5
|
+
export declare type ITHInputWithChipsSelectFieldProps<T extends string | ITHInputWithChipsSelectOption> = Omit<FieldProps<T, FieldRenderProps<T, HTMLElement, T>, HTMLElement, T>, 'children'> & {
|
|
6
|
+
name: string;
|
|
7
|
+
/**
|
|
8
|
+
* fields type
|
|
9
|
+
*/
|
|
10
|
+
type: 'checkbox' | 'radio';
|
|
11
|
+
/**
|
|
12
|
+
* displayed options
|
|
13
|
+
*/
|
|
14
|
+
options: T[];
|
|
15
|
+
/**
|
|
16
|
+
* default - "value"
|
|
17
|
+
*/
|
|
18
|
+
valueKey?: string;
|
|
19
|
+
/**
|
|
20
|
+
* default - "label"
|
|
21
|
+
*/
|
|
22
|
+
textKey?: string;
|
|
23
|
+
lines?: 'none' | 'full' | 'inset';
|
|
24
|
+
iconPosition?: 'left' | 'right';
|
|
25
|
+
searchKey?: string;
|
|
26
|
+
isMobile?: boolean;
|
|
27
|
+
};
|
package/build/atomic/src/Fields/ITHInputWithChipsSelectField/ITHInputWithChipsSelectField.utils.d.ts
ADDED
|
@@ -0,0 +1,5 @@
|
|
|
1
|
+
import { ITHInputWithChipsSelectOption } from './ITHInputWithChipsSelectField.types';
|
|
2
|
+
import { Chip } from "../../ITHChip";
|
|
3
|
+
export declare const getComparableValue: <T extends string | ITHInputWithChipsSelectOption>(option: T, key: string) => string;
|
|
4
|
+
export declare const checkIsFiltered: (option: string, searchValue: string) => boolean;
|
|
5
|
+
export declare const inputWithChipsSelectOptionToCustomSelectOption: <T extends string | ITHInputWithChipsSelectOption>(option: T, textKey: string, valueKey: string) => Chip;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ITHInputWithChipsSelectField } from './ITHInputWithChipsSelectField';
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITHPhoneInputFieldProps } from './ITHPhoneInputField.types';
|
|
2
|
-
import { PhoneInfo } from
|
|
2
|
+
import { PhoneInfo } from "../../ITHPhoneInput";
|
|
3
3
|
export declare const ITHPhoneInputField: <ValueType extends PhoneInfo>(props: ITHPhoneInputFieldProps<ValueType>) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldProps } from '@it-holding-ui/types';
|
|
2
|
-
import { ITHPhoneInputProps, PhoneInfo } from
|
|
2
|
+
import { ITHPhoneInputProps, PhoneInfo } from "../../ITHPhoneInput";
|
|
3
3
|
export declare type ITHPhoneInputFieldProps<T extends PhoneInfo = PhoneInfo> = Omit<ITHPhoneInputProps, keyof FieldProps<T>> & Omit<FieldProps<T>, 'children'> & {
|
|
4
4
|
name: string;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldProps, PhotoInfo } from '@it-holding-ui/types';
|
|
2
|
-
import { ITHPhotoInputProps } from
|
|
2
|
+
import { ITHPhotoInputProps } from "../../ITHPhotoInput";
|
|
3
3
|
export declare type ITHPhotoInputFieldProps<T extends PhotoInfo[] = PhotoInfo[]> = Omit<ITHPhotoInputProps, keyof FieldProps<T> | 'onFilesChange'> & Omit<FieldProps<T>, 'children'> & {
|
|
4
4
|
name: string;
|
|
5
5
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldProps } from '@it-holding-ui/types';
|
|
2
|
-
import { ITHRadioItemProps } from
|
|
2
|
+
import { ITHRadioItemProps } from "../../ITHRadioItem";
|
|
3
3
|
export declare type ITHRadioItemFieldProps<T extends string | number = string> = Omit<ITHRadioItemProps, keyof FieldProps<T>> & Omit<FieldProps<T>, 'children'> & {
|
|
4
4
|
name: string;
|
|
5
5
|
hideError?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { RangeValue } from '@ionic/core';
|
|
2
2
|
import { FieldProps } from '@it-holding-ui/types';
|
|
3
|
-
import { ITHRangeProps } from
|
|
3
|
+
import { ITHRangeProps } from "../../ITHRange";
|
|
4
4
|
export declare type ITHRangeFieldProps<T extends RangeValue> = Omit<ITHRangeProps, keyof FieldProps<T>> & Omit<FieldProps<T>, 'children'> & {
|
|
5
5
|
name: string;
|
|
6
6
|
};
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldProps } from '@it-holding-ui/types';
|
|
2
|
-
import { ITHToggleProps } from
|
|
2
|
+
import { ITHToggleProps } from "../../ITHToggle";
|
|
3
3
|
export declare type ITHToggleFieldProps<T extends string> = Omit<ITHToggleProps, keyof FieldProps<T>> & Omit<FieldProps<T>, 'children'> & {
|
|
4
4
|
name: string;
|
|
5
5
|
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITHCheckboxItemProps } from './ITHCheckboxItem.types';
|
|
2
2
|
import './ITHCheckboxItem.scss';
|
|
3
|
-
export declare const ITHCheckboxItem: ({ isMobile, label, labelMobileTextType, labelTextType, header, headerMobileTextType, headerTextType, info, errorMessage, errorForce, checkboxSlot, lines, detail, detailIcon, shape, disabled, className, ...props }: ITHCheckboxItemProps) => JSX.Element;
|
|
3
|
+
export declare const ITHCheckboxItem: ({ isMobile, label, labelMobileTextType, labelTextType, header, headerMobileTextType, headerTextType, info, errorMessage, errorForce, checkboxSlot, lines, detail, detailIcon, shape, disabled, className, children, onIonChange, onAfterChange, ...props }: ITHCheckboxItemProps) => JSX.Element;
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { IonItem } from '@ionic/react';
|
|
3
|
-
import { ITHCheckboxProps } from
|
|
4
|
-
import { ITHTextType } from
|
|
3
|
+
import { ITHCheckboxProps } from "../ITHCheckbox";
|
|
4
|
+
import { ITHTextType } from "../ITHText";
|
|
5
5
|
export declare type ITHCheckboxItemProps = ITHCheckboxProps & Pick<React.ComponentProps<typeof IonItem>, 'lines' | 'detail' | 'detailIcon' | 'shape'> & {
|
|
6
6
|
isMobile: boolean;
|
|
7
7
|
label?: string;
|
|
@@ -14,4 +14,5 @@ export declare type ITHCheckboxItemProps = ITHCheckboxProps & Pick<React.Compone
|
|
|
14
14
|
checkboxSlot?: 'start' | 'end';
|
|
15
15
|
errorMessage?: string;
|
|
16
16
|
errorForce?: boolean;
|
|
17
|
+
onAfterChange?: () => void;
|
|
17
18
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
2
|
import { IonChip } from '@ionic/react';
|
|
3
|
-
import { ITHSelectOption } from
|
|
4
|
-
export declare type Chip = Pick<ITHSelectOption, 'text' | 'icon'>;
|
|
3
|
+
import { ITHSelectOption } from "../Select";
|
|
4
|
+
export declare type Chip = Pick<ITHSelectOption, 'text' | 'icon' | 'value'>;
|
|
5
5
|
export declare type ITHChipProps<T extends Chip> = Omit<ComponentProps<typeof IonChip>, 'onClick'> & {
|
|
6
6
|
chip: T;
|
|
7
7
|
withoutIcon?: boolean;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { TextFieldTypes } from '@ionic/core';
|
|
2
2
|
import { Props as CleaveInputProps } from 'cleave.js/react/props';
|
|
3
|
-
import { ITHInputAdditionalProps } from
|
|
3
|
+
import { ITHInputAdditionalProps } from "../ITHInput";
|
|
4
4
|
export declare type ITHCleaveInputProps = Omit<ITHInputAdditionalProps, 'forceFocused' | 'type'> & {
|
|
5
5
|
type: TextFieldTypes;
|
|
6
6
|
} & CleaveInputProps;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import type { ITHCountryFlagProps } from
|
|
1
|
+
import type { ITHCountryFlagProps } from "../ITHCountryFlag/ITHCountryFlag.types";
|
|
2
2
|
export declare type ITHCurrencyIconProps = Omit<ITHCountryFlagProps, 'code'> & {
|
|
3
3
|
currencyCode: string | undefined;
|
|
4
4
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IonInput } from '@ionic/react';
|
|
3
|
-
import { ITHInputProps } from
|
|
3
|
+
import { ITHInputProps } from "../ITHInput";
|
|
4
4
|
export declare type ITHDateInputCommonProps = Pick<ITHInputProps, 'value' | 'label' | 'requiredSign' | 'disabled' | 'className' | 'onInputWrapperClick'> & Pick<React.ComponentProps<typeof IonInput>, 'onFocus' | 'onBlur' | 'onIonFocus' | 'onIonBlur' | 'id'> & {
|
|
5
5
|
editable?: boolean;
|
|
6
6
|
withArrow?: boolean;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { SelectedDates } from
|
|
1
|
+
import { SelectedDates } from "..";
|
|
2
2
|
export declare const useDay: (date: Date, [firstSelectedDate, secondSelectedDate]: SelectedDates, displayMonth: number, minDate?: Date | undefined, hoveredDate?: Date | undefined) => {
|
|
3
3
|
disabled: boolean;
|
|
4
4
|
isSelected: boolean | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ITHDatePickerProps } from
|
|
2
|
-
import { ITHPopoverProps } from
|
|
3
|
-
import { ITHSingleDatePickerProps } from
|
|
1
|
+
import { ITHDatePickerProps } from "../ITHDatePicker";
|
|
2
|
+
import { ITHPopoverProps } from "../ITHPopover";
|
|
3
|
+
import { ITHSingleDatePickerProps } from "../ITHSingleDatePicker";
|
|
4
4
|
export declare type SingleITHDatePickerPopoverProps = ITHSingleDatePickerProps & {
|
|
5
5
|
isRange: false;
|
|
6
6
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { ITHDatePickerProps } from
|
|
2
|
-
import { ITHSheetProps } from
|
|
3
|
-
import { ITHSingleDatePickerProps } from
|
|
1
|
+
import { ITHDatePickerProps } from "../ITHDatePicker";
|
|
2
|
+
import { ITHSheetProps } from "../ITHSheet";
|
|
3
|
+
import { ITHSingleDatePickerProps } from "../ITHSingleDatePicker";
|
|
4
4
|
export declare type SingleITHDatePickerSheetProps = ITHSingleDatePickerProps & {
|
|
5
5
|
isRange: false;
|
|
6
6
|
};
|
|
@@ -0,0 +1,4 @@
|
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import { ITHInputWithChipsProps } from './ITHInputWithChips.types';
|
|
3
|
+
import './ITHInputWithChips.scss';
|
|
4
|
+
export declare const ITHInputWithChips: React.MemoExoticComponent<({ chips, outerValue, onValueChange, onInputFocus, onInputBlur, onChipDelete, error, slot, debounce, classname, }: ITHInputWithChipsProps) => JSX.Element>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import { IonInputCustomEvent } from '@ionic/core';
|
|
2
|
+
import { Chip } from "../ITHChip";
|
|
3
|
+
export declare type ITHInputWithChipsProps = {
|
|
4
|
+
chips: Chip[];
|
|
5
|
+
outerValue: string;
|
|
6
|
+
onValueChange: (value: string) => void;
|
|
7
|
+
onChipDelete: (text: string) => void;
|
|
8
|
+
slot?: string;
|
|
9
|
+
debounce?: number;
|
|
10
|
+
error?: string;
|
|
11
|
+
classname?: string;
|
|
12
|
+
onInputFocus?: (e: IonInputCustomEvent<FocusEvent>) => void;
|
|
13
|
+
onInputBlur?: (e: IonInputCustomEvent<FocusEvent>) => void;
|
|
14
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ITHInputWithChips } from './ITHInputWithChips';
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { ITHItemProps } from './ITHItem.types';
|
|
3
3
|
import './ITHItem.scss';
|
|
4
|
-
export declare const ITHItem: React.ForwardRefExoticComponent<Pick<ITHItemProps, "type" | "
|
|
4
|
+
export declare const ITHItem: React.ForwardRefExoticComponent<Pick<ITHItemProps, "type" | "button" | "color" | "id" | "lang" | "target" | "role" | "tabIndex" | "fill" | "href" | "mode" | "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" | "children" | "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" | "hidden" | "dir" | "slot" | "title" | "translate" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "disabled" | "key" | "footer" | "header" | "label" | "lines" | "routerAnimation" | "rel" | "download" | "shape" | "counter" | "counterFormatter" | "detail" | "detailIcon" | "labelTextType" | "headerTextType" | "icon" | "labelPosition" | "footerTextType" | keyof import("@ionic/react/dist/types/components/IonicReactProps").IonicReactProps | "withBorderBottom" | "routerLink" | "routerDirection" | "routerOptions" | "withArrowRight"> & React.RefAttributes<HTMLIonItemElement>>;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
2
|
import { IonItem } from '@ionic/react';
|
|
3
|
-
import { ITHTextType } from
|
|
3
|
+
import { ITHTextType } from "../ITHText";
|
|
4
4
|
export declare type ITHItemProps = ComponentProps<typeof IonItem> & {
|
|
5
|
+
labelPosition?: 'start' | 'end';
|
|
5
6
|
label?: React.ReactNode;
|
|
6
7
|
labelTextType?: ITHTextType;
|
|
7
8
|
header?: string;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { ITHManualPopoverProps } from
|
|
1
|
+
import { ITHManualPopoverProps } from "../ITHManualPopover/ITHManualPopover.types";
|
|
2
2
|
export declare type ITHManualPopoverWrapperProps<T extends HTMLElement = HTMLDivElement> = Omit<ITHManualPopoverProps<T>, 'parentRef' | 'children' | 'opened'> & {
|
|
3
3
|
PopoverTriggerComponent: (props: {
|
|
4
4
|
onTriggerButtonClick: () => void;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { IonSearchbarCustomEvent, SearchbarChangeEventDetail } from '@ionic/core';
|
|
2
|
-
import { ITHTextType } from
|
|
2
|
+
import { ITHTextType } from "../ITHText";
|
|
3
3
|
export declare type ITHPageHeaderCloseIcon = 'back' | 'close';
|
|
4
4
|
export declare type ITHPageHeaderProps = {
|
|
5
5
|
isMobile: boolean;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { PhotoInfo } from '@it-holding-ui/types';
|
|
2
|
-
import { ITHAddPhotoButtonProps } from
|
|
2
|
+
import { ITHAddPhotoButtonProps } from "../ITHAddPhotoButton";
|
|
3
3
|
export declare type ITHBigPhotoPreviewProps = Omit<ITHAddPhotoButtonProps, 'isBig'> & {
|
|
4
4
|
photos: PhotoInfo[];
|
|
5
5
|
previewPhotoIndex: number;
|
|
@@ -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>, "
|
|
3
|
+
export declare const ITHPopover: React.ForwardRefExoticComponent<Pick<import("@ionic/core/dist/types/components").JSX.IonPopover & Pick<React.HTMLAttributes<HTMLIonPopoverElement>, "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "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" | "children" | "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" | "hidden" | "dir" | "slot" | "title" | "translate" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is"> & import("@ionic/react/dist/types/components/IonicReactProps").IonicReactProps & React.RefAttributes<HTMLIonPopoverElement>, "color" | "id" | "lang" | "role" | "tabIndex" | "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" | "children" | "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" | "hidden" | "dir" | "slot" | "title" | "translate" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | "key" | keyof import("@ionic/react/dist/types/components/IonicReactProps").IonicReactProps | keyof import("@ionic/core/dist/types/components").JSX.IonPopover> & React.RefAttributes<HTMLIonPopoverElement>>;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITHRadioItemProps } from './ITHRadioItem.types';
|
|
2
2
|
import './ITHRadioItem.scss';
|
|
3
|
-
export declare const ITHRadioItem: ({ label, labelTextType, header, headerTextType, footer, footerTextType, info, errorMessage, errorForce, radioSlot, lines, detail, detailIcon, shape, disabled, className, ...props }: ITHRadioItemProps) => JSX.Element;
|
|
3
|
+
export declare const ITHRadioItem: ({ label, labelTextType, header, headerTextType, footer, footerTextType, info, errorMessage, errorForce, radioSlot, lines, detail, detailIcon, shape, disabled, className, children, labelPosition, ...props }: ITHRadioItemProps) => JSX.Element;
|
|
@@ -1,7 +1,8 @@
|
|
|
1
1
|
/// <reference types="react" />
|
|
2
2
|
import { IonItem, IonRadio } from '@ionic/react';
|
|
3
|
-
import { ITHTextType } from
|
|
3
|
+
import { ITHTextType } from "../ITHText";
|
|
4
4
|
export declare type ITHRadioItemProps = React.ComponentProps<typeof IonRadio> & Pick<React.ComponentProps<typeof IonItem>, 'lines' | 'detail' | 'detailIcon' | 'shape'> & {
|
|
5
|
+
labelPosition?: 'start' | 'end';
|
|
5
6
|
label?: string;
|
|
6
7
|
labelTextType?: ITHTextType;
|
|
7
8
|
header?: string;
|
|
@@ -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, "
|
|
4
|
+
export declare const ITHSearchbar: React.ForwardRefExoticComponent<Pick<ITHSearchbarProps, "id" | "lang" | "role" | "tabIndex" | "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" | "children" | "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" | "hidden" | "dir" | "slot" | "title" | "translate" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is" | 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,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>, "
|
|
3
|
+
export declare const ITHSheet: React.ForwardRefExoticComponent<Omit<import("@ionic/core/dist/types/components").JSX.IonModal & Pick<React.HTMLAttributes<HTMLIonModalElement>, "className" | "color" | "id" | "lang" | "role" | "tabIndex" | "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" | "children" | "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" | "hidden" | "dir" | "slot" | "title" | "translate" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "placeholder" | "spellCheck" | "radioGroup" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "itemProp" | "itemScope" | "itemType" | "itemID" | "itemRef" | "results" | "security" | "unselectable" | "inputMode" | "is"> & import("@ionic/react/dist/types/components/IonicReactProps").IonicReactProps & React.RefAttributes<HTMLIonModalElement>, "defaultValue" | "ref"> & import("../ITHPageHeader").ITHPageHeaderProps & {
|
|
4
4
|
isMobile: boolean;
|
|
5
5
|
hasHeader?: boolean | undefined;
|
|
6
6
|
isMobileFullScreen?: boolean | undefined;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
2
|
import { IonModal } from '@ionic/react';
|
|
3
|
-
import { ITHPageHeaderProps } from
|
|
3
|
+
import { ITHPageHeaderProps } from "../ITHPageHeader";
|
|
4
4
|
export declare type ITHSheetCloseIcon = 'back' | 'close';
|
|
5
5
|
export declare type ITHSheetProps = Omit<ComponentProps<typeof IonModal>, 'defaultValue' | 'ref'> & ITHPageHeaderProps & {
|
|
6
6
|
isMobile: boolean;
|