@bettercms-ai/types 1.66.0 → 1.68.0
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.ts +257 -13
- package/dist/index.js +295 -7
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -589,7 +589,7 @@ type OpenMode = "inline" | "drill" | "popover" | "dialog";
|
|
|
589
589
|
* editor falls back to its title-gated heuristic. Only an explicit value promotes a
|
|
590
590
|
* field past that gate.
|
|
591
591
|
*/
|
|
592
|
-
type ContentModelFieldPlacement = "cover" | "title" | "excerpt" | "body" | "inline" | "panel";
|
|
592
|
+
type ContentModelFieldPlacement = "cover" | "title" | "excerpt" | "body" | "inline" | "panel" | "settings";
|
|
593
593
|
/**
|
|
594
594
|
* Editor-only conditional visibility: the field (or component prop) shows only while the
|
|
595
595
|
* sibling keys its rules name hold these values. `isSet` reads no `value`: it passes once the
|
|
@@ -754,6 +754,8 @@ interface ContentModelFieldUi {
|
|
|
754
754
|
/** V2 item identity on a list: the item type's own name (an identifier) and title. */
|
|
755
755
|
itemName?: string;
|
|
756
756
|
itemTitle?: string;
|
|
757
|
+
/** A fixed prefix the control draws before the value. Editor-only. */
|
|
758
|
+
prefix?: string;
|
|
757
759
|
/** V2 `synced`: the value comes from a global, so an edit applies everywhere. A marker. */
|
|
758
760
|
synced?: {
|
|
759
761
|
from: string;
|
|
@@ -1105,8 +1107,84 @@ declare function buttonFullWidthProblem(value: unknown, previous?: unknown): str
|
|
|
1105
1107
|
* buttonLookValue): a variant is one of those or one of the fixed names.
|
|
1106
1108
|
*/
|
|
1107
1109
|
declare function buttonValueProblem(value: unknown, looks?: ReadonlySet<string>): string | null;
|
|
1110
|
+
/**
|
|
1111
|
+
* A button's own corner and text, set per button (the Button panel's Radius and Text groups). Each
|
|
1112
|
+
* is a closed token → one fixed declaration on the button's element; absent means the variant's own.
|
|
1113
|
+
* `letterSpacing` is hundredths of an em. `font`: the site's body font, the brand's display serif
|
|
1114
|
+
* (`--bcms-font-heading`) or its mono (`--bcms-font-mono`), each with a generic fallback.
|
|
1115
|
+
*/
|
|
1116
|
+
declare const BUTTON_TEXT_CSS: {
|
|
1117
|
+
readonly radius: {
|
|
1118
|
+
readonly prop: "borderRadius";
|
|
1119
|
+
readonly values: {
|
|
1120
|
+
readonly "0": "0";
|
|
1121
|
+
readonly s: "4px";
|
|
1122
|
+
readonly m: "8px";
|
|
1123
|
+
readonly l: "12px";
|
|
1124
|
+
readonly full: "999px";
|
|
1125
|
+
};
|
|
1126
|
+
};
|
|
1127
|
+
readonly font: {
|
|
1128
|
+
readonly prop: "fontFamily";
|
|
1129
|
+
readonly values: {
|
|
1130
|
+
readonly site: "inherit";
|
|
1131
|
+
readonly serif: "var(--bcms-font-heading,Georgia,serif)";
|
|
1132
|
+
readonly mono: "var(--bcms-font-mono,ui-monospace,SFMono-Regular,Menlo,monospace)";
|
|
1133
|
+
};
|
|
1134
|
+
};
|
|
1135
|
+
readonly fontSize: {
|
|
1136
|
+
readonly prop: "fontSize";
|
|
1137
|
+
readonly values: {
|
|
1138
|
+
readonly "12": "12px";
|
|
1139
|
+
readonly "13": "13px";
|
|
1140
|
+
readonly "14": "14px";
|
|
1141
|
+
readonly "16": "16px";
|
|
1142
|
+
readonly "18": "18px";
|
|
1143
|
+
};
|
|
1144
|
+
};
|
|
1145
|
+
readonly weight: {
|
|
1146
|
+
readonly prop: "fontWeight";
|
|
1147
|
+
readonly values: {
|
|
1148
|
+
readonly "400": "400";
|
|
1149
|
+
readonly "500": "500";
|
|
1150
|
+
readonly "600": "600";
|
|
1151
|
+
readonly "700": "700";
|
|
1152
|
+
readonly "800": "800";
|
|
1153
|
+
};
|
|
1154
|
+
};
|
|
1155
|
+
readonly letterSpacing: {
|
|
1156
|
+
readonly prop: "letterSpacing";
|
|
1157
|
+
readonly values: {
|
|
1158
|
+
readonly "-2": "-0.02em";
|
|
1159
|
+
readonly "-1": "-0.01em";
|
|
1160
|
+
readonly "0": "0";
|
|
1161
|
+
readonly "1": "0.01em";
|
|
1162
|
+
readonly "2": "0.02em";
|
|
1163
|
+
};
|
|
1164
|
+
};
|
|
1165
|
+
readonly textCase: {
|
|
1166
|
+
readonly prop: "textTransform";
|
|
1167
|
+
readonly values: {
|
|
1168
|
+
readonly none: "none";
|
|
1169
|
+
readonly title: "capitalize";
|
|
1170
|
+
readonly upper: "uppercase";
|
|
1171
|
+
};
|
|
1172
|
+
};
|
|
1173
|
+
};
|
|
1174
|
+
type ButtonTextKey = keyof typeof BUTTON_TEXT_CSS;
|
|
1175
|
+
declare const BUTTON_TEXT_KEYS: ButtonTextKey[];
|
|
1176
|
+
/**
|
|
1177
|
+
* A button's `radius` / `font` / `fontSize` / `weight` / `letterSpacing` / `textCase` props as the
|
|
1178
|
+
* declarations for its element (camelCase, a React `style`), or undefined when it sets none.
|
|
1179
|
+
* By OWN key only, so an unknown or hostile value paints nothing. Every lane paints from this.
|
|
1180
|
+
*/
|
|
1181
|
+
declare function buttonTextCss(props: unknown): Record<string, string> | undefined;
|
|
1182
|
+
/** `buttonTextCss` as an inline `style` string (`border-radius:8px;font-weight:600`), "" when empty. */
|
|
1183
|
+
declare function buttonTextCssText(props: unknown): string;
|
|
1184
|
+
/** Why a button's text/radius props are refused, or null: each, when present, must be one of its tokens. */
|
|
1185
|
+
declare function buttonTextProblem(value: unknown): string | null;
|
|
1108
1186
|
/** The look keys an instance of a Button component may override, beside its label and link. */
|
|
1109
|
-
declare const BUTTON_LOOK_KEYS: readonly ["variant", "size", "arrow", "icon", "newTab", "fullWidth"];
|
|
1187
|
+
declare const BUTTON_LOOK_KEYS: readonly ["variant", "size", "arrow", "icon", "newTab", "fullWidth", "radius", "font", "fontSize", "weight", "letterSpacing", "textCase"];
|
|
1110
1188
|
type ButtonLookKey = (typeof BUTTON_LOOK_KEYS)[number];
|
|
1111
1189
|
/**
|
|
1112
1190
|
* A `button` PROP's value as the `button` BLOCK props it writes, for every lane that applies an
|
|
@@ -1153,8 +1231,12 @@ declare function buttonValueOfInstance<P extends PropDefLike>(def: ComponentLike
|
|
|
1153
1231
|
type SpaceToken = "none" | "xs" | "sm" | "md" | "lg" | "xl";
|
|
1154
1232
|
type ColorToken = "none" | "white" | "black" | "muted" | "mutedBg" | "primary" | "accent";
|
|
1155
1233
|
type AlignToken = "left" | "center" | "right";
|
|
1156
|
-
/**
|
|
1157
|
-
|
|
1234
|
+
/**
|
|
1235
|
+
* 3xl/4xl/5xl (2.25/3/4rem) were added for headings, whose size now paints on the <hN> itself.
|
|
1236
|
+
* xs / md / 3.5xl (12 / 18 / 40px) complete the text toolbar's size menu: 12 14 16 18 20 24 32 40 48 64
|
|
1237
|
+
* (36px `3xl` stays for content written before it).
|
|
1238
|
+
*/
|
|
1239
|
+
type FontSizeToken = "xs" | "sm" | "base" | "md" | "lg" | "xl" | "2xl" | "3xl" | "3.5xl" | "4xl" | "5xl";
|
|
1158
1240
|
type WeightToken = "normal" | "medium" | "semibold" | "bold";
|
|
1159
1241
|
type RadiusToken = "none" | "sm" | "md" | "lg" | "full";
|
|
1160
1242
|
declare const THEME_TOKENS: readonly ["inherit", "light", "dark"];
|
|
@@ -1194,6 +1276,11 @@ interface BlockStyle {
|
|
|
1194
1276
|
paddingTop?: number;
|
|
1195
1277
|
paddingBottom?: number;
|
|
1196
1278
|
paddingSides?: number;
|
|
1279
|
+
/**
|
|
1280
|
+
* Opt-in: the px `paddingTop` / `paddingBottom` shrink with the device (×.8 on a tablet, ×.6 on a
|
|
1281
|
+
* phone). Absent or false = the same px on every screen, as every page published before it.
|
|
1282
|
+
*/
|
|
1283
|
+
padScale?: boolean;
|
|
1197
1284
|
/** Section spacing as token steps (see sectionSpace.ts). Only the top may pull under the nav. */
|
|
1198
1285
|
spaceTop?: SectionSpaceToken;
|
|
1199
1286
|
spaceBottom?: Exclude<SectionSpaceToken, "section-space-nav-overlap">;
|
|
@@ -1229,6 +1316,12 @@ interface BlockStyle {
|
|
|
1229
1316
|
* emits it (`hiddenEverywhere`, `visibleBlocks`). Bands: see `BREAKPOINTS`.
|
|
1230
1317
|
*/
|
|
1231
1318
|
hideOn?: Array<"mobile" | "tablet" | "desktop">;
|
|
1319
|
+
/** A named background that wins over `bg`. `brand-tint`: the brand accent at 8% over the surface (`--bcms-bg-tint`). */
|
|
1320
|
+
bgToken?: "brand-tint";
|
|
1321
|
+
/** The section element's `id` (a link target, `#pricing`): lower-case letters, digits and dashes. @see sectionIdentityAttrs */
|
|
1322
|
+
anchor?: string;
|
|
1323
|
+
/** Extra class names for the section element, space-separated. @see sectionIdentityAttrs */
|
|
1324
|
+
cssClass?: string;
|
|
1232
1325
|
}
|
|
1233
1326
|
/** The paint a button swaps to on hover: fill, text colour, and the all-round border. */
|
|
1234
1327
|
interface BlockHoverStyle {
|
|
@@ -1404,6 +1497,12 @@ interface ImageProps {
|
|
|
1404
1497
|
* never the shared media asset's, so one Undo reverses it with the alt.
|
|
1405
1498
|
*/
|
|
1406
1499
|
decorative?: boolean;
|
|
1500
|
+
/** A logo's name: with no `src` the block draws this as a word mark instead of nothing (the Logos list). */
|
|
1501
|
+
wordmark?: string;
|
|
1502
|
+
/** Where the picture links to. Absent or "" = no anchor. */
|
|
1503
|
+
href?: string;
|
|
1504
|
+
/** Open `href` in a new tab (`target="_blank" rel="noopener"`). */
|
|
1505
|
+
newTab?: boolean;
|
|
1407
1506
|
}
|
|
1408
1507
|
interface ImageBlock {
|
|
1409
1508
|
type: "image";
|
|
@@ -1437,6 +1536,14 @@ interface ButtonProps {
|
|
|
1437
1536
|
rel?: "nofollow" | "sponsored" | "ugc";
|
|
1438
1537
|
/** `"code"`: the click is the site's own script, so it renders `<button type="button">` and `href` is "". Absent ⇒ a link. */
|
|
1439
1538
|
action?: "code";
|
|
1539
|
+
/** The button's own corner and text; absent ⇒ the variant's own. Tokens and CSS: `BUTTON_TEXT_CSS` (button-look.ts). */
|
|
1540
|
+
radius?: "0" | "s" | "m" | "l" | "full";
|
|
1541
|
+
font?: "site" | "serif" | "mono";
|
|
1542
|
+
fontSize?: "12" | "13" | "14" | "16" | "18";
|
|
1543
|
+
weight?: "400" | "500" | "600" | "700" | "800";
|
|
1544
|
+
/** Hundredths of an em. */
|
|
1545
|
+
letterSpacing?: "-2" | "-1" | "0" | "1" | "2";
|
|
1546
|
+
textCase?: "none" | "title" | "upper";
|
|
1440
1547
|
}
|
|
1441
1548
|
interface ButtonBlock {
|
|
1442
1549
|
type: "button";
|
|
@@ -1515,6 +1622,10 @@ interface SectionProps {
|
|
|
1515
1622
|
background?: string;
|
|
1516
1623
|
paddingY?: number;
|
|
1517
1624
|
maxWidth?: number;
|
|
1625
|
+
/** Draw the children as a logo strip: one centred line that wraps, or a grid of rows. */
|
|
1626
|
+
logoLayout?: "row" | "grid";
|
|
1627
|
+
/** The Logos list's rows as the dock wrote them (`{ _key, image, name, link, newTab }`); the children are drawn from them. */
|
|
1628
|
+
logos?: unknown[];
|
|
1518
1629
|
}
|
|
1519
1630
|
interface SectionBlock {
|
|
1520
1631
|
type: "section";
|
|
@@ -1599,6 +1710,8 @@ interface TabItem {
|
|
|
1599
1710
|
}
|
|
1600
1711
|
interface TabsProps {
|
|
1601
1712
|
tabs: TabItem[];
|
|
1713
|
+
/** How the tab row is drawn. Absent = `underline`, the block's first look. */
|
|
1714
|
+
variant?: "underline" | "pills" | "side";
|
|
1602
1715
|
}
|
|
1603
1716
|
interface TabsBlock {
|
|
1604
1717
|
type: "tabs";
|
|
@@ -1908,6 +2021,11 @@ declare function componentInstanceAddresses(instanceBlockId: string, props: read
|
|
|
1908
2021
|
* render-page.ts. Unknown tokens are dropped — closed set, no arbitrary CSS.
|
|
1909
2022
|
*/
|
|
1910
2023
|
|
|
2024
|
+
/**
|
|
2025
|
+
* Every font-size token with its size in px at a 16px root, smallest first: what a size menu lists
|
|
2026
|
+
* (12 14 16 18 20 24 32 36 40 48 64) and how a px size is turned back into the token to store.
|
|
2027
|
+
*/
|
|
2028
|
+
declare const FONT_SIZE_TOKEN_PX: Readonly<Record<string, number>>;
|
|
1911
2029
|
/**
|
|
1912
2030
|
* V2's media frame (`aspect-[16/7]` + `cs-r2` on the image wrapper, site/hero.tsx and content.tsx):
|
|
1913
2031
|
* the picture fills its column, is cropped to the ratio (cover), and takes the theme's large media
|
|
@@ -1924,6 +2042,8 @@ declare function imageFrameCss(style: unknown): {
|
|
|
1924
2042
|
objectFit: "cover";
|
|
1925
2043
|
borderRadius?: string;
|
|
1926
2044
|
} | null;
|
|
2045
|
+
/** `style.bgToken`: named section backgrounds. A brand kit may set `--bcms-bg-tint`; without it, the accent at 8% over the surface. */
|
|
2046
|
+
declare const BG_TOKEN_CSS: Readonly<Record<string, string>>;
|
|
1927
2047
|
/**
|
|
1928
2048
|
* Where a block's `hideOn` bands start and end: mobile at most 767px, tablet 768-1023px, desktop
|
|
1929
2049
|
* 1024px and up (the dock's 390 / 810 / 1280 canvases fall one in each band). A site's CSS
|
|
@@ -1948,6 +2068,31 @@ declare const RESPONSIVE_CSS: string;
|
|
|
1948
2068
|
* and the editor's lane draws it whole, marked `data-bcms-hidden`, so the author can find it.
|
|
1949
2069
|
*/
|
|
1950
2070
|
declare function hideOnAttr(style: unknown): string;
|
|
2071
|
+
/** `style.anchor`: an element id, lower-case letters, digits and dashes, at most 64. */
|
|
2072
|
+
declare const SECTION_ANCHOR: RegExp;
|
|
2073
|
+
/** `style.cssClass`: class names (letters, digits, `_`, `-`) separated by spaces, at most 200 characters. */
|
|
2074
|
+
declare const SECTION_CSS_CLASS: RegExp;
|
|
2075
|
+
/**
|
|
2076
|
+
* A section's Anchor ID and CSS class (`style.anchor`, `style.cssClass`) as the two attributes a
|
|
2077
|
+
* renderer puts on the section's element: `id`, and class names to ADD to the ones it already has.
|
|
2078
|
+
* Closed sets (the two patterns above), so a stored value that does not match paints nothing and
|
|
2079
|
+
* neither can break out of an attribute. Empty object when the style sets neither.
|
|
2080
|
+
*/
|
|
2081
|
+
declare function sectionIdentityAttrs(style: unknown): {
|
|
2082
|
+
id?: string;
|
|
2083
|
+
className?: string;
|
|
2084
|
+
};
|
|
2085
|
+
/** A label as an anchor: lower-case words joined by hyphens, at most 64 characters. "" when nothing is left. */
|
|
2086
|
+
declare function anchorSlug(text: string): string;
|
|
2087
|
+
/**
|
|
2088
|
+
* The default Anchor ID of each top-level section of a page (REQ-4b-4): its label as a slug
|
|
2089
|
+
* (`anchorSlug`), made unique on the page with `-2`, `-3` … against every other section's anchor,
|
|
2090
|
+
* the explicit ones (`style.anchor`) included. A section with its own `style.anchor` keeps it
|
|
2091
|
+
* (the override) and gets no entry here; a section with no label gets none either (no invented
|
|
2092
|
+
* ids). Derived, never stored: the same tree always yields the same anchors, in page order, so the
|
|
2093
|
+
* page read and every renderer agree without a write. Keyed by the block object.
|
|
2094
|
+
*/
|
|
2095
|
+
declare function defaultSectionAnchors(blocks: unknown): Map<object, string>;
|
|
1951
2096
|
/** True when any block in the tree hides somewhere; lets a lane skip `RESPONSIVE_CSS` when unused. */
|
|
1952
2097
|
declare function usesHideOn(blocks: unknown): boolean;
|
|
1953
2098
|
/**
|
|
@@ -2026,12 +2171,14 @@ declare function splitButtonStyle(style: BlockStyle | undefined): {
|
|
|
2026
2171
|
};
|
|
2027
2172
|
/**
|
|
2028
2173
|
* The style keys a PAGE FIELD takes (`pages.field_styles`, keyed by field path): its width and
|
|
2029
|
-
* placement, the space above and below it, its text alignment, font size and weight,
|
|
2030
|
-
* whole element's Small / Large (a button's)
|
|
2031
|
-
*
|
|
2174
|
+
* placement, the space above and below it, its text alignment, font size and weight, `size` — a
|
|
2175
|
+
* whole element's Small / Large (a button's) — and `textColor`, its text colour (a colour TOKEN,
|
|
2176
|
+
* never a free hex). Every key but `size` is a `BlockStyle` key, so it keeps the token set and the
|
|
2177
|
+
* CSS table it already has — a field never gets a second scale. `textColor` is LAST so a style
|
|
2178
|
+
* without it keeps the key order it always had.
|
|
2032
2179
|
* 🔴 Twin: `FIELD_STYLE_KEYS` in the dashboard's fieldStyle.ts.
|
|
2033
2180
|
*/
|
|
2034
|
-
declare const FIELD_STYLE_KEYS: readonly ["contentWidth", "contentAlign", "marginTop", "marginBottom", "align", "fontSize", "weight", "size"];
|
|
2181
|
+
declare const FIELD_STYLE_KEYS: readonly ["contentWidth", "contentAlign", "marginTop", "marginBottom", "align", "fontSize", "weight", "size", "textColor"];
|
|
2035
2182
|
type FieldStyleKey = (typeof FIELD_STYLE_KEYS)[number];
|
|
2036
2183
|
/** A field element's Small / Large. Medium is UNSET — no "md" token is ever stored. */
|
|
2037
2184
|
type FieldSize = "sm" | "lg";
|
|
@@ -2553,7 +2700,7 @@ declare function visibleDeliveredLayout<T extends DeliveredLayout | null | undef
|
|
|
2553
2700
|
* A constant rather than three paraphrases, because updating some of them is exactly how this happened.
|
|
2554
2701
|
*/
|
|
2555
2702
|
declare const SECTION_DOCTRINE = "STRUCTURE (separate from schema): a page is composed of SECTIONS. NEVER build a page out of loose top-level heading/text/image/button/spacer blocks \u2014 they cannot be moved, duplicated or swapped as a unit, the visual editor cannot outline or name them, and every one of them becomes its own section in the editor. A hero of a headline, a lede and two CTAs is ONE section, not four. TWO SHAPES, and the choice is about REUSE. (1) A band that appears on more than one page, or that needs layout variants, is a COMPONENT with a `sectionType` \u2014 see create_component. Components sharing a `sectionType` are that section's VARIANTS (one Hero: 'Centered' for the home page and 'Two-column' for about, same prop keys so a swap keeps the content). This is also the only shape the editor's 'Add a section' picker can insert, and the only one that gets a family name and a variant switcher. (2) A genuinely one-off band on a single page is a `section` BLOCK whose `props.children` hold its blocks. THE TRADEOFF, stated in the present tense because it is real today: inside a component, ONLY the leaves a declared prop TARGETS are click-to-edit on the canvas \u2014 each declared prop's `target` is re-keyed to that PLACEMENT's own override address, so editing it changes this page and not the shared definition. A prop with no `target` still SHOWS as a dock control, but its override reaches no rendered slot, so editing it changes nothing on the page. Copy that no prop points at is worse still: no binding and no control, unreachable from click-to-edit AND from the dock, changeable only by editing the component definition, which rewrites every page that places it. A `section` block's children stay click-to-edit unconditionally. So when you choose a component, DECLARE A PROP \u2014 WITH A `target` \u2014 for every string, link and image a marketer will ever touch; a component with un-propped editable copy is the defect, not the component. In the dock an unset prop shows EMPTY and inherits the definition's default, so set props explicitly when you want the current copy visible there. An IMPORTED site's components are its own (read the repo); its nav, footer and modals are the Layout. On a blank site, do not hand-write a band's JSON: start from a built-in section blueprint (list_components returns locked `builtin:*` blueprints with no projectId \u2014 hero-centered, hero-split, feature-grid-three, cta-banner and more), each already rooted in a `section` block with its editable leaves declared as props. INLINE its blockJson as a `section` block for a one-off band; for a recurring band, materialize it with create_component `from` so it becomes project-scoped before implementation validation, Output or publication. Direct `builtin:*` component references exist only for legacy delivery compatibility. Two consecutive call-to-action buttons are two sibling `button` blocks inside the same section \u2014 never a `columns` block, which is a `repeat(N,1fr)` grid and would stretch each CTA to half the container. Buttons are inline-level and flow side by side on their own.";
|
|
2556
|
-
type ComponentCategory = "navbar" | "footer" | "button" | "section" | "slider" | "tabs" | "form" | "custom" | "hero" | "content" | "social-proof" | "conversion";
|
|
2703
|
+
type ComponentCategory = "navbar" | "footer" | "button" | "section" | "slider" | "tabs" | "form" | "custom" | "hero" | "content" | "social-proof" | "conversion" | "features" | "bento" | "pricing" | "cta" | "resources" | "security" | "integrations" | "faq" | "footers";
|
|
2557
2704
|
/** What `components.category` stores: a library tab, or one of the kit catalogue's categories (facet row 2). */
|
|
2558
2705
|
type ComponentCategoryId = ComponentCategory | KitCategory;
|
|
2559
2706
|
/**
|
|
@@ -3544,6 +3691,16 @@ declare function tableRefCells(value: unknown): Array<{
|
|
|
3544
3691
|
}>;
|
|
3545
3692
|
/** The words a cell says (Markdown, search, screen readers). Booleans say their words, never a tick. */
|
|
3546
3693
|
declare function tableCellText(col: TableColumn, row: TableRow | undefined, c: unknown): string;
|
|
3694
|
+
/**
|
|
3695
|
+
* The few rules every rendered table needs wherever it lands (a hosted page, a prop's `props.html`,
|
|
3696
|
+
* a code site): screen-reader-only words, the scroll region, cell padding. Scoped to `.bt-table`
|
|
3697
|
+
* and carried in the figure, so a page without a table ships none of it.
|
|
3698
|
+
*
|
|
3699
|
+
* GAP-124: the scroll region is `position:relative`, so it is the containing block of every
|
|
3700
|
+
* absolutely placed `.bt-sr` inside it. Without that a hidden "Included" in a column scrolled out of
|
|
3701
|
+
* view laid out against the page, not the region, and pushed a 375px page 152px sideways.
|
|
3702
|
+
*/
|
|
3703
|
+
declare const TABLE_CSS: string;
|
|
3547
3704
|
/**
|
|
3548
3705
|
* The table as semantic HTML (published form: no editing marks): `<figure class="bt-table">` ›
|
|
3549
3706
|
* `<table>` with caption, column-group headers, `<thead>`, one `<tbody>` per row group, `<tfoot>`,
|
|
@@ -3628,10 +3785,13 @@ interface MediaFieldValue {
|
|
|
3628
3785
|
* entries an author bio and related posts point at, resolved by the server (one query, at
|
|
3629
3786
|
* html-cache build) so every renderer draws the same thing and none of them fetches.
|
|
3630
3787
|
*/
|
|
3631
|
-
/**
|
|
3788
|
+
/**
|
|
3789
|
+
* A related post as a reader sees it. `url` is the final href (from the collection's route); absent when the
|
|
3790
|
+
* post has no public page (a collection with no detail route), and the card is drawn without a link.
|
|
3791
|
+
*/
|
|
3632
3792
|
interface ResolvedPost {
|
|
3633
3793
|
title: string;
|
|
3634
|
-
url
|
|
3794
|
+
url?: string;
|
|
3635
3795
|
cover?: string;
|
|
3636
3796
|
category?: string;
|
|
3637
3797
|
}
|
|
@@ -3825,6 +3985,12 @@ interface DeliveryPage {
|
|
|
3825
3985
|
/** The page's language (`null`: the site's default) and, on a translation, the page it translates. */
|
|
3826
3986
|
locale?: string | null;
|
|
3827
3987
|
translationOf?: string | null;
|
|
3988
|
+
/**
|
|
3989
|
+
* The page's "Show in navigation" switch (REQ-6-10), on the pages list. `false`: a site menu
|
|
3990
|
+
* built from the pages list leaves it out (the hosted navbar drops links to it). Absent on an
|
|
3991
|
+
* older server: treat as `true`.
|
|
3992
|
+
*/
|
|
3993
|
+
showInNavigation?: boolean;
|
|
3828
3994
|
}
|
|
3829
3995
|
/** Generic paginated list envelope (the `data` of a list response). */
|
|
3830
3996
|
interface DeliveryList<T> {
|
|
@@ -3866,7 +4032,7 @@ type FormStatus = "draft" | "published";
|
|
|
3866
4032
|
interface FormField {
|
|
3867
4033
|
key: string;
|
|
3868
4034
|
label: string;
|
|
3869
|
-
type: "text" | "email" | "textarea" | "select" | "checkbox" | "checkboxes" | "radio" | "number" | "phone" | "date" | "url" | "consent" | "hidden" | "step";
|
|
4035
|
+
type: "text" | "email" | "textarea" | "select" | "checkbox" | "checkboxes" | "radio" | "number" | "phone" | "date" | "url" | "consent" | "hidden" | "file" | "step";
|
|
3870
4036
|
placeholder?: string;
|
|
3871
4037
|
helpText?: string;
|
|
3872
4038
|
required?: boolean;
|
|
@@ -3898,6 +4064,12 @@ type FormFieldValidation = {
|
|
|
3898
4064
|
phoneFormat?: "any" | "e164";
|
|
3899
4065
|
/** `text` | `textarea` | `url` — anchored regex, compiled and length-capped at save time. */
|
|
3900
4066
|
pattern?: string;
|
|
4067
|
+
/** `file` — accepted extensions, lowercase, no dot. Unset = FORM_UPLOAD_DEFAULT_ACCEPT. */
|
|
4068
|
+
accept?: string[];
|
|
4069
|
+
/** `file` — files per field. Unset = 1. Capped by the site's plan when it applies. */
|
|
4070
|
+
maxFiles?: number;
|
|
4071
|
+
/** `file` — per-file cap in MB. Only a plan that may configure upload limits can set it. */
|
|
4072
|
+
maxSizeMb?: number;
|
|
3901
4073
|
};
|
|
3902
4074
|
/**
|
|
3903
4075
|
* Per-field PRESENTATION options. Currently only the phone field's country picker.
|
|
@@ -3939,6 +4111,78 @@ interface FormSubmission {
|
|
|
3939
4111
|
userAgent?: string;
|
|
3940
4112
|
}
|
|
3941
4113
|
|
|
4114
|
+
/**
|
|
4115
|
+
* The `file` form field's platform limits and type vocabulary: one statement of them, read by
|
|
4116
|
+
* the save route, the upload route, the submit check and every renderer.
|
|
4117
|
+
*
|
|
4118
|
+
* A field's own `validation.maxSizeMb` / `maxFiles` are a REQUEST. What applies is computed by
|
|
4119
|
+
* the server from the site's current plan each time (`formUploadLimits`), so a stored number
|
|
4120
|
+
* never outlives the plan that allowed it.
|
|
4121
|
+
*/
|
|
4122
|
+
declare const FORM_UPLOAD: {
|
|
4123
|
+
/** Per-file cap on every plan, in MB. */
|
|
4124
|
+
readonly maxSizeMb: 10;
|
|
4125
|
+
/** The most a site whose plan may configure the cap can raise it to, in MB. */
|
|
4126
|
+
readonly maxSizeMbCeiling: 25;
|
|
4127
|
+
/** Files per field on every plan. */
|
|
4128
|
+
readonly maxFiles: 5;
|
|
4129
|
+
/** Files per field where the plan may configure limits. */
|
|
4130
|
+
readonly maxFilesCeiling: 10;
|
|
4131
|
+
};
|
|
4132
|
+
/** Named groups of extensions the builder offers. A field stores extensions, never a preset name. */
|
|
4133
|
+
declare const FORM_UPLOAD_PRESETS: {
|
|
4134
|
+
readonly images: readonly ["jpg", "jpeg", "png", "gif", "webp", "heic"];
|
|
4135
|
+
readonly pdf: readonly ["pdf"];
|
|
4136
|
+
readonly documents: readonly ["doc", "docx", "odt", "rtf", "txt"];
|
|
4137
|
+
readonly spreadsheets: readonly ["xls", "xlsx", "ods", "csv"];
|
|
4138
|
+
readonly archives: readonly ["zip"];
|
|
4139
|
+
};
|
|
4140
|
+
/** What a file field accepts when its owner names nothing: every preset except archives. */
|
|
4141
|
+
declare const FORM_UPLOAD_DEFAULT_ACCEPT: readonly string[];
|
|
4142
|
+
/**
|
|
4143
|
+
* Extensions no file field accepts, whatever its `accept` says: programs, installers, scripts,
|
|
4144
|
+
* shortcuts, disk images, macro-carrying documents and pages a browser would run.
|
|
4145
|
+
*/
|
|
4146
|
+
declare const FORM_UPLOAD_REFUSED_EXTENSIONS: readonly string[];
|
|
4147
|
+
/** Is this extension one no field may accept? */
|
|
4148
|
+
declare function isRefusedUploadExtension(ext: string): boolean;
|
|
4149
|
+
/** A file name's extension: lowercase, no dot, "" when it has none. */
|
|
4150
|
+
declare function fileExtension(name: string): string;
|
|
4151
|
+
/**
|
|
4152
|
+
* The extensions a field accepts: its own list, lowercased, without dots and without anything
|
|
4153
|
+
* refused, or the default when nothing is left. Renderers build their `accept` attribute from it.
|
|
4154
|
+
*/
|
|
4155
|
+
declare function formUploadAccept(accept: readonly string[] | undefined): string[];
|
|
4156
|
+
/**
|
|
4157
|
+
* The limits that APPLY to a file field. `configurable` is whether the site's plan may set its
|
|
4158
|
+
* own limits; without it the field's `maxSizeMb` is ignored and `maxFiles` stops at the base cap.
|
|
4159
|
+
*/
|
|
4160
|
+
declare function formUploadLimits(rules: {
|
|
4161
|
+
maxFiles?: number;
|
|
4162
|
+
maxSizeMb?: number;
|
|
4163
|
+
} | undefined, configurable: boolean): {
|
|
4164
|
+
maxFiles: number;
|
|
4165
|
+
maxSizeMb: number;
|
|
4166
|
+
};
|
|
4167
|
+
/**
|
|
4168
|
+
* What a renderer checks a chosen file against BEFORE uploading it: the field as delivered, with
|
|
4169
|
+
* the platform's defaults and ceilings. A courtesy, never the rule. A site's plan may hold the
|
|
4170
|
+
* field to less (the upload route then refuses with the limit that applies, and that refusal is
|
|
4171
|
+
* what the visitor is shown); this must never be MORE strict than the server, or a file the
|
|
4172
|
+
* site's plan allows would be blocked in the browser.
|
|
4173
|
+
*/
|
|
4174
|
+
declare function fileFieldLimits(field: {
|
|
4175
|
+
validation?: {
|
|
4176
|
+
accept?: string[];
|
|
4177
|
+
maxFiles?: number;
|
|
4178
|
+
maxSizeMb?: number;
|
|
4179
|
+
};
|
|
4180
|
+
}): {
|
|
4181
|
+
accept: string[];
|
|
4182
|
+
maxFiles: number;
|
|
4183
|
+
maxSizeMb: number;
|
|
4184
|
+
};
|
|
4185
|
+
|
|
3942
4186
|
/**
|
|
3943
4187
|
* Redirect — a server-side redirect managed in the CMS.
|
|
3944
4188
|
*/
|
|
@@ -4887,4 +5131,4 @@ declare function iconValueProblem(v: unknown, knownName: (name: string) => boole
|
|
|
4887
5131
|
*/
|
|
4888
5132
|
declare function iconHtml(v: unknown, className?: string): string;
|
|
4889
5133
|
|
|
4890
|
-
export { type AlignToken, type AllowRule, type ApiError, type ApiKey, type ApiKeyPermission, type ApiKeyTokenType, type ApproveDockUiInput, type ApproveDockUiOutput, type ArrayZoneConfig, type AssertEqual, type AuthResponse, type AuthSession, type AuthUser, BG_TOKENS, BLOCK_BINDINGS, BLOCK_FIELD_TYPES, BLOCK_FIELD_TYPES_RENDERABLE_NOW, BODY_SCHEMA_ORIGINS, BREAKPOINTS, BUTTON_ACTIONS, BUTTON_FULL_WIDTH_INVALID, BUTTON_ICONS, BUTTON_ICON_NAMES, BUTTON_LOOK_KEYS, BUTTON_PLACEMENT_KEYS, BUTTON_SIZES, BUTTON_VARIANTS, type BetterCMSErrorCode, type BgToken, type BindingKind, type BlockBinding, type BlockHoverStyle, type BlockStyle, type BlockType, type BodiesState, type BodyDeclaration, type BodySchema, type BodySchemaOrigin, type ButtonAction, type ButtonBlock, type ButtonIcon, type ButtonLinkCandidate, type ButtonLookKey, type ButtonProps, type ButtonSiteLook, type ButtonSizeName, type ButtonValue, type ButtonVariant, CANVAS_GESTURE_NAMES, CATEGORY_ID_MAX, CATEGORY_ORDER, CODE_SLOT_PREFIX, COMPONENT_GATE_CODES, COMPONENT_PROP_TYPES, CONTENT_WIDTH_TOKENS, CONTROL_HELP, type CanonicalInputDefinition, type CanvasGesture, type ChoiceOption, type CollectionBlock, type CollectionFilter, type CollectionProps, type ColorToken, type ColumnsBlock, type ColumnsProps, type Component, type ComponentBlock, type ComponentCategory, type ComponentCategoryId, type ComponentEmbedNode, type ComponentFormPropRef, type ComponentGateCode, type ComponentPreview, type ComponentPropDef, type ComponentPropType, type ComponentPropUi, type ComponentProps, type ComponentSubField, type ComponentTab, type ComponentV2, type ComponentVariantGroup, type Content, type ContentBlock, type ContentEntry, type ContentModel, type ContentModelField, type ContentModelFieldType, type ContentModelFieldUi, type ContentModelV2, type ContentPageResult, type ContentResponse, type ContentWidthToken, type ControlKind, type CornerToken, DEFAULT_ICON_SOURCES, DEFAULT_VARIANT, DEPTH_MAX, DERIVE_MINTED_RESERVED, DIALOG_SELECTOR, DOCK_BUDGET, DOCK_ICON_NAMES, DOCK_ICON_NAME_SET, DOCK_UI_IMPORTS, DOCK_UI_LIMITS, DOCK_UI_NAME, type DeclaredSlot, type DeepReadonly, type DefSources, type DeliveredLayout, type DeliveryComponent, type DeliveryEntry, type DeliveryEntrySeo, type DeliveryList, type DeliveryPage, type DerivedLocator, type DockBudget, type DockFieldLike, type DockFieldsetLike, type DockIconName, type DockInputRef, type DockLane, type DockNode, type DockPropGroupLike, type DockScreen, type DockUiBuildReceipt, type DockUiKind, type DockUiOrigin, type DockUiScope, type DockUiSource, type DockUiStatus, type DockUiVersion, EMBED_LEDGER_OUTCOMES, EMBED_REASONS, type ElementLike, type EmbedCapability, type EmbedCard, type EmbedLedgerOutcome, type EmbedMarker, type EmbedMarkerMatch, type EmbedNotRenderedWarning, type EmbedReason, type ExpandedBinding, FIELD_SIZE_ZOOM, FIELD_STYLE_KEYS, FOOTER_SECTION_ID, FRAME_REFUSALS, type FieldConfig, type FieldSize, type FieldStyle, type FieldStyleKey, type FieldStyles, type Fieldset, type FieldsetKind, type FieldsetUiBefore, type FontSizeToken, type FooterBlock, type FooterColumn, type FooterProps, type Form, type FormBlock, type FormField, type FormProps, type FormSubmission, HELP_CAPS, HELP_LINE_MAX, HELP_MAX, HELP_WRITE_MAX, type HeadingBlock, type HeadingProps, ICON_LABEL_MAX, ICON_SOURCES, IMAGE_ASPECTS, IMAGE_FRAME_RADIUS, type IconFieldOptions, type IconObjectValue, type IconSource, type IconSrc, type IconValue, type ImageAspect, type ImageBlock, type ImageProps, KEY_FORBIDDEN, KEY_FORMAT, KEY_RESERVED, KEY_RESERVED_PREFIX, KIT_CATEGORIES, type KitCategory, LANDMARK_SELECTOR, LAYOUT_SECTION_ICONS, LAYOUT_SECTION_ICON_SET, LINK_RELS, LINK_VALUE_TYPES, LIST_ITEMS_CAP, LIST_PREVIEW_SLOTS, LOCATOR_PATH, type LandmarkChainElement, type LandmarkElement, type LayoutComponentItem, type LayoutDataDocument, type LayoutFieldDefinition, type LayoutFieldItem, type LayoutFieldType, type LayoutScalarFieldType, type LayoutSection, type LayoutSectionDesign, type LayoutSectionIcon, type LayoutSectionItem, type LayoutStructureDocument, type LayoutZone, type LibraryIconValue, type LinkPairSibling, type LinkRel, type LinkValue, type LinkValueType, type ListDockUiInput, type ListDockUiOutput, type LocatorGrammar, MAIN_SELECTOR, type ManagementLayoutCommand, type MediaAsset, type MediaCaptionTrack, type MediaFieldValue, NAVIGATION_SECTION_ID, type NavLink, type NavbarBlock, type NavbarProps, type NumberFieldFormat, type NumberScale, OPEN_MODES, OPEN_MODE_TYPES, OPTION_DESCRIPTION_MAX, type OpenMode, PAGE_CONTENT_ANCHOR_ID, PRIMITIVE_ARRAY_RULE, type PackIconValue, type Page, type PageLayoutOverrideDataDocument, type PageLayoutOverrideDocument, type PageLayoutOverrideState, type PageLayoutOverrideStructureDocument, type PageLayoutSectionOverride, type PageLayoutSectionStructureOverride, type PageMetaJson, type PageOnlyLayoutSection, type PageSectionPlacement, type PaginatedResult, type Perspective, type PortableTextDocument, type PortableTextNode, type PropGroup, type PropTab, type PublishDockUiInput, type PublishDockUiOutput, REFERENCE_CREATE_REFUSAL_CODES, RESPONSIVE_CSS, RICHTEXT_ADVANCED_ELEMENTS, RICHTEXT_BLOCK_ELEMENTS, RICHTEXT_BLOCK_FEATURES, RICHTEXT_CORE_ELEMENTS, RICHTEXT_ELEMENTS, RICHTEXT_FEATURES, RICHTEXT_FEATURE_ALIASES, RICHTEXT_HEADING_FEATURES, RICHTEXT_MARK_FEATURES, RICHTEXT_TOGGLE_FEATURES, ROLE_KEYS, type RadiusToken, type ReadButtonValue, type Redirect, type ReferenceCreateCapability, type ReferenceCreateRefusal, type ReferenceCreateRefusalCode, type ReferenceCreateResult, type ReferenceCreatedOption, type ReservedLayoutSection, type ResolvedAuthor, type ResolvedIconOptions, type ResolvedLayoutNode, type ResolvedPost, type RichTextBlock, type RichTextElementName, type RichTextEmbeds, type RichTextFeature, type RichTextProps, type RichTextRefusalCode, type RichTextResolved, SCHEMA_HASH_INPUTS, SECTION_DOCTRINE, SECTION_SPACE_TOKENS, SEGMENTED_MAX, SEGMENTED_MIN, SHOW_IF_SCOPES, SIDE_SPACE_MIN_PX, SIDE_SPACE_TOKENS, SLOT_CHILD_KEYS, SLOT_ITEMS_CAP, SLOT_MAX_ITEMS, SLOT_SETTINGS_MAX, SLOT_SETTINGS_TYPES, SOURCE_RANK, SPACE_BOTTOM_TOKENS, SPACE_STEP_TOKENS, type ScaleUnit, type SchemaHashTable, type SchemaSource, type SectionBlock, type SectionPlanItem, type SectionProps, type SectionSpaceToken, type ShadowToken, type ShowIf, type ShowIfRule, type SignInInput, type SignUpInput, type SiteSeoDefaults, type SlideItem, type SliderBlock, type SliderProps, type SlotChild, type SlotItem, type SlotShapeOptions, type SlotShapeProblem, type SlotValue, type SourcedFacet, type SpaceStepToken, type SpaceToken, type SpacerBlock, type SpacerProps, TABLE_COLUMN_TYPES, TABLE_JSONLD_TYPES, TABLE_LIMITS, TABLE_RESPONSIVE, TAB_MAX, TAB_MAX_RENDERABLE_NOW, TAG_HEADS, THEME_TOKENS, type TabItem, type TableCell, type TableCellObject, type TableCellValue, type TableCheckOptions, type TableColumn, type TableColumnType, type TableFieldOptions, type TableFootnote, type TableGroup, type TableLink, type TableProblem, type TableRef, type TableRefResolved, type TableRow, type TableValue, type TabsBlock, type TabsProps, type TextBlock, type TextProps, type ThemeToken, UI_PROTOCOLS, UI_REFUSAL_CODES, UI_REFUSAL_IDS, type UiBefore, type UiManifestEntry, type UiManifestV2, type UiOrigin, type UiProtocol, type UiRefusal, type UiRefusalFamily, type UiRefusalId, type UploadIconValue, type V2Placement, type V2Shape, type V2VariantMeta, V2_KEYS, V2_PLACEMENTS, V2_SHAPES, VARIANT_PROP_KEY, VIDEO_TRANSCRIPT_MAX, VIDEO_VALUE_KEYS, type ValidateDockUiInput, type ValidateDockUiOutput, type VariantGroupV2, type VariantInputMapping, type VideoBlock, type VideoProps, type VideoValue, type VisibilityWindow, WIDTH_FIT_FAIL_KINDS, type WeightToken, type WidthFitFailKind, type WidthFitResult, type WindowState, type Workspace, type WriteDockUiInput, type WriteDockUiOutput, type ZoneField, allowRuleOf, anchorTargetRel, blockStyleToColumnCss, blockStyleToCss, blockStyleToInnerCss, bodySchemaOf, buttonBlockProps, buttonFullWidthProblem, buttonIconOf, buttonIconSvg, buttonLinkPairs, buttonLookValue, buttonSiteLookOf, buttonValueOfInstance, buttonValueProblem, buttonVariantOf, candidateRole, canonicalJson, compactIcon, componentInstanceAddresses, componentPropTargetKey, derivedPairs, dockBudget, dockScreens, dockUiMerkleKey, embedAddress, embedMarkerHtml, embedVisible, evaluateShowIf, exampleFor, expandBlockBindings, fieldGroupOf, fieldStyleCssText, fieldStyleToCss, formatNumber, formatPropsAttribute, getBlockType, headingPaintCss, hiddenEverywhere, hideOnAttr, iconHtml, iconIdentity, iconSrc, iconValueProblem, imageFrameCss, inWindow, isBlock, isButtonLookValue, isChromeLandmark, isCodeButton, isComponentGateCode, isDeriveReservedKey, isDockUiImportAllowed, isEmbedReason, isIconObjectForm, isLinkObject, isReservedKey, isRoleKey, isRulePaired, isScriptHref, isSlotChild, isTableValue, isUiRefusal, isVariantVisible, keyWords, landmarkRegions, linkAnchorOf, linkHref, linkRefOf, linkValueProblem, locatorFor, locatorPath, mayOverwrite, normaliseRichTextFeatures, normalizeIcon, normalizeLinkValue, normalizeTableValue, normalizeWindow, parseEmbedMarkers, parseNumberText, parsePropsAttribute, pickFieldStyle, placementBindOf, planSections, readButtonValue, readNumberFormat, readPath, referenceCreateRefusal, regionOf, renderTableHtml, resolveIconOptions, richTextRefusal, rulePartnerOf, safeCssUrl, schemaHashInput, sideFloorApplies, sideSpaceCss, slotBindOf, slotChildValues, slotItems, slotPathString, slotShapeProblems, slugify, spaceTokenCss, splitButtonStyle, tableCellText, tablePathString, tableRefCells, tableSearchText, tableToMarkdown, tableValueProblems, topFieldKeyOf, uiRefusalId, usesHideOn, variantOptionsFromUnion, variantOptionsOf, variantPropOf, videoUrlOf, videoValueProblem, visibleBlocks, visibleDeliveredLayout, visibleLayoutStructure, windowState, withButtonLookProps, withExample, withIconLabel };
|
|
5134
|
+
export { type AlignToken, type AllowRule, type ApiError, type ApiKey, type ApiKeyPermission, type ApiKeyTokenType, type ApproveDockUiInput, type ApproveDockUiOutput, type ArrayZoneConfig, type AssertEqual, type AuthResponse, type AuthSession, type AuthUser, BG_TOKENS, BG_TOKEN_CSS, BLOCK_BINDINGS, BLOCK_FIELD_TYPES, BLOCK_FIELD_TYPES_RENDERABLE_NOW, BODY_SCHEMA_ORIGINS, BREAKPOINTS, BUTTON_ACTIONS, BUTTON_FULL_WIDTH_INVALID, BUTTON_ICONS, BUTTON_ICON_NAMES, BUTTON_LOOK_KEYS, BUTTON_PLACEMENT_KEYS, BUTTON_SIZES, BUTTON_TEXT_CSS, BUTTON_TEXT_KEYS, BUTTON_VARIANTS, type BetterCMSErrorCode, type BgToken, type BindingKind, type BlockBinding, type BlockHoverStyle, type BlockStyle, type BlockType, type BodiesState, type BodyDeclaration, type BodySchema, type BodySchemaOrigin, type ButtonAction, type ButtonBlock, type ButtonIcon, type ButtonLinkCandidate, type ButtonLookKey, type ButtonProps, type ButtonSiteLook, type ButtonSizeName, type ButtonTextKey, type ButtonValue, type ButtonVariant, CANVAS_GESTURE_NAMES, CATEGORY_ID_MAX, CATEGORY_ORDER, CODE_SLOT_PREFIX, COMPONENT_GATE_CODES, COMPONENT_PROP_TYPES, CONTENT_WIDTH_TOKENS, CONTROL_HELP, type CanonicalInputDefinition, type CanvasGesture, type ChoiceOption, type CollectionBlock, type CollectionFilter, type CollectionProps, type ColorToken, type ColumnsBlock, type ColumnsProps, type Component, type ComponentBlock, type ComponentCategory, type ComponentCategoryId, type ComponentEmbedNode, type ComponentFormPropRef, type ComponentGateCode, type ComponentPreview, type ComponentPropDef, type ComponentPropType, type ComponentPropUi, type ComponentProps, type ComponentSubField, type ComponentTab, type ComponentV2, type ComponentVariantGroup, type Content, type ContentBlock, type ContentEntry, type ContentModel, type ContentModelField, type ContentModelFieldType, type ContentModelFieldUi, type ContentModelV2, type ContentPageResult, type ContentResponse, type ContentWidthToken, type ControlKind, type CornerToken, DEFAULT_ICON_SOURCES, DEFAULT_VARIANT, DEPTH_MAX, DERIVE_MINTED_RESERVED, DIALOG_SELECTOR, DOCK_BUDGET, DOCK_ICON_NAMES, DOCK_ICON_NAME_SET, DOCK_UI_IMPORTS, DOCK_UI_LIMITS, DOCK_UI_NAME, type DeclaredSlot, type DeepReadonly, type DefSources, type DeliveredLayout, type DeliveryComponent, type DeliveryEntry, type DeliveryEntrySeo, type DeliveryList, type DeliveryPage, type DerivedLocator, type DockBudget, type DockFieldLike, type DockFieldsetLike, type DockIconName, type DockInputRef, type DockLane, type DockNode, type DockPropGroupLike, type DockScreen, type DockUiBuildReceipt, type DockUiKind, type DockUiOrigin, type DockUiScope, type DockUiSource, type DockUiStatus, type DockUiVersion, EMBED_LEDGER_OUTCOMES, EMBED_REASONS, type ElementLike, type EmbedCapability, type EmbedCard, type EmbedLedgerOutcome, type EmbedMarker, type EmbedMarkerMatch, type EmbedNotRenderedWarning, type EmbedReason, type ExpandedBinding, FIELD_SIZE_ZOOM, FIELD_STYLE_KEYS, FONT_SIZE_TOKEN_PX, FOOTER_SECTION_ID, FORM_UPLOAD, FORM_UPLOAD_DEFAULT_ACCEPT, FORM_UPLOAD_PRESETS, FORM_UPLOAD_REFUSED_EXTENSIONS, FRAME_REFUSALS, type FieldConfig, type FieldSize, type FieldStyle, type FieldStyleKey, type FieldStyles, type Fieldset, type FieldsetKind, type FieldsetUiBefore, type FontSizeToken, type FooterBlock, type FooterColumn, type FooterProps, type Form, type FormBlock, type FormField, type FormProps, type FormSubmission, HELP_CAPS, HELP_LINE_MAX, HELP_MAX, HELP_WRITE_MAX, type HeadingBlock, type HeadingProps, ICON_LABEL_MAX, ICON_SOURCES, IMAGE_ASPECTS, IMAGE_FRAME_RADIUS, type IconFieldOptions, type IconObjectValue, type IconSource, type IconSrc, type IconValue, type ImageAspect, type ImageBlock, type ImageProps, KEY_FORBIDDEN, KEY_FORMAT, KEY_RESERVED, KEY_RESERVED_PREFIX, KIT_CATEGORIES, type KitCategory, LANDMARK_SELECTOR, LAYOUT_SECTION_ICONS, LAYOUT_SECTION_ICON_SET, LINK_RELS, LINK_VALUE_TYPES, LIST_ITEMS_CAP, LIST_PREVIEW_SLOTS, LOCATOR_PATH, type LandmarkChainElement, type LandmarkElement, type LayoutComponentItem, type LayoutDataDocument, type LayoutFieldDefinition, type LayoutFieldItem, type LayoutFieldType, type LayoutScalarFieldType, type LayoutSection, type LayoutSectionDesign, type LayoutSectionIcon, type LayoutSectionItem, type LayoutStructureDocument, type LayoutZone, type LibraryIconValue, type LinkPairSibling, type LinkRel, type LinkValue, type LinkValueType, type ListDockUiInput, type ListDockUiOutput, type LocatorGrammar, MAIN_SELECTOR, type ManagementLayoutCommand, type MediaAsset, type MediaCaptionTrack, type MediaFieldValue, NAVIGATION_SECTION_ID, type NavLink, type NavbarBlock, type NavbarProps, type NumberFieldFormat, type NumberScale, OPEN_MODES, OPEN_MODE_TYPES, OPTION_DESCRIPTION_MAX, type OpenMode, PAGE_CONTENT_ANCHOR_ID, PRIMITIVE_ARRAY_RULE, type PackIconValue, type Page, type PageLayoutOverrideDataDocument, type PageLayoutOverrideDocument, type PageLayoutOverrideState, type PageLayoutOverrideStructureDocument, type PageLayoutSectionOverride, type PageLayoutSectionStructureOverride, type PageMetaJson, type PageOnlyLayoutSection, type PageSectionPlacement, type PaginatedResult, type Perspective, type PortableTextDocument, type PortableTextNode, type PropGroup, type PropTab, type PublishDockUiInput, type PublishDockUiOutput, REFERENCE_CREATE_REFUSAL_CODES, RESPONSIVE_CSS, RICHTEXT_ADVANCED_ELEMENTS, RICHTEXT_BLOCK_ELEMENTS, RICHTEXT_BLOCK_FEATURES, RICHTEXT_CORE_ELEMENTS, RICHTEXT_ELEMENTS, RICHTEXT_FEATURES, RICHTEXT_FEATURE_ALIASES, RICHTEXT_HEADING_FEATURES, RICHTEXT_MARK_FEATURES, RICHTEXT_TOGGLE_FEATURES, ROLE_KEYS, type RadiusToken, type ReadButtonValue, type Redirect, type ReferenceCreateCapability, type ReferenceCreateRefusal, type ReferenceCreateRefusalCode, type ReferenceCreateResult, type ReferenceCreatedOption, type ReservedLayoutSection, type ResolvedAuthor, type ResolvedIconOptions, type ResolvedLayoutNode, type ResolvedPost, type RichTextBlock, type RichTextElementName, type RichTextEmbeds, type RichTextFeature, type RichTextProps, type RichTextRefusalCode, type RichTextResolved, SCHEMA_HASH_INPUTS, SECTION_ANCHOR, SECTION_CSS_CLASS, SECTION_DOCTRINE, SECTION_SPACE_TOKENS, SEGMENTED_MAX, SEGMENTED_MIN, SHOW_IF_SCOPES, SIDE_SPACE_MIN_PX, SIDE_SPACE_TOKENS, SLOT_CHILD_KEYS, SLOT_ITEMS_CAP, SLOT_MAX_ITEMS, SLOT_SETTINGS_MAX, SLOT_SETTINGS_TYPES, SOURCE_RANK, SPACE_BOTTOM_TOKENS, SPACE_STEP_TOKENS, type ScaleUnit, type SchemaHashTable, type SchemaSource, type SectionBlock, type SectionPlanItem, type SectionProps, type SectionSpaceToken, type ShadowToken, type ShowIf, type ShowIfRule, type SignInInput, type SignUpInput, type SiteSeoDefaults, type SlideItem, type SliderBlock, type SliderProps, type SlotChild, type SlotItem, type SlotShapeOptions, type SlotShapeProblem, type SlotValue, type SourcedFacet, type SpaceStepToken, type SpaceToken, type SpacerBlock, type SpacerProps, TABLE_COLUMN_TYPES, TABLE_CSS, TABLE_JSONLD_TYPES, TABLE_LIMITS, TABLE_RESPONSIVE, TAB_MAX, TAB_MAX_RENDERABLE_NOW, TAG_HEADS, THEME_TOKENS, type TabItem, type TableCell, type TableCellObject, type TableCellValue, type TableCheckOptions, type TableColumn, type TableColumnType, type TableFieldOptions, type TableFootnote, type TableGroup, type TableLink, type TableProblem, type TableRef, type TableRefResolved, type TableRow, type TableValue, type TabsBlock, type TabsProps, type TextBlock, type TextProps, type ThemeToken, UI_PROTOCOLS, UI_REFUSAL_CODES, UI_REFUSAL_IDS, type UiBefore, type UiManifestEntry, type UiManifestV2, type UiOrigin, type UiProtocol, type UiRefusal, type UiRefusalFamily, type UiRefusalId, type UploadIconValue, type V2Placement, type V2Shape, type V2VariantMeta, V2_KEYS, V2_PLACEMENTS, V2_SHAPES, VARIANT_PROP_KEY, VIDEO_TRANSCRIPT_MAX, VIDEO_VALUE_KEYS, type ValidateDockUiInput, type ValidateDockUiOutput, type VariantGroupV2, type VariantInputMapping, type VideoBlock, type VideoProps, type VideoValue, type VisibilityWindow, WIDTH_FIT_FAIL_KINDS, type WeightToken, type WidthFitFailKind, type WidthFitResult, type WindowState, type Workspace, type WriteDockUiInput, type WriteDockUiOutput, type ZoneField, allowRuleOf, anchorSlug, anchorTargetRel, blockStyleToColumnCss, blockStyleToCss, blockStyleToInnerCss, bodySchemaOf, buttonBlockProps, buttonFullWidthProblem, buttonIconOf, buttonIconSvg, buttonLinkPairs, buttonLookValue, buttonSiteLookOf, buttonTextCss, buttonTextCssText, buttonTextProblem, buttonValueOfInstance, buttonValueProblem, buttonVariantOf, candidateRole, canonicalJson, compactIcon, componentInstanceAddresses, componentPropTargetKey, defaultSectionAnchors, derivedPairs, dockBudget, dockScreens, dockUiMerkleKey, embedAddress, embedMarkerHtml, embedVisible, evaluateShowIf, exampleFor, expandBlockBindings, fieldGroupOf, fieldStyleCssText, fieldStyleToCss, fileExtension, fileFieldLimits, formUploadAccept, formUploadLimits, formatNumber, formatPropsAttribute, getBlockType, headingPaintCss, hiddenEverywhere, hideOnAttr, iconHtml, iconIdentity, iconSrc, iconValueProblem, imageFrameCss, inWindow, isBlock, isButtonLookValue, isChromeLandmark, isCodeButton, isComponentGateCode, isDeriveReservedKey, isDockUiImportAllowed, isEmbedReason, isIconObjectForm, isLinkObject, isRefusedUploadExtension, isReservedKey, isRoleKey, isRulePaired, isScriptHref, isSlotChild, isTableValue, isUiRefusal, isVariantVisible, keyWords, landmarkRegions, linkAnchorOf, linkHref, linkRefOf, linkValueProblem, locatorFor, locatorPath, mayOverwrite, normaliseRichTextFeatures, normalizeIcon, normalizeLinkValue, normalizeTableValue, normalizeWindow, parseEmbedMarkers, parseNumberText, parsePropsAttribute, pickFieldStyle, placementBindOf, planSections, readButtonValue, readNumberFormat, readPath, referenceCreateRefusal, regionOf, renderTableHtml, resolveIconOptions, richTextRefusal, rulePartnerOf, safeCssUrl, schemaHashInput, sectionIdentityAttrs, sideFloorApplies, sideSpaceCss, slotBindOf, slotChildValues, slotItems, slotPathString, slotShapeProblems, slugify, spaceTokenCss, splitButtonStyle, tableCellText, tablePathString, tableRefCells, tableSearchText, tableToMarkdown, tableValueProblems, topFieldKeyOf, uiRefusalId, usesHideOn, variantOptionsFromUnion, variantOptionsOf, variantPropOf, videoUrlOf, videoValueProblem, visibleBlocks, visibleDeliveredLayout, visibleLayoutStructure, windowState, withButtonLookProps, withExample, withIconLabel };
|