@movable/ui 3.16.0 → 3.17.1

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.
@@ -0,0 +1,10 @@
1
+ import { AutocompleteProps } from '@mui/material/Autocomplete';
2
+ export type InkAutocompleteProps<T, Multiple extends boolean | undefined = undefined, DisableClearable extends boolean | undefined = undefined, FreeSolo extends boolean | undefined = undefined> = AutocompleteProps<T, Multiple, DisableClearable, FreeSolo> & {
3
+ /**
4
+ * If true, disables the comma paste functionality that splits comma-separated
5
+ * values into multiple chips. Only relevant when both `multiple` and `freeSolo` are true.
6
+ * @default false
7
+ */
8
+ disableCommaPaste?: boolean;
9
+ };
10
+ export declare function InkAutocomplete<T, Multiple extends boolean | undefined = undefined, DisableClearable extends boolean | undefined = undefined, FreeSolo extends boolean | undefined = undefined>(props: InkAutocompleteProps<T, Multiple, DisableClearable, FreeSolo>): import("react/jsx-runtime").JSX.Element;
@@ -0,0 +1 @@
1
+ export * from './InkAutocomplete';
@@ -1,4 +1,5 @@
1
1
  export { DemoComponent } from './DemoComponent';
2
+ export { InkAutocomplete } from './Autocomplete/InkAutocomplete';
2
3
  export { InkChip } from './Chip';
3
4
  export { InkChipGroup } from './ChipGroup';
4
5
  export { InkDialog, type InkDialogProps } from './Dialog';
package/lib/index.d.ts CHANGED
@@ -1,5 +1,6 @@
1
1
  import { AlertProps } from '@mui/material';
2
2
  import { AlertProps as AlertProps_2 } from '@mui/material/Alert';
3
+ import { AutocompleteProps } from '@mui/material/Autocomplete';
3
4
  import { BoxProps } from '@mui/material';
4
5
  import { BoxProps as BoxProps_2 } from '@mui/material/Box';
5
6
  import { ButtonProps } from '@mui/material';
@@ -344,6 +345,17 @@ declare type InkAttributeProps = ListItemTextProps & {
344
345
  };
345
346
  };
346
347
 
348
+ export declare function InkAutocomplete<T, Multiple extends boolean | undefined = undefined, DisableClearable extends boolean | undefined = undefined, FreeSolo extends boolean | undefined = undefined>(props: InkAutocompleteProps<T, Multiple, DisableClearable, FreeSolo>): JSX_2.Element;
349
+
350
+ declare type InkAutocompleteProps<T, Multiple extends boolean | undefined = undefined, DisableClearable extends boolean | undefined = undefined, FreeSolo extends boolean | undefined = undefined> = AutocompleteProps<T, Multiple, DisableClearable, FreeSolo> & {
351
+ /**
352
+ * If true, disables the comma paste functionality that splits comma-separated
353
+ * values into multiple chips. Only relevant when both `multiple` and `freeSolo` are true.
354
+ * @default false
355
+ */
356
+ disableCommaPaste?: boolean;
357
+ };
358
+
347
359
  export declare function InkCard({ cardMedia, cardHeader, cardType, galleryContent, children, ...rest }: InkCardProps): JSX_2.Element;
348
360
 
349
361
  declare type InkCardBaseProps = CardProps & {