@process.co/ui 0.0.11 → 0.0.12
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/components/fields/index.cjs +14 -1
- package/dist/components/fields/index.cjs.map +1 -1
- package/dist/components/fields/index.d.cts +1 -1
- package/dist/components/fields/index.d.ts +1 -1
- package/dist/components/fields/index.js +13 -1
- package/dist/components/fields/index.js.map +1 -1
- package/dist/{index-B-kAG1RW.d.cts → index-ep9HbrZE.d.cts} +26 -2
- package/dist/{index-B-kAG1RW.d.ts → index-ep9HbrZE.d.ts} +26 -2
- package/dist/index.cjs +15 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +1 -1
- package/dist/index.d.ts +1 -1
- package/dist/index.js +15 -0
- package/dist/index.js.map +1 -1
- package/package.json +1 -1
|
@@ -5680,6 +5680,18 @@ function useSetProperty() {
|
|
|
5680
5680
|
devContext
|
|
5681
5681
|
]);
|
|
5682
5682
|
}
|
|
5683
|
+
function useTriggerLayoutUpdate() {
|
|
5684
|
+
var devContext = React4.useContext(DevContext);
|
|
5685
|
+
return React4.useCallback(function() {
|
|
5686
|
+
if (devContext) {
|
|
5687
|
+
console.log("[useTriggerLayoutUpdate] Dev mode - layout update is a no-op");
|
|
5688
|
+
} else {
|
|
5689
|
+
console.warn("[useTriggerLayoutUpdate] No provider - layout update ignored");
|
|
5690
|
+
}
|
|
5691
|
+
}, [
|
|
5692
|
+
devContext
|
|
5693
|
+
]);
|
|
5694
|
+
}
|
|
5683
5695
|
function useFieldValidation() {
|
|
5684
5696
|
var setFieldRequired = React4.useCallback(function(fieldName, required) {
|
|
5685
5697
|
console.warn('[useFieldValidation] Mock mode - cannot set required for "'.concat(fieldName, '"'));
|
|
@@ -5737,5 +5749,6 @@ exports.useNodeProperties = useNodeProperties;
|
|
|
5737
5749
|
exports.useNodeProperty = useNodeProperty;
|
|
5738
5750
|
exports.useSetInferredType = useSetInferredType;
|
|
5739
5751
|
exports.useSetProperty = useSetProperty;
|
|
5740
|
-
exports.useTemplateFieldContext = useTemplateFieldContext;
|
|
5752
|
+
exports.useTemplateFieldContext = useTemplateFieldContext;
|
|
5753
|
+
exports.useTriggerLayoutUpdate = useTriggerLayoutUpdate; //# sourceMappingURL=index.cjs.map
|
|
5741
5754
|
//# sourceMappingURL=index.cjs.map
|