Releases: code-obos/grunnmuren
Releases · code-obos/grunnmuren
@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>;
Patch Changes
@obosbbl/grunnmuren-icons-svg@2.0.0-canary.6
@obosbbl/grunnmuren-icons-react@2.0.0-canary.7
@obosbbl/grunnmuren-icons-svg@2.0.0-canary.5
Minor Changes
- 04e1531: add Seniority icon
@obosbbl/grunnmuren-icons-react@2.0.0-canary.6
Minor Changes
- 04e1531: add Seniority icon
@obosbbl/grunnmuren-react@2.0.0-canary.47
Minor Changes
-
07d0d30: Adding a new
<VideoLoop/>
component that can play a muted video that loops (similar to a gif). The component respects reduced motion settings for users that have this setting enabled. It ensures further accessibility by requiring a visible or invisible description (alt
orcaption
) of the video content.Usage:
<VideoLoop src="https://res.cloudinary.com/obosit-prd-ch-clry/video/upload/v1732199756/Mellom%20husene/Frysja_Loop2.mp4" format="mp4" alt="Frysjaparken er et moderne nabolag med flotte uteområder og en nydelig kafé" /> <Media> <VideoLoop src="https://res.cloudinary.com/obosit-prd-ch-clry/video/upload/v1732199756/Mellom%20husene/Frysja_Loop2.mp4" format="mp4" /> <Caption>Frysjaparken er et moderne nabolag med flotte uteområder og en nydelig kafé</Caption> </Media>
Patch Changes
- Updated dependencies [e92b0f2]
- @obosbbl/grunnmuren-icons-react@2.0.0-canary.5