@almanaclabs/blaze-ui 0.23.0 → 0.24.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.
@@ -47,6 +47,10 @@ type AppSidebarItem = {
47
47
  icon?: AppSidebarIcon;
48
48
  /** Something waiting for the owner. Shown as a count pill when above zero. */
49
49
  count?: number;
50
+ /** One thing needs the owner, such as a chat with a question waiting. Shown as a small dot. */
51
+ needsYou?: boolean;
52
+ /** The dot's accessible name. Defaults to "Needs you". */
53
+ needsYouLabel?: string;
50
54
  /** Render the row as a link. */
51
55
  href?: string;
52
56
  onSelect?: () => void;
@@ -64,7 +68,7 @@ type AppSidebarProps = Omit<React.ComponentProps<'aside'>, 'onSelect'> & {
64
68
  * The plain "New" row. It leads the first section when that section has no label, and otherwise sits in its own
65
69
  * group. Its icon defaults to a plus.
66
70
  */
67
- newItem?: Omit<AppSidebarItem, 'icon' | 'count'> & {
71
+ newItem?: Omit<AppSidebarItem, 'icon' | 'count' | 'needsYou' | 'needsYouLabel'> & {
68
72
  icon?: AppSidebarIcon;
69
73
  };
70
74
  sections: readonly AppSidebarSection[];
@@ -1 +1 @@
1
- {"version":3,"file":"app-shell.d.ts","sourceRoot":"","sources":["../../../src/components/app-shell/app-shell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AA8B9B,2GAA2G;AAC3G,QAAA,MAAM,yBAAyB,MAAM,CAAA;AACrC,QAAA,MAAM,qBAAqB,MAAM,CAAA;AACjC,QAAA,MAAM,qBAAqB,MAAM,CAAA;AACjC,+BAA+B;AAC/B,QAAA,MAAM,sBAAsB,KAAK,CAAA;AAiDjC,KAAK,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG;IACjD,oEAAoE;IACpE,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,gEAAgE;IAChE,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;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AC,EAAE,MAAM,CAAA;CACnB,CAAA;AAED,yJAAyJ;AACzJ,iBAAS,mBAAmB,CAAC,EAC3B,IAAI,EACJ,IAAI,EACJ,QAAQ,EACR,YAAY,EACZ,SAAS,GACV,EAAE,wBAAwB,qBA+C1B;AAED,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,EACtB,QAAQ,EACR,UAAU,EACV,mBAAmB,EACnB,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,cAAc,GACpB,CAAA"}
1
+ {"version":3,"file":"app-shell.d.ts","sourceRoot":"","sources":["../../../src/components/app-shell/app-shell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AA8B9B,2GAA2G;AAC3G,QAAA,MAAM,yBAAyB,MAAM,CAAA;AACrC,QAAA,MAAM,qBAAqB,MAAM,CAAA;AACjC,QAAA,MAAM,qBAAqB,MAAM,CAAA;AACjC,+BAA+B;AAC/B,QAAA,MAAM,sBAAsB,KAAK,CAAA;AAiDjC,KAAK,aAAa,GAAG,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,GAAG;IACjD,oEAAoE;IACpE,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,gEAAgE;IAChE,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACxB,wCAAwC;IACxC,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,4EAA4E;IAC5E,mBAAmB,CAAC,EAAE,MAAM,CAAA;IAC5B,qDAAqD;IACrD,uBAAuB,CAAC,EAAE,OAAO,CAAA;IACjC;;;OAGG;IACH,iBAAiB,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAClC,CAAA;AAED;;;;;;GAMG;AACH,iBAAS,QAAQ,CAA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BAAwB,qBA+C1B;AAED,OAAO,EACL,yBAAyB,EACzB,qBAAqB,EACrB,qBAAqB,EACrB,sBAAsB,EACtB,QAAQ,EACR,UAAU,EACV,mBAAmB,EACnB,SAAS,EACT,KAAK,aAAa,EAClB,KAAK,cAAc,EACnB,KAAK,cAAc,EACnB,KAAK,eAAe,EACpB,KAAK,oBAAoB,EACzB,KAAK,iBAAiB,EACtB,KAAK,wBAAwB,EAC7B,KAAK,cAAc,GACpB,CAAA"}
@@ -176,7 +176,7 @@ function L({ end: t, className: n, children: r, ...i }) {
176
176
  }
177
177
  var R = (e) => /* @__PURE__ */ y("a", { href: e.href });
178
178
  function z({ item: t, active: n, collapsed: r, onNavigate: i, renderLink: a }) {
179
- let o = t.icon, s = (e) => {
179
+ let o = t.icon, s = t.needsYouLabel ?? "Needs you", c = !!(t.needsYou && !t.count), l = (e) => {
180
180
  e.detail > 0 && e.currentTarget.blur(), t.onSelect?.(), i?.(t);
181
181
  };
182
182
  return /* @__PURE__ */ b(m, {
@@ -189,20 +189,38 @@ function z({ item: t, active: n, collapsed: r, onNavigate: i, renderLink: a }) {
189
189
  ...t,
190
190
  href: t.href
191
191
  }) : void 0,
192
- tooltip: { children: /* @__PURE__ */ b(v, { children: [t.label, t.count ? /* @__PURE__ */ y("span", {
193
- className: "ml-1.5 tabular-nums opacity-70",
194
- children: t.count
195
- }) : null] }) },
192
+ tooltip: { children: /* @__PURE__ */ b(v, { children: [
193
+ t.label,
194
+ t.count ? /* @__PURE__ */ y("span", {
195
+ className: "ml-1.5 tabular-nums opacity-70",
196
+ children: t.count
197
+ }) : null,
198
+ c ? /* @__PURE__ */ b("span", {
199
+ className: "ml-1.5 opacity-70",
200
+ children: ["· ", s]
201
+ }) : null
202
+ ] }) },
196
203
  className: e(r && "justify-center px-0"),
197
- onClick: s,
204
+ onClick: l,
198
205
  children: [o ? /* @__PURE__ */ y(o, { "aria-hidden": "true" }) : null, r ? /* @__PURE__ */ b("span", {
199
206
  className: "sr-only",
200
- children: [t.label, t.count ? ` (${t.count})` : null]
201
- }) : /* @__PURE__ */ y("span", {
202
- className: "whitespace-nowrap",
203
- children: t.label
204
- })]
205
- }), t.count && r ? /* @__PURE__ */ y("span", {
207
+ children: [
208
+ t.label,
209
+ t.count ? ` (${t.count})` : null,
210
+ c ? `, ${s}` : null
211
+ ]
212
+ }) : /* @__PURE__ */ b(v, { children: [/* @__PURE__ */ b("span", {
213
+ className: "min-w-0 truncate whitespace-nowrap",
214
+ children: [t.label, c ? /* @__PURE__ */ b("span", {
215
+ className: "sr-only",
216
+ children: [", ", s]
217
+ }) : null]
218
+ }), c ? /* @__PURE__ */ y("span", {
219
+ "aria-hidden": "true",
220
+ "data-slot": "app-sidebar-item-needs-you",
221
+ className: "ml-auto size-[7px] flex-none rounded-full bg-primary"
222
+ }) : null] })]
223
+ }), (t.count || c) && r ? /* @__PURE__ */ y("span", {
206
224
  "aria-hidden": "true",
207
225
  "data-slot": "app-sidebar-item-dot",
208
226
  className: "pointer-events-none absolute top-1.5 right-2 size-1.5 rounded-full bg-primary ring-2 ring-background"
@@ -0,0 +1,35 @@
1
+ import { useRender } from '@base-ui/react/use-render';
2
+ import * as React from 'react';
3
+ type ChatListGroupProps = React.ComponentProps<'section'> & {
4
+ /** The group's heading: "Today", "Yesterday", "Earlier this week", "Older". */
5
+ label: string;
6
+ };
7
+ /** One date group of chats, under a quiet heading. Holds `ChatListItem`s. */
8
+ declare function ChatListGroup({ label, className, children, ...props }: ChatListGroupProps): React.JSX.Element;
9
+ type ChatListItemProps = Omit<React.ComponentProps<'li'>, 'children' | 'title'> & {
10
+ /** The chat's name. */
11
+ title: string;
12
+ /** Where the row goes. Pass `render` instead for a router link. */
13
+ href?: string;
14
+ /** The row's link element, such as a router's `<Link href="…" />`; defaults to an `<a>`. */
15
+ render?: useRender.RenderProp;
16
+ /** The chat needs the owner: a question waiting, a draft to review, a failed step. Shows a small dot. */
17
+ needsYou?: boolean;
18
+ /** The dot's accessible name. */
19
+ needsYouLabel?: string;
20
+ /** Last updated, muted at the right: "5:41 PM", "Fri". */
21
+ time?: React.ReactNode;
22
+ /** The open chat. */
23
+ active?: boolean;
24
+ /** The "…" menu's items (`DropdownMenuItem`s), such as Rename, Archive and Delete. It shows on hover or focus. */
25
+ actions?: React.ReactNode;
26
+ /** The "…" button's accessible name; defaults to "More for <title>". */
27
+ actionsLabel?: string;
28
+ };
29
+ /**
30
+ * One chat in a list, Claude-style: its name, a dot when it needs the owner, and when it was last updated. The "…" menu
31
+ * appears only on hover or focus.
32
+ */
33
+ declare function ChatListItem({ title, href, render, needsYou, needsYouLabel, time, active, actions, actionsLabel, className, ...props }: ChatListItemProps): React.JSX.Element;
34
+ export { ChatListGroup, ChatListItem, type ChatListGroupProps, type ChatListItemProps, };
35
+ //# sourceMappingURL=chat-list.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-list.d.ts","sourceRoot":"","sources":["../../../src/components/chat-list/chat-list.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAE9B,OAAO,EAAE,SAAS,EAAE,MAAM,2BAA2B,CAAA;AAWrD,KAAK,kBAAkB,GAAG,KAAK,CAAC,cAAc,CAAC,SAAS,CAAC,GAAG;IAC1D,+EAA+E;IAC/E,KAAK,EAAE,MAAM,CAAA;CACd,CAAA;AAED,6EAA6E;AAC7E,iBAAS,aAAa,CAAC,EACrB,KAAK,EACL,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,kBAAkB,qBAkBpB;AAED,KAAK,iBAAiB,GAAG,IAAI,CAC3B,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,EAC1B,UAAU,GAAG,OAAO,CACrB,GAAG;IACF,uBAAuB;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,mEAAmE;IACnE,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,4FAA4F;IAC5F,MAAM,CAAC,EAAE,SAAS,CAAC,UAAU,CAAA;IAC7B,yGAAyG;IACzG,QAAQ,CAAC,EAAE,OAAO,CAAA;IAClB,iCAAiC;IACjC,aAAa,CAAC,EAAE,MAAM,CAAA;IACtB,0DAA0D;IAC1D,IAAI,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACtB,qBAAqB;IACrB,MAAM,CAAC,EAAE,OAAO,CAAA;IAChB,kHAAkH;IAClH,OAAO,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IACzB,wEAAwE;IACxE,YAAY,CAAC,EAAE,MAAM,CAAA;CACtB,CAAA;AAED;;;GAGG;AACH,iBAAS,YAAY,CAAC,EACpB,KAAK,EACL,IAAI,EACJ,MAAM,EACN,QAAgB,EAChB,aAA2B,EAC3B,IAAI,EACJ,MAAc,EACd,OAAO,EACP,YAAY,EACZ,SAAS,EACT,GAAG,KAAK,EACT,EAAE,iBAAiB,qBA+DnB;AAED,OAAO,EACL,aAAa,EACb,YAAY,EACZ,KAAK,kBAAkB,EACvB,KAAK,iBAAiB,GACvB,CAAA"}
@@ -0,0 +1,73 @@
1
+ import { cn as e } from "../../lib/utils.js";
2
+ import { Button as t } from "../button/button.js";
3
+ import { DropdownMenu as n, DropdownMenuContent as r, DropdownMenuTrigger as i } from "../dropdown-menu/dropdown-menu.js";
4
+ import * as a from "react";
5
+ import { Fragment as o, jsx as s, jsxs as c } from "react/jsx-runtime";
6
+ import { IconDots as l } from "@tabler/icons-react";
7
+ import { mergeProps as u } from "@base-ui/react/merge-props";
8
+ import { useRender as d } from "@base-ui/react/use-render";
9
+ //#region src/components/chat-list/chat-list.tsx
10
+ function f({ label: t, className: n, children: r, ...i }) {
11
+ let o = a.useId();
12
+ return /* @__PURE__ */ c("section", {
13
+ "data-slot": "chat-list-group",
14
+ "aria-labelledby": o,
15
+ className: e("flex flex-col", n),
16
+ ...i,
17
+ children: [/* @__PURE__ */ s("h2", {
18
+ id: o,
19
+ className: "type-meta m-0 mb-1 px-2.5 font-medium text-muted-foreground",
20
+ children: t
21
+ }), /* @__PURE__ */ s("ul", {
22
+ className: "m-0 flex list-none flex-col p-0",
23
+ children: r
24
+ })]
25
+ });
26
+ }
27
+ function p({ title: a, href: f, render: p, needsYou: m = !1, needsYouLabel: h = "Needs you", time: g, active: _ = !1, actions: v, actionsLabel: y, className: b, ...x }) {
28
+ let S = d({
29
+ defaultTagName: "a",
30
+ render: p,
31
+ props: u({
32
+ href: f,
33
+ "aria-current": _ ? "page" : void 0,
34
+ className: "flex min-w-0 flex-1 items-center gap-2.5 self-stretch rounded-lg text-foreground no-underline outline-none focus-visible:ring-3 focus-visible:ring-ring/50",
35
+ children: /* @__PURE__ */ c(o, { children: [/* @__PURE__ */ s("span", {
36
+ className: "min-w-0 truncate",
37
+ children: a
38
+ }), m ? /* @__PURE__ */ s("span", {
39
+ role: "img",
40
+ "aria-label": h,
41
+ className: "size-[7px] flex-none rounded-full bg-primary"
42
+ }) : null] })
43
+ }, {})
44
+ });
45
+ return /* @__PURE__ */ c("li", {
46
+ "data-slot": "chat-list-item",
47
+ "data-active": _ || void 0,
48
+ className: e("group/chat type-body relative flex h-11 items-center gap-2.5 rounded-lg px-2.5 hover:bg-muted data-[active]:bg-muted", b),
49
+ ...x,
50
+ children: [
51
+ S,
52
+ g ? /* @__PURE__ */ s("span", {
53
+ className: "type-detail flex-none text-foreground-tertiary",
54
+ children: g
55
+ }) : null,
56
+ v ? /* @__PURE__ */ c(n, { children: [/* @__PURE__ */ s(i, {
57
+ render: /* @__PURE__ */ s(t, {
58
+ type: "button",
59
+ variant: "tertiary",
60
+ size: "icon-sm",
61
+ "aria-label": y ?? `More for ${a}`,
62
+ className: "flex-none opacity-0 group-hover/chat:opacity-100 group-focus-within/chat:opacity-100 data-[popup-open]:opacity-100 [@media(hover:none)]:opacity-100"
63
+ }),
64
+ children: /* @__PURE__ */ s(l, { "aria-hidden": "true" })
65
+ }), /* @__PURE__ */ s(r, {
66
+ align: "end",
67
+ children: v
68
+ })] }) : null
69
+ ]
70
+ });
71
+ }
72
+ //#endregion
73
+ export { f as ChatListGroup, p as ChatListItem };
@@ -0,0 +1,2 @@
1
+ export * from './chat-list';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/chat-list/index.ts"],"names":[],"mappings":"AAAA,cAAc,aAAa,CAAA"}
@@ -0,0 +1,39 @@
1
+ import * as React from 'react';
2
+ type ChatPanelProps = React.ComponentProps<'aside'> & {
3
+ /**
4
+ * Let the owner drag the panel's right edge to resize it, as the sidebar resizes: arrow keys step it, Home and End
5
+ * jump to the narrowest and widest, and a double-click puts it back. The width is remembered on this browser.
6
+ */
7
+ resizable?: boolean;
8
+ /** The width a resizable panel starts at, and returns to on a double-click. */
9
+ defaultWidth?: number;
10
+ minWidth?: number;
11
+ maxWidth?: number;
12
+ /** The `localStorage` key that remembers the width. `null` remembers nothing. */
13
+ storageKey?: string | null;
14
+ };
15
+ /**
16
+ * A chat docked beside the page, as builder's chat sits beside the sidebar: a card with the chat's name, a collapse
17
+ * button, the conversation, and its own composer at the foot. The app places it; collapsing hands control back to the
18
+ * page (for example, to a floating ChatBar). With `resizable`, the owner drags its edge to make it wider or narrower.
19
+ */
20
+ declare function ChatPanel({ resizable, defaultWidth, minWidth, maxWidth, storageKey, className, style, children, ...props }: ChatPanelProps): React.JSX.Element;
21
+ type ChatPanelHeaderProps = Omit<React.ComponentProps<'header'>, 'children'> & {
22
+ /** The chat's name. */
23
+ title: string;
24
+ /** Called with the new name when the owner renames it in place. Without it the name is read-only. */
25
+ onRename?: (title: string) => void;
26
+ /** The name field's accessible name. */
27
+ titleLabel?: string;
28
+ /** Called when the owner collapses the panel. Without it there is no collapse button. */
29
+ onCollapse?: () => void;
30
+ collapseLabel?: string;
31
+ };
32
+ /** The panel's top: the chat's name in a soft filled field you can rename in place, and Collapse. */
33
+ declare function ChatPanelHeader({ title, onRename, titleLabel, onCollapse, collapseLabel, className, ...props }: ChatPanelHeaderProps): React.JSX.Element;
34
+ /** The conversation, scrolling between the header and the composer, set in the denser `type-chat`. */
35
+ declare function ChatPanelBody({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
36
+ /** The panel's composer, pinned at the foot. Holds a ChatBar with `floating={false}`. */
37
+ declare function ChatPanelFooter({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
38
+ export { ChatPanel, ChatPanelBody, ChatPanelFooter, ChatPanelHeader, type ChatPanelHeaderProps, type ChatPanelProps, };
39
+ //# sourceMappingURL=chat-panel.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"chat-panel.d.ts","sourceRoot":"","sources":["../../../src/components/chat-panel/chat-panel.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AA2C9B,KAAK,cAAc,GAAG,KAAK,CAAC,cAAc,CAAC,OAAO,CAAC,GAAG;IACpD;;;OAGG;IACH,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,+EAA+E;IAC/E,YAAY,CAAC,EAAE,MAAM,CAAA;IACrB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,QAAQ,CAAC,EAAE,MAAM,CAAA;IACjB,iFAAiF;IACjF,UAAU,CAAC,EAAE,MAAM,GAAG,IAAI,CAAA;CAC3B,CAAA;AAED;;;;GAIG;AACH,iBAAS,SAAS,CAAC,EACjB,SAAiB,EACjB,YAAuC,EACvC,QAA+B,EAC/B,QAA+B,EAC/B,UAAmC,EACnC,SAAS,EACT,KAAK,EACL,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,cAAc,qBAsChB;AA0GD,KAAK,oBAAoB,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,QAAQ,CAAC,EAAE,UAAU,CAAC,GAAG;IAC7E,uBAAuB;IACvB,KAAK,EAAE,MAAM,CAAA;IACb,qGAAqG;IACrG,QAAQ,CAAC,EAAE,CAAC,KAAK,EAAE,MAAM,KAAK,IAAI,CAAA;IAClC,wCAAwC;IACxC,UAAU,CAAC,EAAE,MAAM,CAAA;IACnB,yFAAyF;IACzF,UAAU,CAAC,EAAE,MAAM,IAAI,CAAA;IACvB,aAAa,CAAC,EAAE,MAAM,CAAA;CACvB,CAAA;AAED,qGAAqG;AACrG,iBAAS,eAAe,CAAC,EACvB,KAAK,EACL,QAAQ,EACR,UAAwB,EACxB,UAAU,EACV,aAAmC,EACnC,SAAS,EACT,GAAG,KAAK,EACT,EAAE,oBAAoB,qBA8DtB;AAED,sGAAsG;AACtG,iBAAS,aAAa,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAY1E;AAED,yFAAyF;AACzF,iBAAS,eAAe,CAAC,EAAE,SAAS,EAAE,GAAG,KAAK,EAAE,EAAE,KAAK,CAAC,cAAc,CAAC,KAAK,CAAC,qBAQ5E;AAED,OAAO,EACL,SAAS,EACT,aAAa,EACb,eAAe,EACf,eAAe,EACf,KAAK,oBAAoB,EACzB,KAAK,cAAc,GACpB,CAAA"}
@@ -0,0 +1,153 @@
1
+ import { cn as e } from "../../lib/utils.js";
2
+ import { Button as t } from "../button/button.js";
3
+ import { Tooltip as n, TooltipContent as r, TooltipTrigger as i } from "../tooltip/tooltip.js";
4
+ import * as a from "react";
5
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
6
+ import { IconLayoutSidebarLeftCollapse as c } from "@tabler/icons-react";
7
+ //#region src/components/chat-panel/chat-panel.tsx
8
+ var l = 380, u = 320, d = 640, f = 8, p = "blaze-ui.chat-panel";
9
+ function m(e, t, n) {
10
+ return Math.round(Math.min(n, Math.max(t, e)));
11
+ }
12
+ function h(e, t, n, r) {
13
+ if (!e || typeof window > "u") return t;
14
+ try {
15
+ let i = JSON.parse(window.localStorage.getItem(e) ?? "null");
16
+ return typeof i?.width == "number" && Number.isFinite(i.width) ? m(i.width, n, r) : t;
17
+ } catch {
18
+ return t;
19
+ }
20
+ }
21
+ function g(e, t) {
22
+ if (e) try {
23
+ window.localStorage.setItem(e, JSON.stringify({ width: t }));
24
+ } catch {}
25
+ }
26
+ function _({ resizable: t = !1, defaultWidth: n = l, minWidth: r = u, maxWidth: i = d, storageKey: c = p, className: f, style: m, children: _, ...y }) {
27
+ let [b, x] = a.useState(() => h(c, n, r, i)), [S, C] = a.useState(!1);
28
+ return a.useEffect(() => {
29
+ t && !S && g(c, b);
30
+ }, [
31
+ t,
32
+ S,
33
+ c,
34
+ b
35
+ ]), /* @__PURE__ */ s("aside", {
36
+ "data-slot": "chat-panel",
37
+ "data-resizing": S || void 0,
38
+ style: t ? {
39
+ width: b,
40
+ ...m
41
+ } : m,
42
+ className: e("relative flex min-h-0 flex-col rounded-xl bg-card text-card-foreground shadow-[0_1px_2px_rgb(24_24_27/0.04),0_24px_60px_-24px_rgb(59_107_224/0.12)]", t && "flex-none", f),
43
+ ...y,
44
+ children: [/* @__PURE__ */ o("div", {
45
+ className: "flex min-h-0 flex-1 flex-col overflow-hidden rounded-[inherit]",
46
+ children: _
47
+ }), t ? /* @__PURE__ */ o(v, {
48
+ width: b,
49
+ minWidth: r,
50
+ maxWidth: i,
51
+ defaultWidth: n,
52
+ resizing: S,
53
+ onWidthChange: x,
54
+ onResizingChange: C
55
+ }) : null]
56
+ });
57
+ }
58
+ function v({ width: t, minWidth: n, maxWidth: r, defaultWidth: i, resizing: c, onWidthChange: l, onResizingChange: u }) {
59
+ let d = a.useRef(null), p = (e) => m(e, n, r), h = (e, t) => {
60
+ d.current?.pointerId === t && (d.current = null, e.hasPointerCapture?.(t) && e.releasePointerCapture(t), document.body.style.removeProperty("cursor"), document.body.style.removeProperty("user-select"), u(!1));
61
+ };
62
+ return /* @__PURE__ */ o("div", {
63
+ role: "separator",
64
+ tabIndex: 0,
65
+ "aria-label": "Resize the chat",
66
+ "aria-orientation": "vertical",
67
+ "aria-valuemin": n,
68
+ "aria-valuemax": r,
69
+ "aria-valuenow": t,
70
+ "aria-valuetext": `${t} pixels`,
71
+ "data-slot": "chat-panel-resize-handle",
72
+ "data-resizing": c || void 0,
73
+ className: e("absolute inset-y-0 -right-[9px] z-20 w-2 cursor-col-resize touch-none outline-none select-none", "after:absolute after:inset-y-2.5 after:left-1/2 after:w-0.5 after:-translate-x-1/2 after:rounded-full after:transition-colors after:duration-100", "hover:after:bg-border focus-visible:after:bg-ring data-resizing:after:bg-foreground"),
74
+ onKeyDown: (e) => {
75
+ let i = e.key === "ArrowLeft" ? p(t - f) : e.key === "ArrowRight" ? p(t + f) : e.key === "Home" ? n : e.key === "End" ? r : void 0;
76
+ i !== void 0 && (e.preventDefault(), l(i));
77
+ },
78
+ onDoubleClick: () => l(p(i)),
79
+ onPointerDown: (e) => {
80
+ e.button === 0 && (e.preventDefault(), d.current = {
81
+ pointerId: e.pointerId,
82
+ startX: e.clientX,
83
+ startWidth: t
84
+ }, e.currentTarget.setPointerCapture?.(e.pointerId), document.body.style.cursor = "col-resize", document.body.style.userSelect = "none", u(!0));
85
+ },
86
+ onPointerMove: (e) => {
87
+ let t = d.current;
88
+ t?.pointerId === e.pointerId && l(p(t.startWidth + e.clientX - t.startX));
89
+ },
90
+ onPointerUp: (e) => h(e.currentTarget, e.pointerId),
91
+ onPointerCancel: (e) => h(e.currentTarget, e.pointerId),
92
+ onLostPointerCapture: (e) => h(e.currentTarget, e.pointerId),
93
+ children: c ? /* @__PURE__ */ s("span", {
94
+ "aria-hidden": "true",
95
+ className: "type-meta pointer-events-none absolute top-16 left-full ml-1.5 rounded-md bg-foreground px-1.5 py-0.5 font-medium text-background tabular-nums",
96
+ children: [t, "px"]
97
+ }) : null
98
+ });
99
+ }
100
+ function y({ title: l, onRename: u, titleLabel: d = "Chat name", onCollapse: f, collapseLabel: p = "Collapse the chat", className: m, ...h }) {
101
+ let [g, _] = a.useState(l), v = a.useRef(!1);
102
+ a.useEffect(() => _(l), [l]);
103
+ let y = () => {
104
+ if (v.current) {
105
+ v.current = !1, _(l);
106
+ return;
107
+ }
108
+ let e = g.trim();
109
+ e && e !== l ? u?.(e) : _(l);
110
+ };
111
+ return /* @__PURE__ */ s("header", {
112
+ "data-slot": "chat-panel-header",
113
+ className: e("flex flex-none items-center gap-2 px-3.5 pt-3.5 pb-2.5", m),
114
+ ...h,
115
+ children: [/* @__PURE__ */ o("input", {
116
+ "aria-label": d,
117
+ value: g,
118
+ readOnly: !u,
119
+ onChange: (e) => _(e.target.value),
120
+ onBlur: y,
121
+ onKeyDown: (e) => {
122
+ e.nativeEvent.isComposing || (e.key === "Enter" && e.currentTarget.blur(), e.key === "Escape" && (v.current = !0, e.currentTarget.blur()));
123
+ },
124
+ className: "type-body h-9 min-w-0 flex-1 truncate rounded-lg border-0 bg-muted px-3 font-medium text-foreground outline-none focus-visible:ring-3 focus-visible:ring-ring/50 read-only:cursor-default"
125
+ }), f ? /* @__PURE__ */ s(n, { children: [/* @__PURE__ */ o(i, {
126
+ render: /* @__PURE__ */ o(t, {
127
+ type: "button",
128
+ variant: "tertiary",
129
+ size: "icon-md",
130
+ "aria-label": p,
131
+ onClick: f,
132
+ className: "flex-none text-muted-foreground hover:text-foreground"
133
+ }),
134
+ children: /* @__PURE__ */ o(c, { "aria-hidden": "true" })
135
+ }), /* @__PURE__ */ o(r, { children: p })] }) : null]
136
+ });
137
+ }
138
+ function b({ className: t, ...n }) {
139
+ return /* @__PURE__ */ o("div", {
140
+ "data-slot": "chat-panel-body",
141
+ className: e("type-chat flex min-h-0 flex-1 flex-col gap-3 overflow-y-auto px-4 py-2", t),
142
+ ...n
143
+ });
144
+ }
145
+ function x({ className: t, ...n }) {
146
+ return /* @__PURE__ */ o("div", {
147
+ "data-slot": "chat-panel-footer",
148
+ className: e("flex-none p-3", t),
149
+ ...n
150
+ });
151
+ }
152
+ //#endregion
153
+ export { _ as ChatPanel, b as ChatPanelBody, x as ChatPanelFooter, y as ChatPanelHeader };
@@ -0,0 +1,2 @@
1
+ export * from './chat-panel';
2
+ //# sourceMappingURL=index.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/components/chat-panel/index.ts"],"names":[],"mappings":"AAAA,cAAc,cAAc,CAAA"}
@@ -1 +1 @@
1
- {"version":3,"file":"post-card.d.ts","sourceRoot":"","sources":["../../../src/components/post-card/post-card.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAA;AAgC9B,KAAK,iBAAiB,GAAG,KAAK,CAAC,cAAc,CAAC,IAAI,CAAC,GAAG;IACpD;;;;OAIG;IACH,SAAS,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,EAAE,EAAE,MAAM,KAAK,IAAI,CAAA;CAC/C,CAAA;AAED,iFAAiF;AACjF,iBAAS,YAAY,CAAC,EACpB,SAAS,EACT,SAAS,EACT,QAAQ,EACR,GAAG,KAAK,EACT,EAAE,iBAAiB,qBAwBnB;AAED,KAAK,aAAa,GAAG,IAAI,CAAC,KAAK,CAAC,cAAc,CAAC,WAAW,CAAC,EAAE,UAAU,CAAC,GAAG;IACzE,wHAAwH;IACxH,MAAM,EAAE;QACN,IAAI,EAAE,MAAM,CAAA;QACZ,MAAM,CAAC,EAAE,MAAM,CAAA;QACf,MAAM,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;QACxB,SAAS,CAAC,EAAE,MAAM,CAAA;KACnB,CAAA;IACD,yGAAyG;IACzG,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,4HAA4H;IAC5H,MAAM,CAAC,EAAE,CAAC,IAAI,EAAE,MAAM,KAAK,IAAI,CAAA;IAC/B,mHAAmH;IACnH,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,qGAAqG;IACrG,MAAM,CAAC,EAAE;QAAE,KAAK,EAAE,MAAM,CAAC;QAAC,KAAK,EAAE,MAAM,CAAA;KAAE,CAAA;IACzC,oGAAoG;IACpG,IAAI,CAAC,EAAE,OAAO,CAAA;IACd,sCAAsC;IACtC,KAAK,CAAC,EAAE,MAAM,CAAA;IACd,8HAA8H;IAC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AC,EAAE,MAAM,IAAI,CAAA;IACvB,qFAAqF;IACrF,SAAS,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC3B,oFAAoF;IACpF,UAAU,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC5B,wGAAwG;IACxG,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;IAC1B,kDAAkD;IAClD,SAAS,CAAC,EAAE,OAAO,CAAA;IACnB,yFAAyF;IACzF,SAAS,CAAC,EAAE,MAAM,CAAA;CACnB,CAAA;AAOD;;;;;GAKG;AACH,iBAAS,QAAQ,CAAC,EAChB,MAAM,EACN,IAAS,EACT,MAAM,EACN,QAAQ,EACR,MAAM,EACN,IAAY,EACZ,KAAK,EAAE,SAAe,EACtB,SAAS,EACT,KAAK,EACL,QAAQ,EACR,aAAa,EACb,UAAU,EACV,SAAS,EACT,UAAU,EACV,QAAQ,EACR,SAAiB,EACjB,SAAS,EACT,SAAS,EACT,GAAG,KAAK,EACT,EAAE,aAAa,qBAwVf;AAiHD,OAAO,EAAE,QAAQ,EAAE,YAAY,EAAE,KAAK,iBAAiB,EAAE,KAAK,aAAa,EAAE,CAAA"}
@@ -156,6 +156,7 @@ function _({ author: t, text: n = "", onSave: r, children: o, length: h, busy: _
156
156
  ref: B,
157
157
  type: "button",
158
158
  "data-slot": "post-card-text",
159
+ "aria-label": n.trim() ? void 0 : `Edit ${k}`,
159
160
  "aria-describedby": W,
160
161
  onClick: () => j(!0),
161
162
  className: "type-content -mx-1 mt-0.5 block w-full cursor-text rounded-md p-1 text-left whitespace-pre-wrap text-foreground [overflow-wrap:anywhere] outline-none hover:bg-muted/60 focus-visible:ring-3 focus-visible:ring-ring/50",
package/dist/index.d.ts CHANGED
@@ -20,6 +20,8 @@ export * from './components/calendar';
20
20
  export * from './components/carousel';
21
21
  export * from './components/chart';
22
22
  export * from './components/chat-bar';
23
+ export * from './components/chat-list';
24
+ export * from './components/chat-panel';
23
25
  export * from './components/checkbox';
24
26
  export * from './components/collapsible';
25
27
  export * from './components/combobox';
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EACL,MAAM,EACN,WAAW,EACX,cAAc,EACd,KAAK,WAAW,GACjB,MAAM,qBAAqB,CAAA;AAC5B,OAAO,EACL,IAAI,EACJ,UAAU,EACV,WAAW,EACX,eAAe,EACf,UAAU,EACV,UAAU,EACV,SAAS,GACV,MAAM,mBAAmB,CAAA;AAC1B,OAAO,EACL,KAAK,EACL,YAAY,EACZ,gBAAgB,EAChB,UAAU,EACV,UAAU,EACV,UAAU,EACV,WAAW,EACX,cAAc,EACd,QAAQ,EACR,UAAU,EACV,KAAK,eAAe,EACpB,KAAK,UAAU,GAChB,MAAM,oBAAoB,CAAA;AAC3B,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC3D,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,oBAAoB,CAAA;AAC3D,OAAO,EAAE,SAAS,EAAE,KAAK,cAAc,EAAE,MAAM,wBAAwB,CAAA;AACvE,cAAc,wBAAwB,CAAA;AACtC,cAAc,oBAAoB,CAAA;AAClC,cAAc,2BAA2B,CAAA;AACzC,cAAc,wBAAwB,CAAA;AACtC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,2BAA2B,CAAA;AACzC,cAAc,yBAAyB,CAAA;AACvC,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,yBAAyB,CAAA;AACvC,cAAc,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA;AACzC,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,uBAAuB,CAAA;AACrC,cAAc,uBAAuB,CAAA;AACrC,cAAc,0BAA0B,CAAA;AACxC,cAAc,uBAAuB,CAAA;AACrC,cAAc,6BA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AAA;AAC1C,cAAc,0BAA0B,CAAA;AACxC,cAAc,qBAAqB,CAAA;AACnC,cAAc,0BAA0B,CAAA;AACxC,cAAc,6BAA6B,CAAA;AAC3C,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,sBAAsB,CAAA;AACpC,cAAc,2BAA2B,CAAA;AACzC,cAAc,uBAAuB,CAAA;AACrC,cAAc,qBAAqB,CAAA;AACnC,cAAc,4BAA4B,CAAA;AAC1C,cAAc,wBAAwB,CAAA;AACtC,cAAc,sBAAsB,CAAA;AACpC,cAAc,2BAA2B,CAAA;AACzC,cAAc,+BAA+B,CAAA;AAC7C,cAAc,4BAA4B,CAAA;AAC1C,cAAc,gCAAgC,CAAA;AAC9C,cAAc,qBAAqB,CAAA;AACnC,cAAc,oBAAoB,CAAA;AAClC,cAAc,mBAAmB,CAAA;AACjC,cAAc,kBAAkB,CAAA;AAChC,cAAc,uBAAuB,CAAA;AACrC,cAAc,oBAAoB,CAAA;AAClC,cAAc,qBAAqB,CAAA;AACnC,cAAc,2BAA2B,CAAA;AACzC,cAAc,sBAAsB,CAAA;AACpC,cAAc,yBAAyB,CAAA;AACvC,OAAO,EAAE,EAAE,EAAE,MAAM,aAAa,CAAA"}
package/dist/index.js CHANGED
@@ -26,63 +26,65 @@ import { Calendar as At, CalendarDayButton as jt } from "./components/calendar/c
26
26
  import { Carousel as Mt, CarouselContent as Nt, CarouselItem as Pt, CarouselNext as Ft, CarouselPrevious as It, useCarousel as Lt } from "./components/carousel/carousel.js";
27
27
  import { ChartContainer as Rt, ChartLegend as zt, ChartLegendContent as Bt, ChartStyle as Vt, ChartTooltip as Ht, ChartTooltipContent as Ut } from "./components/chart/chart.js";
28
28
  import { ChatBar as Wt, ChatBarAddButton as Gt, ChatBarAttachment as Kt, chatBarFormVariants as qt } from "./components/chat-bar/chat-bar.js";
29
- import { Checkbox as Jt } from "./components/checkbox/checkbox.js";
30
- import { Collapsible as Yt, CollapsibleContent as Xt, CollapsibleTrigger as Zt } from "./components/collapsible/collapsible.js";
31
- import { Textarea as Qt } from "./components/textarea/textarea.js";
32
- import { InputGroup as $t, InputGroupAddon as en, InputGroupButton as tn, InputGroupInput as nn, InputGroupText as rn, InputGroupTextarea as an } from "./components/input-group/input-group.js";
33
- import { Combobox as on, ComboboxChip as sn, ComboboxChips as cn, ComboboxChipsInput as ln, ComboboxCollection as un, ComboboxContent as dn, ComboboxEmpty as fn, ComboboxGroup as pn, ComboboxInput as mn, ComboboxItem as hn, ComboboxLabel as gn, ComboboxList as _n, ComboboxSeparator as vn, ComboboxTrigger as yn, ComboboxValue as bn, useComboboxAnchor as xn } from "./components/combobox/combobox.js";
34
- import { StatusIndicator as Sn, statusDotVariants as Cn } from "./components/status-indicator/status-indicator.js";
35
- import { ConnectNotice as wn } from "./components/connect-notice/connect-notice.js";
36
- import { Table as Tn, TableBody as En, TableCaption as Dn, TableCell as On, TableFooter as kn, TableHead as An, TableHeader as jn, TableRow as Mn } from "./components/table/table.js";
37
- import { DataTable as Nn } from "./components/data-table/data-table.js";
38
- import { Popover as Pn, PopoverContent as Fn, PopoverDescription as In, PopoverHeader as Ln, PopoverTitle as Rn, PopoverTrigger as zn } from "./components/popover/popover.js";
39
- import { DatePicker as Bn } from "./components/date-picker/date-picker.js";
40
- import { DenseTable as Vn, DenseTableCell as Hn, DenseTableRow as Un, sortDenseTableRows as Wn } from "./components/dense-table/dense-table.js";
41
- import { DetailList as Gn, DetailListItem as Kn } from "./components/detail-list/detail-list.js";
42
- import { Dialog as qn, DialogClose as Jn, DialogContent as Yn, DialogDescription as Xn, DialogFooter as Zn, DialogHeader as Qn, DialogOverlay as $n, DialogPortal as er, DialogTitle as tr, DialogTrigger as nr } from "./components/dialog/dialog.js";
43
- import { Drawer as rr, DrawerClose as ir, DrawerContent as ar, DrawerDescription as or, DrawerFooter as sr, DrawerHeader as cr, DrawerOverlay as lr, DrawerPortal as ur, DrawerSwipeHandle as dr, DrawerTitle as fr, DrawerTrigger as pr } from "./components/drawer/drawer.js";
44
- import { EditableText as mr } from "./components/editable-text/editable-text.js";
45
- import { Empty as hr, EmptyContent as gr, EmptyDescription as _r, EmptyHeader as vr, EmptyMedia as yr, EmptyTitle as br } from "./components/empty/empty.js";
46
- import { BrandApple as xr, BrandBeehiiv as Sr, BrandBing as Cr, BrandBluesky as wr, BrandChatgpt as Tr, BrandEmail as Er, BrandFacebook as Dr, BrandGithub as Or, BrandGmail as kr, BrandGodaddy as Ar, BrandGoogle as jr, BrandGoogleDocs as Mr, BrandInstagram as Nr, BrandLinkedin as Pr, BrandMeta as Fr, BrandMicrosoft as Ir, BrandOutlook as Lr, BrandPerplexity as Rr, BrandPhone as zr, BrandReddit as Br, BrandSearchConsole as Vr, BrandShopify as Hr, BrandSquarespace as Ur, BrandThreads as Wr, BrandTiktok as Gr, BrandWordpress as Kr, BrandX as qr, BrandYelp as Jr, BrandYoutube as Yr, BrandZapier as Xr, PLATFORMS as Zr, PLATFORM_COLOR as Qr, PLATFORM_ICON as $r, PLATFORM_LABEL as ei, PlatformIcon as ti } from "./components/platform-icon/platform-icon.js";
47
- import { PlatformAvatar as ni } from "./components/platform-avatar/platform-avatar.js";
48
- import { FaceStackButton as ri } from "./components/face-stack-button/face-stack-button.js";
49
- import { FilterChips as ii } from "./components/filter-chips/filter-chips.js";
50
- import { Progress as ai, ProgressIndicator as oi, ProgressLabel as si, ProgressTrack as ci, ProgressValue as li } from "./components/progress/progress.js";
51
- import { GoalCard as ui, PaceBadge as di, PaceMeter as fi, paceStatusOf as pi } from "./components/goal-card/goal-card.js";
52
- import { HoverCard as mi, HoverCardContent as hi, HoverCardTrigger as gi } from "./components/hover-card/hover-card.js";
53
- import { IdentityMark as _i, IdentityMarkImage as vi } from "./components/identity-mark/identity-mark.js";
54
- import { Item as yi, ItemActions as bi, ItemContent as xi, ItemDescription as Si, ItemFooter as Ci, ItemGroup as wi, ItemHeader as Ti, ItemMedia as Ei, ItemSeparator as Di, ItemTitle as Oi } from "./components/item/item.js";
55
- import { Marker as ki, MarkerContent as Ai, MarkerIcon as ji, markerVariants as Mi } from "./components/marker/marker.js";
56
- import { MediaThumbnail as Ni, mediaThumbnailVariants as Pi } from "./components/media-thumbnail/media-thumbnail.js";
57
- import { Message as Fi, MessageAvatar as Ii, MessageContent as Li, MessageFooter as Ri, MessageGroup as zi, MessageHeader as Bi } from "./components/message/message.js";
58
- import { MetricOverview as Vi } from "./components/metric-overview/metric-overview.js";
59
- import { MetricTile as Hi, metricTileVariants as Ui } from "./components/metric-tile/metric-tile.js";
60
- import { NativeSelect as Wi, NativeSelectOptGroup as Gi, NativeSelectOption as Ki } from "./components/native-select/native-select.js";
61
- import { NavigationAction as qi, navigationActionVariants as Ji } from "./components/navigation-action/navigation-action.js";
62
- import { PageHeader as Yi } from "./components/page-header/page-header.js";
63
- import { Pagination as Xi, PaginationContent as Zi, PaginationEllipsis as Qi, PaginationItem as $i, PaginationLink as ea, PaginationNext as ta, PaginationPrevious as na } from "./components/pagination/pagination.js";
64
- import { CHANNELS as ra, CHANNEL_COLOR as ia } from "./components/platform-icon/channel-color.js";
65
- import { LetterMark as aa } from "./components/platform-icon/letter-mark.js";
66
- import { PostCard as oa, PostCardList as sa } from "./components/post-card/post-card.js";
67
- import { Questionnaire as ca, QuestionnaireActions as la, QuestionnaireChoice as ua, QuestionnaireChoiceDescription as da, QuestionnaireChoices as fa, QuestionnaireDescription as pa, QuestionnaireError as ma, QuestionnaireInput as ha, QuestionnaireItem as ga, QuestionnaireNext as _a, QuestionnairePrevious as va, QuestionnaireProgress as ya, QuestionnaireSkip as ba, QuestionnaireSubmit as xa, QuestionnaireTitle as Sa } from "./components/questionnaire/questionnaire.js";
68
- import { RadioGroup as Ca, RadioGroupItem as wa } from "./components/radio-group/radio-group.js";
69
- import { Rating as Ta } from "./components/rating/rating.js";
70
- import { ScrollArea as Ea, ScrollBar as Da } from "./components/scroll-area/scroll-area.js";
71
- import { SectionHeader as Oa } from "./components/section-header/section-header.js";
72
- import { Select as ka, SelectContent as Aa, SelectGroup as ja, SelectItem as Ma, SelectLabel as Na, SelectScrollDownButton as Pa, SelectScrollUpButton as Fa, SelectSeparator as Ia, SelectTrigger as La, SelectValue as Ra } from "./components/select/select.js";
73
- import { SignalDots as za, SignalStrip as Ba } from "./components/signal-strip/signal-strip.js";
74
- import { Slider as Va } from "./components/slider/slider.js";
75
- import { SourceAvatar as Ha } from "./components/source-avatar/source-avatar.js";
76
- import { Sparkline as Ua } from "./components/sparkline/sparkline.js";
77
- import { Spinner as Wa } from "./components/spinner/spinner.js";
78
- import { StaleBanner as Ga, StateBanner as Ka, stateBannerVariants as qa } from "./components/state-banner/state-banner.js";
79
- import { SuggestChips as Ja } from "./components/suggest-chips/suggest-chips.js";
80
- import { Tabs as Ya, TabsContent as Xa, TabsList as Za, TabsTrigger as Qa, tabsListVariants as $a } from "./components/tabs/tabs.js";
81
- import { Toggle as eo, toggleVariants as to } from "./components/toggle/toggle.js";
82
- import { StackedBarChart as no } from "./components/stacked-bar-chart/stacked-bar-chart.js";
83
- import { Switch as ro } from "./components/switch/switch.js";
84
- import { Tag as io, TagList as ao } from "./components/tag/tag.js";
85
- import { Toast as oo, ToastAction as so, ToastClose as co, ToastContent as lo, ToastDescription as uo, ToastPortal as fo, ToastProvider as po, ToastTitle as mo, ToastViewport as ho, Toaster as go, createToastManager as _o, toast as vo, useToastManager as yo } from "./components/toast/toast.js";
86
- import { ToggleGroup as bo, ToggleGroupItem as xo } from "./components/toggle-group/toggle-group.js";
87
- import { TurnSteps as So } from "./components/turn-steps/turn-steps.js";
88
- export { He as APP_SIDEBAR_DEFAULT_WIDTH, Ue as APP_SIDEBAR_MAX_WIDTH, We as APP_SIDEBAR_MIN_WIDTH, Ge as APP_SIDEBAR_RAIL_WIDTH, w as Accordion, T as AccordionContent, E as AccordionItem, D as AccordionTrigger, O as Alert, k as AlertAction, A as AlertDescription, M as AlertDialog, N as AlertDialogAction, P as AlertDialogCancel, F as AlertDialogContent, I as AlertDialogDescription, L as AlertDialogFooter, R as AlertDialogHeader, z as AlertDialogMedia, B as AlertDialogOverlay, V as AlertDialogPortal, H as AlertDialogTitle, U as AlertDialogTrigger, j as AlertTitle, Ke as AppShell, qe as AppSidebar, Je as AppSidebarWorkspace, Ye as AppTopBar, Xe as ApprovalCard, Ze as AspectRatio, Qe as Attachment, $e as AttachmentAction, et as AttachmentActions, tt as AttachmentContent, nt as AttachmentDescription, rt as AttachmentGroup, it as AttachmentMedia, at as AttachmentTitle, ot as AttachmentTrigger, st as Avatar, ct as AvatarBadge, lt as AvatarFallback, ut as AvatarGroup, dt as AvatarGroupCount, ft as AvatarImage, pt as Badge, xr as BrandApple, Sr as BrandBeehiiv, Cr as BrandBing, wr as BrandBluesky, Tr as BrandChatgpt, Er as BrandEmail, Dr as BrandFacebook, Or as BrandGithub, kr as BrandGmail, Ar as BrandGodaddy, jr as BrandGoogle, Mr as BrandGoogleDocs, Nr as BrandInstagram, Pr as BrandLinkedin, Fr as BrandMeta, Ir as BrandMicrosoft, Lr as BrandOutlook, Rr as BrandPerplexity, zr as BrandPhone, Br as BrandReddit, Vr as BrandSearchConsole, Hr as BrandShopify, Ur as BrandSquarespace, Wr as BrandThreads, Gr as BrandTiktok, Kr as BrandWordpress, qr as BrandX, Jr as BrandYelp, Yr as BrandYoutube, Xr as BrandZapier, ht as Breadcrumb, gt as BreadcrumbEllipsis, _t as BreadcrumbItem, vt as BreadcrumbLink, yt as BreadcrumbList, bt as BreadcrumbPage, xt as BreadcrumbSeparator, St as Bubble, Ct as BubbleContent, wt as BubbleGroup, Tt as BubbleReactions, t as Button, Et as ButtonGroup, Dt as ButtonGroupSeparator, Ot as ButtonGroupText, n as ButtonLabel, ra as CHANNELS, ia as CHANNEL_COLOR, At as Calendar, jt as CalendarDayButton, i as Card, a as CardAction, o as CardContent, s as CardDescription, c as CardFooter, l as CardHeader, u as CardTitle, Mt as Carousel, Nt as CarouselContent, Pt as CarouselItem, Ft as CarouselNext, It as CarouselPrevious, Rt as ChartContainer, zt as ChartLegend, Bt as ChartLegendContent, Vt as ChartStyle, Ht as ChartTooltip, Ut as ChartTooltipContent, Wt as ChatBar, Gt as ChatBarAddButton, Kt as ChatBarAttachment, Jt as Checkbox, Yt as Collapsible, Xt as CollapsibleContent, Zt as CollapsibleTrigger, on as Combobox, sn as ComboboxChip, cn as ComboboxChips, ln as ComboboxChipsInput, un as ComboboxCollection, dn as ComboboxContent, fn as ComboboxEmpty, pn as ComboboxGroup, mn as ComboboxInput, hn as ComboboxItem, gn as ComboboxLabel, _n as ComboboxList, vn as ComboboxSeparator, yn as ComboboxTrigger, bn as ComboboxValue, wn as ConnectNotice, Nn as DataTable, Bn as DatePicker, Vn as DenseTable, Hn as DenseTableCell, Un as DenseTableRow, Gn as DetailList, Kn as DetailListItem, qn as Dialog, Jn as DialogClose, Yn as DialogContent, Xn as DialogDescription, Zn as DialogFooter, Qn as DialogHeader, $n as DialogOverlay, er as DialogPortal, tr as DialogTitle, nr as DialogTrigger, rr as Drawer, ir as DrawerClose, ar as DrawerContent, or as DrawerDescription, sr as DrawerFooter, cr as DrawerHeader, lr as DrawerOverlay, ur as DrawerPortal, dr as DrawerSwipeHandle, fr as DrawerTitle, pr as DrawerTrigger, W as DropdownMenu, G as DropdownMenuCheckboxItem, K as DropdownMenuContent, q as DropdownMenuGroup, J as DropdownMenuItem, Y as DropdownMenuLabel, X as DropdownMenuPortal, Z as DropdownMenuRadioGroup, Q as DropdownMenuRadioItem, $ as DropdownMenuSeparator, ee as DropdownMenuShortcut, te as DropdownMenuSub, ne as DropdownMenuSubContent, re as DropdownMenuSubTrigger, ie as DropdownMenuTrigger, mr as EditableText, hr as Empty, gr as EmptyContent, _r as EmptyDescription, vr as EmptyHeader, yr as EmptyMedia, br as EmptyTitle, ri as FaceStackButton, p as Field, m as FieldContent, h as FieldDescription, g as FieldError, _ as FieldGroup, v as FieldLabel, y as FieldLegend, b as FieldSeparator, x as FieldSet, S as FieldTitle, ii as FilterChips, ui as GoalCard, mi as HoverCard, hi as HoverCardContent, gi as HoverCardTrigger, _i as IdentityMark, vi as IdentityMarkImage, C as Input, $t as InputGroup, en as InputGroupAddon, tn as InputGroupButton, nn as InputGroupInput, rn as InputGroupText, an as InputGroupTextarea, yi as Item, bi as ItemActions, xi as ItemContent, Si as ItemDescription, Ci as ItemFooter, wi as ItemGroup, Ti as ItemHeader, Ei as ItemMedia, Di as ItemSeparator, Oi as ItemTitle, d as Label, aa as LetterMark, ki as Marker, Ai as MarkerContent, ji as MarkerIcon, Ni as MediaThumbnail, Fi as Message, Ii as MessageAvatar, Li as MessageContent, Ri as MessageFooter, zi as MessageGroup, Bi as MessageHeader, Vi as MetricOverview, Hi as MetricTile, Wi as NativeSelect, Gi as NativeSelectOptGroup, Ki as NativeSelectOption, qi as NavigationAction, Zr as PLATFORMS, Qr as PLATFORM_COLOR, $r as PLATFORM_ICON, ei as PLATFORM_LABEL, di as PaceBadge, fi as PaceMeter, Yi as PageHeader, Xi as Pagination, Zi as PaginationContent, Qi as PaginationEllipsis, $i as PaginationItem, ea as PaginationLink, ta as PaginationNext, na as PaginationPrevious, ni as PlatformAvatar, ti as PlatformIcon, Pn as Popover, Fn as PopoverContent, In as PopoverDescription, Ln as PopoverHeader, Rn as PopoverTitle, zn as PopoverTrigger, oa as PostCard, sa as PostCardList, ai as Progress, oi as ProgressIndicator, si as ProgressLabel, ci as ProgressTrack, li as ProgressValue, ca as Questionnaire, la as QuestionnaireActions, ua as QuestionnaireChoice, da as QuestionnaireChoiceDescription, fa as QuestionnaireChoices, pa as QuestionnaireDescription, ma as QuestionnaireError, ha as QuestionnaireInput, ga as QuestionnaireItem, _a as QuestionnaireNext, va as QuestionnairePrevious, ya as QuestionnaireProgress, ba as QuestionnaireSkip, xa as QuestionnaireSubmit, Sa as QuestionnaireTitle, Ca as RadioGroup, wa as RadioGroupItem, Ta as Rating, Ea as ScrollArea, Da as ScrollBar, Oa as SectionHeader, ka as Select, Aa as SelectContent, ja as SelectGroup, Ma as SelectItem, Na as SelectLabel, Pa as SelectScrollDownButton, Fa as SelectScrollUpButton, Ia as SelectSeparator, La as SelectTrigger, Ra as SelectValue, f as Separator, ae as Sheet, oe as SheetClose, se as SheetContent, ce as SheetDescription, le as SheetFooter, ue as SheetHeader, de as SheetTitle, fe as SheetTrigger, ve as Sidebar, ye as SidebarContent, be as SidebarFooter, xe as SidebarGroup, Se as SidebarGroupAction, Ce as SidebarGroupContent, we as SidebarGroupLabel, Te as SidebarHeader, Ee as SidebarInput, De as SidebarInset, Oe as SidebarMenu, ke as SidebarMenuAction, Ae as SidebarMenuBadge, je as SidebarMenuButton, Me as SidebarMenuItem, Ne as SidebarMenuSkeleton, Pe as SidebarMenuSub, Fe as SidebarMenuSubButton, Ie as SidebarMenuSubItem, Le as SidebarProvider, Re as SidebarRail, ze as SidebarSeparator, Be as SidebarTrigger, za as SignalDots, Ba as SignalStrip, pe as Skeleton, Va as Slider, Ha as SourceAvatar, Ua as Sparkline, Wa as Spinner, no as StackedBarChart, Ga as StaleBanner, Ka as StateBanner, Sn as StatusIndicator, Ja as SuggestChips, ro as Switch, Tn as Table, En as TableBody, Dn as TableCaption, On as TableCell, kn as TableFooter, An as TableHead, jn as TableHeader, Mn as TableRow, Ya as Tabs, Xa as TabsContent, Za as TabsList, Qa as TabsTrigger, io as Tag, ao as TagList, Qt as Textarea, oo as Toast, so as ToastAction, co as ToastClose, lo as ToastContent, uo as ToastDescription, fo as ToastPortal, po as ToastProvider, mo as ToastTitle, ho as ToastViewport, go as Toaster, eo as Toggle, bo as ToggleGroup, xo as ToggleGroupItem, me as Tooltip, he as TooltipContent, ge as TooltipProvider, _e as TooltipTrigger, So as TurnSteps, mt as badgeVariants, kt as buttonGroupVariants, r as buttonVariants, qt as chatBarFormVariants, e as cn, _o as createToastManager, Mi as markerVariants, Pi as mediaThumbnailVariants, Ui as metricTileVariants, Ji as navigationActionVariants, pi as paceStatusOf, Wn as sortDenseTableRows, qa as stateBannerVariants, Cn as statusDotVariants, $a as tabsListVariants, vo as toast, to as toggleVariants, Lt as useCarousel, xn as useComboboxAnchor, Ve as useSidebar, yo as useToastManager };
29
+ import { ChatListGroup as Jt, ChatListItem as Yt } from "./components/chat-list/chat-list.js";
30
+ import { ChatPanel as Xt, ChatPanelBody as Zt, ChatPanelFooter as Qt, ChatPanelHeader as $t } from "./components/chat-panel/chat-panel.js";
31
+ import { Checkbox as en } from "./components/checkbox/checkbox.js";
32
+ import { Collapsible as tn, CollapsibleContent as nn, CollapsibleTrigger as rn } from "./components/collapsible/collapsible.js";
33
+ import { Textarea as an } from "./components/textarea/textarea.js";
34
+ import { InputGroup as on, InputGroupAddon as sn, InputGroupButton as cn, InputGroupInput as ln, InputGroupText as un, InputGroupTextarea as dn } from "./components/input-group/input-group.js";
35
+ import { Combobox as fn, ComboboxChip as pn, ComboboxChips as mn, ComboboxChipsInput as hn, ComboboxCollection as gn, ComboboxContent as _n, ComboboxEmpty as vn, ComboboxGroup as yn, ComboboxInput as bn, ComboboxItem as xn, ComboboxLabel as Sn, ComboboxList as Cn, ComboboxSeparator as wn, ComboboxTrigger as Tn, ComboboxValue as En, useComboboxAnchor as Dn } from "./components/combobox/combobox.js";
36
+ import { StatusIndicator as On, statusDotVariants as kn } from "./components/status-indicator/status-indicator.js";
37
+ import { ConnectNotice as An } from "./components/connect-notice/connect-notice.js";
38
+ import { Table as jn, TableBody as Mn, TableCaption as Nn, TableCell as Pn, TableFooter as Fn, TableHead as In, TableHeader as Ln, TableRow as Rn } from "./components/table/table.js";
39
+ import { DataTable as zn } from "./components/data-table/data-table.js";
40
+ import { Popover as Bn, PopoverContent as Vn, PopoverDescription as Hn, PopoverHeader as Un, PopoverTitle as Wn, PopoverTrigger as Gn } from "./components/popover/popover.js";
41
+ import { DatePicker as Kn } from "./components/date-picker/date-picker.js";
42
+ import { DenseTable as qn, DenseTableCell as Jn, DenseTableRow as Yn, sortDenseTableRows as Xn } from "./components/dense-table/dense-table.js";
43
+ import { DetailList as Zn, DetailListItem as Qn } from "./components/detail-list/detail-list.js";
44
+ import { Dialog as $n, DialogClose as er, DialogContent as tr, DialogDescription as nr, DialogFooter as rr, DialogHeader as ir, DialogOverlay as ar, DialogPortal as or, DialogTitle as sr, DialogTrigger as cr } from "./components/dialog/dialog.js";
45
+ import { Drawer as lr, DrawerClose as ur, DrawerContent as dr, DrawerDescription as fr, DrawerFooter as pr, DrawerHeader as mr, DrawerOverlay as hr, DrawerPortal as gr, DrawerSwipeHandle as _r, DrawerTitle as vr, DrawerTrigger as yr } from "./components/drawer/drawer.js";
46
+ import { EditableText as br } from "./components/editable-text/editable-text.js";
47
+ import { Empty as xr, EmptyContent as Sr, EmptyDescription as Cr, EmptyHeader as wr, EmptyMedia as Tr, EmptyTitle as Er } from "./components/empty/empty.js";
48
+ import { BrandApple as Dr, BrandBeehiiv as Or, BrandBing as kr, BrandBluesky as Ar, BrandChatgpt as jr, BrandEmail as Mr, BrandFacebook as Nr, BrandGithub as Pr, BrandGmail as Fr, BrandGodaddy as Ir, BrandGoogle as Lr, BrandGoogleDocs as Rr, BrandInstagram as zr, BrandLinkedin as Br, BrandMeta as Vr, BrandMicrosoft as Hr, BrandOutlook as Ur, BrandPerplexity as Wr, BrandPhone as Gr, BrandReddit as Kr, BrandSearchConsole as qr, BrandShopify as Jr, BrandSquarespace as Yr, BrandThreads as Xr, BrandTiktok as Zr, BrandWordpress as Qr, BrandX as $r, BrandYelp as ei, BrandYoutube as ti, BrandZapier as ni, PLATFORMS as ri, PLATFORM_COLOR as ii, PLATFORM_ICON as ai, PLATFORM_LABEL as oi, PlatformIcon as si } from "./components/platform-icon/platform-icon.js";
49
+ import { PlatformAvatar as ci } from "./components/platform-avatar/platform-avatar.js";
50
+ import { FaceStackButton as li } from "./components/face-stack-button/face-stack-button.js";
51
+ import { FilterChips as ui } from "./components/filter-chips/filter-chips.js";
52
+ import { Progress as di, ProgressIndicator as fi, ProgressLabel as pi, ProgressTrack as mi, ProgressValue as hi } from "./components/progress/progress.js";
53
+ import { GoalCard as gi, PaceBadge as _i, PaceMeter as vi, paceStatusOf as yi } from "./components/goal-card/goal-card.js";
54
+ import { HoverCard as bi, HoverCardContent as xi, HoverCardTrigger as Si } from "./components/hover-card/hover-card.js";
55
+ import { IdentityMark as Ci, IdentityMarkImage as wi } from "./components/identity-mark/identity-mark.js";
56
+ import { Item as Ti, ItemActions as Ei, ItemContent as Di, ItemDescription as Oi, ItemFooter as ki, ItemGroup as Ai, ItemHeader as ji, ItemMedia as Mi, ItemSeparator as Ni, ItemTitle as Pi } from "./components/item/item.js";
57
+ import { Marker as Fi, MarkerContent as Ii, MarkerIcon as Li, markerVariants as Ri } from "./components/marker/marker.js";
58
+ import { MediaThumbnail as zi, mediaThumbnailVariants as Bi } from "./components/media-thumbnail/media-thumbnail.js";
59
+ import { Message as Vi, MessageAvatar as Hi, MessageContent as Ui, MessageFooter as Wi, MessageGroup as Gi, MessageHeader as Ki } from "./components/message/message.js";
60
+ import { MetricOverview as qi } from "./components/metric-overview/metric-overview.js";
61
+ import { MetricTile as Ji, metricTileVariants as Yi } from "./components/metric-tile/metric-tile.js";
62
+ import { NativeSelect as Xi, NativeSelectOptGroup as Zi, NativeSelectOption as Qi } from "./components/native-select/native-select.js";
63
+ import { NavigationAction as $i, navigationActionVariants as ea } from "./components/navigation-action/navigation-action.js";
64
+ import { PageHeader as ta } from "./components/page-header/page-header.js";
65
+ import { Pagination as na, PaginationContent as ra, PaginationEllipsis as ia, PaginationItem as aa, PaginationLink as oa, PaginationNext as sa, PaginationPrevious as ca } from "./components/pagination/pagination.js";
66
+ import { CHANNELS as la, CHANNEL_COLOR as ua } from "./components/platform-icon/channel-color.js";
67
+ import { LetterMark as da } from "./components/platform-icon/letter-mark.js";
68
+ import { PostCard as fa, PostCardList as pa } from "./components/post-card/post-card.js";
69
+ import { Questionnaire as ma, QuestionnaireActions as ha, QuestionnaireChoice as ga, QuestionnaireChoiceDescription as _a, QuestionnaireChoices as va, QuestionnaireDescription as ya, QuestionnaireError as ba, QuestionnaireInput as xa, QuestionnaireItem as Sa, QuestionnaireNext as Ca, QuestionnairePrevious as wa, QuestionnaireProgress as Ta, QuestionnaireSkip as Ea, QuestionnaireSubmit as Da, QuestionnaireTitle as Oa } from "./components/questionnaire/questionnaire.js";
70
+ import { RadioGroup as ka, RadioGroupItem as Aa } from "./components/radio-group/radio-group.js";
71
+ import { Rating as ja } from "./components/rating/rating.js";
72
+ import { ScrollArea as Ma, ScrollBar as Na } from "./components/scroll-area/scroll-area.js";
73
+ import { SectionHeader as Pa } from "./components/section-header/section-header.js";
74
+ import { Select as Fa, SelectContent as Ia, SelectGroup as La, SelectItem as Ra, SelectLabel as za, SelectScrollDownButton as Ba, SelectScrollUpButton as Va, SelectSeparator as Ha, SelectTrigger as Ua, SelectValue as Wa } from "./components/select/select.js";
75
+ import { SignalDots as Ga, SignalStrip as Ka } from "./components/signal-strip/signal-strip.js";
76
+ import { Slider as qa } from "./components/slider/slider.js";
77
+ import { SourceAvatar as Ja } from "./components/source-avatar/source-avatar.js";
78
+ import { Sparkline as Ya } from "./components/sparkline/sparkline.js";
79
+ import { Spinner as Xa } from "./components/spinner/spinner.js";
80
+ import { StaleBanner as Za, StateBanner as Qa, stateBannerVariants as $a } from "./components/state-banner/state-banner.js";
81
+ import { SuggestChips as eo } from "./components/suggest-chips/suggest-chips.js";
82
+ import { Tabs as to, TabsContent as no, TabsList as ro, TabsTrigger as io, tabsListVariants as ao } from "./components/tabs/tabs.js";
83
+ import { Toggle as oo, toggleVariants as so } from "./components/toggle/toggle.js";
84
+ import { StackedBarChart as co } from "./components/stacked-bar-chart/stacked-bar-chart.js";
85
+ import { Switch as lo } from "./components/switch/switch.js";
86
+ import { Tag as uo, TagList as fo } from "./components/tag/tag.js";
87
+ import { Toast as po, ToastAction as mo, ToastClose as ho, ToastContent as go, ToastDescription as _o, ToastPortal as vo, ToastProvider as yo, ToastTitle as bo, ToastViewport as xo, Toaster as So, createToastManager as Co, toast as wo, useToastManager as To } from "./components/toast/toast.js";
88
+ import { ToggleGroup as Eo, ToggleGroupItem as Do } from "./components/toggle-group/toggle-group.js";
89
+ import { TurnSteps as Oo } from "./components/turn-steps/turn-steps.js";
90
+ export { He as APP_SIDEBAR_DEFAULT_WIDTH, Ue as APP_SIDEBAR_MAX_WIDTH, We as APP_SIDEBAR_MIN_WIDTH, Ge as APP_SIDEBAR_RAIL_WIDTH, w as Accordion, T as AccordionContent, E as AccordionItem, D as AccordionTrigger, O as Alert, k as AlertAction, A as AlertDescription, M as AlertDialog, N as AlertDialogAction, P as AlertDialogCancel, F as AlertDialogContent, I as AlertDialogDescription, L as AlertDialogFooter, R as AlertDialogHeader, z as AlertDialogMedia, B as AlertDialogOverlay, V as AlertDialogPortal, H as AlertDialogTitle, U as AlertDialogTrigger, j as AlertTitle, Ke as AppShell, qe as AppSidebar, Je as AppSidebarWorkspace, Ye as AppTopBar, Xe as ApprovalCard, Ze as AspectRatio, Qe as Attachment, $e as AttachmentAction, et as AttachmentActions, tt as AttachmentContent, nt as AttachmentDescription, rt as AttachmentGroup, it as AttachmentMedia, at as AttachmentTitle, ot as AttachmentTrigger, st as Avatar, ct as AvatarBadge, lt as AvatarFallback, ut as AvatarGroup, dt as AvatarGroupCount, ft as AvatarImage, pt as Badge, Dr as BrandApple, Or as BrandBeehiiv, kr as BrandBing, Ar as BrandBluesky, jr as BrandChatgpt, Mr as BrandEmail, Nr as BrandFacebook, Pr as BrandGithub, Fr as BrandGmail, Ir as BrandGodaddy, Lr as BrandGoogle, Rr as BrandGoogleDocs, zr as BrandInstagram, Br as BrandLinkedin, Vr as BrandMeta, Hr as BrandMicrosoft, Ur as BrandOutlook, Wr as BrandPerplexity, Gr as BrandPhone, Kr as BrandReddit, qr as BrandSearchConsole, Jr as BrandShopify, Yr as BrandSquarespace, Xr as BrandThreads, Zr as BrandTiktok, Qr as BrandWordpress, $r as BrandX, ei as BrandYelp, ti as BrandYoutube, ni as BrandZapier, ht as Breadcrumb, gt as BreadcrumbEllipsis, _t as BreadcrumbItem, vt as BreadcrumbLink, yt as BreadcrumbList, bt as BreadcrumbPage, xt as BreadcrumbSeparator, St as Bubble, Ct as BubbleContent, wt as BubbleGroup, Tt as BubbleReactions, t as Button, Et as ButtonGroup, Dt as ButtonGroupSeparator, Ot as ButtonGroupText, n as ButtonLabel, la as CHANNELS, ua as CHANNEL_COLOR, At as Calendar, jt as CalendarDayButton, i as Card, a as CardAction, o as CardContent, s as CardDescription, c as CardFooter, l as CardHeader, u as CardTitle, Mt as Carousel, Nt as CarouselContent, Pt as CarouselItem, Ft as CarouselNext, It as CarouselPrevious, Rt as ChartContainer, zt as ChartLegend, Bt as ChartLegendContent, Vt as ChartStyle, Ht as ChartTooltip, Ut as ChartTooltipContent, Wt as ChatBar, Gt as ChatBarAddButton, Kt as ChatBarAttachment, Jt as ChatListGroup, Yt as ChatListItem, Xt as ChatPanel, Zt as ChatPanelBody, Qt as ChatPanelFooter, $t as ChatPanelHeader, en as Checkbox, tn as Collapsible, nn as CollapsibleContent, rn as CollapsibleTrigger, fn as Combobox, pn as ComboboxChip, mn as ComboboxChips, hn as ComboboxChipsInput, gn as ComboboxCollection, _n as ComboboxContent, vn as ComboboxEmpty, yn as ComboboxGroup, bn as ComboboxInput, xn as ComboboxItem, Sn as ComboboxLabel, Cn as ComboboxList, wn as ComboboxSeparator, Tn as ComboboxTrigger, En as ComboboxValue, An as ConnectNotice, zn as DataTable, Kn as DatePicker, qn as DenseTable, Jn as DenseTableCell, Yn as DenseTableRow, Zn as DetailList, Qn as DetailListItem, $n as Dialog, er as DialogClose, tr as DialogContent, nr as DialogDescription, rr as DialogFooter, ir as DialogHeader, ar as DialogOverlay, or as DialogPortal, sr as DialogTitle, cr as DialogTrigger, lr as Drawer, ur as DrawerClose, dr as DrawerContent, fr as DrawerDescription, pr as DrawerFooter, mr as DrawerHeader, hr as DrawerOverlay, gr as DrawerPortal, _r as DrawerSwipeHandle, vr as DrawerTitle, yr as DrawerTrigger, W as DropdownMenu, G as DropdownMenuCheckboxItem, K as DropdownMenuContent, q as DropdownMenuGroup, J as DropdownMenuItem, Y as DropdownMenuLabel, X as DropdownMenuPortal, Z as DropdownMenuRadioGroup, Q as DropdownMenuRadioItem, $ as DropdownMenuSeparator, ee as DropdownMenuShortcut, te as DropdownMenuSub, ne as DropdownMenuSubContent, re as DropdownMenuSubTrigger, ie as DropdownMenuTrigger, br as EditableText, xr as Empty, Sr as EmptyContent, Cr as EmptyDescription, wr as EmptyHeader, Tr as EmptyMedia, Er as EmptyTitle, li as FaceStackButton, p as Field, m as FieldContent, h as FieldDescription, g as FieldError, _ as FieldGroup, v as FieldLabel, y as FieldLegend, b as FieldSeparator, x as FieldSet, S as FieldTitle, ui as FilterChips, gi as GoalCard, bi as HoverCard, xi as HoverCardContent, Si as HoverCardTrigger, Ci as IdentityMark, wi as IdentityMarkImage, C as Input, on as InputGroup, sn as InputGroupAddon, cn as InputGroupButton, ln as InputGroupInput, un as InputGroupText, dn as InputGroupTextarea, Ti as Item, Ei as ItemActions, Di as ItemContent, Oi as ItemDescription, ki as ItemFooter, Ai as ItemGroup, ji as ItemHeader, Mi as ItemMedia, Ni as ItemSeparator, Pi as ItemTitle, d as Label, da as LetterMark, Fi as Marker, Ii as MarkerContent, Li as MarkerIcon, zi as MediaThumbnail, Vi as Message, Hi as MessageAvatar, Ui as MessageContent, Wi as MessageFooter, Gi as MessageGroup, Ki as MessageHeader, qi as MetricOverview, Ji as MetricTile, Xi as NativeSelect, Zi as NativeSelectOptGroup, Qi as NativeSelectOption, $i as NavigationAction, ri as PLATFORMS, ii as PLATFORM_COLOR, ai as PLATFORM_ICON, oi as PLATFORM_LABEL, _i as PaceBadge, vi as PaceMeter, ta as PageHeader, na as Pagination, ra as PaginationContent, ia as PaginationEllipsis, aa as PaginationItem, oa as PaginationLink, sa as PaginationNext, ca as PaginationPrevious, ci as PlatformAvatar, si as PlatformIcon, Bn as Popover, Vn as PopoverContent, Hn as PopoverDescription, Un as PopoverHeader, Wn as PopoverTitle, Gn as PopoverTrigger, fa as PostCard, pa as PostCardList, di as Progress, fi as ProgressIndicator, pi as ProgressLabel, mi as ProgressTrack, hi as ProgressValue, ma as Questionnaire, ha as QuestionnaireActions, ga as QuestionnaireChoice, _a as QuestionnaireChoiceDescription, va as QuestionnaireChoices, ya as QuestionnaireDescription, ba as QuestionnaireError, xa as QuestionnaireInput, Sa as QuestionnaireItem, Ca as QuestionnaireNext, wa as QuestionnairePrevious, Ta as QuestionnaireProgress, Ea as QuestionnaireSkip, Da as QuestionnaireSubmit, Oa as QuestionnaireTitle, ka as RadioGroup, Aa as RadioGroupItem, ja as Rating, Ma as ScrollArea, Na as ScrollBar, Pa as SectionHeader, Fa as Select, Ia as SelectContent, La as SelectGroup, Ra as SelectItem, za as SelectLabel, Ba as SelectScrollDownButton, Va as SelectScrollUpButton, Ha as SelectSeparator, Ua as SelectTrigger, Wa as SelectValue, f as Separator, ae as Sheet, oe as SheetClose, se as SheetContent, ce as SheetDescription, le as SheetFooter, ue as SheetHeader, de as SheetTitle, fe as SheetTrigger, ve as Sidebar, ye as SidebarContent, be as SidebarFooter, xe as SidebarGroup, Se as SidebarGroupAction, Ce as SidebarGroupContent, we as SidebarGroupLabel, Te as SidebarHeader, Ee as SidebarInput, De as SidebarInset, Oe as SidebarMenu, ke as SidebarMenuAction, Ae as SidebarMenuBadge, je as SidebarMenuButton, Me as SidebarMenuItem, Ne as SidebarMenuSkeleton, Pe as SidebarMenuSub, Fe as SidebarMenuSubButton, Ie as SidebarMenuSubItem, Le as SidebarProvider, Re as SidebarRail, ze as SidebarSeparator, Be as SidebarTrigger, Ga as SignalDots, Ka as SignalStrip, pe as Skeleton, qa as Slider, Ja as SourceAvatar, Ya as Sparkline, Xa as Spinner, co as StackedBarChart, Za as StaleBanner, Qa as StateBanner, On as StatusIndicator, eo as SuggestChips, lo as Switch, jn as Table, Mn as TableBody, Nn as TableCaption, Pn as TableCell, Fn as TableFooter, In as TableHead, Ln as TableHeader, Rn as TableRow, to as Tabs, no as TabsContent, ro as TabsList, io as TabsTrigger, uo as Tag, fo as TagList, an as Textarea, po as Toast, mo as ToastAction, ho as ToastClose, go as ToastContent, _o as ToastDescription, vo as ToastPortal, yo as ToastProvider, bo as ToastTitle, xo as ToastViewport, So as Toaster, oo as Toggle, Eo as ToggleGroup, Do as ToggleGroupItem, me as Tooltip, he as TooltipContent, ge as TooltipProvider, _e as TooltipTrigger, Oo as TurnSteps, mt as badgeVariants, kt as buttonGroupVariants, r as buttonVariants, qt as chatBarFormVariants, e as cn, Co as createToastManager, Ri as markerVariants, Bi as mediaThumbnailVariants, Yi as metricTileVariants, ea as navigationActionVariants, yi as paceStatusOf, Xn as sortDenseTableRows, $a as stateBannerVariants, kn as statusDotVariants, ao as tabsListVariants, wo as toast, so as toggleVariants, Lt as useCarousel, Dn as useComboboxAnchor, Ve as useSidebar, To as useToastManager };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almanaclabs/blaze-ui",
3
- "version": "0.23.0",
3
+ "version": "0.24.0",
4
4
  "description": "Shared React components and design tokens for Blaze",
5
5
  "type": "module",
6
6
  "sideEffects": [
@@ -185,6 +185,9 @@
185
185
  --type-body-size: 0.9375rem;
186
186
  --type-body-line-height: 1.45;
187
187
  --type-body-letter-spacing: 0;
188
+ /* Chat messages: denser than body copy, so a conversation reads like one (ADR 0035). */
189
+ --type-chat-size: 0.875rem;
190
+ --type-chat-line-height: 1.45;
188
191
  /* Regular 14px and 13px text for secondary lines and notes (ADR 0029). */
189
192
  --type-small-size: 0.875rem;
190
193
  --type-small-line-height: 1.45;
@@ -761,6 +764,11 @@
761
764
  line-height: var(--type-small-line-height);
762
765
  }
763
766
 
767
+ .type-chat {
768
+ font-size: var(--type-chat-size);
769
+ line-height: var(--type-chat-line-height);
770
+ }
771
+
764
772
  .type-detail {
765
773
  font-size: var(--type-detail-size);
766
774
  line-height: var(--type-detail-line-height);