{
  "name": "divitorque/gradient-heading",
  "d4Shortcode": "ba_gradient_heading",
  "moduleClassName": "dtq_gradient_heading",
  "moduleOrderClassName": "dtq_gradient_heading",
  "title": "Gradient Heading",
  "titles": "Gradient Headings",
  "moduleIcon": "divitorque/gradient-heading",
  "category": "module",
  "attributes": {
    "module": {
      "type": "object",
      "selector": "{{selector}}",
      "default": {
        "advanced": {
          "useLink": {
            "desktop": {
              "value": "off"
            }
          },
          "gradientType": {
            "desktop": {
              "value": "linear"
            }
          },
          "primaryColor": {
            "desktop": {
              "value": "#5b2cff"
            }
          },
          "primaryLocation": {
            "desktop": {
              "value": "11"
            }
          },
          "secondaryColor": {
            "desktop": {
              "value": "#e02b20"
            }
          },
          "secondaryLocation": {
            "desktop": {
              "value": "37"
            }
          },
          "gradientAngle": {
            "desktop": {
              "value": "130"
            }
          },
          "radialPosition": {
            "desktop": {
              "value": "center center"
            }
          }
        }
      },
      "settings": {
        "meta": {
          "adminLabel": {}
        },
        "advanced": {
          "htmlAttributes": {},
          "useLink": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "contentLink",
              "attrName": "module.advanced.useLink",
              "label": "Use Link",
              "description": "If enabled, the title will be wrapped in an <a> tag.",
              "priority": 10,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/toggle"
              }
            }
          },
          "linkUrl": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "contentLink",
              "attrName": "module.advanced.linkUrl",
              "label": "Link URL",
              "description": "Define the URL the title links to.",
              "priority": 20,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false,
                "dynamicContent": true
              },
              "component": {
                "type": "field",
                "name": "divi/text"
              }
            }
          },
          "linkOptions": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "contentLink",
              "attrName": "module.advanced.linkOptions",
              "label": "Link Options",
              "priority": 30,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/checkboxes",
                "props": {
                  "options": {
                    "linkTarget": {
                      "label": "Open in new window"
                    },
                    "linkRel": {
                      "label": "Add nofollow"
                    }
                  }
                }
              }
            }
          },
          "gradientType": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designGradient",
              "attrName": "module.advanced.gradientType",
              "label": "Gradient Type",
              "description": "Choose linear or radial gradient.",
              "priority": 10,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/select",
                "props": {
                  "options": {
                    "linear": {
                      "label": "Linear"
                    },
                    "radial": {
                      "label": "Radial"
                    }
                  }
                }
              }
            }
          },
          "primaryColor": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designGradient",
              "attrName": "module.advanced.primaryColor",
              "label": "Primary Color",
              "priority": 20,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/color-picker",
                "props": {
                  "isAlpha": true
                }
              }
            }
          },
          "primaryLocation": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designGradient",
              "attrName": "module.advanced.primaryLocation",
              "label": "Primary Color Location",
              "priority": 30,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 0,
                  "max": 100,
                  "step": 1
                }
              }
            }
          },
          "secondaryColor": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designGradient",
              "attrName": "module.advanced.secondaryColor",
              "label": "Secondary Color",
              "priority": 40,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/color-picker",
                "props": {
                  "isAlpha": true
                }
              }
            }
          },
          "secondaryLocation": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designGradient",
              "attrName": "module.advanced.secondaryLocation",
              "label": "Secondary Color Location",
              "priority": 50,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 0,
                  "max": 100,
                  "step": 1
                }
              }
            }
          },
          "gradientAngle": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designGradient",
              "attrName": "module.advanced.gradientAngle",
              "label": "Gradient Angle",
              "priority": 60,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 0,
                  "max": 360,
                  "step": 1
                }
              }
            }
          },
          "radialPosition": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designGradient",
              "attrName": "module.advanced.radialPosition",
              "label": "Radial Position",
              "priority": 70,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/select",
                "props": {
                  "options": {
                    "center center": {
                      "label": "Center Center"
                    },
                    "bottom center": {
                      "label": "Bottom Center"
                    },
                    "bottom left": {
                      "label": "Bottom Left"
                    },
                    "bottom right": {
                      "label": "Bottom Right"
                    },
                    "center left": {
                      "label": "Center Left"
                    },
                    "center right": {
                      "label": "Center Right"
                    },
                    "top center": {
                      "label": "Top Center"
                    },
                    "top left": {
                      "label": "Top Left"
                    },
                    "top right": {
                      "label": "Top Right"
                    }
                  }
                }
              }
            }
          }
        },
        "decoration": {
          "animation": {},
          "layout": {},
          "background": {},
          "border": {},
          "boxShadow": {},
          "filters": {},
          "overflow": {},
          "position": {},
          "scroll": {},
          "spacing": {},
          "sizing": {},
          "sticky": {},
          "transform": {},
          "transition": {},
          "zIndex": {},
          "disabledOn": {}
        }
      }
    },
    "title": {
      "type": "object",
      "selector": "{{selector}} .dtq-gradient-heading",
      "elementType": "heading",
      "tagName": "h1",
      "inlineEditor": "plainText",
      "attributes": {
        "class": "dtq-gradient-heading"
      },
      "childrenSanitizer": "et_core_esc_previously",
      "default": {
        "decoration": {
          "font": {
            "font": {
              "desktop": {
                "value": {
                  "headingLevel": "h1",
                  "size": "60px",
                  "weight": "700",
                  "lineHeight": "1.2em"
                }
              }
            }
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "contentText",
            "priority": 10,
            "render": true,
            "attrName": "title.innerContent",
            "label": "Title Text",
            "description": "Define the title text. Use <br> for line break.",
            "component": {
              "type": "field",
              "name": "divi/textarea"
            },
            "features": {
              "sticky": false,
              "responsive": false,
              "hover": false,
              "dynamicContent": true
            }
          }
        },
        "decoration": {
          "font": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designText",
              "priority": 10,
              "render": true,
              "component": {
                "name": "divi/font",
                "type": "group",
                "props": {
                  "grouped": false,
                  "fieldLabel": "Title",
                  "fields": {
                    "headingLevel": {
                      "render": true
                    }
                  }
                }
              }
            }
          }
        }
      }
    }
  },
  "customCssFields": {
    "title": {
      "subName": "title",
      "selectorSuffix": " .dtq-gradient-heading"
    }
  },
  "settings": {
    "content": "auto",
    "design": "auto",
    "advanced": "auto",
    "groups": {
      "contentText": {
        "panel": "content",
        "priority": 10,
        "groupName": "text",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Text"
          }
        }
      },
      "contentLink": {
        "panel": "content",
        "priority": 20,
        "groupName": "link",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Link"
          }
        }
      },
      "designGradient": {
        "panel": "design",
        "priority": 10,
        "groupName": "gradient",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Gradient"
          }
        }
      },
      "designText": {
        "panel": "design",
        "priority": 20,
        "groupName": "text",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Text",
            "clipboardCategory": "style",
            "presetGroup": "divi/font"
          }
        }
      }
    }
  }
}
