marko 6.4.12 → 6.4.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.
Files changed (73) hide show
  1. package/dist/debug/dom/catch.feat.js +1 -1
  2. package/dist/debug/dom/catch.feat.mjs +1 -1
  3. package/dist/debug/dom/compat.feat.js +2 -2
  4. package/dist/debug/dom/compat.feat.mjs +2 -2
  5. package/dist/debug/dom/controllable-input.feat.js +1 -1
  6. package/dist/debug/dom/controllable-input.feat.mjs +1 -1
  7. package/dist/debug/dom/controllable-open.feat.js +1 -1
  8. package/dist/debug/dom/controllable-open.feat.mjs +1 -1
  9. package/dist/debug/dom/controllable-select.feat.js +1 -1
  10. package/dist/debug/dom/controllable-select.feat.mjs +1 -1
  11. package/dist/debug/dom/controllable-textarea.feat.js +1 -1
  12. package/dist/debug/dom/controllable-textarea.feat.mjs +1 -1
  13. package/dist/debug/dom/controllable.feat.js +1 -1
  14. package/dist/debug/dom/controllable.feat.mjs +1 -1
  15. package/dist/debug/dom/dynamic-tag-script.feat.js +1 -1
  16. package/dist/debug/dom/dynamic-tag-script.feat.mjs +1 -1
  17. package/dist/debug/dom/dynamic-tag-var.feat.js +1 -1
  18. package/dist/debug/dom/dynamic-tag-var.feat.mjs +1 -1
  19. package/dist/debug/dom/lazy.feat.js +1 -1
  20. package/dist/debug/dom/lazy.feat.mjs +1 -1
  21. package/dist/debug/dom/placeholder.feat.js +1 -1
  22. package/dist/debug/dom/placeholder.feat.mjs +1 -1
  23. package/dist/debug/{dom-DaHYZpf2.mjs → dom-BORByF2b.mjs} +4 -2
  24. package/dist/debug/{dom-CtXOr4Nm.js → dom-sfzdCRAg.js} +3 -7
  25. package/dist/debug/dom.js +1 -1
  26. package/dist/debug/dom.mjs +1 -1
  27. package/dist/dom/catch.feat.js +3 -3
  28. package/dist/dom/catch.feat.mjs +1 -1
  29. package/dist/dom/compat.feat.js +15 -15
  30. package/dist/dom/compat.feat.mjs +2 -2
  31. package/dist/dom/controllable-input.feat.js +1 -1
  32. package/dist/dom/controllable-input.feat.mjs +1 -1
  33. package/dist/dom/controllable-open.feat.js +1 -1
  34. package/dist/dom/controllable-open.feat.mjs +1 -1
  35. package/dist/dom/controllable-select.feat.js +1 -1
  36. package/dist/dom/controllable-select.feat.mjs +1 -1
  37. package/dist/dom/controllable-textarea.feat.js +1 -1
  38. package/dist/dom/controllable-textarea.feat.mjs +1 -1
  39. package/dist/dom/controllable.feat.js +1 -1
  40. package/dist/dom/controllable.feat.mjs +1 -1
  41. package/dist/dom/dynamic-tag-script.feat.js +2 -2
  42. package/dist/dom/dynamic-tag-script.feat.mjs +1 -1
  43. package/dist/dom/dynamic-tag-var.feat.js +3 -3
  44. package/dist/dom/dynamic-tag-var.feat.mjs +1 -1
  45. package/dist/dom/lazy.feat.js +1 -1
  46. package/dist/dom/lazy.feat.mjs +1 -1
  47. package/dist/dom/placeholder.feat.js +3 -3
  48. package/dist/dom/placeholder.feat.mjs +1 -1
  49. package/dist/{dom-BO-0hzLZ.mjs → dom-DKn1bCPC.mjs} +3 -2
  50. package/dist/{dom-BB-Te-3z.js → dom-DRiewpRL.js} +63 -67
  51. package/dist/dom.js +17 -17
  52. package/dist/dom.mjs +1 -1
  53. package/dist/translator/core/if.d.ts +0 -85
  54. package/dist/translator/core/index.d.ts +2 -85
  55. package/dist/translator/index.d.ts +2 -85
  56. package/dist/translator/index.js +35 -191
  57. package/dist/translator/interop/index.d.ts +2 -0
  58. package/package.json +4 -4
  59. package/tags/await.d.marko +9 -1
  60. package/tags/const.d.marko +7 -1
  61. package/tags/debug.d.marko +7 -1
  62. package/tags/define.d.marko +7 -1
  63. package/tags/effect.d.marko +6 -1
  64. package/tags/html-comment.d.marko +6 -0
  65. package/tags/html-script.d.marko +5 -0
  66. package/tags/html-style.d.marko +5 -0
  67. package/tags/id.d.marko +11 -1
  68. package/tags/let.d.marko +8 -1
  69. package/tags/lifecycle.d.marko +11 -1
  70. package/tags/log.d.marko +7 -1
  71. package/tags/script.d.marko +9 -1
  72. package/tags/show.d.marko +7 -1
  73. package/tags/try.d.marko +9 -1
@@ -1,89 +1,4 @@
1
1
  import { types as t } from "@marko/compiler";
2
2
  import { type Tag } from "@marko/compiler/babel-utils";
3
3
  export declare const IfTag: Tag;
4
- export declare const ElseIfTag: {
5
- attributeGroups?: string[];
6
- patternAttributes?: import("@marko/compiler/babel-utils").Attribute[];
7
- attributes?: {
8
- [x: string]: import("@marko/compiler/babel-utils").Attribute;
9
- };
10
- description?: string;
11
- nestedTags?: {
12
- [x: string]: Tag & {
13
- isRepeated?: boolean;
14
- targetProperty?: string;
15
- };
16
- };
17
- htmlType?: "html" | "svg" | "math";
18
- html?: boolean;
19
- types?: string;
20
- template?: string;
21
- renderer?: string;
22
- deprecated?: boolean;
23
- openTagOnly?: boolean;
24
- analyze?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>;
25
- translate?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>;
26
- parse?: import("@marko/compiler/babel-utils").ParsePlugin<t.MarkoTag>;
27
- transform?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag> | import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>[];
28
- migrate?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag> | import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>[];
29
- parseOptions?: {
30
- rootOnly?: boolean;
31
- rawOpenTag?: boolean;
32
- openTagOnly?: boolean;
33
- controlFlow?: boolean;
34
- ignoreAttributes?: boolean;
35
- relaxRequireCommas?: boolean;
36
- statement?: boolean;
37
- preserveWhitespace?: boolean;
38
- text?: boolean;
39
- html?: boolean;
40
- };
41
- autocomplete: {
42
- snippet: string;
43
- description: string;
44
- descriptionMoreURL: string;
45
- }[];
46
- };
47
- export declare const ElseTag: {
48
- attributeGroups?: string[];
49
- patternAttributes?: import("@marko/compiler/babel-utils").Attribute[];
50
- attributes?: {
51
- [x: string]: import("@marko/compiler/babel-utils").Attribute;
52
- };
53
- description?: string;
54
- nestedTags?: {
55
- [x: string]: Tag & {
56
- isRepeated?: boolean;
57
- targetProperty?: string;
58
- };
59
- };
60
- htmlType?: "html" | "svg" | "math";
61
- html?: boolean;
62
- types?: string;
63
- template?: string;
64
- renderer?: string;
65
- deprecated?: boolean;
66
- openTagOnly?: boolean;
67
- analyze?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>;
68
- translate?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>;
69
- parse?: import("@marko/compiler/babel-utils").ParsePlugin<t.MarkoTag>;
70
- transform?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag> | import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>[];
71
- migrate?: import("@marko/compiler/babel-utils").Plugin<t.MarkoTag> | import("@marko/compiler/babel-utils").Plugin<t.MarkoTag>[];
72
- parseOptions?: {
73
- rootOnly?: boolean;
74
- rawOpenTag?: boolean;
75
- openTagOnly?: boolean;
76
- controlFlow?: boolean;
77
- ignoreAttributes?: boolean;
78
- relaxRequireCommas?: boolean;
79
- statement?: boolean;
80
- preserveWhitespace?: boolean;
81
- text?: boolean;
82
- html?: boolean;
83
- };
84
- autocomplete: {
85
- description: string;
86
- descriptionMoreURL: string;
87
- }[];
88
- };
89
4
  export declare function flattenTextOnlyConditional(rootTag: t.NodePath<t.MarkoTag>): void;
@@ -8,91 +8,8 @@ declare const _default: {
8
8
  "<debug>": import("@marko/compiler/babel-utils").Tag;
9
9
  "<define>": import("@marko/compiler/babel-utils").Tag;
10
10
  "<effect>": import("@marko/compiler/babel-utils").Tag;
11
- "<else-if>": {
12
- attributeGroups?: string[];
13
- patternAttributes?: import("@marko/compiler/babel-utils").Attribute[];
14
- attributes?: {
15
- [x: string]: import("@marko/compiler/babel-utils").Attribute;
16
- };
17
- description?: string;
18
- nestedTags?: {
19
- [x: string]: import("@marko/compiler/babel-utils").Tag & {
20
- isRepeated?: boolean;
21
- targetProperty?: string;
22
- };
23
- };
24
- htmlType?: "html" | "svg" | "math";
25
- html?: boolean;
26
- types?: string;
27
- template?: string;
28
- renderer?: string;
29
- deprecated?: boolean;
30
- openTagOnly?: boolean;
31
- analyze?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>;
32
- translate?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>;
33
- parse?: import("@marko/compiler/babel-utils").ParsePlugin<import("@marko/compiler/babel-types").MarkoTag>;
34
- transform?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag> | import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>[];
35
- migrate?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag> | import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>[];
36
- parseOptions?: {
37
- rootOnly?: boolean;
38
- rawOpenTag?: boolean;
39
- openTagOnly?: boolean;
40
- controlFlow?: boolean;
41
- ignoreAttributes?: boolean;
42
- relaxRequireCommas?: boolean;
43
- statement?: boolean;
44
- preserveWhitespace?: boolean;
45
- text?: boolean;
46
- html?: boolean;
47
- };
48
- autocomplete: {
49
- snippet: string;
50
- description: string;
51
- descriptionMoreURL: string;
52
- }[];
53
- };
54
- "<else>": {
55
- attributeGroups?: string[];
56
- patternAttributes?: import("@marko/compiler/babel-utils").Attribute[];
57
- attributes?: {
58
- [x: string]: import("@marko/compiler/babel-utils").Attribute;
59
- };
60
- description?: string;
61
- nestedTags?: {
62
- [x: string]: import("@marko/compiler/babel-utils").Tag & {
63
- isRepeated?: boolean;
64
- targetProperty?: string;
65
- };
66
- };
67
- htmlType?: "html" | "svg" | "math";
68
- html?: boolean;
69
- types?: string;
70
- template?: string;
71
- renderer?: string;
72
- deprecated?: boolean;
73
- openTagOnly?: boolean;
74
- analyze?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>;
75
- translate?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>;
76
- parse?: import("@marko/compiler/babel-utils").ParsePlugin<import("@marko/compiler/babel-types").MarkoTag>;
77
- transform?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag> | import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>[];
78
- migrate?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag> | import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>[];
79
- parseOptions?: {
80
- rootOnly?: boolean;
81
- rawOpenTag?: boolean;
82
- openTagOnly?: boolean;
83
- controlFlow?: boolean;
84
- ignoreAttributes?: boolean;
85
- relaxRequireCommas?: boolean;
86
- statement?: boolean;
87
- preserveWhitespace?: boolean;
88
- text?: boolean;
89
- html?: boolean;
90
- };
91
- autocomplete: {
92
- description: string;
93
- descriptionMoreURL: string;
94
- }[];
95
- };
11
+ "<else-if>": import("@marko/compiler/babel-utils").Tag;
12
+ "<else>": import("@marko/compiler/babel-utils").Tag;
96
13
  "<export>": import("@marko/compiler/babel-utils").Tag;
97
14
  "<for>": import("@marko/compiler/babel-utils").Tag;
98
15
  "<html-comment>": import("@marko/compiler/babel-utils").Tag;
@@ -15,91 +15,8 @@ export declare const taglibs: (string | {
15
15
  "<debug>": import("@marko/compiler/babel-utils").Tag;
16
16
  "<define>": import("@marko/compiler/babel-utils").Tag;
17
17
  "<effect>": import("@marko/compiler/babel-utils").Tag;
18
- "<else-if>": {
19
- attributeGroups?: string[];
20
- patternAttributes?: import("@marko/compiler/babel-utils").Attribute[];
21
- attributes?: {
22
- [x: string]: import("@marko/compiler/babel-utils").Attribute;
23
- };
24
- description?: string;
25
- nestedTags?: {
26
- [x: string]: import("@marko/compiler/babel-utils").Tag & {
27
- isRepeated?: boolean;
28
- targetProperty?: string;
29
- };
30
- };
31
- htmlType?: "html" | "svg" | "math";
32
- html?: boolean;
33
- types?: string;
34
- template?: string;
35
- renderer?: string;
36
- deprecated?: boolean;
37
- openTagOnly?: boolean;
38
- analyze?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>;
39
- translate?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>;
40
- parse?: import("@marko/compiler/babel-utils").ParsePlugin<import("@marko/compiler/babel-types").MarkoTag>;
41
- transform?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag> | import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>[];
42
- migrate?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag> | import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>[];
43
- parseOptions?: {
44
- rootOnly?: boolean;
45
- rawOpenTag?: boolean;
46
- openTagOnly?: boolean;
47
- controlFlow?: boolean;
48
- ignoreAttributes?: boolean;
49
- relaxRequireCommas?: boolean;
50
- statement?: boolean;
51
- preserveWhitespace?: boolean;
52
- text?: boolean;
53
- html?: boolean;
54
- };
55
- autocomplete: {
56
- snippet: string;
57
- description: string;
58
- descriptionMoreURL: string;
59
- }[];
60
- };
61
- "<else>": {
62
- attributeGroups?: string[];
63
- patternAttributes?: import("@marko/compiler/babel-utils").Attribute[];
64
- attributes?: {
65
- [x: string]: import("@marko/compiler/babel-utils").Attribute;
66
- };
67
- description?: string;
68
- nestedTags?: {
69
- [x: string]: import("@marko/compiler/babel-utils").Tag & {
70
- isRepeated?: boolean;
71
- targetProperty?: string;
72
- };
73
- };
74
- htmlType?: "html" | "svg" | "math";
75
- html?: boolean;
76
- types?: string;
77
- template?: string;
78
- renderer?: string;
79
- deprecated?: boolean;
80
- openTagOnly?: boolean;
81
- analyze?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>;
82
- translate?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>;
83
- parse?: import("@marko/compiler/babel-utils").ParsePlugin<import("@marko/compiler/babel-types").MarkoTag>;
84
- transform?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag> | import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>[];
85
- migrate?: import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag> | import("@marko/compiler/babel-utils").Plugin<import("@marko/compiler/babel-types").MarkoTag>[];
86
- parseOptions?: {
87
- rootOnly?: boolean;
88
- rawOpenTag?: boolean;
89
- openTagOnly?: boolean;
90
- controlFlow?: boolean;
91
- ignoreAttributes?: boolean;
92
- relaxRequireCommas?: boolean;
93
- statement?: boolean;
94
- preserveWhitespace?: boolean;
95
- text?: boolean;
96
- html?: boolean;
97
- };
98
- autocomplete: {
99
- description: string;
100
- descriptionMoreURL: string;
101
- }[];
102
- };
18
+ "<else-if>": import("@marko/compiler/babel-utils").Tag;
19
+ "<else>": import("@marko/compiler/babel-utils").Tag;
103
20
  "<export>": import("@marko/compiler/babel-utils").Tag;
104
21
  "<for>": import("@marko/compiler/babel-utils").Tag;
105
22
  "<html-comment>": import("@marko/compiler/babel-utils").Tag;