@it-holding-ui/atomic 1.1.1 → 1.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.
@@ -0,0 +1,3 @@
1
+ import { CustomCheckboxItemProps } from './CustomCheckboxItem.types';
2
+ import './CustomCheckboxItem.scss';
3
+ export declare const CustomCheckboxItem: ({ label, labelMobileTextType, labelTextType, header, headerMobileTextType, headerTextType, info, errorMessage, errorForce, checkboxSlot, lines, detail, detailIcon, shape, disabled, className, ...props }: CustomCheckboxItemProps) => JSX.Element;
@@ -0,0 +1,16 @@
1
+ import React from 'react';
2
+ import { IonItem } from '@ionic/react';
3
+ import { CustomCheckboxProps } from '~atomic/CustomCheckbox';
4
+ import { TextType } from '~atomic/Text';
5
+ export declare type CustomCheckboxItemProps = CustomCheckboxProps & Pick<React.ComponentProps<typeof IonItem>, 'lines' | 'detail' | 'detailIcon' | 'shape'> & {
6
+ label?: string;
7
+ labelMobileTextType?: TextType;
8
+ labelTextType?: TextType;
9
+ header?: string;
10
+ headerMobileTextType?: TextType;
11
+ headerTextType?: TextType;
12
+ info?: string;
13
+ checkboxSlot?: 'start' | 'end';
14
+ errorMessage?: string;
15
+ errorForce?: boolean;
16
+ };
@@ -0,0 +1 @@
1
+ export { CustomCheckboxItem } from './CustomCheckboxItem';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { CustomItemProps } from './CustomItem.types';
3
+ import './CustomItem.scss';
4
+ export declare const CustomItem: React.ForwardRefExoticComponent<Pick<CustomItemProps, "disabled" | "download" | "href" | "label" | "placeholder" | "rel" | "shape" | "target" | "type" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "slot" | "spellCheck" | "tabIndex" | "title" | "translate" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "color" | "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" | "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" | "key" | "button" | "footer" | "header" | "mode" | "fill" | "lines" | "routerAnimation" | "counter" | "counterFormatter" | "detail" | "detailIcon" | "labelTextType" | "headerTextType" | "routerLink" | "routerDirection" | "routerOptions" | keyof import("@ionic/react/dist/types/components/IonicReactProps").IonicReactProps | "icon" | "footerTextType" | "withArrowRight" | "withBorderBottom"> & React.RefAttributes<HTMLIonItemElement>>;
@@ -0,0 +1,14 @@
1
+ import { ComponentProps } from 'react';
2
+ import { IonItem } from '@ionic/react';
3
+ import { TextType } from '~atomic/Text';
4
+ export declare type CustomItemProps = ComponentProps<typeof IonItem> & {
5
+ label?: React.ReactNode;
6
+ labelTextType?: TextType;
7
+ header?: string;
8
+ headerTextType?: TextType;
9
+ footer?: string;
10
+ footerTextType?: TextType;
11
+ icon?: JSX.Element | string;
12
+ withArrowRight?: boolean;
13
+ withBorderBottom?: boolean;
14
+ };
@@ -0,0 +1,2 @@
1
+ export { CustomItem } from './CustomItem';
2
+ export type { CustomItemProps } from './CustomItem.types';
@@ -0,0 +1,3 @@
1
+ import { CustomRadioItemProps } from './CustomRadioItem.types';
2
+ import './CustomRadioItem.scss';
3
+ export declare const CustomRadioItem: ({ label, labelTextType, header, headerTextType, footer, footerTextType, info, errorMessage, errorForce, radioSlot, lines, detail, detailIcon, shape, disabled, className, ...props }: CustomRadioItemProps) => JSX.Element;
@@ -0,0 +1,15 @@
1
+ /// <reference types="react" />
2
+ import { IonItem, IonRadio } from '@ionic/react';
3
+ import { TextType } from '~atomic/Text';
4
+ export declare type CustomRadioItemProps = React.ComponentProps<typeof IonRadio> & Pick<React.ComponentProps<typeof IonItem>, 'lines' | 'detail' | 'detailIcon' | 'shape'> & {
5
+ label?: string;
6
+ labelTextType?: TextType;
7
+ header?: string;
8
+ headerTextType?: TextType;
9
+ footer?: string;
10
+ footerTextType?: TextType;
11
+ info?: string;
12
+ radioSlot?: 'start' | 'end';
13
+ errorMessage?: string;
14
+ errorForce?: boolean;
15
+ };
@@ -0,0 +1 @@
1
+ export { CustomRadioItem } from './CustomRadioItem';
@@ -0,0 +1,4 @@
1
+ import React from 'react';
2
+ import { CustomToggleProps } from './CustomToggle.types';
3
+ import './CustomToggle.scss';
4
+ export declare const CustomToggle: React.FC<CustomToggleProps>;
@@ -0,0 +1,7 @@
1
+ import { ComponentProps } from 'react';
2
+ import { IonToggle, ToggleChangeEventDetail } from '@ionic/react';
3
+ export declare type CustomToggleProps = Omit<ComponentProps<typeof IonToggle>, 'defaultValue' | 'onIonChange'> & {
4
+ onBlur?: () => void;
5
+ onFocus?: () => void;
6
+ onIonChange?: (event: CustomEvent<ToggleChangeEventDetail>) => void;
7
+ };
@@ -0,0 +1,2 @@
1
+ export { CustomToggle } from './CustomToggle';
2
+ export type { CustomToggleProps } from './CustomToggle.types';
@@ -1,5 +1,9 @@
1
1
  export { CustomCheckbox } from './CustomCheckbox';
2
+ export { CustomCheckboxItem } from './CustomCheckboxItem';
2
3
  export { CustomIcon } from './CustomIcon';
3
4
  export { CustomInput } from './CustomInput';
5
+ export { CustomItem } from './CustomItem';
6
+ export { CustomRadioItem } from './CustomRadioItem';
7
+ export { CustomToggle } from './CustomToggle';
4
8
  export { Label } from './Label';
5
9
  export { Text, TextType } from './Text';