Dev: reinit sigma-ui

This commit is contained in:
aleksey-hoffman committed 2026-01-11 02:33:03 +03:00
1 parent 7a62a0d014
commit 344c1ce47e
6 files changed
+80 -180

No files matched your search

+4 -162
View File
@@ -21,7 +21,7 @@
"lucide-vue-next": "^0.525.0",
"minimatch": "^10.1.1",
"pinia": "^3.0.3",
"reka-ui": "^2.6.0",
"reka-ui": "^2.7.0",
"tailwindcss": "^4.1.11",
"v-wave": "^3.0.3",
"vue": "^3.5.17",
@@ -46,12 +46,10 @@
"eslint": "^9.30.1",
"eslint-plugin-better-tailwindcss": "^3.4.4",
"eslint-plugin-check-file": "^3.3.0",
"eslint-plugin-oxlint": "~1.5.0",
"eslint-plugin-vue": "~10.3.0",
"jiti": "^2.4.2",
"jsdom": "^26.1.0",
"npm-run-all2": "^8.0.4",
"oxlint": "~1.5.0",
"readdirp": "^4.1.2",
"stylelint": "^16.21.1",
"stylelint-config-css-modules": "^4.5.1",
@@ -2068,118 +2066,6 @@
"url": "https://github.com/sponsors/Boshen"
}
},
"node_modules/@oxlint/darwin-arm64": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@oxlint/darwin-arm64/-/darwin-arm64-1.5.0.tgz",
"integrity": "sha512-CxzOtmOwQfaXXwAAJzPInNHhzldMeFsga7oe9mUp5bYIa/mm/Aqs0lxyAP9RZXoxaUHJTbfJovSsl6PU6gbCHw==",
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"darwin"
]
},
"node_modules/@oxlint/darwin-x64": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@oxlint/darwin-x64/-/darwin-x64-1.5.0.tgz",
"integrity": "sha512-awD5yNGIRy2DrfzbrfeTSjZ+ITKr9+FGGvufquAB7kzfveFZNa621FpmCJ8MQY8hzXFD99iP7ClMNbaCzDfV/g==",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"darwin"
]
},
"node_modules/@oxlint/linux-arm64-gnu": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-gnu/-/linux-arm64-gnu-1.5.0.tgz",
"integrity": "sha512-Nr8oUAEo20WIBo/qi76dBo5IGw2bQcl7d2YbaigOSQoAGfHR9xE9hAySYhIsnv7W0jtAZu1YTn0So7Tg0idExw==",
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"linux"
]
},
"node_modules/@oxlint/linux-arm64-musl": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@oxlint/linux-arm64-musl/-/linux-arm64-musl-1.5.0.tgz",
"integrity": "sha512-H2MBL0LZnl3GP09r12tFfcv3Y2fvetMD1TYbf5cetYCQ7hG7aIYTsuOTENjZ0SDK+L9Id35YWFNP3YES+3tsgw==",
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"linux"
]
},
"node_modules/@oxlint/linux-x64-gnu": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@oxlint/linux-x64-gnu/-/linux-x64-gnu-1.5.0.tgz",
"integrity": "sha512-pRu77WJ+Uy0l6OkCjljnHuzOlSbMsN1mFDeAyzh8R69O44Mc2C7f1Fe+fbbW2kjgIwFQq8JkUffvPWr1MCMa+A==",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"linux"
]
},
"node_modules/@oxlint/linux-x64-musl": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@oxlint/linux-x64-musl/-/linux-x64-musl-1.5.0.tgz",
"integrity": "sha512-qHG2YR+06pEAF4Gfp3T8hSaiI/IchdbuditnnVYxy32pN43vNMVDO7fU5hnNzJpxh6HozAD3uRrskBNvxgeSrQ==",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"linux"
]
},
"node_modules/@oxlint/win32-arm64": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@oxlint/win32-arm64/-/win32-arm64-1.5.0.tgz",
"integrity": "sha512-/YRDPf1sPCF6B026buZTvh1vOF/pS+75aBDnxrDWIFhP1w3flqcI9v5QVjtq/sOZEWAoP2ee46CrxcxK5UuYag==",
"cpu": [
"arm64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"win32"
]
},
"node_modules/@oxlint/win32-x64": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/@oxlint/win32-x64/-/win32-x64-1.5.0.tgz",
"integrity": "sha512-4HmkdYgDmejTxXESV1EBXd0zFLsoNJad+VrWZizzpTCmBnWEL5+tueEmEBBb4F55/sFZt8bdD//RbaTM9aOQJA==",
"cpu": [
"x64"
],
"dev": true,
"license": "MIT",
"optional": true,
"os": [
"win32"
]
},
"node_modules/@pkgjs/parseargs": {
"version": "0.11.0",
"resolved": "https://registry.npmjs.org/@pkgjs/parseargs/-/parseargs-0.11.0.tgz",
@@ -5643,16 +5529,6 @@
"eslint": ">=9.0.0"
}
},
"node_modules/eslint-plugin-oxlint": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-oxlint/-/eslint-plugin-oxlint-1.5.0.tgz",
"integrity": "sha512-+Um4akCxGOSJ8ozILC7GEU6xbKB1P8nYhLTfsvLiLot6Tt0VtM3oR/PH7SzHYgKb0HNpD5+8bXcaD5KErlIkIg==",
"dev": true,
"license": "MIT",
"dependencies": {
"jsonc-parser": "^3.3.1"
}
},
"node_modules/eslint-plugin-vue": {
"version": "10.3.0",
"resolved": "https://registry.npmjs.org/eslint-plugin-vue/-/eslint-plugin-vue-10.3.0.tgz",
@@ -6935,13 +6811,6 @@
"url": "https://opencollective.com/eslint"
}
},
"node_modules/jsonc-parser": {
"version": "3.3.1",
"resolved": "https://registry.npmjs.org/jsonc-parser/-/jsonc-parser-3.3.1.tgz",
"integrity": "sha512-HUgH65KyejrUFPvHFPbqOY0rsFip3Bo5wb4ngvdi1EpCYWUQDC5V+Y7mZws+DLkr4M//zQJoanu1SP+87Dv1oQ==",
"dev": true,
"license": "MIT"
},
"node_modules/jsonfile": {
"version": "6.1.0",
"resolved": "https://registry.npmjs.org/jsonfile/-/jsonfile-6.1.0.tgz",
@@ -7809,33 +7678,6 @@
"node": ">= 0.8.0"
}
},
"node_modules/oxlint": {
"version": "1.5.0",
"resolved": "https://registry.npmjs.org/oxlint/-/oxlint-1.5.0.tgz",
"integrity": "sha512-Oh48XZy6BY2jE9xKwN4DjwpK/l7LOUHfPJsZ/rUKudWN1RXHXBnJkubsgIHlfTwWJGYJU2LAlyXKZcE46mD4OQ==",
"dev": true,
"license": "MIT",
"bin": {
"oxc_language_server": "bin/oxc_language_server",
"oxlint": "bin/oxlint"
},
"engines": {
"node": ">=8.*"
},
"funding": {
"url": "https://github.com/sponsors/Boshen"
},
"optionalDependencies": {
"@oxlint/darwin-arm64": "1.5.0",
"@oxlint/darwin-x64": "1.5.0",
"@oxlint/linux-arm64-gnu": "1.5.0",
"@oxlint/linux-arm64-musl": "1.5.0",
"@oxlint/linux-x64-gnu": "1.5.0",
"@oxlint/linux-x64-musl": "1.5.0",
"@oxlint/win32-arm64": "1.5.0",
"@oxlint/win32-x64": "1.5.0"
}
},
"node_modules/p-limit": {
"version": "3.1.0",
"resolved": "https://registry.npmjs.org/p-limit/-/p-limit-3.1.0.tgz",
@@ -8410,9 +8252,9 @@
}
},
"node_modules/reka-ui": {
"version": "2.6.0",
"resolved": "https://registry.npmjs.org/reka-ui/-/reka-ui-2.6.0.tgz",
"integrity": "sha512-NrGMKrABD97l890mFS3TNUzB0BLUfbL3hh0NjcJRIUSUljb288bx3Mzo31nOyUcdiiW0HqFGXJwyCBh9cWgb0w==",
"version": "2.7.0",
"resolved": "https://registry.npmjs.org/reka-ui/-/reka-ui-2.7.0.tgz",
"integrity": "sha512-m+XmxQN2xtFzBP3OAdIafKq7C8OETo2fqfxcIIxYmNN2Ch3r5oAf6yEYCIJg5tL/yJU2mHqF70dCCekUkrAnXA==",
"license": "MIT",
"dependencies": {
"@floating-ui/dom": "^1.6.13",
+2 -2
View File
@@ -43,7 +43,7 @@
"lucide-vue-next": "^0.525.0",
"minimatch": "^10.1.1",
"pinia": "^3.0.3",
"reka-ui": "^2.6.0",
"reka-ui": "^2.7.0",
"tailwindcss": "^4.1.11",
"v-wave": "^3.0.3",
"vue": "^3.5.17",
@@ -87,4 +87,4 @@
"vue-eslint-parser": "^10.2.0",
"vue-tsc": "^3.0.1"
}
}
}
+4 -3
View File
@@ -1,7 +1,7 @@
{
"$schema": "https://sigma-ui.dev/schema.json",
"styleSystem": "css",
"tsConfigPath": "./tsconfig.json",
"tsConfigPath": "tsconfig.json",
"setupTailwind": false,
"framework": "vite",
"cssPath": "src/assets/index.css",
@@ -10,8 +10,9 @@
"config": ""
},
"aliases": {
"utils": "",
"utils": "@/lib/utils",
"components": "@/components/ui"
},
"generatePreflight": true
"generatePreflight": true,
"componentNaming": "kebab-case"
}
+11
View File
@@ -0,0 +1,11 @@
.shortcut {
padding: 2px 6px;
border-radius: var(--radius-sm);
margin-left: 8px;
background-color: hsl(var(--foreground) / 15%);
color: hsl(var(--foreground) / 80%);
font-family: inherit;
font-size: 12px;
font-weight: 500;
line-height: 1.5;
}
+1
View File
@@ -1,2 +1,3 @@
@import "./vars.css";
@import "./main.css";
@import "./general.css";
+58 -13
View File
@@ -1,17 +1,5 @@
@import "./preflight.css";
.shortcut {
padding: 2px 6px;
border-radius: var(--radius-sm);
margin-left: 8px;
background-color: hsl(var(--foreground) / 15%);
color: hsl(var(--foreground) / 80%);
font-family: inherit;
font-size: 12px;
font-weight: 500;
line-height: 1.5;
}
@layer base {
/* Override preflight default hover cursor for buttons and button-like elements */
button:not(:disabled),
@@ -41,6 +29,7 @@
white-space: nowrap;
}
/* Shared keyframes */
@keyframes sigma-ui-fade-in {
from {
opacity: 0;
@@ -51,6 +40,40 @@
}
}
@keyframes sigma-ui-fade-out {
from {
opacity: 1;
}
to {
opacity: 0;
}
}
@keyframes sigma-ui-fade-in-scale {
from {
opacity: 0;
transform: scale(0.95);
}
to {
opacity: 1;
transform: scale(1);
}
}
@keyframes sigma-ui-fade-out-scale {
from {
opacity: 1;
transform: scale(1);
}
to {
opacity: 0;
transform: scale(0.95);
}
}
@keyframes sigma-ui-spin {
from {
transform: rotate(0deg);
@@ -81,14 +104,36 @@
}
}
@keyframes sigma-ui-accordion-up {
from {
height: var(--reka-accordion-content-height);
}
to {
height: 0;
}
}
@keyframes sigma-ui-accordion-down {
from {
height: 0;
}
to {
height: var(--reka-accordion-content-height);
}
}
/* CSS animations */
.animate-fade-in {
animation: sigma-ui-fade-in 0.5s ease;
}
.animate-spin {
.animate-sigma-ui-spin {
animation: sigma-ui-spin 1s linear infinite;
}
/* Vue transitions */
.fade-slide-top-enter-active,
.fade-slide-top-leave-active {
transition: all 0.3s ease;