@agnos-ui/react-headless 0.9.0-next.0 → 0.9.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/generated/index.d.ts +10 -10
- package/index.cjs +50 -50
- package/index.js +10 -10
- package/package.json +2 -2
package/generated/index.d.ts
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
export * from './services/siblingsInert';
|
|
2
|
-
export * from './services/resizeObserver';
|
|
3
|
-
export * from './services/portal';
|
|
4
|
-
export * from './services/navManager';
|
|
5
|
-
export * from './services/matchMedia';
|
|
6
|
-
export * from './services/intersection';
|
|
7
|
-
export * from './services/hash';
|
|
8
|
-
export * from './services/focustrack';
|
|
9
|
-
export * from './services/floatingUI';
|
|
10
|
-
export * from './services/extendWidget';
|
|
11
1
|
export * from './services/transitions/simpleClassTransition';
|
|
12
2
|
export * from './services/transitions/cssTransitions';
|
|
13
3
|
export * from './services/transitions/collapse';
|
|
@@ -19,6 +9,16 @@ export * from './utils/func';
|
|
|
19
9
|
export * from './utils/directive';
|
|
20
10
|
export * from './types';
|
|
21
11
|
export * from './config';
|
|
12
|
+
export * from './services/siblingsInert';
|
|
13
|
+
export * from './services/resizeObserver';
|
|
14
|
+
export * from './services/portal';
|
|
15
|
+
export * from './services/navManager';
|
|
16
|
+
export * from './services/matchMedia';
|
|
17
|
+
export * from './services/intersection';
|
|
18
|
+
export * from './services/hash';
|
|
19
|
+
export * from './services/focustrack';
|
|
20
|
+
export * from './services/floatingUI';
|
|
21
|
+
export * from './services/extendWidget';
|
|
22
22
|
export * from './components/tree/index';
|
|
23
23
|
export * from './components/toast/index';
|
|
24
24
|
export * from './components/slider/index';
|
package/index.cjs
CHANGED
|
@@ -1,15 +1,5 @@
|
|
|
1
1
|
"use strict";
|
|
2
2
|
Object.defineProperty(exports, Symbol.toStringTag, { value: "Module" });
|
|
3
|
-
const siblingsInert = require("@agnos-ui/core/services/siblingsInert");
|
|
4
|
-
const resizeObserver = require("@agnos-ui/core/services/resizeObserver");
|
|
5
|
-
const portal = require("@agnos-ui/core/services/portal");
|
|
6
|
-
const navManager = require("@agnos-ui/core/services/navManager");
|
|
7
|
-
const matchMedia = require("@agnos-ui/core/services/matchMedia");
|
|
8
|
-
const intersection = require("@agnos-ui/core/services/intersection");
|
|
9
|
-
const hash = require("@agnos-ui/core/services/hash");
|
|
10
|
-
const focustrack = require("@agnos-ui/core/services/focustrack");
|
|
11
|
-
const floatingUI = require("@agnos-ui/core/services/floatingUI");
|
|
12
|
-
const extendWidget = require("@agnos-ui/core/services/extendWidget");
|
|
13
3
|
const simpleClassTransition = require("@agnos-ui/core/services/transitions/simpleClassTransition");
|
|
14
4
|
const cssTransitions = require("@agnos-ui/core/services/transitions/cssTransitions");
|
|
15
5
|
const collapse = require("@agnos-ui/core/services/transitions/collapse");
|
|
@@ -24,6 +14,16 @@ const directive = require("./directive-3diaW3tS.cjs");
|
|
|
24
14
|
const types = require("@agnos-ui/core/types");
|
|
25
15
|
const config$1 = require("@agnos-ui/core/config");
|
|
26
16
|
const config = require("./config.cjs");
|
|
17
|
+
const siblingsInert = require("@agnos-ui/core/services/siblingsInert");
|
|
18
|
+
const resizeObserver = require("@agnos-ui/core/services/resizeObserver");
|
|
19
|
+
const portal = require("@agnos-ui/core/services/portal");
|
|
20
|
+
const navManager = require("@agnos-ui/core/services/navManager");
|
|
21
|
+
const matchMedia = require("@agnos-ui/core/services/matchMedia");
|
|
22
|
+
const intersection = require("@agnos-ui/core/services/intersection");
|
|
23
|
+
const hash = require("@agnos-ui/core/services/hash");
|
|
24
|
+
const focustrack = require("@agnos-ui/core/services/focustrack");
|
|
25
|
+
const floatingUI = require("@agnos-ui/core/services/floatingUI");
|
|
26
|
+
const extendWidget = require("@agnos-ui/core/services/extendWidget");
|
|
27
27
|
const tree = require("@agnos-ui/core/components/tree");
|
|
28
28
|
const toasterProvider = require("./toasterProvider-BtIHSdiL.cjs");
|
|
29
29
|
const toast = require("@agnos-ui/core/components/toast");
|
|
@@ -56,124 +56,124 @@ exports.useCreateToaster = toasterProvider.useCreateToaster;
|
|
|
56
56
|
exports.useToaster = toasterProvider.useToaster;
|
|
57
57
|
exports.Portal = portal$1.Portal;
|
|
58
58
|
exports.Slot = slot.Slot;
|
|
59
|
-
Object.keys(
|
|
59
|
+
Object.keys(simpleClassTransition).forEach((k) => {
|
|
60
60
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
61
61
|
enumerable: true,
|
|
62
|
-
get: () =>
|
|
62
|
+
get: () => simpleClassTransition[k]
|
|
63
63
|
});
|
|
64
64
|
});
|
|
65
|
-
Object.keys(
|
|
65
|
+
Object.keys(cssTransitions).forEach((k) => {
|
|
66
66
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
67
67
|
enumerable: true,
|
|
68
|
-
get: () =>
|
|
68
|
+
get: () => cssTransitions[k]
|
|
69
69
|
});
|
|
70
70
|
});
|
|
71
|
-
Object.keys(
|
|
71
|
+
Object.keys(collapse).forEach((k) => {
|
|
72
72
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
73
73
|
enumerable: true,
|
|
74
|
-
get: () =>
|
|
74
|
+
get: () => collapse[k]
|
|
75
75
|
});
|
|
76
76
|
});
|
|
77
|
-
Object.keys(
|
|
77
|
+
Object.keys(baseTransitions).forEach((k) => {
|
|
78
78
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
79
79
|
enumerable: true,
|
|
80
|
-
get: () =>
|
|
80
|
+
get: () => baseTransitions[k]
|
|
81
81
|
});
|
|
82
82
|
});
|
|
83
|
-
Object.keys(
|
|
83
|
+
Object.keys(writables).forEach((k) => {
|
|
84
84
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
85
85
|
enumerable: true,
|
|
86
|
-
get: () =>
|
|
86
|
+
get: () => writables[k]
|
|
87
87
|
});
|
|
88
88
|
});
|
|
89
|
-
Object.keys(
|
|
89
|
+
Object.keys(stores$1).forEach((k) => {
|
|
90
90
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
91
91
|
enumerable: true,
|
|
92
|
-
get: () =>
|
|
92
|
+
get: () => stores$1[k]
|
|
93
93
|
});
|
|
94
94
|
});
|
|
95
|
-
Object.keys(
|
|
95
|
+
Object.keys(func).forEach((k) => {
|
|
96
96
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
97
97
|
enumerable: true,
|
|
98
|
-
get: () =>
|
|
98
|
+
get: () => func[k]
|
|
99
99
|
});
|
|
100
100
|
});
|
|
101
|
-
Object.keys(
|
|
101
|
+
Object.keys(directive$1).forEach((k) => {
|
|
102
102
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
103
103
|
enumerable: true,
|
|
104
|
-
get: () =>
|
|
104
|
+
get: () => directive$1[k]
|
|
105
105
|
});
|
|
106
106
|
});
|
|
107
|
-
Object.keys(
|
|
107
|
+
Object.keys(types).forEach((k) => {
|
|
108
108
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
109
109
|
enumerable: true,
|
|
110
|
-
get: () =>
|
|
110
|
+
get: () => types[k]
|
|
111
111
|
});
|
|
112
112
|
});
|
|
113
|
-
Object.keys(
|
|
113
|
+
Object.keys(config$1).forEach((k) => {
|
|
114
114
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
115
115
|
enumerable: true,
|
|
116
|
-
get: () =>
|
|
116
|
+
get: () => config$1[k]
|
|
117
117
|
});
|
|
118
118
|
});
|
|
119
|
-
Object.keys(
|
|
119
|
+
Object.keys(siblingsInert).forEach((k) => {
|
|
120
120
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
121
121
|
enumerable: true,
|
|
122
|
-
get: () =>
|
|
122
|
+
get: () => siblingsInert[k]
|
|
123
123
|
});
|
|
124
124
|
});
|
|
125
|
-
Object.keys(
|
|
125
|
+
Object.keys(resizeObserver).forEach((k) => {
|
|
126
126
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
127
127
|
enumerable: true,
|
|
128
|
-
get: () =>
|
|
128
|
+
get: () => resizeObserver[k]
|
|
129
129
|
});
|
|
130
130
|
});
|
|
131
|
-
Object.keys(
|
|
131
|
+
Object.keys(portal).forEach((k) => {
|
|
132
132
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
133
133
|
enumerable: true,
|
|
134
|
-
get: () =>
|
|
134
|
+
get: () => portal[k]
|
|
135
135
|
});
|
|
136
136
|
});
|
|
137
|
-
Object.keys(
|
|
137
|
+
Object.keys(navManager).forEach((k) => {
|
|
138
138
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
139
139
|
enumerable: true,
|
|
140
|
-
get: () =>
|
|
140
|
+
get: () => navManager[k]
|
|
141
141
|
});
|
|
142
142
|
});
|
|
143
|
-
Object.keys(
|
|
143
|
+
Object.keys(matchMedia).forEach((k) => {
|
|
144
144
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
145
145
|
enumerable: true,
|
|
146
|
-
get: () =>
|
|
146
|
+
get: () => matchMedia[k]
|
|
147
147
|
});
|
|
148
148
|
});
|
|
149
|
-
Object.keys(
|
|
149
|
+
Object.keys(intersection).forEach((k) => {
|
|
150
150
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
151
151
|
enumerable: true,
|
|
152
|
-
get: () =>
|
|
152
|
+
get: () => intersection[k]
|
|
153
153
|
});
|
|
154
154
|
});
|
|
155
|
-
Object.keys(
|
|
155
|
+
Object.keys(hash).forEach((k) => {
|
|
156
156
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
157
157
|
enumerable: true,
|
|
158
|
-
get: () =>
|
|
158
|
+
get: () => hash[k]
|
|
159
159
|
});
|
|
160
160
|
});
|
|
161
|
-
Object.keys(
|
|
161
|
+
Object.keys(focustrack).forEach((k) => {
|
|
162
162
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
163
163
|
enumerable: true,
|
|
164
|
-
get: () =>
|
|
164
|
+
get: () => focustrack[k]
|
|
165
165
|
});
|
|
166
166
|
});
|
|
167
|
-
Object.keys(
|
|
167
|
+
Object.keys(floatingUI).forEach((k) => {
|
|
168
168
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
169
169
|
enumerable: true,
|
|
170
|
-
get: () =>
|
|
170
|
+
get: () => floatingUI[k]
|
|
171
171
|
});
|
|
172
172
|
});
|
|
173
|
-
Object.keys(
|
|
173
|
+
Object.keys(extendWidget).forEach((k) => {
|
|
174
174
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k)) Object.defineProperty(exports, k, {
|
|
175
175
|
enumerable: true,
|
|
176
|
-
get: () =>
|
|
176
|
+
get: () => extendWidget[k]
|
|
177
177
|
});
|
|
178
178
|
});
|
|
179
179
|
Object.keys(tree).forEach((k) => {
|
package/index.js
CHANGED
|
@@ -1,13 +1,3 @@
|
|
|
1
|
-
export * from "@agnos-ui/core/services/siblingsInert";
|
|
2
|
-
export * from "@agnos-ui/core/services/resizeObserver";
|
|
3
|
-
export * from "@agnos-ui/core/services/portal";
|
|
4
|
-
export * from "@agnos-ui/core/services/navManager";
|
|
5
|
-
export * from "@agnos-ui/core/services/matchMedia";
|
|
6
|
-
export * from "@agnos-ui/core/services/intersection";
|
|
7
|
-
export * from "@agnos-ui/core/services/hash";
|
|
8
|
-
export * from "@agnos-ui/core/services/focustrack";
|
|
9
|
-
export * from "@agnos-ui/core/services/floatingUI";
|
|
10
|
-
export * from "@agnos-ui/core/services/extendWidget";
|
|
11
1
|
export * from "@agnos-ui/core/services/transitions/simpleClassTransition";
|
|
12
2
|
export * from "@agnos-ui/core/services/transitions/cssTransitions";
|
|
13
3
|
export * from "@agnos-ui/core/services/transitions/collapse";
|
|
@@ -22,6 +12,16 @@ import { d, s, u as u3, a as a2 } from "./directive-CEErjM5c.js";
|
|
|
22
12
|
export * from "@agnos-ui/core/types";
|
|
23
13
|
export * from "@agnos-ui/core/config";
|
|
24
14
|
import { WidgetsConfigContext, WidgetsDefaultConfig, useWidget, useWidgetContext, widgetsConfigFactory } from "./config.js";
|
|
15
|
+
export * from "@agnos-ui/core/services/siblingsInert";
|
|
16
|
+
export * from "@agnos-ui/core/services/resizeObserver";
|
|
17
|
+
export * from "@agnos-ui/core/services/portal";
|
|
18
|
+
export * from "@agnos-ui/core/services/navManager";
|
|
19
|
+
export * from "@agnos-ui/core/services/matchMedia";
|
|
20
|
+
export * from "@agnos-ui/core/services/intersection";
|
|
21
|
+
export * from "@agnos-ui/core/services/hash";
|
|
22
|
+
export * from "@agnos-ui/core/services/focustrack";
|
|
23
|
+
export * from "@agnos-ui/core/services/floatingUI";
|
|
24
|
+
export * from "@agnos-ui/core/services/extendWidget";
|
|
25
25
|
export * from "@agnos-ui/core/components/tree";
|
|
26
26
|
import { T, u as u4, a as a3 } from "./toasterProvider-lT-AfOoK.js";
|
|
27
27
|
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.9.
|
|
4
|
+
"version": "0.9.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.9.
|
|
52
|
+
"@agnos-ui/core": "0.9.1"
|
|
53
53
|
},
|
|
54
54
|
"peerDependencies": {
|
|
55
55
|
"@amadeus-it-group/tansu": "^2.0.0",
|