Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This PR was opened by the Changesets release GitHub action. When you're ready to do a release, you can merge this and the packages will be published to npm automatically. If you're not ready to do a release yet, that's fine, whenever you add more changesets to main, this PR will be updated.
Releases
@obosbbl/grunnmuren-tailwind@2.4.0
Minor Changes
440543f: ## New classes for layout grids
You can now use the classes
layout-grid-gap-x,layout-grid,layout-grid-containerandlayout-subgrid-1-layout-subgrid-12to set up layout grids pages so that all your content aligns.layout-grid-gap-xDefines the layout grid column spacing responsively.
layout-gridSets up a responsive 14 column grid with
layout-grid-gap-x.layout-grid-containerCombines
layout-gridwith thecontainerclass, which makes up the new page container.layout-subgrid-1-layout-subgrid-12Until there is better support for
subgridin CSS, you can use these classes to set up subgrids that aligns withlayout-grid.Patch Changes
<LinkList>components to component classes. This makes them reusable outside React, and makes the implementation and CSS for the component more readable.@obosbbl/grunnmuren-react@3.2.1
Patch Changes
0f8cd6d: ## Breaking Beta change
The
<LinkList>API has now been refactored to support headings inside link lists.<LinkListItem>no longer supports link props, the component must now receive a<Link>as a child to which link props are passedisExternalprop has been removed<LinkListItem>. External links are now identified byt therelprop on the<Link>child (e.g<Link rel="external">)Before
Now
Use Headings (with links)
1c04f75: # Breaking Beta Change
Exposing
<LinkListContainer>as part of the<LinkList>API. This allows for easier customization and flexibility. Since it is now possible to style the container and the list individually. This means you can still just render shorter lists (less than 6 LinkListItems) like before:But the
<LinkList>itself will no longer divide larger list (more than 5 LinkListItems) into multiple columns like before. For that you will now need to wrap it in the<LinkListContainer>:This also paves way for supporting
<Heading>inside the<LinkListContainer>, above the<LinkListContainer>. Stay tuned!0f8cd6d: Better screen reader support in the
<Link>component: annonuce external links.