@measured/puck 0.20.2-canary.fbf3bd10 → 0.20.2
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/{chunk-62KOMFGG.mjs → chunk-OOLYDXKW.mjs} +1 -1
- package/dist/{chunk-QKEXKJHQ.mjs → chunk-QIGVND56.mjs} +8 -3
- package/dist/index.js +8 -3
- package/dist/index.mjs +2 -2
- package/dist/no-external.js +8 -3
- package/dist/no-external.mjs +2 -2
- package/dist/rsc.js +1 -1
- package/dist/rsc.mjs +1 -1
- package/package.json +1 -1
|
@@ -702,7 +702,7 @@ var resolveComponentData = (_0, _1, ..._2) => __async(void 0, [_0, _1, ..._2], f
|
|
|
702
702
|
const id = "id" in item.props ? item.props.id : "root";
|
|
703
703
|
if (shouldRunResolver) {
|
|
704
704
|
const { item: oldItem = null, resolved = {} } = cache.lastChange[id] || {};
|
|
705
|
-
if (item && fdeq2(item, oldItem)) {
|
|
705
|
+
if (trigger !== "force" && item && fdeq2(item, oldItem)) {
|
|
706
706
|
return { node: resolved, didChange: false };
|
|
707
707
|
}
|
|
708
708
|
const changed = getChanged(item, oldItem);
|
|
@@ -24,7 +24,7 @@ import {
|
|
|
24
24
|
walkAppState,
|
|
25
25
|
walkField,
|
|
26
26
|
walkTree
|
|
27
|
-
} from "./chunk-
|
|
27
|
+
} from "./chunk-OOLYDXKW.mjs";
|
|
28
28
|
|
|
29
29
|
// ../../node_modules/classnames/index.js
|
|
30
30
|
var require_classnames = __commonJS({
|
|
@@ -6760,7 +6760,13 @@ var useComponentList = () => {
|
|
|
6760
6760
|
let _componentList;
|
|
6761
6761
|
_componentList = Object.entries(uiComponentList).map(
|
|
6762
6762
|
([categoryKey, category]) => {
|
|
6763
|
-
if (
|
|
6763
|
+
if (!category.components) {
|
|
6764
|
+
return null;
|
|
6765
|
+
}
|
|
6766
|
+
category.components.forEach((componentName) => {
|
|
6767
|
+
matchedComponents.push(componentName);
|
|
6768
|
+
});
|
|
6769
|
+
if (category.visible === false) {
|
|
6764
6770
|
return null;
|
|
6765
6771
|
}
|
|
6766
6772
|
return /* @__PURE__ */ jsx31(
|
|
@@ -6770,7 +6776,6 @@ var useComponentList = () => {
|
|
|
6770
6776
|
title: category.title || categoryKey,
|
|
6771
6777
|
children: category.components.map((componentName, i) => {
|
|
6772
6778
|
var _a2;
|
|
6773
|
-
matchedComponents.push(componentName);
|
|
6774
6779
|
const componentConf = config.components[componentName] || {};
|
|
6775
6780
|
return /* @__PURE__ */ jsx31(
|
|
6776
6781
|
ComponentList.Item,
|
package/dist/index.js
CHANGED
|
@@ -2152,7 +2152,7 @@ var resolveComponentData = (_0, _1, ..._2) => __async(void 0, [_0, _1, ..._2], f
|
|
|
2152
2152
|
const id = "id" in item.props ? item.props.id : "root";
|
|
2153
2153
|
if (shouldRunResolver) {
|
|
2154
2154
|
const { item: oldItem = null, resolved = {} } = cache.lastChange[id] || {};
|
|
2155
|
-
if (item && (0, import_fast_deep_equal2.default)(item, oldItem)) {
|
|
2155
|
+
if (trigger !== "force" && item && (0, import_fast_deep_equal2.default)(item, oldItem)) {
|
|
2156
2156
|
return { node: resolved, didChange: false };
|
|
2157
2157
|
}
|
|
2158
2158
|
const changed = getChanged(item, oldItem);
|
|
@@ -7381,7 +7381,13 @@ var useComponentList = () => {
|
|
|
7381
7381
|
let _componentList;
|
|
7382
7382
|
_componentList = Object.entries(uiComponentList).map(
|
|
7383
7383
|
([categoryKey, category]) => {
|
|
7384
|
-
if (
|
|
7384
|
+
if (!category.components) {
|
|
7385
|
+
return null;
|
|
7386
|
+
}
|
|
7387
|
+
category.components.forEach((componentName) => {
|
|
7388
|
+
matchedComponents.push(componentName);
|
|
7389
|
+
});
|
|
7390
|
+
if (category.visible === false) {
|
|
7385
7391
|
return null;
|
|
7386
7392
|
}
|
|
7387
7393
|
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
@@ -7391,7 +7397,6 @@ var useComponentList = () => {
|
|
|
7391
7397
|
title: category.title || categoryKey,
|
|
7392
7398
|
children: category.components.map((componentName, i) => {
|
|
7393
7399
|
var _a2;
|
|
7394
|
-
matchedComponents.push(componentName);
|
|
7395
7400
|
const componentConf = config.components[componentName] || {};
|
|
7396
7401
|
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
7397
7402
|
ComponentList.Item,
|
package/dist/index.mjs
CHANGED
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
setDeep,
|
|
19
19
|
useGetPuck,
|
|
20
20
|
usePuck
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-QIGVND56.mjs";
|
|
22
22
|
import {
|
|
23
23
|
init_react_import,
|
|
24
24
|
migrate,
|
|
25
25
|
resolveAllData,
|
|
26
26
|
transformProps,
|
|
27
27
|
walkTree
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-OOLYDXKW.mjs";
|
|
29
29
|
|
|
30
30
|
// bundle/index.ts
|
|
31
31
|
init_react_import();
|
package/dist/no-external.js
CHANGED
|
@@ -2152,7 +2152,7 @@ var resolveComponentData = (_0, _1, ..._2) => __async(void 0, [_0, _1, ..._2], f
|
|
|
2152
2152
|
const id = "id" in item.props ? item.props.id : "root";
|
|
2153
2153
|
if (shouldRunResolver) {
|
|
2154
2154
|
const { item: oldItem = null, resolved = {} } = cache.lastChange[id] || {};
|
|
2155
|
-
if (item && (0, import_fast_deep_equal2.default)(item, oldItem)) {
|
|
2155
|
+
if (trigger !== "force" && item && (0, import_fast_deep_equal2.default)(item, oldItem)) {
|
|
2156
2156
|
return { node: resolved, didChange: false };
|
|
2157
2157
|
}
|
|
2158
2158
|
const changed = getChanged(item, oldItem);
|
|
@@ -7381,7 +7381,13 @@ var useComponentList = () => {
|
|
|
7381
7381
|
let _componentList;
|
|
7382
7382
|
_componentList = Object.entries(uiComponentList).map(
|
|
7383
7383
|
([categoryKey, category]) => {
|
|
7384
|
-
if (
|
|
7384
|
+
if (!category.components) {
|
|
7385
|
+
return null;
|
|
7386
|
+
}
|
|
7387
|
+
category.components.forEach((componentName) => {
|
|
7388
|
+
matchedComponents.push(componentName);
|
|
7389
|
+
});
|
|
7390
|
+
if (category.visible === false) {
|
|
7385
7391
|
return null;
|
|
7386
7392
|
}
|
|
7387
7393
|
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
@@ -7391,7 +7397,6 @@ var useComponentList = () => {
|
|
|
7391
7397
|
title: category.title || categoryKey,
|
|
7392
7398
|
children: category.components.map((componentName, i) => {
|
|
7393
7399
|
var _a2;
|
|
7394
|
-
matchedComponents.push(componentName);
|
|
7395
7400
|
const componentConf = config.components[componentName] || {};
|
|
7396
7401
|
return /* @__PURE__ */ (0, import_jsx_runtime32.jsx)(
|
|
7397
7402
|
ComponentList.Item,
|
package/dist/no-external.mjs
CHANGED
|
@@ -18,14 +18,14 @@ import {
|
|
|
18
18
|
setDeep,
|
|
19
19
|
useGetPuck,
|
|
20
20
|
usePuck
|
|
21
|
-
} from "./chunk-
|
|
21
|
+
} from "./chunk-QIGVND56.mjs";
|
|
22
22
|
import {
|
|
23
23
|
init_react_import,
|
|
24
24
|
migrate,
|
|
25
25
|
resolveAllData,
|
|
26
26
|
transformProps,
|
|
27
27
|
walkTree
|
|
28
|
-
} from "./chunk-
|
|
28
|
+
} from "./chunk-OOLYDXKW.mjs";
|
|
29
29
|
|
|
30
30
|
// bundle/no-external.ts
|
|
31
31
|
init_react_import();
|
package/dist/rsc.js
CHANGED
|
@@ -481,7 +481,7 @@ var resolveComponentData = (_0, _1, ..._2) => __async(void 0, [_0, _1, ..._2], f
|
|
|
481
481
|
const id = "id" in item.props ? item.props.id : "root";
|
|
482
482
|
if (shouldRunResolver) {
|
|
483
483
|
const { item: oldItem = null, resolved = {} } = cache.lastChange[id] || {};
|
|
484
|
-
if (item && (0, import_fast_deep_equal2.default)(item, oldItem)) {
|
|
484
|
+
if (trigger !== "force" && item && (0, import_fast_deep_equal2.default)(item, oldItem)) {
|
|
485
485
|
return { node: resolved, didChange: false };
|
|
486
486
|
}
|
|
487
487
|
const changed = getChanged(item, oldItem);
|
package/dist/rsc.mjs
CHANGED