@microsoft/fast-element 2.8.4 → 2.9.0

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.
@@ -240,7 +240,7 @@ export function customElement(nameOrDef: string | PartialFASTElementDefinition):
240
240
  // @public
241
241
  export type DecoratorAttributeConfiguration = Omit<AttributeConfiguration, "property">;
242
242
 
243
- // @public
243
+ // @beta
244
244
  export const deferHydrationAttribute = "defer-hydration";
245
245
 
246
246
  // @public
@@ -640,6 +640,26 @@ export class InlineTemplateDirective implements HTMLDirective {
640
640
  static readonly empty: InlineTemplateDirective;
641
641
  }
642
642
 
643
+ // Warning: (ae-forgotten-export) The symbol "HydrationView" needs to be exported by the entry point index.d.ts
644
+ //
645
+ // @beta
646
+ export function isHydratable(view: ViewController): view is HydrationView;
647
+
648
+ // Warning: (ae-forgotten-export) The symbol "HydratableSyntheticViewTemplate" needs to be exported by the entry point index.d.ts
649
+ //
650
+ // @beta (undocumented)
651
+ export function isHydratable<TSource = any, TParent = any>(template: SyntheticViewTemplate<TSource, TParent>): template is HydratableSyntheticViewTemplate<TSource, TParent>;
652
+
653
+ // Warning: (ae-forgotten-export) The symbol "HydratableElementViewTemplate" needs to be exported by the entry point index.d.ts
654
+ //
655
+ // @beta (undocumented)
656
+ export function isHydratable<TSource = any, TParent = any>(template: ElementViewTemplate<TSource, TParent>): template is HydratableElementViewTemplate<TSource, TParent>;
657
+
658
+ // Warning: (ae-forgotten-export) The symbol "HydratableContentTemplate" needs to be exported by the entry point index.d.ts
659
+ //
660
+ // @beta (undocumented)
661
+ export function isHydratable(template: ContentTemplate): template is HydratableContentTemplate;
662
+
643
663
  // @public
644
664
  export interface LengthObserver extends Subscriber {
645
665
  length: number;
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@microsoft/fast-element",
3
3
  "description": "A library for constructing Web Components",
4
- "version": "2.8.4",
4
+ "version": "2.9.0",
5
5
  "author": {
6
6
  "name": "Microsoft",
7
7
  "url": "https://discord.gg/FcSNfg4"