{
  "name": "woolentor/checkout-express",
  "category": "woolentor-checkout",
  "title": "WL: Express Checkout",
  "description": "Display Stripe express payment buttons (Apple Pay, Google Pay, Link) on cart or checkout pages.",
  "keywords": [
    "woolentor",
    "express checkout",
    "apple pay",
    "google pay",
    "link",
    "stripe",
    "express payment"
  ],
  "supports": {
    "align": [
      "wide",
      "full"
    ]
  },
  "attributes": {
    "blockUniqId": {
      "type": "string",
      "default": ""
    },
    "showSeparator": {
      "type": "boolean",
      "default": true
    },
    "separatorText": {
      "type": "string",
      "default": "OR"
    },
    "containerPadding": {
      "type": "object",
      "default": {
        "device": "desktop"
      },
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .wl-express-checkout-wrap { padding: {{containerPadding}} !important; }"
      }
    },
    "containerBgColor": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .wl-express-checkout-wrap { background-color: {{containerBgColor}}; }"
      }
    },
    "containerBorderType": {
      "type": "string",
      "default": "",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .wl-express-checkout-wrap { border-style: {{containerBorderType}}; }"
      }
    },
    "containerBorderWidth": {
      "type": "object",
      "default": {
        "top": "",
        "right": "",
        "bottom": "",
        "left": "",
        "unit": "px",
        "link": "yes"
      },
      "style": {
        "dependency": [
          [
            {
              "key": "containerBorderType",
              "condition": "!=",
              "value": ""
            }
          ]
        ],
        "selector": "{{WOOLENTOR_WRAPPER}} .wl-express-checkout-wrap { border-width: {{containerBorderWidth}}; }"
      }
    },
    "containerBorderColor": {
      "type": "string",
      "style": {
        "dependency": [
          [
            {
              "key": "containerBorderType",
              "condition": "!=",
              "value": ""
            }
          ]
        ],
        "selector": "{{WOOLENTOR_WRAPPER}} .wl-express-checkout-wrap { border-color: {{containerBorderColor}}; }"
      }
    },
    "containerBorderRadius": {
      "type": "object",
      "default": {
        "top": "",
        "right": "",
        "bottom": "",
        "left": "",
        "unit": "px",
        "link": "yes"
      },
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .wl-express-checkout-wrap { border-radius: {{containerBorderRadius}}; }"
      }
    },
    "separatorTypography": {
      "type": "object",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .wl-express-checkout-separator"
      }
    },
    "separatorColor": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .wl-express-checkout-separator { color: {{separatorColor}}; }"
      }
    },
    "separatorLineColor": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_express .wl-express-checkout-separator > span::before, {{WOOLENTOR_WRAPPER}}.woolentor_block_checkout_express .wl-express-checkout-separator > span::after { background: {{separatorLineColor}}; }"
      }
    },
    "separatorSpacingTop": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .wl-express-checkout-separator { margin-top: {{separatorSpacingTop}}; }"
      }
    },
    "separatorAlignment": {
      "type": "string",
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} .wl-express-checkout-separator { text-align: {{separatorAlignment}}; }"
      }
    },
    "areaPadding": {
      "type": "object",
      "default": {
        "device": "desktop"
      },
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}} { padding: {{areaPadding}} !important; }"
      }
    },
    "areaBGProperty": {
      "type": "object",
      "default": {
        "imageId": null,
        "imageUrl": "",
        "position": "",
        "attachment": "",
        "repeat": "",
        "size": ""
      },
      "style": {
        "selector": "{{WOOLENTOR_WRAPPER}}"
      }
    }
  }
}