{
  "definitions": {
    "events": {
      "$ref": "#/definitions/Events",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "definitions": {
        "Events": {
          "additionalProperties": false,
          "type": "object"
        }
      }
    },
    "component": {
      "$ref": "#/definitions/Component",
      "$schema": "http://json-schema.org/draft-07/schema#",
      "definitions": {
        "Component": {
          "additionalProperties": false,
          "properties": {
            "badge": {
              "type": "string"
            },
            "footer": {
              "type": "string"
            },
            "id": {
              "type": "string"
            },
            "img": {
              "type": "string"
            },
            "price": {
              "type": "string"
            },
            "rating": {
              "type": "number"
            },
            "ratingscale": {
              "type": "number"
            },
            "regularprice": {
              "type": "string"
            },
            "reviews": {
              "type": "string"
            },
            "reviewsurl": {
              "type": "string"
            },
            "style": {
              "type": "string"
            },
            "subtitle": {
              "type": "string"
            },
            "text": {
              "type": "string"
            },
            "title": {
              "type": "string"
            },
            "url": {
              "type": "string"
            }
          },
          "required": [
            "img",
            "url",
            "badge",
            "title",
            "subtitle",
            "text",
            "rating",
            "ratingscale",
            "reviews",
            "reviewsurl",
            "price",
            "regularprice",
            "footer"
          ],
          "type": "object"
        }
      }
    }
  },
  "description": "Vertical shop product card: top image with optional badge, then the same body as shop-item-row (title, subtitle, text, stars, reviews, prices, footer) with Bootstrap card styling and matching slots.",
  "storybookArgs": {
    "img": {
      "control": {
        "type": "text"
      }
    },
    "url": {
      "control": {
        "type": "text"
      }
    },
    "badge": {
      "control": {
        "type": "text"
      }
    },
    "title": {
      "control": {
        "type": "text"
      }
    },
    "subtitle": {
      "control": {
        "type": "text"
      }
    },
    "text": {
      "control": {
        "type": "text"
      }
    },
    "rating": {
      "control": {
        "type": "number"
      }
    },
    "ratingscale": {
      "control": {
        "type": "number"
      }
    },
    "reviews": {
      "control": {
        "type": "text"
      }
    },
    "reviewsurl": {
      "control": {
        "type": "text"
      }
    },
    "price": {
      "control": {
        "type": "text"
      }
    },
    "regularprice": {
      "control": {
        "type": "text"
      }
    },
    "footer": {
      "control": {
        "type": "text"
      }
    }
  },
  "styleSetup": {
    "vars": [
      {
        "name": "--bulma-primary",
        "valueType": "color",
        "defaultValue": "#00d1b2",
        "description": "Accent (links, interactive)."
      },
      {
        "name": "--bulma-card-background-color",
        "valueType": "color",
        "defaultValue": "#ffffff",
        "description": "Background fill for the card shell (image area, content, footer)."
      },
      {
        "name": "--bulma-text",
        "valueType": "color",
        "defaultValue": "#363636",
        "description": "Primary text color for titles, body copy, numeric rating, and bold price."
      },
      {
        "name": "--bulma-text-weak",
        "valueType": "color",
        "defaultValue": "#7a7a7a",
        "description": "Subtitle, muted price, reviews link."
      },
      {
        "name": "--bulma-border",
        "valueType": "color",
        "defaultValue": "#dbdbdb",
        "description": "Card frame and image area separators."
      },
      {
        "name": "--bulma-radius",
        "valueType": "number",
        "defaultValue": "0.375rem",
        "description": "Card and image rounding."
      },
      {
        "name": "--bulma-link",
        "valueType": "color",
        "defaultValue": "#485fc7",
        "description": "Linked title and reviews URL color."
      }
    ],
    "parts": []
  },
  "contributors": [],
  "htmlSlots": [
    {
      "name": "badge",
      "description": "Optional label over the product image inside a rounded tag; defaults to the `badge` attribute when the slot is empty."
    },
    {
      "name": "title",
      "description": "Main product name in the card title link; defaults to the `title` attribute when the slot is empty."
    },
    {
      "name": "subtitle",
      "description": "Secondary line under the title (muted); defaults to the `subtitle` attribute when the slot is empty."
    },
    {
      "name": "text",
      "description": "Product description or marketing copy in the card body; defaults to the `text` attribute when the slot is empty."
    },
    {
      "name": "rating",
      "description": "Numeric score shown after the star icons when `rating` is set; defaults to the `rating` attribute as plain text."
    },
    {
      "name": "reviews",
      "description": "Review count or label inside the linked parentheses next to stars; defaults to the `reviews` attribute (link uses `reviewsurl`)."
    },
    {
      "name": "price",
      "description": "Current or sale price (bold, baseline row); defaults to the `price` attribute when the slot is empty."
    },
    {
      "name": "footer",
      "description": "Optional full-width card footer row below content; defaults to the `footer` attribute when the slot is empty."
    },
    {
      "name": "regularprice",
      "description": "List or compare-at price shown struck-through beside `price`; defaults to the `regularprice` attribute when the slot is empty."
    }
  ],
  "i18n": [],
  "examples": [
    {
      "name": "default",
      "data": {
        "img": "",
        "url": "",
        "badge": "",
        "title": "",
        "subtitle": "",
        "text": "",
        "rating": 0,
        "ratingscale": 0,
        "reviews": "",
        "reviewsurl": "",
        "price": "",
        "regularprice": "",
        "footer": ""
      }
    },
    {
      "name": "fullCard",
      "description": "Populated retail card with rating and sale price.",
      "data": {
        "img": "https://placehold.co/320x240/363636/ffffff?text=Product",
        "url": "https://example.com/p/1",
        "badge": "New",
        "title": "Wireless earbuds",
        "subtitle": "ANC · 32h battery",
        "text": "Compact charging case and IPX4 splash resistance.",
        "rating": 4,
        "ratingscale": 5,
        "reviews": "128 reviews",
        "reviewsurl": "https://example.com/p/1#reviews",
        "price": "€79.00",
        "regularprice": "€99.00",
        "footer": "Free returns within 30 days"
      }
    },
    {
      "name": "minimalListing",
      "description": "Image, title, and price only.",
      "data": {
        "img": "https://placehold.co/320x240/363636/ffffff?text=Product",
        "url": "",
        "badge": "",
        "title": "Mug — ceramic",
        "subtitle": "",
        "text": "",
        "rating": 0,
        "ratingscale": 5,
        "reviews": "",
        "reviewsurl": "",
        "price": "€14.00",
        "regularprice": "",
        "footer": ""
      }
    },
    {
      "name": "topRated",
      "description": "High score on a 10-point scale.",
      "data": {
        "img": "https://placehold.co/320x240/363636/ffffff?text=Product",
        "url": "https://example.com/p/2",
        "badge": "",
        "title": "Desk lamp",
        "subtitle": "LED dimmable",
        "text": "",
        "rating": 9,
        "ratingscale": 10,
        "reviews": "See all",
        "reviewsurl": "https://example.com/p/2#reviews",
        "price": "€45.00",
        "regularprice": "",
        "footer": ""
      }
    }
  ],
  "iifeIntegrity": "sha384-mQtAoQNPsioNzmek4wdon5lFyoM8Y6QNja6kRi/poMMmCvPDNfV+DnRQRbPTTNis",
  "dependencies": [],
  "screenshots": [],
  "licenses": [
    {
      "type": "Apache-2.0",
      "path": "LICENSE.md",
      "cost": 0,
      "currency": "EUR"
    }
  ],
  "readmePath": "README.md",
  "name": "hb-shop-item-cell",
  "category": "commerce",
  "tags": [
    "commerce",
    "product"
  ],
  "size": {},
  "iifePath": "main.iife.js",
  "repoName": "@htmlbricks/hb-shop-item-cell",
  "version": "0.76.5"
}