@bbki.ng/components 2.4.8 → 2.5.0
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/dist/index.cjs +31 -2
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +20 -15
- package/dist/index.css.map +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.js +30 -2
- package/dist/index.js.map +1 -1
- package/package.json +2 -2
package/dist/index.cjs
CHANGED
|
@@ -29,6 +29,7 @@ __export(lib_exports, {
|
|
|
29
29
|
Article: () => Article,
|
|
30
30
|
ArticleSkeleton: () => ArticleSkeleton,
|
|
31
31
|
BlinkDot: () => BlinkDot,
|
|
32
|
+
BlurCover: () => BlurCover,
|
|
32
33
|
Breadcrumb: () => Breadcrumb,
|
|
33
34
|
Button: () => Button,
|
|
34
35
|
ButtonType: () => ButtonType,
|
|
@@ -1115,13 +1116,13 @@ var RandomRowsLayout = import_react20.default.memo(
|
|
|
1115
1116
|
);
|
|
1116
1117
|
const currentIdx = sumColNumByIdx(colNums, row) + col;
|
|
1117
1118
|
console.log("\u5F53\u524D\u4E0B\u6807" + currentIdx);
|
|
1118
|
-
const
|
|
1119
|
+
const cls6 = (0, import_classnames11.default)(
|
|
1119
1120
|
"flex items-center justify-center flex-shrink-0 flex-grow-0",
|
|
1120
1121
|
"basis-full",
|
|
1121
1122
|
generatedCls
|
|
1122
1123
|
);
|
|
1123
1124
|
return /* @__PURE__ */ import_react20.default.createElement("div", {
|
|
1124
|
-
className:
|
|
1125
|
+
className: cls6,
|
|
1125
1126
|
key: col
|
|
1126
1127
|
}, cellRenderer(currentIdx, randBoolArr[col], col));
|
|
1127
1128
|
}));
|
|
@@ -1474,11 +1475,39 @@ var ContextMenuShortcut = ({
|
|
|
1474
1475
|
});
|
|
1475
1476
|
};
|
|
1476
1477
|
ContextMenuShortcut.displayName = "ContextMenuShortcut";
|
|
1478
|
+
|
|
1479
|
+
// lib/blur-cover/BlurCover.tsx
|
|
1480
|
+
var import_react24 = __toESM(require("react"), 1);
|
|
1481
|
+
var import_classnames16 = __toESM(require("classnames"), 1);
|
|
1482
|
+
var BlurCover = (props) => {
|
|
1483
|
+
const { status } = props;
|
|
1484
|
+
const coverCls = (0, import_classnames16.default)(
|
|
1485
|
+
"fixed",
|
|
1486
|
+
"block",
|
|
1487
|
+
"text-blur",
|
|
1488
|
+
"transition-all",
|
|
1489
|
+
"top-0",
|
|
1490
|
+
"left-0",
|
|
1491
|
+
"h-full",
|
|
1492
|
+
"w-full",
|
|
1493
|
+
{
|
|
1494
|
+
"z-[999]": status === "show",
|
|
1495
|
+
"opacity-0": status === "silent",
|
|
1496
|
+
"opacity-100": status === "show",
|
|
1497
|
+
"pointer-events-none": status === "silent"
|
|
1498
|
+
},
|
|
1499
|
+
props.className
|
|
1500
|
+
);
|
|
1501
|
+
return /* @__PURE__ */ import_react24.default.createElement("div", {
|
|
1502
|
+
className: coverCls
|
|
1503
|
+
});
|
|
1504
|
+
};
|
|
1477
1505
|
// Annotate the CommonJS export names for ESM import in node:
|
|
1478
1506
|
0 && (module.exports = {
|
|
1479
1507
|
Article,
|
|
1480
1508
|
ArticleSkeleton,
|
|
1481
1509
|
BlinkDot,
|
|
1510
|
+
BlurCover,
|
|
1482
1511
|
Breadcrumb,
|
|
1483
1512
|
Button,
|
|
1484
1513
|
ButtonType,
|