@brett_lamy/ui 1.1.0 → 2.0.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/README.md +36 -22
- package/dist/components/button.stories.d.ts +2 -0
- package/dist/components/button.stories.d.ts.map +1 -1
- package/dist/components/chat/chat-column.stories.d.ts +2 -0
- package/dist/components/chat/chat-column.stories.d.ts.map +1 -1
- package/dist/components/chat/floating-chat.d.ts +19 -0
- package/dist/components/chat/floating-chat.d.ts.map +1 -1
- package/dist/components/chat/floating-chat.stories.d.ts.map +1 -1
- package/dist/components/chat/floating-sheet.d.ts +21 -1
- package/dist/components/chat/floating-sheet.d.ts.map +1 -1
- package/dist/components/chat/floating-sheet.stories.d.ts.map +1 -1
- package/dist/components/command-menu.d.ts +210 -0
- package/dist/components/command-menu.d.ts.map +1 -0
- package/dist/components/command-menu.stories.d.ts +17 -0
- package/dist/components/command-menu.stories.d.ts.map +1 -0
- package/dist/components/credenza.d.ts +7 -2
- package/dist/components/credenza.d.ts.map +1 -1
- package/dist/components/edge-drawer.d.ts +14 -2
- package/dist/components/edge-drawer.d.ts.map +1 -1
- package/dist/components/index-bar.d.ts.map +1 -1
- package/dist/components/list-row.stories.d.ts +3 -0
- package/dist/components/list-row.stories.d.ts.map +1 -1
- package/dist/components/list.d.ts +15 -1
- package/dist/components/list.d.ts.map +1 -1
- package/dist/components/morph.d.ts +6 -3
- package/dist/components/morph.d.ts.map +1 -1
- package/dist/components/navigation-stack.d.ts +13 -2
- package/dist/components/navigation-stack.d.ts.map +1 -1
- package/dist/components/pencilkit/pencil-canvas.stories.d.ts.map +1 -1
- package/dist/components/pencilkit/pencil-toolbar.d.ts +7 -5
- package/dist/components/pencilkit/pencil-toolbar.d.ts.map +1 -1
- package/dist/components/pencilkit/pencil-toolbar.stories.d.ts.map +1 -1
- package/dist/components/progress-ring.d.ts +34 -15
- package/dist/components/progress-ring.d.ts.map +1 -1
- package/dist/components/segmented.d.ts +1 -1
- package/dist/components/segmented.d.ts.map +1 -1
- package/dist/components/side-drawer.d.ts +6 -1
- package/dist/components/side-drawer.d.ts.map +1 -1
- package/dist/components/sidebar.d.ts.map +1 -1
- package/dist/components/slider.d.ts +9 -3
- package/dist/components/slider.d.ts.map +1 -1
- package/dist/components/split-view.d.ts +34 -5
- package/dist/components/split-view.d.ts.map +1 -1
- package/dist/components/split-view.stories.d.ts +7 -0
- package/dist/components/split-view.stories.d.ts.map +1 -1
- package/dist/components/switch.d.ts +1 -1
- package/dist/components/switch.d.ts.map +1 -1
- package/dist/components/tab-view.d.ts +7 -6
- package/dist/components/tab-view.d.ts.map +1 -1
- package/dist/components/tab-view.stories.d.ts +9 -0
- package/dist/components/tab-view.stories.d.ts.map +1 -1
- package/dist/components/toast.d.ts +8 -0
- package/dist/components/toast.d.ts.map +1 -1
- package/dist/components/workbench/chat.d.ts +2 -2
- package/dist/components/workbench/chat.d.ts.map +1 -1
- package/dist/components/workbench/composer.d.ts +8 -8
- package/dist/components/workbench/composer.d.ts.map +1 -1
- package/dist/components/workbench/fixtures.d.ts.map +1 -1
- package/dist/components/workbench/markdown.d.ts.map +1 -1
- package/dist/components/workbench/message-scroller.stories.d.ts.map +1 -1
- package/dist/components/workbench/model-picker.d.ts.map +1 -1
- package/dist/components/workbench/snap-sheet.d.ts +3 -2
- package/dist/components/workbench/snap-sheet.d.ts.map +1 -1
- package/dist/components/workbench/snap-sheet.stories.d.ts.map +1 -1
- package/dist/components/workbench/surfaces.d.ts +2 -2
- package/dist/components/workbench/surfaces.d.ts.map +1 -1
- package/dist/components/workbench/terminal.d.ts +10 -2
- package/dist/components/workbench/terminal.d.ts.map +1 -1
- package/dist/components/workbench/terminal.stories.d.ts.map +1 -1
- package/dist/components/workbench/wb-popover.d.ts +2 -4
- package/dist/components/workbench/wb-popover.d.ts.map +1 -1
- package/dist/demos/delivery/delivery-tracking-demo.d.ts.map +1 -1
- package/dist/demos/haptics-playground.d.ts.map +1 -1
- package/dist/demos/map-chat/map-chat-demo.d.ts.map +1 -1
- package/dist/demos/map-chat/tile-map.d.ts +36 -0
- package/dist/demos/map-chat/tile-map.d.ts.map +1 -1
- package/dist/demos/pencilkit/pencilkit-demo.d.ts +2 -0
- package/dist/demos/pencilkit/pencilkit-demo.d.ts.map +1 -1
- package/dist/demos/sidebar-demo.d.ts +0 -3
- package/dist/demos/sidebar-demo.d.ts.map +1 -1
- package/dist/demos/split-view-demos.d.ts.map +1 -1
- package/dist/index.css +1 -1
- package/dist/index.d.ts +24 -44
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +8610 -8452
- package/dist/lib/chat/chat-shell-context.d.ts +2 -1
- package/dist/lib/chat/chat-shell-context.d.ts.map +1 -1
- package/dist/lib/icon-shapes/chat.d.ts +32 -0
- package/dist/lib/icon-shapes/chat.d.ts.map +1 -0
- package/dist/lib/icon-shapes/pencilkit.d.ts +49 -0
- package/dist/lib/icon-shapes/pencilkit.d.ts.map +1 -0
- package/dist/lib/icon-shapes/workbench.d.ts +199 -0
- package/dist/lib/icon-shapes/workbench.d.ts.map +1 -0
- package/dist/lib/icon.d.ts +352 -1
- package/dist/lib/icon.d.ts.map +1 -1
- package/dist/lib/pencilkit/constants.d.ts +8 -8
- package/dist/lib/pencilkit/constants.d.ts.map +1 -1
- package/dist/lib/primitives.d.ts +1 -1
- package/dist/lib/primitives.d.ts.map +1 -1
- package/dist/lib/row-label.d.ts +9 -0
- package/dist/lib/row-label.d.ts.map +1 -0
- package/dist/lib/sheet-drag.d.ts +22 -7
- package/dist/lib/sheet-drag.d.ts.map +1 -1
- package/dist/lib/theme.d.ts +36 -5
- package/dist/lib/theme.d.ts.map +1 -1
- package/dist/lib/workbench/icons.d.ts +5 -15
- package/dist/lib/workbench/icons.d.ts.map +1 -1
- package/dist/lib/workbench/motion.d.ts +0 -64
- package/dist/lib/workbench/motion.d.ts.map +1 -1
- package/dist/lib/workbench/theme.d.ts +2 -3
- package/dist/lib/workbench/theme.d.ts.map +1 -1
- package/dist/lib/workbench/util.d.ts +5 -3
- package/dist/lib/workbench/util.d.ts.map +1 -1
- package/dist/templates/artifact-chat-container.d.ts +6 -1
- package/dist/templates/artifact-chat-container.d.ts.map +1 -1
- package/dist/templates/artifact-chat-container.stories.d.ts.map +1 -1
- package/dist/templates/chat-shell.d.ts +6 -5
- package/dist/templates/chat-shell.d.ts.map +1 -1
- package/dist/templates/workbench-shell.d.ts +7 -7
- package/dist/templates/workbench-shell.d.ts.map +1 -1
- package/dist/templates/workbench-shell.stories.d.ts.map +1 -1
- package/dist/theme.css +325 -0
- package/package.json +5 -1
- package/dist/components/chat/channel-list.d.ts +0 -35
- package/dist/components/chat/channel-list.d.ts.map +0 -1
- package/dist/components/chat/channel-list.stories.d.ts +0 -13
- package/dist/components/chat/channel-list.stories.d.ts.map +0 -1
- package/dist/components/chat/chat-avatar.d.ts +0 -13
- package/dist/components/chat/chat-avatar.d.ts.map +0 -1
- package/dist/components/chat/chat-avatar.stories.d.ts +0 -9
- package/dist/components/chat/chat-avatar.stories.d.ts.map +0 -1
- package/dist/components/chat/chat-composer.d.ts +0 -22
- package/dist/components/chat/chat-composer.d.ts.map +0 -1
- package/dist/components/chat/chat-composer.stories.d.ts +0 -16
- package/dist/components/chat/chat-composer.stories.d.ts.map +0 -1
- package/dist/components/chat/chat.fixtures.d.ts +0 -29
- package/dist/components/chat/chat.fixtures.d.ts.map +0 -1
- package/dist/components/chat/member-list.d.ts +0 -21
- package/dist/components/chat/member-list.d.ts.map +0 -1
- package/dist/components/chat/message-list.d.ts +0 -34
- package/dist/components/chat/message-list.d.ts.map +0 -1
- package/dist/components/chat/message.d.ts +0 -47
- package/dist/components/chat/message.d.ts.map +0 -1
- package/dist/components/chat/message.stories.d.ts +0 -30
- package/dist/components/chat/message.stories.d.ts.map +0 -1
- package/dist/components/chat/rich-text.d.ts +0 -8
- package/dist/components/chat/rich-text.d.ts.map +0 -1
- package/dist/components/chat/rich-text.stories.d.ts +0 -9
- package/dist/components/chat/rich-text.stories.d.ts.map +0 -1
- package/dist/components/chat/server-header.d.ts +0 -10
- package/dist/components/chat/server-header.d.ts.map +0 -1
- package/dist/components/chat/thread-preview.d.ts +0 -25
- package/dist/components/chat/thread-preview.d.ts.map +0 -1
- package/dist/components/chat/thread-preview.stories.d.ts +0 -18
- package/dist/components/chat/thread-preview.stories.d.ts.map +0 -1
- package/dist/components/chat/user-panel.d.ts +0 -16
- package/dist/components/chat/user-panel.d.ts.map +0 -1
- package/dist/components/chat/workspace-rail.d.ts +0 -56
- package/dist/components/chat/workspace-rail.d.ts.map +0 -1
- package/dist/components/chat/workspace-rail.stories.d.ts +0 -12
- package/dist/components/chat/workspace-rail.stories.d.ts.map +0 -1
- package/dist/components/pencilkit/pk-icon.d.ts +0 -8
- package/dist/components/pencilkit/pk-icon.d.ts.map +0 -1
- package/dist/components/pill-button.d.ts +0 -11
- package/dist/components/pill-button.d.ts.map +0 -1
- package/dist/components/pill-button.stories.d.ts +0 -9
- package/dist/components/pill-button.stories.d.ts.map +0 -1
- package/dist/components/workbench/thread-sidebar.d.ts +0 -100
- package/dist/components/workbench/thread-sidebar.d.ts.map +0 -1
- package/dist/components/workbench/thread-sidebar.stories.d.ts +0 -9
- package/dist/components/workbench/thread-sidebar.stories.d.ts.map +0 -1
- package/dist/lib/chat/chat-icon.d.ts +0 -24
- package/dist/lib/chat/chat-icon.d.ts.map +0 -1
- package/dist/lib/chat/chat-tokens.d.ts +0 -72
- package/dist/lib/chat/chat-tokens.d.ts.map +0 -1
- package/dist/lib/chat/chat-users.d.ts +0 -18
- package/dist/lib/chat/chat-users.d.ts.map +0 -1
- package/dist/lib/chat/kvib.d.ts +0 -3
- package/dist/lib/chat/kvib.d.ts.map +0 -1
- package/dist/lib/chat/title-ref.d.ts +0 -3
- package/dist/lib/chat/title-ref.d.ts.map +0 -1
- package/dist/templates/chat-shell.stories.d.ts +0 -22
- package/dist/templates/chat-shell.stories.d.ts.map +0 -1
package/dist/lib/theme.d.ts
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import { CSSProperties, ReactNode } from 'react';
|
|
1
|
+
import { CSSProperties, HTMLAttributes, ReactNode } from 'react';
|
|
2
2
|
export declare const chromeStore: {
|
|
3
3
|
hidden: boolean;
|
|
4
4
|
subs: Set<(v: boolean) => void>;
|
|
@@ -14,12 +14,43 @@ export declare function AppearanceProvider({ value, children }: {
|
|
|
14
14
|
value: Appearance | undefined;
|
|
15
15
|
children?: ReactNode;
|
|
16
16
|
}): import("react/jsx-runtime").JSX.Element;
|
|
17
|
-
export declare
|
|
18
|
-
export
|
|
19
|
-
|
|
17
|
+
export declare function useAppearance(): Appearance | undefined;
|
|
18
|
+
export type ThemeScopeName = 'workbench' | 'chat' | 'terminal' | 'sheet' | 'glass';
|
|
19
|
+
/** Root classes for an appearance: shadcn's `dark` (or `light`) plus the matching color-scheme. */
|
|
20
|
+
export declare const themeScopeClass: (appearance: Appearance | undefined) => "" | "dark scheme-dark" | "light scheme-light";
|
|
21
|
+
/** --primary / --ring for a tint (nothing when no tint is given, so the theme's primary applies). */
|
|
22
|
+
export declare const tintVars: (tint?: string) => CSSProperties;
|
|
23
|
+
/** The props a scope root carries: `data-theme-scope`, the appearance class and the tint. */
|
|
24
|
+
export declare function themeScopeProps({ scope, appearance, tint }: {
|
|
25
|
+
scope?: ThemeScopeName;
|
|
26
|
+
appearance?: Appearance;
|
|
27
|
+
tint?: string;
|
|
28
|
+
}): {
|
|
29
|
+
'data-theme-scope': ThemeScopeName | undefined;
|
|
30
|
+
className: string;
|
|
31
|
+
style: CSSProperties;
|
|
32
|
+
};
|
|
33
|
+
/** The theme variables a portalled overlay copies from the element that opened it, so it keeps that surface's
|
|
34
|
+
palette wherever it renders. */
|
|
35
|
+
export declare const THEME_VARS: readonly ["background", "foreground", "card", "card-foreground", "popover", "popover-foreground", "primary", "primary-foreground", "secondary", "secondary-foreground", "muted", "muted-foreground", "accent", "accent-foreground", "destructive", "border", "input", "ring", "success", "warning", "tertiary-foreground", "secondary-strong", "overlay", "bar", "sticky", "handle", "link", "code", "code-foreground"];
|
|
36
|
+
/** The resolved theme variables (and color-scheme) at an element, as a style object. */
|
|
37
|
+
export declare function readThemeVars(el: Element | null | undefined): CSSProperties;
|
|
38
|
+
export interface ThemeScopeProps extends HTMLAttributes<HTMLDivElement> {
|
|
39
|
+
/** The surface palette the bl-theme defines: `workbench`, `chat`, `terminal`, `sheet` (a floating chat surface's tone) or `glass` (the Composer floating over content). Omit for the plain theme. */
|
|
40
|
+
scope?: ThemeScopeName;
|
|
41
|
+
/** Defaults to the ambient `AppearanceProvider` value; without one a plain scope inherits the page's `.dark` / light,
|
|
42
|
+
a surface scope is light (the terminal scope is always dark). */
|
|
43
|
+
appearance?: Appearance;
|
|
44
|
+
/** Accent for the subtree (--primary / --ring). */
|
|
45
|
+
tint?: string;
|
|
46
|
+
}
|
|
47
|
+
/** A subtree with its own appearance, accent and (optionally) surface palette. */
|
|
48
|
+
export declare function ThemeScope({ scope, appearance: appearanceProp, tint, className, style, ...props }: ThemeScopeProps): import("react/jsx-runtime").JSX.Element;
|
|
20
49
|
export interface BLProviderProps {
|
|
21
|
-
/** Defaults to the ambient `AppearanceProvider` value
|
|
50
|
+
/** Defaults to the ambient `AppearanceProvider` value; without one the provider inherits the page's appearance
|
|
51
|
+
(shadcn's `.dark` on an ancestor, else light). */
|
|
22
52
|
dark?: boolean;
|
|
53
|
+
/** Accent for everything below: sets --primary and --ring. Defaults to the theme's primary. */
|
|
23
54
|
tint?: string;
|
|
24
55
|
/** Dynamic Island floor. `true` → 59px, a number → that many px. */
|
|
25
56
|
safeTop?: boolean | number;
|
package/dist/lib/theme.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/lib/theme.tsx"],"names":[],"mappings":"AAAA,OAAO,
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../src/lib/theme.tsx"],"names":[],"mappings":"AAAA,OAA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AAI,GAAG,SAAS,GAAG,aAAa,CAU3E;AAED,MAAM,WAAW,eAAgB,SAAQ,cAAc,CAAC,cAAc,CAAC;IACrE,qMAAqM;IACrM,KAAK,CAAC,EAAE,cAAc,CAAC;IACvB;wEACoE;IACpE,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,mDAAmD;IACnD,IAAI,CAAC,EAAE,MAAM,CAAC;CACf;AAED,kFAAkF;AAClF,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,UAAU,EAAE,cAAc,EAAE,IAAI,EAAE,SAAS,EAAE,KAAK,EAAE,GAAG,KAAK,EAAE,EAAE,eAAe,2CAalH;AAED,MAAM,WAAW,eAAe;IAC9B;yDACqD;IACrD,IAAI,CAAC,EAAE,OAAO,CAAC;IACf,+FAA+F;IAC/F,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,oEAAoE;IACpE,OAAO,CAAC,EAAE,OAAO,GAAG,MAAM,CAAC;IAC3B,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAED,wBAAgB,UAAU,CAAC,EAAE,IAAI,EAAE,QAAQ,EAAE,IAAI,EAAE,OAAO,EAAE,QAAQ,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,eAAe,2CA+BxG"}
|
|
@@ -1,29 +1,19 @@
|
|
|
1
|
+
import { IconName } from '../icon';
|
|
1
2
|
import * as React from 'react';
|
|
2
|
-
|
|
3
|
-
d: string;
|
|
4
|
-
}[]>;
|
|
5
|
-
export type WIconName = keyof typeof WIC | (string & {});
|
|
6
|
-
export interface WIconProps {
|
|
7
|
-
name: WIconName;
|
|
8
|
-
size?: number;
|
|
9
|
-
sw?: number;
|
|
10
|
-
className?: string;
|
|
11
|
-
style?: React.CSSProperties;
|
|
12
|
-
}
|
|
13
|
-
export declare function WIcon({ name, size, sw, className, style }: WIconProps): import("react/jsx-runtime").JSX.Element;
|
|
14
|
-
/** Square icon button: transparent until hovered (`wb-hl`), filled while `active`. */
|
|
3
|
+
/** Square icon button: transparent until hovered, filled while `active`. */
|
|
15
4
|
export declare const iconBtnVariants: (props?: ({
|
|
16
5
|
active?: boolean | null | undefined;
|
|
17
6
|
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
18
7
|
export interface IconBtnProps {
|
|
19
|
-
name
|
|
8
|
+
/** An `Icon` name. */
|
|
9
|
+
name: IconName | (string & {});
|
|
20
10
|
label: string;
|
|
21
11
|
onPress?: () => void;
|
|
12
|
+
/** Glyph size in px. Default 18. */
|
|
22
13
|
size?: number;
|
|
23
14
|
active?: boolean;
|
|
24
15
|
className?: string;
|
|
25
16
|
style?: React.CSSProperties;
|
|
26
17
|
}
|
|
27
18
|
export declare function IconBtn({ name, label, onPress, size, active, className, style }: IconBtnProps): import("react/jsx-runtime").JSX.Element;
|
|
28
|
-
export {};
|
|
29
19
|
//# sourceMappingURL=icons.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/lib/workbench/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../../src/lib/workbench/icons.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAI/B,OAAO,EAAQ,KAAK,QAAQ,EAAE,MAAM,SAAS,CAAC;AAE9C,4EAA4E;AAC5E,eAAO,MAAM,eAAe;;8EAQ1B,CAAC;AAEH,MAAM,WAAW,YAAY;IAC3B,sBAAsB;IACtB,IAAI,EAAE,QAAQ,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;IAC/B,KAAK,EAAE,MAAM,CAAC;IACd,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,oCAAoC;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,MAAM,CAAC,EAAE,OAAO,CAAC;IACjB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,KAAK,CAAC,aAAa,CAAC;CAC7B;AACD,wBAAgB,OAAO,CAAC,EAAE,IAAI,EAAE,KAAK,EAAE,OAAO,EAAE,IAAI,EAAE,MAAM,EAAE,SAAS,EAAE,KAAK,EAAE,EAAE,YAAY,2CAa7F"}
|
|
@@ -1,6 +1,4 @@
|
|
|
1
|
-
import { PointerEvent as ReactPointerEvent } from 'react';
|
|
2
1
|
import { springs, SpringName } from '../motion';
|
|
3
|
-
import * as React from 'react';
|
|
4
2
|
export { springs, type SpringName };
|
|
5
3
|
/** Whether the user asked for reduced motion (checked when an animation starts, so it follows the setting live). */
|
|
6
4
|
export declare function prefersReducedMotion(): boolean;
|
|
@@ -18,66 +16,4 @@ export declare function flipPlay(snapshot: FlipSnapshot, { spring, relativeTo, f
|
|
|
18
16
|
fade?: boolean;
|
|
19
17
|
lift?: boolean;
|
|
20
18
|
}): void;
|
|
21
|
-
export declare const SHEET_TAP_SLOP = 4;
|
|
22
|
-
export declare const SHEET_MINIMIZE_TRAVEL = 96;
|
|
23
|
-
export interface SpringSheetDragOptions {
|
|
24
|
-
open: boolean;
|
|
25
|
-
onOpenChange: (open: boolean) => void;
|
|
26
|
-
/** Body height visible at rest. */
|
|
27
|
-
peek: number;
|
|
28
|
-
/** Body height when fully open. */
|
|
29
|
-
maxReveal: number;
|
|
30
|
-
/** Extra resting heights between `peek` and `maxReveal` (px of body). */
|
|
31
|
-
detents?: number[];
|
|
32
|
-
/** Allow dragging below the resting height to fold into a FAB. */
|
|
33
|
-
minimizable?: boolean;
|
|
34
|
-
minimized?: boolean;
|
|
35
|
-
onMinimizedChange?: (minimized: boolean) => void;
|
|
36
|
-
/** Spring the body settles with (default `tray`). */
|
|
37
|
-
spring?: SpringName;
|
|
38
|
-
}
|
|
39
|
-
export interface SpringSheetDragState {
|
|
40
|
-
/** The body height to draw this frame (follows the finger, then springs to rest). */
|
|
41
|
-
reveal: number;
|
|
42
|
-
/** 0–1 fold towards the FAB to draw this frame. */
|
|
43
|
-
minimize: number;
|
|
44
|
-
/** A finger is on the handle. */
|
|
45
|
-
dragging: boolean;
|
|
46
|
-
/** The spring is carrying the body to rest after a release or a state change. */
|
|
47
|
-
settling: boolean;
|
|
48
|
-
/** The middle detent the sheet rests at (px), or null at peek/open. */
|
|
49
|
-
detent: number | null;
|
|
50
|
-
/** Spread on the handle element. */
|
|
51
|
-
handlers: {
|
|
52
|
-
onPointerDown: (event: ReactPointerEvent<HTMLElement>) => void;
|
|
53
|
-
onPointerMove: (event: ReactPointerEvent<HTMLElement>) => void;
|
|
54
|
-
onPointerUp: (event: ReactPointerEvent<HTMLElement>) => void;
|
|
55
|
-
onPointerCancel: () => void;
|
|
56
|
-
onLostPointerCapture: () => void;
|
|
57
|
-
};
|
|
58
|
-
/** A tap on the handle: toggles open (ignored right after a drag). */
|
|
59
|
-
toggle: () => void;
|
|
60
|
-
}
|
|
61
|
-
/**
|
|
62
|
-
* The grow / snap / fold gesture behind FloatingSheet's cap and Composer's draggable bump. The body follows
|
|
63
|
-
* the pointer one-to-one (rubber-banding past its ends); on release the pointer's velocity is projected
|
|
64
|
-
* forward to pick a stop (peek, a detent, open, or the FAB) and a spring carries the body there *from that
|
|
65
|
-
* velocity*, so a flick keeps its momentum. Grabbing mid-flight catches the body where it is. State changes
|
|
66
|
-
* from outside (a tap, Escape, `peek` changing) spring too. Snaps tick.
|
|
67
|
-
*/
|
|
68
|
-
export declare function useSpringSheetDrag({ open, onOpenChange, peek, maxReveal, detents, minimizable, minimized, onMinimizedChange, spring, }: SpringSheetDragOptions): SpringSheetDragState;
|
|
69
|
-
export interface MorphTextProps {
|
|
70
|
-
children: string;
|
|
71
|
-
className?: string;
|
|
72
|
-
}
|
|
73
|
-
/**
|
|
74
|
-
* Text that morphs rather than swaps: letters both labels share slide to their new places, the rest fade
|
|
75
|
-
* and blur in/out (Continue → Confirm). Keep it to short labels — pills, buttons, statuses.
|
|
76
|
-
*/
|
|
77
|
-
export declare function MorphText({ children, className }: MorphTextProps): import("react/jsx-runtime").JSX.Element;
|
|
78
|
-
export interface AutoHeightProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
79
|
-
spring?: SpringName;
|
|
80
|
-
}
|
|
81
|
-
/** A box whose height springs to fit its content whenever the content changes size. */
|
|
82
|
-
export declare function AutoHeight({ spring, className, style, children, ...props }: AutoHeightProps): import("react/jsx-runtime").JSX.Element;
|
|
83
19
|
//# sourceMappingURL=motion.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"motion.d.ts","sourceRoot":"","sources":["../../../src/lib/workbench/motion.tsx"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"motion.d.ts","sourceRoot":"","sources":["../../../src/lib/workbench/motion.tsx"],"names":[],"mappings":"AACA,OAAO,EAAE,OAAO,EAAE,KAAK,UAAU,EAAE,MAAM,WAAW,CAAC;AAQrD,OAAO,EAAE,OAAO,EAAE,KAAK,UAAU,EAAE,CAAC;AAEpC,oHAAoH;AACpH,wBAAgB,oBAAoB,IAAI,OAAO,CAE9C;AAGD,MAAM,MAAM,YAAY,GAAG,GAAG,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;AAEjD,kEAAkE;AAClE,wBAAgB,YAAY,CAAC,QAAQ,EAAE,QAAQ,CAAC,OAAO,CAAC,GAAG,YAAY,CAItE;AAED;;;;GAIG;AACH,wBAAgB,QAAQ,CACtB,QAAQ,EAAE,YAAY,EACtB,EACE,MAAiB,EACjB,UAAU,EACV,IAAY,EACZ,IAAY,GACb,GAAE;IAAE,MAAM,CAAC,EAAE,UAAU,CAAC;IAAC,UAAU,CAAC,EAAE,CAAC,OAAO,EAAE,OAAO,CAAC,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAC;IAAC,IAAI,CAAC,EAAE,OAAO,CAAA;CAAO,QA2BjG"}
|
|
@@ -1,16 +1,15 @@
|
|
|
1
1
|
import { Appearance } from '../theme';
|
|
2
2
|
import * as React from 'react';
|
|
3
|
-
export declare function workbenchVars(tint?: string, appearance?: Appearance): React.CSSProperties;
|
|
4
|
-
/** Root classes for an appearance: `wb-dark`/`wb-light` key the package CSS, plus the matching color-scheme. */
|
|
5
|
-
export declare const workbenchAppearanceClass: (appearance: Appearance) => "wb-light scheme-light" | "wb-dark scheme-dark";
|
|
6
3
|
export declare const WorkbenchAppearanceProvider: React.Provider<Appearance | undefined>;
|
|
7
4
|
/** The explicit prop, else the ambient `AppearanceProvider`, else Workbench's dark default. */
|
|
8
5
|
export declare function useWorkbenchAppearance(explicit?: Appearance): Appearance;
|
|
9
6
|
export interface WorkbenchThemeProps extends React.HTMLAttributes<HTMLDivElement> {
|
|
7
|
+
/** Accent (--primary / --ring). Defaults to the theme's primary. */
|
|
10
8
|
tint?: string;
|
|
11
9
|
/** Defaults to the ambient `AppearanceProvider` value, else dark. */
|
|
12
10
|
appearance?: Appearance;
|
|
13
11
|
children?: React.ReactNode;
|
|
14
12
|
}
|
|
13
|
+
/** A `workbench` theme scope with the Workbench's base styling — for Workbench parts used outside WorkbenchShell. */
|
|
15
14
|
export declare function WorkbenchTheme({ tint, appearance: appearanceProp, className, style, children, ...rest }: WorkbenchThemeProps): import("react/jsx-runtime").JSX.Element;
|
|
16
15
|
//# sourceMappingURL=theme.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/lib/workbench/theme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,
|
|
1
|
+
{"version":3,"file":"theme.d.ts","sourceRoot":"","sources":["../../../src/lib/workbench/theme.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAC/B,OAAO,EAAkC,KAAK,UAAU,EAAE,MAAM,UAAU,CAAC;AAW3E,eAAO,MAAM,2BAA2B,wCAAsC,CAAC;AAE/E,+FAA+F;AAC/F,wBAAgB,sBAAsB,CAAC,QAAQ,CAAC,EAAE,UAAU,GAAG,UAAU,CAIxE;AAED,MAAM,WAAW,mBAAoB,SAAQ,KAAK,CAAC,cAAc,CAAC,cAAc,CAAC;IAC/E,oEAAoE;IACpE,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,qEAAqE;IACrE,UAAU,CAAC,EAAE,UAAU,CAAC;IACxB,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAC;CAC5B;AACD,qHAAqH;AACrH,wBAAgB,cAAc,CAAC,EAAE,IAAI,EAAE,UAAU,EAAE,cAAc,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,GAAG,IAAI,EAAE,EAAE,mBAAmB,2CAc5H"}
|
|
@@ -1,6 +1,8 @@
|
|
|
1
1
|
import { cn } from '../utils';
|
|
2
2
|
export { cn };
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
export declare const
|
|
3
|
+
/** Workbench pressables: no tap flash, the host font, and a brightness nudge on hover (dimmer on light surfaces,
|
|
4
|
+
brighter on dark ones — the terminal scope is dark in both appearances). */
|
|
5
|
+
export declare const wbPress = "[-webkit-tap-highlight-color:transparent] [font-family:inherit] hover:brightness-[.97] dark:hover:brightness-[1.12]";
|
|
6
|
+
/** The Workbench brand tile: the accent into iOS indigo (#5E5CE6, a fixed brand color). */
|
|
7
|
+
export declare const wbBrandTile = "bg-[linear-gradient(135deg,var(--primary),#5E5CE6)]";
|
|
6
8
|
//# sourceMappingURL=util.d.ts.map
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/lib/workbench/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAE9B,OAAO,EAAE,EAAE,EAAE,CAAC;AAEd,eAAO,MAAM,
|
|
1
|
+
{"version":3,"file":"util.d.ts","sourceRoot":"","sources":["../../../src/lib/workbench/util.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,EAAE,EAAE,MAAM,UAAU,CAAC;AAE9B,OAAO,EAAE,EAAE,EAAE,CAAC;AAEd;+EAC+E;AAC/E,eAAO,MAAM,OAAO,wHACmG,CAAC;AAExH,2FAA2F;AAC3F,eAAO,MAAM,WAAW,wDAAwD,CAAC"}
|
|
@@ -14,6 +14,11 @@ export interface ArtifactChatContainerContextValue {
|
|
|
14
14
|
}
|
|
15
15
|
export declare function useArtifactChatContainer(): ArtifactChatContainerContextValue;
|
|
16
16
|
export type ArtifactChatContainerSlotChildren = ReactNode;
|
|
17
|
+
/** The container: the chat column beside the content (`split`), or the content full-bleed under a floating chat.
|
|
18
|
+
ck-artifact-chat stays as a hook for hosts. */
|
|
19
|
+
export declare const artifactChatContainerVariants: (props?: ({
|
|
20
|
+
layout?: "split" | "floating" | null | undefined;
|
|
21
|
+
} & import('class-variance-authority/types').ClassProp) | undefined) => string;
|
|
17
22
|
export type ArtifactChatFabPosition = FloatingChatFabPosition;
|
|
18
23
|
export interface ArtifactChatContainerProps {
|
|
19
24
|
/**
|
|
@@ -52,7 +57,7 @@ export interface ArtifactChatContainerProps {
|
|
|
52
57
|
className?: string;
|
|
53
58
|
style?: CSSProperties;
|
|
54
59
|
}
|
|
55
|
-
export declare function ArtifactChatContainer({ layout: requestedLayout, breakpoint, chatWidth, chatOpen: controlledChatOpen, defaultChatOpen, onChatOpenChange, working, workingLabel, onAdd, hideOnScroll, fabPosition, peek, appearance, tone, children, className, style, }: ArtifactChatContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
60
|
+
export declare function ArtifactChatContainer({ layout: requestedLayout, breakpoint, chatWidth, chatOpen: controlledChatOpen, defaultChatOpen, onChatOpenChange, working, workingLabel, onAdd, hideOnScroll, fabPosition, peek, appearance, tone: toneProp, children, className, style, }: ArtifactChatContainerProps): import("react/jsx-runtime").JSX.Element;
|
|
56
61
|
export declare namespace ArtifactChatContainer {
|
|
57
62
|
var Chat: import("..").SlotComponent;
|
|
58
63
|
var Composer: import("..").SlotComponent;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifact-chat-container.d.ts","sourceRoot":"","sources":["../../src/templates/artifact-chat-container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,aAAa,EAClB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAQf,OAAO,
|
|
1
|
+
{"version":3,"file":"artifact-chat-container.d.ts","sourceRoot":"","sources":["../../src/templates/artifact-chat-container.tsx"],"names":[],"mappings":"AAAA,OAAO,EAQL,KAAK,aAAa,EAClB,KAAK,SAAS,EACf,MAAM,OAAO,CAAC;AAQf,OAAO,EAAiC,KAAK,uBAAuB,EAAE,KAAK,iBAAiB,EAAE,MAAM,kCAAkC,CAAC;AAKvI,MAAM,MAAM,kBAAkB,GAAG,OAAO,GAAG,UAAU,CAAC;AAEtD,MAAM,WAAW,iCAAiC;IAChD,KAAK,EAAE,MAAM,CAAC;IACd,gFAAgF;IAChF,MAAM,EAAE,kBAAkB,CAAC;IAC3B,+CAA+C;IAC/C,OAAO,EAAE,OAAO,CAAC;IACjB,QAAQ,EAAE,OAAO,CAAC;IAClB,WAAW,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IACrC,SAAS,EAAE,OAAO,CAAC;IACnB,YAAY,EAAE,CAAC,SAAS,EAAE,OAAO,KAAK,IAAI,CAAC;CAC5C;AAID,wBAAgB,wBAAwB,IAAI,iCAAiC,CAM5E;AAED,MAAM,MAAM,iCAAiC,GAAG,SAAS,CAAC;AAK1D;kDACkD;AAClD,eAAO,MAAM,6BAA6B;;8EAWzC,CAAC;AACF,MAAM,MAAM,uBAAuB,GAAG,uBAAuB,CAAC;AAE9D,MAAM,WAAW,0BAA0B;IACzC;;;;OAIG;IACH,MAAM,CAAC,EAAE,MAAM,GAAG,kBAAkB,CAAC;IACrC,8FAA8F;IAC9F,UAAU,CAAC,EAAE,MAAM,CAAC;IACpB,uCAAuC;IACvC,SAAS,CAAC,EAAE,MAAM,GAAG,MAAM,CAAC;IAC5B,0DAA0D;IAC1D,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,gBAAgB,CAAC,EAAE,CAAC,IAAI,EAAE,OAAO,KAAK,IAAI,CAAC;IAC3C,sEAAsE;IACtE,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,gFAAgF;IAChF,KAAK,CAAC,EAAE,MAAM,IAAI,CAAC;IACnB,8DAA8D;IAC9D,YAAY,CAAC,EAAE,OAAO,CAAC;IACvB,6EAA6E;IAC7E,WAAW,CAAC,EAAE,uBAAuB,CAAC;IACtC,iGAAiG;IACjG,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,yEAAyE;IACzE,UAAU,CAAC,EAAE,iBAAiB,CAAC,YAAY,CAAC,CAAC;IAC7C;;;OAGG;IACH,IAAI,CAAC,EAAE,iBAAiB,CAAC,MAAM,CAAC,CAAC;IACjC,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,KAAK,CAAC,EAAE,aAAa,CAAC;CACvB;AAID,wBAAgB,qBAAqB,CAAC,EACpC,MAAM,EAAE,eAAwB,EAChC,UAAgB,EAChB,SAAe,EACf,QAAQ,EAAE,kBAAkB,EAC5B,eAAuB,EACvB,gBAAgB,EAChB,OAAe,EACf,YAAyB,EACzB,KAAK,EACL,YAAmB,EACnB,WAA6B,EAC7B,IAAQ,EACR,UAAU,EACV,IAAI,EAAE,QAAQ,EACd,QAAQ,EACR,SAAS,EACT,KAAK,GACN,EAAE,0BAA0B,2CAqL5B;yBAvMe,qBAAqB"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"artifact-chat-container.stories.d.ts","sourceRoot":"","sources":["../../src/templates/artifact-chat-container.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,eAAe,CAAC;AACvB,OAAO,EAAyB,KAAK,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;
|
|
1
|
+
{"version":3,"file":"artifact-chat-container.stories.d.ts","sourceRoot":"","sources":["../../src/templates/artifact-chat-container.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAG5D,OAAO,eAAe,CAAC;AACvB,OAAO,EAAyB,KAAK,uBAAuB,EAAE,MAAM,2BAA2B,CAAC;AAwBhG,UAAU,SAAS;IACjB,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;IACf,OAAO,CAAC,EAAE,OAAO,CAAC;IAClB,eAAe,CAAC,EAAE,OAAO,CAAC;IAC1B,WAAW,CAAC,EAAE,uBAAuB,CAAC;CACvC;AA8ED,QAAA,MAAM,IAAI,EAAE,IAAI,CAAC,SAAS,CAgBzB,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC,SAAS,CAAC,CAAC;AAEjC,eAAO,MAAM,KAAK,EAAE,KAA8C,CAAC;AACnE,eAAO,MAAM,gBAAgB,EAAE,KAA6C,CAAC;AAC7E,eAAO,MAAM,cAAc,EAAE,KAAoE,CAAC;AAClG,eAAO,MAAM,OAAO,EAAE,KAA4D,CAAC;AAwBnF,eAAO,MAAM,eAAe,EAAE,KAA4C,CAAC;AAC3E,sHAAsH;AACtH,eAAO,MAAM,sBAAsB,EAAE,KAepC,CAAC;AAkEF,eAAO,MAAM,eAAe,EAAE,KAAkI,CAAC;AACjK,eAAO,MAAM,cAAc,EAAE,KAAiI,CAAC;AAC/J,iEAAiE;AACjE,eAAO,MAAM,kBAAkB,EAAE,KAQhC,CAAC"}
|
|
@@ -2,8 +2,8 @@ import { ComponentProps, CSSProperties, ReactNode } from 'react';
|
|
|
2
2
|
import { Button } from 'react-aria-components';
|
|
3
3
|
import { VariantProps } from 'class-variance-authority';
|
|
4
4
|
import { Appearance } from '../lib/theme';
|
|
5
|
-
import { useChatShell, ChatShellContextValue } from '../lib/chat/chat-shell-context';
|
|
6
|
-
export { useChatShell, type ChatShellContextValue };
|
|
5
|
+
import { useChatShell, useOptionalChatShell, ChatShellContextValue } from '../lib/chat/chat-shell-context';
|
|
6
|
+
export { useChatShell, useOptionalChatShell, type ChatShellContextValue };
|
|
7
7
|
export interface ChatShellProps extends Omit<ComponentProps<'div'>, 'ref'> {
|
|
8
8
|
/** container width below which the navigation moves into a drawer */
|
|
9
9
|
breakpoint?: number;
|
|
@@ -14,7 +14,7 @@ export interface ChatShellProps extends Omit<ComponentProps<'div'>, 'ref'> {
|
|
|
14
14
|
onNavOpenChange?: (open: boolean) => void;
|
|
15
15
|
/** Light or dark palette. Defaults to the ambient `AppearanceProvider` value, else dark. */
|
|
16
16
|
appearance?: Appearance;
|
|
17
|
-
/** accent for unread dots, mention pills, own reactions, the send button (
|
|
17
|
+
/** accent for unread dots, mention pills, own reactions, the send button (--primary). Defaults to the theme primary. */
|
|
18
18
|
tint?: string;
|
|
19
19
|
}
|
|
20
20
|
export declare function ChatShell({ breakpoint, defaultNavOpen, navOpen: navOpenProp, onNavOpenChange, appearance: appearanceProp, tint, children, className, style, ...props }: ChatShellProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -24,7 +24,8 @@ export interface ChatShellNavProps {
|
|
|
24
24
|
style?: CSSProperties;
|
|
25
25
|
}
|
|
26
26
|
/** Holds the rail and the sidebar. Wide: a docked column. Compact: a left EdgeDrawer over a scrim, opened by
|
|
27
|
-
* `ChatShellNavTrigger` and closed by the scrim
|
|
27
|
+
* `ChatShellNavTrigger` and closed by the scrim or by anything that calls `useChatShell().setNavOpen(false)` (a close button, picking a
|
|
28
|
+
* channel). */
|
|
28
29
|
export declare function ChatShellNav({ children, className, style }: ChatShellNavProps): import("react/jsx-runtime").JSX.Element;
|
|
29
30
|
export interface ChatShellNavTriggerProps extends Omit<ComponentProps<typeof Button>, 'children'> {
|
|
30
31
|
children?: ReactNode;
|
|
@@ -32,7 +33,7 @@ export interface ChatShellNavTriggerProps extends Omit<ComponentProps<typeof But
|
|
|
32
33
|
/** The hamburger that opens the navigation drawer. Renders nothing while the navigation is docked (or when
|
|
33
34
|
* the shell has no ChatShellNav). */
|
|
34
35
|
export declare function ChatShellNavTrigger({ className, children, onPress, ...props }: ChatShellNavTriggerProps): import("react/jsx-runtime").JSX.Element | null;
|
|
35
|
-
/** The channel column: a 222px surface
|
|
36
|
+
/** The channel column: a 222px sidebar surface (a header, the channel list, the signed-in user). */
|
|
36
37
|
export declare function ChatShellSidebar({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
37
38
|
/** The conversation column: header, transcript, footer. Takes the remaining width. */
|
|
38
39
|
export declare function ChatShellMain({ className, ...props }: ComponentProps<'div'>): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"chat-shell.d.ts","sourceRoot":"","sources":["../../src/templates/chat-shell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0C,KAAK,cAAc,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACxH,OAAO,EAAE,MAAM,EAAsB,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAO,KAAK,YAAY,EAAE,MAAM,0BAA0B,CAAC;AAKlE,OAAO,
|
|
1
|
+
{"version":3,"file":"chat-shell.d.ts","sourceRoot":"","sources":["../../src/templates/chat-shell.tsx"],"names":[],"mappings":"AAAA,OAAO,EAA0C,KAAK,cAAc,EAAE,KAAK,aAAa,EAAE,KAAK,SAAS,EAAE,MAAM,OAAO,CAAC;AACxH,OAAO,EAAE,MAAM,EAAsB,MAAM,uBAAuB,CAAC;AACnE,OAAO,EAAO,KAAK,YAAY,E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}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
import {
|
|
1
|
+
import { IconName } from '../lib/icon';
|
|
2
2
|
import { Appearance } from '../lib/theme';
|
|
3
3
|
import * as React from 'react';
|
|
4
4
|
/** Width class thresholds, measured on the shell's own box. */
|
|
@@ -80,7 +80,7 @@ export declare function WorkbenchHeader({ className, style, children }: {
|
|
|
80
80
|
export interface WorkbenchTitleProps {
|
|
81
81
|
/** crumb before the title, e.g. the project */
|
|
82
82
|
project?: React.ReactNode;
|
|
83
|
-
icon?:
|
|
83
|
+
icon?: IconName | (string & {});
|
|
84
84
|
children?: React.ReactNode;
|
|
85
85
|
className?: string;
|
|
86
86
|
}
|
|
@@ -92,7 +92,7 @@ export declare function WorkbenchActions({ className, children }: {
|
|
|
92
92
|
}): import("react/jsx-runtime").JSX.Element;
|
|
93
93
|
/** A header icon button that thumps like the rest of the chrome. */
|
|
94
94
|
export declare function WorkbenchAction({ icon, label, onPress, active, className }: {
|
|
95
|
-
icon:
|
|
95
|
+
icon: IconName | (string & {});
|
|
96
96
|
label: string;
|
|
97
97
|
onPress?: () => void;
|
|
98
98
|
active?: boolean;
|
|
@@ -117,7 +117,7 @@ export declare function WorkbenchDock({ snaps, minHeight, maxHeight, className,
|
|
|
117
117
|
export declare function WorkbenchDockTrigger({ onPress, className, style }: TriggerProps): import("react/jsx-runtime").JSX.Element;
|
|
118
118
|
/** Closes the dock (inline or sheet). */
|
|
119
119
|
export declare function WorkbenchDockClose({ icon, label, size, onPress, className }: TriggerProps & {
|
|
120
|
-
icon?:
|
|
120
|
+
icon?: IconName | (string & {});
|
|
121
121
|
label?: string;
|
|
122
122
|
size?: number;
|
|
123
123
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -129,7 +129,7 @@ export interface WorkbenchPanelProps {
|
|
|
129
129
|
/**
|
|
130
130
|
* The right region (an inspector: surfaces, a diff, a preview). A column at regular width, an EdgeDrawer at
|
|
131
131
|
* medium width, and a cover over everything but the tab bar when fullscreen or on the compact panel page.
|
|
132
|
-
* The children render in a `bg-
|
|
132
|
+
* The children render in a `bg-sidebar` column either way, so their state survives every move.
|
|
133
133
|
*/
|
|
134
134
|
export declare function WorkbenchPanel({ className, style, children }: WorkbenchPanelProps): import("react/jsx-runtime").JSX.Element;
|
|
135
135
|
/** Header toggle for the panel; hidden at compact width, where the tab bar switches views. */
|
|
@@ -141,7 +141,7 @@ export declare function WorkbenchPanelHeader({ className, style, children }: {
|
|
|
141
141
|
}): import("react/jsx-runtime").JSX.Element;
|
|
142
142
|
/** Icon + name; fills the header so the controls after it sit at its end. */
|
|
143
143
|
export declare function WorkbenchPanelTitle({ icon, className, children }: {
|
|
144
|
-
icon?:
|
|
144
|
+
icon?: IconName | (string & {});
|
|
145
145
|
className?: string;
|
|
146
146
|
children?: React.ReactNode;
|
|
147
147
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -169,7 +169,7 @@ export interface WorkbenchTabBarProps {
|
|
|
169
169
|
export declare function WorkbenchTabBar({ value, onValueChange, mainTab, className, style, children }: WorkbenchTabBarProps): import("react/jsx-runtime").JSX.Element | null;
|
|
170
170
|
export declare function WorkbenchTab({ id, icon, className, children }: {
|
|
171
171
|
id: string;
|
|
172
|
-
icon:
|
|
172
|
+
icon: IconName | (string & {});
|
|
173
173
|
className?: string;
|
|
174
174
|
children?: React.ReactNode;
|
|
175
175
|
}): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workbench-shell.d.ts","sourceRoot":"","sources":["../../src/templates/workbench-shell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;
|
|
1
|
+
{"version":3,"file":"workbench-shell.d.ts","sourceRoot":"","sources":["../../src/templates/workbench-shell.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,KAAK,MAAM,OAAO,CAAC;AAQ/B,OAAO,EAAQ,KAAK,QAAQ,EAAE,MAAM,aAAa,CAAC;AAElD,O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eAAe,CAAC,EAAE,KAAK,EAAE,aAAa,EAAE,OAAgB,EAAE,SAAS,EAAE,KAAK,EAAE,QAAQ,EAAE,EAAE,oBAAoB,kDAkB3H;AACD,wBAAgB,YAAY,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,SAAS,EAAE,QAAQ,EAAE,EAAE;IAAE,EAAE,EAAE,MAAM,CAAC;IAAC,IAAI,EAAE,QAAQ,GAAG,CAAC,MAAM,GAAG,EAAE,CAAC,CAAC;IAAC,SAAS,CAAC,EAAE,MAAM,CAAC;IAAC,QAAQ,CAAC,EAAE,KAAK,CAAC,SAAS,CAAA;CAAE,2CAqB7J"}
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"workbench-shell.stories.d.ts","sourceRoot":"","sources":["../../src/templates/workbench-shell.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;
|
|
1
|
+
{"version":3,"file":"workbench-shell.stories.d.ts","sourceRoot":"","sources":["../../src/templates/workbench-shell.stories.tsx"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,IAAI,EAAE,QAAQ,EAAE,MAAM,uBAAuB,CAAC;AAwD5D,OAAO,eAAe,CAAC;AAEvB,QAAA,MAAM,IAAI,EAAE,IAGX,CAAC;AACF,eAAe,IAAI,CAAC;AACpB,KAAK,KAAK,GAAG,QAAQ,CAAC;AAuLtB,eAAO,MAAM,OAAO,EAAE,KAAiE,CAAC;AAExF,eAAO,MAAM,iBAAiB,EAAE,KAAkF,CAAC;AAEnH,eAAO,MAAM,kBAAkB,EAAE,KAAgG,CAAC;AAElI,eAAO,MAAM,qBAAqB,EAAE,KAAmF,CAAC;AAExH,eAAO,MAAM,sBAAsB,EAAE,KAA8F,CAAC;AAEpI,eAAO,MAAM,MAAM,EAAE,KAAgE,CAAC;AAEtF,eAAO,MAAM,iBAAiB,EAAE,KAAsF,CAAC;AAEvH,eAAO,MAAM,OAAO,EAAE,KAAgE,CAAC;AAEvF,eAAO,MAAM,gBAAgB,EAAE,KAAyE,CAAC;AAEzG,eAAO,MAAM,kBAAkB,EAAE,KAAuF,CAAC;AAqCzH,eAAO,MAAM,QAAQ,EAAE,KAA0C,CAAC;AAGlE,eAAO,MAAM,iBAAiB,EAAE,KAqC/B,CAAC"}
|