@semcore/data-table 3.1.13 → 3.1.15

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 CHANGED
@@ -2,29 +2,11 @@
2
2
 
3
3
  CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangelog.com/en/1.0.0/).
4
4
 
5
- ## [3.1.13] - 2022-10-03
5
+ ## [3.1.15] - 2022-10-06
6
6
 
7
7
  ### Changed
8
8
 
9
- - Version patch update due to children dependencies update (`@semcore/icon` [2.32.0 ~> 2.32.1]).
10
-
11
- ## [3.1.12] - 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
- ## [3.1.11] - 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
- ## [3.1.10] - 2022-09-21
24
-
25
- ### Changed
26
-
27
- - Version patch update due to children dependencies update (`@semcore/icon` [2.30.2 ~> 2.30.3]).
9
+ - Version patch update due to children dependencies update (`@semcore/icon` [2.32.2 ~> 2.33.0]).
28
10
 
29
11
  ## [3.1.9] - 2022-09-13
30
12
 
@@ -38,48 +20,6 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
38
20
 
39
21
  - Version patch update due to children dependencies update (`@semcore/utils` [3.37.0 ~> 3.37.1]).
40
22
 
41
- ## [3.1.7] - 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
- ## [3.1.6] - 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
- ## [3.1.5] - 2022-08-18
54
-
55
- ### Changed
56
-
57
- - Version patch update due to children dependencies update (`@semcore/utils` [3.36.0 ~> 3.37.0]).
58
-
59
- ## [3.1.4] - 2022-08-11
60
-
61
- ### Changed
62
-
63
- - Version patch update due to children dependencies update (`@semcore/utils` [3.35.1 ~> 3.36.0]).
64
-
65
- ## [3.1.3] - 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
- ## [3.1.2] - 2022-07-22
72
-
73
- ### Changed
74
-
75
- - Version patch update due to children dependencies update (`@semcore/utils` [3.34.0 ~> 3.35.0]).
76
-
77
- ## [3.1.1] - 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
23
  ## [3.1.0] - 2022-07-18
84
24
 
85
25
  ### Changed
@@ -104,42 +44,6 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
104
44
 
105
45
  - Version patch update due to children dependencies update (`@semcore/progress-bar` [3.0.3 ~> 3.0.4]).
106
46
 
107
- ## [3.0.7] - 2022-06-02
108
-
109
- ### Changed
110
-
111
- - Version patch update due to children dependencies update (`@semcore/icon` [2.26.1 ~> 2.27.0], `@semcore/utils` [3.32.2 ~> 3.33.0], `@semcore/base-trigger` [3.0.5 ~> 3.0.6], `@semcore/accordion` [4.0.4 ~> 4.0.5]).
112
-
113
- ## [3.0.6] - 2022-05-31
114
-
115
- ### Changed
116
-
117
- - Version patch update due to children dependencies update (`@semcore/utils` [3.32.1 ~> 3.32.2], `@semcore/base-trigger` [3.0.4 ~> 3.0.5], `@semcore/accordion` [4.0.3 ~> 4.0.4]).
118
-
119
- ## [3.0.5] - 2022-05-23
120
-
121
- ### Changed
122
-
123
- - Version patch update due to children dependencies update (`@semcore/icon` [2.25.1 ~> 2.26.0], `@semcore/base-trigger` [3.0.3 ~> 3.0.4], `@semcore/accordion` [4.0.2 ~> 4.0.3]).
124
-
125
- ## [3.0.4] - 2022-05-19
126
-
127
- ### Changed
128
-
129
- - Version patch update due to children dependencies update (`@semcore/flex-box` [4.5.1 ~> 4.5.3], `@semcore/utils` [3.32.0 ~> 3.32.1], `@semcore/base-trigger` [3.0.2 ~> 3.0.3], `@semcore/typography` [4.0.1 ~> 4.0.3], `@semcore/accordion` [4.0.1 ~> 4.0.2]).
130
-
131
- ## [3.0.3] - 2022-05-18
132
-
133
- ### Changed
134
-
135
- - Version patch update due to children dependencies update (`@semcore/base-trigger` [3.0.1 ~> 3.0.2], `@semcore/link` [4.0.1 ~> 4.0.2]).
136
-
137
- ## [3.0.2] - 2022-05-18
138
-
139
- ### Changed
140
-
141
- - Version patch update due to children dependencies update (`@semcore/icon` [2.24.0 ~> 2.25.0], `@semcore/base-trigger` [3.0.0 ~> 3.0.1], `@semcore/accordion` [4.0.0 ~> 4.0.1]).
142
-
143
47
  ## [3.0.1] - 2022-05-17
144
48
 
145
49
  ### Fixed
@@ -158,18 +62,6 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
158
62
 
159
63
  - Version patch update due to children dependencies update (`@semcore/skeleton` [3.2.1 ~> 3.3.0]).
160
64
 
161
- ## [2.2.8] - 2022-05-16
162
-
163
- ### Changed
164
-
165
- - Version patch update due to children dependencies update (`@semcore/icon` [2.21.0 ~> 2.24.0], `@semcore/base-trigger` [2.6.4 ~> 2.6.5], `@semcore/accordion` [3.5.5 ~> 3.5.6]).
166
-
167
- ## [2.2.7] - 2022-04-28
168
-
169
- ### Changed
170
-
171
- - Version patch update due to children dependencies update (`@semcore/icon` [2.20.0 ~> 2.21.0], `@semcore/base-trigger` [2.6.3 ~> 2.6.4], `@semcore/accordion` [3.5.4 ~> 3.5.5]).
172
-
173
65
  ## [2.2.6] - 2022-04-27
174
66
 
175
67
  ### Fixed
@@ -194,18 +86,6 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
194
86
 
195
87
  - Version patch update due to children dependencies update (`@semcore/scroll-area` [3.7.0 ~> 3.7.1]).
196
88
 
197
- ## [2.2.2] - 2022-04-25
198
-
199
- ### Changed
200
-
201
- - Version patch update due to children dependencies update (`@semcore/spin-container` [5.0.5 ~> 5.1.0]).
202
-
203
- ## [2.2.1] - 2022-04-21
204
-
205
- ### Changed
206
-
207
- - Version patch update due to children dependencies update (`@semcore/scroll-area` [3.6.4 ~> 3.7.0]).
208
-
209
89
  ## [2.2.0] - 2022-04-14
210
90
 
211
91
  ### Added
@@ -230,12 +110,6 @@ CHANGELOG.md standards are inspired by [keepachangelog.com](https://keepachangel
230
110
 
231
111
  - Version patch update due to children dependencies update (`@semcore/icon` [2.19.4 ~> 2.20.0]).
232
112
 
233
- ## [1.5.3] - 2022-03-14
234
-
235
- ### Changed
236
-
237
- - Version patch update due to children dependencies update (`@semcore/utils` [3.31.2 ~> 3.31.2]).
238
-
239
113
  ## [1.5.2] - 2022-02-24
240
114
 
241
115
  ### Added
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/Body.js CHANGED
@@ -71,14 +71,14 @@ var scrollStyles = (
71
71
  /*__reshadow_css_start__*/
72
72
  _core.sstyled.insert(
73
73
  /*__inner_css_start__*/
74
- ".___SShadowHorizontal_13yt7_gg_:before{left:var(--left_13yt7)!important}.___SShadowHorizontal_13yt7_gg_:after{right:var(--right_13yt7)!important}"
74
+ ".___SShadowHorizontal_qyxht_gg_:before {\n left: var(--left_qyxht) !important;\n}\n.___SShadowHorizontal_qyxht_gg_:after {\n right: var(--right_qyxht) !important;\n}\n"
75
75
  /*__inner_css_end__*/
76
- , "13yt7_gg_")
76
+ , "qyxht_gg_")
77
77
  /*__reshadow_css_end__*/
78
78
  , {
79
- "__SShadowHorizontal": "___SShadowHorizontal_13yt7_gg_",
80
- "--left": "--left_13yt7",
81
- "--right": "--right_13yt7"
79
+ "__SShadowHorizontal": "___SShadowHorizontal_qyxht_gg_",
80
+ "--left": "--left_qyxht",
81
+ "--right": "--right_qyxht"
82
82
  });
83
83
  var testEnv = process.env.NODE_ENV === 'test';
84
84
 
@@ -69,46 +69,46 @@ var style = (
69
69
  /*__reshadow_css_start__*/
70
70
  _core.sstyled.insert(
71
71
  /*__inner_css_start__*/
72
- ".___SDataTable_1ssn0_gg_{position:relative}.___SHeadWrapper_1ssn0_gg_{position:relative}.___SHeadWrapper_1ssn0_gg_.__sticky_1ssn0_gg_{position:sticky;top:0;z-index:2}.___SHead_1ssn0_gg_{display:flex;position:relative;flex-direction:row;min-width:-moz-fit-content;min-width:fit-content;z-index:0}.___SColumn_1ssn0_gg_{display:flex;align-items:center;flex-grow:1;font-size:12px;color:#191b23;box-sizing:border-box;position:relative}.___SColumn_1ssn0_gg_:focus{outline:none;box-shadow:0 0 0 3px rgba(0, 143, 248, 0.2)}.___SColumn_1ssn0_gg_.__hidden_1ssn0_gg_{height:0!important;padding:0!important;overflow:hidden!important;border:none!important}.___SColumn_1ssn0_gg_._use_primary_1ssn0_gg_{padding:12px;border-right:1px solid #e0e1e9;border-bottom:1px solid #e0e1e9;background-color:#f4f5f9}.___SColumn_1ssn0_gg_._use_secondary_1ssn0_gg_{padding:8px;border-bottom:1px solid #a9abb6;background-color:#ffffff}.___SColumn_1ssn0_gg_.__use_1ssn0_gg_:last-child{border-right:none}.___SColumn_1ssn0_gg_.__group_1ssn0_gg_.__use_1ssn0_gg_{display:flex;flex-wrap:wrap;flex-direction:column;align-items:normal;border-bottom:none;padding:0}.___SColumn_1ssn0_gg_.__groupHead_1ssn0_gg_.__use_1ssn0_gg_{justify-content:center;border-right:none;z-index:1}.___SColumn_1ssn0_gg_.__groupHead_1ssn0_gg_._use_primary_1ssn0_gg_{border-bottom:1px solid #e0e1e9}.___SColumn_1ssn0_gg_.__groupHead_1ssn0_gg_._use_secondary_1ssn0_gg_{border-bottom:1px solid #e0e1e9}.___SColumn_1ssn0_gg_.__sortable_1ssn0_gg_{cursor:pointer}.___SColumn_1ssn0_gg_.__sortable_1ssn0_gg_._use_primary_1ssn0_gg_:hover{background-color:#e0e1e9}.___SColumn_1ssn0_gg_.__active_1ssn0_gg_._use_primary_1ssn0_gg_{background-color:#e0e1e9}.___SColumn_1ssn0_gg_.__resizable_1ssn0_gg_:hover:after{background:#e0e1e9}.___SColumn_1ssn0_gg_.__resizable_1ssn0_gg_:after{content:\"\";position:absolute;bottom:0;right:-1px;height:100vh;width:1px;background:transparent;cursor:col-resize}.___SColumn_1ssn0_gg_.__fixed_1ssn0_gg_{position:sticky;z-index:2}.___SSortIcon_1ssn0_gg_{fill:#a9abb6;margin-left:6px}.___SSortIcon_1ssn0_gg_.__active_1ssn0_gg_{fill:#8a8e9b}.___SBodyWrapper_1ssn0_gg_{position:relative}.___SBody_1ssn0_gg_{display:flex;flex-direction:column;position:relative;min-width:-moz-fit-content;min-width:fit-content}.___SRow_1ssn0_gg_{display:flex;flex-direction:row;position:relative}.___SRow_1ssn0_gg_:hover>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_.__active_1ssn0_gg_>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_ .___SCell_1ssn0_gg_:hover+.___SGroupCell_1ssn0_gg_ .___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_){background-color:#f0f0f4}.___SRow_1ssn0_gg_._theme_muted_1ssn0_gg_ .___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_){background-color:#f2f3f4}.___SRow_1ssn0_gg_:hover>.___SCell_1ssn0_gg_._theme_muted_1ssn0_gg_,.___SRow_1ssn0_gg_._theme_muted_1ssn0_gg_:hover>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_._theme_muted_1ssn0_gg_.__active_1ssn0_gg_>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_._theme_muted_1ssn0_gg_ .___SCell_1ssn0_gg_:hover+.___SGroupCell_1ssn0_gg_ .___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_){background-color:#f6f7f7}.___SRow_1ssn0_gg_._theme_info_1ssn0_gg_ .___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_){background-color:#e9f7ff}.___SRow_1ssn0_gg_:hover>.___SCell_1ssn0_gg_._theme_info_1ssn0_gg_,.___SRow_1ssn0_gg_._theme_info_1ssn0_gg_:hover>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_._theme_info_1ssn0_gg_.__active_1ssn0_gg_>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_._theme_info_1ssn0_gg_ .___SCell_1ssn0_gg_:hover+.___SGroupCell_1ssn0_gg_ .___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_){background-color:#c4e5fe}.___SRow_1ssn0_gg_._theme_success_1ssn0_gg_ .___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_){background-color:#dbfee8}.___SRow_1ssn0_gg_:hover>.___SCell_1ssn0_gg_._theme_success_1ssn0_gg_,.___SRow_1ssn0_gg_._theme_success_1ssn0_gg_:hover>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_._theme_success_1ssn0_gg_.__active_1ssn0_gg_>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_._theme_success_1ssn0_gg_ .___SCell_1ssn0_gg_:hover+.___SGroupCell_1ssn0_gg_ .___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_){background-color:#9ef2c9}.___SRow_1ssn0_gg_._theme_warning_1ssn0_gg_ .___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_){background-color:#fff3d9}.___SRow_1ssn0_gg_:hover>.___SCell_1ssn0_gg_._theme_warning_1ssn0_gg_,.___SRow_1ssn0_gg_._theme_warning_1ssn0_gg_:hover>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_._theme_warning_1ssn0_gg_.__active_1ssn0_gg_>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_._theme_warning_1ssn0_gg_ .___SCell_1ssn0_gg_:hover+.___SGroupCell_1ssn0_gg_ .___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_){background-color:#ffdca2}.___SRow_1ssn0_gg_._theme_danger_1ssn0_gg_ .___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_){background-color:#fff0f7}.___SRow_1ssn0_gg_:hover>.___SCell_1ssn0_gg_._theme_danger_1ssn0_gg_,.___SRow_1ssn0_gg_._theme_danger_1ssn0_gg_:hover>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_._theme_danger_1ssn0_gg_.__active_1ssn0_gg_>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_._theme_danger_1ssn0_gg_ .___SCell_1ssn0_gg_:hover+.___SGroupCell_1ssn0_gg_ .___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_){background-color:#ffd7df}.___SRow_1ssn0_gg_.__positioned_1ssn0_gg_{position:absolute}.___SCell_1ssn0_gg_{display:flex;flex:1;flex-basis:auto;font-size:14px;line-height:1.42;color:#191b23;box-sizing:border-box;border-bottom:1px solid #e0e1e9;overflow:hidden;white-space:nowrap}.___SCell_1ssn0_gg_._use_primary_1ssn0_gg_{padding:12px;min-height:45px;background-color:#ffffff}.___SCell_1ssn0_gg_._use_secondary_1ssn0_gg_{padding:8px;min-height:37px;background-color:#ffffff}.___SCell_1ssn0_gg_.__fixed_1ssn0_gg_{position:sticky;z-index:1}.___SCell_1ssn0_gg_._theme_muted_1ssn0_gg_{background-color:#f2f3f4}.___SCell_1ssn0_gg_._theme_info_1ssn0_gg_{background-color:#e9f7ff}.___SCell_1ssn0_gg_._theme_success_1ssn0_gg_{background-color:#dbfee8}.___SCell_1ssn0_gg_._theme_warning_1ssn0_gg_{background-color:#fff3d9}.___SCell_1ssn0_gg_._theme_danger_1ssn0_gg_{background-color:#fff0f7}.___SScrollAreaBar_1ssn0_gg_._orientation_horizontal_1ssn0_gg_{position:sticky;bottom:0;left:0;margin-top:-12px;z-index:2}.___SScrollAreaBar_1ssn0_gg_._orientation_vertical_1ssn0_gg_{width:12px}.___SScrollAreaBar_1ssn0_gg_._orientation_horizontal_1ssn0_gg_{margin-left:calc(var(--left_1ssn0) + 4px);margin-right:calc(var(--right_1ssn0) + 4px);width:calc(100% - var(--offsetSum_1ssn0) - 8px)}.___SHeightHold_1ssn0_gg_{position:absolute;top:0;width:100%;pointer-events:none;z-index:-1}"
72
+ ":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.___SDataTable_mwxpl_gg_ {\n position: relative;\n}\n\n.___SHeadWrapper_mwxpl_gg_ {\n position: relative;\n}\n\n.___SHeadWrapper_mwxpl_gg_.__sticky_mwxpl_gg_ {\n position: sticky;\n top: 0;\n z-index: 2;\n}\n\n.___SHead_mwxpl_gg_ {\n display: flex;\n position: relative;\n flex-direction: row;\n min-width: -moz-fit-content;\n min-width: fit-content;\n z-index: 0;\n}\n\n.___SColumn_mwxpl_gg_ {\n display: flex;\n align-items: center;\n flex-grow: 1;\n font-size: 12px;\n color: #191b23;\n box-sizing: border-box;\n position: relative\n}\n\n.___SColumn_mwxpl_gg_:focus {\n outline: none;\n box-shadow: 0 0 0 3px rgba(0, 143, 248, 0.2);\n }\n\n.___SColumn_mwxpl_gg_.__hidden_mwxpl_gg_ {\n height: 0 !important;\n padding: 0 !important;\n overflow: hidden !important;\n border: none !important;\n}\n\n.___SColumn_mwxpl_gg_._use_primary_mwxpl_gg_ {\n padding: 12px;\n border-right: 1px solid #e0e1e9;\n border-bottom: 1px solid #e0e1e9;\n background-color: #f4f5f9;\n}\n\n.___SColumn_mwxpl_gg_._use_secondary_mwxpl_gg_ {\n padding: 8px;\n border-bottom: 1px solid #a9abb6;\n background-color: #ffffff;\n}\n\n.___SColumn_mwxpl_gg_.__use_mwxpl_gg_:last-child {\n border-right: none;\n}\n\n.___SColumn_mwxpl_gg_.__group_mwxpl_gg_.__use_mwxpl_gg_ {\n display: flex;\n flex-wrap: wrap;\n flex-direction: column;\n align-items: normal;\n border-bottom: none;\n padding: 0;\n}\n\n.___SColumn_mwxpl_gg_.__groupHead_mwxpl_gg_.__use_mwxpl_gg_ {\n justify-content: center;\n border-right: none;\n /* for resizable */\n z-index: 1;\n}\n\n.___SColumn_mwxpl_gg_.__groupHead_mwxpl_gg_._use_primary_mwxpl_gg_ {\n border-bottom: 1px solid #e0e1e9;\n}\n\n.___SColumn_mwxpl_gg_.__groupHead_mwxpl_gg_._use_secondary_mwxpl_gg_ {\n border-bottom: 1px solid #e0e1e9;\n}\n\n.___SColumn_mwxpl_gg_.__sortable_mwxpl_gg_ {\n cursor: pointer\n}\n\n.___SColumn_mwxpl_gg_.__sortable_mwxpl_gg_._use_primary_mwxpl_gg_:hover {\n background-color: #e0e1e9;\n }\n\n.___SColumn_mwxpl_gg_.__active_mwxpl_gg_._use_primary_mwxpl_gg_ {\n background-color: #e0e1e9;\n}\n\n.___SColumn_mwxpl_gg_.__resizable_mwxpl_gg_:hover:after {\n background: #e0e1e9;\n }\n\n.___SColumn_mwxpl_gg_.__resizable_mwxpl_gg_:after {\n content: '';\n position: absolute;\n bottom: 0;\n right: -1px;\n height: 100vh;\n width: 1px;\n background: transparent;\n cursor: col-resize;\n }\n\n.___SColumn_mwxpl_gg_.__fixed_mwxpl_gg_ {\n position: sticky;\n /* because up resizable */\n z-index: 2;\n}\n\n.___SSortIcon_mwxpl_gg_ {\n fill: #a9abb6;\n margin-left: 6px;\n}\n\n.___SSortIcon_mwxpl_gg_.__active_mwxpl_gg_ {\n fill: #8a8e9b;\n}\n\n.___SBodyWrapper_mwxpl_gg_ {\n position: relative;\n}\n\n.___SBody_mwxpl_gg_ {\n display: flex;\n flex-direction: column;\n position: relative;\n min-width: -moz-fit-content;\n min-width: fit-content;\n}\n\n.___SRow_mwxpl_gg_ {\n display: flex;\n flex-direction: row;\n position: relative;\n}\n\n/* DEFAULT THEME */\n\n.___SRow_mwxpl_gg_.__active_mwxpl_gg_ > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_:hover > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_ .___SCell_mwxpl_gg_:hover + .___SGroupCell_mwxpl_gg_ .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_) {\n background-color: rgb(240, 240, 244);\n}\n\n/* MUTED THEME */\n\n.___SRow_mwxpl_gg_._theme_muted_mwxpl_gg_ .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_) {\n background-color: #f2f3f4;\n}\n\n.___SRow_mwxpl_gg_:hover > .___SCell_mwxpl_gg_._theme_muted_mwxpl_gg_,\n.___SRow_mwxpl_gg_._theme_muted_mwxpl_gg_.__active_mwxpl_gg_ > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_._theme_muted_mwxpl_gg_:hover > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_._theme_muted_mwxpl_gg_ .___SCell_mwxpl_gg_:hover + .___SGroupCell_mwxpl_gg_ .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_) {\n background-color: #f6f7f7;\n}\n\n/* INFO THEME */\n\n.___SRow_mwxpl_gg_._theme_info_mwxpl_gg_ .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_) {\n background-color: #e9f7ff;\n}\n\n.___SRow_mwxpl_gg_:hover > .___SCell_mwxpl_gg_._theme_info_mwxpl_gg_,\n.___SRow_mwxpl_gg_._theme_info_mwxpl_gg_.__active_mwxpl_gg_ > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_._theme_info_mwxpl_gg_:hover > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_._theme_info_mwxpl_gg_ .___SCell_mwxpl_gg_:hover + .___SGroupCell_mwxpl_gg_ .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_) {\n background-color: #c4e5fe;\n}\n\n/* SUCCESS THEME */\n\n.___SRow_mwxpl_gg_._theme_success_mwxpl_gg_ .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_) {\n background-color: #dbfee8;\n}\n\n.___SRow_mwxpl_gg_:hover > .___SCell_mwxpl_gg_._theme_success_mwxpl_gg_,\n.___SRow_mwxpl_gg_._theme_success_mwxpl_gg_.__active_mwxpl_gg_ > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_._theme_success_mwxpl_gg_:hover > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_._theme_success_mwxpl_gg_ .___SCell_mwxpl_gg_:hover + .___SGroupCell_mwxpl_gg_ .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_) {\n background-color: #9ef2c9;\n}\n\n/* WARNING THEME */\n\n.___SRow_mwxpl_gg_._theme_warning_mwxpl_gg_ .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_) {\n background-color: #fff3d9;\n}\n\n.___SRow_mwxpl_gg_:hover > .___SCell_mwxpl_gg_._theme_warning_mwxpl_gg_,\n.___SRow_mwxpl_gg_._theme_warning_mwxpl_gg_.__active_mwxpl_gg_ > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_._theme_warning_mwxpl_gg_:hover > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_._theme_warning_mwxpl_gg_ .___SCell_mwxpl_gg_:hover + .___SGroupCell_mwxpl_gg_ .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_) {\n background-color: #ffdca2;\n}\n\n/* DANGER THEME */\n\n.___SRow_mwxpl_gg_._theme_danger_mwxpl_gg_ .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_) {\n background-color: #fff0f7;\n}\n\n.___SRow_mwxpl_gg_:hover > .___SCell_mwxpl_gg_._theme_danger_mwxpl_gg_,\n.___SRow_mwxpl_gg_._theme_danger_mwxpl_gg_.__active_mwxpl_gg_ > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_._theme_danger_mwxpl_gg_:hover > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_._theme_danger_mwxpl_gg_ .___SCell_mwxpl_gg_:hover + .___SGroupCell_mwxpl_gg_ .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_) {\n background-color: #ffd7df;\n}\n\n.___SRow_mwxpl_gg_.__positioned_mwxpl_gg_ {\n position: absolute;\n}\n\n.___SCell_mwxpl_gg_ {\n display: flex;\n flex: 1;\n flex-basis: auto;\n font-size: 14px;\n line-height: 1.42;\n color: #191b23;\n box-sizing: border-box;\n border-bottom: 1px solid #e0e1e9;\n overflow: hidden;\n white-space: nowrap;\n}\n\n.___SCell_mwxpl_gg_._use_primary_mwxpl_gg_ {\n padding: 12px;\n min-height: 45px;\n background-color: #ffffff;\n}\n\n.___SCell_mwxpl_gg_._use_secondary_mwxpl_gg_ {\n padding: 8px;\n min-height: 37px;\n background-color: #ffffff;\n}\n\n.___SCell_mwxpl_gg_.__fixed_mwxpl_gg_ {\n position: sticky;\n z-index: 1;\n}\n\n.___SCell_mwxpl_gg_._theme_muted_mwxpl_gg_ {\n background-color: #f2f3f4;\n}\n\n.___SCell_mwxpl_gg_._theme_info_mwxpl_gg_ {\n background-color: #e9f7ff;\n}\n\n.___SCell_mwxpl_gg_._theme_success_mwxpl_gg_ {\n background-color: #dbfee8;\n}\n\n.___SCell_mwxpl_gg_._theme_warning_mwxpl_gg_ {\n background-color: #fff3d9;\n}\n\n.___SCell_mwxpl_gg_._theme_danger_mwxpl_gg_ {\n background-color: #fff0f7;\n}\n\n.___SScrollAreaBar_mwxpl_gg_._orientation_horizontal_mwxpl_gg_ {\n position: sticky;\n bottom: 0;\n left: 0;\n margin-top: -12px;\n z-index: 2;\n}\n\n.___SScrollAreaBar_mwxpl_gg_._orientation_vertical_mwxpl_gg_ {\n width: 12px;\n}\n\n.___SScrollAreaBar_mwxpl_gg_._orientation_horizontal_mwxpl_gg_ {\n margin-left: calc(var(--left_mwxpl) + 4px);\n margin-right: calc(var(--right_mwxpl) + 4px);\n width: calc(100% - var(--offsetSum_mwxpl) - 8px);\n}\n\n.___SHeightHold_mwxpl_gg_ {\n position: absolute;\n top: 0;\n width: 100%;\n pointer-events: none;\n /* should be under other layers */\n z-index: -1;\n}\n"
73
73
  /*__inner_css_end__*/
74
- , "1ssn0_gg_")
74
+ , "mwxpl_gg_")
75
75
  /*__reshadow_css_end__*/
76
76
  , {
77
- "__SDataTable": "___SDataTable_1ssn0_gg_",
78
- "__SHeadWrapper": "___SHeadWrapper_1ssn0_gg_",
79
- "_sticky": "__sticky_1ssn0_gg_",
80
- "__SHead": "___SHead_1ssn0_gg_",
81
- "__SColumn": "___SColumn_1ssn0_gg_",
82
- "_hidden": "__hidden_1ssn0_gg_",
83
- "_use_primary": "_use_primary_1ssn0_gg_",
84
- "_use_secondary": "_use_secondary_1ssn0_gg_",
85
- "_use": "__use_1ssn0_gg_",
86
- "_group": "__group_1ssn0_gg_",
87
- "_groupHead": "__groupHead_1ssn0_gg_",
88
- "_sortable": "__sortable_1ssn0_gg_",
89
- "_active": "__active_1ssn0_gg_",
90
- "_resizable": "__resizable_1ssn0_gg_",
91
- "_fixed": "__fixed_1ssn0_gg_",
92
- "__SSortIcon": "___SSortIcon_1ssn0_gg_",
93
- "__SBodyWrapper": "___SBodyWrapper_1ssn0_gg_",
94
- "__SBody": "___SBody_1ssn0_gg_",
95
- "__SRow": "___SRow_1ssn0_gg_",
96
- "__SCell": "___SCell_1ssn0_gg_",
97
- "_theme": "__theme_1ssn0_gg_",
98
- "__SGroupCell": "___SGroupCell_1ssn0_gg_",
99
- "_theme_muted": "_theme_muted_1ssn0_gg_",
100
- "_theme_info": "_theme_info_1ssn0_gg_",
101
- "_theme_success": "_theme_success_1ssn0_gg_",
102
- "_theme_warning": "_theme_warning_1ssn0_gg_",
103
- "_theme_danger": "_theme_danger_1ssn0_gg_",
104
- "_positioned": "__positioned_1ssn0_gg_",
105
- "__SScrollAreaBar": "___SScrollAreaBar_1ssn0_gg_",
106
- "_orientation_horizontal": "_orientation_horizontal_1ssn0_gg_",
107
- "_orientation_vertical": "_orientation_vertical_1ssn0_gg_",
108
- "--left": "--left_1ssn0",
109
- "--right": "--right_1ssn0",
110
- "--offsetSum": "--offsetSum_1ssn0",
111
- "__SHeightHold": "___SHeightHold_1ssn0_gg_"
77
+ "__SDataTable": "___SDataTable_mwxpl_gg_",
78
+ "__SHeadWrapper": "___SHeadWrapper_mwxpl_gg_",
79
+ "_sticky": "__sticky_mwxpl_gg_",
80
+ "__SHead": "___SHead_mwxpl_gg_",
81
+ "__SColumn": "___SColumn_mwxpl_gg_",
82
+ "_hidden": "__hidden_mwxpl_gg_",
83
+ "_use_primary": "_use_primary_mwxpl_gg_",
84
+ "_use_secondary": "_use_secondary_mwxpl_gg_",
85
+ "_use": "__use_mwxpl_gg_",
86
+ "_group": "__group_mwxpl_gg_",
87
+ "_groupHead": "__groupHead_mwxpl_gg_",
88
+ "_sortable": "__sortable_mwxpl_gg_",
89
+ "_active": "__active_mwxpl_gg_",
90
+ "_resizable": "__resizable_mwxpl_gg_",
91
+ "_fixed": "__fixed_mwxpl_gg_",
92
+ "__SSortIcon": "___SSortIcon_mwxpl_gg_",
93
+ "__SBodyWrapper": "___SBodyWrapper_mwxpl_gg_",
94
+ "__SBody": "___SBody_mwxpl_gg_",
95
+ "__SRow": "___SRow_mwxpl_gg_",
96
+ "__SCell": "___SCell_mwxpl_gg_",
97
+ "_theme": "__theme_mwxpl_gg_",
98
+ "__SGroupCell": "___SGroupCell_mwxpl_gg_",
99
+ "_theme_muted": "_theme_muted_mwxpl_gg_",
100
+ "_theme_info": "_theme_info_mwxpl_gg_",
101
+ "_theme_success": "_theme_success_mwxpl_gg_",
102
+ "_theme_warning": "_theme_warning_mwxpl_gg_",
103
+ "_theme_danger": "_theme_danger_mwxpl_gg_",
104
+ "_positioned": "__positioned_mwxpl_gg_",
105
+ "__SScrollAreaBar": "___SScrollAreaBar_mwxpl_gg_",
106
+ "_orientation_horizontal": "_orientation_horizontal_mwxpl_gg_",
107
+ "_orientation_vertical": "_orientation_vertical_mwxpl_gg_",
108
+ "--left": "--left_mwxpl",
109
+ "--right": "--right_mwxpl",
110
+ "--offsetSum": "--offsetSum_mwxpl",
111
+ "__SHeightHold": "___SHeightHold_mwxpl_gg_"
112
112
  });
113
113
  var REVERSED_SORT_DIRECTION = {
114
114
  desc: 'asc',
package/lib/cjs/Head.js CHANGED
@@ -56,14 +56,14 @@ var scrollStyles = (
56
56
  /*__reshadow_css_start__*/
57
57
  _core.sstyled.insert(
58
58
  /*__inner_css_start__*/
59
- ".___SShadowHorizontal_13yt7_gg_:before{left:var(--left_13yt7)!important}.___SShadowHorizontal_13yt7_gg_:after{right:var(--right_13yt7)!important}"
59
+ ".___SShadowHorizontal_qyxht_gg_:before {\n left: var(--left_qyxht) !important;\n}\n.___SShadowHorizontal_qyxht_gg_:after {\n right: var(--right_qyxht) !important;\n}\n"
60
60
  /*__inner_css_end__*/
61
- , "13yt7_gg_")
61
+ , "qyxht_gg_")
62
62
  /*__reshadow_css_end__*/
63
63
  , {
64
- "__SShadowHorizontal": "___SShadowHorizontal_13yt7_gg_",
65
- "--left": "--left_13yt7",
66
- "--right": "--right_13yt7"
64
+ "__SShadowHorizontal": "___SShadowHorizontal_qyxht_gg_",
65
+ "--left": "--left_qyxht",
66
+ "--right": "--right_qyxht"
67
67
  });
68
68
  var SORTING_ICON = {
69
69
  desc: _m["default"],
package/lib/es6/Body.js CHANGED
@@ -40,14 +40,14 @@ var scrollStyles = (
40
40
  /*__reshadow_css_start__*/
41
41
  _sstyled.insert(
42
42
  /*__inner_css_start__*/
43
- ".___SShadowHorizontal_13yt7_gg_:before{left:var(--left_13yt7)!important}.___SShadowHorizontal_13yt7_gg_:after{right:var(--right_13yt7)!important}"
43
+ ".___SShadowHorizontal_qyxht_gg_:before {\n left: var(--left_qyxht) !important;\n}\n.___SShadowHorizontal_qyxht_gg_:after {\n right: var(--right_qyxht) !important;\n}\n"
44
44
  /*__inner_css_end__*/
45
- , "13yt7_gg_")
45
+ , "qyxht_gg_")
46
46
  /*__reshadow_css_end__*/
47
47
  , {
48
- "__SShadowHorizontal": "___SShadowHorizontal_13yt7_gg_",
49
- "--left": "--left_13yt7",
50
- "--right": "--right_13yt7"
48
+ "__SShadowHorizontal": "___SShadowHorizontal_qyxht_gg_",
49
+ "--left": "--left_qyxht",
50
+ "--right": "--right_qyxht"
51
51
  });
52
52
  import trottle from '@semcore/utils/lib/rafTrottle';
53
53
  var testEnv = process.env.NODE_ENV === 'test';
@@ -40,46 +40,46 @@ var style = (
40
40
  /*__reshadow_css_start__*/
41
41
  _sstyled.insert(
42
42
  /*__inner_css_start__*/
43
- ".___SDataTable_1ssn0_gg_{position:relative}.___SHeadWrapper_1ssn0_gg_{position:relative}.___SHeadWrapper_1ssn0_gg_.__sticky_1ssn0_gg_{position:sticky;top:0;z-index:2}.___SHead_1ssn0_gg_{display:flex;position:relative;flex-direction:row;min-width:-moz-fit-content;min-width:fit-content;z-index:0}.___SColumn_1ssn0_gg_{display:flex;align-items:center;flex-grow:1;font-size:12px;color:#191b23;box-sizing:border-box;position:relative}.___SColumn_1ssn0_gg_:focus{outline:none;box-shadow:0 0 0 3px rgba(0, 143, 248, 0.2)}.___SColumn_1ssn0_gg_.__hidden_1ssn0_gg_{height:0!important;padding:0!important;overflow:hidden!important;border:none!important}.___SColumn_1ssn0_gg_._use_primary_1ssn0_gg_{padding:12px;border-right:1px solid #e0e1e9;border-bottom:1px solid #e0e1e9;background-color:#f4f5f9}.___SColumn_1ssn0_gg_._use_secondary_1ssn0_gg_{padding:8px;border-bottom:1px solid #a9abb6;background-color:#ffffff}.___SColumn_1ssn0_gg_.__use_1ssn0_gg_:last-child{border-right:none}.___SColumn_1ssn0_gg_.__group_1ssn0_gg_.__use_1ssn0_gg_{display:flex;flex-wrap:wrap;flex-direction:column;align-items:normal;border-bottom:none;padding:0}.___SColumn_1ssn0_gg_.__groupHead_1ssn0_gg_.__use_1ssn0_gg_{justify-content:center;border-right:none;z-index:1}.___SColumn_1ssn0_gg_.__groupHead_1ssn0_gg_._use_primary_1ssn0_gg_{border-bottom:1px solid #e0e1e9}.___SColumn_1ssn0_gg_.__groupHead_1ssn0_gg_._use_secondary_1ssn0_gg_{border-bottom:1px solid #e0e1e9}.___SColumn_1ssn0_gg_.__sortable_1ssn0_gg_{cursor:pointer}.___SColumn_1ssn0_gg_.__sortable_1ssn0_gg_._use_primary_1ssn0_gg_:hover{background-color:#e0e1e9}.___SColumn_1ssn0_gg_.__active_1ssn0_gg_._use_primary_1ssn0_gg_{background-color:#e0e1e9}.___SColumn_1ssn0_gg_.__resizable_1ssn0_gg_:hover:after{background:#e0e1e9}.___SColumn_1ssn0_gg_.__resizable_1ssn0_gg_:after{content:\"\";position:absolute;bottom:0;right:-1px;height:100vh;width:1px;background:transparent;cursor:col-resize}.___SColumn_1ssn0_gg_.__fixed_1ssn0_gg_{position:sticky;z-index:2}.___SSortIcon_1ssn0_gg_{fill:#a9abb6;margin-left:6px}.___SSortIcon_1ssn0_gg_.__active_1ssn0_gg_{fill:#8a8e9b}.___SBodyWrapper_1ssn0_gg_{position:relative}.___SBody_1ssn0_gg_{display:flex;flex-direction:column;position:relative;min-width:-moz-fit-content;min-width:fit-content}.___SRow_1ssn0_gg_{display:flex;flex-direction:row;position:relative}.___SRow_1ssn0_gg_:hover>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_.__active_1ssn0_gg_>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_ .___SCell_1ssn0_gg_:hover+.___SGroupCell_1ssn0_gg_ .___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_){background-color:#f0f0f4}.___SRow_1ssn0_gg_._theme_muted_1ssn0_gg_ .___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_){background-color:#f2f3f4}.___SRow_1ssn0_gg_:hover>.___SCell_1ssn0_gg_._theme_muted_1ssn0_gg_,.___SRow_1ssn0_gg_._theme_muted_1ssn0_gg_:hover>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_._theme_muted_1ssn0_gg_.__active_1ssn0_gg_>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_._theme_muted_1ssn0_gg_ .___SCell_1ssn0_gg_:hover+.___SGroupCell_1ssn0_gg_ .___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_){background-color:#f6f7f7}.___SRow_1ssn0_gg_._theme_info_1ssn0_gg_ .___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_){background-color:#e9f7ff}.___SRow_1ssn0_gg_:hover>.___SCell_1ssn0_gg_._theme_info_1ssn0_gg_,.___SRow_1ssn0_gg_._theme_info_1ssn0_gg_:hover>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_._theme_info_1ssn0_gg_.__active_1ssn0_gg_>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_._theme_info_1ssn0_gg_ .___SCell_1ssn0_gg_:hover+.___SGroupCell_1ssn0_gg_ .___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_){background-color:#c4e5fe}.___SRow_1ssn0_gg_._theme_success_1ssn0_gg_ .___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_){background-color:#dbfee8}.___SRow_1ssn0_gg_:hover>.___SCell_1ssn0_gg_._theme_success_1ssn0_gg_,.___SRow_1ssn0_gg_._theme_success_1ssn0_gg_:hover>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_._theme_success_1ssn0_gg_.__active_1ssn0_gg_>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_._theme_success_1ssn0_gg_ .___SCell_1ssn0_gg_:hover+.___SGroupCell_1ssn0_gg_ .___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_){background-color:#9ef2c9}.___SRow_1ssn0_gg_._theme_warning_1ssn0_gg_ .___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_){background-color:#fff3d9}.___SRow_1ssn0_gg_:hover>.___SCell_1ssn0_gg_._theme_warning_1ssn0_gg_,.___SRow_1ssn0_gg_._theme_warning_1ssn0_gg_:hover>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_._theme_warning_1ssn0_gg_.__active_1ssn0_gg_>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_._theme_warning_1ssn0_gg_ .___SCell_1ssn0_gg_:hover+.___SGroupCell_1ssn0_gg_ .___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_){background-color:#ffdca2}.___SRow_1ssn0_gg_._theme_danger_1ssn0_gg_ .___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_){background-color:#fff0f7}.___SRow_1ssn0_gg_:hover>.___SCell_1ssn0_gg_._theme_danger_1ssn0_gg_,.___SRow_1ssn0_gg_._theme_danger_1ssn0_gg_:hover>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_._theme_danger_1ssn0_gg_.__active_1ssn0_gg_>.___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_),.___SRow_1ssn0_gg_._theme_danger_1ssn0_gg_ .___SCell_1ssn0_gg_:hover+.___SGroupCell_1ssn0_gg_ .___SCell_1ssn0_gg_:not(.__theme_1ssn0_gg_){background-color:#ffd7df}.___SRow_1ssn0_gg_.__positioned_1ssn0_gg_{position:absolute}.___SCell_1ssn0_gg_{display:flex;flex:1;flex-basis:auto;font-size:14px;line-height:1.42;color:#191b23;box-sizing:border-box;border-bottom:1px solid #e0e1e9;overflow:hidden;white-space:nowrap}.___SCell_1ssn0_gg_._use_primary_1ssn0_gg_{padding:12px;min-height:45px;background-color:#ffffff}.___SCell_1ssn0_gg_._use_secondary_1ssn0_gg_{padding:8px;min-height:37px;background-color:#ffffff}.___SCell_1ssn0_gg_.__fixed_1ssn0_gg_{position:sticky;z-index:1}.___SCell_1ssn0_gg_._theme_muted_1ssn0_gg_{background-color:#f2f3f4}.___SCell_1ssn0_gg_._theme_info_1ssn0_gg_{background-color:#e9f7ff}.___SCell_1ssn0_gg_._theme_success_1ssn0_gg_{background-color:#dbfee8}.___SCell_1ssn0_gg_._theme_warning_1ssn0_gg_{background-color:#fff3d9}.___SCell_1ssn0_gg_._theme_danger_1ssn0_gg_{background-color:#fff0f7}.___SScrollAreaBar_1ssn0_gg_._orientation_horizontal_1ssn0_gg_{position:sticky;bottom:0;left:0;margin-top:-12px;z-index:2}.___SScrollAreaBar_1ssn0_gg_._orientation_vertical_1ssn0_gg_{width:12px}.___SScrollAreaBar_1ssn0_gg_._orientation_horizontal_1ssn0_gg_{margin-left:calc(var(--left_1ssn0) + 4px);margin-right:calc(var(--right_1ssn0) + 4px);width:calc(100% - var(--offsetSum_1ssn0) - 8px)}.___SHeightHold_1ssn0_gg_{position:absolute;top:0;width:100%;pointer-events:none;z-index:-1}"
43
+ ":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.___SDataTable_mwxpl_gg_ {\n position: relative;\n}\n\n.___SHeadWrapper_mwxpl_gg_ {\n position: relative;\n}\n\n.___SHeadWrapper_mwxpl_gg_.__sticky_mwxpl_gg_ {\n position: sticky;\n top: 0;\n z-index: 2;\n}\n\n.___SHead_mwxpl_gg_ {\n display: flex;\n position: relative;\n flex-direction: row;\n min-width: -moz-fit-content;\n min-width: fit-content;\n z-index: 0;\n}\n\n.___SColumn_mwxpl_gg_ {\n display: flex;\n align-items: center;\n flex-grow: 1;\n font-size: 12px;\n color: #191b23;\n box-sizing: border-box;\n position: relative\n}\n\n.___SColumn_mwxpl_gg_:focus {\n outline: none;\n box-shadow: 0 0 0 3px rgba(0, 143, 248, 0.2);\n }\n\n.___SColumn_mwxpl_gg_.__hidden_mwxpl_gg_ {\n height: 0 !important;\n padding: 0 !important;\n overflow: hidden !important;\n border: none !important;\n}\n\n.___SColumn_mwxpl_gg_._use_primary_mwxpl_gg_ {\n padding: 12px;\n border-right: 1px solid #e0e1e9;\n border-bottom: 1px solid #e0e1e9;\n background-color: #f4f5f9;\n}\n\n.___SColumn_mwxpl_gg_._use_secondary_mwxpl_gg_ {\n padding: 8px;\n border-bottom: 1px solid #a9abb6;\n background-color: #ffffff;\n}\n\n.___SColumn_mwxpl_gg_.__use_mwxpl_gg_:last-child {\n border-right: none;\n}\n\n.___SColumn_mwxpl_gg_.__group_mwxpl_gg_.__use_mwxpl_gg_ {\n display: flex;\n flex-wrap: wrap;\n flex-direction: column;\n align-items: normal;\n border-bottom: none;\n padding: 0;\n}\n\n.___SColumn_mwxpl_gg_.__groupHead_mwxpl_gg_.__use_mwxpl_gg_ {\n justify-content: center;\n border-right: none;\n /* for resizable */\n z-index: 1;\n}\n\n.___SColumn_mwxpl_gg_.__groupHead_mwxpl_gg_._use_primary_mwxpl_gg_ {\n border-bottom: 1px solid #e0e1e9;\n}\n\n.___SColumn_mwxpl_gg_.__groupHead_mwxpl_gg_._use_secondary_mwxpl_gg_ {\n border-bottom: 1px solid #e0e1e9;\n}\n\n.___SColumn_mwxpl_gg_.__sortable_mwxpl_gg_ {\n cursor: pointer\n}\n\n.___SColumn_mwxpl_gg_.__sortable_mwxpl_gg_._use_primary_mwxpl_gg_:hover {\n background-color: #e0e1e9;\n }\n\n.___SColumn_mwxpl_gg_.__active_mwxpl_gg_._use_primary_mwxpl_gg_ {\n background-color: #e0e1e9;\n}\n\n.___SColumn_mwxpl_gg_.__resizable_mwxpl_gg_:hover:after {\n background: #e0e1e9;\n }\n\n.___SColumn_mwxpl_gg_.__resizable_mwxpl_gg_:after {\n content: '';\n position: absolute;\n bottom: 0;\n right: -1px;\n height: 100vh;\n width: 1px;\n background: transparent;\n cursor: col-resize;\n }\n\n.___SColumn_mwxpl_gg_.__fixed_mwxpl_gg_ {\n position: sticky;\n /* because up resizable */\n z-index: 2;\n}\n\n.___SSortIcon_mwxpl_gg_ {\n fill: #a9abb6;\n margin-left: 6px;\n}\n\n.___SSortIcon_mwxpl_gg_.__active_mwxpl_gg_ {\n fill: #8a8e9b;\n}\n\n.___SBodyWrapper_mwxpl_gg_ {\n position: relative;\n}\n\n.___SBody_mwxpl_gg_ {\n display: flex;\n flex-direction: column;\n position: relative;\n min-width: -moz-fit-content;\n min-width: fit-content;\n}\n\n.___SRow_mwxpl_gg_ {\n display: flex;\n flex-direction: row;\n position: relative;\n}\n\n/* DEFAULT THEME */\n\n.___SRow_mwxpl_gg_.__active_mwxpl_gg_ > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_:hover > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_ .___SCell_mwxpl_gg_:hover + .___SGroupCell_mwxpl_gg_ .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_) {\n background-color: rgb(240, 240, 244);\n}\n\n/* MUTED THEME */\n\n.___SRow_mwxpl_gg_._theme_muted_mwxpl_gg_ .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_) {\n background-color: #f2f3f4;\n}\n\n.___SRow_mwxpl_gg_:hover > .___SCell_mwxpl_gg_._theme_muted_mwxpl_gg_,\n.___SRow_mwxpl_gg_._theme_muted_mwxpl_gg_.__active_mwxpl_gg_ > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_._theme_muted_mwxpl_gg_:hover > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_._theme_muted_mwxpl_gg_ .___SCell_mwxpl_gg_:hover + .___SGroupCell_mwxpl_gg_ .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_) {\n background-color: #f6f7f7;\n}\n\n/* INFO THEME */\n\n.___SRow_mwxpl_gg_._theme_info_mwxpl_gg_ .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_) {\n background-color: #e9f7ff;\n}\n\n.___SRow_mwxpl_gg_:hover > .___SCell_mwxpl_gg_._theme_info_mwxpl_gg_,\n.___SRow_mwxpl_gg_._theme_info_mwxpl_gg_.__active_mwxpl_gg_ > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_._theme_info_mwxpl_gg_:hover > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_._theme_info_mwxpl_gg_ .___SCell_mwxpl_gg_:hover + .___SGroupCell_mwxpl_gg_ .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_) {\n background-color: #c4e5fe;\n}\n\n/* SUCCESS THEME */\n\n.___SRow_mwxpl_gg_._theme_success_mwxpl_gg_ .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_) {\n background-color: #dbfee8;\n}\n\n.___SRow_mwxpl_gg_:hover > .___SCell_mwxpl_gg_._theme_success_mwxpl_gg_,\n.___SRow_mwxpl_gg_._theme_success_mwxpl_gg_.__active_mwxpl_gg_ > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_._theme_success_mwxpl_gg_:hover > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_._theme_success_mwxpl_gg_ .___SCell_mwxpl_gg_:hover + .___SGroupCell_mwxpl_gg_ .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_) {\n background-color: #9ef2c9;\n}\n\n/* WARNING THEME */\n\n.___SRow_mwxpl_gg_._theme_warning_mwxpl_gg_ .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_) {\n background-color: #fff3d9;\n}\n\n.___SRow_mwxpl_gg_:hover > .___SCell_mwxpl_gg_._theme_warning_mwxpl_gg_,\n.___SRow_mwxpl_gg_._theme_warning_mwxpl_gg_.__active_mwxpl_gg_ > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_._theme_warning_mwxpl_gg_:hover > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_._theme_warning_mwxpl_gg_ .___SCell_mwxpl_gg_:hover + .___SGroupCell_mwxpl_gg_ .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_) {\n background-color: #ffdca2;\n}\n\n/* DANGER THEME */\n\n.___SRow_mwxpl_gg_._theme_danger_mwxpl_gg_ .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_) {\n background-color: #fff0f7;\n}\n\n.___SRow_mwxpl_gg_:hover > .___SCell_mwxpl_gg_._theme_danger_mwxpl_gg_,\n.___SRow_mwxpl_gg_._theme_danger_mwxpl_gg_.__active_mwxpl_gg_ > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_._theme_danger_mwxpl_gg_:hover > .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_),\n.___SRow_mwxpl_gg_._theme_danger_mwxpl_gg_ .___SCell_mwxpl_gg_:hover + .___SGroupCell_mwxpl_gg_ .___SCell_mwxpl_gg_:not(.__theme_mwxpl_gg_) {\n background-color: #ffd7df;\n}\n\n.___SRow_mwxpl_gg_.__positioned_mwxpl_gg_ {\n position: absolute;\n}\n\n.___SCell_mwxpl_gg_ {\n display: flex;\n flex: 1;\n flex-basis: auto;\n font-size: 14px;\n line-height: 1.42;\n color: #191b23;\n box-sizing: border-box;\n border-bottom: 1px solid #e0e1e9;\n overflow: hidden;\n white-space: nowrap;\n}\n\n.___SCell_mwxpl_gg_._use_primary_mwxpl_gg_ {\n padding: 12px;\n min-height: 45px;\n background-color: #ffffff;\n}\n\n.___SCell_mwxpl_gg_._use_secondary_mwxpl_gg_ {\n padding: 8px;\n min-height: 37px;\n background-color: #ffffff;\n}\n\n.___SCell_mwxpl_gg_.__fixed_mwxpl_gg_ {\n position: sticky;\n z-index: 1;\n}\n\n.___SCell_mwxpl_gg_._theme_muted_mwxpl_gg_ {\n background-color: #f2f3f4;\n}\n\n.___SCell_mwxpl_gg_._theme_info_mwxpl_gg_ {\n background-color: #e9f7ff;\n}\n\n.___SCell_mwxpl_gg_._theme_success_mwxpl_gg_ {\n background-color: #dbfee8;\n}\n\n.___SCell_mwxpl_gg_._theme_warning_mwxpl_gg_ {\n background-color: #fff3d9;\n}\n\n.___SCell_mwxpl_gg_._theme_danger_mwxpl_gg_ {\n background-color: #fff0f7;\n}\n\n.___SScrollAreaBar_mwxpl_gg_._orientation_horizontal_mwxpl_gg_ {\n position: sticky;\n bottom: 0;\n left: 0;\n margin-top: -12px;\n z-index: 2;\n}\n\n.___SScrollAreaBar_mwxpl_gg_._orientation_vertical_mwxpl_gg_ {\n width: 12px;\n}\n\n.___SScrollAreaBar_mwxpl_gg_._orientation_horizontal_mwxpl_gg_ {\n margin-left: calc(var(--left_mwxpl) + 4px);\n margin-right: calc(var(--right_mwxpl) + 4px);\n width: calc(100% - var(--offsetSum_mwxpl) - 8px);\n}\n\n.___SHeightHold_mwxpl_gg_ {\n position: absolute;\n top: 0;\n width: 100%;\n pointer-events: none;\n /* should be under other layers */\n z-index: -1;\n}\n"
44
44
  /*__inner_css_end__*/
45
- , "1ssn0_gg_")
45
+ , "mwxpl_gg_")
46
46
  /*__reshadow_css_end__*/
47
47
  , {
48
- "__SDataTable": "___SDataTable_1ssn0_gg_",
49
- "__SHeadWrapper": "___SHeadWrapper_1ssn0_gg_",
50
- "_sticky": "__sticky_1ssn0_gg_",
51
- "__SHead": "___SHead_1ssn0_gg_",
52
- "__SColumn": "___SColumn_1ssn0_gg_",
53
- "_hidden": "__hidden_1ssn0_gg_",
54
- "_use_primary": "_use_primary_1ssn0_gg_",
55
- "_use_secondary": "_use_secondary_1ssn0_gg_",
56
- "_use": "__use_1ssn0_gg_",
57
- "_group": "__group_1ssn0_gg_",
58
- "_groupHead": "__groupHead_1ssn0_gg_",
59
- "_sortable": "__sortable_1ssn0_gg_",
60
- "_active": "__active_1ssn0_gg_",
61
- "_resizable": "__resizable_1ssn0_gg_",
62
- "_fixed": "__fixed_1ssn0_gg_",
63
- "__SSortIcon": "___SSortIcon_1ssn0_gg_",
64
- "__SBodyWrapper": "___SBodyWrapper_1ssn0_gg_",
65
- "__SBody": "___SBody_1ssn0_gg_",
66
- "__SRow": "___SRow_1ssn0_gg_",
67
- "__SCell": "___SCell_1ssn0_gg_",
68
- "_theme": "__theme_1ssn0_gg_",
69
- "__SGroupCell": "___SGroupCell_1ssn0_gg_",
70
- "_theme_muted": "_theme_muted_1ssn0_gg_",
71
- "_theme_info": "_theme_info_1ssn0_gg_",
72
- "_theme_success": "_theme_success_1ssn0_gg_",
73
- "_theme_warning": "_theme_warning_1ssn0_gg_",
74
- "_theme_danger": "_theme_danger_1ssn0_gg_",
75
- "_positioned": "__positioned_1ssn0_gg_",
76
- "__SScrollAreaBar": "___SScrollAreaBar_1ssn0_gg_",
77
- "_orientation_horizontal": "_orientation_horizontal_1ssn0_gg_",
78
- "_orientation_vertical": "_orientation_vertical_1ssn0_gg_",
79
- "--left": "--left_1ssn0",
80
- "--right": "--right_1ssn0",
81
- "--offsetSum": "--offsetSum_1ssn0",
82
- "__SHeightHold": "___SHeightHold_1ssn0_gg_"
48
+ "__SDataTable": "___SDataTable_mwxpl_gg_",
49
+ "__SHeadWrapper": "___SHeadWrapper_mwxpl_gg_",
50
+ "_sticky": "__sticky_mwxpl_gg_",
51
+ "__SHead": "___SHead_mwxpl_gg_",
52
+ "__SColumn": "___SColumn_mwxpl_gg_",
53
+ "_hidden": "__hidden_mwxpl_gg_",
54
+ "_use_primary": "_use_primary_mwxpl_gg_",
55
+ "_use_secondary": "_use_secondary_mwxpl_gg_",
56
+ "_use": "__use_mwxpl_gg_",
57
+ "_group": "__group_mwxpl_gg_",
58
+ "_groupHead": "__groupHead_mwxpl_gg_",
59
+ "_sortable": "__sortable_mwxpl_gg_",
60
+ "_active": "__active_mwxpl_gg_",
61
+ "_resizable": "__resizable_mwxpl_gg_",
62
+ "_fixed": "__fixed_mwxpl_gg_",
63
+ "__SSortIcon": "___SSortIcon_mwxpl_gg_",
64
+ "__SBodyWrapper": "___SBodyWrapper_mwxpl_gg_",
65
+ "__SBody": "___SBody_mwxpl_gg_",
66
+ "__SRow": "___SRow_mwxpl_gg_",
67
+ "__SCell": "___SCell_mwxpl_gg_",
68
+ "_theme": "__theme_mwxpl_gg_",
69
+ "__SGroupCell": "___SGroupCell_mwxpl_gg_",
70
+ "_theme_muted": "_theme_muted_mwxpl_gg_",
71
+ "_theme_info": "_theme_info_mwxpl_gg_",
72
+ "_theme_success": "_theme_success_mwxpl_gg_",
73
+ "_theme_warning": "_theme_warning_mwxpl_gg_",
74
+ "_theme_danger": "_theme_danger_mwxpl_gg_",
75
+ "_positioned": "__positioned_mwxpl_gg_",
76
+ "__SScrollAreaBar": "___SScrollAreaBar_mwxpl_gg_",
77
+ "_orientation_horizontal": "_orientation_horizontal_mwxpl_gg_",
78
+ "_orientation_vertical": "_orientation_vertical_mwxpl_gg_",
79
+ "--left": "--left_mwxpl",
80
+ "--right": "--right_mwxpl",
81
+ "--offsetSum": "--offsetSum_mwxpl",
82
+ "__SHeightHold": "___SHeightHold_mwxpl_gg_"
83
83
  });
84
84
  var REVERSED_SORT_DIRECTION = {
85
85
  desc: 'asc',
package/lib/es6/Head.js CHANGED
@@ -33,14 +33,14 @@ var scrollStyles = (
33
33
  /*__reshadow_css_start__*/
34
34
  _sstyled.insert(
35
35
  /*__inner_css_start__*/
36
- ".___SShadowHorizontal_13yt7_gg_:before{left:var(--left_13yt7)!important}.___SShadowHorizontal_13yt7_gg_:after{right:var(--right_13yt7)!important}"
36
+ ".___SShadowHorizontal_qyxht_gg_:before {\n left: var(--left_qyxht) !important;\n}\n.___SShadowHorizontal_qyxht_gg_:after {\n right: var(--right_qyxht) !important;\n}\n"
37
37
  /*__inner_css_end__*/
38
- , "13yt7_gg_")
38
+ , "qyxht_gg_")
39
39
  /*__reshadow_css_end__*/
40
40
  , {
41
- "__SShadowHorizontal": "___SShadowHorizontal_13yt7_gg_",
42
- "--left": "--left_13yt7",
43
- "--right": "--right_13yt7"
41
+ "__SShadowHorizontal": "___SShadowHorizontal_qyxht_gg_",
42
+ "--left": "--left_qyxht",
43
+ "--right": "--right_qyxht"
44
44
  });
45
45
  var SORTING_ICON = {
46
46
  desc: SortDesc,
package/package.json CHANGED
@@ -1,17 +1,13 @@
1
1
  {
2
2
  "name": "@semcore/data-table",
3
3
  "description": "Semrush DataTable Component",
4
- "version": "3.1.13",
4
+ "version": "3.1.15",
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=ts",
13
- "test": "jest"
14
- },
15
11
  "dependencies": {
16
12
  "@semcore/flex-box": "^4",
17
13
  "@semcore/icon": "^2.16",
@@ -50,5 +46,9 @@
50
46
  "type": "git",
51
47
  "url": "https://github.com/semrush/intergalactic.git",
52
48
  "directory": "semcore/data-table"
49
+ },
50
+ "scripts": {
51
+ "build": "pnpm semcore-builder --source=ts",
52
+ "test": "jest"
53
53
  }
54
- }
54
+ }