@alliance-droid/status-feedback-system 1.2.0 → 1.2.1

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.
@@ -241,16 +241,16 @@
241
241
  <main class="flex-1 min-w-0">
242
242
  <div class="flex items-start justify-between mb-4">
243
243
  <div>
244
- <h2 class="text-xl font-bold flex items-center gap-2">
245
- {#if activeCategory}
244
+ {#if activeCategory}
245
+ <h2 class="text-xl font-bold flex items-center gap-2">
246
246
  <i class={getCategoryIcon(activeCategory)}></i>
247
247
  {getCategoryLabel(activeCategory)}
248
- {:else}
249
- {title}
248
+ </h2>
249
+ {#if getCategoryDescription(activeCategory)}
250
+ <p class="text-sm text-foreground-secondary mt-1">{getCategoryDescription(activeCategory)}</p>
250
251
  {/if}
251
- </h2>
252
- {#if activeCategory && getCategoryDescription(activeCategory)}
253
- <p class="text-sm text-foreground-secondary mt-1">{getCategoryDescription(activeCategory)}</p>
252
+ {:else if title}
253
+ <h2 class="text-xl font-bold">{title}</h2>
254
254
  {/if}
255
255
  </div>
256
256
  {#if showSubmit}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@alliance-droid/status-feedback-system",
3
- "version": "1.2.0",
3
+ "version": "1.2.1",
4
4
  "type": "module",
5
5
  "description": "Drop-in system status pages and user feedback forms for SvelteKit apps",
6
6
  "svelte": "./dist/index.js",