@mindly/ui-components 8.2.41 → 8.2.43
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/index.js +5 -5
- package/dist/cjs/lib2/features/ExploreCardSwiperFeature/types.d.ts +2 -0
- package/dist/cjs/lib2/shared/assets/icons/IconKeyboard.d.ts +4 -0
- package/dist/cjs/lib2/shared/assets/icons/IconMicrophone.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconVoiceMode.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/index.d.ts +2 -0
- package/dist/cjs/lib2/shared/ui/Button_v2/types.d.ts +4 -2
- package/dist/cjs/lib2/shared/ui/ExploreCard/styles.d.ts +1 -1
- package/dist/cjs/lib2/shared/ui/ExploreCard/types.d.ts +2 -0
- package/dist/cjs/lib2/shared/ui/ProgressCard/types.d.ts +2 -0
- package/dist/cjs/lib2/shared/ui/SolidInput/SolidInput.d.ts +4 -0
- package/dist/cjs/lib2/shared/ui/SolidInput/SolidInput.stories.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/SolidInput/types.d.ts +8 -0
- package/dist/esm/index.js +5 -5
- package/dist/esm/lib2/features/ExploreCardSwiperFeature/types.d.ts +2 -0
- package/dist/esm/lib2/shared/assets/icons/IconKeyboard.d.ts +4 -0
- package/dist/esm/lib2/shared/assets/icons/IconMicrophone.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconVoiceMode.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/index.d.ts +2 -0
- package/dist/esm/lib2/shared/ui/Button_v2/types.d.ts +4 -2
- package/dist/esm/lib2/shared/ui/ExploreCard/styles.d.ts +1 -1
- package/dist/esm/lib2/shared/ui/ExploreCard/types.d.ts +2 -0
- package/dist/esm/lib2/shared/ui/ProgressCard/types.d.ts +2 -0
- package/dist/esm/lib2/shared/ui/SolidInput/SolidInput.d.ts +4 -0
- package/dist/esm/lib2/shared/ui/SolidInput/SolidInput.stories.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/SolidInput/types.d.ts +8 -0
- package/dist/index.d.ts +18 -3
- package/package.json +1 -1
|
@@ -14,6 +14,8 @@ export type ExploreCardSwiperFeatureProps = React.RefAttributes<SwiperRef> & Swi
|
|
|
14
14
|
cards?: ExploreCardData[];
|
|
15
15
|
className?: string;
|
|
16
16
|
onInputClicked: (cardId?: string) => void;
|
|
17
|
+
onMicrophoneClick?: (cardId?: string) => void;
|
|
18
|
+
onVoiceButtonClick?: (cardId?: string) => void;
|
|
17
19
|
isLoading?: boolean;
|
|
18
20
|
slidesToShow?: number;
|
|
19
21
|
progressImage: string;
|
|
@@ -1,5 +1,6 @@
|
|
|
1
1
|
import { JSX } from '@ionic/core/components';
|
|
2
2
|
import { CSSVarStyles } from '../../types';
|
|
3
|
+
import { HTMLAttributes } from 'react';
|
|
3
4
|
export type ButtonProps = {
|
|
4
5
|
fill?: 'outline' | 'clear';
|
|
5
6
|
size?: 'default' | 'large' | 'small';
|
|
@@ -15,5 +16,6 @@ export type ButtonProps = {
|
|
|
15
16
|
iconPosition?: 'start' | 'center';
|
|
16
17
|
style?: CSSVarStyles;
|
|
17
18
|
id?: string;
|
|
18
|
-
variant?: 'default' | 'blue' | 'custom';
|
|
19
|
-
|
|
19
|
+
variant?: 'default' | 'blue' | 'custom' | 'round';
|
|
20
|
+
slot?: string;
|
|
21
|
+
} & JSX.IonButton & HTMLAttributes<HTMLIonButtonElement>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
export declare const exploreCardStyles: import("tailwind-variants").TVReturnType<{}, undefined, "bg-color-background-anti-flash-light rounded-[20px]
|
|
1
|
+
export declare const exploreCardStyles: import("tailwind-variants").TVReturnType<{}, undefined, "bg-color-background-anti-flash-light rounded-[20px] px-6 py-7 flex flex-col items-start justify-between w-full h-[520px]", {}, undefined, import("tailwind-variants").TVReturnType<{}, undefined, "bg-color-background-anti-flash-light rounded-[20px] px-6 py-7 flex flex-col items-start justify-between w-full h-[520px]", unknown, unknown, undefined>>;
|
|
@@ -11,9 +11,13 @@ declare const SolidInput: React.ForwardRefExoticComponent<Partial<import("@ionic
|
|
|
11
11
|
showTogglePassword?: boolean;
|
|
12
12
|
showButton?: boolean;
|
|
13
13
|
onButtonClick?: () => void;
|
|
14
|
+
onVoiceButtonClick?: () => void;
|
|
15
|
+
onMicrophoneClick?: () => void;
|
|
14
16
|
onChange?: (event: import("@ionic/core").IonInputCustomEvent<import("@ionic/react").InputChangeEventDetail>) => void;
|
|
15
17
|
onKeyDown?: React.KeyboardEventHandler;
|
|
18
|
+
onPointerDown?: (event: React.PointerEvent<HTMLIonInputElement>) => void;
|
|
16
19
|
readonly?: boolean;
|
|
17
20
|
onClick?: () => void;
|
|
21
|
+
variant?: "default" | "voice";
|
|
18
22
|
} & React.RefAttributes<HTMLIonInputElement>>;
|
|
19
23
|
export default SolidInput;
|
|
@@ -13,8 +13,16 @@ export type SolidInputProps = Partial<Components.IonInput> & {
|
|
|
13
13
|
showButton?: boolean;
|
|
14
14
|
/** Callback function called when the button is clicked */
|
|
15
15
|
onButtonClick?: () => void;
|
|
16
|
+
onVoiceButtonClick?: () => void;
|
|
17
|
+
onMicrophoneClick?: () => void;
|
|
16
18
|
onChange?: (event: IonInputCustomEvent<InputChangeEventDetail>) => void;
|
|
17
19
|
onKeyDown?: KeyboardEventHandler;
|
|
20
|
+
onPointerDown?: (event: React.PointerEvent<HTMLIonInputElement>) => void;
|
|
18
21
|
readonly?: boolean;
|
|
22
|
+
/**
|
|
23
|
+
* Golden rule: Never use onClick for input.
|
|
24
|
+
* @deprecated
|
|
25
|
+
*/
|
|
19
26
|
onClick?: () => void;
|
|
27
|
+
variant?: 'default' | 'voice';
|
|
20
28
|
};
|