@fairmint/ui 0.2.40 → 0.2.42

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.
@@ -43743,12 +43743,13 @@ function FairmintProvider({
43743
43743
  colorScheme = "light",
43744
43744
  notificationPosition = "top-right"
43745
43745
  }) {
43746
+ const colorSchemeProps = colorScheme === "light" || colorScheme === "dark" ? { forceColorScheme: colorScheme } : { defaultColorScheme: colorScheme };
43746
43747
  return /* @__PURE__ */ jsxRuntime.jsxs(
43747
43748
  MantineProvider,
43748
43749
  {
43749
43750
  theme: muiIcons.theme,
43750
- defaultColorScheme: colorScheme,
43751
43751
  cssVariablesResolver: muiIcons.fairmintCssVariables,
43752
+ ...colorSchemeProps,
43752
43753
  children: [
43753
43754
  /* @__PURE__ */ jsxRuntime.jsx(Notifications, { position: notificationPosition }),
43754
43755
  /* @__PURE__ */ jsxRuntime.jsx(DatesProvider, { settings: { locale: "en", firstDayOfWeek: 0 }, children })
@@ -47780,22 +47781,19 @@ function StatusBadge({ status, colorMap: colorMap2, label, ...rest }) {
47780
47781
  const displayLabel = label ?? status.charAt(0).toUpperCase() + status.slice(1);
47781
47782
  return /* @__PURE__ */ jsxRuntime.jsx(Badge, { color, variant: "light", ...rest, children: displayLabel });
47782
47783
  }
47783
- const DefaultCheckIcon = () => /* @__PURE__ */ jsxRuntime.jsxs(
47784
+ const DefaultCheckIcon = () => /* @__PURE__ */ jsxRuntime.jsx(
47784
47785
  "svg",
47785
47786
  {
47786
- width: "18",
47787
- height: "18",
47787
+ width: "16",
47788
+ height: "16",
47788
47789
  viewBox: "0 0 24 24",
47789
47790
  fill: "none",
47790
47791
  stroke: "currentColor",
47791
- strokeWidth: "2",
47792
+ strokeWidth: "2.5",
47792
47793
  strokeLinecap: "round",
47793
47794
  strokeLinejoin: "round",
47794
47795
  "aria-hidden": "true",
47795
- children: [
47796
- /* @__PURE__ */ jsxRuntime.jsx("circle", { cx: "12", cy: "12", r: "10" }),
47797
- /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m9 12 2 2 4-4" })
47798
- ]
47796
+ children: /* @__PURE__ */ jsxRuntime.jsx("path", { d: "m5 13 4 4 10-10" })
47799
47797
  }
47800
47798
  );
47801
47799
  function StepCard({
@@ -47821,13 +47819,16 @@ function StepCard({
47821
47819
  ThemeIcon,
47822
47820
  {
47823
47821
  size: 32,
47824
- radius: "xl",
47822
+ radius: "md",
47825
47823
  variant: done ? "filled" : "light",
47826
47824
  color: done ? "indigo" : "gray",
47825
+ "aria-label": done ? `Step ${index2} complete` : `Step ${index2}`,
47827
47826
  style: {
47828
47827
  flexShrink: 0,
47828
+ pointerEvents: "none",
47829
47829
  background: done ? muiIcons.brandColors.indigo : muiIcons.neutralColors[100],
47830
- color: done ? "white" : muiIcons.neutralColors[600]
47830
+ color: done ? "white" : muiIcons.neutralColors[600],
47831
+ border: done ? void 0 : `1px solid ${muiIcons.neutralColors[200]}`
47831
47832
  },
47832
47833
  children: done ? doneIcon ?? /* @__PURE__ */ jsxRuntime.jsx(DefaultCheckIcon, {}) : /* @__PURE__ */ jsxRuntime.jsx(Text, { fw: 700, fz: 14, children: index2 })
47833
47834
  }
@@ -49953,7 +49954,7 @@ const loadReactPdf = async () => {
49953
49954
  reactPdfPromise ??= Promise.all([
49954
49955
  Promise.resolve().then(() => require("./AnnotationLayer-Dyvby5gX.cjs")),
49955
49956
  Promise.resolve().then(() => require("./TextLayer-Dyvby5gX.cjs")),
49956
- Promise.resolve().then(() => require("./index-DP3u3pWZ.cjs"))
49957
+ Promise.resolve().then(() => require("./index-BMA0Dar-.cjs"))
49957
49958
  ]).then(([, , mod]) => {
49958
49959
  mod.pdfjs.GlobalWorkerOptions.workerSrc = pdfWorkerSrc;
49959
49960
  return mod;
@@ -51294,4 +51295,4 @@ exports.validateEthereumAddress = validateEthereumAddress;
51294
51295
  exports.walletKey = walletKey;
51295
51296
  exports.z = z;
51296
51297
  exports.zipSchema = zipSchema;
51297
- //# sourceMappingURL=index-C1YjT_p6.cjs.map
51298
+ //# sourceMappingURL=index-C6_WFB2D.cjs.map