josenanodev-react-components-library 0.1.0 → 0.1.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,6 +1,6 @@
1
- import { dataObjectXlsxType } from "./types";
1
+ import { DataObjectXlsxType } from "./types";
2
2
  export declare function downloadExcel(fileName: string, data: {
3
- [key: string]: dataObjectXlsxType[][];
3
+ [key: string]: DataObjectXlsxType[][];
4
4
  } | undefined, headers: {
5
- [key: string]: dataObjectXlsxType[];
5
+ [key: string]: DataObjectXlsxType[];
6
6
  } | undefined): void;
@@ -8,7 +8,7 @@ export interface ExportToExcelButtonPropsType {
8
8
  disabled?: boolean;
9
9
  }
10
10
 
11
- export interface styleObjectXlsxType {
11
+ export interface StyleObjectXlsxType {
12
12
  allign?: {
13
13
  vertical: "top" | "center" | "bottom";
14
14
  horizontal: "left" | "center" | "right";
@@ -18,17 +18,17 @@ export interface styleObjectXlsxType {
18
18
  bold?: boolean;
19
19
  backgroundColor?: string;
20
20
  borders?: {
21
- top: borderStyleType;
22
- bottom: borderStyleType;
23
- left: borderStyleType;
24
- right: borderStyleType;
21
+ top: BorderStyleType;
22
+ bottom: BorderStyleType;
23
+ left: BorderStyleType;
24
+ right: BorderStyleType;
25
25
  };
26
26
  }
27
- export interface dataObjectXlsxType extends styleObjectXlsxType {
27
+ export interface DataObjectXlsxType extends StyleObjectXlsxType {
28
28
  value: string | number;
29
29
  }
30
30
 
31
- type borderStyleType =
31
+ type BorderStyleType =
32
32
  | "dashDotDot"
33
33
  | "dashDot"
34
34
  | "dashed"
@@ -9,4 +9,5 @@ import Slider from "./components/Slider/Slider";
9
9
  import MultipleJoinedButtonsBar from "./components/MultipleJoinedButtonsBar/MultipleJoinedButtonsBar";
10
10
  import ExportToExcelButton from "./components/ExportToExcelButton/ExportToExcelButton";
11
11
  import { setMulticalendarYScrollPosition } from "./Services/MulticalendarStatesAndSettings";
12
+ export type { DataObjectXlsxType } from "./components/ExportToExcelButton/types";
12
13
  export { Multicalendar, setMulticalendarYScrollPosition, SideBar, SearchBar, Modal, PopUp, ProgressBar, ParallelSelectionList, Slider, MultipleJoinedButtonsBar, ExportToExcelButton };
@@ -1,6 +1,6 @@
1
- import { dataObjectXlsxType } from "./types";
1
+ import { DataObjectXlsxType } from "./types";
2
2
  export declare function downloadExcel(fileName: string, data: {
3
- [key: string]: dataObjectXlsxType[][];
3
+ [key: string]: DataObjectXlsxType[][];
4
4
  } | undefined, headers: {
5
- [key: string]: dataObjectXlsxType[];
5
+ [key: string]: DataObjectXlsxType[];
6
6
  } | undefined): void;
@@ -8,7 +8,7 @@ export interface ExportToExcelButtonPropsType {
8
8
  disabled?: boolean;
9
9
  }
10
10
 
11
- export interface styleObjectXlsxType {
11
+ export interface StyleObjectXlsxType {
12
12
  allign?: {
13
13
  vertical: "top" | "center" | "bottom";
14
14
  horizontal: "left" | "center" | "right";
@@ -18,17 +18,17 @@ export interface styleObjectXlsxType {
18
18
  bold?: boolean;
19
19
  backgroundColor?: string;
20
20
  borders?: {
21
- top: borderStyleType;
22
- bottom: borderStyleType;
23
- left: borderStyleType;
24
- right: borderStyleType;
21
+ top: BorderStyleType;
22
+ bottom: BorderStyleType;
23
+ left: BorderStyleType;
24
+ right: BorderStyleType;
25
25
  };
26
26
  }
27
- export interface dataObjectXlsxType extends styleObjectXlsxType {
27
+ export interface DataObjectXlsxType extends StyleObjectXlsxType {
28
28
  value: string | number;
29
29
  }
30
30
 
31
- type borderStyleType =
31
+ type BorderStyleType =
32
32
  | "dashDotDot"
33
33
  | "dashDot"
34
34
  | "dashed"
@@ -9,4 +9,5 @@ import Slider from "./components/Slider/Slider";
9
9
  import MultipleJoinedButtonsBar from "./components/MultipleJoinedButtonsBar/MultipleJoinedButtonsBar";
10
10
  import ExportToExcelButton from "./components/ExportToExcelButton/ExportToExcelButton";
11
11
  import { setMulticalendarYScrollPosition } from "./Services/MulticalendarStatesAndSettings";
12
+ export type { DataObjectXlsxType } from "./components/ExportToExcelButton/types";
12
13
  export { Multicalendar, setMulticalendarYScrollPosition, SideBar, SearchBar, Modal, PopUp, ProgressBar, ParallelSelectionList, Slider, MultipleJoinedButtonsBar, ExportToExcelButton };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "josenanodev-react-components-library",
3
- "version": "0.1.0",
3
+ "version": "0.1.1",
4
4
  "author": {
5
5
  "name": "Jose Carlos Cardenas Martinez"
6
6
  },