 {
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "flexa/product-detail",
  "version": "1.0.0",
  "title": "Product Details",
  "category": "woocommerce",
  "description": "Show the current WooCommerce product’s details on a single-product page as tabs — toggle the Description, Additional information and Reviews tabs, and style the tab titles (normal and active colours, typography, padding, gap) and the content area (typography, colour, padding), with a paginated Reviews list (numbered or load-more), per-element Reviews styling (title, author, date, stars, text) and Additional-information table styling (label/value colours + typography, cell borders and padding).",
  "keywords": [
    "flexa",
    "woocommerce",
    "product",
    "details",
    "tabs",
    "description"
  ],
  "textdomain": "flexa-block",
  "example": {
    "attributes": {
      "isExamplePreview": true
    },
    "viewportWidth": 500
  },
  "attributes": {
    "isExamplePreview": {
      "type": "boolean",
      "default": false
    },
    "blockId": {
      "type": "string"
    },
    "showDescriptionTab": {
      "type": "boolean",
      "default": true
    },
    "showAdditionalTab": {
      "type": "boolean",
      "default": true
    },
    "showReviewsTab": {
      "type": "boolean",
      "default": true
    },
    "tabTitleTypography": {
      "type": "object",
      "default": {
        "desktop": {},
        "tablet": {},
        "mobile": {}
      }
    },
    "tabTitleColor": {
      "type": "object",
      "default": {
        "light": "",
        "dark": ""
      }
    },
    "tabTitleBg": {
      "type": "object",
      "default": {
        "light": "",
        "dark": ""
      }
    },
    "tabActiveColor": {
      "type": "object",
      "default": {
        "light": "",
        "dark": ""
      }
    },
    "tabActiveBg": {
      "type": "object",
      "default": {
        "light": "",
        "dark": ""
      }
    },
    "tabTitlePadding": {
      "type": "object",
      "default": {
        "desktop": {
          "top": "",
          "right": "",
          "bottom": "",
          "left": "",
          "unit": "px"
        },
        "tablet": {},
        "mobile": {}
      }
    },
    "tabGap": {
      "type": "object",
      "default": {
        "desktop": {
          "value": "",
          "unit": "px"
        },
        "tablet": {},
        "mobile": {}
      }
    },
    "contentTypography": {
      "type": "object",
      "default": {
        "desktop": {},
        "tablet": {},
        "mobile": {}
      }
    },
    "contentColor": {
      "type": "object",
      "default": {
        "light": "",
        "dark": ""
      }
    },
    "contentPadding": {
      "type": "object",
      "default": {
        "desktop": {
          "top": "",
          "right": "",
          "bottom": "",
          "left": "",
          "unit": "px"
        },
        "tablet": {},
        "mobile": {}
      }
    },
    "reviewsPerPage": {
      "type": "number",
      "default": 5
    },
    "reviewsLoadMore": {
      "type": "number",
      "default": 5
    },
    "reviewsTitleColor": {
      "type": "object",
      "default": {
        "light": "",
        "dark": ""
      }
    },
    "reviewsTitleTypography": {
      "type": "object",
      "default": {
        "desktop": {},
        "tablet": {},
        "mobile": {}
      }
    },
    "reviewAuthorColor": {
      "type": "object",
      "default": {
        "light": "",
        "dark": ""
      }
    },
    "reviewDateColor": {
      "type": "object",
      "default": {
        "light": "",
        "dark": ""
      }
    },
    "reviewStarsColor": {
      "type": "object",
      "default": {
        "light": "",
        "dark": ""
      }
    },
    "reviewStarsSize": {
      "type": "object",
      "default": {}
    },
    "reviewTextColor": {
      "type": "object",
      "default": {
        "light": "",
        "dark": ""
      }
    },
    "additionalLabelColor": {
      "type": "object",
      "default": {
        "light": "",
        "dark": ""
      }
    },
    "additionalLabelTypography": {
      "type": "object",
      "default": {
        "desktop": {},
        "tablet": {},
        "mobile": {}
      }
    },
    "additionalValueColor": {
      "type": "object",
      "default": {
        "light": "",
        "dark": ""
      }
    },
    "additionalValueTypography": {
      "type": "object",
      "default": {
        "desktop": {},
        "tablet": {},
        "mobile": {}
      }
    },
    "additionalBorderColor": {
      "type": "object",
      "default": {
        "light": "",
        "dark": ""
      }
    },
    "additionalCellPadding": {
      "type": "object",
      "default": {
        "desktop": {
          "top": "",
          "right": "",
          "bottom": "",
          "left": "",
          "unit": "px"
        },
        "tablet": {},
        "mobile": {}
      }
    },
    "paginationType": {
      "type": "string",
      "default": "numbered",
      "enum": [
        "none",
        "numbered",
        "loadmore"
      ]
    },
    "paginationAlign": {
      "type": "string",
      "default": "center",
      "enum": [
        "left",
        "center",
        "right"
      ]
    },
    "prevLabel": {
      "type": "string",
      "default": ""
    },
    "nextLabel": {
      "type": "string",
      "default": ""
    },
    "loadMoreText": {
      "type": "string",
      "default": "Load more"
    },
    "paginationColor": {
      "type": "object",
      "default": {
        "light": "",
        "dark": ""
      }
    },
    "paginationActiveColor": {
      "type": "object",
      "default": {
        "light": "",
        "dark": ""
      }
    },
    "paginationBackground": {
      "type": "object",
      "default": {
        "light": "",
        "dark": ""
      }
    },
    "paginationActiveBackground": {
      "type": "object",
      "default": {
        "light": "",
        "dark": ""
      }
    },
    "paginationRadius": {
      "type": "object",
      "default": {}
    },
    "paginationFontSize": {
      "type": "object",
      "default": {}
    },
    "loadMoreColor": {
      "type": "object",
      "default": {
        "light": "",
        "dark": ""
      }
    },
    "loadMoreBackground": {
      "type": "object",
      "default": {
        "light": "",
        "dark": ""
      }
    },
    "spacing": {
      "type": "object",
      "default": {
        "desktop": {},
        "tablet": {},
        "mobile": {}
      }
    },
    "background": {
      "type": "object",
      "default": {
        "type": "none",
        "color": {
          "light": "",
          "dark": ""
        },
        "gradient": {
          "light": "",
          "dark": ""
        },
        "image": {
          "url": "",
          "id": null,
          "position": "center center",
          "repeat": "no-repeat",
          "size": "cover",
          "attachment": "scroll"
        },
        "lazyLoad": false
      }
    },
    "border": {
      "type": "object",
      "default": {
        "desktop": {
          "style": "",
          "width": {
            "top": "",
            "right": "",
            "bottom": "",
            "left": "",
            "unit": "px"
          },
          "color": {
            "light": "",
            "dark": ""
          },
          "radius": {
            "topLeft": "",
            "topRight": "",
            "bottomRight": "",
            "bottomLeft": "",
            "unit": "px"
          }
        },
        "tablet": {},
        "mobile": {}
      }
    },
    "boxShadow": {
      "type": "object",
      "default": {
        "horizontal": "0",
        "vertical": "4",
        "blur": "12",
        "spread": "0",
        "color": {
          "light": "rgba(0,0,0,0.1)",
          "dark": ""
        },
        "inset": false,
        "enabled": false
      }
    },
    "advancedLayout": {
      "type": "object",
      "default": {
        "desktop": {
          "zIndex": "",
          "overflow": "",
          "position": ""
        },
        "tablet": {},
        "mobile": {}
      }
    },
    "responsiveVisibility": {
      "type": "object",
      "default": {
        "hideOnDesktop": false,
        "hideOnTablet": false,
        "hideOnMobile": false
      }
    },
    "animation": {
      "type": "object",
      "default": {
        "type": "none",
        "duration": "normal",
        "delay": ""
      }
    },
    "htmlAttributes": {
      "type": "object",
      "default": {
        "customAttributes": []
      }
    }
  },
  "supports": {
    "anchor": true,
    "className": true,
    "html": false,
    "align": false
  },
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "viewScript": "file:./view.js",
  "render": "file:./render.php"
}