@gustavo-valsechi/client 1.3.3 → 1.3.4

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 (37) 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/badge/index.js +1 -1
  5. package/dist/components/types/block/index.d.ts +1 -1
  6. package/dist/components/types/chart/index.d.ts +1 -1
  7. package/dist/components/types/chart/index.js +1 -1
  8. package/dist/components/types/credit-card/card/index.d.ts +1 -1
  9. package/dist/components/types/credit-card/functions/index.d.ts +1 -1
  10. package/dist/components/types/credit-card/index.d.ts +1 -1
  11. package/dist/components/types/form/index.d.ts +1 -1
  12. package/dist/components/types/form/types/button/index.d.ts +1 -1
  13. package/dist/components/types/form/types/datetime/index.d.ts +1 -1
  14. package/dist/components/types/form/types/file/index.d.ts +1 -1
  15. package/dist/components/types/form/types/input/index.d.ts +1 -1
  16. package/dist/components/types/form/types/label/index.d.ts +1 -1
  17. package/dist/components/types/form/types/select/index.d.ts +1 -1
  18. package/dist/components/types/form/types/textarea/index.d.ts +1 -1
  19. package/dist/components/types/loading/app/index.d.ts +1 -1
  20. package/dist/components/types/loading/bar/index.d.ts +1 -1
  21. package/dist/components/types/logo/index.d.ts +1 -1
  22. package/dist/components/types/lottie/index.d.ts +1 -1
  23. package/dist/components/types/modal/index.d.ts +1 -1
  24. package/dist/components/types/table/index.d.ts +1 -1
  25. package/dist/components/types/table/index.js +1 -1
  26. package/dist/components/types/table/modal/actions.js +1 -1
  27. package/dist/components/types/table/modal/index.d.ts +1 -1
  28. package/dist/components/types/table/modal/index.js +1 -1
  29. package/dist/components/types/table/paginate/index.d.ts +1 -1
  30. package/dist/contexts/icon/index.d.ts +1 -1
  31. package/dist/contexts/modal/index.d.ts +1 -1
  32. package/dist/contexts/theme/content.d.ts +1 -1
  33. package/dist/contexts/theme/index.d.ts +1 -1
  34. package/dist/interfaces/components/block/index.d.ts +1 -1
  35. package/dist/interfaces/components/modal/index.d.ts +1 -1
  36. package/dist/styled.d.ts +1 -1
  37. package/package.json +1 -1
@@ -1,3 +1,3 @@
1
- import { IComponent } from "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/interfaces";
1
+ import { IBadge } from "interfaces";
2
2
  export declare function Badge(props: IBadge): import("react/jsx-runtime").JSX.Element;
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.Badge = Badge;
8
8
  const jsx_runtime_1 = require("react/jsx-runtime");
9
9
  const styles_1 = require("./styles");
10
- const contexts_1 = require("@gustavo-valsechi/client/contexts");
10
+ const contexts_1 = require("contexts");
11
11
  const lodash_1 = __importDefault(require("lodash"));
12
12
  function Badge(props) {
13
13
  const { content } = (0, contexts_1.useTheme)();
@@ -1,2 +1,2 @@
1
- import { IBlock } from "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/interfaces";
1
+ import { IChart } from "interfaces";
2
2
  export declare function Chart(props: IChart): import("react/jsx-runtime").JSX.Element;
@@ -7,7 +7,7 @@ Object.defineProperty(exports, "__esModule", { value: true });
7
7
  exports.Chart = Chart;
8
8
  const jsx_runtime_1 = require("react/jsx-runtime");
9
9
  const styles_1 = require("./styles");
10
- const contexts_1 = require("@gustavo-valsechi/client/contexts");
10
+ const contexts_1 = require("contexts");
11
11
  const dynamic_1 = __importDefault(require("next/dynamic"));
12
12
  const lodash_1 = __importDefault(require("lodash"));
13
13
  const ApexChart = (0, dynamic_1.default)(() => import("react-apexcharts").then((mod) => mod.default), { ssr: false });
@@ -1,2 +1,2 @@
1
- import { ICreditCard } from "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/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;
@@ -24,7 +24,7 @@ const react_1 = require("react");
24
24
  const styles_1 = require("./styles");
25
25
  const bar_1 = require("../loading/bar");
26
26
  const paginate_1 = require("./paginate");
27
- const contexts_1 = require("@gustavo-valsechi/client/contexts");
27
+ const contexts_1 = require("contexts");
28
28
  const lodash_1 = __importDefault(require("lodash"));
29
29
  const modal_1 = __importDefault(require("./modal"));
30
30
  __exportStar(require("./paginate"), exports);
@@ -1,6 +1,6 @@
1
1
  "use strict";
2
2
  Object.defineProperty(exports, "__esModule", { value: true });
3
- const content_1 = require("@gustavo-valsechi/client/contexts/theme/content");
3
+ const content_1 = require("contexts/theme/content");
4
4
  const actionConfig = {
5
5
  "fa-solid fa-pen-to-square": { label: "editar" },
6
6
  "fa-solid fa-trash-can": { label: "remover", color: content_1.CommonTheme.negative },
@@ -1,2 +1,2 @@
1
- import { IModal } from "@gustavo-valsechi/client/interfaces";
1
+ import { IModal } from "interfaces";
2
2
  export default function Modal(props: IModal): import("react/jsx-runtime").JSX.Element;
@@ -9,7 +9,7 @@ const jsx_runtime_1 = require("react/jsx-runtime");
9
9
  const styles_1 = require("./styles");
10
10
  const styles_2 = require("../styles");
11
11
  const __1 = require("../../..");
12
- const contexts_1 = require("@gustavo-valsechi/client/contexts");
12
+ const contexts_1 = require("contexts");
13
13
  const lodash_1 = __importDefault(require("lodash"));
14
14
  const actions_1 = __importDefault(require("./actions"));
15
15
  function Modal(props) {
@@ -1,2 +1,2 @@
1
- import { IPaginate } from "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/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 "@gustavo-valsechi/client/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 { IButton } from "@gustavo-valsechi/client/interfaces";
2
+ import { IButton } from "interfaces";
3
3
  export interface IModal {
4
4
  toggle: boolean;
5
5
  onClose?: () => void;
package/dist/styled.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import "styled-components";
2
- import { IThemeContent } from "@gustavo-valsechi/client/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,6 +1,6 @@
1
1
  {
2
2
  "name": "@gustavo-valsechi/client",
3
- "version": "1.3.3",
3
+ "version": "1.3.4",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "files": ["dist"],