formica-ui-lib 1.0.330 → 1.0.331

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.js CHANGED
@@ -13685,16 +13685,16 @@ var sd = (e, t = [], n = null) => t.map((t) => e[t]).filter((e) => !!e).map((e)
13685
13685
  })]
13686
13686
  })]
13687
13687
  })]
13688
- }), $d = ({ shippingMethodSelectorProps: e, cartPaymentPanelProps: t, checkoutProgressIndicatorProps: n, cartTotalsPanelProps: r }) => /* @__PURE__ */ l("section", {
13688
+ }), $d = ({ requiresPayment: e = !0, shippingMethodSelectorProps: t, cartPaymentPanelProps: n, checkoutProgressIndicatorProps: r, cartTotalsPanelProps: i }) => /* @__PURE__ */ l("section", {
13689
13689
  className: "w-full flex justify-center mt-10 pb-16",
13690
13690
  children: /* @__PURE__ */ u("div", {
13691
13691
  className: "grid w-full max-w-6xl grid-cols-2 gap-8",
13692
- children: [/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l(Gd, { ...e }), /* @__PURE__ */ l("div", {
13692
+ children: [/* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l(Gd, { ...t }), e ? /* @__PURE__ */ l("div", {
13693
13693
  className: "mt-8",
13694
- children: /* @__PURE__ */ l(Qd, { ...t })
13695
- })] }), /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l(Kd, { ...n }), /* @__PURE__ */ l("div", {
13694
+ children: /* @__PURE__ */ l(Qd, { ...n })
13695
+ }) : null] }), /* @__PURE__ */ u("div", { children: [/* @__PURE__ */ l(Kd, { ...r }), /* @__PURE__ */ l("div", {
13696
13696
  className: "mt-8",
13697
- children: /* @__PURE__ */ l(Zd, { ...r })
13697
+ children: /* @__PURE__ */ l(Zd, { ...i })
13698
13698
  })] })]
13699
13699
  })
13700
13700
  }), ef = ({ shippingAddressFormProps: t, billingAddressFormProps: n = {}, checkoutProgressIndicatorProps: r, cartTotalsPanelProps: i, billingSectionTitle: a = "Billing Information", sameAsShipping: o = !0, sameAsShippingLabel: s = "My billing address is the same as my shipping address", onSameAsShippingChange: c }) => {
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "formica-ui-lib",
3
3
  "private": false,
4
- "version": "1.0.330",
4
+ "version": "1.0.331",
5
5
  "main": "dist/index.js",
6
6
  "types": "dist/index.d.ts",
7
7
  "style": "dist/tailwind.css",