@simple-builder/react 1.0.1 → 1.0.3
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/build-container-client-MHVIH442.js +1318 -0
- package/dist/build-container-client-QJL5MQR6.css +1123 -0
- package/dist/build-container-client-R2FNJHPM.mjs +1287 -0
- package/dist/{builder-content-4E6TBF6O.js → builder-content-BOQEXOAK.js} +7 -8
- package/dist/{builder-content-DEBYN2B4.mjs → builder-content-MNCJZTFS.mjs} +3 -4
- package/dist/builder-content-YW6SKGMM.css +1123 -0
- package/dist/{chunk-7K7IGTF3.mjs → chunk-FGQSJAOO.mjs} +13 -1
- package/dist/{chunk-AAKS5YHL.js → chunk-GSOMMLCG.js} +13 -10
- package/dist/chunk-IVFWYNC3.mjs +20 -0
- package/dist/{chunk-YHA5XZL4.mjs → chunk-LPIHSXYO.mjs} +12 -9
- package/dist/{chunk-W544L5I2.js → chunk-N2X3IJBG.js} +16 -12
- package/dist/chunk-UZFAGH6G.js +74 -0
- package/dist/index.css +260 -269
- package/dist/index.js +12 -40
- package/dist/index.mjs +2 -22
- package/package.json +11 -11
- package/dist/build-container-client-6LLYJPDM.mjs +0 -1268
- package/dist/build-container-client-DICNH7KJ.js +0 -1302
- package/dist/chunk-6C6XHDMD.mjs +0 -16
- package/dist/chunk-VMHWPKU4.js +0 -42
package/dist/index.js
CHANGED
|
@@ -1,51 +1,23 @@
|
|
|
1
1
|
'use strict';
|
|
2
2
|
|
|
3
|
-
var
|
|
4
|
-
var
|
|
5
|
-
var React = require('react');
|
|
3
|
+
var chunkN2X3IJBG_js = require('./chunk-N2X3IJBG.js');
|
|
4
|
+
var chunkUZFAGH6G_js = require('./chunk-UZFAGH6G.js');
|
|
6
5
|
|
|
7
|
-
function _interopNamespace(e) {
|
|
8
|
-
if (e && e.__esModule) return e;
|
|
9
|
-
var n = Object.create(null);
|
|
10
|
-
if (e) {
|
|
11
|
-
Object.keys(e).forEach(function (k) {
|
|
12
|
-
if (k !== 'default') {
|
|
13
|
-
var d = Object.getOwnPropertyDescriptor(e, k);
|
|
14
|
-
Object.defineProperty(n, k, d.get ? d : {
|
|
15
|
-
enumerable: true,
|
|
16
|
-
get: function () { return e[k]; }
|
|
17
|
-
});
|
|
18
|
-
}
|
|
19
|
-
});
|
|
20
|
-
}
|
|
21
|
-
n.default = e;
|
|
22
|
-
return Object.freeze(n);
|
|
23
|
-
}
|
|
24
6
|
|
|
25
|
-
var React__namespace = /*#__PURE__*/_interopNamespace(React);
|
|
26
|
-
|
|
27
|
-
var StaticContent = (props) => {
|
|
28
|
-
return /* @__PURE__ */ React__namespace.createElement(
|
|
29
|
-
chunkW544L5I2_js.BuildContainer,
|
|
30
|
-
{
|
|
31
|
-
name: "root",
|
|
32
|
-
edit: false,
|
|
33
|
-
multiple: true,
|
|
34
|
-
content: props.content || []
|
|
35
|
-
}
|
|
36
|
-
);
|
|
37
|
-
};
|
|
38
|
-
|
|
39
|
-
// src/index.ts
|
|
40
|
-
var BuilderContent = React.lazy(() => import('./builder-content-4E6TBF6O.js'));
|
|
41
7
|
|
|
8
|
+
Object.defineProperty(exports, "BuilderContent", {
|
|
9
|
+
enumerable: true,
|
|
10
|
+
get: function () { return chunkN2X3IJBG_js.BuilderContent; }
|
|
11
|
+
});
|
|
12
|
+
Object.defineProperty(exports, "StaticContent", {
|
|
13
|
+
enumerable: true,
|
|
14
|
+
get: function () { return chunkN2X3IJBG_js.StaticContent; }
|
|
15
|
+
});
|
|
42
16
|
Object.defineProperty(exports, "BuildContainer", {
|
|
43
17
|
enumerable: true,
|
|
44
|
-
get: function () { return
|
|
18
|
+
get: function () { return chunkUZFAGH6G_js.BuildContainer; }
|
|
45
19
|
});
|
|
46
20
|
Object.defineProperty(exports, "builder", {
|
|
47
21
|
enumerable: true,
|
|
48
|
-
get: function () { return
|
|
22
|
+
get: function () { return chunkUZFAGH6G_js.builder; }
|
|
49
23
|
});
|
|
50
|
-
exports.BuilderContent = BuilderContent;
|
|
51
|
-
exports.StaticContent = StaticContent;
|
package/dist/index.mjs
CHANGED
|
@@ -1,22 +1,2 @@
|
|
|
1
|
-
|
|
2
|
-
export { BuildContainer } from './chunk-
|
|
3
|
-
export { builder } from './chunk-7K7IGTF3.mjs';
|
|
4
|
-
import * as React from 'react';
|
|
5
|
-
import { lazy } from 'react';
|
|
6
|
-
|
|
7
|
-
var StaticContent = (props) => {
|
|
8
|
-
return /* @__PURE__ */ React.createElement(
|
|
9
|
-
BuildContainer,
|
|
10
|
-
{
|
|
11
|
-
name: "root",
|
|
12
|
-
edit: false,
|
|
13
|
-
multiple: true,
|
|
14
|
-
content: props.content || []
|
|
15
|
-
}
|
|
16
|
-
);
|
|
17
|
-
};
|
|
18
|
-
|
|
19
|
-
// src/index.ts
|
|
20
|
-
var BuilderContent = lazy(() => import('./builder-content-DEBYN2B4.mjs'));
|
|
21
|
-
|
|
22
|
-
export { BuilderContent, StaticContent };
|
|
1
|
+
export { BuilderContent, StaticContent } from './chunk-IVFWYNC3.mjs';
|
|
2
|
+
export { BuildContainer, builder } from './chunk-FGQSJAOO.mjs';
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@simple-builder/react",
|
|
3
|
-
"version": "1.0.
|
|
3
|
+
"version": "1.0.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "React package for the simple builder package.",
|
|
6
6
|
"repository": "https://github.com/pieter-berkel/simple-builder.git",
|
|
@@ -26,7 +26,7 @@
|
|
|
26
26
|
"dist"
|
|
27
27
|
],
|
|
28
28
|
"dependencies": {
|
|
29
|
-
"@hookform/resolvers": "^3.3.
|
|
29
|
+
"@hookform/resolvers": "^3.3.4",
|
|
30
30
|
"@radix-ui/react-alert-dialog": "^1.0.5",
|
|
31
31
|
"@radix-ui/react-dialog": "^1.0.5",
|
|
32
32
|
"@radix-ui/react-label": "^2.0.2",
|
|
@@ -36,29 +36,29 @@
|
|
|
36
36
|
"@radix-ui/react-tabs": "^1.0.4",
|
|
37
37
|
"@radix-ui/react-toggle": "^1.0.3",
|
|
38
38
|
"class-variance-authority": "^0.7.0",
|
|
39
|
-
"clsx": "^2.
|
|
40
|
-
"date-fns": "^3.0
|
|
41
|
-
"lucide-react": "^0.
|
|
39
|
+
"clsx": "^2.1.0",
|
|
40
|
+
"date-fns": "^3.2.0",
|
|
41
|
+
"lucide-react": "^0.309.0",
|
|
42
42
|
"react-day-picker": "^8.10.0",
|
|
43
|
-
"react-hook-form": "^7.49.
|
|
43
|
+
"react-hook-form": "^7.49.3",
|
|
44
44
|
"server-only": "^0.0.1",
|
|
45
45
|
"tailwind-merge": "^2.2.0",
|
|
46
46
|
"zod": "^3.22.4",
|
|
47
|
-
"@simple-builder/server": "1.0.
|
|
47
|
+
"@simple-builder/server": "1.0.3"
|
|
48
48
|
},
|
|
49
49
|
"peerDependencies": {
|
|
50
50
|
"react": ">=16.8.0",
|
|
51
51
|
"react-dom": ">=16.8.0"
|
|
52
52
|
},
|
|
53
53
|
"devDependencies": {
|
|
54
|
-
"@types/node": "^20.
|
|
55
|
-
"@types/react": "^18.2.
|
|
54
|
+
"@types/node": "^20.11.0",
|
|
55
|
+
"@types/react": "^18.2.47",
|
|
56
56
|
"@types/react-dom": "^18.2.18",
|
|
57
57
|
"autoprefixer": "^10.4.16",
|
|
58
|
-
"postcss": "^8.4.
|
|
58
|
+
"postcss": "^8.4.33",
|
|
59
59
|
"react": "^18.2.0",
|
|
60
60
|
"react-dom": "^18.2.0",
|
|
61
|
-
"tailwindcss": "^3.4.
|
|
61
|
+
"tailwindcss": "^3.4.1",
|
|
62
62
|
"tailwindcss-animate": "^1.0.7",
|
|
63
63
|
"tsup": "^8.0.1",
|
|
64
64
|
"typescript": "5.3.3"
|