@nadicodeai/ui 12.1.211 → 12.1.213
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/activity-feed.d.ts +1 -1
- package/dist/components/activity-feed.js +1 -1
- package/dist/components/chart-card.d.ts +4 -2
- package/dist/components/chart-card.d.ts.map +1 -1
- package/dist/components/chart-card.js +3 -3
- package/dist/components/collection-toolbar.d.ts +5 -4
- package/dist/components/collection-toolbar.d.ts.map +1 -1
- package/dist/components/collection-toolbar.js +9 -5
- package/dist/components/data-table.d.ts +1 -1
- package/dist/components/data-table.d.ts.map +1 -1
- package/dist/components/data-table.js +42 -3
- package/dist/components/filter-toolbar.d.ts +1 -1
- package/dist/components/filter-toolbar.js +1 -1
- package/dist/components/invite-card.js +1 -1
- package/dist/components/item.d.ts +1 -1
- package/dist/components/item.js +2 -2
- package/dist/components/kpi-card.d.ts +5 -3
- package/dist/components/kpi-card.d.ts.map +1 -1
- package/dist/components/kpi-card.js +9 -5
- package/dist/components/object-page.d.ts +8 -2
- package/dist/components/object-page.d.ts.map +1 -1
- package/dist/components/object-page.js +7 -2
- package/dist/components/page-header.d.ts +4 -3
- package/dist/components/page-header.d.ts.map +1 -1
- package/dist/components/page-header.js +5 -4
- package/dist/components/pending-label.d.ts +1 -1
- package/dist/components/pending-label.d.ts.map +1 -1
- package/dist/components/pending-label.js +4 -6
- package/dist/components/product-shell.d.ts +3 -1
- package/dist/components/product-shell.d.ts.map +1 -1
- package/dist/components/product-shell.js +75 -7
- package/dist/components/record-list.js +1 -1
- package/dist/components/settings-section.d.ts +1 -1
- package/dist/components/settings-section.js +2 -2
- package/dist/components/sidebar.js +2 -2
- package/dist/components/table-layouts.d.ts +27 -0
- package/dist/components/table-layouts.d.ts.map +1 -1
- package/dist/components/table-layouts.js +30 -0
- package/dist/components/update-card.js +1 -1
- package/dist/internal/table-compact-line.d.ts +1 -7
- package/dist/internal/table-compact-line.d.ts.map +1 -1
- package/dist/internal/table-compact-line.js +5 -11
- package/dist/showcase/usage.generated.d.ts.map +1 -1
- package/dist/showcase/usage.generated.js +13 -13
- package/dist/styles/components.css +26 -0
- package/dist/styles/globals.css +0 -5
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-layouts.d.ts","sourceRoot":"","sources":["../../src/components/table-layouts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"table-layouts.d.ts","sourceRoot":"","sources":["../../src/components/table-layouts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8GtB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,MAAM,OAAO,mBAAmB,CAAC;AAkBlE;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,GAAG,kBAAkB,CAG3F"}
|
|
@@ -17,6 +17,33 @@ export const tableCompactLayouts = {
|
|
|
17
17
|
wideOnly: "hidden @3xl/table:contents",
|
|
18
18
|
table: "@max-3xl/table:table-auto @max-3xl/table:[&_td]:whitespace-normal @max-3xl/table:[&_th:not(:first-child):not([data-identity])]:w-px",
|
|
19
19
|
},
|
|
20
|
+
ample: {
|
|
21
|
+
width: 832,
|
|
22
|
+
column: "hidden @min-[52rem]/table:table-cell",
|
|
23
|
+
track: "hidden @min-[52rem]/table:table-column",
|
|
24
|
+
row: "@max-[52rem]/table:[&>td]:border-b-0 @max-[52rem]/table:[&>td]:after:hidden @max-[52rem]/table:h-auto! @max-[52rem]/table:[&>td]:pb-1!",
|
|
25
|
+
details: "@min-[52rem]/table:hidden",
|
|
26
|
+
wideOnly: "hidden @min-[52rem]/table:contents",
|
|
27
|
+
table: "@max-[52rem]/table:table-auto @max-[52rem]/table:[&_td]:whitespace-normal @max-[52rem]/table:[&_th:not(:first-child):not([data-identity])]:w-px",
|
|
28
|
+
},
|
|
29
|
+
large: {
|
|
30
|
+
width: 896,
|
|
31
|
+
column: "hidden @4xl/table:table-cell",
|
|
32
|
+
track: "hidden @4xl/table:table-column",
|
|
33
|
+
row: "@max-4xl/table:[&>td]:border-b-0 @max-4xl/table:[&>td]:after:hidden @max-4xl/table:h-auto! @max-4xl/table:[&>td]:pb-1!",
|
|
34
|
+
details: "@4xl/table:hidden",
|
|
35
|
+
wideOnly: "hidden @4xl/table:contents",
|
|
36
|
+
table: "@max-4xl/table:table-auto @max-4xl/table:[&_td]:whitespace-normal @max-4xl/table:[&_th:not(:first-child):not([data-identity])]:w-px",
|
|
37
|
+
},
|
|
38
|
+
generous: {
|
|
39
|
+
width: 960,
|
|
40
|
+
column: "hidden @min-[60rem]/table:table-cell",
|
|
41
|
+
track: "hidden @min-[60rem]/table:table-column",
|
|
42
|
+
row: "@max-[60rem]/table:[&>td]:border-b-0 @max-[60rem]/table:[&>td]:after:hidden @max-[60rem]/table:h-auto! @max-[60rem]/table:[&>td]:pb-1!",
|
|
43
|
+
details: "@min-[60rem]/table:hidden",
|
|
44
|
+
wideOnly: "hidden @min-[60rem]/table:contents",
|
|
45
|
+
table: "@max-[60rem]/table:table-auto @max-[60rem]/table:[&_td]:whitespace-normal @max-[60rem]/table:[&_th:not(:first-child):not([data-identity])]:w-px",
|
|
46
|
+
},
|
|
20
47
|
wide: {
|
|
21
48
|
width: 1024,
|
|
22
49
|
column: "hidden @5xl/table:table-cell",
|
|
@@ -77,6 +104,9 @@ const UNSIZED_COLUMN_FLOOR = 160;
|
|
|
77
104
|
const NARROWEST_FIRST = [
|
|
78
105
|
"tight",
|
|
79
106
|
"standard",
|
|
107
|
+
"ample",
|
|
108
|
+
"large",
|
|
109
|
+
"generous",
|
|
80
110
|
"wide",
|
|
81
111
|
"roomy",
|
|
82
112
|
"spacious",
|
|
@@ -27,7 +27,7 @@ function useRestartFirst(command, restart) {
|
|
|
27
27
|
return Promise.resolve(null);
|
|
28
28
|
},
|
|
29
29
|
});
|
|
30
|
-
return { command: { ...asked, disabled: command.disabled }, dialog };
|
|
30
|
+
return { command: { ...asked, icon: command.icon, disabled: command.disabled }, dialog };
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* The update offer at the foot of a desktop app's sidebar, above the account.
|
|
@@ -9,14 +9,8 @@ export type TableDetailFact = {
|
|
|
9
9
|
/** The value stands beside the record's name instead, which ends in an ellipsis before it: a status. */
|
|
10
10
|
besideName?: boolean;
|
|
11
11
|
};
|
|
12
|
-
export declare const detailFactsLine = "**:data-[slot=tag]:align-middle [&_[data-slot=detail-fact]>:is(div,p,.block,.grid,.flex)]:inline";
|
|
12
|
+
export declare const detailFactsLine = "**:data-[slot=tag]:align-middle **:data-[slot=status-badge]:align-middle [&_[data-slot=detail-fact]>:is(div,p,.block,.grid,.flex)]:inline";
|
|
13
13
|
export declare const detailFactsWrap = "[&_:not(.sr-only,[data-slot=badge],[data-slot=badge]_*)]:whitespace-normal";
|
|
14
|
-
/**
|
|
15
|
-
* The facts joined by a middle dot. On one line each fact after the first opens with its dot. A line
|
|
16
|
-
* that wraps gives every fact its dot in a 10 px box and shifts the line 10 px back under a clip, so
|
|
17
|
-
* the dot of whichever fact opens a line, the first included, falls outside it: no line starts with
|
|
18
|
-
* a dot.
|
|
19
|
-
*/
|
|
20
14
|
export declare function DetailFacts({ facts, wraps, }: {
|
|
21
15
|
facts: readonly TableDetailFact[];
|
|
22
16
|
wraps?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-compact-line.d.ts","sourceRoot":"","sources":["../../src/internal/table-compact-line.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAuB,KAAK,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAG1F,MAAM,MAAM,eAA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;AAED,2KAA2K;AAC3K,wBAAgB,qBAAqB,6BAkBpC;AAED;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;AAEzD,KAAK,uBAAuB,GAAG;IAAE,MAAM,EAAE,kBAAkB,CAAC;IAAC,KAAK,EAAE,WAAW,CAAA;CAAE,CAAC;AAMlF;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,MAAM,EACN,KAAK,EACL,QAAQ,GACT,EAAE,uBAAuB,GAAG;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,qBAGzD;AAwDD,oEAAoE;AACpE,wBAAgB,QAAQ,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,4BAenE;AAED,gDAAgD;AAChD,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,4BAetE"}
|
|
@@ -3,19 +3,13 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { tableCompactLayouts } from "../components/table-layouts.js";
|
|
5
5
|
import { cn } from "../lib/utils.js";
|
|
6
|
-
export const detailFactsLine = "**:data-[slot=tag]:align-middle [&_[data-slot=detail-fact]>:is(div,p,.block,.grid,.flex)]:inline";
|
|
6
|
+
export const detailFactsLine = "**:data-[slot=tag]:align-middle **:data-[slot=status-badge]:align-middle [&_[data-slot=detail-fact]>:is(div,p,.block,.grid,.flex)]:inline";
|
|
7
7
|
export const detailFactsWrap = "[&_:not(.sr-only,[data-slot=badge],[data-slot=badge]_*)]:whitespace-normal";
|
|
8
|
-
/**
|
|
9
|
-
* The facts joined by a middle dot. On one line each fact after the first opens with its dot. A line
|
|
10
|
-
* that wraps gives every fact its dot in a 10 px box and shifts the line 10 px back under a clip, so
|
|
11
|
-
* the dot of whichever fact opens a line, the first included, falls outside it: no line starts with
|
|
12
|
-
* a dot.
|
|
13
|
-
*/
|
|
14
8
|
export function DetailFacts({ facts, wraps = false, }) {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
return (_jsx("span", { className: "block overflow-
|
|
9
|
+
if (!wraps) {
|
|
10
|
+
return facts.map((fact, index) => (_jsxs(React.Fragment, { children: [index > 0 ? " " : null, _jsxs("span", { "data-slot": "detail-fact", children: [index > 0 ? _jsx("span", { "aria-hidden": "true", children: "\u00B7 " }) : null, _jsxs("span", { className: "sr-only", children: [fact.label, ": "] }), fact.value] })] }, fact.id)));
|
|
11
|
+
}
|
|
12
|
+
return (_jsx("span", { className: "block overflow-x-clip", "data-slot": "detail-facts-clip", children: _jsx("span", { className: "-ms-3 flex flex-wrap items-baseline", children: facts.map((fact, index) => (_jsxs("span", { className: "ms-3 flex min-w-0 items-baseline", "data-slot": "detail-fact", children: [index > 0 ? (_jsx("span", { "aria-hidden": "true", className: "-ms-3 w-3 shrink-0 text-center", children: "\u00B7" })) : null, _jsxs("span", { className: "sr-only", children: [fact.label, ": "] }), _jsx("span", { className: "min-w-0", children: fact.value })] }, fact.id))) }) }));
|
|
19
13
|
}
|
|
20
14
|
const TableCompactLineContext = React.createContext(null);
|
|
21
15
|
export function TableCompactLine({ children, ...value }) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"usage.generated.d.ts","sourceRoot":"","sources":["../../src/showcase/usage.generated.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,SAAS,GACjB,cAAc,GACd,kBAAkB,GAClB,YAAY,GACZ,aAAa,GACb,eAAe,GACf,mBAAmB,GACnB,gBAAgB,GAChB,mBAAmB,GACnB,eAAe,GACf,kBAAkB,GAClB,aAAa,GACb,WAAW,GACX,cAAc,GACd,YAAY,GACZ,eAAe,GACf,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,cAAc,GACd,YAAY,GACZ,eAAe,GACf,c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,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,SAAS,WAAW,EAYhD,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,SAAS,cAAc,
|
|
1
|
+
{"version":3,"file":"usage.generated.d.ts","sourceRoot":"","sources":["../../src/showcase/usage.generated.ts"],"names":[],"mappings":"AAGA,MAAM,MAAM,SAAS,GACjB,cAAc,GACd,kBAAkB,GAClB,YAAY,GACZ,aAAa,GACb,eAAe,GACf,mBAAmB,GACnB,gBAAgB,GAChB,mBAAmB,GACnB,eAAe,GACf,kBAAkB,GAClB,aAAa,GACb,WAAW,GACX,cAAc,GACd,YAAY,GACZ,eAAe,GACf,YAAY,GACZ,YAAY,GACZ,YAAY,GACZ,cAAc,GACd,YAAY,GACZ,eAAe,GACf,cAAc,GACd,WAAW,GACX,YAAY,GACZ,UAAU,GACV,aAAa,GACb,YAAY,GACZ,aAAa,GACb,aAAa,GACb,cAAc,GACd,iBAAiB,GACjB,WAAW,GACX,gBAAgB,GAChB,QAAQ,GACR,aAAa,GACb,YAAY,GACZ,gBAAgB,GAChB,YAAY,GACZ,gBAAgB,GAChB,aAAa,GACb,gBAAgB,GAChB,mBAAmB,GACnB,UAAU,GACV,gBAAgB,GAChB,kBAAkB,GAClB,OAAO,GACP,MAAM,GACN,OAAO,GACP,YAAY,GACZ,UAAU,GACV,OAAO,GACP,cAAc,GACd,eAAe,GACf,cAAc,GACd,QAAQ,GACR,UAAU,GACV,UAAU,GACV,gBAAgB,GAChB,gBAAgB,GAChB,UAAU,GACV,aAAa,GACb,aAAa,GACb,YAAY,GACZ,iBAAiB,GACjB,kBAAkB,GAClB,QAAQ,GACR,QAAQ,GACR,mBAAmB,GACnB,mBAAmB,GACnB,QAAQ,GACR,aAAa,GACb,cAAc,GACd,UAAU,GACV,SAAS,GACT,SAAS,GACT,UAAU,GACV,QAAQ,GACR,OAAO,G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,WAAW,GACX,aAAa,GACb,YAAY,GACZ,aAAa,GACb,aAAa,GACb,YAAY,GACZ,WAAW,GACX,eAAe,GACf,eAAe,GACf,OAAO,GACP,eAAe,GACf,qBAAqB,GACrB,YAAY,GACZ,WAAW,GACX,UAAU,CAAC;AAEf,MAAM,MAAM,WAAW,GACnB,cAAc,GACd,SAAS,GACT,QAAQ,GACR,SAAS,GACT,QAAQ,GACR,YAAY,GACZ,MAAM,GACN,UAAU,GACV,OAAO,GACP,QAAQ,GACR,OAAO,CAAC;AAEZ,MAAM,MAAM,cAAc,GAAG;IAC3B,IAAI,EAAE,SAAS,CAAC;IAChB,MAAM,EAAE,MAAM,CAAC;IACf,MAAM,EAAE,WAAW,CAAC;IACpB,OAAO,EAAE,MAAM,CAAC;IAChB,IAAI,EAAE,MAAM,CAAC;IACb,OAAO,EAAE,MAAM,CAAC;IAChB,SAAS,EAAE,MAAM,CAAC;IAClB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,eAAO,MAAM,cAAc,EAAE,SAAS,WAAW,EAYhD,CAAC;AAEF,eAAO,MAAM,KAAK,EAAE,SAAS,cAAc,EAy3F1C,CAAC"}
|
|
@@ -20,7 +20,7 @@ export const USAGE = [
|
|
|
20
20
|
family: "Compositions",
|
|
21
21
|
summary: "What happened to a record, and when: one row per event under its day, newest first.",
|
|
22
22
|
when: "A record's history: a Customer's, a Partner's or an Installation's Activity tab in the Portal, the company wiki's updates in Nadia. Each answers \"what happened, and when?\".",
|
|
23
|
-
instead: 'The steps of one Agent run, read in order, are a RunTimeline; a list of records a person finds and acts on is a CollectionPage; a single "last changed" fact is a RecordTime.',
|
|
23
|
+
instead: 'The steps of one Agent run, read in order, are a RunTimeline; a list of records a person finds and acts on is a CollectionPage; a single "last changed" fact is a RecordTime. A history never stands under a list on the same page: it has its own tab (owner).',
|
|
24
24
|
behaviour: "The search, filters and window sit right above the rows, kept in the URL by the product. Days stand newest first, each a title and a muted date over one card of rows; a row is the time of day, the actor's 24 px mark, the sentence with a status badge only for an exception, and one muted line of detail. \"Show older events\" follows the last day as a full-width `LoadMoreButton`, or as a `ButtonLink` when it navigates; there is never a page count. States, first that holds: failed, loading (still rows in the row's shape, which `ActivityFeedSkeleton` also draws while a page reads the events before it can draw the feed; nadicode decision), no match with Clear filters, nothing yet in one line, the days. Nothing yet is one quiet line, never a picture; a failed read is the warning mark with Retry, never \"no events\". The time is the time of day in the viewer's own zone in tabular figures (`RecordTime`), with UTC and the viewer's zone in its hover card; one rule for every feed, never a time printed in UTC as the viewer's: a server-rendered page passes the viewer's `timeZone`, since without it the server and the first client render print UTC. The actor's mark is a person's initials, an Agent's real orb or an Installation's tile; the system's own work has no mark and never takes an orb. Under 900 px the time moves under the sentence. It draws no card header: the tab is the title.",
|
|
25
25
|
words: 'The sentence names the actor in `<strong>`, the action in the past tense and the object as a link that keeps the text\'s colour: "Marco Rinaldi created the Agent Acme Quotes". Day titles are "Today", "Yesterday", then the weekday; dates are the product\'s own ("14 October"). Nothing yet: "No events yet." and what will appear. No match: "No events match these filters.".',
|
|
26
26
|
access: "The toolbar is named by `label`; each day's title is a level-3 heading over a list of its events; while loading, one status named by `loadingLabel` stands for the rows, and `ActivityFeedSkeleton`, a page's placeholder before it can draw the feed, is busy and carries no words; each time is a `<time>` with its exact moment for assistive technology. A system event has no mark, so nothing empty is announced.",
|
|
@@ -98,7 +98,7 @@ export const USAGE = [
|
|
|
98
98
|
summary: "A collection's control bar: its filters, its search and its sort, over its own rows.",
|
|
99
99
|
when: "The row above a collection's rows that holds its search, filters, sort and status.",
|
|
100
100
|
instead: "A page action never sits here: it is `PageActions` on the title's row. Finding across the product is `CommandDialog`.",
|
|
101
|
-
behaviour:
|
|
101
|
+
behaviour: 'Glass, the resting surface at 72% with its own edge, held at the top of the scrolling content while the rows pass under it; inside a titled `TableCard`, on the title\'s row at its trailing edge, or with `surface="plain"`, the plain row. A search alone is always the plain row. Beside `controls`, the search and the actions keep one line: where the controls leave them too little room, the two move under the controls together, so the sort never stands alone on a line. Below 640 px the search takes the first line, and the controls and then the actions follow it, wrapping onto more lines rather than cutting a control or hiding one behind another; the actions keep the trailing edge.',
|
|
102
102
|
words: "The label names the collection's tools: *Customer filters*.",
|
|
103
103
|
access: '`role="toolbar"` named by `label`.',
|
|
104
104
|
},
|
|
@@ -175,7 +175,7 @@ export const USAGE = [
|
|
|
175
175
|
summary: "A collection's search, filters and sort, drawn from what the product holds of them.",
|
|
176
176
|
when: "The toolbar over a collection's rows: the one `CollectionPage` draws from its `search`, `filters` and `sort`, and the one `DataTable` draws from its `toolbar` for a registry the product keeps in the URL (Customers, Statements, an Agent's usage). On its own, only over a region the server answers from the same question, which no list composition draws, such as an analysis whose search and metric live in the URL.",
|
|
177
177
|
instead: "A list of records gives `CollectionPage`, and a comparison `DataTable`, its search, filters and sort, and they place this toolbar; a page never draws it beside them. The bar's own layout is `CollectionToolbar`, which a page never draws. Finding across the product is `CommandDialog`. A page's commands are `PageActions` on the title's row.",
|
|
178
|
-
behaviour: "A comparison's bar (`lead=\"filters\"`, as `DataTable` draws it) leads with its filters and Clear filters, then the search; otherwise the search comes first (nadicode decision). The search first, growing to fill the row, then the filters, then Clear filters while the search or a filter is set, then the sort, then the collection's own `actions`, in the reading and the Tab order alike; below 640 px the search takes the first line and the rest
|
|
178
|
+
behaviour: "A comparison's bar (`lead=\"filters\"`, as `DataTable` draws it) leads with its filters and Clear filters, then the search; otherwise the search comes first (nadicode decision). The search first, growing to fill the row, then the filters, then Clear filters while the search or a filter is set, then the sort, then the collection's own `actions`, in the reading and the Tab order alike; below 640 px the search takes the first line and the rest follow under it, wrapping onto more lines rather than cutting one (`CollectionToolbar`). The search is disabled until the page is interactive, so a word typed before then is never lost. While `pending`, the toolbar is busy and, after a second, shows the one waiting line, while the rows already shown stay; it never shows a label of its own. A toolbar with nothing to hold draws nothing. While a page reads the collection, `FilterToolbarSkeleton` holds the bar's place: a search's bar and a control's, at their heights (nadicode decision).",
|
|
179
179
|
words: "The label names the collection's tools: *Customer filters*. Clear filters is the product's word.",
|
|
180
180
|
access: '`role="toolbar"` named by `label`, `aria-busy` while `pending`; the waiting line is decorative. The skeleton carries no words, is busy, and is hidden from assistive technology.',
|
|
181
181
|
},
|
|
@@ -230,7 +230,7 @@ export const USAGE = [
|
|
|
230
230
|
summary: "One object's page: the object card with its name, commands, facts, rows that open and one link elsewhere, then its sections as cards.",
|
|
231
231
|
when: "One thing a person opened from a list and now reads or acts on: a customer, a partner, an Installation, a Library entry.",
|
|
232
232
|
instead: "\"Use Context Card to reveal entity metadata on hover or focus: a user, a deployment, a project, an API key.\" (https://vercel.com/geist/context-card) Ours: that hover is a `HoverCard`, drawn inside this package by a component such as `RecordTime`, never this page. A list of records is a CollectionPage; a page of settings only is a SettingsPage, whose cards are SettingsSections; an Agent's Edit page in Nadia's window opens on its AgentProfileCard, the documented exception. A card of values a person saves is a setting card, never this one.",
|
|
233
|
-
behaviour: "\"For a static key/value metadata block on a detail page, use `Description`.\" (https://vercel.com/geist/entity) \"The right column holds at most one or two controls. If the row needs more, move secondary actions into a `Dots Menu`.\" (https://vercel.com/geist/entity) \"Lead the left column with a scannable identifier: an `Avatar` or icon, a Title Case label, then sentence-case secondary metadata (`Member since Mar 14, 2026`).\" (https://vercel.com/geist/entity) \"Don’t put interactive controls in the title slot. Buttons, menus, and links belong in the content (`<dd>`) or in the parent layout, not the label (`<dt>`).\" (https://vercel.com/geist/description) Ours: where the product draws a path, the path above the page names the object's parent, and the product's section navigation stands between the path and the card. As Vercel's deployment page (Deployment Details, then its steps), the object card is the first card of the page: a header bar with the name at the start and the object's commands at the end (a secondary, then the primary as the filled button, then the three dots, in `PageActions`' order, on the name's row while the name keeps 128 px, as on a phone, and under it otherwise; the primary is the one thing the object waits on its viewer for, such as approving a company that waits for approval, beside its alternative as the secondary, and an object with nothing waiting has none), the mark at 64 stands beside the name and optional line in the header, for every kind of object, with no preview box, since a product object has no picture of itself as a deployment has its screenshot; full-width facts follow in four columns once they have 36rem and two below (an object that exists always has one; an object not made yet, such as an account's plan before it chooses one, has none, and its card is the header alone, its name saying so and, for a viewer who may, its primary making it), each a muted label over its value in body text, then an optional footer with a hint at the start and one link at the end. Optional `entries` follow in a card of their own 12 px under it: rows that open one by one, each with its chevron first (it turns down when open), its title, and its summary at the trailing edge, as Vercel's Build Logs and Deployment Checks rows; an open entry's panel starts under its title, and on a card narrower than 28 rem, as on a phone, at the card's edge, so its sections keep the chevron's room; an entry marked `defaultOpen` opens with the page, for a link that names it. The footer takes a link only, so no Save or other command of the object fits in it; the object's changes live in its sections, each a setting card with its own footer. The sections follow, 24 apart, each an `ObjectSection`, `ObjectFacts`, a `RecordList` with its `heading`, a `SettingsSection` or an `ActivityFeed`, drawing its own states; a section earns a card when it owns a decision, never for every label and value. The card is neutral; colour belongs to the company's compact identity, a semantic fact value, or an entry's status summary, with no coloured card ground.",
|
|
233
|
+
behaviour: "\"For a static key/value metadata block on a detail page, use `Description`.\" (https://vercel.com/geist/entity) \"The right column holds at most one or two controls. If the row needs more, move secondary actions into a `Dots Menu`.\" (https://vercel.com/geist/entity) \"Lead the left column with a scannable identifier: an `Avatar` or icon, a Title Case label, then sentence-case secondary metadata (`Member since Mar 14, 2026`).\" (https://vercel.com/geist/entity) \"Don’t put interactive controls in the title slot. Buttons, menus, and links belong in the content (`<dd>`) or in the parent layout, not the label (`<dt>`).\" (https://vercel.com/geist/description) Ours: where the product draws a path, the path above the page names the object's parent, and the product's section navigation stands between the path and the card. As Vercel's deployment page (Deployment Details, then its steps), the object card is the first card of the page: a header bar with the name at the start and the object's commands at the end (a secondary, then the primary as the filled button, then the three dots, in `PageActions`' order, on the name's row while the name keeps 128 px, as on a phone, and under it otherwise; the primary is the one thing the object waits on its viewer for, such as approving a company that waits for approval, beside its alternative as the secondary, and an object with nothing waiting has none), the mark at 64 stands beside the name and optional line in the header, for every kind of object, with no preview box, since a product object has no picture of itself as a deployment has its screenshot; full-width facts follow in four columns once they have 36rem and two below (an object that exists always has one; an object not made yet, such as an account's plan before it chooses one, has none, and its card is the header alone, its name saying so and, for a viewer who may, its primary making it), each a muted label over its value in body text, then an optional footer with a hint at the start and one link at the end. Optional `entries` follow in a card of their own 12 px under it: rows that open one by one, each with its chevron first (it turns down when open), its title, and its summary at the trailing edge, as Vercel's Build Logs and Deployment Checks rows; an open entry's panel starts under its title, and on a card narrower than 28 rem, as on a phone, at the card's edge, so its sections keep the chevron's room; an entry marked `defaultOpen` opens with the page, for a link that names it. The footer takes a link only, so no Save or other command of the object fits in it; the object's changes live in its sections, each a setting card with its own footer. The sections follow, 24 apart, each an `ObjectSection`, `ObjectFacts`, a `RecordList` with its `heading`, a `SettingsSection` or an `ActivityFeed`, drawing its own states; a section earns a card when it owns a decision, never for every label and value. The card is neutral; colour belongs to the company's compact identity, a semantic fact value, or an entry's status summary, with no coloured card ground. A fact marked `url`, such as a company's website, wraps only after `://`, a dot or a slash, never inside a word, and keeps the whole address as its text (design inspection, 2026-11-07).",
|
|
234
234
|
words: '"Keep right-column buttons Verb + Noun (`Remove Member`, `Resend Invite`). Bare verbs like `Remove` or `Confirm` lose context once the row scrolls offscreen." (https://vercel.com/geist/entity) "Title slot is Title Case noun (`Last Deployed`, `Build Duration`); content is sentence case unless the value is a literal identifier, ID, or timestamp that should be preserved verbatim." (https://vercel.com/geist/description) Ours: sentence case throughout. The name as the object is called everywhere else; the line says what it is and whose ("Customer of Partner Alpha · since 3 August 2026"); a fact\'s label is a noun ("Plan"), its value the figure; an entry\'s title is a noun phrase; the hint is one sentence ("To update it, push to the main branch."); the link names where it goes ("Deployments"); the menu\'s trigger reads "More for {name}".',
|
|
235
235
|
access: '"Geist renders `<dl>`/`<dt>`/`<dd>` so screen readers announce each key/value pair as a definition." (https://vercel.com/geist/description) "Don’t wrap the component in extra paragraphs that break the list semantics." (https://vercel.com/geist/description) Ours: with `headingProps` the name is the page\'s h1; without them it is text, for a product whose chrome already titles the page. The mark is decorative beside the name. Each entry is an h2 heading holding a button with `aria-expanded` that controls its panel.',
|
|
236
236
|
},
|
|
@@ -274,9 +274,9 @@ export const USAGE = [
|
|
|
274
274
|
summary: "The top of a product page: its title, and the page's actions on the title's row.",
|
|
275
275
|
when: "The top of every page, collection, working page and settings page alike: the title at heading size, `PageActions` at the trailing edge of its row.",
|
|
276
276
|
instead: "An object's own header is `ObjectPage`'s: a page that opens with the object's own header or card, such as an Agent's Profile, has that as its title and no `PageHeader` above it. A plain list's page draws no title row (`unseen`), as `CollectionPage`'s usage page decides. The path above it is the top bar's `Breadcrumb`; filters, search and sort sit in the toolbar below.",
|
|
277
|
-
behaviour: "The header stands in the page's own column, so the title and the page's cards share one left edge. The title is always there and the actions arrive through the `PageActions` slot, so the page draws its commands once.
|
|
277
|
+
behaviour: "The header stands in the page's own column, so the title and the page's cards share one left edge. The title is always there and the actions arrive through the `PageActions` slot, so the page draws its commands once. The title wraps between words and is never cut. On a header narrower than 576 px, a phone's or a narrow window's, the actions leave the title's row and stand as one row under the title and the description, on their left edge. Under the title sits the `description`: one muted line saying what the page's concept is, on every page that is a destination or a section, as every Vercel page does. It ends in a link to learn more when there is one, and never counts or introduces anything else. It is the page's only explanation: no other line introduces, explains or counts the page, and no line of text stands loose under a card or a list. What a card's reader needs is the card's own description or footer line, and a lasting condition is a notice above what it concerns. The description is neutral; no hue sits in the header.",
|
|
278
278
|
words: "The title is the page's name as the sidebar writes it: *Customers*, *Agents*. Inside an object worked from a section sidebar, the title is the section's name: *Apps*. The description is one sentence in the product's words, saying what the page's concept does and where it applies, without a full stop when it ends in a link.",
|
|
279
|
-
access: "The title is the page's `h1
|
|
279
|
+
access: "The title is the page's `h1`, read before its description and then the actions; DOM order is the narrow header's visual order, and a wider one sets the actions at the title row's end.",
|
|
280
280
|
},
|
|
281
281
|
{
|
|
282
282
|
name: "PlanCard",
|
|
@@ -604,7 +604,7 @@ export const USAGE = [
|
|
|
604
604
|
summary: "Several switches and selects in one card: each row its label on the left and its control on the right.",
|
|
605
605
|
when: "A card of switches and selects that the card's one description covers: a project's Git switches, a team's notification channels, a set of defaults, how long a computer stays awake beside whether the window goes to the tray.",
|
|
606
606
|
instead: "One setting is a SettingsField. A text box is a field of its own card.",
|
|
607
|
-
behaviour: "A row with `options` is a select, a row with `checked` a switch, a row with `control` draws a control whose usage page puts it in a row, such as ThemeModeSwitcher, and a row with `shows` is a fact the card shows and nobody changes there, such as the app's version, its value as text where a control would stand; a card may hold any of them together, as Vercel's Root Directory card holds its switches; `stateLabels` is required once any row is a switch. Required on every row that takes a value: the label and its `info` (an (i) with its sentence in a tooltip and on the control); a `shows` row has its label alone. No help line sits under a row. A switch row shows its state word beside the switch (`stateLabels`) and is controlled, so the word always follows the switch. Rows stand 16 px apart; below 28rem
|
|
607
|
+
behaviour: "A row with `options` is a select, a row with `checked` a switch, a row with `control` draws a control whose usage page puts it in a row, such as ThemeModeSwitcher, and a row with `shows` is a fact the card shows and nobody changes there, such as the app's version, its value as text where a control would stand; a card may hold any of them together, as Vercel's Root Directory card holds its switches; `stateLabels` is required once any row is a switch. Required on every row that takes a value: the label and its `info` (an (i) with its sentence in a tooltip and on the control); a `shows` row has its label alone. No help line sits under a row. A switch row shows its state word beside the switch (`stateLabels`) and is controlled, so the word always follows the switch. Rows stand 16 px apart; the card's width decides for all its rows at once: below 28rem each stacks its control under its label at the card's full width, from 28rem each stands beside it, so no row stacks while another does not. \"Pair with a form footer only when the setting needs an explicit `Save` step.\" (https://vercel.com/geist/toggle) Ours: a switch is a draft the card's Save applies.",
|
|
608
608
|
words: '"Title Case noun phrase, 1–4 words, naming what is true when ON: `Password Protection`, not `Enable Password Protection`." (https://vercel.com/geist/toggle) Ours: sentence case, a noun for what it controls ("Pull request comments"), the same for a switch as for a select. "Render an optional one-sentence description as a sibling under the label that explains ON only. Don’t describe OFF; it’s the negation." (https://vercel.com/geist/toggle) Ours: that sentence is `info.text`. "Options are Title Case when short and match canonical branding (`Next.js`, not `NextJS`); keep the same register across the list." (https://vercel.com/geist/select) Ours: a select\'s options are sentence case.',
|
|
609
609
|
access: "Each row's control is named by the row's label and described by its info and its error. The info button has its own name and opens on focus.",
|
|
610
610
|
},
|
|
@@ -1132,7 +1132,7 @@ export const USAGE = [
|
|
|
1132
1132
|
summary: "A desktop or web product's frame: its navigation column, the top bar with the path, and the page.",
|
|
1133
1133
|
when: "The frame of every product page in the Portal, Nadia and Alveare Server: the product's home, Find, its places or an area's sections, the update offer or the way out, and the account, beside the page with its path. Alveare keeps Buzz's sidebar and mounts this shell's foot in it as `ColumnFoot`, and its counts as `PlaceCount` (nadicode decision, 6 November 2026). Nadia's window is this shell with `host`, inside Hermes's `window.shell` area: each Agent is a place with her orb as its `mark` and what she is doing as its `status`, with Find as a lens and New Agent as `create` in the column's top row, and her company is a `foot` place that opens its area. A product shows its `home`, its mark and name, only where nothing else names it: on the web, as the Portal in a browser among many tabs, where the mark is also the way home; a desktop app's window, Dock and menu bar already name it, so its column starts with its Find and then its places (owner ruling, 2026-11-07). Find's `form` follows the column: a product whose column is a list of conversations or Agents, as Nadia's, takes the lens (`button`); a product of many places, as the Portal, takes the field (owner ruling, 2026-11-07).",
|
|
1134
1134
|
instead: "A product never draws `Sidebar`, `SidebarFrame`, `SidebarProvider`, `SidebarInset`, `AccountMenu`, `UpdateCard`, `PageHeader` or `ReadingColumn` itself, which `nadicodeai/page-composition` refuses: it passes its places, its account, its band, its path and its title (nadicode decision). A page's own views are `Tabs`; an object's sections swap the column (`sections`) or stand in the band under the top bar (`tabs`), never a second column (nadicode decision). A part that waits for the page's language or for who is signed in is a region (`{ region }`) the product streams beside the page, drawn with the shell's component for it, so the frame and the page never wait for it; while it resolves, that component with `loading` holds its place. A product that reads everything before it draws shows `ProductShellSkeleton` meanwhile (owner ruling, 7 November 2026).",
|
|
1135
|
-
behaviour: "One column, its regions in this order: the home with the collapse control (no home where the window already names the product: a desktop app's column starts with its Find, and a host's `mover` fills the row's free room, where the window's own buttons sit), and Find's lens and the plus of `create` beside it when Find is a `button`, Find's field when it is one, the places in their groups, then the column's foot, pinned at its bottom with no rule above it and in glass on the column's own colour so the places scroll under it: one band (the update offer or the way out), the `foot` places and the account with the bell beside it (nadicode decision; owner ruling, 7 November 2026); the foot's places stay whether the column holds the places or an area's sections. The column is 256 px wide, dragged on its edge between 224 and 384 px, collapsed by its control, by the handle's Enter or by dragging it under the narrowest width to 48 px of icons, or with `width.collapsedTo` `marks` to 64 px of marks at 40, the width a column of Agents or people collapses to on every page of the product, and a sheet under 768 px; the width and the collapse go to the product through `width.onChange`, and the shell opens at the ones it is given, or, with `width.kept`, at the ones the product keeps in the browser, which its pre-paint script already gave the column the server drew, so the first frame stands at the kept width with no jump (owner ruling, 6 November 2026; the first frame at the kept width, owner ruling, 7 November 2026); below `width.collapseBelow` the column shows its marks alone with no control or handle to open it, and opens again as the window widens, keeping the person's choice. Collapsed, the account shows its picture alone and the update card one icon. A place's badge counts what waits there in the attention colour, and the phone's menu button carries their sum. A place with its own `mark` leads its row with it in place of an icon: an Agent's orb at 64 px beside her name and `status`, as `AgentListRow` draws her, any other mark at 32; collapsed, the column shows each mark alone, at 40 in a column of marks and 32 in one of icons, with the name and the status in its tooltip. A place's `commands` open on a right-click of its row, as a record's in a list, and its one `action` stands beside its row as a small outline button while the column shows names, as a failed set-up's Try again. A group with a `label` is a navigation named by it, headed only when the column holds more than one group; the lens and the plus stand as 36 px ghost icon buttons with 18 px icons in the column's top row, the lens's tooltip and `aria-keyshortcuts` naming its key, and collapsed as icon rows above the places, while an area's sections, collapsed, start with their way out; while a group's places are read it holds three placeholder rows, a failed read says so with its Try again (collapsed, one button that tries again, the message in its tooltip), and a read with no place says its `empty` line. Choosing a place closes the sheet, and so does any new page. Every confirmation a command in the frame opens is the shell's: it closes the sheet first, so one overlay never opens over another (nadicode decision); Find closes it too as it opens the product's search. The top bar stands over the page above a 1 px rule and holds navigation only, never the page's commands: the menu button at phone width, the path, and the assistant at its end (nadicode decision). The path stands at the bar's true centre on one line while its names fit whole there; when centring would cut a name, it moves toward the bar's start only as far as needed to show its names whole, and cuts them with an ellipsis only when even that is not enough; what stands at the bar's end never overlaps it, the path giving up its room first (owner ruling, 2026-11-07 (centred), with names kept whole). With the window's own buttons at its start (`startInset`), the collapsed column's top row is theirs and its control to open stands under them. The path is the breadcrumb, never a back button in its place (nadicode decision); a step may carry its own mark beside its name, and the last step may be a switcher among the page's siblings, as an Agent's chats; under 1024 px it keeps only the page and the step before it, and the open record's `status` stands beside its name; a `scope` step stands at the path's start with the way back to the whole scope, the page's name centred (owner ruling, 7 November 2026). The pages sit on the workspace ground under a 1 px rule, at most 1280 px wide with 24 px around them; the strip, when there is one, stands between the top bar and the page; the band of `tabs` stands under them and stays while the page scrolls under the top bar (owner ruling, 7 November 2026). The `title` row stands first in the page's column and carries the page's actions (`PageActions`); a title in the `settings` column narrows the whole page to that column, 960 px, so the title and everything under it share one edge from the first paint (owner ruling, 7 November 2026). A region that waits for the viewer before it knows whether it draws (`ProductShellTabs pending`) keeps the page unseen until it does, so the page never moves when it arrives. A new page opens at its top. Choosing a section in the column, or anything in the sheet, moves focus to the new page's heading once it arrives; a page opened any other way keeps focus where it was (owner ruling, 7 November 2026). With `labels.skip`, the first thing a keyboard reaches is a link to the page, shown only while focused. With `host`, the shell fills the region the host gives it rather than the viewport, the host's page area fills the room under the top bar edge to edge with its own landmark and scrolling, the host's `controls` stand at the top bar's end, its `mover` fills the bar's free room, `endInset` keeps the bar's end clear of the window's own buttons and `startInset` its start while the column is a sheet, the bar keeps the window's edge spacing, 12 px at either end, at every width, and with `underBar` the host's page runs under the bar, which is glass over it with only its bottom rim, as DESIGN.md's glass over Nadia's conversation.",
|
|
1135
|
+
behaviour: "One column, its regions in this order: the home with the collapse control (no home where the window already names the product: a desktop app's column starts with its Find, and a host's `mover` fills the row's free room, where the window's own buttons sit), and Find's lens and the plus of `create` beside it when Find is a `button`, Find's field when it is one, the places in their groups, then the column's foot, pinned at its bottom with no rule above it and in glass on the column's own colour so the places scroll under it: one band (the update offer or the way out), the `foot` places and the account with the bell beside it (nadicode decision; owner ruling, 7 November 2026); the foot's places stay whether the column holds the places or an area's sections. The column is 256 px wide, dragged on its edge between 224 and 384 px, collapsed by its control, by the handle's Enter or by dragging it under the narrowest width to 48 px of icons, or with `width.collapsedTo` `marks` to 64 px of marks at 40, the width a column of Agents or people collapses to on every page of the product, and a sheet under 768 px; the width and the collapse go to the product through `width.onChange`, and the shell opens at the ones it is given, or, with `width.kept`, at the ones the product keeps in the browser, which its pre-paint script already gave the column the server drew, so the first frame stands at the kept width with no jump (owner ruling, 6 November 2026; the first frame at the kept width, owner ruling, 7 November 2026); below `width.collapseBelow` the column shows its marks alone with no control or handle to open it, and opens again as the window widens, keeping the person's choice. Collapsed, the account shows its picture alone and the update card one icon. A place's badge counts what waits there in the attention colour, and the phone's menu button carries their sum. A place with its own `mark` leads its row with it in place of an icon: an Agent's orb at 64 px beside her name and `status`, as `AgentListRow` draws her, any other mark at 32; collapsed, the column shows each mark alone, at 40 in a column of marks and 32 in one of icons, with the name and the status in its tooltip. A place's `commands` open on a right-click of its row, as a record's in a list, and its one `action` stands beside its row as a small outline button while the column shows names, as a failed set-up's Try again. A group with a `label` is a navigation named by it, headed only when the column holds more than one group; the lens and the plus stand as 36 px ghost icon buttons with 18 px icons in the column's top row, the lens's tooltip and `aria-keyshortcuts` naming its key, and collapsed as icon rows above the places, while an area's sections, collapsed, start with their way out; while a group's places are read it holds three placeholder rows, a failed read says so with its Try again (collapsed, one button that tries again, the message in its tooltip), and a read with no place says its `empty` line. Choosing a place closes the sheet, and so does any new page. Every confirmation a command in the frame opens is the shell's: it closes the sheet first, so one overlay never opens over another (nadicode decision); Find closes it too as it opens the product's search. The top bar stands over the page above a 1 px rule and holds navigation only, never the page's commands: the menu button at phone width, the path, and the assistant at its end (nadicode decision). The path stands at the bar's true centre on one line while its names fit whole there; when centring would cut a name, it moves toward the bar's start only as far as needed to show its names whole, and cuts them with an ellipsis only when even that is not enough; what stands at the bar's end never overlaps it, the path giving up its room first (owner ruling, 2026-11-07 (centred), with names kept whole). With the window's own buttons at its start (`startInset`), the collapsed column's top row is theirs and its control to open stands under them. The path is the breadcrumb, never a back button in its place (nadicode decision); a step may carry its own mark beside its name, and the last step may be a switcher among the page's siblings, as an Agent's chats; under 1024 px it keeps only the page and the step before it, and the open record's `status` stands beside its name; a `scope` step stands at the path's start with the way back to the whole scope, the page's name centred (owner ruling, 7 November 2026). The pages sit on the workspace ground under a 1 px rule, at most 1280 px wide with 24 px around them; the strip, when there is one, stands between the top bar and the page; the band of `tabs` stands under them and stays while the page scrolls under the top bar (owner ruling, 7 November 2026). The `title` row stands first in the page's column and carries the page's actions (`PageActions`); a title in the `settings` column narrows the whole page to that column, 960 px, so the title and everything under it share one edge from the first paint (owner ruling, 7 November 2026). A region that waits for the viewer before it knows whether it draws (`ProductShellTabs pending`) keeps the page unseen until it does, so the page never moves when it arrives. A new page opens at its top. Choosing a section in the column, or anything in the sheet, moves focus to the new page's heading once it arrives; a page opened any other way keeps focus where it was (owner ruling, 7 November 2026). With `labels.skip`, the first thing a keyboard reaches is a link to the page, shown only while focused. With `host`, the shell fills the region the host gives it rather than the viewport, the host's page area fills the room under the top bar edge to edge with its own landmark and scrolling, the host's `controls` stand at the top bar's end, and its `compactControls` in their place while they would cut a name of the path under 48 px, about three letters and the ellipsis, until the bar has grown the room those names lacked, its `mover` fills the bar's free room, `endInset` keeps the bar's end clear of the window's own buttons and `startInset` its start while the column is a sheet, the bar keeps the window's edge spacing, 12 px at either end, at every width, and with `underBar` the host's page runs under the bar, which is glass over it with only its bottom rim, as DESIGN.md's glass over Nadia's conversation.",
|
|
1136
1136
|
words: 'Every word is the product\'s: the places\' nouns, the path\'s names exactly as the places and the records write them, the title as the column writes it, and `labels` from its catalogue. A product whose words wait for the page\'s language draws `labels` in a region with `ProductShellWords`: the frame\'s controls are named by those hidden words, so they stand in the first HTML before any language is known. A status is a short state ("Working", "Needs you"); `create` names what it adds ("New Agent").',
|
|
1137
1137
|
access: "Each group of places is a navigation named by its heading, or by `labels.navigation` when it has none, with the places as buttons or links, the current one `aria-current=\"page\"`, busy while its places are read; a place's row reads its name, then its status; the handle is a separator named by `labels.resize`; the page is the `main` landmark the product passes, named by `labels.main`, which the skip link focuses, or the one the host draws; the path is a navigation named by `labels.path`; the band of tabs is a navigation named by what its sections are of. The title is the page's `h1`. The phone's menu button names how many things wait. The skeleton, and a region's `loading` form, is busy and draws no word.",
|
|
1138
1138
|
},
|
|
@@ -1341,7 +1341,7 @@ export const USAGE = [
|
|
|
1341
1341
|
summary: "Records compared across columns: the same facts for every record, read down a column and across a row, inside their `TableCard`.",
|
|
1342
1342
|
when: "“Use `<Table>` for tabular data where rows share the same shape and at least one column is sortable or comparable across rows.” (https://vercel.com/geist/table) Ours: the person compares: usage per Agent, statements, invoices, customers with their partner and count. The columns are fixed, each has a heading, and at least one is a figure or can be sorted. There are three kinds of list. Objects a person opens (a project, a deployment, a member, an integration) are entity rows: a `RecordList`. Values edited in place (a domain, an environment variable) are entity rows that expand into their form: a `RecordList`'s `editor`. Records compared across columns are this table.",
|
|
1343
1343
|
instead: "“For a row of descriptive content paired with a single action (membership row, integration row), use `Entity` instead.” (https://vercel.com/geist/table) “For a key/value metadata block on a detail page, use `Description`, not a two-column table.” (https://vercel.com/geist/table) Ours: Geist's `Entity` is a `RecordList` row. A registry of entities whose columns `RecordList` cannot hold, more than three facts beside a filter bar the product owns, as Vercel's Deployments list, is this table with `rows=\"entities\"`, which draws the same rows: headings for assistive technology only, 72 px rows, a `RecordIdentity` in the identity column. Its `Description` is `ObjectFacts`. A list on a page of its own is a `CollectionPage`. A descriptive list is `ItemGroup`.",
|
|
1344
|
-
behaviour: "Every column has a `header`; a column without one does not compile. The headings are always visible, medium weight in the cells' body grey, 48 px high, with 12 px of room under the labels and then the rule, so the first row starts at the rule like every other; rows are 40 px. Each column is as wide as its definition's `size`, in pixels, and the columns without one share the rest, so a table gives a size to every column but the one that takes the spare width; a value too long for its column ends in an ellipsis, whole in its title (a record's name carries its own), unless the column `wraps`; a column marked `identifier` holds ids or paths and is cut in the middle instead. The last column trails unless it `wraps` or is `centered
|
|
1344
|
+
behaviour: "Every column has a `header`; a column without one does not compile. The headings are always visible, medium weight in the cells' body grey, 48 px high, with 12 px of room under the labels and then the rule, so the first row starts at the rule like every other; rows are 40 px. Each column is as wide as its definition's `size`, in pixels, and the columns without one share the rest, so a table gives a size to every column but the one that takes the spare width; a value too long for its column ends in an ellipsis, whole in its title (a record's name carries its own), unless the column `wraps`; a column marked `identifier` holds ids or paths and is cut in the middle instead. The last column trails unless it `wraps` or is `centered`, and on a card too narrow for the columns the last one the row keeps is its last column; a `centered` column's heading and values sit in the middle of it. Records are divided by a 1 px rule, none after the last. The first and last columns stand in from the card's edges by the card's spacing, so the first lines up with the title. Records of several kinds stand in one table under `group` headings (Vercel's Usage page: *Delivery network*, *Functions*): a heading row that spans the columns, in ink, medium text, 36 px high with the same rule under it, one per group in the order the groups first appear, never a second table; a heading is the group's name and carries no figure of its own. A row that opens a record takes `accent` on hover, and any row on focus within and while its menu is open; a row that opens nothing never reacts to hover. A selected row takes `muted`; headers and footers never highlight and carry no fill. A row never scrolls sideways and never gives a column without a size less than 160 px: on a card narrower than its columns (the sized ones and 160 px for each without a size, however wide that is; columns no card holds lay out this way on every card) the row keeps its name and its `primaryColumns`, and every other column leaves it, its value joining the one muted line under the name, joined by a middle dot (a `Tag` reads as its text there); entity facts wrap below the name so every value stays readable, while other rows end in an ellipsis unless a column `wraps`, or `dropped` when its `compact` says so, or beside an entity row's name, which ends in an ellipsis before it, when it says `name`, as Vercel's lists read on a phone: no labels, no second line; an `optional` column's empty value is left out of the line. A table whose every column is in `primaryColumns`, a settings matrix, lays out by its content there instead, so the name wraps beside the columns. A document's table, such as a legal page's, is read whole instead: its columns take the `wraps` option, so their words wrap and the row grows, and it keeps its header row; in the compact layout every cell but the identity wraps between words. A bounded page's paging stands in the card's footer strip at its trailing edge, opposite `footer`, which stands at the leading edge: its `status` (\"Page 2 of 7\") before Previous and Next, which are the product's router links (`previousLink`, `nextLink`) when each page is its own address, and buttons otherwise; the one that leads nowhere stays, disabled. A note about the whole table is `footerNote`, in a strip of its own under that one: one muted line, an optional *Learn more* after it at the left and one secondary action at the right (Vercel's deployments list ends \"Deployment retention is enabled. Learn more\" with *View recently deleted*); it is the one place a table says a sentence. Colour is neutral: headings and cells in the body grey, no hue, except a status badge or a tone the cell itself carries. “When the underlying list is empty (filter cleared, never created), render `Empty State` outside the table rather than an empty `<Table.Body>`.” (https://vercel.com/geist/table) “After an async filter change, wrap the region in `aria-live=\"polite\"` so screen readers announce the new state.” (https://vercel.com/geist/empty-state) Ours: empty sits outside the body, in a polite live region that stays in place so a filter that empties the table is announced. Ours: a table that is the page's job under its title takes the page's `notice`, one `NoticeBanner` above its toolbar, 12 px over it, as a collection page places it under the title: a refresh of the rows that failed, with Try again (nadicode decision). Ours: the table draws its own toolbar, a `FilterToolbar`: from `toolbar` for a registry whose search, filters and sort the product keeps (the URL), or else its own local search; the column menu and `toolbarActions` end it. A product never draws a table's toolbar itself. While the page reads the rows, `DataTableSkeleton` stands in the table's place: the same card, a heading row and the given number of rows at the table's heights, the columns after the second leaving it below 640 px, with no words (nadicode decision). “Sortable column headers are buttons. The visible label stays Title Case; the sort-direction arrow is decorative and the button announces the next sort state to assistive tech.” (https://vercel.com/geist/table) Ours: the order has one owner, the app's `sorting`, which the URL holds and a `CollectionSort` above the list sets, so no heading is a button and every page of a paged list follows one order. “Apply `tabular-nums` (or Geist Mono) to numeric columns so digits align across rows for comparison.” (https://vercel.com/geist/table) Ours: a numeric column trails in tabular figures.",
|
|
1345
1345
|
words: '“Column headers (`<Table.Head>`) are Title Case nouns or noun phrases: `Last Used`, `Requests (7d)`, `Created`, `Status`. Never sentences.” (https://vercel.com/geist/table) “Render `—` in cells where a value is unknown or not applicable. Don’t substitute `N/A`, `null`, or an empty string.” (https://vercel.com/geist/table) “Use the canonical short relative-time form in cells (`2m ago`, `5h ago`); switch to `Mar 14, 2026` past 7 days. See `Relative Time Card`.” (https://vercel.com/geist/table) “Pagination labels are `Previous` and `Next`. Page-count copy reads `Page 2 of 7` or `21–40 of 142` with an en-dash inside the range.” (https://vercel.com/geist/table) Ours: headings are sentence case nouns with their unit, "Cost (€)", "Tokens", where Geist writes Title Case. The words of a time and of Previous and Next are the product\'s catalogue, in both languages. The footer is a count or the paging, never a help sentence: guidance a step needs lives in that step. Totals and paging each stand in a footer zone of their own, the paging at the trailing edge; the summary row is a labelled total. Italian headings run a third longer and never wrap.',
|
|
1346
1346
|
access: 'A native table named by `tableLabel`, which is required; `th scope="col"`; the record\'s name is the row\'s one link. A sorted column\'s heading carries `aria-sort`. `DataTableSkeleton` is busy and its placeholder table is hidden from assistive technology. Ours: a missing value is a hidden "—" with screen-reader text, never blank.',
|
|
1347
1347
|
},
|
|
@@ -1396,7 +1396,7 @@ export const USAGE = [
|
|
|
1396
1396
|
summary: "A row said in a sentence: media, a title, one line of description, trailing actions.",
|
|
1397
1397
|
when: "“Use `<Entity>` for a row of descriptive content paired with one or two controls (member rows, integration rows, domain rows).” (https://vercel.com/geist/entity) Ours: things best said in a sentence, with one or two controls and no columns: a connected account, a session, a notification preference, a Library shelf row, an activity row. Media, a title over its description, trailing controls.",
|
|
1398
1398
|
instead: "“For tabular data with sortable columns and shared row shape, use `Table` instead.” (https://vercel.com/geist/entity) “For a static key/value metadata block on a detail page, use `Description`.” (https://vercel.com/geist/entity) Ours: Geist's `Table` is a `DataTable` and its `Description` is `ObjectFacts`. An object a person opens, with a mark, facts and a status, is a `RecordList` row; the same row edited in place is a `RecordList` with an `editor`. A page whose job is one collection is `CollectionPage`. Agents in a gallery are `AgentListRow`; Library entries `CatalogEntry`.",
|
|
1399
|
-
behaviour: "A list of descriptive rows is an `ItemGroup` of `Item`s, never table semantics. A row too narrow for its title beside its actions puts the actions under the title, so a name never squeezes to a few letters a line; `min-w-0` on `ItemContent` turns that off, for a row whose figures must stay on the title's line. Every row has a title over its one muted description line; only a message row read whole, or a second content beside the first, may be description only. Media, content and actions stand 16 px apart, centred on one another, in a 72 px row of 16 px padding; a 600 title stands over one 20 px description with no gap, and each holds one line and ends in an ellipsis (`whole` lets a message wrap). Inside a card the group is `divided`: no gaps, one hairline between items. An item that is an `a`, a `button` or a `label` takes the `accent` hover and is one hit target; a plain item never reacts to hover; nested controls stay independent. An `xs` item inside a menu or a combobox option takes the option's padding and adds none. A button in the row is `size=\"sm\"` (32 px). A row a person picks starts with `ItemSelect` and is drawn `render={<label />}`, so the whole row ticks its box and has no other control. A second content beside the first takes only the room its words need. Colour is neutral: the title in ink, the description and any trailing words muted, no hue. “The right column holds at most one or two controls. If the row needs more, move secondary actions into a `Dots Menu`.” (https://vercel.com/geist/entity) Ours: the third control goes in the row's three dots. “Render the Skeleton variant (`entity-with-skeleton`) during load instead of an empty row, and swap to real content once data resolves.” (https://vercel.com/geist/entity) Ours: `ItemSkeleton` stands in a `SkeletonRegion`, still, with no shimmer.",
|
|
1399
|
+
behaviour: "A list of descriptive rows is an `ItemGroup` of `Item`s, never table semantics. A row too narrow for its title beside its actions puts the actions under the title, so a name never squeezes to a few letters a line; `min-w-0` on `ItemContent` turns that off, for a row whose figures must stay on the title's line. Every row has a title over its one muted description line; only a message row read whole, or a second content beside the first, may be description only. Media, content and actions stand 16 px apart, centred on one another, in a 72 px row of 16 px padding; a 600 title stands over one 20 px description with no gap, and each holds one line and ends in an ellipsis (`whole` lets a message wrap). Inside a card the group is `divided`: no gaps, one hairline between items, and no side padding, so each row's media and words start on the card's content edge under its title, as a table's first column does. An item that is an `a`, a `button` or a `label` takes the `accent` hover and is one hit target; a plain item never reacts to hover; nested controls stay independent. An `xs` item inside a menu or a combobox option takes the option's padding and adds none. A button in the row is `size=\"sm\"` (32 px). A row a person picks starts with `ItemSelect` and is drawn `render={<label />}`, so the whole row ticks its box and has no other control. A second content beside the first takes only the room its words need. Colour is neutral: the title in ink, the description and any trailing words muted, no hue. “The right column holds at most one or two controls. If the row needs more, move secondary actions into a `Dots Menu`.” (https://vercel.com/geist/entity) Ours: the third control goes in the row's three dots. “Render the Skeleton variant (`entity-with-skeleton`) during load instead of an empty row, and swap to real content once data resolves.” (https://vercel.com/geist/entity) Ours: `ItemSkeleton` stands in a `SkeletonRegion`, still, with no shimmer.",
|
|
1400
1400
|
words: "“Lead the left column with a scannable identifier: an `Avatar` or icon, a Title Case label, then sentence-case secondary metadata (`Member since Mar 14, 2026`).” (https://vercel.com/geist/entity) “Keep right-column buttons Verb + Noun (`Remove Member`, `Resend Invite`). Bare verbs like `Remove` or `Confirm` lose context once the row scrolls offscreen.” (https://vercel.com/geist/entity) Ours: the title is the name, or what happened as a short sentence (*Nadia filed 12 invoices*), and the description one sentence, in sentence case: *Remove member*, never *Remove*.",
|
|
1401
1401
|
access: "Draw each row of a group `render={<li />}`, so the group is a list of list items. A linked item's text is its name; image media is decorative beside the title. “For multi-select rows, the leading `Checkbox` carries `aria-label=\"Select {entity name}\"` so the row is selectable without relying on the visual label.” (https://vercel.com/geist/entity) Ours: the box of `ItemSelect` is named *Select {name}* in the product's words.",
|
|
1402
1402
|
},
|
|
@@ -1649,7 +1649,7 @@ export const USAGE = [
|
|
|
1649
1649
|
summary: "A control's own label while the system works on what it was asked to do.",
|
|
1650
1650
|
when: "A control that is not a button and starts work the system does, such as a menu row: from the press until the result, whatever the wait. A `Button` or `ButtonLink` never uses it by hand: `loading` and `loadingLabel` draw it.",
|
|
1651
1651
|
instead: "Past a second add one `WaitingLine` beside the control. An Agent's work is never this: it is her orb and a sentence. A queued or paused request is a status.",
|
|
1652
|
-
behaviour: "Swaps the word, nothing else: same place, size and icon
|
|
1652
|
+
behaviour: "Swaps the word, nothing else: same place, size and icon. At rest a text label is as wide as its own word, so a button's icon and label stand together at the button's own width; while pending it keeps at least that width, so the control never shrinks under the press. The caller sets `aria-busy` and blocks a second press, because only the caller knows which element the wait belongs to. Failure returns the rest label.",
|
|
1653
1653
|
words: "The rest label's verb in its -ing form with the same noun: *Remove mailbox* to *Removing mailbox*. No ellipsis, no *Please wait*.",
|
|
1654
1654
|
access: "`aria-busy` on the control; its name changes to the pending word and is read once. Focus stays on it.",
|
|
1655
1655
|
},
|
|
@@ -1935,7 +1935,7 @@ export const USAGE = [
|
|
|
1935
1935
|
summary: "The card every chart in the kit renders: one header, the summary, the plot, its legend and the reading's time. The plots (`ChartBarStacked`, `ChartAreaStacked`, `ChartBarMultiple`, `ChartBarHorizontal`) hold only their own plot; a page never builds a chart card frame by hand.",
|
|
1936
1936
|
when: "Every chart and every reading built around one: the frame a page never builds by hand. A chart is a named section of its page.",
|
|
1937
1937
|
instead: "A single figure is a `KpiCard`, never nested inside a chart. A ranking beside the plot goes in the card's `aside`, not a second card.",
|
|
1938
|
-
behaviour: "`summaryPlacement=\"beside\"` stands the summary at the plot's leading edge from `sm` up and above it on a phone, as Usage's Activity card puts the period's total beside its calendar (nadicode decision). The plot may be given as a node, for a plot that names itself, such as an `ActivityCalendar`, or a page rendered on the server. `cardSize=\"sm\"` draws the compact card, as `Card`'s `size`, for a reading that stands beside fuller cards (nadicode decision). The default header puts controls at the trailing edge on wide cards, below the title on narrow cards. The way to the reading's owner is a › icon link after the controls, as Vercel's Observability preview cards open their page. The summary variant keeps controls immediately after the title, the owner link at the trailing edge, and the total and period above the plot. The ranking sits beside the plot only when the card itself reaches 48 rem; narrower cards keep a full-width plot and put the ranking below it. Controls wrap on narrow cards. An empty dataset shows its `emptyState` in the plot's place. The footer carries the reading time and at most one command on that reading. While its page reads the series, `ChartCardSkeleton` stands in its place: the same card, a bar for the title, the summary's figure when the card has one (`summary`),
|
|
1938
|
+
behaviour: "`summaryPlacement=\"beside\"` stands the summary at the plot's leading edge from `sm` up and above it on a phone, as Usage's Activity card puts the period's total beside its calendar (nadicode decision). The plot may be given as a node, for a plot that names itself, such as an `ActivityCalendar`, or a page rendered on the server. `cardSize=\"sm\"` draws the compact card, as `Card`'s `size`, for a reading that stands beside fuller cards (nadicode decision). The default header puts controls at the trailing edge on wide cards, below the title on narrow cards. The way to the reading's owner is a › icon link after the controls, as Vercel's Observability preview cards open their page. The summary variant keeps controls immediately after the title, the owner link at the trailing edge, and the total and period above the plot. The ranking sits beside the plot only when the card itself reaches 48 rem; narrower cards keep a full-width plot and put the ranking below it. Controls wrap on narrow cards. An empty dataset shows its `emptyState` in the plot's place. The footer carries the reading time and at most one command on that reading. While its page reads the series, `ChartCardSkeleton` stands in its place: the same card, a bar for the title, the summary's figure when the card has one (`summary`), the plot's area at its `size`'s height, and the footer's line when the card has one (`footer`), with no words (nadicode decision).",
|
|
1939
1939
|
words: 'Title names the measure and its split: "Model spend by Customer". Period as dates. The link\'s name says where it goes: "Explore Usage by model", "Open revenue in Analytics". Footer: the reading\'s time, "Updated 4 minutes ago" or "Read at 12:42". Sentence case throughout.',
|
|
1940
1940
|
access: "The title is a heading at the page's level (default 2) and labels the plot. The owner link is a native link named by its `label`. The plot is focusable and shows the 2 px focus outline only on keyboard focus. `ChartCardSkeleton` is busy and its bars are hidden from assistive technology.",
|
|
1941
1941
|
},
|
|
@@ -1990,7 +1990,7 @@ export const USAGE = [
|
|
|
1990
1990
|
summary: "One measured figure, the way the dashboard-01 section card shows it: the label above the value, the change top right as a badge, and the named comparison in the footer (`rule/kpi-card-trend-top-right`). With its values over the period (`sparkline`) it reads as Vercel Observability's overview tile: the label, the value with the change badge at its right, the line across the card's width under it, and the comparison under the line, with no footer.",
|
|
1991
1991
|
when: "One figure a person checks at a glance: Active Agents, Spend, Tasks done, Need attention, in an overview's row of figures.",
|
|
1992
1992
|
instead: "A figure read over time is a `ChartCard`, and a single figure is never nested inside one. A ratio beside two money measures is a `KpiCard` next to the chart, never a second axis. A level against a cap is `Progress`.",
|
|
1993
|
-
behaviour: "Label left and the change badge right on the first line, the value under them, the comparison in the footer. The footer is one line in every card of a row, so their dividers line up: the comparison and the note, joined, cut with an ellipsis when long and whole on hover. A figure with no comparison shows no badge and no empty footer. A figure that opens its owner (`render`) ends its label with a chevron. Colour sits only where it reads a fact: direction crossed with whether up is good sets the badge icon's tone (success, blocked, or grey for a flat or neutral measure), and `tone` marks the value itself as warning or critical when it crosses a threshold; the card, label and comparison stay neutral. With `sparkline`, Vercel Observability's overview tile: the label across the tile, the value under it with the change badge at its right, a 32 px line in `chart-1` across the card's width, then the comparison and the note in muted ink on up to two lines, which every tile of a row reserves, so the tiles' lines and comparisons sit at the same heights and nothing is cut at a five-tile row. A figure with no line or no comparison keeps the empty rows. The line loads on demand: a streaming server render and the browser draw it once it has loaded, and a synchronous `renderToString` leaves its row empty. While its page reads the figure, `KpiCardSkeleton` stands in its place: the same small card, the label's two lines, the value's line and, with `footer`, the footer's line, with no words (nadicode decision).",
|
|
1993
|
+
behaviour: "Label left and the change badge right on the first line, the value under them, the comparison in the footer. The footer is one line in every card of a row, so their dividers line up: the comparison and the note, joined, cut with an ellipsis when long and whole on hover. A figure with no comparison shows no badge and no empty footer. A figure that opens its owner (`render`) ends its label with a chevron. Colour sits only where it reads a fact: direction crossed with whether up is good sets the badge icon's tone (success, blocked, or grey for a flat or neutral measure), and `tone` marks the value itself as warning or critical when it crosses a threshold; the card, label and comparison stay neutral. The label keeps two lines, wrapped or not, and the value stands under them at the same height in either layout, so the values of a row sit level whichever layout each card takes. With `sparkline`, Vercel Observability's overview tile: the label across the tile, the value under it with the change badge at its right, a 32 px line in `chart-1` across the card's width, then the comparison and the note in muted ink on up to two lines, which every tile of a row reserves, so the tiles' lines and comparisons sit at the same heights and nothing is cut at a five-tile row. A figure with no line or no comparison keeps the empty rows. The line loads on demand: a streaming server render and the browser draw it once it has loaded, and a synchronous `renderToString` leaves its row empty. While its page reads the figure, `KpiCardSkeleton` stands in its place: the same small card, the label's two lines, the value's line and, with `footer`, the footer's line, with no words; with `presentation=\"inline\"`, the same lines with no card, inside the section that groups the figure (nadicode decision).",
|
|
1994
1994
|
words: 'The label names the measure in sentence case: "Active Agents", "Spend". The change is signed with a true minus and its unit ("+12.4%", "−1"), the comparison names the period: "vs 16 last week", "vs August 2026". No icon beside the label.',
|
|
1995
1995
|
access: "The trend icon is hidden and the direction is read as a word in the reader's language (`directionLabel`). Figures use tabular digits. The value is text, never only colour. `KpiCardSkeleton` is busy and its bars are hidden from assistive technology.",
|
|
1996
1996
|
},
|
|
@@ -30,6 +30,32 @@
|
|
|
30
30
|
-webkit-font-smoothing: antialiased;
|
|
31
31
|
-moz-osx-font-smoothing: grayscale;
|
|
32
32
|
}
|
|
33
|
+
|
|
34
|
+
/* Tailwind's preflight leaves a button at the arrow; Base UI draws radio, checkbox and switch as a span, which shows the text cursor. */
|
|
35
|
+
:is(
|
|
36
|
+
button,
|
|
37
|
+
summary,
|
|
38
|
+
[data-slot="button"],
|
|
39
|
+
[role="button"],
|
|
40
|
+
[role="checkbox"],
|
|
41
|
+
[role="radio"],
|
|
42
|
+
[role="switch"],
|
|
43
|
+
[role="tab"],
|
|
44
|
+
[role="menuitem"],
|
|
45
|
+
[role="menuitemcheckbox"],
|
|
46
|
+
[role="menuitemradio"]
|
|
47
|
+
):not(:disabled, [aria-disabled="true"], [data-disabled]),
|
|
48
|
+
label:has(
|
|
49
|
+
:is(
|
|
50
|
+
[role="checkbox"],
|
|
51
|
+
[role="radio"],
|
|
52
|
+
[role="switch"],
|
|
53
|
+
input[type="checkbox"],
|
|
54
|
+
input[type="radio"]
|
|
55
|
+
):not(:disabled, [aria-disabled="true"], [data-disabled])
|
|
56
|
+
) {
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
}
|
|
33
59
|
}
|
|
34
60
|
|
|
35
61
|
@layer components {
|
package/dist/styles/globals.css
CHANGED
|
@@ -92,11 +92,6 @@
|
|
|
92
92
|
@apply border-border outline-ring;
|
|
93
93
|
}
|
|
94
94
|
|
|
95
|
-
button:not(:disabled, [aria-disabled="true"], [data-disabled]),
|
|
96
|
-
[role="button"]:not(:disabled, [aria-disabled="true"], [data-disabled]) {
|
|
97
|
-
cursor: pointer;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
95
|
html {
|
|
101
96
|
@apply font-sans;
|
|
102
97
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nadicodeai/ui",
|
|
3
|
-
"version": "12.1.
|
|
3
|
+
"version": "12.1.213",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"imports": {
|
|
6
6
|
"#jsx": "./src/jsx/index.ts",
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
"@headless-tree/react": "1.8.0",
|
|
83
83
|
"@iconify-icons/logos": "^2.0.3",
|
|
84
84
|
"@iconify/react": "^6.0.2",
|
|
85
|
-
"@nadicodeai/design-system": "12.1.
|
|
85
|
+
"@nadicodeai/design-system": "12.1.213",
|
|
86
86
|
"@tanstack/react-table": "^9.3.1",
|
|
87
87
|
"@vgpu/wgsl": "0.6.0",
|
|
88
88
|
"class-variance-authority": "^0.7.1",
|