@nexub/react 2.0.0 → 2.1.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.
Files changed (68) hide show
  1. package/dist/{chunk-4MEV2WHD.js → chunk-2BAXCPQF.js} +1 -1
  2. package/dist/{chunk-7BAIEYUW.js → chunk-3FX3FBHE.js} +1 -1
  3. package/dist/{chunk-ZTI4MK3L.js → chunk-5JOKHG4L.js} +1 -1
  4. package/dist/{chunk-HSM7RXUF.js → chunk-5QZVFW4H.js} +1 -1
  5. package/dist/{chunk-V6CMWCJH.js → chunk-6FRG6NMM.js} +2 -2
  6. package/dist/{chunk-ENB7X3W4.js → chunk-7JXJOYM6.js} +1 -1
  7. package/dist/{chunk-JVOSMXD5.js → chunk-AKV4GMIY.js} +1 -1
  8. package/dist/{chunk-FT2S7N64.js → chunk-BSS7QNC5.js} +1 -1
  9. package/dist/{chunk-OS4NOWEI.js → chunk-D6HHYT2S.js} +1 -1
  10. package/dist/{chunk-ESMIBOF5.js → chunk-D7HMUIA5.js} +1 -1
  11. package/dist/{chunk-ETWFHIAE.js → chunk-EA4JBLWK.js} +1 -1
  12. package/dist/{chunk-UAQRQNOB.js → chunk-EILMNNTT.js} +1 -1
  13. package/dist/{chunk-IDIS7Z6H.js → chunk-F3DRJSZL.js} +1 -1
  14. package/dist/{chunk-GSA7NBEG.js → chunk-I6ELDWZE.js} +1 -1
  15. package/dist/{chunk-OTZBGMYH.js → chunk-IPCB5HU7.js} +1 -1
  16. package/dist/{chunk-6U5WQERX.js → chunk-KFU2ENV6.js} +2 -2
  17. package/dist/{chunk-ZRBLASQE.js → chunk-MX6NYEOW.js} +1 -1
  18. package/dist/{chunk-GG5HDX7J.js → chunk-NITVUZ4L.js} +1 -1
  19. package/dist/{chunk-XHLSYHAV.js → chunk-NN7SNECM.js} +1 -1
  20. package/dist/{chunk-BIAYWCDE.js → chunk-O2DSTHXA.js} +1 -1
  21. package/dist/{chunk-L4BSKMLK.js → chunk-P37ABUFD.js} +1 -1
  22. package/dist/{chunk-5GN2GFW3.js → chunk-Q4CEJZY6.js} +1 -1
  23. package/dist/chunk-R3SUPKKI.js +12 -0
  24. package/dist/{chunk-UV5O2BMW.js → chunk-TSBBWYDO.js} +1 -1
  25. package/dist/{chunk-RVWQROFK.js → chunk-TXIJMUD5.js} +1 -1
  26. package/dist/{chunk-O6J6HXVT.js → chunk-VMMZHSZL.js} +1 -1
  27. package/dist/chunk-VMSWIC3O.js +40 -0
  28. package/dist/{chunk-WECNLNIA.js → chunk-WASCNEIQ.js} +1 -1
  29. package/dist/{chunk-RSBJBQPG.js → chunk-WXE6QRHB.js} +1 -1
  30. package/dist/{chunk-KRHD7VI6.js → chunk-ZVQYAIOA.js} +1 -1
  31. package/dist/{chunk-PC7YGDNL.js → chunk-ZYR3R36N.js} +3 -3
  32. package/dist/components/Alert/index.js +2 -2
  33. package/dist/components/Amount/index.js +4 -4
  34. package/dist/components/Autocomplete/index.js +2 -2
  35. package/dist/components/AvatarGroup/index.js +2 -2
  36. package/dist/components/Banner/index.js +2 -2
  37. package/dist/components/Breadcrumb/index.js +2 -2
  38. package/dist/components/Chip/index.js +2 -2
  39. package/dist/components/Citation/index.js +2 -2
  40. package/dist/components/CommandPalette/index.js +2 -2
  41. package/dist/components/DataTable/index.js +2 -2
  42. package/dist/components/DatePicker/index.js +2 -2
  43. package/dist/components/DateRangePicker/index.js +3 -3
  44. package/dist/components/FileUpload/index.js +2 -2
  45. package/dist/components/FilterChip/index.js +2 -2
  46. package/dist/components/FormField/index.js +3 -3
  47. package/dist/components/MessageBubble/index.js +2 -2
  48. package/dist/components/MoneyInput/index.js +3 -3
  49. package/dist/components/NavigationRail/index.js +2 -2
  50. package/dist/components/NexubProvider/index.js +1 -1
  51. package/dist/components/NumberInput/index.js +2 -2
  52. package/dist/components/NumberTicker/index.js +2 -2
  53. package/dist/components/Pagination/index.js +2 -2
  54. package/dist/components/PasswordInput/index.js +2 -2
  55. package/dist/components/PromptInput/index.js +2 -2
  56. package/dist/components/Rating/index.js +2 -2
  57. package/dist/components/SearchInput/index.js +2 -2
  58. package/dist/components/Sidebar/index.js +2 -2
  59. package/dist/components/Spinner/index.js +2 -2
  60. package/dist/components/ThinkingIndicator/index.js +2 -2
  61. package/dist/components/Toast/index.js +2 -2
  62. package/dist/components/TopNav/index.js +2 -2
  63. package/dist/index.d.ts +4 -98
  64. package/dist/index.js +62 -62
  65. package/package.json +6 -5
  66. package/dist/chunk-3MSIO7KM.js +0 -129
  67. package/dist/chunk-CIQHFMF6.js +0 -44
  68. package/dist/{chunk-GLQOEW57.js → chunk-G4RLUGE3.js} +4 -4
@@ -2,8 +2,8 @@
2
2
  import "../../chunk-WLRRMT6W.js";
3
3
  import {
4
4
  NumberTicker
5
- } from "../../chunk-4MEV2WHD.js";
6
- import "../../chunk-3MSIO7KM.js";
5
+ } from "../../chunk-2BAXCPQF.js";
6
+ import "../../chunk-VMSWIC3O.js";
7
7
  import "../../chunk-Q7G5WGYV.js";
8
8
  export {
9
9
  NumberTicker
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
  import {
3
3
  Pagination
4
- } from "../../chunk-JVOSMXD5.js";
4
+ } from "../../chunk-AKV4GMIY.js";
5
5
  import "../../chunk-5W3AOOYS.js";
6
- import "../../chunk-3MSIO7KM.js";
6
+ import "../../chunk-VMSWIC3O.js";
7
7
  import "../../chunk-Q7G5WGYV.js";
8
8
  export {
9
9
  Pagination
@@ -1,10 +1,10 @@
1
1
  'use client';
2
2
  import {
3
3
  PasswordInput
4
- } from "../../chunk-UV5O2BMW.js";
4
+ } from "../../chunk-TSBBWYDO.js";
5
5
  import "../../chunk-F7ZA2VA2.js";
6
6
  import "../../chunk-5W3AOOYS.js";
7
- import "../../chunk-3MSIO7KM.js";
7
+ import "../../chunk-VMSWIC3O.js";
8
8
  import "../../chunk-Q7G5WGYV.js";
9
9
  export {
10
10
  PasswordInput
@@ -1,14 +1,14 @@
1
1
  'use client';
2
2
  import {
3
3
  PromptInput
4
- } from "../../chunk-O6J6HXVT.js";
4
+ } from "../../chunk-VMMZHSZL.js";
5
5
  import "../../chunk-MNEXMMLM.js";
6
6
  import "../../chunk-JLUCMNVS.js";
7
7
  import "../../chunk-NHUQLIHL.js";
8
8
  import "../../chunk-NYORXEPS.js";
9
9
  import "../../chunk-5W3AOOYS.js";
10
10
  import "../../chunk-DEIBF3P7.js";
11
- import "../../chunk-3MSIO7KM.js";
11
+ import "../../chunk-VMSWIC3O.js";
12
12
  import "../../chunk-Q7G5WGYV.js";
13
13
  export {
14
14
  PromptInput
@@ -2,10 +2,10 @@
2
2
  import {
3
3
  Rating,
4
4
  ratingVariants
5
- } from "../../chunk-BIAYWCDE.js";
5
+ } from "../../chunk-O2DSTHXA.js";
6
6
  import "../../chunk-JLUCMNVS.js";
7
7
  import "../../chunk-NHUQLIHL.js";
8
- import "../../chunk-3MSIO7KM.js";
8
+ import "../../chunk-VMSWIC3O.js";
9
9
  import "../../chunk-Q7G5WGYV.js";
10
10
  export {
11
11
  Rating,
@@ -1,10 +1,10 @@
1
1
  'use client';
2
2
  import {
3
3
  SearchInput
4
- } from "../../chunk-OTZBGMYH.js";
4
+ } from "../../chunk-IPCB5HU7.js";
5
5
  import "../../chunk-F7ZA2VA2.js";
6
6
  import "../../chunk-5W3AOOYS.js";
7
- import "../../chunk-3MSIO7KM.js";
7
+ import "../../chunk-VMSWIC3O.js";
8
8
  import "../../chunk-Q7G5WGYV.js";
9
9
  export {
10
10
  SearchInput
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
  import {
3
3
  Sidebar
4
- } from "../../chunk-ZRBLASQE.js";
5
- import "../../chunk-3MSIO7KM.js";
4
+ } from "../../chunk-MX6NYEOW.js";
5
+ import "../../chunk-VMSWIC3O.js";
6
6
  import "../../chunk-Q7G5WGYV.js";
7
7
  export {
8
8
  Sidebar
@@ -2,8 +2,8 @@
2
2
  import {
3
3
  Spinner,
4
4
  spinnerVariants
5
- } from "../../chunk-L4BSKMLK.js";
6
- import "../../chunk-3MSIO7KM.js";
5
+ } from "../../chunk-P37ABUFD.js";
6
+ import "../../chunk-VMSWIC3O.js";
7
7
  import "../../chunk-Q7G5WGYV.js";
8
8
  export {
9
9
  Spinner,
@@ -1,8 +1,8 @@
1
1
  'use client';
2
2
  import {
3
3
  ThinkingIndicator
4
- } from "../../chunk-ESMIBOF5.js";
5
- import "../../chunk-3MSIO7KM.js";
4
+ } from "../../chunk-D7HMUIA5.js";
5
+ import "../../chunk-VMSWIC3O.js";
6
6
  import "../../chunk-Q7G5WGYV.js";
7
7
  export {
8
8
  ThinkingIndicator
@@ -4,9 +4,9 @@ import {
4
4
  Toaster,
5
5
  toast,
6
6
  useToastStore
7
- } from "../../chunk-GSA7NBEG.js";
7
+ } from "../../chunk-I6ELDWZE.js";
8
8
  import "../../chunk-NHUQLIHL.js";
9
- import "../../chunk-3MSIO7KM.js";
9
+ import "../../chunk-VMSWIC3O.js";
10
10
  import "../../chunk-Q7G5WGYV.js";
11
11
  export {
12
12
  Toast,
@@ -1,9 +1,9 @@
1
1
  'use client';
2
2
  import {
3
3
  TopNav
4
- } from "../../chunk-KRHD7VI6.js";
4
+ } from "../../chunk-ZVQYAIOA.js";
5
5
  import "../../chunk-DEIBF3P7.js";
6
- import "../../chunk-3MSIO7KM.js";
6
+ import "../../chunk-VMSWIC3O.js";
7
7
  import "../../chunk-Q7G5WGYV.js";
8
8
  export {
9
9
  TopNav
package/dist/index.d.ts CHANGED
@@ -2,6 +2,8 @@ import { ClassValue } from 'clsx';
2
2
  import * as React from 'react';
3
3
  import { useLayoutEffect, Ref } from 'react';
4
4
  import { Locale } from 'date-fns';
5
+ import { Direction, NexubMessages, ToneValue, GlassMode } from '@nexub/core';
6
+ export { GlassMode, NexubMessages, Direction as TextDirection, ToneValue, defaultMessages } from '@nexub/core';
5
7
  import * as class_variance_authority_types from 'class-variance-authority/types';
6
8
  import { VariantProps } from 'class-variance-authority';
7
9
  import * as RadixRadioGroup from '@radix-ui/react-radio-group';
@@ -223,99 +225,6 @@ interface SourceListProps extends Omit<React.HTMLAttributes<HTMLElement>, 'child
223
225
  */
224
226
  declare const SourceList: React.ForwardRefExoticComponent<SourceListProps & React.RefAttributes<HTMLElement>>;
225
227
 
226
- /** Every user-facing default string in @nexub/react. Explicit component props still win. */
227
- interface NexubMessages {
228
- close: string;
229
- dismissAlert: string;
230
- dismissBanner: string;
231
- remove: string;
232
- removeFilter: string;
233
- removeFile: (fileName: string) => string;
234
- uploadFiles: string;
235
- clickToUpload: string;
236
- orDragAndDrop: string;
237
- clearSearch: string;
238
- showPassword: string;
239
- hidePassword: string;
240
- increment: string;
241
- decrement: string;
242
- loading: string;
243
- pagination: string;
244
- previousPage: string;
245
- nextPage: string;
246
- goToPage: (page: number) => string;
247
- breadcrumb: string;
248
- breadcrumbMore: string;
249
- moreCount: (count: number) => string;
250
- rating: string;
251
- ratingStars: (stars: number) => string;
252
- mainNavigation: string;
253
- sidebar: string;
254
- searchPlaceholder: string;
255
- noResults: string;
256
- pickDate: string;
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;
266
- commandPalette: string;
267
- /** Toaster region label; Radix replaces `{hotkey}`. */
268
- notifications: string;
269
- undo: string;
270
- promptLabel: string;
271
- sendMessage: string;
272
- stopGenerating: string;
273
- promptHint: string;
274
- thinking: string;
275
- youSaid: string;
276
- assistantSaid: string;
277
- failedToSend: string;
278
- retry: string;
279
- copy: string;
280
- copied: string;
281
- goodResponse: string;
282
- badResponse: string;
283
- regenerate: string;
284
- sources: string;
285
- source: (index: number) => string;
286
- jumpToLatest: string;
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;
316
- }
317
- declare const defaultMessages: NexubMessages;
318
- type Direction = 'ltr' | 'rtl';
319
228
  interface NexubProviderProps {
320
229
  /** BCP 47 locale for Intl formatting. @default 'en' */
321
230
  locale?: string;
@@ -345,7 +254,6 @@ declare function useLocale(): {
345
254
  dateLocale?: Locale;
346
255
  };
347
256
 
348
- type ToneValue = 'neutral' | 'info' | 'success' | 'warning' | 'danger' | 'leap' | 'bookub' | 'payub' | 'founderub';
349
257
  declare const buttonVariants: (props?: ({
350
258
  variant?: "accent" | "text" | "link" | "glass" | "ghost" | "outline" | "subtle" | "filled" | "tonal" | "outlined" | "primary" | "secondary" | "destructive" | null | undefined;
351
259
  size?: "xs" | "sm" | "md" | "lg" | "xl" | null | undefined;
@@ -1758,9 +1666,7 @@ interface DateRangePickerProps {
1758
1666
  declare const DateRangePicker: React.ForwardRefExoticComponent<DateRangePickerProps & React.RefAttributes<HTMLButtonElement>>;
1759
1667
 
1760
1668
  type ThemeMode = 'light' | 'dark' | 'system';
1761
- /** Glass intensity dial (user preference, like iOS 27's clear → tinted slider).
1762
- * 'off' makes every glass surface solid. Set as `data-glass` on <html>. */
1763
- type GlassMode = 'clear' | 'balanced' | 'tinted' | 'off';
1669
+
1764
1670
  interface ThemeContextValue {
1765
1671
  /** The resolved theme actually applied (never 'system'). */
1766
1672
  resolvedTheme: 'light' | 'dark';
@@ -1927,4 +1833,4 @@ interface CollapseProps extends Omit<MotionBaseProps, 'easing'>, React.HTMLAttri
1927
1833
  */
1928
1834
  declare const Collapse: React.ForwardRefExoticComponent<CollapseProps & React.RefAttributes<HTMLDivElement>>;
1929
1835
 
1930
- 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 };
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 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, 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, 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, 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, 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, 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,8 +1,10 @@
1
1
  'use client';
2
+ import {
3
+ TopNav
4
+ } from "./chunk-ZVQYAIOA.js";
2
5
  import {
3
6
  Root
4
7
  } from "./chunk-ZXLACKEB.js";
5
- import "./chunk-XYXMPHND.js";
6
8
  import {
7
9
  Textarea,
8
10
  textareaVariants
@@ -14,13 +16,13 @@ import {
14
16
  } from "./chunk-3XX45SUC.js";
15
17
  import {
16
18
  ThinkingIndicator
17
- } from "./chunk-ESMIBOF5.js";
19
+ } from "./chunk-D7HMUIA5.js";
18
20
  import {
19
21
  Toast,
20
22
  Toaster,
21
23
  toast,
22
24
  useToastStore
23
- } from "./chunk-GSA7NBEG.js";
25
+ } from "./chunk-I6ELDWZE.js";
24
26
  import "./chunk-YJU4ZRQZ.js";
25
27
  import {
26
28
  ToggleGroup
@@ -32,23 +34,21 @@ import {
32
34
  import {
33
35
  Toolbar
34
36
  } from "./chunk-2ZBJOUJ7.js";
37
+ import "./chunk-XYXMPHND.js";
35
38
  import {
36
- TopNav
37
- } from "./chunk-KRHD7VI6.js";
39
+ StreamingText
40
+ } from "./chunk-5QEARXY3.js";
38
41
  import {
39
42
  StatusPill,
40
43
  statusPillVariants
41
44
  } from "./chunk-77LYWSJW.js";
42
- import {
43
- StreamingText
44
- } from "./chunk-5QEARXY3.js";
45
45
  import {
46
46
  Switch
47
47
  } from "./chunk-BTYDDKRQ.js";
48
- import "./chunk-4B4XWDAH.js";
49
48
  import {
50
49
  Tabs
51
50
  } from "./chunk-CKFRMCZ7.js";
51
+ import "./chunk-4B4XWDAH.js";
52
52
  import {
53
53
  Tag,
54
54
  tagVariants
@@ -69,7 +69,7 @@ import {
69
69
  } from "./chunk-CUOASXI7.js";
70
70
  import {
71
71
  Sidebar
72
- } from "./chunk-ZRBLASQE.js";
72
+ } from "./chunk-MX6NYEOW.js";
73
73
  import {
74
74
  Skeleton,
75
75
  skeletonVariants
@@ -80,33 +80,33 @@ import {
80
80
  import {
81
81
  Spinner,
82
82
  spinnerVariants
83
- } from "./chunk-L4BSKMLK.js";
83
+ } from "./chunk-P37ABUFD.js";
84
84
  import {
85
85
  SplitButton
86
86
  } from "./chunk-DFCHCYNT.js";
87
87
  import {
88
88
  Stack
89
89
  } from "./chunk-I6CAF7C5.js";
90
+ import {
91
+ PromptInput
92
+ } from "./chunk-VMMZHSZL.js";
90
93
  import {
91
94
  RadioCard,
92
95
  RadioCardGroup
93
96
  } from "./chunk-XTATJMY6.js";
94
- import {
95
- PromptInput
96
- } from "./chunk-O6J6HXVT.js";
97
97
  import {
98
98
  RadioGroup
99
99
  } from "./chunk-Z3HF6XJ3.js";
100
100
  import {
101
101
  Rating,
102
102
  ratingVariants
103
- } from "./chunk-BIAYWCDE.js";
103
+ } from "./chunk-O2DSTHXA.js";
104
104
  import {
105
105
  ScrollArea
106
106
  } from "./chunk-3LTB6TGN.js";
107
107
  import {
108
108
  SearchInput
109
- } from "./chunk-OTZBGMYH.js";
109
+ } from "./chunk-IPCB5HU7.js";
110
110
  import {
111
111
  Section,
112
112
  sectionVariants
@@ -121,20 +121,20 @@ import {
121
121
  import "./chunk-A3O23F2B.js";
122
122
  import {
123
123
  NumberInput
124
- } from "./chunk-ENB7X3W4.js";
124
+ } from "./chunk-7JXJOYM6.js";
125
125
  import "./chunk-WLRRMT6W.js";
126
126
  import {
127
127
  PageHeader
128
128
  } from "./chunk-UCNA2ICU.js";
129
129
  import {
130
130
  Pagination
131
- } from "./chunk-JVOSMXD5.js";
132
- import {
133
- PasswordInput
134
- } from "./chunk-UV5O2BMW.js";
131
+ } from "./chunk-AKV4GMIY.js";
135
132
  import {
136
133
  Popover
137
134
  } from "./chunk-NORCPKRD.js";
135
+ import {
136
+ PasswordInput
137
+ } from "./chunk-TSBBWYDO.js";
138
138
  import {
139
139
  Progress,
140
140
  progressFillVariants,
@@ -147,21 +147,21 @@ import {
147
147
  import {
148
148
  MediaCard
149
149
  } from "./chunk-3QD76BKT.js";
150
- import {
151
- Menubar
152
- } from "./chunk-VF6RWEKX.js";
153
150
  import {
154
151
  MessageActions,
155
152
  MessageBubble,
156
153
  defaultMessageStrings
157
- } from "./chunk-WECNLNIA.js";
154
+ } from "./chunk-WASCNEIQ.js";
158
155
  import {
159
156
  Provider,
160
157
  Tooltip
161
158
  } from "./chunk-XQDD76EF.js";
159
+ import {
160
+ Menubar
161
+ } from "./chunk-VF6RWEKX.js";
162
162
  import {
163
163
  MoneyInput
164
- } from "./chunk-V6CMWCJH.js";
164
+ } from "./chunk-6FRG6NMM.js";
165
165
  import {
166
166
  useControllableState
167
167
  } from "./chunk-JLUCMNVS.js";
@@ -179,14 +179,14 @@ import {
179
179
  } from "./chunk-BEOHZKPQ.js";
180
180
  import {
181
181
  NavigationRail
182
- } from "./chunk-5GN2GFW3.js";
182
+ } from "./chunk-Q4CEJZY6.js";
183
+ import "./chunk-PICMOOAZ.js";
183
184
  import "./chunk-ZT3NWE5U.js";
184
185
  import "./chunk-CAOLGXA5.js";
185
186
  import {
186
187
  IconButton,
187
188
  iconButtonVariants
188
189
  } from "./chunk-NYORXEPS.js";
189
- import "./chunk-ADO2DB6Q.js";
190
190
  import "./chunk-NZ7UK3G6.js";
191
191
  import {
192
192
  Input,
@@ -208,21 +208,25 @@ import {
208
208
  } from "./chunk-6BGUZQAX.js";
209
209
  import {
210
210
  FilterChip
211
- } from "./chunk-XHLSYHAV.js";
211
+ } from "./chunk-NN7SNECM.js";
212
+ import "./chunk-BV3U3ATL.js";
213
+ import "./chunk-ADO2DB6Q.js";
212
214
  import {
213
215
  Flex
214
216
  } from "./chunk-7MSIOYJZ.js";
215
- import "./chunk-BV3U3ATL.js";
216
217
  import {
217
218
  FormField
218
- } from "./chunk-GLQOEW57.js";
219
+ } from "./chunk-G4RLUGE3.js";
219
220
  import {
220
- FormError
221
- } from "./chunk-QVTVDL6Y.js";
221
+ HelperText
222
+ } from "./chunk-ZLW7IBXK.js";
222
223
  import {
223
224
  Label,
224
225
  labelVariants
225
226
  } from "./chunk-PGD246WD.js";
227
+ import {
228
+ FormError
229
+ } from "./chunk-QVTVDL6Y.js";
226
230
  import {
227
231
  GradientDivider
228
232
  } from "./chunk-ZC4MZAEX.js";
@@ -234,13 +238,9 @@ import {
234
238
  Heading,
235
239
  headingVariants
236
240
  } from "./chunk-SKIJVVBU.js";
237
- import "./chunk-PICMOOAZ.js";
238
- import {
239
- HelperText
240
- } from "./chunk-ZLW7IBXK.js";
241
241
  import {
242
242
  DateRangePicker
243
- } from "./chunk-6U5WQERX.js";
243
+ } from "./chunk-KFU2ENV6.js";
244
244
  import {
245
245
  Dialog
246
246
  } from "./chunk-ZGZQZG6S.js";
@@ -263,22 +263,22 @@ import {
263
263
  } from "./chunk-322WR6EU.js";
264
264
  import {
265
265
  FileUpload
266
- } from "./chunk-OS4NOWEI.js";
266
+ } from "./chunk-D6HHYT2S.js";
267
267
  import {
268
268
  Collapsible
269
269
  } from "./chunk-3LP2CR7F.js";
270
270
  import "./chunk-HY3JWSG4.js";
271
271
  import {
272
272
  CommandPalette
273
- } from "./chunk-IDIS7Z6H.js";
273
+ } from "./chunk-F3DRJSZL.js";
274
274
  import "./chunk-47UGX37F.js";
275
- import {
276
- ContextMenu
277
- } from "./chunk-ZUGZRXME.js";
278
275
  import {
279
276
  Container,
280
277
  containerVariants
281
278
  } from "./chunk-E4JM3HUM.js";
279
+ import {
280
+ ContextMenu
281
+ } from "./chunk-ZUGZRXME.js";
282
282
  import {
283
283
  CountryBadge
284
284
  } from "./chunk-ZCEUVK2R.js";
@@ -287,14 +287,14 @@ import {
287
287
  } from "./chunk-EQNETGTV.js";
288
288
  import {
289
289
  DataTable
290
- } from "./chunk-7BAIEYUW.js";
290
+ } from "./chunk-3FX3FBHE.js";
291
291
  import {
292
292
  Table
293
293
  } from "./chunk-BU5QD2FS.js";
294
294
  import "./chunk-52ZVJPF7.js";
295
295
  import {
296
296
  DatePicker
297
- } from "./chunk-HSM7RXUF.js";
297
+ } from "./chunk-5QZVFW4H.js";
298
298
  import {
299
299
  Callout,
300
300
  calloutVariants
@@ -319,13 +319,13 @@ import "./chunk-K5FKEAAK.js";
319
319
  import {
320
320
  Chip,
321
321
  chipVariants
322
- } from "./chunk-RSBJBQPG.js";
322
+ } from "./chunk-WXE6QRHB.js";
323
323
  import {
324
324
  Citation,
325
325
  SourceChip,
326
326
  SourceList,
327
327
  safeUrl
328
- } from "./chunk-UAQRQNOB.js";
328
+ } from "./chunk-EILMNNTT.js";
329
329
  import {
330
330
  HoverCard
331
331
  } from "./chunk-X3B2MTX6.js";
@@ -336,7 +336,7 @@ import "./chunk-IZ6ZPEZ2.js";
336
336
  import {
337
337
  AvatarGroup,
338
338
  avatarGroupVariants
339
- } from "./chunk-FT2S7N64.js";
339
+ } from "./chunk-BSS7QNC5.js";
340
340
  import {
341
341
  Avatar,
342
342
  avatarVariants
@@ -348,13 +348,13 @@ import {
348
348
  import {
349
349
  Banner,
350
350
  bannerVariants
351
- } from "./chunk-ETWFHIAE.js";
351
+ } from "./chunk-EA4JBLWK.js";
352
352
  import {
353
353
  Box
354
354
  } from "./chunk-M7YB3MSW.js";
355
355
  import {
356
356
  Breadcrumb
357
- } from "./chunk-ZTI4MK3L.js";
357
+ } from "./chunk-5JOKHG4L.js";
358
358
  import "./chunk-P26VJEIW.js";
359
359
  import "./chunk-LVPU7455.js";
360
360
  import {
@@ -366,7 +366,14 @@ import {
366
366
  import {
367
367
  Alert,
368
368
  alertVariants
369
- } from "./chunk-RVWQROFK.js";
369
+ } from "./chunk-TXIJMUD5.js";
370
+ import {
371
+ Amount
372
+ } from "./chunk-ZYR3R36N.js";
373
+ import {
374
+ NumberTicker
375
+ } from "./chunk-2BAXCPQF.js";
376
+ import "./chunk-R3SUPKKI.js";
370
377
  import {
371
378
  AlertDialog
372
379
  } from "./chunk-TSN6HYVY.js";
@@ -378,21 +385,14 @@ import {
378
385
  import "./chunk-5W3AOOYS.js";
379
386
  import "./chunk-DEIBF3P7.js";
380
387
  import {
381
- Amount
382
- } from "./chunk-PC7YGDNL.js";
383
- import {
384
- NumberTicker
385
- } from "./chunk-4MEV2WHD.js";
386
- import "./chunk-CIQHFMF6.js";
388
+ AppShell
389
+ } from "./chunk-56FERRWW.js";
387
390
  import {
388
391
  AspectRatio
389
392
  } from "./chunk-S2CTBFLN.js";
390
- import {
391
- AppShell
392
- } from "./chunk-56FERRWW.js";
393
393
  import {
394
394
  Autocomplete
395
- } from "./chunk-GG5HDX7J.js";
395
+ } from "./chunk-NITVUZ4L.js";
396
396
  import {
397
397
  Combobox
398
398
  } from "./chunk-FJUVYRNT.js";
@@ -401,7 +401,7 @@ import {
401
401
  defaultMessages,
402
402
  useLocale,
403
403
  useNexubMessages
404
- } from "./chunk-3MSIO7KM.js";
404
+ } from "./chunk-VMSWIC3O.js";
405
405
  import {
406
406
  cn
407
407
  } from "./chunk-Q7G5WGYV.js";
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nexub/react",
3
- "version": "2.0.0",
3
+ "version": "2.1.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,13 @@
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": "2.0.0"
71
+ "@nexub/core": "2.1.0",
72
+ "@nexub/icons": "2.1.0"
72
73
  },
73
74
  "peerDependencies": {
74
75
  "react": ">=18 <20",
75
76
  "react-dom": ">=18 <20",
76
- "@nexub/tokens": "^2.0.0"
77
+ "@nexub/tokens": "^2.1.0"
77
78
  },
78
79
  "devDependencies": {
79
80
  "@playwright/test": "1.64.0",
@@ -98,8 +99,8 @@
98
99
  "vaul": "1.1.2",
99
100
  "vite": "^7.3.7",
100
101
  "vitest": "^5.0.5",
101
- "@nexub/themes": "2.0.0",
102
- "@nexub/tokens": "2.0.0"
102
+ "@nexub/themes": "2.1.0",
103
+ "@nexub/tokens": "2.1.0"
103
104
  },
104
105
  "scripts": {
105
106
  "build": "tsup && node scripts/check-dts.mjs",