@nadicodeai/ui 12.1.210 → 12.1.212
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/AGENTS.md +11 -4
- package/dist/components/account-menu.d.ts +3 -3
- package/dist/components/account-menu.d.ts.map +1 -1
- package/dist/components/account-menu.js +7 -5
- package/dist/components/activity-feed.d.ts +4 -2
- package/dist/components/activity-feed.d.ts.map +1 -1
- package/dist/components/activity-feed.js +10 -3
- package/dist/components/board.d.ts +45 -0
- package/dist/components/board.d.ts.map +1 -0
- package/dist/components/board.js +35 -0
- package/dist/components/breadcrumb.d.ts +3 -3
- package/dist/components/breadcrumb.d.ts.map +1 -1
- package/dist/components/button.d.ts +6 -1
- package/dist/components/button.d.ts.map +1 -1
- package/dist/components/button.js +5 -2
- package/dist/components/card-row.js +1 -1
- package/dist/components/chart-card.d.ts +19 -6
- package/dist/components/chart-card.d.ts.map +1 -1
- package/dist/components/chart-card.js +17 -7
- package/dist/components/collection-page.d.ts +4 -4
- package/dist/components/collection-page.d.ts.map +1 -1
- package/dist/components/collection-page.js +4 -8
- 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/column-foot.d.ts +53 -0
- package/dist/components/column-foot.d.ts.map +1 -0
- package/dist/components/column-foot.js +32 -0
- package/dist/components/conversation-card.d.ts +38 -0
- package/dist/components/conversation-card.d.ts.map +1 -0
- package/dist/components/conversation-card.js +19 -0
- package/dist/components/data-table.d.ts +27 -22
- package/dist/components/data-table.d.ts.map +1 -1
- package/dist/components/data-table.js +76 -25
- package/dist/components/entry-page.d.ts +55 -0
- package/dist/components/entry-page.d.ts.map +1 -0
- package/dist/components/entry-page.js +41 -0
- package/dist/components/entry-scene.d.ts +1 -1
- package/dist/components/entry-scene.js +1 -1
- package/dist/components/filter-toolbar.d.ts +43 -0
- package/dist/components/filter-toolbar.d.ts.map +1 -0
- package/dist/components/filter-toolbar.js +44 -0
- package/dist/components/hive-scene.d.ts +4 -1
- package/dist/components/hive-scene.d.ts.map +1 -1
- package/dist/components/hive-scene.js +6 -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 +10 -3
- package/dist/components/kpi-card.d.ts.map +1 -1
- package/dist/components/kpi-card.js +12 -4
- package/dist/components/message-notice.d.ts +3 -3
- package/dist/components/message-notice.js +1 -1
- package/dist/components/notice-banner.d.ts +1 -1
- package/dist/components/notice-banner.js +1 -1
- 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/object-workspace.d.ts +25 -5
- package/dist/components/object-workspace.d.ts.map +1 -1
- package/dist/components/object-workspace.js +30 -7
- package/dist/components/page-actions.d.ts +0 -2
- package/dist/components/page-actions.d.ts.map +1 -1
- package/dist/components/page-actions.js +1 -5
- package/dist/components/page-frame.d.ts +38 -0
- package/dist/components/page-frame.d.ts.map +1 -0
- package/dist/components/page-frame.js +29 -0
- 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/place-count.d.ts +20 -0
- package/dist/components/place-count.d.ts.map +1 -0
- package/dist/components/place-count.js +16 -0
- package/dist/components/plan-card.d.ts +49 -0
- package/dist/components/plan-card.d.ts.map +1 -0
- package/dist/components/plan-card.js +22 -0
- package/dist/components/product-band.d.ts +20 -0
- package/dist/components/product-band.d.ts.map +1 -0
- package/dist/components/product-band.js +23 -0
- package/dist/components/product-shell.d.ts +316 -44
- package/dist/components/product-shell.d.ts.map +1 -1
- package/dist/components/product-shell.js +533 -36
- package/dist/components/reading-column.d.ts +1 -1
- package/dist/components/reading-column.js +1 -1
- package/dist/components/record-list.d.ts +19 -3
- package/dist/components/record-list.d.ts.map +1 -1
- package/dist/components/record-list.js +23 -8
- package/dist/components/record-time.d.ts +6 -2
- package/dist/components/record-time.d.ts.map +1 -1
- package/dist/components/record-time.js +8 -5
- package/dist/components/row-edit-form.d.ts +1 -1
- package/dist/components/row-edit-form.js +1 -1
- package/dist/components/scope-switcher.d.ts +3 -1
- package/dist/components/scope-switcher.d.ts.map +1 -1
- package/dist/components/scope-switcher.js +3 -6
- package/dist/components/settings-page.d.ts +3 -3
- package/dist/components/settings-page.js +3 -3
- package/dist/components/settings-section.d.ts +19 -5
- package/dist/components/settings-section.d.ts.map +1 -1
- package/dist/components/settings-section.js +14 -6
- package/dist/components/sidebar-sections.d.ts.map +1 -1
- package/dist/components/sidebar-sections.js +4 -4
- package/dist/components/sidebar.d.ts +27 -5
- package/dist/components/sidebar.d.ts.map +1 -1
- package/dist/components/sidebar.js +56 -24
- package/dist/components/table-card.d.ts.map +1 -1
- package/dist/components/table-card.js +2 -1
- 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/toast.d.ts +10 -1
- package/dist/components/toast.d.ts.map +1 -1
- package/dist/components/toast.js +24 -1
- package/dist/components/update-card.js +1 -1
- package/dist/index.d.ts +5 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +5 -0
- package/dist/internal/button-classes.d.ts +2 -0
- package/dist/internal/button-classes.d.ts.map +1 -1
- package/dist/internal/button-classes.js +54 -46
- package/dist/internal/card-actions.d.ts +3 -0
- package/dist/internal/card-actions.d.ts.map +1 -0
- package/dist/internal/card-actions.js +4 -0
- package/dist/internal/footer-strip.d.ts.map +1 -1
- package/dist/internal/footer-strip.js +3 -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/lib/product-shell.d.ts +20 -0
- package/dist/lib/product-shell.d.ts.map +1 -0
- package/dist/lib/product-shell.js +19 -0
- package/dist/showcase/specimens/compositions.d.ts +15 -0
- package/dist/showcase/specimens/compositions.d.ts.map +1 -1
- package/dist/showcase/specimens/compositions.js +70 -0
- package/dist/showcase/specimens/index.d.ts +11 -0
- package/dist/showcase/specimens/index.d.ts.map +1 -1
- package/dist/showcase/specimens/navigation.d.ts +4 -0
- package/dist/showcase/specimens/navigation.d.ts.map +1 -1
- package/dist/showcase/specimens/navigation.js +26 -1
- package/dist/showcase/usage.generated.d.ts +1 -1
- package/dist/showcase/usage.generated.d.ts.map +1 -1
- package/dist/showcase/usage.generated.js +166 -45
- package/dist/styles/components.css +38 -0
- package/dist/styles/globals.css +0 -5
- package/package.json +6 -2
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
import type { RowData } from "@tanstack/react-table";
|
|
2
2
|
import type { ReactElement, ReactNode } from "react";
|
|
3
|
-
import {
|
|
4
|
-
import {
|
|
5
|
-
import {
|
|
3
|
+
import type { CollectionFiltersProps } from "./collection-filters.js";
|
|
4
|
+
import type { CollectionSearchProps } from "./collection-search.js";
|
|
5
|
+
import type { CollectionSortProps } from "./collection-sort.js";
|
|
6
6
|
import type { EmptyStateKind } from "./empty-state.js";
|
|
7
7
|
import { type PageActionsProps } from "./page-actions.js";
|
|
8
8
|
import { type NoticeBannerProps } from "./notice-banner.js";
|
|
@@ -55,7 +55,7 @@ export type CollectionPageProps<TRecord extends RowData> = RecordListWithout<TRe
|
|
|
55
55
|
* Ours: Customers and Partners use the full-width list, with actionable attention above the toolbar when present. Business summaries belong on Dashboard and Analytics. A rail remains available for context that belongs to the collection itself, such as the selected Library hub.
|
|
56
56
|
* @instead “For tabular data with sortable columns and shared row shape, use `Table` instead.” (https://vercel.com/geist/entity)
|
|
57
57
|
* Ours: records compared across columns, read by their headings, are a `DataTable` under the page's own title and toolbar. A list inside another page's section is a `RecordList` with its `heading`.
|
|
58
|
-
* @behaviour The page supplies its records and their commands as data, never its own toolbar, table, rows or menus. Title or none, as Vercel decides it: a page that is one plain list of things a person makes, whose concept needs no sentence, such as Vercel's Domains, Storage, Projects and AI Gateway's API Keys, has no title row, and its actions (its create buttons) end its search row, after the filters. A page that needs its one sentence, or whose commands do something other than create, such as Environment Variables, Members, Integrations and Deployments, keeps its title row with the sentence and every action on it. The product says which a page is (`PageActionsHostProvider`'s `titled`, or this composition's own `title`), never what the page shows at the moment, so an issue appearing above the list never moves the actions. With a `rail`, the toolbar spans the page and under it stand two columns from 1280 px: the rail, 300 px, then the records' card, its top level with the rail's first title and named by the page's title alone, never a second heading, and the records' rows are `RecordList`'s `line` rows; below 1280 px the records come first and the rail follows them. Each rail card has its title above it at 16 px, an optional 44 px muted summary row with its one outline button at its end (a button never stands in a row of its own, so a card with an `action` has a `summary`), then its items: a figure is one 36 px row, its title and its number at the trailing edge; a record is its 24 px mark, a title over a muted line that wraps to a second before it is cut, and a figure or a status at its end, the whole item opening its record; a card with no items draws its `empty` inside it as one 44 px row like an item. While the rail's read is in flight a card's `items` are undefined and it holds its place with three placeholder lines, so the two columns stand from the first frame; a rail whose read `failed` is one card saying so, and the records beside it stay. Under the title sits only the `description`, when the collection's kind needs explaining; otherwise nothing. The page's title names the collection once, and the records' card never adds a header that only describes it. The title row is `PageActions`'s, drawn from `actions`. The primary stays in the title row whether the collection is empty or not, filled, as Vercel's Flags keeps Create Flag; a first use repeats it as the filled button in its card. The page's actions stay on its title row whichever tab is shown; the toolbar belongs to the tab shown, and switching clears its search and page. One toolbar holds the search, which grows, then the filters, then the sort; it shows while there are records, a search or filter is set, or a facet hides records while unset (`hidesWhileUnset`, as the archived companies), and is glass only where the rows scroll under it. While a new search, filter or sort is read, the toolbar is busy and, after a second, shows the one waiting line, while the last rows stay. The rows, their states and their loading are the RecordList's; no match is offered only in those same cases, so records a facet hides by default are always one choice away.
|
|
58
|
+
* @behaviour The page supplies its records and their commands as data, never its own toolbar, table, rows or menus. Title or none, as Vercel decides it: a page that is one plain list of things a person makes, whose concept needs no sentence, such as Vercel's Domains, Storage, Projects and AI Gateway's API Keys, has no title row, and its actions (its create buttons) end its search row, after the filters. A page that needs its one sentence, or whose commands do something other than create, such as Environment Variables, Members, Integrations and Deployments, keeps its title row with the sentence and every action on it. The product says which a page is (`PageActionsHostProvider`'s `titled`, or this composition's own `title`), never what the page shows at the moment, so an issue appearing above the list never moves the actions. With a `rail`, the toolbar spans the page and under it stand two columns from 1280 px: the rail, 300 px, then the records' card, its top level with the rail's first title and named by the page's title alone, never a second heading, and the records' rows are `RecordList`'s `line` rows; below 1280 px the records come first and the rail follows them. Each rail card has its title above it at 16 px, an optional 44 px muted summary row with its one outline button at its end (a button never stands in a row of its own, so a card with an `action` has a `summary`), then its items: a figure is one 36 px row, its title and its number at the trailing edge; a record is its 24 px mark, a title over a muted line that wraps to a second before it is cut, and a figure or a status at its end, the whole item opening its record; a card with no items draws its `empty` inside it as one 44 px row like an item. While the rail's read is in flight a card's `items` are undefined and it holds its place with three placeholder lines, so the two columns stand from the first frame; a rail whose read `failed` is one card saying so, and the records beside it stay. Under the title sits only the `description`, when the collection's kind needs explaining; otherwise nothing. The page's title names the collection once, and the records' card never adds a header that only describes it. The title row is `PageActions`'s, drawn from `actions`. The primary stays in the title row whether the collection is empty or not, filled, as Vercel's Flags keeps Create Flag; a first use repeats it as the filled button in its card. The page's actions stay on its title row whichever tab is shown; the toolbar belongs to the tab shown, and switching clears its search and page. One toolbar holds the search, which grows, then the filters, then the sort; it shows while there are records, a search or filter is set, or a facet hides records while unset (`hidesWhileUnset`, as the archived companies), and is glass only where the rows scroll under it. While a new search, filter or sort is read, the toolbar is busy and, after a second, shows the one waiting line, while the last rows stay. The toolbar is the kit's `FilterToolbar`, the one `DataTable` draws too, so its order, its waiting line and its search's wait for the page to be interactive are the same over every list (nadicode decision). The rows, their states and their loading are the RecordList's; no match is offered only in those same cases, so records a facet hides by default are always one choice away.
|
|
59
59
|
* @words “For multi-facet filters use the plural template `No {Items} Match Your Filters` and suggest widening or clearing.” (https://vercel.com/geist/empty-state)
|
|
60
60
|
* Ours: every string is the product's, in sentence case. The title names the collection in the plural ("Agents"); the search says what it finds ("Find a skill"); no match says what found nothing and offers to clear it ("Clear search", "Clear filters").
|
|
61
61
|
* @access “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)
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collection-page.d.ts","sourceRoot":"","sources":["../../src/components/collection-page.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,
|
|
1
|
+
{"version":3,"file":"collection-page.d.ts","sourceRoot":"","sources":["../../src/components/collection-page.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,EAAE,OAAO,EAAE,MAAM,uBAAuB,CAAC;AACrD,OAAO,KAAK,EAAE,YAAY,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAErD,OAAO,KAAK,EAAE,sBAAsB,EAAE,MAAM,iCAAiC,CAAC;AAC9E,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,gCAAgC,CAAC;AAC5E,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,0BAA0B,CAAC;AAC/D,OAAO,EAIL,KAAK,gBAAgB,EAEtB,MAAM,2BAA2B,CAAC;AACnC,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAGlF,OAAO,EAAc,KAAK,iBAAiB,EAAE,MAAM,0BAA0B,CAAC;AAC9E,OAAO,EAAE,KAAK,cAAc,EAAwB,MAAM,4BAA4B,CAAC;AAEvF,YAAY,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC3D,YAAY,EACV,cAAc,EACd,kBAAkB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
import { jsx as _jsx,
|
|
3
|
-
import { CollectionFilters } from "./collection-filters.js";
|
|
4
|
-
import { CollectionSearch } from "./collection-search.js";
|
|
5
|
-
import { CollectionSort } from "./collection-sort.js";
|
|
6
|
-
import { CollectionToolbar } from "./collection-toolbar.js";
|
|
2
|
+
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
7
3
|
import { CardActionsRow, PageActions, PageActionsHostProvider, usePageTitled, } from "./page-actions.js";
|
|
8
4
|
import { NoticeBanner } from "./notice-banner.js";
|
|
9
5
|
import { PageHeader } from "./page-header.js";
|
|
6
|
+
import { FilterToolbar } from "./filter-toolbar.js";
|
|
10
7
|
import { RecordList } from "./record-list.js";
|
|
11
|
-
import { WaitingLine } from "./waiting-line.js";
|
|
12
8
|
import { CollectionRailColumn } from "../internal/collection-rail.js";
|
|
13
9
|
/**
|
|
14
10
|
* A page whose job is a list of records: its title with the page's actions on
|
|
@@ -21,7 +17,7 @@ import { CollectionRailColumn } from "../internal/collection-rail.js";
|
|
|
21
17
|
* Ours: Customers and Partners use the full-width list, with actionable attention above the toolbar when present. Business summaries belong on Dashboard and Analytics. A rail remains available for context that belongs to the collection itself, such as the selected Library hub.
|
|
22
18
|
* @instead “For tabular data with sortable columns and shared row shape, use `Table` instead.” (https://vercel.com/geist/entity)
|
|
23
19
|
* Ours: records compared across columns, read by their headings, are a `DataTable` under the page's own title and toolbar. A list inside another page's section is a `RecordList` with its `heading`.
|
|
24
|
-
* @behaviour The page supplies its records and their commands as data, never its own toolbar, table, rows or menus. Title or none, as Vercel decides it: a page that is one plain list of things a person makes, whose concept needs no sentence, such as Vercel's Domains, Storage, Projects and AI Gateway's API Keys, has no title row, and its actions (its create buttons) end its search row, after the filters. A page that needs its one sentence, or whose commands do something other than create, such as Environment Variables, Members, Integrations and Deployments, keeps its title row with the sentence and every action on it. The product says which a page is (`PageActionsHostProvider`'s `titled`, or this composition's own `title`), never what the page shows at the moment, so an issue appearing above the list never moves the actions. With a `rail`, the toolbar spans the page and under it stand two columns from 1280 px: the rail, 300 px, then the records' card, its top level with the rail's first title and named by the page's title alone, never a second heading, and the records' rows are `RecordList`'s `line` rows; below 1280 px the records come first and the rail follows them. Each rail card has its title above it at 16 px, an optional 44 px muted summary row with its one outline button at its end (a button never stands in a row of its own, so a card with an `action` has a `summary`), then its items: a figure is one 36 px row, its title and its number at the trailing edge; a record is its 24 px mark, a title over a muted line that wraps to a second before it is cut, and a figure or a status at its end, the whole item opening its record; a card with no items draws its `empty` inside it as one 44 px row like an item. While the rail's read is in flight a card's `items` are undefined and it holds its place with three placeholder lines, so the two columns stand from the first frame; a rail whose read `failed` is one card saying so, and the records beside it stay. Under the title sits only the `description`, when the collection's kind needs explaining; otherwise nothing. The page's title names the collection once, and the records' card never adds a header that only describes it. The title row is `PageActions`'s, drawn from `actions`. The primary stays in the title row whether the collection is empty or not, filled, as Vercel's Flags keeps Create Flag; a first use repeats it as the filled button in its card. The page's actions stay on its title row whichever tab is shown; the toolbar belongs to the tab shown, and switching clears its search and page. One toolbar holds the search, which grows, then the filters, then the sort; it shows while there are records, a search or filter is set, or a facet hides records while unset (`hidesWhileUnset`, as the archived companies), and is glass only where the rows scroll under it. While a new search, filter or sort is read, the toolbar is busy and, after a second, shows the one waiting line, while the last rows stay. The rows, their states and their loading are the RecordList's; no match is offered only in those same cases, so records a facet hides by default are always one choice away.
|
|
20
|
+
* @behaviour The page supplies its records and their commands as data, never its own toolbar, table, rows or menus. Title or none, as Vercel decides it: a page that is one plain list of things a person makes, whose concept needs no sentence, such as Vercel's Domains, Storage, Projects and AI Gateway's API Keys, has no title row, and its actions (its create buttons) end its search row, after the filters. A page that needs its one sentence, or whose commands do something other than create, such as Environment Variables, Members, Integrations and Deployments, keeps its title row with the sentence and every action on it. The product says which a page is (`PageActionsHostProvider`'s `titled`, or this composition's own `title`), never what the page shows at the moment, so an issue appearing above the list never moves the actions. With a `rail`, the toolbar spans the page and under it stand two columns from 1280 px: the rail, 300 px, then the records' card, its top level with the rail's first title and named by the page's title alone, never a second heading, and the records' rows are `RecordList`'s `line` rows; below 1280 px the records come first and the rail follows them. Each rail card has its title above it at 16 px, an optional 44 px muted summary row with its one outline button at its end (a button never stands in a row of its own, so a card with an `action` has a `summary`), then its items: a figure is one 36 px row, its title and its number at the trailing edge; a record is its 24 px mark, a title over a muted line that wraps to a second before it is cut, and a figure or a status at its end, the whole item opening its record; a card with no items draws its `empty` inside it as one 44 px row like an item. While the rail's read is in flight a card's `items` are undefined and it holds its place with three placeholder lines, so the two columns stand from the first frame; a rail whose read `failed` is one card saying so, and the records beside it stay. Under the title sits only the `description`, when the collection's kind needs explaining; otherwise nothing. The page's title names the collection once, and the records' card never adds a header that only describes it. The title row is `PageActions`'s, drawn from `actions`. The primary stays in the title row whether the collection is empty or not, filled, as Vercel's Flags keeps Create Flag; a first use repeats it as the filled button in its card. The page's actions stay on its title row whichever tab is shown; the toolbar belongs to the tab shown, and switching clears its search and page. One toolbar holds the search, which grows, then the filters, then the sort; it shows while there are records, a search or filter is set, or a facet hides records while unset (`hidesWhileUnset`, as the archived companies), and is glass only where the rows scroll under it. While a new search, filter or sort is read, the toolbar is busy and, after a second, shows the one waiting line, while the last rows stay. The toolbar is the kit's `FilterToolbar`, the one `DataTable` draws too, so its order, its waiting line and its search's wait for the page to be interactive are the same over every list (nadicode decision). The rows, their states and their loading are the RecordList's; no match is offered only in those same cases, so records a facet hides by default are always one choice away.
|
|
25
21
|
* @words “For multi-facet filters use the plural template `No {Items} Match Your Filters` and suggest widening or clearing.” (https://vercel.com/geist/empty-state)
|
|
26
22
|
* Ours: every string is the product's, in sentence case. The title names the collection in the plural ("Agents"); the search says what it finds ("Find a skill"); no match says what found nothing and offers to clear it ("Clear search", "Clear filters").
|
|
27
23
|
* @access “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)
|
|
@@ -35,6 +31,6 @@ export function CollectionPage(props) {
|
|
|
35
31
|
const hasRecords = list.records !== undefined && list.records.length > 0;
|
|
36
32
|
const narrowed = Boolean(search?.value) ||
|
|
37
33
|
(filters?.facets.some((facet) => facet.value || facet.hidesWhileUnset) ?? false);
|
|
38
|
-
const page = (_jsxs("div", { className: "grid min-w-0 gap-4", "data-slot": "collection-page", children: [title ? _jsx(PageHeader, { description: description, title: title }) : null, actions && titled ? _jsx(PageActions, { ...actions }) : null, notice ? _jsx(NoticeBanner, { ...notice }) : null, tabs, attention,
|
|
34
|
+
const page = (_jsxs("div", { className: "grid min-w-0 gap-4", "data-slot": "collection-page", children: [title ? _jsx(PageHeader, { description: description, title: title }) : null, actions && titled ? _jsx(PageActions, { ...actions }) : null, notice ? _jsx(NoticeBanner, { ...notice }) : null, tabs, attention, _jsx(FilterToolbar, { actions: toolbarActions, filters: hasRecords || narrowed ? filters : undefined, label: list.label, pending: pending, search: hasRecords || narrowed ? search : undefined, sort: hasRecords || narrowed ? sort : undefined, surface: toolbarSurface ?? "plain" }), rail ? (_jsxs("div", { className: "grid min-w-0 gap-6 xl:grid-cols-[18.75rem_minmax(0,1fr)] xl:items-start", "data-slot": "collection-columns", children: [_jsx("div", { className: "min-w-0 xl:col-start-2 xl:row-start-1", children: _jsx(RecordList, { ...list, layout: "line", noMatch: narrowed ? noMatch : undefined }) }), _jsx(CollectionRailColumn, { className: "xl:col-start-1 xl:row-start-1", rail: rail })] })) : (_jsx(RecordList, { ...list, noMatch: narrowed ? noMatch : undefined }))] }));
|
|
39
35
|
return title ? _jsx(PageActionsHostProvider, { children: page }) : page;
|
|
40
36
|
}
|
|
@@ -21,10 +21,11 @@ export type CollectionToolbarProps = Omit<ComponentPropsWithoutRef<"div">, "chil
|
|
|
21
21
|
* the product is `CommandDialog`.
|
|
22
22
|
* @behaviour Glass, the resting surface at 72% with its own edge, held at the top of the scrolling content while the rows
|
|
23
23
|
* 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
|
|
24
|
-
* alone is always the plain row.
|
|
25
|
-
* the
|
|
26
|
-
*
|
|
27
|
-
* the
|
|
24
|
+
* alone is always the plain row. Beside `controls`, the search and the actions keep one line: where
|
|
25
|
+
* the controls leave them too little room, the two move under the controls together, so the sort
|
|
26
|
+
* never stands alone on a line. Below 640 px the search takes the first line, and the controls and
|
|
27
|
+
* then the actions follow it, wrapping onto more lines rather than cutting a control or hiding one
|
|
28
|
+
* behind another; the actions keep the trailing edge.
|
|
28
29
|
* @words The label names the collection's tools: *Customer filters*.
|
|
29
30
|
* @access `role="toolbar"` named by `label`.
|
|
30
31
|
*/
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"collection-toolbar.d.ts","sourceRoot":"","sources":["../../src/components/collection-toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"collection-toolbar.d.ts","sourceRoot":"","sources":["../../src/components/collection-toolbar.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,wBAAwB,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIjE,MAAM,MAAM,sBAAsB,GAAG,IAAI,CACvC,wBAAwB,CAAC,KAAK,CAAC,EAC/B,UAAU,GAAG,WAAW,CACzB,GAAG;IACF,KAAK,EAAE,MAAM,CAAC;IACd,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB,OAAO,CAAC,EAAE,SAAS,CAAC;IACpB,MAAM,CAAC,EAAE,SAAS,CAAC;IACnB;;;;OAIG;IACH,OAAO,CAAC,EAAE,OAAO,GAAG,OAAO,CAAC;CAC7B,CAAC;AAeF;;;;;;;;;;;;;;;;GAgBG;AACH,wBAAgB,iBAAiB,CAAC,EAChC,KAAK,EACL,QAAQ,EACR,MAAM,EACN,OAAO,EACP,MAAM,EACN,OAAiB,EACjB,GAAG,KAAK,EACT,EAAE,sBAAsB,+BAsDxB"}
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
2
|
+
import { cn } from "../lib/utils.js";
|
|
2
3
|
/*
|
|
3
4
|
* A page's collection toolbar is a control bar over its own rows: glass with its own
|
|
4
5
|
* edge, held at the top of the scrolling content while the rows pass
|
|
@@ -19,10 +20,11 @@ const IN_CARD = "[[data-slot=table-card-toolbar]_&]:relative [[data-slot=table-c
|
|
|
19
20
|
* the product is `CommandDialog`.
|
|
20
21
|
* @behaviour Glass, the resting surface at 72% with its own edge, held at the top of the scrolling content while the rows
|
|
21
22
|
* 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
|
|
22
|
-
* alone is always the plain row.
|
|
23
|
-
* the
|
|
24
|
-
*
|
|
25
|
-
* the
|
|
23
|
+
* alone is always the plain row. Beside `controls`, the search and the actions keep one line: where
|
|
24
|
+
* the controls leave them too little room, the two move under the controls together, so the sort
|
|
25
|
+
* never stands alone on a line. Below 640 px the search takes the first line, and the controls and
|
|
26
|
+
* then the actions follow it, wrapping onto more lines rather than cutting a control or hiding one
|
|
27
|
+
* behind another; the actions keep the trailing edge.
|
|
26
28
|
* @words The label names the collection's tools: *Customer filters*.
|
|
27
29
|
* @access `role="toolbar"` named by `label`.
|
|
28
30
|
*/
|
|
@@ -30,5 +32,7 @@ export function CollectionToolbar({ label, controls, search, actions, status, su
|
|
|
30
32
|
// A search alone is the plain row, as the usage page above says: a search box
|
|
31
33
|
// never stands in a box of its own.
|
|
32
34
|
const drawn = surface === "glass" && (controls || actions) ? "glass" : "plain";
|
|
33
|
-
return (_jsxs("div", { "data-slot": "collection-toolbar", ...props, role: "toolbar", "aria-label": label, "data-surface": drawn, className: `flex min-w-0 flex-wrap items-center gap-2 ${drawn === "glass" ? ON_PAGE : PLAIN} ${IN_CARD}`, children: [controls ? (_jsx("div", { "data-slot": "collection-toolbar-controls", className: "flex min-w-0 max-w-full flex-wrap items-center gap-2 max-sm:
|
|
35
|
+
return (_jsxs("div", { "data-slot": "collection-toolbar", ...props, role: "toolbar", "aria-label": label, "data-surface": drawn, className: `flex min-w-0 flex-wrap items-center gap-2 ${drawn === "glass" ? ON_PAGE : PLAIN} ${IN_CARD}`, children: [controls ? (_jsx("div", { "data-slot": "collection-toolbar-controls", className: "flex min-w-0 max-w-full flex-wrap items-center gap-2 max-sm:contents", children: controls })) : null, search || actions ? (_jsxs("div", { "data-slot": "collection-toolbar-end", className: controls
|
|
36
|
+
? cn("flex min-w-0 items-center gap-2 max-sm:contents", search ? (actions ? "flex-1 basis-80" : "flex-1 basis-64") : "ml-auto")
|
|
37
|
+
: "contents", children: [search ? (_jsx("div", { "data-slot": "collection-toolbar-search", className: "min-w-0 flex-1 basis-64 max-sm:-order-1 max-sm:basis-full", children: search })) : null, actions ? (_jsx("div", { "data-slot": "collection-toolbar-actions", className: "ml-auto flex min-w-0 max-w-full shrink-0 flex-wrap items-center gap-2", children: actions })) : null] })) : null, status ? _jsx("div", { className: "absolute right-0 bottom-0", children: status }) : null] }));
|
|
34
38
|
}
|
|
@@ -0,0 +1,53 @@
|
|
|
1
|
+
import type * as React from "react";
|
|
2
|
+
import { type AccountMenuProps } from "./account-menu.js";
|
|
3
|
+
import { SidebarEntryCard } from "./sidebar.js";
|
|
4
|
+
import { type UpdateCardProps } from "./update-card.js";
|
|
5
|
+
/** The one band above the account: the update offer, or the way out of the product. */
|
|
6
|
+
export type ColumnFootBand = {
|
|
7
|
+
update: UpdateCardProps;
|
|
8
|
+
entry?: never;
|
|
9
|
+
} | {
|
|
10
|
+
entry: React.ComponentProps<typeof SidebarEntryCard>;
|
|
11
|
+
update?: never;
|
|
12
|
+
};
|
|
13
|
+
type DistributiveOmit<T, K extends PropertyKey> = T extends unknown ? Omit<T, K> : never;
|
|
14
|
+
/** The account menu at the column's foot; the foot decides its trigger's size and side. */
|
|
15
|
+
export type ColumnFootAccount = DistributiveOmit<AccountMenuProps, "pictureOnly" | "side" | "align">;
|
|
16
|
+
export type ColumnFootProps = {
|
|
17
|
+
/** The update offer or the way out, above the account. */
|
|
18
|
+
band?: ColumnFootBand;
|
|
19
|
+
/** Rows pinned above the account, under the band: places a person reaches from everywhere. */
|
|
20
|
+
places?: React.ReactNode;
|
|
21
|
+
account: ColumnFootAccount;
|
|
22
|
+
/** The bell beside the account, the product's notifications inbox. */
|
|
23
|
+
bell?: React.ReactNode;
|
|
24
|
+
/** The column shows icons alone: the account shows its picture and the update offer one icon. */
|
|
25
|
+
collapsed?: boolean;
|
|
26
|
+
className?: string;
|
|
27
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
28
|
+
};
|
|
29
|
+
/** The regions of the foot, as `ProductShell` and `ColumnFoot` both fill them. */
|
|
30
|
+
export declare function columnFootRegions({ band, places, account, bell, collapsed, }: Omit<ColumnFootProps, "className" | "ref">): {
|
|
31
|
+
band: React.JSX.Element | undefined;
|
|
32
|
+
foot: React.ReactNode;
|
|
33
|
+
account: React.JSX.Element;
|
|
34
|
+
actions: React.ReactNode;
|
|
35
|
+
};
|
|
36
|
+
/** The foot's band as the foot draws it: the update offer, one icon while `narrow`, or the way out. */
|
|
37
|
+
export declare function FootBand({ band, narrow }: {
|
|
38
|
+
band: ColumnFootBand;
|
|
39
|
+
narrow: boolean;
|
|
40
|
+
}): React.JSX.Element;
|
|
41
|
+
/**
|
|
42
|
+
* The foot of a product's column: the update offer or the way out, then the account with its bell, in glass on the column's own colour with no rule above it.
|
|
43
|
+
*
|
|
44
|
+
* @family Navigation
|
|
45
|
+
* @when A column the product does not draw, such as Alveare's carried Buzz sidebar: it mounts this at the column's foot so its account and update offer look and behave as in `ProductShell`, which draws its own foot with the same regions (nadicode decision, 7 November 2026).
|
|
46
|
+
* @instead A product on `ProductShell` passes `band` and `account` to it and never mounts this; a product never draws `AccountMenu` or `UpdateCard` itself.
|
|
47
|
+
* @behaviour One band (the update offer or the way out), then `places`, then the account with the bell beside it, on the column's colour in glass so what scrolls under it shows blurred through it, and solid under reduced transparency. With `collapsed`, the account shows its picture alone and the update offer one icon. The foot takes the width its frame gives it and places itself nowhere: the frame pins it.
|
|
48
|
+
* @words The band's and the account's words are their own components'.
|
|
49
|
+
* @access The account menu's trigger is named by `account.label`; the update offer's action by its label.
|
|
50
|
+
*/
|
|
51
|
+
export declare function ColumnFoot({ className, ref, ...regions }: ColumnFootProps): React.JSX.Element;
|
|
52
|
+
export {};
|
|
53
|
+
//# sourceMappingURL=column-foot.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"column-foot.d.ts","sourceRoot":"","sources":["../../src/components/column-foot.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,KAAK,MAAM,OAAO,CAAC;AAEpC,OAAO,EAAe,KAAK,gBAAgB,EAAE,MAAM,2BAA2B,CAAC;AAC/E,OAAO,EAAE,gBAAgB,EAA6C,MAAM,sBAAsB,CAAC;AACnG,OAAO,EAAc,KAAK,eAAe,EAAE,MAAM,0BAA0B,CAAC;AAE5E,uFAAuF;AACvF,MAAM,MAAM,cAAc,GACtB;IAAE,MAAM,EAAE,eAAe,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,GAC1C;IAAE,KAAK,EAAE,KAAK,CAAC,cAAc,CAAC,OAAO,gBAAgB,CAAC,CAAC;IAAC,MAAM,CAAC,EAAE,KAAK,CAAA;CAAE,CAAC;AAE7E,KAAK,gBAAgB,CAAC,CAAC,EAAE,CAAC,SAAS,WAAW,IAAI,CAAC,SAAS,OAAO,GAAG,IAAI,CAAC,CAAC,EAAE,CAAC,CAAC,GAAG,KAAK,CAAC;AAEzF,2FAA2F;AAC3F,MAAM,MAAM,iBAAiB,GAAG,gBAAgB,CAC9C,gBAAgB,EAChB,aAAa,GAAG,MAAM,GAAG,OAAO,CACjC,CAAC;AAEF,MAAM,MAAM,eAAe,GAAG;IAC5B,0DAA0D;IAC1D,IAAI,CAAC,EAAE,cAAc,CAAC;IACtB,8FAA8F;IAC9F,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACzB,OAAO,EAAE,iBAAiB,CAAC;IAC3B,sEAAsE;IACtE,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,iGAAiG;IACjG,SAAS,CAAC,EAAE,OAAO,CAAC;IACpB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,GAAG,CAAC,EAAE,KAAK,CAAC,GAAG,CAAC,cAAc,CAAC,CAAC;CACjC,CAAC;AAEF,kFAAkF;AAClF,wBAAgB,iBAAiB,CAAC,EAChC,IAAI,EACJ,MAAM,EACN,OAAO,EACP,IAAI,EACJ,SAAiB,GAClB,EAAE,IAAI,CAAC,eAAe,EAAE,WAAW,GAAG,KAAK,CAAC;;;;;EAO5C;AAED,uGAAuG;AACvG,wBAAgB,QAAQ,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,EAAE;IAAE,IAAI,EAAE,cAAc,CAAC;IAAC,MAAM,EAAE,OAAO,CAAA;CAAE,qBASnF;AAED;;;;;;;;;GASG;AACH,wBAAgB,UAAU,CAAC,EAAE,SAAS,EAAE,GAAG,EAAE,GAAG,OAAO,EAAE,EAAE,eAAe,qBAEzE"}
|
|
@@ -0,0 +1,32 @@
|
|
|
1
|
+
import { jsx as _jsx } from "react/jsx-runtime";
|
|
2
|
+
import { AccountMenu } from "./account-menu.js";
|
|
3
|
+
import { SidebarEntryCard, SidebarFoot, SidebarMenu, SidebarMenuItem } from "./sidebar.js";
|
|
4
|
+
import { UpdateCard } from "./update-card.js";
|
|
5
|
+
/** The regions of the foot, as `ProductShell` and `ColumnFoot` both fill them. */
|
|
6
|
+
export function columnFootRegions({ band, places, account, bell, collapsed = false, }) {
|
|
7
|
+
return {
|
|
8
|
+
band: band ? _jsx(FootBand, { band: band, narrow: collapsed }) : undefined,
|
|
9
|
+
foot: places,
|
|
10
|
+
account: _jsx(AccountMenu, { ...account, pictureOnly: collapsed }),
|
|
11
|
+
actions: bell,
|
|
12
|
+
};
|
|
13
|
+
}
|
|
14
|
+
/** The foot's band as the foot draws it: the update offer, one icon while `narrow`, or the way out. */
|
|
15
|
+
export function FootBand({ band, narrow }) {
|
|
16
|
+
if (band.update)
|
|
17
|
+
return _jsx(UpdateCard, { ...band.update, narrow: narrow });
|
|
18
|
+
return (_jsx(SidebarMenu, { children: _jsx(SidebarMenuItem, { children: _jsx(SidebarEntryCard, { ...band.entry }) }) }));
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* The foot of a product's column: the update offer or the way out, then the account with its bell, in glass on the column's own colour with no rule above it.
|
|
22
|
+
*
|
|
23
|
+
* @family Navigation
|
|
24
|
+
* @when A column the product does not draw, such as Alveare's carried Buzz sidebar: it mounts this at the column's foot so its account and update offer look and behave as in `ProductShell`, which draws its own foot with the same regions (nadicode decision, 7 November 2026).
|
|
25
|
+
* @instead A product on `ProductShell` passes `band` and `account` to it and never mounts this; a product never draws `AccountMenu` or `UpdateCard` itself.
|
|
26
|
+
* @behaviour One band (the update offer or the way out), then `places`, then the account with the bell beside it, on the column's colour in glass so what scrolls under it shows blurred through it, and solid under reduced transparency. With `collapsed`, the account shows its picture alone and the update offer one icon. The foot takes the width its frame gives it and places itself nowhere: the frame pins it.
|
|
27
|
+
* @words The band's and the account's words are their own components'.
|
|
28
|
+
* @access The account menu's trigger is named by `account.label`; the update offer's action by its label.
|
|
29
|
+
*/
|
|
30
|
+
export function ColumnFoot({ className, ref, ...regions }) {
|
|
31
|
+
return _jsx(SidebarFoot, { ...columnFootRegions(regions), className: className, ref: ref });
|
|
32
|
+
}
|
|
@@ -0,0 +1,38 @@
|
|
|
1
|
+
import type { ReactNode } from "react";
|
|
2
|
+
import { type IdentityMarkProps } from "./identity-mark.js";
|
|
3
|
+
import { type PageCommand } from "./page-actions.js";
|
|
4
|
+
/** The card's foot: how else the person can answer, then their answers as buttons. */
|
|
5
|
+
export type ConversationCardFooter = {
|
|
6
|
+
/** One muted sentence at the strip's start: "To change something, tell Nadia." */
|
|
7
|
+
hint?: string;
|
|
8
|
+
/** The outline button before the primary: "Change by hand". */
|
|
9
|
+
secondary?: PageCommand;
|
|
10
|
+
/** The filled button that does what the card proposes: "Create Gara". */
|
|
11
|
+
primary?: PageCommand;
|
|
12
|
+
};
|
|
13
|
+
export type ConversationCardProps = {
|
|
14
|
+
/** What the card is about, drawn at 40 px beside its title whatever its `size`: an Agent's orb, an app's mark. */
|
|
15
|
+
mark?: IdentityMarkProps;
|
|
16
|
+
/** What the card proposes, or its outcome once done: "Gara", "Gara is ready". */
|
|
17
|
+
title: string;
|
|
18
|
+
/** One muted line under the title, saying what it is. */
|
|
19
|
+
description?: ReactNode;
|
|
20
|
+
/** Where it comes from, under the description in the label size: "From the Tenders Agent template". */
|
|
21
|
+
origin?: string;
|
|
22
|
+
footer?: ConversationCardFooter;
|
|
23
|
+
/** What the card shows: facts, steps, a notice that concerns it. */
|
|
24
|
+
children: ReactNode;
|
|
25
|
+
};
|
|
26
|
+
/**
|
|
27
|
+
* A card an Agent puts in a conversation: what it prepared, read where the conversation stands,
|
|
28
|
+
* with the person's answers at its foot.
|
|
29
|
+
*
|
|
30
|
+
* @family Compositions
|
|
31
|
+
* @when Nadia's New Agent card in her chat: the Agent she proposes and its settings, then Create, and once the Agent exists, its first job.
|
|
32
|
+
* @instead A section of a page is an `ObjectSection` or a `SettingsSection`: the page compositions' cards stand on a page, never among messages. A sentence an Agent says is her message's own text; a confirmation is the command's `confirm`. A card's header, body and footer are never drawn from `Card`'s parts by a product, which `nadicodeai/page-composition` refuses.
|
|
33
|
+
* @behaviour A resting card 12 px clear of the messages above and below it. Its header: the `mark` at 40 px, then the title, the `description` under it and the `origin` under that in the label size. Its body is the product's, its parts 16 px apart. Its foot is the card's strip (`CardFooter`): the `hint` at the start, saying how else the person can answer, and at the end the `secondary` as the outline button and the `primary` as the filled one; below 640 px the hint takes its own line and the answers stand under it at the end, each at its own width, wrapping when they do not fit side by side. With no hint and no command there is no strip. A running command keeps its place and says its pending word; one that cannot run now stays, disabled.
|
|
34
|
+
* @words The product's: the title names what the card proposes ("Gara") or its outcome ("Gara is ready"); each command is a verb and its noun ("Create Gara", "Run Tender notices now"); the hint is one sentence ("To change something, tell Nadia.").
|
|
35
|
+
* @access The card reads in the conversation's order: its title is text, as a message's first line is, and the mark is decorative beside it. Its commands are buttons, and a running one is `aria-busy`.
|
|
36
|
+
*/
|
|
37
|
+
export declare function ConversationCard({ mark, title, description, origin, footer, children, }: ConversationCardProps): import("react").JSX.Element;
|
|
38
|
+
//# sourceMappingURL=conversation-card.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"conversation-card.d.ts","sourceRoot":"","sources":["../../src/components/conversation-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAgB,KAAK,iBAAiB,EAAE,MAAM,4BAA4B,CAAC;AAClF,OAAO,EAAE,KAAK,WAAW,EAAqB,MAAM,2BAA2B,CAAC;AAGhF,sFAAsF;AACtF,MAAM,MAAM,sBAAsB,GAAG;IACnC,kFAAkF;IAClF,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,+DAA+D;IAC/D,SAAS,CAAC,EAAE,WAAW,CAAC;IACxB,yEAAyE;IACzE,OAAO,CAAC,EAAE,WAAW,CAAC;CACvB,CAAC;AAEF,MAAM,MAAM,qBAAqB,GAAG;IAClC,kHAAkH;IAClH,IAAI,CAAC,EAAE,iBAAiB,CAAC;IACzB,iFAAiF;IACjF,KAAK,EAAE,MAAM,CAAC;IACd,yDAAyD;IACzD,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,uGAAuG;IACvG,MAAM,CAAC,EAAE,MAAM,CAAC;IAChB,MAAM,CAAC,EAAE,sBAAsB,CAAC;IAChC,oEAAoE;IACpE,QAAQ,EAAE,SAAS,CAAC;CACrB,CAAC;AAEF;;;;;;;;;;GAUG;AACH,wBAAgB,gBAAgB,CAAC,EAC/B,IAAI,EACJ,KAAK,EACL,WAAW,EACX,MAAM,EACN,MAAM,EACN,QAAQ,GACT,EAAE,qBAAqB,+BAmCvB"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
import { jsx as _jsx, jsxs as _jsxs, Fragment as _Fragment } from "react/jsx-runtime";
|
|
2
|
+
import { Card, CardContent, CardDescription, CardHeader, CardTitle } from "./card.js";
|
|
3
|
+
import { IdentityMark } from "./identity-mark.js";
|
|
4
|
+
import { PageCommandButton } from "./page-actions.js";
|
|
5
|
+
import { FooterStrip } from "../internal/footer-strip.js";
|
|
6
|
+
/**
|
|
7
|
+
* A card an Agent puts in a conversation: what it prepared, read where the conversation stands,
|
|
8
|
+
* with the person's answers at its foot.
|
|
9
|
+
*
|
|
10
|
+
* @family Compositions
|
|
11
|
+
* @when Nadia's New Agent card in her chat: the Agent she proposes and its settings, then Create, and once the Agent exists, its first job.
|
|
12
|
+
* @instead A section of a page is an `ObjectSection` or a `SettingsSection`: the page compositions' cards stand on a page, never among messages. A sentence an Agent says is her message's own text; a confirmation is the command's `confirm`. A card's header, body and footer are never drawn from `Card`'s parts by a product, which `nadicodeai/page-composition` refuses.
|
|
13
|
+
* @behaviour A resting card 12 px clear of the messages above and below it. Its header: the `mark` at 40 px, then the title, the `description` under it and the `origin` under that in the label size. Its body is the product's, its parts 16 px apart. Its foot is the card's strip (`CardFooter`): the `hint` at the start, saying how else the person can answer, and at the end the `secondary` as the outline button and the `primary` as the filled one; below 640 px the hint takes its own line and the answers stand under it at the end, each at its own width, wrapping when they do not fit side by side. With no hint and no command there is no strip. A running command keeps its place and says its pending word; one that cannot run now stays, disabled.
|
|
14
|
+
* @words The product's: the title names what the card proposes ("Gara") or its outcome ("Gara is ready"); each command is a verb and its noun ("Create Gara", "Run Tender notices now"); the hint is one sentence ("To change something, tell Nadia.").
|
|
15
|
+
* @access The card reads in the conversation's order: its title is text, as a message's first line is, and the mark is decorative beside it. Its commands are buttons, and a running one is `aria-busy`.
|
|
16
|
+
*/
|
|
17
|
+
export function ConversationCard({ mark, title, description, origin, footer, children, }) {
|
|
18
|
+
return (_jsxs(Card, { className: "my-3", "data-slot": "conversation-card", children: [_jsxs(CardHeader, { className: "flex items-start gap-3", children: [mark ? _jsx(IdentityMark, { ...mark, size: 40 }) : null, _jsxs("div", { className: "grid min-w-0 flex-1 gap-0.5", children: [_jsx(CardTitle, { children: title }), description ? _jsx(CardDescription, { children: description }) : null, origin ? (_jsx("span", { className: "text-label-sm text-muted-foreground", "data-slot": "conversation-card-origin", children: origin })) : null] })] }), _jsx(CardContent, { className: "grid gap-4", children: children }), footer ? (_jsx(FooterStrip, { hint: footer.hint, hintSlot: "conversation-card-hint", children: footer.secondary || footer.primary ? (_jsxs(_Fragment, { children: [footer.secondary ? (_jsx(PageCommandButton, { command: footer.secondary, variant: "outline" })) : null, footer.primary ? (_jsx(PageCommandButton, { command: footer.primary, variant: "default" })) : null] })) : null })) : null] }));
|
|
19
|
+
}
|
|
@@ -3,6 +3,8 @@ import { columnFilteringFeature, columnSizingFeature, columnVisibilityFeature, c
|
|
|
3
3
|
import type { CollectionNote } from "../internal/collection-note.js";
|
|
4
4
|
import { type ActionContextMenuProps } from "./action-menu.js";
|
|
5
5
|
import { type EmptyStateProps } from "./empty-state.js";
|
|
6
|
+
import { type FilterToolbarProps } from "./filter-toolbar.js";
|
|
7
|
+
import { type NoticeBannerProps } from "./notice-banner.js";
|
|
6
8
|
type DataTableFeatures = {
|
|
7
9
|
columnFilteringFeature: typeof columnFilteringFeature;
|
|
8
10
|
columnSizingFeature: typeof columnSizingFeature;
|
|
@@ -84,24 +86,6 @@ export type DataTableRowLinkProps = Omit<React.ComponentProps<"a">, "href"> & {
|
|
|
84
86
|
href: string;
|
|
85
87
|
"data-row-link": "";
|
|
86
88
|
};
|
|
87
|
-
/**
|
|
88
|
-
* What the table hands its toolbar: the column-visibility menu and the caller's
|
|
89
|
-
* actions as one node, and the local search over a fully loaded comparison
|
|
90
|
-
* with its clear control when the caller asked for one.
|
|
91
|
-
*/
|
|
92
|
-
export type DataTableToolbarSlots = {
|
|
93
|
-
actions: React.ReactNode | null;
|
|
94
|
-
search?: {
|
|
95
|
-
label: string;
|
|
96
|
-
placeholder: string;
|
|
97
|
-
value: string;
|
|
98
|
-
onChange: (value: string) => void;
|
|
99
|
-
};
|
|
100
|
-
clear?: {
|
|
101
|
-
label: string;
|
|
102
|
-
onClear: () => void;
|
|
103
|
-
};
|
|
104
|
-
};
|
|
105
89
|
type DataTableBaseProps<TData extends RowData> = {
|
|
106
90
|
columns: DataTableColumnDef<TData>[];
|
|
107
91
|
data: TData[];
|
|
@@ -167,10 +151,19 @@ type DataTableBaseProps<TData extends RowData> = {
|
|
|
167
151
|
};
|
|
168
152
|
/** Draws the row link; a plain anchor by default. */
|
|
169
153
|
renderRowLink?: (props: DataTableRowLinkProps) => React.ReactNode;
|
|
170
|
-
/**
|
|
171
|
-
|
|
154
|
+
/**
|
|
155
|
+
* The search, filters and sort of a registry the product keeps itself, such as in the URL, drawn
|
|
156
|
+
* as the table's `FilterToolbar` with the column menu and `toolbarActions` at its end. Left out, the
|
|
157
|
+
* toolbar holds the table's own search, when it has one, and those actions.
|
|
158
|
+
*/
|
|
159
|
+
toolbar?: Omit<FilterToolbarProps, "actions"> | undefined;
|
|
172
160
|
/** Wraps the card, such as a frame that keeps it readable while new data loads. */
|
|
173
161
|
wrapCard?: (card: React.ReactNode) => React.ReactNode;
|
|
162
|
+
/**
|
|
163
|
+
* A condition of the rows' own reading that the page fixes, for a table that is the page's job
|
|
164
|
+
* under its title, such as a refresh of the rows that failed: one `NoticeBanner`, above the toolbar.
|
|
165
|
+
*/
|
|
166
|
+
notice?: NoticeBannerProps | undefined;
|
|
174
167
|
};
|
|
175
168
|
/** A fully loaded, non-registry comparison searches one column, and then every word of that search is given. */
|
|
176
169
|
type DataTableLocalSearch = {
|
|
@@ -235,10 +228,12 @@ export declare function columnMenuLabel<TData extends RowData, TValue extends Ce
|
|
|
235
228
|
* @instead “For a row of descriptive content paired with a single action (membership row, integration row), use `Entity` instead.” (https://vercel.com/geist/table)
|
|
236
229
|
* “For a key/value metadata block on a detail page, use `Description`, not a two-column table.” (https://vercel.com/geist/table)
|
|
237
230
|
* 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`.
|
|
238
|
-
* @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
|
|
231
|
+
* @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.
|
|
239
232
|
* “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)
|
|
240
233
|
* “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)
|
|
241
234
|
* Ours: empty sits outside the body, in a polite live region that stays in place so a filter that empties the table is announced.
|
|
235
|
+
* 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).
|
|
236
|
+
* 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).
|
|
242
237
|
* “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)
|
|
243
238
|
* 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.
|
|
244
239
|
* “Apply `tabular-nums` (or Geist Mono) to numeric columns so digits align across rows for comparison.” (https://vercel.com/geist/table)
|
|
@@ -248,9 +243,19 @@ export declare function columnMenuLabel<TData extends RowData, TValue extends Ce
|
|
|
248
243
|
* “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)
|
|
249
244
|
* “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)
|
|
250
245
|
* 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.
|
|
251
|
-
* @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`. Ours: a missing value is a hidden "—" with screen-reader text, never blank.
|
|
246
|
+
* @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.
|
|
252
247
|
*/
|
|
253
248
|
export declare function DataTable<TData extends RowData>(props: DataTableProps<TData>): React.JSX.Element;
|
|
249
|
+
/**
|
|
250
|
+
* What stands in a DataTable's place while its page reads the rows: its card, a heading row and
|
|
251
|
+
* `rows` rows of `columns` placeholders, with no words, under the table's `notice` when a read of
|
|
252
|
+
* the rows is failing, as the table places it.
|
|
253
|
+
*/
|
|
254
|
+
export declare function DataTableSkeleton({ rows, columns, notice, }: {
|
|
255
|
+
rows: number;
|
|
256
|
+
columns: number;
|
|
257
|
+
notice?: NoticeBannerProps | undefined;
|
|
258
|
+
}): React.JSX.Element;
|
|
254
259
|
/**
|
|
255
260
|
* The entity rows `RecordList` draws: a table whose headings only a screen reader reads, 72 px
|
|
256
261
|
* rows, and a form that opens inside the record's row. A screen draws these rows with
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"data-table.d.ts","sourceRoot":"","sources":["../../src/components/data-table.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACnB,uBAAuB,EACvB,sBAAsB,EACtB,uBAAuB,EACvB,oBAAoB,EACpB,oBAAoB,EACpB,eAAe,EACf,oBAAoB,EACpB,uBAAuB,EACvB,sBAAsB,EACtB,mBAAmB,EAGnB,oBAAoB,EACpB,iBAAiB,EACjB,mBAAmB,EACnB,eAAe,EACf,WAAW,EAIX,KAAK,QAAQ,EACb,KAAK,MAAM,EACX,KAAK,SAAS,EAGd,KAAK,OAAO,EAGb,MAAM,uBAAuB,CAAC;AAI/B,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,4BAA4B,CAAC;AACjE,OAAO,EAAqB,KAAK,sBAAsB,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"data-table.d.ts","sourceRoot":"","sources":["../../src/components/data-table.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EACL,sBAAsB,EACtB,mBAAmB,EACnB,uBAAuB,EACvB,s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