code-obos / grunnmuren

OBOS' design system
https://obos-grunnmuren.netlify.app
MIT License
6 stars 0 forks source link

Loading button fix and useLayoutEffect refactor #914

Closed alexanbj closed 2 weeks ago

alexanbj commented 2 weeks ago

To forskjellige commits i denne PRen (mandags morgen, okay?).

  1. Fikser at knappen beholder bredden sin når den er i en loading state.

  2. Fjerner vår egen SSR-safe useLayoutEffect til fordel for react-aria sin. Vår egen variant henger igjen fra før vi tok i bruk react-aria. Reduserer bundlesize med ~0.2 kb

changeset-bot[bot] commented 2 weeks ago

🦋 Changeset detected

Latest commit: eafda0f7f3f2493d68ff069b8efc7a4a6dfb69e7

The changes in this PR will be included in the next version bump.

This PR includes changesets to release 1 package | Name | Type | | ------------------------- | ----- | | @obosbbl/grunnmuren-react | Patch |

Not sure what this means? Click here to learn what changesets are.

Click here if you're a maintainer who wants to add another changeset to this PR

netlify[bot] commented 2 weeks ago

Deploy Preview for obos-grunnmuren ready!

Name Link
Latest commit eafda0f7f3f2493d68ff069b8efc7a4a6dfb69e7
Latest deploy log https://app.netlify.com/sites/obos-grunnmuren/deploys/66d56494d41d42000857c230
Deploy Preview https://deploy-preview-914--obos-grunnmuren.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site configuration.