@schandlergarcia/sf-web-components 2.3.7 → 2.3.9
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
|
@@ -5,6 +5,17 @@ All notable changes to this project will be documented in this file.
|
|
|
5
5
|
The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|
6
6
|
and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
|
|
7
7
|
|
|
8
|
+
## [2.3.9] - 2026-04-13
|
|
9
|
+
|
|
10
|
+
### Changed
|
|
11
|
+
- **Theme-driven metric sizing** — Added CSS variables `--dash-metric-size`, `--dash-metric-sub`, `--dash-pct-size`, `--dash-pct-px`, `--dash-pct-py` that differ between neutral (modest 2.25rem) and Engine (bold 3.25rem). All metric numbers, growth percentages, and status badges now scale via these tokens, creating a visible size jump when switching to Engine branding.
|
|
12
|
+
|
|
13
|
+
## [2.3.8] - 2026-04-13
|
|
14
|
+
|
|
15
|
+
### Changed
|
|
16
|
+
- **Engine theme overhauled for boldness** — Switched primary accent from cyan (#7DCBD9) to Engine's signature amber/gold (#FFB200) to match their actual website branding. Hero uses true Engine Black (#0D1117), surfaces have warm cream (#fef9ef), borders are gold-tinted (#e2c97a), chart-1 is now amber. Cyan moved to `--dash-info`. This makes the Engine theme dramatically different from the neutral blue theme.
|
|
17
|
+
- **Logo increased to h-14** — Engine logo in dashboard header now renders larger for stronger brand presence.
|
|
18
|
+
|
|
8
19
|
## [2.3.7] - 2026-04-11
|
|
9
20
|
|
|
10
21
|
### Changed
|
|
@@ -672,7 +672,7 @@ export default function PartnerHubDashboard() {
|
|
|
672
672
|
<img
|
|
673
673
|
src={engineLogo}
|
|
674
674
|
alt="Engine"
|
|
675
|
-
className="h-
|
|
675
|
+
className="h-14 w-auto dark:invert dark:brightness-0 dark:contrast-100 transition-all duration-300"
|
|
676
676
|
/>
|
|
677
677
|
<div className="flex items-center gap-4">
|
|
678
678
|
<div className="h-10 w-px bg-gradient-to-b from-transparent via-[var(--color-dash-label)]/40 to-transparent" />
|
|
@@ -766,7 +766,7 @@ export default function PartnerHubDashboard() {
|
|
|
766
766
|
<div className="relative max-w-[1600px] mx-auto px-8 py-12 pb-20">
|
|
767
767
|
<div className="max-w-3xl space-y-3 animate-fade-in">
|
|
768
768
|
<h1 className="text-3xl lg:text-4xl font-bold text-white tracking-tight leading-tight">
|
|
769
|
-
Hey there! Here's what's happening with your properties
|
|
769
|
+
Hey there Jamie! Here's what's happening with your properties
|
|
770
770
|
</h1>
|
|
771
771
|
<p className="text-lg text-white/70 leading-relaxed">
|
|
772
772
|
Everything you need to manage your partnership with Engine — invoices, bookings, and any items that need your attention.
|
|
@@ -801,12 +801,12 @@ export default function PartnerHubDashboard() {
|
|
|
801
801
|
<div className="bg-[var(--color-dash-success)]/10 rounded-lg p-2">
|
|
802
802
|
<BanknotesIcon className="h-5 w-5 text-[var(--color-dash-success)]" />
|
|
803
803
|
</div>
|
|
804
|
-
<span className="inline-flex items-center rounded-full
|
|
804
|
+
<span className="inline-flex items-center rounded-full font-bold bg-[var(--color-dash-success)]/10 text-[var(--color-dash-success)]" style={{ fontSize: 'var(--dash-pct-size)', padding: 'var(--dash-pct-py) var(--dash-pct-px)' }}>
|
|
805
805
|
+45%
|
|
806
806
|
</span>
|
|
807
807
|
</div>
|
|
808
808
|
<p className="text-[var(--color-dash-muted)] dark:text-[var(--color-dash-label)] text-xs font-semibold mb-2 uppercase tracking-wider">Total Revenue</p>
|
|
809
|
-
<p className="
|
|
809
|
+
<p className="font-black text-[var(--color-dash-text)] dark:text-white mb-1 leading-tight" style={{ fontSize: 'var(--dash-metric-size)' }}>${(myRevenue / 1000).toFixed(0)}K</p>
|
|
810
810
|
<p className="text-xs text-[var(--color-dash-muted)] dark:text-[var(--color-dash-label)]">earned with Engine</p>
|
|
811
811
|
</>
|
|
812
812
|
)}
|
|
@@ -827,12 +827,12 @@ export default function PartnerHubDashboard() {
|
|
|
827
827
|
<div className="bg-[var(--color-dash-warning)]/10 rounded-lg p-2">
|
|
828
828
|
<ExclamationTriangleIcon className="h-5 w-5 text-[var(--color-dash-warning)]" />
|
|
829
829
|
</div>
|
|
830
|
-
<span className="inline-flex items-center rounded-full
|
|
830
|
+
<span className="inline-flex items-center rounded-full font-bold bg-[var(--color-dash-warning)] text-white" style={{ fontSize: 'var(--dash-pct-size)', padding: 'var(--dash-pct-py) var(--dash-pct-px)' }}>
|
|
831
831
|
REVIEW
|
|
832
832
|
</span>
|
|
833
833
|
</div>
|
|
834
834
|
<p className="text-[var(--color-dash-muted)] dark:text-[var(--color-dash-label)] text-xs font-semibold mb-2 uppercase tracking-wider">Things to Review</p>
|
|
835
|
-
<p className="
|
|
835
|
+
<p className="font-black text-[var(--color-dash-text)] dark:text-white mb-1 leading-tight" style={{ fontSize: 'var(--dash-metric-size)' }}>{myOpenDisputes}</p>
|
|
836
836
|
<p className="text-xs text-[var(--color-dash-muted)] dark:text-[var(--color-dash-label)]">items need attention</p>
|
|
837
837
|
</>
|
|
838
838
|
)}
|
|
@@ -855,7 +855,7 @@ export default function PartnerHubDashboard() {
|
|
|
855
855
|
</div>
|
|
856
856
|
</div>
|
|
857
857
|
<p className="text-[var(--color-dash-muted)] dark:text-[var(--color-dash-label)] text-xs font-semibold mb-2 uppercase tracking-wider">Properties</p>
|
|
858
|
-
<p className="
|
|
858
|
+
<p className="font-black text-[var(--color-dash-text)] dark:text-white mb-1 leading-tight" style={{ fontSize: 'var(--dash-metric-size)' }}>{myProperties}</p>
|
|
859
859
|
<p className="text-xs text-[var(--color-dash-muted)] dark:text-[var(--color-dash-label)]">active locations</p>
|
|
860
860
|
</>
|
|
861
861
|
)}
|
|
@@ -878,7 +878,7 @@ export default function PartnerHubDashboard() {
|
|
|
878
878
|
</div>
|
|
879
879
|
</div>
|
|
880
880
|
<p className="text-[var(--color-dash-muted)] dark:text-[var(--color-dash-label)] text-xs font-semibold mb-2 uppercase tracking-wider">Reservations</p>
|
|
881
|
-
<p className="
|
|
881
|
+
<p className="font-black text-[var(--color-dash-text)] dark:text-white mb-1 leading-tight" style={{ fontSize: 'var(--dash-metric-size)' }}>{myReservations}</p>
|
|
882
882
|
<p className="text-xs text-[var(--color-dash-muted)] dark:text-[var(--color-dash-label)]">through Engine</p>
|
|
883
883
|
</>
|
|
884
884
|
)}
|
|
@@ -901,7 +901,7 @@ export default function PartnerHubDashboard() {
|
|
|
901
901
|
</div>
|
|
902
902
|
</div>
|
|
903
903
|
<p className="text-[var(--color-dash-muted)] dark:text-[var(--color-dash-label)] text-xs font-semibold mb-2 uppercase tracking-wider">Invoices</p>
|
|
904
|
-
<p className="
|
|
904
|
+
<p className="font-black text-[var(--color-dash-text)] dark:text-white mb-1 leading-tight" style={{ fontSize: 'var(--dash-metric-size)' }}>{myPendingInvoices}</p>
|
|
905
905
|
<p className="text-xs text-[var(--color-dash-muted)] dark:text-[var(--color-dash-label)]">ready to pay</p>
|
|
906
906
|
</>
|
|
907
907
|
)}
|
|
@@ -977,7 +977,7 @@ export default function PartnerHubDashboard() {
|
|
|
977
977
|
<h3 className="text-xl font-bold text-[var(--color-dash-text)] dark:text-white">
|
|
978
978
|
{property.name}
|
|
979
979
|
</h3>
|
|
980
|
-
<span className="inline-flex items-center rounded-full
|
|
980
|
+
<span className="inline-flex items-center rounded-full font-bold bg-[var(--color-dash-success)]/20 text-[var(--color-dash-success)] border border-[var(--color-dash-success)]/30" style={{ fontSize: 'var(--dash-pct-size)', padding: 'var(--dash-pct-py) var(--dash-pct-px)' }}>
|
|
981
981
|
+{property.growth}% growth
|
|
982
982
|
</span>
|
|
983
983
|
</div>
|
|
@@ -996,7 +996,7 @@ export default function PartnerHubDashboard() {
|
|
|
996
996
|
|
|
997
997
|
{/* Growth indicator */}
|
|
998
998
|
<div className="text-right flex-shrink-0">
|
|
999
|
-
<p className="
|
|
999
|
+
<p className="font-black text-[var(--color-dash-success)] mb-1 leading-tight" style={{ fontSize: 'var(--dash-metric-size)' }}>
|
|
1000
1000
|
{property.growth}%
|
|
1001
1001
|
</p>
|
|
1002
1002
|
<p className="text-xs text-[var(--color-dash-muted)] dark:text-[var(--color-dash-label)] uppercase tracking-wider">
|
|
@@ -1044,7 +1044,7 @@ export default function PartnerHubDashboard() {
|
|
|
1044
1044
|
ATR-00001 · Summit Austin Convention Center · TechCorp Inc. booking
|
|
1045
1045
|
</p>
|
|
1046
1046
|
</div>
|
|
1047
|
-
<span className="inline-flex items-center rounded-full
|
|
1047
|
+
<span className="inline-flex items-center rounded-full font-bold bg-[var(--color-dash-warning)] text-white flex-shrink-0" style={{ fontSize: 'var(--dash-pct-size)', padding: 'var(--dash-pct-py) var(--dash-pct-px)' }}>
|
|
1048
1048
|
NEEDS REVIEW
|
|
1049
1049
|
</span>
|
|
1050
1050
|
</div>
|
|
@@ -1054,17 +1054,17 @@ export default function PartnerHubDashboard() {
|
|
|
1054
1054
|
<div className="grid grid-cols-1 md:grid-cols-3 gap-4 mb-6">
|
|
1055
1055
|
<div className="bg-[var(--color-dash-surface)] dark:bg-[var(--color-dash-muted)]/10 rounded-xl p-5 border border-[var(--color-dash-label)]/20 dark:border-[var(--color-dash-muted)]/30">
|
|
1056
1056
|
<p className="text-xs font-semibold text-[var(--color-dash-muted)] dark:text-[var(--color-dash-label)] mb-2 uppercase tracking-wider">Current Penalty</p>
|
|
1057
|
-
<p className="
|
|
1057
|
+
<p className="font-black text-[var(--color-dash-text)] dark:text-white mb-1 leading-tight" style={{ fontSize: 'var(--dash-metric-sub)' }}>$9,000</p>
|
|
1058
1058
|
<p className="text-xs text-[var(--color-dash-muted)] dark:text-[var(--color-dash-label)]">You owe Engine</p>
|
|
1059
1059
|
</div>
|
|
1060
1060
|
<div className="bg-[var(--color-dash-success)]/5 dark:bg-[var(--color-dash-success)]/10 rounded-xl p-5 border border-[var(--color-dash-success)]/30">
|
|
1061
1061
|
<p className="text-xs font-semibold text-[var(--color-dash-success)] mb-2 uppercase tracking-wider">Resale Credit Missing</p>
|
|
1062
|
-
<p className="
|
|
1062
|
+
<p className="font-black text-[var(--color-dash-success)] mb-1 leading-tight" style={{ fontSize: 'var(--dash-metric-sub)' }}>-$2,400</p>
|
|
1063
1063
|
<p className="text-xs text-[var(--color-dash-muted)] dark:text-[var(--color-dash-label)]">Should reduce penalty</p>
|
|
1064
1064
|
</div>
|
|
1065
1065
|
<div className="bg-[var(--color-dash-accent)]/5 dark:bg-[var(--color-dash-accent)]/10 rounded-xl p-5 border border-[var(--color-dash-accent)]/30">
|
|
1066
1066
|
<p className="text-xs font-semibold text-[var(--color-dash-muted)] dark:text-[var(--color-dash-label)] mb-2 uppercase tracking-wider">Corrected Amount</p>
|
|
1067
|
-
<p className="
|
|
1067
|
+
<p className="font-black text-[var(--color-dash-accent)] mb-1 leading-tight" style={{ fontSize: 'var(--dash-metric-sub)' }}>$6,600</p>
|
|
1068
1068
|
<p className="text-xs text-[var(--color-dash-muted)] dark:text-[var(--color-dash-label)]">What you should owe</p>
|
|
1069
1069
|
</div>
|
|
1070
1070
|
</div>
|
|
Binary file
|
package/brands/engine/global.css
CHANGED
|
@@ -93,21 +93,26 @@
|
|
|
93
93
|
|
|
94
94
|
:root {
|
|
95
95
|
--dash-text: #0D1117;
|
|
96
|
-
--dash-muted: #
|
|
97
|
-
--dash-label: #
|
|
98
|
-
--dash-surface: #
|
|
99
|
-
--dash-border: #
|
|
100
|
-
--dash-accent: #
|
|
96
|
+
--dash-muted: #3d4047;
|
|
97
|
+
--dash-label: #8b8d91;
|
|
98
|
+
--dash-surface: #fef9ef;
|
|
99
|
+
--dash-border: #e2c97a;
|
|
100
|
+
--dash-accent: #FFB200;
|
|
101
101
|
--dash-success: #1E9D6D;
|
|
102
|
-
--dash-info: #
|
|
103
|
-
--dash-warning: #
|
|
104
|
-
--dash-danger: #
|
|
105
|
-
--dash-dark: #
|
|
106
|
-
--dash-darker: #
|
|
107
|
-
--dash-chart-1: #
|
|
102
|
+
--dash-info: #7DCBD9;
|
|
103
|
+
--dash-warning: #FD4B23;
|
|
104
|
+
--dash-danger: #dc2626;
|
|
105
|
+
--dash-dark: #0D1117;
|
|
106
|
+
--dash-darker: #06090d;
|
|
107
|
+
--dash-chart-1: #FFB200;
|
|
108
108
|
--dash-chart-2: #1E9D6D;
|
|
109
|
-
--dash-chart-3: #
|
|
110
|
-
--dash-chart-4: #
|
|
109
|
+
--dash-chart-3: #7DCBD9;
|
|
110
|
+
--dash-chart-4: #FD4B23;
|
|
111
|
+
--dash-metric-size: 3.25rem;
|
|
112
|
+
--dash-metric-sub: 2.25rem;
|
|
113
|
+
--dash-pct-size: 0.875rem;
|
|
114
|
+
--dash-pct-px: 0.75rem;
|
|
115
|
+
--dash-pct-py: 0.25rem;
|
|
111
116
|
--color-dash-text: var(--dash-text);
|
|
112
117
|
--color-dash-muted: var(--dash-muted);
|
|
113
118
|
--color-dash-label: var(--dash-label);
|
package/dist/styles/global.css
CHANGED
|
@@ -95,6 +95,11 @@
|
|
|
95
95
|
--dash-chart-2: #16a34a;
|
|
96
96
|
--dash-chart-3: #e11d48;
|
|
97
97
|
--dash-chart-4: #7c3aed;
|
|
98
|
+
--dash-metric-size: 2.25rem;
|
|
99
|
+
--dash-metric-sub: 1.875rem;
|
|
100
|
+
--dash-pct-size: 0.75rem;
|
|
101
|
+
--dash-pct-px: 0.5rem;
|
|
102
|
+
--dash-pct-py: 0.125rem;
|
|
98
103
|
--color-dash-text: var(--dash-text);
|
|
99
104
|
--color-dash-muted: var(--dash-muted);
|
|
100
105
|
--color-dash-label: var(--dash-label);
|
package/package.json
CHANGED
package/src/styles/global.css
CHANGED
|
@@ -95,6 +95,11 @@
|
|
|
95
95
|
--dash-chart-2: #16a34a;
|
|
96
96
|
--dash-chart-3: #e11d48;
|
|
97
97
|
--dash-chart-4: #7c3aed;
|
|
98
|
+
--dash-metric-size: 2.25rem;
|
|
99
|
+
--dash-metric-sub: 1.875rem;
|
|
100
|
+
--dash-pct-size: 0.75rem;
|
|
101
|
+
--dash-pct-px: 0.5rem;
|
|
102
|
+
--dash-pct-py: 0.125rem;
|
|
98
103
|
--color-dash-text: var(--dash-text);
|
|
99
104
|
--color-dash-muted: var(--dash-muted);
|
|
100
105
|
--color-dash-label: var(--dash-label);
|