@mindly/ui-components 7.5.1 → 7.5.3

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 (48) hide show
  1. package/dist/cjs/configs/tailwind/colors.d.ts +1 -0
  2. package/dist/cjs/index.js +7 -7
  3. package/dist/cjs/lib2/features/Charts/ChartAreaFeature/components/YouAreHereCustomizedLabel.d.ts +3 -0
  4. package/dist/cjs/lib2/features/Charts/ChartAreaFeature/components/assets/YouAreHereEnIcon.d.ts +1 -0
  5. package/dist/cjs/lib2/features/Charts/ChartAreaFeature/components/assets/YouAreHereEsIcon.d.ts +1 -0
  6. package/dist/cjs/lib2/features/Charts/ChartAreaFeature/components/assets/YouAreHerePlIcon.d.ts +1 -0
  7. package/dist/cjs/lib2/features/Charts/ChartAreaFeature/components/assets/YouAreHereUkIcon.d.ts +1 -0
  8. package/dist/cjs/lib2/features/Charts/ChartAreaFeature/constants.d.ts +1 -0
  9. package/dist/cjs/lib2/features/Charts/components/DotLabel.d.ts +4 -0
  10. package/dist/cjs/lib2/features/Charts/types.d.ts +18 -1
  11. package/dist/cjs/lib2/features/SpecialistShortInfoItemFeature/SpecialistShortInfoItemFeature.d.ts +0 -1
  12. package/dist/cjs/lib2/features/index.d.ts +1 -0
  13. package/dist/cjs/lib2/shared/assets/icons/IconAddCalendar.d.ts +3 -0
  14. package/dist/cjs/lib2/shared/assets/icons/IconBlock.d.ts +3 -0
  15. package/dist/cjs/lib2/shared/assets/icons/IconCreditScore.d.ts +3 -0
  16. package/dist/cjs/lib2/shared/assets/icons/index.d.ts +3 -0
  17. package/dist/cjs/lib2/shared/ui/Slider/Slider.d.ts +3 -0
  18. package/dist/cjs/lib2/shared/ui/Slider/index.d.ts +1 -0
  19. package/dist/cjs/lib2/shared/ui/Slider/types.d.ts +6 -0
  20. package/dist/cjs/lib2/shared/ui/index.d.ts +1 -0
  21. package/dist/cjs/lib2/widgets/SpecialistDetailWidget/types.d.ts +0 -1
  22. package/dist/cjs/lib2/widgets/SpecialistDetailWithTabsWidget/types.d.ts +0 -1
  23. package/dist/esm/configs/tailwind/colors.d.ts +1 -0
  24. package/dist/esm/index.js +8 -8
  25. package/dist/esm/lib2/features/Charts/ChartAreaFeature/components/YouAreHereCustomizedLabel.d.ts +3 -0
  26. package/dist/esm/lib2/features/Charts/ChartAreaFeature/components/assets/YouAreHereEnIcon.d.ts +1 -0
  27. package/dist/esm/lib2/features/Charts/ChartAreaFeature/components/assets/YouAreHereEsIcon.d.ts +1 -0
  28. package/dist/esm/lib2/features/Charts/ChartAreaFeature/components/assets/YouAreHerePlIcon.d.ts +1 -0
  29. package/dist/esm/lib2/features/Charts/ChartAreaFeature/components/assets/YouAreHereUkIcon.d.ts +1 -0
  30. package/dist/esm/lib2/features/Charts/ChartAreaFeature/constants.d.ts +1 -0
  31. package/dist/esm/lib2/features/Charts/components/DotLabel.d.ts +4 -0
  32. package/dist/esm/lib2/features/Charts/types.d.ts +18 -1
  33. package/dist/esm/lib2/features/SpecialistShortInfoItemFeature/SpecialistShortInfoItemFeature.d.ts +0 -1
  34. package/dist/esm/lib2/features/index.d.ts +1 -0
  35. package/dist/esm/lib2/shared/assets/icons/IconAddCalendar.d.ts +3 -0
  36. package/dist/esm/lib2/shared/assets/icons/IconBlock.d.ts +3 -0
  37. package/dist/esm/lib2/shared/assets/icons/IconCreditScore.d.ts +3 -0
  38. package/dist/esm/lib2/shared/assets/icons/index.d.ts +3 -0
  39. package/dist/esm/lib2/shared/ui/Slider/Slider.d.ts +3 -0
  40. package/dist/esm/lib2/shared/ui/Slider/index.d.ts +1 -0
  41. package/dist/esm/lib2/shared/ui/Slider/types.d.ts +6 -0
  42. package/dist/esm/lib2/shared/ui/index.d.ts +1 -0
  43. package/dist/esm/lib2/widgets/SpecialistDetailWidget/types.d.ts +0 -1
  44. package/dist/esm/lib2/widgets/SpecialistDetailWithTabsWidget/types.d.ts +0 -1
  45. package/dist/index.d.ts +42 -6
  46. package/package.json +1 -1
  47. package/src/configs/tailwind/colors.ts +2 -0
  48. package/src/lib2/shared/css/tailwind.css +1 -0
@@ -0,0 +1,3 @@
1
+ import React from 'react';
2
+ declare const _default: React.MemoExoticComponent<(props: any) => import("react/jsx-runtime").JSX.Element | null>;
3
+ export default _default;
@@ -0,0 +1 @@
1
+ export declare const YouAreHereEnIcon: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const YouAreHereEsIcon: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const YouAreHerePlIcon: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const YouAreHereUkIcon: () => import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const X_AXIS_BAR_HEIGHT = 40;
@@ -1,5 +1,6 @@
1
1
  import { FC } from 'react';
2
2
  import { OnBoardingThemeV2Type, OnboardingVariant } from '../../../shared';
3
+ import { TypographyVariantsEnum } from '../../../shared/ui/Typography/types';
3
4
  type DotLabelProps = {
4
5
  label: string;
5
6
  x: number;
@@ -14,6 +15,9 @@ type DotLabelProps = {
14
15
  fillColor?: string;
15
16
  placement?: 'top' | 'inner';
16
17
  chartLabelsId: string;
18
+ labelTypographyVariant?: TypographyVariantsEnum;
19
+ labelClassName?: string;
20
+ isOnlyTopPlacement?: boolean;
17
21
  };
18
22
  declare const DotLabel: FC<DotLabelProps>;
19
23
  export default DotLabel;
@@ -1,3 +1,5 @@
1
+ import { SupportedLocales } from '../../shared';
2
+ import { TypographyVariantsEnum } from '../../shared/ui/Typography/types';
1
3
  export type ChartType = 'area' | 'lines';
2
4
  export type ChartData<T = ChartType> = T extends 'area' ? {
3
5
  chartType: 'area';
@@ -11,11 +13,26 @@ export type ChartData<T = ChartType> = T extends 'area' ? {
11
13
  strokeColor?: string;
12
14
  fillColor?: string;
13
15
  data: {
14
- label: string;
16
+ label?: string;
15
17
  tooltip?: string;
16
18
  dotBorderColor?: string;
19
+ dotBorderRadius?: number;
17
20
  value: number;
21
+ template?: 'dashed';
18
22
  }[];
23
+ lineType?: 'bump' | 'monotone';
24
+ strokeDasharray?: string;
25
+ strokeLinecap?: 'square' | 'inherit' | 'round' | 'butt';
26
+ showHorizontalGrid?: boolean;
27
+ labelFillColor?: string;
28
+ labelTypographyVariant?: TypographyVariantsEnum;
29
+ xAxisLabelClassName?: string;
30
+ labelClassName?: string;
31
+ yAxisDomain?: string[];
32
+ isOnlyTopPlacement?: boolean;
33
+ showCustomizedLabel?: boolean;
34
+ isAnimationActive?: boolean;
35
+ locale?: SupportedLocales;
19
36
  } : {
20
37
  chartType: 'lines';
21
38
  strokeWidth?: number;
@@ -15,7 +15,6 @@ export type SpecialistShortInfoItemFeatureProps = {
15
15
  reviews?: number;
16
16
  rating?: number;
17
17
  isSpecialistUnAvailable?: boolean;
18
- isAuth?: boolean;
19
18
  variantFullName?: TypographyVariantsEnum;
20
19
  isFavourite?: boolean;
21
20
  video_link?: string;
@@ -54,3 +54,4 @@ export * from './SelectionListFeature';
54
54
  export * from './CoupleTherapySheetModalFeature';
55
55
  export * from './PromptCardsFeature';
56
56
  export * from './ExploreCardSwiperFeature';
57
+ export * from './Charts';
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { IconProps } from '../../types/iconProps';
3
+ export declare const IconAddCalendar: React.FC<IconProps>;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { IconProps } from '../../types';
3
+ export declare const IconBlock: React.FC<IconProps>;
@@ -0,0 +1,3 @@
1
+ import * as React from 'react';
2
+ import { IconProps } from '../../types/iconProps';
3
+ export declare const IconCreditScore: React.FC<IconProps>;
@@ -147,3 +147,6 @@ export * from './IconDivercity';
147
147
  export * from './IconCouple';
148
148
  export * from './IconReschedule';
149
149
  export * from './IconSparklingStars';
150
+ export * from './IconCreditScore';
151
+ export * from './IconAddCalendar';
152
+ export * from './IconBlock';
@@ -0,0 +1,3 @@
1
+ import { SliderProps } from './types';
2
+ declare const Slider: ({ children, ...props }: SliderProps) => import("react/jsx-runtime").JSX.Element;
3
+ export default Slider;
@@ -0,0 +1 @@
1
+ export { default as Slider } from './Slider';
@@ -0,0 +1,6 @@
1
+ /// <reference types="react" />
2
+ import { Settings as SliderSettings } from 'react-slick';
3
+ export type SliderProps = {
4
+ children: React.ReactNode;
5
+ settings?: SliderSettings;
6
+ };
@@ -50,3 +50,4 @@ export * from './Counter';
50
50
  export * from './PromptCard';
51
51
  export * from './ExploreCard';
52
52
  export * from './ProgressCard';
53
+ export * from './Slider';
@@ -8,7 +8,6 @@ export type SpecialistDetailWidgetProps = {
8
8
  specialist: Specialist;
9
9
  reviews?: SpecialistReview[];
10
10
  country: string;
11
- isAuth?: boolean;
12
11
  isSpecialistUnAvailable?: boolean;
13
12
  onLoadMoreReviews?(): void;
14
13
  currentUser?: UserType;
@@ -8,7 +8,6 @@ export type SpecialistDetailWithTabsWidgetProps = {
8
8
  specialist: Specialist;
9
9
  reviews?: SpecialistReview[];
10
10
  country: string;
11
- isAuth?: boolean;
12
11
  isSpecialistUnAvailable?: boolean;
13
12
  onLoadMoreReviews?(): void;
14
13
  currentUser?: UserType;
@@ -41,6 +41,7 @@ declare const _default: {
41
41
  black: string;
42
42
  brand: {
43
43
  client: {
44
+ celestialBlueLight: string;
44
45
  celestialBlueSuperLight: string;
45
46
  celestialBlue: string;
46
47
  celestialBlueDarker: string;