@plitzi/sdk-elements 0.38.15 → 0.38.17

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 (256) hide show
  1. package/CHANGELOG.md +118 -0
  2. package/dist/Component/ComponentProvider.mjs +3 -3
  3. package/dist/Element/ElementContext.mjs +1 -1
  4. package/dist/Element/ElementParentContext.mjs +1 -1
  5. package/dist/Element/JsxManager.mjs +2 -2
  6. package/dist/Element/LayoutBody.mjs +1 -1
  7. package/dist/Element/PluginManager.mjs +2 -2
  8. package/dist/Element/PluginRemote.mjs +4 -4
  9. package/dist/Element/ReplicaProvider.mjs +1 -1
  10. package/dist/Element/RootElement.mjs +4 -4
  11. package/dist/Element/helpers/declaredAttributes.mjs +1 -1
  12. package/dist/Element/helpers/getInteractions.mjs +4 -5
  13. package/dist/Element/hocs/withElement.mjs +2 -2
  14. package/dist/Element/hooks/useEditableContent.mjs +2 -2
  15. package/dist/Element/hooks/useElementDataSource.mjs +1 -1
  16. package/dist/Element/hooks/useElementInternal.mjs +2 -2
  17. package/dist/Element/hooks/useElementVisible.mjs +1 -1
  18. package/dist/Element/hooks/useInternalClassName.mjs +1 -1
  19. package/dist/Element/hooks/useInternalItems.mjs +2 -2
  20. package/dist/Element/hooks/useIntervalTriggers.mjs +1 -1
  21. package/dist/Element/hooks/useKeyTriggers.mjs +1 -1
  22. package/dist/Element/hooks/useLayoutChain.d.ts +1 -1
  23. package/dist/Element/hooks/useLayoutChain.mjs +4 -4
  24. package/dist/Element/hooks/usePluginTrigger.mjs +2 -2
  25. package/dist/Element/hooks/useRootElementInteractions.mjs +26 -27
  26. package/dist/Element/hooks/useRscData.d.ts +1 -1
  27. package/dist/Element/hooks/useRscData.mjs +1 -2
  28. package/dist/Element/hooks/useScrollInteractions.mjs +20 -21
  29. package/dist/builder/index.d.ts +5 -0
  30. package/dist/builder/index.mjs +1 -0
  31. package/dist/canvas/useAnimationFrame.mjs +1 -1
  32. package/dist/components/ElementAdvancedEditor.mjs +30 -30
  33. package/dist/components/IconField/index.mjs +1 -2
  34. package/dist/components/IconPicker/index.mjs +1 -2
  35. package/dist/components/MarkdownDocument/components/CodeBlock/CodeBlock.mjs +13 -13
  36. package/dist/dataSource/GlobalSources.mjs +44 -45
  37. package/dist/dataSource/getSourcesByElementId.mjs +1 -1
  38. package/dist/dataSource/index.d.ts +3 -0
  39. package/dist/dataSource/index.mjs +6 -3
  40. package/dist/dataSource/pathFields.mjs +1 -1
  41. package/dist/dataSource/sourceStore.mjs +1 -1
  42. package/dist/dataSource/useRegisterSource.d.ts +9 -0
  43. package/dist/dataSource/useRegisterSource.mjs +40 -0
  44. package/dist/dataSource/useResolvedVariables.d.ts +12 -0
  45. package/dist/dataSource/useResolvedVariables.mjs +27 -0
  46. package/dist/elements/advanced/BlockHtml/BlockHtml.d.ts +1 -1
  47. package/dist/elements/advanced/BlockHtml/BlockHtml.mjs +1 -1
  48. package/dist/elements/advanced/BlockHtml/declaration.d.ts +2 -2
  49. package/dist/elements/advanced/BlockHtml/declaration.mjs +1 -1
  50. package/dist/elements/advanced/BlockHtml/index.d.ts +3 -3
  51. package/dist/elements/advanced/BlockJsx/BlockJsx.d.ts +1 -1
  52. package/dist/elements/advanced/BlockJsx/Settings.mjs +25 -29
  53. package/dist/elements/advanced/BlockJsx/declaration.d.ts +2 -2
  54. package/dist/elements/advanced/BlockJsx/declaration.mjs +1 -1
  55. package/dist/elements/advanced/BlockJsx/index.d.ts +3 -3
  56. package/dist/elements/advanced/Custom/Custom.d.ts +1 -1
  57. package/dist/elements/advanced/Custom/Custom.mjs +2 -2
  58. package/dist/elements/advanced/Custom/Settings.mjs +3 -6
  59. package/dist/elements/advanced/Custom/declaration.d.ts +2 -2
  60. package/dist/elements/advanced/Custom/declaration.mjs +1 -1
  61. package/dist/elements/advanced/Custom/index.d.ts +3 -3
  62. package/dist/elements/advanced/NodeHtml/NodeHtml.d.ts +1 -1
  63. package/dist/elements/advanced/NodeHtml/declaration.d.ts +2 -2
  64. package/dist/elements/advanced/NodeHtml/declaration.mjs +1 -1
  65. package/dist/elements/advanced/NodeHtml/index.d.ts +3 -3
  66. package/dist/elements/advanced/PlitziSdk/declaration.d.ts +1 -1
  67. package/dist/elements/advanced/PlitziSdk/declaration.mjs +1 -1
  68. package/dist/elements/advanced/Reference/Reference.d.ts +1 -1
  69. package/dist/elements/advanced/Reference/Reference.mjs +3 -3
  70. package/dist/elements/advanced/Reference/declaration.d.ts +2 -2
  71. package/dist/elements/advanced/Reference/declaration.mjs +1 -1
  72. package/dist/elements/advanced/Reference/index.d.ts +3 -3
  73. package/dist/elements/basic/Button/Button.d.ts +1 -1
  74. package/dist/elements/basic/Button/Button.mjs +1 -1
  75. package/dist/elements/basic/Button/declaration.d.ts +3 -3
  76. package/dist/elements/basic/Button/declaration.mjs +1 -1
  77. package/dist/elements/basic/Button/index.d.ts +4 -4
  78. package/dist/elements/basic/Dropdown/Dropdown.d.ts +1 -1
  79. package/dist/elements/basic/Dropdown/Dropdown.mjs +12 -12
  80. package/dist/elements/basic/Dropdown/DropdownPopup/DropdownPopup.d.ts +1 -1
  81. package/dist/elements/basic/Dropdown/DropdownPopup/declaration.d.ts +2 -2
  82. package/dist/elements/basic/Dropdown/DropdownPopup/declaration.mjs +1 -1
  83. package/dist/elements/basic/Dropdown/DropdownPopup/index.d.ts +3 -3
  84. package/dist/elements/basic/Dropdown/declaration.d.ts +2 -2
  85. package/dist/elements/basic/Dropdown/declaration.mjs +1 -1
  86. package/dist/elements/basic/Dropdown/index.d.ts +5 -5
  87. package/dist/elements/basic/Dropdown/useDropdown.mjs +1 -5
  88. package/dist/elements/basic/Dropdown/useDropdownTrigger.mjs +1 -7
  89. package/dist/elements/basic/Heading/Heading.d.ts +1 -1
  90. package/dist/elements/basic/Heading/declaration.d.ts +2 -2
  91. package/dist/elements/basic/Heading/declaration.mjs +1 -1
  92. package/dist/elements/basic/Heading/index.d.ts +3 -3
  93. package/dist/elements/basic/Link/Link.d.ts +1 -1
  94. package/dist/elements/basic/Link/Link.mjs +2 -2
  95. package/dist/elements/basic/Link/Settings.mjs +2 -2
  96. package/dist/elements/basic/Link/declaration.d.ts +3 -3
  97. package/dist/elements/basic/Link/declaration.mjs +1 -1
  98. package/dist/elements/basic/Link/index.d.ts +4 -4
  99. package/dist/elements/basic/Markdown/Markdown.d.ts +1 -1
  100. package/dist/elements/basic/Markdown/Markdown.mjs +8 -8
  101. package/dist/elements/basic/Markdown/declaration.d.ts +2 -2
  102. package/dist/elements/basic/Markdown/declaration.mjs +1 -1
  103. package/dist/elements/basic/Markdown/hooks/useMarkdownClassNames.mjs +1 -1
  104. package/dist/elements/basic/Markdown/index.d.ts +3 -3
  105. package/dist/elements/basic/Paragraph/Paragraph.d.ts +1 -1
  106. package/dist/elements/basic/Paragraph/declaration.d.ts +2 -2
  107. package/dist/elements/basic/Paragraph/declaration.mjs +1 -1
  108. package/dist/elements/basic/Paragraph/index.d.ts +3 -3
  109. package/dist/elements/basic/RichText/RichText.d.ts +1 -1
  110. package/dist/elements/basic/RichText/RichText.mjs +14 -14
  111. package/dist/elements/basic/RichText/declaration.d.ts +2 -2
  112. package/dist/elements/basic/RichText/declaration.mjs +1 -1
  113. package/dist/elements/basic/RichText/index.d.ts +3 -3
  114. package/dist/elements/basic/Text/Text.d.ts +1 -1
  115. package/dist/elements/basic/Text/declaration.d.ts +2 -2
  116. package/dist/elements/basic/Text/declaration.mjs +1 -1
  117. package/dist/elements/basic/Text/index.d.ts +3 -3
  118. package/dist/elements/basic/ThemeToggle/ThemeToggle.d.ts +1 -1
  119. package/dist/elements/basic/ThemeToggle/ThemeToggle.mjs +3 -3
  120. package/dist/elements/basic/ThemeToggle/declaration.d.ts +2 -2
  121. package/dist/elements/basic/ThemeToggle/declaration.mjs +1 -1
  122. package/dist/elements/basic/ThemeToggle/index.d.ts +3 -3
  123. package/dist/elements/declarations/index.d.ts +66 -52
  124. package/dist/elements/declarations/index.mjs +45 -42
  125. package/dist/elements/form/Form/Form.d.ts +1 -1
  126. package/dist/elements/form/Form/Form.mjs +37 -37
  127. package/dist/elements/form/Form/declaration.d.ts +2 -2
  128. package/dist/elements/form/Form/declaration.mjs +1 -1
  129. package/dist/elements/form/Form/index.d.ts +1 -1
  130. package/dist/elements/form/FormControl/FormControl.d.ts +1 -1
  131. package/dist/elements/form/FormControl/FormControl.mjs +2 -2
  132. package/dist/elements/form/FormControl/Settings.mjs +1 -5
  133. package/dist/elements/form/FormControl/declaration.d.ts +2 -2
  134. package/dist/elements/form/FormControl/declaration.mjs +1 -1
  135. package/dist/elements/form/FormControl/hocs/withFieldValue.mjs +12 -16
  136. package/dist/elements/form/FormControl/index.d.ts +1 -1
  137. package/dist/elements/internal/LayoutContainer/LayoutContainer.d.ts +1 -1
  138. package/dist/elements/internal/LayoutContainer/LayoutContainer.mjs +1 -1
  139. package/dist/elements/internal/LayoutContainer/declaration.d.ts +2 -2
  140. package/dist/elements/internal/LayoutContainer/declaration.mjs +1 -1
  141. package/dist/elements/internal/LayoutContainer/index.d.ts +3 -3
  142. package/dist/elements/internal/LayoutPicker/LayoutPicker.mjs +7 -7
  143. package/dist/elements/internal/Loading/Loading.d.ts +1 -1
  144. package/dist/elements/internal/Loading/declaration.d.ts +2 -2
  145. package/dist/elements/internal/Loading/declaration.mjs +1 -1
  146. package/dist/elements/internal/Loading/index.d.ts +3 -3
  147. package/dist/elements/internal/NotFound/NotFound.d.ts +1 -1
  148. package/dist/elements/internal/NotFound/NotFound.mjs +1 -1
  149. package/dist/elements/internal/NotFound/declaration.d.ts +2 -2
  150. package/dist/elements/internal/NotFound/declaration.mjs +1 -1
  151. package/dist/elements/internal/NotFound/index.d.ts +3 -3
  152. package/dist/elements/internal/Page/Page.d.ts +1 -1
  153. package/dist/elements/internal/Page/Page.mjs +2 -2
  154. package/dist/elements/internal/Page/PageHead.mjs +7 -7
  155. package/dist/elements/internal/Page/Settings.mjs +1 -1
  156. package/dist/elements/internal/Page/declaration.d.ts +2 -2
  157. package/dist/elements/internal/Page/declaration.mjs +1 -1
  158. package/dist/elements/internal/Page/index.d.ts +3 -3
  159. package/dist/elements/media/Embed/Embed.d.ts +1 -1
  160. package/dist/elements/media/Embed/Embed.mjs +1 -1
  161. package/dist/elements/media/Embed/declaration.d.ts +2 -2
  162. package/dist/elements/media/Embed/declaration.mjs +1 -1
  163. package/dist/elements/media/Embed/index.d.ts +3 -3
  164. package/dist/elements/media/FontAwesome/FontAwesome.d.ts +1 -1
  165. package/dist/elements/media/FontAwesome/declaration.d.ts +2 -2
  166. package/dist/elements/media/FontAwesome/declaration.mjs +1 -1
  167. package/dist/elements/media/FontAwesome/index.d.ts +3 -3
  168. package/dist/elements/media/Image/Image.d.ts +1 -1
  169. package/dist/elements/media/Image/Image.mjs +12 -12
  170. package/dist/elements/media/Image/declaration.d.ts +2 -2
  171. package/dist/elements/media/Image/declaration.mjs +1 -1
  172. package/dist/elements/media/Image/index.d.ts +3 -3
  173. package/dist/elements/media/Svg/Svg.d.ts +1 -1
  174. package/dist/elements/media/Svg/Svg.mjs +11 -11
  175. package/dist/elements/media/Svg/declaration.d.ts +2 -2
  176. package/dist/elements/media/Svg/declaration.mjs +1 -1
  177. package/dist/elements/media/Svg/index.d.ts +3 -3
  178. package/dist/elements/media/Video/Video.d.ts +1 -1
  179. package/dist/elements/media/Video/Video.mjs +1 -1
  180. package/dist/elements/media/Video/declaration.d.ts +2 -2
  181. package/dist/elements/media/Video/declaration.mjs +1 -1
  182. package/dist/elements/media/Video/index.d.ts +3 -3
  183. package/dist/elements/provider/ApiContainer/ApiContainer.d.ts +1 -1
  184. package/dist/elements/provider/ApiContainer/ApiContainer.mjs +40 -48
  185. package/dist/elements/provider/ApiContainer/Settings.mjs +6 -10
  186. package/dist/elements/provider/ApiContainer/declaration.d.ts +2 -2
  187. package/dist/elements/provider/ApiContainer/declaration.mjs +1 -1
  188. package/dist/elements/provider/ApiContainer/helpers/serverMock.mjs +1 -1
  189. package/dist/elements/provider/ApiContainer/hooks/useApi.mjs +5 -5
  190. package/dist/elements/provider/ApiContainer/hooks/useProviderPagination.mjs +3 -12
  191. package/dist/elements/provider/ApiContainer/index.d.ts +3 -3
  192. package/dist/elements/provider/Channel/Channel.d.ts +1 -1
  193. package/dist/elements/provider/Channel/Channel.mjs +24 -24
  194. package/dist/elements/provider/Channel/declaration.d.ts +2 -2
  195. package/dist/elements/provider/Channel/declaration.mjs +1 -1
  196. package/dist/elements/provider/Channel/index.d.ts +3 -3
  197. package/dist/elements/settings.mjs +84 -85
  198. package/dist/elements/structure/Carousel/Carousel.d.ts +1 -1
  199. package/dist/elements/structure/Carousel/Carousel.mjs +27 -39
  200. package/dist/elements/structure/Carousel/CarouselTrack/CarouselTrack.d.ts +1 -1
  201. package/dist/elements/structure/Carousel/CarouselTrack/components/CarouselSlide/index.mjs +1 -2
  202. package/dist/elements/structure/Carousel/CarouselTrack/components/MarqueeTrack/index.mjs +1 -2
  203. package/dist/elements/structure/Carousel/CarouselTrack/components/ScrollTrack/index.mjs +1 -2
  204. package/dist/elements/structure/Carousel/CarouselTrack/declaration.d.ts +2 -2
  205. package/dist/elements/structure/Carousel/CarouselTrack/declaration.mjs +1 -1
  206. package/dist/elements/structure/Carousel/CarouselTrack/index.d.ts +3 -3
  207. package/dist/elements/structure/Carousel/declaration.d.ts +2 -2
  208. package/dist/elements/structure/Carousel/declaration.mjs +1 -1
  209. package/dist/elements/structure/Carousel/index.d.ts +5 -5
  210. package/dist/elements/structure/Container/Container.d.ts +1 -1
  211. package/dist/elements/structure/Container/declaration.d.ts +2 -2
  212. package/dist/elements/structure/Container/declaration.mjs +1 -1
  213. package/dist/elements/structure/Container/index.d.ts +3 -3
  214. package/dist/elements/structure/DialogContainer/DialogContainer.d.ts +1 -1
  215. package/dist/elements/structure/DialogContainer/declaration.d.ts +2 -2
  216. package/dist/elements/structure/DialogContainer/declaration.mjs +1 -1
  217. package/dist/elements/structure/DialogContainer/index.d.ts +3 -3
  218. package/dist/elements/structure/List/List.d.ts +1 -1
  219. package/dist/elements/structure/List/ListItem/ListItem.d.ts +1 -1
  220. package/dist/elements/structure/List/ListItem/declaration.d.ts +2 -2
  221. package/dist/elements/structure/List/ListItem/declaration.mjs +1 -1
  222. package/dist/elements/structure/List/ListItem/index.d.ts +3 -3
  223. package/dist/elements/structure/List/declaration.d.ts +2 -2
  224. package/dist/elements/structure/List/declaration.mjs +1 -1
  225. package/dist/elements/structure/List/index.d.ts +5 -5
  226. package/dist/elements/structure/List/modes/ListControlled/ListControlled.mjs +23 -23
  227. package/dist/elements/structure/ModalContainer/ModalContainer.d.ts +1 -1
  228. package/dist/elements/structure/ModalContainer/declaration.d.ts +2 -2
  229. package/dist/elements/structure/ModalContainer/declaration.mjs +1 -1
  230. package/dist/elements/structure/ModalContainer/index.d.ts +3 -3
  231. package/dist/elements/structure/Overlay/metadataOf.mjs +1 -1
  232. package/dist/elements/structure/Overlay/useOverlay.mjs +19 -19
  233. package/dist/elements/structure/Pagination/Pagination.d.ts +1 -1
  234. package/dist/elements/structure/Pagination/Pagination.mjs +3 -3
  235. package/dist/elements/structure/Pagination/declaration.d.ts +2 -2
  236. package/dist/elements/structure/Pagination/declaration.mjs +1 -1
  237. package/dist/elements/structure/Pagination/index.d.ts +3 -3
  238. package/dist/elements/structure/TabContainer/TabContainer.d.ts +1 -1
  239. package/dist/elements/structure/TabContainer/TabContainerBody/TabContainerBody.d.ts +1 -1
  240. package/dist/elements/structure/TabContainer/TabContainerBody/declaration.d.ts +2 -2
  241. package/dist/elements/structure/TabContainer/TabContainerBody/declaration.mjs +1 -1
  242. package/dist/elements/structure/TabContainer/TabContainerBody/index.d.ts +3 -3
  243. package/dist/elements/structure/TabContainer/TabContainerHeader/TabContainerHeader.d.ts +1 -1
  244. package/dist/elements/structure/TabContainer/TabContainerHeader/declaration.d.ts +2 -2
  245. package/dist/elements/structure/TabContainer/TabContainerHeader/declaration.mjs +1 -1
  246. package/dist/elements/structure/TabContainer/TabContainerHeader/index.d.ts +3 -3
  247. package/dist/elements/structure/TabContainer/TabContainerItem/TabContainerItem.d.ts +1 -1
  248. package/dist/elements/structure/TabContainer/TabContainerItem/declaration.d.ts +2 -2
  249. package/dist/elements/structure/TabContainer/TabContainerItem/declaration.mjs +1 -1
  250. package/dist/elements/structure/TabContainer/TabContainerItem/index.d.ts +3 -3
  251. package/dist/elements/structure/TabContainer/declaration.d.ts +2 -2
  252. package/dist/elements/structure/TabContainer/declaration.mjs +1 -1
  253. package/dist/elements/structure/TabContainer/index.d.ts +11 -11
  254. package/dist/index.d.ts +133 -121
  255. package/dist/index.mjs +85 -76
  256. package/package.json +18 -1408
@@ -3,11 +3,7 @@ import i from "@plitzi/plitzi-ui/hooks/useDidUpdateEffect";
3
3
  //#region src/elements/basic/Dropdown/useDropdown.ts
4
4
  var a = ({ ref: a, popupRef: o, open: s, placement: c = "bottom", disabled: l = !1, loading: u = !1, closeOnClickPopup: d = !0, closeOnClickOutside: f = !1, offsetX: p = 0, offsetY: m = 0, myWindow: h, onChange: g }) => {
5
5
  let [_, v] = r(s ?? !1), [y, b] = r(() => a?.current?.getBoundingClientRect()), x = n(() => h || (typeof window < "u" ? window : null), [h]), S = e(() => {
6
- if (s !== void 0) {
7
- g?.(!_, !1);
8
- return;
9
- }
10
- g?.(!_, !0), v((e) => !e);
6
+ s === void 0 ? (g?.(!_, !0), v((e) => !e)) : g?.(!_, !1);
11
7
  }, [
12
8
  g,
13
9
  _,
@@ -9,13 +9,7 @@ var r = "button, a[href], input, select, textarea, [role=\"button\"]", i = (e, t
9
9
  e && (e.setAttribute("aria-haspopup", "true"), e.setAttribute("aria-expanded", String(s)));
10
10
  }), t(() => {
11
11
  let e = o.current, t = d.current && !s;
12
- if (d.current = s, l && e) {
13
- if (t && e.contains(e.ownerDocument.activeElement)) {
14
- i(a?.current, e)?.focus({ preventScroll: !0 });
15
- return;
16
- }
17
- s && c && u.current && !e.contains(e.ownerDocument.activeElement) && (u.current = !1, e.querySelector(r)?.focus({ preventScroll: !0 }));
18
- }
12
+ d.current = s, l && e && (t && e.contains(e.ownerDocument.activeElement) ? i(a?.current, e)?.focus({ preventScroll: !0 }) : s && c && u.current && !e.contains(e.ownerDocument.activeElement) && (u.current = !1, e.querySelector(r)?.focus({ preventScroll: !0 })));
19
13
  }, [
20
14
  l,
21
15
  s,
@@ -7,7 +7,7 @@ export type HeadingProps = {
7
7
  };
8
8
  declare const Heading: ({ ref, className, content, subType }: HeadingProps) => import('react').JSX.Element;
9
9
  declare const _default: {
10
- (props: import('../../../Element/hocs/withElement').WithElementProps<HeadingProps>): import('react').JSX.Element;
10
+ (props: import('../../..').WithElementProps<HeadingProps>): import('react').JSX.Element;
11
11
  displayName: string;
12
12
  };
13
13
  export default _default;
@@ -1,8 +1,8 @@
1
1
  import { HeadingProps } from './Heading';
2
- import { AuthorableAttributes } from '@plitzi/sdk-shared/authoring/declare';
2
+ import { AuthorableAttributes } from '@plitzi/sdk-shared/authoring';
3
3
  /** What this element can be authored with — its component's own props, minus what the runtime supplies. */
4
4
  export type HeadingAttributes = AuthorableAttributes<HeadingProps>;
5
- declare const declaration: import('@plitzi/sdk-shared/authoring/declare').DeclaredElement<{
5
+ declare const declaration: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
6
6
  readonly type: "heading";
7
7
  readonly attributeValues: {
8
8
  readonly subType: readonly string[];
@@ -1,4 +1,4 @@
1
- import { elementDeclaration as e, valuesOf as t } from "@plitzi/sdk-shared/authoring/declare";
1
+ import { elementDeclaration as e, valuesOf as t } from "@plitzi/sdk-shared/authoring";
2
2
  //#region src/elements/basic/Heading/declaration.ts
3
3
  var n = e()({
4
4
  type: "heading",
@@ -1,5 +1,5 @@
1
1
  declare const Heading: {
2
- (props: import('../../../Element/hocs/withElement').WithElementProps<import('./Heading').HeadingProps>): import('react').JSX.Element;
2
+ (props: import('../../..').WithElementProps<import('./Heading').HeadingProps>): import('react').JSX.Element;
3
3
  displayName: string;
4
4
  } & {
5
5
  readonly type: "heading";
@@ -124,8 +124,8 @@ declare const Heading: {
124
124
  };
125
125
  };
126
126
  } & {
127
- content: import('@plitzi/sdk-shared/authoring/declare').ElementContentDefaults;
128
- } & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
127
+ content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
128
+ } & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<Partial<{
129
129
  content?: string | undefined;
130
130
  subType?: "h1" | "h2" | "h3" | "h4" | "h5" | "h6" | undefined;
131
131
  }>>;
@@ -41,7 +41,7 @@ export type LinkProps = {
41
41
  };
42
42
  declare const Link: ({ ref, children, className, href, target, mode, hash, label, content, contentPlacement, icon, iconPlacement, current }: LinkProps) => import('react').JSX.Element;
43
43
  declare const _default: {
44
- (props: import('../../../Element/hocs/withElement').WithElementProps<LinkProps>): import('react').JSX.Element;
44
+ (props: import('../../..').WithElementProps<LinkProps>): import('react').JSX.Element;
45
45
  displayName: string;
46
46
  };
47
47
  export default _default;
@@ -4,12 +4,12 @@ import { RootElement as n } from "../../../Element/RootElement.mjs";
4
4
  import r from "../../../Element/ElementWords.mjs";
5
5
  import { ariaCurrent as i } from "./ariaCurrent.mjs";
6
6
  import { useMemo as a } from "react";
7
- import o from "@plitzi/sdk-shared/hooks/usePlitzi";
7
+ import { usePlitzi as o } from "@plitzi/sdk-shared/hooks";
8
8
  import { useSdkStore as s } from "@plitzi/sdk-shared/store";
9
9
  import { processTwig as c } from "@plitzi/sdk-shared/helpers/twigWrapper";
10
10
  import { jsx as l } from "react/jsx-runtime";
11
11
  import u from "clsx";
12
- import { getPageFullPath as d } from "@plitzi/sdk-navigation/NavigationHelper";
12
+ import { getPageFullPath as d } from "@plitzi/sdk-navigation";
13
13
  //#region src/elements/basic/Link/Link.tsx
14
14
  var f = ({ ref: e, children: f, className: p = "", href: m = "#", target: h = "self", mode: g = "page", hash: _ = "", label: v = "", content: y = "", contentPlacement: b = "after", icon: x = "", iconPlacement: S = "before", current: C = "page" }) => {
15
15
  let { style: w, definition: { styleSelectors: T } } = t(), { settings: { previewMode: E } } = o(), [[D, O, k, A, j, M]] = s([
@@ -4,8 +4,8 @@ import { use as n, useCallback as r, useEffect as i, useMemo as a } from "react"
4
4
  import { useCommonStore as o } from "@plitzi/sdk-shared/store";
5
5
  import { get as s, pick as c } from "@plitzi/plitzi-ui/helpers";
6
6
  import { jsx as l, jsxs as u } from "react/jsx-runtime";
7
- import { getPageFullPath as d } from "@plitzi/sdk-navigation/NavigationHelper";
8
- import f from "@plitzi/sdk-shared/network/NetworkContext";
7
+ import { getPageFullPath as d } from "@plitzi/sdk-navigation";
8
+ import { NetworkContext as f } from "@plitzi/sdk-shared/network";
9
9
  import p from "@plitzi/plitzi-ui/Input";
10
10
  import m from "@plitzi/plitzi-ui/Select";
11
11
  //#region src/elements/basic/Link/Settings.tsx
@@ -1,8 +1,8 @@
1
1
  import { LinkProps } from './Link';
2
- import { AuthorableAttributes } from '@plitzi/sdk-shared/authoring/declare';
2
+ import { AuthorableAttributes } from '@plitzi/sdk-shared/authoring';
3
3
  /** What this element can be authored with — its component's own props, minus what the runtime supplies. */
4
4
  export type LinkAttributes = AuthorableAttributes<LinkProps>;
5
- declare const declaration: import('@plitzi/sdk-shared/authoring/declare').DeclaredElement<{
5
+ declare const declaration: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
6
6
  readonly type: "link";
7
7
  readonly attributeValues: {
8
8
  readonly mode: readonly string[];
@@ -60,7 +60,7 @@ declare const declaration: import('@plitzi/sdk-shared/authoring/declare').Declar
60
60
  target?: "self" | "blank" | "parent" | "top" | undefined;
61
61
  icon?: string | undefined;
62
62
  current?: "page" | "section" | undefined;
63
- iconPlacement?: import('../../../Element/ElementWords').IconPlacement | undefined;
63
+ iconPlacement?: import('../../declarations').IconPlacement | undefined;
64
64
  contentPlacement?: "before" | "after" | undefined;
65
65
  hash?: string | undefined;
66
66
  }>>;
@@ -1,4 +1,4 @@
1
- import { elementDeclaration as e, valuesOf as t } from "@plitzi/sdk-shared/authoring/declare";
1
+ import { elementDeclaration as e, valuesOf as t } from "@plitzi/sdk-shared/authoring";
2
2
  //#region src/elements/basic/Link/declaration.ts
3
3
  var n = e()({
4
4
  type: "link",
@@ -1,5 +1,5 @@
1
1
  declare const Link: {
2
- (props: import('../../../Element/hocs/withElement').WithElementProps<import('./Link').LinkProps>): import('react').JSX.Element;
2
+ (props: import('../../..').WithElementProps<import('./Link').LinkProps>): import('react').JSX.Element;
3
3
  displayName: string;
4
4
  } & {
5
5
  readonly type: "link";
@@ -52,8 +52,8 @@ declare const Link: {
52
52
  };
53
53
  };
54
54
  } & {
55
- content: import('@plitzi/sdk-shared/authoring/declare').ElementContentDefaults;
56
- } & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
55
+ content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
56
+ } & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<Partial<{
57
57
  content?: string | undefined;
58
58
  mode?: "page" | "internal" | "external" | undefined;
59
59
  href?: string | undefined;
@@ -61,7 +61,7 @@ declare const Link: {
61
61
  target?: "self" | "blank" | "parent" | "top" | undefined;
62
62
  icon?: string | undefined;
63
63
  current?: "page" | "section" | undefined;
64
- iconPlacement?: import('../../../Element/ElementWords').IconPlacement | undefined;
64
+ iconPlacement?: import('../../declarations').IconPlacement | undefined;
65
65
  contentPlacement?: "before" | "after" | undefined;
66
66
  hash?: string | undefined;
67
67
  }>>;
@@ -11,7 +11,7 @@ export type MarkdownProps = {
11
11
  };
12
12
  declare const Markdown: ({ ref, content, className, headingLinks }: MarkdownProps) => import('react').JSX.Element;
13
13
  declare const _default: {
14
- (props: import('../../../Element/hocs/withElement').WithElementProps<MarkdownProps>): import('react').JSX.Element;
14
+ (props: import('../../..').WithElementProps<MarkdownProps>): import('react').JSX.Element;
15
15
  displayName: string;
16
16
  };
17
17
  export default _default;
@@ -3,18 +3,18 @@ import t from "../../../Element/hooks/useElement.mjs";
3
3
  import { RootElement as n } from "../../../Element/RootElement.mjs";
4
4
  import r from "../../../components/MarkdownDocument/index.mjs";
5
5
  import i from "./hooks/useMarkdownClassNames.mjs";
6
- import a from "@plitzi/sdk-shared/hooks/usePlitzi";
7
- import { jsx as o } from "react/jsx-runtime";
8
- import s from "clsx";
9
- import { uniqueAnchor as c } from "@plitzi/sdk-shared/schema/anchor";
6
+ import { usePlitzi as a } from "@plitzi/sdk-shared/hooks";
7
+ import { uniqueAnchor as o } from "@plitzi/sdk-shared/schema";
8
+ import { jsx as s } from "react/jsx-runtime";
9
+ import c from "clsx";
10
10
  //#region src/elements/basic/Markdown/Markdown.tsx
11
11
  var l = ({ ref: e, content: l = "Markdown", className: u = "", headingLinks: d = !0 }) => {
12
12
  let { settings: { previewMode: f } } = a(), { definition: { styleSelectors: p } } = t(), m = i(p);
13
- return /* @__PURE__ */ o(n, {
13
+ return /* @__PURE__ */ s(n, {
14
14
  ref: e,
15
- className: s("plitzi-component__markdown", { "plitzi-component__markdown--edit-mode": !f }, u),
16
- children: /* @__PURE__ */ o(r, {
17
- headingAnchor: c,
15
+ className: c("plitzi-component__markdown", { "plitzi-component__markdown--edit-mode": !f }, u),
16
+ children: /* @__PURE__ */ s(r, {
17
+ headingAnchor: o,
18
18
  headingLinks: d,
19
19
  classNames: m,
20
20
  children: l
@@ -1,8 +1,8 @@
1
1
  import { MarkdownProps } from './Markdown';
2
- import { AuthorableAttributes } from '@plitzi/sdk-shared/authoring/declare';
2
+ import { AuthorableAttributes } from '@plitzi/sdk-shared/authoring';
3
3
  /** What this element can be authored with — its component's own props, minus what the runtime supplies. */
4
4
  export type MarkdownAttributes = AuthorableAttributes<MarkdownProps>;
5
- declare const declaration: import('@plitzi/sdk-shared/authoring/declare').DeclaredElement<{
5
+ declare const declaration: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
6
6
  readonly type: "markdown";
7
7
  readonly content: {
8
8
  readonly attributes: {
@@ -1,4 +1,4 @@
1
- import { elementDeclaration as e } from "@plitzi/sdk-shared/authoring/declare";
1
+ import { elementDeclaration as e } from "@plitzi/sdk-shared/authoring";
2
2
  //#region src/elements/basic/Markdown/declaration.ts
3
3
  var t = e()({
4
4
  type: "markdown",
@@ -1,5 +1,5 @@
1
1
  import { MARKDOWN_PARTS as e } from "../../../../components/MarkdownDocument/helpers/markdownParts.mjs";
2
- import t from "@plitzi/sdk-shared/hooks/useStableValue";
2
+ import { useStableValue as t } from "@plitzi/sdk-shared/hooks";
3
3
  //#region src/elements/basic/Markdown/hooks/useMarkdownClassNames.ts
4
4
  var n = (n) => {
5
5
  let r = {};
@@ -1,5 +1,5 @@
1
1
  declare const Markdown: {
2
- (props: import('../../../Element/hocs/withElement').WithElementProps<import('./Markdown').MarkdownProps>): import('react').JSX.Element;
2
+ (props: import('../../..').WithElementProps<import('./Markdown').MarkdownProps>): import('react').JSX.Element;
3
3
  displayName: string;
4
4
  } & {
5
5
  readonly type: "markdown";
@@ -55,8 +55,8 @@ declare const Markdown: {
55
55
  };
56
56
  };
57
57
  } & {
58
- content: import('@plitzi/sdk-shared/authoring/declare').ElementContentDefaults;
59
- } & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
58
+ content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
59
+ } & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<Partial<{
60
60
  content?: string | undefined;
61
61
  headingLinks?: boolean | undefined;
62
62
  }>>;
@@ -6,7 +6,7 @@ export type ParagraphProps = {
6
6
  };
7
7
  declare const Paragraph: ({ ref, content, className }: ParagraphProps) => import('react').JSX.Element;
8
8
  declare const _default: {
9
- (props: import('../../../Element/hocs/withElement').WithElementProps<ParagraphProps>): import('react').JSX.Element;
9
+ (props: import('../../..').WithElementProps<ParagraphProps>): import('react').JSX.Element;
10
10
  displayName: string;
11
11
  };
12
12
  export default _default;
@@ -1,8 +1,8 @@
1
1
  import { ParagraphProps } from './Paragraph';
2
- import { AuthorableAttributes } from '@plitzi/sdk-shared/authoring/declare';
2
+ import { AuthorableAttributes } from '@plitzi/sdk-shared/authoring';
3
3
  /** What this element can be authored with — its component's own props, minus what the runtime supplies. */
4
4
  export type ParagraphAttributes = AuthorableAttributes<ParagraphProps>;
5
- declare const declaration: import('@plitzi/sdk-shared/authoring/declare').DeclaredElement<{
5
+ declare const declaration: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
6
6
  readonly type: "paragraph";
7
7
  readonly content: {
8
8
  readonly attributes: {
@@ -1,4 +1,4 @@
1
- import { elementDeclaration as e } from "@plitzi/sdk-shared/authoring/declare";
1
+ import { elementDeclaration as e } from "@plitzi/sdk-shared/authoring";
2
2
  //#region src/elements/basic/Paragraph/declaration.ts
3
3
  var t = e()({
4
4
  type: "paragraph",
@@ -1,5 +1,5 @@
1
1
  declare const Paragraph: {
2
- (props: import('../../../Element/hocs/withElement').WithElementProps<import('./Paragraph').ParagraphProps>): import('react').JSX.Element;
2
+ (props: import('../../..').WithElementProps<import('./Paragraph').ParagraphProps>): import('react').JSX.Element;
3
3
  displayName: string;
4
4
  } & {
5
5
  readonly type: "paragraph";
@@ -27,8 +27,8 @@ declare const Paragraph: {
27
27
  };
28
28
  };
29
29
  } & {
30
- content: import('@plitzi/sdk-shared/authoring/declare').ElementContentDefaults;
31
- } & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
30
+ content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
31
+ } & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<Partial<{
32
32
  content?: string | number | undefined;
33
33
  }>>;
34
34
  export default Paragraph;
@@ -13,7 +13,7 @@ export type RichTextProps = {
13
13
  };
14
14
  declare const RichText: ({ ref, className, content, format, mediaBaseUrl }: RichTextProps) => import('react').JSX.Element;
15
15
  declare const _default: {
16
- (props: import('../../../Element/hocs/withElement').WithElementProps<RichTextProps>): import('react').JSX.Element;
16
+ (props: import('../../..').WithElementProps<RichTextProps>): import('react').JSX.Element;
17
17
  displayName: string;
18
18
  };
19
19
  export default _default;
@@ -1,28 +1,28 @@
1
- import e from "../../../Element/hocs/withElement.mjs";
2
- import t from "../../../Element/hooks/useElement.mjs";
3
- import { RootElement as n } from "../../../Element/RootElement.mjs";
4
- import r from "../../../components/MarkdownDocument/index.mjs";
5
- import i from "../Markdown/hooks/useMarkdownClassNames.mjs";
6
- import { classHtmlParts as a } from "./classHtmlParts.mjs";
7
- import { rebaseHtmlMedia as o, sanitizeHtml as s } from "./sanitizeHtml.mjs";
1
+ import { classHtmlParts as e } from "./classHtmlParts.mjs";
2
+ import { rebaseHtmlMedia as t, sanitizeHtml as n } from "./sanitizeHtml.mjs";
3
+ import r from "../../../Element/hocs/withElement.mjs";
4
+ import i from "../../../Element/hooks/useElement.mjs";
5
+ import { RootElement as a } from "../../../Element/RootElement.mjs";
6
+ import o from "../../../components/MarkdownDocument/index.mjs";
7
+ import s from "../Markdown/hooks/useMarkdownClassNames.mjs";
8
8
  import { useMemo as c } from "react";
9
- import l from "@plitzi/sdk-shared/hooks/usePlitzi";
9
+ import { usePlitzi as l } from "@plitzi/sdk-shared/hooks";
10
10
  import { jsx as u, jsxs as d } from "react/jsx-runtime";
11
11
  import f from "clsx";
12
12
  //#region src/elements/basic/RichText/RichText.tsx
13
- var p = ({ ref: e, className: p = "", content: m = "", format: h = "html", mediaBaseUrl: g = "" }) => {
14
- let { settings: { previewMode: _ } } = l(), { definition: { styleSelectors: v } } = t(), y = i(v), b = c(() => h === "html" ? a(o(s(m), g), y) : "", [
13
+ var p = ({ ref: r, className: p = "", content: m = "", format: h = "html", mediaBaseUrl: g = "" }) => {
14
+ let { settings: { previewMode: _ } } = l(), { definition: { styleSelectors: v } } = i(), y = s(v), b = c(() => h === "html" ? e(t(n(m), g), y) : "", [
15
15
  h,
16
16
  m,
17
17
  g,
18
18
  y
19
19
  ]);
20
- return /* @__PURE__ */ d(n, {
21
- ref: e,
20
+ return /* @__PURE__ */ d(a, {
21
+ ref: r,
22
22
  className: f("plitzi-component__rich-text", { "plitzi-component__rich-text--edit-mode": !_ }, p),
23
23
  children: [
24
24
  h === "html" && /* @__PURE__ */ u("div", { dangerouslySetInnerHTML: { __html: b } }),
25
- h === "markdown" && /* @__PURE__ */ u(r, {
25
+ h === "markdown" && /* @__PURE__ */ u(o, {
26
26
  classNames: y,
27
27
  children: m
28
28
  }),
@@ -32,6 +32,6 @@ var p = ({ ref: e, className: p = "", content: m = "", format: h = "html", media
32
32
  })
33
33
  ]
34
34
  });
35
- }, m = e(p);
35
+ }, m = r(p);
36
36
  //#endregion
37
37
  export { p as RichText, m as default };
@@ -1,8 +1,8 @@
1
1
  import { RichTextProps } from './RichText';
2
- import { AuthorableAttributes } from '@plitzi/sdk-shared/authoring/declare';
2
+ import { AuthorableAttributes } from '@plitzi/sdk-shared/authoring';
3
3
  /** What this element can be authored with — its component's own props, minus what the runtime supplies. */
4
4
  export type RichTextAttributes = AuthorableAttributes<RichTextProps>;
5
- declare const declaration: import('@plitzi/sdk-shared/authoring/declare').DeclaredElement<{
5
+ declare const declaration: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
6
6
  readonly type: "richText";
7
7
  readonly attributeValues: {
8
8
  readonly format: readonly string[];
@@ -1,4 +1,4 @@
1
- import { elementDeclaration as e, valuesOf as t } from "@plitzi/sdk-shared/authoring/declare";
1
+ import { elementDeclaration as e, valuesOf as t } from "@plitzi/sdk-shared/authoring";
2
2
  //#region src/elements/basic/RichText/declaration.ts
3
3
  var n = e()({
4
4
  type: "richText",
@@ -1,5 +1,5 @@
1
1
  declare const RichText: {
2
- (props: import('../../../Element/hocs/withElement').WithElementProps<import('./RichText').RichTextProps>): import('react').JSX.Element;
2
+ (props: import('../../..').WithElementProps<import('./RichText').RichTextProps>): import('react').JSX.Element;
3
3
  displayName: string;
4
4
  } & {
5
5
  readonly type: "richText";
@@ -60,8 +60,8 @@ declare const RichText: {
60
60
  };
61
61
  };
62
62
  } & {
63
- content: import('@plitzi/sdk-shared/authoring/declare').ElementContentDefaults;
64
- } & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
63
+ content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
64
+ } & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<Partial<{
65
65
  content?: string | undefined;
66
66
  format?: "html" | "markdown" | "text" | undefined;
67
67
  mediaBaseUrl?: string | undefined;
@@ -13,7 +13,7 @@ export type TextProps = {
13
13
  };
14
14
  declare const Text: ({ ref, content, className, title, decorative }: TextProps) => import('react').JSX.Element;
15
15
  declare const _default: {
16
- (props: import('../../../Element/hocs/withElement').WithElementProps<TextProps>): import('react').JSX.Element;
16
+ (props: import('../../..').WithElementProps<TextProps>): import('react').JSX.Element;
17
17
  displayName: string;
18
18
  };
19
19
  export default _default;
@@ -1,8 +1,8 @@
1
1
  import { TextProps } from './Text';
2
- import { AuthorableAttributes } from '@plitzi/sdk-shared/authoring/declare';
2
+ import { AuthorableAttributes } from '@plitzi/sdk-shared/authoring';
3
3
  /** What this element can be authored with — its component's own props, minus what the runtime supplies. */
4
4
  export type TextAttributes = AuthorableAttributes<TextProps>;
5
- declare const declaration: import('@plitzi/sdk-shared/authoring/declare').DeclaredElement<{
5
+ declare const declaration: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
6
6
  readonly type: "text";
7
7
  readonly content: {
8
8
  readonly attributes: {
@@ -1,4 +1,4 @@
1
- import { elementDeclaration as e } from "@plitzi/sdk-shared/authoring/declare";
1
+ import { elementDeclaration as e } from "@plitzi/sdk-shared/authoring";
2
2
  //#region src/elements/basic/Text/declaration.ts
3
3
  var t = e()({
4
4
  type: "text",
@@ -1,5 +1,5 @@
1
1
  declare const Text: {
2
- (props: import('../../../Element/hocs/withElement').WithElementProps<import('./Text').TextProps>): import('react').JSX.Element;
2
+ (props: import('../../..').WithElementProps<import('./Text').TextProps>): import('react').JSX.Element;
3
3
  displayName: string;
4
4
  } & {
5
5
  readonly type: "text";
@@ -26,8 +26,8 @@ declare const Text: {
26
26
  };
27
27
  };
28
28
  } & {
29
- content: import('@plitzi/sdk-shared/authoring/declare').ElementContentDefaults;
30
- } & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
29
+ content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
30
+ } & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<Partial<{
31
31
  content?: string | number | undefined;
32
32
  title?: string | undefined;
33
33
  decorative?: boolean | undefined;
@@ -24,7 +24,7 @@ export type ThemeToggleProps = {
24
24
  */
25
25
  declare const ThemeToggle: ({ ref, className, subType, lightLabel, darkLabel, systemLabel, showSystem }: ThemeToggleProps) => import('react').JSX.Element;
26
26
  declare const _default: {
27
- (props: import('../../../Element/hocs/withElement').WithElementProps<ThemeToggleProps>): import('react').JSX.Element;
27
+ (props: import('../../..').WithElementProps<ThemeToggleProps>): import('react').JSX.Element;
28
28
  displayName: string;
29
29
  };
30
30
  export default _default;
@@ -3,11 +3,11 @@ import t from "../../../Element/hocs/withElement.mjs";
3
3
  import n from "../../../Element/hooks/useElement.mjs";
4
4
  import { RootElement as r } from "../../../Element/RootElement.mjs";
5
5
  import { use as i, useCallback as a, useEffect as o, useMemo as s, useRef as c, useSyncExternalStore as l } from "react";
6
- import u from "@plitzi/sdk-shared/hooks/usePlitzi";
6
+ import { usePlitzi as u } from "@plitzi/sdk-shared/hooks";
7
7
  import { jsx as d, jsxs as f } from "react/jsx-runtime";
8
8
  import p from "clsx";
9
- import m from "@plitzi/sdk-interactions/InteractionsContext";
10
- import h from "@plitzi/sdk-shared/theme/useTheme";
9
+ import { InteractionsContext as m } from "@plitzi/sdk-interactions";
10
+ import { useTheme as h } from "@plitzi/sdk-shared/theme";
11
11
  //#region src/elements/basic/ThemeToggle/ThemeToggle.tsx
12
12
  var g = () => () => {}, _ = () => !0, v = () => !1, y = () => /* @__PURE__ */ f("svg", {
13
13
  viewBox: "0 0 24 24",
@@ -1,8 +1,8 @@
1
1
  import { ThemeToggleProps } from './ThemeToggle';
2
- import { AuthorableAttributes } from '@plitzi/sdk-shared/authoring/declare';
2
+ import { AuthorableAttributes } from '@plitzi/sdk-shared/authoring';
3
3
  /** What this element can be authored with — its component's own props, minus what the runtime supplies. */
4
4
  export type ThemeToggleAttributes = AuthorableAttributes<ThemeToggleProps>;
5
- declare const declaration: import('@plitzi/sdk-shared/authoring/declare').DeclaredElement<{
5
+ declare const declaration: import('@plitzi/sdk-shared/authoring').DeclaredElement<{
6
6
  readonly type: "themeToggle";
7
7
  readonly attributeValues: {
8
8
  readonly subType: readonly string[];
@@ -1,4 +1,4 @@
1
- import { elementDeclaration as e, valuesOf as t } from "@plitzi/sdk-shared/authoring/declare";
1
+ import { elementDeclaration as e, valuesOf as t } from "@plitzi/sdk-shared/authoring";
2
2
  //#region src/elements/basic/ThemeToggle/declaration.ts
3
3
  var n = {
4
4
  "margin-top": "0px",
@@ -1,5 +1,5 @@
1
1
  declare const ThemeToggle: {
2
- (props: import('../../../Element/hocs/withElement').WithElementProps<import('./ThemeToggle').ThemeToggleProps>): import('react').JSX.Element;
2
+ (props: import('../../..').WithElementProps<import('./ThemeToggle').ThemeToggleProps>): import('react').JSX.Element;
3
3
  displayName: string;
4
4
  } & {
5
5
  readonly type: "themeToggle";
@@ -96,8 +96,8 @@ declare const ThemeToggle: {
96
96
  };
97
97
  };
98
98
  } & {
99
- content: import('@plitzi/sdk-shared/authoring/declare').ElementContentDefaults;
100
- } & import('@plitzi/sdk-shared/authoring/declare').ElementAttributesBrand<Partial<{
99
+ content: import('@plitzi/sdk-shared/authoring').ElementContentDefaults;
100
+ } & import('@plitzi/sdk-shared/authoring').ElementAttributesBrand<Partial<{
101
101
  subType?: "switch" | "segmented" | undefined;
102
102
  lightLabel?: string | undefined;
103
103
  darkLabel?: string | undefined;