@mirohq/design-system-select 0.7.9 → 0.7.10
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 +19 -19
- package/package.json +6 -6
package/dist/types.d.ts
CHANGED
|
@@ -1,5 +1,5 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import react__default, { ComponentPropsWithRef, ReactNode } from 'react';
|
|
2
|
+
import react__default, { ComponentPropsWithRef, ReactNode, ForwardRefExoticComponent } from 'react';
|
|
3
3
|
import { FormElementProps } from '@mirohq/design-system-base-form';
|
|
4
4
|
import * as _radix_ui_react_select from '@radix-ui/react-select';
|
|
5
5
|
import { SelectPortalProps, Value as Value$1, SelectProps as SelectProps$1, Portal } from '@radix-ui/react-select';
|
|
@@ -11,17 +11,17 @@ import { HoverEvents } from '@react-types/shared';
|
|
|
11
11
|
import { CSSProperties } from '@stitches/react';
|
|
12
12
|
|
|
13
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">>, {}, {}>;
|
|
14
|
-
|
|
14
|
+
type StyledSelectContentProps = ComponentPropsWithRef<typeof StyledSelectContent>;
|
|
15
15
|
|
|
16
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>>, {}, {}>;
|
|
17
|
-
|
|
17
|
+
type StyledGroupProps = StrictComponentProps<typeof StyledGroup>;
|
|
18
18
|
|
|
19
19
|
interface GroupProps extends StyledGroupProps {
|
|
20
20
|
}
|
|
21
21
|
declare const Group: react__default.ForwardRefExoticComponent<Omit<GroupProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
22
22
|
|
|
23
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>>, {}, {}>;
|
|
24
|
-
|
|
24
|
+
type StyledItemProps = StrictComponentProps<typeof StyledItem>;
|
|
25
25
|
|
|
26
26
|
interface ItemProps extends StyledItemProps {
|
|
27
27
|
/**
|
|
@@ -57,7 +57,7 @@ declare const StyledTrigger: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_d
|
|
|
57
57
|
v1?: boolean | "false" | "true" | undefined;
|
|
58
58
|
size?: "medium" | "large" | "x-large" | undefined;
|
|
59
59
|
}, {}>;
|
|
60
|
-
|
|
60
|
+
type StyledTriggerProps = StrictComponentProps<typeof StyledTrigger>;
|
|
61
61
|
|
|
62
62
|
interface TriggerProps extends Omit<StyledTriggerProps, 'v1'>, HoverEvents {
|
|
63
63
|
/**
|
|
@@ -72,7 +72,7 @@ interface TriggerProps extends Omit<StyledTriggerProps, 'v1'>, HoverEvents {
|
|
|
72
72
|
}
|
|
73
73
|
declare const Trigger: react__default.ForwardRefExoticComponent<Omit<TriggerProps, "ref"> & react__default.RefAttributes<HTMLButtonElement>>;
|
|
74
74
|
|
|
75
|
-
|
|
75
|
+
type StyledValueProps = StrictComponentProps<typeof Value$1>;
|
|
76
76
|
interface ValueProps extends StyledValueProps {
|
|
77
77
|
/**
|
|
78
78
|
* The content that will be rendered inside the Select.Value when no value or
|
|
@@ -87,19 +87,19 @@ interface ValueProps extends StyledValueProps {
|
|
|
87
87
|
declare const Value: react__default.ForwardRefExoticComponent<Omit<ValueProps, "ref"> & react__default.RefAttributes<HTMLSpanElement>>;
|
|
88
88
|
|
|
89
89
|
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>>, {}, {}>;
|
|
90
|
-
|
|
90
|
+
type StyledContentProps = StrictComponentProps<typeof StyledContent>;
|
|
91
91
|
|
|
92
|
-
|
|
92
|
+
type PointerDownOutsideEvent = CustomEvent<{
|
|
93
93
|
originalEvent: PointerEvent;
|
|
94
94
|
}>;
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
95
|
+
type Boundary = Element | null | Array<Element | null>;
|
|
96
|
+
type Side = 'top' | 'right' | 'bottom' | 'left';
|
|
97
|
+
type Align = 'start' | 'center' | 'end';
|
|
98
|
+
type Padding = Partial<Record<Side, number>>;
|
|
99
|
+
type Overflow = 'auto' | 'visible';
|
|
100
|
+
type Size = 'medium' | 'large';
|
|
101
|
+
type Sticky = 'partial' | 'always';
|
|
102
|
+
type Direction = 'ltr' | 'rtl';
|
|
103
103
|
|
|
104
104
|
type types_PointerDownOutsideEvent = PointerDownOutsideEvent;
|
|
105
105
|
type types_Boundary = Boundary;
|
|
@@ -216,14 +216,14 @@ interface ContentProps extends StyledContentProps {
|
|
|
216
216
|
declare const Content: react__default.ForwardRefExoticComponent<Omit<ContentProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
217
217
|
|
|
218
218
|
declare const StyledGroupLabel: 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>>, {}, {}>;
|
|
219
|
-
|
|
219
|
+
type StyledGroupLabelProps = StrictComponentProps<typeof StyledGroupLabel>;
|
|
220
220
|
|
|
221
221
|
interface GroupLabelProps extends StyledGroupLabelProps {
|
|
222
222
|
}
|
|
223
223
|
declare const GroupLabel: react__default.ForwardRefExoticComponent<Omit<GroupLabelProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
224
224
|
|
|
225
225
|
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>>, {}, {}>;
|
|
226
|
-
|
|
226
|
+
type StyledSeparatorProps = StrictComponentProps<typeof StyledSeparator>;
|
|
227
227
|
|
|
228
228
|
interface SeparatorProps extends StyledSeparatorProps {
|
|
229
229
|
}
|
|
@@ -280,7 +280,7 @@ interface SelectProps extends FormElementProps, Omit<SelectProps$1, 'onOpenChang
|
|
|
280
280
|
*/
|
|
281
281
|
loading?: boolean;
|
|
282
282
|
}
|
|
283
|
-
declare const Select:
|
|
283
|
+
declare const Select: ForwardRefExoticComponent<SelectProps> & Partials;
|
|
284
284
|
interface Partials {
|
|
285
285
|
Content: typeof Content;
|
|
286
286
|
Separator: typeof Separator;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-select",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.10",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -31,18 +31,18 @@
|
|
|
31
31
|
"@react-aria/utils": "^3.13.0",
|
|
32
32
|
"@react-types/shared": "^3.16.0",
|
|
33
33
|
"@mirohq/design-system-base-form": "^0.3.4",
|
|
34
|
-
"@mirohq/design-system-base-text-field": "^0.2.3",
|
|
35
34
|
"@mirohq/design-system-base-select": "^0.1.21",
|
|
36
35
|
"@mirohq/design-system-base-tooltip": "^0.1.0",
|
|
36
|
+
"@mirohq/design-system-base-text-field": "^0.2.3",
|
|
37
37
|
"@mirohq/design-system-experiments": "^0.2.0",
|
|
38
|
+
"@mirohq/design-system-icons": "^0.64.0",
|
|
38
39
|
"@mirohq/design-system-primitive": "^1.1.2",
|
|
39
|
-
"@mirohq/design-system-scroll-area": "^0.4.18",
|
|
40
|
-
"@mirohq/design-system-icons": "^0.63.0",
|
|
41
40
|
"@mirohq/design-system-spinner": "^1.1.64",
|
|
41
|
+
"@mirohq/design-system-scroll-area": "^0.4.18",
|
|
42
42
|
"@mirohq/design-system-stitches": "^2.6.30",
|
|
43
|
-
"@mirohq/design-system-use-force-update": "^0.1.0",
|
|
44
|
-
"@mirohq/design-system-use-previous": "^0.1.0",
|
|
45
43
|
"@mirohq/design-system-styles": "^1.2.30",
|
|
44
|
+
"@mirohq/design-system-use-previous": "^0.1.0",
|
|
45
|
+
"@mirohq/design-system-use-force-update": "^0.1.0",
|
|
46
46
|
"@mirohq/design-system-utils": "^0.15.5"
|
|
47
47
|
},
|
|
48
48
|
"scripts": {
|