@nurix/ui-component-library 1.1.3-stage.110 → 1.1.3-stage.112

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/index.d.mts CHANGED
@@ -388,10 +388,23 @@ interface AccordionTriggerProps extends React$1.ButtonHTMLAttributes<HTMLButtonE
388
388
  }
389
389
  interface AccordionContentProps extends React$1.HTMLAttributes<HTMLDivElement> {
390
390
  }
391
+ interface AccordionSectionTriggerProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
392
+ /**
393
+ * Label shown inside the pill (Figma: "Summary"). Children override.
394
+ */
395
+ label?: React$1.ReactNode;
396
+ }
391
397
 
392
398
  declare function Accordion<TType extends AccordionType = "single">({ className, type, collapsible, value, defaultValue, onValueChange, disabled, ...props }: AccordionProps<TType>): react_jsx_runtime.JSX.Element;
393
399
  declare const AccordionItem: React$1.ForwardRefExoticComponent<AccordionItemProps & React$1.RefAttributes<HTMLDivElement>>;
394
400
  declare const AccordionTrigger: React$1.ForwardRefExoticComponent<AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
401
+ /**
402
+ * Section-separator trigger (Figma 6128:5627). A compact pill that separates
403
+ * sections within a card or page. Use in place of `AccordionTrigger` inside
404
+ * an `AccordionItem` — it wires into the same Radix state and flips the
405
+ * chevron when `data-state=open`.
406
+ */
407
+ declare const AccordionSectionTrigger: React$1.ForwardRefExoticComponent<AccordionSectionTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
395
408
  declare const AccordionContent: React$1.ForwardRefExoticComponent<AccordionContentProps & React$1.RefAttributes<HTMLDivElement>>;
396
409
  declare function AccordionContentPlaceholder({ className, children, }: {
397
410
  className?: string;
@@ -2590,6 +2603,10 @@ interface ChatBubbleAgentProps extends ChatBubbleBaseProps {
2590
2603
  focused?: boolean;
2591
2604
  }
2592
2605
  interface ChatBubbleUserProps extends ChatBubbleBaseProps {
2606
+ /** Shown below the message (e.g. a "Tool Call" tag). */
2607
+ trailing?: React$1.ReactNode;
2608
+ /** In-Focus state — draws the brand ring around the row. */
2609
+ focused?: boolean;
2593
2610
  }
2594
2611
 
2595
2612
  /**
@@ -2701,4 +2718,4 @@ interface PopoverProps {
2701
2718
  */
2702
2719
  declare const Popover: React$1.ForwardRefExoticComponent<PopoverProps & React$1.RefAttributes<HTMLDivElement>>;
2703
2720
 
2704
- export { Accordion, AccordionContent, AccordionContentPlaceholder, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, type AccordionType, type AccordionValue, AudioPlayer, type AudioPlayerProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarShape, type AvatarSize, type BackButtonPosition, Badge, type BadgeProps, type BadgeVariant, Button, type ButtonBorderRadius, ButtonList, type ButtonListItem, type ButtonListProps, type ButtonProps, type ButtonSize, type ButtonVariant, type CellContent, type CellTextContent, ChatBubbleAgent, type ChatBubbleAgentProps, ChatBubbleUser, type ChatBubbleUserProps, Checkbox, type CheckboxProps, type ColumnDef, ColumnWidth, CompoundFilterSelect, type CompoundFilterSelectProps, type CompoundFilterToggleOption, DEFAULT_THEME, DataTable, type DataTableProps, type DatePreset, Dialog, DialogBody, type DialogBodyProps, DialogFooter, type DialogFooterProps, DialogHeader, DialogHeaderNavigation, type DialogHeaderNavigationProps, type DialogHeaderNavigationVariant, type DialogHeaderProps, DialogIcon, type DialogIconProps, type DialogProps, type DialogSize, type DialogType, EmptyState, type EmptyStateIllustrationPosition, type EmptyStateIllustrationSize, type EmptyStateProps, FileInput, type FileInputProps, type FilterItem, type FilterItemWithSection, FilterListItem, type FilterListItemProps, FilterSelect, type FilterSelectProps, type IconColor, IconPicker, type IconPickerProps, type IconSize, IconWrapper, type IconWrapperProps, Input, type InputBorderRadius, type InputForceState, InputGroup, type InputGroupBorderRadius, type InputGroupForceState, type InputGroupProps, type InputProps, type InputVariant, JSON_EDITOR_LANGUAGE_OPTIONS, JsonEditor, type JsonEditorLanguage, type JsonEditorProps, KeyValueEditor, type KeyValueEditorProps, type KeyValuePair, LegoLandWrapper, type LegoLandWrapperProps, List, type ListBorderRadius, type ListNavItemProps, ListNavigation, type ListNavigationProps, type ListProps, type ListType, type ListVariant, MONACO_OPTIONS, MONACO_OPTIONS_DIALOG, NestedButtonGroup, type NestedButtonGroupProps, NumberBadge, type NumberBadgeProps, type NumberBadgeVariant, NurixThemeProvider, Pagination, type PaginationProps, PlaySelect, type PlaySelectAudioItem, type PlaySelectProps, PlaybackControl, type PlaybackControlProps, type PlaybackState, Popover, type PopoverAlign, type PopoverProps, type PopoverShadow, type PopoverSide, ProgressBar, type ProgressBarProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, Select, SelectContent, type SelectContentItem, SelectFormLabel, SelectGroup, type SelectGroupProps, SelectItem, SelectLabel, type SelectLabelProps, type SelectMenuItemProps, type SelectProps, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, ShadowDOMWrapper, type ShowToastOptions, type SortDirection, type SortState, Spinner, type SpinnerProps, type SpinnerSize, type StepItem, type StepState, Stepper, StepperBar, type StepperBarProps, type StepperProps, type SupportingTextType, Surface, type SurfaceBackground, SurfaceBody, type SurfaceBodyProps, SurfaceFooter, type SurfaceFooterProps, SurfaceHeader, type SurfaceHeaderProps, type SurfaceProps, Switch, type SwitchProps, type SwitchSize, type TabVariant, type TableAction, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, TagBadge, type TagBadgeProps, type TagOption, Textarea, type TextareaBorderRadius, type TextareaForceState, type TextareaProps, ThemeProvider, Toast, type ToastProps, type ToastVariant, Toaster, Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, Typography, type TypographyProps, type TypographySize, type TypographyTone, type TypographyVariant, type TypographyWeight, type UsePlaySelectProps, type UseSelectProps, enhanceJsonError, showToast, useJsonEditor, usePlaySelect, useSelect, useTheme };
2721
+ export { Accordion, AccordionContent, AccordionContentPlaceholder, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionSectionTrigger, type AccordionSectionTriggerProps, AccordionTrigger, type AccordionTriggerProps, type AccordionType, type AccordionValue, AudioPlayer, type AudioPlayerProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarShape, type AvatarSize, type BackButtonPosition, Badge, type BadgeProps, type BadgeVariant, Button, type ButtonBorderRadius, ButtonList, type ButtonListItem, type ButtonListProps, type ButtonProps, type ButtonSize, type ButtonVariant, type CellContent, type CellTextContent, ChatBubbleAgent, type ChatBubbleAgentProps, ChatBubbleUser, type ChatBubbleUserProps, Checkbox, type CheckboxProps, type ColumnDef, ColumnWidth, CompoundFilterSelect, type CompoundFilterSelectProps, type CompoundFilterToggleOption, DEFAULT_THEME, DataTable, type DataTableProps, type DatePreset, Dialog, DialogBody, type DialogBodyProps, DialogFooter, type DialogFooterProps, DialogHeader, DialogHeaderNavigation, type DialogHeaderNavigationProps, type DialogHeaderNavigationVariant, type DialogHeaderProps, DialogIcon, type DialogIconProps, type DialogProps, type DialogSize, type DialogType, EmptyState, type EmptyStateIllustrationPosition, type EmptyStateIllustrationSize, type EmptyStateProps, FileInput, type FileInputProps, type FilterItem, type FilterItemWithSection, FilterListItem, type FilterListItemProps, FilterSelect, type FilterSelectProps, type IconColor, IconPicker, type IconPickerProps, type IconSize, IconWrapper, type IconWrapperProps, Input, type InputBorderRadius, type InputForceState, InputGroup, type InputGroupBorderRadius, type InputGroupForceState, type InputGroupProps, type InputProps, type InputVariant, JSON_EDITOR_LANGUAGE_OPTIONS, JsonEditor, type JsonEditorLanguage, type JsonEditorProps, KeyValueEditor, type KeyValueEditorProps, type KeyValuePair, LegoLandWrapper, type LegoLandWrapperProps, List, type ListBorderRadius, type ListNavItemProps, ListNavigation, type ListNavigationProps, type ListProps, type ListType, type ListVariant, MONACO_OPTIONS, MONACO_OPTIONS_DIALOG, NestedButtonGroup, type NestedButtonGroupProps, NumberBadge, type NumberBadgeProps, type NumberBadgeVariant, NurixThemeProvider, Pagination, type PaginationProps, PlaySelect, type PlaySelectAudioItem, type PlaySelectProps, PlaybackControl, type PlaybackControlProps, type PlaybackState, Popover, type PopoverAlign, type PopoverProps, type PopoverShadow, type PopoverSide, ProgressBar, type ProgressBarProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, Select, SelectContent, type SelectContentItem, SelectFormLabel, SelectGroup, type SelectGroupProps, SelectItem, SelectLabel, type SelectLabelProps, type SelectMenuItemProps, type SelectProps, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, ShadowDOMWrapper, type ShowToastOptions, type SortDirection, type SortState, Spinner, type SpinnerProps, type SpinnerSize, type StepItem, type StepState, Stepper, StepperBar, type StepperBarProps, type StepperProps, type SupportingTextType, Surface, type SurfaceBackground, SurfaceBody, type SurfaceBodyProps, SurfaceFooter, type SurfaceFooterProps, SurfaceHeader, type SurfaceHeaderProps, type SurfaceProps, Switch, type SwitchProps, type SwitchSize, type TabVariant, type TableAction, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, TagBadge, type TagBadgeProps, type TagOption, Textarea, type TextareaBorderRadius, type TextareaForceState, type TextareaProps, ThemeProvider, Toast, type ToastProps, type ToastVariant, Toaster, Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, Typography, type TypographyProps, type TypographySize, type TypographyTone, type TypographyVariant, type TypographyWeight, type UsePlaySelectProps, type UseSelectProps, enhanceJsonError, showToast, useJsonEditor, usePlaySelect, useSelect, useTheme };
package/dist/index.d.ts CHANGED
@@ -388,10 +388,23 @@ interface AccordionTriggerProps extends React$1.ButtonHTMLAttributes<HTMLButtonE
388
388
  }
389
389
  interface AccordionContentProps extends React$1.HTMLAttributes<HTMLDivElement> {
390
390
  }
391
+ interface AccordionSectionTriggerProps extends React$1.ButtonHTMLAttributes<HTMLButtonElement> {
392
+ /**
393
+ * Label shown inside the pill (Figma: "Summary"). Children override.
394
+ */
395
+ label?: React$1.ReactNode;
396
+ }
391
397
 
392
398
  declare function Accordion<TType extends AccordionType = "single">({ className, type, collapsible, value, defaultValue, onValueChange, disabled, ...props }: AccordionProps<TType>): react_jsx_runtime.JSX.Element;
393
399
  declare const AccordionItem: React$1.ForwardRefExoticComponent<AccordionItemProps & React$1.RefAttributes<HTMLDivElement>>;
394
400
  declare const AccordionTrigger: React$1.ForwardRefExoticComponent<AccordionTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
401
+ /**
402
+ * Section-separator trigger (Figma 6128:5627). A compact pill that separates
403
+ * sections within a card or page. Use in place of `AccordionTrigger` inside
404
+ * an `AccordionItem` — it wires into the same Radix state and flips the
405
+ * chevron when `data-state=open`.
406
+ */
407
+ declare const AccordionSectionTrigger: React$1.ForwardRefExoticComponent<AccordionSectionTriggerProps & React$1.RefAttributes<HTMLButtonElement>>;
395
408
  declare const AccordionContent: React$1.ForwardRefExoticComponent<AccordionContentProps & React$1.RefAttributes<HTMLDivElement>>;
396
409
  declare function AccordionContentPlaceholder({ className, children, }: {
397
410
  className?: string;
@@ -2590,6 +2603,10 @@ interface ChatBubbleAgentProps extends ChatBubbleBaseProps {
2590
2603
  focused?: boolean;
2591
2604
  }
2592
2605
  interface ChatBubbleUserProps extends ChatBubbleBaseProps {
2606
+ /** Shown below the message (e.g. a "Tool Call" tag). */
2607
+ trailing?: React$1.ReactNode;
2608
+ /** In-Focus state — draws the brand ring around the row. */
2609
+ focused?: boolean;
2593
2610
  }
2594
2611
 
2595
2612
  /**
@@ -2701,4 +2718,4 @@ interface PopoverProps {
2701
2718
  */
2702
2719
  declare const Popover: React$1.ForwardRefExoticComponent<PopoverProps & React$1.RefAttributes<HTMLDivElement>>;
2703
2720
 
2704
- export { Accordion, AccordionContent, AccordionContentPlaceholder, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionTrigger, type AccordionTriggerProps, type AccordionType, type AccordionValue, AudioPlayer, type AudioPlayerProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarShape, type AvatarSize, type BackButtonPosition, Badge, type BadgeProps, type BadgeVariant, Button, type ButtonBorderRadius, ButtonList, type ButtonListItem, type ButtonListProps, type ButtonProps, type ButtonSize, type ButtonVariant, type CellContent, type CellTextContent, ChatBubbleAgent, type ChatBubbleAgentProps, ChatBubbleUser, type ChatBubbleUserProps, Checkbox, type CheckboxProps, type ColumnDef, ColumnWidth, CompoundFilterSelect, type CompoundFilterSelectProps, type CompoundFilterToggleOption, DEFAULT_THEME, DataTable, type DataTableProps, type DatePreset, Dialog, DialogBody, type DialogBodyProps, DialogFooter, type DialogFooterProps, DialogHeader, DialogHeaderNavigation, type DialogHeaderNavigationProps, type DialogHeaderNavigationVariant, type DialogHeaderProps, DialogIcon, type DialogIconProps, type DialogProps, type DialogSize, type DialogType, EmptyState, type EmptyStateIllustrationPosition, type EmptyStateIllustrationSize, type EmptyStateProps, FileInput, type FileInputProps, type FilterItem, type FilterItemWithSection, FilterListItem, type FilterListItemProps, FilterSelect, type FilterSelectProps, type IconColor, IconPicker, type IconPickerProps, type IconSize, IconWrapper, type IconWrapperProps, Input, type InputBorderRadius, type InputForceState, InputGroup, type InputGroupBorderRadius, type InputGroupForceState, type InputGroupProps, type InputProps, type InputVariant, JSON_EDITOR_LANGUAGE_OPTIONS, JsonEditor, type JsonEditorLanguage, type JsonEditorProps, KeyValueEditor, type KeyValueEditorProps, type KeyValuePair, LegoLandWrapper, type LegoLandWrapperProps, List, type ListBorderRadius, type ListNavItemProps, ListNavigation, type ListNavigationProps, type ListProps, type ListType, type ListVariant, MONACO_OPTIONS, MONACO_OPTIONS_DIALOG, NestedButtonGroup, type NestedButtonGroupProps, NumberBadge, type NumberBadgeProps, type NumberBadgeVariant, NurixThemeProvider, Pagination, type PaginationProps, PlaySelect, type PlaySelectAudioItem, type PlaySelectProps, PlaybackControl, type PlaybackControlProps, type PlaybackState, Popover, type PopoverAlign, type PopoverProps, type PopoverShadow, type PopoverSide, ProgressBar, type ProgressBarProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, Select, SelectContent, type SelectContentItem, SelectFormLabel, SelectGroup, type SelectGroupProps, SelectItem, SelectLabel, type SelectLabelProps, type SelectMenuItemProps, type SelectProps, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, ShadowDOMWrapper, type ShowToastOptions, type SortDirection, type SortState, Spinner, type SpinnerProps, type SpinnerSize, type StepItem, type StepState, Stepper, StepperBar, type StepperBarProps, type StepperProps, type SupportingTextType, Surface, type SurfaceBackground, SurfaceBody, type SurfaceBodyProps, SurfaceFooter, type SurfaceFooterProps, SurfaceHeader, type SurfaceHeaderProps, type SurfaceProps, Switch, type SwitchProps, type SwitchSize, type TabVariant, type TableAction, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, TagBadge, type TagBadgeProps, type TagOption, Textarea, type TextareaBorderRadius, type TextareaForceState, type TextareaProps, ThemeProvider, Toast, type ToastProps, type ToastVariant, Toaster, Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, Typography, type TypographyProps, type TypographySize, type TypographyTone, type TypographyVariant, type TypographyWeight, type UsePlaySelectProps, type UseSelectProps, enhanceJsonError, showToast, useJsonEditor, usePlaySelect, useSelect, useTheme };
2721
+ export { Accordion, AccordionContent, AccordionContentPlaceholder, type AccordionContentProps, AccordionItem, type AccordionItemProps, type AccordionProps, AccordionSectionTrigger, type AccordionSectionTriggerProps, AccordionTrigger, type AccordionTriggerProps, type AccordionType, type AccordionValue, AudioPlayer, type AudioPlayerProps, Avatar, AvatarGroup, type AvatarGroupProps, type AvatarProps, type AvatarShape, type AvatarSize, type BackButtonPosition, Badge, type BadgeProps, type BadgeVariant, Button, type ButtonBorderRadius, ButtonList, type ButtonListItem, type ButtonListProps, type ButtonProps, type ButtonSize, type ButtonVariant, type CellContent, type CellTextContent, ChatBubbleAgent, type ChatBubbleAgentProps, ChatBubbleUser, type ChatBubbleUserProps, Checkbox, type CheckboxProps, type ColumnDef, ColumnWidth, CompoundFilterSelect, type CompoundFilterSelectProps, type CompoundFilterToggleOption, DEFAULT_THEME, DataTable, type DataTableProps, type DatePreset, Dialog, DialogBody, type DialogBodyProps, DialogFooter, type DialogFooterProps, DialogHeader, DialogHeaderNavigation, type DialogHeaderNavigationProps, type DialogHeaderNavigationVariant, type DialogHeaderProps, DialogIcon, type DialogIconProps, type DialogProps, type DialogSize, type DialogType, EmptyState, type EmptyStateIllustrationPosition, type EmptyStateIllustrationSize, type EmptyStateProps, FileInput, type FileInputProps, type FilterItem, type FilterItemWithSection, FilterListItem, type FilterListItemProps, FilterSelect, type FilterSelectProps, type IconColor, IconPicker, type IconPickerProps, type IconSize, IconWrapper, type IconWrapperProps, Input, type InputBorderRadius, type InputForceState, InputGroup, type InputGroupBorderRadius, type InputGroupForceState, type InputGroupProps, type InputProps, type InputVariant, JSON_EDITOR_LANGUAGE_OPTIONS, JsonEditor, type JsonEditorLanguage, type JsonEditorProps, KeyValueEditor, type KeyValueEditorProps, type KeyValuePair, LegoLandWrapper, type LegoLandWrapperProps, List, type ListBorderRadius, type ListNavItemProps, ListNavigation, type ListNavigationProps, type ListProps, type ListType, type ListVariant, MONACO_OPTIONS, MONACO_OPTIONS_DIALOG, NestedButtonGroup, type NestedButtonGroupProps, NumberBadge, type NumberBadgeProps, type NumberBadgeVariant, NurixThemeProvider, Pagination, type PaginationProps, PlaySelect, type PlaySelectAudioItem, type PlaySelectProps, PlaybackControl, type PlaybackControlProps, type PlaybackState, Popover, type PopoverAlign, type PopoverProps, type PopoverShadow, type PopoverSide, ProgressBar, type ProgressBarProps, RadioGroup, RadioGroupItem, type RadioGroupItemProps, type RadioGroupProps, Select, SelectContent, type SelectContentItem, SelectFormLabel, SelectGroup, type SelectGroupProps, SelectItem, SelectLabel, type SelectLabelProps, type SelectMenuItemProps, type SelectProps, SelectScrollDownButton, SelectScrollUpButton, SelectSeparator, SelectTrigger, SelectValue, ShadowDOMWrapper, type ShowToastOptions, type SortDirection, type SortState, Spinner, type SpinnerProps, type SpinnerSize, type StepItem, type StepState, Stepper, StepperBar, type StepperBarProps, type StepperProps, type SupportingTextType, Surface, type SurfaceBackground, SurfaceBody, type SurfaceBodyProps, SurfaceFooter, type SurfaceFooterProps, SurfaceHeader, type SurfaceHeaderProps, type SurfaceProps, Switch, type SwitchProps, type SwitchSize, type TabVariant, type TableAction, Tabs, TabsContent, type TabsContentProps, TabsList, type TabsListProps, type TabsProps, TabsTrigger, type TabsTriggerProps, TagBadge, type TagBadgeProps, type TagOption, Textarea, type TextareaBorderRadius, type TextareaForceState, type TextareaProps, ThemeProvider, Toast, type ToastProps, type ToastVariant, Toaster, Tooltip, TooltipContent, type TooltipContentProps, TooltipProvider, TooltipTrigger, Typography, type TypographyProps, type TypographySize, type TypographyTone, type TypographyVariant, type TypographyWeight, type UsePlaySelectProps, type UseSelectProps, enhanceJsonError, showToast, useJsonEditor, usePlaySelect, useSelect, useTheme };
package/dist/index.js CHANGED
@@ -6489,6 +6489,7 @@ __export(index_exports, {
6489
6489
  AccordionContent: () => AccordionContent,
6490
6490
  AccordionContentPlaceholder: () => AccordionContentPlaceholder,
6491
6491
  AccordionItem: () => AccordionItem,
6492
+ AccordionSectionTrigger: () => AccordionSectionTrigger,
6492
6493
  AccordionTrigger: () => AccordionTrigger,
6493
6494
  AudioPlayer: () => AudioPlayer,
6494
6495
  Avatar: () => Avatar,
@@ -8338,7 +8339,14 @@ var ACCORDION_TOKENS = {
8338
8339
  contentWrap: "overflow-hidden data-[state=closed]:hidden",
8339
8340
  contentInner: "pb-4 pt-0",
8340
8341
  contentCard: "bg-token-dark-grey rounded-3xl h-[172px] w-full flex items-center justify-center",
8341
- contentCardText: "text-sm font-normal leading-5 text-fg-black"
8342
+ contentCardText: "text-sm font-normal leading-5 text-fg-black",
8343
+ // --- Section Separator (Figma 6128:5627) ---
8344
+ // Pill-shaped trigger used to separate sections within a card/page.
8345
+ // Heading/H5: text-sm / semibold / leading-5. px-2 py-1.5, gap-2, rounded-full.
8346
+ // Hover: interaction/hov-solid-primary (#fafafa).
8347
+ // Pressed: interaction/pressed-opacity-secondary (rgba(10,10,10,0.1)).
8348
+ sectionTrigger: "inline-flex items-center gap-2 px-2 py-1.5 rounded-full overflow-hidden bg-transparent text-sm font-semibold leading-5 text-fg-black transition-colors cursor-pointer hover:bg-interaction-hov-solid-primary active:bg-interaction-pressed-opacity-secondary focus-visible:outline focus-visible:outline-2 focus-visible:outline-token-brand focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
8349
+ sectionTriggerChevron: "shrink-0 size-4 text-fg-black transition-transform duration-200"
8342
8350
  };
8343
8351
 
8344
8352
  // src/accordion/useAccordion.ts
@@ -8387,7 +8395,7 @@ function useAccordion({
8387
8395
  const radixValue = React13.useMemo(() => {
8388
8396
  var _a5;
8389
8397
  if (type === "multiple") return openValues;
8390
- return (_a5 = openValues[0]) != null ? _a5 : void 0;
8398
+ return (_a5 = openValues[0]) != null ? _a5 : "";
8391
8399
  }, [openValues, type]);
8392
8400
  const onRadixValueChange = React13.useCallback(
8393
8401
  (next) => {
@@ -8490,6 +8498,25 @@ var AccordionTrigger = React14.forwardRef(({ className, children, description, a
8490
8498
  }
8491
8499
  ) }));
8492
8500
  AccordionTrigger.displayName = "AccordionTrigger";
8501
+ var AccordionSectionTrigger = React14.forwardRef(({ className, children, label, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ (0, import_jsx_runtime11.jsxs)(
8502
+ AccordionPrimitive.Trigger,
8503
+ {
8504
+ ref,
8505
+ className: cn(ACCORDION_TOKENS.sectionTrigger, className),
8506
+ ...props,
8507
+ children: [
8508
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)("span", { className: "whitespace-nowrap", children: children != null ? children : label }),
8509
+ /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
8510
+ import_lucide_react4.ChevronDown,
8511
+ {
8512
+ className: ACCORDION_TOKENS.sectionTriggerChevron,
8513
+ "aria-hidden": "true"
8514
+ }
8515
+ )
8516
+ ]
8517
+ }
8518
+ ) }));
8519
+ AccordionSectionTrigger.displayName = "AccordionSectionTrigger";
8493
8520
  var AccordionContent = React14.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ (0, import_jsx_runtime11.jsx)(
8494
8521
  AccordionPrimitive.Content,
8495
8522
  {
@@ -10355,7 +10382,13 @@ var TooltipContent = React27.forwardRef(({ className, sideOffset = 6, shortcut,
10355
10382
  }
10356
10383
  )
10357
10384
  ] }),
10358
- /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(TooltipPrimitive.Arrow, { className: TOOLTIP_TOKENS.arrow })
10385
+ /* @__PURE__ */ (0, import_jsx_runtime23.jsx)(
10386
+ TooltipPrimitive.Arrow,
10387
+ {
10388
+ className: TOOLTIP_TOKENS.arrow,
10389
+ style: { fill: "hsl(var(--bg-brand-primary))" }
10390
+ }
10391
+ )
10359
10392
  ]
10360
10393
  }
10361
10394
  );
@@ -11327,8 +11360,12 @@ var TABLE_TOKENS = {
11327
11360
  // Sticky cells paint bg-token-white by default, but the selected state must
11328
11361
  // win so the rounded highlight spans pinned + non-pinned cells seamlessly.
11329
11362
  stickyCell: "sticky z-20 bg-token-white group-data-[selected=true]:bg-interaction-in-focus-solid",
11330
- /** Right border on last pinned column */
11331
- pinnedLastBorder: "border-r border-token-xlight",
11363
+ /** Right divider on last pinned column.
11364
+ * Drawn via box-shadow (not border-r): `border-collapse: collapse` on the
11365
+ * table causes the collapsed border on sticky cells to drop out while
11366
+ * unpinned columns scroll underneath. An inset shadow paints with the
11367
+ * element itself and stays visible through the scroll. */
11368
+ pinnedLastBorder: "shadow-[inset_-1px_0_0_0_hsl(var(--border-xlight))]",
11332
11369
  // ── Checkbox column — Figma: w-40, px-12 py-8
11333
11370
  checkboxCell: "w-10 px-3 py-2",
11334
11371
  // ── Actions column ──
@@ -15037,9 +15074,9 @@ var AUDIO_PLAYER_TOKENS = {
15037
15074
  waveform: {
15038
15075
  wrapper: "relative flex-1 min-w-0 h-8 mx-3 cursor-pointer select-none overflow-hidden",
15039
15076
  bars: "absolute inset-0 flex items-center gap-[2px]",
15040
- bar: "flex-1 min-w-px rounded-full bg-border-token-light",
15077
+ bar: "flex-1 min-w-px rounded-full bg-token-light",
15041
15078
  barActive: "bg-token-brand-primary",
15042
- baseline: "absolute left-0 right-0 top-1/2 h-px -translate-y-1/2 bg-border-token-light"
15079
+ baseline: "absolute left-0 right-0 top-1/2 h-px -translate-y-1/2 bg-token-light"
15043
15080
  }
15044
15081
  };
15045
15082
 
@@ -15272,6 +15309,8 @@ var ChatBubbleUser = React42.forwardRef(
15272
15309
  timestamp,
15273
15310
  alwaysShowTimestamp = false,
15274
15311
  avatar,
15312
+ trailing,
15313
+ focused = false,
15275
15314
  className,
15276
15315
  ...props
15277
15316
  }, ref) => {
@@ -15279,23 +15318,32 @@ var ChatBubbleUser = React42.forwardRef(
15279
15318
  "div",
15280
15319
  {
15281
15320
  ref,
15282
- className: cn(CHAT_BUBBLE_TOKENS.group, "items-start", className),
15321
+ className: cn(
15322
+ CHAT_BUBBLE_TOKENS.group,
15323
+ "items-start",
15324
+ focused && CHAT_BUBBLE_TOKENS.groupFocused,
15325
+ className
15326
+ ),
15283
15327
  ...props,
15284
15328
  children: [
15285
15329
  /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: CHAT_BUBBLE_TOKENS.user.row, children: [
15286
15330
  /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: cn(CHAT_BUBBLE_TOKENS.user.avatar, "mb-0.5"), children: avatar != null ? avatar : /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(import_lucide_react22.User, {}) }),
15287
15331
  /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: CHAT_BUBBLE_TOKENS.user.text, children: message })
15288
15332
  ] }),
15289
- timestamp && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)("div", { className: CHAT_BUBBLE_TOKENS.user.timestampRow, children: /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
15290
- "span",
15291
- {
15292
- className: cn(
15293
- CHAT_BUBBLE_TOKENS.timestamp,
15294
- !alwaysShowTimestamp && CHAT_BUBBLE_TOKENS.timestampHidden
15295
- ),
15296
- children: timestamp
15297
- }
15298
- ) })
15333
+ (timestamp || trailing) && /* @__PURE__ */ (0, import_jsx_runtime38.jsxs)("div", { className: CHAT_BUBBLE_TOKENS.user.timestampRow, children: [
15334
+ trailing,
15335
+ timestamp && /* @__PURE__ */ (0, import_jsx_runtime38.jsx)(
15336
+ "span",
15337
+ {
15338
+ className: cn(
15339
+ CHAT_BUBBLE_TOKENS.timestamp,
15340
+ trailing && "ml-2",
15341
+ !alwaysShowTimestamp && !focused && CHAT_BUBBLE_TOKENS.timestampHidden
15342
+ ),
15343
+ children: timestamp
15344
+ }
15345
+ )
15346
+ ] })
15299
15347
  ]
15300
15348
  }
15301
15349
  );
@@ -15567,6 +15615,7 @@ Popover.displayName = "Popover";
15567
15615
  AccordionContent,
15568
15616
  AccordionContentPlaceholder,
15569
15617
  AccordionItem,
15618
+ AccordionSectionTrigger,
15570
15619
  AccordionTrigger,
15571
15620
  AudioPlayer,
15572
15621
  Avatar,
package/dist/index.mjs CHANGED
@@ -8236,7 +8236,14 @@ var ACCORDION_TOKENS = {
8236
8236
  contentWrap: "overflow-hidden data-[state=closed]:hidden",
8237
8237
  contentInner: "pb-4 pt-0",
8238
8238
  contentCard: "bg-token-dark-grey rounded-3xl h-[172px] w-full flex items-center justify-center",
8239
- contentCardText: "text-sm font-normal leading-5 text-fg-black"
8239
+ contentCardText: "text-sm font-normal leading-5 text-fg-black",
8240
+ // --- Section Separator (Figma 6128:5627) ---
8241
+ // Pill-shaped trigger used to separate sections within a card/page.
8242
+ // Heading/H5: text-sm / semibold / leading-5. px-2 py-1.5, gap-2, rounded-full.
8243
+ // Hover: interaction/hov-solid-primary (#fafafa).
8244
+ // Pressed: interaction/pressed-opacity-secondary (rgba(10,10,10,0.1)).
8245
+ sectionTrigger: "inline-flex items-center gap-2 px-2 py-1.5 rounded-full overflow-hidden bg-transparent text-sm font-semibold leading-5 text-fg-black transition-colors cursor-pointer hover:bg-interaction-hov-solid-primary active:bg-interaction-pressed-opacity-secondary focus-visible:outline focus-visible:outline-2 focus-visible:outline-token-brand focus-visible:outline-offset-2 disabled:pointer-events-none disabled:opacity-50 [&[data-state=open]>svg]:rotate-180",
8246
+ sectionTriggerChevron: "shrink-0 size-4 text-fg-black transition-transform duration-200"
8240
8247
  };
8241
8248
 
8242
8249
  // src/accordion/useAccordion.ts
@@ -8285,7 +8292,7 @@ function useAccordion({
8285
8292
  const radixValue = React13.useMemo(() => {
8286
8293
  var _a5;
8287
8294
  if (type === "multiple") return openValues;
8288
- return (_a5 = openValues[0]) != null ? _a5 : void 0;
8295
+ return (_a5 = openValues[0]) != null ? _a5 : "";
8289
8296
  }, [openValues, type]);
8290
8297
  const onRadixValueChange = React13.useCallback(
8291
8298
  (next) => {
@@ -8388,6 +8395,25 @@ var AccordionTrigger = React14.forwardRef(({ className, children, description, a
8388
8395
  }
8389
8396
  ) }));
8390
8397
  AccordionTrigger.displayName = "AccordionTrigger";
8398
+ var AccordionSectionTrigger = React14.forwardRef(({ className, children, label, ...props }, ref) => /* @__PURE__ */ jsx11(AccordionPrimitive.Header, { className: "flex", children: /* @__PURE__ */ jsxs9(
8399
+ AccordionPrimitive.Trigger,
8400
+ {
8401
+ ref,
8402
+ className: cn(ACCORDION_TOKENS.sectionTrigger, className),
8403
+ ...props,
8404
+ children: [
8405
+ /* @__PURE__ */ jsx11("span", { className: "whitespace-nowrap", children: children != null ? children : label }),
8406
+ /* @__PURE__ */ jsx11(
8407
+ ChevronDown,
8408
+ {
8409
+ className: ACCORDION_TOKENS.sectionTriggerChevron,
8410
+ "aria-hidden": "true"
8411
+ }
8412
+ )
8413
+ ]
8414
+ }
8415
+ ) }));
8416
+ AccordionSectionTrigger.displayName = "AccordionSectionTrigger";
8391
8417
  var AccordionContent = React14.forwardRef(({ className, children, ...props }, ref) => /* @__PURE__ */ jsx11(
8392
8418
  AccordionPrimitive.Content,
8393
8419
  {
@@ -10253,7 +10279,13 @@ var TooltipContent = React27.forwardRef(({ className, sideOffset = 6, shortcut,
10253
10279
  }
10254
10280
  )
10255
10281
  ] }),
10256
- /* @__PURE__ */ jsx23(TooltipPrimitive.Arrow, { className: TOOLTIP_TOKENS.arrow })
10282
+ /* @__PURE__ */ jsx23(
10283
+ TooltipPrimitive.Arrow,
10284
+ {
10285
+ className: TOOLTIP_TOKENS.arrow,
10286
+ style: { fill: "hsl(var(--bg-brand-primary))" }
10287
+ }
10288
+ )
10257
10289
  ]
10258
10290
  }
10259
10291
  );
@@ -11233,8 +11265,12 @@ var TABLE_TOKENS = {
11233
11265
  // Sticky cells paint bg-token-white by default, but the selected state must
11234
11266
  // win so the rounded highlight spans pinned + non-pinned cells seamlessly.
11235
11267
  stickyCell: "sticky z-20 bg-token-white group-data-[selected=true]:bg-interaction-in-focus-solid",
11236
- /** Right border on last pinned column */
11237
- pinnedLastBorder: "border-r border-token-xlight",
11268
+ /** Right divider on last pinned column.
11269
+ * Drawn via box-shadow (not border-r): `border-collapse: collapse` on the
11270
+ * table causes the collapsed border on sticky cells to drop out while
11271
+ * unpinned columns scroll underneath. An inset shadow paints with the
11272
+ * element itself and stays visible through the scroll. */
11273
+ pinnedLastBorder: "shadow-[inset_-1px_0_0_0_hsl(var(--border-xlight))]",
11238
11274
  // ── Checkbox column — Figma: w-40, px-12 py-8
11239
11275
  checkboxCell: "w-10 px-3 py-2",
11240
11276
  // ── Actions column ──
@@ -14943,9 +14979,9 @@ var AUDIO_PLAYER_TOKENS = {
14943
14979
  waveform: {
14944
14980
  wrapper: "relative flex-1 min-w-0 h-8 mx-3 cursor-pointer select-none overflow-hidden",
14945
14981
  bars: "absolute inset-0 flex items-center gap-[2px]",
14946
- bar: "flex-1 min-w-px rounded-full bg-border-token-light",
14982
+ bar: "flex-1 min-w-px rounded-full bg-token-light",
14947
14983
  barActive: "bg-token-brand-primary",
14948
- baseline: "absolute left-0 right-0 top-1/2 h-px -translate-y-1/2 bg-border-token-light"
14984
+ baseline: "absolute left-0 right-0 top-1/2 h-px -translate-y-1/2 bg-token-light"
14949
14985
  }
14950
14986
  };
14951
14987
 
@@ -15178,6 +15214,8 @@ var ChatBubbleUser = React42.forwardRef(
15178
15214
  timestamp,
15179
15215
  alwaysShowTimestamp = false,
15180
15216
  avatar,
15217
+ trailing,
15218
+ focused = false,
15181
15219
  className,
15182
15220
  ...props
15183
15221
  }, ref) => {
@@ -15185,23 +15223,32 @@ var ChatBubbleUser = React42.forwardRef(
15185
15223
  "div",
15186
15224
  {
15187
15225
  ref,
15188
- className: cn(CHAT_BUBBLE_TOKENS.group, "items-start", className),
15226
+ className: cn(
15227
+ CHAT_BUBBLE_TOKENS.group,
15228
+ "items-start",
15229
+ focused && CHAT_BUBBLE_TOKENS.groupFocused,
15230
+ className
15231
+ ),
15189
15232
  ...props,
15190
15233
  children: [
15191
15234
  /* @__PURE__ */ jsxs29("div", { className: CHAT_BUBBLE_TOKENS.user.row, children: [
15192
15235
  /* @__PURE__ */ jsx38("div", { className: cn(CHAT_BUBBLE_TOKENS.user.avatar, "mb-0.5"), children: avatar != null ? avatar : /* @__PURE__ */ jsx38(User, {}) }),
15193
15236
  /* @__PURE__ */ jsx38("div", { className: CHAT_BUBBLE_TOKENS.user.text, children: message })
15194
15237
  ] }),
15195
- timestamp && /* @__PURE__ */ jsx38("div", { className: CHAT_BUBBLE_TOKENS.user.timestampRow, children: /* @__PURE__ */ jsx38(
15196
- "span",
15197
- {
15198
- className: cn(
15199
- CHAT_BUBBLE_TOKENS.timestamp,
15200
- !alwaysShowTimestamp && CHAT_BUBBLE_TOKENS.timestampHidden
15201
- ),
15202
- children: timestamp
15203
- }
15204
- ) })
15238
+ (timestamp || trailing) && /* @__PURE__ */ jsxs29("div", { className: CHAT_BUBBLE_TOKENS.user.timestampRow, children: [
15239
+ trailing,
15240
+ timestamp && /* @__PURE__ */ jsx38(
15241
+ "span",
15242
+ {
15243
+ className: cn(
15244
+ CHAT_BUBBLE_TOKENS.timestamp,
15245
+ trailing && "ml-2",
15246
+ !alwaysShowTimestamp && !focused && CHAT_BUBBLE_TOKENS.timestampHidden
15247
+ ),
15248
+ children: timestamp
15249
+ }
15250
+ )
15251
+ ] })
15205
15252
  ]
15206
15253
  }
15207
15254
  );
@@ -15472,6 +15519,7 @@ export {
15472
15519
  AccordionContent,
15473
15520
  AccordionContentPlaceholder,
15474
15521
  AccordionItem,
15522
+ AccordionSectionTrigger,
15475
15523
  AccordionTrigger,
15476
15524
  AudioPlayer,
15477
15525
  Avatar,
package/dist/styles.css CHANGED
@@ -66,7 +66,7 @@
66
66
  -moz-tab-size: 4;
67
67
  -o-tab-size: 4;
68
68
  tab-size: 4;
69
- font-family: Nunito, ui-sans-serif, system-ui, sans-serif;
69
+ font-family: var(--font-nunito, Nunito), ui-sans-serif, system-ui, sans-serif;
70
70
  font-feature-settings: normal;
71
71
  font-variation-settings: normal;
72
72
  -webkit-tap-highlight-color: transparent;
@@ -218,6 +218,9 @@
218
218
  .lego-land .pointer-events-none {
219
219
  pointer-events: none;
220
220
  }
221
+ .lego-land .collapse {
222
+ visibility: collapse;
223
+ }
221
224
  .lego-land .visible {
222
225
  visibility: visible;
223
226
  }
@@ -1506,10 +1509,10 @@
1506
1509
  vertical-align: middle;
1507
1510
  }
1508
1511
  .lego-land .font-nunito {
1509
- font-family: Nunito, ui-sans-serif, system-ui, sans-serif;
1512
+ font-family: var(--font-nunito, Nunito), ui-sans-serif, system-ui, sans-serif;
1510
1513
  }
1511
1514
  .lego-land .font-sans {
1512
- font-family: Nunito, ui-sans-serif, system-ui, sans-serif;
1515
+ font-family: var(--font-nunito, Nunito), ui-sans-serif, system-ui, sans-serif;
1513
1516
  }
1514
1517
  .lego-land .text-2xl {
1515
1518
  font-size: 24px;
@@ -1836,6 +1839,10 @@
1836
1839
  --tw-shadow: 0px 4px 6px 0px var(--tw-shadow-color, rgba(0,0,0,0.1)), 0px 10px 15px 0px var(--tw-shadow-color, rgba(0,0,0,0.1));
1837
1840
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1838
1841
  }
1842
+ .lego-land .shadow-\[inset_-1px_0_0_0_hsl\(var\(--border-xlight\)\)\] {
1843
+ --tw-shadow: inset -1px 0 0 0 var(--tw-shadow-color, hsl(var(--border-xlight)));
1844
+ box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
1845
+ }
1839
1846
  .lego-land .shadow-lg {
1840
1847
  --tw-shadow: 0 10px 15px -3px var(--tw-shadow-color, rgb(0 0 0 / 0.1)), 0 4px 6px -4px var(--tw-shadow-color, rgb(0 0 0 / 0.1));
1841
1848
  box-shadow: var(--tw-inset-shadow), var(--tw-inset-ring-shadow), var(--tw-ring-offset-shadow), var(--tw-ring-shadow), var(--tw-shadow);
@@ -2726,6 +2733,11 @@
2726
2733
  rotate: 180deg;
2727
2734
  }
2728
2735
  }
2736
+ .lego-land .\[\&\[data-state\=open\]\>svg\]\:rotate-180 {
2737
+ .lego-land &[data-state=open]>svg {
2738
+ rotate: 180deg;
2739
+ }
2740
+ }
2729
2741
  }
2730
2742
  .lego-land .rdp-root {
2731
2743
  --rdp-accent-color: blue;
@@ -3087,7 +3099,7 @@
3087
3099
  }
3088
3100
  @import url("https://fonts.googleapis.com/css2?family=Nunito:ital,wght@0,400;0,500;0,600;0,700;0,800;1,400;1,500;1,600;1,700&display=swap");
3089
3101
  .lego-land {
3090
- --font-sans: "Nunito", ui-sans-serif, system-ui, sans-serif;
3102
+ --font-sans: var(--font-nunito, "Nunito"), ui-sans-serif, system-ui, sans-serif;
3091
3103
  font-family: var(--font-sans);
3092
3104
  --bg-white: 0 0% 100%;
3093
3105
  --bg-light-grey: 0 0% 98%;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@nurix/ui-component-library",
3
- "version": "1.1.3-stage.110",
3
+ "version": "1.1.3-stage.112",
4
4
  "main": "./dist/index.js",
5
5
  "module": "./dist/index.mjs",
6
6
  "types": "./dist/index.d.ts",