@mirohq/design-system-dropdown-menu 4.1.4 → 4.1.6
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 +16 -80
- package/package.json +10 -10
package/dist/types.d.ts
CHANGED
|
@@ -11,9 +11,7 @@ import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitiv
|
|
|
11
11
|
import * as _mirohq_design_system_components_primitive from '@mirohq/design-system-components/primitive';
|
|
12
12
|
import { HotkeyProps as HotkeyProps$1 } from '@mirohq/design-system-base-hotkey';
|
|
13
13
|
|
|
14
|
-
declare const StyledCheckboxItem: react.ForwardRefExoticComponent<Omit<Omit<RadixDropdownMenu.DropdownMenuCheckboxItemProps & react.RefAttributes<HTMLDivElement
|
|
15
|
-
children?: react.ReactNode;
|
|
16
|
-
} & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuCheckboxItemProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
14
|
+
declare const StyledCheckboxItem: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuCheckboxItemProps & 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<RadixDropdownMenu.DropdownMenuCheckboxItemProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
17
15
|
declare type StyledCheckboxItemProps = StrictComponentProps<typeof StyledCheckboxItem>;
|
|
18
16
|
|
|
19
17
|
interface CheckboxItemProps extends Omit<StyledCheckboxItemProps, 'onChange'> {
|
|
@@ -48,9 +46,7 @@ interface CheckboxItemProps extends Omit<StyledCheckboxItemProps, 'onChange'> {
|
|
|
48
46
|
}
|
|
49
47
|
declare const CheckboxItem: react__default.ForwardRefExoticComponent<Omit<CheckboxItemProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
50
48
|
|
|
51
|
-
declare const StyledContent: react.ForwardRefExoticComponent<Omit<Omit<RadixDropdownMenu.DropdownMenuContentProps & react.RefAttributes<HTMLDivElement
|
|
52
|
-
children?: react.ReactNode;
|
|
53
|
-
} & _stitches_react_types_styled_component.TransformProps<{
|
|
49
|
+
declare const StyledContent: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuContentProps & react.RefAttributes<HTMLDivElement>>>, "containerSpacing"> & _stitches_react_types_styled_component.TransformProps<{
|
|
54
50
|
containerSpacing?: "small" | "medium" | "large" | undefined;
|
|
55
51
|
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuContentProps & react.RefAttributes<HTMLDivElement>>, {
|
|
56
52
|
containerSpacing?: "small" | "medium" | "large" | undefined;
|
|
@@ -202,9 +198,7 @@ interface ContentProps extends StyledContentProps {
|
|
|
202
198
|
}
|
|
203
199
|
declare const Content: react__default.ForwardRefExoticComponent<Omit<ContentProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
204
200
|
|
|
205
|
-
declare const StyledItem: react.ForwardRefExoticComponent<Omit<Omit<RadixDropdownMenu.DropdownMenuItemProps & react.RefAttributes<HTMLDivElement
|
|
206
|
-
children?: react.ReactNode;
|
|
207
|
-
} & _stitches_react_types_styled_component.TransformProps<{
|
|
201
|
+
declare const StyledItem: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuItemProps & react.RefAttributes<HTMLDivElement>>>, "variant" | "hasRightSlot"> & _stitches_react_types_styled_component.TransformProps<{
|
|
208
202
|
hasRightSlot?: boolean | "true" | undefined;
|
|
209
203
|
variant?: "subtle" | "danger" | undefined;
|
|
210
204
|
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuItemProps & react.RefAttributes<HTMLDivElement>>, {
|
|
@@ -244,9 +238,7 @@ interface LinkItemProps extends ItemPropsWithAnchor {
|
|
|
244
238
|
}
|
|
245
239
|
declare const LinkItem: react__default.ForwardRefExoticComponent<Omit<LinkItemProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
246
240
|
|
|
247
|
-
declare const StyledRadioGroup: react.ForwardRefExoticComponent<Omit<Omit<RadixDropdownMenu.DropdownMenuRadioGroupProps & react.RefAttributes<HTMLDivElement
|
|
248
|
-
children?: react.ReactNode;
|
|
249
|
-
} & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuRadioGroupProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
241
|
+
declare const StyledRadioGroup: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuRadioGroupProps & 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<RadixDropdownMenu.DropdownMenuRadioGroupProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
250
242
|
declare type StyledRadioGroupProps = StrictComponentProps<typeof StyledRadioGroup>;
|
|
251
243
|
|
|
252
244
|
interface RadioGroupProps extends Omit<StyledRadioGroupProps, 'onChange'> {
|
|
@@ -261,9 +253,7 @@ interface RadioGroupProps extends Omit<StyledRadioGroupProps, 'onChange'> {
|
|
|
261
253
|
}
|
|
262
254
|
declare const RadioGroup: react__default.ForwardRefExoticComponent<Omit<RadioGroupProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
263
255
|
|
|
264
|
-
declare const StyledRadioItem: react.ForwardRefExoticComponent<Omit<Omit<RadixDropdownMenu.DropdownMenuRadioItemProps & react.RefAttributes<HTMLDivElement
|
|
265
|
-
children?: react.ReactNode;
|
|
266
|
-
} & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuRadioItemProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
256
|
+
declare const StyledRadioItem: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuRadioItemProps & 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<RadixDropdownMenu.DropdownMenuRadioItemProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
267
257
|
declare type StyledRadioItemProps = StrictComponentProps<typeof StyledRadioItem>;
|
|
268
258
|
|
|
269
259
|
interface RadioItemProps extends StyledRadioItemProps {
|
|
@@ -295,18 +285,14 @@ interface RadioItemProps extends StyledRadioItemProps {
|
|
|
295
285
|
}
|
|
296
286
|
declare const RadioItem: react__default.ForwardRefExoticComponent<Omit<RadioItemProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
297
287
|
|
|
298
|
-
declare const StyledSeparator: react.ForwardRefExoticComponent<Omit<Omit<RadixDropdownMenu.DropdownMenuSeparatorProps & react.RefAttributes<HTMLDivElement
|
|
299
|
-
children?: react.ReactNode;
|
|
300
|
-
} & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuSeparatorProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
288
|
+
declare const StyledSeparator: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuSeparatorProps & 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<RadixDropdownMenu.DropdownMenuSeparatorProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
301
289
|
declare type StyledSeparatorProps = StrictComponentProps<typeof StyledSeparator>;
|
|
302
290
|
|
|
303
291
|
interface SeparatorProps extends StyledSeparatorProps {
|
|
304
292
|
}
|
|
305
293
|
declare const Separator: react__default.ForwardRefExoticComponent<Omit<SeparatorProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
306
294
|
|
|
307
|
-
declare const StyledSwitchItem: react.ForwardRefExoticComponent<Omit<Omit<RadixDropdownMenu.DropdownMenuCheckboxItemProps & react.RefAttributes<HTMLDivElement
|
|
308
|
-
children?: react.ReactNode;
|
|
309
|
-
} & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuCheckboxItemProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
295
|
+
declare const StyledSwitchItem: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuCheckboxItemProps & 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<RadixDropdownMenu.DropdownMenuCheckboxItemProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
310
296
|
declare type StyledSwitchItemProps = StrictComponentProps<typeof StyledSwitchItem>;
|
|
311
297
|
|
|
312
298
|
interface SwitchItemProps extends Omit<StyledSwitchItemProps, 'onChange'> {
|
|
@@ -341,9 +327,7 @@ interface SwitchItemProps extends Omit<StyledSwitchItemProps, 'onChange'> {
|
|
|
341
327
|
}
|
|
342
328
|
declare const SwitchItem: react__default.ForwardRefExoticComponent<Omit<SwitchItemProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
343
329
|
|
|
344
|
-
declare const StyledTrigger: react.ForwardRefExoticComponent<Omit<Omit<RadixDropdownMenu.DropdownMenuTriggerProps & react.RefAttributes<HTMLButtonElement
|
|
345
|
-
children?: react.ReactNode;
|
|
346
|
-
} & _stitches_react_types_styled_component.TransformProps<{
|
|
330
|
+
declare const StyledTrigger: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuTriggerProps & react.RefAttributes<HTMLButtonElement>>>, "unstyled"> & _stitches_react_types_styled_component.TransformProps<{
|
|
347
331
|
unstyled?: boolean | "true" | "false" | undefined;
|
|
348
332
|
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuTriggerProps & react.RefAttributes<HTMLButtonElement>>, {
|
|
349
333
|
unstyled?: boolean | "true" | "false" | undefined;
|
|
@@ -354,9 +338,7 @@ interface TriggerProps extends StyledTriggerProps {
|
|
|
354
338
|
}
|
|
355
339
|
declare const Trigger: react__default.ForwardRefExoticComponent<Omit<TriggerProps, "ref"> & react__default.RefAttributes<HTMLButtonElement>>;
|
|
356
340
|
|
|
357
|
-
declare const StyledSubTrigger: react.ForwardRefExoticComponent<Omit<Omit<RadixDropdownMenu.DropdownMenuSubTriggerProps & react.RefAttributes<HTMLDivElement
|
|
358
|
-
children?: react.ReactNode;
|
|
359
|
-
} & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuSubTriggerProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
341
|
+
declare const StyledSubTrigger: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuSubTriggerProps & 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<RadixDropdownMenu.DropdownMenuSubTriggerProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
360
342
|
declare type StyledSubTriggerProps = StrictComponentProps<typeof StyledSubTrigger>;
|
|
361
343
|
|
|
362
344
|
interface SubTriggerProps extends StyledSubTriggerProps {
|
|
@@ -374,9 +356,7 @@ interface SubTriggerProps extends StyledSubTriggerProps {
|
|
|
374
356
|
}
|
|
375
357
|
declare const SubTrigger: react__default.ForwardRefExoticComponent<Omit<StyledSubTriggerProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
376
358
|
|
|
377
|
-
declare const StyledSubContent: react.ForwardRefExoticComponent<Omit<Omit<RadixDropdownMenu.DropdownMenuSubContentProps & react.RefAttributes<HTMLDivElement
|
|
378
|
-
children?: react.ReactNode;
|
|
379
|
-
} & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuSubContentProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
359
|
+
declare const StyledSubContent: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<RadixDropdownMenu.DropdownMenuSubContentProps & 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<RadixDropdownMenu.DropdownMenuSubContentProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
380
360
|
declare type StyledSubContentProps = StrictComponentProps<typeof StyledSubContent>;
|
|
381
361
|
|
|
382
362
|
interface SubContentProps extends StyledSubContentProps {
|
|
@@ -474,9 +454,7 @@ interface SubContentProps extends StyledSubContentProps {
|
|
|
474
454
|
}
|
|
475
455
|
declare const SubContent: react__default.ForwardRefExoticComponent<Omit<SubContentProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
476
456
|
|
|
477
|
-
declare const StyledSub: react.ForwardRefExoticComponent<Omit<RadixDropdownMenu.DropdownMenuSubProps, _mirohq_design_system_stitches.
|
|
478
|
-
children?: react.ReactNode;
|
|
479
|
-
} & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps & react.RefAttributes<never>> & _mirohq_design_system_stitches.StitchesInternals<react.FC<RadixDropdownMenu.DropdownMenuSubProps>, {}, {}>;
|
|
457
|
+
declare const StyledSub: react.ForwardRefExoticComponent<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.FC<RadixDropdownMenu.DropdownMenuSubProps>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps & react.RefAttributes<never>> & _mirohq_design_system_stitches.StitchesInternals<react.FC<RadixDropdownMenu.DropdownMenuSubProps>, {}, {}>;
|
|
480
458
|
declare type StyledSubProps = StrictComponentProps<typeof StyledSub>;
|
|
481
459
|
|
|
482
460
|
interface SubProps extends StyledSubProps {
|
|
@@ -515,43 +493,15 @@ interface PortalProps extends DropdownMenuPortalProps {
|
|
|
515
493
|
}
|
|
516
494
|
declare const Portal: react__default.FC<PortalProps>;
|
|
517
495
|
|
|
518
|
-
declare const ItemDescription: react.ForwardRefExoticComponent<Omit<Omit<
|
|
519
|
-
|
|
520
|
-
} & {
|
|
521
|
-
asChild?: boolean | undefined;
|
|
522
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
523
|
-
children?: react.ReactNode;
|
|
524
|
-
} & _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">>, {}, {}>;
|
|
525
|
-
|
|
526
|
-
declare const StyledIconSlot: react.ForwardRefExoticComponent<Omit<Omit<Omit<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
527
|
-
ref?: ((instance: HTMLDivElement | null) => void) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
528
|
-
} & {
|
|
529
|
-
asChild?: boolean | undefined;
|
|
530
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
531
|
-
children?: react.ReactNode;
|
|
532
|
-
} & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
533
|
-
children?: react.ReactNode;
|
|
534
|
-
} & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<Omit<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
535
|
-
ref?: ((instance: HTMLDivElement | null) => void) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
536
|
-
} & {
|
|
537
|
-
asChild?: boolean | undefined;
|
|
538
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
539
|
-
children?: react.ReactNode;
|
|
540
|
-
} & _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_components_primitive.PrimitiveProps<"div">>, {}, {}>, {}, {}>;
|
|
496
|
+
declare const ItemDescription: 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">>, {}, {}>;
|
|
497
|
+
|
|
498
|
+
declare const StyledIconSlot: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_components_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_components_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<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_components_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_components_primitive.PrimitiveProps<"div">>, {}, {}>, {}, {}>;
|
|
541
499
|
declare type StyledIconSlotProps = ComponentPropsWithRef<typeof StyledIconSlot>;
|
|
542
500
|
|
|
543
501
|
declare type IconSlotProps = {
|
|
544
502
|
children: react__default.ReactNode;
|
|
545
503
|
} & StyledIconSlotProps;
|
|
546
|
-
declare const IconSlot: react__default.ForwardRefExoticComponent<Omit<Omit<Omit<
|
|
547
|
-
ref?: ((instance: HTMLDivElement | null) => void) | react__default.RefObject<HTMLDivElement> | null | undefined;
|
|
548
|
-
} & {
|
|
549
|
-
asChild?: boolean | undefined;
|
|
550
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
551
|
-
children?: react__default.ReactNode;
|
|
552
|
-
} & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react__default.RefAttributes<HTMLDivElement>, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
553
|
-
children?: react__default.ReactNode;
|
|
554
|
-
} & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react__default.RefAttributes<HTMLDivElement>, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
504
|
+
declare const IconSlot: react__default.ForwardRefExoticComponent<Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react__default.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react__default.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react__default.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react__default.ForwardRefExoticComponent<_mirohq_design_system_primitive.PrimitiveProps<"div">>, {}, {}>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react__default.RefAttributes<HTMLDivElement>, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
555
505
|
|
|
556
506
|
declare type HotkeyProps = Omit<HotkeyProps$1, 'variant'> & {
|
|
557
507
|
/**
|
|
@@ -561,21 +511,7 @@ declare type HotkeyProps = Omit<HotkeyProps$1, 'variant'> & {
|
|
|
561
511
|
};
|
|
562
512
|
declare const Hotkey: react__default.ForwardRefExoticComponent<Omit<HotkeyProps, "ref"> & react__default.RefAttributes<HTMLSpanElement>>;
|
|
563
513
|
|
|
564
|
-
declare const StyledIllustrationSlot: react.ForwardRefExoticComponent<Omit<Omit<
|
|
565
|
-
ref?: ((instance: HTMLDivElement | null) => void) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
566
|
-
} & {
|
|
567
|
-
asChild?: boolean | undefined;
|
|
568
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
569
|
-
children?: react.ReactNode;
|
|
570
|
-
} & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
571
|
-
children?: react.ReactNode;
|
|
572
|
-
} & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<Omit<Omit<Omit<react.DetailedHTMLProps<react.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
|
|
573
|
-
ref?: ((instance: HTMLDivElement | null) => void) | react.RefObject<HTMLDivElement> | null | undefined;
|
|
574
|
-
} & {
|
|
575
|
-
asChild?: boolean | undefined;
|
|
576
|
-
}, _mirohq_design_system_stitches.ForbiddenProps> & {
|
|
577
|
-
children?: react.ReactNode;
|
|
578
|
-
} & _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_components_primitive.PrimitiveProps<"div">>, {}, {}>, {}, {}>;
|
|
514
|
+
declare const StyledIllustrationSlot: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_components_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_components_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<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_components_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_components_primitive.PrimitiveProps<"div">>, {}, {}>, {}, {}>;
|
|
579
515
|
declare type StyledIllustrationSlotProps = StrictComponentProps<typeof StyledIllustrationSlot>;
|
|
580
516
|
|
|
581
517
|
declare const IllustrationSlot: react__default.ForwardRefExoticComponent<Omit<StyledIllustrationSlotProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-dropdown-menu",
|
|
3
|
-
"version": "4.1.
|
|
3
|
+
"version": "4.1.6",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -29,17 +29,17 @@
|
|
|
29
29
|
"dependencies": {
|
|
30
30
|
"@radix-ui/react-dropdown-menu": "^2.0.5",
|
|
31
31
|
"@react-aria/utils": "^3.13.0",
|
|
32
|
-
"@mirohq/design-system-base-hotkey": "^0.1.
|
|
33
|
-
"@mirohq/design-system-base-icon": "^0.1.
|
|
34
|
-
"@mirohq/design-system-base-switch": "^0.1.
|
|
35
|
-
"@mirohq/design-system-icons": "^0.41.3",
|
|
32
|
+
"@mirohq/design-system-base-hotkey": "^0.1.9",
|
|
33
|
+
"@mirohq/design-system-base-icon": "^0.1.29",
|
|
34
|
+
"@mirohq/design-system-base-switch": "^0.1.28",
|
|
36
35
|
"@mirohq/design-system-primitive": "^1.1.2",
|
|
37
|
-
"@mirohq/design-system-scroll-area": "^0.2.
|
|
38
|
-
"@mirohq/design-system-
|
|
39
|
-
"@mirohq/design-system-
|
|
40
|
-
"@mirohq/design-system-
|
|
36
|
+
"@mirohq/design-system-scroll-area": "^0.2.9",
|
|
37
|
+
"@mirohq/design-system-icons": "^0.42.1",
|
|
38
|
+
"@mirohq/design-system-stitches": "^2.6.8",
|
|
39
|
+
"@mirohq/design-system-styles": "^1.2.7",
|
|
40
|
+
"@mirohq/design-system-types": "^0.9.0",
|
|
41
41
|
"@mirohq/design-system-use-layout-effect": "^0.2.1",
|
|
42
|
-
"@mirohq/design-system-utils": "^0.15.
|
|
42
|
+
"@mirohq/design-system-utils": "^0.15.3"
|
|
43
43
|
},
|
|
44
44
|
"scripts": {
|
|
45
45
|
"build": "rollup -c ../../../rollup.config.js",
|