@rescui/dropdown 0.7.4 → 0.7.5
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 +37 -37
- package/lib/index.p.module.css.js +12 -12
- package/package.json +6 -6
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@-webkit-keyframes
|
|
1
|
+
@-webkit-keyframes _fadeInTopToBottom_1uicyzf_1{
|
|
2
2
|
0%{
|
|
3
3
|
opacity:0;
|
|
4
4
|
|
|
@@ -14,7 +14,7 @@
|
|
|
14
14
|
transform:none;
|
|
15
15
|
}
|
|
16
16
|
}
|
|
17
|
-
@keyframes
|
|
17
|
+
@keyframes _fadeInTopToBottom_1uicyzf_1{
|
|
18
18
|
0%{
|
|
19
19
|
opacity:0;
|
|
20
20
|
|
|
@@ -30,7 +30,7 @@
|
|
|
30
30
|
transform:none;
|
|
31
31
|
}
|
|
32
32
|
}
|
|
33
|
-
@-webkit-keyframes
|
|
33
|
+
@-webkit-keyframes _fadeInBottomToTop_1uicyzf_1{
|
|
34
34
|
0%{
|
|
35
35
|
opacity:0;
|
|
36
36
|
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
transform:none;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
@keyframes
|
|
49
|
+
@keyframes _fadeInBottomToTop_1uicyzf_1{
|
|
50
50
|
0%{
|
|
51
51
|
opacity:0;
|
|
52
52
|
|
|
@@ -62,7 +62,7 @@
|
|
|
62
62
|
transform:none;
|
|
63
63
|
}
|
|
64
64
|
}
|
|
65
|
-
@-webkit-keyframes
|
|
65
|
+
@-webkit-keyframes _fadeInLeftToRight_1uicyzf_1{
|
|
66
66
|
0%{
|
|
67
67
|
opacity:0;
|
|
68
68
|
|
|
@@ -78,7 +78,7 @@
|
|
|
78
78
|
transform:none;
|
|
79
79
|
}
|
|
80
80
|
}
|
|
81
|
-
@keyframes
|
|
81
|
+
@keyframes _fadeInLeftToRight_1uicyzf_1{
|
|
82
82
|
0%{
|
|
83
83
|
opacity:0;
|
|
84
84
|
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
transform:none;
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
@-webkit-keyframes
|
|
97
|
+
@-webkit-keyframes _fadeInRightToLeft_1uicyzf_1{
|
|
98
98
|
0%{
|
|
99
99
|
opacity:0;
|
|
100
100
|
|
|
@@ -110,7 +110,7 @@
|
|
|
110
110
|
transform:none;
|
|
111
111
|
}
|
|
112
112
|
}
|
|
113
|
-
@keyframes
|
|
113
|
+
@keyframes _fadeInRightToLeft_1uicyzf_1{
|
|
114
114
|
0%{
|
|
115
115
|
opacity:0;
|
|
116
116
|
|
|
@@ -126,13 +126,13 @@
|
|
|
126
126
|
transform:none;
|
|
127
127
|
}
|
|
128
128
|
}
|
|
129
|
-
.
|
|
129
|
+
._themeLight_1uicyzf_60{
|
|
130
130
|
--rs-theme-dark:0;
|
|
131
131
|
}
|
|
132
|
-
.
|
|
132
|
+
._themeDark_1uicyzf_63{
|
|
133
133
|
--rs-theme-dark:1;
|
|
134
134
|
}
|
|
135
|
-
.
|
|
135
|
+
._dropdown_1uicyzf_67{
|
|
136
136
|
--_rs-theme-dark:var(
|
|
137
137
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
138
138
|
var(--rs-theme-dark, 0)
|
|
@@ -142,7 +142,7 @@
|
|
|
142
142
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
143
143
|
}
|
|
144
144
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
145
|
-
.
|
|
145
|
+
._dropdown_1uicyzf_67{
|
|
146
146
|
--_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)));
|
|
147
147
|
--_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)));
|
|
148
148
|
--_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)));
|
|
@@ -151,7 +151,7 @@
|
|
|
151
151
|
}
|
|
152
152
|
}
|
|
153
153
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
154
|
-
.
|
|
154
|
+
._dropdown_1uicyzf_67{
|
|
155
155
|
--_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);
|
|
156
156
|
--_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));
|
|
157
157
|
--_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));
|
|
@@ -159,7 +159,7 @@
|
|
|
159
159
|
--_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));
|
|
160
160
|
}
|
|
161
161
|
}
|
|
162
|
-
.
|
|
162
|
+
._dropdown_1uicyzf_67 {
|
|
163
163
|
display:-webkit-box;
|
|
164
164
|
display:-ms-flexbox;
|
|
165
165
|
display:flex;
|
|
@@ -168,10 +168,10 @@
|
|
|
168
168
|
-ms-flex-direction:column;
|
|
169
169
|
flex-direction:column;
|
|
170
170
|
}
|
|
171
|
-
.
|
|
171
|
+
._triggerWrapper_1uicyzf_74{
|
|
172
172
|
display:inline-block;
|
|
173
173
|
}
|
|
174
|
-
.
|
|
174
|
+
._contentWrapper_1uicyzf_78{
|
|
175
175
|
position:relative;
|
|
176
176
|
|
|
177
177
|
display:block;
|
|
@@ -194,48 +194,48 @@
|
|
|
194
194
|
|
|
195
195
|
transition:opacity linear 200ms, transform linear 200ms, -webkit-transform linear 200ms;
|
|
196
196
|
}
|
|
197
|
-
[data-popper-placement^="top" ] .
|
|
198
|
-
-webkit-animation:
|
|
199
|
-
animation:
|
|
197
|
+
[data-popper-placement^="top" ] ._contentWrapper_1uicyzf_78{
|
|
198
|
+
-webkit-animation:_fadeInBottomToTop_1uicyzf_1 ease 200ms;
|
|
199
|
+
animation:_fadeInBottomToTop_1uicyzf_1 ease 200ms;
|
|
200
200
|
}
|
|
201
|
-
[data-popper-placement^="bottom" ] .
|
|
202
|
-
-webkit-animation:
|
|
203
|
-
animation:
|
|
201
|
+
[data-popper-placement^="bottom" ] ._contentWrapper_1uicyzf_78{
|
|
202
|
+
-webkit-animation:_fadeInTopToBottom_1uicyzf_1 ease 200ms;
|
|
203
|
+
animation:_fadeInTopToBottom_1uicyzf_1 ease 200ms;
|
|
204
204
|
}
|
|
205
|
-
[data-popper-placement^="right"] .
|
|
206
|
-
-webkit-animation:
|
|
207
|
-
animation:
|
|
205
|
+
[data-popper-placement^="right"] ._contentWrapper_1uicyzf_78{
|
|
206
|
+
-webkit-animation:_fadeInLeftToRight_1uicyzf_1 ease 200ms;
|
|
207
|
+
animation:_fadeInLeftToRight_1uicyzf_1 ease 200ms;
|
|
208
208
|
}
|
|
209
|
-
[data-popper-placement^="left"] .
|
|
210
|
-
-webkit-animation:
|
|
211
|
-
animation:
|
|
209
|
+
[data-popper-placement^="left"] ._contentWrapper_1uicyzf_78{
|
|
210
|
+
-webkit-animation:_fadeInRightToLeft_1uicyzf_1 ease 200ms;
|
|
211
|
+
animation:_fadeInRightToLeft_1uicyzf_1 ease 200ms;
|
|
212
212
|
}
|
|
213
|
-
.
|
|
213
|
+
._wrapperHidden_1uicyzf_109{
|
|
214
214
|
opacity:0;
|
|
215
215
|
}
|
|
216
|
-
[data-popper-placement^="top" ] .
|
|
216
|
+
[data-popper-placement^="top" ] ._wrapperHidden_1uicyzf_109{
|
|
217
217
|
-webkit-transform:translateY(10px);
|
|
218
218
|
transform:translateY(10px);
|
|
219
219
|
}
|
|
220
|
-
[data-popper-placement^="bottom" ] .
|
|
220
|
+
[data-popper-placement^="bottom" ] ._wrapperHidden_1uicyzf_109{
|
|
221
221
|
-webkit-transform:translateY(-10px);
|
|
222
222
|
transform:translateY(-10px);
|
|
223
223
|
}
|
|
224
|
-
[data-popper-placement^="right"] .
|
|
224
|
+
[data-popper-placement^="right"] ._wrapperHidden_1uicyzf_109{
|
|
225
225
|
-webkit-transform:translateX(-10px);
|
|
226
226
|
transform:translateX(-10px);
|
|
227
227
|
}
|
|
228
|
-
[data-popper-placement^="left"] .
|
|
228
|
+
[data-popper-placement^="left"] ._wrapperHidden_1uicyzf_109{
|
|
229
229
|
-webkit-transform:translateX(10px);
|
|
230
230
|
transform:translateX(10px);
|
|
231
231
|
}
|
|
232
|
-
.
|
|
232
|
+
._modeClassic_1uicyzf_129 ._contentWrapper_1uicyzf_78{
|
|
233
233
|
background-color:rgb(calc(255 - var(--_rs-theme-dark-coefficient, 0)*207), calc(255 - var(--_rs-theme-dark-coefficient, 0)*207), calc(255 - var(--_rs-theme-dark-coefficient, 0)*204));
|
|
234
234
|
}
|
|
235
|
-
.
|
|
235
|
+
._modeRock_1uicyzf_133 ._contentWrapper_1uicyzf_78{
|
|
236
236
|
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));
|
|
237
237
|
}
|
|
238
|
-
.
|
|
238
|
+
._modeRock_1uicyzf_133{
|
|
239
239
|
--rs-parent-color-primary-light-theme:var(--rs-color-primary-light-theme);
|
|
240
240
|
--rs-parent-color-primary-dim-light-theme:var(--rs-color-primary-dim-light-theme);
|
|
241
241
|
--rs-parent-color-primary-fog-light-theme:var(--rs-color-primary-fog-light-theme);
|
|
@@ -248,7 +248,7 @@
|
|
|
248
248
|
--rs-parent-color-primary-t-dim-dark-theme:var(--rs-color-primary-t-dim-dark-theme);
|
|
249
249
|
--rs-parent-color-primary-t-fog-dark-theme:var(--rs-color-primary-t-fog-dark-theme);
|
|
250
250
|
}
|
|
251
|
-
.
|
|
251
|
+
._modeRock_1uicyzf_133 > *{
|
|
252
252
|
--rs-color-primary-dark-theme:var(--rs-parent-color-primary-light-theme);
|
|
253
253
|
--rs-color-primary-dim-dark-theme:var(--rs-parent-color-primary-dim-light-theme);
|
|
254
254
|
--rs-color-primary-fog-dark-theme:var(--rs-parent-color-primary-fog-light-theme);
|
|
@@ -1,15 +1,15 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"themeLight": "
|
|
3
|
-
"themeDark": "
|
|
4
|
-
"dropdown": "
|
|
5
|
-
"triggerWrapper": "
|
|
6
|
-
"contentWrapper": "
|
|
7
|
-
"fadeInBottomToTop": "
|
|
8
|
-
"fadeInTopToBottom": "
|
|
9
|
-
"fadeInLeftToRight": "
|
|
10
|
-
"fadeInRightToLeft": "
|
|
11
|
-
"wrapperHidden": "
|
|
12
|
-
"modeClassic": "
|
|
13
|
-
"modeRock": "
|
|
2
|
+
"themeLight": "_themeLight_1uicyzf_60",
|
|
3
|
+
"themeDark": "_themeDark_1uicyzf_63",
|
|
4
|
+
"dropdown": "_dropdown_1uicyzf_67",
|
|
5
|
+
"triggerWrapper": "_triggerWrapper_1uicyzf_74",
|
|
6
|
+
"contentWrapper": "_contentWrapper_1uicyzf_78",
|
|
7
|
+
"fadeInBottomToTop": "_fadeInBottomToTop_1uicyzf_1",
|
|
8
|
+
"fadeInTopToBottom": "_fadeInTopToBottom_1uicyzf_1",
|
|
9
|
+
"fadeInLeftToRight": "_fadeInLeftToRight_1uicyzf_1",
|
|
10
|
+
"fadeInRightToLeft": "_fadeInRightToLeft_1uicyzf_1",
|
|
11
|
+
"wrapperHidden": "_wrapperHidden_1uicyzf_109",
|
|
12
|
+
"modeClassic": "_modeClassic_1uicyzf_129",
|
|
13
|
+
"modeRock": "_modeRock_1uicyzf_133"
|
|
14
14
|
};
|
|
15
15
|
export { styles as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/dropdown",
|
|
3
|
-
"version": "0.7.
|
|
3
|
+
"version": "0.7.5",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -29,15 +29,15 @@
|
|
|
29
29
|
"react-dom": ">=16.8.0 <19"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@rescui/colors": "^0.2.
|
|
33
|
-
"@rescui/icons": "^0.16.
|
|
34
|
-
"@rescui/scripts": "^0.3.
|
|
35
|
-
"@rescui/typography": "^0.
|
|
32
|
+
"@rescui/colors": "^0.2.3",
|
|
33
|
+
"@rescui/icons": "^0.16.5",
|
|
34
|
+
"@rescui/scripts": "^0.3.3",
|
|
35
|
+
"@rescui/typography": "^0.17.0",
|
|
36
36
|
"@rescui/visual-regression": "^0.1.2"
|
|
37
37
|
},
|
|
38
38
|
"scripts": {
|
|
39
39
|
"build": "rescui-scripts build"
|
|
40
40
|
},
|
|
41
41
|
"nx": {},
|
|
42
|
-
"gitHead": "
|
|
42
|
+
"gitHead": "b422496bacb5df4a601008c646abfb08cebe461c"
|
|
43
43
|
}
|