{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "bpsc/slider-section",
  "version": "1.0.0",
  "title": "Slider Section",
  "category": "bPlugins",
  "description": "A lightweight WordPress slider section plugin that lets you easily create and customize responsive sliders to showcase content, images, or promotions anywhere on your site.",
  "keywords": [
    "Slider Section"
  ],
  "textdomain": "section-collection",
  "attributes": {
    "slides": {
      "type": "array",
      "default": [
        {
          "image": "https://templates.bplugins.com/wp-content/uploads/2025/12/slide1.png",
          "heading": "Slide 1",
          "content": "Holisticly reconceptualize long-term high-impact technologies after reliable information. Synergistically reintermediate.",
          "button": {
            "status": false,
            "title": "Click Now",
            "url": "#"
          },
          "bgImgOn": true,
          "bgColor": "#fff"
        },
        {
          "image": "https://templates.bplugins.com/wp-content/uploads/2025/12/slide2.jpg",
          "heading": "Slide 2",
          "content": "Compellingly provide access to granular leadership without client-centric bandwidth. Intrinsicly create error-free.",
          "button": {
            "status": false,
            "title": "Click Now",
            "url": "#"
          },
          "bgImgOn": true,
          "bgColor": "#fff"
        },
        {
          "image": "https://templates.bplugins.com/wp-content/uploads/2025/12/slide3.png",
          "heading": "Slide 3",
          "content": "Phosfluorescently expedite clicks-and-mortar initiatives and intuitive total linkage. Assertively expedite ",
          "button": {
            "status": false,
            "title": "Click Now",
            "url": "#"
          },
          "bgImgOn": true,
          "bgColor": "#fff"
        }
      ]
    },
    "borderRedius": {
      "type": "object",
      "default": {
        "top": "10px",
        "right": "10px",
        "bottom": "10px",
        "left": "10px"
      }
    },
    "sliderEffect": {
      "type": "string",
      "default": "slide"
    },
    "navigationBtn": {
      "type": "boolean",
      "default": true
    },
    "keyboardControl": {
      "type": "boolean",
      "default": true
    },
    "loop": {
      "type": "boolean",
      "default": false
    },
    "autoPlay": {
      "type": "object",
      "default": {
        "status": false,
        "delay": 5000,
        "disableOnInteraction": false
      }
    },
    "height": {
      "type": "string",
      "default": "300px"
    },
    "width": {
      "type": "string",
      "default": "100%"
    },
    "alignment": {
      "type": "string",
      "default": ""
    },
    "styles": {
      "type": "object",
      "default": {
        "heading": {
          "color": "#000",
          "typo": {
            "fontCategory": "sans-serif",
            "fontFamily": "Default",
            "fontSize": {
              "desktop": 46,
              "tablet": 36,
              "mobile": 22
            },
            "fontVariant": 400,
            "fontWeight": 700,
            "isUploadFont": true,
            "lineHeight": 0,
            "textDecoration": "",
            "textTransform": "none"
          }
        },
        "content": {
          "color": "#000",
          "typo": {
            "fontCategory": "sans-serif",
            "fontFamily": "Default",
            "fontSize": {
              "desktop": 18,
              "tablet": 16,
              "mobile": 16
            },
            "fontVariant": 400,
            "fontWeight": 400,
            "isUploadFont": true,
            "lineHeight": 0,
            "textDecoration": "",
            "textTransform": "none"
          }
        },
        "button": {
          "colors": {
            "color": "#fff",
            "bg": "#fdb1fe"
          },
          "hovColors": {
            "color": "#fff",
            "bg": "#f76fd9"
          }
        }
      }
    },
    "options": {
      "type": "object",
      "default": {
        "isNewTab": false
      }
    }
  },
  "supports": {
    "align": [
      "wide",
      "full"
    ],
    "html": false
  },
  "example": {
    "attributes": {}
  },
  "editorScript": "file:../index.js",
  "style": "file:./view.css",
  "render": "file:./render.php",
  "viewScript": "file:./view.js"
}