@woovi/ui 4.0.942
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/.eslintrc.js +1 -0
- package/README.md +1 -0
- package/babel.config.js +3 -0
- package/babel.rollup.config.js +20 -0
- package/jest-eslint.config.js +7 -0
- package/jest.config.js +17 -0
- package/lib/index.cjs.js +1 -0
- package/package.json +107 -0
- package/rollup.config.js +96 -0
- package/src/BackButton.tsx +25 -0
- package/src/Badge.tsx +17 -0
- package/src/Banner.stories.tsx +108 -0
- package/src/Banner.tsx +44 -0
- package/src/CashbackTagStatus.tsx +31 -0
- package/src/Circle.tsx +10 -0
- package/src/CircleButton.tsx +51 -0
- package/src/ClockIcon.tsx +41 -0
- package/src/Column.tsx +6 -0
- package/src/CopyInput.tsx +40 -0
- package/src/EmptyMessage.stories.tsx +19 -0
- package/src/EmptyMessage.tsx +23 -0
- package/src/EncryptedText.tsx +23 -0
- package/src/FloatingMenu.tsx +88 -0
- package/src/LayoutRoot.tsx +14 -0
- package/src/LinearProgress.tsx +79 -0
- package/src/Link.tsx +9 -0
- package/src/Loading.stories.tsx +29 -0
- package/src/Loading.tsx +44 -0
- package/src/Logo.tsx +8 -0
- package/src/LoremIpsum.tsx +4 -0
- package/src/Modal/Modal.stories.tsx +38 -0
- package/src/Modal/Modal.tsx +93 -0
- package/src/OverflowDiv.tsx +25 -0
- package/src/ProgressBar.tsx +58 -0
- package/src/ProgressBarText.tsx +34 -0
- package/src/QuestionTooltip.tsx +40 -0
- package/src/RadioCard/RadioCard.tsx +101 -0
- package/src/RadioCard/__stories__/RadioCard.stories.tsx +235 -0
- package/src/Row.tsx +8 -0
- package/src/SafeTextTooltip.tsx +35 -0
- package/src/SearchField.tsx +71 -0
- package/src/Step.tsx +32 -0
- package/src/TagWebhookStatus.tsx +20 -0
- package/src/ToggleButtonGroup.stories.tsx +65 -0
- package/src/ToggleButtonGroup.tsx +114 -0
- package/src/ToggleButtonGroupMobile.tsx +56 -0
- package/src/TransactionTagEntryTypes.tsx +18 -0
- package/src/TransactionTagStatus.tsx +27 -0
- package/src/UnsupportedBrowserWarning.tsx +76 -0
- package/src/__visual__/CopyInput.spec.tsx +12 -0
- package/src/__visual__/__image_snapshots__/copy-input-spec-tsx-match-image-snapshot-copy-input-1-snap.png +0 -0
- package/src/auth/LoginWrapper.tsx +21 -0
- package/src/avatar/Avatar.tsx +66 -0
- package/src/avatar/AvatarGroup.tsx +103 -0
- package/src/avatar/AvatarGroupArray.tsx +67 -0
- package/src/avatar/AvatarGroupSelectedAll.tsx +76 -0
- package/src/avatar/stories/Avatar.stories.tsx +24 -0
- package/src/buttons/ActionButton.tsx +111 -0
- package/src/buttons/DangerButton.tsx +35 -0
- package/src/buttons/PayWithPixButton.tsx +75 -0
- package/src/buttons/SplitButton.tsx +112 -0
- package/src/buttons/__stories__/PayWithPixButton.stories.tsx +19 -0
- package/src/buttons/__visual__/ActionButton.spec.tsx +12 -0
- package/src/buttons/__visual__/PayWithPixButton.spec.tsx +12 -0
- package/src/buttons/__visual__/__image_snapshots__/action-button-spec-tsx-match-image-snapshot-action-button-1-snap.png +0 -0
- package/src/buttons/__visual__/__image_snapshots__/pay-with-pix-button-spec-tsx-match-image-snapshot-pay-with-pix-button-1-snap.png +0 -0
- package/src/buttons/getLoadingIconProp.tsx +7 -0
- package/src/buttons/stories/ActionButton.stories.tsx +196 -0
- package/src/buttons/stories/SplitButton.stories.tsx +28 -0
- package/src/card/Card.tsx +91 -0
- package/src/card/CardActions.tsx +13 -0
- package/src/card/CardContent.tsx +26 -0
- package/src/card/CardForm.tsx +80 -0
- package/src/card/CardList.tsx +67 -0
- package/src/card/CardRadio.tsx +0 -0
- package/src/card/CardSkeleton.tsx +25 -0
- package/src/card/CardWithLink.tsx +49 -0
- package/src/card/CardWithLinkSkeleton.tsx +14 -0
- package/src/card/basicContext/CardBasicContext.tsx +190 -0
- package/src/card/cardWithActions/CardFooter.tsx +13 -0
- package/src/card/cardWithActions/CardHeader.tsx +15 -0
- package/src/card/cardWithActions/CardWithActions.stories.tsx +53 -0
- package/src/card/cardWithActions/CardWithActions.tsx +161 -0
- package/src/card/stories/Card.stories.tsx +91 -0
- package/src/card/stories/CardContent.stories.tsx +28 -0
- package/src/card/stories/CardForm.stories.tsx +49 -0
- package/src/card/stories/CardWithLink.stories.tsx +64 -0
- package/src/cardAnalytics/CardAnalytics.stories.tsx +83 -0
- package/src/cardAnalytics/CardAnalytics.tsx +78 -0
- package/src/cardAnalytics/CardAnalyticsSkeleton.tsx +26 -0
- package/src/cardGrid/CardField.tsx +44 -0
- package/src/cardGrid/CardFieldCentered.tsx +28 -0
- package/src/cardGrid/CardGrid.stories.tsx +102 -0
- package/src/cardGrid/CardGrid.tsx +38 -0
- package/src/cardGrid/Grid.tsx +27 -0
- package/src/cardWithImage/CardWithImage.tsx +66 -0
- package/src/cardWithImage/__stories__/CardWithImage.stories.tsx +25 -0
- package/src/cardWithImage/__stories__/__assets__/WooviCashback.png +0 -0
- package/src/code/Code.stories.tsx +25 -0
- package/src/code/Code.tsx +20 -0
- package/src/collapsible/Collapse.tsx +73 -0
- package/src/collapsible/Collapsible.tsx +214 -0
- package/src/collapsible/CollapsibleActions.tsx +162 -0
- package/src/collapsible/CollapsibleDetails.tsx +37 -0
- package/src/collapsible/CollapsibleFillWrapper.tsx +6 -0
- package/src/collapsible/CollapsibleGroup.tsx +6 -0
- package/src/collapsible/CollapsibleInfinityActions.tsx +238 -0
- package/src/collapsible/CollapsiblePanelActions.tsx +57 -0
- package/src/collapsible/CollapsibleStep.tsx +118 -0
- package/src/collapsible/CollapsibleStepHeader.tsx +90 -0
- package/src/collapsible/CollapsibleSummary.tsx +54 -0
- package/src/collapsible/CollapsibleTree.tsx +236 -0
- package/src/collapsible/ExpandMoreIcon.tsx +12 -0
- package/src/collapsible/LeafCollapsible.tsx +17 -0
- package/src/collapsible/TransparencyCollapsibleWrapper.tsx +28 -0
- package/src/collapsible/stories/CollapisbleStep.stories.tsx +121 -0
- package/src/collapsible/stories/Collapse.stories.tsx +50 -0
- package/src/collapsible/stories/Collapsible.stories.tsx +121 -0
- package/src/collapsible/stories/CollapsibleGroup.stories.tsx +110 -0
- package/src/collapsible/stories/CollapsibleOld.stories.tsx +582 -0
- package/src/collapsible/stories/CollapsibleStepHeader.stories.tsx +37 -0
- package/src/company/CompanyLogo.tsx +38 -0
- package/src/company/stories/CompanyLogo.stories.tsx +18 -0
- package/src/content/ActionMargin.stories.tsx +21 -0
- package/src/content/ActionMargin.tsx +40 -0
- package/src/content/ActionMarginText.tsx +8 -0
- package/src/content/Content.tsx +18 -0
- package/src/content/IntroText.tsx +23 -0
- package/src/countdown/Countdown.stories.tsx +32 -0
- package/src/countdown/Countdown.tsx +41 -0
- package/src/countdown/ShowCounter.tsx +36 -0
- package/src/countdown/useCountdown.tsx +34 -0
- package/src/datagrid/DataGrid.stories.tsx +146 -0
- package/src/datagrid/DataGrid.tsx +263 -0
- package/src/datagrid/DataGridDetailContainer.tsx +23 -0
- package/src/datagrid/DataGridRow.tsx +30 -0
- package/src/datagrid/__tests__/DataGrid.spec.tsx +33 -0
- package/src/datagrid/cellTypeBasisToPercentage.tsx +18 -0
- package/src/datagrid/cellTypeBoolean.tsx +21 -0
- package/src/datagrid/cellTypeCurrency.ts +18 -0
- package/src/datagrid/cellTypeDate.ts +8 -0
- package/src/datagrid/cellTypeDatetime.ts +8 -0
- package/src/datagrid/cellTypeDatetimeSeconds.ts +8 -0
- package/src/datagrid/cellTypeExpand.tsx +77 -0
- package/src/datagrid/cellTypeLink.tsx +22 -0
- package/src/datagrid/cellTypePhone.tsx +22 -0
- package/src/datagrid/cellTypeTag.tsx +28 -0
- package/src/datagrid/cellTypeTaxID.tsx +12 -0
- package/src/datagrid/cellTypeTime.ts +8 -0
- package/src/datagrid/columnTypes.ts +21 -0
- package/src/datagrid/useTableView.tsx +26 -0
- package/src/deprecated/VirtualizedMobileList.tsx +71 -0
- package/src/deprecated/VirtualizedTable.tsx +165 -0
- package/src/deprecated/VirtualizedTableHeader.tsx +103 -0
- package/src/device/Phone.stories.tsx +34 -0
- package/src/device/Phone.tsx +62 -0
- package/src/dialog/DialogContext.tsx +22 -0
- package/src/dialog/DialogProvider.tsx +141 -0
- package/src/dialog/__tests__/useDialog.spec.tsx +73 -0
- package/src/dialog/index.tsx +6 -0
- package/src/dialog/useDialog.tsx +14 -0
- package/src/drawer/DrawerCard.tsx +70 -0
- package/src/drawer/DrawerResponsiveWrapper.tsx +12 -0
- package/src/drawer/swipable/SwipeableDrawer.stories.tsx +35 -0
- package/src/drawer/swipable/SwipeableDrawer.tsx +40 -0
- package/src/error/ErrorBoundaryWithRetry.tsx +50 -0
- package/src/error/ErrorView.tsx +61 -0
- package/src/file/FileDrop.tsx +73 -0
- package/src/file/IconButton.tsx +57 -0
- package/src/file/MaterialIcon.tsx +35 -0
- package/src/filter/Filter.tsx +108 -0
- package/src/filter/FilterRelayFormik.tsx +53 -0
- package/src/filter/FormikFilter.tsx +39 -0
- package/src/filter/__tests__/FieldDecoding.spec.tsx +68 -0
- package/src/filter/__tests__/FieldEncoding.spec.tsx +68 -0
- package/src/filter/__tests__/Filter.spec.tsx +35 -0
- package/src/filter/__tests__/FilterRelayFormik.spec.tsx +43 -0
- package/src/filter/decodeQueryParamsFromLocation.tsx +19 -0
- package/src/filter/fieldToParamConfigMap.tsx +31 -0
- package/src/filter/formatFilterValue.tsx +36 -0
- package/src/filter/formatFilters.tsx +27 -0
- package/src/filter/isValidDatetime.tsx +4 -0
- package/src/filter/orderBy/OrderBySelect.tsx +81 -0
- package/src/filter/stringToBoolean.ts +15 -0
- package/src/filter/useFilterFormik.tsx +372 -0
- package/src/form/FieldRow.tsx +28 -0
- package/src/form/__stories__/FieldRow.stories.tsx +27 -0
- package/src/heading/SectionHeading.tsx +18 -0
- package/src/heading/__stories__/SectionHeading.stories.tsx +23 -0
- package/src/helpers/Divider.tsx +27 -0
- package/src/helpers/HorizontalStack.tsx +12 -0
- package/src/helpers/HoverPopper.tsx +57 -0
- package/src/helpers/stories/HorizontalStack.stories.tsx +82 -0
- package/src/helpers.ts +133 -0
- package/src/icons/AssineOnlineIcon.tsx +123 -0
- package/src/icons/BotConversaIcon.tsx +39 -0
- package/src/icons/CheckIconLabel.tsx +34 -0
- package/src/icons/CheckboxChecked.tsx +34 -0
- package/src/icons/CheckboxIndeterminate.tsx +27 -0
- package/src/icons/CheckboxUnchecked.tsx +36 -0
- package/src/icons/Icon.tsx +8 -0
- package/src/icons/N8nIcon.tsx +40 -0
- package/src/icons/NuvemshopIcon.tsx +25 -0
- package/src/icons/RightTopDiagonalVector.tsx +22 -0
- package/src/icons/SVG.tsx +9 -0
- package/src/icons/SocPanelIcon.tsx +48 -0
- package/src/icons/WabizIcon.tsx +42 -0
- package/src/icons/WakeIcon.tsx +45 -0
- package/src/import/Dropzone.tsx +13 -0
- package/src/import/DropzoneFile.tsx +278 -0
- package/src/import/xlsx/Import.tsx +161 -0
- package/src/import/xlsx/ImportDropzone.tsx +120 -0
- package/src/import/xlsx/ImportProcessData.tsx +92 -0
- package/src/import/xlsx/ImportProcessQueue.tsx +176 -0
- package/src/import/xlsx/ImportStepper.tsx +247 -0
- package/src/import/xlsx/ImportTable.tsx +72 -0
- package/src/import/xlsx/ImportUtils.tsx +726 -0
- package/src/index.tsx +328 -0
- package/src/layoutWrapper/LayoutWrapper.tsx +48 -0
- package/src/layoutWrapper/LayoutWrapperFluid.tsx +38 -0
- package/src/logo/OpenPixLogoColor.tsx +137 -0
- package/src/logo/WooviLogo.tsx +46 -0
- package/src/mui/BoxFlex.tsx +27 -0
- package/src/mui/Typography.tsx +8 -0
- package/src/mui/__stories__/Typography.stories.tsx +14 -0
- package/src/mui/__stories__/TypographyExample.tsx +29 -0
- package/src/multifactor/MultiFactorConfirmModal.tsx +67 -0
- package/src/multifactor/__stories__/MultiFactorConfirmModal.stories.tsx +30 -0
- package/src/openpix/charge/ChargeTagStatus.tsx +21 -0
- package/src/openpix/images/GiftbackEnvelopeSvg.tsx +152 -0
- package/src/openpix/images/WooviLogoInMobile.tsx +35 -0
- package/src/openpix/order/CheckIcon.tsx +20 -0
- package/src/openpix/order/ConfirmedIcon.tsx +189 -0
- package/src/openpix/order/EarnCashback.tsx +39 -0
- package/src/openpix/order/EarnCashbackExclusive.tsx +42 -0
- package/src/openpix/order/GiftbackRedeem.tsx +38 -0
- package/src/openpix/order/PayPixValueCompany.tsx +85 -0
- package/src/openpix/order/PixPaymentWoovi.tsx +82 -0
- package/src/openpix/order/RedeemCashbackExclusiveScheduled.tsx +52 -0
- package/src/openpix/order/ShopperSeeMyGiftback.tsx +51 -0
- package/src/openpix/order/__generated__/RedeemCashbackExclusiveScheduled_charge.graphql.ts +55 -0
- package/src/openpix/order/discount/EarnDiscount.tsx +34 -0
- package/src/openpix/order/giftback/EarnGiftback.tsx +53 -0
- package/src/openpix/order/giftback/GiftbackRule.tsx +32 -0
- package/src/openpix/paymentLink/AdditionalInfo.tsx +60 -0
- package/src/openpix/paymentLink/BrCodeInput.tsx +48 -0
- package/src/openpix/paymentLink/ChargeInfo.tsx +76 -0
- package/src/openpix/paymentLink/CopyQRCode.stories.tsx +21 -0
- package/src/openpix/paymentLink/CopyQRCode.tsx +75 -0
- package/src/openpix/paymentLink/ErrorIcon.tsx +18 -0
- package/src/openpix/paymentLink/InfoSide.tsx +174 -0
- package/src/openpix/paymentLink/InterestsInfo.tsx +60 -0
- package/src/openpix/paymentLink/NotFound.tsx +16 -0
- package/src/openpix/paymentLink/PaymentDeleted.tsx +172 -0
- package/src/openpix/paymentLink/PaymentExpired.tsx +170 -0
- package/src/openpix/paymentLink/PaymentFooter.tsx +13 -0
- package/src/openpix/paymentLink/PaymentLink.stories.tsx +57 -0
- package/src/openpix/paymentLink/PaymentLink.tsx +97 -0
- package/src/openpix/paymentLink/PaymentLinkActive.tsx +36 -0
- package/src/openpix/paymentLink/PaymentLinkTestAccountBanner.tsx +47 -0
- package/src/openpix/paymentLink/PaymentLinkWrapper.tsx +60 -0
- package/src/openpix/paymentLink/PaymentLogo.tsx +56 -0
- package/src/openpix/paymentLink/QrCodeResponsive.tsx +77 -0
- package/src/openpix/paymentLink/QrCodeSectionHeaderInfo.tsx +45 -0
- package/src/openpix/paymentLink/QrCodeShowButton.tsx +44 -0
- package/src/openpix/paymentLink/QrCodeSide.tsx +200 -0
- package/src/openpix/paymentLink/ShareButton.tsx +133 -0
- package/src/openpix/paymentLink/__generated__/PaymentLinkActive_charge.graphql.ts +40 -0
- package/src/openpix/paymentLink/__generated__/PaymentLink_charge.graphql.ts +45 -0
- package/src/openpix/paymentLink/__generated__/QrCodeSide_charge.graphql.ts +40 -0
- package/src/openpix/paymentLink/types/ChargeDataType.tsx +119 -0
- package/src/openpix/paymentSuccess/PaymentSuccess.tsx +213 -0
- package/src/openpix/paymentSuccess/PaymentSuccessRewards.tsx +229 -0
- package/src/openpix/paymentSuccess/__generated__/PaymentSuccessRewards_charge.graphql.ts +195 -0
- package/src/openpix/paymentSuccess/__generated__/PaymentSuccess_charge.graphql.ts +40 -0
- package/src/openpix/shopper/WooviAuthForm.tsx +225 -0
- package/src/openpix/transaction/PixTransactionTypeTag.tsx +22 -0
- package/src/paymentLinkRow/PaymentLinkRow.tsx +37 -0
- package/src/paymentLinkRow/__stories__/PaymentLinkRow.stories.tsx +40 -0
- package/src/pinInput/PinInput.stories.tsx +48 -0
- package/src/pinInput/PinInput.tsx +246 -0
- package/src/pinInput/PinInputFormik.tsx +18 -0
- package/src/pinInput/createPinArray.ts +17 -0
- package/src/pinInput/pinInputRegex.ts +4 -0
- package/src/relay/RefreshButtonRelay.tsx +45 -0
- package/src/relay/RefreshIconButton.tsx +15 -0
- package/src/relay/SearchInputRelay.tsx +101 -0
- package/src/relay/TopPagination.tsx +68 -0
- package/src/rewardTicket/RewardTicket.tsx +68 -0
- package/src/rewardTicket/__stories__/RewardTicket.stories.tsx +40 -0
- package/src/ribbon/Ribbon.tsx +31 -0
- package/src/ribbon/__stories__/Ribbon.stories.tsx +34 -0
- package/src/ribbon/__visual__/Ribbon.spec.tsx +23 -0
- package/src/ribbon/__visual__/__image_snapshots__/ribbon-spec-tsx-match-image-snapshot-ribbon-1-snap.png +0 -0
- package/src/root/ContentBoundary.tsx +45 -0
- package/src/routed/RoutedTabs.tsx +166 -0
- package/src/routed/TabbedContent.tsx +41 -0
- package/src/routed/__tests__/RoutedTabs.spec.tsx +50 -0
- package/src/screenHeader/ScreenHeader.stories.tsx +106 -0
- package/src/screenHeader/ScreenHeaderUI.tsx +149 -0
- package/src/screenHeader/components/ScreenHeaderSubtitle.tsx +10 -0
- package/src/screenHeader/components/ScreenHeaderTitle.tsx +32 -0
- package/src/screenHeaderCard/ScreenHeaderCard.stories.tsx +49 -0
- package/src/screenHeaderCard/ScreenHeaderCard.tsx +93 -0
- package/src/search/GlobalSearchField.tsx +148 -0
- package/src/select/Select.tsx +22 -0
- package/src/select/SelectAll.tsx +64 -0
- package/src/select/__stories__/Select.stories.tsx +40 -0
- package/src/sidebar/Group.tsx +135 -0
- package/src/sidebar/Item.tsx +52 -0
- package/src/sidebar/MenuList.tsx +95 -0
- package/src/sidebar/Sidebar.stories.tsx +148 -0
- package/src/sidebar/Sidebar.tsx +58 -0
- package/src/sidebar/SidebarContext.tsx +32 -0
- package/src/sidebar/index.tsx +7 -0
- package/src/sidebar/useSidebar.tsx +28 -0
- package/src/sidebar/utils.ts +6 -0
- package/src/snackbar/Snackbar.tsx +117 -0
- package/src/snackbar/SnackbarContext.tsx +22 -0
- package/src/snackbar/__tests__/Snackbar.spec.tsx +19 -0
- package/src/snackbar/fixtures/ShowSnackbar.tsx +38 -0
- package/src/snackbar/index.tsx +6 -0
- package/src/snackbar/useSnackbar.tsx +16 -0
- package/src/statement/TransactionTypeText.tsx +7 -0
- package/src/statement/statementColors.ts +6 -0
- package/src/stepper/Stepper.stories.tsx +25 -0
- package/src/stepper/Stepper.tsx +74 -0
- package/src/swipeableModal/SwipeableModal.stories.tsx +47 -0
- package/src/swipeableModal/SwipeableModal.tsx +68 -0
- package/src/swipeableModal/SwipeableModalTransition.tsx +33 -0
- package/src/table/CardColumn.tsx +34 -0
- package/src/table/CardListVirtualized.tsx +217 -0
- package/src/table/TableToggleViewModel.tsx +49 -0
- package/src/table/cells/ActionCellNode.tsx +80 -0
- package/src/table/cells/Cell.tsx +26 -0
- package/src/table/cells/CheckboxCellNode.tsx +47 -0
- package/src/table/cells/IconCellNode.tsx +53 -0
- package/src/table/cells/LinkCellNode.tsx +76 -0
- package/src/table/cells/RenderCell.tsx +17 -0
- package/src/table/cells/__tests__/LinkCellNode.spec.tsx +40 -0
- package/src/table/cells/cellTypes.ts +16 -0
- package/src/table/cells/getCellCurrency.tsx +17 -0
- package/src/table/cells/getCellDate.tsx +29 -0
- package/src/table/cells/getCellLink.tsx +20 -0
- package/src/table/cells/getCellValue.tsx +79 -0
- package/src/table/cells/index.ts +1 -0
- package/src/table/stories/TableToggleViewModel.stories.tsx +10 -0
- package/src/tag/Tag.tsx +62 -0
- package/src/tag/TagsContainer.tsx +19 -0
- package/src/tag/stories/Tag.stories.tsx +148 -0
- package/src/term/Terms.tsx +8 -0
- package/src/term/TermsLink.tsx +7 -0
- package/src/term/TermsModal.stories.tsx +19 -0
- package/src/term/TermsModal.tsx +40 -0
- package/src/term/useTerms.tsx +57 -0
- package/src/text/TextMultiline.tsx +24 -0
- package/src/textDialog/TextDialog.tsx +86 -0
- package/src/theme/Themes.tsx +223 -0
- package/src/theme/stories/Theme.stories.tsx +13 -0
- package/src/theme/stories/ThemeExample.tsx +193 -0
- package/src/timeline/Timeline.tsx +23 -0
- package/src/timeline/TimelineAppEventDomainIcon.tsx +21 -0
- package/src/timeline/TimelineAppEventItem.tsx +70 -0
- package/src/timeline/TimelineAppEventTypeColor.tsx +33 -0
- package/src/timeline/TimelineItem.tsx +57 -0
- package/src/timeline/__stories__/Timeline.stories.tsx +39 -0
- package/src/timeline/__stories__/TimelineAppEvent.stories.tsx +43 -0
- package/src/unSupportedBrowser/UnsupportedBrowserWarning.tsx +78 -0
- package/src/unSupportedBrowser/index.tsx +2 -0
- package/src/unSupportedBrowser/isUnSupportedBrowser.tsx +15 -0
- package/src/user/chip/UserChip.tsx +25 -0
- package/src/user/chip/stories/UserChip.stories.tsx +26 -0
- package/src/utils/BrowserOnly.tsx +21 -0
- package/src/utils/DesktopOnly.tsx +27 -0
- package/src/utils/MobileOnly.tsx +27 -0
- package/src/windowPopper/WindowPopper.stories.tsx +52 -0
- package/src/windowPopper/WindowPopper.tsx +109 -0
- package/src/windowPopper/WindowPopperTransition.tsx +22 -0
- package/test/ImageReporter.js +41 -0
- package/test/babel-transformer.js +7 -0
- package/test/convertHtmlToImage.tsx +25 -0
- package/test/jest.setup.js +31 -0
- package/test/testUtils.tsx +37 -0
- package/tsconfig.build.json +25 -0
- package/tsconfig.json +4 -0
- package/types/form/test/i18n.d.ts +1 -0
- package/types/ui/src/BackButton.d.ts +5 -0
- package/types/ui/src/Badge.d.ts +2 -0
- package/types/ui/src/Banner.d.ts +10 -0
- package/types/ui/src/Banner.stories.d.ts +6 -0
- package/types/ui/src/CashbackTagStatus.d.ts +5 -0
- package/types/ui/src/Circle.d.ts +5 -0
- package/types/ui/src/CircleButton.d.ts +8 -0
- package/types/ui/src/ClockIcon.d.ts +5 -0
- package/types/ui/src/Column.d.ts +2 -0
- package/types/ui/src/CopyInput.d.ts +5 -0
- package/types/ui/src/EmptyMessage.d.ts +6 -0
- package/types/ui/src/EmptyMessage.stories.d.ts +3 -0
- package/types/ui/src/EncryptedText.d.ts +2 -0
- package/types/ui/src/FloatingMenu.d.ts +13 -0
- package/types/ui/src/LayoutRoot.d.ts +1 -0
- package/types/ui/src/LinearProgress.d.ts +7 -0
- package/types/ui/src/Link.d.ts +3 -0
- package/types/ui/src/Loading.d.ts +8 -0
- package/types/ui/src/Loading.stories.d.ts +5 -0
- package/types/ui/src/Logo.d.ts +1 -0
- package/types/ui/src/LoremIpsum.d.ts +2 -0
- package/types/ui/src/Modal/Modal.d.ts +19 -0
- package/types/ui/src/Modal/Modal.stories.d.ts +6 -0
- package/types/ui/src/OverflowDiv.d.ts +2 -0
- package/types/ui/src/ProgressBar.d.ts +9 -0
- package/types/ui/src/ProgressBarText.d.ts +6 -0
- package/types/ui/src/QuestionTooltip.d.ts +11 -0
- package/types/ui/src/RadioCard/RadioCard.d.ts +11 -0
- package/types/ui/src/RadioCard/__stories__/RadioCard.stories.d.ts +8 -0
- package/types/ui/src/Row.d.ts +2 -0
- package/types/ui/src/SafeTextTooltip.d.ts +8 -0
- package/types/ui/src/SearchField.d.ts +13 -0
- package/types/ui/src/Step.d.ts +9 -0
- package/types/ui/src/TagWebhookStatus.d.ts +7 -0
- package/types/ui/src/ToggleButtonGroup.d.ts +23 -0
- package/types/ui/src/ToggleButtonGroup.stories.d.ts +7 -0
- package/types/ui/src/ToggleButtonGroupMobile.d.ts +7 -0
- package/types/ui/src/TransactionTagEntryTypes.d.ts +4 -0
- package/types/ui/src/TransactionTagStatus.d.ts +8 -0
- package/types/ui/src/UnsupportedBrowserWarning.d.ts +2 -0
- package/types/ui/src/auth/LoginWrapper.d.ts +8 -0
- package/types/ui/src/avatar/Avatar.d.ts +11 -0
- package/types/ui/src/avatar/AvatarGroup.d.ts +12 -0
- package/types/ui/src/avatar/AvatarGroupArray.d.ts +7 -0
- package/types/ui/src/avatar/AvatarGroupSelectedAll.d.ts +8 -0
- package/types/ui/src/avatar/stories/Avatar.stories.d.ts +6 -0
- package/types/ui/src/buttons/ActionButton.d.ts +13 -0
- package/types/ui/src/buttons/DangerButton.d.ts +2 -0
- package/types/ui/src/buttons/PayWithPixButton.d.ts +12 -0
- package/types/ui/src/buttons/SplitButton.d.ts +18 -0
- package/types/ui/src/buttons/__stories__/PayWithPixButton.stories.d.ts +5 -0
- package/types/ui/src/buttons/getLoadingIconProp.d.ts +3 -0
- package/types/ui/src/buttons/stories/ActionButton.stories.d.ts +12 -0
- package/types/ui/src/buttons/stories/SplitButton.stories.d.ts +3 -0
- package/types/ui/src/card/Card.d.ts +16 -0
- package/types/ui/src/card/CardActions.d.ts +3 -0
- package/types/ui/src/card/CardContent.d.ts +6 -0
- package/types/ui/src/card/CardForm.d.ts +9 -0
- package/types/ui/src/card/CardList.d.ts +13 -0
- package/types/ui/src/card/CardRadio.d.ts +0 -0
- package/types/ui/src/card/CardSkeleton.d.ts +2 -0
- package/types/ui/src/card/CardWithLink.d.ts +8 -0
- package/types/ui/src/card/CardWithLinkSkeleton.d.ts +2 -0
- package/types/ui/src/card/basicContext/CardBasicContext.d.ts +35 -0
- package/types/ui/src/card/cardWithActions/CardFooter.d.ts +3 -0
- package/types/ui/src/card/cardWithActions/CardHeader.d.ts +6 -0
- package/types/ui/src/card/cardWithActions/CardWithActions.d.ts +27 -0
- package/types/ui/src/card/cardWithActions/CardWithActions.stories.d.ts +6 -0
- package/types/ui/src/card/stories/Card.stories.d.ts +9 -0
- package/types/ui/src/card/stories/CardContent.stories.d.ts +4 -0
- package/types/ui/src/card/stories/CardForm.stories.d.ts +5 -0
- package/types/ui/src/card/stories/CardWithLink.stories.d.ts +5 -0
- package/types/ui/src/cardAnalytics/CardAnalytics.d.ts +11 -0
- package/types/ui/src/cardAnalytics/CardAnalytics.stories.d.ts +5 -0
- package/types/ui/src/cardAnalytics/CardAnalyticsSkeleton.d.ts +2 -0
- package/types/ui/src/cardGrid/CardField.d.ts +9 -0
- package/types/ui/src/cardGrid/CardFieldCentered.d.ts +8 -0
- package/types/ui/src/cardGrid/CardGrid.d.ts +12 -0
- package/types/ui/src/cardGrid/CardGrid.stories.d.ts +8 -0
- package/types/ui/src/cardGrid/Grid.d.ts +12 -0
- package/types/ui/src/cardWithImage/CardWithImage.d.ts +9 -0
- package/types/ui/src/cardWithImage/__stories__/CardWithImage.stories.d.ts +4 -0
- package/types/ui/src/code/Code.d.ts +7 -0
- package/types/ui/src/code/Code.stories.d.ts +3 -0
- package/types/ui/src/collapsible/Collapse.d.ts +7 -0
- package/types/ui/src/collapsible/Collapsible.d.ts +59 -0
- package/types/ui/src/collapsible/CollapsibleActions.d.ts +6 -0
- package/types/ui/src/collapsible/CollapsibleDetails.d.ts +7 -0
- package/types/ui/src/collapsible/CollapsibleFillWrapper.d.ts +1 -0
- package/types/ui/src/collapsible/CollapsibleGroup.d.ts +2 -0
- package/types/ui/src/collapsible/CollapsibleInfinityActions.d.ts +57 -0
- package/types/ui/src/collapsible/CollapsiblePanelActions.d.ts +3 -0
- package/types/ui/src/collapsible/CollapsibleStep.d.ts +15 -0
- package/types/ui/src/collapsible/CollapsibleStepHeader.d.ts +11 -0
- package/types/ui/src/collapsible/CollapsibleSummary.d.ts +9 -0
- package/types/ui/src/collapsible/CollapsibleTree.d.ts +12 -0
- package/types/ui/src/collapsible/ExpandMoreIcon.d.ts +7 -0
- package/types/ui/src/collapsible/LeafCollapsible.d.ts +5 -0
- package/types/ui/src/collapsible/TransparencyCollapsibleWrapper.d.ts +2 -0
- package/types/ui/src/collapsible/stories/CollapisbleStep.stories.d.ts +8 -0
- package/types/ui/src/collapsible/stories/Collapse.stories.d.ts +4 -0
- package/types/ui/src/collapsible/stories/Collapsible.stories.d.ts +13 -0
- package/types/ui/src/collapsible/stories/CollapsibleGroup.stories.d.ts +4 -0
- package/types/ui/src/collapsible/stories/CollapsibleOld.stories.d.ts +50 -0
- package/types/ui/src/collapsible/stories/CollapsibleStepHeader.stories.d.ts +5 -0
- package/types/ui/src/company/CompanyLogo.d.ts +15 -0
- package/types/ui/src/company/stories/CompanyLogo.stories.d.ts +5 -0
- package/types/ui/src/content/ActionMargin.d.ts +7 -0
- package/types/ui/src/content/ActionMargin.stories.d.ts +3 -0
- package/types/ui/src/content/ActionMarginText.d.ts +2 -0
- package/types/ui/src/content/Content.d.ts +6 -0
- package/types/ui/src/content/IntroText.d.ts +6 -0
- package/types/ui/src/countdown/Countdown.d.ts +5 -0
- package/types/ui/src/countdown/Countdown.stories.d.ts +5 -0
- package/types/ui/src/countdown/ShowCounter.d.ts +8 -0
- package/types/ui/src/countdown/useCountdown.d.ts +2 -0
- package/types/ui/src/datagrid/DataGrid.d.ts +14 -0
- package/types/ui/src/datagrid/DataGrid.stories.d.ts +3 -0
- package/types/ui/src/datagrid/DataGridDetailContainer.d.ts +6 -0
- package/types/ui/src/datagrid/DataGridRow.d.ts +10 -0
- package/types/ui/src/datagrid/cellTypeBasisToPercentage.d.ts +2 -0
- package/types/ui/src/datagrid/cellTypeBoolean.d.ts +6 -0
- package/types/ui/src/datagrid/cellTypeCurrency.d.ts +2 -0
- package/types/ui/src/datagrid/cellTypeDate.d.ts +2 -0
- package/types/ui/src/datagrid/cellTypeDatetime.d.ts +2 -0
- package/types/ui/src/datagrid/cellTypeDatetimeSeconds.d.ts +2 -0
- package/types/ui/src/datagrid/cellTypeExpand.d.ts +45 -0
- package/types/ui/src/datagrid/cellTypeLink.d.ts +2 -0
- package/types/ui/src/datagrid/cellTypePhone.d.ts +2 -0
- package/types/ui/src/datagrid/cellTypeTag.d.ts +2 -0
- package/types/ui/src/datagrid/cellTypeTaxID.d.ts +2 -0
- package/types/ui/src/datagrid/cellTypeTime.d.ts +2 -0
- package/types/ui/src/datagrid/columnTypes.d.ts +11 -0
- package/types/ui/src/datagrid/useTableView.d.ts +8 -0
- package/types/ui/src/deprecated/VirtualizedMobileList.d.ts +8 -0
- package/types/ui/src/deprecated/VirtualizedTable.d.ts +3 -0
- package/types/ui/src/deprecated/VirtualizedTableHeader.d.ts +8 -0
- package/types/ui/src/device/Phone.d.ts +6 -0
- package/types/ui/src/device/Phone.stories.d.ts +4 -0
- package/types/ui/src/dialog/DialogContext.d.ts +18 -0
- package/types/ui/src/dialog/DialogProvider.d.ts +7 -0
- package/types/ui/src/dialog/index.d.ts +5 -0
- package/types/ui/src/dialog/useDialog.d.ts +5 -0
- package/types/ui/src/drawer/DrawerCard.d.ts +11 -0
- package/types/ui/src/drawer/DrawerResponsiveWrapper.d.ts +1 -0
- package/types/ui/src/drawer/swipable/SwipeableDrawer.d.ts +8 -0
- package/types/ui/src/drawer/swipable/SwipeableDrawer.stories.d.ts +3 -0
- package/types/ui/src/error/ErrorBoundaryWithRetry.d.ts +26 -0
- package/types/ui/src/error/ErrorView.d.ts +9 -0
- package/types/ui/src/file/FileDrop.d.ts +12 -0
- package/types/ui/src/file/MaterialIcon.d.ts +14 -0
- package/types/ui/src/filter/Filter.d.ts +15 -0
- package/types/ui/src/filter/FilterRelayFormik.d.ts +26 -0
- package/types/ui/src/filter/FormikFilter.d.ts +9 -0
- package/types/ui/src/filter/decodeQueryParamsFromLocation.d.ts +2 -0
- package/types/ui/src/filter/fieldToParamConfigMap.d.ts +2 -0
- package/types/ui/src/filter/formatFilterValue.d.ts +1 -0
- package/types/ui/src/filter/formatFilters.d.ts +1 -0
- package/types/ui/src/filter/isValidDatetime.d.ts +1 -0
- package/types/ui/src/filter/orderBy/OrderBySelect.d.ts +15 -0
- package/types/ui/src/filter/stringToBoolean.d.ts +1 -0
- package/types/ui/src/filter/useFilterFormik.d.ts +91 -0
- package/types/ui/src/form/FieldRow.d.ts +6 -0
- package/types/ui/src/form/__stories__/FieldRow.stories.d.ts +3 -0
- package/types/ui/src/heading/SectionHeading.d.ts +6 -0
- package/types/ui/src/heading/__stories__/SectionHeading.stories.d.ts +4 -0
- package/types/ui/src/helpers/Divider.d.ts +8 -0
- package/types/ui/src/helpers/HorizontalStack.d.ts +3 -0
- package/types/ui/src/helpers/HoverPopper.d.ts +10 -0
- package/types/ui/src/helpers/stories/HorizontalStack.stories.d.ts +5 -0
- package/types/ui/src/helpers.d.ts +10 -0
- package/types/ui/src/icons/AssineOnlineIcon.d.ts +14 -0
- package/types/ui/src/icons/BotConversaIcon.d.ts +14 -0
- package/types/ui/src/icons/CheckIconLabel.d.ts +5 -0
- package/types/ui/src/icons/CheckboxChecked.d.ts +7 -0
- package/types/ui/src/icons/CheckboxIndeterminate.d.ts +14 -0
- package/types/ui/src/icons/CheckboxUnchecked.d.ts +14 -0
- package/types/ui/src/icons/Icon.d.ts +3 -0
- package/types/ui/src/icons/N8nIcon.d.ts +13 -0
- package/types/ui/src/icons/NuvemshopIcon.d.ts +14 -0
- package/types/ui/src/icons/RightTopDiagonalVector.d.ts +4 -0
- package/types/ui/src/icons/SVG.d.ts +32 -0
- package/types/ui/src/icons/SocPanelIcon.d.ts +12 -0
- package/types/ui/src/icons/WabizIcon.d.ts +13 -0
- package/types/ui/src/icons/WakeIcon.d.ts +14 -0
- package/types/ui/src/import/Dropzone.d.ts +2 -0
- package/types/ui/src/import/DropzoneFile.d.ts +19 -0
- package/types/ui/src/import/xlsx/Import.d.ts +19 -0
- package/types/ui/src/import/xlsx/ImportDropzone.d.ts +15 -0
- package/types/ui/src/import/xlsx/ImportProcessData.d.ts +7 -0
- package/types/ui/src/import/xlsx/ImportProcessQueue.d.ts +20 -0
- package/types/ui/src/import/xlsx/ImportStepper.d.ts +23 -0
- package/types/ui/src/import/xlsx/ImportTable.d.ts +7 -0
- package/types/ui/src/import/xlsx/ImportUtils.d.ts +89 -0
- package/types/ui/src/index.d.ts +212 -0
- package/types/ui/src/layoutWrapper/LayoutWrapper.d.ts +8 -0
- package/types/ui/src/layoutWrapper/LayoutWrapperFluid.d.ts +8 -0
- package/types/ui/src/logo/OpenPixLogoColor.d.ts +7 -0
- package/types/ui/src/logo/WooviLogo.d.ts +7 -0
- package/types/ui/src/mui/BoxFlex.d.ts +10 -0
- package/types/ui/src/mui/Typography.d.ts +3 -0
- package/types/ui/src/mui/__stories__/Typography.stories.d.ts +3 -0
- package/types/ui/src/mui/__stories__/TypographyExample.d.ts +2 -0
- package/types/ui/src/multifactor/MultiFactorConfirmModal.d.ts +11 -0
- package/types/ui/src/multifactor/__stories__/MultiFactorConfirmModal.stories.d.ts +5 -0
- package/types/ui/src/openpix/charge/ChargeTagStatus.d.ts +11 -0
- package/types/ui/src/openpix/images/GiftbackEnvelopeSvg.d.ts +6 -0
- package/types/ui/src/openpix/images/WooviLogoInMobile.d.ts +4 -0
- package/types/ui/src/openpix/order/CheckIcon.d.ts +2 -0
- package/types/ui/src/openpix/order/ConfirmedIcon.d.ts +2 -0
- package/types/ui/src/openpix/order/EarnCashback.d.ts +6 -0
- package/types/ui/src/openpix/order/EarnCashbackExclusive.d.ts +6 -0
- package/types/ui/src/openpix/order/GiftbackRedeem.d.ts +5 -0
- package/types/ui/src/openpix/order/PayPixValueCompany.d.ts +7 -0
- package/types/ui/src/openpix/order/PixPaymentWoovi.d.ts +6 -0
- package/types/ui/src/openpix/order/RedeemCashbackExclusiveScheduled.d.ts +6 -0
- package/types/ui/src/openpix/order/ShopperSeeMyGiftback.d.ts +8 -0
- package/types/ui/src/openpix/order/__generated__/RedeemCashbackExclusiveScheduled_charge.graphql.d.ts +19 -0
- package/types/ui/src/openpix/order/discount/EarnDiscount.d.ts +6 -0
- package/types/ui/src/openpix/order/giftback/EarnGiftback.d.ts +6 -0
- package/types/ui/src/openpix/order/giftback/GiftbackRule.d.ts +6 -0
- package/types/ui/src/openpix/paymentLink/AdditionalInfo.d.ts +12 -0
- package/types/ui/src/openpix/paymentLink/BrCodeInput.d.ts +5 -0
- package/types/ui/src/openpix/paymentLink/ChargeInfo.d.ts +7 -0
- package/types/ui/src/openpix/paymentLink/CopyQRCode.d.ts +6 -0
- package/types/ui/src/openpix/paymentLink/CopyQRCode.stories.d.ts +3 -0
- package/types/ui/src/openpix/paymentLink/ErrorIcon.d.ts +2 -0
- package/types/ui/src/openpix/paymentLink/InfoSide.d.ts +7 -0
- package/types/ui/src/openpix/paymentLink/InterestsInfo.d.ts +11 -0
- package/types/ui/src/openpix/paymentLink/NotFound.d.ts +2 -0
- package/types/ui/src/openpix/paymentLink/PaymentDeleted.d.ts +30 -0
- package/types/ui/src/openpix/paymentLink/PaymentExpired.d.ts +35 -0
- package/types/ui/src/openpix/paymentLink/PaymentFooter.d.ts +5 -0
- package/types/ui/src/openpix/paymentLink/PaymentLink.d.ts +15 -0
- package/types/ui/src/openpix/paymentLink/PaymentLink.stories.d.ts +4 -0
- package/types/ui/src/openpix/paymentLink/PaymentLinkActive.d.ts +8 -0
- package/types/ui/src/openpix/paymentLink/PaymentLinkTestAccountBanner.d.ts +6 -0
- package/types/ui/src/openpix/paymentLink/PaymentLinkWrapper.d.ts +8 -0
- package/types/ui/src/openpix/paymentLink/PaymentLogo.d.ts +7 -0
- package/types/ui/src/openpix/paymentLink/QrCodeResponsive.d.ts +12 -0
- package/types/ui/src/openpix/paymentLink/QrCodeSectionHeaderInfo.d.ts +2 -0
- package/types/ui/src/openpix/paymentLink/QrCodeShowButton.d.ts +6 -0
- package/types/ui/src/openpix/paymentLink/QrCodeSide.d.ts +10 -0
- package/types/ui/src/openpix/paymentLink/ShareButton.d.ts +9 -0
- package/types/ui/src/openpix/paymentLink/__generated__/PaymentLinkActive_charge.graphql.d.ts +17 -0
- package/types/ui/src/openpix/paymentLink/__generated__/PaymentLink_charge.graphql.d.ts +17 -0
- package/types/ui/src/openpix/paymentLink/__generated__/QrCodeSide_charge.graphql.d.ts +17 -0
- package/types/ui/src/openpix/paymentLink/types/ChargeDataType.d.ts +106 -0
- package/types/ui/src/openpix/paymentSuccess/PaymentSuccess.d.ts +17 -0
- package/types/ui/src/openpix/paymentSuccess/PaymentSuccessRewards.d.ts +8 -0
- package/types/ui/src/openpix/paymentSuccess/__generated__/PaymentSuccessRewards_charge.graphql.d.ts +55 -0
- package/types/ui/src/openpix/paymentSuccess/__generated__/PaymentSuccess_charge.graphql.d.ts +17 -0
- package/types/ui/src/openpix/shopper/WooviAuthForm.d.ts +21 -0
- package/types/ui/src/openpix/transaction/PixTransactionTypeTag.d.ts +6 -0
- package/types/ui/src/paymentLinkRow/PaymentLinkRow.d.ts +9 -0
- package/types/ui/src/paymentLinkRow/__stories__/PaymentLinkRow.stories.d.ts +7 -0
- package/types/ui/src/pinInput/PinInput.d.ts +62 -0
- package/types/ui/src/pinInput/PinInput.stories.d.ts +6 -0
- package/types/ui/src/pinInput/PinInputFormik.d.ts +6 -0
- package/types/ui/src/pinInput/createPinArray.d.ts +1 -0
- package/types/ui/src/pinInput/pinInputRegex.d.ts +4 -0
- package/types/ui/src/relay/RefreshButtonRelay.d.ts +8 -0
- package/types/ui/src/relay/RefreshIconButton.d.ts +5 -0
- package/types/ui/src/relay/SearchInputRelay.d.ts +17 -0
- package/types/ui/src/relay/TopPagination.d.ts +9 -0
- package/types/ui/src/rewardTicket/RewardTicket.d.ts +8 -0
- package/types/ui/src/rewardTicket/__stories__/RewardTicket.stories.d.ts +5 -0
- package/types/ui/src/ribbon/Ribbon.d.ts +7 -0
- package/types/ui/src/ribbon/__stories__/Ribbon.stories.d.ts +4 -0
- package/types/ui/src/root/ContentBoundary.d.ts +4 -0
- package/types/ui/src/routed/RoutedTabs.d.ts +19 -0
- package/types/ui/src/routed/TabbedContent.d.ts +8 -0
- package/types/ui/src/screenHeader/ScreenHeader.stories.d.ts +9 -0
- package/types/ui/src/screenHeader/ScreenHeaderUI.d.ts +14 -0
- package/types/ui/src/screenHeader/components/ScreenHeaderSubtitle.d.ts +2 -0
- package/types/ui/src/screenHeader/components/ScreenHeaderTitle.d.ts +6 -0
- package/types/ui/src/screenHeaderCard/ScreenHeaderCard.d.ts +12 -0
- package/types/ui/src/screenHeaderCard/ScreenHeaderCard.stories.d.ts +5 -0
- package/types/ui/src/search/GlobalSearchField.d.ts +12 -0
- package/types/ui/src/select/Select.d.ts +7 -0
- package/types/ui/src/select/SelectAll.d.ts +13 -0
- package/types/ui/src/select/__stories__/Select.stories.d.ts +7 -0
- package/types/ui/src/sidebar/Group.d.ts +7 -0
- package/types/ui/src/sidebar/Item.d.ts +7 -0
- package/types/ui/src/sidebar/MenuList.d.ts +13 -0
- package/types/ui/src/sidebar/Sidebar.d.ts +14 -0
- package/types/ui/src/sidebar/Sidebar.stories.d.ts +5 -0
- package/types/ui/src/sidebar/SidebarContext.d.ts +9 -0
- package/types/ui/src/sidebar/index.d.ts +6 -0
- package/types/ui/src/sidebar/useSidebar.d.ts +7 -0
- package/types/ui/src/sidebar/utils.d.ts +2 -0
- package/types/ui/src/snackbar/Snackbar.d.ts +6 -0
- package/types/ui/src/snackbar/SnackbarContext.d.ts +15 -0
- package/types/ui/src/snackbar/fixtures/ShowSnackbar.d.ts +2 -0
- package/types/ui/src/snackbar/index.d.ts +5 -0
- package/types/ui/src/snackbar/useSnackbar.d.ts +6 -0
- package/types/ui/src/statement/TransactionTypeText.d.ts +2 -0
- package/types/ui/src/statement/statementColors.d.ts +3 -0
- package/types/ui/src/stepper/Stepper.d.ts +9 -0
- package/types/ui/src/stepper/Stepper.stories.d.ts +3 -0
- package/types/ui/src/swipeableModal/SwipeableModal.d.ts +12 -0
- package/types/ui/src/swipeableModal/SwipeableModal.stories.d.ts +3 -0
- package/types/ui/src/swipeableModal/SwipeableModalTransition.d.ts +7 -0
- package/types/ui/src/table/CardColumn.d.ts +9 -0
- package/types/ui/src/table/CardListVirtualized.d.ts +20 -0
- package/types/ui/src/table/TableToggleViewModel.d.ts +6 -0
- package/types/ui/src/table/cells/ActionCellNode.d.ts +5 -0
- package/types/ui/src/table/cells/Cell.d.ts +9 -0
- package/types/ui/src/table/cells/CheckboxCellNode.d.ts +15 -0
- package/types/ui/src/table/cells/IconCellNode.d.ts +5 -0
- package/types/ui/src/table/cells/LinkCellNode.d.ts +7 -0
- package/types/ui/src/table/cells/cellTypes.d.ts +15 -0
- package/types/ui/src/table/cells/getCellCurrency.d.ts +3 -0
- package/types/ui/src/table/cells/getCellDate.d.ts +8 -0
- package/types/ui/src/table/cells/getCellLink.d.ts +3 -0
- package/types/ui/src/table/cells/getCellValue.d.ts +1 -0
- package/types/ui/src/table/cells/index.d.ts +1 -0
- package/types/ui/src/table/stories/TableToggleViewModel.stories.d.ts +3 -0
- package/types/ui/src/tag/Tag.d.ts +9 -0
- package/types/ui/src/tag/TagsContainer.d.ts +6 -0
- package/types/ui/src/tag/stories/Tag.stories.d.ts +10 -0
- package/types/ui/src/term/Terms.d.ts +1 -0
- package/types/ui/src/term/TermsLink.d.ts +1 -0
- package/types/ui/src/term/TermsModal.d.ts +12 -0
- package/types/ui/src/term/TermsModal.stories.d.ts +3 -0
- package/types/ui/src/term/useTerms.d.ts +5 -0
- package/types/ui/src/text/TextMultiline.d.ts +6 -0
- package/types/ui/src/textDialog/TextDialog.d.ts +8 -0
- package/types/ui/src/theme/Themes.d.ts +22 -0
- package/types/ui/src/theme/stories/Theme.stories.d.ts +3 -0
- package/types/ui/src/theme/stories/ThemeExample.d.ts +2 -0
- package/types/ui/src/timeline/Timeline.d.ts +6 -0
- package/types/ui/src/timeline/TimelineAppEventDomainIcon.d.ts +3 -0
- package/types/ui/src/timeline/TimelineAppEventItem.d.ts +9 -0
- package/types/ui/src/timeline/TimelineAppEventTypeColor.d.ts +3 -0
- package/types/ui/src/timeline/TimelineItem.d.ts +11 -0
- package/types/ui/src/timeline/__stories__/Timeline.stories.d.ts +3 -0
- package/types/ui/src/timeline/__stories__/TimelineAppEvent.stories.d.ts +3 -0
- package/types/ui/src/unSupportedBrowser/UnsupportedBrowserWarning.d.ts +2 -0
- package/types/ui/src/unSupportedBrowser/index.d.ts +2 -0
- package/types/ui/src/unSupportedBrowser/isUnSupportedBrowser.d.ts +4 -0
- package/types/ui/src/user/chip/UserChip.d.ts +6 -0
- package/types/ui/src/user/chip/stories/UserChip.stories.d.ts +4 -0
- package/types/ui/src/utils/BrowserOnly.d.ts +7 -0
- package/types/ui/src/utils/DesktopOnly.d.ts +8 -0
- package/types/ui/src/utils/MobileOnly.d.ts +8 -0
- package/types/ui/src/windowPopper/WindowPopper.d.ts +16 -0
- package/types/ui/src/windowPopper/WindowPopper.stories.d.ts +3 -0
- package/types/ui/src/windowPopper/WindowPopperTransition.d.ts +7 -0
- package/types/ui/test/convertHtmlToImage.d.ts +1 -0
- package/types/ui/test/testUtils.d.ts +9 -0
package/src/index.tsx
ADDED
|
@@ -0,0 +1,328 @@
|
|
|
1
|
+
import Avatar, { AvatarCircle } from './avatar/Avatar';
|
|
2
|
+
import AvatarGroup from './avatar/AvatarGroup';
|
|
3
|
+
import AvatarGroupArray from './avatar/AvatarGroupArray';
|
|
4
|
+
import AvatarGroupSelectedAll from './avatar/AvatarGroupSelectedAll';
|
|
5
|
+
import BackButton from './BackButton';
|
|
6
|
+
import Badge from './Badge';
|
|
7
|
+
import ActionButton from './buttons/ActionButton';
|
|
8
|
+
import DangerButton from './buttons/DangerButton';
|
|
9
|
+
import SplitButton from './buttons/SplitButton';
|
|
10
|
+
import Card from './card/Card';
|
|
11
|
+
import CardActions from './card/CardActions';
|
|
12
|
+
import CardContent from './card/CardContent';
|
|
13
|
+
import CardForm from './card/CardForm';
|
|
14
|
+
import CardSkeleton from './card/CardSkeleton';
|
|
15
|
+
import CardWithActions from './card/cardWithActions/CardWithActions';
|
|
16
|
+
import CardWithLink from './card/CardWithLink';
|
|
17
|
+
import CardWithLinkSkeleton from './card/CardWithLinkSkeleton';
|
|
18
|
+
import { default as CardAnalytics } from './cardAnalytics/CardAnalytics';
|
|
19
|
+
import Grid from './cardGrid/Grid';
|
|
20
|
+
import Circle from './Circle';
|
|
21
|
+
import CircleButton from './CircleButton';
|
|
22
|
+
import { Code } from './code/Code';
|
|
23
|
+
import { Collapse } from './collapsible/Collapse';
|
|
24
|
+
import Collapsible from './collapsible/Collapsible';
|
|
25
|
+
import CollapsibleActions from './collapsible/CollapsibleActions';
|
|
26
|
+
import CollapsibleDetails from './collapsible/CollapsibleDetails';
|
|
27
|
+
import { CollapsibleFillWrapper } from './collapsible/CollapsibleFillWrapper';
|
|
28
|
+
import CollapsibleGroup from './collapsible/CollapsibleGroup';
|
|
29
|
+
import CollapsibleInfinityActions from './collapsible/CollapsibleInfinityActions';
|
|
30
|
+
import CollapsibleStep from './collapsible/CollapsibleStep';
|
|
31
|
+
import CollapsibleStepHeader from './collapsible/CollapsibleStepHeader';
|
|
32
|
+
import CollapsibleTree, {
|
|
33
|
+
CollapsibleTreeActions,
|
|
34
|
+
} from './collapsible/CollapsibleTree';
|
|
35
|
+
import ExpandMoreIcon from './collapsible/ExpandMoreIcon';
|
|
36
|
+
import LeafCollapsible from './collapsible/LeafCollapsible';
|
|
37
|
+
import { TransparencyCollapsibleWrapper } from './collapsible/TransparencyCollapsibleWrapper';
|
|
38
|
+
import Column from './Column';
|
|
39
|
+
import ActionMargin from './content/ActionMargin';
|
|
40
|
+
import ActionMarginText from './content/ActionMarginText';
|
|
41
|
+
import Content from './content/Content';
|
|
42
|
+
import IntroText from './content/IntroText';
|
|
43
|
+
import EmptyMessage from './EmptyMessage';
|
|
44
|
+
import EncryptedText from './EncryptedText';
|
|
45
|
+
import type { FilterTagBySelectField_query$key } from './filter/filterApplied/__generated__/FilterTagBySelectField_query.graphql';
|
|
46
|
+
import FilterRelayFormik from './filter/FilterRelayFormik';
|
|
47
|
+
import FormikFilter from './filter/FormikFilter';
|
|
48
|
+
import useFilterFormik from './filter/useFilterFormik';
|
|
49
|
+
import FloatingMenu from './FloatingMenu';
|
|
50
|
+
import SectionHeading from './heading/SectionHeading';
|
|
51
|
+
import {
|
|
52
|
+
buildSchemeGenerator,
|
|
53
|
+
getShadeOfColor,
|
|
54
|
+
hexToRgb,
|
|
55
|
+
hexToRgbaString,
|
|
56
|
+
} from './helpers';
|
|
57
|
+
import Divider from './helpers/Divider';
|
|
58
|
+
import HorizontalStack from './helpers/HorizontalStack';
|
|
59
|
+
import HoverPopper from './helpers/HoverPopper';
|
|
60
|
+
import Icon from './icons/Icon';
|
|
61
|
+
import SVG from './icons/SVG';
|
|
62
|
+
import { LayoutRoot } from './LayoutRoot';
|
|
63
|
+
import LayoutWrapper from './layoutWrapper/LayoutWrapper';
|
|
64
|
+
import LinearProgress from './LinearProgress';
|
|
65
|
+
import Link from './Link';
|
|
66
|
+
import Loading from './Loading';
|
|
67
|
+
import Modal from './Modal/Modal';
|
|
68
|
+
import GiftbackEnvelopeSvg from './openpix/images/GiftbackEnvelopeSvg';
|
|
69
|
+
import WooviLogoInMobile from './openpix/images/WooviLogoInMobile';
|
|
70
|
+
import OverflowDiv from './OverflowDiv';
|
|
71
|
+
import ProgressBar from './ProgressBar';
|
|
72
|
+
import ProgressBarText from './ProgressBarText';
|
|
73
|
+
import QuestionTooltip from './QuestionTooltip';
|
|
74
|
+
import RefreshButtonRelay from './relay/RefreshButtonRelay';
|
|
75
|
+
import RefreshIconButton from './relay/RefreshIconButton';
|
|
76
|
+
import SearchInputRelay from './relay/SearchInputRelay';
|
|
77
|
+
import TopPagination from './relay/TopPagination';
|
|
78
|
+
import RoutedTabs from './routed/RoutedTabs';
|
|
79
|
+
import TabbedContent from './routed/TabbedContent';
|
|
80
|
+
import Row from './Row';
|
|
81
|
+
import SafeTextTooltip, { toSafeTruncate } from './SafeTextTooltip';
|
|
82
|
+
import ScreenHeaderTitle from './screenHeader/components/ScreenHeaderTitle';
|
|
83
|
+
import ScreenHeaderCard from './screenHeaderCard/ScreenHeaderCard';
|
|
84
|
+
import SearchField from './SearchField';
|
|
85
|
+
import { statementColors } from './statement/statementColors';
|
|
86
|
+
import { default as TransactionTypeText } from './statement/TransactionTypeText';
|
|
87
|
+
import Step from './Step';
|
|
88
|
+
import { SwipeableModal } from './swipeableModal/SwipeableModal';
|
|
89
|
+
import Tag from './tag/Tag';
|
|
90
|
+
import TagsContainer from './tag/TagsContainer';
|
|
91
|
+
import {
|
|
92
|
+
TransactionTagEntryType,
|
|
93
|
+
TRANSACTION_TAG_ENTRYTYPE_COLOR,
|
|
94
|
+
} from './TransactionTagEntryTypes';
|
|
95
|
+
import {
|
|
96
|
+
TransactionTagStatus,
|
|
97
|
+
TRANSACTION_TAG_STATUS_COLOR,
|
|
98
|
+
} from './TransactionTagStatus';
|
|
99
|
+
|
|
100
|
+
export { default as LoginWrapper } from './auth/LoginWrapper';
|
|
101
|
+
export { getLoadingIconProp } from './buttons/getLoadingIconProp';
|
|
102
|
+
export { default as CardBasicContext } from './card/basicContext/CardBasicContext';
|
|
103
|
+
export { default as CardList } from './card/CardList';
|
|
104
|
+
export type { CollapseProps } from './collapsible/Collapse';
|
|
105
|
+
export { default as CompanyLogo } from './company/CompanyLogo';
|
|
106
|
+
export * from './dialog';
|
|
107
|
+
export { default as ErrorBoundaryWithRetry } from './error/ErrorBoundaryWithRetry';
|
|
108
|
+
export { default as FileDrop } from './file/FileDrop';
|
|
109
|
+
export { default as Filter } from './filter/Filter';
|
|
110
|
+
export type { FieldRowProps } from './form/FieldRow';
|
|
111
|
+
export { default as FieldRow } from './form/FieldRow';
|
|
112
|
+
export { Logo } from './Logo';
|
|
113
|
+
export { default as PinInput } from './pinInput/PinInput';
|
|
114
|
+
export { default as PinInputFormik } from './pinInput/PinInputFormik';
|
|
115
|
+
export { default as ContentBoundary } from './root/ContentBoundary';
|
|
116
|
+
export * from './routed/RoutedTabs';
|
|
117
|
+
export * from './screenHeader/ScreenHeaderUI';
|
|
118
|
+
export * from './sidebar';
|
|
119
|
+
export * from './snackbar';
|
|
120
|
+
export * from './tag/Tag';
|
|
121
|
+
export { TagWebhookStatus } from './TagWebhookStatus';
|
|
122
|
+
export { default as TextMultiline } from './text/TextMultiline';
|
|
123
|
+
export { default as TextDialog } from './textDialog/TextDialog';
|
|
124
|
+
export * from './unSupportedBrowser';
|
|
125
|
+
export {
|
|
126
|
+
ActionButton,
|
|
127
|
+
ActionMargin,
|
|
128
|
+
ActionMarginText,
|
|
129
|
+
Avatar,
|
|
130
|
+
AvatarCircle,
|
|
131
|
+
AvatarGroup,
|
|
132
|
+
AvatarGroupArray,
|
|
133
|
+
AvatarGroupSelectedAll,
|
|
134
|
+
BackButton,
|
|
135
|
+
Badge,
|
|
136
|
+
buildSchemeGenerator,
|
|
137
|
+
Card,
|
|
138
|
+
CardActions,
|
|
139
|
+
CardAnalytics,
|
|
140
|
+
CardContent,
|
|
141
|
+
CardForm,
|
|
142
|
+
CardSkeleton,
|
|
143
|
+
CardWithActions,
|
|
144
|
+
CardWithLink,
|
|
145
|
+
CardWithLinkSkeleton,
|
|
146
|
+
Circle,
|
|
147
|
+
CircleButton,
|
|
148
|
+
Code,
|
|
149
|
+
Collapse,
|
|
150
|
+
Collapsible,
|
|
151
|
+
CollapsibleActions,
|
|
152
|
+
CollapsibleDetails,
|
|
153
|
+
CollapsibleFillWrapper,
|
|
154
|
+
CollapsibleGroup,
|
|
155
|
+
CollapsibleInfinityActions,
|
|
156
|
+
CollapsibleStep,
|
|
157
|
+
CollapsibleStepHeader,
|
|
158
|
+
CollapsibleTree,
|
|
159
|
+
CollapsibleTreeActions,
|
|
160
|
+
Column,
|
|
161
|
+
Content,
|
|
162
|
+
DangerButton,
|
|
163
|
+
Divider,
|
|
164
|
+
EmptyMessage,
|
|
165
|
+
EncryptedText,
|
|
166
|
+
ExpandMoreIcon,
|
|
167
|
+
FilterRelayFormik,
|
|
168
|
+
FilterTagBySelectField_query$key,
|
|
169
|
+
FloatingMenu,
|
|
170
|
+
FormikFilter,
|
|
171
|
+
getShadeOfColor,
|
|
172
|
+
GiftbackEnvelopeSvg,
|
|
173
|
+
Grid,
|
|
174
|
+
hexToRgb,
|
|
175
|
+
hexToRgbaString,
|
|
176
|
+
HorizontalStack,
|
|
177
|
+
HoverPopper,
|
|
178
|
+
Icon,
|
|
179
|
+
IntroText,
|
|
180
|
+
LayoutRoot,
|
|
181
|
+
LayoutWrapper,
|
|
182
|
+
LeafCollapsible,
|
|
183
|
+
LinearProgress,
|
|
184
|
+
Link,
|
|
185
|
+
Loading,
|
|
186
|
+
Modal,
|
|
187
|
+
OverflowDiv,
|
|
188
|
+
ProgressBar,
|
|
189
|
+
ProgressBarText,
|
|
190
|
+
QuestionTooltip,
|
|
191
|
+
RefreshButtonRelay,
|
|
192
|
+
RefreshIconButton,
|
|
193
|
+
RoutedTabs,
|
|
194
|
+
Row,
|
|
195
|
+
SafeTextTooltip,
|
|
196
|
+
ScreenHeaderCard,
|
|
197
|
+
ScreenHeaderTitle,
|
|
198
|
+
SearchField,
|
|
199
|
+
SearchInputRelay,
|
|
200
|
+
SectionHeading,
|
|
201
|
+
SplitButton,
|
|
202
|
+
statementColors,
|
|
203
|
+
Step,
|
|
204
|
+
SVG,
|
|
205
|
+
SwipeableModal,
|
|
206
|
+
TabbedContent,
|
|
207
|
+
Tag,
|
|
208
|
+
TagsContainer,
|
|
209
|
+
TopPagination,
|
|
210
|
+
toSafeTruncate,
|
|
211
|
+
TRANSACTION_TAG_ENTRYTYPE_COLOR,
|
|
212
|
+
TRANSACTION_TAG_STATUS_COLOR,
|
|
213
|
+
TransactionTagEntryType,
|
|
214
|
+
TransactionTagStatus,
|
|
215
|
+
TransactionTypeText,
|
|
216
|
+
TransparencyCollapsibleWrapper,
|
|
217
|
+
useFilterFormik,
|
|
218
|
+
WooviLogoInMobile,
|
|
219
|
+
};
|
|
220
|
+
export { Banner } from './Banner';
|
|
221
|
+
export { default as CardField } from './cardGrid/CardField';
|
|
222
|
+
export { default as CardFieldCentered } from './cardGrid/CardFieldCentered';
|
|
223
|
+
export { default as CardGrid } from './cardGrid/CardGrid';
|
|
224
|
+
export { default as DrawerCard } from './drawer/DrawerCard';
|
|
225
|
+
export { DrawerResponsiveWrapper } from './drawer/DrawerResponsiveWrapper';
|
|
226
|
+
export { default as ErrorView, ErrorViewBoundary } from './error/ErrorView';
|
|
227
|
+
export { decodeQueryParamsFromLocation } from './filter/decodeQueryParamsFromLocation';
|
|
228
|
+
export { formatFilters } from './filter/formatFilters';
|
|
229
|
+
export { default as OrderBySelect } from './filter/orderBy/OrderBySelect';
|
|
230
|
+
export { stringToBoolean } from './filter/stringToBoolean';
|
|
231
|
+
export { default as LayoutWrapperFluid } from './layoutWrapper/LayoutWrapperFluid';
|
|
232
|
+
export { default as OpenPixLogoColor } from './logo/OpenPixLogoColor';
|
|
233
|
+
export { default as WooviLogo } from './logo/WooviLogo';
|
|
234
|
+
export { default as BoxFlex } from './mui/BoxFlex';
|
|
235
|
+
export { ChargeTagStatus } from './openpix/charge/ChargeTagStatus';
|
|
236
|
+
export {
|
|
237
|
+
AccountInfoLabel,
|
|
238
|
+
AdditionalInfo,
|
|
239
|
+
} from './openpix/paymentLink/AdditionalInfo';
|
|
240
|
+
export { default as InfoSide } from './openpix/paymentLink/InfoSide';
|
|
241
|
+
export * from './openpix/paymentLink/PaymentLink';
|
|
242
|
+
export { default as QrCodeSide } from './openpix/paymentLink/QrCodeSide';
|
|
243
|
+
export { default as WooviAuthForm } from './openpix/shopper/WooviAuthForm';
|
|
244
|
+
export { PixTransactionTypeTag } from './openpix/transaction/PixTransactionTypeTag';
|
|
245
|
+
export { default as SelectAll } from './select/SelectAll';
|
|
246
|
+
export { default as Stepper } from './stepper/Stepper';
|
|
247
|
+
export { Terms } from './term/Terms';
|
|
248
|
+
export { TermsLink } from './term/TermsLink';
|
|
249
|
+
export { DOCUMENT_TYPE, default as TermsModal } from './term/TermsModal';
|
|
250
|
+
export { default as useTerms } from './term/useTerms';
|
|
251
|
+
export { ThemeMuiTheme } from './theme/Themes';
|
|
252
|
+
|
|
253
|
+
// order
|
|
254
|
+
export type { ActionButtonProps } from './buttons/ActionButton';
|
|
255
|
+
export { default as PayWithPixButton } from './buttons/PayWithPixButton';
|
|
256
|
+
export { CardWithImage } from './cardWithImage/CardWithImage';
|
|
257
|
+
export { CashbackTagStatus } from './CashbackTagStatus';
|
|
258
|
+
export { default as ClockIcon } from './ClockIcon';
|
|
259
|
+
export { CopyInput } from './CopyInput';
|
|
260
|
+
export { default as Countdown } from './countdown/Countdown';
|
|
261
|
+
export { cellTypeBasisToPercentage } from './datagrid/cellTypeBasisToPercentage';
|
|
262
|
+
export { cellTypeExpand } from './datagrid/cellTypeExpand';
|
|
263
|
+
export { cellTypeLink } from './datagrid/cellTypeLink';
|
|
264
|
+
export { cellTypePhone } from './datagrid/cellTypePhone';
|
|
265
|
+
export { cellTypeTag } from './datagrid/cellTypeTag';
|
|
266
|
+
export type { DataGridProps } from './datagrid/DataGrid';
|
|
267
|
+
export { default as DataGrid } from './datagrid/DataGrid';
|
|
268
|
+
export { DataGridDetailContainer } from './datagrid/DataGridDetailContainer';
|
|
269
|
+
export { useTableView } from './datagrid/useTableView';
|
|
270
|
+
export { default as SwipeableDrawer } from './drawer/swipable/SwipeableDrawer';
|
|
271
|
+
export { default as AssineOnlineIcon } from './icons/AssineOnlineIcon';
|
|
272
|
+
export { default as BotConversaIcon } from './icons/BotConversaIcon';
|
|
273
|
+
export { default as CheckIconLabel } from './icons/CheckIconLabel';
|
|
274
|
+
export { default as N8nIcon } from './icons/N8nIcon';
|
|
275
|
+
export { default as NuvemshopIcon } from './icons/NuvemshopIcon';
|
|
276
|
+
export { RightTopDiagonalVector } from './icons/RightTopDiagonalVector';
|
|
277
|
+
export { default as SocPanelIcon } from './icons/SocPanelIcon';
|
|
278
|
+
export { default as WabizIcon } from './icons/WabizIcon';
|
|
279
|
+
export { default as WakeIcon } from './icons/WakeIcon';
|
|
280
|
+
export { default as Dropzone } from './import/Dropzone';
|
|
281
|
+
export { default as DropzoneFile } from './import/DropzoneFile';
|
|
282
|
+
export { default as ImportStepper } from './import/xlsx/ImportStepper';
|
|
283
|
+
export { DEFAULT_QUEUE_ACTIONS, validateCell } from './import/xlsx/ImportUtils';
|
|
284
|
+
export { default as Typography } from './mui/Typography';
|
|
285
|
+
export type { MultiFactorConfirmModalProps } from './multifactor/MultiFactorConfirmModal';
|
|
286
|
+
export { default as MultiFactorConfirmModal } from './multifactor/MultiFactorConfirmModal';
|
|
287
|
+
export { default as CheckIcon } from './openpix/order/CheckIcon';
|
|
288
|
+
export { default as ConfirmedIcon } from './openpix/order/ConfirmedIcon';
|
|
289
|
+
export { default as EarnDiscount } from './openpix/order/discount/EarnDiscount';
|
|
290
|
+
export { default as EarnCashback } from './openpix/order/EarnCashback';
|
|
291
|
+
export { default as EarnGiftback } from './openpix/order/giftback/EarnGiftback';
|
|
292
|
+
export { GiftbackRedeem } from './openpix/order/GiftbackRedeem';
|
|
293
|
+
export { PayPixValueCompany } from './openpix/order/PayPixValueCompany';
|
|
294
|
+
export { default as PixPaymentWoovi } from './openpix/order/PixPaymentWoovi';
|
|
295
|
+
export { default as CopyQRCode } from './openpix/paymentLink/CopyQRCode';
|
|
296
|
+
export { default as ErrorIcon } from './openpix/paymentLink/ErrorIcon';
|
|
297
|
+
export { default as PaymentDeleted } from './openpix/paymentLink/PaymentDeleted';
|
|
298
|
+
export { default as PaymentExpired } from './openpix/paymentLink/PaymentExpired';
|
|
299
|
+
export { default as PaymentFooter } from './openpix/paymentLink/PaymentFooter';
|
|
300
|
+
export { QRCodeWrapper } from './openpix/paymentLink/QrCodeResponsive';
|
|
301
|
+
export { default as QrCodeShowButton } from './openpix/paymentLink/QrCodeShowButton';
|
|
302
|
+
export { default as PaymentSuccess } from './openpix/paymentSuccess/PaymentSuccess';
|
|
303
|
+
export { default as PaymentLinkRow } from './paymentLinkRow/PaymentLinkRow';
|
|
304
|
+
export type { RadioCardProps } from './RadioCard/RadioCard';
|
|
305
|
+
export { default as RadioCard } from './RadioCard/RadioCard';
|
|
306
|
+
export { default as RewardTicket } from './rewardTicket/RewardTicket';
|
|
307
|
+
export { default as Ribbon } from './ribbon/Ribbon';
|
|
308
|
+
export { default as GlobalSearchField } from './search/GlobalSearchField';
|
|
309
|
+
export type { SelectProps } from './select/Select';
|
|
310
|
+
export { default as Select } from './select/Select';
|
|
311
|
+
export { CardColumn } from './table/CardColumn';
|
|
312
|
+
export { default as CardListVirtualized } from './table/CardListVirtualized';
|
|
313
|
+
export { getCellCurrency } from './table/cells/getCellCurrency';
|
|
314
|
+
export { CellDateTypeEnum, getCellDate } from './table/cells/getCellDate';
|
|
315
|
+
export { getCellLink } from './table/cells/getCellLink';
|
|
316
|
+
export {
|
|
317
|
+
default as TableToggleViewModel,
|
|
318
|
+
TableViewModelEnum,
|
|
319
|
+
} from './table/TableToggleViewModel';
|
|
320
|
+
export { Timeline } from './timeline/Timeline';
|
|
321
|
+
export { TIMELINE_APPEVENT_DOMAIN_ICON } from './timeline/TimelineAppEventDomainIcon';
|
|
322
|
+
export { TimelineAppEventItem } from './timeline/TimelineAppEventItem';
|
|
323
|
+
export { TIMELINE_APPEVENT_TYPE_COLOR } from './timeline/TimelineAppEventTypeColor';
|
|
324
|
+
export { TimelineItem } from './timeline/TimelineItem';
|
|
325
|
+
export { default as ToggleButtonGroup } from './ToggleButtonGroup';
|
|
326
|
+
export { default as UserChip } from './user/chip/UserChip';
|
|
327
|
+
export { BrowserOnly } from './utils/BrowserOnly';
|
|
328
|
+
export { WindowPopper } from './windowPopper/WindowPopper';
|
|
@@ -0,0 +1,48 @@
|
|
|
1
|
+
import type { ReactNode } from 'react';
|
|
2
|
+
import styled from 'styled-components';
|
|
3
|
+
import { useWindowSize } from 'use-window-size-hook';
|
|
4
|
+
|
|
5
|
+
import { useSidebar } from '../sidebar';
|
|
6
|
+
// import LayoutRoot from './LayoutRoot';
|
|
7
|
+
|
|
8
|
+
type Props = {
|
|
9
|
+
children: ReactNode;
|
|
10
|
+
header: ReactNode;
|
|
11
|
+
sidebar: ReactNode;
|
|
12
|
+
};
|
|
13
|
+
|
|
14
|
+
const Grid = styled.div`
|
|
15
|
+
display: grid;
|
|
16
|
+
grid-template-columns: ${(props) => (props.open ? '240px' : '0')} 1fr;
|
|
17
|
+
height: 100vh;
|
|
18
|
+
width: 100%;
|
|
19
|
+
`;
|
|
20
|
+
|
|
21
|
+
const LayoutWrapper = ({ header, sidebar, children }: Props) => {
|
|
22
|
+
const { isSidebarOpen } = useSidebar();
|
|
23
|
+
const { width } = useWindowSize();
|
|
24
|
+
|
|
25
|
+
const isMobile = width < 600;
|
|
26
|
+
|
|
27
|
+
if (isMobile) {
|
|
28
|
+
return (
|
|
29
|
+
<>
|
|
30
|
+
{header}
|
|
31
|
+
{sidebar}
|
|
32
|
+
{children}
|
|
33
|
+
</>
|
|
34
|
+
);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
return (
|
|
38
|
+
<Grid open={isSidebarOpen}>
|
|
39
|
+
{sidebar}
|
|
40
|
+
<div style={{ minWidth: 0 }}>
|
|
41
|
+
{header}
|
|
42
|
+
{children}
|
|
43
|
+
</div>
|
|
44
|
+
</Grid>
|
|
45
|
+
);
|
|
46
|
+
};
|
|
47
|
+
|
|
48
|
+
export default LayoutWrapper;
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import { Grid } from '@mui/material';
|
|
2
|
+
import type { ReactNode } from 'react';
|
|
3
|
+
import { useWindowSize } from 'use-window-size-hook';
|
|
4
|
+
|
|
5
|
+
import BoxFlex from '../mui/BoxFlex';
|
|
6
|
+
|
|
7
|
+
type Props = {
|
|
8
|
+
children: ReactNode;
|
|
9
|
+
header: ReactNode;
|
|
10
|
+
sidebar: ReactNode;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
const LayoutWrapperFluid = ({ header, sidebar, children }: Props) => {
|
|
14
|
+
const { width } = useWindowSize();
|
|
15
|
+
|
|
16
|
+
const isMobile = width < 600;
|
|
17
|
+
|
|
18
|
+
if (isMobile) {
|
|
19
|
+
return (
|
|
20
|
+
<Grid container>
|
|
21
|
+
{header}
|
|
22
|
+
{sidebar}
|
|
23
|
+
{children}
|
|
24
|
+
</Grid>
|
|
25
|
+
);
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
return (
|
|
29
|
+
<Grid container>
|
|
30
|
+
{header}
|
|
31
|
+
<BoxFlex sx={{ flexDirection: 'column', mt: '60px', flex: 1 }}>
|
|
32
|
+
{children}
|
|
33
|
+
</BoxFlex>
|
|
34
|
+
</Grid>
|
|
35
|
+
);
|
|
36
|
+
};
|
|
37
|
+
|
|
38
|
+
export default LayoutWrapperFluid;
|
|
@@ -0,0 +1,137 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
width?: string;
|
|
3
|
+
height?: string;
|
|
4
|
+
showText?: boolean;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
export default ({ width, height = '40px', showText = true }: Props) => {
|
|
8
|
+
const fill1 = showText ? '#1F6D61' : '#fff';
|
|
9
|
+
const fill2 = showText ? '#308E83' : '#fff';
|
|
10
|
+
const fill3 = showText ? '#4AB7A8' : '#fff';
|
|
11
|
+
const fill4 = showText ? '#96969A' : '#fff';
|
|
12
|
+
|
|
13
|
+
return (
|
|
14
|
+
<svg
|
|
15
|
+
version='1.1'
|
|
16
|
+
id='OpenPixLogo'
|
|
17
|
+
data-testid='OpenPixLogo'
|
|
18
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
19
|
+
x='0px'
|
|
20
|
+
y='0px'
|
|
21
|
+
width={width}
|
|
22
|
+
height={height}
|
|
23
|
+
viewBox='0 0 670.49 140.22'
|
|
24
|
+
>
|
|
25
|
+
<g fill={fill4} fillRule='nonzero' id='open'>
|
|
26
|
+
<polygon points='469.7,34.9 469.6,35.2 469.8,35' />
|
|
27
|
+
<path
|
|
28
|
+
d='M264.8,59.4c0,8.5-1.2,15.9-3.7,22.4c-2.5,6.5-5.8,11.9-10,16.2c-4.2,4.3-9.1,7.6-14.7,9.8
|
|
29
|
+
c-5.6,2.2-11.5,3.3-17.8,3.3c-6.3,0-12.2-1.1-17.8-3.3c-5.6-2.2-10.5-5.4-14.7-9.8c-4.2-4.3-7.6-9.7-10-16.2
|
|
30
|
+
c-2.5-6.5-3.7-13.9-3.7-22.4c0-8.5,1.2-15.9,3.7-22.3c2.5-6.4,5.8-11.8,10-16.1c4.2-4.3,9.1-7.6,14.7-9.8
|
|
31
|
+
c5.6-2.2,11.5-3.3,17.8-3.3c6.3,0,12.2,1.1,17.8,3.3c5.6,2.2,10.5,5.4,14.7,9.8c4.2,4.3,7.6,9.7,10,16.1
|
|
32
|
+
C263.5,43.5,264.8,51,264.8,59.4L264.8,59.4z M254.5,59.4c0-6.6-0.9-12.6-2.6-17.9c-1.7-5.3-4.1-9.8-7.3-13.5
|
|
33
|
+
c-3.1-3.7-6.9-6.5-11.3-8.5c-4.4-1.9-9.4-2.9-14.9-2.9c-5.5,0-10.5,1-14.9,2.9c-4.4,1.9-8.2,4.8-11.3,8.5
|
|
34
|
+
c-3.1,3.7-5.6,8.2-7.3,13.5c-1.7,5.3-2.6,11.2-2.6,17.9c0,6.7,0.9,12.6,2.6,17.9c1.7,5.3,4.1,9.8,7.3,13.5
|
|
35
|
+
c3.1,3.7,6.9,6.6,11.3,8.5c4.4,2,9.4,3,14.9,3c5.5,0,10.5-1,14.9-3c4.4-2,8.2-4.8,11.3-8.5c3.1-3.7,5.6-8.2,7.3-13.5
|
|
36
|
+
C253.6,72,254.5,66.1,254.5,59.4L254.5,59.4z'
|
|
37
|
+
/>
|
|
38
|
+
<path
|
|
39
|
+
d='M289.7,135.2h-9.3V37.8c2.8-0.9,6.3-1.9,10.5-2.7c4.3-0.9,9.7-1.3,16.2-1.3c5.4,0,10.3,0.9,14.7,2.6
|
|
40
|
+
c4.4,1.8,8.2,4.3,11.4,7.6c3.2,3.3,5.6,7.4,7.4,12.1c1.8,4.7,2.6,10.1,2.6,16.1c0,5.6-0.7,10.8-2.2,15.5
|
|
41
|
+
c-1.5,4.7-3.6,8.7-6.5,12.1c-2.8,3.4-6.3,6-10.5,7.9c-4.1,1.9-8.9,2.8-14.2,2.8c-4.8,0-9-0.7-12.6-2.1c-3.6-1.4-6.2-2.7-7.8-3.9
|
|
42
|
+
V135.2z M289.7,95.6c0.9,0.7,1.9,1.4,3.2,2.1c1.3,0.8,2.8,1.5,4.5,2.1c1.7,0.7,3.6,1.2,5.6,1.6c2,0.4,4.1,0.6,6.3,0.6
|
|
43
|
+
c4.6,0,8.4-0.8,11.5-2.4c3.1-1.6,5.6-3.7,7.5-6.4c1.9-2.7,3.3-5.9,4.1-9.5c0.9-3.7,1.3-7.5,1.3-11.6c0-9.7-2.4-17.1-7.3-22.3
|
|
44
|
+
c-4.8-5.2-11.3-7.8-19.2-7.8c-4.6,0-8.2,0.2-11,0.6c-2.8,0.4-4.9,0.9-6.3,1.4V95.6z'
|
|
45
|
+
/>
|
|
46
|
+
<path
|
|
47
|
+
d='M353.7,72c0-6.5,0.9-12.1,2.8-16.9c1.9-4.8,4.3-8.8,7.3-12c3-3.2,6.4-5.6,10.3-7.2c3.8-1.6,7.8-2.4,11.9-2.4
|
|
48
|
+
c9,0,16.2,2.9,21.6,8.8c5.4,5.9,8.1,15,8.1,27.2c0,0.8,0,1.5-0.1,2.3c0,0.8-0.1,1.5-0.2,2.1h-51.7c0.3,9,2.5,16,6.7,20.8
|
|
49
|
+
c4.2,4.8,10.8,7.3,19.9,7.3c5,0,9-0.5,12-1.4c2.9-0.9,5.1-1.8,6.4-2.4l1.7,8c-1.3,0.8-3.8,1.7-7.5,2.7c-3.7,1-8,1.6-12.9,1.6
|
|
50
|
+
c-6.5,0-12-1-16.5-2.9c-4.6-1.9-8.3-4.6-11.3-8c-2.9-3.4-5.1-7.5-6.4-12.2C354.3,82.7,353.7,77.6,353.7,72L353.7,72z M406,66.1
|
|
51
|
+
c-0.2-7.7-2-13.7-5.4-18c-3.4-4.3-8.3-6.4-14.5-6.4c-3.3,0-6.3,0.7-8.9,2c-2.6,1.3-4.9,3.1-6.8,5.3c-1.9,2.2-3.5,4.8-4.6,7.8
|
|
52
|
+
c-1.1,2.9-1.7,6-1.9,9.3H406z'
|
|
53
|
+
/>
|
|
54
|
+
<path
|
|
55
|
+
d='M430.7,37.8c2.8-0.8,6.5-1.6,11.1-2.6c4.7-0.9,10.4-1.4,17.1-1.4c5.6,0,10.3,0.8,14,2.4
|
|
56
|
+
c3.8,1.6,6.7,3.9,9,6.9c2.2,3,3.8,6.6,4.8,10.8c0.9,4.2,1.4,8.8,1.4,13.8v41.2h-9.3V70.7c0-5.2-0.4-9.6-1.1-13.3
|
|
57
|
+
c-0.7-3.6-1.9-6.6-3.6-8.8c-1.7-2.3-3.8-3.9-6.6-4.9c-2.7-1-6.1-1.5-10.2-1.5c-4.4,0-8.1,0.2-11.3,0.7c-3.2,0.5-5.3,0.9-6.2,1.3
|
|
58
|
+
v64.7h-9.3V37.8z'
|
|
59
|
+
/>
|
|
60
|
+
</g>
|
|
61
|
+
|
|
62
|
+
<g fill={fill3} fillRule='nonzero' id='pix'>
|
|
63
|
+
<path
|
|
64
|
+
d='M532.1,19.1c12.8,0,22.3,2.4,28.5,7.3c6.3,4.9,9.4,11.8,9.4,20.7c0,5.1-0.9,9.5-2.7,13.1
|
|
65
|
+
c-1.8,3.6-4.4,6.5-7.8,8.7c-3.4,2.2-7.5,3.8-12.4,4.8c-4.9,1-10.4,1.5-16.6,1.5h-12.2v34.9h-8.9V21.6c3.1-0.9,6.8-1.5,11-1.9
|
|
66
|
+
C524.6,19.3,528.5,19.1,532.1,19.1z M532.5,26.8c-3.3,0-6.1,0.1-8.4,0.3c-2.3,0.2-4.3,0.4-5.9,0.6v39.9h11.2
|
|
67
|
+
c4.8,0,9.1-0.3,13-0.8c3.9-0.6,7.2-1.6,9.9-3.1c2.7-1.5,4.8-3.6,6.3-6.3c1.5-2.7,2.2-6.1,2.2-10.3c0-4-0.8-7.3-2.4-9.9
|
|
68
|
+
c-1.6-2.6-3.7-4.7-6.4-6.2c-2.6-1.5-5.7-2.6-9.1-3.2C539.6,27.1,536.1,26.8,532.5,26.8z'
|
|
69
|
+
/>
|
|
70
|
+
<path
|
|
71
|
+
d='M599,22.5c0,2-0.6,3.6-1.8,4.8c-1.2,1.2-2.7,1.8-4.4,1.8c-1.7,0-3.2-0.6-4.4-1.8c-1.2-1.2-1.8-2.8-1.8-4.8
|
|
72
|
+
c0-2,0.6-3.6,1.8-4.8c1.2-1.2,2.7-1.8,4.4-1.8c1.7,0,3.2,0.6,4.4,1.8C598.3,19,599,20.5,599,22.5z M597,110.2h-8.5V42.9h8.5
|
|
73
|
+
V110.2z'
|
|
74
|
+
/>
|
|
75
|
+
<path
|
|
76
|
+
d='M643,81.7c-1.9,2.3-3.8,4.7-5.7,7.2c-1.9,2.5-3.7,5-5.5,7.4c-1.8,2.4-3.4,4.9-4.9,7.4
|
|
77
|
+
c-1.5,2.5-2.7,4.7-3.7,6.6h-8.8c3.6-6.6,7.5-12.8,11.6-18.4c4.1-5.6,8.2-11.1,12.5-16.5l-22.8-32.4h9.9l17.6,25.5l17.6-25.5h9.2
|
|
78
|
+
l-22.3,32c1.9,2.4,3.9,4.9,6.1,7.7c2.2,2.8,4.3,5.7,6.5,8.7c2.2,3,4.2,6.1,6.3,9.3c2,3.2,3.9,6.4,5.6,9.6h-9.1
|
|
79
|
+
c-1-1.9-2.3-4-3.8-6.3c-1.5-2.3-3.1-4.7-4.9-7.2c-1.8-2.5-3.7-5-5.6-7.6C646.8,86.5,644.9,84,643,81.7z'
|
|
80
|
+
/>
|
|
81
|
+
</g>
|
|
82
|
+
<g>
|
|
83
|
+
<path
|
|
84
|
+
fill={fill1}
|
|
85
|
+
d='M134.8,93.9c-0.8-1.2-1.9-2.2-3.3-3l-11.4-6.2l-7.9-4.3l-7.9,4.3l7.9,4.3l9.9,5.4c2.9,1.6,2.9,5.1,0,6.7
|
|
86
|
+
l-43.8,24c-3.5,1.9-8.2,1.9-11.7,0l-43.8-24.1c-2.9-1.6-2.9-5.1,0-6.7l9.8-5.4l7.9-4.3l-7.9-4.3l-7.9,4.3l-11.4,6.2
|
|
87
|
+
c-2.8,1.6-4.5,4.1-4.5,6.9c0,1.4,0.4,2.7,1.2,3.8c0.8,1.2,1.9,2.2,3.3,3l53.3,29.2c3.5,1.9,8.2,1.9,11.7,0l53.2-29.2
|
|
88
|
+
c2.8-1.6,4.5-4.1,4.5-6.9C136,96.4,135.6,95.1,134.8,93.9z'
|
|
89
|
+
/>
|
|
90
|
+
<path
|
|
91
|
+
fill={fill2}
|
|
92
|
+
d='M134.8,67.7c-0.8-1.2-1.9-2.2-3.3-3l-11.4-6.2l-7.9-4.3l-7.9,4.3l7.9,4.3l9.9,5.4c2.9,1.6,2.9,5.1,0,6.7
|
|
93
|
+
l-9.8,5.4l-7.9,4.3L78.3,99c-3.5,1.9-8.2,1.9-11.7,0L40.5,84.7l-7.9-4.3l-9.9-5.4c-2.9-1.6-2.9-5.1,0-6.7l9.8-5.4l7.9-4.3
|
|
94
|
+
l-7.9-4.3l-7.9,4.3l-11.4,6.2c-2.8,1.6-4.5,4.1-4.5,6.9c0,1.4,0.4,2.7,1.2,3.9c0.8,1.2,1.9,2.2,3.3,3l11.4,6.2l7.9,4.3l34,18.6
|
|
95
|
+
c3.5,1.9,8.2,1.9,11.7,0L112.2,89l7.9-4.3l11.4-6.2c2.8-1.6,4.5-4.1,4.5-6.9C136,70.2,135.6,68.9,134.8,67.7z'
|
|
96
|
+
/>
|
|
97
|
+
<path
|
|
98
|
+
fill={fill3}
|
|
99
|
+
d='M134.8,41.6c-0.8-1.2-1.9-2.2-3.3-3L78.3,9.5c-3.5-1.9-8.2-1.9-11.7,0L13.3,38.6c-2.8,1.6-4.5,4.1-4.5,6.9
|
|
100
|
+
c0,1.4,0.4,2.7,1.2,3.8c0.8,1.2,1.9,2.2,3.3,3l11.4,6.2l7.9,4.3l34,18.6c3.5,1.9,8.2,1.9,11.7,0l33.9-18.6l7.9-4.3l11.4-6.2
|
|
101
|
+
c2.8-1.6,4.5-4.1,4.5-6.9C136,44.1,135.6,42.8,134.8,41.6z M122.1,48.8l-9.8,5.4l-7.9,4.3l-26,14.3c-3.5,1.9-8.2,1.9-11.7,0
|
|
102
|
+
L40.5,58.5l-7.9-4.3l-9.9-5.4c-2.9-1.6-2.9-5.1,0-6.7l43.8-24c3.5-1.9,8.2-1.9,11.7,0l43.8,24.1C125,43.8,125,47.2,122.1,48.8z'
|
|
103
|
+
/>
|
|
104
|
+
<g fill={fill1}>
|
|
105
|
+
<path
|
|
106
|
+
d='M65.8,44.1c-3.3-2-6.6-3.9-9.9-5.9c-1.2-0.7-2.4-1.1-3.8-1c-0.8-0.1-1.5,0.1-2.2,0.5
|
|
107
|
+
c-3.7,2.2-7.5,4.4-11.3,6.7c-1.4,0.8-1.4,2,0,2.8c3.7,2.1,7.4,4.1,11.1,6.3c2.2,1.3,4.4,1.1,6.6,0c3.2-1.8,6.3-3.7,9.5-5.5
|
|
108
|
+
C67.6,46.9,67.6,45.2,65.8,44.1z M58.4,46.4l-5.6,3.1c-0.2,0.1-0.5,0.1-0.8,0l-5.6-3.2c-0.5-0.3-0.5-1.1,0-1.4l5.7-3.2
|
|
109
|
+
c0.2-0.1,0.6-0.1,0.8,0l5.5,3.2C58.9,45.4,58.9,46.1,58.4,46.4z'
|
|
110
|
+
/>
|
|
111
|
+
<path
|
|
112
|
+
d='M86.3,56.4L74.1,49c-0.8-0.5-1.7-0.5-2.5,0L59,56.2c-0.9,0.5-0.9,1.8,0,2.3l11.3,6.6c1.5,0.8,3.2,0.8,4.7,0
|
|
113
|
+
l11.3-6.5C87.2,58.2,87.2,56.9,86.3,56.4z M78.9,58l-6,3.4c-0.2,0.1-0.4,0.1-0.6,0l-6-3.5c-0.4-0.2-0.4-0.8,0-1.1l5.8-3.3
|
|
114
|
+
c0.4-0.2,0.8-0.2,1.1,0L79,57C79.4,57.2,79.4,57.8,78.9,58z'
|
|
115
|
+
/>
|
|
116
|
+
<path
|
|
117
|
+
d='M86.6,33.1l-12.3-7.9c-0.8-0.5-1.8-0.5-2.6,0L59,32.3c-1.2,0.7-1.4,2.6-0.2,3.3l11.9,7c1.2,0.7,2.8,0.7,4,0
|
|
118
|
+
l11.8-6.4C87.7,35.5,87.7,33.8,86.6,33.1z M78.6,34.9l-5,2.7c-0.5,0.3-1.2,0.3-1.7,0l-5.1-3c-0.5-0.3-0.4-1.1,0.1-1.4l5.4-3
|
|
119
|
+
c0.3-0.2,0.8-0.2,1.1,0l5.3,3.4C79.1,33.9,79.1,34.6,78.6,34.9z'
|
|
120
|
+
/>
|
|
121
|
+
<path
|
|
122
|
+
d='M87.1,52.3l3.5,2.2c0.9,0.7,2.1,0.7,3.1,0.1l3.3-2c0.8-0.5,0.8-1.6,0-2.1l-4-2.5c-0.4-0.2-0.8-0.2-1.2,0
|
|
123
|
+
l-4.7,2.6C86.6,50.9,86.5,51.8,87.1,52.3z'
|
|
124
|
+
/>
|
|
125
|
+
<path
|
|
126
|
+
d='M96.7,46.7l3.4,2.2c0.9,0.6,2.1,0.6,3,0.1l3.6-2.2c0.5-0.3,0.6-1.1,0-1.5l-3.7-2.3c-0.7-0.5-1.7-0.5-2.4,0
|
|
127
|
+
l-3.8,2.2C96.2,45.5,96.1,46.3,96.7,46.7z'
|
|
128
|
+
/>
|
|
129
|
+
<path
|
|
130
|
+
d='M87.6,41l4.2,2.9c0.7,0.5,1.5,0.5,2.2,0l4.3-2.8c0.4-0.3,0.4-0.8,0-1.1l-4.5-2.8c-0.6-0.4-1.3-0.4-1.9,0
|
|
131
|
+
l-4.3,2.6C87.2,40.2,87.2,40.7,87.6,41z'
|
|
132
|
+
/>
|
|
133
|
+
</g>
|
|
134
|
+
</g>
|
|
135
|
+
</svg>
|
|
136
|
+
);
|
|
137
|
+
};
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
type Props = {
|
|
2
|
+
width?: string;
|
|
3
|
+
height?: string;
|
|
4
|
+
color?: string;
|
|
5
|
+
};
|
|
6
|
+
|
|
7
|
+
const WooviLogo = ({ width, height = '40px', color = '#03D69D' }: Props) => {
|
|
8
|
+
return (
|
|
9
|
+
<svg
|
|
10
|
+
id='WooviLogo'
|
|
11
|
+
data-testid='WooviLogo'
|
|
12
|
+
width={width}
|
|
13
|
+
height={height}
|
|
14
|
+
viewBox='0 0 124 37'
|
|
15
|
+
fill='none'
|
|
16
|
+
xmlns='http://www.w3.org/2000/svg'
|
|
17
|
+
>
|
|
18
|
+
<g id='Group'>
|
|
19
|
+
<path
|
|
20
|
+
id='Vector'
|
|
21
|
+
d='M101.243 35.5452C99.1586 35.5452 97.2858 34.3098 96.5084 32.3684L89.4766 15.5312C88.5932 13.4133 90.148 11.1189 92.4095 11.1189C93.7169 11.1189 94.883 11.8955 95.3777 13.1309L101.243 27.709L107.109 13.1309C107.604 11.9308 108.77 11.1189 110.077 11.1189C112.374 11.1189 113.894 13.4486 113.01 15.5312L105.978 32.4037C105.201 34.3098 103.328 35.5452 101.243 35.5452Z'
|
|
22
|
+
fill={color}
|
|
23
|
+
/>
|
|
24
|
+
<path
|
|
25
|
+
id='Vector_2'
|
|
26
|
+
d='M122.833 1.16484C123.575 1.9414 123.964 2.82386 123.964 3.8828C123.964 4.94175 123.575 5.8595 122.833 6.56546C122.091 7.27143 121.137 7.62441 120.042 7.62441C118.911 7.62441 117.957 7.27143 117.215 6.56546C116.473 5.8595 116.12 4.94175 116.12 3.8828C116.12 2.82386 116.508 1.9414 117.25 1.16484C117.992 0.38828 118.946 0 120.042 0C121.137 0 122.091 0.38828 122.833 1.16484ZM116.791 32.3331V14.3664C116.791 12.6015 118.24 11.1542 120.007 11.1542C121.773 11.1542 123.222 12.6015 123.222 14.3664V32.2978C123.222 34.0628 121.773 35.51 120.007 35.51C118.24 35.5453 116.791 34.0981 116.791 32.3331Z'
|
|
27
|
+
fill={color}
|
|
28
|
+
/>
|
|
29
|
+
<g id='Group_2'>
|
|
30
|
+
<path
|
|
31
|
+
id='Vector_3'
|
|
32
|
+
d='M23.8226 35.5453C21.8792 35.5453 20.2184 34.2746 19.7237 32.4391L16.5081 20.5083L13.2572 32.4391C12.7625 34.2746 11.1017 35.5453 9.1936 35.5453C7.32081 35.5453 5.66002 34.3099 5.12998 32.4744L0.112297 14.9665C-0.41774 13.0957 0.995693 11.2249 2.93916 11.2249C4.24659 11.2249 5.41267 12.1073 5.76603 13.378L9.40562 26.5443L12.8332 13.9781C13.2926 12.3544 14.7413 11.2249 16.4374 11.2249C18.1336 11.2249 19.6177 12.3544 20.0417 13.9781L23.4693 26.5443L27.1089 13.378C27.4622 12.1073 28.6283 11.2249 29.9357 11.2249H30.0417C31.9852 11.2249 33.3986 13.0957 32.8686 14.9665L27.8863 32.5097C27.3916 34.3099 25.7308 35.5453 23.8226 35.5453Z'
|
|
33
|
+
fill={color}
|
|
34
|
+
/>
|
|
35
|
+
</g>
|
|
36
|
+
<path
|
|
37
|
+
id='Vector_4'
|
|
38
|
+
d='M53.7168 25.6265C55.4482 27.3561 57.0383 28.9446 58.6285 30.533C55.0242 34.9453 50.5366 37.6632 44.5648 36.5337C39.0171 35.4747 35.3775 32.0508 33.9287 26.5443C32.4093 20.7201 35.0948 14.6841 40.2892 11.719C45.4835 8.754 51.9853 9.53056 56.261 13.731C61.0313 18.3904 65.6956 23.1557 70.4306 27.8503C72.8688 30.2506 76.4731 30.533 79.0879 28.5916C82.0208 26.4031 82.5508 22.1673 80.2893 19.3082C77.9925 16.449 73.7522 15.9901 70.996 18.3904C70.0419 19.2023 69.2645 20.2259 68.4518 21.1437C66.685 19.3788 65.0949 17.7903 63.5048 16.2019C67.0031 11.8955 71.42 8.96579 77.9925 10.2718C83.4695 11.3308 87.5332 15.8136 88.4519 21.426C89.3353 26.9326 86.4378 32.6156 81.3847 35.2629C76.2257 37.9456 69.9713 37.0278 65.7663 32.898C61.0666 28.2386 56.4023 23.5439 51.7026 18.8846C49.6885 16.8726 46.8616 16.2725 44.3881 17.4021C41.8793 18.5316 40.5012 20.5083 40.4658 23.2969C40.4305 26.0501 41.7026 28.1327 44.2114 29.2975C46.7556 30.4624 49.1585 30.1094 51.2786 28.2739C52.1973 27.4267 52.9394 26.4737 53.7168 25.6265Z'
|
|
39
|
+
fill={color}
|
|
40
|
+
/>
|
|
41
|
+
</g>
|
|
42
|
+
</svg>
|
|
43
|
+
);
|
|
44
|
+
};
|
|
45
|
+
|
|
46
|
+
export default WooviLogo;
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
import { Box } from '@mui/material';
|
|
2
|
+
import type { BoxProps } from '@mui/material';
|
|
3
|
+
import { forwardRef } from 'react';
|
|
4
|
+
import type { ReactNode } from 'react';
|
|
5
|
+
|
|
6
|
+
type MuiFlexProps = {
|
|
7
|
+
children: ReactNode;
|
|
8
|
+
tabIndex?: number;
|
|
9
|
+
sx?: BoxProps['sx'];
|
|
10
|
+
'data-testid'?: string;
|
|
11
|
+
};
|
|
12
|
+
|
|
13
|
+
const BoxFlex = forwardRef(
|
|
14
|
+
({ children, sx, tabIndex, ...props }: MuiFlexProps, ref) => (
|
|
15
|
+
// @todo: Fix the order of styles here, to imply that every BoxFlex will have flex display.
|
|
16
|
+
(<Box
|
|
17
|
+
ref={ref}
|
|
18
|
+
tabIndex={tabIndex}
|
|
19
|
+
data-testid={props['data-testid']}
|
|
20
|
+
sx={{ display: 'flex', ...sx }}
|
|
21
|
+
>
|
|
22
|
+
{children}
|
|
23
|
+
</Box>)
|
|
24
|
+
),
|
|
25
|
+
);
|
|
26
|
+
|
|
27
|
+
export default BoxFlex;
|
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { default as _Typography } from '@mui/material/Typography';
|
|
2
|
+
import type { TypographyProps } from '@mui/material/Typography/Typography';
|
|
3
|
+
|
|
4
|
+
const Typography = ({ variant, children }: TypographyProps) => {
|
|
5
|
+
return <_Typography variant={variant}>{children}</_Typography>;
|
|
6
|
+
};
|
|
7
|
+
|
|
8
|
+
export default Typography;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
import type { Story } from '@storybook/addon-docs/blocks';
|
|
2
|
+
import type { Meta } from '@storybook/react/types-6-0';
|
|
3
|
+
|
|
4
|
+
import type { TypographyProps } from '../ActionButton';
|
|
5
|
+
import TypographyExample from './TypographyExample';
|
|
6
|
+
|
|
7
|
+
export default {
|
|
8
|
+
title: 'Ui/Typography',
|
|
9
|
+
component: TypographyExample,
|
|
10
|
+
} as Meta;
|
|
11
|
+
|
|
12
|
+
const Template: Story<TypographyProps> = () => <TypographyExample />;
|
|
13
|
+
|
|
14
|
+
export const Default = Template.bind({});
|