@nexub/react 1.5.0 → 1.6.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-XR4NBY54.js → chunk-2DYKENBM.js} +10 -10
- package/dist/{chunk-SVQCINRE.js → chunk-2I7FIU6R.js} +5 -2
- package/dist/{chunk-FHFVBOF3.js → chunk-2Y4WLNEZ.js} +3 -3
- package/dist/{chunk-CWS37T3K.js → chunk-3E7X3YK3.js} +4 -2
- package/dist/{chunk-GRB6T2TT.js → chunk-3FPJIXG7.js} +19 -13
- package/dist/chunk-3MT23LNM.js +171 -0
- package/dist/chunk-3QD76BKT.js +80 -0
- package/dist/{chunk-B54WADL4.js → chunk-4P2JJ2FH.js} +12 -12
- package/dist/chunk-52ZVJPF7.js +1 -0
- package/dist/chunk-5KI4YHA3.js +144 -0
- package/dist/chunk-5QEARXY3.js +55 -0
- package/dist/chunk-5VW6RUKZ.js +134 -0
- package/dist/{chunk-CNNJFWFA.js → chunk-6BGUZQAX.js} +4 -4
- package/dist/{chunk-LDYD7WL3.js → chunk-6ECOCGZG.js} +4 -3
- package/dist/{chunk-3AXIMXDU.js → chunk-6JBQAJJD.js} +6 -12
- package/dist/{chunk-YRDCY6BI.js → chunk-6UKNUI46.js} +0 -19
- package/dist/chunk-743Y5MY3.js +95 -0
- package/dist/{chunk-BFRX6X4O.js → chunk-74RUJ5KZ.js} +23 -17
- package/dist/chunk-77LYWSJW.js +85 -0
- package/dist/{chunk-YPHNHQYQ.js → chunk-7B4VF2ZU.js} +6 -2
- package/dist/{chunk-NCRFKPA4.js → chunk-7MSIOYJZ.js} +6 -8
- package/dist/{chunk-AHT35UWY.js → chunk-7Q4T7CB6.js} +10 -6
- package/dist/{chunk-GIGOTRXX.js → chunk-7VJABRKB.js} +3 -10
- package/dist/{chunk-6QLLH6ID.js → chunk-7XWJCFWI.js} +8 -17
- package/dist/chunk-A3O23F2B.js +1 -0
- package/dist/chunk-AT2DSFP3.js +47 -0
- package/dist/{chunk-OASFXI27.js → chunk-BNFGVFZ3.js} +5 -5
- package/dist/{chunk-GHCV6UXG.js → chunk-BTYDDKRQ.js} +5 -5
- package/dist/chunk-C6JRJ6JW.js +167 -0
- package/dist/chunk-CAOLGXA5.js +1 -0
- package/dist/{chunk-IIPYF6ZQ.js → chunk-CBDJRPMD.js} +16 -13
- package/dist/{chunk-OJ2TLWYD.js → chunk-CKFRMCZ7.js} +5 -3
- package/dist/{chunk-LZB3KTSH.js → chunk-CQWYZPPJ.js} +1 -1
- package/dist/{chunk-6RBNM5RO.js → chunk-CUOASXI7.js} +10 -10
- package/dist/{chunk-HG6HTUWU.js → chunk-CV5ZKED7.js} +2 -2
- package/dist/{chunk-HJERFB7J.js → chunk-DDRYT3SY.js} +2 -2
- package/dist/chunk-DGCAM2UJ.js +60 -0
- package/dist/{chunk-RLE5RN3T.js → chunk-DGQJRTO6.js} +15 -11
- package/dist/{chunk-FD7YU53N.js → chunk-DT3QGFXB.js} +4 -4
- package/dist/chunk-F73DTG2V.js +123 -0
- package/dist/{chunk-V3TETH4J.js → chunk-FIDUY6SS.js} +17 -16
- package/dist/{chunk-Z3IG5WRA.js → chunk-FJUVYRNT.js} +3 -3
- package/dist/{chunk-KQPLFVFR.js → chunk-FLZD7HQY.js} +0 -2
- package/dist/{chunk-64JDZWCV.js → chunk-GRKCUQG4.js} +6 -5
- package/dist/{chunk-EZ23IA3H.js → chunk-GSG2W6DP.js} +3 -3
- package/dist/{chunk-4I5ULCYG.js → chunk-HFTS5AN7.js} +3 -3
- package/dist/{chunk-RB4CVS22.js → chunk-HH7EHNOW.js} +3 -1
- package/dist/{chunk-S46W2QER.js → chunk-HSPGJSFJ.js} +17 -11
- package/dist/{chunk-NQVRF4RB.js → chunk-HXV5UA7K.js} +16 -13
- package/dist/{chunk-GUB7YKG2.js → chunk-I4U36P54.js} +6 -3
- package/dist/{chunk-BTRTORKU.js → chunk-I6CAF7C5.js} +6 -7
- package/dist/chunk-IGLOYOCH.js +134 -0
- package/dist/{chunk-IK23Q2OF.js → chunk-JHVYI5GK.js} +3 -3
- package/dist/chunk-K5FKEAAK.js +94 -0
- package/dist/{chunk-5URGARPH.js → chunk-KE4YVG5Q.js} +6 -10
- package/dist/{chunk-A4IMFAZX.js → chunk-LESI7J7B.js} +3 -3
- package/dist/chunk-MEUJBGY5.js +88 -0
- package/dist/chunk-MNEXMMLM.js +23 -0
- package/dist/{chunk-PVTACENM.js → chunk-MTK3GHDQ.js} +2 -2
- package/dist/chunk-NA5UMOE5.js +55 -0
- package/dist/{chunk-YJ3JQYAN.js → chunk-NGQKBDHA.js} +5 -13
- package/dist/{chunk-7Q7ZF6BY.js → chunk-NNIFOMIH.js} +18 -8
- package/dist/{chunk-7L3CGIRA.js → chunk-NQPGELMP.js} +8 -19
- package/dist/chunk-NSVXGOR3.js +54 -0
- package/dist/{chunk-6J3QTWKC.js → chunk-NZT4TTNV.js} +18 -9
- package/dist/{chunk-TJCHA3OI.js → chunk-O626NJEM.js} +7 -4
- package/dist/chunk-O74XEHLA.js +331 -0
- package/dist/{chunk-JSD3H7WV.js → chunk-OYCK6BRG.js} +6 -6
- package/dist/{chunk-2555JXCP.js → chunk-PBPUSRTJ.js} +19 -11
- package/dist/{chunk-QD7H3WV3.js → chunk-PGDXFBKT.js} +8 -8
- package/dist/{chunk-PQ6GU7SG.js → chunk-PMWYLYM3.js} +20 -14
- package/dist/{chunk-I4BHRVRL.js → chunk-PPCGUIAB.js} +9 -5
- package/dist/{chunk-NIX4SEKM.js → chunk-PREMZMLU.js} +7 -4
- package/dist/{chunk-4SSUM4CL.js → chunk-Q3ESHXKU.js} +9 -6
- package/dist/{chunk-KM6Z3VTI.js → chunk-QVTVDL6Y.js} +1 -1
- package/dist/{chunk-AXOKFS4K.js → chunk-RSU2UHN4.js} +20 -4
- package/dist/{chunk-DJZZ3FIP.js → chunk-RUR57JZQ.js} +5 -14
- package/dist/{chunk-ZV3AF5CL.js → chunk-S2CTBFLN.js} +13 -2
- package/dist/{chunk-WESZPFBZ.js → chunk-S7GH2BJP.js} +7 -4
- package/dist/chunk-SAUA52EJ.js +131 -0
- package/dist/{chunk-72I7EVOL.js → chunk-SYZADSLI.js} +10 -6
- package/dist/{chunk-TEOLG3N2.js → chunk-SZ2WPWXJ.js} +10 -6
- package/dist/{chunk-W2NEXOTG.js → chunk-T7RLPFGX.js} +2 -2
- package/dist/{chunk-J6TU45KP.js → chunk-TRA6A5C5.js} +26 -12
- package/dist/{chunk-H2W7IYVY.js → chunk-UTJJ5HFX.js} +18 -12
- package/dist/{chunk-5O34ZNC3.js → chunk-VAFBGFKY.js} +19 -13
- package/dist/{chunk-OJRSPDNJ.js → chunk-VD4RFTNV.js} +8 -14
- package/dist/chunk-VLQGQFW7.js +110 -0
- package/dist/{chunk-RTDUTWJ4.js → chunk-VMT7Y3AT.js} +5 -8
- package/dist/{chunk-LGQ737BP.js → chunk-WHTLXQB6.js} +1 -1
- package/dist/chunk-WLRRMT6W.js +1 -0
- package/dist/{chunk-2FCSWBSM.js → chunk-WMWX6DPB.js} +3 -3
- package/dist/{chunk-UMC64NCT.js → chunk-WVBGQCYC.js} +6 -3
- package/dist/{chunk-QCNLE27O.js → chunk-WXRQ42DR.js} +11 -7
- package/dist/{chunk-SY6V3HAK.js → chunk-XDU27NRX.js} +3 -3
- package/dist/{chunk-KA2J5OBA.js → chunk-XQDD76EF.js} +4 -7
- package/dist/chunk-XTATJMY6.js +64 -0
- package/dist/chunk-XYXMPHND.js +1 -0
- package/dist/{chunk-7ZWBHHRK.js → chunk-YNU6VRD5.js} +23 -32
- package/dist/{chunk-6SJPVQQW.js → chunk-Z3HF6XJ3.js} +1 -1
- package/dist/{chunk-I4URNMI7.js → chunk-ZC4MZAEX.js} +9 -7
- package/dist/{chunk-PWBPHGM3.js → chunk-ZCEUVK2R.js} +2 -2
- package/dist/chunk-ZT3NWE5U.js +1 -0
- package/dist/{chunk-RHOYF7MO.js → chunk-ZTLALVWA.js} +6 -15
- package/dist/components/Accordion/index.js +1 -1
- package/dist/components/Alert/index.js +2 -1
- package/dist/components/AlertDialog/index.js +3 -3
- package/dist/components/Amount/index.js +3 -1
- package/dist/components/AspectRatio/index.js +1 -1
- package/dist/components/Autocomplete/index.js +3 -2
- package/dist/components/Avatar/index.js +1 -1
- package/dist/components/AvatarGroup/index.js +3 -2
- package/dist/components/Badge/index.js +1 -1
- package/dist/components/Banner/index.js +2 -1
- package/dist/components/Breadcrumb/index.js +2 -1
- package/dist/components/Button/index.js +1 -1
- package/dist/components/ButtonGroup/index.js +1 -1
- package/dist/components/Callout/index.js +1 -1
- package/dist/components/Card/index.js +3 -1
- package/dist/components/CheckList/index.js +1 -1
- package/dist/components/Checkbox/index.js +1 -1
- package/dist/components/CheckboxCard/index.js +9 -0
- package/dist/components/Chip/index.js +2 -1
- package/dist/components/Citation/index.js +17 -0
- package/dist/components/Code/index.js +1 -1
- package/dist/components/Combobox/index.js +1 -1
- package/dist/components/CommandPalette/index.js +3 -2
- package/dist/components/ContextMenu/index.js +2 -2
- package/dist/components/CountryBadge/index.js +1 -1
- package/dist/components/DataTable/index.js +2 -1
- package/dist/components/DatePicker/index.js +5 -1
- package/dist/components/DateRangePicker/index.js +5 -1
- 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/EmptyState/index.js +1 -1
- package/dist/components/ErrorState/index.js +2 -1
- package/dist/components/EyebrowChip/index.js +4 -1
- package/dist/components/FileUpload/index.js +2 -1
- package/dist/components/FilterChip/index.js +3 -1
- package/dist/components/Flex/index.js +2 -1
- package/dist/components/FormError/index.js +1 -1
- package/dist/components/FormField/index.js +7 -4
- package/dist/components/GradientDivider/index.js +1 -1
- package/dist/components/Grid/index.js +2 -1
- package/dist/components/Heading/index.js +4 -1
- package/dist/components/HelperText/index.js +4 -1
- package/dist/components/HoverCard/index.js +3 -2
- package/dist/components/IconButton/index.js +2 -1
- package/dist/components/Input/index.js +1 -1
- package/dist/components/Kbd/index.js +1 -1
- package/dist/components/KeyboardShortcut/index.js +2 -2
- package/dist/components/Label/index.js +4 -1
- package/dist/components/Link/index.js +1 -1
- package/dist/components/Logo/index.js +1 -1
- package/dist/components/MediaCard/index.js +9 -0
- package/dist/components/Menubar/index.js +2 -2
- package/dist/components/MessageBubble/index.js +18 -0
- package/dist/components/MoneyInput/index.js +3 -2
- package/dist/components/NavigationMenu/index.js +2 -2
- package/dist/components/NavigationRail/index.js +2 -1
- package/dist/components/NexubProvider/index.js +14 -0
- package/dist/components/NumberInput/index.js +3 -2
- package/dist/components/NumberTicker/index.js +10 -0
- package/dist/components/PageHeader/index.js +1 -1
- package/dist/components/Pagination/index.js +3 -1
- package/dist/components/PasswordInput/index.js +3 -2
- package/dist/components/Popover/index.js +2 -2
- package/dist/components/Progress/index.js +2 -1
- package/dist/components/PromptInput/index.js +15 -0
- package/dist/components/RadioCard/index.js +11 -0
- package/dist/components/RadioGroup/index.js +1 -1
- package/dist/components/Rating/index.js +2 -1
- package/dist/components/ScrollArea/index.js +1 -1
- package/dist/components/SearchInput/index.js +3 -2
- package/dist/components/Section/index.js +1 -1
- package/dist/components/SegmentedControl/index.js +3 -2
- package/dist/components/Select/index.js +2 -2
- package/dist/components/Separator/index.js +1 -1
- package/dist/components/Sidebar/index.js +2 -1
- package/dist/components/Skeleton/index.js +1 -1
- package/dist/components/Spinner/index.js +2 -1
- package/dist/components/SplitButton/index.js +5 -5
- package/dist/components/Stack/index.js +2 -1
- package/dist/components/StatusPill/index.js +1 -1
- package/dist/components/StreamingText/index.js +8 -0
- package/dist/components/Switch/index.js +1 -1
- package/dist/components/Table/index.js +1 -1
- package/dist/components/Tabs/index.js +3 -2
- package/dist/components/Tag/index.js +1 -1
- package/dist/components/Text/index.js +1 -1
- package/dist/components/TextGradient/index.js +1 -1
- package/dist/components/Textarea/index.js +1 -1
- package/dist/components/ThinkingIndicator/index.js +9 -0
- package/dist/components/Toast/index.js +3 -1
- package/dist/components/Tooltip/index.js +2 -1
- package/dist/components/TopNav/index.js +2 -1
- package/dist/index.d.ts +407 -22
- package/dist/index.js +245 -166
- package/package.json +52 -50
- package/dist/chunk-63DPMUMR.js +0 -67
- package/dist/chunk-CHGPGRML.js +0 -115
- package/dist/chunk-J2T4GFFS.js +0 -85
- package/dist/chunk-LH3BSAIS.js +0 -119
- package/dist/chunk-LMPGHWUA.js +0 -114
- package/dist/chunk-NMH5WSZG.js +0 -72
- package/dist/chunk-P44EROBX.js +0 -55
- package/dist/chunk-TYTW4F3B.js +0 -178
|
@@ -4,7 +4,7 @@ import {
|
|
|
4
4
|
} from "./chunk-47UGX37F.js";
|
|
5
5
|
import {
|
|
6
6
|
scrim
|
|
7
|
-
} from "./chunk-
|
|
7
|
+
} from "./chunk-FLZD7HQY.js";
|
|
8
8
|
import {
|
|
9
9
|
glassSurfaceClass
|
|
10
10
|
} from "./chunk-DEIBF3P7.js";
|
|
@@ -16,7 +16,7 @@ import {
|
|
|
16
16
|
import * as React2 from "react";
|
|
17
17
|
import { Slot } from "@radix-ui/react-slot";
|
|
18
18
|
|
|
19
|
-
// ../../node_modules/.pnpm/vaul@1.1.2_@types+react-dom@19.
|
|
19
|
+
// ../../node_modules/.pnpm/vaul@1.1.2_@types+react-dom@19.3.0_@types+react@19.3.0__@types+react@19.3.0_react-dom@19.3.1_react@19.3.1__react@19.3.1/node_modules/vaul/dist/index.mjs
|
|
20
20
|
import * as DialogPrimitive from "@radix-ui/react-dialog";
|
|
21
21
|
import * as React from "react";
|
|
22
22
|
import React__default, { useLayoutEffect, useEffect, useMemo } from "react";
|
|
@@ -1576,7 +1576,7 @@ var Content3 = React2.forwardRef(({ className, children, side = "right", surface
|
|
|
1576
1576
|
"data-glass-thickness": surface === "glass" ? "thick" : void 0,
|
|
1577
1577
|
...props,
|
|
1578
1578
|
children: [
|
|
1579
|
-
side === "bottom" && /* @__PURE__ */ jsx("div", { className: "mx-auto mt-4 h-2 w-20 rounded-full bg-[var(--color-
|
|
1579
|
+
side === "bottom" && /* @__PURE__ */ jsx("div", { className: "mx-auto mt-4 h-2 w-20 rounded-full bg-[var(--color-outline-variant)]" }),
|
|
1580
1580
|
children
|
|
1581
1581
|
]
|
|
1582
1582
|
}
|
|
@@ -7,7 +7,9 @@ import {
|
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
import * as RadixTooltip from "@radix-ui/react-tooltip";
|
|
9
9
|
import { jsx, jsxs } from "react/jsx-runtime";
|
|
10
|
-
|
|
10
|
+
function Provider2({ delayDuration = 400, skipDelayDuration = 300, ...props }) {
|
|
11
|
+
return /* @__PURE__ */ jsx(RadixTooltip.Provider, { delayDuration, skipDelayDuration, ...props });
|
|
12
|
+
}
|
|
11
13
|
var Root2 = RadixTooltip.Root;
|
|
12
14
|
var Trigger2 = RadixTooltip.Trigger;
|
|
13
15
|
var Content2 = React.forwardRef(
|
|
@@ -19,12 +21,7 @@ var Content2 = React.forwardRef(
|
|
|
19
21
|
sideOffset,
|
|
20
22
|
className: cn(
|
|
21
23
|
"z-[var(--z-tooltip,1800)] rounded-shape-tooltip bg-[var(--color-inverse-surface)] px-2.5 py-1.5 text-label-md text-[var(--color-inverse-on-surface)] shadow-elevation-1",
|
|
22
|
-
"
|
|
23
|
-
"data-[state=delayed-open]:animate-in data-[state=closed]:animate-out",
|
|
24
|
-
"data-[state=delayed-open]:fade-in-0 data-[state=closed]:fade-out-0",
|
|
25
|
-
"data-[state=delayed-open]:zoom-in-95 data-[state=closed]:zoom-out-95",
|
|
26
|
-
"data-[side=bottom]:slide-in-from-top-1 data-[side=top]:slide-in-from-bottom-1",
|
|
27
|
-
"data-[side=left]:slide-in-from-right-1 data-[side=right]:slide-in-from-left-1",
|
|
24
|
+
"nx-motion nx-pop origin-[var(--radix-tooltip-content-transform-origin)]",
|
|
28
25
|
className
|
|
29
26
|
),
|
|
30
27
|
...props
|
|
@@ -0,0 +1,64 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
SelectableCardContent,
|
|
4
|
+
selectableCardClass,
|
|
5
|
+
useCardIds
|
|
6
|
+
} from "./chunk-K5FKEAAK.js";
|
|
7
|
+
import {
|
|
8
|
+
cn
|
|
9
|
+
} from "./chunk-Q7G5WGYV.js";
|
|
10
|
+
|
|
11
|
+
// src/components/RadioCard/RadioCard.tsx
|
|
12
|
+
import * as React from "react";
|
|
13
|
+
import * as RadixRadioGroup from "@radix-ui/react-radio-group";
|
|
14
|
+
import { jsx } from "react/jsx-runtime";
|
|
15
|
+
var columnsClass = {
|
|
16
|
+
1: "grid-cols-1",
|
|
17
|
+
2: "grid-cols-1 sm:grid-cols-2",
|
|
18
|
+
3: "grid-cols-1 sm:grid-cols-3",
|
|
19
|
+
4: "grid-cols-1 sm:grid-cols-2 lg:grid-cols-4"
|
|
20
|
+
};
|
|
21
|
+
var RadioCardGroup = React.forwardRef(
|
|
22
|
+
({ className, columns = 1, ...props }, ref) => /* @__PURE__ */ jsx(
|
|
23
|
+
RadixRadioGroup.Root,
|
|
24
|
+
{
|
|
25
|
+
ref,
|
|
26
|
+
className: cn("grid gap-3", columnsClass[columns], className),
|
|
27
|
+
...props
|
|
28
|
+
}
|
|
29
|
+
)
|
|
30
|
+
);
|
|
31
|
+
RadioCardGroup.displayName = "RadioCardGroup";
|
|
32
|
+
var RadioCard = React.forwardRef(
|
|
33
|
+
({ className, icon, title, description, children, ...props }, ref) => {
|
|
34
|
+
const ids = useCardIds(description != null);
|
|
35
|
+
return /* @__PURE__ */ jsx(
|
|
36
|
+
RadixRadioGroup.Item,
|
|
37
|
+
{
|
|
38
|
+
ref,
|
|
39
|
+
"aria-labelledby": ids.titleId,
|
|
40
|
+
"aria-describedby": ids.describedBy,
|
|
41
|
+
className: cn(selectableCardClass, className),
|
|
42
|
+
...props,
|
|
43
|
+
children: /* @__PURE__ */ jsx(
|
|
44
|
+
SelectableCardContent,
|
|
45
|
+
{
|
|
46
|
+
icon,
|
|
47
|
+
title,
|
|
48
|
+
description,
|
|
49
|
+
titleId: ids.titleId,
|
|
50
|
+
descriptionId: ids.descriptionId,
|
|
51
|
+
shape: "circle",
|
|
52
|
+
children
|
|
53
|
+
}
|
|
54
|
+
)
|
|
55
|
+
}
|
|
56
|
+
);
|
|
57
|
+
}
|
|
58
|
+
);
|
|
59
|
+
RadioCard.displayName = "RadioCard";
|
|
60
|
+
|
|
61
|
+
export {
|
|
62
|
+
RadioCardGroup,
|
|
63
|
+
RadioCard
|
|
64
|
+
};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use client';
|
|
@@ -16,7 +16,7 @@ var textareaVariants = cva(
|
|
|
16
16
|
[
|
|
17
17
|
"w-full",
|
|
18
18
|
field,
|
|
19
|
-
"placeholder:text-[var(--color-
|
|
19
|
+
"placeholder:text-[var(--color-on-surface-muted)]",
|
|
20
20
|
fieldFocusVisible,
|
|
21
21
|
"disabled:cursor-not-allowed disabled:border-[var(--color-outline-variant)] disabled:bg-[var(--color-surface-container-low)] disabled:text-[var(--color-text-disabled)]"
|
|
22
22
|
],
|
|
@@ -75,37 +75,28 @@ var Textarea = React.forwardRef(
|
|
|
75
75
|
* and the textarea, so the container grows to fit the larger of the two.
|
|
76
76
|
* The textarea is stretched to fill the container height automatically.
|
|
77
77
|
*/
|
|
78
|
-
/* @__PURE__ */ jsxs(
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
className: cn(sharedClass, "overflow-hidden"),
|
|
101
|
-
"aria-invalid": invalid ?? void 0,
|
|
102
|
-
style: { gridArea: "grow" },
|
|
103
|
-
...props
|
|
104
|
-
}
|
|
105
|
-
)
|
|
106
|
-
]
|
|
107
|
-
}
|
|
108
|
-
)
|
|
78
|
+
/* @__PURE__ */ jsxs("div", { className: "grid w-full", children: [
|
|
79
|
+
/* @__PURE__ */ jsx(
|
|
80
|
+
"span",
|
|
81
|
+
{
|
|
82
|
+
"aria-hidden": "true",
|
|
83
|
+
className: cn(sharedClass, "col-start-1 row-start-1 invisible whitespace-pre-wrap break-words pointer-events-none"),
|
|
84
|
+
children: resolvedValue + "\u200B"
|
|
85
|
+
}
|
|
86
|
+
),
|
|
87
|
+
/* @__PURE__ */ jsx(
|
|
88
|
+
"textarea",
|
|
89
|
+
{
|
|
90
|
+
ref,
|
|
91
|
+
value,
|
|
92
|
+
defaultValue: !controlled ? defaultValue : void 0,
|
|
93
|
+
onChange: handleChange,
|
|
94
|
+
className: cn(sharedClass, "col-start-1 row-start-1 overflow-hidden"),
|
|
95
|
+
"aria-invalid": invalid ?? void 0,
|
|
96
|
+
...props
|
|
97
|
+
}
|
|
98
|
+
)
|
|
99
|
+
] })
|
|
109
100
|
);
|
|
110
101
|
}
|
|
111
102
|
return /* @__PURE__ */ jsx(
|
|
@@ -18,7 +18,7 @@ var Item2 = React.forwardRef(
|
|
|
18
18
|
ref,
|
|
19
19
|
className: cn(
|
|
20
20
|
// 18px, 2px outline border (>= 3:1), primary ring + dot when on. Focus = the global ring.
|
|
21
|
-
"aspect-square h-[18px] w-[18px] shrink-0 rounded-full border-2 border-[var(--color-outline)]",
|
|
21
|
+
"nx-hit aspect-square h-[18px] w-[18px] shrink-0 rounded-full border-2 border-[var(--color-outline)]",
|
|
22
22
|
"transition-[border-color] duration-effects-fast ease-effects-fast",
|
|
23
23
|
"hover:border-[var(--color-on-surface)] data-[state=checked]:border-[var(--color-primary)]",
|
|
24
24
|
"disabled:cursor-not-allowed disabled:border-[var(--color-text-disabled)]",
|
|
@@ -6,11 +6,15 @@ import {
|
|
|
6
6
|
// src/components/GradientDivider/GradientDivider.tsx
|
|
7
7
|
import * as React from "react";
|
|
8
8
|
import { jsx } from "react/jsx-runtime";
|
|
9
|
-
var
|
|
10
|
-
var
|
|
9
|
+
var GRADIENT_H = "bg-[image:var(--gradient-brand-horizontal)]";
|
|
10
|
+
var GRADIENT_V = "bg-[image:var(--gradient-brand-vertical)]";
|
|
11
|
+
var THICKNESS_H = { 1: "h-px", 2: "h-0.5", 3: "h-[3px]", 4: "h-1" };
|
|
12
|
+
var THICKNESS_V = { 1: "w-px", 2: "w-0.5", 3: "w-[3px]", 4: "w-1" };
|
|
11
13
|
var GradientDivider = React.forwardRef(
|
|
12
14
|
({ className, height = 3, orientation = "horizontal", style, ...props }, ref) => {
|
|
13
15
|
const isHorizontal = orientation === "horizontal";
|
|
16
|
+
const thickness = (isHorizontal ? THICKNESS_H : THICKNESS_V)[height];
|
|
17
|
+
const sizeStyle = thickness ? void 0 : isHorizontal ? { height: `${height}px` } : { width: `${height}px` };
|
|
14
18
|
return /* @__PURE__ */ jsx(
|
|
15
19
|
"div",
|
|
16
20
|
{
|
|
@@ -19,13 +23,11 @@ var GradientDivider = React.forwardRef(
|
|
|
19
23
|
"aria-orientation": orientation,
|
|
20
24
|
className: cn(
|
|
21
25
|
isHorizontal ? "w-full" : "h-full",
|
|
26
|
+
isHorizontal ? GRADIENT_H : GRADIENT_V,
|
|
27
|
+
thickness,
|
|
22
28
|
className
|
|
23
29
|
),
|
|
24
|
-
style: {
|
|
25
|
-
background: isHorizontal ? BRAND_GRADIENT_H : BRAND_GRADIENT_V,
|
|
26
|
-
...isHorizontal ? { height: `${height}px` } : { width: `${height}px` },
|
|
27
|
-
...style
|
|
28
|
-
},
|
|
30
|
+
style: sizeStyle || style ? { ...sizeStyle, ...style } : void 0,
|
|
29
31
|
...props
|
|
30
32
|
}
|
|
31
33
|
);
|
|
@@ -23,8 +23,8 @@ var CountryBadge = React.forwardRef(
|
|
|
23
23
|
ref,
|
|
24
24
|
className: cn(
|
|
25
25
|
"inline-flex items-center rounded-full font-medium",
|
|
26
|
-
"bg-[var(--color-
|
|
27
|
-
"border border-[var(--color-
|
|
26
|
+
"bg-[var(--color-surface-container-low)] text-[var(--color-on-surface)]",
|
|
27
|
+
"border border-[var(--color-outline-variant)]",
|
|
28
28
|
sizeClass[size],
|
|
29
29
|
className
|
|
30
30
|
),
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
'use client';
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
|
-
enterExit,
|
|
4
3
|
overlaySurface,
|
|
5
4
|
scrim
|
|
6
|
-
} from "./chunk-
|
|
5
|
+
} from "./chunk-FLZD7HQY.js";
|
|
7
6
|
import {
|
|
8
7
|
buttonVariants
|
|
9
|
-
} from "./chunk-
|
|
8
|
+
} from "./chunk-C6JRJ6JW.js";
|
|
10
9
|
import {
|
|
11
10
|
cn
|
|
12
11
|
} from "./chunk-Q7G5WGYV.js";
|
|
@@ -25,11 +24,8 @@ var Overlay2 = React.forwardRef(
|
|
|
25
24
|
{
|
|
26
25
|
ref,
|
|
27
26
|
className: cn(
|
|
28
|
-
"fixed inset-0 z-[var(--z-modal)]",
|
|
27
|
+
"fixed inset-0 z-[var(--z-modal)] nx-motion",
|
|
29
28
|
scrim,
|
|
30
|
-
enterExit,
|
|
31
|
-
"data-[state=open]:animate-in data-[state=closed]:animate-out",
|
|
32
|
-
"data-[state=open]:fade-in-0 data-[state=closed]:fade-out-0",
|
|
33
29
|
className
|
|
34
30
|
),
|
|
35
31
|
...props
|
|
@@ -46,14 +42,9 @@ var Content2 = React.forwardRef(
|
|
|
46
42
|
ref,
|
|
47
43
|
className: cn(
|
|
48
44
|
"fixed left-1/2 top-1/2 z-[var(--z-modal)] w-full max-w-lg -translate-x-1/2 -translate-y-1/2",
|
|
45
|
+
"nx-motion nx-dialog",
|
|
49
46
|
overlaySurface,
|
|
50
|
-
enterExit,
|
|
51
47
|
"p-6 focus:outline-none",
|
|
52
|
-
"data-[state=open]:animate-in data-[state=closed]:animate-out",
|
|
53
|
-
"data-[state=open]:fade-in-0 data-[state=open]:zoom-in-95",
|
|
54
|
-
"data-[state=closed]:fade-out-0 data-[state=closed]:zoom-out-95",
|
|
55
|
-
"data-[state=open]:slide-in-from-left-1/2 data-[state=open]:slide-in-from-top-[48%]",
|
|
56
|
-
"data-[state=closed]:slide-out-to-left-1/2 data-[state=closed]:slide-out-to-top-[48%]",
|
|
57
48
|
className
|
|
58
49
|
),
|
|
59
50
|
...props,
|
|
@@ -69,7 +60,7 @@ var Title2 = React.forwardRef(
|
|
|
69
60
|
RadixAlertDialog.Title,
|
|
70
61
|
{
|
|
71
62
|
ref,
|
|
72
|
-
className: cn("text-lg font-semibold text-[var(--color-
|
|
63
|
+
className: cn("text-lg font-semibold text-[var(--color-on-surface)]", className),
|
|
73
64
|
...props
|
|
74
65
|
}
|
|
75
66
|
);
|
|
@@ -81,7 +72,7 @@ var Description2 = React.forwardRef(function AlertDialogDescription({ className,
|
|
|
81
72
|
RadixAlertDialog.Description,
|
|
82
73
|
{
|
|
83
74
|
ref,
|
|
84
|
-
className: cn("mt-1 text-sm text-[var(--color-
|
|
75
|
+
className: cn("mt-1 text-sm text-[var(--color-on-surface-muted)]", className),
|
|
85
76
|
...props
|
|
86
77
|
}
|
|
87
78
|
);
|
|
@@ -1,9 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
AlertDialog
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-ZTLALVWA.js";
|
|
5
|
+
import "../../chunk-FLZD7HQY.js";
|
|
6
|
+
import "../../chunk-C6JRJ6JW.js";
|
|
7
7
|
import "../../chunk-7SXR4PGO.js";
|
|
8
8
|
import "../../chunk-DEIBF3P7.js";
|
|
9
9
|
import "../../chunk-Q7G5WGYV.js";
|
|
@@ -1,8 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Amount
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-RSU2UHN4.js";
|
|
5
|
+
import "../../chunk-MEUJBGY5.js";
|
|
5
6
|
import "../../chunk-CIQHFMF6.js";
|
|
7
|
+
import "../../chunk-743Y5MY3.js";
|
|
6
8
|
import "../../chunk-Q7G5WGYV.js";
|
|
7
9
|
export {
|
|
8
10
|
Amount
|
|
@@ -1,8 +1,9 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Autocomplete
|
|
4
|
-
} from "../../chunk-
|
|
5
|
-
import "../../chunk-
|
|
4
|
+
} from "../../chunk-SZ2WPWXJ.js";
|
|
5
|
+
import "../../chunk-FJUVYRNT.js";
|
|
6
|
+
import "../../chunk-743Y5MY3.js";
|
|
6
7
|
import "../../chunk-Q7G5WGYV.js";
|
|
7
8
|
export {
|
|
8
9
|
Autocomplete
|
|
@@ -2,8 +2,9 @@
|
|
|
2
2
|
import {
|
|
3
3
|
AvatarGroup,
|
|
4
4
|
avatarGroupVariants
|
|
5
|
-
} from "../../chunk-
|
|
6
|
-
import "../../chunk-
|
|
5
|
+
} from "../../chunk-WXRQ42DR.js";
|
|
6
|
+
import "../../chunk-2Y4WLNEZ.js";
|
|
7
|
+
import "../../chunk-743Y5MY3.js";
|
|
7
8
|
import "../../chunk-Q7G5WGYV.js";
|
|
8
9
|
export {
|
|
9
10
|
AvatarGroup,
|
|
@@ -1,11 +1,13 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
Card,
|
|
4
|
+
CardLink,
|
|
4
5
|
cardVariants
|
|
5
|
-
} from "../../chunk-
|
|
6
|
+
} from "../../chunk-F73DTG2V.js";
|
|
6
7
|
import "../../chunk-DEIBF3P7.js";
|
|
7
8
|
import "../../chunk-Q7G5WGYV.js";
|
|
8
9
|
export {
|
|
9
10
|
Card,
|
|
11
|
+
CardLink,
|
|
10
12
|
cardVariants
|
|
11
13
|
};
|
|
@@ -0,0 +1,17 @@
|
|
|
1
|
+
'use client';
|
|
2
|
+
import {
|
|
3
|
+
Citation,
|
|
4
|
+
SourceChip,
|
|
5
|
+
SourceList,
|
|
6
|
+
safeUrl
|
|
7
|
+
} from "../../chunk-SAUA52EJ.js";
|
|
8
|
+
import "../../chunk-KE4YVG5Q.js";
|
|
9
|
+
import "../../chunk-FLZD7HQY.js";
|
|
10
|
+
import "../../chunk-743Y5MY3.js";
|
|
11
|
+
import "../../chunk-Q7G5WGYV.js";
|
|
12
|
+
export {
|
|
13
|
+
Citation,
|
|
14
|
+
SourceChip,
|
|
15
|
+
SourceList,
|
|
16
|
+
safeUrl
|
|
17
|
+
};
|
|
@@ -1,9 +1,10 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
CommandPalette
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-FIDUY6SS.js";
|
|
5
5
|
import "../../chunk-47UGX37F.js";
|
|
6
|
-
import "../../chunk-
|
|
6
|
+
import "../../chunk-FLZD7HQY.js";
|
|
7
|
+
import "../../chunk-743Y5MY3.js";
|
|
7
8
|
import "../../chunk-Q7G5WGYV.js";
|
|
8
9
|
export {
|
|
9
10
|
CommandPalette
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
|
+
import "../../chunk-52ZVJPF7.js";
|
|
2
3
|
import {
|
|
3
4
|
DatePicker
|
|
4
|
-
} from "../../chunk-
|
|
5
|
+
} from "../../chunk-IGLOYOCH.js";
|
|
6
|
+
import "../../chunk-FLZD7HQY.js";
|
|
7
|
+
import "../../chunk-7SXR4PGO.js";
|
|
8
|
+
import "../../chunk-743Y5MY3.js";
|
|
5
9
|
import "../../chunk-Q7G5WGYV.js";
|
|
6
10
|
export {
|
|
7
11
|
DatePicker
|
|
@@ -1,7 +1,11 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
DateRangePicker
|
|
4
|
-
} from "../../chunk-
|
|
4
|
+
} from "../../chunk-5KI4YHA3.js";
|
|
5
|
+
import "../../chunk-IGLOYOCH.js";
|
|
6
|
+
import "../../chunk-FLZD7HQY.js";
|
|
7
|
+
import "../../chunk-7SXR4PGO.js";
|
|
8
|
+
import "../../chunk-743Y5MY3.js";
|
|
5
9
|
import "../../chunk-Q7G5WGYV.js";
|
|
6
10
|
export {
|
|
7
11
|
DateRangePicker
|