@almadar/ui 3.5.5 → 3.6.0

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.
@@ -40894,6 +40894,9 @@ function useUIEvents(dispatch, validEvents, eventBusInstance) {
40894
40894
  };
40895
40895
  unsubscribes.push(eventBus.on(`${UI_PREFIX}${smEvent}`, prefixedHandler));
40896
40896
  const directHandler = (event) => {
40897
+ if (event.source && event.source.fromBridge) {
40898
+ return;
40899
+ }
40897
40900
  dispatch(smEvent, event.payload);
40898
40901
  };
40899
40902
  unsubscribes.push(eventBus.on(smEvent, directHandler));
@@ -40849,6 +40849,9 @@ function useUIEvents(dispatch, validEvents, eventBusInstance) {
40849
40849
  };
40850
40850
  unsubscribes.push(eventBus.on(`${UI_PREFIX}${smEvent}`, prefixedHandler));
40851
40851
  const directHandler = (event) => {
40852
+ if (event.source && event.source.fromBridge) {
40853
+ return;
40854
+ }
40852
40855
  dispatch(smEvent, event.payload);
40853
40856
  };
40854
40857
  unsubscribes.push(eventBus.on(smEvent, directHandler));
@@ -1254,6 +1254,9 @@ function useUIEvents(dispatch, validEvents, eventBusInstance) {
1254
1254
  };
1255
1255
  unsubscribes.push(eventBus.on(`${UI_PREFIX}${smEvent}`, prefixedHandler));
1256
1256
  const directHandler = (event) => {
1257
+ if (event.source && event.source.fromBridge) {
1258
+ return;
1259
+ }
1257
1260
  dispatch(smEvent, event.payload);
1258
1261
  };
1259
1262
  unsubscribes.push(eventBus.on(smEvent, directHandler));
@@ -1248,6 +1248,9 @@ function useUIEvents(dispatch, validEvents, eventBusInstance) {
1248
1248
  };
1249
1249
  unsubscribes.push(eventBus.on(`${UI_PREFIX}${smEvent}`, prefixedHandler));
1250
1250
  const directHandler = (event) => {
1251
+ if (event.source && event.source.fromBridge) {
1252
+ return;
1253
+ }
1251
1254
  dispatch(smEvent, event.payload);
1252
1255
  };
1253
1256
  unsubscribes.push(eventBus.on(smEvent, directHandler));
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@almadar/ui",
3
- "version": "3.5.5",
3
+ "version": "3.6.0",
4
4
  "description": "React UI components, hooks, and providers for Almadar",
5
5
  "type": "module",
6
6
  "main": "./dist/components/index.js",
@@ -118,7 +118,7 @@
118
118
  "access": "public"
119
119
  },
120
120
  "dependencies": {
121
- "@almadar/core": ">=5.6.1",
121
+ "@almadar/core": ">=5.7.0",
122
122
  "@almadar/evaluator": ">=2.9.2",
123
123
  "@almadar/patterns": ">=2.17.1",
124
124
  "@almadar/runtime": ">=4.3.0",