prismify-ui 0.1.0-alpha.8 → 0.1.0-alpha.9

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
@@ -6,6 +6,13 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.1.0/),
6
6
 
7
7
  ## [Unreleased]
8
8
 
9
+ ## [0.1.0-alpha.9] - 2026-04-10
10
+
11
+ ### Fixed
12
+
13
+ - **PfDrawer**: SSR-safe use of **`document`** and **`window`** (scroll lock, scale wrapper query, global listeners, deferred **`setTimeout`**) so server renders (e.g. **Nuxt**) do not throw **`ReferenceError`** or return HTTP 500 when watchers run without a DOM.
14
+ - **PfDashboardSidebarCollapse**: toggling no longer calls **`toggleCollapsed()`** (which was a no-op unless **`PfDashboardSidebar`** had **`collapsible`**); it now calls **`setCollapsed()`** so the control works with default sidebar props. Default **icon-only** styling (**`iconOnly`**, **`aria-label`**) for a square, centered icon button.
15
+
9
16
  ## [0.1.0-alpha.8] - 2026-04-10
10
17
 
11
18
  ### Fixed
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # prismify-ui v0.1.0-alpha.8
1
+ # prismify-ui v0.1.0-alpha.9
2
2
 
3
3
  [![Tests](https://github.com/koirodev/prismify-ui/actions/workflows/test.yml/badge.svg)](https://github.com/koirodev/prismify-ui/actions/workflows/test.yml) [![Build](https://github.com/koirodev/prismify-ui/actions/workflows/build.yml/badge.svg)](https://github.com/koirodev/prismify-ui/actions/workflows/build.yml)
4
4
 
@@ -11,7 +11,12 @@ type __VLS_Props = {
11
11
  icon?: PfIconName;
12
12
  label?: string;
13
13
  size?: 'xs' | 'sm' | 'md' | 'lg' | 'xl';
14
+ /** Equal padding; default `true` when using icon-only (see `iconOnly`). */
14
15
  square?: boolean;
16
+ /** Icon-only control: square aspect ratio and centered icon (default `true` when there is no `label`). */
17
+ iconOnly?: boolean;
18
+ /** Accessible name for the icon-only control (recommended). */
19
+ ariaLabel?: string;
15
20
  block?: boolean;
16
21
  loadingAuto?: boolean;
17
22
  avatar?: PfButtonAvatarProps;
@@ -50,6 +55,8 @@ declare const __VLS_component: import('vue').DefineComponent<__VLS_Props, {}, {}
50
55
  trailing: boolean;
51
56
  trailingIcon: PfIconName;
52
57
  avatar: PfButtonAvatarProps;
58
+ iconOnly: boolean;
59
+ ariaLabel: string;
53
60
  disabled: boolean;
54
61
  loadingIcon: PfIconName;
55
62
  loadingAuto: boolean;