@biotechusa/pdo-ui 1.0.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.
Files changed (89) hide show
  1. package/README.md +23 -0
  2. package/dist/alert-dialog.js +80 -0
  3. package/dist/alert.js +49 -0
  4. package/dist/autocomplete.js +137 -0
  5. package/dist/avatar.js +25 -0
  6. package/dist/badge.js +43 -0
  7. package/dist/button.js +52 -0
  8. package/dist/card.js +52 -0
  9. package/dist/checkbox-group.js +10 -0
  10. package/dist/checkbox.js +47 -0
  11. package/dist/combobox.js +214 -0
  12. package/dist/dialog.js +89 -0
  13. package/dist/empty.js +85 -0
  14. package/dist/field.js +34 -0
  15. package/dist/fieldset.js +18 -0
  16. package/dist/form.js +11 -0
  17. package/dist/frame.js +45 -0
  18. package/dist/group.js +48 -0
  19. package/dist/index.css +5026 -0
  20. package/dist/index.js +43 -0
  21. package/dist/input-group.js +66 -0
  22. package/dist/input.js +17 -0
  23. package/dist/label.js +10 -0
  24. package/dist/lib/utils.d.ts +2 -0
  25. package/dist/menu.js +141 -0
  26. package/dist/number-field.js +88 -0
  27. package/dist/pagination.js +95 -0
  28. package/dist/popover.js +52 -0
  29. package/dist/progress.js +42 -0
  30. package/dist/radio-group.js +23 -0
  31. package/dist/scroll-area.js +44 -0
  32. package/dist/select.js +118 -0
  33. package/dist/separator.js +12 -0
  34. package/dist/sheet.js +104 -0
  35. package/dist/skeleton.js +10 -0
  36. package/dist/slider.js +61 -0
  37. package/dist/spinner.js +12 -0
  38. package/dist/src/alert-dialog.d.ts +12 -0
  39. package/dist/src/alert.d.ts +10 -0
  40. package/dist/src/autocomplete.d.ts +23 -0
  41. package/dist/src/avatar.d.ts +5 -0
  42. package/dist/src/badge.d.ts +12 -0
  43. package/dist/src/button.d.ts +13 -0
  44. package/dist/src/card.d.ts +9 -0
  45. package/dist/src/checkbox-group.d.ts +3 -0
  46. package/dist/src/checkbox.d.ts +3 -0
  47. package/dist/src/combobox.d.ts +25 -0
  48. package/dist/src/dialog.d.ts +14 -0
  49. package/dist/src/empty.d.ts +11 -0
  50. package/dist/src/field.d.ts +8 -0
  51. package/dist/src/fieldset.d.ts +4 -0
  52. package/dist/src/form.d.ts +3 -0
  53. package/dist/src/frame.d.ts +8 -0
  54. package/dist/src/group.d.ts +17 -0
  55. package/dist/src/index.d.ts +44 -0
  56. package/dist/src/input-group.d.ts +13 -0
  57. package/dist/src/input.d.ts +8 -0
  58. package/dist/src/label.d.ts +3 -0
  59. package/dist/src/menu.d.ts +34 -0
  60. package/dist/src/number-field.d.ts +12 -0
  61. package/dist/src/pagination.d.ts +15 -0
  62. package/dist/src/popover.d.ts +14 -0
  63. package/dist/src/progress.d.ts +7 -0
  64. package/dist/src/radio-group.d.ts +5 -0
  65. package/dist/src/scroll-area.d.ts +6 -0
  66. package/dist/src/select.d.ts +15 -0
  67. package/dist/src/separator.d.ts +3 -0
  68. package/dist/src/sheet.d.ts +19 -0
  69. package/dist/src/skeleton.d.ts +2 -0
  70. package/dist/src/slider.d.ts +4 -0
  71. package/dist/src/spinner.d.ts +2 -0
  72. package/dist/src/switch.d.ts +3 -0
  73. package/dist/src/table.d.ts +10 -0
  74. package/dist/src/tabs.d.ts +9 -0
  75. package/dist/src/textarea.d.ts +7 -0
  76. package/dist/src/toggle-group.d.ts +12 -0
  77. package/dist/src/toggle.d.ts +8 -0
  78. package/dist/src/toolbar.d.ts +8 -0
  79. package/dist/src/tooltip.d.ts +10 -0
  80. package/dist/styles.css +144 -0
  81. package/dist/switch.js +15 -0
  82. package/dist/table.js +63 -0
  83. package/dist/tabs.js +39 -0
  84. package/dist/textarea.js +19 -0
  85. package/dist/toggle-group.js +49 -0
  86. package/dist/toggle.js +33 -0
  87. package/dist/toolbar.js +46 -0
  88. package/dist/tooltip.js +29 -0
  89. package/package.json +76 -0
package/dist/select.js ADDED
@@ -0,0 +1,118 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { Select } from "@base-ui-components/react/select";
3
+ import { ChevronDownIcon, ChevronUpIcon, ChevronsUpDownIcon } from "lucide-react";
4
+ import { cn } from "../lib/utils";
5
+ const select_Select = Select.Root;
6
+ function SelectTrigger({ className, size = "default", children, ...props }) {
7
+ return /*#__PURE__*/ jsxs(Select.Trigger, {
8
+ className: cn("relative inline-flex w-full min-w-36 select-none items-center justify-between gap-2 rounded-lg border border-input bg-background bg-clip-padding px-[calc(--spacing(3)-1px)] py-[calc(--spacing(1.5)-1px)] in-data-[slot=field]:not-data-filled:text-muted-foreground text-base/5 shadow-xs outline-none ring-ring/24 transition-shadow before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] not-data-disabled:not-focus-visible:not-aria-invalid:not-data-pressed:before:shadow-[0_1px_--theme(--color-black/4%)] pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 focus-visible:border-ring focus-visible:ring-[3px] aria-invalid:border-destructive/36 focus-visible:aria-invalid:border-destructive/64 focus-visible:aria-invalid:ring-destructive/16 data-disabled:pointer-events-none data-disabled:opacity-64 sm:text-sm dark:bg-input/32 dark:not-in-data-[slot=group]:bg-clip-border dark:aria-invalid:ring-destructive/24 dark:not-data-disabled:not-focus-visible:not-aria-invalid:not-data-pressed:before:shadow-[0_-1px_--theme(--color-white/8%)] [&:is([data-disabled],:focus-visible,[aria-invalid],[data-pressed])]:shadow-none [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0 [&_svg]:opacity-72", "sm" === size && "gap-1.5 px-[calc(--spacing(2.5)-1px)] py-[calc(--spacing(1)-1px)]", "lg" === size && "py-[calc(--spacing(2)-1px)]", className),
9
+ "data-slot": "select-trigger",
10
+ ...props,
11
+ children: [
12
+ children,
13
+ /*#__PURE__*/ jsx(Select.Icon, {
14
+ "data-slot": "select-icon",
15
+ children: /*#__PURE__*/ jsx(ChevronsUpDownIcon, {
16
+ className: "-me-1 size-4 opacity-72"
17
+ })
18
+ })
19
+ ]
20
+ });
21
+ }
22
+ function SelectValue({ className, ...props }) {
23
+ return /*#__PURE__*/ jsx(Select.Value, {
24
+ className: cn("flex-1 truncate", className),
25
+ "data-slot": "select-value",
26
+ ...props
27
+ });
28
+ }
29
+ function SelectPopup({ className, children, sideOffset = 4, alignItemWithTrigger = true, ...props }) {
30
+ return /*#__PURE__*/ jsx(Select.Portal, {
31
+ children: /*#__PURE__*/ jsx(Select.Positioner, {
32
+ alignItemWithTrigger: alignItemWithTrigger,
33
+ className: "z-50 select-none",
34
+ "data-slot": "select-positioner",
35
+ sideOffset: sideOffset,
36
+ children: /*#__PURE__*/ jsxs(Select.Popup, {
37
+ className: "origin-(--transform-origin) transition-[scale,opacity] has-data-[side=none]:scale-100 has-data-starting-style:scale-98 has-data-starting-style:opacity-0 has-data-[side=none]:transition-none",
38
+ "data-slot": "select-popup",
39
+ ...props,
40
+ children: [
41
+ /*#__PURE__*/ jsx(Select.ScrollUpArrow, {
42
+ className: "top-0 z-50 flex h-6 w-full cursor-default items-center justify-center before:pointer-events-none before:absolute before:inset-x-px before:top-px before:h-[200%] before:rounded-t-[calc(var(--radius-lg)-1px)] before:bg-gradient-to-b before:from-50% before:from-popover",
43
+ "data-slot": "select-scroll-up-arrow",
44
+ children: /*#__PURE__*/ jsx(ChevronUpIcon, {
45
+ className: "relative size-4"
46
+ })
47
+ }),
48
+ /*#__PURE__*/ jsx("span", {
49
+ className: "relative block h-full rounded-lg border bg-popover bg-clip-padding before:pointer-events-none before:absolute before:inset-0 before:rounded-[calc(var(--radius-lg)-1px)] before:shadow-lg dark:not-in-data-[slot=group]:bg-clip-border",
50
+ children: /*#__PURE__*/ jsx(Select.List, {
51
+ className: cn("max-h-(--available-height) min-w-(--anchor-width) overflow-y-auto p-1", className),
52
+ "data-slot": "select-list",
53
+ children: children
54
+ })
55
+ }),
56
+ /*#__PURE__*/ jsx(Select.ScrollDownArrow, {
57
+ className: "bottom-0 z-50 flex h-6 w-full cursor-default items-center justify-center before:pointer-events-none before:absolute before:inset-x-px before:bottom-px before:h-[200%] before:rounded-b-[calc(var(--radius-lg)-1px)] before:bg-gradient-to-t before:from-50% before:from-popover",
58
+ "data-slot": "select-scroll-down-arrow",
59
+ children: /*#__PURE__*/ jsx(ChevronDownIcon, {
60
+ className: "relative size-4"
61
+ })
62
+ })
63
+ ]
64
+ })
65
+ })
66
+ });
67
+ }
68
+ function SelectItem({ className, children, ...props }) {
69
+ return /*#__PURE__*/ jsxs(Select.Item, {
70
+ className: cn("grid in-data-[side=none]:min-w-[calc(var(--anchor-width)+1.25rem)] cursor-default grid-cols-[1rem_1fr] items-center gap-2 rounded-sm py-1 ps-2 pe-4 text-base outline-none data-disabled:pointer-events-none data-highlighted:bg-accent data-highlighted:text-accent-foreground data-disabled:opacity-64 sm:text-sm [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0", className),
71
+ "data-slot": "select-item",
72
+ ...props,
73
+ children: [
74
+ /*#__PURE__*/ jsx(Select.ItemIndicator, {
75
+ className: "col-start-1",
76
+ children: /*#__PURE__*/ jsx("svg", {
77
+ fill: "none",
78
+ height: "24",
79
+ stroke: "currentColor",
80
+ strokeLinecap: "round",
81
+ strokeLinejoin: "round",
82
+ strokeWidth: "2",
83
+ viewBox: "0 0 24 24",
84
+ width: "24",
85
+ xmlns: "http://www.w3.org/1500/svg",
86
+ children: /*#__PURE__*/ jsx("path", {
87
+ d: "M5.252 12.7 10.2 18.63 18.748 5.37"
88
+ })
89
+ })
90
+ }),
91
+ /*#__PURE__*/ jsx(Select.ItemText, {
92
+ className: "col-start-2 min-w-0",
93
+ children: children
94
+ })
95
+ ]
96
+ });
97
+ }
98
+ function SelectSeparator({ className, ...props }) {
99
+ return /*#__PURE__*/ jsx(Select.Separator, {
100
+ className: cn("mx-2 my-1 h-px bg-border", className),
101
+ "data-slot": "select-separator",
102
+ ...props
103
+ });
104
+ }
105
+ function SelectGroup(props) {
106
+ return /*#__PURE__*/ jsx(Select.Group, {
107
+ "data-slot": "select-group",
108
+ ...props
109
+ });
110
+ }
111
+ function SelectGroupLabel(props) {
112
+ return /*#__PURE__*/ jsx(Select.GroupLabel, {
113
+ className: "px-2 py-1.5 font-medium text-muted-foreground text-xs",
114
+ "data-slot": "select-group-label",
115
+ ...props
116
+ });
117
+ }
118
+ export { select_Select as Select, SelectPopup as SelectContent, SelectGroup, SelectGroupLabel, SelectItem, SelectPopup, SelectSeparator, SelectTrigger, SelectValue };
@@ -0,0 +1,12 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { Separator } from "@base-ui-components/react/separator";
3
+ import { cn } from "../lib/utils";
4
+ function separator_Separator({ className, orientation = "horizontal", ...props }) {
5
+ return /*#__PURE__*/ jsx(Separator, {
6
+ className: cn("shrink-0 bg-border data-[orientation=horizontal]:h-px data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-px data-[orientation=vertical]:not-[[class^='h-']]:not-[[class*='_h-']]:self-stretch", className),
7
+ "data-slot": "separator",
8
+ orientation: orientation,
9
+ ...props
10
+ });
11
+ }
12
+ export { separator_Separator as Separator };
package/dist/sheet.js ADDED
@@ -0,0 +1,104 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { Dialog } from "@base-ui-components/react/dialog";
3
+ import { cva } from "class-variance-authority";
4
+ import { XIcon } from "lucide-react";
5
+ import { cn } from "../lib/utils";
6
+ const Sheet = Dialog.Root;
7
+ function SheetTrigger(props) {
8
+ return /*#__PURE__*/ jsx(Dialog.Trigger, {
9
+ "data-slot": "sheet-trigger",
10
+ ...props
11
+ });
12
+ }
13
+ function SheetPortal(props) {
14
+ return /*#__PURE__*/ jsx(Dialog.Portal, {
15
+ ...props
16
+ });
17
+ }
18
+ function SheetClose(props) {
19
+ return /*#__PURE__*/ jsx(Dialog.Close, {
20
+ "data-slot": "sheet-close",
21
+ ...props
22
+ });
23
+ }
24
+ const sheetPopupVariants = cva("fixed z-50 flex flex-col gap-4 overflow-y-auto bg-popover text-popover-foreground shadow-lg transition-[opacity,translate] duration-300 ease-in-out will-change-transform [--sheet-inset:0px] data-ending-style:opacity-0 data-starting-style:opacity-0", {
25
+ defaultVariants: {
26
+ inset: false,
27
+ side: "right"
28
+ },
29
+ variants: {
30
+ inset: {
31
+ true: "sm:rounded-xl sm:[--sheet-inset:1rem]"
32
+ },
33
+ side: {
34
+ bottom: "inset-x-[var(--sheet-inset)] bottom-[var(--sheet-inset)] h-auto max-h-[calc(100dvh-var(--sheet-inset)*2)] data-ending-style:translate-y-12 data-starting-style:translate-y-12",
35
+ left: "data-ending-style:-translate-x-12 data-starting-style:-translate-x-12 inset-y-[var(--sheet-inset)] left-[var(--sheet-inset)] h-dvh w-[calc(100%-(--spacing(12)))] max-w-sm sm:h-[calc(100dvh-var(--sheet-inset)*2)]",
36
+ right: "inset-y-[var(--sheet-inset)] right-[var(--sheet-inset)] h-dvh w-[calc(100%-(--spacing(12)))] max-w-sm data-ending-style:translate-x-12 data-starting-style:translate-x-12 sm:h-[calc(100dvh-var(--sheet-inset)*2)]",
37
+ top: "data-ending-style:-translate-y-12 data-starting-style:-translate-y-12 inset-x-[var(--sheet-inset)] top-[var(--sheet-inset)] h-auto max-h-[calc(100dvh-var(--sheet-inset)*2)]"
38
+ }
39
+ }
40
+ });
41
+ function SheetBackdrop({ className, ...props }) {
42
+ return /*#__PURE__*/ jsx(Dialog.Backdrop, {
43
+ className: cn("fixed inset-0 z-50 bg-black/32 backdrop-blur-sm transition-all duration-200 data-ending-style:opacity-0 data-starting-style:opacity-0", className),
44
+ "data-slot": "sheet-backdrop",
45
+ ...props
46
+ });
47
+ }
48
+ function SheetPopup({ className, children, showCloseButton = true, side = "right", inset = false, ...props }) {
49
+ return /*#__PURE__*/ jsxs(SheetPortal, {
50
+ children: [
51
+ /*#__PURE__*/ jsx(SheetBackdrop, {}),
52
+ /*#__PURE__*/ jsxs(Dialog.Popup, {
53
+ className: cn(sheetPopupVariants({
54
+ inset,
55
+ side
56
+ }), className),
57
+ "data-slot": "sheet-popup",
58
+ ...props,
59
+ children: [
60
+ children,
61
+ showCloseButton && /*#__PURE__*/ jsxs(Dialog.Close, {
62
+ className: "absolute end-2 top-2 inline-flex size-7 shrink-0 cursor-pointer items-center justify-center rounded-md border border-transparent opacity-72 outline-none transition-[color,background-color,box-shadow,opacity] pointer-coarse:after:absolute pointer-coarse:after:size-full pointer-coarse:after:min-h-11 pointer-coarse:after:min-w-11 hover:opacity-100 focus-visible:ring-2 focus-visible:ring-ring focus-visible:ring-offset-1 focus-visible:ring-offset-background [&_svg:not([class*='size-'])]:size-4 [&_svg]:pointer-events-none [&_svg]:shrink-0",
63
+ children: [
64
+ /*#__PURE__*/ jsx(XIcon, {}),
65
+ /*#__PURE__*/ jsx("span", {
66
+ className: "sr-only",
67
+ children: "Close"
68
+ })
69
+ ]
70
+ })
71
+ ]
72
+ })
73
+ ]
74
+ });
75
+ }
76
+ function SheetHeader({ className, ...props }) {
77
+ return /*#__PURE__*/ jsx("div", {
78
+ className: cn("flex flex-col gap-1.5 p-4", className),
79
+ "data-slot": "sheet-header",
80
+ ...props
81
+ });
82
+ }
83
+ function SheetFooter({ className, ...props }) {
84
+ return /*#__PURE__*/ jsx("div", {
85
+ className: cn("mt-auto flex flex-col gap-2 p-4", className),
86
+ "data-slot": "sheet-footer",
87
+ ...props
88
+ });
89
+ }
90
+ function SheetTitle({ className, ...props }) {
91
+ return /*#__PURE__*/ jsx(Dialog.Title, {
92
+ className: cn("font-semibold", className),
93
+ "data-slot": "sheet-title",
94
+ ...props
95
+ });
96
+ }
97
+ function SheetDescription({ className, ...props }) {
98
+ return /*#__PURE__*/ jsx(Dialog.Description, {
99
+ className: cn("text-muted-foreground text-sm", className),
100
+ "data-slot": "sheet-description",
101
+ ...props
102
+ });
103
+ }
104
+ export { Sheet, SheetBackdrop, SheetClose, SheetPopup as SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetBackdrop as SheetOverlay, SheetPopup, SheetPortal, SheetTitle, SheetTrigger, sheetPopupVariants };
@@ -0,0 +1,10 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { cn } from "../lib/utils";
3
+ function Skeleton({ className, ...props }) {
4
+ return /*#__PURE__*/ jsx("div", {
5
+ className: cn("animate-skeleton rounded-sm [--skeleton-highlight:--alpha(var(--color-white)/64%)] [background:linear-gradient(120deg,transparent_40%,var(--skeleton-highlight),transparent_60%)_var(--color-muted)_0_0_/_200%_100%_fixed] dark:[--skeleton-highlight:--alpha(var(--color-white)/4%)]", className),
6
+ "data-slot": "skeleton",
7
+ ...props
8
+ });
9
+ }
10
+ export { Skeleton };
package/dist/slider.js ADDED
@@ -0,0 +1,61 @@
1
+ import { jsx, jsxs } from "react/jsx-runtime";
2
+ import { Slider } from "@base-ui-components/react/slider";
3
+ import { useMemo } from "react";
4
+ import { cn } from "../lib/utils";
5
+ function slider_Slider({ className, children, defaultValue, value, min = 0, max = 100, ...props }) {
6
+ const _values = useMemo(()=>{
7
+ if (void 0 !== value) return Array.isArray(value) ? value : [
8
+ value
9
+ ];
10
+ if (void 0 !== defaultValue) return Array.isArray(defaultValue) ? defaultValue : [
11
+ defaultValue
12
+ ];
13
+ return [
14
+ min
15
+ ];
16
+ }, [
17
+ value,
18
+ defaultValue,
19
+ min
20
+ ]);
21
+ return /*#__PURE__*/ jsxs(Slider.Root, {
22
+ className: "data-[orientation=horizontal]:w-full",
23
+ defaultValue: defaultValue,
24
+ max: max,
25
+ min: min,
26
+ thumbAlignment: "edge",
27
+ value: value,
28
+ ...props,
29
+ children: [
30
+ children,
31
+ /*#__PURE__*/ jsx(Slider.Control, {
32
+ className: cn("flex touch-none select-none data-[disabled]:pointer-events-none data-[orientation=vertical]:h-full data-[orientation=vertical]:min-h-44 data-[orientation=horizontal]:w-full data-[orientation=horizontal]:min-w-44 data-[orientation=vertical]:flex-col data-disabled:opacity-64", className),
33
+ "data-slot": "slider-control",
34
+ children: /*#__PURE__*/ jsxs(Slider.Track, {
35
+ className: "relative grow select-none before:absolute before:rounded-full before:bg-input data-[orientation=horizontal]:h-1 data-[orientation=vertical]:h-full data-[orientation=horizontal]:w-full data-[orientation=vertical]:w-1 data-[orientation=horizontal]:before:inset-x-0.5 data-[orientation=vertical]:before:inset-x-0 data-[orientation=horizontal]:before:inset-y-0 data-[orientation=vertical]:before:inset-y-0.5",
36
+ "data-slot": "slider-track",
37
+ children: [
38
+ /*#__PURE__*/ jsx(Slider.Indicator, {
39
+ className: "select-none rounded-full bg-primary data-[orientation=horizontal]:ms-0.5 data-[orientation=vertical]:mb-0.5",
40
+ "data-slot": "slider-indicator"
41
+ }),
42
+ Array.from({
43
+ length: _values.length
44
+ }, (_, index)=>/*#__PURE__*/ jsx(Slider.Thumb, {
45
+ className: "block size-4 shrink-0 select-none rounded-full border border-input bg-white bg-clip-padding shadow-xs outline-none transition-shadow before:absolute before:inset-0 before:rounded-full before:shadow-[0_1px_--theme(--color-black/4%)] focus-visible:ring-[3px] focus-visible:ring-ring/24 has-focus-visible:ring-[3px] has-focus-visible:ring-ring/24 data-dragging:ring-[3px] data-dragging:ring-ring/24 dark:border-background dark:bg-clip-border dark:data-dragging:ring-ring/48 dark:focus-visible:ring-ring/48 [&:is(:focus-visible,[data-dragging])]:shadow-none",
46
+ "data-slot": "slider-thumb"
47
+ }, String(index)))
48
+ ]
49
+ })
50
+ })
51
+ ]
52
+ });
53
+ }
54
+ function SliderValue({ className, ...props }) {
55
+ return /*#__PURE__*/ jsx(Slider.Value, {
56
+ className: cn("flex justify-end text-sm", className),
57
+ "data-slot": "slider-value",
58
+ ...props
59
+ });
60
+ }
61
+ export { slider_Slider as Slider, SliderValue };
@@ -0,0 +1,12 @@
1
+ import { jsx } from "react/jsx-runtime";
2
+ import { Loader2Icon } from "lucide-react";
3
+ import { cn } from "../lib/utils";
4
+ function Spinner({ className, ...props }) {
5
+ return /*#__PURE__*/ jsx(Loader2Icon, {
6
+ "aria-label": "Loading",
7
+ className: cn("size-4 animate-spin", className),
8
+ role: "status",
9
+ ...props
10
+ });
11
+ }
12
+ export { Spinner };
@@ -0,0 +1,12 @@
1
+ import { AlertDialog as AlertDialogPrimitive } from "@base-ui-components/react/alert-dialog";
2
+ declare function AlertDialog(props: AlertDialogPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
3
+ declare function AlertDialogTrigger(props: AlertDialogPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
4
+ declare function AlertDialogPortal(props: AlertDialogPrimitive.Portal.Props): import("react/jsx-runtime").JSX.Element;
5
+ declare function AlertDialogBackdrop({ className, ...props }: AlertDialogPrimitive.Backdrop.Props): import("react/jsx-runtime").JSX.Element;
6
+ declare function AlertDialogPopup({ className, ...props }: AlertDialogPrimitive.Popup.Props): import("react/jsx-runtime").JSX.Element;
7
+ declare function AlertDialogHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
8
+ declare function AlertDialogFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
9
+ declare function AlertDialogTitle({ className, ...props }: AlertDialogPrimitive.Title.Props): import("react/jsx-runtime").JSX.Element;
10
+ declare function AlertDialogDescription({ className, ...props }: AlertDialogPrimitive.Description.Props): import("react/jsx-runtime").JSX.Element;
11
+ declare function AlertDialogClose(props: AlertDialogPrimitive.Close.Props): import("react/jsx-runtime").JSX.Element;
12
+ export { AlertDialog, AlertDialogPortal, AlertDialogBackdrop, AlertDialogBackdrop as AlertDialogOverlay, AlertDialogTrigger, AlertDialogPopup, AlertDialogPopup as AlertDialogContent, AlertDialogHeader, AlertDialogFooter, AlertDialogTitle, AlertDialogDescription, AlertDialogClose, };
@@ -0,0 +1,10 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import type * as React from "react";
3
+ declare const alertVariants: (props?: ({
4
+ variant?: "default" | "error" | "info" | "success" | "warning" | null | undefined;
5
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
6
+ declare function Alert({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof alertVariants>): import("react/jsx-runtime").JSX.Element;
7
+ declare function AlertTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
8
+ declare function AlertDescription({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
9
+ declare function AlertAction({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
10
+ export { Alert, AlertTitle, AlertDescription, AlertAction };
@@ -0,0 +1,23 @@
1
+ import { Autocomplete as AutocompletePrimitive } from "@base-ui-components/react/autocomplete";
2
+ declare const Autocomplete: typeof AutocompletePrimitive.Root;
3
+ declare function AutocompleteInput({ className, showTrigger, showClear, size, ...props }: Omit<AutocompletePrimitive.Input.Props, "size"> & {
4
+ showTrigger?: boolean;
5
+ showClear?: boolean;
6
+ size?: "sm" | "default" | "lg" | number;
7
+ }): import("react/jsx-runtime").JSX.Element;
8
+ declare function AutocompletePopup({ className, children, sideOffset, ...props }: AutocompletePrimitive.Popup.Props & {
9
+ sideOffset?: number;
10
+ }): import("react/jsx-runtime").JSX.Element;
11
+ declare function AutocompleteItem({ className, children, ...props }: AutocompletePrimitive.Item.Props): import("react/jsx-runtime").JSX.Element;
12
+ declare function AutocompleteSeparator({ className, ...props }: AutocompletePrimitive.Separator.Props): import("react/jsx-runtime").JSX.Element;
13
+ declare function AutocompleteGroup({ className, ...props }: AutocompletePrimitive.Group.Props): import("react/jsx-runtime").JSX.Element;
14
+ declare function AutocompleteGroupLabel({ className, ...props }: AutocompletePrimitive.GroupLabel.Props): import("react/jsx-runtime").JSX.Element;
15
+ declare function AutocompleteEmpty({ className, ...props }: AutocompletePrimitive.Empty.Props): import("react/jsx-runtime").JSX.Element;
16
+ declare function AutocompleteRow({ className, ...props }: AutocompletePrimitive.Row.Props): import("react/jsx-runtime").JSX.Element;
17
+ declare function AutocompleteValue({ ...props }: AutocompletePrimitive.Value.Props): import("react/jsx-runtime").JSX.Element;
18
+ declare function AutocompleteList({ className, ...props }: AutocompletePrimitive.List.Props): import("react/jsx-runtime").JSX.Element;
19
+ declare function AutocompleteClear({ className, ...props }: AutocompletePrimitive.Clear.Props): import("react/jsx-runtime").JSX.Element;
20
+ declare function AutocompleteStatus({ className, ...props }: AutocompletePrimitive.Status.Props): import("react/jsx-runtime").JSX.Element;
21
+ declare function AutocompleteCollection({ ...props }: AutocompletePrimitive.Collection.Props): import("react/jsx-runtime").JSX.Element;
22
+ declare function AutocompleteTrigger({ className, ...props }: AutocompletePrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
23
+ export { Autocomplete, AutocompleteInput, AutocompleteTrigger, AutocompletePopup, AutocompleteItem, AutocompleteSeparator, AutocompleteGroup, AutocompleteGroupLabel, AutocompleteEmpty, AutocompleteValue, AutocompleteList, AutocompleteClear, AutocompleteStatus, AutocompleteRow, AutocompleteCollection, };
@@ -0,0 +1,5 @@
1
+ import { Avatar as AvatarPrimitive } from "@base-ui-components/react/avatar";
2
+ declare function Avatar({ className, ...props }: AvatarPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
3
+ declare function AvatarImage({ className, ...props }: AvatarPrimitive.Image.Props): import("react/jsx-runtime").JSX.Element;
4
+ declare function AvatarFallback({ className, ...props }: AvatarPrimitive.Fallback.Props): import("react/jsx-runtime").JSX.Element;
5
+ export { Avatar, AvatarImage, AvatarFallback };
@@ -0,0 +1,12 @@
1
+ import { useRender } from "@base-ui-components/react/use-render";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ declare const badgeVariants: (props?: ({
4
+ size?: "default" | "sm" | "lg" | null | undefined;
5
+ variant?: "default" | "error" | "info" | "success" | "warning" | "destructive" | "outline" | "secondary" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ interface BadgeProps extends useRender.ComponentProps<"span"> {
8
+ variant?: VariantProps<typeof badgeVariants>["variant"];
9
+ size?: VariantProps<typeof badgeVariants>["size"];
10
+ }
11
+ declare function Badge({ className, variant, size, render, ...props }: BadgeProps): import("react").ReactElement<unknown, string | import("react").JSXElementConstructor<any>>;
12
+ export { Badge, badgeVariants };
@@ -0,0 +1,13 @@
1
+ import { useRender } from "@base-ui-components/react/use-render";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ import type * as React from "react";
4
+ declare const buttonVariants: (props?: ({
5
+ size?: "touch" | "default" | "icon" | "sm" | "lg" | "icon-lg" | "icon-sm" | "icon-xl" | "icon-xs" | "xl" | "xs" | null | undefined;
6
+ variant?: "link" | "default" | "destructive" | "outline" | "secondary" | "destructive-outline" | "ghost" | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
+ interface ButtonProps extends useRender.ComponentProps<"button"> {
9
+ variant?: VariantProps<typeof buttonVariants>["variant"];
10
+ size?: VariantProps<typeof buttonVariants>["size"];
11
+ }
12
+ declare function Button({ className, variant, size, render, ...props }: ButtonProps): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
13
+ export { Button, buttonVariants };
@@ -0,0 +1,9 @@
1
+ import type * as React from "react";
2
+ declare function Card({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
3
+ declare function CardHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
4
+ declare function CardTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
5
+ declare function CardDescription({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
6
+ declare function CardAction({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
7
+ declare function CardPanel({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
8
+ declare function CardFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
9
+ export { Card, CardHeader, CardFooter, CardTitle, CardAction, CardDescription, CardPanel, CardPanel as CardContent, };
@@ -0,0 +1,3 @@
1
+ import { CheckboxGroup as CheckboxGroupPrimitive } from "@base-ui-components/react/checkbox-group";
2
+ declare function CheckboxGroup({ className, ...props }: CheckboxGroupPrimitive.Props): import("react/jsx-runtime").JSX.Element;
3
+ export { CheckboxGroup };
@@ -0,0 +1,3 @@
1
+ import { Checkbox as CheckboxPrimitive } from "@base-ui-components/react/checkbox";
2
+ declare function Checkbox({ className, ...props }: CheckboxPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
3
+ export { Checkbox };
@@ -0,0 +1,25 @@
1
+ import { Combobox as ComboboxPrimitive } from "@base-ui-components/react/combobox";
2
+ declare function Combobox<ItemValue, SelectedValue = ItemValue, Multiple extends boolean | undefined = false>(props: ComboboxPrimitive.Root.Props<ItemValue, SelectedValue, Multiple>): import("react/jsx-runtime").JSX.Element;
3
+ declare function ComboboxInput({ className, showTrigger, showClear, size, ...props }: Omit<ComboboxPrimitive.Input.Props, "size"> & {
4
+ showTrigger?: boolean;
5
+ showClear?: boolean;
6
+ size?: "sm" | "default" | "lg" | number;
7
+ }): import("react/jsx-runtime").JSX.Element;
8
+ declare function ComboboxTrigger({ className, ...props }: ComboboxPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
9
+ declare function ComboboxPopup({ className, children, sideOffset, ...props }: ComboboxPrimitive.Popup.Props & {
10
+ sideOffset?: number;
11
+ }): import("react/jsx-runtime").JSX.Element;
12
+ declare function ComboboxItem({ className, children, ...props }: ComboboxPrimitive.Item.Props): import("react/jsx-runtime").JSX.Element;
13
+ declare function ComboboxSeparator({ className, ...props }: ComboboxPrimitive.Separator.Props): import("react/jsx-runtime").JSX.Element;
14
+ declare function ComboboxGroup({ className, ...props }: ComboboxPrimitive.Group.Props): import("react/jsx-runtime").JSX.Element;
15
+ declare function ComboboxGroupLabel({ className, ...props }: ComboboxPrimitive.GroupLabel.Props): import("react/jsx-runtime").JSX.Element;
16
+ declare function ComboboxEmpty({ className, ...props }: ComboboxPrimitive.Empty.Props): import("react/jsx-runtime").JSX.Element;
17
+ declare function ComboboxRow({ className, ...props }: ComboboxPrimitive.Row.Props): import("react/jsx-runtime").JSX.Element;
18
+ declare function ComboboxValue({ ...props }: ComboboxPrimitive.Value.Props): import("react/jsx-runtime").JSX.Element;
19
+ declare function ComboboxList({ className, ...props }: ComboboxPrimitive.List.Props): import("react/jsx-runtime").JSX.Element;
20
+ declare function ComboboxClear({ className, ...props }: ComboboxPrimitive.Clear.Props): import("react/jsx-runtime").JSX.Element;
21
+ declare function ComboboxStatus({ className, ...props }: ComboboxPrimitive.Status.Props): import("react/jsx-runtime").JSX.Element;
22
+ declare function ComboboxCollection(props: ComboboxPrimitive.Collection.Props): import("react/jsx-runtime").JSX.Element;
23
+ declare function ComboboxChips({ className, ...props }: ComboboxPrimitive.Chips.Props): import("react/jsx-runtime").JSX.Element;
24
+ declare function ComboboxChip({ children, ...props }: ComboboxPrimitive.Chip.Props): import("react/jsx-runtime").JSX.Element;
25
+ export { Combobox, ComboboxInput, ComboboxTrigger, ComboboxPopup, ComboboxItem, ComboboxSeparator, ComboboxGroup, ComboboxGroupLabel, ComboboxEmpty, ComboboxValue, ComboboxList, ComboboxClear, ComboboxStatus, ComboboxRow, ComboboxCollection, ComboboxChips, ComboboxChip, };
@@ -0,0 +1,14 @@
1
+ import { Dialog as DialogPrimitive } from "@base-ui-components/react/dialog";
2
+ declare const Dialog: typeof DialogPrimitive.Root;
3
+ declare function DialogTrigger(props: DialogPrimitive.Trigger.Props): import("react/jsx-runtime").JSX.Element;
4
+ declare function DialogPortal(props: DialogPrimitive.Portal.Props): import("react/jsx-runtime").JSX.Element;
5
+ declare function DialogClose(props: DialogPrimitive.Close.Props): import("react/jsx-runtime").JSX.Element;
6
+ declare function DialogBackdrop({ className, ...props }: DialogPrimitive.Backdrop.Props): import("react/jsx-runtime").JSX.Element;
7
+ declare function DialogPopup({ className, children, showCloseButton, ...props }: DialogPrimitive.Popup.Props & {
8
+ showCloseButton?: boolean;
9
+ }): import("react/jsx-runtime").JSX.Element;
10
+ declare function DialogHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
11
+ declare function DialogFooter({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
12
+ declare function DialogTitle({ className, ...props }: DialogPrimitive.Title.Props): import("react/jsx-runtime").JSX.Element;
13
+ declare function DialogDescription({ className, ...props }: DialogPrimitive.Description.Props): import("react/jsx-runtime").JSX.Element;
14
+ export { Dialog, DialogTrigger, DialogPortal, DialogClose, DialogBackdrop, DialogBackdrop as DialogOverlay, DialogPopup, DialogPopup as DialogContent, DialogHeader, DialogFooter, DialogTitle, DialogDescription, };
@@ -0,0 +1,11 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ declare function Empty({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
3
+ declare function EmptyHeader({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
4
+ declare const emptyMediaVariants: (props?: ({
5
+ variant?: "default" | "icon" | null | undefined;
6
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
7
+ declare function EmptyMedia({ className, variant, ...props }: React.ComponentProps<"div"> & VariantProps<typeof emptyMediaVariants>): import("react/jsx-runtime").JSX.Element;
8
+ declare function EmptyTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
9
+ declare function EmptyDescription({ className, ...props }: React.ComponentProps<"p">): import("react/jsx-runtime").JSX.Element;
10
+ declare function EmptyContent({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
11
+ export { Empty, EmptyHeader, EmptyTitle, EmptyDescription, EmptyContent, EmptyMedia, };
@@ -0,0 +1,8 @@
1
+ import { Field as FieldPrimitive } from "@base-ui-components/react/field";
2
+ declare function Field({ className, ...props }: FieldPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
3
+ declare function FieldLabel({ className, ...props }: FieldPrimitive.Label.Props): import("react/jsx-runtime").JSX.Element;
4
+ declare function FieldDescription({ className, ...props }: FieldPrimitive.Description.Props): import("react/jsx-runtime").JSX.Element;
5
+ declare function FieldError({ className, ...props }: FieldPrimitive.Error.Props): import("react/jsx-runtime").JSX.Element;
6
+ declare const FieldControl: import("react").ForwardRefExoticComponent<import("@base-ui-components/react/field").FieldControlProps & import("react").RefAttributes<HTMLInputElement>>;
7
+ declare const FieldValidity: import("react").FC<import("@base-ui-components/react/field").FieldValidityProps>;
8
+ export { Field, FieldLabel, FieldDescription, FieldError, FieldControl, FieldValidity, };
@@ -0,0 +1,4 @@
1
+ import { Fieldset as FieldsetPrimitive } from "@base-ui-components/react/fieldset";
2
+ declare function Fieldset({ className, ...props }: FieldsetPrimitive.Root.Props): import("react/jsx-runtime").JSX.Element;
3
+ declare function FieldsetLegend({ className, ...props }: FieldsetPrimitive.Legend.Props): import("react/jsx-runtime").JSX.Element;
4
+ export { Fieldset, FieldsetLegend };
@@ -0,0 +1,3 @@
1
+ import { Form as FormPrimitive } from "@base-ui-components/react/form";
2
+ declare function Form({ className, ...props }: FormPrimitive.Props): import("react/jsx-runtime").JSX.Element;
3
+ export { Form };
@@ -0,0 +1,8 @@
1
+ import type * as React from "react";
2
+ declare function Frame({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
3
+ declare function FramePanel({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
4
+ declare function FrameHeader({ className, ...props }: React.ComponentProps<"header">): import("react/jsx-runtime").JSX.Element;
5
+ declare function FrameTitle({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
6
+ declare function FrameDescription({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
7
+ declare function FrameFooter({ className, ...props }: React.ComponentProps<"footer">): import("react/jsx-runtime").JSX.Element;
8
+ export { Frame, FramePanel, FrameHeader, FrameTitle, FrameDescription, FrameFooter, };
@@ -0,0 +1,17 @@
1
+ import { useRender } from "@base-ui-components/react/use-render";
2
+ import { type VariantProps } from "class-variance-authority";
3
+ import type * as React from "react";
4
+ import { Separator } from "../src/separator";
5
+ declare const groupVariants: (props?: ({
6
+ orientation?: "horizontal" | "vertical" | null | undefined;
7
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
8
+ declare function Group({ className, orientation, children, ...props }: {
9
+ className?: string;
10
+ orientation?: VariantProps<typeof groupVariants>["orientation"];
11
+ children: React.ReactNode;
12
+ } & React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
13
+ declare function GroupText({ className, render, ...props }: useRender.ComponentProps<"div">): React.ReactElement<unknown, string | React.JSXElementConstructor<any>>;
14
+ declare function GroupSeparator({ className, orientation, ...props }: {
15
+ className?: string;
16
+ } & React.ComponentProps<typeof Separator>): import("react/jsx-runtime").JSX.Element;
17
+ export { Group, Group as ButtonGroup, GroupText, GroupText as ButtonGroupText, GroupSeparator, GroupSeparator as ButtonGroupSeparator, groupVariants, };
@@ -0,0 +1,44 @@
1
+ import './index.css';
2
+ export { Alert, AlertAction, AlertDescription, AlertTitle } from './alert';
3
+ export { AlertDialog, AlertDialogBackdrop, AlertDialogClose, AlertDialogContent, AlertDialogDescription, AlertDialogFooter, AlertDialogHeader, AlertDialogOverlay, AlertDialogPopup, AlertDialogPortal, AlertDialogTitle, AlertDialogTrigger, } from './alert-dialog';
4
+ export { Autocomplete, AutocompleteClear, AutocompleteCollection, AutocompleteEmpty, AutocompleteGroup, AutocompleteGroupLabel, AutocompleteInput, AutocompleteItem, AutocompleteList, AutocompletePopup, AutocompleteRow, AutocompleteSeparator, AutocompleteStatus, AutocompleteTrigger, AutocompleteValue, } from './autocomplete';
5
+ export { Avatar, AvatarFallback, AvatarImage } from './avatar';
6
+ export { Badge, badgeVariants } from './badge';
7
+ export { Button, buttonVariants } from './button';
8
+ export { Card, CardAction, CardContent, CardDescription, CardFooter, CardHeader, CardPanel, CardTitle, } from './card';
9
+ export { Checkbox } from './checkbox';
10
+ export { CheckboxGroup } from './checkbox-group';
11
+ export { Combobox, ComboboxChip, ComboboxChips, ComboboxClear, ComboboxCollection, ComboboxEmpty, ComboboxGroup, ComboboxGroupLabel, ComboboxInput, ComboboxItem, ComboboxList, ComboboxPopup, ComboboxRow, ComboboxSeparator, ComboboxStatus, ComboboxTrigger, ComboboxValue, } from './combobox';
12
+ export { Dialog, DialogBackdrop, DialogClose, DialogContent, DialogDescription, DialogFooter, DialogHeader, DialogOverlay, DialogPopup, DialogPortal, DialogTitle, DialogTrigger, } from './dialog';
13
+ export { Empty, EmptyContent, EmptyDescription, EmptyHeader, EmptyMedia, EmptyTitle, } from './empty';
14
+ export { Field, FieldControl, FieldDescription, FieldError, FieldLabel, FieldValidity, } from './field';
15
+ export { Fieldset, FieldsetLegend } from './fieldset';
16
+ export { Form } from './form';
17
+ export { Frame, FrameDescription, FrameFooter, FrameHeader, FramePanel, FrameTitle, } from './frame';
18
+ export { ButtonGroup, ButtonGroupSeparator, ButtonGroupText, Group, GroupSeparator, GroupText, groupVariants, } from './group';
19
+ export type { InputProps } from './input';
20
+ export { Input } from './input';
21
+ export { InputGroup, InputGroupAddon, InputGroupInput, InputGroupText, InputGroupTextarea, } from './input-group';
22
+ export { Label } from './label';
23
+ export { DropdownMenu, DropdownMenuCheckboxItem, DropdownMenuContent, DropdownMenuGroup, DropdownMenuItem, DropdownMenuLabel, DropdownMenuPortal, DropdownMenuRadioGroup, DropdownMenuRadioItem, DropdownMenuSeparator, DropdownMenuShortcut, DropdownMenuSub, DropdownMenuSubContent, DropdownMenuSubTrigger, DropdownMenuTrigger, Menu, MenuCheckboxItem, MenuGroup, MenuGroupLabel, MenuItem, MenuPopup, MenuPortal, MenuRadioGroup, MenuRadioItem, MenuSeparator, MenuShortcut, MenuSub, MenuSubPopup, MenuSubTrigger, MenuTrigger, } from './menu';
24
+ export { NumberField, NumberFieldDecrement, NumberFieldGroup, NumberFieldIncrement, NumberFieldInput, NumberFieldScrubArea, } from './number-field';
25
+ export { Pagination, PaginationContent, PaginationEllipsis, PaginationItem, PaginationLink, PaginationNext, PaginationPrevious, } from './pagination';
26
+ export { Popover, PopoverClose, PopoverContent, PopoverDescription, PopoverPopup, PopoverTitle, PopoverTrigger, } from './popover';
27
+ export { Progress, ProgressIndicator, ProgressLabel, ProgressTrack, ProgressValue, } from './progress';
28
+ export { Radio, RadioGroup, RadioGroupItem } from './radio-group';
29
+ export { ScrollArea, ScrollBar } from './scroll-area';
30
+ export { Select, SelectContent, SelectGroup, SelectGroupLabel, SelectItem, SelectPopup, SelectSeparator, SelectTrigger, SelectValue, } from './select';
31
+ export { Separator } from './separator';
32
+ export { Sheet, SheetBackdrop, SheetClose, SheetContent, SheetDescription, SheetFooter, SheetHeader, SheetOverlay, SheetPopup, SheetPortal, SheetTitle, SheetTrigger, sheetPopupVariants, } from './sheet';
33
+ export { Skeleton } from './skeleton';
34
+ export { Slider, SliderValue } from './slider';
35
+ export { Spinner } from './spinner';
36
+ export { Switch } from './switch';
37
+ export { Table, TableBody, TableCaption, TableCell, TableFooter, TableHead, TableHeader, TableRow, } from './table';
38
+ export { Tabs, TabsContent, TabsList, TabsPanel, TabsTab, TabsTrigger, } from './tabs';
39
+ export type { TextareaProps } from './textarea';
40
+ export { Textarea } from './textarea';
41
+ export { Toggle, toggleVariants } from './toggle';
42
+ export { ToggleGroup, ToggleGroupItem, ToggleGroupSeparator, } from './toggle-group';
43
+ export { Toolbar, ToolbarButton, ToolbarGroup, ToolbarInput, ToolbarLink, ToolbarSeparator, } from './toolbar';
44
+ export { Tooltip, TooltipContent, TooltipPopup, TooltipProvider, TooltipTrigger, } from './tooltip';
@@ -0,0 +1,13 @@
1
+ import { type VariantProps } from "class-variance-authority";
2
+ import type * as React from "react";
3
+ import { type InputProps } from "../src/input";
4
+ import { type TextareaProps } from "../src/textarea";
5
+ declare function InputGroup({ className, ...props }: React.ComponentProps<"div">): import("react/jsx-runtime").JSX.Element;
6
+ declare const inputGroupAddonVariants: (props?: ({
7
+ align?: "inline-end" | "inline-start" | "block-end" | "block-start" | null | undefined;
8
+ } & import("class-variance-authority/types").ClassProp) | undefined) => string;
9
+ declare function InputGroupAddon({ className, align, ...props }: React.ComponentProps<"div"> & VariantProps<typeof inputGroupAddonVariants>): import("react/jsx-runtime").JSX.Element;
10
+ declare function InputGroupText({ className, ...props }: React.ComponentProps<"span">): import("react/jsx-runtime").JSX.Element;
11
+ declare function InputGroupInput({ className, ...props }: InputProps): import("react/jsx-runtime").JSX.Element;
12
+ declare function InputGroupTextarea({ className, ...props }: TextareaProps): import("react/jsx-runtime").JSX.Element;
13
+ export { InputGroup, InputGroupAddon, InputGroupText, InputGroupInput, InputGroupTextarea, };
@@ -0,0 +1,8 @@
1
+ import { Input as InputPrimitive } from "@base-ui-components/react/input";
2
+ import type * as React from "react";
3
+ type InputProps = Omit<InputPrimitive.Props & React.RefAttributes<HTMLInputElement>, "size"> & {
4
+ size?: "sm" | "default" | "lg" | number;
5
+ unstyled?: boolean;
6
+ };
7
+ declare function Input({ className, size, unstyled, ...props }: InputProps): import("react/jsx-runtime").JSX.Element;
8
+ export { Input, type InputProps };