sag_components 2.0.0-beta23 → 2.0.0-beta25

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,2 +1,79 @@
1
1
  export function BarChart(props: any): import("react/jsx-runtime").JSX.Element;
2
+ export namespace BarChart {
3
+ namespace propTypes {
4
+ const title: PropTypes.Requireable<string>;
5
+ const barChartData: PropTypes.Requireable<(PropTypes.InferProps<{
6
+ title: PropTypes.Requireable<string>;
7
+ date: PropTypes.Requireable<string>;
8
+ value: PropTypes.Requireable<number>;
9
+ }> | null | undefined)[]>;
10
+ const width: PropTypes.Requireable<string>;
11
+ const height: PropTypes.Requireable<string>;
12
+ const barSize: PropTypes.Requireable<number>;
13
+ const barFontSizeValue: PropTypes.Requireable<string>;
14
+ const barChartColor: PropTypes.Requireable<string>;
15
+ const showDollarSign: PropTypes.Requireable<boolean>;
16
+ const isDollar: PropTypes.Requireable<boolean>;
17
+ const showLegend: PropTypes.Requireable<boolean>;
18
+ const legendData: PropTypes.Requireable<(PropTypes.InferProps<{
19
+ title: PropTypes.Validator<string>;
20
+ iconType: PropTypes.Validator<string>;
21
+ iconColor: PropTypes.Validator<string>;
22
+ }> | null | undefined)[]>;
23
+ const showReferenceLine: PropTypes.Requireable<boolean>;
24
+ const referenceLinePoint: PropTypes.Requireable<number>;
25
+ const referenceLineColor: PropTypes.Requireable<string>;
26
+ const referenceLineDashed: PropTypes.Requireable<string>;
27
+ const showCurrentCampaignStyle: PropTypes.Requireable<boolean>;
28
+ const currentBarColor: PropTypes.Requireable<string>;
29
+ const isPercent: PropTypes.Requireable<boolean>;
30
+ }
31
+ namespace defaultProps {
32
+ const title_1: string;
33
+ export { title_1 as title };
34
+ const barChartData_1: {
35
+ title: string;
36
+ date: string;
37
+ value: number;
38
+ }[];
39
+ export { barChartData_1 as barChartData };
40
+ const width_1: string;
41
+ export { width_1 as width };
42
+ const height_1: string;
43
+ export { height_1 as height };
44
+ const barSize_1: number;
45
+ export { barSize_1 as barSize };
46
+ const barFontSizeValue_1: string;
47
+ export { barFontSizeValue_1 as barFontSizeValue };
48
+ const barChartColor_1: string;
49
+ export { barChartColor_1 as barChartColor };
50
+ const showDollarSign_1: boolean;
51
+ export { showDollarSign_1 as showDollarSign };
52
+ const isDollar_1: boolean;
53
+ export { isDollar_1 as isDollar };
54
+ const showLegend_1: boolean;
55
+ export { showLegend_1 as showLegend };
56
+ const legendData_1: {
57
+ title: string;
58
+ iconType: string;
59
+ iconColor: string;
60
+ }[];
61
+ export { legendData_1 as legendData };
62
+ const showReferenceLine_1: boolean;
63
+ export { showReferenceLine_1 as showReferenceLine };
64
+ const referenceLinePoint_1: number;
65
+ export { referenceLinePoint_1 as referenceLinePoint };
66
+ const referenceLineColor_1: string;
67
+ export { referenceLineColor_1 as referenceLineColor };
68
+ const referenceLineDashed_1: string;
69
+ export { referenceLineDashed_1 as referenceLineDashed };
70
+ const showCurrentCampaignStyle_1: boolean;
71
+ export { showCurrentCampaignStyle_1 as showCurrentCampaignStyle };
72
+ const currentBarColor_1: string;
73
+ export { currentBarColor_1 as currentBarColor };
74
+ const isPercent_1: boolean;
75
+ export { isPercent_1 as isPercent };
76
+ }
77
+ }
2
78
  export default BarChart;
79
+ import PropTypes from "prop-types";
@@ -1,2 +1,63 @@
1
1
  export function OneColumnContainer(props: any): import("react/jsx-runtime").JSX.Element;
2
+ export namespace OneColumnContainer {
3
+ namespace propTypes {
4
+ const children: PropTypes.Requireable<string>;
5
+ const display: PropTypes.Requireable<string>;
6
+ const isLoading: PropTypes.Requireable<boolean>;
7
+ const gridTemplateColumns: PropTypes.Requireable<string>;
8
+ const itemClass: PropTypes.Requireable<string>;
9
+ const divStyle: PropTypes.Requireable<string>;
10
+ const overStyle: PropTypes.Requireable<string>;
11
+ const draggingStyle: PropTypes.Requireable<string>;
12
+ const droppedStyle: PropTypes.Requireable<string>;
13
+ const width: PropTypes.Requireable<string>;
14
+ const height: PropTypes.Requireable<string>;
15
+ const overflow: PropTypes.Requireable<string>;
16
+ const infoTitle: PropTypes.Requireable<string>;
17
+ const infoText: PropTypes.Requireable<string>;
18
+ const disableInfo: PropTypes.Requireable<boolean>;
19
+ const showViewByBannerButton: PropTypes.Requireable<boolean>;
20
+ const onBannerClick: PropTypes.Requireable<(...args: any[]) => any>;
21
+ const columnTitle: PropTypes.Requireable<string>;
22
+ }
23
+ namespace defaultProps {
24
+ const children_1: string;
25
+ export { children_1 as children };
26
+ const display_1: string;
27
+ export { display_1 as display };
28
+ const isLoading_1: string;
29
+ export { isLoading_1 as isLoading };
30
+ const gridTemplateColumns_1: string;
31
+ export { gridTemplateColumns_1 as gridTemplateColumns };
32
+ const itemClass_1: string;
33
+ export { itemClass_1 as itemClass };
34
+ const divStyle_1: string;
35
+ export { divStyle_1 as divStyle };
36
+ const overStyle_1: string;
37
+ export { overStyle_1 as overStyle };
38
+ const draggingStyle_1: string;
39
+ export { draggingStyle_1 as draggingStyle };
40
+ const droppedStyle_1: string;
41
+ export { droppedStyle_1 as droppedStyle };
42
+ const width_1: string;
43
+ export { width_1 as width };
44
+ const height_1: string;
45
+ export { height_1 as height };
46
+ const overflow_1: string;
47
+ export { overflow_1 as overflow };
48
+ const infoTitle_1: string;
49
+ export { infoTitle_1 as infoTitle };
50
+ const infoText_1: string;
51
+ export { infoText_1 as infoText };
52
+ const disableInfo_1: boolean;
53
+ export { disableInfo_1 as disableInfo };
54
+ const showViewByBannerButton_1: boolean;
55
+ export { showViewByBannerButton_1 as showViewByBannerButton };
56
+ export function onBannerClick_1(): void;
57
+ export { onBannerClick_1 as onBannerClick };
58
+ const columnTitle_1: string;
59
+ export { columnTitle_1 as columnTitle };
60
+ }
61
+ }
2
62
  export default OneColumnContainer;
63
+ import PropTypes from "prop-types";
@@ -14,56 +14,4 @@ export function QuickFilter({ hoverColor, multipleSelection, xIconShow, disabled
14
14
  options?: any[] | undefined;
15
15
  selectedValue?: any[] | undefined;
16
16
  }): import("react/jsx-runtime").JSX.Element;
17
- export namespace QuickFilter {
18
- namespace propTypes {
19
- const hoverColor: PropTypes.Requireable<string>;
20
- const multipleSelection: PropTypes.Requireable<boolean>;
21
- const disabled: PropTypes.Requireable<boolean>;
22
- const error: PropTypes.Requireable<boolean>;
23
- const errorMessage: PropTypes.Requireable<string>;
24
- const label: PropTypes.Requireable<string>;
25
- const labelColor: PropTypes.Requireable<string>;
26
- const placeHolder: PropTypes.Requireable<string>;
27
- const width: PropTypes.Requireable<string>;
28
- const checkBoxColor: PropTypes.Requireable<string>;
29
- const onChange: PropTypes.Requireable<(...args: any[]) => any>;
30
- const options: PropTypes.Requireable<(PropTypes.InferProps<{
31
- id: PropTypes.Requireable<string>;
32
- label: PropTypes.Requireable<string>;
33
- }> | null | undefined)[]>;
34
- const selectedValue: PropTypes.Requireable<(PropTypes.InferProps<{
35
- id: PropTypes.Requireable<string>;
36
- label: PropTypes.Requireable<string>;
37
- }> | null | undefined)[]>;
38
- }
39
- namespace defaultProps {
40
- const hoverColor_1: string;
41
- export { hoverColor_1 as hoverColor };
42
- const multipleSelection_1: boolean;
43
- export { multipleSelection_1 as multipleSelection };
44
- const disabled_1: boolean;
45
- export { disabled_1 as disabled };
46
- const error_1: boolean;
47
- export { error_1 as error };
48
- const errorMessage_1: string;
49
- export { errorMessage_1 as errorMessage };
50
- const label_1: string;
51
- export { label_1 as label };
52
- const labelColor_1: string;
53
- export { labelColor_1 as labelColor };
54
- const placeHolder_1: string;
55
- export { placeHolder_1 as placeHolder };
56
- const width_1: string;
57
- export { width_1 as width };
58
- const checkBoxColor_1: string;
59
- export { checkBoxColor_1 as checkBoxColor };
60
- export function onChange_1(): void;
61
- export { onChange_1 as onChange };
62
- const options_1: never[];
63
- export { options_1 as options };
64
- const selectedValue_1: never[];
65
- export { selectedValue_1 as selectedValue };
66
- }
67
- }
68
17
  export default QuickFilter;
69
- import PropTypes from "prop-types";
@@ -1 +1 @@
1
- export function getIcon(icon: any, iconHeight: any, iconWidth: any, color: any, disabled: any, pointer: any, callBackOnClick: any): "" | import("react/jsx-runtime").JSX.Element;
1
+ export function getIcon(icon: any, iconHeight: any, iconWidth: any, color: any, disabled: any, pointer: any, callBackOnClick: any): import("react/jsx-runtime").JSX.Element | "";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "sag_components",
3
- "version": "2.0.0-beta23",
3
+ "version": "2.0.0-beta25",
4
4
  "description": "",
5
5
  "main": "dist/index.js",
6
6
  "module": "dist/index.esm.js",
@@ -30,6 +30,7 @@
30
30
  "@rollup/plugin-babel": "^6.0.3",
31
31
  "@rollup/plugin-commonjs": "^24.0.0",
32
32
  "@rollup/plugin-node-resolve": "^13.0.6",
33
+ "@rollup/plugin-typescript": "^12.1.2",
33
34
  "@storybook/addon-designs": "^7.0.9",
34
35
  "@storybook/addon-essentials": "^7.4.6",
35
36
  "@storybook/addon-interactions": "^7.4.6",
@@ -1,2 +0,0 @@
1
- export default App;
2
- declare function App(): import("react/jsx-runtime").JSX.Element;
@@ -1 +0,0 @@
1
- export {};
@@ -1,2 +0,0 @@
1
- declare const _default: import("vite").UserConfig;
2
- export default _default;
@@ -1,4 +0,0 @@
1
- export default Factory;
2
- declare function Factory({ componentName }: {
3
- componentName: any;
4
- }): any;
@@ -1 +0,0 @@
1
- export const OnlyEnglishLettersRegex: RegExp;