@microsoft/fast-element 3.0.0-rc.1 → 3.0.0-rc.2

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 (286) hide show
  1. package/CHANGELOG.md +51 -1
  2. package/README.md +50 -14
  3. package/dist/context/context.api.json +13 -13
  4. package/dist/declarative/declarative.api.json +654 -15
  5. package/dist/di/di.api.json +15 -15
  6. package/dist/dts/__test__/helpers.d.ts +6 -0
  7. package/dist/dts/__test__/setup-node.d.ts +0 -0
  8. package/dist/dts/binding/binding.d.ts +15 -5
  9. package/dist/dts/binding/one-time.d.ts +1 -1
  10. package/dist/dts/binding/one-way.d.ts +1 -1
  11. package/dist/dts/binding/signal.d.ts +1 -1
  12. package/dist/dts/binding/two-way.d.ts +1 -1
  13. package/dist/dts/components/attributes.d.ts +1 -1
  14. package/dist/dts/components/enable-hydration.d.ts +22 -2
  15. package/dist/dts/components/fast-definitions.d.ts +7 -4
  16. package/dist/dts/components/fast-element.d.ts +42 -12
  17. package/dist/dts/components/hydration-tracker.d.ts +47 -4
  18. package/dist/dts/components/hydration.d.ts +5 -0
  19. package/dist/dts/context.d.ts +7 -7
  20. package/dist/dts/declarative/debug.d.ts +2 -3
  21. package/dist/dts/declarative/index.d.ts +3 -2
  22. package/dist/dts/declarative/interfaces.d.ts +1 -2
  23. package/dist/dts/declarative/template.d.ts +2 -1
  24. package/dist/dts/declarative/utilities.d.ts +50 -4
  25. package/dist/dts/di/di.d.ts +6 -6
  26. package/dist/dts/dom-policy.d.ts +22 -4
  27. package/dist/dts/dom.d.ts +4 -16
  28. package/dist/dts/hydration/diagnostics.d.ts +93 -0
  29. package/dist/dts/hydration/hydration-debugger.d.ts +35 -0
  30. package/dist/dts/hydration/messages.d.ts +62 -0
  31. package/dist/dts/hydration/target-builder.d.ts +26 -1
  32. package/dist/dts/hydration.d.ts +7 -3
  33. package/dist/dts/index.d.ts +7 -3
  34. package/dist/dts/interfaces.d.ts +1 -0
  35. package/dist/dts/observation/observable.d.ts +3 -3
  36. package/dist/dts/platform.d.ts +20 -4
  37. package/dist/dts/registry.d.ts +1 -0
  38. package/dist/dts/templating/children.d.ts +1 -1
  39. package/dist/dts/templating/compiler.d.ts +1 -1
  40. package/dist/dts/templating/html-binding-directive.d.ts +6 -2
  41. package/dist/dts/templating/html-directive.d.ts +2 -1
  42. package/dist/dts/templating/hydration-view.d.ts +24 -3
  43. package/dist/dts/templating/ref.d.ts +1 -1
  44. package/dist/dts/templating/render.d.ts +2 -2
  45. package/dist/dts/templating/repeat.d.ts +1 -1
  46. package/dist/dts/templating/slotted.d.ts +1 -1
  47. package/dist/dts/templating/template.d.ts +5 -5
  48. package/dist/dts/templating/when.d.ts +1 -1
  49. package/dist/dts/testing/fakes.d.ts +4 -4
  50. package/dist/esm/__test__/helpers.js +22 -0
  51. package/dist/esm/__test__/setup-node.js +18 -0
  52. package/dist/esm/binding/two-way.js +1 -2
  53. package/dist/esm/components/attributes.js +12 -8
  54. package/dist/esm/components/element-controller.js +11 -6
  55. package/dist/esm/components/enable-hydration.js +27 -3
  56. package/dist/esm/components/fast-definitions.js +19 -18
  57. package/dist/esm/components/hydration-tracker.js +34 -5
  58. package/dist/esm/components/hydration.js +85 -6
  59. package/dist/esm/debug.js +1 -0
  60. package/dist/esm/declarative/attribute-map.js +2 -1
  61. package/dist/esm/declarative/debug.js +0 -1
  62. package/dist/esm/declarative/index.js +1 -0
  63. package/dist/esm/declarative/interfaces.js +0 -1
  64. package/dist/esm/declarative/observer-map-utilities.js +58 -55
  65. package/dist/esm/declarative/template-bridge.js +4 -14
  66. package/dist/esm/declarative/template.js +4 -3
  67. package/dist/esm/declarative/utilities.js +236 -1
  68. package/dist/esm/di/di.js +2 -1
  69. package/dist/esm/dom-policy.js +33 -4
  70. package/dist/esm/hydration/diagnostics.js +50 -0
  71. package/dist/esm/hydration/hydration-debugger.js +112 -0
  72. package/dist/esm/hydration/messages.js +84 -0
  73. package/dist/esm/hydration/target-builder.js +65 -19
  74. package/dist/esm/hydration.js +3 -1
  75. package/dist/esm/index.js +6 -2
  76. package/dist/esm/interfaces.js +1 -0
  77. package/dist/esm/metadata.js +2 -8
  78. package/dist/esm/observation/notifier.js +2 -4
  79. package/dist/esm/registry.js +1 -0
  80. package/dist/esm/templating/html-binding-directive.js +1 -1
  81. package/dist/esm/templating/hydration-view.js +20 -27
  82. package/dist/esm/templating/render.js +39 -18
  83. package/dist/esm/templating/repeat.js +51 -17
  84. package/dist/esm/templating/view.js +1 -1
  85. package/dist/esm/testing/fixture.js +2 -2
  86. package/dist/esm/testing/timeout.js +2 -2
  87. package/dist/fast-element.api.json +1329 -99
  88. package/dist/fast-element.d.ts +147 -66
  89. package/dist/fast-element.debug.js +392 -99
  90. package/dist/fast-element.debug.min.js +2 -2
  91. package/dist/fast-element.js +392 -99
  92. package/dist/fast-element.min.js +2 -2
  93. package/dist/fast-element.untrimmed.d.ts +133 -70
  94. package/dist/hydration/hydration.api.json +1280 -57
  95. package/dist/styles/styles.api.json +1 -1
  96. package/package.json +21 -9
  97. package/ARCHITECTURE_FASTELEMENT.md +0 -63
  98. package/ARCHITECTURE_HTML_TAGGED_TEMPLATE_LITERAL.md +0 -36
  99. package/ARCHITECTURE_INTRO.md +0 -10
  100. package/ARCHITECTURE_OVERVIEW.md +0 -52
  101. package/ARCHITECTURE_UPDATES.md +0 -11
  102. package/CHANGELOG.json +0 -2275
  103. package/DECLARATIVE_DESIGN.md +0 -806
  104. package/DECLARATIVE_HTML.md +0 -470
  105. package/DECLARATIVE_MIGRATION.md +0 -215
  106. package/DECLARATIVE_RENDERING.md +0 -530
  107. package/DECLARATIVE_RENDERING_LIFECYCLE.md +0 -288
  108. package/DECLARATIVE_SCHEMA_OBSERVER_MAP.md +0 -489
  109. package/DESIGN.md +0 -615
  110. package/MIGRATION.md +0 -387
  111. package/SIZES.md +0 -25
  112. package/api-extractor.arrays.json +0 -15
  113. package/api-extractor.context.json +0 -15
  114. package/api-extractor.declarative.json +0 -15
  115. package/api-extractor.di.json +0 -15
  116. package/api-extractor.hydration.json +0 -15
  117. package/api-extractor.styles.json +0 -15
  118. package/biome.json +0 -4
  119. package/docs/ACKNOWLEDGEMENTS.md +0 -12
  120. package/docs/api-report.api.md +0 -1299
  121. package/docs/arrays/api-report.api.md +0 -114
  122. package/docs/context/api-report.api.md +0 -69
  123. package/docs/declarative/api-report.api.md +0 -397
  124. package/docs/di/api-report.api.md +0 -315
  125. package/docs/fast-element-2-changes.md +0 -15
  126. package/docs/hydration/api-report.api.md +0 -285
  127. package/docs/styles/api-report.api.md +0 -135
  128. package/playwright.config.ts +0 -26
  129. package/playwright.declarative.config.ts +0 -26
  130. package/playwright.declarative.webui.config.ts +0 -20
  131. package/scripts/declarative/build-fixtures-with-webui.js +0 -135
  132. package/scripts/declarative/build-fixtures.js +0 -49
  133. package/scripts/declarative/build-fixtures.utilities.js +0 -101
  134. package/scripts/measure-sizes.js +0 -219
  135. package/scripts/run-api-extractor.js +0 -70
  136. package/test/declarative/fixtures/README.md +0 -72
  137. package/test/declarative/fixtures/WRITING_FIXTURES.md +0 -330
  138. package/test/declarative/fixtures/bindings/README.md +0 -12
  139. package/test/declarative/fixtures/bindings/attribute/entry.html +0 -13
  140. package/test/declarative/fixtures/bindings/attribute/fast-build.config.json +0 -6
  141. package/test/declarative/fixtures/bindings/attribute/index.html +0 -25
  142. package/test/declarative/fixtures/bindings/attribute/main.ts +0 -41
  143. package/test/declarative/fixtures/bindings/attribute/state.json +0 -8
  144. package/test/declarative/fixtures/bindings/attribute/templates.html +0 -11
  145. package/test/declarative/fixtures/bindings/content/entry.html +0 -12
  146. package/test/declarative/fixtures/bindings/content/fast-build.config.json +0 -6
  147. package/test/declarative/fixtures/bindings/content/index.html +0 -19
  148. package/test/declarative/fixtures/bindings/content/main.ts +0 -27
  149. package/test/declarative/fixtures/bindings/content/state.json +0 -4
  150. package/test/declarative/fixtures/bindings/content/templates.html +0 -6
  151. package/test/declarative/fixtures/bindings/dot-syntax/entry.html +0 -11
  152. package/test/declarative/fixtures/bindings/dot-syntax/fast-build.config.json +0 -6
  153. package/test/declarative/fixtures/bindings/dot-syntax/index.html +0 -47
  154. package/test/declarative/fixtures/bindings/dot-syntax/main.ts +0 -59
  155. package/test/declarative/fixtures/bindings/dot-syntax/state.json +0 -16
  156. package/test/declarative/fixtures/bindings/dot-syntax/templates.html +0 -17
  157. package/test/declarative/fixtures/bindings/event/entry.html +0 -11
  158. package/test/declarative/fixtures/bindings/event/fast-build.config.json +0 -6
  159. package/test/declarative/fixtures/bindings/event/index.html +0 -43
  160. package/test/declarative/fixtures/bindings/event/main.ts +0 -43
  161. package/test/declarative/fixtures/bindings/event/state.json +0 -3
  162. package/test/declarative/fixtures/bindings/event/templates.html +0 -18
  163. package/test/declarative/fixtures/bindings/host/entry.html +0 -40
  164. package/test/declarative/fixtures/bindings/host/fast-build.config.json +0 -6
  165. package/test/declarative/fixtures/bindings/host/index.html +0 -96
  166. package/test/declarative/fixtures/bindings/host/main.ts +0 -222
  167. package/test/declarative/fixtures/bindings/host/state.json +0 -9
  168. package/test/declarative/fixtures/bindings/host/templates.html +0 -55
  169. package/test/declarative/fixtures/directives/README.md +0 -12
  170. package/test/declarative/fixtures/directives/children/entry.html +0 -11
  171. package/test/declarative/fixtures/directives/children/fast-build.config.json +0 -6
  172. package/test/declarative/fixtures/directives/children/index.html +0 -15
  173. package/test/declarative/fixtures/directives/children/main.ts +0 -22
  174. package/test/declarative/fixtures/directives/children/state.json +0 -3
  175. package/test/declarative/fixtures/directives/children/templates.html +0 -3
  176. package/test/declarative/fixtures/directives/ref/entry.html +0 -11
  177. package/test/declarative/fixtures/directives/ref/fast-build.config.json +0 -6
  178. package/test/declarative/fixtures/directives/ref/index.html +0 -15
  179. package/test/declarative/fixtures/directives/ref/main.ts +0 -17
  180. package/test/declarative/fixtures/directives/ref/state.json +0 -1
  181. package/test/declarative/fixtures/directives/ref/templates.html +0 -3
  182. package/test/declarative/fixtures/directives/repeat/entry.html +0 -21
  183. package/test/declarative/fixtures/directives/repeat/fast-build.config.json +0 -6
  184. package/test/declarative/fixtures/directives/repeat/index.html +0 -133
  185. package/test/declarative/fixtures/directives/repeat/main.ts +0 -110
  186. package/test/declarative/fixtures/directives/repeat/sprites.svg +0 -8
  187. package/test/declarative/fixtures/directives/repeat/state.json +0 -10
  188. package/test/declarative/fixtures/directives/repeat/templates.html +0 -75
  189. package/test/declarative/fixtures/directives/slotted/entry.html +0 -17
  190. package/test/declarative/fixtures/directives/slotted/fast-build.config.json +0 -6
  191. package/test/declarative/fixtures/directives/slotted/index.html +0 -27
  192. package/test/declarative/fixtures/directives/slotted/main.ts +0 -29
  193. package/test/declarative/fixtures/directives/slotted/state.json +0 -1
  194. package/test/declarative/fixtures/directives/slotted/templates.html +0 -7
  195. package/test/declarative/fixtures/directives/when/entry.html +0 -51
  196. package/test/declarative/fixtures/directives/when/fast-build.config.json +0 -6
  197. package/test/declarative/fixtures/directives/when/index.html +0 -136
  198. package/test/declarative/fixtures/directives/when/main.ts +0 -172
  199. package/test/declarative/fixtures/directives/when/state.json +0 -12
  200. package/test/declarative/fixtures/directives/when/templates.html +0 -75
  201. package/test/declarative/fixtures/ecosystem/README.md +0 -11
  202. package/test/declarative/fixtures/ecosystem/declarative-no-hydration/entry.html +0 -12
  203. package/test/declarative/fixtures/ecosystem/declarative-no-hydration/fast-build.config.json +0 -6
  204. package/test/declarative/fixtures/ecosystem/declarative-no-hydration/index.html +0 -20
  205. package/test/declarative/fixtures/ecosystem/declarative-no-hydration/main.ts +0 -68
  206. package/test/declarative/fixtures/ecosystem/declarative-no-hydration/state.json +0 -4
  207. package/test/declarative/fixtures/ecosystem/declarative-no-hydration/templates.html +0 -7
  208. package/test/declarative/fixtures/ecosystem/errors/entry.html +0 -12
  209. package/test/declarative/fixtures/ecosystem/errors/fast-build.config.json +0 -6
  210. package/test/declarative/fixtures/ecosystem/errors/index.html +0 -20
  211. package/test/declarative/fixtures/ecosystem/errors/main.ts +0 -17
  212. package/test/declarative/fixtures/ecosystem/errors/state.json +0 -1
  213. package/test/declarative/fixtures/ecosystem/errors/templates.html +0 -7
  214. package/test/declarative/fixtures/ecosystem/lifecycle-callbacks/entry.html +0 -17
  215. package/test/declarative/fixtures/ecosystem/lifecycle-callbacks/fast-build.config.json +0 -6
  216. package/test/declarative/fixtures/ecosystem/lifecycle-callbacks/index.html +0 -56
  217. package/test/declarative/fixtures/ecosystem/lifecycle-callbacks/main.ts +0 -134
  218. package/test/declarative/fixtures/ecosystem/lifecycle-callbacks/state.json +0 -12
  219. package/test/declarative/fixtures/ecosystem/lifecycle-callbacks/templates.html +0 -34
  220. package/test/declarative/fixtures/ecosystem/performance-metrics/entry.html +0 -25
  221. package/test/declarative/fixtures/ecosystem/performance-metrics/fast-build.config.json +0 -6
  222. package/test/declarative/fixtures/ecosystem/performance-metrics/fast-card.css +0 -10
  223. package/test/declarative/fixtures/ecosystem/performance-metrics/index.html +0 -181
  224. package/test/declarative/fixtures/ecosystem/performance-metrics/main.ts +0 -58
  225. package/test/declarative/fixtures/ecosystem/performance-metrics/state.json +0 -6
  226. package/test/declarative/fixtures/ecosystem/performance-metrics/templates.html +0 -15
  227. package/test/declarative/fixtures/extensions/README.md +0 -15
  228. package/test/declarative/fixtures/extensions/attribute-map/entry.html +0 -14
  229. package/test/declarative/fixtures/extensions/attribute-map/fast-build.config.json +0 -6
  230. package/test/declarative/fixtures/extensions/attribute-map/index.html +0 -31
  231. package/test/declarative/fixtures/extensions/attribute-map/main.ts +0 -40
  232. package/test/declarative/fixtures/extensions/attribute-map/state.json +0 -4
  233. package/test/declarative/fixtures/extensions/attribute-map/templates.html +0 -14
  234. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy/entry.html +0 -12
  235. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy/fast-build.config.json +0 -7
  236. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy/index.html +0 -25
  237. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy/main.ts +0 -31
  238. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy/state.json +0 -5
  239. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy/templates.html +0 -11
  240. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy-camel-case/entry.html +0 -13
  241. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy-camel-case/fast-build.config.json +0 -7
  242. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy-camel-case/index.html +0 -23
  243. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy-camel-case/main.ts +0 -37
  244. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy-camel-case/state.json +0 -1
  245. package/test/declarative/fixtures/extensions/attribute-map-naming-strategy-camel-case/templates.html +0 -9
  246. package/test/declarative/fixtures/extensions/observer-map/entry.html +0 -15
  247. package/test/declarative/fixtures/extensions/observer-map/fast-build.config.json +0 -6
  248. package/test/declarative/fixtures/extensions/observer-map/index.html +0 -442
  249. package/test/declarative/fixtures/extensions/observer-map/main.ts +0 -482
  250. package/test/declarative/fixtures/extensions/observer-map/state.json +0 -158
  251. package/test/declarative/fixtures/extensions/observer-map/templates.html +0 -172
  252. package/test/declarative/fixtures/extensions/observer-map-config-object/entry.html +0 -16
  253. package/test/declarative/fixtures/extensions/observer-map-config-object/fast-build.config.json +0 -6
  254. package/test/declarative/fixtures/extensions/observer-map-config-object/index.html +0 -27
  255. package/test/declarative/fixtures/extensions/observer-map-config-object/main.ts +0 -53
  256. package/test/declarative/fixtures/extensions/observer-map-config-object/state.json +0 -9
  257. package/test/declarative/fixtures/extensions/observer-map-config-object/templates.html +0 -12
  258. package/test/declarative/fixtures/extensions/observer-map-deep-merge/README.md +0 -98
  259. package/test/declarative/fixtures/extensions/observer-map-deep-merge/entry.html +0 -156
  260. package/test/declarative/fixtures/extensions/observer-map-deep-merge/fast-build.config.json +0 -6
  261. package/test/declarative/fixtures/extensions/observer-map-deep-merge/index.html +0 -376
  262. package/test/declarative/fixtures/extensions/observer-map-deep-merge/main.ts +0 -366
  263. package/test/declarative/fixtures/extensions/observer-map-deep-merge/state.json +0 -69
  264. package/test/declarative/fixtures/extensions/observer-map-deep-merge/templates.html +0 -91
  265. package/test/declarative/fixtures/extensions/observer-map-properties/entry.html +0 -14
  266. package/test/declarative/fixtures/extensions/observer-map-properties/fast-build.config.json +0 -6
  267. package/test/declarative/fixtures/extensions/observer-map-properties/index.html +0 -110
  268. package/test/declarative/fixtures/extensions/observer-map-properties/main.ts +0 -175
  269. package/test/declarative/fixtures/extensions/observer-map-properties/state.json +0 -29
  270. package/test/declarative/fixtures/extensions/observer-map-properties/templates.html +0 -55
  271. package/test/declarative/fixtures/scenarios/README.md +0 -7
  272. package/test/declarative/fixtures/scenarios/nested-elements/entry.html +0 -16
  273. package/test/declarative/fixtures/scenarios/nested-elements/fast-build.config.json +0 -6
  274. package/test/declarative/fixtures/scenarios/nested-elements/index.html +0 -126
  275. package/test/declarative/fixtures/scenarios/nested-elements/main.ts +0 -214
  276. package/test/declarative/fixtures/scenarios/nested-elements/state.json +0 -10
  277. package/test/declarative/fixtures/scenarios/nested-elements/templates.html +0 -54
  278. package/test/declarative/index.html +0 -12
  279. package/test/declarative/vite.config.ts +0 -55
  280. package/test/declarative-main.ts +0 -6
  281. package/test/extension-subpaths-main.ts +0 -9
  282. package/test/index.html +0 -11
  283. package/test/main.ts +0 -109
  284. package/test/pure-declarative-main.ts +0 -1
  285. package/test/vite.config.ts +0 -19
  286. package/tsconfig.api-extractor.json +0 -6
@@ -482,7 +482,7 @@
482
482
  {
483
483
  "kind": "Class",
484
484
  "canonicalReference": "@microsoft/fast-element!AttributeDefinition:class",
485
- "docComment": "/**\n * An implementation of `Accessor` that supports reactivity, change callbacks, attribute reflection, and type conversion for custom elements.\n *\n * @public\n */\n",
485
+ "docComment": "/**\n * An implementation of {@link Accessor} that supports reactivity, change callbacks, attribute reflection, and type conversion for custom elements.\n *\n * @public\n */\n",
486
486
  "excerptTokens": [
487
487
  {
488
488
  "kind": "Content",
@@ -1113,11 +1113,51 @@
1113
1113
  "excerptTokens": [
1114
1114
  {
1115
1115
  "kind": "Content",
1116
- "text": "export interface CaptureType "
1116
+ "text": "export interface CaptureType<TSource = "
1117
+ },
1118
+ {
1119
+ "kind": "Content",
1120
+ "text": "any"
1121
+ },
1122
+ {
1123
+ "kind": "Content",
1124
+ "text": ", TParent = "
1125
+ },
1126
+ {
1127
+ "kind": "Content",
1128
+ "text": "any"
1129
+ },
1130
+ {
1131
+ "kind": "Content",
1132
+ "text": "> "
1117
1133
  }
1118
1134
  ],
1119
1135
  "fileUrlPath": "dist/dts/templating/template.d.ts",
1120
1136
  "releaseTag": "Public",
1137
+ "typeParameters": [
1138
+ {
1139
+ "typeParameterName": "TSource",
1140
+ "constraintTokenRange": {
1141
+ "startIndex": 0,
1142
+ "endIndex": 0
1143
+ },
1144
+ "defaultTypeTokenRange": {
1145
+ "startIndex": 1,
1146
+ "endIndex": 2
1147
+ }
1148
+ },
1149
+ {
1150
+ "typeParameterName": "TParent",
1151
+ "constraintTokenRange": {
1152
+ "startIndex": 0,
1153
+ "endIndex": 0
1154
+ },
1155
+ "defaultTypeTokenRange": {
1156
+ "startIndex": 3,
1157
+ "endIndex": 4
1158
+ }
1159
+ }
1160
+ ],
1121
1161
  "name": "CaptureType",
1122
1162
  "preserveMemberOrder": false,
1123
1163
  "members": [],
@@ -1333,7 +1373,51 @@
1333
1373
  "excerptTokens": [
1334
1374
  {
1335
1375
  "kind": "Content",
1336
- "text": "export declare function declarativeTemplate(callbacks?: "
1376
+ "text": "export declare function declarativeTemplate<TType extends "
1377
+ },
1378
+ {
1379
+ "kind": "Reference",
1380
+ "text": "Constructable",
1381
+ "canonicalReference": "@microsoft/fast-element!Constructable:type"
1382
+ },
1383
+ {
1384
+ "kind": "Content",
1385
+ "text": "<"
1386
+ },
1387
+ {
1388
+ "kind": "Reference",
1389
+ "text": "HTMLElement",
1390
+ "canonicalReference": "!HTMLElement:interface"
1391
+ },
1392
+ {
1393
+ "kind": "Content",
1394
+ "text": ">"
1395
+ },
1396
+ {
1397
+ "kind": "Content",
1398
+ "text": " = "
1399
+ },
1400
+ {
1401
+ "kind": "Reference",
1402
+ "text": "Constructable",
1403
+ "canonicalReference": "@microsoft/fast-element!Constructable:type"
1404
+ },
1405
+ {
1406
+ "kind": "Content",
1407
+ "text": "<"
1408
+ },
1409
+ {
1410
+ "kind": "Reference",
1411
+ "text": "HTMLElement",
1412
+ "canonicalReference": "!HTMLElement:interface"
1413
+ },
1414
+ {
1415
+ "kind": "Content",
1416
+ "text": ">"
1417
+ },
1418
+ {
1419
+ "kind": "Content",
1420
+ "text": ">(callbacks?: "
1337
1421
  },
1338
1422
  {
1339
1423
  "kind": "Reference",
@@ -1349,6 +1433,10 @@
1349
1433
  "text": "FASTElementTemplateResolver",
1350
1434
  "canonicalReference": "@microsoft/fast-element!FASTElementTemplateResolver:type"
1351
1435
  },
1436
+ {
1437
+ "kind": "Content",
1438
+ "text": "<TType>"
1439
+ },
1352
1440
  {
1353
1441
  "kind": "Content",
1354
1442
  "text": ";"
@@ -1356,8 +1444,8 @@
1356
1444
  ],
1357
1445
  "fileUrlPath": "dist/dts/declarative/template.d.ts",
1358
1446
  "returnTypeTokenRange": {
1359
- "startIndex": 3,
1360
- "endIndex": 4
1447
+ "startIndex": 13,
1448
+ "endIndex": 15
1361
1449
  },
1362
1450
  "releaseTag": "Public",
1363
1451
  "overloadIndex": 1,
@@ -1365,12 +1453,25 @@
1365
1453
  {
1366
1454
  "parameterName": "callbacks",
1367
1455
  "parameterTypeTokenRange": {
1368
- "startIndex": 1,
1369
- "endIndex": 2
1456
+ "startIndex": 11,
1457
+ "endIndex": 12
1370
1458
  },
1371
1459
  "isOptional": true
1372
1460
  }
1373
1461
  ],
1462
+ "typeParameters": [
1463
+ {
1464
+ "typeParameterName": "TType",
1465
+ "constraintTokenRange": {
1466
+ "startIndex": 1,
1467
+ "endIndex": 5
1468
+ },
1469
+ "defaultTypeTokenRange": {
1470
+ "startIndex": 6,
1471
+ "endIndex": 10
1472
+ }
1473
+ }
1474
+ ],
1374
1475
  "name": "declarativeTemplate"
1375
1476
  },
1376
1477
  {
@@ -1432,17 +1533,316 @@
1432
1533
  }
1433
1534
  ]
1434
1535
  },
1536
+ {
1537
+ "kind": "TypeAlias",
1538
+ "canonicalReference": "@microsoft/fast-element!DOMAspect:type",
1539
+ "docComment": "/**\n * The type of HTML aspect to target.\n *\n * @public\n */\n",
1540
+ "excerptTokens": [
1541
+ {
1542
+ "kind": "Content",
1543
+ "text": "export type DOMAspect = "
1544
+ },
1545
+ {
1546
+ "kind": "Content",
1547
+ "text": "(typeof "
1548
+ },
1549
+ {
1550
+ "kind": "Reference",
1551
+ "text": "DOMAspect",
1552
+ "canonicalReference": "@microsoft/fast-element!DOMAspect:var"
1553
+ },
1554
+ {
1555
+ "kind": "Content",
1556
+ "text": ")["
1557
+ },
1558
+ {
1559
+ "kind": "Reference",
1560
+ "text": "Exclude",
1561
+ "canonicalReference": "!Exclude:type"
1562
+ },
1563
+ {
1564
+ "kind": "Content",
1565
+ "text": "<keyof typeof "
1566
+ },
1567
+ {
1568
+ "kind": "Reference",
1569
+ "text": "DOMAspect",
1570
+ "canonicalReference": "@microsoft/fast-element!DOMAspect:var"
1571
+ },
1572
+ {
1573
+ "kind": "Content",
1574
+ "text": ", \"none\">]"
1575
+ },
1576
+ {
1577
+ "kind": "Content",
1578
+ "text": ";"
1579
+ }
1580
+ ],
1581
+ "fileUrlPath": "dist/dts/dom.d.ts",
1582
+ "releaseTag": "Public",
1583
+ "name": "DOMAspect",
1584
+ "typeTokenRange": {
1585
+ "startIndex": 1,
1586
+ "endIndex": 8
1587
+ }
1588
+ },
1589
+ {
1590
+ "kind": "Variable",
1591
+ "canonicalReference": "@microsoft/fast-element!DOMAspect:var",
1592
+ "docComment": "/**\n * The type of HTML aspect to target.\n *\n * @public\n */\n",
1593
+ "excerptTokens": [
1594
+ {
1595
+ "kind": "Content",
1596
+ "text": "DOMAspect: "
1597
+ },
1598
+ {
1599
+ "kind": "Reference",
1600
+ "text": "Readonly",
1601
+ "canonicalReference": "!Readonly:type"
1602
+ },
1603
+ {
1604
+ "kind": "Content",
1605
+ "text": "<{\n readonly none: 0;\n readonly attribute: 1;\n readonly booleanAttribute: 2;\n readonly property: 3;\n readonly content: 4;\n readonly tokenList: 5;\n readonly event: 6;\n}>"
1606
+ }
1607
+ ],
1608
+ "fileUrlPath": "dist/dts/dom.d.ts",
1609
+ "isReadonly": true,
1610
+ "releaseTag": "Public",
1611
+ "name": "DOMAspect",
1612
+ "variableTypeTokenRange": {
1613
+ "startIndex": 1,
1614
+ "endIndex": 3
1615
+ }
1616
+ },
1617
+ {
1618
+ "kind": "TypeAlias",
1619
+ "canonicalReference": "@microsoft/fast-element!DOMAspectGuards:type",
1620
+ "docComment": "/**\n * Aspect-specific guards for a DOM Policy.\n *\n * @public\n */\n",
1621
+ "excerptTokens": [
1622
+ {
1623
+ "kind": "Content",
1624
+ "text": "export type DOMAspectGuards = "
1625
+ },
1626
+ {
1627
+ "kind": "Content",
1628
+ "text": "{\n ["
1629
+ },
1630
+ {
1631
+ "kind": "Reference",
1632
+ "text": "DOMAspect.attribute",
1633
+ "canonicalReference": "@microsoft/fast-element!~attribute"
1634
+ },
1635
+ {
1636
+ "kind": "Content",
1637
+ "text": "]?: "
1638
+ },
1639
+ {
1640
+ "kind": "Reference",
1641
+ "text": "DOMSinkGuards",
1642
+ "canonicalReference": "@microsoft/fast-element!DOMSinkGuards:type"
1643
+ },
1644
+ {
1645
+ "kind": "Content",
1646
+ "text": ";\n ["
1647
+ },
1648
+ {
1649
+ "kind": "Reference",
1650
+ "text": "DOMAspect.booleanAttribute",
1651
+ "canonicalReference": "@microsoft/fast-element!~booleanAttribute"
1652
+ },
1653
+ {
1654
+ "kind": "Content",
1655
+ "text": "]?: "
1656
+ },
1657
+ {
1658
+ "kind": "Reference",
1659
+ "text": "DOMSinkGuards",
1660
+ "canonicalReference": "@microsoft/fast-element!DOMSinkGuards:type"
1661
+ },
1662
+ {
1663
+ "kind": "Content",
1664
+ "text": ";\n ["
1665
+ },
1666
+ {
1667
+ "kind": "Reference",
1668
+ "text": "DOMAspect.property",
1669
+ "canonicalReference": "@microsoft/fast-element!~property"
1670
+ },
1671
+ {
1672
+ "kind": "Content",
1673
+ "text": "]?: "
1674
+ },
1675
+ {
1676
+ "kind": "Reference",
1677
+ "text": "DOMSinkGuards",
1678
+ "canonicalReference": "@microsoft/fast-element!DOMSinkGuards:type"
1679
+ },
1680
+ {
1681
+ "kind": "Content",
1682
+ "text": ";\n ["
1683
+ },
1684
+ {
1685
+ "kind": "Reference",
1686
+ "text": "DOMAspect.content",
1687
+ "canonicalReference": "@microsoft/fast-element!~content"
1688
+ },
1689
+ {
1690
+ "kind": "Content",
1691
+ "text": "]?: "
1692
+ },
1693
+ {
1694
+ "kind": "Reference",
1695
+ "text": "DOMSinkGuards",
1696
+ "canonicalReference": "@microsoft/fast-element!DOMSinkGuards:type"
1697
+ },
1698
+ {
1699
+ "kind": "Content",
1700
+ "text": ";\n ["
1701
+ },
1702
+ {
1703
+ "kind": "Reference",
1704
+ "text": "DOMAspect.tokenList",
1705
+ "canonicalReference": "@microsoft/fast-element!~tokenList"
1706
+ },
1707
+ {
1708
+ "kind": "Content",
1709
+ "text": "]?: "
1710
+ },
1711
+ {
1712
+ "kind": "Reference",
1713
+ "text": "DOMSinkGuards",
1714
+ "canonicalReference": "@microsoft/fast-element!DOMSinkGuards:type"
1715
+ },
1716
+ {
1717
+ "kind": "Content",
1718
+ "text": ";\n ["
1719
+ },
1720
+ {
1721
+ "kind": "Reference",
1722
+ "text": "DOMAspect.event",
1723
+ "canonicalReference": "@microsoft/fast-element!~event"
1724
+ },
1725
+ {
1726
+ "kind": "Content",
1727
+ "text": "]?: "
1728
+ },
1729
+ {
1730
+ "kind": "Reference",
1731
+ "text": "DOMSinkGuards",
1732
+ "canonicalReference": "@microsoft/fast-element!DOMSinkGuards:type"
1733
+ },
1734
+ {
1735
+ "kind": "Content",
1736
+ "text": ";\n}"
1737
+ },
1738
+ {
1739
+ "kind": "Content",
1740
+ "text": ";"
1741
+ }
1742
+ ],
1743
+ "fileUrlPath": "dist/dts/dom-policy.d.ts",
1744
+ "releaseTag": "Public",
1745
+ "name": "DOMAspectGuards",
1746
+ "typeTokenRange": {
1747
+ "startIndex": 1,
1748
+ "endIndex": 26
1749
+ }
1750
+ },
1751
+ {
1752
+ "kind": "TypeAlias",
1753
+ "canonicalReference": "@microsoft/fast-element!DOMElementGuards:type",
1754
+ "docComment": "/**\n * Element-specific guards for a DOM Policy.\n *\n * @public\n */\n",
1755
+ "excerptTokens": [
1756
+ {
1757
+ "kind": "Content",
1758
+ "text": "export type DOMElementGuards = "
1759
+ },
1760
+ {
1761
+ "kind": "Reference",
1762
+ "text": "Record",
1763
+ "canonicalReference": "!Record:type"
1764
+ },
1765
+ {
1766
+ "kind": "Content",
1767
+ "text": "<string, "
1768
+ },
1769
+ {
1770
+ "kind": "Reference",
1771
+ "text": "DOMAspectGuards",
1772
+ "canonicalReference": "@microsoft/fast-element!DOMAspectGuards:type"
1773
+ },
1774
+ {
1775
+ "kind": "Content",
1776
+ "text": ">"
1777
+ },
1778
+ {
1779
+ "kind": "Content",
1780
+ "text": ";"
1781
+ }
1782
+ ],
1783
+ "fileUrlPath": "dist/dts/dom-policy.d.ts",
1784
+ "releaseTag": "Public",
1785
+ "name": "DOMElementGuards",
1786
+ "typeTokenRange": {
1787
+ "startIndex": 1,
1788
+ "endIndex": 5
1789
+ }
1790
+ },
1791
+ {
1792
+ "kind": "TypeAlias",
1793
+ "canonicalReference": "@microsoft/fast-element!DOMGuards:type",
1794
+ "docComment": "/**\n * Guard configuration for a DOM Policy.\n *\n * @public\n */\n",
1795
+ "excerptTokens": [
1796
+ {
1797
+ "kind": "Content",
1798
+ "text": "export type DOMGuards = "
1799
+ },
1800
+ {
1801
+ "kind": "Content",
1802
+ "text": "{\n elements: "
1803
+ },
1804
+ {
1805
+ "kind": "Reference",
1806
+ "text": "DOMElementGuards",
1807
+ "canonicalReference": "@microsoft/fast-element!DOMElementGuards:type"
1808
+ },
1809
+ {
1810
+ "kind": "Content",
1811
+ "text": ";\n aspects: "
1812
+ },
1813
+ {
1814
+ "kind": "Reference",
1815
+ "text": "DOMAspectGuards",
1816
+ "canonicalReference": "@microsoft/fast-element!DOMAspectGuards:type"
1817
+ },
1818
+ {
1819
+ "kind": "Content",
1820
+ "text": ";\n}"
1821
+ },
1822
+ {
1823
+ "kind": "Content",
1824
+ "text": ";"
1825
+ }
1826
+ ],
1827
+ "fileUrlPath": "dist/dts/dom-policy.d.ts",
1828
+ "releaseTag": "Public",
1829
+ "name": "DOMGuards",
1830
+ "typeTokenRange": {
1831
+ "startIndex": 1,
1832
+ "endIndex": 6
1833
+ }
1834
+ },
1435
1835
  {
1436
1836
  "kind": "Interface",
1437
1837
  "canonicalReference": "@microsoft/fast-element!DOMPolicy:interface",
1438
- "docComment": "/**\n * A security policy that FAST can use to interact with the DOM.\n *\n * @public\n */\n",
1838
+ "docComment": "/**\n * A policy that controls whether values can be written to DOM sinks.\n *\n * @public\n */\n",
1439
1839
  "excerptTokens": [
1440
1840
  {
1441
1841
  "kind": "Content",
1442
1842
  "text": "export interface DOMPolicy "
1443
1843
  }
1444
1844
  ],
1445
- "fileUrlPath": "dist/dts/dom.d.ts",
1845
+ "fileUrlPath": "dist/dts/dom-policy.d.ts",
1446
1846
  "releaseTag": "Public",
1447
1847
  "name": "DOMPolicy",
1448
1848
  "preserveMemberOrder": false,
@@ -1512,7 +1912,7 @@
1512
1912
  {
1513
1913
  "kind": "Reference",
1514
1914
  "text": "DOMAspect",
1515
- "canonicalReference": "@microsoft/fast-element!~DOMAspect:type"
1915
+ "canonicalReference": "@microsoft/fast-element!DOMAspect:type"
1516
1916
  },
1517
1917
  {
1518
1918
  "kind": "Content",
@@ -1529,7 +1929,7 @@
1529
1929
  {
1530
1930
  "kind": "Reference",
1531
1931
  "text": "DOMSink",
1532
- "canonicalReference": "@microsoft/fast-element!~DOMSink:type"
1932
+ "canonicalReference": "@microsoft/fast-element!DOMSink:type"
1533
1933
  },
1534
1934
  {
1535
1935
  "kind": "Content",
@@ -1538,7 +1938,7 @@
1538
1938
  {
1539
1939
  "kind": "Reference",
1540
1940
  "text": "DOMSink",
1541
- "canonicalReference": "@microsoft/fast-element!~DOMSink:type"
1941
+ "canonicalReference": "@microsoft/fast-element!DOMSink:type"
1542
1942
  },
1543
1943
  {
1544
1944
  "kind": "Content",
@@ -1591,6 +1991,207 @@
1591
1991
  ],
1592
1992
  "extendsTokenRanges": []
1593
1993
  },
1994
+ {
1995
+ "kind": "Variable",
1996
+ "canonicalReference": "@microsoft/fast-element!DOMPolicy:var",
1997
+ "docComment": "/**\n * A helper for creating DOM policies.\n *\n * @public\n */\n",
1998
+ "excerptTokens": [
1999
+ {
2000
+ "kind": "Content",
2001
+ "text": "DOMPolicy: "
2002
+ },
2003
+ {
2004
+ "kind": "Reference",
2005
+ "text": "Readonly",
2006
+ "canonicalReference": "!Readonly:type"
2007
+ },
2008
+ {
2009
+ "kind": "Content",
2010
+ "text": "<{\n create(options?: "
2011
+ },
2012
+ {
2013
+ "kind": "Reference",
2014
+ "text": "DOMPolicyOptions",
2015
+ "canonicalReference": "@microsoft/fast-element!DOMPolicyOptions:type"
2016
+ },
2017
+ {
2018
+ "kind": "Content",
2019
+ "text": "): "
2020
+ },
2021
+ {
2022
+ "kind": "Reference",
2023
+ "text": "Readonly",
2024
+ "canonicalReference": "!Readonly:type"
2025
+ },
2026
+ {
2027
+ "kind": "Content",
2028
+ "text": "<"
2029
+ },
2030
+ {
2031
+ "kind": "Reference",
2032
+ "text": "DOMPolicy",
2033
+ "canonicalReference": "@microsoft/fast-element!DOMPolicy:interface"
2034
+ },
2035
+ {
2036
+ "kind": "Content",
2037
+ "text": ">;\n}>"
2038
+ }
2039
+ ],
2040
+ "fileUrlPath": "dist/dts/dom-policy.d.ts",
2041
+ "isReadonly": true,
2042
+ "releaseTag": "Public",
2043
+ "name": "DOMPolicy",
2044
+ "variableTypeTokenRange": {
2045
+ "startIndex": 1,
2046
+ "endIndex": 9
2047
+ }
2048
+ },
2049
+ {
2050
+ "kind": "TypeAlias",
2051
+ "canonicalReference": "@microsoft/fast-element!DOMPolicyOptions:type",
2052
+ "docComment": "/**\n * Options for creating a DOM Policy.\n *\n * @public\n */\n",
2053
+ "excerptTokens": [
2054
+ {
2055
+ "kind": "Content",
2056
+ "text": "export type DOMPolicyOptions = "
2057
+ },
2058
+ {
2059
+ "kind": "Content",
2060
+ "text": "{\n trustedType?: "
2061
+ },
2062
+ {
2063
+ "kind": "Reference",
2064
+ "text": "TrustedTypesPolicy",
2065
+ "canonicalReference": "@microsoft/fast-element!TrustedTypesPolicy:type"
2066
+ },
2067
+ {
2068
+ "kind": "Content",
2069
+ "text": ";\n guards?: "
2070
+ },
2071
+ {
2072
+ "kind": "Reference",
2073
+ "text": "Partial",
2074
+ "canonicalReference": "!Partial:type"
2075
+ },
2076
+ {
2077
+ "kind": "Content",
2078
+ "text": "<"
2079
+ },
2080
+ {
2081
+ "kind": "Reference",
2082
+ "text": "DOMGuards",
2083
+ "canonicalReference": "@microsoft/fast-element!DOMGuards:type"
2084
+ },
2085
+ {
2086
+ "kind": "Content",
2087
+ "text": ">;\n}"
2088
+ },
2089
+ {
2090
+ "kind": "Content",
2091
+ "text": ";"
2092
+ }
2093
+ ],
2094
+ "fileUrlPath": "dist/dts/dom-policy.d.ts",
2095
+ "releaseTag": "Public",
2096
+ "name": "DOMPolicyOptions",
2097
+ "typeTokenRange": {
2098
+ "startIndex": 1,
2099
+ "endIndex": 8
2100
+ }
2101
+ },
2102
+ {
2103
+ "kind": "TypeAlias",
2104
+ "canonicalReference": "@microsoft/fast-element!DOMSink:type",
2105
+ "docComment": "/**\n * A function used to send values to a DOM sink.\n *\n * @public\n */\n",
2106
+ "excerptTokens": [
2107
+ {
2108
+ "kind": "Content",
2109
+ "text": "export type DOMSink = "
2110
+ },
2111
+ {
2112
+ "kind": "Content",
2113
+ "text": "(target: "
2114
+ },
2115
+ {
2116
+ "kind": "Reference",
2117
+ "text": "Node",
2118
+ "canonicalReference": "!Node:interface"
2119
+ },
2120
+ {
2121
+ "kind": "Content",
2122
+ "text": ", aspectName: string, value: any, ...args: any[]) => void"
2123
+ },
2124
+ {
2125
+ "kind": "Content",
2126
+ "text": ";"
2127
+ }
2128
+ ],
2129
+ "fileUrlPath": "dist/dts/dom.d.ts",
2130
+ "releaseTag": "Public",
2131
+ "name": "DOMSink",
2132
+ "typeTokenRange": {
2133
+ "startIndex": 1,
2134
+ "endIndex": 4
2135
+ }
2136
+ },
2137
+ {
2138
+ "kind": "TypeAlias",
2139
+ "canonicalReference": "@microsoft/fast-element!DOMSinkGuards:type",
2140
+ "docComment": "/**\n * A specific DOM sink guard for a node aspect.\n *\n * @public\n */\n",
2141
+ "excerptTokens": [
2142
+ {
2143
+ "kind": "Content",
2144
+ "text": "export type DOMSinkGuards = "
2145
+ },
2146
+ {
2147
+ "kind": "Reference",
2148
+ "text": "Record",
2149
+ "canonicalReference": "!Record:type"
2150
+ },
2151
+ {
2152
+ "kind": "Content",
2153
+ "text": "<string, (tagName: string | null, aspect: "
2154
+ },
2155
+ {
2156
+ "kind": "Reference",
2157
+ "text": "DOMAspect",
2158
+ "canonicalReference": "@microsoft/fast-element!DOMAspect:type"
2159
+ },
2160
+ {
2161
+ "kind": "Content",
2162
+ "text": ", aspectName: string, sink: "
2163
+ },
2164
+ {
2165
+ "kind": "Reference",
2166
+ "text": "DOMSink",
2167
+ "canonicalReference": "@microsoft/fast-element!DOMSink:type"
2168
+ },
2169
+ {
2170
+ "kind": "Content",
2171
+ "text": ") => "
2172
+ },
2173
+ {
2174
+ "kind": "Reference",
2175
+ "text": "DOMSink",
2176
+ "canonicalReference": "@microsoft/fast-element!DOMSink:type"
2177
+ },
2178
+ {
2179
+ "kind": "Content",
2180
+ "text": ">"
2181
+ },
2182
+ {
2183
+ "kind": "Content",
2184
+ "text": ";"
2185
+ }
2186
+ ],
2187
+ "fileUrlPath": "dist/dts/dom-policy.d.ts",
2188
+ "releaseTag": "Public",
2189
+ "name": "DOMSinkGuards",
2190
+ "typeTokenRange": {
2191
+ "startIndex": 1,
2192
+ "endIndex": 9
2193
+ }
2194
+ },
1594
2195
  {
1595
2196
  "kind": "Class",
1596
2197
  "canonicalReference": "@microsoft/fast-element!ElementStyles:class",
@@ -6294,6 +6895,10 @@
6294
6895
  "text": "CaptureType",
6295
6896
  "canonicalReference": "@microsoft/fast-element!CaptureType:interface"
6296
6897
  },
6898
+ {
6899
+ "kind": "Content",
6900
+ "text": "<TSource, TParent>"
6901
+ },
6297
6902
  {
6298
6903
  "kind": "Content",
6299
6904
  "text": ";"
@@ -6302,7 +6907,7 @@
6302
6907
  "isOptional": false,
6303
6908
  "returnTypeTokenRange": {
6304
6909
  "startIndex": 1,
6305
- "endIndex": 2
6910
+ "endIndex": 3
6306
6911
  },
6307
6912
  "releaseTag": "Public",
6308
6913
  "overloadIndex": 1,
@@ -6815,6 +7420,10 @@
6815
7420
  "text": "CaptureType",
6816
7421
  "canonicalReference": "@microsoft/fast-element!CaptureType:interface"
6817
7422
  },
7423
+ {
7424
+ "kind": "Content",
7425
+ "text": "<TSource, TParent>"
7426
+ },
6818
7427
  {
6819
7428
  "kind": "Content",
6820
7429
  "text": ";"
@@ -6849,7 +7458,33 @@
6849
7458
  ],
6850
7459
  "typeTokenRange": {
6851
7460
  "startIndex": 3,
6852
- "endIndex": 10
7461
+ "endIndex": 11
7462
+ }
7463
+ },
7464
+ {
7465
+ "kind": "TypeAlias",
7466
+ "canonicalReference": "@microsoft/fast-element!TrustedTypesPolicy:type",
7467
+ "docComment": "/**\n * A policy for use with the standard trustedTypes platform API.\n *\n * @public\n */\n",
7468
+ "excerptTokens": [
7469
+ {
7470
+ "kind": "Content",
7471
+ "text": "export type TrustedTypesPolicy = "
7472
+ },
7473
+ {
7474
+ "kind": "Content",
7475
+ "text": "{\n createHTML(html: string): string;\n}"
7476
+ },
7477
+ {
7478
+ "kind": "Content",
7479
+ "text": ";"
7480
+ }
7481
+ ],
7482
+ "fileUrlPath": "dist/dts/interfaces.d.ts",
7483
+ "releaseTag": "Public",
7484
+ "name": "TrustedTypesPolicy",
7485
+ "typeTokenRange": {
7486
+ "startIndex": 1,
7487
+ "endIndex": 2
6853
7488
  }
6854
7489
  },
6855
7490
  {
@@ -7672,6 +8307,10 @@
7672
8307
  "text": "CaptureType",
7673
8308
  "canonicalReference": "@microsoft/fast-element!CaptureType:interface"
7674
8309
  },
8310
+ {
8311
+ "kind": "Content",
8312
+ "text": "<TSource, TParent>"
8313
+ },
7675
8314
  {
7676
8315
  "kind": "Content",
7677
8316
  "text": ";"
@@ -7680,7 +8319,7 @@
7680
8319
  "isStatic": false,
7681
8320
  "returnTypeTokenRange": {
7682
8321
  "startIndex": 1,
7683
- "endIndex": 2
8322
+ "endIndex": 3
7684
8323
  },
7685
8324
  "releaseTag": "Public",
7686
8325
  "isProtected": false,