@rescui/dropdown 0.12.1 → 0.12.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/dropdown.p.module.css.js +9 -9
- package/lib/index.css +19 -19
- package/package.json +3 -3
|
@@ -1,12 +1,12 @@
|
|
|
1
1
|
var styles = {
|
|
2
|
-
"themeLight": "
|
|
3
|
-
"themeDark": "
|
|
4
|
-
"dropdown": "
|
|
5
|
-
"triggerWrapper": "
|
|
6
|
-
"contentWrapper": "
|
|
7
|
-
"wrapperInitial": "
|
|
8
|
-
"wrapperHidden": "
|
|
9
|
-
"modeClassic": "
|
|
10
|
-
"modeRock": "
|
|
2
|
+
"themeLight": "_themeLight_17d5z99_7",
|
|
3
|
+
"themeDark": "_themeDark_17d5z99_10",
|
|
4
|
+
"dropdown": "_dropdown_17d5z99_14",
|
|
5
|
+
"triggerWrapper": "_triggerWrapper_17d5z99_21",
|
|
6
|
+
"contentWrapper": "_contentWrapper_17d5z99_25",
|
|
7
|
+
"wrapperInitial": "_wrapperInitial_17d5z99_41",
|
|
8
|
+
"wrapperHidden": "_wrapperHidden_17d5z99_45",
|
|
9
|
+
"modeClassic": "_modeClassic_17d5z99_65",
|
|
10
|
+
"modeRock": "_modeRock_17d5z99_69"
|
|
11
11
|
};
|
|
12
12
|
export { styles as default };
|
package/lib/index.css
CHANGED
|
@@ -3,13 +3,13 @@
|
|
|
3
3
|
inherits:true;
|
|
4
4
|
initial-value:0;
|
|
5
5
|
}
|
|
6
|
-
.
|
|
6
|
+
._themeLight_17d5z99_7{
|
|
7
7
|
--rs-theme-dark:0;
|
|
8
8
|
}
|
|
9
|
-
.
|
|
9
|
+
._themeDark_17d5z99_10{
|
|
10
10
|
--rs-theme-dark:1;
|
|
11
11
|
}
|
|
12
|
-
.
|
|
12
|
+
._dropdown_17d5z99_14{
|
|
13
13
|
--_rs-theme-dark:var(
|
|
14
14
|
--_rs-internal-force-theme-dark-consult-rescui-before-using,
|
|
15
15
|
var(--rs-theme-dark, 0)
|
|
@@ -19,7 +19,7 @@
|
|
|
19
19
|
--_rs-theme-light-coefficient:calc(1 - var(--_rs-theme-dark-coefficient));
|
|
20
20
|
}
|
|
21
21
|
@supports (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
22
|
-
.
|
|
22
|
+
._dropdown_17d5z99_14{
|
|
23
23
|
--_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)));
|
|
24
24
|
--_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)));
|
|
25
25
|
--_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)));
|
|
@@ -28,7 +28,7 @@
|
|
|
28
28
|
}
|
|
29
29
|
}
|
|
30
30
|
@supports not (color: color-mix(in srgb, #fff 50%, #000 50%)){
|
|
31
|
-
.
|
|
31
|
+
._dropdown_17d5z99_14{
|
|
32
32
|
--_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);
|
|
33
33
|
--_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));
|
|
34
34
|
--_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));
|
|
@@ -36,14 +36,14 @@
|
|
|
36
36
|
--_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));
|
|
37
37
|
}
|
|
38
38
|
}
|
|
39
|
-
.
|
|
39
|
+
._dropdown_17d5z99_14 {
|
|
40
40
|
display:flex;
|
|
41
41
|
flex-direction:column;
|
|
42
42
|
}
|
|
43
|
-
.
|
|
43
|
+
._triggerWrapper_17d5z99_21{
|
|
44
44
|
display:inline-block;
|
|
45
45
|
}
|
|
46
|
-
.
|
|
46
|
+
._contentWrapper_17d5z99_25{
|
|
47
47
|
position:relative;
|
|
48
48
|
|
|
49
49
|
display:block;
|
|
@@ -57,34 +57,34 @@
|
|
|
57
57
|
|
|
58
58
|
transition:opacity var(--rs-transition-function, ease) 200ms, transform var(--rs-transition-function, ease) 200ms;
|
|
59
59
|
}
|
|
60
|
-
.
|
|
60
|
+
._wrapperInitial_17d5z99_41{
|
|
61
61
|
transition:none;
|
|
62
62
|
}
|
|
63
|
-
.
|
|
63
|
+
._wrapperHidden_17d5z99_45{
|
|
64
64
|
opacity:0;
|
|
65
65
|
}
|
|
66
|
-
[data-popper-placement^='top'] .
|
|
66
|
+
[data-popper-placement^='top'] ._wrapperHidden_17d5z99_45{
|
|
67
67
|
transform:translateY(10px);
|
|
68
68
|
}
|
|
69
|
-
[data-popper-placement^='bottom'] .
|
|
69
|
+
[data-popper-placement^='bottom'] ._wrapperHidden_17d5z99_45{
|
|
70
70
|
transform:translateY(-10px);
|
|
71
71
|
}
|
|
72
|
-
[data-popper-placement^='right'] .
|
|
72
|
+
[data-popper-placement^='right'] ._wrapperHidden_17d5z99_45{
|
|
73
73
|
transform:translateX(-10px);
|
|
74
74
|
}
|
|
75
|
-
[data-popper-placement^='left'] .
|
|
75
|
+
[data-popper-placement^='left'] ._wrapperHidden_17d5z99_45{
|
|
76
76
|
transform:translateX(10px);
|
|
77
77
|
}
|
|
78
|
-
.
|
|
78
|
+
._modeClassic_17d5z99_65 ._contentWrapper_17d5z99_25{
|
|
79
79
|
background-color:rgb(calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*230), calc(255 - var(--_rs-theme-dark-coefficient, 0)*227));
|
|
80
80
|
}
|
|
81
|
-
.
|
|
81
|
+
._modeRock_17d5z99_69 ._contentWrapper_17d5z99_25{
|
|
82
82
|
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));
|
|
83
83
|
}
|
|
84
|
-
.
|
|
84
|
+
._modeClassic_17d5z99_65._themeDark_17d5z99_10 ._contentWrapper_17d5z99_25, ._modeRock_17d5z99_69._themeLight_17d5z99_7 ._contentWrapper_17d5z99_25{
|
|
85
85
|
color-scheme:dark;
|
|
86
86
|
}
|
|
87
|
-
.
|
|
87
|
+
._modeRock_17d5z99_69{
|
|
88
88
|
--rs-parent-color-primary-light-theme:var(--rs-color-primary-light-theme);
|
|
89
89
|
--rs-parent-color-primary-dim-light-theme:var(
|
|
90
90
|
--rs-color-primary-dim-light-theme
|
|
@@ -113,7 +113,7 @@
|
|
|
113
113
|
--rs-color-primary-t-fog-dark-theme
|
|
114
114
|
);
|
|
115
115
|
}
|
|
116
|
-
.
|
|
116
|
+
._modeRock_17d5z99_69 > *{
|
|
117
117
|
--rs-color-primary-dark-theme:var(--rs-parent-color-primary-light-theme);
|
|
118
118
|
--rs-color-primary-dim-dark-theme:var(
|
|
119
119
|
--rs-parent-color-primary-dim-light-theme
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@rescui/dropdown",
|
|
3
|
-
"version": "0.12.
|
|
3
|
+
"version": "0.12.2",
|
|
4
4
|
"description": "",
|
|
5
5
|
"license": "Apache-2.0",
|
|
6
6
|
"author": "JetBrains",
|
|
@@ -33,7 +33,7 @@
|
|
|
33
33
|
},
|
|
34
34
|
"devDependencies": {
|
|
35
35
|
"@rescui/colors": "^0.3.4",
|
|
36
|
-
"@rescui/icons": "^1.
|
|
36
|
+
"@rescui/icons": "^1.10.0",
|
|
37
37
|
"@rescui/scripts": "^0.5.3",
|
|
38
38
|
"@rescui/typography": "^0.28.1",
|
|
39
39
|
"@rescui/visual-regression": "^0.1.4"
|
|
@@ -42,5 +42,5 @@
|
|
|
42
42
|
"build": "rescui-scripts build"
|
|
43
43
|
},
|
|
44
44
|
"nx": {},
|
|
45
|
-
"gitHead": "
|
|
45
|
+
"gitHead": "2098d900da98598346991486acbb9e246fb59dc9"
|
|
46
46
|
}
|