Skip to content

Commit

Permalink
Selector template (#1531)
Browse files Browse the repository at this point in the history
* chore: remove name from template

* chore: update snapshots

* chore: update snapshots

* chore: fix change

* chore: update styles snapshot

* feat: add selector options

* chore: make backwards compatible

* chore: update readme

* Revert "chore: make backwards compatible"

This reverts commit 699bd4f.

* chore: remove json.name

* chore: move angular custom selector to metadata

* chore: update from main

* Create funny-files-cheat.md

* update tests

* fix

---------

Co-authored-by: Fernando Nogueira <[email protected]>
Co-authored-by: Fernando Nogueira <[email protected]>
Co-authored-by: Sami Jaber <[email protected]>
Co-authored-by: Sidharth Mohanty <[email protected]>
  • Loading branch information
5 people authored Sep 3, 2024
1 parent 84038d5 commit 814d171
Show file tree
Hide file tree
Showing 26 changed files with 1,958 additions and 1,847 deletions.
5 changes: 5 additions & 0 deletions .changeset/funny-files-cheat.md
Original file line number Diff line number Diff line change
@@ -0,0 +1,5 @@
---
"@builder.io/mitosis": patch
---

Angular: Feature: custom template selectors using metadata hook.
18 changes: 0 additions & 18 deletions packages/core/src/__tests__/__snapshots__/alpine.test.ts.snap
Original file line number Diff line number Diff line change
Expand Up @@ -2548,15 +2548,6 @@ exports[`Alpine.js > jsx > Javascript Test > string-literal-store 1`] = `
"
`;
exports[`Alpine.js > jsx > Javascript Test > string-literal-store-kebab 1`] = `
"unknown: Unexpected token, expected \\",\\" (2:60)
1 | document.addEventListener('alpine:init', () => {
> 2 | Alpine.data('stringLiteralStore', () => ({ foo-bar: 123,}))
| ^
3 | })"
`;
exports[`Alpine.js > jsx > Javascript Test > styleClassAndCss 1`] = `
"<style>
.div {
Expand Down Expand Up @@ -5304,15 +5295,6 @@ exports[`Alpine.js > jsx > Typescript Test > string-literal-store 1`] = `
"
`;
exports[`Alpine.js > jsx > Typescript Test > string-literal-store-kebab 1`] = `
"unknown: Unexpected token, expected \\",\\" (2:60)
1 | document.addEventListener('alpine:init', () => {
> 2 | Alpine.data('stringLiteralStore', () => ({ foo-bar: 123,}))
| ^
3 | })"
`;
exports[`Alpine.js > jsx > Typescript Test > styleClassAndCss 1`] = `
"<style>
.div {
Expand Down
Loading

0 comments on commit 814d171

Please sign in to comment.