@tailor-cms/ce-accordion-manifest 0.0.11 → 0.0.13
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 +3 -2
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +3 -2
- package/package.json +4 -1
package/dist/index.cjs
CHANGED
|
@@ -26,16 +26,17 @@ __export(src_exports, {
|
|
|
26
26
|
version: () => version
|
|
27
27
|
});
|
|
28
28
|
module.exports = __toCommonJS(src_exports);
|
|
29
|
+
var import_uuid = require("uuid");
|
|
29
30
|
var type = "CE_ACCORDION";
|
|
30
31
|
var name = "Accordion";
|
|
31
32
|
var initState = () => ({
|
|
32
33
|
embeds: {},
|
|
33
|
-
items: []
|
|
34
|
+
items: [{ id: (0, import_uuid.v4)(), title: "Accordion Item Title", elementIds: [] }]
|
|
34
35
|
});
|
|
35
36
|
var version = "1.0";
|
|
36
37
|
var ui = {
|
|
37
38
|
// Display icon, https://pictogrammers.com/library/mdi/
|
|
38
|
-
icon: "mdi-view-
|
|
39
|
+
icon: "mdi-view-day",
|
|
39
40
|
// Does element support only full width or can be used within layouts
|
|
40
41
|
// (e.g. 50/50 layout)
|
|
41
42
|
forceFullWidth: true
|
package/dist/index.d.cts
CHANGED
package/dist/index.d.ts
CHANGED
package/dist/index.js
CHANGED
|
@@ -1,14 +1,15 @@
|
|
|
1
1
|
// src/index.ts
|
|
2
|
+
import { v4 as uuid } from "uuid";
|
|
2
3
|
var type = "CE_ACCORDION";
|
|
3
4
|
var name = "Accordion";
|
|
4
5
|
var initState = () => ({
|
|
5
6
|
embeds: {},
|
|
6
|
-
items: []
|
|
7
|
+
items: [{ id: uuid(), title: "Accordion Item Title", elementIds: [] }]
|
|
7
8
|
});
|
|
8
9
|
var version = "1.0";
|
|
9
10
|
var ui = {
|
|
10
11
|
// Display icon, https://pictogrammers.com/library/mdi/
|
|
11
|
-
icon: "mdi-view-
|
|
12
|
+
icon: "mdi-view-day",
|
|
12
13
|
// Does element support only full width or can be used within layouts
|
|
13
14
|
// (e.g. 50/50 layout)
|
|
14
15
|
forceFullWidth: true
|
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": "0.0.
|
|
6
|
+
"version": "0.0.13",
|
|
7
7
|
"exports": {
|
|
8
8
|
".": {
|
|
9
9
|
"import": "./dist/index.js",
|
|
@@ -20,6 +20,9 @@
|
|
|
20
20
|
"tsup": "^7.2.0",
|
|
21
21
|
"typescript": "^5.1.6"
|
|
22
22
|
},
|
|
23
|
+
"dependencies": {
|
|
24
|
+
"uuid": "^11.0.5"
|
|
25
|
+
},
|
|
23
26
|
"tsup": {
|
|
24
27
|
"entry": [
|
|
25
28
|
"src/index.ts"
|