Sync shared snapshot from a90f4eb
Lint / Lint (push) Successful in 19s
Tests / Go backend (push) Successful in 18s
Tests / Dashboard checks (push) Successful in 28s
Docker / Docker Build & Push (push) Successful in 2m26s

This commit is contained in:
Gabriel20xx committed 2026-08-19 12:07:39 +02:00
1 parent 85f02a7327
commit 4e413a5cf6
4 files changed
+19 -6

No files matched your search

+3
View File
@@ -38,6 +38,9 @@
"name": "@gabriel20xx/web-ui", "name": "@gabriel20xx/web-ui",
"version": "0.1.1", "version": "0.1.1",
"license": "MIT", "license": "MIT",
"dependencies": {
"@lucide/svelte": "1.28.0"
},
"devDependencies": { "devDependencies": {
"@sveltejs/package": "^2.5.0", "@sveltejs/package": "^2.5.0",
"@sveltejs/vite-plugin-svelte": "^6.0.0", "@sveltejs/vite-plugin-svelte": "^6.0.0",
+1 -1
View File
@@ -15,7 +15,7 @@
"svelte": "^5.0.0" "svelte": "^5.0.0"
}, },
"dependencies": { "dependencies": {
"@lucide/svelte": "1.28.0"
}, },
"devDependencies": { "devDependencies": {
"@sveltejs/package": "^2.5.0", "@sveltejs/package": "^2.5.0",
+8 -4
View File
@@ -1,4 +1,4 @@
@import "@gabriel20xx/design-tokens/theme.css"; @import '../../../design-tokens/theme.css';
:where(.sc-root, .sc-root *) { :where(.sc-root, .sc-root *) {
box-sizing: border-box; box-sizing: border-box;
@@ -75,11 +75,15 @@
} }
.sc-brand-icon { .sc-brand-icon {
width: 100%; /* Fixed instead of percentage-based: the icon isn't wrapped in a sized container (unlike
height: 100%; .sc-brand-mark, which this rule mirrors), and .sc-brand's own width is content-driven, so
a percentage here has no definite box to resolve against and lets the image render at
whatever intrinsic size its source happens to have. */
width: 2rem;
height: 2rem;
padding: 0.25rem; padding: 0.25rem;
object-fit: contain; object-fit: contain;
border-radius: inherit; border-radius: var(--sc-radius-md);
} }
.sc-nav { .sc-nav {
+7 -1
View File
@@ -103,7 +103,12 @@ function Convert-ToConsumerWebUiPackage {
$manifest = Get-Content -LiteralPath $PackagePath -Raw | ConvertFrom-Json $manifest = Get-Content -LiteralPath $PackagePath -Raw | ConvertFrom-Json
$manifest.files = @('src', 'README.md') $manifest.files = @('src', 'README.md')
$manifest.dependencies = [pscustomobject]@{} if ($null -ne $manifest.dependencies) {
$designTokensDependency = $manifest.dependencies.PSObject.Properties['@gabriel20xx/design-tokens']
if ($null -ne $designTokensDependency) {
$manifest.dependencies.PSObject.Properties.Remove('@gabriel20xx/design-tokens')
}
}
$manifest.svelte = './src/index.ts' $manifest.svelte = './src/index.ts'
$manifest.types = './src/index.ts' $manifest.types = './src/index.ts'
@@ -133,6 +138,7 @@ function Convert-ToConsumerWebUiSources {
if (Test-Path -LiteralPath $stylesPath) { if (Test-Path -LiteralPath $stylesPath) {
$styles = Get-Content -LiteralPath $stylesPath -Raw $styles = Get-Content -LiteralPath $stylesPath -Raw
$styles = $styles.Replace("@import '@gabriel20xx/design-tokens/theme.css';", "@import '../../../design-tokens/theme.css';") $styles = $styles.Replace("@import '@gabriel20xx/design-tokens/theme.css';", "@import '../../../design-tokens/theme.css';")
$styles = $styles.Replace('@import "@gabriel20xx/design-tokens/theme.css";', "@import '../../../design-tokens/theme.css';")
Write-Utf8NoBom -Path $stylesPath -Content $styles Write-Utf8NoBom -Path $stylesPath -Content $styles
} }