@mt-gloss/ui 0.1.129 → 0.1.131
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/{Expandable-B0lcm3xn.js → Expandable-Bx0M5hyG.js} +3151 -3084
- package/{MetricCard-Cyoxhb_S.js → MetricCard-DOPtBpek.js} +6 -5
- package/catalog.js +3 -3
- package/composites-panels.js +1 -1
- package/index.js +3 -3
- package/lib/presets/PresetAccordion/PresetAccordion.d.ts +24 -4
- package/lib/presets/PresetBadge/PresetBadge.d.ts +6 -1
- package/lib/presets/PresetCard/PresetCard.d.ts +48 -8
- package/lib/presets/PresetCheckbox/PresetCheckbox.d.ts +6 -1
- package/lib/presets/PresetChip/PresetChip.d.ts +6 -1
- package/lib/presets/PresetColorPicker/PresetColorPicker.d.ts +6 -1
- package/lib/presets/PresetDatePicker/PresetDatePicker.d.ts +6 -1
- package/lib/presets/PresetDateRangePicker/PresetDateRangePicker.d.ts +6 -1
- package/lib/presets/PresetFileUpload/PresetFileUpload.d.ts +6 -1
- package/lib/presets/PresetInput/PresetInput.d.ts +6 -1
- package/lib/presets/PresetLink/PresetLink.d.ts +6 -1
- package/lib/presets/PresetMaskedInput/PresetMaskedInput.d.ts +6 -1
- package/lib/presets/PresetMenu/PresetMenu.d.ts +12 -2
- package/lib/presets/PresetNumberInput/PresetNumberInput.d.ts +6 -1
- package/lib/presets/PresetRadio/PresetRadio.d.ts +6 -1
- package/lib/presets/PresetRangeSlider/PresetRangeSlider.d.ts +6 -1
- package/lib/presets/PresetRating/PresetRating.d.ts +6 -1
- package/lib/presets/PresetTextarea/PresetTextarea.d.ts +6 -1
- package/lib/presets/PresetTimePicker/PresetTimePicker.d.ts +6 -1
- package/lib/presets/PresetToggle/PresetToggle.d.ts +6 -1
- package/package.json +1 -1
|
@@ -413,8 +413,6 @@ const O = {
|
|
|
413
413
|
]
|
|
414
414
|
}
|
|
415
415
|
), Se = function(o) {
|
|
416
|
-
if (o.variant === "status-mode")
|
|
417
|
-
return /* @__PURE__ */ t(q, { ...o });
|
|
418
416
|
const {
|
|
419
417
|
variant: e = "standard",
|
|
420
418
|
label: c,
|
|
@@ -430,13 +428,16 @@ const O = {
|
|
|
430
428
|
typeof o.value == "number" ? o.value : null,
|
|
431
429
|
o.tintCondition
|
|
432
430
|
) : void 0) ?? b, I = (M ? ve[M] : void 0) || M, { formatted: B, tier: X, length: ee } = N(
|
|
433
|
-
() => me(i, {
|
|
431
|
+
() => e === "status-mode" ? { formatted: "", tier: 0, length: 0 } : me(i, {
|
|
434
432
|
prefix: r?.prefix || "",
|
|
435
433
|
suffix: r?.suffix || "",
|
|
436
434
|
abbreviated: r?.abbreviated
|
|
437
435
|
}, h),
|
|
438
|
-
[i, r?.prefix, r?.suffix, r?.abbreviated, h]
|
|
439
|
-
)
|
|
436
|
+
[e, i, r?.prefix, r?.suffix, r?.abbreviated, h]
|
|
437
|
+
);
|
|
438
|
+
if (o.variant === "status-mode")
|
|
439
|
+
return /* @__PURE__ */ t(q, { ...o });
|
|
440
|
+
const S = { display: B, full: B, length: ee }, te = F(S.length, h), re = s?.direction && O[s.direction] || O.flat, T = a ? "gloss-metric-data-stale" : "gloss-metric-data-fresh", W = {
|
|
440
441
|
fontWeight: 700,
|
|
441
442
|
letterSpacing: "-0.03em",
|
|
442
443
|
color: e === "highlight" ? I : "rgba(0,0,0,0.87)",
|
package/catalog.js
CHANGED
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
import { A as I, Q as N, E as B, J as x, L as D, D as F, F as A, H as M, K as v, T as R, U as H, V as W, b1 as _, W as k, b2 as z, b3 as L, b4 as E, X as G, Y as O, Z as $ } from "./Expandable-
|
|
2
|
-
import { a5 as Be, b8 as xe, aB as De, aj as Fe, $ as Ae, ap as Me, bN as ve, N as Re, aa as He, P as We, B as _e, bi as ke, C as ze, bq as Le, b as Ee, c as Ge, O as Oe, q as $e, af as we, aP as Ve, aE as Xe, as as je, m as Ue, o as Ze, aH as qe, ad as Je, ba as Ke, ab as Qe, _ as Ye, ar as ea, aS as aa, bc as sa, p as ta, ao as ra, a2 as oa, at as ia, a4 as na, ac as la, bC as da, aV as ca, t as ga, I as ma, i as pa, ay as ua, M as ba, y as fa, au as ha, bI as ya, aq as Ta, w as Sa, aU as Pa, b5 as Ca, al as Ia, aM as Na, ai as Ba, an as xa, aw as Da, bP as Fa, aT as Aa, bO as Ma, ae as va, e as Ra, R as Ha, l as Wa, r as _a, aJ as ka, ak as za, ag as La, j as Ea, z as Ga, b9 as Oa, ah as $a, be as wa, bh as Va, bf as Xa, bg as ja, k as Ua, bb as Za, S as qa, bj as Ja, ax as Ka, bd as Qa, bJ as Ya, am as es, bM as as, v as ss, bD as ts, n as rs, h as os, s as is, a0 as ns, a9 as ls, bp as ds, bw as cs, aD as gs, a8 as ms, aR as ps, aG as us, aA as bs, aO as fs, aL as hs, a3 as ys } from "./Expandable-
|
|
1
|
+
import { A as I, Q as N, E as B, J as x, L as D, D as F, F as A, H as M, K as v, T as R, U as H, V as W, b1 as _, W as k, b2 as z, b3 as L, b4 as E, X as G, Y as O, Z as $ } from "./Expandable-Bx0M5hyG.js";
|
|
2
|
+
import { a5 as Be, b8 as xe, aB as De, aj as Fe, $ as Ae, ap as Me, bN as ve, N as Re, aa as He, P as We, B as _e, bi as ke, C as ze, bq as Le, b as Ee, c as Ge, O as Oe, q as $e, af as we, aP as Ve, aE as Xe, as as je, m as Ue, o as Ze, aH as qe, ad as Je, ba as Ke, ab as Qe, _ as Ye, ar as ea, aS as aa, bc as sa, p as ta, ao as ra, a2 as oa, at as ia, a4 as na, ac as la, bC as da, aV as ca, t as ga, I as ma, i as pa, ay as ua, M as ba, y as fa, au as ha, bI as ya, aq as Ta, w as Sa, aU as Pa, b5 as Ca, al as Ia, aM as Na, ai as Ba, an as xa, aw as Da, bP as Fa, aT as Aa, bO as Ma, ae as va, e as Ra, R as Ha, l as Wa, r as _a, aJ as ka, ak as za, ag as La, j as Ea, z as Ga, b9 as Oa, ah as $a, be as wa, bh as Va, bf as Xa, bg as ja, k as Ua, bb as Za, S as qa, bj as Ja, ax as Ka, bd as Qa, bJ as Ya, am as es, bM as as, v as ss, bD as ts, n as rs, h as os, s as is, a0 as ns, a9 as ls, bp as ds, bw as cs, aD as gs, a8 as ms, aR as ps, aG as us, aA as bs, aO as fs, aL as hs, a3 as ys } from "./Expandable-Bx0M5hyG.js";
|
|
3
3
|
import { jsx as c, jsxs as S } from "react/jsx-runtime";
|
|
4
4
|
import { C as e, T as a, aa as w, S as s, E as u, R as m, Z as V } from "./UIContext-Dm0GYHFT.js";
|
|
5
5
|
import { B as X, a as j, e as U, c as Z, d as q, b as J } from "./BaseAsyncButton-aDQ_TjJi.js";
|
|
6
6
|
import { b as K } from "./BaseText-Dxbk1JJa.js";
|
|
7
|
-
import { B as Ss, D as Ps, M as Cs, O as Is, a as Ns, T as Bs } from "./MetricCard-
|
|
7
|
+
import { B as Ss, D as Ps, M as Cs, O as Is, a as Ns, T as Bs } from "./MetricCard-DOPtBpek.js";
|
|
8
8
|
import { formatDateRange as Ds, resolveEvent as Fs, resolvePreset as As, smartDateFormat as Ms } from "@mt-gloss/utils/dateInterpretation";
|
|
9
9
|
const Q = {
|
|
10
10
|
page: {
|
package/composites-panels.js
CHANGED
|
@@ -5,7 +5,7 @@ import H, { useState as A, useRef as K, createContext as fe, useContext as ge, u
|
|
|
5
5
|
import { useSensors as ke, useSensor as ie, PointerSensor as De, KeyboardSensor as Le, DndContext as Me, closestCenter as Oe } from "@dnd-kit/core";
|
|
6
6
|
import { sortableKeyboardCoordinates as Ie, SortableContext as Re, horizontalListSortingStrategy as $e, arrayMove as Fe, useSortable as ze } from "@dnd-kit/sortable";
|
|
7
7
|
import { CSS as He } from "@dnd-kit/utilities";
|
|
8
|
-
import { M as ce } from "./MetricCard-
|
|
8
|
+
import { M as ce } from "./MetricCard-DOPtBpek.js";
|
|
9
9
|
function wt() {
|
|
10
10
|
const e = M();
|
|
11
11
|
if (e?.state.activePanelId !== "settings") return null;
|
package/index.js
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
|
-
import { u as ze, C as Be } from "./Expandable-
|
|
2
|
-
import { Q as mn, V as pn, T as gn, U as hn, a5 as fn, b8 as bn, aB as vn, aj as yn, $ as wn, ap as _n, N as Cn, aa as Nn, P as kn, B as Sn, a as Dn, A as xn, K as Tn, bi as Rn, J as Mn, L as Pn, E as An, D as En, H as Fn, F as In, bq as Ln, b as On, c as $n, O as zn, q as Bn, af as Gn, aP as Hn, A as Wn, K as Vn, J as jn, L as Kn, E as Un, D as Yn, H as qn, F as Qn, b1 as Jn, b4 as Xn, b3 as Zn, b2 as es, b5 as ts, aE as as, a7 as rs, a6 as ns, as as ss, m as is, o as ls, aH as os, ad as cs, ba as ds, ab as us, _ as ms, bA as ps, bz as gs, bB as hs, ar as fs, aS as bs, bc as vs, bF as ys, bo as ws, p as _s, ao as Cs, bu as Ns, bl as ks, a2 as Ss, at as Ds, a4 as xs, bt as Ts, bK as Rs, G as Ms, f as Ps, ac as As, bC as Es, aV as Fs, t as Is, x as Ls, I as Os, i as $s, ay as zs, bG as Bs, M as Gs, y as Hs, W as Ws, Z as Vs, X as js, Y as Ks, au as Us, bI as Ys, bE as qs, aq as Qs, w as Js, aU as Xs, al as Zs, aM as ei, ai as ti, an as ai, aw as ri, aT as ni, ae as si, av as ii, e as li, R as oi, l as ci, r as di, aJ as ui, br as mi, bs as pi, ak as gi, ag as hi, j as fi, z as bi, b9 as vi, ah as yi, bH as wi, be as _i, bh as Ci, bf as Ni, bg as ki, k as Si, bb as Di, S as xi, bj as Ti, ax as Ri, bd as Mi, bJ as Pi, am as Ai, v as Ei, bD as Fi, n as Ii, h as Li, s as Oi, a0 as $i, a1 as zi, a9 as Bi, bp as Gi, bw as Hi, aC as Wi, aD as Vi, a8 as ji, aQ as Ki, aR as Ui, aF as Yi, aG as qi, aI as Qi, aX as Ji, aY as Xi, by as Zi, bx as el, a_ as tl, a$ as al, az as rl, aA as nl, b7 as sl, b6 as il, b0 as ll, aN as ol, aO as cl, aZ as dl, aK as ul, aL as ml, d as pl, bv as gl, bk as hl, bm as fl, bn as bl, aW as vl, a3 as yl, bL as wl, g as _l } from "./Expandable-
|
|
1
|
+
import { u as ze, C as Be } from "./Expandable-Bx0M5hyG.js";
|
|
2
|
+
import { Q as mn, V as pn, T as gn, U as hn, a5 as fn, b8 as bn, aB as vn, aj as yn, $ as wn, ap as _n, N as Cn, aa as Nn, P as kn, B as Sn, a as Dn, A as xn, K as Tn, bi as Rn, J as Mn, L as Pn, E as An, D as En, H as Fn, F as In, bq as Ln, b as On, c as $n, O as zn, q as Bn, af as Gn, aP as Hn, A as Wn, K as Vn, J as jn, L as Kn, E as Un, D as Yn, H as qn, F as Qn, b1 as Jn, b4 as Xn, b3 as Zn, b2 as es, b5 as ts, aE as as, a7 as rs, a6 as ns, as as ss, m as is, o as ls, aH as os, ad as cs, ba as ds, ab as us, _ as ms, bA as ps, bz as gs, bB as hs, ar as fs, aS as bs, bc as vs, bF as ys, bo as ws, p as _s, ao as Cs, bu as Ns, bl as ks, a2 as Ss, at as Ds, a4 as xs, bt as Ts, bK as Rs, G as Ms, f as Ps, ac as As, bC as Es, aV as Fs, t as Is, x as Ls, I as Os, i as $s, ay as zs, bG as Bs, M as Gs, y as Hs, W as Ws, Z as Vs, X as js, Y as Ks, au as Us, bI as Ys, bE as qs, aq as Qs, w as Js, aU as Xs, al as Zs, aM as ei, ai as ti, an as ai, aw as ri, aT as ni, ae as si, av as ii, e as li, R as oi, l as ci, r as di, aJ as ui, br as mi, bs as pi, ak as gi, ag as hi, j as fi, z as bi, b9 as vi, ah as yi, bH as wi, be as _i, bh as Ci, bf as Ni, bg as ki, k as Si, bb as Di, S as xi, bj as Ti, ax as Ri, bd as Mi, bJ as Pi, am as Ai, v as Ei, bD as Fi, n as Ii, h as Li, s as Oi, a0 as $i, a1 as zi, a9 as Bi, bp as Gi, bw as Hi, aC as Wi, aD as Vi, a8 as ji, aQ as Ki, aR as Ui, aF as Yi, aG as qi, aI as Qi, aX as Ji, aY as Xi, by as Zi, bx as el, a_ as tl, a$ as al, az as rl, aA as nl, b7 as sl, b6 as il, b0 as ll, aN as ol, aO as cl, aZ as dl, aK as ul, aL as ml, d as pl, bv as gl, bk as hl, bm as fl, bn as bl, aW as vl, a3 as yl, bL as wl, g as _l } from "./Expandable-Bx0M5hyG.js";
|
|
3
3
|
import { jsxs as f, jsx as r, Fragment as L } from "react/jsx-runtime";
|
|
4
4
|
import * as $ from "react";
|
|
5
5
|
import I, { useRef as M, useEffect as E, useState as A, useCallback as C, useId as Ne, forwardRef as Ge, useMemo as ce, useLayoutEffect as ke, createContext as He, useContext as We } from "react";
|
|
@@ -9,7 +9,7 @@ import { N as Nl, C as kl, c as Sl, P as Dl, f as xl, S as Tl, e as Rl, i as Ml,
|
|
|
9
9
|
import { createPortal as Se } from "react-dom";
|
|
10
10
|
import { B as Ye, U as de } from "./UIContext-Dm0GYHFT.js";
|
|
11
11
|
import { a as Ll, u as Ol } from "./UIContext-Dm0GYHFT.js";
|
|
12
|
-
import { B as zl, D as Bl, M as Gl, O as Hl, a as Wl, S as Vl, T as jl, e as Kl } from "./MetricCard-
|
|
12
|
+
import { B as zl, D as Bl, M as Gl, O as Hl, a as Wl, S as Vl, T as jl, e as Kl } from "./MetricCard-DOPtBpek.js";
|
|
13
13
|
import { DEFAULT_MARKET_PRESETS as Yl, DEFAULT_PINNED as ql, PERIOD_OPTIONS as Ql, ROLLING_OPTIONS as Jl, TODAY_PRESET as Xl, findPreset as Zl, formatDateRange as eo, formatMarketDates as to, formatTrend as ao, formatValue as ro, generateMarketId as no, getAllPresets as so, getDateRangeForPreset as io, getPresetLabel as lo, isInRange as oo, isMarketActive as co, isSameDay as uo, normalizePresetId as mo, toUppercasePresetId as po } from "@mt-gloss/utils";
|
|
14
14
|
import qe from "@mui/icons-material/AccessTime";
|
|
15
15
|
import Qe from "@mui/icons-material/Tune";
|
|
@@ -5,17 +5,37 @@ export interface PresetAccordionProps {
|
|
|
5
5
|
/**
|
|
6
6
|
* Accordion container. Wraps BaseAccordion.
|
|
7
7
|
*/
|
|
8
|
-
export declare const PresetAccordion:
|
|
8
|
+
export declare const PresetAccordion: {
|
|
9
|
+
({ ref, children, ...rest }: PresetAccordionProps & Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style"> & {
|
|
10
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
11
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
12
|
+
displayName: string;
|
|
13
|
+
};
|
|
9
14
|
export interface PresetAccordionItemProps {
|
|
10
15
|
open?: boolean;
|
|
11
16
|
children: React.ReactNode;
|
|
12
17
|
}
|
|
13
|
-
export declare const PresetAccordionItem:
|
|
18
|
+
export declare const PresetAccordionItem: {
|
|
19
|
+
({ ref, open, children, ...rest }: PresetAccordionItemProps & Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style"> & {
|
|
20
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
21
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
22
|
+
displayName: string;
|
|
23
|
+
};
|
|
14
24
|
export interface PresetAccordionTriggerProps {
|
|
15
25
|
children: React.ReactNode;
|
|
16
26
|
}
|
|
17
|
-
export declare const PresetAccordionTrigger:
|
|
27
|
+
export declare const PresetAccordionTrigger: {
|
|
28
|
+
({ ref, children, ...rest }: PresetAccordionTriggerProps & Omit<React.ButtonHTMLAttributes<HTMLButtonElement>, "className" | "style"> & {
|
|
29
|
+
ref?: React.Ref<HTMLButtonElement>;
|
|
30
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
displayName: string;
|
|
32
|
+
};
|
|
18
33
|
export interface PresetAccordionContentProps {
|
|
19
34
|
children: React.ReactNode;
|
|
20
35
|
}
|
|
21
|
-
export declare const PresetAccordionContent:
|
|
36
|
+
export declare const PresetAccordionContent: {
|
|
37
|
+
({ ref, children, ...rest }: PresetAccordionContentProps & Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style"> & {
|
|
38
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
39
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
40
|
+
displayName: string;
|
|
41
|
+
};
|
|
@@ -12,4 +12,9 @@ export interface PresetBadgeProps {
|
|
|
12
12
|
* Badge with semantic variant/size API. Wraps BaseBadge.
|
|
13
13
|
* Small status indicator with color-coded variants.
|
|
14
14
|
*/
|
|
15
|
-
export declare const PresetBadge:
|
|
15
|
+
export declare const PresetBadge: {
|
|
16
|
+
({ ref, variant, size, dot, soft, children, ...allRest }: PresetBadgeProps & {
|
|
17
|
+
ref?: React.Ref<HTMLSpanElement>;
|
|
18
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
19
|
+
displayName: string;
|
|
20
|
+
};
|
|
@@ -11,35 +11,75 @@ export interface PresetCardProps {
|
|
|
11
11
|
/**
|
|
12
12
|
* Card with semantic variant/size API. Wraps BaseCard.
|
|
13
13
|
*/
|
|
14
|
-
export declare const PresetCard:
|
|
14
|
+
export declare const PresetCard: {
|
|
15
|
+
({ ref, variant, size, interactive, selected, children, ...rest }: PresetCardProps & Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style"> & {
|
|
16
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
17
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
18
|
+
displayName: string;
|
|
19
|
+
};
|
|
15
20
|
export interface PresetCardHeaderProps {
|
|
16
21
|
children?: React.ReactNode;
|
|
17
22
|
}
|
|
18
|
-
export declare const PresetCardHeader:
|
|
23
|
+
export declare const PresetCardHeader: {
|
|
24
|
+
({ ref, children, ...rest }: PresetCardHeaderProps & Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style"> & {
|
|
25
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
26
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
displayName: string;
|
|
28
|
+
};
|
|
19
29
|
export interface PresetCardBodyProps {
|
|
20
30
|
children?: React.ReactNode;
|
|
21
31
|
}
|
|
22
|
-
export declare const PresetCardBody:
|
|
32
|
+
export declare const PresetCardBody: {
|
|
33
|
+
({ ref, children, ...rest }: PresetCardBodyProps & Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style"> & {
|
|
34
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
35
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
36
|
+
displayName: string;
|
|
37
|
+
};
|
|
23
38
|
export interface PresetCardFooterProps {
|
|
24
39
|
children?: React.ReactNode;
|
|
25
40
|
}
|
|
26
|
-
export declare const PresetCardFooter:
|
|
41
|
+
export declare const PresetCardFooter: {
|
|
42
|
+
({ ref, children, ...rest }: PresetCardFooterProps & Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style"> & {
|
|
43
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
44
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
displayName: string;
|
|
46
|
+
};
|
|
27
47
|
export interface PresetCardMediaProps {
|
|
28
48
|
src?: string;
|
|
29
49
|
alt?: string;
|
|
30
50
|
height?: string;
|
|
31
51
|
children?: React.ReactNode;
|
|
32
52
|
}
|
|
33
|
-
export declare const PresetCardMedia:
|
|
53
|
+
export declare const PresetCardMedia: {
|
|
54
|
+
({ ref, src, alt, height, children, ...rest }: PresetCardMediaProps & Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style"> & {
|
|
55
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
56
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
57
|
+
displayName: string;
|
|
58
|
+
};
|
|
34
59
|
export interface PresetCardTitleProps {
|
|
35
60
|
children?: React.ReactNode;
|
|
36
61
|
}
|
|
37
|
-
export declare const PresetCardTitle:
|
|
62
|
+
export declare const PresetCardTitle: {
|
|
63
|
+
({ ref, children, ...rest }: PresetCardTitleProps & Omit<React.HTMLAttributes<HTMLHeadingElement>, "className" | "style"> & {
|
|
64
|
+
ref?: React.Ref<HTMLHeadingElement>;
|
|
65
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
66
|
+
displayName: string;
|
|
67
|
+
};
|
|
38
68
|
export interface PresetCardSubtitleProps {
|
|
39
69
|
children?: React.ReactNode;
|
|
40
70
|
}
|
|
41
|
-
export declare const PresetCardSubtitle:
|
|
71
|
+
export declare const PresetCardSubtitle: {
|
|
72
|
+
({ ref, children, ...rest }: PresetCardSubtitleProps & Omit<React.HTMLAttributes<HTMLParagraphElement>, "className" | "style"> & {
|
|
73
|
+
ref?: React.Ref<HTMLParagraphElement>;
|
|
74
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
75
|
+
displayName: string;
|
|
76
|
+
};
|
|
42
77
|
export interface PresetCardActionsProps {
|
|
43
78
|
children?: React.ReactNode;
|
|
44
79
|
}
|
|
45
|
-
export declare const PresetCardActions:
|
|
80
|
+
export declare const PresetCardActions: {
|
|
81
|
+
({ ref, children, ...rest }: PresetCardActionsProps & Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style"> & {
|
|
82
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
83
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
84
|
+
displayName: string;
|
|
85
|
+
};
|
|
@@ -20,4 +20,9 @@ export interface PresetCheckboxProps {
|
|
|
20
20
|
/**
|
|
21
21
|
* Checkbox with semantic variant/size API. Wraps BaseCheckbox.
|
|
22
22
|
*/
|
|
23
|
-
export declare const PresetCheckbox:
|
|
23
|
+
export declare const PresetCheckbox: {
|
|
24
|
+
({ ref, ...props }: PresetCheckboxProps & {
|
|
25
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
26
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
27
|
+
displayName: string;
|
|
28
|
+
};
|
|
@@ -19,4 +19,9 @@ export interface PresetChipProps {
|
|
|
19
19
|
* Chip with semantic variant/color/size API. Wraps BaseChip.
|
|
20
20
|
* Interactive tag/pill with click, delete, and keyboard support.
|
|
21
21
|
*/
|
|
22
|
-
export declare const PresetChip:
|
|
22
|
+
export declare const PresetChip: {
|
|
23
|
+
({ ref, ...props }: PresetChipProps & {
|
|
24
|
+
ref?: React.Ref<HTMLSpanElement>;
|
|
25
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
displayName: string;
|
|
27
|
+
};
|
|
@@ -19,4 +19,9 @@ export interface PresetColorPickerProps {
|
|
|
19
19
|
* ColorPicker with swatch presets, format conversion, size scale.
|
|
20
20
|
* Re-exports ColorFormat type.
|
|
21
21
|
*/
|
|
22
|
-
export declare const PresetColorPicker:
|
|
22
|
+
export declare const PresetColorPicker: {
|
|
23
|
+
({ ref, ...props }: PresetColorPickerProps & {
|
|
24
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
25
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
26
|
+
displayName: string;
|
|
27
|
+
};
|
|
@@ -26,4 +26,9 @@ export interface PresetDatePickerProps {
|
|
|
26
26
|
/**
|
|
27
27
|
* DatePicker with calendar dropdown, variant styling, and size scale.
|
|
28
28
|
*/
|
|
29
|
-
export declare const PresetDatePicker:
|
|
29
|
+
export declare const PresetDatePicker: {
|
|
30
|
+
({ ref, ...props }: PresetDatePickerProps & {
|
|
31
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
32
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
33
|
+
displayName: string;
|
|
34
|
+
};
|
|
@@ -34,4 +34,9 @@ export interface PresetDateRangePickerProps {
|
|
|
34
34
|
/**
|
|
35
35
|
* DateRangePicker with dual calendar, range selection, variant styling.
|
|
36
36
|
*/
|
|
37
|
-
export declare const PresetDateRangePicker:
|
|
37
|
+
export declare const PresetDateRangePicker: {
|
|
38
|
+
({ ref, ...props }: PresetDateRangePickerProps & {
|
|
39
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
40
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
displayName: string;
|
|
42
|
+
};
|
|
@@ -32,4 +32,9 @@ export interface PresetFileUploadProps {
|
|
|
32
32
|
* FileUpload with drag-and-drop, file list, variant styling, size scale.
|
|
33
33
|
* Re-exports FileUploadFile type.
|
|
34
34
|
*/
|
|
35
|
-
export declare const PresetFileUpload:
|
|
35
|
+
export declare const PresetFileUpload: {
|
|
36
|
+
({ ref, ...props }: PresetFileUploadProps & {
|
|
37
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
38
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
39
|
+
displayName: string;
|
|
40
|
+
};
|
|
@@ -21,4 +21,9 @@ export interface PresetInputProps extends Omit<React.InputHTMLAttributes<HTMLInp
|
|
|
21
21
|
/**
|
|
22
22
|
* Input with semantic variant/size API. Wraps BaseInput.
|
|
23
23
|
*/
|
|
24
|
-
export declare const PresetInput:
|
|
24
|
+
export declare const PresetInput: {
|
|
25
|
+
({ ref, ...props }: PresetInputProps & {
|
|
26
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
27
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
28
|
+
displayName: string;
|
|
29
|
+
};
|
|
@@ -18,4 +18,9 @@ export interface PresetLinkProps {
|
|
|
18
18
|
* Link with semantic variant/size API. Wraps BaseLink.
|
|
19
19
|
* Navigation element with consistent styling and icon support.
|
|
20
20
|
*/
|
|
21
|
-
export declare const PresetLink:
|
|
21
|
+
export declare const PresetLink: {
|
|
22
|
+
({ ref, ...props }: PresetLinkProps & {
|
|
23
|
+
ref?: React.Ref<HTMLAnchorElement>;
|
|
24
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
displayName: string;
|
|
26
|
+
};
|
|
@@ -38,4 +38,9 @@ export interface PresetMaskedInputProps {
|
|
|
38
38
|
* MaskedInput with imask integration, variant styling, size scale.
|
|
39
39
|
* Re-exports MaskConfig, MaskPresetName, and MaskPresets.
|
|
40
40
|
*/
|
|
41
|
-
export declare const PresetMaskedInput:
|
|
41
|
+
export declare const PresetMaskedInput: {
|
|
42
|
+
({ ref, ...props }: PresetMaskedInputProps & {
|
|
43
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
44
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
45
|
+
displayName: string;
|
|
46
|
+
};
|
|
@@ -7,7 +7,12 @@ export interface PresetMenuProps {
|
|
|
7
7
|
/**
|
|
8
8
|
* Menu container with semantic size API. Wraps BaseMenu.
|
|
9
9
|
*/
|
|
10
|
-
export declare const PresetMenu:
|
|
10
|
+
export declare const PresetMenu: {
|
|
11
|
+
({ ref, size, children, ...rest }: PresetMenuProps & Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style"> & {
|
|
12
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
13
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
14
|
+
displayName: string;
|
|
15
|
+
};
|
|
11
16
|
export interface PresetMenuGroupProps {
|
|
12
17
|
label?: string;
|
|
13
18
|
open?: boolean;
|
|
@@ -26,7 +31,12 @@ export interface PresetMenuItemProps {
|
|
|
26
31
|
icon?: React.ReactNode;
|
|
27
32
|
children: React.ReactNode;
|
|
28
33
|
}
|
|
29
|
-
export declare const PresetMenuItem:
|
|
34
|
+
export declare const PresetMenuItem: {
|
|
35
|
+
({ ref, disabled, active, as, icon, children, ...rest }: PresetMenuItemProps & Omit<React.HTMLAttributes<HTMLElement>, "className" | "style"> & {
|
|
36
|
+
ref?: React.Ref<HTMLElement>;
|
|
37
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
38
|
+
displayName: string;
|
|
39
|
+
};
|
|
30
40
|
export declare function PresetMenuDivider(): import("react/jsx-runtime").JSX.Element;
|
|
31
41
|
export declare namespace PresetMenuDivider {
|
|
32
42
|
var displayName: string;
|
|
@@ -23,4 +23,9 @@ export interface PresetNumberInputProps {
|
|
|
23
23
|
/**
|
|
24
24
|
* NumberInput with increment/decrement buttons, variant styling, size scale.
|
|
25
25
|
*/
|
|
26
|
-
export declare const PresetNumberInput:
|
|
26
|
+
export declare const PresetNumberInput: {
|
|
27
|
+
({ ref, ...props }: PresetNumberInputProps & {
|
|
28
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
29
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
30
|
+
displayName: string;
|
|
31
|
+
};
|
|
@@ -18,4 +18,9 @@ export interface PresetRadioProps {
|
|
|
18
18
|
/**
|
|
19
19
|
* Radio with semantic variant/size API. Wraps BaseRadio.
|
|
20
20
|
*/
|
|
21
|
-
export declare const PresetRadio:
|
|
21
|
+
export declare const PresetRadio: {
|
|
22
|
+
({ ref, ...props }: PresetRadioProps & {
|
|
23
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
24
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
displayName: string;
|
|
26
|
+
};
|
|
@@ -27,4 +27,9 @@ export interface PresetRangeSliderProps {
|
|
|
27
27
|
/**
|
|
28
28
|
* RangeSlider with dual thumbs, semantic size API. Wraps BaseRangeSlider.
|
|
29
29
|
*/
|
|
30
|
-
export declare const PresetRangeSlider:
|
|
30
|
+
export declare const PresetRangeSlider: {
|
|
31
|
+
({ ref, ...props }: PresetRangeSliderProps & {
|
|
32
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
33
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
34
|
+
displayName: string;
|
|
35
|
+
};
|
|
@@ -16,4 +16,9 @@ export interface PresetRatingProps {
|
|
|
16
16
|
/**
|
|
17
17
|
* Rating with semantic size API. Wraps BaseRating.
|
|
18
18
|
*/
|
|
19
|
-
export declare const PresetRating:
|
|
19
|
+
export declare const PresetRating: {
|
|
20
|
+
({ ref, size, readOnly, disabled, children, ...rest }: PresetRatingProps & Omit<React.HTMLAttributes<HTMLDivElement>, "className" | "style"> & {
|
|
21
|
+
ref?: React.Ref<HTMLDivElement>;
|
|
22
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
23
|
+
displayName: string;
|
|
24
|
+
};
|
|
@@ -22,4 +22,9 @@ export interface PresetTextareaProps extends Omit<React.TextareaHTMLAttributes<H
|
|
|
22
22
|
/**
|
|
23
23
|
* Textarea with semantic variant/size API. Wraps BaseTextarea.
|
|
24
24
|
*/
|
|
25
|
-
export declare const PresetTextarea:
|
|
25
|
+
export declare const PresetTextarea: {
|
|
26
|
+
({ ref, ...props }: PresetTextareaProps & {
|
|
27
|
+
ref?: React.Ref<HTMLTextAreaElement>;
|
|
28
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
29
|
+
displayName: string;
|
|
30
|
+
};
|
|
@@ -24,4 +24,9 @@ export interface PresetTimePickerProps {
|
|
|
24
24
|
/**
|
|
25
25
|
* TimePicker with scrollable time options, variant styling, and size scale.
|
|
26
26
|
*/
|
|
27
|
-
export declare const PresetTimePicker:
|
|
27
|
+
export declare const PresetTimePicker: {
|
|
28
|
+
({ ref, ...props }: PresetTimePickerProps & {
|
|
29
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
30
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
31
|
+
displayName: string;
|
|
32
|
+
};
|
|
@@ -18,4 +18,9 @@ export interface PresetToggleProps {
|
|
|
18
18
|
/**
|
|
19
19
|
* Toggle/Switch with semantic variant/size API. Wraps BaseToggle.
|
|
20
20
|
*/
|
|
21
|
-
export declare const PresetToggle:
|
|
21
|
+
export declare const PresetToggle: {
|
|
22
|
+
({ ref, ...props }: PresetToggleProps & {
|
|
23
|
+
ref?: React.Ref<HTMLInputElement>;
|
|
24
|
+
}): import("react/jsx-runtime").JSX.Element;
|
|
25
|
+
displayName: string;
|
|
26
|
+
};
|