funuicss 3.5.2 → 3.5.4

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/css/fun.css CHANGED
@@ -3519,8 +3519,14 @@ background-color: rgba(var(--borderRgb), 0.3);
3519
3519
 
3520
3520
  }
3521
3521
 
3522
-
3523
- .custom-select {position: relative; width: 100%; border-radius: var(--InputButtonBorderRadius); }
3522
+ .custom-select {
3523
+ position: relative;
3524
+ width: 100%;
3525
+ border-radius: var(--InputButtonBorderRadius);
3526
+ /* FIX: Create a new stacking context and ensure proper layering */
3527
+ z-index: 999;
3528
+ isolation: isolate;
3529
+ }
3524
3530
 
3525
3531
  .custom-select.fullWidth {max-width: none;}
3526
3532
 
@@ -3635,7 +3641,8 @@ visibility: hidden;
3635
3641
  transform: translateY(-10px);
3636
3642
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
3637
3643
  box-shadow: var(--card);
3638
- z-index: 1000 !important;
3644
+ /* FIX: Increased z-index and ensure it's above the parent's stacking context */
3645
+ z-index: 1001 !important;
3639
3646
  }
3640
3647
 
3641
3648
  .select-dropdown.open {
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.5.2",
2
+ "version": "3.5.4",
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",
@@ -12,7 +12,7 @@ var ActivityCard = function (_a) {
12
12
  e.stopPropagation();
13
13
  onClick === null || onClick === void 0 ? void 0 : onClick(activity);
14
14
  } },
15
- react_1.default.createElement(Text_1.default, { text: activity.title, size: "xs", block: true, truncate: 2 }),
15
+ react_1.default.createElement(Text_1.default, { text: activity.title, size: "sm", block: true, truncate: 2 }),
16
16
  activity.footer && react_1.default.createElement("div", null, activity.footer)));
17
17
  };
18
18
  exports.default = ActivityCard;
@@ -45,13 +45,14 @@ var pi_1 = require("react-icons/pi");
45
45
  var Avatar_1 = __importDefault(require("../avatar/Avatar"));
46
46
  var Circle_1 = __importDefault(require("../specials/Circle"));
47
47
  var RowFlex_1 = __importDefault(require("../specials/RowFlex"));
48
- var Input_1 = __importDefault(require("../input/Input"));
49
48
  var Button_1 = __importDefault(require("../button/Button"));
50
49
  var Text_1 = __importDefault(require("../text/Text"));
51
50
  var ActivityCard_1 = __importDefault(require("./ActivityCard"));
52
51
  var View_1 = __importDefault(require("../view/View"));
53
52
  var Dropdown_1 = __importDefault(require("../drop/Dropdown"));
54
53
  var hi_1 = require("react-icons/hi");
54
+ var Flex_1 = __importDefault(require("../flex/Flex"));
55
+ var Select_1 = __importDefault(require("../select/Select"));
55
56
  dayjs_1.default.extend(isSameOrAfter_1.default);
56
57
  dayjs_1.default.extend(isSameOrBefore_1.default);
57
58
  var Calendar = function (_a) {
@@ -159,15 +160,15 @@ var Calendar = function (_a) {
159
160
  react_1.default.createElement(Avatar_1.default, { funcss: "border", onClick: prevPeriod },
160
161
  react_1.default.createElement(pi_1.PiCaretLeft, null)),
161
162
  react_1.default.createElement("div", { className: "calendar-title" },
162
- react_1.default.createElement(RowFlex_1.default, { gap: 1, align: "center" },
163
- react_1.default.createElement(Input_1.default, { type: "text", select: true, value: currentMonth.month().toString(), onChange: function (e) {
164
- return setCurrentMonth(currentMonth.month(parseInt(e.target.value)));
163
+ react_1.default.createElement(Flex_1.default, { width: '100%', gap: 1, alignItems: "center" },
164
+ react_1.default.createElement(Select_1.default, { value: currentMonth.month().toString(), onChange: function (e) {
165
+ return setCurrentMonth(currentMonth.month(parseInt(e)));
165
166
  }, options: Array.from({ length: 12 }, function (_, i) { return ({
166
167
  value: i.toString(),
167
168
  text: (0, dayjs_1.default)().month(i).format('MMMM'),
168
169
  }); }), borderless: true, funcss: "round-edge" }),
169
- react_1.default.createElement(Input_1.default, { type: "text", select: true, value: currentMonth.year().toString(), onChange: function (e) {
170
- return setCurrentMonth(currentMonth.year(parseInt(e.target.value)));
170
+ react_1.default.createElement(Select_1.default, { value: currentMonth.year().toString(), onChange: function (e) {
171
+ return setCurrentMonth(currentMonth.year(parseInt(e)));
171
172
  }, options: Array.from({ length: 21 }, function (_, i) {
172
173
  var year = (0, dayjs_1.default)().year() - 10 + i;
173
174
  return { value: year.toString(), text: year.toString() };