@agnos-ui/react-headless 0.10.0-next.4 → 0.10.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.
- package/generated/index.d.ts +2 -2
- package/index.cjs +20 -20
- package/index.js +3 -3
- package/package.json +2 -2
package/generated/index.d.ts
CHANGED
|
@@ -14,13 +14,13 @@ export * from './services/transitions/simpleClassTransition';
|
|
|
14
14
|
export * from './services/transitions/cssTransitions';
|
|
15
15
|
export * from './services/transitions/collapse';
|
|
16
16
|
export * from './services/transitions/baseTransitions';
|
|
17
|
+
export * from './types';
|
|
18
|
+
export * from './config';
|
|
17
19
|
export * from './utils/writables';
|
|
18
20
|
export * from './utils/widget';
|
|
19
21
|
export * from './utils/stores';
|
|
20
22
|
export * from './utils/func';
|
|
21
23
|
export * from './utils/directive';
|
|
22
|
-
export * from './types';
|
|
23
|
-
export * from './config';
|
|
24
24
|
export * from './components/tree/index';
|
|
25
25
|
export * from './components/toast/index';
|
|
26
26
|
export * from './components/slider/index';
|
package/index.cjs
CHANGED
|
@@ -16,6 +16,9 @@ const simpleClassTransition = require("@agnos-ui/core/services/transitions/simpl
|
|
|
16
16
|
const cssTransitions = require("@agnos-ui/core/services/transitions/cssTransitions");
|
|
17
17
|
const collapse = require("@agnos-ui/core/services/transitions/collapse");
|
|
18
18
|
const baseTransitions = require("@agnos-ui/core/services/transitions/baseTransitions");
|
|
19
|
+
const types = require("@agnos-ui/core/types");
|
|
20
|
+
const config$1 = require("@agnos-ui/core/config");
|
|
21
|
+
const config = require("./config.cjs");
|
|
19
22
|
const writables = require("@agnos-ui/core/utils/writables");
|
|
20
23
|
const widget$1 = require("@agnos-ui/core/utils/widget");
|
|
21
24
|
const widget = require("./widget-ClcZWw9S.cjs");
|
|
@@ -24,9 +27,6 @@ const stores = require("./stores-DPOTvwx1.cjs");
|
|
|
24
27
|
const func = require("@agnos-ui/core/utils/func");
|
|
25
28
|
const directive$1 = require("@agnos-ui/core/utils/directive");
|
|
26
29
|
const directive = require("./directive-C1WhTndu.cjs");
|
|
27
|
-
const types = require("@agnos-ui/core/types");
|
|
28
|
-
const config$1 = require("@agnos-ui/core/config");
|
|
29
|
-
const config = require("./config.cjs");
|
|
30
30
|
const tree = require("@agnos-ui/core/components/tree");
|
|
31
31
|
const toasterProvider = require("./toasterProvider-CYgzar_d.cjs");
|
|
32
32
|
const toast = require("@agnos-ui/core/components/toast");
|
|
@@ -43,6 +43,11 @@ const alert = require("@agnos-ui/core/components/alert");
|
|
|
43
43
|
const accordion = require("@agnos-ui/core/components/accordion");
|
|
44
44
|
const portal$1 = require("./portal-B0Q5KLrA.cjs");
|
|
45
45
|
const slot = require("./slot.cjs");
|
|
46
|
+
exports.WidgetsConfigContext = config.WidgetsConfigContext;
|
|
47
|
+
exports.WidgetsDefaultConfig = config.WidgetsDefaultConfig;
|
|
48
|
+
exports.useWidget = config.useWidget;
|
|
49
|
+
exports.useWidgetContext = config.useWidgetContext;
|
|
50
|
+
exports.widgetsConfigFactory = config.widgetsConfigFactory;
|
|
46
51
|
exports.useWidgetWithConfig = widget.useWidgetWithConfig;
|
|
47
52
|
exports.useObservable = stores.useObservable;
|
|
48
53
|
exports.useObservablesProxy = stores.useObservablesProxy;
|
|
@@ -51,11 +56,6 @@ exports.directiveAttributes = directive.directiveAttributes;
|
|
|
51
56
|
exports.ssrAttributes = directive.ssrAttributes;
|
|
52
57
|
exports.useDirective = directive.useDirective;
|
|
53
58
|
exports.useDirectives = directive.useDirectives;
|
|
54
|
-
exports.WidgetsConfigContext = config.WidgetsConfigContext;
|
|
55
|
-
exports.WidgetsDefaultConfig = config.WidgetsDefaultConfig;
|
|
56
|
-
exports.useWidget = config.useWidget;
|
|
57
|
-
exports.useWidgetContext = config.useWidgetContext;
|
|
58
|
-
exports.widgetsConfigFactory = config.widgetsConfigFactory;
|
|
59
59
|
exports.ToasterProvider = toasterProvider.ToasterProvider;
|
|
60
60
|
exports.useCreateToaster = toasterProvider.useCreateToaster;
|
|
61
61
|
exports.useToaster = toasterProvider.useToaster;
|
|
@@ -157,6 +157,18 @@ Object.keys(baseTransitions).forEach((k) => {
|
|
|
157
157
|
get: () => baseTransitions[k]
|
|
158
158
|
});
|
|
159
159
|
});
|
|
160
|
+
Object.keys(types).forEach((k) => {
|
|
161
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
162
|
+
enumerable: true,
|
|
163
|
+
get: () => types[k]
|
|
164
|
+
});
|
|
165
|
+
});
|
|
166
|
+
Object.keys(config$1).forEach((k) => {
|
|
167
|
+
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
168
|
+
enumerable: true,
|
|
169
|
+
get: () => config$1[k]
|
|
170
|
+
});
|
|
171
|
+
});
|
|
160
172
|
Object.keys(writables).forEach((k) => {
|
|
161
173
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
162
174
|
enumerable: true,
|
|
@@ -187,18 +199,6 @@ Object.keys(directive$1).forEach((k) => {
|
|
|
187
199
|
get: () => directive$1[k]
|
|
188
200
|
});
|
|
189
201
|
});
|
|
190
|
-
Object.keys(types).forEach((k) => {
|
|
191
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
192
|
-
enumerable: true,
|
|
193
|
-
get: () => types[k]
|
|
194
|
-
});
|
|
195
|
-
});
|
|
196
|
-
Object.keys(config$1).forEach((k) => {
|
|
197
|
-
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
198
|
-
enumerable: true,
|
|
199
|
-
get: () => config$1[k]
|
|
200
|
-
});
|
|
201
|
-
});
|
|
202
202
|
Object.keys(tree).forEach((k) => {
|
|
203
203
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
204
204
|
enumerable: true,
|
package/index.js
CHANGED
|
@@ -14,6 +14,9 @@ export * from "@agnos-ui/core/services/transitions/simpleClassTransition";
|
|
|
14
14
|
export * from "@agnos-ui/core/services/transitions/cssTransitions";
|
|
15
15
|
export * from "@agnos-ui/core/services/transitions/collapse";
|
|
16
16
|
export * from "@agnos-ui/core/services/transitions/baseTransitions";
|
|
17
|
+
export * from "@agnos-ui/core/types";
|
|
18
|
+
export * from "@agnos-ui/core/config";
|
|
19
|
+
import { WidgetsConfigContext, WidgetsDefaultConfig, useWidget, useWidgetContext, widgetsConfigFactory } from "./config.js";
|
|
17
20
|
export * from "@agnos-ui/core/utils/writables";
|
|
18
21
|
export * from "@agnos-ui/core/utils/widget";
|
|
19
22
|
import { u } from "./widget-D80Xk-XZ.js";
|
|
@@ -22,9 +25,6 @@ import { u as u2, a, b } from "./stores-BWQ6d_4B.js";
|
|
|
22
25
|
export * from "@agnos-ui/core/utils/func";
|
|
23
26
|
export * from "@agnos-ui/core/utils/directive";
|
|
24
27
|
import { d, s, u as u3, a as a2 } from "./directive-Ds3K8r_f.js";
|
|
25
|
-
export * from "@agnos-ui/core/types";
|
|
26
|
-
export * from "@agnos-ui/core/config";
|
|
27
|
-
import { WidgetsConfigContext, WidgetsDefaultConfig, useWidget, useWidgetContext, widgetsConfigFactory } from "./config.js";
|
|
28
28
|
export * from "@agnos-ui/core/components/tree";
|
|
29
29
|
import { T, u as u4, a as a3 } from "./toasterProvider-CzmXu8rV.js";
|
|
30
30
|
export * from "@agnos-ui/core/components/toast";
|
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.10.0
|
|
4
|
+
"version": "0.10.0",
|
|
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.10.0
|
|
52
|
+
"@agnos-ui/core": "0.10.0"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@amadeus-it-group/tansu": "^2.0.0",
|