@rescui/dropdown 0.4.2 → 0.5.0
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 +34 -34
- package/lib/index.d.ts +7 -1
- package/lib/index.js +8 -1
- package/lib/index.p.module.css.js +11 -11
- package/package.json +5 -5
package/lib/index.css
CHANGED
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
@-webkit-keyframes
|
|
1
|
+
@-webkit-keyframes _fadeInTopToBottom_6ptgip_1{
|
|
2
2
|
0%{
|
|
3
3
|
opacity:0;
|
|
4
4
|
-webkit-transform:translateY(-10px);
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
transform:none;
|
|
11
11
|
}
|
|
12
12
|
}
|
|
13
|
-
@keyframes
|
|
13
|
+
@keyframes _fadeInTopToBottom_6ptgip_1{
|
|
14
14
|
0%{
|
|
15
15
|
opacity:0;
|
|
16
16
|
-webkit-transform:translateY(-10px);
|
|
@@ -22,7 +22,7 @@
|
|
|
22
22
|
transform:none;
|
|
23
23
|
}
|
|
24
24
|
}
|
|
25
|
-
@-webkit-keyframes
|
|
25
|
+
@-webkit-keyframes _fadeInBottomToTop_6ptgip_1{
|
|
26
26
|
0%{
|
|
27
27
|
opacity:0;
|
|
28
28
|
-webkit-transform:translateY(10px);
|
|
@@ -34,7 +34,7 @@
|
|
|
34
34
|
transform:none;
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
|
-
@keyframes
|
|
37
|
+
@keyframes _fadeInBottomToTop_6ptgip_1{
|
|
38
38
|
0%{
|
|
39
39
|
opacity:0;
|
|
40
40
|
-webkit-transform:translateY(10px);
|
|
@@ -46,7 +46,7 @@
|
|
|
46
46
|
transform:none;
|
|
47
47
|
}
|
|
48
48
|
}
|
|
49
|
-
@-webkit-keyframes
|
|
49
|
+
@-webkit-keyframes _fadeInLeftToRight_6ptgip_1{
|
|
50
50
|
0%{
|
|
51
51
|
opacity:0;
|
|
52
52
|
-webkit-transform:translateX(-10px);
|
|
@@ -58,7 +58,7 @@
|
|
|
58
58
|
transform:none;
|
|
59
59
|
}
|
|
60
60
|
}
|
|
61
|
-
@keyframes
|
|
61
|
+
@keyframes _fadeInLeftToRight_6ptgip_1{
|
|
62
62
|
0%{
|
|
63
63
|
opacity:0;
|
|
64
64
|
-webkit-transform:translateX(-10px);
|
|
@@ -70,7 +70,7 @@
|
|
|
70
70
|
transform:none;
|
|
71
71
|
}
|
|
72
72
|
}
|
|
73
|
-
@-webkit-keyframes
|
|
73
|
+
@-webkit-keyframes _fadeInRightToLeft_6ptgip_1{
|
|
74
74
|
0%{
|
|
75
75
|
opacity:0;
|
|
76
76
|
-webkit-transform:translateX(10px);
|
|
@@ -82,7 +82,7 @@
|
|
|
82
82
|
transform:none;
|
|
83
83
|
}
|
|
84
84
|
}
|
|
85
|
-
@keyframes
|
|
85
|
+
@keyframes _fadeInRightToLeft_6ptgip_1{
|
|
86
86
|
0%{
|
|
87
87
|
opacity:0;
|
|
88
88
|
-webkit-transform:translateX(10px);
|
|
@@ -94,7 +94,7 @@
|
|
|
94
94
|
transform:none;
|
|
95
95
|
}
|
|
96
96
|
}
|
|
97
|
-
.
|
|
97
|
+
._dropdown_6ptgip_50{
|
|
98
98
|
display:-webkit-box;
|
|
99
99
|
display:-ms-flexbox;
|
|
100
100
|
display:flex;
|
|
@@ -103,10 +103,10 @@
|
|
|
103
103
|
-ms-flex-direction:column;
|
|
104
104
|
flex-direction:column;
|
|
105
105
|
}
|
|
106
|
-
.
|
|
106
|
+
._triggerWrapper_6ptgip_55{
|
|
107
107
|
display:inline-block;
|
|
108
108
|
}
|
|
109
|
-
.
|
|
109
|
+
._contentWrapper_6ptgip_59{
|
|
110
110
|
display:block;
|
|
111
111
|
-webkit-box-sizing:border-box;
|
|
112
112
|
box-sizing:border-box;
|
|
@@ -119,58 +119,58 @@
|
|
|
119
119
|
transition:opacity linear 200ms, transform linear 200ms;
|
|
120
120
|
transition:opacity linear 200ms, transform linear 200ms, -webkit-transform linear 200ms;
|
|
121
121
|
}
|
|
122
|
-
[data-popper-placement^="top" ] .
|
|
123
|
-
-webkit-animation:
|
|
124
|
-
animation:
|
|
122
|
+
[data-popper-placement^="top" ] ._contentWrapper_6ptgip_59{
|
|
123
|
+
-webkit-animation:_fadeInBottomToTop_6ptgip_1 ease 200ms;
|
|
124
|
+
animation:_fadeInBottomToTop_6ptgip_1 ease 200ms;
|
|
125
125
|
}
|
|
126
|
-
[data-popper-placement^="bottom" ] .
|
|
127
|
-
-webkit-animation:
|
|
128
|
-
animation:
|
|
126
|
+
[data-popper-placement^="bottom" ] ._contentWrapper_6ptgip_59{
|
|
127
|
+
-webkit-animation:_fadeInTopToBottom_6ptgip_1 ease 200ms;
|
|
128
|
+
animation:_fadeInTopToBottom_6ptgip_1 ease 200ms;
|
|
129
129
|
}
|
|
130
|
-
[data-popper-placement^="right"] .
|
|
131
|
-
-webkit-animation:
|
|
132
|
-
animation:
|
|
130
|
+
[data-popper-placement^="right"] ._contentWrapper_6ptgip_59{
|
|
131
|
+
-webkit-animation:_fadeInLeftToRight_6ptgip_1 ease 200ms;
|
|
132
|
+
animation:_fadeInLeftToRight_6ptgip_1 ease 200ms;
|
|
133
133
|
}
|
|
134
|
-
[data-popper-placement^="left"] .
|
|
135
|
-
-webkit-animation:
|
|
136
|
-
animation:
|
|
134
|
+
[data-popper-placement^="left"] ._contentWrapper_6ptgip_59{
|
|
135
|
+
-webkit-animation:_fadeInRightToLeft_6ptgip_1 ease 200ms;
|
|
136
|
+
animation:_fadeInRightToLeft_6ptgip_1 ease 200ms;
|
|
137
137
|
}
|
|
138
|
-
.
|
|
138
|
+
._wrapperHidden_6ptgip_85{
|
|
139
139
|
opacity:0;
|
|
140
140
|
}
|
|
141
|
-
[data-popper-placement^="top" ] .
|
|
141
|
+
[data-popper-placement^="top" ] ._wrapperHidden_6ptgip_85{
|
|
142
142
|
-webkit-transform:translateY(10px);
|
|
143
143
|
transform:translateY(10px);
|
|
144
144
|
}
|
|
145
|
-
[data-popper-placement^="bottom" ] .
|
|
145
|
+
[data-popper-placement^="bottom" ] ._wrapperHidden_6ptgip_85{
|
|
146
146
|
-webkit-transform:translateY(-10px);
|
|
147
147
|
transform:translateY(-10px);
|
|
148
148
|
}
|
|
149
|
-
[data-popper-placement^="right"] .
|
|
149
|
+
[data-popper-placement^="right"] ._wrapperHidden_6ptgip_85{
|
|
150
150
|
-webkit-transform:translateX(-10px);
|
|
151
151
|
transform:translateX(-10px);
|
|
152
152
|
}
|
|
153
|
-
[data-popper-placement^="left"] .
|
|
153
|
+
[data-popper-placement^="left"] ._wrapperHidden_6ptgip_85{
|
|
154
154
|
-webkit-transform:translateX(10px);
|
|
155
155
|
transform:translateX(10px);
|
|
156
156
|
}
|
|
157
|
-
.
|
|
157
|
+
._themeLight_6ptgip_105 ._contentWrapper_6ptgip_59{
|
|
158
158
|
background-color:#FFFFFF;
|
|
159
159
|
-webkit-box-shadow:0 0 0 1px #D1D1D2;
|
|
160
160
|
box-shadow:0 0 0 1px #D1D1D2;
|
|
161
161
|
}
|
|
162
|
-
.
|
|
162
|
+
._themeLight_6ptgip_105._modeRock_6ptgip_110 ._contentWrapper_6ptgip_59{
|
|
163
163
|
background-color:#19191C;
|
|
164
164
|
}
|
|
165
|
-
.
|
|
165
|
+
._themeDark_6ptgip_114 ._contentWrapper_6ptgip_59{
|
|
166
166
|
background-color:#303033;
|
|
167
167
|
-webkit-box-shadow:0 0 0 1px #757577;
|
|
168
168
|
box-shadow:0 0 0 1px #757577;
|
|
169
169
|
}
|
|
170
|
-
.
|
|
170
|
+
._themeDark_6ptgip_114._modeRock_6ptgip_110 ._contentWrapper_6ptgip_59{
|
|
171
171
|
background-color:#FFFFFF;
|
|
172
172
|
}
|
|
173
|
-
.
|
|
173
|
+
._modeRock_6ptgip_110{
|
|
174
174
|
--rs-parent-color-primary-light-theme:var(--rs-color-primary-light-theme);
|
|
175
175
|
--rs-parent-color-primary-dim-light-theme:var(--rs-color-primary-dim-light-theme);
|
|
176
176
|
--rs-parent-color-primary-fog-light-theme:var(--rs-color-primary-fog-light-theme);
|
|
@@ -183,7 +183,7 @@
|
|
|
183
183
|
--rs-parent-color-primary-t-dim-dark-theme:var(--rs-color-primary-t-dim-dark-theme);
|
|
184
184
|
--rs-parent-color-primary-t-fog-dark-theme:var(--rs-color-primary-t-fog-dark-theme);
|
|
185
185
|
}
|
|
186
|
-
.
|
|
186
|
+
._modeRock_6ptgip_110 > *{
|
|
187
187
|
--rs-color-primary-dark-theme:var(--rs-parent-color-primary-light-theme);
|
|
188
188
|
--rs-color-primary-dim-dark-theme:var(--rs-parent-color-primary-dim-light-theme);
|
|
189
189
|
--rs-color-primary-fog-dark-theme:var(--rs-parent-color-primary-fog-light-theme);
|
package/lib/index.d.ts
CHANGED
|
@@ -1,2 +1,8 @@
|
|
|
1
|
-
|
|
1
|
+
/// <reference types="react" />
|
|
2
|
+
/**
|
|
3
|
+
* @deprecated use named import instead
|
|
4
|
+
*/
|
|
5
|
+
declare const DefaultDropdown: import("react").ForwardRefExoticComponent<import("./dropdown").DropdownProps & import("react").RefAttributes<import("./dropdown").DropdownImperativeHandle>>;
|
|
6
|
+
export default DefaultDropdown;
|
|
7
|
+
export { Dropdown } from './dropdown';
|
|
2
8
|
export type { DropdownProps } from './dropdown';
|
package/lib/index.js
CHANGED
|
@@ -1,2 +1,9 @@
|
|
|
1
1
|
import './index.css';
|
|
2
|
-
|
|
2
|
+
import { Dropdown } from './dropdown.js';
|
|
3
|
+
export { Dropdown } from './dropdown.js';
|
|
4
|
+
/**
|
|
5
|
+
* @deprecated use named import instead
|
|
6
|
+
*/
|
|
7
|
+
|
|
8
|
+
var DefaultDropdown = Dropdown;
|
|
9
|
+
export { DefaultDropdown as default };
|
|
@@ -1,14 +1,14 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"dropdown": "
|
|
3
|
-
"triggerWrapper": "
|
|
4
|
-
"contentWrapper": "
|
|
5
|
-
"fadeInBottomToTop": "
|
|
6
|
-
"fadeInTopToBottom": "
|
|
7
|
-
"fadeInLeftToRight": "
|
|
8
|
-
"fadeInRightToLeft": "
|
|
9
|
-
"wrapperHidden": "
|
|
10
|
-
"themeLight": "
|
|
11
|
-
"modeRock": "
|
|
12
|
-
"themeDark": "
|
|
2
|
+
"dropdown": "_dropdown_6ptgip_50",
|
|
3
|
+
"triggerWrapper": "_triggerWrapper_6ptgip_55",
|
|
4
|
+
"contentWrapper": "_contentWrapper_6ptgip_59",
|
|
5
|
+
"fadeInBottomToTop": "_fadeInBottomToTop_6ptgip_1",
|
|
6
|
+
"fadeInTopToBottom": "_fadeInTopToBottom_6ptgip_1",
|
|
7
|
+
"fadeInLeftToRight": "_fadeInLeftToRight_6ptgip_1",
|
|
8
|
+
"fadeInRightToLeft": "_fadeInRightToLeft_6ptgip_1",
|
|
9
|
+
"wrapperHidden": "_wrapperHidden_6ptgip_85",
|
|
10
|
+
"themeLight": "_themeLight_6ptgip_105",
|
|
11
|
+
"modeRock": "_modeRock_6ptgip_110",
|
|
12
|
+
"themeDark": "_themeDark_6ptgip_114"
|
|
13
13
|
};
|
|
14
14
|
export { styles as default };
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/dropdown",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.0",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -29,13 +29,13 @@
|
|
|
29
29
|
"react-dom": ">=16.8.0 <18"
|
|
30
30
|
},
|
|
31
31
|
"devDependencies": {
|
|
32
|
-
"@rescui/colors": "^0.1.
|
|
33
|
-
"@rescui/scripts": "^0.
|
|
34
|
-
"@rescui/typography": "^0.
|
|
32
|
+
"@rescui/colors": "^0.1.6",
|
|
33
|
+
"@rescui/scripts": "^0.2.0",
|
|
34
|
+
"@rescui/typography": "^0.10.0",
|
|
35
35
|
"@rescui/visual-regression": "^0.0.4"
|
|
36
36
|
},
|
|
37
37
|
"scripts": {
|
|
38
38
|
"build": "rescui-scripts build"
|
|
39
39
|
},
|
|
40
|
-
"gitHead": "
|
|
40
|
+
"gitHead": "c87adfdebe07392a0aa67ce434ce465762d8fa95"
|
|
41
41
|
}
|