@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.
Files changed (30) hide show
  1. package/dist/cjs/index.js +5 -5
  2. package/dist/cjs/lib2/features/PushNotificationsModal/PushNotificationsModal.d.ts +2 -0
  3. package/dist/cjs/lib2/features/PushNotificationsModal/index.d.ts +1 -0
  4. package/dist/cjs/lib2/features/PushNotificationsModal/types.d.ts +10 -0
  5. package/dist/cjs/lib2/features/index.d.ts +1 -0
  6. package/dist/cjs/lib2/shared/assets/icons/IconChat3d.d.ts +2 -0
  7. package/dist/cjs/lib2/shared/assets/icons/IconEye.d.ts +3 -0
  8. package/dist/cjs/lib2/shared/assets/icons/IconEyeOff.d.ts +3 -0
  9. package/dist/cjs/lib2/shared/assets/icons/index.d.ts +3 -0
  10. package/dist/cjs/lib2/shared/ui/ModalSheet/ModalSheet.d.ts +8 -0
  11. package/dist/cjs/lib2/shared/ui/ModalSheet/index.d.ts +1 -0
  12. package/dist/cjs/lib2/shared/ui/ModalSheet/types.d.ts +6 -0
  13. package/dist/cjs/lib2/shared/ui/ScreenInput/ScreenInput.d.ts +1 -0
  14. package/dist/cjs/lib2/shared/ui/index.d.ts +1 -0
  15. package/dist/esm/index.js +5 -5
  16. package/dist/esm/lib2/features/PushNotificationsModal/PushNotificationsModal.d.ts +2 -0
  17. package/dist/esm/lib2/features/PushNotificationsModal/index.d.ts +1 -0
  18. package/dist/esm/lib2/features/PushNotificationsModal/types.d.ts +10 -0
  19. package/dist/esm/lib2/features/index.d.ts +1 -0
  20. package/dist/esm/lib2/shared/assets/icons/IconChat3d.d.ts +2 -0
  21. package/dist/esm/lib2/shared/assets/icons/IconEye.d.ts +3 -0
  22. package/dist/esm/lib2/shared/assets/icons/IconEyeOff.d.ts +3 -0
  23. package/dist/esm/lib2/shared/assets/icons/index.d.ts +3 -0
  24. package/dist/esm/lib2/shared/ui/ModalSheet/ModalSheet.d.ts +8 -0
  25. package/dist/esm/lib2/shared/ui/ModalSheet/index.d.ts +1 -0
  26. package/dist/esm/lib2/shared/ui/ModalSheet/types.d.ts +6 -0
  27. package/dist/esm/lib2/shared/ui/ScreenInput/ScreenInput.d.ts +1 -0
  28. package/dist/esm/lib2/shared/ui/index.d.ts +1 -0
  29. package/dist/index.d.ts +29 -2
  30. 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
+ };
@@ -2,3 +2,4 @@ export * from './CountryOfOriginModal';
2
2
  export * from './ChangeLanguageModal';
3
3
  export * from './CardModal';
4
4
  export * from './SlotsGrid';
5
+ export * from './PushNotificationsModal';
@@ -0,0 +1,2 @@
1
+ import { SVGProps } from 'react';
2
+ export declare const IconChat3d: (props: SVGProps<SVGSVGElement>) => JSX.Element;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { FC } from 'react';
3
+ export declare const IconEye: FC<React.SVGAttributes<SVGElement>>;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { FC } from 'react';
3
+ export declare const IconEyeOff: FC<React.SVGAttributes<SVGElement>>;
@@ -30,3 +30,6 @@ export * from './IconApple';
30
30
  export * from './IconGoogle';
31
31
  export * from './IconLetter';
32
32
  export * from './IconSpinner';
33
+ export * from './IconEye';
34
+ export * from './IconEyeOff';
35
+ export * from './IconChat3d';
@@ -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';
@@ -0,0 +1,6 @@
1
+ import * as React from 'react';
2
+ import { JSX } from '@ionic/core/components';
3
+ export type ModalSheetProps = React.PropsWithChildren<JSX.IonModal> & {
4
+ heightInPx?: number;
5
+ className?: string;
6
+ };
@@ -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>>;
@@ -17,3 +17,4 @@ export * from './IconButton';
17
17
  export * from './Toast';
18
18
  export * from './ScreenInput';
19
19
  export * from './Spinner_v2';
20
+ export * from './ModalSheet';