@fairmint/ui 0.2.39 → 0.2.41

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 })
@@ -49495,7 +49496,8 @@ const DatePicker = ({
49495
49496
  required: required2,
49496
49497
  size: mantineSize,
49497
49498
  clearable: true,
49498
- defaultDate: dateValue || "1990-01-01",
49499
+ allowDeselect: false,
49500
+ defaultDate: dateValue || dayjs().format("YYYY-MM-DD"),
49499
49501
  w: fullWidth || textFieldFullWidth ? "100%" : void 0,
49500
49502
  style: formControlStyle({
49501
49503
  fullWidth: fullWidth || textFieldFullWidth,
@@ -49935,7 +49937,7 @@ const loadReactPdf = async () => {
49935
49937
  reactPdfPromise ??= Promise.all([
49936
49938
  Promise.resolve({ }),
49937
49939
  Promise.resolve({ }),
49938
- import("./index-veNaZFxk.js")
49940
+ import("./index-DGN1nEXW.js")
49939
49941
  ]).then(([, , mod]) => {
49940
49942
  mod.pdfjs.GlobalWorkerOptions.workerSrc = pdfWorkerSrc;
49941
49943
  return mod;
@@ -51278,4 +51280,4 @@ export {
51278
51280
  Checkbox as y,
51279
51281
  Chip as z
51280
51282
  };
51281
- //# sourceMappingURL=index-c_TfaoDt.js.map
51283
+ //# sourceMappingURL=index-BgIWpWRK.js.map