pxengine 0.1.94 → 0.1.95

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/dist/index.mjs CHANGED
@@ -34910,7 +34910,9 @@ var FileUpload = ({ title, accept, multiple, className, style, onFilesSelected }
34910
34910
  {
34911
34911
  className: cn(
34912
34912
  "relative flex flex-col items-center justify-center p-8 border-2 border-dashed rounded-3xl transition-all",
34913
- !hasPxVars && (isDragging ? "border-purple-500 bg-purple-50" : "border-purple-100 bg-white"),
34913
+ // Default styling matches the creator-discovery cards (gold-on-charcoal,
34914
+ // theme-stable). The `--px-*` styled path overrides this when provided.
34915
+ !hasPxVars && (isDragging ? "border-gold bg-grayPill" : "border-cardBorder bg-cardSurface"),
34914
34916
  className
34915
34917
  ),
34916
34918
  style: wrapperStyle,
@@ -34931,7 +34933,7 @@ var FileUpload = ({ title, accept, multiple, className, style, onFilesSelected }
34931
34933
  /* @__PURE__ */ jsx102(
34932
34934
  "div",
34933
34935
  {
34934
- className: cn("w-12 h-12 rounded-2xl flex items-center justify-center mb-4", !hasPxVars && "bg-purple-100 text-purple-600"),
34936
+ className: cn("w-12 h-12 rounded-2xl flex items-center justify-center mb-4", !hasPxVars && "bg-gold/10 text-gold"),
34935
34937
  style: hasPxVars ? { backgroundColor: "var(--px-accent-color)", color: "var(--px-accent-fg, white)", opacity: 0.15 } : void 0,
34936
34938
  children: /* @__PURE__ */ jsx102(Upload, { className: "w-6 h-6", style: hasPxVars ? { color: "var(--px-accent-color)", opacity: 1 } : void 0 })
34937
34939
  }
@@ -34939,12 +34941,12 @@ var FileUpload = ({ title, accept, multiple, className, style, onFilesSelected }
34939
34941
  /* @__PURE__ */ jsx102(
34940
34942
  "h4",
34941
34943
  {
34942
- className: cn("font-bold mb-1", !hasPxVars && "text-gray-900"),
34944
+ className: cn("font-bold mb-1", !hasPxVars && "text-gold"),
34943
34945
  style: hasPxVars ? { color: "var(--px-text-color, inherit)" } : void 0,
34944
34946
  children: title
34945
34947
  }
34946
34948
  ),
34947
- /* @__PURE__ */ jsx102("p", { className: "text-sm text-muted-foreground mb-6", children: "Drag and drop or click to browse" }),
34949
+ /* @__PURE__ */ jsx102("p", { className: cn("text-sm mb-6", !hasPxVars && "text-cardText"), children: "Drag and drop or click to browse" }),
34948
34950
  /* @__PURE__ */ jsx102(
34949
34951
  "input",
34950
34952
  {
@@ -34959,7 +34961,7 @@ var FileUpload = ({ title, accept, multiple, className, style, onFilesSelected }
34959
34961
  Button,
34960
34962
  {
34961
34963
  variant: "outline",
34962
- className: cn("rounded-full", !hasPxVars && "border-purple-200 text-purple-700 hover:bg-purple-50"),
34964
+ className: cn("rounded-full", !hasPxVars && "border-cardBorder bg-transparent text-gold hover:bg-gold/10 hover:text-gold"),
34963
34965
  style: hasPxVars ? { borderColor: "var(--px-accent-color)", color: "var(--px-accent-color)" } : void 0,
34964
34966
  children: "Select Files"
34965
34967
  }
@@ -43111,7 +43113,7 @@ function PlatformMetricsBanner({
43111
43113
  return /* @__PURE__ */ jsxs132(
43112
43114
  "div",
43113
43115
  {
43114
- className: "\n grid grid-cols-1 gap-3 rounded-xl py-4 px-4 shadow-sm\n md:flex md:overflow-x-auto md:gap-6 md:rounded-l-xl md:py-4 md:px-4 md:items-center md:gap-0 md:px-0 md:ml-8\n ",
43116
+ className: "\r\n grid grid-cols-1 gap-3 rounded-xl py-4 px-4 shadow-sm\r\n md:flex md:overflow-x-auto md:gap-6 md:rounded-l-xl md:py-4 md:px-4 md:items-center md:gap-0 md:px-0 md:ml-8\r\n ",
43115
43117
  style: { backgroundColor: bgColor },
43116
43118
  children: [
43117
43119
  /* @__PURE__ */ jsxs132("div", { className: "flex flex-col items-center md:min-w-0", children: [