umwd-components 0.1.714 → 0.1.715
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/README.md +273 -0
- package/dist/_virtual/_commonjsHelpers.js +1 -1
- package/dist/_virtual/_rollupPluginBabelHelpers.js +1 -1
- package/dist/node_modules/@mollie/api-client/dist/mollie.esm.js +1 -1
- package/dist/node_modules/axios/index.js +6 -0
- package/dist/node_modules/axios/lib/adapters/adapters.js +1 -1
- package/dist/node_modules/axios/lib/adapters/fetch.js +1 -1
- package/dist/node_modules/axios/lib/adapters/xhr.js +1 -1
- package/dist/node_modules/axios/lib/cancel/CancelToken.js +1 -1
- package/dist/node_modules/axios/lib/core/Axios.js +1 -1
- package/dist/node_modules/axios/lib/core/AxiosError.js +1 -1
- package/dist/node_modules/axios/lib/core/AxiosHeaders.js +1 -1
- package/dist/node_modules/axios/lib/core/InterceptorManager.js +1 -1
- package/dist/node_modules/axios/lib/core/dispatchRequest.js +1 -1
- package/dist/node_modules/axios/lib/core/mergeConfig.js +1 -1
- package/dist/node_modules/axios/lib/core/transformData.js +1 -1
- package/dist/node_modules/axios/lib/defaults/index.js +1 -1
- package/dist/node_modules/axios/lib/helpers/AxiosURLSearchParams.js +1 -1
- package/dist/node_modules/axios/lib/helpers/HttpStatusCode.js +1 -1
- package/dist/node_modules/axios/lib/helpers/composeSignals.js +1 -1
- package/dist/node_modules/axios/lib/helpers/formDataToJSON.js +1 -1
- package/dist/node_modules/axios/lib/helpers/parseHeaders.js +1 -1
- package/dist/node_modules/axios/lib/helpers/progressEventReducer.js +1 -1
- package/dist/node_modules/axios/lib/helpers/resolveConfig.js +1 -1
- package/dist/node_modules/axios/lib/helpers/throttle.js +1 -1
- package/dist/node_modules/axios/lib/helpers/toFormData.js +1 -1
- package/dist/node_modules/axios/lib/helpers/trackStream.js +1 -1
- package/dist/node_modules/axios/lib/helpers/validator.js +1 -1
- package/dist/node_modules/axios/lib/platform/index.js +1 -1
- package/dist/node_modules/axios/lib/utils.js +1 -1
- package/dist/node_modules/call-bind-apply-helpers/actualApply.js +6 -0
- package/dist/node_modules/call-bind-apply-helpers/functionApply.js +6 -0
- package/dist/node_modules/call-bind-apply-helpers/functionCall.js +6 -0
- package/dist/node_modules/call-bind-apply-helpers/index.js +6 -0
- package/dist/node_modules/call-bind-apply-helpers/reflectApply.js +6 -0
- package/dist/node_modules/call-bound/index.js +6 -0
- package/dist/node_modules/dayjs/dayjs.min.js +1 -1
- package/dist/node_modules/dunder-proto/get.js +6 -0
- package/dist/node_modules/es-define-property/index.js +1 -1
- package/dist/{_virtual/index7.js → node_modules/es-object-atoms/index.js} +1 -1
- package/dist/node_modules/function-bind/implementation.js +1 -1
- package/dist/node_modules/function-bind/index.js +1 -1
- package/dist/node_modules/get-intrinsic/index.js +1 -1
- package/dist/node_modules/get-proto/Object.getPrototypeOf.js +6 -0
- package/dist/node_modules/get-proto/Reflect.getPrototypeOf.js +6 -0
- package/dist/node_modules/get-proto/index.js +6 -0
- package/dist/{_virtual/index5.js → node_modules/gopd/gOPD.js} +1 -1
- package/dist/node_modules/gopd/index.js +1 -1
- package/dist/node_modules/has-symbols/index.js +1 -1
- package/dist/node_modules/has-symbols/shams.js +1 -1
- package/dist/node_modules/hasown/index.js +1 -1
- package/dist/{_virtual/index8.js → node_modules/math-intrinsics/abs.js} +1 -1
- package/dist/{_virtual/types.js → node_modules/math-intrinsics/floor.js} +1 -1
- package/dist/node_modules/math-intrinsics/isNaN.js +6 -0
- package/dist/{_virtual/index6.js → node_modules/math-intrinsics/max.js} +1 -1
- package/dist/node_modules/math-intrinsics/min.js +6 -0
- package/dist/node_modules/math-intrinsics/pow.js +6 -0
- package/dist/node_modules/math-intrinsics/round.js +6 -0
- package/dist/node_modules/math-intrinsics/sign.js +6 -0
- package/dist/node_modules/object-assign/index.js +1 -1
- package/dist/node_modules/object-inspect/index.js +1 -1
- package/dist/node_modules/prop-types/factoryWithTypeCheckers.js +1 -1
- package/dist/node_modules/prop-types/index.js +1 -1
- package/dist/node_modules/prop-types/node_modules/react-is/index.js +1 -1
- package/dist/node_modules/qs/lib/index.js +1 -1
- package/dist/node_modules/qs/lib/parse.js +1 -1
- package/dist/node_modules/qs/lib/stringify.js +1 -1
- package/dist/node_modules/qs/lib/utils.js +1 -1
- package/dist/node_modules/react-csv/lib/components/Download.js +1 -1
- package/dist/node_modules/react-csv/lib/components/Link.js +1 -1
- package/dist/node_modules/react-csv/lib/core.js +1 -1
- package/dist/node_modules/safe-buffer/index.js +2 -2
- package/dist/node_modules/sax/lib/sax.js +1 -1
- package/dist/node_modules/side-channel/index.js +1 -1
- package/dist/node_modules/side-channel-list/index.js +6 -0
- package/dist/node_modules/side-channel-map/index.js +6 -0
- package/dist/node_modules/side-channel-weakmap/index.js +6 -0
- package/dist/node_modules/string_decoder/lib/string_decoder.js +1 -1
- package/dist/node_modules/tslib/tslib.es6.js +1 -1
- package/dist/node_modules/xml-js/lib/js2xml.js +1 -1
- package/dist/node_modules/xml-js/lib/xml2json.js +1 -1
- package/dist/src/components/ContactForm.js +1 -1
- package/dist/src/components/FluidBackground.js +1 -1
- package/dist/src/components/LogoutButton.js +1 -1
- package/dist/src/components/WebsitePlaceholder.js +1 -1
- package/dist/src/components/ZodErrors.js +1 -1
- package/dist/src/components/auth/AuthWidget.js +1 -1
- package/dist/src/components/common/Address.js +1 -1
- package/dist/src/components/common/AmountUpdater.js +1 -1
- package/dist/src/components/common/EnhancedTable/EnhancedTable.js +1 -1
- package/dist/src/components/common/EnhancedTable/EnhancedTableFilterRow.js +1 -1
- package/dist/src/components/common/EnhancedTable/EnhancedTableHead.js +1 -1
- package/dist/src/components/common/EnhancedTable/EnhancedTableRow.js +1 -1
- package/dist/src/components/common/EnhancedTable/EnhancedTableToolbar.js +1 -1
- package/dist/src/components/common/NumberInput.js +1 -1
- package/dist/src/components/common/WeekPicker.js +1 -1
- package/dist/src/components/common/cookie-consent/CookieConsentContext.js +1 -1
- package/dist/src/components/common/csv/CsvDownloader.js +1 -1
- package/dist/src/components/common/media/MediaGrid.js +1 -1
- package/dist/src/components/common/media/MediaLibraryDialog.js +1 -1
- package/dist/src/components/common/media/UploadBase64MediaForm.js +1 -1
- package/dist/src/components/common/media/UploadMediaForm.js +1 -1
- package/dist/src/components/common/snackbar/GlobalSnackbar.js +1 -1
- package/dist/src/components/e-commerce/cart/CartSummary.js +1 -1
- package/dist/src/components/e-commerce/cart/hooks.js +1 -1
- package/dist/src/components/e-commerce/categories/AddCategoryForm.js +1 -1
- package/dist/src/components/e-commerce/categories/CategorySelectorV2.js +1 -1
- package/dist/src/components/e-commerce/categories/EditCategoryForm.js +1 -1
- package/dist/src/components/e-commerce/checkout/CheckoutForm.js +1 -1
- package/dist/src/components/e-commerce/checkout/Step2.js +1 -1
- package/dist/src/components/e-commerce/checkout/Step4.js +1 -1
- package/dist/src/components/e-commerce/checkout/Step5.js +1 -1
- package/dist/src/components/e-commerce/customer/BusinessCredentials.js +1 -1
- package/dist/src/components/e-commerce/customer/CustomerCompletenessWarning.js +1 -1
- package/dist/src/components/e-commerce/customer/CustomerProfileDisplay.js +1 -1
- package/dist/src/components/e-commerce/customer/CustomerProfileEditForm.js +1 -1
- package/dist/src/components/e-commerce/customer/CustomerSelector.js +1 -1
- package/dist/src/components/e-commerce/enduser/EnduserProfileEditForm.js +1 -1
- package/dist/src/components/e-commerce/invoice/CreateInvoiceForm.js +1 -1
- package/dist/src/components/e-commerce/invoice/InvoiceItemFields.js +1 -1
- package/dist/src/components/e-commerce/invoice/InvoicePDF.js +1 -1
- package/dist/src/components/e-commerce/iro/CreateIROForm.js +1 -1
- package/dist/src/components/e-commerce/iro/IROItemFields.js +1 -1
- package/dist/src/components/e-commerce/iro/IroItemDisplay.js +1 -1
- package/dist/src/components/e-commerce/iro/IroItemUpdater.js +1 -1
- package/dist/src/components/e-commerce/iro/IroStatusIndicator.js +1 -1
- package/dist/src/components/e-commerce/iro/ManageIROForm.js +1 -1
- package/dist/src/components/e-commerce/iro/RmaForm.js +1 -1
- package/dist/src/components/e-commerce/iro/TextualIROItemUpdater.js +1 -1
- package/dist/src/components/e-commerce/iro/TextualManageIROForm.js +1 -1
- package/dist/src/components/e-commerce/opo/CreateOpoForm.js +1 -1
- package/dist/src/components/e-commerce/opo/ManageOpoForm.js +1 -1
- package/dist/src/components/e-commerce/opo/OPOItemFields.js +1 -1
- package/dist/src/components/e-commerce/opo/OpoItemDisplay.js +1 -1
- package/dist/src/components/e-commerce/opo/OpoItemUpdater.js +1 -1
- package/dist/src/components/e-commerce/opo/OpoStatusIndicator.js +1 -1
- package/dist/src/components/e-commerce/opo/OpoSummary.js +1 -1
- package/dist/src/components/e-commerce/opo/PaymentStatusIndicator.js +1 -1
- package/dist/src/components/e-commerce/opo/TextualManageOpoForm.js +1 -1
- package/dist/src/components/e-commerce/opo/TextualOpoItemUpdater.js +1 -1
- package/dist/src/components/e-commerce/products/AddProductForm.js +1 -1
- package/dist/src/components/e-commerce/products/EditProductForm.js +1 -1
- package/dist/src/components/e-commerce/products/EditStockForm.js +1 -1
- package/dist/src/components/e-commerce/products/PriceFields.js +1 -1
- package/dist/src/components/e-commerce/products/ProductCategoryCard.js +1 -1
- package/dist/src/components/e-commerce/products/ProductSelector.js +1 -1
- package/dist/src/components/e-commerce/products/SingleProduct.js +1 -1
- package/dist/src/components/layout/Footer.js +1 -1
- package/dist/src/components/layout/Navbar.js +1 -1
- package/dist/src/components/layout/NavbarV2.js +1 -1
- package/dist/src/components/layout/SideNav.js +1 -1
- package/dist/src/components/logistics/dispatcher/DispatcherProfileEditForm.js +1 -1
- package/dist/src/components/logistics/ipo/AddIPOForm.js +1 -1
- package/dist/src/components/logistics/ipo/IPOItemFields.js +1 -1
- package/dist/src/components/logistics/ipo/IPOItemUpdater.js +1 -1
- package/dist/src/components/logistics/ipo/IpoStatusIndicator.js +1 -1
- package/dist/src/components/logistics/ipo/ManageIPOForm.js +1 -1
- package/dist/src/components/logistics/ipo/TextualIPOItemUpdater.js +1 -1
- package/dist/src/components/logistics/ipo/TextualManageIPOForm.js +1 -1
- package/dist/src/components/logistics/note/NoteTakingComponent.js +1 -1
- package/dist/src/components/logistics/note/NotesDisplay.js +1 -1
- package/dist/src/components/logistics/report/PreReportsDisplay.js +1 -1
- package/dist/src/components/logistics/report/ReportMakingComponent.js +1 -1
- package/dist/src/components/logistics/report/ReportsDisplay.js +1 -1
- package/dist/src/components/logistics/vendor/AddVendorForm.js +1 -1
- package/dist/src/components/logistics/vendor/EditVendorForm.js +1 -1
- package/dist/src/components/logistics/vendor/VendorDisplay.js +1 -1
- package/dist/src/components/logistics/vendor/VendorSelector.js +1 -1
- package/dist/src/components/page-builder/ColumnsSection.js +1 -1
- package/dist/src/components/page-builder/FleetSection.js +1 -1
- package/dist/src/components/page-builder/IconSection.js +1 -1
- package/dist/src/components/page-builder/LogoBarSection.js +1 -1
- package/dist/src/components/page-builder/PBFeaturesSection.js +1 -1
- package/dist/src/components/page-builder/PBPersonaliaSection.js +1 -1
- package/dist/src/components/page-builder/PBTextImageSection.js +1 -1
- package/dist/src/components/page-builder/PictureBarSection.js +1 -1
- package/dist/src/components/page-elements/CategoryBlock.js +1 -1
- package/dist/src/components/page-elements/ColumnsSection.js +1 -1
- package/dist/src/components/page-elements/FeaturesSection.js +1 -1
- package/dist/src/components/page-elements/FleetSection.js +1 -1
- package/dist/src/components/page-elements/IconSection.js +1 -1
- package/dist/src/components/page-elements/LogoBarSection.js +1 -1
- package/dist/src/components/page-elements/PersonaliaSection.js +1 -1
- package/dist/src/components/page-elements/PictureBarSection.js +1 -1
- package/dist/src/components/page-elements/TextImageSection.js +1 -1
- package/dist/src/components/public-information/PublicInformationForm.js +1 -1
- package/dist/src/context/auth/SessionContext.js +1 -1
- package/dist/src/context/common/SnackbarContext.js +1 -1
- package/dist/src/context/e-commerce/cart/CartContext.js +1 -1
- package/dist/src/context/e-commerce/checkout/CheckoutContext.js +1 -1
- package/dist/src/data/actions/auth-actions.js +1 -1
- package/dist/src/data/actions/e-commerce/categories/createCategoryAction.js +1 -1
- package/dist/src/data/actions/e-commerce/categories/updateCategoryAction.js +1 -1
- package/dist/src/data/actions/e-commerce/checkout-action.js +1 -1
- package/dist/src/data/actions/e-commerce/enduser/profile-actions.js +1 -1
- package/dist/src/data/actions/e-commerce/invoices/createInvoiceAction.js +1 -1
- package/dist/src/data/actions/e-commerce/iro/createIroAction.js +1 -1
- package/dist/src/data/actions/e-commerce/iro/requestRmaAction.js +1 -1
- package/dist/src/data/actions/e-commerce/iro/updateIroAction.js +1 -1
- package/dist/src/data/actions/e-commerce/opo/createOpoAction.js +1 -1
- package/dist/src/data/actions/e-commerce/opo/updateOpoAction.js +1 -1
- package/dist/src/data/actions/e-commerce/product/createProductAction.js +1 -1
- package/dist/src/data/actions/e-commerce/product/updateProductAction.js +1 -1
- package/dist/src/data/actions/logistics/dispatcher/profile-actions.js +1 -1
- package/dist/src/data/actions/logistics/ipo/createIPOAction.js +1 -1
- package/dist/src/data/actions/logistics/ipo/updateIpoAction.js +1 -1
- package/dist/src/data/actions/logistics/note/createNoteAction.js +1 -1
- package/dist/src/data/actions/logistics/report/createReportAction.js +1 -1
- package/dist/src/data/actions/logistics/vendor/createVendorAction.js +1 -1
- package/dist/src/data/actions/logistics/vendor/updateVendorAction.js +1 -1
- package/dist/src/data/actions/media/updateMediaAction.js +1 -1
- package/dist/src/data/actions/media/uploadBase64MediaAction.js +1 -1
- package/dist/src/data/actions/media/uploadMediaAction.js +1 -1
- package/dist/src/data/actions/pagebuilder-actions.js +1 -1
- package/dist/src/data/actions/profile-actions.js +1 -1
- package/dist/src/data/actions/public-information/updatePublicInformationAction.js +1 -1
- package/dist/src/data/loaders/common/media/downloadBase64File.js +1 -1
- package/dist/src/data/loaders/common/media/getAllMedia.js +1 -1
- package/dist/src/data/loaders/e-commerce/getAllCategoryNames.js +1 -1
- package/dist/src/data/loaders/e-commerce/getAllCustomers.js +1 -1
- package/dist/src/data/loaders/e-commerce/getAllInvoices.js +1 -1
- package/dist/src/data/loaders/e-commerce/getAllOpos.js +1 -1
- package/dist/src/data/loaders/e-commerce/getCustomerLabels.js +1 -1
- package/dist/src/data/loaders/e-commerce/getCustomerModel.js +1 -1
- package/dist/src/data/loaders/e-commerce/getOpoModel.js +1 -1
- package/dist/src/data/loaders/e-commerce/getPaginatedCategories.js +1 -1
- package/dist/src/data/loaders/e-commerce/getProductModel.js +1 -1
- package/dist/src/data/loaders/e-commerce/getProductNames.js +1 -1
- package/dist/src/data/loaders/e-commerce/getShop.js +1 -1
- package/dist/src/data/loaders/e-commerce/getSingleCategory.js +1 -1
- package/dist/src/data/loaders/e-commerce/getSingleCustomer.js +1 -1
- package/dist/src/data/loaders/e-commerce/getSingleOpo.js +1 -1
- package/dist/src/data/loaders/e-commerce/getSingleProduct.js +1 -1
- package/dist/src/data/loaders/e-commerce/getSingleStock.js +1 -1
- package/dist/src/data/loaders/e-commerce/getTableProducts.js +1 -1
- package/dist/src/data/loaders/e-commerce/iros/getAllIros.js +1 -1
- package/dist/src/data/loaders/e-commerce/iros/getIroModel.js +1 -1
- package/dist/src/data/loaders/e-commerce/iros/getSingleIro.js +1 -1
- package/dist/src/data/loaders/e-commerce/iros/queryAllIros.js +1 -1
- package/dist/src/data/loaders/e-commerce/queryAllCustomers.js +1 -1
- package/dist/src/data/loaders/e-commerce/queryAllOpos.js +1 -1
- package/dist/src/data/loaders/e-commerce/queryAllProducts.js +1 -1
- package/dist/src/data/loaders/e-commerce-loaders.js +1 -1
- package/dist/src/data/loaders/loaders.js +1 -1
- package/dist/src/data/loaders/logistics/getIpoModel.js +1 -1
- package/dist/src/data/loaders/logistics/getIpoNames.js +1 -1
- package/dist/src/data/loaders/logistics/getSingleIpo.js +1 -1
- package/dist/src/data/loaders/logistics/getSingleVendor.js +1 -1
- package/dist/src/data/loaders/logistics/getTableIpos.js +1 -1
- package/dist/src/data/loaders/logistics/getTableVendors.js +1 -1
- package/dist/src/data/loaders/logistics/getVendorModel.js +1 -1
- package/dist/src/data/loaders/logistics/getVendorNames.js +1 -1
- package/dist/src/data/loaders/logistics/queryAllIpos.js +1 -1
- package/dist/src/data/loaders/logistics/queryAllVendors.js +1 -1
- package/dist/src/data/loaders/page-builder/getTablePages.js +1 -1
- package/dist/src/data/loaders/page-elements/getSinglePage.js +1 -1
- package/dist/src/data/loaders/public-information/getPublicInformation.js +1 -1
- package/dist/src/data/loaders/user/getUserMeLoader.js +1 -1
- package/dist/src/data/services/archive-service.js +1 -1
- package/dist/src/data/services/auth-service.js +1 -1
- package/dist/src/data/services/common/cancellation-service.js +1 -1
- package/dist/src/data/services/common/confirmation-service.js +1 -1
- package/dist/src/data/services/e-commerce/enduser/get-enduser-me-loader.js +1 -1
- package/dist/src/data/services/file-service.js +1 -1
- package/dist/src/data/services/get-token.js +1 -1
- package/dist/src/data/services/get-user-me-loader.js +1 -1
- package/dist/src/data/services/logistics/dispatcher/get-dispatcher-me-loader.js +1 -1
- package/dist/src/data/services/mutate-data.js +1 -1
- package/dist/src/lib/eoriValidate.js +1 -1
- package/dist/src/lib/molliePaymentProvider.js +1 -1
- package/dist/src/lib/parseNavigation.js +1 -1
- package/dist/src/lib/processFilters.js +1 -1
- package/dist/src/lib/utils.js +1 -1
- package/dist/src/lib/vatValidate.js +1 -1
- package/dist/tsconfig.build.tsbuildinfo +1 -1
- package/dist/types/components/StrapiErrors.d.ts +2 -2
- package/dist/types/components/e-commerce/cart/hooks.d.ts +2 -3
- package/dist/types/components/e-commerce/products/AddProductForm.d.ts +3 -3
- package/dist/types/lib/getIcon.d.ts +0 -1
- package/dist/types/types/StrapiImageProps.d.ts +0 -1
- package/dist/types/types/common/Contact.d.ts +0 -1
- package/dist/types/types/common/Socials.d.ts +0 -1
- package/dist/types/types/common/enhancedTable/types.d.ts +0 -1
- package/package.json +14 -25
- package/postcss.config.js +5 -6
- package/rollup.config.mjs +9 -0
- package/src/components/Logo.tsx +20 -9
- package/src/components/LogoutButton.tsx +1 -29
- package/src/components/StrapiErrors.tsx +5 -1
- package/src/components/e-commerce/invoice/InvoicePDF.tsx +54 -48
- package/src/components/e-commerce/iro/ManageIROForm.tsx +3 -3
- package/src/components/e-commerce/opo/ManageOpoForm.tsx +7 -2
- package/src/components/e-commerce/opo/OpoItemUpdater.tsx +16 -6
- package/src/index.ts +327 -327
- package/src/lib/APIcon.svg +6 -6
- package/src/lib/utils.ts +0 -7
- package/src/styles/globals.css +2 -3
- package/tsconfig.json +24 -34
- package/.storybook/main.js +0 -26
- package/.storybook/preview.js +0 -50
- package/dist/_virtual/inherits_browser.js +0 -6
- package/dist/_virtual/punycode.js +0 -6
- package/dist/_virtual/url.js +0 -6
- package/dist/_virtual/util.js +0 -6
- package/dist/node_modules/available-typed-arrays/index.js +0 -6
- package/dist/node_modules/base64-js/index.js +0 -6
- package/dist/node_modules/buffer/index.js +0 -12
- package/dist/node_modules/call-bind/callBound.js +0 -6
- package/dist/node_modules/call-bind/index.js +0 -6
- package/dist/node_modules/define-data-property/index.js +0 -6
- package/dist/node_modules/for-each/index.js +0 -6
- package/dist/node_modules/has-property-descriptors/index.js +0 -6
- package/dist/node_modules/has-proto/index.js +0 -6
- package/dist/node_modules/has-tostringtag/shams.js +0 -6
- package/dist/node_modules/ieee754/index.js +0 -7
- package/dist/node_modules/inherits/inherits_browser.js +0 -6
- package/dist/node_modules/is-arguments/index.js +0 -6
- package/dist/node_modules/is-callable/index.js +0 -6
- package/dist/node_modules/is-generator-function/index.js +0 -6
- package/dist/node_modules/is-typed-array/index.js +0 -6
- package/dist/node_modules/set-function-length/index.js +0 -6
- package/dist/node_modules/url/node_modules/punycode/punycode.js +0 -7
- package/dist/node_modules/url/url.js +0 -6
- package/dist/node_modules/util/support/isBufferBrowser.js +0 -6
- package/dist/node_modules/util/support/types.js +0 -6
- package/dist/node_modules/util/util.js +0 -6
- package/dist/node_modules/uuid/dist/esm-browser/native.js +0 -6
- package/dist/node_modules/uuid/dist/esm-browser/rng.js +0 -6
- package/dist/node_modules/uuid/dist/esm-browser/stringify.js +0 -6
- package/dist/node_modules/uuid/dist/esm-browser/v4.js +0 -6
- package/dist/node_modules/which-typed-array/index.js +0 -6
- package/dist/types/app/checkout/layout.d.ts +0 -4
- package/dist/types/app/checkout/page.d.ts +0 -3
- package/dist/types/app/layout.d.ts +0 -8
- package/dist/types/app/page.d.ts +0 -2
- package/dist/types/components/e-commerce/cart/CartWidgetOld.d.ts +0 -9
- package/next-env.d.ts +0 -5
- package/next.config.js +0 -18
- package/public/AMH/BulletSVG.svg +0 -9
- package/public/AMH/desktop_wallpaper@0.25x.png +0 -0
- package/public/Logo.svg +0 -6
- package/public/favicon.ico +0 -0
- package/public/index.html +0 -43
- package/public/logo.png +0 -0
- package/public/logo_decorated.png +0 -0
- package/public/logo_text.png +0 -0
- package/public/logo_thick.png +0 -0
- package/public/manifest.json +0 -25
- package/public/placeholders/fullscreen_1920X1080.png +0 -0
- package/public/placeholders/highres_2400X1600.png +0 -0
- package/public/placeholders/large_1200X800.png +0 -0
- package/public/placeholders/medium_600X400.png +0 -0
- package/public/placeholders/small_300X200.png +0 -0
- package/public/placeholders/thumbnail_100X100.png +0 -0
- package/public/robots.txt +0 -3
- package/readme.MD +0 -0
- package/rollup.config copy.mjs +0 -80
- package/src/app/checkout/layout.tsx +0 -28
- package/src/app/checkout/page.tsx +0 -9
- package/src/app/layout.tsx +0 -16
- package/src/app/page.tsx +0 -38
- package/src/stories/ContactForm.stories.js +0 -13
- package/src/stories/FeatureSection.stories.js +0 -86
- package/src/stories/FluidBackground.stories.js +0 -29
- package/src/stories/Footer.stories.js +0 -130
- package/src/stories/HeroSection.stories.js +0 -101
- package/src/stories/LogoutButton.stories.js +0 -15
- package/src/stories/Page.stories.js +0 -536
- package/src/stories/PageBuilder.stories.js +0 -396
- package/src/stories/RegisterForm.stories.js +0 -13
- package/src/stories/ScrollNavbar.stories.js +0 -121
- package/src/stories/SideNav.stories.js +0 -47
- package/src/stories/SigninForm.stories.js +0 -13
- package/src/stories/StrapiImage.stories.js +0 -23
- package/src/stories/TextImageSection.stories.js +0 -73
- package/src/stories/WebsitePlaceholder.stories.js +0 -178
- package/src/stories/WhatsAppClickToChatButton.stories.js +0 -69
- package/src/stories/styles.css +0 -39
- package/tailwind.config.ts +0 -80
|
@@ -1,73 +0,0 @@
|
|
|
1
|
-
import { TextImageSection } from "../components/page-elements/TextImageSection";
|
|
2
|
-
import React from "react";
|
|
3
|
-
|
|
4
|
-
export default {
|
|
5
|
-
title: "UMWD/TextImageSection",
|
|
6
|
-
component: TextImageSection,
|
|
7
|
-
// argTypes: { numberOfChildren: { type: "number" } },
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
const Template = ({ ...args }) => <TextImageSection data={args} />;
|
|
11
|
-
|
|
12
|
-
export const HelloWorld = Template.bind({});
|
|
13
|
-
|
|
14
|
-
HelloWorld.args = {
|
|
15
|
-
title: "Hello World",
|
|
16
|
-
image: {
|
|
17
|
-
url: "https://via.placeholder.com/850",
|
|
18
|
-
width: 850,
|
|
19
|
-
height: 850,
|
|
20
|
-
alt: "Hello World",
|
|
21
|
-
},
|
|
22
|
-
text: "## Hello World \n **Hello World,** a timeless greeting that transcends boundaries and encapsulates the essence of connectivity in the digital age. From the humble beginnings of computer programming to the interconnected web of today, Hello World stands as the inaugural utterance in the realm of coding. *Hello World,* a phrase that marks the inception of countless software projects, introducing developers to the syntax and structure of a programming language. It symbolizes the first step into a world of algorithms, data structures, and creative problem-solving. Beyond its technical significance, it embodies the spirit of initiation and the commencement of a journey into the vast landscape of software development. <br /> <br /> *Hello World,* a greeting echoed by computer science enthusiasts worldwide, reflecting the universality of technology and the shared experience of navigating the intricacies of code. It bridges the gap between novices and seasoned programmers, serving as a common ground where knowledge is exchanged, challenges are discussed, and innovations are born. <br /> <br /> In a broader context, *Hello World* extends beyond the confines of programming. It serves as a metaphor for embracing new beginnings, fostering connections, and acknowledging the vastness of our global community. In a world increasingly shaped by technology, this simple greeting remains a symbol of the interconnectedness that defines our modern existence.",
|
|
23
|
-
reverse: false,
|
|
24
|
-
};
|
|
25
|
-
|
|
26
|
-
export const HelloMars = Template.bind({});
|
|
27
|
-
|
|
28
|
-
HelloMars.args = {
|
|
29
|
-
title: "Hello Mars",
|
|
30
|
-
image: {
|
|
31
|
-
url: "https://via.placeholder.com/1200",
|
|
32
|
-
width: 600,
|
|
33
|
-
height: 600,
|
|
34
|
-
alt: "Hello Mars",
|
|
35
|
-
},
|
|
36
|
-
text: "**Hello Mars,** \n a distant red planet that has captured the imagination of humanity for centuries. As we gaze upon your mysterious surface from Earth, we can't help but wonder about the secrets you hold. Hello to the vast landscapes of rust-colored terrain, the towering volcanoes, and the enigmatic canyons that weave across your surface. *Hello Mars,* a planet that has been the focus of numerous space missions, each one aiming to unveil the mysteries of your past and present. From the iconic rovers tirelessly traversing your rocky landscapes to the orbiters capturing breathtaking images from above, we extend our greetings to the scientific endeavors that seek to understand your geology, climate, and potential for life. <br /> <br /> *Hello Mars,* a beacon of human exploration and curiosity. The dreams of setting foot on your soil have fueled the aspirations of generations, and with each technological leap, the possibility of humans visiting you becomes more tangible. The prospect of a human settlement on Mars brings excitement, challenges, and the promise of a new chapter in our interplanetary journey. <br /> <br /> *Hello Mars,* a testament to the indomitable human spirit that constantly seeks to push the boundaries of what is possible. As we continue to study, explore, and dream about the mysteries you hold, we are reminded of the vastness of the cosmos and the endless opportunities for discovery that lie beyond our home planet.",
|
|
37
|
-
reverse: true,
|
|
38
|
-
};
|
|
39
|
-
|
|
40
|
-
export const NoTitle = Template.bind({});
|
|
41
|
-
|
|
42
|
-
NoTitle.args = {
|
|
43
|
-
image: {
|
|
44
|
-
url: "https://via.placeholder.com/150",
|
|
45
|
-
width: 150,
|
|
46
|
-
height: 150,
|
|
47
|
-
alt: "Hello Mars",
|
|
48
|
-
},
|
|
49
|
-
text: "**Hello Mars,** \n a distant red planet that has captured the imagination of humanity for centuries. As we gaze upon your mysterious surface from Earth, we can't help but wonder about the secrets you hold. Hello to the vast landscapes of rust-colored terrain, the towering volcanoes, and the enigmatic canyons that weave across your surface. <br /> <br /> *Hello Mars,* a planet that has been the focus of numerous space missions, each one aiming to unveil the mysteries of your past and present. From the iconic rovers tirelessly traversing your rocky landscapes to the orbiters capturing breathtaking images from above, we extend our greetings to the scientific endeavors that seek to understand your geology, climate, and potential for life. <br /> <br /> *Hello Mars,* a beacon of human exploration and curiosity. The dreams of setting foot on your soil have fueled the aspirations of generations, and with each technological leap, the possibility of humans visiting you becomes more tangible. The prospect of a human settlement on Mars brings excitement, challenges, and the promise of a new chapter in our interplanetary journey. <br /> <br /> *Hello Mars,* a testament to the indomitable human spirit that constantly seeks to push the boundaries of what is possible. As we continue to study, explore, and dream about the mysteries you hold, we are reminded of the vastness of the cosmos and the endless opportunities for discovery that lie beyond our home planet.",
|
|
50
|
-
reverse: false,
|
|
51
|
-
maxWidth: "md",
|
|
52
|
-
};
|
|
53
|
-
|
|
54
|
-
export const NoImage = Template.bind({});
|
|
55
|
-
|
|
56
|
-
NoImage.args = {
|
|
57
|
-
title: "Hello Mars",
|
|
58
|
-
text: "## Hello Mars \n **Hello Mars,** a distant red planet that has captured the imagination of humanity for centuries. As we gaze upon your mysterious surface from Earth, we can't help but wonder about the secrets you hold. Hello to the vast landscapes of rust-colored terrain, the towering volcanoes, and the enigmatic canyons that weave across your surface. <br /> <br /> *Hello Mars,* a planet that has been the focus of numerous space missions, each one aiming to unveil the mysteries of your past and present. From the iconic rovers tirelessly traversing your rocky landscapes to the orbiters capturing breathtaking images from above, we extend our greetings to the scientific endeavors that seek to understand your geology, climate, and potential for life. <br /> <br /> *Hello Mars,* a beacon of human exploration and curiosity. The dreams of setting foot on your soil have fueled the aspirations of generations, and with each technological leap, the possibility of humans visiting you becomes more tangible. The prospect of a human settlement on Mars brings excitement, challenges, and the promise of a new chapter in our interplanetary journey. <br /> <br /> *Hello Mars,* a testament to the indomitable human spirit that constantly seeks to push the boundaries of what is possible. As we continue to study, explore, and dream about the mysteries you hold, we are reminded of the vastness of the cosmos and the endless opportunities for discovery that lie beyond our home planet.",
|
|
59
|
-
reverse: false,
|
|
60
|
-
};
|
|
61
|
-
|
|
62
|
-
export const NoText = Template.bind({});
|
|
63
|
-
|
|
64
|
-
NoText.args = {
|
|
65
|
-
title: "Hello Mars",
|
|
66
|
-
image: {
|
|
67
|
-
url: "https://via.placeholder.com/150",
|
|
68
|
-
width: 150,
|
|
69
|
-
height: 150,
|
|
70
|
-
alt: "Hello Mars",
|
|
71
|
-
},
|
|
72
|
-
reverse: true,
|
|
73
|
-
};
|
|
@@ -1,178 +0,0 @@
|
|
|
1
|
-
import WebsitePlaceholder from "../components/WebsitePlaceholder";
|
|
2
|
-
import React from "react";
|
|
3
|
-
import { Box } from "@mui/material";
|
|
4
|
-
|
|
5
|
-
export default {
|
|
6
|
-
title: "UMWD/WebsitePlaceholder",
|
|
7
|
-
component: WebsitePlaceholder,
|
|
8
|
-
};
|
|
9
|
-
|
|
10
|
-
const Template = ({
|
|
11
|
-
title,
|
|
12
|
-
announcement,
|
|
13
|
-
logo,
|
|
14
|
-
lmBackgroundUrl,
|
|
15
|
-
dmBackgroundUrl,
|
|
16
|
-
...args
|
|
17
|
-
}) => {
|
|
18
|
-
return (
|
|
19
|
-
<>
|
|
20
|
-
<WebsitePlaceholder
|
|
21
|
-
title={title}
|
|
22
|
-
announcement={announcement}
|
|
23
|
-
logo={logo}
|
|
24
|
-
lmBackgroundUrl={lmBackgroundUrl}
|
|
25
|
-
dmBackgroundUrl={dmBackgroundUrl}
|
|
26
|
-
>
|
|
27
|
-
<Box sx={{ height: "300px" }}>
|
|
28
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
|
|
29
|
-
eiusmod tempor incididunt ut labore et dolore magna aliqua. Convallis
|
|
30
|
-
posuere morbi leo urna. Convallis aenean et tortor at risus viverra
|
|
31
|
-
adipiscing at in. Neque gravida in fermentum et sollicitudin ac orci
|
|
32
|
-
phasellus. Lobortis scelerisque fermentum dui faucibus. Ultricies
|
|
33
|
-
tristique nulla aliquet enim tortor at auctor urna nunc. Ornare massa
|
|
34
|
-
eget egestas purus viverra accumsan in nisl nisi. Sit amet commodo
|
|
35
|
-
nulla facilisi nullam vehicula ipsum. Risus viverra adipiscing at in.
|
|
36
|
-
Vulputate eu scelerisque felis imperdiet proin fermentum leo. Elit
|
|
37
|
-
eget gravida cum sociis natoque. Orci phasellus egestas tellus rutrum
|
|
38
|
-
tellus pellentesque. Pellentesque habitant morbi tristique senectus et
|
|
39
|
-
netus et malesuada. Phasellus faucibus scelerisque eleifend donec
|
|
40
|
-
pretium vulputate sapien nec. Fringilla est ullamcorper eget nulla
|
|
41
|
-
facilisi etiam dignissim diam quis. Diam quam nulla porttitor massa id
|
|
42
|
-
neque aliquam vestibulum. Varius duis at consectetur lorem donec.
|
|
43
|
-
Blandit libero volutpat sed cras ornare arcu. Lorem ipsum dolor sit
|
|
44
|
-
amet consectetur adipiscing elit. Convallis tellus id interdum velit
|
|
45
|
-
laoreet.
|
|
46
|
-
</Box>
|
|
47
|
-
<Box sx={{ height: "300px" }}>
|
|
48
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
|
|
49
|
-
eiusmod tempor incididunt ut labore et dolore magna aliqua. Convallis
|
|
50
|
-
posuere morbi leo urna. Convallis aenean et tortor at risus viverra
|
|
51
|
-
adipiscing at in. Neque gravida in fermentum et sollicitudin ac orci
|
|
52
|
-
phasellus. Lobortis scelerisque fermentum dui faucibus. Ultricies
|
|
53
|
-
tristique nulla aliquet enim tortor at auctor urna nunc. Ornare massa
|
|
54
|
-
eget egestas purus viverra accumsan in nisl nisi. Sit amet commodo
|
|
55
|
-
nulla facilisi nullam vehicula ipsum. Risus viverra adipiscing at in.
|
|
56
|
-
Vulputate eu scelerisque felis imperdiet proin fermentum leo. Elit
|
|
57
|
-
eget gravida cum sociis natoque. Orci phasellus egestas tellus rutrum
|
|
58
|
-
tellus pellentesque. Pellentesque habitant morbi tristique senectus et
|
|
59
|
-
netus et malesuada. Phasellus faucibus scelerisque eleifend donec
|
|
60
|
-
pretium vulputate sapien nec. Fringilla est ullamcorper eget nulla
|
|
61
|
-
facilisi etiam dignissim diam quis. Diam quam nulla porttitor massa id
|
|
62
|
-
neque aliquam vestibulum. Varius duis at consectetur lorem donec.
|
|
63
|
-
Blandit libero volutpat sed cras ornare arcu. Lorem ipsum dolor sit
|
|
64
|
-
amet consectetur adipiscing elit. Convallis tellus id interdum velit
|
|
65
|
-
laoreet.
|
|
66
|
-
</Box>
|
|
67
|
-
<Box sx={{ height: "300px" }}>
|
|
68
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
|
|
69
|
-
eiusmod tempor incididunt ut labore et dolore magna aliqua. Convallis
|
|
70
|
-
posuere morbi leo urna. Convallis aenean et tortor at risus viverra
|
|
71
|
-
adipiscing at in. Neque gravida in fermentum et sollicitudin ac orci
|
|
72
|
-
phasellus. Lobortis scelerisque fermentum dui faucibus. Ultricies
|
|
73
|
-
tristique nulla aliquet enim tortor at auctor urna nunc. Ornare massa
|
|
74
|
-
eget egestas purus viverra accumsan in nisl nisi. Sit amet commodo
|
|
75
|
-
nulla facilisi nullam vehicula ipsum. Risus viverra adipiscing at in.
|
|
76
|
-
Vulputate eu scelerisque felis imperdiet proin fermentum leo. Elit
|
|
77
|
-
eget gravida cum sociis natoque. Orci phasellus egestas tellus rutrum
|
|
78
|
-
tellus pellentesque. Pellentesque habitant morbi tristique senectus et
|
|
79
|
-
netus et malesuada. Phasellus faucibus scelerisque eleifend donec
|
|
80
|
-
pretium vulputate sapien nec. Fringilla est ullamcorper eget nulla
|
|
81
|
-
facilisi etiam dignissim diam quis. Diam quam nulla porttitor massa id
|
|
82
|
-
neque aliquam vestibulum. Varius duis at consectetur lorem donec.
|
|
83
|
-
Blandit libero volutpat sed cras ornare arcu. Lorem ipsum dolor sit
|
|
84
|
-
amet consectetur adipiscing elit. Convallis tellus id interdum velit
|
|
85
|
-
laoreet.
|
|
86
|
-
</Box>
|
|
87
|
-
<Box sx={{ height: "300px" }}>
|
|
88
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
|
|
89
|
-
eiusmod tempor incididunt ut labore et dolore magna aliqua. Convallis
|
|
90
|
-
posuere morbi leo urna. Convallis aenean et tortor at risus viverra
|
|
91
|
-
adipiscing at in. Neque gravida in fermentum et sollicitudin ac orci
|
|
92
|
-
phasellus. Lobortis scelerisque fermentum dui faucibus. Ultricies
|
|
93
|
-
tristique nulla aliquet enim tortor at auctor urna nunc. Ornare massa
|
|
94
|
-
eget egestas purus viverra accumsan in nisl nisi. Sit amet commodo
|
|
95
|
-
nulla facilisi nullam vehicula ipsum. Risus viverra adipiscing at in.
|
|
96
|
-
Vulputate eu scelerisque felis imperdiet proin fermentum leo. Elit
|
|
97
|
-
eget gravida cum sociis natoque. Orci phasellus egestas tellus rutrum
|
|
98
|
-
tellus pellentesque. Pellentesque habitant morbi tristique senectus et
|
|
99
|
-
netus et malesuada. Phasellus faucibus scelerisque eleifend donec
|
|
100
|
-
pretium vulputate sapien nec. Fringilla est ullamcorper eget nulla
|
|
101
|
-
facilisi etiam dignissim diam quis. Diam quam nulla porttitor massa id
|
|
102
|
-
neque aliquam vestibulum. Varius duis at consectetur lorem donec.
|
|
103
|
-
Blandit libero volutpat sed cras ornare arcu. Lorem ipsum dolor sit
|
|
104
|
-
amet consectetur adipiscing elit. Convallis tellus id interdum velit
|
|
105
|
-
laoreet.
|
|
106
|
-
</Box>
|
|
107
|
-
<Box sx={{ height: "300px" }}>
|
|
108
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
|
|
109
|
-
eiusmod tempor incididunt ut labore et dolore magna aliqua. Convallis
|
|
110
|
-
posuere morbi leo urna. Convallis aenean et tortor at risus viverra
|
|
111
|
-
adipiscing at in. Neque gravida in fermentum et sollicitudin ac orci
|
|
112
|
-
phasellus. Lobortis scelerisque fermentum dui faucibus. Ultricies
|
|
113
|
-
tristique nulla aliquet enim tortor at auctor urna nunc. Ornare massa
|
|
114
|
-
eget egestas purus viverra accumsan in nisl nisi. Sit amet commodo
|
|
115
|
-
nulla facilisi nullam vehicula ipsum. Risus viverra adipiscing at in.
|
|
116
|
-
Vulputate eu scelerisque felis imperdiet proin fermentum leo. Elit
|
|
117
|
-
eget gravida cum sociis natoque. Orci phasellus egestas tellus rutrum
|
|
118
|
-
tellus pellentesque. Pellentesque habitant morbi tristique senectus et
|
|
119
|
-
netus et malesuada. Phasellus faucibus scelerisque eleifend donec
|
|
120
|
-
pretium vulputate sapien nec. Fringilla est ullamcorper eget nulla
|
|
121
|
-
facilisi etiam dignissim diam quis. Diam quam nulla porttitor massa id
|
|
122
|
-
neque aliquam vestibulum. Varius duis at consectetur lorem donec.
|
|
123
|
-
Blandit libero volutpat sed cras ornare arcu. Lorem ipsum dolor sit
|
|
124
|
-
amet consectetur adipiscing elit. Convallis tellus id interdum velit
|
|
125
|
-
laoreet.
|
|
126
|
-
</Box>
|
|
127
|
-
<Box sx={{ height: "300px" }}>
|
|
128
|
-
Lorem ipsum dolor sit amet, consectetur adipiscing elit, sed do
|
|
129
|
-
eiusmod tempor incididunt ut labore et dolore magna aliqua. Convallis
|
|
130
|
-
posuere morbi leo urna. Convallis aenean et tortor at risus viverra
|
|
131
|
-
adipiscing at in. Neque gravida in fermentum et sollicitudin ac orci
|
|
132
|
-
phasellus. Lobortis scelerisque fermentum dui faucibus. Ultricies
|
|
133
|
-
tristique nulla aliquet enim tortor at auctor urna nunc. Ornare massa
|
|
134
|
-
eget egestas purus viverra accumsan in nisl nisi. Sit amet commodo
|
|
135
|
-
nulla facilisi nullam vehicula ipsum. Risus viverra adipiscing at in.
|
|
136
|
-
Vulputate eu scelerisque felis imperdiet proin fermentum leo. Elit
|
|
137
|
-
eget gravida cum sociis natoque. Orci phasellus egestas tellus rutrum
|
|
138
|
-
tellus pellentesque. Pellentesque habitant morbi tristique senectus et
|
|
139
|
-
netus et malesuada. Phasellus faucibus scelerisque eleifend donec
|
|
140
|
-
pretium vulputate sapien nec. Fringilla est ullamcorper eget nulla
|
|
141
|
-
facilisi etiam dignissim diam quis. Diam quam nulla porttitor massa id
|
|
142
|
-
neque aliquam vestibulum. Varius duis at consectetur lorem donec.
|
|
143
|
-
Blandit libero volutpat sed cras ornare arcu. Lorem ipsum dolor sit
|
|
144
|
-
amet consectetur adipiscing elit. Convallis tellus id interdum velit
|
|
145
|
-
laoreet.
|
|
146
|
-
</Box>
|
|
147
|
-
</WebsitePlaceholder>
|
|
148
|
-
</>
|
|
149
|
-
);
|
|
150
|
-
};
|
|
151
|
-
|
|
152
|
-
export const HelloWorld = Template.bind({});
|
|
153
|
-
|
|
154
|
-
export const HelloMars = Template.bind({});
|
|
155
|
-
|
|
156
|
-
HelloWorld.args = {
|
|
157
|
-
title: "A New Website Near You!",
|
|
158
|
-
logo: {
|
|
159
|
-
url: "https://via.placeholder.com/850",
|
|
160
|
-
width: 850,
|
|
161
|
-
height: 850,
|
|
162
|
-
alt: "Hello World",
|
|
163
|
-
},
|
|
164
|
-
announcement: "Coming Soon!",
|
|
165
|
-
lmBackgroundUrl: "https://via.placeholder.com/1920x1080",
|
|
166
|
-
dmBackgroundUrl: "https://via.placeholder.com/1920x1080",
|
|
167
|
-
};
|
|
168
|
-
|
|
169
|
-
HelloMars.args = {
|
|
170
|
-
title: "A Martian Near You!",
|
|
171
|
-
logo: {
|
|
172
|
-
url: "https://via.placeholder.com/850",
|
|
173
|
-
alt: "Hello Mars",
|
|
174
|
-
},
|
|
175
|
-
announcement: "In cinama's this summer!",
|
|
176
|
-
lmBackgroundUrl: "https://via.placeholder.com/1920x1080",
|
|
177
|
-
dmBackgroundUrl: "https://via.placeholder.com/1920x1080",
|
|
178
|
-
};
|
|
@@ -1,69 +0,0 @@
|
|
|
1
|
-
import React from "react";
|
|
2
|
-
import WhatsAppClickToChatButton from "../components/WhatsAppClickToChatButton";
|
|
3
|
-
|
|
4
|
-
export default {
|
|
5
|
-
title: "UMWD/WhatsAppClickToChatButton",
|
|
6
|
-
component: WhatsAppClickToChatButton,
|
|
7
|
-
};
|
|
8
|
-
|
|
9
|
-
const Template = ({ ...args }) => {
|
|
10
|
-
return <WhatsAppClickToChatButton {...args} />;
|
|
11
|
-
};
|
|
12
|
-
|
|
13
|
-
export const Round = Template.bind({});
|
|
14
|
-
|
|
15
|
-
Round.args = {
|
|
16
|
-
data: {
|
|
17
|
-
phoneNumber: "+1234567890",
|
|
18
|
-
message: "Hello, how can I help you?",
|
|
19
|
-
color: "#25D366",
|
|
20
|
-
round: true,
|
|
21
|
-
sx: {
|
|
22
|
-
position: "fixed",
|
|
23
|
-
bottom: "20px",
|
|
24
|
-
right: "20px",
|
|
25
|
-
zIndex: 1000,
|
|
26
|
-
width: "40px",
|
|
27
|
-
height: "40px",
|
|
28
|
-
},
|
|
29
|
-
},
|
|
30
|
-
};
|
|
31
|
-
|
|
32
|
-
export const WithText = Template.bind({});
|
|
33
|
-
|
|
34
|
-
WithText.args = {
|
|
35
|
-
data: {
|
|
36
|
-
phoneNumber: "+1234567890",
|
|
37
|
-
message: "Hello, how can I help you?",
|
|
38
|
-
color: "red",
|
|
39
|
-
round: false,
|
|
40
|
-
sx: {
|
|
41
|
-
position: "fixed",
|
|
42
|
-
bottom: "20px",
|
|
43
|
-
right: "20px",
|
|
44
|
-
},
|
|
45
|
-
},
|
|
46
|
-
};
|
|
47
|
-
|
|
48
|
-
export const SX = Template.bind({});
|
|
49
|
-
|
|
50
|
-
SX.args = {
|
|
51
|
-
data: {
|
|
52
|
-
phoneNumber: "+1234567890",
|
|
53
|
-
message: "Hello, how can I help you?",
|
|
54
|
-
color: "red",
|
|
55
|
-
round: true,
|
|
56
|
-
sx: {
|
|
57
|
-
position: "fixed",
|
|
58
|
-
bottom: "20px",
|
|
59
|
-
right: "20px",
|
|
60
|
-
zIndex: 1000,
|
|
61
|
-
width: "70px",
|
|
62
|
-
height: "70px",
|
|
63
|
-
".MuiSvgIcon-root": {
|
|
64
|
-
width: "40px",
|
|
65
|
-
height: "40px",
|
|
66
|
-
},
|
|
67
|
-
},
|
|
68
|
-
},
|
|
69
|
-
};
|
package/src/stories/styles.css
DELETED
|
@@ -1,39 +0,0 @@
|
|
|
1
|
-
body {
|
|
2
|
-
padding: 0;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.form {
|
|
6
|
-
width: 500px;
|
|
7
|
-
padding: 25px;
|
|
8
|
-
border-radius: 5px;
|
|
9
|
-
padding-bottom: 50px;
|
|
10
|
-
box-shadow: 0px 0px 5px gray;
|
|
11
|
-
}
|
|
12
|
-
.form input {
|
|
13
|
-
width: 100%;
|
|
14
|
-
border: none;
|
|
15
|
-
padding: 8px;
|
|
16
|
-
outline: none;
|
|
17
|
-
margin-top: 25px;
|
|
18
|
-
border-radius: 5px;
|
|
19
|
-
box-sizing: border-box;
|
|
20
|
-
box-shadow: 0px 0px 3px gray;
|
|
21
|
-
}
|
|
22
|
-
.form button {
|
|
23
|
-
width: 100%;
|
|
24
|
-
padding: 8px;
|
|
25
|
-
border: none;
|
|
26
|
-
outline: none;
|
|
27
|
-
color: white;
|
|
28
|
-
margin-top: 25px;
|
|
29
|
-
border-radius: 5px;
|
|
30
|
-
box-sizing: border-box;
|
|
31
|
-
background-color: rgb(65, 65, 201);
|
|
32
|
-
}
|
|
33
|
-
.form button:disabled {
|
|
34
|
-
cursor: not-allowed;
|
|
35
|
-
background-color: lightgray;
|
|
36
|
-
}
|
|
37
|
-
.form h1 {
|
|
38
|
-
font-family: sans-serif;
|
|
39
|
-
}
|
package/tailwind.config.ts
DELETED
|
@@ -1,80 +0,0 @@
|
|
|
1
|
-
import type { Config } from "tailwindcss"
|
|
2
|
-
|
|
3
|
-
const config = {
|
|
4
|
-
darkMode: ["class"],
|
|
5
|
-
content: [
|
|
6
|
-
'./pages/**/*.{ts,tsx}',
|
|
7
|
-
'./components/**/*.{ts,tsx}',
|
|
8
|
-
'./app/**/*.{ts,tsx}',
|
|
9
|
-
'./src/**/*.{ts,tsx}',
|
|
10
|
-
],
|
|
11
|
-
prefix: "",
|
|
12
|
-
theme: {
|
|
13
|
-
container: {
|
|
14
|
-
center: true,
|
|
15
|
-
padding: "2rem",
|
|
16
|
-
screens: {
|
|
17
|
-
"2xl": "1400px",
|
|
18
|
-
},
|
|
19
|
-
},
|
|
20
|
-
extend: {
|
|
21
|
-
colors: {
|
|
22
|
-
border: "hsl(var(--border))",
|
|
23
|
-
input: "hsl(var(--input))",
|
|
24
|
-
ring: "hsl(var(--ring))",
|
|
25
|
-
background: "hsl(var(--background))",
|
|
26
|
-
foreground: "hsl(var(--foreground))",
|
|
27
|
-
primary: {
|
|
28
|
-
DEFAULT: "hsl(var(--primary))",
|
|
29
|
-
foreground: "hsl(var(--primary-foreground))",
|
|
30
|
-
},
|
|
31
|
-
secondary: {
|
|
32
|
-
DEFAULT: "hsl(var(--secondary))",
|
|
33
|
-
foreground: "hsl(var(--secondary-foreground))",
|
|
34
|
-
},
|
|
35
|
-
destructive: {
|
|
36
|
-
DEFAULT: "hsl(var(--destructive))",
|
|
37
|
-
foreground: "hsl(var(--destructive-foreground))",
|
|
38
|
-
},
|
|
39
|
-
muted: {
|
|
40
|
-
DEFAULT: "hsl(var(--muted))",
|
|
41
|
-
foreground: "hsl(var(--muted-foreground))",
|
|
42
|
-
},
|
|
43
|
-
accent: {
|
|
44
|
-
DEFAULT: "hsl(var(--accent))",
|
|
45
|
-
foreground: "hsl(var(--accent-foreground))",
|
|
46
|
-
},
|
|
47
|
-
popover: {
|
|
48
|
-
DEFAULT: "hsl(var(--popover))",
|
|
49
|
-
foreground: "hsl(var(--popover-foreground))",
|
|
50
|
-
},
|
|
51
|
-
card: {
|
|
52
|
-
DEFAULT: "hsl(var(--card))",
|
|
53
|
-
foreground: "hsl(var(--card-foreground))",
|
|
54
|
-
},
|
|
55
|
-
},
|
|
56
|
-
borderRadius: {
|
|
57
|
-
lg: "var(--radius)",
|
|
58
|
-
md: "calc(var(--radius) - 2px)",
|
|
59
|
-
sm: "calc(var(--radius) - 4px)",
|
|
60
|
-
},
|
|
61
|
-
keyframes: {
|
|
62
|
-
"accordion-down": {
|
|
63
|
-
from: { height: "0" },
|
|
64
|
-
to: { height: "var(--radix-accordion-content-height)" },
|
|
65
|
-
},
|
|
66
|
-
"accordion-up": {
|
|
67
|
-
from: { height: "var(--radix-accordion-content-height)" },
|
|
68
|
-
to: { height: "0" },
|
|
69
|
-
},
|
|
70
|
-
},
|
|
71
|
-
animation: {
|
|
72
|
-
"accordion-down": "accordion-down 0.2s ease-out",
|
|
73
|
-
"accordion-up": "accordion-up 0.2s ease-out",
|
|
74
|
-
},
|
|
75
|
-
},
|
|
76
|
-
},
|
|
77
|
-
plugins: [require("tailwindcss-animate")],
|
|
78
|
-
} satisfies Config
|
|
79
|
-
|
|
80
|
-
export default config
|