{
  "name": "dnxte/button",
  "d4Shortcode": "dnxte_button",
  "title": "Button",
  "titles": "Buttons",
  "moduleIcon": "dnxte/button",
  "folder": "divi-essential",
  "category": "module",
  "attributes": {
    "module": {
      "type": "object",
      "selector": "{{selector}}",
      "default": {
        "meta": {
          "adminLabel": {
            "desktop": {
              "value": "Button"
            }
          }
        },
        "advanced": {
          "text": {
            "text": {
              "desktop": {
                "value": {
                  "color": "light"
                }
              }
            }
          }
        },
        "decoration": {
          "background": {},
          "sizing": {},
          "animation": {},
          "boxShadow": {},
          "conditions": {},
          "disabledOn": {},
          "filters": {},
          "overflow": {},
          "position": {},
          "scroll": {},
          "spacing": {},
          "sticky": {},
          "transform": {},
          "transition": {},
          "zIndex": {}
        }
      },
      "defaultPrintedStyle": {
        "decoration": {
          "background": {}
        }
      },
      "styleProps": {}
    },
    "button_text": {
      "type": "object",
	    "selector": "{{selector}}.dnxte_button .dnxt-button-wrapper a",
      "defaultPrintedStyle": {
        "decoration": {
          "background": {},
          "border": {}
        }
      },
      "attributes": {
        "class": "dnxt-btn-icon"
      },
      "default": {
        "advanced": {
          "alignment": {
            "desktop": {
              "value": "left"
            }
          },
          "strokehovercolor": {
            "desktop": {
              "value": "#0c71c3"
            }
          },
          "bghovercolor": {
            "desktop": {
              "value": "#e1e1e1"
            }
          },
          "hasbghovercolor": {
            "desktop": {
              "value": "#2098d1"
            }
          }
        }
      },
      "settings": {
        "innerContent": {},
        "decoration": {
          "background": {},
          "border": {},
          "font": {},
          "spacing": {},
          "animation": {},
          "boxShadow": {},
          "conditions": {},
          "disabledOn": {},
          "filters": {},
          "overflow": {},
          "position": {},
          "scroll": {},
          "sticky": {},
          "transform": {},
          
          "zIndex": {}
        },
        "advanced": {
          "htmlAttributes": {}
        }
      },
      "styleProps": {
        "font": {
          "important": {
            "font": {
              "desktop": {
                "value": {
                  "color": true,
                  "font-size": true,
                  "letter-spacing": true,
                  "line-height": true
                }
              }
            }
          }
        },
        "spacing": {
          "important": true
        },
        "border": {
          "important": true
        },
        "background": {
          "important": true
        },
        "bghovercolor": {
          "important": true
        }
      }
    },
    "icon": {
      "type": "object",
      "selector": "{{selector}} .dnxt-btn-icon i",
      "default": {
        "innerContent": {},
        "advanced": {
          "icon": {
            "desktop": {
              "value": {
                "unicode": "&#x35;",
                "type": "divi",
                "weight": "400"
              }
            }
          },
          "use": {
            "desktop": {
              "value": "on"
            }
          },
          "color": {
            "desktop": {
              "value": "#ae16f0"
            }
          },
          "placement": {
            "desktop": {
              "value": "right"
            }
          },
          "onHover": {
            "desktop": {
              "value": "on"
            }
          }
        }
      }
    },
    "custom_attributes": {
      "type": "object",
      "selector": "{{selector}}",
      "default": {
        "advanced": {
          "enabled": {
            "desktop": {
              "value": "off"
            }
          },
          "target": {
            "desktop": {
              "value": "wrapper"
            }
          },
          "cssSelector": {
            "desktop": {
              "value": ""
            }
          },
          "attributes": {
            "desktop": {
              "value": ""
            }
          }
        }
      }
    }
  },
  "customCssFields": {
    "buttonWrapper": {
      "subName": "buttonWrapper",
      "selectorSuffix": " .dnxt-button-wrapper"
    },
    "buttonLink": {
      "subName": "buttonLink",
      "selectorSuffix": " .dnxt-button-wrapper a"
    }
  }
}
