@factorialco/f0-react 1.201.0 → 1.201.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.
package/dist/f0.d.ts CHANGED
@@ -764,6 +764,8 @@ export declare type DataSource<R extends RecordType, Filters extends FiltersDefi
764
764
  currentFilters: FiltersState<Filters>;
765
765
  /** Function to update the current filters state */
766
766
  setCurrentFilters: React.Dispatch<React.SetStateAction<FiltersState<Filters>>>;
767
+ /** Whether presets are currently loading */
768
+ presetsLoading?: boolean;
767
769
  /** Current state of applied sortings */
768
770
  currentSortings: SortingsState<Sortings>;
769
771
  /** Function to update the current sortings state */
@@ -801,6 +803,8 @@ export declare type DataSourceDefinition<R extends RecordType = RecordType, Filt
801
803
  currentFilters?: FiltersState<Filters>;
802
804
  /** Predefined filter configurations that can be applied */
803
805
  presets?: PresetsDefinition<Filters>;
806
+ /** Whether presets are currently loading */
807
+ presetsLoading?: boolean;
804
808
  /** Search configuration */
805
809
  search?: SearchOptions;
806
810
  /** Available sorting fields. If not provided, sorting is not allowed. */
@@ -1843,6 +1847,8 @@ declare type OneFilterPickerRootProps<Definition extends FiltersDefinition> = {
1843
1847
  value: FiltersState<Definition>;
1844
1848
  /** Optional preset configurations that users can select */
1845
1849
  presets?: PresetsDefinition<Definition>;
1850
+ /** Whether presets are currently loading */
1851
+ presetsLoading?: boolean;
1846
1852
  /** Callback fired when filters are changed */
1847
1853
  onChange: (value: FiltersState<Definition>) => void;
1848
1854
  /** The children of the component */
@@ -2768,6 +2774,11 @@ declare module "@tiptap/core" {
2768
2774
  }
2769
2775
 
2770
2776
 
2777
+ declare namespace Calendar {
2778
+ var displayName: string;
2779
+ }
2780
+
2781
+
2771
2782
  declare module "@tiptap/core" {
2772
2783
  interface Commands<ReturnType> {
2773
2784
  moodTracker: {
@@ -2775,8 +2786,3 @@ declare module "@tiptap/core" {
2775
2786
  };
2776
2787
  }
2777
2788
  }
2778
-
2779
-
2780
- declare namespace Calendar {
2781
- var displayName: string;
2782
- }
package/dist/f0.js CHANGED
@@ -1,5 +1,5 @@
1
- import { C as v, L as me, c as ve, P as H, a as b, f as ge, b as be, A as xe, B as Ce, d as ye, e as we, g as Ne, V as Le, h as U, i as G, j as Pe, k as W, S as Y, l as M, m as J, n as Se, O as Fe, o as X, p as ke, q as De, F as K, r as Me, s as Te, t as Be, D as Ie, u as Re, v as Oe, w as $e, x as Q, y as w, U as Z, z as Ee, E as _e, G as V, H as je, I as ee, J as Ve, K as ze, M as qe, N as Ae, Q as He, R as Ue, X as Ge, T as We, W as Ye, Y as Je, Z as Xe } from "./hooks-DrAjBH62.js";
2
- import { ay as Ua, _ as Ga, aA as Wa, aJ as Ya, $ as Ja, a0 as Xa, a1 as Ka, a2 as Qa, a3 as Za, a4 as es, a5 as as, a6 as ss, a8 as rs, a9 as ts, aa as ls, ab as os, aF as ns, ad as is, ae as cs, af as ds, ag as us, aj as fs, ak as hs, al as ps, am as ms, ao as vs, ac as gs, an as bs, ai as xs, aG as Cs, az as ys, at as ws, aw as Ns, as as Ls, aK as Ps, ar as Ss, aq as Fs, a7 as ks, ah as Ds, ap as Ms, au as Ts, aB as Bs, aC as Is, aD as Rs, aL as Os, av as $s, aE as Es, aI as _s, ax as js, aH as Vs } from "./hooks-DrAjBH62.js";
1
+ import { C as v, L as me, c as ve, P as H, a as b, f as ge, b as be, A as xe, B as Ce, d as ye, e as we, g as Ne, V as Le, h as U, i as G, j as Pe, k as W, S as Y, l as M, m as J, n as Se, O as Fe, o as X, p as ke, q as De, F as K, r as Me, s as Te, t as Be, D as Ie, u as Re, v as Oe, w as $e, x as Q, y as w, U as Z, z as Ee, E as _e, G as V, H as je, I as ee, J as Ve, K as ze, M as qe, N as Ae, Q as He, R as Ue, X as Ge, T as We, W as Ye, Y as Je, Z as Xe } from "./hooks-CIWKebfc.js";
2
+ import { ay as Ua, _ as Ga, aA as Wa, aJ as Ya, $ as Ja, a0 as Xa, a1 as Ka, a2 as Qa, a3 as Za, a4 as es, a5 as as, a6 as ss, a8 as rs, a9 as ts, aa as ls, ab as os, aF as ns, ad as is, ae as cs, af as ds, ag as us, aj as fs, ak as hs, al as ps, am as ms, ao as vs, ac as gs, an as bs, ai as xs, aG as Cs, az as ys, at as ws, aw as Ns, as as Ls, aK as Ps, ar as Ss, aq as Fs, a7 as ks, ah as Ds, ap as Ms, au as Ts, aB as Bs, aC as Is, aD as Rs, aL as Os, av as $s, aE as Es, aI as _s, ax as js, aH as Vs } from "./hooks-CIWKebfc.js";
3
3
  import { jsx as e, jsxs as d, Fragment as $ } from "react/jsx-runtime";
4
4
  import * as E from "react";
5
5
  import Ke, { useState as g, forwardRef as B, useRef as ae, useImperativeHandle as Qe, Children as Ze, useEffect as se, createContext as ea } from "react";