@agnos-ui/react-headless 0.8.0-next.0 → 0.8.0-next.1

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/config.js CHANGED
@@ -3,8 +3,8 @@ import { createWidgetsConfig } from "@agnos-ui/core/config";
3
3
  export * from "@agnos-ui/core/config";
4
4
  import { computed } from "@amadeus-it-group/tansu";
5
5
  import { createContext, useContext, useMemo } from "react";
6
- import { u as useWidget } from "./widget-6VfcHB3W.js";
7
- import { b as usePropsAsStore } from "./stores-DtfLvXAE.js";
6
+ import { u as useWidget } from "./widget-BP6z-zfB.js";
7
+ import { b as usePropsAsStore } from "./stores-DZalyTTa.js";
8
8
  const widgetsConfigFactory = (WidgetsConfigContext2 = createContext(void 0)) => {
9
9
  const useWidgetContext2 = (widgetName, defaultConfig) => {
10
10
  const widgetsConfig = useContext(WidgetsConfigContext2);
@@ -1,4 +1,4 @@
1
- import { u, a, b } from "../../stores-DtfLvXAE.js";
1
+ import { u, a, b } from "../../stores-DZalyTTa.js";
2
2
  export * from "@agnos-ui/core/utils/stores";
3
3
  export {
4
4
  u as useObservable,
@@ -1,4 +1,4 @@
1
- import { u } from "../../widget-6VfcHB3W.js";
1
+ import { u } from "../../widget-BP6z-zfB.js";
2
2
  export {
3
3
  u as useWidget
4
4
  };
package/index.js CHANGED
@@ -14,14 +14,14 @@ export * from "@agnos-ui/core/services/transitions/collapse";
14
14
  export * from "@agnos-ui/core/services/transitions/baseTransitions";
15
15
  export * from "@agnos-ui/core/utils/writables";
16
16
  export * from "@agnos-ui/core/utils/stores";
17
- import { u, a, b } from "./stores-DtfLvXAE.js";
17
+ import { u, a, b } from "./stores-DZalyTTa.js";
18
18
  export * from "@agnos-ui/core/utils/func";
19
19
  export * from "@agnos-ui/core/utils/directive";
20
20
  import { d, s, u as u2, a as a2 } from "./directive-CEErjM5c.js";
21
21
  export * from "@agnos-ui/core/types";
22
22
  export * from "@agnos-ui/core/config";
23
23
  import { WidgetsConfigContext, WidgetsDefaultConfig, useWidgetContext, useWidgetWithConfig, widgetsConfigFactory } from "./config.js";
24
- import { u as u3 } from "./widget-6VfcHB3W.js";
24
+ import { u as u3 } from "./widget-BP6z-zfB.js";
25
25
  import { P } from "./portal-CX8X69NK.js";
26
26
  import { Slot } from "./slot.js";
27
27
  export * from "@agnos-ui/core/components/tree";
package/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@agnos-ui/react-headless",
3
3
  "description": "Headless component library for React.",
4
- "version": "0.8.0-next.0",
4
+ "version": "0.8.0-next.1",
5
5
  "type": "module",
6
6
  "main": "./index.cjs",
7
7
  "module": "./index.js",
@@ -49,7 +49,7 @@
49
49
  }
50
50
  },
51
51
  "dependencies": {
52
- "@agnos-ui/core": "0.8.0-next.0"
52
+ "@agnos-ui/core": "0.8.0-next.1"
53
53
  },
54
54
  "peerDependencies": {
55
55
  "@amadeus-it-group/tansu": "^2.0.0",
@@ -1,5 +1,5 @@
1
1
  import { findChangedProperties } from "@agnos-ui/core/utils/stores";
2
- import { computed, writable, asReadable } from "@amadeus-it-group/tansu";
2
+ import { writable, asReadable, computed } from "@amadeus-it-group/tansu";
3
3
  import { useState, useMemo, useEffect, useRef } from "react";
4
4
  let queue;
5
5
  const processQueue = () => {
@@ -1,6 +1,6 @@
1
1
  import { findChangedProperties } from "@agnos-ui/core/utils/stores";
2
2
  import { useMemo, useRef } from "react";
3
- import { a as useObservablesProxy } from "./stores-DtfLvXAE.js";
3
+ import { a as useObservablesProxy } from "./stores-DZalyTTa.js";
4
4
  function useWidget(createWidget, props = {}, propsConfig) {
5
5
  const coreWidget = useMemo(() => createWidget({ ...propsConfig, props: { ...propsConfig == null ? void 0 : propsConfig.props, ...props } }), []);
6
6
  const previousProps = useRef(props);