@bifrostui/utils 1.1.11-beta.4 → 1.1.11-beta.9
Sign up to get free protection for your applications and to get access to all the features.
- package/package.json +8 -11
- package/src/index.ts +0 -27
package/package.json
CHANGED
@@ -1,18 +1,14 @@
|
|
1
1
|
{
|
2
2
|
"name": "@bifrostui/utils",
|
3
|
-
"version": "1.1.11-beta.
|
3
|
+
"version": "1.1.11-beta.9",
|
4
4
|
"description": "BUI React utilities for building components.",
|
5
|
-
"main": "
|
6
|
-
"module": "
|
5
|
+
"main": "dist/index.js",
|
6
|
+
"module": "es/index.js",
|
7
7
|
"sideEffects": false,
|
8
8
|
"files": [
|
9
9
|
"es",
|
10
10
|
"dist"
|
11
11
|
],
|
12
|
-
"scripts": {
|
13
|
-
"build": "node esbuild.config.js",
|
14
|
-
"test": "echo \"Error: run tests from root\" && exit 1"
|
15
|
-
},
|
16
12
|
"devDependencies": {
|
17
13
|
"esbuild": "^0.19.7",
|
18
14
|
"esbuild-plugin-less": "1.3.10",
|
@@ -29,10 +25,11 @@
|
|
29
25
|
},
|
30
26
|
"license": "MIT",
|
31
27
|
"publishConfig": {
|
32
|
-
"main": "dist/index.js",
|
33
|
-
"module": "es/index.js",
|
34
28
|
"access": "public",
|
35
29
|
"registry": "https://registry.npmjs.org/"
|
36
30
|
},
|
37
|
-
"
|
38
|
-
|
31
|
+
"scripts": {
|
32
|
+
"build": "node esbuild.config.js",
|
33
|
+
"test": "echo \"Error: run tests from root\" && exit 1"
|
34
|
+
}
|
35
|
+
}
|
package/src/index.ts
DELETED
@@ -1,27 +0,0 @@
|
|
1
|
-
export { default as debounce } from './debounce';
|
2
|
-
export { default as convertHexToRGBA } from './hex2rgba';
|
3
|
-
export {
|
4
|
-
useDidMountEffect,
|
5
|
-
useEventCallback,
|
6
|
-
useForkRef,
|
7
|
-
useTouchEmulator,
|
8
|
-
useValue,
|
9
|
-
useDomReady,
|
10
|
-
useSize,
|
11
|
-
useDomCss,
|
12
|
-
useTouch,
|
13
|
-
} from './hooks';
|
14
|
-
export { default as isDev } from './isDev';
|
15
|
-
export { isMini, isWeapp, isAlipay, isMiniapp } from './isMini';
|
16
|
-
export { default as setRef } from './setRef';
|
17
|
-
export { default as throttle } from './throttle';
|
18
|
-
export { default as toArray } from './toArray';
|
19
|
-
export { default as blockTouch } from './touchBlocker';
|
20
|
-
export {
|
21
|
-
easing,
|
22
|
-
duration,
|
23
|
-
getTransitionProps,
|
24
|
-
createTransitions,
|
25
|
-
} from './transitions';
|
26
|
-
export { default as getBoundingClientRect } from './getBoundingClientRect';
|
27
|
-
export * from './isType';
|