pge-front-common 7.0.0 → 7.0.2

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 (27) hide show
  1. package/lib/components/ButtonUser/{index.d.ts → ButtonUser.d.ts} +0 -1
  2. package/lib/components/DropDown/{index.d.ts → Dropdown.d.ts} +0 -1
  3. package/lib/components/Footer/{index.d.ts → Footer.d.ts} +0 -1
  4. package/lib/components/Footer/Footer.stories.d.ts +1 -1
  5. package/lib/components/Header/{index.d.ts → Header.d.ts} +1 -2
  6. package/lib/components/Header/Header.stories.d.ts +1 -1
  7. package/lib/components/Input/Input.d.ts +4 -0
  8. package/lib/components/Input/Input.stories.d.ts +1 -1
  9. package/lib/components/Menu/index.d.ts +1 -1
  10. package/lib/components/Modal/ModalConfirm/ModalConfirm.stories.d.ts +1 -1
  11. package/lib/components/Select/{index.d.ts → Select.d.ts} +1 -2
  12. package/lib/components/Select/Select.stories.d.ts +1 -1
  13. package/lib/index.d.ts +1 -3
  14. package/lib/index.esm.js +96 -1064
  15. package/lib/index.esm.js.map +1 -1
  16. package/lib/index.js +94 -1063
  17. package/lib/index.js.map +1 -1
  18. package/package.json +1 -1
  19. package/lib/components/FooterAutocomposicao/FooterAutocomposicao.d.ts +0 -3
  20. package/lib/components/FooterAutocomposicao/FooterAutocomposicao.stories.d.ts +0 -6
  21. package/lib/components/Input/index.d.ts +0 -6
  22. package/lib/components/Input/styles.d.ts +0 -18
  23. package/lib/components/Modal/ModalConfirm/styles.d.ts +0 -1
  24. package/lib/components/Modal/styles.d.ts +0 -8
  25. /package/lib/components/Input/{index.types.d.ts → input.types.d.ts} +0 -0
  26. /package/lib/components/Modal/ModalConfirm/{index.d.ts → ModalConfirm.d.ts} +0 -0
  27. /package/lib/components/Select/{index.types.d.ts → select.types.d.ts} +0 -0
@@ -1,5 +1,4 @@
1
1
  import React from "react";
2
- import "./styles.css";
3
2
  export interface UserButtonProps {
4
3
  name: string;
5
4
  userName: string;
@@ -1,5 +1,4 @@
1
1
  import React from "react";
2
- import "./styles.css";
3
2
  export interface IFuncionalidade {
4
3
  id: number;
5
4
  nome: string;
@@ -1,3 +1,2 @@
1
1
  import React from "react";
2
- import "./styles.css";
3
2
  export default function FooterComponent(): React.JSX.Element;
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryObj } from "@storybook/react";
2
- import Footer from "./index";
2
+ import Footer from "./Footer";
3
3
  declare const meta: Meta<typeof Footer>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof meta>;
@@ -1,6 +1,5 @@
1
1
  import React from "react";
2
- import "./styles.css";
3
- import { IFuncoesMenuHorizontal } from "../DropDown";
2
+ import { IFuncoesMenuHorizontal } from "../DropDown/Dropdown";
4
3
  export interface HeaderProps {
5
4
  isRHDigital: boolean;
6
5
  isCASC: boolean;
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryObj } from "@storybook/react";
2
- import Header from "./index";
2
+ import Header from "./Header";
3
3
  declare const meta: Meta<typeof Header>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof meta>;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { InputBaseProps } from "./input.types";
3
+ declare const InputBase: React.FC<InputBaseProps>;
4
+ export default InputBase;
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryObj } from "@storybook/react";
2
- import InputBase from "./index";
2
+ import InputBase from "./Input";
3
3
  declare const meta: Meta<typeof InputBase>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof meta>;
@@ -1,5 +1,5 @@
1
1
  import React from "react";
2
- import { IFuncoesMenuHorizontal } from "../DropDown";
2
+ import { IFuncoesMenuHorizontal } from "../DropDown/Dropdown";
3
3
  export interface MenuProps {
4
4
  options: IFuncoesMenuHorizontal[];
5
5
  optionSelection: (name: string, id: number) => void;
@@ -2,7 +2,7 @@ import React from "react";
2
2
  import type { StoryObj } from "@storybook/react";
3
3
  declare const meta: {
4
4
  title: string;
5
- component: React.FC<import("./index").ModalConfirmProps>;
5
+ component: React.FC<import("./ModalConfirm").ModalConfirmProps>;
6
6
  parameters: {
7
7
  layout: string;
8
8
  };
@@ -1,4 +1,3 @@
1
1
  import React from "react";
2
- import "./styles.css";
3
- import { DropdownProps } from "./index.types";
2
+ import { DropdownProps } from "./select.types";
4
3
  export declare const Select: React.FC<DropdownProps>;
@@ -1,5 +1,5 @@
1
1
  import type { Meta, StoryObj } from "@storybook/react";
2
- import { Select } from "./index";
2
+ import { Select } from "./Select";
3
3
  declare const meta: Meta<typeof Select>;
4
4
  export default meta;
5
5
  type Story = StoryObj<typeof meta>;
package/lib/index.d.ts CHANGED
@@ -99,8 +99,6 @@ declare const Header: React.FC<HeaderProps>;
99
99
 
100
100
  declare function FooterComponent(): React.JSX.Element;
101
101
 
102
- declare function FooterAutocomposicaoComponent(): React.JSX.Element;
103
-
104
102
  declare const IconDownload: (props?: SVGProps<SVGSVGElement>) => React.JSX.Element;
105
103
 
106
104
  declare const IconVisibillity: (props?: SVGProps<SVGSVGElement>) => React.JSX.Element;
@@ -147,4 +145,4 @@ declare const IconSwap: (props?: SVGProps<SVGSVGElement>) => React.JSX.Element;
147
145
 
148
146
  declare const IconAddCell: (props?: SVGProps<SVGSVGElement>) => React.JSX.Element;
149
147
 
150
- export { Button, type ButtonProps, type DropdownProps, FooterComponent as Footer, FooterAutocomposicaoComponent, Header, IconAdd, IconAddCell, IconArrowExpland, IconArrowRecall, IconCLose, IconCalendar, IconCheckCircle, IconCircleExpland, IconCircleRecall, IconDelete, IconDownload, IconEdit, IconEventAvaliable, IconLogout, IconNewTab, IconProfile, IconRemove, IconSwap, IconTriangleExpand, IconTriangleRecall, IconUpload, IconVisibillity, IconWarning, InputBase, type InputBaseProps, Modal, ModalConfirm, type ModalConfirmProps, type ModalProps, type OptionsProps, Select };
148
+ export { Button, type ButtonProps, type DropdownProps, FooterComponent as Footer, Header, IconAdd, IconAddCell, IconArrowExpland, IconArrowRecall, IconCLose, IconCalendar, IconCheckCircle, IconCircleExpland, IconCircleRecall, IconDelete, IconDownload, IconEdit, IconEventAvaliable, IconLogout, IconNewTab, IconProfile, IconRemove, IconSwap, IconTriangleExpand, IconTriangleRecall, IconUpload, IconVisibillity, IconWarning, InputBase, type InputBaseProps, Modal, ModalConfirm, type ModalConfirmProps, type ModalProps, type OptionsProps, Select };