@ohhwells/bridge 0.1.112-next.291 → 0.1.112

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.d.cts CHANGED
@@ -63,27 +63,6 @@ interface AiLayoutTree {
63
63
  align?: 'top' | 'center' | 'bottom' | 'stretch';
64
64
  }>;
65
65
  }
66
- /** One uploaded weight file for a custom font family. */
67
- interface AiCustomFontWeight {
68
- weight: number;
69
- /** Present when the file is a variable font with a `wght` axis — `weight` is the axis min,
70
- * `weightEnd` the axis max, together spanning every weight the one file actually covers. */
71
- weightEnd?: number;
72
- url: string;
73
- format: 'woff2' | 'woff' | 'truetype' | 'opentype';
74
- }
75
- /**
76
- * A custom (non-Google) font family, grouped by its uploaded weight files so a bold heading
77
- * actually resolves to a real bold file instead of the browser synthesizing fake bold from
78
- * whichever single weight happens to be present.
79
- */
80
- interface AiCustomFont {
81
- /** Collision-proof internal family name — what `fonts.heading`/`fonts.body` actually reference. */
82
- family: string;
83
- /** Human-readable name shown in the picker; hidden everywhere the internal `family` is used. */
84
- label: string;
85
- weights: AiCustomFontWeight[];
86
- }
87
66
  /** The site brand kit the renderer styles from (editor Brand settings). */
88
67
  interface AiBrandKit {
89
68
  palette: {
@@ -96,26 +75,6 @@ interface AiBrandKit {
96
75
  heading: string;
97
76
  body: string;
98
77
  };
99
- customFonts?: AiCustomFont[];
100
- }
101
- /**
102
- * Shape, padding and typography measured off a host-template CTA, so generated buttons read as the
103
- * site's own button rather than a default. Colour stays brand-driven (band-aware); everything here
104
- * follows the template button. Null when the page has no template button to measure.
105
- */
106
- interface TemplateButtonStyle {
107
- radius: string;
108
- padding: string;
109
- fontFamily: string;
110
- fontSize: string;
111
- fontWeight: string;
112
- letterSpacing: string;
113
- textTransform: string;
114
- /** Measured fill/label pair of the template's primary CTA — a template may fill its buttons
115
- * with any token (hvac uses accent, not primary), so the pair travels together. Absent when
116
- * the page's only buttons are unfilled (ghost/outline). */
117
- background?: string;
118
- color?: string;
119
78
  }
120
79
  /**
121
80
  * Shape, padding and typography measured off a host-template CTA, so generated buttons read as the
@@ -488,16 +447,6 @@ declare function TooltipContent({ className, sideOffset, side, children, hideArr
488
447
  hideArrow?: boolean;
489
448
  }): react_jsx_runtime.JSX.Element;
490
449
 
491
- interface EmptySectionProps {
492
- title: string;
493
- homeHref?: string;
494
- /** data-ohw-key values for the editable text nodes — omit a key to leave that node non-editable. */
495
- eyebrowKey?: string;
496
- titleKey?: string;
497
- subtitleKey?: string;
498
- }
499
- declare function EmptySection({ title, homeHref, eyebrowKey, titleKey, subtitleKey }: EmptySectionProps): react_jsx_runtime.JSX.Element;
500
-
501
450
  declare function isEditSessionActive(): boolean;
502
451
 
503
452
  type CarouselSlide = {
@@ -521,4 +470,4 @@ declare function useOhwCarousel(key: string, initial: CarouselSlide[]): {
521
470
  bind: Record<string, string>;
522
471
  };
523
472
 
524
- 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 };
473
+ 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 };
package/dist/index.d.ts CHANGED
@@ -63,27 +63,6 @@ interface AiLayoutTree {
63
63
  align?: 'top' | 'center' | 'bottom' | 'stretch';
64
64
  }>;
65
65
  }
66
- /** One uploaded weight file for a custom font family. */
67
- interface AiCustomFontWeight {
68
- weight: number;
69
- /** Present when the file is a variable font with a `wght` axis — `weight` is the axis min,
70
- * `weightEnd` the axis max, together spanning every weight the one file actually covers. */
71
- weightEnd?: number;
72
- url: string;
73
- format: 'woff2' | 'woff' | 'truetype' | 'opentype';
74
- }
75
- /**
76
- * A custom (non-Google) font family, grouped by its uploaded weight files so a bold heading
77
- * actually resolves to a real bold file instead of the browser synthesizing fake bold from
78
- * whichever single weight happens to be present.
79
- */
80
- interface AiCustomFont {
81
- /** Collision-proof internal family name — what `fonts.heading`/`fonts.body` actually reference. */
82
- family: string;
83
- /** Human-readable name shown in the picker; hidden everywhere the internal `family` is used. */
84
- label: string;
85
- weights: AiCustomFontWeight[];
86
- }
87
66
  /** The site brand kit the renderer styles from (editor Brand settings). */
88
67
  interface AiBrandKit {
89
68
  palette: {
@@ -96,26 +75,6 @@ interface AiBrandKit {
96
75
  heading: string;
97
76
  body: string;
98
77
  };
99
- customFonts?: AiCustomFont[];
100
- }
101
- /**
102
- * Shape, padding and typography measured off a host-template CTA, so generated buttons read as the
103
- * site's own button rather than a default. Colour stays brand-driven (band-aware); everything here
104
- * follows the template button. Null when the page has no template button to measure.
105
- */
106
- interface TemplateButtonStyle {
107
- radius: string;
108
- padding: string;
109
- fontFamily: string;
110
- fontSize: string;
111
- fontWeight: string;
112
- letterSpacing: string;
113
- textTransform: string;
114
- /** Measured fill/label pair of the template's primary CTA — a template may fill its buttons
115
- * with any token (hvac uses accent, not primary), so the pair travels together. Absent when
116
- * the page's only buttons are unfilled (ghost/outline). */
117
- background?: string;
118
- color?: string;
119
78
  }
120
79
  /**
121
80
  * Shape, padding and typography measured off a host-template CTA, so generated buttons read as the
@@ -488,16 +447,6 @@ declare function TooltipContent({ className, sideOffset, side, children, hideArr
488
447
  hideArrow?: boolean;
489
448
  }): react_jsx_runtime.JSX.Element;
490
449
 
491
- interface EmptySectionProps {
492
- title: string;
493
- homeHref?: string;
494
- /** data-ohw-key values for the editable text nodes — omit a key to leave that node non-editable. */
495
- eyebrowKey?: string;
496
- titleKey?: string;
497
- subtitleKey?: string;
498
- }
499
- declare function EmptySection({ title, homeHref, eyebrowKey, titleKey, subtitleKey }: EmptySectionProps): react_jsx_runtime.JSX.Element;
500
-
501
450
  declare function isEditSessionActive(): boolean;
502
451
 
503
452
  type CarouselSlide = {
@@ -521,4 +470,4 @@ declare function useOhwCarousel(key: string, initial: CarouselSlide[]): {
521
470
  bind: Record<string, string>;
522
471
  };
523
472
 
524
- 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 };
473
+ 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 };