@lolmath/ui 0.0.0-20260830084433 → 0.0.0-20260830090301

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.css CHANGED
@@ -1647,13 +1647,20 @@
1647
1647
  }
1648
1648
  }
1649
1649
  @layer lol {
1650
- ._previewButton_pq282_2 {
1650
+ ._previewButton_sepr8_2 {
1651
1651
  appearance: none;
1652
1652
  margin: 0;
1653
1653
  padding: 0;
1654
1654
  border: 0;
1655
1655
  background: none;
1656
- cursor: pointer;
1656
+
1657
+ /*
1658
+ * Not `pointer`: the preview opens on hover, so a hand would promise a
1659
+ * click that does nothing, and the term is not a link. This is the arrow
1660
+ * a `<button>` gets from the browser anyway, spelled out because a host's
1661
+ * CSS reset may have decided otherwise.
1662
+ */
1663
+ cursor: default;
1657
1664
 
1658
1665
  /*
1659
1666
  * The term belongs to the sentence around it, so everything but the face
@@ -1713,7 +1720,6 @@
1713
1720
  &:disabled {
1714
1721
  color: var(--lol-color-grey-150);
1715
1722
  --lol-preview-underline-color: var(--lol-color-grey-150);
1716
- cursor: default;
1717
1723
  }
1718
1724
  }
1719
1725
  }
package/dist/index.d.mts CHANGED
@@ -18,7 +18,7 @@ interface ButtonProps$1 extends ButtonProps {
18
18
  size?: ButtonSize;
19
19
  }
20
20
  declare const button: (props?: ({
21
- preset?: "primary" | "secondary" | "text" | "hextech" | "dimmed" | undefined;
21
+ preset?: "hextech" | "primary" | "secondary" | "text" | "dimmed" | undefined;
22
22
  shape?: "round" | "square" | "normal" | undefined;
23
23
  thin?: boolean | undefined;
24
24
  size?: "small" | "medium" | "large" | undefined;
@@ -649,7 +649,7 @@ interface TokenInputProps<T extends TokenFieldValue$1 = TokenFieldValue$1> exten
649
649
  /** The editable area of a `TokenField`, rendering a `Token` per token segment. */
650
650
  declare function TokenInput<T extends TokenFieldValue$1 = TokenFieldValue$1>({ className, placeholder, size, ...props }: TokenInputProps<T>): import("react").JSX.Element;
651
651
  declare const token: (props?: ({
652
- variant?: "hextech" | "gold" | "grey" | undefined;
652
+ variant?: "gold" | "hextech" | "grey" | undefined;
653
653
  } & ({
654
654
  class?: import("cva").ClassValue;
655
655
  className?: never;
package/dist/index.mjs CHANGED
@@ -1097,7 +1097,7 @@ function PopoverBody({ className, ...props }) {
1097
1097
  }
1098
1098
  //#endregion
1099
1099
  //#region src/components/preview-trigger.tsx
1100
- const previewButton = cva({ base: { "previewButton": "_previewButton_pq282_2" }.previewButton });
1100
+ const previewButton = cva({ base: { "previewButton": "_previewButton_sepr8_2" }.previewButton });
1101
1101
  /**
1102
1102
  * A term inside running text that reveals a preview: it inherits the size,
1103
1103
  * weight and leading of the sentence it sits in and marks itself with a dashed