@secondstaxorg/sscomp 1.8.25 → 1.8.26

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.
@@ -14,6 +14,10 @@
14
14
  font-family: Circular Black;
15
15
  src: url("./fonts/Circular Pro Black.ttf");
16
16
  }
17
+ @font-face {
18
+ font-family: Yellowtail Regular;
19
+ src: url("./fonts/Yellowtail-Regular.ttf");
20
+ }
17
21
 
18
22
  .display1Medium,
19
23
  .display2Medium,
@@ -320,3 +324,7 @@
320
324
  letter-spacing: 0.08em;
321
325
  text-transform: uppercase;
322
326
  }
327
+
328
+ .signature, .signature input{
329
+ font-family: 'Yellowtail Regular',cursive !important;
330
+ }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@secondstaxorg/sscomp",
3
- "version": "1.8.25",
3
+ "version": "1.8.26",
4
4
  "publishConfig": {
5
5
  "registry": "https://registry.npmjs.org/"
6
6
  },
@@ -0,0 +1,4 @@
1
+ /// <reference types="react" />
2
+ import { SignatureProps } from "./type";
3
+ declare const SignatureField: (props: SignatureProps) => JSX.Element;
4
+ export default SignatureField;
@@ -0,0 +1,3 @@
1
+ export declare const FieldContainer: import("styled-components").StyledComponent<"div", any, {}, never>;
2
+ export declare const UploadFieldContent: import("styled-components").StyledComponent<"div", any, {}, never>;
3
+ export declare const TypeFieldContent: import("styled-components").StyledComponent<"div", any, {}, never>;
@@ -0,0 +1,6 @@
1
+ export interface SignatureProps {
2
+ onChange: (a: any) => void;
3
+ required?: boolean;
4
+ selectedTab?: (a: number) => void;
5
+ value?: string | Object;
6
+ }
@@ -17,11 +17,15 @@ export interface TabType {
17
17
  */
18
18
  inactiveTabBgHexColor?: string;
19
19
  /**
20
- * Callback function returning the value of the currently active tab when selected
20
+ * Callback function returning the index of the currently active tab when selected counting from 0
21
21
  */
22
22
  selectedTab?: (a: string | number) => void;
23
23
  /**
24
24
  * Add shared content to be displayed in the body of both tabs
25
25
  */
26
26
  header?: ReactNode;
27
+ /**
28
+ * Specify the tab that should be selected on page load counting from 0
29
+ */
30
+ initialTab?: number;
27
31
  }
@@ -74,3 +74,4 @@ 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
76
  export { default as PDFViewer } from './PDFViewer/PDFViewer';
77
+ export { default as SignatureField } from './SignatureField/SignatureField';