@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.
@@ -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; //# sourceMappingURL=index.cjs.map
5752
+ exports.useTemplateFieldContext = useTemplateFieldContext;
5753
+ exports.useTriggerLayoutUpdate = useTriggerLayoutUpdate; //# sourceMappingURL=index.cjs.map
5741
5754
  //# sourceMappingURL=index.cjs.map