@ohhwells/bridge 0.1.78 → 0.1.79
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 +1030 -133
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +6 -2
- package/dist/index.d.ts +6 -2
- package/dist/index.js +1030 -133
- package/dist/index.js.map +1 -1
- package/dist/styles.css +3 -0
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -20,7 +20,7 @@ declare function OhhwellsBridge(): react_jsx_runtime.JSX.Element;
|
|
|
20
20
|
*/
|
|
21
21
|
declare const AI_TREE_SCHEMA_VERSIONS: readonly [1];
|
|
22
22
|
type SectionScaffold = 'stacked' | 'split' | 'overlay';
|
|
23
|
-
type AiBlockType = 'text' | 'button' | 'media' | 'media-list' | 'rating' | 'divider' | 'input' | 'section-header' | 'button-row' | 'card' | 'collection' | 'accordion' | 'form' | 'embed' | 'schedule-widget';
|
|
23
|
+
type AiBlockType = 'text' | 'button' | 'media' | 'media-list' | 'rating' | 'divider' | 'input' | 'section-header' | 'button-row' | 'card' | 'collection' | 'accordion' | 'form' | 'embed' | 'schedule-widget' | 'group';
|
|
24
24
|
interface AiBlockNode {
|
|
25
25
|
type: AiBlockType;
|
|
26
26
|
span: number;
|
|
@@ -44,6 +44,10 @@ interface AiSectionSettings {
|
|
|
44
44
|
verticalPosition?: 'top' | 'center';
|
|
45
45
|
overlayIntensity?: 'low' | 'medium' | 'high';
|
|
46
46
|
backgroundMedia?: string;
|
|
47
|
+
/** Tinted band behind the section, resolved against the brand tokens. */
|
|
48
|
+
sectionBackground?: 'default' | 'surface' | 'accent' | 'accent-soft';
|
|
49
|
+
/** Vertical distribution of column content (stacked/split scaffolds). */
|
|
50
|
+
textDistribution?: 'top' | 'center' | 'space-between';
|
|
47
51
|
}
|
|
48
52
|
interface AiLayoutTree {
|
|
49
53
|
schemaVersion: number;
|
|
@@ -249,7 +253,7 @@ declare function filterAvailablePages(pages: LinkPage[], existingTargets: string
|
|
|
249
253
|
|
|
250
254
|
declare const toggleVariants: (props?: ({
|
|
251
255
|
variant?: "default" | "outline" | null | undefined;
|
|
252
|
-
size?: "default" | "
|
|
256
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
253
257
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
254
258
|
declare function Toggle({ className, variant, size, ...props }: React.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
255
259
|
|
package/dist/index.d.ts
CHANGED
|
@@ -20,7 +20,7 @@ declare function OhhwellsBridge(): react_jsx_runtime.JSX.Element;
|
|
|
20
20
|
*/
|
|
21
21
|
declare const AI_TREE_SCHEMA_VERSIONS: readonly [1];
|
|
22
22
|
type SectionScaffold = 'stacked' | 'split' | 'overlay';
|
|
23
|
-
type AiBlockType = 'text' | 'button' | 'media' | 'media-list' | 'rating' | 'divider' | 'input' | 'section-header' | 'button-row' | 'card' | 'collection' | 'accordion' | 'form' | 'embed' | 'schedule-widget';
|
|
23
|
+
type AiBlockType = 'text' | 'button' | 'media' | 'media-list' | 'rating' | 'divider' | 'input' | 'section-header' | 'button-row' | 'card' | 'collection' | 'accordion' | 'form' | 'embed' | 'schedule-widget' | 'group';
|
|
24
24
|
interface AiBlockNode {
|
|
25
25
|
type: AiBlockType;
|
|
26
26
|
span: number;
|
|
@@ -44,6 +44,10 @@ interface AiSectionSettings {
|
|
|
44
44
|
verticalPosition?: 'top' | 'center';
|
|
45
45
|
overlayIntensity?: 'low' | 'medium' | 'high';
|
|
46
46
|
backgroundMedia?: string;
|
|
47
|
+
/** Tinted band behind the section, resolved against the brand tokens. */
|
|
48
|
+
sectionBackground?: 'default' | 'surface' | 'accent' | 'accent-soft';
|
|
49
|
+
/** Vertical distribution of column content (stacked/split scaffolds). */
|
|
50
|
+
textDistribution?: 'top' | 'center' | 'space-between';
|
|
47
51
|
}
|
|
48
52
|
interface AiLayoutTree {
|
|
49
53
|
schemaVersion: number;
|
|
@@ -249,7 +253,7 @@ declare function filterAvailablePages(pages: LinkPage[], existingTargets: string
|
|
|
249
253
|
|
|
250
254
|
declare const toggleVariants: (props?: ({
|
|
251
255
|
variant?: "default" | "outline" | null | undefined;
|
|
252
|
-
size?: "default" | "
|
|
256
|
+
size?: "default" | "lg" | "sm" | null | undefined;
|
|
253
257
|
} & class_variance_authority_types.ClassProp) | undefined) => string;
|
|
254
258
|
declare function Toggle({ className, variant, size, ...props }: React.ComponentProps<typeof Toggle$1.Root> & VariantProps<typeof toggleVariants>): react_jsx_runtime.JSX.Element;
|
|
255
259
|
|