@bikdotai/bik-component-library 0.0.105-chart.1 → 0.0.105
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/components/TypographyStyle.d.ts +0 -21
- package/dist/cjs/components/TypographyStyle.js +17 -27
- package/dist/cjs/components/analytics-chips-and-dropdowns/CommonStyles.d.ts +0 -6
- package/dist/cjs/components/analytics-chips-and-dropdowns/CommonStyles.js +1 -1
- package/dist/cjs/components/button/themes.d.ts +0 -1
- package/dist/cjs/components/dropdown/OpenedDropdown/components/menu/MenuList.styled.d.ts +0 -1
- package/dist/cjs/components/postPicker/PostPicker.styled.d.ts +0 -1
- package/dist/cjs/components/searchBar/searchBar.d.ts +1 -0
- package/dist/cjs/components/stepper/WorkingStepper.d.ts +1 -0
- package/dist/cjs/components/template-preview/WhatsApp/ChatUI.style.d.ts +0 -1
- package/dist/cjs/index.d.ts +0 -1
- package/dist/cjs/index.js +1 -1
- package/dist/esm/components/TypographyStyle.d.ts +0 -21
- package/dist/esm/components/TypographyStyle.js +16 -26
- package/dist/esm/components/analytics-chips-and-dropdowns/CommonStyles.d.ts +0 -6
- package/dist/esm/components/analytics-chips-and-dropdowns/CommonStyles.js +1 -1
- package/dist/esm/components/button/themes.d.ts +0 -1
- package/dist/esm/components/dropdown/OpenedDropdown/components/menu/MenuList.styled.d.ts +0 -1
- package/dist/esm/components/postPicker/PostPicker.styled.d.ts +0 -1
- package/dist/esm/components/searchBar/searchBar.d.ts +1 -0
- package/dist/esm/components/stepper/WorkingStepper.d.ts +1 -0
- package/dist/esm/components/template-preview/WhatsApp/ChatUI.style.d.ts +0 -1
- package/dist/esm/index.d.ts +0 -1
- package/dist/esm/index.js +1 -1
- package/package.json +2 -4
- package/dist/cjs/components/accordion/Accordion.d.ts +0 -10
- package/dist/cjs/components/accordion/Accordion.style.d.ts +0 -6
- package/dist/cjs/components/accordion/Accordion.style.js +0 -28
- package/dist/cjs/components/accordion/AccordionArrow.d.ts +0 -3
- package/dist/cjs/components/accordion/AccordionArrow.js +0 -1
- package/dist/cjs/components/accordion/index.d.ts +0 -1
- package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsMetric.d.ts +0 -6
- package/dist/cjs/components/analytics-chips-and-dropdowns/AnalyticsTrend.d.ts +0 -16
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/LineChart.d.ts +0 -20
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/LineChart.styled.d.ts +0 -15
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/Chip.d.ts +0 -6
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/HorinzontalBar.d.ts +0 -6
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.d.ts +0 -26
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.styled.d.ts +0 -25
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/index.d.ts +0 -1
- package/dist/cjs/components/analytics-chips-and-dropdowns/chart/utils/calcPercentage.d.ts +0 -1
- package/dist/cjs/components/template-context-mapper/utils/getFormattedMonthDate.d.ts +0 -1
- package/dist/esm/components/accordion/Accordion.d.ts +0 -10
- package/dist/esm/components/accordion/Accordion.style.d.ts +0 -6
- package/dist/esm/components/accordion/Accordion.style.js +0 -28
- package/dist/esm/components/accordion/AccordionArrow.d.ts +0 -3
- package/dist/esm/components/accordion/AccordionArrow.js +0 -1
- package/dist/esm/components/accordion/index.d.ts +0 -1
- package/dist/esm/components/analytics-chips-and-dropdowns/AnalyticsMetric.d.ts +0 -6
- package/dist/esm/components/analytics-chips-and-dropdowns/AnalyticsTrend.d.ts +0 -16
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/LineChart.d.ts +0 -20
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/LineChart.styled.d.ts +0 -15
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/Chip.d.ts +0 -6
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/HorinzontalBar.d.ts +0 -6
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.d.ts +0 -26
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/LinearChipGroupedChart.styled.d.ts +0 -25
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/index.d.ts +0 -1
- package/dist/esm/components/analytics-chips-and-dropdowns/chart/utils/calcPercentage.d.ts +0 -1
- package/dist/esm/components/template-context-mapper/utils/getFormattedMonthDate.d.ts +0 -1
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface AnalyticsTrendInterface {
|
|
3
|
-
title: string;
|
|
4
|
-
value?: string;
|
|
5
|
-
trendPercent: number;
|
|
6
|
-
trendDirection: 'positive' | 'negative' | 'neutral';
|
|
7
|
-
timeline: 'today' | 'yesterday' | '7 days' | '30 days' | 'custom';
|
|
8
|
-
customRange?: Date[];
|
|
9
|
-
type?: 'vertical' | 'horizontal';
|
|
10
|
-
tooltip?: string;
|
|
11
|
-
card?: boolean;
|
|
12
|
-
rightSeparator?: boolean;
|
|
13
|
-
size?: 'big' | 'small';
|
|
14
|
-
share?: boolean;
|
|
15
|
-
}
|
|
16
|
-
export declare const AnalyticsTrend: React.FC<AnalyticsTrendInterface>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export type LineChartProps = {
|
|
3
|
-
maintainAspectRatio?: boolean;
|
|
4
|
-
datas: {
|
|
5
|
-
data: number[];
|
|
6
|
-
lineColor?: string;
|
|
7
|
-
backgroundColor?: string;
|
|
8
|
-
dotted?: boolean;
|
|
9
|
-
gradient?: boolean;
|
|
10
|
-
legend?: string;
|
|
11
|
-
}[];
|
|
12
|
-
labels: Array<string>;
|
|
13
|
-
scaleText?: {
|
|
14
|
-
x?: string;
|
|
15
|
-
y?: string;
|
|
16
|
-
yPrefix?: string;
|
|
17
|
-
};
|
|
18
|
-
legends: Array<string>;
|
|
19
|
-
};
|
|
20
|
-
export declare const LineChart: React.FC<LineChartProps>;
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const LegendContainer: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
5
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
6
|
-
export declare const LegendColor: import("@emotion/styled").StyledComponent<{
|
|
7
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
8
|
-
as?: import("react").ElementType<any> | undefined;
|
|
9
|
-
} & {
|
|
10
|
-
color: string;
|
|
11
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
12
|
-
export declare const LegendWrapper: import("@emotion/styled").StyledComponent<{
|
|
13
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
14
|
-
as?: import("react").ElementType<any> | undefined;
|
|
15
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
@@ -1,26 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import 'react-bootstrap';
|
|
3
|
-
import { LineChartProps } from '../LineChart';
|
|
4
|
-
export type LinearChipGroupedChartProps = {
|
|
5
|
-
lineChartOption: LineChartProps;
|
|
6
|
-
overallValue: number;
|
|
7
|
-
requestSent: number;
|
|
8
|
-
responses: number;
|
|
9
|
-
chipValues: {
|
|
10
|
-
positive: {
|
|
11
|
-
text: string;
|
|
12
|
-
val: number;
|
|
13
|
-
};
|
|
14
|
-
neutral: {
|
|
15
|
-
text: string;
|
|
16
|
-
val: number;
|
|
17
|
-
};
|
|
18
|
-
negative: {
|
|
19
|
-
text: string;
|
|
20
|
-
val: number;
|
|
21
|
-
};
|
|
22
|
-
};
|
|
23
|
-
name: string;
|
|
24
|
-
separator?: boolean;
|
|
25
|
-
};
|
|
26
|
-
export declare const LinearChipGroupedChart: React.FC<LinearChipGroupedChartProps>;
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
/// <reference types="react" />
|
|
2
|
-
export declare const Container: import("@emotion/styled").StyledComponent<{
|
|
3
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
4
|
-
as?: import("react").ElementType<any> | undefined;
|
|
5
|
-
} & {
|
|
6
|
-
separator?: boolean | undefined;
|
|
7
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
8
|
-
export declare const Row: import("@emotion/styled").StyledComponent<{
|
|
9
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
10
|
-
as?: import("react").ElementType<any> | undefined;
|
|
11
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
12
|
-
export declare const Column: import("@emotion/styled").StyledComponent<{
|
|
13
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
14
|
-
as?: import("react").ElementType<any> | undefined;
|
|
15
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
16
|
-
export declare const StyledChip: import("@emotion/styled").StyledComponent<{
|
|
17
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
18
|
-
as?: import("react").ElementType<any> | undefined;
|
|
19
|
-
} & {
|
|
20
|
-
type: 'positive' | 'neutral' | 'negative';
|
|
21
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
|
22
|
-
export declare const StyledBarContainer: import("@emotion/styled").StyledComponent<{
|
|
23
|
-
theme?: import("@emotion/react").Theme | undefined;
|
|
24
|
-
as?: import("react").ElementType<any> | undefined;
|
|
25
|
-
}, import("react").DetailedHTMLProps<import("react").HTMLAttributes<HTMLDivElement>, HTMLDivElement>, {}>;
|
package/dist/esm/components/analytics-chips-and-dropdowns/chart/linearChipGroupedChart/index.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export * from './LinearChipGroupedChart';
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function calculatePercentage(a: number, b: number, c: number): number[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function getFormattedMonthDate(date: Date): string;
|