@rescui/dropdown-menu 0.11.10-RUI-286-Fix-tooltip-stacking-f4145b01.1 → 0.11.11-RUI-280-Update-select-component-026338d06.52
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/dropdown-menu.d.ts +6 -0
- package/lib/dropdown-menu.p.module.css.js +5 -5
- package/lib/index.css +8 -8
- package/lib/public-api.p.css +18 -12
- package/lib/public-api.pcss +18 -12
- package/package.json +8 -8
package/lib/dropdown-menu.d.ts
CHANGED
|
@@ -3,6 +3,12 @@ import { DropdownProps } from '@rescui/dropdown';
|
|
|
3
3
|
import { MenuItemIconPlacement } from '@rescui/menu';
|
|
4
4
|
declare type DropdownMenuSize = 's' | 'm' | 'l';
|
|
5
5
|
export interface DropdownMenuProps extends Omit<DropdownProps, 'maxWidth' | 'minWidth' | 'maxHeight' | 'leastMaxHeight' | 'className'> {
|
|
6
|
+
/**
|
|
7
|
+
* Maximum number of visible items in the dropdown list.
|
|
8
|
+
* For large lists, n + 0.5 items will be visible at a time.
|
|
9
|
+
* If the maximum number of items in a list is exactly n + 1, all
|
|
10
|
+
* items will be shown still (to avoid creating a scroll for half an item only).
|
|
11
|
+
*/
|
|
6
12
|
maxVisibleItems?: number;
|
|
7
13
|
iconPlacement?: MenuItemIconPlacement;
|
|
8
14
|
itemTag?: React.ElementType;
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"sizeS": "
|
|
3
|
-
"sizeM": "
|
|
4
|
-
"sizeL": "
|
|
5
|
-
"dropdownMenu": "
|
|
6
|
-
"menu": "
|
|
2
|
+
"sizeS": "_sizeS_1cm2m2u_8",
|
|
3
|
+
"sizeM": "_sizeM_1cm2m2u_11",
|
|
4
|
+
"sizeL": "_sizeL_1cm2m2u_14",
|
|
5
|
+
"dropdownMenu": "_dropdownMenu_1cm2m2u_18",
|
|
6
|
+
"menu": "_menu_1cm2m2u_23"
|
|
7
7
|
};
|
|
8
8
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
.
|
|
1
|
+
._sizeS_1cm2m2u_8{
|
|
2
2
|
--_rs-dropdown-menu-min-width:316px;
|
|
3
3
|
--_rs-dropdown-menu-max-width:389px;
|
|
4
4
|
}
|
|
5
|
-
.
|
|
5
|
+
._sizeS_1cm2m2u_8 [data-rs-internal='dropdown-menu__menu-wrapper']{
|
|
6
6
|
--_rs-dropdown-menu-item-height:32px;
|
|
7
7
|
}
|
|
8
|
-
.
|
|
8
|
+
._sizeM_1cm2m2u_11{
|
|
9
9
|
--_rs-dropdown-menu-min-width:316px;
|
|
10
10
|
--_rs-dropdown-menu-max-width:494px;
|
|
11
11
|
}
|
|
12
|
-
.
|
|
12
|
+
._sizeM_1cm2m2u_11 [data-rs-internal='dropdown-menu__menu-wrapper']{
|
|
13
13
|
--_rs-dropdown-menu-item-height:40px;
|
|
14
14
|
}
|
|
15
|
-
.
|
|
15
|
+
._sizeL_1cm2m2u_14{
|
|
16
16
|
--_rs-dropdown-menu-min-width:316px;
|
|
17
17
|
--_rs-dropdown-menu-max-width:494px;
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
._sizeL_1cm2m2u_14 [data-rs-internal='dropdown-menu__menu-wrapper']{
|
|
20
20
|
--_rs-dropdown-menu-item-height:52px;
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
._dropdownMenu_1cm2m2u_18{
|
|
23
23
|
min-width:var(--_rs-dropdown-menu-min-width);
|
|
24
24
|
max-width:var(--_rs-dropdown-menu-max-width);
|
|
25
25
|
}
|
|
26
|
-
.
|
|
26
|
+
._menu_1cm2m2u_23{
|
|
27
27
|
margin:0;
|
|
28
28
|
padding:0;
|
|
29
29
|
|
package/lib/public-api.p.css
CHANGED
|
@@ -37,8 +37,9 @@
|
|
|
37
37
|
)
|
|
38
38
|
);
|
|
39
39
|
--_rs-typography-text-auto-offset:8px;
|
|
40
|
-
--_rs-typography-ul-
|
|
41
|
-
--_rs-typography-
|
|
40
|
+
--_rs-typography-ul-bullet-offset:2px;
|
|
41
|
+
--_rs-typography-list-li-compact-left-offset:15px;
|
|
42
|
+
--_rs-typography-list-li-default-left-offset:19px;
|
|
42
43
|
--_rs-typography-list-li-margin-top-from-text:8px;
|
|
43
44
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
44
45
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
@@ -70,8 +71,9 @@
|
|
|
70
71
|
)
|
|
71
72
|
);
|
|
72
73
|
--_rs-typography-text-auto-offset:0;
|
|
73
|
-
--_rs-typography-ul-
|
|
74
|
-
--_rs-typography-
|
|
74
|
+
--_rs-typography-ul-bullet-offset:initial;
|
|
75
|
+
--_rs-typography-list-li-compact-left-offset:initial;
|
|
76
|
+
--_rs-typography-list-li-default-left-offset:initial;
|
|
75
77
|
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
76
78
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
77
79
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
@@ -117,8 +119,9 @@
|
|
|
117
119
|
)
|
|
118
120
|
);
|
|
119
121
|
--_rs-typography-text-auto-offset:16px;
|
|
120
|
-
--_rs-typography-ul-
|
|
121
|
-
--_rs-typography-
|
|
122
|
+
--_rs-typography-ul-bullet-offset:2px;
|
|
123
|
+
--_rs-typography-list-li-compact-left-offset:18px;
|
|
124
|
+
--_rs-typography-list-li-default-left-offset:24px;
|
|
122
125
|
--_rs-typography-list-li-margin-top-from-text:var(
|
|
123
126
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text,
|
|
124
127
|
16px
|
|
@@ -158,8 +161,9 @@
|
|
|
158
161
|
)
|
|
159
162
|
);
|
|
160
163
|
--_rs-typography-text-auto-offset:0;
|
|
161
|
-
--_rs-typography-ul-
|
|
162
|
-
--_rs-typography-
|
|
164
|
+
--_rs-typography-ul-bullet-offset:initial;
|
|
165
|
+
--_rs-typography-list-li-compact-left-offset:initial;
|
|
166
|
+
--_rs-typography-list-li-default-left-offset:initial;
|
|
163
167
|
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
164
168
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
165
169
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
@@ -205,8 +209,9 @@
|
|
|
205
209
|
)
|
|
206
210
|
);
|
|
207
211
|
--_rs-typography-text-auto-offset:32px;
|
|
208
|
-
--_rs-typography-ul-
|
|
209
|
-
--_rs-typography-
|
|
212
|
+
--_rs-typography-ul-bullet-offset:2px;
|
|
213
|
+
--_rs-typography-list-li-compact-left-offset:22px;
|
|
214
|
+
--_rs-typography-list-li-default-left-offset:28px;
|
|
210
215
|
--_rs-typography-list-li-margin-top-from-text:var(
|
|
211
216
|
--_rs-typography-text-1-sm-list-li-margin-top-from-text,
|
|
212
217
|
24px
|
|
@@ -246,8 +251,9 @@
|
|
|
246
251
|
)
|
|
247
252
|
);
|
|
248
253
|
--_rs-typography-text-auto-offset:0;
|
|
249
|
-
--_rs-typography-ul-
|
|
250
|
-
--_rs-typography-
|
|
254
|
+
--_rs-typography-ul-bullet-offset:initial;
|
|
255
|
+
--_rs-typography-list-li-compact-left-offset:initial;
|
|
256
|
+
--_rs-typography-list-li-default-left-offset:initial;
|
|
251
257
|
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
252
258
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
253
259
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
package/lib/public-api.pcss
CHANGED
|
@@ -37,8 +37,9 @@
|
|
|
37
37
|
)
|
|
38
38
|
);
|
|
39
39
|
--_rs-typography-text-auto-offset:8px;
|
|
40
|
-
--_rs-typography-ul-
|
|
41
|
-
--_rs-typography-
|
|
40
|
+
--_rs-typography-ul-bullet-offset:2px;
|
|
41
|
+
--_rs-typography-list-li-compact-left-offset:15px;
|
|
42
|
+
--_rs-typography-list-li-default-left-offset:19px;
|
|
42
43
|
--_rs-typography-list-li-margin-top-from-text:8px;
|
|
43
44
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
44
45
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
@@ -70,8 +71,9 @@
|
|
|
70
71
|
)
|
|
71
72
|
);
|
|
72
73
|
--_rs-typography-text-auto-offset:0;
|
|
73
|
-
--_rs-typography-ul-
|
|
74
|
-
--_rs-typography-
|
|
74
|
+
--_rs-typography-ul-bullet-offset:initial;
|
|
75
|
+
--_rs-typography-list-li-compact-left-offset:initial;
|
|
76
|
+
--_rs-typography-list-li-default-left-offset:initial;
|
|
75
77
|
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
76
78
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
77
79
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
@@ -117,8 +119,9 @@
|
|
|
117
119
|
)
|
|
118
120
|
);
|
|
119
121
|
--_rs-typography-text-auto-offset:16px;
|
|
120
|
-
--_rs-typography-ul-
|
|
121
|
-
--_rs-typography-
|
|
122
|
+
--_rs-typography-ul-bullet-offset:2px;
|
|
123
|
+
--_rs-typography-list-li-compact-left-offset:18px;
|
|
124
|
+
--_rs-typography-list-li-default-left-offset:24px;
|
|
122
125
|
--_rs-typography-list-li-margin-top-from-text:var(
|
|
123
126
|
--_rs-typography-text-2-sm-list-li-margin-top-from-text,
|
|
124
127
|
16px
|
|
@@ -158,8 +161,9 @@
|
|
|
158
161
|
)
|
|
159
162
|
);
|
|
160
163
|
--_rs-typography-text-auto-offset:0;
|
|
161
|
-
--_rs-typography-ul-
|
|
162
|
-
--_rs-typography-
|
|
164
|
+
--_rs-typography-ul-bullet-offset:initial;
|
|
165
|
+
--_rs-typography-list-li-compact-left-offset:initial;
|
|
166
|
+
--_rs-typography-list-li-default-left-offset:initial;
|
|
163
167
|
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
164
168
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
165
169
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
@@ -205,8 +209,9 @@
|
|
|
205
209
|
)
|
|
206
210
|
);
|
|
207
211
|
--_rs-typography-text-auto-offset:32px;
|
|
208
|
-
--_rs-typography-ul-
|
|
209
|
-
--_rs-typography-
|
|
212
|
+
--_rs-typography-ul-bullet-offset:2px;
|
|
213
|
+
--_rs-typography-list-li-compact-left-offset:22px;
|
|
214
|
+
--_rs-typography-list-li-default-left-offset:28px;
|
|
210
215
|
--_rs-typography-list-li-margin-top-from-text:var(
|
|
211
216
|
--_rs-typography-text-1-sm-list-li-margin-top-from-text,
|
|
212
217
|
24px
|
|
@@ -246,8 +251,9 @@
|
|
|
246
251
|
)
|
|
247
252
|
);
|
|
248
253
|
--_rs-typography-text-auto-offset:0;
|
|
249
|
-
--_rs-typography-ul-
|
|
250
|
-
--_rs-typography-
|
|
254
|
+
--_rs-typography-ul-bullet-offset:initial;
|
|
255
|
+
--_rs-typography-list-li-compact-left-offset:initial;
|
|
256
|
+
--_rs-typography-list-li-default-left-offset:initial;
|
|
251
257
|
--_rs-typography-list-li-margin-top-from-text:initial;
|
|
252
258
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
253
259
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/dropdown-menu",
|
|
3
|
-
"version": "0.11.
|
|
3
|
+
"version": "0.11.11-RUI-280-Update-select-component-026338d06.52+026338d06",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -16,9 +16,9 @@
|
|
|
16
16
|
},
|
|
17
17
|
"dependencies": {
|
|
18
18
|
"@babel/runtime-corejs3": "^7.26.0",
|
|
19
|
-
"@rescui/dropdown": "0.9.
|
|
20
|
-
"@rescui/menu": "0.13.
|
|
21
|
-
"@rescui/use-resize-observer": "0.3.1-RUI-
|
|
19
|
+
"@rescui/dropdown": "0.9.5-RUI-280-Update-select-component-026338d06.52+026338d06",
|
|
20
|
+
"@rescui/menu": "0.13.3-RUI-280-Update-select-component-026338d06.52+026338d06",
|
|
21
|
+
"@rescui/use-resize-observer": "0.3.1-RUI-280-Update-select-component-026338d06.164+026338d06",
|
|
22
22
|
"classnames": "^2.2.6"
|
|
23
23
|
},
|
|
24
24
|
"peerDependencies": {
|
|
@@ -27,10 +27,10 @@
|
|
|
27
27
|
"react": ">=16.8.0 <20"
|
|
28
28
|
},
|
|
29
29
|
"devDependencies": {
|
|
30
|
-
"@rescui/colors": "0.
|
|
31
|
-
"@rescui/icons": "1.7.
|
|
30
|
+
"@rescui/colors": "0.3.1-RUI-280-Update-select-component-026338d06.52+026338d06",
|
|
31
|
+
"@rescui/icons": "1.7.4-RUI-280-Update-select-component-026338d06.52+026338d06",
|
|
32
32
|
"@rescui/scripts": "0.5.1",
|
|
33
|
-
"@rescui/typography": "0.24.
|
|
33
|
+
"@rescui/typography": "0.24.5-RUI-280-Update-select-component-026338d06.52+026338d06",
|
|
34
34
|
"@rescui/visual-regression": "0.1.4"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
@@ -38,5 +38,5 @@
|
|
|
38
38
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
39
39
|
},
|
|
40
40
|
"nx": {},
|
|
41
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "026338d06dba5f4f8b42762b25aca5fb1f28fffb"
|
|
42
42
|
}
|