@mirohq/design-system-tabs 0.2.2 → 0.2.4

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 -39
  2. package/package.json +7 -7
package/dist/types.d.ts CHANGED
@@ -7,20 +7,13 @@ import { HoverEvents } from '@react-types/shared';
7
7
  import * as _mirohq_design_system_primitive from '@mirohq/design-system-primitive';
8
8
  import * as packages_components_internal_base_button_src_base_button from 'packages/components/internal/base-button/src/base-button';
9
9
  import * as _mirohq_design_system_hooks_use_press from '@mirohq/design-system-hooks/use-press';
10
+ import * as _mirohq_design_system_components_primitive from '@mirohq/design-system-components/primitive';
10
11
 
11
- declare const List: react.ForwardRefExoticComponent<Omit<Omit<RadixTabs.TabsListProps & react.RefAttributes<HTMLDivElement>, _mirohq_design_system_stitches.ForbiddenProps> & {
12
- children?: react.ReactNode;
13
- } & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<RadixTabs.TabsListProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
12
+ declare const List: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<RadixTabs.TabsListProps & 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<RadixTabs.TabsListProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
14
13
 
15
14
  declare const Trigger: react__default.FC<RadixTabs.TabsTriggerProps & HoverEvents>;
16
15
 
17
- declare const StyledIconSlot: react__default.ForwardRefExoticComponent<Omit<Omit<Omit<react__default.DetailedHTMLProps<react__default.HTMLAttributes<HTMLDivElement>, HTMLDivElement>, "ref"> & {
18
- ref?: ((instance: HTMLDivElement | null) => void) | react__default.RefObject<HTMLDivElement> | null | undefined;
19
- } & {
20
- asChild?: boolean | undefined;
21
- }, _mirohq_design_system_stitches.ForbiddenProps> & {
22
- children?: react__default.ReactNode;
23
- } & _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">>, {}, {}>;
16
+ declare const StyledIconSlot: 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">>, {}, {}>;
24
17
  declare type StyledIconSlotProps = react__default.ComponentPropsWithRef<typeof StyledIconSlot>;
25
18
  interface IconSlotProps extends StyledIconSlotProps {
26
19
  /**
@@ -30,41 +23,17 @@ interface IconSlotProps extends StyledIconSlotProps {
30
23
  }
31
24
  declare const IconSlot: react__default.ForwardRefExoticComponent<Omit<IconSlotProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
32
25
 
33
- declare const TriggerStyled: react.ForwardRefExoticComponent<(Omit<Omit<Omit<Omit<Omit<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
34
- ref?: ((instance: HTMLButtonElement | null) => void) | react.RefObject<HTMLButtonElement> | null | undefined;
35
- } & {
36
- asChild?: boolean | undefined;
37
- }, _mirohq_design_system_stitches.ForbiddenProps> & {
38
- children?: react.ReactNode;
39
- } & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents, "ref"> & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, _mirohq_design_system_stitches.ForbiddenProps> & {
26
+ declare const TriggerStyled: react.ForwardRefExoticComponent<(Omit<Omit<Omit<Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_components_primitive.PrimitiveProps<"button">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents, "ref"> & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, _mirohq_design_system_stitches.ForbiddenProps> & {
40
27
  children?: react.ReactNode;
41
- } & _stitches_react_types_styled_component.TransformProps<{
28
+ }, "size"> & _stitches_react_types_styled_component.TransformProps<{
42
29
  size?: "medium" | "large" | "x-large" | undefined;
43
- }, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> | Omit<Omit<Omit<Omit<Omit<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
44
- ref?: ((instance: HTMLButtonElement | null) => void) | react.RefObject<HTMLButtonElement> | null | undefined;
45
- } & {
46
- asChild?: boolean | undefined;
47
- }, _mirohq_design_system_stitches.ForbiddenProps> & {
48
- children?: react.ReactNode;
49
- } & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & react.AnchorHTMLAttributes<"a"> & {
30
+ }, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> | Omit<Omit<Omit<Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_components_primitive.PrimitiveProps<"button">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & react.AnchorHTMLAttributes<"a"> & {
50
31
  href: string;
51
32
  }, "ref"> & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>, _mirohq_design_system_stitches.ForbiddenProps> & {
52
33
  children?: react.ReactNode;
53
- } & _stitches_react_types_styled_component.TransformProps<{
34
+ }, "size"> & _stitches_react_types_styled_component.TransformProps<{
54
35
  size?: "medium" | "large" | "x-large" | undefined;
55
- }, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<(Omit<Omit<Omit<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
56
- ref?: ((instance: HTMLButtonElement | null) => void) | react.RefObject<HTMLButtonElement> | null | undefined;
57
- } & {
58
- asChild?: boolean | undefined;
59
- }, _mirohq_design_system_stitches.ForbiddenProps> & {
60
- children?: react.ReactNode;
61
- } & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents, "ref"> | Omit<Omit<Omit<Omit<react.DetailedHTMLProps<react.ButtonHTMLAttributes<HTMLButtonElement>, HTMLButtonElement>, "ref"> & {
62
- ref?: ((instance: HTMLButtonElement | null) => void) | react.RefObject<HTMLButtonElement> | null | undefined;
63
- } & {
64
- asChild?: boolean | undefined;
65
- }, _mirohq_design_system_stitches.ForbiddenProps> & {
66
- children?: react.ReactNode;
67
- } & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & react.AnchorHTMLAttributes<"a"> & {
36
+ }, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<(Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_components_primitive.PrimitiveProps<"button">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents, "ref"> | Omit<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_mirohq_design_system_components_primitive.PrimitiveProps<"button">>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement> & _mirohq_design_system_hooks_use_press.PressProps & packages_components_internal_base_button_src_base_button.HoverEvents & react.AnchorHTMLAttributes<"a"> & {
68
37
  href: string;
69
38
  }, "ref">) & react.RefAttributes<HTMLAnchorElement | HTMLButtonElement>>, {
70
39
  size?: "medium" | "large" | "x-large" | undefined;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-tabs",
3
- "version": "0.2.2",
3
+ "version": "0.2.4",
4
4
  "description": "",
5
5
  "author": "Miro",
6
6
  "source": "src/index.ts",
@@ -30,13 +30,13 @@
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-button": "^0.4.43",
34
- "@mirohq/design-system-base-icon": "^0.1.28",
33
+ "@mirohq/design-system-base-button": "^0.4.45",
34
+ "@mirohq/design-system-base-icon": "^0.1.30",
35
35
  "@mirohq/design-system-primitive": "^1.1.2",
36
- "@mirohq/design-system-stitches": "^2.6.7",
37
- "@mirohq/design-system-styles": "^1.2.6",
38
- "@mirohq/design-system-use-press": "^0.3.3",
39
- "@mirohq/design-system-utils": "^0.15.2"
36
+ "@mirohq/design-system-styles": "^1.2.8",
37
+ "@mirohq/design-system-use-press": "^0.3.4",
38
+ "@mirohq/design-system-utils": "^0.15.3",
39
+ "@mirohq/design-system-stitches": "^2.6.9"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "rollup -c ../../../rollup.config.js",