Skip to content

Releases: code-obos/grunnmuren

@obosbbl/grunnmuren-react@2.0.0-canary.51

27 Feb 13:36
6c3ba1e
Compare
Choose a tag to compare

Minor Changes

  • 7e9cd22: Change types for backlink in order to display props correctly in the grunnmuren docs

Patch Changes

  • 880e932: Fix issue with image border-radius for <Card layout="horizontal"> that can occur in some cases where the <Card> has very little horizontal space.

@obosbbl/grunnmuren-react@2.0.0-canary.50

27 Feb 12:47
3d76ef6
Compare
Choose a tag to compare

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

19 Feb 12:57
193c7df
Compare
Choose a tag to compare

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

19 Feb 12:57
193c7df
Compare
Choose a tag to compare

Minor Changes

  • 6ebb8af: Add support for className prop on Disclosure
  • 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

17 Feb 08:09
5d24b2d
Compare
Choose a tag to compare

Minor Changes

  • 8f81997: Alertbox: add icon prop to override the default icon for the variant

    Example:

    import { Subscription } from "@obosbbl/grunnmuren-react/icons";
    
    <Alertbox variant="info" icon={Subscription}>
      {" "}
      ...{" "}
    </Alertbox>;

Patch Changes

  • 369fd61: chore: don't pin to a specific beta version of the cva dependency
  • Updated dependencies [36f31d9]
  • Updated dependencies [e6db3d4]
    • @obosbbl/grunnmuren-icons-react@2.0.0-canary.7

@obosbbl/grunnmuren-icons-svg@2.0.0-canary.6

17 Feb 08:09
5d24b2d
Compare
Choose a tag to compare

Patch Changes

  • 36f31d9: icons: optimize SVGs by merging paths when possible
  • e6db3d4: add History icon

@obosbbl/grunnmuren-icons-react@2.0.0-canary.7

17 Feb 08:09
5d24b2d
Compare
Choose a tag to compare

Patch Changes

  • 36f31d9: icons: optimize SVGs by merging paths when possible
  • e6db3d4: add History icon

@obosbbl/grunnmuren-icons-svg@2.0.0-canary.5

28 Jan 10:41
1a7ca50
Compare
Choose a tag to compare

Minor Changes

@obosbbl/grunnmuren-icons-react@2.0.0-canary.6

28 Jan 10:41
1a7ca50
Compare
Choose a tag to compare

Minor Changes

@obosbbl/grunnmuren-react@2.0.0-canary.47

22 Jan 11:40
cd99922
Compare
Choose a tag to compare

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 or caption) 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