@mirohq/design-system-scroll-area 0.4.19-new-focus-keyboard.1 → 0.4.19-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.
- package/dist/types.d.ts +8 -8
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -1,18 +1,18 @@
|
|
|
1
1
|
import * as react from 'react';
|
|
2
|
-
import react__default from 'react';
|
|
2
|
+
import react__default, { 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';
|
|
6
6
|
import * as _radix_ui_react_scroll_area from '@radix-ui/react-scroll-area';
|
|
7
7
|
|
|
8
8
|
declare const StyledViewport: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_radix_ui_react_scroll_area.ScrollAreaViewportProps & 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_scroll_area.ScrollAreaViewportProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
9
|
-
|
|
9
|
+
type StyledViewportProps = StrictComponentProps<typeof StyledViewport>;
|
|
10
10
|
|
|
11
|
-
|
|
11
|
+
type ViewportProps = StyledViewportProps;
|
|
12
12
|
declare const Viewport: react__default.ForwardRefExoticComponent<Omit<StyledViewportProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
13
13
|
|
|
14
14
|
declare const StyledScrollbar: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_radix_ui_react_scroll_area.ScrollAreaScrollbarProps & 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_scroll_area.ScrollAreaScrollbarProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
15
|
-
|
|
15
|
+
type StyledScrollbarProps = StrictComponentProps<typeof StyledScrollbar>;
|
|
16
16
|
|
|
17
17
|
interface ScrollbarProps extends StyledScrollbarProps {
|
|
18
18
|
/**
|
|
@@ -29,7 +29,7 @@ interface ScrollbarProps extends StyledScrollbarProps {
|
|
|
29
29
|
declare const Scrollbar: react__default.ForwardRefExoticComponent<Omit<ScrollbarProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
30
30
|
|
|
31
31
|
declare const StyledThumb: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_radix_ui_react_scroll_area.ScrollAreaThumbProps & 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_scroll_area.ScrollAreaThumbProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
32
|
-
|
|
32
|
+
type StyledThumbProps = StrictComponentProps<typeof StyledThumb>;
|
|
33
33
|
|
|
34
34
|
interface ThumbProps extends StyledThumbProps {
|
|
35
35
|
/**
|
|
@@ -41,13 +41,13 @@ interface ThumbProps extends StyledThumbProps {
|
|
|
41
41
|
declare const Thumb: react__default.ForwardRefExoticComponent<Omit<ThumbProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
42
42
|
|
|
43
43
|
declare const StyledCorner: react__default.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react__default.ForwardRefExoticComponent<_radix_ui_react_scroll_area.ScrollAreaCornerProps & react__default.RefAttributes<HTMLDivElement>>>, 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<_radix_ui_react_scroll_area.ScrollAreaCornerProps & react__default.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
44
|
-
|
|
44
|
+
type StyledCornerProps = StrictComponentProps<typeof StyledCorner>;
|
|
45
45
|
interface CornerProps extends StyledCornerProps {
|
|
46
46
|
}
|
|
47
47
|
declare const Corner: react__default.ForwardRefExoticComponent<Omit<CornerProps, "ref"> & react__default.RefAttributes<HTMLDivElement>>;
|
|
48
48
|
|
|
49
49
|
declare const StyledScrollArea: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<react.ForwardRefExoticComponent<_radix_ui_react_scroll_area.ScrollAreaProps & 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_scroll_area.ScrollAreaProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
50
|
-
|
|
50
|
+
type StyledScrollAreaProps = StrictComponentProps<typeof StyledScrollArea>;
|
|
51
51
|
|
|
52
52
|
interface ScrollAreaProps extends StyledScrollAreaProps {
|
|
53
53
|
children: react__default.ReactNode;
|
|
@@ -76,7 +76,7 @@ interface ScrollAreaProps extends StyledScrollAreaProps {
|
|
|
76
76
|
*/
|
|
77
77
|
scrollHideDelay?: number;
|
|
78
78
|
}
|
|
79
|
-
declare const ScrollArea:
|
|
79
|
+
declare const ScrollArea: ForwardRefExoticComponent<ScrollAreaProps> & Partials;
|
|
80
80
|
interface Partials {
|
|
81
81
|
Viewport: typeof Viewport;
|
|
82
82
|
Scrollbar: typeof Scrollbar;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-scroll-area",
|
|
3
|
-
"version": "0.4.19-
|
|
3
|
+
"version": "0.4.19-sync-design-tokens.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -27,7 +27,7 @@
|
|
|
27
27
|
},
|
|
28
28
|
"dependencies": {
|
|
29
29
|
"@radix-ui/react-scroll-area": "^1.0.4",
|
|
30
|
-
"@mirohq/design-system-stitches": "^2.6.31-
|
|
30
|
+
"@mirohq/design-system-stitches": "^2.6.31-sync-design-tokens.0"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "rollup -c ../../../rollup.config.js",
|