@nice2dev/ui 1.1.5 → 1.1.6

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
@@ -1,5 +1,55 @@
1
1
  # [1.0.27] — 2026-06-07
2
2
 
3
+ ## 1.1.6
4
+
5
+ ### Patch Changes
6
+
7
+ - Repair the published package surface, in answer to the OmniVerk 1.1.6 request.
8
+
9
+ **Type declarations.** `ui-3d`, `ui-graphics` and `game-engine` published zero `.d.ts` while
10
+ declaring `"types": "dist/types/index.d.ts"` — their declaration emitter was never invoked, and
11
+ rollup treats TS errors as warnings, so the build stayed green. `icons-game` had the same outcome
12
+ by a different route: `noEmit: true` in its tsconfig silently beats `tsc --emitDeclarationOnly` on
13
+ TS 5.9, so the step exited 0 and wrote nothing; it now emits declarations via `vite-plugin-dts`.
14
+ `ui-diagrams` pointed `types` and `exports["."]` at `./src/`, which `files` does not publish.
15
+ Turning the emitters on surfaced 9 real TS errors that rollup had been swallowing (`SVGResultPaths`,
16
+ framer-motion's removed `AnimationControls`, WebGPU's removed `requestAdapterInfo()`).
17
+
18
+ **Stylesheet exports.** `exports["./style.css"]` pointed at `./dist/style.css` in 28 packages while
19
+ the build emits `dist/<pkg>.css` (vite) or `dist/{cjs,esm}/nice2dev-<pkg>.css` (rollup). The public
20
+ specifier is unchanged — it just resolves now. The dead entry is removed from the nine packages that
21
+ emit no CSS at all. `ui-security` and `ui-video` authored a stylesheet that nothing imported, so it
22
+ never reached the bundle; it ships now.
23
+
24
+ **`@nice2dev/icons` subpaths.** `./rsc`, `./client`, `./design-tokens`, `./headless-ui` and
25
+ `./utilities` resolved to JavaScript the build never produced — rollup with `preserveModules` only
26
+ emits modules reachable from an entry, and none of the five was one. They are real entry points now.
27
+ Four icon packs pointed `require.types` at a `.d.cts` no build creates, and four `icons-life`
28
+ subpaths declared no `types` condition at all.
29
+
30
+ **CSS.** 47 declarations across 13 stylesheets in `@nice2dev/ui` carried an unbalanced `)` left by a
31
+ token migration in 1.0.19; two had a wrecked `linear-gradient` and were rewritten. Every emitted
32
+ stylesheet now parses under lightningcss, so Vite 8's default CSS minifier works.
33
+
34
+ **Sourcemaps.** No package publishes them any more. They referenced `src/` paths absent from the
35
+ tarball and carried no `sourcesContent`, which TypeScript does not offer for `.d.ts.map` at all.
36
+
37
+ **API (additive).** `NiceDateRangeBox` works uncontrolled — `startDate`, `endDate`, `onStartChange`
38
+ and `onEndChange` are optional, with `defaultStartDate` / `defaultEndDate`.
39
+ `NiceVocalPerformanceReport` accepts a precomputed `reports` (plus `noteCount`) instead of a live
40
+ audio session, and renders an empty state rather than `null`. `NiceKaraokeLyrics` takes optional
41
+ `song` / `currentTime` and exports its props interface.
42
+
43
+ **Release integrity.** CI now wipes `packages/*/dist` before building — the self-hosted agent's
44
+ persistent workspace meant any file that ever landed there was published forever, which is why
45
+ `ui-3d@1.1.5` shipped a declaration barrel generated a year earlier. A new gate,
46
+ `scripts/audit-package-exports.mjs`, resolves every entry point and `exports` condition against the
47
+ filesystem, checks `files[]` coverage and CSS parenthesis balance, and runs after the build and
48
+ before artifacts are uploaded.
49
+
50
+ - @nice2dev/i18n@1.1.6
51
+ - @nice2dev/ui-core@1.1.6
52
+
3
53
  ## 1.1.5
4
54
 
5
55
  ### Patch Changes