@rescui/menu 0.9.0 → 0.9.2
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 +70 -70
- package/lib/index.p.module.css.js +27 -27
- package/lib/parts/divider.d.ts +4 -4
- package/lib/parts/divider.js +2 -2
- package/package.json +8 -8
package/lib/index.css
CHANGED
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
.
|
|
1
|
+
._wrapper_3f0o8_8{
|
|
2
2
|
display:-webkit-box;
|
|
3
3
|
display:-ms-flexbox;
|
|
4
4
|
display:flex;
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
._menuItem_3f0o8_12{
|
|
7
7
|
display:-webkit-box;
|
|
8
8
|
display:-ms-flexbox;
|
|
9
9
|
display:flex;
|
|
@@ -31,22 +31,22 @@
|
|
|
31
31
|
-webkit-font-smoothing:inherit;
|
|
32
32
|
-moz-osx-font-smoothing:inherit;
|
|
33
33
|
}
|
|
34
|
-
.
|
|
34
|
+
._menuItem_3f0o8_12:focus{
|
|
35
35
|
outline:none;
|
|
36
36
|
}
|
|
37
|
-
.
|
|
37
|
+
._content_3f0o8_40{
|
|
38
38
|
-webkit-box-flex:1;
|
|
39
39
|
-ms-flex-positive:1;
|
|
40
40
|
flex-grow:1;
|
|
41
41
|
|
|
42
42
|
font-size:inherit;
|
|
43
43
|
}
|
|
44
|
-
.
|
|
44
|
+
._placementRight_3f0o8_46{
|
|
45
45
|
-webkit-box-pack:justify;
|
|
46
46
|
-ms-flex-pack:justify;
|
|
47
47
|
justify-content:space-between;
|
|
48
48
|
}
|
|
49
|
-
.
|
|
49
|
+
._sizeS_3f0o8_51{
|
|
50
50
|
padding: 6px 8px;
|
|
51
51
|
letter-spacing:0.0045em;
|
|
52
52
|
font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
@@ -58,10 +58,10 @@
|
|
|
58
58
|
line-height:20px;
|
|
59
59
|
line-height:var(--rs-text-3-line-height, 20px);
|
|
60
60
|
}
|
|
61
|
-
._rs-reset-letter-
|
|
61
|
+
._rs-reset-letter-spacing_3f0o8_1 ._sizeS_3f0o8_51{
|
|
62
62
|
letter-spacing:normal;
|
|
63
63
|
}
|
|
64
|
-
.
|
|
64
|
+
._sizeM_3f0o8_56{
|
|
65
65
|
padding: 8px 16px;
|
|
66
66
|
letter-spacing:0.0015em;
|
|
67
67
|
font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
@@ -74,10 +74,10 @@
|
|
|
74
74
|
line-height:24px;
|
|
75
75
|
line-height:var(--rs-text-2-line-height, 24px);
|
|
76
76
|
}
|
|
77
|
-
._rs-reset-letter-
|
|
77
|
+
._rs-reset-letter-spacing_3f0o8_1 ._sizeM_3f0o8_56{
|
|
78
78
|
letter-spacing:normal;
|
|
79
79
|
}
|
|
80
|
-
.
|
|
80
|
+
._sizeL_3f0o8_61{
|
|
81
81
|
padding: 12px 16px;
|
|
82
82
|
font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
83
83
|
font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
|
|
@@ -89,156 +89,156 @@
|
|
|
89
89
|
line-height:28px;
|
|
90
90
|
line-height:var(--rs-text-1-line-height, 28px);
|
|
91
91
|
}
|
|
92
|
-
.
|
|
93
|
-
.
|
|
94
|
-
.
|
|
92
|
+
._modeClear_3f0o8_66._sizeS_3f0o8_51,
|
|
93
|
+
._modeClear_3f0o8_66._sizeM_3f0o8_56,
|
|
94
|
+
._modeClear_3f0o8_66._sizeL_3f0o8_61{
|
|
95
95
|
padding-right:0;
|
|
96
96
|
padding-left:0;
|
|
97
97
|
}
|
|
98
|
-
.
|
|
99
|
-
.
|
|
98
|
+
._themeLight_3f0o8_73,
|
|
99
|
+
._themeLight_3f0o8_73:focus{
|
|
100
100
|
color:#19191C;
|
|
101
101
|
color:var(--rs-typography-color-hard, #19191C);
|
|
102
102
|
}
|
|
103
|
-
.
|
|
104
|
-
.
|
|
103
|
+
._themeDark_3f0o8_78,
|
|
104
|
+
._themeDark_3f0o8_78:focus{
|
|
105
105
|
color:#FFFFFF;
|
|
106
106
|
color:var(--rs-typography-color-hard, #FFFFFF);
|
|
107
107
|
}
|
|
108
|
-
.
|
|
108
|
+
._keyboardNavigationDisabled_3f0o8_83 ._themeLight_3f0o8_73:focus[data-focus-method='key']{
|
|
109
109
|
-webkit-box-shadow:0 0 0 2px #8979ff, inset 0 0 0 2px #8979ff;
|
|
110
110
|
-webkit-box-shadow:0 0 0 2px var(--rs-color-primary-dim-light-theme, #8979ff), inset 0 0 0 2px var(--rs-color-primary-dim-light-theme, #8979ff);
|
|
111
111
|
box-shadow:0 0 0 2px #8979ff, inset 0 0 0 2px #8979ff;
|
|
112
112
|
box-shadow:0 0 0 2px var(--rs-color-primary-dim-light-theme, #8979ff), inset 0 0 0 2px var(--rs-color-primary-dim-light-theme, #8979ff);
|
|
113
113
|
}
|
|
114
|
-
.
|
|
114
|
+
._keyboardNavigationDisabled_3f0o8_83 ._themeDark_3f0o8_78:focus[data-focus-method='key']{
|
|
115
115
|
-webkit-box-shadow:0 0 0 2px #6f61d2, inset 0 0 0 2px #6f61d2;
|
|
116
116
|
-webkit-box-shadow:0 0 0 2px var(--rs-color-primary-dim-dark-theme, #6f61d2), inset 0 0 0 2px var(--rs-color-primary-dim-dark-theme, #6f61d2);
|
|
117
117
|
box-shadow:0 0 0 2px #6f61d2, inset 0 0 0 2px #6f61d2;
|
|
118
118
|
box-shadow:0 0 0 2px var(--rs-color-primary-dim-dark-theme, #6f61d2), inset 0 0 0 2px var(--rs-color-primary-dim-dark-theme, #6f61d2);
|
|
119
119
|
}
|
|
120
|
-
.
|
|
120
|
+
._modeClassic_3f0o8_99._themeLight_3f0o8_73:active{
|
|
121
121
|
color:#19191C;
|
|
122
122
|
color:var(--rs-typography-color-hard, #19191C);
|
|
123
123
|
background-color:rgba(107, 87, 255,0.2);
|
|
124
124
|
background-color:var(--rs-color-primary-t-fog-light-theme, rgba(107, 87, 255,0.2));
|
|
125
125
|
}
|
|
126
|
-
.
|
|
126
|
+
._modeClassic_3f0o8_99._themeDark_3f0o8_78:active{
|
|
127
127
|
color:#FFFFFF;
|
|
128
128
|
color:var(--rs-typography-color-hard, #FFFFFF);
|
|
129
129
|
background-color:rgba(132, 115, 255,0.3);
|
|
130
130
|
background-color:var(--rs-color-primary-t-fog-dark-theme, rgba(132, 115, 255,0.3));
|
|
131
131
|
}
|
|
132
|
-
.
|
|
132
|
+
._modeClassic_3f0o8_99._themeLight_3f0o8_73._selected_3f0o8_111{
|
|
133
133
|
color:#FFFFFF;
|
|
134
134
|
color:var(--rs-typography-color-hard, #FFFFFF);
|
|
135
135
|
background-color:#19191C;
|
|
136
136
|
}
|
|
137
|
-
.
|
|
137
|
+
._modeClassic_3f0o8_99._themeDark_3f0o8_78._selected_3f0o8_111{
|
|
138
138
|
color:#19191C;
|
|
139
139
|
color:var(--rs-typography-color-hard, #19191C);
|
|
140
140
|
background-color:#FFFFFF;
|
|
141
141
|
}
|
|
142
|
-
.
|
|
142
|
+
._modeRock_3f0o8_121._themeLight_3f0o8_73._selected_3f0o8_111{
|
|
143
143
|
color:#FFFFFF;
|
|
144
144
|
color:var(--rs-typography-color-hard, #FFFFFF);
|
|
145
145
|
background-color:#19191C;
|
|
146
146
|
}
|
|
147
|
-
.
|
|
147
|
+
._modeRock_3f0o8_121._themeDark_3f0o8_78._selected_3f0o8_111{
|
|
148
148
|
color:#19191C;
|
|
149
149
|
color:var(--rs-typography-color-hard, #19191C);
|
|
150
150
|
background-color:#FFFFFF;
|
|
151
151
|
}
|
|
152
|
-
.
|
|
152
|
+
._modeClear_3f0o8_66._themeLight_3f0o8_73._selected_3f0o8_111{
|
|
153
153
|
color:#6B57FF;
|
|
154
154
|
color:var(--rs-color-primary-light-theme, #6B57FF);
|
|
155
155
|
}
|
|
156
|
-
.
|
|
156
|
+
._modeClear_3f0o8_66._themeDark_3f0o8_78._selected_3f0o8_111{
|
|
157
157
|
color:#8473FF;
|
|
158
158
|
color:var(--rs-color-primary-dark-theme, #8473FF);
|
|
159
159
|
}
|
|
160
|
-
.
|
|
160
|
+
._disableCursor_3f0o8_141{
|
|
161
161
|
pointer-events:none;
|
|
162
162
|
}
|
|
163
|
-
.
|
|
164
|
-
.
|
|
163
|
+
._modeClassic_3f0o8_99._themeLight_3f0o8_73._highlighted_3f0o8_146,
|
|
164
|
+
._modeClassic_3f0o8_99._themeLight_3f0o8_73:not(._disableCursor_3f0o8_141):hover{
|
|
165
165
|
color:#19191C;
|
|
166
166
|
color:var(--rs-typography-color-hard, #19191C);
|
|
167
167
|
background-color:rgba(25,25,28,0.1);
|
|
168
168
|
}
|
|
169
|
-
.
|
|
170
|
-
.
|
|
169
|
+
._modeRock_3f0o8_121._themeLight_3f0o8_73._highlighted_3f0o8_146,
|
|
170
|
+
._modeRock_3f0o8_121._themeLight_3f0o8_73:not(._disableCursor_3f0o8_141):hover{
|
|
171
171
|
color:#FFFFFF;
|
|
172
172
|
color:var(--rs-typography-color-hard, #FFFFFF);
|
|
173
173
|
background-color:#6B57FF;
|
|
174
174
|
background-color:var(--rs-color-primary-light-theme, #6B57FF);
|
|
175
175
|
}
|
|
176
|
-
.
|
|
177
|
-
.
|
|
176
|
+
._modeClassic_3f0o8_99._themeDark_3f0o8_78._highlighted_3f0o8_146,
|
|
177
|
+
._modeClassic_3f0o8_99._themeDark_3f0o8_78:not(._disableCursor_3f0o8_141):hover{
|
|
178
178
|
color:#FFFFFF;
|
|
179
179
|
color:var(--rs-typography-color-hard, #FFFFFF);
|
|
180
180
|
background-color:rgba(255,255,255,0.1);
|
|
181
181
|
}
|
|
182
|
-
.
|
|
183
|
-
.
|
|
182
|
+
._modeRock_3f0o8_121._themeDark_3f0o8_78._highlighted_3f0o8_146,
|
|
183
|
+
._modeRock_3f0o8_121._themeDark_3f0o8_78:not(._disableCursor_3f0o8_141):hover{
|
|
184
184
|
color:#FFFFFF;
|
|
185
185
|
color:var(--rs-typography-color-hard, #FFFFFF);
|
|
186
186
|
background-color:#8473FF;
|
|
187
187
|
background-color:var(--rs-color-primary-dark-theme, #8473FF);
|
|
188
188
|
}
|
|
189
|
-
.
|
|
190
|
-
.
|
|
189
|
+
._modeClear_3f0o8_66._themeLight_3f0o8_73._highlighted_3f0o8_146,
|
|
190
|
+
._modeClear_3f0o8_66._themeLight_3f0o8_73:not(._disableCursor_3f0o8_141):hover{
|
|
191
191
|
color:#19191C;
|
|
192
192
|
color:var(--rs-typography-color-hard, #19191C);
|
|
193
193
|
}
|
|
194
|
-
.
|
|
195
|
-
.
|
|
194
|
+
._modeClear_3f0o8_66._themeDark_3f0o8_78._highlighted_3f0o8_146,
|
|
195
|
+
._modeClear_3f0o8_66._themeDark_3f0o8_78:not(._disableCursor_3f0o8_141):hover{
|
|
196
196
|
color:#FFFFFF;
|
|
197
197
|
color:var(--rs-typography-color-hard, #FFFFFF);
|
|
198
198
|
}
|
|
199
|
-
.
|
|
200
|
-
.
|
|
199
|
+
._modeClassic_3f0o8_99._themeLight_3f0o8_73._highlighted_3f0o8_146._selected_3f0o8_111,
|
|
200
|
+
._modeClassic_3f0o8_99._themeLight_3f0o8_73._selected_3f0o8_111:not(._disableCursor_3f0o8_141):hover{
|
|
201
201
|
background-color:#303033;
|
|
202
202
|
color:#FFFFFF;
|
|
203
203
|
color:var(--rs-typography-color-hard, #FFFFFF);
|
|
204
204
|
}
|
|
205
|
-
.
|
|
206
|
-
.
|
|
205
|
+
._modeRock_3f0o8_121._themeLight_3f0o8_73._highlighted_3f0o8_146._selected_3f0o8_111,
|
|
206
|
+
._modeRock_3f0o8_121._themeLight_3f0o8_73._selected_3f0o8_111:not(._disableCursor_3f0o8_141):hover{
|
|
207
207
|
background-color:#303033;
|
|
208
208
|
color:#FFFFFF;
|
|
209
209
|
color:var(--rs-typography-color-hard, #FFFFFF);
|
|
210
210
|
}
|
|
211
|
-
.
|
|
212
|
-
.
|
|
211
|
+
._modeClassic_3f0o8_99._themeDark_3f0o8_78._highlighted_3f0o8_146._selected_3f0o8_111,
|
|
212
|
+
._modeClassic_3f0o8_99._themeDark_3f0o8_78._selected_3f0o8_111:not(._disableCursor_3f0o8_141):hover{
|
|
213
213
|
background-color:#E8E8E8;
|
|
214
214
|
color:#19191C;
|
|
215
215
|
color:var(--rs-typography-color-hard, #19191C);
|
|
216
216
|
}
|
|
217
|
-
.
|
|
218
|
-
.
|
|
217
|
+
._modeRock_3f0o8_121._themeDark_3f0o8_78._highlighted_3f0o8_146._selected_3f0o8_111,
|
|
218
|
+
._modeRock_3f0o8_121._themeDark_3f0o8_78._selected_3f0o8_111:not(._disableCursor_3f0o8_141):hover{
|
|
219
219
|
background-color:#E8E8E8;
|
|
220
220
|
color:#19191C;
|
|
221
221
|
color:var(--rs-typography-color-hard, #19191C);
|
|
222
222
|
}
|
|
223
|
-
.
|
|
224
|
-
.
|
|
223
|
+
._modeClear_3f0o8_66._themeLight_3f0o8_73._highlighted_3f0o8_146._selected_3f0o8_111,
|
|
224
|
+
._modeClear_3f0o8_66._themeLight_3f0o8_73._selected_3f0o8_111:not(._disableCursor_3f0o8_141):hover{
|
|
225
225
|
background-color:rgba(25,25,28,0.1);
|
|
226
226
|
}
|
|
227
|
-
.
|
|
228
|
-
.
|
|
227
|
+
._modeClear_3f0o8_66._themeDark_3f0o8_78._highlighted_3f0o8_146._selected_3f0o8_111,
|
|
228
|
+
._modeClear_3f0o8_66._themeDark_3f0o8_78._selected_3f0o8_111:not(._disableCursor_3f0o8_141):hover{
|
|
229
229
|
background-color:rgba(255,255,255,0.1);
|
|
230
230
|
}
|
|
231
|
-
.
|
|
231
|
+
._menuItem_3f0o8_12._themeLight_3f0o8_73._disabled_3f0o8_229{
|
|
232
232
|
pointer-events:none;
|
|
233
233
|
color:rgba(25,25,28,0.5);
|
|
234
234
|
color:var(--rs-typography-color-pale, rgba(25,25,28,0.5));
|
|
235
235
|
}
|
|
236
|
-
.
|
|
236
|
+
._menuItem_3f0o8_12._themeDark_3f0o8_78._disabled_3f0o8_229{
|
|
237
237
|
pointer-events:none;
|
|
238
238
|
color:rgba(255,255,255,0.5);
|
|
239
239
|
color:var(--rs-typography-color-pale, rgba(255,255,255,0.5));
|
|
240
240
|
}
|
|
241
|
-
.
|
|
241
|
+
._icon_3f0o8_240{
|
|
242
242
|
-webkit-box-flex:0;
|
|
243
243
|
-ms-flex:0 0;
|
|
244
244
|
flex:0 0;
|
|
@@ -246,25 +246,25 @@
|
|
|
246
246
|
flex-basis:auto;
|
|
247
247
|
|
|
248
248
|
}
|
|
249
|
-
.
|
|
249
|
+
._sizeS_3f0o8_51._placementLeft_3f0o8_244 ._icon_3f0o8_240{
|
|
250
250
|
margin-right:8px;
|
|
251
251
|
}
|
|
252
|
-
.
|
|
252
|
+
._sizeS_3f0o8_51._placementRight_3f0o8_46 ._icon_3f0o8_240{
|
|
253
253
|
margin-left:8px;
|
|
254
254
|
}
|
|
255
|
-
.
|
|
255
|
+
._sizeM_3f0o8_56._placementLeft_3f0o8_244 ._icon_3f0o8_240{
|
|
256
256
|
margin-right:8px;
|
|
257
257
|
}
|
|
258
|
-
.
|
|
258
|
+
._sizeM_3f0o8_56._placementRight_3f0o8_46 ._icon_3f0o8_240{
|
|
259
259
|
margin-left:8px;
|
|
260
260
|
}
|
|
261
|
-
.
|
|
261
|
+
._sizeL_3f0o8_61._placementLeft_3f0o8_244 ._icon_3f0o8_240{
|
|
262
262
|
margin-right:16px;
|
|
263
263
|
}
|
|
264
|
-
.
|
|
264
|
+
._sizeL_3f0o8_61._placementRight_3f0o8_46 ._icon_3f0o8_240{
|
|
265
265
|
margin-left:16px;
|
|
266
266
|
}
|
|
267
|
-
.
|
|
267
|
+
._divider_3f0o8_270{
|
|
268
268
|
-ms-flex-negative:0;
|
|
269
269
|
flex-shrink:0;
|
|
270
270
|
|
|
@@ -274,16 +274,16 @@
|
|
|
274
274
|
|
|
275
275
|
border:none;
|
|
276
276
|
}
|
|
277
|
-
.
|
|
277
|
+
._divider_3f0o8_270._themeLight_3f0o8_73{
|
|
278
278
|
background-color:rgba(25,25,28,0.2);
|
|
279
279
|
}
|
|
280
|
-
.
|
|
280
|
+
._divider_3f0o8_270._themeDark_3f0o8_78{
|
|
281
281
|
background-color:rgba(255,255,255,0.2);
|
|
282
282
|
}
|
|
283
|
-
.
|
|
283
|
+
._groupHeader_3f0o8_288{
|
|
284
284
|
border:none;
|
|
285
285
|
}
|
|
286
|
-
.
|
|
286
|
+
._groupHeaderSizeL_3f0o8_292{
|
|
287
287
|
padding: 12px 16px;
|
|
288
288
|
letter-spacing:normal;
|
|
289
289
|
font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
@@ -297,7 +297,7 @@
|
|
|
297
297
|
line-height:28px;
|
|
298
298
|
line-height:var(--rs-h3-line-height, 28px);
|
|
299
299
|
}
|
|
300
|
-
.
|
|
300
|
+
._groupHeaderSizeM_3f0o8_297{
|
|
301
301
|
padding: 8px 16px;
|
|
302
302
|
font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
303
303
|
font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
|
|
@@ -310,7 +310,7 @@
|
|
|
310
310
|
line-height:24px;
|
|
311
311
|
line-height:var(--rs-h4-line-height, 24px);
|
|
312
312
|
}
|
|
313
|
-
.
|
|
313
|
+
._groupHeaderSizeS_3f0o8_302{
|
|
314
314
|
padding: 6px 8px;
|
|
315
315
|
font-family:'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif;
|
|
316
316
|
font-family:var(--rs-font-family-ui, var(--rs-font-family-jb-sans, 'JetBrains Sans', Inter, system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, 'Droid Sans', 'Helvetica Neue', Arial, sans-serif));
|
|
@@ -323,11 +323,11 @@
|
|
|
323
323
|
line-height:20px;
|
|
324
324
|
line-height:var(--rs-h5-line-height, 20px);
|
|
325
325
|
}
|
|
326
|
-
.
|
|
326
|
+
._groupHeaderThemeLight_3f0o8_307{
|
|
327
327
|
color:#19191C;
|
|
328
328
|
color:var(--rs-typography-color-hard, #19191C);
|
|
329
329
|
}
|
|
330
|
-
.
|
|
330
|
+
._groupHeaderThemeDark_3f0o8_311{
|
|
331
331
|
color:#FFFFFF;
|
|
332
332
|
color:var(--rs-typography-color-hard, #FFFFFF);
|
|
333
333
|
}
|
|
@@ -1,30 +1,30 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"wrapper": "
|
|
3
|
-
"menuItem": "
|
|
4
|
-
"content": "
|
|
5
|
-
"placementRight": "
|
|
6
|
-
"sizeS": "
|
|
7
|
-
"rs-reset-letter-spacing": "_rs-reset-letter-
|
|
8
|
-
"sizeM": "
|
|
9
|
-
"sizeL": "
|
|
10
|
-
"modeClear": "
|
|
11
|
-
"themeLight": "
|
|
12
|
-
"themeDark": "
|
|
13
|
-
"keyboardNavigationDisabled": "
|
|
14
|
-
"modeClassic": "
|
|
15
|
-
"selected": "
|
|
16
|
-
"modeRock": "
|
|
17
|
-
"disableCursor": "
|
|
18
|
-
"highlighted": "
|
|
19
|
-
"disabled": "
|
|
20
|
-
"icon": "
|
|
21
|
-
"placementLeft": "
|
|
22
|
-
"divider": "
|
|
23
|
-
"groupHeader": "
|
|
24
|
-
"groupHeaderSizeL": "
|
|
25
|
-
"groupHeaderSizeM": "
|
|
26
|
-
"groupHeaderSizeS": "
|
|
27
|
-
"groupHeaderThemeLight": "
|
|
28
|
-
"groupHeaderThemeDark": "
|
|
2
|
+
"wrapper": "_wrapper_3f0o8_8",
|
|
3
|
+
"menuItem": "_menuItem_3f0o8_12",
|
|
4
|
+
"content": "_content_3f0o8_40",
|
|
5
|
+
"placementRight": "_placementRight_3f0o8_46",
|
|
6
|
+
"sizeS": "_sizeS_3f0o8_51",
|
|
7
|
+
"rs-reset-letter-spacing": "_rs-reset-letter-spacing_3f0o8_1",
|
|
8
|
+
"sizeM": "_sizeM_3f0o8_56",
|
|
9
|
+
"sizeL": "_sizeL_3f0o8_61",
|
|
10
|
+
"modeClear": "_modeClear_3f0o8_66",
|
|
11
|
+
"themeLight": "_themeLight_3f0o8_73",
|
|
12
|
+
"themeDark": "_themeDark_3f0o8_78",
|
|
13
|
+
"keyboardNavigationDisabled": "_keyboardNavigationDisabled_3f0o8_83",
|
|
14
|
+
"modeClassic": "_modeClassic_3f0o8_99",
|
|
15
|
+
"selected": "_selected_3f0o8_111",
|
|
16
|
+
"modeRock": "_modeRock_3f0o8_121",
|
|
17
|
+
"disableCursor": "_disableCursor_3f0o8_141",
|
|
18
|
+
"highlighted": "_highlighted_3f0o8_146",
|
|
19
|
+
"disabled": "_disabled_3f0o8_229",
|
|
20
|
+
"icon": "_icon_3f0o8_240",
|
|
21
|
+
"placementLeft": "_placementLeft_3f0o8_244",
|
|
22
|
+
"divider": "_divider_3f0o8_270",
|
|
23
|
+
"groupHeader": "_groupHeader_3f0o8_288",
|
|
24
|
+
"groupHeaderSizeL": "_groupHeaderSizeL_3f0o8_292",
|
|
25
|
+
"groupHeaderSizeM": "_groupHeaderSizeM_3f0o8_297",
|
|
26
|
+
"groupHeaderSizeS": "_groupHeaderSizeS_3f0o8_302",
|
|
27
|
+
"groupHeaderThemeLight": "_groupHeaderThemeLight_3f0o8_307",
|
|
28
|
+
"groupHeaderThemeDark": "_groupHeaderThemeDark_3f0o8_311"
|
|
29
29
|
};
|
|
30
30
|
export { styles as default };
|
package/lib/parts/divider.d.ts
CHANGED
|
@@ -5,11 +5,11 @@ export interface DividerProps extends HTMLAttributes<HTMLHRElement> {
|
|
|
5
5
|
theme?: Theme;
|
|
6
6
|
className?: string;
|
|
7
7
|
}
|
|
8
|
-
declare
|
|
9
|
-
|
|
10
|
-
|
|
8
|
+
declare const Divider: {
|
|
9
|
+
({ className, theme, ...restProps }: DividerProps): JSX.Element;
|
|
10
|
+
propTypes: {
|
|
11
11
|
className: PropTypes.Requireable<string>;
|
|
12
12
|
theme: PropTypes.Requireable<string>;
|
|
13
13
|
};
|
|
14
|
-
}
|
|
14
|
+
};
|
|
15
15
|
export default Divider;
|
package/lib/parts/divider.js
CHANGED
|
@@ -24,7 +24,7 @@ var THEME_CLASS = {
|
|
|
24
24
|
dark: styles.themeDark
|
|
25
25
|
};
|
|
26
26
|
|
|
27
|
-
function Divider(_ref) {
|
|
27
|
+
var Divider = function Divider(_ref) {
|
|
28
28
|
var _menuContext$theme;
|
|
29
29
|
|
|
30
30
|
var className = _ref.className,
|
|
@@ -36,7 +36,7 @@ function Divider(_ref) {
|
|
|
36
36
|
return /*#__PURE__*/React.createElement("hr", _objectSpread({
|
|
37
37
|
className: cn(styles.divider, THEME_CLASS[actualTheme], className)
|
|
38
38
|
}, restProps));
|
|
39
|
-
}
|
|
39
|
+
};
|
|
40
40
|
|
|
41
41
|
Divider.propTypes = {
|
|
42
42
|
className: PropTypes.string,
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/menu",
|
|
3
|
-
"version": "0.9.
|
|
3
|
+
"version": "0.9.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -21,20 +21,20 @@
|
|
|
21
21
|
"nanoid": "^3.3.3"
|
|
22
22
|
},
|
|
23
23
|
"peerDependencies": {
|
|
24
|
-
"@rescui/ui-contexts": "
|
|
24
|
+
"@rescui/ui-contexts": "^0.4.0",
|
|
25
25
|
"prop-types": "^15.7.2",
|
|
26
|
-
"react": ">=16.8.0 <
|
|
26
|
+
"react": ">=16.8.0 <19"
|
|
27
27
|
},
|
|
28
28
|
"devDependencies": {
|
|
29
|
-
"@rescui/colors": "^0.1.
|
|
30
|
-
"@rescui/postcss-preset-library": "^0.1.
|
|
31
|
-
"@rescui/scripts": "^0.2.
|
|
32
|
-
"@rescui/typography": "^0.10.
|
|
29
|
+
"@rescui/colors": "^0.1.7",
|
|
30
|
+
"@rescui/postcss-preset-library": "^0.1.1",
|
|
31
|
+
"@rescui/scripts": "^0.2.1",
|
|
32
|
+
"@rescui/typography": "^0.10.2",
|
|
33
33
|
"@rescui/visual-regression": "^0.0.4",
|
|
34
34
|
"postcss": "^8.3.0"
|
|
35
35
|
},
|
|
36
36
|
"scripts": {
|
|
37
37
|
"build": "rescui-scripts build"
|
|
38
38
|
},
|
|
39
|
-
"gitHead": "
|
|
39
|
+
"gitHead": "fe003fad0ad4beaa89ab50c05d05cfec06265082"
|
|
40
40
|
}
|