@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
|
@@ -17,6 +17,33 @@ export declare const tableCompactLayouts: {
|
|
|
17
17
|
readonly wideOnly: "hidden @3xl/table:contents";
|
|
18
18
|
readonly table: "@max-3xl/table:table-auto @max-3xl/table:[&_td]:whitespace-normal @max-3xl/table:[&_th:not(:first-child):not([data-identity])]:w-px";
|
|
19
19
|
};
|
|
20
|
+
readonly ample: {
|
|
21
|
+
readonly width: 832;
|
|
22
|
+
readonly column: "hidden @min-[52rem]/table:table-cell";
|
|
23
|
+
readonly track: "hidden @min-[52rem]/table:table-column";
|
|
24
|
+
readonly row: "@max-[52rem]/table:[&>td]:border-b-0 @max-[52rem]/table:[&>td]:after:hidden @max-[52rem]/table:h-auto! @max-[52rem]/table:[&>td]:pb-1!";
|
|
25
|
+
readonly details: "@min-[52rem]/table:hidden";
|
|
26
|
+
readonly wideOnly: "hidden @min-[52rem]/table:contents";
|
|
27
|
+
readonly table: "@max-[52rem]/table:table-auto @max-[52rem]/table:[&_td]:whitespace-normal @max-[52rem]/table:[&_th:not(:first-child):not([data-identity])]:w-px";
|
|
28
|
+
};
|
|
29
|
+
readonly large: {
|
|
30
|
+
readonly width: 896;
|
|
31
|
+
readonly column: "hidden @4xl/table:table-cell";
|
|
32
|
+
readonly track: "hidden @4xl/table:table-column";
|
|
33
|
+
readonly row: "@max-4xl/table:[&>td]:border-b-0 @max-4xl/table:[&>td]:after:hidden @max-4xl/table:h-auto! @max-4xl/table:[&>td]:pb-1!";
|
|
34
|
+
readonly details: "@4xl/table:hidden";
|
|
35
|
+
readonly wideOnly: "hidden @4xl/table:contents";
|
|
36
|
+
readonly table: "@max-4xl/table:table-auto @max-4xl/table:[&_td]:whitespace-normal @max-4xl/table:[&_th:not(:first-child):not([data-identity])]:w-px";
|
|
37
|
+
};
|
|
38
|
+
readonly generous: {
|
|
39
|
+
readonly width: 960;
|
|
40
|
+
readonly column: "hidden @min-[60rem]/table:table-cell";
|
|
41
|
+
readonly track: "hidden @min-[60rem]/table:table-column";
|
|
42
|
+
readonly row: "@max-[60rem]/table:[&>td]:border-b-0 @max-[60rem]/table:[&>td]:after:hidden @max-[60rem]/table:h-auto! @max-[60rem]/table:[&>td]:pb-1!";
|
|
43
|
+
readonly details: "@min-[60rem]/table:hidden";
|
|
44
|
+
readonly wideOnly: "hidden @min-[60rem]/table:contents";
|
|
45
|
+
readonly table: "@max-[60rem]/table:table-auto @max-[60rem]/table:[&_td]:whitespace-normal @max-[60rem]/table:[&_th:not(:first-child):not([data-identity])]:w-px";
|
|
46
|
+
};
|
|
20
47
|
readonly wide: {
|
|
21
48
|
readonly width: 1024;
|
|
22
49
|
readonly column: "hidden @5xl/table:table-cell";
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-layouts.d.ts","sourceRoot":"","sources":["../../src/components/table-layouts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB
|
|
1
|
+
{"version":3,"file":"table-layouts.d.ts","sourceRoot":"","sources":["../../src/components/table-layouts.ts"],"names":[],"mappings":"AAAA,eAAO,MAAM,mBAAmB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CA8GtB,CAAC;AAEX,MAAM,MAAM,kBAAkB,GAAG,MAAM,OAAO,mBAAmB,CAAC;AAkBlE;;;;;GAKG;AACH,wBAAgB,gBAAgB,CAAC,KAAK,EAAE,SAAS,CAAC,MAAM,GAAG,SAAS,CAAC,EAAE,GAAG,kBAAkB,CAG3F"}
|
|
@@ -17,6 +17,33 @@ export const tableCompactLayouts = {
|
|
|
17
17
|
wideOnly: "hidden @3xl/table:contents",
|
|
18
18
|
table: "@max-3xl/table:table-auto @max-3xl/table:[&_td]:whitespace-normal @max-3xl/table:[&_th:not(:first-child):not([data-identity])]:w-px",
|
|
19
19
|
},
|
|
20
|
+
ample: {
|
|
21
|
+
width: 832,
|
|
22
|
+
column: "hidden @min-[52rem]/table:table-cell",
|
|
23
|
+
track: "hidden @min-[52rem]/table:table-column",
|
|
24
|
+
row: "@max-[52rem]/table:[&>td]:border-b-0 @max-[52rem]/table:[&>td]:after:hidden @max-[52rem]/table:h-auto! @max-[52rem]/table:[&>td]:pb-1!",
|
|
25
|
+
details: "@min-[52rem]/table:hidden",
|
|
26
|
+
wideOnly: "hidden @min-[52rem]/table:contents",
|
|
27
|
+
table: "@max-[52rem]/table:table-auto @max-[52rem]/table:[&_td]:whitespace-normal @max-[52rem]/table:[&_th:not(:first-child):not([data-identity])]:w-px",
|
|
28
|
+
},
|
|
29
|
+
large: {
|
|
30
|
+
width: 896,
|
|
31
|
+
column: "hidden @4xl/table:table-cell",
|
|
32
|
+
track: "hidden @4xl/table:table-column",
|
|
33
|
+
row: "@max-4xl/table:[&>td]:border-b-0 @max-4xl/table:[&>td]:after:hidden @max-4xl/table:h-auto! @max-4xl/table:[&>td]:pb-1!",
|
|
34
|
+
details: "@4xl/table:hidden",
|
|
35
|
+
wideOnly: "hidden @4xl/table:contents",
|
|
36
|
+
table: "@max-4xl/table:table-auto @max-4xl/table:[&_td]:whitespace-normal @max-4xl/table:[&_th:not(:first-child):not([data-identity])]:w-px",
|
|
37
|
+
},
|
|
38
|
+
generous: {
|
|
39
|
+
width: 960,
|
|
40
|
+
column: "hidden @min-[60rem]/table:table-cell",
|
|
41
|
+
track: "hidden @min-[60rem]/table:table-column",
|
|
42
|
+
row: "@max-[60rem]/table:[&>td]:border-b-0 @max-[60rem]/table:[&>td]:after:hidden @max-[60rem]/table:h-auto! @max-[60rem]/table:[&>td]:pb-1!",
|
|
43
|
+
details: "@min-[60rem]/table:hidden",
|
|
44
|
+
wideOnly: "hidden @min-[60rem]/table:contents",
|
|
45
|
+
table: "@max-[60rem]/table:table-auto @max-[60rem]/table:[&_td]:whitespace-normal @max-[60rem]/table:[&_th:not(:first-child):not([data-identity])]:w-px",
|
|
46
|
+
},
|
|
20
47
|
wide: {
|
|
21
48
|
width: 1024,
|
|
22
49
|
column: "hidden @5xl/table:table-cell",
|
|
@@ -77,6 +104,9 @@ const UNSIZED_COLUMN_FLOOR = 160;
|
|
|
77
104
|
const NARROWEST_FIRST = [
|
|
78
105
|
"tight",
|
|
79
106
|
"standard",
|
|
107
|
+
"ample",
|
|
108
|
+
"large",
|
|
109
|
+
"generous",
|
|
80
110
|
"wide",
|
|
81
111
|
"roomy",
|
|
82
112
|
"spacious",
|
|
@@ -6,6 +6,15 @@ export declare function showMessageToast(message: ResolvedMessage, options: {
|
|
|
6
6
|
tone: MessageToastTone;
|
|
7
7
|
id?: string;
|
|
8
8
|
}): void;
|
|
9
|
+
/**
|
|
10
|
+
* A toast that stays until the product takes it down with `dismissToast(id)` or the person closes
|
|
11
|
+
* it, for a notice that lasts as long as its cause, such as a company entry that fell short: its
|
|
12
|
+
* action runs without taking the toast down, so the outcome replaces it (the same `id`) or lets it go.
|
|
13
|
+
*/
|
|
14
|
+
export declare function showStayingToast(message: ResolvedMessage, options: {
|
|
15
|
+
tone: MessageToastTone;
|
|
16
|
+
id: string;
|
|
17
|
+
}): void;
|
|
9
18
|
/**
|
|
10
19
|
* A toast whose lifetime another store holds, such as Hermes's notification
|
|
11
20
|
* store in Nadia's window: it stays until `dismissToast(id)`, offers the
|
|
@@ -17,6 +26,6 @@ export declare function showHeldToast(message: ResolvedMessage, options: {
|
|
|
17
26
|
id: string;
|
|
18
27
|
onClose: () => void;
|
|
19
28
|
}): void;
|
|
20
|
-
/** Takes down the
|
|
29
|
+
/** Takes down the toast `id`: a held one without calling its `onClose`, or a staying one. */
|
|
21
30
|
export declare function dismissToast(id: string): void;
|
|
22
31
|
//# sourceMappingURL=toast.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../src/components/toast.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmB,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE1E,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;AAExE,0FAA0F;AAC1F,wBAAgB,aAAa,IAAI,IAAI,CAEpC;AAED,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,eAAe,EACxB,OAAO,EAAE;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,GAC/C,IAAI,CAON;AAOD;;;;;GAKG;AACH,wBAAgB,aAAa,CAC3B,OAAO,EAAE,eAAe,EACxB,OAAO,EAAE;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,GACnE,IAAI,CAiBN;AAED,
|
|
1
|
+
{"version":3,"file":"toast.d.ts","sourceRoot":"","sources":["../../src/components/toast.ts"],"names":[],"mappings":"AAIA,OAAO,EAAmB,KAAK,eAAe,EAAE,MAAM,mBAAmB,CAAC;AAE1E,MAAM,MAAM,gBAAgB,GAAG,SAAS,GAAG,MAAM,GAAG,SAAS,GAAG,OAAO,CAAC;AAExE,0FAA0F;AAC1F,wBAAgB,aAAa,IAAI,IAAI,CAEpC;AAED,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,eAAe,EACxB,OAAO,EAAE;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,EAAE,CAAC,EAAE,MAAM,CAAA;CAAE,GAC/C,IAAI,CAON;AAED;;;;GAIG;AACH,wBAAgB,gBAAgB,CAC9B,OAAO,EAAE,eAAe,EACxB,OAAO,EAAE;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,EAAE,EAAE,MAAM,CAAA;CAAE,GAC9C,IAAI,CAiBN;AAOD;;;;;GAKG;AACH,wBAAgB,aAAa,CAC3B,OAAO,EAAE,eAAe,EACxB,OAAO,EAAE;IAAE,IAAI,EAAE,gBAAgB,CAAC;IAAC,EAAE,EAAE,MAAM,CAAC;IAAC,OAAO,EAAE,MAAM,IAAI,CAAA;CAAE,GACnE,IAAI,CAiBN;AAED,6FAA6F;AAC7F,wBAAgB,YAAY,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAE7C"}
|
package/dist/components/toast.js
CHANGED
|
@@ -14,6 +14,29 @@ export function showMessageToast(message, options) {
|
|
|
14
14
|
action: action?.onClick ? { label: action.label, onClick: action.onClick } : undefined,
|
|
15
15
|
});
|
|
16
16
|
}
|
|
17
|
+
/**
|
|
18
|
+
* A toast that stays until the product takes it down with `dismissToast(id)` or the person closes
|
|
19
|
+
* it, for a notice that lasts as long as its cause, such as a company entry that fell short: its
|
|
20
|
+
* action runs without taking the toast down, so the outcome replaces it (the same `id`) or lets it go.
|
|
21
|
+
*/
|
|
22
|
+
export function showStayingToast(message, options) {
|
|
23
|
+
const action = message.actions.find((command) => command.onClick !== undefined);
|
|
24
|
+
toast[options.tone](message.title, {
|
|
25
|
+
id: options.id,
|
|
26
|
+
description: bodyBeyondTitle(message) ?? undefined,
|
|
27
|
+
duration: Number.POSITIVE_INFINITY,
|
|
28
|
+
action: action?.onClick
|
|
29
|
+
? {
|
|
30
|
+
label: action.label,
|
|
31
|
+
onClick: (event) => {
|
|
32
|
+
// Sonner takes an action's toast down as the click resolves unless the click says not to.
|
|
33
|
+
event.preventDefault();
|
|
34
|
+
action.onClick?.(event);
|
|
35
|
+
},
|
|
36
|
+
}
|
|
37
|
+
: undefined,
|
|
38
|
+
});
|
|
39
|
+
}
|
|
17
40
|
const HELD_WITH_WORDS = {
|
|
18
41
|
toast: "flex-wrap! [--toast-button-margin-start:0px]",
|
|
19
42
|
content: "basis-full!",
|
|
@@ -42,7 +65,7 @@ export function showHeldToast(message, options) {
|
|
|
42
65
|
},
|
|
43
66
|
});
|
|
44
67
|
}
|
|
45
|
-
/** Takes down the
|
|
68
|
+
/** Takes down the toast `id`: a held one without calling its `onClose`, or a staying one. */
|
|
46
69
|
export function dismissToast(id) {
|
|
47
70
|
toast.dismiss(id);
|
|
48
71
|
}
|
|
@@ -27,7 +27,7 @@ function useRestartFirst(command, restart) {
|
|
|
27
27
|
return Promise.resolve(null);
|
|
28
28
|
},
|
|
29
29
|
});
|
|
30
|
-
return { command: { ...asked, disabled: command.disabled }, dialog };
|
|
30
|
+
return { command: { ...asked, icon: command.icon, disabled: command.disabled }, dialog };
|
|
31
31
|
}
|
|
32
32
|
/**
|
|
33
33
|
* The update offer at the foot of a desktop app's sidebar, above the account.
|
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,cAAc,4BAA4B,CAAC;AAC3C,cAAc,yBAAyB,CAAC;AACxC,cAAc,6BAA6B,CAAC;AAC5C,cAAc,wBAAwB,CAAC;AACvC,cAAc,4BAA4B,CAAC;AAC3C,cAAc,oBAAoB,CAAC;AACnC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,uBAAuB,CAAC;AACtC,cAAc,2BAA2B,CAAC;AAC1C,cAAc,qBAAqB,CAAC;AACpC,cAAc,oBAAoB,CAAC;AACnC,cAAc,oBAAoB,CAAC;AACnC,cAAc,0BAA0B,CAAC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C;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 };
|
|
@@ -9,14 +9,8 @@ export type TableDetailFact = {
|
|
|
9
9
|
/** The value stands beside the record's name instead, which ends in an ellipsis before it: a status. */
|
|
10
10
|
besideName?: boolean;
|
|
11
11
|
};
|
|
12
|
-
export declare const detailFactsLine = "**:data-[slot=tag]:align-middle [&_[data-slot=detail-fact]>:is(div,p,.block,.grid,.flex)]:inline";
|
|
12
|
+
export declare const detailFactsLine = "**:data-[slot=tag]:align-middle **:data-[slot=status-badge]:align-middle [&_[data-slot=detail-fact]>:is(div,p,.block,.grid,.flex)]:inline";
|
|
13
13
|
export declare const detailFactsWrap = "[&_:not(.sr-only,[data-slot=badge],[data-slot=badge]_*)]:whitespace-normal";
|
|
14
|
-
/**
|
|
15
|
-
* The facts joined by a middle dot. On one line each fact after the first opens with its dot. A line
|
|
16
|
-
* that wraps gives every fact its dot in a 10 px box and shifts the line 10 px back under a clip, so
|
|
17
|
-
* the dot of whichever fact opens a line, the first included, falls outside it: no line starts with
|
|
18
|
-
* a dot.
|
|
19
|
-
*/
|
|
20
14
|
export declare function DetailFacts({ facts, wraps, }: {
|
|
21
15
|
facts: readonly TableDetailFact[];
|
|
22
16
|
wraps?: boolean;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"table-compact-line.d.ts","sourceRoot":"","sources":["../../src/internal/table-compact-line.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAuB,KAAK,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAG1F,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,4HAA4H;IAC5H,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,wGAAwG;IACxG,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,eAAe,
|
|
1
|
+
{"version":3,"file":"table-compact-line.d.ts","sourceRoot":"","sources":["../../src/internal/table-compact-line.tsx"],"names":[],"mappings":"AAEA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAE/B,OAAO,EAAuB,KAAK,kBAAkB,EAAE,MAAM,4BAA4B,CAAC;AAG1F,MAAM,MAAM,eAAe,GAAG;IAC5B,EAAE,EAAE,MAAM,CAAC;IACX,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,KAAK,EAAE,KAAK,CAAC,SAAS,CAAC;IACvB,4HAA4H;IAC5H,KAAK,CAAC,EAAE,OAAO,CAAC;IAChB,wGAAwG;IACxG,UAAU,CAAC,EAAE,OAAO,CAAC;CACtB,CAAC;AAEF,eAAO,MAAM,eAAe,8IACiH,CAAC;AAE9I,eAAO,MAAM,eAAe,+EACkD,CAAC;AAE/E,wBAAgB,WAAW,CAAC,EAC1B,KAAK,EACL,KAAa,GACd,EAAE;IACD,KAAK,EAAE,SAAS,eAAe,EAAE,CAAC;IAClC,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB,2CA8BA;AAED,KAAK,qBAAqB,GAAG;IAAE,MAAM,EAAE,kBAAkB,CAAC;IAAC,KAAK,EAAE,SAAS,eAAe,EAAE,CAAA;CAAE,CAAC;AAI/F,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,qBAAqB,GAAG;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,qBAEvD;AAED,wBAAgB,iBAAiB,6BAkBhC;AAED,2KAA2K;AAC3K,wBAAgB,qBAAqB,6BAkBpC;AAED;;;GAGG;AACH,MAAM,MAAM,WAAW,GAAG,MAAM,GAAG,SAAS,GAAG,SAAS,CAAC;AAEzD,KAAK,uBAAuB,GAAG;IAAE,MAAM,EAAE,kBAAkB,CAAC;IAAC,KAAK,EAAE,WAAW,CAAA;CAAE,CAAC;AAMlF;;;;;;;GAOG;AACH,wBAAgB,oBAAoB,CAAC,EACnC,MAAM,EACN,KAAK,EACL,QAAQ,GACT,EAAE,uBAAuB,GAAG;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,qBAGzD;AAwDD,oEAAoE;AACpE,wBAAgB,QAAQ,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,4BAenE;AAED,gDAAgD;AAChD,wBAAgB,WAAW,CAAC,EAAE,QAAQ,EAAE,EAAE;IAAE,QAAQ,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,4BAetE"}
|
|
@@ -3,19 +3,13 @@ import { jsx as _jsx, jsxs as _jsxs } from "react/jsx-runtime";
|
|
|
3
3
|
import * as React from "react";
|
|
4
4
|
import { tableCompactLayouts } from "../components/table-layouts.js";
|
|
5
5
|
import { cn } from "../lib/utils.js";
|
|
6
|
-
export const detailFactsLine = "**:data-[slot=tag]:align-middle [&_[data-slot=detail-fact]>:is(div,p,.block,.grid,.flex)]:inline";
|
|
6
|
+
export const detailFactsLine = "**:data-[slot=tag]:align-middle **:data-[slot=status-badge]:align-middle [&_[data-slot=detail-fact]>:is(div,p,.block,.grid,.flex)]:inline";
|
|
7
7
|
export const detailFactsWrap = "[&_:not(.sr-only,[data-slot=badge],[data-slot=badge]_*)]:whitespace-normal";
|
|
8
|
-
/**
|
|
9
|
-
* The facts joined by a middle dot. On one line each fact after the first opens with its dot. A line
|
|
10
|
-
* that wraps gives every fact its dot in a 10 px box and shifts the line 10 px back under a clip, so
|
|
11
|
-
* the dot of whichever fact opens a line, the first included, falls outside it: no line starts with
|
|
12
|
-
* a dot.
|
|
13
|
-
*/
|
|
14
8
|
export function DetailFacts({ facts, wraps = false, }) {
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
return (_jsx("span", { className: "block overflow-
|
|
9
|
+
if (!wraps) {
|
|
10
|
+
return facts.map((fact, index) => (_jsxs(React.Fragment, { children: [index > 0 ? " " : null, _jsxs("span", { "data-slot": "detail-fact", children: [index > 0 ? _jsx("span", { "aria-hidden": "true", children: "\u00B7 " }) : null, _jsxs("span", { className: "sr-only", children: [fact.label, ": "] }), fact.value] })] }, fact.id)));
|
|
11
|
+
}
|
|
12
|
+
return (_jsx("span", { className: "block overflow-x-clip", "data-slot": "detail-facts-clip", children: _jsx("span", { className: "-ms-3 flex flex-wrap items-baseline", children: facts.map((fact, index) => (_jsxs("span", { className: "ms-3 flex min-w-0 items-baseline", "data-slot": "detail-fact", children: [index > 0 ? (_jsx("span", { "aria-hidden": "true", className: "-ms-3 w-3 shrink-0 text-center", children: "\u00B7" })) : null, _jsxs("span", { className: "sr-only", children: [fact.label, ": "] }), _jsx("span", { className: "min-w-0", children: fact.value })] }, fact.id))) }) }));
|
|
19
13
|
}
|
|
20
14
|
const TableCompactLineContext = React.createContext(null);
|
|
21
15
|
export function TableCompactLine({ children, ...value }) {
|
|
@@ -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"}
|