@structyl/styled 1.0.0 → 1.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.
package/dist/index.d.cts CHANGED
@@ -3,7 +3,7 @@ import { VariantProps } from 'tailwind-variants';
3
3
  import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
4
4
  import * as React from 'react';
5
5
  import * as _structyl_primitives from '@structyl/primitives';
6
- import { SwitchProps as SwitchProps$1, ToggleProps as ToggleProps$1, CheckboxProps as CheckboxProps$1, LabelProps as LabelProps$1, SeparatorProps as SeparatorProps$1, Avatar, Progress as Progress$1, RadioGroup as RadioGroup$3, Slider as Slider$1, Accordion, Tabs, Dialog, Tooltip as Tooltip$2, Toast, SelectOption, MultiSelectOption, MultiSelectSelectedOption, Structyl, PopperProps, StructylSnackbarProps, StructylRatingProps, StructylTransferListProps, StructylTransitionProps, Calendar as Calendar$1, DatePicker as DatePicker$1, TimePicker as TimePicker$1, TimePickerView, DateRangePicker as DateRangePicker$1, DateTimePicker as DateTimePicker$1, Carousel, BoxplotEntry, ChartAreaProps, ChartBarProps, ChartBoxplotProps, ChartBubbleProps, ChartCandlestickProps, ChartChordProps, ChartFunnelProps, ChartGanttProps, ChartGaugeContainerProps, ChartGaugePointerProps, ChartGaugeProps, ChartGaugeReferenceArcProps, ChartGaugeValueArcProps, ChartGridProps, ChartHeatmapProps, ChartHistogramProps, ChartLegendProps, ChartLineProps, ChartLinearGaugeProps, ChartPieCenterLabelProps, ChartPieProps, ChartPieRootProps, ChartPolarAngleAxisProps, ChartPolarGridProps, ChartPyramidProps, ChartRadarProps, ChartRadarRootProps, ChartRadialBarProps, ChartRadialBarRootProps, ChartRadialLineProps, ChartRadialLineRootProps, ChartRangeAreaProps, ChartRangeBarProps, ChartReferenceAreaProps, ChartReferenceLineProps, ChartRootProps, ChartSankeyProps, ChartScatterProps, ChartSparkLineProps, ChartSunburstProps, ChartTooltipProps, ChartTreemapProps, ChartWaterfallProps, ChartXAxisProps, ChartYAxisProps, GanttTask, GaugeContextValue, HighlightScope, MarkShape, SankeyLink, SankeyNode, ScatterMarkerShape, SunburstNode, TooltipState, WaterfallEntry } from '@structyl/primitives';
6
+ import { SwitchProps as SwitchProps$1, ToggleProps as ToggleProps$1, CheckboxProps as CheckboxProps$1, LabelProps as LabelProps$1, SeparatorProps as SeparatorProps$1, Avatar, Progress as Progress$1, RadioGroup as RadioGroup$3, Slider as Slider$1, Accordion, Tabs, Dialog, Tooltip as Tooltip$2, Toast, SelectOption, MultiSelectOption, MultiSelectSelectedOption, Structyl, PopperProps, StructylSnackbarProps, StructylRatingProps, StructylTransferListProps, StructylTransitionProps, Calendar as Calendar$1, DatePicker as DatePicker$1, TimePicker as TimePicker$1, TimePickerView, DateRangePicker as DateRangePicker$1, DateTimePicker as DateTimePicker$1, Carousel, TagsInput, Mentions, BoxplotEntry, ChartAreaProps, ChartBarProps, ChartBoxplotProps, ChartBubbleProps, ChartCandlestickProps, ChartChordProps, ChartFunnelProps, ChartGanttProps, ChartGaugeContainerProps, ChartGaugePointerProps, ChartGaugeProps, ChartGaugeReferenceArcProps, ChartGaugeValueArcProps, ChartGridProps, ChartHeatmapProps, ChartHistogramProps, ChartLegendProps, ChartLineProps, ChartLinearGaugeProps, ChartPieCenterLabelProps, ChartPieProps, ChartPieRootProps, ChartPolarAngleAxisProps, ChartPolarGridProps, ChartPyramidProps, ChartRadarProps, ChartRadarRootProps, ChartRadialBarProps, ChartRadialBarRootProps, ChartRadialLineProps, ChartRadialLineRootProps, ChartRangeAreaProps, ChartRangeBarProps, ChartReferenceAreaProps, ChartReferenceLineProps, ChartRootProps, ChartSankeyProps, ChartScatterProps, ChartSparkLineProps, ChartSunburstProps, ChartTooltipProps, ChartTreemapProps, ChartWaterfallProps, ChartXAxisProps, ChartYAxisProps, GanttTask, GaugeContextValue, HighlightScope, MarkShape, SankeyLink, SankeyNode, ScatterMarkerShape, SunburstNode, TooltipState, WaterfallEntry, Popover } from '@structyl/primitives';
7
7
  export { AccordionContentProps, AccordionHeaderProps, AccordionItemProps, AccordionMultipleProps, AccordionRootProps, AccordionSingleProps, AccordionTriggerProps, AlertDialogActionProps, AlertDialogCancelProps, AlertDialogContentProps, AlertDialogDescriptionProps, AlertDialogOverlayProps, AlertDialogPortalProps, AlertDialogRootProps, AlertDialogTitleProps, AlertDialogTriggerProps, AvatarFallbackProps, AvatarImageProps, AvatarRootProps, BreadcrumbProps, CardRootProps, CardSectionProps, CarouselRootProps, CollapsibleContentProps, CollapsibleRootProps, CollapsibleTriggerProps, ColorPickerRootProps, ComboboxContentProps, ComboboxInputProps, ComboboxItemProps, ComboboxPortalProps, ComboboxRootProps, CommandGroupProps, CommandInputProps, CommandItemProps, CommandRootProps, MenuCheckboxItemProps as ContextMenuCheckboxItemProps, MenuContentProps as ContextMenuContentProps, MenuGroupProps as ContextMenuGroupProps, MenuItemProps as ContextMenuItemProps, MenuLabelProps as ContextMenuLabelProps, MenuRadioGroupProps as ContextMenuRadioGroupProps, MenuRadioItemProps as ContextMenuRadioItemProps, ContextMenuRootProps, MenuSeparatorProps as ContextMenuSeparatorProps, ContextMenuTriggerProps, CustomMatcher, DialogCloseProps, DialogContentProps, DialogDescriptionProps, DialogOverlayProps, DialogPortalProps, DialogRootProps, DialogTitleProps, DialogTriggerProps, DialogCloseProps as DrawerCloseProps, DialogContentProps as DrawerContentProps, DialogDescriptionProps as DrawerDescriptionProps, DialogOverlayProps as DrawerOverlayProps, DialogPortalProps as DrawerPortalProps, DialogRootProps as DrawerRootProps, DialogTitleProps as DrawerTitleProps, DialogTriggerProps as DrawerTriggerProps, MenuCheckboxItemProps as DropdownMenuCheckboxItemProps, MenuContentProps as DropdownMenuContentProps, MenuGroupProps as DropdownMenuGroupProps, MenuItemIndicatorProps as DropdownMenuItemIndicatorProps, MenuItemProps as DropdownMenuItemProps, MenuLabelProps as DropdownMenuLabelProps, MenuRadioGroupProps as DropdownMenuRadioGroupProps, MenuRadioItemProps as DropdownMenuRadioItemProps, DropdownMenuRootProps, MenuSeparatorProps as DropdownMenuSeparatorProps, DropdownMenuTriggerProps, EditableRootProps, FileUploadRootProps, FormControlProps, FormFieldProps, FormLabelProps, FormMessageProps, FormProps, FormSubmitProps, FormValidityStateProps, HoverCardArrowProps, HoverCardContentProps, HoverCardPortalProps, HoverCardRootProps, HoverCardTriggerProps, HsvaColor, ImageLoadingStatus, Matcher, MentionSuggestion, MentionsRootProps, MentionsSuggestionsProps, MenuContentProps as MenubarContentProps, MenuItemProps as MenubarItemProps, MenubarRootProps, MenuSeparatorProps as MenubarSeparatorProps, MenubarTriggerProps, MultiSelectContentProps, MultiSelectCreateItemProps, MultiSelectFilterOption, MultiSelectItemProps, MultiSelectItemTextProps, MultiSelectOption, MultiSelectOptionsProps, MultiSelectPortalProps, MultiSelectRootProps, MultiSelectSearchInputProps, MultiSelectSelectedOption, MultiSelectTriggerProps, MultiSelectValueProps, NavigationMenuItemProps, NavigationMenuLinkProps, NavigationMenuRootProps, NumberFieldRootProps, OtpInputProps, OtpRootProps, PasswordToggleFieldRootProps, PopoverAnchorProps, PopoverArrowProps, PopoverCloseProps, PopoverContentProps, PopoverPortalProps, PopoverRootProps, PopoverTriggerProps, RadioGroupIndicatorProps, RadioGroupItemProps, RadioGroupRootProps, ResizableGroupProps, ResizableHandleProps, ResizablePanelProps, ScrollAreaRootProps, ScrollAreaScrollbarProps, SelectContentProps, SelectCreateItemProps, SelectFilterOption, SelectItemProps, SelectItemTextProps, SelectOption, SelectOptionsProps, SelectPortalProps, SelectRootProps, SelectSearchInputProps, SelectTriggerProps, SelectValueProps, DialogCloseProps as SheetCloseProps, DialogDescriptionProps as SheetDescriptionProps, DialogOverlayProps as SheetOverlayProps, DialogPortalProps as SheetPortalProps, DialogRootProps as SheetRootProps, DialogTitleProps as SheetTitleProps, DialogTriggerProps as SheetTriggerProps, StepperButtonProps, StepperProps, SwipeDirection, TabsContentProps, TabsListProps, TabsRootProps, TabsTriggerProps, TagsInputRootProps, ToastActionProps, ToastCloseProps, ToastDescriptionProps, ToastProviderProps, ToastRootProps, ToastTitleProps, ToastViewportProps, ToggleGroupItemProps, ToggleGroupMultipleProps, ToggleGroupRootProps, ToggleGroupSingleProps, ToolbarRootProps, TooltipArrowProps, TooltipContentProps, TooltipPortalProps, TooltipProviderProps, TooltipRootProps, TooltipTriggerProps, TreeItemProps, TreeRootProps, ValidityMatcher } from '@structyl/primitives';
8
8
  import * as _structyl_icons from '@structyl/icons';
9
9
  import * as _structyl_core from '@structyl/core';
@@ -247,9 +247,7 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
247
247
  'icon-xl': string;
248
248
  };
249
249
  }>, unknown, unknown, undefined>>;
250
- declare const ButtonSpinner: ({ className }: {
251
- className?: string;
252
- }) => React.JSX.Element;
250
+ declare const ButtonSpinner: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
253
251
  interface ButtonProps extends Omit<React.ComponentPropsWithoutRef<'button'>, 'color'>, VariantProps<typeof buttonVariants> {
254
252
  asChild?: boolean;
255
253
  /** Shows a spinner and disables the button */
@@ -1910,7 +1908,7 @@ declare namespace index$w {
1910
1908
  export { index$w_Ellipsis as Ellipsis, Item$d as Item, Link$3 as Link, List$4 as List, index$w_Page as Page, Root$v as Root, Separator$9 as Separator };
1911
1909
  }
1912
1910
 
1913
- interface PaginationProps {
1911
+ interface PaginationProps extends React.ComponentPropsWithoutRef<'div'> {
1914
1912
  /** Current page number (1-based) */
1915
1913
  page: number;
1916
1914
  /** Total number of pages */
@@ -1927,7 +1925,6 @@ interface PaginationProps {
1927
1925
  pageSizeOptions?: number[];
1928
1926
  /** Show the "X total rows" label (only visible when totalRows is provided) */
1929
1927
  showTotalRows?: boolean;
1930
- className?: string;
1931
1928
  }
1932
1929
  declare const Pagination: React.ForwardRefExoticComponent<PaginationProps & React.RefAttributes<HTMLDivElement>>;
1933
1930
 
@@ -2163,9 +2160,8 @@ interface TooltipContentProps extends React.ComponentPropsWithoutRef<typeof Tool
2163
2160
  arrow?: boolean;
2164
2161
  }
2165
2162
  declare const Content$a: React.ForwardRefExoticComponent<TooltipContentProps & React.RefAttributes<HTMLDivElement>>;
2166
- interface TooltipProps {
2163
+ interface TooltipProps extends React.ComponentPropsWithoutRef<typeof Trigger$9> {
2167
2164
  label: React.ReactNode;
2168
- children: React.ReactNode;
2169
2165
  side?: React.ComponentPropsWithoutRef<typeof Tooltip$2.Content>['side'];
2170
2166
  align?: React.ComponentPropsWithoutRef<typeof Tooltip$2.Content>['align'];
2171
2167
  delayDuration?: number;
@@ -2176,7 +2172,7 @@ interface TooltipProps {
2176
2172
  disabled?: boolean;
2177
2173
  }
2178
2174
  declare const Tooltip$1: {
2179
- ({ children, label, side, align, delayDuration, skipDelayDuration, variant, maxWidth, arrow, disabled, }: TooltipProps): React.JSX.Element;
2175
+ ({ children, label, side, align, delayDuration, skipDelayDuration, variant, maxWidth, arrow, disabled, ...triggerProps }: TooltipProps): React.JSX.Element;
2180
2176
  displayName: string;
2181
2177
  };
2182
2178
 
@@ -2377,7 +2373,7 @@ declare function useToast(): {
2377
2373
  remove: (id: string) => void;
2378
2374
  };
2379
2375
 
2380
- interface ToasterProps {
2376
+ interface ToasterProps extends Omit<React.ComponentPropsWithoutRef<typeof Toast.Viewport>, 'children'> {
2381
2377
  /**
2382
2378
  * Horizontal alignment of toasts.
2383
2379
  * @default 'right'
@@ -2414,7 +2410,7 @@ interface ToasterProps {
2414
2410
  * toast.success('Saved!');
2415
2411
  * toast.error('Failed', { retry: () => save(), horizontal: 'right', vertical: 'top' });
2416
2412
  */
2417
- declare function Toaster({ horizontal: defaultH, vertical: defaultV, maxToasts, className, }: ToasterProps): React.JSX.Element;
2413
+ declare function Toaster({ horizontal: defaultH, vertical: defaultV, maxToasts, className, ...props }: ToasterProps): React.JSX.Element;
2418
2414
  declare namespace Toaster {
2419
2415
  var displayName: string;
2420
2416
  }
@@ -3019,6 +3015,12 @@ interface DatePickerProps extends Omit<React.ComponentPropsWithoutRef<typeof Dat
3019
3015
  required?: boolean;
3020
3016
  error?: boolean;
3021
3017
  showOutsideDays?: boolean;
3018
+ /**
3019
+ * Native HTML attributes forwarded to the root wrapper `<div>`
3020
+ * (e.g. `onClick`, `style`, `role`, `tabIndex`, `data-*`, `aria-*`).
3021
+ * The forwarded `ref` already points at this element.
3022
+ */
3023
+ rootProps?: React.ComponentPropsWithoutRef<'div'>;
3022
3024
  }
3023
3025
  declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLDivElement>> & {
3024
3026
  Root: React.FC<DatePicker$1.DatePickerRootProps>;
@@ -3055,6 +3057,12 @@ interface TimePickerProps extends Omit<PrimitiveRootProps, 'children'> {
3055
3057
  name?: string;
3056
3058
  required?: boolean;
3057
3059
  error?: boolean;
3060
+ /**
3061
+ * Native HTML attributes forwarded to the root wrapper `<div>`
3062
+ * (e.g. `onClick`, `style`, `role`, `tabIndex`, `data-*`, `aria-*`).
3063
+ * The forwarded `ref` already points at this element.
3064
+ */
3065
+ rootProps?: React.ComponentPropsWithoutRef<'div'>;
3058
3066
  }
3059
3067
  interface TimePickerPanelProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange' | 'title'> {
3060
3068
  value?: Date | null;
@@ -3079,9 +3087,7 @@ declare const TimePickerPanel: React.ForwardRefExoticComponent<TimePickerPanelPr
3079
3087
  declare const TimePicker: React.ForwardRefExoticComponent<TimePickerProps & React.RefAttributes<HTMLDivElement>> & {
3080
3088
  Root: React.ForwardRefExoticComponent<Omit<TimePicker$1.TimePickerRootProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
3081
3089
  Segment: React.ForwardRefExoticComponent<Omit<TimePicker$1.SegmentProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
3082
- Separator: React.FC<{
3083
- children?: React.ReactNode;
3084
- }>;
3090
+ Separator: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
3085
3091
  Value: React.FC<{
3086
3092
  format?: TimePicker$1.TimePickerFormat;
3087
3093
  locale?: string;
@@ -3119,6 +3125,8 @@ interface DateRangePickerProps extends Omit<React.ComponentPropsWithoutRef<typeo
3119
3125
  shortcuts?: DateRangePicker$1.DateRangePickerShortcut[] | false;
3120
3126
  shortcutsClassName?: string;
3121
3127
  showOutsideDays?: boolean;
3128
+ /** Native HTML attributes (onClick, onMouseEnter, style, id, data-*, aria-*, …) forwarded to the root wrapper element. */
3129
+ rootProps?: React.ComponentPropsWithoutRef<'div'>;
3122
3130
  }
3123
3131
  declare const DateRangePicker: React.ForwardRefExoticComponent<DateRangePickerProps & React.RefAttributes<HTMLDivElement>> & {
3124
3132
  Root: React.FC<DateRangePicker$1.DateRangePickerRootProps>;
@@ -3152,7 +3160,14 @@ interface CalendarProps extends React.ComponentPropsWithoutRef<typeof DateTimePi
3152
3160
  showOutsideDays?: boolean;
3153
3161
  showDaysOutsideCurrentMonth?: boolean;
3154
3162
  }
3155
- interface DateTimePickerProps extends Omit<React.ComponentPropsWithoutRef<typeof DateTimePicker$1.Root>, 'children'> {
3163
+ type DateTimePickerRootConfig = Omit<React.ComponentPropsWithoutRef<typeof DateTimePicker$1.Root>, 'children'>;
3164
+ /**
3165
+ * Native HTML attributes for the root wrapper `<div>`, excluding any keys that
3166
+ * collide with the picker's configuration props (picker semantics win for
3167
+ * shared names). These reach the DOM element the forwarded `ref` points at.
3168
+ */
3169
+ type DateTimePickerNativeProps = Omit<React.ComponentPropsWithoutRef<'div'>, keyof DateTimePickerRootConfig | 'className'>;
3170
+ interface DateTimePickerOwnProps {
3156
3171
  className?: string;
3157
3172
  triggerClassName?: string;
3158
3173
  contentClassName?: string;
@@ -3166,6 +3181,8 @@ interface DateTimePickerProps extends Omit<React.ComponentPropsWithoutRef<typeof
3166
3181
  error?: boolean;
3167
3182
  showOutsideDays?: boolean;
3168
3183
  }
3184
+ interface DateTimePickerProps extends DateTimePickerRootConfig, DateTimePickerNativeProps, DateTimePickerOwnProps {
3185
+ }
3169
3186
  declare const DateTimePicker: React.ForwardRefExoticComponent<DateTimePickerProps & React.RefAttributes<HTMLDivElement>> & {
3170
3187
  Root: React.FC<DateTimePicker$1.DateTimePickerRootProps>;
3171
3188
  Trigger: React.ForwardRefExoticComponent<Omit<_structyl_primitives.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
@@ -3194,9 +3211,7 @@ declare const DateTimePicker: React.ForwardRefExoticComponent<DateTimePickerProp
3194
3211
  TimePanel: React.ForwardRefExoticComponent<DateTimePicker$1.TimePanelProps & React.RefAttributes<HTMLDivElement>>;
3195
3212
  DateButton: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
3196
3213
  Segment: React.ForwardRefExoticComponent<Omit<DateTimePicker$1.SegmentProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
3197
- Separator: React.FC<{
3198
- children?: React.ReactNode;
3199
- }>;
3214
+ Separator: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
3200
3215
  Loading: React.FC<{}>;
3201
3216
  StyledCalendar: React.ForwardRefExoticComponent<CalendarProps$3 & React.RefAttributes<HTMLDivElement>>;
3202
3217
  };
@@ -3220,9 +3235,9 @@ declare const Input$2: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLPr
3220
3235
  declare const Trigger$1: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
3221
3236
  declare const Clear: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
3222
3237
  declare const List: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
3223
- declare const Item$4: React.FC<{
3238
+ declare const Item$4: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
3224
3239
  file: File;
3225
- }>;
3240
+ } & React.RefAttributes<HTMLLIElement>>;
3226
3241
 
3227
3242
  declare const index$b_Clear: typeof Clear;
3228
3243
  declare const index$b_Dropzone: typeof Dropzone;
@@ -3342,7 +3357,7 @@ declare const Input: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTM
3342
3357
  declare const Tag: React.FC<{
3343
3358
  index: number;
3344
3359
  tag: string;
3345
- }>;
3360
+ } & React.ComponentPropsWithoutRef<typeof TagsInput.Tag>>;
3346
3361
  declare const Items$1: React.FC<{
3347
3362
  children: (tag: string, index: number) => React.ReactNode;
3348
3363
  }>;
@@ -3355,23 +3370,19 @@ declare namespace index$4 {
3355
3370
 
3356
3371
  declare const Root$3: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MentionsRootProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
3357
3372
  declare const Textarea: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React.RefAttributes<HTMLTextAreaElement>, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
3358
- declare const Suggestions: React.ForwardRefExoticComponent<_structyl_primitives.MentionsSuggestionsProps & {
3359
- className?: string;
3360
- } & React.RefAttributes<HTMLDivElement>>;
3373
+ declare const Suggestions: React.ForwardRefExoticComponent<Pick<_structyl_primitives.MentionsSuggestionsProps, "container" | "items"> & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
3374
+ type MentionsItemProps = React.ComponentPropsWithoutRef<typeof Mentions.Item>;
3361
3375
  declare const Items: React.FC<{
3362
3376
  children: (item: _structyl_primitives.MentionSuggestion, index: number, highlighted: boolean) => React.ReactNode;
3363
3377
  }>;
3364
- declare const Item$1: React.FC<{
3365
- suggestion: _structyl_primitives.MentionSuggestion;
3366
- index: number;
3367
- children?: React.ReactNode;
3368
- }>;
3378
+ declare const Item$1: React.FC<MentionsItemProps>;
3369
3379
 
3370
3380
  declare const index$3_Items: typeof Items;
3381
+ type index$3_MentionsItemProps = MentionsItemProps;
3371
3382
  declare const index$3_Suggestions: typeof Suggestions;
3372
3383
  declare const index$3_Textarea: typeof Textarea;
3373
3384
  declare namespace index$3 {
3374
- export { Item$1 as Item, index$3_Items as Items, Root$3 as Root, index$3_Suggestions as Suggestions, index$3_Textarea as Textarea };
3385
+ export { Item$1 as Item, index$3_Items as Items, type index$3_MentionsItemProps as MentionsItemProps, Root$3 as Root, index$3_Suggestions as Suggestions, index$3_Textarea as Textarea };
3375
3386
  }
3376
3387
 
3377
3388
  interface CopyButtonProps extends Omit<ButtonProps, 'value'> {
@@ -3758,10 +3769,9 @@ interface KeyComboProps extends React.HTMLAttributes<HTMLSpanElement> {
3758
3769
  declare const KeyCombo: React.FC<KeyComboProps>;
3759
3770
 
3760
3771
  type TrendDirection = 'up' | 'down' | 'neutral';
3761
- interface TrendBadgeProps {
3772
+ interface TrendBadgeProps extends React.ComponentPropsWithoutRef<'span'> {
3762
3773
  value: string | number;
3763
3774
  direction?: TrendDirection;
3764
- className?: string;
3765
3775
  }
3766
3776
  declare const TrendBadge: React.FC<TrendBadgeProps>;
3767
3777
  type StatColor = 'primary' | 'secondary' | 'error' | 'warning' | 'info' | 'success';
@@ -3840,7 +3850,7 @@ interface RatingProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChan
3840
3850
  }
3841
3851
  declare const Rating: React.ForwardRefExoticComponent<RatingProps & React.RefAttributes<HTMLDivElement>>;
3842
3852
 
3843
- interface PopconfirmProps {
3853
+ interface PopconfirmProps extends Omit<React.ComponentPropsWithoutRef<typeof Popover.Content>, 'title' | 'children' | 'side' | 'align'> {
3844
3854
  children: React.ReactNode;
3845
3855
  title: React.ReactNode;
3846
3856
  description?: React.ReactNode;
package/dist/index.d.ts CHANGED
@@ -3,7 +3,7 @@ import { VariantProps } from 'tailwind-variants';
3
3
  import * as tailwind_variants_dist_config_js from 'tailwind-variants/dist/config.js';
4
4
  import * as React from 'react';
5
5
  import * as _structyl_primitives from '@structyl/primitives';
6
- import { SwitchProps as SwitchProps$1, ToggleProps as ToggleProps$1, CheckboxProps as CheckboxProps$1, LabelProps as LabelProps$1, SeparatorProps as SeparatorProps$1, Avatar, Progress as Progress$1, RadioGroup as RadioGroup$3, Slider as Slider$1, Accordion, Tabs, Dialog, Tooltip as Tooltip$2, Toast, SelectOption, MultiSelectOption, MultiSelectSelectedOption, Structyl, PopperProps, StructylSnackbarProps, StructylRatingProps, StructylTransferListProps, StructylTransitionProps, Calendar as Calendar$1, DatePicker as DatePicker$1, TimePicker as TimePicker$1, TimePickerView, DateRangePicker as DateRangePicker$1, DateTimePicker as DateTimePicker$1, Carousel, BoxplotEntry, ChartAreaProps, ChartBarProps, ChartBoxplotProps, ChartBubbleProps, ChartCandlestickProps, ChartChordProps, ChartFunnelProps, ChartGanttProps, ChartGaugeContainerProps, ChartGaugePointerProps, ChartGaugeProps, ChartGaugeReferenceArcProps, ChartGaugeValueArcProps, ChartGridProps, ChartHeatmapProps, ChartHistogramProps, ChartLegendProps, ChartLineProps, ChartLinearGaugeProps, ChartPieCenterLabelProps, ChartPieProps, ChartPieRootProps, ChartPolarAngleAxisProps, ChartPolarGridProps, ChartPyramidProps, ChartRadarProps, ChartRadarRootProps, ChartRadialBarProps, ChartRadialBarRootProps, ChartRadialLineProps, ChartRadialLineRootProps, ChartRangeAreaProps, ChartRangeBarProps, ChartReferenceAreaProps, ChartReferenceLineProps, ChartRootProps, ChartSankeyProps, ChartScatterProps, ChartSparkLineProps, ChartSunburstProps, ChartTooltipProps, ChartTreemapProps, ChartWaterfallProps, ChartXAxisProps, ChartYAxisProps, GanttTask, GaugeContextValue, HighlightScope, MarkShape, SankeyLink, SankeyNode, ScatterMarkerShape, SunburstNode, TooltipState, WaterfallEntry } from '@structyl/primitives';
6
+ import { SwitchProps as SwitchProps$1, ToggleProps as ToggleProps$1, CheckboxProps as CheckboxProps$1, LabelProps as LabelProps$1, SeparatorProps as SeparatorProps$1, Avatar, Progress as Progress$1, RadioGroup as RadioGroup$3, Slider as Slider$1, Accordion, Tabs, Dialog, Tooltip as Tooltip$2, Toast, SelectOption, MultiSelectOption, MultiSelectSelectedOption, Structyl, PopperProps, StructylSnackbarProps, StructylRatingProps, StructylTransferListProps, StructylTransitionProps, Calendar as Calendar$1, DatePicker as DatePicker$1, TimePicker as TimePicker$1, TimePickerView, DateRangePicker as DateRangePicker$1, DateTimePicker as DateTimePicker$1, Carousel, TagsInput, Mentions, BoxplotEntry, ChartAreaProps, ChartBarProps, ChartBoxplotProps, ChartBubbleProps, ChartCandlestickProps, ChartChordProps, ChartFunnelProps, ChartGanttProps, ChartGaugeContainerProps, ChartGaugePointerProps, ChartGaugeProps, ChartGaugeReferenceArcProps, ChartGaugeValueArcProps, ChartGridProps, ChartHeatmapProps, ChartHistogramProps, ChartLegendProps, ChartLineProps, ChartLinearGaugeProps, ChartPieCenterLabelProps, ChartPieProps, ChartPieRootProps, ChartPolarAngleAxisProps, ChartPolarGridProps, ChartPyramidProps, ChartRadarProps, ChartRadarRootProps, ChartRadialBarProps, ChartRadialBarRootProps, ChartRadialLineProps, ChartRadialLineRootProps, ChartRangeAreaProps, ChartRangeBarProps, ChartReferenceAreaProps, ChartReferenceLineProps, ChartRootProps, ChartSankeyProps, ChartScatterProps, ChartSparkLineProps, ChartSunburstProps, ChartTooltipProps, ChartTreemapProps, ChartWaterfallProps, ChartXAxisProps, ChartYAxisProps, GanttTask, GaugeContextValue, HighlightScope, MarkShape, SankeyLink, SankeyNode, ScatterMarkerShape, SunburstNode, TooltipState, WaterfallEntry, Popover } from '@structyl/primitives';
7
7
  export { AccordionContentProps, AccordionHeaderProps, AccordionItemProps, AccordionMultipleProps, AccordionRootProps, AccordionSingleProps, AccordionTriggerProps, AlertDialogActionProps, AlertDialogCancelProps, AlertDialogContentProps, AlertDialogDescriptionProps, AlertDialogOverlayProps, AlertDialogPortalProps, AlertDialogRootProps, AlertDialogTitleProps, AlertDialogTriggerProps, AvatarFallbackProps, AvatarImageProps, AvatarRootProps, BreadcrumbProps, CardRootProps, CardSectionProps, CarouselRootProps, CollapsibleContentProps, CollapsibleRootProps, CollapsibleTriggerProps, ColorPickerRootProps, ComboboxContentProps, ComboboxInputProps, ComboboxItemProps, ComboboxPortalProps, ComboboxRootProps, CommandGroupProps, CommandInputProps, CommandItemProps, CommandRootProps, MenuCheckboxItemProps as ContextMenuCheckboxItemProps, MenuContentProps as ContextMenuContentProps, MenuGroupProps as ContextMenuGroupProps, MenuItemProps as ContextMenuItemProps, MenuLabelProps as ContextMenuLabelProps, MenuRadioGroupProps as ContextMenuRadioGroupProps, MenuRadioItemProps as ContextMenuRadioItemProps, ContextMenuRootProps, MenuSeparatorProps as ContextMenuSeparatorProps, ContextMenuTriggerProps, CustomMatcher, DialogCloseProps, DialogContentProps, DialogDescriptionProps, DialogOverlayProps, DialogPortalProps, DialogRootProps, DialogTitleProps, DialogTriggerProps, DialogCloseProps as DrawerCloseProps, DialogContentProps as DrawerContentProps, DialogDescriptionProps as DrawerDescriptionProps, DialogOverlayProps as DrawerOverlayProps, DialogPortalProps as DrawerPortalProps, DialogRootProps as DrawerRootProps, DialogTitleProps as DrawerTitleProps, DialogTriggerProps as DrawerTriggerProps, MenuCheckboxItemProps as DropdownMenuCheckboxItemProps, MenuContentProps as DropdownMenuContentProps, MenuGroupProps as DropdownMenuGroupProps, MenuItemIndicatorProps as DropdownMenuItemIndicatorProps, MenuItemProps as DropdownMenuItemProps, MenuLabelProps as DropdownMenuLabelProps, MenuRadioGroupProps as DropdownMenuRadioGroupProps, MenuRadioItemProps as DropdownMenuRadioItemProps, DropdownMenuRootProps, MenuSeparatorProps as DropdownMenuSeparatorProps, DropdownMenuTriggerProps, EditableRootProps, FileUploadRootProps, FormControlProps, FormFieldProps, FormLabelProps, FormMessageProps, FormProps, FormSubmitProps, FormValidityStateProps, HoverCardArrowProps, HoverCardContentProps, HoverCardPortalProps, HoverCardRootProps, HoverCardTriggerProps, HsvaColor, ImageLoadingStatus, Matcher, MentionSuggestion, MentionsRootProps, MentionsSuggestionsProps, MenuContentProps as MenubarContentProps, MenuItemProps as MenubarItemProps, MenubarRootProps, MenuSeparatorProps as MenubarSeparatorProps, MenubarTriggerProps, MultiSelectContentProps, MultiSelectCreateItemProps, MultiSelectFilterOption, MultiSelectItemProps, MultiSelectItemTextProps, MultiSelectOption, MultiSelectOptionsProps, MultiSelectPortalProps, MultiSelectRootProps, MultiSelectSearchInputProps, MultiSelectSelectedOption, MultiSelectTriggerProps, MultiSelectValueProps, NavigationMenuItemProps, NavigationMenuLinkProps, NavigationMenuRootProps, NumberFieldRootProps, OtpInputProps, OtpRootProps, PasswordToggleFieldRootProps, PopoverAnchorProps, PopoverArrowProps, PopoverCloseProps, PopoverContentProps, PopoverPortalProps, PopoverRootProps, PopoverTriggerProps, RadioGroupIndicatorProps, RadioGroupItemProps, RadioGroupRootProps, ResizableGroupProps, ResizableHandleProps, ResizablePanelProps, ScrollAreaRootProps, ScrollAreaScrollbarProps, SelectContentProps, SelectCreateItemProps, SelectFilterOption, SelectItemProps, SelectItemTextProps, SelectOption, SelectOptionsProps, SelectPortalProps, SelectRootProps, SelectSearchInputProps, SelectTriggerProps, SelectValueProps, DialogCloseProps as SheetCloseProps, DialogDescriptionProps as SheetDescriptionProps, DialogOverlayProps as SheetOverlayProps, DialogPortalProps as SheetPortalProps, DialogRootProps as SheetRootProps, DialogTitleProps as SheetTitleProps, DialogTriggerProps as SheetTriggerProps, StepperButtonProps, StepperProps, SwipeDirection, TabsContentProps, TabsListProps, TabsRootProps, TabsTriggerProps, TagsInputRootProps, ToastActionProps, ToastCloseProps, ToastDescriptionProps, ToastProviderProps, ToastRootProps, ToastTitleProps, ToastViewportProps, ToggleGroupItemProps, ToggleGroupMultipleProps, ToggleGroupRootProps, ToggleGroupSingleProps, ToolbarRootProps, TooltipArrowProps, TooltipContentProps, TooltipPortalProps, TooltipProviderProps, TooltipRootProps, TooltipTriggerProps, TreeItemProps, TreeRootProps, ValidityMatcher } from '@structyl/primitives';
8
8
  import * as _structyl_icons from '@structyl/icons';
9
9
  import * as _structyl_core from '@structyl/core';
@@ -247,9 +247,7 @@ declare const buttonVariants: tailwind_variants.TVReturnType<{
247
247
  'icon-xl': string;
248
248
  };
249
249
  }>, unknown, unknown, undefined>>;
250
- declare const ButtonSpinner: ({ className }: {
251
- className?: string;
252
- }) => React.JSX.Element;
250
+ declare const ButtonSpinner: React.ForwardRefExoticComponent<Omit<React.SVGProps<SVGSVGElement>, "ref"> & React.RefAttributes<SVGSVGElement>>;
253
251
  interface ButtonProps extends Omit<React.ComponentPropsWithoutRef<'button'>, 'color'>, VariantProps<typeof buttonVariants> {
254
252
  asChild?: boolean;
255
253
  /** Shows a spinner and disables the button */
@@ -1910,7 +1908,7 @@ declare namespace index$w {
1910
1908
  export { index$w_Ellipsis as Ellipsis, Item$d as Item, Link$3 as Link, List$4 as List, index$w_Page as Page, Root$v as Root, Separator$9 as Separator };
1911
1909
  }
1912
1910
 
1913
- interface PaginationProps {
1911
+ interface PaginationProps extends React.ComponentPropsWithoutRef<'div'> {
1914
1912
  /** Current page number (1-based) */
1915
1913
  page: number;
1916
1914
  /** Total number of pages */
@@ -1927,7 +1925,6 @@ interface PaginationProps {
1927
1925
  pageSizeOptions?: number[];
1928
1926
  /** Show the "X total rows" label (only visible when totalRows is provided) */
1929
1927
  showTotalRows?: boolean;
1930
- className?: string;
1931
1928
  }
1932
1929
  declare const Pagination: React.ForwardRefExoticComponent<PaginationProps & React.RefAttributes<HTMLDivElement>>;
1933
1930
 
@@ -2163,9 +2160,8 @@ interface TooltipContentProps extends React.ComponentPropsWithoutRef<typeof Tool
2163
2160
  arrow?: boolean;
2164
2161
  }
2165
2162
  declare const Content$a: React.ForwardRefExoticComponent<TooltipContentProps & React.RefAttributes<HTMLDivElement>>;
2166
- interface TooltipProps {
2163
+ interface TooltipProps extends React.ComponentPropsWithoutRef<typeof Trigger$9> {
2167
2164
  label: React.ReactNode;
2168
- children: React.ReactNode;
2169
2165
  side?: React.ComponentPropsWithoutRef<typeof Tooltip$2.Content>['side'];
2170
2166
  align?: React.ComponentPropsWithoutRef<typeof Tooltip$2.Content>['align'];
2171
2167
  delayDuration?: number;
@@ -2176,7 +2172,7 @@ interface TooltipProps {
2176
2172
  disabled?: boolean;
2177
2173
  }
2178
2174
  declare const Tooltip$1: {
2179
- ({ children, label, side, align, delayDuration, skipDelayDuration, variant, maxWidth, arrow, disabled, }: TooltipProps): React.JSX.Element;
2175
+ ({ children, label, side, align, delayDuration, skipDelayDuration, variant, maxWidth, arrow, disabled, ...triggerProps }: TooltipProps): React.JSX.Element;
2180
2176
  displayName: string;
2181
2177
  };
2182
2178
 
@@ -2377,7 +2373,7 @@ declare function useToast(): {
2377
2373
  remove: (id: string) => void;
2378
2374
  };
2379
2375
 
2380
- interface ToasterProps {
2376
+ interface ToasterProps extends Omit<React.ComponentPropsWithoutRef<typeof Toast.Viewport>, 'children'> {
2381
2377
  /**
2382
2378
  * Horizontal alignment of toasts.
2383
2379
  * @default 'right'
@@ -2414,7 +2410,7 @@ interface ToasterProps {
2414
2410
  * toast.success('Saved!');
2415
2411
  * toast.error('Failed', { retry: () => save(), horizontal: 'right', vertical: 'top' });
2416
2412
  */
2417
- declare function Toaster({ horizontal: defaultH, vertical: defaultV, maxToasts, className, }: ToasterProps): React.JSX.Element;
2413
+ declare function Toaster({ horizontal: defaultH, vertical: defaultV, maxToasts, className, ...props }: ToasterProps): React.JSX.Element;
2418
2414
  declare namespace Toaster {
2419
2415
  var displayName: string;
2420
2416
  }
@@ -3019,6 +3015,12 @@ interface DatePickerProps extends Omit<React.ComponentPropsWithoutRef<typeof Dat
3019
3015
  required?: boolean;
3020
3016
  error?: boolean;
3021
3017
  showOutsideDays?: boolean;
3018
+ /**
3019
+ * Native HTML attributes forwarded to the root wrapper `<div>`
3020
+ * (e.g. `onClick`, `style`, `role`, `tabIndex`, `data-*`, `aria-*`).
3021
+ * The forwarded `ref` already points at this element.
3022
+ */
3023
+ rootProps?: React.ComponentPropsWithoutRef<'div'>;
3022
3024
  }
3023
3025
  declare const DatePicker: React.ForwardRefExoticComponent<DatePickerProps & React.RefAttributes<HTMLDivElement>> & {
3024
3026
  Root: React.FC<DatePicker$1.DatePickerRootProps>;
@@ -3055,6 +3057,12 @@ interface TimePickerProps extends Omit<PrimitiveRootProps, 'children'> {
3055
3057
  name?: string;
3056
3058
  required?: boolean;
3057
3059
  error?: boolean;
3060
+ /**
3061
+ * Native HTML attributes forwarded to the root wrapper `<div>`
3062
+ * (e.g. `onClick`, `style`, `role`, `tabIndex`, `data-*`, `aria-*`).
3063
+ * The forwarded `ref` already points at this element.
3064
+ */
3065
+ rootProps?: React.ComponentPropsWithoutRef<'div'>;
3058
3066
  }
3059
3067
  interface TimePickerPanelProps extends Omit<React.ComponentPropsWithoutRef<'div'>, 'onChange' | 'title'> {
3060
3068
  value?: Date | null;
@@ -3079,9 +3087,7 @@ declare const TimePickerPanel: React.ForwardRefExoticComponent<TimePickerPanelPr
3079
3087
  declare const TimePicker: React.ForwardRefExoticComponent<TimePickerProps & React.RefAttributes<HTMLDivElement>> & {
3080
3088
  Root: React.ForwardRefExoticComponent<Omit<TimePicker$1.TimePickerRootProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
3081
3089
  Segment: React.ForwardRefExoticComponent<Omit<TimePicker$1.SegmentProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
3082
- Separator: React.FC<{
3083
- children?: React.ReactNode;
3084
- }>;
3090
+ Separator: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
3085
3091
  Value: React.FC<{
3086
3092
  format?: TimePicker$1.TimePickerFormat;
3087
3093
  locale?: string;
@@ -3119,6 +3125,8 @@ interface DateRangePickerProps extends Omit<React.ComponentPropsWithoutRef<typeo
3119
3125
  shortcuts?: DateRangePicker$1.DateRangePickerShortcut[] | false;
3120
3126
  shortcutsClassName?: string;
3121
3127
  showOutsideDays?: boolean;
3128
+ /** Native HTML attributes (onClick, onMouseEnter, style, id, data-*, aria-*, …) forwarded to the root wrapper element. */
3129
+ rootProps?: React.ComponentPropsWithoutRef<'div'>;
3122
3130
  }
3123
3131
  declare const DateRangePicker: React.ForwardRefExoticComponent<DateRangePickerProps & React.RefAttributes<HTMLDivElement>> & {
3124
3132
  Root: React.FC<DateRangePicker$1.DateRangePickerRootProps>;
@@ -3152,7 +3160,14 @@ interface CalendarProps extends React.ComponentPropsWithoutRef<typeof DateTimePi
3152
3160
  showOutsideDays?: boolean;
3153
3161
  showDaysOutsideCurrentMonth?: boolean;
3154
3162
  }
3155
- interface DateTimePickerProps extends Omit<React.ComponentPropsWithoutRef<typeof DateTimePicker$1.Root>, 'children'> {
3163
+ type DateTimePickerRootConfig = Omit<React.ComponentPropsWithoutRef<typeof DateTimePicker$1.Root>, 'children'>;
3164
+ /**
3165
+ * Native HTML attributes for the root wrapper `<div>`, excluding any keys that
3166
+ * collide with the picker's configuration props (picker semantics win for
3167
+ * shared names). These reach the DOM element the forwarded `ref` points at.
3168
+ */
3169
+ type DateTimePickerNativeProps = Omit<React.ComponentPropsWithoutRef<'div'>, keyof DateTimePickerRootConfig | 'className'>;
3170
+ interface DateTimePickerOwnProps {
3156
3171
  className?: string;
3157
3172
  triggerClassName?: string;
3158
3173
  contentClassName?: string;
@@ -3166,6 +3181,8 @@ interface DateTimePickerProps extends Omit<React.ComponentPropsWithoutRef<typeof
3166
3181
  error?: boolean;
3167
3182
  showOutsideDays?: boolean;
3168
3183
  }
3184
+ interface DateTimePickerProps extends DateTimePickerRootConfig, DateTimePickerNativeProps, DateTimePickerOwnProps {
3185
+ }
3169
3186
  declare const DateTimePicker: React.ForwardRefExoticComponent<DateTimePickerProps & React.RefAttributes<HTMLDivElement>> & {
3170
3187
  Root: React.FC<DateTimePicker$1.DateTimePickerRootProps>;
3171
3188
  Trigger: React.ForwardRefExoticComponent<Omit<_structyl_primitives.PopoverTriggerProps & React.RefAttributes<HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
@@ -3194,9 +3211,7 @@ declare const DateTimePicker: React.ForwardRefExoticComponent<DateTimePickerProp
3194
3211
  TimePanel: React.ForwardRefExoticComponent<DateTimePicker$1.TimePanelProps & React.RefAttributes<HTMLDivElement>>;
3195
3212
  DateButton: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
3196
3213
  Segment: React.ForwardRefExoticComponent<Omit<DateTimePicker$1.SegmentProps & React.RefAttributes<HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
3197
- Separator: React.FC<{
3198
- children?: React.ReactNode;
3199
- }>;
3214
+ Separator: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLSpanElement>, HTMLSpanElement>, "ref"> & React.RefAttributes<HTMLSpanElement>>;
3200
3215
  Loading: React.FC<{}>;
3201
3216
  StyledCalendar: React.ForwardRefExoticComponent<CalendarProps$3 & React.RefAttributes<HTMLDivElement>>;
3202
3217
  };
@@ -3220,9 +3235,9 @@ declare const Input$2: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLPr
3220
3235
  declare const Trigger$1: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
3221
3236
  declare const Clear: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & React.RefAttributes<HTMLButtonElement>>;
3222
3237
  declare const List: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLUListElement>, HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>, "ref"> & React.RefAttributes<HTMLUListElement>>;
3223
- declare const Item$4: React.FC<{
3238
+ declare const Item$4: React.ForwardRefExoticComponent<Omit<React.DetailedHTMLProps<React.LiHTMLAttributes<HTMLLIElement>, HTMLLIElement>, "ref"> & {
3224
3239
  file: File;
3225
- }>;
3240
+ } & React.RefAttributes<HTMLLIElement>>;
3226
3241
 
3227
3242
  declare const index$b_Clear: typeof Clear;
3228
3243
  declare const index$b_Dropzone: typeof Dropzone;
@@ -3342,7 +3357,7 @@ declare const Input: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTM
3342
3357
  declare const Tag: React.FC<{
3343
3358
  index: number;
3344
3359
  tag: string;
3345
- }>;
3360
+ } & React.ComponentPropsWithoutRef<typeof TagsInput.Tag>>;
3346
3361
  declare const Items$1: React.FC<{
3347
3362
  children: (tag: string, index: number) => React.ReactNode;
3348
3363
  }>;
@@ -3355,23 +3370,19 @@ declare namespace index$4 {
3355
3370
 
3356
3371
  declare const Root$3: React.ForwardRefExoticComponent<Omit<_structyl_primitives.MentionsRootProps & React.RefAttributes<HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
3357
3372
  declare const Textarea: React.ForwardRefExoticComponent<Omit<Omit<React.DetailedHTMLProps<React.TextareaHTMLAttributes<HTMLTextAreaElement>, HTMLTextAreaElement>, "ref"> & React.RefAttributes<HTMLTextAreaElement>, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
3358
- declare const Suggestions: React.ForwardRefExoticComponent<_structyl_primitives.MentionsSuggestionsProps & {
3359
- className?: string;
3360
- } & React.RefAttributes<HTMLDivElement>>;
3373
+ declare const Suggestions: React.ForwardRefExoticComponent<Pick<_structyl_primitives.MentionsSuggestionsProps, "container" | "items"> & Omit<React.DetailedHTMLProps<React.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & React.RefAttributes<HTMLDivElement>>;
3374
+ type MentionsItemProps = React.ComponentPropsWithoutRef<typeof Mentions.Item>;
3361
3375
  declare const Items: React.FC<{
3362
3376
  children: (item: _structyl_primitives.MentionSuggestion, index: number, highlighted: boolean) => React.ReactNode;
3363
3377
  }>;
3364
- declare const Item$1: React.FC<{
3365
- suggestion: _structyl_primitives.MentionSuggestion;
3366
- index: number;
3367
- children?: React.ReactNode;
3368
- }>;
3378
+ declare const Item$1: React.FC<MentionsItemProps>;
3369
3379
 
3370
3380
  declare const index$3_Items: typeof Items;
3381
+ type index$3_MentionsItemProps = MentionsItemProps;
3371
3382
  declare const index$3_Suggestions: typeof Suggestions;
3372
3383
  declare const index$3_Textarea: typeof Textarea;
3373
3384
  declare namespace index$3 {
3374
- export { Item$1 as Item, index$3_Items as Items, Root$3 as Root, index$3_Suggestions as Suggestions, index$3_Textarea as Textarea };
3385
+ export { Item$1 as Item, index$3_Items as Items, type index$3_MentionsItemProps as MentionsItemProps, Root$3 as Root, index$3_Suggestions as Suggestions, index$3_Textarea as Textarea };
3375
3386
  }
3376
3387
 
3377
3388
  interface CopyButtonProps extends Omit<ButtonProps, 'value'> {
@@ -3758,10 +3769,9 @@ interface KeyComboProps extends React.HTMLAttributes<HTMLSpanElement> {
3758
3769
  declare const KeyCombo: React.FC<KeyComboProps>;
3759
3770
 
3760
3771
  type TrendDirection = 'up' | 'down' | 'neutral';
3761
- interface TrendBadgeProps {
3772
+ interface TrendBadgeProps extends React.ComponentPropsWithoutRef<'span'> {
3762
3773
  value: string | number;
3763
3774
  direction?: TrendDirection;
3764
- className?: string;
3765
3775
  }
3766
3776
  declare const TrendBadge: React.FC<TrendBadgeProps>;
3767
3777
  type StatColor = 'primary' | 'secondary' | 'error' | 'warning' | 'info' | 'success';
@@ -3840,7 +3850,7 @@ interface RatingProps extends Omit<React.HTMLAttributes<HTMLDivElement>, 'onChan
3840
3850
  }
3841
3851
  declare const Rating: React.ForwardRefExoticComponent<RatingProps & React.RefAttributes<HTMLDivElement>>;
3842
3852
 
3843
- interface PopconfirmProps {
3853
+ interface PopconfirmProps extends Omit<React.ComponentPropsWithoutRef<typeof Popover.Content>, 'title' | 'children' | 'side' | 'align'> {
3844
3854
  children: React.ReactNode;
3845
3855
  title: React.ReactNode;
3846
3856
  description?: React.ReactNode;