@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.
- package/dist/components/FairmintProvider/FairmintProvider.d.ts +1 -1
- package/dist/components/FairmintProvider/FairmintProvider.d.ts.map +1 -1
- package/dist/components/primitives/muiCompat.d.ts.map +1 -1
- package/dist/fairmint-ui.cjs +1 -1
- package/dist/fairmint-ui.js +1 -1
- package/dist/{index-CWzgtudR.cjs → index-32d5wjtR.cjs} +3 -3
- package/dist/{index-CWzgtudR.cjs.map → index-32d5wjtR.cjs.map} +1 -1
- package/dist/{index-c_TfaoDt.js → index-BgIWpWRK.js} +6 -4
- package/dist/{index-c_TfaoDt.js.map → index-BgIWpWRK.js.map} +1 -1
- package/dist/{index-veNaZFxk.js → index-DGN1nEXW.js} +2 -2
- package/dist/{index-veNaZFxk.js.map → index-DGN1nEXW.js.map} +1 -1
- package/dist/{index-DuObJmri.cjs → index-ghVrwr5j.cjs} +6 -4
- package/dist/{index-DuObJmri.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 })
|
|
@@ -49512,7 +49513,8 @@ const DatePicker = ({
|
|
|
49512
49513
|
required: required2,
|
|
49513
49514
|
size: mantineSize,
|
|
49514
49515
|
clearable: true,
|
|
49515
|
-
|
|
49516
|
+
allowDeselect: false,
|
|
49517
|
+
defaultDate: dateValue || dayjs().format("YYYY-MM-DD"),
|
|
49516
49518
|
w: fullWidth || textFieldFullWidth ? "100%" : void 0,
|
|
49517
49519
|
style: formControlStyle({
|
|
49518
49520
|
fullWidth: fullWidth || textFieldFullWidth,
|
|
@@ -49952,7 +49954,7 @@ const loadReactPdf = async () => {
|
|
|
49952
49954
|
reactPdfPromise ??= Promise.all([
|
|
49953
49955
|
Promise.resolve().then(() => require("./AnnotationLayer-Dyvby5gX.cjs")),
|
|
49954
49956
|
Promise.resolve().then(() => require("./TextLayer-Dyvby5gX.cjs")),
|
|
49955
|
-
Promise.resolve().then(() => require("./index-
|
|
49957
|
+
Promise.resolve().then(() => require("./index-32d5wjtR.cjs"))
|
|
49956
49958
|
]).then(([, , mod]) => {
|
|
49957
49959
|
mod.pdfjs.GlobalWorkerOptions.workerSrc = pdfWorkerSrc;
|
|
49958
49960
|
return mod;
|
|
@@ -51293,4 +51295,4 @@ exports.validateEthereumAddress = validateEthereumAddress;
|
|
|
51293
51295
|
exports.walletKey = walletKey;
|
|
51294
51296
|
exports.z = z;
|
|
51295
51297
|
exports.zipSchema = zipSchema;
|
|
51296
|
-
//# sourceMappingURL=index-
|
|
51298
|
+
//# sourceMappingURL=index-ghVrwr5j.cjs.map
|