@nimbus-ds/patterns 1.27.0-rc.1 → 1.28.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.ts CHANGED
@@ -1,4 +1,4 @@
1
- // Generated by dts-bundle-generator v8.0.0
1
+ // Generated by dts-bundle-generator v8.1.2
2
2
 
3
3
  import { DndContextProps, DragEndEvent, DragOverEvent, DragOverlayProps, DragStartEvent, DraggableAttributes, PointerSensorOptions, UniqueIdentifier } from '@dnd-kit/core';
4
4
  import { SyntheticListenerMap } from '@dnd-kit/core/dist/hooks/utilities';
@@ -319,11 +319,11 @@ export type EmptyMessageProps = EmptyMessageProperties & Omit<HTMLAttributes<HTM
319
319
  export declare const EmptyMessage: React.FC<EmptyMessageProps>;
320
320
  export type FormFieldSelectProperties = Omit<FormFieldProperties, "children"> & Omit<SelectProperties, "appearance">;
321
321
  export type FormFieldSelectBaseProps = FormFieldSelectProperties & Omit<SelectProps, "appearance"> & HTMLAttributes<HTMLElement>;
322
- declare const FormFieldSelect: React.ForwardRefExoticComponent<Pick<FormFieldSelectBaseProps, keyof React.HTMLAttributes<HTMLElement> | "width" | "height" | "form" | "label" | "pattern" | "key" | "max" | "min" | "name" | "type" | "crossOrigin" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "checked" | "enterKeyHint" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step" | "appearance" | "helpText" | "helpIcon" | "showHelpText" | "aiGenerated"> & React.RefAttributes<HTMLSelectElement>>;
322
+ declare const FormFieldSelect: React.ForwardRefExoticComponent<Omit<FormFieldSelectBaseProps, "ref"> & React.RefAttributes<HTMLSelectElement>>;
323
323
  export type FormFieldSelectProps = ComponentPropsWithRef<typeof FormField.Select>;
324
324
  export type FormFieldTextareaProperties = Omit<FormFieldProperties, "children"> & Omit<TextareaProperties, "appearance">;
325
325
  export type FormFieldTextareaBaseProps = FormFieldTextareaProperties & Omit<TextareaProps, "appearance"> & HTMLAttributes<HTMLElement>;
326
- declare const FormFieldTextarea: React.ForwardRefExoticComponent<Pick<FormFieldTextareaBaseProps, keyof React.HTMLAttributes<HTMLElement> | "width" | "height" | "form" | "label" | "pattern" | "key" | "max" | "min" | "name" | "type" | "crossOrigin" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "checked" | "enterKeyHint" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step" | "cols" | "dirName" | "rows" | "wrap" | "appearance" | "helpText" | "helpIcon" | "showHelpText" | "aiGenerated" | "lines" | "autoGrow" | "maxLines" | "minLines" | "resize"> & React.RefAttributes<HTMLTextAreaElement>>;
326
+ declare const FormFieldTextarea: React.ForwardRefExoticComponent<Omit<FormFieldTextareaBaseProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
327
327
  export type FormFieldTextareaProps = ComponentPropsWithRef<typeof FormField.Textarea>;
328
328
  export type FormFieldInputProperties = Omit<FormFieldProperties, "children"> & Omit<InputProperties, "appearance"> & {
329
329
  appearance?: FormFieldProperties["appearance"] | InputProperties["appearance"];
@@ -331,7 +331,7 @@ export type FormFieldInputProperties = Omit<FormFieldProperties, "children"> & O
331
331
  export type FormFieldInputBaseProps = Omit<FormFieldInputProperties, "appearance"> & Omit<InputProps, "appearance"> & {
332
332
  appearance?: FormFieldProperties["appearance"] | InputProperties["appearance"];
333
333
  } & HTMLAttributes<HTMLElement>;
334
- declare const FormFieldInput: React.ForwardRefExoticComponent<Pick<FormFieldInputBaseProps, keyof React.HTMLAttributes<HTMLElement> | "width" | "height" | "form" | "label" | "pattern" | "key" | "max" | "min" | "name" | "type" | "crossOrigin" | "alt" | "src" | "autoFocus" | "disabled" | "formAction" | "formEncType" | "formMethod" | "formNoValidate" | "formTarget" | "value" | "autoComplete" | "accept" | "capture" | "checked" | "enterKeyHint" | "list" | "maxLength" | "minLength" | "multiple" | "readOnly" | "required" | "size" | "step" | "appearance" | "data-testid" | "helpText" | "helpIcon" | "showHelpText" | "aiGenerated" | "appendPosition" | "append"> & React.RefAttributes<HTMLInputElement>>;
334
+ declare const FormFieldInput: React.ForwardRefExoticComponent<Omit<FormFieldInputBaseProps, "ref"> & React.RefAttributes<HTMLInputElement>>;
335
335
  export type FormFieldInputProps = ComponentPropsWithRef<typeof FormField.Input>;
336
336
  export interface FormFieldComponents {
337
337
  Select: typeof FormFieldSelect;
@@ -549,7 +549,7 @@ export interface MenuButtonAccordionProperties {
549
549
  export type MenuButtonAccordionBaseProps = MenuButtonAccordionProperties & {
550
550
  menuButton: Omit<MenuButtonProps, "expanded" | "tooltipText">;
551
551
  } & Omit<HTMLAttributes<HTMLElement>, "color">;
552
- declare const MenuButtonAccordion: PolymorphicForwardRefComponent<"a" | "button", MenuButtonAccordionBaseProps>;
552
+ declare const MenuButtonAccordion: PolymorphicForwardRefComponent<"button" | "a", MenuButtonAccordionBaseProps>;
553
553
  export interface MenuButtonComponents {
554
554
  Accordion: typeof MenuButtonAccordion;
555
555
  }
@@ -590,7 +590,7 @@ export interface MenuButtonProperties {
590
590
  showPopoversWhenCollapsed?: boolean;
591
591
  }
592
592
  export type MenuButtonBaseProps = MenuButtonProperties & Omit<ButtonHTMLAttributes<HTMLButtonElement>, "color">;
593
- export declare const MenuButton: PolymorphicForwardRefComponent<"a" | "button", MenuButtonBaseProps> & MenuButtonComponents;
593
+ export declare const MenuButton: PolymorphicForwardRefComponent<"button" | "a", MenuButtonBaseProps> & MenuButtonComponents;
594
594
  export type MenuButtonProps = ComponentPropsWithRef<typeof MenuButton>;
595
595
  export interface MenuHeaderProperties {
596
596
  /**
@@ -1203,7 +1203,7 @@ export declare function Sortable<T extends SortableItemType>({ items, onReorder,
1203
1203
  export declare namespace Sortable {
1204
1204
  var Item: React.FC<SortableItemProps>;
1205
1205
  var ItemHandle: {
1206
- ({ children, }: SortableItemHandleProperties): React.ReactElement<any, string | React.JSXElementConstructor<any>>;
1206
+ ({ children, }: SortableItemHandleProperties): React.ReactElement;
1207
1207
  displayName: string;
1208
1208
  };
1209
1209
  var displayName: string;
@@ -1318,7 +1318,7 @@ export type ProductDataListSectionProperties = PropsWithChildren<{
1318
1318
  content?: ReactNode;
1319
1319
  link: ReactNode;
1320
1320
  }>;
1321
- export type ProductDataListSectionProps = ProductDataListSectionProperties & Omit<BoxProps, "padding" | "display" | "flexDirection" | "gap">;
1321
+ export type ProductDataListSectionProps = ProductDataListSectionProperties & Omit<BoxProps, "padding" | "display" | "flexDirection" | "gap" | "content">;
1322
1322
  declare const ProductDataListSection: React.FC<ProductDataListSectionProps>;
1323
1323
  export type ProductDataListItemDividerProperties = Pick<BoxProps, "borderTopWidth" | "borderBottomWidth" | "borderColor" | "borderStyle" | "width" | "id">;
1324
1324
  declare const ProductDataListItemDivider: React.FC<ProductDataListItemDividerProperties>;
@@ -1400,7 +1400,7 @@ export interface ChatInputComponents {
1400
1400
  /**
1401
1401
  * ChatInput Field textarea component.
1402
1402
  */
1403
- Field: React.ForwardRefExoticComponent<ChatInputFieldBaseProps & React.RefAttributes<HTMLTextAreaElement>>;
1403
+ Field: React.ForwardRefExoticComponent<Omit<ChatInputFieldBaseProps, "ref"> & React.RefAttributes<HTMLTextAreaElement>>;
1404
1404
  /**
1405
1405
  * ChatInput Popover provides pre-configured popover settings for upload actions.
1406
1406
  */