prismify-ui 0.1.0-alpha.1 → 0.1.0-alpha.11

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,7 +6,68 @@ 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.1] - 2026-04-09
9
+ ## [0.1.0-alpha.11] - 2026-04-10
10
+
11
+ ### Fixed
12
+
13
+ - **Lint / Nuxt module files**: ESLint no longer fails on root Nuxt entry files by covering **`nuxt.ts`** in the lint TypeScript project, ignoring **`nuxt.d.ts`** for typed parsing, and aligning formatting in **`nuxt.ts`**.
14
+
15
+ - **Theme color tokens**: removed hardcoded and fallback color values from shared style variables and component shadows so surfaces, borders, text, focus ring, and elevation now consistently resolve through **`src/styles/variables/_colors.scss`** tokens (updated **`_toast.scss`**, **`_contextMenu.scss`**, **`_tooltip.scss`**, **`_effects.scss`**, **`_navigationMenu.scss`**, **`_tabs.scss`**, and **`PfSwitch`** styles).
16
+
17
+ ## [0.1.0-alpha.10] - 2026-04-10
18
+
19
+ ### Added
20
+
21
+ - **Playground**: added a dashboard shell in **`playground/App.vue`** (group, sidebar, panel, navbar) for local dashboard behavior checks outside Storybook.
22
+ - **Nuxt module**: added **`prismify-ui/nuxt`** for direct Nuxt integration with:
23
+ - automatic **`Pf*`** component registration,
24
+ - composable auto-imports (**`usePfApp`**, **`usePfToast`**, **`usePfContentSearch`**, **`usePfKbd`**),
25
+ - automatic **`prismify-ui/style.css`** injection,
26
+ - optional plugin install via **`prismifyUI.plugin`**.
27
+ - **Nuxt entry export** in **`package.json`** (**`./nuxt`**) and Nuxt module typing via **`nuxt.d.ts`**.
28
+ - **`docs/installation.md`**: Nuxt 4 setup now documents module-based integration and module options.
29
+
30
+ ### Fixed
31
+
32
+ - **PfDashboardSidebar**: restoring from persisted state now clamps invalid sizes and preserves expanded width while collapsed, so sidebars can be collapsed and expanded reliably.
33
+ - **PfDashboardSidebarCollapse**: reads sidebar API at interaction time instead of caching a non-reactive lookup, so collapse/expand toggling stays functional after mount timing changes.
34
+ - **PfDashboardResizeHandle**: improved desktop handle visibility with an explicit visual divider while keeping a wider pointer hit area for resizing.
35
+
36
+ ## [0.1.0-alpha.9] - 2026-04-10
37
+
38
+ ### Fixed
39
+
40
+ - **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.
41
+ - **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.
42
+
43
+ ## [0.1.0-alpha.8] - 2026-04-10
44
+
45
+ ### Fixed
46
+
47
+ - **PfDashboardSidebar**: template used an invalid tag (**`div-d-c`**) where a **`div`** was intended.
48
+ - **PfDashboardSidebar**: removed stray text (**`-m-d -t-s`**) accidentally left in the markup.
49
+
50
+ ## [0.1.0-alpha.7] - 2026-04-10
51
+
52
+ ### Fixed
53
+
54
+ - **PfInput**, **PfTextarea**, **PfPinInput**: WebKit autofill text color (**`-webkit-text-fill-color`**) now uses **`var(--pf-input-text)`** so filled fields match the themed input text token (instead of **`--input-color`**).
55
+
56
+ ## [0.1.0-alpha.6] - 2026-04-10
57
+
58
+ ### Fixed
59
+
60
+ - **PfInput**, **PfTextarea**, **PfPinInput**: **WebKit** autofill (**`:-webkit-autofill`**) no longer shows the default yellow highlight: **`box-shadow`** cleared, backgrounds set to transparent, text color follows **`var(--input-color)`** via **`-webkit-text-fill-color`**, and a long **`background-color`** **transition** keeps Chrome from repainting the autofill background over the themed field.
61
+
62
+ ## [0.1.0-alpha.5] - 2026-04-09
63
+
64
+ ### Changed
65
+
66
+ - **Peer dependency** **`vue-router`** raised from **^4** to **^5** (install **Vue Router 5** if you use **`PfLink`** or other router-aware components). The APIs used in the library (**`RouterLink`**, **`useRouter`**, **`useRoute`**, route location types) stay compatible with Vue Router 5; no source changes were required in **prismify-ui**.
67
+ - **Dev dependency** **`vue-router`** updated to **^5.0.4** for tests, Storybook, and the playground.
68
+ - **`docs/installation.md`**: peer table documents **`vue-router` ^5**.
69
+
70
+ ## [0.1.0-alpha.4] - 2026-04-09
10
71
 
11
72
  ### Added
12
73
 
package/README.md CHANGED
@@ -1,4 +1,4 @@
1
- # prismify-ui v0.1.0-alpha.1
1
+ # prismify-ui v0.1.0-alpha.11
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;