@r2digisolutions/components 0.14.1 → 0.14.3
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.
|
@@ -136,23 +136,24 @@
|
|
|
136
136
|
]}
|
|
137
137
|
>
|
|
138
138
|
{#snippet contextualHeaderDefault()}
|
|
139
|
-
{
|
|
139
|
+
{@const ctx = resolvedContextual}
|
|
140
|
+
{#if ctx}
|
|
140
141
|
<div class="min-w-0 space-y-1">
|
|
141
|
-
{#if
|
|
142
|
+
{#if ctx?.parentHref && ctx?.parentLabel}
|
|
142
143
|
<a
|
|
143
|
-
href={
|
|
144
|
+
href={ctx?.parentHref}
|
|
144
145
|
class="text-muted hover:text-primary block truncate text-[11px]"
|
|
145
146
|
>
|
|
146
|
-
{
|
|
147
|
+
{ctx?.parentLabel}
|
|
147
148
|
</a>
|
|
148
149
|
{/if}
|
|
149
|
-
<p class="text-sm font-semibold text-primary truncate">{
|
|
150
|
+
<p class="text-sm font-semibold text-primary truncate">{ctx?.brand}</p>
|
|
150
151
|
<div class="gap-1.5 flex flex-wrap items-center">
|
|
151
|
-
{#if
|
|
152
|
-
<Badge variant="secondary" size="sm">{
|
|
152
|
+
{#if ctx?.status}
|
|
153
|
+
<Badge variant="secondary" size="sm">{ctx?.status}</Badge>
|
|
153
154
|
{/if}
|
|
154
|
-
{#if
|
|
155
|
-
<span class="text-muted truncate text-[11px]">{
|
|
155
|
+
{#if ctx?.description}
|
|
156
|
+
<span class="text-muted truncate text-[11px]">{ctx?.description}</span>
|
|
156
157
|
{/if}
|
|
157
158
|
</div>
|
|
158
159
|
</div>
|
|
@@ -216,11 +217,11 @@
|
|
|
216
217
|
]}
|
|
217
218
|
>
|
|
218
219
|
<Sidebar
|
|
219
|
-
brand={resolvedContextual
|
|
220
|
-
groups={resolvedContextual
|
|
221
|
-
value={resolvedContextual
|
|
220
|
+
brand={resolvedContextual?.brand ?? brand}
|
|
221
|
+
groups={resolvedContextual?.groups ?? []}
|
|
222
|
+
value={resolvedContextual?.value ?? ''}
|
|
222
223
|
collapsible={false}
|
|
223
|
-
header={resolvedContextual
|
|
224
|
+
header={resolvedContextual?.header ?? contextualHeaderDefault}
|
|
224
225
|
onchange={onContextualNav}
|
|
225
226
|
/>
|
|
226
227
|
</div>
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@r2digisolutions/components",
|
|
3
|
-
"version": "0.14.
|
|
3
|
+
"version": "0.14.3",
|
|
4
4
|
"private": false,
|
|
5
5
|
"description": "R2DigiSolutions Svelte 5 component library — Atomic Design, Tailwind 4, Light/Dark mode",
|
|
6
6
|
"license": "MIT",
|
|
@@ -66,7 +66,7 @@
|
|
|
66
66
|
},
|
|
67
67
|
"devDependencies": {
|
|
68
68
|
"@eslint/js": "^10.0.1",
|
|
69
|
-
"@lucide/svelte": "^1.
|
|
69
|
+
"@lucide/svelte": "^1.35.0",
|
|
70
70
|
"@playwright/test": "^1.62.1",
|
|
71
71
|
"@storybook/addon-a11y": "^10.5.10",
|
|
72
72
|
"@storybook/addon-docs": "^10.5.10",
|
|
@@ -79,9 +79,9 @@
|
|
|
79
79
|
"@sveltejs/package": "^2.5.8",
|
|
80
80
|
"@sveltejs/vite-plugin-svelte": "^7.3.0",
|
|
81
81
|
"@tailwindcss/vite": "^4.3.3",
|
|
82
|
-
"@types/node": "^26.
|
|
82
|
+
"@types/node": "^26.4.0",
|
|
83
83
|
"@vitest/browser-playwright": "^4.1.11",
|
|
84
|
-
"bumpp": "~12.2.
|
|
84
|
+
"bumpp": "~12.2.2",
|
|
85
85
|
"eslint": "^10.9.1",
|
|
86
86
|
"eslint-config-prettier": "^10.1.8",
|
|
87
87
|
"eslint-plugin-svelte": "^3.23.0",
|