@tapcart/mobile-components 0.6.21 → 0.6.22

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.
@@ -14,6 +14,6 @@ function Price({ price, priceHigh, priceRanges = false, isSale = false, compareA
14
14
  return null;
15
15
  return (_jsxs(Text, Object.assign({ className: "line-through text-textColors-strikethroughPriceText flex-shrink-0 flex items-center", style: { fontSize: `${fontSize}px` } }, { children: [_jsx(Money, { price: compareAtPrice, currency: currency, locale: locale, styles: strikeThroughStyles }), priceRanges && compareAtPriceHigh && _jsx(Spacer, {}), priceRanges && compareAtPriceHigh && (_jsx(Money, { price: compareAtPriceHigh, currency: currency, locale: locale, styles: strikeThroughStyles }))] })));
16
16
  };
17
- return (_jsxs("div", Object.assign({ className: cn("flex flex-wrap gap-2", { "justify-start": textAlignment === "left" }, { "justify-end": textAlignment === "right" }, { "justify-center": textAlignment === "center" }) }, { children: [_jsx(ProductPrice, {}), _jsx(StrikeThroughPrice, {})] })));
17
+ return (_jsxs("div", Object.assign({ className: cn("flex flex-wrap gap-x-2", { "justify-start": textAlignment === "left" }, { "justify-end": textAlignment === "right" }, { "justify-center": textAlignment === "center" }) }, { children: [_jsx(ProductPrice, {}), _jsx(StrikeThroughPrice, {})] })));
18
18
  }
19
19
  export { Price };
package/dist/styles.css CHANGED
@@ -1414,9 +1414,6 @@ video {
1414
1414
  .whitespace-nowrap {
1415
1415
  white-space: nowrap;
1416
1416
  }
1417
- .break-words {
1418
- overflow-wrap: break-word;
1419
- }
1420
1417
  .rounded {
1421
1418
  border-radius: 0.25rem;
1422
1419
  }
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@tapcart/mobile-components",
3
- "version": "0.6.21",
3
+ "version": "0.6.22",
4
4
  "main": "dist/index.js",
5
5
  "types": "dist/index.d.ts",
6
6
  "style": "dist/styles.css",
@@ -28,8 +28,8 @@
28
28
  "tsc-alias": "^1.8.10",
29
29
  "typescript": "^4.5.2",
30
30
  "app-studio-types": "0.0.3",
31
- "tsconfig": "0.0.0",
32
- "eslint-config-custom": "0.0.0"
31
+ "eslint-config-custom": "0.0.0",
32
+ "tsconfig": "0.0.0"
33
33
  },
34
34
  "dependencies": {
35
35
  "@radix-ui/react-accordion": "^1.1.2",