@nadicodeai/ui 12.1.197 → 12.1.198
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 +7 -1
- package/dist/components/action-menu.d.ts +1 -1
- package/dist/components/action-menu.js +1 -1
- package/dist/components/activity-calendar.d.ts +2 -2
- package/dist/components/activity-calendar.js +2 -2
- package/dist/components/card.d.ts +2 -2
- package/dist/components/card.js +2 -2
- package/dist/components/clearable-input.d.ts +3 -2
- package/dist/components/clearable-input.d.ts.map +1 -1
- package/dist/components/clearable-input.js +3 -2
- package/dist/components/collection-page.d.ts +1 -1
- package/dist/components/collection-page.js +1 -1
- package/dist/components/collection-sort.d.ts +2 -2
- package/dist/components/collection-sort.js +2 -2
- package/dist/components/collection-toolbar.js +2 -2
- package/dist/components/command.d.ts +2 -2
- package/dist/components/command.js +2 -2
- package/dist/components/confirm-dialog.d.ts +1 -1
- package/dist/components/confirm-dialog.js +1 -1
- package/dist/components/context-menu.d.ts +1 -1
- package/dist/components/context-menu.js +1 -1
- package/dist/components/data-table.d.ts +3 -3
- package/dist/components/data-table.js +2 -2
- package/dist/components/dialog.d.ts +2 -1
- package/dist/components/dialog.d.ts.map +1 -1
- package/dist/components/dialog.js +2 -1
- package/dist/components/disclosure.d.ts +2 -2
- package/dist/components/disclosure.js +2 -2
- package/dist/components/dropdown-menu.d.ts +1 -1
- package/dist/components/dropdown-menu.js +1 -1
- package/dist/components/empty-state.d.ts +1 -1
- package/dist/components/empty-state.js +1 -1
- package/dist/components/entry-scene.d.ts +1 -1
- package/dist/components/entry-scene.js +1 -1
- package/dist/components/form-dialog.d.ts +1 -1
- package/dist/components/form-dialog.js +1 -1
- package/dist/components/form-drawer.d.ts +1 -1
- package/dist/components/form-drawer.js +1 -1
- package/dist/components/hover-card.d.ts +2 -1
- package/dist/components/hover-card.d.ts.map +1 -1
- package/dist/components/hover-card.js +2 -1
- package/dist/components/identity-mark.d.ts +1 -1
- package/dist/components/identity-mark.js +1 -1
- package/dist/components/input.d.ts +4 -4
- package/dist/components/input.js +4 -4
- package/dist/components/middle-truncate.d.ts +3 -1
- package/dist/components/middle-truncate.d.ts.map +1 -1
- package/dist/components/middle-truncate.js +3 -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 +3 -3
- package/dist/components/object-page.d.ts.map +1 -1
- package/dist/components/object-page.js +2 -2
- package/dist/components/page-actions.d.ts +3 -3
- package/dist/components/page-actions.js +3 -3
- package/dist/components/page-header.d.ts +16 -8
- package/dist/components/page-header.d.ts.map +1 -1
- package/dist/components/page-header.js +16 -8
- package/dist/components/popover.d.ts +4 -3
- package/dist/components/popover.d.ts.map +1 -1
- package/dist/components/popover.js +4 -3
- package/dist/components/record-identity.d.ts +1 -1
- package/dist/components/record-identity.js +1 -1
- package/dist/components/record-list.d.ts +1 -1
- package/dist/components/record-list.js +1 -1
- package/dist/components/scope-switcher.d.ts +1 -1
- package/dist/components/scope-switcher.js +1 -1
- package/dist/components/settings-facts.d.ts +1 -1
- package/dist/components/settings-facts.js +1 -1
- package/dist/components/settings-page.d.ts +1 -1
- package/dist/components/settings-page.js +1 -1
- package/dist/components/settings-section.d.ts +6 -6
- package/dist/components/settings-section.js +6 -6
- package/dist/components/sidebar-sections.d.ts +2 -2
- package/dist/components/sidebar-sections.js +2 -2
- package/dist/components/sidebar.d.ts +3 -3
- package/dist/components/sidebar.js +3 -3
- package/dist/components/status-badge.d.ts +13 -4
- package/dist/components/status-badge.d.ts.map +1 -1
- package/dist/components/status-badge.js +13 -4
- package/dist/components/table-value.d.ts +2 -2
- package/dist/components/table-value.js +2 -2
- package/dist/components/tabs.d.ts +10 -3
- package/dist/components/tabs.d.ts.map +1 -1
- package/dist/components/tabs.js +10 -3
- package/dist/components/tooltip.d.ts +3 -2
- package/dist/components/tooltip.d.ts.map +1 -1
- package/dist/components/tooltip.js +3 -2
- package/dist/components/waiting-line.d.ts +3 -2
- package/dist/components/waiting-line.d.ts.map +1 -1
- package/dist/components/waiting-line.js +3 -2
- package/dist/internal/row-message.d.ts +1 -1
- package/dist/showcase/usage.generated.js +60 -60
- package/dist/styles/components.css +2 -2
- package/package.json +2 -2
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../src/components/tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAGrE,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,kCAAkC,CAAC;AAM1C,iBAAS,eAAe,CAAC,EAAE,KAAqB,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,CAAC,QAAQ,CAAC,KAAK,+BAM5F;AAED
|
|
1
|
+
{"version":3,"file":"tooltip.d.ts","sourceRoot":"","sources":["../../src/components/tooltip.tsx"],"names":[],"mappings":"AAEA,OAAO,EAAE,OAAO,IAAI,gBAAgB,EAAE,MAAM,wBAAwB,CAAC;AAGrE,OAAO,EAAO,KAAK,QAAQ,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAEL,KAAK,wBAAwB,EAC9B,MAAM,kCAAkC,CAAC;AAM1C,iBAAS,eAAe,CAAC,EAAE,KAAqB,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,CAAC,QAAQ,CAAC,KAAK,+BAM5F;AAED;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;GAyCG;AACH,iBAAS,OAAO,CAAC,EAAE,GAAG,KAAK,EAAE,EAAE,IAAI,CAAC,gBAAgB,CAAC,IAAI,CAAC,KAAK,EAAE,aAAa,CAAC,+BAE9E;AAED,iBAAS,cAAc,CAAC,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,gBAAgB,CAAC,OAAO,CAAC,KAAK,+BAS1E;AAED,iBAAS,cAAc,CAAC,EACtB,QAAQ,EACR,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,IAAI,CAAC,wBAAwB,EAAE,UAAU,CAAC,GAAG;IAC9C,2FAA2F;IAC3F,QAAQ,EAAE,MAAM,CAAC;IACjB,gFAAgF;IAChF,QAAQ,CAAC,EAAE,QAAQ,CAAC;CACrB,+BAYA;AAED,OAAO,EAAE,OAAO,EAAE,cAAc,EAAE,cAAc,EAAE,eAAe,EAAE,CAAC"}
|
|
@@ -23,8 +23,9 @@ function TooltipProvider({ delay = TOOLTIP_DELAY, ...props }) {
|
|
|
23
23
|
* @instead "For an entity preview with metadata rows (avatar, identifier, 2–4 facts, optional
|
|
24
24
|
* action), use `Context Card`." "For long-form content or actions that need persistence, route to a
|
|
25
25
|
* `Drawer` or page navigation." (https://vercel.com/geist/tooltip)
|
|
26
|
-
* Ours: `Context Card` is `HoverCard
|
|
27
|
-
*
|
|
26
|
+
* Ours: `Context Card` is `HoverCard`, which only this package's components draw, such as
|
|
27
|
+
* `RecordTime`, and `Drawer` is `Sheet`. Essential reasons and actions never live only in a hover
|
|
28
|
+
* tooltip: a disabled command's reason is written under it.
|
|
28
29
|
* @behaviour "Tooltips open on hover and on keyboard focus." "Keep the default ~150ms entry delay so
|
|
29
30
|
* the tooltip doesn’t flicker on a sweeping mouse." "Don’t wrap a labelled `Input` in a Tooltip."
|
|
30
31
|
* "The trigger lands on the `<label>`, not the field, and the tooltip text becomes a second
|
|
@@ -21,7 +21,8 @@ type WaitingLineProps = Omit<React.ComponentProps<"div">, "children"> & {
|
|
|
21
21
|
* @family Feedback
|
|
22
22
|
* @when A system wait the person asked for that runs past a second: a save, a connection, a
|
|
23
23
|
* download without a count.
|
|
24
|
-
* In a record's row, `WaitingDetail` puts it under the row's detail line, which names the work
|
|
24
|
+
* In a record's row, `WaitingDetail` puts it under the row's detail line, which names the work,
|
|
25
|
+
* and the row shows no status badge for the same wait. One wait gets one indicator.
|
|
25
26
|
* @instead Under a second the `PendingLabel` alone. A known amount is a progress line with a count.
|
|
26
27
|
* A page load is `Skeleton`. An Agent working is her orb and a sentence.
|
|
27
28
|
* @behaviour Takes its 2 px from the start and stays empty until 1 s, so its arrival moves nothing. It is
|
|
@@ -33,7 +34,7 @@ type WaitingLineProps = Omit<React.ComponentProps<"div">, "children"> & {
|
|
|
33
34
|
* @words None of its own. The control beside it carries the pending word; a standalone line takes a
|
|
34
35
|
* `label` naming the work: *Connecting Telegram*.
|
|
35
36
|
* @access With a label: `role="status"`, announced once after the second. `decorative` when a control or
|
|
36
|
-
* sentence beside it already names the work
|
|
37
|
+
* sentence beside it already names the work. The segment is hidden.
|
|
37
38
|
*/
|
|
38
39
|
declare function WaitingLine({ className, decorative, label, waiting, ...props }: WaitingLineProps): React.JSX.Element;
|
|
39
40
|
/** A record's wait in its row: the detail line naming the work, with the waiting line along the bottom of the detail's own box, out of the flow but inside a row that clips its detail, so the row keeps its height when its detail turns into the wait. */
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"waiting-line.d.ts","sourceRoot":"","sources":["../../src/components/waiting-line.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B;;;;GAIG;AACH,QAAA,MAAM,qBAAqB,OAAO,CAAC;AAEnC,KAAK,gBAAgB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,GAAG;IACtE,mHAAmH;IACnH,OAAO,EAAE,OAAO,CAAC;CAClB,GAAG,CAAC;IAAE,UAAU,EAAE,IAAI,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,GAAG;IAAE,UAAU,CAAC,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAElF
|
|
1
|
+
{"version":3,"file":"waiting-line.d.ts","sourceRoot":"","sources":["../../src/components/waiting-line.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B;;;;GAIG;AACH,QAAA,MAAM,qBAAqB,OAAO,CAAC;AAEnC,KAAK,gBAAgB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,GAAG;IACtE,mHAAmH;IACnH,OAAO,EAAE,OAAO,CAAC;CAClB,GAAG,CAAC;IAAE,UAAU,EAAE,IAAI,CAAC;IAAC,KAAK,CAAC,EAAE,KAAK,CAAA;CAAE,GAAG;IAAE,UAAU,CAAC,EAAE,KAAK,CAAC;IAAC,KAAK,EAAE,MAAM,CAAA;CAAE,CAAC,CAAC;AAElF;;;;;;;;;;;;;;;;;;;;GAoBG;AACH,iBAAS,WAAW,CAAC,EACnB,SAAS,EACT,UAAkB,EAClB,KAAK,EACL,OAAO,EACP,GAAG,KAAK,EACT,EAAE,gBAAgB,qBA+BlB;AAED,4PAA4P;AAC5P,iBAAS,aAAa,CAAC,EAAE,IAAI,EAAE,EAAE;IAAE,IAAI,EAAE,MAAM,CAAA;CAAE,qBAOhD;AAED,OAAO,EAAE,aAAa,EAAE,WAAW,EAAE,qBAAqB,EAAE,CAAC"}
|
|
@@ -14,7 +14,8 @@ const WAITING_LINE_DELAY_MS = 1000;
|
|
|
14
14
|
* @family Feedback
|
|
15
15
|
* @when A system wait the person asked for that runs past a second: a save, a connection, a
|
|
16
16
|
* download without a count.
|
|
17
|
-
* In a record's row, `WaitingDetail` puts it under the row's detail line, which names the work
|
|
17
|
+
* In a record's row, `WaitingDetail` puts it under the row's detail line, which names the work,
|
|
18
|
+
* and the row shows no status badge for the same wait. One wait gets one indicator.
|
|
18
19
|
* @instead Under a second the `PendingLabel` alone. A known amount is a progress line with a count.
|
|
19
20
|
* A page load is `Skeleton`. An Agent working is her orb and a sentence.
|
|
20
21
|
* @behaviour Takes its 2 px from the start and stays empty until 1 s, so its arrival moves nothing. It is
|
|
@@ -26,7 +27,7 @@ const WAITING_LINE_DELAY_MS = 1000;
|
|
|
26
27
|
* @words None of its own. The control beside it carries the pending word; a standalone line takes a
|
|
27
28
|
* `label` naming the work: *Connecting Telegram*.
|
|
28
29
|
* @access With a label: `role="status"`, announced once after the second. `decorative` when a control or
|
|
29
|
-
* sentence beside it already names the work
|
|
30
|
+
* sentence beside it already names the work. The segment is hidden.
|
|
30
31
|
*/
|
|
31
32
|
function WaitingLine({ className, decorative = false, label, waiting, ...props }) {
|
|
32
33
|
const [elapsedWait, setElapsedWait] = React.useState(false);
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { type ResolvedMessage } from "../components/product-message.js";
|
|
2
2
|
/**
|
|
3
3
|
* A record's own action that failed or cannot run, drawn inside its row
|
|
4
|
-
* (
|
|
4
|
+
* (as `RecordList` draws it): the message takes the line under
|
|
5
5
|
* the record's name and its actions take the row's controls.
|
|
6
6
|
*/
|
|
7
7
|
export type RowMessage = {
|