@gustavo-valsechi/client 1.3.7 → 1.3.9

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.
Files changed (36) hide show
  1. package/dist/components/index.d.ts +1 -1
  2. package/dist/components/types/avatar/index.d.ts +1 -1
  3. package/dist/components/types/badge/index.d.ts +1 -1
  4. package/dist/components/types/block/index.d.ts +1 -1
  5. package/dist/components/types/chart/index.d.ts +1 -1
  6. package/dist/components/types/credit-card/card/index.d.ts +1 -1
  7. package/dist/components/types/credit-card/functions/index.d.ts +1 -1
  8. package/dist/components/types/credit-card/index.d.ts +1 -1
  9. package/dist/components/types/form/index.d.ts +1 -1
  10. package/dist/components/types/form/types/button/index.d.ts +1 -1
  11. package/dist/components/types/form/types/datetime/index.d.ts +1 -1
  12. package/dist/components/types/form/types/file/index.d.ts +1 -1
  13. package/dist/components/types/form/types/input/index.d.ts +1 -1
  14. package/dist/components/types/form/types/label/index.d.ts +1 -1
  15. package/dist/components/types/form/types/select/index.d.ts +1 -1
  16. package/dist/components/types/form/types/textarea/index.d.ts +1 -1
  17. package/dist/components/types/loading/app/index.d.ts +1 -1
  18. package/dist/components/types/loading/bar/index.d.ts +1 -1
  19. package/dist/components/types/logo/index.d.ts +1 -1
  20. package/dist/components/types/lottie/index.d.ts +1 -1
  21. package/dist/components/types/modal/index.d.ts +1 -1
  22. package/dist/components/types/table/index.d.ts +1 -1
  23. package/dist/components/types/table/index.js +1 -1
  24. package/dist/components/types/table/modal/index.d.ts +1 -1
  25. package/dist/components/types/table/paginate/index.d.ts +1 -1
  26. package/dist/contexts/icon/index.d.ts +1 -1
  27. package/dist/contexts/modal/index.d.ts +1 -1
  28. package/dist/contexts/theme/content.d.ts +1 -1
  29. package/dist/contexts/theme/index.d.ts +1 -1
  30. package/dist/interfaces/components/block/index.d.ts +1 -1
  31. package/dist/interfaces/components/index.d.ts +1 -1
  32. package/dist/interfaces/components/lottie/index.d.ts +1 -1
  33. package/dist/interfaces/components/modal/index.d.ts +1 -1
  34. package/dist/interfaces/contexts/modal/index.d.ts +1 -1
  35. package/dist/styled.d.ts +1 -1
  36. package/package.json +7 -4
@@ -1,3 +1,3 @@
1
- import { IComponent } from "@interfaces";
1
+ import { IComponent } from "../interfaces";
2
2
  export * from "./types";
3
3
  export declare function Component(props: IComponent): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { IAvatar } from "@interfaces";
1
+ import { IAvatar } from "../../../interfaces";
2
2
  export declare function Avatar(props: IAvatar): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { IBadge } from "@interfaces";
1
+ import { IBadge } from "../../../interfaces";
2
2
  export declare function Badge(props: IBadge): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { IBlock } from "@interfaces";
1
+ import { IBlock } from "../../../interfaces";
2
2
  export declare function Block(props: IBlock): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { IChart } from "@interfaces";
1
+ import { IChart } from "../../../interfaces";
2
2
  export declare function Chart(props: IChart): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { ICreditCard } from "@interfaces";
1
+ import { ICreditCard } from "../../../../interfaces";
2
2
  export default function CreditCardComponent(props: ICreditCard): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { ICreditCard } from "@interfaces";
1
+ import { ICreditCard } from "../../../../interfaces";
2
2
  export default function CreditCardFunctions(props: ICreditCard): false | import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { ICreditCard } from "@interfaces";
1
+ import { ICreditCard } from "../../../interfaces";
2
2
  export declare function CreditCard(props: ICreditCard): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { IForm } from "@interfaces";
1
+ import { IForm } from "../../../interfaces";
2
2
  export * from "./types";
3
3
  export declare function Form(props: IForm): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { IButton } from "@interfaces";
1
+ import { IButton } from "../../../../../interfaces";
2
2
  export declare function Button(props: IButton): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { IInputDateTime } from "@interfaces";
1
+ import { IInputDateTime } from "../../../../../interfaces";
2
2
  export declare function InputDateTime(props: IInputDateTime): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { IInputFile } from "@interfaces";
1
+ import { IInputFile } from "../../../../../interfaces";
2
2
  export declare function InputFile(props: IInputFile): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { IInputText } from "@interfaces";
1
+ import { IInputText } from "../../../../../interfaces";
2
2
  export declare function InputText(props: IInputText): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { IInputLabel } from "@interfaces";
1
+ import { IInputLabel } from "../../../../../interfaces";
2
2
  export declare function InputLabel(props: IInputLabel): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { IInputSelect } from "@interfaces";
1
+ import { IInputSelect } from "../../../../../interfaces";
2
2
  export declare function InputSelect(props: IInputSelect): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { IInputTextarea } from "@interfaces";
1
+ import { IInputTextarea } from "../../../../../interfaces";
2
2
  export declare function InputTextarea(props: IInputTextarea): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { ILoadingApp } from "@interfaces";
1
+ import { ILoadingApp } from "../../../../interfaces";
2
2
  export declare function LoadingApp(props: ILoadingApp): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { ILoadingBar } from "@interfaces";
1
+ import { ILoadingBar } from "../../../../interfaces";
2
2
  export declare function LoadingBar(props: ILoadingBar): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { ILogo } from "@interfaces";
1
+ import { ILogo } from "../../../interfaces";
2
2
  export declare function Logo(props: ILogo): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { ILottie } from "@interfaces";
1
+ import { ILottie } from "../../../interfaces";
2
2
  export declare function Lottie(props: ILottie): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { IModal } from "@interfaces";
1
+ import { IModal } from "../../../interfaces";
2
2
  export declare function Modal(props: IModal): import("react/jsx-runtime").JSX.Element;
@@ -1,3 +1,3 @@
1
- import { ITable } from "@interfaces";
1
+ import { ITable } from "../../../interfaces";
2
2
  export * from "./paginate";
3
3
  export declare function Table(props: ITable): import("react/jsx-runtime").JSX.Element;
@@ -2,7 +2,7 @@
2
2
  import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
3
3
  import { useEffect } from "react";
4
4
  import { Container } from "./styles";
5
- import { LoadingBar } from "../loading/bar";
5
+ import { LoadingBar } from "../../../components";
6
6
  import { Paginate } from "./paginate";
7
7
  import { useModal, useTheme } from "../../../contexts";
8
8
  import _ from "lodash";
@@ -1,2 +1,2 @@
1
- import { IModal } from "@interfaces";
1
+ import { IModal } from "../../../../interfaces";
2
2
  export default function Modal(props: IModal): import("react/jsx-runtime").JSX.Element;
@@ -1,2 +1,2 @@
1
- import { IPaginate } from "@interfaces";
1
+ import { IPaginate } from "../../../../interfaces";
2
2
  export declare function Paginate(props: IPaginate): false | import("react/jsx-runtime").JSX.Element;
@@ -1,4 +1,4 @@
1
- import { IIconProvider } from "@interfaces";
1
+ import { IIconProvider } from "../../interfaces";
2
2
  declare const IconProviderContainer: ({ children }: IIconProvider) => import("react/jsx-runtime").JSX.Element;
3
3
  declare const useIcon: () => any;
4
4
  export { IconProviderContainer as IconProvider, useIcon };
@@ -1,4 +1,4 @@
1
- import { IModalProvider, IModalContext } from "@interfaces";
1
+ import { IModalProvider, IModalContext } from "../../interfaces";
2
2
  declare const ModalProviderContainer: ({ children }: IModalProvider) => import("react/jsx-runtime").JSX.Element;
3
3
  declare const useModal: () => IModalContext;
4
4
  export { ModalProviderContainer as ModalProvider, useModal };
@@ -1,3 +1,3 @@
1
- import { ICommonTheme, ITheme } from "@interfaces";
1
+ import { ICommonTheme, ITheme } from "../../interfaces";
2
2
  export declare const CommonTheme: ICommonTheme;
3
3
  export declare const Themes: ITheme;
@@ -1,4 +1,4 @@
1
- import { IThemeProvider, IThemeContext } from "@interfaces";
1
+ import { IThemeProvider, IThemeContext } from "../../interfaces";
2
2
  declare const ThemeProviderContainer: (props: IThemeProvider) => import("react/jsx-runtime").JSX.Element;
3
3
  declare const useTheme: () => IThemeContext;
4
4
  export { ThemeProviderContainer as ThemeProvider, useTheme };
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { IComponentContent } from "@interfaces";
2
+ import { IComponentContent } from "../../../interfaces";
3
3
  interface IBase {
4
4
  icon?: string;
5
5
  label?: string;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import * as Types from "@components/types";
2
+ import * as Types from "../../components/types";
3
3
  export * from "./table";
4
4
  export * from "./loading";
5
5
  export * from "./modal";
@@ -1,4 +1,4 @@
1
- import animations from "@components/types/lottie/animations";
1
+ import animations from "../../../components/types/lottie/animations";
2
2
  interface IBase {
3
3
  size?: number;
4
4
  }
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { IButton } from "@interfaces";
2
+ import { IButton } from "../../../interfaces";
3
3
  export interface IModal {
4
4
  toggle: boolean;
5
5
  onClose?: () => void;
@@ -1,4 +1,4 @@
1
- import { Modal } from "@components";
1
+ import { Modal } from "../../../components";
2
2
  import { IModal, IBaseProvider } from "../..";
3
3
  export interface IModalProvider extends IBaseProvider {
4
4
  }
package/dist/styled.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import "styled-components";
2
- import { IThemeContent } from "@interfaces";
2
+ import { IThemeContent } from "./interfaces";
3
3
  declare module "styled-components" {
4
4
  interface DefaultTheme extends IThemeContent {
5
5
  }
package/package.json CHANGED
@@ -1,12 +1,14 @@
1
1
  {
2
2
  "name": "@gustavo-valsechi/client",
3
- "version": "1.3.7",
3
+ "version": "1.3.9",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
- "files": ["dist"],
6
+ "files": [
7
+ "dist"
8
+ ],
7
9
  "license": "UNLICENSED",
8
10
  "scripts": {
9
- "build": "npx rimraf node_modules/.cache && tsc"
11
+ "build": "npx rimraf node_modules/.cache && tsc && tsc-alias"
10
12
  },
11
13
  "peerDependencies": {
12
14
  "react": "18.3.1",
@@ -14,8 +16,8 @@
14
16
  "styled-components": "6.1.12"
15
17
  },
16
18
  "dependencies": {
17
- "@gustavo-valsechi/server": "1.0.4",
18
19
  "@emotion/is-prop-valid": "1.3.0",
20
+ "@gustavo-valsechi/server": "1.0.4",
19
21
  "@hookform/resolvers": "5.2.2",
20
22
  "apexcharts": "3.51.0",
21
23
  "lodash": "4.17.21",
@@ -43,6 +45,7 @@
43
45
  "react": "18.3.1",
44
46
  "react-dom": "18.3.1",
45
47
  "styled-components": "6.1.12",
48
+ "tsc-alias": "^1.8.16",
46
49
  "typescript": "5.5.4"
47
50
  },
48
51
  "publishConfig": {