@imj_media/ui 1.2.87 → 1.2.88

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
@@ -27610,7 +27610,7 @@ function k8({
27610
27610
  return /* @__PURE__ */ b(
27611
27611
  "div",
27612
27612
  {
27613
- className: "ui-flex ui-flex-col ui-gap-4 ui-px-12 ui-py-8",
27613
+ className: "ui-flex ui-flex-col ui-gap-8",
27614
27614
  role: "group",
27615
27615
  "aria-label": "Etiquetas",
27616
27616
  children: [
@@ -27678,35 +27678,36 @@ function j8({
27678
27678
  selectAllLabel: n,
27679
27679
  tagsShowSelectAll: s = !1,
27680
27680
  footer: a,
27681
- maxHeightClass: u = "ui-h-[212px]",
27681
+ maxHeightClass: u = "ui-h-[215px]",
27682
27682
  onDismiss: l
27683
27683
  }) {
27684
- const f = !!(i && i.length > 0 && t), d = e.length > 0;
27684
+ const f = !!(i && i.length > 0 && t), d = e.length > 0, c = f && !!a;
27685
27685
  return /* @__PURE__ */ b(
27686
27686
  "div",
27687
27687
  {
27688
27688
  className: j(
27689
- "ui-flex ui-w-52 ui-flex-col-reverse ui-gap-0 ui-overflow-hidden",
27689
+ "ui-flex ui-w-52 ui-flex-col-reverse ui-gap-8 ui-overflow-hidden ui-p-8",
27690
27690
  u,
27691
27691
  Hr
27692
27692
  ),
27693
27693
  onClick: zt,
27694
27694
  children: [
27695
- a ? /* @__PURE__ */ r("div", { className: "ui-shrink-0 ui-border-subtle ui-border-b ui-px-12 ui-pt-8 ui-pb-8", children: /* @__PURE__ */ r(
27695
+ a ? /* @__PURE__ */ r("div", { className: "ui-shrink-0", children: /* @__PURE__ */ r(
27696
27696
  Te,
27697
27697
  {
27698
27698
  color: "secondary",
27699
27699
  theme: "solid",
27700
27700
  size: "xxs",
27701
27701
  fullWidth: !0,
27702
- onClick: (c) => {
27703
- var h;
27704
- zt(c), (h = a.onClick) == null || h.call(a, { label: a.label }), l == null || l();
27702
+ onClick: (h) => {
27703
+ var p;
27704
+ zt(h), (p = a.onClick) == null || p.call(a, { label: a.label }), l == null || l();
27705
27705
  },
27706
27706
  children: a.label
27707
27707
  }
27708
27708
  ) }) : null,
27709
- f && i && t ? /* @__PURE__ */ r("div", { className: "ui-min-h-0 ui-flex-1 ui-overflow-y-auto ui-border-subtle ui-border-b", children: /* @__PURE__ */ r(
27709
+ c ? /* @__PURE__ */ r("div", { className: "ui-shrink-0 ui-py-4", "aria-hidden": !0, children: /* @__PURE__ */ r("div", { className: "ui-border-subtle ui-border-b" }) }) : null,
27710
+ f && i && t ? /* @__PURE__ */ r("div", { className: "ui-min-h-0 ui-flex-1 ui-overflow-y-auto", children: /* @__PURE__ */ r(
27710
27711
  k8,
27711
27712
  {
27712
27713
  tags: i,
@@ -27716,7 +27717,7 @@ function j8({
27716
27717
  showSelectAll: s
27717
27718
  }
27718
27719
  ) }) : null,
27719
- d ? /* @__PURE__ */ r("div", { className: "ui-min-h-0 ui-flex-1 ui-overflow-y-auto", children: /* @__PURE__ */ r(To, { padding: "sm", children: zo(e, l) }) }) : null
27720
+ d ? /* @__PURE__ */ r("div", { className: "ui-min-h-0 ui-flex-1 ui-overflow-y-auto", children: /* @__PURE__ */ r(To, { padding: "none", children: zo(e, l) }) }) : null
27720
27721
  ]
27721
27722
  }
27722
27723
  );
@@ -27902,9 +27903,13 @@ const Kn = {
27902
27903
  added: "Agregado",
27903
27904
  remove: "Quitar"
27904
27905
  };
27905
- function c1({ labelText: e }) {
27906
- return /* @__PURE__ */ b("span", { className: "ui-flex ui-w-full ui-min-w-0 ui-items-center ui-justify-center ui-gap-8", children: [
27907
- /* @__PURE__ */ b("span", { className: "ui-relative ui-flex ui-h-16 ui-w-16 ui-shrink-0 ui-items-center ui-justify-center", children: [
27906
+ function c1({
27907
+ labelText: e,
27908
+ showLeadingIcon: i = !0
27909
+ }) {
27910
+ const o = "ui-block ui-w-max ui-max-w-full ui-whitespace-nowrap ui-text-center ui-text-body-sm-bold ui-font-body-sm-bold ui-leading-none";
27911
+ return /* @__PURE__ */ b("span", { className: "ui-mx-auto ui-inline-flex ui-max-w-full ui-items-center ui-justify-center ui-gap-8", children: [
27912
+ i ? /* @__PURE__ */ b("span", { className: "ui-relative ui-flex ui-h-16 ui-w-16 ui-shrink-0 ui-items-center ui-justify-center", children: [
27908
27913
  /* @__PURE__ */ r(
27909
27914
  Le,
27910
27915
  {
@@ -27918,19 +27923,19 @@ function c1({ labelText: e }) {
27918
27923
  /* @__PURE__ */ r(
27919
27924
  "span",
27920
27925
  {
27921
- className: "ui-pointer-events-none ui-absolute ui-inset-0 ui-flex ui-items-center ui-justify-center ui-opacity-0 ui-transition-opacity group-hover:ui-opacity-100",
27926
+ className: "ui-pointer-events-none ui-absolute ui-inset-0 ui-grid ui-place-items-center ui-opacity-0 ui-transition-opacity group-hover:ui-opacity-100",
27922
27927
  "aria-hidden": !0,
27923
27928
  children: /* @__PURE__ */ r(Le, { name: xt, size: "sm", color: "current" })
27924
27929
  }
27925
27930
  )
27926
- ] }),
27927
- /* @__PURE__ */ b("span", { className: "ui-relative ui-inline-block ui-min-w-0 ui-shrink", children: [
27928
- /* @__PURE__ */ b("span", { className: "ui-invisible ui-inline-grid ui-grid-cols-1", children: [
27931
+ ] }) : null,
27932
+ /* @__PURE__ */ b("span", { className: "ui-relative ui-inline-grid ui-shrink-0", children: [
27933
+ /* @__PURE__ */ b("span", { className: "ui-invisible ui-col-start-1 ui-row-start-1 ui-inline-grid ui-grid-cols-1", children: [
27929
27934
  /* @__PURE__ */ r("span", { className: "ui-col-start-1 ui-row-start-1 ui-whitespace-nowrap ui-text-body-sm-bold ui-font-body-sm-bold ui-leading-none", children: e }),
27930
27935
  /* @__PURE__ */ r("span", { className: "ui-col-start-1 ui-row-start-1 ui-whitespace-nowrap ui-text-body-sm-bold ui-font-body-sm-bold ui-leading-none", children: Kn.remove })
27931
27936
  ] }),
27932
- /* @__PURE__ */ r("span", { className: "ui-absolute ui-inset-0 ui-flex ui-items-center ui-justify-center ui-opacity-100 ui-transition-opacity group-hover:ui-opacity-0", children: /* @__PURE__ */ r("span", { className: "ui-whitespace-nowrap ui-text-center ui-text-body-sm-bold ui-font-body-sm-bold ui-leading-none", children: e }) }),
27933
- /* @__PURE__ */ r("span", { className: "ui-absolute ui-inset-0 ui-flex ui-items-center ui-justify-center ui-opacity-0 ui-transition-opacity group-hover:ui-opacity-100", children: /* @__PURE__ */ r("span", { className: "ui-whitespace-nowrap ui-text-center ui-text-body-sm-bold ui-font-body-sm-bold ui-leading-none", children: Kn.remove }) })
27937
+ /* @__PURE__ */ r("span", { className: "ui-absolute ui-inset-0 ui-grid ui-place-items-center ui-opacity-100 ui-transition-opacity group-hover:ui-opacity-0", children: /* @__PURE__ */ r("span", { className: o, children: e }) }),
27938
+ /* @__PURE__ */ r("span", { className: "ui-absolute ui-inset-0 ui-grid ui-place-items-center ui-opacity-0 ui-transition-opacity group-hover:ui-opacity-100", children: /* @__PURE__ */ r("span", { className: o, children: Kn.remove }) })
27934
27939
  ] })
27935
27940
  ] });
27936
27941
  }