@obosbbl/grunnmuren-react 2.0.2 → 2.0.3

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (2) hide show
  1. package/dist/index.mjs +1 -1
  2. package/package.json +1 -1
package/dist/index.mjs CHANGED
@@ -154,7 +154,7 @@ function AccordionItem(props) {
154
154
  className: // Uses pseudo element for vertical padding, since that doesn't affect the height when the accordion is closed
155
155
  'text-sm font-light leading-6 px-3.5 relative overflow-hidden border-mint border-l-[3px] before:relative before:block before:h-1.5 after:relative after:block after:h-1.5',
156
156
  role: 'region',
157
- inert: isOpen,
157
+ inert: !isOpen,
158
158
  'aria-labelledby': buttonId,
159
159
  _outerWrapper: (children)=>/*#__PURE__*/ jsx("div", {
160
160
  className: cx('grid transition-all duration-300 after:relative after:block after:h-0 after:transition-all after:duration-300 motion-reduce:transition-none', isOpen ? 'grid-rows-[1fr] after:h-3.5' : 'grid-rows-[0fr]'),
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@obosbbl/grunnmuren-react",
3
- "version": "2.0.2",
3
+ "version": "2.0.3",
4
4
  "description": "Grunnmuren components in React",
5
5
  "repository": {
6
6
  "url": "https://github.com/code-obos/grunnmuren"