@nexub/react 1.7.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-24ZFAXB2.js → chunk-3MSIO7KM.js} +29 -1
- package/dist/chunk-4B4XWDAH.js +1 -0
- package/dist/{chunk-AGYGWU6C.js → chunk-4MEV2WHD.js} +27 -6
- package/dist/{chunk-FLZD7HQY.js → chunk-5FWJXSXT.js} +1 -1
- package/dist/{chunk-NYWD5SI4.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-NZR4UGUZ.js → chunk-6U5WQERX.js} +4 -4
- 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-4UBVU53C.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-4HQFOIZW.js → chunk-ENB7X3W4.js} +3 -3
- package/dist/{chunk-643EYCLL.js → chunk-ESMIBOF5.js} +1 -1
- package/dist/{chunk-ZMJ54TG6.js → chunk-ETWFHIAE.js} +1 -1
- package/dist/{chunk-JHVYI5GK.js → chunk-F7ZA2VA2.js} +1 -1
- package/dist/{chunk-KRCLK5O4.js → chunk-FT2S7N64.js} +1 -1
- package/dist/{chunk-RATKKN3F.js → chunk-G4RLUGE3.js} +4 -4
- package/dist/{chunk-X4BQHXLB.js → chunk-GG5HDX7J.js} +1 -1
- package/dist/{chunk-RM7MTOT5.js → chunk-GSA7NBEG.js} +1 -1
- package/dist/{chunk-MYP5ZTC3.js → chunk-HSM7RXUF.js} +3 -3
- package/dist/{chunk-U2ZYPPRG.js → chunk-IDIS7Z6H.js} +2 -2
- package/dist/{chunk-JSBNYRO4.js → chunk-JVOSMXD5.js} +2 -2
- package/dist/{chunk-BSL62LBX.js → chunk-KRHD7VI6.js} +1 -1
- package/dist/{chunk-4NFUBFYK.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-MLT7SA3T.js → chunk-O6J6HXVT.js} +3 -3
- package/dist/{chunk-NAJKIBU2.js → chunk-OS4NOWEI.js} +1 -1
- package/dist/{chunk-J65MK3N4.js → chunk-OTZBGMYH.js} +2 -2
- package/dist/{chunk-W3KO3JNZ.js → chunk-PC7YGDNL.js} +2 -2
- package/dist/{chunk-PREMZMLU.js → chunk-PGD246WD.js} +1 -1
- package/dist/{chunk-VMT7Y3AT.js → chunk-R6VLSYXK.js} +2 -2
- package/dist/{chunk-UTLKZPKJ.js → chunk-RSBJBQPG.js} +1 -1
- package/dist/{chunk-B254JXS7.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-TAVVXXGO.js → chunk-UAQRQNOB.js} +2 -2
- package/dist/chunk-UCNA2ICU.js +28 -0
- package/dist/{chunk-NERAWEIQ.js → chunk-UV5O2BMW.js} +2 -2
- package/dist/{chunk-XDU27NRX.js → chunk-UVWQPDOV.js} +1 -1
- package/dist/{chunk-GWDEKW7P.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-GG54WBLA.js → chunk-WECNLNIA.js} +2 -2
- package/dist/{chunk-KE4YVG5Q.js → chunk-X3B2MTX6.js} +1 -1
- package/dist/{chunk-37L5ERUJ.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-TZ6KJIR4.js → chunk-ZRBLASQE.js} +1 -1
- package/dist/{chunk-QUNH4BFR.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/AvatarGroup/index.js +2 -2
- 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/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 +54 -5
- package/dist/index.js +91 -90
- package/package.json +6 -6
- package/dist/chunk-MTK3GHDQ.js +0 -25
- package/dist/chunk-OYCK6BRG.js +0 -89
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
|
+
import {
|
|
3
|
+
HelperText
|
|
4
|
+
} from "./chunk-ZLW7IBXK.js";
|
|
2
5
|
import {
|
|
3
6
|
Label
|
|
4
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-PGD246WD.js";
|
|
5
8
|
import {
|
|
6
9
|
FormError
|
|
7
10
|
} from "./chunk-QVTVDL6Y.js";
|
|
8
|
-
import {
|
|
9
|
-
HelperText
|
|
10
|
-
} from "./chunk-WVBGQCYC.js";
|
|
11
11
|
import {
|
|
12
12
|
cn
|
|
13
13
|
} from "./chunk-Q7G5WGYV.js";
|
|
@@ -1,16 +1,16 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
floatingSurface
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-5FWJXSXT.js";
|
|
5
5
|
import {
|
|
6
6
|
field,
|
|
7
7
|
fieldFocusVisible
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5W3AOOYS.js";
|
|
9
9
|
import {
|
|
10
10
|
useIntlLocale,
|
|
11
11
|
useLocale,
|
|
12
12
|
useNexubMessages
|
|
13
|
-
} from "./chunk-
|
|
13
|
+
} from "./chunk-3MSIO7KM.js";
|
|
14
14
|
import {
|
|
15
15
|
cn
|
|
16
16
|
} from "./chunk-Q7G5WGYV.js";
|
|
@@ -5,10 +5,10 @@ import {
|
|
|
5
5
|
import {
|
|
6
6
|
overlaySurface,
|
|
7
7
|
scrim
|
|
8
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-5FWJXSXT.js";
|
|
9
9
|
import {
|
|
10
10
|
useNexubMessages
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-3MSIO7KM.js";
|
|
12
12
|
import {
|
|
13
13
|
cn
|
|
14
14
|
} from "./chunk-Q7G5WGYV.js";
|
|
@@ -7,17 +7,17 @@ import {
|
|
|
7
7
|
} from "./chunk-JLUCMNVS.js";
|
|
8
8
|
import {
|
|
9
9
|
IconButton
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-NYORXEPS.js";
|
|
11
11
|
import {
|
|
12
12
|
fieldDisabledWithin,
|
|
13
13
|
fieldFocusWithin
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-5W3AOOYS.js";
|
|
15
15
|
import {
|
|
16
16
|
glassSurfaceClass
|
|
17
17
|
} from "./chunk-DEIBF3P7.js";
|
|
18
18
|
import {
|
|
19
19
|
useNexubMessages
|
|
20
|
-
} from "./chunk-
|
|
20
|
+
} from "./chunk-3MSIO7KM.js";
|
|
21
21
|
import {
|
|
22
22
|
cn
|
|
23
23
|
} from "./chunk-Q7G5WGYV.js";
|
|
@@ -1,13 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
NumberTicker
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-4MEV2WHD.js";
|
|
5
5
|
import {
|
|
6
6
|
moneyFormatter
|
|
7
7
|
} from "./chunk-CIQHFMF6.js";
|
|
8
8
|
import {
|
|
9
9
|
useIntlLocale
|
|
10
|
-
} from "./chunk-
|
|
10
|
+
} from "./chunk-3MSIO7KM.js";
|
|
11
11
|
import {
|
|
12
12
|
cn
|
|
13
13
|
} from "./chunk-Q7G5WGYV.js";
|
|
@@ -3,12 +3,12 @@ import {
|
|
|
3
3
|
floatingSurface,
|
|
4
4
|
menuLabel,
|
|
5
5
|
menuSeparator
|
|
6
|
-
} from "./chunk-
|
|
6
|
+
} from "./chunk-5FWJXSXT.js";
|
|
7
7
|
import {
|
|
8
8
|
field,
|
|
9
9
|
fieldFocusVisible,
|
|
10
10
|
fieldInvalid
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-5W3AOOYS.js";
|
|
12
12
|
import {
|
|
13
13
|
cn
|
|
14
14
|
} from "./chunk-Q7G5WGYV.js";
|
|
@@ -0,0 +1,28 @@
|
|
|
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, level = 1, ...props }, ref) => {
|
|
11
|
+
const Heading = `h${level}`;
|
|
12
|
+
return /* @__PURE__ */ jsxs("div", { ref, className: cn("flex flex-col gap-4", className), ...props, children: [
|
|
13
|
+
breadcrumb && /* @__PURE__ */ jsx("div", { children: breadcrumb }),
|
|
14
|
+
/* @__PURE__ */ jsxs("div", { className: "flex flex-col gap-2 sm:flex-row sm:items-start sm:justify-between", children: [
|
|
15
|
+
/* @__PURE__ */ jsxs("div", { className: "min-w-0 flex-1", children: [
|
|
16
|
+
/* @__PURE__ */ jsx(Heading, { className: "text-2xl font-semibold tracking-tight text-[var(--color-on-surface)] truncate", children: title }),
|
|
17
|
+
description && /* @__PURE__ */ jsx("p", { className: "mt-1 text-sm text-[var(--color-on-surface-muted)]", children: description })
|
|
18
|
+
] }),
|
|
19
|
+
actions && /* @__PURE__ */ jsx("div", { className: "flex shrink-0 items-center gap-2", children: actions })
|
|
20
|
+
] })
|
|
21
|
+
] });
|
|
22
|
+
}
|
|
23
|
+
);
|
|
24
|
+
PageHeader.displayName = "PageHeader";
|
|
25
|
+
|
|
26
|
+
export {
|
|
27
|
+
PageHeader
|
|
28
|
+
};
|
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-JLUCMNVS.js";
|
|
5
5
|
import {
|
|
6
6
|
Input
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-F7ZA2VA2.js";
|
|
8
8
|
import {
|
|
9
9
|
currencySymbol,
|
|
10
10
|
formatForDisplay,
|
|
@@ -13,7 +13,7 @@ import {
|
|
|
13
13
|
} from "./chunk-CIQHFMF6.js";
|
|
14
14
|
import {
|
|
15
15
|
useIntlLocale
|
|
16
|
-
} from "./chunk-
|
|
16
|
+
} from "./chunk-3MSIO7KM.js";
|
|
17
17
|
import {
|
|
18
18
|
cn
|
|
19
19
|
} from "./chunk-Q7G5WGYV.js";
|
|
@@ -8,10 +8,10 @@ import {
|
|
|
8
8
|
} from "./chunk-JLUCMNVS.js";
|
|
9
9
|
import {
|
|
10
10
|
IconButton
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-NYORXEPS.js";
|
|
12
12
|
import {
|
|
13
13
|
useNexubMessages
|
|
14
|
-
} from "./chunk-
|
|
14
|
+
} from "./chunk-3MSIO7KM.js";
|
|
15
15
|
import {
|
|
16
16
|
cn
|
|
17
17
|
} from "./chunk-Q7G5WGYV.js";
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
AlertDialog
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-TSN6HYVY.js";
|
|
5
|
+
import "../../chunk-5FWJXSXT.js";
|
|
6
|
+
import "../../chunk-22BGPRJZ.js";
|
|
7
|
+
import "../../chunk-5W3AOOYS.js";
|
|
8
8
|
import "../../chunk-DEIBF3P7.js";
|
|
9
9
|
import "../../chunk-Q7G5WGYV.js";
|
|
10
10
|
export {
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Amount
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-PC7YGDNL.js";
|
|
5
|
+
import "../../chunk-4MEV2WHD.js";
|
|
6
6
|
import "../../chunk-CIQHFMF6.js";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-3MSIO7KM.js";
|
|
8
8
|
import "../../chunk-Q7G5WGYV.js";
|
|
9
9
|
export {
|
|
10
10
|
Amount
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Autocomplete
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-GG5HDX7J.js";
|
|
5
5
|
import "../../chunk-FJUVYRNT.js";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-3MSIO7KM.js";
|
|
7
7
|
import "../../chunk-Q7G5WGYV.js";
|
|
8
8
|
export {
|
|
9
9
|
Autocomplete
|
|
@@ -2,9 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
AvatarGroup,
|
|
4
4
|
avatarGroupVariants
|
|
5
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-FT2S7N64.js";
|
|
6
6
|
import "../../chunk-QUYOV2ZJ.js";
|
|
7
|
-
import "../../chunk-
|
|
7
|
+
import "../../chunk-3MSIO7KM.js";
|
|
8
8
|
import "../../chunk-Q7G5WGYV.js";
|
|
9
9
|
export {
|
|
10
10
|
AvatarGroup,
|
|
@@ -3,8 +3,8 @@ import "../../chunk-P26VJEIW.js";
|
|
|
3
3
|
import {
|
|
4
4
|
Button,
|
|
5
5
|
buttonVariants
|
|
6
|
-
} from "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
6
|
+
} from "../../chunk-22BGPRJZ.js";
|
|
7
|
+
import "../../chunk-5W3AOOYS.js";
|
|
8
8
|
import "../../chunk-DEIBF3P7.js";
|
|
9
9
|
import "../../chunk-Q7G5WGYV.js";
|
|
10
10
|
export {
|
|
@@ -4,10 +4,10 @@ import {
|
|
|
4
4
|
SourceChip,
|
|
5
5
|
SourceList,
|
|
6
6
|
safeUrl
|
|
7
|
-
} from "../../chunk-
|
|
8
|
-
import "../../chunk-
|
|
9
|
-
import "../../chunk-
|
|
10
|
-
import "../../chunk-
|
|
7
|
+
} from "../../chunk-UAQRQNOB.js";
|
|
8
|
+
import "../../chunk-X3B2MTX6.js";
|
|
9
|
+
import "../../chunk-5FWJXSXT.js";
|
|
10
|
+
import "../../chunk-3MSIO7KM.js";
|
|
11
11
|
import "../../chunk-Q7G5WGYV.js";
|
|
12
12
|
export {
|
|
13
13
|
Citation,
|
|
@@ -1,10 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
CommandPalette
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-IDIS7Z6H.js";
|
|
5
5
|
import "../../chunk-47UGX37F.js";
|
|
6
|
-
import "../../chunk-
|
|
7
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-5FWJXSXT.js";
|
|
7
|
+
import "../../chunk-3MSIO7KM.js";
|
|
8
8
|
import "../../chunk-Q7G5WGYV.js";
|
|
9
9
|
export {
|
|
10
10
|
CommandPalette
|