@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/index.d.ts
CHANGED
|
@@ -1,6 +1,7 @@
|
|
|
1
1
|
import { ClassValue } from 'clsx';
|
|
2
2
|
import * as React from 'react';
|
|
3
3
|
import { useLayoutEffect, Ref } from 'react';
|
|
4
|
+
import { Locale } from 'date-fns';
|
|
4
5
|
import * as class_variance_authority_types from 'class-variance-authority/types';
|
|
5
6
|
import { VariantProps } from 'class-variance-authority';
|
|
6
7
|
import * as RadixRadioGroup from '@radix-ui/react-radio-group';
|
|
@@ -25,7 +26,7 @@ import * as RadixCollapsible from '@radix-ui/react-collapsible';
|
|
|
25
26
|
import * as RadixScrollArea from '@radix-ui/react-scroll-area';
|
|
26
27
|
import * as RadixToolbar from '@radix-ui/react-toolbar';
|
|
27
28
|
import * as RadixToast from '@radix-ui/react-toast';
|
|
28
|
-
import { ColumnDef } from '@tanstack/react-table';
|
|
29
|
+
import { RowData, ColumnDef } from '@tanstack/react-table';
|
|
29
30
|
import { DateRange } from 'react-day-picker';
|
|
30
31
|
export { DateRange } from 'react-day-picker';
|
|
31
32
|
|
|
@@ -254,6 +255,14 @@ interface NexubMessages {
|
|
|
254
255
|
noResults: string;
|
|
255
256
|
pickDate: string;
|
|
256
257
|
pickDateRange: string;
|
|
258
|
+
/** Calendar nav and day labels (DatePicker, DateRangePicker). */
|
|
259
|
+
previousMonth: string;
|
|
260
|
+
nextMonth: string;
|
|
261
|
+
calendarNavigation: string;
|
|
262
|
+
/** Wraps a day's formatted date when it is today. */
|
|
263
|
+
todayDate: (date: string) => string;
|
|
264
|
+
/** Wraps a day's (possibly today-wrapped) label when it is selected. */
|
|
265
|
+
selectedDate: (label: string) => string;
|
|
257
266
|
commandPalette: string;
|
|
258
267
|
/** Toaster region label; Radix replaces `{hotkey}`. */
|
|
259
268
|
notifications: string;
|
|
@@ -276,6 +285,34 @@ interface NexubMessages {
|
|
|
276
285
|
source: (index: number) => string;
|
|
277
286
|
jumpToLatest: string;
|
|
278
287
|
conversation: string;
|
|
288
|
+
pageOf: (page: number, total: number) => string;
|
|
289
|
+
previous: string;
|
|
290
|
+
next: string;
|
|
291
|
+
search: string;
|
|
292
|
+
searchProduct: (productName: string) => string;
|
|
293
|
+
keyboardShortcut: (shortcut: string) => string;
|
|
294
|
+
commandKey: string;
|
|
295
|
+
controlKey: string;
|
|
296
|
+
searching: string;
|
|
297
|
+
searchFailed: string;
|
|
298
|
+
noResultsFor: (query: string) => string;
|
|
299
|
+
typeToSearch: string;
|
|
300
|
+
switchOrganization: (name: string) => string;
|
|
301
|
+
organizations: string;
|
|
302
|
+
switchToLightTheme: string;
|
|
303
|
+
switchToDarkTheme: string;
|
|
304
|
+
glass: string;
|
|
305
|
+
glassClear: string;
|
|
306
|
+
glassBalanced: string;
|
|
307
|
+
glassTinted: string;
|
|
308
|
+
glassSolid: string;
|
|
309
|
+
accountMenu: (name: string) => string;
|
|
310
|
+
manageAccount: string;
|
|
311
|
+
privacyPolicy: string;
|
|
312
|
+
termsOfService: string;
|
|
313
|
+
signOut: string;
|
|
314
|
+
signingOut: string;
|
|
315
|
+
accountAndApps: string;
|
|
279
316
|
}
|
|
280
317
|
declare const defaultMessages: NexubMessages;
|
|
281
318
|
type Direction = 'ltr' | 'rtl';
|
|
@@ -284,6 +321,11 @@ interface NexubProviderProps {
|
|
|
284
321
|
locale?: string;
|
|
285
322
|
/** Text direction for Radix primitives. @default derived from `locale` */
|
|
286
323
|
dir?: Direction;
|
|
324
|
+
/**
|
|
325
|
+
* date-fns Locale for calendars (month/weekday names, week start, trigger text).
|
|
326
|
+
* Import only the one you need, e.g. `import { fr } from 'date-fns/locale/fr'`.
|
|
327
|
+
*/
|
|
328
|
+
dateLocale?: Locale;
|
|
287
329
|
/** Overrides for the default English strings. */
|
|
288
330
|
messages?: Partial<NexubMessages>;
|
|
289
331
|
children?: React.ReactNode;
|
|
@@ -293,13 +335,14 @@ interface NexubProviderProps {
|
|
|
293
335
|
* It does not set `dir`/`lang` on <html> — the app does that (as it renders
|
|
294
336
|
* <html>), so the page and CSS `rtl:` variants agree with this provider.
|
|
295
337
|
*/
|
|
296
|
-
declare function NexubProvider({ locale, dir, messages, children }: NexubProviderProps): React.JSX.Element;
|
|
338
|
+
declare function NexubProvider({ locale, dir, dateLocale, messages, children }: NexubProviderProps): React.JSX.Element;
|
|
297
339
|
/** The active strings: defaults merged with the nearest NexubProvider's overrides. */
|
|
298
340
|
declare function useNexubMessages(): NexubMessages;
|
|
299
|
-
/** The active locale (default 'en') and
|
|
341
|
+
/** The active locale (default 'en'), direction and optional date-fns Locale. */
|
|
300
342
|
declare function useLocale(): {
|
|
301
343
|
locale: string;
|
|
302
344
|
dir: Direction;
|
|
345
|
+
dateLocale?: Locale;
|
|
303
346
|
};
|
|
304
347
|
|
|
305
348
|
type ToneValue = 'neutral' | 'info' | 'success' | 'warning' | 'danger' | 'leap' | 'bookub' | 'payub' | 'founderub';
|
|
@@ -581,7 +624,14 @@ declare const tagVariants: (props?: ({
|
|
|
581
624
|
interface TagProps extends React.HTMLAttributes<HTMLSpanElement>, VariantProps<typeof tagVariants> {
|
|
582
625
|
tone?: ToneValue;
|
|
583
626
|
}
|
|
584
|
-
/**
|
|
627
|
+
/**
|
|
628
|
+
* Static metadata label (status, category, version). Shape: `rounded-shape-min`,
|
|
629
|
+
* a squared label, so it never reads as tappable. It has no state layer or
|
|
630
|
+
* hover/press affordance on purpose; anything a user toggles, filters by or
|
|
631
|
+
* removes is a `Chip` (control-shaped, `nx-state-layer`, optional remove button).
|
|
632
|
+
*
|
|
633
|
+
* @deprecated Use `Badge` instead: `<Badge size="sm">` covers it. Will be removed in 1.0.
|
|
634
|
+
*/
|
|
585
635
|
declare const Tag: React.ForwardRefExoticComponent<TagProps & React.RefAttributes<HTMLSpanElement>>;
|
|
586
636
|
|
|
587
637
|
interface EyebrowChipProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
@@ -981,7 +1031,7 @@ declare const Popover: {
|
|
|
981
1031
|
Close: React.ForwardRefExoticComponent<RadixPopover.PopoverCloseProps & React.RefAttributes<HTMLButtonElement>>;
|
|
982
1032
|
};
|
|
983
1033
|
|
|
984
|
-
declare function Provider({ delayDuration, skipDelayDuration, ...props }: RadixTooltip.TooltipProviderProps): React.JSX.Element;
|
|
1034
|
+
declare function Provider$1({ delayDuration, skipDelayDuration, ...props }: RadixTooltip.TooltipProviderProps): React.JSX.Element;
|
|
985
1035
|
interface TooltipProps {
|
|
986
1036
|
label: string;
|
|
987
1037
|
side?: 'top' | 'right' | 'bottom' | 'left';
|
|
@@ -1358,8 +1408,13 @@ declare const Toolbar: {
|
|
|
1358
1408
|
ToggleItem: React.ForwardRefExoticComponent<RadixToolbar.ToolbarToggleItemProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1359
1409
|
};
|
|
1360
1410
|
|
|
1411
|
+
/** Swipe to dismiss toward the viewport's inline-end edge: right, or left in RTL. */
|
|
1412
|
+
declare function Provider({ swipeDirection, ...props }: RadixToast.ToastProviderProps): React.JSX.Element;
|
|
1413
|
+
declare namespace Provider {
|
|
1414
|
+
var displayName: string;
|
|
1415
|
+
}
|
|
1361
1416
|
declare const Toast: {
|
|
1362
|
-
Provider:
|
|
1417
|
+
Provider: typeof Provider;
|
|
1363
1418
|
Viewport: React.ForwardRefExoticComponent<RadixToast.ToastViewportProps & React.RefAttributes<HTMLOListElement>>;
|
|
1364
1419
|
Root: React.ForwardRefExoticComponent<RadixToast.ToastProps & React.RefAttributes<HTMLLIElement>>;
|
|
1365
1420
|
Title: React.ForwardRefExoticComponent<RadixToast.ToastTitleProps & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1489,6 +1544,8 @@ interface PageHeaderProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'ti
|
|
|
1489
1544
|
description?: React.ReactNode;
|
|
1490
1545
|
actions?: React.ReactNode;
|
|
1491
1546
|
breadcrumb?: React.ReactNode;
|
|
1547
|
+
/** Heading level of the title. Use 2 or 3 when the page already has an h1. @default 1 */
|
|
1548
|
+
level?: 1 | 2 | 3;
|
|
1492
1549
|
}
|
|
1493
1550
|
declare const PageHeader: React.ForwardRefExoticComponent<PageHeaderProps & React.RefAttributes<HTMLDivElement>>;
|
|
1494
1551
|
|
|
@@ -1594,8 +1651,15 @@ declare const CommandPalette: {
|
|
|
1594
1651
|
} & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
|
|
1595
1652
|
};
|
|
1596
1653
|
|
|
1654
|
+
interface TableRootProps extends React.HTMLAttributes<HTMLTableElement> {
|
|
1655
|
+
/**
|
|
1656
|
+
* Accessible name of the scroll region shown when the table overflows
|
|
1657
|
+
* horizontally. Falls back to the table's `aria-label`/`aria-labelledby`, then its caption.
|
|
1658
|
+
*/
|
|
1659
|
+
scrollLabel?: string;
|
|
1660
|
+
}
|
|
1597
1661
|
declare const Table: {
|
|
1598
|
-
Root: React.ForwardRefExoticComponent<
|
|
1662
|
+
Root: React.ForwardRefExoticComponent<TableRootProps & React.RefAttributes<HTMLTableElement>>;
|
|
1599
1663
|
Header: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
1600
1664
|
Body: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
1601
1665
|
Footer: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableSectionElement> & React.RefAttributes<HTMLTableSectionElement>>;
|
|
@@ -1605,8 +1669,20 @@ declare const Table: {
|
|
|
1605
1669
|
Caption: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLTableCaptionElement> & React.RefAttributes<HTMLTableCaptionElement>>;
|
|
1606
1670
|
};
|
|
1607
1671
|
|
|
1672
|
+
declare module '@tanstack/react-table' {
|
|
1673
|
+
interface ColumnMeta<TData extends RowData, TValue> {
|
|
1674
|
+
/** Horizontal alignment of the header and cells. Use 'end' for numbers. @default 'start' */
|
|
1675
|
+
align?: 'start' | 'end' | 'center';
|
|
1676
|
+
}
|
|
1677
|
+
}
|
|
1678
|
+
/** A DataTable column: TanStack's `ColumnDef`, with `meta.align` for numeric columns. */
|
|
1679
|
+
type DataTableColumn<TData> = ColumnDef<TData, unknown>;
|
|
1608
1680
|
interface DataTableProps<TData> extends React.HTMLAttributes<HTMLDivElement> {
|
|
1609
|
-
columns:
|
|
1681
|
+
columns: DataTableColumn<TData>[];
|
|
1682
|
+
/** Names the table for assistive tech (and is shown below it unless `captionHidden`). */
|
|
1683
|
+
caption?: React.ReactNode;
|
|
1684
|
+
/** Keep the caption for screen readers only. */
|
|
1685
|
+
captionHidden?: boolean;
|
|
1610
1686
|
data: TData[];
|
|
1611
1687
|
enableSorting?: boolean;
|
|
1612
1688
|
enableRowSelection?: boolean;
|
|
@@ -1614,7 +1690,7 @@ interface DataTableProps<TData> extends React.HTMLAttributes<HTMLDivElement> {
|
|
|
1614
1690
|
pageSize?: number;
|
|
1615
1691
|
};
|
|
1616
1692
|
}
|
|
1617
|
-
declare function DataTable<TData>({ columns, data, enableSorting, enableRowSelection, pagination, className, ...props }: DataTableProps<TData>): React.JSX.Element;
|
|
1693
|
+
declare function DataTable<TData>({ columns, data, enableSorting, enableRowSelection, pagination, caption, captionHidden, className, 'aria-label': ariaLabel, 'aria-labelledby': ariaLabelledBy, ...props }: DataTableProps<TData>): React.JSX.Element;
|
|
1618
1694
|
|
|
1619
1695
|
declare const EmptyState: {
|
|
1620
1696
|
Root: React.ForwardRefExoticComponent<React.HTMLAttributes<HTMLDivElement> & React.RefAttributes<HTMLDivElement>>;
|
|
@@ -1659,6 +1735,8 @@ interface DatePickerProps {
|
|
|
1659
1735
|
id?: string;
|
|
1660
1736
|
/** Field name for screen readers; the current value is appended. */
|
|
1661
1737
|
'aria-label'?: string;
|
|
1738
|
+
/** date-fns Locale for the calendar and trigger text; wins over NexubProvider's `dateLocale`. */
|
|
1739
|
+
locale?: Locale;
|
|
1662
1740
|
}
|
|
1663
1741
|
declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1664
1742
|
|
|
@@ -1674,6 +1752,8 @@ interface DateRangePickerProps {
|
|
|
1674
1752
|
id?: string;
|
|
1675
1753
|
/** Field name for screen readers; the current value is appended. */
|
|
1676
1754
|
'aria-label'?: string;
|
|
1755
|
+
/** date-fns Locale for the calendar and trigger text; wins over NexubProvider's `dateLocale`. */
|
|
1756
|
+
locale?: Locale;
|
|
1677
1757
|
}
|
|
1678
1758
|
declare const DateRangePicker: React.ForwardRefExoticComponent<DateRangePickerProps & React.RefAttributes<HTMLButtonElement>>;
|
|
1679
1759
|
|
|
@@ -1833,4 +1913,4 @@ interface CollapseProps extends Omit<MotionBaseProps, 'easing'>, React.HTMLAttri
|
|
|
1833
1913
|
*/
|
|
1834
1914
|
declare const Collapse: React.ForwardRefExoticComponent<CollapseProps & React.RefAttributes<HTMLDivElement>>;
|
|
1835
1915
|
|
|
1836
|
-
export { Accordion, Alert, AlertDialog, type AlertProps, Amount, type AmountProps, AppShell, AspectRatio, type AspectRatioProps, Autocomplete, type AutocompleteOption, type AutocompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Banner, type BannerProps, Box, type BoxProps, Breadcrumb, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonStatus, Callout, type CalloutProps, Card, CardLink, type CardLinkProps, type CardProps, CheckList, CheckListItem, type CheckListItemProps, type CheckListProps, Checkbox, CheckboxCard, type CheckboxCardProps, type CheckboxProps, Chip, type ChipProps, Citation, type CitationMessages, type CitationProps, type CitationSource, Code, type CodeProps, Collapse, type CollapseProps, Collapsible, Combobox, CommandPalette, type CommandPaletteRootProps, Container, type ContainerProps, ContextMenu, CountryBadge, type CountryBadgeProps, DataTable, type DataTableProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, Dialog, Drawer, type DrawerRootProps, DropdownMenu, EmptyState, ErrorState, type ErrorStateProps, EyebrowChip, type EyebrowChipProps, Fade, type FadeProps, type Feedback, FileUpload, type FileUploadRootProps, FilterChip, type FilterChipProps, Flag, type FlagProps, Flex, type FlexProps, FormError, type FormErrorProps, FormField, type FormFieldContextValue, type FormFieldRootProps, type GlassMode, GradientDivider, type GradientDividerProps, Grid, type GridProps, Heading, type HeadingProps, HelperText, type HelperTextProps, HoverCard, IconButton, type IconButtonProps, Input, type InputProps, Kbd, type KbdProps, KeyboardShortcut, type KeyboardShortcutProps, Label, type LabelProps, Link, type LinkProps, Logo, type LogoProps, MediaCard, type MediaCardProps, type MediaCardRatio, Menubar, MessageActions, type MessageActionsProps, MessageBubble, type MessageBubbleProps, type MessageFrom, type MessageStrings, MoneyInput, type MoneyInputProps, type MotionBaseProps, type MotionDuration, type MotionEasing, NavigationMenu, NavigationRail, type NavigationRailItemProps, type NavigationRailRootProps, type NexubMessages, NexubProvider, type NexubProviderProps, NumberInput, type NumberInputProps, NumberTicker, type NumberTickerPart, type NumberTickerProps, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, PasswordInput, type PasswordInputProps, Popover, Progress, type ProgressProps, PromptInput, type PromptInputMessages, type PromptInputProps, type PromptInputStatus, RadioCard, RadioCardGroup, type RadioCardGroupProps, type RadioCardProps, RadioGroup, Rating, type RatingProps, Scale, type ScaleProps, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Section, type SectionProps, SegmentedControl, type SegmentedControlItemProps, type SegmentedControlProps, Select, Separator, type SeparatorProps, Sheet, Sidebar, type SidebarGroupProps, type SidebarHeaderProps, type SidebarItemProps, type SidebarRootProps, Skeleton, type SkeletonProps, Slide, type SlideDirection, type SlideProps, Slider, type SliderProps, SourceChip, type SourceChipProps, SourceList, type SourceListProps, Spinner, type SpinnerProps, SplitButton, type SplitButtonProps, Stack, type StackProps, StatusPill, type StatusPillProps, StreamingText, type StreamingTextProps, Switch, type SwitchProps, Table, Tabs, Tag, type TagProps, Text, type Direction as TextDirection, TextGradient, type TextGradientProps, type TextProps, Textarea, type TextareaProps, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, ThemeScript, type ThemeScriptProps, ThinkingIndicator, type ThinkingIndicatorMessages, type ThinkingIndicatorProps, Toast, type ToastItem, Toaster, type ToasterProps, Toggle, ToggleGroup, type ToggleProps, type ToneValue, Toolbar, type ToolbarRootProps, Tooltip, Provider as TooltipProvider, TopNav, type TopNavItemProps, type TopNavRootProps, type UndoableToastOptions, addonVariants, alertVariants, avatarGroupVariants, avatarVariants, badgeVariants, bannerVariants, buttonVariants, calloutVariants, cardVariants, chipVariants, cn, containerVariants, defaultMessageStrings, defaultMessages, headingVariants, iconButtonVariants, inputVariants, inputWrapperVariants, labelVariants, linkVariants, logoVariants, progressFillVariants, progressTrackVariants, ratingVariants, safeUrl, sectionVariants, separatorVariants, skeletonVariants, spinnerVariants, startViewTransition, statusPillVariants, tagVariants, textVariants, textareaVariants, toast, toggleVariants, useControllableState, useDisclosure, useIsomorphicLayoutEffect, useLocale, useMediaQuery, useMergedRefs, useNexubMessages, usePointerSheen, useTheme, useToastStore };
|
|
1916
|
+
export { Accordion, Alert, AlertDialog, type AlertProps, Amount, type AmountProps, AppShell, AspectRatio, type AspectRatioProps, Autocomplete, type AutocompleteOption, type AutocompleteProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, Badge, type BadgeProps, Banner, type BannerProps, Box, type BoxProps, Breadcrumb, Button, ButtonGroup, type ButtonGroupProps, type ButtonProps, type ButtonStatus, Callout, type CalloutProps, Card, CardLink, type CardLinkProps, type CardProps, CheckList, CheckListItem, type CheckListItemProps, type CheckListProps, Checkbox, CheckboxCard, type CheckboxCardProps, type CheckboxProps, Chip, type ChipProps, Citation, type CitationMessages, type CitationProps, type CitationSource, Code, type CodeProps, Collapse, type CollapseProps, Collapsible, Combobox, CommandPalette, type CommandPaletteRootProps, Container, type ContainerProps, ContextMenu, CountryBadge, type CountryBadgeProps, DataTable, type DataTableColumn, type DataTableProps, DatePicker, type DatePickerProps, DateRangePicker, type DateRangePickerProps, Dialog, Drawer, type DrawerRootProps, DropdownMenu, EmptyState, ErrorState, type ErrorStateProps, EyebrowChip, type EyebrowChipProps, Fade, type FadeProps, type Feedback, FileUpload, type FileUploadRootProps, FilterChip, type FilterChipProps, Flag, type FlagProps, Flex, type FlexProps, FormError, type FormErrorProps, FormField, type FormFieldContextValue, type FormFieldRootProps, type GlassMode, GradientDivider, type GradientDividerProps, Grid, type GridProps, Heading, type HeadingProps, HelperText, type HelperTextProps, HoverCard, IconButton, type IconButtonProps, Input, type InputProps, Kbd, type KbdProps, KeyboardShortcut, type KeyboardShortcutProps, Label, type LabelProps, Link, type LinkProps, Logo, type LogoProps, MediaCard, type MediaCardProps, type MediaCardRatio, Menubar, MessageActions, type MessageActionsProps, MessageBubble, type MessageBubbleProps, type MessageFrom, type MessageStrings, MoneyInput, type MoneyInputProps, type MotionBaseProps, type MotionDuration, type MotionEasing, NavigationMenu, NavigationRail, type NavigationRailItemProps, type NavigationRailRootProps, type NexubMessages, NexubProvider, type NexubProviderProps, NumberInput, type NumberInputProps, NumberTicker, type NumberTickerPart, type NumberTickerProps, PageHeader, type PageHeaderProps, Pagination, type PaginationProps, PasswordInput, type PasswordInputProps, Popover, Progress, type ProgressProps, PromptInput, type PromptInputMessages, type PromptInputProps, type PromptInputStatus, RadioCard, RadioCardGroup, type RadioCardGroupProps, type RadioCardProps, RadioGroup, Rating, type RatingProps, Scale, type ScaleProps, ScrollArea, type ScrollAreaProps, SearchInput, type SearchInputProps, Section, type SectionProps, SegmentedControl, type SegmentedControlItemProps, type SegmentedControlProps, Select, Separator, type SeparatorProps, Sheet, Sidebar, type SidebarGroupProps, type SidebarHeaderProps, type SidebarItemProps, type SidebarRootProps, Skeleton, type SkeletonProps, Slide, type SlideDirection, type SlideProps, Slider, type SliderProps, SourceChip, type SourceChipProps, SourceList, type SourceListProps, Spinner, type SpinnerProps, SplitButton, type SplitButtonProps, Stack, type StackProps, StatusPill, type StatusPillProps, StreamingText, type StreamingTextProps, Switch, type SwitchProps, Table, type TableRootProps, Tabs, Tag, type TagProps, Text, type Direction as TextDirection, TextGradient, type TextGradientProps, type TextProps, Textarea, type TextareaProps, type ThemeContextValue, type ThemeMode, ThemeProvider, type ThemeProviderProps, ThemeScript, type ThemeScriptProps, ThinkingIndicator, type ThinkingIndicatorMessages, type ThinkingIndicatorProps, Toast, type ToastItem, Toaster, type ToasterProps, Toggle, ToggleGroup, type ToggleProps, type ToneValue, Toolbar, type ToolbarRootProps, Tooltip, Provider$1 as TooltipProvider, TopNav, type TopNavItemProps, type TopNavRootProps, type UndoableToastOptions, addonVariants, alertVariants, avatarGroupVariants, avatarVariants, badgeVariants, bannerVariants, buttonVariants, calloutVariants, cardVariants, chipVariants, cn, containerVariants, defaultMessageStrings, defaultMessages, headingVariants, iconButtonVariants, inputVariants, inputWrapperVariants, labelVariants, linkVariants, logoVariants, progressFillVariants, progressTrackVariants, ratingVariants, safeUrl, sectionVariants, separatorVariants, skeletonVariants, spinnerVariants, startViewTransition, statusPillVariants, tagVariants, textVariants, textareaVariants, toast, toggleVariants, useControllableState, useDisclosure, useIsomorphicLayoutEffect, useLocale, useMediaQuery, useMergedRefs, useNexubMessages, usePointerSheen, useTheme, useToastStore };
|
package/dist/index.js
CHANGED
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
'use client';
|
|
2
2
|
import {
|
|
3
3
|
TopNav
|
|
4
|
-
} from "./chunk-
|
|
4
|
+
} from "./chunk-KRHD7VI6.js";
|
|
5
5
|
import {
|
|
6
6
|
Root
|
|
7
7
|
} from "./chunk-ZXLACKEB.js";
|
|
8
8
|
import {
|
|
9
9
|
Textarea,
|
|
10
10
|
textareaVariants
|
|
11
|
-
} from "./chunk-
|
|
11
|
+
} from "./chunk-BSKEBC2Q.js";
|
|
12
12
|
import {
|
|
13
13
|
ThemeProvider,
|
|
14
14
|
ThemeScript,
|
|
@@ -16,13 +16,13 @@ import {
|
|
|
16
16
|
} from "./chunk-AEBYQKLS.js";
|
|
17
17
|
import {
|
|
18
18
|
ThinkingIndicator
|
|
19
|
-
} from "./chunk-
|
|
19
|
+
} from "./chunk-ESMIBOF5.js";
|
|
20
20
|
import {
|
|
21
21
|
Toast,
|
|
22
22
|
Toaster,
|
|
23
23
|
toast,
|
|
24
24
|
useToastStore
|
|
25
|
-
} from "./chunk-
|
|
25
|
+
} from "./chunk-GSA7NBEG.js";
|
|
26
26
|
import "./chunk-YJU4ZRQZ.js";
|
|
27
27
|
import {
|
|
28
28
|
ToggleGroup
|
|
@@ -45,9 +45,7 @@ import {
|
|
|
45
45
|
import {
|
|
46
46
|
Switch
|
|
47
47
|
} from "./chunk-BTYDDKRQ.js";
|
|
48
|
-
import
|
|
49
|
-
Table
|
|
50
|
-
} from "./chunk-OYCK6BRG.js";
|
|
48
|
+
import "./chunk-4B4XWDAH.js";
|
|
51
49
|
import {
|
|
52
50
|
Tabs
|
|
53
51
|
} from "./chunk-CKFRMCZ7.js";
|
|
@@ -64,14 +62,14 @@ import {
|
|
|
64
62
|
} from "./chunk-HH7EHNOW.js";
|
|
65
63
|
import {
|
|
66
64
|
Select
|
|
67
|
-
} from "./chunk-
|
|
65
|
+
} from "./chunk-R6VLSYXK.js";
|
|
68
66
|
import {
|
|
69
67
|
Separator,
|
|
70
68
|
separatorVariants
|
|
71
69
|
} from "./chunk-CUOASXI7.js";
|
|
72
70
|
import {
|
|
73
71
|
Sidebar
|
|
74
|
-
} from "./chunk-
|
|
72
|
+
} from "./chunk-ZRBLASQE.js";
|
|
75
73
|
import {
|
|
76
74
|
Skeleton,
|
|
77
75
|
skeletonVariants
|
|
@@ -82,16 +80,16 @@ import {
|
|
|
82
80
|
import {
|
|
83
81
|
Spinner,
|
|
84
82
|
spinnerVariants
|
|
85
|
-
} from "./chunk-
|
|
83
|
+
} from "./chunk-L4BSKMLK.js";
|
|
86
84
|
import {
|
|
87
85
|
SplitButton
|
|
88
|
-
} from "./chunk-
|
|
86
|
+
} from "./chunk-DFCHCYNT.js";
|
|
89
87
|
import {
|
|
90
88
|
Stack
|
|
91
89
|
} from "./chunk-I6CAF7C5.js";
|
|
92
90
|
import {
|
|
93
91
|
PromptInput
|
|
94
|
-
} from "./chunk-
|
|
92
|
+
} from "./chunk-O6J6HXVT.js";
|
|
95
93
|
import {
|
|
96
94
|
RadioCard,
|
|
97
95
|
RadioCardGroup
|
|
@@ -102,13 +100,13 @@ import {
|
|
|
102
100
|
import {
|
|
103
101
|
Rating,
|
|
104
102
|
ratingVariants
|
|
105
|
-
} from "./chunk-
|
|
103
|
+
} from "./chunk-BIAYWCDE.js";
|
|
106
104
|
import {
|
|
107
105
|
ScrollArea
|
|
108
|
-
} from "./chunk-
|
|
106
|
+
} from "./chunk-3LTB6TGN.js";
|
|
109
107
|
import {
|
|
110
108
|
SearchInput
|
|
111
|
-
} from "./chunk-
|
|
109
|
+
} from "./chunk-OTZBGMYH.js";
|
|
112
110
|
import {
|
|
113
111
|
Section,
|
|
114
112
|
sectionVariants
|
|
@@ -123,20 +121,20 @@ import {
|
|
|
123
121
|
import "./chunk-A3O23F2B.js";
|
|
124
122
|
import {
|
|
125
123
|
NumberInput
|
|
126
|
-
} from "./chunk-
|
|
124
|
+
} from "./chunk-ENB7X3W4.js";
|
|
127
125
|
import "./chunk-WLRRMT6W.js";
|
|
128
126
|
import {
|
|
129
127
|
PageHeader
|
|
130
|
-
} from "./chunk-
|
|
128
|
+
} from "./chunk-UCNA2ICU.js";
|
|
131
129
|
import {
|
|
132
130
|
Pagination
|
|
133
|
-
} from "./chunk-
|
|
131
|
+
} from "./chunk-JVOSMXD5.js";
|
|
134
132
|
import {
|
|
135
133
|
PasswordInput
|
|
136
|
-
} from "./chunk-
|
|
134
|
+
} from "./chunk-UV5O2BMW.js";
|
|
137
135
|
import {
|
|
138
136
|
Popover
|
|
139
|
-
} from "./chunk-
|
|
137
|
+
} from "./chunk-NORCPKRD.js";
|
|
140
138
|
import {
|
|
141
139
|
Progress,
|
|
142
140
|
progressFillVariants,
|
|
@@ -151,19 +149,19 @@ import {
|
|
|
151
149
|
} from "./chunk-3QD76BKT.js";
|
|
152
150
|
import {
|
|
153
151
|
Menubar
|
|
154
|
-
} from "./chunk-
|
|
152
|
+
} from "./chunk-VF6RWEKX.js";
|
|
155
153
|
import {
|
|
156
154
|
MessageActions,
|
|
157
155
|
MessageBubble,
|
|
158
156
|
defaultMessageStrings
|
|
159
|
-
} from "./chunk-
|
|
157
|
+
} from "./chunk-WECNLNIA.js";
|
|
160
158
|
import {
|
|
161
159
|
Provider,
|
|
162
160
|
Tooltip
|
|
163
161
|
} from "./chunk-XQDD76EF.js";
|
|
164
162
|
import {
|
|
165
163
|
MoneyInput
|
|
166
|
-
} from "./chunk-
|
|
164
|
+
} from "./chunk-V6CMWCJH.js";
|
|
167
165
|
import {
|
|
168
166
|
useControllableState
|
|
169
167
|
} from "./chunk-JLUCMNVS.js";
|
|
@@ -178,31 +176,31 @@ import {
|
|
|
178
176
|
} from "./chunk-FS4XKWFA.js";
|
|
179
177
|
import {
|
|
180
178
|
NavigationMenu
|
|
181
|
-
} from "./chunk-
|
|
179
|
+
} from "./chunk-BEOHZKPQ.js";
|
|
182
180
|
import {
|
|
183
181
|
NavigationRail
|
|
184
|
-
} from "./chunk-
|
|
182
|
+
} from "./chunk-5GN2GFW3.js";
|
|
185
183
|
import "./chunk-PICMOOAZ.js";
|
|
186
184
|
import "./chunk-ZT3NWE5U.js";
|
|
187
185
|
import "./chunk-CAOLGXA5.js";
|
|
188
186
|
import {
|
|
189
187
|
IconButton,
|
|
190
188
|
iconButtonVariants
|
|
191
|
-
} from "./chunk-
|
|
189
|
+
} from "./chunk-NYORXEPS.js";
|
|
192
190
|
import "./chunk-NZ7UK3G6.js";
|
|
193
191
|
import {
|
|
194
192
|
Input,
|
|
195
193
|
addonVariants,
|
|
196
194
|
inputVariants,
|
|
197
195
|
inputWrapperVariants
|
|
198
|
-
} from "./chunk-
|
|
196
|
+
} from "./chunk-F7ZA2VA2.js";
|
|
199
197
|
import "./chunk-KLTQJZOX.js";
|
|
200
198
|
import {
|
|
201
199
|
KeyboardShortcut
|
|
202
|
-
} from "./chunk-
|
|
200
|
+
} from "./chunk-W2P2WOAN.js";
|
|
203
201
|
import {
|
|
204
202
|
Kbd
|
|
205
|
-
} from "./chunk-
|
|
203
|
+
} from "./chunk-5NKIGEDZ.js";
|
|
206
204
|
import "./chunk-EV43I5J6.js";
|
|
207
205
|
import {
|
|
208
206
|
Link,
|
|
@@ -210,7 +208,7 @@ import {
|
|
|
210
208
|
} from "./chunk-6BGUZQAX.js";
|
|
211
209
|
import {
|
|
212
210
|
FilterChip
|
|
213
|
-
} from "./chunk-
|
|
211
|
+
} from "./chunk-XHLSYHAV.js";
|
|
214
212
|
import "./chunk-BV3U3ATL.js";
|
|
215
213
|
import {
|
|
216
214
|
Flex
|
|
@@ -218,14 +216,14 @@ import {
|
|
|
218
216
|
import "./chunk-ADO2DB6Q.js";
|
|
219
217
|
import {
|
|
220
218
|
FormField
|
|
221
|
-
} from "./chunk-
|
|
219
|
+
} from "./chunk-G4RLUGE3.js";
|
|
222
220
|
import {
|
|
223
221
|
HelperText
|
|
224
|
-
} from "./chunk-
|
|
222
|
+
} from "./chunk-ZLW7IBXK.js";
|
|
225
223
|
import {
|
|
226
224
|
Label,
|
|
227
225
|
labelVariants
|
|
228
|
-
} from "./chunk-
|
|
226
|
+
} from "./chunk-PGD246WD.js";
|
|
229
227
|
import {
|
|
230
228
|
FormError
|
|
231
229
|
} from "./chunk-QVTVDL6Y.js";
|
|
@@ -239,40 +237,40 @@ import "./chunk-VLQGQFW7.js";
|
|
|
239
237
|
import {
|
|
240
238
|
Heading,
|
|
241
239
|
headingVariants
|
|
242
|
-
} from "./chunk-
|
|
240
|
+
} from "./chunk-SKIJVVBU.js";
|
|
243
241
|
import {
|
|
244
242
|
DateRangePicker
|
|
245
|
-
} from "./chunk-
|
|
243
|
+
} from "./chunk-6U5WQERX.js";
|
|
246
244
|
import {
|
|
247
245
|
Dialog
|
|
248
|
-
} from "./chunk-
|
|
246
|
+
} from "./chunk-ZGZQZG6S.js";
|
|
249
247
|
import {
|
|
250
248
|
Drawer,
|
|
251
249
|
Sheet
|
|
252
|
-
} from "./chunk-
|
|
250
|
+
} from "./chunk-UVWQPDOV.js";
|
|
253
251
|
import "./chunk-HI7GBSW2.js";
|
|
254
252
|
import {
|
|
255
253
|
DropdownMenu
|
|
256
|
-
} from "./chunk-
|
|
254
|
+
} from "./chunk-A4QLUIFN.js";
|
|
257
255
|
import {
|
|
258
256
|
EmptyState
|
|
259
257
|
} from "./chunk-WMWX6DPB.js";
|
|
260
258
|
import {
|
|
261
259
|
ErrorState
|
|
262
|
-
} from "./chunk-
|
|
260
|
+
} from "./chunk-SZNSQR2B.js";
|
|
263
261
|
import {
|
|
264
262
|
EyebrowChip
|
|
265
|
-
} from "./chunk-
|
|
263
|
+
} from "./chunk-322WR6EU.js";
|
|
266
264
|
import {
|
|
267
265
|
FileUpload
|
|
268
|
-
} from "./chunk-
|
|
266
|
+
} from "./chunk-OS4NOWEI.js";
|
|
269
267
|
import {
|
|
270
268
|
Collapsible
|
|
271
269
|
} from "./chunk-3LP2CR7F.js";
|
|
272
270
|
import "./chunk-HY3JWSG4.js";
|
|
273
271
|
import {
|
|
274
272
|
CommandPalette
|
|
275
|
-
} from "./chunk-
|
|
273
|
+
} from "./chunk-IDIS7Z6H.js";
|
|
276
274
|
import "./chunk-47UGX37F.js";
|
|
277
275
|
import {
|
|
278
276
|
Container,
|
|
@@ -280,7 +278,7 @@ import {
|
|
|
280
278
|
} from "./chunk-E4JM3HUM.js";
|
|
281
279
|
import {
|
|
282
280
|
ContextMenu
|
|
283
|
-
} from "./chunk-
|
|
281
|
+
} from "./chunk-ZUGZRXME.js";
|
|
284
282
|
import {
|
|
285
283
|
CountryBadge
|
|
286
284
|
} from "./chunk-ZCEUVK2R.js";
|
|
@@ -289,11 +287,14 @@ import {
|
|
|
289
287
|
} from "./chunk-EQNETGTV.js";
|
|
290
288
|
import {
|
|
291
289
|
DataTable
|
|
292
|
-
} from "./chunk-
|
|
290
|
+
} from "./chunk-7BAIEYUW.js";
|
|
291
|
+
import {
|
|
292
|
+
Table
|
|
293
|
+
} from "./chunk-BU5QD2FS.js";
|
|
293
294
|
import "./chunk-52ZVJPF7.js";
|
|
294
295
|
import {
|
|
295
296
|
DatePicker
|
|
296
|
-
} from "./chunk-
|
|
297
|
+
} from "./chunk-HSM7RXUF.js";
|
|
297
298
|
import {
|
|
298
299
|
Callout,
|
|
299
300
|
calloutVariants
|
|
@@ -318,16 +319,16 @@ import "./chunk-K5FKEAAK.js";
|
|
|
318
319
|
import {
|
|
319
320
|
Chip,
|
|
320
321
|
chipVariants
|
|
321
|
-
} from "./chunk-
|
|
322
|
+
} from "./chunk-RSBJBQPG.js";
|
|
322
323
|
import {
|
|
323
324
|
Citation,
|
|
324
325
|
SourceChip,
|
|
325
326
|
SourceList,
|
|
326
327
|
safeUrl
|
|
327
|
-
} from "./chunk-
|
|
328
|
+
} from "./chunk-UAQRQNOB.js";
|
|
328
329
|
import {
|
|
329
330
|
HoverCard
|
|
330
|
-
} from "./chunk-
|
|
331
|
+
} from "./chunk-X3B2MTX6.js";
|
|
331
332
|
import {
|
|
332
333
|
Code
|
|
333
334
|
} from "./chunk-DDRYT3SY.js";
|
|
@@ -335,11 +336,11 @@ import "./chunk-IZ6ZPEZ2.js";
|
|
|
335
336
|
import {
|
|
336
337
|
AvatarGroup,
|
|
337
338
|
avatarGroupVariants
|
|
338
|
-
} from "./chunk-
|
|
339
|
+
} from "./chunk-FT2S7N64.js";
|
|
339
340
|
import {
|
|
340
341
|
Avatar,
|
|
341
342
|
avatarVariants
|
|
342
|
-
} from "./chunk-
|
|
343
|
+
} from "./chunk-QUYOV2ZJ.js";
|
|
343
344
|
import {
|
|
344
345
|
Badge,
|
|
345
346
|
badgeVariants
|
|
@@ -347,13 +348,13 @@ import {
|
|
|
347
348
|
import {
|
|
348
349
|
Banner,
|
|
349
350
|
bannerVariants
|
|
350
|
-
} from "./chunk-
|
|
351
|
+
} from "./chunk-ETWFHIAE.js";
|
|
351
352
|
import {
|
|
352
353
|
Box
|
|
353
354
|
} from "./chunk-M7YB3MSW.js";
|
|
354
355
|
import {
|
|
355
356
|
Breadcrumb
|
|
356
|
-
} from "./chunk-
|
|
357
|
+
} from "./chunk-ZTI4MK3L.js";
|
|
357
358
|
import "./chunk-P26VJEIW.js";
|
|
358
359
|
import "./chunk-LVPU7455.js";
|
|
359
360
|
import {
|
|
@@ -362,36 +363,36 @@ import {
|
|
|
362
363
|
import {
|
|
363
364
|
Accordion
|
|
364
365
|
} from "./chunk-T7RLPFGX.js";
|
|
366
|
+
import {
|
|
367
|
+
Alert,
|
|
368
|
+
alertVariants
|
|
369
|
+
} from "./chunk-RVWQROFK.js";
|
|
365
370
|
import {
|
|
366
371
|
AlertDialog
|
|
367
|
-
} from "./chunk-
|
|
368
|
-
import "./chunk-
|
|
372
|
+
} from "./chunk-TSN6HYVY.js";
|
|
373
|
+
import "./chunk-5FWJXSXT.js";
|
|
369
374
|
import {
|
|
370
375
|
Button,
|
|
371
376
|
buttonVariants
|
|
372
|
-
} from "./chunk-
|
|
373
|
-
import "./chunk-
|
|
377
|
+
} from "./chunk-22BGPRJZ.js";
|
|
378
|
+
import "./chunk-5W3AOOYS.js";
|
|
374
379
|
import "./chunk-DEIBF3P7.js";
|
|
375
380
|
import {
|
|
376
381
|
Amount
|
|
377
|
-
} from "./chunk-
|
|
382
|
+
} from "./chunk-PC7YGDNL.js";
|
|
378
383
|
import {
|
|
379
384
|
NumberTicker
|
|
380
|
-
} from "./chunk-
|
|
385
|
+
} from "./chunk-4MEV2WHD.js";
|
|
381
386
|
import "./chunk-CIQHFMF6.js";
|
|
382
387
|
import {
|
|
383
388
|
AppShell
|
|
384
389
|
} from "./chunk-56FERRWW.js";
|
|
385
|
-
import {
|
|
386
|
-
Alert,
|
|
387
|
-
alertVariants
|
|
388
|
-
} from "./chunk-CBDJRPMD.js";
|
|
389
390
|
import {
|
|
390
391
|
AspectRatio
|
|
391
392
|
} from "./chunk-S2CTBFLN.js";
|
|
392
393
|
import {
|
|
393
394
|
Autocomplete
|
|
394
|
-
} from "./chunk-
|
|
395
|
+
} from "./chunk-GG5HDX7J.js";
|
|
395
396
|
import {
|
|
396
397
|
Combobox
|
|
397
398
|
} from "./chunk-FJUVYRNT.js";
|
|
@@ -400,7 +401,7 @@ import {
|
|
|
400
401
|
defaultMessages,
|
|
401
402
|
useLocale,
|
|
402
403
|
useNexubMessages
|
|
403
|
-
} from "./chunk-
|
|
404
|
+
} from "./chunk-3MSIO7KM.js";
|
|
404
405
|
import {
|
|
405
406
|
cn
|
|
406
407
|
} from "./chunk-Q7G5WGYV.js";
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@nexub/react",
|
|
3
|
-
"version": "1.
|
|
3
|
+
"version": "1.8.0",
|
|
4
4
|
"description": "React component library for Nexub Design System — 90+ accessible, themeable UI components built on Radix UI primitives.",
|
|
5
5
|
"type": "module",
|
|
6
6
|
"license": "MIT",
|
|
@@ -68,12 +68,12 @@
|
|
|
68
68
|
"date-fns": "^4.4.0",
|
|
69
69
|
"react-day-picker": "^9.14.0",
|
|
70
70
|
"tailwind-merge": "^2.6.1",
|
|
71
|
-
"@nexub/icons": "1.
|
|
71
|
+
"@nexub/icons": "1.8.0"
|
|
72
72
|
},
|
|
73
73
|
"peerDependencies": {
|
|
74
74
|
"react": ">=18 <20",
|
|
75
75
|
"react-dom": ">=18 <20",
|
|
76
|
-
"@nexub/tokens": "^1.
|
|
76
|
+
"@nexub/tokens": "^1.8.0"
|
|
77
77
|
},
|
|
78
78
|
"devDependencies": {
|
|
79
79
|
"@playwright/test": "1.64.0",
|
|
@@ -98,8 +98,8 @@
|
|
|
98
98
|
"vaul": "1.1.2",
|
|
99
99
|
"vite": "^7.3.7",
|
|
100
100
|
"vitest": "^5.0.5",
|
|
101
|
-
"@nexub/themes": "1.
|
|
102
|
-
"@nexub/tokens": "1.
|
|
101
|
+
"@nexub/themes": "1.8.0",
|
|
102
|
+
"@nexub/tokens": "1.8.0"
|
|
103
103
|
},
|
|
104
104
|
"scripts": {
|
|
105
105
|
"build": "tsup && node scripts/check-dts.mjs",
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
"storybook": "storybook dev -p 6006",
|
|
111
111
|
"build-storybook": "storybook build",
|
|
112
112
|
"test:visual": "playwright test -c visual",
|
|
113
|
-
"test:visual:docker": "docker run --rm --ipc=host -v \"$PWD/../..\":/work -w /work/packages/react mcr.microsoft.com/playwright:v1.64.0-noble npx playwright test -c visual",
|
|
113
|
+
"test:visual:docker": "docker run --rm --ipc=host -e CI -v \"$PWD/../..\":/work -w /work/packages/react mcr.microsoft.com/playwright:v1.64.0-noble npx playwright test -c visual",
|
|
114
114
|
"lint": "eslint src"
|
|
115
115
|
}
|
|
116
116
|
}
|