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

fix: mouse pointer avoid bg repetition #763

Merged
merged 3 commits into from
Aug 30, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions .esbuild/build.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,12 +6,12 @@ const esbuild = require('esbuild');
await Promise.all([
esbuild.build({
...cjsConfig,
outfile: 'lib/index.cjs.js',
outfile: 'dist/index.cjs.js',
}),

esbuild.build({
...esmConfig,
outdir: 'lib',
outdir: 'dist',
}),
]);
} catch (error) {
Expand Down
10 changes: 5 additions & 5 deletions package.json
Original file line number Diff line number Diff line change
Expand Up @@ -2,14 +2,14 @@
"name": "@superviz/sdk",
"version": "0.0.0-development",
"description": "SuperViz SDK",
"main": "./lib/index.js",
"types": "./lib/index.d.ts",
"main": "./dist/index.js",
"types": "./dist/index.d.ts",
"exports": {
"import": "./lib/index.js",
"require": "./lib/index.cjs.js"
"import": "./dist/index.js",
"require": "./dist/index.cjs.js"
},
"files": [
"lib"
"dist"
],
"scripts": {
"prepare": "husky install",
Expand Down
11 changes: 6 additions & 5 deletions src/common/styles/global.css
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,8 @@
--sv-primary: 98, 16, 204;
}

html, body {
html,
body {
width: 100%;
height: 100%;
overflow: hidden;
Expand Down Expand Up @@ -46,14 +47,14 @@ html, body {
display: none;
}


/* Presence Mouse */

.pointer-mouse {
display: flex;
height: 17px;
width: 17px;
height: 15px;
width: 16px;
background-image: url(https://production.cdn.superviz.com/static/pointers/0.svg);
background-repeat: no-repeat;
}

.mouse-user-name {
Expand All @@ -76,4 +77,4 @@ html, body {
display: block;
z-index: 2;
transition: all 150ms linear, opacity 100s ease-in;
}
}
15 changes: 5 additions & 10 deletions tsconfig.json
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
"rootDirs": ["./src", "."],
"target": "ES2020",
"module": "ES2020",
"outDir": "./lib",
"outDir": "./dist",
"lib": ["ES2020", "DOM"],
"preserveWatchOutput": true,
"emitDeclarationOnly": true,
Expand All @@ -12,13 +12,8 @@
"moduleResolution": "Node",
"experimentalDecorators": true,
"skipLibCheck": true,
"allowJs": true,
"allowJs": true
},
"include": [
"./src"
],
"exclude": [
"./src/**/*.test.ts",
"node_modules"
]
}
"include": ["./src"],
"exclude": ["./src/**/*.test.ts", "node_modules"]
}
Loading