@bbki.ng/components 2.1.16 → 2.1.17
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 +7 -7
- package/dist/index.cjs.map +1 -1
- package/dist/index.css +30 -21
- package/dist/index.css.map +1 -1
- package/dist/index.js +7 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.cjs
CHANGED
|
@@ -162,9 +162,9 @@ var COLOR_MAPPING = {
|
|
|
162
162
|
["gray" /* GRAY */]: "text-gray-400"
|
|
163
163
|
};
|
|
164
164
|
var HOVER_COLOR_MAPPING = {
|
|
165
|
-
["blue" /* BLUE */]: "hover:bg-blue-100",
|
|
166
|
-
["red" /* RED */]: "hover:bg-red-100",
|
|
167
|
-
["gray" /* GRAY */]: "hover:bg-gray-100"
|
|
165
|
+
["blue" /* BLUE */]: "[&:not(:focus)]:hover:bg-blue-100 [&:not(:focus)]:hover:text-blue-600",
|
|
166
|
+
["red" /* RED */]: "[&:not(:focus)]:hover:bg-red-100 [&:not(:focus)]:hover:text-blue-500",
|
|
167
|
+
["gray" /* GRAY */]: "[&:not(:focus)]:hover:bg-gray-100 [&:not(:focus)]:hover:text-blue-400"
|
|
168
168
|
};
|
|
169
169
|
var FOCUS_BG_COLOR_MAPPING = {
|
|
170
170
|
["blue" /* BLUE */]: "focus:bg-blue-600",
|
|
@@ -182,7 +182,7 @@ var Link = (props) => {
|
|
|
182
182
|
const linkCls = (0, import_classnames2.default)(
|
|
183
183
|
className,
|
|
184
184
|
"rounded",
|
|
185
|
-
"no-underline",
|
|
185
|
+
"!no-underline",
|
|
186
186
|
"transition-colors",
|
|
187
187
|
"focus:text-white",
|
|
188
188
|
COLOR_MAPPING[color],
|
|
@@ -849,17 +849,17 @@ var import_classnames9 = __toESM(require("classnames"), 1);
|
|
|
849
849
|
var import_react18 = __toESM(require("react"), 1);
|
|
850
850
|
var ThreeColLayout = (props) => {
|
|
851
851
|
const { leftRenderer, middleRenderer, rightRenderer } = props;
|
|
852
|
-
const colCls = (0, import_classnames9.default)("max-h-full overflow-auto
|
|
852
|
+
const colCls = (0, import_classnames9.default)("max-h-full overflow-auto xl:!block py-64");
|
|
853
853
|
return /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
854
854
|
className: "grid grid-cols-1 xl:grid-cols-3 gap-4 h-full w-full"
|
|
855
855
|
}, /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
856
|
-
className: (0, import_classnames9.default)("
|
|
856
|
+
className: (0, import_classnames9.default)("hidden", colCls)
|
|
857
857
|
}, leftRenderer && leftRenderer()), /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
858
858
|
className: (0, import_classnames9.default)(colCls, "sm:px-128 xl:px-0 no-scrollbar", "relative", {
|
|
859
859
|
hidden: !middleRenderer
|
|
860
860
|
})
|
|
861
861
|
}, middleRenderer && middleRenderer()), /* @__PURE__ */ import_react18.default.createElement("div", {
|
|
862
|
-
className: (0, import_classnames9.default)("
|
|
862
|
+
className: (0, import_classnames9.default)("hidden", colCls)
|
|
863
863
|
}, rightRenderer && rightRenderer()));
|
|
864
864
|
};
|
|
865
865
|
|