Releases: code-obos/grunnmuren
Releases · code-obos/grunnmuren
@obosbbl/grunnmuren-react@2.0.0-canary.53
Patch Changes
- f75bf78: More specific CSS selectors to target
<img>
inside<Media>
in<Card>
. This fixes issues with unwnated styles being applied to other nested<img>
elements.
@obosbbl/grunnmuren-react@2.0.0-canary.52
Patch Changes
- 1c8171b: Fixes an issue where all
<Button>
components inside a<Disclosure>
would trigger the Disclosure to close/open. - 60ff9b3: Fixes the way spacing is managed in
<DisclosurePanel>
. Pseudo-elements were used to avoid an extra<div>
wrapper around the content. But this caused some inherent spacing around theDisclosure
which might not be desired in some cases. - 7ace896: Decreases breakpoint for
Card
with horizontal layout, without<Media>
- 709dddc: Fix focus ring color on
<Disclosure>
so that it works on any background - 7b8e090: Makes styling custom content in the
<Media>
component easier. This fixes width issues on content other than<img/>
,<video/>
.
@obosbbl/grunnmuren-tailwind@2.0.0-canary.12
Patch Changes
- ab9d08a: Add custom styling to
<code>
in prose content
@obosbbl/grunnmuren-react@2.0.0-canary.51
@obosbbl/grunnmuren-react@2.0.0-canary.50
Minor Changes
- 18b0ed8: Render
<Badge>
as an overlay in<Media>
in the<Card>
component. This way<Badge>
is placed on top of the other content in<Media>
(image, illustration or video). It can be either left or right aligned, depending on it's child index of<Media>
. - 7ca186c: New
layout
prop in<Card>
to support for responsive horizontal layout.
@obosbbl/grunnmuren-tailwind@2.0.0-canary.11
Major Changes
- f63006a: Fix font-weight on strong tags in prose content (use 500 instead of 600)
@obosbbl/grunnmuren-react@2.0.0-canary.49
Minor Changes
- 6ebb8af: Add support for
className
prop onDisclosure
- 040cc31: New component:
<Disclosure>
, which is used to toggle (show/hide) content. Suitable for components like "Read more" buttons, Hamburger menu's etc. This is very similar to the<Accordion/>
component. But the the<Disclosure>
is more generic, has minimal styling and can be used as a standalone component.<Disclosure>
is also typically used to toggle smaller pieces of content then<Accordion/>
, and does not imply that the toggle button is a heading associated with the togglable content.
@obosbbl/grunnmuren-react@2.0.0-canary.48
Minor Changes
-
8f81997: Alertbox: add
icon
prop to override the default icon for the variantExample:
import { Subscription } from "@obosbbl/grunnmuren-react/icons"; <Alertbox variant="info" icon={Subscription}> {" "} ...{" "} </Alertbox>;