@janbox/storefront-builder 2.0.17 → 2.0.19

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 (143) hide show
  1. package/dist/components/composer/dataset.d.ts +5 -3
  2. package/dist/constants/index.d.ts +3 -1
  3. package/dist/editor/components/index.d.ts +0 -1
  4. package/dist/editor/controls/index.d.ts +37 -0
  5. package/dist/editor/hooks/index.d.ts +1 -0
  6. package/dist/editor/hooks/use-editor.d.ts +11 -1
  7. package/dist/editor/hooks/use-inline-editable.d.ts +1 -0
  8. package/dist/editor/index.d.ts +1 -0
  9. package/dist/editor/lib/index.d.ts +4 -3
  10. package/dist/editor/lib/node-renderer/index.d.ts +0 -2
  11. package/dist/editor/lib/node-renderer/node-renderer.d.ts +1 -1
  12. package/dist/editor/toolbars/index.d.ts +5 -37
  13. package/dist/editor/toolbars/inline-utils.d.ts +20 -0
  14. package/dist/editor/toolbars/insert-inline-toolbar.d.ts +1 -0
  15. package/dist/editor/toolbars/insert-link-toolbar.d.ts +1 -0
  16. package/dist/editor/toolbars/node-delete-toolbar.d.ts +1 -0
  17. package/dist/editor/toolbars/node-drag-toolbar.d.ts +1 -0
  18. package/dist/editor/toolbars/node-name-toolbar.d.ts +1 -0
  19. package/dist/editor.js +1252 -10300
  20. package/dist/hooks/use-paragraph-editable.d.ts +10 -0
  21. package/dist/index-CAk0Z6SL.js +60 -0
  22. package/dist/index-DxdUdXU0.js +4 -0
  23. package/dist/index.js +102 -92
  24. package/dist/lib/fragment/fragment.node/fragment.node.d.ts +2 -0
  25. package/dist/lib/fragment/fragment.node/index.d.ts +2 -0
  26. package/dist/lib/fragment/fragment.node/types.d.ts +3 -0
  27. package/dist/lib/fragment/index.d.ts +1 -0
  28. package/dist/lib/heading/heading/heading.d.ts +1 -1
  29. package/dist/lib/heading/heading/helpers.d.ts +2 -0
  30. package/dist/lib/heading/heading.node/heading.node.d.ts +1 -1
  31. package/dist/lib/heading/heading.toolbar/heading.toolbar.d.ts +1 -0
  32. package/dist/lib/heading/heading.toolbar/index.d.ts +1 -0
  33. package/dist/lib/index.d.ts +2 -0
  34. package/dist/lib/inline/index.d.ts +2 -0
  35. package/dist/lib/inline/inline.inspector/index.d.ts +1 -0
  36. package/dist/lib/inline/inline.inspector/inline.inspector.d.ts +1 -0
  37. package/dist/lib/inline/inline.node/helpers.d.ts +3 -0
  38. package/dist/lib/inline/inline.node/index.d.ts +2 -0
  39. package/dist/lib/inline/inline.node/inline.node.d.ts +2 -0
  40. package/dist/lib/inline/inline.node/types.d.ts +11 -0
  41. package/dist/lib/link/link.node/link.node.d.ts +1 -1
  42. package/dist/lib/link/link.toolbar/index.d.ts +1 -0
  43. package/dist/lib/link/link.toolbar/link.toolbar.d.ts +1 -0
  44. package/dist/lib/paragraph/paragraph/helpers.d.ts +2 -0
  45. package/dist/lib/paragraph/paragraph/index.d.ts +2 -0
  46. package/dist/lib/paragraph/paragraph/paragraph.d.ts +2 -0
  47. package/dist/lib/paragraph/paragraph/types.d.ts +2 -0
  48. package/dist/lib/paragraph/paragraph.node/paragraph.node.d.ts +1 -1
  49. package/dist/lib/paragraph/paragraph.toolbar/index.d.ts +1 -0
  50. package/dist/lib/paragraph/paragraph.toolbar/paragraph.toolbar.d.ts +1 -0
  51. package/dist/templates.js +91 -194
  52. package/dist/toaster-j03A1kAt.js +17829 -0
  53. package/dist/types/index.d.ts +1 -3
  54. package/package.json +1 -4
  55. package/dist/countdown-timer.node-B1zlySOV.js +0 -8373
  56. package/dist/editor/components/text-inline-editor.d.ts +0 -10
  57. package/dist/editor/lib/node-renderer/node-actions.d.ts +0 -1
  58. package/dist/index-Cl02EX34.js +0 -187
  59. package/dist/index-D6iOLmDe.js +0 -4
  60. package/dist/lib/heading/heading.renderer/heading.renderer.d.ts +0 -2
  61. package/dist/lib/heading/heading.renderer/index.d.ts +0 -1
  62. package/dist/lib/paragraph/paragraph.renderer/index.d.ts +0 -1
  63. package/dist/lib/paragraph/paragraph.renderer/paragraph.renderer.d.ts +0 -2
  64. package/dist/minus-BrRnjbhB.js +0 -4
  65. package/dist/tooltip-CLs3ofGk.js +0 -75
  66. /package/dist/editor/{toolbars → controls}/aspect-ratio/aspect-ratio.d.ts +0 -0
  67. /package/dist/editor/{toolbars → controls}/aspect-ratio/index.d.ts +0 -0
  68. /package/dist/editor/{toolbars → controls}/background/background-toolbar.d.ts +0 -0
  69. /package/dist/editor/{toolbars → controls}/background/bg-color-tab.d.ts +0 -0
  70. /package/dist/editor/{toolbars → controls}/background/bg-image-tab.d.ts +0 -0
  71. /package/dist/editor/{toolbars → controls}/background/dataset.d.ts +0 -0
  72. /package/dist/editor/{toolbars → controls}/background/index.d.ts +0 -0
  73. /package/dist/editor/{toolbars → controls}/background/types.d.ts +0 -0
  74. /package/dist/editor/{toolbars → controls}/border/border.d.ts +0 -0
  75. /package/dist/editor/{toolbars → controls}/border/index.d.ts +0 -0
  76. /package/dist/editor/{toolbars → controls}/border/types.d.ts +0 -0
  77. /package/dist/editor/{toolbars → controls}/border-radius/border-radius.d.ts +0 -0
  78. /package/dist/editor/{toolbars → controls}/border-radius/index.d.ts +0 -0
  79. /package/dist/editor/{toolbars → controls}/child-nodes/child-node.d.ts +0 -0
  80. /package/dist/editor/{toolbars → controls}/child-nodes/index.d.ts +0 -0
  81. /package/dist/editor/{toolbars → controls}/color/color.d.ts +0 -0
  82. /package/dist/editor/{toolbars → controls}/color/index.d.ts +0 -0
  83. /package/dist/editor/{toolbars → controls}/color-variant/color-variant.d.ts +0 -0
  84. /package/dist/editor/{toolbars → controls}/color-variant/index.d.ts +0 -0
  85. /package/dist/editor/{toolbars → controls}/column-gap/column-gap.d.ts +0 -0
  86. /package/dist/editor/{toolbars → controls}/column-gap/index.d.ts +0 -0
  87. /package/dist/editor/{toolbars → controls}/css-font-weight/index.d.ts +0 -0
  88. /package/dist/editor/{toolbars → controls}/css-width/index.d.ts +0 -0
  89. /package/dist/editor/{toolbars → controls}/display/display.d.ts +0 -0
  90. /package/dist/editor/{toolbars → controls}/display/index.d.ts +0 -0
  91. /package/dist/editor/{toolbars → controls}/flex/flex.d.ts +0 -0
  92. /package/dist/editor/{toolbars → controls}/flex/index.d.ts +0 -0
  93. /package/dist/editor/{toolbars → controls}/flex-align-items/flex-align-items.d.ts +0 -0
  94. /package/dist/editor/{toolbars → controls}/flex-align-items/index.d.ts +0 -0
  95. /package/dist/editor/{toolbars → controls}/flex-wrap/flex-wrap.d.ts +0 -0
  96. /package/dist/editor/{toolbars → controls}/flex-wrap/index.d.ts +0 -0
  97. /package/dist/editor/{toolbars → controls}/font-size/font-size.d.ts +0 -0
  98. /package/dist/editor/{toolbars → controls}/font-size/index.d.ts +0 -0
  99. /package/dist/editor/{toolbars → controls}/grid-align-items/grid-align-items.d.ts +0 -0
  100. /package/dist/editor/{toolbars → controls}/grid-align-items/index.d.ts +0 -0
  101. /package/dist/editor/{toolbars → controls}/height/height.d.ts +0 -0
  102. /package/dist/editor/{toolbars → controls}/height/index.d.ts +0 -0
  103. /package/dist/editor/{toolbars → controls}/html-anchor-target/index.d.ts +0 -0
  104. /package/dist/editor/{toolbars → controls}/justify-content/index.d.ts +0 -0
  105. /package/dist/editor/{toolbars → controls}/justify-content/justify-content.d.ts +0 -0
  106. /package/dist/editor/{toolbars → controls}/justify-items/index.d.ts +0 -0
  107. /package/dist/editor/{toolbars → controls}/justify-items/justify-items.d.ts +0 -0
  108. /package/dist/editor/{toolbars → controls}/line-height/dataset.d.ts +0 -0
  109. /package/dist/editor/{toolbars → controls}/line-height/index.d.ts +0 -0
  110. /package/dist/editor/{toolbars → controls}/line-height/line-height.d.ts +0 -0
  111. /package/dist/editor/{toolbars → controls}/margin/index.d.ts +0 -0
  112. /package/dist/editor/{toolbars → controls}/margin/margin.d.ts +0 -0
  113. /package/dist/editor/{toolbars → controls}/min-width/index.d.ts +0 -0
  114. /package/dist/editor/{toolbars → controls}/min-width/min-width.d.ts +0 -0
  115. /package/dist/editor/{toolbars → controls}/number-field/index.d.ts +0 -0
  116. /package/dist/editor/{toolbars → controls}/number-field/number-field.d.ts +0 -0
  117. /package/dist/editor/{toolbars → controls}/number-field-mix-options/index.d.ts +0 -0
  118. /package/dist/editor/{toolbars → controls}/number-field-mix-options/number-field-mix-options.d.ts +0 -0
  119. /package/dist/editor/{toolbars → controls}/object-fit/dataset.d.ts +0 -0
  120. /package/dist/editor/{toolbars → controls}/object-fit/index.d.ts +0 -0
  121. /package/dist/editor/{toolbars → controls}/object-fit/object-fit.d.ts +0 -0
  122. /package/dist/editor/{toolbars → controls}/order/index.d.ts +0 -0
  123. /package/dist/editor/{toolbars → controls}/order/order.d.ts +0 -0
  124. /package/dist/editor/{toolbars → controls}/padding/index.d.ts +0 -0
  125. /package/dist/editor/{toolbars → controls}/padding/padding.d.ts +0 -0
  126. /package/dist/editor/{toolbars → controls}/row-gap/index.d.ts +0 -0
  127. /package/dist/editor/{toolbars → controls}/row-gap/row-gap.d.ts +0 -0
  128. /package/dist/editor/{toolbars → controls}/svg-source/index.d.ts +0 -0
  129. /package/dist/editor/{toolbars → controls}/svg-source/svg-source.d.ts +0 -0
  130. /package/dist/editor/{toolbars → controls}/svg-source/uploaded-source.d.ts +0 -0
  131. /package/dist/editor/{toolbars → controls}/tag-name/index.d.ts +0 -0
  132. /package/dist/editor/{toolbars → controls}/tag-name/tag-name.d.ts +0 -0
  133. /package/dist/editor/{toolbars → controls}/text-align/index.d.ts +0 -0
  134. /package/dist/editor/{toolbars → controls}/text-style/index.d.ts +0 -0
  135. /package/dist/editor/{toolbars → controls}/text-style/text-style.d.ts +0 -0
  136. /package/dist/editor/{toolbars → controls}/text-style-group/index.d.ts +0 -0
  137. /package/dist/editor/{toolbars → controls}/text-style-group/text-style-group.d.ts +0 -0
  138. /package/dist/editor/{toolbars → controls}/text-transform/index.d.ts +0 -0
  139. /package/dist/editor/{toolbars → controls}/text-transform/text-transform.d.ts +0 -0
  140. /package/dist/editor/{toolbars → controls}/text-variant/index.d.ts +0 -0
  141. /package/dist/editor/{toolbars → controls}/text-variant/text-variant.d.ts +0 -0
  142. /package/dist/editor/{toolbars → controls}/visibility/index.d.ts +0 -0
  143. /package/dist/editor/{toolbars → controls}/visibility/visibility.d.ts +0 -0
@@ -0,0 +1,10 @@
1
+ type UseParagraphEditableOptions = {
2
+ enabled: boolean;
3
+ nodeId: string;
4
+ childNodeIds: string[];
5
+ frameDocument?: Document | null;
6
+ };
7
+ export declare const useParagraphEditable: ({ enabled, nodeId, childNodeIds, frameDocument }: UseParagraphEditableOptions) => {
8
+ domRef: import('react').RefObject<HTMLElement | null>;
9
+ };
10
+ export {};
@@ -0,0 +1,60 @@
1
+ import { jsx as i } from "@emotion/react/jsx-runtime";
2
+ import { useMemo as m, useEffect as f } from "react";
3
+ import { Frame as v, Editor as p, useNode as N, DefaultEventHandlers as E } from "@craftjs/core";
4
+ import { isNil as u, isString as l } from "lodash-es";
5
+ import { u as c, C as h, d as b, g as y, N as C, B as a } from "./toaster-j03A1kAt.js";
6
+ import "flat";
7
+ const k = ({ children: t, data: e }) => {
8
+ const { resolver: r } = c((s) => ({
9
+ resolver: s.options.resolver
10
+ })), o = m(() => {
11
+ if (u(e)) return e;
12
+ const s = l(e) ? JSON.parse(e) : e;
13
+ return Object.entries(s).forEach(([, n]) => {
14
+ const d = l(n.type) ? n.type : n.type.resolvedName;
15
+ r[d] || (console.error(`Unknown node: ${d}`), n.type = {
16
+ resolvedName: h.Unknown
17
+ });
18
+ }), s;
19
+ }, [e, r]);
20
+ return /* @__PURE__ */ i(v, { data: o, children: t });
21
+ }, x = ({ resolver: t, children: e, ...r }) => /* @__PURE__ */ i(
22
+ p,
23
+ {
24
+ enabled: !1,
25
+ onRender: D,
26
+ handlers: (o) => new g({
27
+ store: o,
28
+ removeHoverOnMouseleave: !0,
29
+ isMultiSelectEnabled: () => !1
30
+ }),
31
+ resolver: { ...b, ...t },
32
+ ...r,
33
+ children: e
34
+ }
35
+ ), D = ({ render: t }) => {
36
+ const { id: e } = N(), { query: r } = c();
37
+ return f(() => {
38
+ const o = r.node(e).get(), s = y(o);
39
+ if (u(s))
40
+ throw new Error(
41
+ `The node with id "${o.data.displayName}" does not have a resolved ID. Please check your node configuration.`
42
+ );
43
+ }, [e, r]), t;
44
+ };
45
+ class g extends E {
46
+ handlers() {
47
+ const e = super.handlers();
48
+ return {
49
+ ...e,
50
+ select(r, o) {
51
+ return (r.getAttribute(C.DATA_NODE_SELECTABLE) ?? a.True) === a.True ? e.select(r, o) : () => {
52
+ };
53
+ }
54
+ };
55
+ }
56
+ }
57
+ export {
58
+ k as C,
59
+ x as a
60
+ };
@@ -0,0 +1,4 @@
1
+ import { W as p } from "./toaster-j03A1kAt.js";
2
+ export {
3
+ p as WbTooltip
4
+ };
package/dist/index.js CHANGED
@@ -1,96 +1,106 @@
1
- import { A as c, a as g, b, c as C, B as x, d as f, C as T, e as I, f as L, g as S, F as A, h as v, G as w, H as R, i as h, I as k, j as q, L as B, k as F, M as G, l as H, P as M, R as U, S as y, m as D, T as E, n as V, o as j, p as z, q as J, U as K, r as O, V as Q, s as W, u as X, v as Y, w as Z, x as _, y as $, z as ee, D as oe, E as se, J as ae, K as re, N as de, O as Ne, Q as te } from "./countdown-timer.node-B1zlySOV.js";
2
- import { u as e } from "./index-Cl02EX34.js";
3
- import { C as pe, a as ue, N as ie, b as Pe, c as me, d as le, e as ce, f as ge, g as be, h as Ce, i as xe, j as fe, k as Te, l as Ie, m as Le, n as Se, o as Ae, p as ve, q as we, r as Re, s as he, t as ke } from "./index-Cl02EX34.js";
4
- import { getTextProps as s, getTabPanelProps as a, getListItemProps as r } from "@janbox/storefront-ui";
5
- import { useNode as Be } from "@craftjs/core";
1
+ import { a as t } from "./toaster-j03A1kAt.js";
2
+ import { A as L, b as x, c as T, e as S, f as A, h as E, i as w, j as R, k as h, l as F, F as k, m as B, n as G, G as H, H as M, o as q, I as U, p as y, q as D, r as V, L as j, s as z, M as J, t as K, v as O, P as Q, R as X, S as Y, w as Z, T as _, x as $, y as W, z as ee, D as oe, U as se, E as ae, V as re, J as de, K as te, O as ne, Q as Ne, X as ue, g as ie, Y as pe, Z as me, _ as Pe, $ as ce, a0 as le, a1 as ge, a2 as be, a3 as fe, a4 as ve, a5 as Ie, u as Ce, a6 as Le, a7 as xe, a8 as Te, a9 as Se, aa as Ae, ab as Ee, ac as we, ad as Re, ae as he, af as Fe, ag as ke, ah as Be, ai as Ge, aj as He, ak as Me, al as qe, am as Ue } from "./toaster-j03A1kAt.js";
3
+ import { useNode as n } from "@craftjs/core";
4
+ import { useNode as De } from "@craftjs/core";
6
5
  import "lodash-es";
7
- import "react";
8
- const p = () => e({
9
- transform: (o) => s({
10
- ...o,
11
- as: o.as ?? "div"
12
- })
13
- }), u = () => e({
14
- transform: s
15
- }), i = () => e({
16
- transform: a
17
- }), P = () => e({
18
- transform: r
6
+ import { useRef as N, useEffect as u } from "react";
7
+ import { getTabPanelProps as i, getListItemProps as p } from "@janbox/storefront-ui";
8
+ import { C as je, a as ze } from "./index-CAk0Z6SL.js";
9
+ const b = ({ enabled: a, onChange: r }) => {
10
+ const { dom: e } = n((s) => ({ dom: s.dom })), o = N(void 0);
11
+ u(() => {
12
+ if (!a || !e) return;
13
+ const s = () => {
14
+ o.current = e.innerHTML;
15
+ }, d = () => {
16
+ o.current !== void 0 && (r(o.current), o.current = void 0);
17
+ };
18
+ return e.addEventListener("input", s), e.addEventListener("blur", d), () => {
19
+ e.removeEventListener("input", s), e.removeEventListener("blur", d);
20
+ };
21
+ }, [a, e, r]);
22
+ }, f = () => t({
23
+ transform: i
24
+ }), v = () => t({
25
+ transform: p
19
26
  });
20
27
  export {
21
- c as AccordionContentNode,
22
- g as AccordionGroupNode,
23
- b as AccordionNode,
24
- C as AccordionSummaryNode,
25
- x as BoxNode,
26
- f as ButtonNode,
27
- pe as Canvas,
28
- T as CanvasPlaceholder,
29
- I as CellNode,
30
- ue as Composer,
31
- L as ContainerNode,
32
- S as CountdownTimerNode,
33
- A as FlexItemNode,
34
- v as FlexboxNode,
35
- w as GridNode,
36
- R as Heading,
37
- h as HeadingNode,
38
- k as IconNode,
39
- q as ImageNode,
40
- B as LinkNode,
41
- F as ListItemNode,
42
- G as MarqueeItemNode,
43
- H as MarqueeNode,
44
- ie as NodeElement,
45
- M as ParagraphNode,
46
- U as RootNode,
47
- y as SwiperNode,
48
- D as SwiperSlideNode,
49
- E as TabContentNode,
50
- V as TabListNode,
51
- j as TabNode,
52
- z as TabPanelNode,
53
- J as TabsNode,
54
- K as UnknownNode,
55
- O as UnorderedListNode,
56
- Q as VideoNode,
57
- W as defineNode,
58
- X as getNodeCustom,
59
- Y as getNodeDisplayName,
60
- Z as getNodeInfo,
61
- _ as getNodeRelated,
62
- $ as getNodeResolved,
63
- ee as isNodeSelectable,
64
- oe as parseNumber,
65
- se as parseSvgString,
66
- ae as registerNodeRelated,
67
- re as toResponsiveCss,
68
- Pe as useAccordionGroupNodeProps,
69
- me as useAccordionNodeProps,
70
- le as useBoxNodeProps,
71
- ce as useButtonNodeProps,
72
- ge as useCellNodeProps,
73
- de as useComposer,
74
- be as useContainerNodeProps,
75
- Ce as useCountdownTimerNodeProps,
76
- xe as useFlexItemNodeProps,
77
- fe as useFlexboxNodeProps,
78
- Te as useGridNodeProps,
79
- u as useHeadingNodeProps,
80
- Ie as useIconNodeProps,
81
- Le as useImageNodeProps,
82
- Se as useLinkNodeProps,
83
- P as useListItemNodeProps,
84
- Ae as useMarqueeNodeProps,
85
- Be as useNode,
86
- Ne as useNodeContentEditable,
87
- te as useNodeDataAttributes,
88
- e as useNodeProps,
89
- p as useParagraphNodeProps,
90
- ve as useSwiperNodeProps,
91
- we as useTabNodeProps,
92
- i as useTabPanelNodeProps,
93
- Re as useTabsNodeProps,
94
- he as useUnorderedListNodeProps,
95
- ke as useVideoNodeProps
28
+ L as AccordionContentNode,
29
+ x as AccordionGroupNode,
30
+ T as AccordionNode,
31
+ S as AccordionSummaryNode,
32
+ A as BoxNode,
33
+ E as ButtonNode,
34
+ je as Canvas,
35
+ w as CanvasPlaceholder,
36
+ R as CellNode,
37
+ ze as Composer,
38
+ h as ContainerNode,
39
+ F as CountdownTimerNode,
40
+ k as FlexItemNode,
41
+ B as FlexboxNode,
42
+ G as FragmentNode,
43
+ H as GridNode,
44
+ M as Heading,
45
+ q as HeadingNode,
46
+ U as IconNode,
47
+ y as ImageNode,
48
+ D as InlineInspector,
49
+ V as InlineNode,
50
+ j as LinkNode,
51
+ z as ListItemNode,
52
+ J as MarqueeItemNode,
53
+ K as MarqueeNode,
54
+ O as NodeElement,
55
+ Q as ParagraphNode,
56
+ X as RootNode,
57
+ Y as SwiperNode,
58
+ Z as SwiperSlideNode,
59
+ _ as TabContentNode,
60
+ $ as TabListNode,
61
+ W as TabNode,
62
+ ee as TabPanelNode,
63
+ oe as TabsNode,
64
+ se as UnknownNode,
65
+ ae as UnorderedListNode,
66
+ re as VideoNode,
67
+ de as defineNode,
68
+ te as getNodeCustom,
69
+ ne as getNodeDisplayName,
70
+ Ne as getNodeInfo,
71
+ ue as getNodeRelated,
72
+ ie as getNodeResolved,
73
+ pe as isNodeSelectable,
74
+ me as parseNumber,
75
+ Pe as parseSvgString,
76
+ ce as registerNodeRelated,
77
+ le as toResponsiveCss,
78
+ ge as useAccordionGroupNodeProps,
79
+ be as useAccordionNodeProps,
80
+ fe as useBoxNodeProps,
81
+ ve as useButtonNodeProps,
82
+ Ie as useCellNodeProps,
83
+ Ce as useComposer,
84
+ Le as useContainerNodeProps,
85
+ xe as useCountdownTimerNodeProps,
86
+ Te as useFlexItemNodeProps,
87
+ Se as useFlexboxNodeProps,
88
+ Ae as useGridNodeProps,
89
+ Ee as useHeadingNodeProps,
90
+ we as useIconNodeProps,
91
+ Re as useImageNodeProps,
92
+ he as useLinkNodeProps,
93
+ v as useListItemNodeProps,
94
+ Fe as useMarqueeNodeProps,
95
+ De as useNode,
96
+ b as useNodeContentEditable,
97
+ ke as useNodeDataAttributes,
98
+ t as useNodeProps,
99
+ Be as useParagraphNodeProps,
100
+ Ge as useSwiperNodeProps,
101
+ He as useTabNodeProps,
102
+ f as useTabPanelNodeProps,
103
+ Me as useTabsNodeProps,
104
+ qe as useUnorderedListNodeProps,
105
+ Ue as useVideoNodeProps
96
106
  };
@@ -0,0 +1,2 @@
1
+ import { FragmentNodeProps } from './types';
2
+ export declare const FragmentNode: ({ children }: FragmentNodeProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ export { FragmentNode } from './fragment.node';
2
+ export type { FragmentNodeProps } from './types';
@@ -0,0 +1,3 @@
1
+ export type FragmentNodeProps = {
2
+ children?: React.ReactNode;
3
+ };
@@ -0,0 +1 @@
1
+ export * from './fragment.node';
@@ -1,2 +1,2 @@
1
1
  import { HeadingProps } from './types';
2
- export declare const Heading: ({ ...props }: HeadingProps) => import("@emotion/react/jsx-runtime").JSX.Element;
2
+ export declare const Heading: ({ children, ref, ..._props }: HeadingProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { TextProps } from '@janbox/storefront-ui';
2
+ export declare const getHeadingProps: (extended: TextProps) => TextProps;
@@ -1,2 +1,2 @@
1
1
  import { HeadingNodeProps } from './types';
2
- export declare const HeadingNode: (props: HeadingNodeProps) => import("@emotion/react/jsx-runtime").JSX.Element;
2
+ export declare const HeadingNode: ({ children, ...props }: HeadingNodeProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export declare const HeadingToolbar: () => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export { HeadingToolbar } from './heading.toolbar';
@@ -1,5 +1,7 @@
1
1
  export * from './root';
2
2
  export * from './unknown';
3
+ export * from './fragment';
4
+ export * from './inline';
3
5
  export * from './grid';
4
6
  export * from './cell';
5
7
  export * from './link';
@@ -0,0 +1,2 @@
1
+ export * from './inline.node';
2
+ export * from './inline.inspector';
@@ -0,0 +1 @@
1
+ export { InlineInspector } from './inline.inspector';
@@ -0,0 +1 @@
1
+ export declare const InlineInspector: () => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,3 @@
1
+ import { InlineNodeProps } from './types';
2
+ import { useNodeProps } from '../../../hooks';
3
+ export declare const useInlineNodeProps: () => ReturnType<typeof useNodeProps<InlineNodeProps>>;
@@ -0,0 +1,2 @@
1
+ export { InlineNode } from './inline.node';
2
+ export type { InlineNodeProps } from './types';
@@ -0,0 +1,2 @@
1
+ import { InlineNodeProps } from './types';
2
+ export declare const InlineNode: ({ as, contentVariable, sx, children }: InlineNodeProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,11 @@
1
+ import { HTMLElementType, HTMLAttributes } from 'react';
2
+ import { StyledCSS } from '@janbox/storefront-ui/types';
3
+ export type InlineNodeProps = {
4
+ as?: HTMLElementType;
5
+ contentVariable?: {
6
+ key: string;
7
+ value: string;
8
+ };
9
+ sx?: StyledCSS;
10
+ children?: React.ReactNode;
11
+ } & Pick<HTMLAttributes<HTMLElement>, 'contentEditable' | 'suppressContentEditableWarning'>;
@@ -1,2 +1,2 @@
1
1
  import { LinkNodeProps } from './types';
2
- export declare const LinkNode: (props: LinkNodeProps) => import("@emotion/react/jsx-runtime").JSX.Element;
2
+ export declare const LinkNode: ({ children, ...props }: LinkNodeProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export { LinkToolbar } from './link.toolbar';
@@ -0,0 +1 @@
1
+ export declare const LinkToolbar: () => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { TextProps } from '@janbox/storefront-ui';
2
+ export declare const getParagraphProps: (extended: TextProps) => TextProps;
@@ -0,0 +1,2 @@
1
+ export * from './paragraph';
2
+ export * from './types';
@@ -0,0 +1,2 @@
1
+ import { ParagraphProps } from './types';
2
+ export declare const Paragraph: ({ children, ref, ..._props }: ParagraphProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1,2 @@
1
+ import { TextProps } from '@janbox/storefront-ui';
2
+ export type ParagraphProps = TextProps;
@@ -1,2 +1,2 @@
1
1
  import { ParagraphNodeProps } from './types';
2
- export declare const ParagraphNode: (props: ParagraphNodeProps) => import("@emotion/react/jsx-runtime").JSX.Element;
2
+ export declare const ParagraphNode: ({ children, ...props }: ParagraphNodeProps) => import("@emotion/react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export { ParagraphToolbar } from './paragraph.toolbar';
@@ -0,0 +1 @@
1
+ export declare const ParagraphToolbar: () => import("@emotion/react/jsx-runtime").JSX.Element;