@alliance-droid/status-feedback-system 4.1.2 → 4.1.4
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/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,17 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 4.1.4
|
|
4
|
+
|
|
5
|
+
### Changed
|
|
6
|
+
|
|
7
|
+
- `<DevFeedback>` modal: removed the "Submitting as <email>" line at the top of the form, and increased the modal padding (`p-5`/`px-5` → `p-6`/`px-6` on the header, body, and footer) for more breathing room.
|
|
8
|
+
|
|
9
|
+
## 4.1.3
|
|
10
|
+
|
|
11
|
+
### Fixed
|
|
12
|
+
|
|
13
|
+
- `<FeedbackSidebar>`: moved the Status/Sort By group's spacing and padding into a bundled scoped `<style>` (flex `gap`), so the gap between the dropdowns applies even when the consuming app's Tailwind doesn't generate the `space-y-*`/padding utilities. The earlier `space-y-5` approach was a no-op in apps that don't scan this package's classes.
|
|
14
|
+
|
|
3
15
|
## 4.1.2
|
|
4
16
|
|
|
5
17
|
### Fixed
|
|
@@ -419,7 +419,7 @@
|
|
|
419
419
|
<!-- Header (draggable) -->
|
|
420
420
|
<div
|
|
421
421
|
role="presentation"
|
|
422
|
-
class="flex items-center justify-between px-
|
|
422
|
+
class="flex items-center justify-between px-6 py-4 border-b border-border shrink-0 select-none"
|
|
423
423
|
style="cursor: {isDragging ? 'grabbing' : 'grab'};"
|
|
424
424
|
onmousedown={handleDragStart}
|
|
425
425
|
>
|
|
@@ -443,7 +443,7 @@
|
|
|
443
443
|
</div>
|
|
444
444
|
|
|
445
445
|
<!-- Body (scrollable) -->
|
|
446
|
-
<div class="p-
|
|
446
|
+
<div class="p-6 space-y-4 overflow-y-auto">
|
|
447
447
|
{#if submitResult === 'success'}
|
|
448
448
|
<div class="text-center py-6">
|
|
449
449
|
<i class="fa-solid fa-check-circle text-3xl text-green-400"></i>
|
|
@@ -453,11 +453,6 @@
|
|
|
453
453
|
</p>
|
|
454
454
|
</div>
|
|
455
455
|
{:else}
|
|
456
|
-
<div class="flex items-center gap-1.5 text-xs text-foreground-tertiary">
|
|
457
|
-
<i class="fa-solid fa-user" aria-hidden="true"></i>
|
|
458
|
-
<span>Submitting as <span class="font-medium text-foreground-secondary">{userEmail}</span></span>
|
|
459
|
-
</div>
|
|
460
|
-
|
|
461
456
|
<Input
|
|
462
457
|
bind:value={formTitle}
|
|
463
458
|
placeholder={formType === 'bug' ? 'Brief summary of the bug' : 'Feature title'}
|
|
@@ -545,7 +540,7 @@
|
|
|
545
540
|
|
|
546
541
|
<!-- Footer -->
|
|
547
542
|
{#if submitResult !== 'success' && hasUserEmail}
|
|
548
|
-
<div class="flex justify-end gap-2 px-
|
|
543
|
+
<div class="flex justify-end gap-2 px-6 py-4 border-t border-border shrink-0">
|
|
549
544
|
<Button variant="neutral" style="outline" onclick={() => (formOpen = false)}>
|
|
550
545
|
Cancel
|
|
551
546
|
</Button>
|
|
@@ -60,7 +60,7 @@
|
|
|
60
60
|
|
|
61
61
|
<Divider class="my-2" />
|
|
62
62
|
|
|
63
|
-
<div class="
|
|
63
|
+
<div class="sf-filter-group">
|
|
64
64
|
<Select
|
|
65
65
|
label="Status"
|
|
66
66
|
class="rounded-lg border-0 bg-surface-hover"
|
|
@@ -76,3 +76,16 @@
|
|
|
76
76
|
</div>
|
|
77
77
|
</aside>
|
|
78
78
|
|
|
79
|
+
<style>
|
|
80
|
+
/* Spacing/padding is bundled in the component (not Tailwind utilities) so it
|
|
81
|
+
applies regardless of whether the consuming app's Tailwind generates these
|
|
82
|
+
classes. gap → space between the Status and Sort By selects; the 1.25rem
|
|
83
|
+
inline padding lines the labels up with the "All" filter above. */
|
|
84
|
+
.sf-filter-group {
|
|
85
|
+
display: flex;
|
|
86
|
+
flex-direction: column;
|
|
87
|
+
gap: 1.25rem;
|
|
88
|
+
padding: 0.5rem 1.25rem;
|
|
89
|
+
}
|
|
90
|
+
</style>
|
|
91
|
+
|
package/package.json
CHANGED