fui-material 2.7.0 → 2.7.2

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.
@@ -9,7 +9,7 @@ var __privateMethod = (obj, member, method) => (__accessCheck(obj, member, "acce
9
9
  var _focused, _cleanup, _setup, _a, _provider, _providerCalled, _b, _online, _cleanup2, _setup2, _c, _client, _currentQuery, _currentQueryInitialState, _currentResult, _currentResultState, _currentResultOptions, _currentThenable, _selectError, _selectFn, _selectResult, _lastQueryWithDefinedData, _staleTimeoutId, _refetchIntervalId, _currentRefetchInterval, _trackedProps, _QueryObserver_instances, executeFetch_fn, updateStaleTimeout_fn, computeRefetchInterval_fn, updateRefetchInterval_fn, updateTimers_fn, clearStaleTimeout_fn, clearRefetchInterval_fn, updateQuery_fn, notify_fn, _d, _client2, _currentResult2, _currentMutation, _mutateOptions, _MutationObserver_instances, updateResult_fn, notify_fn2, _e;
10
10
  import { jsx, jsxs, Fragment } from "react/jsx-runtime";
11
11
  import * as React from "react";
12
- import React__default, { forwardRef, useRef, useState, useEffect, useMemo, useCallback, useLayoutEffect, Fragment as Fragment$1, isValidElement, cloneElement, useDeferredValue, useContext, createContext } from "react";
12
+ import React__default, { forwardRef, useRef, useState, useEffect, useMemo, useCallback, useLayoutEffect, Fragment as Fragment$1, isValidElement, cloneElement, useDeferredValue, createContext, useContext } from "react";
13
13
  import ReactDOM, { createPortal } from "react-dom";
14
14
  import JSZip from "jszip";
15
15
  import initializeModule from "allorion-exporting-html-to-docx";
@@ -9193,6 +9193,12 @@ function useMutation(options, queryClient) {
9193
9193
  return { ...result, mutate, mutateAsync: result.mutate };
9194
9194
  }
9195
9195
  const LibraryContext = createContext(null);
9196
+ const LibraryProvider = ({
9197
+ children,
9198
+ config
9199
+ }) => {
9200
+ return /* @__PURE__ */ jsx(LibraryContext.Provider, { value: config, children });
9201
+ };
9196
9202
  const useLibraryContext = () => {
9197
9203
  const context = useContext(LibraryContext);
9198
9204
  if (!context) {
@@ -9655,6 +9661,7 @@ export {
9655
9661
  FUnlinkIcon,
9656
9662
  FUploadIcon,
9657
9663
  FWaterErrorBoundaryPage,
9664
+ LibraryProvider,
9658
9665
  fAlert,
9659
9666
  fBankRound,
9660
9667
  fConfirm,