funuicss 3.4.0 → 3.4.2

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
@@ -3067,16 +3067,15 @@ color: var(--text-color);
3067
3067
  padding: 1rem;
3068
3068
  z-index: 5;
3069
3069
  position: fixed;
3070
- animation: SlideDownBar 0.3s ease-in-out ;
3071
3070
  transition: all 0.3s;
3072
3071
  overflow-x: hidden !important;
3073
3072
  }
3074
3073
  @keyframes SlideDownBar {
3075
3074
  from {
3076
- transform: translateX(-100%);
3075
+ opacity: 0;
3077
3076
  }
3078
3077
  to {
3079
- transform: translateX(0);
3078
+ opacity: 1;
3080
3079
  }
3081
3080
  }
3082
3081
  .sidebar:hover{overflow-y: auto;}
@@ -3519,11 +3518,12 @@ background-color: rgba(var(--borderRgb), 0.3);
3519
3518
  }
3520
3519
 
3521
3520
 
3522
- .custom-select {position: relative; width: 100%; border-radius: var(--InputButtonBorderRadius);}
3521
+ .custom-select {position: relative; width: 100%; border-radius: var(--InputButtonBorderRadius); isolation: isolate;}
3523
3522
 
3524
3523
  .custom-select.fullWidth {max-width: none;}
3525
3524
 
3526
3525
 
3526
+
3527
3527
  .select-trigger {
3528
3528
  display: flex;
3529
3529
  align-items: center;
@@ -3625,13 +3625,12 @@ position: absolute;
3625
3625
  top: 100%;
3626
3626
  left: 0;
3627
3627
  right: 0;
3628
- background-color: var(--raiseOpaque);
3629
- backdrop-filter: blur(10px);
3628
+ background-color: var(--page-bg);
3630
3629
  border-top: none;
3631
- border-radius: 0 0 8px 8px;
3630
+ border-radius: 0 0 0.5rem 0.5rem;
3632
3631
  max-height: 250px;
3633
3632
  overflow: hidden;
3634
- z-index: 1000;
3633
+ z-index: 20;
3635
3634
  opacity: 0;
3636
3635
  visibility: hidden;
3637
3636
  transform: translateY(-10px);
package/package.json CHANGED
@@ -1,5 +1,5 @@
1
1
  {
2
- "version": "3.4.0",
2
+ "version": "3.4.2",
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",
package/ui/table/Table.js CHANGED
@@ -201,7 +201,7 @@ function Table(_a) {
201
201
  React.createElement("div", null,
202
202
  React.createElement(Flex_1.default, { width: '100%', wrap: 'nowrap', alignItems: 'center', gap: 0.7 },
203
203
  !selectedField && !showSearch &&
204
- React.createElement("div", { className: 'animated slide-up' },
204
+ React.createElement("div", { className: '' },
205
205
  React.createElement(Select_1.default, { fullWidth: true, searchable: true, funcss: 'min-w-300 w-full', rounded: true, value: selectedField || '', onChange: function (e) { return handleFieldChange(e); }, options: __spreadArray([
206
206
  { text: '🔍 Filter', value: '' },
207
207
  { text: 'All*', value: '' }
@@ -209,7 +209,7 @@ function Table(_a) {
209
209
  text: field,
210
210
  value: field
211
211
  }); }), true) })),
212
- selectedField && !showSearch && (React.createElement("div", { className: 'animated slide-up' },
212
+ selectedField && !showSearch && (React.createElement("div", { className: '' },
213
213
  React.createElement(Select_1.default, { rounded: true, searchable: true, funcss: 'min-w-300 w-full', fullWidth: true, value: selectedValue || '', onChange: function (e) {
214
214
  if (e === 'clear_all') {
215
215
  setSelectedField('');
@@ -254,7 +254,9 @@ function Table(_a) {
254
254
  React.createElement(Tip_1.default, { tip: "bottom", animation: "Opacity", duration: 1, content: "Export Data" }))))))),
255
255
  React.createElement("main", { style: { overflow: "auto", width: "100%" } },
256
256
  React.createElement("table", __assign({ className: "table ".concat(bordered ? 'border' : '', " ").concat(noStripped ? '' : 'stripped', " ").concat(hoverable ? 'hoverableTr' : '', " ").concat(light ? 'light' : '', " ").concat(dark ? 'dark' : ''), style: {
257
- height: height ? height + "px" : ""
257
+ height: height ? height + "px" : "",
258
+ position: 'relative',
259
+ zIndex: 1
258
260
  } }, rest),
259
261
  data &&
260
262
  (data === null || data === void 0 ? void 0 : data.titles) &&
@@ -291,7 +293,7 @@ function Table(_a) {
291
293
  else {
292
294
  return true; // If no search query, return all items
293
295
  }
294
- }).slice(startIndex, endIndex).map(function (mdoc, index) { return (React.createElement(Row_1.default, { funcss: 'animated slide-down', rowKey: index },
296
+ }).slice(startIndex, endIndex).map(function (mdoc, index) { return (React.createElement("tr", { className: 'animated slide-up', key: index },
295
297
  data.fields.map(function (fdoc, findex) {
296
298
  var _a;
297
299
  return (React.createElement(Data_1.default, { key: fdoc, funcss: data.funcss ? ((_a = data === null || data === void 0 ? void 0 : data.funcss) === null || _a === void 0 ? void 0 : _a[findex]) || '' : '' }, getNestedValue(mdoc, fdoc)));