@fairmint/ui 0.2.13 → 0.2.14

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.
@@ -1 +1 @@
1
- {"version":3,"file":"ErrorFallback.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorFallback/ErrorFallback.tsx"],"names":[],"mappings":"AAGA,MAAM,WAAW,kBAAkB;IACjC,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iFAAiF;IACjF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6FAA6F;IAC7F,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,kDAAkD;IAClD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gHAAgH;IAChH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,wBAAgB,aAAa,CAAC,EAC5B,KAA8B,EAC9B,WAA6D,EAC7D,QAAQ,EACR,WAA2B,EAC3B,KAAK,GACN,EAAE,kBAAkB,2CAgBpB"}
1
+ {"version":3,"file":"ErrorFallback.d.ts","sourceRoot":"","sources":["../../../src/components/ErrorFallback/ErrorFallback.tsx"],"names":[],"mappings":"AAIA,MAAM,WAAW,kBAAkB;IACjC,kDAAkD;IAClD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,iFAAiF;IACjF,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,6FAA6F;IAC7F,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,kDAAkD;IAClD,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,gHAAgH;IAChH,KAAK,CAAC,EAAE,OAAO,CAAC;CACjB;AAED,wBAAgB,aAAa,CAAC,EAC5B,KAA8B,EAC9B,WAA6D,EAC7D,QAAQ,EACR,WAA2B,EAC3B,KAAK,GACN,EAAE,kBAAkB,2CAgBpB"}
@@ -1 +1 @@
1
- {"version":3,"file":"FairmintProvider.d.ts","sourceRoot":"","sources":["../../../src/components/FairmintProvider/FairmintProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAGxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,SAAS,CAAC;IACpB,qCAAqC;IACrC,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC;;;OAGG;IACH,oBAAoB,CAAC,EACjB,UAAU,GACV,WAAW,GACX,YAAY,GACZ,aAAa,GACb,cAAc,GACd,eAAe,CAAC;CACrB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,WAAqB,EACrB,oBAAkC,GACnC,EAAE,qBAAqB,2CAWvB"}
1
+ {"version":3,"file":"FairmintProvider.d.ts","sourceRoot":"","sources":["../../../src/components/FairmintProvider/FairmintProvider.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,eAAe,CAAC;AAGxD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,WAAW,qBAAqB;IACpC,QAAQ,EAAE,SAAS,CAAC;IACpB,qCAAqC;IACrC,WAAW,CAAC,EAAE,kBAAkB,CAAC;IACjC;;;OAGG;IACH,oBAAoB,CAAC,EACjB,UAAU,GACV,WAAW,GACX,YAAY,GACZ,aAAa,GACb,cAAc,GACd,eAAe,CAAC;CACrB;AAED,wBAAgB,gBAAgB,CAAC,EAC/B,QAAQ,EACR,WAAqB,EACrB,oBAAkC,GACnC,EAAE,qBAAqB,2CAoBvB"}
@@ -1 +1 @@
1
- {"version":3,"file":"FormField.d.ts","sourceRoot":"","sources":["../../../src/components/form/FormField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,WAAW,cAAc;IAC7B,iEAAiE;IACjE,IAAI,EAAE,MAAM,CAAC;IACb,mBAAmB;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,yCAAyC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oDAAoD;IACpD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,oCAAoC;IACpC,IAAI,EAAE,iBAAiB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CAClD;AAED,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,KAAK,EACL,WAAW,EACX,QAAgB,EAChB,QAAQ,EACR,IAAI,GACL,EAAE,cAAc,2CA6BhB"}
1
+ {"version":3,"file":"FormField.d.ts","sourceRoot":"","sources":["../../../src/components/form/FormField.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,iBAAiB,EAAE,MAAM,eAAe,CAAC;AACvD,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,MAAM,WAAW,cAAc;IAC7B,iEAAiE;IACjE,IAAI,EAAE,MAAM,CAAC;IACb,mBAAmB;IACnB,KAAK,EAAE,MAAM,CAAC;IACd,yCAAyC;IACzC,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oDAAoD;IACpD,QAAQ,CAAC,EAAE,OAAO,CAAC;IACnB,mEAAmE;IACnE,QAAQ,CAAC,EAAE,SAAS,CAAC;IACrB,oCAAoC;IACpC,IAAI,EAAE,iBAAiB,CAAC,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,CAAC,CAAC;CAClD;AAED,wBAAgB,SAAS,CAAC,EACxB,IAAI,EACJ,KAAK,EACL,WAAW,EACX,QAAgB,EAChB,QAAQ,EACR,IAAI,GACL,EAAE,cAAc,2CA6BhB"}
@@ -1 +1 @@
1
- {"version":3,"file":"EmptyState.d.ts","sourceRoot":"","sources":["../../../../src/components/generic/EmptyState/EmptyState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,MAAM,WAAW,eAAe;IAC9B,uDAAuD;IACvD,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,uBAAuB;IACvB,KAAK,EAAE,SAAS,CAAC;IACjB,8BAA8B;IAC9B,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,6DAA6D;IAC7D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,KAAK,EACL,WAAW,EACX,WAAW,EACX,QAAQ,EACR,WAA4B,GAC7B,EAAE,eAAe,2CAuBjB"}
1
+ {"version":3,"file":"EmptyState.d.ts","sourceRoot":"","sources":["../../../../src/components/generic/EmptyState/EmptyState.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAMvC,MAAM,WAAW,eAAe;IAC9B,uDAAuD;IACvD,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB,uBAAuB;IACvB,KAAK,EAAE,SAAS,CAAC;IACjB,8BAA8B;IAC9B,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,6DAA6D;IAC7D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,2BAA2B;IAC3B,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAED,wBAAgB,UAAU,CAAC,EACzB,IAAI,EACJ,KAAK,EACL,WAAW,EACX,WAAW,EACX,QAAQ,EACR,WAA4B,GAC7B,EAAE,eAAe,2CAuBjB"}
@@ -0,0 +1,21 @@
1
+ export type ErrorPageCode = 400 | 401 | 403 | 404 | 429 | 500 | 503;
2
+ export interface ErrorPageProps {
3
+ /** HTTP error code to display. Determines default title, description, and action label. @default 404 */
4
+ errorCode?: ErrorPageCode;
5
+ /** Override the default title for this error code. */
6
+ title?: string;
7
+ /** Override the default description for this error code. */
8
+ description?: string;
9
+ /**
10
+ * Callback when the user clicks the action button.
11
+ * Defaults to `window.location.reload()` for 5xx and 429.
12
+ * For other 4xx codes defaults to `history.back()` when in-app history exists,
13
+ * otherwise navigates to the app origin (avoids a no-op on direct-entry routes).
14
+ * Always provide this prop for meaningful navigation (e.g. 401 → sign-in page).
15
+ */
16
+ onAction?: () => void;
17
+ /** Override the default action button label. */
18
+ actionLabel?: string;
19
+ }
20
+ export declare function ErrorPage({ errorCode, title, description, onAction, actionLabel, }: ErrorPageProps): import("react/jsx-runtime").JSX.Element;
21
+ //# sourceMappingURL=ErrorPage.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"ErrorPage.d.ts","sourceRoot":"","sources":["../../../../src/components/generic/ErrorPage/ErrorPage.tsx"],"names":[],"mappings":"AAKA,MAAM,MAAM,aAAa,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,GAAG,CAAC;AAoDpE,MAAM,WAAW,cAAc;IAC7B,wGAAwG;IACxG,SAAS,CAAC,EAAE,aAAa,CAAC;IAC1B,sDAAsD;IACtD,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,4DAA4D;IAC5D,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB;;;;;;OAMG;IACH,QAAQ,CAAC,EAAE,MAAM,IAAI,CAAC;IACtB,gDAAgD;IAChD,WAAW,CAAC,EAAE,MAAM,CAAC;CACtB;AAUD,wBAAgB,SAAS,CAAC,EACxB,SAAe,EACf,KAAK,EACL,WAAW,EACX,QAAQ,EACR,WAAW,GACZ,EAAE,cAAc,2CAoDhB"}
@@ -1 +1 @@
1
- {"version":3,"file":"ListRow.d.ts","sourceRoot":"","sources":["../../../../src/components/generic/ListRow/ListRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,MAAM,WAAW,YAAY;IAC3B,wDAAwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,4EAA4E;IAC5E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0DAA0D;IAC1D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0EAA0E;IAC1E,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,qEAAqE;IACrE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,6BAA6B;IAC7B,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,gDAAgD;IAChD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,mEAAmE;IACnE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,uEAAuE;IACvE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAkBD,wBAAgB,OAAO,CAAC,EACtB,SAAS,EACT,cAAc,EACd,WAA4B,EAC5B,KAAK,EACL,QAAQ,EACR,KAAK,EACL,aAAa,EACb,YAAY,EACZ,WAAW,EACX,WAAW,EACX,OAAO,EACP,cAAc,EACd,UAAkB,EAClB,SAAS,GACV,EAAE,YAAY,2CA4Fd"}
1
+ {"version":3,"file":"ListRow.d.ts","sourceRoot":"","sources":["../../../../src/components/generic/ListRow/ListRow.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAKvC,MAAM,WAAW,YAAY;IAC3B,wDAAwD;IACxD,SAAS,CAAC,EAAE,MAAM,CAAC;IACnB,yDAAyD;IACzD,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,4EAA4E;IAC5E,WAAW,CAAC,EAAE,MAAM,CAAC;IACrB,oBAAoB;IACpB,KAAK,EAAE,MAAM,CAAC;IACd,kCAAkC;IAClC,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,gCAAgC;IAChC,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,0DAA0D;IAC1D,aAAa,CAAC,EAAE,MAAM,CAAC;IACvB,0EAA0E;IAC1E,YAAY,CAAC,EAAE,SAAS,CAAC;IACzB,qEAAqE;IACrE,WAAW,CAAC,EAAE,OAAO,CAAC;IACtB,6BAA6B;IAC7B,WAAW,CAAC,EAAE,SAAS,CAAC;IACxB,gDAAgD;IAChD,OAAO,CAAC,EAAE,MAAM,IAAI,CAAC;IACrB,mEAAmE;IACnE,cAAc,CAAC,EAAE,MAAM,CAAC;IACxB,uEAAuE;IACvE,UAAU,CAAC,EAAE,OAAO,CAAC;IACrB,oDAAoD;IACpD,SAAS,CAAC,EAAE,MAAM,CAAC;CACpB;AAkBD,wBAAgB,OAAO,CAAC,EACtB,SAAS,EACT,cAAc,EACd,WAA4B,EAC5B,KAAK,EACL,QAAQ,EACR,KAAK,EACL,aAAa,EACb,YAAY,EACZ,WAAW,EACX,WAAW,EACX,OAAO,EACP,cAAc,EACd,UAAkB,EAClB,SAAS,GACV,EAAE,YAAY,2CAgGd"}
@@ -1 +1 @@
1
- {"version":3,"file":"StatCard.d.ts","sourceRoot":"","sources":["../../../../src/components/generic/StatCard/StatCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAEvC,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAGlE,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAChE,wCAAwC;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,iDAAiD;IACjD,KAAK,EAAE,MAAM,CAAC;IACd,6BAA6B;IAC7B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,KAAK,EACL,IAAI,EACJ,KAAsB,EACtB,KAAK,EACL,GAAG,IAAI,EACR,EAAE,aAAa,2CA+Bf"}
1
+ {"version":3,"file":"StatCard.d.ts","sourceRoot":"","sources":["../../../../src/components/generic/StatCard/StatCard.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,OAAO,EAAQ,KAAK,SAAS,EAAE,MAAM,4BAA4B,CAAC;AAGlE,MAAM,WAAW,aAAc,SAAQ,IAAI,CAAC,SAAS,EAAE,UAAU,CAAC;IAChE,wCAAwC;IACxC,KAAK,EAAE,MAAM,CAAC;IACd,iDAAiD;IACjD,KAAK,EAAE,MAAM,CAAC;IACd,6BAA6B;IAC7B,IAAI,CAAC,EAAE,SAAS,CAAC;IACjB;;;OAGG;IACH,KAAK,CAAC,EAAE,MAAM,CAAC;IACf,yDAAyD;IACzD,KAAK,CAAC,EAAE,MAAM,CAAC;CAChB;AAED,wBAAgB,QAAQ,CAAC,EACvB,KAAK,EACL,KAAK,EACL,IAAI,EACJ,KAAsB,EACtB,KAAK,EACL,GAAG,IAAI,EACR,EAAE,aAAa,2CA+Bf"}
@@ -1 +1 @@
1
- {"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/PageHeader/PageHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAGvC,MAAM,WAAW,eAAe;IAC9B,uBAAuB;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yEAAyE;IACzE,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,eAAe,2CActE"}
1
+ {"version":3,"file":"PageHeader.d.ts","sourceRoot":"","sources":["../../../../src/components/layout/PageHeader/PageHeader.tsx"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,SAAS,EAAE,MAAM,OAAO,CAAC;AAIvC,MAAM,WAAW,eAAe;IAC9B,uBAAuB;IACvB,KAAK,EAAE,MAAM,CAAC;IACd,8BAA8B;IAC9B,QAAQ,CAAC,EAAE,MAAM,CAAC;IAClB,yEAAyE;IACzE,MAAM,CAAC,EAAE,SAAS,CAAC;CACpB;AAED,wBAAgB,UAAU,CAAC,EAAE,KAAK,EAAE,QAAQ,EAAE,MAAM,EAAE,EAAE,eAAe,2CActE"}
@@ -26820,110 +26820,6 @@ const AVATAR_PALETTE = [
26820
26820
  colors.accent2,
26821
26821
  colors.accent3
26822
26822
  ];
26823
- const ActionIcon = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(ActionIcon$1, { color: colors.primary, variant: "subtle", ...props, ref }));
26824
- ActionIcon.displayName = "ActionIcon";
26825
- function Alert(props) {
26826
- return /* @__PURE__ */ jsxRuntime.jsx(Alert$1, { ...props });
26827
- }
26828
- const Avatar = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(Avatar$1, { radius: "md", color: colors.primary, ...props, ref }));
26829
- Avatar.displayName = "Avatar";
26830
- const Badge = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(Badge$1, { variant: "light", ...props, ref }));
26831
- Badge.displayName = "Badge";
26832
- const Button = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(Button$1, { color: colors.primary, ...props, ref }));
26833
- Button.displayName = "Button";
26834
- const Card = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(Card$1, { padding: "lg", radius: "xl", withBorder: true, ...props, ref }));
26835
- Card.displayName = "Card";
26836
- const Checkbox = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(Checkbox$1, { color: colors.primary, ...props, ref }));
26837
- Checkbox.displayName = "Checkbox";
26838
- function Drawer(props) {
26839
- return /* @__PURE__ */ jsxRuntime.jsx(Drawer$1, { position: "right", size: "lg", p: "lg", ...props });
26840
- }
26841
- function Loader(props) {
26842
- return /* @__PURE__ */ jsxRuntime.jsx(Loader$1, { ...props });
26843
- }
26844
- function MenuBase(props) {
26845
- return /* @__PURE__ */ jsxRuntime.jsx(Menu$1, { shadow: "md", ...props });
26846
- }
26847
- const Menu = Object.assign(MenuBase, {
26848
- Target: Menu$1.Target,
26849
- Dropdown: Menu$1.Dropdown,
26850
- Item: Menu$1.Item,
26851
- Label: Menu$1.Label,
26852
- Divider: Menu$1.Divider
26853
- });
26854
- function Modal(props) {
26855
- return /* @__PURE__ */ jsxRuntime.jsx(Modal$1, { centered: true, radius: "lg", ...props });
26856
- }
26857
- const PasswordInput = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(PasswordInput$1, { size: "md", ...props, ref }));
26858
- PasswordInput.displayName = "PasswordInput";
26859
- const Select = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(Select$1, { size: "md", ...props, ref }));
26860
- Select.displayName = "Select";
26861
- function Skeleton(props) {
26862
- return /* @__PURE__ */ jsxRuntime.jsx(Skeleton$1, { ...props });
26863
- }
26864
- const Switch = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(Switch$1, { color: colors.primary, ...props, ref }));
26865
- Switch.displayName = "Switch";
26866
- function TableBase(props) {
26867
- return /* @__PURE__ */ jsxRuntime.jsx(Table$1, { ...props });
26868
- }
26869
- const Table = Object.assign(TableBase, {
26870
- Thead: Table$1.Thead,
26871
- Tbody: Table$1.Tbody,
26872
- Tr: Table$1.Tr,
26873
- Th: Table$1.Th,
26874
- Td: Table$1.Td,
26875
- Tfoot: Table$1.Tfoot,
26876
- Caption: Table$1.Caption
26877
- });
26878
- function TabsBase(props) {
26879
- return /* @__PURE__ */ jsxRuntime.jsx(Tabs$1, { color: colors.primary, ...props });
26880
- }
26881
- const Tabs = Object.assign(TabsBase, {
26882
- List: Tabs$1.List,
26883
- Tab: Tabs$1.Tab,
26884
- Panel: Tabs$1.Panel
26885
- });
26886
- const TextInput = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(TextInput$1, { size: "md", ...props, ref }));
26887
- TextInput.displayName = "TextInput";
26888
- function Tooltip(props) {
26889
- return /* @__PURE__ */ jsxRuntime.jsx(Tooltip$1, { fz: "xs", ...props });
26890
- }
26891
- function ErrorFallback({
26892
- title = "Something went wrong",
26893
- description = "We've been notified and are working on a fix.",
26894
- onAction,
26895
- actionLabel = "Reload Page",
26896
- error: error2
26897
- }) {
26898
- if (error2 !== void 0) {
26899
- console.error("[ErrorFallback]", error2);
26900
- }
26901
- const handleAction = onAction ?? (() => window.location.reload());
26902
- return /* @__PURE__ */ jsxRuntime.jsx(Container, { size: "sm", py: "xl", children: /* @__PURE__ */ jsxRuntime.jsxs(Stack, { align: "center", gap: "md", children: [
26903
- /* @__PURE__ */ jsxRuntime.jsx(Title, { order: 2, children: title }),
26904
- /* @__PURE__ */ jsxRuntime.jsx(Text, { c: "dimmed", children: description }),
26905
- /* @__PURE__ */ jsxRuntime.jsx(Button, { onClick: handleAction, children: actionLabel })
26906
- ] }) });
26907
- }
26908
- function FairmintLogo({
26909
- src = "https://imagedelivery.net/Lm6ChJXR4cIKKycsNMvGjA/0367be38-c9d8-4206-aaae-eba5ff830600/public",
26910
- width = 140,
26911
- height = 30,
26912
- className,
26913
- alt = "Fairmint"
26914
- }) {
26915
- return /* @__PURE__ */ jsxRuntime.jsx(
26916
- "img",
26917
- {
26918
- src,
26919
- alt,
26920
- width,
26921
- height,
26922
- className,
26923
- style: { objectFit: "contain" }
26924
- }
26925
- );
26926
- }
26927
26823
  const radii = {
26928
26824
  xs: "0.25rem",
26929
26825
  sm: "0.375rem",
@@ -27027,12 +26923,16 @@ const info = [
27027
26923
  "#155B75",
27028
26924
  "#164C63"
27029
26925
  ];
26926
+ const typography = {
26927
+ fontFamily: '"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"',
26928
+ headingFontFamily: '"Plus Jakarta Sans", sans-serif'
26929
+ };
27030
26930
  const theme = createTheme({
27031
26931
  primaryColor: "indigo",
27032
26932
  colors: { indigo, gray: neutral, fairmintBlue, fairmintPurple, success, warning, error, info },
27033
- fontFamily: '"Inter", -apple-system, BlinkMacSystemFont, "Segoe UI", Helvetica, Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji"',
26933
+ fontFamily: typography.fontFamily,
27034
26934
  headings: {
27035
- fontFamily: '"Plus Jakarta Sans", sans-serif',
26935
+ fontFamily: typography.headingFontFamily,
27036
26936
  fontWeight: "700"
27037
26937
  },
27038
26938
  radius: radii,
@@ -27082,6 +26982,49 @@ const theme = createTheme({
27082
26982
  }
27083
26983
  }
27084
26984
  });
26985
+ const fairmintCssVariables = () => ({
26986
+ variables: {
26987
+ "--fairmint-font-headings": typography.headingFontFamily,
26988
+ "--fairmint-font-body": typography.fontFamily
26989
+ },
26990
+ light: {
26991
+ /** Large decorative background text on error/empty pages. */
26992
+ "--fairmint-watermark-color": neutral[1],
26993
+ /** Supporting / muted text (subtitles, secondary labels). Replaces c="dimmed" and neutral.5 */
26994
+ "--fairmint-color-text-secondary": neutral[5],
26995
+ /** Faint metadata text (timestamps, tertiary labels). Replaces neutral.4 */
26996
+ "--fairmint-color-text-tertiary": neutral[4],
26997
+ /** Background tint for selected / active rows. Replaces primary.0 */
26998
+ "--fairmint-color-surface-selected": indigo[0]
26999
+ },
27000
+ dark: {
27001
+ "--fairmint-watermark-color": neutral[7],
27002
+ "--fairmint-color-text-secondary": neutral[4],
27003
+ "--fairmint-color-text-tertiary": neutral[5],
27004
+ "--fairmint-color-surface-selected": indigo[9]
27005
+ }
27006
+ });
27007
+ const fairmintVars = {
27008
+ /** Secondary / muted text — subtitles, supporting labels. Adapts to color scheme. */
27009
+ colorTextSecondary: `var(--fairmint-color-text-secondary, ${neutral[5]})`,
27010
+ /** Tertiary / faint text — timestamps, metadata. Adapts to color scheme. */
27011
+ colorTextTertiary: `var(--fairmint-color-text-tertiary, ${neutral[4]})`,
27012
+ /** Background tint for selected / active rows. Adapts to color scheme. */
27013
+ colorSurfaceSelected: `var(--fairmint-color-surface-selected, ${indigo[0]})`,
27014
+ /** Large decorative watermark on error/empty pages. Adapts to color scheme. */
27015
+ watermarkColor: `var(--fairmint-watermark-color, ${neutral[1]})`,
27016
+ /** Heading font family (Plus Jakarta Sans). */
27017
+ fontHeadings: `var(--fairmint-font-headings, ${typography.headingFontFamily})`,
27018
+ /** Body font family (Inter). */
27019
+ fontBody: `var(--fairmint-font-body, ${typography.fontFamily})`
27020
+ };
27021
+ function createFairmintMantineProviderProps(colorScheme = "light") {
27022
+ return {
27023
+ theme,
27024
+ cssVariablesResolver: fairmintCssVariables,
27025
+ defaultColorScheme: colorScheme
27026
+ };
27027
+ }
27085
27028
  const brandColors = {
27086
27029
  blue: "#0A4EFB",
27087
27030
  purple: "#9E03FF",
@@ -27106,15 +27049,127 @@ const semanticColors = {
27106
27049
  error: "#F04438",
27107
27050
  info: "#06AED4"
27108
27051
  };
27052
+ const ActionIcon = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(ActionIcon$1, { color: colors.primary, variant: "subtle", ...props, ref }));
27053
+ ActionIcon.displayName = "ActionIcon";
27054
+ function Alert(props) {
27055
+ return /* @__PURE__ */ jsxRuntime.jsx(Alert$1, { ...props });
27056
+ }
27057
+ const Avatar = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(Avatar$1, { radius: "md", color: colors.primary, ...props, ref }));
27058
+ Avatar.displayName = "Avatar";
27059
+ const Badge = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(Badge$1, { variant: "light", ...props, ref }));
27060
+ Badge.displayName = "Badge";
27061
+ const Button = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(Button$1, { color: colors.primary, ...props, ref }));
27062
+ Button.displayName = "Button";
27063
+ const Card = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(Card$1, { padding: "lg", radius: "xl", withBorder: true, ...props, ref }));
27064
+ Card.displayName = "Card";
27065
+ const Checkbox = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(Checkbox$1, { color: colors.primary, ...props, ref }));
27066
+ Checkbox.displayName = "Checkbox";
27067
+ function Drawer(props) {
27068
+ return /* @__PURE__ */ jsxRuntime.jsx(Drawer$1, { position: "right", size: "lg", p: "lg", ...props });
27069
+ }
27070
+ function Loader(props) {
27071
+ return /* @__PURE__ */ jsxRuntime.jsx(Loader$1, { ...props });
27072
+ }
27073
+ function MenuBase(props) {
27074
+ return /* @__PURE__ */ jsxRuntime.jsx(Menu$1, { shadow: "md", ...props });
27075
+ }
27076
+ const Menu = Object.assign(MenuBase, {
27077
+ Target: Menu$1.Target,
27078
+ Dropdown: Menu$1.Dropdown,
27079
+ Item: Menu$1.Item,
27080
+ Label: Menu$1.Label,
27081
+ Divider: Menu$1.Divider
27082
+ });
27083
+ function Modal(props) {
27084
+ return /* @__PURE__ */ jsxRuntime.jsx(Modal$1, { centered: true, radius: "lg", ...props });
27085
+ }
27086
+ const PasswordInput = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(PasswordInput$1, { size: "md", ...props, ref }));
27087
+ PasswordInput.displayName = "PasswordInput";
27088
+ const Select = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(Select$1, { size: "md", ...props, ref }));
27089
+ Select.displayName = "Select";
27090
+ function Skeleton(props) {
27091
+ return /* @__PURE__ */ jsxRuntime.jsx(Skeleton$1, { ...props });
27092
+ }
27093
+ const Switch = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(Switch$1, { color: colors.primary, ...props, ref }));
27094
+ Switch.displayName = "Switch";
27095
+ function TableBase(props) {
27096
+ return /* @__PURE__ */ jsxRuntime.jsx(Table$1, { ...props });
27097
+ }
27098
+ const Table = Object.assign(TableBase, {
27099
+ Thead: Table$1.Thead,
27100
+ Tbody: Table$1.Tbody,
27101
+ Tr: Table$1.Tr,
27102
+ Th: Table$1.Th,
27103
+ Td: Table$1.Td,
27104
+ Tfoot: Table$1.Tfoot,
27105
+ Caption: Table$1.Caption
27106
+ });
27107
+ function TabsBase(props) {
27108
+ return /* @__PURE__ */ jsxRuntime.jsx(Tabs$1, { color: colors.primary, ...props });
27109
+ }
27110
+ const Tabs = Object.assign(TabsBase, {
27111
+ List: Tabs$1.List,
27112
+ Tab: Tabs$1.Tab,
27113
+ Panel: Tabs$1.Panel
27114
+ });
27115
+ const TextInput = React.forwardRef((props, ref) => /* @__PURE__ */ jsxRuntime.jsx(TextInput$1, { size: "md", ...props, ref }));
27116
+ TextInput.displayName = "TextInput";
27117
+ function Tooltip(props) {
27118
+ return /* @__PURE__ */ jsxRuntime.jsx(Tooltip$1, { fz: "xs", ...props });
27119
+ }
27120
+ function ErrorFallback({
27121
+ title = "Something went wrong",
27122
+ description = "We've been notified and are working on a fix.",
27123
+ onAction,
27124
+ actionLabel = "Reload Page",
27125
+ error: error2
27126
+ }) {
27127
+ if (error2 !== void 0) {
27128
+ console.error("[ErrorFallback]", error2);
27129
+ }
27130
+ const handleAction = onAction ?? (() => window.location.reload());
27131
+ return /* @__PURE__ */ jsxRuntime.jsx(Container, { size: "sm", py: "xl", children: /* @__PURE__ */ jsxRuntime.jsxs(Stack, { align: "center", gap: "md", children: [
27132
+ /* @__PURE__ */ jsxRuntime.jsx(Title, { order: 2, children: title }),
27133
+ /* @__PURE__ */ jsxRuntime.jsx(Text, { c: fairmintVars.colorTextSecondary, children: description }),
27134
+ /* @__PURE__ */ jsxRuntime.jsx(Button, { onClick: handleAction, children: actionLabel })
27135
+ ] }) });
27136
+ }
27137
+ function FairmintLogo({
27138
+ src = "https://imagedelivery.net/Lm6ChJXR4cIKKycsNMvGjA/0367be38-c9d8-4206-aaae-eba5ff830600/public",
27139
+ width = 140,
27140
+ height = 30,
27141
+ className,
27142
+ alt = "Fairmint"
27143
+ }) {
27144
+ return /* @__PURE__ */ jsxRuntime.jsx(
27145
+ "img",
27146
+ {
27147
+ src,
27148
+ alt,
27149
+ width,
27150
+ height,
27151
+ className,
27152
+ style: { objectFit: "contain" }
27153
+ }
27154
+ );
27155
+ }
27109
27156
  function FairmintProvider({
27110
27157
  children,
27111
27158
  colorScheme = "light",
27112
27159
  notificationPosition = "top-right"
27113
27160
  }) {
27114
- return /* @__PURE__ */ jsxRuntime.jsxs(MantineProvider, { theme, defaultColorScheme: colorScheme, children: [
27115
- /* @__PURE__ */ jsxRuntime.jsx(Notifications, { position: notificationPosition }),
27116
- children
27117
- ] });
27161
+ return /* @__PURE__ */ jsxRuntime.jsxs(
27162
+ MantineProvider,
27163
+ {
27164
+ theme,
27165
+ defaultColorScheme: colorScheme,
27166
+ cssVariablesResolver: fairmintCssVariables,
27167
+ children: [
27168
+ /* @__PURE__ */ jsxRuntime.jsx(Notifications, { position: notificationPosition }),
27169
+ children
27170
+ ]
27171
+ }
27172
+ );
27118
27173
  }
27119
27174
  const emailSchema = stringType().email("Please enter a valid email address");
27120
27175
  function EmailField({ error: error2, ...rest }) {
@@ -28229,7 +28284,7 @@ function FormField({
28229
28284
  }
28230
28285
  ),
28231
28286
  children && inputProps.error && /* @__PURE__ */ jsxRuntime.jsx(Text, { size: "xs", c: "error", role: "alert", children: inputProps.error }),
28232
- children && description && !inputProps.error && /* @__PURE__ */ jsxRuntime.jsx(Text, { size: "xs", c: "dimmed", children: description })
28287
+ children && description && !inputProps.error && /* @__PURE__ */ jsxRuntime.jsx(Text, { size: "xs", c: fairmintVars.colorTextSecondary, children: description })
28233
28288
  ] });
28234
28289
  }
28235
28290
  const passwordSchema = stringType().min(8, "Password must be at least 8 characters");
@@ -28519,9 +28574,9 @@ function EmptyState({
28519
28574
  actionColor = colors.primary
28520
28575
  }) {
28521
28576
  return /* @__PURE__ */ jsxRuntime.jsxs(Stack, { align: "center", gap: "md", py: "xl", role: "status", children: [
28522
- icon && /* @__PURE__ */ jsxRuntime.jsx(Box, { c: `${colors.neutral}.5`, fz: "2.5rem", children: icon }),
28577
+ icon && /* @__PURE__ */ jsxRuntime.jsx(Box, { c: fairmintVars.colorTextSecondary, fz: "2.5rem", children: icon }),
28523
28578
  /* @__PURE__ */ jsxRuntime.jsx(Title, { order: 4, ta: "center", children: title }),
28524
- description && /* @__PURE__ */ jsxRuntime.jsx(Text, { c: "dimmed", size: "sm", ta: "center", maw: 360, children: description }),
28579
+ description && /* @__PURE__ */ jsxRuntime.jsx(Text, { c: fairmintVars.colorTextSecondary, size: "sm", ta: "center", maw: 360, children: description }),
28525
28580
  actionLabel && onAction && /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "light", color: actionColor, onClick: onAction, children: actionLabel })
28526
28581
  ] });
28527
28582
  }
@@ -28709,6 +28764,102 @@ function EditableSection({
28709
28764
  ] }) : readView
28710
28765
  ] });
28711
28766
  }
28767
+ const ERROR_CONFIGS = {
28768
+ 400: {
28769
+ title: "Bad request",
28770
+ description: "Your request could not be understood. Please check your input and try again.",
28771
+ actionLabel: "Go back"
28772
+ },
28773
+ 401: {
28774
+ title: "Authentication required",
28775
+ description: "You need to sign in to access this page. If you believe this is a mistake, please contact support.",
28776
+ actionLabel: "Go back"
28777
+ },
28778
+ 403: {
28779
+ title: "Access denied",
28780
+ description: "You don't have permission to access this page. Contact support if you believe this is a mistake.",
28781
+ actionLabel: "Go back"
28782
+ },
28783
+ 404: {
28784
+ title: "Nothing to see here",
28785
+ description: "The page you are trying to open does not exist. You may have mistyped the address, or the page has been moved to another URL.",
28786
+ actionLabel: "Go back"
28787
+ },
28788
+ 429: {
28789
+ title: "Too many requests",
28790
+ description: "You have made too many requests in a short period. Please wait a moment before trying again.",
28791
+ actionLabel: "Try again"
28792
+ },
28793
+ 500: {
28794
+ title: "Something went wrong",
28795
+ description: "An unexpected error occurred on our end. We have been notified and are working on a fix.",
28796
+ actionLabel: "Reload page"
28797
+ },
28798
+ 503: {
28799
+ title: "Service unavailable",
28800
+ description: "We are temporarily unavailable for scheduled maintenance. Please check back shortly.",
28801
+ actionLabel: "Try again"
28802
+ }
28803
+ };
28804
+ function defaultAction(errorCode) {
28805
+ if (errorCode >= 500 || errorCode === 429) return () => window.location.reload();
28806
+ return () => {
28807
+ if (window.history.length > 1) window.history.back();
28808
+ else window.location.assign(window.location.origin);
28809
+ };
28810
+ }
28811
+ function ErrorPage({
28812
+ errorCode = 404,
28813
+ title,
28814
+ description,
28815
+ onAction,
28816
+ actionLabel
28817
+ }) {
28818
+ const config2 = ERROR_CONFIGS[errorCode] ?? ERROR_CONFIGS[500];
28819
+ const resolvedTitle = title ?? config2.title;
28820
+ const resolvedDescription = description ?? config2.description;
28821
+ const resolvedActionLabel = actionLabel ?? config2.actionLabel;
28822
+ const handleAction = onAction ?? defaultAction(errorCode);
28823
+ return /* @__PURE__ */ jsxRuntime.jsxs(
28824
+ Flex,
28825
+ {
28826
+ pos: "relative",
28827
+ align: "center",
28828
+ justify: "center",
28829
+ style: { minHeight: "100dvh", overflow: "hidden" },
28830
+ children: [
28831
+ /* @__PURE__ */ jsxRuntime.jsx(
28832
+ Box,
28833
+ {
28834
+ pos: "absolute",
28835
+ "aria-hidden": true,
28836
+ fw: 900,
28837
+ lh: 1,
28838
+ w: "100%",
28839
+ ta: "center",
28840
+ c: fairmintVars.watermarkColor,
28841
+ ff: fairmintVars.fontHeadings,
28842
+ style: {
28843
+ fontSize: "clamp(200px, 30vw, 380px)",
28844
+ userSelect: "none",
28845
+ letterSpacing: "-0.04em",
28846
+ top: "50%",
28847
+ left: "50%",
28848
+ transform: "translate(-50%, -50%)",
28849
+ pointerEvents: "none"
28850
+ },
28851
+ children: errorCode
28852
+ }
28853
+ ),
28854
+ /* @__PURE__ */ jsxRuntime.jsx(Container, { size: "sm", pos: "relative", style: { zIndex: 1 }, children: /* @__PURE__ */ jsxRuntime.jsxs(Stack, { align: "center", gap: "lg", children: [
28855
+ /* @__PURE__ */ jsxRuntime.jsx(Title, { order: 2, ta: "center", children: resolvedTitle }),
28856
+ /* @__PURE__ */ jsxRuntime.jsx(Text, { c: fairmintVars.colorTextSecondary, ta: "center", maw: 500, size: "lg", children: resolvedDescription }),
28857
+ /* @__PURE__ */ jsxRuntime.jsx(Button, { color: colors.primary, onClick: handleAction, children: resolvedActionLabel })
28858
+ ] }) })
28859
+ ]
28860
+ }
28861
+ );
28862
+ }
28712
28863
  const DefaultChevronIcon = () => /* @__PURE__ */ jsxRuntime.jsx(
28713
28864
  "svg",
28714
28865
  {
@@ -28747,14 +28898,22 @@ function ListRow({
28747
28898
  /* @__PURE__ */ jsxRuntime.jsx(Avatar, { src: avatarSrc, alt: title, radius: "md", size: 40, color: avatarColor, children: avatarFallback ?? title.charAt(0).toUpperCase() }),
28748
28899
  /* @__PURE__ */ jsxRuntime.jsxs(Box, { flex: 1, miw: 0, children: [
28749
28900
  /* @__PURE__ */ jsxRuntime.jsx(Text, { fw: 500, size: "sm", truncate: true, children: title }),
28750
- subtitle && /* @__PURE__ */ jsxRuntime.jsx(Text, { size: "xs", c: "dimmed", lh: 1.3, children: subtitle })
28901
+ subtitle && /* @__PURE__ */ jsxRuntime.jsx(Text, { size: "xs", c: fairmintVars.colorTextSecondary, lh: 1.3, children: subtitle })
28751
28902
  ] }),
28752
28903
  /* @__PURE__ */ jsxRuntime.jsxs(Group, { gap: 6, wrap: "nowrap", children: [
28753
28904
  rightSection ?? (value !== void 0 && /* @__PURE__ */ jsxRuntime.jsxs(Stack, { gap: 2, align: "flex-end", children: [
28754
28905
  /* @__PURE__ */ jsxRuntime.jsx(Text, { fw: 500, size: "sm", style: { whiteSpace: "nowrap" }, children: value }),
28755
- valueSubtitle && /* @__PURE__ */ jsxRuntime.jsx(Text, { size: "xs", c: "dimmed", style: { whiteSpace: "nowrap" }, children: valueSubtitle })
28906
+ valueSubtitle && /* @__PURE__ */ jsxRuntime.jsx(
28907
+ Text,
28908
+ {
28909
+ size: "xs",
28910
+ c: fairmintVars.colorTextSecondary,
28911
+ style: { whiteSpace: "nowrap" },
28912
+ children: valueSubtitle
28913
+ }
28914
+ )
28756
28915
  ] })),
28757
- displayChevron && (chevronIcon ?? /* @__PURE__ */ jsxRuntime.jsx(Box, { c: `${colors.neutral}.4`, style: { flexShrink: 0 }, children: /* @__PURE__ */ jsxRuntime.jsx(DefaultChevronIcon, {}) }))
28916
+ displayChevron && (chevronIcon ?? /* @__PURE__ */ jsxRuntime.jsx(Box, { c: fairmintVars.colorTextTertiary, style: { flexShrink: 0 }, children: /* @__PURE__ */ jsxRuntime.jsx(DefaultChevronIcon, {}) }))
28758
28917
  ] })
28759
28918
  ] });
28760
28919
  const animationStyle = animate ? {
@@ -28766,7 +28925,7 @@ function ListRow({
28766
28925
  return /* @__PURE__ */ jsxRuntime.jsx(
28767
28926
  Box,
28768
28927
  {
28769
- bg: isSelected ? `${colors.primary}.0` : void 0,
28928
+ bg: isSelected ? fairmintVars.colorSurfaceSelected : void 0,
28770
28929
  py: "sm",
28771
28930
  px: "md",
28772
28931
  style: animationStyle,
@@ -28777,7 +28936,7 @@ function ListRow({
28777
28936
  return /* @__PURE__ */ jsxRuntime.jsx(
28778
28937
  UnstyledButton,
28779
28938
  {
28780
- bg: isSelected ? `${colors.primary}.0` : void 0,
28939
+ bg: isSelected ? fairmintVars.colorSurfaceSelected : void 0,
28781
28940
  onClick,
28782
28941
  w: "100%",
28783
28942
  py: "sm",
@@ -30047,9 +30206,9 @@ function PhotoCropModal({
30047
30206
  )
30048
30207
  }
30049
30208
  ),
30050
- /* @__PURE__ */ jsxRuntime.jsx(Text, { size: "xs", c: "dimmed", ta: "center", children: "Drag to reposition · Scroll or pinch to zoom" }),
30209
+ /* @__PURE__ */ jsxRuntime.jsx(Text, { size: "xs", c: fairmintVars.colorTextSecondary, ta: "center", children: "Drag to reposition · Scroll or pinch to zoom" }),
30051
30210
  /* @__PURE__ */ jsxRuntime.jsxs(Group, { justify: "flex-end", gap: "xs", children: [
30052
- /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "subtle", color: "gray", onClick: onClose, disabled: isConfirming, children: "Cancel" }),
30211
+ /* @__PURE__ */ jsxRuntime.jsx(Button, { variant: "subtle", color: colors.neutral, onClick: onClose, disabled: isConfirming, children: "Cancel" }),
30053
30212
  /* @__PURE__ */ jsxRuntime.jsx(Button, { onClick: handleConfirm, loading: isConfirming, disabled: !croppedAreaPixels, children: "Apply" })
30054
30213
  ] })
30055
30214
  ] }) });
@@ -30148,7 +30307,7 @@ function StatCard({
30148
30307
  }
30149
30308
  ),
30150
30309
  /* @__PURE__ */ jsxRuntime.jsx(Text, { fw: 700, size: "xl", lh: 1, children: value }),
30151
- trend && /* @__PURE__ */ jsxRuntime.jsx(Text, { size: "xs", c: "dimmed", children: trend })
30310
+ trend && /* @__PURE__ */ jsxRuntime.jsx(Text, { size: "xs", c: fairmintVars.colorTextSecondary, children: trend })
30152
30311
  ] }),
30153
30312
  icon && /* @__PURE__ */ jsxRuntime.jsx(Box, { c: `${color}.5`, fz: "1.5rem", children: icon })
30154
30313
  ] }) });
@@ -30243,7 +30402,7 @@ function PageHeader({ title, subtitle, action }) {
30243
30402
  return /* @__PURE__ */ jsxRuntime.jsxs(Group, { justify: "space-between", align: "flex-start", mb: "lg", children: [
30244
30403
  /* @__PURE__ */ jsxRuntime.jsxs(Stack, { gap: 4, children: [
30245
30404
  /* @__PURE__ */ jsxRuntime.jsx(Title, { order: 2, children: title }),
30246
- subtitle && /* @__PURE__ */ jsxRuntime.jsx(Text, { c: "dimmed", size: "sm", children: subtitle })
30405
+ subtitle && /* @__PURE__ */ jsxRuntime.jsx(Text, { c: fairmintVars.colorTextSecondary, size: "sm", children: subtitle })
30247
30406
  ] }),
30248
30407
  action
30249
30408
  ] });
@@ -30539,9 +30698,9 @@ function InvestorProfileCard({
30539
30698
  }
30540
30699
  ) }) : /* @__PURE__ */ jsxRuntime.jsx(ActionIcon, { variant: "subtle", size: "sm", onClick: onEditName, "aria-label": "Edit name", children: editNameIcon ?? /* @__PURE__ */ jsxRuntime.jsx(DefaultPencilIcon, {}) }))
30541
30700
  ] }),
30542
- email && /* @__PURE__ */ jsxRuntime.jsx(Text, { size: "sm", c: `${colors.neutral}.5`, children: email }),
30543
- memberSinceText && /* @__PURE__ */ jsxRuntime.jsx(Text, { size: "xs", c: `${colors.neutral}.4`, children: memberSinceText }),
30544
- subtitle && /* @__PURE__ */ jsxRuntime.jsx(Text, { size: "xs", c: `${colors.neutral}.5`, children: subtitle })
30701
+ email && /* @__PURE__ */ jsxRuntime.jsx(Text, { size: "sm", c: fairmintVars.colorTextSecondary, children: email }),
30702
+ memberSinceText && /* @__PURE__ */ jsxRuntime.jsx(Text, { size: "xs", c: fairmintVars.colorTextTertiary, children: memberSinceText }),
30703
+ subtitle && /* @__PURE__ */ jsxRuntime.jsx(Text, { size: "xs", c: fairmintVars.colorTextSecondary, children: subtitle })
30545
30704
  ] })
30546
30705
  ] }),
30547
30706
  children
@@ -30641,7 +30800,7 @@ function WalletList({
30641
30800
  children: [
30642
30801
  /* @__PURE__ */ jsxRuntime.jsxs(Group, { gap: "xs", children: [
30643
30802
  /* @__PURE__ */ jsxRuntime.jsx(Badge, { size: "xs", variant: "light", children: getTypeLabel(w.type, typeLabels) }),
30644
- w.label && /* @__PURE__ */ jsxRuntime.jsx(Text, { size: "xs", c: `${colors.neutral}.5`, children: w.label }),
30803
+ w.label && /* @__PURE__ */ jsxRuntime.jsx(Text, { size: "xs", c: fairmintVars.colorTextSecondary, children: w.label }),
30645
30804
  /* @__PURE__ */ jsxRuntime.jsx(Text, { size: "sm", ff: "monospace", children: truncateAddress(w.address) })
30646
30805
  ] }),
30647
30806
  /* @__PURE__ */ jsxRuntime.jsxs(Group, { gap: 4, children: [
@@ -30719,7 +30878,7 @@ function WalletList({
30719
30878
  title: "Remove Wallet",
30720
30879
  message: /* @__PURE__ */ jsxRuntime.jsxs(Stack, { gap: "sm", children: [
30721
30880
  /* @__PURE__ */ jsxRuntime.jsx(Text, { size: "sm", children: "Are you sure you want to remove this wallet address? This action cannot be undone." }),
30722
- walletToRemove && /* @__PURE__ */ jsxRuntime.jsx(Text, { size: "sm", ff: "monospace", c: `${colors.neutral}.5`, children: walletToRemove }),
30881
+ walletToRemove && /* @__PURE__ */ jsxRuntime.jsx(Text, { size: "sm", ff: "monospace", c: fairmintVars.colorTextSecondary, children: walletToRemove }),
30723
30882
  removeError && /* @__PURE__ */ jsxRuntime.jsx(Text, { size: "sm", c: colors.error, children: removeError })
30724
30883
  ] }),
30725
30884
  opened: walletToRemove !== null,
@@ -30797,6 +30956,7 @@ exports.EmailField = EmailField;
30797
30956
  exports.EmptyState = EmptyState;
30798
30957
  exports.EquityGrantCard = EquityGrantCard;
30799
30958
  exports.ErrorFallback = ErrorFallback;
30959
+ exports.ErrorPage = ErrorPage;
30800
30960
  exports.EthereumAddressField = EthereumAddressField;
30801
30961
  exports.FairmintLogo = FairmintLogo;
30802
30962
  exports.FairmintProvider = FairmintProvider;
@@ -30855,9 +31015,12 @@ exports.ZERO_ETHEREUM_ADDRESS = ZERO_ETHEREUM_ADDRESS;
30855
31015
  exports.ZipField = ZipField;
30856
31016
  exports.brandColors = brandColors;
30857
31017
  exports.colors = colors;
31018
+ exports.createFairmintMantineProviderProps = createFairmintMantineProviderProps;
30858
31019
  exports.createZipSchema = createZipSchema;
30859
31020
  exports.emailSchema = emailSchema;
30860
31021
  exports.ethereumAddressSchema = ethereumAddressSchema;
31022
+ exports.fairmintCssVariables = fairmintCssVariables;
31023
+ exports.fairmintVars = fairmintVars;
30861
31024
  exports.formatCurrency = formatCurrency;
30862
31025
  exports.formatCurrencyPrecise = formatCurrencyPrecise;
30863
31026
  exports.formatDate = formatDate;
@@ -30877,6 +31040,7 @@ exports.radii = radii;
30877
31040
  exports.semanticColors = semanticColors;
30878
31041
  exports.theme = theme;
30879
31042
  exports.truncateAddress = truncateAddress;
31043
+ exports.typography = typography;
30880
31044
  exports.useClickOutside = useClickOutside;
30881
31045
  exports.useClipboard = useClipboard;
30882
31046
  exports.useDebouncedCallback = useDebouncedCallback;