@fairmint/ui 0.2.40 → 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.
- package/dist/components/FairmintProvider/FairmintProvider.d.ts +1 -1
- package/dist/components/FairmintProvider/FairmintProvider.d.ts.map +1 -1
- package/dist/fairmint-ui.cjs +1 -1
- package/dist/fairmint-ui.js +1 -1
- package/dist/{index-DP3u3pWZ.cjs → index-32d5wjtR.cjs} +3 -3
- package/dist/{index-DP3u3pWZ.cjs.map → index-32d5wjtR.cjs.map} +1 -1
- package/dist/{index-dcZ4kKzu.js → index-BgIWpWRK.js} +4 -3
- package/dist/{index-dcZ4kKzu.js.map → index-BgIWpWRK.js.map} +1 -1
- package/dist/{index-DZLs8q1Z.js → index-DGN1nEXW.js} +2 -2
- package/dist/{index-DZLs8q1Z.js.map → index-DGN1nEXW.js.map} +1 -1
- package/dist/{index-C1YjT_p6.cjs → index-ghVrwr5j.cjs} +4 -3
- package/dist/{index-C1YjT_p6.cjs.map → index-ghVrwr5j.cjs.map} +1 -1
- package/package.json +1 -1
|
@@ -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 })
|
|
@@ -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-
|
|
49957
|
+
Promise.resolve().then(() => require("./index-32d5wjtR.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-
|
|
51298
|
+
//# sourceMappingURL=index-ghVrwr5j.cjs.map
|