@shopflowateam/ui 1.0.7 → 1.1.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@shopflowateam/ui",
3
- "version": "1.0.7",
3
+ "version": "1.1.1",
4
4
  "description": "Blank project with routing included",
5
5
  "engines": {
6
6
  "node": "^18.17.0 || ^20.3.0 || >=21.0.0"
package/pkg/index.cjs.js CHANGED
@@ -9,7 +9,7 @@ const formatCurrency = (amountInCents) => {
9
9
  currency: "USD"
10
10
  }).format((amountInCents || 0) / 100);
11
11
  };
12
- const ProductCardQwik = qwik.component$(({ product }) => {
12
+ const ProductCardQwik = qwik.componentQrl(qwik.inlinedQrl(({ product }) => {
13
13
  const formattedPrice = formatCurrency(product.price);
14
14
  return /* @__PURE__ */ jsxRuntime.jsxs("div", {
15
15
  class: "group h-full flex flex-col [container-type:inline-size]",
@@ -57,7 +57,7 @@ const ProductCardQwik = qwik.component$(({ product }) => {
57
57
  })
58
58
  ]
59
59
  });
60
- });
60
+ }, "ProductCard_onRender"));
61
61
  qwikReact.qwikify$(ProductCardQwik, {
62
62
  eagerness: "hover"
63
63
  });
package/pkg/index.es.js CHANGED
@@ -1,5 +1,5 @@
1
1
  import { jsxs, jsx } from "@builder.io/qwik/jsx-runtime";
2
- import { component$ } from "@builder.io/qwik";
2
+ import { componentQrl, inlinedQrl } from "@builder.io/qwik";
3
3
  import { qwikify$ } from "@builder.io/qwik-react";
4
4
  const formatCurrency = (amountInCents) => {
5
5
  return new Intl.NumberFormat("en-US", {
@@ -7,7 +7,7 @@ const formatCurrency = (amountInCents) => {
7
7
  currency: "USD"
8
8
  }).format((amountInCents || 0) / 100);
9
9
  };
10
- const ProductCardQwik = component$(({ product }) => {
10
+ const ProductCardQwik = componentQrl(inlinedQrl(({ product }) => {
11
11
  const formattedPrice = formatCurrency(product.price);
12
12
  return /* @__PURE__ */ jsxs("div", {
13
13
  class: "group h-full flex flex-col [container-type:inline-size]",
@@ -55,7 +55,7 @@ const ProductCardQwik = component$(({ product }) => {
55
55
  })
56
56
  ]
57
57
  });
58
- });
58
+ }, "ProductCard_onRender"));
59
59
  qwikify$(ProductCardQwik, {
60
60
  eagerness: "hover"
61
61
  });
package/pkg/style.css CHANGED
@@ -725,6 +725,10 @@
725
725
  display: none;
726
726
  }
727
727
 
728
+ .inline {
729
+ display: inline;
730
+ }
731
+
728
732
  .inline-block {
729
733
  display: inline-block;
730
734
  }