@shell-shock/unified 0.2.8 → 0.2.9

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 (42) hide show
  1. package/dist/html/index.cjs +1 -1
  2. package/dist/html/index.d.cts +1 -1
  3. package/dist/html/index.d.cts.map +1 -1
  4. package/dist/html/index.d.mts +1 -1
  5. package/dist/html/index.d.mts.map +1 -1
  6. package/dist/html/index.mjs +1 -1
  7. package/dist/{html-D9T_CMzR.cjs → html-CVnH92tJ.cjs} +3 -5
  8. package/dist/html-CVnH92tJ.cjs.map +1 -0
  9. package/dist/{html-C6megiVP.mjs → html-Do2f44ft.mjs} +2 -4
  10. package/dist/html-Do2f44ft.mjs.map +1 -0
  11. package/dist/index.cjs +1 -2
  12. package/dist/index.d.cts +2 -10
  13. package/dist/index.d.mts +2 -10
  14. package/dist/index.mjs +1 -2
  15. package/dist/markdown/index.cjs +1 -1
  16. package/dist/markdown/index.d.cts +1 -1
  17. package/dist/markdown/index.d.cts.map +1 -1
  18. package/dist/markdown/index.d.mts +1 -1
  19. package/dist/markdown/index.d.mts.map +1 -1
  20. package/dist/markdown/index.mjs +1 -1
  21. package/dist/{markdown-B1ZkR96l.mjs → markdown-CMEWV1ow.mjs} +2 -2
  22. package/dist/markdown-CMEWV1ow.mjs.map +1 -0
  23. package/dist/markdown-DzvIMrFk.cjs +2 -0
  24. package/dist/markdown-DzvIMrFk.cjs.map +1 -0
  25. package/dist/types-By1HgC_t.d.cts +50 -0
  26. package/dist/types-By1HgC_t.d.cts.map +1 -0
  27. package/dist/types-By1HgC_t.d.mts +50 -0
  28. package/dist/types-By1HgC_t.d.mts.map +1 -0
  29. package/package.json +18 -51
  30. package/dist/html-C6megiVP.mjs.map +0 -1
  31. package/dist/html-D9T_CMzR.cjs.map +0 -1
  32. package/dist/index.cjs.map +0 -1
  33. package/dist/index.d.cts.map +0 -1
  34. package/dist/index.d.mts.map +0 -1
  35. package/dist/index.mjs.map +0 -1
  36. package/dist/markdown-B1ZkR96l.mjs.map +0 -1
  37. package/dist/markdown-CmguN8DF.cjs +0 -2
  38. package/dist/markdown-CmguN8DF.cjs.map +0 -1
  39. package/dist/types-CCFWBb06.d.mts +0 -90
  40. package/dist/types-CCFWBb06.d.mts.map +0 -1
  41. package/dist/types-J2htKY4q.d.cts +0 -90
  42. package/dist/types-J2htKY4q.d.cts.map +0 -1
@@ -1,90 +0,0 @@
1
- import { PartialKeys } from "@stryke/types/base";
2
-
3
- //#region src/types.d.ts
4
- interface RenderAdapter {
5
- /**
6
- * Heading text.
7
- */
8
- heading: (text: string, level: number) => string;
9
- /**
10
- * Body text.
11
- */
12
- body: (text: string) => string;
13
- /**
14
- * Bold text.
15
- */
16
- bold: (text: string) => string;
17
- /**
18
- * Italic text.
19
- */
20
- italic: (text: string) => string;
21
- /**
22
- * Strikethrough text.
23
- */
24
- strikethrough: (text: string) => string;
25
- /**
26
- * Underlined text.
27
- */
28
- underline: (text: string) => string;
29
- /**
30
- * Blockquote text.
31
- */
32
- blockquote: (text: string) => string;
33
- /**
34
- * Link text.
35
- */
36
- link: (url: string, text?: string) => string;
37
- /**
38
- * Table.
39
- */
40
- table: (cells: string[][]) => string;
41
- /**
42
- * Code block.
43
- */
44
- code: (text: string, language?: string) => string;
45
- /**
46
- * Inline code.
47
- */
48
- inlineCode: (text: string) => string;
49
- /**
50
- * Line break.
51
- */
52
- break: () => string;
53
- /**
54
- * Horizontal divider.
55
- */
56
- divider: () => string;
57
- }
58
- /**
59
- * Options for {@link toConsole}.
60
- */
61
- interface Options {
62
- /**
63
- * Whether to wrap lines at a certain width.
64
- */
65
- pre?: boolean;
66
- /**
67
- * The maximum line width for wrapping text. Defaults to the terminal width minus 2, with a maximum of 120 characters.
68
- */
69
- lineWidth?: number;
70
- /**
71
- * Whether to include font attributes (e.g., bold, italic) in the output. If false, all text will be rendered without font attributes. Defaults to true.
72
- */
73
- fontAttrs?: boolean;
74
- /**
75
- * The depth of the current rendering context, used for managing nested elements and indentation levels. Defaults to 0.
76
- */
77
- depth?: number;
78
- /**
79
- * Whether to use ASCII characters for rendering elements such as borders and dividers, instead of Unicode characters. Defaults to false.
80
- */
81
- asciiMode?: boolean;
82
- /**
83
- * Post-process the generated output.
84
- */
85
- postProcess?: (output: string) => string;
86
- }
87
- type ResolvedOptions = PartialKeys<Required<Options>, "postProcess">;
88
- //#endregion
89
- export { RenderAdapter as n, ResolvedOptions as r, Options as t };
90
- //# sourceMappingURL=types-CCFWBb06.d.mts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types-CCFWBb06.d.mts","names":[],"sources":["../src/types.ts"],"mappings":";;;UAoBiB,aAAA;;AAAjB;;EAIE,OAAA,GAAU,IAAA,UAAc,KAAA;EAJI;;;EAS5B,IAAA,GAAO,IAAA;EAAP;;;EAKA,IAAA,GAAO,IAAA;EAKP;;;EAAA,MAAA,GAAS,IAAA;EAUT;;;EALA,aAAA,GAAgB,IAAA;EAehB;;;EAVA,SAAA,GAAY,IAAA;EAeJ;;;EAVR,UAAA,GAAa,IAAA;EAoBb;;;EAfA,IAAA,GAAO,GAAA,UAAa,IAAA;EAyBb;;AAMT;EA1BE,KAAA,GAAQ,KAAA;;;;EAKR,IAAA,GAAO,IAAA,UAAc,QAAA;EAmCrB;;;EA9BA,UAAA,GAAa,IAAA;EA6CE;;;EAxCf,KAAA;EA2CyB;;;EAtCzB,OAAA;AAAA;;;;UAMe,OAAA;EAgCkC;;;EA5BjD,GAAA;;;;EAKA,SAAA;;;;EAKA,SAAA;;;;EAKA,KAAA;;;;EAKA,SAAA;;;;EAKA,WAAA,IAAe,MAAA;AAAA;AAAA,KAGL,eAAA,GAAkB,WAAA,CAAY,QAAA,CAAS,OAAA"}
@@ -1,90 +0,0 @@
1
- import { PartialKeys } from "@stryke/types/base";
2
-
3
- //#region src/types.d.ts
4
- interface RenderAdapter {
5
- /**
6
- * Heading text.
7
- */
8
- heading: (text: string, level: number) => string;
9
- /**
10
- * Body text.
11
- */
12
- body: (text: string) => string;
13
- /**
14
- * Bold text.
15
- */
16
- bold: (text: string) => string;
17
- /**
18
- * Italic text.
19
- */
20
- italic: (text: string) => string;
21
- /**
22
- * Strikethrough text.
23
- */
24
- strikethrough: (text: string) => string;
25
- /**
26
- * Underlined text.
27
- */
28
- underline: (text: string) => string;
29
- /**
30
- * Blockquote text.
31
- */
32
- blockquote: (text: string) => string;
33
- /**
34
- * Link text.
35
- */
36
- link: (url: string, text?: string) => string;
37
- /**
38
- * Table.
39
- */
40
- table: (cells: string[][]) => string;
41
- /**
42
- * Code block.
43
- */
44
- code: (text: string, language?: string) => string;
45
- /**
46
- * Inline code.
47
- */
48
- inlineCode: (text: string) => string;
49
- /**
50
- * Line break.
51
- */
52
- break: () => string;
53
- /**
54
- * Horizontal divider.
55
- */
56
- divider: () => string;
57
- }
58
- /**
59
- * Options for {@link toConsole}.
60
- */
61
- interface Options {
62
- /**
63
- * Whether to wrap lines at a certain width.
64
- */
65
- pre?: boolean;
66
- /**
67
- * The maximum line width for wrapping text. Defaults to the terminal width minus 2, with a maximum of 120 characters.
68
- */
69
- lineWidth?: number;
70
- /**
71
- * Whether to include font attributes (e.g., bold, italic) in the output. If false, all text will be rendered without font attributes. Defaults to true.
72
- */
73
- fontAttrs?: boolean;
74
- /**
75
- * The depth of the current rendering context, used for managing nested elements and indentation levels. Defaults to 0.
76
- */
77
- depth?: number;
78
- /**
79
- * Whether to use ASCII characters for rendering elements such as borders and dividers, instead of Unicode characters. Defaults to false.
80
- */
81
- asciiMode?: boolean;
82
- /**
83
- * Post-process the generated output.
84
- */
85
- postProcess?: (output: string) => string;
86
- }
87
- type ResolvedOptions = PartialKeys<Required<Options>, "postProcess">;
88
- //#endregion
89
- export { RenderAdapter as n, ResolvedOptions as r, Options as t };
90
- //# sourceMappingURL=types-J2htKY4q.d.cts.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"types-J2htKY4q.d.cts","names":[],"sources":["../src/types.ts"],"mappings":";;;UAoBiB,aAAA;;AAAjB;;EAIE,OAAA,GAAU,IAAA,UAAc,KAAA;EAJI;;;EAS5B,IAAA,GAAO,IAAA;EAAP;;;EAKA,IAAA,GAAO,IAAA;EAKP;;;EAAA,MAAA,GAAS,IAAA;EAUT;;;EALA,aAAA,GAAgB,IAAA;EAehB;;;EAVA,SAAA,GAAY,IAAA;EAeJ;;;EAVR,UAAA,GAAa,IAAA;EAoBb;;;EAfA,IAAA,GAAO,GAAA,UAAa,IAAA;EAyBb;;AAMT;EA1BE,KAAA,GAAQ,KAAA;;;;EAKR,IAAA,GAAO,IAAA,UAAc,QAAA;EAmCrB;;;EA9BA,UAAA,GAAa,IAAA;EA6CE;;;EAxCf,KAAA;EA2CyB;;;EAtCzB,OAAA;AAAA;;;;UAMe,OAAA;EAgCkC;;;EA5BjD,GAAA;;;;EAKA,SAAA;;;;EAKA,SAAA;;;;EAKA,KAAA;;;;EAKA,SAAA;;;;EAKA,WAAA,IAAe,MAAA;AAAA;AAAA,KAGL,eAAA,GAAkB,WAAA,CAAY,QAAA,CAAS,OAAA"}