@acronis-platform/ui-react 0.29.0 → 0.33.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (30) hide show
  1. package/README.md +18 -1
  2. package/dist/components/ui/input-date-picker/input-date-picker.js +104 -0
  3. package/dist/components/ui/input-date-picker/input-date-picker.js.map +1 -0
  4. package/dist/components/ui/input-select/input-select.js +257 -0
  5. package/dist/components/ui/input-select/input-select.js.map +1 -0
  6. package/dist/components/ui/input-text-area/input-text-area.js +72 -16
  7. package/dist/components/ui/input-text-area/input-text-area.js.map +1 -1
  8. package/dist/components/ui/link/link.js +39 -0
  9. package/dist/components/ui/link/link.js.map +1 -0
  10. package/dist/components/ui/sidebar-primary/sidebar-primary.js +85 -71
  11. package/dist/components/ui/sidebar-primary/sidebar-primary.js.map +1 -1
  12. package/dist/components/ui/sidebar-secondary/sidebar-secondary.js +125 -117
  13. package/dist/components/ui/sidebar-secondary/sidebar-secondary.js.map +1 -1
  14. package/dist/index.js +112 -94
  15. package/dist/index.js.map +1 -1
  16. package/dist/react.js +112 -94
  17. package/dist/react.js.map +1 -1
  18. package/dist/src/components/ui/input-date-picker/index.d.ts +1 -0
  19. package/dist/src/components/ui/input-date-picker/input-date-picker.d.ts +27 -0
  20. package/dist/src/components/ui/input-select/index.d.ts +1 -0
  21. package/dist/src/components/ui/input-select/input-select.d.ts +40 -0
  22. package/dist/src/components/ui/input-text-area/input-text-area.d.ts +14 -2
  23. package/dist/src/components/ui/link/index.d.ts +1 -0
  24. package/dist/src/components/ui/link/link.d.ts +15 -0
  25. package/dist/src/components/ui/select/select.d.ts +1 -14
  26. package/dist/src/index.d.ts +3 -0
  27. package/dist/ui-react.css +1 -1
  28. package/package.json +5 -1
  29. package/dist/components/ui/select/select.js +0 -105
  30. package/dist/components/ui/select/select.js.map +0 -1
package/dist/react.js CHANGED
@@ -1,98 +1,116 @@
1
- import { cn as a } from "./lib/utils.js";
2
- import { Avatar as t, AvatarFallback as i, AvatarGroup as n, AvatarImage as d, avatarVariants as S } from "./components/ui/avatar/avatar.js";
3
- import { Breadcrumb as b, BreadcrumbEllipsis as c, BreadcrumbItem as u, BreadcrumbLink as p, BreadcrumbList as l, BreadcrumbPage as x, BreadcrumbSeparator as y } from "./components/ui/breadcrumb/breadcrumb.js";
4
- import { Button as s, buttonVariants as I } from "./components/ui/button/button.js";
5
- import { ButtonMenu as M, buttonMenuVariants as P } from "./components/ui/button-menu/button-menu.js";
6
- import { CardFilter as B, cardFilterVariants as C } from "./components/ui/card-filter/card-filter.js";
7
- import { Checkbox as v } from "./components/ui/checkbox/checkbox.js";
8
- import { Radio as h, RadioGroup as A } from "./components/ui/radio/radio.js";
9
- import { Input as R } from "./components/ui/input/input.js";
10
- import { InputSearch as k } from "./components/ui/input-search/input-search.js";
11
- import { InputText as E } from "./components/ui/input-text/input-text.js";
12
- import { InputTextArea as w } from "./components/ui/input-text-area/input-text-area.js";
13
- import { Search as q } from "./components/ui/search/search.js";
14
- import { SearchGlobal as J } from "./components/ui/search-global/search-global.js";
15
- import { Select as N, SelectContent as O, SelectGroup as Q, SelectGroupLabel as U, SelectItem as W, SelectTrigger as X, SelectValue as Y } from "./components/ui/select/select.js";
16
- import { ResizableHandle as _, ResizablePanel as $, ResizablePanelGroup as rr } from "./components/ui/resizable/resizable.js";
17
- import { SidebarPrimary as ar, SidebarPrimaryCollapseTrigger as or, SidebarPrimaryContent as tr, SidebarPrimaryFooter as ir, SidebarPrimaryHeader as nr, SidebarPrimaryMenu as dr, SidebarPrimaryMenuItem as Sr, SidebarPrimaryMenuItemExtras as mr, SidebarPrimarySection as br, sidebarPrimaryMenuItemVariants as cr } from "./components/ui/sidebar-primary/sidebar-primary.js";
18
- import { SidebarSecondary as pr, SidebarSecondaryCollapseTrigger as lr, SidebarSecondaryCollapsedBreadcrumb as xr, SidebarSecondaryContent as yr, SidebarSecondaryFooter as fr, SidebarSecondaryHeader as sr, SidebarSecondaryMenu as Ir, SidebarSecondaryMenuItem as gr, SidebarSecondaryMenuItemExtras as Mr, SidebarSecondaryMenuSub as Pr, SidebarSecondaryMenuSubContent as Tr, SidebarSecondaryMenuSubItem as Br, SidebarSecondaryMenuSubTrigger as Cr, SidebarSecondarySection as Vr, SidebarSecondarySectionLabel as vr, sidebarSecondaryMenuItemVariants as Gr } from "./components/ui/sidebar-secondary/sidebar-secondary.js";
19
- import { ButtonIcon as Ar, buttonIconVariants as Fr } from "./components/ui/button-icon/button-icon.js";
20
- import { Switch as Lr } from "./components/ui/switch/switch.js";
21
- import { Tooltip as zr, TooltipContent as Er, TooltipProvider as Hr, TooltipTrigger as wr } from "./components/ui/tooltip/tooltip.js";
22
- import { Tag as qr, tagVariants as Dr } from "./components/ui/tag/tag.js";
1
+ import { cn as t } from "./lib/utils.js";
2
+ import { Avatar as o, AvatarFallback as n, AvatarGroup as S, AvatarImage as i, avatarVariants as c } from "./components/ui/avatar/avatar.js";
3
+ import { Breadcrumb as p, BreadcrumbEllipsis as l, BreadcrumbItem as d, BreadcrumbLink as m, BreadcrumbList as b, BreadcrumbPage as I, BreadcrumbSeparator as s } from "./components/ui/breadcrumb/breadcrumb.js";
4
+ import { Button as y, buttonVariants as f } from "./components/ui/button/button.js";
5
+ import { ButtonMenu as P, buttonMenuVariants as M } from "./components/ui/button-menu/button-menu.js";
6
+ import { CardFilter as C, cardFilterVariants as B } from "./components/ui/card-filter/card-filter.js";
7
+ import { Checkbox as L } from "./components/ui/checkbox/checkbox.js";
8
+ import { Radio as h, RadioGroup as v } from "./components/ui/radio/radio.js";
9
+ import { Input as k } from "./components/ui/input/input.js";
10
+ import { InputDatePicker as R } from "./components/ui/input-date-picker/input-date-picker.js";
11
+ import { InputSearch as z } from "./components/ui/input-search/input-search.js";
12
+ import { InputSelect as D, InputSelectContent as w, InputSelectDescription as j, InputSelectError as q, InputSelectField as J, InputSelectGroup as K, InputSelectItem as N, InputSelectLabel as O, InputSelectSearch as Q, InputSelectSection as U, InputSelectSectionLabel as W, InputSelectStatus as X, InputSelectTrigger as Y, InputSelectValue as Z, InputSelect as _, InputSelectContent as $, InputSelectSection as ee, InputSelectSectionLabel as re, InputSelectItem as te, InputSelectTrigger as ae, InputSelectValue as oe } from "./components/ui/input-select/input-select.js";
13
+ import { InputText as Se } from "./components/ui/input-text/input-text.js";
14
+ import { InputTextArea as ce } from "./components/ui/input-text-area/input-text-area.js";
15
+ import { Link as pe } from "./components/ui/link/link.js";
16
+ import { Search as de } from "./components/ui/search/search.js";
17
+ import { SearchGlobal as be } from "./components/ui/search-global/search-global.js";
18
+ import { ResizableHandle as se, ResizablePanel as xe, ResizablePanelGroup as ye } from "./components/ui/resizable/resizable.js";
19
+ import { SidebarPrimary as ge, SidebarPrimaryCollapseTrigger as Pe, SidebarPrimaryContent as Me, SidebarPrimaryFooter as Te, SidebarPrimaryHeader as Ce, SidebarPrimaryMenu as Be, SidebarPrimaryMenuItem as Ve, SidebarPrimaryMenuItemExtras as Le, SidebarPrimarySection as Ge, sidebarPrimaryMenuItemVariants as he } from "./components/ui/sidebar-primary/sidebar-primary.js";
20
+ import { SidebarSecondary as Fe, SidebarSecondaryCollapseTrigger as ke, SidebarSecondaryCollapsedBreadcrumb as Ae, SidebarSecondaryContent as Re, SidebarSecondaryFooter as Ee, SidebarSecondaryHeader as ze, SidebarSecondaryMenu as He, SidebarSecondaryMenuItem as De, SidebarSecondaryMenuItemExtras as we, SidebarSecondaryMenuSub as je, SidebarSecondaryMenuSubContent as qe, SidebarSecondaryMenuSubItem as Je, SidebarSecondaryMenuSubTrigger as Ke, SidebarSecondarySection as Ne, SidebarSecondarySectionLabel as Oe, sidebarSecondaryMenuItemVariants as Qe } from "./components/ui/sidebar-secondary/sidebar-secondary.js";
21
+ import { ButtonIcon as We, buttonIconVariants as Xe } from "./components/ui/button-icon/button-icon.js";
22
+ import { Switch as Ze } from "./components/ui/switch/switch.js";
23
+ import { Tooltip as $e, TooltipContent as er, TooltipProvider as rr, TooltipTrigger as tr } from "./components/ui/tooltip/tooltip.js";
24
+ import { Tag as or, tagVariants as nr } from "./components/ui/tag/tag.js";
23
25
  export {
24
- t as Avatar,
25
- i as AvatarFallback,
26
- n as AvatarGroup,
27
- d as AvatarImage,
28
- b as Breadcrumb,
29
- c as BreadcrumbEllipsis,
30
- u as BreadcrumbItem,
31
- p as BreadcrumbLink,
32
- l as BreadcrumbList,
33
- x as BreadcrumbPage,
34
- y as BreadcrumbSeparator,
35
- s as Button,
36
- Ar as ButtonIcon,
37
- M as ButtonMenu,
38
- B as CardFilter,
39
- v as Checkbox,
40
- R as Input,
41
- k as InputSearch,
42
- E as InputText,
43
- w as InputTextArea,
26
+ o as Avatar,
27
+ n as AvatarFallback,
28
+ S as AvatarGroup,
29
+ i as AvatarImage,
30
+ p as Breadcrumb,
31
+ l as BreadcrumbEllipsis,
32
+ d as BreadcrumbItem,
33
+ m as BreadcrumbLink,
34
+ b as BreadcrumbList,
35
+ I as BreadcrumbPage,
36
+ s as BreadcrumbSeparator,
37
+ y as Button,
38
+ We as ButtonIcon,
39
+ P as ButtonMenu,
40
+ C as CardFilter,
41
+ L as Checkbox,
42
+ k as Input,
43
+ R as InputDatePicker,
44
+ z as InputSearch,
45
+ D as InputSelect,
46
+ w as InputSelectContent,
47
+ j as InputSelectDescription,
48
+ q as InputSelectError,
49
+ J as InputSelectField,
50
+ K as InputSelectGroup,
51
+ N as InputSelectItem,
52
+ O as InputSelectLabel,
53
+ Q as InputSelectSearch,
54
+ U as InputSelectSection,
55
+ W as InputSelectSectionLabel,
56
+ X as InputSelectStatus,
57
+ Y as InputSelectTrigger,
58
+ Z as InputSelectValue,
59
+ Se as InputText,
60
+ ce as InputTextArea,
61
+ pe as Link,
44
62
  h as Radio,
45
- A as RadioGroup,
46
- _ as ResizableHandle,
47
- $ as ResizablePanel,
48
- rr as ResizablePanelGroup,
49
- q as Search,
50
- J as SearchGlobal,
51
- N as Select,
52
- O as SelectContent,
53
- Q as SelectGroup,
54
- U as SelectGroupLabel,
55
- W as SelectItem,
56
- X as SelectTrigger,
57
- Y as SelectValue,
58
- ar as SidebarPrimary,
59
- or as SidebarPrimaryCollapseTrigger,
60
- tr as SidebarPrimaryContent,
61
- ir as SidebarPrimaryFooter,
62
- nr as SidebarPrimaryHeader,
63
- dr as SidebarPrimaryMenu,
64
- Sr as SidebarPrimaryMenuItem,
65
- mr as SidebarPrimaryMenuItemExtras,
66
- br as SidebarPrimarySection,
67
- pr as SidebarSecondary,
68
- lr as SidebarSecondaryCollapseTrigger,
69
- xr as SidebarSecondaryCollapsedBreadcrumb,
70
- yr as SidebarSecondaryContent,
71
- fr as SidebarSecondaryFooter,
72
- sr as SidebarSecondaryHeader,
73
- Ir as SidebarSecondaryMenu,
74
- gr as SidebarSecondaryMenuItem,
75
- Mr as SidebarSecondaryMenuItemExtras,
76
- Pr as SidebarSecondaryMenuSub,
77
- Tr as SidebarSecondaryMenuSubContent,
78
- Br as SidebarSecondaryMenuSubItem,
79
- Cr as SidebarSecondaryMenuSubTrigger,
80
- Vr as SidebarSecondarySection,
81
- vr as SidebarSecondarySectionLabel,
82
- Lr as Switch,
83
- qr as Tag,
84
- zr as Tooltip,
85
- Er as TooltipContent,
86
- Hr as TooltipProvider,
87
- wr as TooltipTrigger,
88
- S as avatarVariants,
89
- Fr as buttonIconVariants,
90
- P as buttonMenuVariants,
91
- I as buttonVariants,
92
- C as cardFilterVariants,
93
- a as cn,
94
- cr as sidebarPrimaryMenuItemVariants,
95
- Gr as sidebarSecondaryMenuItemVariants,
96
- Dr as tagVariants
63
+ v as RadioGroup,
64
+ se as ResizableHandle,
65
+ xe as ResizablePanel,
66
+ ye as ResizablePanelGroup,
67
+ de as Search,
68
+ be as SearchGlobal,
69
+ _ as Select,
70
+ $ as SelectContent,
71
+ ee as SelectGroup,
72
+ re as SelectGroupLabel,
73
+ te as SelectItem,
74
+ ae as SelectTrigger,
75
+ oe as SelectValue,
76
+ ge as SidebarPrimary,
77
+ Pe as SidebarPrimaryCollapseTrigger,
78
+ Me as SidebarPrimaryContent,
79
+ Te as SidebarPrimaryFooter,
80
+ Ce as SidebarPrimaryHeader,
81
+ Be as SidebarPrimaryMenu,
82
+ Ve as SidebarPrimaryMenuItem,
83
+ Le as SidebarPrimaryMenuItemExtras,
84
+ Ge as SidebarPrimarySection,
85
+ Fe as SidebarSecondary,
86
+ ke as SidebarSecondaryCollapseTrigger,
87
+ Ae as SidebarSecondaryCollapsedBreadcrumb,
88
+ Re as SidebarSecondaryContent,
89
+ Ee as SidebarSecondaryFooter,
90
+ ze as SidebarSecondaryHeader,
91
+ He as SidebarSecondaryMenu,
92
+ De as SidebarSecondaryMenuItem,
93
+ we as SidebarSecondaryMenuItemExtras,
94
+ je as SidebarSecondaryMenuSub,
95
+ qe as SidebarSecondaryMenuSubContent,
96
+ Je as SidebarSecondaryMenuSubItem,
97
+ Ke as SidebarSecondaryMenuSubTrigger,
98
+ Ne as SidebarSecondarySection,
99
+ Oe as SidebarSecondarySectionLabel,
100
+ Ze as Switch,
101
+ or as Tag,
102
+ $e as Tooltip,
103
+ er as TooltipContent,
104
+ rr as TooltipProvider,
105
+ tr as TooltipTrigger,
106
+ c as avatarVariants,
107
+ Xe as buttonIconVariants,
108
+ M as buttonMenuVariants,
109
+ f as buttonVariants,
110
+ B as cardFilterVariants,
111
+ t as cn,
112
+ he as sidebarPrimaryMenuItemVariants,
113
+ Qe as sidebarSecondaryMenuItemVariants,
114
+ nr as tagVariants
97
115
  };
98
116
  //# sourceMappingURL=react.js.map
package/dist/react.js.map CHANGED
@@ -1 +1 @@
1
- {"version":3,"file":"react.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
1
+ {"version":3,"file":"react.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;"}
@@ -0,0 +1 @@
1
+ export { InputDatePicker, type InputDatePickerProps, } from './input-date-picker';
@@ -0,0 +1,27 @@
1
+ import * as React from 'react';
2
+ export interface InputDatePickerProps extends Omit<React.ComponentPropsWithoutRef<'button'>, 'value'> {
3
+ /** Field label, rendered above the box. */
4
+ label?: React.ReactNode;
5
+ /** Marks the field required — appends a `*` after the label. */
6
+ required?: boolean;
7
+ /** Helper text below the box. Hidden while `error` is set. */
8
+ description?: React.ReactNode;
9
+ /** Error message below the box. Its presence switches the field to the error treatment. */
10
+ error?: React.ReactNode;
11
+ /** Single date or a start–end range. */
12
+ pickerType?: 'date' | 'dateRange';
13
+ /** Hint shown when no value is selected. */
14
+ placeholder?: React.ReactNode;
15
+ /** Formatted selected date (`pickerType="date"`). */
16
+ value?: React.ReactNode;
17
+ /** Formatted range start (`pickerType="dateRange"`). */
18
+ startDate?: React.ReactNode;
19
+ /** Formatted range end (`pickerType="dateRange"`). */
20
+ endDate?: React.ReactNode;
21
+ /** Separator between range dates. */
22
+ separator?: React.ReactNode;
23
+ /** Whether the (consumer-owned) calendar popup is open — paints the active border. */
24
+ open?: boolean;
25
+ }
26
+ declare const InputDatePicker: React.ForwardRefExoticComponent<InputDatePickerProps & React.RefAttributes<HTMLButtonElement>>;
27
+ export { InputDatePicker };
@@ -0,0 +1 @@
1
+ export { InputSelect, InputSelectField, InputSelectLabel, InputSelectTrigger, InputSelectValue, InputSelectContent, InputSelectSearch, InputSelectGroup, InputSelectSection, InputSelectSectionLabel, InputSelectItem, InputSelectDescription, InputSelectError, InputSelectStatus, type InputSelectStatusProps, } from './input-select';
@@ -0,0 +1,40 @@
1
+ import { Select as SelectPrimitive } from '@base-ui/react/select';
2
+ import * as React from 'react';
3
+ declare function InputSelect<Value, Multiple extends boolean | undefined = false>(props: SelectPrimitive.Root.Props<Value, Multiple>): import("react/jsx-runtime").JSX.Element;
4
+ declare namespace InputSelect {
5
+ var displayName: string;
6
+ }
7
+ declare const InputSelectGroup: React.ForwardRefExoticComponent<Omit<import('@base-ui/react').SelectGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
8
+ /** Vertical field stack: label, trigger, description/error. */
9
+ declare const InputSelectField: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
10
+ declare const InputSelectLabel: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').SelectLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
11
+ /** Appends a required `*` after the label text. */
12
+ required?: boolean;
13
+ } & React.RefAttributes<HTMLDivElement>>;
14
+ declare const InputSelectTrigger: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').SelectTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
15
+ declare const InputSelectValue: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').SelectValueProps, "ref"> & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
16
+ declare const InputSelectContent: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').SelectPopupProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
17
+ sideOffset?: number;
18
+ align?: SelectPrimitive.Positioner.Props["align"];
19
+ side?: SelectPrimitive.Positioner.Props["side"];
20
+ } & React.RefAttributes<HTMLDivElement>>;
21
+ /**
22
+ * Presentational in-dropdown search row (magnifier + input). The consumer wires
23
+ * `value`/`onChange` to filter the items it renders.
24
+ */
25
+ declare const InputSelectSearch: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.InputHTMLAttributes<HTMLInputElement>, HTMLInputElement>, "ref"> & React.RefAttributes<HTMLInputElement>>;
26
+ /** A section (group) of items with an optional header. Divided by a top border. */
27
+ declare const InputSelectSection: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').SelectGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
28
+ declare const InputSelectSectionLabel: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').SelectGroupLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
29
+ declare const InputSelectItem: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').SelectItemProps, "ref"> & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
30
+ declare const InputSelectDescription: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
31
+ declare const InputSelectError: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLParagraphElement>, HTMLParagraphElement>, "ref"> & React.RefAttributes<HTMLParagraphElement>>;
32
+ export interface InputSelectStatusProps extends React.ComponentPropsWithoutRef<'div'> {
33
+ /** Which status to show. Drives the leading icon. */
34
+ variant: 'loading' | 'empty' | 'error';
35
+ /** Optional trailing action (e.g. a "Try again" button) — shown for `error`. */
36
+ action?: React.ReactNode;
37
+ }
38
+ /** Loading / empty / error status row shown instead of items inside the dropdown. */
39
+ declare const InputSelectStatus: React.ForwardRefExoticComponent<InputSelectStatusProps & React.RefAttributes<HTMLDivElement>>;
40
+ export { InputSelect, InputSelectField, InputSelectLabel, InputSelectTrigger, InputSelectValue, InputSelectContent, InputSelectSearch, InputSelectGroup, InputSelectSection, InputSelectSectionLabel, InputSelectItem, InputSelectDescription, InputSelectError, InputSelectStatus, };
@@ -1,4 +1,16 @@
1
1
  import * as React from 'react';
2
- export type InputTextAreaProps = React.ComponentPropsWithoutRef<'textarea'>;
3
- declare const InputTextArea: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
2
+ export interface InputTextAreaProps extends Omit<React.ComponentPropsWithoutRef<'textarea'>, 'children'> {
3
+ /** Field label, rendered above the textarea. */
4
+ label?: React.ReactNode;
5
+ /** Marks the field required — appends a `*` after the label. */
6
+ required?: boolean;
7
+ /** Helper text below the textarea. Hidden while `error` is set. */
8
+ description?: React.ReactNode;
9
+ /**
10
+ * Error message below the textarea. Its presence switches the field to the error
11
+ * treatment (red box border + red message).
12
+ */
13
+ error?: React.ReactNode;
14
+ }
15
+ declare const InputTextArea: React.ForwardRefExoticComponent<InputTextAreaProps & React.RefAttributes<HTMLTextAreaElement>>;
4
16
  export { InputTextArea };
@@ -0,0 +1 @@
1
+ export { Link, type LinkProps } from './link';
@@ -0,0 +1,15 @@
1
+ import { useRender } from '@base-ui/react/use-render';
2
+ import * as React from 'react';
3
+ export interface LinkProps extends React.AnchorHTMLAttributes<HTMLAnchorElement> {
4
+ /** Append a trailing external-link icon (e.g. for links that leave the app). */
5
+ external?: boolean;
6
+ /** Render the link inert: disabled color, removed from the tab order, no navigation. */
7
+ disabled?: boolean;
8
+ /**
9
+ * Replace the rendered `<a>` with another element or component (Base UI
10
+ * composition) — e.g. a router `Link`. Props and class names are merged onto it.
11
+ */
12
+ render?: useRender.RenderProp;
13
+ }
14
+ declare const Link: React.ForwardRefExoticComponent<LinkProps & React.RefAttributes<HTMLAnchorElement>>;
15
+ export { Link };
@@ -1,14 +1 @@
1
- import { Select as SelectPrimitive } from '@base-ui/react/select';
2
- import * as React from 'react';
3
- declare const Select: typeof SelectPrimitive.Root;
4
- declare const SelectGroup: React.ForwardRefExoticComponent<Omit<import('@base-ui/react').SelectGroupProps, "ref"> & React.RefAttributes<HTMLDivElement>>;
5
- declare const SelectValue: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').SelectValueProps, "ref"> & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
6
- declare const SelectTrigger: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').SelectTriggerProps, "ref"> & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
7
- declare const SelectContent: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').SelectPopupProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & {
8
- sideOffset?: number;
9
- align?: SelectPrimitive.Positioner.Props["align"];
10
- side?: SelectPrimitive.Positioner.Props["side"];
11
- } & React.RefAttributes<HTMLDivElement>>;
12
- declare const SelectItem: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').SelectItemProps, "ref"> & React.RefAttributes<HTMLElement>, "ref"> & React.RefAttributes<HTMLElement>>;
13
- declare const SelectGroupLabel: React.ForwardRefExoticComponent<Omit<Omit<import('@base-ui/react').SelectGroupLabelProps, "ref"> & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
14
- export { Select, SelectTrigger, SelectValue, SelectContent, SelectItem, SelectGroup, SelectGroupLabel, };
1
+ export { InputSelect as Select, InputSelectTrigger as SelectTrigger, InputSelectValue as SelectValue, InputSelectContent as SelectContent, InputSelectItem as SelectItem, InputSelectSection as SelectGroup, InputSelectSectionLabel as SelectGroupLabel, } from '../input-select';
@@ -7,9 +7,12 @@ export * from './components/ui/card-filter';
7
7
  export * from './components/ui/checkbox';
8
8
  export * from './components/ui/radio';
9
9
  export * from './components/ui/input';
10
+ export * from './components/ui/input-date-picker';
10
11
  export * from './components/ui/input-search';
12
+ export * from './components/ui/input-select';
11
13
  export * from './components/ui/input-text';
12
14
  export * from './components/ui/input-text-area';
15
+ export * from './components/ui/link';
13
16
  export * from './components/ui/search';
14
17
  export * from './components/ui/search-global';
15
18
  export * from './components/ui/select';