@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.
- package/dist/index.mjs +1 -1
- 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]'),
|