@microsoft/fast-html 1.0.0-alpha.14 → 1.0.0-alpha.16

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.
@@ -241,36 +241,6 @@
241
241
  "isStatic": false,
242
242
  "isProtected": false,
243
243
  "isAbstract": false
244
- },
245
- {
246
- "kind": "Property",
247
- "canonicalReference": "@microsoft/fast-html!RenderableFASTElement#needsHydration:member",
248
- "docComment": "",
249
- "excerptTokens": [
250
- {
251
- "kind": "Content",
252
- "text": "needsHydration: "
253
- },
254
- {
255
- "kind": "Content",
256
- "text": "boolean"
257
- },
258
- {
259
- "kind": "Content",
260
- "text": ";"
261
- }
262
- ],
263
- "isReadonly": false,
264
- "isOptional": false,
265
- "releaseTag": "Public",
266
- "name": "needsHydration",
267
- "propertyTypeTokenRange": {
268
- "startIndex": 1,
269
- "endIndex": 2
270
- },
271
- "isStatic": false,
272
- "isProtected": false,
273
- "isAbstract": false
274
244
  }
275
245
  ],
276
246
  "extendsTokenRange": {
@@ -14,8 +14,12 @@ declare interface ElementOptionsDictionary<ElementOptionsType = ElementOptions>
14
14
 
15
15
  export declare abstract class RenderableFASTElement extends FASTElement {
16
16
  deferHydration: boolean;
17
- needsHydration: boolean;
18
17
  constructor();
18
+ /**
19
+ * A user defined function for determining if the element is ready to be hydrated.
20
+ * This function will get called if it has been defined after the template is connected.
21
+ */
22
+ private prepare;
19
23
  }
20
24
 
21
25
  /**
@@ -14,8 +14,12 @@ declare interface ElementOptionsDictionary<ElementOptionsType = ElementOptions>
14
14
 
15
15
  export declare abstract class RenderableFASTElement extends FASTElement {
16
16
  deferHydration: boolean;
17
- needsHydration: boolean;
18
17
  constructor();
18
+ /**
19
+ * A user defined function for determining if the element is ready to be hydrated.
20
+ * This function will get called if it has been defined after the template is connected.
21
+ */
22
+ private prepare;
19
23
  }
20
24
 
21
25
  /**
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@microsoft/fast-html",
3
- "version": "1.0.0-alpha.14",
3
+ "version": "1.0.0-alpha.16",
4
4
  "type": "module",
5
5
  "author": {
6
6
  "name": "Microsoft",
@@ -63,12 +63,12 @@
63
63
  "./dist/esm/index.js"
64
64
  ],
65
65
  "peerDependencies": {
66
- "@microsoft/fast-element": "^2.4.1"
66
+ "@microsoft/fast-element": "^2.5.0"
67
67
  },
68
68
  "devDependencies": {
69
69
  "@ast-grep/cli": "^0.37.0",
70
70
  "@microsoft/api-extractor": "^7.47.0",
71
- "@microsoft/fast-element": "^2.4.1",
71
+ "@microsoft/fast-element": "^2.5.0",
72
72
  "@playwright/test": "^1.49.0",
73
73
  "@types/express": "^4.17.21",
74
74
  "@types/node": "^17.0.17",