@ekanos/ui 0.1.2 → 0.1.3

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/dist/tokens.css CHANGED
@@ -10,7 +10,7 @@
10
10
  * compiled `dist/styles.css`:
11
11
  *
12
12
  * • `dist/styles.css` is a CLOSED artifact — it can only ever style the
13
- * components this package ships, so `scripts/build-css.mjs` compiles it
13
+ * components this package ships, so the CSS build compiles it
14
14
  * against the components' class strings and Tailwind prunes every token no
15
15
  * component uses. It stays minimal automatically.
16
16
  *
@@ -18,23 +18,23 @@
18
18
  * PARTNER authoring their OWN Fusion-styled widgets against `@ekanos/ui`
19
19
  * (this is exactly what `ekanos dev` scaffolds). A partner writing an
20
20
  * ordinary `bg-chart-1`, `text-info`, `bg-sidebar` or `shadow-widget` has
21
- * no `packages/ui` and no `apps/web/styles` to fall back on — this preset
21
+ * no internal Fusion stylesheet to fall back on — this preset
22
22
  * is their ONLY channel to Fusion's tokens. Scoping it to what THIS
23
23
  * package's components use would leave those utilities resolving to
24
24
  * nothing in a partner project, with no error. So the preset carries the
25
25
  * whole semantic set: surfaces, brand, status, chart, sidebar, assistant,
26
26
  * info, the full elevation scale, radius and fonts.
27
27
  *
28
- * The drift gate in `scripts/build-css.mjs` enforces a FLOOR, not a ceiling:
28
+ * The drift gate in the CSS build enforces a FLOOR, not a ceiling:
29
29
  * its COVERAGE check fails the build if a component uses a Fusion token this
30
30
  * file does NOT define; it never objects to this file defining MORE. So a
31
31
  * superset is safe, and the compiled `styles.css` above still prunes back to
32
32
  * exactly what the components use.
33
33
  *
34
- * Values are a verbatim copy of Fusion's canonical `apps/web/styles/
35
- * shadcn-ui.css`. This file (a published npm subpath) plus `packages/ui` are
36
- * the two supported ways to consume those tokens; `apps/harness` imports THIS
37
- * one via `@ekanos/ui/theme.css` rather than forking the values again.
34
+ * Values are a verbatim copy of Fusion's canonical token sheet. This file
35
+ * (a published npm subpath) is the supported way to consume those tokens
36
+ * outside the monorepo; `@ekanos/harness` imports it via
37
+ * `@ekanos/ui/theme.css` rather than forking the values again.
38
38
  *
39
39
  * Still NOT shipped, because they are not part of the semantic utility
40
40
  * surface: `--assistant*` beyond the two aliases below stays out, and no icon
@@ -50,7 +50,7 @@
50
50
  *
51
51
  * The dark declarations are written out twice on purpose: CSS has no way to
52
52
  * share one declaration block between a media query and a plain selector.
53
- * `scripts/build-css.mjs` asserts the two dark blocks declare the same
53
+ * The CSS build asserts the two dark blocks declare the same
54
54
  * tokens with the same values.
55
55
  */
56
56
 
@@ -302,7 +302,7 @@
302
302
  }
303
303
 
304
304
  /* ── State 3: explicit dark. Same declarations as the media block above —
305
- kept in lockstep by scripts/build-css.mjs. ── */
305
+ kept in lockstep by the CSS build. ── */
306
306
  .dark,
307
307
  [data-theme='dark'] {
308
308
  --background: oklch(0.155 0.002 30);
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@ekanos/ui",
3
- "version": "0.1.2",
3
+ "version": "0.1.3",
4
4
  "type": "module",
5
5
  "description": "Fusion-styled UI primitives for building Ekanos integrations outside the monorepo. A curated, published slice of the internal @kit/ui library.",
6
6
  "license": "MIT",
@@ -109,14 +109,14 @@
109
109
  "dependencies": {
110
110
  "@base-ui/react": "1.6.0",
111
111
  "@types/json-schema": "^7.0.15",
112
- "ai": "^6.0.197",
112
+ "ai": "^6.0.272",
113
113
  "class-variance-authority": "^0.7.1",
114
114
  "clsx": "^2.1.1",
115
115
  "cmdk": "1.1.1",
116
- "i18next": "25.7.2",
117
- "nanoid": "^5.1.11",
118
- "react-i18next": "^16.5.0",
119
- "tailwind-merge": "^3.4.0"
116
+ "i18next": "^25.10.10",
117
+ "nanoid": "^5.1.16",
118
+ "react-i18next": "^16.6.6",
119
+ "tailwind-merge": "^3.6.0"
120
120
  },
121
121
  "peerDependencies": {
122
122
  "@hookform/resolvers": "^5.2.2",
@@ -125,20 +125,20 @@
125
125
  "react-hook-form": "^7.68.0"
126
126
  },
127
127
  "devDependencies": {
128
- "@hookform/resolvers": "^5.2.2",
128
+ "@hookform/resolvers": "^5.9.1",
129
+ "@kit/eslint-config": "0.2.0",
130
+ "@kit/prettier-config": "0.1.0",
131
+ "@kit/tsconfig": "0.1.0",
132
+ "@kit/ui": "0.1.0",
129
133
  "@types/react": "19.2.18",
130
- "@types/react-dom": "19.2.4",
134
+ "@types/react-dom": "19.2.5",
131
135
  "react": "19.2.8",
132
136
  "react-dom": "19.2.8",
133
- "react-hook-form": "^7.68.0",
137
+ "react-hook-form": "^7.87.0",
134
138
  "tailwindcss": "4.3.3",
135
139
  "tsup": "8.5.1",
136
140
  "typescript": "^5.9.3",
137
- "vitest": "4.1.10",
138
- "@kit/eslint-config": "0.2.0",
139
- "@kit/tsconfig": "0.1.0",
140
- "@kit/prettier-config": "0.1.0",
141
- "@kit/ui": "0.1.0"
141
+ "vitest": "4.1.10"
142
142
  },
143
143
  "prettier": "@kit/prettier-config",
144
144
  "typesVersions": {