@nexub/react 1.6.0 → 1.8.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/dist/{chunk-C6JRJ6JW.js → chunk-22BGPRJZ.js} +1 -1
- package/dist/{chunk-NGQKBDHA.js → chunk-322WR6EU.js} +1 -1
- package/dist/{chunk-GSG2W6DP.js → chunk-3LTB6TGN.js} +1 -1
- package/dist/{chunk-743Y5MY3.js → chunk-3MSIO7KM.js} +40 -6
- package/dist/chunk-4B4XWDAH.js +1 -0
- package/dist/{chunk-MEUJBGY5.js → chunk-4MEV2WHD.js} +27 -6
- package/dist/{chunk-FLZD7HQY.js → chunk-5FWJXSXT.js} +1 -1
- package/dist/{chunk-VAFBGFKY.js → chunk-5GN2GFW3.js} +1 -1
- package/dist/{chunk-LESI7J7B.js → chunk-5NKIGEDZ.js} +1 -0
- package/dist/{chunk-7SXR4PGO.js → chunk-5W3AOOYS.js} +1 -1
- package/dist/{chunk-5KI4YHA3.js → chunk-6U5WQERX.js} +17 -18
- package/dist/{chunk-NZT4TTNV.js → chunk-7BAIEYUW.js} +79 -58
- package/dist/{chunk-NQPGELMP.js → chunk-A4QLUIFN.js} +1 -1
- package/dist/{chunk-PGDXFBKT.js → chunk-BEOHZKPQ.js} +1 -1
- package/dist/{chunk-PPCGUIAB.js → chunk-BIAYWCDE.js} +1 -1
- package/dist/{chunk-YNU6VRD5.js → chunk-BSKEBC2Q.js} +1 -1
- package/dist/chunk-BU5QD2FS.js +148 -0
- package/dist/{chunk-GRKCUQG4.js → chunk-DFCHCYNT.js} +4 -3
- package/dist/{chunk-PMWYLYM3.js → chunk-ENB7X3W4.js} +3 -3
- package/dist/{chunk-NSVXGOR3.js → chunk-ESMIBOF5.js} +1 -1
- package/dist/{chunk-HXV5UA7K.js → chunk-ETWFHIAE.js} +1 -1
- package/dist/{chunk-JHVYI5GK.js → chunk-F7ZA2VA2.js} +1 -1
- package/dist/{chunk-WXRQ42DR.js → chunk-FT2S7N64.js} +2 -2
- package/dist/{chunk-BNFGVFZ3.js → chunk-G4RLUGE3.js} +2 -2
- package/dist/{chunk-SZ2WPWXJ.js → chunk-GG5HDX7J.js} +1 -1
- package/dist/{chunk-O74XEHLA.js → chunk-GSA7NBEG.js} +11 -3
- package/dist/{chunk-IGLOYOCH.js → chunk-HSM7RXUF.js} +46 -11
- package/dist/{chunk-FIDUY6SS.js → chunk-IDIS7Z6H.js} +2 -2
- package/dist/{chunk-TRA6A5C5.js → chunk-JVOSMXD5.js} +2 -2
- package/dist/{chunk-3FPJIXG7.js → chunk-KRHD7VI6.js} +1 -1
- package/dist/{chunk-DGQJRTO6.js → chunk-L4BSKMLK.js} +1 -1
- package/dist/{chunk-7VJABRKB.js → chunk-NORCPKRD.js} +1 -1
- package/dist/{chunk-CQWYZPPJ.js → chunk-NYORXEPS.js} +1 -1
- package/dist/{chunk-3MT23LNM.js → chunk-O6J6HXVT.js} +3 -3
- package/dist/{chunk-UTJJ5HFX.js → chunk-OS4NOWEI.js} +53 -51
- package/dist/{chunk-O626NJEM.js → chunk-OTZBGMYH.js} +2 -2
- package/dist/{chunk-RSU2UHN4.js → chunk-PC7YGDNL.js} +2 -2
- package/dist/{chunk-PREMZMLU.js → chunk-PGD246WD.js} +1 -1
- package/dist/{chunk-2Y4WLNEZ.js → chunk-QUYOV2ZJ.js} +3 -1
- package/dist/{chunk-VMT7Y3AT.js → chunk-R6VLSYXK.js} +2 -2
- package/dist/{chunk-7Q4T7CB6.js → chunk-RSBJBQPG.js} +1 -1
- package/dist/{chunk-CBDJRPMD.js → chunk-RVWQROFK.js} +1 -1
- package/dist/{chunk-2I7FIU6R.js → chunk-SKIJVVBU.js} +1 -1
- package/dist/{chunk-SYZADSLI.js → chunk-SZNSQR2B.js} +1 -1
- package/dist/{chunk-ZTLALVWA.js → chunk-TSN6HYVY.js} +2 -2
- package/dist/{chunk-SAUA52EJ.js → chunk-UAQRQNOB.js} +2 -2
- package/dist/chunk-UCNA2ICU.js +28 -0
- package/dist/{chunk-S7GH2BJP.js → chunk-UV5O2BMW.js} +2 -2
- package/dist/{chunk-XDU27NRX.js → chunk-UVWQPDOV.js} +1 -1
- package/dist/{chunk-7B4VF2ZU.js → chunk-V6CMWCJH.js} +2 -2
- package/dist/{chunk-VD4RFTNV.js → chunk-VF6RWEKX.js} +1 -1
- package/dist/{chunk-CV5ZKED7.js → chunk-W2P2WOAN.js} +1 -1
- package/dist/{chunk-5VW6RUKZ.js → chunk-WECNLNIA.js} +2 -2
- package/dist/{chunk-KE4YVG5Q.js → chunk-X3B2MTX6.js} +1 -1
- package/dist/{chunk-HSPGJSFJ.js → chunk-XHLSYHAV.js} +2 -2
- package/dist/{chunk-RUR57JZQ.js → chunk-ZGZQZG6S.js} +1 -1
- package/dist/{chunk-WVBGQCYC.js → chunk-ZLW7IBXK.js} +1 -1
- package/dist/{chunk-74RUJ5KZ.js → chunk-ZRBLASQE.js} +1 -1
- package/dist/{chunk-Q3ESHXKU.js → chunk-ZTI4MK3L.js} +1 -1
- package/dist/{chunk-7XWJCFWI.js → chunk-ZUGZRXME.js} +1 -1
- package/dist/components/Alert/index.js +2 -2
- package/dist/components/AlertDialog/index.js +4 -4
- package/dist/components/Amount/index.js +3 -3
- package/dist/components/Autocomplete/index.js +2 -2
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/AvatarGroup/index.js +3 -3
- package/dist/components/Banner/index.js +2 -2
- package/dist/components/Breadcrumb/index.js +2 -2
- package/dist/components/Button/index.js +2 -2
- package/dist/components/Chip/index.js +2 -2
- package/dist/components/Citation/index.js +4 -4
- package/dist/components/CommandPalette/index.js +3 -3
- package/dist/components/ContextMenu/index.js +2 -2
- package/dist/components/DataTable/index.js +4 -2
- package/dist/components/DatePicker/index.js +4 -4
- package/dist/components/DateRangePicker/index.js +5 -5
- package/dist/components/Dialog/index.js +2 -2
- package/dist/components/Drawer/index.js +2 -2
- package/dist/components/DropdownMenu/index.js +2 -2
- package/dist/components/ErrorState/index.js +2 -2
- package/dist/components/EyebrowChip/index.js +3 -3
- package/dist/components/FileUpload/index.js +2 -2
- package/dist/components/FilterChip/index.js +3 -3
- package/dist/components/FormField/index.js +5 -5
- package/dist/components/Heading/index.js +3 -3
- package/dist/components/HelperText/index.js +3 -3
- package/dist/components/HoverCard/index.js +2 -2
- package/dist/components/IconButton/index.js +2 -2
- package/dist/components/Input/index.js +2 -2
- package/dist/components/Kbd/index.js +1 -1
- package/dist/components/KeyboardShortcut/index.js +2 -2
- package/dist/components/Label/index.js +3 -3
- package/dist/components/Menubar/index.js +2 -2
- package/dist/components/MessageBubble/index.js +4 -4
- package/dist/components/MoneyInput/index.js +4 -4
- package/dist/components/NavigationMenu/index.js +2 -2
- package/dist/components/NavigationRail/index.js +2 -2
- package/dist/components/NexubProvider/index.js +1 -1
- package/dist/components/NumberInput/index.js +4 -4
- package/dist/components/NumberTicker/index.js +2 -2
- package/dist/components/PageHeader/index.js +1 -1
- package/dist/components/Pagination/index.js +3 -3
- package/dist/components/PasswordInput/index.js +4 -4
- package/dist/components/Popover/index.js +2 -2
- package/dist/components/PromptInput/index.js +4 -4
- package/dist/components/Rating/index.js +2 -2
- package/dist/components/ScrollArea/index.js +1 -1
- package/dist/components/SearchInput/index.js +4 -4
- package/dist/components/Select/index.js +3 -3
- package/dist/components/Sidebar/index.js +2 -2
- package/dist/components/Spinner/index.js +2 -2
- package/dist/components/SplitButton/index.js +5 -5
- package/dist/components/Table/index.js +2 -1
- package/dist/components/Textarea/index.js +2 -2
- package/dist/components/ThinkingIndicator/index.js +2 -2
- package/dist/components/Toast/index.js +2 -2
- package/dist/components/TopNav/index.js +2 -2
- package/dist/index.d.ts +90 -10
- package/dist/index.js +65 -64
- package/package.json +6 -6
- package/dist/chunk-MTK3GHDQ.js +0 -25
- package/dist/chunk-OYCK6BRG.js +0 -89
package/dist/chunk-MTK3GHDQ.js
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import {
|
|
3
|
-
cn
|
|
4
|
-
} from "./chunk-Q7G5WGYV.js";
|
|
5
|
-
|
|
6
|
-
// src/components/PageHeader/PageHeader.tsx
|
|
7
|
-
import * as React from "react";
|
|
8
|
-
import { jsx, jsxs } from "react/jsx-runtime";
|
|
9
|
-
var PageHeader = React.forwardRef(
|
|
10
|
-
({ className, title, description, actions, breadcrumb, ...props }, ref) => /* @__PURE__ */ jsxs("div", { ref, className: cn("flex flex-col gap-4", className), ...props, children: [
|
|
11
|
-
breadcrumb && /* @__PURE__ */ jsx("div", { children: breadcrumb }),
|
|
12
|
-
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 sm:flex-row sm:items-start sm:justify-between", children: [
|
|
13
|
-
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
14
|
-
/* @__PURE__ */ jsx("h1", { className: "text-2xl font-semibold tracking-tight text-[var(--color-on-surface)] truncate", children: title }),
|
|
15
|
-
description && /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-[var(--color-on-surface-muted)]", children: description })
|
|
16
|
-
] }),
|
|
17
|
-
actions && /* @__PURE__ */ jsx("div", { className: "flex shrink-0 items-center gap-2", children: actions })
|
|
18
|
-
] })
|
|
19
|
-
] })
|
|
20
|
-
);
|
|
21
|
-
PageHeader.displayName = "PageHeader";
|
|
22
|
-
|
|
23
|
-
export {
|
|
24
|
-
PageHeader
|
|
25
|
-
};
|
package/dist/chunk-OYCK6BRG.js
DELETED
|
@@ -1,89 +0,0 @@
|
|
|
1
|
-
'use client';
|
|
2
|
-
import {
|
|
3
|
-
cn
|
|
4
|
-
} from "./chunk-Q7G5WGYV.js";
|
|
5
|
-
|
|
6
|
-
// src/components/Table/Table.tsx
|
|
7
|
-
import * as React from "react";
|
|
8
|
-
import { jsx } from "react/jsx-runtime";
|
|
9
|
-
var Root = React.forwardRef(
|
|
10
|
-
({ className, ...props }, ref) => /* @__PURE__ */ jsx("div", { className: "relative w-full overflow-auto", children: /* @__PURE__ */ jsx("table", { ref, className: cn("w-full caption-bottom text-sm tabular-nums", className), ...props }) })
|
|
11
|
-
);
|
|
12
|
-
Root.displayName = "Table.Root";
|
|
13
|
-
var Header = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("thead", { ref, className: cn("[&_tr]:border-b", className), ...props }));
|
|
14
|
-
Header.displayName = "Table.Header";
|
|
15
|
-
var Body = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx("tbody", { ref, className: cn("[&_tr:last-child]:border-0", className), ...props }));
|
|
16
|
-
Body.displayName = "Table.Body";
|
|
17
|
-
var TableFooter = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
18
|
-
"tfoot",
|
|
19
|
-
{
|
|
20
|
-
ref,
|
|
21
|
-
className: cn(
|
|
22
|
-
"border-t bg-[var(--color-surface-container-low)] font-medium [&>tr]:last:border-b-0",
|
|
23
|
-
className
|
|
24
|
-
),
|
|
25
|
-
...props
|
|
26
|
-
}
|
|
27
|
-
));
|
|
28
|
-
TableFooter.displayName = "Table.Footer";
|
|
29
|
-
var Row = React.forwardRef(
|
|
30
|
-
({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
31
|
-
"tr",
|
|
32
|
-
{
|
|
33
|
-
ref,
|
|
34
|
-
className: cn(
|
|
35
|
-
"border-b border-[var(--color-outline-variant)] transition-colors hover:bg-[color-mix(in_srgb,var(--color-surface-container-low)_50%,transparent)] data-[state=selected]:bg-[var(--color-surface-container-low)]",
|
|
36
|
-
className
|
|
37
|
-
),
|
|
38
|
-
...props
|
|
39
|
-
}
|
|
40
|
-
)
|
|
41
|
-
);
|
|
42
|
-
Row.displayName = "Table.Row";
|
|
43
|
-
var Head = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
44
|
-
"th",
|
|
45
|
-
{
|
|
46
|
-
ref,
|
|
47
|
-
className: cn(
|
|
48
|
-
"h-10 px-4 text-start align-middle font-medium text-[var(--color-on-surface-muted)] [&:has([role=checkbox])]:pe-0 [&>[role=checkbox]]:translate-y-[2px]",
|
|
49
|
-
className
|
|
50
|
-
),
|
|
51
|
-
...props
|
|
52
|
-
}
|
|
53
|
-
));
|
|
54
|
-
Head.displayName = "Table.Head";
|
|
55
|
-
var Cell = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
56
|
-
"td",
|
|
57
|
-
{
|
|
58
|
-
ref,
|
|
59
|
-
className: cn(
|
|
60
|
-
"p-4 align-middle [&:has([role=checkbox])]:pe-0 [&>[role=checkbox]]:translate-y-[2px]",
|
|
61
|
-
className
|
|
62
|
-
),
|
|
63
|
-
...props
|
|
64
|
-
}
|
|
65
|
-
));
|
|
66
|
-
Cell.displayName = "Table.Cell";
|
|
67
|
-
var Caption = React.forwardRef(({ className, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
68
|
-
"caption",
|
|
69
|
-
{
|
|
70
|
-
ref,
|
|
71
|
-
className: cn("mt-4 text-sm text-[var(--color-on-surface-muted)]", className),
|
|
72
|
-
...props
|
|
73
|
-
}
|
|
74
|
-
));
|
|
75
|
-
Caption.displayName = "Table.Caption";
|
|
76
|
-
var Table = {
|
|
77
|
-
Root,
|
|
78
|
-
Header,
|
|
79
|
-
Body,
|
|
80
|
-
Footer: TableFooter,
|
|
81
|
-
Row,
|
|
82
|
-
Head,
|
|
83
|
-
Cell,
|
|
84
|
-
Caption
|
|
85
|
-
};
|
|
86
|
-
|
|
87
|
-
export {
|
|
88
|
-
Table
|
|
89
|
-
};
|