@geomak/ui 7.6.1 → 7.6.2

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.js CHANGED
@@ -4581,6 +4581,7 @@ var DENSITY_PAD_LEFT = {
4581
4581
  "spacious": "pl-[calc(1rem-1px)]"
4582
4582
  // px-4 = 1rem
4583
4583
  };
4584
+ var PRESS = "active:bg-[color-mix(in_srgb,var(--color-accent)_14%,transparent)]";
4584
4585
  function List2({
4585
4586
  items,
4586
4587
  onItemClick,
@@ -4612,7 +4613,7 @@ function List2({
4612
4613
  DENSITY_PADDING[density],
4613
4614
  DENSITY_PAD_LEFT[density],
4614
4615
  "focus:outline-none focus-visible:ring-2 focus-visible:ring-accent focus-visible:ring-inset",
4615
- isDisabled ? "border-l-transparent opacity-50 cursor-not-allowed" : isActive ? "border-l-accent bg-surface-raised text-foreground font-medium" : "border-l-transparent text-foreground-secondary hover:bg-surface-raised hover:text-foreground"
4616
+ isDisabled ? "border-l-transparent opacity-50 cursor-not-allowed" : isActive ? `border-l-accent bg-surface-raised text-foreground font-medium ${PRESS}` : `border-l-transparent text-foreground-secondary hover:bg-surface-raised hover:text-foreground ${PRESS}`
4616
4617
  ].join(" "),
4617
4618
  children: [
4618
4619
  item.avatar && /* @__PURE__ */ jsx("span", { className: "flex-shrink-0", children: item.avatar }),