@it-holding-ui/atomic 5.0.0 → 5.1.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/ITHAddItem/ITHAddItem.d.ts +1 -1
- package/build/atomic/src/ITHAddItem/ITHAddItem.types.d.ts +1 -0
- package/build/atomic/src/ITHCheckboxItem/ITHCheckboxItem.d.ts +1 -1
- package/build/atomic/src/ITHCheckboxItem/ITHCheckboxItem.types.d.ts +1 -0
- package/build/atomic/src/ITHIcon/ITHIcon.d.ts +1 -1
- package/build/atomic/src/ITHItem/ITHItem.d.ts +1 -1
- package/build/atomic/src/ITHMenuItem/ITHMenuItem.d.ts +3 -0
- package/build/atomic/src/ITHMenuItem/ITHMenuItem.types.d.ts +14 -0
- package/build/atomic/src/ITHMenuItem/index.d.ts +2 -0
- package/build/atomic/src/ITHPageHeader/ITHPageHeader.d.ts +1 -1
- package/build/atomic/src/ITHPageHeader/ITHPageHeader.types.d.ts +1 -0
- package/build/atomic/src/ITHSideMenu/ITHSideMenu.d.ts +3 -0
- package/build/atomic/src/ITHSideMenu/ITHSideMenu.types.d.ts +10 -0
- package/build/atomic/src/ITHSideMenu/ITHSideMenu.utils.d.ts +2 -0
- package/build/atomic/src/ITHSideMenu/index.d.ts +2 -0
- package/build/atomic/src/index.d.ts +3 -0
- package/build/index.js +1 -1
- package/build/index.js.map +1 -1
- package/package.json +3 -3
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITHAddItemProps } from './ITHAddItem.types';
|
|
2
2
|
import './ITHAddItem.scss';
|
|
3
|
-
export declare const ITHAddItem: ({ label, icon, children, className, withIcon, ...props }: ITHAddItemProps) => JSX.Element;
|
|
3
|
+
export declare const ITHAddItem: ({ label, icon, children, className, withIcon, isMobile, ...props }: ITHAddItemProps) => JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITHCheckboxItemProps } from './ITHCheckboxItem.types';
|
|
2
2
|
import './ITHCheckboxItem.scss';
|
|
3
|
-
export declare const ITHCheckboxItem: ({ 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, ...props }: ITHCheckboxItemProps) => JSX.Element;
|
|
@@ -3,6 +3,7 @@ import { IonItem } from '@ionic/react';
|
|
|
3
3
|
import { ITHCheckboxProps } from '~atomic/ITHCheckbox';
|
|
4
4
|
import { ITHTextType } from '~atomic/ITHText';
|
|
5
5
|
export declare type ITHCheckboxItemProps = ITHCheckboxProps & Pick<React.ComponentProps<typeof IonItem>, 'lines' | 'detail' | 'detailIcon' | 'shape'> & {
|
|
6
|
+
isMobile: boolean;
|
|
6
7
|
label?: string;
|
|
7
8
|
labelMobileTextType?: ITHTextType;
|
|
8
9
|
labelTextType?: ITHTextType;
|
|
@@ -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" | "hidden" | "dir" | "slot" | "title" | "color" | "translate" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "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" | "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" | "disabled" | "
|
|
4
|
+
export declare const ITHItem: React.ForwardRefExoticComponent<Pick<ITHItemProps, "type" | "hidden" | "dir" | "slot" | "title" | "color" | "translate" | "children" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "contentEditable" | "contextMenu" | "draggable" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "radioGroup" | "role" | "about" | "datatype" | "inlist" | "prefix" | "property" | "resource" | "typeof" | "vocab" | "autoCapitalize" | "autoCorrect" | "autoSave" | "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" | "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" | "disabled" | "button" | "fill" | "lines" | "mode" | "routerAnimation" | "href" | "rel" | "target" | "download" | "shape" | "counter" | "counterFormatter" | "detail" | "detailIcon" | "key" | "label" | "labelTextType" | "header" | "headerTextType" | "footer" | "footerTextType" | "icon" | keyof import("@ionic/react/dist/types/components/IonicReactProps").IonicReactProps | "withBorderBottom" | "routerLink" | "routerDirection" | "routerOptions" | "withArrowRight"> & React.RefAttributes<HTMLIonItemElement>>;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
export declare type ITHMenuItemProps = {
|
|
3
|
+
isMobile: boolean;
|
|
4
|
+
id: number;
|
|
5
|
+
label: string;
|
|
6
|
+
items?: ITHMenuItemProps[];
|
|
7
|
+
elementAfter?: JSX.Element;
|
|
8
|
+
icon?: string | JSX.Element;
|
|
9
|
+
isActive?: boolean;
|
|
10
|
+
rounded?: boolean;
|
|
11
|
+
disabled?: boolean;
|
|
12
|
+
isDanger?: boolean;
|
|
13
|
+
onClick?: (id: number, event: React.MouseEvent<HTMLIonItemElement>) => void;
|
|
14
|
+
};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { ITHPageHeaderProps } from './ITHPageHeader.types';
|
|
2
2
|
import './ITHPageHeader.scss';
|
|
3
|
-
export declare const ITHPageHeader: ({ closeIcon, closeIconSlot, title, titleMobileType, titleType, customButtons, withBorderBottom, withShadowBottom, className, onCloseIconClick, }: ITHPageHeaderProps) => JSX.Element;
|
|
3
|
+
export declare const ITHPageHeader: ({ isMobile, closeIcon, closeIconSlot, title, titleMobileType, titleType, customButtons, withBorderBottom, withShadowBottom, className, onCloseIconClick, }: ITHPageHeaderProps) => JSX.Element;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { ITHMenuItemProps } from '~atomic/ITHMenuItem';
|
|
2
|
+
export declare type ITHSideMenuItem = Omit<ITHMenuItemProps, 'isActive' | 'onClick' | 'rounded' | 'items'> & {
|
|
3
|
+
items?: ITHSideMenuItem[];
|
|
4
|
+
};
|
|
5
|
+
export declare type ITHSideMenuProps = {
|
|
6
|
+
items: ITHSideMenuItem[];
|
|
7
|
+
currentItemId?: number;
|
|
8
|
+
onActiveItemChange?: (itemId?: number) => void;
|
|
9
|
+
className?: string;
|
|
10
|
+
};
|
|
@@ -30,6 +30,7 @@ export { ITHInput } from './ITHInput';
|
|
|
30
30
|
export type { ITHItemProps } from './ITHItem';
|
|
31
31
|
export { ITHItem } from './ITHItem';
|
|
32
32
|
export { ITHLabel } from './ITHLabel';
|
|
33
|
+
export { ITHMenuItem } from './ITHMenuItem';
|
|
33
34
|
export { ITHPageHeader } from './ITHPageHeader';
|
|
34
35
|
export { AVAILABLE_PHOTO_MIME_TYPES, AVAILABLE_PHOTO_MIME_TYPES_ARRAY, DEFAULT_PHOTO_QUALITY, ITHPhotoInput, MAX_PHOTO_FILE_SIZE, MAX_PHOTO_SIZE, } from './ITHPhotoInput';
|
|
35
36
|
export type { ITHPopoverProps } from './ITHPopover';
|
|
@@ -41,6 +42,8 @@ export type { ITHSearchbarProps } from './ITHSearchbar';
|
|
|
41
42
|
export { ITHSearchbar } from './ITHSearchbar';
|
|
42
43
|
export type { ITHSheetCloseIcon, ITHSheetProps } from './ITHSheet';
|
|
43
44
|
export { ITHSheet } from './ITHSheet';
|
|
45
|
+
export type { ITHSideMenuItem } from './ITHSideMenu';
|
|
46
|
+
export { ITHSideMenu } from './ITHSideMenu';
|
|
44
47
|
export { ITHSingleDatePicker } from './ITHSingleDatePicker';
|
|
45
48
|
export { ITHStarRating } from './ITHStarRating';
|
|
46
49
|
export { ITHStepper } from './ITHStepper';
|