funuicss 3.8.6 → 3.8.7

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/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.8.6",
2
+ "version": "3.8.7",
3
3
  "name": "funuicss",
4
4
  "description": "React and Next.js component UI Library for creating Easy and good looking websites with fewer lines of code. Elevate your web development experience with our cutting-edge React/Next.js component UI Library. Craft stunning websites effortlessly, boasting both seamless functionality and aesthetic appeal—all achieved with minimal lines of code. Unleash the power of simplicity and style in your projects!",
5
5
  "main": "index.js",
@@ -259,7 +259,7 @@ var AccordionItem = function (_a) {
259
259
  };
260
260
  return (react_1.default.createElement("div", { className: getContainerClasses(), style: {
261
261
  marginBottom: getSpacingValue(globalProps.gap) || '0.5rem',
262
- overflow: 'hidden', // Add overflow hidden to prevent content overflow
262
+ overflow: 'visible', // Add overflow hidden to prevent content overflow
263
263
  } },
264
264
  react_1.default.createElement("div", { className: "accordion-header ".concat(titleClass || ''), onClick: !disabled ? function () { return onToggle(index); } : undefined, role: "button", tabIndex: disabled ? -1 : 0, "aria-expanded": isOpen, onKeyDown: function (e) {
265
265
  if (!disabled && (e.key === 'Enter' || e.key === ' ')) {
@@ -283,6 +283,8 @@ var AccordionItem = function (_a) {
283
283
  react_1.default.createElement("div", { className: "accordion-content ".concat(contentClass || '', " ").concat(isOpen ? 'open' : ''), style: {
284
284
  maxHeight: isOpen ? '10000px' : '0',
285
285
  overflow: 'visible',
286
+ opacity: isOpen ? 1 : 0,
287
+ visibility: isOpen ? 'visible' : 'hidden',
286
288
  transition: "max-height ".concat(animationDuration, "ms ").concat(animationEasing),
287
289
  padding: isOpen ? getSpacingValue(globalProps.padding) || '0.5rem 0' : '0',
288
290
  backgroundColor: globalProps.contentBg ? getBgClass(globalProps.contentBg) : '',