@mirohq/design-system-scroll-area 0.1.18 → 0.1.19
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 +66 -0
- package/package.json +2 -2
package/dist/types.d.ts
CHANGED
|
@@ -4,6 +4,7 @@ import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches'
|
|
|
4
4
|
import { StrictComponentProps } from '@mirohq/design-system-stitches';
|
|
5
5
|
import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
|
|
6
6
|
import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
|
|
7
|
+
import * as _stitches_react from '@stitches/react';
|
|
7
8
|
import * as _radix_ui_react_scroll_area from '@radix-ui/react-scroll-area';
|
|
8
9
|
|
|
9
10
|
declare const StyledViewport: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<_stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<_radix_ui_react_scroll_area.ScrollAreaViewportProps & react.RefAttributes<HTMLDivElement>>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
@@ -491,6 +492,19 @@ declare const StyledViewport: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_
|
|
|
491
492
|
readonly [$$PropertyValue]: "width";
|
|
492
493
|
};
|
|
493
494
|
};
|
|
495
|
+
_hover: (css: _stitches_react.CSS<{
|
|
496
|
+
media: {};
|
|
497
|
+
theme: {};
|
|
498
|
+
themeMap: {};
|
|
499
|
+
utils: {};
|
|
500
|
+
}>) => {
|
|
501
|
+
'&:hover, &[data-hovered]': _stitches_react.CSS<{
|
|
502
|
+
media: {};
|
|
503
|
+
theme: {};
|
|
504
|
+
themeMap: {};
|
|
505
|
+
utils: {};
|
|
506
|
+
}>;
|
|
507
|
+
};
|
|
494
508
|
}>>>, 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>>, {}, {}>;
|
|
495
509
|
declare type StyledViewportProps = StrictComponentProps<typeof StyledViewport>;
|
|
496
510
|
|
|
@@ -983,6 +997,19 @@ declare const StyledScrollbar: react.ForwardRefExoticComponent<Omit<Omit<_mirohq
|
|
|
983
997
|
readonly [$$PropertyValue]: "width";
|
|
984
998
|
};
|
|
985
999
|
};
|
|
1000
|
+
_hover: (css: _stitches_react.CSS<{
|
|
1001
|
+
media: {};
|
|
1002
|
+
theme: {};
|
|
1003
|
+
themeMap: {};
|
|
1004
|
+
utils: {};
|
|
1005
|
+
}>) => {
|
|
1006
|
+
'&:hover, &[data-hovered]': _stitches_react.CSS<{
|
|
1007
|
+
media: {};
|
|
1008
|
+
theme: {};
|
|
1009
|
+
themeMap: {};
|
|
1010
|
+
utils: {};
|
|
1011
|
+
}>;
|
|
1012
|
+
};
|
|
986
1013
|
}>>>, 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>>, {}, {}>;
|
|
987
1014
|
declare type StyledScrollbarProps = StrictComponentProps<typeof StyledScrollbar>;
|
|
988
1015
|
|
|
@@ -1484,6 +1511,19 @@ declare const StyledThumb: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_des
|
|
|
1484
1511
|
readonly [$$PropertyValue]: "width";
|
|
1485
1512
|
};
|
|
1486
1513
|
};
|
|
1514
|
+
_hover: (css: _stitches_react.CSS<{
|
|
1515
|
+
media: {};
|
|
1516
|
+
theme: {};
|
|
1517
|
+
themeMap: {};
|
|
1518
|
+
utils: {};
|
|
1519
|
+
}>) => {
|
|
1520
|
+
'&:hover, &[data-hovered]': _stitches_react.CSS<{
|
|
1521
|
+
media: {};
|
|
1522
|
+
theme: {};
|
|
1523
|
+
themeMap: {};
|
|
1524
|
+
utils: {};
|
|
1525
|
+
}>;
|
|
1526
|
+
};
|
|
1487
1527
|
}>>>, 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>>, {}, {}>;
|
|
1488
1528
|
declare type StyledThumbProps = StrictComponentProps<typeof StyledThumb>;
|
|
1489
1529
|
|
|
@@ -1981,6 +2021,19 @@ declare const StyledCorner: react__default.ForwardRefExoticComponent<Omit<Omit<_
|
|
|
1981
2021
|
readonly [$$PropertyValue]: "width";
|
|
1982
2022
|
};
|
|
1983
2023
|
};
|
|
2024
|
+
_hover: (css: _stitches_react.CSS<{
|
|
2025
|
+
media: {};
|
|
2026
|
+
theme: {};
|
|
2027
|
+
themeMap: {};
|
|
2028
|
+
utils: {};
|
|
2029
|
+
}>) => {
|
|
2030
|
+
'&:hover, &[data-hovered]': _stitches_react.CSS<{
|
|
2031
|
+
media: {};
|
|
2032
|
+
theme: {};
|
|
2033
|
+
themeMap: {};
|
|
2034
|
+
utils: {};
|
|
2035
|
+
}>;
|
|
2036
|
+
};
|
|
1984
2037
|
}>>>, 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>>, {}, {}>;
|
|
1985
2038
|
declare type StyledCornerProps = StrictComponentProps<typeof StyledCorner>;
|
|
1986
2039
|
interface CornerProps extends StyledCornerProps {
|
|
@@ -2472,6 +2525,19 @@ declare const StyledScrollArea: react.ForwardRefExoticComponent<Omit<Omit<_miroh
|
|
|
2472
2525
|
readonly [$$PropertyValue]: "width";
|
|
2473
2526
|
};
|
|
2474
2527
|
};
|
|
2528
|
+
_hover: (css: _stitches_react.CSS<{
|
|
2529
|
+
media: {};
|
|
2530
|
+
theme: {};
|
|
2531
|
+
themeMap: {};
|
|
2532
|
+
utils: {};
|
|
2533
|
+
}>) => {
|
|
2534
|
+
'&:hover, &[data-hovered]': _stitches_react.CSS<{
|
|
2535
|
+
media: {};
|
|
2536
|
+
theme: {};
|
|
2537
|
+
themeMap: {};
|
|
2538
|
+
utils: {};
|
|
2539
|
+
}>;
|
|
2540
|
+
};
|
|
2475
2541
|
}>>>, 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>>, {}, {}>;
|
|
2476
2542
|
declare type StyledScrollAreaProps = StrictComponentProps<typeof StyledScrollArea>;
|
|
2477
2543
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-scroll-area",
|
|
3
|
-
"version": "0.1.
|
|
3
|
+
"version": "0.1.19",
|
|
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.
|
|
30
|
+
"@mirohq/design-system-stitches": "^2.5.0"
|
|
31
31
|
},
|
|
32
32
|
"scripts": {
|
|
33
33
|
"build": "rollup -c ../../../rollup.config.js",
|