Skip to content

v1.0.0

Latest

Choose a tag to compare

@github-actions github-actions released this 03 Dec 22:24
Immutable release. Only release title and notes can be modified.
f58e579

The first release: the React pages of the ecommerce storefront on Inertia, matching ecommerce-storefront-livewire 2.0.0 element for element. Use it with artisanpack-ui/ecommerce-storefront-inertia and @artisanpack-ui/ecommerce-storefront-core 1.0.1 or later.

Added

  • The package (#1): resolveEcommerceStorefrontPage(), createEcommerceStorefrontResolver({ fallback }), PAGES, the client registries handed to ap.ecommerceStorefront.register, the ap.ecommerceStorefront.pageProps and toast filters, ESM-only builds with a chunk per page, and the version lock-step with -core (scripts/check-versions.mjs).
  • The storefront layout and shared components (#2): storefrontLayout and checkoutLayout, the header actions, search, footer, currency switcher and toaster, the shared ec-* components, useStorefront() and the other page hooks, and registerStorefrontIcons().
  • The catalog, category, tag and search pages (#3), with filters, sorting, paging, quick add and header search suggestions.
  • The product page (#4): the gallery, summary, details, the simple, variable, grouped, bundled, digital and options purchase forms, reviews, related and recently viewed products and the sold-out notice, through the productForms, productSections and addToCartActions registries.
  • The cart page, the cart drawer and the cart-merge prompt (#5), with undo, coupons, shipping estimates and the cartSections registry.
  • Checkout (#6) in the multi-step and single-page layouts, with the payment-driver contract (usePaymentDriver(), PaymentDriverHost), the redirect driver and Stripe's Payment Element.
  • The order confirmation, guest order lookup and order pages (#7), and the customer account (#8): dashboard, orders, addresses, downloads, profile and claiming guest orders.
  • The visual-editor commerce blocks and templates (#9): the 12 blocks, their islands (props always fetched from the blocks.props route), templates and StorefrontBlockRoot for pages Inertia didn't render.
  • Server-side rendering (#10) on Inertia 2 and 3, with the storefront's SEO head tags.
  • npm run i18n:check (#12), run in CI: every __() and trans_choice() key in src/ must be in the nine catalogs of the matching ecommerce-storefront-inertia release.
  • The documentation (#13), written to the org docs standard: installation, the entry and resolver, SSR, usage, every component with its props, the client registries, icons, payment drivers, the visual-editor blocks, testing and a complete reference of functions, types and hooks.