@mirohq/design-system-select 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.
- package/dist/types.d.ts +106 -1
- package/package.json +4 -4
package/dist/types.d.ts
CHANGED
|
@@ -5,10 +5,11 @@ import * as _mirohq_design_system_stitches from '@mirohq/design-system-stitches'
|
|
|
5
5
|
import { StrictComponentProps } from '@mirohq/design-system-stitches';
|
|
6
6
|
import * as _stitches_react_types_styled_component from '@stitches/react/types/styled-component';
|
|
7
7
|
import * as _stitches_react_types_css_util from '@stitches/react/types/css-util';
|
|
8
|
+
import * as _stitches_react from '@stitches/react';
|
|
9
|
+
import { CSSProperties } from '@stitches/react';
|
|
8
10
|
import * as _radix_ui_react_select from '@radix-ui/react-select';
|
|
9
11
|
import { Value as Value$1 } from '@radix-ui/react-select';
|
|
10
12
|
import { HoverEvents } from '@react-types/shared';
|
|
11
|
-
import { CSSProperties } from '@stitches/react';
|
|
12
13
|
|
|
13
14
|
declare const StyledGroup: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_design_system_stitches.StyledComponentProps<_stitches_react_types_styled_component.StyledComponent<react.ForwardRefExoticComponent<_radix_ui_react_select.SelectGroupProps & react.RefAttributes<HTMLDivElement>>, {}, {}, _stitches_react_types_css_util.CSS<{}, {
|
|
14
15
|
'border-widths': {
|
|
@@ -495,6 +496,19 @@ declare const StyledGroup: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_des
|
|
|
495
496
|
readonly [$$PropertyValue]: "width";
|
|
496
497
|
};
|
|
497
498
|
};
|
|
499
|
+
_hover: (css: _stitches_react.CSS<{
|
|
500
|
+
media: {};
|
|
501
|
+
theme: {};
|
|
502
|
+
themeMap: {};
|
|
503
|
+
utils: {};
|
|
504
|
+
}>) => {
|
|
505
|
+
'&:hover, &[data-hovered]': _stitches_react.CSS<{
|
|
506
|
+
media: {};
|
|
507
|
+
theme: {};
|
|
508
|
+
themeMap: {};
|
|
509
|
+
utils: {};
|
|
510
|
+
}>;
|
|
511
|
+
};
|
|
498
512
|
}>>>, 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_select.SelectGroupProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
499
513
|
declare type StyledGroupProps = StrictComponentProps<typeof StyledGroup>;
|
|
500
514
|
|
|
@@ -987,6 +1001,19 @@ declare const StyledItem: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_desi
|
|
|
987
1001
|
readonly [$$PropertyValue]: "width";
|
|
988
1002
|
};
|
|
989
1003
|
};
|
|
1004
|
+
_hover: (css: _stitches_react.CSS<{
|
|
1005
|
+
media: {};
|
|
1006
|
+
theme: {};
|
|
1007
|
+
themeMap: {};
|
|
1008
|
+
utils: {};
|
|
1009
|
+
}>) => {
|
|
1010
|
+
'&:hover, &[data-hovered]': _stitches_react.CSS<{
|
|
1011
|
+
media: {};
|
|
1012
|
+
theme: {};
|
|
1013
|
+
themeMap: {};
|
|
1014
|
+
utils: {};
|
|
1015
|
+
}>;
|
|
1016
|
+
};
|
|
990
1017
|
}>>>, 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_select.SelectItemProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
991
1018
|
declare type StyledItemProps = StrictComponentProps<typeof StyledItem>;
|
|
992
1019
|
|
|
@@ -1493,6 +1520,19 @@ declare const StyledPortal: react.ForwardRefExoticComponent<Omit<_mirohq_design_
|
|
|
1493
1520
|
readonly [$$PropertyValue]: "width";
|
|
1494
1521
|
};
|
|
1495
1522
|
};
|
|
1523
|
+
_hover: (css: _stitches_react.CSS<{
|
|
1524
|
+
media: {};
|
|
1525
|
+
theme: {};
|
|
1526
|
+
themeMap: {};
|
|
1527
|
+
utils: {};
|
|
1528
|
+
}>) => {
|
|
1529
|
+
'&:hover, &[data-hovered]': _stitches_react.CSS<{
|
|
1530
|
+
media: {};
|
|
1531
|
+
theme: {};
|
|
1532
|
+
themeMap: {};
|
|
1533
|
+
utils: {};
|
|
1534
|
+
}>;
|
|
1535
|
+
};
|
|
1496
1536
|
}>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps & react.RefAttributes<never>> & _mirohq_design_system_stitches.StitchesInternals<react.FC<_radix_ui_react_select.SelectPortalProps>, {}, {}>;
|
|
1497
1537
|
declare type StyledPortalProps = StrictComponentProps<typeof StyledPortal>;
|
|
1498
1538
|
|
|
@@ -1989,6 +2029,19 @@ declare const StyledTrigger: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_d
|
|
|
1989
2029
|
readonly [$$PropertyValue]: "width";
|
|
1990
2030
|
};
|
|
1991
2031
|
};
|
|
2032
|
+
_hover: (css: _stitches_react.CSS<{
|
|
2033
|
+
media: {};
|
|
2034
|
+
theme: {};
|
|
2035
|
+
themeMap: {};
|
|
2036
|
+
utils: {};
|
|
2037
|
+
}>) => {
|
|
2038
|
+
'&:hover, &[data-hovered]': _stitches_react.CSS<{
|
|
2039
|
+
media: {};
|
|
2040
|
+
theme: {};
|
|
2041
|
+
themeMap: {};
|
|
2042
|
+
utils: {};
|
|
2043
|
+
}>;
|
|
2044
|
+
};
|
|
1992
2045
|
}>>>, "size"> & _stitches_react_types_styled_component.TransformProps<{
|
|
1993
2046
|
size?: "large" | "x-large" | undefined;
|
|
1994
2047
|
}, {}> & _mirohq_design_system_stitches.CustomStylesProps, "ref"> & react.RefAttributes<HTMLButtonElement>> & _mirohq_design_system_stitches.StitchesInternals<react.ForwardRefExoticComponent<_radix_ui_react_select.SelectTriggerProps & react.RefAttributes<HTMLButtonElement>>, {
|
|
@@ -2503,6 +2556,19 @@ declare const StyledContent: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_d
|
|
|
2503
2556
|
readonly [$$PropertyValue]: "width";
|
|
2504
2557
|
};
|
|
2505
2558
|
};
|
|
2559
|
+
_hover: (css: _stitches_react.CSS<{
|
|
2560
|
+
media: {};
|
|
2561
|
+
theme: {};
|
|
2562
|
+
themeMap: {};
|
|
2563
|
+
utils: {};
|
|
2564
|
+
}>) => {
|
|
2565
|
+
'&:hover, &[data-hovered]': _stitches_react.CSS<{
|
|
2566
|
+
media: {};
|
|
2567
|
+
theme: {};
|
|
2568
|
+
themeMap: {};
|
|
2569
|
+
utils: {};
|
|
2570
|
+
}>;
|
|
2571
|
+
};
|
|
2506
2572
|
}>>>, 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_select.SelectContentProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
2507
2573
|
declare type StyledContentProps = StrictComponentProps<typeof StyledContent>;
|
|
2508
2574
|
|
|
@@ -3113,6 +3179,19 @@ declare const StyledLabel: react.ForwardRefExoticComponent<Omit<Omit<_mirohq_des
|
|
|
3113
3179
|
readonly [$$PropertyValue]: "width";
|
|
3114
3180
|
};
|
|
3115
3181
|
};
|
|
3182
|
+
_hover: (css: _stitches_react.CSS<{
|
|
3183
|
+
media: {};
|
|
3184
|
+
theme: {};
|
|
3185
|
+
themeMap: {};
|
|
3186
|
+
utils: {};
|
|
3187
|
+
}>) => {
|
|
3188
|
+
'&:hover, &[data-hovered]': _stitches_react.CSS<{
|
|
3189
|
+
media: {};
|
|
3190
|
+
theme: {};
|
|
3191
|
+
themeMap: {};
|
|
3192
|
+
utils: {};
|
|
3193
|
+
}>;
|
|
3194
|
+
};
|
|
3116
3195
|
}>>>, 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_select.SelectLabelProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
3117
3196
|
declare type StyledLabelProps = StrictComponentProps<typeof StyledLabel>;
|
|
3118
3197
|
|
|
@@ -3605,6 +3684,19 @@ declare const StyledSeparator: react.ForwardRefExoticComponent<Omit<Omit<_mirohq
|
|
|
3605
3684
|
readonly [$$PropertyValue]: "width";
|
|
3606
3685
|
};
|
|
3607
3686
|
};
|
|
3687
|
+
_hover: (css: _stitches_react.CSS<{
|
|
3688
|
+
media: {};
|
|
3689
|
+
theme: {};
|
|
3690
|
+
themeMap: {};
|
|
3691
|
+
utils: {};
|
|
3692
|
+
}>) => {
|
|
3693
|
+
'&:hover, &[data-hovered]': _stitches_react.CSS<{
|
|
3694
|
+
media: {};
|
|
3695
|
+
theme: {};
|
|
3696
|
+
themeMap: {};
|
|
3697
|
+
utils: {};
|
|
3698
|
+
}>;
|
|
3699
|
+
};
|
|
3608
3700
|
}>>>, 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_select.SelectSeparatorProps & react.RefAttributes<HTMLDivElement>>, {}, {}>;
|
|
3609
3701
|
declare type StyledSeparatorProps = StrictComponentProps<typeof StyledSeparator>;
|
|
3610
3702
|
|
|
@@ -4097,6 +4189,19 @@ declare const StyledSelect: react.ForwardRefExoticComponent<Omit<_mirohq_design_
|
|
|
4097
4189
|
readonly [$$PropertyValue]: "width";
|
|
4098
4190
|
};
|
|
4099
4191
|
};
|
|
4192
|
+
_hover: (css: _stitches_react.CSS<{
|
|
4193
|
+
media: {};
|
|
4194
|
+
theme: {};
|
|
4195
|
+
themeMap: {};
|
|
4196
|
+
utils: {};
|
|
4197
|
+
}>) => {
|
|
4198
|
+
'&:hover, &[data-hovered]': _stitches_react.CSS<{
|
|
4199
|
+
media: {};
|
|
4200
|
+
theme: {};
|
|
4201
|
+
themeMap: {};
|
|
4202
|
+
utils: {};
|
|
4203
|
+
}>;
|
|
4204
|
+
};
|
|
4100
4205
|
}>>>, never> & _stitches_react_types_styled_component.TransformProps<{}, {}> & _mirohq_design_system_stitches.CustomStylesProps & react.RefAttributes<never>> & _mirohq_design_system_stitches.StitchesInternals<react.FC<_radix_ui_react_select.SelectProps>, {}, {}>;
|
|
4101
4206
|
declare type StyledSelectProps = ComponentPropsWithRef<typeof StyledSelect>;
|
|
4102
4207
|
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@mirohq/design-system-select",
|
|
3
|
-
"version": "0.2.
|
|
3
|
+
"version": "0.2.4",
|
|
4
4
|
"description": "",
|
|
5
5
|
"author": "Miro",
|
|
6
6
|
"source": "src/index.ts",
|
|
@@ -29,11 +29,11 @@
|
|
|
29
29
|
"@radix-ui/react-select": "^2.0.0",
|
|
30
30
|
"@react-aria/interactions": "^3.13.0",
|
|
31
31
|
"@react-types/shared": "^3.16.0",
|
|
32
|
-
"@mirohq/design-system-icons": "^0.32.
|
|
32
|
+
"@mirohq/design-system-icons": "^0.32.5",
|
|
33
|
+
"@mirohq/design-system-stitches": "^2.5.0",
|
|
33
34
|
"@mirohq/design-system-primitive": "^1.1.1",
|
|
34
|
-
"@mirohq/design-system-
|
|
35
|
+
"@mirohq/design-system-scroll-area": "^0.1.19",
|
|
35
36
|
"@mirohq/design-system-types": "^0.6.2",
|
|
36
|
-
"@mirohq/design-system-scroll-area": "^0.1.18",
|
|
37
37
|
"@mirohq/design-system-utils": "^0.14.3"
|
|
38
38
|
},
|
|
39
39
|
"scripts": {
|