@ohhwells/bridge 0.1.57 → 0.1.59-next.170
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/dist/index.cjs +1437 -177
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +12 -2
- package/dist/index.d.ts +12 -2
- package/dist/index.js +1434 -175
- package/dist/index.js.map +1 -1
- package/dist/pages.cjs +141 -0
- package/dist/pages.cjs.map +1 -0
- package/dist/pages.d.cts +45 -0
- package/dist/pages.d.ts +45 -0
- package/dist/pages.js +107 -0
- package/dist/pages.js.map +1 -0
- package/dist/styles.css +58 -0
- package/package.json +6 -1
package/dist/index.d.cts
CHANGED
|
@@ -267,7 +267,7 @@ declare function SchedulingWidget({ notifyOnConnect, initialScheduleId, insertAf
|
|
|
267
267
|
notifyOnConnect?: boolean;
|
|
268
268
|
initialScheduleId?: string | null;
|
|
269
269
|
insertAfter?: string;
|
|
270
|
-
}): react_jsx_runtime.JSX.Element
|
|
270
|
+
}): react_jsx_runtime.JSX.Element;
|
|
271
271
|
|
|
272
272
|
declare const DragHandle: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
273
273
|
|
|
@@ -406,6 +406,16 @@ declare function TooltipContent({ className, sideOffset, side, children, hideArr
|
|
|
406
406
|
hideArrow?: boolean;
|
|
407
407
|
}): react_jsx_runtime.JSX.Element;
|
|
408
408
|
|
|
409
|
+
interface EmptySectionProps {
|
|
410
|
+
title: string;
|
|
411
|
+
homeHref?: string;
|
|
412
|
+
/** data-ohw-key values for the editable text nodes — omit a key to leave that node non-editable. */
|
|
413
|
+
eyebrowKey?: string;
|
|
414
|
+
titleKey?: string;
|
|
415
|
+
subtitleKey?: string;
|
|
416
|
+
}
|
|
417
|
+
declare function EmptySection({ title, homeHref, eyebrowKey, titleKey, subtitleKey }: EmptySectionProps): react_jsx_runtime.JSX.Element;
|
|
418
|
+
|
|
409
419
|
declare function isEditSessionActive(): boolean;
|
|
410
420
|
|
|
411
421
|
type CarouselSlide = {
|
|
@@ -429,4 +439,4 @@ declare function useOhwCarousel(key: string, initial: CarouselSlide[]): {
|
|
|
429
439
|
bind: Record<string, string>;
|
|
430
440
|
};
|
|
431
441
|
|
|
432
|
-
export { AI_DEFAULT_BRAND, AI_TREE_SCHEMA_VERSIONS, AI_TREE_TOKENS, type AiBlockNode, type AiBrandKit, type AiLayoutTree, AiTreeRenderer, type AiTreeRendererProps, type CarouselSlide, CustomToolbar, CustomToolbarButton, CustomToolbarDivider, DragHandle, DropIndicator, type DropIndicatorProps, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, ItemActionToolbar, type ItemActionToolbarProps, ItemInteractionLayer, type ItemInteractionLayerProps, type ItemInteractionState, LinkEditorPanel, type LinkModalMode, type LinkModalProps, type LinkPage, LinkPopover, type LinkSection, OhhwellsBridge, SchedulingWidget, type SectionScaffold, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buildTarget, dropIndicatorVariants, filterAvailablePages, getEditModeInitialState, isEditSessionActive, isRenderableTree, isValidUrl, parseTarget, toggleVariants, useOhwCarousel, validateUrlInput };
|
|
442
|
+
export { AI_DEFAULT_BRAND, AI_TREE_SCHEMA_VERSIONS, AI_TREE_TOKENS, type AiBlockNode, type AiBrandKit, type AiLayoutTree, AiTreeRenderer, type AiTreeRendererProps, type CarouselSlide, CustomToolbar, CustomToolbarButton, CustomToolbarDivider, DragHandle, DropIndicator, type DropIndicatorProps, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, EmptySection, type EmptySectionProps, ItemActionToolbar, type ItemActionToolbarProps, ItemInteractionLayer, type ItemInteractionLayerProps, type ItemInteractionState, LinkEditorPanel, type LinkModalMode, type LinkModalProps, type LinkPage, LinkPopover, type LinkSection, OhhwellsBridge, SchedulingWidget, type SectionScaffold, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buildTarget, dropIndicatorVariants, filterAvailablePages, getEditModeInitialState, isEditSessionActive, isRenderableTree, isValidUrl, parseTarget, toggleVariants, useOhwCarousel, validateUrlInput };
|
package/dist/index.d.ts
CHANGED
|
@@ -267,7 +267,7 @@ declare function SchedulingWidget({ notifyOnConnect, initialScheduleId, insertAf
|
|
|
267
267
|
notifyOnConnect?: boolean;
|
|
268
268
|
initialScheduleId?: string | null;
|
|
269
269
|
insertAfter?: string;
|
|
270
|
-
}): react_jsx_runtime.JSX.Element
|
|
270
|
+
}): react_jsx_runtime.JSX.Element;
|
|
271
271
|
|
|
272
272
|
declare const DragHandle: React.ForwardRefExoticComponent<React.ButtonHTMLAttributes<HTMLButtonElement> & React.RefAttributes<HTMLButtonElement>>;
|
|
273
273
|
|
|
@@ -406,6 +406,16 @@ declare function TooltipContent({ className, sideOffset, side, children, hideArr
|
|
|
406
406
|
hideArrow?: boolean;
|
|
407
407
|
}): react_jsx_runtime.JSX.Element;
|
|
408
408
|
|
|
409
|
+
interface EmptySectionProps {
|
|
410
|
+
title: string;
|
|
411
|
+
homeHref?: string;
|
|
412
|
+
/** data-ohw-key values for the editable text nodes — omit a key to leave that node non-editable. */
|
|
413
|
+
eyebrowKey?: string;
|
|
414
|
+
titleKey?: string;
|
|
415
|
+
subtitleKey?: string;
|
|
416
|
+
}
|
|
417
|
+
declare function EmptySection({ title, homeHref, eyebrowKey, titleKey, subtitleKey }: EmptySectionProps): react_jsx_runtime.JSX.Element;
|
|
418
|
+
|
|
409
419
|
declare function isEditSessionActive(): boolean;
|
|
410
420
|
|
|
411
421
|
type CarouselSlide = {
|
|
@@ -429,4 +439,4 @@ declare function useOhwCarousel(key: string, initial: CarouselSlide[]): {
|
|
|
429
439
|
bind: Record<string, string>;
|
|
430
440
|
};
|
|
431
441
|
|
|
432
|
-
export { AI_DEFAULT_BRAND, AI_TREE_SCHEMA_VERSIONS, AI_TREE_TOKENS, type AiBlockNode, type AiBrandKit, type AiLayoutTree, AiTreeRenderer, type AiTreeRendererProps, type CarouselSlide, CustomToolbar, CustomToolbarButton, CustomToolbarDivider, DragHandle, DropIndicator, type DropIndicatorProps, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, ItemActionToolbar, type ItemActionToolbarProps, ItemInteractionLayer, type ItemInteractionLayerProps, type ItemInteractionState, LinkEditorPanel, type LinkModalMode, type LinkModalProps, type LinkPage, LinkPopover, type LinkSection, OhhwellsBridge, SchedulingWidget, type SectionScaffold, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buildTarget, dropIndicatorVariants, filterAvailablePages, getEditModeInitialState, isEditSessionActive, isRenderableTree, isValidUrl, parseTarget, toggleVariants, useOhwCarousel, validateUrlInput };
|
|
442
|
+
export { AI_DEFAULT_BRAND, AI_TREE_SCHEMA_VERSIONS, AI_TREE_TOKENS, type AiBlockNode, type AiBrandKit, type AiLayoutTree, AiTreeRenderer, type AiTreeRendererProps, type CarouselSlide, CustomToolbar, CustomToolbarButton, CustomToolbarDivider, DragHandle, DropIndicator, type DropIndicatorProps, DropdownMenu, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuSeparator, DropdownMenuTrigger, EmptySection, type EmptySectionProps, ItemActionToolbar, type ItemActionToolbarProps, ItemInteractionLayer, type ItemInteractionLayerProps, type ItemInteractionState, LinkEditorPanel, type LinkModalMode, type LinkModalProps, type LinkPage, LinkPopover, type LinkSection, OhhwellsBridge, SchedulingWidget, type SectionScaffold, Toggle, ToggleGroup, ToggleGroupItem, Tooltip, TooltipContent, TooltipProvider, TooltipTrigger, buildTarget, dropIndicatorVariants, filterAvailablePages, getEditModeInitialState, isEditSessionActive, isRenderableTree, isValidUrl, parseTarget, toggleVariants, useOhwCarousel, validateUrlInput };
|