@nadicodeai/ui 12.1.210 → 12.1.211
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/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 +26 -21
- package/dist/components/data-table.d.ts.map +1 -1
- package/dist/components/data-table.js +34 -22
- 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/kpi-card.d.ts +10 -3
- package/dist/components/kpi-card.d.ts.map +1 -1
- package/dist/components/kpi-card.js +11 -3
- 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-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/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 +314 -44
- package/dist/components/product-shell.d.ts.map +1 -1
- package/dist/components/product-shell.js +465 -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 +18 -4
- package/dist/components/settings-section.d.ts.map +1 -1
- package/dist/components/settings-section.js +12 -4
- 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 +55 -23
- package/dist/components/table-card.d.ts.map +1 -1
- package/dist/components/table-card.js +2 -1
- 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/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/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 +159 -38
- package/dist/styles/components.css +12 -0
- package/package.json +6 -2
package/dist/index.d.ts
CHANGED
|
@@ -14,6 +14,7 @@ export * from "./components/app-mark.js";
|
|
|
14
14
|
export * from "./components/aspect-ratio.js";
|
|
15
15
|
export * from "./components/avatar.js";
|
|
16
16
|
export * from "./components/badge.js";
|
|
17
|
+
export * from "./components/board.js";
|
|
17
18
|
export * from "./components/brand.js";
|
|
18
19
|
export * from "./components/brand-field.js";
|
|
19
20
|
export * from "./components/breadcrumb.js";
|
|
@@ -47,6 +48,7 @@ export * from "./components/combobox.js";
|
|
|
47
48
|
export * from "./components/command.js";
|
|
48
49
|
export * from "./components/company-card.js";
|
|
49
50
|
export * from "./components/confirm-dialog.js";
|
|
51
|
+
export * from "./components/conversation-card.js";
|
|
50
52
|
export * from "./components/copy-button.js";
|
|
51
53
|
export * from "./components/data-table.js";
|
|
52
54
|
export * from "./components/dialog.js";
|
|
@@ -55,6 +57,7 @@ export * from "./components/disclosure.js";
|
|
|
55
57
|
export * from "./components/disclosure-row.js";
|
|
56
58
|
export * from "./components/drawer.js";
|
|
57
59
|
export * from "./components/empty-state.js";
|
|
60
|
+
export * from "./components/entry-page.js";
|
|
58
61
|
export * from "./components/entry-scene.js";
|
|
59
62
|
export * from "./components/field.js";
|
|
60
63
|
export * from "./components/file-diff.js";
|
|
@@ -90,8 +93,10 @@ export * from "./components/object-page.js";
|
|
|
90
93
|
export * from "./components/object-workspace.js";
|
|
91
94
|
export * from "./components/overview-page.js";
|
|
92
95
|
export * from "./components/page-actions.js";
|
|
96
|
+
export * from "./components/page-frame.js";
|
|
93
97
|
export * from "./components/page-header.js";
|
|
94
98
|
export * from "./components/pairing-code.js";
|
|
99
|
+
export * from "./components/plan-card.js";
|
|
95
100
|
export * from "./components/platform-mark.js";
|
|
96
101
|
export * from "./components/popover.js";
|
|
97
102
|
export * from "./components/portal-sidebar-frame.js";
|
package/dist/index.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,cAAc,wBAAwB,CAAC;AACvC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,0BAA0B,CAAC;AACzC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,gCAAgC,CAAC;AAC/C,c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ACvC,cAAc,uBAAuB,CAAC;AACtC,cAAc,qBAAqB,CAAC;AACpC,cAAc,sBAAsB,CAAC;AACrC,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,yBAAyB,CAAC;AACxC,cAAc,0BAA0B,CAAC;AACzC,cAAc,mBAAmB,CAAC;AAClC,cAAc,uBAAuB,CAAC;AACtC,cAAc,kBAAkB,CAAC;AACjC,cAAc,wBAAwB,CAAC;AACvC,cAAc,oCAAoC,CAAC;AACnD,cAAc,uBAAuB,CAAC;AACtC,cAAc,kCAAkC,CAAC;AACjD,cAAc,qBAAqB,CAAC;AACpC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,wBAAwB,CAAC;AACvC,cAAc,sBAAsB,CAAC;AACrC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,0BAA0B,CAAC;AACzC,cAAc,2BAA2B,CAAC;AAC1C,YAAY,EAAE,WAAW,EAAE,MAAM,yBAAyB,CAAC"}
|
package/dist/index.js
CHANGED
|
@@ -14,6 +14,7 @@ export * from "./components/app-mark.js";
|
|
|
14
14
|
export * from "./components/aspect-ratio.js";
|
|
15
15
|
export * from "./components/avatar.js";
|
|
16
16
|
export * from "./components/badge.js";
|
|
17
|
+
export * from "./components/board.js";
|
|
17
18
|
export * from "./components/brand.js";
|
|
18
19
|
export * from "./components/brand-field.js";
|
|
19
20
|
export * from "./components/breadcrumb.js";
|
|
@@ -47,6 +48,7 @@ export * from "./components/combobox.js";
|
|
|
47
48
|
export * from "./components/command.js";
|
|
48
49
|
export * from "./components/company-card.js";
|
|
49
50
|
export * from "./components/confirm-dialog.js";
|
|
51
|
+
export * from "./components/conversation-card.js";
|
|
50
52
|
export * from "./components/copy-button.js";
|
|
51
53
|
export * from "./components/data-table.js";
|
|
52
54
|
export * from "./components/dialog.js";
|
|
@@ -55,6 +57,7 @@ export * from "./components/disclosure.js";
|
|
|
55
57
|
export * from "./components/disclosure-row.js";
|
|
56
58
|
export * from "./components/drawer.js";
|
|
57
59
|
export * from "./components/empty-state.js";
|
|
60
|
+
export * from "./components/entry-page.js";
|
|
58
61
|
export * from "./components/entry-scene.js";
|
|
59
62
|
export * from "./components/field.js";
|
|
60
63
|
export * from "./components/file-diff.js";
|
|
@@ -90,8 +93,10 @@ export * from "./components/object-page.js";
|
|
|
90
93
|
export * from "./components/object-workspace.js";
|
|
91
94
|
export * from "./components/overview-page.js";
|
|
92
95
|
export * from "./components/page-actions.js";
|
|
96
|
+
export * from "./components/page-frame.js";
|
|
93
97
|
export * from "./components/page-header.js";
|
|
94
98
|
export * from "./components/pairing-code.js";
|
|
99
|
+
export * from "./components/plan-card.js";
|
|
95
100
|
export * from "./components/platform-mark.js";
|
|
96
101
|
export * from "./components/popover.js";
|
|
97
102
|
export * from "./components/portal-sidebar-frame.js";
|
|
@@ -16,5 +16,7 @@ export type TextSize = Exclude<ButtonSize, IconSize>;
|
|
|
16
16
|
* drawn as a button is a `ButtonLink`.
|
|
17
17
|
*/
|
|
18
18
|
export declare function buttonVariants(props?: Parameters<typeof buttonClasses>[0]): string;
|
|
19
|
+
export declare function isButtonVariant(value: unknown): value is ButtonVariant;
|
|
20
|
+
export declare function isButtonSize(value: unknown): value is ButtonSize;
|
|
19
21
|
export {};
|
|
20
22
|
//# sourceMappingURL=button-classes.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"button-classes.d.ts","sourceRoot":"","sources":["../../src/internal/button-classes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;
|
|
1
|
+
{"version":3,"file":"button-classes.d.ts","sourceRoot":"","sources":["../../src/internal/button-classes.ts"],"names":[],"mappings":"AAAA,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AA4DlE,QAAA,MAAM,aAAa;;;;8EAkBlB,CAAC;AAEF,MAAM,MAAM,aAAa,GAAG,WAAW,CAAC,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC,SAAS,CAAC,CAAC,CAAC;AACvF,MAAM,MAAM,UAAU,GAAG,WAAW,CAAC,YAAY,CAAC,OAAO,aAAa,CAAC,CAAC,MAAM,CAAC,CAAC,CAAC;AACjF,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,UAAU,EAAE,OAAO,MAAM,EAAE,CAAC,CAAC;AAC5D,MAAM,MAAM,QAAQ,GAAG,OAAO,CAAC,UAAU,EAAE,QAAQ,CAAC,CAAC;AAErD;;;;;;GAMG;AACH,wBAAgB,cAAc,CAAC,KAAK,CAAC,EAAE,UAAU,CAAC,OAAO,aAAa,CAAC,CAAC,CAAC,CAAC,GAAG,MAAM,CAElF;AAED,wBAAgB,eAAe,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,aAAa,CAEtE;AAED,wBAAgB,YAAY,CAAC,KAAK,EAAE,OAAO,GAAG,KAAK,IAAI,UAAU,CAEhE"}
|
|
@@ -2,54 +2,56 @@ import { cva } from "class-variance-authority";
|
|
|
2
2
|
import { cn } from "../lib/utils.js";
|
|
3
3
|
const heldNeutral = "disabled:border-border disabled:bg-muted disabled:text-muted-foreground aria-disabled:border-border aria-disabled:bg-muted aria-disabled:text-muted-foreground";
|
|
4
4
|
const heldDim = "disabled:opacity-50 aria-disabled:not-aria-busy:opacity-50";
|
|
5
|
+
const variantClasses = {
|
|
6
|
+
default: [
|
|
7
|
+
"bg-primary text-primary-foreground hover:bg-primary-hover active:bg-primary-hover aria-expanded:bg-primary-hover",
|
|
8
|
+
heldNeutral,
|
|
9
|
+
],
|
|
10
|
+
outline: [
|
|
11
|
+
"border-border bg-(--nc-field,var(--background)) text-foreground hover:bg-muted hover:text-foreground active:bg-muted aria-expanded:bg-muted aria-expanded:text-foreground",
|
|
12
|
+
heldNeutral,
|
|
13
|
+
],
|
|
14
|
+
secondary: [
|
|
15
|
+
"border-border bg-secondary text-secondary-foreground hover:bg-accent active:bg-accent aria-expanded:bg-accent aria-expanded:text-accent-foreground",
|
|
16
|
+
heldNeutral,
|
|
17
|
+
],
|
|
18
|
+
ghost: [
|
|
19
|
+
"hover:bg-muted hover:text-foreground active:bg-muted aria-expanded:bg-muted aria-expanded:text-foreground",
|
|
20
|
+
heldDim,
|
|
21
|
+
],
|
|
22
|
+
brandGhost: [
|
|
23
|
+
"text-nc-identity-white hover:bg-nc-identity-white/10 hover:text-nc-identity-white aria-expanded:bg-nc-identity-white/10 aria-expanded:text-nc-identity-white",
|
|
24
|
+
heldDim,
|
|
25
|
+
],
|
|
26
|
+
brandSolid: [
|
|
27
|
+
"bg-nc-identity-white text-nc-identity-ink hover:bg-nc-identity-white/90 hover:text-nc-identity-ink active:bg-nc-identity-white/90 active:text-nc-identity-ink",
|
|
28
|
+
heldDim,
|
|
29
|
+
],
|
|
30
|
+
destructive: [
|
|
31
|
+
"bg-destructive text-destructive-foreground hover:brightness-90 active:brightness-90",
|
|
32
|
+
heldNeutral,
|
|
33
|
+
],
|
|
34
|
+
warning: [
|
|
35
|
+
"bg-warning text-warning-foreground hover:brightness-90 active:brightness-90",
|
|
36
|
+
heldNeutral,
|
|
37
|
+
],
|
|
38
|
+
link: ["text-(--nc-link) underline-offset-4 hover:underline", heldDim],
|
|
39
|
+
};
|
|
40
|
+
const sizeClasses = {
|
|
41
|
+
default: "h-control-height gap-0.75 px-button-padding-inline [@media(hover:hover)_and_(pointer:fine)]:min-h-control-height [&_[data-icon]_svg:not([class*='size-'])]:size-3.5",
|
|
42
|
+
xs: "h-nadicode-control-height-xs gap-1 px-2 text-button-xs in-data-[slot=button-group]:rounded-sm has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",
|
|
43
|
+
sm: "h-nadicode-control-height-sm gap-0.75 px-button-padding-inline-sm in-data-[slot=button-group]:rounded-sm [&_svg:not([class*='size-'])]:size-3.5",
|
|
44
|
+
lg: "h-nadicode-control-height-lg gap-0.75 rounded-md px-button-padding-inline-lg text-button-lg",
|
|
45
|
+
inline: "h-auto gap-0.75 p-0 [@media(hover:hover)_and_(pointer:fine)]:min-h-control-height [&_[data-icon]_svg:not([class*='size-'])]:size-3.5",
|
|
46
|
+
icon: "size-control-height",
|
|
47
|
+
"icon-xs": "size-nadicode-control-height-xs rounded-xs-plus in-data-[slot=button-group]:rounded-sm",
|
|
48
|
+
"icon-sm": "size-nadicode-control-height-sm in-data-[slot=button-group]:rounded-sm",
|
|
49
|
+
"icon-lg": "size-nadicode-control-height-lg rounded-md",
|
|
50
|
+
};
|
|
5
51
|
const buttonClasses = cva("group/button inline-flex min-h-touch-target min-w-touch-target shrink-0 items-center justify-center rounded-sm border border-transparent bg-clip-padding text-button font-medium whitespace-nowrap transition-[background-color,border-color,color] duration-(--nc-duration-confirm) ease-(--nc-ease-out-strong) select-none disabled:pointer-events-none aria-disabled:pointer-events-none aria-invalid:border-destructive [@media(hover:hover)_and_(pointer:fine)]:min-h-0 [@media(hover:hover)_and_(pointer:fine)]:min-w-0 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg:not([class*='size-'])]:size-4", {
|
|
6
52
|
variants: {
|
|
7
|
-
variant:
|
|
8
|
-
|
|
9
|
-
"bg-primary text-primary-foreground hover:bg-primary-hover active:bg-primary-hover aria-expanded:bg-primary-hover",
|
|
10
|
-
heldNeutral,
|
|
11
|
-
],
|
|
12
|
-
outline: [
|
|
13
|
-
"border-border bg-(--nc-field,var(--background)) text-foreground hover:bg-muted hover:text-foreground active:bg-muted aria-expanded:bg-muted aria-expanded:text-foreground",
|
|
14
|
-
heldNeutral,
|
|
15
|
-
],
|
|
16
|
-
secondary: [
|
|
17
|
-
"border-border bg-secondary text-secondary-foreground hover:bg-accent active:bg-accent aria-expanded:bg-accent aria-expanded:text-accent-foreground",
|
|
18
|
-
heldNeutral,
|
|
19
|
-
],
|
|
20
|
-
ghost: [
|
|
21
|
-
"hover:bg-muted hover:text-foreground active:bg-muted aria-expanded:bg-muted aria-expanded:text-foreground",
|
|
22
|
-
heldDim,
|
|
23
|
-
],
|
|
24
|
-
brandGhost: [
|
|
25
|
-
"text-nc-identity-white hover:bg-nc-identity-white/10 hover:text-nc-identity-white aria-expanded:bg-nc-identity-white/10 aria-expanded:text-nc-identity-white",
|
|
26
|
-
heldDim,
|
|
27
|
-
],
|
|
28
|
-
brandSolid: [
|
|
29
|
-
"bg-nc-identity-white text-nc-identity-ink hover:bg-nc-identity-white/90 hover:text-nc-identity-ink active:bg-nc-identity-white/90 active:text-nc-identity-ink",
|
|
30
|
-
heldDim,
|
|
31
|
-
],
|
|
32
|
-
destructive: [
|
|
33
|
-
"bg-destructive text-destructive-foreground hover:brightness-90 active:brightness-90",
|
|
34
|
-
heldNeutral,
|
|
35
|
-
],
|
|
36
|
-
warning: [
|
|
37
|
-
"bg-warning text-warning-foreground hover:brightness-90 active:brightness-90",
|
|
38
|
-
heldNeutral,
|
|
39
|
-
],
|
|
40
|
-
link: ["text-(--nc-link) underline-offset-4 hover:underline", heldDim],
|
|
41
|
-
},
|
|
42
|
-
size: {
|
|
43
|
-
default: "h-control-height gap-0.75 px-button-padding-inline [@media(hover:hover)_and_(pointer:fine)]:min-h-control-height [&_[data-icon]_svg:not([class*='size-'])]:size-3.5",
|
|
44
|
-
xs: "h-nadicode-control-height-xs gap-1 px-2 text-button-xs in-data-[slot=button-group]:rounded-sm has-data-[icon=inline-end]:pr-1.5 has-data-[icon=inline-start]:pl-1.5 [&_svg:not([class*='size-'])]:size-3",
|
|
45
|
-
sm: "h-nadicode-control-height-sm gap-0.75 px-button-padding-inline-sm in-data-[slot=button-group]:rounded-sm [&_svg:not([class*='size-'])]:size-3.5",
|
|
46
|
-
lg: "h-nadicode-control-height-lg gap-0.75 rounded-md px-button-padding-inline-lg text-button-lg",
|
|
47
|
-
inline: "h-auto gap-0.75 p-0 [@media(hover:hover)_and_(pointer:fine)]:min-h-control-height [&_[data-icon]_svg:not([class*='size-'])]:size-3.5",
|
|
48
|
-
icon: "size-control-height",
|
|
49
|
-
"icon-xs": "size-nadicode-control-height-xs rounded-xs-plus in-data-[slot=button-group]:rounded-sm",
|
|
50
|
-
"icon-sm": "size-nadicode-control-height-sm in-data-[slot=button-group]:rounded-sm",
|
|
51
|
-
"icon-lg": "size-nadicode-control-height-lg rounded-md",
|
|
52
|
-
},
|
|
53
|
+
variant: variantClasses,
|
|
54
|
+
size: sizeClasses,
|
|
53
55
|
shape: {
|
|
54
56
|
square: "",
|
|
55
57
|
rounded: "rounded-full px-3",
|
|
@@ -72,3 +74,9 @@ const buttonClasses = cva("group/button inline-flex min-h-touch-target min-w-tou
|
|
|
72
74
|
export function buttonVariants(props) {
|
|
73
75
|
return cn(buttonClasses(props));
|
|
74
76
|
}
|
|
77
|
+
export function isButtonVariant(value) {
|
|
78
|
+
return typeof value === "string" && Object.hasOwn(variantClasses, value);
|
|
79
|
+
}
|
|
80
|
+
export function isButtonSize(value) {
|
|
81
|
+
return typeof value === "string" && Object.hasOwn(sizeClasses, value);
|
|
82
|
+
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"card-actions.d.ts","sourceRoot":"","sources":["../../src/internal/card-actions.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,WAAW,EAAE,MAAM,2BAA2B,CAAC;AAE7D,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,OAAO,EAAE,IAAI,EAAE,EAAE,WAAW,GAAG,OAAO,CAG/F"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"footer-strip.d.ts","sourceRoot":"","sources":["../../src/internal/footer-strip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,iBAAS,WAAW,CAAC,EACnB,IAAI,EACJ,QAAQ,EACR,QAAQ,GACT,EAAE;IACD,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,
|
|
1
|
+
{"version":3,"file":"footer-strip.d.ts","sourceRoot":"","sources":["../../src/internal/footer-strip.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAK/B,iBAAS,WAAW,CAAC,EACnB,IAAI,EACJ,QAAQ,EACR,QAAQ,GACT,EAAE;IACD,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,QAAQ,EAAE,MAAM,CAAC;IACjB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B,4BA+BA;AAED,OAAO,EAAE,WAAW,EAAE,CAAC"}
|
|
@@ -6,6 +6,8 @@ function FooterStrip({ hint, hintSlot, children, }) {
|
|
|
6
6
|
return null;
|
|
7
7
|
}
|
|
8
8
|
const stacksWhenNarrow = hintSlot === "settings-section-hint";
|
|
9
|
-
|
|
9
|
+
// A conversation card's answers name what they make, so under its hint each keeps its width.
|
|
10
|
+
const hintAloneWhenNarrow = stacksWhenNarrow || hintSlot === "conversation-card-hint";
|
|
11
|
+
return (_jsxs(CardFooter, { className: "relative", children: [hint && (_jsx("div", { "data-slot": hintSlot, className: cn("min-w-0 flex-1", hintAloneWhenNarrow && "max-sm:basis-full"), children: hint })), children && (_jsx("div", { className: cn("ml-auto flex flex-wrap items-center gap-3", stacksWhenNarrow && "max-sm:ml-0 max-sm:w-full max-sm:*:flex-1"), children: children }))] }));
|
|
10
12
|
}
|
|
11
13
|
export { FooterStrip };
|
|
@@ -0,0 +1,20 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The id of the page's heading `ProductShell` draws, which a dialog returns focus to when its
|
|
3
|
+
* trigger is gone. It lives outside the shell's client module so a product's server code reads
|
|
4
|
+
* the string itself: a client module's exports reach the server as references, never as values.
|
|
5
|
+
*/
|
|
6
|
+
export declare const PRODUCT_SHELL_HEADING_ID = "product-shell-heading";
|
|
7
|
+
/**
|
|
8
|
+
* The mark a product's pre-paint script sets on the root element while it holds the column's kept
|
|
9
|
+
* width, and the custom property it puts that width in, as `"320px"`: until the shell hydrates and
|
|
10
|
+
* takes the width itself (`ProductShellWidth.kept`), the column the server drew stands at it.
|
|
11
|
+
*/
|
|
12
|
+
export declare const PRODUCT_SHELL_KEPT_WIDTH_ATTRIBUTE = "data-product-shell-kept-width";
|
|
13
|
+
export declare const PRODUCT_SHELL_KEPT_WIDTH_PROPERTY = "--product-shell-kept-width";
|
|
14
|
+
/**
|
|
15
|
+
* The mark a product's pre-paint script sets on the root element, in place of the kept width, when
|
|
16
|
+
* the person keeps the column collapsed: until the shell hydrates and takes the collapse itself, the
|
|
17
|
+
* column the server drew open paints collapsed, through the kit's `column-collapsed` variant.
|
|
18
|
+
*/
|
|
19
|
+
export declare const PRODUCT_SHELL_KEPT_COLLAPSED_ATTRIBUTE = "data-product-shell-kept-collapsed";
|
|
20
|
+
//# sourceMappingURL=product-shell.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"product-shell.d.ts","sourceRoot":"","sources":["../../src/lib/product-shell.ts"],"names":[],"mappings":"AAAA;;;;GAIG;AACH,eAAO,MAAM,wBAAwB,0BAA0B,CAAC;AAEhE;;;;GAIG;AACH,eAAO,MAAM,kCAAkC,kCAAkC,CAAC;AAClF,eAAO,MAAM,iCAAiC,+BAA+B,CAAC;AAE9E;;;;GAIG;AACH,eAAO,MAAM,sCAAsC,sCAAsC,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* The id of the page's heading `ProductShell` draws, which a dialog returns focus to when its
|
|
3
|
+
* trigger is gone. It lives outside the shell's client module so a product's server code reads
|
|
4
|
+
* the string itself: a client module's exports reach the server as references, never as values.
|
|
5
|
+
*/
|
|
6
|
+
export const PRODUCT_SHELL_HEADING_ID = "product-shell-heading";
|
|
7
|
+
/**
|
|
8
|
+
* The mark a product's pre-paint script sets on the root element while it holds the column's kept
|
|
9
|
+
* width, and the custom property it puts that width in, as `"320px"`: until the shell hydrates and
|
|
10
|
+
* takes the width itself (`ProductShellWidth.kept`), the column the server drew stands at it.
|
|
11
|
+
*/
|
|
12
|
+
export const PRODUCT_SHELL_KEPT_WIDTH_ATTRIBUTE = "data-product-shell-kept-width";
|
|
13
|
+
export const PRODUCT_SHELL_KEPT_WIDTH_PROPERTY = "--product-shell-kept-width";
|
|
14
|
+
/**
|
|
15
|
+
* The mark a product's pre-paint script sets on the root element, in place of the kept width, when
|
|
16
|
+
* the person keeps the column collapsed: until the shell hydrates and takes the collapse itself, the
|
|
17
|
+
* column the server drew open paints collapsed, through the kit's `column-collapsed` variant.
|
|
18
|
+
*/
|
|
19
|
+
export const PRODUCT_SHELL_KEPT_COLLAPSED_ATTRIBUTE = "data-product-shell-kept-collapsed";
|
|
@@ -5,7 +5,10 @@ declare function CollectionFiltersSpecimen(): import("react").JSX.Element;
|
|
|
5
5
|
declare function CatalogRowsSpecimen(): import("react").JSX.Element;
|
|
6
6
|
declare function CollectionPageSpecimen(): import("react").JSX.Element;
|
|
7
7
|
declare function CollectionToolbarSpecimen(): import("react").JSX.Element;
|
|
8
|
+
declare function FilterToolbarSpecimen(): import("react").JSX.Element;
|
|
9
|
+
declare function ProductBandSpecimen(): import("react").JSX.Element;
|
|
8
10
|
declare function ConfirmDialogSpecimen(): import("react").JSX.Element;
|
|
11
|
+
declare function EntryPageSpecimen(): import("react").JSX.Element;
|
|
9
12
|
declare function EntrySceneSpecimen(): import("react").JSX.Element;
|
|
10
13
|
declare function EntryPictureSpecimen(): import("react").JSX.Element;
|
|
11
14
|
declare function InviteCardSpecimen(): import("react").JSX.Element;
|
|
@@ -17,6 +20,10 @@ declare function OverviewPageSpecimen(): import("react").JSX.Element;
|
|
|
17
20
|
declare function RecordSheetSpecimen(): import("react").JSX.Element;
|
|
18
21
|
declare function RowEditFormSpecimen(): import("react").JSX.Element;
|
|
19
22
|
declare function SettingsSectionSpecimen(): import("react").JSX.Element;
|
|
23
|
+
declare function BoardHeaderSpecimen(): import("react").JSX.Element;
|
|
24
|
+
declare function BoardEmptySpecimen(): import("react").JSX.Element;
|
|
25
|
+
declare function ConversationCardSpecimen(): import("react").JSX.Element;
|
|
26
|
+
declare function PageFrameSpecimen(): import("react").JSX.Element;
|
|
20
27
|
declare function CatalogCardSpecimen(): import("react").JSX.Element;
|
|
21
28
|
declare function StepCardsSpecimen(): import("react").JSX.Element;
|
|
22
29
|
export declare const COMPOSITIONS: {
|
|
@@ -24,12 +31,17 @@ export declare const COMPOSITIONS: {
|
|
|
24
31
|
StepCards: typeof StepCardsSpecimen;
|
|
25
32
|
ActivityFeed: typeof ActivityFeedSpecimen;
|
|
26
33
|
AgentProfileCard: typeof AgentProfileCardSpecimen;
|
|
34
|
+
BoardEmpty: typeof BoardEmptySpecimen;
|
|
35
|
+
BoardHeader: typeof BoardHeaderSpecimen;
|
|
27
36
|
CatalogDrawer: typeof CatalogDrawerSpecimen;
|
|
28
37
|
CollectionFilters: typeof CollectionFiltersSpecimen;
|
|
29
38
|
CollectionPage: typeof CollectionPageSpecimen;
|
|
30
39
|
CollectionToolbar: typeof CollectionToolbarSpecimen;
|
|
31
40
|
useCatalogRows: typeof CatalogRowsSpecimen;
|
|
32
41
|
ConfirmDialog: typeof ConfirmDialogSpecimen;
|
|
42
|
+
ConversationCard: typeof ConversationCardSpecimen;
|
|
43
|
+
FilterToolbar: typeof FilterToolbarSpecimen;
|
|
44
|
+
EntryPage: typeof EntryPageSpecimen;
|
|
33
45
|
EntryPicture: typeof EntryPictureSpecimen;
|
|
34
46
|
EntryScene: typeof EntrySceneSpecimen;
|
|
35
47
|
InviteCard: typeof InviteCardSpecimen;
|
|
@@ -40,7 +52,10 @@ export declare const COMPOSITIONS: {
|
|
|
40
52
|
ObjectPage: () => import("react").JSX.Element;
|
|
41
53
|
ObjectSection: () => import("react").JSX.Element;
|
|
42
54
|
OverviewPage: typeof OverviewPageSpecimen;
|
|
55
|
+
PageFrame: typeof PageFrameSpecimen;
|
|
56
|
+
ProductBand: typeof ProductBandSpecimen;
|
|
43
57
|
PageHeader: () => import("react").JSX.Element;
|
|
58
|
+
PlanCard: () => import("react").JSX.Element;
|
|
44
59
|
RecordList: () => import("react").JSX.Element;
|
|
45
60
|
RecordSheet: typeof RecordSheetSpecimen;
|
|
46
61
|
RowEditForm: typeof RowEditFormSpecimen;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"compositions.d.ts","sourceRoot":"","sources":["../../../src/showcase/specimens/compositions.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"compositions.d.ts","sourceRoot":"","sources":["../../../src/showcase/specimens/compositions.tsx"],"names":[],"mappings":"AAmJA,iBAAS,oBAAoB,gCA+B5B;AAMD,iBAAS,wBAAwB,gCAahC;AAED,iBAAS,qBAAqB,gCA0B7B;AAED,iBAAS,yBAAyB,gCAGjC;AAwBD,iBAAS,mBAAmB,gCAoC3B;AAED,iBAAS,sBAAsB,gCAyD9B;AAED,iBAAS,yBAAyB,gCAUjC;AAED,iBAAS,qBAAqB,gCAoB7B;AAED,iBAAS,mBAAmB,gCAQ3B;AAED,iBAAS,qBAAqB,gCAsC7B;AAED,iBAAS,iBAAiB,gCAmBzB;AAED,iBAAS,kBAAkB,gCAiB1B;AAED,iBAAS,oBAAoB,gCAS5B;AAED,iBAAS,kBAAkB,gCA0B1B;AAED,iBAAS,kBAAkB,gCAsE1B;AAED,iBAAS,kBAAkB,gCAwB1B;AAED,iBAAS,mBAAmB,gCA6B3B;AAED,iBAAS,oBAAoB,gCAkD5B;AAED,iBAAS,oBAAoB,gCAqC5B;AAED,iBAAS,mBAAmB,gCA2B3B;AAED,iBAAS,mBAAmB,gCAoB3B;AAwBD,iBAAS,uBAAuB,gCAkD/B;AAwCD,iBAAS,mBAAmB,gCAwB3B;AAED,iBAAS,kBAAkB,gCAa1B;AAED,iBAAS,wBAAwB,gCAuBhC;AAED,iBAAS,iBAAiB,gCAezB;AAED,iBAAS,mBAAmB,gCAW3B;AAED,iBAAS,iBAAiB,gCAkBzB;AAED,eAAO,MAAM,YAAY;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiHE,CAAC"}
|
|
@@ -7,6 +7,8 @@ import { AgentCard } from "../../components/agent-card.js";
|
|
|
7
7
|
import { DrawerStepBody, DrawerStepFooter, DrawerSteps } from "../../components/drawer-steps.js";
|
|
8
8
|
import { AgentOrb } from "../../components/agent-orb.js";
|
|
9
9
|
import { AgentProfileCard } from "../../components/agent-profile.js";
|
|
10
|
+
import { BoardEmpty, BoardHeader } from "../../components/board.js";
|
|
11
|
+
import { Badge } from "../../components/badge.js";
|
|
10
12
|
import { BrandWordmark } from "../../components/brand.js";
|
|
11
13
|
import { Button } from "../../components/button.js";
|
|
12
14
|
import { CatalogCard } from "../../components/catalog-card.js";
|
|
@@ -17,6 +19,8 @@ import { CollectionPage } from "../../components/collection-page.js";
|
|
|
17
19
|
import { CollectionSearch } from "../../components/collection-search.js";
|
|
18
20
|
import { CollectionToolbar } from "../../components/collection-toolbar.js";
|
|
19
21
|
import { ConfirmDialog } from "../../components/confirm-dialog.js";
|
|
22
|
+
import { ConversationCard } from "../../components/conversation-card.js";
|
|
23
|
+
import { EntryPage } from "../../components/entry-page.js";
|
|
20
24
|
import { EntryPicture } from "../../components/entry-picture.js";
|
|
21
25
|
import { EntryAction, EntryActions, EntryMessage, EntryScene } from "../../components/entry-scene.js";
|
|
22
26
|
import { FormDialog, FormDialogForm } from "../../components/form-dialog.js";
|
|
@@ -26,10 +30,14 @@ import { InviteCard } from "../../components/invite-card.js";
|
|
|
26
30
|
import { LibraryShelf } from "../../components/library-shelf.js";
|
|
27
31
|
import { NadiaPresence } from "../../components/nadia-presence.js";
|
|
28
32
|
import { ObjectPage } from "../../components/object-page.js";
|
|
33
|
+
import { FilterToolbar } from "../../components/filter-toolbar.js";
|
|
29
34
|
import { ObjectFacts, ObjectSection } from "../../components/object-workspace.js";
|
|
30
35
|
import { OverviewPage } from "../../components/overview-page.js";
|
|
31
36
|
import { PageActions, PageActionsHostProvider } from "../../components/page-actions.js";
|
|
37
|
+
import { PageFrame } from "../../components/page-frame.js";
|
|
32
38
|
import { PageHeader } from "../../components/page-header.js";
|
|
39
|
+
import { ProductBand } from "../../components/product-band.js";
|
|
40
|
+
import { PlanCard } from "../../components/plan-card.js";
|
|
33
41
|
import { RecordList } from "../../components/record-list.js";
|
|
34
42
|
import { RecordSheet } from "../../components/record-sheet.js";
|
|
35
43
|
import { StepCards } from "../../components/step-cards.js";
|
|
@@ -256,6 +264,22 @@ function CollectionToolbarSpecimen() {
|
|
|
256
264
|
const { search, filters } = useMailboxFilter();
|
|
257
265
|
return (_jsx(CollectionToolbar, { controls: _jsx(CollectionFilters, { ...filters }), label: "Mailbox tools", search: _jsx(CollectionSearch, { ...search }), surface: "plain" }));
|
|
258
266
|
}
|
|
267
|
+
function FilterToolbarSpecimen() {
|
|
268
|
+
const { search, filters } = useMailboxFilter();
|
|
269
|
+
return (_jsx(FilterToolbar, { clear: { label: "Clear filters", onClear: nothing }, filters: filters, label: "Mailbox filters", search: search, sort: {
|
|
270
|
+
label: "Sort by",
|
|
271
|
+
value: "newest",
|
|
272
|
+
options: [
|
|
273
|
+
{ value: "newest", label: "Newest first" },
|
|
274
|
+
{ value: "address", label: "Address" },
|
|
275
|
+
],
|
|
276
|
+
onValueChange: nothing,
|
|
277
|
+
}, surface: "plain" }));
|
|
278
|
+
}
|
|
279
|
+
function ProductBandSpecimen() {
|
|
280
|
+
const art = useEmptyArt();
|
|
281
|
+
return (_jsxs(ProductBand, { picture: _jsx("img", { alt: "", className: "size-full object-contain", src: art.agents }), children: [_jsx("h4", { className: "text-heading-sm", children: "Nadia" }), _jsx(Button, { className: "w-fit", children: "Download for macOS" })] }));
|
|
282
|
+
}
|
|
259
283
|
function ConfirmDialogSpecimen() {
|
|
260
284
|
const [open, setOpen] = useState(null);
|
|
261
285
|
const close = () => setOpen(null);
|
|
@@ -264,6 +288,15 @@ function ConfirmDialogSpecimen() {
|
|
|
264
288
|
prompt: "To confirm, type the mailbox address pec@acme.it",
|
|
265
289
|
} })] }));
|
|
266
290
|
}
|
|
291
|
+
function EntryPageSpecimen() {
|
|
292
|
+
return (_jsx("div", { className: "h-144 max-w-3xl overflow-auto rounded-md border", children: _jsx(EntryPage, { main: _jsx("div", {}), actions: _jsx(Button, { variant: "ghost", children: "Use another account" }), brand: _jsx(BrandWordmark, {}), card: true, heading: _jsx("p", { className: "text-center text-heading-lg", children: "Use the invited account" }), notice: {
|
|
293
|
+
action: { label: "Use another account", onClick: nothing },
|
|
294
|
+
description: "Sign in with the address the invitation went to.",
|
|
295
|
+
liveRegion: "off",
|
|
296
|
+
title: "This invitation is for another account",
|
|
297
|
+
tone: "warning",
|
|
298
|
+
} }) }));
|
|
299
|
+
}
|
|
267
300
|
function EntrySceneSpecimen() {
|
|
268
301
|
const art = useEmptyArt();
|
|
269
302
|
return (_jsx("div", { className: "max-w-3xl overflow-hidden rounded-md", children: _jsxs(EntryScene, { picture: _jsx("img", { alt: "", className: "size-full object-cover", src: art.agents }), presence: _jsx(NadiaPresence, { label: "Nadia is ready", reveal: 1, state: "ready" }), title: "Nadia is ready", wordmark: _jsx(BrandWordmark, {}), children: [_jsx(EntryMessage, { children: "Sign in to bring your Agents to this computer." }), _jsx(EntryActions, { children: _jsx(EntryAction, { children: "Sign in" }) })] }) }));
|
|
@@ -454,6 +487,35 @@ const reconnect = (mailbox) => [
|
|
|
454
487
|
onClick: nothing,
|
|
455
488
|
},
|
|
456
489
|
];
|
|
490
|
+
function BoardHeaderSpecimen() {
|
|
491
|
+
const [search, setSearch] = useState("");
|
|
492
|
+
return (_jsx(BoardHeader, { actions: {
|
|
493
|
+
primary: { label: "New assignment", icon: _jsx(Plus, {}), onClick: nothing },
|
|
494
|
+
secondary: { label: "Assignment settings", onClick: nothing },
|
|
495
|
+
}, controls: _jsx(Button, { size: "sm", variant: "outline", children: "All boards" }), description: "The work the Agents take on, one card per assignment.", label: "Assignment tools", search: {
|
|
496
|
+
label: "Find an assignment",
|
|
497
|
+
clearLabel: "Clear search",
|
|
498
|
+
value: search,
|
|
499
|
+
onValueChange: setSearch,
|
|
500
|
+
}, title: "Assignments" }));
|
|
501
|
+
}
|
|
502
|
+
function BoardEmptySpecimen() {
|
|
503
|
+
const art = useEmptyArt();
|
|
504
|
+
return (_jsx("div", { className: "flex h-96 flex-col overflow-hidden rounded-md border border-border", children: _jsx(BoardEmpty, { action: { label: "New assignment", icon: _jsx(Plus, {}), onClick: nothing }, description: "Give an Agent work to do, and follow it from To sort to Done.", kind: "firstUse", picture: art.assignments, title: "No assignments yet" }) }));
|
|
505
|
+
}
|
|
506
|
+
function ConversationCardSpecimen() {
|
|
507
|
+
return (_jsx("div", { className: "max-w-xl", children: _jsx(ConversationCard, { description: "Finds public tenders for Acme and sends the road works to sales.", footer: {
|
|
508
|
+
hint: "To change something, tell Nadia.",
|
|
509
|
+
secondary: { label: "Change by hand", onClick: nothing },
|
|
510
|
+
primary: { label: "Create Gara", onClick: nothing },
|
|
511
|
+
}, mark: { kind: "agent", orb: { form: "sofia", color: COBALTO } }, origin: "From the Tenders Agent template", title: "Gara", children: _jsx(ObjectFacts, { facts: [
|
|
512
|
+
{ label: "Permissions", value: "Ask me only when unsure" },
|
|
513
|
+
{ label: "Model", value: "Set by the Agent template" },
|
|
514
|
+
] }) }) }));
|
|
515
|
+
}
|
|
516
|
+
function PageFrameSpecimen() {
|
|
517
|
+
return (_jsx("div", { className: "h-96 overflow-hidden rounded-md border border-border", children: _jsx(PageFrame, { column: "settings", description: "The mailboxes every Agent on this computer can read and send mail from.", main: _jsx("div", {}), title: "Mail", children: _jsx(SettingsPage, { children: _jsx(SenderSection, {}) }) }) }));
|
|
518
|
+
}
|
|
457
519
|
function CatalogCardSpecimen() {
|
|
458
520
|
return (_jsx("div", { className: "max-w-sm", children: _jsx(CatalogCard, { description: "Send, read and sort email from your Gmail accounts.", mark: { kind: "record", icon: Mail }, name: "Gmail", onOpen: () => { } }) }));
|
|
459
521
|
}
|
|
@@ -474,12 +536,17 @@ export const COMPOSITIONS = {
|
|
|
474
536
|
StepCards: StepCardsSpecimen,
|
|
475
537
|
ActivityFeed: ActivityFeedSpecimen,
|
|
476
538
|
AgentProfileCard: AgentProfileCardSpecimen,
|
|
539
|
+
BoardEmpty: BoardEmptySpecimen,
|
|
540
|
+
BoardHeader: BoardHeaderSpecimen,
|
|
477
541
|
CatalogDrawer: CatalogDrawerSpecimen,
|
|
478
542
|
CollectionFilters: CollectionFiltersSpecimen,
|
|
479
543
|
CollectionPage: CollectionPageSpecimen,
|
|
480
544
|
CollectionToolbar: CollectionToolbarSpecimen,
|
|
481
545
|
useCatalogRows: CatalogRowsSpecimen,
|
|
482
546
|
ConfirmDialog: ConfirmDialogSpecimen,
|
|
547
|
+
ConversationCard: ConversationCardSpecimen,
|
|
548
|
+
FilterToolbar: FilterToolbarSpecimen,
|
|
549
|
+
EntryPage: EntryPageSpecimen,
|
|
483
550
|
EntryPicture: EntryPictureSpecimen,
|
|
484
551
|
EntryScene: EntrySceneSpecimen,
|
|
485
552
|
InviteCard: InviteCardSpecimen,
|
|
@@ -501,7 +568,10 @@ export const COMPOSITIONS = {
|
|
|
501
568
|
},
|
|
502
569
|
] }) })),
|
|
503
570
|
OverviewPage: OverviewPageSpecimen,
|
|
571
|
+
PageFrame: PageFrameSpecimen,
|
|
572
|
+
ProductBand: ProductBandSpecimen,
|
|
504
573
|
PageHeader: () => (_jsxs(PageActionsHostProvider, { children: [_jsx(PageHeader, { title: "Customers" }), _jsx(PageActions, { primary: { label: "Invite customer", icon: _jsx(Plus, {}), onClick: nothing } })] })),
|
|
574
|
+
PlanCard: () => (_jsx("div", { className: "grid max-w-md gap-4", children: _jsx(PlanCard, { action: _jsx(Button, { children: "Subscribe" }), allowance: { figure: "3×", label: "Three times the usage of Pro" }, inclusions: { label: "Included", items: ["A Granola seat for each technician"] }, name: "Business", price: { amount: "€149", period: "/mo", note: "VAT excluded" }, status: _jsx(Badge, { variant: "outline", children: "Recommended" }) }) })),
|
|
505
575
|
RecordList: () => (_jsxs("div", { className: "grid gap-6", children: [_jsx(RecordList, { ...MAILBOX_LIST, footer: { count: "3 mailboxes" }, label: "Mailboxes", records: MAILBOXES }), _jsx(RecordList, { ...MAILBOX_LIST, commands: reconnect, label: "Mailboxes with one command", records: MAILBOXES }), _jsx(RecordList, { ...MAILBOX_LIST, commands: (mailbox) => [
|
|
506
576
|
...reconnect(mailbox).map((command) => ({ ...command, main: true })),
|
|
507
577
|
...RECORD_COMMANDS,
|
|
@@ -81,6 +81,9 @@ export declare const SPECIMENS: {
|
|
|
81
81
|
TextWithCopyButton: () => import("react").JSX.Element;
|
|
82
82
|
UsageMeter: () => import("react").JSX.Element;
|
|
83
83
|
ProductShell: () => import("react").JSX.Element;
|
|
84
|
+
ColumnFoot: () => import("react").JSX.Element;
|
|
85
|
+
SidebarFoot: () => import("react").JSX.Element;
|
|
86
|
+
PlaceCount: () => import("react").JSX.Element;
|
|
84
87
|
AgentListRow: () => import("react").JSX.Element;
|
|
85
88
|
DocumentTabs: () => import("react").JSX.Element;
|
|
86
89
|
FileTree: () => import("react").JSX.Element;
|
|
@@ -163,12 +166,17 @@ export declare const SPECIMENS: {
|
|
|
163
166
|
StepCards: () => import("react").JSX.Element;
|
|
164
167
|
ActivityFeed: () => import("react").JSX.Element;
|
|
165
168
|
AgentProfileCard: () => import("react").JSX.Element;
|
|
169
|
+
BoardEmpty: () => import("react").JSX.Element;
|
|
170
|
+
BoardHeader: () => import("react").JSX.Element;
|
|
166
171
|
CatalogDrawer: () => import("react").JSX.Element;
|
|
167
172
|
CollectionFilters: () => import("react").JSX.Element;
|
|
168
173
|
CollectionPage: () => import("react").JSX.Element;
|
|
169
174
|
CollectionToolbar: () => import("react").JSX.Element;
|
|
170
175
|
useCatalogRows: () => import("react").JSX.Element;
|
|
171
176
|
ConfirmDialog: () => import("react").JSX.Element;
|
|
177
|
+
ConversationCard: () => import("react").JSX.Element;
|
|
178
|
+
FilterToolbar: () => import("react").JSX.Element;
|
|
179
|
+
EntryPage: () => import("react").JSX.Element;
|
|
172
180
|
EntryPicture: () => import("react").JSX.Element;
|
|
173
181
|
EntryScene: () => import("react").JSX.Element;
|
|
174
182
|
InviteCard: () => import("react").JSX.Element;
|
|
@@ -179,7 +187,10 @@ export declare const SPECIMENS: {
|
|
|
179
187
|
ObjectPage: () => import("react").JSX.Element;
|
|
180
188
|
ObjectSection: () => import("react").JSX.Element;
|
|
181
189
|
OverviewPage: () => import("react").JSX.Element;
|
|
190
|
+
PageFrame: () => import("react").JSX.Element;
|
|
191
|
+
ProductBand: () => import("react").JSX.Element;
|
|
182
192
|
PageHeader: () => import("react").JSX.Element;
|
|
193
|
+
PlanCard: () => import("react").JSX.Element;
|
|
183
194
|
RecordList: () => import("react").JSX.Element;
|
|
184
195
|
RecordSheet: () => import("react").JSX.Element;
|
|
185
196
|
RowEditForm: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/showcase/specimens/index.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,SAAS
|
|
1
|
+
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/showcase/specimens/index.ts"],"names":[],"mappings":"AAcA,eAAO,MAAM,SAAS;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAYiB,CAAC"}
|
|
@@ -1,3 +1,4 @@
|
|
|
1
|
+
declare function ColumnFootSpecimen(): import("react").JSX.Element;
|
|
1
2
|
declare function CommandDialogSpecimen(): import("react").JSX.Element;
|
|
2
3
|
declare function ScopeSwitcherSpecimen(): import("react").JSX.Element;
|
|
3
4
|
declare function SidebarSectionsSpecimen(): import("react").JSX.Element;
|
|
@@ -5,6 +6,9 @@ declare function TabsSpecimen(): import("react").JSX.Element;
|
|
|
5
6
|
declare function ProductShellSpecimen(): import("react").JSX.Element;
|
|
6
7
|
export declare const NAVIGATION: {
|
|
7
8
|
ProductShell: typeof ProductShellSpecimen;
|
|
9
|
+
ColumnFoot: typeof ColumnFootSpecimen;
|
|
10
|
+
SidebarFoot: () => import("react").JSX.Element;
|
|
11
|
+
PlaceCount: () => import("react").JSX.Element;
|
|
8
12
|
AgentListRow: () => import("react").JSX.Element;
|
|
9
13
|
DocumentTabs: () => import("react").JSX.Element;
|
|
10
14
|
FileTree: () => import("react").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../src/showcase/specimens/navigation.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"navigation.d.ts","sourceRoot":"","sources":["../../../src/showcase/specimens/navigation.tsx"],"names":[],"mappings":"AAsFA,iBAAS,kBAAkB,gCA4B1B;AAED,iBAAS,qBAAqB,gCAkC7B;AAED,iBAAS,qBAAqB,gCAmB7B;AAED,iBAAS,uBAAuB,gCAiE/B;AAED,iBAAS,YAAY,gCAqCpB;AA6ED,iBAAS,oBAAoB,gCAsE5B;AAED,eAAO,MAAM,UAAU;;;;;;;;;;;;;;;;;;;;;;;CAkUI,CAAC"}
|
|
@@ -4,6 +4,8 @@ import { Building2, CircleStop, CreditCard, Download, Laptop, LayoutDashboard, S
|
|
|
4
4
|
import { useState } from "react";
|
|
5
5
|
import { AccountMenuIdentity } from "../../components/account-menu.js";
|
|
6
6
|
import { AgentListRow } from "../../components/agent-list-row.js";
|
|
7
|
+
import { ColumnFoot } from "../../components/column-foot.js";
|
|
8
|
+
import { PlaceCount } from "../../components/place-count.js";
|
|
7
9
|
import { BrandWordmark } from "../../components/brand.js";
|
|
8
10
|
import { DocumentTabs } from "../../components/document-tabs.js";
|
|
9
11
|
import { FileTree } from "../../components/file-tree.js";
|
|
@@ -16,7 +18,7 @@ import { Kbd } from "../../components/kbd.js";
|
|
|
16
18
|
import { PortalSidebarFrame } from "../../components/portal-sidebar-frame.js";
|
|
17
19
|
import { ProductShell } from "../../components/product-shell.js";
|
|
18
20
|
import { ScopeSwitcher } from "../../components/scope-switcher.js";
|
|
19
|
-
import { Sidebar, SidebarBrand, SidebarContent, SidebarFind, SidebarFrame, SidebarGroup, SidebarGroupLabel, SidebarEntryCard, SidebarMenu, SidebarMenuButton, SidebarMenuChevron, SidebarMenuItem, SidebarProvider, } from "../../components/sidebar.js";
|
|
21
|
+
import { Sidebar, SidebarBrand, SidebarContent, SidebarFind, SidebarFrame, SidebarGroup, SidebarGroupLabel, SidebarEntryCard, SidebarFoot, SidebarMenu, SidebarMenuButton, SidebarMenuChevron, SidebarMenuItem, SidebarProvider, } from "../../components/sidebar.js";
|
|
20
22
|
import { SidebarSections } from "../../components/sidebar-sections.js";
|
|
21
23
|
import { Tabs, TabsContent, TabsList, TabsTrigger } from "../../components/tabs.js";
|
|
22
24
|
import { TabsLink, TabsNav } from "../../components/tabs-nav.js";
|
|
@@ -25,6 +27,26 @@ import { answered, COBALTO, nothing, VERDE } from "../samples.js";
|
|
|
25
27
|
function Navigation({ children }) {
|
|
26
28
|
return (_jsx(SidebarProvider, { className: "min-h-0", mobileSheet: false, passive: true, children: children }));
|
|
27
29
|
}
|
|
30
|
+
function ColumnFootSpecimen() {
|
|
31
|
+
const [theme, setTheme] = useState("system");
|
|
32
|
+
return (_jsx(Navigation, { children: _jsx("div", { className: "relative w-64 bg-sidebar", children: _jsx(ColumnFoot, { account: {
|
|
33
|
+
identity: { name: "Ada Rossi", initials: "AR", lines: ["ada@acme.it"] },
|
|
34
|
+
label: "Account: Ada Rossi",
|
|
35
|
+
theme: {
|
|
36
|
+
label: "Theme",
|
|
37
|
+
labels: { system: "System", light: "Light", dark: "Dark" },
|
|
38
|
+
value: theme,
|
|
39
|
+
onValueChange: setTheme,
|
|
40
|
+
},
|
|
41
|
+
last: { label: "Sign out", icon: _jsx(CircleStop, {}), onClick: nothing },
|
|
42
|
+
}, band: {
|
|
43
|
+
update: {
|
|
44
|
+
state: "available",
|
|
45
|
+
title: "Alveare 0.9.0 is ready",
|
|
46
|
+
action: { label: "Update", onClick: nothing },
|
|
47
|
+
},
|
|
48
|
+
} }) }) }));
|
|
49
|
+
}
|
|
28
50
|
function CommandDialogSpecimen() {
|
|
29
51
|
const [open, setOpen] = useState(false);
|
|
30
52
|
return (_jsxs(_Fragment, { children: [_jsxs(Button, { onClick: () => setOpen(true), variant: "outline", children: ["Find", _jsx(Kbd, { meta: true, size: "sm", keyName: "K" })] }), _jsxs(CommandDialog, { closeLabel: "Close", description: "Find an Agent, a customer or a page", onOpenChange: setOpen, open: open, resultCount: (count) => `${count} results`, title: "Find", children: [_jsx(CommandInput, { placeholder: "Find anything" }), _jsxs(CommandList, { children: [_jsx(CommandEmpty, { children: "Nothing matches" }), _jsxs(CommandGroup, { heading: "Agents", children: [_jsx(CommandItem, { onSelect: () => setOpen(false), children: "Invoices" }), _jsx(CommandItem, { onSelect: () => setOpen(false), children: "Orders" })] }), _jsxs(CommandGroup, { heading: "Go to", children: [_jsxs(CommandItem, { onSelect: () => setOpen(false), children: ["Usage and billing", _jsx(CommandShortcut, { meta: true, keyName: "U" })] }), _jsx(CommandItem, { onSelect: () => setOpen(false), children: "New Agent" })] })] })] })] }));
|
|
@@ -194,6 +216,9 @@ function ProductShellSpecimen() {
|
|
|
194
216
|
}
|
|
195
217
|
export const NAVIGATION = {
|
|
196
218
|
ProductShell: ProductShellSpecimen,
|
|
219
|
+
ColumnFoot: ColumnFootSpecimen,
|
|
220
|
+
SidebarFoot: () => (_jsx(Navigation, { children: _jsx("div", { className: "relative w-64 bg-sidebar", children: _jsx(SidebarFoot, { account: _jsx(SidebarMenu, { children: _jsx(SidebarMenuItem, { children: _jsx(SidebarMenuButton, { children: "Ada Rossi" }) }) }) }) }) })),
|
|
221
|
+
PlaceCount: () => (_jsx(Navigation, { children: _jsxs(SidebarMenu, { className: "w-64", children: [_jsxs(SidebarMenuItem, { children: [_jsxs(SidebarMenuButton, { children: [_jsx(Users, { "aria-hidden": "true" }), _jsx("span", { children: "Colleagues" })] }), _jsx(PlaceCount, { count: 3, spoken: "unread messages" })] }), _jsxs(SidebarMenuItem, { children: [_jsxs(SidebarMenuButton, { children: [_jsx(Laptop, { "aria-hidden": "true" }), _jsx("span", { children: "Installations" })] }), _jsx(PlaceCount, { count: 120, tone: "attention" })] })] }) })),
|
|
197
222
|
AgentListRow: () => (_jsxs("ul", { className: "grid max-w-xs gap-1", children: [_jsx("li", { children: _jsx(AgentListRow, { color: COBALTO, current: true, form: "orbit", name: "Invoices", state: "working", stateLine: "Drafting October's invoices" }) }), _jsx("li", { children: _jsx(AgentListRow, { color: VERDE, form: "lattice", name: "Orders", state: "waiting", stateLine: "Waiting for you" }) })] })),
|
|
198
223
|
DocumentTabs: () => _jsx(DocumentTabsSpecimen, {}),
|
|
199
224
|
FileTree: () => _jsx(FileTreeSpecimen, {}),
|