@taxbit/react-sdk 0.3.1 → 0.3.3

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/basic.css CHANGED
@@ -1,17 +1,4 @@
1
- :root {
2
- font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
- line-height: 24px;
4
- font-weight: 400;
5
-
6
- color: #12263f;
7
- font-synthesis: none;
8
- text-rendering: optimizeLegibility;
9
- -webkit-font-smoothing: antialiased;
10
- -moz-osx-font-smoothing: grayscale;
11
- -webkit-text-size-adjust: 100%;
12
- }
13
-
14
- button {
1
+ button.taxbit-button {
15
2
  border-radius: 8px;
16
3
  border: 1px solid transparent;
17
4
  padding: 0.5em 1em;
@@ -21,8 +8,8 @@ button {
21
8
  transition: all 0.1s ease-in-out;
22
9
  }
23
10
 
24
- button:focus,
25
- button:focus-visible {
11
+ button.taxbit-button:focus,
12
+ button.taxbit-button:focus-visible {
26
13
  outline: 4px auto -webkit-focus-ring-color;
27
14
  }
28
15
 
package/dist/index.css CHANGED
@@ -1,16 +1,16 @@
1
1
  :root {
2
- font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
- line-height: 24px;
4
- font-weight: 400;
2
+ font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
+ line-height: 24px;
4
+ font-weight: 400;
5
5
 
6
- color: #12263F;
7
- font-synthesis: none;
8
- text-rendering: optimizeLegibility;
9
- -webkit-font-smoothing: antialiased;
10
- -moz-osx-font-smoothing: grayscale;
11
- -webkit-text-size-adjust: 100%;
6
+ color: #12263f;
7
+ font-synthesis: none;
8
+ text-rendering: optimizeLegibility;
9
+ -webkit-font-smoothing: antialiased;
10
+ -moz-osx-font-smoothing: grayscale;
11
+ -webkit-text-size-adjust: 100%;
12
12
  }
13
13
 
14
14
  html {
15
- padding-bottom: 60px;
15
+ padding-bottom: 60px;
16
16
  }
package/dist/inline.css CHANGED
@@ -1,17 +1,4 @@
1
- :root {
2
- font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
- line-height: 24px;
4
- font-weight: 400;
5
-
6
- color: #12263f;
7
- font-synthesis: none;
8
- text-rendering: optimizeLegibility;
9
- -webkit-font-smoothing: antialiased;
10
- -moz-osx-font-smoothing: grayscale;
11
- -webkit-text-size-adjust: 100%;
12
- }
13
-
14
- button {
1
+ button.taxbit-button {
15
2
  border-radius: 8px;
16
3
  border: 1px solid transparent;
17
4
  padding: 0.5em 1em;
@@ -21,8 +8,8 @@ button {
21
8
  transition: all 0.1s ease-in-out;
22
9
  }
23
10
 
24
- button:focus,
25
- button:focus-visible {
11
+ button.taxbit-button:focus,
12
+ button.taxbit-button:focus-visible {
26
13
  outline: 4px auto -webkit-focus-ring-color;
27
14
  }
28
15
 
package/dist/minimal.css CHANGED
@@ -1,16 +1,3 @@
1
- :root {
2
- font-family: Inter, system-ui, Avenir, Helvetica, Arial, sans-serif;
3
- line-height: 24px;
4
- font-weight: 400;
5
-
6
- color: #12263F;
7
- font-synthesis: none;
8
- text-rendering: optimizeLegibility;
9
- -webkit-font-smoothing: antialiased;
10
- -moz-osx-font-smoothing: grayscale;
11
- -webkit-text-size-adjust: 100%;
12
- }
13
-
14
1
  .taxbit-page {
15
2
  max-width: 600px;
16
3
  padding: 12px;
@@ -23,12 +10,13 @@
23
10
  .taxbit-error-message {
24
11
  color: red;
25
12
  }
13
+
26
14
  .taxbit-notification {
27
15
  color: blue;
28
16
  }
29
17
 
30
18
  .taxbit-step-actions {
31
- display: flex;
32
- justify-content: space-between;
33
- margin-top: 20px;
34
- }
19
+ display: flex;
20
+ justify-content: space-between;
21
+ margin-top: 20px;
22
+ }
@@ -1,8 +1,9 @@
1
1
  import React from 'react';
2
2
  type FormProps = {
3
3
  title: string;
4
+ className?: string;
4
5
  children: React.ReactNode;
5
6
  actions?: React.ReactNode;
6
7
  };
7
- export declare const Form: ({ children, title, actions }: FormProps) => React.JSX.Element;
8
+ export declare const Form: ({ children, title, actions, className }: FormProps) => React.JSX.Element;
8
9
  export {};
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import { TaxDocumentationKey } from "types/TaxDocumentation";
1
+ import React from 'react';
2
+ import { TaxDocumentationKey } from 'types/TaxDocumentation';
3
3
  export type ActionButtonProps = {
4
4
  name: TaxDocumentationKey;
5
5
  onClick: () => void;
@@ -1,4 +1,4 @@
1
- import React from "react";
1
+ import React from 'react';
2
2
  export type HideShowButtonProps = {
3
3
  onClick: () => void;
4
4
  };
@@ -1,5 +1,5 @@
1
- import React from "react";
2
- import { TaxDocumentationKey } from "types/TaxDocumentation";
1
+ import React from 'react';
2
+ import { TaxDocumentationKey } from 'types/TaxDocumentation';
3
3
  export type ToggleButtonProps = {
4
4
  name: TaxDocumentationKey;
5
5
  };
@@ -7,6 +7,7 @@ export * from './getMonthlyDayCount';
7
7
  export * from './getPromptKeyMap';
8
8
  export * from './isBlank';
9
9
  export * from './kebabCase';
10
+ export * from './mergeDeep';
10
11
  export * from './snakeCaseKeys';
11
12
  export * from './transformForClient';
12
13
  export * from './transformInbound';
@@ -0,0 +1 @@
1
+ export declare const mergeDeep: <T extends object = object>(target: T | undefined, source: T | undefined) => T;