@woovi/ui 6.6.2 → 6.7.0
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/dist/index.cjs +47 -2
- package/dist/index.js +47 -2
- package/dist/llms.txt +299 -115
- package/dist/src/Badge.d.ts +6 -0
- package/dist/{BannerInfos.d.ts → src/BannerInfos.d.ts} +1 -1
- package/dist/src/Circle.d.ts +7 -0
- package/dist/src/CircleButton.d.ts +7 -0
- package/dist/{ClockIcon.d.ts → src/ClockIcon.d.ts} +1 -1
- package/dist/src/Column.d.ts +3 -0
- package/dist/src/EmptyMessage.d.ts +4 -0
- package/dist/src/LinearProgress.d.ts +8 -0
- package/dist/{Link.d.ts → src/Link.d.ts} +1 -1
- package/dist/src/LoremIpsum.d.ts +2 -0
- package/dist/src/OverflowDiv.d.ts +3 -0
- package/dist/src/ProgressBar.d.ts +11 -0
- package/dist/src/QuestionTooltip.d.ts +14 -0
- package/dist/{RadioCard → src/RadioCard}/RadioCard.d.ts +1 -1
- package/dist/{ReactRouterLinkBehavior.d.ts → src/ReactRouterLinkBehavior.d.ts} +1 -1
- package/dist/src/SafeTextTooltip.d.ts +9 -0
- package/dist/src/Step.d.ts +8 -0
- package/dist/{SwipeableDialog → src/SwipeableDialog}/SwipeableDialog.d.ts +4 -5
- package/dist/src/SwipeableDialog/SwipeableDialogActions.d.ts +9 -0
- package/dist/src/SwipeableDialog/SwipeableDialogClose.d.ts +9 -0
- package/dist/{SwipeableDialog → src/SwipeableDialog}/SwipeableDialogContent.d.ts +4 -5
- package/dist/{SwipeableDialog → src/SwipeableDialog}/SwipeableDialogTitle.d.ts +4 -5
- package/dist/src/SwipeableDialog/SwipeableDialogTrigger.d.ts +9 -0
- package/dist/src/TagWebhookStatus.d.ts +13 -0
- package/dist/src/ToggleButtonGroup.d.ts +24 -0
- package/dist/src/ToggleButtonGroupMobile.d.ts +7 -0
- package/dist/src/TransactionStatusTag.d.ts +1 -0
- package/dist/src/TransactionTagEntryTypes.d.ts +13 -0
- package/dist/src/auth/LoginWrapper.d.ts +7 -0
- package/dist/src/avatar/AvatarGroup.d.ts +16 -0
- package/dist/src/avatar/AvatarGroupArray.d.ts +8 -0
- package/dist/src/avatar/AvatarGroupSelectedAll.d.ts +9 -0
- package/dist/{buttons → src/buttons}/ButtonMenu.d.ts +3 -4
- package/dist/src/buttons/clickpix/ClickPixButton.d.ts +6 -0
- package/dist/src/card/CardList.d.ts +13 -0
- package/dist/src/card/CardRadio.d.ts +1 -0
- package/dist/src/card/CardSkeleton.d.ts +3 -0
- package/dist/src/card/basicContext/CardBasicContext.d.ts +35 -0
- package/dist/src/card/cardWithActions/CardFooter.d.ts +3 -0
- package/dist/src/cardGrid/CardFieldCentered.d.ts +8 -0
- package/dist/{code → src/code}/Code.d.ts +1 -1
- package/dist/{collapsible → src/collapsible}/Collapse.d.ts +2 -3
- package/dist/{collapsible → src/collapsible}/Collapsible.d.ts +2 -3
- package/dist/src/collapsible/CollapsibleActions.d.ts +7 -0
- package/dist/src/collapsible/CollapsibleFillWrapper.d.ts +2 -0
- package/dist/src/collapsible/CollapsibleGroup.d.ts +3 -0
- package/dist/src/collapsible/CollapsibleInfinityActions.d.ts +59 -0
- package/dist/src/collapsible/CollapsibleTree.d.ts +18 -0
- package/dist/src/collapsible/TransparencyCollapsibleWrapper.d.ts +7 -0
- package/dist/src/company/CompanyLogo.d.ts +16 -0
- package/dist/src/content/ActionMarginText.d.ts +4 -0
- package/dist/src/content/IntroText.d.ts +4 -0
- package/dist/src/datagrid/DataGrid.d.ts +24 -0
- package/dist/{datagrid → src/datagrid}/DataGridRow.d.ts +3 -5
- package/dist/src/datagrid/cellTypeBasisToPercentage.d.ts +5 -0
- package/dist/src/datagrid/cellTypeExpand.d.ts +4 -0
- package/dist/src/datagrid/cellTypeLink.d.ts +2 -0
- package/dist/{datagrid → src/datagrid}/cellTypeTag.d.ts +1 -1
- package/dist/src/datagrid/useTableView.d.ts +2 -0
- package/dist/src/device/Phone.d.ts +4 -0
- package/dist/{dialog → src/dialog}/useDialog.d.ts +1 -1
- package/dist/src/drawer/swipable/SwipeableDrawer.d.ts +8 -0
- package/dist/{error → src/error}/ErrorBoundaryWithRetry.d.ts +1 -1
- package/dist/src/file/FileDrop.d.ts +12 -0
- package/dist/src/file/IconButton.d.ts +9 -0
- package/dist/src/file/MaterialIcon.d.ts +10 -0
- package/dist/{filter → src/filter}/Filter.d.ts +1 -1
- package/dist/src/filter/FormikFilter.d.ts +10 -0
- package/dist/src/filter/decodeQueryParamsFromLocation.d.ts +2 -0
- package/dist/src/filter/fieldToParamConfigMap.d.ts +3 -0
- package/dist/{filter → src/filter}/formatFilterValue.d.ts +1 -1
- package/dist/{filter → src/filter}/isValidDatetime.d.ts +1 -1
- package/dist/src/filter/stringToBoolean.d.ts +1 -0
- package/dist/{filter → src/filter}/useFilterFormik.d.ts +2 -2
- package/dist/{form → src/form}/FieldRow.d.ts +2 -2
- package/dist/src/helpers/HoverPopper.d.ts +10 -0
- package/dist/src/helpers.d.ts +10 -0
- package/dist/{hooks → src/hooks}/useControlledState.d.ts +1 -1
- package/dist/src/hooks/useCopyToClipboard.d.ts +1 -0
- package/dist/{hooks → src/hooks}/useWindowHelpers.d.ts +1 -1
- package/dist/{icons → src/icons}/AssineOnlineIcon.d.ts +4 -4
- package/dist/{icons → src/icons}/BotConversaIcon.d.ts +4 -4
- package/dist/{icons → src/icons}/CheckboxIndeterminate.d.ts +4 -4
- package/dist/{icons → src/icons}/CheckboxUnchecked.d.ts +4 -4
- package/dist/{icons → src/icons}/MetaIcon.d.ts +4 -4
- package/dist/{icons → src/icons}/N8nIcon.d.ts +4 -4
- package/dist/{icons → src/icons}/NuvemshopIcon.d.ts +4 -4
- package/dist/src/icons/RightTopDiagonalVector.d.ts +5 -0
- package/dist/{icons → src/icons}/SVG.d.ts +7 -7
- package/dist/src/icons/SocPanelIcon.d.ts +12 -0
- package/dist/{icons → src/icons}/WabizIcon.d.ts +4 -4
- package/dist/{icons → src/icons}/WakeIcon.d.ts +4 -4
- package/dist/src/import/Dropzone.d.ts +6 -0
- package/dist/src/import/xlsx/Import.d.ts +19 -0
- package/dist/src/import/xlsx/ImportDropzone.d.ts +16 -0
- package/dist/src/import/xlsx/ImportProcessData.d.ts +8 -0
- package/dist/src/import/xlsx/ImportProcessQueue.d.ts +21 -0
- package/dist/src/import/xlsx/ImportStepper.d.ts +24 -0
- package/dist/src/import/xlsx/ImportTable.d.ts +8 -0
- package/dist/src/import/xlsx/ImportUtils.d.ts +89 -0
- package/dist/{index.d.ts → src/index.d.ts} +76 -5
- package/dist/src/layoutWrapper/LayoutWrapperFluid.d.ts +8 -0
- package/dist/src/logo/OpenPixLogoColor.d.ts +7 -0
- package/dist/src/logo/WooviLogo.d.ts +8 -0
- package/dist/{mui → src/mui}/Typography.d.ts +1 -1
- package/dist/{multifactor → src/multifactor}/MultiFactorConfirmModal.d.ts +3 -3
- package/dist/{openpix → src/openpix}/cobr/CobrTagStatus.d.ts +1 -1
- package/dist/src/openpix/images/WooviLogoInMobile.d.ts +5 -0
- package/dist/src/openpix/order/ConfirmedIcon.d.ts +3 -0
- package/dist/src/openpix/order/EarnCashback.d.ts +7 -0
- package/dist/src/openpix/order/EarnCashbackExclusive.d.ts +7 -0
- package/dist/src/openpix/order/PayPixValueCompany.d.ts +8 -0
- package/dist/src/openpix/order/discount/EarnDiscount.d.ts +7 -0
- package/dist/src/openpix/paymentLink/AdditionalInfo.d.ts +12 -0
- package/dist/src/openpix/paymentLink/BrCodeInput.d.ts +6 -0
- package/dist/src/openpix/paymentLink/InterestsInfo.d.ts +11 -0
- package/dist/src/openpix/paymentLink/ShareButton.d.ts +10 -0
- package/dist/src/openpix/paymentLink/types/ChargeDataType.d.ts +99 -0
- package/dist/{pinInput → src/pinInput}/PinInput.d.ts +13 -13
- package/dist/src/relay/RefreshIconButton.d.ts +6 -0
- package/dist/{routed → src/routed}/RoutedTabs.d.ts +1 -1
- package/dist/src/routed/TabbedContent.d.ts +10 -0
- package/dist/src/router/drawRoutes.d.ts +3 -0
- package/dist/{router → src/router}/getQuery.d.ts +4 -1
- package/dist/{router → src/router}/getRouteFromPath.d.ts +3 -3
- package/dist/{router → src/router}/stringToValue.d.ts +2 -2
- package/dist/{router → src/router}/types.d.ts +1 -0
- package/dist/{screenHeader → src/screenHeader}/ScreenHeaderUI.d.ts +1 -1
- package/dist/src/screenHeaderResponsive/ScreenHeaderUIResponsive.d.ts +14 -0
- package/dist/src/screenHeaderResponsive/components/ScreenHeaderSubtitle.d.ts +3 -0
- package/dist/src/screenHeaderResponsive/components/ScreenHeaderTitle.d.ts +6 -0
- package/dist/{select → src/select}/Select.d.ts +1 -1
- package/dist/src/select/SelectAll.d.ts +14 -0
- package/dist/{shared → src/shared}/CashbackStatus.d.ts +13 -0
- package/dist/src/shared/appEventTypes.d.ts +26 -0
- package/dist/src/shared/pixTransactionEntryTypes.d.ts +11 -0
- package/dist/{shared → src/shared}/pixTransactionStatus.d.ts +7 -16
- package/dist/{shared → src/shared}/pixTransactionTypes.d.ts +4 -12
- package/dist/src/shared/projectType.d.ts +10 -0
- package/dist/src/shared/statementTypes.d.ts +14 -0
- package/dist/src/shared/webhookStatus.d.ts +18 -0
- package/dist/{sidebar → src/sidebar}/Group.d.ts +2 -2
- package/dist/{sidebar → src/sidebar}/Item.d.ts +1 -1
- package/dist/{sidebar → src/sidebar}/MenuList.d.ts +1 -1
- package/dist/{sidebar → src/sidebar}/Sidebar.d.ts +1 -1
- package/dist/{sidebar → src/sidebar}/utils.d.ts +1 -1
- package/dist/{snackbar → src/snackbar}/CloseSnack.d.ts +1 -1
- package/dist/{statement → src/statement}/ledgerStatementColors.d.ts +1 -3
- package/dist/src/statement/statementColors.d.ts +3 -0
- package/dist/src/stepper/Stepper.d.ts +10 -0
- package/dist/{table → src/table}/CardListVirtualized.d.ts +3 -1
- package/dist/src/table/ImportReport.d.ts +4 -0
- package/dist/src/table/StatusCell.d.ts +15 -0
- package/dist/src/table/cells/ActionCellNode.d.ts +5 -0
- package/dist/src/table/cells/Cell.d.ts +9 -0
- package/dist/src/table/cells/CellCheckbox.d.ts +17 -0
- package/dist/src/table/cells/CellEditable.d.ts +11 -0
- package/dist/src/table/cells/CheckboxCellNode.d.ts +3 -0
- package/dist/src/table/cells/IconCellNode.d.ts +6 -0
- package/dist/src/table/cells/LinkCellNode.d.ts +8 -0
- package/dist/src/table/cells/RenderCell.d.ts +3 -0
- package/dist/src/table/cells/cellTypes.d.ts +15 -0
- package/dist/src/table/cells/getCellCurrency.d.ts +3 -0
- package/dist/src/table/cells/getCellDate.d.ts +8 -0
- package/dist/src/table/cells/getCellLink.d.ts +3 -0
- package/dist/src/table/cells/getCellValue.d.ts +1 -0
- package/dist/src/table/cells/index.d.ts +1 -0
- package/dist/{table → src/table}/emv/TablePixEMV.d.ts +1 -1
- package/dist/src/table/muiTable/Body.d.ts +15 -0
- package/dist/src/table/muiTable/Footer.d.ts +9 -0
- package/dist/src/table/muiTable/Header.d.ts +11 -0
- package/dist/src/table/muiTable/Table.d.ts +72 -0
- package/dist/src/table/reactTable/ImportReport.d.ts +4 -0
- package/dist/src/table/reactTable/ImportTable.d.ts +9 -0
- package/dist/src/table/reactTable/IndeterminateCheckbox.d.ts +3 -0
- package/dist/src/table/reactTable/InputCell.d.ts +9 -0
- package/dist/src/table/reactTable/InputDateCell.d.ts +9 -0
- package/dist/src/table/reactTable/InputForCells.d.ts +6 -0
- package/dist/src/table/reactTable/InputMoneyCell.d.ts +9 -0
- package/dist/src/table/reactTable/InputPhoneCell.d.ts +9 -0
- package/dist/src/table/reactTable/InputTaxIDCell.d.ts +9 -0
- package/dist/src/table/reactTable/RowTable.d.ts +6 -0
- package/dist/src/table/reactTable/StatusCell.d.ts +14 -0
- package/dist/src/table/reactTable/Table.d.ts +9 -0
- package/dist/src/table/reactTable/TableBodyVirtualized.d.ts +7 -0
- package/dist/src/table/reactTable/TableCell.d.ts +9 -0
- package/dist/src/table/reactTable/TableHeadVirtualized.d.ts +4 -0
- package/dist/src/table/reactTable/TableVirtualized.d.ts +8 -0
- package/dist/{tag → src/tag}/Tag.d.ts +2 -2
- package/dist/src/term/TermsModal.d.ts +13 -0
- package/dist/src/term/useTerms.d.ts +5 -0
- package/dist/src/timeline/TimelineAppEventDomainIcon.d.ts +3 -0
- package/dist/src/timeline/TimelineAppEventTypeColor.d.ts +3 -0
- package/dist/src/unSupportedBrowser/UnsupportedBrowserWarning.d.ts +3 -0
- package/dist/src/utils/ChargeInterestsTypes.d.ts +11 -0
- package/dist/src/utils/MaskUtils.d.ts +5 -0
- package/dist/src/utils/composeStyles.d.ts +2 -0
- package/dist/src/utils/convertToCents.d.ts +3 -0
- package/dist/src/utils/convertToMoney.d.ts +2 -0
- package/dist/src/utils/dates.d.ts +17 -0
- package/dist/src/utils/excel/ChargeImport.d.ts +16 -0
- package/dist/src/utils/excel/CompanyImport.d.ts +4 -0
- package/dist/src/utils/excel/CustomerImport.d.ts +13 -0
- package/dist/src/utils/excel/PaymentImport.d.ts +7 -0
- package/dist/src/utils/excel/UserImport.d.ts +30 -0
- package/dist/{utils → src/utils}/excel/generateExcel.d.ts +4 -4
- package/dist/src/utils/isSafeCNPJ.d.ts +7 -0
- package/dist/src/utils/isSafeCPF.d.ts +6 -0
- package/dist/src/utils/isSafeUtils.d.ts +1 -0
- package/dist/src/utils/onlyDigits.d.ts +1 -0
- package/dist/src/utils/parseNumber.d.ts +3 -0
- package/dist/{windowPopper → src/windowPopper}/WindowPopper.d.ts +1 -1
- package/package.json +8 -7
- package/dist/SwipeableDialog/SwipeableDialogActions.d.ts +0 -10
- package/dist/SwipeableDialog/SwipeableDialogClose.d.ts +0 -10
- package/dist/SwipeableDialog/SwipeableDialogTrigger.d.ts +0 -10
- package/dist/card/cardWithActions/CardFooter.d.ts +0 -4
- package/dist/collapsible/CollapsibleGroup.d.ts +0 -3
- package/dist/collapsible/CollapsibleTree.d.ts +0 -10
- package/dist/datagrid/DataGrid.d.ts +0 -21
- package/dist/datagrid/cellTypeBasisToPercentage.d.ts +0 -2
- package/dist/datagrid/cellTypeExpand.d.ts +0 -133
- package/dist/datagrid/cellTypeLink.d.ts +0 -2
- package/dist/datagrid/useTableView.d.ts +0 -5
- package/dist/filter/fieldToParamConfigMap.d.ts +0 -3
- package/dist/helpers.d.ts +0 -11
- package/dist/hooks/useCopyToClipboard.d.ts +0 -1
- package/dist/icons/SocPanelIcon.d.ts +0 -12
- package/dist/import/Dropzone.d.ts +0 -5
- package/dist/logo/WooviLogo.d.ts +0 -8
- package/dist/openpix/paymentLink/AdditionalInfo.d.ts +0 -7
- package/dist/router/drawRoutes.d.ts +0 -3
- package/dist/shared/pixTransactionEntryTypes.d.ts +0 -13
- package/dist/shared/statementTypes.d.ts +0 -22
- package/dist/statement/statementColors.d.ts +0 -5
- package/dist/timeline/TimelineAppEventDomainIcon.d.ts +0 -12
- package/dist/utils/composeStyles.d.ts +0 -2
- package/dist/utils/convertToCents.d.ts +0 -3
- package/dist/utils/convertToMoney.d.ts +0 -2
- package/dist/utils/dates.d.ts +0 -1
- package/dist/utils/excel/ChargeImport.d.ts +0 -30
- package/dist/utils/excel/CompanyImport.d.ts +0 -4
- package/dist/utils/excel/CustomerImport.d.ts +0 -13
- package/dist/utils/excel/PaymentImport.d.ts +0 -7
- package/dist/utils/excel/UserImport.d.ts +0 -69
- package/dist/utils/isSafeCPF.d.ts +0 -5
- package/dist/utils/parseNumber.d.ts +0 -1
- /package/dist/{BackButton.d.ts → src/BackButton.d.ts} +0 -0
- /package/dist/{Banner.d.ts → src/Banner.d.ts} +0 -0
- /package/dist/{BannerError.d.ts → src/BannerError.d.ts} +0 -0
- /package/dist/{CashbackTagStatus.d.ts → src/CashbackTagStatus.d.ts} +0 -0
- /package/dist/{CopyInput.d.ts → src/CopyInput.d.ts} +0 -0
- /package/dist/{EncryptedText.d.ts → src/EncryptedText.d.ts} +0 -0
- /package/dist/{FloatingMenu.d.ts → src/FloatingMenu.d.ts} +0 -0
- /package/dist/{LayoutRoot.d.ts → src/LayoutRoot.d.ts} +0 -0
- /package/dist/{Loading.d.ts → src/Loading.d.ts} +0 -0
- /package/dist/{Logo.d.ts → src/Logo.d.ts} +0 -0
- /package/dist/{Modal → src/Modal}/Modal.d.ts +0 -0
- /package/dist/{Row.d.ts → src/Row.d.ts} +0 -0
- /package/dist/{SearchField.d.ts → src/SearchField.d.ts} +0 -0
- /package/dist/{SwipeableDialog → src/SwipeableDialog}/SwipeableDialogModal.d.ts +0 -0
- /package/dist/{ThemeProvider.d.ts → src/ThemeProvider.d.ts} +0 -0
- /package/dist/{TransactionTagStatus.d.ts → src/TransactionTagStatus.d.ts} +0 -0
- /package/dist/{unSupportedBrowser → src}/UnsupportedBrowserWarning.d.ts +0 -0
- /package/dist/{avatar → src/avatar}/Avatar.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/ActionButton.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/CopyButton.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/DangerButton.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/PayWithPixButton.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/ResponsiveSplitButton.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/SplitButton.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/clickpix/DonateClickPixButton.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/clickpix/DonateWithClickButton.d.ts +0 -0
- /package/dist/{buttons → src/buttons}/getLoadingIconProp.d.ts +0 -0
- /package/dist/{card → src/card}/Card.d.ts +0 -0
- /package/dist/{card → src/card}/CardActions.d.ts +0 -0
- /package/dist/{card → src/card}/CardContent.d.ts +0 -0
- /package/dist/{card → src/card}/CardCopy.d.ts +0 -0
- /package/dist/{card → src/card}/CardForm.d.ts +0 -0
- /package/dist/{card → src/card}/CardSelectable.d.ts +0 -0
- /package/dist/{card → src/card}/CardStep.d.ts +0 -0
- /package/dist/{card → src/card}/CardWithIcon.d.ts +0 -0
- /package/dist/{card → src/card}/CardWithLink.d.ts +0 -0
- /package/dist/{card → src/card}/CardWithLinkSkeleton.d.ts +0 -0
- /package/dist/{card → src/card}/cardWithActions/CardHeader.d.ts +0 -0
- /package/dist/{card → src/card}/cardWithActions/CardWithActions.d.ts +0 -0
- /package/dist/{cardAnalytics → src/cardAnalytics}/CardAnalytics.d.ts +0 -0
- /package/dist/{cardAnalytics → src/cardAnalytics}/CardAnalyticsSkeleton.d.ts +0 -0
- /package/dist/{cardAnalytics → src/cardAnalytics}/CardAnalyticsSmall.d.ts +0 -0
- /package/dist/{cardGrid → src/cardGrid}/CardField.d.ts +0 -0
- /package/dist/{cardGrid → src/cardGrid}/CardGrid.d.ts +0 -0
- /package/dist/{cardGrid → src/cardGrid}/Grid.d.ts +0 -0
- /package/dist/{cardWithImage → src/cardWithImage}/CardWithImage.d.ts +0 -0
- /package/dist/{clickpix → src/clickpix}/ClickPixButton.d.ts +0 -0
- /package/dist/{clickpix → src/clickpix}/ClickPixLogo.d.ts +0 -0
- /package/dist/{collapsible → src/collapsible}/CollapsibleDetails.d.ts +0 -0
- /package/dist/{collapsible → src/collapsible}/CollapsiblePanelActions.d.ts +0 -0
- /package/dist/{collapsible → src/collapsible}/CollapsibleStep.d.ts +0 -0
- /package/dist/{collapsible → src/collapsible}/CollapsibleStepHeader.d.ts +0 -0
- /package/dist/{collapsible → src/collapsible}/CollapsibleSummary.d.ts +0 -0
- /package/dist/{collapsible → src/collapsible}/ExpandMoreIcon.d.ts +0 -0
- /package/dist/{collapsible → src/collapsible}/LeafCollapsible.d.ts +0 -0
- /package/dist/{content → src/content}/ActionMargin.d.ts +0 -0
- /package/dist/{content → src/content}/Content.d.ts +0 -0
- /package/dist/{countdown → src/countdown}/Countdown.d.ts +0 -0
- /package/dist/{countdown → src/countdown}/ShowCounter.d.ts +0 -0
- /package/dist/{countdown → src/countdown}/useCountdown.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/DataGridDetailContainer.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/DataGridGridToolbarExport.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/DataGridLoading.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/cellTypeBoolean.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/cellTypeCurrency.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/cellTypeDate.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/cellTypeDatetime.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/cellTypeDatetimeSeconds.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/cellTypePhone.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/cellTypeTaxID.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/cellTypeTime.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/columnTypes.d.ts +0 -0
- /package/dist/{datagrid → src/datagrid}/wrapColumnTypes.d.ts +0 -0
- /package/dist/{dialog → src/dialog}/DialogContext.d.ts +0 -0
- /package/dist/{dialog → src/dialog}/DialogProvider.d.ts +0 -0
- /package/dist/{dialog → src/dialog}/index.d.ts +0 -0
- /package/dist/{drawer → src/drawer}/DrawerCard.d.ts +0 -0
- /package/dist/{drawer → src/drawer}/DrawerResponsiveWrapper.d.ts +0 -0
- /package/dist/{error → src/error}/ErrorView.d.ts +0 -0
- /package/dist/{filter → src/filter}/FilterRelayFormik.d.ts +0 -0
- /package/dist/{filter → src/filter}/formatFilters.d.ts +0 -0
- /package/dist/{heading → src/heading}/SectionHeading.d.ts +0 -0
- /package/dist/{helpers → src/helpers}/Divider.d.ts +0 -0
- /package/dist/{helpers → src/helpers}/HorizontalStack.d.ts +0 -0
- /package/dist/{hooks → src/hooks}/usePooling.d.ts +0 -0
- /package/dist/{icons → src/icons}/CheckIconLabel.d.ts +0 -0
- /package/dist/{icons → src/icons}/CheckboxChecked.d.ts +0 -0
- /package/dist/{icons → src/icons}/CvvIcon.d.ts +0 -0
- /package/dist/{icons → src/icons}/DownloadIcon.d.ts +0 -0
- /package/dist/{icons → src/icons}/Icon.d.ts +0 -0
- /package/dist/{icons → src/icons}/NfeIcon.d.ts +0 -0
- /package/dist/{icons → src/icons}/RejectIcon.d.ts +0 -0
- /package/dist/{icons → src/icons}/SearchIcon.d.ts +0 -0
- /package/dist/{icons → src/icons}/SuccessIcon.d.ts +0 -0
- /package/dist/{icons → src/icons}/WarningIcon.d.ts +0 -0
- /package/dist/{import → src/import}/DropzoneFile.d.ts +0 -0
- /package/dist/{layoutWrapper → src/layoutWrapper}/LayoutWrapper.d.ts +0 -0
- /package/dist/{link → src/link}/WooviLink.d.ts +0 -0
- /package/dist/{mui → src/mui}/BoxFlex.d.ts +0 -0
- /package/dist/{multifactor → src/multifactor}/MultiFactorPixPaymentMatch.d.ts +0 -0
- /package/dist/{multifactor → src/multifactor}/MultiFactorPixPaymentMismatch.d.ts +0 -0
- /package/dist/{multifactor → src/multifactor}/MultiFactorPixPaymentView.d.ts +0 -0
- /package/dist/{openpix → src/openpix}/charge/ChargeTagStatus.d.ts +0 -0
- /package/dist/{openpix → src/openpix}/order/CheckIcon.d.ts +0 -0
- /package/dist/{openpix → src/openpix}/order/PixPaymentWoovi.d.ts +0 -0
- /package/dist/{openpix → src/openpix}/paymentLink/CopyBarcode.d.ts +0 -0
- /package/dist/{openpix → src/openpix}/paymentLink/CopyQRCode.d.ts +0 -0
- /package/dist/{openpix → src/openpix}/paymentLink/ErrorIcon.d.ts +0 -0
- /package/dist/{openpix → src/openpix}/paymentLink/PaymentFooter.d.ts +0 -0
- /package/dist/{openpix → src/openpix}/paymentLink/QrCodeShowButton.d.ts +0 -0
- /package/dist/{openpix → src/openpix}/paymentLink/QrCodeWrapper.d.ts +0 -0
- /package/dist/{openpix → src/openpix}/shopper/WooviAuthForm.d.ts +0 -0
- /package/dist/{openpix → src/openpix}/transaction/PixTransactionTypeTag.d.ts +0 -0
- /package/dist/{paymentLinkRow → src/paymentLinkRow}/PaymentLinkRow.d.ts +0 -0
- /package/dist/{pinInput → src/pinInput}/PinInputFormik.d.ts +0 -0
- /package/dist/{pinInput → src/pinInput}/createPinArray.d.ts +0 -0
- /package/dist/{pinInput → src/pinInput}/pinInputRegex.d.ts +0 -0
- /package/dist/{relay → src/relay}/RefreshButtonRelay.d.ts +0 -0
- /package/dist/{relay → src/relay}/SearchInputRelay.d.ts +0 -0
- /package/dist/{relay → src/relay}/TopPagination.d.ts +0 -0
- /package/dist/{rewardTicket → src/rewardTicket}/RewardTicket.d.ts +0 -0
- /package/dist/{ribbon → src/ribbon}/Ribbon.d.ts +0 -0
- /package/dist/{roles → src/roles}/Roles.d.ts +0 -0
- /package/dist/{roles → src/roles}/modules.d.ts +0 -0
- /package/dist/{root → src/root}/ContentBoundary.d.ts +0 -0
- /package/dist/{router → src/router}/getFiltersFromLocation.d.ts +0 -0
- /package/dist/{screenHeader → src/screenHeader}/components/ScreenHeaderSubtitle.d.ts +0 -0
- /package/dist/{screenHeader → src/screenHeader}/components/ScreenHeaderTitle.d.ts +0 -0
- /package/dist/{screenHeaderCard → src/screenHeaderCard}/ScreenHeaderCard.d.ts +0 -0
- /package/dist/{search → src/search}/GlobalSearchField.d.ts +0 -0
- /package/dist/{shared → src/shared}/AppEnvironmentEnum.d.ts +0 -0
- /package/dist/{shared → src/shared}/appEventDomains.d.ts +0 -0
- /package/dist/{shared → src/shared}/chargeStatusEnum.d.ts +0 -0
- /package/dist/{shared → src/shared}/cobrStatusEnum.d.ts +0 -0
- /package/dist/{shared → src/shared}/getSelected.d.ts +0 -0
- /package/dist/{shared → src/shared}/multiFactorActionEnum.d.ts +0 -0
- /package/dist/{shared → src/shared}/pixAuthenticationResultEnum.d.ts +0 -0
- /package/dist/{shared → src/shared}/queryString.d.ts +0 -0
- /package/dist/{shared → src/shared}/subscriptionInstallmentEnum.d.ts +0 -0
- /package/dist/{sidebar → src/sidebar}/SidebarContext.d.ts +0 -0
- /package/dist/{sidebar → src/sidebar}/index.d.ts +0 -0
- /package/dist/{sidebar → src/sidebar}/useSidebar.d.ts +0 -0
- /package/dist/{snackbar → src/snackbar}/Snackbar.d.ts +0 -0
- /package/dist/{snackbar → src/snackbar}/SnackbarContext.d.ts +0 -0
- /package/dist/{snackbar → src/snackbar}/index.d.ts +0 -0
- /package/dist/{snackbar → src/snackbar}/useSnackbar.d.ts +0 -0
- /package/dist/{statement → src/statement}/TransactionTypeText.d.ts +0 -0
- /package/dist/{swipeableModal → src/swipeableModal}/SwipeableModal.d.ts +0 -0
- /package/dist/{swipeableModal → src/swipeableModal}/SwipeableModalTransition.d.ts +0 -0
- /package/dist/{table → src/table}/CardColumn.d.ts +0 -0
- /package/dist/{table → src/table}/CardListLoading.d.ts +0 -0
- /package/dist/{table → src/table}/TableToggleViewModel.d.ts +0 -0
- /package/dist/{table → src/table}/emv/emvParser.d.ts +0 -0
- /package/dist/{table → src/table}/emv/emvTags.d.ts +0 -0
- /package/dist/{tag → src/tag}/TagsContainer.d.ts +0 -0
- /package/dist/{term → src/term}/Terms.d.ts +0 -0
- /package/dist/{term → src/term}/TermsLink.d.ts +0 -0
- /package/dist/{text → src/text}/TextMultiline.d.ts +0 -0
- /package/dist/{theme → src/theme}/HeaderButtonTheme.d.ts +0 -0
- /package/dist/{theme → src/theme}/Themes.d.ts +0 -0
- /package/dist/{timeline → src/timeline}/Timeline.d.ts +0 -0
- /package/dist/{timeline → src/timeline}/TimelineAppEventItem.d.ts +0 -0
- /package/dist/{timeline → src/timeline}/TimelineItem.d.ts +0 -0
- /package/dist/{unSupportedBrowser → src/unSupportedBrowser}/index.d.ts +0 -0
- /package/dist/{unSupportedBrowser → src/unSupportedBrowser}/isUnSupportedBrowser.d.ts +0 -0
- /package/dist/{user → src/user}/chip/UserChip.d.ts +0 -0
- /package/dist/{utils → src/utils}/BrowserOnly.d.ts +0 -0
- /package/dist/{utils → src/utils}/DesktopOnly.d.ts +0 -0
- /package/dist/{utils → src/utils}/MobileOnly.d.ts +0 -0
- /package/dist/{utils → src/utils}/composeEventHandlers.d.ts +0 -0
- /package/dist/{utils → src/utils}/convertToCurrency.d.ts +0 -0
- /package/dist/{utils → src/utils}/copyToClipboard.d.ts +0 -0
- /package/dist/{utils → src/utils}/excel/ImportHelpers.d.ts +0 -0
- /package/dist/{utils → src/utils}/excel/formatCells.d.ts +0 -0
- /package/dist/{utils → src/utils}/excel/getCellsWithDataTypes.d.ts +0 -0
- /package/dist/{utils → src/utils}/maskMoney.d.ts +0 -0
- /package/dist/{utils → src/utils}/parsePhoneNumber.d.ts +0 -0
- /package/dist/{utils → src/utils}/rifmFormatToCPF.d.ts +0 -0
- /package/dist/{windowPopper → src/windowPopper}/WindowPopperTransition.d.ts +0 -0
package/dist/llms.txt
CHANGED
|
@@ -21,7 +21,7 @@ pnpm add @woovi/ui
|
|
|
21
21
|
## Dependencias
|
|
22
22
|
|
|
23
23
|
- React 18+
|
|
24
|
-
- Material-UI (MUI)
|
|
24
|
+
- Material-UI (MUI) v5+
|
|
25
25
|
- TypeScript
|
|
26
26
|
|
|
27
27
|
---
|
|
@@ -31,14 +31,37 @@ pnpm add @woovi/ui
|
|
|
31
31
|
Componentes para exibir fotos de perfil e grupos de usuarios.
|
|
32
32
|
|
|
33
33
|
```tsx
|
|
34
|
-
import { Avatar } from '@woovi/ui';
|
|
34
|
+
import { Avatar, AvatarGroup, AvatarGroupArray, AvatarGroupSelectedAll } from '@woovi/ui';
|
|
35
35
|
|
|
36
36
|
// Avatar simples
|
|
37
37
|
<Avatar src="https://example.com/photo.jpg" alt="User" />
|
|
38
38
|
|
|
39
|
+
// Grupo de avatars
|
|
40
|
+
<AvatarGroup max={4}>
|
|
41
|
+
<Avatar src="/user1.jpg" />
|
|
42
|
+
<Avatar src="/user2.jpg" />
|
|
43
|
+
<Avatar src="/user3.jpg" />
|
|
44
|
+
</AvatarGroup>
|
|
39
45
|
```
|
|
40
46
|
|
|
41
47
|
- Avatar: https://storybook.woovi.design/?path=/docs/components-avatar-avatar--docs
|
|
48
|
+
- AvatarGroup: https://storybook.woovi.design/?path=/docs/components-avatar-avatargroup--docs
|
|
49
|
+
- AvatarGroupArray: https://storybook.woovi.design/?path=/docs/components-avatar-avatargrouparray--docs
|
|
50
|
+
- AvatarGroupSelectedAll: https://storybook.woovi.design/?path=/docs/components-avatar-avatargroupselectedall--docs
|
|
51
|
+
|
|
52
|
+
## Auth
|
|
53
|
+
|
|
54
|
+
Componentes de autenticacao e login.
|
|
55
|
+
|
|
56
|
+
```tsx
|
|
57
|
+
import { LoginWrapper } from '@woovi/ui';
|
|
58
|
+
|
|
59
|
+
<LoginWrapper>
|
|
60
|
+
<YourLoginForm />
|
|
61
|
+
</LoginWrapper>
|
|
62
|
+
```
|
|
63
|
+
|
|
64
|
+
- LoginWrapper: https://storybook.woovi.design/?path=/docs/components-auth-loginwrapper--docs
|
|
42
65
|
|
|
43
66
|
## Banner
|
|
44
67
|
|
|
@@ -47,23 +70,16 @@ Componentes para exibir mensagens de alerta, erro e informacoes.
|
|
|
47
70
|
```tsx
|
|
48
71
|
import { Banner, BannerError, BannerInfos } from '@woovi/ui';
|
|
49
72
|
|
|
50
|
-
// Banner generico
|
|
51
|
-
<Banner variant="
|
|
73
|
+
// Banner generico
|
|
74
|
+
<Banner variant="info" message="Informacao importante" />
|
|
52
75
|
|
|
53
|
-
// Banner de erro
|
|
54
|
-
<BannerError
|
|
55
|
-
errors={["Ocorreu um erro ao processar"]}
|
|
56
|
-
callbackOnClose={() => {}}
|
|
57
|
-
/>
|
|
76
|
+
// Banner de erro
|
|
77
|
+
<BannerError message="Ocorreu um erro ao processar" />
|
|
58
78
|
|
|
59
|
-
// Banner informativo com detalhes
|
|
79
|
+
// Banner informativo com detalhes
|
|
60
80
|
<BannerInfos
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
titleHeader="Atencao"
|
|
64
|
-
onClose={() => {}}
|
|
65
|
-
refColumn={{ field: 'id', headerName: 'ID' }}
|
|
66
|
-
isOpen={true}
|
|
81
|
+
title="Atencao"
|
|
82
|
+
description="Sua sessao expira em 5 minutos"
|
|
67
83
|
/>
|
|
68
84
|
```
|
|
69
85
|
|
|
@@ -92,8 +108,8 @@ import {
|
|
|
92
108
|
<ActionButton label="Salvar" loading={isLoading} />
|
|
93
109
|
<ActionButton label="Criar" icon="add" />
|
|
94
110
|
|
|
95
|
-
// Botao de copiar
|
|
96
|
-
<CopyButton
|
|
111
|
+
// Botao de copiar
|
|
112
|
+
<CopyButton text="Texto para copiar" />
|
|
97
113
|
|
|
98
114
|
// Botao de perigo/exclusao
|
|
99
115
|
<DangerButton label="Excluir" onClick={handleDelete} />
|
|
@@ -157,10 +173,13 @@ Containers para exibir conteudo em formato de cartao.
|
|
|
157
173
|
import {
|
|
158
174
|
Card,
|
|
159
175
|
CardActions,
|
|
176
|
+
CardBasicContext,
|
|
160
177
|
CardContent,
|
|
161
178
|
CardCopy,
|
|
162
179
|
CardForm,
|
|
180
|
+
CardList,
|
|
163
181
|
CardSelectable,
|
|
182
|
+
CardSkeleton,
|
|
164
183
|
CardStep,
|
|
165
184
|
CardWithActions,
|
|
166
185
|
CardWithIcon,
|
|
@@ -194,22 +213,28 @@ import {
|
|
|
194
213
|
|
|
195
214
|
// Card selecionavel
|
|
196
215
|
<CardSelectable
|
|
197
|
-
|
|
216
|
+
selected={isSelected}
|
|
198
217
|
onClick={() => setSelected(!isSelected)}
|
|
199
218
|
>
|
|
200
219
|
Conteudo selecionavel
|
|
201
220
|
</CardSelectable>
|
|
202
221
|
|
|
203
222
|
// Card de copia (para chaves Pix, etc)
|
|
204
|
-
<CardCopy
|
|
223
|
+
<CardCopy value="chave-pix@email.com" />
|
|
224
|
+
|
|
225
|
+
// Card skeleton para loading
|
|
226
|
+
<CardSkeleton />
|
|
205
227
|
```
|
|
206
228
|
|
|
207
229
|
- Card: https://storybook.woovi.design/?path=/docs/components-card-card--docs
|
|
208
230
|
- CardActions: https://storybook.woovi.design/?path=/docs/components-card-cardactions--docs
|
|
231
|
+
- CardBasicContext: https://storybook.woovi.design/?path=/docs/components-card-cardbasiccontext--docs
|
|
209
232
|
- CardContent: https://storybook.woovi.design/?path=/docs/components-card-cardcontent--docs
|
|
210
233
|
- CardCopy: https://storybook.woovi.design/?path=/docs/components-card-cardcopy--docs
|
|
211
234
|
- CardForm: https://storybook.woovi.design/?path=/docs/components-card-cardform--docs
|
|
235
|
+
- CardList: https://storybook.woovi.design/?path=/docs/components-card-cardlist--docs
|
|
212
236
|
- CardSelectable: https://storybook.woovi.design/?path=/docs/components-card-cardselectable--docs
|
|
237
|
+
- CardSkeleton: https://storybook.woovi.design/?path=/docs/components-card-cardskeleton--docs
|
|
213
238
|
- CardStep: https://storybook.woovi.design/?path=/docs/components-card-cardstep--docs
|
|
214
239
|
- CardWithActions: https://storybook.woovi.design/?path=/docs/components-card-cardwithactions--docs
|
|
215
240
|
- CardWithIcon: https://storybook.woovi.design/?path=/docs/components-card-cardwithicon--docs
|
|
@@ -227,10 +252,8 @@ import { CardAnalytics, CardAnalyticsSmall } from '@woovi/ui';
|
|
|
227
252
|
<CardAnalytics
|
|
228
253
|
title="Total de Vendas"
|
|
229
254
|
value="R$ 15.000,00"
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
loading={false}
|
|
233
|
-
onClick={() => navigate('/sales')}
|
|
255
|
+
change="+12%"
|
|
256
|
+
trend="up"
|
|
234
257
|
/>
|
|
235
258
|
|
|
236
259
|
// Versao compacta
|
|
@@ -249,12 +272,13 @@ import { CardAnalytics, CardAnalyticsSmall } from '@woovi/ui';
|
|
|
249
272
|
Sistema de grid para organizar cards em layout responsivo.
|
|
250
273
|
|
|
251
274
|
```tsx
|
|
252
|
-
import { CardGrid, CardField, Grid } from '@woovi/ui';
|
|
275
|
+
import { CardGrid, CardField, CardFieldCentered, Grid } from '@woovi/ui';
|
|
253
276
|
|
|
254
277
|
// Grid de cards
|
|
255
278
|
<CardGrid>
|
|
256
279
|
<CardField label="Nome" value="Joao Silva" />
|
|
257
280
|
<CardField label="Email" value="joao@email.com" />
|
|
281
|
+
<CardFieldCentered label="Status" value="Ativo" />
|
|
258
282
|
</CardGrid>
|
|
259
283
|
|
|
260
284
|
// Grid generico
|
|
@@ -266,6 +290,7 @@ import { CardGrid, CardField, Grid } from '@woovi/ui';
|
|
|
266
290
|
```
|
|
267
291
|
|
|
268
292
|
- CardField: https://storybook.woovi.design/?path=/docs/components-cardgrid-cardfield--docs
|
|
293
|
+
- CardFieldCentered: https://storybook.woovi.design/?path=/docs/components-cardgrid-cardfieldcentered--docs
|
|
269
294
|
- CardGrid: https://storybook.woovi.design/?path=/docs/components-cardgrid-cardgrid--docs
|
|
270
295
|
- Grid: https://storybook.woovi.design/?path=/docs/components-cardgrid-grid--docs
|
|
271
296
|
|
|
@@ -324,6 +349,7 @@ Componentes expansiveis para organizar conteudo em secoes.
|
|
|
324
349
|
import {
|
|
325
350
|
Collapse,
|
|
326
351
|
Collapsible,
|
|
352
|
+
CollapsibleActions,
|
|
327
353
|
CollapsibleStep,
|
|
328
354
|
CollapsibleTree,
|
|
329
355
|
LeafCollapsible
|
|
@@ -334,6 +360,14 @@ import {
|
|
|
334
360
|
<p>Conteudo expandido</p>
|
|
335
361
|
</Collapsible>
|
|
336
362
|
|
|
363
|
+
// Collapsible com acoes
|
|
364
|
+
<CollapsibleActions
|
|
365
|
+
title="Configuracoes"
|
|
366
|
+
actions={<ActionButton label="Editar" />}
|
|
367
|
+
>
|
|
368
|
+
<p>Conteudo com acoes</p>
|
|
369
|
+
</CollapsibleActions>
|
|
370
|
+
|
|
337
371
|
// Collapsible em etapas
|
|
338
372
|
<CollapsibleStep step={1} title="Primeira etapa">
|
|
339
373
|
<p>Conteudo da etapa</p>
|
|
@@ -349,20 +383,36 @@ import {
|
|
|
349
383
|
|
|
350
384
|
- Collapse: https://storybook.woovi.design/?path=/docs/components-collapsible-collapse--docs
|
|
351
385
|
- Collapsible: https://storybook.woovi.design/?path=/docs/components-collapsible-collapsible--docs
|
|
386
|
+
- CollapsibleActions: https://storybook.woovi.design/?path=/docs/components-collapsible-collapsibleactions--docs
|
|
387
|
+
- CollapsibleInfinityActions: https://storybook.woovi.design/?path=/docs/components-collapsible-collapsibleinfinityactions--docs
|
|
352
388
|
- CollapsibleStep: https://storybook.woovi.design/?path=/docs/components-collapsible-collapsiblestep--docs
|
|
353
389
|
- CollapsibleStepHeader: https://storybook.woovi.design/?path=/docs/components-collapsible-collapsiblestepheader--docs
|
|
354
390
|
- CollapsibleTree: https://storybook.woovi.design/?path=/docs/components-collapsible-collapsibletree--docs
|
|
355
391
|
- LeafCollapsible: https://storybook.woovi.design/?path=/docs/components-collapsible-leafcollapsible--docs
|
|
392
|
+
- TransparencyCollapsibleWrapper: https://storybook.woovi.design/?path=/docs/components-collapsible-transparencycollapsiblewrapper--docs
|
|
393
|
+
|
|
394
|
+
## Company
|
|
395
|
+
|
|
396
|
+
Componentes relacionados a empresa/marca.
|
|
397
|
+
|
|
398
|
+
```tsx
|
|
399
|
+
import { CompanyLogo } from '@woovi/ui';
|
|
400
|
+
|
|
401
|
+
<CompanyLogo name="Empresa XYZ" logo="/logo.png" />
|
|
402
|
+
```
|
|
403
|
+
|
|
404
|
+
- CompanyLogo: https://storybook.woovi.design/?path=/docs/components-company-companylogo--docs
|
|
356
405
|
|
|
357
406
|
## Content
|
|
358
407
|
|
|
359
408
|
Componentes para estruturar conteudo e texto.
|
|
360
409
|
|
|
361
410
|
```tsx
|
|
362
|
-
import { Content, ActionMargin } from '@woovi/ui';
|
|
411
|
+
import { Content, ActionMargin, ActionMarginText, IntroText } from '@woovi/ui';
|
|
363
412
|
|
|
364
413
|
// Container de conteudo
|
|
365
414
|
<Content>
|
|
415
|
+
<IntroText>Bem-vindo ao painel</IntroText>
|
|
366
416
|
<p>Seu conteudo aqui</p>
|
|
367
417
|
</Content>
|
|
368
418
|
|
|
@@ -370,10 +420,17 @@ import { Content, ActionMargin } from '@woovi/ui';
|
|
|
370
420
|
<ActionMargin>
|
|
371
421
|
<ActionButton label="Salvar" />
|
|
372
422
|
</ActionMargin>
|
|
423
|
+
|
|
424
|
+
// Texto com margem de acao
|
|
425
|
+
<ActionMarginText>
|
|
426
|
+
Clique no botao abaixo para continuar
|
|
427
|
+
</ActionMarginText>
|
|
373
428
|
```
|
|
374
429
|
|
|
375
430
|
- ActionMargin: https://storybook.woovi.design/?path=/docs/components-content-actionmargin--docs
|
|
431
|
+
- ActionMarginText: https://storybook.woovi.design/?path=/docs/components-content-actionmargintext--docs
|
|
376
432
|
- Content: https://storybook.woovi.design/?path=/docs/components-content-content--docs
|
|
433
|
+
- IntroText: https://storybook.woovi.design/?path=/docs/components-content-introtext--docs
|
|
377
434
|
|
|
378
435
|
## Countdown
|
|
379
436
|
|
|
@@ -411,28 +468,6 @@ import { DataGrid, DataGridLoading, DataGridDetailContainer } from '@woovi/ui';
|
|
|
411
468
|
onRowClick={(row) => console.log(row)}
|
|
412
469
|
/>
|
|
413
470
|
|
|
414
|
-
// DataGrid com exportacao CSV habilitada
|
|
415
|
-
<DataGrid
|
|
416
|
-
columns={columns}
|
|
417
|
-
rows={data}
|
|
418
|
-
exportTable
|
|
419
|
-
/>
|
|
420
|
-
|
|
421
|
-
// DataGrid com zebra rows
|
|
422
|
-
<DataGrid
|
|
423
|
-
columns={columns}
|
|
424
|
-
rows={data}
|
|
425
|
-
zebraRow
|
|
426
|
-
/>
|
|
427
|
-
|
|
428
|
-
// DataGrid com rowHref (funcao que recebe row e retorna href)
|
|
429
|
-
<DataGrid
|
|
430
|
-
columns={columns}
|
|
431
|
-
rows={data}
|
|
432
|
-
rowAnchor
|
|
433
|
-
rowHref={(row) => `/details/${row.id}`}
|
|
434
|
-
/>
|
|
435
|
-
|
|
436
471
|
// Estado de loading
|
|
437
472
|
<DataGridLoading columns={3} rows={5} />
|
|
438
473
|
```
|
|
@@ -473,7 +508,7 @@ openDialog({
|
|
|
473
508
|
Paineis laterais deslizantes.
|
|
474
509
|
|
|
475
510
|
```tsx
|
|
476
|
-
import { DrawerCard, DrawerResponsiveWrapper } from '@woovi/ui';
|
|
511
|
+
import { DrawerCard, DrawerResponsiveWrapper, SwipeableDrawer } from '@woovi/ui';
|
|
477
512
|
|
|
478
513
|
// Drawer com card
|
|
479
514
|
<DrawerCard open={isOpen} onClose={handleClose}>
|
|
@@ -484,17 +519,28 @@ import { DrawerCard, DrawerResponsiveWrapper } from '@woovi/ui';
|
|
|
484
519
|
<DrawerResponsiveWrapper open={isOpen} onClose={handleClose}>
|
|
485
520
|
<p>Conteudo adaptativo</p>
|
|
486
521
|
</DrawerResponsiveWrapper>
|
|
522
|
+
|
|
523
|
+
// Drawer com suporte a swipe
|
|
524
|
+
<SwipeableDrawer open={isOpen} onClose={handleClose}>
|
|
525
|
+
<p>Arraste para fechar</p>
|
|
526
|
+
</SwipeableDrawer>
|
|
487
527
|
```
|
|
488
528
|
|
|
489
529
|
- DrawerCard: https://storybook.woovi.design/?path=/docs/components-drawer-drawercard--docs
|
|
490
530
|
- DrawerResponsiveWrapper: https://storybook.woovi.design/?path=/docs/components-drawer-drawerresponsivewrapper--docs
|
|
531
|
+
- SwipeableDrawer: https://storybook.woovi.design/?path=/docs/components-drawer-swipeabledrawer--docs
|
|
491
532
|
|
|
492
533
|
## Error
|
|
493
534
|
|
|
494
535
|
Componentes para tratamento e exibicao de erros.
|
|
495
536
|
|
|
496
537
|
```tsx
|
|
497
|
-
import { ErrorView } from '@woovi/ui';
|
|
538
|
+
import { ErrorBoundaryWithRetry, ErrorView } from '@woovi/ui';
|
|
539
|
+
|
|
540
|
+
// Error boundary com retry
|
|
541
|
+
<ErrorBoundaryWithRetry>
|
|
542
|
+
<ComponentQuePodeFalhar />
|
|
543
|
+
</ErrorBoundaryWithRetry>
|
|
498
544
|
|
|
499
545
|
// Visualizacao de erro
|
|
500
546
|
<ErrorView
|
|
@@ -504,8 +550,30 @@ import { ErrorView } from '@woovi/ui';
|
|
|
504
550
|
/>
|
|
505
551
|
```
|
|
506
552
|
|
|
553
|
+
- ErrorBoundaryWithRetry: https://storybook.woovi.design/?path=/docs/components-error-errorboundarywithretry--docs
|
|
507
554
|
- ErrorView: https://storybook.woovi.design/?path=/docs/components-error-errorview--docs
|
|
508
555
|
|
|
556
|
+
## File
|
|
557
|
+
|
|
558
|
+
Componentes para upload e manipulacao de arquivos.
|
|
559
|
+
|
|
560
|
+
```tsx
|
|
561
|
+
import { FileDrop, Icon } from '@woovi/ui';
|
|
562
|
+
|
|
563
|
+
// Area de drop de arquivos
|
|
564
|
+
<FileDrop
|
|
565
|
+
onDrop={(files) => handleFiles(files)}
|
|
566
|
+
accept={{ 'image/*': ['.png', '.jpg'] }}
|
|
567
|
+
/>
|
|
568
|
+
|
|
569
|
+
// Icone Material
|
|
570
|
+
<Icon name="upload" />
|
|
571
|
+
```
|
|
572
|
+
|
|
573
|
+
- FileDrop: https://storybook.woovi.design/?path=/docs/components-file-filedrop--docs
|
|
574
|
+
- IconButton: https://storybook.woovi.design/?path=/docs/components-file-iconbutton--docs
|
|
575
|
+
- MaterialIcon: https://storybook.woovi.design/?path=/docs/components-file-materialicon--docs
|
|
576
|
+
|
|
509
577
|
## Filter
|
|
510
578
|
|
|
511
579
|
Sistema de filtros para busca e filtragem de dados.
|
|
@@ -561,7 +629,7 @@ import { SectionHeading } from '@woovi/ui';
|
|
|
561
629
|
Utilitarios de layout e espacamento.
|
|
562
630
|
|
|
563
631
|
```tsx
|
|
564
|
-
import { Divider, HorizontalStack } from '@woovi/ui';
|
|
632
|
+
import { Divider, HorizontalStack, HoverPopper } from '@woovi/ui';
|
|
565
633
|
|
|
566
634
|
// Divisor
|
|
567
635
|
<Divider />
|
|
@@ -571,20 +639,26 @@ import { Divider, HorizontalStack } from '@woovi/ui';
|
|
|
571
639
|
<ActionButton label="Botao 1" />
|
|
572
640
|
<ActionButton label="Botao 2" />
|
|
573
641
|
</HorizontalStack>
|
|
642
|
+
|
|
643
|
+
// Popper ao passar o mouse
|
|
644
|
+
<HoverPopper content="Tooltip detalhado">
|
|
645
|
+
<span>Passe o mouse</span>
|
|
646
|
+
</HoverPopper>
|
|
574
647
|
```
|
|
575
648
|
|
|
576
649
|
- Divider: https://storybook.woovi.design/?path=/docs/components-helpers-divider--docs
|
|
577
650
|
- HorizontalStack: https://storybook.woovi.design/?path=/docs/components-helpers-horizontalstack--docs
|
|
651
|
+
- HoverPopper: https://storybook.woovi.design/?path=/docs/components-helpers-hoverpopper--docs
|
|
578
652
|
|
|
579
653
|
## Import
|
|
580
654
|
|
|
581
655
|
Componentes para importacao de arquivos (CSV, XLSX).
|
|
582
656
|
|
|
583
657
|
```tsx
|
|
584
|
-
import { DropzoneFile } from '@woovi/ui';
|
|
658
|
+
import { Dropzone, DropzoneFile } from '@woovi/ui';
|
|
585
659
|
|
|
586
660
|
// Dropzone para upload
|
|
587
|
-
<
|
|
661
|
+
<Dropzone
|
|
588
662
|
onDrop={(files) => handleImport(files)}
|
|
589
663
|
accept={{ 'text/csv': ['.csv'], 'application/vnd.openxmlformats-officedocument.spreadsheetml.sheet': ['.xlsx'] }}
|
|
590
664
|
>
|
|
@@ -592,6 +666,7 @@ import { DropzoneFile } from '@woovi/ui';
|
|
|
592
666
|
</Dropzone>
|
|
593
667
|
```
|
|
594
668
|
|
|
669
|
+
- Dropzone: https://storybook.woovi.design/?path=/docs/components-import-dropzone--docs
|
|
595
670
|
- DropzoneFile: https://storybook.woovi.design/?path=/docs/components-import-dropzonefile--docs
|
|
596
671
|
|
|
597
672
|
## Layout
|
|
@@ -599,17 +674,24 @@ import { DropzoneFile } from '@woovi/ui';
|
|
|
599
674
|
Componentes para estrutura de pagina.
|
|
600
675
|
|
|
601
676
|
```tsx
|
|
602
|
-
import { LayoutRoot, LayoutWrapper } from '@woovi/ui';
|
|
677
|
+
import { LayoutRoot, LayoutWrapper, LayoutWrapperFluid } from '@woovi/ui';
|
|
603
678
|
|
|
679
|
+
// Layout raiz da aplicacao
|
|
604
680
|
<LayoutRoot>
|
|
605
681
|
<LayoutWrapper>
|
|
606
682
|
<Content />
|
|
607
683
|
</LayoutWrapper>
|
|
608
684
|
</LayoutRoot>
|
|
685
|
+
|
|
686
|
+
// Layout fluido (sem max-width)
|
|
687
|
+
<LayoutWrapperFluid>
|
|
688
|
+
<Content />
|
|
689
|
+
</LayoutWrapperFluid>
|
|
609
690
|
```
|
|
610
691
|
|
|
611
692
|
- LayoutRoot: https://storybook.woovi.design/?path=/docs/components-layoutroot--docs
|
|
612
693
|
- LayoutWrapper: https://storybook.woovi.design/?path=/docs/components-layoutwrapper-layoutwrapper--docs
|
|
694
|
+
- LayoutWrapperFluid: https://storybook.woovi.design/?path=/docs/components-layoutwrapper-layoutwrapperfluid--docs
|
|
613
695
|
|
|
614
696
|
## Link
|
|
615
697
|
|
|
@@ -636,16 +718,20 @@ import { Link, WooviLink } from '@woovi/ui';
|
|
|
636
718
|
Logotipos da Woovi e OpenPix.
|
|
637
719
|
|
|
638
720
|
```tsx
|
|
639
|
-
import { Logo, WooviLogo } from '@woovi/ui';
|
|
721
|
+
import { Logo, WooviLogo, OpenPixLogoColor } from '@woovi/ui';
|
|
640
722
|
|
|
641
723
|
// Logo generico
|
|
642
724
|
<Logo src="/logo.png" alt="Empresa" />
|
|
643
725
|
|
|
644
726
|
// Logo Woovi
|
|
645
727
|
<WooviLogo width={150} />
|
|
728
|
+
|
|
729
|
+
// Logo OpenPix colorido
|
|
730
|
+
<OpenPixLogoColor width={120} />
|
|
646
731
|
```
|
|
647
732
|
|
|
648
733
|
- Logo: https://storybook.woovi.design/?path=/docs/components-logo--docs
|
|
734
|
+
- OpenPixLogoColor: https://storybook.woovi.design/?path=/docs/components-logo-openpixlogocolor--docs
|
|
649
735
|
- WooviLogo: https://storybook.woovi.design/?path=/docs/components-logo-woovilogo--docs
|
|
650
736
|
|
|
651
737
|
## MUI
|
|
@@ -667,39 +753,33 @@ import { BoxFlex, Typography } from '@woovi/ui';
|
|
|
667
753
|
|
|
668
754
|
## MultiFactor
|
|
669
755
|
|
|
670
|
-
Componentes de autenticacao multi-fator para
|
|
756
|
+
Componentes de autenticacao multi-fator para pagamentos.
|
|
671
757
|
|
|
672
758
|
```tsx
|
|
673
759
|
import {
|
|
674
|
-
|
|
760
|
+
MultiFactorPixPaymentView,
|
|
675
761
|
MultiFactorPixPaymentMatch,
|
|
676
762
|
MultiFactorPixPaymentMismatch,
|
|
677
|
-
|
|
763
|
+
MultiFactorConfirmModal
|
|
678
764
|
} from '@woovi/ui';
|
|
679
765
|
|
|
680
|
-
//
|
|
681
|
-
<
|
|
682
|
-
|
|
683
|
-
isOpen={isOpen}
|
|
766
|
+
// View de pagamento multi-fator
|
|
767
|
+
<MultiFactorPixPaymentView
|
|
768
|
+
amount={5000}
|
|
684
769
|
onConfirm={handleConfirm}
|
|
685
|
-
handleOpenChange={handleClose}
|
|
686
|
-
email="user@example.com"
|
|
687
770
|
/>
|
|
688
771
|
|
|
689
|
-
//
|
|
690
|
-
<MultiFactorPixPaymentMatch
|
|
772
|
+
// Confirmacao de match
|
|
773
|
+
<MultiFactorPixPaymentMatch />
|
|
691
774
|
|
|
692
|
-
//
|
|
693
|
-
<
|
|
694
|
-
|
|
695
|
-
|
|
696
|
-
|
|
697
|
-
pixAuthentication={{ brCode: '...', taxID: '...' }}
|
|
698
|
-
onGetResult={handleGetResult}
|
|
775
|
+
// Modal de confirmacao MFA
|
|
776
|
+
<MultiFactorConfirmModal
|
|
777
|
+
open={isOpen}
|
|
778
|
+
onConfirm={handleMFA}
|
|
779
|
+
onClose={handleClose}
|
|
699
780
|
/>
|
|
700
781
|
```
|
|
701
782
|
|
|
702
|
-
- MultiFactorConfirmModal: https://storybook.woovi.design/?path=/docs/components-multifactor-multifactorconfirmmodal--docs
|
|
703
783
|
- MultiFactorPixPaymentMatch: https://storybook.woovi.design/?path=/docs/components-multifactor-multifactorpixpaymentmatch--docs
|
|
704
784
|
- MultiFactorPixPaymentMismatch: https://storybook.woovi.design/?path=/docs/components-multifactor-multifactorpixpaymentmismatch--docs
|
|
705
785
|
- MultiFactorPixPaymentView: https://storybook.woovi.design/?path=/docs/components-multifactor-multifactorpixpaymentview--docs
|
|
@@ -835,7 +915,7 @@ import { ContentBoundary } from '@woovi/ui';
|
|
|
835
915
|
Componentes com integracao de rotas.
|
|
836
916
|
|
|
837
917
|
```tsx
|
|
838
|
-
import { RoutedTabs } from '@woovi/ui';
|
|
918
|
+
import { RoutedTabs, TabbedContent } from '@woovi/ui';
|
|
839
919
|
|
|
840
920
|
// Tabs com rotas
|
|
841
921
|
<RoutedTabs
|
|
@@ -845,16 +925,25 @@ import { RoutedTabs } from '@woovi/ui';
|
|
|
845
925
|
{ label: 'Configuracoes', path: '/settings' },
|
|
846
926
|
]}
|
|
847
927
|
/>
|
|
928
|
+
|
|
929
|
+
// Conteudo com tabs
|
|
930
|
+
<TabbedContent
|
|
931
|
+
tabs={[
|
|
932
|
+
{ label: 'Tab 1', content: <Content1 /> },
|
|
933
|
+
{ label: 'Tab 2', content: <Content2 /> },
|
|
934
|
+
]}
|
|
935
|
+
/>
|
|
848
936
|
```
|
|
849
937
|
|
|
850
938
|
- RoutedTabs: https://storybook.woovi.design/?path=/docs/components-routed-routedtabs--docs
|
|
939
|
+
- TabbedContent: https://storybook.woovi.design/?path=/docs/components-routed-tabbedcontent--docs
|
|
851
940
|
|
|
852
941
|
## ScreenHeader
|
|
853
942
|
|
|
854
943
|
Cabecalhos de tela para dashboards.
|
|
855
944
|
|
|
856
945
|
```tsx
|
|
857
|
-
import { ScreenHeaderUI, ScreenHeaderCard } from '@woovi/ui';
|
|
946
|
+
import { ScreenHeaderUI, ScreenHeaderCard, ScreenHeaderUIResponsive } from '@woovi/ui';
|
|
858
947
|
|
|
859
948
|
// Header de tela
|
|
860
949
|
<ScreenHeaderUI
|
|
@@ -865,10 +954,17 @@ import { ScreenHeaderUI, ScreenHeaderCard } from '@woovi/ui';
|
|
|
865
954
|
|
|
866
955
|
// Header em card
|
|
867
956
|
<ScreenHeaderCard title="Configuracoes" />
|
|
957
|
+
|
|
958
|
+
// Header responsivo
|
|
959
|
+
<ScreenHeaderUIResponsive
|
|
960
|
+
title="Pagamentos"
|
|
961
|
+
backHref="/home"
|
|
962
|
+
/>
|
|
868
963
|
```
|
|
869
964
|
|
|
870
965
|
- ScreenHeaderUI: https://storybook.woovi.design/?path=/docs/components-screenheader-screenheaderui--docs
|
|
871
966
|
- ScreenHeaderCard: https://storybook.woovi.design/?path=/docs/components-screenheadercard-screenheadercard--docs
|
|
967
|
+
- ScreenHeaderUIResponsive: https://storybook.woovi.design/?path=/docs/components-screenheaderresponsive-screenheaderuiresponsive--docs
|
|
872
968
|
|
|
873
969
|
## Search
|
|
874
970
|
|
|
@@ -877,13 +973,10 @@ Campos de busca.
|
|
|
877
973
|
```tsx
|
|
878
974
|
import { GlobalSearchField, SearchField } from '@woovi/ui';
|
|
879
975
|
|
|
880
|
-
// Campo de busca global
|
|
976
|
+
// Campo de busca global
|
|
881
977
|
<GlobalSearchField
|
|
882
|
-
|
|
883
|
-
|
|
884
|
-
variant="primary"
|
|
885
|
-
onDebounceApplied={(value, event) => handleSearch(value)}
|
|
886
|
-
fullWidth={false}
|
|
978
|
+
placeholder="Buscar transacoes..."
|
|
979
|
+
onSearch={(query) => handleSearch(query)}
|
|
887
980
|
/>
|
|
888
981
|
|
|
889
982
|
// Campo de busca simples
|
|
@@ -901,7 +994,7 @@ import { GlobalSearchField, SearchField } from '@woovi/ui';
|
|
|
901
994
|
Componentes de selecao.
|
|
902
995
|
|
|
903
996
|
```tsx
|
|
904
|
-
import { Select } from '@woovi/ui';
|
|
997
|
+
import { Select, SelectAll } from '@woovi/ui';
|
|
905
998
|
|
|
906
999
|
// Select basico
|
|
907
1000
|
<Select
|
|
@@ -913,9 +1006,18 @@ import { Select } from '@woovi/ui';
|
|
|
913
1006
|
{ value: 'inactive', label: 'Inativo' },
|
|
914
1007
|
]}
|
|
915
1008
|
/>
|
|
1009
|
+
|
|
1010
|
+
// Select com opcao "Todos"
|
|
1011
|
+
<SelectAll
|
|
1012
|
+
label="Filtrar por"
|
|
1013
|
+
value={filter}
|
|
1014
|
+
onChange={setFilter}
|
|
1015
|
+
options={options}
|
|
1016
|
+
/>
|
|
916
1017
|
```
|
|
917
1018
|
|
|
918
1019
|
- Select: https://storybook.woovi.design/?path=/docs/components-select-select--docs
|
|
1020
|
+
- SelectAll: https://storybook.woovi.design/?path=/docs/components-select-selectall--docs
|
|
919
1021
|
|
|
920
1022
|
## Sidebar
|
|
921
1023
|
|
|
@@ -977,6 +1079,23 @@ import { LedgerStatementText, TransactionTypeText } from '@woovi/ui';
|
|
|
977
1079
|
- LedgerStatementText: https://storybook.woovi.design/?path=/docs/components-statement-ledgerstatementtext--docs
|
|
978
1080
|
- TransactionTypeText: https://storybook.woovi.design/?path=/docs/components-statement-transactiontypetext--docs
|
|
979
1081
|
|
|
1082
|
+
## Stepper
|
|
1083
|
+
|
|
1084
|
+
Componente de progresso em etapas.
|
|
1085
|
+
|
|
1086
|
+
```tsx
|
|
1087
|
+
import { Step, Stepper } from '@woovi/ui';
|
|
1088
|
+
|
|
1089
|
+
<Stepper activeStep={1}>
|
|
1090
|
+
<Step label="Dados pessoais" />
|
|
1091
|
+
<Step label="Endereco" />
|
|
1092
|
+
<Step label="Confirmacao" />
|
|
1093
|
+
</Stepper>
|
|
1094
|
+
```
|
|
1095
|
+
|
|
1096
|
+
- Step: https://storybook.woovi.design/?path=/docs/components-step--docs
|
|
1097
|
+
- Stepper: https://storybook.woovi.design/?path=/docs/components-stepper-stepper--docs
|
|
1098
|
+
|
|
980
1099
|
## SwipeableDialog
|
|
981
1100
|
|
|
982
1101
|
Dialog com suporte a gestos de swipe para mobile.
|
|
@@ -1007,47 +1126,24 @@ import {
|
|
|
1007
1126
|
|
|
1008
1127
|
## Table
|
|
1009
1128
|
|
|
1010
|
-
Componentes de tabela
|
|
1129
|
+
Componentes de tabela e listas virtualizadas.
|
|
1011
1130
|
|
|
1012
1131
|
```tsx
|
|
1013
|
-
import {
|
|
1014
|
-
CardListVirtualized,
|
|
1015
|
-
CardListLoading,
|
|
1016
|
-
CardColumn,
|
|
1017
|
-
TableToggleViewModel,
|
|
1018
|
-
TablePixEMV
|
|
1019
|
-
} from '@woovi/ui';
|
|
1132
|
+
import { CardListVirtualized, CardListLoading } from '@woovi/ui';
|
|
1020
1133
|
|
|
1021
1134
|
// Lista virtualizada para grandes conjuntos de dados
|
|
1022
1135
|
<CardListVirtualized
|
|
1023
|
-
|
|
1024
|
-
data={
|
|
1025
|
-
|
|
1026
|
-
cardListDefaultHeight="300px"
|
|
1136
|
+
items={transactions}
|
|
1137
|
+
renderItem={(item) => <TransactionCard data={item} />}
|
|
1138
|
+
height={600}
|
|
1027
1139
|
/>
|
|
1028
1140
|
|
|
1029
1141
|
// Estado de loading
|
|
1030
|
-
<CardListLoading
|
|
1031
|
-
|
|
1032
|
-
// Card individual com colunas (usado internamente pela lista virtualizada)
|
|
1033
|
-
<CardColumn
|
|
1034
|
-
columns={columns}
|
|
1035
|
-
row={{ id: 1, name: 'John', email: 'john@example.com' }}
|
|
1036
|
-
onCardClick={(card, event) => handleClick(card)}
|
|
1037
|
-
/>
|
|
1038
|
-
|
|
1039
|
-
// Toggle entre visualizacao tabela e card
|
|
1040
|
-
<TableToggleViewModel />
|
|
1041
|
-
|
|
1042
|
-
// Tabela de dados EMV de QR Code Pix (com linhas expansiveis para tags aninhadas)
|
|
1043
|
-
<TablePixEMV emv="00020126580014br.gov.bcb.pix0136..." />
|
|
1142
|
+
<CardListLoading count={5} />
|
|
1044
1143
|
```
|
|
1045
1144
|
|
|
1046
|
-
- CardColumn: https://storybook.woovi.design/?path=/docs/components-table-cardcolumn--docs
|
|
1047
1145
|
- CardListLoading: https://storybook.woovi.design/?path=/docs/components-table-cardlistloading--docs
|
|
1048
1146
|
- CardListVirtualized: https://storybook.woovi.design/?path=/docs/components-table-cardlistvirtualized--docs
|
|
1049
|
-
- TableToggleViewModel: https://storybook.woovi.design/?path=/docs/components-table-tabletoggleviewmodel--docs
|
|
1050
|
-
- TablePixEMV: https://storybook.woovi.design/?path=/docs/components-table-tablepixemv--docs
|
|
1051
1147
|
|
|
1052
1148
|
## Tag
|
|
1053
1149
|
|
|
@@ -1057,8 +1153,10 @@ Componentes de tag e status.
|
|
|
1057
1153
|
import {
|
|
1058
1154
|
Tag,
|
|
1059
1155
|
TagsContainer,
|
|
1156
|
+
TagWebhookStatus,
|
|
1060
1157
|
CashbackTagStatus,
|
|
1061
1158
|
TransactionTagStatus,
|
|
1159
|
+
TransactionTagEntryType
|
|
1062
1160
|
} from '@woovi/ui';
|
|
1063
1161
|
|
|
1064
1162
|
// Tag simples
|
|
@@ -1072,21 +1170,25 @@ import {
|
|
|
1072
1170
|
</TagsContainer>
|
|
1073
1171
|
|
|
1074
1172
|
// Tags de status especificos
|
|
1173
|
+
<TagWebhookStatus status="active" />
|
|
1075
1174
|
<CashbackTagStatus status="pending" />
|
|
1076
1175
|
<TransactionTagStatus status="completed" />
|
|
1176
|
+
<TransactionTagEntryType type="credit" />
|
|
1077
1177
|
```
|
|
1078
1178
|
|
|
1079
1179
|
- Tag: https://storybook.woovi.design/?path=/docs/components-tag-tag--docs
|
|
1080
1180
|
- TagsContainer: https://storybook.woovi.design/?path=/docs/components-tag-tagscontainer--docs
|
|
1181
|
+
- TagWebhookStatus: https://storybook.woovi.design/?path=/docs/components-tagwebhookstatus--docs
|
|
1081
1182
|
- CashbackTagStatus: https://storybook.woovi.design/?path=/docs/components-cashbacktagstatus--docs
|
|
1082
1183
|
- TransactionTagStatus: https://storybook.woovi.design/?path=/docs/components-transactiontagstatus--docs
|
|
1184
|
+
- TransactionTagEntryType: https://storybook.woovi.design/?path=/docs/components-transactiontagentrytype--docs
|
|
1083
1185
|
|
|
1084
1186
|
## Term
|
|
1085
1187
|
|
|
1086
1188
|
Componentes de termos e condicoes.
|
|
1087
1189
|
|
|
1088
1190
|
```tsx
|
|
1089
|
-
import { Terms, TermsLink } from '@woovi/ui';
|
|
1191
|
+
import { Terms, TermsLink, TermsModal } from '@woovi/ui';
|
|
1090
1192
|
|
|
1091
1193
|
// Checkbox de termos
|
|
1092
1194
|
<Terms
|
|
@@ -1096,6 +1198,13 @@ import { Terms, TermsLink } from '@woovi/ui';
|
|
|
1096
1198
|
|
|
1097
1199
|
// Link para termos
|
|
1098
1200
|
<TermsLink href="/terms">Termos de Uso</TermsLink>
|
|
1201
|
+
|
|
1202
|
+
// Modal de termos
|
|
1203
|
+
<TermsModal
|
|
1204
|
+
open={showTerms}
|
|
1205
|
+
onAccept={handleAccept}
|
|
1206
|
+
onClose={() => setShowTerms(false)}
|
|
1207
|
+
/>
|
|
1099
1208
|
```
|
|
1100
1209
|
|
|
1101
1210
|
- Terms: https://storybook.woovi.design/?path=/docs/components-term-terms--docs
|
|
@@ -1165,19 +1274,53 @@ Componentes utilitarios diversos.
|
|
|
1165
1274
|
```tsx
|
|
1166
1275
|
import {
|
|
1167
1276
|
BackButton,
|
|
1277
|
+
Badge,
|
|
1278
|
+
Circle,
|
|
1279
|
+
CircleButton,
|
|
1280
|
+
Column,
|
|
1168
1281
|
CopyInput,
|
|
1282
|
+
EmptyMessage,
|
|
1169
1283
|
EncryptedText,
|
|
1170
1284
|
FloatingMenu,
|
|
1285
|
+
LinearProgress,
|
|
1171
1286
|
Loading,
|
|
1287
|
+
OverflowDiv,
|
|
1288
|
+
ProgressBar,
|
|
1289
|
+
QuestionTooltip,
|
|
1172
1290
|
Row,
|
|
1291
|
+
SafeTextTooltip,
|
|
1292
|
+
ToggleButtonGroup
|
|
1173
1293
|
} from '@woovi/ui';
|
|
1174
1294
|
|
|
1175
1295
|
// Botao voltar
|
|
1176
1296
|
<BackButton onClick={() => navigate(-1)} />
|
|
1177
1297
|
|
|
1298
|
+
// Badge de notificacao
|
|
1299
|
+
<Badge count={5}>
|
|
1300
|
+
<Icon name="notifications" />
|
|
1301
|
+
</Badge>
|
|
1302
|
+
|
|
1303
|
+
// Circulo decorativo
|
|
1304
|
+
<Circle color="primary" size={40} />
|
|
1305
|
+
|
|
1306
|
+
// Botao circular
|
|
1307
|
+
<CircleButton icon="add" onClick={handleAdd} />
|
|
1308
|
+
|
|
1309
|
+
// Layout em coluna
|
|
1310
|
+
<Column gap={2}>
|
|
1311
|
+
<Item1 />
|
|
1312
|
+
<Item2 />
|
|
1313
|
+
</Column>
|
|
1314
|
+
|
|
1178
1315
|
// Input com botao de copiar
|
|
1179
1316
|
<CopyInput value="texto-para-copiar" />
|
|
1180
1317
|
|
|
1318
|
+
// Mensagem de estado vazio
|
|
1319
|
+
<EmptyMessage
|
|
1320
|
+
title="Nenhuma transacao"
|
|
1321
|
+
description="Suas transacoes aparecerao aqui"
|
|
1322
|
+
/>
|
|
1323
|
+
|
|
1181
1324
|
// Texto criptografado (ex: CPF mascarado)
|
|
1182
1325
|
<EncryptedText value="123.456.789-00" />
|
|
1183
1326
|
|
|
@@ -1189,23 +1332,64 @@ import {
|
|
|
1189
1332
|
]}
|
|
1190
1333
|
/>
|
|
1191
1334
|
|
|
1335
|
+
// Barra de progresso linear
|
|
1336
|
+
<LinearProgress value={75} />
|
|
1337
|
+
|
|
1192
1338
|
// Loading spinner
|
|
1193
1339
|
<Loading />
|
|
1194
1340
|
<Loading size="small" />
|
|
1195
1341
|
|
|
1342
|
+
// Div com overflow controlado
|
|
1343
|
+
<OverflowDiv maxHeight={200}>
|
|
1344
|
+
<LongContent />
|
|
1345
|
+
</OverflowDiv>
|
|
1346
|
+
|
|
1347
|
+
// Barra de progresso
|
|
1348
|
+
<ProgressBar value={50} max={100} />
|
|
1349
|
+
|
|
1350
|
+
// Tooltip com icone de interrogacao
|
|
1351
|
+
<QuestionTooltip>
|
|
1352
|
+
Explicacao detalhada aqui
|
|
1353
|
+
</QuestionTooltip>
|
|
1354
|
+
|
|
1196
1355
|
// Layout em linha
|
|
1197
1356
|
<Row gap={2}>
|
|
1198
1357
|
<Item1 />
|
|
1199
1358
|
<Item2 />
|
|
1200
1359
|
</Row>
|
|
1360
|
+
|
|
1361
|
+
// Tooltip com texto truncado seguro
|
|
1362
|
+
<SafeTextTooltip text="Texto muito longo que sera truncado..." />
|
|
1363
|
+
|
|
1364
|
+
// Grupo de botoes toggle
|
|
1365
|
+
<ToggleButtonGroup
|
|
1366
|
+
value={view}
|
|
1367
|
+
onChange={setView}
|
|
1368
|
+
options={[
|
|
1369
|
+
{ value: 'list', label: 'Lista' },
|
|
1370
|
+
{ value: 'grid', label: 'Grid' },
|
|
1371
|
+
]}
|
|
1372
|
+
/>
|
|
1201
1373
|
```
|
|
1202
1374
|
|
|
1203
1375
|
- BackButton: https://storybook.woovi.design/?path=/docs/components-backbutton--docs
|
|
1376
|
+
- Badge: https://storybook.woovi.design/?path=/docs/components-badge--docs
|
|
1377
|
+
- Circle: https://storybook.woovi.design/?path=/docs/components-circle--docs
|
|
1378
|
+
- CircleButton: https://storybook.woovi.design/?path=/docs/components-circlebutton--docs
|
|
1379
|
+
- Column: https://storybook.woovi.design/?path=/docs/components-column--docs
|
|
1204
1380
|
- CopyInput: https://storybook.woovi.design/?path=/docs/components-copyinput--docs
|
|
1381
|
+
- EmptyMessage: https://storybook.woovi.design/?path=/docs/components-emptymessage--docs
|
|
1205
1382
|
- EncryptedText: https://storybook.woovi.design/?path=/docs/components-encryptedtext--docs
|
|
1206
1383
|
- FloatingMenu: https://storybook.woovi.design/?path=/docs/components-floatingmenu--docs
|
|
1384
|
+
- LinearProgress: https://storybook.woovi.design/?path=/docs/components-linearprogress--docs
|
|
1207
1385
|
- Loading: https://storybook.woovi.design/?path=/docs/components-loading--docs
|
|
1386
|
+
- OverflowDiv: https://storybook.woovi.design/?path=/docs/components-overflowdiv--docs
|
|
1387
|
+
- ProgressBar: https://storybook.woovi.design/?path=/docs/components-progressbar--docs
|
|
1388
|
+
- QuestionTooltip: https://storybook.woovi.design/?path=/docs/components-questiontooltip--docs
|
|
1208
1389
|
- Row: https://storybook.woovi.design/?path=/docs/components-row--docs
|
|
1390
|
+
- SafeTextTooltip: https://storybook.woovi.design/?path=/docs/components-safetexttooltip--docs
|
|
1391
|
+
- ToggleButtonGroup: https://storybook.woovi.design/?path=/docs/components-togglebuttongroup--docs
|
|
1392
|
+
- UnsupportedBrowserWarning: https://storybook.woovi.design/?path=/docs/components-unsupportedbrowser-unsupportedbrowserwarning--docs
|
|
1209
1393
|
- WindowPopper: https://storybook.woovi.design/?path=/docs/components-windowpopper-windowpopper--docs
|
|
1210
1394
|
|
|
1211
1395
|
---
|
|
@@ -1269,8 +1453,8 @@ function App() {
|
|
|
1269
1453
|
<CardAnalytics
|
|
1270
1454
|
title="Total Recebido"
|
|
1271
1455
|
value="R$ 15.000,00"
|
|
1272
|
-
|
|
1273
|
-
|
|
1456
|
+
change="+12%"
|
|
1457
|
+
trend="up"
|
|
1274
1458
|
/>
|
|
1275
1459
|
|
|
1276
1460
|
<Card>
|