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