* feat: introduce CSS Helper
* shorten
* feat(css): Implement css helper with callback (#1858)
* feat(css): Implement css helper with callback
* feat(css): add keyframes and pseudo selectors support
* fix(css): Specify missing "context" argument in resolveCallback()
* feat(css): use WeakMap instead of Map, to avoid memory leak
* feat(css): improve CSS helper
* fix(css): fix formatting and types in css helper
* chore: denoify
* docs(css): add experimental flag to css helper
* feat(css): Enable to embed sub `css`.
* fix(css): propagate selector to parent class
* feat(css): Use Record again for usedClassNameData
* feat(css): escape only close tag "</...>", not all slashes. we can use url() without escaping.
* fix(css): embedded `css` must have ";"
* Fix format.
* feat(css): add cx() helper
`cx()` is a helper function to combine multiple css classes.
This function is compatible with `cx()` in @emotion/css.
* feat(css): ignore boolean, null, and undefined values as same as jsx
* chore: denoify
* feat(css): enable to use cx() with external class name
* refactor(css): use symbols for keys
* chore: denoify
---------
Co-authored-by: Taku Amano <taku@taaas.jp>
* feat(dev): Introduce "dev" helper
* feat(dev): Expose "dev" helper
* refactor: Use "named function" in some middleware.
* feat: `app.showRoutes()` is now deprecated. Use `showRoutes()` in `helper` instead.
* refactor: export RouterRoute interface for utility
* refactor: remove captureRouteStackTrace, add inspectRoutes
`captureRouteStackTrace` will be implemented after some more thought.
Instead, I added `inspectRoutes` to get routes as data.
* test: add tests for helper/dev/index.ts
* fix: run `format:fix`
* refactor: use named functions for middleware
* chore: denoify
* docs: tweaks deprecation warning message
* refactor(dev): Simplification of showList options
* chore: denoify
* fix(jsx/streaming): Fix for renderToReadableStream(promise: Promise<HtmlEscapedString>).
* feat(jsx): Define jsxTemplate/jsxAttr/jsxEscape for "@jsx precompile" of Deno 1.38
* chore: denoify
* fix(jsx/streaming): some times jsxDEV is called with null props.
* test(deno-jsx): Add runtime tests for JSX by Deno.
* test: Refactor import map.
* test: Added @jsxImportSource to avoid type warnings
* feat(jsx): Support async component.
* chore: denoify
* feat: Support nested async components.
* chore: denoify
* Remove unintended file from commit.
* test(jsx): Add test for html tagged template strings.
* feat: Introduce streaming API with `Suspense` and `use`.
* chore: denoify
* "use" receives only Promise.
* feat: Support multiple calls and nested calls to "use".
* refactor: tweaks replacement script.
* test: Add test for replacement result of streaming
* chore: denoify
* test: Add test "Complex fallback content"
* refactor: Add "typescript-eslint/no-explicit-any".
* Use jsdom instead of happy-dom due to ci failure.
* test: update test data for suspense.
* refactor: Remove excessive exports
* refactor: Changed initialization of `useContexts[]` to clarify intent.
* perf: improve `renderToReadableStream()` performance.
* chore: denoify
* pref: Shortened the output JS a bit.
* pref: Delete unneeded condition
* docs(jsx/streaming): Add `@experimental` flag to streaming API.
* fix(jsx/streadming): fix loop when using fullfilled Promise with null or undefined.
* fix(jsx/streaming): Catch unhandledRejection to avoid streaming not being closed.
* chore(jsx/streaming): Add entries for jsx/streaming to package.json.
* chore: denoify
* feat(jsx/streaming): Support the Async Component inside Suspense.
* chore: denoify
* feat(jsx/streaming): remove implementation of `use()`.