@janbox/storefront-builder 2.0.18 → 2.0.20

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 +6 -4
  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 +1250 -10293
  20. package/dist/hooks/use-paragraph-editable.d.ts +10 -0
  21. package/dist/index-CX1ysbQd.js +59 -0
  22. package/dist/index-CYvdAWY4.js +4 -0
  23. package/dist/index.js +100 -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 +90 -195
  52. package/dist/toaster-BoEJoz-T.js +23865 -0
  53. package/dist/types/index.d.ts +1 -3
  54. package/package.json +1 -5
  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,59 @@
1
+ import { jsx as i } from "@emotion/react/jsx-runtime";
2
+ import { useMemo as m, useEffect as f } from "react";
3
+ import { u as c, C as v, D as p, a as N, d as h, N as E, g as b, r as D, b as y, B as l } from "./toaster-BoEJoz-T.js";
4
+ import { isNil as u, isString as d } from "lodash-es";
5
+ import "flat";
6
+ const k = ({ children: t, data: e }) => {
7
+ const { resolver: r } = c((o) => ({
8
+ resolver: o.options.resolver
9
+ })), s = m(() => {
10
+ if (u(e)) return e;
11
+ const o = d(e) ? JSON.parse(e) : e;
12
+ return Object.entries(o).forEach(([, n]) => {
13
+ const a = d(n.type) ? n.type : n.type.resolvedName;
14
+ r[a] || (console.error(`Unknown node: ${a}`), n.type = {
15
+ resolvedName: v.Unknown
16
+ });
17
+ }), o;
18
+ }, [e, r]);
19
+ return /* @__PURE__ */ i(p, { data: s, children: t });
20
+ }, x = ({ resolver: t, children: e, ...r }) => /* @__PURE__ */ i(
21
+ N,
22
+ {
23
+ enabled: !1,
24
+ onRender: C,
25
+ handlers: (s) => new g({
26
+ store: s,
27
+ removeHoverOnMouseleave: !0,
28
+ isMultiSelectEnabled: () => !1
29
+ }),
30
+ resolver: { ...h, ...t },
31
+ ...r,
32
+ children: e
33
+ }
34
+ ), C = ({ render: t }) => {
35
+ const { id: e } = E(), { query: r } = c();
36
+ return f(() => {
37
+ const s = r.node(e).get(), o = b(s);
38
+ if (u(o))
39
+ throw new Error(
40
+ `The node with id "${s.data.displayName}" does not have a resolved ID. Please check your node configuration.`
41
+ );
42
+ }, [e, r]), t;
43
+ };
44
+ class g extends D {
45
+ handlers() {
46
+ const e = super.handlers();
47
+ return {
48
+ ...e,
49
+ select(r, s) {
50
+ return (r.getAttribute(y.DATA_NODE_SELECTABLE) ?? l.True) === l.True ? e.select(r, s) : () => {
51
+ };
52
+ }
53
+ };
54
+ }
55
+ }
56
+ export {
57
+ k as C,
58
+ x as a
59
+ };
@@ -0,0 +1,4 @@
1
+ import { W as p } from "./toaster-BoEJoz-T.js";
2
+ export {
3
+ p as WbTooltip
4
+ };
package/dist/index.js CHANGED
@@ -1,96 +1,104 @@
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 { N as n, c as t } from "./toaster-BoEJoz-T.js";
2
+ import { A as C, e as L, f as T, h as x, i as S, j as A, k as E, l as w, m as R, n as h, F, o as k, p as q, G as B, H as G, q as H, I as M, s as U, t as y, v as V, L as j, w as D, M as z, x as J, y as K, P as O, R as Q, S as X, z as Y, T as Z, E as _, J as $, K as W, O as ee, U as oe, Q as se, V as ae, X as re, Y as de, Z as te, _ as ne, $ as Ne, g as ue, a0 as ie, a1 as pe, a2 as me, a3 as Pe, a4 as ce, a5 as le, a6 as ge, a7 as be, a8 as fe, a9 as ve, u as Ie, aa as Ce, ab as Le, ac as Te, ad as xe, ae as Se, af as Ae, ag as Ee, ah as we, ai as Re, aj as he, ak as Fe, al as ke, am as qe, an as Be, ao as Ge, ap as He, aq as Me } from "./toaster-BoEJoz-T.js";
6
3
  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
4
+ import { useRef as N, useEffect as u } from "react";
5
+ import { getTabPanelProps as i, getListItemProps as p } from "@janbox/storefront-ui";
6
+ import { C as ye, a as Ve } from "./index-CX1ysbQd.js";
7
+ const g = ({ enabled: a, onChange: r }) => {
8
+ const { dom: e } = n((s) => ({ dom: s.dom })), o = N(void 0);
9
+ u(() => {
10
+ if (!a || !e) return;
11
+ const s = () => {
12
+ o.current = e.innerHTML;
13
+ }, d = () => {
14
+ o.current !== void 0 && (r(o.current), o.current = void 0);
15
+ };
16
+ return e.addEventListener("input", s), e.addEventListener("blur", d), () => {
17
+ e.removeEventListener("input", s), e.removeEventListener("blur", d);
18
+ };
19
+ }, [a, e, r]);
20
+ }, b = () => t({
21
+ transform: i
22
+ }), f = () => t({
23
+ transform: p
19
24
  });
20
25
  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
26
+ C as AccordionContentNode,
27
+ L as AccordionGroupNode,
28
+ T as AccordionNode,
29
+ x as AccordionSummaryNode,
30
+ S as BoxNode,
31
+ A as ButtonNode,
32
+ ye as Canvas,
33
+ E as CanvasPlaceholder,
34
+ w as CellNode,
35
+ Ve as Composer,
36
+ R as ContainerNode,
37
+ h as CountdownTimerNode,
38
+ F as FlexItemNode,
39
+ k as FlexboxNode,
40
+ q as FragmentNode,
41
+ B as GridNode,
42
+ G as Heading,
43
+ H as HeadingNode,
44
+ M as IconNode,
45
+ U as ImageNode,
46
+ y as InlineInspector,
47
+ V as InlineNode,
48
+ j as LinkNode,
49
+ D as ListItemNode,
50
+ z as MarqueeItemNode,
51
+ J as MarqueeNode,
52
+ K as NodeElement,
53
+ O as ParagraphNode,
54
+ Q as RootNode,
55
+ X as SwiperNode,
56
+ Y as SwiperSlideNode,
57
+ Z as TabContentNode,
58
+ _ as TabListNode,
59
+ $ as TabNode,
60
+ W as TabPanelNode,
61
+ ee as TabsNode,
62
+ oe as UnknownNode,
63
+ se as UnorderedListNode,
64
+ ae as VideoNode,
65
+ re as defineNode,
66
+ de as getNodeCustom,
67
+ te as getNodeDisplayName,
68
+ ne as getNodeInfo,
69
+ Ne as getNodeRelated,
70
+ ue as getNodeResolved,
71
+ ie as isNodeSelectable,
72
+ pe as parseNumber,
73
+ me as parseSvgString,
74
+ Pe as registerNodeRelated,
75
+ ce as toResponsiveCss,
76
+ le as useAccordionGroupNodeProps,
77
+ ge as useAccordionNodeProps,
78
+ be as useBoxNodeProps,
79
+ fe as useButtonNodeProps,
80
+ ve as useCellNodeProps,
81
+ Ie as useComposer,
82
+ Ce as useContainerNodeProps,
83
+ Le as useCountdownTimerNodeProps,
84
+ Te as useFlexItemNodeProps,
85
+ xe as useFlexboxNodeProps,
86
+ Se as useGridNodeProps,
87
+ Ae as useHeadingNodeProps,
88
+ Ee as useIconNodeProps,
89
+ we as useImageNodeProps,
90
+ Re as useLinkNodeProps,
91
+ f as useListItemNodeProps,
92
+ he as useMarqueeNodeProps,
93
+ n as useNode,
94
+ g as useNodeContentEditable,
95
+ Fe as useNodeDataAttributes,
96
+ t as useNodeProps,
97
+ ke as useParagraphNodeProps,
98
+ qe as useSwiperNodeProps,
99
+ Be as useTabNodeProps,
100
+ b as useTabPanelNodeProps,
101
+ Ge as useTabsNodeProps,
102
+ He as useUnorderedListNodeProps,
103
+ Me as useVideoNodeProps
96
104
  };
@@ -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;