@mirohq/design-system-combobox 0.5.45 → 0.5.47

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.
Files changed (2) hide show
  1. package/dist/types.d.ts +20 -20
  2. package/package.json +7 -7
package/dist/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import react__default, { ReactNode, FC, ComponentPropsWithRef } from 'react';
2
+ import react__default, { ReactNode, FC, ComponentPropsWithRef, ForwardRefExoticComponent } from 'react';
3
3
  import { FormElementProps } from '@mirohq/design-system-base-form';
4
4
  import { BaseInputStyledProps, BaseInputProps } from '@mirohq/design-system-base-input';
5
5
  import { CSSProperties } from '@stitches/react';
@@ -40,7 +40,7 @@ interface TriggerSharedProps extends Omit<BaseInputStyledProps, 'size'> {
40
40
  */
41
41
  clearable?: boolean;
42
42
  }
43
- declare type TriggerProps = TriggerSharedProps & ({
43
+ type TriggerProps = TriggerSharedProps & ({
44
44
  clearable: false;
45
45
  clearActionLabel?: never;
46
46
  } | {
@@ -52,16 +52,16 @@ declare type TriggerProps = TriggerSharedProps & ({
52
52
  declare const Trigger: react__default.ForwardRefExoticComponent<TriggerProps & react__default.RefAttributes<HTMLInputElement>>;
53
53
 
54
54
  declare const StyledContent: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<RadixPopover.PopoverContentProps & react.RefAttributes<HTMLDivElement>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<RadixPopover.PopoverContentProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
55
- declare type StyledContentProps = StrictComponentProps<typeof StyledContent>;
55
+ type StyledContentProps = StrictComponentProps<typeof StyledContent>;
56
56
 
57
- declare type PointerDownOutsideEvent = CustomEvent<{
57
+ type PointerDownOutsideEvent = CustomEvent<{
58
58
  originalEvent: PointerEvent;
59
59
  }>;
60
- declare type Side = 'top' | 'right' | 'bottom' | 'left';
61
- declare type Align = 'start' | 'center' | 'end';
62
- declare type Direction = 'ltr' | 'rtl';
63
- declare type Overflow = 'auto' | 'visible';
64
- declare type Sticky = 'partial' | 'always';
60
+ type Side = 'top' | 'right' | 'bottom' | 'left';
61
+ type Align = 'start' | 'center' | 'end';
62
+ type Direction = 'ltr' | 'rtl';
63
+ type Overflow = 'auto' | 'visible';
64
+ type Sticky = 'partial' | 'always';
65
65
 
66
66
  type types_PointerDownOutsideEvent = PointerDownOutsideEvent;
67
67
  type types_Side = Side;
@@ -170,8 +170,8 @@ interface ContentProps extends StyledContentProps {
170
170
  }
171
171
  declare const Content: react__default.ForwardRefExoticComponent<Omit<ContentProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
172
172
 
173
- declare const StyledItem: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<(props: _ariakit_react.ComboboxItemProps<"div">) => react.ReactElement<any, string | react.JSXElementConstructor<any>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<(props: _ariakit_react.ComboboxItemProps<"div">) => react.ReactElement<any, string | react.JSXElementConstructor<any>>, {}, {}>;
174
- declare type StyledItemProps = StrictComponentProps<typeof StyledItem>;
173
+ declare const StyledItem: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<(props: _ariakit_react.ComboboxItemProps) => react.ReactElement<any, string | react.JSXElementConstructor<any>>>, never> & _stitches_react_types_styled_component.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>>, {}, {}>;
174
+ type StyledItemProps = StrictComponentProps<typeof StyledItem>;
175
175
 
176
176
  interface ItemProps extends StyledItemProps {
177
177
  /**
@@ -204,14 +204,14 @@ interface PortalProps extends PopoverPortalProps {
204
204
  }
205
205
  declare const Portal: react__default.FC<PortalProps>;
206
206
 
207
- declare const StyledGroup: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<(props: _ariakit_react.GroupProps<"div">) => react.ReactElement<any, string | react.JSXElementConstructor<any>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<(props: _ariakit_react.GroupProps<"div">) => react.ReactElement<any, string | react.JSXElementConstructor<any>>, {}, {}>;
208
- declare type StyledGroupProps = StrictComponentProps<typeof StyledGroup>;
207
+ declare const StyledGroup: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<(props: _ariakit_react.GroupProps) => react.ReactElement<any, string | react.JSXElementConstructor<any>>>, never> & _stitches_react_types_styled_component.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>>, {}, {}>;
208
+ type StyledGroupProps = StrictComponentProps<typeof StyledGroup>;
209
209
 
210
- declare type GroupProps = StyledGroupProps;
210
+ type GroupProps = StyledGroupProps;
211
211
  declare const Group: react__default.ForwardRefExoticComponent<Omit<StyledGroupProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
212
212
 
213
- declare const StyledGroupLabel: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<(props: _ariakit_react.GroupLabelProps<"div">) => react.ReactElement<any, string | react.JSXElementConstructor<any>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<(props: _ariakit_react.GroupLabelProps<"div">) => react.ReactElement<any, string | react.JSXElementConstructor<any>>, {}, {}>;
214
- declare type StyledGroupLabelProps = StrictComponentProps<typeof StyledGroupLabel>;
213
+ declare const StyledGroupLabel: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<(props: _ariakit_react.GroupLabelProps) => react.ReactElement<any, string | react.JSXElementConstructor<any>>>, never> & _stitches_react_types_styled_component.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>>, {}, {}>;
214
+ type StyledGroupLabelProps = StrictComponentProps<typeof StyledGroupLabel>;
215
215
 
216
216
  interface GroupLabelProps extends StyledGroupLabelProps {
217
217
  }
@@ -226,17 +226,17 @@ interface ValueProps {
226
226
  declare const Value: FC<ValueProps>;
227
227
 
228
228
  declare const StyledSeparator: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {}, {}>;
229
- declare type StyledSeparatorProps = StrictComponentProps<typeof StyledSeparator>;
229
+ type StyledSeparatorProps = StrictComponentProps<typeof StyledSeparator>;
230
230
 
231
231
  interface SeparatorProps extends StyledSeparatorProps {
232
232
  }
233
233
  declare const Separator: react__default.ForwardRefExoticComponent<Omit<SeparatorProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
234
234
 
235
235
  declare const StyledComboboxContent: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {}, {}>;
236
- declare type StyledComboboxProps = ComponentPropsWithRef<typeof StyledComboboxContent>;
236
+ type StyledComboboxProps = ComponentPropsWithRef<typeof StyledComboboxContent>;
237
237
 
238
238
  declare const StyledNoResult: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {}, {}>;
239
- declare type StyledNoResultProps = StrictComponentProps<typeof StyledNoResult>;
239
+ type StyledNoResultProps = StrictComponentProps<typeof StyledNoResult>;
240
240
 
241
241
  interface NoResultProps extends StyledNoResultProps {
242
242
  /**
@@ -311,7 +311,7 @@ interface ComboboxProps extends FormElementProps, StyledComboboxProps {
311
311
  */
312
312
  name?: string;
313
313
  }
314
- declare const Combobox: react__default.ForwardRefExoticComponent<ComboboxProps> & Partials;
314
+ declare const Combobox: ForwardRefExoticComponent<ComboboxProps> & Partials;
315
315
  interface Partials {
316
316
  Portal: typeof Portal;
317
317
  Trigger: typeof Trigger;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-combobox",
3
- "version": "0.5.45",
3
+ "version": "0.5.47",
4
4
  "description": "",
5
5
  "author": "Miro",
6
6
  "source": "src/index.ts",
@@ -32,19 +32,19 @@
32
32
  "@radix-ui/react-use-controllable-state": "1.0.1",
33
33
  "@react-aria/utils": "^3.13.0",
34
34
  "@mirohq/design-system-base-form": "^0.3.4",
35
+ "@mirohq/design-system-base-input": "^0.5.12",
35
36
  "@mirohq/design-system-base-select": "^0.1.21",
36
37
  "@mirohq/design-system-base-tooltip": "^0.1.0",
37
- "@mirohq/design-system-chip": "^0.2.20",
38
- "@mirohq/design-system-base-input": "^0.5.10",
38
+ "@mirohq/design-system-chip": "^0.2.22",
39
39
  "@mirohq/design-system-experiments": "^0.2.0",
40
+ "@mirohq/design-system-icons": "^0.65.0",
40
41
  "@mirohq/design-system-primitive": "^1.1.2",
41
- "@mirohq/design-system-icons": "^0.63.0",
42
- "@mirohq/design-system-use-aria-disabled": "^0.2.1",
42
+ "@mirohq/design-system-scroll-area": "^0.4.18",
43
43
  "@mirohq/design-system-stitches": "^2.6.30",
44
+ "@mirohq/design-system-use-aria-disabled": "^0.3.0",
45
+ "@mirohq/design-system-use-layout-effect": "^0.2.1",
44
46
  "@mirohq/design-system-use-previous": "^0.1.0",
45
47
  "@mirohq/design-system-use-id": "^0.1.2",
46
- "@mirohq/design-system-use-layout-effect": "^0.2.1",
47
- "@mirohq/design-system-scroll-area": "^0.4.18",
48
48
  "@mirohq/design-system-utils": "^0.15.5"
49
49
  },
50
50
  "scripts": {