@tailor-cms/ce-accordion-manifest 2.0.0 → 2.0.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/dist/index.cjs CHANGED
@@ -4,27 +4,29 @@ Object.defineProperties(exports, {
4
4
  });
5
5
  let uuid = require("uuid");
6
6
  //#region src/index.ts
7
- const id1 = (0, uuid.v4)();
8
- const id2 = (0, uuid.v4)();
9
7
  const type = "ACCORDION";
10
8
  const name = "Accordion";
11
- const initState = () => ({
12
- embeds: {},
13
- items: {
14
- [id1]: {
15
- id: id1,
16
- header: "Accordion Item Title",
17
- body: {},
18
- position: 1
19
- },
20
- [id2]: {
21
- id: id2,
22
- header: "Accordion Item Title",
23
- body: {},
24
- position: 1
9
+ const initState = () => {
10
+ const id1 = (0, uuid.v4)();
11
+ const id2 = (0, uuid.v4)();
12
+ return {
13
+ embeds: {},
14
+ items: {
15
+ [id1]: {
16
+ id: id1,
17
+ header: "",
18
+ body: {},
19
+ position: 1
20
+ },
21
+ [id2]: {
22
+ id: id2,
23
+ header: "",
24
+ body: {},
25
+ position: 2
26
+ }
25
27
  }
26
- }
27
- });
28
+ };
29
+ };
28
30
  const version = "1.0";
29
31
  const ui = {
30
32
  icon: "mdi-view-day",
package/dist/index.mjs CHANGED
@@ -1,26 +1,28 @@
1
1
  import { v4 } from "uuid";
2
2
  //#region src/index.ts
3
- const id1 = v4();
4
- const id2 = v4();
5
3
  const type = "ACCORDION";
6
4
  const name = "Accordion";
7
- const initState = () => ({
8
- embeds: {},
9
- items: {
10
- [id1]: {
11
- id: id1,
12
- header: "Accordion Item Title",
13
- body: {},
14
- position: 1
15
- },
16
- [id2]: {
17
- id: id2,
18
- header: "Accordion Item Title",
19
- body: {},
20
- position: 1
5
+ const initState = () => {
6
+ const id1 = v4();
7
+ const id2 = v4();
8
+ return {
9
+ embeds: {},
10
+ items: {
11
+ [id1]: {
12
+ id: id1,
13
+ header: "",
14
+ body: {},
15
+ position: 1
16
+ },
17
+ [id2]: {
18
+ id: id2,
19
+ header: "",
20
+ body: {},
21
+ position: 2
22
+ }
21
23
  }
22
- }
23
- });
24
+ };
25
+ };
24
26
  const version = "1.0";
25
27
  const ui = {
26
28
  icon: "mdi-view-day",
package/package.json CHANGED
@@ -3,7 +3,7 @@
3
3
  "description": "Tailor CMS accordion element",
4
4
  "author": "Studion <info@gostudion.com> (https://github.com/tailor-cms)",
5
5
  "type": "module",
6
- "version": "2.0.0",
6
+ "version": "2.0.1",
7
7
  "exports": {
8
8
  ".": {
9
9
  "import": "./dist/index.mjs",