gaesup-world 0.2.1 → 0.2.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.
|
@@ -133,7 +133,7 @@ export function useZoom() {
|
|
|
133
133
|
export function ZoomButton(props) {
|
|
134
134
|
var _this = this;
|
|
135
135
|
var _a = useZoom(), setZoom = _a.setZoom, isZoom = _a.isZoom;
|
|
136
|
-
return (_jsx("div", { className: "zoomButton", style: props.zoomButtonStyle, onClick: function () { return __awaiter(_this, void 0, void 0, function () {
|
|
136
|
+
return (_jsx("div", { className: "zoomButton", style: __assign({}, props.zoomButtonStyle), onClick: function () { return __awaiter(_this, void 0, void 0, function () {
|
|
137
137
|
return __generator(this, function (_a) {
|
|
138
138
|
switch (_a.label) {
|
|
139
139
|
case 0: return [4 /*yield*/, setZoom(props.position, isZoom)];
|
package/package.json
CHANGED
|
@@ -1,17 +1,18 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "gaesup-world",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.3",
|
|
4
4
|
"type": "module",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
7
7
|
"homepage": "https://jigglypop.github.io/gaesup-world/",
|
|
8
8
|
"scripts": {
|
|
9
9
|
"dev": "vite",
|
|
10
|
-
"build": "
|
|
10
|
+
"build": "vite build",
|
|
11
11
|
"lint": "eslint . --ext ts,tsx --report-unused-disable-directives --max-warnings 0",
|
|
12
12
|
"preview": "vite preview",
|
|
13
13
|
"prepare": "rm -rf dist && mkdir dist && tsc -p tsconfig.build.json",
|
|
14
|
-
"predeploy": "
|
|
14
|
+
"predeploy": "vite build",
|
|
15
|
+
"prepublishOnly": "rm -rf dist/ && npm run build",
|
|
15
16
|
"deploy": "gh-pages -d dist"
|
|
16
17
|
},
|
|
17
18
|
"dependencies": {
|
|
@@ -42,6 +43,7 @@
|
|
|
42
43
|
"@vanilla-extract/sprinkles": "^1.6.1",
|
|
43
44
|
"@vanilla-extract/vite-plugin": "^3.9.3",
|
|
44
45
|
"@vitejs/plugin-react-swc": "^3.5.0",
|
|
46
|
+
"css-loader": "^6.9.1",
|
|
45
47
|
"eslint": "^8.56.0",
|
|
46
48
|
"eslint-plugin-react-hooks": "^4.6.0",
|
|
47
49
|
"eslint-plugin-react-refresh": "^0.4.5",
|