@pelcro/react-pelcro-js 4.0.0-alpha.76 → 4.0.0-alpha.77
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.js +2 -2
- package/dist/index.esm.js +2 -2
- package/package.json +1 -1
package/dist/index.cjs.js
CHANGED
|
@@ -36351,12 +36351,12 @@ const DashboardLink = ({
|
|
|
36351
36351
|
return show ? /*#__PURE__*/React__default['default'].createElement("div", {
|
|
36352
36352
|
id: name,
|
|
36353
36353
|
className: `plc-border-l-4 plc-border-transparent plc-border-solid plc-group
|
|
36354
|
-
${isActive ? "plc-border-solid plc-bg-grey-200 plc-border-primary
|
|
36354
|
+
${isActive ? "plc-border-solid plc-bg-grey-200 plc-border-primary" : "hover:plc-bg-gray-100"}`
|
|
36355
36355
|
}, /*#__PURE__*/React__default['default'].createElement("header", {
|
|
36356
36356
|
onClick: () => setActiveDashboardLink(name),
|
|
36357
36357
|
className: "plc-flex plc-items-center plc-justify-between plc-p-5 plc-px-4 plc-cursor-pointer plc-select-none sm:plc-px-8"
|
|
36358
36358
|
}, /*#__PURE__*/React__default['default'].createElement("span", {
|
|
36359
|
-
className: `plc-flex plc-text-lg plc-items-center ${isActive ? "plc-text-primary
|
|
36359
|
+
className: `plc-flex plc-text-lg plc-items-center ${isActive ? "plc-text-primary" : "plc-text-gray-500"}`
|
|
36360
36360
|
}, icon, title))) : null;
|
|
36361
36361
|
};
|
|
36362
36362
|
|
package/dist/index.esm.js
CHANGED
|
@@ -36321,12 +36321,12 @@ const DashboardLink = ({
|
|
|
36321
36321
|
return show ? /*#__PURE__*/React__default.createElement("div", {
|
|
36322
36322
|
id: name,
|
|
36323
36323
|
className: `plc-border-l-4 plc-border-transparent plc-border-solid plc-group
|
|
36324
|
-
${isActive ? "plc-border-solid plc-bg-grey-200 plc-border-primary
|
|
36324
|
+
${isActive ? "plc-border-solid plc-bg-grey-200 plc-border-primary" : "hover:plc-bg-gray-100"}`
|
|
36325
36325
|
}, /*#__PURE__*/React__default.createElement("header", {
|
|
36326
36326
|
onClick: () => setActiveDashboardLink(name),
|
|
36327
36327
|
className: "plc-flex plc-items-center plc-justify-between plc-p-5 plc-px-4 plc-cursor-pointer plc-select-none sm:plc-px-8"
|
|
36328
36328
|
}, /*#__PURE__*/React__default.createElement("span", {
|
|
36329
|
-
className: `plc-flex plc-text-lg plc-items-center ${isActive ? "plc-text-primary
|
|
36329
|
+
className: `plc-flex plc-text-lg plc-items-center ${isActive ? "plc-text-primary" : "plc-text-gray-500"}`
|
|
36330
36330
|
}, icon, title))) : null;
|
|
36331
36331
|
};
|
|
36332
36332
|
|