{
  "name": "dnxte/lottie",
  "d4Shortcode": "dnxte_lottie",
  "title": "Lottie",
  "titles": "Lotties",
  "category": "module",
  "moduleIcon": "dnxte/lottie",
  "folder": "divi-essential",
  "attributes": {
    "module": {
      "type": "object",
      "selector": "{{selector}}",
      "default": {
        "meta": {
          "adminLabel": {
            "desktop": {
              "value": "Lottie"
            }
          }
        },
        "advanced": {
          "text": {
            "text": {
              "desktop": {
                "value": {
                  "color": "light"
                }
              }
            }
          }
        }
      },
      "defaultPrintedStyle": {
        "decoration": {
          "background": {
            "desktop": {
              "value": {
                "color": "#ecf4f7"
              }
            }
          }
        }
      },
      "styleProps": {
        "border": {
          "important": true
        },
        "spacing": {
          "important": true
        }
      }
    },
    "lottie_title": {
      "type": "object",
      "selector": "{{selector}} .dnxte-lottie-heading",
      "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-lottie-heading"
      },
      "inlineEditor": "plainText",
      "elementType": "heading",
      "childrenSanitizer": "et_core_esc_previously"
    },
    "lottie_desc": {
      "type": "object",
      "selector": "{{selector}} .dnxte-lottie-content",
      "tagName": "div",
      "attributes": {
        "class": "dnxte-lottie-content"
      },
      "inlineEditor": "richText",
      "childrenSanitizer": "et_core_esc_previously",
      "styleProps": {
        "bodyFont": {
          "selectors": {
            "desktop": {
              "value": "{{selector}} .dnxte-lottie-content"
            }
          }
        }
      }
    },
    "lottie_button": {
      "type": "object",
      "selector": "{{selector}} .dnxte-lottie-button",
      "attributes": {
        "class": "dnxte-lottie-button"
      },
      "settings": {
        "decoration": {},
        "innerContent": {}
      },
      "styleProps": {
        "selector": "{{selector}} .dnxte-lottie-button"
      }
    },
    "lottie": {
      "type": "object",
      "selector": "{{selector}} .dnext_lottie_wrapper",
      "attributes": {
        "class": "dnext_lottie_wrapper"
      },
      "default": {
        "advanced": {
          "lottie_upload": {
            "desktop": {
              "value": ""
            }
          },
          "lottie_use_button": {
            "desktop": {
              "value": "on"
            }
          },
          "lottie_loop": {
            "desktop": {
              "value": "on"
            }
          },
          "lottie_autoplay": {
            "desktop": {
              "value": "on"
            }
          },
          "lottie_play_on_hover": {
            "desktop": {
              "value": "on"
            }
          },
          "lottie_speed": {
            "desktop": {
              "value": "1"
            }
          },
          "lottie_direction": {
            "desktop": {
              "value": "forward"
            }
          },
          "htmlAttributes": {}
        }
      },
      "settings": {
        "decoration": {},
        "innerContent": {
          "text": ""
        }
      },
      "styleProps": {
        "selector": "{{selector}} .dnext_lottie_wrapper"
      }
    }
  },
  "customCssFields": {
    "lottie_title": {
      "subName": "lottie_title",
      "selectorSuffix": " .dnxte-lottie-heading"
    },
    "lottie_desc": {
      "subName": "lottie_desc",
      "selectorSuffix": " .dnxte-lottie-content"
    },
    "lottie_button": {
      "subName": "lottie_button",
      "selectorSuffix": " .dnxte-lottie-button"
    }
  }
}
