{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "bpsc/floating-cta-section",
  "version": "1.0.0",
  "title": "Floating CTA Section",
  "category": "bPlugins",
  "description": "Floating CTA Section is a WordPress plugin for creating sticky floating call-to-action bars that boost engagement and conversions.",
  "keywords": [
    "Floating CTA Section"
  ],
  "textdomain": "section-collection",
  "attributes": {
    "data": {
      "type": "object",
      "default": {
        "dealTitle": "Limited Deal",
        "description": "Smart analytics • Priority support • Risk-free",
        "discountText": "-32% OFF",
        "buttonLink": "#",
        "buttonText": "Claim Now"
      }
    },
    "layout": {
      "type": "object",
      "default": {
        "margin": {
          "desktop": {
            "top": "0px",
            "right": "0px",
            "bottom": "0px",
            "left": "0px"
          },
          "tablet": {
            "top": "0px",
            "right": "0px",
            "bottom": "0px",
            "left": "0px"
          },
          "mobile": {
            "top": "0px",
            "right": "0px",
            "bottom": "0px",
            "left": "0px"
          }
        },
        "padding": {
          "desktop": {
            "top": "16px",
            "right": "24px",
            "bottom": "16px",
            "left": "24px"
          },
          "tablet": {
            "top": "16px",
            "right": "24px",
            "bottom": "16px",
            "left": "24px"
          },
          "mobile": {
            "top": "16px",
            "right": "24px",
            "bottom": "16px",
            "left": "24px"
          }
        },
        "borderRadius": {
          "top": "16px",
          "right": "16px",
          "bottom": "16px",
          "left": "16px"
        },
        "maxWidth": "600px"
      }
    },
    "styles": {
      "type": "object",
      "default": {
        "bg": {
          "type": "gradient",
          "overlayColor": "rgba(0, 0, 0, 0)",
          "position": "center center",
          "image": {
            "url": ""
          },
          "color": "#0f172a",
          "gradient": "linear-gradient(135deg, #0f172a, #020617)",
          "repeat": "no-repeat",
          "size": "cover"
        },
        "title": {
          "color": "#fff",
          "typo": {
            "fontCategory": "sans-serif",
            "fontFamily": "Default",
            "fontSize": {
              "desktop": 18,
              "tablet": 18,
              "mobile": 18
            },
            "fontVariant": 400,
            "fontWeight": 700,
            "isUploadFont": true,
            "lineHeight": 0,
            "textDecoration": "",
            "textTransform": "none"
          }
        },
        "description": {
          "color": "#edededcc",
          "typo": {
            "fontCategory": "sans-serif",
            "fontFamily": "Default",
            "fontSize": {
              "desktop": 14,
              "tablet": 14,
              "mobile": 14
            },
            "fontVariant": 400,
            "fontWeight": 400,
            "isUploadFont": true,
            "lineHeight": 0,
            "textDecoration": "",
            "textTransform": "none"
          }
        },
        "discountText": {
          "bg": "#ee5a24",
          "color": "#fff"
        },
        "claimBtn": {
          "colors": {
            "bg": "#ee5a24",
            "color": "#fff"
          },
          "hovColors": {
            "bg": "#ee5a24",
            "color": "#fff"
          }
        },
        "closeBtn": {
          "colors": {
            "bg": "rgba(255, 255, 255, 0.1)",
            "color": "rgba(255, 255, 255, 0.7)"
          },
          "hovColors": {
            "bg": "rgba(255, 255, 255, 0.2)",
            "color": "#fff"
          }
        }
      }
    },
    "initialPosition": {
      "type": "string",
      "default": "bottom-right"
    },
    "autoHideOnScroll": {
      "type": "boolean",
      "default": true
    },
    "align": {
      "type": "string",
      "default": "full"
    },
    "alignment": {
      "type": "string",
      "default": "center"
    }
  },
  "supports": {
    "align": [
      "full"
    ],
    "html": false
  },
  "example": {
    "attributes": {}
  },
  "editorScript": "file:../index.js",
  "style": "file:./view.css",
  "render": "file:./render.php",
  "viewScript": "file:./view.js"
}