@mindly/ui-components 5.6.1 → 5.8.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/index.js +5 -5
- package/dist/cjs/lib2/features/PushNotificationsModal/PushNotificationsModal.d.ts +2 -0
- package/dist/cjs/lib2/features/PushNotificationsModal/index.d.ts +1 -0
- package/dist/cjs/lib2/features/PushNotificationsModal/types.d.ts +10 -0
- package/dist/cjs/lib2/features/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/assets/icons/IconChat3d.d.ts +2 -0
- package/dist/cjs/lib2/shared/assets/icons/IconEye.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconEyeOff.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/index.d.ts +3 -0
- package/dist/cjs/lib2/shared/ui/ModalSheet/ModalSheet.d.ts +8 -0
- package/dist/cjs/lib2/shared/ui/ModalSheet/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/ModalSheet/types.d.ts +6 -0
- package/dist/cjs/lib2/shared/ui/ScreenInput/ScreenInput.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/index.d.ts +1 -0
- package/dist/esm/index.js +5 -5
- package/dist/esm/lib2/features/PushNotificationsModal/PushNotificationsModal.d.ts +2 -0
- package/dist/esm/lib2/features/PushNotificationsModal/index.d.ts +1 -0
- package/dist/esm/lib2/features/PushNotificationsModal/types.d.ts +10 -0
- package/dist/esm/lib2/features/index.d.ts +1 -0
- package/dist/esm/lib2/shared/assets/icons/IconChat3d.d.ts +2 -0
- package/dist/esm/lib2/shared/assets/icons/IconEye.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconEyeOff.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/index.d.ts +3 -0
- package/dist/esm/lib2/shared/ui/ModalSheet/ModalSheet.d.ts +8 -0
- package/dist/esm/lib2/shared/ui/ModalSheet/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/ModalSheet/types.d.ts +6 -0
- package/dist/esm/lib2/shared/ui/ScreenInput/ScreenInput.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/index.d.ts +1 -0
- package/dist/index.d.ts +29 -2
- package/package.json +1 -1
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
import { PushNotificationsModalProps } from './types';
|
|
2
|
+
export declare function PushNotificationsModal({ onApplyPermission, onDismissPermission, isOpen, title, description, heightInPx, applyPermissionText, dismissPermissionText, ...props }: PushNotificationsModalProps): JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export * from './PushNotificationsModal';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { JSX as IonicJSX } from '@ionic/core/components';
|
|
2
|
+
export type PushNotificationsModalProps = IonicJSX.IonModal & {
|
|
3
|
+
onApplyPermission: () => void;
|
|
4
|
+
onDismissPermission: () => void;
|
|
5
|
+
title: string;
|
|
6
|
+
applyPermissionText: string;
|
|
7
|
+
dismissPermissionText: string;
|
|
8
|
+
description: string;
|
|
9
|
+
heightInPx?: number;
|
|
10
|
+
};
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import * as React from 'react';
|
|
2
|
+
declare const ModalSheet: React.ForwardRefExoticComponent<import("@ionic/core/dist/types/components").JSX.IonModal & {
|
|
3
|
+
children?: React.ReactNode;
|
|
4
|
+
} & {
|
|
5
|
+
heightInPx?: number | undefined;
|
|
6
|
+
className?: string | undefined;
|
|
7
|
+
} & React.RefAttributes<HTMLIonModalElement>>;
|
|
8
|
+
export default ModalSheet;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as ModalSheet } from './ModalSheet';
|
|
@@ -2,6 +2,7 @@ import React, { InputHTMLAttributes } from 'react';
|
|
|
2
2
|
interface ScreenInputProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
3
3
|
variant?: 'default' | 'large';
|
|
4
4
|
type?: 'text' | 'email' | 'password' | 'number';
|
|
5
|
+
showPasswordButton?: boolean;
|
|
5
6
|
className?: string;
|
|
6
7
|
}
|
|
7
8
|
declare const ScreenInput: React.ForwardRefExoticComponent<ScreenInputProps & React.RefAttributes<HTMLInputElement>>;
|