2712 Commits

Author SHA1 Message Date
Pavlo Myroniuk
c5324aff62
Fix div prop name in css.mdx (#3185)
* Fix div prop name in css.mdx
* Fix div prop name in yew/website/docs/concepts/basic-web-technologies/css.mdx

`styles` is a not existing property in the `div` component. Changed it to `style`
2023-03-28 19:41:14 +09:00
Jedd Dryden
8c9d942dbf
Index of Examples Fixes and Changes (#3186)
* Fixed `README.md` list of examples

- Added all communication examples
- Reordered into alphabetical order to match the examples directory
- Added `ssr_router` to the list
- Added `function_router` to the list
- Unified full stop usage

* Added file extension

* Improved List Legend

* Small Changes to Section Headings

* Apply suggestions from code review

Co-authored-by: WorldSEnder <WorldSEnder@users.noreply.github.com>

* Table Alignment Fixes

* Incorporate Suggestion

Co-Authored-By: WorldSEnder <WorldSEnder@users.noreply.github.com>

* Removed Old Legend

Co-Authored-By: WorldSEnder <WorldSEnder@users.noreply.github.com>

---------

Co-authored-by: WorldSEnder <WorldSEnder@users.noreply.github.com>
2023-03-28 19:40:49 +09:00
dependabot[bot]
46343bbd86
Bump openssl from 0.10.45 to 0.10.48 (#3181)
Bumps [openssl](https://github.com/sfackler/rust-openssl) from 0.10.45 to 0.10.48.
- [Release notes](https://github.com/sfackler/rust-openssl/releases)
- [Commits](https://github.com/sfackler/rust-openssl/compare/openssl-v0.10.45...openssl-v0.10.48)

---
updated-dependencies:
- dependency-name: openssl
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-25 03:51:02 +00:00
Jonas Scholz
b85313b2a2
Add MathML support + test. (#3121)
Co-authored-by: Jonas Scholz <jonas.scholz123@gmail.com>
2023-03-18 13:59:17 +05:00
dependabot[bot]
8387af4fe2
Bump env_logger from 0.9.3 to 0.10.0 (#3155)
Bumps [env_logger](https://github.com/rust-cli/env_logger) from 0.9.3 to 0.10.0.
- [Release notes](https://github.com/rust-cli/env_logger/releases)
- [Changelog](https://github.com/rust-cli/env_logger/blob/main/CHANGELOG.md)
- [Commits](https://github.com/rust-cli/env_logger/compare/v0.9.3...v0.10.0)

---
updated-dependencies:
- dependency-name: env_logger
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-17 21:01:21 +09:00
dependabot[bot]
ba7463cd19
Bump webpack from 5.75.0 to 5.76.1 in /website (#3164)
Bumps [webpack](https://github.com/webpack/webpack) from 5.75.0 to 5.76.1.
- [Release notes](https://github.com/webpack/webpack/releases)
- [Commits](https://github.com/webpack/webpack/compare/v5.75.0...v5.76.1)

---
updated-dependencies:
- dependency-name: webpack
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-17 21:00:30 +09:00
Ruslan S
ad630a987c
Updated tutorial to indicate wasm32 dependencies compatibility (#3150)
That might be obvious for some, but it took me a few hours to figure out that `sqlx` is actually not `wasm32` compatible.
Funny enough, `cargo build` was working just fine, but `trunk serve` was failing with a very misleading error about `openssl`.
Maybe one day that small note will save a few hours to someone else
2023-03-17 21:00:00 +09:00
Pratul Kalia
68bf1b7a8f
Add macige to awesome.md (#3156)
Macige is a CI workflow generator specifically for mobile app development.
2023-03-17 16:24:36 +05:00
Kaede Hoshikawa
69045611dd
Fix clippy for Rust 1.68. (#3163) 2023-03-17 16:23:58 +05:00
Muhammad Hamza
7fa512d24b
Set CORS headers for tutorial/data.json (#3162)
Fixes #3138
2023-03-14 22:21:49 +09:00
Kaede Hoshikawa
7982cc555e
Fix benchmark workflow (#3112)
* Try to fix benchmark workflow.

* Fix benchmark workflow.

* Fix benchmark workflow.

* Fix workflow.

* Fix benchmark workflow.

* Fix workflow.

* Disable headless mode.

* Install xvfb

* Remove unneeded install.
2023-03-14 14:32:00 +05:00
dependabot[bot]
d63a91c08a
Bump tokio from 1.25.0 to 1.26.0 (#3146) 2023-03-05 10:11:47 +09:00
dependabot[bot]
532b0c7a7d
Bump base64ct from 1.5.3 to 1.6.0 (#3144) 2023-03-05 10:11:18 +09:00
dependabot[bot]
9861c722ab
Bump once_cell from 1.17.0 to 1.17.1 (#3143) 2023-03-05 10:10:21 +09:00
dependabot[bot]
1cf05638d7
Bump git2 from 0.15.0 to 0.16.1 (#3142) 2023-03-05 10:10:04 +09:00
dependabot[bot]
62dbfdf250
Bump prettier from 2.8.3 to 2.8.4 in /website (#3135) 2023-03-05 10:08:22 +09:00
dependabot[bot]
9cd869198f
Bump @docusaurus/theme-classic from 2.1.0 to 2.3.1 in /website (#3134) 2023-03-05 10:08:01 +09:00
dependabot[bot]
51a26cffc1
Bump @typescript-eslint/parser from 5.50.0 to 5.54.0 in /website (#3131) 2023-03-05 10:07:32 +09:00
dependabot[bot]
016fb7378b
Bump @docusaurus/plugin-client-redirects from 2.2.0 to 2.3.1 in /website (#3132) 2023-03-05 09:03:47 +09:00
dependabot[bot]
2deb2332c7
Bump @docusaurus/plugin-content-docs from 2.2.0 to 2.3.1 in /website (#3133) 2023-03-05 07:08:23 +09:00
dependabot[bot]
07ea3f483f
Bump actions/checkout from 2 to 3 (#3141) 2023-03-05 07:04:59 +09:00
Kaede Hoshikawa
08f4fd3032
Fix Dependabot and GitHub Actions (#3111) 2023-03-05 07:03:10 +09:00
Colin Woodbury
48daf52986
Fix spelling in guides (#3109)
These are a few minor mistakes I noticed while going through the tutorial.
2023-03-04 22:34:42 +05:00
Kaede Hoshikawa
ffc2db0b5a
Fix website workflow (#3110)
* Fix fmt.

* Update dependencies.

* Add translation.

* Update dependencies.
2023-03-04 22:32:30 +05:00
dependabot[bot]
16c043ac80
Bump actions/checkout from 2 to 3 (#3137)
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-03-04 22:24:54 +05:00
TechTheAwesome
47b60ec7a2
Add link to the rust-yew vscode plugin to the yew docs (#3116)
* ADD rust-yew to devel docs

* ADD rust-yew to` v0.20 `docs

* FIX run prettier format

* Add community maintained notice and re-formatting
2023-02-22 18:19:11 +01:00
Vlad Beskrovny
c7b7e45e4c
Implement component name completion in html! for IntelliJ Rust plugin (#2972) 2023-02-02 22:36:51 +09:00
Ruslan S
7558cd2637
Update examples/README with correct starter templates link (#3098)
I've noticed that https://yew.rs/docs/getting-started/starter-templates doesn't exist anymore
Assuming that it should now point to https://yew.rs/docs/getting-started/build-a-sample-app#using-a-starter-template
2023-02-02 20:04:18 +09:00
Pavlo Myroniuk
263c1242d2
Fix typo in custom-hooks.mdx (#3094)
Removed duplicated `as as`
2023-02-02 20:01:45 +09:00
Cecile Tonglet
bff497e002
Pass string types to Html props (#2872)
* Pass string types to Html props

* Not sure why passing None explicitly here...

* Update test stderr
2023-02-02 20:00:51 +09:00
Johannes Sjölund
9556266061
Improve grammar in website/docs (#3092)
* Improve grammar in website/docs

* Futuresolo's changes to website/docs
2023-02-01 22:21:31 +05:00
Kaede Hoshikawa
8d308fb617
Separate PR and master size collection. (#3101) 2023-02-01 22:11:43 +05:00
Kaede Hoshikawa
65b930acb6
Deduplicate suspensions when considering subsequent renders for suspensions (#3099)
* FIx duplicate suspension.

* Fix tests.

* Fix tests.

* Fix tests.
2023-02-01 22:04:43 +05:00
Kaede Hoshikawa
456a05ba40
Fix clippy for 1.67 (#3100)
* Fix clippy for 1.67

* Fix trybuild.
2023-02-01 21:57:05 +05:00
dependabot[bot]
006fbefddc
Bump @typescript-eslint/eslint-plugin from 5.47.1 to 5.50.0 in /website (#3105)
Bumps [@typescript-eslint/eslint-plugin](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/eslint-plugin) from 5.47.1 to 5.50.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/eslint-plugin/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.50.0/packages/eslint-plugin)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/eslint-plugin"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 23:41:18 +09:00
dependabot[bot]
ce93fd31eb
Bump prettier from 2.8.1 to 2.8.3 in /website (#3104)
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.1 to 2.8.3.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.1...2.8.3)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 14:41:08 +00:00
dependabot[bot]
5ec6689fc8
Bump @docusaurus/core from 2.2.0 to 2.3.0 in /website (#3102)
Bumps [@docusaurus/core](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus) from 2.2.0 to 2.3.0.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v2.3.0/packages/docusaurus)

---
updated-dependencies:
- dependency-name: "@docusaurus/core"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 23:40:27 +09:00
dependabot[bot]
2b7856823e
Bump jetli/trunk-action from 0.2.0 to 0.4.0 (#3106)
Bumps [jetli/trunk-action](https://github.com/jetli/trunk-action) from 0.2.0 to 0.4.0.
- [Release notes](https://github.com/jetli/trunk-action/releases)
- [Commits](https://github.com/jetli/trunk-action/compare/v0.2.0...v0.4.0)

---
updated-dependencies:
- dependency-name: jetli/trunk-action
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 23:38:27 +09:00
dependabot[bot]
837ddadf22
Bump @typescript-eslint/parser from 5.45.0 to 5.50.0 in /website (#3103)
Bumps [@typescript-eslint/parser](https://github.com/typescript-eslint/typescript-eslint/tree/HEAD/packages/parser) from 5.45.0 to 5.50.0.
- [Release notes](https://github.com/typescript-eslint/typescript-eslint/releases)
- [Changelog](https://github.com/typescript-eslint/typescript-eslint/blob/main/packages/parser/CHANGELOG.md)
- [Commits](https://github.com/typescript-eslint/typescript-eslint/commits/v5.50.0/packages/parser)

---
updated-dependencies:
- dependency-name: "@typescript-eslint/parser"
  dependency-type: direct:development
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-02-01 23:37:40 +09:00
Luke Pendleton
352a0853d0
Fix typo in html! concept docs (#3096)
I am learning Yew and noticed this small typo in the docs as I was reading through it, so I thought I'd fix it :)
2023-01-30 20:27:51 +09:00
WorldSEnder
c5ffe601f2
Implement an internal DomSlot for positioning instead of NodeRef (#3048)
use instead of NodeRef, decoupling the two
fixes #3043

* implement internal DomSlot
* move DomSlot into submodule of dom_bundle
* hide behind feature csr
* add test cases
* write get in continuation style, this saves a clone
* private DomSlot::get
2023-01-09 15:08:08 +01:00
finga
30a05fcf07
docs: Fix router documentation (#3078)
Fix passing the route instead of borrowing it as it results in an
error.

Co-authored-by: finga <finga@onders.org>
2023-01-09 22:41:33 +09:00
Kaede Hoshikawa
b55be12d3c
Prefer pop_first if it is available (#3084) 2023-01-08 23:09:49 +09:00
Brian Donovan
ec4eca4fcb
docs: fix markdown link in the debugging section (#3081)
* docs: fix markdown link

It was missing the closing parenthesis.

* docs: fix markdown link

It was missing the closing parenthesis.
2023-01-08 14:03:04 +00:00
Cecile Tonglet
d4c2f03c3d
Add method map() on Children to wrap easily (#3039) 2023-01-05 11:30:05 +01:00
dependabot[bot]
e65ee60599
Bump JamesSingleton/is-organization-member from 1.0.0 to 1.0.1 (#3075)
Bumps [JamesSingleton/is-organization-member](https://github.com/JamesSingleton/is-organization-member) from 1.0.0 to 1.0.1.
- [Release notes](https://github.com/JamesSingleton/is-organization-member/releases)
- [Commits](https://github.com/JamesSingleton/is-organization-member/compare/1.0.0...1.0.1)

---
updated-dependencies:
- dependency-name: JamesSingleton/is-organization-member
  dependency-type: direct:production
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 23:43:22 +09:00
dependabot[bot]
cc914b77a3
Bump actions/setup-node from 1 to 3 (#3076)
Bumps [actions/setup-node](https://github.com/actions/setup-node) from 1 to 3.
- [Release notes](https://github.com/actions/setup-node/releases)
- [Commits](https://github.com/actions/setup-node/compare/v1...v3)

---
updated-dependencies:
- dependency-name: actions/setup-node
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 23:42:34 +09:00
dependabot[bot]
b9a8210f2f
Bump json5 from 2.2.1 to 2.2.3 in /website (#3079)
Bumps [json5](https://github.com/json5/json5) from 2.2.1 to 2.2.3.
- [Release notes](https://github.com/json5/json5/releases)
- [Changelog](https://github.com/json5/json5/blob/main/CHANGELOG.md)
- [Commits](https://github.com/json5/json5/compare/v2.2.1...v2.2.3)

---
updated-dependencies:
- dependency-name: json5
  dependency-type: indirect
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 23:41:23 +09:00
dependabot[bot]
1d35148d3e
Bump prettier from 2.8.0 to 2.8.1 in /website (#3070)
Bumps [prettier](https://github.com/prettier/prettier) from 2.8.0 to 2.8.1.
- [Release notes](https://github.com/prettier/prettier/releases)
- [Changelog](https://github.com/prettier/prettier/blob/main/CHANGELOG.md)
- [Commits](https://github.com/prettier/prettier/compare/2.8.0...2.8.1)

---
updated-dependencies:
- dependency-name: prettier
  dependency-type: direct:development
  update-type: version-update:semver-patch
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 23:25:39 +09:00
dependabot[bot]
52730df5df
Bump @docusaurus/plugin-client-redirects from 2.1.0 to 2.2.0 in /website (#3072)
Bumps [@docusaurus/plugin-client-redirects](https://github.com/facebook/docusaurus/tree/HEAD/packages/docusaurus-plugin-client-redirects) from 2.1.0 to 2.2.0.
- [Release notes](https://github.com/facebook/docusaurus/releases)
- [Changelog](https://github.com/facebook/docusaurus/blob/main/CHANGELOG.md)
- [Commits](https://github.com/facebook/docusaurus/commits/v2.2.0/packages/docusaurus-plugin-client-redirects)

---
updated-dependencies:
- dependency-name: "@docusaurus/plugin-client-redirects"
  dependency-type: direct:production
  update-type: version-update:semver-minor
...

Signed-off-by: dependabot[bot] <support@github.com>

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-01-04 23:25:15 +09:00