@nadicodeai/ui 9.1.1 → 9.2.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/dist/components/house-icons.d.ts +8 -0
- package/dist/components/house-icons.d.ts.map +1 -0
- package/dist/components/house-icons.js +15 -0
- package/dist/components/sidebar.js +1 -1
- package/dist/index.d.ts +1 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +1 -0
- package/dist/styles/globals.css +11 -0
- package/docs/activity.md +2 -0
- package/docs/agent-orb.md +2 -0
- package/docs/contract.md +1 -0
- package/package.json +2 -2
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
import { type LucideIcon } from "lucide-react";
|
|
2
|
+
/** The company and its doors. */
|
|
3
|
+
export declare const ArchIcon: LucideIcon;
|
|
4
|
+
/** The arch with a check: work waiting on a person. */
|
|
5
|
+
export declare const ApprovalsIcon: LucideIcon;
|
|
6
|
+
/** The orb seen face-on, the Agent as the dot on its path. */
|
|
7
|
+
export declare const AgentIcon: LucideIcon;
|
|
8
|
+
//# sourceMappingURL=house-icons.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"house-icons.d.ts","sourceRoot":"","sources":["../../src/components/house-icons.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoB,KAAK,UAAU,EAAE,MAAM,cAAc,CAAC;AAajE,iCAAiC;AACjC,eAAO,MAAM,QAAQ,EAAE,UAA8D,CAAC;AAEtF,uDAAuD;AACvD,eAAO,MAAM,aAAa,EAAE,UAG3B,CAAC;AAEF,8DAA8D;AAC9D,eAAO,MAAM,SAAS,EAAE,UAAgE,CAAC"}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
import { houseIcons } from "@nadicodeai/design-system/assets/house-icons";
|
|
2
|
+
import { createLucideIcon } from "lucide-react";
|
|
3
|
+
/*
|
|
4
|
+
* The house's own icons as Lucide components: drawn on Lucide's 24-unit grid,
|
|
5
|
+
* rendered by the same `svg.lucide` house rule, and interchangeable with any
|
|
6
|
+
* Lucide icon wherever a `LucideIcon` is expected. The geometry lives once, in
|
|
7
|
+
* `@nadicodeai/design-system/assets/house-icons`, which the static set reads too.
|
|
8
|
+
*/
|
|
9
|
+
const toNode = (node) => node.map(([element, attributes]) => [element, { ...attributes }]);
|
|
10
|
+
/** The company and its doors. */
|
|
11
|
+
export const ArchIcon = createLucideIcon("arch", toNode(houseIcons.arch));
|
|
12
|
+
/** The arch with a check: work waiting on a person. */
|
|
13
|
+
export const ApprovalsIcon = createLucideIcon("approvals", toNode(houseIcons.approvals));
|
|
14
|
+
/** The orb seen face-on, the Agent as the dot on its path. */
|
|
15
|
+
export const AgentIcon = createLucideIcon("agent", toNode(houseIcons.agent));
|
|
@@ -163,7 +163,7 @@ function SidebarMenu({ className, ...props }) {
|
|
|
163
163
|
function SidebarMenuItem({ className, ...props }) {
|
|
164
164
|
return (_jsx("li", { "data-slot": "sidebar-menu-item", "data-sidebar": "menu-item", className: cn("group/menu-item relative", className), ...props }));
|
|
165
165
|
}
|
|
166
|
-
const sidebarMenuButtonVariants = cva("nc-transition-paint peer/menu-button group/menu-button flex min-h-touch-target min-w-touch-target w-full items-center gap-2 overflow-hidden rounded-md border border-transparent p-2 text-left text-sm group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-control-height! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-active:bg-sidebar-primary data-active:font-medium data-active:text-sidebar-primary-foreground data-active:hover:bg-sidebar-primary-hover data-active:hover:text-sidebar-primary-foreground [@media(hover:hover)_and_(pointer:fine)]:min-h-0 [@media(hover:hover)_and_(pointer:fine)]:min-w-0 [&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate", {
|
|
166
|
+
const sidebarMenuButtonVariants = cva("nc-transition-paint peer/menu-button group/menu-button flex min-h-touch-target min-w-touch-target w-full items-center gap-2 overflow-hidden rounded-md border border-transparent p-2 text-left text-sm group-has-data-[sidebar=menu-action]/menu-item:pr-8 group-data-[collapsible=icon]:size-control-height! group-data-[collapsible=icon]:p-2! hover:bg-sidebar-accent hover:text-sidebar-accent-foreground active:bg-sidebar-accent active:text-sidebar-accent-foreground disabled:pointer-events-none disabled:opacity-50 aria-disabled:pointer-events-none aria-disabled:opacity-50 data-open:hover:bg-sidebar-accent data-open:hover:text-sidebar-accent-foreground data-active:bg-sidebar-primary data-active:font-medium data-active:text-sidebar-primary-foreground data-active:hover:bg-sidebar-primary-hover data-active:hover:text-sidebar-primary-foreground [@media(hover:hover)_and_(pointer:fine)]:min-h-0 [@media(hover:hover)_and_(pointer:fine)]:min-w-0 [&_svg]:size-5 group-data-[collapsible=icon]:[&_svg]:size-4 [&_svg]:shrink-0 [&>span:last-child]:truncate", {
|
|
167
167
|
variants: {
|
|
168
168
|
variant: {
|
|
169
169
|
default: "hover:bg-sidebar-accent hover:text-sidebar-accent-foreground",
|
package/dist/index.d.ts
CHANGED
|
@@ -73,6 +73,7 @@ export * from "./components/glyph-spinner.js";
|
|
|
73
73
|
export * from "./components/handoff-banner.js";
|
|
74
74
|
export * from "./components/hero.js";
|
|
75
75
|
export * from "./components/hero-split.js";
|
|
76
|
+
export * from "./components/house-icons.js";
|
|
76
77
|
export * from "./components/hover-card.js";
|
|
77
78
|
export * from "./components/input.js";
|
|
78
79
|
export * from "./components/input-group.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,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;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,wBAAwB,CAAC;AACvC,cAAc,yBAAyB,CAAC;AACxC,cAAc,yBAAyB,CAAC;AACxC,cAAc,oBAAoB,CAAC;AACnC,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC;AACzC,cAAc,+BAA+B,CAAC;AAC9C,cAAc,mBAAmB,CAAC;AAClC,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,kCAAkC,CAAC;AACjD,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,6BAA6B,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -73,6 +73,7 @@ export * from "./components/glyph-spinner.js";
|
|
|
73
73
|
export * from "./components/handoff-banner.js";
|
|
74
74
|
export * from "./components/hero.js";
|
|
75
75
|
export * from "./components/hero-split.js";
|
|
76
|
+
export * from "./components/house-icons.js";
|
|
76
77
|
export * from "./components/hover-card.js";
|
|
77
78
|
export * from "./components/input.js";
|
|
78
79
|
export * from "./components/input-group.js";
|
package/dist/styles/globals.css
CHANGED
|
@@ -71,10 +71,21 @@
|
|
|
71
71
|
* lucide-react supplies glyph geometry; the shared house render owns only
|
|
72
72
|
* presentation. Keep this in the package stylesheet so every React consumer
|
|
73
73
|
* matches the generated static SVG set without per-component stroke props.
|
|
74
|
+
* The line is measured on screen: the non-scaling stroke keeps it at
|
|
75
|
+
* --nc-icon-stroke whatever size the icon is drawn at, and a 12px icon takes
|
|
76
|
+
* the lighter --nc-icon-stroke-sm.
|
|
74
77
|
*/
|
|
75
78
|
svg.lucide {
|
|
76
79
|
stroke-width: var(--nc-icon-stroke);
|
|
77
80
|
stroke-linecap: round;
|
|
78
81
|
stroke-linejoin: round;
|
|
79
82
|
}
|
|
83
|
+
|
|
84
|
+
svg.lucide :is(path, circle, ellipse, line, polyline, polygon, rect) {
|
|
85
|
+
vector-effect: non-scaling-stroke;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
svg.lucide:is([width="12"], .size-3) {
|
|
89
|
+
stroke-width: var(--nc-icon-stroke-sm);
|
|
90
|
+
}
|
|
80
91
|
}
|
package/docs/activity.md
CHANGED
|
@@ -1,5 +1,7 @@
|
|
|
1
1
|
# System activity
|
|
2
2
|
|
|
3
|
+
**Target state** ([the nadicode design system ADR](../../../docs/adr/2026-09-23-the-nadicode-design-system.md), #2261): this family retires. Who does the work decides how it looks: an Agent's work shows that Agent's orb and a sentence; Nadia connecting is her ribbon, working; system work under about a second is a still pending label on the control; beyond a second one 2 px ink waiting line moves linearly on the `wait` token; measurable work is a progress line with a written count; page loads show still placeholders. An orb means an Agent, so an orb for system work is the confusion this change removes. Until #2261, #2262 and #2263 land, this page describes what is built.
|
|
4
|
+
|
|
3
5
|
The system activity family has three motions. They describe ongoing system
|
|
4
6
|
operations across the website, Portal and Nadia. They do not represent an
|
|
5
7
|
Agent's identity, attention or personality. The separate [AgentOrb](agent-orb.md)
|
package/docs/agent-orb.md
CHANGED
|
@@ -16,6 +16,8 @@ uploads in Nadia is theirs, not an identity this package draws.
|
|
|
16
16
|
| `braid` | Interwoven strands | `weaving` |
|
|
17
17
|
| `morph` | Changing geometric contour | `shaping` |
|
|
18
18
|
|
|
19
|
+
**Target state** ([the nadicode design system ADR](../../../docs/adr/2026-09-23-the-nadicode-design-system.md)): an idle orb holds still and every surface passes the Agent's real state, so only a working Agent moves (#2260); under reduced motion a thinking or working orb breathes in opacity instead of freezing (#2260); the colours a person may choose are cobalto, verde and arancio beside the inherited default, and a stored rosso draws arancio, because rosso equals the error red (#2269). Until those land, the rest of this page describes what is built.
|
|
20
|
+
|
|
19
21
|
## Nadia
|
|
20
22
|
|
|
21
23
|
`form="nadia"` is the ribbon striped along its whole length, across its width:
|
package/docs/contract.md
CHANGED
|
@@ -181,6 +181,7 @@ product-domain `agent` object prop in the shared package.
|
|
|
181
181
|
- **Brand renderers live here for React consumers.** Logo geometry, asset generation, and usage semantics are owned by [`packages/design-system/DESIGN.md`, "Brand media authority"](../../design-system/DESIGN.md#brand-media-authority). `BrandLockup` supplies the approved horizontal lockup. `BrandMark` serves tight spaces and `BrandWordmark` serves placements where the name must read by itself. All three render the package's public neutral geometry seam with React-scoped SVG ids, dynamic theme paint, and accessible names. Consuming routes use these adapters; they never import raw logo assets, draw brand SVG inline, mask or recolor assets, or create another lockup rule.
|
|
182
182
|
- **Third-party brand marks are generated, never hand-drawn and never hand-edited.** Other companies' marks live in `packages/ui/src/components/brand-icons/`, emitted from an explicit allow-list by `packages/ui/scripts/build-brand-icons.mjs` and exported through the `@nadicodeai/ui/components/brand-icons` subpath. They are identity images, not UI icons: a brand mark is exempt from the currentColor stroke system and from the raw-literal rule, it never stands in for a UI icon, and a UI icon never stands in for a brand. Marks drawn as one silhouette are stripped to `currentColor` by the generator; every other mark keeps its official colors verbatim. To add a brand, edit the generator's allow-list and run `npm run generate:brand-icons -w @nadicodeai/ui`; hand edits to the generated directory are lost and `packages/ui/tests/guards/brand-icons-codegen.test.ts` fails on them. Use is nominative only — naming a platform, an integration, or a provider — never adjacent to endorsement or partnership wording; that nominative posture is the licensing and trademark position, so a mark never appears where the copy implies endorsement.
|
|
183
183
|
The one script reads platform and app marks from the Iconify `logos` set (CC0-1.0), model identities from the LobeHub icon set (MIT, `@lobehub/icons-static-svg`), and a small reviewed supplemental set from the official or OpenRouter-published source recorded beside each input. Raster supplements are embedded into generated SVG components, so a consumer never fetches a logo at runtime. The emitted components carry no icon-data runtime dependency. The artwork itself does ship, so every upstream travels with its applicable licence or provenance notice in `LICENSES/` and `NOTICE`, and `tests/guards/brand-icons-codegen.test.ts` holds the allow-list to that: a new source cannot ship unattributed.
|
|
184
|
+
- **The house's own icons are Lucide components.** `@nadicodeai/ui/components/house-icons` exports `ArchIcon`, `ApprovalsIcon` and `AgentIcon`, built with lucide-react's `createLucideIcon` from the one geometry in `@nadicodeai/design-system/assets/house-icons`, so they take the `svg.lucide` house render and fit any `LucideIcon` slot. They name the company and its doors, work waiting on a person, and an Agent; a Lucide glyph never stands in for them. The render itself, a 1.5 px line held on screen and 1.25 px at 12 px, is `DESIGN.md` "Iconography".
|
|
184
185
|
- **No fake proof APIs.** Components may support future testimonials, logos, stats, and proof slots, but they must render nothing public when the proof is absent. Do not ship placeholder customer names, metrics, or logos.
|
|
185
186
|
|
|
186
187
|
### Model identity
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nadicodeai/ui",
|
|
3
|
-
"version": "9.
|
|
3
|
+
"version": "9.2.1",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"publishConfig": {
|
|
6
6
|
"access": "public"
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
"@assistant-ui/react": "0.15.21",
|
|
71
71
|
"@assistant-ui/react-markdown": "0.14.16",
|
|
72
72
|
"@base-ui/react": "^1.8.0",
|
|
73
|
-
"@nadicodeai/design-system": "9.
|
|
73
|
+
"@nadicodeai/design-system": "9.2.1",
|
|
74
74
|
"class-variance-authority": "^0.7.1",
|
|
75
75
|
"clsx": "^2.1.1",
|
|
76
76
|
"cmdk": "^1.1.1",
|