@microsoft/fast-element 1.10.5 → 2.0.0-beta.10
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.
- package/.eslintrc.json +1 -12
- package/CHANGELOG.json +629 -6
- package/CHANGELOG.md +152 -5
- package/dist/dts/components/attributes.d.ts +14 -1
- package/dist/dts/components/{controller.d.ts → element-controller.d.ts} +32 -32
- package/dist/dts/components/fast-definitions.d.ts +51 -11
- package/dist/dts/components/fast-element.d.ts +18 -23
- package/dist/dts/context.d.ts +157 -0
- package/dist/{esm/observation/behavior.js → dts/debug.d.ts} +0 -0
- package/dist/dts/di/di.d.ts +899 -0
- package/dist/dts/index.d.ts +17 -16
- package/dist/dts/index.debug.d.ts +2 -0
- package/dist/dts/index.rollup.d.ts +2 -0
- package/dist/dts/index.rollup.debug.d.ts +3 -0
- package/dist/dts/interfaces.d.ts +176 -0
- package/dist/dts/metadata.d.ts +25 -0
- package/dist/dts/observation/arrays.d.ts +207 -0
- package/dist/dts/observation/notifier.d.ts +18 -18
- package/dist/dts/observation/observable.d.ts +117 -34
- package/dist/dts/observation/update-queue.d.ts +40 -0
- package/dist/dts/pending-task.d.ts +20 -0
- package/dist/dts/platform.d.ts +23 -66
- package/dist/dts/polyfills.d.ts +8 -0
- package/dist/dts/state/exports.d.ts +3 -0
- package/dist/dts/state/reactive.d.ts +8 -0
- package/dist/dts/state/state.d.ts +141 -0
- package/dist/dts/state/visitor.d.ts +6 -0
- package/dist/dts/state/watch.d.ts +10 -0
- package/dist/dts/styles/css-directive.d.ts +44 -6
- package/dist/dts/styles/css.d.ts +19 -3
- package/dist/dts/styles/element-styles.d.ts +49 -63
- package/dist/dts/styles/host.d.ts +68 -0
- package/dist/dts/templating/binding-signal.d.ts +21 -0
- package/dist/dts/templating/binding-two-way.d.ts +39 -0
- package/dist/dts/templating/binding.d.ts +101 -70
- package/dist/dts/templating/children.d.ts +18 -15
- package/dist/dts/templating/compiler.d.ts +46 -28
- package/dist/dts/templating/dom.d.ts +41 -0
- package/dist/dts/templating/html-directive.d.ts +239 -45
- package/dist/dts/templating/markup.d.ts +48 -0
- package/dist/dts/templating/node-observation.d.ts +45 -30
- package/dist/dts/templating/ref.d.ts +6 -20
- package/dist/dts/templating/render.d.ts +272 -0
- package/dist/dts/templating/repeat.d.ts +36 -33
- package/dist/dts/templating/slotted.d.ts +13 -14
- package/dist/dts/templating/template.d.ts +28 -22
- package/dist/dts/templating/view.d.ts +82 -24
- package/dist/dts/templating/when.d.ts +3 -3
- package/dist/dts/testing/exports.d.ts +3 -0
- package/dist/dts/testing/fakes.d.ts +4 -0
- package/dist/dts/testing/fixture.d.ts +84 -0
- package/dist/dts/testing/timeout.d.ts +7 -0
- package/dist/{tsdoc-metadata.json → dts/tsdoc-metadata.json} +1 -1
- package/dist/dts/utilities.d.ts +22 -0
- package/dist/esm/components/attributes.js +38 -28
- package/dist/esm/components/{controller.js → element-controller.js} +150 -140
- package/dist/esm/components/fast-definitions.js +48 -46
- package/dist/esm/components/fast-element.js +31 -12
- package/dist/esm/context.js +163 -0
- package/dist/esm/debug.js +61 -0
- package/dist/esm/di/di.js +1435 -0
- package/dist/esm/index.debug.js +2 -0
- package/dist/esm/index.js +20 -14
- package/dist/esm/index.rollup.debug.js +3 -0
- package/dist/esm/index.rollup.js +2 -0
- package/dist/esm/interfaces.js +12 -1
- package/dist/esm/metadata.js +60 -0
- package/dist/esm/observation/arrays.js +570 -0
- package/dist/esm/observation/notifier.js +27 -35
- package/dist/esm/observation/observable.js +116 -149
- package/dist/esm/observation/update-queue.js +67 -0
- package/dist/esm/pending-task.js +16 -0
- package/dist/esm/platform.js +60 -42
- package/dist/esm/polyfills.js +85 -0
- package/dist/esm/state/exports.js +3 -0
- package/dist/esm/state/reactive.js +34 -0
- package/dist/esm/state/state.js +148 -0
- package/dist/esm/state/visitor.js +28 -0
- package/dist/esm/state/watch.js +36 -0
- package/dist/esm/styles/css-directive.js +29 -13
- package/dist/esm/styles/css.js +29 -42
- package/dist/esm/styles/element-styles.js +79 -104
- package/dist/esm/styles/host.js +1 -0
- package/dist/esm/templating/binding-signal.js +83 -0
- package/dist/esm/templating/binding-two-way.js +103 -0
- package/dist/esm/templating/binding.js +189 -159
- package/dist/esm/templating/children.js +33 -23
- package/dist/esm/templating/compiler.js +258 -152
- package/dist/esm/templating/dom.js +49 -0
- package/dist/esm/templating/html-directive.js +193 -36
- package/dist/esm/templating/markup.js +75 -0
- package/dist/esm/templating/node-observation.js +51 -45
- package/dist/esm/templating/ref.js +8 -25
- package/dist/esm/templating/render.js +391 -0
- package/dist/esm/templating/repeat.js +83 -79
- package/dist/esm/templating/slotted.js +23 -20
- package/dist/esm/templating/template.js +51 -93
- package/dist/esm/templating/view.js +125 -46
- package/dist/esm/templating/when.js +6 -4
- package/dist/esm/testing/exports.js +3 -0
- package/dist/esm/testing/fakes.js +76 -0
- package/dist/esm/testing/fixture.js +86 -0
- package/dist/esm/testing/timeout.js +24 -0
- package/dist/esm/utilities.js +44 -0
- package/dist/fast-element.api.json +12153 -5373
- package/dist/fast-element.d.ts +1448 -696
- package/dist/fast-element.debug.js +4107 -0
- package/dist/fast-element.debug.min.js +1 -0
- package/dist/fast-element.js +3817 -4029
- package/dist/fast-element.min.js +1 -1
- package/dist/fast-element.untrimmed.d.ts +2814 -0
- package/docs/api-report.md +567 -254
- package/docs/fast-element-2-changes.md +15 -0
- package/karma.conf.cjs +6 -17
- package/package.json +76 -15
- package/dist/dts/dom.d.ts +0 -112
- package/dist/dts/observation/array-change-records.d.ts +0 -48
- package/dist/dts/observation/array-observer.d.ts +0 -9
- package/dist/dts/observation/behavior.d.ts +0 -19
- package/dist/esm/dom.js +0 -207
- package/dist/esm/observation/array-change-records.js +0 -326
- package/dist/esm/observation/array-observer.js +0 -177
package/.eslintrc.json
CHANGED
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
"rules": {
|
|
4
4
|
"max-classes-per-file": "off",
|
|
5
5
|
"no-case-declarations": "off",
|
|
6
|
+
"@typescript-eslint/no-non-null-assertion": "off",
|
|
6
7
|
"@typescript-eslint/ban-types": [
|
|
7
8
|
"error",
|
|
8
9
|
{
|
|
@@ -13,18 +14,6 @@
|
|
|
13
14
|
},
|
|
14
15
|
"extendDefaults": true
|
|
15
16
|
}
|
|
16
|
-
],
|
|
17
|
-
"@typescript-eslint/no-use-before-define": ["error", { "typedefs": false }],
|
|
18
|
-
"@typescript-eslint/no-non-null-assertion": "off",
|
|
19
|
-
"@typescript-eslint/explicit-function-return-type": [
|
|
20
|
-
"error",
|
|
21
|
-
{
|
|
22
|
-
"allowExpressions": true
|
|
23
|
-
}
|
|
24
|
-
],
|
|
25
|
-
"import/extensions": [
|
|
26
|
-
"error",
|
|
27
|
-
"always"
|
|
28
17
|
]
|
|
29
18
|
}
|
|
30
19
|
}
|
package/CHANGELOG.json
CHANGED
|
@@ -2,16 +2,639 @@
|
|
|
2
2
|
"name": "@microsoft/fast-element",
|
|
3
3
|
"entries": [
|
|
4
4
|
{
|
|
5
|
-
"date": "
|
|
6
|
-
"tag": "@microsoft/fast-
|
|
7
|
-
"version": "
|
|
5
|
+
"date": "Mon, 03 Oct 2022 23:44:38 GMT",
|
|
6
|
+
"tag": "@microsoft/fast-element_v2.0.0-beta.10",
|
|
7
|
+
"version": "2.0.0-beta.10",
|
|
8
8
|
"comments": {
|
|
9
|
-
"
|
|
9
|
+
"prerelease": [
|
|
10
|
+
{
|
|
11
|
+
"author": "roeisenb@microsoft.com",
|
|
12
|
+
"package": "@microsoft/fast-element",
|
|
13
|
+
"commit": "d29444567d824eb92f4e91e9e173319aef30cfb5",
|
|
14
|
+
"comment": "fix: observation kernel missing binding observer disconnect method"
|
|
15
|
+
},
|
|
16
|
+
{
|
|
17
|
+
"author": "roeisenb@microsoft.com",
|
|
18
|
+
"package": "@microsoft/fast-element",
|
|
19
|
+
"commit": "9d620288eb30d963aa7ac08b4d771d79ea6eef7b",
|
|
20
|
+
"comment": "feat: less surprising class bindings w/ more flexibility for developers"
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"author": "roeisenb@microsoft.com",
|
|
24
|
+
"package": "@microsoft/fast-element",
|
|
25
|
+
"commit": "a378bfa01843a8a042f3ae37aad6c8fd14fdbcc6",
|
|
26
|
+
"comment": "fix: don't allow registering FASTElement itself as a web component"
|
|
27
|
+
}
|
|
28
|
+
]
|
|
29
|
+
}
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"date": "Wed, 28 Sep 2022 20:45:51 GMT",
|
|
33
|
+
"tag": "@microsoft/fast-element_v2.0.0-beta.9",
|
|
34
|
+
"version": "2.0.0-beta.9",
|
|
35
|
+
"comments": {
|
|
36
|
+
"prerelease": [
|
|
37
|
+
{
|
|
38
|
+
"author": "roeisenb@microsoft.com",
|
|
39
|
+
"package": "@microsoft/fast-element",
|
|
40
|
+
"commit": "08fab33015853b7f820fdfdac2aecddfeb31843f",
|
|
41
|
+
"comment": "fix: ensure composed templates receive the existing execution context"
|
|
42
|
+
}
|
|
43
|
+
]
|
|
44
|
+
}
|
|
45
|
+
},
|
|
46
|
+
{
|
|
47
|
+
"date": "Tue, 27 Sep 2022 22:31:52 GMT",
|
|
48
|
+
"tag": "@microsoft/fast-element_v2.0.0-beta.8",
|
|
49
|
+
"version": "2.0.0-beta.8",
|
|
50
|
+
"comments": {
|
|
51
|
+
"prerelease": [
|
|
52
|
+
{
|
|
53
|
+
"author": "roeisenb@microsoft.com",
|
|
54
|
+
"package": "@microsoft/fast-element",
|
|
55
|
+
"commit": "8834c6732c727d39f92f72b197388453a9c17f9b",
|
|
56
|
+
"comment": "fix: correct view state when processing unbindables during rebind"
|
|
57
|
+
},
|
|
58
|
+
{
|
|
59
|
+
"author": "roeisenb@microsoft.com",
|
|
60
|
+
"package": "@microsoft/fast-element",
|
|
61
|
+
"commit": "d949a8873621f409f9d9f3453cdb40b593d14b67",
|
|
62
|
+
"comment": "fix: do not crash when null/undefined is provided literally in templates"
|
|
63
|
+
}
|
|
64
|
+
]
|
|
65
|
+
}
|
|
66
|
+
},
|
|
67
|
+
{
|
|
68
|
+
"date": "Fri, 23 Sep 2022 22:53:27 GMT",
|
|
69
|
+
"tag": "@microsoft/fast-element_v2.0.0-beta.7",
|
|
70
|
+
"version": "2.0.0-beta.7",
|
|
71
|
+
"comments": {
|
|
72
|
+
"prerelease": [
|
|
73
|
+
{
|
|
74
|
+
"author": "roeisenb@microsoft.com",
|
|
75
|
+
"package": "@microsoft/fast-element",
|
|
76
|
+
"commit": "1646b26450a08a77c8bd6302560fe12cc6989ae1",
|
|
77
|
+
"comment": "feat: improve parent typing and fix repeat context type bug"
|
|
78
|
+
},
|
|
79
|
+
{
|
|
80
|
+
"author": "roeisenb@microsoft.com",
|
|
81
|
+
"package": "@microsoft/fast-element",
|
|
82
|
+
"commit": "0d786392a38e1d83e56fb1e2112a3e571d193c11",
|
|
83
|
+
"comment": "feat: prepare fast-element for scoped element registries"
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"author": "wendywendy@microsoft.com",
|
|
87
|
+
"package": "@microsoft/fast-element",
|
|
88
|
+
"commit": "a42ff75a9130a5ce13006c272c2e2bbbaffdbb41",
|
|
89
|
+
"comment": "persist totalAvailableViews to compare against removeIndex"
|
|
90
|
+
},
|
|
91
|
+
{
|
|
92
|
+
"author": "863023+radium-v@users.noreply.github.com",
|
|
93
|
+
"package": "@microsoft/fast-element",
|
|
94
|
+
"commit": "ec2b158dcf39c8b4152b22c3b65963046b473e17",
|
|
95
|
+
"comment": "make ElementsFilter type arguments optional"
|
|
96
|
+
},
|
|
97
|
+
{
|
|
98
|
+
"author": "roeisenb@microsoft.com",
|
|
99
|
+
"package": "@microsoft/fast-element",
|
|
100
|
+
"commit": "1039218eafa9a8dbea9da94e1c7803de48d1484c",
|
|
101
|
+
"comment": "fix(fast-element): attributes properly located in inheritance hierarchy"
|
|
102
|
+
},
|
|
103
|
+
{
|
|
104
|
+
"author": "nicholasrice@users.noreply.github.com",
|
|
105
|
+
"package": "@microsoft/fast-element",
|
|
106
|
+
"commit": "c1909e9899d517f9483b24043d49a8b193af3c26",
|
|
107
|
+
"comment": "Adds PendingTask community protocol"
|
|
108
|
+
},
|
|
109
|
+
{
|
|
110
|
+
"author": "roeisenb@microsoft.com",
|
|
111
|
+
"package": "@microsoft/fast-element",
|
|
112
|
+
"commit": "2edd63a8abe24c68cfc7c76d773c912c6f2d6543",
|
|
113
|
+
"comment": "feat: new behavior and context API design"
|
|
114
|
+
},
|
|
115
|
+
{
|
|
116
|
+
"author": "roeisenb@microsoft.com",
|
|
117
|
+
"package": "@microsoft/fast-element",
|
|
118
|
+
"commit": "eb62934b258334c7f92ab3a1112ea62b3901cdac",
|
|
119
|
+
"comment": "feat: implement getAsync code path for dependency injection"
|
|
120
|
+
}
|
|
121
|
+
]
|
|
122
|
+
}
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"date": "Thu, 01 Sep 2022 21:53:34 GMT",
|
|
126
|
+
"tag": "@microsoft/fast-element_v2.0.0-beta.6",
|
|
127
|
+
"version": "2.0.0-beta.6",
|
|
128
|
+
"comments": {
|
|
129
|
+
"prerelease": [
|
|
130
|
+
{
|
|
131
|
+
"author": "roeisenb@microsoft.com",
|
|
132
|
+
"package": "@microsoft/fast-element",
|
|
133
|
+
"commit": "da9ebbe1b7471cd4e6f7b74f2f9bf02fcc54da4f",
|
|
134
|
+
"comment": "feat: add new state, ownedState, and computedState APIs"
|
|
135
|
+
}
|
|
136
|
+
]
|
|
137
|
+
}
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"date": "Thu, 18 Aug 2022 20:46:10 GMT",
|
|
141
|
+
"tag": "@microsoft/fast-element_v2.0.0-beta.5",
|
|
142
|
+
"version": "2.0.0-beta.5",
|
|
143
|
+
"comments": {
|
|
144
|
+
"prerelease": [
|
|
145
|
+
{
|
|
146
|
+
"author": "nicholasrice@users.noreply.github.com",
|
|
147
|
+
"package": "@microsoft/fast-element",
|
|
148
|
+
"commit": "218cfc014f5c76464493725f83bd883e8b07defa",
|
|
149
|
+
"comment": "Fix ExpressionObserer bug where watcher was not reset if the binding threw"
|
|
150
|
+
},
|
|
151
|
+
{
|
|
152
|
+
"author": "prudepixie@users.noreply.github.com",
|
|
153
|
+
"package": "@microsoft/fast-element",
|
|
154
|
+
"commit": "fdd4514664691021a5673934c95acf31a8e73416",
|
|
155
|
+
"comment": "make insertbefore noop in view"
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"author": "prudepixie@users.noreply.github.com",
|
|
159
|
+
"package": "@microsoft/fast-element",
|
|
160
|
+
"commit": "eb8d5a59f645b85567adadac41a3bfa66001f941",
|
|
161
|
+
"comment": "make sure default options for recycle gets set in different scenarios"
|
|
162
|
+
},
|
|
163
|
+
{
|
|
164
|
+
"author": "roeisenb@microsoft.com",
|
|
165
|
+
"package": "@microsoft/fast-element",
|
|
166
|
+
"commit": "ac3954c97acd3bd549a27829593855c431a24027",
|
|
167
|
+
"comment": "refactor: remove dependency of DI on FASTElement"
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"author": "32497422+KingOfTac@users.noreply.github.com",
|
|
171
|
+
"package": "@microsoft/fast-element",
|
|
172
|
+
"commit": "29308db7920baaaac5b31b206d551669e165bc06",
|
|
173
|
+
"comment": "add subpath export for package.json to packages"
|
|
174
|
+
},
|
|
10
175
|
{
|
|
11
176
|
"author": "prudepixie@users.noreply.github.com",
|
|
12
177
|
"package": "@microsoft/fast-element",
|
|
13
|
-
"commit": "
|
|
14
|
-
"comment": "default
|
|
178
|
+
"commit": "775d51602cba544347ec1e57fdb4fea248d1b1b5",
|
|
179
|
+
"comment": "change default array strategy to merge strategy, update repeat directive"
|
|
180
|
+
},
|
|
181
|
+
{
|
|
182
|
+
"author": "nicholasrice@users.noreply.github.com",
|
|
183
|
+
"package": "@microsoft/fast-element",
|
|
184
|
+
"commit": "aeac1198f427c33f789a2d869f58549ea5bfea57",
|
|
185
|
+
"comment": "assert FASTElement's type so that instanceof behavior is consistent with other class implementations"
|
|
186
|
+
}
|
|
187
|
+
]
|
|
188
|
+
}
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"date": "Mon, 18 Jul 2022 21:10:01 GMT",
|
|
192
|
+
"tag": "@microsoft/fast-element_v2.0.0-beta.4",
|
|
193
|
+
"version": "2.0.0-beta.4",
|
|
194
|
+
"comments": {
|
|
195
|
+
"prerelease": [
|
|
196
|
+
{
|
|
197
|
+
"author": "roeisenb@microsoft.com",
|
|
198
|
+
"package": "@microsoft/fast-element",
|
|
199
|
+
"commit": "f9fb9c88902bd81233fb927a7357d4bca7634f29",
|
|
200
|
+
"comment": "feat: extract all error messages from context and DI"
|
|
201
|
+
},
|
|
202
|
+
{
|
|
203
|
+
"author": "roeisenb@microsoft.com",
|
|
204
|
+
"package": "@microsoft/fast-element",
|
|
205
|
+
"commit": "27dc848327b25328e428f67505684d2171b58711",
|
|
206
|
+
"comment": "feat: introduce new binding API"
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"author": "roeisenb@microsoft.com",
|
|
210
|
+
"package": "@microsoft/fast-element",
|
|
211
|
+
"commit": "7f4d6b5587f6eff52e5b7f414e27543bb4d7772d",
|
|
212
|
+
"comment": "Enabled DOM Container fallback functions when a container cannot be located."
|
|
213
|
+
},
|
|
214
|
+
{
|
|
215
|
+
"author": "roeisenb@microsoft.com",
|
|
216
|
+
"package": "@microsoft/fast-element",
|
|
217
|
+
"commit": "0f57d55822bbf97ab69f90efc0a0d100b27e10eb",
|
|
218
|
+
"comment": "feat: add render directive, renderWith decorator, and RenderInstruction"
|
|
219
|
+
},
|
|
220
|
+
{
|
|
221
|
+
"author": "prudepixie@users.noreply.github.com",
|
|
222
|
+
"package": "@microsoft/fast-element",
|
|
223
|
+
"commit": "94e6b0a0e7e1fd1167bd6453c3f7b27efdc91804",
|
|
224
|
+
"comment": "only store removed views if it can't be reused right away"
|
|
225
|
+
},
|
|
226
|
+
{
|
|
227
|
+
"author": "32497422+KingOfTac@users.noreply.github.com",
|
|
228
|
+
"package": "@microsoft/fast-element",
|
|
229
|
+
"commit": "11d5b4075118456b2e7c2a4f32a415eeea94ed7f",
|
|
230
|
+
"comment": "fix: enable createElementTemplate to have undefined attributes"
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"author": "prudepixie@users.noreply.github.com",
|
|
234
|
+
"package": "@microsoft/fast-element",
|
|
235
|
+
"commit": "31296ea2be3981d25f5feb773b2895dbedfaf2c2",
|
|
236
|
+
"comment": "use index to track reusable views"
|
|
237
|
+
},
|
|
238
|
+
{
|
|
239
|
+
"author": "roeisenb@microsoft.com",
|
|
240
|
+
"package": "@microsoft/fast-element",
|
|
241
|
+
"commit": "4567188a47598b3d2589b05f039bea695f2b8875",
|
|
242
|
+
"comment": "feat: enable render, repeat, and when template helpers to handle static data in addition to the already supported dynamic bindings"
|
|
243
|
+
},
|
|
244
|
+
{
|
|
245
|
+
"author": "roeisenb@microsoft.com",
|
|
246
|
+
"package": "@microsoft/fast-element",
|
|
247
|
+
"commit": "f164aa75e62ed71c9386902051c021f1fdfba364",
|
|
248
|
+
"comment": "fix: FASTElementDefinition#isDefined should be true only after define"
|
|
249
|
+
},
|
|
250
|
+
{
|
|
251
|
+
"author": "roeisenb@microsoft.com",
|
|
252
|
+
"package": "@microsoft/fast-element",
|
|
253
|
+
"commit": "aacfde6d1f52a20af5511c5e792f730bd091d452",
|
|
254
|
+
"comment": "feat: move testing and dependency injection to fast-element"
|
|
255
|
+
},
|
|
256
|
+
{
|
|
257
|
+
"author": "roeisenb@microsoft.com",
|
|
258
|
+
"package": "@microsoft/fast-element",
|
|
259
|
+
"commit": "04c51a17dde6d03dc2e2a4de3666cbbec950d900",
|
|
260
|
+
"comment": "fix: warn when host bindings are accidentally applied on non CE views"
|
|
261
|
+
},
|
|
262
|
+
{
|
|
263
|
+
"author": "roeisenb@microsoft.com",
|
|
264
|
+
"package": "@microsoft/fast-element",
|
|
265
|
+
"commit": "b32eb1004960da95b74dba7f111ee859b6655896",
|
|
266
|
+
"comment": "feat: perf and safety improvements to fast element definition"
|
|
267
|
+
}
|
|
268
|
+
]
|
|
269
|
+
}
|
|
270
|
+
},
|
|
271
|
+
{
|
|
272
|
+
"date": "Wed, 22 Jun 2022 20:17:50 GMT",
|
|
273
|
+
"tag": "@microsoft/fast-element_v2.0.0-beta.3",
|
|
274
|
+
"version": "2.0.0-beta.3",
|
|
275
|
+
"comments": {
|
|
276
|
+
"prerelease": [
|
|
277
|
+
{
|
|
278
|
+
"comment": "fix: correct aspect type for content that looks like an attribute",
|
|
279
|
+
"author": "nicholasrice@users.noreply.github.com",
|
|
280
|
+
"commit": "f28cdb9fdba9cb27904acfad7444de82d447f39e",
|
|
281
|
+
"package": "@microsoft/fast-element"
|
|
282
|
+
}
|
|
283
|
+
]
|
|
284
|
+
}
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"date": "Wed, 15 Jun 2022 17:41:10 GMT",
|
|
288
|
+
"tag": "@microsoft/fast-element_v2.0.0-beta.2",
|
|
289
|
+
"version": "2.0.0-beta.2",
|
|
290
|
+
"comments": {
|
|
291
|
+
"prerelease": [
|
|
292
|
+
{
|
|
293
|
+
"comment": "doc: add note to FASTElement.metadata API",
|
|
294
|
+
"author": "roeisenb@microsoft.com",
|
|
295
|
+
"commit": "359467f9ae67c46a33dfc28ce86dfd908072695d",
|
|
296
|
+
"package": "@microsoft/fast-element"
|
|
297
|
+
},
|
|
298
|
+
{
|
|
299
|
+
"comment": "when recycle is set to false while itemBinding stays the same, views should be recreated",
|
|
300
|
+
"author": "wendy.hsu@microsoft.com",
|
|
301
|
+
"commit": "9c92b9bb5bc9bf221b439c0a776b3621fdd9d9aa",
|
|
302
|
+
"package": "@microsoft/fast-element"
|
|
303
|
+
},
|
|
304
|
+
{
|
|
305
|
+
"comment": "feat: simplify execution context to align closer with v1",
|
|
306
|
+
"author": "roeisenb@microsoft.com",
|
|
307
|
+
"commit": "488d051999c43b93a0beef4db30a2bddd6bbdc64",
|
|
308
|
+
"package": "@microsoft/fast-element"
|
|
309
|
+
},
|
|
310
|
+
{
|
|
311
|
+
"comment": "feat: ergo improvements to context, array length, and metadata",
|
|
312
|
+
"author": "roeisenb@microsoft.com",
|
|
313
|
+
"commit": "12f5671e215ebd2b95c9cc83f856e233e01e9c4a",
|
|
314
|
+
"package": "@microsoft/fast-element"
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"comment": "feat: move optional bindings out of rollup and list as exports",
|
|
318
|
+
"author": "roeisenb@microsoft.com",
|
|
319
|
+
"commit": "e86a638b9e84cbf36d950025889742944e68e512",
|
|
320
|
+
"package": "@microsoft/fast-element"
|
|
321
|
+
},
|
|
322
|
+
{
|
|
323
|
+
"comment": "fix: make SyntheticViewTemplate type a string so it is generally usable",
|
|
324
|
+
"author": "roeisenb@microsoft.com",
|
|
325
|
+
"commit": "de7f234ef871204fcac2b5df59433d919809341d",
|
|
326
|
+
"package": "@microsoft/fast-element"
|
|
327
|
+
},
|
|
328
|
+
{
|
|
329
|
+
"comment": "feat: implement W3C WC community context protocol and integrate with DI",
|
|
330
|
+
"author": "roeisenb@microsoft.com",
|
|
331
|
+
"commit": "c45297c0ca48b7e5f4343ba48e5183f2bccdb946",
|
|
332
|
+
"package": "@microsoft/fast-element"
|
|
333
|
+
}
|
|
334
|
+
]
|
|
335
|
+
}
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"date": "Wed, 01 Jun 2022 17:53:14 GMT",
|
|
339
|
+
"tag": "@microsoft/fast-element_v2.0.0-beta.1",
|
|
340
|
+
"version": "2.0.0-beta.1",
|
|
341
|
+
"comments": {
|
|
342
|
+
"prerelease": [
|
|
343
|
+
{
|
|
344
|
+
"comment": "`DOM` - Tree Walker methods are no longer used and are thus removed. The API for removing child nodes has been removed as well since it was only used in one place and could be inlined. The helper `createCustomAttributePlaceholder()` no longer requires an attribute name. It will be uniquely generated internally.",
|
|
345
|
+
"author": "roeisenb@microsoft.com",
|
|
346
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
347
|
+
"package": "@microsoft/fast-element"
|
|
348
|
+
},
|
|
349
|
+
{
|
|
350
|
+
"comment": "`class` - Bindings to `class` are now more nuanced. Binding directly to `class` will simply set the `className` property. If you need to bind to `class` knowing that manual JS will also manipulate the `classList` in addition to the binding, then you should now bind to `:classList` instead. This allows for performance optimizations in the simple, most common case.",
|
|
351
|
+
"author": "roeisenb@microsoft.com",
|
|
352
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
353
|
+
"package": "@microsoft/fast-element"
|
|
354
|
+
},
|
|
355
|
+
{
|
|
356
|
+
"comment": "`Behavior` and `ViewBehavior` - `Behavior` now requires an `ExecutionContext` for `unbind`. Behaviors can be used for elements or views. `ViewBehavior` has been introduced for use exclusively with views, and provides some optimization opportunities.",
|
|
357
|
+
"author": "roeisenb@microsoft.com",
|
|
358
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
359
|
+
"package": "@microsoft/fast-element"
|
|
360
|
+
},
|
|
361
|
+
{
|
|
362
|
+
"comment": "`RefBehavior` has been replaced with `RefDirective`. The directive also implements `ViewBehavior` allowing a single directive instance to be shared across all template instances that use the ref.",
|
|
363
|
+
"author": "roeisenb@microsoft.com",
|
|
364
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
365
|
+
"package": "@microsoft/fast-element"
|
|
366
|
+
},
|
|
367
|
+
{
|
|
368
|
+
"comment": "Removed `SlottedBehavior` and `ChildrenBehavior` have been replaced with `SlottedDirective` and `ChildrenDirective`. These directives allow a single directive instance to be shared across all template instances that use the ref.",
|
|
369
|
+
"author": "roeisenb@microsoft.com",
|
|
370
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
371
|
+
"package": "@microsoft/fast-element"
|
|
372
|
+
},
|
|
373
|
+
{
|
|
374
|
+
"comment": "Removed `AttachedBehaviorHTMLDirective` and `AttachedBehaviorType` since they are no longer used in the new directive/behavior architecture for ref, slotted, and children.",
|
|
375
|
+
"author": "roeisenb@microsoft.com",
|
|
376
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
377
|
+
"package": "@microsoft/fast-element"
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"comment": "Renamed `Notifier#source` to `Notifier#subject` to align with other observable terminology and prevent name clashes with `BindingObserver` properties.",
|
|
381
|
+
"author": "roeisenb@microsoft.com",
|
|
382
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
383
|
+
"package": "@microsoft/fast-element"
|
|
384
|
+
},
|
|
385
|
+
{
|
|
386
|
+
"comment": "feat: create unified API for parsing markers",
|
|
387
|
+
"author": "roeisenb@microsoft.com",
|
|
388
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
389
|
+
"package": "@microsoft/fast-element"
|
|
390
|
+
},
|
|
391
|
+
{
|
|
392
|
+
"comment": "allow null values in attributeChangedCallback",
|
|
393
|
+
"author": "nicholasrice@users.noreply.github.com",
|
|
394
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
395
|
+
"package": "@microsoft/fast-element"
|
|
396
|
+
},
|
|
397
|
+
{
|
|
398
|
+
"comment": "feat: add splice strategies for array observation",
|
|
399
|
+
"author": "roeisenb@microsoft.com",
|
|
400
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
401
|
+
"package": "@microsoft/fast-element"
|
|
402
|
+
},
|
|
403
|
+
{
|
|
404
|
+
"comment": "feat: handle existing shadow roots when upgrading",
|
|
405
|
+
"author": "roeisenb@microsoft.com",
|
|
406
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
407
|
+
"package": "@microsoft/fast-element"
|
|
408
|
+
},
|
|
409
|
+
{
|
|
410
|
+
"comment": "fix: enable safer type inference on the repeat helper",
|
|
411
|
+
"author": "roeisenb@microsoft.com",
|
|
412
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
413
|
+
"package": "@microsoft/fast-element"
|
|
414
|
+
},
|
|
415
|
+
{
|
|
416
|
+
"comment": "Set prerelease version",
|
|
417
|
+
"author": "nicholasrice@users.noreply.github.com",
|
|
418
|
+
"commit": "5b313a3262b977acbee3c2efac87d0d14a82f792",
|
|
419
|
+
"package": "@microsoft/fast-element"
|
|
420
|
+
},
|
|
421
|
+
{
|
|
422
|
+
"comment": "refactor: separate update queue from DOM and fix architectural layers",
|
|
423
|
+
"author": "roeisenb@microsoft.com",
|
|
424
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
425
|
+
"package": "@microsoft/fast-element"
|
|
426
|
+
},
|
|
427
|
+
{
|
|
428
|
+
"comment": "feat: aspected html directive exposes metadata",
|
|
429
|
+
"author": "roeisenb@microsoft.com",
|
|
430
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
431
|
+
"package": "@microsoft/fast-element"
|
|
432
|
+
},
|
|
433
|
+
{
|
|
434
|
+
"comment": "`HTMLDirective` - The `targetIndex: number` property has been replaced by a `targetId: string` property. The `createBehavior` method no longer takes a target `Node` but instead takes a `BehaviorTargets` instance. The actual target can be looked up on the `BehaviorTargets` instance by indexing with the `targetId` property.",
|
|
435
|
+
"author": "roeisenb@microsoft.com",
|
|
436
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
437
|
+
"package": "@microsoft/fast-element"
|
|
438
|
+
},
|
|
439
|
+
{
|
|
440
|
+
"comment": "`compileTemplate()` - Internals have been significantly changed. The implementation no longer uses a TreeWalker. The return type has change to an `HTMLTemplateCompilationResult` with different properties.",
|
|
441
|
+
"author": "roeisenb@microsoft.com",
|
|
442
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
443
|
+
"package": "@microsoft/fast-element"
|
|
444
|
+
},
|
|
445
|
+
{
|
|
446
|
+
"comment": "refactor: move template/style resolution to lazy getter",
|
|
447
|
+
"author": "roeisenb@microsoft.com",
|
|
448
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
449
|
+
"package": "@microsoft/fast-element"
|
|
450
|
+
},
|
|
451
|
+
{
|
|
452
|
+
"comment": "refactor: enable pluggable template compiler for SSR scenarios",
|
|
453
|
+
"author": "roeisenb@microsoft.com",
|
|
454
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
455
|
+
"package": "@microsoft/fast-element"
|
|
456
|
+
},
|
|
457
|
+
{
|
|
458
|
+
"comment": "feat: enable pluggable style handling strategies",
|
|
459
|
+
"author": "roeisenb@microsoft.com",
|
|
460
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
461
|
+
"package": "@microsoft/fast-element"
|
|
462
|
+
},
|
|
463
|
+
{
|
|
464
|
+
"comment": "fix(fast-element): do not notify splices for changes pre-subscription",
|
|
465
|
+
"author": "roeisenb@microsoft.com",
|
|
466
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
467
|
+
"package": "@microsoft/fast-element"
|
|
468
|
+
},
|
|
469
|
+
{
|
|
470
|
+
"comment": "feat: new directive registration/identification model",
|
|
471
|
+
"author": "roeisenb@microsoft.com",
|
|
472
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
473
|
+
"package": "@microsoft/fast-element"
|
|
474
|
+
},
|
|
475
|
+
{
|
|
476
|
+
"comment": "fix: prevent duplicative array observation patch",
|
|
477
|
+
"author": "roeisenb@microsoft.com",
|
|
478
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
479
|
+
"package": "@microsoft/fast-element"
|
|
480
|
+
},
|
|
481
|
+
{
|
|
482
|
+
"comment": "Adds Aspect as public export",
|
|
483
|
+
"author": "nicholasrice@users.noreply.github.com",
|
|
484
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
485
|
+
"package": "@microsoft/fast-element"
|
|
486
|
+
},
|
|
487
|
+
{
|
|
488
|
+
"comment": "feat: expose official Markup and Parser APIs",
|
|
489
|
+
"author": "roeisenb@microsoft.com",
|
|
490
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
491
|
+
"package": "@microsoft/fast-element"
|
|
492
|
+
},
|
|
493
|
+
{
|
|
494
|
+
"comment": "refactor: refine binding mode types",
|
|
495
|
+
"author": "roeisenb@microsoft.com",
|
|
496
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
497
|
+
"package": "@microsoft/fast-element"
|
|
498
|
+
},
|
|
499
|
+
{
|
|
500
|
+
"comment": "feat: add two-way binding",
|
|
501
|
+
"author": "roeisenb@microsoft.com",
|
|
502
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
503
|
+
"package": "@microsoft/fast-element"
|
|
504
|
+
},
|
|
505
|
+
{
|
|
506
|
+
"comment": "fix: defend against for/in use on arrays",
|
|
507
|
+
"author": "roeisenb@microsoft.com",
|
|
508
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
509
|
+
"package": "@microsoft/fast-element"
|
|
510
|
+
},
|
|
511
|
+
{
|
|
512
|
+
"comment": "fix: merge bug related to moved APIs",
|
|
513
|
+
"author": "roeisenb@microsoft.com",
|
|
514
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
515
|
+
"package": "@microsoft/fast-element"
|
|
516
|
+
},
|
|
517
|
+
{
|
|
518
|
+
"comment": "feat: enable multiple instances of fast-element on a page at once",
|
|
519
|
+
"author": "roeisenb@microsoft.com",
|
|
520
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
521
|
+
"package": "@microsoft/fast-element"
|
|
522
|
+
},
|
|
523
|
+
{
|
|
524
|
+
"comment": "Upgrade TypeScript",
|
|
525
|
+
"author": "nicholasrice@users.noreply.github.com",
|
|
526
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
527
|
+
"package": "@microsoft/fast-element"
|
|
528
|
+
},
|
|
529
|
+
{
|
|
530
|
+
"comment": "enumerate fast-element package as a ES module package",
|
|
531
|
+
"author": "nicholasrice@users.noreply.github.com",
|
|
532
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
533
|
+
"package": "@microsoft/fast-element"
|
|
534
|
+
},
|
|
535
|
+
{
|
|
536
|
+
"comment": "feat: enable array length observation",
|
|
537
|
+
"author": "roeisenb@microsoft.com",
|
|
538
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
539
|
+
"package": "@microsoft/fast-element"
|
|
540
|
+
},
|
|
541
|
+
{
|
|
542
|
+
"comment": "feat: add utilities and hooks, and change exports",
|
|
543
|
+
"author": "roeisenb@microsoft.com",
|
|
544
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
545
|
+
"package": "@microsoft/fast-element"
|
|
546
|
+
},
|
|
547
|
+
{
|
|
548
|
+
"comment": "refactor: new design for execution context",
|
|
549
|
+
"author": "roeisenb@microsoft.com",
|
|
550
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
551
|
+
"package": "@microsoft/fast-element"
|
|
552
|
+
},
|
|
553
|
+
{
|
|
554
|
+
"comment": "chore: fast-element package and build modernization",
|
|
555
|
+
"author": "roeisenb@microsoft.com",
|
|
556
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
557
|
+
"package": "@microsoft/fast-element"
|
|
558
|
+
},
|
|
559
|
+
{
|
|
560
|
+
"comment": "feat: new CSSDirective design",
|
|
561
|
+
"author": "roeisenb@microsoft.com",
|
|
562
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
563
|
+
"package": "@microsoft/fast-element"
|
|
564
|
+
},
|
|
565
|
+
{
|
|
566
|
+
"comment": "chore: configure fast-element for internal stripping",
|
|
567
|
+
"author": "roeisenb@microsoft.com",
|
|
568
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
569
|
+
"package": "@microsoft/fast-element"
|
|
570
|
+
},
|
|
571
|
+
{
|
|
572
|
+
"comment": "feat: enable synchronous dom updates for SSR",
|
|
573
|
+
"author": "roeisenb@microsoft.com",
|
|
574
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
575
|
+
"package": "@microsoft/fast-element"
|
|
576
|
+
},
|
|
577
|
+
{
|
|
578
|
+
"comment": "refactor: extract polyfill and polyfill-like code to an optional module",
|
|
579
|
+
"author": "roeisenb@microsoft.com",
|
|
580
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
581
|
+
"package": "@microsoft/fast-element"
|
|
582
|
+
},
|
|
583
|
+
{
|
|
584
|
+
"comment": "feat: add warn/error message infrastructure",
|
|
585
|
+
"author": "roeisenb@microsoft.com",
|
|
586
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
587
|
+
"package": "@microsoft/fast-element"
|
|
588
|
+
},
|
|
589
|
+
{
|
|
590
|
+
"comment": "`View` and `HTMLView` - Type parameters added to enable strongly typed views based on their data source. The constructor of `HTMLView` has a new signature based on changes to the compiler's output. Internals have been cleaned up and no longer rely on the Range type.",
|
|
591
|
+
"author": "roeisenb@microsoft.com",
|
|
592
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
593
|
+
"package": "@microsoft/fast-element"
|
|
594
|
+
},
|
|
595
|
+
{
|
|
596
|
+
"comment": "`ElementViewTemplate`, `SyntheticViewTemplate`, and `ViewTemplate` - Added type parameters throughout. Logic to instantiate and apply behaviors moved out of the template and into the view where it can be lazily executed. Removed the ability of the `render` method to take a string id of the node to render to. You must provide a node.",
|
|
597
|
+
"author": "roeisenb@microsoft.com",
|
|
598
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
599
|
+
"package": "@microsoft/fast-element"
|
|
600
|
+
}
|
|
601
|
+
],
|
|
602
|
+
"none": [
|
|
603
|
+
{
|
|
604
|
+
"comment": "update api extractor and typescript to use the latest versions",
|
|
605
|
+
"author": "chhol@microsoft.com",
|
|
606
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
607
|
+
"package": "@microsoft/fast-element"
|
|
608
|
+
},
|
|
609
|
+
{
|
|
610
|
+
"comment": "docs: add alpha tags to unfinished binding APIs",
|
|
611
|
+
"author": "roeisenb@microsoft.com",
|
|
612
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
613
|
+
"package": "@microsoft/fast-element"
|
|
614
|
+
},
|
|
615
|
+
{
|
|
616
|
+
"comment": "automated update of api-report.md",
|
|
617
|
+
"author": "nicholasrice@users.noreply.github.com",
|
|
618
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
619
|
+
"package": "@microsoft/fast-element"
|
|
620
|
+
},
|
|
621
|
+
{
|
|
622
|
+
"comment": "Fixed linting errors and warnings",
|
|
623
|
+
"author": "7559015+janechu@users.noreply.github.com",
|
|
624
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
625
|
+
"package": "@microsoft/fast-element"
|
|
626
|
+
},
|
|
627
|
+
{
|
|
628
|
+
"comment": "remove unnecessary dependency on @types/ie11 package",
|
|
629
|
+
"author": "chhol@microsoft.com",
|
|
630
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
631
|
+
"package": "@microsoft/fast-element"
|
|
632
|
+
},
|
|
633
|
+
{
|
|
634
|
+
"comment": "Updated api-extractor version and exported markdown",
|
|
635
|
+
"author": "7559015+janechu@users.noreply.github.com",
|
|
636
|
+
"commit": "4699e77715068f8610aae908ede6356a249574b6",
|
|
637
|
+
"package": "@microsoft/fast-element"
|
|
15
638
|
}
|
|
16
639
|
]
|
|
17
640
|
}
|