@plitzi/sdk-elements 0.38.24 → 0.39.1

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 (244) hide show
  1. package/CHANGELOG.md +170 -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 +399 -13
  84. package/dist/elements/declarations/index.mjs +48 -44
  85. package/dist/elements/form/Form/Form.d.ts +10 -3
  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 +14 -10
  91. package/dist/elements/form/FormControl/FormControl.mjs +114 -104
  92. package/dist/elements/form/FormControl/Settings.d.ts +9 -2
  93. package/dist/elements/form/FormControl/Settings.mjs +132 -159
  94. package/dist/elements/form/FormControl/declaration.d.ts +52 -1
  95. package/dist/elements/form/FormControl/declaration.mjs +27 -20
  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 +6 -1
  101. package/dist/elements/form/FormControl/hocs/withFieldValue.mjs +52 -41
  102. package/dist/elements/form/FormControl/index.d.ts +53 -2
  103. package/dist/elements/form/FormControl/inputs/Checkbox.mjs +2 -2
  104. package/dist/elements/form/FormControl/inputs/FileInput.d.ts +21 -0
  105. package/dist/elements/form/FormControl/inputs/FileInput.mjs +29 -0
  106. package/dist/elements/form/FormControl/inputs/Input.d.ts +5 -1
  107. package/dist/elements/form/FormControl/inputs/Input.mjs +42 -38
  108. package/dist/elements/form/FormControl/inputs/Select.d.ts +5 -1
  109. package/dist/elements/form/FormControl/inputs/Select.mjs +33 -28
  110. package/dist/elements/form/FormControl/inputs/Textarea.mjs +27 -26
  111. package/dist/elements/form/FormControl/inputs/useFocusWhenShown.d.ts +1 -1
  112. package/dist/elements/form/FormControl/subTypes.d.ts +17 -0
  113. package/dist/elements/form/FormControl/subTypes.mjs +58 -0
  114. package/dist/elements/index.d.ts +5 -1
  115. package/dist/elements/index.mjs +34 -30
  116. package/dist/elements/internal/LayoutContainer/LayoutContainer.d.ts +1 -1
  117. package/dist/elements/internal/LayoutContainer/LayoutContainer.mjs +30 -30
  118. package/dist/elements/internal/LayoutContainer/index.d.ts +1 -1
  119. package/dist/elements/internal/LayoutContainer/mask.d.ts +13 -0
  120. package/dist/elements/internal/LayoutContainer/mask.mjs +16 -1
  121. package/dist/elements/internal/Loading/Loading.d.ts +1 -1
  122. package/dist/elements/internal/Loading/index.d.ts +1 -1
  123. package/dist/elements/internal/NotFound/NotFound.d.ts +1 -1
  124. package/dist/elements/internal/NotFound/index.d.ts +1 -1
  125. package/dist/elements/internal/Page/Page.d.ts +17 -3
  126. package/dist/elements/internal/Page/Page.mjs +32 -25
  127. package/dist/elements/internal/Page/PageHead.d.ts +11 -4
  128. package/dist/elements/internal/Page/PageHead.mjs +41 -19
  129. package/dist/elements/internal/Page/PageWithheld.d.ts +3 -2
  130. package/dist/elements/internal/Page/PageWithheld.mjs +41 -18
  131. package/dist/elements/internal/Page/Settings.d.ts +5 -1
  132. package/dist/elements/internal/Page/Settings.mjs +160 -121
  133. package/dist/elements/internal/Page/SharePreview.d.ts +13 -0
  134. package/dist/elements/internal/Page/SharePreview.mjs +53 -0
  135. package/dist/elements/internal/Page/declaration.d.ts +9 -1
  136. package/dist/elements/internal/Page/declaration.mjs +11 -4
  137. package/dist/elements/internal/Page/index.d.ts +9 -2
  138. package/dist/elements/media/Chart/Chart.d.ts +33 -0
  139. package/dist/elements/media/Chart/Chart.mjs +195 -0
  140. package/dist/elements/media/Chart/Settings.d.ts +6 -0
  141. package/dist/elements/media/Chart/Settings.mjs +92 -0
  142. package/dist/elements/media/Chart/chartGeometry.d.ts +37 -0
  143. package/dist/elements/media/Chart/chartGeometry.mjs +47 -0
  144. package/dist/elements/media/Chart/declaration.d.ts +144 -0
  145. package/dist/elements/media/Chart/declaration.mjs +107 -0
  146. package/dist/elements/media/Chart/index.d.ts +145 -0
  147. package/dist/elements/media/Chart/index.mjs +6 -0
  148. package/dist/elements/media/Embed/Embed.d.ts +1 -1
  149. package/dist/elements/media/Embed/Embed.mjs +25 -21
  150. package/dist/elements/media/Embed/declaration.d.ts +1 -0
  151. package/dist/elements/media/Embed/declaration.mjs +1 -0
  152. package/dist/elements/media/Embed/index.d.ts +2 -1
  153. package/dist/elements/media/FontAwesome/FontAwesome.d.ts +1 -1
  154. package/dist/elements/media/FontAwesome/index.d.ts +1 -1
  155. package/dist/elements/media/Image/Image.d.ts +1 -1
  156. package/dist/elements/media/Image/Image.mjs +35 -34
  157. package/dist/elements/media/Image/declaration.d.ts +2 -1
  158. package/dist/elements/media/Image/declaration.mjs +1 -0
  159. package/dist/elements/media/Image/index.d.ts +3 -2
  160. package/dist/elements/media/Svg/Svg.d.ts +1 -1
  161. package/dist/elements/media/Svg/declaration.d.ts +1 -0
  162. package/dist/elements/media/Svg/declaration.mjs +1 -0
  163. package/dist/elements/media/Svg/index.d.ts +2 -1
  164. package/dist/elements/media/Video/Video.d.ts +1 -1
  165. package/dist/elements/media/Video/declaration.d.ts +1 -0
  166. package/dist/elements/media/Video/declaration.mjs +1 -0
  167. package/dist/elements/media/Video/index.d.ts +2 -1
  168. package/dist/elements/provider/ApiContainer/ApiContainer.d.ts +1 -1
  169. package/dist/elements/provider/ApiContainer/ApiContainer.mjs +215 -185
  170. package/dist/elements/provider/ApiContainer/declaration.d.ts +9 -0
  171. package/dist/elements/provider/ApiContainer/declaration.mjs +10 -1
  172. package/dist/elements/provider/ApiContainer/hooks/useInputRefresh.d.ts +4 -4
  173. package/dist/elements/provider/ApiContainer/hooks/useProviderPagination.d.ts +2 -1
  174. package/dist/elements/provider/ApiContainer/index.d.ts +10 -1
  175. package/dist/elements/provider/Channel/Channel.d.ts +1 -1
  176. package/dist/elements/provider/Channel/declaration.d.ts +9 -0
  177. package/dist/elements/provider/Channel/declaration.mjs +11 -2
  178. package/dist/elements/provider/Channel/index.d.ts +10 -1
  179. package/dist/elements/settings.mjs +44 -40
  180. package/dist/elements/structure/Carousel/Carousel.d.ts +1 -1
  181. package/dist/elements/structure/Carousel/Carousel.mjs +147 -130
  182. package/dist/elements/structure/Carousel/CarouselContext.d.ts +3 -3
  183. package/dist/elements/structure/Carousel/CarouselTrack/CarouselTrack.d.ts +1 -1
  184. package/dist/elements/structure/Carousel/CarouselTrack/components/ScrollTrack/ScrollTrack.d.ts +6 -2
  185. package/dist/elements/structure/Carousel/CarouselTrack/components/ScrollTrack/ScrollTrack.mjs +32 -20
  186. package/dist/elements/structure/Carousel/CarouselTrack/index.d.ts +1 -1
  187. package/dist/elements/structure/Carousel/carouselIndex.d.ts +17 -0
  188. package/dist/elements/structure/Carousel/carouselIndex.mjs +17 -5
  189. package/dist/elements/structure/Carousel/declaration.d.ts +49 -2
  190. package/dist/elements/structure/Carousel/declaration.mjs +26 -4
  191. package/dist/elements/structure/Carousel/index.d.ts +51 -4
  192. package/dist/elements/structure/Container/Container.d.ts +5 -3
  193. package/dist/elements/structure/Container/Container.mjs +6 -5
  194. package/dist/elements/structure/Container/Settings.d.ts +4 -2
  195. package/dist/elements/structure/Container/Settings.mjs +19 -5
  196. package/dist/elements/structure/Container/declaration.d.ts +3 -2
  197. package/dist/elements/structure/Container/declaration.mjs +3 -1
  198. package/dist/elements/structure/Container/index.d.ts +4 -3
  199. package/dist/elements/structure/DialogContainer/DialogContainer.d.ts +1 -1
  200. package/dist/elements/structure/DialogContainer/declaration.d.ts +1 -0
  201. package/dist/elements/structure/DialogContainer/declaration.mjs +5 -0
  202. package/dist/elements/structure/DialogContainer/index.d.ts +2 -1
  203. package/dist/elements/structure/FocusGroup/FocusGroup.d.ts +24 -0
  204. package/dist/elements/structure/FocusGroup/FocusGroup.mjs +27 -0
  205. package/dist/elements/structure/FocusGroup/Settings.d.ts +8 -0
  206. package/dist/elements/structure/FocusGroup/Settings.mjs +39 -0
  207. package/dist/elements/structure/FocusGroup/arrowFocus.d.ts +12 -0
  208. package/dist/elements/structure/FocusGroup/arrowFocus.mjs +30 -0
  209. package/dist/elements/structure/FocusGroup/declaration.d.ts +36 -0
  210. package/dist/elements/structure/FocusGroup/declaration.mjs +28 -0
  211. package/dist/elements/structure/FocusGroup/index.d.ts +37 -0
  212. package/dist/elements/structure/FocusGroup/index.mjs +6 -0
  213. package/dist/elements/structure/List/List.d.ts +1 -1
  214. package/dist/elements/structure/List/ListItem/ListItem.d.ts +1 -1
  215. package/dist/elements/structure/List/ListItem/index.d.ts +1 -1
  216. package/dist/elements/structure/List/declaration.d.ts +5 -0
  217. package/dist/elements/structure/List/declaration.mjs +5 -0
  218. package/dist/elements/structure/List/index.d.ts +7 -2
  219. package/dist/elements/structure/List/modes/ListControlled/ListControlled.mjs +1 -0
  220. package/dist/elements/structure/List/modes/ListControlled/ListControlledItem.d.ts +3 -1
  221. package/dist/elements/structure/List/modes/ListControlled/ListControlledItem.mjs +33 -25
  222. package/dist/elements/structure/ModalContainer/ModalContainer.d.ts +1 -1
  223. package/dist/elements/structure/ModalContainer/declaration.d.ts +2 -0
  224. package/dist/elements/structure/ModalContainer/declaration.mjs +2 -0
  225. package/dist/elements/structure/ModalContainer/index.d.ts +3 -1
  226. package/dist/elements/structure/Pagination/Pagination.d.ts +1 -1
  227. package/dist/elements/structure/Pagination/declaration.d.ts +1 -0
  228. package/dist/elements/structure/Pagination/declaration.mjs +5 -0
  229. package/dist/elements/structure/Pagination/index.d.ts +2 -1
  230. package/dist/elements/structure/TabContainer/TabContainer.d.ts +1 -1
  231. package/dist/elements/structure/TabContainer/TabContainerBody/TabContainerBody.d.ts +1 -1
  232. package/dist/elements/structure/TabContainer/TabContainerBody/index.d.ts +1 -1
  233. package/dist/elements/structure/TabContainer/TabContainerHeader/TabContainerHeader.d.ts +1 -1
  234. package/dist/elements/structure/TabContainer/TabContainerHeader/index.d.ts +1 -1
  235. package/dist/elements/structure/TabContainer/TabContainerItem/TabContainerItem.d.ts +1 -1
  236. package/dist/elements/structure/TabContainer/TabContainerItem/declaration.d.ts +6 -0
  237. package/dist/elements/structure/TabContainer/TabContainerItem/declaration.mjs +6 -0
  238. package/dist/elements/structure/TabContainer/TabContainerItem/index.d.ts +7 -1
  239. package/dist/elements/structure/TabContainer/index.d.ts +10 -4
  240. package/dist/index.d.ts +297 -52
  241. package/dist/index.mjs +41 -37
  242. package/package.json +8 -8
  243. package/dist/elements/provider/ApiContainer/helpers/isEmptyAnswer.d.ts +0 -16
  244. package/dist/elements/provider/ApiContainer/helpers/isEmptyAnswer.mjs +0 -4
@@ -20,6 +20,7 @@ import { default as LayoutContainerDeclaration } from '../internal/LayoutContain
20
20
  import { default as LoadingDeclaration } from '../internal/Loading/declaration';
21
21
  import { default as NotFoundDeclaration } from '../internal/NotFound/declaration';
22
22
  import { default as PageDeclaration } from '../internal/Page/declaration';
23
+ import { default as ChartDeclaration } from '../media/Chart/declaration';
23
24
  import { default as EmbedDeclaration } from '../media/Embed/declaration';
24
25
  import { default as FontAwesomeDeclaration } from '../media/FontAwesome/declaration';
25
26
  import { default as ImageDeclaration } from '../media/Image/declaration';
@@ -31,6 +32,7 @@ import { default as CarouselTrackDeclaration } from '../structure/Carousel/Carou
31
32
  import { default as CarouselDeclaration } from '../structure/Carousel/declaration';
32
33
  import { default as ContainerDeclaration } from '../structure/Container/declaration';
33
34
  import { default as DialogContainerDeclaration } from '../structure/DialogContainer/declaration';
35
+ import { default as FocusGroupDeclaration } from '../structure/FocusGroup/declaration';
34
36
  import { default as ListDeclaration } from '../structure/List/declaration';
35
37
  import { default as ListItemDeclaration } from '../structure/List/ListItem/declaration';
36
38
  import { default as ModalContainerDeclaration } from '../structure/ModalContainer/declaration';
@@ -49,6 +51,15 @@ export declare const elementDeclarations: {
49
51
  readonly pagination: readonly string[];
50
52
  };
51
53
  readonly sourceType: "apiContainer";
54
+ readonly publishes: {
55
+ readonly '\u2026': "The answer's own fields, as the service sends them";
56
+ readonly records: "The rows of a paged answer, every page loaded so far";
57
+ readonly isLoading: "Whether an answer (or a next page) is on its way";
58
+ readonly isEmpty: "Whether the answer holds nothing";
59
+ readonly hasError: "Whether the service could not be reached";
60
+ readonly errorMessage: "What to tell the visitor when it could not";
61
+ readonly isStale: "A refresh from the server failed: what shows is from before";
62
+ };
52
63
  readonly serverTemplates: readonly ["notFound"];
53
64
  readonly triggers: {
54
65
  readonly onApiError: {
@@ -261,12 +272,14 @@ export declare const elementDeclarations: {
261
272
  }, import('.').BlockJsxAttributes>;
262
273
  readonly Button: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
263
274
  readonly type: "button";
275
+ readonly contentAttributes: readonly ["content"];
264
276
  readonly attributeValues: {
265
277
  readonly subType: readonly string[];
266
278
  readonly contentPlacement: readonly string[];
267
279
  readonly iconPlacement: readonly string[];
268
280
  };
269
281
  readonly content: {
282
+ readonly placeholders: readonly ["content"];
270
283
  readonly attributes: {
271
284
  readonly contentPlacement: "after";
272
285
  readonly content: "Button";
@@ -296,6 +309,7 @@ export declare const elementDeclarations: {
296
309
  'padding-right': string;
297
310
  'padding-bottom': string;
298
311
  cursor: string;
312
+ 'font-family': string;
299
313
  'font-size': string;
300
314
  'line-height': string;
301
315
  'border-top-left-radius': string;
@@ -317,6 +331,7 @@ export declare const elementDeclarations: {
317
331
  'padding-right': string;
318
332
  'padding-bottom': string;
319
333
  cursor: string;
334
+ 'font-family': string;
320
335
  'font-size': string;
321
336
  'line-height': string;
322
337
  'border-top-left-radius': string;
@@ -338,6 +353,7 @@ export declare const elementDeclarations: {
338
353
  'padding-right': string;
339
354
  'padding-bottom': string;
340
355
  cursor: string;
356
+ 'font-family': string;
341
357
  'font-size': string;
342
358
  'line-height': string;
343
359
  'border-top-left-radius': string;
@@ -359,6 +375,7 @@ export declare const elementDeclarations: {
359
375
  'padding-right': string;
360
376
  'padding-bottom': string;
361
377
  cursor: string;
378
+ 'font-family': string;
362
379
  'font-size': string;
363
380
  'line-height': string;
364
381
  'border-top-left-radius': string;
@@ -374,8 +391,8 @@ export declare const elementDeclarations: {
374
391
  };
375
392
  }, Partial<{
376
393
  content?: string | undefined;
377
- label?: string | undefined;
378
394
  title?: string | undefined;
395
+ label?: string | undefined;
379
396
  disabled?: boolean | undefined;
380
397
  controls?: string | undefined;
381
398
  icon?: string | undefined;
@@ -384,10 +401,22 @@ export declare const elementDeclarations: {
384
401
  contentPlacement?: "before" | "after" | undefined;
385
402
  ariaExpanded?: boolean | undefined;
386
403
  ariaPressed?: boolean | undefined;
404
+ controlsInRow?: boolean | undefined;
387
405
  }>>;
388
406
  readonly Carousel: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
389
407
  readonly type: "carousel";
408
+ readonly contentAttributes: readonly ["label"];
390
409
  readonly sourceType: "carousel";
410
+ readonly publishes: {
411
+ readonly items: "Every item it shows, one slide each";
412
+ readonly count: "How many items it has";
413
+ readonly index: "The slide it stands at, from 0 (a `scroll` row: the first in view)";
414
+ readonly item: "The item of that slide";
415
+ readonly playing: "Whether it moves on by itself now (autoplay, not paused)";
416
+ readonly atStart: "At its first slide — a `scroll` row at the start of its box; one that loops never is";
417
+ readonly atEnd: "At its last — a `scroll` row at the end of its box, however many it shows; one that loops never is";
418
+ readonly shown: "How many slides it shows whole (1 but for a `scroll` row)";
419
+ };
391
420
  readonly triggers: {
392
421
  readonly onChange: {
393
422
  readonly action: "onChange";
@@ -405,14 +434,50 @@ export declare const elementDeclarations: {
405
434
  readonly action: "next";
406
435
  readonly title: "Next Slide";
407
436
  readonly type: "callback";
408
- readonly params: {};
437
+ readonly params: {
438
+ readonly by: {
439
+ canBind?: boolean;
440
+ label?: string;
441
+ when?: boolean | ((params: Record<string, unknown>) => boolean) | undefined;
442
+ credentialProvider?: import('@plitzi/sdk-shared').SpaceCredentialProvider;
443
+ required?: boolean;
444
+ } & {
445
+ type: "select";
446
+ defaultValue?: string;
447
+ options: {
448
+ label: string;
449
+ value: string;
450
+ }[] | ((params: Record<string, unknown>) => {
451
+ label: string;
452
+ value: string;
453
+ }[]);
454
+ };
455
+ };
409
456
  readonly preview: {};
410
457
  };
411
458
  readonly previous: {
412
459
  readonly action: "previous";
413
460
  readonly title: "Previous Slide";
414
461
  readonly type: "callback";
415
- readonly params: {};
462
+ readonly params: {
463
+ readonly by: {
464
+ canBind?: boolean;
465
+ label?: string;
466
+ when?: boolean | ((params: Record<string, unknown>) => boolean) | undefined;
467
+ credentialProvider?: import('@plitzi/sdk-shared').SpaceCredentialProvider;
468
+ required?: boolean;
469
+ } & {
470
+ type: "select";
471
+ defaultValue?: string;
472
+ options: {
473
+ label: string;
474
+ value: string;
475
+ }[] | ((params: Record<string, unknown>) => {
476
+ label: string;
477
+ value: string;
478
+ }[]);
479
+ };
480
+ };
416
481
  readonly preview: {};
417
482
  };
418
483
  readonly goTo: {
@@ -521,6 +586,14 @@ export declare const elementDeclarations: {
521
586
  readonly subType: readonly string[];
522
587
  };
523
588
  readonly sourceType: "channel";
589
+ readonly publishes: {
590
+ readonly connected: "Whether the channel is connected now";
591
+ readonly me: "This visitor's own member id";
592
+ readonly members: "Who is on the channel now";
593
+ readonly messages: "What was said on it since the page opened";
594
+ readonly last: "The last of them, or null";
595
+ readonly retained: "What the channel keeps for whoever joins";
596
+ };
524
597
  readonly triggers: {
525
598
  readonly onMessage: {
526
599
  readonly action: "onMessage";
@@ -534,6 +607,7 @@ export declare const elementDeclarations: {
534
607
  readonly user: "";
535
608
  readonly at: "";
536
609
  readonly echo: false;
610
+ readonly replayed: false;
537
611
  };
538
612
  };
539
613
  readonly onJoin: {
@@ -658,9 +732,10 @@ export declare const elementDeclarations: {
658
732
  };
659
733
  };
660
734
  }, Partial<{
661
- label?: string | undefined;
662
735
  title?: string | undefined;
663
- subType?: "div" | "header" | "footer" | "nav" | "main" | "section" | "article" | "aside" | "address" | "figure" | "dl" | "dt" | "dd" | "li" | "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | "p" | "span" | undefined;
736
+ label?: string | undefined;
737
+ open?: boolean | undefined;
738
+ 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;
664
739
  live?: "polite" | "assertive" | "" | undefined;
665
740
  decorative?: boolean | undefined;
666
741
  }>>;
@@ -698,6 +773,7 @@ export declare const elementDeclarations: {
698
773
  }, import('.').CustomAttributes>;
699
774
  readonly DialogContainer: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
700
775
  readonly type: "dialogContainer";
776
+ readonly contentAttributes: readonly ["headerLabel", "acceptButtonLabel", "rejectButtonLabel"];
701
777
  readonly sourceType: "dialogContainer";
702
778
  readonly triggers: {
703
779
  readonly onDialogAccept: {
@@ -963,10 +1039,70 @@ export declare const elementDeclarations: {
963
1039
  acceptButtonLabelLoading?: string | undefined;
964
1040
  rejectButtonLabel?: string | undefined;
965
1041
  }>>;
1042
+ readonly FocusGroup: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
1043
+ readonly type: "focusGroup";
1044
+ readonly attributeValues: {
1045
+ readonly subType: readonly string[];
1046
+ };
1047
+ readonly content: {
1048
+ readonly attributes: {
1049
+ readonly subType: "div";
1050
+ };
1051
+ readonly definition: {
1052
+ readonly label: "Focus Group";
1053
+ readonly description: string;
1054
+ readonly items: [];
1055
+ };
1056
+ readonly market: {
1057
+ readonly category: "structure";
1058
+ readonly icon: "fa-solid fa-arrows-up-down";
1059
+ };
1060
+ readonly defaultStyle: {
1061
+ readonly style: {
1062
+ readonly base: {
1063
+ readonly default: {};
1064
+ };
1065
+ };
1066
+ readonly subTypes: {};
1067
+ };
1068
+ };
1069
+ }, Partial<{
1070
+ label?: string | undefined;
1071
+ subType?: "div" | "nav" | "section" | undefined;
1072
+ }>>;
966
1073
  readonly Dropdown: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
967
1074
  readonly type: "dropdown";
968
1075
  readonly attributeValues: {
969
1076
  readonly popupPlacement: readonly string[];
1077
+ readonly popupWidth: readonly string[];
1078
+ };
1079
+ readonly callbacks: {
1080
+ readonly openDropdown: {
1081
+ readonly action: "openDropdown";
1082
+ readonly title: "Open Dropdown";
1083
+ readonly type: "callback";
1084
+ readonly params: {};
1085
+ readonly preview: {};
1086
+ };
1087
+ readonly closeDropdown: {
1088
+ readonly action: "closeDropdown";
1089
+ readonly title: "Close Dropdown";
1090
+ readonly type: "callback";
1091
+ readonly params: {};
1092
+ readonly preview: {};
1093
+ };
1094
+ readonly toggleDropdown: {
1095
+ readonly action: "toggleDropdown";
1096
+ readonly title: "Toggle Dropdown";
1097
+ readonly type: "callback";
1098
+ readonly params: {};
1099
+ readonly preview: {};
1100
+ };
1101
+ };
1102
+ readonly marks: {
1103
+ readonly 'aria-expanded': "on its trigger while the popup is open — what a class’s `expanded` state lights";
1104
+ readonly '.popup-container--no-visible': "on its dropdownPopup while closed";
1105
+ 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";
970
1106
  };
971
1107
  readonly content: {
972
1108
  readonly attributes: {
@@ -977,6 +1113,7 @@ export declare const elementDeclarations: {
977
1113
  readonly closeOnClickPopup: true;
978
1114
  readonly containerTopOffset: 5;
979
1115
  readonly containerLeftOffset: 5;
1116
+ readonly popupWidth: "content";
980
1117
  readonly disabled: false;
981
1118
  };
982
1119
  readonly definition: {
@@ -1023,6 +1160,7 @@ export declare const elementDeclarations: {
1023
1160
  closeOnClickBackground?: boolean | undefined;
1024
1161
  containerTopOffset?: number | undefined;
1025
1162
  containerLeftOffset?: number | undefined;
1163
+ popupWidth?: "content" | "trigger" | undefined;
1026
1164
  }>>;
1027
1165
  readonly DropdownPopup: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
1028
1166
  readonly type: "dropdownPopup";
@@ -1075,6 +1213,7 @@ export declare const elementDeclarations: {
1075
1213
  }, unknown>;
1076
1214
  readonly Embed: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
1077
1215
  readonly type: "embed";
1216
+ readonly contentAttributes: readonly ["src", "title"];
1078
1217
  readonly content: {
1079
1218
  readonly attributes: {
1080
1219
  readonly src: "";
@@ -1152,6 +1291,11 @@ export declare const elementDeclarations: {
1152
1291
  readonly method: readonly string[];
1153
1292
  };
1154
1293
  readonly sourceType: "apiContainer";
1294
+ readonly publishes: {
1295
+ readonly values: "Each field's value, by its name";
1296
+ readonly errors: "Each field's error, by its name — none while it is valid";
1297
+ 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)";
1298
+ };
1155
1299
  readonly triggers: {
1156
1300
  readonly onSubmit: {
1157
1301
  readonly action: "onSubmit";
@@ -1164,6 +1308,16 @@ export declare const elementDeclarations: {
1164
1308
  readonly method: "";
1165
1309
  };
1166
1310
  };
1311
+ readonly onInvalid: {
1312
+ readonly action: "onInvalid";
1313
+ readonly title: "On Form Refused";
1314
+ readonly type: "trigger";
1315
+ readonly params: {};
1316
+ readonly preview: {
1317
+ readonly errors: {};
1318
+ readonly values: {};
1319
+ };
1320
+ };
1167
1321
  };
1168
1322
  readonly callbacks: {
1169
1323
  readonly performReset: {
@@ -1220,7 +1374,7 @@ export declare const elementDeclarations: {
1220
1374
  };
1221
1375
  readonly definition: {
1222
1376
  readonly label: "Form";
1223
- readonly description: "A <form> that groups form controls and handles submission; wire its submit through an interaction flow.";
1377
+ 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`).";
1224
1378
  readonly items: [];
1225
1379
  };
1226
1380
  readonly market: {
@@ -1245,8 +1399,9 @@ export declare const elementDeclarations: {
1245
1399
  }>>;
1246
1400
  readonly FormControl: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
1247
1401
  readonly type: "formControl";
1402
+ readonly contentAttributes: readonly ["label", "placeholder", "options", "requiredMessage", "minLengthMessage", "maxLengthMessage", "minMessage", "maxMessage", "formatMessage", "patternMessage", "matchesMessage"];
1248
1403
  readonly attributeValues: {
1249
- readonly subType: readonly string[];
1404
+ readonly subType: readonly ["text", "number", "email", "password", "search", "url", "tel", "date", "time", "checkbox", "switch", "select", "textarea", "hidden", "color", "file"];
1250
1405
  };
1251
1406
  readonly triggers: {
1252
1407
  readonly onChange: {
@@ -1261,12 +1416,14 @@ export declare const elementDeclarations: {
1261
1416
  };
1262
1417
  };
1263
1418
  readonly content: {
1419
+ readonly placeholders: readonly ["label"];
1264
1420
  readonly attributes: {
1265
1421
  readonly subType: "text";
1266
1422
  readonly name: "";
1267
1423
  readonly label: "Label";
1268
1424
  readonly hideLabel: false;
1269
1425
  readonly placeholder: "";
1426
+ readonly accept: "";
1270
1427
  readonly defaultValue: "";
1271
1428
  readonly autoComplete: true;
1272
1429
  readonly autoFocus: false;
@@ -1278,6 +1435,11 @@ export declare const elementDeclarations: {
1278
1435
  readonly minLengthMessage: "";
1279
1436
  readonly maxLength: 0;
1280
1437
  readonly maxLengthMessage: "";
1438
+ readonly min: "";
1439
+ readonly minMessage: "";
1440
+ readonly max: "";
1441
+ readonly maxMessage: "";
1442
+ readonly step: "";
1281
1443
  readonly formatMessage: "";
1282
1444
  readonly pattern: "";
1283
1445
  readonly patternMessage: "";
@@ -1784,6 +1946,49 @@ export declare const elementDeclarations: {
1784
1946
  };
1785
1947
  };
1786
1948
  };
1949
+ readonly file: {
1950
+ name: string;
1951
+ displayMode: "desktop";
1952
+ style: {
1953
+ label: {
1954
+ default: {
1955
+ 'margin-bottom': string;
1956
+ display: string;
1957
+ cursor: string;
1958
+ 'font-weight': string;
1959
+ 'font-size': string;
1960
+ 'line-height': string;
1961
+ color: string;
1962
+ 'user-select': string;
1963
+ };
1964
+ };
1965
+ requiredMark: {
1966
+ default: {
1967
+ color: string;
1968
+ 'margin-left': string;
1969
+ };
1970
+ };
1971
+ error: {
1972
+ default: {
1973
+ display: string;
1974
+ color: string;
1975
+ 'margin-top': string;
1976
+ };
1977
+ };
1978
+ icon?: {
1979
+ default: Record<string, string>;
1980
+ } | undefined;
1981
+ field?: {
1982
+ default: Record<string, string>;
1983
+ } | undefined;
1984
+ base: {
1985
+ default: {};
1986
+ };
1987
+ input: {
1988
+ default: Record<string, string>;
1989
+ };
1990
+ };
1991
+ };
1787
1992
  readonly textarea: {
1788
1993
  name: string;
1789
1994
  displayMode: "desktop";
@@ -1983,10 +2188,12 @@ export declare const elementDeclarations: {
1983
2188
  }, import('.').FormControlAttributes>;
1984
2189
  readonly Heading: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
1985
2190
  readonly type: "heading";
2191
+ readonly contentAttributes: readonly ["content"];
1986
2192
  readonly attributeValues: {
1987
2193
  readonly subType: readonly string[];
1988
2194
  };
1989
2195
  readonly content: {
2196
+ readonly placeholders: readonly ["content"];
1990
2197
  readonly attributes: {
1991
2198
  readonly content: "Heading";
1992
2199
  readonly subType: "h1";
@@ -2109,6 +2316,7 @@ export declare const elementDeclarations: {
2109
2316
  }>>;
2110
2317
  readonly Image: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
2111
2318
  readonly type: "image";
2319
+ readonly contentAttributes: readonly ["src", "alt"];
2112
2320
  readonly attributeValues: {
2113
2321
  readonly fetchPriority: readonly string[];
2114
2322
  readonly loadMode: readonly string[];
@@ -2143,9 +2351,9 @@ export declare const elementDeclarations: {
2143
2351
  };
2144
2352
  };
2145
2353
  }, Partial<{
2354
+ width?: number | undefined;
2146
2355
  resize?: boolean | undefined;
2147
2356
  height?: number | undefined;
2148
- width?: number | undefined;
2149
2357
  fetchPriority?: "high" | "low" | "auto" | undefined;
2150
2358
  sizes?: string | undefined;
2151
2359
  src?: string | undefined;
@@ -2190,6 +2398,7 @@ export declare const elementDeclarations: {
2190
2398
  }>>;
2191
2399
  readonly Link: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
2192
2400
  readonly type: "link";
2401
+ readonly contentAttributes: readonly ["content", "href", "label"];
2193
2402
  readonly attributeValues: {
2194
2403
  readonly mode: readonly string[];
2195
2404
  readonly target: readonly string[];
@@ -2257,6 +2466,11 @@ export declare const elementDeclarations: {
2257
2466
  readonly source: readonly string[];
2258
2467
  };
2259
2468
  readonly sourceType: "list";
2469
+ readonly publishes: {
2470
+ readonly items: "Every row it draws, as its items give them";
2471
+ readonly item: "Inside a row: that row's item";
2472
+ readonly index: "Inside a row: its place, from 0";
2473
+ };
2260
2474
  readonly content: {
2261
2475
  readonly attributes: {
2262
2476
  readonly items: readonly [];
@@ -2371,7 +2585,9 @@ export declare const elementDeclarations: {
2371
2585
  }, unknown>;
2372
2586
  readonly Markdown: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
2373
2587
  readonly type: "markdown";
2588
+ readonly contentAttributes: readonly ["content"];
2374
2589
  readonly content: {
2590
+ readonly placeholders: readonly ["content"];
2375
2591
  readonly attributes: {
2376
2592
  readonly content: "Markdown";
2377
2593
  readonly headingLinks: true;
@@ -2428,6 +2644,7 @@ export declare const elementDeclarations: {
2428
2644
  }>>;
2429
2645
  readonly ModalContainer: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
2430
2646
  readonly type: "modalContainer";
2647
+ readonly contentAttributes: readonly ["title"];
2431
2648
  readonly sourceType: "modalContainer";
2432
2649
  readonly triggers: {
2433
2650
  readonly onModalOpen: {
@@ -2476,6 +2693,7 @@ export declare const elementDeclarations: {
2476
2693
  };
2477
2694
  };
2478
2695
  readonly content: {
2696
+ readonly placeholders: readonly ["title"];
2479
2697
  readonly attributes: {
2480
2698
  readonly title: "Modal Header";
2481
2699
  readonly autoHideAfterClick: true;
@@ -2649,9 +2867,11 @@ export declare const elementDeclarations: {
2649
2867
  content?: string | undefined | undefined;
2650
2868
  style?: import('react').CSSProperties | undefined;
2651
2869
  color?: string | undefined | undefined;
2652
- slot?: string | undefined | undefined;
2653
2870
  title?: string | undefined | undefined;
2871
+ property?: string | undefined | undefined;
2872
+ slot?: string | undefined | undefined;
2654
2873
  defaultValue?: string | number | readonly string[] | undefined;
2874
+ dir?: string | undefined | undefined;
2655
2875
  hidden?: boolean | undefined | undefined;
2656
2876
  onScroll?: import('react').UIEventHandler<"span"> | undefined;
2657
2877
  onLoad?: import('react').ReactEventHandler<"span"> | undefined;
@@ -2890,7 +3110,6 @@ export declare const elementDeclarations: {
2890
3110
  autoFocus?: boolean | undefined | undefined;
2891
3111
  contentEditable?: "inherit" | (boolean | "true" | "false") | "plaintext-only" | undefined;
2892
3112
  contextMenu?: string | undefined | undefined;
2893
- dir?: string | undefined | undefined;
2894
3113
  draggable?: (boolean | "true" | "false") | undefined;
2895
3114
  enterKeyHint?: "enter" | "done" | "go" | "next" | "previous" | "search" | "send" | undefined | undefined;
2896
3115
  spellCheck?: (boolean | "true" | "false") | undefined;
@@ -2900,7 +3119,6 @@ export declare const elementDeclarations: {
2900
3119
  datatype?: string | undefined | undefined;
2901
3120
  inlist?: any;
2902
3121
  prefix?: string | undefined | undefined;
2903
- property?: string | undefined | undefined;
2904
3122
  rel?: string | undefined | undefined;
2905
3123
  resource?: string | undefined | undefined;
2906
3124
  rev?: string | undefined | undefined;
@@ -2955,9 +3173,11 @@ export declare const elementDeclarations: {
2955
3173
  }, unknown>;
2956
3174
  readonly Page: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
2957
3175
  readonly type: "page";
2958
- readonly serverTemplates: readonly ["seoPageTitle", "seoPageDescription", "notFound"];
3176
+ readonly contentAttributes: readonly ["seoPageTitle", "seoPageDescription"];
3177
+ readonly serverTemplates: readonly ["seoPageTitle", "seoPageDescription", "seoImage", "seoImageAlt", "notFound"];
2959
3178
  readonly attributeValues: {
2960
3179
  readonly documentScroll: readonly ["locked", "noBounce"];
3180
+ 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"];
2961
3181
  };
2962
3182
  readonly triggers: {
2963
3183
  readonly onPageLoad: {
@@ -3024,12 +3244,18 @@ export declare const elementDeclarations: {
3024
3244
  seoEnabled?: boolean | undefined;
3025
3245
  seoPageTitle?: string | undefined;
3026
3246
  seoPageDescription?: string | undefined;
3247
+ seoRobots?: string | undefined;
3248
+ seoStructuredData?: Record<string, unknown>[] | undefined;
3249
+ seoImage?: string | undefined;
3250
+ seoImageAlt?: string | undefined;
3251
+ seoType?: import('@plitzi/sdk-shared/schema').OgType | undefined;
3027
3252
  documentScroll?: (import('.').DocumentScroll | "") | undefined;
3028
3253
  withheld?: import('@plitzi/sdk-shared/schema').PageWithheld | undefined;
3029
3254
  access?: import('@plitzi/sdk-shared/schema').PageAccess | undefined;
3030
3255
  }>>;
3031
3256
  readonly Pagination: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
3032
3257
  readonly type: "pagination";
3258
+ readonly contentAttributes: readonly ["previousLabel", "nextLabel", "loadMoreLabel"];
3033
3259
  readonly attributeValues: {
3034
3260
  readonly mode: readonly string[];
3035
3261
  readonly target: readonly string[];
@@ -3098,7 +3324,9 @@ export declare const elementDeclarations: {
3098
3324
  }>>;
3099
3325
  readonly Paragraph: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
3100
3326
  readonly type: "paragraph";
3327
+ readonly contentAttributes: readonly ["content"];
3101
3328
  readonly content: {
3329
+ readonly placeholders: readonly ["content"];
3102
3330
  readonly attributes: {
3103
3331
  readonly content: "Paragraph";
3104
3332
  };
@@ -3179,6 +3407,7 @@ export declare const elementDeclarations: {
3179
3407
  }>>;
3180
3408
  readonly RichText: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
3181
3409
  readonly type: "richText";
3410
+ readonly contentAttributes: readonly ["content"];
3182
3411
  readonly attributeValues: {
3183
3412
  readonly format: readonly string[];
3184
3413
  };
@@ -3240,8 +3469,148 @@ export declare const elementDeclarations: {
3240
3469
  format?: "html" | "markdown" | "text" | undefined;
3241
3470
  mediaBaseUrl?: string | undefined;
3242
3471
  }>>;
3472
+ readonly Chart: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
3473
+ readonly type: "chart";
3474
+ readonly contentAttributes: readonly ["label", "emptyText"];
3475
+ readonly attributeValues: {
3476
+ readonly kind: readonly string[];
3477
+ readonly format: readonly string[];
3478
+ };
3479
+ readonly content: {
3480
+ readonly attributes: {
3481
+ readonly kind: "bar";
3482
+ readonly labelField: "label";
3483
+ readonly valueField: "value";
3484
+ readonly label: "";
3485
+ readonly format: "number";
3486
+ readonly showValues: false;
3487
+ readonly height: 240;
3488
+ readonly emptyText: "No data yet";
3489
+ };
3490
+ readonly definition: {
3491
+ readonly label: "Chart";
3492
+ readonly description: string;
3493
+ readonly items: [];
3494
+ readonly styleSelectors: {
3495
+ readonly bar: "";
3496
+ readonly line: "";
3497
+ readonly area: "";
3498
+ readonly point: "";
3499
+ readonly slice: "";
3500
+ readonly hole: "";
3501
+ readonly grid: "";
3502
+ readonly axisLabel: "";
3503
+ readonly valueLabel: "";
3504
+ readonly legend: "";
3505
+ readonly empty: "";
3506
+ };
3507
+ };
3508
+ readonly market: {
3509
+ readonly category: "media";
3510
+ readonly icon: "fa-solid fa-chart-column";
3511
+ };
3512
+ readonly defaultStyle: {
3513
+ readonly name: "Chart";
3514
+ readonly style: {
3515
+ readonly base: {
3516
+ readonly default: {
3517
+ readonly display: "block";
3518
+ readonly position: "relative";
3519
+ readonly width: "100%";
3520
+ readonly margin: "0px";
3521
+ };
3522
+ };
3523
+ readonly bar: {
3524
+ readonly default: {
3525
+ readonly fill: "currentColor";
3526
+ };
3527
+ };
3528
+ readonly line: {
3529
+ readonly default: {
3530
+ readonly fill: "none";
3531
+ readonly stroke: "currentColor";
3532
+ readonly 'stroke-width': "2.5px";
3533
+ };
3534
+ };
3535
+ readonly area: {
3536
+ readonly default: {
3537
+ readonly fill: "currentColor";
3538
+ readonly 'fill-opacity': "0.15";
3539
+ };
3540
+ };
3541
+ readonly point: {
3542
+ readonly default: {
3543
+ readonly fill: "currentColor";
3544
+ };
3545
+ };
3546
+ readonly slice: {
3547
+ readonly default: {
3548
+ readonly fill: "currentColor";
3549
+ };
3550
+ };
3551
+ readonly hole: {
3552
+ readonly default: {
3553
+ readonly fill: "var(--plitzi-chart-hole, transparent)";
3554
+ };
3555
+ };
3556
+ readonly grid: {
3557
+ readonly default: {
3558
+ readonly stroke: "currentColor";
3559
+ readonly 'stroke-opacity': "0.15";
3560
+ readonly 'stroke-width': "1px";
3561
+ };
3562
+ };
3563
+ readonly axisLabel: {
3564
+ readonly default: {
3565
+ readonly 'fill-opacity': "0.7";
3566
+ readonly fill: string;
3567
+ readonly 'font-size': string;
3568
+ readonly 'font-family': string;
3569
+ };
3570
+ };
3571
+ readonly valueLabel: {
3572
+ readonly default: {
3573
+ fill: string;
3574
+ 'font-size': string;
3575
+ 'font-family': string;
3576
+ };
3577
+ };
3578
+ readonly legend: {
3579
+ readonly default: {
3580
+ readonly display: "flex";
3581
+ readonly 'flex-wrap': "wrap";
3582
+ readonly 'column-gap': "16px";
3583
+ readonly 'row-gap': "4px";
3584
+ readonly 'list-style-type': "none";
3585
+ readonly 'padding-left': "0px";
3586
+ readonly 'margin-top': "12px";
3587
+ readonly 'font-size': "14px";
3588
+ };
3589
+ };
3590
+ readonly empty: {
3591
+ readonly default: {
3592
+ readonly 'font-size': "14px";
3593
+ readonly opacity: "0.7";
3594
+ };
3595
+ };
3596
+ };
3597
+ };
3598
+ };
3599
+ }, Partial<{
3600
+ format?: "number" | "percent" | "compact" | undefined;
3601
+ kind?: "bar" | "line" | "area" | "donut" | undefined;
3602
+ label?: string | undefined;
3603
+ max?: number | undefined;
3604
+ items?: unknown;
3605
+ height?: number | undefined;
3606
+ labelField?: string | undefined;
3607
+ valueField?: string | undefined;
3608
+ showValues?: boolean | undefined;
3609
+ emptyText?: string | undefined;
3610
+ }>>;
3243
3611
  readonly Svg: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
3244
3612
  readonly type: "svg";
3613
+ readonly contentAttributes: readonly ["label"];
3245
3614
  readonly content: {
3246
3615
  readonly attributes: {
3247
3616
  readonly content: "";
@@ -3365,6 +3734,12 @@ export declare const elementDeclarations: {
3365
3734
  }, unknown>;
3366
3735
  readonly TabContainerItem: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
3367
3736
  readonly type: "tabContainerItem";
3737
+ readonly marks: {
3738
+ readonly 'role="tab"': "in the header, with `aria-controls` its panel; in the body it is `role=\"tabpanel\"`, `hidden` while not on show";
3739
+ readonly 'aria-selected': "on the open tab — what a class’s `current` state lights (`states: { current: { … } }`); `active` is the press, never the open tab";
3740
+ readonly '.active': "on the open tab too, the class the component adds";
3741
+ readonly tabindex: "roving: 0 on the open tab, -1 on the rest — the arrow keys move between them";
3742
+ };
3368
3743
  readonly content: {
3369
3744
  readonly attributes: {};
3370
3745
  readonly definition: {
@@ -3391,7 +3766,9 @@ export declare const elementDeclarations: {
3391
3766
  }, unknown>;
3392
3767
  readonly Text: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
3393
3768
  readonly type: "text";
3769
+ readonly contentAttributes: readonly ["content"];
3394
3770
  readonly content: {
3771
+ readonly placeholders: readonly ["content"];
3395
3772
  readonly attributes: {
3396
3773
  readonly content: "Text";
3397
3774
  };
@@ -3420,6 +3797,7 @@ export declare const elementDeclarations: {
3420
3797
  }>>;
3421
3798
  readonly ThemeToggle: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
3422
3799
  readonly type: "themeToggle";
3800
+ readonly contentAttributes: readonly ["lightLabel", "darkLabel", "systemLabel"];
3423
3801
  readonly attributeValues: {
3424
3802
  readonly subType: readonly string[];
3425
3803
  };
@@ -3521,6 +3899,7 @@ export declare const elementDeclarations: {
3521
3899
  }>>;
3522
3900
  readonly Video: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
3523
3901
  readonly type: "video";
3902
+ readonly contentAttributes: readonly ["src"];
3524
3903
  readonly content: {
3525
3904
  readonly attributes: {
3526
3905
  readonly src: "";
@@ -3558,12 +3937,19 @@ export declare const elementDeclarations: {
3558
3937
  }>>;
3559
3938
  };
3560
3939
  export type ElementDeclarationName = keyof typeof elementDeclarations;
3561
- export { ApiContainerDeclaration, BlockHtmlDeclaration, BlockJsxDeclaration, ButtonDeclaration, CarouselDeclaration, CarouselTrackDeclaration, ChannelDeclaration, ContainerDeclaration, CustomDeclaration, DialogContainerDeclaration, DropdownDeclaration, DropdownPopupDeclaration, EmbedDeclaration, FontAwesomeDeclaration, FormControlDeclaration, FormDeclaration, HeadingDeclaration, ImageDeclaration, LayoutContainerDeclaration, LinkDeclaration, ListDeclaration, ListItemDeclaration, LoadingDeclaration, MarkdownDeclaration, ModalContainerDeclaration, NodeHtmlDeclaration, NotFoundDeclaration, PageDeclaration, PaginationDeclaration, ParagraphDeclaration, PlitziSdkDeclaration, ReferenceDeclaration, RichTextDeclaration, SvgDeclaration, TabContainerBodyDeclaration, TabContainerDeclaration, TabContainerHeaderDeclaration, TabContainerItemDeclaration, TextDeclaration, ThemeToggleDeclaration, VideoDeclaration };
3940
+ export { ApiContainerDeclaration, BlockHtmlDeclaration, BlockJsxDeclaration, ButtonDeclaration, CarouselDeclaration, CarouselTrackDeclaration, ChannelDeclaration, ContainerDeclaration, CustomDeclaration, DialogContainerDeclaration, FocusGroupDeclaration, DropdownDeclaration, DropdownPopupDeclaration, EmbedDeclaration, FontAwesomeDeclaration, FormControlDeclaration, FormDeclaration, HeadingDeclaration, ImageDeclaration, LayoutContainerDeclaration, LinkDeclaration, ListDeclaration, ListItemDeclaration, LoadingDeclaration, MarkdownDeclaration, ModalContainerDeclaration, NodeHtmlDeclaration, NotFoundDeclaration, PageDeclaration, PaginationDeclaration, ParagraphDeclaration, PlitziSdkDeclaration, ReferenceDeclaration, RichTextDeclaration, ChartDeclaration, SvgDeclaration, TabContainerBodyDeclaration, TabContainerDeclaration, TabContainerHeaderDeclaration, TabContainerItemDeclaration, TextDeclaration, ThemeToggleDeclaration, VideoDeclaration };
3562
3941
  /**
3563
3942
  * Each type's `serverTemplates`, by the type a document names: the attributes the page server evaluates against a
3564
3943
  * context of its own, which the element runtime leaves as written and the authoring lint holds to that context.
3565
3944
  */
3566
3945
  export declare const serverTemplatesByType: Readonly<Record<string, readonly string[]>>;
3946
+ /**
3947
+ * Each type's content attributes (`contentAttributes`): what a role that edits the content and not the design
3948
+ * may change on an element of that type — the server's gate and the builder's content form read this one map.
3949
+ */
3950
+ export declare const contentAttributesByType: Readonly<Record<string, readonly string[]>>;
3951
+ /** The content attributes of `type`; none for a type no built-in element declares — it has nothing to edit there. */
3952
+ export declare const contentAttributesOf: (type: string) => readonly string[];
3567
3953
  export { interactionBasicTriggers } from '../../Element/helpers/elementConstants';
3568
3954
  export { DOCUMENT_SCROLLS, isDocumentScroll } from '../internal/Page/declaration';
3569
3955
  export type { DocumentScroll } from '../internal/Page/declaration';