@ws-ui/roles-editor 1.14.2 → 1.14.4

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.es.js CHANGED
@@ -33851,7 +33851,7 @@ const Dle = ({ item: e, depth: t }) => {
33851
33851
  ref: w,
33852
33852
  children: [
33853
33853
  /* @__PURE__ */ ue("div", { className: "flex items-center justify-between", children: [
33854
- /* @__PURE__ */ ue("div", { className: "flex flex-1 items-center", children: [
33854
+ /* @__PURE__ */ ue("div", { className: "flex min-w-0 flex-1 items-center", children: [
33855
33855
  /* @__PURE__ */ I("span", { className: "mr-4", children: i ? /* @__PURE__ */ I(YH, { className: "h-6 w-6" }) : /* @__PURE__ */ I(Ad, { className: "h-6 w-6" }) }),
33856
33856
  c ? /* @__PURE__ */ ue(
33857
33857
  It.Root,
@@ -33874,7 +33874,14 @@ const Dle = ({ item: e, depth: t }) => {
33874
33874
  p && /* @__PURE__ */ I(It.Message, { children: p })
33875
33875
  ]
33876
33876
  }
33877
- ) : /* @__PURE__ */ I("span", { className: "inline-block grow overflow-hidden truncate whitespace-nowrap text-xs font-bold", children: u })
33877
+ ) : /* @__PURE__ */ I(
33878
+ "span",
33879
+ {
33880
+ title: u,
33881
+ className: "inline-block grow overflow-hidden truncate whitespace-nowrap text-xs font-bold",
33882
+ children: u
33883
+ }
33884
+ )
33878
33885
  ] }),
33879
33886
  i ? /* @__PURE__ */ I("div", { className: "flex items-center justify-center", children: /* @__PURE__ */ I(
33880
33887
  Xr,
@@ -33884,7 +33891,7 @@ const Dle = ({ item: e, depth: t }) => {
33884
33891
  usePortal: !0,
33885
33892
  children: /* @__PURE__ */ I(mn, { className: "h-4 w-4" })
33886
33893
  }
33887
- ) }) : /* @__PURE__ */ I("div", { className: "flex items-center gap-x-2", children: c ? /* @__PURE__ */ ue(Ht, { children: [
33894
+ ) }) : /* @__PURE__ */ I("div", { className: "flex shrink-0 items-center gap-x-2", children: c ? /* @__PURE__ */ ue(Ht, { children: [
33888
33895
  /* @__PURE__ */ I(
33889
33896
  ar,
33890
33897
  {
@@ -38579,7 +38586,7 @@ const Lue = ({
38579
38586
  return /* @__PURE__ */ ue(
38580
38587
  "tr",
38581
38588
  {
38582
- className: bn("group even:bg-white/5 hover:bg-input-bg", {
38589
+ className: bn("group even:bg-body/5 hover:bg-input-bg", {
38583
38590
  "opacity-60": Z.exists === !1
38584
38591
  }),
38585
38592
  children: [
@@ -39024,7 +39031,7 @@ const Lue = ({
39024
39031
  },
39025
39032
  ref: g,
39026
39033
  children: [
39027
- /* @__PURE__ */ I("div", { className: "flex items-center justify-between", children: /* @__PURE__ */ ue("div", { className: "flex flex-1 items-center", children: [
39034
+ /* @__PURE__ */ I("div", { className: "flex items-center justify-between", children: /* @__PURE__ */ ue("div", { className: "flex min-w-0 flex-1 items-center", children: [
39028
39035
  /* @__PURE__ */ I("span", { className: "mr-4", children: /* @__PURE__ */ I(Ad, { className: "h-6 w-6" }) }),
39029
39036
  v ? /* @__PURE__ */ ue(
39030
39037
  It.Root,
@@ -39063,7 +39070,7 @@ const Lue = ({
39063
39070
  "div",
39064
39071
  {
39065
39072
  className: bn(
39066
- "justify-between ml-auto flex w-fit items-center gap-x-2"
39073
+ "justify-between ml-auto flex w-fit shrink-0 items-center gap-x-2"
39067
39074
  ),
39068
39075
  children: v ? /* @__PURE__ */ ue(Ht, { children: [
39069
39076
  /* @__PURE__ */ I(ar, { color: "white", variant: "ghost", onClick: x, children: /* @__PURE__ */ I(JH, { className: "h-4 w-4" }) }),
@@ -39298,7 +39305,7 @@ const Lue = ({
39298
39305
  e.rolePrivs,
39299
39306
  d
39300
39307
  ), [h, e, t, d]);
39301
- return /* @__PURE__ */ ue("tr", { className: bn("group even:bg-white/5 hover:bg-input-bg", o), children: [
39308
+ return /* @__PURE__ */ ue("tr", { className: bn("group even:bg-body/5 hover:bg-input-bg", o), children: [
39302
39309
  /* @__PURE__ */ ue(
39303
39310
  "td",
39304
39311
  {
@@ -39310,7 +39317,7 @@ const Lue = ({
39310
39317
  Array(n).fill("").map((g, m) => /* @__PURE__ */ I(
39311
39318
  "div",
39312
39319
  {
39313
- className: bn("ml-1.5 mr-1 w-[2px] bg-muted", {
39320
+ className: bn("ml-1.5 mr-1 w-0.5 bg-muted", {
39314
39321
  "mr-0.5": i
39315
39322
  })
39316
39323
  },
@@ -39347,7 +39354,7 @@ const Lue = ({
39347
39354
  container: Zr(),
39348
39355
  delay: 100,
39349
39356
  label: /* @__PURE__ */ I("div", { className: "space-y-1 p-1", children: w.read.from.length ? /* @__PURE__ */ ue("div", { className: "flex items-start", children: [
39350
- /* @__PURE__ */ I(Mi, { className: "mr-2 mt-0.5 h-4 w-4 flex-shrink-0" }),
39357
+ /* @__PURE__ */ I(Mi, { className: "mr-2 mt-0.5 h-4 w-4 shrink-0" }),
39351
39358
  /* @__PURE__ */ ue("p", { className: "flex flex-col gap-y-2", children: [
39352
39359
  /* @__PURE__ */ I("span", { className: "mr-1", children: "Permission inherited from:" }),
39353
39360
  /* @__PURE__ */ I("ul", { children: w.read.from.map((g, m) => /* @__PURE__ */ I(
@@ -39389,7 +39396,7 @@ const Lue = ({
39389
39396
  container: Zr(),
39390
39397
  delay: 100,
39391
39398
  label: /* @__PURE__ */ I("div", { className: "space-y-1 p-1", children: w.read.from.length ? /* @__PURE__ */ ue("div", { className: "flex items-start", children: [
39392
- /* @__PURE__ */ I(Mi, { className: "mr-2 mt-0.5 h-4 w-4 flex-shrink-0" }),
39399
+ /* @__PURE__ */ I(Mi, { className: "mr-2 mt-0.5 h-4 w-4 shrink-0" }),
39393
39400
  /* @__PURE__ */ ue("p", { className: "flex flex-col gap-y-2", children: [
39394
39401
  /* @__PURE__ */ I("span", { className: "mr-1", children: "Permission inherited from:" }),
39395
39402
  /* @__PURE__ */ I("ul", { children: w.read.from.map((g, m) => /* @__PURE__ */ I(
@@ -39431,7 +39438,7 @@ const Lue = ({
39431
39438
  container: Zr(),
39432
39439
  delay: 100,
39433
39440
  label: /* @__PURE__ */ I("div", { className: "space-y-1 p-1", children: w.update.from.length ? /* @__PURE__ */ ue("div", { className: "flex items-start", children: [
39434
- /* @__PURE__ */ I(Mi, { className: "mr-2 mt-0.5 h-4 w-4 flex-shrink-0" }),
39441
+ /* @__PURE__ */ I(Mi, { className: "mr-2 mt-0.5 h-4 w-4 shrink-0" }),
39435
39442
  /* @__PURE__ */ ue("p", { className: "flex flex-col gap-y-2", children: [
39436
39443
  /* @__PURE__ */ I("span", { className: "mr-1", children: "Permission inherited from:" }),
39437
39444
  /* @__PURE__ */ I("ul", { children: w.update.from.map((g, m) => /* @__PURE__ */ I(
@@ -39473,7 +39480,7 @@ const Lue = ({
39473
39480
  container: Zr(),
39474
39481
  delay: 100,
39475
39482
  label: /* @__PURE__ */ I("div", { className: "space-y-1 p-1", children: w.drop.from.length ? /* @__PURE__ */ ue("div", { className: "flex items-start", children: [
39476
- /* @__PURE__ */ I(Mi, { className: "mr-2 mt-0.5 h-4 w-4 flex-shrink-0" }),
39483
+ /* @__PURE__ */ I(Mi, { className: "mr-2 mt-0.5 h-4 w-4 shrink-0" }),
39477
39484
  /* @__PURE__ */ ue("p", { className: "flex flex-col gap-y-2", children: [
39478
39485
  /* @__PURE__ */ I("span", { className: "mr-1", children: "Permission inherited from:" }),
39479
39486
  /* @__PURE__ */ I("ul", { children: w.drop.from.map((g, m) => /* @__PURE__ */ I(
@@ -39511,7 +39518,7 @@ const Lue = ({
39511
39518
  container: Zr(),
39512
39519
  delay: 100,
39513
39520
  label: /* @__PURE__ */ I("div", { className: "space-y-1 p-1", children: w.execute.from.length ? /* @__PURE__ */ ue("div", { className: "flex items-start", children: [
39514
- /* @__PURE__ */ I(Mi, { className: "mr-2 mt-0.5 h-4 w-4 flex-shrink-0" }),
39521
+ /* @__PURE__ */ I(Mi, { className: "mr-2 mt-0.5 h-4 w-4 shrink-0" }),
39515
39522
  /* @__PURE__ */ ue("p", { className: "flex flex-col gap-y-2", children: [
39516
39523
  /* @__PURE__ */ I("span", { className: "mr-1", children: "Permission inherited from:" }),
39517
39524
  /* @__PURE__ */ I("ul", { children: w.execute.from.map((g, m) => /* @__PURE__ */ I(