0
Fork 0
mirror of https://github.com/withastro/astro.git synced 2025-01-27 22:19:04 -05:00
astro/packages
Ming-jun Lu 39988ef8e2
feat(toolbar): allow the user to change the placement (#10591)
* feat(toolbar): add `placement` to settings

* feat(toolbar): update `settings.placement` with `<select>`

* feat(toolbar): adjust position based on `settings.placement`

* test(toolbar): add a test case for `settings.placement`

* refactor(toolbar): extract select element from settings app

* feat(toolbar): allow select element to have colors

* test(toolbar): fix failed test case

* refactor(toolbar): add `placement` property to window element

* refactor(toolbar): notify apps when placement changes

* test(toolbar): fix failed test case

* refactor(toolbar): extract `synchronizePlacementOnUpdate` function

* chore: add changeset

* chore: update changeset

Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>

---------

Co-authored-by: Erika <3019731+Princesseuh@users.noreply.github.com>
Co-authored-by: Sarah Rainsberger <sarah@rainsberger.ca>
2024-04-10 16:40:38 +02:00
..
astro feat(toolbar): allow the user to change the placement (#10591) 2024-04-10 16:40:38 +02:00
astro-prism feat: upgrade the minimum Node.js maintainance LTS version (#10689) 2024-04-10 14:53:55 +01:00
astro-rss chore: use biome to sort imports - only test files (#10180) 2024-02-21 14:08:19 +00:00
create-astro feat: upgrade the minimum Node.js maintainance LTS version (#10689) 2024-04-10 14:53:55 +01:00
db [ci] release (#10729) 2024-04-09 21:00:07 -04:00
integrations feat: upgrade the minimum Node.js maintainance LTS version (#10689) 2024-04-10 14:53:55 +01:00
internal-helpers [ci] release (#10597) 2024-03-28 14:09:23 -04:00
markdown/remark [ci] release (#10603) 2024-04-02 15:46:43 +08:00
telemetry feat: upgrade the minimum Node.js maintainance LTS version (#10689) 2024-04-10 14:53:55 +01:00
underscore-redirects chore: import sort source code, exception for the astro package (#10242) 2024-02-27 11:15:27 +00:00
upgrade feat: upgrade the minimum Node.js maintainance LTS version (#10689) 2024-04-10 14:53:55 +01:00