Vikram Subramanian
d4b8b24406
fix(elements): prevent closure renaming of platform properties ( #23843 )
...
Closure compiler with type based optimizations has a bug where externs for inherited static fields are not being honored. For Angular Elements this meant that 'observedAttributes' static field which is marked as an extern for the base HTMLElement class was getting renamed.
This commit works around the bug by using quoted access of 'observedAttributes' that explicitly prevents the renaming.
PR Close #23843
2018-05-11 18:11:48 -04:00
Andrew Seguin
b1cda3639f
fix(elements): always check to create strategy ( #23825 )
...
PR Close #23825
2018-05-10 16:07:11 -07:00
Igor Minar
6601d0f7ba
build: update to rxjs@6.0.0 ( #23679 )
...
PR Close #23679
2018-05-03 10:53:39 -07:00
Rob Wormald
9fabe2f5fa
fix(elements): include schematics in npm distro ( #23350 )
...
PR Close #23350
2018-04-13 00:50:04 -07:00
Vikram Subramanian
af46d097ff
fix(elements): avoid exception when window is undefined ( #23324 )
...
Detect server environment by checking `typeof window` and schedule render immediately instead of waiting for RAF.
This does not make Angular Elements work on platform-server. This is just the first step.
PR Close #23324
2018-04-11 23:17:04 -07:00
Andrew Seguin
37d2cb4553
feat(elements): add schematics ( #23298 )
...
PR Close #23298
2018-04-11 18:13:30 -07:00
JiaLi.Passion
c560423b52
build: upgrade zone.js ( #23108 )
...
PR Close #23108
2018-04-04 08:24:02 -07:00
Igor Minar
92724b396b
build: update to rxjs@6.0.0-rc.0 ( #23106 )
...
PR Close #23106
2018-04-03 10:00:24 -07:00
Judy Bogart
ff34d5ea7a
docs: add custom elements documentation ( #22966 )
...
PR Close #22966
2018-04-02 14:13:46 -07:00
Alex Eagle
15278784fc
release(bazel): change publish-next script to publish bazel artifacts ( #23097 )
...
PR Close #23097
2018-03-30 14:03:05 -07:00
Igor Minar
6f7d14064c
build: update to rxjs@6.0.0-beta.4 ( #23084 )
...
PR Close #23084
2018-03-30 13:07:03 -07:00
Igor Minar
8768665587
fix: correct peerDependencies declaration on rxjs
2018-03-20 22:48:41 -07:00
Igor Minar
b43f8bc7d3
feat(core): upgrade rxjs to 6.0.0-alpha.4 ( #22573 )
...
PR Close #22573
2018-03-19 21:51:51 -07:00
Igor Minar
ce63dc6f95
feat: update the package output of build.sh to APF v6 ( #22808 )
...
PR Close #22808
2018-03-18 09:33:51 -07:00
Rob Wormald
5d82d8da6d
fix(elements): fix elements test bootstrap ( #22839 )
...
PR Close #22839
2018-03-16 22:19:50 -07:00
Andrew Seguin
688096b7a3
feat(elements): remove attribute/input from config ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
2e450f6fda
feat(elements): update package.json with latest ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
0b45dfac29
feat(elements): fix lint ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
167fdf745c
feat(elements): rename API to createCustomElement ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
39a12d2c3d
feat(elements): make bazel happy ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
87f60bccfd
feat(elements): injector create ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
46efd4b938
feat(elements): George's comments ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
19368085aa
feat(elements): provide type, not factory; remove config need ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
d2be675acc
feat(elements): add tests for component factory strategy ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Andrew Seguin
22b96b9690
feat(elements): add support for creating custom elements ( #22413 )
...
PR Close #22413
2018-03-16 12:39:07 -07:00
Igor Minar
3997d97806
revert: feat(elements): implement `@angular/elements` #19469 ( #20152 )
...
This PR was merged without API docs and general rollout plan.
We can't release this as is in 5.1 without a plan for documentation, cli integration, etc.
2017-11-03 15:54:54 -07:00
George Kalpakas
dcf8840831
feat(elements): implement `registerAsCustomElements()`
...
closes #19469
2017-11-02 16:09:30 -07:00
George Kalpakas
60c0b178af
feat(elements): implement `NgElements`
2017-11-02 16:09:09 -07:00
George Kalpakas
0899f4f8fc
feat(elements): implement `NgElementConstructor`
2017-11-02 16:09:09 -07:00
George Kalpakas
aed4a11d01
feat(elements): implement `NgElement`
2017-11-02 16:09:09 -07:00
George Kalpakas
75cf70ae04
feat(elements): implement `NgElementApplicationContext`
2017-11-02 16:09:09 -07:00
George Kalpakas
6b30fbf94e
feat(elements): implement `extractProjectableNodes()`
2017-11-02 16:09:09 -07:00
George Kalpakas
24f17f913a
feat(elements): implement `utils`
2017-11-02 16:09:09 -07:00
George Kalpakas
ebfa204af0
feat(elements): set up the `elements` package
2017-11-02 16:09:09 -07:00