@exxatdesignux/ui 0.2.12 → 0.2.14

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/CHANGELOG.md CHANGED
@@ -15,6 +15,20 @@ After the user bumps `@exxatdesignux/ui`, do this in order:
15
15
 
16
16
  ---
17
17
 
18
+ ## [0.2.14] - 2026-05-14
19
+
20
+ ### Fixed
21
+
22
+ - **`Button`**: primary/default variant hover uses **`hover:bg-primary/80`** for **`<button>`** (was **`[a]:hover:…`**, so hover only worked when rendered as a link).
23
+ - **`Button`**: **`cursor-pointer`** on the base styles for clearer affordance.
24
+ - **`SidebarMenuAction`**: **`cursor-pointer`** on the overflow row action control.
25
+
26
+ ## [0.2.13] - 2026-05-14
27
+
28
+ ### Fixed
29
+
30
+ - Starter **secondary panel** (Question bank): collapse control tooltip / **`aria-label`** now read **“Collapse to icons”** instead of the unclear **“Use icon-only navigation”**.
31
+
18
32
  ## [0.2.12] - 2026-05-13
19
33
 
20
34
  ### Added
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@exxatdesignux/ui",
3
- "version": "0.2.12",
3
+ "version": "0.2.14",
4
4
  "description": "Exxat shared design system (components, hooks, tokens). Monorepo setup: clone repo then pnpm bootstrap at workspace root — see github.com/ExxatDesign/Exxat-DS-Workspace README.",
5
5
  "type": "module",
6
6
  "engines": {
@@ -5,11 +5,11 @@ import { Slot } from "radix-ui"
5
5
  import { cn } from "../../lib/utils"
6
6
 
7
7
  const buttonVariants = cva(
8
- "group/button inline-flex shrink-0 items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
8
+ "group/button inline-flex shrink-0 cursor-pointer items-center justify-center rounded-md border border-transparent bg-clip-padding text-sm font-medium whitespace-nowrap transition-all outline-none select-none focus-visible:border-ring focus-visible:ring-3 focus-visible:ring-ring/50 active:translate-y-px disabled:pointer-events-none disabled:opacity-50 aria-invalid:border-destructive aria-invalid:ring-3 aria-invalid:ring-destructive/20 dark:aria-invalid:border-destructive/50 dark:aria-invalid:ring-destructive/40 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4",
9
9
  {
10
10
  variants: {
11
11
  variant: {
12
- default: "bg-primary text-primary-foreground [a]:hover:bg-primary/80",
12
+ default: "bg-primary text-primary-foreground hover:bg-primary/80",
13
13
  outline:
14
14
  "border-input bg-background hover:bg-interactive-hover hover:text-interactive-hover-foreground aria-expanded:bg-interactive-hover aria-expanded:text-interactive-hover-foreground dark:bg-input/15 dark:hover:bg-input/25",
15
15
  secondary:
@@ -600,7 +600,7 @@ function SidebarMenuAction({
600
600
  data-slot="sidebar-menu-action"
601
601
  data-sidebar="menu-action"
602
602
  className={cn(
603
- "absolute top-1.5 end-1 flex aspect-square w-5 items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 after:absolute after:-inset-2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0",
603
+ "absolute top-1.5 end-1 flex aspect-square w-5 cursor-pointer items-center justify-center rounded-md p-0 text-sidebar-foreground ring-sidebar-ring outline-hidden transition-transform group-data-[collapsible=icon]:hidden peer-hover/menu-button:text-sidebar-accent-foreground peer-data-[size=default]/menu-button:top-1.5 peer-data-[size=lg]/menu-button:top-2.5 peer-data-[size=sm]/menu-button:top-1 after:absolute after:-inset-2 hover:bg-sidebar-accent hover:text-sidebar-accent-foreground focus-visible:ring-2 md:after:hidden [&>svg]:size-4 [&>svg]:shrink-0",
604
604
  showOnHover &&
605
605
  "group-focus-within/menu-item:opacity-100 group-hover/menu-item:opacity-100 peer-data-active/menu-button:text-sidebar-accent-foreground aria-expanded:opacity-100 md:opacity-0",
606
606
  className
@@ -162,13 +162,13 @@ function QuestionBankPanel() {
162
162
  >
163
163
  Question bank
164
164
  </h2>
165
- <Tip label="Use icon-only navigation" side="bottom">
165
+ <Tip label="Collapse to icons" side="bottom">
166
166
  <Button
167
167
  type="button"
168
168
  size="icon"
169
169
  variant="ghost"
170
170
  onClick={() => collapseActiveSecondaryPanel()}
171
- aria-label="Use icon-only navigation"
171
+ aria-label="Collapse to icons"
172
172
  >
173
173
  <i className="fa-light fa-angles-left" aria-hidden="true" />
174
174
  </Button>