@it-holding-ui/atomic 9.3.0 → 9.4.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.
@@ -1,5 +1,5 @@
1
1
  import { TextFieldTypes } from '@ionic/core';
2
- import { Props as CleaveInputProps } from 'cleave.js/react/props';
2
+ import type { Props as CleaveInputProps } from 'cleave.js/react/props';
3
3
  import { ITHInputAdditionalProps } from "../ITHInput";
4
4
  export declare type ITHCleaveInputProps = Omit<ITHInputAdditionalProps, 'forceFocused' | 'type'> & {
5
5
  type: TextFieldTypes;
@@ -1,3 +1,3 @@
1
1
  import { ITHAddPhotoButtonProps } from './ITHAddPhotoButton.types';
2
2
  import './ITHAddPhotoButton.scss';
3
- export declare const ITHAddPhotoButton: ({ title, description, isBig, onPhotoAdd, isSmall, ...props }: ITHAddPhotoButtonProps) => JSX.Element;
3
+ export declare const ITHAddPhotoButton: ({ title, description, isBig, onPhotoAdd, isSmall, addPhotoIcon, ...props }: ITHAddPhotoButtonProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PhotoInfo } from '@it-holding-ui/types';
2
3
  export declare type ITHAddPhotoButtonProps = {
3
4
  title: string;
@@ -7,4 +8,5 @@ export declare type ITHAddPhotoButtonProps = {
7
8
  onPhotoAdd?: (file: PhotoInfo) => void;
8
9
  onBlur?: () => void;
9
10
  onFocus?: () => void;
11
+ addPhotoIcon?: string | JSX.Element;
10
12
  };
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { ITHPhotoInputProps } from './ITHPhotoInput.types';
3
3
  import './ITHPhotoInput.scss';
4
- export declare const ITHPhotoInput: ({ title, description, maxImages, className, initialPhotos, isBig, onPhotosChange, onBlur, onFocus, isSmall, }: ITHPhotoInputProps) => JSX.Element;
4
+ export declare const ITHPhotoInput: ({ title, description, maxImages, className, initialPhotos, isBig, onPhotosChange, onBlur, onFocus, isSmall, isFullOfEmptyPhotos, addPhotoIcon, }: ITHPhotoInputProps) => JSX.Element;
@@ -1,3 +1,4 @@
1
+ /// <reference types="react" />
1
2
  import { PhotoInfo } from '@it-holding-ui/types';
2
3
  export declare type ITHPhotoInputProps = {
3
4
  title: string;
@@ -10,4 +11,6 @@ export declare type ITHPhotoInputProps = {
10
11
  onPhotosChange?: (files: PhotoInfo[]) => void;
11
12
  onFocus?: () => void;
12
13
  onBlur?: () => void;
14
+ isFullOfEmptyPhotos?: boolean;
15
+ addPhotoIcon?: string | JSX.Element;
13
16
  };