@diwauhris/ui 1.7.36 → 1.7.37
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/lib/assets/ui.css +4 -0
- package/lib/index.cjs +1 -1
- package/lib/index.mjs +1 -1
- package/package.json +1 -1
package/lib/assets/ui.css
CHANGED
|
@@ -4290,6 +4290,10 @@
|
|
|
4290
4290
|
background-size: 20px 20px;
|
|
4291
4291
|
}
|
|
4292
4292
|
|
|
4293
|
+
.\[overflow\:clip\] {
|
|
4294
|
+
overflow: clip;
|
|
4295
|
+
}
|
|
4296
|
+
|
|
4293
4297
|
/* ── Scrollbar utility ───────────────────────────────────────────────────── */
|
|
4294
4298
|
.hide-scrollbar { scrollbar-width: none; -ms-overflow-style: none; }
|
|
4295
4299
|
.hide-scrollbar::-webkit-scrollbar { display: none; }
|
package/lib/index.cjs
CHANGED
|
@@ -4418,7 +4418,7 @@ function AccordionContent({ children, className = "" }) {
|
|
|
4418
4418
|
"aria-labelledby": triggerId,
|
|
4419
4419
|
"aria-hidden": !isOpen || void 0,
|
|
4420
4420
|
"data-state": isOpen ? "open" : "closed",
|
|
4421
|
-
className: cn("grid overflow
|
|
4421
|
+
className: cn("grid [overflow:clip] transition-[grid-template-rows] duration-200 ease-out", isOpen ? "grid-rows-[1fr]" : "grid-rows-[0fr]"),
|
|
4422
4422
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
|
4423
4423
|
className: "min-h-0",
|
|
4424
4424
|
children: /* @__PURE__ */ (0, react_jsx_runtime.jsx)("div", {
|
package/lib/index.mjs
CHANGED
|
@@ -4394,7 +4394,7 @@ function AccordionContent({ children, className = "" }) {
|
|
|
4394
4394
|
"aria-labelledby": triggerId,
|
|
4395
4395
|
"aria-hidden": !isOpen || void 0,
|
|
4396
4396
|
"data-state": isOpen ? "open" : "closed",
|
|
4397
|
-
className: cn("grid overflow
|
|
4397
|
+
className: cn("grid [overflow:clip] transition-[grid-template-rows] duration-200 ease-out", isOpen ? "grid-rows-[1fr]" : "grid-rows-[0fr]"),
|
|
4398
4398
|
children: /* @__PURE__ */ jsx("div", {
|
|
4399
4399
|
className: "min-h-0",
|
|
4400
4400
|
children: /* @__PURE__ */ jsx("div", {
|