pge-front-common 14.1.31 → 14.1.33
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/FloatingMenu/FloatingMenu.stories.d.ts +14 -0
- package/lib/components/FloatingMenu/index.d.ts +3 -0
- package/lib/components/FloatingMenu/index.type.d.ts +9 -0
- package/lib/components/PaginationV2/index.d.ts +2 -1
- package/lib/components/PaginationV2/pagination.stories.d.ts +1 -0
- package/lib/components/PaginationV2/selectPagination.d.ts +2 -1
- package/lib/icons/calculate-icon.d.ts +2 -0
- package/lib/icons/index.d.ts +6 -1
- package/lib/icons/payment-icon.d.ts +2 -0
- package/lib/icons/two-user-icon.d.ts +2 -0
- package/lib/icons/two-user-search-icon.d.ts +2 -0
- package/lib/icons/up-arrow-icon.d.ts +2 -0
- package/lib/index.d.ts +27 -2
- package/lib/index.esm.js +579 -393
- package/lib/index.esm.js.map +1 -1
- package/lib/index.js +585 -392
- package/lib/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -0,0 +1,14 @@
|
|
|
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;
|
|
@@ -13,6 +13,7 @@ interface PaginationProps {
|
|
|
13
13
|
value: number;
|
|
14
14
|
label: string;
|
|
15
15
|
}[];
|
|
16
|
+
dropdownDirection?: "down" | "up";
|
|
16
17
|
}
|
|
17
|
-
declare const Pagination: ({ countPage, currentPage, totalItems, itemsPerPage, handleNext, handlePrevious, handleItemPorPage, pagina, handlePage, defaultOptions, }: PaginationProps) => React.JSX.Element;
|
|
18
|
+
declare const Pagination: ({ countPage, currentPage, totalItems, itemsPerPage, handleNext, handlePrevious, handleItemPorPage, pagina, handlePage, defaultOptions, dropdownDirection, }: PaginationProps) => React.JSX.Element;
|
|
18
19
|
export default Pagination;
|
|
@@ -7,6 +7,7 @@ interface SelectProps {
|
|
|
7
7
|
}>;
|
|
8
8
|
onChange: (value: number | string) => void;
|
|
9
9
|
className?: string;
|
|
10
|
+
direction?: "down" | "up";
|
|
10
11
|
}
|
|
11
|
-
declare const SelectPagination: ({ value, options, onChange, className, }: SelectProps) => React.JSX.Element;
|
|
12
|
+
declare const SelectPagination: ({ value, options, onChange, className, direction, }: SelectProps) => React.JSX.Element;
|
|
12
13
|
export default SelectPagination;
|
package/lib/icons/index.d.ts
CHANGED
|
@@ -57,4 +57,9 @@ import { IconCertidaoRegularidade } from "./certidao-regularidade-fiscal";
|
|
|
57
57
|
import { IconParcelamento } from "./parcelamento-icon";
|
|
58
58
|
import { IconArrowRight } from "./right-arrow-icon";
|
|
59
59
|
import { IconArrowLeft } from "./left-arrow-icon";
|
|
60
|
-
|
|
60
|
+
import { IconPayment } from "./payment-icon";
|
|
61
|
+
import { IconTwoUsers } from "./two-user-icon";
|
|
62
|
+
import { IconTwoUsersSearch } from "./two-user-search-icon";
|
|
63
|
+
import { IconCalculate } from "./calculate-icon";
|
|
64
|
+
import { IconUpArrow } from "./up-arrow-icon";
|
|
65
|
+
export { IconPayment, IconTwoUsers, IconTwoUsersSearch, IconCalculate, IconUpArrow, IconArrowRight, IconArrowLeft, IconCertidaoRegularidade, IconEmissaoDarj, IconDebitoFiscal, IconParcelamento, IconLeftDirection, IconRightDirection, IconInformative, IconCheckSuccess, IconAlert, IconAttention, IconPrint, IconDownload, IconVisibility, IconEdit, IconDelete, IconDotsVertical, IconCalendar, IconProfile, IconUpload, IconNewTab, IconWarning, IconCheckCircle, IconEventAvaliable, IconLogout, IconCLose, IconAdd, IconRemove, IconCircleExpland, IconCircleRecall, IconArrowExpland, IconArrowRecall, IconTriangleExpand, IconTriangleRecall, IconSwap, IconAddCell, MenuIcon, LogoRhDigital, LogoPGERG, LogoPGEBeneficios, IconInvisibility, IconPdf, IconHourglass, IconSearch, IconUpAndDownArror, IconCheck, IconUploadFile, LogoDividaAtiva, IconUploadV2, IconQuestionMark, IconUserLogout, CommonDotIcon, IconExclude, IconView, IconUploadFile2, IconInfoRound, IconMail, IconUsers, };
|
package/lib/index.d.ts
CHANGED
|
@@ -515,8 +515,9 @@ interface PaginationProps {
|
|
|
515
515
|
value: number;
|
|
516
516
|
label: string;
|
|
517
517
|
}[];
|
|
518
|
+
dropdownDirection?: "down" | "up";
|
|
518
519
|
}
|
|
519
|
-
declare const Pagination: ({ countPage, currentPage, totalItems, itemsPerPage, handleNext, handlePrevious, handleItemPorPage, pagina, handlePage, defaultOptions, }: PaginationProps) => React__default.JSX.Element;
|
|
520
|
+
declare const Pagination: ({ countPage, currentPage, totalItems, itemsPerPage, handleNext, handlePrevious, handleItemPorPage, pagina, handlePage, defaultOptions, dropdownDirection, }: PaginationProps) => React__default.JSX.Element;
|
|
520
521
|
|
|
521
522
|
interface SelectMultProps {
|
|
522
523
|
name?: string;
|
|
@@ -858,6 +859,18 @@ declare const Chip: React__default.ForwardRefExoticComponent<{
|
|
|
858
859
|
disabled?: boolean;
|
|
859
860
|
} & React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
|
|
860
861
|
|
|
862
|
+
interface FloatingMenuProps {
|
|
863
|
+
anchor?: HTMLElement | null;
|
|
864
|
+
anchorContent?: React.ReactNode;
|
|
865
|
+
isOpen?: boolean;
|
|
866
|
+
onClose?: () => void;
|
|
867
|
+
children: React.ReactNode;
|
|
868
|
+
className?: string;
|
|
869
|
+
style?: React.CSSProperties;
|
|
870
|
+
}
|
|
871
|
+
|
|
872
|
+
declare const FloatingMenu: ({ anchor, anchorContent, isOpen, onClose, children, className, style, }: FloatingMenuProps) => React__default.JSX.Element | null;
|
|
873
|
+
|
|
861
874
|
declare const IconDownload: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
862
875
|
|
|
863
876
|
declare const IconVisibility: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
@@ -866,6 +879,8 @@ declare const IconEdit: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.
|
|
|
866
879
|
|
|
867
880
|
declare const IconDelete: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
868
881
|
|
|
882
|
+
declare const IconDotsVertical: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
883
|
+
|
|
869
884
|
declare const IconCalendar: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
870
885
|
|
|
871
886
|
declare const IconProfile: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
@@ -954,6 +969,16 @@ declare const IconArrowRight: (props?: SVGProps<SVGSVGElement>) => React__defaul
|
|
|
954
969
|
|
|
955
970
|
declare const IconArrowLeft: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
956
971
|
|
|
972
|
+
declare const IconPayment: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
973
|
+
|
|
974
|
+
declare const IconTwoUsers: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
975
|
+
|
|
976
|
+
declare const IconTwoUsersSearch: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
977
|
+
|
|
978
|
+
declare const IconCalculate: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
979
|
+
|
|
980
|
+
declare const IconUpArrow: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
|
|
981
|
+
|
|
957
982
|
declare function installPrimeReactStyles(): void;
|
|
958
983
|
|
|
959
|
-
export { Accordion, AccordionItem, type AccordionItemProps, BasicSelect, Blanket, BoxError, BoxSuccess, Button, type ButtonProps, Checkbox, Chip, type ChipProps, type Column, CommonDotIcon, DateInput, Dropdown, FileUpload, FooterPge as Footer, Header, HeaderPge, IconAdd, IconAddCell, IconArrowExpland, IconArrowLeft, IconArrowRecall, IconArrowRight, IconCLose, IconCalendar, IconCertidaoRegularidade, IconCheck, IconCheckCircle, IconCircleExpland, IconCircleRecall, IconDebitoFiscal, IconDelete, IconDownload, IconEdit, IconEmissaoDarj, IconEventAvaliable, IconExclude, IconHourglass, IconInfoRound, IconInvisibility, IconLeftDirection, IconLogout, IconMail, IconNewTab, IconParcelamento, IconPdf, IconPrint, IconProfile, IconQuestionMark, IconRemove, IconRightDirection, IconSearch, IconSwap, IconTriangleExpand, IconTriangleRecall, IconUpAndDownArror, IconUpload, IconUploadFile, IconUploadFile2, IconUploadV2, IconUsers, IconView, IconVisibility, IconWarning, InformativeBox, type InformativeBoxProps, InputBase, type InputProps, LoadingSpinner, Menu, MenuAction, MenuList, Modal, ModalBody, ModalFooter, ModalHeader, ModalUI, Option, type OptionsProps$2 as OptionsProps, OverlayLoadingSpinner, PaginationTable, Pagination as PaginationV2, PasswordInput, PgeButton, ProgressCircle, type ProgressCircleProps, RadioGroupBase, type RadioGroupBaseProps, SelectDefault, type SelectDefaultProps, SelectMult, type SelectMultProps, SkeletonLoader, Switch, Table, TableBody, TableCell, TableComponent, type TableComponentProps, TableFooter, TableHeader, TableRow, TextareaBase, type TextareaBaseProps, Title, Tooltip, TooltipWithPortal, installPrimeReactStyles };
|
|
984
|
+
export { Accordion, AccordionItem, type AccordionItemProps, BasicSelect, Blanket, BoxError, BoxSuccess, Button, type ButtonProps, Checkbox, Chip, type ChipProps, type Column, CommonDotIcon, DateInput, Dropdown, FileUpload, FloatingMenu, FooterPge as Footer, Header, HeaderPge, IconAdd, IconAddCell, IconArrowExpland, IconArrowLeft, IconArrowRecall, IconArrowRight, IconCLose, IconCalculate, IconCalendar, IconCertidaoRegularidade, IconCheck, IconCheckCircle, IconCircleExpland, IconCircleRecall, IconDebitoFiscal, IconDelete, IconDotsVertical, IconDownload, IconEdit, IconEmissaoDarj, IconEventAvaliable, IconExclude, IconHourglass, IconInfoRound, IconInvisibility, IconLeftDirection, IconLogout, IconMail, IconNewTab, IconParcelamento, IconPayment, IconPdf, IconPrint, IconProfile, IconQuestionMark, IconRemove, IconRightDirection, IconSearch, IconSwap, IconTriangleExpand, IconTriangleRecall, IconTwoUsers, IconTwoUsersSearch, IconUpAndDownArror, IconUpArrow, IconUpload, IconUploadFile, IconUploadFile2, IconUploadV2, IconUsers, IconView, IconVisibility, IconWarning, InformativeBox, type InformativeBoxProps, InputBase, type InputProps, LoadingSpinner, Menu, MenuAction, MenuList, Modal, ModalBody, ModalFooter, ModalHeader, ModalUI, Option, type OptionsProps$2 as OptionsProps, OverlayLoadingSpinner, PaginationTable, Pagination as PaginationV2, PasswordInput, PgeButton, ProgressCircle, type ProgressCircleProps, RadioGroupBase, type RadioGroupBaseProps, SelectDefault, type SelectDefaultProps, SelectMult, type SelectMultProps, SkeletonLoader, Switch, Table, TableBody, TableCell, TableComponent, type TableComponentProps, TableFooter, TableHeader, TableRow, TextareaBase, type TextareaBaseProps, Title, Tooltip, TooltipWithPortal, installPrimeReactStyles };
|