pge-front-common 14.2.5-beta.4 → 14.2.5-beta.5
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/package.json +1 -1
- package/lib/components/Acordion/accordion.stories.d.ts +0 -11
- package/lib/components/Acordion/index.d.ts +0 -11
- package/lib/components/Acordion/index.types.d.ts +0 -6
- package/lib/components/BasicSelect/basicSelect.stories.d.ts +0 -7
- package/lib/components/BasicSelect/index.d.ts +0 -3
- package/lib/components/BasicSelect/index.types.d.ts +0 -20
- package/lib/components/BoxError/boxError.stories.d.ts +0 -6
- package/lib/components/BoxError/index.d.ts +0 -7
- package/lib/components/BoxSuccess/boxSuccess.stories.d.ts +0 -6
- package/lib/components/BoxSuccess/index.d.ts +0 -7
- package/lib/components/Button/Button.d.ts +0 -7
- package/lib/components/Button/Button.stories.d.ts +0 -9
- package/lib/components/ButtonUser/ButtonUser.d.ts +0 -12
- package/lib/components/ButtonUserCasc/ButtonUserCasc.d.ts +0 -14
- package/lib/components/CheckBox/CheckBox.stories.d.ts +0 -8
- package/lib/components/CheckBox/index.d.ts +0 -3
- package/lib/components/CheckBox/index.type.d.ts +0 -5
- package/lib/components/Chip/chip.stories.d.ts +0 -32
- package/lib/components/Chip/index.d.ts +0 -10
- package/lib/components/Chip/index.type.d.ts +0 -12
- package/lib/components/DropDown/Dropdown.d.ts +0 -29
- package/lib/components/Fieldset/fieldset.stories.d.ts +0 -14
- package/lib/components/Fieldset/index.d.ts +0 -3
- package/lib/components/Fieldset/index.type.d.ts +0 -6
- package/lib/components/FloatingMenu/FloatingMenu.stories.d.ts +0 -14
- package/lib/components/FloatingMenu/index.d.ts +0 -3
- package/lib/components/FloatingMenu/index.type.d.ts +0 -9
- package/lib/components/Footer/Footer.stories.d.ts +0 -6
- package/lib/components/Footer/index.d.ts +0 -7
- package/lib/components/Form/Form.stories.d.ts +0 -13
- package/lib/components/Header/Header.d.ts +0 -22
- package/lib/components/Header/Header.stories.d.ts +0 -11
- package/lib/components/HeaderPge/Header.d.ts +0 -22
- package/lib/components/HeaderPge/Header.stories.d.ts +0 -9
- package/lib/components/InformativeBox/InformativeBox.stories.d.ts +0 -11
- package/lib/components/InformativeBox/index.d.ts +0 -4
- package/lib/components/InformativeBox/index.type.d.ts +0 -9
- package/lib/components/InputDate/InputDate.stories.d.ts +0 -20
- package/lib/components/InputDate/index.d.ts +0 -6
- package/lib/components/InputDate/index.type.d.ts +0 -20
- package/lib/components/InputDate/installStyles.d.ts +0 -1
- package/lib/components/Loading/index.d.ts +0 -7
- package/lib/components/Loading/loading.stories.d.ts +0 -8
- package/lib/components/Menu/index.d.ts +0 -8
- package/lib/components/MenuAction/index.d.ts +0 -6
- package/lib/components/MenuAction/menuaction.stories.d.ts +0 -6
- package/lib/components/ModalUI/index.d.ts +0 -12
- package/lib/components/ModalUI/index.type.d.ts +0 -9
- package/lib/components/ModalUI/modalui.stories.d.ts +0 -7
- package/lib/components/MultiSelect/components.d.ts +0 -13
- package/lib/components/MultiSelect/icons.d.ts +0 -7
- package/lib/components/MultiSelect/index.d.ts +0 -4
- package/lib/components/MultiSelect/index.types.d.ts +0 -26
- package/lib/components/MultiSelect/multiselect.stories.d.ts +0 -9
- package/lib/components/MultiSelect/selectColourStyles.d.ts +0 -13
- package/lib/components/OverlayLoading/index.d.ts +0 -8
- package/lib/components/OverlayLoading/loading.stories.d.ts +0 -8
- package/lib/components/Pagination/index.d.ts +0 -9
- package/lib/components/Pagination/pagination.stories.d.ts +0 -9
- package/lib/components/PaginationV2/index.d.ts +0 -19
- package/lib/components/PaginationV2/pagination.stories.d.ts +0 -12
- package/lib/components/PaginationV2/selectPagination.d.ts +0 -13
- package/lib/components/PgeButton/PgeButton.stories.d.ts +0 -15
- package/lib/components/PgeButton/index.d.ts +0 -10
- package/lib/components/PgeButton/index.type.d.ts +0 -12
- package/lib/components/ProgressCircle/index.d.ts +0 -4
- package/lib/components/ProgressCircle/progressCircle.stories.d.ts +0 -12
- package/lib/components/ProgressCircle/progressCircle.types.d.ts +0 -8
- package/lib/components/RadioGroup/RadioGroup.d.ts +0 -4
- package/lib/components/RadioGroup/RadioGroup.stories.d.ts +0 -7
- package/lib/components/RadioGroup/radioGroup.types.d.ts +0 -19
- package/lib/components/Select/index.d.ts +0 -4
- package/lib/components/Select/index.types.d.ts +0 -26
- package/lib/components/Select/select.stories.d.ts +0 -10
- package/lib/components/SkeletonLoader/index.d.ts +0 -6
- package/lib/components/SkeletonLoader/skeletonloader.stories.d.ts +0 -8
- package/lib/components/Switch/index.d.ts +0 -36
- package/lib/components/Switch/index.types.d.ts +0 -7
- package/lib/components/Switch/switch.stories.d.ts +0 -9
- package/lib/components/Table/index.d.ts +0 -4
- package/lib/components/Table/index.types.d.ts +0 -26
- package/lib/components/Table/table.stories.d.ts +0 -16
- package/lib/components/TableV2/TableHeaderContext.d.ts +0 -2
- package/lib/components/TableV2/index.d.ts +0 -8
- package/lib/components/TableV2/index.types.d.ts +0 -20
- package/lib/components/TableV2/table.stories.d.ts +0 -6
- package/lib/components/Textarea/Textarea.d.ts +0 -4
- package/lib/components/Textarea/Textarea.stories.d.ts +0 -9
- package/lib/components/Textarea/textarea.types.d.ts +0 -16
- package/lib/components/Title/index.d.ts +0 -6
- package/lib/components/Title/title.stories.d.ts +0 -6
- package/lib/components/Tooltip/Tooltip.stories.d.ts +0 -6
- package/lib/components/Tooltip/index.d.ts +0 -3
- package/lib/components/Tooltip/index.type.d.ts +0 -6
- package/lib/components/TooltipWithPortal/TooltipWithPortal.stories.d.ts +0 -6
- package/lib/components/TooltipWithPortal/index.d.ts +0 -3
- package/lib/components/TooltipWithPortal/index.type.d.ts +0 -6
- package/lib/components/TreeSelect/TreeSelect.stories.d.ts +0 -16
- package/lib/components/TreeSelect/index.d.ts +0 -7
- package/lib/components/TreeSelect/index.type.d.ts +0 -22
- package/lib/components/TreeSelect/installStyles.d.ts +0 -1
- package/lib/components/Upload/FileUpload.stories.d.ts +0 -6
- package/lib/components/Upload/index.d.ts +0 -321
- package/lib/components/Upload/index.type.d.ts +0 -19
- package/lib/components/inputPassword/Input.stories.d.ts +0 -6
- package/lib/components/inputPassword/index.d.ts +0 -8
- package/lib/components/inputText/Input.stories.d.ts +0 -12
- package/lib/components/inputText/index.d.ts +0 -20
- package/lib/components/inputText/index.type.d.ts +0 -10
- package/lib/components/modal/Modal.d.ts +0 -3
- package/lib/components/modal/ModalBody.d.ts +0 -4
- package/lib/components/modal/ModalFooter.d.ts +0 -4
- package/lib/components/modal/ModalHeader.d.ts +0 -4
- package/lib/components/modal/index.d.ts +0 -5
- package/lib/components/modal/index.type.d.ts +0 -21
- package/lib/components/modal/modal.stories.d.ts +0 -11
- package/lib/components/theme.d.ts +0 -3
- package/lib/icons/add-cell-icon.d.ts +0 -2
- package/lib/icons/add-icon.d.ts +0 -2
- package/lib/icons/alert-icon.d.ts +0 -2
- package/lib/icons/arrow-expland-icon.d.ts +0 -2
- package/lib/icons/arrow-to-recall-icon.d.ts +0 -2
- package/lib/icons/attention-icon.d.ts +0 -2
- package/lib/icons/calculate-icon.d.ts +0 -2
- package/lib/icons/calendar-icon.d.ts +0 -2
- package/lib/icons/certidao-regularidade-fiscal.d.ts +0 -2
- package/lib/icons/check-circle-icon.d.ts +0 -2
- package/lib/icons/check-icon.d.ts +0 -2
- package/lib/icons/check-success-icon.d.ts +0 -2
- package/lib/icons/circle-expland-icon.d.ts +0 -2
- package/lib/icons/circle-to-recall-icon.d.ts +0 -2
- package/lib/icons/close-icon.d.ts +0 -2
- package/lib/icons/common-dot-icon.d.ts +0 -2
- package/lib/icons/debito-fiscal-icon.d.ts +0 -2
- package/lib/icons/delete-icon.d.ts +0 -2
- package/lib/icons/dots-vertical.d.ts +0 -2
- package/lib/icons/download-icon.d.ts +0 -2
- package/lib/icons/edit-icon.d.ts +0 -2
- package/lib/icons/emissao-darj-icon.d.ts +0 -2
- package/lib/icons/error-icon.d.ts +0 -2
- package/lib/icons/event-avaliable-icon.d.ts +0 -2
- package/lib/icons/exclude-icon.d.ts +0 -2
- package/lib/icons/eye-close-icon.d.ts +0 -2
- package/lib/icons/eye-open-icon.d.ts +0 -2
- package/lib/icons/facebook-icon.d.ts +0 -5
- package/lib/icons/footer.d.ts +0 -2
- package/lib/icons/footerLight.d.ts +0 -2
- package/lib/icons/hour-glass-icon.d.ts +0 -3
- package/lib/icons/icons.stories.d.ts +0 -5
- package/lib/icons/index.d.ts +0 -65
- package/lib/icons/info-round-icon.d.ts +0 -2
- package/lib/icons/informative-icon.d.ts +0 -2
- package/lib/icons/instagram-icon.d.ts +0 -3
- package/lib/icons/invisibility-icon.d.ts +0 -2
- package/lib/icons/left-arrow-icon.d.ts +0 -2
- package/lib/icons/left-direction-icon.d.ts +0 -2
- package/lib/icons/linkedin-icon.d.ts +0 -5
- package/lib/icons/logo-casc.d.ts +0 -4
- package/lib/icons/logo-divida-ativa.d.ts +0 -3
- package/lib/icons/logo-pge-beneficios.d.ts +0 -3
- package/lib/icons/logo-pge-rj.d.ts +0 -3
- package/lib/icons/logo-rh-digital.d.ts +0 -3
- package/lib/icons/logout-icon.d.ts +0 -2
- package/lib/icons/mail-icon.d.ts +0 -2
- package/lib/icons/menu-icon.d.ts +0 -3
- package/lib/icons/new-tab-icon.d.ts +0 -2
- package/lib/icons/parcelamento-icon.d.ts +0 -2
- package/lib/icons/payment-icon.d.ts +0 -2
- package/lib/icons/pdf-icon.d.ts +0 -2
- package/lib/icons/print-icon.d.ts +0 -2
- package/lib/icons/profile-icon.d.ts +0 -2
- package/lib/icons/question-mark-icon.d.ts +0 -2
- package/lib/icons/remove-icon.d.ts +0 -2
- package/lib/icons/right-arrow-icon.d.ts +0 -2
- package/lib/icons/right-direction-icon.d.ts +0 -2
- package/lib/icons/search-icon.d.ts +0 -2
- package/lib/icons/success-icon.d.ts +0 -2
- package/lib/icons/swap-icon.d.ts +0 -2
- package/lib/icons/triangle-expand-icon.d.ts +0 -2
- package/lib/icons/triangle-to-recall-icon.d.ts +0 -2
- package/lib/icons/twitter-icon.d.ts +0 -3
- package/lib/icons/two-user-icon.d.ts +0 -2
- package/lib/icons/two-user-search-icon.d.ts +0 -2
- package/lib/icons/up-arrow-icon.d.ts +0 -2
- package/lib/icons/up-down-arrow.d.ts +0 -2
- package/lib/icons/upload-file-icon.d.ts +0 -2
- package/lib/icons/upload-file.d.ts +0 -2
- package/lib/icons/upload-icon.d.ts +0 -2
- package/lib/icons/upload-iconV2.d.ts +0 -2
- package/lib/icons/user-icon.d.ts +0 -2
- package/lib/icons/user-logout-icon.d.ts +0 -2
- package/lib/icons/view-icon.d.ts +0 -2
- package/lib/icons/visibility-icon.d.ts +0 -2
- package/lib/icons/warning-icon.d.ts +0 -2
- package/lib/index.d.ts +0 -1045
- package/lib/index.esm.js +0 -27637
- package/lib/index.esm.js.map +0 -1
- package/lib/index.js +0 -27763
- package/lib/index.js.map +0 -1
- package/lib/utils/useDarkMode.d.ts +0 -1
- package/lib/utils/useIsMobile.d.ts +0 -1
package/package.json
CHANGED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { Accordion } from "./index";
|
|
3
|
-
declare const _default: {
|
|
4
|
-
title: string;
|
|
5
|
-
component: typeof Accordion;
|
|
6
|
-
tags: string[];
|
|
7
|
-
};
|
|
8
|
-
export default _default;
|
|
9
|
-
export declare const DefaultAccordion: () => React.JSX.Element;
|
|
10
|
-
export declare const AccordionWithDefaultOpen: () => React.JSX.Element;
|
|
11
|
-
export declare const AccordionWithComplexContent: () => React.JSX.Element;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface AccordionItemProps {
|
|
3
|
-
title: React.ReactNode;
|
|
4
|
-
content: React.ReactNode;
|
|
5
|
-
id?: string;
|
|
6
|
-
defaultOpen?: boolean;
|
|
7
|
-
}
|
|
8
|
-
export declare function AccordionItem({ title, content, id: providedId, defaultOpen, }: AccordionItemProps): React.JSX.Element;
|
|
9
|
-
export declare function Accordion({ children }: {
|
|
10
|
-
children: React.ReactNode;
|
|
11
|
-
}): React.JSX.Element;
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import { Meta } from "@storybook/react";
|
|
2
|
-
import { SelectDefaultProps } from "./index.types";
|
|
3
|
-
declare const _default: Meta;
|
|
4
|
-
export default _default;
|
|
5
|
-
export declare const Default: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, SelectDefaultProps>;
|
|
6
|
-
export declare const DisabledSelect: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, SelectDefaultProps>;
|
|
7
|
-
export declare const ErrorState: import("@storybook/core/csf").AnnotatedStoryFn<import("@storybook/react").ReactRenderer, SelectDefaultProps>;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import * as React from "react";
|
|
2
|
-
import { SelectDefaultProps } from "./index.types";
|
|
3
|
-
export declare const BasicSelect: ({ name, optionsSelect, placeholder, isDisabled, label, hasError, handleChange, isRequired, value, isClearable, }: SelectDefaultProps) => React.JSX.Element;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface SelectDefaultProps {
|
|
3
|
-
name: string;
|
|
4
|
-
optionsSelect: OptionsProps[];
|
|
5
|
-
value: any;
|
|
6
|
-
placeholder?: string;
|
|
7
|
-
className?: string;
|
|
8
|
-
label?: React.ReactNode;
|
|
9
|
-
handleChange: (selectedOptions: OptionsProps) => void;
|
|
10
|
-
handleInputChange?: (inputValue: string) => void;
|
|
11
|
-
isDisabled?: boolean;
|
|
12
|
-
isRequired?: boolean;
|
|
13
|
-
inputRef?: unknown;
|
|
14
|
-
hasError?: boolean;
|
|
15
|
-
isClearable?: boolean;
|
|
16
|
-
}
|
|
17
|
-
export type OptionsProps = {
|
|
18
|
-
label: string;
|
|
19
|
-
value: string;
|
|
20
|
-
};
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface ButtonProps extends React.ButtonHTMLAttributes<HTMLButtonElement> {
|
|
3
|
-
variant: "primary" | "secondary" | "outline-danger";
|
|
4
|
-
text: string;
|
|
5
|
-
leftIcon?: React.ReactNode;
|
|
6
|
-
}
|
|
7
|
-
export declare function Button({ variant, text, leftIcon, ...props }: ButtonProps): React.JSX.Element;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import { Button } from "./Button";
|
|
3
|
-
declare const meta: Meta<typeof Button>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Primary: Story;
|
|
7
|
-
export declare const Secondary: Story;
|
|
8
|
-
export declare const OutlineDanger: Story;
|
|
9
|
-
export declare const WithIcon: Story;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface UserButtonProps {
|
|
3
|
-
fullName?: string;
|
|
4
|
-
firstName?: string;
|
|
5
|
-
name: string;
|
|
6
|
-
userName: string;
|
|
7
|
-
handleLogout: () => void;
|
|
8
|
-
isPortalServidor?: boolean;
|
|
9
|
-
hasGestor?: boolean;
|
|
10
|
-
profile?: string;
|
|
11
|
-
}
|
|
12
|
-
export default function UserButton({ fullName, firstName, name, userName, handleLogout, isPortalServidor, profile, hasGestor, }: UserButtonProps): React.JSX.Element;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface UserButtonCascProps {
|
|
3
|
-
fullName?: string;
|
|
4
|
-
firstName?: string;
|
|
5
|
-
name: string;
|
|
6
|
-
userName: string;
|
|
7
|
-
handleLogout: () => void;
|
|
8
|
-
isPortalServidor?: boolean;
|
|
9
|
-
isCASC?: boolean;
|
|
10
|
-
hasGestor?: boolean;
|
|
11
|
-
profile?: string;
|
|
12
|
-
isResponsiveCASC?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export default function UserCascButton({ name, handleLogout, isCASC, }: UserButtonCascProps): React.JSX.Element;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import { Checkbox } from "./index";
|
|
3
|
-
declare const meta: Meta<typeof Checkbox>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Unchecked: Story;
|
|
8
|
-
export declare const Disabled: Story;
|
|
@@ -1,32 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import { Chip } from "./index";
|
|
3
|
-
declare const meta: Meta<typeof Chip>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Primary: Story;
|
|
8
|
-
export declare const Information: Story;
|
|
9
|
-
export declare const Success: Story;
|
|
10
|
-
export declare const Warning: Story;
|
|
11
|
-
export declare const Error: Story;
|
|
12
|
-
export declare const Avatar: Story;
|
|
13
|
-
export declare const Small: Story;
|
|
14
|
-
export declare const Medium: Story;
|
|
15
|
-
export declare const Large: Story;
|
|
16
|
-
export declare const WithLeftIcon: Story;
|
|
17
|
-
export declare const SuccessWithIcon: Story;
|
|
18
|
-
export declare const WarningWithIcon: Story;
|
|
19
|
-
export declare const ErrorWithIcon: Story;
|
|
20
|
-
export declare const AvatarWithIcon: Story;
|
|
21
|
-
export declare const WithRightIcon: Story;
|
|
22
|
-
export declare const InfoWithRightIcon: Story;
|
|
23
|
-
export declare const DeleteWithRightIcon: Story;
|
|
24
|
-
export declare const WithBothIcons: Story;
|
|
25
|
-
export declare const ProcessWithBothIcons: Story;
|
|
26
|
-
export declare const Disabled: Story;
|
|
27
|
-
export declare const DisabledWithIcon: Story;
|
|
28
|
-
export declare const StatusChips: Story;
|
|
29
|
-
export declare const CategoryChips: Story;
|
|
30
|
-
export declare const ActionChips: Story;
|
|
31
|
-
export declare const SizeComparison: Story;
|
|
32
|
-
export declare const AllVariants: Story;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export declare const Chip: React.ForwardRefExoticComponent<{
|
|
3
|
-
variant?: import("./index.type").ChipVariant;
|
|
4
|
-
size?: import("./index.type").ChipSize;
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
leftIcon?: React.ReactNode;
|
|
7
|
-
rightIcon?: React.ReactNode;
|
|
8
|
-
className?: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
} & React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export type ChipVariant = "primary" | "information" | "success" | "warning" | "error" | "avatar";
|
|
3
|
-
export type ChipSize = "small" | "medium" | "large";
|
|
4
|
-
export type ChipProps = {
|
|
5
|
-
variant?: ChipVariant;
|
|
6
|
-
size?: ChipSize;
|
|
7
|
-
children: React.ReactNode;
|
|
8
|
-
leftIcon?: React.ReactNode;
|
|
9
|
-
rightIcon?: React.ReactNode;
|
|
10
|
-
className?: string;
|
|
11
|
-
disabled?: boolean;
|
|
12
|
-
} & React.HTMLAttributes<HTMLDivElement>;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React, { JSX } from "react";
|
|
2
|
-
export interface IFuncionalidade {
|
|
3
|
-
id: number;
|
|
4
|
-
nome: string;
|
|
5
|
-
chave: string;
|
|
6
|
-
checked: boolean;
|
|
7
|
-
}
|
|
8
|
-
export interface ISubMenuMenuHorizontal {
|
|
9
|
-
id: number;
|
|
10
|
-
nome: string;
|
|
11
|
-
chave: string;
|
|
12
|
-
funcionalidades: IFuncionalidade[];
|
|
13
|
-
checked: boolean;
|
|
14
|
-
}
|
|
15
|
-
export interface IFuncoesMenuHorizontal {
|
|
16
|
-
id: number;
|
|
17
|
-
nome: string;
|
|
18
|
-
submenu: ISubMenuMenuHorizontal[];
|
|
19
|
-
checked: boolean;
|
|
20
|
-
chave: string;
|
|
21
|
-
}
|
|
22
|
-
type DropDownProps = React.HTMLProps<HTMLDivElement> & {
|
|
23
|
-
options: IFuncoesMenuHorizontal[];
|
|
24
|
-
showDropDown: boolean;
|
|
25
|
-
toggleDropDown: Function;
|
|
26
|
-
optionSelection: (name: string, id: number) => void;
|
|
27
|
-
};
|
|
28
|
-
declare const DropDown: ({ options, optionSelection, toggleDropDown, ...restProps }: DropDownProps) => JSX.Element;
|
|
29
|
-
export default DropDown;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import Fieldset from "./index";
|
|
3
|
-
declare const meta: Meta<typeof Fieldset>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const WithoutLegend: Story;
|
|
8
|
-
export declare const WithMultipleInputs: Story;
|
|
9
|
-
export declare const WithDisabledInputs: Story;
|
|
10
|
-
export declare const WithCustomClassName: Story;
|
|
11
|
-
export declare const WithComplexContent: Story;
|
|
12
|
-
export declare const WithCheckboxAndRadio: Story;
|
|
13
|
-
export declare const Minimal: Story;
|
|
14
|
-
export declare const NestedFieldsets: Story;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import { FloatingMenu } from "./index";
|
|
3
|
-
declare const meta: Meta<typeof FloatingMenu>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof FloatingMenu>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const TopLeft: Story;
|
|
8
|
-
export declare const TopRight: Story;
|
|
9
|
-
export declare const BottomLeft: Story;
|
|
10
|
-
export declare const BottomRight: Story;
|
|
11
|
-
export declare const LeftEdgeCenter: Story;
|
|
12
|
-
export declare const RightEdgeCenter: Story;
|
|
13
|
-
export declare const TopEdgeCenter: Story;
|
|
14
|
-
export declare const BottomEdgeCenter: Story;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
declare const meta: Meta;
|
|
3
|
-
export default meta;
|
|
4
|
-
type Story = StoryObj;
|
|
5
|
-
export interface FormProps {
|
|
6
|
-
required?: boolean;
|
|
7
|
-
disabled?: boolean;
|
|
8
|
-
restrictionMessage?: string;
|
|
9
|
-
checked?: boolean;
|
|
10
|
-
value?: string;
|
|
11
|
-
showCounter?: boolean;
|
|
12
|
-
}
|
|
13
|
-
export declare const FormularioCompleto: Story;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
export interface HeaderProps {
|
|
3
|
-
isRHDigital?: boolean;
|
|
4
|
-
isHonorarios?: boolean;
|
|
5
|
-
isCASC?: boolean;
|
|
6
|
-
isResponsiveCASC?: boolean;
|
|
7
|
-
optionSelection: (name: string, id: number) => void;
|
|
8
|
-
options: any[];
|
|
9
|
-
name: string;
|
|
10
|
-
userName: string;
|
|
11
|
-
handleLogout: () => void;
|
|
12
|
-
isPortalServidor?: boolean;
|
|
13
|
-
isPortalBeneficios?: boolean;
|
|
14
|
-
extraComponent?: React.ReactNode;
|
|
15
|
-
profile?: string;
|
|
16
|
-
hasGestor?: boolean;
|
|
17
|
-
fullName?: string;
|
|
18
|
-
firstName?: string;
|
|
19
|
-
hasLogin?: boolean;
|
|
20
|
-
}
|
|
21
|
-
declare const Header: ({ isRHDigital, isCASC, isResponsiveCASC, optionSelection, options, name, userName, handleLogout, isPortalServidor, isPortalBeneficios, profile, hasGestor, fullName, firstName, isHonorarios, extraComponent, hasLogin, }: HeaderProps) => React.JSX.Element;
|
|
22
|
-
export default Header;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import Header from "./Header";
|
|
3
|
-
declare const meta: Meta<typeof Header>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const WithPGERGLogo: Story;
|
|
8
|
-
export declare const WithPGEBENEFICIOSLogo: Story;
|
|
9
|
-
export declare const WithCASCLogo: Story;
|
|
10
|
-
export declare const WithExtraComponent: Story;
|
|
11
|
-
export declare const WithoutLogin: Story;
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { IFuncoesMenuHorizontal } from "../DropDown/Dropdown";
|
|
3
|
-
export interface HeaderProps {
|
|
4
|
-
isRHDigital: boolean;
|
|
5
|
-
isCASC?: boolean;
|
|
6
|
-
hasGestor?: boolean;
|
|
7
|
-
isPortalServidor?: boolean;
|
|
8
|
-
isResponsiveCASC?: boolean;
|
|
9
|
-
options: IFuncoesMenuHorizontal[];
|
|
10
|
-
optionSelection: (name: string, id: number) => void;
|
|
11
|
-
name: string;
|
|
12
|
-
userName: string;
|
|
13
|
-
handleLogout: () => void;
|
|
14
|
-
handleLogin?: () => void;
|
|
15
|
-
profile?: string;
|
|
16
|
-
fullName?: string;
|
|
17
|
-
firstName?: string;
|
|
18
|
-
brandLogos?: React.ReactNode;
|
|
19
|
-
showLoginButton?: boolean;
|
|
20
|
-
}
|
|
21
|
-
declare const HeaderPge: ({ isRHDigital, isCASC, isResponsiveCASC, optionSelection, options, name, userName, handleLogout, handleLogin, isPortalServidor, profile, hasGestor, fullName, firstName, brandLogos, showLoginButton, }: HeaderProps) => React.JSX.Element;
|
|
22
|
-
export default HeaderPge;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import Header from "./Header";
|
|
3
|
-
declare const meta: Meta<typeof Header>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const WithPGERGLogo: Story;
|
|
8
|
-
export declare const WithCASCLogo: Story;
|
|
9
|
-
export declare const ShowLoginButton: Story;
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import { InformativeBox } from "./index";
|
|
3
|
-
declare const meta: Meta<typeof InformativeBox>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Success: Story;
|
|
8
|
-
export declare const SuccessFullWidth: Story;
|
|
9
|
-
export declare const SuccessFitContent: Story;
|
|
10
|
-
export declare const Alert: Story;
|
|
11
|
-
export declare const Warning: Story;
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { HtmlHTMLAttributes, ReactNode } from "react";
|
|
2
|
-
export interface InformativeBoxProps extends Omit<HtmlHTMLAttributes<HTMLDivElement>, "title"> {
|
|
3
|
-
infoType: "success" | "alert" | "warning" | "informative";
|
|
4
|
-
widthType?: "fitContent" | "fullWidth";
|
|
5
|
-
title: string | ReactNode;
|
|
6
|
-
message: string | ReactNode;
|
|
7
|
-
hasDismissButton?: boolean;
|
|
8
|
-
onClose?: () => void;
|
|
9
|
-
}
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import { DateInput } from "./index";
|
|
3
|
-
declare const meta: Meta<typeof DateInput>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Required: Story;
|
|
8
|
-
export declare const WithError: Story;
|
|
9
|
-
export declare const Disabled: Story;
|
|
10
|
-
export declare const WithRestrictionMessage: Story;
|
|
11
|
-
export declare const MultipleSelection: Story;
|
|
12
|
-
export declare const RangeSelection: Story;
|
|
13
|
-
export declare const Inline: Story;
|
|
14
|
-
export declare const InlineMultiple: Story;
|
|
15
|
-
export declare const InlineRange: Story;
|
|
16
|
-
export declare const WithPreSelectedDate: Story;
|
|
17
|
-
export declare const WithEnabledDates: Story;
|
|
18
|
-
export declare const WithViewMonth: Story;
|
|
19
|
-
export declare const WithViewYear: Story;
|
|
20
|
-
export declare const AllScenarios: Story;
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import "primereact/resources/primereact.css";
|
|
3
|
-
import "primereact/resources/themes/lara-light-blue/theme.css";
|
|
4
|
-
import { InputBaseProps } from "./index.type";
|
|
5
|
-
declare const DateInput: ({ restrictionMessage, label, onChange, isError, valueDate, disabled, placeholder, required, inline, selectionMode, enabledDates, view, dateFormat, }: InputBaseProps) => React.JSX.Element;
|
|
6
|
-
export { DateInput };
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { InputHTMLAttributes } from "react";
|
|
2
|
-
export interface InputBaseProps extends InputHTMLAttributes<HTMLInputElement> {
|
|
3
|
-
customClass?: string;
|
|
4
|
-
restrictionMessage?: string;
|
|
5
|
-
label?: string;
|
|
6
|
-
hasIcon?: boolean;
|
|
7
|
-
Icon?: React.ReactNode;
|
|
8
|
-
inputRef?: unknown;
|
|
9
|
-
onChange?: (e: React.ChangeEvent<HTMLInputElement>) => void;
|
|
10
|
-
isError?: boolean;
|
|
11
|
-
valueDate?: Date | Date[] | string | null;
|
|
12
|
-
disabled?: boolean;
|
|
13
|
-
isInvalid?: boolean;
|
|
14
|
-
required?: boolean | false;
|
|
15
|
-
inline?: boolean | false;
|
|
16
|
-
selectionMode?: "single" | "multiple" | "range";
|
|
17
|
-
enabledDates?: Date[] | null;
|
|
18
|
-
view?: "date" | "month" | "year";
|
|
19
|
-
dateFormat?: string | "dd/mm/yy";
|
|
20
|
-
}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function installPrimeReactStyles(): void;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import LoadingSpinner from "./index";
|
|
3
|
-
declare const meta: Meta<typeof LoadingSpinner>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const Hidden: Story;
|
|
8
|
-
export declare const CustomText: Story;
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { IFuncoesMenuHorizontal } from "../DropDown/Dropdown";
|
|
3
|
-
export interface MenuProps {
|
|
4
|
-
options: IFuncoesMenuHorizontal[];
|
|
5
|
-
optionSelection: (name: string, id: number) => void;
|
|
6
|
-
}
|
|
7
|
-
declare const Menu: ({ options, optionSelection }: MenuProps) => React.JSX.Element;
|
|
8
|
-
export default Menu;
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
interface ModalProps {
|
|
3
|
-
isModalOpen: boolean;
|
|
4
|
-
onOpenChange: React.Dispatch<React.SetStateAction<boolean>>;
|
|
5
|
-
children: React.ReactNode;
|
|
6
|
-
title?: string;
|
|
7
|
-
triggerId?: string;
|
|
8
|
-
className?: string;
|
|
9
|
-
style?: React.CSSProperties;
|
|
10
|
-
}
|
|
11
|
-
export declare const ModalUI: ({ isModalOpen, onOpenChange, children, title, triggerId, className, style, }: ModalProps) => React.JSX.Element;
|
|
12
|
-
export {};
|
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { HtmlHTMLAttributes } from "react";
|
|
2
|
-
export interface InformativeBoxProps extends HtmlHTMLAttributes<HTMLDivElement> {
|
|
3
|
-
infoType: 'success' | 'alert' | 'warning' | 'informative';
|
|
4
|
-
widthType?: 'fitContent' | 'fullWidth';
|
|
5
|
-
title: string;
|
|
6
|
-
message: string;
|
|
7
|
-
hasDismissButton?: boolean;
|
|
8
|
-
onClose?: () => void;
|
|
9
|
-
}
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import type { Meta, StoryObj } from "@storybook/react";
|
|
2
|
-
import { ModalUI } from "./index";
|
|
3
|
-
declare const meta: Meta<typeof ModalUI>;
|
|
4
|
-
export default meta;
|
|
5
|
-
type Story = StoryObj<typeof meta>;
|
|
6
|
-
export declare const Default: Story;
|
|
7
|
-
export declare const LargeContent: Story;
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ReactNode, JSX } from "react";
|
|
2
|
-
declare const Option: (props: any) => JSX.Element;
|
|
3
|
-
declare const MenuList: (props: any) => JSX.Element;
|
|
4
|
-
declare const Menu: (props: JSX.IntrinsicElements["div"]) => JSX.Element;
|
|
5
|
-
declare const Blanket: (props: JSX.IntrinsicElements["div"]) => JSX.Element;
|
|
6
|
-
declare const Dropdown: ({ children, isOpen, target, onClose, }: {
|
|
7
|
-
children?: ReactNode;
|
|
8
|
-
readonly isOpen: boolean;
|
|
9
|
-
readonly target: ReactNode;
|
|
10
|
-
readonly onClose: () => void;
|
|
11
|
-
readonly selecionados: any[];
|
|
12
|
-
}) => JSX.Element;
|
|
13
|
-
export { Option, MenuList, Menu, Blanket, Dropdown };
|
|
@@ -1,7 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
declare const IconDelete: () => React.JSX.Element;
|
|
3
|
-
declare const IconSeparator: () => React.JSX.Element;
|
|
4
|
-
declare const IconCheckboxEmpty: () => React.JSX.Element;
|
|
5
|
-
declare const IconCheckboxChecked: () => React.JSX.Element;
|
|
6
|
-
declare const IconCheckboxMinus: () => React.JSX.Element;
|
|
7
|
-
export { IconDelete, IconCheckboxEmpty, IconCheckboxChecked, IconCheckboxMinus, IconSeparator, };
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import { SelectMultProps } from "./index.types";
|
|
3
|
-
declare const SelectMult: ({ name, optionsSelect, value, placeholder, label, handleChange, isMulti, disabled, fetchOptions, required, textError, hasError, message, Icon, isSearchable, isClearable, isCheckedAll, maxMenuHeight, }: SelectMultProps) => React.JSX.Element;
|
|
4
|
-
export default SelectMult;
|