@medalsocial/meda 2.7.2 → 2.8.1
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 +65 -1
- package/dist/auth/auth-message.d.ts +3 -3
- package/dist/auth/auth-provider-button.d.ts +1 -1
- package/dist/auth/auth-provider-list.d.ts +1 -1
- package/dist/auth/better-auth.d.ts +3 -3
- package/dist/brand/medal-social-mark.d.ts +1 -1
- package/dist/calendar/calendar-toolbar.d.ts +1 -1
- package/dist/calendar/calendar.d.ts +1 -1
- package/dist/calendar/day-view.d.ts +1 -1
- package/dist/calendar/internal/day-cell.d.ts +1 -1
- package/dist/calendar/internal/event-pill.d.ts +1 -1
- package/dist/calendar/internal/time-slot.d.ts +1 -1
- package/dist/calendar/month-view.d.ts +1 -1
- package/dist/calendar/week-view.d.ts +1 -1
- package/dist/chat/latency-badge.d.ts +1 -1
- package/dist/chat/latency-breakdown.d.ts +1 -1
- package/dist/chat/tool-call-block.d.ts +1 -1
- package/dist/chat/transcript-stream.d.ts +1 -1
- package/dist/chat/turn-card.d.ts +1 -1
- package/dist/components/ui/checkbox.d.ts +1 -1
- package/dist/components/ui/collapsible.d.ts +3 -3
- package/dist/components/ui/command.d.ts +9 -9
- package/dist/components/ui/dialog.d.ts +10 -10
- package/dist/components/ui/drawer.d.ts +10 -10
- package/dist/components/ui/dropdown-menu.d.ts +15 -15
- package/dist/components/ui/tooltip.d.ts +4 -4
- package/dist/email-builder/block-palette.d.ts +1 -1
- package/dist/email-builder/block-renderer.d.ts +1 -1
- package/dist/email-builder/block-renderers/button.d.ts +1 -1
- package/dist/email-builder/block-renderers/columns.d.ts +1 -1
- package/dist/email-builder/block-renderers/divider.d.ts +1 -1
- package/dist/email-builder/block-renderers/footer.d.ts +1 -1
- package/dist/email-builder/block-renderers/heading.d.ts +1 -1
- package/dist/email-builder/block-renderers/image.d.ts +1 -1
- package/dist/email-builder/block-renderers/social.d.ts +1 -1
- package/dist/email-builder/block-renderers/spacer.d.ts +1 -1
- package/dist/email-builder/block-renderers/text.d.ts +1 -1
- package/dist/email-builder/builder-canvas.d.ts +1 -1
- package/dist/email-builder/builder-header.d.ts +1 -1
- package/dist/email-builder/builder-left-tabs.d.ts +1 -1
- package/dist/email-builder/email-builder.d.ts +1 -1
- package/dist/email-builder/envelope-card.d.ts +1 -1
- package/dist/email-builder/floating-bar.d.ts +1 -1
- package/dist/email-builder/internal/dnd-wrapper.d.ts +1 -1
- package/dist/email-builder/mobile-drawers.d.ts +1 -1
- package/dist/email-builder/mobile-tab-bar.d.ts +1 -1
- package/dist/email-builder/property-editors/_shared.d.ts +8 -8
- package/dist/email-builder/property-editors/button-editor.d.ts +1 -1
- package/dist/email-builder/property-editors/columns-editor.d.ts +1 -1
- package/dist/email-builder/property-editors/divider-editor.d.ts +1 -1
- package/dist/email-builder/property-editors/footer-editor.d.ts +1 -1
- package/dist/email-builder/property-editors/heading-editor.d.ts +1 -1
- package/dist/email-builder/property-editors/image-editor.d.ts +1 -1
- package/dist/email-builder/property-editors/social-editor.d.ts +1 -1
- package/dist/email-builder/property-editors/spacer-editor.d.ts +1 -1
- package/dist/email-builder/property-editors/text-editor.d.ts +1 -1
- package/dist/email-builder/property-inspector.d.ts +1 -1
- package/dist/email-builder/view-controls.d.ts +1 -1
- package/dist/kanban/kanban-board.d.ts +1 -1
- package/dist/kanban/kanban-card-wrapper.d.ts +1 -1
- package/dist/kanban/kanban-column.d.ts +1 -1
- package/dist/list/list-row.d.ts +2 -2
- package/dist/marketing/marketing-announcement-bar.d.ts +1 -1
- package/dist/marketing/marketing-bento-card.d.ts +1 -1
- package/dist/marketing/marketing-bento-grid.d.ts +1 -1
- package/dist/marketing/marketing-callout.d.ts +1 -1
- package/dist/marketing/marketing-contact.d.ts +1 -1
- package/dist/marketing/marketing-cta-list.d.ts +1 -1
- package/dist/marketing/marketing-cta.d.ts +1 -1
- package/dist/marketing/marketing-faq.d.ts +1 -1
- package/dist/marketing/marketing-footer.d.ts +1 -1
- package/dist/marketing/marketing-header-logo.d.ts +1 -1
- package/dist/marketing/marketing-header.d.ts +1 -1
- package/dist/marketing/marketing-hero.d.ts +1 -1
- package/dist/marketing/marketing-lead-magnet.d.ts +1 -1
- package/dist/marketing/marketing-mega-menu.d.ts +1 -1
- package/dist/marketing/marketing-nav-item.d.ts +1 -1
- package/dist/marketing/marketing-numbered-features.d.ts +1 -1
- package/dist/marketing/marketing-shell.d.ts +1 -1
- package/dist/marketing/marketing-trust-bar.d.ts +1 -1
- package/dist/panel/inspector-field.d.ts +1 -1
- package/dist/panel/inspector-json.d.ts +1 -1
- package/dist/panel/inspector.d.ts +1 -1
- package/dist/post-preview/internal/avatar.d.ts +1 -1
- package/dist/post-preview/platforms/bluesky.d.ts +1 -1
- package/dist/post-preview/platforms/discord.d.ts +1 -1
- package/dist/post-preview/platforms/facebook.d.ts +1 -1
- package/dist/post-preview/platforms/generic.d.ts +1 -1
- package/dist/post-preview/platforms/google-business.d.ts +1 -1
- package/dist/post-preview/platforms/instagram.d.ts +1 -1
- package/dist/post-preview/platforms/linkedin.d.ts +1 -1
- package/dist/post-preview/platforms/telegram.d.ts +1 -1
- package/dist/post-preview/platforms/threads.d.ts +1 -1
- package/dist/post-preview/platforms/tiktok.d.ts +1 -1
- package/dist/post-preview/platforms/twitter.d.ts +1 -1
- package/dist/post-preview/platforms/youtube.d.ts +1 -1
- package/dist/primitives/card.d.ts +4 -4
- package/dist/primitives/empty-state.d.ts +1 -1
- package/dist/primitives/filter-rail.d.ts +2 -2
- package/dist/primitives/markdown-view.d.ts +1 -1
- package/dist/primitives/skeleton.d.ts +1 -1
- package/dist/primitives/status-pill.d.ts +1 -1
- package/dist/shell/app-shell-auth.d.ts +1 -1
- package/dist/shell/app-shell-chat.d.ts +1 -1
- package/dist/shell/app-shell-workspace.d.ts +8 -2
- package/dist/shell/app-shell-workspace.js +7 -3
- package/dist/shell/app-shell.d.ts +14 -4
- package/dist/shell/app-shell.js +1 -1
- package/dist/shell/command-palette.d.ts +1 -1
- package/dist/shell/context-rail.d.ts +1 -1
- package/dist/shell/drag-mode-banner.d.ts +1 -1
- package/dist/shell/extras/shell-desktop-panel-dock.d.ts +1 -1
- package/dist/shell/extras/shell-scrollable-content.d.ts +1 -1
- package/dist/shell/extras/shell-tab-bar.d.ts +1 -1
- package/dist/shell/extras/workbench-layout.d.ts +1 -1
- package/dist/shell/icon-rail.d.ts +2 -2
- package/dist/shell/index.d.ts +2 -2
- package/dist/shell/internal/mobile-bottom-nav.d.ts +1 -1
- package/dist/shell/internal/mobile-dock.d.ts +7 -1
- package/dist/shell/internal/mobile-dock.js +26 -11
- package/dist/shell/internal/mobile-drawers.d.ts +1 -1
- package/dist/shell/internal/mobile-header.d.ts +1 -1
- package/dist/shell/internal/mobile-workspace-sheet.d.ts +15 -1
- package/dist/shell/internal/mobile-workspace-sheet.js +70 -3
- package/dist/shell/panel-views-provider.d.ts +1 -1
- package/dist/shell/rail-drop-slot.d.ts +1 -1
- package/dist/shell/rail-drop-zones.d.ts +1 -1
- package/dist/shell/resizable-shell.d.ts +3 -3
- package/dist/shell/right-panel.d.ts +1 -1
- package/dist/shell/shell-header.d.ts +43 -6
- package/dist/shell/shell-header.js +29 -5
- package/dist/shell/shell-main.d.ts +1 -1
- package/dist/shell/shell-provider.d.ts +1 -1
- package/dist/shell/theme-next-themes.d.ts +1 -1
- package/dist/shell/theme.d.ts +2 -2
- package/dist/shell/types.d.ts +38 -0
- package/dist/shell/use-shell-viewport.js +3 -1
- package/dist/timeline/date-switcher.d.ts +1 -1
- package/dist/timeline/event-card.d.ts +1 -1
- package/dist/timeline/lane-timeline.d.ts +1 -1
- package/dist/timeline/lane.d.ts +1 -1
- package/dist/timeline/live-indicator.d.ts +1 -1
- package/dist/timeline/scrub-bar.d.ts +1 -1
- package/dist/timeline/time-axis.d.ts +1 -1
- package/dist/timeline/timeline-rail.d.ts +1 -1
- package/dist/timeline/timeline-tape.d.ts +1 -1
- package/dist/voice/voice-level.d.ts +2 -1
- package/dist/voice/voice-orb-scene.d.ts +2 -1
- package/dist/voice/voice-status-pill.d.ts +1 -1
- package/dist/workflow-builder/edges/default-edge.d.ts +1 -1
- package/dist/workflow-builder/nodes/action-node.d.ts +1 -1
- package/dist/workflow-builder/nodes/base-node.d.ts +1 -1
- package/dist/workflow-builder/nodes/condition-node.d.ts +1 -1
- package/dist/workflow-builder/nodes/delay-node.d.ts +1 -1
- package/dist/workflow-builder/nodes/end-node.d.ts +1 -1
- package/dist/workflow-builder/nodes/trigger-node.d.ts +1 -1
- package/dist/workflow-builder/workflow-builder.d.ts +1 -1
- package/dist/workflow-builder/workflow-canvas.d.ts +1 -1
- package/dist/workflow-builder/workflow-card-compact.d.ts +1 -1
- package/dist/workflow-builder/workflow-card.d.ts +1 -1
- package/dist/workflow-builder/workflow-header.d.ts +1 -1
- package/dist/workflow-builder/workflow-toolbox.d.ts +1 -1
- package/package.json +42 -41
- package/skills/shell/SKILL.md +86 -1
package/README.md
CHANGED
|
@@ -107,6 +107,62 @@ Workspace shells also expose chrome-level composition slots:
|
|
|
107
107
|
</AppShell>
|
|
108
108
|
```
|
|
109
109
|
|
|
110
|
+
### Rail header (`headerLayout="rail"`)
|
|
111
|
+
|
|
112
|
+
By default the desktop header is a `split` grid: the workspace switcher and `headerLeading` share
|
|
113
|
+
the left region, and `headerCenter` owns the middle. Because the switcher is as wide as the
|
|
114
|
+
workspace name, the leading region both moves per workspace and never gets more than about half
|
|
115
|
+
the window. `headerLayout="rail"` swaps in a three-column grid instead — rail column · fill ·
|
|
116
|
+
actions:
|
|
117
|
+
|
|
118
|
+
```tsx
|
|
119
|
+
<AppShell
|
|
120
|
+
variant="workspace"
|
|
121
|
+
headerLayout="rail"
|
|
122
|
+
iconRail={{ mainItems, labelVisibility: 'visible' }}
|
|
123
|
+
headerLeading={<SectionTabs />} // owns the whole fill column
|
|
124
|
+
// Keep the panel views, drop the header's toggle:
|
|
125
|
+
rightPanel={{ panelViews, showToggle: false }}
|
|
126
|
+
globalActions={<NewButton />}
|
|
127
|
+
>
|
|
128
|
+
{children}
|
|
129
|
+
</AppShell>
|
|
130
|
+
```
|
|
131
|
+
|
|
132
|
+
- Column 1 is exactly the icon rail's width (`--shell-rail-label-width` when
|
|
133
|
+
`iconRail.labelVisibility` is `visible`, `--shell-rail-width` otherwise) and holds the workspace
|
|
134
|
+
switcher in its `tile` variant: the mark centred on the rail's axis with the workspace name
|
|
135
|
+
beneath it, in the icon-rail label type. The dropdown is the chip's, unchanged.
|
|
136
|
+
- Column 2 is `headerLeading`, `min-w-0`, and gets every remaining pixel.
|
|
137
|
+
- Column 3 is `globalActions` plus the panel toggle.
|
|
138
|
+
- `headerCenter` is **ignored** in this layout — there is no centre column.
|
|
139
|
+
|
|
140
|
+
The tile is metered to **44px** — a 28px mark, a 2px gap and ONE 14px label line, with no vertical
|
|
141
|
+
padding — and carries `max-h-full` inside an `overflow-hidden` column. So it fits whatever you set
|
|
142
|
+
`--shell-header-height` to, down to 52px (the web app runs 52px under its desktop window-tab
|
|
143
|
+
strip), and can never paint past the header:
|
|
144
|
+
|
|
145
|
+
```css
|
|
146
|
+
/* a tighter header — the tile follows it */
|
|
147
|
+
:root { --shell-header-height: 52px; }
|
|
148
|
+
```
|
|
149
|
+
|
|
150
|
+
Because the label is truncated to one line — and hidden entirely below 700px viewport height, the
|
|
151
|
+
same tier at which every icon-rail label hides — the full workspace name is always recoverable two
|
|
152
|
+
other ways: the tile's tooltip, and its accessible name (`"<workspace> workspace menu"`).
|
|
153
|
+
|
|
154
|
+
Both layouts put `data-meda-shell-header` on the `<header>` (with
|
|
155
|
+
`data-meda-header-layout="split" | "rail"`), so consumer CSS and tests can target the header
|
|
156
|
+
without depending on its structure.
|
|
157
|
+
|
|
158
|
+
### Mobile nav: light by app
|
|
159
|
+
|
|
160
|
+
`mobileNav.activeTo` marks the exact address. Pass `mobileNav.activeId` (the active APP's id) as
|
|
161
|
+
well and the dock lights whenever `item.id === activeId`, so it stays lit on every route inside
|
|
162
|
+
that app rather than only on its first tab; the workspace sheet then opens with that row expanded
|
|
163
|
+
and scrolled into view. `mobileNav.currentFirst` additionally hoists that row to the top of its
|
|
164
|
+
group. Omit `activeId` and both surfaces keep comparing against `activeTo` as before.
|
|
165
|
+
|
|
110
166
|
`workspace.menuItems`, `workspace.menuFooter`, and the theme toggle are available from the mobile Menu drawer. Use `mainLayout`/`mainClassName` when a workspace shell needs the same mobile chrome but a custom main scroll region, such as a full-bleed marketing page. `useCommands()` works from workspace descendants without manually mounting `CommandPalette`; lower-level primitive compositions can still mount `CommandPalette` directly.
|
|
111
167
|
|
|
112
168
|
`ContextRail` is usable for both navigation rails and custom rendered rails. Navigation rails show Meda's label header by default. Custom rendered rails hide the automatic visible header by default so consumers can render their own heading without duplication. Rail bodies scroll vertically by default; use `contextRail={{ header: "visible" }}` or `contextRail={{ scroll: "none" }}` when you need explicit control.
|
|
@@ -216,7 +272,15 @@ not committed to this repository.
|
|
|
216
272
|
|
|
217
273
|
## Release
|
|
218
274
|
|
|
219
|
-
Changesets + GitHub Actions (OIDC trusted publishing). Add a changeset with
|
|
275
|
+
Changesets + GitHub Actions (OIDC trusted publishing). Add a changeset with
|
|
276
|
+
`pnpm changeset` and merge into `dev`; the version bump lands on `dev` by itself, and a
|
|
277
|
+
standing `release: promote dev → prod` pull request is kept open for you. **Approving
|
|
278
|
+
that PR is the release** — it merges itself and publishes to npm with provenance.
|
|
279
|
+
|
|
280
|
+
Need a build before then? Run the `Release` workflow with `mode: snapshot` for a
|
|
281
|
+
throwaway prerelease under its own dist-tag.
|
|
282
|
+
|
|
283
|
+
Full flow, hotfixes and failure handling: [CONTRIBUTING.md → Releasing](./CONTRIBUTING.md#releasing).
|
|
220
284
|
|
|
221
285
|
## License
|
|
222
286
|
|
|
@@ -2,9 +2,9 @@ import type { HTMLAttributes, ReactNode } from 'react';
|
|
|
2
2
|
export interface AuthMessageProps extends HTMLAttributes<HTMLDivElement> {
|
|
3
3
|
children?: ReactNode;
|
|
4
4
|
}
|
|
5
|
-
export declare function AuthError({ children, className, ...props }: AuthMessageProps): import("react
|
|
6
|
-
export declare function AuthNotice({ children, className, ...props }: AuthMessageProps): import("react
|
|
5
|
+
export declare function AuthError({ children, className, ...props }: AuthMessageProps): import("react").JSX.Element | null;
|
|
6
|
+
export declare function AuthNotice({ children, className, ...props }: AuthMessageProps): import("react").JSX.Element | null;
|
|
7
7
|
export interface AuthOneTapSlotProps extends HTMLAttributes<HTMLDivElement> {
|
|
8
8
|
children?: ReactNode;
|
|
9
9
|
}
|
|
10
|
-
export declare function AuthOneTapSlot({ children, className, ...props }: AuthOneTapSlotProps): import("react
|
|
10
|
+
export declare function AuthOneTapSlot({ children, className, ...props }: AuthOneTapSlotProps): import("react").JSX.Element;
|
|
@@ -11,4 +11,4 @@ export interface AuthProviderButtonProps extends Omit<ButtonHTMLAttributes<HTMLB
|
|
|
11
11
|
lastUsedLabel?: ReactNode;
|
|
12
12
|
render?: RenderElement<ButtonHTMLAttributes<HTMLButtonElement>>;
|
|
13
13
|
}
|
|
14
|
-
export declare function AuthProviderButton({ provider, label, icon, loading, loadingLabel, lastUsed, lastUsedLabel, render, disabled, className, type, ...props }: AuthProviderButtonProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react
|
|
14
|
+
export declare function AuthProviderButton({ provider, label, icon, loading, loadingLabel, lastUsed, lastUsedLabel, render, disabled, className, type, ...props }: AuthProviderButtonProps): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import("react").ReactPortal | import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import("react").JSX.Element | null | undefined;
|
|
@@ -3,4 +3,4 @@ export interface AuthProviderListProps extends HTMLAttributes<HTMLUListElement>
|
|
|
3
3
|
children: ReactNode;
|
|
4
4
|
label?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare function AuthProviderList({ children, className, label, ...props }: AuthProviderListProps): import("react
|
|
6
|
+
export declare function AuthProviderList({ children, className, label, ...props }: AuthProviderListProps): import("react").JSX.Element;
|
|
@@ -23,7 +23,7 @@ export interface BetterAuthProviderButtonProps extends Omit<AuthProviderButtonPr
|
|
|
23
23
|
onError?: (error: unknown) => void;
|
|
24
24
|
onSuccess?: (result: unknown) => void;
|
|
25
25
|
}
|
|
26
|
-
export declare function BetterAuthProviderButton({ authClient, provider, callbackURL, errorCallbackURL, onPendingChange, onError, onSuccess, loading, ...props }: BetterAuthProviderButtonProps): import("react
|
|
26
|
+
export declare function BetterAuthProviderButton({ authClient, provider, callbackURL, errorCallbackURL, onPendingChange, onError, onSuccess, loading, ...props }: BetterAuthProviderButtonProps): import("react").JSX.Element;
|
|
27
27
|
export declare function useBetterAuthLastLoginMethod(authClient: BetterAuthClientLike): string | null;
|
|
28
28
|
export interface BetterAuthOneTapProps {
|
|
29
29
|
authClient: BetterAuthClientLike;
|
|
@@ -34,7 +34,7 @@ export interface BetterAuthOneTapProps {
|
|
|
34
34
|
}
|
|
35
35
|
export declare function BetterAuthOneTap({ authClient, enabled, callbackURL, onError, onSuccess, }: BetterAuthOneTapProps): null;
|
|
36
36
|
export declare function createBetterAuthAdapter(authClient: BetterAuthClientLike): {
|
|
37
|
-
BetterAuthProviderButton: (props: Omit<BetterAuthProviderButtonProps, "authClient">) => import("react
|
|
38
|
-
BetterAuthOneTap: (props: Omit<BetterAuthOneTapProps, "authClient">) => import("react
|
|
37
|
+
BetterAuthProviderButton: (props: Omit<BetterAuthProviderButtonProps, "authClient">) => import("react").JSX.Element;
|
|
38
|
+
BetterAuthOneTap: (props: Omit<BetterAuthOneTapProps, "authClient">) => import("react").JSX.Element;
|
|
39
39
|
useBetterAuthLastLoginMethod: () => string | null;
|
|
40
40
|
};
|
|
@@ -4,4 +4,4 @@ export interface MedalSocialMarkProps extends SVGProps<SVGSVGElement> {
|
|
|
4
4
|
backgroundColor?: string;
|
|
5
5
|
markColor?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare function MedalSocialMark({ title, backgroundColor, markColor, role, focusable, 'aria-hidden': ariaHidden, ...props }: MedalSocialMarkProps): import("react
|
|
7
|
+
export declare function MedalSocialMark({ title, backgroundColor, markColor, role, focusable, 'aria-hidden': ariaHidden, ...props }: MedalSocialMarkProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type CalendarToolbarProps } from './types.js';
|
|
2
|
-
export declare function CalendarToolbar({ date, view, onPrev, onNext, onToday, onViewChange, periodLabel, showViewSwitcher, locale, labels: labelOverrides, className, }: CalendarToolbarProps): import("react
|
|
2
|
+
export declare function CalendarToolbar({ date, view, onPrev, onNext, onToday, onViewChange, periodLabel, showViewSwitcher, locale, labels: labelOverrides, className, }: CalendarToolbarProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type CalendarProps } from './types.js';
|
|
2
|
-
export declare function Calendar({ view, date, events, onDateChange, onViewChange, onEventClick, onSlotClick, weekStartsOn, locale, labels: labelOverrides, className, renderEvent, }: CalendarProps): import("react
|
|
2
|
+
export declare function Calendar({ view, date, events, onDateChange, onViewChange, onEventClick, onSlotClick, weekStartsOn, locale, labels: labelOverrides, className, renderEvent, }: CalendarProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type DayViewProps } from './types.js';
|
|
2
|
-
export declare function DayView({ date, events, onEventClick, onSlotClick, locale, labels: labelOverrides, className, renderEvent, }: DayViewProps): import("react
|
|
2
|
+
export declare function DayView({ date, events, onEventClick, onSlotClick, locale, labels: labelOverrides, className, renderEvent, }: DayViewProps): import("react").JSX.Element;
|
|
@@ -10,6 +10,6 @@ interface DayCellProps {
|
|
|
10
10
|
labels: CalendarLabels;
|
|
11
11
|
renderEvent?: (event: CalendarEvent) => ReactNode;
|
|
12
12
|
}
|
|
13
|
-
declare function DayCellBase({ date, currentMonth, events, onCellClick, onEventClick, onMoreClick, labels, renderEvent, }: DayCellProps): import("react
|
|
13
|
+
declare function DayCellBase({ date, currentMonth, events, onCellClick, onEventClick, onMoreClick, labels, renderEvent, }: DayCellProps): import("react").JSX.Element;
|
|
14
14
|
export declare const DayCell: import("react").MemoExoticComponent<typeof DayCellBase>;
|
|
15
15
|
export {};
|
|
@@ -9,5 +9,5 @@ interface EventPillProps {
|
|
|
9
9
|
* Default compact event pill used inside calendar cells/slots when the
|
|
10
10
|
* consumer does not pass a custom `renderEvent` callback.
|
|
11
11
|
*/
|
|
12
|
-
export declare function EventPill({ event, onClick, variant, className }: EventPillProps): import("react
|
|
12
|
+
export declare function EventPill({ event, onClick, variant, className }: EventPillProps): import("react").JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -12,6 +12,6 @@ interface TimeSlotProps {
|
|
|
12
12
|
renderEvent?: (event: CalendarEvent) => ReactNode;
|
|
13
13
|
variant?: 'week' | 'day';
|
|
14
14
|
}
|
|
15
|
-
declare function TimeSlotBase({ date, hour, events, onSlotClick, onEventClick, renderEvent, variant, }: TimeSlotProps): import("react
|
|
15
|
+
declare function TimeSlotBase({ date, hour, events, onSlotClick, onEventClick, renderEvent, variant, }: TimeSlotProps): import("react").JSX.Element;
|
|
16
16
|
export declare const TimeSlot: import("react").MemoExoticComponent<typeof TimeSlotBase>;
|
|
17
17
|
export {};
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type MonthViewProps } from './types.js';
|
|
2
|
-
export declare function MonthView({ date, events, onEventClick, onDateClick, onSlotClick, weekStartsOn, locale, labels: labelOverrides, className, renderEvent, }: MonthViewProps): import("react
|
|
2
|
+
export declare function MonthView({ date, events, onEventClick, onDateClick, onSlotClick, weekStartsOn, locale, labels: labelOverrides, className, renderEvent, }: MonthViewProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import { type WeekViewProps } from './types.js';
|
|
2
|
-
export declare function WeekView({ date, events, onEventClick, onSlotClick, onDateClick, weekStartsOn, locale, labels: labelOverrides, className, renderEvent, }: WeekViewProps): import("react
|
|
2
|
+
export declare function WeekView({ date, events, onEventClick, onSlotClick, onDateClick, weekStartsOn, locale, labels: labelOverrides, className, renderEvent, }: WeekViewProps): import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@ export interface LatencyBadgeProps {
|
|
|
4
4
|
ms: number;
|
|
5
5
|
className?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare function LatencyBadge({ kind, ms, className }: LatencyBadgeProps): import("react
|
|
7
|
+
export declare function LatencyBadge({ kind, ms, className }: LatencyBadgeProps): import("react").JSX.Element;
|
|
@@ -5,4 +5,4 @@ export interface LatencyBreakdownProps {
|
|
|
5
5
|
showLegend?: boolean;
|
|
6
6
|
className?: string;
|
|
7
7
|
}
|
|
8
|
-
export declare function LatencyBreakdown({ sttMs, claudeMs, ttsMs, showLegend, className, }: LatencyBreakdownProps): import("react
|
|
8
|
+
export declare function LatencyBreakdown({ sttMs, claudeMs, ttsMs, showLegend, className, }: LatencyBreakdownProps): import("react").JSX.Element;
|
|
@@ -3,4 +3,4 @@ export interface ToolCallBlockProps {
|
|
|
3
3
|
call: ToolCall;
|
|
4
4
|
className?: string;
|
|
5
5
|
}
|
|
6
|
-
export declare function ToolCallBlock({ call, className }: ToolCallBlockProps): import("react
|
|
6
|
+
export declare function ToolCallBlock({ call, className }: ToolCallBlockProps): import("react").JSX.Element;
|
|
@@ -7,4 +7,4 @@ export interface TranscriptStreamProps {
|
|
|
7
7
|
onTurnPlay?: (turnId: string) => void;
|
|
8
8
|
className?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare function TranscriptStream({ turns, autoScroll, tz, onTurnPlay, className, }: TranscriptStreamProps): import("react
|
|
10
|
+
export declare function TranscriptStream({ turns, autoScroll, tz, onTurnPlay, className, }: TranscriptStreamProps): import("react").JSX.Element;
|
package/dist/chat/turn-card.d.ts
CHANGED
|
@@ -7,4 +7,4 @@ export interface TurnCardProps {
|
|
|
7
7
|
onPlay?: (turnId: string) => void;
|
|
8
8
|
className?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare function TurnCard({ turn, startedAtRef, tz, onPlay, className }: TurnCardProps): import("react
|
|
10
|
+
export declare function TurnCard({ turn, startedAtRef, tz, onPlay, className }: TurnCardProps): import("react").JSX.Element;
|
|
@@ -3,6 +3,6 @@ interface CheckboxProps extends CheckboxPrimitive.Root.Props {
|
|
|
3
3
|
/** Show indeterminate (mixed) state - a dash instead of checkmark */
|
|
4
4
|
indeterminate?: boolean;
|
|
5
5
|
}
|
|
6
|
-
declare function Checkbox({ className, indeterminate, ...props }: CheckboxProps): import("react
|
|
6
|
+
declare function Checkbox({ className, indeterminate, ...props }: CheckboxProps): import("react").JSX.Element;
|
|
7
7
|
export type { CheckboxProps };
|
|
8
8
|
export { Checkbox };
|
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import { Collapsible as CollapsiblePrimitive } from '@base-ui/react/collapsible';
|
|
2
|
-
declare function Collapsible({ ...props }: CollapsiblePrimitive.Root.Props): import("react
|
|
3
|
-
declare function CollapsibleTrigger({ ...props }: CollapsiblePrimitive.Trigger.Props): import("react
|
|
4
|
-
declare function CollapsibleContent({ ...props }: CollapsiblePrimitive.Panel.Props): import("react
|
|
2
|
+
declare function Collapsible({ ...props }: CollapsiblePrimitive.Root.Props): import("react").JSX.Element;
|
|
3
|
+
declare function CollapsibleTrigger({ ...props }: CollapsiblePrimitive.Trigger.Props): import("react").JSX.Element;
|
|
4
|
+
declare function CollapsibleContent({ ...props }: CollapsiblePrimitive.Panel.Props): import("react").JSX.Element;
|
|
5
5
|
export { Collapsible, CollapsibleContent, CollapsibleTrigger };
|
|
@@ -1,19 +1,19 @@
|
|
|
1
1
|
import { Command as CommandPrimitive } from 'cmdk';
|
|
2
2
|
import type * as React from 'react';
|
|
3
3
|
import { Dialog } from './dialog.js';
|
|
4
|
-
declare function Command({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>):
|
|
4
|
+
declare function Command({ className, ...props }: React.ComponentProps<typeof CommandPrimitive>): React.JSX.Element;
|
|
5
5
|
declare function CommandDialog({ title, description, children, className, showCloseButton, ...props }: Omit<React.ComponentProps<typeof Dialog>, 'children'> & {
|
|
6
6
|
title?: string;
|
|
7
7
|
description?: string;
|
|
8
8
|
className?: string;
|
|
9
9
|
showCloseButton?: boolean;
|
|
10
10
|
children: React.ReactNode;
|
|
11
|
-
}):
|
|
12
|
-
declare function CommandInput({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Input>):
|
|
13
|
-
declare function CommandList({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.List>):
|
|
14
|
-
declare function CommandEmpty({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Empty>):
|
|
15
|
-
declare function CommandGroup({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Group>):
|
|
16
|
-
declare function CommandSeparator({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Separator>):
|
|
17
|
-
declare function CommandItem({ className, children, ...props }: React.ComponentProps<typeof CommandPrimitive.Item>):
|
|
18
|
-
declare function CommandShortcut({ className, ...props }: React.ComponentProps<'span'>):
|
|
11
|
+
}): React.JSX.Element;
|
|
12
|
+
declare function CommandInput({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Input>): React.JSX.Element;
|
|
13
|
+
declare function CommandList({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.List>): React.JSX.Element;
|
|
14
|
+
declare function CommandEmpty({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Empty>): React.JSX.Element;
|
|
15
|
+
declare function CommandGroup({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Group>): React.JSX.Element;
|
|
16
|
+
declare function CommandSeparator({ className, ...props }: React.ComponentProps<typeof CommandPrimitive.Separator>): React.JSX.Element;
|
|
17
|
+
declare function CommandItem({ className, children, ...props }: React.ComponentProps<typeof CommandPrimitive.Item>): React.JSX.Element;
|
|
18
|
+
declare function CommandShortcut({ className, ...props }: React.ComponentProps<'span'>): React.JSX.Element;
|
|
19
19
|
export { Command, CommandDialog, CommandEmpty, CommandGroup, CommandInput, CommandItem, CommandList, CommandSeparator, CommandShortcut, };
|
|
@@ -8,19 +8,19 @@ interface DialogProps extends DialogPrimitive.Root.Props {
|
|
|
8
8
|
*/
|
|
9
9
|
dismissible?: boolean;
|
|
10
10
|
}
|
|
11
|
-
declare function Dialog({ dismissible, ...props }: DialogProps):
|
|
11
|
+
declare function Dialog({ dismissible, ...props }: DialogProps): React.JSX.Element;
|
|
12
12
|
interface DialogTriggerProps extends Omit<React.ComponentPropsWithoutRef<typeof DialogPrimitive.Trigger>, 'render'> {
|
|
13
13
|
render?: React.ReactElement;
|
|
14
14
|
}
|
|
15
|
-
declare function DialogTrigger({ render, children, ...props }: DialogTriggerProps):
|
|
16
|
-
declare function DialogPortal({ ...props }: DialogPrimitive.Portal.Props):
|
|
17
|
-
declare function DialogClose({ ...props }: DialogPrimitive.Close.Props):
|
|
18
|
-
declare function DialogOverlay({ className, ...props }: DialogPrimitive.Backdrop.Props):
|
|
15
|
+
declare function DialogTrigger({ render, children, ...props }: DialogTriggerProps): React.JSX.Element;
|
|
16
|
+
declare function DialogPortal({ ...props }: DialogPrimitive.Portal.Props): React.JSX.Element;
|
|
17
|
+
declare function DialogClose({ ...props }: DialogPrimitive.Close.Props): React.JSX.Element;
|
|
18
|
+
declare function DialogOverlay({ className, ...props }: DialogPrimitive.Backdrop.Props): React.JSX.Element;
|
|
19
19
|
declare function DialogContent({ className, children, showCloseButton, ...props }: DialogPrimitive.Popup.Props & {
|
|
20
20
|
showCloseButton?: boolean;
|
|
21
|
-
}):
|
|
22
|
-
declare function DialogHeader({ className, ...props }: React.ComponentProps<'div'>):
|
|
23
|
-
declare function DialogFooter({ className, children, ...props }: React.ComponentProps<'div'>):
|
|
24
|
-
declare function DialogTitle({ className, ...props }: DialogPrimitive.Title.Props):
|
|
25
|
-
declare function DialogDescription({ className, ...props }: DialogPrimitive.Description.Props):
|
|
21
|
+
}): React.JSX.Element;
|
|
22
|
+
declare function DialogHeader({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
23
|
+
declare function DialogFooter({ className, children, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
24
|
+
declare function DialogTitle({ className, ...props }: DialogPrimitive.Title.Props): React.JSX.Element;
|
|
25
|
+
declare function DialogDescription({ className, ...props }: DialogPrimitive.Description.Props): React.JSX.Element;
|
|
26
26
|
export { Dialog, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPortal, DialogTitle, DialogTrigger, };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import type * as React from 'react';
|
|
2
2
|
import { Drawer as DrawerPrimitive } from 'vaul';
|
|
3
|
-
declare function Drawer({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>):
|
|
4
|
-
declare function DrawerTrigger({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Trigger>):
|
|
5
|
-
declare function DrawerPortal({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Portal>):
|
|
6
|
-
declare function DrawerClose({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Close>):
|
|
7
|
-
declare function DrawerOverlay({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Overlay>):
|
|
3
|
+
declare function Drawer({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Root>): React.JSX.Element;
|
|
4
|
+
declare function DrawerTrigger({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Trigger>): React.JSX.Element;
|
|
5
|
+
declare function DrawerPortal({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Portal>): React.JSX.Element;
|
|
6
|
+
declare function DrawerClose({ ...props }: React.ComponentProps<typeof DrawerPrimitive.Close>): React.JSX.Element;
|
|
7
|
+
declare function DrawerOverlay({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Overlay>): React.JSX.Element;
|
|
8
8
|
declare function DrawerContent({ className, children, showOverlay, overlayClassName, ...props }: React.ComponentProps<typeof DrawerPrimitive.Content> & {
|
|
9
9
|
showOverlay?: boolean;
|
|
10
10
|
overlayClassName?: string;
|
|
11
|
-
}):
|
|
12
|
-
declare function DrawerHeader({ className, ...props }: React.ComponentProps<'div'>):
|
|
13
|
-
declare function DrawerFooter({ className, ...props }: React.ComponentProps<'div'>):
|
|
14
|
-
declare function DrawerTitle({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Title>):
|
|
15
|
-
declare function DrawerDescription({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Description>):
|
|
11
|
+
}): React.JSX.Element;
|
|
12
|
+
declare function DrawerHeader({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
13
|
+
declare function DrawerFooter({ className, ...props }: React.ComponentProps<'div'>): React.JSX.Element;
|
|
14
|
+
declare function DrawerTitle({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Title>): React.JSX.Element;
|
|
15
|
+
declare function DrawerDescription({ className, ...props }: React.ComponentProps<typeof DrawerPrimitive.Description>): React.JSX.Element;
|
|
16
16
|
export { Drawer, DrawerClose, DrawerContent, DrawerDescription, DrawerFooter, DrawerHeader, DrawerOverlay, DrawerPortal, DrawerTitle, DrawerTrigger, };
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
import { Menu as MenuPrimitive } from '@base-ui/react/menu';
|
|
2
2
|
import type * as React from 'react';
|
|
3
|
-
declare function DropdownMenu({ ...props }: MenuPrimitive.Root.Props):
|
|
4
|
-
declare function DropdownMenuPortal({ ...props }: MenuPrimitive.Portal.Props):
|
|
3
|
+
declare function DropdownMenu({ ...props }: MenuPrimitive.Root.Props): React.JSX.Element;
|
|
4
|
+
declare function DropdownMenuPortal({ ...props }: MenuPrimitive.Portal.Props): React.JSX.Element;
|
|
5
5
|
interface DropdownMenuTriggerProps extends Omit<MenuPrimitive.Trigger.Props, 'render'> {
|
|
6
6
|
render?: React.ReactElement | MenuPrimitive.Trigger.Props['render'];
|
|
7
7
|
}
|
|
8
|
-
declare function DropdownMenuTrigger({ render, children, ...props }: DropdownMenuTriggerProps):
|
|
9
|
-
declare function DropdownMenuContent({ align, alignOffset, side, sideOffset, className, ...props }: MenuPrimitive.Popup.Props & Pick<MenuPrimitive.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset'>):
|
|
10
|
-
declare function DropdownMenuGroup({ ...props }: MenuPrimitive.Group.Props):
|
|
8
|
+
declare function DropdownMenuTrigger({ render, children, ...props }: DropdownMenuTriggerProps): React.JSX.Element;
|
|
9
|
+
declare function DropdownMenuContent({ align, alignOffset, side, sideOffset, className, ...props }: MenuPrimitive.Popup.Props & Pick<MenuPrimitive.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset'>): React.JSX.Element;
|
|
10
|
+
declare function DropdownMenuGroup({ ...props }: MenuPrimitive.Group.Props): React.JSX.Element;
|
|
11
11
|
declare function DropdownMenuLabel({ className, inset, ...props }: MenuPrimitive.GroupLabel.Props & {
|
|
12
12
|
inset?: boolean;
|
|
13
|
-
}):
|
|
13
|
+
}): React.JSX.Element;
|
|
14
14
|
interface MenuItemProps extends Omit<MenuPrimitive.Item.Props, 'render' | 'onClick' | 'onSelect'> {
|
|
15
15
|
inset?: boolean;
|
|
16
16
|
variant?: 'default' | 'destructive';
|
|
@@ -18,15 +18,15 @@ interface MenuItemProps extends Omit<MenuPrimitive.Item.Props, 'render' | 'onCli
|
|
|
18
18
|
onClick?: MenuPrimitive.Item.Props['onClick'];
|
|
19
19
|
onSelect?: MenuPrimitive.Item.Props['onClick'];
|
|
20
20
|
}
|
|
21
|
-
declare function DropdownMenuItem({ className, inset, variant, render, onClick, onSelect, children, ...props }: MenuItemProps):
|
|
22
|
-
declare function DropdownMenuSub({ ...props }: MenuPrimitive.SubmenuRoot.Props):
|
|
21
|
+
declare function DropdownMenuItem({ className, inset, variant, render, onClick, onSelect, children, ...props }: MenuItemProps): React.JSX.Element;
|
|
22
|
+
declare function DropdownMenuSub({ ...props }: MenuPrimitive.SubmenuRoot.Props): React.JSX.Element;
|
|
23
23
|
declare function DropdownMenuSubTrigger({ className, inset, children, ...props }: MenuPrimitive.SubmenuTrigger.Props & {
|
|
24
24
|
inset?: boolean;
|
|
25
|
-
}):
|
|
26
|
-
declare function DropdownMenuSubContent({ align, alignOffset, side, sideOffset, className, ...props }: React.ComponentProps<typeof DropdownMenuContent>):
|
|
27
|
-
declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: MenuPrimitive.CheckboxItem.Props):
|
|
28
|
-
declare function DropdownMenuRadioGroup({ ...props }: MenuPrimitive.RadioGroup.Props):
|
|
29
|
-
declare function DropdownMenuRadioItem({ className, children, ...props }: MenuPrimitive.RadioItem.Props):
|
|
30
|
-
declare function DropdownMenuSeparator({ className, ...props }: MenuPrimitive.Separator.Props):
|
|
31
|
-
declare function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<'span'>):
|
|
25
|
+
}): React.JSX.Element;
|
|
26
|
+
declare function DropdownMenuSubContent({ align, alignOffset, side, sideOffset, className, ...props }: React.ComponentProps<typeof DropdownMenuContent>): React.JSX.Element;
|
|
27
|
+
declare function DropdownMenuCheckboxItem({ className, children, checked, ...props }: MenuPrimitive.CheckboxItem.Props): React.JSX.Element;
|
|
28
|
+
declare function DropdownMenuRadioGroup({ ...props }: MenuPrimitive.RadioGroup.Props): React.JSX.Element;
|
|
29
|
+
declare function DropdownMenuRadioItem({ className, children, ...props }: MenuPrimitive.RadioItem.Props): React.JSX.Element;
|
|
30
|
+
declare function DropdownMenuSeparator({ className, ...props }: MenuPrimitive.Separator.Props): React.JSX.Element;
|
|
31
|
+
declare function DropdownMenuShortcut({ className, ...props }: React.ComponentProps<'span'>): React.JSX.Element;
|
|
32
32
|
export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, type MenuItemProps, };
|
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
import { Tooltip as TooltipPrimitive } from '@base-ui/react/tooltip';
|
|
2
|
-
declare function TooltipProvider({ delay, ...props }: TooltipPrimitive.Provider.Props): import("react
|
|
3
|
-
declare function Tooltip({ ...props }: TooltipPrimitive.Root.Props): import("react
|
|
4
|
-
declare function TooltipTrigger({ ...props }: TooltipPrimitive.Trigger.Props): import("react
|
|
5
|
-
declare function TooltipContent({ className, side, sideOffset, align, alignOffset, children, ...props }: TooltipPrimitive.Popup.Props & Pick<TooltipPrimitive.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset'>): import("react
|
|
2
|
+
declare function TooltipProvider({ delay, ...props }: TooltipPrimitive.Provider.Props): import("react").JSX.Element;
|
|
3
|
+
declare function Tooltip({ ...props }: TooltipPrimitive.Root.Props): import("react").JSX.Element;
|
|
4
|
+
declare function TooltipTrigger({ ...props }: TooltipPrimitive.Trigger.Props): import("react").JSX.Element;
|
|
5
|
+
declare function TooltipContent({ className, side, sideOffset, align, alignOffset, children, ...props }: TooltipPrimitive.Popup.Props & Pick<TooltipPrimitive.Positioner.Props, 'align' | 'alignOffset' | 'side' | 'sideOffset'>): import("react").JSX.Element;
|
|
6
6
|
export { Tooltip, TooltipContent, TooltipProvider, TooltipTrigger };
|
|
@@ -3,5 +3,5 @@ interface BlockPaletteProps {
|
|
|
3
3
|
onPick: (kind: BlockKind) => void;
|
|
4
4
|
}
|
|
5
5
|
/** Vertical button list of all available block kinds. */
|
|
6
|
-
export declare function BlockPalette({ onPick }: BlockPaletteProps): import("react
|
|
6
|
+
export declare function BlockPalette({ onPick }: BlockPaletteProps): import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -2,4 +2,4 @@ import type { EmailBlock } from './types.js';
|
|
|
2
2
|
/** Pure renderer — turns an EmailBlock into preview React. No selection chrome. */
|
|
3
3
|
export declare function BlockRenderer({ block }: {
|
|
4
4
|
block: EmailBlock;
|
|
5
|
-
}): import("react
|
|
5
|
+
}): import("react").JSX.Element;
|
|
@@ -2,4 +2,4 @@ import type { ColumnsBlockProps, EmailBlock } from '../types.js';
|
|
|
2
2
|
export declare function ColumnsBlock({ props, columnChildren, }: {
|
|
3
3
|
props: ColumnsBlockProps;
|
|
4
4
|
columnChildren?: EmailBlock[][];
|
|
5
|
-
}): import("react
|
|
5
|
+
}): import("react").JSX.Element;
|
|
@@ -11,5 +11,5 @@ interface BuilderCanvasProps {
|
|
|
11
11
|
/** Per-block floating bar; rendered near the selected block. */
|
|
12
12
|
renderFloatingBar?: (block: EmailBlock) => ReactNode;
|
|
13
13
|
}
|
|
14
|
-
export declare function BuilderCanvas({ blocks, selectedBlockId, onSelectBlock, device, labels, emptyStateAction, renderFloatingBar, }: BuilderCanvasProps): import("react
|
|
14
|
+
export declare function BuilderCanvas({ blocks, selectedBlockId, onSelectBlock, device, labels, emptyStateAction, renderFloatingBar, }: BuilderCanvasProps): import("react").JSX.Element;
|
|
15
15
|
export {};
|
|
@@ -5,5 +5,5 @@ interface BuilderHeaderProps {
|
|
|
5
5
|
onExport: () => void;
|
|
6
6
|
labels: EmailBuilderLabels;
|
|
7
7
|
}
|
|
8
|
-
export declare function BuilderHeader({ device, onDeviceChange, onExport, labels }: BuilderHeaderProps): import("react
|
|
8
|
+
export declare function BuilderHeader({ device, onDeviceChange, onExport, labels }: BuilderHeaderProps): import("react").JSX.Element;
|
|
9
9
|
export {};
|
|
@@ -7,5 +7,5 @@ interface BuilderLeftTabsProps {
|
|
|
7
7
|
envelopeContent: ReactNode;
|
|
8
8
|
}
|
|
9
9
|
/** Vertical tab strip + content panel for the left sidebar. */
|
|
10
|
-
export declare function BuilderLeftTabs({ labels, blocksContent, designContent, envelopeContent, }: BuilderLeftTabsProps): import("react
|
|
10
|
+
export declare function BuilderLeftTabs({ labels, blocksContent, designContent, envelopeContent, }: BuilderLeftTabsProps): import("react").JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import { type EmailBuilderProps } from './types.js';
|
|
2
|
-
export declare function EmailBuilder({ document, onDocumentChange, brand, renderMediaPicker, renderSavedBlocks, renderTextEditor, onExportHtml, labels: labelsProp, className, initialDevice, }: EmailBuilderProps): import("react
|
|
2
|
+
export declare function EmailBuilder({ document, onDocumentChange, brand, renderMediaPicker, renderSavedBlocks, renderTextEditor, onExportHtml, labels: labelsProp, className, initialDevice, }: EmailBuilderProps): import("react").JSX.Element;
|
|
3
3
|
export { renderToEmailHtml } from './render-to-email-html.js';
|
|
@@ -3,5 +3,5 @@ interface EnvelopeCardProps {
|
|
|
3
3
|
envelope: EmailEnvelope | undefined;
|
|
4
4
|
onChange: (next: EmailEnvelope) => void;
|
|
5
5
|
}
|
|
6
|
-
export declare function EnvelopeCard({ envelope, onChange }: EnvelopeCardProps): import("react
|
|
6
|
+
export declare function EnvelopeCard({ envelope, onChange }: EnvelopeCardProps): import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -9,5 +9,5 @@ interface FloatingBarProps {
|
|
|
9
9
|
onDelete: () => void;
|
|
10
10
|
}
|
|
11
11
|
/** Per-block floating action bar. Rendered next to the selected block. */
|
|
12
|
-
export declare function FloatingBar({ labels, canMoveUp, canMoveDown, onMoveUp, onMoveDown, onDuplicate, onDelete, }: FloatingBarProps): import("react
|
|
12
|
+
export declare function FloatingBar({ labels, canMoveUp, canMoveDown, onMoveUp, onMoveDown, onDuplicate, onDelete, }: FloatingBarProps): import("react").JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -6,5 +6,5 @@ interface BuilderDndWrapperProps {
|
|
|
6
6
|
children: ReactNode;
|
|
7
7
|
}
|
|
8
8
|
/** Wraps the canvas in a vertical-list sortable DndContext. */
|
|
9
|
-
export declare function BuilderDndWrapper({ blockIds, onDragEnd, children }: BuilderDndWrapperProps): import("react
|
|
9
|
+
export declare function BuilderDndWrapper({ blockIds, onDragEnd, children }: BuilderDndWrapperProps): import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -6,5 +6,5 @@ interface MobileDrawerProps {
|
|
|
6
6
|
children: ReactNode;
|
|
7
7
|
}
|
|
8
8
|
/** Generic bottom-sheet drawer used for the mobile palette/inspector. */
|
|
9
|
-
export declare function MobileDrawer({ open, onOpenChange, title, children }: MobileDrawerProps): import("react
|
|
9
|
+
export declare function MobileDrawer({ open, onOpenChange, title, children }: MobileDrawerProps): import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -6,5 +6,5 @@ interface MobileTabBarProps {
|
|
|
6
6
|
onOpenSettings: () => void;
|
|
7
7
|
}
|
|
8
8
|
/** Bottom-of-screen tab bar visible on mobile. */
|
|
9
|
-
export declare function MobileTabBar({ labels, onOpenBlocks, onOpenInspector, onOpenSettings, }: MobileTabBarProps): import("react
|
|
9
|
+
export declare function MobileTabBar({ labels, onOpenBlocks, onOpenInspector, onOpenSettings, }: MobileTabBarProps): import("react").JSX.Element;
|
|
10
10
|
export {};
|