@ekanos/ui 0.1.2 → 0.1.4

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/README.md CHANGED
@@ -33,19 +33,18 @@ One subpath per component, mirroring the `@kit/ui` names:
33
33
  | `@ekanos/ui/spinner` | `Spinner` |
34
34
  | `@ekanos/ui/ai-prompt-input` | `PromptInput` compound components for AI ask surfaces |
35
35
 
36
- Most source files are a thin `export * from '@kit/ui/<name>'` — for those,
37
- `@kit/ui` stays the single source of truth. At build time the `@kit/ui` code is
38
- inlined into `dist/` so the published artifact has no workspace dependencies
39
- (`scripts/pack-test.mjs` fails the build if any `@kit/` specifier leaks).
36
+ Most source files are a thin re-export of the internal `@kit/ui` library — for
37
+ those, `@kit/ui` stays the single source of truth. At build time that code is
38
+ inlined into `dist/` so the published artifact has no workspace dependencies;
39
+ `pnpm --filter @ekanos/ui pack:test` fails the build if any `@kit/` specifier
40
+ leaks into the tarball.
40
41
 
41
42
  Three subpaths — `if`, `trans`, and `spinner` — are instead implemented
42
- natively in `src/_impl/`. Their `@kit/ui` counterparts live in
43
- `packages/ui/src/makerkit/`, which is Makerkit-authored code from the
44
- commercial Turbo starter this monorepo was built on; publishing it under this
43
+ natively here. Their internal counterparts are Makerkit-authored code from the
44
+ commercial Turbo starter this monorepo was built on; publishing that under this
45
45
  package's MIT license would purport to grant reuse rights we do not hold. The
46
- implementations here are original, and `pack:test` fails the build if any
47
- `packages/ui/src/makerkit` source is ever inlined into `dist/`. Inside the
48
- monorepo, first-party code keeps using `@kit/ui` as before.
46
+ implementations shipped here are original, and `pack:test` fails the build if
47
+ any Makerkit-authored source is ever inlined into `dist/`.
49
48
 
50
49
  ## Styling
51
50
 
@@ -135,7 +134,7 @@ tokens, and nine of its ten elevation levels, are deliberately absent.
135
134
  The build enforces this in both directions: it re-compiles the same class
136
135
  strings against Fusion's **full** token map and fails if a component has started
137
136
  using a token this package doesn't ship (which would otherwise emit no CSS at
138
- all, silently). See `scripts/build-css.mjs`.
137
+ all, silently). The CSS build enforces it.
139
138
 
140
139
  ### Fonts
141
140
 
@@ -246,12 +245,12 @@ runtime is a declared dependency of this package.
246
245
  ## Building / verifying
247
246
 
248
247
  ```bash
249
- pnpm --filter @ekanos/ui build # tsup → dist/, then scripts/build-css.mjs → the stylesheets
250
- pnpm --filter @ekanos/ui pack:test # clean-room publish gate (see scripts/pack-test.mjs)
248
+ pnpm --filter @ekanos/ui build # tsup → dist/, then the CSS build → the stylesheets
249
+ pnpm --filter @ekanos/ui pack:test # clean-room publish gate
251
250
  ```
252
251
 
253
252
  The build runs in two stages, in this order for a reason: `tsup` bundles the
254
- components, then `scripts/build-css.mjs` scans the *built* `dist/*.js` for class
253
+ components, then the CSS build scans the *built* `dist/*.js` for class
255
254
  strings and compiles exactly those through Tailwind. Deriving the utility set
256
255
  from the build output rather than a hand-kept list is what makes it impossible
257
256
  to add a component whose classes have no CSS.