@mindly/ui-components 5.100.5 → 5.102.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/dist/cjs/configs/tailwind/colors.d.ts +1 -0
- package/dist/cjs/index.js +6 -6
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingMultiSelectionScreenPreviewFeature/OnBoardingMultiSelectionScreenPreviewFeature.d.ts +2 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingProgressFeature/OnBoardingProgressFeature.d.ts +2 -0
- package/dist/cjs/lib2/features/OnBoardingFlow/OnBoardingSingleSelectionScreenPreviewFeature/OnBoardingSingleSelectionScreenPreviewFeature.d.ts +2 -0
- package/dist/cjs/lib2/shared/assets/icons/IconCheckboxChecked.d.ts +1 -1
- package/dist/cjs/lib2/shared/assets/icons/IconRadioButtonChecked.d.ts +6 -2
- package/dist/cjs/lib2/shared/types/onBoardingFlow.type.d.ts +18 -2
- package/dist/cjs/lib2/shared/ui/Button_v2/Button_v2.d.ts +2 -18
- package/dist/cjs/lib2/shared/ui/Button_v2/Button_v2.style.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/Button_v2/types.d.ts +19 -0
- package/dist/cjs/lib2/shared/ui/ListBox/ListBox.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/ListBox/types.d.ts +2 -0
- package/dist/cjs/lib2/shared/ui/ListBoxItem/constants.d.ts +2 -0
- package/dist/cjs/lib2/shared/ui/ListBoxItem/types.d.ts +3 -1
- package/dist/cjs/lib2/shared/ui/ProgressBar_v2/ProgressBar_v2.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/SolidInput/SolidInput.d.ts +0 -8
- package/dist/cjs/lib2/shared/ui/SolidInput/SolidInput.stories.d.ts +2 -0
- package/dist/cjs/lib2/shared/ui/SolidInput/types.d.ts +5 -3
- package/dist/esm/configs/tailwind/colors.d.ts +1 -0
- package/dist/esm/index.js +5 -5
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingMultiSelectionScreenPreviewFeature/OnBoardingMultiSelectionScreenPreviewFeature.d.ts +2 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingProgressFeature/OnBoardingProgressFeature.d.ts +2 -0
- package/dist/esm/lib2/features/OnBoardingFlow/OnBoardingSingleSelectionScreenPreviewFeature/OnBoardingSingleSelectionScreenPreviewFeature.d.ts +2 -0
- package/dist/esm/lib2/shared/assets/icons/IconCheckboxChecked.d.ts +1 -1
- package/dist/esm/lib2/shared/assets/icons/IconRadioButtonChecked.d.ts +6 -2
- package/dist/esm/lib2/shared/types/onBoardingFlow.type.d.ts +18 -2
- package/dist/esm/lib2/shared/ui/Button_v2/Button_v2.d.ts +2 -18
- package/dist/esm/lib2/shared/ui/Button_v2/Button_v2.style.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/Button_v2/types.d.ts +19 -0
- package/dist/esm/lib2/shared/ui/ListBox/ListBox.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/ListBox/types.d.ts +2 -0
- package/dist/esm/lib2/shared/ui/ListBoxItem/constants.d.ts +2 -0
- package/dist/esm/lib2/shared/ui/ListBoxItem/types.d.ts +3 -1
- package/dist/esm/lib2/shared/ui/ProgressBar_v2/ProgressBar_v2.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/SolidInput/SolidInput.d.ts +0 -8
- package/dist/esm/lib2/shared/ui/SolidInput/SolidInput.stories.d.ts +2 -0
- package/dist/esm/lib2/shared/ui/SolidInput/types.d.ts +5 -3
- package/dist/index.d.ts +144 -113
- package/package.json +1 -1
- package/src/configs/tailwind/colors.ts +2 -0
- package/src/lib2/shared/css/tailwind.css +1 -0
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { OnBoardingMultiSelectScreenType } from '../../../shared';
|
|
3
|
+
import { OnboardingVariant } from '../../../shared';
|
|
3
4
|
type OnBoardingMultiSelectionScreenPreviewFeatureProps = {
|
|
4
5
|
onChange?: (value: string[]) => void;
|
|
5
6
|
defaultValues?: string[];
|
|
7
|
+
variant?: OnboardingVariant;
|
|
6
8
|
} & OnBoardingMultiSelectScreenType;
|
|
7
9
|
declare const _default: React.NamedExoticComponent<OnBoardingMultiSelectionScreenPreviewFeatureProps>;
|
|
8
10
|
export default _default;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { OnBoardingScreenStyleOptions } from '../../../shared';
|
|
3
|
+
import { OnboardingVariant } from '../../../shared';
|
|
3
4
|
type OnBoardingProgressFeatureProps = {
|
|
4
5
|
progress: number;
|
|
5
6
|
isPreview?: boolean;
|
|
@@ -7,6 +8,7 @@ type OnBoardingProgressFeatureProps = {
|
|
|
7
8
|
onBackButtonClick?: () => void;
|
|
8
9
|
contentStyle?: OnBoardingScreenStyleOptions;
|
|
9
10
|
startAdornment?: React.ReactNode;
|
|
11
|
+
variant?: OnboardingVariant;
|
|
10
12
|
};
|
|
11
13
|
declare const _default: React.NamedExoticComponent<OnBoardingProgressFeatureProps>;
|
|
12
14
|
export default _default;
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { OnBoardingSingleSelectScreenType } from '../../../shared';
|
|
3
|
+
import { OnboardingVariant } from '../../../shared/';
|
|
3
4
|
type OnBoardingSingleSelectionScreenPreviewFeatureProps = {
|
|
4
5
|
onChange?: (value: string) => void;
|
|
5
6
|
defaultValues?: string[];
|
|
7
|
+
variant?: OnboardingVariant;
|
|
6
8
|
} & OnBoardingSingleSelectScreenType;
|
|
7
9
|
declare const _default: React.NamedExoticComponent<OnBoardingSingleSelectionScreenPreviewFeatureProps>;
|
|
8
10
|
export default _default;
|
|
@@ -3,5 +3,5 @@ interface IconProps extends React.SVGAttributes<SVGElement> {
|
|
|
3
3
|
size?: number | string;
|
|
4
4
|
color?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare
|
|
6
|
+
export declare const IconCheckboxChecked: ({ color, size, ...other }: IconProps) => JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -1,2 +1,6 @@
|
|
|
1
|
-
import
|
|
2
|
-
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
interface IconProps extends React.SVGAttributes<SVGElement> {
|
|
3
|
+
color?: string;
|
|
4
|
+
}
|
|
5
|
+
export declare const IconRadioButtonChecked: ({ color, ...rest }: IconProps) => JSX.Element;
|
|
6
|
+
export {};
|
|
@@ -70,6 +70,9 @@ export type OnBoardingScreenAlertType = {
|
|
|
70
70
|
export type OnBoardingScreenTranslationsType = {
|
|
71
71
|
t?: WithTranslation['t'];
|
|
72
72
|
};
|
|
73
|
+
export type OnBoardingScreenErrorsType = {
|
|
74
|
+
errors?: Record<string, string>;
|
|
75
|
+
};
|
|
73
76
|
export type OnBoardingBaseScreenType = {
|
|
74
77
|
id: string;
|
|
75
78
|
type: OnBoardingScreenOptions;
|
|
@@ -119,11 +122,20 @@ export type OnBoardingReviewsScreenType = OnBoardingBaseScreenType & OnBoardingS
|
|
|
119
122
|
reviews: ISpecialistReview[];
|
|
120
123
|
isLoading?: boolean;
|
|
121
124
|
};
|
|
122
|
-
export type OnBoardingEmailScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & OnBoardingScreenTranslationsType & OnBoardingScreenEmailType & OnBoardingScreenPrivacyType & {
|
|
125
|
+
export type OnBoardingEmailScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & OnBoardingScreenTranslationsType & OnBoardingScreenErrorsType & OnBoardingScreenEmailType & OnBoardingScreenPrivacyType & {
|
|
123
126
|
title: string;
|
|
127
|
+
email: string | null;
|
|
128
|
+
emailErrorText?: string;
|
|
129
|
+
onChangeEmail?: (email: string) => void;
|
|
124
130
|
};
|
|
125
|
-
export type OnBoardingConfirmScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & OnBoardingScreenTranslationsType & OnBoardingScreenEmailType & OnBoardingScreenPasswordType & OnBoardingScreenAlertType & {
|
|
131
|
+
export type OnBoardingConfirmScreenType = OnBoardingBaseScreenType & OnBoardingScreenButtonType & OnBoardingScreenTranslationsType & OnBoardingScreenErrorsType & OnBoardingScreenEmailType & OnBoardingScreenPasswordType & OnBoardingScreenAlertType & {
|
|
126
132
|
title: string;
|
|
133
|
+
email: string | null;
|
|
134
|
+
emailErrorText?: string;
|
|
135
|
+
password: string | null;
|
|
136
|
+
passwordErrorText?: string;
|
|
137
|
+
onChangeEmail?: (email: string) => void;
|
|
138
|
+
onChangePassword?: (password: string) => void;
|
|
127
139
|
};
|
|
128
140
|
export type OnBoardingScreensType = OnBoardingStartScreenType | OnBoardingMultiSelectScreenType | OnBoardingSingleSelectScreenType | OnBoardingInfoScreenType | OnBoardingLoaderScreenType | OnBoardingReviewsScreenType | OnBoardingEmailScreenType | OnBoardingConfirmScreenType;
|
|
129
141
|
export type OnBoardingFlowType = {
|
|
@@ -146,3 +158,7 @@ export type OnBoardingFlowType = {
|
|
|
146
158
|
duration_min?: number | null;
|
|
147
159
|
isDefault?: boolean;
|
|
148
160
|
};
|
|
161
|
+
export declare enum OnboardingVariant {
|
|
162
|
+
default = "default",
|
|
163
|
+
blue = "blue"
|
|
164
|
+
}
|
|
@@ -1,20 +1,4 @@
|
|
|
1
|
-
import
|
|
2
|
-
import {
|
|
3
|
-
export type ButtonProps = {
|
|
4
|
-
fill?: 'outline' | 'clear';
|
|
5
|
-
size?: 'default' | 'large' | 'small';
|
|
6
|
-
customSize?: 'smaller' | 'auto';
|
|
7
|
-
withDefaultState?: boolean;
|
|
8
|
-
color?: undefined;
|
|
9
|
-
fullWidth?: boolean;
|
|
10
|
-
className?: string;
|
|
11
|
-
routerLink?: string;
|
|
12
|
-
onClick?: (e: React.MouseEvent<HTMLIonButtonElement>) => void;
|
|
13
|
-
isLoading?: boolean;
|
|
14
|
-
icon?: React.ReactNode;
|
|
15
|
-
iconPosition?: 'start' | 'center';
|
|
16
|
-
style?: React.CSSProperties;
|
|
17
|
-
id?: string;
|
|
18
|
-
} & JSX.IonButton;
|
|
1
|
+
import { FC } from 'react';
|
|
2
|
+
import { ButtonProps } from './types';
|
|
19
3
|
declare const Button_v2: FC<ButtonProps>;
|
|
20
4
|
export default Button_v2;
|
|
@@ -19,4 +19,5 @@ export declare const ButtonStyled: import("styled-components").StyledComponent<i
|
|
|
19
19
|
iconPosition?: "center" | "start" | undefined;
|
|
20
20
|
style?: import("react").CSSProperties | undefined;
|
|
21
21
|
id?: string | undefined;
|
|
22
|
+
variant?: "default" | "blue" | undefined;
|
|
22
23
|
} & import("@ionic/core/dist/types/components").JSX.IonButton, never>;
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
import { JSX } from '@ionic/core/components';
|
|
3
|
+
export type ButtonProps = {
|
|
4
|
+
fill?: 'outline' | 'clear';
|
|
5
|
+
size?: 'default' | 'large' | 'small';
|
|
6
|
+
customSize?: 'smaller' | 'auto';
|
|
7
|
+
withDefaultState?: boolean;
|
|
8
|
+
color?: undefined;
|
|
9
|
+
fullWidth?: boolean;
|
|
10
|
+
className?: string;
|
|
11
|
+
routerLink?: string;
|
|
12
|
+
onClick?: (e: React.MouseEvent<HTMLIonButtonElement>) => void;
|
|
13
|
+
isLoading?: boolean;
|
|
14
|
+
icon?: React.ReactNode;
|
|
15
|
+
iconPosition?: 'start' | 'center';
|
|
16
|
+
style?: React.CSSProperties;
|
|
17
|
+
id?: string;
|
|
18
|
+
variant?: 'default' | 'blue';
|
|
19
|
+
} & JSX.IonButton;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { ListBoxProps } from './types';
|
|
2
|
-
export default function ListBox<T extends Record<string, unknown>>({ selectedIconProps, type, selectionPosition, enableSelection, className, ...props }: ListBoxProps<T>): JSX.Element;
|
|
2
|
+
export default function ListBox<T extends Record<string, unknown>>({ selectedIconProps, type, selectionPosition, enableSelection, className, variant, ...props }: ListBoxProps<T>): JSX.Element;
|
|
@@ -4,10 +4,12 @@ export declare enum ListBoxSelectionType {
|
|
|
4
4
|
Checkbox = "checkbox",
|
|
5
5
|
Radio = "radio"
|
|
6
6
|
}
|
|
7
|
+
export type VariantType = 'default' | 'blue';
|
|
7
8
|
export type ListBoxProps<T> = AriaListBoxProps<T> & {
|
|
8
9
|
type?: `${ListBoxSelectionType}`;
|
|
9
10
|
enableSelection?: boolean;
|
|
10
11
|
selectedIconProps?: IconProps;
|
|
11
12
|
selectionPosition?: 'start' | 'end';
|
|
12
13
|
className?: string;
|
|
14
|
+
variant?: VariantType;
|
|
13
15
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { ListState, Node } from 'react-stately';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
import { ListBoxSelectionType } from '../ListBox';
|
|
3
|
+
import { ListBoxSelectionType, VariantType } from '../ListBox';
|
|
4
4
|
import { IconProps } from '../../types';
|
|
5
5
|
export type ListOptionsProps = {
|
|
6
6
|
item: Node<unknown>;
|
|
@@ -12,6 +12,7 @@ export type ListOptionsProps = {
|
|
|
12
12
|
type?: `${ListBoxSelectionType}`;
|
|
13
13
|
selectionPosition?: 'start' | 'end';
|
|
14
14
|
enableSelection?: boolean;
|
|
15
|
+
variant?: VariantType;
|
|
15
16
|
};
|
|
16
17
|
export type ListBoxItemProps = {
|
|
17
18
|
icon?: React.ReactNode;
|
|
@@ -23,5 +24,6 @@ export type ListBoxItemProps = {
|
|
|
23
24
|
className?: string;
|
|
24
25
|
customContent?: boolean;
|
|
25
26
|
onClick?: HTMLIonItemElement['onclick'];
|
|
27
|
+
variant?: VariantType;
|
|
26
28
|
};
|
|
27
29
|
export type { Selection } from 'react-stately';
|
|
@@ -1,12 +1,4 @@
|
|
|
1
1
|
import React from 'react';
|
|
2
2
|
import { SolidInputProps } from './types';
|
|
3
|
-
export declare const StyledIonItem: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<Pick<import("@ionic/core/dist/types/components").JSX.IonItem, "button" | "type" | "disabled" | "rel" | "color" | "download" | "href" | "target" | "mode" | "fill" | "lines" | "routerAnimation" | "shape" | "counter" | "counterFormatter" | "detail" | "detailIcon"> & {
|
|
4
|
-
routerLink?: string | undefined;
|
|
5
|
-
routerDirection?: "none" | "root" | "forward" | "back" | undefined;
|
|
6
|
-
routerOptions?: import("@ionic/react").RouterOptions | undefined;
|
|
7
|
-
routerAnimation?: import("@ionic/react").AnimationBuilder | undefined;
|
|
8
|
-
} & Pick<React.HTMLAttributes<HTMLIonItemElement>, "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "children" | "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"> & import("@ionic/react/dist/types/components/IonicReactProps").IonicReactProps & React.RefAttributes<HTMLIonItemElement>>, any, {}, never>;
|
|
9
|
-
export declare const StyledIonInput: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("@ionic/core/dist/types/components").JSX.IonInput & Pick<React.HTMLAttributes<HTMLIonInputElement>, "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "children" | "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"> & import("@ionic/react/dist/types/components/react-component-lib/interfaces").StyleReactProps & React.RefAttributes<HTMLIonInputElement>>, any, {}, never>;
|
|
10
|
-
export declare const StyledIonLabel: import("styled-components").StyledComponent<React.ForwardRefExoticComponent<import("@ionic/core/dist/types/components").JSX.IonLabel & Pick<React.HTMLAttributes<HTMLIonLabelElement>, "slot" | "title" | "defaultChecked" | "defaultValue" | "suppressContentEditableWarning" | "suppressHydrationWarning" | "accessKey" | "className" | "contentEditable" | "contextMenu" | "dir" | "draggable" | "hidden" | "id" | "lang" | "placeholder" | "spellCheck" | "tabIndex" | "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" | "children" | "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"> & import("@ionic/react/dist/types/components/react-component-lib/interfaces").StyleReactProps & React.RefAttributes<HTMLIonLabelElement>>, any, {}, never>;
|
|
11
3
|
declare const SolidInput: React.FC<SolidInputProps>;
|
|
12
4
|
export default SolidInput;
|
|
@@ -1,5 +1,4 @@
|
|
|
1
|
-
import { TextFieldTypes } from '@ionic/core';
|
|
2
|
-
import { FormEventHandler } from 'react';
|
|
1
|
+
import { InputChangeEventDetail, IonInputCustomEvent, TextFieldTypes } from '@ionic/core';
|
|
3
2
|
export type SolidInputProps = {
|
|
4
3
|
placeholder: string;
|
|
5
4
|
value?: string;
|
|
@@ -8,5 +7,8 @@ export type SolidInputProps = {
|
|
|
8
7
|
itemClassName?: string;
|
|
9
8
|
inputClassName?: string;
|
|
10
9
|
labelClassName?: string;
|
|
11
|
-
|
|
10
|
+
errorText?: string;
|
|
11
|
+
isInvalid?: boolean;
|
|
12
|
+
showTogglePassword?: boolean;
|
|
13
|
+
onChange?: (event: IonInputCustomEvent<InputChangeEventDetail>) => void;
|
|
12
14
|
};
|