pge-front-common 14.1.32 → 14.1.34

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.
@@ -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;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { FloatingMenuProps } from "./index.type";
3
+ export declare const FloatingMenu: ({ anchor, anchorContent, isOpen, onClose, children, className, style, }: FloatingMenuProps) => React.JSX.Element | null;
@@ -0,0 +1,9 @@
1
+ export interface FloatingMenuProps {
2
+ anchor?: HTMLElement | null;
3
+ anchorContent?: React.ReactNode;
4
+ isOpen?: boolean;
5
+ onClose?: () => void;
6
+ children: React.ReactNode;
7
+ className?: string;
8
+ style?: React.CSSProperties;
9
+ }
@@ -0,0 +1,2 @@
1
+ import React, { SVGProps } from "react";
2
+ export declare const IconCalculate: (props?: SVGProps<SVGSVGElement>) => React.JSX.Element;
@@ -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
- export { 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, };
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, };
@@ -0,0 +1,2 @@
1
+ import React, { SVGProps } from "react";
2
+ export declare const IconPayment: (props?: SVGProps<SVGSVGElement>) => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React, { SVGProps } from "react";
2
+ export declare const IconTwoUsers: (props?: SVGProps<SVGSVGElement>) => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React, { SVGProps } from "react";
2
+ export declare const IconTwoUsersSearch: (props?: SVGProps<SVGSVGElement>) => React.JSX.Element;
@@ -0,0 +1,2 @@
1
+ import React, { SVGProps } from "react";
2
+ export declare const IconUpArrow: (props?: SVGProps<SVGSVGElement>) => React.JSX.Element;
package/lib/index.d.ts CHANGED
@@ -859,6 +859,18 @@ declare const Chip: React__default.ForwardRefExoticComponent<{
859
859
  disabled?: boolean;
860
860
  } & React__default.HTMLAttributes<HTMLDivElement> & React__default.RefAttributes<HTMLDivElement>>;
861
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
+
862
874
  declare const IconDownload: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
863
875
 
864
876
  declare const IconVisibility: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
@@ -867,6 +879,8 @@ declare const IconEdit: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.
867
879
 
868
880
  declare const IconDelete: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
869
881
 
882
+ declare const IconDotsVertical: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
883
+
870
884
  declare const IconCalendar: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
871
885
 
872
886
  declare const IconProfile: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
@@ -955,6 +969,16 @@ declare const IconArrowRight: (props?: SVGProps<SVGSVGElement>) => React__defaul
955
969
 
956
970
  declare const IconArrowLeft: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
957
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
+
958
982
  declare function installPrimeReactStyles(): void;
959
983
 
960
- 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 };