@deneb-ui/ui 2.0.98 → 2.0.99
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 +5 -0
- package/package.json +2 -2
package/README.md
CHANGED
|
@@ -637,6 +637,11 @@ export function PromoSection() {
|
|
|
637
637
|
|
|
638
638
|
DENEB UI commerce components natively support both **Single Fixed Prices** and **Dynamic Price Ranges**, as well as apparel clothing options (color swatches with image swapping and size chips).
|
|
639
639
|
|
|
640
|
+
Keep `price`, `compareAtPrice`, `minPrice`, `maxPrice`, and variant prices as
|
|
641
|
+
JSON numbers. Keep `currency` or a currency symbol as separate text. A formatted
|
|
642
|
+
`priceRange` string is display-only; numeric filters and sorting must use the
|
|
643
|
+
numeric amount fields.
|
|
644
|
+
|
|
640
645
|
#### 1. Single Fixed Price
|
|
641
646
|
```tsx
|
|
642
647
|
import { ProductCard } from "@deneb-ui/ui";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@deneb-ui/ui",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.99",
|
|
4
4
|
"description": "Visual-first React component library for editable commerce storefronts. Built for Next.js and Fivora.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -50,7 +50,7 @@
|
|
|
50
50
|
],
|
|
51
51
|
"license": "MIT",
|
|
52
52
|
"dependencies": {
|
|
53
|
-
"@deneb-ui/core": "^2.0.
|
|
53
|
+
"@deneb-ui/core": "^2.0.99"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|
|
56
56
|
"react": "^18.0.0 || ^19.0.0",
|