@mirohq/design-system-popover 5.1.84 → 5.1.86
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 +11 -11
- package/package.json +3 -3
package/dist/types.d.ts
CHANGED
|
@@ -7,7 +7,7 @@ import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches'
|
|
|
7
7
|
import { StrictComponentProps } from '@mirohq/design-system-stitches';
|
|
8
8
|
|
|
9
9
|
declare const StyledTrigger: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_radix_ui_react_popover.PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_radix_ui_react_popover.PopoverTriggerProps & react.RefAttributes<HTMLButtonElement>>, {}, {}>;
|
|
10
|
-
|
|
10
|
+
type StyledTriggerProps = StrictComponentProps<typeof StyledTrigger>;
|
|
11
11
|
|
|
12
12
|
interface TriggerProps extends StyledTriggerProps {
|
|
13
13
|
}
|
|
@@ -21,16 +21,16 @@ declare const StyledContent: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_d
|
|
|
21
21
|
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_radix_ui_react_popover.PopoverContentProps & react.RefAttributes<HTMLDivElement>>, {
|
|
22
22
|
variant?: "dark" | "light" | undefined;
|
|
23
23
|
}, {}>;
|
|
24
|
-
|
|
24
|
+
type StyledContentProps = StrictComponentProps<typeof StyledContent>;
|
|
25
25
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
26
|
+
type AnchorType = 'line' | 'arrow' | 'none';
|
|
27
|
+
type Side = 'top' | 'right' | 'bottom' | 'left';
|
|
28
|
+
type Align = 'start' | 'center' | 'end';
|
|
29
|
+
type Variant = 'light' | 'dark';
|
|
30
|
+
type PointerDownOutsideEvent = CustomEvent<{
|
|
31
31
|
originalEvent: PointerEvent;
|
|
32
32
|
}>;
|
|
33
|
-
|
|
33
|
+
type FocusOutsideEvent = CustomEvent<{
|
|
34
34
|
originalEvent: FocusEvent;
|
|
35
35
|
}>;
|
|
36
36
|
|
|
@@ -161,7 +161,7 @@ declare const StyledClose: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_des
|
|
|
161
161
|
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_radix_ui_react_popover.PopoverCloseProps & react.RefAttributes<HTMLButtonElement>>, {
|
|
162
162
|
variant?: "dark" | "light" | undefined;
|
|
163
163
|
}, {}>;
|
|
164
|
-
|
|
164
|
+
type StyledCloseProps = StrictComponentProps<typeof StyledClose>;
|
|
165
165
|
|
|
166
166
|
interface CloseProps extends StyledCloseProps {
|
|
167
167
|
/**
|
|
@@ -232,7 +232,7 @@ declare const StyledArrow: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_des
|
|
|
232
232
|
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<SVGSVGElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_radix_ui_react_popover.PopoverArrowProps & react.RefAttributes<SVGSVGElement>>, {
|
|
233
233
|
variant?: "dark" | "light" | undefined;
|
|
234
234
|
}, {}>;
|
|
235
|
-
|
|
235
|
+
type StyledArrowProps = StrictComponentProps<typeof StyledArrow>;
|
|
236
236
|
|
|
237
237
|
interface ArrowProps extends StyledArrowProps {
|
|
238
238
|
/**
|
|
@@ -241,6 +241,6 @@ interface ArrowProps extends StyledArrowProps {
|
|
|
241
241
|
variant?: StyledArrowProps['variant'];
|
|
242
242
|
}
|
|
243
243
|
|
|
244
|
-
|
|
244
|
+
type AnchorProps = PopoverAnchorProps;
|
|
245
245
|
|
|
246
246
|
export { Popover, AnchorProps as PopoverAnchorProps, ArrowProps as PopoverArrowProps, CloseProps as PopoverCloseProps, ContentProps as PopoverContentProps, PortalProps as PopoverPortalProps, PopoverProps, TriggerProps as PopoverTriggerProps, types as PopoverTypes };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-popover",
|
|
3
|
-
"version": "5.1.
|
|
3
|
+
"version": "5.1.86",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -29,10 +29,10 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@radix-ui/react-popover": "^1.0.7",
|
|
31
31
|
"@mirohq/design-system-base-tooltip": "^0.1.0",
|
|
32
|
-
"@mirohq/design-system-icons": "^0.
|
|
33
|
-
"@mirohq/design-system-stitches": "^2.6.30",
|
|
32
|
+
"@mirohq/design-system-icons": "^0.64.0",
|
|
34
33
|
"@mirohq/design-system-primitive": "^1.1.2",
|
|
35
34
|
"@mirohq/design-system-styles": "^1.2.30",
|
|
35
|
+
"@mirohq/design-system-stitches": "^2.6.30",
|
|
36
36
|
"@mirohq/design-system-use-previous": "^0.1.0"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|