@mindly/ui-components 7.5.2 → 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.
- package/dist/cjs/configs/tailwind/colors.d.ts +1 -0
- package/dist/cjs/index.js +7 -7
- package/dist/cjs/lib2/features/Charts/ChartAreaFeature/components/YouAreHereCustomizedLabel.d.ts +3 -0
- package/dist/cjs/lib2/features/Charts/ChartAreaFeature/components/assets/YouAreHereEnIcon.d.ts +1 -0
- package/dist/cjs/lib2/features/Charts/ChartAreaFeature/components/assets/YouAreHereEsIcon.d.ts +1 -0
- package/dist/cjs/lib2/features/Charts/ChartAreaFeature/components/assets/YouAreHerePlIcon.d.ts +1 -0
- package/dist/cjs/lib2/features/Charts/ChartAreaFeature/components/assets/YouAreHereUkIcon.d.ts +1 -0
- package/dist/cjs/lib2/features/Charts/ChartAreaFeature/constants.d.ts +1 -0
- package/dist/cjs/lib2/features/Charts/components/DotLabel.d.ts +4 -0
- package/dist/cjs/lib2/features/Charts/types.d.ts +18 -1
- package/dist/cjs/lib2/features/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/assets/icons/IconAddCalendar.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconBlock.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/IconCreditScore.d.ts +3 -0
- package/dist/cjs/lib2/shared/assets/icons/index.d.ts +3 -0
- package/dist/cjs/lib2/shared/ui/Slider/Slider.d.ts +3 -0
- package/dist/cjs/lib2/shared/ui/Slider/index.d.ts +1 -0
- package/dist/cjs/lib2/shared/ui/Slider/types.d.ts +6 -0
- package/dist/cjs/lib2/shared/ui/index.d.ts +1 -0
- package/dist/esm/configs/tailwind/colors.d.ts +1 -0
- package/dist/esm/index.js +8 -8
- package/dist/esm/lib2/features/Charts/ChartAreaFeature/components/YouAreHereCustomizedLabel.d.ts +3 -0
- package/dist/esm/lib2/features/Charts/ChartAreaFeature/components/assets/YouAreHereEnIcon.d.ts +1 -0
- package/dist/esm/lib2/features/Charts/ChartAreaFeature/components/assets/YouAreHereEsIcon.d.ts +1 -0
- package/dist/esm/lib2/features/Charts/ChartAreaFeature/components/assets/YouAreHerePlIcon.d.ts +1 -0
- package/dist/esm/lib2/features/Charts/ChartAreaFeature/components/assets/YouAreHereUkIcon.d.ts +1 -0
- package/dist/esm/lib2/features/Charts/ChartAreaFeature/constants.d.ts +1 -0
- package/dist/esm/lib2/features/Charts/components/DotLabel.d.ts +4 -0
- package/dist/esm/lib2/features/Charts/types.d.ts +18 -1
- package/dist/esm/lib2/features/index.d.ts +1 -0
- package/dist/esm/lib2/shared/assets/icons/IconAddCalendar.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconBlock.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/IconCreditScore.d.ts +3 -0
- package/dist/esm/lib2/shared/assets/icons/index.d.ts +3 -0
- package/dist/esm/lib2/shared/ui/Slider/Slider.d.ts +3 -0
- package/dist/esm/lib2/shared/ui/Slider/index.d.ts +1 -0
- package/dist/esm/lib2/shared/ui/Slider/types.d.ts +6 -0
- package/dist/esm/lib2/shared/ui/index.d.ts +1 -0
- package/dist/index.d.ts +42 -3
- package/package.json +1 -1
- package/src/configs/tailwind/colors.ts +2 -0
- package/src/lib2/shared/css/tailwind.css +1 -0
package/dist/cjs/lib2/features/Charts/ChartAreaFeature/components/assets/YouAreHereEnIcon.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const YouAreHereEnIcon: () => import("react/jsx-runtime").JSX.Element;
|
package/dist/cjs/lib2/features/Charts/ChartAreaFeature/components/assets/YouAreHereEsIcon.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const YouAreHereEsIcon: () => import("react/jsx-runtime").JSX.Element;
|
package/dist/cjs/lib2/features/Charts/ChartAreaFeature/components/assets/YouAreHerePlIcon.d.ts
ADDED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export declare const YouAreHerePlIcon: () => import("react/jsx-runtime").JSX.Element;
|
package/dist/cjs/lib2/features/Charts/ChartAreaFeature/components/assets/YouAreHereUkIcon.d.ts
ADDED
|
@@ -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
|
|
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;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { default as Slider } from './Slider';
|