@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.js CHANGED
@@ -280,6 +280,12 @@ function componentInstanceAddresses(instanceBlockId, props, owner) {
280
280
  if (!prop?.key || !prop.target?.blockId) continue;
281
281
  const from = componentPropTargetKey(prop);
282
282
  if (!out.has(from)) out.set(from, `${instance}__overrides.${prop.key}`);
283
+ if (prop.target.path === "props") {
284
+ const text2 = `${prop.target.blockId}__text`;
285
+ const href = `${prop.target.blockId}__href`;
286
+ if (!out.has(text2)) out.set(text2, `${instance}__overrides.${prop.key}.label`);
287
+ if (!out.has(href)) out.set(href, `${instance}__overrides.${prop.key}.href`);
288
+ }
283
289
  }
284
290
  return out;
285
291
  }
@@ -333,15 +339,31 @@ function spaceTokenCss(token) {
333
339
  // src/blockStyle.ts
334
340
  var SPACE_PX = { none: "0", xs: "4px", sm: "8px", md: "16px", lg: "32px", xl: "64px" };
335
341
  var FONT_SIZE_REM = {
342
+ xs: "0.75rem",
336
343
  sm: "0.875rem",
337
344
  base: "1rem",
345
+ md: "1.125rem",
338
346
  lg: "1.25rem",
339
347
  xl: "1.5rem",
340
348
  "2xl": "2rem",
341
349
  "3xl": "2.25rem",
350
+ "3.5xl": "2.5rem",
342
351
  "4xl": "3rem",
343
352
  "5xl": "4rem"
344
353
  };
354
+ var FONT_SIZE_TOKEN_PX = {
355
+ xs: 12,
356
+ sm: 14,
357
+ base: 16,
358
+ md: 18,
359
+ lg: 20,
360
+ xl: 24,
361
+ "2xl": 32,
362
+ "3xl": 36,
363
+ "3.5xl": 40,
364
+ "4xl": 48,
365
+ "5xl": 64
366
+ };
345
367
  var WEIGHT = { normal: 400, medium: 500, semibold: 600, bold: 700 };
346
368
  var RADIUS_PX = { none: "0", sm: "4px", md: "8px", lg: "16px", full: "9999px" };
347
369
  var IMAGE_ASPECTS = ["16/9", "16/7", "4/3", "4/5", "1/1"];
@@ -377,6 +399,9 @@ var FILL_SCHEME = {
377
399
  dark: { colorScheme: "dark", color: "#f7f8f8" },
378
400
  accent: { colorScheme: "var(--bcms-accent-scheme,dark)", color: "var(--bcms-on-accent,#ffffff)" }
379
401
  };
402
+ var BG_TOKEN_CSS = {
403
+ "brand-tint": "var(--bcms-bg-tint,color-mix(in srgb,var(--bcms-bg-accent,#4f46e5) 8%,var(--bcms-bg-surface,#ffffff)))"
404
+ };
380
405
  var CORNER_PX = { "0": "0", s: "4px", m: "8px", l: "16px", xl: "24px", "2xl": "32px" };
381
406
  var SHADOW_CSS = {
382
407
  "0": "none",
@@ -395,6 +420,43 @@ function hideOnAttr(style) {
395
420
  const on = ["mobile", "tablet", "desktop"].filter((b) => raw.includes(b));
396
421
  return on.length === 3 ? "" : on.join(" ");
397
422
  }
423
+ var SECTION_ANCHOR = /^[a-z0-9-]{1,64}$/;
424
+ var SECTION_CSS_CLASS = /^[A-Za-z0-9_\- ]{1,200}$/;
425
+ function sectionIdentityAttrs(style) {
426
+ if (!style || typeof style !== "object") return {};
427
+ const s = style;
428
+ const out = {};
429
+ if (typeof s.anchor === "string" && SECTION_ANCHOR.test(s.anchor)) out.id = s.anchor;
430
+ if (typeof s.cssClass === "string" && SECTION_CSS_CLASS.test(s.cssClass)) {
431
+ const names = s.cssClass.split(" ").filter(Boolean);
432
+ if (names.length) out.className = names.join(" ");
433
+ }
434
+ return out;
435
+ }
436
+ function anchorSlug(text2) {
437
+ return text2.normalize("NFKD").replace(/[\u0300-\u036f]/g, "").toLowerCase().replace(/[^a-z0-9]+/g, "-").replace(/^-+|-+$/g, "").slice(0, 64).replace(/-+$/, "");
438
+ }
439
+ function defaultSectionAnchors(blocks) {
440
+ const out = /* @__PURE__ */ new Map();
441
+ if (!Array.isArray(blocks)) return out;
442
+ const used = /* @__PURE__ */ new Set();
443
+ for (const b of blocks) {
444
+ const own2 = b && typeof b === "object" ? sectionIdentityAttrs(b.style).id : void 0;
445
+ if (own2) used.add(own2);
446
+ }
447
+ for (const b of blocks) {
448
+ if (!b || typeof b !== "object") continue;
449
+ if (sectionIdentityAttrs(b.style).id) continue;
450
+ const label = b.label;
451
+ const base = typeof label === "string" ? anchorSlug(label) : "";
452
+ if (!base) continue;
453
+ let anchor = base;
454
+ for (let n = 2; used.has(anchor); n++) anchor = `${base.slice(0, 64 - String(n).length - 1).replace(/-+$/, "")}-${n}`;
455
+ used.add(anchor);
456
+ out.set(b, anchor);
457
+ }
458
+ return out;
459
+ }
398
460
  function usesHideOn(blocks) {
399
461
  let found = false;
400
462
  JSON.stringify(blocks ?? null, (k, v) => {
@@ -467,6 +529,7 @@ function blockStyleToCss(style) {
467
529
  css.color = fill.color;
468
530
  }
469
531
  }
532
+ if (own(BG_TOKEN_CSS, s.bgToken)) css.background = own(BG_TOKEN_CSS, s.bgToken);
470
533
  const bgImage = safeCssUrl(s.bgImage);
471
534
  if (bgImage) {
472
535
  css.backgroundImage = `url(${bgImage})`;
@@ -474,8 +537,9 @@ function blockStyleToCss(style) {
474
537
  css.backgroundPosition = "center";
475
538
  }
476
539
  const n = style;
477
- if (!top && typeof n.paddingTop === "number") css.paddingTop = `${clamp(n.paddingTop, 0, 240)}px`;
478
- if (!bottom && typeof n.paddingBottom === "number") css.paddingBottom = `${clamp(n.paddingBottom, 0, 240)}px`;
540
+ const scaled = (px) => n.padScale === true ? `calc(${clamp(px, 0, 240)}px * var(--bcms-pad-scale, 1))` : `${clamp(px, 0, 240)}px`;
541
+ if (!top && typeof n.paddingTop === "number") css.paddingTop = scaled(n.paddingTop);
542
+ if (!bottom && typeof n.paddingBottom === "number") css.paddingBottom = scaled(n.paddingBottom);
479
543
  if (!sides && typeof n.paddingSides === "number") {
480
544
  const px = `${clamp(n.paddingSides, 0, 240)}px`;
481
545
  css.paddingLeft = px;
@@ -547,7 +611,7 @@ function splitButtonStyle(style) {
547
611
  paint: Object.keys(paint).length ? paint : void 0
548
612
  };
549
613
  }
550
- var FIELD_STYLE_KEYS = ["contentWidth", "contentAlign", "marginTop", "marginBottom", "align", "fontSize", "weight", "size"];
614
+ var FIELD_STYLE_KEYS = ["contentWidth", "contentAlign", "marginTop", "marginBottom", "align", "fontSize", "weight", "size", "textColor"];
551
615
  var FIELD_SIZE_ZOOM = { sm: "0.875", lg: "1.125" };
552
616
  var FIELD_KEY_SET = new Set(FIELD_STYLE_KEYS);
553
617
  function pickFieldStyle(style) {
@@ -3627,9 +3691,46 @@ function buttonValueProblem(value, looks) {
3627
3691
  if (v.newTab !== void 0 && typeof v.newTab !== "boolean") return "newTab must be true or false";
3628
3692
  if (v.rel !== void 0 && !LINK_RELS.includes(v.rel)) return `has an unknown rel "${String(v.rel)}" (nofollow, sponsored or ugc)`;
3629
3693
  if (v.icon !== void 0 && v.icon !== null && buttonIconOf(v.icon) === null) return `has an unknown icon "${String(v.icon)}"`;
3694
+ return buttonTextProblem(v);
3695
+ }
3696
+ var BUTTON_TEXT_CSS = {
3697
+ radius: { prop: "borderRadius", values: { "0": "0", s: "4px", m: "8px", l: "12px", full: "999px" } },
3698
+ font: { prop: "fontFamily", values: { site: "inherit", serif: "var(--bcms-font-heading,Georgia,serif)", mono: "var(--bcms-font-mono,ui-monospace,SFMono-Regular,Menlo,monospace)" } },
3699
+ fontSize: { prop: "fontSize", values: { "12": "12px", "13": "13px", "14": "14px", "16": "16px", "18": "18px" } },
3700
+ weight: { prop: "fontWeight", values: { "400": "400", "500": "500", "600": "600", "700": "700", "800": "800" } },
3701
+ letterSpacing: { prop: "letterSpacing", values: { "-2": "-0.02em", "-1": "-0.01em", "0": "0", "1": "0.01em", "2": "0.02em" } },
3702
+ textCase: { prop: "textTransform", values: { none: "none", title: "capitalize", upper: "uppercase" } }
3703
+ };
3704
+ var BUTTON_TEXT_KEYS = Object.keys(BUTTON_TEXT_CSS);
3705
+ function buttonTextCss(props) {
3706
+ if (!props || typeof props !== "object") return void 0;
3707
+ const p = props;
3708
+ const css = {};
3709
+ for (const key of BUTTON_TEXT_KEYS) {
3710
+ const { prop, values } = BUTTON_TEXT_CSS[key];
3711
+ const token = p[key];
3712
+ if (typeof token === "string" && Object.prototype.hasOwnProperty.call(values, token)) css[prop] = values[token];
3713
+ }
3714
+ return Object.keys(css).length ? css : void 0;
3715
+ }
3716
+ function buttonTextCssText(props) {
3717
+ const css = buttonTextCss(props);
3718
+ return css ? Object.entries(css).map(([k, v]) => `${k.replace(/[A-Z]/g, (m) => `-${m.toLowerCase()}`)}:${v}`).join(";") : "";
3719
+ }
3720
+ function buttonTextProblem(value) {
3721
+ if (!value || typeof value !== "object") return null;
3722
+ const v = value;
3723
+ for (const key of BUTTON_TEXT_KEYS) {
3724
+ const token = v[key];
3725
+ if (token === void 0 || token === null) continue;
3726
+ const values = BUTTON_TEXT_CSS[key].values;
3727
+ if (typeof token !== "string" || !Object.prototype.hasOwnProperty.call(values, token)) {
3728
+ return `has an unknown ${key} "${String(token)}" (${Object.keys(values).join(", ")})`;
3729
+ }
3730
+ }
3630
3731
  return null;
3631
3732
  }
3632
- var BUTTON_LOOK_KEYS = ["variant", "size", "arrow", "icon", "newTab", "fullWidth"];
3733
+ var BUTTON_LOOK_KEYS = ["variant", "size", "arrow", "icon", "newTab", "fullWidth", "radius", "font", "fontSize", "weight", "letterSpacing", "textCase"];
3633
3734
  function buttonBlockProps(value) {
3634
3735
  if (!value || typeof value !== "object" || Array.isArray(value)) return {};
3635
3736
  const v = value;
@@ -3666,8 +3767,34 @@ function soleButtonId(blockJson) {
3666
3767
  walk(blockJson);
3667
3768
  return ids.length === 1 ? ids[0] : null;
3668
3769
  }
3669
- var LOOK_PROP_TYPE = { variant: "text", size: "text", arrow: "boolean", icon: "text", newTab: "boolean", fullWidth: "boolean" };
3670
- var LOOK_PROP_LABEL = { variant: "Style", size: "Size", arrow: "Show arrow", icon: "Leading icon", newTab: "Open in new tab", fullWidth: "Full width" };
3770
+ var LOOK_PROP_TYPE = {
3771
+ variant: "text",
3772
+ size: "text",
3773
+ arrow: "boolean",
3774
+ icon: "text",
3775
+ newTab: "boolean",
3776
+ fullWidth: "boolean",
3777
+ radius: "text",
3778
+ font: "text",
3779
+ fontSize: "text",
3780
+ weight: "text",
3781
+ letterSpacing: "text",
3782
+ textCase: "text"
3783
+ };
3784
+ var LOOK_PROP_LABEL = {
3785
+ variant: "Style",
3786
+ size: "Size",
3787
+ arrow: "Show arrow",
3788
+ icon: "Leading icon",
3789
+ newTab: "Open in new tab",
3790
+ fullWidth: "Full width",
3791
+ radius: "Radius",
3792
+ font: "Font",
3793
+ fontSize: "Size of text",
3794
+ weight: "Weight",
3795
+ letterSpacing: "Letter spacing",
3796
+ textCase: "Case"
3797
+ };
3671
3798
  function withButtonLookProps(def) {
3672
3799
  const props = [...def.props ?? []];
3673
3800
  if (def.category !== "button") return props;
@@ -4087,7 +4214,7 @@ function cellHtml(t, col, row, c, fn, asHeader) {
4087
4214
  }
4088
4215
  return { inner: inner + sup, align: alignOf(col, type) };
4089
4216
  }
4090
- var TABLE_CSS = '.bt-table .bt-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.bt-table .bt-scroll{overflow-x:auto}.bt-table table{border-collapse:collapse;width:100%}.bt-table th,.bt-table td{padding:8px 12px;border-bottom:1px solid #e5e5e5;text-align:start;vertical-align:top}.bt-table [data-align="end"]{text-align:end}.bt-table [data-align="center"]{text-align:center}.bt-table caption{text-align:start;font-weight:600;padding-bottom:8px}.bt-table .bt-notes{font-size:.9em;margin-top:8px}';
4217
+ var TABLE_CSS = '.bt-table .bt-sr{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}.bt-table .bt-scroll{overflow-x:auto;position:relative}.bt-table table{border-collapse:collapse;width:100%}.bt-table th,.bt-table td{padding:8px 12px;border-bottom:1px solid #e5e5e5;text-align:start;vertical-align:top}.bt-table [data-align="end"]{text-align:end}.bt-table [data-align="center"]{text-align:center}.bt-table caption{text-align:start;font-weight:600;padding-bottom:8px}.bt-table .bt-notes{font-size:.9em;margin-top:8px}';
4091
4218
  function renderTableHtml(input) {
4092
4219
  const t = readTable(input);
4093
4220
  const id = (t.id ?? "tbl").replace(/[^\w-]/g, "") || "tbl";
@@ -4233,6 +4360,145 @@ function tableSearchText(input) {
4233
4360
  // src/content-model.ts
4234
4361
  var OPTION_DESCRIPTION_MAX = 140;
4235
4362
 
4363
+ // src/form-upload.ts
4364
+ var FORM_UPLOAD = {
4365
+ /** Per-file cap on every plan, in MB. */
4366
+ maxSizeMb: 10,
4367
+ /** The most a site whose plan may configure the cap can raise it to, in MB. */
4368
+ maxSizeMbCeiling: 25,
4369
+ /** Files per field on every plan. */
4370
+ maxFiles: 5,
4371
+ /** Files per field where the plan may configure limits. */
4372
+ maxFilesCeiling: 10
4373
+ };
4374
+ var FORM_UPLOAD_PRESETS = {
4375
+ images: ["jpg", "jpeg", "png", "gif", "webp", "heic"],
4376
+ pdf: ["pdf"],
4377
+ documents: ["doc", "docx", "odt", "rtf", "txt"],
4378
+ spreadsheets: ["xls", "xlsx", "ods", "csv"],
4379
+ archives: ["zip"]
4380
+ };
4381
+ var FORM_UPLOAD_DEFAULT_ACCEPT = [
4382
+ ...FORM_UPLOAD_PRESETS.images,
4383
+ ...FORM_UPLOAD_PRESETS.pdf,
4384
+ ...FORM_UPLOAD_PRESETS.documents,
4385
+ ...FORM_UPLOAD_PRESETS.spreadsheets
4386
+ ];
4387
+ var FORM_UPLOAD_REFUSED_EXTENSIONS = [
4388
+ "exe",
4389
+ "msi",
4390
+ "msp",
4391
+ "mst",
4392
+ "bat",
4393
+ "cmd",
4394
+ "com",
4395
+ "scr",
4396
+ "pif",
4397
+ "cpl",
4398
+ "dll",
4399
+ "sys",
4400
+ "drv",
4401
+ "vbs",
4402
+ "vbe",
4403
+ "js",
4404
+ "jse",
4405
+ "mjs",
4406
+ "cjs",
4407
+ "wsf",
4408
+ "wsh",
4409
+ "ps1",
4410
+ "psm1",
4411
+ "psd1",
4412
+ "hta",
4413
+ "sh",
4414
+ "bash",
4415
+ "zsh",
4416
+ "csh",
4417
+ "ksh",
4418
+ "fish",
4419
+ "command",
4420
+ "action",
4421
+ "workflow",
4422
+ "jar",
4423
+ "class",
4424
+ "app",
4425
+ "dmg",
4426
+ "pkg",
4427
+ "deb",
4428
+ "rpm",
4429
+ "apk",
4430
+ "ipa",
4431
+ "appx",
4432
+ "msix",
4433
+ "lnk",
4434
+ "url",
4435
+ "scf",
4436
+ "reg",
4437
+ "inf",
4438
+ "ins",
4439
+ "chm",
4440
+ "gadget",
4441
+ "html",
4442
+ "htm",
4443
+ "xhtml",
4444
+ "shtml",
4445
+ "svg",
4446
+ "php",
4447
+ "phtml",
4448
+ "asp",
4449
+ "aspx",
4450
+ "jsp",
4451
+ "cgi",
4452
+ "py",
4453
+ "rb",
4454
+ "pl",
4455
+ "iso",
4456
+ "img",
4457
+ "vhd",
4458
+ "vhdx",
4459
+ "bin",
4460
+ "elf",
4461
+ "so",
4462
+ "dylib",
4463
+ "docm",
4464
+ "xlsm",
4465
+ "pptm",
4466
+ "dotm",
4467
+ "xltm",
4468
+ "xlam",
4469
+ "xll",
4470
+ "mht",
4471
+ "mhtml",
4472
+ "msc",
4473
+ "scpt",
4474
+ "vb",
4475
+ "ws",
4476
+ "jnlp",
4477
+ "swf"
4478
+ ];
4479
+ function isRefusedUploadExtension(ext) {
4480
+ return FORM_UPLOAD_REFUSED_EXTENSIONS.includes(ext.toLowerCase());
4481
+ }
4482
+ function fileExtension(name) {
4483
+ const base = name.slice(Math.max(name.lastIndexOf("/"), name.lastIndexOf("\\")) + 1);
4484
+ const dot = base.lastIndexOf(".");
4485
+ return dot <= 0 || dot === base.length - 1 ? "" : base.slice(dot + 1).toLowerCase();
4486
+ }
4487
+ function formUploadAccept(accept) {
4488
+ const own2 = [...new Set((accept ?? []).map((e) => e.trim().replace(/^\./, "").toLowerCase()))].filter((e) => e && !isRefusedUploadExtension(e));
4489
+ return own2.length ? own2 : [...FORM_UPLOAD_DEFAULT_ACCEPT];
4490
+ }
4491
+ function formUploadLimits(rules, configurable) {
4492
+ const files = Math.max(1, Math.floor(rules?.maxFiles ?? 1));
4493
+ return {
4494
+ maxFiles: Math.min(files, configurable ? FORM_UPLOAD.maxFilesCeiling : FORM_UPLOAD.maxFiles),
4495
+ maxSizeMb: configurable ? Math.min(Math.max(1, rules?.maxSizeMb ?? FORM_UPLOAD.maxSizeMb), FORM_UPLOAD.maxSizeMbCeiling) : FORM_UPLOAD.maxSizeMb
4496
+ };
4497
+ }
4498
+ function fileFieldLimits(field) {
4499
+ return { ...formUploadLimits(field.validation, true), accept: formUploadAccept(field.validation?.accept) };
4500
+ }
4501
+
4236
4502
  // src/locator.ts
4237
4503
  var LANDMARK_SELECTOR = "header,nav,footer";
4238
4504
  var LANDMARK_TAGS = /* @__PURE__ */ new Set(["HEADER", "NAV", "FOOTER"]);
@@ -4975,6 +5241,7 @@ function iconHtml(v, className = "") {
4975
5241
  }
4976
5242
  export {
4977
5243
  BG_TOKENS,
5244
+ BG_TOKEN_CSS,
4978
5245
  BLOCK_BINDINGS,
4979
5246
  BLOCK_FIELD_TYPES,
4980
5247
  BLOCK_FIELD_TYPES_RENDERABLE_NOW,
@@ -4987,6 +5254,8 @@ export {
4987
5254
  BUTTON_LOOK_KEYS,
4988
5255
  BUTTON_PLACEMENT_KEYS,
4989
5256
  BUTTON_SIZES,
5257
+ BUTTON_TEXT_CSS,
5258
+ BUTTON_TEXT_KEYS,
4990
5259
  BUTTON_VARIANTS,
4991
5260
  CANVAS_GESTURE_NAMES,
4992
5261
  CATEGORY_ID_MAX,
@@ -5011,7 +5280,12 @@ export {
5011
5280
  EMBED_REASONS,
5012
5281
  FIELD_SIZE_ZOOM,
5013
5282
  FIELD_STYLE_KEYS,
5283
+ FONT_SIZE_TOKEN_PX,
5014
5284
  FOOTER_SECTION_ID,
5285
+ FORM_UPLOAD,
5286
+ FORM_UPLOAD_DEFAULT_ACCEPT,
5287
+ FORM_UPLOAD_PRESETS,
5288
+ FORM_UPLOAD_REFUSED_EXTENSIONS,
5015
5289
  FRAME_REFUSALS,
5016
5290
  HELP_CAPS,
5017
5291
  HELP_LINE_MAX,
@@ -5055,6 +5329,8 @@ export {
5055
5329
  RICHTEXT_TOGGLE_FEATURES,
5056
5330
  ROLE_KEYS,
5057
5331
  SCHEMA_HASH_INPUTS,
5332
+ SECTION_ANCHOR,
5333
+ SECTION_CSS_CLASS,
5058
5334
  SECTION_DOCTRINE,
5059
5335
  SECTION_SPACE_TOKENS,
5060
5336
  SEGMENTED_MAX,
@@ -5071,6 +5347,7 @@ export {
5071
5347
  SPACE_BOTTOM_TOKENS,
5072
5348
  SPACE_STEP_TOKENS,
5073
5349
  TABLE_COLUMN_TYPES,
5350
+ TABLE_CSS,
5074
5351
  TABLE_JSONLD_TYPES,
5075
5352
  TABLE_LIMITS,
5076
5353
  TABLE_RESPONSIVE,
@@ -5089,6 +5366,7 @@ export {
5089
5366
  VIDEO_VALUE_KEYS,
5090
5367
  WIDTH_FIT_FAIL_KINDS,
5091
5368
  allowRuleOf,
5369
+ anchorSlug,
5092
5370
  anchorTargetRel,
5093
5371
  blockStyleToColumnCss,
5094
5372
  blockStyleToCss,
@@ -5101,6 +5379,9 @@ export {
5101
5379
  buttonLinkPairs,
5102
5380
  buttonLookValue,
5103
5381
  buttonSiteLookOf,
5382
+ buttonTextCss,
5383
+ buttonTextCssText,
5384
+ buttonTextProblem,
5104
5385
  buttonValueOfInstance,
5105
5386
  buttonValueProblem,
5106
5387
  buttonVariantOf,
@@ -5109,6 +5390,7 @@ export {
5109
5390
  compactIcon,
5110
5391
  componentInstanceAddresses,
5111
5392
  componentPropTargetKey,
5393
+ defaultSectionAnchors,
5112
5394
  derivedPairs,
5113
5395
  dockBudget,
5114
5396
  dockScreens,
@@ -5122,6 +5404,10 @@ export {
5122
5404
  fieldGroupOf,
5123
5405
  fieldStyleCssText,
5124
5406
  fieldStyleToCss,
5407
+ fileExtension,
5408
+ fileFieldLimits,
5409
+ formUploadAccept,
5410
+ formUploadLimits,
5125
5411
  formatNumber,
5126
5412
  formatPropsAttribute,
5127
5413
  getBlockType,
@@ -5144,6 +5430,7 @@ export {
5144
5430
  isEmbedReason,
5145
5431
  isIconObjectForm,
5146
5432
  isLinkObject,
5433
+ isRefusedUploadExtension,
5147
5434
  isReservedKey,
5148
5435
  isRoleKey,
5149
5436
  isRulePaired,
@@ -5183,6 +5470,7 @@ export {
5183
5470
  rulePartnerOf,
5184
5471
  safeCssUrl,
5185
5472
  schemaHashInput,
5473
+ sectionIdentityAttrs,
5186
5474
  sideFloorApplies,
5187
5475
  sideSpaceCss,
5188
5476
  slotBindOf,