@rescui/dropdown-menu 0.9.12 → 0.9.13-RUI-226-Update-card-cn-baacc2f1.68
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/index.css +8 -8
- package/lib/index.p.module.css.js +5 -5
- package/lib/public-api.p.css +16 -10
- package/lib/public-api.pcss +16 -10
- package/package.json +11 -10
package/lib/index.css
CHANGED
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
.
|
|
1
|
+
._sizeS_182tjjs_8{
|
|
2
2
|
--_rs-dropdown-menu-min-width:316px;
|
|
3
3
|
--_rs-dropdown-menu-max-width:389px;
|
|
4
4
|
}
|
|
5
|
-
.
|
|
5
|
+
._sizeS_182tjjs_8 [data-rs-internal='dropdown-menu__menu-wrapper']{
|
|
6
6
|
--_rs-dropdown-menu-item-height:32px;
|
|
7
7
|
}
|
|
8
|
-
.
|
|
8
|
+
._sizeM_182tjjs_11{
|
|
9
9
|
--_rs-dropdown-menu-min-width:316px;
|
|
10
10
|
--_rs-dropdown-menu-max-width:494px;
|
|
11
11
|
}
|
|
12
|
-
.
|
|
12
|
+
._sizeM_182tjjs_11 [data-rs-internal='dropdown-menu__menu-wrapper']{
|
|
13
13
|
--_rs-dropdown-menu-item-height:40px;
|
|
14
14
|
}
|
|
15
|
-
.
|
|
15
|
+
._sizeL_182tjjs_14{
|
|
16
16
|
--_rs-dropdown-menu-min-width:316px;
|
|
17
17
|
--_rs-dropdown-menu-max-width:494px;
|
|
18
18
|
}
|
|
19
|
-
.
|
|
19
|
+
._sizeL_182tjjs_14 [data-rs-internal='dropdown-menu__menu-wrapper']{
|
|
20
20
|
--_rs-dropdown-menu-item-height:52px;
|
|
21
21
|
}
|
|
22
|
-
.
|
|
22
|
+
._dropdownMenu_182tjjs_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_182tjjs_23{
|
|
27
27
|
margin:0;
|
|
28
28
|
padding:0;
|
|
29
29
|
|
|
@@ -1,8 +1,8 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"sizeS": "
|
|
3
|
-
"sizeM": "
|
|
4
|
-
"sizeL": "
|
|
5
|
-
"dropdownMenu": "
|
|
6
|
-
"menu": "
|
|
2
|
+
"sizeS": "_sizeS_182tjjs_8",
|
|
3
|
+
"sizeM": "_sizeM_182tjjs_11",
|
|
4
|
+
"sizeL": "_sizeL_182tjjs_14",
|
|
5
|
+
"dropdownMenu": "_dropdownMenu_182tjjs_18",
|
|
6
|
+
"menu": "_menu_182tjjs_23"
|
|
7
7
|
};
|
|
8
8
|
export { styles as default };
|
package/lib/public-api.p.css
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
--_rs-menu-mi-icon-offset:8px;
|
|
11
11
|
--_rs-menu-mi-vertical-padding:6px;
|
|
12
12
|
--_rs-menu-mi-horizontal-padding:8px;
|
|
13
|
-
--_rs-typography-letter-spacing:0.0045em;
|
|
13
|
+
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
14
14
|
--_rs-typography-text-transform:initial;
|
|
15
15
|
--_rs-typography-font-variant-numeric:initial;
|
|
16
16
|
--_rs-typography-font-family:var(
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
& [data-rs-internal="dropdown-menu__menu"] [data-rs-internal="menu__group-header"]{
|
|
47
47
|
--_rs-menu-gh-vertical-padding:6px;
|
|
48
48
|
--_rs-menu-gh-horizontal-padding:8px;
|
|
49
|
-
--_rs-typography-letter-spacing:normal;
|
|
49
|
+
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
50
50
|
--_rs-typography-text-transform:initial;
|
|
51
51
|
--_rs-typography-font-variant-numeric:initial;
|
|
52
52
|
--_rs-typography-font-family:var(
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
--_rs-menu-mi-icon-offset:8px;
|
|
90
90
|
--_rs-menu-mi-vertical-padding:8px;
|
|
91
91
|
--_rs-menu-mi-horizontal-padding:16px;
|
|
92
|
-
--_rs-typography-letter-spacing:0.0015em;
|
|
92
|
+
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
93
93
|
--_rs-typography-text-transform:initial;
|
|
94
94
|
--_rs-typography-font-variant-numeric:initial;
|
|
95
95
|
--_rs-typography-font-family:var(
|
|
@@ -117,20 +117,23 @@
|
|
|
117
117
|
--_rs-typography-text-auto-offset:16px;
|
|
118
118
|
--_rs-typography-ul-list-li-padding-left:22px;
|
|
119
119
|
--_rs-typography-ol-list-li-padding-left:26px;
|
|
120
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
120
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
121
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text,
|
|
122
|
+
16px
|
|
123
|
+
);
|
|
121
124
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
122
125
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
123
126
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
124
127
|
}
|
|
125
128
|
@media screen and (max-width: 640px){
|
|
126
129
|
& [data-rs-internal="dropdown-menu__menu"] [data-rs-internal="menu__menu-item"]{
|
|
127
|
-
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
130
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
128
131
|
}
|
|
129
132
|
}
|
|
130
133
|
& [data-rs-internal="dropdown-menu__menu"] [data-rs-internal="menu__group-header"]{
|
|
131
134
|
--_rs-menu-gh-vertical-padding:8px;
|
|
132
135
|
--_rs-menu-gh-horizontal-padding:16px;
|
|
133
|
-
--_rs-typography-letter-spacing:normal;
|
|
136
|
+
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
134
137
|
--_rs-typography-text-transform:initial;
|
|
135
138
|
--_rs-typography-font-variant-numeric:initial;
|
|
136
139
|
--_rs-typography-font-family:var(
|
|
@@ -173,7 +176,7 @@
|
|
|
173
176
|
--_rs-menu-mi-icon-offset:16px;
|
|
174
177
|
--_rs-menu-mi-vertical-padding:12px;
|
|
175
178
|
--_rs-menu-mi-horizontal-padding:16px;
|
|
176
|
-
--_rs-typography-letter-spacing:normal;
|
|
179
|
+
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
177
180
|
--_rs-typography-text-transform:initial;
|
|
178
181
|
--_rs-typography-font-variant-numeric:initial;
|
|
179
182
|
--_rs-typography-font-family:var(
|
|
@@ -201,20 +204,23 @@
|
|
|
201
204
|
--_rs-typography-text-auto-offset:32px;
|
|
202
205
|
--_rs-typography-ul-list-li-padding-left:26px;
|
|
203
206
|
--_rs-typography-ol-list-li-padding-left:32px;
|
|
204
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
207
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
208
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text,
|
|
209
|
+
24px
|
|
210
|
+
);
|
|
205
211
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
206
212
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
207
213
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
208
214
|
}
|
|
209
215
|
@media screen and (max-width: 640px){
|
|
210
216
|
& [data-rs-internal="dropdown-menu__menu"] [data-rs-internal="menu__menu-item"]{
|
|
211
|
-
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
217
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
212
218
|
}
|
|
213
219
|
}
|
|
214
220
|
& [data-rs-internal="dropdown-menu__menu"] [data-rs-internal="menu__group-header"]{
|
|
215
221
|
--_rs-menu-gh-vertical-padding:12px;
|
|
216
222
|
--_rs-menu-gh-horizontal-padding:16px;
|
|
217
|
-
--_rs-typography-letter-spacing:normal;
|
|
223
|
+
--_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
|
|
218
224
|
--_rs-typography-text-transform:initial;
|
|
219
225
|
--_rs-typography-font-variant-numeric:initial;
|
|
220
226
|
--_rs-typography-font-family:var(
|
package/lib/public-api.pcss
CHANGED
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
--_rs-menu-mi-icon-offset:8px;
|
|
11
11
|
--_rs-menu-mi-vertical-padding:6px;
|
|
12
12
|
--_rs-menu-mi-horizontal-padding:8px;
|
|
13
|
-
--_rs-typography-letter-spacing:0.0045em;
|
|
13
|
+
--_rs-typography-letter-spacing:var(--rs-text-3-letter-spacing, 0.0045em);
|
|
14
14
|
--_rs-typography-text-transform:initial;
|
|
15
15
|
--_rs-typography-font-variant-numeric:initial;
|
|
16
16
|
--_rs-typography-font-family:var(
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
& [data-rs-internal="dropdown-menu__menu"] [data-rs-internal="menu__group-header"]{
|
|
47
47
|
--_rs-menu-gh-vertical-padding:6px;
|
|
48
48
|
--_rs-menu-gh-horizontal-padding:8px;
|
|
49
|
-
--_rs-typography-letter-spacing:normal;
|
|
49
|
+
--_rs-typography-letter-spacing:var(--rs-h5-letter-spacing, normal);
|
|
50
50
|
--_rs-typography-text-transform:initial;
|
|
51
51
|
--_rs-typography-font-variant-numeric:initial;
|
|
52
52
|
--_rs-typography-font-family:var(
|
|
@@ -89,7 +89,7 @@
|
|
|
89
89
|
--_rs-menu-mi-icon-offset:8px;
|
|
90
90
|
--_rs-menu-mi-vertical-padding:8px;
|
|
91
91
|
--_rs-menu-mi-horizontal-padding:16px;
|
|
92
|
-
--_rs-typography-letter-spacing:0.0015em;
|
|
92
|
+
--_rs-typography-letter-spacing:var(--rs-text-2-letter-spacing, 0.0015em);
|
|
93
93
|
--_rs-typography-text-transform:initial;
|
|
94
94
|
--_rs-typography-font-variant-numeric:initial;
|
|
95
95
|
--_rs-typography-font-family:var(
|
|
@@ -117,20 +117,23 @@
|
|
|
117
117
|
--_rs-typography-text-auto-offset:16px;
|
|
118
118
|
--_rs-typography-ul-list-li-padding-left:22px;
|
|
119
119
|
--_rs-typography-ol-list-li-padding-left:26px;
|
|
120
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
120
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
121
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text,
|
|
122
|
+
16px
|
|
123
|
+
);
|
|
121
124
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
122
125
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
123
126
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
124
127
|
}
|
|
125
128
|
@media screen and (max-width: 640px){
|
|
126
129
|
& [data-rs-internal="dropdown-menu__menu"] [data-rs-internal="menu__menu-item"]{
|
|
127
|
-
--_rs-typography-list-li-margin-top-from-text:12px;
|
|
130
|
+
--_rs-typography-text-2-sm-list-li-margin-top-from-text:12px;
|
|
128
131
|
}
|
|
129
132
|
}
|
|
130
133
|
& [data-rs-internal="dropdown-menu__menu"] [data-rs-internal="menu__group-header"]{
|
|
131
134
|
--_rs-menu-gh-vertical-padding:8px;
|
|
132
135
|
--_rs-menu-gh-horizontal-padding:16px;
|
|
133
|
-
--_rs-typography-letter-spacing:normal;
|
|
136
|
+
--_rs-typography-letter-spacing:var(--rs-h4-letter-spacing, normal);
|
|
134
137
|
--_rs-typography-text-transform:initial;
|
|
135
138
|
--_rs-typography-font-variant-numeric:initial;
|
|
136
139
|
--_rs-typography-font-family:var(
|
|
@@ -173,7 +176,7 @@
|
|
|
173
176
|
--_rs-menu-mi-icon-offset:16px;
|
|
174
177
|
--_rs-menu-mi-vertical-padding:12px;
|
|
175
178
|
--_rs-menu-mi-horizontal-padding:16px;
|
|
176
|
-
--_rs-typography-letter-spacing:normal;
|
|
179
|
+
--_rs-typography-letter-spacing:var(--rs-text-1-letter-spacing, normal);
|
|
177
180
|
--_rs-typography-text-transform:initial;
|
|
178
181
|
--_rs-typography-font-variant-numeric:initial;
|
|
179
182
|
--_rs-typography-font-family:var(
|
|
@@ -201,20 +204,23 @@
|
|
|
201
204
|
--_rs-typography-text-auto-offset:32px;
|
|
202
205
|
--_rs-typography-ul-list-li-padding-left:26px;
|
|
203
206
|
--_rs-typography-ol-list-li-padding-left:32px;
|
|
204
|
-
--_rs-typography-list-li-margin-top-from-text:
|
|
207
|
+
--_rs-typography-list-li-margin-top-from-text:var(
|
|
208
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text,
|
|
209
|
+
24px
|
|
210
|
+
);
|
|
205
211
|
--_rs-typography-link-standalone-border-offset-from-text-base:1.15em;
|
|
206
212
|
--_rs-typography-link-external-standalone-border-offset-from-text-base:1.02em;
|
|
207
213
|
--_rs-typography-link-border-bottom-width-from-text:1px;
|
|
208
214
|
}
|
|
209
215
|
@media screen and (max-width: 640px){
|
|
210
216
|
& [data-rs-internal="dropdown-menu__menu"] [data-rs-internal="menu__menu-item"]{
|
|
211
|
-
--_rs-typography-list-li-margin-top-from-text:16px;
|
|
217
|
+
--_rs-typography-text-1-sm-list-li-margin-top-from-text:16px;
|
|
212
218
|
}
|
|
213
219
|
}
|
|
214
220
|
& [data-rs-internal="dropdown-menu__menu"] [data-rs-internal="menu__group-header"]{
|
|
215
221
|
--_rs-menu-gh-vertical-padding:12px;
|
|
216
222
|
--_rs-menu-gh-horizontal-padding:16px;
|
|
217
|
-
--_rs-typography-letter-spacing:normal;
|
|
223
|
+
--_rs-typography-letter-spacing:var(--rs-h3-letter-spacing, normal);
|
|
218
224
|
--_rs-typography-text-transform:initial;
|
|
219
225
|
--_rs-typography-font-variant-numeric:initial;
|
|
220
226
|
--_rs-typography-font-family:var(
|
package/package.json
CHANGED
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/dropdown-menu",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.13-RUI-226-Update-card-cn-baacc2f1.68+baacc2f1",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
7
7
|
"main": "lib/index.js",
|
|
8
|
+
"module": "lib/index.js",
|
|
8
9
|
"src:main": "src/index.ts",
|
|
9
10
|
"files": [
|
|
10
11
|
"lib",
|
|
@@ -15,9 +16,9 @@
|
|
|
15
16
|
},
|
|
16
17
|
"dependencies": {
|
|
17
18
|
"@babel/runtime-corejs3": "^7.26.0",
|
|
18
|
-
"@rescui/dropdown": "
|
|
19
|
-
"@rescui/menu": "
|
|
20
|
-
"@rescui/use-resize-observer": "
|
|
19
|
+
"@rescui/dropdown": "0.7.13-RUI-226-Update-card-cn-baacc2f1.68+baacc2f1",
|
|
20
|
+
"@rescui/menu": "0.10.11-RUI-226-Update-card-cn-baacc2f1.68+baacc2f1",
|
|
21
|
+
"@rescui/use-resize-observer": "0.2.6-RUI-226-Update-card-cn-baacc2f1.68+baacc2f1",
|
|
21
22
|
"classnames": "^2.2.6"
|
|
22
23
|
},
|
|
23
24
|
"peerDependencies": {
|
|
@@ -26,16 +27,16 @@
|
|
|
26
27
|
"react": ">=16.8.0 <19"
|
|
27
28
|
},
|
|
28
29
|
"devDependencies": {
|
|
29
|
-
"@rescui/colors": "
|
|
30
|
-
"@rescui/icons": "
|
|
31
|
-
"@rescui/scripts": "
|
|
32
|
-
"@rescui/typography": "
|
|
33
|
-
"@rescui/visual-regression": "
|
|
30
|
+
"@rescui/colors": "0.2.7-RUI-226-Update-card-cn-baacc2f1.68+baacc2f1",
|
|
31
|
+
"@rescui/icons": "0.16.13-RUI-226-Update-card-cn-baacc2f1.68+baacc2f1",
|
|
32
|
+
"@rescui/scripts": "0.4.0",
|
|
33
|
+
"@rescui/typography": "0.19.2-RUI-226-Update-card-cn-baacc2f1.68+baacc2f1",
|
|
34
|
+
"@rescui/visual-regression": "0.1.2"
|
|
34
35
|
},
|
|
35
36
|
"scripts": {
|
|
36
37
|
"build": "rescui-scripts build && yarn run build-pcss-api",
|
|
37
38
|
"build-pcss-api": "rescui-scripts build-pcss-api --file public-api.p.css"
|
|
38
39
|
},
|
|
39
40
|
"nx": {},
|
|
40
|
-
"gitHead": "
|
|
41
|
+
"gitHead": "baacc2f1a9fe296e6d64d62b8b3143d09cdb70fb"
|
|
41
42
|
}
|