@plitzi/sdk-elements 0.38.23 → 0.39.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.
Files changed (230) hide show
  1. package/CHANGELOG.md +180 -1
  2. package/dist/Element/RootElement.d.ts +1 -1
  3. package/dist/Element/RootElement.mjs +62 -61
  4. package/dist/Element/RowAnchor.d.ts +15 -0
  5. package/dist/Element/RowAnchor.mjs +8 -0
  6. package/dist/Element/helpers/elementConstants.mjs +12 -0
  7. package/dist/Element/hocs/withElement.d.ts +1 -1
  8. package/dist/Element/hocs/withElement.mjs +96 -88
  9. package/dist/Element/hooks/useEditableContent.d.ts +11 -0
  10. package/dist/Element/hooks/useEditableContent.mjs +11 -10
  11. package/dist/Element/hooks/useElement.mjs +1 -1
  12. package/dist/Element/hooks/useElementDataSource.mjs +11 -10
  13. package/dist/Element/hooks/useFocusInteractions.d.ts +12 -0
  14. package/dist/Element/hooks/useFocusInteractions.mjs +9 -0
  15. package/dist/Element/hooks/useInternalClassName.mjs +22 -21
  16. package/dist/Element/hooks/useRootElementInteractions.mjs +48 -42
  17. package/dist/Element/hooks/useScrollInteractions.d.ts +1 -1
  18. package/dist/Element/hooks/useScrollInteractions.mjs +61 -30
  19. package/dist/dataSource/PluginSource.d.ts +22 -0
  20. package/dist/dataSource/PluginSource.mjs +27 -0
  21. package/dist/dataSource/index.d.ts +2 -0
  22. package/dist/dataSource/index.mjs +5 -4
  23. package/dist/elements/advanced/BlockHtml/BlockHtml.d.ts +1 -1
  24. package/dist/elements/advanced/BlockHtml/index.d.ts +1 -1
  25. package/dist/elements/advanced/BlockJsx/BlockJsx.d.ts +1 -1
  26. package/dist/elements/advanced/BlockJsx/index.d.ts +1 -1
  27. package/dist/elements/advanced/Custom/Custom.d.ts +1 -1
  28. package/dist/elements/advanced/Custom/index.d.ts +1 -1
  29. package/dist/elements/advanced/NodeHtml/NodeHtml.d.ts +1 -1
  30. package/dist/elements/advanced/NodeHtml/declaration.d.ts +3 -3
  31. package/dist/elements/advanced/NodeHtml/index.d.ts +4 -4
  32. package/dist/elements/advanced/Reference/Reference.d.ts +2 -2
  33. package/dist/elements/advanced/Reference/Reference.mjs +1 -1
  34. package/dist/elements/advanced/Reference/index.d.ts +1 -1
  35. package/dist/elements/basic/Button/Button.d.ts +7 -2
  36. package/dist/elements/basic/Button/Button.mjs +27 -25
  37. package/dist/elements/basic/Button/Settings.mjs +1 -1
  38. package/dist/elements/basic/Button/declaration.d.ts +8 -1
  39. package/dist/elements/basic/Button/declaration.mjs +3 -0
  40. package/dist/elements/basic/Button/index.d.ts +9 -2
  41. package/dist/elements/basic/Dropdown/Dropdown.d.ts +9 -2
  42. package/dist/elements/basic/Dropdown/Dropdown.mjs +93 -74
  43. package/dist/elements/basic/Dropdown/DropdownPopup/DropdownPopup.d.ts +1 -1
  44. package/dist/elements/basic/Dropdown/DropdownPopup/index.d.ts +1 -1
  45. package/dist/elements/basic/Dropdown/declaration.d.ts +31 -0
  46. package/dist/elements/basic/Dropdown/declaration.mjs +38 -6
  47. package/dist/elements/basic/Dropdown/index.d.ts +33 -2
  48. package/dist/elements/basic/Dropdown/useDropdown.d.ts +2 -0
  49. package/dist/elements/basic/Heading/Heading.d.ts +1 -1
  50. package/dist/elements/basic/Heading/Heading.mjs +3 -2
  51. package/dist/elements/basic/Heading/declaration.d.ts +2 -0
  52. package/dist/elements/basic/Heading/declaration.mjs +2 -0
  53. package/dist/elements/basic/Heading/index.d.ts +3 -1
  54. package/dist/elements/basic/Link/Link.d.ts +1 -1
  55. package/dist/elements/basic/Link/Link.mjs +46 -45
  56. package/dist/elements/basic/Link/declaration.d.ts +1 -0
  57. package/dist/elements/basic/Link/declaration.mjs +5 -0
  58. package/dist/elements/basic/Link/index.d.ts +2 -1
  59. package/dist/elements/basic/Markdown/Markdown.d.ts +1 -1
  60. package/dist/elements/basic/Markdown/declaration.d.ts +2 -0
  61. package/dist/elements/basic/Markdown/declaration.mjs +2 -0
  62. package/dist/elements/basic/Markdown/index.d.ts +3 -1
  63. package/dist/elements/basic/Paragraph/Paragraph.d.ts +1 -1
  64. package/dist/elements/basic/Paragraph/Paragraph.mjs +3 -2
  65. package/dist/elements/basic/Paragraph/Settings.mjs +1 -1
  66. package/dist/elements/basic/Paragraph/declaration.d.ts +2 -0
  67. package/dist/elements/basic/Paragraph/declaration.mjs +2 -0
  68. package/dist/elements/basic/Paragraph/index.d.ts +3 -1
  69. package/dist/elements/basic/RichText/RichText.d.ts +1 -1
  70. package/dist/elements/basic/RichText/declaration.d.ts +1 -0
  71. package/dist/elements/basic/RichText/declaration.mjs +1 -0
  72. package/dist/elements/basic/RichText/index.d.ts +2 -1
  73. package/dist/elements/basic/Text/Settings.mjs +1 -1
  74. package/dist/elements/basic/Text/Text.d.ts +1 -1
  75. package/dist/elements/basic/Text/Text.mjs +3 -2
  76. package/dist/elements/basic/Text/declaration.d.ts +2 -0
  77. package/dist/elements/basic/Text/declaration.mjs +2 -0
  78. package/dist/elements/basic/Text/index.d.ts +3 -1
  79. package/dist/elements/basic/ThemeToggle/ThemeToggle.d.ts +2 -2
  80. package/dist/elements/basic/ThemeToggle/declaration.d.ts +1 -0
  81. package/dist/elements/basic/ThemeToggle/declaration.mjs +5 -0
  82. package/dist/elements/basic/ThemeToggle/index.d.ts +2 -1
  83. package/dist/elements/declarations/index.d.ts +322 -12
  84. package/dist/elements/declarations/index.mjs +46 -44
  85. package/dist/elements/form/Form/Form.d.ts +8 -2
  86. package/dist/elements/form/Form/Form.mjs +102 -79
  87. package/dist/elements/form/Form/declaration.d.ts +21 -3
  88. package/dist/elements/form/Form/declaration.mjs +28 -11
  89. package/dist/elements/form/Form/index.d.ts +17 -2
  90. package/dist/elements/form/FormControl/FormControl.d.ts +8 -2
  91. package/dist/elements/form/FormControl/FormControl.mjs +71 -66
  92. package/dist/elements/form/FormControl/Settings.d.ts +6 -1
  93. package/dist/elements/form/FormControl/Settings.mjs +130 -98
  94. package/dist/elements/form/FormControl/declaration.d.ts +7 -0
  95. package/dist/elements/form/FormControl/declaration.mjs +21 -1
  96. package/dist/elements/form/FormControl/helpers/useBlurValidation.d.ts +12 -0
  97. package/dist/elements/form/FormControl/helpers/useBlurValidation.mjs +20 -0
  98. package/dist/elements/form/FormControl/helpers/validateField.d.ts +8 -0
  99. package/dist/elements/form/FormControl/helpers/validateField.mjs +8 -2
  100. package/dist/elements/form/FormControl/hocs/withFieldValue.d.ts +4 -0
  101. package/dist/elements/form/FormControl/hocs/withFieldValue.mjs +49 -41
  102. package/dist/elements/form/FormControl/index.d.ts +8 -1
  103. package/dist/elements/form/FormControl/inputs/Checkbox.mjs +2 -2
  104. package/dist/elements/form/FormControl/inputs/Input.d.ts +5 -1
  105. package/dist/elements/form/FormControl/inputs/Input.mjs +42 -38
  106. package/dist/elements/form/FormControl/inputs/Select.d.ts +5 -1
  107. package/dist/elements/form/FormControl/inputs/Select.mjs +33 -28
  108. package/dist/elements/form/FormControl/inputs/Textarea.mjs +27 -26
  109. package/dist/elements/form/FormControl/inputs/useFocusWhenShown.d.ts +1 -1
  110. package/dist/elements/index.d.ts +3 -1
  111. package/dist/elements/index.mjs +32 -30
  112. package/dist/elements/internal/LayoutContainer/LayoutContainer.d.ts +1 -1
  113. package/dist/elements/internal/LayoutContainer/LayoutContainer.mjs +30 -30
  114. package/dist/elements/internal/LayoutContainer/index.d.ts +1 -1
  115. package/dist/elements/internal/LayoutContainer/mask.d.ts +13 -0
  116. package/dist/elements/internal/LayoutContainer/mask.mjs +16 -1
  117. package/dist/elements/internal/Loading/Loading.d.ts +1 -1
  118. package/dist/elements/internal/Loading/index.d.ts +1 -1
  119. package/dist/elements/internal/NotFound/NotFound.d.ts +1 -1
  120. package/dist/elements/internal/NotFound/index.d.ts +1 -1
  121. package/dist/elements/internal/Page/Page.d.ts +17 -3
  122. package/dist/elements/internal/Page/Page.mjs +32 -25
  123. package/dist/elements/internal/Page/PageHead.d.ts +11 -4
  124. package/dist/elements/internal/Page/PageHead.mjs +41 -19
  125. package/dist/elements/internal/Page/PageWithheld.d.ts +3 -2
  126. package/dist/elements/internal/Page/PageWithheld.mjs +41 -18
  127. package/dist/elements/internal/Page/Settings.d.ts +5 -1
  128. package/dist/elements/internal/Page/Settings.mjs +160 -121
  129. package/dist/elements/internal/Page/SharePreview.d.ts +13 -0
  130. package/dist/elements/internal/Page/SharePreview.mjs +53 -0
  131. package/dist/elements/internal/Page/declaration.d.ts +9 -1
  132. package/dist/elements/internal/Page/declaration.mjs +11 -4
  133. package/dist/elements/internal/Page/index.d.ts +9 -2
  134. package/dist/elements/media/Chart/Chart.d.ts +33 -0
  135. package/dist/elements/media/Chart/Chart.mjs +195 -0
  136. package/dist/elements/media/Chart/Settings.d.ts +6 -0
  137. package/dist/elements/media/Chart/Settings.mjs +92 -0
  138. package/dist/elements/media/Chart/chartGeometry.d.ts +37 -0
  139. package/dist/elements/media/Chart/chartGeometry.mjs +47 -0
  140. package/dist/elements/media/Chart/declaration.d.ts +144 -0
  141. package/dist/elements/media/Chart/declaration.mjs +107 -0
  142. package/dist/elements/media/Chart/index.d.ts +145 -0
  143. package/dist/elements/media/Chart/index.mjs +6 -0
  144. package/dist/elements/media/Embed/Embed.d.ts +1 -1
  145. package/dist/elements/media/Embed/Embed.mjs +25 -21
  146. package/dist/elements/media/Embed/declaration.d.ts +1 -0
  147. package/dist/elements/media/Embed/declaration.mjs +1 -0
  148. package/dist/elements/media/Embed/index.d.ts +2 -1
  149. package/dist/elements/media/FontAwesome/FontAwesome.d.ts +1 -1
  150. package/dist/elements/media/FontAwesome/index.d.ts +1 -1
  151. package/dist/elements/media/Image/Image.d.ts +1 -1
  152. package/dist/elements/media/Image/Image.mjs +35 -34
  153. package/dist/elements/media/Image/declaration.d.ts +2 -1
  154. package/dist/elements/media/Image/declaration.mjs +1 -0
  155. package/dist/elements/media/Image/index.d.ts +3 -2
  156. package/dist/elements/media/Svg/Svg.d.ts +1 -1
  157. package/dist/elements/media/Svg/declaration.d.ts +1 -0
  158. package/dist/elements/media/Svg/declaration.mjs +1 -0
  159. package/dist/elements/media/Svg/index.d.ts +2 -1
  160. package/dist/elements/media/Video/Video.d.ts +1 -1
  161. package/dist/elements/media/Video/declaration.d.ts +1 -0
  162. package/dist/elements/media/Video/declaration.mjs +1 -0
  163. package/dist/elements/media/Video/index.d.ts +2 -1
  164. package/dist/elements/provider/ApiContainer/ApiContainer.d.ts +1 -1
  165. package/dist/elements/provider/ApiContainer/ApiContainer.mjs +215 -185
  166. package/dist/elements/provider/ApiContainer/declaration.d.ts +9 -0
  167. package/dist/elements/provider/ApiContainer/declaration.mjs +10 -1
  168. package/dist/elements/provider/ApiContainer/hooks/useInputRefresh.d.ts +4 -4
  169. package/dist/elements/provider/ApiContainer/hooks/useProviderPagination.d.ts +2 -1
  170. package/dist/elements/provider/ApiContainer/index.d.ts +10 -1
  171. package/dist/elements/provider/Channel/Channel.d.ts +1 -1
  172. package/dist/elements/provider/Channel/declaration.d.ts +9 -0
  173. package/dist/elements/provider/Channel/declaration.mjs +11 -2
  174. package/dist/elements/provider/Channel/index.d.ts +10 -1
  175. package/dist/elements/settings.mjs +42 -40
  176. package/dist/elements/structure/Carousel/Carousel.d.ts +1 -1
  177. package/dist/elements/structure/Carousel/Carousel.mjs +147 -130
  178. package/dist/elements/structure/Carousel/CarouselContext.d.ts +3 -3
  179. package/dist/elements/structure/Carousel/CarouselTrack/CarouselTrack.d.ts +1 -1
  180. package/dist/elements/structure/Carousel/CarouselTrack/components/ScrollTrack/ScrollTrack.d.ts +6 -2
  181. package/dist/elements/structure/Carousel/CarouselTrack/components/ScrollTrack/ScrollTrack.mjs +32 -20
  182. package/dist/elements/structure/Carousel/CarouselTrack/index.d.ts +1 -1
  183. package/dist/elements/structure/Carousel/carouselIndex.d.ts +17 -0
  184. package/dist/elements/structure/Carousel/carouselIndex.mjs +17 -5
  185. package/dist/elements/structure/Carousel/declaration.d.ts +49 -2
  186. package/dist/elements/structure/Carousel/declaration.mjs +26 -4
  187. package/dist/elements/structure/Carousel/index.d.ts +51 -4
  188. package/dist/elements/structure/Container/Container.d.ts +5 -3
  189. package/dist/elements/structure/Container/Container.mjs +6 -5
  190. package/dist/elements/structure/Container/Settings.d.ts +4 -2
  191. package/dist/elements/structure/Container/Settings.mjs +19 -5
  192. package/dist/elements/structure/Container/declaration.d.ts +3 -2
  193. package/dist/elements/structure/Container/declaration.mjs +3 -1
  194. package/dist/elements/structure/Container/index.d.ts +4 -3
  195. package/dist/elements/structure/DialogContainer/DialogContainer.d.ts +1 -1
  196. package/dist/elements/structure/DialogContainer/declaration.d.ts +1 -0
  197. package/dist/elements/structure/DialogContainer/declaration.mjs +5 -0
  198. package/dist/elements/structure/DialogContainer/index.d.ts +2 -1
  199. package/dist/elements/structure/List/List.d.ts +1 -1
  200. package/dist/elements/structure/List/ListItem/ListItem.d.ts +1 -1
  201. package/dist/elements/structure/List/ListItem/index.d.ts +1 -1
  202. package/dist/elements/structure/List/declaration.d.ts +5 -0
  203. package/dist/elements/structure/List/declaration.mjs +5 -0
  204. package/dist/elements/structure/List/index.d.ts +7 -2
  205. package/dist/elements/structure/List/modes/ListControlled/ListControlled.mjs +1 -0
  206. package/dist/elements/structure/List/modes/ListControlled/ListControlledItem.d.ts +3 -1
  207. package/dist/elements/structure/List/modes/ListControlled/ListControlledItem.mjs +33 -25
  208. package/dist/elements/structure/ModalContainer/ModalContainer.d.ts +1 -1
  209. package/dist/elements/structure/ModalContainer/declaration.d.ts +2 -0
  210. package/dist/elements/structure/ModalContainer/declaration.mjs +2 -0
  211. package/dist/elements/structure/ModalContainer/index.d.ts +3 -1
  212. package/dist/elements/structure/Pagination/Pagination.d.ts +1 -1
  213. package/dist/elements/structure/Pagination/declaration.d.ts +1 -0
  214. package/dist/elements/structure/Pagination/declaration.mjs +5 -0
  215. package/dist/elements/structure/Pagination/index.d.ts +2 -1
  216. package/dist/elements/structure/TabContainer/TabContainer.d.ts +1 -1
  217. package/dist/elements/structure/TabContainer/TabContainerBody/TabContainerBody.d.ts +1 -1
  218. package/dist/elements/structure/TabContainer/TabContainerBody/index.d.ts +1 -1
  219. package/dist/elements/structure/TabContainer/TabContainerHeader/TabContainerHeader.d.ts +1 -1
  220. package/dist/elements/structure/TabContainer/TabContainerHeader/index.d.ts +1 -1
  221. package/dist/elements/structure/TabContainer/TabContainerItem/TabContainerItem.d.ts +1 -1
  222. package/dist/elements/structure/TabContainer/TabContainerItem/declaration.d.ts +6 -0
  223. package/dist/elements/structure/TabContainer/TabContainerItem/declaration.mjs +6 -0
  224. package/dist/elements/structure/TabContainer/TabContainerItem/index.d.ts +7 -1
  225. package/dist/elements/structure/TabContainer/index.d.ts +10 -4
  226. package/dist/index.d.ts +216 -51
  227. package/dist/index.mjs +39 -37
  228. package/package.json +8 -8
  229. package/dist/elements/provider/ApiContainer/helpers/isEmptyAnswer.d.ts +0 -16
  230. package/dist/elements/provider/ApiContainer/helpers/isEmptyAnswer.mjs +0 -4
package/dist/index.d.ts CHANGED
@@ -4,12 +4,12 @@ import * as elements from './elements';
4
4
  export * from './elements';
5
5
  export declare const defaultElements: {
6
6
  dropdown: {
7
- (props: import('.').WithElementProps<import('./elements/basic/Dropdown/Dropdown').DropdownProps>): import('react').JSX.Element;
7
+ (props: import('.').WithElementProps<import('./elements/basic/Dropdown/Dropdown').DropdownProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
8
8
  displayName: string;
9
9
  } & {
10
10
  plugins: {
11
11
  dropdownPopup: {
12
- (props: import('.').WithElementProps<import('./elements/basic/Dropdown/DropdownPopup/DropdownPopup').DropdownPopupProps>): import('react').JSX.Element;
12
+ (props: import('.').WithElementProps<import('./elements/basic/Dropdown/DropdownPopup/DropdownPopup').DropdownPopupProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
13
13
  displayName: string;
14
14
  } & {
15
15
  readonly type: "dropdownPopup";
@@ -66,6 +66,35 @@ export declare const defaultElements: {
66
66
  type: "dropdown";
67
67
  attributeValues: {
68
68
  readonly popupPlacement: readonly string[];
69
+ readonly popupWidth: readonly string[];
70
+ };
71
+ callbacks: {
72
+ readonly openDropdown: {
73
+ readonly action: "openDropdown";
74
+ readonly title: "Open Dropdown";
75
+ readonly type: "callback";
76
+ readonly params: {};
77
+ readonly preview: {};
78
+ };
79
+ readonly closeDropdown: {
80
+ readonly action: "closeDropdown";
81
+ readonly title: "Close Dropdown";
82
+ readonly type: "callback";
83
+ readonly params: {};
84
+ readonly preview: {};
85
+ };
86
+ readonly toggleDropdown: {
87
+ readonly action: "toggleDropdown";
88
+ readonly title: "Toggle Dropdown";
89
+ readonly type: "callback";
90
+ readonly params: {};
91
+ readonly preview: {};
92
+ };
93
+ };
94
+ marks: {
95
+ readonly 'aria-expanded': "on its trigger while the popup is open — what a class’s `expanded` state lights";
96
+ readonly '.popup-container--no-visible': "on its dropdownPopup while closed";
97
+ readonly 'the popup': "drawn at the space’s root, `position: fixed` where the dropdown places it — a class on the popup sets its look, never its position (top, left, position, inset, transform); `popupWidth: \"trigger\"` makes it as wide as the trigger";
69
98
  };
70
99
  content: {
71
100
  readonly attributes: {
@@ -76,6 +105,7 @@ export declare const defaultElements: {
76
105
  readonly closeOnClickPopup: true;
77
106
  readonly containerTopOffset: 5;
78
107
  readonly containerLeftOffset: 5;
108
+ readonly popupWidth: "content";
79
109
  readonly disabled: false;
80
110
  };
81
111
  readonly definition: {
@@ -122,10 +152,11 @@ export declare const defaultElements: {
122
152
  closeOnClickBackground?: boolean | undefined;
123
153
  containerTopOffset?: number | undefined;
124
154
  containerLeftOffset?: number | undefined;
155
+ popupWidth?: "content" | "trigger" | undefined;
125
156
  }>;
126
157
  };
127
158
  notFound: {
128
- (props: import('.').WithElementProps<import('./elements/internal/NotFound/NotFound').NotFoundProps>): import('react').JSX.Element;
159
+ (props: import('.').WithElementProps<import('./elements/internal/NotFound/NotFound').NotFoundProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
129
160
  displayName: string;
130
161
  } & {
131
162
  readonly type: "notFound";
@@ -158,7 +189,7 @@ export declare const defaultElements: {
158
189
  content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
159
190
  } & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<unknown>;
160
191
  loading: {
161
- (props: import('.').WithElementProps<import('./elements/internal/Loading/Loading').LoadingProps>): import('react').JSX.Element;
192
+ (props: import('.').WithElementProps<import('./elements/internal/Loading/Loading').LoadingProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
162
193
  displayName: string;
163
194
  } & {
164
195
  readonly type: "loading";
@@ -187,7 +218,7 @@ export declare const defaultElements: {
187
218
  content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
188
219
  } & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<unknown>;
189
220
  custom: {
190
- (props: import('.').WithElementProps<import('./elements/advanced/Custom/Custom').CustomProps>): import('react').JSX.Element;
221
+ (props: import('.').WithElementProps<import('./elements/advanced/Custom/Custom').CustomProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
191
222
  displayName: string;
192
223
  } & {
193
224
  readonly type: "custom";
@@ -224,7 +255,7 @@ export declare const defaultElements: {
224
255
  content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
225
256
  } & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<import('./elements/declarations').CustomAttributes>;
226
257
  reference: {
227
- (props: import('.').WithElementProps<import('./elements/advanced/Reference/Reference').ReferenceProps>): import('react').JSX.Element;
258
+ (props: import('.').WithElementProps<import('./elements/advanced/Reference/Reference').ReferenceProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
228
259
  displayName: string;
229
260
  } & {
230
261
  readonly type: "reference";
@@ -258,7 +289,7 @@ export declare const defaultElements: {
258
289
  referenceType: "element" | "component";
259
290
  }>>;
260
291
  blockHtml: {
261
- (props: import('.').WithElementProps<import('./elements/advanced/BlockHtml/BlockHtml').BlockHtmlProps>): import('react').JSX.Element;
292
+ (props: import('.').WithElementProps<import('./elements/advanced/BlockHtml/BlockHtml').BlockHtmlProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
262
293
  displayName: string;
263
294
  } & {
264
295
  readonly type: "blockHtml";
@@ -288,7 +319,7 @@ export declare const defaultElements: {
288
319
  content?: string | undefined;
289
320
  }>>;
290
321
  nodeHtml: {
291
- (props: import('.').WithElementProps<import('./elements/advanced/NodeHtml/NodeHtml').NodeHtmlProps<"span">>): import('react').JSX.Element;
322
+ (props: import('.').WithElementProps<import('./elements/advanced/NodeHtml/NodeHtml').NodeHtmlProps<"span">>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
292
323
  displayName: string;
293
324
  } & {
294
325
  readonly type: "nodeHtml";
@@ -332,9 +363,11 @@ export declare const defaultElements: {
332
363
  content?: string | undefined | undefined;
333
364
  style?: import('react').CSSProperties | undefined;
334
365
  color?: string | undefined | undefined;
335
- slot?: string | undefined | undefined;
336
366
  title?: string | undefined | undefined;
367
+ property?: string | undefined | undefined;
368
+ slot?: string | undefined | undefined;
337
369
  defaultValue?: string | number | readonly string[] | undefined;
370
+ dir?: string | undefined | undefined;
338
371
  hidden?: boolean | undefined | undefined;
339
372
  onScroll?: import('react').UIEventHandler<"span"> | undefined;
340
373
  onLoad?: import('react').ReactEventHandler<"span"> | undefined;
@@ -573,7 +606,6 @@ export declare const defaultElements: {
573
606
  autoFocus?: boolean | undefined | undefined;
574
607
  contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
575
608
  contextMenu?: string | undefined | undefined;
576
- dir?: string | undefined | undefined;
577
609
  draggable?: (boolean | "true" | "false") | undefined;
578
610
  enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
579
611
  spellCheck?: (boolean | "true" | "false") | undefined;
@@ -583,7 +615,6 @@ export declare const defaultElements: {
583
615
  datatype?: string | undefined | undefined;
584
616
  inlist?: any;
585
617
  prefix?: string | undefined | undefined;
586
- property?: string | undefined | undefined;
587
618
  rel?: string | undefined | undefined;
588
619
  resource?: string | undefined | undefined;
589
620
  rev?: string | undefined | undefined;
@@ -609,7 +640,7 @@ export declare const defaultElements: {
609
640
  subType?: "span" | undefined;
610
641
  }>>;
611
642
  blockJsx: {
612
- (props: import('.').WithElementProps<import('./elements/advanced/BlockJsx/BlockJsx').BlockJsxProps>): import('react').JSX.Element;
643
+ (props: import('.').WithElementProps<import('./elements/advanced/BlockJsx/BlockJsx').BlockJsxProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
613
644
  displayName: string;
614
645
  } & {
615
646
  readonly type: "blockJsx";
@@ -640,13 +671,15 @@ export declare const defaultElements: {
640
671
  content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
641
672
  } & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<import('./elements/declarations').BlockJsxAttributes>;
642
673
  page: {
643
- (props: import('.').WithElementProps<import('./elements/internal/Page/Page').PageProps>): import('react').JSX.Element;
674
+ (props: import('.').WithElementProps<import('./elements/internal/Page/Page').PageProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
644
675
  displayName: string;
645
676
  } & {
646
677
  readonly type: "page";
647
- readonly serverTemplates: readonly ["seoPageTitle", "seoPageDescription", "notFound"];
678
+ readonly contentAttributes: readonly ["seoPageTitle", "seoPageDescription"];
679
+ readonly serverTemplates: readonly ["seoPageTitle", "seoPageDescription", "seoImage", "seoImageAlt", "notFound"];
648
680
  readonly attributeValues: {
649
681
  readonly documentScroll: readonly ["locked", "noBounce"];
682
+ readonly seoType: readonly ["website", "article", "profile", "book", "music.song", "music.album", "music.playlist", "music.radio_station", "video.movie", "video.episode", "video.tv_show", "video.other"];
650
683
  };
651
684
  readonly triggers: {
652
685
  readonly onPageLoad: {
@@ -715,12 +748,17 @@ export declare const defaultElements: {
715
748
  seoEnabled?: boolean | undefined;
716
749
  seoPageTitle?: string | undefined;
717
750
  seoPageDescription?: string | undefined;
751
+ seoRobots?: string | undefined;
752
+ seoStructuredData?: Record<string, unknown>[] | undefined;
753
+ seoImage?: string | undefined;
754
+ seoImageAlt?: string | undefined;
755
+ seoType?: import('@plitzi/sdk-shared/schema').OgType | undefined;
718
756
  documentScroll?: (import('./elements/declarations').DocumentScroll | "") | undefined;
719
757
  withheld?: import('@plitzi/sdk-shared/schema').PageWithheld | undefined;
720
758
  access?: import('@plitzi/sdk-shared/schema').PageAccess | undefined;
721
759
  }>>;
722
760
  container: {
723
- (props: import('.').WithElementProps<import('./elements/structure/Container/Container').ContainerProps>): import('react').JSX.Element;
761
+ (props: import('.').WithElementProps<import('./elements/structure/Container/Container').ContainerProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
724
762
  displayName: string;
725
763
  } & {
726
764
  readonly type: "container";
@@ -753,14 +791,15 @@ export declare const defaultElements: {
753
791
  } & {
754
792
  content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
755
793
  } & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<Partial<{
756
- label?: string | undefined;
757
794
  title?: string | undefined;
758
- subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "dl" | "dt" | "dd" | "li" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | undefined;
795
+ label?: string | undefined;
796
+ open?: boolean | undefined;
797
+ subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "dl" | "dt" | "dd" | "li" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | "details" | "summary" | undefined;
759
798
  live?: "polite" | "assertive" | "" | undefined;
760
799
  decorative?: boolean | undefined;
761
800
  }>>;
762
801
  layoutContainer: {
763
- (props: import('.').WithElementProps<import('./elements/internal/LayoutContainer/LayoutContainer').LayoutContainerProps>): import('react').JSX.Element;
802
+ (props: import('.').WithElementProps<import('./elements/internal/LayoutContainer/LayoutContainer').LayoutContainerProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
764
803
  displayName: string;
765
804
  } & {
766
805
  readonly type: "layoutContainer";
@@ -800,10 +839,11 @@ export declare const defaultElements: {
800
839
  layoutContainer?: string | undefined;
801
840
  }>>;
802
841
  dialogContainer: {
803
- (props: import('.').WithElementProps<import('./elements/structure/DialogContainer/DialogContainer').DialogContainerProps>): import('react').JSX.Element;
842
+ (props: import('.').WithElementProps<import('./elements/structure/DialogContainer/DialogContainer').DialogContainerProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
804
843
  displayName: string;
805
844
  } & {
806
845
  readonly type: "dialogContainer";
846
+ readonly contentAttributes: readonly ["headerLabel", "acceptButtonLabel", "rejectButtonLabel"];
807
847
  readonly sourceType: "dialogContainer";
808
848
  readonly triggers: {
809
849
  readonly onDialogAccept: {
@@ -1072,10 +1112,11 @@ export declare const defaultElements: {
1072
1112
  rejectButtonLabel?: string | undefined;
1073
1113
  }>>;
1074
1114
  modalContainer: {
1075
- (props: import('.').WithElementProps<import('./elements/structure/ModalContainer/ModalContainer').ModalContainerProps>): import('react').JSX.Element;
1115
+ (props: import('.').WithElementProps<import('./elements/structure/ModalContainer/ModalContainer').ModalContainerProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
1076
1116
  displayName: string;
1077
1117
  } & {
1078
1118
  readonly type: "modalContainer";
1119
+ readonly contentAttributes: readonly ["title"];
1079
1120
  readonly sourceType: "modalContainer";
1080
1121
  readonly triggers: {
1081
1122
  readonly onModalOpen: {
@@ -1124,6 +1165,7 @@ export declare const defaultElements: {
1124
1165
  };
1125
1166
  };
1126
1167
  readonly content: {
1168
+ readonly placeholders: readonly ["title"];
1127
1169
  readonly attributes: {
1128
1170
  readonly title: "Modal Header";
1129
1171
  readonly autoHideAfterClick: true;
@@ -1260,12 +1302,12 @@ export declare const defaultElements: {
1260
1302
  autoHideAfterClick?: boolean | undefined;
1261
1303
  }>>;
1262
1304
  tabContainer: {
1263
- (props: import('.').WithElementProps<import('./elements/structure/TabContainer/TabContainer').TabContainerProps>): import('react').JSX.Element;
1305
+ (props: import('.').WithElementProps<import('./elements/structure/TabContainer/TabContainer').TabContainerProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
1264
1306
  displayName: string;
1265
1307
  } & {
1266
1308
  plugins: {
1267
1309
  tabContainerHeader: {
1268
- (props: import('.').WithElementProps<import('./elements/structure/TabContainer/TabContainerHeader/TabContainerHeader').TabContainerHeaderProps>): import('react').JSX.Element;
1310
+ (props: import('.').WithElementProps<import('./elements/structure/TabContainer/TabContainerHeader/TabContainerHeader').TabContainerHeaderProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
1269
1311
  displayName: string;
1270
1312
  } & {
1271
1313
  readonly type: "tabContainerHeader";
@@ -1302,7 +1344,7 @@ export declare const defaultElements: {
1302
1344
  content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
1303
1345
  } & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<unknown>;
1304
1346
  tabContainerBody: {
1305
- (props: import('.').WithElementProps<import('./elements/structure/TabContainer/TabContainerBody/TabContainerBody').TabContainerBodyProps>): import('react').JSX.Element;
1347
+ (props: import('.').WithElementProps<import('./elements/structure/TabContainer/TabContainerBody/TabContainerBody').TabContainerBodyProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
1306
1348
  displayName: string;
1307
1349
  } & {
1308
1350
  readonly type: "tabContainerBody";
@@ -1339,10 +1381,16 @@ export declare const defaultElements: {
1339
1381
  content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
1340
1382
  } & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<unknown>;
1341
1383
  tabContainerItem: {
1342
- (props: import('.').WithElementProps<import('./elements/structure/TabContainer/TabContainerItem/TabContainerItem').TabContainerItemProps>): import('react').JSX.Element;
1384
+ (props: import('.').WithElementProps<import('./elements/structure/TabContainer/TabContainerItem/TabContainerItem').TabContainerItemProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
1343
1385
  displayName: string;
1344
1386
  } & {
1345
1387
  readonly type: "tabContainerItem";
1388
+ readonly marks: {
1389
+ readonly 'role="tab"': "in the header, with `aria-controls` its panel; in the body it is `role=\"tabpanel\"`, `hidden` while not on show";
1390
+ readonly 'aria-selected': "on the open tab — what a class’s `current` state lights (`states: { current: { … } }`); `active` is the press, never the open tab";
1391
+ readonly '.active': "on the open tab too, the class the component adds";
1392
+ readonly tabindex: "roving: 0 on the open tab, -1 on the rest — the arrow keys move between them";
1393
+ };
1346
1394
  readonly content: {
1347
1395
  readonly attributes: {};
1348
1396
  readonly definition: {
@@ -1398,12 +1446,12 @@ export declare const defaultElements: {
1398
1446
  __attributes: unknown;
1399
1447
  };
1400
1448
  carousel: {
1401
- (props: import('.').WithElementProps<import('./elements/structure/Carousel/Carousel').CarouselProps>): import('react').JSX.Element;
1449
+ (props: import('.').WithElementProps<import('./elements/structure/Carousel/Carousel').CarouselProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
1402
1450
  displayName: string;
1403
1451
  } & {
1404
1452
  plugins: {
1405
1453
  carouselTrack: {
1406
- (props: import('.').WithElementProps<import('./elements/structure/Carousel/CarouselTrack/CarouselTrack').CarouselTrackProps>): import('react').JSX.Element;
1454
+ (props: import('.').WithElementProps<import('./elements/structure/Carousel/CarouselTrack/CarouselTrack').CarouselTrackProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
1407
1455
  displayName: string;
1408
1456
  } & {
1409
1457
  readonly type: "carouselTrack";
@@ -1438,7 +1486,18 @@ export declare const defaultElements: {
1438
1486
  } & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<unknown>;
1439
1487
  };
1440
1488
  type: "carousel";
1489
+ contentAttributes: readonly ["label"];
1441
1490
  sourceType: "carousel";
1491
+ publishes: {
1492
+ readonly items: "Every item it shows, one slide each";
1493
+ readonly count: "How many items it has";
1494
+ readonly index: "The slide it stands at, from 0 (a `scroll` row: the first in view)";
1495
+ readonly item: "The item of that slide";
1496
+ readonly playing: "Whether it moves on by itself now (autoplay, not paused)";
1497
+ readonly atStart: "At its first slide — a `scroll` row at the start of its box; one that loops never is";
1498
+ readonly atEnd: "At its last — a `scroll` row at the end of its box, however many it shows; one that loops never is";
1499
+ readonly shown: "How many slides it shows whole (1 but for a `scroll` row)";
1500
+ };
1442
1501
  triggers: {
1443
1502
  readonly onChange: {
1444
1503
  readonly action: "onChange";
@@ -1456,14 +1515,50 @@ export declare const defaultElements: {
1456
1515
  readonly action: "next";
1457
1516
  readonly title: "Next Slide";
1458
1517
  readonly type: "callback";
1459
- readonly params: {};
1518
+ readonly params: {
1519
+ readonly by: {
1520
+ canBind?: boolean;
1521
+ label?: string;
1522
+ when?: boolean | ((params: Record<string, unknown>) => boolean) | undefined;
1523
+ credentialProvider?: import('@plitzi/sdk-shared').SpaceCredentialProvider;
1524
+ required?: boolean;
1525
+ } & {
1526
+ type: "select";
1527
+ defaultValue?: string;
1528
+ options: {
1529
+ label: string;
1530
+ value: string;
1531
+ }[] | ((params: Record<string, unknown>) => {
1532
+ label: string;
1533
+ value: string;
1534
+ }[]);
1535
+ };
1536
+ };
1460
1537
  readonly preview: {};
1461
1538
  };
1462
1539
  readonly previous: {
1463
1540
  readonly action: "previous";
1464
1541
  readonly title: "Previous Slide";
1465
1542
  readonly type: "callback";
1466
- readonly params: {};
1543
+ readonly params: {
1544
+ readonly by: {
1545
+ canBind?: boolean;
1546
+ label?: string;
1547
+ when?: boolean | ((params: Record<string, unknown>) => boolean) | undefined;
1548
+ credentialProvider?: import('@plitzi/sdk-shared').SpaceCredentialProvider;
1549
+ required?: boolean;
1550
+ } & {
1551
+ type: "select";
1552
+ defaultValue?: string;
1553
+ options: {
1554
+ label: string;
1555
+ value: string;
1556
+ }[] | ((params: Record<string, unknown>) => {
1557
+ label: string;
1558
+ value: string;
1559
+ }[]);
1560
+ };
1561
+ };
1467
1562
  readonly preview: {};
1468
1563
  };
1469
1564
  readonly goTo: {
@@ -1539,14 +1634,16 @@ export declare const defaultElements: {
1539
1634
  }>;
1540
1635
  };
1541
1636
  heading: {
1542
- (props: import('.').WithElementProps<import('./elements/basic/Heading/Heading').HeadingProps>): import('react').JSX.Element;
1637
+ (props: import('.').WithElementProps<import('./elements/basic/Heading/Heading').HeadingProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
1543
1638
  displayName: string;
1544
1639
  } & {
1545
1640
  readonly type: "heading";
1641
+ readonly contentAttributes: readonly ["content"];
1546
1642
  readonly attributeValues: {
1547
1643
  readonly subType: readonly string[];
1548
1644
  };
1549
1645
  readonly content: {
1646
+ readonly placeholders: readonly ["content"];
1550
1647
  readonly attributes: {
1551
1648
  readonly content: "Heading";
1552
1649
  readonly subType: "h1";
@@ -1670,10 +1767,11 @@ export declare const defaultElements: {
1670
1767
  subType?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
1671
1768
  }>>;
1672
1769
  image: {
1673
- (props: import('.').WithElementProps<import('./elements/media/Image/Image').ImageProps>): import('react').JSX.Element;
1770
+ (props: import('.').WithElementProps<import('./elements/media/Image/Image').ImageProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
1674
1771
  displayName: string;
1675
1772
  } & {
1676
1773
  readonly type: "image";
1774
+ readonly contentAttributes: readonly ["src", "alt"];
1677
1775
  readonly attributeValues: {
1678
1776
  readonly fetchPriority: readonly string[];
1679
1777
  readonly loadMode: readonly string[];
@@ -1710,9 +1808,9 @@ export declare const defaultElements: {
1710
1808
  } & {
1711
1809
  content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
1712
1810
  } & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<Partial<{
1811
+ width?: number | undefined;
1713
1812
  resize?: boolean | undefined;
1714
1813
  height?: number | undefined;
1715
- width?: number | undefined;
1716
1814
  fetchPriority?: "high" | "low" | "auto" | undefined;
1717
1815
  sizes?: string | undefined;
1718
1816
  src?: string | undefined;
@@ -1721,10 +1819,11 @@ export declare const defaultElements: {
1721
1819
  loadMode?: "auto" | "eager" | "lazy" | undefined;
1722
1820
  }>>;
1723
1821
  video: {
1724
- (props: import('.').WithElementProps<import('./elements/media/Video/Video').VideoProps>): import('react').JSX.Element;
1822
+ (props: import('.').WithElementProps<import('./elements/media/Video/Video').VideoProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
1725
1823
  displayName: string;
1726
1824
  } & {
1727
1825
  readonly type: "video";
1826
+ readonly contentAttributes: readonly ["src"];
1728
1827
  readonly content: {
1729
1828
  readonly attributes: {
1730
1829
  readonly src: "";
@@ -1763,10 +1862,11 @@ export declare const defaultElements: {
1763
1862
  playsInline?: boolean | undefined;
1764
1863
  }>>;
1765
1864
  embed: {
1766
- (props: import('.').WithElementProps<import('./elements/media/Embed/Embed').EmbedProps>): import('react').JSX.Element;
1865
+ (props: import('.').WithElementProps<import('./elements/media/Embed/Embed').EmbedProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
1767
1866
  displayName: string;
1768
1867
  } & {
1769
1868
  readonly type: "embed";
1869
+ readonly contentAttributes: readonly ["src", "title"];
1770
1870
  readonly content: {
1771
1871
  readonly attributes: {
1772
1872
  readonly src: "";
@@ -1808,10 +1908,11 @@ export declare const defaultElements: {
1808
1908
  sandbox?: string | undefined;
1809
1909
  }>>;
1810
1910
  svg: {
1811
- (props: import('.').WithElementProps<import('./elements/media/Svg/Svg').SvgProps>): import('react').JSX.Element;
1911
+ (props: import('.').WithElementProps<import('./elements/media/Svg/Svg').SvgProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
1812
1912
  displayName: string;
1813
1913
  } & {
1814
1914
  readonly type: "svg";
1915
+ readonly contentAttributes: readonly ["label"];
1815
1916
  readonly content: {
1816
1917
  readonly attributes: {
1817
1918
  readonly content: "";
@@ -1845,7 +1946,7 @@ export declare const defaultElements: {
1845
1946
  label?: string | undefined;
1846
1947
  }>>;
1847
1948
  fontAwesome: {
1848
- (props: import('.').WithElementProps<import('./elements/media/FontAwesome/FontAwesome').FontAwesomeProps>): import('react').JSX.Element;
1949
+ (props: import('.').WithElementProps<import('./elements/media/FontAwesome/FontAwesome').FontAwesomeProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
1849
1950
  displayName: string;
1850
1951
  } & {
1851
1952
  readonly type: "fontAwesome";
@@ -1883,16 +1984,18 @@ export declare const defaultElements: {
1883
1984
  iconAnimation?: string | undefined;
1884
1985
  }>>;
1885
1986
  button: {
1886
- (props: import('.').WithElementProps<import('./elements/basic/Button/Button').ButtonProps>): import('react').JSX.Element;
1987
+ (props: import('.').WithElementProps<import('./elements/basic/Button/Button').ButtonProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
1887
1988
  displayName: string;
1888
1989
  } & {
1889
1990
  readonly type: "button";
1991
+ readonly contentAttributes: readonly ["content"];
1890
1992
  readonly attributeValues: {
1891
1993
  readonly subType: readonly string[];
1892
1994
  readonly contentPlacement: readonly string[];
1893
1995
  readonly iconPlacement: readonly string[];
1894
1996
  };
1895
1997
  readonly content: {
1998
+ readonly placeholders: readonly ["content"];
1896
1999
  readonly attributes: {
1897
2000
  readonly contentPlacement: "after";
1898
2001
  readonly content: "Button";
@@ -1922,6 +2025,7 @@ export declare const defaultElements: {
1922
2025
  'padding-right': string;
1923
2026
  'padding-bottom': string;
1924
2027
  cursor: string;
2028
+ 'font-family': string;
1925
2029
  'font-size': string;
1926
2030
  'line-height': string;
1927
2031
  'border-top-left-radius': string;
@@ -1943,6 +2047,7 @@ export declare const defaultElements: {
1943
2047
  'padding-right': string;
1944
2048
  'padding-bottom': string;
1945
2049
  cursor: string;
2050
+ 'font-family': string;
1946
2051
  'font-size': string;
1947
2052
  'line-height': string;
1948
2053
  'border-top-left-radius': string;
@@ -1964,6 +2069,7 @@ export declare const defaultElements: {
1964
2069
  'padding-right': string;
1965
2070
  'padding-bottom': string;
1966
2071
  cursor: string;
2072
+ 'font-family': string;
1967
2073
  'font-size': string;
1968
2074
  'line-height': string;
1969
2075
  'border-top-left-radius': string;
@@ -1985,6 +2091,7 @@ export declare const defaultElements: {
1985
2091
  'padding-right': string;
1986
2092
  'padding-bottom': string;
1987
2093
  cursor: string;
2094
+ 'font-family': string;
1988
2095
  'font-size': string;
1989
2096
  'line-height': string;
1990
2097
  'border-top-left-radius': string;
@@ -2002,8 +2109,8 @@ export declare const defaultElements: {
2002
2109
  content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
2003
2110
  } & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<Partial<{
2004
2111
  content?: string | undefined;
2005
- label?: string | undefined;
2006
2112
  title?: string | undefined;
2113
+ label?: string | undefined;
2007
2114
  disabled?: boolean | undefined;
2008
2115
  controls?: string | undefined;
2009
2116
  icon?: string | undefined;
@@ -2012,13 +2119,16 @@ export declare const defaultElements: {
2012
2119
  contentPlacement?: "before" | "after" | undefined;
2013
2120
  ariaExpanded?: boolean | undefined;
2014
2121
  ariaPressed?: boolean | undefined;
2122
+ controlsInRow?: boolean | undefined;
2015
2123
  }>>;
2016
2124
  paragraph: {
2017
- (props: import('.').WithElementProps<import('./elements/basic/Paragraph/Paragraph').ParagraphProps>): import('react').JSX.Element;
2125
+ (props: import('.').WithElementProps<import('./elements/basic/Paragraph/Paragraph').ParagraphProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
2018
2126
  displayName: string;
2019
2127
  } & {
2020
2128
  readonly type: "paragraph";
2129
+ readonly contentAttributes: readonly ["content"];
2021
2130
  readonly content: {
2131
+ readonly placeholders: readonly ["content"];
2022
2132
  readonly attributes: {
2023
2133
  readonly content: "Paragraph";
2024
2134
  };
@@ -2047,11 +2157,13 @@ export declare const defaultElements: {
2047
2157
  content?: string | number | undefined;
2048
2158
  }>>;
2049
2159
  text: {
2050
- (props: import('.').WithElementProps<import('./elements/basic/Text/Text').TextProps>): import('react').JSX.Element;
2160
+ (props: import('.').WithElementProps<import('./elements/basic/Text/Text').TextProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
2051
2161
  displayName: string;
2052
2162
  } & {
2053
2163
  readonly type: "text";
2164
+ readonly contentAttributes: readonly ["content"];
2054
2165
  readonly content: {
2166
+ readonly placeholders: readonly ["content"];
2055
2167
  readonly attributes: {
2056
2168
  readonly content: "Text";
2057
2169
  };
@@ -2081,10 +2193,11 @@ export declare const defaultElements: {
2081
2193
  decorative?: boolean | undefined;
2082
2194
  }>>;
2083
2195
  themeToggle: {
2084
- (props: import('.').WithElementProps<import('./elements/basic/ThemeToggle/ThemeToggle').ThemeToggleProps>): import('react').JSX.Element;
2196
+ (props: import('.').WithElementProps<import('./elements/basic/ThemeToggle/ThemeToggle').ThemeToggleProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
2085
2197
  displayName: string;
2086
2198
  } & {
2087
2199
  readonly type: "themeToggle";
2200
+ readonly contentAttributes: readonly ["lightLabel", "darkLabel", "systemLabel"];
2088
2201
  readonly attributeValues: {
2089
2202
  readonly subType: readonly string[];
2090
2203
  };
@@ -2187,12 +2300,12 @@ export declare const defaultElements: {
2187
2300
  showSystem?: boolean | undefined;
2188
2301
  }>>;
2189
2302
  list: {
2190
- (props: import('.').WithElementProps<import('./elements/structure/List/List').ListProps<unknown>>): import('react').JSX.Element;
2303
+ (props: import('.').WithElementProps<import('./elements/structure/List/List').ListProps<unknown>>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
2191
2304
  displayName: string;
2192
2305
  } & {
2193
2306
  plugins: {
2194
2307
  listItem: {
2195
- (props: import('.').WithElementProps<import('./elements/structure/List/ListItem/ListItem').ListItemProps>): import('react').JSX.Element;
2308
+ (props: import('.').WithElementProps<import('./elements/structure/List/ListItem/ListItem').ListItemProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
2196
2309
  displayName: string;
2197
2310
  } & {
2198
2311
  readonly type: "listItem";
@@ -2228,6 +2341,11 @@ export declare const defaultElements: {
2228
2341
  readonly source: readonly string[];
2229
2342
  };
2230
2343
  sourceType: "list";
2344
+ publishes: {
2345
+ readonly items: "Every row it draws, as its items give them";
2346
+ readonly item: "Inside a row: that row's item";
2347
+ readonly index: "Inside a row: its place, from 0";
2348
+ };
2231
2349
  content: {
2232
2350
  readonly attributes: {
2233
2351
  readonly items: readonly [];
@@ -2293,10 +2411,11 @@ export declare const defaultElements: {
2293
2411
  }>;
2294
2412
  };
2295
2413
  link: {
2296
- (props: import('.').WithElementProps<import('./elements/basic/Link/Link').LinkProps>): import('react').JSX.Element;
2414
+ (props: import('.').WithElementProps<import('./elements/basic/Link/Link').LinkProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
2297
2415
  displayName: string;
2298
2416
  } & {
2299
2417
  readonly type: "link";
2418
+ readonly contentAttributes: readonly ["content", "href", "label"];
2300
2419
  readonly attributeValues: {
2301
2420
  readonly mode: readonly string[];
2302
2421
  readonly target: readonly string[];
@@ -2360,11 +2479,13 @@ export declare const defaultElements: {
2360
2479
  hash?: string | undefined;
2361
2480
  }>>;
2362
2481
  markdown: {
2363
- (props: import('.').WithElementProps<import('./elements/basic/Markdown/Markdown').MarkdownProps>): import('react').JSX.Element;
2482
+ (props: import('.').WithElementProps<import('./elements/basic/Markdown/Markdown').MarkdownProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
2364
2483
  displayName: string;
2365
2484
  } & {
2366
2485
  readonly type: "markdown";
2486
+ readonly contentAttributes: readonly ["content"];
2367
2487
  readonly content: {
2488
+ readonly placeholders: readonly ["content"];
2368
2489
  readonly attributes: {
2369
2490
  readonly content: "Markdown";
2370
2491
  readonly headingLinks: true;
@@ -2422,10 +2543,11 @@ export declare const defaultElements: {
2422
2543
  headingLinks?: boolean | undefined;
2423
2544
  }>>;
2424
2545
  richText: {
2425
- (props: import('.').WithElementProps<import('./elements/basic/RichText/RichText').RichTextProps>): import('react').JSX.Element;
2546
+ (props: import('.').WithElementProps<import('./elements/basic/RichText/RichText').RichTextProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
2426
2547
  displayName: string;
2427
2548
  } & {
2428
2549
  readonly type: "richText";
2550
+ readonly contentAttributes: readonly ["content"];
2429
2551
  readonly attributeValues: {
2430
2552
  readonly format: readonly string[];
2431
2553
  };
@@ -2490,10 +2612,11 @@ export declare const defaultElements: {
2490
2612
  mediaBaseUrl?: string | undefined;
2491
2613
  }>>;
2492
2614
  pagination: {
2493
- (props: import('.').WithElementProps<import('./elements/structure/Pagination/Pagination').PaginationProps>): import('react').JSX.Element;
2615
+ (props: import('.').WithElementProps<import('./elements/structure/Pagination/Pagination').PaginationProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
2494
2616
  displayName: string;
2495
2617
  } & {
2496
2618
  readonly type: "pagination";
2619
+ readonly contentAttributes: readonly ["previousLabel", "nextLabel", "loadMoreLabel"];
2497
2620
  readonly attributeValues: {
2498
2621
  readonly mode: readonly string[];
2499
2622
  readonly target: readonly string[];
@@ -2563,7 +2686,7 @@ export declare const defaultElements: {
2563
2686
  loadMoreLabel?: string | undefined;
2564
2687
  }>>;
2565
2688
  form: {
2566
- (props: import('.').WithElementProps<elements.FormProps>): import('react').JSX.Element;
2689
+ (props: import('.').WithElementProps<elements.FormProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
2567
2690
  displayName: string;
2568
2691
  } & {
2569
2692
  content: {
@@ -2586,7 +2709,7 @@ export declare const defaultElements: {
2586
2709
  };
2587
2710
  definition: {
2588
2711
  readonly label: "Form";
2589
- readonly description: "A <form> that groups form controls and handles submission; wire its submit through an interaction flow.";
2712
+ readonly description: "A <form> that groups form controls and handles submission; wire its submit through an interaction flow. Left as it is, the browser answers first for a blank required field and a malformed address, in a bubble no style reaches and in the browser's language; `noValidate: true` turns its checks off, and every rule answers under its control in the words of its `…Message` (`requiredMessage`).";
2590
2713
  readonly items: [];
2591
2714
  } & {
2592
2715
  type: string;
@@ -2614,6 +2737,11 @@ export declare const defaultElements: {
2614
2737
  readonly method: readonly string[];
2615
2738
  };
2616
2739
  sourceType: "apiContainer";
2740
+ publishes: {
2741
+ readonly values: "Each field's value, by its name";
2742
+ readonly errors: "Each field's error, by its name — none while it is valid";
2743
+ readonly submitted: "Whether a submit was tried — valid or not — since the form was shown or reset: what shows an error only after a submit, or hides a field's hint once one was tried (no `touched`: a field's own error shows once the field is left)";
2744
+ };
2617
2745
  triggers: {
2618
2746
  readonly onSubmit: {
2619
2747
  readonly action: "onSubmit";
@@ -2626,6 +2754,16 @@ export declare const defaultElements: {
2626
2754
  readonly method: "";
2627
2755
  };
2628
2756
  };
2757
+ readonly onInvalid: {
2758
+ readonly action: "onInvalid";
2759
+ readonly title: "On Form Refused";
2760
+ readonly type: "trigger";
2761
+ readonly params: {};
2762
+ readonly preview: {
2763
+ readonly errors: {};
2764
+ readonly values: {};
2765
+ };
2766
+ };
2629
2767
  };
2630
2768
  callbacks: {
2631
2769
  readonly performReset: {
@@ -2681,7 +2819,7 @@ export declare const defaultElements: {
2681
2819
  }>;
2682
2820
  };
2683
2821
  formControl: {
2684
- (props: import('.').WithElementProps<import('./elements/form/FormControl/hocs/withFieldValue').WithFieldValueProps<import('./elements/form/FormControl/FormControl').FormControlProps>>): import('react').JSX.Element;
2822
+ (props: import('.').WithElementProps<import('./elements/form/FormControl/hocs/withFieldValue').WithFieldValueProps<import('./elements/form/FormControl/FormControl').FormControlProps>>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
2685
2823
  displayName: string;
2686
2824
  } & {
2687
2825
  content: {
@@ -2694,6 +2832,7 @@ export declare const defaultElements: {
2694
2832
  website: string;
2695
2833
  backgroundColor: string;
2696
2834
  };
2835
+ placeholders: readonly ["label"];
2697
2836
  attributes: {
2698
2837
  readonly subType: "text";
2699
2838
  readonly name: "";
@@ -2711,6 +2850,11 @@ export declare const defaultElements: {
2711
2850
  readonly minLengthMessage: "";
2712
2851
  readonly maxLength: 0;
2713
2852
  readonly maxLengthMessage: "";
2853
+ readonly min: "";
2854
+ readonly minMessage: "";
2855
+ readonly max: "";
2856
+ readonly maxMessage: "";
2857
+ readonly step: "";
2714
2858
  readonly formatMessage: "";
2715
2859
  readonly pattern: "";
2716
2860
  readonly patternMessage: "";
@@ -3421,6 +3565,7 @@ export declare const defaultElements: {
3421
3565
  settings: Record<string, string | number | boolean>;
3422
3566
  };
3423
3567
  type: "formControl";
3568
+ contentAttributes: readonly ["label", "placeholder", "options", "requiredMessage", "minLengthMessage", "maxLengthMessage", "minMessage", "maxMessage", "formatMessage", "patternMessage", "matchesMessage"];
3424
3569
  attributeValues: {
3425
3570
  readonly subType: readonly string[];
3426
3571
  };
@@ -3439,7 +3584,7 @@ export declare const defaultElements: {
3439
3584
  __attributes: import('./elements/declarations').FormControlAttributes;
3440
3585
  };
3441
3586
  apiContainer: {
3442
- (props: import('.').WithElementProps<import('./elements/provider/ApiContainer/ApiContainer').ApiContainerProps>): import('react').JSX.Element;
3587
+ (props: import('.').WithElementProps<import('./elements/provider/ApiContainer/ApiContainer').ApiContainerProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
3443
3588
  displayName: string;
3444
3589
  } & {
3445
3590
  readonly type: "apiContainer";
@@ -3450,6 +3595,15 @@ export declare const defaultElements: {
3450
3595
  readonly pagination: readonly string[];
3451
3596
  };
3452
3597
  readonly sourceType: "apiContainer";
3598
+ readonly publishes: {
3599
+ readonly '\u2026': "The answer's own fields, as the service sends them";
3600
+ readonly records: "The rows of a paged answer, every page loaded so far";
3601
+ readonly isLoading: "Whether an answer (or a next page) is on its way";
3602
+ readonly isEmpty: "Whether the answer holds nothing";
3603
+ readonly hasError: "Whether the service could not be reached";
3604
+ readonly errorMessage: "What to tell the visitor when it could not";
3605
+ readonly isStale: "A refresh from the server failed: what shows is from before";
3606
+ };
3453
3607
  readonly serverTemplates: readonly ["notFound"];
3454
3608
  readonly triggers: {
3455
3609
  readonly onApiError: {
@@ -3612,7 +3766,7 @@ export declare const defaultElements: {
3612
3766
  }[] | undefined;
3613
3767
  }>>;
3614
3768
  channel: {
3615
- (props: import('.').WithElementProps<import('./elements/provider/Channel/Channel').ChannelProps>): import('react').JSX.Element;
3769
+ (props: import('.').WithElementProps<import('./elements/provider/Channel/Channel').ChannelProps>): string | number | bigint | boolean | Iterable<import('react').ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<import('react').ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
3616
3770
  displayName: string;
3617
3771
  } & {
3618
3772
  readonly type: "channel";
@@ -3620,6 +3774,14 @@ export declare const defaultElements: {
3620
3774
  readonly subType: readonly string[];
3621
3775
  };
3622
3776
  readonly sourceType: "channel";
3777
+ readonly publishes: {
3778
+ readonly connected: "Whether the channel is connected now";
3779
+ readonly me: "This visitor's own member id";
3780
+ readonly members: "Who is on the channel now";
3781
+ readonly messages: "What was said on it since the page opened";
3782
+ readonly last: "The last of them, or null";
3783
+ readonly retained: "What the channel keeps for whoever joins";
3784
+ };
3623
3785
  readonly triggers: {
3624
3786
  readonly onMessage: {
3625
3787
  readonly action: "onMessage";
@@ -3633,6 +3795,7 @@ export declare const defaultElements: {
3633
3795
  readonly user: "";
3634
3796
  readonly at: "";
3635
3797
  readonly echo: false;
3798
+ readonly replayed: false;
3636
3799
  };
3637
3800
  };
3638
3801
  readonly onJoin: {
@@ -3735,6 +3898,8 @@ export { useRscData, elements, JsxManager };
3735
3898
  export { default as useChannel } from './realtime/useChannel';
3736
3899
  export { default as useJob } from './realtime/useJob';
3737
3900
  export { default as useFlag } from './dataSource/useFlag';
3901
+ export { default as PluginSource } from './dataSource/PluginSource';
3902
+ export type { PluginSourceProps, PluginSourceDeclaration } from './dataSource/PluginSource';
3738
3903
  export type { ChannelHandle, UseChannelOptions } from './realtime/useChannel';
3739
3904
  export { default as withElement } from './Element/hocs/withElement';
3740
3905
  export type { WithElementProps } from './Element/hocs/withElement';