@it-holding-ui/atomic 9.0.1 → 9.1.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.
@@ -1,5 +1,7 @@
1
+ import { ComponentProps } from 'react';
2
+ import { IonInput } from '@ionic/react';
1
3
  import { FieldProps } from '@it-holding-ui/types';
2
4
  import { ITHInputProps } from "../../ITHInput";
3
- export declare type ITHInputFieldProps<T extends string> = Omit<ITHInputProps, keyof FieldProps<T>> & Omit<FieldProps<T>, 'children'> & {
5
+ export declare type ITHInputFieldProps<T extends string> = Pick<ComponentProps<typeof IonInput>, 'type' | 'autocomplete'> & Omit<ITHInputProps, keyof FieldProps<T>> & Omit<FieldProps<T>, 'children'> & {
4
6
  name: string;
5
7
  };
@@ -1,4 +1,4 @@
1
1
  /// <reference types="react" />
2
2
  import { ITHHeaderProps } from './ITHHeader.types';
3
3
  import './ITHHeader.scss';
4
- export declare const ITHHeader: ({ closeIcon, closeIconSlot, title, titleMobileType, titleType, customButtons, withBorderBottom, withShadowBottom, className, withSearch, searchValue, onSearchChange, onSearchCancel, onSearchClear, onCloseIconClick, }: ITHHeaderProps) => JSX.Element;
4
+ export declare const ITHHeader: ({ closeIcon, closeIconSlot, title, titleMobileType, titleType, customButtons, customButtonsSlot, withBorderBottom, withShadowBottom, className, withSearch, searchValue, onSearchChange, onSearchCancel, onSearchClear, onCloseIconClick, }: ITHHeaderProps) => JSX.Element;
@@ -14,6 +14,7 @@ export declare type ITHHeaderProps = {
14
14
  closeIcon?: ITHHeaderCloseIcon;
15
15
  closeIconSlot?: 'start' | 'end' | 'null';
16
16
  customButtons?: JSX.Element;
17
+ customButtonsSlot?: 'start' | 'end';
17
18
  className?: string;
18
19
  withBorderBottom?: boolean;
19
20
  withShadowBottom?: boolean;
@@ -3,7 +3,7 @@ import { ITHInputProps } from "../../ITHInput";
3
3
  import { ITHInputFacadeInputProps } from "../../ITHInput/ITHInputFacade/ITHInputFacade.types";
4
4
  import { ITHSheetProps } from "../../ITHSheet";
5
5
  import { ITHAbstractSelectProps, ITHSelectOption } from "../ITHSelect.types";
6
- export declare 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'> & Pick<ITHSheetProps, 'closeIconSlot' | 'closeIcon'> & {
6
+ export declare 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'> & Pick<ITHSheetProps, 'closeIconSlot' | 'closeIcon' | 'customButtons' | 'customButtonsSlot'> & {
7
7
  sheetClassName?: string;
8
8
  popoverClassName?: string;
9
9
  valueFormatKey?: keyof Option;