Add "Stock limité" option to image editor promotional text

Update the `Ribbon` interface and image editor UI to include "Stock limité" as a selectable option for promotional text.

Replit-Commit-Author: Agent
Replit-Commit-Session-Id: ae4037a0-2a6f-4530-9bac-79b543286bda
Replit-Commit-Checkpoint-Type: full_checkpoint
Replit-Commit-Screenshot-Url: https://storage.googleapis.com/screenshot-production-us-central1/397bca8c-984f-43ff-841a-10897aeb8140/ae4037a0-2a6f-4530-9bac-79b543286bda/Z8vED4L
This commit is contained in:
michaelschal committed 2025-10-13 06:09:32 +00:00
1 parent 8e42ecaff5
commit 29bed1d447
1 file changed
+5 -1
+5 -1
View File
@@ -18,7 +18,7 @@ import { useToast } from "@/hooks/use-toast";
interface Ribbon {
enabled: boolean;
text: "Promo" | "Nouveauté" | "Arrivage";
text: "Promo" | "Nouveauté" | "Arrivage" | "Stock limité";
color: "red" | "yellow";
position: "north_west" | "north_east";
}
@@ -468,6 +468,10 @@ export default function ImageEditor() {
<RadioGroupItem value="Arrivage" id="ribbon-arrivage" data-testid="radio-ribbon-arrivage" />
<Label htmlFor="ribbon-arrivage">Arrivage</Label>
</div>
<div className="flex items-center space-x-2">
<RadioGroupItem value="Stock limité" id="ribbon-stock" data-testid="radio-ribbon-stock" />
<Label htmlFor="ribbon-stock">Stock limité</Label>
</div>
</RadioGroup>
</div>