@medalsocial/meda 2.8.0 → 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 +9 -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 +1 -1
- package/dist/shell/app-shell.d.ts +2 -2
- 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/internal/mobile-bottom-nav.d.ts +1 -1
- package/dist/shell/internal/mobile-dock.d.ts +1 -1
- package/dist/shell/internal/mobile-dock.js +2 -2
- 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 +1 -1
- 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 +4 -4
- 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/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
|
@@ -3,5 +3,5 @@ interface Props {
|
|
|
3
3
|
value: HeadingBlockProps;
|
|
4
4
|
onChange: (patch: Partial<HeadingBlockProps>) => void;
|
|
5
5
|
}
|
|
6
|
-
export declare function HeadingPropertyEditor({ value, onChange }: Props): import("react
|
|
6
|
+
export declare function HeadingPropertyEditor({ value, onChange }: Props): import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -4,5 +4,5 @@ interface Props {
|
|
|
4
4
|
onChange: (patch: Partial<ImageBlockProps>) => void;
|
|
5
5
|
renderMediaPicker?: EmailBuilderProps['renderMediaPicker'];
|
|
6
6
|
}
|
|
7
|
-
export declare function ImagePropertyEditor({ value, onChange, renderMediaPicker }: Props): import("react
|
|
7
|
+
export declare function ImagePropertyEditor({ value, onChange, renderMediaPicker }: Props): import("react").JSX.Element;
|
|
8
8
|
export {};
|
|
@@ -3,5 +3,5 @@ interface Props {
|
|
|
3
3
|
value: SocialBlockProps;
|
|
4
4
|
onChange: (patch: Partial<SocialBlockProps>) => void;
|
|
5
5
|
}
|
|
6
|
-
export declare function SocialPropertyEditor({ value, onChange }: Props): import("react
|
|
6
|
+
export declare function SocialPropertyEditor({ value, onChange }: Props): import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -3,5 +3,5 @@ interface Props {
|
|
|
3
3
|
value: SpacerBlockProps;
|
|
4
4
|
onChange: (patch: Partial<SpacerBlockProps>) => void;
|
|
5
5
|
}
|
|
6
|
-
export declare function SpacerPropertyEditor({ value, onChange }: Props): import("react
|
|
6
|
+
export declare function SpacerPropertyEditor({ value, onChange }: Props): import("react").JSX.Element;
|
|
7
7
|
export {};
|
|
@@ -9,5 +9,5 @@ interface Props {
|
|
|
9
9
|
onChange: (next: string) => void;
|
|
10
10
|
}) => ReactNode;
|
|
11
11
|
}
|
|
12
|
-
export declare function TextPropertyEditor({ value, onChange, renderEditor }: Props): import("react
|
|
12
|
+
export declare function TextPropertyEditor({ value, onChange, renderEditor }: Props): import("react").JSX.Element;
|
|
13
13
|
export {};
|
|
@@ -7,5 +7,5 @@ interface PropertyInspectorProps {
|
|
|
7
7
|
renderMediaPicker?: EmailBuilderProps['renderMediaPicker'];
|
|
8
8
|
renderTextEditor?: EmailBuilderProps['renderTextEditor'];
|
|
9
9
|
}
|
|
10
|
-
export declare function PropertyInspector({ block, onChange, emptyContent, renderMediaPicker, renderTextEditor, }: PropertyInspectorProps): import("react
|
|
10
|
+
export declare function PropertyInspector({ block, onChange, emptyContent, renderMediaPicker, renderTextEditor, }: PropertyInspectorProps): import("react").JSX.Element;
|
|
11
11
|
export {};
|
|
@@ -6,5 +6,5 @@ interface ViewControlsProps {
|
|
|
6
6
|
mobileLabel: string;
|
|
7
7
|
}
|
|
8
8
|
/** Toggle between desktop and mobile preview modes. */
|
|
9
|
-
export declare function ViewControls({ device, onDeviceChange, desktopLabel, mobileLabel, }: ViewControlsProps): import("react
|
|
9
|
+
export declare function ViewControls({ device, onDeviceChange, desktopLabel, mobileLabel, }: ViewControlsProps): import("react").JSX.Element;
|
|
10
10
|
export {};
|
|
@@ -5,4 +5,4 @@ import { type KanbanBoardProps, type KanbanItem } from './types.js';
|
|
|
5
5
|
* A reusable drag-and-drop kanban board that can be used across
|
|
6
6
|
* different features (Deals, Ideas, etc.)
|
|
7
7
|
*/
|
|
8
|
-
export declare function KanbanBoard<TItem extends KanbanItem, TStatus extends string = string>(props: KanbanBoardProps<TItem, TStatus>): import("react
|
|
8
|
+
export declare function KanbanBoard<TItem extends KanbanItem, TStatus extends string = string>(props: KanbanBoardProps<TItem, TStatus>): import("react").JSX.Element;
|
|
@@ -12,5 +12,5 @@ interface KanbanCardWrapperProps {
|
|
|
12
12
|
*
|
|
13
13
|
* Wraps card content to make it draggable within the kanban board.
|
|
14
14
|
*/
|
|
15
|
-
export declare function KanbanCardWrapper({ id, isDragging, children }: KanbanCardWrapperProps): import("react
|
|
15
|
+
export declare function KanbanCardWrapper({ id, isDragging, children }: KanbanCardWrapperProps): import("react").JSX.Element;
|
|
16
16
|
export {};
|
|
@@ -15,5 +15,5 @@ interface KanbanColumnProps<TItem extends KanbanItem> {
|
|
|
15
15
|
*
|
|
16
16
|
* A single column in the kanban board that can receive dropped items.
|
|
17
17
|
*/
|
|
18
|
-
export declare function KanbanColumn<TItem extends KanbanItem>({ column, count, isOver, onAddItem, onHideColumn, labels, children, }: KanbanColumnProps<TItem>): import("react
|
|
18
|
+
export declare function KanbanColumn<TItem extends KanbanItem>({ column, count, isOver, onAddItem, onHideColumn, labels, children, }: KanbanColumnProps<TItem>): import("react").JSX.Element;
|
|
19
19
|
export {};
|
package/dist/list/list-row.d.ts
CHANGED
|
@@ -33,7 +33,7 @@ export interface ListRowProps {
|
|
|
33
33
|
* A Linear-style list row with checkbox, hover states, and click handling.
|
|
34
34
|
* Compact ~40-48px height for dense, scannable lists.
|
|
35
35
|
*/
|
|
36
|
-
export declare function ListRow({ selected, selectionActive, onSelect, onClick, onMouseEnter, onMouseLeave, onFocus, onBlur, focused, children, className, }: ListRowProps): import("react
|
|
36
|
+
export declare function ListRow({ selected, selectionActive, onSelect, onClick, onMouseEnter, onMouseLeave, onFocus, onBlur, focused, children, className, }: ListRowProps): import("react").JSX.Element;
|
|
37
37
|
/**
|
|
38
38
|
* Cell wrapper for consistent column sizing
|
|
39
39
|
*/
|
|
@@ -49,4 +49,4 @@ export interface ListCellProps {
|
|
|
49
49
|
/** Additional class names */
|
|
50
50
|
className?: string;
|
|
51
51
|
}
|
|
52
|
-
export declare function ListCell({ width, shrink, align, children, className, }: ListCellProps): import("react
|
|
52
|
+
export declare function ListCell({ width, shrink, align, children, className, }: ListCellProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MarketingAnnouncementBarProps } from './types.js';
|
|
2
|
-
export declare function MarketingAnnouncementBar({ href, icon, children, className, }: MarketingAnnouncementBarProps): import("react
|
|
2
|
+
export declare function MarketingAnnouncementBar({ href, icon, children, className, }: MarketingAnnouncementBarProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MarketingBentoCardProps } from './types.js';
|
|
2
|
-
export declare function MarketingBentoCard({ colSpan, rowSpan, variant, icon, title, description, children, href, className, }: MarketingBentoCardProps): import("react
|
|
2
|
+
export declare function MarketingBentoCard({ colSpan, rowSpan, variant, icon, title, description, children, href, className, }: MarketingBentoCardProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MarketingBentoGridProps } from './types.js';
|
|
2
|
-
export declare function MarketingBentoGrid({ cols, children, className }: MarketingBentoGridProps): import("react
|
|
2
|
+
export declare function MarketingBentoGrid({ cols, children, className }: MarketingBentoGridProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MarketingCalloutProps } from './types.js';
|
|
2
|
-
export declare function MarketingCallout({ eyebrow, title, description, children, ctas, variant, align, className, }: MarketingCalloutProps): import("react
|
|
2
|
+
export declare function MarketingCallout({ eyebrow, title, description, children, ctas, variant, align, className, }: MarketingCalloutProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MarketingContactProps } from './types.js';
|
|
2
|
-
export declare function MarketingContact({ intro, form, office, contactPerson, compact, className, }: MarketingContactProps): import("react
|
|
2
|
+
export declare function MarketingContact({ intro, form, office, contactPerson, compact, className, }: MarketingContactProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MarketingCtaListProps } from './types.js';
|
|
2
|
-
export declare function MarketingCtaList({ ctas, align, className }: MarketingCtaListProps): import("react
|
|
2
|
+
export declare function MarketingCtaList({ ctas, align, className }: MarketingCtaListProps): import("react").JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MarketingCTAProps } from './types.js';
|
|
2
|
-
export declare function MarketingCTA({ eyebrow, title, subtitle, ctas, className }: MarketingCTAProps): import("react
|
|
2
|
+
export declare function MarketingCTA({ eyebrow, title, subtitle, ctas, className }: MarketingCTAProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MarketingFAQProps } from './types.js';
|
|
2
|
-
export declare function MarketingFAQ({ eyebrow, title, items, defaultOpenId, className, }: MarketingFAQProps): import("react
|
|
2
|
+
export declare function MarketingFAQ({ eyebrow, title, items, defaultOpenId, className, }: MarketingFAQProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MarketingFooterProps } from './types.js';
|
|
2
|
-
export declare function MarketingFooter({ brand, tagline, columns, bottomSlot, className, }: MarketingFooterProps): import("react
|
|
2
|
+
export declare function MarketingFooter({ brand, tagline, columns, bottomSlot, className, }: MarketingFooterProps): import("react").JSX.Element;
|
|
@@ -7,4 +7,4 @@ export interface MarketingHeaderLogoProps {
|
|
|
7
7
|
label?: string;
|
|
8
8
|
className?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare function MarketingHeaderLogo({ mark, word, href, label, className, }: MarketingHeaderLogoProps): import("react
|
|
10
|
+
export declare function MarketingHeaderLogo({ mark, word, href, label, className, }: MarketingHeaderLogoProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MarketingHeaderProps } from './types.js';
|
|
2
|
-
export declare function MarketingHeader({ logo, navItems, user, signInHref, signUpHref, appHref, rightSlot, toggles, renderLoggedOut, renderLoggedIn, className, }: MarketingHeaderProps): import("react
|
|
2
|
+
export declare function MarketingHeader({ logo, navItems, user, signInHref, signUpHref, appHref, rightSlot, toggles, renderLoggedOut, renderLoggedIn, className, }: MarketingHeaderProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MarketingHeroProps } from './types.js';
|
|
2
|
-
export declare function MarketingHero({ eyebrow, headline, subtitle, ctas, meta, productMockup, className, }: MarketingHeroProps): import("react
|
|
2
|
+
export declare function MarketingHero({ eyebrow, headline, subtitle, ctas, meta, productMockup, className, }: MarketingHeroProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MarketingLeadMagnetProps } from './types.js';
|
|
2
|
-
export declare function MarketingLeadMagnet({ title, description, benefits, image, buttonText, formTitle, form, variant, open, defaultOpen, onOpenChange, className, }: MarketingLeadMagnetProps): import("react
|
|
2
|
+
export declare function MarketingLeadMagnet({ title, description, benefits, image, buttonText, formTitle, form, variant, open, defaultOpen, onOpenChange, className, }: MarketingLeadMagnetProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MarketingMegaMenuProps } from './types.js';
|
|
2
|
-
export declare function MarketingMegaMenu({ triggerId, open, onOpenChange, features, children, className, }: MarketingMegaMenuProps): import("react
|
|
2
|
+
export declare function MarketingMegaMenu({ triggerId, open, onOpenChange, features, children, className, }: MarketingMegaMenuProps): import("react").JSX.Element | null;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MarketingNumberedFeaturesProps } from './types.js';
|
|
2
|
-
export declare function MarketingNumberedFeatures({ eyebrow, title, features, className, }: MarketingNumberedFeaturesProps): import("react
|
|
2
|
+
export declare function MarketingNumberedFeatures({ eyebrow, title, features, className, }: MarketingNumberedFeaturesProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MarketingShellProps } from './types.js';
|
|
2
|
-
export declare function MarketingShell({ header, footer, children, className }: MarketingShellProps): import("react
|
|
2
|
+
export declare function MarketingShell({ header, footer, children, className }: MarketingShellProps): import("react").JSX.Element;
|
|
@@ -1,2 +1,2 @@
|
|
|
1
1
|
import type { MarketingTrustBarProps } from './types.js';
|
|
2
|
-
export declare function MarketingTrustBar({ eyebrow, title, stats, className }: MarketingTrustBarProps): import("react
|
|
2
|
+
export declare function MarketingTrustBar({ eyebrow, title, stats, className }: MarketingTrustBarProps): import("react").JSX.Element;
|
|
@@ -6,4 +6,4 @@ export interface InspectorFieldProps {
|
|
|
6
6
|
hint?: ReactNode;
|
|
7
7
|
className?: string;
|
|
8
8
|
}
|
|
9
|
-
export declare function InspectorField({ label, value, hint, className }: InspectorFieldProps): import("react
|
|
9
|
+
export declare function InspectorField({ label, value, hint, className }: InspectorFieldProps): import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@ export interface InspectorJSONProps {
|
|
|
4
4
|
indent?: number;
|
|
5
5
|
className?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare function InspectorJSON({ data, indent, className }: InspectorJSONProps): import("react
|
|
7
|
+
export declare function InspectorJSON({ data, indent, className }: InspectorJSONProps): import("react").JSX.Element;
|
|
@@ -4,4 +4,4 @@ export interface InspectorProps {
|
|
|
4
4
|
defaultTab?: string;
|
|
5
5
|
className?: string;
|
|
6
6
|
}
|
|
7
|
-
export declare function Inspector({ tabs, defaultTab, className }: InspectorProps): import("react
|
|
7
|
+
export declare function Inspector({ tabs, defaultTab, className }: InspectorProps): import("react").JSX.Element;
|
|
@@ -9,4 +9,4 @@ export interface AvatarProps {
|
|
|
9
9
|
* from the public surface so we don't lock consumers in. Consumers
|
|
10
10
|
* who want a richer Avatar primitive should pull one from elsewhere.
|
|
11
11
|
*/
|
|
12
|
-
export declare function Avatar({ src, displayName, className }: AvatarProps): import("react
|
|
12
|
+
export declare function Avatar({ src, displayName, className }: AvatarProps): import("react").JSX.Element;
|
|
@@ -12,4 +12,4 @@ export interface BlueSkyPreviewProps extends PostPreviewBaseProps {
|
|
|
12
12
|
* BlueSky feed-card preview. Auto-formats the username with `.bsky.social`
|
|
13
13
|
* if no domain is present.
|
|
14
14
|
*/
|
|
15
|
-
export declare function BlueSkyPreview({ displayName, username, avatarUrl, content, mediaUrls, editable, onContentChange, className, labels, }: BlueSkyPreviewProps): import("react
|
|
15
|
+
export declare function BlueSkyPreview({ displayName, username, avatarUrl, content, mediaUrls, editable, onContentChange, className, labels, }: BlueSkyPreviewProps): import("react").JSX.Element;
|
|
@@ -41,4 +41,4 @@ export interface DiscordPreviewProps extends PostPreviewBaseProps {
|
|
|
41
41
|
* Discord channel message preview. Renders the user message followed by
|
|
42
42
|
* any embeds (unless `suppressEmbeds` is true).
|
|
43
43
|
*/
|
|
44
|
-
export declare function DiscordPreview({ displayName, username: _username, avatarUrl, content, mediaUrls, editable, onContentChange, className, labels, embeds, suppressEmbeds, }: DiscordPreviewProps): import("react
|
|
44
|
+
export declare function DiscordPreview({ displayName, username: _username, avatarUrl, content, mediaUrls, editable, onContentChange, className, labels, embeds, suppressEmbeds, }: DiscordPreviewProps): import("react").JSX.Element;
|
|
@@ -20,4 +20,4 @@ export interface FacebookPreviewProps extends PostPreviewBaseProps {
|
|
|
20
20
|
* Facebook feed-card preview. Renders displayName, avatar, content, optional
|
|
21
21
|
* media grid, and the standard Like/Comment/Share footer.
|
|
22
22
|
*/
|
|
23
|
-
export declare function FacebookPreview({ displayName, username: _username, avatarUrl, content, mediaUrls, editable, onContentChange, className, labels, }: FacebookPreviewProps): import("react
|
|
23
|
+
export declare function FacebookPreview({ displayName, username: _username, avatarUrl, content, mediaUrls, editable, onContentChange, className, labels, }: FacebookPreviewProps): import("react").JSX.Element;
|
|
@@ -19,4 +19,4 @@ export interface GenericPreviewProps extends PostPreviewBaseProps {
|
|
|
19
19
|
* component. Layout is intentionally neutral so it composes well inside
|
|
20
20
|
* `PlatformChrome` if a consumer wants to add device framing.
|
|
21
21
|
*/
|
|
22
|
-
export declare function GenericPreview({ platform, displayName, username, avatarUrl, content, mediaUrls, editable, onContentChange, className, labels, }: GenericPreviewProps): import("react
|
|
22
|
+
export declare function GenericPreview({ platform, displayName, username, avatarUrl, content, mediaUrls, editable, onContentChange, className, labels, }: GenericPreviewProps): import("react").JSX.Element;
|
|
@@ -15,4 +15,4 @@ export interface GoogleBusinessPreviewProps extends PostPreviewBaseProps {
|
|
|
15
15
|
* Google Business Profile update-post preview. Renders the business name,
|
|
16
16
|
* timestamp, content, optional media, and a Learn-more CTA button.
|
|
17
17
|
*/
|
|
18
|
-
export declare function GoogleBusinessPreview({ displayName, username: _username, avatarUrl, content, mediaUrls, editable, onContentChange, className, labels, }: GoogleBusinessPreviewProps): import("react
|
|
18
|
+
export declare function GoogleBusinessPreview({ displayName, username: _username, avatarUrl, content, mediaUrls, editable, onContentChange, className, labels, }: GoogleBusinessPreviewProps): import("react").JSX.Element;
|
|
@@ -28,4 +28,4 @@ export interface InstagramPreviewProps extends PostPreviewBaseProps {
|
|
|
28
28
|
* Instagram preview supporting Feed / Carousel / Reel / Story layouts.
|
|
29
29
|
* Auto-detects `carousel` when more than one media URL is present.
|
|
30
30
|
*/
|
|
31
|
-
export declare function InstagramPreview({ displayName, username, avatarUrl, content, mediaUrls, editable, onContentChange, className, labels, instagramPostType, }: InstagramPreviewProps): import("react
|
|
31
|
+
export declare function InstagramPreview({ displayName, username, avatarUrl, content, mediaUrls, editable, onContentChange, className, labels, instagramPostType, }: InstagramPreviewProps): import("react").JSX.Element;
|
|
@@ -49,4 +49,4 @@ export interface LinkedInPreviewProps extends PostPreviewBaseProps {
|
|
|
49
49
|
* content with optional `@mention` highlight spans, media grid, and the
|
|
50
50
|
* standard Like/Comment/Repost/Send footer.
|
|
51
51
|
*/
|
|
52
|
-
export declare function LinkedInPreview({ displayName, username, avatarUrl, content, mediaUrls, editable, onContentChange, className, labels, mentions, onMentionsChange, renderMentionPicker, }: LinkedInPreviewProps): import("react
|
|
52
|
+
export declare function LinkedInPreview({ displayName, username, avatarUrl, content, mediaUrls, editable, onContentChange, className, labels, mentions, onMentionsChange, renderMentionPicker, }: LinkedInPreviewProps): import("react").JSX.Element;
|
|
@@ -43,4 +43,4 @@ export interface TelegramPreviewProps extends PostPreviewBaseProps {
|
|
|
43
43
|
* Telegram channel post preview. Renders a chat bubble with optional
|
|
44
44
|
* poll, pinned indicator, and inline keyboard.
|
|
45
45
|
*/
|
|
46
|
-
export declare function TelegramPreview({ displayName, username: _username, avatarUrl, content, mediaUrls, editable, onContentChange, className, labels, poll, pinMessage, replyMarkup, }: TelegramPreviewProps): import("react
|
|
46
|
+
export declare function TelegramPreview({ displayName, username: _username, avatarUrl, content, mediaUrls, editable, onContentChange, className, labels, poll, pinMessage, replyMarkup, }: TelegramPreviewProps): import("react").JSX.Element;
|
|
@@ -16,4 +16,4 @@ export interface ThreadsPreviewProps extends PostPreviewBaseProps {
|
|
|
16
16
|
* Threads feed-card preview. Honors a parent `.dark` class for the dark
|
|
17
17
|
* variant the platform itself uses.
|
|
18
18
|
*/
|
|
19
|
-
export declare function ThreadsPreview({ displayName, username, avatarUrl, content, mediaUrls, editable, onContentChange, className, labels, }: ThreadsPreviewProps): import("react
|
|
19
|
+
export declare function ThreadsPreview({ displayName, username, avatarUrl, content, mediaUrls, editable, onContentChange, className, labels, }: ThreadsPreviewProps): import("react").JSX.Element;
|
|
@@ -15,4 +15,4 @@ export interface TikTokPreviewProps extends PostPreviewBaseProps {
|
|
|
15
15
|
* TikTok video-overlay preview. Always renders against a dark background to
|
|
16
16
|
* match the platform's video-first UI.
|
|
17
17
|
*/
|
|
18
|
-
export declare function TikTokPreview({ displayName, username, avatarUrl, content, editable, onContentChange, className, labels, }: TikTokPreviewProps): import("react
|
|
18
|
+
export declare function TikTokPreview({ displayName, username, avatarUrl, content, editable, onContentChange, className, labels, }: TikTokPreviewProps): import("react").JSX.Element;
|
|
@@ -37,4 +37,4 @@ export interface TwitterPreviewProps extends PostPreviewBaseProps {
|
|
|
37
37
|
* Twitter / X feed-card preview. Supports light, dim, and lights-out
|
|
38
38
|
* themes plus an optional `@mention` picker render slot.
|
|
39
39
|
*/
|
|
40
|
-
export declare function TwitterPreview({ displayName, username, avatarUrl, content, mediaUrls, characterLimit, editable, onContentChange, className, labels, theme, renderMentionPicker, }: TwitterPreviewProps): import("react
|
|
40
|
+
export declare function TwitterPreview({ displayName, username, avatarUrl, content, mediaUrls, characterLimit, editable, onContentChange, className, labels, theme, renderMentionPicker, }: TwitterPreviewProps): import("react").JSX.Element;
|
|
@@ -14,4 +14,4 @@ export interface YouTubePreviewProps extends PostPreviewBaseProps {
|
|
|
14
14
|
/**
|
|
15
15
|
* YouTube community-post preview. Honors `.dark` for the dark variant.
|
|
16
16
|
*/
|
|
17
|
-
export declare function YouTubePreview({ displayName, username: _username, avatarUrl, content, mediaUrls, editable, onContentChange, className, labels, }: YouTubePreviewProps): import("react
|
|
17
|
+
export declare function YouTubePreview({ displayName, username: _username, avatarUrl, content, mediaUrls, editable, onContentChange, className, labels, }: YouTubePreviewProps): import("react").JSX.Element;
|
|
@@ -3,10 +3,10 @@ export type CardProps = ComponentPropsWithoutRef<'div'>;
|
|
|
3
3
|
export type CardHeaderProps = ComponentPropsWithoutRef<'div'>;
|
|
4
4
|
export type CardBodyProps = ComponentPropsWithoutRef<'div'>;
|
|
5
5
|
export type CardFooterProps = ComponentPropsWithoutRef<'div'>;
|
|
6
|
-
declare function CardRoot({ children, className, ...props }: CardProps): import("react
|
|
7
|
-
declare function CardHeader({ children, className, ...props }: CardHeaderProps): import("react
|
|
8
|
-
declare function CardBody({ children, className, ...props }: CardBodyProps): import("react
|
|
9
|
-
declare function CardFooter({ children, className, ...props }: CardFooterProps): import("react
|
|
6
|
+
declare function CardRoot({ children, className, ...props }: CardProps): import("react").JSX.Element;
|
|
7
|
+
declare function CardHeader({ children, className, ...props }: CardHeaderProps): import("react").JSX.Element;
|
|
8
|
+
declare function CardBody({ children, className, ...props }: CardBodyProps): import("react").JSX.Element;
|
|
9
|
+
declare function CardFooter({ children, className, ...props }: CardFooterProps): import("react").JSX.Element;
|
|
10
10
|
export declare const Card: typeof CardRoot & {
|
|
11
11
|
Header: typeof CardHeader;
|
|
12
12
|
Body: typeof CardBody;
|
|
@@ -8,4 +8,4 @@ export interface EmptyStateProps extends Omit<ComponentPropsWithoutRef<'div'>, '
|
|
|
8
8
|
action?: ReactNode;
|
|
9
9
|
variant?: EmptyStateVariant;
|
|
10
10
|
}
|
|
11
|
-
export declare function EmptyState({ icon, title, description, action, variant, className, ...props }: EmptyStateProps): import("react
|
|
11
|
+
export declare function EmptyState({ icon, title, description, action, variant, className, ...props }: EmptyStateProps): import("react").JSX.Element;
|
|
@@ -12,8 +12,8 @@ export interface FilterRailGroupProps extends Omit<ComponentPropsWithoutRef<'fie
|
|
|
12
12
|
description?: ReactNode;
|
|
13
13
|
children?: ReactNode;
|
|
14
14
|
}
|
|
15
|
-
declare function FilterRailGroup({ title, description, children, className, ...props }: FilterRailGroupProps): import("react
|
|
16
|
-
declare function FilterRailRoot({ title, description, search, actions, footer, children, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, ...props }: FilterRailProps): import("react
|
|
15
|
+
declare function FilterRailGroup({ title, description, children, className, ...props }: FilterRailGroupProps): import("react").JSX.Element;
|
|
16
|
+
declare function FilterRailRoot({ title, description, search, actions, footer, children, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, ...props }: FilterRailProps): import("react").JSX.Element;
|
|
17
17
|
export declare const FilterRail: typeof FilterRailRoot & {
|
|
18
18
|
Group: typeof FilterRailGroup;
|
|
19
19
|
};
|
|
@@ -19,4 +19,4 @@ export interface MarkdownViewProps extends Omit<ComponentPropsWithoutRef<'div'>,
|
|
|
19
19
|
* pnpm add react-markdown remark-gfm rehype-highlight
|
|
20
20
|
* ```
|
|
21
21
|
*/
|
|
22
|
-
export declare function MarkdownView({ children, className, components, ...props }: MarkdownViewProps): import("react
|
|
22
|
+
export declare function MarkdownView({ children, className, components, ...props }: MarkdownViewProps): import("react").JSX.Element;
|
|
@@ -1,3 +1,3 @@
|
|
|
1
1
|
import type { ComponentProps } from 'react';
|
|
2
2
|
export type SkeletonProps = ComponentProps<'div'>;
|
|
3
|
-
export declare function Skeleton({ className, 'aria-hidden': ariaHidden, ...props }: SkeletonProps): import("react
|
|
3
|
+
export declare function Skeleton({ className, 'aria-hidden': ariaHidden, ...props }: SkeletonProps): import("react").JSX.Element;
|
|
@@ -9,4 +9,4 @@ export interface StatusPillProps extends ComponentPropsWithoutRef<'span'> {
|
|
|
9
9
|
*/
|
|
10
10
|
dot?: boolean;
|
|
11
11
|
}
|
|
12
|
-
export declare function StatusPill({ tone, size, dot, className, children, ...props }: StatusPillProps): import("react
|
|
12
|
+
export declare function StatusPill({ tone, size, dot, className, children, ...props }: StatusPillProps): import("react").JSX.Element;
|
|
@@ -2,4 +2,4 @@ import type { ReactNode } from 'react';
|
|
|
2
2
|
import type { AppShellAuthConfig } from './types.js';
|
|
3
3
|
export declare function AppShellAuth({ children, title, description, brandName, brandMark, eyebrow, preview, actions, }: AppShellAuthConfig & {
|
|
4
4
|
children: ReactNode;
|
|
5
|
-
}): import("react
|
|
5
|
+
}): import("react").JSX.Element;
|
|
@@ -3,4 +3,4 @@ export interface AppShellChatProps {
|
|
|
3
3
|
globalActions?: ReactNode;
|
|
4
4
|
children: ReactNode;
|
|
5
5
|
}
|
|
6
|
-
export declare function AppShellChat({ globalActions, children }: AppShellChatProps): import("react
|
|
6
|
+
export declare function AppShellChat({ globalActions, children }: AppShellChatProps): import("react").JSX.Element;
|
|
@@ -33,4 +33,4 @@ export interface AppShellWorkspaceProps {
|
|
|
33
33
|
mobileNav?: AppShellMobileNavConfig;
|
|
34
34
|
children: ReactNode;
|
|
35
35
|
}
|
|
36
|
-
export declare function AppShellWorkspace({ iconRail, contextRail, rightPanel, workspace, appTabs, globalActions, headerCenter, headerLeading, headerLayout, banners, mainLayout, mainClassName, builtInCommandPalette, mobileNav, children, }: AppShellWorkspaceProps): import("react
|
|
36
|
+
export declare function AppShellWorkspace({ iconRail, contextRail, rightPanel, workspace, appTabs, globalActions, headerCenter, headerLeading, headerLayout, banners, mainLayout, mainClassName, builtInCommandPalette, mobileNav, children, }: AppShellWorkspaceProps): import("react").JSX.Element;
|
|
@@ -77,9 +77,9 @@ export type AppShellProps = AppShellBaseProps & ({
|
|
|
77
77
|
variant: 'chat';
|
|
78
78
|
globalActions?: ReactNode;
|
|
79
79
|
});
|
|
80
|
-
export declare function AppShell(props: AppShellProps): import("react
|
|
80
|
+
export declare function AppShell(props: AppShellProps): import("react").JSX.Element;
|
|
81
81
|
export declare function AppShellBody({ children, className }: {
|
|
82
82
|
children: ReactNode;
|
|
83
83
|
className?: string;
|
|
84
|
-
}): import("react
|
|
84
|
+
}): import("react").JSX.Element;
|
|
85
85
|
export {};
|
|
@@ -17,7 +17,7 @@ export declare function matchesHotkey(e: KeyboardEvent, spec: string): boolean;
|
|
|
17
17
|
export interface CommandPaletteProps {
|
|
18
18
|
children?: ReactNode;
|
|
19
19
|
}
|
|
20
|
-
export declare function CommandPalette({ children }: CommandPaletteProps): import("react
|
|
20
|
+
export declare function CommandPalette({ children }: CommandPaletteProps): import("react").JSX.Element;
|
|
21
21
|
export declare function useCommands(commands: CommandDefinition[]): void;
|
|
22
22
|
export declare function useCommandGroup(group: CommandGroupDefinition): void;
|
|
23
23
|
export {};
|
|
@@ -16,4 +16,4 @@ export interface ContextRailProps {
|
|
|
16
16
|
scroll?: ContextRailScroll;
|
|
17
17
|
className?: string;
|
|
18
18
|
}
|
|
19
|
-
export declare function ContextRail({ appId, module, hidden, collapsible, activeItemId, renderLink, header, scroll, className, }: ContextRailProps): import("react
|
|
19
|
+
export declare function ContextRail({ appId, module, hidden, collapsible, activeItemId, renderLink, header, scroll, className, }: ContextRailProps): import("react").JSX.Element | null;
|
|
@@ -25,7 +25,7 @@ export interface DragModeBannerProps {
|
|
|
25
25
|
isActive?: (activeId: string | number) => boolean;
|
|
26
26
|
className?: string;
|
|
27
27
|
}
|
|
28
|
-
export declare function DragModeBanner({ message, cancelKey, isActive, className }: DragModeBannerProps): import("react
|
|
28
|
+
export declare function DragModeBanner({ message, cancelKey, isActive, className }: DragModeBannerProps): import("react").JSX.Element | null;
|
|
29
29
|
export declare namespace DragModeBanner {
|
|
30
30
|
var displayName: string;
|
|
31
31
|
}
|
|
@@ -6,4 +6,4 @@ export interface ShellScrollableContentProps {
|
|
|
6
6
|
layout: ShellContentLayout;
|
|
7
7
|
maxWidth?: number;
|
|
8
8
|
}
|
|
9
|
-
export declare function ShellScrollableContent({ children, desktopDockOffset, layout, maxWidth, }: ShellScrollableContentProps): import("react
|
|
9
|
+
export declare function ShellScrollableContent({ children, desktopDockOffset, layout, maxWidth, }: ShellScrollableContentProps): import("react").JSX.Element;
|
|
@@ -14,5 +14,5 @@ export interface ShellTabBarProps {
|
|
|
14
14
|
ariaLabel?: string;
|
|
15
15
|
renderLink?: (args: ShellTabBarRenderArgs) => ReactNode;
|
|
16
16
|
}
|
|
17
|
-
export declare function ShellTabBar({ tabs, activeTab, onTabChange, className, ariaLabel, renderLink, }: ShellTabBarProps): import("react
|
|
17
|
+
export declare function ShellTabBar({ tabs, activeTab, onTabChange, className, ariaLabel, renderLink, }: ShellTabBarProps): import("react").JSX.Element | null;
|
|
18
18
|
export {};
|
|
@@ -7,4 +7,4 @@ export interface WorkbenchLayoutProps {
|
|
|
7
7
|
toolbar?: ReactNode;
|
|
8
8
|
className?: string;
|
|
9
9
|
}
|
|
10
|
-
export declare function WorkbenchLayout({ viewportBand, main, aside, toolbar, className, }: WorkbenchLayoutProps): import("react
|
|
10
|
+
export declare function WorkbenchLayout({ viewportBand, main, aside, toolbar, className, }: WorkbenchLayoutProps): import("react").JSX.Element;
|
|
@@ -28,5 +28,5 @@ export interface RailDividerProps {
|
|
|
28
28
|
pinnedBottom: boolean;
|
|
29
29
|
onToggle: () => void;
|
|
30
30
|
}
|
|
31
|
-
export declare function RailDivider({ pinnedBottom, onToggle }: RailDividerProps): import("react
|
|
32
|
-
export declare function IconRail({ mainItems, utilityItems, footer, activeId, renderLink, labelVisibility, className, }: IconRailProps): import("react
|
|
31
|
+
export declare function RailDivider({ pinnedBottom, onToggle }: RailDividerProps): import("react").JSX.Element;
|
|
32
|
+
export declare function IconRail({ mainItems, utilityItems, footer, activeId, renderLink, labelVisibility, className, }: IconRailProps): import("react").JSX.Element | null;
|
|
@@ -20,4 +20,4 @@ export interface MobileBottomNavProps {
|
|
|
20
20
|
*
|
|
21
21
|
* Hidden on non-mobile viewports and when the right panel is in fullscreen mode.
|
|
22
22
|
*/
|
|
23
|
-
export declare function MobileBottomNav({ items, className }: MobileBottomNavProps): import("react
|
|
23
|
+
export declare function MobileBottomNav({ items, className }: MobileBottomNavProps): import("react").JSX.Element | null;
|
|
@@ -27,4 +27,4 @@ export interface MobileDockProps {
|
|
|
27
27
|
*
|
|
28
28
|
* Hidden on non-mobile viewports and when the right panel is fullscreen.
|
|
29
29
|
*/
|
|
30
|
-
export declare function MobileDock({ items, activeTo, activeId, renderLink, className, variant, }: MobileDockProps): import("react
|
|
30
|
+
export declare function MobileDock({ items, activeTo, activeId, renderLink, className, variant, }: MobileDockProps): import("react").JSX.Element | null;
|
|
@@ -54,7 +54,7 @@ export function MobileDock({ items, activeTo, activeId, renderLink, className, v
|
|
|
54
54
|
const label = typeof item.label === 'function' ? item.label() : item.label;
|
|
55
55
|
const isActive = isItemActive(item);
|
|
56
56
|
const isBrand = item.emphasis === 'brand';
|
|
57
|
-
const iconEl = isBrand ? (_jsx("span", { className: cn('flex size-8 items-center justify-center rounded-full bg-[
|
|
57
|
+
const iconEl = isBrand ? (_jsx("span", { className: cn('flex size-8 items-center justify-center rounded-full bg-[var(--color-brand-600)] text-white', isActive && 'ring-2 ring-primary ring-offset-2 ring-offset-card'), children: renderIcon(item.icon, 20) })) : (renderIcon(item.icon, 25));
|
|
58
58
|
// Active wins over brand: a slot carrying `aria-current="page"` must
|
|
59
59
|
// have a visible treatment too. The label goes primary; the glyph in the
|
|
60
60
|
// disc stays white because the disc sets its own colour.
|
|
@@ -128,5 +128,5 @@ export function MobileDock({ items, activeTo, activeId, renderLink, className, v
|
|
|
128
128
|
const actionActive = activeId != null && item.id === activeId;
|
|
129
129
|
return (_jsxs("button", { type: "button", onClick: () => runAction(item), "aria-label": label, className: cn('relative flex items-center justify-center rounded-full p-1 transition-colors', actionActive ? 'text-foreground' : 'text-muted-foreground hover:text-foreground'), children: [icon, badge] }));
|
|
130
130
|
};
|
|
131
|
-
return (_jsxs("div", { "data-testid": "mobile-dock", className: cn('pointer-events-none absolute inset-x-0 bottom-0 z-30 flex items-center justify-center gap-2.5 pb-[calc(env(safe-area-inset-bottom)+12px)] pt-2', className), children: [_jsx("nav", { "aria-label": "Dock", className: "pointer-events-auto flex items-center gap-[18px] rounded-full border border-border bg-card px-4 py-2.5 shadow-[0_6px_20px_rgba(20,18,60,0.14)]", children: pillItems.map((item) => (_jsx("span", { className: "flex", children: renderSlot(item, 22) }, item.id))) }), brandItems.map((item) => (_jsx("span", { className: cn('pointer-events-auto flex size-11 items-center justify-center rounded-full bg-[
|
|
131
|
+
return (_jsxs("div", { "data-testid": "mobile-dock", className: cn('pointer-events-none absolute inset-x-0 bottom-0 z-30 flex items-center justify-center gap-2.5 pb-[calc(env(safe-area-inset-bottom)+12px)] pt-2', className), children: [_jsx("nav", { "aria-label": "Dock", className: "pointer-events-auto flex items-center gap-[18px] rounded-full border border-border bg-card px-4 py-2.5 shadow-[0_6px_20px_rgba(20,18,60,0.14)]", children: pillItems.map((item) => (_jsx("span", { className: "flex", children: renderSlot(item, 22) }, item.id))) }), brandItems.map((item) => (_jsx("span", { className: cn('pointer-events-auto flex size-11 items-center justify-center rounded-full bg-[var(--color-brand-600)] text-white shadow-[0_6px_20px_rgba(91,45,140,0.35)]', isItemActive(item) && 'ring-2 ring-primary ring-offset-2 ring-offset-background'), children: renderSlot(item, 22) }, item.id)))] }));
|
|
132
132
|
}
|
|
@@ -47,4 +47,4 @@ export interface MobileDrawersProps {
|
|
|
47
47
|
* any custom-content drawers. Mount once near the AppShell root; drawers
|
|
48
48
|
* open/close via `ctx.mobileDrawer.open` provider state.
|
|
49
49
|
*/
|
|
50
|
-
export declare function MobileDrawers({ menuItems, menuActiveId, menuRenderLink, workspaceMenuItems, workspaceMenuFooter, module, moduleAppId, moduleActiveItemId, moduleRenderLink, moduleHeader, moduleScroll, sectionTabs, panelViews, defaultView, customContent, }: MobileDrawersProps): import("react
|
|
50
|
+
export declare function MobileDrawers({ menuItems, menuActiveId, menuRenderLink, workspaceMenuItems, workspaceMenuFooter, module, moduleAppId, moduleActiveItemId, moduleRenderLink, moduleHeader, moduleScroll, sectionTabs, panelViews, defaultView, customContent, }: MobileDrawersProps): import("react").JSX.Element;
|
|
@@ -22,4 +22,4 @@ export interface MobileHeaderProps {
|
|
|
22
22
|
*
|
|
23
23
|
* Renders nothing on non-mobile viewports.
|
|
24
24
|
*/
|
|
25
|
-
export declare function MobileHeader({ parentLabel, parentTo: _parentTo, title, onBack, globalActions, headerCenter, className, }: MobileHeaderProps): import("react
|
|
25
|
+
export declare function MobileHeader({ parentLabel, parentTo: _parentTo, title, onBack, globalActions, headerCenter, className, }: MobileHeaderProps): import("react").JSX.Element | null;
|
|
@@ -29,4 +29,4 @@ export interface MobileWorkspaceSheetProps {
|
|
|
29
29
|
* is expanded and scrolled into view on every open, and the user can still
|
|
30
30
|
* collapse it.
|
|
31
31
|
*/
|
|
32
|
-
export declare function MobileWorkspaceSheet({ tree, activeTo, activeId, currentFirst, renderLink, workspaceMenuItems, workspaceMenuFooter, }: MobileWorkspaceSheetProps): import("react
|
|
32
|
+
export declare function MobileWorkspaceSheet({ tree, activeTo, activeId, currentFirst, renderLink, workspaceMenuItems, workspaceMenuFooter, }: MobileWorkspaceSheetProps): import("react").JSX.Element;
|
|
@@ -12,4 +12,4 @@ export interface ResolvedPanelViews {
|
|
|
12
12
|
}
|
|
13
13
|
export declare function mergePanelViews(staticViews: PanelView[] | undefined, registrations: PanelViewRegistration[], staticDefaultView?: string): ResolvedPanelViews;
|
|
14
14
|
export declare function useResolvedPanelViews(staticViews?: PanelView[], staticDefaultView?: string): ResolvedPanelViews;
|
|
15
|
-
export declare function PanelViewsProvider({ views, defaultView, children }: PanelViewsProviderProps): import("react
|
|
15
|
+
export declare function PanelViewsProvider({ views, defaultView, children }: PanelViewsProviderProps): import("react").JSX.Element;
|
|
@@ -35,7 +35,7 @@ export interface RailDropSlotProps {
|
|
|
35
35
|
ariaLabel?: string;
|
|
36
36
|
ref?: Ref<HTMLElement>;
|
|
37
37
|
}
|
|
38
|
-
export declare function RailDropSlot({ id, accepts, disabled, children, render, className, ariaLabel, ref, }: RailDropSlotProps): import("react
|
|
38
|
+
export declare function RailDropSlot({ id, accepts, disabled, children, render, className, ariaLabel, ref, }: RailDropSlotProps): import("react").JSX.Element;
|
|
39
39
|
export declare namespace RailDropSlot {
|
|
40
40
|
var displayName: string;
|
|
41
41
|
}
|
|
@@ -22,7 +22,7 @@ export interface RailDropZonesProps {
|
|
|
22
22
|
children: ReactNode;
|
|
23
23
|
className?: string;
|
|
24
24
|
}
|
|
25
|
-
export declare function RailDropZones({ title, subtitle, count, icon, forceActive, isActive, children, className, }: RailDropZonesProps): import("react
|
|
25
|
+
export declare function RailDropZones({ title, subtitle, count, icon, forceActive, isActive, children, className, }: RailDropZonesProps): import("react").JSX.Element;
|
|
26
26
|
export declare namespace RailDropZones {
|
|
27
27
|
var displayName: string;
|
|
28
28
|
}
|