@taxbit/react-sdk 0.0.12 → 0.0.13

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,7 +1,6 @@
1
1
  import React from "react";
2
- import type { Locale } from "i18n";
3
- import type { TaxForm } from "types/TaxForm";
4
- import type { TaxDocumentation } from "types";
2
+ import type { Locale } from "../../i18n";
3
+ import type { TaxForm, TaxDocumentation } from "../../types";
5
4
  type TaxDocumentationProviderProps = {
6
5
  data?: TaxDocumentation;
7
6
  onSubmit: (data: TaxDocumentation) => void;
@@ -1,3 +1,5 @@
1
1
  export * from "../paths/TaxBitFormUI";
2
2
  export * from "../widgets/TaxBitForm";
3
3
  export * from "../hooks/useTaxBit";
4
+ export { type TaxForm } from "../types";
5
+ export { type Locale } from "../i18n/types";
@@ -1 +1,2 @@
1
1
  export * from "./LocalizationKey";
2
+ export * from "./Locale";
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import type { Locale } from "i18n";
3
- import type { TaxDocumentation } from "types";
2
+ import type { Locale } from "../../i18n";
3
+ import type { TaxDocumentation } from "../../types";
4
4
  type TaxDocumentationDAC7PathProps = {
5
5
  data?: TaxDocumentation;
6
6
  onSubmit: (data: TaxDocumentation) => void;
@@ -1,7 +1,6 @@
1
1
  import React from "react";
2
- import type { Locale } from "i18n";
3
- import type { TaxForm } from "types/TaxForm";
4
- import type { TaxDocumentation } from "types";
2
+ import type { Locale } from "../../i18n";
3
+ import type { TaxForm, TaxDocumentation } from "../../types";
5
4
  type TaxBitFormUIProps = {
6
5
  data?: TaxDocumentation;
7
6
  onSubmit: (data: TaxDocumentation) => void;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import type { Locale } from "i18n";
3
- import { TaxDocumentation } from "types";
2
+ import type { Locale } from "../../i18n";
3
+ import { TaxDocumentation } from "../../types";
4
4
  type TaxBitDAC7FormProps = {
5
5
  data?: TaxDocumentation;
6
6
  bearerToken: string;
@@ -1,6 +1,6 @@
1
1
  import React from "react";
2
- import type { Locale } from "i18n";
3
- import { TaxForm, TaxDocumentation } from "types";
2
+ import type { Locale } from "../../i18n";
3
+ import { TaxForm, TaxDocumentation } from "../../types";
4
4
  type TaxBitFormProps = {
5
5
  data?: TaxDocumentation;
6
6
  staging?: true;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@taxbit/react-sdk",
3
- "version": "0.0.12",
3
+ "version": "0.0.13",
4
4
  "description": "TaxBit Tax Documentation",
5
5
  "author": "TaxBit",
6
6
  "type": "module",