@easyvision/easyvision-ui 1.3.6 → 1.3.8
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/EasyVisionTable.module-OTJHTKCW.module.css +27 -0
- package/dist/easyvision.css +1 -30
- package/dist/index.cjs +6 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/package.json +10 -5
- package/dist/EasyVisionTable.css +0 -68
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@easyvision/easyvision-ui",
|
|
3
|
-
"version": "1.3.
|
|
3
|
+
"version": "1.3.8",
|
|
4
4
|
"description": "A React component library for easyvision",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"main": "./dist/index.cjs",
|
|
@@ -21,6 +21,11 @@
|
|
|
21
21
|
"sideEffects": [
|
|
22
22
|
"**/*.css"
|
|
23
23
|
],
|
|
24
|
+
"scripts": {
|
|
25
|
+
"build:css": "tailwindcss -c ./tailwind.config.cjs -i ./easyvision.css -o ./dist/easyvision.css --minify",
|
|
26
|
+
"build": "tsup && node postbuild.cjs && npm run build:css",
|
|
27
|
+
"prepublishOnly": "tsup && node postbuild.cjs && npm run build:css"
|
|
28
|
+
},
|
|
24
29
|
"peerDependencies": {
|
|
25
30
|
"react": "^18 || ^19",
|
|
26
31
|
"react-dom": "^18 || ^19"
|
|
@@ -45,8 +50,11 @@
|
|
|
45
50
|
"devDependencies": {
|
|
46
51
|
"@types/react": "^18.1.0",
|
|
47
52
|
"@types/react-dom": "^18.2.7",
|
|
53
|
+
"autoprefixer": "^10.5.0",
|
|
54
|
+
"postcss": "^8.5.14",
|
|
48
55
|
"react": "^18.1.0",
|
|
49
56
|
"react-dom": "^18.1.0",
|
|
57
|
+
"tailwindcss": "^3.4.19",
|
|
50
58
|
"tsup": "^8.3.5",
|
|
51
59
|
"typescript": "^5.6.3"
|
|
52
60
|
},
|
|
@@ -57,8 +65,5 @@
|
|
|
57
65
|
"repository": {
|
|
58
66
|
"type": "git",
|
|
59
67
|
"url": "git+https://github.com/senseizero/easyvision-ui.git"
|
|
60
|
-
},
|
|
61
|
-
"scripts": {
|
|
62
|
-
"build": "tsup && node postbuild.cjs"
|
|
63
68
|
}
|
|
64
|
-
}
|
|
69
|
+
}
|
package/dist/EasyVisionTable.css
DELETED
|
@@ -1,68 +0,0 @@
|
|
|
1
|
-
/* EasyVision table scroll wrapper — show both axes' scrollbars.
|
|
2
|
-
* Co-located with the component so it ships wherever EasyVision is used,
|
|
3
|
-
* even when the host project hides scrollbars globally.
|
|
4
|
-
* Uses theme-agnostic rgba so it works without any CSS variable setup. */
|
|
5
|
-
|
|
6
|
-
.easyvision-table-scroll {
|
|
7
|
-
scrollbar-width: thin; /* Firefox */
|
|
8
|
-
scrollbar-color: rgba(0, 0, 0, 0.4) transparent;
|
|
9
|
-
-ms-overflow-style: auto; /* IE/Edge */
|
|
10
|
-
}
|
|
11
|
-
|
|
12
|
-
.easyvision-table-scroll::-webkit-scrollbar {
|
|
13
|
-
display: block;
|
|
14
|
-
width: 10px;
|
|
15
|
-
height: 10px;
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
.easyvision-table-scroll::-webkit-scrollbar-track {
|
|
19
|
-
background: transparent;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.easyvision-table-scroll::-webkit-scrollbar-thumb {
|
|
23
|
-
background: rgba(0, 0, 0, 0.35);
|
|
24
|
-
border-radius: 10px;
|
|
25
|
-
border: 2px solid transparent;
|
|
26
|
-
background-clip: padding-box;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
.easyvision-table-scroll::-webkit-scrollbar-thumb:hover {
|
|
30
|
-
background: rgba(0, 0, 0, 0.55);
|
|
31
|
-
background-clip: padding-box;
|
|
32
|
-
border: 2px solid transparent;
|
|
33
|
-
}
|
|
34
|
-
|
|
35
|
-
.easyvision-table-scroll::-webkit-scrollbar-corner {
|
|
36
|
-
background: transparent;
|
|
37
|
-
}
|
|
38
|
-
|
|
39
|
-
/* Dark mode — works with either `prefers-color-scheme` or a `.dark` class
|
|
40
|
-
* on a parent element (the convention used by Shadcn/UI). */
|
|
41
|
-
@media (prefers-color-scheme: dark) {
|
|
42
|
-
.easyvision-table-scroll {
|
|
43
|
-
scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
|
|
44
|
-
}
|
|
45
|
-
.easyvision-table-scroll::-webkit-scrollbar-thumb {
|
|
46
|
-
background: rgba(255, 255, 255, 0.3);
|
|
47
|
-
background-clip: padding-box;
|
|
48
|
-
}
|
|
49
|
-
.easyvision-table-scroll::-webkit-scrollbar-thumb:hover {
|
|
50
|
-
background: rgba(255, 255, 255, 0.5);
|
|
51
|
-
background-clip: padding-box;
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.dark .easyvision-table-scroll,
|
|
56
|
-
[data-theme='dark'] .easyvision-table-scroll {
|
|
57
|
-
scrollbar-color: rgba(255, 255, 255, 0.4) transparent;
|
|
58
|
-
}
|
|
59
|
-
.dark .easyvision-table-scroll::-webkit-scrollbar-thumb,
|
|
60
|
-
[data-theme='dark'] .easyvision-table-scroll::-webkit-scrollbar-thumb {
|
|
61
|
-
background: rgba(255, 255, 255, 0.3);
|
|
62
|
-
background-clip: padding-box;
|
|
63
|
-
}
|
|
64
|
-
.dark .easyvision-table-scroll::-webkit-scrollbar-thumb:hover,
|
|
65
|
-
[data-theme='dark'] .easyvision-table-scroll::-webkit-scrollbar-thumb:hover {
|
|
66
|
-
background: rgba(255, 255, 255, 0.5);
|
|
67
|
-
background-clip: padding-box;
|
|
68
|
-
}
|