funuicss 3.2.4 → 3.3.1
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 +4 -4
- package/package.json +1 -1
- package/ui/table/Table.js +10 -1
package/css/fun.css
CHANGED
|
@@ -3519,7 +3519,7 @@ background-color: rgba(var(--borderRgb), 0.3);
|
|
|
3519
3519
|
}
|
|
3520
3520
|
|
|
3521
3521
|
|
|
3522
|
-
.custom-select {position: relative; width: 100%; border-radius: var(--InputButtonBorderRadius);
|
|
3522
|
+
.custom-select {position: relative; width: 100%; border-radius: var(--InputButtonBorderRadius);}
|
|
3523
3523
|
|
|
3524
3524
|
.custom-select.fullWidth {max-width: none;}
|
|
3525
3525
|
|
|
@@ -3627,9 +3627,8 @@ position: absolute;
|
|
|
3627
3627
|
top: 100%;
|
|
3628
3628
|
left: 0;
|
|
3629
3629
|
right: 0;
|
|
3630
|
-
|
|
3631
|
-
|
|
3632
|
-
backdrop-filter: blur(12px);
|
|
3630
|
+
background-color: var(--raiseOpaque);
|
|
3631
|
+
backdrop-filter: blur(10px);
|
|
3633
3632
|
border-top: none;
|
|
3634
3633
|
border-radius: 0 0 8px 8px;
|
|
3635
3634
|
max-height: 250px;
|
|
@@ -3639,6 +3638,7 @@ opacity: 0;
|
|
|
3639
3638
|
visibility: hidden;
|
|
3640
3639
|
transform: translateY(-10px);
|
|
3641
3640
|
transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
|
|
3641
|
+
box-shadow: var(--card);
|
|
3642
3642
|
}
|
|
3643
3643
|
|
|
3644
3644
|
.select-dropdown.open {
|
package/package.json
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
{
|
|
2
|
-
"version": "3.
|
|
2
|
+
"version": "3.3.1",
|
|
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
|
@@ -72,6 +72,7 @@ var pi_1 = require("react-icons/pi");
|
|
|
72
72
|
var Circle_1 = __importDefault(require("../specials/Circle"));
|
|
73
73
|
var Text_1 = __importDefault(require("../text/Text"));
|
|
74
74
|
var react_easy_export_1 = require("react-easy-export");
|
|
75
|
+
var View_1 = __importDefault(require("../view/View"));
|
|
75
76
|
function Table(_a) {
|
|
76
77
|
var _b, _c;
|
|
77
78
|
var children = _a.children, funcss = _a.funcss, bordered = _a.bordered, noStripped = _a.noStripped, hoverable = _a.hoverable, title = _a.title, showTotal = _a.showTotal, light = _a.light, dark = _a.dark, head = _a.head, body = _a.body, data = _a.data, isLoading = _a.isLoading, right = _a.right, hideExport = _a.hideExport, height = _a.height, _d = _a.pageSize, pageSize = _d === void 0 ? data ? 10 : 0 : _d, // Default page size,
|
|
@@ -224,7 +225,15 @@ function Table(_a) {
|
|
|
224
225
|
column.onClick && (React.createElement(Button_1.default, { onClick: function () { return column.onClick && column.onClick(mdoc); } }, column.title)))); }) : "")); }),
|
|
225
226
|
isLoading &&
|
|
226
227
|
[1, 2, 3, 4, 5, 6, 7, 8, 9, 10].map(function () { return (React.createElement(Row_1.default, { funcss: 'skeleton' })); }),
|
|
227
|
-
children ? children : '')
|
|
228
|
+
children ? children : ''),
|
|
229
|
+
(((data === null || data === void 0 ? void 0 : data.data.length) || filteredData.length === 0) && !isLoading) &&
|
|
230
|
+
React.createElement(View_1.default, { funcss: 'max-w-400 p-4 text-center' },
|
|
231
|
+
React.createElement("div", null,
|
|
232
|
+
React.createElement(pi_1.PiEmpty, { size: 30, className: 'text-error' })),
|
|
233
|
+
React.createElement("div", null,
|
|
234
|
+
React.createElement(Text_1.default, { text: "No Record Found!", size: 'xl' })),
|
|
235
|
+
React.createElement("div", null,
|
|
236
|
+
React.createElement(Text_1.default, { text: "You can try reloading the page or check your query" })))),
|
|
228
237
|
data &&
|
|
229
238
|
React.createElement(React.Fragment, null, pageSize &&
|
|
230
239
|
React.createElement(React.Fragment, null, filteredData.length > pageSize &&
|