@obosbbl/grunnmuren-react 2.0.0-canary.22 → 2.0.0-canary.24
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 +2 -2
- package/package.json +1 -1
package/dist/index.mjs
CHANGED
|
@@ -110,7 +110,7 @@ function AccordionItem(props, ref) {
|
|
|
110
110
|
HeadingContext,
|
|
111
111
|
{
|
|
112
112
|
// Negative margin to strech the button to the entire with of the accordion (to support containers with a background color)
|
|
113
|
-
className: 'font-semibold leading-7 -mx-2',
|
|
113
|
+
className: 'font-semibold leading-7 -mx-2 text-base',
|
|
114
114
|
// Supply a default level here to make this typecheck ok. Will be overwritten with the consumers set heading level anyways
|
|
115
115
|
level: 3,
|
|
116
116
|
_innerWrapper: (children)=>/*#__PURE__*/ jsxs("button", {
|
|
@@ -123,7 +123,7 @@ function AccordionItem(props, ref) {
|
|
|
123
123
|
children: [
|
|
124
124
|
children,
|
|
125
125
|
/*#__PURE__*/ jsx(ChevronDown, {
|
|
126
|
-
className: cx('transition-transform duration-300 motion-reduce:transition-none', isOpen && 'rotate-180')
|
|
126
|
+
className: cx('flex-none transition-transform duration-300 motion-reduce:transition-none', isOpen && 'rotate-180')
|
|
127
127
|
})
|
|
128
128
|
]
|
|
129
129
|
})
|