marko 6.0.39 → 6.0.41

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.
@@ -2,6 +2,7 @@ import { types as t } from "@marko/compiler";
2
2
  import { type Binding } from "../util/references";
3
3
  declare const kNodeBinding: unique symbol;
4
4
  declare const kSiblingText: unique symbol;
5
+ declare const kSharedText: unique symbol;
5
6
  declare enum SiblingText {
6
7
  None = 0,
7
8
  Before = 1,
@@ -11,6 +12,7 @@ declare module "@marko/compiler/dist/types" {
11
12
  interface MarkoPlaceholderExtra {
12
13
  [kNodeBinding]?: Binding;
13
14
  [kSiblingText]?: SiblingText;
15
+ [kSharedText]?: true;
14
16
  }
15
17
  }
16
18
  declare const _default: {
@@ -3,11 +3,13 @@ import { type Binding } from "../../util/references";
3
3
  export declare const kNativeTagBinding: unique symbol;
4
4
  export declare const kSkipEndTag: unique symbol;
5
5
  declare const kGetterId: unique symbol;
6
+ declare const kTagContentAttr: unique symbol;
6
7
  declare module "@marko/compiler/dist/types" {
7
8
  interface NodeExtra {
8
9
  [kNativeTagBinding]?: Binding;
9
10
  [kSkipEndTag]?: true;
10
11
  [kGetterId]?: string;
12
+ [kTagContentAttr]?: true;
11
13
  }
12
14
  }
13
15
  declare const _default: {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "marko",
3
- "version": "6.0.39",
3
+ "version": "6.0.41",
4
4
  "description": "Optimized runtime for Marko templates.",
5
5
  "keywords": [
6
6
  "api",
package/tags-html.d.ts CHANGED
@@ -4346,7 +4346,10 @@ declare global {
4346
4346
  * Provide body content for the tag as a Marko.Body.
4347
4347
  * @see Marko.Body
4348
4348
  */
4349
- content?: Marko.Body<[], void>;
4349
+ content?:
4350
+ | AttrMissing
4351
+ | Marko.Body<[], void>
4352
+ | Marko.Template<Record<any, never>, void>;
4350
4353
 
4351
4354
  /**
4352
4355
  * data-* global attributes form a class of attributes called custom data attributes, that allow proprietary