@justanarthur/modo-ui 2.0.0 → 2.2.0
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/blocks/desktop-shell/index.tsx +2 -1
- package/components/data-display/sparkline/examples.mdx +79 -0
- package/components/data-display/sparkline/index.tsx +158 -0
- package/components/data-display/sparkline/live-demo.tsx +36 -0
- package/components/feedback/meter/examples.mdx +25 -0
- package/components/feedback/meter/index.tsx +23 -7
- package/components/feedback/meter/timer-demo.tsx +37 -0
- package/components/inputs/checkbox/index.tsx +5 -0
- package/components/inputs/combobox/index.tsx +9 -4
- package/components/inputs/radio/index.tsx +5 -0
- package/components/inputs/select/index.tsx +23 -3
- package/components/inputs/slider/comfortable.tsx +10 -4
- package/components/inputs/slider/compact.tsx +153 -71
- package/components/inputs/slider/examples.mdx +24 -0
- package/components/inputs/slider/geometry.ts +18 -6
- package/components/inputs/slider/index.tsx +30 -8
- package/components/inputs/slider/value-display.tsx +16 -9
- package/components/inputs/switch/index.tsx +7 -2
- package/components/inputs/textarea/examples.mdx +19 -0
- package/components/inputs/textarea/index.tsx +42 -5
- package/components/navigation/sidebar/sidebar-group.tsx +2 -1
- package/components/navigation/sidebar/sidebar-menu-sub.tsx +2 -1
- package/components/navigation/sidebar/sidebar-shell.tsx +2 -1
- package/components/navigation/tree/index.tsx +2 -1
- package/components/overlays/dropdown/index.tsx +50 -8
- package/components/overlays/dropdown/submenu.tsx +41 -10
- package/components/overlays/tooltip/examples.mdx +13 -0
- package/components/overlays/tooltip/index.tsx +58 -16
- package/dist/base.css +4 -0
- package/dist/blocks/desktop-shell/index.js +28 -27
- package/dist/blocks/sidebar-app/index.js +38 -37
- package/dist/components/actions/button/index.js +4 -4
- package/dist/components/actions/copy/index.js +12 -12
- package/dist/components/containers/accordion/index.d.ts +1 -1
- package/dist/components/containers/accordion/index.js +16 -16
- package/dist/components/containers/card/index.js +14 -14
- package/dist/components/data-display/avatar/index.js +3 -3
- package/dist/components/data-display/badge/index.js +2 -2
- package/dist/components/data-display/diff/index.js +4 -4
- package/dist/components/data-display/list/index.js +3 -3
- package/dist/components/data-display/log-view/index.js +8 -8
- package/dist/components/data-display/markdown/index.js +15 -15
- package/dist/components/data-display/sparkline/index.d.ts +44 -0
- package/dist/components/data-display/sparkline/index.js +11 -0
- package/dist/components/data-display/table/index.js +9 -9
- package/dist/components/feedback/empty-state/index.js +3 -3
- package/dist/components/feedback/meter/index.d.ts +9 -1
- package/dist/components/feedback/meter/index.js +2 -2
- package/dist/components/feedback/progress/index.js +2 -2
- package/dist/components/inputs/checkbox/index.d.ts +2 -0
- package/dist/components/inputs/checkbox/index.js +13 -13
- package/dist/components/inputs/choice-list/index.js +10 -10
- package/dist/components/inputs/color-picker/index.js +22 -22
- package/dist/components/inputs/combobox/index.d.ts +1 -1
- package/dist/components/inputs/combobox/index.js +21 -21
- package/dist/components/inputs/date-time/calendar/index.js +9 -9
- package/dist/components/inputs/date-time/date-picker/index.js +28 -28
- package/dist/components/inputs/date-time/date-range-picker/index.js +28 -28
- package/dist/components/inputs/date-time/duration-picker/index.js +27 -27
- package/dist/components/inputs/date-time/month-picker/index.js +26 -26
- package/dist/components/inputs/date-time/time-picker/index.js +27 -27
- package/dist/components/inputs/editable-text/index.js +2 -2
- package/dist/components/inputs/field/index.js +5 -5
- package/dist/components/inputs/file-dropzone/index.js +8 -8
- package/dist/components/inputs/input/index.js +6 -6
- package/dist/components/inputs/key-value/index.js +12 -12
- package/dist/components/inputs/number-input/index.js +7 -7
- package/dist/components/inputs/radio/index.d.ts +2 -0
- package/dist/components/inputs/radio/index.js +12 -12
- package/dist/components/inputs/search/index.js +23 -23
- package/dist/components/inputs/select/index.d.ts +22 -4
- package/dist/components/inputs/select/index.js +22 -22
- package/dist/components/inputs/slider/index.d.ts +12 -3
- package/dist/components/inputs/slider/index.js +4 -4
- package/dist/components/inputs/switch/index.d.ts +2 -0
- package/dist/components/inputs/switch/index.js +9 -9
- package/dist/components/inputs/textarea/index.d.ts +8 -1
- package/dist/components/inputs/textarea/index.js +4 -4
- package/dist/components/navigation/breadcrumb/index.js +25 -25
- package/dist/components/navigation/navigation-menu/index.js +17 -17
- package/dist/components/navigation/pagination/index.js +16 -16
- package/dist/components/navigation/sidebar/index.js +26 -25
- package/dist/components/navigation/tabs/index.js +13 -13
- package/dist/components/navigation/tree/index.js +10 -9
- package/dist/components/overlays/alert-dialog/index.d.ts +3 -3
- package/dist/components/overlays/alert-dialog/index.js +15 -15
- package/dist/components/overlays/command/index.d.ts +1 -1
- package/dist/components/overlays/command/index.js +21 -21
- package/dist/components/overlays/context-menu/index.d.ts +20 -1
- package/dist/components/overlays/context-menu/index.js +25 -25
- package/dist/components/overlays/dialog/index.d.ts +3 -3
- package/dist/components/overlays/dialog/index.js +14 -14
- package/dist/components/overlays/dropdown/index.d.ts +30 -8
- package/dist/components/overlays/dropdown/index.js +24 -24
- package/dist/components/overlays/lightbox/index.js +12 -12
- package/dist/components/overlays/popover/index.d.ts +6 -6
- package/dist/components/overlays/popover/index.js +11 -11
- package/dist/components/overlays/preview-card/index.js +10 -10
- package/dist/components/overlays/sheet/index.d.ts +3 -3
- package/dist/components/overlays/sheet/index.js +15 -15
- package/dist/components/overlays/toast/index.d.ts +1 -1
- package/dist/components/overlays/toast/index.js +11 -11
- package/dist/components/overlays/tooltip/index.d.ts +35 -10
- package/dist/components/overlays/tooltip/index.js +8 -8
- package/dist/docs/index.js +18 -17
- package/dist/index.d.ts +330 -228
- package/dist/index.js +82 -77
- package/dist/lib/fluid-hover-highlight.js +4 -4
- package/dist/lib/focus-ring.js +2 -2
- package/dist/lib/goo-indicator.js +3 -3
- package/dist/lib/inert.d.ts +7 -0
- package/dist/lib/inert.js +6 -0
- package/dist/lib/morph-layers.js +4 -4
- package/dist/lib/morph-part.js +2 -2
- package/dist/lib/overlay.d.ts +20 -13
- package/dist/lib/overlay.js +5 -4
- package/dist/lib/popup-rows.js +2 -2
- package/dist/lib/popup-surface.js +7 -7
- package/dist/lib/scroll-column.js +6 -6
- package/dist/lib/slot.d.ts +5 -2
- package/dist/lib/slot.js +1 -1
- package/dist/lib/use-merge-split.js +4 -4
- package/dist/lib/use-morph.js +2 -2
- package/dist/preset.d.ts +1 -0
- package/dist/preset.js +1 -0
- package/dist/primitives/content/code/index.js +3 -3
- package/dist/primitives/layout/resizable/index.js +2 -2
- package/dist/primitives/layout/sortable/index.js +5 -5
- package/dist/primitives/systems/craft/index.js +3 -3
- package/dist/primitives/systems/fluid-hover/index.js +6 -6
- package/dist/primitives/systems/morph/index.js +14 -14
- package/dist/primitives/systems/motion/index.js +7 -7
- package/dist/primitives/systems/sizes/index.js +2 -2
- package/dist/shared/{components-280grw6q.js → components-09n5hgmx.js} +2 -2
- package/dist/shared/{components-1f3a7gmg.js → components-151vndgm.js} +3 -3
- package/dist/shared/{components-14wzcym0.js → components-16wx5av1.js} +6 -6
- package/dist/shared/{components-yf2gtq68.js → components-19e2wpxc.js} +9 -6
- package/dist/shared/{components-rzy6h7s4.js → components-1nqp7wqr.js} +1 -1
- package/dist/shared/components-2myjk2zf.js +8 -0
- package/dist/shared/{components-9rebr89j.js → components-2q0m4mxf.js} +2 -2
- package/dist/shared/{components-1asw2ph0.js → components-2zr49v82.js} +3 -3
- package/dist/shared/{components-wq9hrera.js → components-313rmbxy.js} +2 -2
- package/dist/shared/{components-0h2mng6m.js → components-31pkxwfz.js} +1 -1
- package/dist/shared/{components-w2at9ntm.js → components-3cvwrzc1.js} +3 -3
- package/dist/shared/{components-n0gbyp5a.js → components-4xd21p2p.js} +6 -6
- package/dist/shared/{components-t0c1rw40.js → components-7v6869ga.js} +1 -1
- package/dist/shared/{components-kwxye0an.js → components-7wjkag2j.js} +4 -2
- package/dist/shared/{components-fqsgd07c.js → components-85dz3xx3.js} +4 -4
- package/dist/shared/{components-3rvrdsa9.js → components-8qkd3659.js} +1 -1
- package/dist/shared/{components-me742146.js → components-8qwbwtv9.js} +5 -5
- package/dist/shared/{components-nxqrw789.js → components-90sfqz5t.js} +1 -1
- package/dist/shared/{components-b9bj65j3.js → components-90y8qwxv.js} +9 -9
- package/dist/shared/{components-g35n8tzm.js → components-95kp19zn.js} +1 -1
- package/dist/shared/{components-nhmgr5xc.js → components-9e5fpy3v.js} +14 -11
- package/dist/shared/{components-a1ms36qq.js → components-9hysh6d3.js} +1 -1
- package/dist/shared/{components-hcftn5r8.js → components-9s9vb2w0.js} +7 -4
- package/dist/shared/{components-vfreweq3.js → components-a3edrqpb.js} +3 -3
- package/dist/shared/{components-ee09xmkh.js → components-afj2ajea.js} +8 -5
- package/dist/shared/{components-ev0ytbqb.js → components-ajgwbabq.js} +4 -4
- package/dist/shared/{components-62510420.js → components-dr5c27yd.js} +6 -6
- package/dist/shared/{components-s90v3jpr.js → components-fqdh9ysk.js} +68 -19
- package/dist/shared/{components-2m2hg11x.js → components-gfw4zk8b.js} +8 -8
- package/dist/shared/{components-z0kz9rxj.js → components-gvwxswpr.js} +1 -1
- package/dist/shared/{components-p32aqk3q.js → components-h9se5cz5.js} +110 -73
- package/dist/shared/{components-464zs8v6.js → components-hbqyf35a.js} +41 -34
- package/dist/shared/{components-77gxngmc.js → components-jd21f3mb.js} +8 -8
- package/dist/shared/{components-xnkc892z.js → components-mamtvenk.js} +2 -2
- package/dist/shared/{components-1hga6pkn.js → components-mcnyaaep.js} +3 -3
- package/dist/shared/{components-h0x2pj2y.js → components-mpx3yq5c.js} +24 -10
- package/dist/shared/{components-j79a6jqa.js → components-nc8wggew.js} +3 -3
- package/dist/shared/{components-r5q9gdh4.js → components-nd3f803g.js} +7 -7
- package/dist/shared/{components-9ca0c92a.js → components-nehs80xd.js} +1 -1
- package/dist/shared/components-nw2k1pg9.js +98 -0
- package/dist/shared/{components-4t2cjav8.js → components-pgs3p035.js} +1 -1
- package/dist/shared/{components-91mmbrw3.js → components-ppc2dmxs.js} +2 -2
- package/dist/shared/{components-b2kjsn1s.js → components-qc1fae2s.js} +6 -6
- package/dist/shared/{components-fmyvz4r2.js → components-qd27dvgj.js} +6 -6
- package/dist/shared/{components-9z7bq8gn.js → components-qe8yp3vf.js} +3 -3
- package/dist/shared/{components-wx1dcp2n.js → components-qhk2m7fj.js} +2 -2
- package/dist/shared/{components-a1mwqxsv.js → components-qkt4h7x4.js} +8 -8
- package/dist/shared/{components-6rtawx8y.js → components-qs0cwe8p.js} +10 -10
- package/dist/shared/{components-y8m64zdw.js → components-r6ejdtpr.js} +3 -3
- package/dist/shared/{components-1bnf96sr.js → components-rj4nnqkz.js} +39 -11
- package/dist/shared/{components-gd8gmr6w.js → components-rmhdr4g1.js} +1 -1
- package/dist/shared/{components-e7zxwja1.js → components-rts2mggt.js} +1 -1
- package/dist/shared/{components-ta4e10mx.js → components-s25rehbv.js} +1 -1
- package/dist/shared/{components-chda6b23.js → components-sxstx1x7.js} +33 -4
- package/dist/shared/{components-b7p1pjcm.js → components-t4eb37vd.js} +2 -2
- package/dist/shared/{components-7xc2dne4.js → components-v3c3madd.js} +2 -2
- package/dist/shared/{components-22h8dvt1.js → components-v81eejq6.js} +3 -3
- package/dist/shared/{components-w1ysefg1.js → components-veaxns17.js} +2 -2
- package/dist/shared/{components-czvraaw9.js → components-vkrp4nb9.js} +4 -4
- package/dist/shared/{components-gsstwhtv.js → components-vv420geb.js} +6 -3
- package/dist/shared/{components-5xs8pkkj.js → components-w5p7mfb4.js} +1 -1
- package/dist/shared/{components-rgng034x.js → components-xvf8jcza.js} +25 -4
- package/dist/shared/{components-q7zk70tx.js → components-y07de1qv.js} +1 -1
- package/dist/shared/{components-0cpte6s1.js → components-yn8bw8tv.js} +11 -10
- package/dist/shared/{components-xa9fvd5b.js → components-z9gc2weg.js} +3 -3
- package/dist/shared/{components-twyj2y8c.js → components-zk1tj5za.js} +3 -3
- package/dist/shared/{components-hz6armxa.js → components-zktkxnzq.js} +7 -4
- package/dist/styles.css +10 -1
- package/dist/tailwind.css +1 -0
- package/dist/tokens.css +4 -0
- package/index.ts +1 -0
- package/lib/inert.ts +15 -0
- package/lib/overlay.tsx +49 -5
- package/lib/slot.tsx +9 -3
- package/package.json +7 -2
- package/tokens/colors.css +4 -0
- /package/dist/shared/{components-jw45ck66.js → components-02683eqd.js} +0 -0
- /package/dist/shared/{components-q0hs5rqn.js → components-6c52v58g.js} +0 -0
- /package/dist/shared/{components-y4gsk1jt.js → components-fa61vwag.js} +0 -0
- /package/dist/shared/{components-nz14rwtd.js → components-ffng9rpa.js} +0 -0
- /package/dist/shared/{components-7mj5wsv3.js → components-k9qbcmaa.js} +0 -0
- /package/dist/shared/{components-8pnvkrbw.js → components-mp7en54n.js} +0 -0
- /package/dist/shared/{components-h8v9nh5r.js → components-pbx77hzb.js} +0 -0
- /package/dist/shared/{components-c515d6xr.js → components-v1m0xjbw.js} +0 -0
- /package/dist/shared/{components-pa43g2r2.js → components-wddr0r6a.js} +0 -0
- /package/dist/shared/{components-ymq8tbq9.js → components-wqac4434.js} +0 -0
- /package/dist/shared/{components-m3vxpz2z.js → components-yy0a9b02.js} +0 -0
- /package/dist/shared/{components-92mvpt9h.js → components-zwgxvktt.js} +0 -0
package/dist/index.d.ts
CHANGED
|
@@ -833,7 +833,7 @@ declare const Copy: ForwardRefExoticComponent_tcubfn10<CopyProps & RefAttributes
|
|
|
833
833
|
import { ForwardRefExoticComponent as ForwardRefExoticComponent2, HTMLAttributes as HTMLAttributes13, ReactNode as ReactNode13, RefAttributes as RefAttributes2 } from "react";
|
|
834
834
|
import { ButtonHTMLAttributes as ButtonHTMLAttributes4, ReactElement as ReactElement6, ReactNode as ReactNode10 } from "react";
|
|
835
835
|
interface SlotProps extends ButtonHTMLAttributes4<HTMLButtonElement> {
|
|
836
|
-
/** The element that becomes the control, e.g. a Button. */
|
|
836
|
+
/** The element that becomes the control, e.g. a Button. `children` fill it when it has none of its own. */
|
|
837
837
|
render?: ReactElement6;
|
|
838
838
|
/** Compose onto the single child instead. Defaults to `false`. */
|
|
839
839
|
asChild?: boolean;
|
|
@@ -1576,6 +1576,48 @@ interface MarkdownProps {
|
|
|
1576
1576
|
declare const Markdown: (({ children, streaming, className }: MarkdownProps) => Element_12xgc13) & {
|
|
1577
1577
|
Prose: typeof MarkdownProse;
|
|
1578
1578
|
};
|
|
1579
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn19 } from "react";
|
|
1580
|
+
import { RefAttributes as RefAttributes_miuf5619 } from "react";
|
|
1581
|
+
type SparklineTone = "current" | "muted" | "info" | "success" | "warning" | "error";
|
|
1582
|
+
interface SparklineProps {
|
|
1583
|
+
/** The series, oldest first. Its points span the full width however many there are. */
|
|
1584
|
+
values: number[];
|
|
1585
|
+
/** A second series drawn under the first on the same scale, such as network out beside network in. */
|
|
1586
|
+
secondary?: number[];
|
|
1587
|
+
/** The value at the top edge. Defaults to the largest value of both series. */
|
|
1588
|
+
max?: number;
|
|
1589
|
+
/** What the line shows, read by screen readers as its name: say the latest value in it. */
|
|
1590
|
+
label: string;
|
|
1591
|
+
/** The first series' color: the surrounding text color, or a status hue. Defaults to `'current'`. */
|
|
1592
|
+
tone?: SparklineTone;
|
|
1593
|
+
/** The second series' color. Defaults to `'muted'`. */
|
|
1594
|
+
secondaryTone?: SparklineTone;
|
|
1595
|
+
/** Fills under each line with a 16% wash of its color. Defaults to `false`. */
|
|
1596
|
+
area?: boolean;
|
|
1597
|
+
/** Pins the height to one step of the size ladder (24px default, 20px compact). Defaults to the surrounding SizeProvider. */
|
|
1598
|
+
size?: SizeVariant;
|
|
1599
|
+
/** Classes for the SVG: a width (it fills its container by default), a text color. */
|
|
1600
|
+
className?: string;
|
|
1601
|
+
}
|
|
1602
|
+
/**
|
|
1603
|
+
* A small inline trend line for a series of numbers: CPU, memory, network
|
|
1604
|
+
* traffic, request rates.
|
|
1605
|
+
*
|
|
1606
|
+
* The points present always stretch across the full width, so a short
|
|
1607
|
+
* history reads as a whole line rather than a stub at one end, and the
|
|
1608
|
+
* line keeps its stroke whatever box it gets. The scale runs from 0 to
|
|
1609
|
+
* `max`, or to the largest value when there is none. A `secondary` series
|
|
1610
|
+
* shares the scale in its own tone, and `area` washes under each line.
|
|
1611
|
+
* Until a series has two points it shows a flat baseline.
|
|
1612
|
+
*
|
|
1613
|
+
* It draws in the first render with nothing to measure, so it renders on
|
|
1614
|
+
* the server, and a new point simply redraws the path: nothing animates,
|
|
1615
|
+
* so a line fed every second costs no frames in between. Its `label` is
|
|
1616
|
+
* its accessible name.
|
|
1617
|
+
*
|
|
1618
|
+
* @example {@include ./examples.mdx}
|
|
1619
|
+
*/
|
|
1620
|
+
declare const Sparkline: ForwardRefExoticComponent_tcubfn19<SparklineProps & RefAttributes_miuf5619<SVGSVGElement>>;
|
|
1579
1621
|
import { ForwardRefExoticComponent as ForwardRefExoticComponent6, HTMLAttributes as HTMLAttributes19, ReactNode as ReactNode22, RefAttributes as RefAttributes6 } from "react";
|
|
1580
1622
|
type SortDirection = "asc" | "desc";
|
|
1581
1623
|
/** The column a table is sorted by: a `Table.Head`'s `value` and the direction. */
|
|
@@ -1584,43 +1626,43 @@ interface TableSort {
|
|
|
1584
1626
|
direction: SortDirection;
|
|
1585
1627
|
}
|
|
1586
1628
|
import { ThHTMLAttributes } from "react";
|
|
1587
|
-
import { ForwardRefExoticComponent as
|
|
1588
|
-
import { RefAttributes as
|
|
1629
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn20 } from "react";
|
|
1630
|
+
import { RefAttributes as RefAttributes_miuf5620 } from "react";
|
|
1589
1631
|
interface TableHeadProps extends ThHTMLAttributes<HTMLTableCellElement> {
|
|
1590
1632
|
/** The column's key in the table's `sort`. Giving one makes the head a sort button. */
|
|
1591
1633
|
value?: string;
|
|
1592
1634
|
}
|
|
1593
|
-
declare const TableHead:
|
|
1635
|
+
declare const TableHead: ForwardRefExoticComponent_tcubfn20<TableHeadProps & RefAttributes_miuf5620<HTMLTableCellElement>>;
|
|
1594
1636
|
import { HTMLAttributes as HTMLAttributes18, ReactNode as ReactNode21, TdHTMLAttributes } from "react";
|
|
1595
|
-
import { ForwardRefExoticComponent as
|
|
1596
|
-
import { RefAttributes as
|
|
1637
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn21 } from "react";
|
|
1638
|
+
import { RefAttributes as RefAttributes_miuf5621 } from "react";
|
|
1597
1639
|
interface TableHeaderProps extends HTMLAttributes18<HTMLTableSectionElement> {
|
|
1598
1640
|
/** `false` keeps the header showing while a `stacked` table lays its rows out as cards. Defaults to the table's `stacked`. */
|
|
1599
1641
|
stacked?: boolean;
|
|
1600
1642
|
}
|
|
1601
|
-
declare const TableHeader:
|
|
1602
|
-
declare const TableBody:
|
|
1603
|
-
declare const TableFooter:
|
|
1604
|
-
declare const TableCaption:
|
|
1643
|
+
declare const TableHeader: ForwardRefExoticComponent_tcubfn21<TableHeaderProps & RefAttributes_miuf5621<HTMLTableSectionElement>>;
|
|
1644
|
+
declare const TableBody: ForwardRefExoticComponent_tcubfn21<HTMLAttributes18<HTMLTableSectionElement> & RefAttributes_miuf5621<HTMLTableSectionElement>>;
|
|
1645
|
+
declare const TableFooter: ForwardRefExoticComponent_tcubfn21<HTMLAttributes18<HTMLTableSectionElement> & RefAttributes_miuf5621<HTMLTableSectionElement>>;
|
|
1646
|
+
declare const TableCaption: ForwardRefExoticComponent_tcubfn21<HTMLAttributes18<HTMLTableCaptionElement> & RefAttributes_miuf5621<HTMLTableCaptionElement>>;
|
|
1605
1647
|
interface TableRowProps extends HTMLAttributes18<HTMLTableRowElement> {
|
|
1606
1648
|
/** The row's place in the hover order, from 0. Defaults to its place among the body rows in document order; header and footer rows have none. */
|
|
1607
1649
|
index?: number;
|
|
1608
1650
|
/** `false` keeps this row tabular while a `stacked` table lays its rows out as cards. Defaults to the table's `stacked`. */
|
|
1609
1651
|
stacked?: boolean;
|
|
1610
1652
|
}
|
|
1611
|
-
declare const TableRow:
|
|
1653
|
+
declare const TableRow: ForwardRefExoticComponent_tcubfn21<TableRowProps & RefAttributes_miuf5621<HTMLTableRowElement>>;
|
|
1612
1654
|
interface TableCellProps extends TdHTMLAttributes<HTMLTableCellElement> {
|
|
1613
1655
|
/** The column's name, shown above the value while a `stacked` table lays its rows out as cards. */
|
|
1614
1656
|
label?: ReactNode21;
|
|
1615
1657
|
}
|
|
1616
|
-
declare const TableCell:
|
|
1658
|
+
declare const TableCell: ForwardRefExoticComponent_tcubfn21<TableCellProps & RefAttributes_miuf5621<HTMLTableCellElement>>;
|
|
1617
1659
|
interface TableEmptyProps extends HTMLAttributes18<HTMLTableRowElement> {
|
|
1618
1660
|
/** Columns the row spans: the table's column count. */
|
|
1619
1661
|
colSpan: number;
|
|
1620
1662
|
/** What to say, or a loading indicator. */
|
|
1621
1663
|
children?: ReactNode21;
|
|
1622
1664
|
}
|
|
1623
|
-
declare const TableEmpty:
|
|
1665
|
+
declare const TableEmpty: ForwardRefExoticComponent_tcubfn21<TableEmptyProps & RefAttributes_miuf5621<HTMLTableRowElement>>;
|
|
1624
1666
|
interface TableProps extends HTMLAttributes19<HTMLTableElement> {
|
|
1625
1667
|
/** `Table.Header`, `Table.Body`, `Table.Footer` and `Table.Caption` children. */
|
|
1626
1668
|
children: ReactNode22;
|
|
@@ -1721,8 +1763,8 @@ type Element_12xgc14 = JSX_1kxb14["Element"];
|
|
|
1721
1763
|
*/
|
|
1722
1764
|
declare function EmptyState({ icon: Icon, title, description, actions, size: sizeProp, className }: EmptyStateProps): Element_12xgc14;
|
|
1723
1765
|
import { ReactNode as ReactNode24 } from "react";
|
|
1724
|
-
import { ForwardRefExoticComponent as
|
|
1725
|
-
import { RefAttributes as
|
|
1766
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn22 } from "react";
|
|
1767
|
+
import { RefAttributes as RefAttributes_miuf5622 } from "react";
|
|
1726
1768
|
type MeterTone = "default" | "warning" | "error";
|
|
1727
1769
|
interface MeterProps {
|
|
1728
1770
|
/** The used amount, between 0 and `max`. */
|
|
@@ -1743,9 +1785,13 @@ interface MeterProps {
|
|
|
1743
1785
|
tone?: MeterTone;
|
|
1744
1786
|
/** A share between 0 and 1 where a thin tick crosses the bar or the line: where an even spend would be by now, a soft limit. The ring ignores it. */
|
|
1745
1787
|
marker?: number;
|
|
1788
|
+
/** Springs the fill to a new value. Turn it off for a value that advances on a clock (a countdown ticking every second), so the fill steps instead of repainting between ticks. Defaults to `true`. */
|
|
1789
|
+
animate?: boolean;
|
|
1790
|
+
/** Content centred in the ring, such as a countdown's `04:59`; a string is also what screen readers hear as the value. The bar and the line ignore it. */
|
|
1791
|
+
children?: ReactNode24;
|
|
1746
1792
|
/** Pins the meter to one step of the size ladder (36px default, 28px compact). Defaults to the surrounding SizeProvider. */
|
|
1747
1793
|
size?: SizeVariant;
|
|
1748
|
-
/** Classes for the root. */
|
|
1794
|
+
/** Classes for the root; on the ring a size class (`size-16`) scales it past the inline glyph. */
|
|
1749
1795
|
className?: string;
|
|
1750
1796
|
}
|
|
1751
1797
|
/**
|
|
@@ -1763,9 +1809,13 @@ interface MeterProps {
|
|
|
1763
1809
|
* A `marker` draws a tick across the bar or the line at a share, such as
|
|
1764
1810
|
* where an even spend would be by now, so the fill reads against time.
|
|
1765
1811
|
*
|
|
1812
|
+
* The ring also serves timers and countdowns: a size class scales it, its
|
|
1813
|
+
* children sit in its centre, and `animate={false}` lets a value that ticks
|
|
1814
|
+
* every second step without a spring between ticks.
|
|
1815
|
+
*
|
|
1766
1816
|
* @example {@include ./examples.mdx}
|
|
1767
1817
|
*/
|
|
1768
|
-
declare const Meter:
|
|
1818
|
+
declare const Meter: ForwardRefExoticComponent_tcubfn22<MeterProps & RefAttributes_miuf5622<HTMLDivElement>>;
|
|
1769
1819
|
import { ComponentPropsWithoutRef as ComponentPropsWithoutRef3, ForwardRefExoticComponent as ForwardRefExoticComponent7, ReactNode as ReactNode25, RefAttributes as RefAttributes7 } from "react";
|
|
1770
1820
|
interface SpinnerProps extends Omit<ComponentPropsWithoutRef3<"span">, "children"> {
|
|
1771
1821
|
/** Pins the spinner to one step of the size ladder: one control tall (36px default, 28px compact), like a loading Button's. Defaults to the surrounding SizeProvider. */
|
|
@@ -1884,6 +1934,8 @@ interface CheckboxProps extends HTMLAttributes20<HTMLDivElement> {
|
|
|
1884
1934
|
disabled?: boolean;
|
|
1885
1935
|
/** Submits the checkbox under this name in a form, while checked. */
|
|
1886
1936
|
name?: string;
|
|
1937
|
+
/** Must be checked before its form submits: the browser's validation (and an enclosing Field's) reports it missing. Defaults to `false`. */
|
|
1938
|
+
required?: boolean;
|
|
1887
1939
|
/** The value submitted while checked. Defaults to `"on"`. */
|
|
1888
1940
|
value?: string;
|
|
1889
1941
|
/** Pins the checkbox to one step of the size ladder (see Sizes). Defaults to the surrounding SizeProvider (a group's `size`). */
|
|
@@ -1930,8 +1982,8 @@ type CheckboxComponent = ForwardRefExoticComponent8<CheckboxProps & RefAttribute
|
|
|
1930
1982
|
*/
|
|
1931
1983
|
declare const Checkbox: CheckboxComponent;
|
|
1932
1984
|
import { ReactNode as ReactNode27 } from "react";
|
|
1933
|
-
import { ForwardRefExoticComponent as
|
|
1934
|
-
import { RefAttributes as
|
|
1985
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn23 } from "react";
|
|
1986
|
+
import { RefAttributes as RefAttributes_miuf5623 } from "react";
|
|
1935
1987
|
interface ChoiceOption {
|
|
1936
1988
|
/** What `onValueChange` reports when the row is picked. */
|
|
1937
1989
|
value: string;
|
|
@@ -1978,7 +2030,7 @@ interface ChoiceListProps {
|
|
|
1978
2030
|
*
|
|
1979
2031
|
* @example {@include ./examples.mdx}
|
|
1980
2032
|
*/
|
|
1981
|
-
declare const ChoiceList:
|
|
2033
|
+
declare const ChoiceList: ForwardRefExoticComponent_tcubfn23<ChoiceListProps & RefAttributes_miuf5623<HTMLDivElement>>;
|
|
1982
2034
|
import { ForwardRefExoticComponent as ForwardRefExoticComponent9, HTMLAttributes as HTMLAttributes22, RefAttributes as RefAttributes9 } from "react";
|
|
1983
2035
|
import { RefObject as RefObject4 } from "react";
|
|
1984
2036
|
import { MutableRefObject as MutableRefObject_8z5kms } from "react";
|
|
@@ -2050,14 +2102,14 @@ declare function useMorph(open: boolean, origin: RefObject4<MorphOrigin>, { from
|
|
|
2050
2102
|
progress: MotionValue_d5wxmj<number>;
|
|
2051
2103
|
};
|
|
2052
2104
|
type Morph = ReturnType<typeof useMorph>;
|
|
2053
|
-
import { ForwardRefExoticComponent as
|
|
2054
|
-
import { RefAttributes as
|
|
2105
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn24 } from "react";
|
|
2106
|
+
import { RefAttributes as RefAttributes_miuf5624 } from "react";
|
|
2055
2107
|
/** ColorPicker.Popover: the panel behind a trigger showing the color, on a bordered field box. */
|
|
2056
|
-
declare const ColorPickerPopover:
|
|
2108
|
+
declare const ColorPickerPopover: ForwardRefExoticComponent_tcubfn24<ColorPickerPopoverProps & RefAttributes_miuf5624<HTMLDivElement>>;
|
|
2057
2109
|
import { CSSProperties as CSSProperties2, HTMLAttributes as HTMLAttributes21 } from "react";
|
|
2058
2110
|
import { JSX as JSX_1kxb16 } from "react";
|
|
2059
|
-
import { ForwardRefExoticComponent as
|
|
2060
|
-
import { RefAttributes as
|
|
2111
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn25 } from "react";
|
|
2112
|
+
import { RefAttributes as RefAttributes_miuf5625 } from "react";
|
|
2061
2113
|
interface ColorSwatchProps extends Omit<HTMLAttributes21<HTMLButtonElement>, "color"> {
|
|
2062
2114
|
/** The swatch color — any CSS color string. */
|
|
2063
2115
|
color: string;
|
|
@@ -2074,7 +2126,7 @@ interface ColorTileProps {
|
|
|
2074
2126
|
style?: CSSProperties2;
|
|
2075
2127
|
}
|
|
2076
2128
|
declare function ColorTile({ color, size, className, style }: ColorTileProps): Element_12xgc16;
|
|
2077
|
-
declare const ColorSwatch:
|
|
2129
|
+
declare const ColorSwatch: ForwardRefExoticComponent_tcubfn25<ColorSwatchProps & RefAttributes_miuf5625<HTMLButtonElement>>;
|
|
2078
2130
|
type ColorFormat = "hex" | "rgb" | "hsl" | "oklch";
|
|
2079
2131
|
interface ParsedColor {
|
|
2080
2132
|
h: number;
|
|
@@ -2235,8 +2287,8 @@ type ShapeVariant = "pill" | "rounded";
|
|
|
2235
2287
|
* `bordered`, so it reads as a control before it is touched.
|
|
2236
2288
|
*/
|
|
2237
2289
|
type FieldVariant = "bordered" | "borderless";
|
|
2238
|
-
import { ForwardRefExoticComponent as
|
|
2239
|
-
import { RefAttributes as
|
|
2290
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn26 } from "react";
|
|
2291
|
+
import { RefAttributes as RefAttributes_miuf5626 } from "react";
|
|
2240
2292
|
interface ComboboxFieldProps extends Omit<InputHTMLAttributes2<HTMLInputElement>, "size" | "value" | "defaultValue" | "onChange"> {
|
|
2241
2293
|
/** Framed at rest, or invisible until hovered or focused. Defaults to `"bordered"`. */
|
|
2242
2294
|
variant?: FieldVariant;
|
|
@@ -2255,10 +2307,11 @@ interface ComboboxFieldProps extends Omit<InputHTMLAttributes2<HTMLInputElement>
|
|
|
2255
2307
|
}
|
|
2256
2308
|
type ComboboxInputProps = ComboboxFieldProps;
|
|
2257
2309
|
type ComboboxChipsProps = ComboboxFieldProps;
|
|
2258
|
-
declare const ComboboxInput:
|
|
2259
|
-
declare const ComboboxChips:
|
|
2310
|
+
declare const ComboboxInput: ForwardRefExoticComponent_tcubfn26<ComboboxFieldProps & RefAttributes_miuf5626<HTMLInputElement>>;
|
|
2311
|
+
declare const ComboboxChips: ForwardRefExoticComponent_tcubfn26<ComboboxFieldProps & RefAttributes_miuf5626<HTMLInputElement>>;
|
|
2260
2312
|
import { HTMLAttributes as HTMLAttributes23, ReactNode as ReactNode30 } from "react";
|
|
2261
|
-
import {
|
|
2313
|
+
import { Popover as Popover2 } from "@base-ui/react/popover";
|
|
2314
|
+
import { ComponentProps as ComponentProps2, RefObject as RefObject6 } from "react";
|
|
2262
2315
|
type Side = "top" | "right" | "bottom" | "left";
|
|
2263
2316
|
type Align = "start" | "center" | "end";
|
|
2264
2317
|
/**
|
|
@@ -2275,6 +2328,21 @@ interface AnchorProps {
|
|
|
2275
2328
|
/** Portal target. Defaults to the nearest `PortalContainer`, else the document body. */
|
|
2276
2329
|
container?: HTMLElement | null;
|
|
2277
2330
|
}
|
|
2331
|
+
type Positioner2 = ComponentProps2<typeof Popover2.Positioner2>;
|
|
2332
|
+
/**
|
|
2333
|
+
* The finer positioning props a content may add to `AnchorProps`, forwarded
|
|
2334
|
+
* to Base UI's `Positioner` by `positionerProps`. Documented once.
|
|
2335
|
+
*/
|
|
2336
|
+
interface CollisionProps {
|
|
2337
|
+
/** Shift along the aligned edge in px, after `align`, or Base UI's function of side, align and sizes. Defaults to `0`. */
|
|
2338
|
+
alignOffset?: Positioner2["alignOffset"];
|
|
2339
|
+
/** Space kept between the panel and the edge of its collision boundary, in px or per side. Defaults to `5`. */
|
|
2340
|
+
collisionPadding?: Positioner2["collisionPadding"];
|
|
2341
|
+
/** The area the panel stays inside: an element, several, or a rect. Defaults to `'clipping-ancestors'`. */
|
|
2342
|
+
collisionBoundary?: Positioner2["collisionBoundary"];
|
|
2343
|
+
/** Classes for the positioner, the element that carries the panel's place and stacking (a `z-index` over a host's own layers). */
|
|
2344
|
+
positionerClassName?: string;
|
|
2345
|
+
}
|
|
2278
2346
|
/** What an overlay's parts read from its root. */
|
|
2279
2347
|
interface OverlayState {
|
|
2280
2348
|
open: boolean;
|
|
@@ -2285,8 +2353,8 @@ interface OpenChangeDetails {
|
|
|
2285
2353
|
trigger?: Element;
|
|
2286
2354
|
event?: Event;
|
|
2287
2355
|
}
|
|
2288
|
-
import { ForwardRefExoticComponent as
|
|
2289
|
-
import { RefAttributes as
|
|
2356
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn27 } from "react";
|
|
2357
|
+
import { RefAttributes as RefAttributes_miuf5627 } from "react";
|
|
2290
2358
|
/** What `Combobox.Content`'s `footer` gets when it is a function. */
|
|
2291
2359
|
interface ComboboxFooterContext {
|
|
2292
2360
|
/** Closes the popup. */
|
|
@@ -2304,14 +2372,14 @@ interface ComboboxContentProps extends AnchorProps, MorphProps, Omit<HTMLAttribu
|
|
|
2304
2372
|
/** Pinned under the list, past a hairline: a "Load more" or "Add new…" action. A press on a button there keeps focus in the input; Tab reaches it. A function gets `{ close, query }`. */
|
|
2305
2373
|
footer?: ComboboxFooter;
|
|
2306
2374
|
}
|
|
2307
|
-
declare const ComboboxContent:
|
|
2375
|
+
declare const ComboboxContent: ForwardRefExoticComponent_tcubfn27<ComboboxContentProps & RefAttributes_miuf5627<HTMLDivElement>>;
|
|
2308
2376
|
interface ComboboxListProps {
|
|
2309
2377
|
/** Classes for the rows' container. */
|
|
2310
2378
|
className?: string;
|
|
2311
2379
|
/** Render one row per matching item: `(item, index) => <Combobox.Item …/>`. Rows get their index from the list. */
|
|
2312
2380
|
children: (item: ComboboxItemData, index: number) => ReactNode30;
|
|
2313
2381
|
}
|
|
2314
|
-
declare const ComboboxList:
|
|
2382
|
+
declare const ComboboxList: ForwardRefExoticComponent_tcubfn27<ComboboxListProps & RefAttributes_miuf5627<HTMLDivElement>>;
|
|
2315
2383
|
interface ComboboxItemProps extends HTMLAttributes23<HTMLDivElement> {
|
|
2316
2384
|
/** Leading icon in the row. */
|
|
2317
2385
|
icon?: IconComponent;
|
|
@@ -2322,17 +2390,17 @@ interface ComboboxItemProps extends HTMLAttributes23<HTMLDivElement> {
|
|
|
2322
2390
|
/** The row label. */
|
|
2323
2391
|
children?: ReactNode30;
|
|
2324
2392
|
}
|
|
2325
|
-
declare const ComboboxItem:
|
|
2393
|
+
declare const ComboboxItem: ForwardRefExoticComponent_tcubfn27<ComboboxItemProps & RefAttributes_miuf5627<HTMLDivElement>>;
|
|
2326
2394
|
interface ComboboxEmptyProps extends HTMLAttributes23<HTMLDivElement> {
|
|
2327
2395
|
/** Shown instead of the children when `hideSelected` has emptied the list with nothing typed: every item is a chip already. */
|
|
2328
2396
|
allSelected?: ReactNode30;
|
|
2329
2397
|
/** Shown when nothing matches the query. */
|
|
2330
2398
|
children?: ReactNode30;
|
|
2331
2399
|
}
|
|
2332
|
-
declare const ComboboxEmpty:
|
|
2400
|
+
declare const ComboboxEmpty: ForwardRefExoticComponent_tcubfn27<ComboboxEmptyProps & RefAttributes_miuf5627<HTMLDivElement>>;
|
|
2333
2401
|
import { JSX as JSX_1kxb18 } from "react";
|
|
2334
|
-
import { ForwardRefExoticComponent as
|
|
2335
|
-
import { RefAttributes as
|
|
2402
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn28 } from "react";
|
|
2403
|
+
import { RefAttributes as RefAttributes_miuf5628 } from "react";
|
|
2336
2404
|
interface ComboboxProps {
|
|
2337
2405
|
/** `Combobox.Input` or `Combobox.Chips`, plus `Combobox.Content`. */
|
|
2338
2406
|
children: ReactNode31;
|
|
@@ -2356,7 +2424,7 @@ interface ComboboxProps {
|
|
|
2356
2424
|
filter?: ((item: ComboboxItemData, query: string) => boolean) | null;
|
|
2357
2425
|
/** Controlled query, the field's text. Pair with `onQueryChange`. */
|
|
2358
2426
|
query?: string;
|
|
2359
|
-
/** Initial query, for an uncontrolled field. Defaults to `""`. */
|
|
2427
|
+
/** Initial query, for an uncontrolled field. Defaults to the picked item's label in a single field, else `""`. */
|
|
2360
2428
|
defaultQuery?: string;
|
|
2361
2429
|
/** Called with the field's text on every keystroke, and when a pick, a clear or a close rewrites it; Base UI's details tell them apart (`details.reason === 'input-change'` for typing). */
|
|
2362
2430
|
onQueryChange?: (query: string, details: ComboboxRootChangeEventDetails) => void;
|
|
@@ -2431,12 +2499,12 @@ type Element_12xgc18 = JSX_1kxb18["Element"];
|
|
|
2431
2499
|
* @license MIT © 2026 Micka Touillaud
|
|
2432
2500
|
*/
|
|
2433
2501
|
declare const Combobox: (({ children, items, multiple, value, defaultValue, onValueChange, open, defaultOpen, onOpenChange, filter, query: queryProp, defaultQuery, onQueryChange, loading, loadingLabel, readOnly: readOnlyProp, onCreate, createLabel, creatable, hideSelected, disabled: disabledProp, name, required: requiredProp, labels, size }: ComboboxProps) => Element_12xgc18) & {
|
|
2434
|
-
Input:
|
|
2435
|
-
Chips:
|
|
2436
|
-
Content:
|
|
2437
|
-
List:
|
|
2438
|
-
Item:
|
|
2439
|
-
Empty:
|
|
2502
|
+
Input: ForwardRefExoticComponent_tcubfn28<ComboboxFieldProps & RefAttributes_miuf5628<HTMLInputElement>>;
|
|
2503
|
+
Chips: ForwardRefExoticComponent_tcubfn28<ComboboxFieldProps & RefAttributes_miuf5628<HTMLInputElement>>;
|
|
2504
|
+
Content: ForwardRefExoticComponent_tcubfn28<ComboboxContentProps & RefAttributes_miuf5628<HTMLDivElement>>;
|
|
2505
|
+
List: ForwardRefExoticComponent_tcubfn28<ComboboxListProps & RefAttributes_miuf5628<HTMLDivElement>>;
|
|
2506
|
+
Item: ForwardRefExoticComponent_tcubfn28<ComboboxItemProps & RefAttributes_miuf5628<HTMLDivElement>>;
|
|
2507
|
+
Empty: ForwardRefExoticComponent_tcubfn28<ComboboxEmptyProps & RefAttributes_miuf5628<HTMLDivElement>>;
|
|
2440
2508
|
};
|
|
2441
2509
|
import { Locale } from "date-fns";
|
|
2442
2510
|
import { ReactNode as ReactNode32 } from "react";
|
|
@@ -2502,8 +2570,8 @@ interface DateRangeOf<T extends DateValueType> {
|
|
|
2502
2570
|
import { HTMLAttributes as HTMLAttributes25, Ref as Ref2 } from "react";
|
|
2503
2571
|
import { ButtonHTMLAttributes as ButtonHTMLAttributes5, ForwardRefExoticComponent as ForwardRefExoticComponent10, HTMLAttributes as HTMLAttributes24, InputHTMLAttributes as InputHTMLAttributes3, ReactNode as ReactNode34, RefAttributes as RefAttributes10 } from "react";
|
|
2504
2572
|
import { LabelHTMLAttributes, ReactNode as ReactNode33 } from "react";
|
|
2505
|
-
import { ForwardRefExoticComponent as
|
|
2506
|
-
import { RefAttributes as
|
|
2573
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn29 } from "react";
|
|
2574
|
+
import { RefAttributes as RefAttributes_miuf5629 } from "react";
|
|
2507
2575
|
interface LabelProps extends Omit<LabelHTMLAttributes<HTMLLabelElement>, "children" | "className"> {
|
|
2508
2576
|
/** Label text. */
|
|
2509
2577
|
children: ReactNode33;
|
|
@@ -2532,7 +2600,7 @@ interface LabelProps extends Omit<LabelHTMLAttributes<HTMLLabelElement>, "childr
|
|
|
2532
2600
|
* @source https://github.com/mickadesign/fluid-functionalism/blob/b3587bdbd83fc66c2a6aae3817ffb856cb09260b/registry/default/input-group.tsx Fluid Functionalism
|
|
2533
2601
|
* @license MIT © 2026 Micka Touillaud
|
|
2534
2602
|
*/
|
|
2535
|
-
declare const Label2:
|
|
2603
|
+
declare const Label2: ForwardRefExoticComponent_tcubfn29<LabelProps & RefAttributes_miuf5629<HTMLLabelElement>>;
|
|
2536
2604
|
import { JSX as JSX_1kxb20 } from "react";
|
|
2537
2605
|
interface InputProps extends Omit<InputHTMLAttributes3<HTMLInputElement>, "onChange" | "value" | "defaultValue" | "size"> {
|
|
2538
2606
|
/** Placeholder text. */
|
|
@@ -3605,8 +3673,8 @@ type Element_12xgc30 = JSX_1kxb30["Element"];
|
|
|
3605
3673
|
declare function KeyValue({ value, defaultValue, onValueChange, keyPlaceholder, valuePlaceholder, addLabel, secretByDefault, variant, disabled, size: sizeProp, label, className }: KeyValueProps): Element_12xgc30;
|
|
3606
3674
|
import { NumberFieldRootChangeEventDetails } from "@base-ui/react/number-field";
|
|
3607
3675
|
import { InputHTMLAttributes as InputHTMLAttributes5, ReactNode as ReactNode44 } from "react";
|
|
3608
|
-
import { ForwardRefExoticComponent as
|
|
3609
|
-
import { RefAttributes as
|
|
3676
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn31 } from "react";
|
|
3677
|
+
import { RefAttributes as RefAttributes_miuf5631 } from "react";
|
|
3610
3678
|
type NativeInputProps = Omit<InputHTMLAttributes5<HTMLInputElement>, "value" | "defaultValue" | "onChange" | "size" | "type" | "min" | "max" | "step" | "name" | "id">;
|
|
3611
3679
|
interface NumberInputProps extends NativeInputProps {
|
|
3612
3680
|
/** Controlled value; `null` while the field is empty. Pair with `onValueChange`. */
|
|
@@ -3689,7 +3757,7 @@ interface NumberInputProps extends NativeInputProps {
|
|
|
3689
3757
|
*
|
|
3690
3758
|
* @example {@include ./examples.mdx}
|
|
3691
3759
|
*/
|
|
3692
|
-
declare const NumberInput:
|
|
3760
|
+
declare const NumberInput: ForwardRefExoticComponent_tcubfn31<NumberInputProps & RefAttributes_miuf5631<HTMLInputElement>>;
|
|
3693
3761
|
import { ForwardRefExoticComponent as ForwardRefExoticComponent13, HTMLAttributes as HTMLAttributes26, ReactNode as ReactNode45, RefAttributes as RefAttributes13 } from "react";
|
|
3694
3762
|
interface RadioGroupProps extends Omit<HTMLAttributes26<HTMLDivElement>, "onSelect" | "defaultValue"> {
|
|
3695
3763
|
/** `Radio` rows. */
|
|
@@ -3708,6 +3776,8 @@ interface RadioGroupProps extends Omit<HTMLAttributes26<HTMLDivElement>, "onSele
|
|
|
3708
3776
|
onValueChange?: (value: string) => void;
|
|
3709
3777
|
/** Submits the selected row's `value` under this name in a form (value mode). */
|
|
3710
3778
|
name?: string;
|
|
3779
|
+
/** A row must be picked before the form submits: the browser's validation (and an enclosing Field's) reports it missing. Defaults to `false`. */
|
|
3780
|
+
required?: boolean;
|
|
3711
3781
|
/** Disables every row. Defaults to `false`. */
|
|
3712
3782
|
disabled?: boolean;
|
|
3713
3783
|
/** Pins the group's rows to one step of the size ladder (default 36px, compact 28px). Defaults to the surrounding SizeProvider. */
|
|
@@ -3768,8 +3838,8 @@ declare const Radio: RadioComponent;
|
|
|
3768
3838
|
import { Autocomplete } from "@base-ui/react/autocomplete";
|
|
3769
3839
|
import { HTMLAttributes as HTMLAttributes27, ReactNode as ReactNode46 } from "react";
|
|
3770
3840
|
import { JSX as JSX_1kxb31 } from "react";
|
|
3771
|
-
import { ForwardRefExoticComponent as
|
|
3772
|
-
import { RefAttributes as
|
|
3841
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn32 } from "react";
|
|
3842
|
+
import { RefAttributes as RefAttributes_miuf5632 } from "react";
|
|
3773
3843
|
/** One command: the label the query matches, plus what the row shows and does. */
|
|
3774
3844
|
interface CommandItem {
|
|
3775
3845
|
label: string;
|
|
@@ -3811,14 +3881,14 @@ interface CommandPaletteProps {
|
|
|
3811
3881
|
className?: string;
|
|
3812
3882
|
}
|
|
3813
3883
|
declare function CommandPalette({ items, placeholder, emptyMessage, className }: CommandPaletteProps): Element_12xgc31;
|
|
3814
|
-
declare const CommandTrigger:
|
|
3884
|
+
declare const CommandTrigger: ForwardRefExoticComponent_tcubfn32<SlotProps & RefAttributes_miuf5632<HTMLButtonElement>>;
|
|
3815
3885
|
interface CommandContentProps extends CommandPaletteProps, MorphProps, Omit<HTMLAttributes27<HTMLDivElement>, "children" | "className" | "placeholder"> {
|
|
3816
3886
|
/** Accessible name of the panel. Defaults to `'Command menu'`. */
|
|
3817
3887
|
label?: string;
|
|
3818
3888
|
/** Portal target, as Dialog's: an element with `position: relative; overflow: hidden`. Defaults to the document body. */
|
|
3819
3889
|
container?: HTMLElement | null;
|
|
3820
3890
|
}
|
|
3821
|
-
declare const CommandContent:
|
|
3891
|
+
declare const CommandContent: ForwardRefExoticComponent_tcubfn32<CommandContentProps & RefAttributes_miuf5632<HTMLDivElement>>;
|
|
3822
3892
|
interface CommandProps {
|
|
3823
3893
|
/** Controlled open state. */
|
|
3824
3894
|
open?: boolean;
|
|
@@ -3864,8 +3934,8 @@ interface CommandProps {
|
|
|
3864
3934
|
* @example {@include ./examples.mdx}
|
|
3865
3935
|
*/
|
|
3866
3936
|
declare const Command: (({ open, defaultOpen, onOpenChange, hotkey, children }: CommandProps) => Element_12xgc31) & {
|
|
3867
|
-
Trigger:
|
|
3868
|
-
Content:
|
|
3937
|
+
Trigger: ForwardRefExoticComponent_tcubfn32<SlotProps & RefAttributes_miuf5632<HTMLButtonElement>>;
|
|
3938
|
+
Content: ForwardRefExoticComponent_tcubfn32<CommandContentProps & RefAttributes_miuf5632<HTMLDivElement>>;
|
|
3869
3939
|
Palette: typeof CommandPalette;
|
|
3870
3940
|
Shortcut: typeof CommandShortcut;
|
|
3871
3941
|
};
|
|
@@ -3938,9 +4008,9 @@ type Element_12xgc32 = JSX_1kxb32["Element"];
|
|
|
3938
4008
|
*/
|
|
3939
4009
|
declare function Search2({ variant, placeholder, items, value, defaultValue, onValueChange, onSubmit, expanded, defaultExpanded, onExpandedChange, width, align, shortcut, emptyMessage, effect, tier, container, size: sizeProp, className }: SearchProps): Element_12xgc32;
|
|
3940
4010
|
import { Select as SelectPrimitive } from "@base-ui/react/select";
|
|
3941
|
-
import { ComponentProps as
|
|
3942
|
-
import { ForwardRefExoticComponent as
|
|
3943
|
-
import { RefAttributes as
|
|
4011
|
+
import { ComponentProps as ComponentProps3, HTMLAttributes as HTMLAttributes28, ReactElement as ReactElement8, ReactNode as ReactNode47 } from "react";
|
|
4012
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn33 } from "react";
|
|
4013
|
+
import { RefAttributes as RefAttributes_miuf5633 } from "react";
|
|
3944
4014
|
import { JSX as JSX_1kxb33 } from "react";
|
|
3945
4015
|
/** What `onOpenChange` receives besides the open state: Base UI's Select change details. */
|
|
3946
4016
|
type SelectOpenChangeDetails = SelectPrimitive.Root.ChangeEventDetails;
|
|
@@ -3977,7 +4047,7 @@ interface SelectValueProps extends Omit<HTMLAttributes28<HTMLSpanElement>, "chil
|
|
|
3977
4047
|
className?: string;
|
|
3978
4048
|
}
|
|
3979
4049
|
/** The trigger's value slot: the picked row's label, else the muted placeholder. */
|
|
3980
|
-
declare const SelectValue:
|
|
4050
|
+
declare const SelectValue: ForwardRefExoticComponent_tcubfn33<SelectValueProps & RefAttributes_miuf5633<HTMLSpanElement>>;
|
|
3981
4051
|
interface SelectTriggerProps extends Omit<HTMLAttributes28<HTMLButtonElement>, "children"> {
|
|
3982
4052
|
/** Replaces the built-in value slot, typically with a `Select.Value`. The icon and chevron stay. With `asChild`, the element that becomes the trigger. */
|
|
3983
4053
|
children?: ReactNode47;
|
|
@@ -4000,9 +4070,9 @@ interface SelectTriggerProps extends Omit<HTMLAttributes28<HTMLButtonElement>, "
|
|
|
4000
4070
|
/** Extra classes for the div around the trigger, which holds the `error` message under it: a flex column, so `contents` takes it out of the layout. */
|
|
4001
4071
|
wrapperClassName?: string;
|
|
4002
4072
|
}
|
|
4003
|
-
declare const SelectTrigger:
|
|
4004
|
-
type SelectPopupProps =
|
|
4005
|
-
interface SelectContentProps extends AnchorProps, MorphProps, Omit<HTMLAttributes28<HTMLDivElement>, "children"> {
|
|
4073
|
+
declare const SelectTrigger: ForwardRefExoticComponent_tcubfn33<SelectTriggerProps & RefAttributes_miuf5633<HTMLButtonElement>>;
|
|
4074
|
+
type SelectPopupProps = ComponentProps3<typeof SelectPrimitive.Popup>;
|
|
4075
|
+
interface SelectContentProps extends AnchorProps, CollisionProps, MorphProps, Omit<HTMLAttributes28<HTMLDivElement>, "children"> {
|
|
4006
4076
|
/** Where focus goes when the popup closes: a ref, `false` to leave it, `true` for the default, or a function of how it closed. Defaults to the trigger. */
|
|
4007
4077
|
finalFocus?: SelectPopupProps["finalFocus"];
|
|
4008
4078
|
/** Additional classes for the menu container. */
|
|
@@ -4010,7 +4080,7 @@ interface SelectContentProps extends AnchorProps, MorphProps, Omit<HTMLAttribute
|
|
|
4010
4080
|
/** `Select.Item`, `Select.Group`, `Select.Label`, `Select.Separator`. */
|
|
4011
4081
|
children: ReactNode47;
|
|
4012
4082
|
}
|
|
4013
|
-
declare const SelectContent:
|
|
4083
|
+
declare const SelectContent: ForwardRefExoticComponent_tcubfn33<SelectContentProps & RefAttributes_miuf5633<HTMLDivElement>>;
|
|
4014
4084
|
interface SelectItemProps extends HTMLAttributes28<HTMLDivElement> {
|
|
4015
4085
|
/** Optional icon displayed before the label. */
|
|
4016
4086
|
icon?: IconComponent;
|
|
@@ -4025,11 +4095,11 @@ interface SelectItemProps extends HTMLAttributes28<HTMLDivElement> {
|
|
|
4025
4095
|
/** The row label, text or any node; the trigger shows it for this value. */
|
|
4026
4096
|
children?: ReactNode47;
|
|
4027
4097
|
}
|
|
4028
|
-
declare const SelectItem:
|
|
4098
|
+
declare const SelectItem: ForwardRefExoticComponent_tcubfn33<SelectItemProps & RefAttributes_miuf5633<HTMLDivElement>>;
|
|
4029
4099
|
type Element_12xgc33 = JSX_1kxb33["Element"];
|
|
4030
4100
|
declare function SelectGroup(props: HTMLAttributes28<HTMLDivElement>): Element_12xgc33;
|
|
4031
|
-
declare const SelectLabel:
|
|
4032
|
-
declare const SelectSeparator:
|
|
4101
|
+
declare const SelectLabel: ForwardRefExoticComponent_tcubfn33<HTMLAttributes28<HTMLDivElement> & RefAttributes_miuf5633<HTMLDivElement>>;
|
|
4102
|
+
declare const SelectSeparator: ForwardRefExoticComponent_tcubfn33<HTMLAttributes28<HTMLDivElement> & RefAttributes_miuf5633<HTMLDivElement>>;
|
|
4033
4103
|
/**
|
|
4034
4104
|
* An animated select menu: fluid hover on the rows, a popup that oozes out of
|
|
4035
4105
|
* its trigger, and a checkmark that draws itself as the selection lands.
|
|
@@ -4060,7 +4130,8 @@ declare const SelectSeparator: ForwardRefExoticComponent_tcubfn32<HTMLAttributes
|
|
|
4060
4130
|
* look included: childless it keeps the value slot and chevron, with
|
|
4061
4131
|
* children those are its whole body.
|
|
4062
4132
|
* - `Select.Value` — the value slot: the picked row's label, else the muted `placeholder`.
|
|
4063
|
-
* - `Select.Content` — the popup: `side`, `align`, `sideOffset`, `
|
|
4133
|
+
* - `Select.Content` — the popup: `side`, `align`, `sideOffset`, `alignOffset`, `collisionPadding`,
|
|
4134
|
+
* `collisionBoundary`, `positionerClassName`, `container`, `finalFocus` and the
|
|
4064
4135
|
* morph options `from`, `effect`, `hideSource`, `tier`.
|
|
4065
4136
|
* - `Select.Item` — one row: `value`, optional `index`, `textValue`, `icon`, `disabled`;
|
|
4066
4137
|
* its children are the label.
|
|
@@ -4072,13 +4143,13 @@ declare const SelectSeparator: ForwardRefExoticComponent_tcubfn32<HTMLAttributes
|
|
|
4072
4143
|
* @license MIT © 2026 Micka Touillaud
|
|
4073
4144
|
*/
|
|
4074
4145
|
declare const Select: (({ children, value: valueProp, defaultValue, onValueChange, open, defaultOpen, onOpenChange, disabled: disabledProp, readOnly: readOnlyProp, name, required: requiredProp, size }: SelectProps) => Element_12xgc33) & {
|
|
4075
|
-
Trigger:
|
|
4076
|
-
Value:
|
|
4077
|
-
Content:
|
|
4078
|
-
Item:
|
|
4146
|
+
Trigger: ForwardRefExoticComponent_tcubfn33<SelectTriggerProps & RefAttributes_miuf5633<HTMLButtonElement>>;
|
|
4147
|
+
Value: ForwardRefExoticComponent_tcubfn33<SelectValueProps & RefAttributes_miuf5633<HTMLSpanElement>>;
|
|
4148
|
+
Content: ForwardRefExoticComponent_tcubfn33<SelectContentProps & RefAttributes_miuf5633<HTMLDivElement>>;
|
|
4149
|
+
Item: ForwardRefExoticComponent_tcubfn33<SelectItemProps & RefAttributes_miuf5633<HTMLDivElement>>;
|
|
4079
4150
|
Group: typeof SelectGroup;
|
|
4080
|
-
Label:
|
|
4081
|
-
Separator:
|
|
4151
|
+
Label: ForwardRefExoticComponent_tcubfn33<HTMLAttributes28<HTMLDivElement> & RefAttributes_miuf5633<HTMLDivElement>>;
|
|
4152
|
+
Separator: ForwardRefExoticComponent_tcubfn33<HTMLAttributes28<HTMLDivElement> & RefAttributes_miuf5633<HTMLDivElement>>;
|
|
4082
4153
|
};
|
|
4083
4154
|
import { CSSProperties as CSSProperties4, HTMLAttributes as HTMLAttributes29 } from "react";
|
|
4084
4155
|
type SliderValue = number | [number, number];
|
|
@@ -4112,10 +4183,13 @@ interface SliderEngineProps extends Omit<HTMLAttributes29<HTMLDivElement>, "onCh
|
|
|
4112
4183
|
hideFill?: boolean;
|
|
4113
4184
|
thumbColor?: string;
|
|
4114
4185
|
thumbBorderColor?: string;
|
|
4186
|
+
orientation?: "horizontal" | "vertical";
|
|
4187
|
+
/** Called once an interaction ends (a pointer lifting, a keyboard step, a committed edit). */
|
|
4188
|
+
onCommit?: () => void;
|
|
4115
4189
|
}
|
|
4116
|
-
import { ForwardRefExoticComponent as
|
|
4117
|
-
import { RefAttributes as
|
|
4118
|
-
interface SliderProps extends Omit<SliderEngineProps, "value" | "onValueChange"> {
|
|
4190
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn35 } from "react";
|
|
4191
|
+
import { RefAttributes as RefAttributes_miuf5635 } from "react";
|
|
4192
|
+
interface SliderProps extends Omit<SliderEngineProps, "value" | "onValueChange" | "onCommit"> {
|
|
4119
4193
|
/** Step on the size ladder (see Sizes). Default renders the pip/scrubber design; compact renders the dense design. Defaults to the surrounding SizeProvider, else `"default"`. */
|
|
4120
4194
|
size?: SizeVariant;
|
|
4121
4195
|
/** Default-step layout. "pips" shows discrete dot indicators; "scrubber" drags anywhere in the row for a continuous value. Ignored when the compact design renders. Defaults to `"pips"`. */
|
|
@@ -4126,6 +4200,10 @@ interface SliderProps extends Omit<SliderEngineProps, "value" | "onValueChange">
|
|
|
4126
4200
|
defaultValue?: SliderValue;
|
|
4127
4201
|
/** Called when the value changes via drag, click, or keyboard. */
|
|
4128
4202
|
onValueChange?: (value: SliderValue) => void;
|
|
4203
|
+
/** Called once when an interaction ends, with the value it settled on: the pointer lifting after a drag or click, a keyboard step, or a committed edit of the value label. `onValueChange` reports every value on the way, so save from here and preview from there. */
|
|
4204
|
+
onValueCommit?: (value: SliderValue) => void;
|
|
4205
|
+
/** Layout axis. `"vertical"` stands the track upright (min at the bottom; ArrowUp / ArrowRight raise it, ArrowDown / ArrowLeft lower it) and always renders the compact design, which is the only one with a vertical layout. Give it a height with `className` (`h-48`); `valuePosition` then defaults to `"top"`. Defaults to `"horizontal"`. */
|
|
4206
|
+
orientation?: "horizontal" | "vertical";
|
|
4129
4207
|
/** Minimum value. Defaults to `0`. */
|
|
4130
4208
|
min?: number;
|
|
4131
4209
|
/** Maximum value. Defaults to `100`. */
|
|
@@ -4138,7 +4216,7 @@ interface SliderProps extends Omit<SliderEngineProps, "value" | "onValueChange">
|
|
|
4138
4216
|
showSteps?: boolean;
|
|
4139
4217
|
/** Whether to display the current value label. Defaults to `true`. */
|
|
4140
4218
|
showValue?: boolean;
|
|
4141
|
-
/** Position of the value label. "tooltip" shows above the thumb during interaction. Defaults to `"left"
|
|
4219
|
+
/** Position of the value label. "tooltip" shows above the thumb during interaction (beside it when vertical). Defaults to `"left"`, or `"top"` when vertical. */
|
|
4142
4220
|
valuePosition?: ValuePosition;
|
|
4143
4221
|
/** Custom formatter for the value label. Defaults to `String`. */
|
|
4144
4222
|
formatValue?: (v: number) => string;
|
|
@@ -4163,7 +4241,9 @@ interface SliderProps extends Omit<SliderEngineProps, "value" | "onValueChange">
|
|
|
4163
4241
|
* value label is click-to-edit.
|
|
4164
4242
|
*
|
|
4165
4243
|
* Works controlled (`value` + `onValueChange`) or uncontrolled
|
|
4166
|
-
* (`defaultValue`, with `onValueChange` reporting each change)
|
|
4244
|
+
* (`defaultValue`, with `onValueChange` reporting each change);
|
|
4245
|
+
* `onValueCommit` reports the value once an interaction ends.
|
|
4246
|
+
* `orientation="vertical"` stands the dense design upright. Track
|
|
4167
4247
|
* styling props come from the compact engine: `trackClassName`,
|
|
4168
4248
|
* `trackStyle`, `fillClassName`, `fillStyle`, `hideFill`, `thumbColor` and
|
|
4169
4249
|
* `thumbBorderColor` — each one also forces the dense design.
|
|
@@ -4172,7 +4252,7 @@ interface SliderProps extends Omit<SliderEngineProps, "value" | "onValueChange">
|
|
|
4172
4252
|
* @source https://github.com/mickadesign/fluid-functionalism/blob/b3587bdbd83fc66c2a6aae3817ffb856cb09260b/registry/base/slider.tsx Fluid Functionalism
|
|
4173
4253
|
* @license MIT © 2026 Micka Touillaud
|
|
4174
4254
|
*/
|
|
4175
|
-
declare const Slider:
|
|
4255
|
+
declare const Slider: ForwardRefExoticComponent_tcubfn35<SliderProps & RefAttributes_miuf5635<HTMLDivElement>>;
|
|
4176
4256
|
import { Transition } from "motion/react";
|
|
4177
4257
|
import { ForwardRefExoticComponent as ForwardRefExoticComponent14, HTMLAttributes as HTMLAttributes30, ReactNode as ReactNode48, RefAttributes as RefAttributes14 } from "react";
|
|
4178
4258
|
interface SwitchProps extends HTMLAttributes30<HTMLDivElement> {
|
|
@@ -4194,6 +4274,8 @@ interface SwitchProps extends HTMLAttributes30<HTMLDivElement> {
|
|
|
4194
4274
|
disabled?: boolean;
|
|
4195
4275
|
/** Submits the switch under this name in a form, while on. */
|
|
4196
4276
|
name?: string;
|
|
4277
|
+
/** Must be on before its form submits: the browser's validation (and an enclosing Field's) reports it missing. Defaults to `false`. */
|
|
4278
|
+
required?: boolean;
|
|
4197
4279
|
/** The value submitted while on. Defaults to `"on"`. */
|
|
4198
4280
|
value?: string;
|
|
4199
4281
|
/** Transition for the thumb's slide and hover/press stretch. Defaults to the `spring.moderate` motion token. */
|
|
@@ -4248,8 +4330,8 @@ interface SwitchGroupProps extends HTMLAttributes30<HTMLFieldSetElement> {
|
|
|
4248
4330
|
}
|
|
4249
4331
|
declare const SwitchGroup: ForwardRefExoticComponent14<SwitchGroupProps & RefAttributes14<HTMLFieldSetElement>>;
|
|
4250
4332
|
import { TextareaHTMLAttributes } from "react";
|
|
4251
|
-
import { ForwardRefExoticComponent as
|
|
4252
|
-
import { RefAttributes as
|
|
4333
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn36 } from "react";
|
|
4334
|
+
import { RefAttributes as RefAttributes_miuf5636 } from "react";
|
|
4253
4335
|
interface TextareaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>, "onChange" | "value" | "defaultValue" | "rows"> {
|
|
4254
4336
|
/** Placeholder text. */
|
|
4255
4337
|
placeholder?: string;
|
|
@@ -4257,7 +4339,7 @@ interface TextareaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>
|
|
|
4257
4339
|
value?: string;
|
|
4258
4340
|
/** Initial value when uncontrolled. Defaults to `''`. */
|
|
4259
4341
|
defaultValue?: string;
|
|
4260
|
-
/** Called with the new value on every change. */
|
|
4342
|
+
/** Called with the new value on every change. With neither `value` nor `onValueChange` the textarea keeps its text in the DOM, for forms that read it through a `ref`. */
|
|
4261
4343
|
onValueChange?: (value: string) => void;
|
|
4262
4344
|
/** Rows shown when empty; the box never gets shorter. Defaults to `3`. */
|
|
4263
4345
|
minRows?: number;
|
|
@@ -4292,9 +4374,16 @@ interface TextareaProps extends Omit<TextareaHTMLAttributes<HTMLTextAreaElement>
|
|
|
4292
4374
|
* or put it in an `InputGroup.Field` to label it, join the group's hover and
|
|
4293
4375
|
* take the field's error.
|
|
4294
4376
|
*
|
|
4377
|
+
* With neither `value` nor `onValueChange` it is a plain uncontrolled
|
|
4378
|
+
* `<textarea>`: the DOM holds the text, `ref` is the real element, and
|
|
4379
|
+
* `defaultValue`, `ref.current.value = ''` and a native `form.reset()` all
|
|
4380
|
+
* behave as on any textarea (the box re-fits after each), which is what a
|
|
4381
|
+
* form library reading fields through refs (`register()`) needs. Pass it
|
|
4382
|
+
* `name`, `ref` and `defaultValue`.
|
|
4383
|
+
*
|
|
4295
4384
|
* @example {@include ./examples.mdx}
|
|
4296
4385
|
*/
|
|
4297
|
-
declare const Textarea:
|
|
4386
|
+
declare const Textarea: ForwardRefExoticComponent_tcubfn36<TextareaProps & RefAttributes_miuf5636<HTMLTextAreaElement>>;
|
|
4298
4387
|
import { ReactNode as ReactNode49 } from "react";
|
|
4299
4388
|
import { JSX as JSX_1kxb34 } from "react";
|
|
4300
4389
|
interface BreadcrumbItemProps {
|
|
@@ -4341,15 +4430,15 @@ import { NavigationMenu as NavigationMenuPrimitive6 } from "@base-ui/react/navig
|
|
|
4341
4430
|
import { ComponentPropsWithoutRef as ComponentPropsWithoutRef10, ForwardRefExoticComponent as ForwardRefExoticComponent15, ReactNode as ReactNode55, RefAttributes as RefAttributes15 } from "react";
|
|
4342
4431
|
import { NavigationMenu as NavigationMenuPrimitive } from "@base-ui/react/navigation-menu";
|
|
4343
4432
|
import { ComponentPropsWithoutRef as ComponentPropsWithoutRef5, ReactNode as ReactNode50 } from "react";
|
|
4344
|
-
import { ForwardRefExoticComponent as
|
|
4345
|
-
import { RefAttributes as
|
|
4433
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn37 } from "react";
|
|
4434
|
+
import { RefAttributes as RefAttributes_miuf5637 } from "react";
|
|
4346
4435
|
interface NavigationMenuContentProps extends ComponentPropsWithoutRef5<typeof NavigationMenuPrimitive.Content> {
|
|
4347
4436
|
/** Classes for the panel: its width and layout (a grid of links, a column). */
|
|
4348
4437
|
className?: string;
|
|
4349
4438
|
/** `NavigationMenu.Link`s, laid out however the panel needs. */
|
|
4350
4439
|
children?: ReactNode50;
|
|
4351
4440
|
}
|
|
4352
|
-
declare const NavigationMenuContent:
|
|
4441
|
+
declare const NavigationMenuContent: ForwardRefExoticComponent_tcubfn37<NavigationMenuContentProps & RefAttributes_miuf5637<HTMLDivElement>>;
|
|
4353
4442
|
import { JSX as JSX_1kxb35 } from "react";
|
|
4354
4443
|
interface NavigationMenuIndicatorProps {
|
|
4355
4444
|
/** Classes for the marker: its fill. Defaults to the `bg-active` overlay. */
|
|
@@ -4367,17 +4456,17 @@ declare function ShapeProvider({ children, defaultShape }: {
|
|
|
4367
4456
|
children: ReactNode51;
|
|
4368
4457
|
defaultShape?: ShapeVariant;
|
|
4369
4458
|
}): Element_12xgc36;
|
|
4370
|
-
import { ForwardRefExoticComponent as
|
|
4371
|
-
import { RefAttributes as
|
|
4459
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn38 } from "react";
|
|
4460
|
+
import { RefAttributes as RefAttributes_miuf5638 } from "react";
|
|
4372
4461
|
interface NavigationMenuItemProps extends ComponentPropsWithoutRef6<typeof NavigationMenuPrimitive2.Item> {
|
|
4373
4462
|
/** Names the item for a controlled `value`. Defaults to a generated id. */
|
|
4374
4463
|
value?: string;
|
|
4375
4464
|
}
|
|
4376
|
-
declare const NavigationMenuItem:
|
|
4465
|
+
declare const NavigationMenuItem: ForwardRefExoticComponent_tcubfn38<NavigationMenuItemProps & RefAttributes_miuf5638<HTMLLIElement>>;
|
|
4377
4466
|
import { NavigationMenu as NavigationMenuPrimitive3 } from "@base-ui/react/navigation-menu";
|
|
4378
4467
|
import { ComponentPropsWithoutRef as ComponentPropsWithoutRef7, ReactNode as ReactNode52 } from "react";
|
|
4379
|
-
import { ForwardRefExoticComponent as
|
|
4380
|
-
import { RefAttributes as
|
|
4468
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn39 } from "react";
|
|
4469
|
+
import { RefAttributes as RefAttributes_miuf5639 } from "react";
|
|
4381
4470
|
interface NavigationMenuLinkProps extends ComponentPropsWithoutRef7<typeof NavigationMenuPrimitive3.Link> {
|
|
4382
4471
|
/** Marks the current page (`aria-current="page"`). In the strip, the marker rests under it while no panel is open. Defaults to `false`. */
|
|
4383
4472
|
active?: boolean;
|
|
@@ -4390,25 +4479,25 @@ interface NavigationMenuLinkProps extends ComponentPropsWithoutRef7<typeof Navig
|
|
|
4390
4479
|
/** The link's title. */
|
|
4391
4480
|
children?: ReactNode52;
|
|
4392
4481
|
}
|
|
4393
|
-
declare const NavigationMenuLink:
|
|
4482
|
+
declare const NavigationMenuLink: ForwardRefExoticComponent_tcubfn39<NavigationMenuLinkProps & RefAttributes_miuf5639<HTMLAnchorElement>>;
|
|
4394
4483
|
import { NavigationMenu as NavigationMenuPrimitive4 } from "@base-ui/react/navigation-menu";
|
|
4395
4484
|
import { ComponentPropsWithoutRef as ComponentPropsWithoutRef8, ReactNode as ReactNode53 } from "react";
|
|
4396
|
-
import { ForwardRefExoticComponent as
|
|
4397
|
-
import { RefAttributes as
|
|
4485
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn40 } from "react";
|
|
4486
|
+
import { RefAttributes as RefAttributes_miuf5640 } from "react";
|
|
4398
4487
|
interface NavigationMenuListProps extends ComponentPropsWithoutRef8<typeof NavigationMenuPrimitive4.List> {
|
|
4399
4488
|
/** `NavigationMenu.Item`s, and optionally a `NavigationMenu.Indicator`. */
|
|
4400
4489
|
children?: ReactNode53;
|
|
4401
4490
|
}
|
|
4402
|
-
declare const NavigationMenuList:
|
|
4491
|
+
declare const NavigationMenuList: ForwardRefExoticComponent_tcubfn40<NavigationMenuListProps & RefAttributes_miuf5640<HTMLUListElement>>;
|
|
4403
4492
|
import { NavigationMenu as NavigationMenuPrimitive5 } from "@base-ui/react/navigation-menu";
|
|
4404
4493
|
import { ComponentPropsWithoutRef as ComponentPropsWithoutRef9, ReactNode as ReactNode54 } from "react";
|
|
4405
|
-
import { ForwardRefExoticComponent as
|
|
4406
|
-
import { RefAttributes as
|
|
4494
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn41 } from "react";
|
|
4495
|
+
import { RefAttributes as RefAttributes_miuf5641 } from "react";
|
|
4407
4496
|
interface NavigationMenuTriggerProps extends ComponentPropsWithoutRef9<typeof NavigationMenuPrimitive5.Trigger> {
|
|
4408
4497
|
/** The trigger's label. */
|
|
4409
4498
|
children?: ReactNode54;
|
|
4410
4499
|
}
|
|
4411
|
-
declare const NavigationMenuTrigger:
|
|
4500
|
+
declare const NavigationMenuTrigger: ForwardRefExoticComponent_tcubfn41<NavigationMenuTriggerProps & RefAttributes_miuf5641<HTMLButtonElement>>;
|
|
4412
4501
|
interface NavigationMenuProps extends AnchorProps, MorphProps, Omit<ComponentPropsWithoutRef10<typeof NavigationMenuPrimitive6.Root>, "value" | "defaultValue" | "onValueChange" | "className" | "children" | "render"> {
|
|
4413
4502
|
/** The open item's `value`, or `null` while closed. Controlled — pair it with `onValueChange`. */
|
|
4414
4503
|
value?: string | null;
|
|
@@ -4531,8 +4620,8 @@ import { ComponentPropsWithoutRef as ComponentPropsWithoutRef13, ForwardRefExoti
|
|
|
4531
4620
|
type TabsVariant = "segmented" | "subtle";
|
|
4532
4621
|
import { Tabs as TabsPrimitive } from "@base-ui/react/tabs";
|
|
4533
4622
|
import { ComponentPropsWithoutRef as ComponentPropsWithoutRef11, ReactNode as ReactNode56 } from "react";
|
|
4534
|
-
import { ForwardRefExoticComponent as
|
|
4535
|
-
import { RefAttributes as
|
|
4623
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn42 } from "react";
|
|
4624
|
+
import { RefAttributes as RefAttributes_miuf5642 } from "react";
|
|
4536
4625
|
interface TabItemProps extends ComponentPropsWithoutRef11<typeof TabsPrimitive.Tab> {
|
|
4537
4626
|
/** The value this tab selects; its `Tabs.Panel` takes the same one. */
|
|
4538
4627
|
value: string;
|
|
@@ -4543,16 +4632,16 @@ interface TabItemProps extends ComponentPropsWithoutRef11<typeof TabsPrimitive.T
|
|
|
4543
4632
|
/** Renders the tab as a link to this URL (link tabs, for route-based navigation): a press follows the link and selects the tab. For a router's link component, pass it as `render` instead. */
|
|
4544
4633
|
href?: string;
|
|
4545
4634
|
}
|
|
4546
|
-
declare const TabItem:
|
|
4635
|
+
declare const TabItem: ForwardRefExoticComponent_tcubfn42<TabItemProps & RefAttributes_miuf5642<HTMLButtonElement>>;
|
|
4547
4636
|
import { Tabs as TabsPrimitive2 } from "@base-ui/react/tabs";
|
|
4548
4637
|
import { ComponentPropsWithoutRef as ComponentPropsWithoutRef12 } from "react";
|
|
4549
|
-
import { ForwardRefExoticComponent as
|
|
4550
|
-
import { RefAttributes as
|
|
4638
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn43 } from "react";
|
|
4639
|
+
import { RefAttributes as RefAttributes_miuf5643 } from "react";
|
|
4551
4640
|
interface TabsListProps extends ComponentPropsWithoutRef12<typeof TabsPrimitive2.List> {
|
|
4552
4641
|
/** Arrow keys select as they move focus. Defaults to `true` for `segmented`, `false` for `subtle` (Enter or Space selects) and for link tabs (Enter follows the link). */
|
|
4553
4642
|
activateOnFocus?: boolean;
|
|
4554
4643
|
}
|
|
4555
|
-
declare const TabsList:
|
|
4644
|
+
declare const TabsList: ForwardRefExoticComponent_tcubfn43<TabsListProps & RefAttributes_miuf5643<HTMLDivElement>>;
|
|
4556
4645
|
interface TabsProps extends Omit<ComponentPropsWithoutRef13<typeof TabsPrimitive3.Root>, "onValueChange" | "value" | "defaultValue"> {
|
|
4557
4646
|
/** The active tab's value. Controlled — pair it with `onValueChange`. */
|
|
4558
4647
|
value?: string;
|
|
@@ -4669,17 +4758,17 @@ declare function Tree({ items, expanded: expandedProp, defaultExpanded, onExpand
|
|
|
4669
4758
|
import { AlertDialog as AlertDialogPrimitive } from "@base-ui/react/alert-dialog";
|
|
4670
4759
|
import { MouseEvent as MouseEvent3, ReactNode as ReactNode59 } from "react";
|
|
4671
4760
|
import { Dialog as DialogPrimitive } from "@base-ui/react/dialog";
|
|
4672
|
-
import { ComponentProps as
|
|
4673
|
-
import { ForwardRefExoticComponent as
|
|
4674
|
-
import { RefAttributes as
|
|
4761
|
+
import { ComponentProps as ComponentProps4, HTMLAttributes as HTMLAttributes31, ReactNode as ReactNode58 } from "react";
|
|
4762
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn44 } from "react";
|
|
4763
|
+
import { RefAttributes as RefAttributes_miuf5644 } from "react";
|
|
4675
4764
|
import { JSX as JSX_1kxb39 } from "react";
|
|
4676
4765
|
type DialogSlotProps = SlotProps;
|
|
4677
4766
|
type DialogWidth = "sm" | "lg" | "xl";
|
|
4678
4767
|
/** The open state and origin `DialogState` provides, for content built on another Base UI popup (Sheet). */
|
|
4679
4768
|
declare const useDialogState: () => OverlayState;
|
|
4680
|
-
declare const DialogTrigger:
|
|
4681
|
-
declare const DialogClose:
|
|
4682
|
-
type DialogPopupProps =
|
|
4769
|
+
declare const DialogTrigger: ForwardRefExoticComponent_tcubfn44<SlotProps & RefAttributes_miuf5644<HTMLButtonElement>>;
|
|
4770
|
+
declare const DialogClose: ForwardRefExoticComponent_tcubfn44<SlotProps & RefAttributes_miuf5644<HTMLButtonElement>>;
|
|
4771
|
+
type DialogPopupProps = ComponentProps4<typeof DialogPrimitive.Popup>;
|
|
4683
4772
|
interface DialogContentProps extends MorphProps, HTMLAttributes31<HTMLDivElement> {
|
|
4684
4773
|
/** Width: 400, 540 or 880px, each one notch narrower in a compact region (360, 480, 800). `xl` is the canvas for a composed layout, usually with `className="p-0"` and a fixed height. Defaults to `'sm'`. */
|
|
4685
4774
|
width?: DialogWidth;
|
|
@@ -4698,12 +4787,12 @@ interface DialogContentProps extends MorphProps, HTMLAttributes31<HTMLDivElement
|
|
|
4698
4787
|
/** Dialog content. Everything inside reads the dialog's surface level as its substrate. */
|
|
4699
4788
|
children?: ReactNode58;
|
|
4700
4789
|
}
|
|
4701
|
-
declare const DialogContent:
|
|
4790
|
+
declare const DialogContent: ForwardRefExoticComponent_tcubfn44<DialogContentProps & RefAttributes_miuf5644<HTMLDivElement>>;
|
|
4702
4791
|
type Element_12xgc39 = JSX_1kxb39["Element"];
|
|
4703
4792
|
declare function DialogHeader({ className,...props }: HTMLAttributes31<HTMLDivElement>): Element_12xgc39;
|
|
4704
4793
|
declare function DialogFooter({ className,...props }: HTMLAttributes31<HTMLDivElement>): Element_12xgc39;
|
|
4705
|
-
declare const DialogTitle:
|
|
4706
|
-
declare const DialogDescription:
|
|
4794
|
+
declare const DialogTitle: ForwardRefExoticComponent_tcubfn44<HTMLAttributes31<HTMLHeadingElement> & RefAttributes_miuf5644<HTMLHeadingElement>>;
|
|
4795
|
+
declare const DialogDescription: ForwardRefExoticComponent_tcubfn44<HTMLAttributes31<HTMLParagraphElement> & RefAttributes_miuf5644<HTMLParagraphElement>>;
|
|
4707
4796
|
/** What `onOpenChange` receives besides the open state: Base UI's Dialog change details. */
|
|
4708
4797
|
type DialogOpenChangeDetails = DialogPrimitive.Root.ChangeEventDetails;
|
|
4709
4798
|
/** What `DialogState` reads of a change's details: Base UI's (Dialog, AlertDialog, Drawer), or a plain one from code. */
|
|
@@ -4780,20 +4869,20 @@ interface DialogProps {
|
|
|
4780
4869
|
* @license MIT © 2026 Micka Touillaud
|
|
4781
4870
|
*/
|
|
4782
4871
|
declare const Dialog: (({ children, open, defaultOpen, onOpenChange, modal, disablePointerDismissal }: DialogProps) => Element_12xgc39) & {
|
|
4783
|
-
Trigger:
|
|
4784
|
-
Content:
|
|
4872
|
+
Trigger: ForwardRefExoticComponent_tcubfn44<SlotProps & RefAttributes_miuf5644<HTMLButtonElement>>;
|
|
4873
|
+
Content: ForwardRefExoticComponent_tcubfn44<DialogContentProps & RefAttributes_miuf5644<HTMLDivElement>>;
|
|
4785
4874
|
Header: typeof DialogHeader;
|
|
4786
4875
|
Footer: typeof DialogFooter;
|
|
4787
|
-
Title:
|
|
4788
|
-
Description:
|
|
4789
|
-
Close:
|
|
4876
|
+
Title: ForwardRefExoticComponent_tcubfn44<HTMLAttributes31<HTMLHeadingElement> & RefAttributes_miuf5644<HTMLHeadingElement>>;
|
|
4877
|
+
Description: ForwardRefExoticComponent_tcubfn44<HTMLAttributes31<HTMLParagraphElement> & RefAttributes_miuf5644<HTMLParagraphElement>>;
|
|
4878
|
+
Close: ForwardRefExoticComponent_tcubfn44<SlotProps & RefAttributes_miuf5644<HTMLButtonElement>>;
|
|
4790
4879
|
};
|
|
4791
|
-
import { ForwardRefExoticComponent as
|
|
4792
|
-
import { RefAttributes as
|
|
4880
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn45 } from "react";
|
|
4881
|
+
import { RefAttributes as RefAttributes_miuf5645 } from "react";
|
|
4793
4882
|
import { JSX as JSX_1kxb40 } from "react";
|
|
4794
4883
|
import { HTMLAttributes as HTMLAttributes_9sn44e } from "react";
|
|
4795
4884
|
type ButtonVariant2 = NonNullable<ButtonProps["variant"]>;
|
|
4796
|
-
declare const AlertDialogContent:
|
|
4885
|
+
declare const AlertDialogContent: ForwardRefExoticComponent_tcubfn45<DialogContentProps & RefAttributes_miuf5645<HTMLDivElement>>;
|
|
4797
4886
|
interface AlertDialogActionProps extends Omit<SlotProps, "onClick"> {
|
|
4798
4887
|
/** The confirm. Return a promise to keep the dialog open, the button loading and every way out locked until it settles: it closes on resolve and stays open on reject. A plain return closes it at once, or, with `pending` set, once `pending` turns true and back to false. `event.preventDefault()` keeps it open after a plain return. */
|
|
4799
4888
|
onClick?: (event: MouseEvent3<HTMLButtonElement>) => unknown;
|
|
@@ -4804,12 +4893,12 @@ interface AlertDialogActionProps extends Omit<SlotProps, "onClick"> {
|
|
|
4804
4893
|
/** The Button's variant when there is no `render` element. Defaults to `'primary'`. */
|
|
4805
4894
|
variant?: ButtonVariant2;
|
|
4806
4895
|
}
|
|
4807
|
-
declare const AlertDialogAction:
|
|
4896
|
+
declare const AlertDialogAction: ForwardRefExoticComponent_tcubfn45<AlertDialogActionProps & RefAttributes_miuf5645<HTMLButtonElement>>;
|
|
4808
4897
|
interface AlertDialogCancelProps extends SlotProps {
|
|
4809
4898
|
/** The Button's variant when there is no `render` element. Defaults to `'ghost'`. */
|
|
4810
4899
|
variant?: ButtonVariant2;
|
|
4811
4900
|
}
|
|
4812
|
-
declare const AlertDialogCancel:
|
|
4901
|
+
declare const AlertDialogCancel: ForwardRefExoticComponent_tcubfn45<AlertDialogCancelProps & RefAttributes_miuf5645<HTMLButtonElement>>;
|
|
4813
4902
|
/** What `onOpenChange` receives besides the open state: Base UI's AlertDialog change details. */
|
|
4814
4903
|
type AlertDialogOpenChangeDetails = AlertDialogPrimitive.Root.ChangeEventDetails;
|
|
4815
4904
|
interface AlertDialogProps {
|
|
@@ -4858,15 +4947,15 @@ type Element_12xgc40 = JSX_1kxb40["Element"];
|
|
|
4858
4947
|
* @example {@include ./examples.mdx}
|
|
4859
4948
|
*/
|
|
4860
4949
|
declare const AlertDialog: (({ children, open, defaultOpen, onOpenChange }: AlertDialogProps) => Element_12xgc40) & {
|
|
4861
|
-
Trigger:
|
|
4862
|
-
Content:
|
|
4950
|
+
Trigger: ForwardRefExoticComponent_tcubfn45<SlotProps & RefAttributes_miuf5645<HTMLButtonElement>>;
|
|
4951
|
+
Content: ForwardRefExoticComponent_tcubfn45<DialogContentProps & RefAttributes_miuf5645<HTMLDivElement>>;
|
|
4863
4952
|
Header: typeof DialogHeader;
|
|
4864
4953
|
Footer: typeof DialogFooter;
|
|
4865
|
-
Title:
|
|
4866
|
-
Description:
|
|
4867
|
-
Close:
|
|
4868
|
-
Action:
|
|
4869
|
-
Cancel:
|
|
4954
|
+
Title: ForwardRefExoticComponent_tcubfn45<HTMLAttributes_9sn44e<HTMLHeadingElement> & RefAttributes_miuf5645<HTMLHeadingElement>>;
|
|
4955
|
+
Description: ForwardRefExoticComponent_tcubfn45<HTMLAttributes_9sn44e<HTMLParagraphElement> & RefAttributes_miuf5645<HTMLParagraphElement>>;
|
|
4956
|
+
Close: ForwardRefExoticComponent_tcubfn45<SlotProps & RefAttributes_miuf5645<HTMLButtonElement>>;
|
|
4957
|
+
Action: ForwardRefExoticComponent_tcubfn45<AlertDialogActionProps & RefAttributes_miuf5645<HTMLButtonElement>>;
|
|
4958
|
+
Cancel: ForwardRefExoticComponent_tcubfn45<AlertDialogCancelProps & RefAttributes_miuf5645<HTMLButtonElement>>;
|
|
4870
4959
|
};
|
|
4871
4960
|
import { HTMLAttributes as HTMLAttributes38, ReactNode as ReactNode66, RefObject as RefObject15 } from "react";
|
|
4872
4961
|
import { ForwardRefExoticComponent as ForwardRefExoticComponent17, HTMLAttributes as HTMLAttributes32, MouseEvent as MouseEvent4, ReactElement as ReactElement9, ReactNode as ReactNode60, RefAttributes as RefAttributes17 } from "react";
|
|
@@ -4951,10 +5040,10 @@ declare const DropdownShortcut: ForwardRefExoticComponent17<DropdownShortcutProp
|
|
|
4951
5040
|
/** A menu row: `label` or `children`, an optional `index`, `icon`, `inset`, `shortcut`, `checked`, `onSelect`. */
|
|
4952
5041
|
declare const MenuItem2: ForwardRefExoticComponent17<MenuItemProps & RefAttributes17<HTMLDivElement>>;
|
|
4953
5042
|
import { Menu as Menu2 } from "@base-ui/react/menu";
|
|
4954
|
-
import { ComponentProps as
|
|
5043
|
+
import { ComponentProps as ComponentProps5, RefObject as RefObject14 } from "react";
|
|
4955
5044
|
import { HTMLAttributes as HTMLAttributes33, InputHTMLAttributes as InputHTMLAttributes6 } from "react";
|
|
4956
|
-
import { ForwardRefExoticComponent as
|
|
4957
|
-
import { RefAttributes as
|
|
5045
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn46 } from "react";
|
|
5046
|
+
import { RefAttributes as RefAttributes_miuf5646 } from "react";
|
|
4958
5047
|
interface DropdownSearchProps extends Omit<InputHTMLAttributes6<HTMLInputElement>, "value" | "onChange" | "size" | "defaultValue"> {
|
|
4959
5048
|
/** The query. Filter the MenuItems you render against it. Optional under `filter`, where the panel holds the query. */
|
|
4960
5049
|
value?: string;
|
|
@@ -4976,9 +5065,9 @@ interface DropdownSearchProps extends Omit<InputHTMLAttributes6<HTMLInputElement
|
|
|
4976
5065
|
* (which carries the hover background while the field has focus), Escape
|
|
4977
5066
|
* closes the menu. Controlled by `value`, or by the panel under `filter`.
|
|
4978
5067
|
*/
|
|
4979
|
-
declare const DropdownSearch:
|
|
5068
|
+
declare const DropdownSearch: ForwardRefExoticComponent_tcubfn46<DropdownSearchProps & RefAttributes_miuf5646<HTMLInputElement>>;
|
|
4980
5069
|
/** The "no results" row a filtered menu shows instead of its rows. */
|
|
4981
|
-
declare const DropdownEmpty:
|
|
5070
|
+
declare const DropdownEmpty: ForwardRefExoticComponent_tcubfn46<HTMLAttributes33<HTMLDivElement> & RefAttributes_miuf5646<HTMLDivElement>>;
|
|
4982
5071
|
interface PanelSelectionProps {
|
|
4983
5072
|
/** The checked row: drives the selected background and the rows' radio semantics. */
|
|
4984
5073
|
checkedIndex?: number;
|
|
@@ -4998,13 +5087,13 @@ interface MenuFocusProps {
|
|
|
4998
5087
|
/** Where focus goes once the menu has opened: `false` leaves it where the primitive put it (Base UI still focuses the popup, or the first row on a keyboard open), a ref focuses that element. Defaults to the first enabled row in `Dropdown.Content`, the primitive's own choice elsewhere. */
|
|
4999
5088
|
initialFocus?: boolean | RefObject14<HTMLElement | null>;
|
|
5000
5089
|
/** Where focus goes once the menu has closed: `false` leaves it, a ref moves it there, a function picks by how it closed. Defaults to the trigger. */
|
|
5001
|
-
finalFocus?:
|
|
5090
|
+
finalFocus?: ComponentProps5<typeof Menu2.Popup>["finalFocus"];
|
|
5002
5091
|
}
|
|
5003
5092
|
import { MenuRootChangeEventDetails } from "@base-ui/react/menu";
|
|
5004
5093
|
import { HTMLAttributes as HTMLAttributes35, ReactNode as ReactNode63 } from "react";
|
|
5005
5094
|
import { JSX as JSX_1kxb41 } from "react";
|
|
5006
|
-
import { ForwardRefExoticComponent as
|
|
5007
|
-
import { RefAttributes as
|
|
5095
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn48 } from "react";
|
|
5096
|
+
import { RefAttributes as RefAttributes_miuf5648 } from "react";
|
|
5008
5097
|
interface DropdownSubProps {
|
|
5009
5098
|
/** `Dropdown.SubTrigger` and `Dropdown.SubContent`. */
|
|
5010
5099
|
children: ReactNode63;
|
|
@@ -5035,8 +5124,8 @@ interface DropdownSubTriggerProps extends Omit<MenuItemProps, "checked" | "onSel
|
|
|
5035
5124
|
* press, Enter or ArrowRight opens it; ArrowLeft and Escape close it. The row
|
|
5036
5125
|
* stays lit while its submenu is open.
|
|
5037
5126
|
*/
|
|
5038
|
-
declare const DropdownSubTrigger:
|
|
5039
|
-
interface DropdownSubContentProps extends PanelSelectionProps, MenuFocusProps, AnchorProps, MorphProps, Omit<HTMLAttributes35<HTMLDivElement>, "children"> {
|
|
5127
|
+
declare const DropdownSubTrigger: ForwardRefExoticComponent_tcubfn48<DropdownSubTriggerProps & RefAttributes_miuf5648<HTMLDivElement>>;
|
|
5128
|
+
interface DropdownSubContentProps extends PanelSelectionProps, MenuFocusProps, AnchorProps, CollisionProps, MorphProps, Omit<HTMLAttributes35<HTMLDivElement>, "children"> {
|
|
5040
5129
|
/** The submenu's rows: the same parts as `Dropdown.Content`, another `Dropdown.Sub` included. */
|
|
5041
5130
|
children: ReactNode63;
|
|
5042
5131
|
/** Side of the trigger row the submenu opens on; it flips when there is no room. Defaults to `"right"`. */
|
|
@@ -5045,34 +5134,36 @@ interface DropdownSubContentProps extends PanelSelectionProps, MenuFocusProps, A
|
|
|
5045
5134
|
align?: AnchorProps["align"];
|
|
5046
5135
|
/** Gap to the parent menu in px, the length of the goo neck. Defaults to `8`. */
|
|
5047
5136
|
sideOffset?: number;
|
|
5137
|
+
/** Shift along the aligned edge in px. Defaults to `-4`: the panel's padding, so its first row lines up with the trigger row. */
|
|
5138
|
+
alignOffset?: CollisionProps["alignOffset"];
|
|
5048
5139
|
/** Extra classes for the submenu surface: it is 14rem wide by default. */
|
|
5049
5140
|
className?: string;
|
|
5050
5141
|
/** Keep the submenu mounted (hidden) while closed, so its rows keep their own state across opens. A kept parent keeps it too. Defaults to `false`. */
|
|
5051
5142
|
keepMounted?: boolean;
|
|
5052
5143
|
}
|
|
5053
5144
|
/** The submenu's panel, lifted above the menu it came from and grown out of its trigger row. */
|
|
5054
|
-
declare const DropdownSubContent:
|
|
5055
|
-
import { ForwardRefExoticComponent as
|
|
5056
|
-
import { RefAttributes as
|
|
5145
|
+
declare const DropdownSubContent: ForwardRefExoticComponent_tcubfn48<DropdownSubContentProps & RefAttributes_miuf5648<HTMLDivElement>>;
|
|
5146
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn50 } from "react";
|
|
5147
|
+
import { RefAttributes as RefAttributes_miuf5650 } from "react";
|
|
5057
5148
|
import { JSX as JSX_1kxb43 } from "react";
|
|
5058
5149
|
import { ContextMenuTriggerProps as ContextMenuTriggerProps_uolo3q } from "@base-ui/react";
|
|
5059
5150
|
import { MenuRootChangeEventDetails as MenuRootChangeEventDetails2 } from "@base-ui/react/menu";
|
|
5060
5151
|
import { ForwardRefExoticComponent as ForwardRefExoticComponent18, HTMLAttributes as HTMLAttributes37, ReactNode as ReactNode65, RefAttributes as RefAttributes18 } from "react";
|
|
5061
5152
|
import { HTMLAttributes as HTMLAttributes36, ReactNode as ReactNode64 } from "react";
|
|
5062
|
-
import { ForwardRefExoticComponent as
|
|
5063
|
-
import { RefAttributes as
|
|
5153
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn49 } from "react";
|
|
5154
|
+
import { RefAttributes as RefAttributes_miuf5649 } from "react";
|
|
5064
5155
|
interface DropdownGroupProps extends HTMLAttributes36<HTMLDivElement> {
|
|
5065
5156
|
/** Rows, with an optional `Dropdown.Label` first: it becomes the group's accessible name. */
|
|
5066
5157
|
children?: ReactNode64;
|
|
5067
5158
|
}
|
|
5068
5159
|
/** A run of related rows (`role="group"`), named by the `Dropdown.Label` inside it. */
|
|
5069
|
-
declare const DropdownGroup:
|
|
5160
|
+
declare const DropdownGroup: ForwardRefExoticComponent_tcubfn49<DropdownGroupProps & RefAttributes_miuf5649<HTMLDivElement>>;
|
|
5070
5161
|
interface DropdownLabelProps extends HTMLAttributes36<HTMLDivElement> {
|
|
5071
5162
|
/** Indents the caption to the label column of rows with an icon. Defaults to `false`. */
|
|
5072
5163
|
inset?: boolean;
|
|
5073
5164
|
}
|
|
5074
5165
|
/** A caption over a run of rows; inside a `Dropdown.Group` it names the group. */
|
|
5075
|
-
declare const DropdownLabel:
|
|
5166
|
+
declare const DropdownLabel: ForwardRefExoticComponent_tcubfn49<DropdownLabelProps & RefAttributes_miuf5649<HTMLDivElement>>;
|
|
5076
5167
|
/** The row props the value-keyed rows share with `Dropdown.Item`. */
|
|
5077
5168
|
type ValueRowProps = Omit<MenuItemProps, "checked" | "defaultChecked" | "sourceIndex">;
|
|
5078
5169
|
interface DropdownCheckboxItemProps extends ValueRowProps {
|
|
@@ -5086,7 +5177,7 @@ interface DropdownCheckboxItemProps extends ValueRowProps {
|
|
|
5086
5177
|
closeOnClick?: boolean;
|
|
5087
5178
|
}
|
|
5088
5179
|
/** A row that toggles itself on and off (`role="menuitemcheckbox"`), keyed on its own state rather than an index. */
|
|
5089
|
-
declare const DropdownCheckboxItem:
|
|
5180
|
+
declare const DropdownCheckboxItem: ForwardRefExoticComponent_tcubfn49<DropdownCheckboxItemProps & RefAttributes_miuf5649<HTMLDivElement>>;
|
|
5090
5181
|
interface DropdownRadioGroupProps extends Omit<HTMLAttributes36<HTMLDivElement>, "defaultValue" | "onChange"> {
|
|
5091
5182
|
/** The picked row's value. Pair with `onValueChange`. */
|
|
5092
5183
|
value?: string;
|
|
@@ -5098,7 +5189,7 @@ interface DropdownRadioGroupProps extends Omit<HTMLAttributes36<HTMLDivElement>,
|
|
|
5098
5189
|
children?: ReactNode64;
|
|
5099
5190
|
}
|
|
5100
5191
|
/** One choice among its `Dropdown.RadioItem` rows, keyed on their `value`. */
|
|
5101
|
-
declare const DropdownRadioGroup:
|
|
5192
|
+
declare const DropdownRadioGroup: ForwardRefExoticComponent_tcubfn49<DropdownRadioGroupProps & RefAttributes_miuf5649<HTMLDivElement>>;
|
|
5102
5193
|
interface DropdownRadioItemProps extends ValueRowProps {
|
|
5103
5194
|
/** The value this row stands for in its `Dropdown.RadioGroup`. */
|
|
5104
5195
|
value: string;
|
|
@@ -5106,7 +5197,7 @@ interface DropdownRadioItemProps extends ValueRowProps {
|
|
|
5106
5197
|
closeOnClick?: boolean;
|
|
5107
5198
|
}
|
|
5108
5199
|
/** A row of a `Dropdown.RadioGroup` (`role="menuitemradio"`), checked while the group's value is its `value`. */
|
|
5109
|
-
declare const DropdownRadioItem:
|
|
5200
|
+
declare const DropdownRadioItem: ForwardRefExoticComponent_tcubfn49<DropdownRadioItemProps & RefAttributes_miuf5649<HTMLDivElement>>;
|
|
5110
5201
|
import { JSX as JSX_1kxb42 } from "react";
|
|
5111
5202
|
/** What `onOpenChange` receives besides the open state: Base UI's Menu change details (`reason`, `event`, `cancel()`, `isCanceled`). */
|
|
5112
5203
|
type DropdownOpenChangeDetails = MenuRootChangeEventDetails2;
|
|
@@ -5186,10 +5277,11 @@ type DropdownComponent = ForwardRefExoticComponent18<DropdownProps & RefAttribut
|
|
|
5186
5277
|
*
|
|
5187
5278
|
* Statics:
|
|
5188
5279
|
* - `Dropdown.Menu` — the popup root: `open`, `defaultOpen`, `onOpenChange`
|
|
5189
|
-
* (with Base UI's details: `reason`, `cancel()`), `disabled`, `size`.
|
|
5280
|
+
* (with Base UI's details: `reason`, `cancel()`), `disabled`, `modal`, `size`.
|
|
5190
5281
|
* - `Dropdown.Trigger` — `render` or `asChild`.
|
|
5191
5282
|
* - `Dropdown.Content` — the popup panel: the selection props above, `side`,
|
|
5192
|
-
* `align`, `sideOffset`, `
|
|
5283
|
+
* `align`, `sideOffset`, `alignOffset`, `collisionPadding`,
|
|
5284
|
+
* `collisionBoundary`, `positionerClassName`, `container`, `keepMounted`, `initialFocus`,
|
|
5193
5285
|
* `finalFocus` and the morph options `from`, `effect`, `hideSource`, `tier`.
|
|
5194
5286
|
* - `Dropdown.Item` — a row: `label` or `children`, `textValue`, `icon`,
|
|
5195
5287
|
* `index`, `inset`, `checked`, `onSelect(event)` (`preventDefault()` keeps
|
|
@@ -5226,11 +5318,13 @@ interface DropdownMenuProps {
|
|
|
5226
5318
|
onOpenChange?: (open: boolean, details: DropdownOpenChangeDetails) => void;
|
|
5227
5319
|
/** Disables the menu. Defaults to `false`. */
|
|
5228
5320
|
disabled?: boolean;
|
|
5321
|
+
/** Locks the page scroll while the menu is open and keeps the pointer off everything outside it. Non-modal, the page keeps scrolling and the popup follows its trigger. Defaults to `false`. */
|
|
5322
|
+
modal?: boolean;
|
|
5229
5323
|
/** Pins trigger-side content and the portalled popup rows to one step of the size ladder (default 36px, compact 28px — see Sizes). Omitted, they follow the surrounding SizeProvider. */
|
|
5230
5324
|
size?: SizeVariant;
|
|
5231
5325
|
}
|
|
5232
5326
|
type Element_12xgc42 = JSX_1kxb42["Element"];
|
|
5233
|
-
declare function DropdownMenu({ children, open, defaultOpen, onOpenChange, disabled, size }: DropdownMenuProps): Element_12xgc42;
|
|
5327
|
+
declare function DropdownMenu({ children, open, defaultOpen, onOpenChange, disabled, modal, size }: DropdownMenuProps): Element_12xgc42;
|
|
5234
5328
|
interface DropdownTriggerProps extends SlotProps {
|
|
5235
5329
|
/** Open on hover as well as on press. Defaults to `false`. */
|
|
5236
5330
|
openOnHover?: boolean;
|
|
@@ -5240,7 +5334,7 @@ interface DropdownTriggerProps extends SlotProps {
|
|
|
5240
5334
|
closeDelay?: number;
|
|
5241
5335
|
}
|
|
5242
5336
|
declare const DropdownTrigger: ForwardRefExoticComponent18<DropdownTriggerProps & RefAttributes18<HTMLButtonElement>>;
|
|
5243
|
-
interface DropdownContentProps extends PanelSelectionProps, MenuFocusProps, AnchorProps, MorphProps, Omit<HTMLAttributes37<HTMLDivElement>, "children"> {
|
|
5337
|
+
interface DropdownContentProps extends PanelSelectionProps, MenuFocusProps, AnchorProps, CollisionProps, MorphProps, Omit<HTMLAttributes37<HTMLDivElement>, "children"> {
|
|
5244
5338
|
/** `Dropdown.Item` rows, plus `Dropdown.Label`, `Dropdown.Separator`, `Dropdown.Search`, `Dropdown.Empty`. */
|
|
5245
5339
|
children: ReactNode65;
|
|
5246
5340
|
/** Extra classes for the popup surface — it is 18rem wide by default, at least the trigger's width. */
|
|
@@ -5262,7 +5356,7 @@ interface ContextMenuContentProps extends PanelSelectionProps, MenuFocusProps, O
|
|
|
5262
5356
|
/** Keep the menu mounted (hidden) while closed, so the submenus inside, which inherit it, keep their own selection across opens. Defaults to `false`. */
|
|
5263
5357
|
keepMounted?: boolean;
|
|
5264
5358
|
}
|
|
5265
|
-
declare const ContextMenuContent:
|
|
5359
|
+
declare const ContextMenuContent: ForwardRefExoticComponent_tcubfn50<ContextMenuContentProps & RefAttributes_miuf5650<HTMLDivElement>>;
|
|
5266
5360
|
interface ContextMenuProps {
|
|
5267
5361
|
/** Controlled open state. Pair with `onOpenChange`. */
|
|
5268
5362
|
open?: boolean;
|
|
@@ -5317,17 +5411,17 @@ type Element_12xgc43 = JSX_1kxb43["Element"];
|
|
|
5317
5411
|
* @example {@include ./examples.mdx}
|
|
5318
5412
|
*/
|
|
5319
5413
|
declare const ContextMenu: (({ open, defaultOpen, onOpenChange, disabled, size, children }: ContextMenuProps) => Element_12xgc43) & {
|
|
5320
|
-
Trigger:
|
|
5321
|
-
Content:
|
|
5322
|
-
Item:
|
|
5323
|
-
Label:
|
|
5324
|
-
Separator:
|
|
5414
|
+
Trigger: ForwardRefExoticComponent_tcubfn50<Omit<ContextMenuTriggerProps_uolo3q, "ref"> & RefAttributes_miuf5650<HTMLDivElement>>;
|
|
5415
|
+
Content: ForwardRefExoticComponent_tcubfn50<ContextMenuContentProps & RefAttributes_miuf5650<HTMLDivElement>>;
|
|
5416
|
+
Item: ForwardRefExoticComponent_tcubfn50<MenuItemProps & RefAttributes_miuf5650<HTMLDivElement>>;
|
|
5417
|
+
Label: ForwardRefExoticComponent_tcubfn50<DropdownLabelProps & RefAttributes_miuf5650<HTMLDivElement>>;
|
|
5418
|
+
Separator: ForwardRefExoticComponent_tcubfn50<HTMLAttributes38<HTMLDivElement> & RefAttributes_miuf5650<HTMLDivElement>>;
|
|
5325
5419
|
Sub: typeof DropdownSub;
|
|
5326
|
-
SubTrigger:
|
|
5327
|
-
SubContent:
|
|
5420
|
+
SubTrigger: ForwardRefExoticComponent_tcubfn50<DropdownSubTriggerProps & RefAttributes_miuf5650<HTMLDivElement>>;
|
|
5421
|
+
SubContent: ForwardRefExoticComponent_tcubfn50<DropdownSubContentProps & RefAttributes_miuf5650<HTMLDivElement>>;
|
|
5328
5422
|
};
|
|
5329
5423
|
/** `ContextMenu.Item` by name: Dropdown's row. */
|
|
5330
|
-
declare const ContextMenuItem:
|
|
5424
|
+
declare const ContextMenuItem: ForwardRefExoticComponent_tcubfn50<MenuItemProps & RefAttributes_miuf5650<HTMLDivElement>>;
|
|
5331
5425
|
type ContextMenuItemProps = MenuItemProps;
|
|
5332
5426
|
import { ReactNode as ReactNode67 } from "react";
|
|
5333
5427
|
import { JSX as JSX_1kxb44 } from "react";
|
|
@@ -5388,9 +5482,9 @@ declare const Lightbox: (({ items, value, defaultValue, onValueChange, zoom, chi
|
|
|
5388
5482
|
Trigger: typeof LightboxTrigger;
|
|
5389
5483
|
};
|
|
5390
5484
|
import { Popover as PopoverPrimitive } from "@base-ui/react/popover";
|
|
5391
|
-
import { ComponentProps as
|
|
5392
|
-
import { ForwardRefExoticComponent as
|
|
5393
|
-
import { RefAttributes as
|
|
5485
|
+
import { ComponentProps as ComponentProps6, HTMLAttributes as HTMLAttributes39, ReactNode as ReactNode68 } from "react";
|
|
5486
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn51 } from "react";
|
|
5487
|
+
import { RefAttributes as RefAttributes_miuf5651 } from "react";
|
|
5394
5488
|
import { JSX as JSX_1kxb45 } from "react";
|
|
5395
5489
|
interface PopoverTriggerProps extends SlotProps {
|
|
5396
5490
|
/** Open on hover as well as on press (a tap still toggles it on touch). Defaults to `false`. */
|
|
@@ -5400,10 +5494,10 @@ interface PopoverTriggerProps extends SlotProps {
|
|
|
5400
5494
|
/** Delay before closing once the pointer leaves, in ms. Needs `openOnHover`. Defaults to `0`. */
|
|
5401
5495
|
closeDelay?: number;
|
|
5402
5496
|
}
|
|
5403
|
-
declare const PopoverTrigger:
|
|
5404
|
-
declare const PopoverClose:
|
|
5405
|
-
type PositionerProps =
|
|
5406
|
-
type PopupProps =
|
|
5497
|
+
declare const PopoverTrigger: ForwardRefExoticComponent_tcubfn51<PopoverTriggerProps & RefAttributes_miuf5651<HTMLButtonElement>>;
|
|
5498
|
+
declare const PopoverClose: ForwardRefExoticComponent_tcubfn51<SlotProps & RefAttributes_miuf5651<HTMLButtonElement>>;
|
|
5499
|
+
type PositionerProps = ComponentProps6<typeof PopoverPrimitive.Positioner>;
|
|
5500
|
+
type PopupProps = ComponentProps6<typeof PopoverPrimitive.Popup>;
|
|
5407
5501
|
/** What the panel is positioned against: an element, a ref to one, a virtual element (`{ getBoundingClientRect }`), or a function returning either. */
|
|
5408
5502
|
type PopoverAnchor = PositionerProps["anchor"];
|
|
5409
5503
|
interface PopoverContentProps extends AnchorProps, MorphProps, HTMLAttributes39<HTMLDivElement> {
|
|
@@ -5426,9 +5520,9 @@ interface PopoverContentProps extends AnchorProps, MorphProps, HTMLAttributes39<
|
|
|
5426
5520
|
/** The panel's content. Everything inside reads the popover's surface level as its substrate. */
|
|
5427
5521
|
children?: ReactNode68;
|
|
5428
5522
|
}
|
|
5429
|
-
declare const PopoverContent:
|
|
5430
|
-
declare const PopoverTitle:
|
|
5431
|
-
declare const PopoverDescription:
|
|
5523
|
+
declare const PopoverContent: ForwardRefExoticComponent_tcubfn51<PopoverContentProps & RefAttributes_miuf5651<HTMLDivElement>>;
|
|
5524
|
+
declare const PopoverTitle: ForwardRefExoticComponent_tcubfn51<HTMLAttributes39<HTMLHeadingElement> & RefAttributes_miuf5651<HTMLHeadingElement>>;
|
|
5525
|
+
declare const PopoverDescription: ForwardRefExoticComponent_tcubfn51<HTMLAttributes39<HTMLParagraphElement> & RefAttributes_miuf5651<HTMLParagraphElement>>;
|
|
5432
5526
|
/** What `onOpenChange` receives besides the open state: Base UI's Popover change details. */
|
|
5433
5527
|
type PopoverOpenChangeDetails = PopoverPrimitive.Root.ChangeEventDetails;
|
|
5434
5528
|
interface PopoverProps {
|
|
@@ -5483,16 +5577,16 @@ type Element_12xgc45 = JSX_1kxb45["Element"];
|
|
|
5483
5577
|
* @license MIT © 2026 Saurabh Chauhan
|
|
5484
5578
|
* @license MIT © 2024 ibelick
|
|
5485
5579
|
*/
|
|
5486
|
-
declare const
|
|
5487
|
-
Trigger:
|
|
5488
|
-
Content:
|
|
5489
|
-
Title:
|
|
5490
|
-
Description:
|
|
5491
|
-
Close:
|
|
5580
|
+
declare const Popover3: (({ open, defaultOpen, onOpenChange, modal, children }: PopoverProps) => Element_12xgc45) & {
|
|
5581
|
+
Trigger: ForwardRefExoticComponent_tcubfn51<PopoverTriggerProps & RefAttributes_miuf5651<HTMLButtonElement>>;
|
|
5582
|
+
Content: ForwardRefExoticComponent_tcubfn51<PopoverContentProps & RefAttributes_miuf5651<HTMLDivElement>>;
|
|
5583
|
+
Title: ForwardRefExoticComponent_tcubfn51<HTMLAttributes39<HTMLHeadingElement> & RefAttributes_miuf5651<HTMLHeadingElement>>;
|
|
5584
|
+
Description: ForwardRefExoticComponent_tcubfn51<HTMLAttributes39<HTMLParagraphElement> & RefAttributes_miuf5651<HTMLParagraphElement>>;
|
|
5585
|
+
Close: ForwardRefExoticComponent_tcubfn51<SlotProps & RefAttributes_miuf5651<HTMLButtonElement>>;
|
|
5492
5586
|
};
|
|
5493
5587
|
import { AnchorHTMLAttributes as AnchorHTMLAttributes2, HTMLAttributes as HTMLAttributes40, ReactElement as ReactElement10, ReactNode as ReactNode69 } from "react";
|
|
5494
|
-
import { ForwardRefExoticComponent as
|
|
5495
|
-
import { RefAttributes as
|
|
5588
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn52 } from "react";
|
|
5589
|
+
import { RefAttributes as RefAttributes_miuf5652 } from "react";
|
|
5496
5590
|
import { JSX as JSX_1kxb46 } from "react";
|
|
5497
5591
|
interface PreviewCardTriggerProps extends AnchorHTMLAttributes2<HTMLAnchorElement> {
|
|
5498
5592
|
/** Hover delay before the card opens, in ms. Defaults to `600`. */
|
|
@@ -5506,7 +5600,7 @@ interface PreviewCardTriggerProps extends AnchorHTMLAttributes2<HTMLAnchorElemen
|
|
|
5506
5600
|
/** The link's content. */
|
|
5507
5601
|
children?: ReactNode69;
|
|
5508
5602
|
}
|
|
5509
|
-
declare const PreviewCardTrigger:
|
|
5603
|
+
declare const PreviewCardTrigger: ForwardRefExoticComponent_tcubfn52<PreviewCardTriggerProps & RefAttributes_miuf5652<HTMLAnchorElement>>;
|
|
5510
5604
|
interface PreviewCardContentProps extends AnchorProps, Omit<MorphProps, "from">, HTMLAttributes40<HTMLDivElement> {
|
|
5511
5605
|
/** Where the card grows from (see Morph): the hovered link, its own center, a viewport edge, or a ref to any element. A hover has no press point. */
|
|
5512
5606
|
from?: Exclude<MorphFrom, "pointer">;
|
|
@@ -5515,7 +5609,7 @@ interface PreviewCardContentProps extends AnchorProps, Omit<MorphProps, "from">,
|
|
|
5515
5609
|
/** The card's content. Everything inside reads the card's surface level as its substrate. */
|
|
5516
5610
|
children?: ReactNode69;
|
|
5517
5611
|
}
|
|
5518
|
-
declare const PreviewCardContent:
|
|
5612
|
+
declare const PreviewCardContent: ForwardRefExoticComponent_tcubfn52<PreviewCardContentProps & RefAttributes_miuf5652<HTMLDivElement>>;
|
|
5519
5613
|
interface PreviewCardProps {
|
|
5520
5614
|
/** Controlled open state. Pair with `onOpenChange`. */
|
|
5521
5615
|
open?: boolean;
|
|
@@ -5555,16 +5649,16 @@ type Element_12xgc46 = JSX_1kxb46["Element"];
|
|
|
5555
5649
|
* @license MIT © 2026 Saurabh Chauhan
|
|
5556
5650
|
*/
|
|
5557
5651
|
declare const PreviewCard: (({ open, defaultOpen, onOpenChange, children }: PreviewCardProps) => Element_12xgc46) & {
|
|
5558
|
-
Trigger:
|
|
5559
|
-
Content:
|
|
5652
|
+
Trigger: ForwardRefExoticComponent_tcubfn52<PreviewCardTriggerProps & RefAttributes_miuf5652<HTMLAnchorElement>>;
|
|
5653
|
+
Content: ForwardRefExoticComponent_tcubfn52<PreviewCardContentProps & RefAttributes_miuf5652<HTMLDivElement>>;
|
|
5560
5654
|
};
|
|
5561
5655
|
import { Drawer as DrawerPrimitive } from "@base-ui/react/drawer";
|
|
5562
|
-
import { ComponentProps as
|
|
5563
|
-
import { ForwardRefExoticComponent as
|
|
5564
|
-
import { RefAttributes as
|
|
5656
|
+
import { ComponentProps as ComponentProps7, HTMLAttributes as HTMLAttributes41, ReactNode as ReactNode70 } from "react";
|
|
5657
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn53 } from "react";
|
|
5658
|
+
import { RefAttributes as RefAttributes_miuf5653 } from "react";
|
|
5565
5659
|
import { JSX as JSX_1kxb47 } from "react";
|
|
5566
5660
|
type SheetSide = Side;
|
|
5567
|
-
type DrawerPopupProps =
|
|
5661
|
+
type DrawerPopupProps = ComponentProps7<typeof DrawerPrimitive.Popup>;
|
|
5568
5662
|
interface SheetContentProps extends MorphProps, HTMLAttributes41<HTMLDivElement> {
|
|
5569
5663
|
/** Portal target. Defaults to the nearest `PortalContainer`, else the document body. */
|
|
5570
5664
|
container?: HTMLElement | null;
|
|
@@ -5581,8 +5675,8 @@ interface SheetContentProps extends MorphProps, HTMLAttributes41<HTMLDivElement>
|
|
|
5581
5675
|
/** The sheet's content. Everything inside reads the sheet's surface level as its substrate. */
|
|
5582
5676
|
children?: ReactNode70;
|
|
5583
5677
|
}
|
|
5584
|
-
declare const SheetContent:
|
|
5585
|
-
declare const SheetIndent:
|
|
5678
|
+
declare const SheetContent: ForwardRefExoticComponent_tcubfn53<SheetContentProps & RefAttributes_miuf5653<HTMLDivElement>>;
|
|
5679
|
+
declare const SheetIndent: ForwardRefExoticComponent_tcubfn53<HTMLAttributes41<HTMLDivElement> & RefAttributes_miuf5653<HTMLDivElement>>;
|
|
5586
5680
|
/** What `onOpenChange` receives besides the open state: Base UI's Drawer change details. */
|
|
5587
5681
|
type SheetOpenChangeDetails = DrawerPrimitive.Root.ChangeEventDetails;
|
|
5588
5682
|
interface SheetProps {
|
|
@@ -5634,15 +5728,15 @@ type Element_12xgc47 = JSX_1kxb47["Element"];
|
|
|
5634
5728
|
* @example {@include ./examples.mdx}
|
|
5635
5729
|
*/
|
|
5636
5730
|
declare const Sheet: (({ children, open, defaultOpen, onOpenChange, side, snapPoints, defaultSnapPoint, modal, disablePointerDismissal }: SheetProps) => Element_12xgc47) & {
|
|
5637
|
-
Trigger:
|
|
5638
|
-
Content:
|
|
5731
|
+
Trigger: ForwardRefExoticComponent_tcubfn53<SlotProps & RefAttributes_miuf5653<HTMLButtonElement>>;
|
|
5732
|
+
Content: ForwardRefExoticComponent_tcubfn53<SheetContentProps & RefAttributes_miuf5653<HTMLDivElement>>;
|
|
5639
5733
|
Header: typeof DialogHeader;
|
|
5640
5734
|
Footer: typeof DialogFooter;
|
|
5641
|
-
Title:
|
|
5642
|
-
Description:
|
|
5643
|
-
Close:
|
|
5735
|
+
Title: ForwardRefExoticComponent_tcubfn53<HTMLAttributes41<HTMLHeadingElement> & RefAttributes_miuf5653<HTMLHeadingElement>>;
|
|
5736
|
+
Description: ForwardRefExoticComponent_tcubfn53<HTMLAttributes41<HTMLParagraphElement> & RefAttributes_miuf5653<HTMLParagraphElement>>;
|
|
5737
|
+
Close: ForwardRefExoticComponent_tcubfn53<SlotProps & RefAttributes_miuf5653<HTMLButtonElement>>;
|
|
5644
5738
|
Provider: typeof DrawerPrimitive.Provider;
|
|
5645
|
-
Indent:
|
|
5739
|
+
Indent: ForwardRefExoticComponent_tcubfn53<HTMLAttributes41<HTMLDivElement> & RefAttributes_miuf5653<HTMLDivElement>>;
|
|
5646
5740
|
};
|
|
5647
5741
|
import { ReactNode as ReactNode72 } from "react";
|
|
5648
5742
|
import { ToastManager } from "@base-ui/react/toast";
|
|
@@ -5705,8 +5799,8 @@ declare const toast: ((input: ToastInput) => string) & {
|
|
|
5705
5799
|
};
|
|
5706
5800
|
/** What `<Toast manager>` takes: the global `toast`, or a manager from Base UI's `Toast.createToastManager()`. */
|
|
5707
5801
|
type ToastSource = Pick<ToastManager, " subscribe">;
|
|
5708
|
-
import { ForwardRefExoticComponent as
|
|
5709
|
-
import { RefAttributes as
|
|
5802
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn54 } from "react";
|
|
5803
|
+
import { RefAttributes as RefAttributes_miuf5654 } from "react";
|
|
5710
5804
|
import { JSX as JSX_1kxb48 } from "react";
|
|
5711
5805
|
type ToastPosition = "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
|
|
5712
5806
|
/**
|
|
@@ -5747,13 +5841,13 @@ interface ToastTriggerProps extends Omit<SlotProps, "type" | "title"> {
|
|
|
5747
5841
|
/** The toast if `promise` rejects. */
|
|
5748
5842
|
error?: ToastOptions;
|
|
5749
5843
|
}
|
|
5750
|
-
declare const ToastTrigger:
|
|
5844
|
+
declare const ToastTrigger: ForwardRefExoticComponent_tcubfn54<ToastTriggerProps & RefAttributes_miuf5654<HTMLButtonElement>>;
|
|
5751
5845
|
interface ToastCloseProps extends SlotProps {
|
|
5752
5846
|
/** The Button's variant when there is no `render` element. Defaults to `'ghost'`. */
|
|
5753
5847
|
variant?: NonNullable<ButtonProps["variant"]>;
|
|
5754
5848
|
}
|
|
5755
5849
|
/** Dismisses the toast it sits in: a compact Button around `children`, an ✕ labelled `Close` without them, or `render` / `asChild`. */
|
|
5756
|
-
declare const ToastClose:
|
|
5850
|
+
declare const ToastClose: ForwardRefExoticComponent_tcubfn54<ToastCloseProps & RefAttributes_miuf5654<HTMLButtonElement>>;
|
|
5757
5851
|
interface ToastProps {
|
|
5758
5852
|
/** Where toasts stack; the pill sits on that side and the body opens away from the edge. Defaults to `'top-right'`. */
|
|
5759
5853
|
position?: "top-left" | "top-center" | "top-right" | "bottom-left" | "bottom-center" | "bottom-right";
|
|
@@ -5806,13 +5900,13 @@ type Element_12xgc48 = JSX_1kxb48["Element"];
|
|
|
5806
5900
|
* @license MIT © 2026 hiaaryan
|
|
5807
5901
|
*/
|
|
5808
5902
|
declare const Toast: (({ position, limit, timeout, manager, children }: ToastProps) => Element_12xgc48) & {
|
|
5809
|
-
Trigger:
|
|
5810
|
-
Close:
|
|
5903
|
+
Trigger: ForwardRefExoticComponent_tcubfn54<ToastTriggerProps & RefAttributes_miuf5654<HTMLButtonElement>>;
|
|
5904
|
+
Close: ForwardRefExoticComponent_tcubfn54<ToastCloseProps & RefAttributes_miuf5654<HTMLButtonElement>>;
|
|
5811
5905
|
};
|
|
5812
5906
|
import { HTMLAttributes as HTMLAttributes42, ReactElement as ReactElement11, ReactNode as ReactNode73 } from "react";
|
|
5813
5907
|
import { JSX as JSX_1kxb49 } from "react";
|
|
5814
|
-
import { ForwardRefExoticComponent as
|
|
5815
|
-
import { RefAttributes as
|
|
5908
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn55 } from "react";
|
|
5909
|
+
import { RefAttributes as RefAttributes_miuf5655 } from "react";
|
|
5816
5910
|
type Element_12xgc49 = JSX_1kxb49["Element"];
|
|
5817
5911
|
/** Portals every descendant tooltip (and every other overlay) into `value`; the shared `PortalContainer`. */
|
|
5818
5912
|
declare function TooltipPortalContainer({ value, children }: {
|
|
@@ -5827,17 +5921,21 @@ interface TooltipProviderProps {
|
|
|
5827
5921
|
delayDuration?: number;
|
|
5828
5922
|
/** After a tooltip closes, adjacent tooltips opened within this window skip the hover delay, in ms. Defaults to `300`. */
|
|
5829
5923
|
skipDelayDuration?: number;
|
|
5924
|
+
/** Same as `skipDelayDuration` (Base UI's name); `timeout` wins when both are set. */
|
|
5925
|
+
timeout?: number;
|
|
5926
|
+
/** Delay before tooltips close once the pointer leaves, in ms. Defaults to `0`. */
|
|
5927
|
+
closeDelay?: number;
|
|
5830
5928
|
}
|
|
5831
5929
|
/**
|
|
5832
5930
|
* Groups descendant Tooltips: once one opens, moving to an adjacent trigger
|
|
5833
5931
|
* shows its tooltip at once instead of re-waiting the delay. Wrap once at
|
|
5834
5932
|
* the app or section level; a bare Tooltip still works without it.
|
|
5835
5933
|
*/
|
|
5836
|
-
declare function TooltipProvider({ children, delay, delayDuration, skipDelayDuration }: TooltipProviderProps): Element_12xgc49;
|
|
5934
|
+
declare function TooltipProvider({ children, delay, delayDuration, skipDelayDuration, timeout, closeDelay }: TooltipProviderProps): Element_12xgc49;
|
|
5837
5935
|
type TooltipSide = Side;
|
|
5838
5936
|
type TooltipTriggerProps = SlotProps;
|
|
5839
|
-
declare const TooltipTrigger:
|
|
5840
|
-
interface TooltipContentProps extends Omit<HTMLAttributes42<HTMLDivElement>, "children" | "className"> {
|
|
5937
|
+
declare const TooltipTrigger: ForwardRefExoticComponent_tcubfn55<SlotProps & RefAttributes_miuf5655<HTMLButtonElement>>;
|
|
5938
|
+
interface TooltipContentProps extends CollisionProps, Omit<HTMLAttributes42<HTMLDivElement>, "children" | "className"> {
|
|
5841
5939
|
/** The label. */
|
|
5842
5940
|
children?: ReactNode73;
|
|
5843
5941
|
/** The element the label renders as, inside the inverted surface; `children` go inside it. */
|
|
@@ -5854,7 +5952,7 @@ interface TooltipContentProps extends Omit<HTMLAttributes42<HTMLDivElement>, "ch
|
|
|
5854
5952
|
container?: HTMLElement | null;
|
|
5855
5953
|
/** Classes for the label's surface. */
|
|
5856
5954
|
className?: string;
|
|
5857
|
-
/**
|
|
5955
|
+
/** Same as `positionerClassName`: extra classes for the portalled positioner element, where a z utility lifts the whole tooltip above other fixed layers (default `z-50`). */
|
|
5858
5956
|
contentClassName?: string;
|
|
5859
5957
|
/** Where the label grows from (see Morph): the trigger, the pointer, its own center, a viewport edge, or a ref to any element. Defaults to `'trigger'`. */
|
|
5860
5958
|
from?: MorphFrom;
|
|
@@ -5863,8 +5961,8 @@ interface TooltipContentProps extends Omit<HTMLAttributes42<HTMLDivElement>, "ch
|
|
|
5863
5961
|
/** Spring tier of a plain morph, slide or fade; goo runs on its own `spring.goo`. Defaults to `'moderate'`. */
|
|
5864
5962
|
tier?: MorphTier;
|
|
5865
5963
|
}
|
|
5866
|
-
declare const TooltipContent:
|
|
5867
|
-
interface TooltipProps {
|
|
5964
|
+
declare const TooltipContent: ForwardRefExoticComponent_tcubfn55<TooltipContentProps & RefAttributes_miuf5655<HTMLDivElement>>;
|
|
5965
|
+
interface TooltipProps extends CollisionProps {
|
|
5868
5966
|
/** The content displayed inside the tooltip. Leave it out to use `Tooltip` as the root of a compound tooltip (`Tooltip.Trigger` + `Tooltip.Content` inside). */
|
|
5869
5967
|
content?: ReactNode73;
|
|
5870
5968
|
/** The trigger element, which must accept a ref; or, without `content`, the compound parts. */
|
|
@@ -5881,9 +5979,11 @@ interface TooltipProps {
|
|
|
5881
5979
|
delay?: number;
|
|
5882
5980
|
/** Same as `delay` (Radix's name); `delay` wins when both are set. */
|
|
5883
5981
|
delayDuration?: number;
|
|
5982
|
+
/** Delay before this tooltip closes once the pointer leaves, in ms. Defaults to `0`, or to the ambient `TooltipProvider`'s `closeDelay`. */
|
|
5983
|
+
closeDelay?: number;
|
|
5884
5984
|
/** Additional classes applied to the tooltip content container. */
|
|
5885
5985
|
className?: string;
|
|
5886
|
-
/**
|
|
5986
|
+
/** Same as `positionerClassName`: extra classes for the portalled positioner element, where a z utility lifts the whole tooltip above other fixed layers (default `z-50`). */
|
|
5887
5987
|
contentClassName?: string;
|
|
5888
5988
|
/** Controlled open state: `true` holds it open, `false` holds it closed, `undefined` leaves it to hover and focus. */
|
|
5889
5989
|
open?: boolean;
|
|
@@ -5914,20 +6014,22 @@ interface TooltipProps {
|
|
|
5914
6014
|
* Leave `content` out and `Tooltip` is the root of a compound tooltip: a
|
|
5915
6015
|
* `Tooltip.Trigger` and a `Tooltip.Content` inside it. The root keeps the
|
|
5916
6016
|
* state props (`open`, `defaultOpen`, `onOpenChange`, `delay` or `delayDuration`,
|
|
5917
|
-
* `followCursor`); placement and the morph move to the content. The label
|
|
6017
|
+
* `closeDelay`, `followCursor`); placement and the morph move to the content. The label
|
|
5918
6018
|
* looks and moves the same either way.
|
|
5919
6019
|
*
|
|
5920
6020
|
* Statics:
|
|
5921
6021
|
* - `Tooltip.Trigger` — the described element: `render={<Button/>}` or
|
|
5922
6022
|
* `asChild`, else a plain button around `children`.
|
|
5923
6023
|
* - `Tooltip.Content` — the label: `side`, `align`, `sideOffset`,
|
|
5924
|
-
* `
|
|
6024
|
+
* `alignOffset`, `collisionPadding`, `collisionBoundary`, `container`,
|
|
6025
|
+
* `positionerClassName` (or `contentClassName`), the morph options `from`, `effect`,
|
|
5925
6026
|
* `tier`, and `render` or `asChild` for the label's own element; other
|
|
5926
6027
|
* props land on the popup.
|
|
5927
6028
|
* - `Tooltip.Provider` — `TooltipProvider`: groups tooltips so moving from
|
|
5928
6029
|
* one trigger to an adjacent one skips the hover delay, and the morph: the
|
|
5929
6030
|
* next label shows in place. `delay` (or `delayDuration`) sets the hover
|
|
5930
|
-
* delay of every tooltip in it, `
|
|
6031
|
+
* delay of every tooltip in it, `closeDelay` how long they linger, and
|
|
6032
|
+
* `skipDelayDuration` (or `timeout`) the hand-off window.
|
|
5931
6033
|
* - `Tooltip.PortalContainer` — the shared `PortalContainer`: portal every
|
|
5932
6034
|
* descendant tooltip into a given element instead of the body.
|
|
5933
6035
|
*
|
|
@@ -5935,9 +6037,9 @@ interface TooltipProps {
|
|
|
5935
6037
|
* @source https://github.com/mickadesign/fluid-functionalism/blob/b3587bdbd83fc66c2a6aae3817ffb856cb09260b/registry/base/tooltip.tsx Fluid Functionalism
|
|
5936
6038
|
* @license MIT © 2026 Micka Touillaud
|
|
5937
6039
|
*/
|
|
5938
|
-
declare const Tooltip: (({ content, children, side, align, sideOffset, container, delay, delayDuration, className, contentClassName, open, defaultOpen, onOpenChange, followCursor, from, effect, tier }: TooltipProps) => Element_12xgc49) & {
|
|
5939
|
-
Trigger:
|
|
5940
|
-
Content:
|
|
6040
|
+
declare const Tooltip: (({ content, children, side, align, sideOffset, container, alignOffset, collisionPadding, collisionBoundary, positionerClassName, delay, delayDuration, closeDelay, className, contentClassName, open, defaultOpen, onOpenChange, followCursor, from, effect, tier }: TooltipProps) => Element_12xgc49) & {
|
|
6041
|
+
Trigger: ForwardRefExoticComponent_tcubfn55<SlotProps & RefAttributes_miuf5655<HTMLButtonElement>>;
|
|
6042
|
+
Content: ForwardRefExoticComponent_tcubfn55<TooltipContentProps & RefAttributes_miuf5655<HTMLDivElement>>;
|
|
5941
6043
|
Provider: typeof TooltipProvider;
|
|
5942
6044
|
PortalContainer: typeof TooltipPortalContainer;
|
|
5943
6045
|
};
|
|
@@ -6056,8 +6158,8 @@ declare function Code({ children, language, className }: {
|
|
|
6056
6158
|
className?: string;
|
|
6057
6159
|
}): Element_12xgc52;
|
|
6058
6160
|
import { ComponentPropsWithoutRef as ComponentPropsWithoutRef14 } from "react";
|
|
6059
|
-
import { ForwardRefExoticComponent as
|
|
6060
|
-
import { RefAttributes as
|
|
6161
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn56 } from "react";
|
|
6162
|
+
import { RefAttributes as RefAttributes_miuf5656 } from "react";
|
|
6061
6163
|
interface SkeletonProps extends Omit<ComponentPropsWithoutRef14<"div">, "children" | "className"> {
|
|
6062
6164
|
/** Renders a stack of this many row placeholders, each one control tall and 4px apart, for a list still loading. Omitted, the skeleton is one block you size with `className`. */
|
|
6063
6165
|
rows?: number;
|
|
@@ -6087,7 +6189,7 @@ interface SkeletonProps extends Omit<ComponentPropsWithoutRef14<"div">, "childre
|
|
|
6087
6189
|
*
|
|
6088
6190
|
* @example {@include ./examples.mdx}
|
|
6089
6191
|
*/
|
|
6090
|
-
declare const Skeleton:
|
|
6192
|
+
declare const Skeleton: ForwardRefExoticComponent_tcubfn56<SkeletonProps & RefAttributes_miuf5656<HTMLDivElement>>;
|
|
6091
6193
|
import { ForwardRefExoticComponent as ForwardRefExoticComponent19, ReactNode as ReactNode76, RefAttributes as RefAttributes19 } from "react";
|
|
6092
6194
|
import { JSX as JSX_1kxb53 } from "react";
|
|
6093
6195
|
type ResizableDirection = "horizontal" | "vertical";
|
|
@@ -6274,8 +6376,8 @@ declare const Sortable: (({ items, order, defaultOrder, onOrderChange, orientati
|
|
|
6274
6376
|
Handle: typeof SortableHandle;
|
|
6275
6377
|
};
|
|
6276
6378
|
import { ReactNode as ReactNode79 } from "react";
|
|
6277
|
-
import { ForwardRefExoticComponent as
|
|
6278
|
-
import { RefAttributes as
|
|
6379
|
+
import { ForwardRefExoticComponent as ForwardRefExoticComponent_tcubfn57 } from "react";
|
|
6380
|
+
import { RefAttributes as RefAttributes_miuf5657 } from "react";
|
|
6279
6381
|
type VirtualListAlign = "auto" | "start" | "center" | "end";
|
|
6280
6382
|
/** What a `ref` on VirtualList holds. */
|
|
6281
6383
|
interface VirtualListHandle {
|
|
@@ -6321,7 +6423,7 @@ interface VirtualListProps {
|
|
|
6321
6423
|
*
|
|
6322
6424
|
* @example {@include ./examples.mdx}
|
|
6323
6425
|
*/
|
|
6324
|
-
declare const VirtualList:
|
|
6426
|
+
declare const VirtualList: ForwardRefExoticComponent_tcubfn57<VirtualListProps & RefAttributes_miuf5657<VirtualListHandle>>;
|
|
6325
6427
|
import { ReactNode as ReactNode80 } from "react";
|
|
6326
6428
|
import { JSX as JSX_1kxb55 } from "react";
|
|
6327
6429
|
interface CraftProps {
|
|
@@ -6842,4 +6944,4 @@ type ElevatedComponent = ForwardRefExoticComponent22<ElevatedProps & RefAttribut
|
|
|
6842
6944
|
* @license MIT © 2026 Micka Touillaud
|
|
6843
6945
|
*/
|
|
6844
6946
|
declare const Elevated: ElevatedComponent;
|
|
6845
|
-
export { Accordion, AccordionContent, AccordionContentProps, AccordionGroup, AccordionGroupProps, AccordionItem, AccordionItemProps, AccordionProps, AccordionTrigger, AccordionTriggerProps, AlertDialog, AlertDialogAction, AlertDialogActionProps, AlertDialogCancel, AlertDialogCancelProps, AlertDialogContent, AlertDialogOpenChangeDetails, AlertDialogProps, AnsiSegment, Avatar, AvatarFallback, AvatarFallbackProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarShape, Badge, BadgeColor, BadgeProps, BadgeSize, BadgeVariant, Breadcrumb, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbProps, Button2 as Button, ButtonProps, ButtonSize, ButtonSizeCanonical, ButtonVariant, ButtonVariantsOptions, Calendar, CalendarProps, Card, CardAction, CardBorder, CardButton, CardButtonProps, CardContent, CardDescription, CardDivider, CardEyebrow, CardFeature, CardFeatureProps, CardFooter, CardGroup, CardGroupProps, CardHeader, CardImage, CardImageProps, CardLogo, CardMedia, CardMediaProps, CardOrientation, CardProps, CardTitle, CardTitleProps, CardTitleTag, Checkbox, CheckboxCheckedState, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChoiceList, ChoiceListProps, ChoiceOption, Code, ColorFormat, ColorPicker, ColorPickerPopover, ColorPickerPopoverProps, ColorPickerProps, ColorSwatch, ColorSwatchProps, ColorTile, Combobox, ComboboxChips, ComboboxChipsProps, ComboboxContent, ComboboxContentProps, ComboboxEmpty, ComboboxEmptyProps, ComboboxFooter, ComboboxFooterContext, ComboboxInput, ComboboxInputProps, ComboboxItem, ComboboxItemData, ComboboxItemObject, ComboboxItemProps, ComboboxLabels, ComboboxList, ComboboxListProps, ComboboxProps, ComboboxValue, Command, CommandContent, CommandContentProps, CommandGroup, CommandItem, CommandItems, CommandList, CommandListRoot, CommandPalette, CommandPaletteProps, CommandProps, CommandShortcut, CommandTrigger, ContextMenu, ContextMenuContent, ContextMenuContentProps, ContextMenuItem, ContextMenuItemProps, ContextMenuProps, Copy, CopyAlign, CopyLabels, CopyProps, CopyVariant, Craft, CraftProps, DateOf, DatePicker, DatePickerLabels, DatePickerProps, DateRangeInputProps, DateRangeOf, DateRangePicker, DateRangePickerLabels, DateRangePickerProps, DateValueType, DesktopPlatform, DesktopShell, DesktopShellProps, DesktopTitleBar, Dialog, DialogClose, DialogSlotProps as DialogCloseProps, DialogContent, DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOpenChangeDetails, DialogProps, DialogState, DialogTitle, DialogTrigger, DialogSlotProps as DialogTriggerProps, DialogWidth, Diff, DiffLine, DiffLineKind, DiffProps, DragVerdict, Dropdown, DropdownCheckboxItem, DropdownCheckboxItemProps, DropdownContent, DropdownContentProps, DropdownContextValue, DropdownEmpty, DropdownGroup, DropdownGroupProps, DropdownLabel, DropdownLabelProps, DropdownMenu, DropdownMenuProps, DropdownOpenChangeDetails, DropdownProps, DropdownRadioGroup, DropdownRadioGroupProps, DropdownRadioItem, DropdownRadioItemProps, DropdownSearch, DropdownSearchProps, DropdownSeparator, DropdownShortcut, DropdownShortcutProps, DropdownSub, DropdownSubContent, DropdownSubContentProps, DropdownSubProps, DropdownSubTrigger, DropdownSubTriggerProps, DropdownTrigger, DropdownTriggerProps, DurationPicker, DurationPickerLabels, DurationPickerProps, EditableText, EditableTextProps, Elevated, ElevatedProps, EmptyState, EmptyStateProps, Field2 as Field, FieldControl, FieldControlProps, FieldDescription, FieldDescriptionProps, FieldError, FieldErrorMatch, FieldErrorProps, FieldLabel, FieldLabelProps, FieldProps, FieldValidationMode, FileDropzone, FileDropzoneProps, FileRejection, FileRejectionReason, FileRow, FileRowProps, FileRowStatus, FluidHover, FluidHoverAxis, FluidHoverHighlight, FluidHoverHighlightProps, FluidHoverItem, FluidHoverItemProps, FluidHoverProps, GooFilter, GooIndicator, GooIndicatorProps, IconProvider, Input2 as Input, InputAction, InputActionProps, InputAdornment, InputAdornmentProps, InputFieldProps, InputGroup, InputGroupProps, InputProps, ItemRect, Kbd, KbdProps, KbdVariant, KeyValue, KeyValuePair, KeyValueProps, LIST_POPOVER, LIST_SWITCH, Label2 as Label, LabelProps, Lightbox, LightboxImage, LightboxProps, LightboxTrigger, LightboxTriggerProps, List2 as List, ListProps, ListRow, ListRowProps, ListSection, ListSectionProps, LogView, LogViewProps, Markdown, MarkdownProps, MarkdownProse, MarkdownProseProps, MenuItem2 as MenuItem, MenuItemProps, MenuItemRenderOptions, Meter, MeterProps, MeterTone, MonthPicker, MonthPickerLabels, MonthPickerProps, Morph2 as Morph, MorphEffect, MorphFrom, MorphOptions, MorphOrigin, MorphPart, MorphProps2 as MorphProps, MorphSide, Morph as MorphState, MorphSurface, MorphTier, Motion, MotionProps, NavigationMenu, NavigationMenuContent, NavigationMenuContentProps, NavigationMenuIndicator, NavigationMenuIndicatorProps, NavigationMenuItem, NavigationMenuItemProps, NavigationMenuLink, NavigationMenuLinkProps, NavigationMenuList, NavigationMenuListProps, NavigationMenuProps, NavigationMenuTrigger, NavigationMenuTriggerProps, NumberInput, NumberInputProps, Pagination, PaginationProps, PaginationVariant, ParsedColor,
|
|
6947
|
+
export { Accordion, AccordionContent, AccordionContentProps, AccordionGroup, AccordionGroupProps, AccordionItem, AccordionItemProps, AccordionProps, AccordionTrigger, AccordionTriggerProps, AlertDialog, AlertDialogAction, AlertDialogActionProps, AlertDialogCancel, AlertDialogCancelProps, AlertDialogContent, AlertDialogOpenChangeDetails, AlertDialogProps, AnsiSegment, Avatar, AvatarFallback, AvatarFallbackProps, AvatarImage, AvatarImageProps, AvatarProps, AvatarShape, Badge, BadgeColor, BadgeProps, BadgeSize, BadgeVariant, Breadcrumb, BreadcrumbItem, BreadcrumbItemProps, BreadcrumbProps, Button2 as Button, ButtonProps, ButtonSize, ButtonSizeCanonical, ButtonVariant, ButtonVariantsOptions, Calendar, CalendarProps, Card, CardAction, CardBorder, CardButton, CardButtonProps, CardContent, CardDescription, CardDivider, CardEyebrow, CardFeature, CardFeatureProps, CardFooter, CardGroup, CardGroupProps, CardHeader, CardImage, CardImageProps, CardLogo, CardMedia, CardMediaProps, CardOrientation, CardProps, CardTitle, CardTitleProps, CardTitleTag, Checkbox, CheckboxCheckedState, CheckboxGroup, CheckboxGroupProps, CheckboxProps, ChoiceList, ChoiceListProps, ChoiceOption, Code, ColorFormat, ColorPicker, ColorPickerPopover, ColorPickerPopoverProps, ColorPickerProps, ColorSwatch, ColorSwatchProps, ColorTile, Combobox, ComboboxChips, ComboboxChipsProps, ComboboxContent, ComboboxContentProps, ComboboxEmpty, ComboboxEmptyProps, ComboboxFooter, ComboboxFooterContext, ComboboxInput, ComboboxInputProps, ComboboxItem, ComboboxItemData, ComboboxItemObject, ComboboxItemProps, ComboboxLabels, ComboboxList, ComboboxListProps, ComboboxProps, ComboboxValue, Command, CommandContent, CommandContentProps, CommandGroup, CommandItem, CommandItems, CommandList, CommandListRoot, CommandPalette, CommandPaletteProps, CommandProps, CommandShortcut, CommandTrigger, ContextMenu, ContextMenuContent, ContextMenuContentProps, ContextMenuItem, ContextMenuItemProps, ContextMenuProps, Copy, CopyAlign, CopyLabels, CopyProps, CopyVariant, Craft, CraftProps, DateOf, DatePicker, DatePickerLabels, DatePickerProps, DateRangeInputProps, DateRangeOf, DateRangePicker, DateRangePickerLabels, DateRangePickerProps, DateValueType, DesktopPlatform, DesktopShell, DesktopShellProps, DesktopTitleBar, Dialog, DialogClose, DialogSlotProps as DialogCloseProps, DialogContent, DialogContentProps, DialogDescription, DialogFooter, DialogHeader, DialogOpenChangeDetails, DialogProps, DialogState, DialogTitle, DialogTrigger, DialogSlotProps as DialogTriggerProps, DialogWidth, Diff, DiffLine, DiffLineKind, DiffProps, DragVerdict, Dropdown, DropdownCheckboxItem, DropdownCheckboxItemProps, DropdownContent, DropdownContentProps, DropdownContextValue, DropdownEmpty, DropdownGroup, DropdownGroupProps, DropdownLabel, DropdownLabelProps, DropdownMenu, DropdownMenuProps, DropdownOpenChangeDetails, DropdownProps, DropdownRadioGroup, DropdownRadioGroupProps, DropdownRadioItem, DropdownRadioItemProps, DropdownSearch, DropdownSearchProps, DropdownSeparator, DropdownShortcut, DropdownShortcutProps, DropdownSub, DropdownSubContent, DropdownSubContentProps, DropdownSubProps, DropdownSubTrigger, DropdownSubTriggerProps, DropdownTrigger, DropdownTriggerProps, DurationPicker, DurationPickerLabels, DurationPickerProps, EditableText, EditableTextProps, Elevated, ElevatedProps, EmptyState, EmptyStateProps, Field2 as Field, FieldControl, FieldControlProps, FieldDescription, FieldDescriptionProps, FieldError, FieldErrorMatch, FieldErrorProps, FieldLabel, FieldLabelProps, FieldProps, FieldValidationMode, FileDropzone, FileDropzoneProps, FileRejection, FileRejectionReason, FileRow, FileRowProps, FileRowStatus, FluidHover, FluidHoverAxis, FluidHoverHighlight, FluidHoverHighlightProps, FluidHoverItem, FluidHoverItemProps, FluidHoverProps, GooFilter, GooIndicator, GooIndicatorProps, IconProvider, Input2 as Input, InputAction, InputActionProps, InputAdornment, InputAdornmentProps, InputFieldProps, InputGroup, InputGroupProps, InputProps, ItemRect, Kbd, KbdProps, KbdVariant, KeyValue, KeyValuePair, KeyValueProps, LIST_POPOVER, LIST_SWITCH, Label2 as Label, LabelProps, Lightbox, LightboxImage, LightboxProps, LightboxTrigger, LightboxTriggerProps, List2 as List, ListProps, ListRow, ListRowProps, ListSection, ListSectionProps, LogView, LogViewProps, Markdown, MarkdownProps, MarkdownProse, MarkdownProseProps, MenuItem2 as MenuItem, MenuItemProps, MenuItemRenderOptions, Meter, MeterProps, MeterTone, MonthPicker, MonthPickerLabels, MonthPickerProps, Morph2 as Morph, MorphEffect, MorphFrom, MorphOptions, MorphOrigin, MorphPart, MorphProps2 as MorphProps, MorphSide, Morph as MorphState, MorphSurface, MorphTier, Motion, MotionProps, NavigationMenu, NavigationMenuContent, NavigationMenuContentProps, NavigationMenuIndicator, NavigationMenuIndicatorProps, NavigationMenuItem, NavigationMenuItemProps, NavigationMenuLink, NavigationMenuLinkProps, NavigationMenuList, NavigationMenuListProps, NavigationMenuProps, NavigationMenuTrigger, NavigationMenuTriggerProps, NumberInput, NumberInputProps, Pagination, PaginationProps, PaginationVariant, ParsedColor, Popover3 as Popover, PopoverAnchor, PopoverClose, PopoverContent, PopoverContentProps, PopoverDescription, PopoverOpenChangeDetails, PopoverProps, PopoverTitle, PopoverTrigger, PopoverTriggerProps, PreviewCard, PreviewCardContent, PreviewCardContentProps, PreviewCardProps, PreviewCardTrigger, PreviewCardTriggerProps, Progress, ProgressProps, Radio, RadioGroup2 as RadioGroup, RadioGroupProps, RadioProps, Resizable, ResizableDirection, ResizableHandle, ResizableHandleProps, ResizablePanel, ResizablePanelProps, ResizableProps, SIDEBAR_COOKIE_MAX_AGE, SIDEBAR_COOKIE_NAME, SIDEBAR_KEYBOARD_SHORTCUT, SIDEBAR_KEYBOARD_SHORTCUT_RIGHT, SIDEBAR_MAX_WIDTH, SIDEBAR_MIN_WIDTH, SIDEBAR_WIDTH, SIDEBAR_WIDTH_MOBILE, ScrollArea, ScrollAreaProps, ScrollBar, Search2 as Search, SearchProps, Select, SelectContent, SelectContentProps, SelectGroup, SelectItem, SelectItemProps, SelectLabel, SelectOpenChangeDetails, SelectProps, SelectSeparator, SelectTrigger, SelectTriggerProps, SelectValue, SelectValueProps, Separator2 as Separator, SeparatorOrientation, SeparatorProps, ShapeProvider, Sheet, SheetContent, SheetContentProps, SheetIndent, SheetOpenChangeDetails, SheetProps, SheetSide, ShellCard, ShellCardFooterProps, ShellCardInnerProps, ShellCardProps, Sidebar, SidebarApp, SidebarAppProps, SidebarCollapsible, SidebarContent, SidebarContentProps, SidebarContextValue, SidebarFooter, SidebarGroup, SidebarGroupAction, SidebarGroupActionProps, SidebarGroupActions, SidebarGroupActionsProps, SidebarGroupContent, SidebarGroupLabel, SidebarGroupLabelProps, SidebarGroupProps, SidebarHeader, SidebarInput, SidebarInputProps, SidebarInset, SidebarInsetProps, SidebarInsetTopbar, SidebarMenu, SidebarMenuAction, SidebarMenuActionProps, SidebarMenuActions, SidebarMenuActionsProps, SidebarMenuBadge, SidebarMenuBadgeProps, SidebarMenuButton, SidebarMenuButtonProps, SidebarMenuItem, SidebarMenuItemProps, SidebarMenuProps, SidebarMenuSkeleton, SidebarMenuSkeletonProps, SidebarMenuSub, SidebarMenuSubButton, SidebarMenuSubButtonProps, SidebarMenuSubItem, SidebarMenuSubItemProps, SidebarMenuSubProps, SidebarProps, SidebarProvider, SidebarProviderProps, SidebarRail, SidebarRailProps, SidebarSearchField, SidebarSearchFieldProps, SidebarSectionProps, SidebarSelection, SidebarSelectionValue, SidebarSeparator, SidebarShortcutScope, SidebarSide, SidebarTrigger, SidebarTriggerProps, SidebarVariant, SizeClasses, SizeProvider, SizeScope, SizeVariant, Skeleton, SkeletonProps, Slider, SliderProps, SliderValue, SortDirection, Sortable, SortableAs, SortableHandle, SortableHandleProps, SortableItem, SortableOrientation, SortableProps, Sparkline, SparklineProps, SparklineTone, Spinner, SpinnerProps, SpringTier, StatusDot, StatusDotProps, StatusDotStatus, SurfaceProvider, Switch, SwitchGroup, SwitchGroupProps, SwitchProps, TabItem, TabItemProps, TabPanel, TabPanelProps, Table, TableBody, TableCaption, TableCell, TableCellProps, TableEmpty, TableEmptyProps, TableFooter, TableHead, TableHeadProps, TableHeader, TableHeaderProps, TableProps, TableRow, TableRowProps, TableSort, Tabs, TabsList, TabsListProps, TabsProps, TabsVariant, Textarea, TextareaProps, TimePicker, TimePickerLabels, TimePickerProps, Toast, ToastActionOptions, ToastClose, ToastCloseProps, ToastInput, ToastOptions, ToastPosition, ToastPromiseOptions, ToastProps, ToastSource, ToastTrigger, ToastTriggerProps, ToastType, Tooltip, TooltipContent, TooltipContentProps, TooltipPortalContainer, TooltipProps, TooltipProvider, TooltipProviderProps, TooltipSide, TooltipTrigger, TooltipTriggerProps, Tree, TreeItem, TreeProps, TypeScaleRole, TypeScaleStep, UseFluidHoverOptions, UseFluidHoverReturn, ValuePosition, VirtualList, VirtualListAlign, VirtualListHandle, VirtualListProps, acceptsFile, badgeColors, badgeVariants, buildParsed, buttonVariants, cn, dragVerdict, exitFallbackMs, formatFileSize, parseAnsi, parseColor, parsePatch, sidebarMenuButtonVariants, sizeMap, sortFiles, spring, statusGlyph, surfaceClasses, toast, typeScale, useAutosizeTextarea, useControllableState, useDialogState, useDropdown, useFluidHover, useLift, useMorph, useReduceMotion, useRegisterFluidHoverItem, useSidebar, useSize, useSizeContext, useSizeVariant, useSortableHandle, useSurface, useToast, useTouchPrimary, useTypeScale };
|