@maily-to/core 2.0.0-beta.1 → 2.0.0-beta.10

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.
Files changed (49) hide show
  1. package/LICENSE +21 -0
  2. package/dist/blocks/index.cjs +8 -1
  3. package/dist/blocks/index.d.cts +1 -38
  4. package/dist/blocks/index.d.mts +14 -6
  5. package/dist/blocks/index.d.mts.map +1 -1
  6. package/dist/blocks/index.mjs +2 -2
  7. package/dist/extensions/index.cjs +266 -286
  8. package/dist/extensions/index.d.cts +1 -379
  9. package/dist/extensions/index.d.mts +127 -224
  10. package/dist/extensions/index.d.mts.map +1 -1
  11. package/dist/extensions/index.mjs +238 -271
  12. package/dist/index.cjs +8717 -11689
  13. package/dist/index.d.cts +1 -107
  14. package/dist/index.d.mts +711 -73
  15. package/dist/index.d.mts.map +1 -1
  16. package/dist/index.mjs +8397 -11474
  17. package/dist/{slash-command-BmWRVPbv.d.mts → slash-command-BrwA1bHs.d.mts} +10 -11
  18. package/dist/slash-command-BrwA1bHs.d.mts.map +1 -0
  19. package/dist/theme-D1CI7_8s.d.mts +70 -0
  20. package/dist/theme-D1CI7_8s.d.mts.map +1 -0
  21. package/dist/typography-BdOKvXfQ.mjs +911 -0
  22. package/dist/typography-D-VnwOSw.cjs +970 -0
  23. package/dist/typography-DW7VApAR.cjs +1072 -0
  24. package/dist/use-maily-editor-Atvy2kSO.cjs +3993 -0
  25. package/dist/use-maily-editor-CByaDhmT.cjs +4955 -0
  26. package/dist/use-maily-editor-idL0RNsG.mjs +4504 -0
  27. package/package.json +102 -90
  28. package/readme.md +177 -133
  29. package/src/styles/index.css +2537 -0
  30. package/dist/blocks/index.d.cts.map +0 -1
  31. package/dist/chunk-CfYAbeIz.mjs +0 -13
  32. package/dist/extensions/index.d.cts.map +0 -1
  33. package/dist/extensions/index.mjs.map +0 -1
  34. package/dist/index.css +0 -2312
  35. package/dist/index.d.cts.map +0 -1
  36. package/dist/index.mjs.map +0 -1
  37. package/dist/slash-command-BmWRVPbv.d.mts.map +0 -1
  38. package/dist/slash-command-CK0-1FwR.d.cts +0 -39
  39. package/dist/slash-command-CK0-1FwR.d.cts.map +0 -1
  40. package/dist/spacer-DBtsr3hu.cjs +0 -5768
  41. package/dist/spacer-DzZWX-wB.mjs +0 -5456
  42. package/dist/spacer-DzZWX-wB.mjs.map +0 -1
  43. package/dist/typography-CWL13acR.cjs +0 -400
  44. package/dist/typography-DhrUe809.mjs +0 -282
  45. package/dist/typography-DhrUe809.mjs.map +0 -1
  46. package/dist/variable-C9S9ZoHv.d.cts +0 -108
  47. package/dist/variable-C9S9ZoHv.d.cts.map +0 -1
  48. package/dist/variable-DVwGrg2a.d.mts +0 -108
  49. package/dist/variable-DVwGrg2a.d.mts.map +0 -1
package/LICENSE ADDED
@@ -0,0 +1,21 @@
1
+ MIT License
2
+
3
+ Copyright (c) Arik Chakma
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to deal
7
+ in the Software without restriction, including without limitation the rights
8
+ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
9
+ copies of the Software, and to permit persons to whom the Software is
10
+ furnished to do so, subject to the following conditions:
11
+
12
+ The above copyright notice and this permission notice shall be included in all
13
+ copies or substantial portions of the Software.
14
+
15
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
16
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
17
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
18
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
19
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
20
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
21
+ SOFTWARE.
@@ -1,5 +1,5 @@
1
1
  Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
2
- const require_typography = require("../typography-CWL13acR.cjs");
2
+ const require_typography = require("../typography-DW7VApAR.cjs");
3
3
  exports.blockquote = require_typography.blockquote;
4
4
  exports.bulletList = require_typography.bulletList;
5
5
  exports.button = require_typography.button;
@@ -7,7 +7,13 @@ exports.clearLine = require_typography.clearLine;
7
7
  exports.columns = require_typography.columns;
8
8
  exports.divider = require_typography.divider;
9
9
  exports.footer = require_typography.footer;
10
+ exports.footerCommunityFeedbackCta = require_typography.footerCommunityFeedbackCta;
11
+ exports.footerCompanySignature = require_typography.footerCompanySignature;
12
+ exports.footerCopyrightText = require_typography.footerCopyrightText;
10
13
  exports.hardBreak = require_typography.hardBreak;
14
+ exports.headerLogoWithCoverImage = require_typography.headerLogoWithCoverImage;
15
+ exports.headerLogoWithTextHorizontal = require_typography.headerLogoWithTextHorizontal;
16
+ exports.headerLogoWithTextVertical = require_typography.headerLogoWithTextVertical;
11
17
  exports.heading1 = require_typography.heading1;
12
18
  exports.heading2 = require_typography.heading2;
13
19
  exports.heading3 = require_typography.heading3;
@@ -19,4 +25,5 @@ exports.orderedList = require_typography.orderedList;
19
25
  exports.repeat = require_typography.repeat;
20
26
  exports.section = require_typography.section;
21
27
  exports.spacer = require_typography.spacer;
28
+ exports.table = require_typography.table;
22
29
  exports.text = require_typography.text;
@@ -1,38 +1 @@
1
- import { i as SlashCommandOptions, n as SlashCommandItem, r as SlashCommandItemCommand, t as SlashCommandGroupItem } from "../slash-command-CK0-1FwR.cjs";
2
-
3
- //#region src/blocks/button.d.ts
4
- declare const button: SlashCommandItem;
5
- //#endregion
6
- //#region src/blocks/image.d.ts
7
- declare const image: SlashCommandItem;
8
- //#endregion
9
- //#region src/blocks/inline-image.d.ts
10
- declare const inlineImage: SlashCommandItem;
11
- //#endregion
12
- //#region src/blocks/layout.d.ts
13
- declare const spacer: SlashCommandItem;
14
- declare const divider: SlashCommandItem;
15
- declare const section: SlashCommandItem;
16
- declare const columns: SlashCommandItem;
17
- declare const repeat: SlashCommandItem;
18
- declare const htmlCodeBlock: SlashCommandItem;
19
- //#endregion
20
- //#region src/blocks/link-card.d.ts
21
- declare const linkCard: SlashCommandItem;
22
- //#endregion
23
- //#region src/blocks/list.d.ts
24
- declare const bulletList: SlashCommandItem;
25
- declare const orderedList: SlashCommandItem;
26
- //#endregion
27
- //#region src/blocks/typography.d.ts
28
- declare const text: SlashCommandItem;
29
- declare const heading1: SlashCommandItem;
30
- declare const heading2: SlashCommandItem;
31
- declare const heading3: SlashCommandItem;
32
- declare const hardBreak: SlashCommandItem;
33
- declare const blockquote: SlashCommandItem;
34
- declare const footer: SlashCommandItem;
35
- declare const clearLine: SlashCommandItem;
36
- //#endregion
37
- export { type SlashCommandGroupItem, type SlashCommandItem, type SlashCommandItemCommand, type SlashCommandOptions, blockquote, bulletList, button, clearLine, columns, divider, footer, hardBreak, heading1, heading2, heading3, htmlCodeBlock, image, inlineImage, linkCard, orderedList, repeat, section, spacer, text };
38
- //# sourceMappingURL=index.d.cts.map
1
+ export type * from './index.d.mts'
@@ -1,12 +1,19 @@
1
- import { i as SlashCommandOptions, n as SlashCommandItem, r as SlashCommandItemCommand, t as SlashCommandGroupItem } from "../slash-command-BmWRVPbv.mjs";
2
-
1
+ import { n as SlashCommandItem } from "../slash-command-BrwA1bHs.mjs";
3
2
  //#region src/blocks/button.d.ts
4
3
  declare const button: SlashCommandItem;
5
4
  //#endregion
5
+ //#region src/blocks/footers.d.ts
6
+ declare const footerCopyrightText: SlashCommandItem;
7
+ declare const footerCommunityFeedbackCta: SlashCommandItem;
8
+ declare const footerCompanySignature: SlashCommandItem;
9
+ //#endregion
10
+ //#region src/blocks/headers.d.ts
11
+ declare const headerLogoWithTextHorizontal: SlashCommandItem;
12
+ declare const headerLogoWithTextVertical: SlashCommandItem;
13
+ declare const headerLogoWithCoverImage: SlashCommandItem;
14
+ //#endregion
6
15
  //#region src/blocks/image.d.ts
7
16
  declare const image: SlashCommandItem;
8
- //#endregion
9
- //#region src/blocks/inline-image.d.ts
10
17
  declare const inlineImage: SlashCommandItem;
11
18
  //#endregion
12
19
  //#region src/blocks/layout.d.ts
@@ -14,8 +21,9 @@ declare const spacer: SlashCommandItem;
14
21
  declare const divider: SlashCommandItem;
15
22
  declare const section: SlashCommandItem;
16
23
  declare const columns: SlashCommandItem;
17
- declare const repeat: SlashCommandItem;
24
+ declare const table: SlashCommandItem;
18
25
  declare const htmlCodeBlock: SlashCommandItem;
26
+ declare const repeat: SlashCommandItem;
19
27
  //#endregion
20
28
  //#region src/blocks/link-card.d.ts
21
29
  declare const linkCard: SlashCommandItem;
@@ -34,5 +42,5 @@ declare const blockquote: SlashCommandItem;
34
42
  declare const footer: SlashCommandItem;
35
43
  declare const clearLine: SlashCommandItem;
36
44
  //#endregion
37
- export { type SlashCommandGroupItem, type SlashCommandItem, type SlashCommandItemCommand, type SlashCommandOptions, blockquote, bulletList, button, clearLine, columns, divider, footer, hardBreak, heading1, heading2, heading3, htmlCodeBlock, image, inlineImage, linkCard, orderedList, repeat, section, spacer, text };
45
+ export { blockquote, bulletList, button, clearLine, columns, divider, footer, footerCommunityFeedbackCta, footerCompanySignature, footerCopyrightText, hardBreak, headerLogoWithCoverImage, headerLogoWithTextHorizontal, headerLogoWithTextVertical, heading1, heading2, heading3, htmlCodeBlock, image, inlineImage, linkCard, orderedList, repeat, section, spacer, table, text };
38
46
  //# sourceMappingURL=index.d.mts.map
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.mts","names":[],"sources":["../../src/blocks/button.tsx","../../src/blocks/image.tsx","../../src/blocks/inline-image.tsx","../../src/blocks/layout.tsx","../../src/blocks/link-card.tsx","../../src/blocks/list.tsx","../../src/blocks/typography.tsx"],"mappings":";;;cAMa,MAAA,EAAQ,gBAAA;;;cCFR,KAAA,EAAO,gBAAA;;;cCAP,WAAA,EAAa,gBAAA;;;cCOb,MAAA,EAAQ,gBAAA;AAAA,cAUR,OAAA,EAAS,gBAAA;AAAA,cAUT,OAAA,EAAS,gBAAA;AAAA,cAUT,OAAA,EAAS,gBAAA;AAAA,cAUT,MAAA,EAAQ,gBAAA;AAAA,cAUR,aAAA,EAAe,gBAAA;;;cCxDf,QAAA,EAAU,gBAAA;;;cCDV,UAAA,EAAY,gBAAA;AAAA,cAUZ,WAAA,EAAa,gBAAA;;;cCAb,IAAA,EAAM,gBAAA;AAAA,cAmBN,QAAA,EAAU,gBAAA;AAAA,cAkBV,QAAA,EAAU,gBAAA;AAAA,cAkBV,QAAA,EAAU,gBAAA;AAAA,cAkBV,SAAA,EAAW,gBAAA;AAAA,cAUX,UAAA,EAAY,gBAAA;AAAA,cAUZ,MAAA,EAAQ,gBAAA;AAAA,cAUR,SAAA,EAAW,gBAAA"}
1
+ {"version":3,"file":"index.d.mts","names":[],"sources":["../../src/blocks/button.tsx","../../src/blocks/footers.tsx","../../src/blocks/headers.tsx","../../src/blocks/image.tsx","../../src/blocks/layout.tsx","../../src/blocks/link-card.tsx","../../src/blocks/list.tsx","../../src/blocks/typography.tsx"],"mappings":";;cAIa,QAAQ;;;cC4BR,qBAAqB;cAgCrB,4BAA4B;cAuC5B,wBAAwB;;;cC5FxB,8BAA8B;cAmD9B,4BAA4B;cA+B5B,0BAA0B;;;cCzF1B,OAAO;cAUP,aAAa;;;cCFb,QAAQ;cAUR,SAAS;cAUT,SAAS;cAUT,SAAS;cAUT,OAAO;cAeP,eAAe;cAef,QAAQ;;;cC7ER,UAAU;;;cCDV,YAAY;cAUZ,aAAa;;;cCDb,MAAM;cAUN,UAAU;cAeV,UAAU;cAeV,UAAU;cAeV,WAAW;cAUX,YAAY;cAUZ,QAAQ;cAUR,WAAW"}
@@ -1,2 +1,2 @@
1
- import { _ as spacer, a as heading1, b as button, c as text, d as linkCard, f as columns, g as section, h as repeat, i as hardBreak, l as bulletList, m as htmlCodeBlock, n as clearLine, o as heading2, p as divider, r as footer, s as heading3, t as blockquote, u as orderedList, v as inlineImage, y as image } from "../typography-DhrUe809.mjs";
2
- export { blockquote, bulletList, button, clearLine, columns, divider, footer, hardBreak, heading1, heading2, heading3, htmlCodeBlock, image, inlineImage, linkCard, orderedList, repeat, section, spacer, text };
1
+ import { C as headerLogoWithTextVertical, D as button, E as footerCopyrightText, S as headerLogoWithTextHorizontal, T as footerCompanySignature, _ as spacer, a as heading1, b as inlineImage, c as text, d as linkCard, f as columns, g as section, h as repeat, i as hardBreak, l as bulletList, m as htmlCodeBlock, n as clearLine, o as heading2, p as divider, r as footer, s as heading3, t as blockquote, u as orderedList, v as table, w as footerCommunityFeedbackCta, x as headerLogoWithCoverImage, y as image } from "../typography-BdOKvXfQ.mjs";
2
+ export { blockquote, bulletList, button, clearLine, columns, divider, footer, footerCommunityFeedbackCta, footerCompanySignature, footerCopyrightText, hardBreak, headerLogoWithCoverImage, headerLogoWithTextHorizontal, headerLogoWithTextVertical, heading1, heading2, heading3, htmlCodeBlock, image, inlineImage, linkCard, orderedList, repeat, section, spacer, table, text };