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.
- package/lib/components/ButtonUser/{index.d.ts → ButtonUser.d.ts} +0 -1
- package/lib/components/DropDown/{index.d.ts → Dropdown.d.ts} +0 -1
- package/lib/components/Footer/{index.d.ts → Footer.d.ts} +0 -1
- package/lib/components/Footer/Footer.stories.d.ts +1 -1
- package/lib/components/FooterAutocomposicao/FooterAutocomposicao.d.ts +2 -0
- package/lib/components/FooterAutocomposicao/FooterAutocomposicao.stories.d.ts +6 -0
- package/lib/components/Header/{index.d.ts → Header.d.ts} +2 -2
- package/lib/components/Header/Header.stories.d.ts +1 -1
- package/lib/components/Input/Input.d.ts +4 -0
- package/lib/components/Input/Input.stories.d.ts +1 -1
- package/lib/components/Menu/index.d.ts +1 -1
- package/lib/components/Modal/ModalConfirm/ModalConfirm.stories.d.ts +1 -1
- package/lib/components/Select/{index.d.ts → Select.d.ts} +1 -2
- package/lib/components/Select/Select.stories.d.ts +1 -1
- package/lib/icons/facebook-icon.d.ts +5 -0
- package/lib/icons/instagram-icon.d.ts +3 -0
- package/lib/icons/linkedin-icon.d.ts +5 -0
- package/lib/icons/logo-casc.d.ts +4 -0
- package/lib/icons/twitter-icon.d.ts +3 -0
- package/lib/index.d.ts +4 -1
- package/lib/index.esm.js +177 -1032
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +189 -1043
- package/lib/index.js.map +1 -1
- package/package.json +2 -1
- package/lib/components/Input/index.d.ts +0 -6
- package/lib/components/Input/styles.d.ts +0 -18
- package/lib/components/Modal/ModalConfirm/styles.d.ts +0 -1
- package/lib/components/Modal/styles.d.ts +0 -8
- package/lib/components/MultiSelect/MultiSelect.stories.d.ts +0 -9
- package/lib/components/MultiSelect/index.d.ts +0 -4
- package/lib/components/Select/index.types.d.ts +0 -26
- /package/lib/components/Input/{index.types.d.ts → input.types.d.ts} +0 -0
- /package/lib/components/Modal/ModalConfirm/{index.d.ts → ModalConfirm.d.ts} +0 -0
- /package/lib/components/{MultiSelect/index.types.d.ts → Select/select.types.d.ts} +0 -0
|
@@ -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 "
|
|
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 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("./
|
|
5
|
+
component: React.FC<import("./ModalConfirm").ModalConfirmProps>;
|
|
6
6
|
parameters: {
|
|
7
7
|
layout: string;
|
|
8
8
|
};
|
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 };
|