Skip to content
This repository was archived by the owner on Oct 18, 2024. It is now read-only.

Commit 02da3a3

Browse files
Merge pull request #763 from SuperViz/fix/mouse-pointer-avoid-bg-repetition
fix: mouse pointer avoid bg repetition
2 parents a2eb50a + 21ef2e3 commit 02da3a3

File tree

4 files changed

+18
-22
lines changed

4 files changed

+18
-22
lines changed

.esbuild/build.js

+2-2
Original file line numberDiff line numberDiff line change
@@ -6,12 +6,12 @@ const esbuild = require('esbuild');
66
await Promise.all([
77
esbuild.build({
88
...cjsConfig,
9-
outfile: 'lib/index.cjs.js',
9+
outfile: 'dist/index.cjs.js',
1010
}),
1111

1212
esbuild.build({
1313
...esmConfig,
14-
outdir: 'lib',
14+
outdir: 'dist',
1515
}),
1616
]);
1717
} catch (error) {

package.json

+5-5
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,14 @@
22
"name": "@superviz/sdk",
33
"version": "0.0.0-development",
44
"description": "SuperViz SDK",
5-
"main": "./lib/index.js",
6-
"types": "./lib/index.d.ts",
5+
"main": "./dist/index.js",
6+
"types": "./dist/index.d.ts",
77
"exports": {
8-
"import": "./lib/index.js",
9-
"require": "./lib/index.cjs.js"
8+
"import": "./dist/index.js",
9+
"require": "./dist/index.cjs.js"
1010
},
1111
"files": [
12-
"lib"
12+
"dist"
1313
],
1414
"scripts": {
1515
"prepare": "husky install",

src/common/styles/global.css

+6-5
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,8 @@
55
--sv-primary: 98, 16, 204;
66
}
77

8-
html, body {
8+
html,
9+
body {
910
width: 100%;
1011
height: 100%;
1112
overflow: hidden;
@@ -46,14 +47,14 @@ html, body {
4647
display: none;
4748
}
4849

49-
5050
/* Presence Mouse */
5151

5252
.pointer-mouse {
5353
display: flex;
54-
height: 17px;
55-
width: 17px;
54+
height: 15px;
55+
width: 16px;
5656
background-image: url(https://production.cdn.superviz.com/static/pointers/0.svg);
57+
background-repeat: no-repeat;
5758
}
5859

5960
.mouse-user-name {
@@ -76,4 +77,4 @@ html, body {
7677
display: block;
7778
z-index: 2;
7879
transition: all 150ms linear, opacity 100s ease-in;
79-
}
80+
}

tsconfig.json

+5-10
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
"rootDirs": ["./src", "."],
44
"target": "ES2020",
55
"module": "ES2020",
6-
"outDir": "./lib",
6+
"outDir": "./dist",
77
"lib": ["ES2020", "DOM"],
88
"preserveWatchOutput": true,
99
"emitDeclarationOnly": true,
@@ -12,13 +12,8 @@
1212
"moduleResolution": "Node",
1313
"experimentalDecorators": true,
1414
"skipLibCheck": true,
15-
"allowJs": true,
15+
"allowJs": true
1616
},
17-
"include": [
18-
"./src"
19-
],
20-
"exclude": [
21-
"./src/**/*.test.ts",
22-
"node_modules"
23-
]
24-
}
17+
"include": ["./src"],
18+
"exclude": ["./src/**/*.test.ts", "node_modules"]
19+
}

0 commit comments

Comments
 (0)