@brett_lamy/ui 5.0.0 → 5.2.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/components/adaptive-pane.d.ts +12 -1
- package/dist/components/adaptive-pane.d.ts.map +1 -1
- package/dist/components/adaptive-pane.js +122 -19
- package/dist/components/avatar.d.ts +47 -5
- package/dist/components/avatar.d.ts.map +1 -1
- package/dist/components/avatar.js +101 -14
- package/dist/components/breadcrumb.d.ts +87 -0
- package/dist/components/breadcrumb.d.ts.map +1 -0
- package/dist/components/breadcrumb.js +312 -0
- package/dist/components/calendar.d.ts +26 -0
- package/dist/components/calendar.d.ts.map +1 -0
- package/dist/components/calendar.js +97 -0
- package/dist/components/color-field.d.ts +22 -0
- package/dist/components/color-field.d.ts.map +1 -0
- package/dist/components/color-field.js +60 -0
- package/dist/components/color-picker.d.ts +49 -0
- package/dist/components/color-picker.d.ts.map +1 -0
- package/dist/components/color-picker.js +121 -0
- package/dist/components/command-menu.js +13 -13
- package/dist/components/credenza.d.ts +5 -2
- package/dist/components/credenza.d.ts.map +1 -1
- package/dist/components/credenza.js +62 -60
- package/dist/components/date-field.d.ts +19 -0
- package/dist/components/date-field.d.ts.map +1 -0
- package/dist/components/date-field.js +79 -0
- package/dist/components/date-picker.d.ts +38 -0
- package/dist/components/date-picker.d.ts.map +1 -0
- package/dist/components/date-picker.js +110 -0
- package/dist/components/edge-drawer.d.ts +7 -2
- package/dist/components/edge-drawer.d.ts.map +1 -1
- package/dist/components/edge-drawer.js +7 -4
- package/dist/components/filmstrip.d.ts +19 -0
- package/dist/components/filmstrip.d.ts.map +1 -0
- package/dist/components/filmstrip.js +59 -0
- package/dist/components/filter-input.js +4 -4
- package/dist/components/filter.js +62 -62
- package/dist/components/font-picker.d.ts +67 -0
- package/dist/components/font-picker.d.ts.map +1 -0
- package/dist/components/font-picker.js +373 -0
- package/dist/components/markdown-editor.d.ts +11 -0
- package/dist/components/markdown-editor.d.ts.map +1 -1
- package/dist/components/markdown-editor.js +72 -65
- package/dist/components/navigation-stack.d.ts.map +1 -1
- package/dist/components/navigation-stack.js +75 -65
- package/dist/components/number-morph.d.ts.map +1 -1
- package/dist/components/number-morph.js +5 -5
- package/dist/components/replay-preview.d.ts +2 -2
- package/dist/components/replay-preview.d.ts.map +1 -1
- package/dist/components/replay-preview.js +3 -3
- package/dist/components/result-table.js +10 -10
- package/dist/components/schema-tree.d.ts.map +1 -1
- package/dist/components/schema-tree.js +62 -131
- package/dist/components/segmented.d.ts +1 -1
- package/dist/components/segmented.d.ts.map +1 -1
- package/dist/components/segmented.js +1 -1
- package/dist/components/sidebar.d.ts.map +1 -1
- package/dist/components/sidebar.js +8 -4
- package/dist/components/spinner-shapes.d.ts +36 -0
- package/dist/components/spinner-shapes.d.ts.map +1 -1
- package/dist/components/spinner-shapes.js +105 -0
- package/dist/components/spinner.d.ts +1 -1
- package/dist/components/spinner.d.ts.map +1 -1
- package/dist/components/split-view.d.ts +3 -1
- package/dist/components/split-view.d.ts.map +1 -1
- package/dist/components/split-view.js +211 -211
- package/dist/components/spreadsheet.d.ts +58 -0
- package/dist/components/spreadsheet.d.ts.map +1 -0
- package/dist/components/spreadsheet.js +804 -0
- package/dist/components/sql-console.d.ts.map +1 -1
- package/dist/components/sql-console.js +2 -1
- package/dist/components/sql-editor.js +8 -8
- package/dist/components/stl-viewer.d.ts +3 -0
- package/dist/components/stl-viewer.d.ts.map +1 -0
- package/dist/components/stl-viewer.js +2 -0
- package/dist/components/strudel-player.d.ts +3 -0
- package/dist/components/strudel-player.d.ts.map +1 -0
- package/dist/components/strudel-player.js +2 -0
- package/dist/components/strudel-rack.d.ts +3 -0
- package/dist/components/strudel-rack.d.ts.map +1 -0
- package/dist/components/strudel-rack.js +2 -0
- package/dist/components/strudel-syntax.d.ts +3 -0
- package/dist/components/strudel-syntax.d.ts.map +1 -0
- package/dist/components/strudel-syntax.js +2 -0
- package/dist/components/tabs.js +3 -3
- package/dist/components/tailscale-menu.d.ts +69 -0
- package/dist/components/tailscale-menu.d.ts.map +1 -0
- package/dist/components/tailscale-menu.js +202 -0
- package/dist/components/toggle-group.js +3 -3
- package/dist/components/tree.d.ts +82 -0
- package/dist/components/tree.d.ts.map +1 -0
- package/dist/components/tree.js +494 -0
- package/dist/components/video-preview.d.ts +46 -0
- package/dist/components/video-preview.d.ts.map +1 -0
- package/dist/components/video-preview.js +197 -0
- package/dist/components/video-timeline.d.ts +64 -0
- package/dist/components/video-timeline.d.ts.map +1 -0
- package/dist/components/video-timeline.js +479 -0
- package/dist/components/waveform.d.ts +23 -0
- package/dist/components/waveform.d.ts.map +1 -0
- package/dist/components/waveform.js +56 -0
- package/dist/ffmpeg-worker.js +118 -0
- package/dist/index.css +1 -1
- package/dist/index.d.ts +53 -4
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +145 -116
- package/dist/lib/csv.d.ts +28 -0
- package/dist/lib/csv.d.ts.map +1 -0
- package/dist/lib/csv.js +90 -0
- package/dist/lib/drawer-swipe.d.ts +31 -0
- package/dist/lib/drawer-swipe.d.ts.map +1 -0
- package/dist/lib/drawer-swipe.js +68 -0
- package/dist/lib/ffmpeg/index.d.ts +117 -0
- package/dist/lib/ffmpeg/index.d.ts.map +1 -0
- package/dist/lib/ffmpeg/index.js +204 -0
- package/dist/lib/ffmpeg/media.d.ts +39 -0
- package/dist/lib/ffmpeg/media.d.ts.map +1 -0
- package/dist/lib/ffmpeg/media.js +100 -0
- package/dist/lib/ffmpeg/react.d.ts +51 -0
- package/dist/lib/ffmpeg/react.d.ts.map +1 -0
- package/dist/lib/ffmpeg/react.js +113 -0
- package/dist/lib/google-fonts.d.ts +47 -0
- package/dist/lib/google-fonts.d.ts.map +1 -0
- package/dist/lib/google-fonts.generated.d.ts +2 -0
- package/dist/lib/google-fonts.generated.d.ts.map +1 -0
- package/dist/lib/google-fonts.generated.js +1925 -0
- package/dist/lib/google-fonts.js +112 -0
- package/dist/lib/icon.d.ts +6 -1
- package/dist/lib/icon.d.ts.map +1 -1
- package/dist/lib/icon.js +2 -0
- package/dist/lib/playback.d.ts +34 -0
- package/dist/lib/playback.d.ts.map +1 -0
- package/dist/lib/playback.js +79 -0
- package/dist/lib/spreadsheet-gpu.d.ts +9 -0
- package/dist/lib/spreadsheet-gpu.d.ts.map +1 -0
- package/dist/lib/spreadsheet-gpu.js +237 -0
- package/dist/lib/spreadsheet.d.ts +82 -0
- package/dist/lib/spreadsheet.d.ts.map +1 -0
- package/dist/lib/spreadsheet.js +162 -0
- package/dist/lib/syntax.d.ts +2 -6
- package/dist/lib/syntax.d.ts.map +1 -1
- package/dist/lib/syntax.js +53 -75
- package/dist/lib/tailscale-connect.d.ts +33 -0
- package/dist/lib/tailscale-connect.d.ts.map +1 -1
- package/dist/lib/tailscale-connect.js +221 -42
- package/dist/lib/tailscale-exit.d.ts +19 -0
- package/dist/lib/tailscale-exit.d.ts.map +1 -0
- package/dist/lib/tailscale-exit.js +14 -0
- package/dist/lib/tailscale-fake.d.ts +8 -0
- package/dist/lib/tailscale-fake.d.ts.map +1 -1
- package/dist/lib/tailscale-fake.js +51 -26
- package/dist/lib/tailscale-roots.d.ts +3 -0
- package/dist/lib/tailscale-roots.d.ts.map +1 -0
- package/dist/lib/tailscale-roots.js +4 -0
- package/dist/lib/tailscale.d.ts +23 -0
- package/dist/lib/tailscale.d.ts.map +1 -1
- package/dist/lib/tailscale.js +156 -94
- package/dist/lib/title-flight.d.ts +4 -0
- package/dist/lib/title-flight.d.ts.map +1 -1
- package/dist/lib/title-flight.js +15 -12
- package/dist/lib/tokens.generated.d.ts +2 -2
- package/dist/lib/tokens.generated.d.ts.map +1 -1
- package/dist/lib/tokens.generated.js +2 -2
- package/dist/lib/video-render.d.ts +38 -0
- package/dist/lib/video-render.d.ts.map +1 -0
- package/dist/lib/video-render.js +147 -0
- package/dist/lib/video-timeline.d.ts +154 -0
- package/dist/lib/video-timeline.d.ts.map +1 -0
- package/dist/lib/video-timeline.js +265 -0
- package/dist/lib/webgpu.d.ts +26 -0
- package/dist/lib/webgpu.d.ts.map +1 -0
- package/dist/lib/webgpu.js +28 -0
- package/dist/theme.css +3 -0
- package/package.json +10 -4
|
@@ -9,7 +9,18 @@ export interface AdaptivePaneProps extends Omit<EdgeDrawerProps, 'open' | 'width
|
|
|
9
9
|
drawerWidth?: number | string;
|
|
10
10
|
/** style of the docked column; `style` applies to the drawer panel */
|
|
11
11
|
columnStyle?: CSSProperties;
|
|
12
|
+
/** A divider on the pane's inner edge that resizes the column or the drawer. */
|
|
13
|
+
resizable?: boolean;
|
|
14
|
+
/** Narrowest a resized pane gets, px. Default 160. */
|
|
15
|
+
minWidth?: number;
|
|
16
|
+
/** Called as the pane is resized, with its new width, or `undefined` once it is reset to its default. A numeric
|
|
17
|
+
* `maxWidth` also caps the resize; a column never takes the last 240px of its host, a drawer the last 48px. */
|
|
18
|
+
onResize?: (width: number | undefined, mode: 'column' | 'drawer') => void;
|
|
19
|
+
/** Drawer: drag the panel toward its edge to close it. Default true. */
|
|
20
|
+
swipe?: boolean;
|
|
21
|
+
/** Drawer: called when a drag from the host's edge opens it; giving it turns that edge strip on. */
|
|
22
|
+
onOpen?: () => void;
|
|
12
23
|
children?: ReactNode;
|
|
13
24
|
}
|
|
14
|
-
export declare function AdaptivePane({ mode, open, columnWidth, drawerWidth, columnStyle, side, children, ...drawer }: AdaptivePaneProps): import("react/jsx-runtime").JSX.Element | null;
|
|
25
|
+
export declare function AdaptivePane({ mode, open, columnWidth, drawerWidth, columnStyle, side, resizable, minWidth, onResize, swipe, onOpen, maxWidth, children, ...drawer }: AdaptivePaneProps): import("react/jsx-runtime").JSX.Element | null;
|
|
15
26
|
//# sourceMappingURL=adaptive-pane.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"adaptive-pane.d.ts","sourceRoot":"","sources":["../../src/components/adaptive-pane.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"adaptive-pane.d.ts","sourceRoot":"","sources":["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
2
|
-
import {
|
|
1
|
+
"use client";
|
|
2
|
+
import { cn as e } from "../lib/utils.js";
|
|
3
|
+
import { navigationPush as t } from "./navigation-stack.js";
|
|
4
|
+
import { EdgeDrawer as n } from "./edge-drawer.js";
|
|
5
|
+
import { useDrawerSwipe as r } from "../lib/drawer-swipe.js";
|
|
6
|
+
import { useRef as i, useState as a } from "react";
|
|
7
|
+
import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
|
|
3
8
|
//#region src/components/adaptive-pane.tsx
|
|
4
|
-
|
|
5
|
-
|
|
9
|
+
var l = {
|
|
10
|
+
column: 240,
|
|
11
|
+
drawer: 48
|
|
12
|
+
}, u = 16;
|
|
13
|
+
function d({ mode: l, open: u = !1, columnWidth: d, drawerWidth: p, columnStyle: m, side: h = "left", resizable: g = !1, minWidth: _ = 160, onResize: v, swipe: y = !0, onOpen: b, maxWidth: x, children: S, ...C }) {
|
|
14
|
+
let [w, T] = a({}), E = i(null), D = i(null), O = r({
|
|
15
|
+
side: h,
|
|
16
|
+
open: u,
|
|
17
|
+
panel: () => E.current,
|
|
18
|
+
scrim: () => D.current,
|
|
19
|
+
commit: t.commit,
|
|
20
|
+
flick: t.flick,
|
|
21
|
+
onOpen: b,
|
|
22
|
+
onClose: C.onClose
|
|
23
|
+
}), k = (e) => g ? /* @__PURE__ */ s(f, {
|
|
24
|
+
side: h,
|
|
25
|
+
mode: e,
|
|
26
|
+
minWidth: _,
|
|
27
|
+
maxWidth: x,
|
|
28
|
+
onResize: (t) => {
|
|
29
|
+
T((n) => ({
|
|
30
|
+
...n,
|
|
31
|
+
[e]: t
|
|
32
|
+
})), v?.(t, e);
|
|
33
|
+
}
|
|
34
|
+
}) : null;
|
|
35
|
+
return l === "hidden" ? null : l === "cover" ? /* @__PURE__ */ s("div", {
|
|
6
36
|
"data-slot": "adaptive-pane",
|
|
7
37
|
"data-mode": "cover",
|
|
8
38
|
className: "absolute inset-0",
|
|
9
|
-
style: { zIndex:
|
|
10
|
-
children:
|
|
11
|
-
}) :
|
|
12
|
-
...
|
|
13
|
-
side:
|
|
14
|
-
open:
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
39
|
+
style: { zIndex: C.zIndex },
|
|
40
|
+
children: S
|
|
41
|
+
}) : l === "drawer" ? /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ c(n, {
|
|
42
|
+
...C,
|
|
43
|
+
side: h,
|
|
44
|
+
open: u,
|
|
45
|
+
maxWidth: x,
|
|
46
|
+
width: w.drawer ?? p,
|
|
47
|
+
panelRef: E,
|
|
48
|
+
scrimRef: D,
|
|
49
|
+
panelProps: y ? O.panelProps : void 0,
|
|
50
|
+
className: e("touch-pan-y duration-spring-smooth ease-spring-smooth", C.className),
|
|
51
|
+
children: [S, k("drawer")]
|
|
52
|
+
}), y && b && !u ? /* @__PURE__ */ s("div", {
|
|
53
|
+
"data-slot": "adaptive-pane-edge",
|
|
54
|
+
"aria-hidden": "true",
|
|
55
|
+
...O.edgeProps,
|
|
56
|
+
className: e("absolute inset-y-0 z-(--adaptive-pane-z) w-4 touch-pan-y", h === "left" ? "left-0" : "right-0"),
|
|
57
|
+
style: { "--adaptive-pane-z": C.zIndex ?? 30 }
|
|
58
|
+
}) : null] }) : /* @__PURE__ */ c("div", {
|
|
18
59
|
"data-slot": "adaptive-pane",
|
|
19
60
|
"data-mode": "column",
|
|
20
|
-
"data-side":
|
|
21
|
-
className: "min-h-0 shrink-0",
|
|
61
|
+
"data-side": h,
|
|
62
|
+
className: e("min-h-0 shrink-0", g && "relative"),
|
|
22
63
|
style: {
|
|
23
|
-
width:
|
|
24
|
-
...
|
|
64
|
+
width: w.column ?? d,
|
|
65
|
+
...m
|
|
25
66
|
},
|
|
26
|
-
children:
|
|
67
|
+
children: [S, k("column")]
|
|
68
|
+
});
|
|
69
|
+
}
|
|
70
|
+
function f({ side: t, mode: n, minWidth: r, maxWidth: o, onResize: c }) {
|
|
71
|
+
let d = i(null), f = i(null), [p, m] = a(), [h, g] = a(!1), [_, v] = a(!1), [y, b] = a(!1), x = t === "left" ? 1 : -1, S = () => d.current?.parentElement ?? null, C = () => {
|
|
72
|
+
let e = (S()?.parentElement?.clientWidth ?? Infinity) - l[n];
|
|
73
|
+
return {
|
|
74
|
+
min: r,
|
|
75
|
+
max: Math.max(r, Math.min(typeof o == "number" ? o : Infinity, e))
|
|
76
|
+
};
|
|
77
|
+
}, w = () => S()?.getBoundingClientRect().width ?? r, T = (e) => {
|
|
78
|
+
let { min: t, max: n } = C(), r = Math.round(Math.min(n, Math.max(t, e)));
|
|
79
|
+
m(r), c(r);
|
|
80
|
+
}, E = () => {
|
|
81
|
+
m(void 0), c(void 0);
|
|
82
|
+
}, D = () => {
|
|
83
|
+
f.current = null, g(!1);
|
|
84
|
+
};
|
|
85
|
+
return /* @__PURE__ */ s("div", {
|
|
86
|
+
ref: d,
|
|
87
|
+
role: "separator",
|
|
88
|
+
"aria-orientation": "vertical",
|
|
89
|
+
"aria-label": "Resize pane",
|
|
90
|
+
tabIndex: 0,
|
|
91
|
+
"data-slot": "adaptive-pane-resizer",
|
|
92
|
+
"data-drawer-swipe": "off",
|
|
93
|
+
"aria-valuenow": p,
|
|
94
|
+
"aria-valuemin": r,
|
|
95
|
+
"aria-valuemax": typeof o == "number" ? o : void 0,
|
|
96
|
+
onPointerDown: (e) => {
|
|
97
|
+
if (!e.button) {
|
|
98
|
+
f.current = {
|
|
99
|
+
x0: e.clientX,
|
|
100
|
+
w0: w()
|
|
101
|
+
}, g(!0);
|
|
102
|
+
try {
|
|
103
|
+
e.currentTarget.setPointerCapture(e.pointerId);
|
|
104
|
+
} catch {}
|
|
105
|
+
e.preventDefault();
|
|
106
|
+
}
|
|
107
|
+
},
|
|
108
|
+
onPointerMove: (e) => {
|
|
109
|
+
f.current && T(f.current.w0 + x * (e.clientX - f.current.x0));
|
|
110
|
+
},
|
|
111
|
+
onPointerUp: D,
|
|
112
|
+
onPointerCancel: D,
|
|
113
|
+
onPointerEnter: () => v(!0),
|
|
114
|
+
onPointerLeave: () => v(!1),
|
|
115
|
+
onFocus: (e) => b(e.currentTarget.matches(":focus-visible")),
|
|
116
|
+
onBlur: () => b(!1),
|
|
117
|
+
onKeyDown: (e) => {
|
|
118
|
+
let t = (e.shiftKey ? 3 : 1) * u;
|
|
119
|
+
if (e.key === "ArrowRight") T(w() + x * t);
|
|
120
|
+
else if (e.key === "ArrowLeft") T(w() - x * t);
|
|
121
|
+
else if (e.key === "Home") T(C().min);
|
|
122
|
+
else if (e.key === "End") T(C().max);
|
|
123
|
+
else if (e.key === "Enter") E();
|
|
124
|
+
else return;
|
|
125
|
+
e.preventDefault();
|
|
126
|
+
},
|
|
127
|
+
onDoubleClick: E,
|
|
128
|
+
className: e("absolute inset-y-0 z-40 w-[10px] cursor-col-resize touch-none outline-none", t === "left" ? "-right-[5px]" : "-left-[5px]"),
|
|
129
|
+
children: /* @__PURE__ */ s("div", { className: e("absolute inset-y-0 left-1/2 w-[3px] -translate-x-1/2 rounded-full bg-primary transition-[opacity,transform] duration-200", y || h || _ ? "scale-y-100" : "scale-y-[.96] opacity-0", !(y || h) && _ && "opacity-45") })
|
|
27
130
|
});
|
|
28
131
|
}
|
|
29
132
|
//#endregion
|
|
30
|
-
export {
|
|
133
|
+
export { d as AdaptivePane };
|
|
@@ -1,13 +1,55 @@
|
|
|
1
|
-
import { CSSProperties } from 'react';
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
|
|
1
|
+
import { ComponentProps, CSSProperties, ReactNode } from 'react';
|
|
2
|
+
import { VariantProps } from 'class-variance-authority';
|
|
3
|
+
export declare const avatarVariants: (props?: ({
|
|
4
|
+
shape?: "circle" | "square" | null | undefined;
|
|
5
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
6
|
+
/** The presence dot, ringed in the surface the avatar sits on (`--avatar-ring`, the page background by default). */
|
|
7
|
+
export declare const avatarStatusVariants: (props?: ({
|
|
8
|
+
status?: "offline" | "online" | "idle" | "dnd" | null | undefined;
|
|
9
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
10
|
+
export type AvatarStatus = 'online' | 'idle' | 'dnd' | 'offline';
|
|
11
|
+
export interface AvatarProps extends Omit<ComponentProps<'span'>, 'children'>, VariantProps<typeof avatarVariants> {
|
|
12
|
+
/** Contact-like record: `f` first name, `l` last name. The initials are `f[0]` + `l[0]`. */
|
|
13
|
+
c?: {
|
|
5
14
|
f: string;
|
|
6
15
|
l: string;
|
|
7
16
|
};
|
|
17
|
+
/** A display name: the initials come from it (and its hash colors the avatar when there is no `color`). */
|
|
18
|
+
name?: string;
|
|
19
|
+
/** Replaces the computed initials. */
|
|
20
|
+
initials?: string;
|
|
21
|
+
/** Accent: the gradient runs from it to a fainter copy of itself. Any CSS color. */
|
|
22
|
+
color?: string;
|
|
23
|
+
/** An image; the initials show until it loads, and instead of it if it fails. */
|
|
24
|
+
src?: string;
|
|
25
|
+
/** A glyph in place of the initials (a bot's spark). */
|
|
26
|
+
icon?: ReactNode;
|
|
27
|
+
/** A presence dot on the lower right. */
|
|
28
|
+
status?: AvatarStatus;
|
|
29
|
+
/** Width and height in px (default 40). */
|
|
8
30
|
size?: number;
|
|
31
|
+
}
|
|
32
|
+
export declare function Avatar({ c, name, initials, color, src, icon, status, size, shape, className, style, ...props }: AvatarProps): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
export declare const avatarGroupVariants: (props?: import('class-variance-authority/types').ClassProp | undefined) => string;
|
|
34
|
+
export interface AvatarGroupProps {
|
|
35
|
+
/** The people: `<Avatar>`s. Each one's `name` (or `c`) labels it in the menu. */
|
|
36
|
+
children?: ReactNode;
|
|
9
37
|
className?: string;
|
|
10
38
|
style?: CSSProperties;
|
|
39
|
+
/** How many avatars show before the rest fold into a `+N` bubble (default 5). */
|
|
40
|
+
max?: number;
|
|
41
|
+
/** Size of every avatar, in px (default 32); an avatar's own `size` wins. */
|
|
42
|
+
size?: number;
|
|
43
|
+
/** How far each avatar tucks under the one before it, in px (default 28% of the size). */
|
|
44
|
+
overlap?: number;
|
|
45
|
+
/** Press the group to list everyone with their names (default true). `false` leaves a plain, non-interactive stack. */
|
|
46
|
+
menu?: boolean;
|
|
47
|
+
/** The pressable group's accessible name (default "N people"). */
|
|
48
|
+
label?: string;
|
|
49
|
+
/** A person was chosen from the menu, by their position in `children`. */
|
|
50
|
+
onSelect?: (index: number) => void;
|
|
11
51
|
}
|
|
12
|
-
|
|
52
|
+
/** Avatars overlapped on one another. Past `max` the rest become a `+N` bubble, and pressing the group opens a menu
|
|
53
|
+
* of everyone — avatar and name. */
|
|
54
|
+
export declare function AvatarGroup({ children, max, size, overlap, menu, label, onSelect, className, style }: AvatarGroupProps): import("react/jsx-runtime").JSX.Element;
|
|
13
55
|
//# sourceMappingURL=avatar.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../src/components/avatar.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"avatar.d.ts","sourceRoot":"","sources":["../../src/components/avatar.tsx"],"names":[],"mappings":"AACA,OAAO,EAAoD,KAAK,cAAc,EAAE,KAAK,aAAa,EAAqB,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AAErJ,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAuBlE,eAAO,MAAM,cAAc;;8EAS1B,CAAC;AAEF,oHAAoH;AACpH,eAAO,MAAM,oBAAoB;;8EAQhC,CAAC;AAEF,MAAM,MAAM,YAAY,GAAG,QAAQ,GAAG,MAAM,GAAG,KAAK,GAAG,SAAS,CAAC;AAEjE,MAAM,WAAW,WAAY,SAAQ,IAAI,CAAC,cAAc,CAAC,MAAM,CAAC,EAAE,UAAU,CAAC,EAAE,YAAY,CAAC,OAAO,cAAc,CAAC;IAChH,4FAA4F;IAC5F,CAAC,CAAC,EAAE;QAAE,CAAC,EAAE,MAAM,CAAC;QAAC,CAAC,EAAE,MAAM,CAAA;KAAE,C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AAS,EAAE,KAAK,EAAE,EAAE,gBAAgB,2CAkDtI"}
|
|
@@ -1,26 +1,113 @@
|
|
|
1
|
+
"use client";
|
|
1
2
|
import { cn as e } from "../lib/utils.js";
|
|
2
|
-
import {
|
|
3
|
+
import { DropdownMenu as t, DropdownMenuContent as n, DropdownMenuItem as r } from "./dropdown-menu.js";
|
|
4
|
+
import { Children as i, cloneElement as a, isValidElement as o, useState as s } from "react";
|
|
5
|
+
import { Fragment as c, jsx as l, jsxs as u } from "react/jsx-runtime";
|
|
6
|
+
import { Button as d } from "react-aria-components";
|
|
7
|
+
import { cva as f } from "class-variance-authority";
|
|
3
8
|
//#region src/components/avatar.tsx
|
|
4
|
-
var
|
|
9
|
+
var p = (e) => {
|
|
5
10
|
let t = 0;
|
|
6
11
|
for (let n of e) t = (t * 31 + n.charCodeAt(0)) % 360;
|
|
7
12
|
return t;
|
|
8
13
|
};
|
|
9
|
-
function
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
14
|
+
function m(e) {
|
|
15
|
+
let t = e.trim().split(/\s+/).filter(Boolean);
|
|
16
|
+
return t.length ? (t.length === 1 ? t[0][0] : t[0][0] + t[t.length - 1][0]).toUpperCase() : "";
|
|
17
|
+
}
|
|
18
|
+
var h = f("grid size-(--avatar-size) shrink-0 place-items-center bg-(image:--avatar-bg) font-semibold tracking-[.5px] text-white select-none [font-size:var(--avatar-font)]", {
|
|
19
|
+
variants: { shape: {
|
|
20
|
+
circle: "rounded-full",
|
|
21
|
+
square: "rounded-(--avatar-radius)"
|
|
22
|
+
} },
|
|
23
|
+
defaultVariants: { shape: "circle" }
|
|
24
|
+
}), g = f("absolute -right-[2px] -bottom-[2px] box-border size-[max(10px,calc(var(--avatar-size)*.36))] rounded-full border-[2.5px] border-(--avatar-ring,var(--background))", {
|
|
25
|
+
variants: { status: {
|
|
26
|
+
online: "bg-success",
|
|
27
|
+
idle: "bg-warning",
|
|
28
|
+
dnd: "bg-destructive",
|
|
29
|
+
offline: "bg-tertiary-foreground"
|
|
30
|
+
} },
|
|
31
|
+
defaultVariants: { status: "online" }
|
|
32
|
+
});
|
|
33
|
+
function _({ c: t, name: n, initials: r, color: i, src: a, icon: o, status: d, size: f = 40, shape: _, className: v, style: y, ...b }) {
|
|
34
|
+
let [x, S] = s(null), C = r ?? (t ? /* @__PURE__ */ u(c, { children: [t.f[0], t.l[0]] }) : m(n ?? "")), w = p(t ? t.f + t.l : n ?? ""), T = a && x !== a ? a : void 0;
|
|
35
|
+
return /* @__PURE__ */ u("span", {
|
|
13
36
|
"data-slot": "avatar",
|
|
14
|
-
|
|
37
|
+
role: b["aria-label"] ? "img" : void 0,
|
|
38
|
+
className: e(h({ shape: _ }), (d || T) && "relative", v),
|
|
15
39
|
style: {
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
...
|
|
40
|
+
"--avatar-size": `${f}px`,
|
|
41
|
+
"--avatar-font": `${f * .38}px`,
|
|
42
|
+
"--avatar-radius": `${f * .3}px`,
|
|
43
|
+
"--avatar-bg": i ? `linear-gradient(135deg, ${i}, color-mix(in srgb, ${i} 53%, transparent))` : `linear-gradient(180deg, hsl(${w} 62% 64%), hsl(${w} 55% 47%))`,
|
|
44
|
+
...y
|
|
21
45
|
},
|
|
22
|
-
|
|
46
|
+
...b,
|
|
47
|
+
children: [
|
|
48
|
+
o ?? C,
|
|
49
|
+
T && /* @__PURE__ */ l("img", {
|
|
50
|
+
src: T,
|
|
51
|
+
alt: "",
|
|
52
|
+
draggable: !1,
|
|
53
|
+
onError: () => S(T),
|
|
54
|
+
className: "absolute inset-0 size-full rounded-[inherit] object-cover"
|
|
55
|
+
}),
|
|
56
|
+
d && /* @__PURE__ */ l("span", {
|
|
57
|
+
"data-slot": "avatar-status",
|
|
58
|
+
"data-status": d,
|
|
59
|
+
role: "img",
|
|
60
|
+
"aria-label": d,
|
|
61
|
+
className: g({ status: d })
|
|
62
|
+
})
|
|
63
|
+
]
|
|
64
|
+
});
|
|
65
|
+
}
|
|
66
|
+
var v = (e) => e["aria-label"] ?? e.name ?? (e.c ? `${e.c.f} ${e.c.l}` : e.initials ?? ""), y = new Intl.NumberFormat("en", { notation: "compact" }), b = f("inline-flex items-center rounded-full outline-none [&>*]:ring-2 [&>*]:ring-(--avatar-ring,var(--background)) [&>*+*]:-ml-(--avatar-overlap)");
|
|
67
|
+
function x({ children: s, max: f = 5, size: p = 32, overlap: m, menu: h = !0, label: g, onSelect: x, className: S, style: C }) {
|
|
68
|
+
let w = i.toArray(s).filter((e) => o(e)), T = w.slice(0, Math.max(0, f)), E = w.length - T.length, D = {
|
|
69
|
+
"--avatar-overlap": `${m ?? Math.round(p * .28)}px`,
|
|
70
|
+
...C
|
|
71
|
+
}, O = /* @__PURE__ */ u(c, { children: [T.map((e) => a(e, { size: e.props.size ?? p })), E > 0 && /* @__PURE__ */ l(_, {
|
|
72
|
+
"data-slot": "avatar-overflow",
|
|
73
|
+
initials: `+${y.format(E)}`,
|
|
74
|
+
size: p,
|
|
75
|
+
className: "bg-secondary-strong text-secondary-foreground",
|
|
76
|
+
style: { "--avatar-bg": "none" }
|
|
77
|
+
})] }), k = g ?? `${w.length} ${w.length === 1 ? "person" : "people"}`;
|
|
78
|
+
return h ? /* @__PURE__ */ u(t, { children: [/* @__PURE__ */ l(d, {
|
|
79
|
+
"data-slot": "avatar-group",
|
|
80
|
+
"aria-label": k,
|
|
81
|
+
className: e(b(), "cursor-pointer border-0 bg-transparent p-0 data-focus-visible:ring-2 data-focus-visible:ring-ring data-focus-visible:ring-offset-2", S),
|
|
82
|
+
style: D,
|
|
83
|
+
children: O
|
|
84
|
+
}), /* @__PURE__ */ l(n, {
|
|
85
|
+
"aria-label": k,
|
|
86
|
+
placement: "bottom start",
|
|
87
|
+
onAction: (e) => x?.(Number(e)),
|
|
88
|
+
children: w.map((e, t) => /* @__PURE__ */ l(r, {
|
|
89
|
+
id: t,
|
|
90
|
+
textValue: v(e.props),
|
|
91
|
+
children: /* @__PURE__ */ u("span", {
|
|
92
|
+
className: "flex items-center gap-3",
|
|
93
|
+
children: [a(e, {
|
|
94
|
+
size: 28,
|
|
95
|
+
className: void 0,
|
|
96
|
+
style: void 0
|
|
97
|
+
}), /* @__PURE__ */ l("span", {
|
|
98
|
+
className: "truncate",
|
|
99
|
+
children: v(e.props)
|
|
100
|
+
})]
|
|
101
|
+
})
|
|
102
|
+
}, t))
|
|
103
|
+
})] }) : /* @__PURE__ */ l("div", {
|
|
104
|
+
"data-slot": "avatar-group",
|
|
105
|
+
role: "group",
|
|
106
|
+
"aria-label": g,
|
|
107
|
+
className: e(b(), S),
|
|
108
|
+
style: D,
|
|
109
|
+
children: O
|
|
23
110
|
});
|
|
24
111
|
}
|
|
25
112
|
//#endregion
|
|
26
|
-
export {
|
|
113
|
+
export { _ as Avatar, x as AvatarGroup, b as avatarGroupVariants, g as avatarStatusVariants, h as avatarVariants };
|
|
@@ -0,0 +1,87 @@
|
|
|
1
|
+
import { ComponentProps, ReactNode } from 'react';
|
|
2
|
+
import { Key } from 'react-aria-components';
|
|
3
|
+
import { VariantProps } from 'class-variance-authority';
|
|
4
|
+
export interface BreadcrumbFit {
|
|
5
|
+
/** How many leading items stay. */
|
|
6
|
+
head: number;
|
|
7
|
+
/** How many trailing items stay (0 when nothing is hidden). The hidden ones are `head … length - tail`. */
|
|
8
|
+
tail: number;
|
|
9
|
+
}
|
|
10
|
+
export interface BreadcrumbFitOptions {
|
|
11
|
+
/** Leading items that always stay. Default 1. */
|
|
12
|
+
keepHead?: number;
|
|
13
|
+
/** Trailing items that always stay. Default 1. */
|
|
14
|
+
keepTail?: number;
|
|
15
|
+
}
|
|
16
|
+
/** How many items to keep so a trail fits `available` px. `widths` are each item's own width; `separatorWidth` is
|
|
17
|
+
* what sits between two neighbours (separator and its spacing); `ellipsisWidth` is the `…` item's own width.
|
|
18
|
+
* When everything fits (or there is nothing to hide, or no width is known: `available <= 0`) the result is
|
|
19
|
+
* `{ head: widths.length, tail: 0 }`. Otherwise the middle collapses into the ellipsis: the head stays and
|
|
20
|
+
* the most trailing items that fit stay — at least `keepTail`, even when that overflows. */
|
|
21
|
+
export declare function fitBreadcrumbs(widths: readonly number[], available: number, separatorWidth?: number, ellipsisWidth?: number, { keepHead, keepTail }?: BreadcrumbFitOptions): BreadcrumbFit;
|
|
22
|
+
export declare const breadcrumbVariants: (props?: ({
|
|
23
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
24
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
25
|
+
/** The pressable face of an item (a link, a sibling picker, the `…` button). Width must not depend on the item
|
|
26
|
+
* being the current one — the measuring copy does not know — so the current page differs by colour only. */
|
|
27
|
+
export declare const breadcrumbItemVariants: (props?: ({
|
|
28
|
+
size?: "default" | "sm" | "lg" | null | undefined;
|
|
29
|
+
interactive?: boolean | null | undefined;
|
|
30
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
31
|
+
/** A sibling, or an entry of the `…` menu. */
|
|
32
|
+
export interface BreadcrumbEntry {
|
|
33
|
+
id: Key;
|
|
34
|
+
label: ReactNode;
|
|
35
|
+
/** The plain-text label, for the menu's type-to-select when `label` is not a string. */
|
|
36
|
+
textValue?: string;
|
|
37
|
+
/** An icon name (`'house'`) or a node. */
|
|
38
|
+
icon?: ReactNode;
|
|
39
|
+
href?: string;
|
|
40
|
+
onPress?: () => void;
|
|
41
|
+
}
|
|
42
|
+
/** One item of the data-driven form: an entry that may carry its siblings. */
|
|
43
|
+
export interface BreadcrumbItemData extends BreadcrumbEntry {
|
|
44
|
+
/** The entries of this item's parent. When given, pressing the item opens them as a menu (the item's own
|
|
45
|
+
* `href` / `onPress` are not used). */
|
|
46
|
+
items?: BreadcrumbEntry[];
|
|
47
|
+
/** The `items` entry that is the current one; it is checked in the menu. */
|
|
48
|
+
selectedId?: Key;
|
|
49
|
+
}
|
|
50
|
+
export declare function BreadcrumbSeparator({ className, children, ...props }: ComponentProps<'span'>): import("react/jsx-runtime").JSX.Element;
|
|
51
|
+
export interface BreadcrumbItemProps extends Omit<BreadcrumbItemData, 'id' | 'label'> {
|
|
52
|
+
id?: Key;
|
|
53
|
+
/** The label — the children, or this (so a `BreadcrumbItemData` spreads straight in). */
|
|
54
|
+
label?: ReactNode;
|
|
55
|
+
children?: ReactNode;
|
|
56
|
+
/** Merged onto the item's `<li>`. */
|
|
57
|
+
className?: string;
|
|
58
|
+
}
|
|
59
|
+
export declare function BreadcrumbItem({ id, label, children, className, ...props }: BreadcrumbItemProps): import("react/jsx-runtime").JSX.Element;
|
|
60
|
+
export interface BreadcrumbEllipsisProps {
|
|
61
|
+
/** The hidden items, in order; each fires its own `href` / `onPress` (one with its own `items` opens them as a submenu). */
|
|
62
|
+
items: readonly BreadcrumbItemData[];
|
|
63
|
+
/** The button's accessible name. Default "More". */
|
|
64
|
+
label?: string;
|
|
65
|
+
className?: string;
|
|
66
|
+
}
|
|
67
|
+
/** The `…` item: a button that opens a menu of the items the trail had no room for. The root renders it when it
|
|
68
|
+
* collapses; use it yourself for a trail you shorten by hand. */
|
|
69
|
+
export declare function BreadcrumbEllipsis({ items, label, className }: BreadcrumbEllipsisProps): import("react/jsx-runtime").JSX.Element;
|
|
70
|
+
export interface BreadcrumbProps extends Omit<ComponentProps<'nav'>, 'children'>, VariantProps<typeof breadcrumbVariants> {
|
|
71
|
+
/** The data-driven form: one item per entry (instead of `children`). */
|
|
72
|
+
items?: readonly BreadcrumbItemData[];
|
|
73
|
+
/** Composed form: `BreadcrumbItem`s. */
|
|
74
|
+
children?: ReactNode;
|
|
75
|
+
/** Replaces the chevron between items (`null` for none). Rendered inside `BreadcrumbSeparator`. */
|
|
76
|
+
separator?: ReactNode;
|
|
77
|
+
/** Collapse the middle into a `…` menu when the items do not fit. Default true. */
|
|
78
|
+
collapse?: boolean;
|
|
79
|
+
/** The `…` button's accessible name. Default "More". */
|
|
80
|
+
ellipsisLabel?: string;
|
|
81
|
+
/** Leading items that never collapse. Default 1. */
|
|
82
|
+
keepHead?: number;
|
|
83
|
+
/** Trailing items that never collapse. Default 1. */
|
|
84
|
+
keepTail?: number;
|
|
85
|
+
}
|
|
86
|
+
export declare function Breadcrumb({ items, children, size, separator, collapse, ellipsisLabel, keepHead, keepTail, className, 'aria-label': ariaLabel, ...props }: BreadcrumbProps): import("react/jsx-runtime").JSX.Element;
|
|
87
|
+
//# sourceMappingURL=breadcrumb.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"breadcrumb.d.ts","sourceRoot":"","sources":["../../src/components/breadcrumb.tsx"],"names":[],"mappings":"AACA,OAAO,EAEL,KAAK,cAAc,EAAqB,KAAK,SAAS,EACvD,MAAM,OAAO,CAAC;AACf,OAAO,EAKL,KAAK,GAAG,EACT,MAAM,uBAAuB,CAAC;AAC/B,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAiClE,MAAM,WAAW,aAAa;IAC5B,mCAAmC;IACnC,IAAI,EAAE,MAAM,CAAC;IACb,2GAA2G;IAC3G,IAAI,EAAE,MAAM,CAAC;CACd;AAED,MAAM,WAAW,oBAAoB;IACnC,iDAAiD;IACjD,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,kDAAkD;IAClD,QAAQ,CAAC,EAAE,MAAM,CAAC;CACnB;AAED;;;;6FAI6F;AAC7F,wBAAgB,cAAc,CAC5B,MAAM,EAAE,SAAS,MAAM,EAAE,EACzB,SAAS,EAAE,MAAM,EACjB,cAAc,SAAI,EAClB,aAAa,SAAI,EACjB,EAAE,QAAY,EAAE,QAAY,EAAE,GAAE,oBAAyB,GACxD,aAAa,CAgBf;AAID,eAAO,MAAM,kBAAkB;;8EAS7B,CAAC;AAEH;6GAC6G;AAC7G,eAAO,MAAM,sBAAsB;;;8EAqBlC,CAAC;AAOF,8CAA8C;AAC9C,MAAM,WAAW,eAAe;IAC9B,EAAE,EAAE,GAAG,CAAC;IACR,KAAK,EAAE,SAAS,CAAC;IACjB,wFAAwF;I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