@secondstaxorg/sscomp 1.7.99 → 1.8.12

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secondstaxorg/sscomp",
3
- "version": "1.7.99",
3
+ "version": "1.8.12",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
@@ -64,7 +64,9 @@
64
64
  "storybook": "7.0.22",
65
65
  "styled-components": "^5.3.6",
66
66
  "typescript": "^4.8.4",
67
- "webpack": "^5.74.0"
67
+ "webpack": "^5.74.0",
68
+ "pdfjs-dist": "^3.11.174",
69
+ "react-pdf": "^7.5.1"
68
70
  },
69
71
  "dependencies": {
70
72
  "@heroicons/react": "^2.0.13",
@@ -88,6 +90,8 @@
88
90
  "tippy.js": "^6.3.7"
89
91
  },
90
92
  "peerDependencies": {
93
+ "pdfjs-dist": "^3.11.174",
94
+ "react-pdf": "^7.5.1",
91
95
  "react": "^18.2.0",
92
96
  "react-dom": "^18.2.0",
93
97
  "styled-components": "^5.3.6"
@@ -1,5 +1,6 @@
1
1
  /// <reference types="react" />
2
2
  import { ActionSuccessProps } from "./type";
3
+ import '../../styles/typography.css';
3
4
  /**
4
5
  * Message status of an action whether it succeeded or failed.
5
6
  */
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { PDFViewerProps } from "./type";
3
+ declare const PDFViewer: (props: PDFViewerProps) => JSX.Element;
4
+ export default PDFViewer;
@@ -0,0 +1,2 @@
1
+ export declare const ViewerContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const PageNavigation: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,3 @@
1
+ export interface PDFViewerProps {
2
+ fileUrl: string;
3
+ }
@@ -73,3 +73,4 @@ export { default as FileUpload } from './FileUpload/FileUpdload';
73
73
  export { default as EmailField } from './EmailField/EmailField';
74
74
  export { default as NumberField } from './NumberField/NumberField';
75
75
  export { default as Pagination } from './Pagination';
76
+ export { default as PDFViewer } from './PDFViewer/PDFViewer';