@plitzi/sdk-authoring 0.38.8 → 0.38.10

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 CHANGED
@@ -411,26 +411,27 @@ export declare const apiContainer: {
411
411
  method?: "get" | "post" | "put" | "delete" | "patch" | undefined;
412
412
  resource?: string | undefined;
413
413
  headers?: Record<string, string> | undefined;
414
+ notFound?: string | undefined;
414
415
  subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "" | undefined;
416
+ credentials?: RequestCredentials | undefined;
417
+ staleTime?: number | string | undefined;
418
+ gcTime?: number | string | undefined;
419
+ pageParam?: string | undefined;
415
420
  query?: string | undefined;
416
421
  accessToken?: string | undefined;
417
422
  mockData?: (Record<string, unknown> | string) | undefined;
418
- credentials?: RequestCredentials | undefined;
423
+ singleRecord?: boolean | undefined;
424
+ pagination?: ProviderPagination | undefined;
425
+ renderWhileLoading?: boolean | undefined;
426
+ loadingSlot?: string | undefined;
427
+ refreshSeconds?: number | string | undefined;
419
428
  connector?: string | undefined;
420
429
  limit?: string | undefined;
421
- singleRecord?: boolean | undefined;
422
430
  filters?: {
423
431
  field: string;
424
432
  operator: string;
425
433
  value: string;
426
434
  }[] | undefined;
427
- pagination?: ProviderPagination | undefined;
428
- pageParam?: string | undefined;
429
- renderWhileLoading?: boolean | undefined;
430
- loadingSlot?: string | undefined;
431
- staleTime?: number | string | undefined;
432
- gcTime?: number | string | undefined;
433
- refreshSeconds?: number | string | undefined;
434
435
  }>> | undefined): ElementSpec;
435
436
  (props?: ElementProps<Partial<{
436
437
  when?: RuleGroup | undefined;
@@ -441,26 +442,27 @@ export declare const apiContainer: {
441
442
  method?: "get" | "post" | "put" | "delete" | "patch" | undefined;
442
443
  resource?: string | undefined;
443
444
  headers?: Record<string, string> | undefined;
445
+ notFound?: string | undefined;
444
446
  subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "" | undefined;
447
+ credentials?: RequestCredentials | undefined;
448
+ staleTime?: number | string | undefined;
449
+ gcTime?: number | string | undefined;
450
+ pageParam?: string | undefined;
445
451
  query?: string | undefined;
446
452
  accessToken?: string | undefined;
447
453
  mockData?: (Record<string, unknown> | string) | undefined;
448
- credentials?: RequestCredentials | undefined;
454
+ singleRecord?: boolean | undefined;
455
+ pagination?: ProviderPagination | undefined;
456
+ renderWhileLoading?: boolean | undefined;
457
+ loadingSlot?: string | undefined;
458
+ refreshSeconds?: number | string | undefined;
449
459
  connector?: string | undefined;
450
460
  limit?: string | undefined;
451
- singleRecord?: boolean | undefined;
452
461
  filters?: {
453
462
  field: string;
454
463
  operator: string;
455
464
  value: string;
456
465
  }[] | undefined;
457
- pagination?: ProviderPagination | undefined;
458
- pageParam?: string | undefined;
459
- renderWhileLoading?: boolean | undefined;
460
- loadingSlot?: string | undefined;
461
- staleTime?: number | string | undefined;
462
- gcTime?: number | string | undefined;
463
- refreshSeconds?: number | string | undefined;
464
466
  }>> | undefined): ElementSpec;
465
467
  };
466
468
 
@@ -731,6 +733,11 @@ export declare const AUTHORING_CODES: {
731
733
  readonly means: "a page that sends visitors it is not for to a page the space does not have";
732
734
  readonly fix: "a page's id or slug (`''` is the home page), or a full URL";
733
735
  };
736
+ readonly 'page-template': {
737
+ readonly kind: "refused";
738
+ readonly means: "a template in a page's `seoTitle`, `seoDescription` or `notFound` that reads what is not there when the server answers — anything but the page's `runtime: 'server'` providers and `navigation` — or cannot be read";
739
+ readonly fix: "read the record from a provider with `runtime: 'server'` on the page or its layout — `'{{ apiContainer_post.title }} — Blog'` — or words of its own";
740
+ };
734
741
  readonly 'folder-undeclared': {
735
742
  readonly kind: "refused";
736
743
  readonly means: "a page, a layout or a folder filed in a folder the space does not declare";
@@ -906,6 +913,11 @@ export declare const AUTHORING_CODES: {
906
913
  readonly means: "an ancestor condition keyed by something that is neither a class name nor `'>'` (the parent)";
907
914
  readonly fix: "`[card.name]` for a `styles()` declaration, or `'>'` for the parent whatever it wears";
908
915
  };
916
+ readonly 'focus-on-field-box': {
917
+ readonly kind: "warned";
918
+ readonly means: "a `focus` or `focus-visible` state on a text field's or a select's `input` slot — the box the field is drawn in, which never takes focus, so no ring is ever shown";
919
+ readonly fix: "`'focus-within'` on the same class, or the state on the `field` slot";
920
+ };
909
921
  readonly 'heading-level-overridden': {
910
922
  readonly kind: "warned";
911
923
  readonly means: "a markdown's or richText's `heading` slot and a level's (`heading3`) both setting one property, the general class written later in the stylesheet — the level's value is lost";
@@ -1136,6 +1148,16 @@ export declare const AUTHORING_CODES: {
1136
1148
  readonly means: "a `runtime: 'server'` element inside a component: the page server resolves a page's and its layouts', never a component's";
1137
1149
  readonly fix: "put the provider on the page, around the instance, and hand the component its rows as a prop";
1138
1150
  };
1151
+ readonly 'not-found-in-browser': {
1152
+ readonly kind: "refused";
1153
+ readonly means: "`notFound` on a provider asked from the browser — its answer arrives after the page was sent with its status";
1154
+ readonly fix: "`runtime: 'server'` on the provider, or `visible` on the page's \"not found\" part instead";
1155
+ };
1156
+ readonly 'not-found-not-a-template': {
1157
+ readonly kind: "refused";
1158
+ readonly means: "`notFound`, a provider's or a page's, that is not one `{{ expression }}` — never `true`, so never a 404";
1159
+ readonly fix: "`notFound: '{{ source.found == false }}'`";
1160
+ };
1139
1161
  readonly 'server-data-in-browser': {
1140
1162
  readonly kind: "refused";
1141
1163
  readonly means: "a provider asking for the project's own data (`/data/…`, read by its server from `src/data/` and never served) from the browser";
@@ -1156,6 +1178,11 @@ export declare const AUTHORING_CODES: {
1156
1178
  readonly means: "a control in a form with no `name` — its value never reaches `values`";
1157
1179
  readonly fix: "`formControl({ name: 'email', … })`";
1158
1180
  };
1181
+ readonly 'required-message-unused': {
1182
+ readonly kind: "warned";
1183
+ readonly means: "a `requiredMessage` on a field nothing requires — fields are optional unless `required: true`, so it is never shown and an empty answer is sent";
1184
+ readonly fix: "`required: true` on the field, or no message";
1185
+ };
1159
1186
  readonly 'form-control-name-taken': {
1160
1187
  readonly kind: "warned";
1161
1188
  readonly means: "two controls in one form with one name — one overwrites the other";
@@ -1621,6 +1648,11 @@ export declare const AUTHORING_CODES: {
1621
1648
  readonly means: "a colour written out in a class where the space has a token of that value — it stays put in the dark scheme";
1622
1649
  readonly fix: "`var(--token)` when it should follow the scheme; a token of one value of its own when it must stay the same in both";
1623
1650
  };
1651
+ readonly 'not-found-page': {
1652
+ readonly kind: "suggested";
1653
+ readonly means: "a space with no page of its own for an address no other page answers — a plain one was added, in the home page’s layout, sent with status 404";
1654
+ readonly fix: "a page whose slug is `'*'`: `{ id: 'not-found', name: 'Not found', slug: '*', layout: …, body: [...] }`";
1655
+ };
1624
1656
  readonly 'unused-component': {
1625
1657
  readonly kind: "suggested";
1626
1658
  readonly means: "a component no page, layout or other component places";
@@ -1835,6 +1867,11 @@ export declare interface AuthorSpaceOptions {
1835
1867
  * nothing.
1836
1868
  */
1837
1869
  plugins?: readonly PluginDeclarationData[];
1870
+ /**
1871
+ * The CSS the space's pages load besides its own — its plugins' stylesheets. Read for the tokens they use: one only a
1872
+ * plugin reads (`var(--glass)` in its `.css`) is not said to be unused, which would have its colour deleted.
1873
+ */
1874
+ stylesheets?: readonly string[];
1838
1875
  /**
1839
1876
  * What this document breaks ON PURPOSE — a fixture for how the runtime copes with something no author would write,
1840
1877
  * like a provider whose URL names a route param no page has. See {@link AllowedBreak}.
@@ -2130,8 +2167,8 @@ export declare const carousel: {
2130
2167
  items?: unknown[] | undefined;
2131
2168
  speed?: number | undefined;
2132
2169
  loop?: boolean | undefined;
2133
- autoplay?: number | undefined;
2134
2170
  pauseOnHover?: boolean | undefined;
2171
+ autoplay?: number | undefined;
2135
2172
  transition?: CarouselTransition | undefined;
2136
2173
  itemKey?: string | undefined;
2137
2174
  }>, "items"> & {
@@ -2143,8 +2180,8 @@ export declare const carousel: {
2143
2180
  items?: unknown[] | undefined;
2144
2181
  speed?: number | undefined;
2145
2182
  loop?: boolean | undefined;
2146
- autoplay?: number | undefined;
2147
2183
  pauseOnHover?: boolean | undefined;
2184
+ autoplay?: number | undefined;
2148
2185
  transition?: CarouselTransition | undefined;
2149
2186
  itemKey?: string | undefined;
2150
2187
  }>, "items"> & {
@@ -2201,16 +2238,16 @@ export declare const catalogTemplateFiles: ({ name, mode }?: {
2201
2238
  export declare const channel: {
2202
2239
  (children: ElementSpec[], props?: ElementProps<Partial<{
2203
2240
  subType?: "" | "div" | "section" | "aside" | "main" | undefined;
2204
- topic?: string | undefined;
2205
2241
  grant?: string | undefined;
2206
2242
  presence?: unknown;
2243
+ topic?: string | undefined;
2207
2244
  keep?: number | string | undefined;
2208
2245
  }>> | undefined): ElementSpec;
2209
2246
  (props?: ElementProps<Partial<{
2210
2247
  subType?: "" | "div" | "section" | "aside" | "main" | undefined;
2211
- topic?: string | undefined;
2212
2248
  grant?: string | undefined;
2213
2249
  presence?: unknown;
2250
+ topic?: string | undefined;
2214
2251
  keep?: number | string | undefined;
2215
2252
  }>> | undefined): ElementSpec;
2216
2253
  };
@@ -2803,7 +2840,7 @@ export declare const elementAncestorTypes: Record<string, string>;
2803
2840
  * a builder that has since moved on, and nothing renders it.
2804
2841
  */
2805
2842
  export declare const elementAttributeNames: {
2806
- readonly apiContainer: readonly ["accessToken", "action", "cache", "connector", "credentials", "endpoint", "filters", "gcTime", "headers", "input", "limit", "loadingSlot", "method", "mockData", "pageParam", "pagination", "query", "refreshSeconds", "renderWhileLoading", "resource", "singleRecord", "staleTime", "subType", "when"];
2843
+ readonly apiContainer: readonly ["accessToken", "action", "cache", "connector", "credentials", "endpoint", "filters", "gcTime", "headers", "input", "limit", "loadingSlot", "method", "mockData", "notFound", "pageParam", "pagination", "query", "refreshSeconds", "renderWhileLoading", "resource", "singleRecord", "staleTime", "subType", "when"];
2807
2844
  readonly blockHtml: readonly ["content"];
2808
2845
  readonly blockJsx: readonly ["allowEmptyRender", "content", "contentCache", "props"];
2809
2846
  readonly button: readonly ["ariaExpanded", "ariaPressed", "content", "contentPlacement", "controls", "disabled", "icon", "iconPlacement", "label", "subType", "title"];
@@ -2823,14 +2860,14 @@ export declare const elementAttributeNames: {
2823
2860
  readonly image: readonly ["alt", "decorative", "fetchPriority", "height", "loadMode", "resize", "sizes", "src", "width"];
2824
2861
  readonly layoutContainer: readonly ["layout", "layoutContainer", "subType"];
2825
2862
  readonly link: readonly ["content", "contentPlacement", "current", "hash", "href", "icon", "iconPlacement", "label", "mode", "target"];
2826
- readonly list: readonly ["itemKey", "items", "source", "subType"];
2863
+ readonly list: readonly ["itemKey", "items", "label", "source", "subType"];
2827
2864
  readonly listItem: readonly [];
2828
2865
  readonly loading: readonly [];
2829
2866
  readonly markdown: readonly ["content", "headingLinks"];
2830
2867
  readonly modalContainer: readonly ["autoHideAfterClick", "title"];
2831
2868
  readonly nodeHtml: readonly ["about", "accessKey", "aria-activedescendant", "aria-atomic", "aria-autocomplete", "aria-braillelabel", "aria-brailleroledescription", "aria-busy", "aria-checked", "aria-colcount", "aria-colindex", "aria-colindextext", "aria-colspan", "aria-controls", "aria-current", "aria-describedby", "aria-description", "aria-details", "aria-disabled", "aria-dropeffect", "aria-errormessage", "aria-expanded", "aria-flowto", "aria-grabbed", "aria-haspopup", "aria-hidden", "aria-invalid", "aria-keyshortcuts", "aria-label", "aria-labelledby", "aria-level", "aria-live", "aria-modal", "aria-multiline", "aria-multiselectable", "aria-orientation", "aria-owns", "aria-placeholder", "aria-posinset", "aria-pressed", "aria-readonly", "aria-relevant", "aria-required", "aria-roledescription", "aria-rowcount", "aria-rowindex", "aria-rowindextext", "aria-rowspan", "aria-selected", "aria-setsize", "aria-sort", "aria-valuemax", "aria-valuemin", "aria-valuenow", "aria-valuetext", "autoCapitalize", "autoCorrect", "autoFocus", "autoSave", "color", "content", "contentEditable", "contextMenu", "dangerouslySetInnerHTML", "datatype", "defaultChecked", "defaultValue", "dir", "draggable", "enterKeyHint", "exportparts", "hidden", "inert", "inlist", "inputMode", "is", "itemID", "itemProp", "itemRef", "itemScope", "itemType", "lang", "nonce", "onAbort", "onAbortCapture", "onAnimationEnd", "onAnimationEndCapture", "onAnimationIteration", "onAnimationIterationCapture", "onAnimationStart", "onAnimationStartCapture", "onAuxClick", "onAuxClickCapture", "onBeforeInput", "onBeforeInputCapture", "onBeforeToggle", "onBlur", "onBlurCapture", "onCanPlay", "onCanPlayCapture", "onCanPlayThrough", "onCanPlayThroughCapture", "onChange", "onChangeCapture", "onClick", "onClickCapture", "onCompositionEnd", "onCompositionEndCapture", "onCompositionStart", "onCompositionStartCapture", "onCompositionUpdate", "onCompositionUpdateCapture", "onContextMenu", "onContextMenuCapture", "onCopy", "onCopyCapture", "onCut", "onCutCapture", "onDoubleClick", "onDoubleClickCapture", "onDrag", "onDragCapture", "onDragEnd", "onDragEndCapture", "onDragEnter", "onDragEnterCapture", "onDragExit", "onDragExitCapture", "onDragLeave", "onDragLeaveCapture", "onDragOver", "onDragOverCapture", "onDragStart", "onDragStartCapture", "onDrop", "onDropCapture", "onDurationChange", "onDurationChangeCapture", "onEmptied", "onEmptiedCapture", "onEncrypted", "onEncryptedCapture", "onEnded", "onEndedCapture", "onError", "onErrorCapture", "onFocus", "onFocusCapture", "onGotPointerCapture", "onGotPointerCaptureCapture", "onInput", "onInputCapture", "onInvalid", "onInvalidCapture", "onKeyDown", "onKeyDownCapture", "onKeyPress", "onKeyPressCapture", "onKeyUp", "onKeyUpCapture", "onLoad", "onLoadCapture", "onLoadedData", "onLoadedDataCapture", "onLoadedMetadata", "onLoadedMetadataCapture", "onLoadStart", "onLoadStartCapture", "onLostPointerCapture", "onLostPointerCaptureCapture", "onMouseDown", "onMouseDownCapture", "onMouseEnter", "onMouseLeave", "onMouseMove", "onMouseMoveCapture", "onMouseOut", "onMouseOutCapture", "onMouseOver", "onMouseOverCapture", "onMouseUp", "onMouseUpCapture", "onPaste", "onPasteCapture", "onPause", "onPauseCapture", "onPlay", "onPlayCapture", "onPlaying", "onPlayingCapture", "onPointerCancel", "onPointerCancelCapture", "onPointerDown", "onPointerDownCapture", "onPointerEnter", "onPointerLeave", "onPointerMove", "onPointerMoveCapture", "onPointerOut", "onPointerOutCapture", "onPointerOver", "onPointerOverCapture", "onPointerUp", "onPointerUpCapture", "onProgress", "onProgressCapture", "onRateChange", "onRateChangeCapture", "onReset", "onResetCapture", "onScroll", "onScrollCapture", "onScrollEnd", "onScrollEndCapture", "onSeeked", "onSeekedCapture", "onSeeking", "onSeekingCapture", "onSelect", "onSelectCapture", "onStalled", "onStalledCapture", "onSubmit", "onSubmitCapture", "onSuspend", "onSuspendCapture", "onTimeUpdate", "onTimeUpdateCapture", "onToggle", "onTouchCancel", "onTouchCancelCapture", "onTouchEnd", "onTouchEndCapture", "onTouchMove", "onTouchMoveCapture", "onTouchStart", "onTouchStartCapture", "onTransitionCancel", "onTransitionCancelCapture", "onTransitionEnd", "onTransitionEndCapture", "onTransitionRun", "onTransitionRunCapture", "onTransitionStart", "onTransitionStartCapture", "onVolumeChange", "onVolumeChangeCapture", "onWaiting", "onWaitingCapture", "onWheel", "onWheelCapture", "part", "popover", "popoverTarget", "popoverTargetAction", "prefix", "property", "radioGroup", "rel", "resource", "results", "rev", "role", "security", "slot", "spellCheck", "style", "subType", "suppressContentEditableWarning", "suppressHydrationWarning", "tabIndex", "title", "translate", "typeof", "unselectable", "vocab"];
2832
2869
  readonly notFound: readonly [];
2833
- readonly page: readonly ["layout", "layoutContainer", "seoEnabled", "seoPageDescription", "seoPageTitle"];
2870
+ readonly page: readonly ["layout", "layoutContainer", "notFound", "seoEnabled", "seoPageDescription", "seoPageTitle"];
2834
2871
  readonly pagination: readonly ["label", "loadMoreLabel", "mode", "nextLabel", "pageInfo", "pageParam", "previousLabel", "target", "windowSize"];
2835
2872
  readonly paragraph: readonly ["content"];
2836
2873
  readonly reference: readonly ["referenceId", "referenceType"];
@@ -2840,7 +2877,7 @@ export declare const elementAttributeNames: {
2840
2877
  readonly tabContainerBody: readonly [];
2841
2878
  readonly tabContainerHeader: readonly [];
2842
2879
  readonly tabContainerItem: readonly [];
2843
- readonly text: readonly ["content", "title"];
2880
+ readonly text: readonly ["content", "decorative", "title"];
2844
2881
  readonly themeToggle: readonly ["darkLabel", "lightLabel", "showSystem", "subType", "systemLabel"];
2845
2882
  readonly video: readonly ["autoPlay", "loop", "muted", "playsInline", "src"];
2846
2883
  };
@@ -2947,6 +2984,14 @@ export declare interface ElementDeclarationData {
2947
2984
  * `plitzi page check`), which would otherwise wait for it to be on screen and report it hidden.
2948
2985
  */
2949
2986
  drawsNothing?: boolean;
2987
+ /**
2988
+ * The attributes the page server evaluates against a context of its own, never where the element renders: a
2989
+ * provider's `notFound`, read against its answer; a page's title and description, read against its server providers.
2990
+ * Interpolated in the element's own scope they resolved to nothing — a `|default(…)` to its fallback — before the
2991
+ * reader that has their names could see them. Read by the element runtime, which leaves them as written, and by the
2992
+ * authoring lint, which holds them to that context.
2993
+ */
2994
+ serverTemplates?: readonly string[];
2950
2995
  content?: {
2951
2996
  attributes?: Record<string, unknown>;
2952
2997
  definition?: {
@@ -2967,6 +3012,7 @@ declare const elementDeclarations: {
2967
3012
  readonly pagination: readonly string[];
2968
3013
  };
2969
3014
  readonly sourceType: "apiContainer";
3015
+ readonly serverTemplates: readonly ["notFound"];
2970
3016
  readonly triggers: {
2971
3017
  readonly onApiError: {
2972
3018
  readonly action: "onApiError";
@@ -3128,26 +3174,27 @@ declare const elementDeclarations: {
3128
3174
  method?: "get" | "post" | "put" | "delete" | "patch" | undefined;
3129
3175
  resource?: string | undefined;
3130
3176
  headers?: Record<string, string> | undefined;
3177
+ notFound?: string | undefined;
3131
3178
  subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "" | undefined;
3179
+ credentials?: RequestCredentials | undefined;
3180
+ staleTime?: number | string | undefined;
3181
+ gcTime?: number | string | undefined;
3182
+ pageParam?: string | undefined;
3132
3183
  query?: string | undefined;
3133
3184
  accessToken?: string | undefined;
3134
3185
  mockData?: (Record<string, unknown> | string) | undefined;
3135
- credentials?: RequestCredentials | undefined;
3186
+ singleRecord?: boolean | undefined;
3187
+ pagination?: ProviderPagination | undefined;
3188
+ renderWhileLoading?: boolean | undefined;
3189
+ loadingSlot?: string | undefined;
3190
+ refreshSeconds?: number | string | undefined;
3136
3191
  connector?: string | undefined;
3137
3192
  limit?: string | undefined;
3138
- singleRecord?: boolean | undefined;
3139
3193
  filters?: {
3140
3194
  field: string;
3141
3195
  operator: string;
3142
3196
  value: string;
3143
3197
  }[] | undefined;
3144
- pagination?: ProviderPagination | undefined;
3145
- pageParam?: string | undefined;
3146
- renderWhileLoading?: boolean | undefined;
3147
- loadingSlot?: string | undefined;
3148
- staleTime?: number | string | undefined;
3149
- gcTime?: number | string | undefined;
3150
- refreshSeconds?: number | string | undefined;
3151
3198
  }>>;
3152
3199
  readonly BlockHtml: {
3153
3200
  readonly type: "blockHtml";
@@ -3520,8 +3567,8 @@ declare const elementDeclarations: {
3520
3567
  items?: unknown[] | undefined;
3521
3568
  speed?: number | undefined;
3522
3569
  loop?: boolean | undefined;
3523
- autoplay?: number | undefined;
3524
3570
  pauseOnHover?: boolean | undefined;
3571
+ autoplay?: number | undefined;
3525
3572
  transition?: CarouselTransition | undefined;
3526
3573
  itemKey?: string | undefined;
3527
3574
  }>>;
@@ -3704,9 +3751,9 @@ declare const elementDeclarations: {
3704
3751
  };
3705
3752
  } & ElementAttributesBrand<Partial<{
3706
3753
  subType?: "" | "div" | "section" | "aside" | "main" | undefined;
3707
- topic?: string | undefined;
3708
3754
  grant?: string | undefined;
3709
3755
  presence?: unknown;
3756
+ topic?: string | undefined;
3710
3757
  keep?: number | string | undefined;
3711
3758
  }>>;
3712
3759
  readonly Container: {
@@ -3979,8 +4026,7 @@ declare const elementDeclarations: {
3979
4026
  readonly top: "0";
3980
4027
  readonly position: "absolute";
3981
4028
  readonly 'z-index': "210";
3982
- readonly 'background-color': "black";
3983
- readonly opacity: "0.5";
4029
+ readonly 'background-color': "rgb(0 0 0 / 50%)";
3984
4030
  };
3985
4031
  };
3986
4032
  readonly rootContainer: {
@@ -4539,7 +4585,7 @@ declare const elementDeclarations: {
4539
4585
  readonly autoFocus: false;
4540
4586
  readonly disabled: false;
4541
4587
  readonly options: readonly [];
4542
- readonly required: true;
4588
+ readonly required: false;
4543
4589
  readonly requiredMessage: "";
4544
4590
  readonly minLength: 0;
4545
4591
  readonly minLengthMessage: "";
@@ -5719,6 +5765,7 @@ declare const elementDeclarations: {
5719
5765
  readonly initialItems: readonly ["listItem", "listItem", "listItem"];
5720
5766
  } & ElementAttributesBrand<Partial<{
5721
5767
  source?: "none" | "controlled" | undefined;
5768
+ label?: string | undefined;
5722
5769
  items?: unknown[] | undefined;
5723
5770
  subType?: "ul" | "ol" | undefined;
5724
5771
  itemKey?: string | undefined;
@@ -5953,7 +6000,7 @@ declare const elementDeclarations: {
5953
6000
  readonly definition: {
5954
6001
  readonly label: "Modal Container";
5955
6002
  readonly type: "modalContainer";
5956
- readonly description: "A modal overlay container opened and closed through interactions; use for dialogs over the page.";
6003
+ readonly description: string;
5957
6004
  readonly items: readonly [];
5958
6005
  readonly bindings: {};
5959
6006
  readonly loadStrategy: "lazy";
@@ -6010,8 +6057,7 @@ declare const elementDeclarations: {
6010
6057
  readonly top: "0";
6011
6058
  readonly position: "absolute";
6012
6059
  readonly 'z-index': "210";
6013
- readonly 'background-color': "black";
6014
- readonly opacity: "0.5";
6060
+ readonly 'background-color': "rgb(0 0 0 / 50%)";
6015
6061
  };
6016
6062
  };
6017
6063
  readonly rootContainer: {
@@ -6496,6 +6542,7 @@ declare const elementDeclarations: {
6496
6542
  } & ElementAttributesBrand<unknown>;
6497
6543
  readonly Page: {
6498
6544
  readonly type: "page";
6545
+ readonly serverTemplates: readonly ["seoPageTitle", "seoPageDescription", "notFound"];
6499
6546
  readonly triggers: {
6500
6547
  readonly onPageLoad: {
6501
6548
  readonly action: "onPageLoad";
@@ -6576,6 +6623,7 @@ declare const elementDeclarations: {
6576
6623
  };
6577
6624
  } & ElementAttributesBrand<Partial<{
6578
6625
  layout?: string | undefined;
6626
+ notFound?: string | undefined;
6579
6627
  layoutContainer?: string | undefined;
6580
6628
  seoEnabled?: boolean | undefined;
6581
6629
  seoPageTitle?: string | undefined;
@@ -7169,6 +7217,7 @@ declare const elementDeclarations: {
7169
7217
  } & ElementAttributesBrand<Partial<{
7170
7218
  title?: string | undefined;
7171
7219
  content?: string | number | undefined;
7220
+ decorative?: boolean | undefined;
7172
7221
  }>>;
7173
7222
  readonly ThemeToggle: {
7174
7223
  readonly type: "themeToggle";
@@ -7824,15 +7873,17 @@ export declare const embed: {
7824
7873
  }>> | undefined): ElementSpec;
7825
7874
  };
7826
7875
 
7876
+ export declare const emptySpaceSpec: SpaceSpec;
7877
+
7827
7878
  /**
7828
- * The space `plitzi create --template blank` starts from, as a file: tokens, a layout and one empty page — for a
7829
- * project about to be something specific, where the welcome tour is the first thing that would be deleted.
7879
+ * The space `plitzi create --template blank` starts from, as its files by path: tokens, a layout and one empty page —
7880
+ * for a project about to be something specific, where the welcome tour is the first thing that would be deleted —
7881
+ * and the page for an address nothing answers, beside it.
7830
7882
  */
7831
- export declare const emptySpaceSource: ({ name }?: {
7883
+ export declare const emptyTemplateFiles: ({ name, dir }?: {
7832
7884
  name?: string;
7833
- }) => string;
7834
-
7835
- export declare const emptySpaceSpec: SpaceSpec;
7885
+ dir?: string;
7886
+ }) => Record<string, string>;
7836
7887
 
7837
7888
  /**
7838
7889
  * Expand supported CSS shorthands to their longhand keys, in declaration order: the later declaration wins, as it
@@ -8103,6 +8154,7 @@ declare type FormControlProps = {
8103
8154
  label: string;
8104
8155
  value: string;
8105
8156
  }[];
8157
+ /** Optional unless it says so, as an HTML field is: a required field left empty stops the submit. */
8106
8158
  required: boolean;
8107
8159
  /**
8108
8160
  * The rules a value has to meet before the form submits, checked by the form at submit time and by the control when
@@ -9471,7 +9523,7 @@ export declare interface PageIssue {
9471
9523
  }
9472
9524
 
9473
9525
  /** What kind of problem a page check found: what a tool branches on, where `message` is what a person reads. */
9474
- export declare type PageIssueCode = 'not-rendered' | 'element-missing' | 'element-hidden' | 'image-not-loaded' | 'sideways-scroll' | 'illegible-text';
9526
+ export declare type PageIssueCode = 'not-rendered' | 'element-missing' | 'element-hidden' | 'image-not-loaded' | 'sideways-scroll' | 'cut-off' | 'illegible-text';
9475
9527
 
9476
9528
  /**
9477
9529
  * Runs in the page that was pictured: its parts, where they are on the full page — its landmarks (header, nav, main,
@@ -9508,8 +9560,20 @@ export declare interface PageSpec {
9508
9560
  /** Route, without a leading slash. Empty is the home page. */
9509
9561
  slug: string;
9510
9562
  isDefault?: boolean;
9563
+ /**
9564
+ * The page's title and description in the head, for search engines and link previews. Either may be a template over
9565
+ * the page's server providers (`runtime: 'server'`, its layouts' too) and `navigation` — `'{{ apiContainer_post.title
9566
+ * }} — Blog'` — which the server evaluates as it writes the head.
9567
+ */
9511
9568
  seoTitle?: string;
9512
9569
  seoDescription?: string;
9570
+ /**
9571
+ * One expression over the same answers that says this address shows nothing — a record that is not there: the page is
9572
+ * sent with status 404, rendered as written. For a record read by a provider the page shares with others, in its
9573
+ * layout, whose own `notFound` cannot say it for one page: `'{{ not (apiContainer_feed.topics|find('slug',
9574
+ * navigation.routeParams.slug)) }}'`.
9575
+ */
9576
+ notFound?: string;
9513
9577
  /**
9514
9578
  * Who this page is FOR, and the trap is that omitting it is not the same as `public`.
9515
9579
  *
@@ -9930,8 +9994,15 @@ export declare interface ProbeFindings {
9930
9994
  widest: string[];
9931
9995
  elementIds: string[];
9932
9996
  } | null;
9997
+ /** A link, a control or words of the space's cut at the screen's edge — by how many pixels fall outside it. */
9998
+ cutOff: {
9999
+ id: string;
10000
+ pixels: number;
10001
+ }[];
10002
+ /** Words that cannot be told from what is behind them, with their contrast against it (WCAG's ratio, 1 to 21). */
9933
10003
  illegible: {
9934
10004
  text: string;
10005
+ contrast: number;
9935
10006
  elementId?: string;
9936
10007
  }[];
9937
10008
  }
@@ -11452,6 +11523,8 @@ declare const styleConstants: {
11452
11523
  readonly TEXT_INDENT: "text-indent";
11453
11524
  readonly TEXT_TRANSFORM: "text-transform";
11454
11525
  readonly DIRECTION: "direction";
11526
+ readonly WRITING_MODE: "writing-mode";
11527
+ readonly TEXT_ORIENTATION: "text-orientation";
11455
11528
  readonly WHITE_SPACE: "white-space";
11456
11529
  readonly TEXT_WRAP: "text-wrap";
11457
11530
  readonly WORD_BREAK: "word-break";
@@ -11613,6 +11686,10 @@ export declare type SuggestionCode = {
11613
11686
  export declare const suggestSpace: ({ schema, style }: {
11614
11687
  schema: Schema;
11615
11688
  style: Style;
11689
+ },
11690
+ /** The CSS the pages load besides the space's own — its plugins' stylesheets: a token read there is read. */
11691
+ { stylesheets }?: {
11692
+ stylesheets?: readonly string[];
11616
11693
  }) => Suggestion[];
11617
11694
 
11618
11695
  /** The closest known transformer action to a mistyped one (substring match either way), so a wrong action like
@@ -11663,6 +11740,7 @@ export declare type TemplateReturns = 'text' | 'value';
11663
11740
  export declare const text: ElementFactory<Partial<{
11664
11741
  title?: string | undefined;
11665
11742
  content?: string | number | undefined;
11743
+ decorative?: boolean | undefined;
11666
11744
  }>>;
11667
11745
 
11668
11746
  export declare interface TextComparison {
@@ -11908,7 +11986,9 @@ export declare const unrollPage: () => number;
11908
11986
  * What a space declares and nothing uses — its classes, tokens and components — by the one rule the suggestions, the
11909
11987
  * builder's Usages panel and anything else that says "unused" read, so they never disagree.
11910
11988
  */
11911
- export declare const unusedDeclarations: (schema: Schema, style: Declared) => {
11989
+ export declare const unusedDeclarations: (schema: Schema, style: Declared,
11990
+ /** The CSS the pages load besides the space's own — its plugins' stylesheets — whose `var(--…)` read tokens too. */
11991
+ stylesheets?: readonly string[]) => {
11912
11992
  classes: string[];
11913
11993
  tokens: string[];
11914
11994
  components: string[];
package/dist/index.js CHANGED
@@ -1,2 +1,2 @@
1
- import { $ as GLOBAL_CALLBACK_BUILDERS, $i as AUTHORING_CODES, $n as setState, $r as container, $t as isCssProperty, A as unrollPage, Ai as defaultLabel, An as whenFailed, Ar as onScroll, At as className, B as blankSpace, Bi as groupBindings, Bn as authLogout, Br as setFieldValue, Bt as css, C as pageTexts, Ca as c, Ci as tabContainerHeader, Cn as authoringCodesTable, Cr as onFlowError, Ct as unusedDeclarations, D as pageRegions, Da as t, Di as video, Dn as flowStepIds, Dr as onLoad, Dt as column, E as diffPictures, Ea as s$1, Ei as themeToggle, En as authorFlows, Er as onKey, Et as tw, F as readDevTools, Fi as GLOBAL_SOURCES, Fn as getUtility, Fr as reloadApi, Ft as modifierClassName, G as space$1, Gi as variantFrom, Gn as cycleState, Gt as cssShorthands, H as catalogTemplateFiles, Hi as hiddenWhen, Hn as cancelServerAction, Hr as updateElement, Ht as sameBlocks, I as readDevToolsInPage, Ii as activeOn, In as SET_STATE_TYPES, Ir as resetForm, It as splitClassList, J as importSlug, Ji as actionSource, Jn as invalidateQueries, Jr as blockJsx, Jt as expandShorthandTraced, K as space, Ki as visibleWhen, Kn as delay, Kr as apiContainer, Kt as expandShorthand, L as dataIssues, Li as activeWhen, Ln as addNotification, Lr as scrollBy, Lt as styles, M as inspectPage, Mi as element, Mn as whileRunning, Mr as openDialog, Mt as classRefs, N as onScreen, Ni as inferredLinkMode, Nn as BUILTIN_UTILITIES, Nr as openModal, Nt as isClassModifier, O as profilePictures, Oi as component, On as named, Or as onPageLoad, Ot as grid, P as failedFlowText, Pi as COMPONENT_SOURCES, Pn as applyUtility, Pr as publishOn, Pt as isStyleDeclaration, Q as EXPLAIN_KINDS, Qi as scope, Qn as runServerAction, Qr as channel, Qt as cssPropertyName, R as answerAction, Ri as authorBinding, Rn as appendState, Rr as scrollIntoView, Rt as BREAKPOINTS, S as compareTexts, Sa as s, Si as tabContainerBody, Sn as flagSpecOf, Sr as onFlowEnd, St as suggestClassOverrides, T as comparePictures, Ta as r$1, Ti as text, Tn as authorFlow, Tr as onInterval, Tt as createTw, U as emptySpaceSource, Ui as resolveSource, Un as clearState, Ur as elementsFromManifest, Ut as toBlocks, V as blankTemplateFiles, Vi as hasVisibilityBinding, Vn as authRefreshDetails, Vr as toggleElement, Vt as isRuleSetSpec, W as toPortableSource, Wi as toBindingSpecs, Wn as copyToClipboard, Wr as withPluginCatalogs, Wt as toResponsive, X as importProbe, Xi as twig, Xn as navigate, Xr as carousel, Xt as cssNumberValue, Y as importedFiles, Yi as source, Yn as moveState, Yr as button, Yt as shorthandLonghands, Z as BUILDER_NAMES, Zi as closest, Zn as removeState, Zr as carouselTrack, Zt as cssProperties, _ as shortcutKey, _a as t$2, _i as paragraph, _n as instanceSelectorFor, _r as closeModal, _t as assertSnippetValid, a as locateClasses, aa as elementCallbacks, ai as fontAwesome, an as notificationsCss, ar as BUILTIN_GLOBAL_CALLBACKS, at as SPACE_FIELDS, b as summariseRenders, ba as i$1, bi as svg, bn as selectorFor, br as on, bt as suggestSpace, c as validateSnippet, ca as elementLeafTypes, ci as heading, cn as i, cr as e, ct as specFromSpace, d as i$2, da as elementSourceTypes, di as list, dn as r, dr as carouselGoTo, dt as actionToSource, ea as AuthoringError, ei as custom, en as isCustomProperty, er as stepState, et as explain, f as o$1, fa as elementTriggers, fi as listItem, fn as t$1, fr as carouselNext, ft as withNamedIds, g as pressShortcut, ga as e$1, gi as pagination, gn as buildHandles, gr as closeDialog, gt as transformerCatalog, h as withElement, ha as typeTriggerDefinitions, hi as nodeHtml, hn as slugify, hr as carouselPrevious, ht as suggestTransformer, i as lintSpace, ia as elementAttributeValues, ii as embed, in as pageFamily, ir as webHook, it as ELEMENT_FIELDS, j as inspectDocument, ji as defineElement, jn as whenSucceeded, jr as onSubmit, jt as classNames, k as loadImages, ki as defaultAttributes, kn as when, kr as onPointerDown, kt as row, l as validateSpace, la as elementPartTypes, li as image, ln as FIXABLE_CODES, lr as announceOn, lt as compareSpaces, m as singlePageSpace, ma as typeCallbackDefinitions, mi as modalContainer, mn as digest, mr as carouselPlay, mt as getTransformer, n as authorSpace, na as isSuggestionCode, ni as dropdown, nn as SpaceRefusedError, nr as toggleState, nt as explainList, o as locateElements, oa as elementCatalog, oi as form, on as withNotificationsCss, or as applyBuiltinCallback, ot as specToSource, p as compactSvg, pa as elementTypeNames, pi as markdown, pr as carouselPause, pt as BUILTIN_TRANSFORMERS, q as darkScheme, qi as withVisibility, qn as hostAction, qr as blockHtml, qt as expandShorthandPatch, r as fixSpace, ra as elementAncestorTypes, ri as dropdownPopup, rn as refusalOf, rr as twigTemplate, rt as explanationText, s as planFixes, sa as elementDefaultAttributes, si as formControl, sn as d, sr as getGlobalCallback, st as SCHEMA_SETTINGS, t as authorSnippet, ta as authoringCodeEntry, ti as dialogContainer, tn as suggestCssProperty, tr as toggleInState, tt as explainKindOf, u as a$1, ua as elementSlots, ui as link, un as n, ur as cancelApi, ut as actionSpecFromEntry, v as openPage, va as elementAttributeNames, vi as reference, vn as locate, vr as declaredCallback, vt as PAGE_SPEC_FIELDS, w as alignPictures, wa as n$1, wi as tabContainerItem, wn as defineAction, wr as onFlowProgress, wt as tokens, x as PAGE_TEXT_LIMIT, xa as o, xi as tabContainer, xn as flagGateOf, xr as onClick, xt as withoutQuieted, y as inspectRenders, ya as a, yi as richText, yn as pathForSlug, yr as declaredTrigger, yt as assertSpaceValid, z as CATALOG_TEMPLATE_IDENTITY, zi as bindTemplate, zn as authLogin, zr as scrollTo, zt as STYLE_STATES } from "./index-src.js";
2
- export { AUTHORING_CODES, AuthoringError, BREAKPOINTS, BUILDER_NAMES, a as BUILTIN_ELEMENT_CALLBACKS, BUILTIN_GLOBAL_CALLBACKS, t as BUILTIN_PARAM_TYPES, BUILTIN_TRANSFORMERS, BUILTIN_UTILITIES, CATALOG_TEMPLATE_IDENTITY, COMPONENT_SOURCES, ELEMENT_FIELDS, EXPLAIN_KINDS, FIXABLE_CODES, GLOBAL_CALLBACK_BUILDERS, GLOBAL_SOURCES, t$1 as MOTION_ENTERS, r as MOTION_LOOPS, n as MOTION_TRIGGERS, i as NOTIFICATIONS_FIELDS, PAGE_SPEC_FIELDS, PAGE_TEXT_LIMIT, SCHEMA_SETTINGS, i$1 as SCROLL_CALLBACKS, SET_STATE_TYPES, SPACE_FIELDS, STYLE_STATES, SpaceRefusedError, actionSource, actionSpecFromEntry, actionToSource, activeOn, activeWhen, addNotification, alignPictures, announceOn, answerAction, apiContainer, appendState, applyBuiltinCallback, s as applyElementCallback, applyUtility, assertSnippetValid, assertSpaceValid, authLogin, authLogout, authRefreshDetails, authorBinding, authorFlow, authorFlows, authorSnippet, authorSpace, authoringCodeEntry, authoringCodesTable, bindTemplate, blankSpace, space as blankSpaceSpec, blankTemplateFiles, blockHtml, blockJsx, buildHandles, button, cancelApi, cancelServerAction, carousel, carouselGoTo, carouselNext, carouselPause, carouselPlay, carouselPrevious, carouselTrack, catalogTemplateFiles, channel, className, classNames, classRefs, clearState, closeDialog, closeModal, closest, column, compactSvg, comparePictures, compareSpaces, compareTexts, component, container, copyToClipboard, createTw, css, cssNumberValue, cssProperties, cssPropertyName, cssShorthands, custom, cycleState, darkScheme, dataIssues, declaredCallback, declaredTrigger, defaultAttributes, defaultLabel, defineAction, defineElement, delay, dialogContainer, diffPictures, digest, dropdown, dropdownPopup, element, elementAncestorTypes, elementAttributeNames, elementAttributeValues, elementCallbacks, elementCatalog, t$2 as elementDeclaration, elementDefaultAttributes, elementLeafTypes, elementPartTypes, elementSlots, elementSourceTypes, elementTriggers, elementTypeNames, elementsFromManifest, embed, emptySpaceSource, space$1 as emptySpaceSpec, expandShorthand, expandShorthandPatch, expandShorthandTraced, explain, explainKindOf, explainList, explanationText, failedFlowText, fixSpace, flagGateOf, flagSpecOf, flowStepIds, fontAwesome, form, formControl, o as getElementCallback, getGlobalCallback, getTransformer, getUtility, grid, groupBindings, hasVisibilityBinding, heading, n$1 as hiddenParams, hiddenWhen, hostAction, image, importProbe, importSlug, importedFiles, inferredLinkMode, inspectDocument, inspectPage, inspectRenders, instanceSelectorFor, s$1 as invalidParams, invalidateQueries, isClassModifier, isCssProperty, isCustomProperty, isRuleSetSpec, isStyleDeclaration, isSuggestionCode, link, lintSpace, list, listItem, loadImages, locate, locateClasses, locateElements, markdown, r$1 as missingRequiredParams, modalContainer, modifierClassName, moveState, named, navigate, nodeHtml, notificationsCss, on, onClick, onFlowEnd, onFlowError, onFlowProgress, onInterval, onKey, onLoad, onPageLoad, onPointerDown, onScreen, onScroll, onSubmit, openDialog, openModal, openPage, pageFamily, pageRegions, pageTexts, pagination, paragraph, pathForSlug, planFixes, pressShortcut, profilePictures, publishOn, readDevTools, readDevToolsInPage, c as reconcileParams, reference, refusalOf, reloadApi, removeState, resetForm, resolveSource, richText, row, runServerAction, sameBlocks, scope, scrollBy, scrollIntoView, scrollTo, selectorFor, setFieldValue, setState, shortcutKey, shorthandLonghands, singlePageSpace, slugify, source, e as spaceCallbacks, specFromSpace, specToSource, splitClassList, d as splitNotificationsCss, stepState, styles, suggestClassOverrides, suggestCssProperty, suggestSpace, suggestTransformer, summariseRenders, svg, tabContainer, tabContainerBody, tabContainerHeader, tabContainerItem, text, themeToggle, toBindingSpecs, toBlocks, i$2 as toBuilderParams, a$1 as toInteractionCallback, o$1 as toInteractionCallbacks, toPortableSource, toResponsive, toggleElement, toggleInState, toggleState, tokens, transformerCatalog, tw, twig, twigTemplate, typeCallbackDefinitions, typeTriggerDefinitions, unrollPage, unusedDeclarations, updateElement, validateSnippet, validateSpace, e$1 as valuesOf, variantFrom, video, visibleWhen, webHook, when, whenFailed, whenSucceeded, whileRunning, withElement, withNamedIds, withNotificationsCss, withPluginCatalogs, withVisibility, withoutQuieted };
1
+ import { $ as GLOBAL_CALLBACK_BUILDERS, $i as AUTHORING_CODES, $n as setState, $r as container, $t as isCssProperty, A as unrollPage, Ai as defaultLabel, An as whenFailed, Ar as onScroll, At as className, B as blankSpace, Bi as groupBindings, Bn as authLogout, Br as setFieldValue, Bt as css, C as pageTexts, Ca as c, Ci as tabContainerHeader, Cn as authoringCodesTable, Cr as onFlowError, Ct as unusedDeclarations, D as pageRegions, Da as t, Di as video, Dn as flowStepIds, Dr as onLoad, Dt as column, E as diffPictures, Ea as s$1, Ei as themeToggle, En as authorFlows, Er as onKey, Et as tw, F as readDevTools, Fi as GLOBAL_SOURCES, Fn as getUtility, Fr as reloadApi, Ft as modifierClassName, G as space$1, Gi as variantFrom, Gn as cycleState, Gt as cssShorthands, H as catalogTemplateFiles, Hi as hiddenWhen, Hn as cancelServerAction, Hr as updateElement, Ht as sameBlocks, I as readDevToolsInPage, Ii as activeOn, In as SET_STATE_TYPES, Ir as resetForm, It as splitClassList, J as importSlug, Ji as actionSource, Jn as invalidateQueries, Jr as blockJsx, Jt as expandShorthandTraced, K as space, Ki as visibleWhen, Kn as delay, Kr as apiContainer, Kt as expandShorthand, L as dataIssues, Li as activeWhen, Ln as addNotification, Lr as scrollBy, Lt as styles, M as inspectPage, Mi as element, Mn as whileRunning, Mr as openDialog, Mt as classRefs, N as onScreen, Ni as inferredLinkMode, Nn as BUILTIN_UTILITIES, Nr as openModal, Nt as isClassModifier, O as profilePictures, Oi as component, On as named, Or as onPageLoad, Ot as grid, P as failedFlowText, Pi as COMPONENT_SOURCES, Pn as applyUtility, Pr as publishOn, Pt as isStyleDeclaration, Q as EXPLAIN_KINDS, Qi as scope, Qn as runServerAction, Qr as channel, Qt as cssPropertyName, R as answerAction, Ri as authorBinding, Rn as appendState, Rr as scrollIntoView, Rt as BREAKPOINTS, S as compareTexts, Sa as s, Si as tabContainerBody, Sn as flagSpecOf, Sr as onFlowEnd, St as suggestClassOverrides, T as comparePictures, Ta as r$1, Ti as text, Tn as authorFlow, Tr as onInterval, Tt as createTw, U as emptyTemplateFiles, Ui as resolveSource, Un as clearState, Ur as elementsFromManifest, Ut as toBlocks, V as blankTemplateFiles, Vi as hasVisibilityBinding, Vn as authRefreshDetails, Vr as toggleElement, Vt as isRuleSetSpec, W as toPortableSource, Wi as toBindingSpecs, Wn as copyToClipboard, Wr as withPluginCatalogs, Wt as toResponsive, X as importProbe, Xi as twig, Xn as navigate, Xr as carousel, Xt as cssNumberValue, Y as importedFiles, Yi as source, Yn as moveState, Yr as button, Yt as shorthandLonghands, Z as BUILDER_NAMES, Zi as closest, Zn as removeState, Zr as carouselTrack, Zt as cssProperties, _ as shortcutKey, _a as t$2, _i as paragraph, _n as instanceSelectorFor, _r as closeModal, _t as assertSnippetValid, a as locateClasses, aa as elementCallbacks, ai as fontAwesome, an as notificationsCss, ar as BUILTIN_GLOBAL_CALLBACKS, at as SPACE_FIELDS, b as summariseRenders, ba as i$1, bi as svg, bn as selectorFor, br as on, bt as suggestSpace, c as validateSnippet, ca as elementLeafTypes, ci as heading, cn as i, cr as e, ct as specFromSpace, d as i$2, da as elementSourceTypes, di as list, dn as r, dr as carouselGoTo, dt as actionToSource, ea as AuthoringError, ei as custom, en as isCustomProperty, er as stepState, et as explain, f as o$1, fa as elementTriggers, fi as listItem, fn as t$1, fr as carouselNext, ft as withNamedIds, g as pressShortcut, ga as e$1, gi as pagination, gn as buildHandles, gr as closeDialog, gt as transformerCatalog, h as withElement, ha as typeTriggerDefinitions, hi as nodeHtml, hn as slugify, hr as carouselPrevious, ht as suggestTransformer, i as lintSpace, ia as elementAttributeValues, ii as embed, in as pageFamily, ir as webHook, it as ELEMENT_FIELDS, j as inspectDocument, ji as defineElement, jn as whenSucceeded, jr as onSubmit, jt as classNames, k as loadImages, ki as defaultAttributes, kn as when, kr as onPointerDown, kt as row, l as validateSpace, la as elementPartTypes, li as image, ln as FIXABLE_CODES, lr as announceOn, lt as compareSpaces, m as singlePageSpace, ma as typeCallbackDefinitions, mi as modalContainer, mn as digest, mr as carouselPlay, mt as getTransformer, n as authorSpace, na as isSuggestionCode, ni as dropdown, nn as SpaceRefusedError, nr as toggleState, nt as explainList, o as locateElements, oa as elementCatalog, oi as form, on as withNotificationsCss, or as applyBuiltinCallback, ot as specToSource, p as compactSvg, pa as elementTypeNames, pi as markdown, pr as carouselPause, pt as BUILTIN_TRANSFORMERS, q as darkScheme, qi as withVisibility, qn as hostAction, qr as blockHtml, qt as expandShorthandPatch, r as fixSpace, ra as elementAncestorTypes, ri as dropdownPopup, rn as refusalOf, rr as twigTemplate, rt as explanationText, s as planFixes, sa as elementDefaultAttributes, si as formControl, sn as d, sr as getGlobalCallback, st as SCHEMA_SETTINGS, t as authorSnippet, ta as authoringCodeEntry, ti as dialogContainer, tn as suggestCssProperty, tr as toggleInState, tt as explainKindOf, u as a$1, ua as elementSlots, ui as link, un as n, ur as cancelApi, ut as actionSpecFromEntry, v as openPage, va as elementAttributeNames, vi as reference, vn as locate, vr as declaredCallback, vt as PAGE_SPEC_FIELDS, w as alignPictures, wa as n$1, wi as tabContainerItem, wn as defineAction, wr as onFlowProgress, wt as tokens, x as PAGE_TEXT_LIMIT, xa as o, xi as tabContainer, xn as flagGateOf, xr as onClick, xt as withoutQuieted, y as inspectRenders, ya as a, yi as richText, yn as pathForSlug, yr as declaredTrigger, yt as assertSpaceValid, z as CATALOG_TEMPLATE_IDENTITY, zi as bindTemplate, zn as authLogin, zr as scrollTo, zt as STYLE_STATES } from "./index-src.js";
2
+ export { AUTHORING_CODES, AuthoringError, BREAKPOINTS, BUILDER_NAMES, a as BUILTIN_ELEMENT_CALLBACKS, BUILTIN_GLOBAL_CALLBACKS, t as BUILTIN_PARAM_TYPES, BUILTIN_TRANSFORMERS, BUILTIN_UTILITIES, CATALOG_TEMPLATE_IDENTITY, COMPONENT_SOURCES, ELEMENT_FIELDS, EXPLAIN_KINDS, FIXABLE_CODES, GLOBAL_CALLBACK_BUILDERS, GLOBAL_SOURCES, t$1 as MOTION_ENTERS, r as MOTION_LOOPS, n as MOTION_TRIGGERS, i as NOTIFICATIONS_FIELDS, PAGE_SPEC_FIELDS, PAGE_TEXT_LIMIT, SCHEMA_SETTINGS, i$1 as SCROLL_CALLBACKS, SET_STATE_TYPES, SPACE_FIELDS, STYLE_STATES, SpaceRefusedError, actionSource, actionSpecFromEntry, actionToSource, activeOn, activeWhen, addNotification, alignPictures, announceOn, answerAction, apiContainer, appendState, applyBuiltinCallback, s as applyElementCallback, applyUtility, assertSnippetValid, assertSpaceValid, authLogin, authLogout, authRefreshDetails, authorBinding, authorFlow, authorFlows, authorSnippet, authorSpace, authoringCodeEntry, authoringCodesTable, bindTemplate, blankSpace, space as blankSpaceSpec, blankTemplateFiles, blockHtml, blockJsx, buildHandles, button, cancelApi, cancelServerAction, carousel, carouselGoTo, carouselNext, carouselPause, carouselPlay, carouselPrevious, carouselTrack, catalogTemplateFiles, channel, className, classNames, classRefs, clearState, closeDialog, closeModal, closest, column, compactSvg, comparePictures, compareSpaces, compareTexts, component, container, copyToClipboard, createTw, css, cssNumberValue, cssProperties, cssPropertyName, cssShorthands, custom, cycleState, darkScheme, dataIssues, declaredCallback, declaredTrigger, defaultAttributes, defaultLabel, defineAction, defineElement, delay, dialogContainer, diffPictures, digest, dropdown, dropdownPopup, element, elementAncestorTypes, elementAttributeNames, elementAttributeValues, elementCallbacks, elementCatalog, t$2 as elementDeclaration, elementDefaultAttributes, elementLeafTypes, elementPartTypes, elementSlots, elementSourceTypes, elementTriggers, elementTypeNames, elementsFromManifest, embed, space$1 as emptySpaceSpec, emptyTemplateFiles, expandShorthand, expandShorthandPatch, expandShorthandTraced, explain, explainKindOf, explainList, explanationText, failedFlowText, fixSpace, flagGateOf, flagSpecOf, flowStepIds, fontAwesome, form, formControl, o as getElementCallback, getGlobalCallback, getTransformer, getUtility, grid, groupBindings, hasVisibilityBinding, heading, n$1 as hiddenParams, hiddenWhen, hostAction, image, importProbe, importSlug, importedFiles, inferredLinkMode, inspectDocument, inspectPage, inspectRenders, instanceSelectorFor, s$1 as invalidParams, invalidateQueries, isClassModifier, isCssProperty, isCustomProperty, isRuleSetSpec, isStyleDeclaration, isSuggestionCode, link, lintSpace, list, listItem, loadImages, locate, locateClasses, locateElements, markdown, r$1 as missingRequiredParams, modalContainer, modifierClassName, moveState, named, navigate, nodeHtml, notificationsCss, on, onClick, onFlowEnd, onFlowError, onFlowProgress, onInterval, onKey, onLoad, onPageLoad, onPointerDown, onScreen, onScroll, onSubmit, openDialog, openModal, openPage, pageFamily, pageRegions, pageTexts, pagination, paragraph, pathForSlug, planFixes, pressShortcut, profilePictures, publishOn, readDevTools, readDevToolsInPage, c as reconcileParams, reference, refusalOf, reloadApi, removeState, resetForm, resolveSource, richText, row, runServerAction, sameBlocks, scope, scrollBy, scrollIntoView, scrollTo, selectorFor, setFieldValue, setState, shortcutKey, shorthandLonghands, singlePageSpace, slugify, source, e as spaceCallbacks, specFromSpace, specToSource, splitClassList, d as splitNotificationsCss, stepState, styles, suggestClassOverrides, suggestCssProperty, suggestSpace, suggestTransformer, summariseRenders, svg, tabContainer, tabContainerBody, tabContainerHeader, tabContainerItem, text, themeToggle, toBindingSpecs, toBlocks, i$2 as toBuilderParams, a$1 as toInteractionCallback, o$1 as toInteractionCallbacks, toPortableSource, toResponsive, toggleElement, toggleInState, toggleState, tokens, transformerCatalog, tw, twig, twigTemplate, typeCallbackDefinitions, typeTriggerDefinitions, unrollPage, unusedDeclarations, updateElement, validateSnippet, validateSpace, e$1 as valuesOf, variantFrom, video, visibleWhen, webHook, when, whenFailed, whenSucceeded, whileRunning, withElement, withNamedIds, withNotificationsCss, withPluginCatalogs, withVisibility, withoutQuieted };