@mirohq/design-system-toolbar 2.6.7 → 2.6.9-sync-design-tokens.0

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 +6 -6
  2. package/package.json +5 -5
package/dist/types.d.ts CHANGED
@@ -1,5 +1,5 @@
1
1
  import * as react from 'react';
2
- import react__default, { AnchorHTMLAttributes } from 'react';
2
+ import react__default, { AnchorHTMLAttributes, ForwardRefExoticComponent } from 'react';
3
3
  import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
4
4
  import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches';
5
5
  import { StrictComponentProps } from '@mirohq/design-system-stitches';
@@ -14,10 +14,10 @@ declare const StyledToolbar: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_d
14
14
  v1?: boolean | "true" | undefined;
15
15
  variant?: "flat" | "floating" | undefined;
16
16
  }, {}>;
17
- declare type StyledToolbarProps = StrictComponentProps<typeof StyledToolbar>;
17
+ type StyledToolbarProps = StrictComponentProps<typeof StyledToolbar>;
18
18
 
19
19
  declare const StyledBaseItem: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_radix_ui_react_toolbar.ToolbarButtonProps & 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_toolbar.ToolbarButtonProps & react.RefAttributes<HTMLButtonElement>>, {}, {}>;
20
- declare type StyledBaseItemProps = StrictComponentProps<typeof StyledBaseItem>;
20
+ type StyledBaseItemProps = StrictComponentProps<typeof StyledBaseItem>;
21
21
 
22
22
  interface BaseItemProps extends StyledBaseItemProps, HoverEvents, PressEvents {
23
23
  disabled?: boolean;
@@ -37,7 +37,7 @@ declare const StyledSeparator: react.ForwardRefExoticComponent<Omit<Omit<_mirohq
37
37
  }, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLDivElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_radix_ui_react_toolbar.ToolbarSeparatorProps & react.RefAttributes<HTMLDivElement>>, {
38
38
  v1?: boolean | "true" | undefined;
39
39
  }, {}>;
40
- declare type StyledSeparatorProps = StrictComponentProps<typeof StyledSeparator>;
40
+ type StyledSeparatorProps = StrictComponentProps<typeof StyledSeparator>;
41
41
 
42
42
  interface SeparatorProps extends Omit<StyledSeparatorProps, 'v1'> {
43
43
  }
@@ -49,7 +49,7 @@ declare const StyledLink: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_desi
49
49
  v1?: boolean | "true" | "false" | undefined;
50
50
  }, {}>;
51
51
 
52
- declare type ItemPropsWithAnchor = Omit<BaseItemProps, 'ref'> & AnchorHTMLAttributes<typeof StyledLink>;
52
+ type ItemPropsWithAnchor = Omit<BaseItemProps, 'ref'> & AnchorHTMLAttributes<typeof StyledLink>;
53
53
  interface LinkProps extends ItemPropsWithAnchor {
54
54
  }
55
55
  declare const Link: react__default.ForwardRefExoticComponent<LinkProps & react__default.RefAttributes<HTMLAnchorElement>>;
@@ -97,7 +97,7 @@ interface ToolbarProps extends Omit<StyledToolbarProps, 'v1'> {
97
97
  */
98
98
  loop?: boolean;
99
99
  }
100
- declare const Toolbar: react__default.ForwardRefExoticComponent<ToolbarProps> & Partials;
100
+ declare const Toolbar: ForwardRefExoticComponent<ToolbarProps> & Partials;
101
101
  interface Partials {
102
102
  Icon: typeof Icon;
103
103
  Item: typeof Item;
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@mirohq/design-system-toolbar",
3
- "version": "2.6.7",
3
+ "version": "2.6.9-sync-design-tokens.0",
4
4
  "description": "",
5
5
  "author": "Miro",
6
6
  "source": "src/index.ts",
@@ -32,11 +32,11 @@
32
32
  "@react-aria/utils": "^3.13.0",
33
33
  "@react-types/shared": "^3.16.0",
34
34
  "@mirohq/design-system-experiments": "^0.2.0",
35
- "@mirohq/design-system-stitches": "^2.6.30",
36
- "@mirohq/design-system-styles": "^1.2.30",
35
+ "@mirohq/design-system-stitches": "^2.6.31-sync-design-tokens.0",
36
+ "@mirohq/design-system-styles": "^1.2.31-sync-design-tokens.0",
37
+ "@mirohq/design-system-use-aria-disabled": "^0.3.0",
37
38
  "@mirohq/design-system-use-press": "^0.4.2",
38
- "@mirohq/design-system-utils": "^0.15.5",
39
- "@mirohq/design-system-use-aria-disabled": "^0.2.1"
39
+ "@mirohq/design-system-utils": "^0.15.5"
40
40
  },
41
41
  "scripts": {
42
42
  "build": "rollup -c ../../../rollup.config.js",