{
  "name": "dnxte/image-accordion-child",
  "d4Shortcode": "dnxte_image_accordion_item",
  "title": "Image Accordion Child",
  "titles": "Image Accordions Child",
  "category": "child-module",
  "attributes": {
    "module": {
      "type": "object",
      "selector": "{{selector}}",
      "default": {
        "meta": {
          "adminLabel": {
            "desktop": {
              "value": "Image Accordion Child"
            }
          }
        }
      },
      "styleProps": {
        "border": {
          "important": true
        },
        "spacing": {
          "important": true
        }
      }
    },
    "listItem": {
      "type": "object",
      "selector": "{{selector}} .dnxte_image_accordion_bg",
      "styleProps": {
        "spacing": {
          "important": true
        }
      }
    },
    "imgOverlay": {
      "type": "object",
      "selector": "{{selector}} .dnxte_image_accordion_bg",
      "styleProps": {
        "spacing": {
          "important": true
        }
      }
    },
    "imgHoverOverlay": {
      "type": "object",
      "selector": "{{selector}}.dnxte-active .dnxte_image_accordion_bg_hover, {{selector}}:hover .dnxte_image_accordion_bg_hover",
      "styleProps": {
        "spacing": {
          "important": true
        }
      }
    },
    "accordionImg": {
      "type": "object",
      "selector": "{{selector}} .dnxte-accordion-image-image .dnxte-icon-image",
      "inlineEditor": "upload",
      "elementType": "image",
      "attributes": {
        "class": "dnxte-icon-image",
        "alt": "Image"
      },
      "default": {
        "advanced": { "alignment": { "desktop": { "value": "center" } } }
      },
      "settings": {
        "innerContent": {},
        "decoration": {
          "background": {},
          "boxShadow": {},
          "border": {},
          "font": {},
          "spacing": {}
        },
        "advanced": {
          "htmlAttributes": {}
        }
      },
      "styleProps": {
        "selector": "{{selector}} .dnxte-accordion-image-image img",
        "background":{
          "selector": "{{selector}}"
        }
      },
      "advanced": {
        "width": {
          "desktop": {
            "value": ""
          }
        }
      }
    },
    "accordionIcon": {
      "type": "object",
      "selector": "{{selector}} .dnxte-accordion-image-icon span",
      "attributes": {
        "class": "dnxte-imageacdion-social"
      },
      "default": {
        "innerContent": { "desktop": { "value": { "use": "on" } } },
        "advanced": {
          "width": { "desktop": { "value": "30px" } },
          "color": { "desktop": { "value": "#8056ee" }}
        }
      },
      "settings": {
        "innerContent": {},
        "decoration": {
          "background": {},
          "boxShadow": {},
          "border": {},
          "font": {},
          "spacing": {}
        },
        "advanced": {
          "htmlAttributes": {}
        }
      },
      "styleProps": {
        "selector": "{{selector}} .dnxte-accordion-image-icon span",
        "border": {
          "important": true
        },
        "spacing": {
          "important": true
        }
      }
    },
    "accordionExpand": {
      "type": "object",
      "tagName": "select",
      "default": {
        "innerContent": { "desktop": { "value": "none" } },
        "advanced": {
          "horizontal": { "desktop": { "value": "center" } },
          "vertical": { "desktop": { "value": "center" } }
        }
      },
      "childrenSanitizer": "et_core_esc_previously"
    },
    "accordionButton": {
      "type": "object",
      "selector": "{{selector}} .dnxte_accordion_button",
      "attributes": {
        "class": "dnxte_accordion_button"
      },
      "default": {
        "advanced": {
          "use_btn": { "desktop": { "value": "on" } }
        }
      },
      "settings": {
        "decoration": {},
        "innerContent": {}
      },
      "styleProps": {
        "selector": "{{selector}} .dnxte_accordion_button",
        "font": {
          "propertySelectors": {
            "font": {
              "desktop": {
                "value": {
                  "text-align": "{{selector}} .dnxte-accordion-button-wrap"
                }
              }
            }
          }
        }
      }
    },
    "title": {
      "type": "object",
      "selector": "{{selector}} .dnxte-accordion-title",
      "default": {
        "decoration": {
          "font": {
            "font": {
              "desktop": {
                "value": {
                  "headingLevel": "h2"
                }
              }
            }
          }
        }
      },
      "defaultPrintedStyle": {
        "decoration": {
          "font": {
            "font": {
              "desktop": {
                "value": {
                  "size": "26px",
                  "lineHeight": "1em",
                  "weight": "500"
                }
              }
            }
          }
        }
      },
      "styleProps": {
        "font": {
          "important": {
            "font": {
              "desktop": {
                "value": {
                  "color": true
                }
              }
            }
          }
        }
      },
      "tagName": "h2",
      "attributes": {
        "class": "dnxte-accordion-title"
      },
      "inlineEditor": "plainText",
      "elementType": "heading",
      "childrenSanitizer": "et_core_esc_previously"
    },
    "content": {
      "type": "object",
      "selector": "{{selector}} .dnxte-accordion-description",
      "tagName": "div",
      "attributes": {
        "class": "dnxte-accordion-description"
      },
      "inlineEditor": "richText",
      "childrenSanitizer": "et_core_esc_previously",
      "styleProps": {
        "bodyFont": {
          "selectors": {
            "desktop": {
              "value": "{{selector}} .dnxte-accordion-description"
            }
          }
        }
      }
    }
  },
  "customCssFields": {
    "accordionIcon": {
      "subName": "accordionIcon",
      "selectorSuffix": " .dnxte-accordion-image-icon span"
    },
    "accordionImg": {
      "subName": "accordionImg",
      "selectorSuffix": " .dnxte-accordion-image-image img"
    },
    "title": {
      "subName": "title",
      "selectorSuffix": " .dnxte-accordion-title"
    },
    "content": {
      "subName": "content",
      "selectorSuffix": " .dnxte-accordion-description"
    },
    "accordionButton": {
      "subName": "accordionButton",
      "selectorSuffix": " .dnxte_accordion_button"
    }
  }
}
