@mirohq/design-system-select 0.3.21 → 0.3.23

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 +8 -26
  2. package/package.json +8 -8
package/dist/types.d.ts CHANGED
@@ -2,35 +2,25 @@ import * as react from 'react';
2
2
  import react__default, { ComponentPropsWithRef, ReactNode } from 'react';
3
3
  import * as _radix_ui_react_select from '@radix-ui/react-select';
4
4
  import { SelectPortalProps, Value as Value$1, SelectProps as SelectProps$2, Portal } from '@radix-ui/react-select';
5
- import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
6
5
  import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
7
6
  import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches';
8
7
  import { StrictComponentProps } from '@mirohq/design-system-stitches';
8
+ import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
9
9
  import { HoverEvents } from '@react-types/shared';
10
10
  import { CSSProperties } from '@stitches/react';
11
11
  import { FormElementProps } from '@mirohq/design-system-base-form';
12
12
 
13
- declare const StyledSelectContent: react.ForwardRefExoticComponent<Omit<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
14
- ref?: ((instance: HTMLDivElement | null) => void) | react.RefObject<HTMLDivElement> | null | undefined;
15
- } & {
16
- asChild?: boolean | undefined;
17
- }, _mirohq_design_system_stitches.ForbiddenProps> & {
18
- children?: react.ReactNode;
19
- } & _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">>, {}, {}>;
13
+ declare const StyledSelectContent: 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">>, {}, {}>;
20
14
  declare type StyledSelectContentProps = ComponentPropsWithRef<typeof StyledSelectContent>;
21
15
 
22
- declare const StyledGroup: react.ForwardRefExoticComponent<Omit<Omit<_radix_ui_react_select.SelectGroupProps & react.RefAttributes<HTMLDivElement>, _mirohq_design_system_stitches.ForbiddenProps> & {
23
- children?: react.ReactNode;
24
- } & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_radix_ui_react_select.SelectGroupProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
16
+ declare const StyledGroup: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_radix_ui_react_select.SelectGroupProps & 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<_radix_ui_react_select.SelectGroupProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
25
17
  declare type StyledGroupProps = StrictComponentProps<typeof StyledGroup>;
26
18
 
27
19
  interface GroupProps extends StyledGroupProps {
28
20
  }
29
21
  declare const Group: react__default.ForwardRefExoticComponent<Omit<GroupProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
30
22
 
31
- declare const StyledItem: react.ForwardRefExoticComponent<Omit<Omit<_radix_ui_react_select.SelectItemProps & react.RefAttributes<HTMLDivElement>, _mirohq_design_system_stitches.ForbiddenProps> & {
32
- children?: react.ReactNode;
33
- } & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_radix_ui_react_select.SelectItemProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
23
+ declare const StyledItem: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_radix_ui_react_select.SelectItemProps & 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<_radix_ui_react_select.SelectItemProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
34
24
  declare type StyledItemProps = StrictComponentProps<typeof StyledItem>;
35
25
 
36
26
  interface ItemProps extends StyledItemProps {
@@ -60,9 +50,7 @@ interface PortalProps extends SelectPortalProps {
60
50
  container?: HTMLElement | null;
61
51
  }
62
52
 
63
- declare const StyledTrigger: react.ForwardRefExoticComponent<Omit<Omit<_radix_ui_react_select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement>, _mirohq_design_system_stitches.ForbiddenProps> & {
64
- children?: react.ReactNode;
65
- } & _stitches_react_types_styled_component.TransformProps<{
53
+ declare const StyledTrigger: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_radix_ui_react_select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement>>>, "size"> & _stitches_react_types_styled_component.TransformProps<{
66
54
  size?: "large" | "x-large" | undefined;
67
55
  }, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_radix_ui_react_select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement>>, {
68
56
  size?: "large" | "x-large" | undefined;
@@ -96,9 +84,7 @@ interface ValueProps extends StyledValueProps {
96
84
  }
97
85
  declare const Value: react__default.ForwardRefExoticComponent<Omit<ValueProps, "ref"> & react__default.RefAttributes<HTMLSpanElement>>;
98
86
 
99
- declare const StyledContent: react.ForwardRefExoticComponent<Omit<Omit<_radix_ui_react_select.SelectContentProps & react.RefAttributes<HTMLDivElement>, _mirohq_design_system_stitches.ForbiddenProps> & {
100
- children?: react.ReactNode;
101
- } & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_radix_ui_react_select.SelectContentProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
87
+ declare const StyledContent: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_radix_ui_react_select.SelectContentProps & 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<_radix_ui_react_select.SelectContentProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
102
88
  declare type StyledContentProps = StrictComponentProps<typeof StyledContent>;
103
89
 
104
90
  declare type PointerDownOutsideEvent = CustomEvent<{
@@ -233,18 +219,14 @@ interface ContentProps extends StyledContentProps {
233
219
  }
234
220
  declare const Content: react__default.ForwardRefExoticComponent<Omit<ContentProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
235
221
 
236
- declare const StyledLabel: react.ForwardRefExoticComponent<Omit<Omit<_radix_ui_react_select.SelectLabelProps & react.RefAttributes<HTMLDivElement>, _mirohq_design_system_stitches.ForbiddenProps> & {
237
- children?: react.ReactNode;
238
- } & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_radix_ui_react_select.SelectLabelProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
222
+ declare const StyledLabel: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_radix_ui_react_select.SelectLabelProps & 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<_radix_ui_react_select.SelectLabelProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
239
223
  declare type StyledLabelProps = StrictComponentProps<typeof StyledLabel>;
240
224
 
241
225
  interface LabelProps extends StyledLabelProps {
242
226
  }
243
227
  declare const Label: react__default.ForwardRefExoticComponent<Omit<LabelProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
244
228
 
245
- declare const StyledSeparator: react.ForwardRefExoticComponent<Omit<Omit<_radix_ui_react_select.SelectSeparatorProps & react.RefAttributes<HTMLDivElement>, _mirohq_design_system_stitches.ForbiddenProps> & {
246
- children?: react.ReactNode;
247
- } & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_radix_ui_react_select.SelectSeparatorProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
229
+ declare const StyledSeparator: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_radix_ui_react_select.SelectSeparatorProps & 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<_radix_ui_react_select.SelectSeparatorProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
248
230
  declare type StyledSeparatorProps = StrictComponentProps<typeof StyledSeparator>;
249
231
 
250
232
  interface SeparatorProps extends StyledSeparatorProps {
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-select",
3
- "version": "0.3.21",
3
+ "version": "0.3.23",
4
4
  "description": "",
5
5
  "author": "Miro",
6
6
  "source": "src/index.ts",
@@ -30,14 +30,14 @@
30
30
  "@react-aria/interactions": "^3.13.0",
31
31
  "@react-aria/utils": "^3.13.0",
32
32
  "@react-types/shared": "^3.16.0",
33
- "@mirohq/design-system-base-form": "^0.2.9",
34
- "@mirohq/design-system-icons": "^0.41.3",
33
+ "@mirohq/design-system-icons": "^0.42.1",
35
34
  "@mirohq/design-system-primitive": "^1.1.2",
36
- "@mirohq/design-system-scroll-area": "^0.2.8",
37
- "@mirohq/design-system-stitches": "^2.6.7",
38
- "@mirohq/design-system-types": "^0.8.0",
39
- "@mirohq/design-system-styles": "^1.2.6",
40
- "@mirohq/design-system-utils": "^0.15.2",
35
+ "@mirohq/design-system-stitches": "^2.6.8",
36
+ "@mirohq/design-system-base-form": "^0.2.10",
37
+ "@mirohq/design-system-scroll-area": "^0.2.9",
38
+ "@mirohq/design-system-styles": "^1.2.7",
39
+ "@mirohq/design-system-types": "^0.9.0",
40
+ "@mirohq/design-system-utils": "^0.15.3",
41
41
  "@mirohq/design-system-use-force-update": "^0.1.0"
42
42
  },
43
43
  "scripts": {