@factorialco/f0-react 1.307.0 → 1.308.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 +77 -62
- package/dist/experimental.js +2927 -2914
- package/dist/f0.d.ts +103 -66
- package/dist/f0.js +86 -73
- package/dist/{hooks-BeIXOFhm.js → hooks-DhJYpAKB.js} +15586 -15575
- package/dist/i18n-provider-defaults.d.ts +22 -22
- package/dist/styles.css +1 -1
- package/package.json +1 -1
package/dist/f0.d.ts
CHANGED
|
@@ -2516,11 +2516,16 @@ export declare const F0TagCompany: ForwardRefExoticComponent<TagCompanyProps & R
|
|
|
2516
2516
|
export declare const F0TagDot: ForwardRefExoticComponent<TagDotProps & RefAttributes<HTMLDivElement>>;
|
|
2517
2517
|
|
|
2518
2518
|
export declare const F0TagList: {
|
|
2519
|
-
<T extends TagType>({ type, tags, max, remainingCount: initialRemainingCount,
|
|
2519
|
+
<T extends TagType>({ type, tags, max, remainingCount: initialRemainingCount, }: TagListProps<T>): JSX_2.Element;
|
|
2520
2520
|
displayName: string;
|
|
2521
2521
|
};
|
|
2522
2522
|
|
|
2523
|
-
export declare const F0TagPerson: ForwardRefExoticComponent<
|
|
2523
|
+
export declare const F0TagPerson: ForwardRefExoticComponent<F0TagPersonProps & RefAttributes<HTMLDivElement>>;
|
|
2524
|
+
|
|
2525
|
+
export declare type F0TagPersonProps = {
|
|
2526
|
+
src?: string;
|
|
2527
|
+
name: string;
|
|
2528
|
+
};
|
|
2524
2529
|
|
|
2525
2530
|
export declare const F0TagRaw: ForwardRefExoticComponent<TagRawProps & RefAttributes<HTMLDivElement>>;
|
|
2526
2531
|
|
|
@@ -3163,7 +3168,9 @@ declare const layoutVariants: (props?: ({
|
|
|
3163
3168
|
className?: ClassValue;
|
|
3164
3169
|
})) | undefined) => string;
|
|
3165
3170
|
|
|
3166
|
-
export declare type Level =
|
|
3171
|
+
export declare type Level = (typeof levels)[number];
|
|
3172
|
+
|
|
3173
|
+
declare const levels: readonly ["info", "warning", "critical", "positive"];
|
|
3167
3174
|
|
|
3168
3175
|
export declare const LineChart: ForwardRefExoticComponent<Omit<LineChartPropsBase<LineChartConfig> & {
|
|
3169
3176
|
lineType?: "natural" | "linear";
|
|
@@ -3333,7 +3340,7 @@ declare type NestedResponseWithType<R extends RecordType> = {
|
|
|
3333
3340
|
|
|
3334
3341
|
declare type NestedVariant = "basic" | "detailed";
|
|
3335
3342
|
|
|
3336
|
-
export declare type NewColor = Extract<BaseColor,
|
|
3343
|
+
export declare type NewColor = Extract<BaseColor, (typeof tagDotColors)[number]>;
|
|
3337
3344
|
|
|
3338
3345
|
export declare interface NextStepsProps {
|
|
3339
3346
|
title: string;
|
|
@@ -3366,6 +3373,14 @@ declare type NumberFilterValue = {
|
|
|
3366
3373
|
};
|
|
3367
3374
|
} | undefined;
|
|
3368
3375
|
|
|
3376
|
+
declare interface NumericValue {
|
|
3377
|
+
number: number;
|
|
3378
|
+
units?: string;
|
|
3379
|
+
unitsPosition?: "left" | "right";
|
|
3380
|
+
decimalPlaces?: number | undefined;
|
|
3381
|
+
locale?: string;
|
|
3382
|
+
}
|
|
3383
|
+
|
|
3369
3384
|
declare type OnBulkActionCallback<Record extends RecordType, Filters extends FiltersDefinition> = (...args: [
|
|
3370
3385
|
action: BulkAction,
|
|
3371
3386
|
...Parameters<OnSelectItemsCallback<Record, Filters>>
|
|
@@ -3915,7 +3930,11 @@ export declare interface StandardLayoutProps extends VariantProps<typeof layoutV
|
|
|
3915
3930
|
children?: default_2.ReactNode;
|
|
3916
3931
|
}
|
|
3917
3932
|
|
|
3918
|
-
export declare type Status =
|
|
3933
|
+
export declare type Status = (typeof statuses_2)[number];
|
|
3934
|
+
|
|
3935
|
+
declare const statuses: readonly ["neutral", "info", "positive", "warning", "critical"];
|
|
3936
|
+
|
|
3937
|
+
declare const statuses_2: readonly ["positive", "neutral", "negative"];
|
|
3919
3938
|
|
|
3920
3939
|
export declare type StatusVariant = Variant;
|
|
3921
3940
|
|
|
@@ -4049,20 +4068,45 @@ declare type TableVisualizationSettings = {
|
|
|
4049
4068
|
hidden: ColId[];
|
|
4050
4069
|
};
|
|
4051
4070
|
|
|
4071
|
+
export declare const Tag: ({ tag }: {
|
|
4072
|
+
tag: TagVariant;
|
|
4073
|
+
}) => ReactNode;
|
|
4074
|
+
|
|
4052
4075
|
export declare type TagAlertProps<Text extends string = string> = {
|
|
4053
4076
|
text: Text extends "" ? never : Text;
|
|
4054
4077
|
level: Level;
|
|
4055
4078
|
};
|
|
4056
4079
|
|
|
4057
|
-
export declare
|
|
4058
|
-
|
|
4059
|
-
|
|
4060
|
-
|
|
4080
|
+
export declare type TagBalanceProps = {
|
|
4081
|
+
/**
|
|
4082
|
+
* Inverts the balance status color. Is useful when a negative percent mean something positive.
|
|
4083
|
+
*/
|
|
4084
|
+
invertStatus?: boolean;
|
|
4085
|
+
/**
|
|
4086
|
+
* Hint text to display next to the tag (This text is not displayed when the balance is null or undefined)
|
|
4087
|
+
*/
|
|
4088
|
+
hint?: string;
|
|
4089
|
+
/**
|
|
4090
|
+
* Info text to display an i icon and a tooltip next to the tag
|
|
4091
|
+
*/
|
|
4092
|
+
info?: string;
|
|
4093
|
+
/**
|
|
4094
|
+
* Text to display when the balance is null or undefined
|
|
4095
|
+
*/
|
|
4096
|
+
nullText?: string;
|
|
4097
|
+
/**
|
|
4098
|
+
* Amount to display next to the tag
|
|
4099
|
+
*/
|
|
4100
|
+
amount?: number | NumericValue | null;
|
|
4101
|
+
} & ({
|
|
4102
|
+
percentage: number | Omit<NumericValue, "units" | "unitsPosition">;
|
|
4103
|
+
} | {
|
|
4104
|
+
percentage?: null;
|
|
4105
|
+
});
|
|
4061
4106
|
|
|
4062
4107
|
export declare interface TagCompanyProps {
|
|
4063
|
-
|
|
4064
|
-
|
|
4065
|
-
onClick?: () => void;
|
|
4108
|
+
name: string;
|
|
4109
|
+
src?: string;
|
|
4066
4110
|
}
|
|
4067
4111
|
|
|
4068
4112
|
export declare const TagCounter: {
|
|
@@ -4076,7 +4120,7 @@ declare type TagDataType<T extends string> = Omit<Extract<TagVariant, {
|
|
|
4076
4120
|
type: T;
|
|
4077
4121
|
}>, "type" | "description">;
|
|
4078
4122
|
|
|
4079
|
-
export declare const tagDotColors:
|
|
4123
|
+
export declare const tagDotColors: ["viridian", "malibu", "yellow", "purple", "lilac", "barbie", "smoke", "army", "flubber", "indigo", "camel"];
|
|
4080
4124
|
|
|
4081
4125
|
export declare type TagDotProps = {
|
|
4082
4126
|
text: string;
|
|
@@ -4094,7 +4138,7 @@ export declare type TagListProps<T extends TagType> = {
|
|
|
4094
4138
|
/**
|
|
4095
4139
|
* Array of tag data corresponding to the specified type.
|
|
4096
4140
|
*/
|
|
4097
|
-
tags: Array<TagTypeMapping[T]
|
|
4141
|
+
tags: Array<TagTypeMapping[T]>;
|
|
4098
4142
|
/**
|
|
4099
4143
|
* The maximum number of tags to display.
|
|
4100
4144
|
* @default 4
|
|
@@ -4104,28 +4148,24 @@ export declare type TagListProps<T extends TagType> = {
|
|
|
4104
4148
|
* The remaining number to display.
|
|
4105
4149
|
*/
|
|
4106
4150
|
remainingCount?: number;
|
|
4107
|
-
/**
|
|
4108
|
-
* The layout of the tag list.
|
|
4109
|
-
* - "fill" - Tags will expand to fill the available width, with overflow items shown in a counter
|
|
4110
|
-
* - "compact" - Tags will be stacked together up to the max limit, with remaining shown in counter
|
|
4111
|
-
* @default "compact"
|
|
4112
|
-
*/
|
|
4113
|
-
layout?: "fill" | "compact";
|
|
4114
4151
|
};
|
|
4115
4152
|
|
|
4116
|
-
export declare
|
|
4117
|
-
|
|
4118
|
-
|
|
4119
|
-
|
|
4120
|
-
|
|
4121
|
-
|
|
4122
|
-
|
|
4123
|
-
|
|
4124
|
-
|
|
4153
|
+
export declare type TagRawProps = {
|
|
4154
|
+
/**
|
|
4155
|
+
* The label to display in the tag or used for accessible text
|
|
4156
|
+
*/
|
|
4157
|
+
text: string;
|
|
4158
|
+
/**
|
|
4159
|
+
* Additional accessible text to display in the tag
|
|
4160
|
+
*/
|
|
4161
|
+
additionalAccessibleText?: string;
|
|
4162
|
+
} & ({
|
|
4163
|
+
icon: IconType;
|
|
4164
|
+
onlyIcon: true;
|
|
4165
|
+
} | {
|
|
4125
4166
|
icon?: IconType;
|
|
4126
|
-
|
|
4127
|
-
|
|
4128
|
-
}
|
|
4167
|
+
onlyIcon?: boolean;
|
|
4168
|
+
});
|
|
4129
4169
|
|
|
4130
4170
|
export declare interface TagStatusProps {
|
|
4131
4171
|
text: string;
|
|
@@ -4134,16 +4174,15 @@ export declare interface TagStatusProps {
|
|
|
4134
4174
|
* Sometimes you need to clarify the status for screen reader users
|
|
4135
4175
|
* E.g., when showing a tooltip for sighted user, provide the tootip text to this prop because tooltips aren't accessible
|
|
4136
4176
|
*/
|
|
4137
|
-
|
|
4177
|
+
additionalAccessibleText?: string;
|
|
4138
4178
|
}
|
|
4139
4179
|
|
|
4140
4180
|
export declare interface TagTeamProps {
|
|
4141
|
-
|
|
4142
|
-
|
|
4143
|
-
onClick?: () => void;
|
|
4181
|
+
name: string;
|
|
4182
|
+
src?: string;
|
|
4144
4183
|
}
|
|
4145
4184
|
|
|
4146
|
-
export declare type TagType =
|
|
4185
|
+
export declare type TagType = (typeof tagTypes)[number];
|
|
4147
4186
|
|
|
4148
4187
|
declare type TagTypeMapping = {
|
|
4149
4188
|
dot: TagDataType<"dot">;
|
|
@@ -4156,7 +4195,9 @@ declare type TagTypeMapping = {
|
|
|
4156
4195
|
raw: TagDataType<"raw">;
|
|
4157
4196
|
};
|
|
4158
4197
|
|
|
4159
|
-
declare
|
|
4198
|
+
declare const tagTypes: readonly ["dot", "person", "team", "company", "alert", "status", "balance", "raw"];
|
|
4199
|
+
|
|
4200
|
+
export declare type TagVariant = BaseTag<{
|
|
4160
4201
|
type: "dot";
|
|
4161
4202
|
} & TagDotProps> | BaseTag<{
|
|
4162
4203
|
type: "person";
|
|
@@ -4654,7 +4695,7 @@ declare const valueDisplayRenderers: {
|
|
|
4654
4695
|
|
|
4655
4696
|
declare type ValueDisplayVisualizationType = "table" | "card" | "list" | (string & {});
|
|
4656
4697
|
|
|
4657
|
-
export declare type Variant =
|
|
4698
|
+
export declare type Variant = (typeof statuses)[number];
|
|
4658
4699
|
|
|
4659
4700
|
export declare const VerticalBarChart: ForwardRefExoticComponent<Omit<ChartPropsBase<ChartConfig_2> & {
|
|
4660
4701
|
label?: boolean;
|
|
@@ -4704,10 +4745,6 @@ declare interface WithTooltipDescription {
|
|
|
4704
4745
|
description?: string;
|
|
4705
4746
|
}
|
|
4706
4747
|
|
|
4707
|
-
declare type WithTooltipDescription_2 = {
|
|
4708
|
-
description?: string;
|
|
4709
|
-
};
|
|
4710
|
-
|
|
4711
4748
|
export { }
|
|
4712
4749
|
|
|
4713
4750
|
|
|
@@ -4720,6 +4757,23 @@ declare global {
|
|
|
4720
4757
|
}
|
|
4721
4758
|
}
|
|
4722
4759
|
|
|
4760
|
+
declare module "gridstack" {
|
|
4761
|
+
interface GridStackWidget {
|
|
4762
|
+
id?: string;
|
|
4763
|
+
allowedSizes?: Array<{
|
|
4764
|
+
w: number;
|
|
4765
|
+
h: number;
|
|
4766
|
+
}>;
|
|
4767
|
+
meta?: Record<string, unknown>;
|
|
4768
|
+
}
|
|
4769
|
+
interface GridStackNode {
|
|
4770
|
+
allowedSizes?: Array<{
|
|
4771
|
+
w: number;
|
|
4772
|
+
h: number;
|
|
4773
|
+
}>;
|
|
4774
|
+
}
|
|
4775
|
+
}
|
|
4776
|
+
|
|
4723
4777
|
|
|
4724
4778
|
declare module "@tiptap/core" {
|
|
4725
4779
|
interface Commands<ReturnType> {
|
|
@@ -4747,28 +4801,6 @@ declare module "@tiptap/core" {
|
|
|
4747
4801
|
}
|
|
4748
4802
|
}
|
|
4749
4803
|
|
|
4750
|
-
declare module "gridstack" {
|
|
4751
|
-
interface GridStackWidget {
|
|
4752
|
-
id?: string;
|
|
4753
|
-
allowedSizes?: Array<{
|
|
4754
|
-
w: number;
|
|
4755
|
-
h: number;
|
|
4756
|
-
}>;
|
|
4757
|
-
meta?: Record<string, unknown>;
|
|
4758
|
-
}
|
|
4759
|
-
interface GridStackNode {
|
|
4760
|
-
allowedSizes?: Array<{
|
|
4761
|
-
w: number;
|
|
4762
|
-
h: number;
|
|
4763
|
-
}>;
|
|
4764
|
-
}
|
|
4765
|
-
}
|
|
4766
|
-
|
|
4767
|
-
|
|
4768
|
-
declare namespace Calendar {
|
|
4769
|
-
var displayName: string;
|
|
4770
|
-
}
|
|
4771
|
-
|
|
4772
4804
|
|
|
4773
4805
|
declare module "@tiptap/core" {
|
|
4774
4806
|
interface Commands<ReturnType> {
|
|
@@ -4777,3 +4809,8 @@ declare module "@tiptap/core" {
|
|
|
4777
4809
|
};
|
|
4778
4810
|
}
|
|
4779
4811
|
}
|
|
4812
|
+
|
|
4813
|
+
|
|
4814
|
+
declare namespace Calendar {
|
|
4815
|
+
var displayName: string;
|
|
4816
|
+
}
|
package/dist/f0.js
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
import { L as Cn, C as Wr, c as j, a as Di, u as _n, m as Ri, i as En, B as Si, O as Gr, p as $r, w as jr, S as Fe, b as Ur, F as Dn, d as Kr, A as Xr, D as Yr, e as qr, f as Re, g as Vr, h as me, j as Vi, k as Jr, l as di, n as lt, o as Zr, q as Qr, r as Ot, s as Rn, E as es, t as zt, v as ts, x as is, y as ns, z as rs, G as Xe, H as Sn, I as ss, J as os, K as as, M as Ji, N as ls, P as Nn, Q as cs, R as On, X as An, Y as vi, T as ds, U as Tn, V as us, W as hs, Z as fs, _ as gs, $ as ps, a0 as ms, a1 as vs, a2 as ys, a3 as Zi, a4 as bs, a5 as ct, a6 as ui, a7 as xs, a8 as ws, a9 as Cs, aa as _s, ab as Es, ac as Ds, ad as Rs, ae as Ss, af as Ns, ag as Os, ah as kn, ai as As, aj as Mt, ak as zn, al as Pn, am as Ts, an as Mn, ao as Ln, ap as In, aq as ks, ar as zs, as as Hn, at as Ps, au as Ms, av as Ls, aw as Is, ax as Hs, ay as Bs, az as Bn, aA as Ve, aB as Fn, aC as Fs, aD as Ws, aE as Qi, aF as Gs, aG as Wn, aH as $s, aI as js, aJ as Us, aK as Ks, aL as Xs, aM as Ys, aN as qs, aO as Vs, aP as Js, aQ as Zs, aR as Qs, aS as eo } from "./hooks-
|
|
2
|
-
import { bl as
|
|
1
|
+
import { L as Cn, C as Wr, c as j, a as Di, u as _n, m as Ri, i as En, B as Si, O as Gr, p as $r, w as jr, S as Fe, b as Ur, F as Dn, d as Kr, A as Xr, D as Yr, e as qr, f as Re, g as Vr, h as me, j as Vi, k as Jr, l as di, n as lt, o as Zr, q as Qr, r as Ot, s as Rn, E as es, t as zt, v as ts, x as is, y as ns, z as rs, G as Xe, H as Sn, I as ss, J as os, K as as, M as Ji, N as ls, P as Nn, Q as cs, R as On, X as An, Y as vi, T as ds, U as Tn, V as us, W as hs, Z as fs, _ as gs, $ as ps, a0 as ms, a1 as vs, a2 as ys, a3 as Zi, a4 as bs, a5 as ct, a6 as ui, a7 as xs, a8 as ws, a9 as Cs, aa as _s, ab as Es, ac as Ds, ad as Rs, ae as Ss, af as Ns, ag as Os, ah as kn, ai as As, aj as Mt, ak as zn, al as Pn, am as Ts, an as Mn, ao as Ln, ap as In, aq as ks, ar as zs, as as Hn, at as Ps, au as Ms, av as Ls, aw as Is, ax as Hs, ay as Bs, az as Bn, aA as Ve, aB as Fn, aC as Fs, aD as Ws, aE as Qi, aF as Gs, aG as Wn, aH as $s, aI as js, aJ as Us, aK as Ks, aL as Xs, aM as Ys, aN as qs, aO as Vs, aP as Js, aQ as Zs, aR as Qs, aS as eo } from "./hooks-DhJYpAKB.js";
|
|
2
|
+
import { bl as Zc, by as Qc, bH as ed, aT as td, aU as id, aV as nd, aW as rd, aX as sd, aY as od, aZ as ad, a_ as ld, b0 as cd, b1 as dd, b2 as ud, b3 as hd, b4 as fd, b5 as gd, b6 as pd, bD as md, b8 as vd, b9 as yd, bd, be as xd, bf as wd, bg as Cd, bi as _d, bj as Ed, bk as Dd, bn as Rd, bb as Sd, bm as Nd, bc as Od, bh as Ad, bE as Td, bx as kd, bs as zd, bv as Pd, br as Md, bI as Ld, bq as Id, bp as Hd, a$ as Bd, b7 as Fd, ba as Wd, bo as Gd, bt as $d, bz as jd, bA as Ud, bB as Kd, bJ as Xd, bu as Yd, bC as qd, bG as Vd, bw as Jd, bF as Zd } from "./hooks-DhJYpAKB.js";
|
|
3
3
|
import { jsx as g, jsxs as M, Fragment as Vt } from "react/jsx-runtime";
|
|
4
4
|
import L, { forwardRef as le, useRef as I, useImperativeHandle as to, Children as Lt, createContext as Ne, useContext as we, useState as W, useMemo as B, useEffect as H, useCallback as K, useLayoutEffect as yi, createElement as en, isValidElement as Gn, Fragment as io, memo as no, useReducer as ro, cloneElement as so, PureComponent as oo } from "react";
|
|
5
5
|
import { createPortal as $n, unstable_batchedUpdates as At } from "react-dom";
|
|
6
|
-
import { defaultTranslations as
|
|
6
|
+
import { defaultTranslations as eu } from "./i18n-provider-defaults.js";
|
|
7
7
|
import './f0.css';const ao = {
|
|
8
8
|
xs: 1,
|
|
9
9
|
sm: 2,
|
|
@@ -8564,7 +8564,19 @@ const nc = (n) => {
|
|
|
8564
8564
|
sc
|
|
8565
8565
|
), Mc = Os.filter(
|
|
8566
8566
|
(n) => n !== "ai"
|
|
8567
|
-
), Lc = kn, Ic = ["default", "outline", "neutral"], Hc = kn, Bc = ["sm", "md", "lg"], Fc = ["compact", "expanded"], Wc = As,
|
|
8567
|
+
), Lc = kn, Ic = ["default", "outline", "neutral"], Hc = kn, Bc = ["sm", "md", "lg"], Fc = ["compact", "expanded"], Wc = As, Gc = [
|
|
8568
|
+
"viridian",
|
|
8569
|
+
"malibu",
|
|
8570
|
+
"yellow",
|
|
8571
|
+
"purple",
|
|
8572
|
+
"lilac",
|
|
8573
|
+
"barbie",
|
|
8574
|
+
"smoke",
|
|
8575
|
+
"army",
|
|
8576
|
+
"flubber",
|
|
8577
|
+
"indigo",
|
|
8578
|
+
"camel"
|
|
8579
|
+
], Ei = ({ count: n, list: e }) => {
|
|
8568
8580
|
const [t, i] = W(!1), r = g(Mt, {
|
|
8569
8581
|
label: `+${n}`
|
|
8570
8582
|
});
|
|
@@ -8624,13 +8636,13 @@ const Tr = ({ chips: n, max: e = 4, remainingCount: t, layout: i = "compact" })
|
|
|
8624
8636
|
});
|
|
8625
8637
|
};
|
|
8626
8638
|
Tr.displayName = "F0ChipList";
|
|
8627
|
-
const
|
|
8639
|
+
const $c = Re("F0ChipList", Tr), jc = zs, lc = le((n, e) => g(Ti, {
|
|
8628
8640
|
ref: e,
|
|
8629
8641
|
variant: "heading",
|
|
8630
8642
|
...n
|
|
8631
8643
|
}));
|
|
8632
8644
|
lc.displayName = "F0Heading";
|
|
8633
|
-
const
|
|
8645
|
+
const Uc = Re(
|
|
8634
8646
|
"F0GridStack",
|
|
8635
8647
|
Ai
|
|
8636
8648
|
), cc = ({ benefits: n }) => g("div", {
|
|
@@ -8732,7 +8744,7 @@ function uc({ isOpen: n, onClose: e, title: t, children: i, module: r, portalCon
|
|
|
8732
8744
|
})
|
|
8733
8745
|
});
|
|
8734
8746
|
}
|
|
8735
|
-
function
|
|
8747
|
+
function Kc({ isOpen: n, onClose: e, title: t, image: i, benefits: r, errorMessage: s, successMessage: o, loadingState: a, nextSteps: l, closeLabel: u, primaryAction: c, modalTitle: d, modalModule: h, secondaryAction: f, portalContainer: x, tag: v, promoTag: w, showResponseDialog: S = !0 }) {
|
|
8736
8748
|
const [N, C] = W(n), [R, y] = W(null), [b, D] = W(!1), E = async () => {
|
|
8737
8749
|
if (c != null && c.onClick) {
|
|
8738
8750
|
D(!0);
|
|
@@ -8897,7 +8909,7 @@ const fc = le(function({ primaryAction: e, secondaryAction: t, ...i }, r) {
|
|
|
8897
8909
|
});
|
|
8898
8910
|
});
|
|
8899
8911
|
fc.displayName = "UpsellingBanner";
|
|
8900
|
-
function
|
|
8912
|
+
function Xc({ isOpen: n, setIsOpen: e, label: t, variant: i = "promote", size: r = "md", showIcon: s = !0, side: o = "right", align: a = "center", icon: l = js, mediaUrl: u, title: c, description: d, width: h = "300px", trackVisibility: f, actions: x, onClick: v, hideLabel: w = !1 }) {
|
|
8901
8913
|
const [S, N] = W(!1), [C, R] = W(null), [y, b] = W(null), D = (_) => {
|
|
8902
8914
|
e(_), v && v();
|
|
8903
8915
|
}, E = async (_) => {
|
|
@@ -8977,7 +8989,7 @@ const gc = Ne(null), pc = ({ children: n, fullScreen: e = !0 }) => {
|
|
|
8977
8989
|
}, mc = ({ children: n }) => g(Qs, {
|
|
8978
8990
|
reducedMotion: "user",
|
|
8979
8991
|
children: n
|
|
8980
|
-
}),
|
|
8992
|
+
}), Yc = ({ children: n, layout: e, link: t, privacyModeInitiallyEnabled: i, image: r, i18n: s, l10n: o, isDev: a = !1, dataCollectionStorageHandler: l, showExperimentalWarnings: u = !1 }) => g(mc, {
|
|
8981
8993
|
children: g(Us, {
|
|
8982
8994
|
isDev: a,
|
|
8983
8995
|
showExperimentalWarnings: u,
|
|
@@ -9006,7 +9018,7 @@ const gc = Ne(null), pc = ({ children: n, fullScreen: e = !0 }) => {
|
|
|
9006
9018
|
})
|
|
9007
9019
|
})
|
|
9008
9020
|
})
|
|
9009
|
-
}), wn = (n) => `datacollection-${n}`,
|
|
9021
|
+
}), wn = (n) => `datacollection-${n}`, qc = {
|
|
9010
9022
|
get: async (n) => JSON.parse(
|
|
9011
9023
|
localStorage.getItem(wn(n)) ?? "{}"
|
|
9012
9024
|
),
|
|
@@ -9016,103 +9028,104 @@ const gc = Ne(null), pc = ({ children: n, fullScreen: e = !0 }) => {
|
|
|
9016
9028
|
};
|
|
9017
9029
|
export {
|
|
9018
9030
|
Sc as AreaChart,
|
|
9019
|
-
|
|
9031
|
+
Zc as Await,
|
|
9020
9032
|
Nc as BarChart,
|
|
9021
9033
|
Oc as CategoryBarChart,
|
|
9022
9034
|
Pc as ComboChart,
|
|
9023
9035
|
Cc as Dashboard,
|
|
9024
|
-
|
|
9025
|
-
|
|
9026
|
-
|
|
9027
|
-
|
|
9028
|
-
|
|
9029
|
-
|
|
9030
|
-
|
|
9031
|
-
|
|
9032
|
-
|
|
9033
|
-
|
|
9036
|
+
Qc as DndProvider,
|
|
9037
|
+
ed as EmojiImage,
|
|
9038
|
+
td as F0Avatar,
|
|
9039
|
+
id as F0AvatarAlert,
|
|
9040
|
+
nd as F0AvatarCompany,
|
|
9041
|
+
rd as F0AvatarDate,
|
|
9042
|
+
sd as F0AvatarEmoji,
|
|
9043
|
+
od as F0AvatarFile,
|
|
9044
|
+
ad as F0AvatarIcon,
|
|
9045
|
+
ld as F0AvatarList,
|
|
9034
9046
|
Hn as F0AvatarModule,
|
|
9035
|
-
|
|
9036
|
-
|
|
9047
|
+
cd as F0AvatarPerson,
|
|
9048
|
+
dd as F0AvatarTeam,
|
|
9037
9049
|
Ve as F0Button,
|
|
9038
|
-
|
|
9039
|
-
|
|
9040
|
-
|
|
9041
|
-
|
|
9042
|
-
|
|
9043
|
-
|
|
9044
|
-
|
|
9045
|
-
|
|
9050
|
+
ud as F0ButtonDropdown,
|
|
9051
|
+
hd as F0ButtonToggle,
|
|
9052
|
+
fd as F0Card,
|
|
9053
|
+
gd as F0Checkbox,
|
|
9054
|
+
$c as F0ChipList,
|
|
9055
|
+
pd as F0DatePicker,
|
|
9056
|
+
md as F0EventCatcherProvider,
|
|
9057
|
+
Uc as F0GridStack,
|
|
9046
9058
|
lc as F0Heading,
|
|
9047
9059
|
Dn as F0Icon,
|
|
9048
|
-
|
|
9049
|
-
|
|
9050
|
-
|
|
9051
|
-
|
|
9052
|
-
|
|
9053
|
-
|
|
9054
|
-
|
|
9055
|
-
|
|
9056
|
-
|
|
9060
|
+
vd as F0Link,
|
|
9061
|
+
Yc as F0Provider,
|
|
9062
|
+
yd as F0Select,
|
|
9063
|
+
bd as F0TagAlert,
|
|
9064
|
+
xd as F0TagBalance,
|
|
9065
|
+
wd as F0TagCompany,
|
|
9066
|
+
Cd as F0TagDot,
|
|
9067
|
+
_d as F0TagList,
|
|
9068
|
+
Ed as F0TagPerson,
|
|
9057
9069
|
Ps as F0TagRaw,
|
|
9058
9070
|
Ms as F0TagStatus,
|
|
9059
|
-
|
|
9071
|
+
Dd as F0TagTeam,
|
|
9060
9072
|
Jn as F0Text,
|
|
9061
|
-
|
|
9073
|
+
Rd as GROUP_ID_SYMBOL,
|
|
9062
9074
|
Rc as HomeLayout,
|
|
9063
9075
|
_c as Layout,
|
|
9064
9076
|
Ac as LineChart,
|
|
9065
|
-
|
|
9077
|
+
Sd as OneFilterPicker,
|
|
9066
9078
|
Tc as PieChart,
|
|
9067
9079
|
Vs as PrivacyModeProvider,
|
|
9068
9080
|
kr as ProductBlankslate,
|
|
9069
|
-
|
|
9070
|
-
|
|
9081
|
+
Nd as ProductCard,
|
|
9082
|
+
Kc as ProductModal,
|
|
9071
9083
|
hc as ProductWidget,
|
|
9072
9084
|
zc as ProgressBarChart,
|
|
9073
9085
|
Ec as StandardLayout,
|
|
9074
|
-
|
|
9086
|
+
Od as Tag,
|
|
9087
|
+
Ad as TagCounter,
|
|
9075
9088
|
Dc as TwoColumnLayout,
|
|
9076
9089
|
Fn as UpsellRequestResponseDialog,
|
|
9077
9090
|
fc as UpsellingBanner,
|
|
9078
9091
|
Wn as UpsellingButton,
|
|
9079
|
-
|
|
9092
|
+
Xc as UpsellingPopover,
|
|
9080
9093
|
kc as VerticalBarChart,
|
|
9081
9094
|
wc as avatarVariants,
|
|
9082
|
-
|
|
9095
|
+
Td as buildTranslations,
|
|
9083
9096
|
Hc as buttonDropdownSizes,
|
|
9084
9097
|
Ic as buttonDropdownVariants,
|
|
9085
9098
|
Lc as buttonSizes,
|
|
9086
9099
|
Bc as buttonToggleSizes,
|
|
9087
9100
|
Fc as buttonToggleVariants,
|
|
9088
9101
|
Mc as buttonVariants,
|
|
9089
|
-
|
|
9090
|
-
|
|
9102
|
+
kd as createAtlaskitDriver,
|
|
9103
|
+
zd as createDataSourceDefinition,
|
|
9091
9104
|
Ro as createPageLayoutBlock,
|
|
9092
9105
|
So as createPageLayoutBlockGroup,
|
|
9093
|
-
|
|
9094
|
-
|
|
9095
|
-
|
|
9106
|
+
qc as dataCollectionLocalStorageHandler,
|
|
9107
|
+
jc as datepickerSizes,
|
|
9108
|
+
eu as defaultTranslations,
|
|
9096
9109
|
Re as experimental,
|
|
9097
|
-
|
|
9098
|
-
|
|
9099
|
-
|
|
9100
|
-
|
|
9101
|
-
|
|
9110
|
+
Pd as getAnimationVariants,
|
|
9111
|
+
Md as getDataSourcePaginationType,
|
|
9112
|
+
Ld as getEmojiLabel,
|
|
9113
|
+
Id as isInfiniteScrollPagination,
|
|
9114
|
+
Hd as isPageBasedPagination,
|
|
9102
9115
|
Wc as linkVariants,
|
|
9103
|
-
|
|
9104
|
-
|
|
9105
|
-
|
|
9106
|
-
|
|
9107
|
-
|
|
9108
|
-
|
|
9109
|
-
|
|
9110
|
-
|
|
9111
|
-
|
|
9112
|
-
|
|
9113
|
-
|
|
9114
|
-
|
|
9115
|
-
|
|
9116
|
-
|
|
9117
|
-
|
|
9116
|
+
Bd as modules,
|
|
9117
|
+
Fd as predefinedPresets,
|
|
9118
|
+
Wd as selectSizes,
|
|
9119
|
+
Gc as tagDotColors,
|
|
9120
|
+
Gd as useData,
|
|
9121
|
+
$d as useDataSource,
|
|
9122
|
+
jd as useDndEvents,
|
|
9123
|
+
Ud as useDraggable,
|
|
9124
|
+
Kd as useDroppableList,
|
|
9125
|
+
Xd as useEmojiConfetti,
|
|
9126
|
+
Yd as useGroups,
|
|
9127
|
+
qd as usePrivacyMode,
|
|
9128
|
+
Vd as useReducedMotion,
|
|
9129
|
+
Jd as useSelectable,
|
|
9130
|
+
Zd as useXRay
|
|
9118
9131
|
};
|