@microsoft/fast-element 2.0.0-beta.2 → 2.0.0-beta.20

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 (113) hide show
  1. package/CHANGELOG.json +488 -0
  2. package/CHANGELOG.md +180 -1
  3. package/dist/dts/components/attributes.d.ts +15 -0
  4. package/dist/dts/components/{controller.d.ts → element-controller.d.ts} +74 -28
  5. package/dist/dts/components/fast-definitions.d.ts +41 -9
  6. package/dist/dts/components/fast-element.d.ts +14 -26
  7. package/dist/dts/components/hydration.d.ts +14 -0
  8. package/dist/{esm/observation/behavior.js → dts/components/install-hydration.d.ts} +0 -0
  9. package/dist/dts/context.d.ts +1 -1
  10. package/dist/dts/di/di.d.ts +894 -0
  11. package/dist/dts/dom-policy.d.ts +68 -0
  12. package/dist/dts/dom.d.ts +100 -0
  13. package/dist/dts/index.d.ts +5 -4
  14. package/dist/dts/index.rollup.d.ts +0 -1
  15. package/dist/dts/index.rollup.debug.d.ts +0 -1
  16. package/dist/dts/interfaces.d.ts +60 -79
  17. package/dist/dts/observation/observable.d.ts +99 -54
  18. package/dist/dts/pending-task.d.ts +20 -0
  19. package/dist/dts/platform.d.ts +7 -0
  20. package/dist/dts/polyfills.d.ts +0 -8
  21. package/dist/dts/state/exports.d.ts +3 -0
  22. package/dist/dts/state/reactive.d.ts +8 -0
  23. package/dist/dts/state/state.d.ts +141 -0
  24. package/dist/dts/state/visitor.d.ts +6 -0
  25. package/dist/dts/state/watch.d.ts +10 -0
  26. package/dist/dts/styles/css-directive.d.ts +2 -2
  27. package/dist/dts/styles/css.d.ts +0 -5
  28. package/dist/dts/styles/element-styles.d.ts +10 -17
  29. package/dist/dts/styles/host.d.ts +68 -0
  30. package/dist/dts/styles/style-strategy.d.ts +42 -0
  31. package/dist/dts/templating/binding-signal.d.ts +12 -27
  32. package/dist/dts/templating/binding-two-way.d.ts +22 -37
  33. package/dist/dts/templating/binding.d.ts +76 -208
  34. package/dist/dts/templating/children.d.ts +1 -1
  35. package/dist/dts/templating/compiler.d.ts +11 -13
  36. package/dist/dts/templating/html-directive.d.ts +91 -97
  37. package/dist/dts/templating/node-observation.d.ts +15 -6
  38. package/dist/dts/templating/ref.d.ts +7 -11
  39. package/dist/dts/templating/render.d.ts +296 -0
  40. package/dist/dts/templating/repeat.d.ts +23 -34
  41. package/dist/dts/templating/slotted.d.ts +1 -1
  42. package/dist/dts/templating/template.d.ts +92 -14
  43. package/dist/dts/templating/view.d.ts +81 -11
  44. package/dist/dts/templating/when.d.ts +3 -3
  45. package/dist/dts/testing/exports.d.ts +3 -0
  46. package/dist/dts/testing/fakes.d.ts +14 -0
  47. package/dist/dts/testing/fixture.d.ts +84 -0
  48. package/dist/dts/testing/timeout.d.ts +7 -0
  49. package/dist/dts/utilities.d.ts +53 -18
  50. package/dist/esm/components/attributes.js +28 -5
  51. package/dist/esm/components/{controller.js → element-controller.js} +239 -137
  52. package/dist/esm/components/fast-definitions.js +38 -30
  53. package/dist/esm/components/fast-element.js +27 -16
  54. package/dist/esm/components/hydration.js +35 -0
  55. package/dist/esm/components/install-hydration.js +2 -0
  56. package/dist/esm/context.js +5 -1
  57. package/dist/esm/debug.js +40 -5
  58. package/dist/esm/di/di.js +1430 -0
  59. package/dist/esm/dom-policy.js +337 -0
  60. package/dist/esm/dom.js +101 -0
  61. package/dist/esm/index.js +4 -2
  62. package/dist/esm/index.rollup.debug.js +3 -1
  63. package/dist/esm/index.rollup.js +3 -1
  64. package/dist/esm/interfaces.js +52 -0
  65. package/dist/esm/observation/arrays.js +303 -2
  66. package/dist/esm/observation/observable.js +88 -142
  67. package/dist/esm/observation/update-queue.js +2 -2
  68. package/dist/esm/pending-task.js +16 -0
  69. package/dist/esm/platform.js +27 -2
  70. package/dist/esm/polyfills.js +3 -61
  71. package/dist/esm/state/exports.js +3 -0
  72. package/dist/esm/state/reactive.js +34 -0
  73. package/dist/esm/state/state.js +148 -0
  74. package/dist/esm/state/visitor.js +28 -0
  75. package/dist/esm/state/watch.js +36 -0
  76. package/dist/esm/styles/css.js +4 -9
  77. package/dist/esm/styles/element-styles.js +14 -33
  78. package/dist/esm/styles/host.js +1 -0
  79. package/dist/esm/styles/style-strategy.js +1 -0
  80. package/dist/esm/templating/binding-signal.js +67 -62
  81. package/dist/esm/templating/binding-two-way.js +72 -39
  82. package/dist/esm/templating/binding.js +142 -286
  83. package/dist/esm/templating/children.js +8 -4
  84. package/dist/esm/templating/compiler.js +59 -43
  85. package/dist/esm/templating/html-directive.js +56 -75
  86. package/dist/esm/templating/node-observation.js +20 -13
  87. package/dist/esm/templating/ref.js +4 -12
  88. package/dist/esm/templating/render.js +402 -0
  89. package/dist/esm/templating/repeat.js +88 -75
  90. package/dist/esm/templating/template.js +132 -60
  91. package/dist/esm/templating/view.js +113 -29
  92. package/dist/esm/templating/when.js +5 -4
  93. package/dist/esm/testing/exports.js +3 -0
  94. package/dist/esm/testing/fakes.js +107 -0
  95. package/dist/esm/testing/fixture.js +86 -0
  96. package/dist/esm/testing/timeout.js +24 -0
  97. package/dist/esm/utilities.js +95 -95
  98. package/dist/fast-element.api.json +9487 -8326
  99. package/dist/fast-element.d.ts +847 -644
  100. package/dist/fast-element.debug.js +1993 -1166
  101. package/dist/fast-element.debug.min.js +1 -1
  102. package/dist/fast-element.js +1903 -1111
  103. package/dist/fast-element.min.js +1 -1
  104. package/dist/fast-element.untrimmed.d.ts +911 -701
  105. package/docs/api-report.md +329 -252
  106. package/package.json +38 -16
  107. package/dist/dts/hooks.d.ts +0 -20
  108. package/dist/dts/observation/behavior.d.ts +0 -19
  109. package/dist/dts/observation/splice-strategies.d.ts +0 -13
  110. package/dist/dts/templating/dom.d.ts +0 -41
  111. package/dist/esm/hooks.js +0 -32
  112. package/dist/esm/observation/splice-strategies.js +0 -400
  113. package/dist/esm/templating/dom.js +0 -49
package/CHANGELOG.json CHANGED
@@ -1,6 +1,494 @@
1
1
  {
2
2
  "name": "@microsoft/fast-element",
3
3
  "entries": [
4
+ {
5
+ "date": "Wed, 11 Jan 2023 22:07:47 GMT",
6
+ "tag": "@microsoft/fast-element_v2.0.0-beta.20",
7
+ "version": "2.0.0-beta.20",
8
+ "comments": {
9
+ "prerelease": [
10
+ {
11
+ "author": "863023+radium-v@users.noreply.github.com",
12
+ "package": "@microsoft/fast-element",
13
+ "commit": "555f1b2cd614a1d5a9bc3985fb892d040c110cb3",
14
+ "comment": "add nullableBooleanConverter for attributes"
15
+ },
16
+ {
17
+ "author": "chhol@microsoft.com",
18
+ "package": "@microsoft/fast-element",
19
+ "commit": "52cd5171c3e9061af8066443023782bca2b0e59b",
20
+ "comment": "update return type for dangerousHTML to DangerousHTMLDirective"
21
+ },
22
+ {
23
+ "author": "rob@bluespire.com",
24
+ "package": "@microsoft/fast-element",
25
+ "commit": "4c58813ec1b770b1f95c1b5993f8e3013a7544e2",
26
+ "comment": "chore: remove deprecated APIs from fast-element"
27
+ },
28
+ {
29
+ "author": "roeisenb@microsoft.com",
30
+ "package": "@microsoft/fast-element",
31
+ "commit": "84fd72febb4dff874db9322a6cb27e698b3ec790",
32
+ "comment": "chore: cleanup fast-element interfaces"
33
+ },
34
+ {
35
+ "author": "roeisenb@microsoft.com",
36
+ "package": "@microsoft/fast-element",
37
+ "commit": "5c3b2f0431ae8f840d3dc778ff93be73b585c6e2",
38
+ "comment": "refactor(fast-element): replace dangerousHTML with html.partial"
39
+ },
40
+ {
41
+ "author": "roeisenb@microsoft.com",
42
+ "package": "@microsoft/fast-element",
43
+ "commit": "d14f697ed3449db50384f5c1304f6bb384f9cfe0",
44
+ "comment": "feat: add ability to inline templates"
45
+ }
46
+ ]
47
+ }
48
+ },
49
+ {
50
+ "date": "Fri, 02 Dec 2022 01:18:22 GMT",
51
+ "tag": "@microsoft/fast-element_v2.0.0-beta.19",
52
+ "version": "2.0.0-beta.19",
53
+ "comments": {
54
+ "prerelease": [
55
+ {
56
+ "author": "roeisenb@microsoft.com",
57
+ "package": "@microsoft/fast-element",
58
+ "commit": "e576aa70c22780fffba03097277e2db9a2ec1cd8",
59
+ "comment": "feat: add kernel mode with isolation by default"
60
+ }
61
+ ]
62
+ }
63
+ },
64
+ {
65
+ "date": "Tue, 15 Nov 2022 02:40:34 GMT",
66
+ "tag": "@microsoft/fast-element_v2.0.0-beta.18",
67
+ "version": "2.0.0-beta.18",
68
+ "comments": {
69
+ "prerelease": [
70
+ {
71
+ "author": "roeisenb@microsoft.com",
72
+ "package": "@microsoft/fast-element",
73
+ "commit": "1a1fc0b9e85f1e65c605e32f6724402291ffbcaa",
74
+ "comment": "chore: move ViewBehaviorOrchestrator to utilities"
75
+ },
76
+ {
77
+ "author": "roeisenb@microsoft.com",
78
+ "package": "@microsoft/fast-element",
79
+ "commit": "3c14603089495a7af8ed5b55122c418b47c45fd5",
80
+ "comment": "feat: add new DOM Policy protection throughout"
81
+ }
82
+ ]
83
+ }
84
+ },
85
+ {
86
+ "date": "Tue, 01 Nov 2022 23:26:26 GMT",
87
+ "tag": "@microsoft/fast-element_v2.0.0-beta.17",
88
+ "version": "2.0.0-beta.17",
89
+ "comments": {
90
+ "prerelease": [
91
+ {
92
+ "author": "roeisenb@microsoft.com",
93
+ "package": "@microsoft/fast-element",
94
+ "commit": "a4982f452702a8fee67397767b603d4a67702b10",
95
+ "comment": "fix: prevent circular reference errors when stringifying DOM nodes controlled by FAST's rendering engine"
96
+ }
97
+ ]
98
+ }
99
+ },
100
+ {
101
+ "date": "Fri, 28 Oct 2022 20:44:44 GMT",
102
+ "tag": "@microsoft/fast-element_v2.0.0-beta.16",
103
+ "version": "2.0.0-beta.16",
104
+ "comments": {
105
+ "prerelease": [
106
+ {
107
+ "author": "nicholasrice@users.noreply.github.com",
108
+ "package": "@microsoft/fast-element",
109
+ "commit": "5b745b1fb3bf249a7a2d172b7fb69cb08694aadd",
110
+ "comment": "Fixed bug preventing main component stylesheet behaviors from being connected during connectedCallback"
111
+ }
112
+ ]
113
+ }
114
+ },
115
+ {
116
+ "date": "Tue, 25 Oct 2022 20:24:32 GMT",
117
+ "tag": "@microsoft/fast-element_v2.0.0-beta.15",
118
+ "version": "2.0.0-beta.15",
119
+ "comments": {
120
+ "prerelease": [
121
+ {
122
+ "author": "nicholasrice@users.noreply.github.com",
123
+ "package": "@microsoft/fast-element",
124
+ "commit": "220cc7e0e0de490e51cc8b6f42ff46b03228beaa",
125
+ "comment": "Updated the ElementController to connect behaviors prior to rendering element templates"
126
+ },
127
+ {
128
+ "author": "nicholasrice@users.noreply.github.com",
129
+ "package": "@microsoft/fast-element",
130
+ "commit": "32ca5de5feda4870ed36329f58ded4a0a0421f02",
131
+ "comment": "Added support to fast-element to support element hydration and the `defer-hydration` attribute"
132
+ }
133
+ ]
134
+ }
135
+ },
136
+ {
137
+ "date": "Fri, 14 Oct 2022 18:26:11 GMT",
138
+ "tag": "@microsoft/fast-element_v2.0.0-beta.14",
139
+ "version": "2.0.0-beta.14",
140
+ "comments": {
141
+ "prerelease": [
142
+ {
143
+ "author": "roeisenb@microsoft.com",
144
+ "package": "@microsoft/fast-element",
145
+ "commit": "19f1ae727e2ff6e629d2b134fc045a81d83caaed",
146
+ "comment": "fix: tokenList bindings track adds and removes from multiple sources"
147
+ },
148
+ {
149
+ "author": "roeisenb@microsoft.com",
150
+ "package": "@microsoft/fast-element",
151
+ "commit": "0248fa906f986d6b0cbdeb26cf388742e871449e",
152
+ "comment": "refactor: remove duplication and re-organize binding behavior logic"
153
+ }
154
+ ]
155
+ }
156
+ },
157
+ {
158
+ "date": "Mon, 10 Oct 2022 20:28:02 GMT",
159
+ "tag": "@microsoft/fast-element_v2.0.0-beta.13",
160
+ "version": "2.0.0-beta.13",
161
+ "comments": {
162
+ "prerelease": [
163
+ {
164
+ "author": "roeisenb@microsoft.com",
165
+ "package": "@microsoft/fast-element",
166
+ "commit": "fed5e806e44da9d10916d9d765fb7f35ed300a3f",
167
+ "comment": "fix: prevent event callbacks when controller is not bound"
168
+ }
169
+ ]
170
+ }
171
+ },
172
+ {
173
+ "date": "Thu, 06 Oct 2022 23:21:20 GMT",
174
+ "tag": "@microsoft/fast-element_v2.0.0-beta.12",
175
+ "version": "2.0.0-beta.12",
176
+ "comments": {
177
+ "none": [
178
+ {
179
+ "author": "863023+radium-v@users.noreply.github.com",
180
+ "package": "@microsoft/fast-element",
181
+ "commit": "c06e32d72d518bf5c3152efe4e666f233190b445",
182
+ "comment": "upgrade karma to ^6.4.1"
183
+ }
184
+ ],
185
+ "prerelease": [
186
+ {
187
+ "author": "roeisenb@microsoft.com",
188
+ "package": "@microsoft/fast-element",
189
+ "commit": "a69c2e3c0700918fef5ba934909781cc8ab71384",
190
+ "comment": "fix: repeat update view context positioning"
191
+ }
192
+ ]
193
+ }
194
+ },
195
+ {
196
+ "date": "Wed, 05 Oct 2022 23:26:01 GMT",
197
+ "tag": "@microsoft/fast-element_v2.0.0-beta.11",
198
+ "version": "2.0.0-beta.11",
199
+ "comments": {
200
+ "prerelease": [
201
+ {
202
+ "author": "nicholasrice@users.noreply.github.com",
203
+ "package": "@microsoft/fast-element",
204
+ "commit": "21d1de94be2b9399ddc43a2b93c6483fa7304591",
205
+ "comment": "fix: removed a shadowRoot leak from ElementController"
206
+ }
207
+ ]
208
+ }
209
+ },
210
+ {
211
+ "date": "Mon, 03 Oct 2022 23:44:38 GMT",
212
+ "tag": "@microsoft/fast-element_v2.0.0-beta.10",
213
+ "version": "2.0.0-beta.10",
214
+ "comments": {
215
+ "prerelease": [
216
+ {
217
+ "author": "roeisenb@microsoft.com",
218
+ "package": "@microsoft/fast-element",
219
+ "commit": "d29444567d824eb92f4e91e9e173319aef30cfb5",
220
+ "comment": "fix: observation kernel missing binding observer disconnect method"
221
+ },
222
+ {
223
+ "author": "roeisenb@microsoft.com",
224
+ "package": "@microsoft/fast-element",
225
+ "commit": "9d620288eb30d963aa7ac08b4d771d79ea6eef7b",
226
+ "comment": "feat: less surprising class bindings w/ more flexibility for developers"
227
+ },
228
+ {
229
+ "author": "roeisenb@microsoft.com",
230
+ "package": "@microsoft/fast-element",
231
+ "commit": "a378bfa01843a8a042f3ae37aad6c8fd14fdbcc6",
232
+ "comment": "fix: don't allow registering FASTElement itself as a web component"
233
+ }
234
+ ]
235
+ }
236
+ },
237
+ {
238
+ "date": "Wed, 28 Sep 2022 20:45:51 GMT",
239
+ "tag": "@microsoft/fast-element_v2.0.0-beta.9",
240
+ "version": "2.0.0-beta.9",
241
+ "comments": {
242
+ "prerelease": [
243
+ {
244
+ "author": "roeisenb@microsoft.com",
245
+ "package": "@microsoft/fast-element",
246
+ "commit": "08fab33015853b7f820fdfdac2aecddfeb31843f",
247
+ "comment": "fix: ensure composed templates receive the existing execution context"
248
+ }
249
+ ]
250
+ }
251
+ },
252
+ {
253
+ "date": "Tue, 27 Sep 2022 22:31:52 GMT",
254
+ "tag": "@microsoft/fast-element_v2.0.0-beta.8",
255
+ "version": "2.0.0-beta.8",
256
+ "comments": {
257
+ "prerelease": [
258
+ {
259
+ "author": "roeisenb@microsoft.com",
260
+ "package": "@microsoft/fast-element",
261
+ "commit": "8834c6732c727d39f92f72b197388453a9c17f9b",
262
+ "comment": "fix: correct view state when processing unbindables during rebind"
263
+ },
264
+ {
265
+ "author": "roeisenb@microsoft.com",
266
+ "package": "@microsoft/fast-element",
267
+ "commit": "d949a8873621f409f9d9f3453cdb40b593d14b67",
268
+ "comment": "fix: do not crash when null/undefined is provided literally in templates"
269
+ }
270
+ ]
271
+ }
272
+ },
273
+ {
274
+ "date": "Fri, 23 Sep 2022 22:53:27 GMT",
275
+ "tag": "@microsoft/fast-element_v2.0.0-beta.7",
276
+ "version": "2.0.0-beta.7",
277
+ "comments": {
278
+ "prerelease": [
279
+ {
280
+ "author": "roeisenb@microsoft.com",
281
+ "package": "@microsoft/fast-element",
282
+ "commit": "1646b26450a08a77c8bd6302560fe12cc6989ae1",
283
+ "comment": "feat: improve parent typing and fix repeat context type bug"
284
+ },
285
+ {
286
+ "author": "roeisenb@microsoft.com",
287
+ "package": "@microsoft/fast-element",
288
+ "commit": "0d786392a38e1d83e56fb1e2112a3e571d193c11",
289
+ "comment": "feat: prepare fast-element for scoped element registries"
290
+ },
291
+ {
292
+ "author": "wendywendy@microsoft.com",
293
+ "package": "@microsoft/fast-element",
294
+ "commit": "a42ff75a9130a5ce13006c272c2e2bbbaffdbb41",
295
+ "comment": "persist totalAvailableViews to compare against removeIndex"
296
+ },
297
+ {
298
+ "author": "863023+radium-v@users.noreply.github.com",
299
+ "package": "@microsoft/fast-element",
300
+ "commit": "ec2b158dcf39c8b4152b22c3b65963046b473e17",
301
+ "comment": "make ElementsFilter type arguments optional"
302
+ },
303
+ {
304
+ "author": "roeisenb@microsoft.com",
305
+ "package": "@microsoft/fast-element",
306
+ "commit": "1039218eafa9a8dbea9da94e1c7803de48d1484c",
307
+ "comment": "fix(fast-element): attributes properly located in inheritance hierarchy"
308
+ },
309
+ {
310
+ "author": "nicholasrice@users.noreply.github.com",
311
+ "package": "@microsoft/fast-element",
312
+ "commit": "c1909e9899d517f9483b24043d49a8b193af3c26",
313
+ "comment": "Adds PendingTask community protocol"
314
+ },
315
+ {
316
+ "author": "roeisenb@microsoft.com",
317
+ "package": "@microsoft/fast-element",
318
+ "commit": "2edd63a8abe24c68cfc7c76d773c912c6f2d6543",
319
+ "comment": "feat: new behavior and context API design"
320
+ },
321
+ {
322
+ "author": "roeisenb@microsoft.com",
323
+ "package": "@microsoft/fast-element",
324
+ "commit": "eb62934b258334c7f92ab3a1112ea62b3901cdac",
325
+ "comment": "feat: implement getAsync code path for dependency injection"
326
+ }
327
+ ]
328
+ }
329
+ },
330
+ {
331
+ "date": "Thu, 01 Sep 2022 21:53:34 GMT",
332
+ "tag": "@microsoft/fast-element_v2.0.0-beta.6",
333
+ "version": "2.0.0-beta.6",
334
+ "comments": {
335
+ "prerelease": [
336
+ {
337
+ "author": "roeisenb@microsoft.com",
338
+ "package": "@microsoft/fast-element",
339
+ "commit": "da9ebbe1b7471cd4e6f7b74f2f9bf02fcc54da4f",
340
+ "comment": "feat: add new state, ownedState, and computedState APIs"
341
+ }
342
+ ]
343
+ }
344
+ },
345
+ {
346
+ "date": "Thu, 18 Aug 2022 20:46:10 GMT",
347
+ "tag": "@microsoft/fast-element_v2.0.0-beta.5",
348
+ "version": "2.0.0-beta.5",
349
+ "comments": {
350
+ "prerelease": [
351
+ {
352
+ "author": "nicholasrice@users.noreply.github.com",
353
+ "package": "@microsoft/fast-element",
354
+ "commit": "218cfc014f5c76464493725f83bd883e8b07defa",
355
+ "comment": "Fix ExpressionObserer bug where watcher was not reset if the binding threw"
356
+ },
357
+ {
358
+ "author": "prudepixie@users.noreply.github.com",
359
+ "package": "@microsoft/fast-element",
360
+ "commit": "fdd4514664691021a5673934c95acf31a8e73416",
361
+ "comment": "make insertbefore noop in view"
362
+ },
363
+ {
364
+ "author": "prudepixie@users.noreply.github.com",
365
+ "package": "@microsoft/fast-element",
366
+ "commit": "eb8d5a59f645b85567adadac41a3bfa66001f941",
367
+ "comment": "make sure default options for recycle gets set in different scenarios"
368
+ },
369
+ {
370
+ "author": "roeisenb@microsoft.com",
371
+ "package": "@microsoft/fast-element",
372
+ "commit": "ac3954c97acd3bd549a27829593855c431a24027",
373
+ "comment": "refactor: remove dependency of DI on FASTElement"
374
+ },
375
+ {
376
+ "author": "32497422+KingOfTac@users.noreply.github.com",
377
+ "package": "@microsoft/fast-element",
378
+ "commit": "29308db7920baaaac5b31b206d551669e165bc06",
379
+ "comment": "add subpath export for package.json to packages"
380
+ },
381
+ {
382
+ "author": "prudepixie@users.noreply.github.com",
383
+ "package": "@microsoft/fast-element",
384
+ "commit": "775d51602cba544347ec1e57fdb4fea248d1b1b5",
385
+ "comment": "change default array strategy to merge strategy, update repeat directive"
386
+ },
387
+ {
388
+ "author": "nicholasrice@users.noreply.github.com",
389
+ "package": "@microsoft/fast-element",
390
+ "commit": "aeac1198f427c33f789a2d869f58549ea5bfea57",
391
+ "comment": "assert FASTElement's type so that instanceof behavior is consistent with other class implementations"
392
+ }
393
+ ]
394
+ }
395
+ },
396
+ {
397
+ "date": "Mon, 18 Jul 2022 21:10:01 GMT",
398
+ "tag": "@microsoft/fast-element_v2.0.0-beta.4",
399
+ "version": "2.0.0-beta.4",
400
+ "comments": {
401
+ "prerelease": [
402
+ {
403
+ "author": "roeisenb@microsoft.com",
404
+ "package": "@microsoft/fast-element",
405
+ "commit": "f9fb9c88902bd81233fb927a7357d4bca7634f29",
406
+ "comment": "feat: extract all error messages from context and DI"
407
+ },
408
+ {
409
+ "author": "roeisenb@microsoft.com",
410
+ "package": "@microsoft/fast-element",
411
+ "commit": "27dc848327b25328e428f67505684d2171b58711",
412
+ "comment": "feat: introduce new binding API"
413
+ },
414
+ {
415
+ "author": "roeisenb@microsoft.com",
416
+ "package": "@microsoft/fast-element",
417
+ "commit": "7f4d6b5587f6eff52e5b7f414e27543bb4d7772d",
418
+ "comment": "Enabled DOM Container fallback functions when a container cannot be located."
419
+ },
420
+ {
421
+ "author": "roeisenb@microsoft.com",
422
+ "package": "@microsoft/fast-element",
423
+ "commit": "0f57d55822bbf97ab69f90efc0a0d100b27e10eb",
424
+ "comment": "feat: add render directive, renderWith decorator, and RenderInstruction"
425
+ },
426
+ {
427
+ "author": "prudepixie@users.noreply.github.com",
428
+ "package": "@microsoft/fast-element",
429
+ "commit": "94e6b0a0e7e1fd1167bd6453c3f7b27efdc91804",
430
+ "comment": "only store removed views if it can't be reused right away"
431
+ },
432
+ {
433
+ "author": "32497422+KingOfTac@users.noreply.github.com",
434
+ "package": "@microsoft/fast-element",
435
+ "commit": "11d5b4075118456b2e7c2a4f32a415eeea94ed7f",
436
+ "comment": "fix: enable createElementTemplate to have undefined attributes"
437
+ },
438
+ {
439
+ "author": "prudepixie@users.noreply.github.com",
440
+ "package": "@microsoft/fast-element",
441
+ "commit": "31296ea2be3981d25f5feb773b2895dbedfaf2c2",
442
+ "comment": "use index to track reusable views"
443
+ },
444
+ {
445
+ "author": "roeisenb@microsoft.com",
446
+ "package": "@microsoft/fast-element",
447
+ "commit": "4567188a47598b3d2589b05f039bea695f2b8875",
448
+ "comment": "feat: enable render, repeat, and when template helpers to handle static data in addition to the already supported dynamic bindings"
449
+ },
450
+ {
451
+ "author": "roeisenb@microsoft.com",
452
+ "package": "@microsoft/fast-element",
453
+ "commit": "f164aa75e62ed71c9386902051c021f1fdfba364",
454
+ "comment": "fix: FASTElementDefinition#isDefined should be true only after define"
455
+ },
456
+ {
457
+ "author": "roeisenb@microsoft.com",
458
+ "package": "@microsoft/fast-element",
459
+ "commit": "aacfde6d1f52a20af5511c5e792f730bd091d452",
460
+ "comment": "feat: move testing and dependency injection to fast-element"
461
+ },
462
+ {
463
+ "author": "roeisenb@microsoft.com",
464
+ "package": "@microsoft/fast-element",
465
+ "commit": "04c51a17dde6d03dc2e2a4de3666cbbec950d900",
466
+ "comment": "fix: warn when host bindings are accidentally applied on non CE views"
467
+ },
468
+ {
469
+ "author": "roeisenb@microsoft.com",
470
+ "package": "@microsoft/fast-element",
471
+ "commit": "b32eb1004960da95b74dba7f111ee859b6655896",
472
+ "comment": "feat: perf and safety improvements to fast element definition"
473
+ }
474
+ ]
475
+ }
476
+ },
477
+ {
478
+ "date": "Wed, 22 Jun 2022 20:17:50 GMT",
479
+ "tag": "@microsoft/fast-element_v2.0.0-beta.3",
480
+ "version": "2.0.0-beta.3",
481
+ "comments": {
482
+ "prerelease": [
483
+ {
484
+ "comment": "fix: correct aspect type for content that looks like an attribute",
485
+ "author": "nicholasrice@users.noreply.github.com",
486
+ "commit": "f28cdb9fdba9cb27904acfad7444de82d447f39e",
487
+ "package": "@microsoft/fast-element"
488
+ }
489
+ ]
490
+ }
491
+ },
4
492
  {
5
493
  "date": "Wed, 15 Jun 2022 17:41:10 GMT",
6
494
  "tag": "@microsoft/fast-element_v2.0.0-beta.2",
package/CHANGELOG.md CHANGED
@@ -1,9 +1,188 @@
1
1
  # Change Log - @microsoft/fast-element
2
2
 
3
- This log was last generated on Wed, 15 Jun 2022 17:41:10 GMT and should not be manually modified.
3
+ This log was last generated on Wed, 11 Jan 2023 22:07:47 GMT and should not be manually modified.
4
4
 
5
5
  <!-- Start content -->
6
6
 
7
+ ## 2.0.0-beta.20
8
+
9
+ Wed, 11 Jan 2023 22:07:47 GMT
10
+
11
+ ### Changes
12
+
13
+ - add nullableBooleanConverter for attributes (863023+radium-v@users.noreply.github.com)
14
+ - update return type for dangerousHTML to DangerousHTMLDirective (chhol@microsoft.com)
15
+ - chore: remove deprecated APIs from fast-element (rob@bluespire.com)
16
+ - chore: cleanup fast-element interfaces (roeisenb@microsoft.com)
17
+ - refactor(fast-element): replace dangerousHTML with html.partial (roeisenb@microsoft.com)
18
+ - feat: add ability to inline templates (roeisenb@microsoft.com)
19
+
20
+ ## 2.0.0-beta.19
21
+
22
+ Fri, 02 Dec 2022 01:18:22 GMT
23
+
24
+ ### Changes
25
+
26
+ - feat: add kernel mode with isolation by default (roeisenb@microsoft.com)
27
+
28
+ ## 2.0.0-beta.18
29
+
30
+ Tue, 15 Nov 2022 02:40:34 GMT
31
+
32
+ ### Changes
33
+
34
+ - chore: move ViewBehaviorOrchestrator to utilities (roeisenb@microsoft.com)
35
+ - feat: add new DOM Policy protection throughout (roeisenb@microsoft.com)
36
+
37
+ ## 2.0.0-beta.17
38
+
39
+ Tue, 01 Nov 2022 23:26:26 GMT
40
+
41
+ ### Changes
42
+
43
+ - fix: prevent circular reference errors when stringifying DOM nodes controlled by FAST's rendering engine (roeisenb@microsoft.com)
44
+
45
+ ## 2.0.0-beta.16
46
+
47
+ Fri, 28 Oct 2022 20:44:44 GMT
48
+
49
+ ### Changes
50
+
51
+ - Fixed bug preventing main component stylesheet behaviors from being connected during connectedCallback (nicholasrice@users.noreply.github.com)
52
+
53
+ ## 2.0.0-beta.15
54
+
55
+ Tue, 25 Oct 2022 20:24:32 GMT
56
+
57
+ ### Changes
58
+
59
+ - Updated the ElementController to connect behaviors prior to rendering element templates (nicholasrice@users.noreply.github.com)
60
+ - Added support to fast-element to support element hydration and the `defer-hydration` attribute (nicholasrice@users.noreply.github.com)
61
+
62
+ ## 2.0.0-beta.14
63
+
64
+ Fri, 14 Oct 2022 18:26:11 GMT
65
+
66
+ ### Changes
67
+
68
+ - fix: tokenList bindings track adds and removes from multiple sources (roeisenb@microsoft.com)
69
+ - refactor: remove duplication and re-organize binding behavior logic (roeisenb@microsoft.com)
70
+
71
+ ## 2.0.0-beta.13
72
+
73
+ Mon, 10 Oct 2022 20:28:02 GMT
74
+
75
+ ### Changes
76
+
77
+ - fix: prevent event callbacks when controller is not bound (roeisenb@microsoft.com)
78
+
79
+ ## 2.0.0-beta.12
80
+
81
+ Thu, 06 Oct 2022 23:21:20 GMT
82
+
83
+ ### Changes
84
+
85
+ - fix: repeat update view context positioning (roeisenb@microsoft.com)
86
+
87
+ ## 2.0.0-beta.11
88
+
89
+ Wed, 05 Oct 2022 23:26:01 GMT
90
+
91
+ ### Changes
92
+
93
+ - fix: removed a shadowRoot leak from ElementController (nicholasrice@users.noreply.github.com)
94
+
95
+ ## 2.0.0-beta.10
96
+
97
+ Mon, 03 Oct 2022 23:44:38 GMT
98
+
99
+ ### Changes
100
+
101
+ - fix: observation kernel missing binding observer disconnect method (roeisenb@microsoft.com)
102
+ - feat: less surprising class bindings w/ more flexibility for developers (roeisenb@microsoft.com)
103
+ - fix: don't allow registering FASTElement itself as a web component (roeisenb@microsoft.com)
104
+
105
+ ## 2.0.0-beta.9
106
+
107
+ Wed, 28 Sep 2022 20:45:51 GMT
108
+
109
+ ### Changes
110
+
111
+ - fix: ensure composed templates receive the existing execution context (roeisenb@microsoft.com)
112
+
113
+ ## 2.0.0-beta.8
114
+
115
+ Tue, 27 Sep 2022 22:31:52 GMT
116
+
117
+ ### Changes
118
+
119
+ - fix: correct view state when processing unbindables during rebind (roeisenb@microsoft.com)
120
+ - fix: do not crash when null/undefined is provided literally in templates (roeisenb@microsoft.com)
121
+
122
+ ## 2.0.0-beta.7
123
+
124
+ Fri, 23 Sep 2022 22:53:27 GMT
125
+
126
+ ### Changes
127
+
128
+ - feat: improve parent typing and fix repeat context type bug (roeisenb@microsoft.com)
129
+ - feat: prepare fast-element for scoped element registries (roeisenb@microsoft.com)
130
+ - persist totalAvailableViews to compare against removeIndex (wendywendy@microsoft.com)
131
+ - make ElementsFilter type arguments optional (863023+radium-v@users.noreply.github.com)
132
+ - fix(fast-element): attributes properly located in inheritance hierarchy (roeisenb@microsoft.com)
133
+ - Adds PendingTask community protocol (nicholasrice@users.noreply.github.com)
134
+ - feat: new behavior and context API design (roeisenb@microsoft.com)
135
+ - feat: implement getAsync code path for dependency injection (roeisenb@microsoft.com)
136
+
137
+ ## 2.0.0-beta.6
138
+
139
+ Thu, 01 Sep 2022 21:53:34 GMT
140
+
141
+ ### Changes
142
+
143
+ - feat: add new state, ownedState, and computedState APIs (roeisenb@microsoft.com)
144
+
145
+ ## 2.0.0-beta.5
146
+
147
+ Thu, 18 Aug 2022 20:46:10 GMT
148
+
149
+ ### Changes
150
+
151
+ - Fix ExpressionObserer bug where watcher was not reset if the binding threw (nicholasrice@users.noreply.github.com)
152
+ - make insertbefore noop in view (prudepixie@users.noreply.github.com)
153
+ - make sure default options for recycle gets set in different scenarios (prudepixie@users.noreply.github.com)
154
+ - refactor: remove dependency of DI on FASTElement (roeisenb@microsoft.com)
155
+ - add subpath export for package.json to packages (32497422+KingOfTac@users.noreply.github.com)
156
+ - change default array strategy to merge strategy, update repeat directive (prudepixie@users.noreply.github.com)
157
+ - assert FASTElement's type so that instanceof behavior is consistent with other class implementations (nicholasrice@users.noreply.github.com)
158
+
159
+ ## 2.0.0-beta.4
160
+
161
+ Mon, 18 Jul 2022 21:10:01 GMT
162
+
163
+ ### Changes
164
+
165
+ - feat: extract all error messages from context and DI (roeisenb@microsoft.com)
166
+ - feat: introduce new binding API (roeisenb@microsoft.com)
167
+ - Enabled DOM Container fallback functions when a container cannot be located. (roeisenb@microsoft.com)
168
+ - feat: add render directive, renderWith decorator, and RenderInstruction (roeisenb@microsoft.com)
169
+ - only store removed views if it can't be reused right away (prudepixie@users.noreply.github.com)
170
+ - fix: enable createElementTemplate to have undefined attributes (32497422+KingOfTac@users.noreply.github.com)
171
+ - use index to track reusable views (prudepixie@users.noreply.github.com)
172
+ - feat: enable render, repeat, and when template helpers to handle static data in addition to the already supported dynamic bindings (roeisenb@microsoft.com)
173
+ - fix: FASTElementDefinition#isDefined should be true only after define (roeisenb@microsoft.com)
174
+ - feat: move testing and dependency injection to fast-element (roeisenb@microsoft.com)
175
+ - fix: warn when host bindings are accidentally applied on non CE views (roeisenb@microsoft.com)
176
+ - feat: perf and safety improvements to fast element definition (roeisenb@microsoft.com)
177
+
178
+ ## 2.0.0-beta.3
179
+
180
+ Wed, 22 Jun 2022 20:17:50 GMT
181
+
182
+ ### Changes
183
+
184
+ - fix: correct aspect type for content that looks like an attribute (nicholasrice@users.noreply.github.com)
185
+
7
186
  ## 2.0.0-beta.2
8
187
 
9
188
  Wed, 15 Jun 2022 17:41:10 GMT