@evlop/commons 1.0.141 → 1.0.144
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/src/constants/iconInfo/reactNativeVectorIcons.js +1 -1
- package/dist/src/constants/iconInfo/reactNativeVectorIcons.js.map +1 -1
- package/dist/src/constants/iconInfo/types.d.ts +11 -11
- package/dist/src/constants/iconInfo/types.d.ts.map +1 -1
- package/dist/src/contexts/LayoutContext.d.ts +2 -0
- package/dist/src/contexts/LayoutContext.d.ts.map +1 -1
- package/dist/src/contexts/LayoutContext.js +1 -1
- package/dist/src/contexts/LayoutContext.js.map +1 -1
- package/package.json +3 -4
@@ -1,10 +1,12 @@
|
|
1
1
|
declare const LayoutContext: import("react").Context<{
|
2
2
|
type: string;
|
3
3
|
updateIndex: (...params: any) => void;
|
4
|
+
addBlock: (...params: any) => void;
|
4
5
|
}>;
|
5
6
|
export declare const LayoutProvider: import("react").Provider<{
|
6
7
|
type: string;
|
7
8
|
updateIndex: (...params: any) => void;
|
9
|
+
addBlock: (...params: any) => void;
|
8
10
|
}>;
|
9
11
|
export default LayoutContext;
|
10
12
|
//# sourceMappingURL=LayoutContext.d.ts.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LayoutContext.d.ts","sourceRoot":"","sources":["../../../src/contexts/LayoutContext.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,aAAa;;6BAAsD,GAAG;EAAQ,CAAC;
|
1
|
+
{"version":3,"file":"LayoutContext.d.ts","sourceRoot":"","sources":["../../../src/contexts/LayoutContext.tsx"],"names":[],"mappings":"AAEA,QAAA,MAAM,aAAa;;6BAAsD,GAAG;0BAA6B,GAAG;EAAQ,CAAC;AAErH,eAAO,MAAM,cAAc;;6BAF8C,GAAG;0BAA6B,GAAG;EAExD,CAAC;AAErD,eAAe,aAAa,CAAA"}
|
@@ -2,7 +2,7 @@
|
|
2
2
|
Object.defineProperty(exports, "__esModule", { value: true });
|
3
3
|
exports.LayoutProvider = void 0;
|
4
4
|
const react_1 = require("react");
|
5
|
-
const LayoutContext = react_1.createContext({ type: '', updateIndex: (...params) => { } });
|
5
|
+
const LayoutContext = react_1.createContext({ type: '', updateIndex: (...params) => { }, addBlock: (...params) => { } });
|
6
6
|
exports.LayoutProvider = LayoutContext.Provider;
|
7
7
|
exports.default = LayoutContext;
|
8
8
|
//# sourceMappingURL=LayoutContext.js.map
|
@@ -1 +1 @@
|
|
1
|
-
{"version":3,"file":"LayoutContext.js","sourceRoot":"","sources":["../../../src/contexts/LayoutContext.tsx"],"names":[],"mappings":";;;AAAA,iCAAoC;AAEpC,MAAM,aAAa,GAAG,qBAAa,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,WAAW,EAAE,CAAC,GAAG,MAAW,EAAC,EAAE,GAAC,CAAC,EAAE,CAAC,CAAC;
|
1
|
+
{"version":3,"file":"LayoutContext.js","sourceRoot":"","sources":["../../../src/contexts/LayoutContext.tsx"],"names":[],"mappings":";;;AAAA,iCAAoC;AAEpC,MAAM,aAAa,GAAG,qBAAa,CAAC,EAAE,IAAI,EAAE,EAAE,EAAE,WAAW,EAAE,CAAC,GAAG,MAAW,EAAC,EAAE,GAAC,CAAC,EAAE,QAAQ,EAAE,CAAC,GAAG,MAAW,EAAC,EAAE,GAAC,CAAC,EAAE,CAAC,CAAC;AAExG,QAAA,cAAc,GAAG,aAAa,CAAC,QAAQ,CAAC;AAErD,kBAAe,aAAa,CAAA"}
|
package/package.json
CHANGED
@@ -1,6 +1,6 @@
|
|
1
1
|
{
|
2
2
|
"name": "@evlop/commons",
|
3
|
-
"version": "1.0.
|
3
|
+
"version": "1.0.144",
|
4
4
|
"description": "",
|
5
5
|
"main": "dist/main.js",
|
6
6
|
"peerDependencies": {
|
@@ -31,12 +31,11 @@
|
|
31
31
|
"react-native-base64": "^0.2.1"
|
32
32
|
},
|
33
33
|
"scripts": {
|
34
|
-
"prepack": " rm -rf dist &&
|
34
|
+
"prepack": " rm -rf dist && npm run build",
|
35
35
|
"docs": "jsdoc -c jsdoc.json",
|
36
36
|
"dev": "tsc --watch",
|
37
37
|
"test": "mocha -r ts-node/register src/**/*.test.ts",
|
38
|
-
"build": "
|
39
|
-
"generate-icon-names": "ts-node ./generateIcons.ts"
|
38
|
+
"build": "ts-node bin/generate-icons-type.ts && tsc"
|
40
39
|
},
|
41
40
|
"files": [
|
42
41
|
"dist/*"
|