@mindly/ui-components 5.6.0 → 5.7.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/index.d.ts +1 -0
  8. package/dist/cjs/lib2/shared/ui/ModalSheet/ModalSheet.d.ts +8 -0
  9. package/dist/cjs/lib2/shared/ui/ModalSheet/index.d.ts +1 -0
  10. package/dist/cjs/lib2/shared/ui/ModalSheet/types.d.ts +6 -0
  11. package/dist/cjs/lib2/shared/ui/{Spinner/Spinner.d.ts → Spinner_v2/Spinner_v2.d.ts} +2 -2
  12. package/dist/cjs/lib2/shared/ui/Spinner_v2/index.d.ts +1 -0
  13. package/dist/cjs/lib2/shared/ui/index.d.ts +2 -1
  14. package/dist/esm/index.js +5 -5
  15. package/dist/esm/lib2/features/PushNotificationsModal/PushNotificationsModal.d.ts +2 -0
  16. package/dist/esm/lib2/features/PushNotificationsModal/index.d.ts +1 -0
  17. package/dist/esm/lib2/features/PushNotificationsModal/types.d.ts +10 -0
  18. package/dist/esm/lib2/features/index.d.ts +1 -0
  19. package/dist/esm/lib2/shared/assets/icons/IconChat3d.d.ts +2 -0
  20. package/dist/esm/lib2/shared/assets/icons/index.d.ts +1 -0
  21. package/dist/esm/lib2/shared/ui/ModalSheet/ModalSheet.d.ts +8 -0
  22. package/dist/esm/lib2/shared/ui/ModalSheet/index.d.ts +1 -0
  23. package/dist/esm/lib2/shared/ui/ModalSheet/types.d.ts +6 -0
  24. package/dist/esm/lib2/shared/ui/{Spinner/Spinner.d.ts → Spinner_v2/Spinner_v2.d.ts} +2 -2
  25. package/dist/esm/lib2/shared/ui/Spinner_v2/index.d.ts +1 -0
  26. package/dist/esm/lib2/shared/ui/index.d.ts +2 -1
  27. package/dist/index.d.ts +29 -2
  28. package/package.json +1 -1
  29. package/dist/cjs/lib2/shared/ui/Spinner/index.d.ts +0 -1
  30. package/dist/esm/lib2/shared/ui/Spinner/index.d.ts +0 -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;
@@ -30,3 +30,4 @@ export * from './IconApple';
30
30
  export * from './IconGoogle';
31
31
  export * from './IconLetter';
32
32
  export * from './IconSpinner';
33
+ 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,5 +2,5 @@ import { FC } from 'react';
2
2
  type SpinnerProps = {
3
3
  size?: number;
4
4
  };
5
- declare const Spinner: FC<SpinnerProps>;
6
- export default Spinner;
5
+ declare const Spinner_v2: FC<SpinnerProps>;
6
+ export default Spinner_v2;
@@ -0,0 +1 @@
1
+ export { default as Spinner_v2 } from './Spinner_v2';
@@ -16,4 +16,5 @@ export * from './Rating';
16
16
  export * from './IconButton';
17
17
  export * from './Toast';
18
18
  export * from './ScreenInput';
19
- export * from './Spinner';
19
+ export * from './Spinner_v2';
20
+ export * from './ModalSheet';