@agnos-ui/react-headless 0.3.0 → 0.3.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 +3 -3
- package/index.cjs +18 -18
- package/index.js +4 -4
- package/package.json +2 -2
package/generated/index.d.ts
CHANGED
|
@@ -8,13 +8,13 @@ export * from './services/hash';
|
|
|
8
8
|
export * from './services/focustrack';
|
|
9
9
|
export * from './services/floatingUI';
|
|
10
10
|
export * from './services/extendWidget';
|
|
11
|
+
export * from './utils/writables';
|
|
12
|
+
export * from './utils/stores';
|
|
13
|
+
export * from './utils/directive';
|
|
11
14
|
export * from './services/transitions/simpleClassTransition';
|
|
12
15
|
export * from './services/transitions/cssTransitions';
|
|
13
16
|
export * from './services/transitions/collapse';
|
|
14
17
|
export * from './services/transitions/baseTransitions';
|
|
15
|
-
export * from './utils/writables';
|
|
16
|
-
export * from './utils/stores';
|
|
17
|
-
export * from './utils/directive';
|
|
18
18
|
export * from './types';
|
|
19
19
|
export * from './config';
|
|
20
20
|
export * from './utils/widget';
|
package/index.cjs
CHANGED
|
@@ -19,15 +19,15 @@ const hash = require("@agnos-ui/core/services/hash");
|
|
|
19
19
|
const focustrack = require("@agnos-ui/core/services/focustrack");
|
|
20
20
|
const floatingUI = require("@agnos-ui/core/services/floatingUI");
|
|
21
21
|
const extendWidget = require("@agnos-ui/core/services/extendWidget");
|
|
22
|
-
const simpleClassTransition = require("@agnos-ui/core/services/transitions/simpleClassTransition");
|
|
23
|
-
const cssTransitions = require("@agnos-ui/core/services/transitions/cssTransitions");
|
|
24
|
-
const collapse = require("@agnos-ui/core/services/transitions/collapse");
|
|
25
|
-
const baseTransitions = require("@agnos-ui/core/services/transitions/baseTransitions");
|
|
26
22
|
const writables = require("@agnos-ui/core/utils/writables");
|
|
27
23
|
const stores$1 = require("@agnos-ui/core/utils/stores");
|
|
28
24
|
const stores = require("./stores-DLkDMqBY.cjs");
|
|
29
25
|
const directive$1 = require("@agnos-ui/core/utils/directive");
|
|
30
26
|
const directive = require("./directive-4SKmV5bk.cjs");
|
|
27
|
+
const simpleClassTransition = require("@agnos-ui/core/services/transitions/simpleClassTransition");
|
|
28
|
+
const cssTransitions = require("@agnos-ui/core/services/transitions/cssTransitions");
|
|
29
|
+
const collapse = require("@agnos-ui/core/services/transitions/collapse");
|
|
30
|
+
const baseTransitions = require("@agnos-ui/core/services/transitions/baseTransitions");
|
|
31
31
|
const types = require("@agnos-ui/core/types");
|
|
32
32
|
const config$1 = require("@agnos-ui/core/config");
|
|
33
33
|
const config = require("./config.cjs");
|
|
@@ -181,53 +181,53 @@ Object.keys(extendWidget).forEach((k) => {
|
|
|
181
181
|
get: () => extendWidget[k]
|
|
182
182
|
});
|
|
183
183
|
});
|
|
184
|
-
Object.keys(
|
|
184
|
+
Object.keys(writables).forEach((k) => {
|
|
185
185
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
186
186
|
Object.defineProperty(exports, k, {
|
|
187
187
|
enumerable: true,
|
|
188
|
-
get: () =>
|
|
188
|
+
get: () => writables[k]
|
|
189
189
|
});
|
|
190
190
|
});
|
|
191
|
-
Object.keys(
|
|
191
|
+
Object.keys(stores$1).forEach((k) => {
|
|
192
192
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
193
193
|
Object.defineProperty(exports, k, {
|
|
194
194
|
enumerable: true,
|
|
195
|
-
get: () =>
|
|
195
|
+
get: () => stores$1[k]
|
|
196
196
|
});
|
|
197
197
|
});
|
|
198
|
-
Object.keys(
|
|
198
|
+
Object.keys(directive$1).forEach((k) => {
|
|
199
199
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
200
200
|
Object.defineProperty(exports, k, {
|
|
201
201
|
enumerable: true,
|
|
202
|
-
get: () =>
|
|
202
|
+
get: () => directive$1[k]
|
|
203
203
|
});
|
|
204
204
|
});
|
|
205
|
-
Object.keys(
|
|
205
|
+
Object.keys(simpleClassTransition).forEach((k) => {
|
|
206
206
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
207
207
|
Object.defineProperty(exports, k, {
|
|
208
208
|
enumerable: true,
|
|
209
|
-
get: () =>
|
|
209
|
+
get: () => simpleClassTransition[k]
|
|
210
210
|
});
|
|
211
211
|
});
|
|
212
|
-
Object.keys(
|
|
212
|
+
Object.keys(cssTransitions).forEach((k) => {
|
|
213
213
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
214
214
|
Object.defineProperty(exports, k, {
|
|
215
215
|
enumerable: true,
|
|
216
|
-
get: () =>
|
|
216
|
+
get: () => cssTransitions[k]
|
|
217
217
|
});
|
|
218
218
|
});
|
|
219
|
-
Object.keys(
|
|
219
|
+
Object.keys(collapse).forEach((k) => {
|
|
220
220
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
221
221
|
Object.defineProperty(exports, k, {
|
|
222
222
|
enumerable: true,
|
|
223
|
-
get: () =>
|
|
223
|
+
get: () => collapse[k]
|
|
224
224
|
});
|
|
225
225
|
});
|
|
226
|
-
Object.keys(
|
|
226
|
+
Object.keys(baseTransitions).forEach((k) => {
|
|
227
227
|
if (k !== "default" && !Object.prototype.hasOwnProperty.call(exports, k))
|
|
228
228
|
Object.defineProperty(exports, k, {
|
|
229
229
|
enumerable: true,
|
|
230
|
-
get: () =>
|
|
230
|
+
get: () => baseTransitions[k]
|
|
231
231
|
});
|
|
232
232
|
});
|
|
233
233
|
Object.keys(types).forEach((k) => {
|
package/index.js
CHANGED
|
@@ -17,15 +17,15 @@ export * from "@agnos-ui/core/services/hash";
|
|
|
17
17
|
export * from "@agnos-ui/core/services/focustrack";
|
|
18
18
|
export * from "@agnos-ui/core/services/floatingUI";
|
|
19
19
|
export * from "@agnos-ui/core/services/extendWidget";
|
|
20
|
-
export * from "@agnos-ui/core/services/transitions/simpleClassTransition";
|
|
21
|
-
export * from "@agnos-ui/core/services/transitions/cssTransitions";
|
|
22
|
-
export * from "@agnos-ui/core/services/transitions/collapse";
|
|
23
|
-
export * from "@agnos-ui/core/services/transitions/baseTransitions";
|
|
24
20
|
export * from "@agnos-ui/core/utils/writables";
|
|
25
21
|
export * from "@agnos-ui/core/utils/stores";
|
|
26
22
|
import { u, a } from "./stores-B8YEDwZq.js";
|
|
27
23
|
export * from "@agnos-ui/core/utils/directive";
|
|
28
24
|
import { d, s, u as u2, a as a2 } from "./directive-Kqp31pwt.js";
|
|
25
|
+
export * from "@agnos-ui/core/services/transitions/simpleClassTransition";
|
|
26
|
+
export * from "@agnos-ui/core/services/transitions/cssTransitions";
|
|
27
|
+
export * from "@agnos-ui/core/services/transitions/collapse";
|
|
28
|
+
export * from "@agnos-ui/core/services/transitions/baseTransitions";
|
|
29
29
|
export * from "@agnos-ui/core/types";
|
|
30
30
|
export * from "@agnos-ui/core/config";
|
|
31
31
|
import { WidgetsDefaultConfig, useWidgetContext, useWidgetWithConfig, widgetsConfigContext, widgetsConfigFactory } from "./config.js";
|
package/package.json
CHANGED
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@agnos-ui/react-headless",
|
|
3
3
|
"description": "Headless widget library for React.",
|
|
4
|
-
"version": "0.3.
|
|
4
|
+
"version": "0.3.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.3.
|
|
52
|
+
"@agnos-ui/core": "0.3.1",
|
|
53
53
|
"classnames": "^2.5.1"
|
|
54
54
|
},
|
|
55
55
|
"peerDependencies": {
|