@mindly/ui-components 3.40.1 → 3.41.1

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.
@@ -1,5 +1,4 @@
1
1
  import React from 'react';
2
- import { IntlShape } from 'react-intl';
3
2
  type SpecialistCardProps = {
4
3
  fullName?: string;
5
4
  specialization?: string;
@@ -21,7 +20,16 @@ type SpecialistCardProps = {
21
20
  onCardClickHandler?: () => void;
22
21
  loading?: boolean;
23
22
  countryCode?: string;
24
- intl: IntlShape;
23
+ translations: {
24
+ name: string;
25
+ year: string[];
26
+ experiences: string;
27
+ hour: string[];
28
+ practice: string;
29
+ session: string;
30
+ clients: string[];
31
+ sessions: string[];
32
+ };
25
33
  };
26
34
  declare const SpecialistCard: React.FC<SpecialistCardProps>;
27
35
  export default SpecialistCard;
package/dist/index.d.ts CHANGED
@@ -2,7 +2,6 @@
2
2
  import React, { ReactNode, CSSProperties, HTMLAttributes, RefAttributes, FC, ReactText, ReactElement, ChangeEvent } from 'react';
3
3
  import { JSX as JSX$1 } from '@ionic/core/components';
4
4
  import { ILocalVideoTrack, IRemoteVideoTrack, ILocalAudioTrack, IRemoteAudioTrack } from 'agora-rtc-sdk-ng';
5
- import { IntlShape } from 'react-intl';
6
5
 
7
6
  interface ButtonProps$1 {
8
7
  buttonType: 'primary' | 'secondary' | 'actionButton' | 'actionButtonDisabled' | 'secondaryWithStroke' | 'secondaryCancel' | 'actionButtonActive' | 'actionButtonGreen';
@@ -894,7 +893,16 @@ type SpecialistCardProps = {
894
893
  onCardClickHandler?: () => void;
895
894
  loading?: boolean;
896
895
  countryCode?: string;
897
- intl: IntlShape;
896
+ translations: {
897
+ name: string;
898
+ year: string[];
899
+ experiences: string;
900
+ hour: string[];
901
+ practice: string;
902
+ session: string;
903
+ clients: string[];
904
+ sessions: string[];
905
+ };
898
906
  };
899
907
  declare const SpecialistCard: React.FC<SpecialistCardProps>;
900
908
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mindly/ui-components",
3
- "version": "3.40.1",
3
+ "version": "3.41.1",
4
4
  "private": false,
5
5
  "scripts": {
6
6
  "start": "react-scripts start",
@@ -40,7 +40,6 @@
40
40
  "react-countdown": "^2.3.2",
41
41
  "react-day-picker": "^8.0.5",
42
42
  "react-dom": "^17.0.2",
43
- "react-intl": "^6.2.5",
44
43
  "react-refresh": "^0.9.0",
45
44
  "react-scripts": "4.0.3",
46
45
  "styled-components": "^5.3.1",