@ohhwells/bridge 0.1.127 → 0.1.128
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 +742 -657
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +18 -4
- package/dist/index.d.ts +18 -4
- package/dist/index.js +742 -657
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.cts
CHANGED
|
@@ -49,7 +49,15 @@ interface AiBlockNode {
|
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
interface AiSectionSettings {
|
|
52
|
+
/** @deprecated OHH-789 folds this into verticalPadding — kept readable so already-persisted
|
|
53
|
+
* trees carrying tight/balanced/airy still render; see legacyVerticalPaddingAlias below. */
|
|
52
54
|
spacing?: 'tight' | 'balanced' | 'airy';
|
|
55
|
+
/** Section-node vertical padding (OHH-789), any scaffold. Default 'm'. 'none' is a true 0px
|
|
56
|
+
* floor, below 'xs', for an explicit "remove the padding" ask. */
|
|
57
|
+
verticalPadding?: 'none' | 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
58
|
+
/** Section-node minimum-height floor (OHH-789), any scaffold. Default 'auto' — a floor, never
|
|
59
|
+
* a fixed height, so content taller than 'half'/'full' always extends the section. */
|
|
60
|
+
minHeight?: 'auto' | 'half' | 'full';
|
|
53
61
|
alignment?: 'left' | 'center';
|
|
54
62
|
ratio?: '1:1' | '5:3' | '3:5';
|
|
55
63
|
verticalPosition?: 'top' | 'center';
|
|
@@ -168,10 +176,16 @@ declare const AI_TREE_TOKENS: {
|
|
|
168
176
|
readonly radiusButton: 10;
|
|
169
177
|
readonly radiusCard: 18;
|
|
170
178
|
readonly sectionMaxWidth: 1280;
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
179
|
+
/** 6-step vertical-padding scale (OHH-789) — replaces the deprecated tight/balanced/airy
|
|
180
|
+
* map; `m` keeps the old `balanced` value (64) so already-generated sites render unchanged.
|
|
181
|
+
* `none` is the true zero floor for an explicit "remove the padding" ask. */
|
|
182
|
+
readonly sectionPaddingByScale: {
|
|
183
|
+
readonly none: 0;
|
|
184
|
+
readonly xs: 24;
|
|
185
|
+
readonly s: 40;
|
|
186
|
+
readonly m: 64;
|
|
187
|
+
readonly l: 96;
|
|
188
|
+
readonly xl: 128;
|
|
175
189
|
};
|
|
176
190
|
readonly type: {
|
|
177
191
|
readonly display: {
|
package/dist/index.d.ts
CHANGED
|
@@ -49,7 +49,15 @@ interface AiBlockNode {
|
|
|
49
49
|
};
|
|
50
50
|
}
|
|
51
51
|
interface AiSectionSettings {
|
|
52
|
+
/** @deprecated OHH-789 folds this into verticalPadding — kept readable so already-persisted
|
|
53
|
+
* trees carrying tight/balanced/airy still render; see legacyVerticalPaddingAlias below. */
|
|
52
54
|
spacing?: 'tight' | 'balanced' | 'airy';
|
|
55
|
+
/** Section-node vertical padding (OHH-789), any scaffold. Default 'm'. 'none' is a true 0px
|
|
56
|
+
* floor, below 'xs', for an explicit "remove the padding" ask. */
|
|
57
|
+
verticalPadding?: 'none' | 'xs' | 's' | 'm' | 'l' | 'xl';
|
|
58
|
+
/** Section-node minimum-height floor (OHH-789), any scaffold. Default 'auto' — a floor, never
|
|
59
|
+
* a fixed height, so content taller than 'half'/'full' always extends the section. */
|
|
60
|
+
minHeight?: 'auto' | 'half' | 'full';
|
|
53
61
|
alignment?: 'left' | 'center';
|
|
54
62
|
ratio?: '1:1' | '5:3' | '3:5';
|
|
55
63
|
verticalPosition?: 'top' | 'center';
|
|
@@ -168,10 +176,16 @@ declare const AI_TREE_TOKENS: {
|
|
|
168
176
|
readonly radiusButton: 10;
|
|
169
177
|
readonly radiusCard: 18;
|
|
170
178
|
readonly sectionMaxWidth: 1280;
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
179
|
+
/** 6-step vertical-padding scale (OHH-789) — replaces the deprecated tight/balanced/airy
|
|
180
|
+
* map; `m` keeps the old `balanced` value (64) so already-generated sites render unchanged.
|
|
181
|
+
* `none` is the true zero floor for an explicit "remove the padding" ask. */
|
|
182
|
+
readonly sectionPaddingByScale: {
|
|
183
|
+
readonly none: 0;
|
|
184
|
+
readonly xs: 24;
|
|
185
|
+
readonly s: 40;
|
|
186
|
+
readonly m: 64;
|
|
187
|
+
readonly l: 96;
|
|
188
|
+
readonly xl: 128;
|
|
175
189
|
};
|
|
176
190
|
readonly type: {
|
|
177
191
|
readonly display: {
|