pge-front-common 14.1.35 → 14.1.37

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 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;
@@ -0,0 +1,3 @@
1
+ import React from "react";
2
+ import { FieldsetProps } from "./index.type";
3
+ export default function Fieldset({ legend, children, className, }: FieldsetProps): React.JSX.Element;
@@ -0,0 +1,6 @@
1
+ import React from 'react';
2
+ export interface FieldsetProps {
3
+ legend?: string;
4
+ children: React.ReactNode;
5
+ className?: string;
6
+ }
package/lib/index.d.ts CHANGED
@@ -878,6 +878,14 @@ interface FloatingMenuProps {
878
878
 
879
879
  declare const FloatingMenu: ({ anchor, anchorContent, isOpen, onClose, children, className, style, }: FloatingMenuProps) => React__default.JSX.Element | null;
880
880
 
881
+ interface FieldsetProps {
882
+ legend?: string;
883
+ children: React__default.ReactNode;
884
+ className?: string;
885
+ }
886
+
887
+ declare function Fieldset({ legend, children, className, }: FieldsetProps): React__default.JSX.Element;
888
+
881
889
  declare const IconDownload: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
882
890
 
883
891
  declare const IconVisibility: (props?: SVGProps<SVGSVGElement>) => React__default.JSX.Element;
@@ -988,4 +996,4 @@ declare const IconUpArrow: (props?: SVGProps<SVGSVGElement>) => React__default.J
988
996
 
989
997
  declare function installPrimeReactStyles(): void;
990
998
 
991
- 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 };
999
+ export { Accordion, AccordionItem, type AccordionItemProps, BasicSelect, Blanket, BoxError, BoxSuccess, Button, type ButtonProps, Checkbox, Chip, type ChipProps, type Column, CommonDotIcon, DateInput, Dropdown, Fieldset, type FieldsetProps, 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 };