@andreagiugni/tailwind-dashboard-ui 0.5.4 → 0.5.5
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.cjs +3 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -2
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.js
CHANGED
|
@@ -1351,9 +1351,10 @@ var AccordionItem = ({
|
|
|
1351
1351
|
id: panelId,
|
|
1352
1352
|
role: "region",
|
|
1353
1353
|
"aria-labelledby": buttonId,
|
|
1354
|
-
hidden: !open,
|
|
1354
|
+
"aria-hidden": !open,
|
|
1355
|
+
inert: !open,
|
|
1355
1356
|
className: cn(
|
|
1356
|
-
"grid transition-
|
|
1357
|
+
"grid transition-[grid-template-rows,opacity] duration-300 ease-in-out motion-reduce:transition-none",
|
|
1357
1358
|
open ? "grid-rows-[1fr] opacity-100" : "grid-rows-[0fr] opacity-0"
|
|
1358
1359
|
),
|
|
1359
1360
|
children: /* @__PURE__ */ jsx("div", { className: "overflow-hidden", children: /* @__PURE__ */ jsx("div", { className: "px-4 pb-4 text-sm text-gray-500 dark:text-gray-400", children }) })
|