@stll/ui 0.68.0 → 0.71.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/calendar/day-calendar.d.ts +22 -6
- package/dist/calendar/day-calendar.js +97 -26
- package/dist/calendar/resource-calendar.js +7 -9
- package/dist/calendar/topic-colors.d.ts +3 -0
- package/dist/calendar/topic-colors.js +19 -0
- package/dist/components/button.d.ts +13 -1
- package/dist/components/button.js +18 -9
- package/dist/components/composer-tokens.d.ts +6 -2
- package/dist/components/composer-tokens.js +6 -2
- package/dist/components/composer.d.ts +13 -0
- package/dist/components/composer.js +19 -3
- package/dist/components/court-filter.js +4 -4
- package/dist/components/date-picker-popover.js +11 -4
- package/dist/components/document-identity-badge.js +15 -4
- package/dist/components/file-input.js +3 -2
- package/dist/components/horizontal-scroller.d.ts +6 -0
- package/dist/components/horizontal-scroller.js +59 -33
- package/dist/components/identity-text.js +5 -2
- package/dist/components/input-group.js +3 -2
- package/dist/components/landing.js +6 -5
- package/dist/components/list.d.ts +11 -5
- package/dist/components/list.js +28 -9
- package/dist/components/loader.js +4 -2
- package/dist/components/outline-rail.js +6 -4
- package/dist/components/run-state-mark.d.ts +8 -0
- package/dist/components/run-state-mark.js +30 -0
- package/dist/components/run-state-mark.native.d.ts +9 -0
- package/dist/components/run-state-mark.native.js +98 -0
- package/dist/components/run-state-mark.shared.d.ts +53 -0
- package/dist/components/run-state-mark.shared.js +45 -0
- package/dist/components/split-button.d.ts +6 -1
- package/dist/components/split-button.js +8 -3
- package/dist/components/status-mark.js +6 -6
- package/dist/components/status-mark.shared.d.ts +12 -0
- package/dist/components/status-mark.shared.js +14 -0
- package/dist/components/table.d.ts +1 -1
- package/dist/components/table.js +13 -7
- package/dist/components/text.native.d.ts +3 -1
- package/dist/components/text.native.js +4 -2
- package/dist/components/truncated-text.d.ts +14 -3
- package/dist/components/truncated-text.js +21 -5
- package/dist/components/view-toolbar.d.ts +11 -3
- package/dist/components/view-toolbar.js +16 -5
- package/dist/icons.d.ts +2 -2
- package/dist/icons.js +1 -1
- package/dist/index.d.ts +2 -2
- package/dist/index.js +2 -2
- package/dist/inspector/chrome.d.ts +3 -3
- package/dist/inspector/chrome.js +28 -17
- package/dist/kanban/column-band-header.js +3 -2
- package/dist/kanban/column-header.js +3 -2
- package/dist/kanban/sticky-lane.js +3 -2
- package/dist/lib/file-size.d.ts +16 -0
- package/dist/lib/file-size.js +30 -0
- package/dist/lib/matter-colors.js +2 -5
- package/dist/lib/stable-hash.d.ts +2 -0
- package/dist/lib/stable-hash.js +8 -0
- package/dist/review/review-comment-card.js +7 -6
- package/dist/review/review-decision-actions.d.ts +8 -1
- package/dist/review/review-decision-actions.js +13 -4
- package/dist/review/review-out-of-date-notice.d.ts +7 -1
- package/dist/review/review-out-of-date-notice.js +4 -1
- package/dist/styles/inline-rename.css +9 -0
- package/dist/styles/theme.css +24 -0
- package/package.json +15 -3
|
@@ -6,11 +6,16 @@ import { DropdownMenu as Menu, DropdownMenuTrigger as MenuTrigger } from "./menu
|
|
|
6
6
|
import { Popover, PopoverTrigger } from "./popover.js";
|
|
7
7
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
8
8
|
// src/components/split-button.tsx
|
|
9
|
-
/**
|
|
9
|
+
/**
|
|
10
|
+
* Two independent actions share quiet chrome; only the chevron opens the
|
|
11
|
+
* secondary surface. The chrome is quiet, not the glyphs: both halves keep the
|
|
12
|
+
* foreground colour of every other ghost button, so an enabled split button
|
|
13
|
+
* never reads as disabled beside its neighbours.
|
|
14
|
+
*/
|
|
10
15
|
const SplitButton = (props) => {
|
|
11
16
|
const { primaryLabel, menuLabel, primaryDescriptionId, menuDescriptionId, onPrimaryClick, children, menu, primaryDisabled, menuDisabled, size = "md", className } = props;
|
|
12
17
|
const triggerButton = /* @__PURE__ */ jsx(Button, {
|
|
13
|
-
className: cn("
|
|
18
|
+
className: cn("group-hover/split:bg-muted group-focus-within/split:bg-muted hover:bg-accent active:bg-accent/80 data-popup-open:bg-accent rounded-md [&_svg]:mx-0", size === "sm" ? "h-7 w-3.5 px-0 sm:h-7" : "h-8 w-4 px-0 sm:h-8", "pointer-coarse:min-h-11 pointer-coarse:min-w-11"),
|
|
14
19
|
size: "sm",
|
|
15
20
|
tooltip: menuLabel,
|
|
16
21
|
variant: "ghost"
|
|
@@ -22,7 +27,7 @@ const SplitButton = (props) => {
|
|
|
22
27
|
children: [/* @__PURE__ */ jsx(Button, {
|
|
23
28
|
"aria-describedby": primaryDescriptionId,
|
|
24
29
|
"aria-label": primaryLabel,
|
|
25
|
-
className: cn("
|
|
30
|
+
className: cn("active:bg-accent/80 rounded-md [&_svg]:mx-0 [&_svg]:size-3.5 [&_svg:not([class*='size-'])]:size-3.5 sm:[&_svg:not([class*='size-'])]:size-3.5", size === "sm" ? "h-7 ps-1.5 pe-0.5 sm:h-7" : "h-8 ps-2 pe-0.5 sm:h-8", "pointer-coarse:min-h-11 pointer-coarse:min-w-11"),
|
|
26
31
|
disabled: primaryDisabled,
|
|
27
32
|
onClick: onPrimaryClick,
|
|
28
33
|
size: "sm",
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
"use client";
|
|
2
2
|
import { cn } from "../lib/utils.js";
|
|
3
|
+
import { STATUS_MARK_RING_RADIUS, STATUS_MARK_STROKE_WIDTH, STATUS_MARK_VIEWBOX } from "./status-mark.shared.js";
|
|
3
4
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
4
5
|
// src/components/status-mark.tsx
|
|
5
|
-
const RING_RADIUS = 6.25;
|
|
6
6
|
const CHECK_PATH = "M5.4 8.3 7.2 10.1 10.6 6.3";
|
|
7
7
|
const CROSS_PATH = "M6.1 6.1 9.9 9.9M9.9 6.1 6.1 9.9";
|
|
8
8
|
const on = {
|
|
@@ -26,8 +26,8 @@ const StatusMark = ({ className, label, status }) => /* @__PURE__ */ jsxs("svg",
|
|
|
26
26
|
stroke: "currentColor",
|
|
27
27
|
strokeLinecap: "round",
|
|
28
28
|
strokeLinejoin: "round",
|
|
29
|
-
strokeWidth:
|
|
30
|
-
viewBox:
|
|
29
|
+
strokeWidth: STATUS_MARK_STROKE_WIDTH,
|
|
30
|
+
viewBox: STATUS_MARK_VIEWBOX,
|
|
31
31
|
...label === void 0 ? { "aria-hidden": true } : {
|
|
32
32
|
"aria-label": label,
|
|
33
33
|
role: "img"
|
|
@@ -38,14 +38,14 @@ const StatusMark = ({ className, label, status }) => /* @__PURE__ */ jsxs("svg",
|
|
|
38
38
|
cx: "8",
|
|
39
39
|
cy: "8",
|
|
40
40
|
fill: "currentColor",
|
|
41
|
-
r:
|
|
41
|
+
r: STATUS_MARK_RING_RADIUS,
|
|
42
42
|
stroke: "none"
|
|
43
43
|
}),
|
|
44
44
|
/* @__PURE__ */ jsx("circle", {
|
|
45
45
|
className: "opacity-0 transition-opacity duration-200 group-data-[status=running]/status:opacity-20",
|
|
46
46
|
cx: "8",
|
|
47
47
|
cy: "8",
|
|
48
|
-
r:
|
|
48
|
+
r: STATUS_MARK_RING_RADIUS
|
|
49
49
|
}),
|
|
50
50
|
/* @__PURE__ */ jsx("g", {
|
|
51
51
|
className: SPIN_CLASS,
|
|
@@ -54,7 +54,7 @@ const StatusMark = ({ className, label, status }) => /* @__PURE__ */ jsxs("svg",
|
|
|
54
54
|
cx: "8",
|
|
55
55
|
cy: "8",
|
|
56
56
|
pathLength: 100,
|
|
57
|
-
r:
|
|
57
|
+
r: STATUS_MARK_RING_RADIUS,
|
|
58
58
|
transform: "rotate(-90 8 8)"
|
|
59
59
|
})
|
|
60
60
|
}),
|
|
@@ -0,0 +1,12 @@
|
|
|
1
|
+
export declare const STATUS_MARK_VIEWBOX = "0 0 16 16";
|
|
2
|
+
export declare const STATUS_MARK_STROKE_WIDTH = 1.5;
|
|
3
|
+
export declare const STATUS_MARK_RING_RADIUS = 6.25;
|
|
4
|
+
/**
|
|
5
|
+
* The running arc's share of the ring and the faint track it runs on. The
|
|
6
|
+
* web spells them as utilities (`[stroke-dasharray:30_70]`, `opacity-20`),
|
|
7
|
+
* which must stay literal for Tailwind to find them.
|
|
8
|
+
*/
|
|
9
|
+
export declare const STATUS_MARK_RUNNING_ARC = 0.3;
|
|
10
|
+
export declare const STATUS_MARK_TRACK_OPACITY = 0.2;
|
|
11
|
+
/** One turn of the running arc: `--animate-status-spin` in the theme. */
|
|
12
|
+
export declare const STATUS_MARK_SPIN_MS = 1100;
|
|
@@ -0,0 +1,14 @@
|
|
|
1
|
+
// src/components/status-mark.shared.ts
|
|
2
|
+
const STATUS_MARK_VIEWBOX = "0 0 16 16";
|
|
3
|
+
const STATUS_MARK_STROKE_WIDTH = 1.5;
|
|
4
|
+
const STATUS_MARK_RING_RADIUS = 6.25;
|
|
5
|
+
/**
|
|
6
|
+
* The running arc's share of the ring and the faint track it runs on. The
|
|
7
|
+
* web spells them as utilities (`[stroke-dasharray:30_70]`, `opacity-20`),
|
|
8
|
+
* which must stay literal for Tailwind to find them.
|
|
9
|
+
*/
|
|
10
|
+
const STATUS_MARK_RUNNING_ARC = .3;
|
|
11
|
+
const STATUS_MARK_TRACK_OPACITY = .2;
|
|
12
|
+
/** One turn of the running arc: `--animate-status-spin` in the theme. */
|
|
13
|
+
const STATUS_MARK_SPIN_MS = 1100;
|
|
14
|
+
export { STATUS_MARK_RING_RADIUS, STATUS_MARK_RUNNING_ARC, STATUS_MARK_SPIN_MS, STATUS_MARK_STROKE_WIDTH, STATUS_MARK_TRACK_OPACITY, STATUS_MARK_VIEWBOX };
|
|
@@ -90,7 +90,7 @@ type TableCellProps = Omit<React$1.ComponentProps<"td">, "align"> & {
|
|
|
90
90
|
*/
|
|
91
91
|
flush?: boolean;
|
|
92
92
|
};
|
|
93
|
-
declare const TableCell: ({ className, align, tone, numeric, truncate, flush, ...props }: TableCellProps) => React$1.JSX.Element;
|
|
93
|
+
declare const TableCell: ({ className, align, tone, numeric, truncate, flush, children, ...props }: TableCellProps) => React$1.JSX.Element;
|
|
94
94
|
type SortDirection = "asc" | "desc" | null;
|
|
95
95
|
type SortableHeadProps = Omit<TableHeadProps, "onClick"> & {
|
|
96
96
|
sortDirection?: SortDirection;
|
package/dist/components/table.js
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ArrowDownIcon, ArrowUpIcon } from "../icons.js";
|
|
2
2
|
import { cn } from "../lib/utils.js";
|
|
3
3
|
import { Button } from "./button.js";
|
|
4
|
+
import { TruncatedText } from "./truncated-text.js";
|
|
4
5
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
5
6
|
// src/components/table.tsx
|
|
6
7
|
const Table = ({ className, density = "default", inset = "default", scroll = "self", ...props }) => {
|
|
@@ -49,12 +50,20 @@ const TableHead = ({ className, align, numeric = false, ...props }) => /* @__PUR
|
|
|
49
50
|
"data-slot": "table-head",
|
|
50
51
|
...props
|
|
51
52
|
});
|
|
52
|
-
const TableCell = ({ className, align, tone = "default", numeric = false, truncate = false, flush = false, ...props }) => {
|
|
53
|
+
const TableCell = ({ className, align, tone = "default", numeric = false, truncate = false, flush = false, children, ...props }) => {
|
|
53
54
|
const resolvedAlign = resolveTableAlign(align, numeric);
|
|
55
|
+
const cellClassName = cn("align-middle leading-none whitespace-nowrap has-[[role=checkbox]]:pe-0", flush ? "p-0" : "p-2.5 in-data-[density=compact]:px-0 in-data-[density=compact]:py-1.5 in-data-[inset=card]:px-4 in-data-[slot=frame]:first:p-[calc(--spacing(2.5)-1px)] in-data-[slot=frame]:last:p-[calc(--spacing(2.5)-1px)]", "in-data-[density=compact]:leading-6 in-data-[density=compact]:whitespace-normal", resolvedAlign !== void 0 && TABLE_ALIGN_CLASS[resolvedAlign], tone === "muted" && "text-muted-foreground", numeric && "tabular-nums", className);
|
|
56
|
+
if (truncate) return /* @__PURE__ */ jsx(TruncatedText, {
|
|
57
|
+
className: cn("table-cell", cellClassName),
|
|
58
|
+
"data-slot": "table-cell",
|
|
59
|
+
render: /* @__PURE__ */ jsx("td", { ...props }),
|
|
60
|
+
children
|
|
61
|
+
});
|
|
54
62
|
return /* @__PURE__ */ jsx("td", {
|
|
55
|
-
className:
|
|
63
|
+
className: cellClassName,
|
|
56
64
|
"data-slot": "table-cell",
|
|
57
|
-
...props
|
|
65
|
+
...props,
|
|
66
|
+
children
|
|
58
67
|
});
|
|
59
68
|
};
|
|
60
69
|
/**
|
|
@@ -86,10 +95,7 @@ const SortableHead = ({ children, sortDirection = null, onSort, trailing, classN
|
|
|
86
95
|
onClick: onSort,
|
|
87
96
|
type: "button",
|
|
88
97
|
variant: "muted",
|
|
89
|
-
children: [/* @__PURE__ */ jsx("span", {
|
|
90
|
-
className: "truncate",
|
|
91
|
-
children
|
|
92
|
-
}), /* @__PURE__ */ jsx("span", {
|
|
98
|
+
children: [/* @__PURE__ */ jsx(TruncatedText, { children }), /* @__PURE__ */ jsx("span", {
|
|
93
99
|
"aria-hidden": true,
|
|
94
100
|
className: "inline-flex w-3 shrink-0 justify-center",
|
|
95
101
|
children: sortIcon
|
|
@@ -1,5 +1,7 @@
|
|
|
1
|
-
import { TextContract, TextVariant } from "./text.shared.js";
|
|
1
|
+
import { TextContract, TextFace, TextVariant } from "./text.shared.js";
|
|
2
2
|
import { TextProps } from "react-native";
|
|
3
|
+
/** The embedded face of one weight, for a glyph set outside every role. */
|
|
4
|
+
export declare const sansFontFamily: (weight: TextFace["weight"]) => string;
|
|
3
5
|
/** The font a role is set in, for a native control that draws its own text. */
|
|
4
6
|
export declare const textFontFamily: (variant: TextContract["variant"]) => string;
|
|
5
7
|
/**
|
|
@@ -22,8 +22,10 @@ const NOT_A_COLOUR = /^text-(?:xs|sm|base|lg|\d*xl|\[|left|center|right|justify|
|
|
|
22
22
|
* whatever order they were written in.
|
|
23
23
|
*/
|
|
24
24
|
const withForeground = (classes) => classes.split(/\s+/u).some((name) => name.startsWith("text-") && !NOT_A_COLOUR.test(name)) ? classes : `text-foreground ${classes}`;
|
|
25
|
+
/** The embedded face of one weight, for a glyph set outside every role. */
|
|
26
|
+
const sansFontFamily = (weight) => SANS_FACES[weight];
|
|
25
27
|
/** The font a role is set in, for a native control that draws its own text. */
|
|
26
|
-
const textFontFamily = (variant) =>
|
|
28
|
+
const textFontFamily = (variant) => sansFontFamily(TEXT_VARIANT_FACES[variant ?? "body"].weight);
|
|
27
29
|
/**
|
|
28
30
|
* Text in one of the design system's roles (./text.shared.ts), as the web
|
|
29
31
|
* renderer (./text.tsx) sets it: the same size and colour, in the role's
|
|
@@ -34,4 +36,4 @@ const Text = ({ className, style, variant = "body", ...props }) => /* @__PURE__
|
|
|
34
36
|
style: [{ fontFamily: textFontFamily(variant) }, style],
|
|
35
37
|
...props
|
|
36
38
|
});
|
|
37
|
-
export { Text, textFontFamily };
|
|
39
|
+
export { Text, sansFontFamily, textFontFamily };
|
|
@@ -14,10 +14,21 @@ import { useRender } from "@base-ui/react/use-render";
|
|
|
14
14
|
* The tap popover stays out of the way when the text sits inside a link,
|
|
15
15
|
* button or other control: the tap belongs to that control.
|
|
16
16
|
*/
|
|
17
|
-
declare const TruncatedText: ({ children, className, lines, render, side, tooltip, ...props }: TruncatedTextProps) => React$1.JSX.Element;
|
|
18
|
-
/**
|
|
19
|
-
|
|
17
|
+
declare const TruncatedText: ({ children, className, hint, lines, render, side, tooltip, ...props }: TruncatedTextProps) => React$1.JSX.Element;
|
|
18
|
+
/**
|
|
19
|
+
* How many lines the text may take before it is cut; `"none"` lets it take
|
|
20
|
+
* as many as it needs, for text that is cut only in some states (collapsed,
|
|
21
|
+
* compact) and shown whole in the others.
|
|
22
|
+
*/
|
|
23
|
+
type TruncatedTextLines = 1 | 2 | 3 | 4 | 5 | 6 | 8 | "none";
|
|
20
24
|
type TruncatedTextProps = useRender.ComponentProps<"span"> & {
|
|
25
|
+
/**
|
|
26
|
+
* Whether cut text shows its whole self on hover, focus or tap. Pass false
|
|
27
|
+
* only where something around the text already shows it (a tooltip on the
|
|
28
|
+
* row, a title the text sits in); the text stays inside its container
|
|
29
|
+
* either way.
|
|
30
|
+
*/
|
|
31
|
+
hint?: boolean;
|
|
21
32
|
lines?: TruncatedTextLines;
|
|
22
33
|
side?: React$1.ComponentProps<typeof TooltipPopup>["side"];
|
|
23
34
|
/**
|
|
@@ -21,7 +21,7 @@ import { useRender } from "@base-ui/react/use-render";
|
|
|
21
21
|
* The tap popover stays out of the way when the text sits inside a link,
|
|
22
22
|
* button or other control: the tap belongs to that control.
|
|
23
23
|
*/
|
|
24
|
-
const TruncatedText = ({ children, className, lines = 1, render, side = "top", tooltip, ...props }) => {
|
|
24
|
+
const TruncatedText = ({ children, className, hint = true, lines = 1, render, side = "top", tooltip, ...props }) => {
|
|
25
25
|
const ref = React$1.useRef(null);
|
|
26
26
|
const [surface, setSurface] = React$1.useState(null);
|
|
27
27
|
const content = tooltip ?? children;
|
|
@@ -31,7 +31,7 @@ const TruncatedText = ({ children, className, lines = 1, render, side = "top", t
|
|
|
31
31
|
return;
|
|
32
32
|
}
|
|
33
33
|
const element = ref.current;
|
|
34
|
-
if (element === null || LAST_POINTER_TYPE.get(element) === "touch") return;
|
|
34
|
+
if (element === null || LAST_POINTER_TYPE.get(element) === "touch" || isInsideTooltipTrigger(element)) return;
|
|
35
35
|
if (isTextOverflowing(element)) setSurface("tooltip");
|
|
36
36
|
};
|
|
37
37
|
const handleClick = (event) => {
|
|
@@ -49,6 +49,7 @@ const TruncatedText = ({ children, className, lines = 1, render, side = "top", t
|
|
|
49
49
|
ref,
|
|
50
50
|
render
|
|
51
51
|
});
|
|
52
|
+
if (!hint) return text;
|
|
52
53
|
return /* @__PURE__ */ jsxs(Fragment, { children: [/* @__PURE__ */ jsxs(Tooltip, {
|
|
53
54
|
onOpenChange: handleTooltipOpenChange,
|
|
54
55
|
open: surface === "tooltip",
|
|
@@ -92,10 +93,20 @@ function recordPointerType(event) {
|
|
|
92
93
|
function forgetPointerType(event) {
|
|
93
94
|
LAST_POINTER_TYPE.delete(event.currentTarget);
|
|
94
95
|
}
|
|
96
|
+
/**
|
|
97
|
+
* `max-w-full` caps the text at its container even where the container does
|
|
98
|
+
* not stretch it (a flex column with `items-start`, an inline-block): without
|
|
99
|
+
* it a nowrap line sizes to its whole text and runs past the container.
|
|
100
|
+
*/
|
|
95
101
|
const TRUNCATED_TEXT_LINES_CLASS = {
|
|
96
|
-
1: "block min-w-0 truncate",
|
|
97
|
-
2: "line-clamp-2 min-w-0 wrap-anywhere",
|
|
98
|
-
3: "line-clamp-3 min-w-0 wrap-anywhere"
|
|
102
|
+
1: "block min-w-0 max-w-full truncate",
|
|
103
|
+
2: "line-clamp-2 min-w-0 max-w-full wrap-anywhere",
|
|
104
|
+
3: "line-clamp-3 min-w-0 max-w-full wrap-anywhere",
|
|
105
|
+
4: "line-clamp-4 min-w-0 max-w-full wrap-anywhere",
|
|
106
|
+
5: "line-clamp-5 min-w-0 max-w-full wrap-anywhere",
|
|
107
|
+
6: "line-clamp-6 min-w-0 max-w-full wrap-anywhere",
|
|
108
|
+
8: "line-clamp-8 min-w-0 max-w-full wrap-anywhere",
|
|
109
|
+
none: "min-w-0 max-w-full"
|
|
99
110
|
};
|
|
100
111
|
/** Whether the element's text is cut by its box, in either direction. */
|
|
101
112
|
function isTextOverflowing(element) {
|
|
@@ -103,6 +114,11 @@ function isTextOverflowing(element) {
|
|
|
103
114
|
return element.scrollWidth > element.clientWidth || element.scrollHeight > element.clientHeight;
|
|
104
115
|
}
|
|
105
116
|
const CONTROL_SELECTOR = "a[href], button, label, summary, [role=button], [role=link], [role=menuitem], [role=option], [role=tab]";
|
|
117
|
+
/** Whether a tooltip around the element already opens on its pointer. */
|
|
118
|
+
function isInsideTooltipTrigger(element) {
|
|
119
|
+
const parent = element.parentElement;
|
|
120
|
+
return parent !== null && parent.closest("[data-slot=\"tooltip-trigger\"]") !== null;
|
|
121
|
+
}
|
|
106
122
|
/** Whether a tap on the element already belongs to a control around it. */
|
|
107
123
|
function isInsideControl(element) {
|
|
108
124
|
return element.closest(CONTROL_SELECTOR) !== null;
|
|
@@ -1,9 +1,17 @@
|
|
|
1
1
|
import { Button } from "./button.js";
|
|
2
2
|
import { ComponentProps } from "react";
|
|
3
3
|
/**
|
|
4
|
-
*
|
|
5
|
-
*
|
|
6
|
-
*
|
|
4
|
+
* The one row that holds a view switcher and its toolbar. It never wraps: at
|
|
5
|
+
* any width the tabs and the controls share a single line, the tabs taking the
|
|
6
|
+
* free space and scrolling, the toolbar keeping its place at the end.
|
|
7
|
+
*/
|
|
8
|
+
export declare const ViewChromeBar: ({ className, ...props }: ComponentProps<"div">) => import("react").JSX.Element;
|
|
9
|
+
/**
|
|
10
|
+
* Shared view controls, placed at the end of a `ViewChromeBar`. They stay on
|
|
11
|
+
* one line and scroll horizontally once they outgrow half the row on a phone,
|
|
12
|
+
* or two thirds of it from `md` up, so the tabs beside them always keep room
|
|
13
|
+
* for a whole tab and scroll, and a control past the edge is scrolled to rather
|
|
14
|
+
* than clipped.
|
|
7
15
|
*/
|
|
8
16
|
export declare const ViewToolbarChrome: ({ className, ...props }: ComponentProps<"div">) => import("react").JSX.Element;
|
|
9
17
|
type ViewFilterButtonProps = Omit<ComponentProps<typeof Button>, "children" | "size" | "variant" | "aria-label" | "title"> & {
|
|
@@ -4,12 +4,23 @@ import { Button } from "./button.js";
|
|
|
4
4
|
import { jsx } from "react/jsx-runtime";
|
|
5
5
|
// src/components/view-toolbar.tsx
|
|
6
6
|
/**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
*
|
|
7
|
+
* The one row that holds a view switcher and its toolbar. It never wraps: at
|
|
8
|
+
* any width the tabs and the controls share a single line, the tabs taking the
|
|
9
|
+
* free space and scrolling, the toolbar keeping its place at the end.
|
|
10
|
+
*/
|
|
11
|
+
const ViewChromeBar = ({ className, ...props }) => /* @__PURE__ */ jsx("div", {
|
|
12
|
+
className: cn("flex min-w-0 flex-nowrap items-center border-b", className),
|
|
13
|
+
...props
|
|
14
|
+
});
|
|
15
|
+
/**
|
|
16
|
+
* Shared view controls, placed at the end of a `ViewChromeBar`. They stay on
|
|
17
|
+
* one line and scroll horizontally once they outgrow half the row on a phone,
|
|
18
|
+
* or two thirds of it from `md` up, so the tabs beside them always keep room
|
|
19
|
+
* for a whole tab and scroll, and a control past the edge is scrolled to rather
|
|
20
|
+
* than clipped.
|
|
10
21
|
*/
|
|
11
22
|
const ViewToolbarChrome = ({ className, ...props }) => /* @__PURE__ */ jsx("div", {
|
|
12
|
-
className: cn("flex max-w-
|
|
23
|
+
className: cn("ms-auto flex max-w-1/2 min-w-0 shrink-0 [scrollbar-width:none] flex-nowrap items-center gap-1 overflow-x-auto px-2 py-1 [-ms-overflow-style:none] md:max-w-2/3 [&::-webkit-scrollbar]:hidden", className),
|
|
13
24
|
...props
|
|
14
25
|
});
|
|
15
26
|
const ViewFilterButton = ({ label, ...props }) => /* @__PURE__ */ jsx(Button, {
|
|
@@ -26,4 +37,4 @@ const ViewFilterChip = ({ className, ...props }) => /* @__PURE__ */ jsx(Button,
|
|
|
26
37
|
size: "xs",
|
|
27
38
|
variant: "secondary"
|
|
28
39
|
});
|
|
29
|
-
export { ViewFilterButton, ViewFilterChip, ViewToolbarChrome };
|
|
40
|
+
export { ViewChromeBar, ViewFilterButton, ViewFilterChip, ViewToolbarChrome };
|
package/dist/icons.d.ts
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
import { ActivityIcon, AlarmClockIcon, AlertCircleIcon, AlertTriangleIcon, AlignJustifyIcon, AlignLeftIcon, AppWindowMacIcon as BrowserControlIcon, ArchiveIcon, ArchiveRestoreIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpDownIcon, ArrowUpIcon, AtSignIcon, BanIcon, BanknoteIcon, BellIcon, BlocksIcon, BoldIcon, BookOpenCheckIcon, BookOpenIcon as CaseLawIcon, BookOpenIcon as SkillIcon, BookTextIcon, BookmarkIcon, BookmarkPlusIcon, BracesIcon, BrainIcon, Building2Icon, BuildingIcon, CableIcon, CalendarClockIcon, CalendarIcon, CheckCheckIcon, CheckCircle2Icon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsUpDownIcon, CircleAlertIcon, CircleCheckIcon, CircleDashedIcon, CircleDotIcon, CircleHelpIcon, CircleIcon, CircleOffIcon, CircleUserRoundIcon, ClipboardCheckIcon, ClipboardCopyIcon, ClipboardIcon, ClipboardListIcon, Clock3Icon, ClockIcon, CogIcon, Columns2Icon, Columns3Icon,
|
|
2
|
-
export { ActivityIcon, AddCommentIcon, AiActionIcon, AlarmClockIcon, AlertCircleIcon, AlertTriangleIcon, AlignJustifyIcon, AlignLeftIcon, ArchiveIcon, ArchiveRestoreIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpDownIcon, ArrowUpIcon, AtSignIcon, BanIcon, BanknoteIcon, BellIcon, BlocksIcon, BoldIcon, BookOpenCheckIcon, BookTextIcon, BookmarkIcon, BookmarkPlusIcon, BracesIcon, BrainIcon, BrowserControlIcon, Building2Icon, BuildingIcon, CableIcon, CalendarClockIcon, CalendarIcon, CaseLawIcon, CheckCheckIcon, CheckCircle2Icon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsUpDownIcon, CircleAlertIcon, CircleCheckIcon, CircleDashedIcon, CircleDotIcon, CircleHelpIcon, CircleIcon, CircleOffIcon, CircleUserRoundIcon, ClipboardCheckIcon, ClipboardCopyIcon, ClipboardIcon, ClipboardListIcon, Clock3Icon, ClockIcon, CogIcon, Columns2Icon, Columns3Icon,
|
|
1
|
+
import { ActivityIcon, AlarmClockIcon, AlertCircleIcon, AlertTriangleIcon, AlignJustifyIcon, AlignLeftIcon, AppWindowMacIcon as BrowserControlIcon, ArchiveIcon, ArchiveRestoreIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpDownIcon, ArrowUpIcon, AtSignIcon, BanIcon, BanknoteIcon, BellIcon, BlocksIcon, BoldIcon, BookOpenCheckIcon, BookOpenIcon as CaseLawIcon, BookOpenIcon as SkillIcon, BookTextIcon, BookmarkIcon, BookmarkPlusIcon, BracesIcon, BrainIcon, Building2Icon, BuildingIcon, CableIcon, CalendarClockIcon, CalendarIcon, CheckCheckIcon, CheckCircle2Icon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsUpDownIcon, CircleAlertIcon, CircleCheckIcon, CircleDashedIcon, CircleDotIcon, CircleHelpIcon, CircleIcon, CircleOffIcon, CircleUserRoundIcon, ClipboardCheckIcon, ClipboardCopyIcon, ClipboardIcon, ClipboardListIcon, Clock3Icon, ClockIcon, CloudIcon, CogIcon, Columns2Icon, Columns3Icon, CommandIcon, CompassIcon, CopyIcon as CopyFromMenuIcon, CopyIcon as CopyToClipboardIcon, CopyIcon as DuplicateIcon, CopyPlusIcon, CornerDownLeftIcon, CpuIcon, CropIcon, DatabaseIcon, DollarSignIcon, DownloadIcon, EditIcon, EllipsisIcon, EllipsisVerticalIcon, EqualIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FileBadgeIcon, FileCheckIcon, FileCodeIcon, FileDiffIcon, FileDigitIcon, FileDownIcon, FileIcon, FileImageIcon, FileOutputIcon, FilePlus2Icon, FilePlusIcon, FileQuestionIcon, FileSearchIcon, FileSpreadsheetIcon, FileStackIcon as EditPagesIcon, FileTextIcon, FileUpIcon, FilterIcon, FilterXIcon, FlagIcon, FlaskConicalIcon, FoldHorizontalIcon, FolderIcon, FolderInputIcon, FolderOpenIcon, FolderPlusIcon, FolderSyncIcon, FolderTreeIcon, FunctionSquareIcon, GanttChartIcon, GaugeIcon, GitBranchIcon, GitCommitHorizontalIcon, GitPullRequestIcon, GlobeIcon, GraduationCapIcon, GripVerticalIcon, HashIcon, Heading1Icon, Heading2Icon, Heading3Icon, HelpCircleIcon, HighlighterIcon, HistoryIcon, ImageIcon, ImageOffIcon, InboxIcon, InfoIcon, ItalicIcon, KanbanIcon, KeyRoundIcon, KeyboardIcon, LandmarkIcon, LanguagesIcon, LaptopIcon, LayersIcon, LayoutDashboardIcon, LayoutGridIcon, LayoutTemplateIcon, LibraryBigIcon, LibraryIcon, Link2Icon, LinkIcon, ListChecksIcon, ListFilterIcon, ListIcon, ListMinusIcon, ListOrderedIcon, ListTodoIcon, ListTreeIcon, ListXIcon, LoaderCircleIcon, LockIcon, LockKeyholeIcon, LockOpenIcon, LogOutIcon, LucideIcon, MailIcon, Maximize2Icon, MegaphoneIcon, MessageCircleQuestionIcon, MessageSquareIcon, MessageSquarePlusIcon as NewChatIcon, MessageSquareQuoteIcon as AddCommentIcon, MessageSquareTextIcon, MessageSquareWarningIcon, MessagesSquareIcon, MicIcon as DictateIcon, Minimize2Icon, MinusIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, PackageIcon, PaletteIcon, PanelLeftIcon, PanelRightIcon, PaperclipIcon, PauseIcon, PenIcon, PenLineIcon, PencilIcon, PencilLineIcon, PhoneIcon, PinIcon, PinOffIcon, PlayIcon, PlugIcon, PlusIcon, PowerIcon, PrinterIcon, QuoteIcon, Redo2Icon, RefreshCcwIcon, RefreshCwIcon, RepeatIcon, RotateCcwIcon, RotateCwIcon, RouteIcon, Rows2Icon, Rows3Icon, SaveIcon, ScanSearchIcon, ScanTextIcon, ScissorsIcon, ScrollTextIcon, SearchIcon, SearchXIcon, SendIcon, ServerIcon, Settings2Icon, ShapesIcon, ShieldAlertIcon, ShieldCheckIcon, ShieldIcon, SigmaIcon, SignatureIcon, SlashIcon, SlidersHorizontalIcon, SparklesIcon, SplitIcon, SquareCheckIcon, SquareIcon, SquareMinusIcon, SquarePenIcon, StarIcon, StarOffIcon, StickyNoteIcon, StrikethroughIcon, SunIcon, TableIcon, TagIcon, TagsIcon, TerminalIcon, TextIcon, TextQuoteIcon, ToggleLeftIcon, Trash2Icon, TrashIcon, TriangleAlertIcon, UnderlineIcon, Undo2Icon, UndoIcon, UnfoldHorizontalIcon, UngroupIcon, UploadIcon, UserCheckIcon, UserIcon, UserPlusIcon, UserRoundIcon, UsersIcon, VideoIcon, WandSparklesIcon as AiActionIcon, WavesIcon, WindIcon, WorkflowIcon, WrapTextIcon, WrenchIcon, XCircleIcon, XIcon, XSquareIcon, ZapIcon } from "lucide-react";
|
|
2
|
+
export { ActivityIcon, AddCommentIcon, AiActionIcon, AlarmClockIcon, AlertCircleIcon, AlertTriangleIcon, AlignJustifyIcon, AlignLeftIcon, ArchiveIcon, ArchiveRestoreIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpDownIcon, ArrowUpIcon, AtSignIcon, BanIcon, BanknoteIcon, BellIcon, BlocksIcon, BoldIcon, BookOpenCheckIcon, BookTextIcon, BookmarkIcon, BookmarkPlusIcon, BracesIcon, BrainIcon, BrowserControlIcon, Building2Icon, BuildingIcon, CableIcon, CalendarClockIcon, CalendarIcon, CaseLawIcon, CheckCheckIcon, CheckCircle2Icon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsUpDownIcon, CircleAlertIcon, CircleCheckIcon, CircleDashedIcon, CircleDotIcon, CircleHelpIcon, CircleIcon, CircleOffIcon, CircleUserRoundIcon, ClipboardCheckIcon, ClipboardCopyIcon, ClipboardIcon, ClipboardListIcon, Clock3Icon, ClockIcon, CloudIcon, CogIcon, Columns2Icon, Columns3Icon, CommandIcon, CompassIcon, CopyFromMenuIcon, CopyPlusIcon, CopyToClipboardIcon, CornerDownLeftIcon, CpuIcon, CropIcon, DatabaseIcon, DictateIcon, DollarSignIcon, DownloadIcon, DuplicateIcon, EditIcon, EditPagesIcon, EllipsisIcon, EllipsisVerticalIcon, EqualIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FileBadgeIcon, FileCheckIcon, FileCodeIcon, FileDiffIcon, FileDigitIcon, FileDownIcon, FileIcon, FileImageIcon, FileOutputIcon, FilePlus2Icon, FilePlusIcon, FileQuestionIcon, FileSearchIcon, FileSpreadsheetIcon, FileTextIcon, FileUpIcon, FilterIcon, FilterXIcon, FlagIcon, FlaskConicalIcon, FoldHorizontalIcon, FolderIcon, FolderInputIcon, FolderOpenIcon, FolderPlusIcon, FolderSyncIcon, FolderTreeIcon, FunctionSquareIcon, GanttChartIcon, GaugeIcon, GitBranchIcon, GitCommitHorizontalIcon, GitPullRequestIcon, GlobeIcon, GraduationCapIcon, GripVerticalIcon, HashIcon, Heading1Icon, Heading2Icon, Heading3Icon, HelpCircleIcon, HighlighterIcon, HistoryIcon, ImageIcon, ImageOffIcon, InboxIcon, InfoIcon, ItalicIcon, KanbanIcon, KeyRoundIcon, KeyboardIcon, LandmarkIcon, LanguagesIcon, LaptopIcon, LayersIcon, LayoutDashboardIcon, LayoutGridIcon, LayoutTemplateIcon, LibraryBigIcon, LibraryIcon, Link2Icon, LinkIcon, ListChecksIcon, ListFilterIcon, ListIcon, ListMinusIcon, ListOrderedIcon, ListTodoIcon, ListTreeIcon, ListXIcon, LoaderCircleIcon, LockIcon, LockKeyholeIcon, LockOpenIcon, LogOutIcon, type LucideIcon, MailIcon, Maximize2Icon, MegaphoneIcon, MessageCircleQuestionIcon, MessageSquareIcon, MessageSquareTextIcon, MessageSquareWarningIcon, MessagesSquareIcon, Minimize2Icon, MinusIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, NewChatIcon, PackageIcon, PaletteIcon, PanelLeftIcon, PanelRightIcon, PaperclipIcon, PauseIcon, PenIcon, PenLineIcon, PencilIcon, PencilLineIcon, PhoneIcon, PinIcon, PinOffIcon, PlayIcon, PlugIcon, PlusIcon, PowerIcon, PrinterIcon, QuoteIcon, Redo2Icon, RefreshCcwIcon, RefreshCwIcon, RepeatIcon, RotateCcwIcon, RotateCwIcon, RouteIcon, Rows2Icon, Rows3Icon, SaveIcon, ScanSearchIcon, ScanTextIcon, ScissorsIcon, ScrollTextIcon, SearchIcon, SearchXIcon, SendIcon, ServerIcon, Settings2Icon, ShapesIcon, ShieldAlertIcon, ShieldCheckIcon, ShieldIcon, SigmaIcon, SignatureIcon, SkillIcon, SlashIcon, SlidersHorizontalIcon, SparklesIcon, SplitIcon, SquareCheckIcon, SquareIcon, SquareMinusIcon, SquarePenIcon, StarIcon, StarOffIcon, StickyNoteIcon, StrikethroughIcon, SunIcon, TableIcon, TagIcon, TagsIcon, TerminalIcon, TextIcon, TextQuoteIcon, ToggleLeftIcon, Trash2Icon, TrashIcon, TriangleAlertIcon, UnderlineIcon, Undo2Icon, UndoIcon, UnfoldHorizontalIcon, UngroupIcon, UploadIcon, UserCheckIcon, UserIcon, UserPlusIcon, UserRoundIcon, UsersIcon, VideoIcon, WavesIcon, WindIcon, WorkflowIcon, WrapTextIcon, WrenchIcon, XCircleIcon, XIcon, XSquareIcon, ZapIcon };
|
package/dist/icons.js
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
export { ActivityIcon, MessageSquareQuoteIcon as AddCommentIcon, WandSparklesIcon as AiActionIcon, AlarmClockIcon, AlertCircleIcon, AlertTriangleIcon, AlignJustifyIcon, AlignLeftIcon, ArchiveIcon, ArchiveRestoreIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpDownIcon, ArrowUpIcon, AtSignIcon, BanIcon, BanknoteIcon, BellIcon, BlocksIcon, BoldIcon, BookOpenCheckIcon, BookTextIcon, BookmarkIcon, BookmarkPlusIcon, BracesIcon, BrainIcon, AppWindowMacIcon as BrowserControlIcon, Building2Icon, BuildingIcon, CableIcon, CalendarClockIcon, CalendarIcon, BookOpenIcon as CaseLawIcon, CheckCheckIcon, CheckCircle2Icon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsUpDownIcon, CircleAlertIcon, CircleCheckIcon, CircleDashedIcon, CircleDotIcon, CircleHelpIcon, CircleIcon, CircleOffIcon, CircleUserRoundIcon, ClipboardCheckIcon, ClipboardCopyIcon, ClipboardIcon, ClipboardListIcon, Clock3Icon, ClockIcon, CogIcon, Columns2Icon, Columns3Icon,
|
|
1
|
+
export { ActivityIcon, MessageSquareQuoteIcon as AddCommentIcon, WandSparklesIcon as AiActionIcon, AlarmClockIcon, AlertCircleIcon, AlertTriangleIcon, AlignJustifyIcon, AlignLeftIcon, ArchiveIcon, ArchiveRestoreIcon, ArrowDownIcon, ArrowLeftIcon, ArrowRightIcon, ArrowUpDownIcon, ArrowUpIcon, AtSignIcon, BanIcon, BanknoteIcon, BellIcon, BlocksIcon, BoldIcon, BookOpenCheckIcon, BookTextIcon, BookmarkIcon, BookmarkPlusIcon, BracesIcon, BrainIcon, AppWindowMacIcon as BrowserControlIcon, Building2Icon, BuildingIcon, CableIcon, CalendarClockIcon, CalendarIcon, BookOpenIcon as CaseLawIcon, CheckCheckIcon, CheckCircle2Icon, CheckIcon, ChevronDownIcon, ChevronLeftIcon, ChevronRightIcon, ChevronUpIcon, ChevronsUpDownIcon, CircleAlertIcon, CircleCheckIcon, CircleDashedIcon, CircleDotIcon, CircleHelpIcon, CircleIcon, CircleOffIcon, CircleUserRoundIcon, ClipboardCheckIcon, ClipboardCopyIcon, ClipboardIcon, ClipboardListIcon, Clock3Icon, ClockIcon, CloudIcon, CogIcon, Columns2Icon, Columns3Icon, CommandIcon, CompassIcon, CopyIcon as CopyFromMenuIcon, CopyPlusIcon, CopyIcon as CopyToClipboardIcon, CornerDownLeftIcon, CpuIcon, CropIcon, DatabaseIcon, MicIcon as DictateIcon, DollarSignIcon, DownloadIcon, CopyIcon as DuplicateIcon, EditIcon, FileStackIcon as EditPagesIcon, EllipsisIcon, EllipsisVerticalIcon, EqualIcon, ExternalLinkIcon, EyeIcon, EyeOffIcon, FileBadgeIcon, FileCheckIcon, FileCodeIcon, FileDiffIcon, FileDigitIcon, FileDownIcon, FileIcon, FileImageIcon, FileOutputIcon, FilePlus2Icon, FilePlusIcon, FileQuestionIcon, FileSearchIcon, FileSpreadsheetIcon, FileTextIcon, FileUpIcon, FilterIcon, FilterXIcon, FlagIcon, FlaskConicalIcon, FoldHorizontalIcon, FolderIcon, FolderInputIcon, FolderOpenIcon, FolderPlusIcon, FolderSyncIcon, FolderTreeIcon, FunctionSquareIcon, GanttChartIcon, GaugeIcon, GitBranchIcon, GitCommitHorizontalIcon, GitPullRequestIcon, GlobeIcon, GraduationCapIcon, GripVerticalIcon, HashIcon, Heading1Icon, Heading2Icon, Heading3Icon, HelpCircleIcon, HighlighterIcon, HistoryIcon, ImageIcon, ImageOffIcon, InboxIcon, InfoIcon, ItalicIcon, KanbanIcon, KeyRoundIcon, KeyboardIcon, LandmarkIcon, LanguagesIcon, LaptopIcon, LayersIcon, LayoutDashboardIcon, LayoutGridIcon, LayoutTemplateIcon, LibraryBigIcon, LibraryIcon, Link2Icon, LinkIcon, ListChecksIcon, ListFilterIcon, ListIcon, ListMinusIcon, ListOrderedIcon, ListTodoIcon, ListTreeIcon, ListXIcon, LoaderCircleIcon, LockIcon, LockKeyholeIcon, LockOpenIcon, LogOutIcon, MailIcon, Maximize2Icon, MegaphoneIcon, MessageCircleQuestionIcon, MessageSquareIcon, MessageSquareTextIcon, MessageSquareWarningIcon, MessagesSquareIcon, Minimize2Icon, MinusIcon, MonitorIcon, MoonIcon, MoreHorizontalIcon, MessageSquarePlusIcon as NewChatIcon, PackageIcon, PaletteIcon, PanelLeftIcon, PanelRightIcon, PaperclipIcon, PauseIcon, PenIcon, PenLineIcon, PencilIcon, PencilLineIcon, PhoneIcon, PinIcon, PinOffIcon, PlayIcon, PlugIcon, PlusIcon, PowerIcon, PrinterIcon, QuoteIcon, Redo2Icon, RefreshCcwIcon, RefreshCwIcon, RepeatIcon, RotateCcwIcon, RotateCwIcon, RouteIcon, Rows2Icon, Rows3Icon, SaveIcon, ScanSearchIcon, ScanTextIcon, ScissorsIcon, ScrollTextIcon, SearchIcon, SearchXIcon, SendIcon, ServerIcon, Settings2Icon, ShapesIcon, ShieldAlertIcon, ShieldCheckIcon, ShieldIcon, SigmaIcon, SignatureIcon, BookOpenIcon as SkillIcon, SlashIcon, SlidersHorizontalIcon, SparklesIcon, SplitIcon, SquareCheckIcon, SquareIcon, SquareMinusIcon, SquarePenIcon, StarIcon, StarOffIcon, StickyNoteIcon, StrikethroughIcon, SunIcon, TableIcon, TagIcon, TagsIcon, TerminalIcon, TextIcon, TextQuoteIcon, ToggleLeftIcon, Trash2Icon, TrashIcon, TriangleAlertIcon, UnderlineIcon, Undo2Icon, UndoIcon, UnfoldHorizontalIcon, UngroupIcon, UploadIcon, UserCheckIcon, UserIcon, UserPlusIcon, UserRoundIcon, UsersIcon, VideoIcon, WavesIcon, WindIcon, WorkflowIcon, WrapTextIcon, WrenchIcon, XCircleIcon, XIcon, XSquareIcon, ZapIcon } from "lucide-react";
|
package/dist/index.d.ts
CHANGED
|
@@ -80,7 +80,7 @@ import { ResizeSeparator, Separator, TextSeparator } from "./components/separato
|
|
|
80
80
|
import { ResourceCalendar, ResourceCalendarColumn, ResourceCalendarEntry, ResourceCalendarEntryTone, ResourceCalendarResource } from "./calendar/resource-calendar.js";
|
|
81
81
|
import { ReviewAuthorAvatar, UNKNOWN_AUTHOR_LABEL } from "./review/review-author-avatar.js";
|
|
82
82
|
import { ReviewCommentAuthor, ReviewCommentCard } from "./review/review-comment-card.js";
|
|
83
|
-
import { ReviewDecisionActions, ReviewDecisionSize, ReviewDecisionState } from "./review/review-decision-actions.js";
|
|
83
|
+
import { ReviewDecisionActions, ReviewDecisionEmphasis, ReviewDecisionSize, ReviewDecisionState } from "./review/review-decision-actions.js";
|
|
84
84
|
import { ReviewDiffDeletion, ReviewDiffInsertion, ReviewDiffSegment, ReviewDiffSegmentType, ReviewDiffText, TRACKED_DELETION_STYLE, TRACKED_INSERTION_STYLE, reviewDiffSegmentKeys } from "./review/review-diff-text.js";
|
|
85
85
|
import { ReviewOutOfDateNotice, ReviewOutOfDateReason, ReviewOutOfDateTone } from "./review/review-out-of-date-notice.js";
|
|
86
86
|
import { ReviewSeverityDot, ReviewSeverityLevel, ReviewStatusDot, reviewSeverityTone } from "./review/review-severity-dot.js";
|
|
@@ -113,4 +113,4 @@ import { getInitials } from "./lib/initials.js";
|
|
|
113
113
|
import { useIsMobile } from "./hooks/use-mobile.js";
|
|
114
114
|
import { useLatest } from "./hooks/use-latest.js";
|
|
115
115
|
import { useViewportWidth } from "./hooks/use-viewport-width.js";
|
|
116
|
-
export { APPLICATION_RAIL_BUTTON_SIZE, APPLICATION_RAIL_ICON_SIZE, APPLICATION_RAIL_WIDTH, Accordion, AccordionPanel as AccordionContent, AccordionPanel, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogBackdrop, AlertDialogBackdrop as AlertDialogOverlay, AlertDialogClose, AlertDialogPopup as AlertDialogContent, AlertDialogPopup, AlertDialogCreateHandle, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogPanel, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertDialogViewport, AnchoredToastProvider, ApplicationRail, ApplicationRailButton, ApplicationRailContent, ApplicationRailFooter, ApplicationRailHeader, ApplicationRailMenu, ApplicationRailSeparator, Avatar, AvatarFallback, AvatarImage, BOARD_DRAG_OVERLAY_Z_INDEX, BUTTON_CONTENT, BUTTON_SIZE_CONTENT, Badge, type BadgeProps, type BadgeSize, type BadgeTone, type BidiDirection, BidiText, type BidiTextProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, type BuildKanbanBoardMatrixParams, Button, type ButtonFocusRing, type ButtonPlainShape, type ButtonProps, type ButtonSize, ButtonTextRun, type ButtonVariant, CONTROL_SIZE, CONTROL_SIZES, COPIED_RESET_MS, CalendarCell, CalendarDateRange, CalendarEntryButton, CalendarEntrySurface, CalendarGrid, CalendarHeaderCell, CalendarHeaderRow, Checkbox, Collapsible, CollapsiblePanel, CollapsibleTrigger, ColorPicker, ColorPickerContent, type ColorPickerContentProps, type ColorPickerProps, type ColorPreset, ColorVariants, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxClear, ComboboxCollection, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxList, ComboboxPopup, ComboboxRow, ComboboxSeparator, ComboboxStatus, ComboboxTrigger, ComboboxValue, Command, CommandCollection, CommandDialog, CommandDialogPopup, CommandDialogTrigger, CommandEmpty, CommandFooter, CommandGroup, CommandGroupLabel, CommandInput, CommandItem, CommandList, CommandPanel, CommandSeparator, CommandShortcut, type ControlSize, CopyButton, CopyFeedback, type CreateKanbanDropIntentParams, DEFAULT_PRESETS, DIALOG_MOBILE_LAYOUT, DIALOG_SIZE_CLASS_NAMES, DataTable, type DataTableAriaSort, type DataTableColumn, type DataTableProps, type DataTableRowAction, DatePickerPopover, type DatePickerPopoverProps, DestructiveActionConfirmation, DestructiveConfirmDialog, type DestructiveConfirmDialogProps, type DestructiveConfirmOutcome, DetailsGrid, DetailsItem, type DetailsLabelWidth, type DetailsOrientation, type DetailsVariant, Dialog, DialogBackdrop, DialogBackdrop as DialogOverlay, DialogClose, DialogPopup as DialogContent, DialogPopup, DialogCreateHandle, DialogDescription, DialogFooter, DialogFormState, DialogHeader, type DialogLabels, type DialogMobileLayout, DialogPanel, DialogPortal, DialogProvider, type DialogSize, DialogTitle, DialogTrigger, DialogViewport, DirectionalIcon, DiscordLogoIcon, Menu as DropdownMenu, Menu, MenuCheckboxItem as DropdownMenuCheckboxItem, MenuCheckboxItem, MenuPopup as DropdownMenuContent, MenuPopup, MenuCreateHandle as DropdownMenuCreateHandle, MenuCreateHandle, MenuGroup as DropdownMenuGroup, MenuGroup, MenuItem as DropdownMenuItem, MenuItem, MenuGroupLabel as DropdownMenuLabel, MenuGroupLabel, MenuLinkItem as DropdownMenuLinkItem, MenuLinkItem, MenuPortal as DropdownMenuPortal, MenuPortal, MenuRadioGroup as DropdownMenuRadioGroup, MenuRadioGroup, MenuRadioItem as DropdownMenuRadioItem, MenuRadioItem, MenuSeparator as DropdownMenuSeparator, MenuSeparator, MenuShortcut as DropdownMenuShortcut, MenuShortcut, MenuSub as DropdownMenuSub, MenuSub, MenuSubPopup as DropdownMenuSubContent, MenuSubPopup, MenuSubTrigger as DropdownMenuSubTrigger, MenuSubTrigger, MenuTrigger as DropdownMenuTrigger, MenuTrigger, Field, FieldControl, FieldDescription, FieldError, FieldItem, FieldLabel, FieldValidity, FileInput, type FileInputProps, Form, type FormErrors, type FormProps, Frame, FrameDescription, FrameFooter, FrameHeader, FramePanel, FrameTitle, GitHubLogoIcon, HexColorPicker, type HexColorPickerProps, PreviewCard as HoverCard, PreviewCard, PreviewCardPopup as HoverCardContent, PreviewCardPopup, PreviewCardTrigger as HoverCardTrigger, PreviewCardTrigger, INSPECTOR_CONTENT_MIN_WIDTH, INSPECTOR_EDITOR_MIN_WIDTH, INSPECTOR_PANE_DEFAULT_WIDTH, INSPECTOR_PANE_KEYBOARD_PAGE_STEP, INSPECTOR_PANE_KEYBOARD_STEP, INSPECTOR_PANE_MAX_WIDTH, INSPECTOR_PANE_MIN_WIDTH, INSPECTOR_RAIL_WIDTH, InlineRenameInput, Input, InputGroup, InputGroupAddon, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Inspector, InspectorActions, InspectorContent, InspectorDescription, InspectorDock, type InspectorDockMount, InspectorEmptyRow, InspectorEntityTab, type InspectorEntityTabInactiveIcon, InspectorFacetBar, InspectorHeader, InspectorHeaderText, InspectorProperty, InspectorPropertyLabel, InspectorPropertyList, InspectorPropertyValue, InspectorRail, InspectorRailCell, InspectorRailContent, InspectorRailFooter, InspectorRailIconButton, InspectorRailTab, InspectorSection, InspectorSectionTitle, InspectorTitle, KANBAN_BAND_CAPTION_ROW_HEIGHT, KANBAN_BAND_CAPTION_ROW_HEIGHT_PX, KANBAN_BAND_PEEK_DELAY_MS, KANBAN_BAND_PEEK_LINGER_MS, KANBAN_BOARD_AUTO_SCROLL_OPTIONS, KANBAN_BOARD_AUTO_SCROLL_SOURCES, KANBAN_BOARD_AXES, KANBAN_BOARD_COLLISION_DETECTION, KANBAN_CARD_DRAG_MIME, KANBAN_CARD_STICKY_TOP_VAR, KANBAN_CHROME_ROW_HEIGHT, KANBAN_CHROME_ROW_HEIGHT_PX, KANBAN_COLLAPSED_BAND_WIDTH_CLASS, KANBAN_COLLAPSED_BAND_WIDTH_PX, KANBAN_COLUMN_GAP_PX, KANBAN_COLUMN_WIDTH_CLASS, KANBAN_COLUMN_WIDTH_PX, KANBAN_DIRECTIONS, KANBAN_DRAG_OVERLAY_Z_INDEX, KANBAN_HORIZONTAL_EDGES, KANBAN_MOUSE_ACTIVATION_DISTANCE, KANBAN_SORTABLE_ACTIVATION_MODES, KANBAN_STICKY_TOP_VAR, KANBAN_TOUCH_ACTIVATION_CONSTRAINT, KANBAN_VIRTUAL_CELL_PAGINATION, type KanbanBandToggleActivation, type KanbanBoardAxis, type KanbanBoardCell, type KanbanBoardColumn, type KanbanBoardCoordinate, type KanbanBoardDestination, type KanbanBoardLane, type KanbanBoardMatrix, type KanbanBuiltInGroup, type KanbanCardDragPreview, KanbanCardDragSurface, type KanbanCardDragSurfaceProps, type KanbanCardFieldSelection, type KanbanCardSelectionModifiers, KanbanCardShell, type KanbanCardShellProps, KanbanCellAction, type KanbanCellActionProps, type KanbanCellVirtualNavigation, KanbanCollapsedBandCaption, type KanbanCollapsedBandCaptionProps, type KanbanColumnBand, KanbanColumnBandHeader, type KanbanColumnBandHeaderProps, type KanbanColumnBandSpan, KanbanColumnHeader, type KanbanColumnHeaderProps, type KanbanDirection, type KanbanDragCancelEvent, type KanbanDragEndEvent, KanbanDragHandle, type KanbanDragHandleProps, type KanbanDragOverEvent, type KanbanDragStartEvent, type KanbanDropAxisChange, type KanbanDropIntent, type KanbanGroup, type KanbanGroupOption, type KanbanGrouping, type KanbanHorizontalEdge, type KanbanSchema, type KanbanSortableActivationMode, type KanbanSortableBindings, KanbanSortableBoard, type KanbanSortableBoardProps, type KanbanSortableCellPosition, type KanbanSubgroupBandHeaderContext, KanbanSubgroupBoard, type KanbanSubgroupBoardProps, type KanbanSubgroupCellContext, type KanbanSubgroupCollapsedBandCellContext, type KanbanSubgroupColumnHeaderContext, type KanbanSubgroupLaneColumnActionContext, type KanbanSubgroupLaneColumnSummaryContext, type KanbanSubgroupLaneIdentityContext, KanbanVirtualCell, type KanbanVirtualCellPagination, type KanbanVirtualCellProps, type KanbanVirtualCellSortableContext, type KanbanVirtualScrollRequest, Kbd, type KbdKey, type KbdKeys, type KbdNamedKey, type KbdNavigator, type KbdPlatform, type KbdProps, type KbdVariant, LEGAL_TEXT_CLASS_NAME, Label, type LabelVariant, List, ListEmpty, ListGroup, ListGroupAction, ListGroupCount, ListGroupDescription, ListGroupHeader, ListGroupHeading, ListGroupTitle, ListItem, ListItemActions, ListItemContent, ListItemDescription, ListItemMedia, ListItemStatus, ListItemTitle, MenuAnchor, MenuPreviewLayout, MenuSection, OUTLINE_CONTROL_MIN_SIZE, OUTLINE_EMPHASIS, OVERLAY_COLLISION_PADDING, OVERLAY_LAYER_CLASS_NAMES, OptionColor, type OrderKanbanCellsByColumnsParams, OutlineEmphasis, OutlineItem, OutlinePortrait, OutlineRail, OutlineRailProps, OverlayLayer, PROPERTY_ROW_GRID, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PanelTrigger, Popover, PopoverClose, PopoverPopup as PopoverContent, PopoverPopup, PopoverCreateHandle, PopoverDescription, PopoverPanel, PopoverTitle, PopoverTrigger, PreviewCardPrimitive, PreviewPane, Prose, type RegisterKanbanBoardAutoScrollOptions, type RegisterKanbanCardDragOptions, ResizeSeparator, type ResolveKanbanGroupValueParams, type ResolveKanbanGroupingParams, ResourceCalendar, ResourceCalendarColumn, ResourceCalendarEntry, ResourceCalendarEntryTone, ResourceCalendarLaneLayout, ResourceCalendarLanePlacement, ResourceCalendarPlacement, ResourceCalendarResource, ReviewAuthorAvatar, ReviewCommentAuthor, ReviewCommentCard, ReviewDecisionActions, ReviewDecisionSize, ReviewDecisionState, ReviewDiffDeletion, ReviewDiffInsertion, ReviewDiffSegment, ReviewDiffSegmentType, ReviewDiffText, ReviewOutOfDateNotice, ReviewOutOfDateReason, ReviewOutOfDateTone, ReviewSeverityDot, ReviewSeverityLevel, ReviewStatusBadge, ReviewStatusDot, ReviewStatusSize, ReviewStatusTone, ReviewStatusVariant, SHELL_CHROME_LAYER_CLASS_NAME, SIDEBAR_WIDTH_ICON_PX, SIDEBAR_WIDTH_PX, SIDE_RAIL_CONTAINER_CLASS, SIDE_RAIL_ICON_BUTTON_SIZE, SIDE_RAIL_TAB_ICON_SIZE, SIDE_RAIL_WIDTH, ScrollArea, ScrollBar, ScrollToTop, ScrollToTopProps, SearchField, type SearchFieldProps, SecretInput, type SecretInputProps, SegmentedIconToggle, Select, SelectPopup as SelectContent, SelectPopup, SelectGroup, SelectGroupLabel, SelectItem, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetBackdrop, SheetBackdrop as SheetOverlay, SheetClose, SheetPopup as SheetContent, SheetPopup, SheetDescription, SheetFooter, SheetHeader, SheetPanel, SheetPortal, type SheetSide, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarIdentityButton, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SortDirection, SortableHead, type StatusTone, StellaMark, StellaWordmarkLatin, TOAST_RIGHT_OFFSET_VAR, TOOLBAR_ROW_HEIGHT, TOOLBAR_ROW_HEIGHT_PX, TOOLTIP_OPEN_DELAY_MS, TRACKED_DELETION_STYLE, TRACKED_INSERTION_STYLE, Table, type TableAlign, TableBody, TableCaption, TableCell, type TableCellProps, type TableColumnCapabilities, type TableColumnDescriptor, type TableDensity, TableFooter, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableInset, type TableProps, TableRow, type TableSchema, type TableScroll, type TableTone, Tabs, TabsPanel as TabsContent, TabsPanel, TabsList, TabsTab, TabsTab as TabsTrigger, TextSeparator, Textarea, type TextareaProps, type ToastPosition, ToastProvider, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupProps, type ToggleProps, type ToggleVariant, Tooltip, TooltipPopup as TooltipContent, TooltipPopup, TooltipCreateHandle, TooltipFactTrigger, TooltipProvider, TooltipTrigger, TruncatedText, type TruncatedTextLines, type TruncatedTextProps, TypedCharacterEvent, UNKNOWN_AUTHOR_LABEL, type UseKanbanDropTargetOptions, type UseKanbanSortableOptions, UserText, type WorkspaceCompactNavigation, WorkspaceEndRail, type WorkspaceEndRailChatAction, type WorkspaceEndRailProps, type WorkspaceNavigation, WorkspaceShell, type WorkspaceShellProps, type WorkspaceTopBarContext, XLogoIcon, assertConsecutiveCalendarDates, badgeVariants, buildKanbanBoardMatrix, buttonAccessibleDisabledClass, buttonVariants, cn, composeRefs, containedEventHandler, containedHandler, contentDir, createKanbanDropIntent, duplicateColumnIds, emptyColor, entityTabGlyph, findTableColumn, formVariants, formatKeys, getFirstWeekday, getInitials, getKanbanBoardColumnIdentity, getKanbanBoardLaneIdentity, getKanbanGroupingPropertyId, getKanbanGroups, getKanbanHorizontalEdge, getLocaleWeekInfo, getResourceCalendarPlacement, getWeekendDays, hasKanbanColumnBands, hideableColumnIds, isKanbanGroupingRenderable, isStructuredInputType, isTextOverflowing, kanbanKeyboardCoordinates, kbdPlatformOf, layoutResourceCalendarEntries, nextCalendarDate, optionColors, orderKanbanCellsByColumns, outlineEntryText, registerKanbanBoardAutoScroll, registerKanbanCardDrag, resolveDragWidth, resolveInspectorDockWidth, resolveInspectorPaneMaxWidth, resolveInspectorPaneWidth, resolveKanbanColumnBands, resolveKanbanGroupOptions, resolveKanbanGrouping, resolveKeyboardWidth, resolveOptionColor, resolveToastUpdateTimeout, reviewDiffSegmentKeys, reviewSeverityTone, selectKanbanCardFieldIds, selectKanbanRows, shouldForceSidebarCollapsed, sidebarIdentityTriggerClassName, sortableColumnIds, stellaToast, stripDirectionalControls, tableColumnIds, tableColumnSizing, toastCountdownMs, toastDedupeId, typedCharacter, useContentDir, useCopiedFeedback, useCopyConfirmation, useDestructiveActionConfirmation, useInspectorPaneWidth, useIsMobile, useKanbanDropTarget, useKanbanSortable, useKanbanSortableSensors, useKbdPlatform, useLatest, useSidebar, useSidebarInlineSize, useSidebarLayout, useViewportWidth, visibleColumnIds, withoutDirectionalControls };
|
|
116
|
+
export { APPLICATION_RAIL_BUTTON_SIZE, APPLICATION_RAIL_ICON_SIZE, APPLICATION_RAIL_WIDTH, Accordion, AccordionPanel as AccordionContent, AccordionPanel, AccordionItem, AccordionTrigger, AlertDialog, AlertDialogBackdrop, AlertDialogBackdrop as AlertDialogOverlay, AlertDialogClose, AlertDialogPopup as AlertDialogContent, AlertDialogPopup, AlertDialogCreateHandle, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogPanel, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, AlertDialogViewport, AnchoredToastProvider, ApplicationRail, ApplicationRailButton, ApplicationRailContent, ApplicationRailFooter, ApplicationRailHeader, ApplicationRailMenu, ApplicationRailSeparator, Avatar, AvatarFallback, AvatarImage, BOARD_DRAG_OVERLAY_Z_INDEX, BUTTON_CONTENT, BUTTON_SIZE_CONTENT, Badge, type BadgeProps, type BadgeSize, type BadgeTone, type BidiDirection, BidiText, type BidiTextProps, Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator, type BuildKanbanBoardMatrixParams, Button, type ButtonFocusRing, type ButtonPlainShape, type ButtonProps, type ButtonSize, ButtonTextRun, type ButtonVariant, CONTROL_SIZE, CONTROL_SIZES, COPIED_RESET_MS, CalendarCell, CalendarDateRange, CalendarEntryButton, CalendarEntrySurface, CalendarGrid, CalendarHeaderCell, CalendarHeaderRow, Checkbox, Collapsible, CollapsiblePanel, CollapsibleTrigger, ColorPicker, ColorPickerContent, type ColorPickerContentProps, type ColorPickerProps, type ColorPreset, ColorVariants, Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxClear, ComboboxCollection, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxList, ComboboxPopup, ComboboxRow, ComboboxSeparator, ComboboxStatus, ComboboxTrigger, ComboboxValue, Command, CommandCollection, CommandDialog, CommandDialogPopup, CommandDialogTrigger, CommandEmpty, CommandFooter, CommandGroup, CommandGroupLabel, CommandInput, CommandItem, CommandList, CommandPanel, CommandSeparator, CommandShortcut, type ControlSize, CopyButton, CopyFeedback, type CreateKanbanDropIntentParams, DEFAULT_PRESETS, DIALOG_MOBILE_LAYOUT, DIALOG_SIZE_CLASS_NAMES, DataTable, type DataTableAriaSort, type DataTableColumn, type DataTableProps, type DataTableRowAction, DatePickerPopover, type DatePickerPopoverProps, DestructiveActionConfirmation, DestructiveConfirmDialog, type DestructiveConfirmDialogProps, type DestructiveConfirmOutcome, DetailsGrid, DetailsItem, type DetailsLabelWidth, type DetailsOrientation, type DetailsVariant, Dialog, DialogBackdrop, DialogBackdrop as DialogOverlay, DialogClose, DialogPopup as DialogContent, DialogPopup, DialogCreateHandle, DialogDescription, DialogFooter, DialogFormState, DialogHeader, type DialogLabels, type DialogMobileLayout, DialogPanel, DialogPortal, DialogProvider, type DialogSize, DialogTitle, DialogTrigger, DialogViewport, DirectionalIcon, DiscordLogoIcon, Menu as DropdownMenu, Menu, MenuCheckboxItem as DropdownMenuCheckboxItem, MenuCheckboxItem, MenuPopup as DropdownMenuContent, MenuPopup, MenuCreateHandle as DropdownMenuCreateHandle, MenuCreateHandle, MenuGroup as DropdownMenuGroup, MenuGroup, MenuItem as DropdownMenuItem, MenuItem, MenuGroupLabel as DropdownMenuLabel, MenuGroupLabel, MenuLinkItem as DropdownMenuLinkItem, MenuLinkItem, MenuPortal as DropdownMenuPortal, MenuPortal, MenuRadioGroup as DropdownMenuRadioGroup, MenuRadioGroup, MenuRadioItem as DropdownMenuRadioItem, MenuRadioItem, MenuSeparator as DropdownMenuSeparator, MenuSeparator, MenuShortcut as DropdownMenuShortcut, MenuShortcut, MenuSub as DropdownMenuSub, MenuSub, MenuSubPopup as DropdownMenuSubContent, MenuSubPopup, MenuSubTrigger as DropdownMenuSubTrigger, MenuSubTrigger, MenuTrigger as DropdownMenuTrigger, MenuTrigger, Field, FieldControl, FieldDescription, FieldError, FieldItem, FieldLabel, FieldValidity, FileInput, type FileInputProps, Form, type FormErrors, type FormProps, Frame, FrameDescription, FrameFooter, FrameHeader, FramePanel, FrameTitle, GitHubLogoIcon, HexColorPicker, type HexColorPickerProps, PreviewCard as HoverCard, PreviewCard, PreviewCardPopup as HoverCardContent, PreviewCardPopup, PreviewCardTrigger as HoverCardTrigger, PreviewCardTrigger, INSPECTOR_CONTENT_MIN_WIDTH, INSPECTOR_EDITOR_MIN_WIDTH, INSPECTOR_PANE_DEFAULT_WIDTH, INSPECTOR_PANE_KEYBOARD_PAGE_STEP, INSPECTOR_PANE_KEYBOARD_STEP, INSPECTOR_PANE_MAX_WIDTH, INSPECTOR_PANE_MIN_WIDTH, INSPECTOR_RAIL_WIDTH, InlineRenameInput, Input, InputGroup, InputGroupAddon, InputGroupInput, InputGroupText, InputGroupTextarea, InputOTP, InputOTPGroup, InputOTPSeparator, InputOTPSlot, type InputProps, Inspector, InspectorActions, InspectorContent, InspectorDescription, InspectorDock, type InspectorDockMount, InspectorEmptyRow, InspectorEntityTab, type InspectorEntityTabInactiveIcon, InspectorFacetBar, InspectorHeader, InspectorHeaderText, InspectorProperty, InspectorPropertyLabel, InspectorPropertyList, InspectorPropertyValue, InspectorRail, InspectorRailCell, InspectorRailContent, InspectorRailFooter, InspectorRailIconButton, InspectorRailTab, InspectorSection, InspectorSectionTitle, InspectorTitle, KANBAN_BAND_CAPTION_ROW_HEIGHT, KANBAN_BAND_CAPTION_ROW_HEIGHT_PX, KANBAN_BAND_PEEK_DELAY_MS, KANBAN_BAND_PEEK_LINGER_MS, KANBAN_BOARD_AUTO_SCROLL_OPTIONS, KANBAN_BOARD_AUTO_SCROLL_SOURCES, KANBAN_BOARD_AXES, KANBAN_BOARD_COLLISION_DETECTION, KANBAN_CARD_DRAG_MIME, KANBAN_CARD_STICKY_TOP_VAR, KANBAN_CHROME_ROW_HEIGHT, KANBAN_CHROME_ROW_HEIGHT_PX, KANBAN_COLLAPSED_BAND_WIDTH_CLASS, KANBAN_COLLAPSED_BAND_WIDTH_PX, KANBAN_COLUMN_GAP_PX, KANBAN_COLUMN_WIDTH_CLASS, KANBAN_COLUMN_WIDTH_PX, KANBAN_DIRECTIONS, KANBAN_DRAG_OVERLAY_Z_INDEX, KANBAN_HORIZONTAL_EDGES, KANBAN_MOUSE_ACTIVATION_DISTANCE, KANBAN_SORTABLE_ACTIVATION_MODES, KANBAN_STICKY_TOP_VAR, KANBAN_TOUCH_ACTIVATION_CONSTRAINT, KANBAN_VIRTUAL_CELL_PAGINATION, type KanbanBandToggleActivation, type KanbanBoardAxis, type KanbanBoardCell, type KanbanBoardColumn, type KanbanBoardCoordinate, type KanbanBoardDestination, type KanbanBoardLane, type KanbanBoardMatrix, type KanbanBuiltInGroup, type KanbanCardDragPreview, KanbanCardDragSurface, type KanbanCardDragSurfaceProps, type KanbanCardFieldSelection, type KanbanCardSelectionModifiers, KanbanCardShell, type KanbanCardShellProps, KanbanCellAction, type KanbanCellActionProps, type KanbanCellVirtualNavigation, KanbanCollapsedBandCaption, type KanbanCollapsedBandCaptionProps, type KanbanColumnBand, KanbanColumnBandHeader, type KanbanColumnBandHeaderProps, type KanbanColumnBandSpan, KanbanColumnHeader, type KanbanColumnHeaderProps, type KanbanDirection, type KanbanDragCancelEvent, type KanbanDragEndEvent, KanbanDragHandle, type KanbanDragHandleProps, type KanbanDragOverEvent, type KanbanDragStartEvent, type KanbanDropAxisChange, type KanbanDropIntent, type KanbanGroup, type KanbanGroupOption, type KanbanGrouping, type KanbanHorizontalEdge, type KanbanSchema, type KanbanSortableActivationMode, type KanbanSortableBindings, KanbanSortableBoard, type KanbanSortableBoardProps, type KanbanSortableCellPosition, type KanbanSubgroupBandHeaderContext, KanbanSubgroupBoard, type KanbanSubgroupBoardProps, type KanbanSubgroupCellContext, type KanbanSubgroupCollapsedBandCellContext, type KanbanSubgroupColumnHeaderContext, type KanbanSubgroupLaneColumnActionContext, type KanbanSubgroupLaneColumnSummaryContext, type KanbanSubgroupLaneIdentityContext, KanbanVirtualCell, type KanbanVirtualCellPagination, type KanbanVirtualCellProps, type KanbanVirtualCellSortableContext, type KanbanVirtualScrollRequest, Kbd, type KbdKey, type KbdKeys, type KbdNamedKey, type KbdNavigator, type KbdPlatform, type KbdProps, type KbdVariant, LEGAL_TEXT_CLASS_NAME, Label, type LabelVariant, List, ListEmpty, ListGroup, ListGroupAction, ListGroupCount, ListGroupDescription, ListGroupHeader, ListGroupHeading, ListGroupTitle, ListItem, ListItemActions, ListItemContent, ListItemDescription, ListItemMedia, ListItemStatus, ListItemTitle, MenuAnchor, MenuPreviewLayout, MenuSection, OUTLINE_CONTROL_MIN_SIZE, OUTLINE_EMPHASIS, OVERLAY_COLLISION_PADDING, OVERLAY_LAYER_CLASS_NAMES, OptionColor, type OrderKanbanCellsByColumnsParams, OutlineEmphasis, OutlineItem, OutlinePortrait, OutlineRail, OutlineRailProps, OverlayLayer, PROPERTY_ROW_GRID, Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, PanelTrigger, Popover, PopoverClose, PopoverPopup as PopoverContent, PopoverPopup, PopoverCreateHandle, PopoverDescription, PopoverPanel, PopoverTitle, PopoverTrigger, PreviewCardPrimitive, PreviewPane, Prose, type RegisterKanbanBoardAutoScrollOptions, type RegisterKanbanCardDragOptions, ResizeSeparator, type ResolveKanbanGroupValueParams, type ResolveKanbanGroupingParams, ResourceCalendar, ResourceCalendarColumn, ResourceCalendarEntry, ResourceCalendarEntryTone, ResourceCalendarLaneLayout, ResourceCalendarLanePlacement, ResourceCalendarPlacement, ResourceCalendarResource, ReviewAuthorAvatar, ReviewCommentAuthor, ReviewCommentCard, ReviewDecisionActions, ReviewDecisionEmphasis, ReviewDecisionSize, ReviewDecisionState, ReviewDiffDeletion, ReviewDiffInsertion, ReviewDiffSegment, ReviewDiffSegmentType, ReviewDiffText, ReviewOutOfDateNotice, ReviewOutOfDateReason, ReviewOutOfDateTone, ReviewSeverityDot, ReviewSeverityLevel, ReviewStatusBadge, ReviewStatusDot, ReviewStatusSize, ReviewStatusTone, ReviewStatusVariant, SHELL_CHROME_LAYER_CLASS_NAME, SIDEBAR_WIDTH_ICON_PX, SIDEBAR_WIDTH_PX, SIDE_RAIL_CONTAINER_CLASS, SIDE_RAIL_ICON_BUTTON_SIZE, SIDE_RAIL_TAB_ICON_SIZE, SIDE_RAIL_WIDTH, ScrollArea, ScrollBar, ScrollToTop, ScrollToTopProps, SearchField, type SearchFieldProps, SecretInput, type SecretInputProps, SegmentedIconToggle, Select, SelectPopup as SelectContent, SelectPopup, SelectGroup, SelectGroupLabel, SelectItem, SelectSeparator, SelectTrigger, SelectValue, Separator, Sheet, SheetBackdrop, SheetBackdrop as SheetOverlay, SheetClose, SheetPopup as SheetContent, SheetPopup, SheetDescription, SheetFooter, SheetHeader, SheetPanel, SheetPortal, type SheetSide, SheetTitle, SheetTrigger, Sidebar, SidebarContent, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupContent, SidebarGroupLabel, SidebarHeader, SidebarIdentityButton, SidebarInput, SidebarInset, SidebarMenu, SidebarMenuAction, SidebarMenuBadge, SidebarMenuButton, SidebarMenuItem, SidebarMenuSkeleton, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubItem, SidebarProvider, SidebarRail, SidebarSeparator, SidebarTrigger, Skeleton, type SortDirection, SortableHead, type StatusTone, StellaMark, StellaWordmarkLatin, TOAST_RIGHT_OFFSET_VAR, TOOLBAR_ROW_HEIGHT, TOOLBAR_ROW_HEIGHT_PX, TOOLTIP_OPEN_DELAY_MS, TRACKED_DELETION_STYLE, TRACKED_INSERTION_STYLE, Table, type TableAlign, TableBody, TableCaption, TableCell, type TableCellProps, type TableColumnCapabilities, type TableColumnDescriptor, type TableDensity, TableFooter, TableHead, type TableHeadProps, TableHeader, type TableHeaderProps, type TableInset, type TableProps, TableRow, type TableSchema, type TableScroll, type TableTone, Tabs, TabsPanel as TabsContent, TabsPanel, TabsList, TabsTab, TabsTab as TabsTrigger, TextSeparator, Textarea, type TextareaProps, type ToastPosition, ToastProvider, Toggle, ToggleGroup, ToggleGroupItem, type ToggleGroupProps, type ToggleProps, type ToggleVariant, Tooltip, TooltipPopup as TooltipContent, TooltipPopup, TooltipCreateHandle, TooltipFactTrigger, TooltipProvider, TooltipTrigger, TruncatedText, type TruncatedTextLines, type TruncatedTextProps, TypedCharacterEvent, UNKNOWN_AUTHOR_LABEL, type UseKanbanDropTargetOptions, type UseKanbanSortableOptions, UserText, type WorkspaceCompactNavigation, WorkspaceEndRail, type WorkspaceEndRailChatAction, type WorkspaceEndRailProps, type WorkspaceNavigation, WorkspaceShell, type WorkspaceShellProps, type WorkspaceTopBarContext, XLogoIcon, assertConsecutiveCalendarDates, badgeVariants, buildKanbanBoardMatrix, buttonAccessibleDisabledClass, buttonVariants, cn, composeRefs, containedEventHandler, containedHandler, contentDir, createKanbanDropIntent, duplicateColumnIds, emptyColor, entityTabGlyph, findTableColumn, formVariants, formatKeys, getFirstWeekday, getInitials, getKanbanBoardColumnIdentity, getKanbanBoardLaneIdentity, getKanbanGroupingPropertyId, getKanbanGroups, getKanbanHorizontalEdge, getLocaleWeekInfo, getResourceCalendarPlacement, getWeekendDays, hasKanbanColumnBands, hideableColumnIds, isKanbanGroupingRenderable, isStructuredInputType, isTextOverflowing, kanbanKeyboardCoordinates, kbdPlatformOf, layoutResourceCalendarEntries, nextCalendarDate, optionColors, orderKanbanCellsByColumns, outlineEntryText, registerKanbanBoardAutoScroll, registerKanbanCardDrag, resolveDragWidth, resolveInspectorDockWidth, resolveInspectorPaneMaxWidth, resolveInspectorPaneWidth, resolveKanbanColumnBands, resolveKanbanGroupOptions, resolveKanbanGrouping, resolveKeyboardWidth, resolveOptionColor, resolveToastUpdateTimeout, reviewDiffSegmentKeys, reviewSeverityTone, selectKanbanCardFieldIds, selectKanbanRows, shouldForceSidebarCollapsed, sidebarIdentityTriggerClassName, sortableColumnIds, stellaToast, stripDirectionalControls, tableColumnIds, tableColumnSizing, toastCountdownMs, toastDedupeId, typedCharacter, useContentDir, useCopiedFeedback, useCopyConfirmation, useDestructiveActionConfirmation, useInspectorPaneWidth, useIsMobile, useKanbanDropTarget, useKanbanSortable, useKanbanSortableSensors, useKbdPlatform, useLatest, useSidebar, useSidebarInlineSize, useSidebarLayout, useViewportWidth, visibleColumnIds, withoutDirectionalControls };
|
package/dist/index.js
CHANGED
|
@@ -8,10 +8,10 @@ import { Badge, badgeVariants } from "./components/badge.js";
|
|
|
8
8
|
import { BidiText, UserText, stripDirectionalControls, withoutDirectionalControls } from "./components/bidi-text.js";
|
|
9
9
|
import { DiscordLogoIcon, GitHubLogoIcon, XLogoIcon } from "./components/brand-icons.js";
|
|
10
10
|
import { Breadcrumb, BreadcrumbEllipsis, BreadcrumbItem, BreadcrumbLink, BreadcrumbList, BreadcrumbPage, BreadcrumbSeparator } from "./components/breadcrumb.js";
|
|
11
|
-
import { Inspector, InspectorActions, InspectorContent, InspectorDescription, InspectorEmptyRow, InspectorHeader, InspectorHeaderText, InspectorProperty, InspectorPropertyLabel, InspectorPropertyList, InspectorPropertyValue, InspectorRail, InspectorRailCell, InspectorRailContent, InspectorRailFooter, InspectorRailIconButton, InspectorRailTab, InspectorSection, InspectorSectionTitle, InspectorTitle } from "./inspector/chrome.js";
|
|
12
11
|
import { BUTTON_CONTENT, BUTTON_SIZE_CONTENT, Button, ButtonTextRun, buttonAccessibleDisabledClass, buttonVariants } from "./components/button.js";
|
|
13
12
|
import { Checkbox } from "./components/checkbox.js";
|
|
14
13
|
import { Collapsible, CollapsiblePanel, CollapsibleTrigger } from "./components/collapsible.js";
|
|
14
|
+
import { Inspector, InspectorActions, InspectorContent, InspectorDescription, InspectorEmptyRow, InspectorHeader, InspectorHeaderText, InspectorProperty, InspectorPropertyLabel, InspectorPropertyList, InspectorPropertyValue, InspectorRail, InspectorRailCell, InspectorRailContent, InspectorRailFooter, InspectorRailIconButton, InspectorRailTab, InspectorSection, InspectorSectionTitle, InspectorTitle } from "./inspector/chrome.js";
|
|
15
15
|
import { ColorPicker, ColorPickerContent, DEFAULT_PRESETS } from "./components/color-picker.js";
|
|
16
16
|
import { Combobox, ComboboxChip, ComboboxChips, ComboboxChipsInput, ComboboxClear, ComboboxCollection, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxList, ComboboxPopup, ComboboxRow, ComboboxSeparator, ComboboxStatus, ComboboxTrigger, ComboboxValue } from "./components/combobox.js";
|
|
17
17
|
import { Command, CommandCollection, CommandDialog, CommandDialogPopup, CommandDialogTrigger, CommandEmpty, CommandFooter, CommandGroup, CommandGroupLabel, CommandInput, CommandItem, CommandList, CommandPanel, CommandSeparator, CommandShortcut } from "./components/command.js";
|
|
@@ -27,9 +27,9 @@ import { DIALOG_MOBILE_LAYOUT, DIALOG_SIZE_CLASS_NAMES, Dialog, DialogBackdrop,
|
|
|
27
27
|
import { DirectionalIcon } from "./components/directional-icon.js";
|
|
28
28
|
import { Field, FieldControl, FieldDescription, FieldError, FieldItem, FieldLabel, FieldValidity } from "./components/field.js";
|
|
29
29
|
import { FileInput } from "./components/file-input.js";
|
|
30
|
-
import { DialogFormState } from "./components/dialog-form-state.js";
|
|
31
30
|
import { Form, formVariants } from "./components/form.js";
|
|
32
31
|
import { Frame, FrameDescription, FrameFooter, FrameHeader, FramePanel, FrameTitle } from "./components/frame.js";
|
|
32
|
+
import { DialogFormState } from "./components/dialog-form-state.js";
|
|
33
33
|
import { HexColorPicker } from "./components/hex-color-picker.js";
|
|
34
34
|
import { Input } from "./components/input.js";
|
|
35
35
|
import { InlineRenameInput } from "./components/inline-rename.js";
|
|
@@ -46,7 +46,7 @@ export declare const InspectorRailTab: ({ active, className, ...props }: React$1
|
|
|
46
46
|
export declare const InspectorHeader: ({ className, ...props }: React$1.ComponentProps<"header">) => React$1.JSX.Element;
|
|
47
47
|
export declare const InspectorHeaderText: ({ className, ...props }: React$1.ComponentProps<"div">) => React$1.JSX.Element;
|
|
48
48
|
export declare const InspectorTitle: ({ children, className, ...props }: React$1.ComponentProps<"h2">) => React$1.JSX.Element;
|
|
49
|
-
export declare const InspectorDescription: ({ className, ...props }: React$1.ComponentProps<"p">) => React$1.JSX.Element;
|
|
49
|
+
export declare const InspectorDescription: ({ children, className, ...props }: React$1.ComponentProps<"p">) => React$1.JSX.Element;
|
|
50
50
|
export declare const InspectorActions: ({ className, ...props }: React$1.ComponentProps<"div">) => React$1.JSX.Element;
|
|
51
51
|
/**
|
|
52
52
|
* Scroll owner for the active tab. Exactly one of these is mounted at a
|
|
@@ -68,7 +68,7 @@ export declare const InspectorPropertyList: ({ className, ...props }: React$1.Co
|
|
|
68
68
|
* an expanded view, not in a taller row.
|
|
69
69
|
*/
|
|
70
70
|
export declare const InspectorProperty: ({ className, ...props }: React$1.ComponentProps<"div">) => React$1.JSX.Element;
|
|
71
|
-
export declare const InspectorPropertyLabel: ({ className, ...props }: React$1.ComponentProps<"dt">) => React$1.JSX.Element;
|
|
72
|
-
export declare const InspectorPropertyValue: ({ className, ...props }: React$1.ComponentProps<"dd">) => React$1.JSX.Element;
|
|
71
|
+
export declare const InspectorPropertyLabel: ({ children, className, ...props }: React$1.ComponentProps<"dt">) => React$1.JSX.Element;
|
|
72
|
+
export declare const InspectorPropertyValue: ({ children, className, ...props }: React$1.ComponentProps<"dd">) => React$1.JSX.Element;
|
|
73
73
|
/** Row-height empty state, so an empty list keeps the list's rhythm. */
|
|
74
74
|
export declare const InspectorEmptyRow: ({ className, ...props }: React$1.ComponentProps<"p">) => React$1.JSX.Element;
|
package/dist/inspector/chrome.js
CHANGED
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { withoutDirectionalControls } from "../components/bidi-text.js";
|
|
2
|
+
import { TruncatedText } from "../components/truncated-text.js";
|
|
2
3
|
import { cn } from "../lib/utils.js";
|
|
3
4
|
import { PROPERTY_ROW_GRID, SIDE_RAIL_CONTAINER_CLASS, SIDE_RAIL_ICON_BUTTON_SIZE, TOOLBAR_ROW_HEIGHT } from "./layout-tokens.js";
|
|
4
5
|
import { jsx } from "react/jsx-runtime";
|
|
@@ -87,18 +88,24 @@ const InspectorHeaderText = ({ className, ...props }) => /* @__PURE__ */ jsx("di
|
|
|
87
88
|
"data-slot": "inspector-header-text",
|
|
88
89
|
...props
|
|
89
90
|
});
|
|
90
|
-
const InspectorTitle = ({ children, className, ...props }) => /* @__PURE__ */ jsx(
|
|
91
|
-
className: cn("
|
|
91
|
+
const InspectorTitle = ({ children, className, ...props }) => /* @__PURE__ */ jsx(TruncatedText, {
|
|
92
|
+
className: cn("text-xs font-medium [unicode-bidi:isolate]", className),
|
|
92
93
|
"data-slot": "inspector-title",
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
94
|
+
render: /* @__PURE__ */ jsx("h2", {
|
|
95
|
+
dir: "auto",
|
|
96
|
+
...props,
|
|
97
|
+
children: withoutDirectionalControls(children)
|
|
98
|
+
}),
|
|
99
|
+
tooltip: withoutDirectionalControls(children)
|
|
100
|
+
});
|
|
101
|
+
const InspectorDescription = ({ children, className, ...props }) => /* @__PURE__ */ jsx(TruncatedText, {
|
|
102
|
+
className: cn("text-muted-foreground text-2xs [unicode-bidi:isolate]", className),
|
|
99
103
|
"data-slot": "inspector-description",
|
|
100
|
-
|
|
101
|
-
|
|
104
|
+
render: /* @__PURE__ */ jsx("p", {
|
|
105
|
+
dir: "auto",
|
|
106
|
+
...props
|
|
107
|
+
}),
|
|
108
|
+
children
|
|
102
109
|
});
|
|
103
110
|
const InspectorActions = ({ className, ...props }) => /* @__PURE__ */ jsx("div", {
|
|
104
111
|
className: cn("flex shrink-0 items-center gap-1 ps-4", className),
|
|
@@ -146,16 +153,20 @@ const InspectorProperty = ({ className, ...props }) => /* @__PURE__ */ jsx("div"
|
|
|
146
153
|
"data-slot": "inspector-property",
|
|
147
154
|
...props
|
|
148
155
|
});
|
|
149
|
-
const InspectorPropertyLabel = ({ className, ...props }) => /* @__PURE__ */ jsx(
|
|
150
|
-
className: cn("text-muted-foreground
|
|
156
|
+
const InspectorPropertyLabel = ({ children, className, ...props }) => /* @__PURE__ */ jsx(TruncatedText, {
|
|
157
|
+
className: cn("text-muted-foreground text-sm font-medium", className),
|
|
151
158
|
"data-slot": "inspector-property-label",
|
|
152
|
-
...props
|
|
159
|
+
render: /* @__PURE__ */ jsx("dt", { ...props }),
|
|
160
|
+
children
|
|
153
161
|
});
|
|
154
|
-
const InspectorPropertyValue = ({ className, ...props }) => /* @__PURE__ */ jsx(
|
|
155
|
-
className: cn("
|
|
162
|
+
const InspectorPropertyValue = ({ children, className, ...props }) => /* @__PURE__ */ jsx(TruncatedText, {
|
|
163
|
+
className: cn("text-sm [unicode-bidi:isolate]", className),
|
|
156
164
|
"data-slot": "inspector-property-value",
|
|
157
|
-
|
|
158
|
-
|
|
165
|
+
render: /* @__PURE__ */ jsx("dd", {
|
|
166
|
+
dir: "auto",
|
|
167
|
+
...props
|
|
168
|
+
}),
|
|
169
|
+
children
|
|
159
170
|
});
|
|
160
171
|
/** Row-height empty state, so an empty list keeps the list's rhythm. */
|
|
161
172
|
const InspectorEmptyRow = ({ className, ...props }) => /* @__PURE__ */ jsx("p", {
|
|
@@ -1,4 +1,5 @@
|
|
|
1
1
|
import { DirectionalIcon } from "../components/directional-icon.js";
|
|
2
|
+
import { TruncatedText } from "../components/truncated-text.js";
|
|
2
3
|
import { ChevronDownIcon } from "../icons.js";
|
|
3
4
|
import { cn } from "../lib/utils.js";
|
|
4
5
|
import { KANBAN_CHROME_TOGGLE_COARSE_TARGET_CLASS } from "./layout-tokens.js";
|
|
@@ -33,8 +34,8 @@ const KanbanColumnBandHeader = ({ title, swatch, meta, collapsed, compact = coll
|
|
|
33
34
|
})
|
|
34
35
|
}), compact ? null : /* @__PURE__ */ jsxs(Fragment, { children: [
|
|
35
36
|
swatch,
|
|
36
|
-
/* @__PURE__ */ jsxs(
|
|
37
|
-
className: "flex
|
|
37
|
+
/* @__PURE__ */ jsxs(TruncatedText, {
|
|
38
|
+
className: "flex flex-1 items-baseline gap-1.5 text-sm font-semibold",
|
|
38
39
|
children: [title, meta !== void 0 && /* @__PURE__ */ jsx("span", {
|
|
39
40
|
className: "text-muted-foreground text-xs font-normal tabular-nums",
|
|
40
41
|
children: meta
|