pge-front-common 14.0.29 → 14.0.31

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,6 @@
1
+ import { Tooltip } from "./index";
2
+ import { Meta, StoryObj } from "@storybook/react";
3
+ declare const meta: Meta<typeof Tooltip>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof Tooltip>;
6
+ export declare const Default: Story;
@@ -0,0 +1,6 @@
1
+ import { TooltipWithPortal } from "./index";
2
+ import { Meta, StoryObj } from "@storybook/react";
3
+ declare const meta: Meta<typeof TooltipWithPortal>;
4
+ export default meta;
5
+ type Story = StoryObj<typeof TooltipWithPortal>;
6
+ export declare const Default: Story;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { TooltipProps } from "./index.type";
3
+ export declare const TooltipWithPortal: ({ text, children, forceVisible }: TooltipProps) => React.JSX.Element;
@@ -0,0 +1,6 @@
1
+ export interface TooltipProps {
2
+ text: string;
3
+ children: React.ReactNode;
4
+ forceVisible?: boolean;
5
+ }
6
+ export type Position = "top-right" | "bottom-right" | "bottom-left" | "top-left" | "mobile";
@@ -47,4 +47,5 @@ import { IconExclude } from "./exclude-icon";
47
47
  import { IconView } from "./view-icon";
48
48
  import { IconUploadFile2 } from "./upload-file-icon";
49
49
  import { IconInfoRound } from "./info-round-icon";
50
- export { 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 };
50
+ import { IconMail } from "./mail-icon";
51
+ export { 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 };
@@ -0,0 +1,2 @@
1
+ import React, { SVGProps } from "react";
2
+ export declare const IconMail: ({ className, ...props }: SVGProps<SVGSVGElement>) => React.JSX.Element;
package/lib/index.d.ts CHANGED
@@ -83,13 +83,13 @@ type FileUploadHandle = {
83
83
  };
84
84
  declare const FileUpload: React__default.ForwardRefExoticComponent<UploadFileProps & React__default.RefAttributes<FileUploadHandle>>;
85
85
 
86
- interface TooltipProps {
86
+ interface TooltipProps$1 {
87
87
  text: string;
88
88
  children: React.ReactNode;
89
89
  forceVisible?: boolean;
90
90
  }
91
91
 
92
- declare const Tooltip: ({ text, children, forceVisible }: TooltipProps) => React__default.JSX.Element;
92
+ declare const Tooltip: ({ text, children, forceVisible }: TooltipProps$1) => React__default.JSX.Element;
93
93
 
94
94
  type TextAlignType = "start" | "end" | "center";
95
95
  interface TextareaBaseProps extends Partial<HTMLTextAreaElement> {
@@ -434,6 +434,14 @@ interface SkeletonProps {
434
434
  }
435
435
  declare function SkeletonLoader({ className }: SkeletonProps): React__default.JSX.Element;
436
436
 
437
+ interface TooltipProps {
438
+ text: string;
439
+ children: React.ReactNode;
440
+ forceVisible?: boolean;
441
+ }
442
+
443
+ declare const TooltipWithPortal: ({ text, children, forceVisible }: TooltipProps) => React__default.JSX.Element;
444
+
437
445
  type TableProps = React.HTMLAttributes<HTMLTableElement> & {
438
446
  children: ReactNode;
439
447
  className?: string;
@@ -537,6 +545,8 @@ declare const IconUploadFile2: (props?: SVGProps<SVGSVGElement>) => React__defau
537
545
 
538
546
  declare const IconInfoRound: ({ className, ...props }: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
539
547
 
548
+ declare const IconMail: ({ className, ...props }: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
549
+
540
550
  declare function installPrimeReactStyles(): void;
541
551
 
542
- export { Accordion, AccordionItem, type AccordionItemProps, BasicSelect, Blanket, BoxError, BoxSuccess, Button, type ButtonProps, Checkbox, type Column, CommonDotIcon, DateInput, Dropdown, FileUpload, FooterPge as Footer, Header, HeaderPge, IconAdd, IconAddCell, IconArrowExpland, IconArrowRecall, IconCLose, IconCalendar, IconCheck, IconCheckCircle, IconCircleExpland, IconCircleRecall, IconDelete, IconDownload, IconEdit, IconEventAvaliable, IconExclude, IconHourglass, IconInfoRound, IconInvisibility, IconLogout, IconNewTab, IconPdf, IconPrint, IconProfile, IconQuestionMark, IconRemove, IconSearch, IconSwap, IconTriangleExpand, IconTriangleRecall, IconUpAndDownArror, IconUpload, IconUploadFile, IconUploadFile2, IconUploadV2, IconView, IconVisibility, IconWarning, InformativeBox, type InformativeBoxProps, InputBase, type InputProps, LoadingSpinner, Menu, MenuAction, MenuList, Modal, ModalBody, ModalFooter, ModalHeader, ModalUI, Option, type OptionsProps$2 as OptionsProps, PaginationTable, Pagination as PaginationV2, PasswordInput, PgeButton, RadioGroupBase, type RadioGroupBaseProps, SelectDefault, type SelectDefaultProps, SelectMult, type SelectMultProps, SkeletonLoader, Table, TableBody, TableCell, TableComponent, type TableComponentProps, TableFooter, TableHeader, TableRow, TextareaBase, type TextareaBaseProps, Title, Tooltip, installPrimeReactStyles };
552
+ export { Accordion, AccordionItem, type AccordionItemProps, BasicSelect, Blanket, BoxError, BoxSuccess, Button, type ButtonProps, Checkbox, type Column, CommonDotIcon, DateInput, Dropdown, FileUpload, FooterPge as Footer, Header, HeaderPge, IconAdd, IconAddCell, IconArrowExpland, IconArrowRecall, IconCLose, IconCalendar, IconCheck, IconCheckCircle, IconCircleExpland, IconCircleRecall, IconDelete, IconDownload, IconEdit, IconEventAvaliable, IconExclude, IconHourglass, IconInfoRound, IconInvisibility, IconLogout, IconMail, IconNewTab, IconPdf, IconPrint, IconProfile, IconQuestionMark, IconRemove, IconSearch, IconSwap, IconTriangleExpand, IconTriangleRecall, IconUpAndDownArror, IconUpload, IconUploadFile, IconUploadFile2, IconUploadV2, IconView, IconVisibility, IconWarning, InformativeBox, type InformativeBoxProps, InputBase, type InputProps, LoadingSpinner, Menu, MenuAction, MenuList, Modal, ModalBody, ModalFooter, ModalHeader, ModalUI, Option, type OptionsProps$2 as OptionsProps, PaginationTable, Pagination as PaginationV2, PasswordInput, PgeButton, RadioGroupBase, type RadioGroupBaseProps, SelectDefault, type SelectDefaultProps, SelectMult, type SelectMultProps, SkeletonLoader, Table, TableBody, TableCell, TableComponent, type TableComponentProps, TableFooter, TableHeader, TableRow, TextareaBase, type TextareaBaseProps, Title, Tooltip, TooltipWithPortal, installPrimeReactStyles };