@yourbright/emdash-analytics-plugin 0.1.5 → 0.1.6

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.
Files changed (2) hide show
  1. package/dist/admin.js +15 -2
  2. package/package.json +1 -1
package/dist/admin.js CHANGED
@@ -192,7 +192,11 @@ function AnalyticsTabs({
192
192
  {
193
193
  role: "tablist",
194
194
  "aria-label": "Analytics sections",
195
- className: "inline-flex flex-wrap items-center gap-1 rounded-xl border border-border bg-accent/60 p-1 shadow-sm",
195
+ className: "inline-flex flex-wrap items-center gap-1 rounded-xl border p-1 shadow-sm",
196
+ style: {
197
+ backgroundColor: "#ffffff",
198
+ borderColor: "#cbd5e1"
199
+ },
196
200
  children: tabs.map((tab) => {
197
201
  const active = tab.key === section;
198
202
  return /* @__PURE__ */ jsx(
@@ -202,7 +206,16 @@ function AnalyticsTabs({
202
206
  role: "tab",
203
207
  "aria-selected": active,
204
208
  onClick: () => onChange(tab.key),
205
- className: `min-h-10 rounded-lg px-4 py-2 text-sm font-semibold transition focus:outline-none focus:ring-2 focus:ring-foreground/20 ${active ? "bg-background text-foreground shadow-sm" : "text-muted-foreground hover:bg-background/80 hover:text-foreground"}`,
209
+ style: active ? {
210
+ backgroundColor: "var(--color-kumo-brand)",
211
+ borderColor: "var(--color-kumo-brand)",
212
+ color: "#ffffff"
213
+ } : {
214
+ backgroundColor: "#ffffff",
215
+ borderColor: "transparent",
216
+ color: "#475569"
217
+ },
218
+ className: `min-h-10 rounded-lg border px-4 py-2 text-sm font-semibold transition focus:outline-none focus:ring-2 focus:ring-foreground/20 ${active ? "shadow-sm" : "hover:text-slate-900"}`,
206
219
  children: tab.label
207
220
  },
208
221
  tab.key
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@yourbright/emdash-analytics-plugin",
3
- "version": "0.1.5",
3
+ "version": "0.1.6",
4
4
  "description": "Google Search Console and GA4 analytics plugin for EmDash",
5
5
  "type": "module",
6
6
  "main": "./dist/index.js",