@janbox/storefront-builder 2.0.3 → 2.0.4
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.
- package/dist/{countdown-timer.node-CZrTzirS.js → countdown-timer.node-CZA-i5xq.js} +1001 -1043
- package/dist/editor/ui/floating/wb-floating/types.d.ts +2 -2
- package/dist/editor/ui/floating/wb-floating/wb-floating.d.ts +2 -0
- package/dist/editor.js +702 -662
- package/dist/hooks/use-composer.d.ts +464 -0
- package/dist/index-B58cYfCo.js +4 -0
- package/dist/{index-CdI5y-ul.js → index-ekIAycpt.js} +2 -2
- package/dist/index.js +4 -4
- package/dist/lib/accordion/accordion.node/helpers.d.ts +3 -0
- package/dist/lib/accordion-group/accordion-group.node/helpers.d.ts +3 -0
- package/dist/lib/box/box.node/helpers.d.ts +3 -0
- package/dist/lib/button/button.node/helpers.d.ts +3 -0
- package/dist/lib/cell/cell.node/helpers.d.ts +3 -0
- package/dist/lib/container/container.node/helpers.d.ts +3 -0
- package/dist/lib/countdown-timer/countdown-timer.node/helpers.d.ts +3 -0
- package/dist/lib/flex-item/flex-item.node/helpers.d.ts +3 -0
- package/dist/lib/flexbox/flexbox.node/helpers.d.ts +3 -0
- package/dist/lib/grid/grid.node/helpers.d.ts +3 -0
- package/dist/lib/heading/heading.node/helpers.d.ts +3 -0
- package/dist/lib/icon/icon.node/helpers.d.ts +3 -0
- package/dist/lib/image/image.node/helpers.d.ts +3 -0
- package/dist/lib/link/link.node/helpers.d.ts +3 -0
- package/dist/lib/list-item/list-item.node/helpers.d.ts +3 -0
- package/dist/lib/marquee/marquee.node/helpers.d.ts +3 -0
- package/dist/lib/paragraph/paragraph.node/helpers.d.ts +3 -0
- package/dist/lib/swiper/swiper.node/helpers.d.ts +3 -0
- package/dist/lib/tab/tab.node/helpers.d.ts +3 -0
- package/dist/lib/tab-panel/tab-panel.node/helpers.d.ts +3 -0
- package/dist/lib/tabs/tabs.node/helpers.d.ts +3 -0
- package/dist/lib/unordered-list/unordered-list.node/helpers.d.ts +3 -0
- package/dist/lib/video/video.node/helpers.d.ts +3 -0
- package/dist/templates.js +1 -1
- package/dist/{tooltip-npH7aBjY.js → tooltip-BFrdgixm.js} +1 -1
- package/package.json +2 -1
- package/dist/index-B1b2lC5K.js +0 -4
package/dist/templates.js
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
import { jsx as e, jsxs as o, Fragment as c } from "@emotion/react/jsx-runtime";
|
|
2
2
|
import { getColorVar as u } from "@janbox/storefront-ui/theme";
|
|
3
3
|
import { renderToString as p } from "react-dom/server";
|
|
4
|
-
import { C as s, G as h, a, H as d, P as t, B as x, I as g, A as f, M as T, b as y, c as n, d as r, e as i } from "./countdown-timer.node-
|
|
4
|
+
import { C as s, G as h, a, H as d, P as t, B as x, I as g, A as f, M as T, b as y, c as n, d as r, e as i } from "./countdown-timer.node-CZA-i5xq.js";
|
|
5
5
|
import "@craftjs/core";
|
|
6
6
|
import "lodash-es";
|
|
7
7
|
import "react";
|
|
@@ -4,7 +4,7 @@ import { useFloating as P, autoUpdate as S, flip as j, offset as V, size as W, a
|
|
|
4
4
|
import { get as L } from "lodash-es";
|
|
5
5
|
import { FLOATING_Z_INDEX as U } from "@janbox/storefront-ui/theme";
|
|
6
6
|
import { useControllableState as X } from "@janbox/storefront-ui/hooks";
|
|
7
|
-
import { t as o } from "./countdown-timer.node-
|
|
7
|
+
import { t as o } from "./countdown-timer.node-CZA-i5xq.js";
|
|
8
8
|
const Y = ({ placement: d = "top", open: p, onOpenChange: c, children: e, content: m }) => {
|
|
9
9
|
const [n, u] = X({
|
|
10
10
|
defaultValue: !1,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@janbox/storefront-builder",
|
|
3
|
-
"version": "2.0.
|
|
3
|
+
"version": "2.0.4",
|
|
4
4
|
"description": "Standalone storefront builder library extracted from craft-layers-portal",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"files": [
|
|
@@ -33,6 +33,7 @@
|
|
|
33
33
|
"dependencies": {
|
|
34
34
|
"@craftjs/core": "^0.2.12",
|
|
35
35
|
"@craftjs/layers": "^0.2.7",
|
|
36
|
+
"@craftjs/utils": "^0.2.5",
|
|
36
37
|
"@emotion/react": "^11.14.0",
|
|
37
38
|
"@floating-ui/react": "^0.27.13",
|
|
38
39
|
"@hello-pangea/dnd": "^18.0.1",
|
package/dist/index-B1b2lC5K.js
DELETED