@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.
@@ -43726,12 +43726,13 @@ function FairmintProvider({
43726
43726
  colorScheme = "light",
43727
43727
  notificationPosition = "top-right"
43728
43728
  }) {
43729
+ const colorSchemeProps = colorScheme === "light" || colorScheme === "dark" ? { forceColorScheme: colorScheme } : { defaultColorScheme: colorScheme };
43729
43730
  return /* @__PURE__ */ jsxs(
43730
43731
  MantineProvider,
43731
43732
  {
43732
43733
  theme,
43733
- defaultColorScheme: colorScheme,
43734
43734
  cssVariablesResolver: fairmintCssVariables,
43735
+ ...colorSchemeProps,
43735
43736
  children: [
43736
43737
  /* @__PURE__ */ jsx(Notifications, { position: notificationPosition }),
43737
43738
  /* @__PURE__ */ jsx(DatesProvider, { settings: { locale: "en", firstDayOfWeek: 0 }, children })
@@ -47763,22 +47764,19 @@ function StatusBadge({ status, colorMap: colorMap2, label, ...rest }) {
47763
47764
  const displayLabel = label ?? status.charAt(0).toUpperCase() + status.slice(1);
47764
47765
  return /* @__PURE__ */ jsx(Badge, { color, variant: "light", ...rest, children: displayLabel });
47765
47766
  }
47766
- const DefaultCheckIcon = () => /* @__PURE__ */ jsxs(
47767
+ const DefaultCheckIcon = () => /* @__PURE__ */ jsx(
47767
47768
  "svg",
47768
47769
  {
47769
- width: "18",
47770
- height: "18",
47770
+ width: "16",
47771
+ height: "16",
47771
47772
  viewBox: "0 0 24 24",
47772
47773
  fill: "none",
47773
47774
  stroke: "currentColor",
47774
- strokeWidth: "2",
47775
+ strokeWidth: "2.5",
47775
47776
  strokeLinecap: "round",
47776
47777
  strokeLinejoin: "round",
47777
47778
  "aria-hidden": "true",
47778
- children: [
47779
- /* @__PURE__ */ jsx("circle", { cx: "12", cy: "12", r: "10" }),
47780
- /* @__PURE__ */ jsx("path", { d: "m9 12 2 2 4-4" })
47781
- ]
47779
+ children: /* @__PURE__ */ jsx("path", { d: "m5 13 4 4 10-10" })
47782
47780
  }
47783
47781
  );
47784
47782
  function StepCard({
@@ -47804,13 +47802,16 @@ function StepCard({
47804
47802
  ThemeIcon,
47805
47803
  {
47806
47804
  size: 32,
47807
- radius: "xl",
47805
+ radius: "md",
47808
47806
  variant: done ? "filled" : "light",
47809
47807
  color: done ? "indigo" : "gray",
47808
+ "aria-label": done ? `Step ${index2} complete` : `Step ${index2}`,
47810
47809
  style: {
47811
47810
  flexShrink: 0,
47811
+ pointerEvents: "none",
47812
47812
  background: done ? brandColors.indigo : neutralColors[100],
47813
- color: done ? "white" : neutralColors[600]
47813
+ color: done ? "white" : neutralColors[600],
47814
+ border: done ? void 0 : `1px solid ${neutralColors[200]}`
47814
47815
  },
47815
47816
  children: done ? doneIcon ?? /* @__PURE__ */ jsx(DefaultCheckIcon, {}) : /* @__PURE__ */ jsx(Text, { fw: 700, fz: 14, children: index2 })
47816
47817
  }
@@ -49936,7 +49937,7 @@ const loadReactPdf = async () => {
49936
49937
  reactPdfPromise ??= Promise.all([
49937
49938
  Promise.resolve({ }),
49938
49939
  Promise.resolve({ }),
49939
- import("./index-DZLs8q1Z.js")
49940
+ import("./index-BLQYwMmv.js")
49940
49941
  ]).then(([, , mod]) => {
49941
49942
  mod.pdfjs.GlobalWorkerOptions.workerSrc = pdfWorkerSrc;
49942
49943
  return mod;
@@ -51279,4 +51280,4 @@ export {
51279
51280
  Checkbox as y,
51280
51281
  Chip as z
51281
51282
  };
51282
- //# sourceMappingURL=index-dcZ4kKzu.js.map
51283
+ //# sourceMappingURL=index-DkzdH6LN.js.map