[ci] release (#3692)
Co-authored-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
This commit is contained in:
parent
3e6ed5d1bc
commit
6a6047483b
52 changed files with 260 additions and 200 deletions
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
'@astrojs/lit': minor
|
||||
---
|
||||
|
||||
Adds support for passing named slots from `.astro` => Lit components.
|
||||
|
||||
All slots are treated as Light DOM content.
|
|
@ -1,29 +0,0 @@
|
|||
---
|
||||
'@astrojs/preact': minor
|
||||
'@astrojs/react': minor
|
||||
'@astrojs/solid-js': minor
|
||||
---
|
||||
|
||||
Add support for passing named slots from `.astro` => framework components.
|
||||
|
||||
Each `slot` is be passed as a top-level prop. For example:
|
||||
|
||||
```jsx
|
||||
// From .astro
|
||||
<Component>
|
||||
<h2 slot="title">Hello world!</h2>
|
||||
<h2 slot="slot-with-dash">Dash</h2>
|
||||
<div>Default</div>
|
||||
</Component>
|
||||
|
||||
// For .jsx
|
||||
export default function Component({ title, slotWithDash, children }) {
|
||||
return (
|
||||
<>
|
||||
<div id="title">{title}</div>
|
||||
<div id="slot-with-dash">{slotWithDash}</div>
|
||||
<div id="main">{children}</div>
|
||||
</>
|
||||
)
|
||||
}
|
||||
```
|
|
@ -1,7 +0,0 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Add renderer support for passing named slots to framework components.
|
||||
|
||||
**BREAKING**: integrations using the `addRenderer()` API are now passed all named slots via `Record<string, string>` rather than `string`. Previously only the default slot was passed.
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Added test for dir parameter in astro:build:done
|
|
@ -1,5 +0,0 @@
|
|||
---
|
||||
'@astrojs/sitemap': patch
|
||||
---
|
||||
|
||||
Add warning log for sitemap + SSR adapter, with suggestion to use customPages configuration option
|
|
@ -1,11 +0,0 @@
|
|||
---
|
||||
'astro': patch
|
||||
---
|
||||
|
||||
Moves head injection to happen during rendering
|
||||
|
||||
This change makes it so that head injection; to insert component stylesheets, hoisted scripts, for example, to happen during rendering than as a post-rendering step.
|
||||
|
||||
This is to enable streaming. This change will only be noticeable if you are rendering your `<head>` element inside of a framework component. If that is the case then the head items will be injected before the first non-head element in an Astro file instead.
|
||||
|
||||
In the future we may offer a `<Astro.Head>` component as a way to control where these scripts/styles are inserted.
|
|
@ -1,8 +0,0 @@
|
|||
---
|
||||
'@astrojs/svelte': minor
|
||||
'@astrojs/vue': minor
|
||||
---
|
||||
|
||||
Adds support for passing named slots from `.astro` => framework components.
|
||||
|
||||
Inside your components, use the built-in `slot` API as you normally would.
|
|
@ -9,6 +9,6 @@
|
|||
"preview": "astro preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^1.0.0-beta.53"
|
||||
"astro": "^1.0.0-beta.54"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
"preview": "astro preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/preact": "^0.1.3",
|
||||
"astro": "^1.0.0-beta.53",
|
||||
"@astrojs/preact": "^0.2.0",
|
||||
"astro": "^1.0.0-beta.54",
|
||||
"sass": "^1.52.2"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
"preview": "astro preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/preact": "^0.1.3",
|
||||
"astro": "^1.0.0-beta.53"
|
||||
"@astrojs/preact": "^0.2.0",
|
||||
"astro": "^1.0.0-beta.54"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.7.3"
|
||||
|
|
|
@ -10,6 +10,6 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@example/my-component": "workspace:*",
|
||||
"astro": "^1.0.0-beta.53"
|
||||
"astro": "^1.0.0-beta.54"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -8,6 +8,6 @@
|
|||
"serve": "astro --root demo preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^1.0.0-beta.53"
|
||||
"astro": "^1.0.0-beta.54"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
"react-dom": "^18.1.0"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/preact": "^0.1.3",
|
||||
"@astrojs/react": "^0.1.3",
|
||||
"astro": "^1.0.0-beta.53"
|
||||
"@astrojs/preact": "^0.2.0",
|
||||
"@astrojs/react": "^0.2.0",
|
||||
"astro": "^1.0.0-beta.54"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
"preview": "astro preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^1.0.0-beta.53"
|
||||
"astro": "^1.0.0-beta.54"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"preview": "astro preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^1.0.0-beta.53"
|
||||
"astro": "^1.0.0-beta.54"
|
||||
},
|
||||
"dependencies": {
|
||||
"alpinejs": "^3.10.2"
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
"preview": "astro preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/lit": "^0.2.0",
|
||||
"astro": "^1.0.0-beta.53"
|
||||
"@astrojs/lit": "^0.3.0",
|
||||
"astro": "^1.0.0-beta.54"
|
||||
},
|
||||
"dependencies": {
|
||||
"@webcomponents/template-shadowroot": "^0.1.0",
|
||||
|
|
|
@ -9,13 +9,13 @@
|
|||
"preview": "astro preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/lit": "^0.2.0",
|
||||
"@astrojs/preact": "^0.1.3",
|
||||
"@astrojs/react": "^0.1.3",
|
||||
"@astrojs/solid-js": "^0.1.4",
|
||||
"@astrojs/svelte": "^0.1.5",
|
||||
"@astrojs/vue": "^0.1.5",
|
||||
"astro": "^1.0.0-beta.53"
|
||||
"@astrojs/lit": "^0.3.0",
|
||||
"@astrojs/preact": "^0.2.0",
|
||||
"@astrojs/react": "^0.2.0",
|
||||
"@astrojs/solid-js": "^0.2.0",
|
||||
"@astrojs/svelte": "^0.2.0",
|
||||
"@astrojs/vue": "^0.2.0",
|
||||
"astro": "^1.0.0-beta.54"
|
||||
},
|
||||
"dependencies": {
|
||||
"@webcomponents/template-shadowroot": "^0.1.0",
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
"preview": "astro preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/preact": "^0.1.3",
|
||||
"astro": "^1.0.0-beta.53"
|
||||
"@astrojs/preact": "^0.2.0",
|
||||
"astro": "^1.0.0-beta.54"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.7.3"
|
||||
|
|
|
@ -9,10 +9,10 @@
|
|||
"preview": "astro preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/react": "^0.1.3",
|
||||
"@astrojs/react": "^0.2.0",
|
||||
"@types/react": "^18.0.10",
|
||||
"@types/react-dom": "^18.0.5",
|
||||
"astro": "^1.0.0-beta.53"
|
||||
"astro": "^1.0.0-beta.54"
|
||||
},
|
||||
"dependencies": {
|
||||
"react": "^18.1.0",
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
"preview": "astro preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/solid-js": "^0.1.4",
|
||||
"astro": "^1.0.0-beta.53"
|
||||
"@astrojs/solid-js": "^0.2.0",
|
||||
"astro": "^1.0.0-beta.54"
|
||||
},
|
||||
"dependencies": {
|
||||
"solid-js": "^1.4.3"
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
"preview": "astro preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/svelte": "^0.1.5",
|
||||
"astro": "^1.0.0-beta.53"
|
||||
"@astrojs/svelte": "^0.2.0",
|
||||
"astro": "^1.0.0-beta.54"
|
||||
},
|
||||
"dependencies": {
|
||||
"svelte": "^3.48.0"
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
"preview": "astro preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/vue": "^0.1.5",
|
||||
"astro": "^1.0.0-beta.53"
|
||||
"@astrojs/vue": "^0.2.0",
|
||||
"astro": "^1.0.0-beta.54"
|
||||
},
|
||||
"dependencies": {
|
||||
"vue": "^3.2.36"
|
||||
|
|
|
@ -9,14 +9,14 @@
|
|||
"preview": "astro preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/lit": "^0.2.0",
|
||||
"@astrojs/lit": "^0.3.0",
|
||||
"@astrojs/partytown": "^0.1.5",
|
||||
"@astrojs/react": "^0.1.3",
|
||||
"@astrojs/sitemap": "^0.2.1",
|
||||
"@astrojs/solid-js": "0.1.4",
|
||||
"@astrojs/react": "^0.2.0",
|
||||
"@astrojs/sitemap": "^0.2.2",
|
||||
"@astrojs/solid-js": "0.2.0",
|
||||
"@astrojs/tailwind": "^0.2.1",
|
||||
"@astrojs/turbolinks": "^0.1.3",
|
||||
"astro": "^1.0.0-beta.53",
|
||||
"astro": "^1.0.0-beta.54",
|
||||
"solid-js": "^1.4.3"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
"preview": "astro preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^1.0.0-beta.53"
|
||||
"astro": "^1.0.0-beta.54"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
"preview": "astro preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^1.0.0-beta.53"
|
||||
"astro": "^1.0.0-beta.54"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
"preview": "astro preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/preact": "^0.1.3",
|
||||
"astro": "^1.0.0-beta.53",
|
||||
"@astrojs/preact": "^0.2.0",
|
||||
"astro": "^1.0.0-beta.54",
|
||||
"sass": "^1.52.2"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -10,8 +10,8 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/node": "^0.1.2",
|
||||
"@astrojs/svelte": "^0.1.5",
|
||||
"astro": "^1.0.0-beta.53",
|
||||
"@astrojs/svelte": "^0.2.0",
|
||||
"astro": "^1.0.0-beta.54",
|
||||
"concurrently": "^7.2.1",
|
||||
"lightcookie": "^1.0.25",
|
||||
"unocss": "^0.15.6",
|
||||
|
|
|
@ -9,6 +9,6 @@
|
|||
"preview": "astro preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^1.0.0-beta.53"
|
||||
"astro": "^1.0.0-beta.54"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -9,8 +9,8 @@
|
|||
"preview": "astro preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/react": "^0.1.3",
|
||||
"astro": "^1.0.0-beta.53",
|
||||
"@astrojs/react": "^0.2.0",
|
||||
"astro": "^1.0.0-beta.54",
|
||||
"sass": "^1.52.2"
|
||||
},
|
||||
"dependencies": {
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/markdown-remark": "^0.11.3",
|
||||
"astro": "^1.0.0-beta.53",
|
||||
"astro": "^1.0.0-beta.54",
|
||||
"hast-util-select": "5.0.1",
|
||||
"rehype-autolink-headings": "^6.1.1",
|
||||
"rehype-slug": "^5.0.1",
|
||||
|
|
|
@ -10,6 +10,6 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/markdown-remark": "^0.11.3",
|
||||
"astro": "^1.0.0-beta.53"
|
||||
"astro": "^1.0.0-beta.54"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,11 +10,11 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/markdown-remark": "^0.11.3",
|
||||
"@astrojs/preact": "^0.1.3",
|
||||
"@astrojs/react": "^0.1.3",
|
||||
"@astrojs/svelte": "^0.1.5",
|
||||
"@astrojs/vue": "^0.1.5",
|
||||
"astro": "^1.0.0-beta.53"
|
||||
"@astrojs/preact": "^0.2.0",
|
||||
"@astrojs/react": "^0.2.0",
|
||||
"@astrojs/svelte": "^0.2.0",
|
||||
"@astrojs/vue": "^0.2.0",
|
||||
"astro": "^1.0.0-beta.54"
|
||||
},
|
||||
"dependencies": {
|
||||
"preact": "^10.7.3",
|
||||
|
|
|
@ -20,11 +20,11 @@
|
|||
"vue": "^3.2.36"
|
||||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/preact": "^0.1.3",
|
||||
"@astrojs/react": "^0.1.3",
|
||||
"@astrojs/solid-js": "^0.1.4",
|
||||
"@astrojs/svelte": "^0.1.5",
|
||||
"@astrojs/vue": "^0.1.5",
|
||||
"astro": "^1.0.0-beta.53"
|
||||
"@astrojs/preact": "^0.2.0",
|
||||
"@astrojs/react": "^0.2.0",
|
||||
"@astrojs/solid-js": "^0.2.0",
|
||||
"@astrojs/svelte": "^0.2.0",
|
||||
"@astrojs/vue": "^0.2.0",
|
||||
"astro": "^1.0.0-beta.54"
|
||||
}
|
||||
}
|
||||
|
|
|
@ -10,7 +10,7 @@
|
|||
},
|
||||
"devDependencies": {
|
||||
"@astrojs/tailwind": "^0.2.1",
|
||||
"astro": "^1.0.0-beta.53",
|
||||
"astro": "^1.0.0-beta.54",
|
||||
"autoprefixer": "^10.4.7",
|
||||
"canvas-confetti": "^1.5.1",
|
||||
"postcss": "^8.4.14",
|
||||
|
|
|
@ -9,7 +9,7 @@
|
|||
"preview": "astro preview"
|
||||
},
|
||||
"devDependencies": {
|
||||
"astro": "^1.0.0-beta.53",
|
||||
"astro": "^1.0.0-beta.54",
|
||||
"vite-plugin-pwa": "0.11.11",
|
||||
"workbox-window": "^6.5.3"
|
||||
}
|
||||
|
|
|
@ -1,5 +1,23 @@
|
|||
# astro
|
||||
|
||||
## 1.0.0-beta.54
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#3652](https://github.com/withastro/astro/pull/3652) [`7373d61c`](https://github.com/withastro/astro/commit/7373d61cdcaedd64bf5fd60521b157cfa4343558) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Add renderer support for passing named slots to framework components.
|
||||
|
||||
**BREAKING**: integrations using the `addRenderer()` API are now passed all named slots via `Record<string, string>` rather than `string`. Previously only the default slot was passed.
|
||||
|
||||
* [#3649](https://github.com/withastro/astro/pull/3649) [`446f8c4f`](https://github.com/withastro/astro/commit/446f8c4f13de04324697e958af027ac8943a039b) Thanks [@dc7290](https://github.com/dc7290)! - Added test for dir parameter in astro:build:done
|
||||
|
||||
- [#3679](https://github.com/withastro/astro/pull/3679) [`fa7ed3f3`](https://github.com/withastro/astro/commit/fa7ed3f3a9ce89c1c46e637b584271a6e199d211) Thanks [@matthewp](https://github.com/matthewp)! - Moves head injection to happen during rendering
|
||||
|
||||
This change makes it so that head injection; to insert component stylesheets, hoisted scripts, for example, to happen during rendering than as a post-rendering step.
|
||||
|
||||
This is to enable streaming. This change will only be noticeable if you are rendering your `<head>` element inside of a framework component. If that is the case then the head items will be injected before the first non-head element in an Astro file instead.
|
||||
|
||||
In the future we may offer a `<Astro.Head>` component as a way to control where these scripts/styles are inserted.
|
||||
|
||||
## 1.0.0-beta.53
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "astro",
|
||||
"version": "1.0.0-beta.53",
|
||||
"version": "1.0.0-beta.54",
|
||||
"description": "Astro is a modern site builder with web best practices, performance, and DX front-of-mind.",
|
||||
"type": "module",
|
||||
"author": "withastro",
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
# @astrojs/lit
|
||||
|
||||
## 0.3.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#3652](https://github.com/withastro/astro/pull/3652) [`7373d61c`](https://github.com/withastro/astro/commit/7373d61cdcaedd64bf5fd60521b157cfa4343558) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Adds support for passing named slots from `.astro` => Lit components.
|
||||
|
||||
All slots are treated as Light DOM content.
|
||||
|
||||
## 0.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@astrojs/lit",
|
||||
"version": "0.2.0",
|
||||
"version": "0.3.0",
|
||||
"description": "Use Lit components within Astro",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
|
|
|
@ -1,5 +1,33 @@
|
|||
# @astrojs/preact
|
||||
|
||||
## 0.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#3652](https://github.com/withastro/astro/pull/3652) [`7373d61c`](https://github.com/withastro/astro/commit/7373d61cdcaedd64bf5fd60521b157cfa4343558) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Add support for passing named slots from `.astro` => framework components.
|
||||
|
||||
Each `slot` is be passed as a top-level prop. For example:
|
||||
|
||||
```jsx
|
||||
// From .astro
|
||||
<Component>
|
||||
<h2 slot="title">Hello world!</h2>
|
||||
<h2 slot="slot-with-dash">Dash</h2>
|
||||
<div>Default</div>
|
||||
</Component>;
|
||||
|
||||
// For .jsx
|
||||
export default function Component({ title, slotWithDash, children }) {
|
||||
return (
|
||||
<>
|
||||
<div id="title">{title}</div>
|
||||
<div id="slot-with-dash">{slotWithDash}</div>
|
||||
<div id="main">{children}</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
```
|
||||
|
||||
## 0.1.3
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@astrojs/preact",
|
||||
"description": "Use Preact components within Astro",
|
||||
"version": "0.1.3",
|
||||
"version": "0.2.0",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"author": "withastro",
|
||||
|
|
|
@ -1,5 +1,33 @@
|
|||
# @astrojs/react
|
||||
|
||||
## 0.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#3652](https://github.com/withastro/astro/pull/3652) [`7373d61c`](https://github.com/withastro/astro/commit/7373d61cdcaedd64bf5fd60521b157cfa4343558) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Add support for passing named slots from `.astro` => framework components.
|
||||
|
||||
Each `slot` is be passed as a top-level prop. For example:
|
||||
|
||||
```jsx
|
||||
// From .astro
|
||||
<Component>
|
||||
<h2 slot="title">Hello world!</h2>
|
||||
<h2 slot="slot-with-dash">Dash</h2>
|
||||
<div>Default</div>
|
||||
</Component>;
|
||||
|
||||
// For .jsx
|
||||
export default function Component({ title, slotWithDash, children }) {
|
||||
return (
|
||||
<>
|
||||
<div id="title">{title}</div>
|
||||
<div id="slot-with-dash">{slotWithDash}</div>
|
||||
<div id="main">{children}</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
```
|
||||
|
||||
## 0.1.3
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@astrojs/react",
|
||||
"description": "Use React components within Astro",
|
||||
"version": "0.1.3",
|
||||
"version": "0.2.0",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"author": "withastro",
|
||||
|
|
|
@ -1,5 +1,11 @@
|
|||
# @astrojs/sitemap
|
||||
|
||||
## 0.2.2
|
||||
|
||||
### Patch Changes
|
||||
|
||||
- [#3689](https://github.com/withastro/astro/pull/3689) [`3f8ee70e`](https://github.com/withastro/astro/commit/3f8ee70e2bc5b49c65a0444d9606232dadbc2fca) Thanks [@bholmesdev](https://github.com/bholmesdev)! - Add warning log for sitemap + SSR adapter, with suggestion to use customPages configuration option
|
||||
|
||||
## 0.2.1
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
{
|
||||
"name": "@astrojs/sitemap",
|
||||
"description": "Generate a sitemap for Astro",
|
||||
"version": "0.2.1",
|
||||
"version": "0.2.2",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
"author": "withastro",
|
||||
|
|
|
@ -1,5 +1,33 @@
|
|||
# @astrojs/solid-js
|
||||
|
||||
## 0.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#3652](https://github.com/withastro/astro/pull/3652) [`7373d61c`](https://github.com/withastro/astro/commit/7373d61cdcaedd64bf5fd60521b157cfa4343558) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Add support for passing named slots from `.astro` => framework components.
|
||||
|
||||
Each `slot` is be passed as a top-level prop. For example:
|
||||
|
||||
```jsx
|
||||
// From .astro
|
||||
<Component>
|
||||
<h2 slot="title">Hello world!</h2>
|
||||
<h2 slot="slot-with-dash">Dash</h2>
|
||||
<div>Default</div>
|
||||
</Component>;
|
||||
|
||||
// For .jsx
|
||||
export default function Component({ title, slotWithDash, children }) {
|
||||
return (
|
||||
<>
|
||||
<div id="title">{title}</div>
|
||||
<div id="slot-with-dash">{slotWithDash}</div>
|
||||
<div id="main">{children}</div>
|
||||
</>
|
||||
);
|
||||
}
|
||||
```
|
||||
|
||||
## 0.1.4
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@astrojs/solid-js",
|
||||
"version": "0.1.4",
|
||||
"version": "0.2.0",
|
||||
"description": "Use Solid components within Astro",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
# @astrojs/svelte
|
||||
|
||||
## 0.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#3652](https://github.com/withastro/astro/pull/3652) [`7373d61c`](https://github.com/withastro/astro/commit/7373d61cdcaedd64bf5fd60521b157cfa4343558) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Adds support for passing named slots from `.astro` => framework components.
|
||||
|
||||
Inside your components, use the built-in `slot` API as you normally would.
|
||||
|
||||
## 0.1.5
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@astrojs/svelte",
|
||||
"version": "0.1.5",
|
||||
"version": "0.2.0",
|
||||
"description": "Use Svelte components within Astro",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
|
|
|
@ -1,5 +1,13 @@
|
|||
# @astrojs/vue
|
||||
|
||||
## 0.2.0
|
||||
|
||||
### Minor Changes
|
||||
|
||||
- [#3652](https://github.com/withastro/astro/pull/3652) [`7373d61c`](https://github.com/withastro/astro/commit/7373d61cdcaedd64bf5fd60521b157cfa4343558) Thanks [@natemoo-re](https://github.com/natemoo-re)! - Adds support for passing named slots from `.astro` => framework components.
|
||||
|
||||
Inside your components, use the built-in `slot` API as you normally would.
|
||||
|
||||
## 0.1.5
|
||||
|
||||
### Patch Changes
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
{
|
||||
"name": "@astrojs/vue",
|
||||
"version": "0.1.5",
|
||||
"version": "0.2.0",
|
||||
"description": "Use Vue components within Astro",
|
||||
"type": "module",
|
||||
"types": "./dist/index.d.ts",
|
||||
|
|
120
pnpm-lock.yaml
120
pnpm-lock.yaml
|
@ -49,14 +49,14 @@ importers:
|
|||
|
||||
examples/basics:
|
||||
specifiers:
|
||||
astro: ^1.0.0-beta.53
|
||||
astro: ^1.0.0-beta.54
|
||||
devDependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
||||
examples/blog:
|
||||
specifiers:
|
||||
'@astrojs/preact': ^0.1.3
|
||||
astro: ^1.0.0-beta.53
|
||||
'@astrojs/preact': ^0.2.0
|
||||
astro: ^1.0.0-beta.54
|
||||
preact: ^10.7.3
|
||||
dependencies:
|
||||
preact: 10.7.3
|
||||
|
@ -66,8 +66,8 @@ importers:
|
|||
|
||||
examples/blog-multiple-authors:
|
||||
specifiers:
|
||||
'@astrojs/preact': ^0.1.3
|
||||
astro: ^1.0.0-beta.53
|
||||
'@astrojs/preact': ^0.2.0
|
||||
astro: ^1.0.0-beta.54
|
||||
preact: ^10.7.3
|
||||
sass: ^1.52.2
|
||||
dependencies:
|
||||
|
@ -79,14 +79,14 @@ importers:
|
|||
|
||||
examples/component:
|
||||
specifiers:
|
||||
astro: ^1.0.0-beta.53
|
||||
astro: ^1.0.0-beta.54
|
||||
devDependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
||||
examples/component/demo:
|
||||
specifiers:
|
||||
'@example/my-component': workspace:*
|
||||
astro: ^1.0.0-beta.53
|
||||
astro: ^1.0.0-beta.54
|
||||
devDependencies:
|
||||
'@example/my-component': link:../packages/my-component
|
||||
astro: link:../../../packages/astro
|
||||
|
@ -97,12 +97,12 @@ importers:
|
|||
examples/docs:
|
||||
specifiers:
|
||||
'@algolia/client-search': ^4.13.1
|
||||
'@astrojs/preact': ^0.1.3
|
||||
'@astrojs/react': ^0.1.3
|
||||
'@astrojs/preact': ^0.2.0
|
||||
'@astrojs/react': ^0.2.0
|
||||
'@docsearch/css': ^3.1.0
|
||||
'@docsearch/react': ^3.1.0
|
||||
'@types/react': ^17.0.45
|
||||
astro: ^1.0.0-beta.53
|
||||
astro: ^1.0.0-beta.54
|
||||
preact: ^10.7.3
|
||||
react: ^18.1.0
|
||||
react-dom: ^18.1.0
|
||||
|
@ -121,14 +121,14 @@ importers:
|
|||
|
||||
examples/env-vars:
|
||||
specifiers:
|
||||
astro: ^1.0.0-beta.53
|
||||
astro: ^1.0.0-beta.54
|
||||
devDependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
||||
examples/framework-alpine:
|
||||
specifiers:
|
||||
alpinejs: ^3.10.2
|
||||
astro: ^1.0.0-beta.53
|
||||
astro: ^1.0.0-beta.54
|
||||
dependencies:
|
||||
alpinejs: 3.10.2
|
||||
devDependencies:
|
||||
|
@ -136,9 +136,9 @@ importers:
|
|||
|
||||
examples/framework-lit:
|
||||
specifiers:
|
||||
'@astrojs/lit': ^0.2.0
|
||||
'@astrojs/lit': ^0.3.0
|
||||
'@webcomponents/template-shadowroot': ^0.1.0
|
||||
astro: ^1.0.0-beta.53
|
||||
astro: ^1.0.0-beta.54
|
||||
lit: ^2.2.5
|
||||
dependencies:
|
||||
'@webcomponents/template-shadowroot': 0.1.0
|
||||
|
@ -149,14 +149,14 @@ importers:
|
|||
|
||||
examples/framework-multiple:
|
||||
specifiers:
|
||||
'@astrojs/lit': ^0.2.0
|
||||
'@astrojs/preact': ^0.1.3
|
||||
'@astrojs/react': ^0.1.3
|
||||
'@astrojs/solid-js': ^0.1.4
|
||||
'@astrojs/svelte': ^0.1.5
|
||||
'@astrojs/vue': ^0.1.5
|
||||
'@astrojs/lit': ^0.3.0
|
||||
'@astrojs/preact': ^0.2.0
|
||||
'@astrojs/react': ^0.2.0
|
||||
'@astrojs/solid-js': ^0.2.0
|
||||
'@astrojs/svelte': ^0.2.0
|
||||
'@astrojs/vue': ^0.2.0
|
||||
'@webcomponents/template-shadowroot': ^0.1.0
|
||||
astro: ^1.0.0-beta.53
|
||||
astro: ^1.0.0-beta.54
|
||||
lit: ^2.2.5
|
||||
preact: ^10.7.3
|
||||
react: ^18.1.0
|
||||
|
@ -184,8 +184,8 @@ importers:
|
|||
|
||||
examples/framework-preact:
|
||||
specifiers:
|
||||
'@astrojs/preact': ^0.1.3
|
||||
astro: ^1.0.0-beta.53
|
||||
'@astrojs/preact': ^0.2.0
|
||||
astro: ^1.0.0-beta.54
|
||||
preact: ^10.7.3
|
||||
dependencies:
|
||||
preact: 10.7.3
|
||||
|
@ -195,10 +195,10 @@ importers:
|
|||
|
||||
examples/framework-react:
|
||||
specifiers:
|
||||
'@astrojs/react': ^0.1.3
|
||||
'@astrojs/react': ^0.2.0
|
||||
'@types/react': ^18.0.10
|
||||
'@types/react-dom': ^18.0.5
|
||||
astro: ^1.0.0-beta.53
|
||||
astro: ^1.0.0-beta.54
|
||||
react: ^18.1.0
|
||||
react-dom: ^18.1.0
|
||||
dependencies:
|
||||
|
@ -212,8 +212,8 @@ importers:
|
|||
|
||||
examples/framework-solid:
|
||||
specifiers:
|
||||
'@astrojs/solid-js': ^0.1.4
|
||||
astro: ^1.0.0-beta.53
|
||||
'@astrojs/solid-js': ^0.2.0
|
||||
astro: ^1.0.0-beta.54
|
||||
solid-js: ^1.4.3
|
||||
dependencies:
|
||||
solid-js: 1.4.3
|
||||
|
@ -223,8 +223,8 @@ importers:
|
|||
|
||||
examples/framework-svelte:
|
||||
specifiers:
|
||||
'@astrojs/svelte': ^0.1.5
|
||||
astro: ^1.0.0-beta.53
|
||||
'@astrojs/svelte': ^0.2.0
|
||||
astro: ^1.0.0-beta.54
|
||||
svelte: ^3.48.0
|
||||
dependencies:
|
||||
svelte: 3.48.0
|
||||
|
@ -234,8 +234,8 @@ importers:
|
|||
|
||||
examples/framework-vue:
|
||||
specifiers:
|
||||
'@astrojs/vue': ^0.1.5
|
||||
astro: ^1.0.0-beta.53
|
||||
'@astrojs/vue': ^0.2.0
|
||||
astro: ^1.0.0-beta.54
|
||||
vue: ^3.2.36
|
||||
dependencies:
|
||||
vue: 3.2.37
|
||||
|
@ -245,15 +245,15 @@ importers:
|
|||
|
||||
examples/integrations-playground:
|
||||
specifiers:
|
||||
'@astrojs/lit': ^0.2.0
|
||||
'@astrojs/lit': ^0.3.0
|
||||
'@astrojs/partytown': ^0.1.5
|
||||
'@astrojs/react': ^0.1.3
|
||||
'@astrojs/sitemap': ^0.2.1
|
||||
'@astrojs/solid-js': 0.1.4
|
||||
'@astrojs/react': ^0.2.0
|
||||
'@astrojs/sitemap': ^0.2.2
|
||||
'@astrojs/solid-js': 0.2.0
|
||||
'@astrojs/tailwind': ^0.2.1
|
||||
'@astrojs/turbolinks': ^0.1.3
|
||||
'@webcomponents/template-shadowroot': ^0.1.0
|
||||
astro: ^1.0.0-beta.53
|
||||
astro: ^1.0.0-beta.54
|
||||
lit: ^2.2.5
|
||||
preact: ^10.7.3
|
||||
react: ^18.1.0
|
||||
|
@ -282,20 +282,20 @@ importers:
|
|||
|
||||
examples/minimal:
|
||||
specifiers:
|
||||
astro: ^1.0.0-beta.53
|
||||
astro: ^1.0.0-beta.54
|
||||
devDependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
||||
examples/non-html-pages:
|
||||
specifiers:
|
||||
astro: ^1.0.0-beta.53
|
||||
astro: ^1.0.0-beta.54
|
||||
devDependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
||||
examples/portfolio:
|
||||
specifiers:
|
||||
'@astrojs/preact': ^0.1.3
|
||||
astro: ^1.0.0-beta.53
|
||||
'@astrojs/preact': ^0.2.0
|
||||
astro: ^1.0.0-beta.54
|
||||
preact: ^10.7.3
|
||||
sass: ^1.52.2
|
||||
dependencies:
|
||||
|
@ -308,8 +308,8 @@ importers:
|
|||
examples/ssr:
|
||||
specifiers:
|
||||
'@astrojs/node': ^0.1.2
|
||||
'@astrojs/svelte': ^0.1.5
|
||||
astro: ^1.0.0-beta.53
|
||||
'@astrojs/svelte': ^0.2.0
|
||||
astro: ^1.0.0-beta.54
|
||||
concurrently: ^7.2.1
|
||||
lightcookie: ^1.0.25
|
||||
svelte: ^3.48.0
|
||||
|
@ -328,14 +328,14 @@ importers:
|
|||
|
||||
examples/starter:
|
||||
specifiers:
|
||||
astro: ^1.0.0-beta.53
|
||||
astro: ^1.0.0-beta.54
|
||||
devDependencies:
|
||||
astro: link:../../packages/astro
|
||||
|
||||
examples/subpath:
|
||||
specifiers:
|
||||
'@astrojs/react': ^0.1.3
|
||||
astro: ^1.0.0-beta.53
|
||||
'@astrojs/react': ^0.2.0
|
||||
astro: ^1.0.0-beta.54
|
||||
react: ^18.1.0
|
||||
react-dom: ^18.1.0
|
||||
sass: ^1.52.2
|
||||
|
@ -350,11 +350,11 @@ importers:
|
|||
examples/with-markdown:
|
||||
specifiers:
|
||||
'@astrojs/markdown-remark': ^0.11.3
|
||||
'@astrojs/preact': ^0.1.3
|
||||
'@astrojs/react': ^0.1.3
|
||||
'@astrojs/svelte': ^0.1.5
|
||||
'@astrojs/vue': ^0.1.5
|
||||
astro: ^1.0.0-beta.53
|
||||
'@astrojs/preact': ^0.2.0
|
||||
'@astrojs/react': ^0.2.0
|
||||
'@astrojs/svelte': ^0.2.0
|
||||
'@astrojs/vue': ^0.2.0
|
||||
astro: ^1.0.0-beta.54
|
||||
preact: ^10.7.3
|
||||
react: ^18.1.0
|
||||
react-dom: ^18.1.0
|
||||
|
@ -377,7 +377,7 @@ importers:
|
|||
examples/with-markdown-plugins:
|
||||
specifiers:
|
||||
'@astrojs/markdown-remark': ^0.11.3
|
||||
astro: ^1.0.0-beta.53
|
||||
astro: ^1.0.0-beta.54
|
||||
hast-util-select: 5.0.1
|
||||
rehype-autolink-headings: ^6.1.1
|
||||
rehype-slug: ^5.0.1
|
||||
|
@ -395,22 +395,22 @@ importers:
|
|||
examples/with-markdown-shiki:
|
||||
specifiers:
|
||||
'@astrojs/markdown-remark': ^0.11.3
|
||||
astro: ^1.0.0-beta.53
|
||||
astro: ^1.0.0-beta.54
|
||||
devDependencies:
|
||||
'@astrojs/markdown-remark': link:../../packages/markdown/remark
|
||||
astro: link:../../packages/astro
|
||||
|
||||
examples/with-nanostores:
|
||||
specifiers:
|
||||
'@astrojs/preact': ^0.1.3
|
||||
'@astrojs/react': ^0.1.3
|
||||
'@astrojs/solid-js': ^0.1.4
|
||||
'@astrojs/svelte': ^0.1.5
|
||||
'@astrojs/vue': ^0.1.5
|
||||
'@astrojs/preact': ^0.2.0
|
||||
'@astrojs/react': ^0.2.0
|
||||
'@astrojs/solid-js': ^0.2.0
|
||||
'@astrojs/svelte': ^0.2.0
|
||||
'@astrojs/vue': ^0.2.0
|
||||
'@nanostores/preact': ^0.1.3
|
||||
'@nanostores/react': ^0.1.5
|
||||
'@nanostores/vue': ^0.4.1
|
||||
astro: ^1.0.0-beta.53
|
||||
astro: ^1.0.0-beta.54
|
||||
nanostores: ^0.5.12
|
||||
preact: ^10.7.3
|
||||
react: ^18.1.0
|
||||
|
@ -438,7 +438,7 @@ importers:
|
|||
examples/with-tailwindcss:
|
||||
specifiers:
|
||||
'@astrojs/tailwind': ^0.2.1
|
||||
astro: ^1.0.0-beta.53
|
||||
astro: ^1.0.0-beta.54
|
||||
autoprefixer: ^10.4.7
|
||||
canvas-confetti: ^1.5.1
|
||||
postcss: ^8.4.14
|
||||
|
@ -453,7 +453,7 @@ importers:
|
|||
|
||||
examples/with-vite-plugin-pwa:
|
||||
specifiers:
|
||||
astro: ^1.0.0-beta.53
|
||||
astro: ^1.0.0-beta.54
|
||||
vite-plugin-pwa: 0.11.11
|
||||
workbox-window: ^6.5.3
|
||||
devDependencies:
|
||||
|
|
Loading…
Reference in a new issue