@mirohq/design-system-combobox 1.6.2 → 1.7.0-filter-chip.2

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/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
- import * as react from 'react';
2
- import react__default, { ReactNode, FC, ComponentPropsWithRef, ComponentProps, ForwardRefExoticComponent } from 'react';
1
+ import * as React from 'react';
2
+ import React__default, { ReactNode, FC, ComponentPropsWithRef, ComponentProps, ForwardRefExoticComponent } from 'react';
3
3
  import { FormElementProps } from '@mirohq/design-system-base-form';
4
4
  import * as _mirohq_design_system_base_input from '@mirohq/design-system-base-input';
5
5
  import { BaseInputStyledProps, BaseInputProps } from '@mirohq/design-system-base-input';
@@ -11,6 +11,7 @@ import { PopoverPortalProps } from '@radix-ui/react-popover';
11
11
  import * as _ariakit_react from '@ariakit/react';
12
12
  import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
13
13
  import * as _mirohq_design_system_input from '@mirohq/design-system-input';
14
+ import { InputSearch } from '@mirohq/design-system-input';
14
15
  import * as _mirohq_design_system_components_internal_base_input from '@mirohq/design-system-base-input';
15
16
 
16
17
  type InputProps = Omit<BaseInputStyledProps, 'size'> & {
@@ -46,7 +47,7 @@ type InputProps = Omit<BaseInputStyledProps, 'size'> & {
46
47
  */
47
48
  clearActionLabel: string;
48
49
  });
49
- declare const Input: react__default.ForwardRefExoticComponent<InputProps & react__default.RefAttributes<HTMLInputElement>>;
50
+ declare const Input: React__default.ForwardRefExoticComponent<InputProps & React__default.RefAttributes<HTMLInputElement>>;
50
51
 
51
52
  interface TriggerAsChildProps {
52
53
  /**
@@ -56,7 +57,7 @@ interface TriggerAsChildProps {
56
57
  /**
57
58
  * The content that will be rendered inside the Combobox.Trigger in stead of the Combobox.Input, when asChild is true.
58
59
  */
59
- children: react__default.ReactNode;
60
+ children: React__default.ReactNode;
60
61
  }
61
62
  type TriggerDefaultProps = InputProps & {
62
63
  /**
@@ -65,7 +66,7 @@ type TriggerDefaultProps = InputProps & {
65
66
  asChild?: false;
66
67
  };
67
68
  type TriggerProps = TriggerAsChildProps | TriggerDefaultProps;
68
- declare const Trigger: react__default.ForwardRefExoticComponent<TriggerProps & react__default.RefAttributes<HTMLDivElement>>;
69
+ declare const Trigger: React__default.ForwardRefExoticComponent<TriggerProps & React__default.RefAttributes<HTMLDivElement>>;
69
70
 
70
71
  /* Utilities */
71
72
  /* ========================================================================== */
@@ -87,7 +88,7 @@ type TransformProps<Props, Media> = {
87
88
  )
88
89
  }
89
90
 
90
- declare const StyledContent: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<RadixPopover.PopoverContentProps & react.RefAttributes<HTMLDivElement>>>, never> & TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<RadixPopover.PopoverContentProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
91
+ declare const StyledContent: React.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<React.ForwardRefExoticComponent<RadixPopover.PopoverContentProps & React.RefAttributes<HTMLDivElement>>>, never> & TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<React.ForwardRefExoticComponent<RadixPopover.PopoverContentProps & React.RefAttributes<HTMLDivElement>>, {}, {}>;
91
92
  type StyledContentProps = StrictComponentProps<typeof StyledContent>;
92
93
 
93
94
  type PointerDownOutsideEvent = CustomEvent<{
@@ -202,9 +203,9 @@ interface ContentProps extends StyledContentProps {
202
203
  */
203
204
  overflow?: Overflow;
204
205
  }
205
- declare const Content: react__default.ForwardRefExoticComponent<Omit<ContentProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
206
+ declare const Content: React__default.ForwardRefExoticComponent<Omit<ContentProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
206
207
 
207
- declare const StyledItem: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<(props: _ariakit_react.ComboboxItemProps) => react.ReactElement<any, string | react.JSXElementConstructor<any>>>, never> & TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<(props: _ariakit_react.ComboboxItemProps) => react.ReactElement<any, string | react.JSXElementConstructor<any>>, {}, {}>;
208
+ declare const StyledItem: React.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<(props: _ariakit_react.ComboboxItemProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>>, never> & TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<(props: _ariakit_react.ComboboxItemProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>, {}, {}>;
208
209
  type StyledItemProps = StrictComponentProps<typeof StyledItem>;
209
210
 
210
211
  interface ItemProps extends StyledItemProps {
@@ -228,7 +229,7 @@ interface ItemProps extends StyledItemProps {
228
229
  */
229
230
  children?: ReactNode;
230
231
  }
231
- declare const Item: react__default.ForwardRefExoticComponent<Omit<ItemProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
232
+ declare const Item: React__default.ForwardRefExoticComponent<Omit<ItemProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
232
233
 
233
234
  interface PortalProps extends PopoverPortalProps {
234
235
  /**
@@ -236,20 +237,20 @@ interface PortalProps extends PopoverPortalProps {
236
237
  */
237
238
  container?: HTMLElement | null;
238
239
  }
239
- declare const Portal: ({ forceMount: forceMountProp, ...restProps }: PortalProps) => react__default.ReactNode;
240
+ declare const Portal: ({ forceMount: forceMountProp, ...restProps }: PortalProps) => React__default.ReactNode;
240
241
 
241
- declare const StyledGroup: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<(props: _ariakit_react.GroupProps) => react.ReactElement<any, string | react.JSXElementConstructor<any>>>, never> & TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<(props: _ariakit_react.GroupProps) => react.ReactElement<any, string | react.JSXElementConstructor<any>>, {}, {}>;
242
+ declare const StyledGroup: React.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<(props: _ariakit_react.GroupProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>>, never> & TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<(props: _ariakit_react.GroupProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>, {}, {}>;
242
243
  type StyledGroupProps = StrictComponentProps<typeof StyledGroup>;
243
244
 
244
245
  type GroupProps = StyledGroupProps;
245
- declare const Group: react__default.ForwardRefExoticComponent<Omit<StyledGroupProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
246
+ declare const Group: React__default.ForwardRefExoticComponent<Omit<StyledGroupProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
246
247
 
247
- declare const StyledGroupLabel: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<(props: _ariakit_react.GroupLabelProps) => react.ReactElement<any, string | react.JSXElementConstructor<any>>>, never> & TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<(props: _ariakit_react.GroupLabelProps) => react.ReactElement<any, string | react.JSXElementConstructor<any>>, {}, {}>;
248
+ declare const StyledGroupLabel: React.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<(props: _ariakit_react.GroupLabelProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>>, never> & TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<(props: _ariakit_react.GroupLabelProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>, {}, {}>;
248
249
  type StyledGroupLabelProps = StrictComponentProps<typeof StyledGroupLabel>;
249
250
 
250
251
  interface GroupLabelProps extends StyledGroupLabelProps {
251
252
  }
252
- declare const GroupLabel: react__default.ForwardRefExoticComponent<Omit<GroupLabelProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
253
+ declare const GroupLabel: React__default.ForwardRefExoticComponent<Omit<GroupLabelProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
253
254
 
254
255
  interface ValueProps {
255
256
  /**
@@ -272,17 +273,17 @@ interface ValueProps {
272
273
  }
273
274
  declare const Value: FC<ValueProps>;
274
275
 
275
- declare const StyledSeparator: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>>, never> & TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {}, {}>;
276
+ declare const StyledSeparator: React.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<React.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>>, never> & TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<React.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {}, {}>;
276
277
  type StyledSeparatorProps = StrictComponentProps<typeof StyledSeparator>;
277
278
 
278
279
  interface SeparatorProps extends StyledSeparatorProps {
279
280
  }
280
- declare const Separator: react__default.ForwardRefExoticComponent<Omit<SeparatorProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
281
+ declare const Separator: React__default.ForwardRefExoticComponent<Omit<SeparatorProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
281
282
 
282
- declare const StyledComboboxContent: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>>, never> & TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {}, {}>;
283
+ declare const StyledComboboxContent: React.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<React.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>>, never> & TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<React.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {}, {}>;
283
284
  type StyledComboboxProps = ComponentPropsWithRef<typeof StyledComboboxContent>;
284
285
 
285
- declare const StyledNoResult: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>>, never> & TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {}, {}>;
286
+ declare const StyledNoResult: React.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<React.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>>, never> & TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<React.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {}, {}>;
286
287
  type StyledNoResultProps = StrictComponentProps<typeof StyledNoResult>;
287
288
 
288
289
  interface NoResultProps extends StyledNoResultProps {
@@ -291,13 +292,35 @@ interface NoResultProps extends StyledNoResultProps {
291
292
  */
292
293
  children?: ReactNode;
293
294
  }
294
- declare const NoResult: react__default.ForwardRefExoticComponent<Omit<NoResultProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
295
+ declare const NoResult: React__default.ForwardRefExoticComponent<Omit<NoResultProps, "ref"> & React__default.RefAttributes<HTMLDivElement>>;
295
296
 
296
- declare const SearchInput: react__default.ForwardRefExoticComponent<(Omit<_mirohq_design_system_components_internal_base_input.BaseInputSharedProps & {
297
+ type SearchInputProps = React__default.ComponentProps<typeof InputSearch> & {
298
+ /**
299
+ * Lay selected chips out inside the field. Pass the selected
300
+ * `<Combobox.Value />` chips as children.
301
+ * @default false
302
+ */
303
+ inlineChips?: boolean;
304
+ };
305
+ declare const SearchInput: React__default.ForwardRefExoticComponent<(Omit<_mirohq_design_system_components_internal_base_input.BaseInputSharedProps & {
297
306
  clearable?: never;
298
- } & react__default.RefAttributes<HTMLInputElement>, "ref"> | Omit<_mirohq_design_system_components_internal_base_input.BaseInputSharedProps & _mirohq_design_system_input.ClearProps & react__default.RefAttributes<HTMLInputElement>, "ref">) & react__default.RefAttributes<HTMLInputElement>>;
307
+ } & React__default.RefAttributes<HTMLInputElement> & {
308
+ /**
309
+ * Lay selected chips out inside the field. Pass the selected
310
+ * `<Combobox.Value />` chips as children.
311
+ * @default false
312
+ */
313
+ inlineChips?: boolean;
314
+ }, "ref"> | Omit<_mirohq_design_system_components_internal_base_input.BaseInputSharedProps & _mirohq_design_system_input.ClearProps & React__default.RefAttributes<HTMLInputElement> & {
315
+ /**
316
+ * Lay selected chips out inside the field. Pass the selected
317
+ * `<Combobox.Value />` chips as children.
318
+ * @default false
319
+ */
320
+ inlineChips?: boolean;
321
+ }, "ref">) & React__default.RefAttributes<HTMLInputElement>>;
299
322
 
300
- declare const StyledCompositeItem: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<(props: _ariakit_react.CompositeItemProps) => react.ReactElement<any, string | react.JSXElementConstructor<any>>>, never> & TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement>> & _mirohq_design_system_stitches.StitchesInternals<(props: _ariakit_react.CompositeItemProps) => react.ReactElement<any, string | react.JSXElementConstructor<any>>, {}, {}>;
323
+ declare const StyledCompositeItem: React.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<(props: _ariakit_react.CompositeItemProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>>, never> & TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React.RefAttributes<HTMLButtonElement>> & _mirohq_design_system_stitches.StitchesInternals<(props: _ariakit_react.CompositeItemProps) => React.ReactElement<any, string | React.JSXElementConstructor<any>>, {}, {}>;
301
324
  type StyledCompositeItemProps = ComponentProps<typeof StyledCompositeItem>;
302
325
 
303
326
  interface CompositeItemProps extends Pick<StyledCompositeItemProps, 'disabled' | 'role' | 'children'> {
@@ -334,6 +357,24 @@ declare const CompositeItem: {
334
357
  displayName: string;
335
358
  };
336
359
 
360
+ interface ListProps {
361
+ /**
362
+ * Selectable options and related list content (`Item`, `Group`, `NoResult`,
363
+ * `Separator` between options). Keep search fields and action controls
364
+ * outside `List` as siblings under `Content`.
365
+ */
366
+ children?: ReactNode;
367
+ }
368
+ /**
369
+ * The `listbox` region of the combobox popover. Only `option` / `group`
370
+ * content belongs here — interactive chrome (search, clear, select-all)
371
+ * must be siblings of `List`, not children.
372
+ */
373
+ declare const List: {
374
+ ({ children }: ListProps): JSX.Element;
375
+ displayName: string;
376
+ };
377
+
337
378
  interface ComboboxProps extends FormElementProps, StyledComboboxProps {
338
379
  /**
339
380
  * The value of the combobox when initially rendered. Use when you do not need
@@ -387,7 +428,7 @@ interface ComboboxProps extends FormElementProps, StyledComboboxProps {
387
428
  /**
388
429
  * The content of the combobox
389
430
  */
390
- children?: react__default.ReactNode;
431
+ children?: React__default.ReactNode;
391
432
  /**
392
433
  * Enables/disabled automatic filtering.
393
434
  * @default true
@@ -410,6 +451,7 @@ interface Partials {
410
451
  Trigger: typeof Trigger;
411
452
  Input: typeof Input;
412
453
  Content: typeof Content;
454
+ List: typeof List;
413
455
  Item: typeof Item;
414
456
  CompositeItem: typeof CompositeItem;
415
457
  Group: typeof Group;
@@ -420,9 +462,9 @@ interface Partials {
420
462
  SearchInput: typeof SearchInput;
421
463
  }
422
464
 
423
- declare const StyledBaseInput: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_base_input.BaseInputProps> & _mirohq_design_system_base_input.BaseInputPartials>, "size"> & TransformProps<{
465
+ declare const StyledBaseInput: React.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<React.ForwardRefExoticComponent<_mirohq_design_system_base_input.BaseInputProps> & _mirohq_design_system_base_input.BaseInputPartials>, "size"> & TransformProps<{
424
466
  size?: "medium" | "large" | "x-large" | undefined;
425
- }, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_base_input.BaseInputProps> & _mirohq_design_system_base_input.BaseInputPartials, {
467
+ }, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & React.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<React.ForwardRefExoticComponent<_mirohq_design_system_base_input.BaseInputProps> & _mirohq_design_system_base_input.BaseInputPartials, {
426
468
  size?: "medium" | "large" | "x-large" | undefined;
427
469
  }, {}>;
428
470
  type StyledBaseInputProps = ComponentPropsWithRef<typeof StyledBaseInput>;
@@ -437,24 +479,24 @@ interface ComboboxProviderSharedProps extends FormElementProps {
437
479
  autoFilter: boolean;
438
480
  }
439
481
  interface ComboboxContextProps extends ComboboxProviderSharedProps {
440
- setOpenState: react__default.Dispatch<react__default.SetStateAction<boolean | undefined>>;
482
+ setOpenState: React__default.Dispatch<React__default.SetStateAction<boolean | undefined>>;
441
483
  openState: boolean;
442
- externalOpenedRef: react__default.RefObject<boolean>;
443
- setValue: react__default.Dispatch<react__default.SetStateAction<string[] | string | undefined>>;
444
- triggerRef: react__default.RefObject<HTMLInputElement>;
445
- inputRef: react__default.RefObject<HTMLInputElement>;
446
- contentRef: react__default.RefObject<HTMLDivElement>;
484
+ externalOpenedRef: React__default.RefObject<boolean>;
485
+ setValue: React__default.Dispatch<React__default.SetStateAction<string[] | string | undefined>>;
486
+ triggerRef: React__default.RefObject<HTMLInputElement>;
487
+ inputRef: React__default.RefObject<HTMLInputElement>;
488
+ contentRef: React__default.RefObject<HTMLDivElement>;
447
489
  searchValue: string;
448
- setSearchValue: react__default.Dispatch<react__default.SetStateAction<string | undefined>>;
490
+ setSearchValue: React__default.Dispatch<React__default.SetStateAction<string | undefined>>;
449
491
  placeholder?: string;
450
- setPlaceholder: react__default.Dispatch<react__default.SetStateAction<string | undefined>>;
492
+ setPlaceholder: React__default.Dispatch<React__default.SetStateAction<string | undefined>>;
451
493
  size: StyledBaseInputProps['size'];
452
- setSize: react__default.Dispatch<react__default.SetStateAction<StyledBaseInputProps['size']>>;
494
+ setSize: React__default.Dispatch<React__default.SetStateAction<StyledBaseInputProps['size']>>;
453
495
  /**
454
496
  * includes all visible and hidden items to render Chips and get filtered items
455
497
  */
456
498
  itemsMap: Map<string, ItemData>;
457
- setItemsMap: react__default.Dispatch<react__default.SetStateAction<Map<string, ItemData>>>;
499
+ setItemsMap: React__default.Dispatch<React__default.SetStateAction<Map<string, ItemData>>>;
458
500
  /**
459
501
  * @returns filtered items based on itemsMap
460
502
  * @returns empty array when searchValue is empty or auto filtering is disabled
@@ -464,4 +506,4 @@ interface ComboboxContextProps extends ComboboxProviderSharedProps {
464
506
  declare const useComboboxContext: () => ComboboxContextProps;
465
507
 
466
508
  export { Combobox, types as ComboboxTypes, useComboboxContext };
467
- export type { CompositeItemProps as ComboboxCompositeItemProps, ContentProps as ComboboxContentProps, GroupLabelProps as ComboboxGroupLabelProps, GroupProps as ComboboxGroupProps, InputProps as ComboboxInputProps, ItemProps as ComboboxItemProps, NoResultProps as ComboboxNoResultProps, PortalProps as ComboboxPortalProps, ComboboxProps, SeparatorProps as ComboboxSeparatorProps, TriggerProps as ComboboxTriggerProps, ValueProps as ComboboxValueProps };
509
+ export type { CompositeItemProps as ComboboxCompositeItemProps, ContentProps as ComboboxContentProps, GroupLabelProps as ComboboxGroupLabelProps, GroupProps as ComboboxGroupProps, InputProps as ComboboxInputProps, ItemProps as ComboboxItemProps, ListProps as ComboboxListProps, NoResultProps as ComboboxNoResultProps, PortalProps as ComboboxPortalProps, ComboboxProps, SearchInputProps as ComboboxSearchInputProps, SeparatorProps as ComboboxSeparatorProps, TriggerProps as ComboboxTriggerProps, ValueProps as ComboboxValueProps };
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-combobox",
3
- "version": "1.6.2",
3
+ "version": "1.7.0-filter-chip.2",
4
4
  "description": "",
5
5
  "author": "Miro",
6
6
  "source": "src/index.ts",
@@ -32,20 +32,20 @@
32
32
  "@radix-ui/react-use-controllable-state": "1.1.1",
33
33
  "@react-aria/utils": "^3.31.0",
34
34
  "@mirohq/design-system-base-form": "^2.0.1",
35
- "@mirohq/design-system-base-tooltip": "^1.2.1",
36
- "@mirohq/design-system-chip": "^1.2.62",
37
35
  "@mirohq/design-system-base-input": "^1.4.5",
36
+ "@mirohq/design-system-base-tooltip": "^1.2.1",
37
+ "@mirohq/design-system-chip": "^1.3.0-filter-chip.1",
38
38
  "@mirohq/design-system-base-select": "^1.3.33",
39
39
  "@mirohq/design-system-icons": "^1.46.2",
40
- "@mirohq/design-system-input": "^1.6.11",
41
- "@mirohq/design-system-primitive": "^2.2.1",
42
- "@mirohq/design-system-stitches": "^3.3.33",
43
40
  "@mirohq/design-system-scroll-area": "^1.2.37",
41
+ "@mirohq/design-system-stitches": "^3.3.33",
44
42
  "@mirohq/design-system-use-aria-disabled": "^1.1.5",
43
+ "@mirohq/design-system-use-id": "^1.1.1",
44
+ "@mirohq/design-system-primitive": "^2.2.1",
45
45
  "@mirohq/design-system-use-layout-effect": "^1.1.1",
46
- "@mirohq/design-system-utils": "^1.4.0",
47
46
  "@mirohq/design-system-use-previous": "^1.1.1",
48
- "@mirohq/design-system-use-id": "^1.1.1"
47
+ "@mirohq/design-system-utils": "^1.4.0",
48
+ "@mirohq/design-system-input": "^1.6.11"
49
49
  },
50
50
  "scripts": {
51
51
  "build": "rollup -c ../../../rollup.config.js",