@sudobility/components 4.0.156 → 4.0.158
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.esm.js
CHANGED
|
@@ -3910,7 +3910,7 @@ function ja() {
|
|
|
3910
3910
|
})(e || (le.EntityType = e = {}));
|
|
3911
3911
|
var t;
|
|
3912
3912
|
(function(n) {
|
|
3913
|
-
n.OWNER = "owner", n.
|
|
3913
|
+
n.OWNER = "owner", n.MANAGER = "manager", n.MEMBER = "member";
|
|
3914
3914
|
})(t || (le.EntityRole = t = {}));
|
|
3915
3915
|
var r;
|
|
3916
3916
|
return (function(n) {
|
|
@@ -3965,7 +3965,7 @@ function Lo() {
|
|
|
3965
3965
|
};
|
|
3966
3966
|
e.ROLE_PERMISSIONS = {
|
|
3967
3967
|
[t.EntityRole.OWNER]: r,
|
|
3968
|
-
[t.EntityRole.
|
|
3968
|
+
[t.EntityRole.MANAGER]: n,
|
|
3969
3969
|
[t.EntityRole.MEMBER]: o
|
|
3970
3970
|
};
|
|
3971
3971
|
function s(l) {
|
|
@@ -20149,7 +20149,8 @@ const hm = ({
|
|
|
20149
20149
|
"transition-colors duration-200",
|
|
20150
20150
|
c.active ? "text-blue-600 dark:text-blue-400 bg-blue-50 dark:bg-blue-900/20" : "text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 hover:bg-gray-100 dark:hover:bg-gray-700",
|
|
20151
20151
|
c.disabled && "opacity-50 cursor-not-allowed pointer-events-none",
|
|
20152
|
-
g && "w-full text-left"
|
|
20152
|
+
g && "w-full text-left",
|
|
20153
|
+
c.className
|
|
20153
20154
|
);
|
|
20154
20155
|
return u ? /* @__PURE__ */ b("div", { className: "relative", ref: l, children: [
|
|
20155
20156
|
/* @__PURE__ */ b(
|
|
@@ -20301,7 +20302,8 @@ const hm = ({
|
|
|
20301
20302
|
className: m(
|
|
20302
20303
|
"flex items-center w-full px-3 py-2 rounded-md text-base font-medium",
|
|
20303
20304
|
"transition-colors duration-200",
|
|
20304
|
-
l.active ? "text-blue-600 dark:text-blue-400 bg-blue-50 dark:bg-blue-900/20" : "text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 hover:bg-gray-100 dark:hover:bg-gray-700"
|
|
20305
|
+
l.active ? "text-blue-600 dark:text-blue-400 bg-blue-50 dark:bg-blue-900/20" : "text-gray-600 dark:text-gray-400 hover:text-gray-900 dark:hover:text-gray-100 hover:bg-gray-100 dark:hover:bg-gray-700",
|
|
20306
|
+
l.className
|
|
20305
20307
|
),
|
|
20306
20308
|
onClick: () => s(!1)
|
|
20307
20309
|
},
|