@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
@@ -0,0 +1,107 @@
1
+ import { elementDeclaration as e, valuesOf as t } from "@plitzi/sdk-shared/authoring";
2
+ //#region src/elements/media/Chart/declaration.ts
3
+ var n = {
4
+ fill: "currentColor",
5
+ "font-size": "12px",
6
+ "font-family": "inherit"
7
+ }, r = e()({
8
+ type: "chart",
9
+ contentAttributes: ["label", "emptyText"],
10
+ attributeValues: {
11
+ kind: t()([
12
+ "bar",
13
+ "line",
14
+ "area",
15
+ "donut"
16
+ ]),
17
+ format: t()([
18
+ "number",
19
+ "percent",
20
+ "compact"
21
+ ])
22
+ },
23
+ content: {
24
+ attributes: {
25
+ kind: "bar",
26
+ labelField: "label",
27
+ valueField: "value",
28
+ label: "",
29
+ format: "number",
30
+ showValues: !1,
31
+ height: 240,
32
+ emptyText: "No data yet"
33
+ },
34
+ definition: {
35
+ label: "Chart",
36
+ description: "Draws rows as bars, a line, a filled line or a donut — SVG of its own, nothing to load. Bind its `items` to the rows, as a list is (`bindTemplate('items', source, '{{ … }}', { returns: 'value' })`): records read by `labelField` and `valueField`, or plain numbers. It takes its box’s width and its `height`, and the colour of the text around it — its parts (`bar`, `line`, `area`, `point`, `slice`, `grid`, `axisLabel`, `valueLabel`) restyle it. Name it with `label`: a screen reader reads that, and the rows as a table drawn with it.",
37
+ items: [],
38
+ styleSelectors: {
39
+ bar: "",
40
+ line: "",
41
+ area: "",
42
+ point: "",
43
+ slice: "",
44
+ hole: "",
45
+ grid: "",
46
+ axisLabel: "",
47
+ valueLabel: "",
48
+ legend: "",
49
+ empty: ""
50
+ }
51
+ },
52
+ market: {
53
+ category: "media",
54
+ icon: "fa-solid fa-chart-column"
55
+ },
56
+ defaultStyle: {
57
+ name: "Chart",
58
+ style: {
59
+ base: { default: {
60
+ display: "block",
61
+ position: "relative",
62
+ width: "100%",
63
+ margin: "0px"
64
+ } },
65
+ bar: { default: { fill: "currentColor" } },
66
+ line: { default: {
67
+ fill: "none",
68
+ stroke: "currentColor",
69
+ "stroke-width": "2.5px"
70
+ } },
71
+ area: { default: {
72
+ fill: "currentColor",
73
+ "fill-opacity": "0.15"
74
+ } },
75
+ point: { default: { fill: "currentColor" } },
76
+ slice: { default: { fill: "currentColor" } },
77
+ hole: { default: { fill: "var(--plitzi-chart-hole, transparent)" } },
78
+ grid: { default: {
79
+ stroke: "currentColor",
80
+ "stroke-opacity": "0.15",
81
+ "stroke-width": "1px"
82
+ } },
83
+ axisLabel: { default: {
84
+ ...n,
85
+ "fill-opacity": "0.7"
86
+ } },
87
+ valueLabel: { default: n },
88
+ legend: { default: {
89
+ display: "flex",
90
+ "flex-wrap": "wrap",
91
+ "column-gap": "16px",
92
+ "row-gap": "4px",
93
+ "list-style-type": "none",
94
+ "padding-left": "0px",
95
+ "margin-top": "12px",
96
+ "font-size": "14px"
97
+ } },
98
+ empty: { default: {
99
+ "font-size": "14px",
100
+ opacity: "0.7"
101
+ } }
102
+ }
103
+ }
104
+ }
105
+ });
106
+ //#endregion
107
+ export { r as default };
@@ -0,0 +1,145 @@
1
+ declare const Chart: {
2
+ (props: import('../../..').WithElementProps<import('./Chart').ChartProps>): 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;
3
+ displayName: string;
4
+ } & {
5
+ readonly type: "chart";
6
+ readonly contentAttributes: readonly ["label", "emptyText"];
7
+ readonly attributeValues: {
8
+ readonly kind: readonly string[];
9
+ readonly format: readonly string[];
10
+ };
11
+ readonly content: {
12
+ readonly attributes: {
13
+ readonly kind: "bar";
14
+ readonly labelField: "label";
15
+ readonly valueField: "value";
16
+ readonly label: "";
17
+ readonly format: "number";
18
+ readonly showValues: false;
19
+ readonly height: 240;
20
+ readonly emptyText: "No data yet";
21
+ };
22
+ readonly definition: {
23
+ readonly label: "Chart";
24
+ readonly description: string;
25
+ readonly items: [];
26
+ readonly styleSelectors: {
27
+ readonly bar: "";
28
+ readonly line: "";
29
+ readonly area: "";
30
+ readonly point: "";
31
+ readonly slice: "";
32
+ readonly hole: "";
33
+ readonly grid: "";
34
+ readonly axisLabel: "";
35
+ readonly valueLabel: "";
36
+ readonly legend: "";
37
+ readonly empty: "";
38
+ };
39
+ };
40
+ readonly market: {
41
+ readonly category: "media";
42
+ readonly icon: "fa-solid fa-chart-column";
43
+ };
44
+ readonly defaultStyle: {
45
+ readonly name: "Chart";
46
+ readonly style: {
47
+ readonly base: {
48
+ readonly default: {
49
+ readonly display: "block";
50
+ readonly position: "relative";
51
+ readonly width: "100%";
52
+ readonly margin: "0px";
53
+ };
54
+ };
55
+ readonly bar: {
56
+ readonly default: {
57
+ readonly fill: "currentColor";
58
+ };
59
+ };
60
+ readonly line: {
61
+ readonly default: {
62
+ readonly fill: "none";
63
+ readonly stroke: "currentColor";
64
+ readonly 'stroke-width': "2.5px";
65
+ };
66
+ };
67
+ readonly area: {
68
+ readonly default: {
69
+ readonly fill: "currentColor";
70
+ readonly 'fill-opacity': "0.15";
71
+ };
72
+ };
73
+ readonly point: {
74
+ readonly default: {
75
+ readonly fill: "currentColor";
76
+ };
77
+ };
78
+ readonly slice: {
79
+ readonly default: {
80
+ readonly fill: "currentColor";
81
+ };
82
+ };
83
+ readonly hole: {
84
+ readonly default: {
85
+ readonly fill: "var(--plitzi-chart-hole, transparent)";
86
+ };
87
+ };
88
+ readonly grid: {
89
+ readonly default: {
90
+ readonly stroke: "currentColor";
91
+ readonly 'stroke-opacity': "0.15";
92
+ readonly 'stroke-width': "1px";
93
+ };
94
+ };
95
+ readonly axisLabel: {
96
+ readonly default: {
97
+ readonly 'fill-opacity': "0.7";
98
+ readonly fill: string;
99
+ readonly 'font-size': string;
100
+ readonly 'font-family': string;
101
+ };
102
+ };
103
+ readonly valueLabel: {
104
+ readonly default: {
105
+ fill: string;
106
+ 'font-size': string;
107
+ 'font-family': string;
108
+ };
109
+ };
110
+ readonly legend: {
111
+ readonly default: {
112
+ readonly display: "flex";
113
+ readonly 'flex-wrap': "wrap";
114
+ readonly 'column-gap': "16px";
115
+ readonly 'row-gap': "4px";
116
+ readonly 'list-style-type': "none";
117
+ readonly 'padding-left': "0px";
118
+ readonly 'margin-top': "12px";
119
+ readonly 'font-size': "14px";
120
+ };
121
+ };
122
+ readonly empty: {
123
+ readonly default: {
124
+ readonly 'font-size': "14px";
125
+ readonly opacity: "0.7";
126
+ };
127
+ };
128
+ };
129
+ };
130
+ };
131
+ } & {
132
+ content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
133
+ } & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<Partial<{
134
+ format?: "number" | "percent" | "compact" | undefined;
135
+ kind?: "bar" | "line" | "area" | "donut" | undefined;
136
+ label?: string | undefined;
137
+ max?: number | undefined;
138
+ items?: unknown;
139
+ height?: number | undefined;
140
+ labelField?: string | undefined;
141
+ valueField?: string | undefined;
142
+ showValues?: boolean | undefined;
143
+ emptyText?: string | undefined;
144
+ }>>;
145
+ export default Chart;
@@ -0,0 +1,6 @@
1
+ import e from "./declaration.mjs";
2
+ import t from "./Chart.mjs";
3
+ //#region src/elements/media/Chart/index.ts
4
+ var n = Object.assign(t, e);
5
+ //#endregion
6
+ export { n as default };
@@ -15,7 +15,7 @@ export type EmbedProps = {
15
15
  };
16
16
  declare const Embed: ({ ref, src, title, loading, allow, sandbox, referrerPolicy, className }: EmbedProps) => import('react').JSX.Element;
17
17
  declare const _default: {
18
- (props: import('../../..').WithElementProps<EmbedProps>): import('react').JSX.Element;
18
+ (props: import('../../..').WithElementProps<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;
19
19
  displayName: string;
20
20
  };
21
21
  export default _default;
@@ -1,29 +1,33 @@
1
1
  import e from "../../../Element/hocs/withElement.mjs";
2
- import { RootElement as t } from "../../../Element/RootElement.mjs";
3
- import { embeddableSrc as n } from "./embeddableSrc.mjs";
4
- import { usePlitzi as r } from "@plitzi/sdk-shared/hooks";
5
- import { jsx as i, jsxs as a } from "react/jsx-runtime";
6
- import o from "clsx";
2
+ import t from "../../../Element/hooks/useElement.mjs";
3
+ import { RootElement as n } from "../../../Element/RootElement.mjs";
4
+ import { embeddableSrc as r } from "./embeddableSrc.mjs";
5
+ import { useState as i } from "react";
6
+ import { usePlitzi as a } from "@plitzi/sdk-shared/hooks";
7
+ import { jsx as o, jsxs as s } from "react/jsx-runtime";
8
+ import c from "clsx";
7
9
  //#region src/elements/media/Embed/Embed.tsx
8
- var s = ({ ref: e, src: s = "", title: c = "", loading: l = "lazy", allow: u = "", sandbox: d, referrerPolicy: f = "strict-origin-when-cross-origin", className: p = "" }) => {
9
- let { settings: { previewMode: m } } = r(), h = n(s), g = {
10
- src: h,
11
- title: c,
12
- loading: l,
13
- referrerPolicy: f,
14
- ...u ? { allow: u } : {},
15
- ...d === void 0 ? {} : { sandbox: d }
10
+ var l = ({ ref: e, src: l = "", title: u = "", loading: d = "lazy", allow: f = "", sandbox: p, referrerPolicy: m = "strict-origin-when-cross-origin", className: h = "" }) => {
11
+ let { settings: { previewMode: g } } = a(), { visible: _ } = t(), [v, y] = i(_);
12
+ _ && !v && y(!0);
13
+ let b = r(l), x = {
14
+ src: v || !g ? b : void 0,
15
+ title: u,
16
+ loading: d,
17
+ referrerPolicy: m,
18
+ ...f ? { allow: f } : {},
19
+ ...p === void 0 ? {} : { sandbox: p }
16
20
  };
17
- return m ? /* @__PURE__ */ i(t, {
21
+ return g ? /* @__PURE__ */ o(n, {
18
22
  tag: "iframe",
19
23
  ref: e,
20
- className: o("plitzi-component__embed", p),
21
- ...g
22
- }) : /* @__PURE__ */ a(t, {
24
+ className: c("plitzi-component__embed", h),
25
+ ...x
26
+ }) : /* @__PURE__ */ s(n, {
23
27
  ref: e,
24
- className: o("plitzi-component__embed embed--edit-mode", p),
25
- children: [h && /* @__PURE__ */ i("iframe", { ...g }), /* @__PURE__ */ i("div", { className: "embed__cover" })]
28
+ className: c("plitzi-component__embed embed--edit-mode", h),
29
+ children: [b && /* @__PURE__ */ o("iframe", { ...x }), /* @__PURE__ */ o("div", { className: "embed__cover" })]
26
30
  });
27
- }, c = e(s);
31
+ }, u = e(l);
28
32
  //#endregion
29
- export { s as Embed, c as default };
33
+ export { l as Embed, u as default };
@@ -4,6 +4,7 @@ import { AuthorableAttributes } from '@plitzi/sdk-shared/authoring';
4
4
  export type EmbedAttributes = AuthorableAttributes<EmbedProps>;
5
5
  declare const declaration: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
6
6
  readonly type: "embed";
7
+ readonly contentAttributes: readonly ["src", "title"];
7
8
  readonly content: {
8
9
  readonly attributes: {
9
10
  readonly src: "";
@@ -2,6 +2,7 @@ import { elementDeclaration as e } from "@plitzi/sdk-shared/authoring";
2
2
  //#region src/elements/media/Embed/declaration.ts
3
3
  var t = e()({
4
4
  type: "embed",
5
+ contentAttributes: ["src", "title"],
5
6
  content: {
6
7
  attributes: {
7
8
  src: "",
@@ -1,8 +1,9 @@
1
1
  declare const Embed: {
2
- (props: import('../../..').WithElementProps<import('./Embed').EmbedProps>): import('react').JSX.Element;
2
+ (props: import('../../..').WithElementProps<import('./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;
3
3
  displayName: string;
4
4
  } & {
5
5
  readonly type: "embed";
6
+ readonly contentAttributes: readonly ["src", "title"];
6
7
  readonly content: {
7
8
  readonly attributes: {
8
9
  readonly src: "";
@@ -15,7 +15,7 @@ export type FontAwesomeProps = {
15
15
  };
16
16
  declare const FontAwesome: ({ ref, className, icon, size, iconAnimation, label }: FontAwesomeProps) => import('react').JSX.Element;
17
17
  declare const _default: {
18
- (props: import('../../..').WithElementProps<FontAwesomeProps>): import('react').JSX.Element;
18
+ (props: import('../../..').WithElementProps<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;
19
19
  displayName: string;
20
20
  };
21
21
  export default _default;
@@ -1,5 +1,5 @@
1
1
  declare const FontAwesome: {
2
- (props: import('../../..').WithElementProps<import('./FontAwesome').FontAwesomeProps>): import('react').JSX.Element;
2
+ (props: import('../../..').WithElementProps<import('./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;
3
3
  displayName: string;
4
4
  } & {
5
5
  readonly type: "fontAwesome";
@@ -36,7 +36,7 @@ export type ImageProps = {
36
36
  };
37
37
  declare const Image: ({ ref, className, src: srcProp, alt: altProp, decorative, fetchPriority, loadMode, sizes, width, height, resize }: ImageProps) => import('react').JSX.Element;
38
38
  declare const _default: {
39
- (props: import('../../..').WithElementProps<ImageProps>): import('react').JSX.Element;
39
+ (props: import('../../..').WithElementProps<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;
40
40
  displayName: string;
41
41
  };
42
42
  export default _default;
@@ -1,47 +1,48 @@
1
1
  import e from "../../../Element/hocs/withElement.mjs";
2
2
  import { RootElement as t } from "../../../Element/RootElement.mjs";
3
- import { getFallbackSVGBase64 as n } from "./ImageHelper.mjs";
4
- import { useCallback as r, useState as i } from "react";
5
- import { usePlitzi as a } from "@plitzi/sdk-shared/hooks";
6
- import { useCommonStore as o } from "@plitzi/sdk-shared/store";
7
- import { imageSrcSet as s, imageUrl as c, isResizableImage as l } from "@plitzi/sdk-shared/helpers";
8
- import { jsx as u } from "react/jsx-runtime";
9
- import d from "clsx";
3
+ import { emptyMark as n } from "../../../Element/hooks/useEditableContent.mjs";
4
+ import { getFallbackSVGBase64 as r } from "./ImageHelper.mjs";
5
+ import { useCallback as i, useState as a } from "react";
6
+ import { usePlitzi as o } from "@plitzi/sdk-shared/hooks";
7
+ import { useCommonStore as s } from "@plitzi/sdk-shared/store";
8
+ import { imageSrcSet as c, imageUrl as l, isResizableImage as u } from "@plitzi/sdk-shared/helpers";
9
+ import { jsx as d } from "react/jsx-runtime";
10
+ import f from "clsx";
10
11
  //#region src/elements/media/Image/Image.tsx
11
- var f = 1280, p = n(), m = ({ ref: e, className: n = "", src: m, alt: h = "", decorative: g = !1, fetchPriority: _ = "auto", loadMode: v, sizes: y = "100vw", width: b, height: x, resize: S = !0 }) => {
12
- let { settings: { previewMode: C } } = a(), w = m || p, T = g ? "" : h, [E, D] = i(void 0), O = E === w, k = r(() => D(w), [w]), A = O ? p : w, j = O ? { "data-plitzi-failed": w } : {}, M = v === "auto" ? void 0 : v, [N] = o("images.endpoint"), P = C && N && S && !O && l(w) ? {
13
- src: c(N, w, f),
14
- srcSet: s(N, w),
15
- sizes: y
16
- } : { src: A }, F = {
17
- ...b ? { width: b } : {},
18
- ...x ? { height: x } : {}
12
+ var p = 1280, m = r(), h = ({ ref: e, className: r = "", src: h, alt: g = "", decorative: _ = !1, fetchPriority: v = "auto", loadMode: y, sizes: b = "100vw", width: x, height: S, resize: C = !0 }) => {
13
+ let { settings: { previewMode: w } } = o(), T = h || m, E = _ ? "" : g, [D, O] = a(void 0), k = D === T, A = i(() => O(T), [T]), j = k ? m : T, M = k ? { "data-plitzi-failed": T } : n(w === !0 && !h), N = y === "auto" ? void 0 : y, [P] = s("images.endpoint"), F = w && P && C && !k && u(T) ? {
14
+ src: l(P, T, p),
15
+ srcSet: c(P, T),
16
+ sizes: b
17
+ } : { src: j }, I = {
18
+ ...x ? { width: x } : {},
19
+ ...S ? { height: S } : {}
19
20
  };
20
- return C ? /* @__PURE__ */ u(t, {
21
+ return w ? /* @__PURE__ */ d(t, {
21
22
  tag: "img",
22
23
  draggable: !1,
23
24
  ref: e,
24
- className: d("plitzi-component__image", n),
25
- ...P,
25
+ className: f("plitzi-component__image", r),
26
26
  ...F,
27
- alt: T,
28
- loading: M,
29
- fetchPriority: _,
30
- onError: O ? void 0 : k,
31
- ...j
32
- }) : /* @__PURE__ */ u(t, {
27
+ ...I,
28
+ alt: E,
29
+ loading: N,
30
+ fetchPriority: v,
31
+ onError: k ? void 0 : A,
32
+ ...M
33
+ }) : /* @__PURE__ */ d(t, {
33
34
  ref: e,
34
- className: d("plitzi-component__image image--edit-mode", n),
35
- children: /* @__PURE__ */ u("img", {
35
+ className: f("plitzi-component__image image--edit-mode", r),
36
+ children: /* @__PURE__ */ d("img", {
36
37
  draggable: !1,
37
- src: A,
38
- alt: T,
39
- loading: M,
40
- fetchPriority: _,
41
- onError: O ? void 0 : k,
42
- ...j
38
+ src: j,
39
+ alt: E,
40
+ loading: N,
41
+ fetchPriority: v,
42
+ onError: k ? void 0 : A,
43
+ ...M
43
44
  })
44
45
  });
45
- }, h = e(m);
46
+ }, g = e(h);
46
47
  //#endregion
47
- export { m as Image, h as default };
48
+ export { h as Image, g as default };
@@ -4,6 +4,7 @@ import { AuthorableAttributes } from '@plitzi/sdk-shared/authoring';
4
4
  export type ImageAttributes = AuthorableAttributes<ImageProps>;
5
5
  declare const declaration: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
6
6
  readonly type: "image";
7
+ readonly contentAttributes: readonly ["src", "alt"];
7
8
  readonly attributeValues: {
8
9
  readonly fetchPriority: readonly string[];
9
10
  readonly loadMode: readonly string[];
@@ -38,9 +39,9 @@ declare const declaration: import('@plitzi/sdk-shared/authoring').DeclaredElemen
38
39
  };
39
40
  };
40
41
  }, Partial<{
42
+ width?: number | undefined;
41
43
  resize?: boolean | undefined;
42
44
  height?: number | undefined;
43
- width?: number | undefined;
44
45
  fetchPriority?: "high" | "low" | "auto" | undefined;
45
46
  sizes?: string | undefined;
46
47
  src?: string | undefined;
@@ -2,6 +2,7 @@ import { elementDeclaration as e, valuesOf as t } from "@plitzi/sdk-shared/autho
2
2
  //#region src/elements/media/Image/declaration.ts
3
3
  var n = e()({
4
4
  type: "image",
5
+ contentAttributes: ["src", "alt"],
5
6
  attributeValues: {
6
7
  fetchPriority: t()([
7
8
  "high",
@@ -1,8 +1,9 @@
1
1
  declare const Image: {
2
- (props: import('../../..').WithElementProps<import('./Image').ImageProps>): import('react').JSX.Element;
2
+ (props: import('../../..').WithElementProps<import('./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;
3
3
  displayName: string;
4
4
  } & {
5
5
  readonly type: "image";
6
+ readonly contentAttributes: readonly ["src", "alt"];
6
7
  readonly attributeValues: {
7
8
  readonly fetchPriority: readonly string[];
8
9
  readonly loadMode: readonly string[];
@@ -39,9 +40,9 @@ declare const Image: {
39
40
  } & {
40
41
  content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
41
42
  } & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<Partial<{
43
+ width?: number | undefined;
42
44
  resize?: boolean | undefined;
43
45
  height?: number | undefined;
44
- width?: number | undefined;
45
46
  fetchPriority?: "high" | "low" | "auto" | undefined;
46
47
  sizes?: string | undefined;
47
48
  src?: string | undefined;
@@ -9,7 +9,7 @@ export type SvgProps = {
9
9
  };
10
10
  declare const Svg: ({ ref, content, label, className }: SvgProps) => import('react').JSX.Element;
11
11
  declare const _default: {
12
- (props: import('../../..').WithElementProps<SvgProps>): import('react').JSX.Element;
12
+ (props: import('../../..').WithElementProps<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;
13
13
  displayName: string;
14
14
  };
15
15
  export default _default;
@@ -4,6 +4,7 @@ import { AuthorableAttributes } from '@plitzi/sdk-shared/authoring';
4
4
  export type SvgAttributes = AuthorableAttributes<SvgProps>;
5
5
  declare const declaration: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
6
6
  readonly type: "svg";
7
+ readonly contentAttributes: readonly ["label"];
7
8
  readonly content: {
8
9
  readonly attributes: {
9
10
  readonly content: "";
@@ -2,6 +2,7 @@ import { elementDeclaration as e } from "@plitzi/sdk-shared/authoring";
2
2
  //#region src/elements/media/Svg/declaration.ts
3
3
  var t = e()({
4
4
  type: "svg",
5
+ contentAttributes: ["label"],
5
6
  content: {
6
7
  attributes: {
7
8
  content: "",
@@ -1,8 +1,9 @@
1
1
  declare const Svg: {
2
- (props: import('../../..').WithElementProps<import('./Svg').SvgProps>): import('react').JSX.Element;
2
+ (props: import('../../..').WithElementProps<import('./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;
3
3
  displayName: string;
4
4
  } & {
5
5
  readonly type: "svg";
6
+ readonly contentAttributes: readonly ["label"];
6
7
  readonly content: {
7
8
  readonly attributes: {
8
9
  readonly content: "";
@@ -10,7 +10,7 @@ export type VideoProps = {
10
10
  };
11
11
  declare const Video: ({ ref, src, autoPlay, playsInline, loop, muted, className }: VideoProps) => import('react').JSX.Element;
12
12
  declare const _default: {
13
- (props: import('../../..').WithElementProps<VideoProps>): import('react').JSX.Element;
13
+ (props: import('../../..').WithElementProps<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;
14
14
  displayName: string;
15
15
  };
16
16
  export default _default;
@@ -4,6 +4,7 @@ import { AuthorableAttributes } from '@plitzi/sdk-shared/authoring';
4
4
  export type VideoAttributes = AuthorableAttributes<VideoProps>;
5
5
  declare const declaration: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
6
6
  readonly type: "video";
7
+ readonly contentAttributes: readonly ["src"];
7
8
  readonly content: {
8
9
  readonly attributes: {
9
10
  readonly src: "";
@@ -2,6 +2,7 @@ import { elementDeclaration as e } from "@plitzi/sdk-shared/authoring";
2
2
  //#region src/elements/media/Video/declaration.ts
3
3
  var t = e()({
4
4
  type: "video",
5
+ contentAttributes: ["src"],
5
6
  content: {
6
7
  attributes: {
7
8
  src: "",
@@ -1,8 +1,9 @@
1
1
  declare const Video: {
2
- (props: import('../../..').WithElementProps<import('./Video').VideoProps>): import('react').JSX.Element;
2
+ (props: import('../../..').WithElementProps<import('./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;
3
3
  displayName: string;
4
4
  } & {
5
5
  readonly type: "video";
6
+ readonly contentAttributes: readonly ["src"];
6
7
  readonly content: {
7
8
  readonly attributes: {
8
9
  readonly src: "";
@@ -92,7 +92,7 @@ export type ApiContainerProps = {
92
92
  };
93
93
  declare const ApiContainer: ({ ref, className, children, query, method, accessToken, when, headers, mockData, subType, credentials, singleRecord, pagination, pageParam, renderWhileLoading, loadingSlot, cache, staleTime, gcTime, refreshSeconds, connector, action, input }: ApiContainerProps) => import('react').JSX.Element;
94
94
  declare const _default: {
95
- (props: import('../../..').WithElementProps<ApiContainerProps>): import('react').JSX.Element;
95
+ (props: import('../../..').WithElementProps<ApiContainerProps>): string | number | bigint | boolean | Iterable<ReactNode> | Promise<string | number | bigint | boolean | import('react').ReactPortal | import('react').ReactElement<unknown, string | import('react').JSXElementConstructor<any>> | Iterable<ReactNode> | null | undefined> | import('react').JSX.Element | null | undefined;
96
96
  displayName: string;
97
97
  };
98
98
  export default _default;