Skip to content

Releases: code-obos/grunnmuren

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

05 Mar 08:24
d4e8dc1
Compare
Choose a tag to compare

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

04 Mar 11:49
55235b5
Compare
Choose a tag to compare

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 the Disclosure 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

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

Patch Changes

  • ab9d08a: Add custom styling to <code> in prose content

@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