@acronis-platform/ui-react 0.28.0 → 0.31.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/README.md +18 -1
- package/dist/components/ui/input-search/input-search.js +57 -0
- package/dist/components/ui/input-search/input-search.js.map +1 -0
- package/dist/components/ui/input-select/input-select.js +257 -0
- package/dist/components/ui/input-select/input-select.js.map +1 -0
- package/dist/components/ui/input-text-area/input-text-area.js +72 -16
- package/dist/components/ui/input-text-area/input-text-area.js.map +1 -1
- package/dist/index.js +106 -90
- package/dist/index.js.map +1 -1
- package/dist/react.js +106 -90
- package/dist/react.js.map +1 -1
- package/dist/src/components/ui/input-search/index.d.ts +1 -0
- package/dist/src/components/ui/input-search/input-search.d.ts +10 -0
- package/dist/src/components/ui/input-select/index.d.ts +1 -0
- package/dist/src/components/ui/input-select/input-select.d.ts +40 -0
- package/dist/src/components/ui/input-text-area/input-text-area.d.ts +14 -2
- package/dist/src/components/ui/select/select.d.ts +1 -14
- package/dist/src/index.d.ts +2 -0
- package/dist/ui-react.css +1 -1
- package/package.json +7 -3
- package/dist/components/ui/select/select.js +0 -105
- package/dist/components/ui/select/select.js.map +0 -1
package/dist/index.js
CHANGED
|
@@ -1,96 +1,112 @@
|
|
|
1
|
-
import { cn as
|
|
2
|
-
import { Avatar as
|
|
3
|
-
import { Breadcrumb as
|
|
4
|
-
import { Button as
|
|
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 b, BreadcrumbList as m, 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
5
|
import { ButtonMenu as M, buttonMenuVariants as P } from "./components/ui/button-menu/button-menu.js";
|
|
6
|
-
import { CardFilter as
|
|
7
|
-
import { Checkbox as
|
|
8
|
-
import { Radio as
|
|
9
|
-
import { Input as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
6
|
+
import { CardFilter as C, cardFilterVariants as B } from "./components/ui/card-filter/card-filter.js";
|
|
7
|
+
import { Checkbox as G } from "./components/ui/checkbox/checkbox.js";
|
|
8
|
+
import { Radio as h, RadioGroup as v } from "./components/ui/radio/radio.js";
|
|
9
|
+
import { Input as A } from "./components/ui/input/input.js";
|
|
10
|
+
import { InputSearch as E } from "./components/ui/input-search/input-search.js";
|
|
11
|
+
import { InputSelect as z, InputSelectContent as H, InputSelectDescription as w, InputSelectError as D, InputSelectField as j, InputSelectGroup as q, InputSelectItem as J, InputSelectLabel as K, InputSelectSearch as N, InputSelectSection as O, InputSelectSectionLabel as Q, InputSelectStatus as U, InputSelectTrigger as W, InputSelectValue as X, InputSelect as Y, InputSelectContent as Z, InputSelectSection as _, InputSelectSectionLabel as $, InputSelectItem as ee, InputSelectTrigger as re, InputSelectValue as te } from "./components/ui/input-select/input-select.js";
|
|
12
|
+
import { InputText as oe } from "./components/ui/input-text/input-text.js";
|
|
13
|
+
import { InputTextArea as Se } from "./components/ui/input-text-area/input-text-area.js";
|
|
14
|
+
import { Search as ce } from "./components/ui/search/search.js";
|
|
15
|
+
import { SearchGlobal as pe } from "./components/ui/search-global/search-global.js";
|
|
16
|
+
import { ResizableHandle as de, ResizablePanel as be, ResizablePanelGroup as me } from "./components/ui/resizable/resizable.js";
|
|
17
|
+
import { SidebarPrimary as se, SidebarPrimaryCollapseTrigger as xe, SidebarPrimaryContent as ye, SidebarPrimaryFooter as fe, SidebarPrimaryHeader as ge, SidebarPrimaryMenu as Me, SidebarPrimaryMenuItem as Pe, SidebarPrimaryMenuItemExtras as Te, SidebarPrimarySection as Ce, sidebarPrimaryMenuItemVariants as Be } from "./components/ui/sidebar-primary/sidebar-primary.js";
|
|
18
|
+
import { SidebarSecondary as Ge, SidebarSecondaryCollapseTrigger as Le, SidebarSecondaryCollapsedBreadcrumb as he, SidebarSecondaryContent as ve, SidebarSecondaryFooter as Fe, SidebarSecondaryHeader as Ae, SidebarSecondaryMenu as Re, SidebarSecondaryMenuItem as Ee, SidebarSecondaryMenuItemExtras as ke, SidebarSecondaryMenuSub as ze, SidebarSecondaryMenuSubContent as He, SidebarSecondaryMenuSubItem as we, SidebarSecondaryMenuSubTrigger as De, SidebarSecondarySection as je, SidebarSecondarySectionLabel as qe, sidebarSecondaryMenuItemVariants as Je } from "./components/ui/sidebar-secondary/sidebar-secondary.js";
|
|
19
|
+
import { ButtonIcon as Ne, buttonIconVariants as Oe } from "./components/ui/button-icon/button-icon.js";
|
|
20
|
+
import { Switch as Ue } from "./components/ui/switch/switch.js";
|
|
21
|
+
import { Tooltip as Xe, TooltipContent as Ye, TooltipProvider as Ze, TooltipTrigger as _e } from "./components/ui/tooltip/tooltip.js";
|
|
22
|
+
import { Tag as er, tagVariants as rr } from "./components/ui/tag/tag.js";
|
|
22
23
|
export {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
24
|
+
o as Avatar,
|
|
25
|
+
n as AvatarFallback,
|
|
26
|
+
S as AvatarGroup,
|
|
27
|
+
i as AvatarImage,
|
|
28
|
+
p as Breadcrumb,
|
|
29
|
+
l as BreadcrumbEllipsis,
|
|
30
|
+
d as BreadcrumbItem,
|
|
31
|
+
b as BreadcrumbLink,
|
|
32
|
+
m as BreadcrumbList,
|
|
33
|
+
I as BreadcrumbPage,
|
|
34
|
+
s as BreadcrumbSeparator,
|
|
35
|
+
y as Button,
|
|
36
|
+
Ne as ButtonIcon,
|
|
36
37
|
M as ButtonMenu,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
38
|
+
C as CardFilter,
|
|
39
|
+
G as Checkbox,
|
|
40
|
+
A as Input,
|
|
41
|
+
E as InputSearch,
|
|
42
|
+
z as InputSelect,
|
|
43
|
+
H as InputSelectContent,
|
|
44
|
+
w as InputSelectDescription,
|
|
45
|
+
D as InputSelectError,
|
|
46
|
+
j as InputSelectField,
|
|
47
|
+
q as InputSelectGroup,
|
|
48
|
+
J as InputSelectItem,
|
|
49
|
+
K as InputSelectLabel,
|
|
50
|
+
N as InputSelectSearch,
|
|
51
|
+
O as InputSelectSection,
|
|
52
|
+
Q as InputSelectSectionLabel,
|
|
53
|
+
U as InputSelectStatus,
|
|
54
|
+
W as InputSelectTrigger,
|
|
55
|
+
X as InputSelectValue,
|
|
56
|
+
oe as InputText,
|
|
57
|
+
Se as InputTextArea,
|
|
58
|
+
h as Radio,
|
|
59
|
+
v as RadioGroup,
|
|
60
|
+
de as ResizableHandle,
|
|
61
|
+
be as ResizablePanel,
|
|
62
|
+
me as ResizablePanelGroup,
|
|
63
|
+
ce as Search,
|
|
64
|
+
pe as SearchGlobal,
|
|
65
|
+
Y as Select,
|
|
66
|
+
Z as SelectContent,
|
|
67
|
+
_ as SelectGroup,
|
|
68
|
+
$ as SelectGroupLabel,
|
|
69
|
+
ee as SelectItem,
|
|
70
|
+
re as SelectTrigger,
|
|
71
|
+
te as SelectValue,
|
|
72
|
+
se as SidebarPrimary,
|
|
73
|
+
xe as SidebarPrimaryCollapseTrigger,
|
|
74
|
+
ye as SidebarPrimaryContent,
|
|
75
|
+
fe as SidebarPrimaryFooter,
|
|
76
|
+
ge as SidebarPrimaryHeader,
|
|
77
|
+
Me as SidebarPrimaryMenu,
|
|
78
|
+
Pe as SidebarPrimaryMenuItem,
|
|
79
|
+
Te as SidebarPrimaryMenuItemExtras,
|
|
80
|
+
Ce as SidebarPrimarySection,
|
|
81
|
+
Ge as SidebarSecondary,
|
|
82
|
+
Le as SidebarSecondaryCollapseTrigger,
|
|
83
|
+
he as SidebarSecondaryCollapsedBreadcrumb,
|
|
84
|
+
ve as SidebarSecondaryContent,
|
|
85
|
+
Fe as SidebarSecondaryFooter,
|
|
86
|
+
Ae as SidebarSecondaryHeader,
|
|
87
|
+
Re as SidebarSecondaryMenu,
|
|
88
|
+
Ee as SidebarSecondaryMenuItem,
|
|
89
|
+
ke as SidebarSecondaryMenuItemExtras,
|
|
90
|
+
ze as SidebarSecondaryMenuSub,
|
|
91
|
+
He as SidebarSecondaryMenuSubContent,
|
|
92
|
+
we as SidebarSecondaryMenuSubItem,
|
|
93
|
+
De as SidebarSecondaryMenuSubTrigger,
|
|
94
|
+
je as SidebarSecondarySection,
|
|
95
|
+
qe as SidebarSecondarySectionLabel,
|
|
96
|
+
Ue as Switch,
|
|
97
|
+
er as Tag,
|
|
98
|
+
Xe as Tooltip,
|
|
99
|
+
Ye as TooltipContent,
|
|
100
|
+
Ze as TooltipProvider,
|
|
101
|
+
_e as TooltipTrigger,
|
|
102
|
+
c as avatarVariants,
|
|
103
|
+
Oe as buttonIconVariants,
|
|
88
104
|
P as buttonMenuVariants,
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
105
|
+
f as buttonVariants,
|
|
106
|
+
B as cardFilterVariants,
|
|
107
|
+
t as cn,
|
|
108
|
+
Be as sidebarPrimaryMenuItemVariants,
|
|
109
|
+
Je as sidebarSecondaryMenuItemVariants,
|
|
110
|
+
rr as tagVariants
|
|
95
111
|
};
|
|
96
112
|
//# sourceMappingURL=index.js.map
|
package/dist/index.js.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"index.js","sources":[],"sourcesContent":[],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;"}
|
package/dist/react.js
CHANGED
|
@@ -1,96 +1,112 @@
|
|
|
1
|
-
import { cn as
|
|
2
|
-
import { Avatar as
|
|
3
|
-
import { Breadcrumb as
|
|
4
|
-
import { Button as
|
|
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 b, BreadcrumbList as m, 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
5
|
import { ButtonMenu as M, buttonMenuVariants as P } from "./components/ui/button-menu/button-menu.js";
|
|
6
|
-
import { CardFilter as
|
|
7
|
-
import { Checkbox as
|
|
8
|
-
import { Radio as
|
|
9
|
-
import { Input as
|
|
10
|
-
import {
|
|
11
|
-
import {
|
|
12
|
-
import {
|
|
13
|
-
import {
|
|
14
|
-
import {
|
|
15
|
-
import {
|
|
16
|
-
import {
|
|
17
|
-
import {
|
|
18
|
-
import {
|
|
19
|
-
import {
|
|
20
|
-
import {
|
|
21
|
-
import {
|
|
6
|
+
import { CardFilter as C, cardFilterVariants as B } from "./components/ui/card-filter/card-filter.js";
|
|
7
|
+
import { Checkbox as G } from "./components/ui/checkbox/checkbox.js";
|
|
8
|
+
import { Radio as h, RadioGroup as v } from "./components/ui/radio/radio.js";
|
|
9
|
+
import { Input as A } from "./components/ui/input/input.js";
|
|
10
|
+
import { InputSearch as E } from "./components/ui/input-search/input-search.js";
|
|
11
|
+
import { InputSelect as z, InputSelectContent as H, InputSelectDescription as w, InputSelectError as D, InputSelectField as j, InputSelectGroup as q, InputSelectItem as J, InputSelectLabel as K, InputSelectSearch as N, InputSelectSection as O, InputSelectSectionLabel as Q, InputSelectStatus as U, InputSelectTrigger as W, InputSelectValue as X, InputSelect as Y, InputSelectContent as Z, InputSelectSection as _, InputSelectSectionLabel as $, InputSelectItem as ee, InputSelectTrigger as re, InputSelectValue as te } from "./components/ui/input-select/input-select.js";
|
|
12
|
+
import { InputText as oe } from "./components/ui/input-text/input-text.js";
|
|
13
|
+
import { InputTextArea as Se } from "./components/ui/input-text-area/input-text-area.js";
|
|
14
|
+
import { Search as ce } from "./components/ui/search/search.js";
|
|
15
|
+
import { SearchGlobal as pe } from "./components/ui/search-global/search-global.js";
|
|
16
|
+
import { ResizableHandle as de, ResizablePanel as be, ResizablePanelGroup as me } from "./components/ui/resizable/resizable.js";
|
|
17
|
+
import { SidebarPrimary as se, SidebarPrimaryCollapseTrigger as xe, SidebarPrimaryContent as ye, SidebarPrimaryFooter as fe, SidebarPrimaryHeader as ge, SidebarPrimaryMenu as Me, SidebarPrimaryMenuItem as Pe, SidebarPrimaryMenuItemExtras as Te, SidebarPrimarySection as Ce, sidebarPrimaryMenuItemVariants as Be } from "./components/ui/sidebar-primary/sidebar-primary.js";
|
|
18
|
+
import { SidebarSecondary as Ge, SidebarSecondaryCollapseTrigger as Le, SidebarSecondaryCollapsedBreadcrumb as he, SidebarSecondaryContent as ve, SidebarSecondaryFooter as Fe, SidebarSecondaryHeader as Ae, SidebarSecondaryMenu as Re, SidebarSecondaryMenuItem as Ee, SidebarSecondaryMenuItemExtras as ke, SidebarSecondaryMenuSub as ze, SidebarSecondaryMenuSubContent as He, SidebarSecondaryMenuSubItem as we, SidebarSecondaryMenuSubTrigger as De, SidebarSecondarySection as je, SidebarSecondarySectionLabel as qe, sidebarSecondaryMenuItemVariants as Je } from "./components/ui/sidebar-secondary/sidebar-secondary.js";
|
|
19
|
+
import { ButtonIcon as Ne, buttonIconVariants as Oe } from "./components/ui/button-icon/button-icon.js";
|
|
20
|
+
import { Switch as Ue } from "./components/ui/switch/switch.js";
|
|
21
|
+
import { Tooltip as Xe, TooltipContent as Ye, TooltipProvider as Ze, TooltipTrigger as _e } from "./components/ui/tooltip/tooltip.js";
|
|
22
|
+
import { Tag as er, tagVariants as rr } from "./components/ui/tag/tag.js";
|
|
22
23
|
export {
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
24
|
+
o as Avatar,
|
|
25
|
+
n as AvatarFallback,
|
|
26
|
+
S as AvatarGroup,
|
|
27
|
+
i as AvatarImage,
|
|
28
|
+
p as Breadcrumb,
|
|
29
|
+
l as BreadcrumbEllipsis,
|
|
30
|
+
d as BreadcrumbItem,
|
|
31
|
+
b as BreadcrumbLink,
|
|
32
|
+
m as BreadcrumbList,
|
|
33
|
+
I as BreadcrumbPage,
|
|
34
|
+
s as BreadcrumbSeparator,
|
|
35
|
+
y as Button,
|
|
36
|
+
Ne as ButtonIcon,
|
|
36
37
|
M as ButtonMenu,
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
38
|
+
C as CardFilter,
|
|
39
|
+
G as Checkbox,
|
|
40
|
+
A as Input,
|
|
41
|
+
E as InputSearch,
|
|
42
|
+
z as InputSelect,
|
|
43
|
+
H as InputSelectContent,
|
|
44
|
+
w as InputSelectDescription,
|
|
45
|
+
D as InputSelectError,
|
|
46
|
+
j as InputSelectField,
|
|
47
|
+
q as InputSelectGroup,
|
|
48
|
+
J as InputSelectItem,
|
|
49
|
+
K as InputSelectLabel,
|
|
50
|
+
N as InputSelectSearch,
|
|
51
|
+
O as InputSelectSection,
|
|
52
|
+
Q as InputSelectSectionLabel,
|
|
53
|
+
U as InputSelectStatus,
|
|
54
|
+
W as InputSelectTrigger,
|
|
55
|
+
X as InputSelectValue,
|
|
56
|
+
oe as InputText,
|
|
57
|
+
Se as InputTextArea,
|
|
58
|
+
h as Radio,
|
|
59
|
+
v as RadioGroup,
|
|
60
|
+
de as ResizableHandle,
|
|
61
|
+
be as ResizablePanel,
|
|
62
|
+
me as ResizablePanelGroup,
|
|
63
|
+
ce as Search,
|
|
64
|
+
pe as SearchGlobal,
|
|
65
|
+
Y as Select,
|
|
66
|
+
Z as SelectContent,
|
|
67
|
+
_ as SelectGroup,
|
|
68
|
+
$ as SelectGroupLabel,
|
|
69
|
+
ee as SelectItem,
|
|
70
|
+
re as SelectTrigger,
|
|
71
|
+
te as SelectValue,
|
|
72
|
+
se as SidebarPrimary,
|
|
73
|
+
xe as SidebarPrimaryCollapseTrigger,
|
|
74
|
+
ye as SidebarPrimaryContent,
|
|
75
|
+
fe as SidebarPrimaryFooter,
|
|
76
|
+
ge as SidebarPrimaryHeader,
|
|
77
|
+
Me as SidebarPrimaryMenu,
|
|
78
|
+
Pe as SidebarPrimaryMenuItem,
|
|
79
|
+
Te as SidebarPrimaryMenuItemExtras,
|
|
80
|
+
Ce as SidebarPrimarySection,
|
|
81
|
+
Ge as SidebarSecondary,
|
|
82
|
+
Le as SidebarSecondaryCollapseTrigger,
|
|
83
|
+
he as SidebarSecondaryCollapsedBreadcrumb,
|
|
84
|
+
ve as SidebarSecondaryContent,
|
|
85
|
+
Fe as SidebarSecondaryFooter,
|
|
86
|
+
Ae as SidebarSecondaryHeader,
|
|
87
|
+
Re as SidebarSecondaryMenu,
|
|
88
|
+
Ee as SidebarSecondaryMenuItem,
|
|
89
|
+
ke as SidebarSecondaryMenuItemExtras,
|
|
90
|
+
ze as SidebarSecondaryMenuSub,
|
|
91
|
+
He as SidebarSecondaryMenuSubContent,
|
|
92
|
+
we as SidebarSecondaryMenuSubItem,
|
|
93
|
+
De as SidebarSecondaryMenuSubTrigger,
|
|
94
|
+
je as SidebarSecondarySection,
|
|
95
|
+
qe as SidebarSecondarySectionLabel,
|
|
96
|
+
Ue as Switch,
|
|
97
|
+
er as Tag,
|
|
98
|
+
Xe as Tooltip,
|
|
99
|
+
Ye as TooltipContent,
|
|
100
|
+
Ze as TooltipProvider,
|
|
101
|
+
_e as TooltipTrigger,
|
|
102
|
+
c as avatarVariants,
|
|
103
|
+
Oe as buttonIconVariants,
|
|
88
104
|
P as buttonMenuVariants,
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
105
|
+
f as buttonVariants,
|
|
106
|
+
B as cardFilterVariants,
|
|
107
|
+
t as cn,
|
|
108
|
+
Be as sidebarPrimaryMenuItemVariants,
|
|
109
|
+
Je as sidebarSecondaryMenuItemVariants,
|
|
110
|
+
rr as tagVariants
|
|
95
111
|
};
|
|
96
112
|
//# 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 { InputSearch, type InputSearchProps } from './input-search';
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
import { SearchProps } from '../search';
|
|
2
|
+
import * as React from 'react';
|
|
3
|
+
export interface InputSearchProps extends SearchProps {
|
|
4
|
+
/** Field label, rendered above the search box. */
|
|
5
|
+
label?: React.ReactNode;
|
|
6
|
+
/** Marks the field required — appends a `*` after the label. */
|
|
7
|
+
required?: boolean;
|
|
8
|
+
}
|
|
9
|
+
declare const InputSearch: React.ForwardRefExoticComponent<InputSearchProps & React.RefAttributes<HTMLInputElement>>;
|
|
10
|
+
export { InputSearch };
|
|
@@ -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
|
|
3
|
-
|
|
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 };
|
|
@@ -1,14 +1 @@
|
|
|
1
|
-
|
|
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';
|
package/dist/src/index.d.ts
CHANGED
|
@@ -7,6 +7,8 @@ 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-search';
|
|
11
|
+
export * from './components/ui/input-select';
|
|
10
12
|
export * from './components/ui/input-text';
|
|
11
13
|
export * from './components/ui/input-text-area';
|
|
12
14
|
export * from './components/ui/search';
|