@pinkpixel/marzipan 1.0.7 → 1.0.8
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/README.md +1 -1
- package/dist/favicon.png +0 -0
- package/dist/icons.d.ts +1 -0
- package/dist/icons.d.ts.map +1 -1
- package/dist/icons.js +6 -0
- package/dist/icons.js.map +1 -1
- package/dist/index.js +420 -349
- package/dist/index.js.map +1 -1
- package/dist/logo.png +0 -0
- package/dist/marzipan.d.ts +26 -3
- package/dist/marzipan.d.ts.map +1 -1
- package/dist/marzipan.js +147 -64
- package/dist/marzipan.js.map +1 -1
- package/dist/plugins/imagePicker.d.ts +2 -0
- package/dist/plugins/imagePicker.d.ts.map +1 -1
- package/dist/plugins/imagePicker.js +17 -15
- package/dist/plugins/imagePicker.js.map +1 -1
- package/dist/plugins/tableGridPlugin.d.ts +4 -2
- package/dist/plugins/tableGridPlugin.d.ts.map +1 -1
- package/dist/plugins/tableGridPlugin.js +21 -21
- package/dist/plugins/tableGridPlugin.js.map +1 -1
- package/dist/plugins/tablePlugin.d.ts +7 -1
- package/dist/plugins/tablePlugin.d.ts.map +1 -1
- package/dist/plugins/tablePlugin.js +20 -19
- package/dist/plugins/tablePlugin.js.map +1 -1
- package/dist/styles.js +2 -2
- package/dist/toolbar.d.ts +4 -1
- package/dist/toolbar.d.ts.map +1 -1
- package/dist/toolbar.js +60 -20
- package/dist/toolbar.js.map +1 -1
- package/docs/api.md +95 -48
- package/docs/types.d.ts +57 -37
- package/package.json +1 -1
package/README.md
CHANGED
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
</div>
|
|
7
7
|
|
|
8
8
|
[](LICENSE)
|
|
9
|
-
[](CHANGELOG.md)
|
|
9
|
+
[](CHANGELOG.md)
|
|
10
10
|
[](https://marzipan.pinkpixel.dev)
|
|
11
11
|
|
|
12
12
|
## ✨ Highlights
|
package/dist/favicon.png
CHANGED
|
Binary file
|
package/dist/icons.d.ts
CHANGED
|
@@ -14,4 +14,5 @@ export declare const orderedListIcon = "<svg viewBox=\"0 0 18 18\">\n <line str
|
|
|
14
14
|
export declare const quoteIcon = "<svg viewBox=\"2 2 20 20\">\n <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M10 10.8182L9 10.8182C8.80222 10.8182 8.60888 10.7649 8.44443 10.665C8.27998 10.5651 8.15181 10.4231 8.07612 10.257C8.00043 10.0909 7.98063 9.90808 8.01922 9.73174C8.0578 9.55539 8.15304 9.39341 8.29289 9.26627C8.43275 9.13913 8.61093 9.05255 8.80491 9.01747C8.99889 8.98239 9.19996 9.00039 9.38268 9.0692C9.56541 9.13801 9.72159 9.25453 9.83147 9.40403C9.94135 9.55353 10 9.72929 10 9.90909L10 12.1818C10 12.664 9.78929 13.1265 9.41421 13.4675C9.03914 13.8084 8.53043 14 8 14\"></path>\n <path stroke=\"currentColor\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" d=\"M16 10.8182L15 10.8182C14.8022 10.8182 14.6089 10.7649 14.4444 10.665C14.28 10.5651 14.1518 10.4231 14.0761 10.257C14.0004 10.0909 13.9806 9.90808 14.0192 9.73174C14.0578 9.55539 14.153 9.39341 14.2929 9.26627C14.4327 9.13913 14.6109 9.05255 14.8049 9.01747C14.9989 8.98239 15.2 9.00039 15.3827 9.0692C15.5654 9.13801 15.7216 9.25453 15.8315 9.40403C15.9414 9.55353 16 9.72929 16 9.90909L16 12.1818C16 12.664 15.7893 13.1265 15.4142 13.4675C15.0391 13.8084 14.5304 14 14 14\"></path>\n</svg>";
|
|
15
15
|
export declare const taskListIcon = "<svg viewBox=\"0 0 18 18\">\n <line stroke=\"currentColor\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" x1=\"8\" x2=\"16\" y1=\"4\" y2=\"4\"></line>\n <line stroke=\"currentColor\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" x1=\"8\" x2=\"16\" y1=\"9\" y2=\"9\"></line>\n <line stroke=\"currentColor\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"2\" x1=\"8\" x2=\"16\" y1=\"14\" y2=\"14\"></line>\n <rect stroke=\"currentColor\" fill=\"none\" stroke-width=\"1.5\" x=\"2\" y=\"3\" width=\"3\" height=\"3\" rx=\"0.5\"></rect>\n <rect stroke=\"currentColor\" fill=\"none\" stroke-width=\"1.5\" x=\"2\" y=\"13\" width=\"3\" height=\"3\" rx=\"0.5\"></rect>\n <polyline stroke=\"currentColor\" fill=\"none\" stroke-linecap=\"round\" stroke-linejoin=\"round\" stroke-width=\"1.5\" points=\"2.65 9.5 3.5 10.5 5 8.5\"></polyline>\n</svg>";
|
|
16
16
|
export declare const eyeIcon = "<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z\" fill=\"none\"></path>\n <circle cx=\"12\" cy=\"12\" r=\"3\" fill=\"none\"></circle>\n</svg>";
|
|
17
|
+
export declare const eyeOffIcon = "<svg viewBox=\"0 0 24 24\" fill=\"none\" stroke=\"currentColor\" stroke-width=\"2\" stroke-linecap=\"round\" stroke-linejoin=\"round\">\n <path d=\"M17.94 17.94A10.94 10.94 0 0 1 12 20c-7 0-11-8-11-8a20.29 20.29 0 0 1 5.06-6.88\"></path>\n <path d=\"M9.9 4.24A10.94 10.94 0 0 1 12 4c7 0 11 8 11 8a20.29 20.29 0 0 1-4.22 5.02\"></path>\n <path d=\"M1 1l22 22\"></path>\n <path d=\"M14.12 14.12A3 3 0 0 1 9.88 9.88\"></path>\n</svg>";
|
|
17
18
|
//# sourceMappingURL=icons.d.ts.map
|
package/dist/icons.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../src/icons.ts"],"names":[],"mappings":"AACA;;;GAGG;AAEH,eAAO,MAAM,QAAQ,2dAGd,CAAC;AAER,eAAO,MAAM,UAAU,ihBAIhB,CAAC;AAER,eAAO,MAAM,MAAM,wlBAEZ,CAAC;AAER,eAAO,MAAM,MAAM,wpBAEZ,CAAC;AAER,eAAO,MAAM,MAAM,02BAEZ,CAAC;AAER,eAAO,MAAM,QAAQ,osBAId,CAAC;AAER,eAAO,MAAM,QAAQ,wgBAId,CAAC;AAGR,eAAO,MAAM,cAAc,q/BAOpB,CAAC;AAER,eAAO,MAAM,eAAe,2zCAQrB,CAAC;AAER,eAAO,MAAM,SAAS,ysCAGf,CAAC;AAER,eAAO,MAAM,YAAY,27BAOlB,CAAC;AAER,eAAO,MAAM,OAAO,qSAGb,CAAC"}
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../src/icons.ts"],"names":[],"mappings":"AACA;;;GAGG;AAEH,eAAO,MAAM,QAAQ,2dAGd,CAAC;AAER,eAAO,MAAM,UAAU,ihBAIhB,CAAC;AAER,eAAO,MAAM,MAAM,wlBAEZ,CAAC;AAER,eAAO,MAAM,MAAM,wpBAEZ,CAAC;AAER,eAAO,MAAM,MAAM,02BAEZ,CAAC;AAER,eAAO,MAAM,QAAQ,osBAId,CAAC;AAER,eAAO,MAAM,QAAQ,wgBAId,CAAC;AAGR,eAAO,MAAM,cAAc,q/BAOpB,CAAC;AAER,eAAO,MAAM,eAAe,2zCAQrB,CAAC;AAER,eAAO,MAAM,SAAS,ysCAGf,CAAC;AAER,eAAO,MAAM,YAAY,27BAOlB,CAAC;AAER,eAAO,MAAM,OAAO,qSAGb,CAAC;AAER,eAAO,MAAM,UAAU,ubAKhB,CAAC"}
|
package/dist/icons.js
CHANGED
|
@@ -64,4 +64,10 @@ export const eyeIcon = `<svg viewBox="0 0 24 24" fill="none" stroke="currentColo
|
|
|
64
64
|
<path d="M1 12s4-8 11-8 11 8 11 8-4 8-11 8-11-8-11-8z" fill="none"></path>
|
|
65
65
|
<circle cx="12" cy="12" r="3" fill="none"></circle>
|
|
66
66
|
</svg>`;
|
|
67
|
+
export const eyeOffIcon = `<svg viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round">
|
|
68
|
+
<path d="M17.94 17.94A10.94 10.94 0 0 1 12 20c-7 0-11-8-11-8a20.29 20.29 0 0 1 5.06-6.88"></path>
|
|
69
|
+
<path d="M9.9 4.24A10.94 10.94 0 0 1 12 4c7 0 11 8 11 8a20.29 20.29 0 0 1-4.22 5.02"></path>
|
|
70
|
+
<path d="M1 1l22 22"></path>
|
|
71
|
+
<path d="M14.12 14.12A3 3 0 0 1 9.88 9.88"></path>
|
|
72
|
+
</svg>`;
|
|
67
73
|
//# sourceMappingURL=icons.js.map
|
package/dist/icons.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.js","sourceRoot":"","sources":["../src/icons.ts"],"names":[],"mappings":"AAAA,cAAc;AACd;;;GAGG;AAEH,MAAM,CAAC,MAAM,QAAQ,GAAG;;;OAGjB,CAAC;AAER,MAAM,CAAC,MAAM,UAAU,GAAG;;;;OAInB,CAAC;AAER,MAAM,CAAC,MAAM,MAAM,GAAG;;OAEf,CAAC;AAER,MAAM,CAAC,MAAM,MAAM,GAAG;;OAEf,CAAC;AAER,MAAM,CAAC,MAAM,MAAM,GAAG;;OAEf,CAAC;AAER,MAAM,CAAC,MAAM,QAAQ,GAAG;;;;OAIjB,CAAC;AAER,MAAM,CAAC,MAAM,QAAQ,GAAG;;;;OAIjB,CAAC;AAGR,MAAM,CAAC,MAAM,cAAc,GAAG;;;;;;;OAOvB,CAAC;AAER,MAAM,CAAC,MAAM,eAAe,GAAG;;;;;;;;OAQxB,CAAC;AAER,MAAM,CAAC,MAAM,SAAS,GAAG;;;OAGlB,CAAC;AAER,MAAM,CAAC,MAAM,YAAY,GAAG;;;;;;;OAOrB,CAAC;A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