zz-meridian 0.37.0 → 0.37.1

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zz-meridian",
3
- "version": "0.37.0",
3
+ "version": "0.37.1",
4
4
  "description": "Bring ZZ Meridian, a dashboard design system, into a Next.js project, or start a new dashboard on it. Copies the files in; nothing depends on this package at runtime.",
5
5
  "license": "MIT",
6
6
  "type": "module",
@@ -2,6 +2,12 @@
2
2
 
3
3
  Every release of ZZ Meridian, newest first. Versions follow semver: a removed or renamed token, prop or card is major; a new card, token or variant is minor; a corrected value is a patch. Each entry says what breaks and what to do instead.
4
4
 
5
+ ## [0.37.1] · 2026-11-01
6
+
7
+ ### Fixed
8
+
9
+ - **The rail adds no first-load script to every route** (#122). A branch's toggle drew a `ChevronRight` of its own, and in an adopted project's module graph that one icon split the menu icons into a first-load chunk of their own: one more request on every route, about 0.3 s more LCP on a page that paints its text on hydration. The toggle is now the `ChevronDown` the rail already draws, turned a quarter while the branch is closed.
10
+
5
11
  ## [0.37.0] · 2026-11-01
6
12
 
7
13
  ### Breaking
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "zz-meridian-template",
3
- "version": "0.37.0",
3
+ "version": "0.37.1",
4
4
  "private": true,
5
5
  "license": "MIT",
6
6
  "description": "ZZ Meridian: a dashboard design system and starter. Six layers, from DTCG tokens through four layers of React components to product workspaces, and a Design Atlas, in a light and a dark theme.",
@@ -4,7 +4,7 @@ import Link, { useLinkStatus } from 'next/link';
4
4
  import { usePathname, useRouter } from 'next/navigation';
5
5
  import { useLeave } from '@/components/base/shell';
6
6
  import { useEffect, useId, useRef, useState } from 'react';
7
- import { Check, ChevronDown, ChevronRight, ChevronsUpDown, LogOut, Settings } from 'lucide-react';
7
+ import { Check, ChevronDown, ChevronsUpDown, LogOut, Settings } from 'lucide-react';
8
8
  import { app, type NavGroup } from '@/app.config';
9
9
  import { cn } from '@/lib/cn';
10
10
  import { AppMark } from '@/components/base/app-mark';
@@ -263,8 +263,10 @@ export function Rail({
263
263
  onClick={() => toggle(it.href)}
264
264
  className="relative col-start-1 row-start-1 mr-1 grid size-7 place-items-center self-center justify-self-end rounded-md text-ink-3 transition-colors duration-(--dur-hover) hover:bg-fill-hover hover:text-ink pointer-coarse:size-11"
265
265
  >
266
- {/* One chevron that turns, never swapped: the same element keeps the button's focus ring and the turn animates. */}
267
- <ChevronRight className={cn('size-4 transition-transform duration-(--dur-hover)', isOpen && 'rotate-90')} strokeWidth={1.75} />
266
+ {/* One chevron that turns, never swapped: the same element keeps the button's focus ring and the turn animates.
267
+ It is the shell's own ChevronDown turned a quarter: a ChevronRight of its own split the menu icons into
268
+ a first-load chunk of their own on every route of an adopted project (issue 122). */}
269
+ <ChevronDown className={cn('size-4 transition-transform duration-(--dur-hover)', !isOpen && '-rotate-90')} strokeWidth={1.75} />
268
270
  </button>
269
271
  </div>
270
272
  {isOpen ? (