{
  "name": "dnxte/next-text-animation",
  "d4Shortcode": "dnxte_text_animation",
  "title": "Text Animation",
  "titles": "Text Animations",
  "moduleIcon": "dnxte/next-text-animation",
  "folder": "divi-essential",
  "category": "module",
  "attributes": {
    "module": {
      "type": "object",
      "selector": "{{selector}}",
      "default": {
        "meta": {
          "adminLabel": {
            "desktop": {
              "value": "Text Animation"
            }
          }
        }
      },
      "styleProps": {
        "border": {
          "important": true
        },
        "textShadow": {
          "important": true
        },
        "textAlign": {
          "important": true
        }
      }
    },

    "heading_text": {
      "type": "object",
      "selector": "{{selector}} .dnxt-text-heading",
      "default": {
        "advanced": {
          "tag": {
            "desktop": {
              "value": "h2"
            }
          }
        }
      },
      "styleProps": {
        "font": {
          "important": {
            "font": {
              "desktop": {
                "value": {
                  "color": true
                }
              }
            }
          }
        }
      },

      "attributes": {
        "class": "dnxt-text-heading"
      },
      "inlineEditor": "plainText",
      "elementType": "heading",
      "childrenSanitizer": "et_core_esc_previously"
    },

    "before_title": {
      "type": "object",
      "selector": "{{selector}} .dnxt-animation-b-text",

      "styleProps": {
        "font": {
          "important": {
            "font": {
              "desktop": {
                "value": {
                  "color": true
                }
              }
            }
          }
        }
      },
      "tagName": "span",
      "attributes": {
        "class": "dnxt-animation-b-text"
      },
      "inlineEditor": "plainText",
      "elementType": "heading",
      "childrenSanitizer": "et_core_esc_previously"
    },
    "animated_title": {
      "type": "object",
      "selector": "{{selector}} .dnxt-text-animation",
      "default": {
        "innerContent": {
          "desktop": {
            "value": []
          }
        },
        "advanced": {
          "effects": {
            "desktop": {
              "value": "rotate-1"
            }
          },
          "loop": {
            "desktop": {
              "value": "loop"
            }
          },
          "speed": {
            "desktop": {
              "value": "800ms"
            }
          },
          "delay": {
            "desktop": {
              "value": "800ms"
            }
          },
          "color": {
            "desktop": {
              "value": "#0077FF"
            }
          },
          "color2": {
            "desktop": {
              "value": "#aebcb9"
            }
          }
        }
      },
      "styleProps": {
        "font": {
          "important": {
            "font": {
              "desktop": {
                "value": {
                  "color": true
                }
              }
            }
          }
        }
      },
      "tagName": "span",
      "attributes": {
        "class": "dnxt-words-wrapper"
      },
      "inlineEditor": "plainText",
      "elementType": "heading",
      "childrenSanitizer": "et_core_esc_previously"
    },
    "after_title": {
      "type": "object",
      "selector": "{{selector}} .dnxt-animation-a-text",

      "styleProps": {
        "font": {
          "important": {
            "font": {
              "desktop": {
                "value": {
                  "color": true
                }
              }
            }
          }
        }
      },
      "tagName": "span",
      "attributes": {
        "class": "dnxt-animation-a-text"
      },
      "inlineEditor": "plainText",
      "elementType": "heading",
      "childrenSanitizer": "et_core_esc_previously"
    }
  },
  "customCssFields": {
    "before_title": {
      "subName": "before_title",
      "selectorSuffix": " .dnxt-animation-b-text"
    },
    "after_title": {
      "subName": "after_title",
      "selectorSuffix": " .dnxt-animation-a-text"
    },
    "animated_title": {
      "subName": "animated_title",
      "selectorSuffix": " .dnxt-text-animation"
    }
  }
}
