@hanzogui/sizable-context 8.3.1 → 8.3.3
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/dist/cjs/index.js +8 -0
- package/dist/cjs/index.js.map +1 -0
- package/dist/cjs/package.json +1 -0
- package/dist/esm/index.js +4 -5
- package/dist/esm/index.js.map +1 -1
- package/package.json +20 -15
- package/dist/cjs/index.cjs +0 -31
- package/dist/cjs/index.native.js +0 -34
- package/dist/cjs/index.native.js.map +0 -1
- package/dist/esm/index.mjs +0 -6
- package/dist/esm/index.mjs.map +0 -1
- package/dist/esm/index.native.js +0 -6
- package/dist/esm/index.native.js.map +0 -1
|
@@ -0,0 +1,8 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.SizableContext = void 0;
|
|
4
|
+
const core_1 = require("@hanzogui/core");
|
|
5
|
+
exports.SizableContext = (0, core_1.createStyledContext)({
|
|
6
|
+
size: undefined,
|
|
7
|
+
});
|
|
8
|
+
//# sourceMappingURL=index.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":";;;AAAA,yCAAqE;AAExD,QAAA,cAAc,GAAG,IAAA,0BAAmB,EAAC;IAChD,IAAI,EAAE,SAAmC;CAC1C,CAAC,CAAA"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{ "type": "commonjs" }
|
package/dist/esm/index.js
CHANGED
|
@@ -1,6 +1,5 @@
|
|
|
1
|
-
import { createStyledContext } from
|
|
2
|
-
const SizableContext = createStyledContext({
|
|
3
|
-
|
|
1
|
+
import { createStyledContext } from '@hanzogui/core';
|
|
2
|
+
export const SizableContext = createStyledContext({
|
|
3
|
+
size: undefined,
|
|
4
4
|
});
|
|
5
|
-
|
|
6
|
-
//# sourceMappingURL=index.js.map
|
|
5
|
+
//# sourceMappingURL=index.js.map
|
package/dist/esm/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"
|
|
1
|
+
{"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,mBAAmB,EAAmB,MAAM,gBAAgB,CAAA;AAErE,MAAM,CAAC,MAAM,cAAc,GAAG,mBAAmB,CAAC;IAChD,IAAI,EAAE,SAAmC;CAC1C,CAAC,CAAA"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@hanzogui/sizable-context",
|
|
3
|
-
"version": "8.3.
|
|
3
|
+
"version": "8.3.3",
|
|
4
4
|
"description": "Sizable context for Gui components",
|
|
5
5
|
"license": "MIT",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -11,39 +11,44 @@
|
|
|
11
11
|
],
|
|
12
12
|
"type": "module",
|
|
13
13
|
"sideEffects": false,
|
|
14
|
-
"main": "dist/cjs",
|
|
15
|
-
"module": "dist/esm",
|
|
14
|
+
"main": "./dist/cjs/index.js",
|
|
15
|
+
"module": "./dist/esm/index.js",
|
|
16
16
|
"types": "./types/index.d.ts",
|
|
17
17
|
"exports": {
|
|
18
18
|
"./package.json": "./package.json",
|
|
19
19
|
".": {
|
|
20
20
|
"types": "./types/index.d.ts",
|
|
21
|
-
"react-native": "./dist/esm/index.
|
|
22
|
-
"browser": "./dist/esm/index.
|
|
23
|
-
"module": "./dist/esm/index.
|
|
24
|
-
"import": "./dist/esm/index.
|
|
25
|
-
"require": "./dist/cjs/index.
|
|
26
|
-
"default": "./dist/esm/index.
|
|
21
|
+
"react-native": "./dist/esm/index.js",
|
|
22
|
+
"browser": "./dist/esm/index.js",
|
|
23
|
+
"module": "./dist/esm/index.js",
|
|
24
|
+
"import": "./dist/esm/index.js",
|
|
25
|
+
"require": "./dist/cjs/index.js",
|
|
26
|
+
"default": "./dist/esm/index.js"
|
|
27
27
|
}
|
|
28
28
|
},
|
|
29
29
|
"publishConfig": {
|
|
30
30
|
"access": "public"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
|
-
"build": "hanzogui-build",
|
|
33
|
+
"build": "hanzogui-build --skip-native",
|
|
34
34
|
"watch": "hanzogui-build --watch",
|
|
35
35
|
"clean": "hanzogui-build clean",
|
|
36
36
|
"clean:build": "hanzogui-build clean:build"
|
|
37
37
|
},
|
|
38
38
|
"dependencies": {
|
|
39
|
-
"@hanzogui/core": "8.3.
|
|
40
|
-
"@hanzogui/web": "8.3.
|
|
39
|
+
"@hanzogui/core": "8.3.3",
|
|
40
|
+
"@hanzogui/web": "8.3.3"
|
|
41
41
|
},
|
|
42
42
|
"devDependencies": {
|
|
43
|
-
"@hanzogui/build": "8.3.
|
|
44
|
-
"react": "
|
|
43
|
+
"@hanzogui/build": "8.3.3",
|
|
44
|
+
"react": "19.2.8"
|
|
45
45
|
},
|
|
46
46
|
"peerDependencies": {
|
|
47
|
-
"react": ">=19"
|
|
47
|
+
"react": ">=19.2.8"
|
|
48
|
+
},
|
|
49
|
+
"repository": {
|
|
50
|
+
"type": "git",
|
|
51
|
+
"url": "git+https://github.com/hanzoai/gui.git",
|
|
52
|
+
"directory": "pkgs/core/sizable-context"
|
|
48
53
|
}
|
|
49
54
|
}
|
package/dist/cjs/index.cjs
DELETED
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
var __defProp = Object.defineProperty;
|
|
2
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
3
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
4
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
5
|
-
var __export = (target, all) => {
|
|
6
|
-
for (var name in all) __defProp(target, name, {
|
|
7
|
-
get: all[name],
|
|
8
|
-
enumerable: true
|
|
9
|
-
});
|
|
10
|
-
};
|
|
11
|
-
var __copyProps = (to, from, except, desc) => {
|
|
12
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
13
|
-
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
14
|
-
get: () => from[key],
|
|
15
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
16
|
-
});
|
|
17
|
-
}
|
|
18
|
-
return to;
|
|
19
|
-
};
|
|
20
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
21
|
-
value: true
|
|
22
|
-
}), mod);
|
|
23
|
-
var index_exports = {};
|
|
24
|
-
__export(index_exports, {
|
|
25
|
-
SizableContext: () => SizableContext
|
|
26
|
-
});
|
|
27
|
-
module.exports = __toCommonJS(index_exports);
|
|
28
|
-
var import_core = require("@hanzogui/core");
|
|
29
|
-
const SizableContext = (0, import_core.createStyledContext)({
|
|
30
|
-
size: void 0
|
|
31
|
-
});
|
package/dist/cjs/index.native.js
DELETED
|
@@ -1,34 +0,0 @@
|
|
|
1
|
-
"use strict";
|
|
2
|
-
|
|
3
|
-
var __defProp = Object.defineProperty;
|
|
4
|
-
var __getOwnPropDesc = Object.getOwnPropertyDescriptor;
|
|
5
|
-
var __getOwnPropNames = Object.getOwnPropertyNames;
|
|
6
|
-
var __hasOwnProp = Object.prototype.hasOwnProperty;
|
|
7
|
-
var __export = (target, all) => {
|
|
8
|
-
for (var name in all) __defProp(target, name, {
|
|
9
|
-
get: all[name],
|
|
10
|
-
enumerable: true
|
|
11
|
-
});
|
|
12
|
-
};
|
|
13
|
-
var __copyProps = (to, from, except, desc) => {
|
|
14
|
-
if (from && typeof from === "object" || typeof from === "function") {
|
|
15
|
-
for (let key of __getOwnPropNames(from)) if (!__hasOwnProp.call(to, key) && key !== except) __defProp(to, key, {
|
|
16
|
-
get: () => from[key],
|
|
17
|
-
enumerable: !(desc = __getOwnPropDesc(from, key)) || desc.enumerable
|
|
18
|
-
});
|
|
19
|
-
}
|
|
20
|
-
return to;
|
|
21
|
-
};
|
|
22
|
-
var __toCommonJS = mod => __copyProps(__defProp({}, "__esModule", {
|
|
23
|
-
value: true
|
|
24
|
-
}), mod);
|
|
25
|
-
var index_exports = {};
|
|
26
|
-
__export(index_exports, {
|
|
27
|
-
SizableContext: () => SizableContext
|
|
28
|
-
});
|
|
29
|
-
module.exports = __toCommonJS(index_exports);
|
|
30
|
-
var import_core = require("@hanzogui/core");
|
|
31
|
-
var SizableContext = (0, import_core.createStyledContext)({
|
|
32
|
-
size: void 0
|
|
33
|
-
});
|
|
34
|
-
//# sourceMappingURL=index.native.js.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["__toCommonJS","mod","__copyProps","__defProp","value","index_exports","__export","SizableContext","module","exports","import_core","require","createStyledContext","size"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":";;;;;;;;;;;;;;;;;;;;;AAAA,IAAAA,YAAA,GAAAC,GAAA,IAAAC,WAAA,CAAAC,SAAA;EAAAC,KAAA;AAAA,IAAAH,GAAA;AAAA,IAAAI,aAAA;AAAAC,QAAA,CAAAD,aAAA;EAAAE,cAAA,EAAAA,CAAA,KAAAA;AAAA;AAAAC,MAAA,CAAAC,OAAA,GAAAT,YAAqD,CAAAK,aAAA;AAE9C,IAAAK,WAAM,GAAAC,OAAA,iBAAiB;AAAoB,IAChDJ,cAAM,OAAAG,WAAA,CAAAE,mBAAA;EACPC,IAAA","ignoreList":[]}
|
package/dist/esm/index.mjs
DELETED
package/dist/esm/index.mjs.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["createStyledContext","SizableContext","size"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,mBAAA,QAA4C;AAE9C,MAAMC,cAAA,GAAiBD,mBAAA,CAAoB;EAChDE,IAAA,EAAM;AACR,CAAC","ignoreList":[]}
|
package/dist/esm/index.native.js
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"names":["createStyledContext","SizableContext","size"],"sources":["../../src/index.ts"],"sourcesContent":[null],"mappings":"AAAA,SAASA,mBAAA,QAA4C;AAE9C,IAAAC,cAAM,GAAAD,mBAAiB;EAC5BE,IAAA,EAAM;AACR,CAAC","ignoreList":[]}
|