@semcore/side-panel 2.0.20 → 2.0.21
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/CHANGELOG.md +2 -122
- package/LICENSE +21 -0
- package/lib/cjs/SidePanel.js +16 -16
- package/lib/es6/SidePanel.js +16 -16
- package/package.json +6 -6
package/CHANGELOG.md
CHANGED
|
@@ -2,107 +2,11 @@
|
|
|
2
2
|
|
|
3
3
|
CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
|
|
4
4
|
|
|
5
|
-
## [2.0.
|
|
5
|
+
## [2.0.21] - 2022-10-06
|
|
6
6
|
|
|
7
7
|
### Changed
|
|
8
8
|
|
|
9
|
-
- Version patch update due to children dependencies update (`@semcore/
|
|
10
|
-
|
|
11
|
-
## [2.0.19] - 2022-09-29
|
|
12
|
-
|
|
13
|
-
### Changed
|
|
14
|
-
|
|
15
|
-
- Version patch update due to children dependencies update (`@semcore/icon` [2.30.4 ~> 2.31.0]).
|
|
16
|
-
|
|
17
|
-
## [2.0.18] - 2022-09-21
|
|
18
|
-
|
|
19
|
-
### Changed
|
|
20
|
-
|
|
21
|
-
- Version patch update due to children dependencies update (`@semcore/icon` [2.30.3 ~> 2.30.4]).
|
|
22
|
-
|
|
23
|
-
## [2.0.17] - 2022-09-21
|
|
24
|
-
|
|
25
|
-
### Changed
|
|
26
|
-
|
|
27
|
-
- Version patch update due to children dependencies update (`@semcore/icon` [2.30.2 ~> 2.30.3]).
|
|
28
|
-
|
|
29
|
-
## [2.0.16] - 2022-08-30
|
|
30
|
-
|
|
31
|
-
### Changed
|
|
32
|
-
|
|
33
|
-
- Version patch update due to children dependencies update (`@semcore/utils` [3.37.0 ~> 3.37.1], `@semcore/animation` [1.5.9 ~> 1.5.10], `@semcore/flex-box` [4.5.10 ~> 4.5.11], `@semcore/portal` [2.3.11 ~> 2.3.12], `@semcore/outside-click` [2.4.12 ~> 2.4.13], `@semcore/icon` [2.30.1 ~> 2.30.2]).
|
|
34
|
-
|
|
35
|
-
## [2.0.15] - 2022-08-29
|
|
36
|
-
|
|
37
|
-
### Changed
|
|
38
|
-
|
|
39
|
-
- Version patch update due to children dependencies update (`@semcore/animation` [1.5.8 ~> 1.5.9]).
|
|
40
|
-
|
|
41
|
-
## [2.0.14] - 2022-08-18
|
|
42
|
-
|
|
43
|
-
### Changed
|
|
44
|
-
|
|
45
|
-
- Version patch update due to children dependencies update (`@semcore/icon` [2.30.0 ~> 2.30.1]).
|
|
46
|
-
|
|
47
|
-
## [2.0.13] - 2022-08-18
|
|
48
|
-
|
|
49
|
-
### Changed
|
|
50
|
-
|
|
51
|
-
- Version patch update due to children dependencies update (`@semcore/icon` [2.29.5 ~> 2.30.0]).
|
|
52
|
-
|
|
53
|
-
## [2.0.12] - 2022-08-18
|
|
54
|
-
|
|
55
|
-
### Changed
|
|
56
|
-
|
|
57
|
-
- Version patch update due to children dependencies update (`@semcore/utils` [3.36.0 ~> 3.37.0], `@semcore/animation` [1.5.7 ~> 1.5.8], `@semcore/flex-box` [4.5.9 ~> 4.5.10], `@semcore/portal` [2.3.10 ~> 2.3.11], `@semcore/outside-click` [2.4.11 ~> 2.4.12], `@semcore/icon` [2.29.4 ~> 2.29.5]).
|
|
58
|
-
|
|
59
|
-
## [2.0.11] - 2022-08-11
|
|
60
|
-
|
|
61
|
-
### Changed
|
|
62
|
-
|
|
63
|
-
- Version patch update due to children dependencies update (`@semcore/utils` [3.35.1 ~> 3.36.0], `@semcore/animation` [1.5.6 ~> 1.5.7], `@semcore/flex-box` [4.5.8 ~> 4.5.9], `@semcore/portal` [2.3.9 ~> 2.3.10], `@semcore/typography` [4.0.11 ~> 4.1.0], `@semcore/outside-click` [2.4.10 ~> 2.4.11], `@semcore/icon` [2.29.3 ~> 2.29.4]).
|
|
64
|
-
|
|
65
|
-
## [2.0.10] - 2022-07-25
|
|
66
|
-
|
|
67
|
-
### Changed
|
|
68
|
-
|
|
69
|
-
- Version patch update due to children dependencies update (`@semcore/icon` [2.29.1 ~> 2.29.2]).
|
|
70
|
-
|
|
71
|
-
## [2.0.9] - 2022-07-22
|
|
72
|
-
|
|
73
|
-
### Changed
|
|
74
|
-
|
|
75
|
-
- Version patch update due to children dependencies update (`@semcore/utils` [3.34.0 ~> 3.35.0], `@semcore/animation` [1.5.4 ~> 1.5.5], `@semcore/flex-box` [4.5.6 ~> 4.5.7], `@semcore/portal` [2.3.7 ~> 2.3.8], `@semcore/outside-click` [2.4.7 ~> 2.4.8], `@semcore/icon` [2.29.0 ~> 2.29.1]).
|
|
76
|
-
|
|
77
|
-
## [2.0.8] - 2022-07-21
|
|
78
|
-
|
|
79
|
-
### Changed
|
|
80
|
-
|
|
81
|
-
- Version patch update due to children dependencies update (`@semcore/icon` [2.28.0 ~> 2.29.0]).
|
|
82
|
-
|
|
83
|
-
## [2.0.7] - 2022-07-07
|
|
84
|
-
|
|
85
|
-
### Changed
|
|
86
|
-
|
|
87
|
-
- Version patch update due to children dependencies update (`@semcore/utils` [3.33.0 ~> 3.34.0], `@semcore/animation` [1.5.3 ~> 1.5.4], `@semcore/flex-box` [4.5.5 ~> 4.5.6], `@semcore/portal` [2.3.6 ~> 2.3.7], `@semcore/outside-click` [2.4.6 ~> 2.4.7], `@semcore/icon` [2.27.0 ~> 2.28.0]).
|
|
88
|
-
|
|
89
|
-
## [2.0.6] - 2022-06-02
|
|
90
|
-
|
|
91
|
-
### Changed
|
|
92
|
-
|
|
93
|
-
- Version patch update due to children dependencies update (`@semcore/utils` [3.32.2 ~> 3.33.0], `@semcore/animation` [1.5.2 ~> 1.5.3], `@semcore/flex-box` [4.5.4 ~> 4.5.5], `@semcore/portal` [2.3.5 ~> 2.3.6], `@semcore/outside-click` [2.4.5 ~> 2.4.6], `@semcore/icon` [2.26.1 ~> 2.27.0]).
|
|
94
|
-
|
|
95
|
-
## [2.0.5] - 2022-05-31
|
|
96
|
-
|
|
97
|
-
### Changed
|
|
98
|
-
|
|
99
|
-
- Version patch update due to children dependencies update (`@semcore/utils` [3.32.1 ~> 3.32.2], `@semcore/animation` [1.5.1 ~> 1.5.2], `@semcore/flex-box` [4.5.3 ~> 4.5.4], `@semcore/portal` [2.3.4 ~> 2.3.5], `@semcore/outside-click` [2.4.4 ~> 2.4.5], `@semcore/icon` [2.26.0 ~> 2.26.1]).
|
|
100
|
-
|
|
101
|
-
## [2.0.4] - 2022-05-23
|
|
102
|
-
|
|
103
|
-
### Changed
|
|
104
|
-
|
|
105
|
-
- Version patch update due to children dependencies update (`@semcore/icon` [2.25.1 ~> 2.26.0]).
|
|
9
|
+
- Version patch update due to children dependencies update (`@semcore/icon` [2.32.2 ~> 2.33.0]).
|
|
106
10
|
|
|
107
11
|
## [2.0.3] - 2022-05-19
|
|
108
12
|
|
|
@@ -116,12 +20,6 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
116
20
|
|
|
117
21
|
- Version patch update due to children dependencies update (`@semcore/utils` [3.32.0 ~> 3.32.1], `@semcore/animation` [1.5.0 ~> 1.5.1], `@semcore/flex-box` [4.5.1 ~> 4.5.3], `@semcore/portal` [2.3.3 ~> 2.3.4], `@semcore/typography` [4.0.1 ~> 4.0.3], `@semcore/outside-click` [2.4.3 ~> 2.4.4], `@semcore/icon` [2.25.0 ~> 2.25.1]).
|
|
118
22
|
|
|
119
|
-
## [2.0.1] - 2022-05-18
|
|
120
|
-
|
|
121
|
-
### Changed
|
|
122
|
-
|
|
123
|
-
- Version patch update due to children dependencies update (`@semcore/icon` [2.24.0 ~> 2.25.0]).
|
|
124
|
-
|
|
125
23
|
## [2.0.0] - 2022-05-17
|
|
126
24
|
|
|
127
25
|
### BREAK
|
|
@@ -138,24 +36,6 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
|
|
|
138
36
|
|
|
139
37
|
- Version patch update due to children dependencies update (`@semcore/icon` [2.21.0 ~> 2.24.0]).
|
|
140
38
|
|
|
141
|
-
## [1.3.7] - 2022-04-28
|
|
142
|
-
|
|
143
|
-
### Changed
|
|
144
|
-
|
|
145
|
-
- Version patch update due to children dependencies update (`@semcore/icon` [2.20.0 ~> 2.21.0]).
|
|
146
|
-
|
|
147
|
-
## [1.3.6] - 2022-04-03
|
|
148
|
-
|
|
149
|
-
### Changed
|
|
150
|
-
|
|
151
|
-
- Version patch update due to children dependencies update (`@semcore/animation` [1.5.0 ~> 1.5.0]).
|
|
152
|
-
|
|
153
|
-
## [1.3.5] - 2022-03-21
|
|
154
|
-
|
|
155
|
-
### Changed
|
|
156
|
-
|
|
157
|
-
- Version patch update due to children dependencies update (`@semcore/icon` [2.19.4 ~> 2.20.0]).
|
|
158
|
-
|
|
159
39
|
## [1.3.4] - 2022-03-09
|
|
160
40
|
|
|
161
41
|
### Fixed
|
package/LICENSE
ADDED
|
@@ -0,0 +1,21 @@
|
|
|
1
|
+
The MIT License (MIT)
|
|
2
|
+
|
|
3
|
+
Copyright ©, 2022, Semrush Inc. (written by Roman Lysov, Sergey Kobets, Mikhail Karachev, Julia Mnizhek, Elena Krasnopolskaia, Mikhail Sereniti).
|
|
4
|
+
|
|
5
|
+
Permission is hereby granted, free of charge, to any person obtaining a copy
|
|
6
|
+
of this software and associated documentation files (the "Software"), to deal
|
|
7
|
+
in the Software without restriction, including without limitation the rights
|
|
8
|
+
to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
|
|
9
|
+
copies of the Software, and to permit persons to whom the Software is
|
|
10
|
+
furnished to do so, subject to the following conditions:
|
|
11
|
+
|
|
12
|
+
The above copyright notice and this permission notice shall be included in all
|
|
13
|
+
copies or substantial portions of the Software.
|
|
14
|
+
|
|
15
|
+
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
|
|
16
|
+
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
|
|
17
|
+
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
|
|
18
|
+
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
|
|
19
|
+
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
|
|
20
|
+
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
|
|
21
|
+
SOFTWARE.
|
package/lib/cjs/SidePanel.js
CHANGED
|
@@ -75,25 +75,25 @@ var style = (
|
|
|
75
75
|
/*__reshadow_css_start__*/
|
|
76
76
|
_core.sstyled.insert(
|
|
77
77
|
/*__inner_css_start__*/
|
|
78
|
-
".
|
|
78
|
+
":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SOverlay_r1b2d_gg_ {\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n margin: 0;\n display: flex;\n overflow: hidden;\n z-index: 10005;\n background: rgba(25, 27, 35, 0.7);\n -webkit-overflow-scrolling: touch;\n}\n\n.___SPanel_r1b2d_gg_ {\n display: flex;\n flex-direction: column;\n width: 260px;\n outline: none;\n font-family: Inter, sans-serif;\n position: fixed;\n box-sizing: border-box;\n will-change: transform;\n background: white;\n z-index: 1;\n}\n\n.___SPanel_r1b2d_gg_._placement_top_r1b2d_gg_ {\n box-shadow: 1px 0 12px rgba(25, 27, 35, 0.15);\n width: 100%;\n margin-bottom: auto;\n top: 0;\n left: 0;\n}\n\n.___SPanel_r1b2d_gg_._placement_right_r1b2d_gg_ {\n box-shadow: 0px 1px 12px 0px rgba(25, 27, 35, 0.15);\n height: 100vh;\n margin-left: auto;\n top: 0;\n right: 0;\n}\n\n.___SPanel_r1b2d_gg_._placement_bottom_r1b2d_gg_ {\n box-shadow: 1px 0 12px rgba(25, 27, 35, 0.15);\n width: 100%;\n margin-top: auto;\n bottom: 0;\n left: 0;\n}\n\n.___SPanel_r1b2d_gg_._placement_left_r1b2d_gg_ {\n box-shadow: 0px 1px 12px 0px rgba(25, 27, 35, 0.15);\n height: 100vh;\n margin-right: auto;\n top: 0;\n left: 0;\n}\n\n.panel-right--enter {\n transform: translate(100%, 0);\n}\n\n.panel-left--enter {\n transform: translate(-100%, 0);\n}\n\n.panel-bottom--enter {\n transform: translate(0, 100%);\n}\n\n.panel-right--enter-active,\n.panel-left--enter-active,\n.panel-bottom--enter-active,\n.panel-right--exit,\n.panel-left--exit,\n.panel-bottom--exit {\n transform: translate(0, 0);\n}\n\n.panel-right--exit-active {\n transform: translate(100%, 0);\n}\n\n.panel-left--exit-active {\n transform: translate(-100%, 0);\n}\n\n.panel-bottom--exit-active {\n transform: translate(0, 100%);\n}\n\n.___SClose_r1b2d_gg_ {\n cursor: pointer;\n position: absolute;\n z-index: 1;\n display: inline-flex;\n right: 0;\n top: 0;\n padding: 12px 12px 16px 12px;\n color: #a9abb6;\n border: none;\n background: none;\n outline: none\n}\n\n.___SClose_r1b2d_gg_:hover {\n color: #8a8e9b;\n }\n\n.___SClose_r1b2d_gg_.__keyboardFocused_r1b2d_gg_ {\n box-shadow: 0 0 0 3px rgba(0, 143, 248, 0.2);\n}\n\n.___SBack_r1b2d_gg_ {\n display: flex;\n align-items: center;\n color: #6c6e79;\n font-size: 12px;\n line-height: 1.33;\n margin-bottom: 4px;\n cursor: pointer\n}\n\n.___SBack_r1b2d_gg_:hover {\n color: #484a54;\n }\n\n.___SBackText_r1b2d_gg_ {\n margin-left: 4px;\n font-size: 12px;\n line-height: 1.42;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.___STitle_r1b2d_gg_ {\n font-size: 16px;\n line-height: 1.5;\n font-weight: 700;\n color: #191b23;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.___SHeader_r1b2d_gg_ {\n padding-left: 24px;\n padding-bottom: 4px;\n padding-right: 56px;\n padding-top: 4px;\n min-height: 52px;\n box-shadow: inset 0 -1px 0 #c4c7cf;\n box-sizing: border-box;\n}\n\n.___SFooter_r1b2d_gg_ {\n min-height: 44px;\n box-shadow: inset 0 1px 0 #c4c7cf;\n box-sizing: border-box;\n}\n\n.___SBody_r1b2d_gg_ {\n height: 100%;\n overflow: auto;\n padding-left: 24px;\n padding-bottom: 4px;\n padding-right: 40px;\n padding-top: 16px;\n}\n"
|
|
79
79
|
/*__inner_css_end__*/
|
|
80
|
-
, "
|
|
80
|
+
, "r1b2d_gg_")
|
|
81
81
|
/*__reshadow_css_end__*/
|
|
82
82
|
, {
|
|
83
|
-
"__SOverlay": "
|
|
84
|
-
"__SPanel": "
|
|
85
|
-
"_placement_top": "
|
|
86
|
-
"_placement_right": "
|
|
87
|
-
"_placement_bottom": "
|
|
88
|
-
"_placement_left": "
|
|
89
|
-
"__SClose": "
|
|
90
|
-
"_keyboardFocused": "
|
|
91
|
-
"__SBack": "
|
|
92
|
-
"__SBackText": "
|
|
93
|
-
"__STitle": "
|
|
94
|
-
"__SHeader": "
|
|
95
|
-
"__SFooter": "
|
|
96
|
-
"__SBody": "
|
|
83
|
+
"__SOverlay": "___SOverlay_r1b2d_gg_",
|
|
84
|
+
"__SPanel": "___SPanel_r1b2d_gg_",
|
|
85
|
+
"_placement_top": "_placement_top_r1b2d_gg_",
|
|
86
|
+
"_placement_right": "_placement_right_r1b2d_gg_",
|
|
87
|
+
"_placement_bottom": "_placement_bottom_r1b2d_gg_",
|
|
88
|
+
"_placement_left": "_placement_left_r1b2d_gg_",
|
|
89
|
+
"__SClose": "___SClose_r1b2d_gg_",
|
|
90
|
+
"_keyboardFocused": "__keyboardFocused_r1b2d_gg_",
|
|
91
|
+
"__SBack": "___SBack_r1b2d_gg_",
|
|
92
|
+
"__SBackText": "___SBackText_r1b2d_gg_",
|
|
93
|
+
"__STitle": "___STitle_r1b2d_gg_",
|
|
94
|
+
"__SHeader": "___SHeader_r1b2d_gg_",
|
|
95
|
+
"__SFooter": "___SFooter_r1b2d_gg_",
|
|
96
|
+
"__SBody": "___SBody_r1b2d_gg_"
|
|
97
97
|
});
|
|
98
98
|
var placementTransformMap = {
|
|
99
99
|
top: ['translate(0, -100%)', 'translate(0, 0)'],
|
package/lib/es6/SidePanel.js
CHANGED
|
@@ -48,25 +48,25 @@ var style = (
|
|
|
48
48
|
/*__reshadow_css_start__*/
|
|
49
49
|
_sstyled.insert(
|
|
50
50
|
/*__inner_css_start__*/
|
|
51
|
-
".
|
|
51
|
+
":root {\n\n /* DEPRECATED START\n Deprecated variables should never be used in\n components styles but preserved for backward\n compatibility if they used in projects\n like `<Badge bg=\"red\">alpha</Badge>`\n */\n /* DEPRECATED END */\n}\n\n.___SOverlay_r1b2d_gg_ {\n position: fixed;\n top: 0;\n bottom: 0;\n left: 0;\n right: 0;\n margin: 0;\n display: flex;\n overflow: hidden;\n z-index: 10005;\n background: rgba(25, 27, 35, 0.7);\n -webkit-overflow-scrolling: touch;\n}\n\n.___SPanel_r1b2d_gg_ {\n display: flex;\n flex-direction: column;\n width: 260px;\n outline: none;\n font-family: Inter, sans-serif;\n position: fixed;\n box-sizing: border-box;\n will-change: transform;\n background: white;\n z-index: 1;\n}\n\n.___SPanel_r1b2d_gg_._placement_top_r1b2d_gg_ {\n box-shadow: 1px 0 12px rgba(25, 27, 35, 0.15);\n width: 100%;\n margin-bottom: auto;\n top: 0;\n left: 0;\n}\n\n.___SPanel_r1b2d_gg_._placement_right_r1b2d_gg_ {\n box-shadow: 0px 1px 12px 0px rgba(25, 27, 35, 0.15);\n height: 100vh;\n margin-left: auto;\n top: 0;\n right: 0;\n}\n\n.___SPanel_r1b2d_gg_._placement_bottom_r1b2d_gg_ {\n box-shadow: 1px 0 12px rgba(25, 27, 35, 0.15);\n width: 100%;\n margin-top: auto;\n bottom: 0;\n left: 0;\n}\n\n.___SPanel_r1b2d_gg_._placement_left_r1b2d_gg_ {\n box-shadow: 0px 1px 12px 0px rgba(25, 27, 35, 0.15);\n height: 100vh;\n margin-right: auto;\n top: 0;\n left: 0;\n}\n\n.panel-right--enter {\n transform: translate(100%, 0);\n}\n\n.panel-left--enter {\n transform: translate(-100%, 0);\n}\n\n.panel-bottom--enter {\n transform: translate(0, 100%);\n}\n\n.panel-right--enter-active,\n.panel-left--enter-active,\n.panel-bottom--enter-active,\n.panel-right--exit,\n.panel-left--exit,\n.panel-bottom--exit {\n transform: translate(0, 0);\n}\n\n.panel-right--exit-active {\n transform: translate(100%, 0);\n}\n\n.panel-left--exit-active {\n transform: translate(-100%, 0);\n}\n\n.panel-bottom--exit-active {\n transform: translate(0, 100%);\n}\n\n.___SClose_r1b2d_gg_ {\n cursor: pointer;\n position: absolute;\n z-index: 1;\n display: inline-flex;\n right: 0;\n top: 0;\n padding: 12px 12px 16px 12px;\n color: #a9abb6;\n border: none;\n background: none;\n outline: none\n}\n\n.___SClose_r1b2d_gg_:hover {\n color: #8a8e9b;\n }\n\n.___SClose_r1b2d_gg_.__keyboardFocused_r1b2d_gg_ {\n box-shadow: 0 0 0 3px rgba(0, 143, 248, 0.2);\n}\n\n.___SBack_r1b2d_gg_ {\n display: flex;\n align-items: center;\n color: #6c6e79;\n font-size: 12px;\n line-height: 1.33;\n margin-bottom: 4px;\n cursor: pointer\n}\n\n.___SBack_r1b2d_gg_:hover {\n color: #484a54;\n }\n\n.___SBackText_r1b2d_gg_ {\n margin-left: 4px;\n font-size: 12px;\n line-height: 1.42;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.___STitle_r1b2d_gg_ {\n font-size: 16px;\n line-height: 1.5;\n font-weight: 700;\n color: #191b23;\n white-space: nowrap;\n overflow: hidden;\n text-overflow: ellipsis;\n}\n\n.___SHeader_r1b2d_gg_ {\n padding-left: 24px;\n padding-bottom: 4px;\n padding-right: 56px;\n padding-top: 4px;\n min-height: 52px;\n box-shadow: inset 0 -1px 0 #c4c7cf;\n box-sizing: border-box;\n}\n\n.___SFooter_r1b2d_gg_ {\n min-height: 44px;\n box-shadow: inset 0 1px 0 #c4c7cf;\n box-sizing: border-box;\n}\n\n.___SBody_r1b2d_gg_ {\n height: 100%;\n overflow: auto;\n padding-left: 24px;\n padding-bottom: 4px;\n padding-right: 40px;\n padding-top: 16px;\n}\n"
|
|
52
52
|
/*__inner_css_end__*/
|
|
53
|
-
, "
|
|
53
|
+
, "r1b2d_gg_")
|
|
54
54
|
/*__reshadow_css_end__*/
|
|
55
55
|
, {
|
|
56
|
-
"__SOverlay": "
|
|
57
|
-
"__SPanel": "
|
|
58
|
-
"_placement_top": "
|
|
59
|
-
"_placement_right": "
|
|
60
|
-
"_placement_bottom": "
|
|
61
|
-
"_placement_left": "
|
|
62
|
-
"__SClose": "
|
|
63
|
-
"_keyboardFocused": "
|
|
64
|
-
"__SBack": "
|
|
65
|
-
"__SBackText": "
|
|
66
|
-
"__STitle": "
|
|
67
|
-
"__SHeader": "
|
|
68
|
-
"__SFooter": "
|
|
69
|
-
"__SBody": "
|
|
56
|
+
"__SOverlay": "___SOverlay_r1b2d_gg_",
|
|
57
|
+
"__SPanel": "___SPanel_r1b2d_gg_",
|
|
58
|
+
"_placement_top": "_placement_top_r1b2d_gg_",
|
|
59
|
+
"_placement_right": "_placement_right_r1b2d_gg_",
|
|
60
|
+
"_placement_bottom": "_placement_bottom_r1b2d_gg_",
|
|
61
|
+
"_placement_left": "_placement_left_r1b2d_gg_",
|
|
62
|
+
"__SClose": "___SClose_r1b2d_gg_",
|
|
63
|
+
"_keyboardFocused": "__keyboardFocused_r1b2d_gg_",
|
|
64
|
+
"__SBack": "___SBack_r1b2d_gg_",
|
|
65
|
+
"__SBackText": "___SBackText_r1b2d_gg_",
|
|
66
|
+
"__STitle": "___STitle_r1b2d_gg_",
|
|
67
|
+
"__SHeader": "___SHeader_r1b2d_gg_",
|
|
68
|
+
"__SFooter": "___SFooter_r1b2d_gg_",
|
|
69
|
+
"__SBody": "___SBody_r1b2d_gg_"
|
|
70
70
|
});
|
|
71
71
|
var placementTransformMap = {
|
|
72
72
|
top: ['translate(0, -100%)', 'translate(0, 0)'],
|
package/package.json
CHANGED
|
@@ -1,17 +1,13 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@semcore/side-panel",
|
|
3
3
|
"description": "Semrush SidePanel Component",
|
|
4
|
-
"version": "2.0.
|
|
4
|
+
"version": "2.0.21",
|
|
5
5
|
"main": "lib/cjs/index.js",
|
|
6
6
|
"module": "lib/es6/index.js",
|
|
7
7
|
"typings": "lib/types/index.d.ts",
|
|
8
8
|
"sideEffects": false,
|
|
9
9
|
"author": "UI-kit team <ui-kit-team@semrush.com>",
|
|
10
10
|
"license": "MIT",
|
|
11
|
-
"scripts": {
|
|
12
|
-
"build": "pnpm semcore-builder --source=js",
|
|
13
|
-
"test": "jest"
|
|
14
|
-
},
|
|
15
11
|
"dependencies": {
|
|
16
12
|
"@semcore/utils": "^3.31.2",
|
|
17
13
|
"@semcore/animation": "^1",
|
|
@@ -37,5 +33,9 @@
|
|
|
37
33
|
"devDependencies": {
|
|
38
34
|
"@types/react": "16.8 - 17",
|
|
39
35
|
"@semcore/jest-preset-ui": "1.0.0"
|
|
36
|
+
},
|
|
37
|
+
"scripts": {
|
|
38
|
+
"build": "pnpm semcore-builder --source=js",
|
|
39
|
+
"test": "jest"
|
|
40
40
|
}
|
|
41
|
-
}
|
|
41
|
+
}
|