@rescui/menu 0.13.8-RUI-297-Add-react-compiler-to-the-packages-build-f15074a13.15 → 0.14.1
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/lib/_virtual/check-outline.js +106 -0
- package/lib/_virtual/index.css.js +15 -0
- package/lib/index.css +201 -76
- package/lib/index.d.ts +1 -5
- package/lib/menu.d.ts +17 -11
- package/lib/menu.js +108 -24
- package/lib/menu.p.module.css.js +34 -27
- package/lib/parts/divider.d.ts +3 -6
- package/lib/parts/divider.js +1 -0
- package/lib/parts/group-header.d.ts +2 -8
- package/lib/parts/group-header.js +2 -1
- package/lib/parts/menu-context.d.ts +2 -19
- package/lib/parts/menu-context.js +7 -8
- package/lib/parts/menu-item.d.ts +25 -13
- package/lib/parts/menu-item.js +98 -34
- package/lib/parts/navigation-utils.d.ts +2 -2
- package/lib/parts/use-menu-keyboard-navigation.d.ts +7 -5
- package/lib/parts/use-menu-keyboard-navigation.js +98 -99
- package/lib/public-api.p.css +57 -76
- package/lib/public-api.pcss +57 -76
- package/lib/types.d.ts +87 -0
- package/llm/components/menu.md +79 -8
- package/package.json +8 -8
|
@@ -0,0 +1,106 @@
|
|
|
1
|
+
import _extends from '@babel/runtime-corejs3/helpers/esm/extends';
|
|
2
|
+
import React from 'react';
|
|
3
|
+
import PropTypes from 'prop-types';
|
|
4
|
+
import cn from 'classnames';
|
|
5
|
+
import styles from './index.css.js';
|
|
6
|
+
const sizeStyles = {
|
|
7
|
+
"xs": styles.sizeXS,
|
|
8
|
+
"s": styles.sizeS,
|
|
9
|
+
"m": styles.sizeM,
|
|
10
|
+
"l": styles.sizeL
|
|
11
|
+
};
|
|
12
|
+
const Size = {
|
|
13
|
+
"xs": "xs",
|
|
14
|
+
"s": "s",
|
|
15
|
+
"m": "m",
|
|
16
|
+
"l": "l"
|
|
17
|
+
};
|
|
18
|
+
const CheckOutlineIcon16 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
19
|
+
viewBox: "0 0 16 16"
|
|
20
|
+
}, props, {
|
|
21
|
+
ref: ref
|
|
22
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
23
|
+
d: "M13.854 4.146a.5.5 0 0 1 0 .708l-7 7a.5.5 0 0 1-.708 0l-3.5-3.5a.5.5 0 1 1 .708-.708L6.5 10.793l6.646-6.647a.5.5 0 0 1 .708 0"
|
|
24
|
+
})));
|
|
25
|
+
CheckOutlineIcon16.displayName = 'CheckOutlineIcon16';
|
|
26
|
+
const CheckOutlineIcon20 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
27
|
+
viewBox: "0 0 20 20"
|
|
28
|
+
}, props, {
|
|
29
|
+
ref: ref
|
|
30
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
31
|
+
d: "M16.53 5.47a.75.75 0 0 1 0 1.06l-8 8a.75.75 0 0 1-1.06 0l-4-4a.75.75 0 1 1 1.06-1.06L8 12.94l7.47-7.47a.75.75 0 0 1 1.06 0"
|
|
32
|
+
})));
|
|
33
|
+
CheckOutlineIcon20.displayName = 'CheckOutlineIcon20';
|
|
34
|
+
const CheckOutlineIcon24 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
35
|
+
viewBox: "0 0 24 24"
|
|
36
|
+
}, props, {
|
|
37
|
+
ref: ref
|
|
38
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
39
|
+
d: "M19.707 6.293a1 1 0 0 1 0 1.414l-10 10a1 1 0 0 1-1.414 0l-5-5a1 1 0 1 1 1.414-1.414L9 15.586l9.293-9.293a1 1 0 0 1 1.414 0"
|
|
40
|
+
})));
|
|
41
|
+
CheckOutlineIcon24.displayName = 'CheckOutlineIcon24';
|
|
42
|
+
const CheckOutlineIcon28 = /*#__PURE__*/React.forwardRef((props, ref) => /*#__PURE__*/React.createElement("svg", _extends({
|
|
43
|
+
viewBox: "0 0 28 28"
|
|
44
|
+
}, props, {
|
|
45
|
+
ref: ref
|
|
46
|
+
}), /*#__PURE__*/React.createElement("path", {
|
|
47
|
+
d: "M22.676 7.263a1 1 0 0 1 .061 1.413l-11 12a1 1 0 0 1-1.444.031l-6-6a1 1 0 1 1 1.414-1.414l5.262 5.261 10.294-11.23a1 1 0 0 1 1.413-.061"
|
|
48
|
+
})));
|
|
49
|
+
CheckOutlineIcon28.displayName = 'CheckOutlineIcon28';
|
|
50
|
+
const CheckOutlineIcon = /*#__PURE__*/React.forwardRef((_ref, ref) => {
|
|
51
|
+
let {
|
|
52
|
+
theme,
|
|
53
|
+
size: sizeFromProps = "m",
|
|
54
|
+
className,
|
|
55
|
+
style,
|
|
56
|
+
['data-render-all-sizes']: renderAllSizes = false,
|
|
57
|
+
...props
|
|
58
|
+
} = _ref;
|
|
59
|
+
const size = sizeFromProps in Size ? sizeFromProps : "m";
|
|
60
|
+
const mainProps = { ...props,
|
|
61
|
+
className: cn(styles.icon, styles[theme], sizeStyles[size], renderAllSizes && styles.allVariants, className),
|
|
62
|
+
style: renderAllSizes ? {
|
|
63
|
+
'--rs-icon-ar-width': 28,
|
|
64
|
+
'--rs-icon-ar-height': 28,
|
|
65
|
+
...style
|
|
66
|
+
} : style,
|
|
67
|
+
ref
|
|
68
|
+
};
|
|
69
|
+
|
|
70
|
+
if (renderAllSizes) {
|
|
71
|
+
return /*#__PURE__*/React.createElement("svg", _extends({
|
|
72
|
+
viewBox: "0 0 28 28"
|
|
73
|
+
}, mainProps), /*#__PURE__*/React.createElement(CheckOutlineIcon16, {
|
|
74
|
+
className: styles.variant16
|
|
75
|
+
}), /*#__PURE__*/React.createElement(CheckOutlineIcon20, {
|
|
76
|
+
className: styles.variant20
|
|
77
|
+
}), /*#__PURE__*/React.createElement(CheckOutlineIcon24, {
|
|
78
|
+
className: styles.variant24
|
|
79
|
+
}), /*#__PURE__*/React.createElement(CheckOutlineIcon28, {
|
|
80
|
+
className: styles.variant28
|
|
81
|
+
}));
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
if (size === Size['xs']) {
|
|
85
|
+
return /*#__PURE__*/React.createElement(CheckOutlineIcon16, mainProps);
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
if (size === Size['s']) {
|
|
89
|
+
return /*#__PURE__*/React.createElement(CheckOutlineIcon20, mainProps);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
if (size === Size['m']) {
|
|
93
|
+
return /*#__PURE__*/React.createElement(CheckOutlineIcon24, mainProps);
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
return /*#__PURE__*/React.createElement(CheckOutlineIcon28, mainProps);
|
|
97
|
+
});
|
|
98
|
+
CheckOutlineIcon.displayName = 'CheckOutlineIcon';
|
|
99
|
+
CheckOutlineIcon.propTypes = {
|
|
100
|
+
className: PropTypes.string,
|
|
101
|
+
theme: PropTypes.oneOf(["light", "dark"]),
|
|
102
|
+
size: PropTypes.oneOf(["xs", "s", "m", "l"]),
|
|
103
|
+
'data-render-all-sizes': PropTypes.bool,
|
|
104
|
+
style: PropTypes.object
|
|
105
|
+
};
|
|
106
|
+
export { Size, CheckOutlineIcon as default };
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
var styles = {
|
|
2
|
+
"icon": "_icon_1npbgia_4",
|
|
3
|
+
"sizeXS": "_sizeXS_1npbgia_14",
|
|
4
|
+
"sizeS": "_sizeS_1npbgia_18",
|
|
5
|
+
"sizeM": "_sizeM_1npbgia_22",
|
|
6
|
+
"sizeL": "_sizeL_1npbgia_26",
|
|
7
|
+
"light": "_light_1npbgia_30",
|
|
8
|
+
"dark": "_dark_1npbgia_34",
|
|
9
|
+
"allVariants": "_allVariants_1npbgia_48",
|
|
10
|
+
"variant16": "_variant16_1npbgia_53",
|
|
11
|
+
"variant20": "_variant20_1npbgia_54",
|
|
12
|
+
"variant24": "_variant24_1npbgia_55",
|
|
13
|
+
"variant28": "_variant28_1npbgia_58"
|
|
14
|
+
};
|
|
15
|
+
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -1,10 +1,121 @@
|
|
|
1
|
-
|
|
1
|
+
@property --_rs-theme-dark-coefficient{
|
|
2
|
+
syntax:'<number>';
|
|
3
|
+
inherits:true;
|
|
4
|
+
initial-value:0;
|
|
5
|
+
}
|
|
6
|
+
._icon_1npbgia_4{
|
|
7
|
+
--_rs-theme-dark:var(
|
|
8
|
+
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
9
|
+
var(--rs-theme-dark, 0)
|
|
10
|
+
);
|
|
11
|
+
--_rs-theme-flip:var(--rs-theme-flip, 0);
|
|
12
|
+
--_rs-theme-dark-coefficient:calc(var(--_rs-theme-dark)*(1 - var(--_rs-theme-flip)) + var(--_rs-theme-flip)*(1 - var(--_rs-theme-dark)));
|
|
13
|
+
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
14
|
+
}
|
|
15
|
+
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
16
|
+
._icon_1npbgia_4{
|
|
17
|
+
--_rs-color-primary:color-mix(in srgb, var(--rs-color-primary-light-theme, #6B57FF) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dark-theme, #8473FF) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
18
|
+
--_rs-color-primary-dim:color-mix(in srgb, var(--rs-color-primary-dim-light-theme, #8979ff) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dim-dark-theme, #6f61d2) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
19
|
+
--_rs-color-primary-fog:color-mix(in srgb, var(--rs-color-primary-fog-light-theme, #e1ddff) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-fog-dark-theme, #2e2b49) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
20
|
+
--_rs-color-primary-t-dim:color-mix(in srgb, var(--rs-color-primary-t-dim-light-theme, rgba(107, 87, 255, 0.8)) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-t-dim-dark-theme, rgba(132, 115, 255,0.8)) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
21
|
+
--_rs-color-primary-t-fog:color-mix(in srgb, var(--rs-color-primary-t-fog-light-theme, rgba(107, 87, 255,0.2)) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-t-fog-dark-theme, rgba(132, 115, 255,0.3)) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
22
|
+
}
|
|
23
|
+
}
|
|
24
|
+
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
25
|
+
._icon_1npbgia_4{
|
|
26
|
+
--_rs-color-primary:rgb(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255);
|
|
27
|
+
--_rs-color-primary-dim:rgb(calc(var(--_rs-theme-light-coefficient, 1)*137 + var(--_rs-theme-dark-coefficient, 0)*111), calc(var(--_rs-theme-light-coefficient, 1)*121 + var(--_rs-theme-dark-coefficient, 0)*97), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*210));
|
|
28
|
+
--_rs-color-primary-fog:rgb(calc(var(--_rs-theme-light-coefficient, 1)*225 + var(--_rs-theme-dark-coefficient, 0)*46), calc(var(--_rs-theme-light-coefficient, 1)*221 + var(--_rs-theme-dark-coefficient, 0)*43), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*73));
|
|
29
|
+
--_rs-color-primary-t-dim:rgba(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255, 0.8);
|
|
30
|
+
--_rs-color-primary-t-fog:rgba(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255, calc(var(--_rs-theme-light-coefficient, 1)*0.2 + var(--_rs-theme-dark-coefficient, 0)*0.3));
|
|
31
|
+
}
|
|
32
|
+
}
|
|
33
|
+
._icon_1npbgia_4{
|
|
34
|
+
|
|
35
|
+
fill:var(--_rs-icons-themed-fill-or-initial, currentcolor);
|
|
36
|
+
|
|
37
|
+
width:var(--rs-icons-width, auto);
|
|
38
|
+
height:var(--rs-icons-height, var(--_rs-icons-height));
|
|
39
|
+
}
|
|
40
|
+
._sizeXS_1npbgia_14{
|
|
41
|
+
--_rs-icons-height:16px;
|
|
42
|
+
}
|
|
43
|
+
._sizeS_1npbgia_18{
|
|
44
|
+
--_rs-icons-height:20px;
|
|
45
|
+
}
|
|
46
|
+
._sizeM_1npbgia_22{
|
|
47
|
+
--_rs-icons-height:24px;
|
|
48
|
+
}
|
|
49
|
+
._sizeL_1npbgia_26{
|
|
50
|
+
--_rs-icons-height:28px;
|
|
51
|
+
}
|
|
52
|
+
._light_1npbgia_30{
|
|
2
53
|
--rs-theme-dark:0;
|
|
54
|
+
--_rs-icons-themed-fill-or-initial:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
3
55
|
}
|
|
4
|
-
.
|
|
56
|
+
._dark_1npbgia_34{
|
|
5
57
|
--rs-theme-dark:1;
|
|
58
|
+
--_rs-icons-themed-fill-or-initial:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
59
|
+
}
|
|
60
|
+
@keyframes rs-icon-rotate{
|
|
61
|
+
from{
|
|
62
|
+
transform:rotate(0deg);
|
|
63
|
+
}
|
|
64
|
+
to{
|
|
65
|
+
transform:rotate(360deg);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
._allVariants_1npbgia_48{
|
|
69
|
+
aspect-ratio:var(--rs-icon-ar-width, 1) / var(--rs-icon-ar-height, 1);
|
|
70
|
+
container:rs-icon / size;
|
|
71
|
+
}
|
|
72
|
+
._variant16_1npbgia_53,
|
|
73
|
+
._variant20_1npbgia_54,
|
|
74
|
+
._variant24_1npbgia_55{
|
|
75
|
+
display:none;
|
|
6
76
|
}
|
|
7
|
-
.
|
|
77
|
+
._variant28_1npbgia_58{
|
|
78
|
+
display:block;
|
|
79
|
+
}
|
|
80
|
+
@container rs-icon (max-height: 24px){
|
|
81
|
+
._variant24_1npbgia_55{
|
|
82
|
+
display:block;
|
|
83
|
+
}
|
|
84
|
+
._variant28_1npbgia_58{
|
|
85
|
+
display:none;
|
|
86
|
+
}
|
|
87
|
+
}
|
|
88
|
+
@container rs-icon (max-height: 20px){
|
|
89
|
+
._variant20_1npbgia_54{
|
|
90
|
+
display:block;
|
|
91
|
+
}
|
|
92
|
+
._variant24_1npbgia_55{
|
|
93
|
+
display:none;
|
|
94
|
+
}
|
|
95
|
+
}
|
|
96
|
+
@container rs-icon (max-height: 16px){
|
|
97
|
+
._variant16_1npbgia_53{
|
|
98
|
+
display:block;
|
|
99
|
+
}
|
|
100
|
+
._variant20_1npbgia_54{
|
|
101
|
+
display:none;
|
|
102
|
+
}
|
|
103
|
+
}
|
|
104
|
+
@property --_rs-theme-dark-coefficient{
|
|
105
|
+
syntax:'<number>';
|
|
106
|
+
inherits:true;
|
|
107
|
+
initial-value:0;
|
|
108
|
+
}
|
|
109
|
+
._themeLight_9jqyem_8{
|
|
110
|
+
--rs-theme-dark:0;
|
|
111
|
+
}
|
|
112
|
+
._themeDark_9jqyem_11{
|
|
113
|
+
--rs-theme-dark:1;
|
|
114
|
+
}
|
|
115
|
+
._menu_9jqyem_15:focus{
|
|
116
|
+
outline:none;
|
|
117
|
+
}
|
|
118
|
+
._sizeS_9jqyem_21{
|
|
8
119
|
--_rs-menu-mi-icon-offset:8px;
|
|
9
120
|
--_rs-menu-mi-icon-size:20px;
|
|
10
121
|
--_rs-menu-mi-vertical-padding:6px;
|
|
@@ -43,7 +154,7 @@
|
|
|
43
154
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
44
155
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
45
156
|
}
|
|
46
|
-
.
|
|
157
|
+
._sizeM_9jqyem_24{
|
|
47
158
|
--_rs-menu-mi-icon-offset:8px;
|
|
48
159
|
--_rs-menu-mi-icon-size:24px;
|
|
49
160
|
--_rs-menu-mi-vertical-padding:8px;
|
|
@@ -86,11 +197,11 @@
|
|
|
86
197
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
87
198
|
}
|
|
88
199
|
@media screen and (max-width: 640px){
|
|
89
|
-
.
|
|
200
|
+
._sizeM_9jqyem_24{
|
|
90
201
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
91
202
|
}
|
|
92
203
|
}
|
|
93
|
-
.
|
|
204
|
+
._sizeL_9jqyem_27{
|
|
94
205
|
--_rs-menu-mi-icon-offset:16px;
|
|
95
206
|
--_rs-menu-mi-icon-size:28px;
|
|
96
207
|
--_rs-menu-mi-vertical-padding:12px;
|
|
@@ -133,60 +244,69 @@
|
|
|
133
244
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
134
245
|
}
|
|
135
246
|
@media screen and (max-width: 640px){
|
|
136
|
-
.
|
|
247
|
+
._sizeL_9jqyem_27{
|
|
137
248
|
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
138
249
|
}
|
|
139
250
|
}
|
|
140
|
-
.
|
|
251
|
+
._modeClassic_9jqyem_31{
|
|
141
252
|
--_rs-menu-mi-horizontal-padding-with-mode:var(
|
|
142
253
|
--_rs-menu-mi-horizontal-padding
|
|
143
254
|
);
|
|
144
|
-
--_rs-menu-mi-active-background:var(--_rs-color-primary-t-fog);
|
|
145
|
-
--_rs-menu-mi-selected-color:rgb(calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*227));
|
|
146
|
-
--_rs-menu-mi-selected-background:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
147
|
-
--_rs-menu-mi-hover-color:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
148
|
-
--_rs-menu-mi-hover-background:rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.1);
|
|
149
|
-
--_rs-menu-mi-selected-hover-color:rgb(calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*227));
|
|
150
|
-
--_rs-menu-mi-selected-hover-background:rgb(
|
|
151
|
-
calc(48 + var(--_rs-theme-dark-coefficient, 0)*184), calc(48 + var(--_rs-theme-dark-coefficient, 0)*184), calc(51 + var(--_rs-theme-dark-coefficient, 0)*181)
|
|
152
|
-
);
|
|
153
255
|
}
|
|
154
|
-
.
|
|
256
|
+
._modeClassic_9jqyem_31 [data-rs-internal="menu__menu-item__inner"]{
|
|
257
|
+
--_rs-menu-mi-color:rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.7);
|
|
258
|
+
--_rs-menu-mi-active-background:var(--_rs-color-primary-t-fog);
|
|
259
|
+
--_rs-menu-mi-selected-color:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
260
|
+
--_rs-menu-mi-selected-background:rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.1);
|
|
261
|
+
--_rs-menu-mi-hover-color:rgb(
|
|
262
|
+
calc(255 - var(--rs-menu-contrast-primary, 0)*230),
|
|
263
|
+
calc(255 - var(--rs-menu-contrast-primary, 0)*230),
|
|
264
|
+
calc(255 - var(--rs-menu-contrast-primary, 0)*227)
|
|
265
|
+
);
|
|
266
|
+
--_rs-menu-mi-hover-background:var(--_rs-color-primary);
|
|
267
|
+
}
|
|
268
|
+
._modeRock_9jqyem_34{
|
|
155
269
|
--_rs-menu-mi-horizontal-padding-with-mode:var(
|
|
156
270
|
--_rs-menu-mi-horizontal-padding
|
|
157
271
|
);
|
|
158
|
-
--_rs-menu-mi-active-background:none;
|
|
159
|
-
--_rs-menu-mi-selected-color:rgb(calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*227));
|
|
160
|
-
--_rs-menu-mi-selected-background:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
161
|
-
--_rs-menu-mi-hover-color:#FFFFFF;
|
|
162
|
-
--_rs-menu-mi-hover-background:var(--_rs-color-primary);
|
|
163
|
-
--_rs-menu-mi-selected-hover-color:rgb(calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*227));
|
|
164
|
-
--_rs-menu-mi-selected-hover-background:rgb(
|
|
165
|
-
calc(48 + var(--_rs-theme-dark-coefficient, 0)*184), calc(48 + var(--_rs-theme-dark-coefficient, 0)*184), calc(51 + var(--_rs-theme-dark-coefficient, 0)*181)
|
|
166
|
-
);
|
|
167
272
|
}
|
|
168
|
-
.
|
|
273
|
+
._modeRock_9jqyem_34 [data-rs-internal="menu__menu-item__inner"]{
|
|
274
|
+
--_rs-menu-mi-color:rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.7);
|
|
275
|
+
--_rs-menu-mi-active-background:transparent;
|
|
276
|
+
--_rs-menu-mi-selected-color:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
277
|
+
--_rs-menu-mi-selected-background:rgb(calc(232 - var(--_rs-theme-dark-coefficient, 0)*184), calc(232 - var(--_rs-theme-dark-coefficient, 0)*184), calc(232 - var(--_rs-theme-dark-coefficient, 0)*181));
|
|
278
|
+
--_rs-menu-mi-hover-color:rgb(calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*227));
|
|
279
|
+
--_rs-menu-mi-hover-background:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
280
|
+
}
|
|
281
|
+
._modeClear_9jqyem_37{
|
|
169
282
|
--_rs-menu-mi-horizontal-padding-with-mode:0;
|
|
170
|
-
--_rs-menu-mi-active-background:none;
|
|
171
|
-
--_rs-menu-mi-selected-color:var(--_rs-color-primary);
|
|
172
|
-
--_rs-menu-mi-selected-background:none;
|
|
173
|
-
--_rs-menu-mi-hover-color:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
174
|
-
--_rs-menu-mi-hover-background:none;
|
|
175
|
-
--_rs-menu-mi-selected-hover-color:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
176
|
-
--_rs-menu-mi-selected-hover-background:rgba(
|
|
177
|
-
calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227),
|
|
178
|
-
0.1
|
|
179
|
-
);
|
|
180
283
|
}
|
|
181
|
-
.
|
|
284
|
+
._modeClear_9jqyem_37 [data-rs-internal="menu__menu-item__inner"]{
|
|
285
|
+
--_rs-menu-mi-color:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
286
|
+
--_rs-menu-mi-active-background:transparent;
|
|
287
|
+
--_rs-menu-mi-selected-color:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
288
|
+
--_rs-menu-mi-selected-background:rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.1);
|
|
289
|
+
--_rs-menu-mi-hover-color:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
290
|
+
--_rs-menu-mi-hover-background:transparent;
|
|
291
|
+
}
|
|
292
|
+
._iconPlacementLeft_9jqyem_41{
|
|
182
293
|
--_rs-menu-mi-flex-direction:row;
|
|
183
294
|
--_rs-menu-mi-justify-content:initial;
|
|
184
295
|
}
|
|
185
|
-
.
|
|
296
|
+
._iconPlacementRight_9jqyem_45{
|
|
186
297
|
--_rs-menu-mi-flex-direction:row-reverse;
|
|
187
298
|
--_rs-menu-mi-justify-content:space-between;
|
|
188
299
|
}
|
|
189
|
-
.
|
|
300
|
+
._wrapper_9jqyem_49{
|
|
301
|
+
display:flex;
|
|
302
|
+
}
|
|
303
|
+
._hoverIcon_9jqyem_53{
|
|
304
|
+
visibility:hidden;
|
|
305
|
+
}
|
|
306
|
+
._hoverIcon_9jqyem_53._hoverIconNoReserve_9jqyem_56{
|
|
307
|
+
display:none;
|
|
308
|
+
}
|
|
309
|
+
._menuItem_9jqyem_61{
|
|
190
310
|
--_rs-theme-dark:var(
|
|
191
311
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
192
312
|
var(--rs-theme-dark, 0)
|
|
@@ -196,7 +316,7 @@
|
|
|
196
316
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
197
317
|
}
|
|
198
318
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
199
|
-
.
|
|
319
|
+
._menuItem_9jqyem_61{
|
|
200
320
|
--_rs-color-primary:color-mix(in srgb, var(--rs-color-primary-light-theme, #6B57FF) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dark-theme, #8473FF) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
201
321
|
--_rs-color-primary-dim:color-mix(in srgb, var(--rs-color-primary-dim-light-theme, #8979ff) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dim-dark-theme, #6f61d2) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
202
322
|
--_rs-color-primary-fog:color-mix(in srgb, var(--rs-color-primary-fog-light-theme, #e1ddff) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-fog-dark-theme, #2e2b49) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
@@ -205,7 +325,7 @@
|
|
|
205
325
|
}
|
|
206
326
|
}
|
|
207
327
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
208
|
-
.
|
|
328
|
+
._menuItem_9jqyem_61{
|
|
209
329
|
--_rs-color-primary:rgb(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255);
|
|
210
330
|
--_rs-color-primary-dim:rgb(calc(var(--_rs-theme-light-coefficient, 1)*137 + var(--_rs-theme-dark-coefficient, 0)*111), calc(var(--_rs-theme-light-coefficient, 1)*121 + var(--_rs-theme-dark-coefficient, 0)*97), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*210));
|
|
211
331
|
--_rs-color-primary-fog:rgb(calc(var(--_rs-theme-light-coefficient, 1)*225 + var(--_rs-theme-dark-coefficient, 0)*46), calc(var(--_rs-theme-light-coefficient, 1)*221 + var(--_rs-theme-dark-coefficient, 0)*43), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*73));
|
|
@@ -213,11 +333,7 @@
|
|
|
213
333
|
--_rs-color-primary-t-fog:rgba(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255, calc(var(--_rs-theme-light-coefficient, 1)*0.2 + var(--_rs-theme-dark-coefficient, 0)*0.3));
|
|
214
334
|
}
|
|
215
335
|
}
|
|
216
|
-
.
|
|
217
|
-
|
|
218
|
-
display:flex;
|
|
219
|
-
}
|
|
220
|
-
._menuItem_3wqhbb_50{
|
|
336
|
+
._menuItem_9jqyem_61 {
|
|
221
337
|
letter-spacing:var(
|
|
222
338
|
--rs-text-base-letter-spacing,
|
|
223
339
|
var(--_rs-typography-letter-spacing)
|
|
@@ -250,7 +366,7 @@
|
|
|
250
366
|
text-align:start;
|
|
251
367
|
text-decoration:none;
|
|
252
368
|
|
|
253
|
-
color:
|
|
369
|
+
color:var(--_rs-menu-mi-color);
|
|
254
370
|
background:none;
|
|
255
371
|
-webkit-appearance:none;
|
|
256
372
|
-moz-appearance:none;
|
|
@@ -258,52 +374,61 @@
|
|
|
258
374
|
-webkit-font-smoothing:inherit;
|
|
259
375
|
-moz-osx-font-smoothing:inherit;
|
|
260
376
|
}
|
|
261
|
-
.
|
|
377
|
+
._menuItem_9jqyem_61:focus{
|
|
262
378
|
outline:none;
|
|
263
379
|
}
|
|
264
|
-
.
|
|
380
|
+
._keyboardNavigationDisabled_9jqyem_98 ._menuItem_9jqyem_61:focus[data-focus-method='key']{
|
|
265
381
|
box-shadow:0 0 0 2px var(--_rs-color-primary-dim), inset 0 0 0 2px var(--_rs-color-primary-dim);
|
|
266
382
|
}
|
|
267
|
-
.
|
|
383
|
+
._menuItem_9jqyem_61:active{
|
|
268
384
|
color:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227));
|
|
269
385
|
background:var(--_rs-menu-mi-active-background);
|
|
270
386
|
}
|
|
271
|
-
.
|
|
387
|
+
._menuItem_9jqyem_61._selected_9jqyem_112{
|
|
272
388
|
color:var(--_rs-menu-mi-selected-color);
|
|
273
389
|
background:var(--_rs-menu-mi-selected-background);
|
|
274
390
|
}
|
|
275
|
-
.
|
|
276
|
-
.
|
|
391
|
+
._keyboardNavigationEnabled_9jqyem_119 ._menuItem_9jqyem_61:focus,
|
|
392
|
+
._keyboardNavigationDisabled_9jqyem_98 ._menuItem_9jqyem_61:hover{
|
|
277
393
|
color:var(--_rs-menu-mi-hover-color);
|
|
278
394
|
background:var(--_rs-menu-mi-hover-background);
|
|
279
395
|
}
|
|
280
|
-
.
|
|
281
|
-
|
|
282
|
-
|
|
283
|
-
|
|
284
|
-
|
|
285
|
-
|
|
396
|
+
._keyboardNavigationEnabled_9jqyem_119 ._menuItem_9jqyem_61:focus ._hoverIcon_9jqyem_53, ._keyboardNavigationDisabled_9jqyem_98 ._menuItem_9jqyem_61:hover ._hoverIcon_9jqyem_53{
|
|
397
|
+
display:block;
|
|
398
|
+
visibility:visible;
|
|
399
|
+
}
|
|
400
|
+
._keyboardNavigationEnabled_9jqyem_119 ._menuItem_9jqyem_61._hideCustomIconOnHover_9jqyem_130:focus ._customIcon_9jqyem_132, ._keyboardNavigationDisabled_9jqyem_98 ._menuItem_9jqyem_61._hideCustomIconOnHover_9jqyem_130:hover ._customIcon_9jqyem_132{
|
|
401
|
+
display:none;
|
|
402
|
+
}
|
|
403
|
+
._keyboardNavigationEnabled_9jqyem_119 ._menuItem_9jqyem_61._hideSelectedIconOnHover_9jqyem_137:focus ._selectedIcon_9jqyem_139, ._keyboardNavigationDisabled_9jqyem_98 ._menuItem_9jqyem_61._hideSelectedIconOnHover_9jqyem_137:hover ._selectedIcon_9jqyem_139{
|
|
404
|
+
display:none;
|
|
405
|
+
}
|
|
406
|
+
._menuItem_9jqyem_61._disabled_9jqyem_144{
|
|
286
407
|
pointer-events:none;
|
|
287
408
|
|
|
288
409
|
color:rgba(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.5);
|
|
289
410
|
}
|
|
290
|
-
.
|
|
291
|
-
|
|
411
|
+
._contentWrapper_9jqyem_151{
|
|
412
|
+
display:flex;
|
|
413
|
+
flex-grow:1;
|
|
414
|
+
|
|
415
|
+
justify-content:space-between;
|
|
416
|
+
gap:var(--_rs-menu-mi-icon-offset);
|
|
292
417
|
}
|
|
293
|
-
.
|
|
418
|
+
._content_9jqyem_151{
|
|
294
419
|
flex-grow:1;
|
|
295
420
|
|
|
296
421
|
font-size:inherit;
|
|
297
422
|
}
|
|
298
|
-
.
|
|
423
|
+
._icon_9jqyem_41{
|
|
299
424
|
flex:0 0;
|
|
300
425
|
flex-basis:auto;
|
|
301
426
|
}
|
|
302
|
-
.
|
|
427
|
+
._icon_9jqyem_41._resizedIcon_9jqyem_169{
|
|
303
428
|
width:auto;
|
|
304
429
|
height:var(--_rs-menu-mi-icon-size);
|
|
305
430
|
}
|
|
306
|
-
.
|
|
431
|
+
._divider_9jqyem_177{
|
|
307
432
|
flex-shrink:0;
|
|
308
433
|
|
|
309
434
|
width:100%;
|
|
@@ -314,13 +439,13 @@
|
|
|
314
439
|
|
|
315
440
|
background-color:rgb(calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(25 + var(--_rs-theme-dark-coefficient, 0)*230), calc(28 + var(--_rs-theme-dark-coefficient, 0)*227), 0.2);
|
|
316
441
|
}
|
|
317
|
-
.
|
|
442
|
+
._groupHeaderThemeLight_9jqyem_191{
|
|
318
443
|
--rs-theme-dark:0;
|
|
319
444
|
}
|
|
320
|
-
.
|
|
445
|
+
._groupHeaderThemeDark_9jqyem_194{
|
|
321
446
|
--rs-theme-dark:1;
|
|
322
447
|
}
|
|
323
|
-
.
|
|
448
|
+
._groupHeaderSizeL_9jqyem_198{
|
|
324
449
|
--_rs-menu-gh-vertical-padding:12px;
|
|
325
450
|
--_rs-menu-gh-horizontal-padding:16px;
|
|
326
451
|
--_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
|
|
@@ -354,7 +479,7 @@
|
|
|
354
479
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
355
480
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
356
481
|
}
|
|
357
|
-
.
|
|
482
|
+
._groupHeaderSizeM_9jqyem_201{
|
|
358
483
|
--_rs-menu-gh-vertical-padding:8px;
|
|
359
484
|
--_rs-menu-gh-horizontal-padding:16px;
|
|
360
485
|
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
@@ -388,7 +513,7 @@
|
|
|
388
513
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
389
514
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
390
515
|
}
|
|
391
|
-
.
|
|
516
|
+
._groupHeaderSizeS_9jqyem_204{
|
|
392
517
|
--_rs-menu-gh-vertical-padding:6px;
|
|
393
518
|
--_rs-menu-gh-horizontal-padding:8px;
|
|
394
519
|
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
@@ -422,7 +547,7 @@
|
|
|
422
547
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
423
548
|
--_rs-typography-link-border-bottom-width-from-text:2px;
|
|
424
549
|
}
|
|
425
|
-
.
|
|
550
|
+
._groupHeader_9jqyem_191{
|
|
426
551
|
--_rs-theme-dark:var(
|
|
427
552
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
428
553
|
var(--rs-theme-dark, 0)
|
|
@@ -432,7 +557,7 @@
|
|
|
432
557
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
433
558
|
}
|
|
434
559
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
435
|
-
.
|
|
560
|
+
._groupHeader_9jqyem_191{
|
|
436
561
|
--_rs-color-primary:color-mix(in srgb, var(--rs-color-primary-light-theme, #6B57FF) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dark-theme, #8473FF) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
437
562
|
--_rs-color-primary-dim:color-mix(in srgb, var(--rs-color-primary-dim-light-theme, #8979ff) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-dim-dark-theme, #6f61d2) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
438
563
|
--_rs-color-primary-fog:color-mix(in srgb, var(--rs-color-primary-fog-light-theme, #e1ddff) calc(100%*var(--_rs-theme-light-coefficient, 1)), var(--rs-color-primary-fog-dark-theme, #2e2b49) calc(100%*var(--_rs-theme-dark-coefficient, 0)));
|
|
@@ -441,7 +566,7 @@
|
|
|
441
566
|
}
|
|
442
567
|
}
|
|
443
568
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
444
|
-
.
|
|
569
|
+
._groupHeader_9jqyem_191{
|
|
445
570
|
--_rs-color-primary:rgb(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255);
|
|
446
571
|
--_rs-color-primary-dim:rgb(calc(var(--_rs-theme-light-coefficient, 1)*137 + var(--_rs-theme-dark-coefficient, 0)*111), calc(var(--_rs-theme-light-coefficient, 1)*121 + var(--_rs-theme-dark-coefficient, 0)*97), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*210));
|
|
447
572
|
--_rs-color-primary-fog:rgb(calc(var(--_rs-theme-light-coefficient, 1)*225 + var(--_rs-theme-dark-coefficient, 0)*46), calc(var(--_rs-theme-light-coefficient, 1)*221 + var(--_rs-theme-dark-coefficient, 0)*43), calc(var(--_rs-theme-light-coefficient, 1)*255 + var(--_rs-theme-dark-coefficient, 0)*73));
|
|
@@ -449,7 +574,7 @@
|
|
|
449
574
|
--_rs-color-primary-t-fog:rgba(calc(var(--_rs-theme-light-coefficient, 1)*107 + var(--_rs-theme-dark-coefficient, 0)*132), calc(var(--_rs-theme-light-coefficient, 1)*87 + var(--_rs-theme-dark-coefficient, 0)*115), 255, calc(var(--_rs-theme-light-coefficient, 1)*0.2 + var(--_rs-theme-dark-coefficient, 0)*0.3));
|
|
450
575
|
}
|
|
451
576
|
}
|
|
452
|
-
.
|
|
577
|
+
._groupHeader_9jqyem_191 {
|
|
453
578
|
letter-spacing:var(
|
|
454
579
|
--rs-text-base-letter-spacing,
|
|
455
580
|
var(--_rs-typography-letter-spacing)
|
package/lib/index.d.ts
CHANGED
|
@@ -1,10 +1,6 @@
|
|
|
1
1
|
export { default as Menu } from './menu';
|
|
2
|
-
export type { MenuProps } from './menu';
|
|
3
2
|
export { MenuContext } from './parts/menu-context';
|
|
4
|
-
export type { MenuContextValue, MenuItemIconPlacement } from './parts/menu-context';
|
|
5
3
|
export { default as MenuItem } from './parts/menu-item';
|
|
6
|
-
export type { MenuItemProps } from './parts/menu-item';
|
|
7
4
|
export { default as Divider } from './parts/divider';
|
|
8
|
-
export type { DividerProps } from './parts/divider';
|
|
9
5
|
export { default as GroupHeader } from './parts/group-header';
|
|
10
|
-
export type { GroupHeaderProps } from './
|
|
6
|
+
export type { GroupHeaderProps, DividerProps, MenuItemProps, MenuProps, MenuContextValue, MenuItemIconPlacement } from './types';
|
package/lib/menu.d.ts
CHANGED
|
@@ -1,12 +1,18 @@
|
|
|
1
|
-
import React
|
|
2
|
-
import
|
|
3
|
-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
enableKeyboardNavigation
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
import React from 'react';
|
|
2
|
+
import PropTypes from 'prop-types';
|
|
3
|
+
import type { MenuProps } from './types';
|
|
4
|
+
export type { MenuProps } from './types';
|
|
5
|
+
export declare const Menu: {
|
|
6
|
+
({ enableKeyboardNavigation, activateFirstItem, tag, ...props }: MenuProps): React.JSX.Element;
|
|
7
|
+
propTypes: {
|
|
8
|
+
size: PropTypes.Requireable<string>;
|
|
9
|
+
mode: PropTypes.Requireable<string>;
|
|
10
|
+
theme: PropTypes.Requireable<string>;
|
|
11
|
+
disabled: PropTypes.Requireable<boolean>;
|
|
12
|
+
resizeIcons: PropTypes.Requireable<boolean>;
|
|
13
|
+
iconPlacement: PropTypes.Requireable<string>;
|
|
14
|
+
itemTag: PropTypes.Validator<React.ElementType>;
|
|
15
|
+
tag: PropTypes.Validator<React.ElementType>;
|
|
16
|
+
};
|
|
17
|
+
};
|
|
12
18
|
export default Menu;
|