@it-holding-ui/atomic 9.19.1 → 9.21.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/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.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 +0 -1
- package/build/atomic/src/Fields/ITHInputWithChipsSelectField/ITHInputWithChipsSelectField.types.d.ts +0 -1
- package/build/atomic/src/Fields/ITHInputWithChipsSelectField/ITHInputWithChipsSelectField.utils.d.ts +1 -1
- package/build/atomic/src/Fields/ITHPasswordInputField/ITHPasswordInputField.types.d.ts +1 -1
- 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/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.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/ITHAccordionMenuItem/ITHAccordionMenuItem.d.ts +1 -3
- package/build/atomic/src/ITHAccordionMenuItem/ITHAccordionMenuItem.types.d.ts +0 -1
- package/build/atomic/src/ITHAccordionSideMenu/ITHAccordionSideMenu.d.ts +0 -2
- package/build/atomic/src/ITHAccordionSideMenu/ITHAccordionSideMenu.types.d.ts +1 -1
- package/build/atomic/src/ITHActionFab/ITHActionFab.d.ts +0 -2
- package/build/atomic/src/ITHAddImage/ITHAddImage.d.ts +0 -2
- package/build/atomic/src/ITHAddImage/ITHAddImage.types.d.ts +2 -2
- package/build/atomic/src/ITHAddItem/ITHAddItem.d.ts +0 -2
- package/build/atomic/src/ITHAddItem/ITHAddItem.types.d.ts +2 -2
- package/build/atomic/src/ITHAvatar/ITHAvatar.d.ts +0 -2
- package/build/atomic/src/ITHAvatar/ITHAvatar.types.d.ts +1 -1
- package/build/atomic/src/ITHAvatar/ITHImageStub/ITHImageStub.d.ts +0 -1
- package/build/atomic/src/ITHBadge/ITHBadge.d.ts +0 -2
- package/build/atomic/src/ITHBadge/ITHBadge.types.d.ts +1 -2
- package/build/atomic/src/ITHBarChart/ITHBarChart.d.ts +19 -0
- package/build/atomic/src/ITHBarChart/ITHBarChart.types.d.ts +52 -0
- package/build/atomic/src/ITHBarChart/index.d.ts +3 -0
- package/build/atomic/src/ITHBreadcrumbs/ITHBreadcrumbs.d.ts +1 -3
- package/build/atomic/src/ITHBubbleMessage/ITHBubbleMessage.d.ts +1 -3
- package/build/atomic/src/ITHButton/ITHButton.d.ts +0 -2
- package/build/atomic/src/ITHCameraFrame/ITHCameraFrame.d.ts +1 -2
- package/build/atomic/src/ITHCard/ITHCard.d.ts +0 -2
- package/build/atomic/src/ITHCheckbox/ITHCheckbox.d.ts +0 -2
- package/build/atomic/src/ITHCheckboxItem/ITHCheckboxItem.d.ts +0 -2
- package/build/atomic/src/ITHCheckboxItem/ITHCheckboxItem.types.d.ts +3 -3
- package/build/atomic/src/ITHChip/ITHChip.d.ts +0 -2
- package/build/atomic/src/ITHChip/ITHChip.types.d.ts +1 -1
- package/build/atomic/src/ITHChipGroup/ITHChipGroup.d.ts +1 -2
- package/build/atomic/src/ITHChipGroup/ITHChipGroup.types.d.ts +1 -1
- package/build/atomic/src/ITHCleaveInput/ITHCleaveInput.d.ts +0 -2
- package/build/atomic/src/ITHCleaveInput/ITHCleaveInput.types.d.ts +2 -2
- package/build/atomic/src/ITHCodeInput/ITHCharInput/ITHCharInput.d.ts +1 -2
- package/build/atomic/src/ITHCodeInput/ITHCharInput/ITHCharInput.types.d.ts +1 -1
- package/build/atomic/src/ITHCodeInput/ITHCodeInput.d.ts +0 -2
- package/build/atomic/src/ITHCounter/ITHCounter.d.ts +2 -3
- package/build/atomic/src/ITHDateInput/ITHDateInput.d.ts +0 -2
- package/build/atomic/src/ITHDateInput/ITHDateInput.types.d.ts +1 -2
- package/build/atomic/src/ITHDatePicker/ITHDatePicker.d.ts +0 -2
- package/build/atomic/src/ITHDatePicker/ITHDatePickerCarousel/ITHDatePickerCarousel.d.ts +0 -1
- package/build/atomic/src/ITHDatePicker/ITHDatePickerCarousel/ITHDatePickerCarousel.types.d.ts +1 -1
- package/build/atomic/src/ITHDatePicker/ITHDatePickerDay/ITHDatePickerDay.d.ts +0 -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/ITHDatePicker/ITHDatePickerHeader/ITHDatePickerHeader.d.ts +0 -1
- package/build/atomic/src/ITHDatePicker/ITHDatePickerMonth/ITHDatePickerMonth.d.ts +0 -1
- package/build/atomic/src/ITHDatePicker/ITHDatePickerMonth/ITHDatePickerMonth.types.d.ts +1 -1
- package/build/atomic/src/ITHDatePicker/ITHDatePickerWeekdays/ITHDatePickerWeekdays.d.ts +0 -1
- package/build/atomic/src/ITHDatePickerInputs/ITHDatePickerInputs.d.ts +0 -2
- package/build/atomic/src/ITHDatePickerInputs/ITHDatePickerInputs.types.d.ts +1 -1
- package/build/atomic/src/ITHDatePickerPopover/ITHDatePickerPopover.d.ts +0 -2
- package/build/atomic/src/ITHDatePickerPopover/ITHDatePickerPopover.types.d.ts +3 -3
- package/build/atomic/src/ITHDatePickerSheet/ITHDatePickerSheet.d.ts +0 -2
- package/build/atomic/src/ITHDatePickerSheet/ITHDatePickerSheet.types.d.ts +3 -3
- package/build/atomic/src/ITHFileInput/ITHFileInput.d.ts +0 -2
- package/build/atomic/src/ITHHeader/ITHHeader.d.ts +0 -2
- package/build/atomic/src/ITHHeader/ITHHeader.types.d.ts +1 -2
- package/build/atomic/src/ITHIcon/ITHIcon.d.ts +0 -2
- package/build/atomic/src/ITHImgWithBlurredFrame/ITHImgWithBlurredFrame.d.ts +0 -2
- package/build/atomic/src/ITHImgWithBlurredFrame/ITHImgWithBlurredFrame.types.d.ts +0 -1
- package/build/atomic/src/ITHInput/ITHInput.d.ts +1 -2
- package/build/atomic/src/ITHInput/ITHInput.types.d.ts +1 -1
- package/build/atomic/src/ITHInput/ITHInputFacade/ITHInputFacade.d.ts +1 -2
- package/build/atomic/src/ITHInput/ITHInputFacade/ITHInputFacade.types.d.ts +1 -1
- package/build/atomic/src/ITHInputWithChips/ITHInputWithChips.d.ts +1 -2
- package/build/atomic/src/ITHInputWithChips/ITHInputWithChips.types.d.ts +1 -1
- package/build/atomic/src/ITHIsMobileContext/ITHIsMobileContext.d.ts +1 -1
- package/build/atomic/src/ITHItem/ITHItem.d.ts +2 -3
- package/build/atomic/src/ITHItem/ITHItem.types.d.ts +1 -1
- package/build/atomic/src/ITHLabel/ITHLabel.d.ts +0 -2
- package/build/atomic/src/ITHLabel/ITHLabel.types.d.ts +1 -1
- package/build/atomic/src/ITHManualPopover/ITHManualPopover.d.ts +0 -2
- package/build/atomic/src/ITHManualPopover/ITHManualPopover.types.d.ts +1 -1
- package/build/atomic/src/ITHManualPopoverWrapper/ITHManualPopoverWrapper.d.ts +0 -2
- package/build/atomic/src/ITHManualPopoverWrapper/ITHManualPopoverWrapper.types.d.ts +1 -2
- package/build/atomic/src/ITHMenuItem/ITHMenuItem.d.ts +0 -2
- package/build/atomic/src/ITHNumberSwitchInput/ITHNumberSwitchInput.d.ts +0 -2
- package/build/atomic/src/ITHNumberSwitchInput/ITHNumberSwitchInput.types.d.ts +1 -1
- package/build/atomic/src/ITHPasswordInput/ITHPasswordInput.types.d.ts +2 -2
- package/build/atomic/src/ITHPhoneInput/ITHPhoneInput.d.ts +1 -2
- package/build/atomic/src/ITHPhoneInput/ITHPhoneInput.types.d.ts +1 -1
- package/build/atomic/src/ITHPhoneInput/ITHSelectCountryCodeNumber/ITHSelectCountryCodeNumber.d.ts +1 -2
- package/build/atomic/src/ITHPhoneInput/ITHSelectCountryCodeNumber/ITHSelectCountryCodeNumber.types.d.ts +1 -1
- package/build/atomic/src/ITHPhotoInput/ITHAddPhotoButton/ITHAddPhotoButton.d.ts +0 -1
- package/build/atomic/src/ITHPhotoInput/ITHAddPhotoButton/ITHAddPhotoButton.types.d.ts +1 -2
- package/build/atomic/src/ITHPhotoInput/ITHBigPhotoPreview/ITHBigPhotoPreview.d.ts +0 -1
- package/build/atomic/src/ITHPhotoInput/ITHBigPhotoPreview/ITHBigPhotoPreview.types.d.ts +1 -1
- package/build/atomic/src/ITHPhotoInput/ITHPhoto/ITHPhoto.d.ts +0 -1
- package/build/atomic/src/ITHPhotoInput/ITHPhotoInput.d.ts +0 -1
- package/build/atomic/src/ITHPopover/ITHPopover.d.ts +2 -3
- package/build/atomic/src/ITHPopover/ITHPopover.types.d.ts +0 -1
- package/build/atomic/src/ITHProfilePhotoInput/ITHHiddenFileInput/ITHHiddenFileInput.d.ts +0 -1
- package/build/atomic/src/ITHProfilePhotoInput/ITHProfilePhotoInput.d.ts +0 -1
- package/build/atomic/src/ITHProfilePhotoInput/ITHProfilePhotoInput.types.d.ts +1 -1
- package/build/atomic/src/ITHProvider/ITHProvider.d.ts +1 -1
- package/build/atomic/src/ITHRadioItem/ITHRadioItem.d.ts +0 -1
- package/build/atomic/src/ITHRadioItem/ITHRadioItem.types.d.ts +1 -2
- package/build/atomic/src/ITHRange/ITHRange.d.ts +0 -1
- package/build/atomic/src/ITHRingGauge/ITHRingGauge.d.ts +0 -1
- package/build/atomic/src/ITHSearchbar/ITHSearchbar.d.ts +2 -3
- package/build/atomic/src/ITHSearchbar/ITHSearchbar.types.d.ts +0 -1
- package/build/atomic/src/ITHSegment/ITHSegment.d.ts +0 -1
- package/build/atomic/src/ITHShareMenu/ITHShareMenu.d.ts +1 -2
- package/build/atomic/src/ITHShareMenu/ITHShareMenu.types.d.ts +0 -1
- package/build/atomic/src/ITHSheet/ITHSheet.d.ts +2 -3
- package/build/atomic/src/ITHSheet/ITHSheet.types.d.ts +1 -1
- package/build/atomic/src/ITHSideMenu/ITHSideMenu.d.ts +0 -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/ITHStarRating/ITHStarRating.d.ts +1 -2
- package/build/atomic/src/ITHStepper/ITHStepper.d.ts +0 -1
- package/build/atomic/src/ITHStepper/ITHStepsIndicator/ITHStepsIndicator.d.ts +0 -1
- package/build/atomic/src/ITHText/ITHText.d.ts +0 -1
- package/build/atomic/src/ITHText/ITHText.types.d.ts +1 -1
- package/build/atomic/src/ITHTextEditor/ITHCustomToolbar/ITHCustomToolbar.d.ts +0 -1
- package/build/atomic/src/ITHTextEditor/ITHCustomToolbar/ITHCustomToolbar.types.d.ts +1 -1
- package/build/atomic/src/ITHTextEditor/ITHTextEditor.d.ts +2 -4
- package/build/atomic/src/ITHTextEditor/ITHTextEditor.hooks.d.ts +2 -3
- package/build/atomic/src/ITHTextEditor/ITHTextEditor.types.d.ts +1 -1
- package/build/atomic/src/ITHTileSelect/ITHTileSelect.d.ts +21 -0
- package/build/atomic/src/ITHTileSelect/ITHTileSelect.types.d.ts +45 -0
- package/build/atomic/src/ITHTileSelect/index.d.ts +3 -0
- package/build/atomic/src/ITHToggle/ITHToggle.d.ts +0 -1
- package/build/atomic/src/ITHTrendChart/ITHTrendChart.d.ts +0 -1
- package/build/atomic/src/ITHVideoModal/ITHVideoModal.d.ts +0 -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/ITHVoiceCapture/ITHVoiceCapture.d.ts +1 -2
- package/build/atomic/src/ITHWalletCard/ITHWalletCard.d.ts +0 -1
- package/build/atomic/src/ITHWalletCard/ITHWalletCard.types.d.ts +2 -2
- package/build/atomic/src/ITHWheelDiagram/ITHWheelDiagram.d.ts +0 -1
- package/build/atomic/src/Select/ITHNothingFound/ITHNothingFound.d.ts +1 -2
- package/build/atomic/src/Select/ITHSelect/ITHSelect.d.ts +1 -2
- package/build/atomic/src/Select/ITHSelect/ITHSelect.hooks.d.ts +1 -1
- package/build/atomic/src/Select/ITHSelect/ITHSelect.types.d.ts +5 -6
- package/build/atomic/src/Select/ITHSelect.hooks.d.ts +2 -3
- package/build/atomic/src/Select/ITHSelectItem/ITHSelectItem.d.ts +1 -2
- package/build/atomic/src/Select/ITHSelectItem/ITHSelectItem.types.d.ts +1 -1
- package/build/atomic/src/Select/ITHSelectPopover/ITHSelectPopover.d.ts +1 -2
- package/build/atomic/src/Select/ITHSelectPopover/ITHSelectPopover.types.d.ts +2 -3
- package/build/atomic/src/Select/ITHSelectSheet/ITHSelectSheet.d.ts +1 -2
- package/build/atomic/src/Select/ITHSelectSheet/ITHSelectSheet.types.d.ts +3 -3
- package/build/atomic/src/index.d.ts +4 -0
- package/build/css/main.css +1 -2
- package/build/index.js +38 -3
- package/build/index.js.map +1 -1
- package/package.json +7 -7
- package/build/atomic/src/ITHCameraFrame/ITHCameraFrame.test.d.ts +0 -1
- package/build/atomic/src/ITHCheckbox/ITHCheckbox.test.d.ts +0 -1
- package/build/atomic/src/ITHRingGauge/ITHRingGauge.test.d.ts +0 -1
- package/build/atomic/src/ITHTrendChart/ITHTrendChart.test.d.ts +0 -1
- package/build/atomic/src/ITHVoiceCapture/ITHVoiceCapture.test.d.ts +0 -1
- package/build/atomic/src/ITHWheelDiagram/ITHWheelDiagram.test.d.ts +0 -1
- package/build/css/main.css.map +0 -1
- package/build/index.js.LICENSE.txt +0 -20
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldProps, PhotoInfo } from '@it-holding-ui/types';
|
|
2
|
-
import { ITHAddImageProps } from
|
|
2
|
+
import { ITHAddImageProps } from '../../ITHAddImage/ITHAddImage.types';
|
|
3
3
|
export type ITHAddImageFieldProps<T extends PhotoInfo[] = PhotoInfo[]> = Omit<ITHAddImageProps, keyof FieldProps<T> | 'onPhotosChange' | 'initialPhotos'> & 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 { ITHCheckboxProps } from
|
|
2
|
+
import { ITHCheckboxProps } from '../../ITHCheckbox';
|
|
3
3
|
export type ITHCheckboxFieldProps<T extends string | number = string> = Omit<ITHCheckboxProps, keyof FieldProps<T>> & 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 { ITHCheckboxItemProps } from
|
|
2
|
+
import { ITHCheckboxItemProps } from '../../ITHCheckboxItem';
|
|
3
3
|
export type ITHCheckboxItemFieldProps<T extends string | number = string> = Omit<ITHCheckboxItemProps, keyof FieldProps<T>> & Omit<FieldProps<T>, 'children'> & {
|
|
4
4
|
name: string;
|
|
5
5
|
onAfterChange?: () => void;
|
|
@@ -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 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 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 type ITHDatePickerInputsFieldProps<T extends SelectedDates = SelectedDates> = Omit<ITHDatePickerInputsProps, keyof FieldProps<T> | 'selectedDates' | 'onSelectedDatesChange'> & Omit<FieldProps<T>, 'children'> & {
|
|
5
5
|
name: string;
|
|
6
6
|
};
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
2
|
import { IonInput } from '@ionic/react';
|
|
3
3
|
import { FieldProps } from '@it-holding-ui/types';
|
|
4
|
-
import { ITHInputProps } from
|
|
4
|
+
import { ITHInputProps } from '../../ITHInput';
|
|
5
5
|
export type ITHInputFieldProps<T extends string> = Pick<ComponentProps<typeof IonInput>, 'type' | 'autocomplete' | 'pattern'> & Omit<ITHInputProps, keyof FieldProps<T>> & Omit<FieldProps<T>, 'children'> & {
|
|
6
6
|
name: string;
|
|
7
7
|
};
|
package/build/atomic/src/Fields/ITHInputWithChipsSelectField/ITHInputWithChipsSelectField.d.ts
CHANGED
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { ITHInputWithChipsSelectFieldProps, ITHInputWithChipsSelectOption } from './ITHInputWithChipsSelectField.types';
|
|
2
|
-
import './ITHInputWithChipsSelectField.scss';
|
|
3
2
|
export declare const ITHInputWithChipsSelectField: <T extends string | ITHInputWithChipsSelectOption>({ options, type, lines, valueKey, textKey, iconPosition, ...props }: ITHInputWithChipsSelectFieldProps<T>) => JSX.Element | null;
|
package/build/atomic/src/Fields/ITHInputWithChipsSelectField/ITHInputWithChipsSelectField.utils.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { ITHInputWithChipsSelectOption } from './ITHInputWithChipsSelectField.types';
|
|
2
|
-
import { Chip } from
|
|
2
|
+
import { Chip } from '../../ITHChip';
|
|
3
3
|
export declare const getComparableValue: <T extends string | ITHInputWithChipsSelectOption>(option: T, key: string) => string;
|
|
4
4
|
export declare const checkIsFiltered: (option: string, searchValue: string) => boolean;
|
|
5
5
|
export declare const inputWithChipsSelectOptionToCustomSelectOption: <T extends string | ITHInputWithChipsSelectOption>(option: T, textKey: string, valueKey: string) => Chip;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldProps } from '@it-holding-ui/types';
|
|
2
|
-
import { ITHPasswordInputProps } from
|
|
2
|
+
import { ITHPasswordInputProps } from '../../ITHPasswordInput';
|
|
3
3
|
export type ITHPasswordInputFieldProps<T extends string> = Omit<ITHPasswordInputProps, keyof FieldProps<T>> & Omit<FieldProps<T>, 'children'> & {
|
|
4
4
|
name: string;
|
|
5
5
|
};
|
|
@@ -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 type ITHPhoneInputFieldProps<T extends PhoneInfo = PhoneInfo> = Omit<ITHPhoneInputProps, keyof FieldProps<T>> & Omit<FieldProps<T>, 'children'> & {
|
|
4
4
|
name: string;
|
|
5
5
|
className?: string;
|
|
@@ -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 type ITHPhotoInputFieldProps<T extends PhotoInfo[] = PhotoInfo[]> = Omit<ITHPhotoInputProps, keyof FieldProps<T> | 'onFilesChange'> & Omit<FieldProps<T>, 'children'> & {
|
|
4
4
|
name: string;
|
|
5
5
|
};
|
package/build/atomic/src/Fields/ITHProfilePhotoInputField/ITHProfilePhotoInputField.types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldProps, PhotoInfo } from '@it-holding-ui/types';
|
|
2
|
-
import { ITHProfilePhotoInputProps } from
|
|
2
|
+
import { ITHProfilePhotoInputProps } from '../../ITHProfilePhotoInput';
|
|
3
3
|
export type ITHProfilePhotoInputFieldProps<T extends PhotoInfo> = Omit<ITHProfilePhotoInputProps, keyof FieldProps<T>> & 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 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 type ITHRangeFieldProps<T extends RangeValue> = Omit<ITHRangeProps, keyof FieldProps<T>> & Omit<FieldProps<T>, 'children'> & {
|
|
5
5
|
name: string;
|
|
6
6
|
};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { StarRatingFieldProps } from
|
|
1
|
+
import { StarRatingFieldProps } from './ITHStarRatingField.types';
|
|
2
2
|
export declare const ITHStarRatingField: <ValueType extends number>({ ...props }: StarRatingFieldProps<ValueType>) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { FieldProps } from '@it-holding-ui/types';
|
|
2
|
-
import { ITHStarRatingProps } from
|
|
2
|
+
import { ITHStarRatingProps } from '../../ITHStarRating/ITHStarRating.types';
|
|
3
3
|
export type StarRatingFieldProps<T extends number> = Omit<ITHStarRatingProps, keyof FieldProps<T>> & 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 { ITHToggleProps } from
|
|
2
|
+
import { ITHToggleProps } from '../../ITHToggle';
|
|
3
3
|
export type ITHToggleFieldProps<T extends string> = Omit<ITHToggleProps, keyof FieldProps<T>> & Omit<FieldProps<T>, 'children'> & {
|
|
4
4
|
name: string;
|
|
5
5
|
};
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import type { ITHAccordionMenuItemProps } from './ITHAccordionMenuItem.types';
|
|
3
|
-
import './ITHAccordionMenuItem.scss';
|
|
1
|
+
import { ITHAccordionMenuItemProps } from './ITHAccordionMenuItem.types';
|
|
4
2
|
export declare const ITHAccordionMenuItem: ({ id, items, elementAfter, label, icon, isActive, rounded, disabled, isDanger, onClick, isExpanded, }: ITHAccordionMenuItemProps) => JSX.Element;
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ITHAccordionSideMenuProps } from './ITHAccordionSideMenu.types';
|
|
3
|
-
import './ITHAccordionSideMenu.scss';
|
|
4
2
|
export declare const ITHAccordionSideMenu: ({ items, selectedId, className, onActiveItemChange, openedItemId, pathname, isMulti, }: ITHAccordionSideMenuProps) => JSX.Element;
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ITHActionFabProps } from './ITHActionFab.types';
|
|
3
|
-
import './ITHActionFab.scss';
|
|
4
2
|
export declare const ITHActionFab: ({ icon, horizontal, vertical, slot, fabClassName, fabButtonClassName, ...props }: ITHActionFabProps) => JSX.Element;
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ITHAddImageProps } from './ITHAddImage.types';
|
|
3
|
-
import './ITHAddImage.scss';
|
|
4
2
|
export declare const ITHAddImage: ({ label, withIcon, icon, initialPhotos, onPhotosChange, labelType, labelMobileType, ...props }: ITHAddImageProps) => JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
|
-
import { ITHAddItemProps } from
|
|
2
|
-
import { ITHPhotoInputProps } from
|
|
1
|
+
import { ITHAddItemProps } from '../ITHAddItem/ITHAddItem.types';
|
|
2
|
+
import { ITHPhotoInputProps } from '../ITHPhotoInput';
|
|
3
3
|
export type ITHAddImageProps = ITHPhotoInputProps & Pick<ITHAddItemProps, 'label' | 'withIcon' | 'icon' | 'labelType' | 'labelMobileType'>;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { IonItem } from '@ionic/react';
|
|
3
|
-
import { ITHTextType } from
|
|
3
|
+
import { ITHTextType } from '../ITHText/ITHText.types';
|
|
4
4
|
export type ITHAddItemProps = React.ComponentProps<typeof IonItem> & {
|
|
5
5
|
label: string;
|
|
6
6
|
icon?: JSX.Element;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ITHBarChartProps } from './ITHBarChart.types';
|
|
3
|
+
/**
|
|
4
|
+
* How much money went where, period by period.
|
|
5
|
+
*
|
|
6
|
+
* <p>Bars rather than a line, because the periods are buckets and not a
|
|
7
|
+
* measurement that flows: a line between March and April implies values in
|
|
8
|
+
* between, and there are none. The same reason the tread chart is a line and
|
|
9
|
+
* this is not — tread wears continuously, spending happens on days.
|
|
10
|
+
*
|
|
11
|
+
* <p>Empty periods keep their bar. A chart drawn only from the periods that
|
|
12
|
+
* carried something hides how often money is spent, which is half of what
|
|
13
|
+
* anybody opens it for.
|
|
14
|
+
*
|
|
15
|
+
* <p>Heights are shares of the tallest bar, not of an absolute scale. A month
|
|
16
|
+
* where nothing was spent and a month of four hundred euro must not look the
|
|
17
|
+
* same, and the printed scale on the left says which is which.
|
|
18
|
+
*/
|
|
19
|
+
export declare const ITHBarChart: React.NamedExoticComponent<ITHBarChartProps>;
|
|
@@ -0,0 +1,52 @@
|
|
|
1
|
+
export declare enum ITHBarChartTone {
|
|
2
|
+
PRIMARY = "primary",
|
|
3
|
+
SUCCESS = "success",
|
|
4
|
+
WARNING = "warning",
|
|
5
|
+
DANGER = "danger"
|
|
6
|
+
}
|
|
7
|
+
/** One slice inside a bar — a category of the total the bar stands for. */
|
|
8
|
+
export type ITHBarSegment = {
|
|
9
|
+
value: number;
|
|
10
|
+
/**
|
|
11
|
+
* The slice's colour, as any CSS colour or custom property.
|
|
12
|
+
*
|
|
13
|
+
* <p>Passed in rather than chosen here: a chart does not know what a
|
|
14
|
+
* category is, and the screen that does already draws the same colour in
|
|
15
|
+
* its legend. Left out, the slice takes the chart's own tone at a
|
|
16
|
+
* lightness that keeps neighbouring slices apart.
|
|
17
|
+
*/
|
|
18
|
+
color?: string;
|
|
19
|
+
/** What the slice is, for the accessible description. */
|
|
20
|
+
label?: string;
|
|
21
|
+
};
|
|
22
|
+
export type ITHBar = {
|
|
23
|
+
/** What sits under the bar: «1–7», «Sep», «Mon». */
|
|
24
|
+
label: string;
|
|
25
|
+
/** The bar's height. Ignored when `segments` are given — their sum is the height. */
|
|
26
|
+
value?: number;
|
|
27
|
+
segments?: ITHBarSegment[];
|
|
28
|
+
};
|
|
29
|
+
export type ITHBarChartProps = {
|
|
30
|
+
bars: ITHBar[];
|
|
31
|
+
/**
|
|
32
|
+
* How to print a value on the scale and in the description.
|
|
33
|
+
*
|
|
34
|
+
* <p>Defaults to the number itself. A chart of money wants «€230», a chart
|
|
35
|
+
* of litres wants «54 l», and neither is this component's business.
|
|
36
|
+
*/
|
|
37
|
+
formatValue?: (value: number) => string;
|
|
38
|
+
/** Drawing height of the plot in px, labels excluded. */
|
|
39
|
+
height?: number;
|
|
40
|
+
tone?: ITHBarChartTone;
|
|
41
|
+
/**
|
|
42
|
+
* How many lines of scale to draw behind the bars, the baseline aside.
|
|
43
|
+
*
|
|
44
|
+
* <p>Three is enough to read a height off; more turns the plot into graph
|
|
45
|
+
* paper. Zero draws none, for a chart small enough to be read by shape.
|
|
46
|
+
*/
|
|
47
|
+
gridLines?: number;
|
|
48
|
+
/** The bar to mark as the one being read — the current week, say. */
|
|
49
|
+
activeIndex?: number;
|
|
50
|
+
ariaLabel?: string;
|
|
51
|
+
className?: string;
|
|
52
|
+
};
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import './ITHBreadcrumbs.scss';
|
|
3
|
-
import type { ITHBreadcrumbsProps } from './ITHBreadcrumbs.types';
|
|
1
|
+
import { ITHBreadcrumbsProps } from './ITHBreadcrumbs.types';
|
|
4
2
|
export declare const ITHBreadcrumbs: ({ subRoutes, mainTitle, manualCategoryTitle, manualSubCategoryTitle, className, onMainClick, onManualCategoryClick, onManualSubCategoryClick, onSubCategoryClick, manualCategoryName, }: ITHBreadcrumbsProps) => JSX.Element | null;
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
import type { ITHBubbleMessageProps } from './ITHBubbleMessage.types';
|
|
3
|
-
import './ITHBubbleMessage.scss';
|
|
1
|
+
import { ITHBubbleMessageProps } from './ITHBubbleMessage.types';
|
|
4
2
|
export declare const ITHBubbleMessage: ({ text, isInsideSheet, className, imageClassName, imgSrc, withActionButtons, ownerName, ownerSurname, withHover, isOpened, onEditClick, onDeleteClick, onCloseClick, textFormatter, ...props }: ITHBubbleMessageProps) => JSX.Element;
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ITHCheckboxItemProps } from './ITHCheckboxItem.types';
|
|
3
|
-
import './ITHCheckboxItem.scss';
|
|
4
2
|
export declare const ITHCheckboxItem: ({ 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
|
-
import React from 'react';
|
|
1
|
+
import { default as 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 type ITHCheckboxItemProps = ITHCheckboxProps & Pick<React.ComponentProps<typeof IonItem>, 'lines' | 'detail' | 'detailIcon' | 'shape'> & {
|
|
6
6
|
label?: string;
|
|
7
7
|
labelMobileTextType?: ITHTextType;
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { Chip, ITHChipProps } from './ITHChip.types';
|
|
3
|
-
import './ITHChip.scss';
|
|
4
2
|
export declare const ITHChip: <T extends Chip>({ chip, withoutIcon, withCloseButton, isActive, onClick, onCloseButtonClick, ...props }: ITHChipProps<T>) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ComponentProps } from 'react';
|
|
2
2
|
import { IonChip } from '@ionic/react';
|
|
3
|
-
import { ITHSelectOption } from
|
|
3
|
+
import { ITHSelectOption } from '../Select';
|
|
4
4
|
export type Chip = Pick<ITHSelectOption, 'text' | 'icon' | 'value'>;
|
|
5
5
|
export type ITHChipProps<T extends Chip> = Omit<ComponentProps<typeof IonChip>, 'onClick'> & {
|
|
6
6
|
chip: T;
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ITHCleaveInputProps } from './ITHCleaveInput.types';
|
|
3
|
-
import './ITHCleaveInput.scss';
|
|
4
2
|
export declare const ITHCleaveInput: ({ label, icon, iconLeft, iconClassName, prefix, hasError, errorHint, hint, requiredSign, placeholder, style, type, onFocus, onBlur, onClearValue, clearButton, children, ...props }: ITHCleaveInputProps) => JSX.Element;
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { AutocompleteTypes, TextFieldTypes } from '@ionic/core';
|
|
2
|
-
import
|
|
3
|
-
import { ITHInputAdditionalProps } from
|
|
2
|
+
import { Props as CleaveInputProps } from 'cleave.js/react/props';
|
|
3
|
+
import { ITHInputAdditionalProps } from '../ITHInput';
|
|
4
4
|
export type ITHCleaveInputProps = Omit<ITHInputAdditionalProps, 'forceFocused' | 'type'> & {
|
|
5
5
|
type: TextFieldTypes;
|
|
6
6
|
autoComplete?: AutocompleteTypes;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
2
|
import { ITHCharInputProps } from './ITHCharInput.types';
|
|
3
|
-
import './ITHCharInput.scss';
|
|
4
3
|
export declare const ITHCharInput: React.ForwardRefExoticComponent<ITHCharInputProps & React.RefAttributes<HTMLIonInputElement>>;
|
|
@@ -1,4 +1,3 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import
|
|
3
|
-
import './ITHCounter.scss';
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
import { ITHCounterProps } from './ITHCounter.types';
|
|
4
3
|
export declare const ITHCounter: React.MemoExoticComponent<({ quantity, className, minQuantity, maxQuantity, onQuantityChange, disabled, withShadow, isGrey, withDisablingAfterChange, ...props }: ITHCounterProps) => JSX.Element>;
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ITHDateInputProps } from './ITHDateInput.types';
|
|
3
|
-
import './ITHDateInput.scss';
|
|
4
2
|
export declare const ITHDateInput: ({ editable, withArrow, label, disabled, requiredSign, id, onInputWrapperClick, onBlur, onFocus, onIonFocus, onIonBlur, className, locale, ...props }: ITHDateInputProps) => JSX.Element;
|
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { IonInput } from '@ionic/react';
|
|
3
|
-
import { ITHInputProps } from
|
|
2
|
+
import { ITHInputProps } from '../ITHInput';
|
|
4
3
|
export type ITHDateInputCommonProps = Pick<ITHInputProps, 'value' | 'label' | 'requiredSign' | 'disabled' | 'className' | 'onInputWrapperClick'> & Pick<React.ComponentProps<typeof IonInput>, 'onFocus' | 'onBlur' | 'onIonFocus' | 'onIonBlur' | 'id'> & {
|
|
5
4
|
editable?: boolean;
|
|
6
5
|
withArrow?: boolean;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { ITHDatePickerDayProps } from './ITHDatePickerDay.types';
|
|
2
|
-
import './ITHDatePickerDay.scss';
|
|
3
2
|
export declare const ITHDatePickerDay: ({ date, selectedDates, displayMonth, hoveredDate, hidden, minDate, maxDate, specialDatesValues, onClick, onMouseEnter, onMouseLeave, }: ITHDatePickerDayProps) => JSX.Element;
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { SpecialDateValues } from '.';
|
|
2
|
-
import { SelectedDates } from
|
|
2
|
+
import { SelectedDates } from '..';
|
|
3
3
|
export declare const useDay: (date: Date, [firstSelectedDate, secondSelectedDate]: SelectedDates, displayMonth: number, specialDatesValues?: SpecialDateValues[], minDate?: Date, maxDate?: Date, hoveredDate?: Date) => {
|
|
4
4
|
specialDate: Date;
|
|
5
5
|
color?: string | undefined;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { ITHDatePickerHeaderProps } from './ITHDatePickerHeader.types';
|
|
2
|
-
import './ITHDatePickerHeader.scss';
|
|
3
2
|
export declare const ITHDatePickerHeader: ({ currentMonths, isButtonsDisabled, isDouble, onNextClick, onPrevClick, locale, }: ITHDatePickerHeaderProps) => JSX.Element;
|
|
@@ -1,3 +1,2 @@
|
|
|
1
1
|
import { ITHDatePickerMonthProps } from './ITHDatePickerMonth.types';
|
|
2
|
-
import './ITHDatePickerMonth.scss';
|
|
3
2
|
export declare const ITHDatePickerMonth: ({ year, month, firstDayOfWeek, selectedDates, minDate, maxDate, hoveredDate, specialDatesValues, onHoveredDateChange, onSelectedDatesChange, }: ITHDatePickerMonthProps) => JSX.Element;
|
|
@@ -1,4 +1,2 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
1
|
import { ITHDatePickerInputsProps } from './ITHDatePickerInputs.types';
|
|
3
|
-
import './ITHDatePickerInputs.scss';
|
|
4
2
|
export declare const ITHDatePickerInputs: ({ fromLabel, toLabel, errorMessage, selectedDates, isSecondDateDisabled, onSelectedDatesChange, onBlur, onFocus, ...props }: ITHDatePickerInputsProps) => JSX.Element;
|