@factorialco/f0-react 1.187.1 → 1.188.1
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/experimental.d.ts +2 -2
- package/dist/experimental.js +4575 -4569
- package/dist/f0.d.ts +19 -2
- package/dist/f0.js +26 -25
- package/dist/{hooks-BmsAvt-I.js → hooks-BZw2dqtL.js} +10571 -10496
- package/package.json +1 -1
package/dist/f0.d.ts
CHANGED
|
@@ -949,6 +949,21 @@ export declare interface ErrorMessageProps {
|
|
|
949
949
|
description: string;
|
|
950
950
|
}
|
|
951
951
|
|
|
952
|
+
declare type EventCatcherFunction = (eventName: EventName, params: EventParams) => void;
|
|
953
|
+
|
|
954
|
+
declare interface EventCatcherProviderProps {
|
|
955
|
+
children: ReactNode;
|
|
956
|
+
onEvent: EventCatcherFunction;
|
|
957
|
+
enabled?: boolean;
|
|
958
|
+
catchEvents?: string[];
|
|
959
|
+
}
|
|
960
|
+
|
|
961
|
+
declare type EventName = "datacollection.filter-change" | "datacollection.sorting-change" | "datacollection.preset-click";
|
|
962
|
+
|
|
963
|
+
declare type EventParams = Record<string, EventScalar | Array<EventScalar>>;
|
|
964
|
+
|
|
965
|
+
declare type EventScalar = string | number | boolean | undefined | null;
|
|
966
|
+
|
|
952
967
|
export declare const experimental: <T extends (...args: any[]) => any>(name: string, component: T) => T;
|
|
953
968
|
|
|
954
969
|
export declare const F0Avatar: ({ avatar, size }: AvatarProps) => ReactNode;
|
|
@@ -1144,6 +1159,8 @@ export declare const F0ChipList: {
|
|
|
1144
1159
|
displayName: string;
|
|
1145
1160
|
};
|
|
1146
1161
|
|
|
1162
|
+
export declare function F0EventCatcherProvider({ children, onEvent, enabled, catchEvents, }: EventCatcherProviderProps): JSX.Element;
|
|
1163
|
+
|
|
1147
1164
|
export declare const F0Icon: ForwardRefExoticComponent<Omit<Omit<F0IconProps_2, "ref"> & RefAttributes<SVGSVGElement>, "ref"> & RefAttributes<HTMLElement | SVGElement>>;
|
|
1148
1165
|
|
|
1149
1166
|
export declare interface F0IconProps extends SVGProps<SVGSVGElement>, VariantProps<typeof iconVariants> {
|
|
@@ -1540,7 +1557,7 @@ export declare const OneFilterPicker: {
|
|
|
1540
1557
|
* Props for the Filters component.
|
|
1541
1558
|
* @template Definition - The type defining the structure of available filters
|
|
1542
1559
|
*/
|
|
1543
|
-
declare
|
|
1560
|
+
declare type OneFilterPickerRootProps<Definition extends FiltersDefinition> = {
|
|
1544
1561
|
/** The definition of available filters and their configurations */
|
|
1545
1562
|
filters?: Definition;
|
|
1546
1563
|
/** Current state of applied filters */
|
|
@@ -1551,7 +1568,7 @@ declare interface OneFilterPickerRootProps<Definition extends FiltersDefinition>
|
|
|
1551
1568
|
onChange: (value: FiltersState<Definition>) => void;
|
|
1552
1569
|
/** The children of the component */
|
|
1553
1570
|
children?: React.ReactNode;
|
|
1554
|
-
}
|
|
1571
|
+
};
|
|
1555
1572
|
|
|
1556
1573
|
export declare type PersonAvatarVariant = Extract<AvatarVariant, {
|
|
1557
1574
|
type: "person";
|
package/dist/f0.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { C as v, L as pe, 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 W, j as Pe, k as Y, S as G, l as D, m as X, n as ke, O as Fe, o as J, p as Se, q as Me, F as K, r as De, s as Te, t as Be, D as Re, u as Ie, v as $e, w as Oe, x as Q, y as w, U as Z, z as Ee, E as _e, G as z, H as je, I as ee, J as ze, K as Ve, M as qe, N as Ae, Q as He, R as Ue, X as We, T as Ye, W as Ge, Y as Xe, Z as Je } from "./hooks-
|
|
2
|
-
import { ao as Ua, _ as Wa, aq as Ya,
|
|
1
|
+
import { C as v, L as pe, 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 W, j as Pe, k as Y, S as G, l as D, m as X, n as ke, O as Fe, o as J, p as Se, q as Me, F as K, r as De, s as Te, t as Be, D as Re, u as Ie, v as $e, w as Oe, x as Q, y as w, U as Z, z as Ee, E as _e, G as z, H as je, I as ee, J as ze, K as Ve, M as qe, N as Ae, Q as He, R as Ue, X as We, T as Ye, W as Ge, Y as Xe, Z as Je } from "./hooks-BZw2dqtL.js";
|
|
2
|
+
import { ao as Ua, _ as Wa, aq as Ya, az as Ga, $ as Xa, a0 as Ja, a1 as Ka, a2 as Qa, a3 as Za, a4 as er, a5 as ar, a6 as rr, a8 as sr, a9 as tr, aa as lr, ab as or, av as nr, ad as ir, ae as dr, af as cr, ag as ur, aj as fr, ak as hr, al as mr, am as pr, ac as vr, an as gr, ai as br, aw as xr, ap as Cr, aA as yr, a7 as wr, ah as Nr, ar as Lr, as as Pr, at as kr, aB as Fr, au as Sr, ay as Mr, ax as Dr } from "./hooks-BZw2dqtL.js";
|
|
3
3
|
import { jsx as e, jsxs as c, Fragment as O } 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 re, createContext as ea } from "react";
|
|
@@ -976,30 +976,31 @@ export {
|
|
|
976
976
|
lr as F0Card,
|
|
977
977
|
or as F0Checkbox,
|
|
978
978
|
Oa as F0ChipList,
|
|
979
|
+
nr as F0EventCatcherProvider,
|
|
979
980
|
Te as F0Icon,
|
|
980
|
-
|
|
981
|
-
|
|
982
|
-
|
|
983
|
-
|
|
984
|
-
|
|
985
|
-
|
|
981
|
+
ir as F0TagAlert,
|
|
982
|
+
dr as F0TagBalance,
|
|
983
|
+
cr as F0TagCompany,
|
|
984
|
+
ur as F0TagDot,
|
|
985
|
+
fr as F0TagList,
|
|
986
|
+
hr as F0TagPerson,
|
|
986
987
|
De as F0TagRaw,
|
|
987
|
-
|
|
988
|
-
|
|
988
|
+
mr as F0TagStatus,
|
|
989
|
+
pr as F0TagTeam,
|
|
989
990
|
qa as FactorialOneProvider,
|
|
990
991
|
ja as HomeLayout,
|
|
991
992
|
Ba as LineChart,
|
|
992
993
|
ka as Link,
|
|
993
|
-
|
|
994
|
+
vr as OneFilterPicker,
|
|
994
995
|
Ra as PieChart,
|
|
995
996
|
Ye as PrivacyModeProvider,
|
|
996
997
|
ue as ProductBlankslate,
|
|
997
|
-
|
|
998
|
+
gr as ProductCard,
|
|
998
999
|
za as ProductModal,
|
|
999
1000
|
ga as ProductWidget,
|
|
1000
1001
|
$a as ProgressBarChart,
|
|
1001
1002
|
Ea as StandardLayout,
|
|
1002
|
-
|
|
1003
|
+
br as TagCounter,
|
|
1003
1004
|
_a as TwoColumnLayout,
|
|
1004
1005
|
Z as UpsellRequestResponseDialog,
|
|
1005
1006
|
ba as UpsellingBanner,
|
|
@@ -1007,18 +1008,18 @@ export {
|
|
|
1007
1008
|
Va as UpsellingPopover,
|
|
1008
1009
|
Ia as VerticalBarChart,
|
|
1009
1010
|
Fa as avatarVariants,
|
|
1010
|
-
|
|
1011
|
-
|
|
1011
|
+
xr as buildTranslations,
|
|
1012
|
+
Cr as createAtlaskitDriver,
|
|
1012
1013
|
Pa as defaultTranslations,
|
|
1013
1014
|
ke as experimental,
|
|
1014
|
-
|
|
1015
|
-
|
|
1016
|
-
|
|
1017
|
-
|
|
1018
|
-
|
|
1019
|
-
|
|
1020
|
-
|
|
1021
|
-
|
|
1022
|
-
|
|
1023
|
-
|
|
1015
|
+
yr as getEmojiLabel,
|
|
1016
|
+
wr as modules,
|
|
1017
|
+
Nr as tagDotColors,
|
|
1018
|
+
Lr as useDndEvents,
|
|
1019
|
+
Pr as useDraggable,
|
|
1020
|
+
kr as useDroppableList,
|
|
1021
|
+
Fr as useEmojiConfetti,
|
|
1022
|
+
Sr as usePrivacyMode,
|
|
1023
|
+
Mr as useReducedMotion,
|
|
1024
|
+
Dr as useXRay
|
|
1024
1025
|
};
|