pge-front-common 6.0.7 → 7.0.1

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 (35) 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/FooterAutocomposicao/FooterAutocomposicao.d.ts +2 -0
  6. package/lib/components/FooterAutocomposicao/FooterAutocomposicao.stories.d.ts +6 -0
  7. package/lib/components/Header/{index.d.ts → Header.d.ts} +2 -2
  8. package/lib/components/Header/Header.stories.d.ts +1 -1
  9. package/lib/components/Input/Input.d.ts +4 -0
  10. package/lib/components/Input/Input.stories.d.ts +1 -1
  11. package/lib/components/Menu/index.d.ts +1 -1
  12. package/lib/components/Modal/ModalConfirm/ModalConfirm.stories.d.ts +1 -1
  13. package/lib/components/Select/{index.d.ts → Select.d.ts} +1 -2
  14. package/lib/components/Select/Select.stories.d.ts +1 -1
  15. package/lib/icons/facebook-icon.d.ts +5 -0
  16. package/lib/icons/instagram-icon.d.ts +3 -0
  17. package/lib/icons/linkedin-icon.d.ts +5 -0
  18. package/lib/icons/logo-casc.d.ts +4 -0
  19. package/lib/icons/twitter-icon.d.ts +3 -0
  20. package/lib/index.d.ts +4 -1
  21. package/lib/index.esm.js +177 -1032
  22. package/lib/index.esm.js.map +1 -1
  23. package/lib/index.js +189 -1043
  24. package/lib/index.js.map +1 -1
  25. package/package.json +2 -1
  26. package/lib/components/Input/index.d.ts +0 -6
  27. package/lib/components/Input/styles.d.ts +0 -18
  28. package/lib/components/Modal/ModalConfirm/styles.d.ts +0 -1
  29. package/lib/components/Modal/styles.d.ts +0 -8
  30. package/lib/components/MultiSelect/MultiSelect.stories.d.ts +0 -9
  31. package/lib/components/MultiSelect/index.d.ts +0 -4
  32. package/lib/components/Select/index.types.d.ts +0 -26
  33. /package/lib/components/Input/{index.types.d.ts → input.types.d.ts} +0 -0
  34. /package/lib/components/Modal/ModalConfirm/{index.d.ts → ModalConfirm.d.ts} +0 -0
  35. /package/lib/components/{MultiSelect/index.types.d.ts → Select/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>;
@@ -0,0 +1,2 @@
1
+ import React from "react";
2
+ export default function FooterAutocomposicao(): React.JSX.Element;
@@ -0,0 +1,6 @@
1
+ import type { Meta, StoryObj } from "@storybook/react";
2
+ import FooterAutocomposicao from "./FooterAutocomposicao";
3
+ declare const meta: Meta<typeof FooterAutocomposicao>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof FooterAutocomposicao>;
6
+ export declare const Default: Story;
@@ -1,8 +1,8 @@
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;
5
+ isCASC: boolean;
6
6
  options: IFuncoesMenuHorizontal[];
7
7
  optionSelection: (name: string, id: number) => void;
8
8
  name: string;
@@ -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>;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ interface IconProps extends React.SVGProps<SVGSVGElement> {
3
+ }
4
+ declare const IconFacebookLogo: React.FC<IconProps>;
5
+ export default IconFacebookLogo;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { SVGProps } from "react";
3
+ export declare const IconInstagramLogo: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
@@ -0,0 +1,5 @@
1
+ import React from 'react';
2
+ interface IconProps extends React.SVGProps<SVGSVGElement> {
3
+ }
4
+ declare const IconLinkedinLogo: React.FC<IconProps>;
5
+ export default IconLinkedinLogo;
@@ -0,0 +1,4 @@
1
+ import React from "react";
2
+ import { SVGProps } from "react";
3
+ declare const LogoCASC: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
4
+ export default LogoCASC;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { SVGProps } from "react";
3
+ export declare const IconTwitterLogo: (props: SVGProps<SVGSVGElement>) => React.JSX.Element;
package/lib/index.d.ts CHANGED
@@ -88,6 +88,7 @@ interface IFuncoesMenuHorizontal {
88
88
 
89
89
  interface HeaderProps {
90
90
  isRHDigital: boolean;
91
+ isCASC: boolean;
91
92
  options: IFuncoesMenuHorizontal[];
92
93
  optionSelection: (name: string, id: number) => void;
93
94
  name: string;
@@ -98,6 +99,8 @@ declare const Header: React.FC<HeaderProps>;
98
99
 
99
100
  declare function FooterComponent(): React.JSX.Element;
100
101
 
102
+ declare function FooterAutocomposicao(): React.JSX.Element;
103
+
101
104
  declare const IconDownload: (props?: SVGProps<SVGSVGElement>) => React.JSX.Element;
102
105
 
103
106
  declare const IconVisibillity: (props?: SVGProps<SVGSVGElement>) => React.JSX.Element;
@@ -144,4 +147,4 @@ declare const IconSwap: (props?: SVGProps<SVGSVGElement>) => React.JSX.Element;
144
147
 
145
148
  declare const IconAddCell: (props?: SVGProps<SVGSVGElement>) => React.JSX.Element;
146
149
 
147
- 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 };
150
+ export { Button, type ButtonProps, type DropdownProps, FooterComponent as Footer, FooterAutocomposicao, 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 };