{
  "name": "dina/icon-box",
  "d4Shortcode": "dina_icon_box",
  "title": "Icon Box",
  "titles": "Icon Boxes",
  "moduleIcon": "dina/icon-box",
  "moduleClassName": "dina_icon_box",
  "moduleOrderClassName": "dina_icon_box",
  "category": "module",
  "folder": "divinationkit",
  "childrenName": [],
  "attributes": {
    "module": {
      "type": "object",
      "selector": "{{selector}}",
      "default": {
        "meta": {
          "adminLabel": {
            "desktop": {
              "value": "Icon Box"
            }
          }
        },
        "decoration": {
          "background": {
            "desktop": {
              "value": {
                "color": "#eaeaea"
              }
            }
          }
        },
        "advanced": {
          "useButton": {
            "desktop": {
              "value": "off"
            }
          },
          "useBadge": {
            "desktop": {
              "value": "off"
            }
          },
          "alignment": {
            "desktop": {
              "value": "center"
            }
          },
          "badgeOffsetX": {
            "desktop": {
              "value": "0px"
            }
          },
          "badgeOffsetY": {
            "desktop": {
              "value": "0px"
            }
          },
          "badgeZIndex": {
            "desktop": {
              "value": "1"
            }
          }
        }
      },
      "styleProps": {
        "spacing": {
          "important": true
        },
        "border": {
          "important": true
        }
      },
      "settings": {
        "meta": {
          "adminLabel": {}
        },
        "advanced": {
          "useButton": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "contentButton",
              "attrName": "module.advanced.useButton",
              "label": "Use Button",
              "priority": 10,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/toggle"
              }
            }
          },
          "useBadge": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "contentBadge",
              "attrName": "module.advanced.useBadge",
              "label": "Use Badge",
              "priority": 10,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": false,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/toggle"
              }
            }
          },
          "alignment": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designAlignment",
              "attrName": "module.advanced.alignment",
              "label": "Content Alignment",
              "priority": 10,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": true,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/select",
                "props": {
                  "options": {
                    "left": {
                      "label": "Left"
                    },
                    "center": {
                      "label": "Center"
                    },
                    "right": {
                      "label": "Right"
                    }
                  }
                }
              }
            }
          },
          "badgeOffsetX": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designBadge",
              "attrName": "module.advanced.badgeOffsetX",
              "label": "Badge Vertical Offset",
              "priority": 10,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": true,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": -500,
                  "max": 500,
                  "step": 1,
                  "allowedUnits": [
                    "px",
                    "%",
                    "em"
                  ],
                  "defaultUnit": "px"
                }
              }
            }
          },
          "badgeOffsetY": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designBadge",
              "attrName": "module.advanced.badgeOffsetY",
              "label": "Badge Horizontal Offset",
              "priority": 20,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": true,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": -500,
                  "max": 500,
                  "step": 1,
                  "allowedUnits": [
                    "px",
                    "%",
                    "em"
                  ],
                  "defaultUnit": "px"
                }
              }
            }
          },
          "badgeZIndex": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designBadge",
              "attrName": "module.advanced.badgeZIndex",
              "label": "Badge Z Index",
              "priority": 30,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": true,
                "hover": false
              },
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": -10,
                  "max": 1000,
                  "step": 1,
                  "allowedUnits": [],
                  "defaultUnit": ""
                }
              }
            }
          },
          "htmlAttributes": {},
          "text": {
            "groupType": "group",
            "groupName": "divi/text",
            "panel": "design",
            "priority": 90,
            "component": {
              "props": {
                "fields": {
                  "orientation": {
                    "render": false
                  },
                  "color": {
                    "render": false
                  }
                }
              }
            }
          }
        },
        "decoration": {
          "animation": {},
          "attributes": {},
          "background": {},
          "border": {},
          "boxShadow": {},
          "conditions": {},
          "disabledOn": {},
          "filters": {},
          "interactions": {},
          "layout": {},
          "overflow": {},
          "order": {},
          "position": {},
          "scroll": {},
          "sizing": {},
          "spacing": {},
          "sticky": {},
          "transform": {},
          "transition": {},
          "zIndex": {}
        }
      }
    },
    "icon": {
      "type": "object",
      "selector": "{{selector}} .dina_icon_box-icon i.dina_icon",
      "default": {
        "innerContent": {
          "desktop": {
            "value": {
              "unicode": "&#xe105;",
              "type": "divi",
              "weight": "400"
            }
          }
        },
        "advanced": {
          "color": {
            "desktop": {
              "value": "#000000"
            }
          },
          "size": {
            "desktop": {
              "value": "30px"
            }
          }
        }
      },
      "settings": {
        "decoration": {
          "spacing": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designIcon",
              "priority": 10,
              "render": true,
              "component": {
                "type": "group",
                "name": "divi/spacing",
                "props": {
                  "grouped": true,
                  "fieldLabel": "Icon",
                  "fields": {
                    "margin": {
                      "render": false
                    }
                  }
                }
              }
            }
          },
          "border": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designIcon",
              "priority": 20,
              "render": true,
              "component": {
                "type": "group",
                "name": "divi/border",
                "props": {
                  "grouped": true,
                  "fieldLabel": "Icon"
                }
              }
            }
          }
        },
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "contentMain",
            "attrName": "icon.innerContent",
            "label": "Select Icon",
            "priority": 10,
            "render": true,
            "features": {
              "sticky": false,
              "responsive": false,
              "hover": false
            },
            "component": {
              "type": "field",
              "name": "divi/icon-picker"
            }
          }
        },
        "advanced": {
          "background": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designIcon",
              "attrName": "icon.advanced.background",
              "label": "Icon Background",
              "priority": 10,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": true,
                "hover": true
              },
              "component": {
                "type": "field",
                "name": "divi/color-picker",
                "props": {
                  "isAlpha": true
                }
              }
            }
          },
          "color": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designIcon",
              "attrName": "icon.advanced.color",
              "label": "Icon Color",
              "priority": 20,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": true,
                "hover": true
              },
              "component": {
                "type": "field",
                "name": "divi/color-picker",
                "props": {
                  "isAlpha": true
                }
              }
            }
          },
          "size": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designIcon",
              "attrName": "icon.advanced.size",
              "label": "Icon Size",
              "priority": 30,
              "render": true,
              "features": {
                "sticky": false,
                "responsive": true,
                "hover": true
              },
              "component": {
                "type": "field",
                "name": "divi/range",
                "props": {
                  "min": 0,
                  "max": 1000,
                  "step": 1,
                  "allowedUnits": [
                    "px",
                    "em",
                    "rem"
                  ],
                  "defaultUnit": "px"
                }
              }
            }
          }
        }
      }
    },
    "iconWrapper": {
      "type": "object",
      "selector": "{{selector}} .dina_icon_box-icon",
      "default": {
        "decoration": {
          "spacing": {
            "desktop": {
              "value": {
                "margin": {
                  "top": "0px",
                  "right": "0px",
                  "bottom": "10px",
                  "left": "0px"
                }
              }
            }
          }
        }
      },
      "settings": {
        "decoration": {
          "spacing": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designIcon",
              "priority": 10,
              "render": true,
              "component": {
                "type": "group",
                "name": "divi/spacing",
                "props": {
                  "grouped": true,
                  "fieldLabel": "Icon Wrapper",
                  "fields": {
                    "padding": {
                      "render": false
                    }
                  }
                }
              }
            }
          }
        }
      }
    },
    "title": {
      "type": "object",
      "selector": "{{selector}} .dina_icon_box-title",
      "elementType": "heading",
      "tagName": "h3",
      "attributes": {
        "class": "dina_icon_box-title"
      },
      "inlineEditor": "plainText",
      "childrenSanitizer": "et_core_esc_previously",
      "default": {
        "decoration": {
          "font": {
            "font": {
              "desktop": {
                "value": {
                  "headingLevel": "h3"
                }
              }
            }
          }
        }
      },
      "settings": {
        "decoration": {
          "font": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designTitle",
              "priority": 10,
              "render": true,
              "component": {
                "type": "group",
                "name": "divi/font",
                "props": {
                  "grouped": false,
                  "fieldLabel": "Title",
                  "fields": {
                    "headingLevel": {
                      "render": true
                    }
                  }
                }
              }
            }
          }
        },
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "contentMain",
            "attrName": "title.innerContent",
            "label": "Title",
            "priority": 20,
            "render": true,
            "features": {
              "sticky": false,
              "responsive": false,
              "hover": false,
              "dynamicContent": {
                "type": "text"
              }
            },
            "component": {
              "type": "field",
              "name": "divi/text"
            }
          }
        }
      }
    },
    "subtitle": {
      "type": "object",
      "selector": "{{selector}} .dina_icon_box-subtitle",
      "elementType": "heading",
      "tagName": "h4",
      "attributes": {
        "class": "dina_icon_box-subtitle"
      },
      "inlineEditor": "plainText",
      "childrenSanitizer": "et_core_esc_previously",
      "default": {
        "decoration": {
          "font": {
            "font": {
              "desktop": {
                "value": {
                  "headingLevel": "h4"
                }
              }
            }
          }
        }
      },
      "settings": {
        "decoration": {
          "font": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designSubtitle",
              "priority": 10,
              "render": true,
              "component": {
                "type": "group",
                "name": "divi/font",
                "props": {
                  "grouped": false,
                  "fieldLabel": "Subtitle",
                  "fields": {
                    "headingLevel": {
                      "render": true
                    }
                  }
                }
              }
            }
          }
        },
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "contentMain",
            "attrName": "subtitle.innerContent",
            "label": "Subtitle",
            "priority": 30,
            "render": true,
            "features": {
              "sticky": false,
              "responsive": false,
              "hover": false,
              "dynamicContent": {
                "type": "text"
              }
            },
            "component": {
              "type": "field",
              "name": "divi/text"
            }
          }
        }
      }
    },
    "description": {
      "type": "object",
      "selector": "{{selector}} .dina_icon_box-description p",
      "tagName": "div",
      "attributes": {
        "class": "dina_icon_box-description"
      },
      "inlineEditor": "richText",
      "childrenSanitizer": "et_core_esc_previously",
      "settings": {
        "decoration": {
          "font": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designDescription",
              "priority": 10,
              "render": true,
              "component": {
                "type": "group",
                "name": "divi/font",
                "props": {
                  "grouped": false,
                  "fieldLabel": "Description",
                  "fields": {
                    "headingLevel": {
                      "render": false
                    }
                  }
                }
              }
            }
          }
        },
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "contentMain",
            "attrName": "description.innerContent",
            "label": "Description",
            "priority": 40,
            "render": true,
            "features": {
              "sticky": false,
              "responsive": false,
              "hover": false,
              "dynamicContent": {
                "type": "text"
              }
            },
            "component": {
              "type": "field",
              "name": "divi/richtext"
            }
          }
        }
      }
    },
    "badge": {
      "type": "object",
      "selector": "{{selector}} .dina_icon_box-badge",
      "tagName": "span",
      "attributes": {
        "class": "dina_icon_box-badge"
      },
      "inlineEditor": "plainText",
      "childrenSanitizer": "et_core_esc_previously",
      "default": {
        "decoration": {
          "background": {
            "desktop": {
              "value": {
                "color": "#e02b20"
              }
            }
          },
          "spacing": {
            "desktop": {
              "value": {
                "padding": {
                  "top": "2px",
                  "right": "10px",
                  "bottom": "2px",
                  "left": "10px"
                }
              }
            }
          }
        }
      },
      "settings": {
        "decoration": {
          "background": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designBadge",
              "priority": 10,
              "render": true,
              "component": {
                "type": "group",
                "name": "divi/background",
                "props": {
                  "grouped": true,
                  "fieldLabel": "Badge"
                }
              }
            }
          },
          "spacing": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designBadge",
              "priority": 20,
              "render": true,
              "component": {
                "type": "group",
                "name": "divi/spacing",
                "props": {
                  "grouped": true,
                  "fieldLabel": "Badge",
                  "fields": {
                    "margin": {
                      "render": false
                    }
                  }
                }
              }
            }
          },
          "border": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designBadge",
              "priority": 30,
              "render": true,
              "component": {
                "type": "group",
                "name": "divi/border",
                "props": {
                  "grouped": true,
                  "fieldLabel": "Badge"
                }
              }
            }
          },
          "font": {
            "groupType": "group-item",
            "item": {
              "groupSlug": "designBadgeText",
              "priority": 40,
              "render": true,
              "component": {
                "type": "group",
                "name": "divi/font",
                "props": {
                  "grouped": false,
                  "fieldLabel": "Badge Text",
                  "fields": {
                    "headingLevel": {
                      "render": false
                    }
                  }
                }
              }
            }
          }
        },
        "innerContent": {
          "groupType": "group-item",
          "item": {
            "groupSlug": "contentBadge",
            "attrName": "badge.innerContent",
            "label": "Badge Text",
            "priority": 20,
            "render": true,
            "features": {
              "sticky": false,
              "responsive": false,
              "hover": false
            },
            "component": {
              "type": "field",
              "name": "divi/text"
            }
          }
        }
      }
    },
    "button": {
      "type": "object",
      "selector": "body #page-container {{selector}} .dina_icon_box-btn.et_pb_button",
      "elementType": "button",
      "elementProps": {
        "hasWrapper": false
      },
      "attributes": {
        "class": "dina_icon_box-btn dina_btn"
      },
      "styleProps": {
        "spacing": {
          "important": true
        },
        "border": {
          "important": true
        },
        "font": {
          "important": {
            "font": {
              "desktop": {
                "value": {
                  "color": true,
                  "line-height": true
                }
              }
            }
          }
        }
      },
      "settings": {
        "innerContent": {
          "groupType": "into-multiple-groups",
          "groups": {
            "text": {
              "groupType": "group-item",
              "item": {
                "priority": 20,
                "groupSlug": "contentButton",
                "render": true,
                "attrName": "button.innerContent",
                "subName": "text",
                "label": "Button Text",
                "features": {
                  "dynamicContent": {
                    "type": "text"
                  },
                  "sticky": false
                },
                "component": {
                  "name": "divi/text",
                  "type": "field"
                }
              }
            },
            "link": {
              "groupType": "group-item",
              "item": {
                "priority": 30,
                "groupSlug": "contentButton",
                "render": true,
                "component": {
                  "name": "divi/button-link",
                  "type": "group",
                  "props": {
                    "grouped": false,
                    "attrName": "button.innerContent",
                    "fieldLabel": "Button"
                  }
                }
              }
            }
          }
        },
        "decoration": {
          "background": {},
          "border": {},
          "boxShadow": {},
          "button": {},
          "font": {},
          "spacing": {}
        }
      }
    }
  },
  "customCssFields": {
    "iconWrapper": {
      "subName": "iconWrapper",
      "label": "Icon Wrapper",
      "selectorSuffix": " .dina_icon_box-icon"
    },
    "icon": {
      "subName": "icon",
      "label": "Icon",
      "selectorSuffix": " .dina_icon_box-icon i.dina_icon"
    },
    "title": {
      "subName": "title",
      "label": "Title",
      "selectorSuffix": " .dina_icon_box-content .dina_icon_box-title"
    },
    "subtitle": {
      "subName": "subtitle",
      "label": "Subtitle",
      "selectorSuffix": " .dina_icon_box-content .dina_icon_box-subtitle"
    },
    "description": {
      "subName": "description",
      "label": "Description",
      "selectorSuffix": " .dina_icon_box-content .dina_icon_box-description p"
    },
    "button": {
      "subName": "button",
      "label": "Button",
      "selectorSuffix": " .dina_icon_box-btn"
    }
  },
  "settings": {
    "content": "auto",
    "design": "auto",
    "advanced": "auto",
    "groups": {
      "contentMain": {
        "panel": "content",
        "priority": 10,
        "groupName": "contentMain",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Content"
          }
        }
      },
      "contentButton": {
        "panel": "content",
        "priority": 20,
        "groupName": "contentButton",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Button"
          }
        }
      },
      "contentBadge": {
        "panel": "content",
        "priority": 30,
        "groupName": "contentBadge",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Badge"
          }
        }
      },
      "designAlignment": {
        "panel": "design",
        "priority": 40,
        "groupName": "designAlignment",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Alignment"
          }
        }
      },
      "designIcon": {
        "panel": "design",
        "priority": 50,
        "groupName": "designIcon",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Icon"
          }
        }
      },
      "designTitle": {
        "panel": "design",
        "priority": 60,
        "groupName": "designTitle",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Title",
            "clipboardCategory": "style",
            "presetGroup": "divi/font"
          }
        }
      },
      "designSubtitle": {
        "panel": "design",
        "priority": 70,
        "groupName": "designSubtitle",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Subtitle",
            "clipboardCategory": "style",
            "presetGroup": "divi/font"
          }
        }
      },
      "designDescription": {
        "panel": "design",
        "priority": 80,
        "groupName": "designDescription",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Description",
            "clipboardCategory": "style",
            "presetGroup": "divi/font"
          }
        }
      },
      "designBadge": {
        "panel": "design",
        "priority": 90,
        "groupName": "designBadge",
        "multiElements": true,
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Badge"
          }
        }
      },
      "designBadgeText": {
        "panel": "design",
        "priority": 100,
        "groupName": "designBadgeText",
        "component": {
          "name": "divi/composite",
          "props": {
            "groupLabel": "Badge Text",
            "clipboardCategory": "style",
            "presetGroup": "divi/font"
          }
        }
      }
    }
  }
}
