├── .travis.yml
├── .editorconfig
├── .gitignore
├── .eslintrc
├── .npmignore
├── src
├── blocks.js
├── components
│ ├── index.js
│ ├── AccordionContent.js
│ ├── Accordion.js
│ ├── AccordionContainer.js
│ └── Accordions.js
└── index.js
├── SECURITY.md
├── package.json
├── LICENSE
├── .github
└── workflows
│ └── codeql-analysis.yml
├── README.md
└── dist
├── grapesjs-accordion.min.js
└── grapesjs-accordion.min.js.map
/.travis.yml:
--------------------------------------------------------------------------------
1 | language: node_js
2 | node_js:
3 | - "8"
4 | - "10"
5 |
--------------------------------------------------------------------------------
/.editorconfig:
--------------------------------------------------------------------------------
1 | root = true
2 |
3 | [*]
4 | end_of_line = lf
5 | insert_final_newline = true
6 |
7 | [*.js]
8 | charset = utf-8
9 | indent_style = space
10 | indent_size = 2
--------------------------------------------------------------------------------
/.gitignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | .settings/
3 | .sass-cache/
4 | .project
5 | .idea
6 | npm-debug.log*
7 | yarn-error.log
8 | yarn.lock
9 | style/.sass-cache/
10 | stats.json
11 |
12 | img/
13 | images/
14 | private/
15 | vendor/
16 | coverage/
17 | /locale/
18 | node_modules/
19 | bower_components/
20 | grapesjs-*.tgz
21 | _index.html
22 | docs/.vuepress/dist
--------------------------------------------------------------------------------
/.eslintrc:
--------------------------------------------------------------------------------
1 | {
2 | "env": {
3 | "browser": true,
4 | "node": true
5 | },
6 | "parserOptions": {
7 | "ecmaVersion": 2018,
8 | "sourceType": "module"
9 | },
10 | "rules": {
11 | "strict": 0,
12 | "quotes": [0, "single"],
13 | "eol-last": [0],
14 | "no-mixed-requires": [0],
15 | "no-underscore-dangle": [0]
16 | }
17 | }
18 |
--------------------------------------------------------------------------------
/.npmignore:
--------------------------------------------------------------------------------
1 | .DS_Store
2 | .settings/
3 | .sass-cache/
4 | .project
5 | .idea
6 | npm-debug.log*
7 | yarn-error.log
8 | yarn.lock
9 | style/.sass-cache/
10 | stats.json
11 |
12 | img/
13 | images/
14 | private/
15 | vendor/
16 | coverage/
17 | node_modules/
18 | bower_components/
19 | grapesjs-*.tgz
20 | _index.html
21 | index.html
22 | docs
23 | .github
24 | test
25 | .editorconfig
26 | .eslintrc
27 | .travis.yml
28 | *.md
29 | webpack.config.js
--------------------------------------------------------------------------------
/src/blocks.js:
--------------------------------------------------------------------------------
1 | export default (editor, config = {}) => {
2 | const bm = editor.BlockManager;
3 | const accordionsBlock = config.accordionsBlock;
4 | const style = config.style;
5 | const type = "accordions";
6 | const content = `
7 | ${style ? `` : ""}`;
8 |
9 | accordionsBlock &&
10 | bm.add(type, {
11 | label: "Accordions Menu",
12 | attributes: { class: "fa fa-arrow-circle-down" },
13 | content,
14 | ...accordionsBlock,
15 | });
16 | };
17 |
--------------------------------------------------------------------------------
/SECURITY.md:
--------------------------------------------------------------------------------
1 | # Security Policy
2 |
3 | ## Supported Versions
4 |
5 | Use this section to tell people about which versions of your project are
6 | currently being supported with security updates.
7 |
8 | | Version | Supported |
9 | | ------- | ------------------ |
10 | | 5.1.x | :white_check_mark: |
11 | | 5.0.x | :x: |
12 | | 4.0.x | :white_check_mark: |
13 | | < 4.0 | :x: |
14 |
15 | ## Reporting a Vulnerability
16 |
17 | Use this section to tell people how to report a vulnerability.
18 |
19 | Tell them where to go, how often they can expect to get an update on a
20 | reported vulnerability, what to expect if the vulnerability is accepted or
21 | declined, etc.
22 |
--------------------------------------------------------------------------------
/src/components/index.js:
--------------------------------------------------------------------------------
1 | import Accordion from './Accordion';
2 | import Accordions from './Accordions';
3 | import AccordionContent from './AccordionContent';
4 | import AccordionContainer from './AccordionContainer';
5 |
6 | export default (editor, config = {}) => {
7 | const dc = editor.DomComponents;
8 | const defaultType = dc.getType('default');
9 | const linkType = dc.getType('link');
10 | const defaultModel = defaultType.model;
11 | const defaultView = defaultType.view;
12 | const linkModel = linkType.model;
13 | const linkView = linkType.view;
14 | const opts = {
15 | ...config,
16 | defaultModel,
17 | defaultView,
18 | linkModel,
19 | linkView,
20 | };
21 |
22 | Accordion(dc, opts);
23 | Accordions(dc, opts);
24 | AccordionContent(dc, opts);
25 | AccordionContainer(dc, opts);
26 | }
27 |
--------------------------------------------------------------------------------
/package.json:
--------------------------------------------------------------------------------
1 | {
2 | "name": "grapesjs-accordion",
3 | "version": "1.0.10",
4 | "description": "grapesjs-accordion",
5 | "main": "dist/grapesjs-accordion.min.js",
6 | "repository": {
7 | "type": "git",
8 | "url": "https://github.com/anubhavjain786/grapesjs-accordion.git"
9 | },
10 | "scripts": {
11 | "start": "grapesjs-cli serve",
12 | "build": "grapesjs-cli build",
13 | "bump": "npm version patch -m 'Bump v%s'"
14 | },
15 | "keywords": [
16 | "grapesjs",
17 | "plugin",
18 | "accordion",
19 | "grapesjs-accordion",
20 | "grapesjs-tabs"
21 | ],
22 | "devDependencies": {
23 | "grapesjs-cli": "^1.0.13"
24 | },
25 | "license": "MIT",
26 | "bugs": {
27 | "url": "https://github.com/Anubhavjain786/grapesjs-accordion/issues"
28 | },
29 | "homepage": "https://github.com/Anubhavjain786/grapesjs-accordion#readme"
30 | }
31 |
--------------------------------------------------------------------------------
/LICENSE:
--------------------------------------------------------------------------------
1 | MIT License Copyright (c) 2020-current grapesjs-accordion
2 |
3 | Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions:
4 |
5 | The above copyright notice and this permission notice (including the next paragraph) shall be included in all copies or substantial portions of the Software.
6 |
7 | THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
--------------------------------------------------------------------------------
/src/components/AccordionContent.js:
--------------------------------------------------------------------------------
1 | export default (dc, { defaultModel, defaultView, ...config }) => {
2 | const type = "accordion-content";
3 | const attrKey = config.attrAccordionContent;
4 | const classKey = config.classAccordionContent;
5 |
6 | dc.addType(type, {
7 | model: defaultModel.extend(
8 | {
9 | defaults: {
10 | ...defaultModel.prototype.defaults,
11 | name: "Accordion Content",
12 | draggable: `[${config.attrAccordionContainer}]`,
13 | copyable: false,
14 | removable: false,
15 | selectable: true,
16 | ...config.accordionContentProps,
17 | },
18 |
19 | init() {
20 | const attrs = this.getAttributes();
21 | attrs[attrKey] = 1;
22 | this.setAttributes(attrs);
23 | classKey && this.addClass(classKey);
24 | },
25 | },
26 | {
27 | isComponent(el) {
28 | if (el.hasAttribute && el.hasAttribute(attrKey)) {
29 | return { type };
30 | }
31 | },
32 | }
33 | ),
34 |
35 | view: defaultView,
36 | });
37 | };
38 |
--------------------------------------------------------------------------------
/src/components/Accordion.js:
--------------------------------------------------------------------------------
1 | export default (dc, { linkModel, linkView, ...config }) => {
2 | const type = "accordion";
3 | const attrKey = config.attrAccordion;
4 | const classKey = config.classAccordion;
5 | const selectorAccordion = config.selectorAccordion;
6 |
7 | dc.addType(type, {
8 | model: linkModel.extend(
9 | {
10 | defaults: {
11 | ...linkModel.prototype.defaults,
12 | name: "Accordion",
13 | draggable: `[${config.attrAccordionContainer}]`,
14 | droppable: false,
15 | copyable: false,
16 | removable: false,
17 | selectable: false,
18 | ...config.accordionProps,
19 | },
20 |
21 | init() {
22 | const attrs = this.getAttributes();
23 | attrs[attrKey] = 1;
24 | this.setAttributes(attrs);
25 | classKey && this.addClass(classKey);
26 | },
27 |
28 | clone() {
29 | const cloned = linkModel.prototype.clone.apply(this, arguments);
30 | cloned.addAttributes({ [selectorAccordion]: "" });
31 | return cloned;
32 | },
33 | },
34 | {
35 | isComponent(el) {
36 | if (el.hasAttribute && el.hasAttribute(attrKey)) {
37 | return { type };
38 | }
39 | },
40 | }
41 | ),
42 | view: linkView,
43 | });
44 | };
45 |
--------------------------------------------------------------------------------
/src/components/AccordionContainer.js:
--------------------------------------------------------------------------------
1 | export default (dc, { defaultModel, defaultView, ...config }) => {
2 | const type = "accordion-container";
3 | const attrAccordions = config.attrAccordions;
4 | const attrKey = config.attrAccordionContainer;
5 | const classKey = config.classAccordionContainer;
6 | const attrAccordionContent = config.attrAccordionContent;
7 | const selectorAccordion = config.selectorAccordion;
8 |
9 | dc.addType(type, {
10 | model: defaultModel.extend(
11 | {
12 | defaults: {
13 | ...defaultModel.prototype.defaults,
14 | name: "Accordion Container",
15 | draggable: `[${attrAccordions}, ${attrAccordionContent}]`,
16 | droppable: false,
17 | copyable: true,
18 | removable: true,
19 | ...config.accordionContainerProps,
20 | },
21 |
22 | init() {
23 | const attrs = this.getAttributes();
24 | attrs[attrKey] = 1;
25 | this.setAttributes(attrs);
26 | classKey && this.addClass(classKey);
27 | this.listenTo(this, "add", this.onAdd);
28 | },
29 |
30 | onAdd() {
31 | const componentModels = this.components().models;
32 | if (componentModels && Array.isArray(componentModels)) {
33 | let accordionContentID;
34 | for (let i = componentModels.length - 1; i >= 0; i--) {
35 | const model = componentModels[i];
36 | const attrs = model.getAttributes();
37 | if (attrs[`${attrAccordionContent}`]) {
38 | accordionContentID = model.getId();
39 | model.setId(accordionContentID);
40 | } else {
41 | model.addAttributes({
42 | [selectorAccordion]: `#${accordionContentID}`,
43 | });
44 | }
45 | }
46 | }
47 | },
48 | },
49 | {
50 | isComponent(el) {
51 | if (el.hasAttribute && el.hasAttribute(attrKey)) {
52 | return { type };
53 | }
54 | },
55 | }
56 | ),
57 |
58 | view: defaultView,
59 | });
60 | };
61 |
--------------------------------------------------------------------------------
/.github/workflows/codeql-analysis.yml:
--------------------------------------------------------------------------------
1 | # For most projects, this workflow file will not need changing; you simply need
2 | # to commit it to your repository.
3 | #
4 | # You may wish to alter this file to override the set of languages analyzed,
5 | # or to provide custom queries or build logic.
6 | #
7 | # ******** NOTE ********
8 | # We have attempted to detect the languages in your repository. Please check
9 | # the `language` matrix defined below to confirm you have the correct set of
10 | # supported CodeQL languages.
11 | #
12 | name: "CodeQL"
13 |
14 | on:
15 | push:
16 | branches: [ master ]
17 | pull_request:
18 | # The branches below must be a subset of the branches above
19 | branches: [ master ]
20 | schedule:
21 | - cron: '40 14 * * 0'
22 |
23 | jobs:
24 | analyze:
25 | name: Analyze
26 | runs-on: ubuntu-latest
27 | permissions:
28 | actions: read
29 | contents: read
30 | security-events: write
31 |
32 | strategy:
33 | fail-fast: false
34 | matrix:
35 | language: [ 'javascript' ]
36 | # CodeQL supports [ 'cpp', 'csharp', 'go', 'java', 'javascript', 'python' ]
37 | # Learn more:
38 | # https://docs.github.com/en/free-pro-team@latest/github/finding-security-vulnerabilities-and-errors-in-your-code/configuring-code-scanning#changing-the-languages-that-are-analyzed
39 |
40 | steps:
41 | - name: Checkout repository
42 | uses: actions/checkout@v2
43 |
44 | # Initializes the CodeQL tools for scanning.
45 | - name: Initialize CodeQL
46 | uses: github/codeql-action/init@v1
47 | with:
48 | languages: ${{ matrix.language }}
49 | # If you wish to specify custom queries, you can do so here or in a config file.
50 | # By default, queries listed here will override any specified in a config file.
51 | # Prefix the list here with "+" to use these queries and those in the config file.
52 | # queries: ./path/to/local/query, your-org/your-repo/queries@main
53 |
54 | # Autobuild attempts to build any compiled languages (C/C++, C#, or Java).
55 | # If this step fails, then you should remove it and run the build manually (see below)
56 | - name: Autobuild
57 | uses: github/codeql-action/autobuild@v1
58 |
59 | # ℹ️ Command-line programs to run using the OS shell.
60 | # 📚 https://git.io/JvXDl
61 |
62 | # ✏️ If the Autobuild fails above, remove it and uncomment the following three lines
63 | # and modify them (or add more) to build your code if your project
64 | # uses a compiled language
65 |
66 | #- run: |
67 | # make bootstrap
68 | # make release
69 |
70 | - name: Perform CodeQL Analysis
71 | uses: github/codeql-action/analyze@v1
72 |
--------------------------------------------------------------------------------
/src/index.js:
--------------------------------------------------------------------------------
1 | import loadComponents from "./components/index";
2 | import loadBlocks from "./blocks";
3 |
4 | const attrAccordion = "data-accordion";
5 | const attrAccordions = "data-accordions";
6 | const attrAccordionContent = "data-accordion-content";
7 | const attrAccordionContainer = "data-accordion-container";
8 |
9 | export default (editor, opts = {}) => {
10 | const options = {
11 | ...{
12 | // Object to extend the default accordions block, eg. `{ label: 'Accordions', attributes: { ... } }`
13 | // Pass a falsy value to avoid adding the block
14 | accordionsBlock: {},
15 |
16 | // Object to extend the default accordions properties, eg. `{ name: 'My Accordions', droppable: false, ... }`
17 | accordionsProps: {},
18 |
19 | // Object to extend the default accordion properties
20 | accordionProps: {},
21 |
22 | // Object to extend the default accordion content properties
23 | accordionContentProps: {},
24 |
25 | // Object to extend the default accordion container properties
26 | accordionContainerProps: {},
27 |
28 | // Accordions attribute identifier (main component)
29 | attrAccordions,
30 |
31 | // Accordion attribute identifier
32 | attrAccordion,
33 |
34 | // Accordion content attribute identifier
35 | attrAccordionContent,
36 |
37 | // Accordion container attribute identifier
38 | attrAccordionContainer,
39 |
40 | // Default class to use on accordion
41 | classAccordion: "accordion",
42 |
43 | // Class used on accordions when active
44 | classAccordionActive: "accordion-active",
45 |
46 | // Default class to use on accordion content
47 | classAccordionContent: "accordion-content",
48 |
49 | // Default class to use on accordion container
50 | classAccordionContainer: "accordion-container",
51 |
52 | // The attribute used inside accordions as a selector for accordion contents
53 | selectorAccordion: "href",
54 |
55 | // Default accordions template
56 | template: `
57 |
58 |
Accordion 1
59 |
60 |
Accordion 1 Content
61 |
62 |
63 |
64 |
Accordion 2
65 |
66 |
Accordion 2 Content
67 |
68 |
69 |
70 |
Accordion 3
71 |
72 |
Accordion 3 Content
73 |
74 |
75 | `,
76 |
77 | // Default template for new added accordion contents
78 | templateAccordionContent: `New Accordion Content
`,
79 |
80 | style: `
81 | .accordion {
82 | text-decoration: none;
83 | color: inherit;
84 | padding: 7px 14px;
85 | transition: opacity 0.3s;
86 | display: block;
87 | border-radius: 3px;
88 | margin-right: 10px;
89 | background-color: #eee;
90 | margin-top: 5px;
91 | }
92 |
93 | .accordion-content {
94 | display: none;
95 | padding: 6px 12px;
96 | min-height: 100px;
97 | border: solid 1px #eee;
98 | }
99 |
100 | `,
101 | },
102 | ...opts,
103 | };
104 |
105 | // Add components
106 | loadComponents(editor, options);
107 | // Add blocks
108 | loadBlocks(editor, options);
109 | };
110 |
--------------------------------------------------------------------------------
/src/components/Accordions.js:
--------------------------------------------------------------------------------
1 | export default (dc, { defaultModel, defaultView, ...config }) => {
2 | const type = "accordions";
3 | const attrAccordions = config.attrAccordions;
4 |
5 | dc.addType(type, {
6 | model: defaultModel.extend(
7 | {
8 | defaults: {
9 | ...defaultModel.prototype.defaults,
10 | copyable: false,
11 | droppable: false,
12 | name: "Accordions",
13 | "attr-accordions": config.attrAccordions,
14 | "attr-accordion": config.attrAccordion,
15 | "attr-accordion-content": config.attrAccordionContent,
16 | "attr-accordion-container": config.attrAccordionContainer,
17 | "class-accordion-active": config.classAccordionActive,
18 | "selector-accordion": config.selectorAccordion,
19 |
20 | script() {
21 | var i;
22 | var el = this;
23 | var attrAccordions = "[" + "{[ attr-accordions ]}" + "]";
24 | var attrAccordion = "[" + "{[ attr-accordion ]}" + "]";
25 | var attrAccordionContent =
26 | "[" + "{[ attr-accordion-content ]}" + "]";
27 | var attrAccordionContainer =
28 | "[" + "{[ attr-accordion-container ]}" + "]";
29 | var classAccordionActive = "{[ class-accordion-active ]}";
30 | var selectorAccordion = "{[ selector-accordion ]}";
31 | var body = document.body;
32 | var matches =
33 | body.matchesSelector ||
34 | body.webkitMatchesSelector ||
35 | body.mozMatchesSelector ||
36 | body.msMatchesSelector;
37 |
38 | // var hideContents = () => {
39 | // var accordionContents =
40 | // el.querySelectorAll(attrAccordionContent) || [];
41 | // if (accordionContents) {
42 | // for (i = 0; i < accordionContents.length; i++) {
43 | // accordionContents[i].style.display = "none";
44 | // }
45 | // }
46 | // };
47 |
48 | var activeAccordion = (accordionEl) => {
49 | var accordionContainers =
50 | el.querySelectorAll(attrAccordionContainer) || [];
51 |
52 | if (accordionContainer) {
53 | for (i = 0; i < accordionContainers.length; i++) {
54 | var accordionContainer = accordionContainers[i];
55 | var newClass = accordionContainer.className
56 | .replace(classAccordionActive, "")
57 | .trim();
58 |
59 | accordionContainer.className = newClass;
60 | }
61 | }
62 |
63 | // hideContents();
64 | accordionEl.className += " " + classAccordionActive;
65 | };
66 |
67 | var deactiveAccordion = (accordionEl) => {
68 | var newClass = accordionEl.className
69 | .replace(classAccordionActive, "")
70 | .trim();
71 | accordionEl.className = newClass;
72 | };
73 |
74 | el.addEventListener("click", (e) => {
75 | var target = e.target;
76 | if (matches.call(target, attrAccordion)) {
77 | if (
78 | el.querySelector(target.getAttribute(selectorAccordion)).style
79 | .display === "block"
80 | ) {
81 | deactiveAccordion(target.parentElement);
82 | el.querySelector(
83 | target.getAttribute(selectorAccordion)
84 | ).style.display = "none";
85 | } else {
86 | activeAccordion(target.parentElement);
87 | el.querySelector(
88 | target.getAttribute(selectorAccordion)
89 | ).style.display = "block";
90 | }
91 | }
92 | });
93 | },
94 | ...config.accordionsProps,
95 | },
96 |
97 | init() {
98 | const attrs = this.getAttributes();
99 | attrs[config.attrAccordions] = 1;
100 | this.setAttributes(attrs);
101 | },
102 | },
103 | {
104 | isComponent(el) {
105 | if (el.hasAttribute && el.hasAttribute(attrAccordions)) {
106 | return { type };
107 | }
108 | },
109 | }
110 | ),
111 |
112 | view: defaultView.extend({
113 | init() {
114 | const comps = this.model.components();
115 | !comps.length && comps.add(config.template);
116 | },
117 |
118 | onRender() {},
119 | }),
120 | });
121 | };
122 |
--------------------------------------------------------------------------------
/README.md:
--------------------------------------------------------------------------------
1 | # grapesjs-accordion
2 |
3 |
4 |
5 |
6 |
7 |
8 |
9 |
10 |
11 |
12 |
13 |
14 |
15 |
16 |
17 | [DEMO](http://grapesjs.com/demo.html)
18 |
19 |
22 |
23 | ### Requirements
24 |
25 | ```
26 | - GrapesJS v0.13.8 or higher
27 | ```
28 |
29 | ### HTML
30 |
31 | ```html
32 |
36 |
37 |
38 |
39 |
40 | ```
41 |
42 | ### JS
43 |
44 | ```js
45 | const editor = grapesjs.init({
46 | container: "#gjs",
47 | height: "100%",
48 | fromElement: true,
49 | storageManager: false,
50 | plugins: ["grapesjs-accordion"],
51 | });
52 | ```
53 |
54 | ### CSS
55 |
56 | ```css
57 | body,
58 | html {
59 | margin: 0;
60 | height: 100%;
61 | }
62 | ```
63 |
64 | ## Summary
65 |
66 | - Plugin name: `grapesjs-accordion`
67 | - Components
68 | - `accordions` - Main accordions component
69 | - `accordion-container` - Component which contains a single accordion
70 | - `accordion` - Single accordion component
71 | - `accordion-content` - Accordion's content
72 | - Blocks
73 | - `accordions`
74 |
75 | ## Options
76 |
77 | | Option | Description | Default |
78 | | -------------------------- | ----------------------------------------------------------------------------------------------------------------------------------------------- | -------------------------------------- |
79 | | `accordionsBlock` | Object to extend the default accordions block, eg. `{ label: 'Accordions', attributes: { ... } }`. Pass a falsy value to avoid adding the block | `{}` |
80 | | `accordionsProps` | Object to extend the default accordions properties, eg. `{ name: 'My Accordions', droppable: false, ... }` | `{}` |
81 | | `accordionProps` | Object to extend the default accordion properties | `{}` |
82 | | `accordionContentProps` | Object to extend the default accordion content properties | `{}` |
83 | | `accordionContainerProps` | Object to extend the default accordion container properties | `{}` |
84 | | `attrAccordions` | Accordions attribute identifier (main component) | `data-accordions` |
85 | | `attrAccordion` | Accordion attribute identifier | `data-accordion` |
86 | | `attrAccordionContent` | Accordion content attribute identifier | `data-accordion-content` |
87 | | `attrAccordionContainer` | Accordion container attribute identifier | `data-accordion-container` |
88 | | `classAccordion` | Default class to use on accordion | `accordion` |
89 | | `classAccordionActive` | Class used on accordions when active | `accordion-active` |
90 | | `classAccordionContent` | Default class to use on accordion content | `accordion-content` |
91 | | `classAccordionContainer` | Default class to use on accordion container | `accordion-container` |
92 | | `selectorAccordion` | The attribute used inside accordions as a selector for accordion contents | `href` |
93 | | `template` | Default accordions template | `